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 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"TableBody":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"[ibmTableBody]","template":"\n\t\t<ng-container *ngIf=\"model\">\n\t\t\t<ng-container *ngFor=\"let row of model.data; let i = index\">\n\t\t\t\t<tr\n\t\t\t\t\tibmTableRow\n\t\t\t\t\t[model]=\"model\"\n\t\t\t\t\t[row]=\"row\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[selected]=\"model.isRowSelected(i)\"\n\t\t\t\t\t[expandable]=\"model.isRowExpandable(i)\"\n\t\t\t\t\t[expanded]=\"model.isRowExpanded(i)\"\n\t\t\t\t\t[checkboxLabel]=\"getCheckboxRowLabel()\"\n\t\t\t\t\t[expandButtonAriaLabel]=\"getExpandButtonAriaLabel()\"\n\t\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t(selectRow)=\"onRowCheckboxChange(i)\"\n\t\t\t\t\t(deselectRow)=\"onRowCheckboxChange(i)\"\n\t\t\t\t\t(expandRow)=\"model.expandRow(i, !model.isRowExpanded(i))\"\n\t\t\t\t\t*ngIf=\"!model.isRowFiltered(i)\"\n\t\t\t\t\t[class]=\"(model.rowsClass[i] ? model.rowsClass[i] : null)\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'tbody_row--success': !model.isRowSelected(i) && model.getRowContext(i) === 'success',\n\t\t\t\t\t\t'tbody_row--warning': !model.isRowSelected(i) && model.getRowContext(i) === 'warning',\n\t\t\t\t\t\t'tbody_row--info': !model.isRowSelected(i) && model.getRowContext(i) === 'info',\n\t\t\t\t\t\t'tbody_row--error': !model.isRowSelected(i) && model.getRowContext(i) === 'error'\n\t\t\t\t\t}\">\n\t\t\t\t</tr>\n\t\t\t\t<tr\n\t\t\t\t\t*ngIf=\"model.isRowExpanded(i) && !model.isRowFiltered(i)\"\n\t\t\t\t\tibmTableExpandedRow\n\t\t\t\t\tibmExpandedRowHover\n\t\t\t\t\t[row]=\"row\"\n\t\t\t\t\t[expanded]=\"model.isRowExpanded(i)\"\n\t\t\t\t\t[skeleton]=\"skeleton\">\n\t\t\t\t</tr>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t\t<ng-content></ng-content>\n\t"}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":2}}]}],"enableSingleSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":2}}]}],"expandButtonAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":2}}]}],"checkboxRowLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":2}}]}],"showSelectionColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":2}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":2}}]}],"selectionLabelColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":99,"character":2}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":2}}]}],"selectRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":108,"character":2}}]}],"deselectRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":115,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./../../i18n/i18n.module","name":"I18n","line":120,"character":29}]}],"onRowCheckboxChange":[{"__symbolic":"method"}],"getCheckboxRowLabel":[{"__symbolic":"method"}],"getExpandButtonAriaLabel":[{"__symbolic":"method"}]}}}}]
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-body.component.ngfactory.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
23
|
+
*
|
|
24
|
+
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
|
|
25
|
+
* tslint:disable
|
|
26
|
+
*/
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
import * as i1 from "./table-row.component.ngfactory";
|
|
29
|
+
import * as i2 from "@angular/common";
|
|
30
|
+
import * as i3 from "./table-row.component";
|
|
31
|
+
import * as i4 from "../../i18n/i18n.service";
|
|
32
|
+
import * as i5 from "./table-expanded-row.component.ngfactory";
|
|
33
|
+
import * as i6 from "../expanded-row-hover.directive";
|
|
34
|
+
import * as i7 from "./table-expanded-row.component";
|
|
35
|
+
import * as i8 from "./table-body.component";
|
|
36
|
+
var styles_TableBody = [];
|
|
37
|
+
var RenderType_TableBody = i0.ɵcrt({ encapsulation: 2, styles: styles_TableBody, data: {} });
|
|
38
|
+
export { RenderType_TableBody as RenderType_TableBody };
|
|
39
|
+
function View_TableBody_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "tr", [["ibmTableRow", ""]], [[2, "bx--data-table--selected", null], [2, "bx--parent-row", null], [2, "bx--expandable-row", null], [2, "tbody_row--selectable", null], [1, "data-parent-row", 0]], [[null, "selectRow"], [null, "deselectRow"], [null, "expandRow"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("selectRow" === en)) {
|
|
40
|
+
var pd_0 = (_co.onRowCheckboxChange(_v.parent.context.index) !== false);
|
|
41
|
+
ad = (pd_0 && ad);
|
|
42
|
+
} if (("deselectRow" === en)) {
|
|
43
|
+
var pd_1 = (_co.onRowCheckboxChange(_v.parent.context.index) !== false);
|
|
44
|
+
ad = (pd_1 && ad);
|
|
45
|
+
} if (("expandRow" === en)) {
|
|
46
|
+
var pd_2 = (_co.model.expandRow(_v.parent.context.index, !_co.model.isRowExpanded(_v.parent.context.index)) !== false);
|
|
47
|
+
ad = (pd_2 && ad);
|
|
48
|
+
} return ad; }, i1.View_TableRowComponent_0, i1.RenderType_TableRowComponent)), i0.ɵdid(1, 278528, null, 0, i2.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(2, { "tbody_row--success": 0, "tbody_row--warning": 1, "tbody_row--info": 2, "tbody_row--error": 3 }), i0.ɵdid(3, 49152, null, 0, i3.TableRowComponent, [i4.I18n], { model: [0, "model"], row: [1, "row"], expanded: [2, "expanded"], expandable: [3, "expandable"], selected: [4, "selected"], size: [5, "size"], expandButtonAriaLabel: [6, "expandButtonAriaLabel"], checkboxLabel: [7, "checkboxLabel"], showSelectionColumn: [8, "showSelectionColumn"], skeleton: [9, "skeleton"] }, { selectRow: "selectRow", deselectRow: "deselectRow", expandRow: "expandRow" })], function (_ck, _v) { var _co = _v.component; var currVal_5 = (_co.model.rowsClass[_v.parent.context.index] ? _co.model.rowsClass[_v.parent.context.index] : null); var currVal_6 = _ck(_v, 2, 0, (!_co.model.isRowSelected(_v.parent.context.index) && (_co.model.getRowContext(_v.parent.context.index) === "success")), (!_co.model.isRowSelected(_v.parent.context.index) && (_co.model.getRowContext(_v.parent.context.index) === "warning")), (!_co.model.isRowSelected(_v.parent.context.index) && (_co.model.getRowContext(_v.parent.context.index) === "info")), (!_co.model.isRowSelected(_v.parent.context.index) && (_co.model.getRowContext(_v.parent.context.index) === "error"))); _ck(_v, 1, 0, currVal_5, currVal_6); var currVal_7 = _co.model; var currVal_8 = _v.parent.context.$implicit; var currVal_9 = _co.model.isRowExpanded(_v.parent.context.index); var currVal_10 = _co.model.isRowExpandable(_v.parent.context.index); var currVal_11 = _co.model.isRowSelected(_v.parent.context.index); var currVal_12 = _co.size; var currVal_13 = _co.getExpandButtonAriaLabel(); var currVal_14 = _co.getCheckboxRowLabel(); var currVal_15 = _co.showSelectionColumn; var currVal_16 = _co.skeleton; _ck(_v, 3, 0, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 3).selectedClass; var currVal_1 = i0.ɵnov(_v, 3).parentRowClass; var currVal_2 = i0.ɵnov(_v, 3).expandableRowClass; var currVal_3 = i0.ɵnov(_v, 3).selectableClass; var currVal_4 = i0.ɵnov(_v, 3).isParentRow; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }); }
|
|
49
|
+
function View_TableBody_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "tr", [["ibmExpandedRowHover", ""], ["ibmTableExpandedRow", ""]], [[2, "bx--expandable-row", null], [1, "data-child-row", 0]], [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
50
|
+
var pd_0 = (i0.ɵnov(_v, 1).addHoverClass($event) !== false);
|
|
51
|
+
ad = (pd_0 && ad);
|
|
52
|
+
} if (("mouseleave" === en)) {
|
|
53
|
+
var pd_1 = (i0.ɵnov(_v, 1).removeHoverClass($event) !== false);
|
|
54
|
+
ad = (pd_1 && ad);
|
|
55
|
+
} return ad; }, i5.View_TableExpandedRow_0, i5.RenderType_TableExpandedRow)), i0.ɵdid(1, 16384, null, 0, i6.ExpandedRowHover, [], null, null), i0.ɵdid(2, 49152, null, 0, i7.TableExpandedRow, [], { row: [0, "row"], skeleton: [1, "skeleton"], expanded: [2, "expanded"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _co.skeleton; var currVal_4 = _co.model.isRowExpanded(_v.parent.context.index); _ck(_v, 2, 0, currVal_2, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).expandableRowClass; var currVal_1 = i0.ɵnov(_v, 2).expanded; _ck(_v, 0, 0, currVal_0, currVal_1); }); }
|
|
56
|
+
function View_TableBody_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableBody_3)), i0.ɵdid(2, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableBody_4)), i0.ɵdid(4, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.model.isRowFiltered(_v.context.index); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.model.isRowExpanded(_v.context.index) && !_co.model.isRowFiltered(_v.context.index)); _ck(_v, 4, 0, currVal_1); }, null); }
|
|
57
|
+
function View_TableBody_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableBody_2)), i0.ɵdid(2, 278528, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.model.data; _ck(_v, 2, 0, currVal_0); }, null); }
|
|
58
|
+
export function View_TableBody_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableBody_1)), i0.ɵdid(1, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), i0.ɵncd(null, 0)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.model; _ck(_v, 1, 0, currVal_0); }, null); }
|
|
59
|
+
export function View_TableBody_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [["ibmTableBody", ""]], null, null, null, View_TableBody_0, RenderType_TableBody)), i0.ɵdid(1, 49152, null, 0, i8.TableBody, [i4.I18n], null, null)], null, null); }
|
|
60
|
+
var TableBodyNgFactory = i0.ɵccf("[ibmTableBody]", i8.TableBody, View_TableBody_Host_0, { model: "model", enableSingleSelect: "enableSingleSelect", expandButtonAriaLabel: "expandButtonAriaLabel", checkboxRowLabel: "checkboxRowLabel", showSelectionColumn: "showSelectionColumn", size: "size", selectionLabelColumn: "selectionLabelColumn", skeleton: "skeleton" }, { selectRow: "selectRow", deselectRow: "deselectRow" }, ["*"]);
|
|
61
|
+
export { TableBodyNgFactory as TableBodyNgFactory };
|
|
62
|
+
//# sourceMappingURL=table-body.component.ngfactory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-body.component.ngfactory.js","sourceRoot":"","sources":["../../src/table/body/table-body.component.ngfactory.ts","../../src/table/body/table-body.component.ts.TableBody.html"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;oDCGI,kWAsBI,YAVH;;wBAAoC;MACpC;;wBAAsC;MACtC;;wBAAyD;MAd1D,mPAsBI,GALH,0GAKE,KAtBH,gcAsBI,mDANH,mHAA0D,GAC1D,yfAKE,KAtBH,YAsBI,EANH,SAA0D,EAC1D,SAKE,GApBF,mBAAe,QACf,kBAAW,2BAIX,0CAAmC,wBADnC,6CAAuC,wBADvC,2CAAmC,wBADnC,oBAAa,OAKb,oBAAoD,6BADpD,oBAAuC,wBAEvC,oBAA2C,sBAC3C,oBAAqB,WAXtB,YAsBI,EApBH,SAAe,EACf,SAAW,EAIX,SAAmC,EADnC,UAAuC,EADvC,UAAmC,EADnC,UAAa,EAKb,UAAoD,EADpD,UAAuC,EAEvC,UAA2C,EAC3C,UAAqB,2BAXtB,+SAsBI;oDAEJ;;;;;;sRAMuB,iDAFtB,kBAAW,2BAEX,mBAAqB,WADrB,0CAAmC,wBALpC,YAMuB,EAFtB,SAAW,EAEX,SAAqB,EADrB,SAAmC,2BALpC,8HAMuB;oDA/BxB,6EAA4D,KAC3D,yKAsBI,IAEJ,yKAMuB,sFAftB,2CAA+B,iBAfhC,YAsBI,EAPH,SAA+B,GAU/B,yFAAyD,kBAD1D,YAMuB,EALtB,SAAyD;oDA3B5D,6EAA4B,KAC3B,uMAA4D,sFAA9C,mBAA6C,aAA3D,YAA4D,EAA9C,SAA6C;2DAD5D,yKAA4B,GAoC5B,eAAY,iDApCE,mBAAa,QAA3B,YAA4B,EAAd,SAAa","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t<ng-container *ngIf=\"model\">\n\t\t\t<ng-container *ngFor=\"let row of model.data; let i = index\">\n\t\t\t\t<tr\n\t\t\t\t\tibmTableRow\n\t\t\t\t\t[model]=\"model\"\n\t\t\t\t\t[row]=\"row\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[selected]=\"model.isRowSelected(i)\"\n\t\t\t\t\t[expandable]=\"model.isRowExpandable(i)\"\n\t\t\t\t\t[expanded]=\"model.isRowExpanded(i)\"\n\t\t\t\t\t[checkboxLabel]=\"getCheckboxRowLabel()\"\n\t\t\t\t\t[expandButtonAriaLabel]=\"getExpandButtonAriaLabel()\"\n\t\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t(selectRow)=\"onRowCheckboxChange(i)\"\n\t\t\t\t\t(deselectRow)=\"onRowCheckboxChange(i)\"\n\t\t\t\t\t(expandRow)=\"model.expandRow(i, !model.isRowExpanded(i))\"\n\t\t\t\t\t*ngIf=\"!model.isRowFiltered(i)\"\n\t\t\t\t\t[class]=\"(model.rowsClass[i] ? model.rowsClass[i] : null)\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'tbody_row--success': !model.isRowSelected(i) && model.getRowContext(i) === 'success',\n\t\t\t\t\t\t'tbody_row--warning': !model.isRowSelected(i) && model.getRowContext(i) === 'warning',\n\t\t\t\t\t\t'tbody_row--info': !model.isRowSelected(i) && model.getRowContext(i) === 'info',\n\t\t\t\t\t\t'tbody_row--error': !model.isRowSelected(i) && model.getRowContext(i) === 'error'\n\t\t\t\t\t}\">\n\t\t\t\t</tr>\n\t\t\t\t<tr\n\t\t\t\t\t*ngIf=\"model.isRowExpanded(i) && !model.isRowFiltered(i)\"\n\t\t\t\t\tibmTableExpandedRow\n\t\t\t\t\tibmExpandedRowHover\n\t\t\t\t\t[row]=\"row\"\n\t\t\t\t\t[expanded]=\"model.isRowExpanded(i)\"\n\t\t\t\t\t[skeleton]=\"skeleton\">\n\t\t\t\t</tr>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t\t<ng-content></ng-content>\n\t"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"enableSingleSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"expandButtonAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"checkboxRowLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"showSelectionColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"selectionLabelColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"selectRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"deselectRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]}]}],"onRowCheckboxChange":[{"__symbolic":"method"}],"getCheckboxRowLabel":[{"__symbolic":"method"}],"getExpandButtonAriaLabel":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}}],"lifecycleHooks":[]},"isComponent":true,"selector":"[ibmTableBody]","exportAs":null,"inputs":{"model":"model","enableSingleSelect":"enableSingleSelect","expandButtonAriaLabel":"expandButtonAriaLabel","checkboxRowLabel":"checkboxRowLabel","showSelectionColumn":"showSelectionColumn","size":"size","selectionLabelColumn":"selectionLabelColumn","skeleton":"skeleton"},"outputs":{"selectRow":"selectRow","deselectRow":"deselectRow"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2},"componentViewType":{"__symbol":5,"members":[]},"rendererType":{"__symbol":6,"members":[]},"componentFactory":{"__symbol":7,"members":[]}}}],"symbols":[{"__symbol":0,"name":"TableBody","filePath":"./table-body.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"I18n","filePath":"../../i18n/i18n.module"},{"__symbol":4,"name":"I18n","filePath":"../../i18n/i18n.service"},{"__symbol":5,"name":"View_TableBody_0","filePath":"./table-body.component.ngfactory"},{"__symbol":6,"name":"RenderType_TableBody","filePath":"./table-body.component.ngfactory"},{"__symbol":7,"name":"TableBodyNgFactory","filePath":"./table-body.component.ngfactory"}]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-expanded-row.component.d.ts
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
export declare class TableExpandedRow {
|
|
22
|
+
row: any[];
|
|
23
|
+
skeleton: boolean;
|
|
24
|
+
expandableRowClass: boolean;
|
|
25
|
+
expanded: boolean;
|
|
26
|
+
firstExpandedTemplateInRow(row: any): any;
|
|
27
|
+
firstExpandedDataInRow(row: any): any;
|
|
28
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-expanded-row.component.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
import { Component, HostBinding, Input } from "@angular/core";
|
|
22
|
+
var TableExpandedRow = /** @class */ (function () {
|
|
23
|
+
function TableExpandedRow() {
|
|
24
|
+
this.skeleton = false;
|
|
25
|
+
this.expandableRowClass = true;
|
|
26
|
+
this.expanded = false;
|
|
27
|
+
}
|
|
28
|
+
TableExpandedRow.prototype.firstExpandedTemplateInRow = function (row) {
|
|
29
|
+
var found = row.find(function (d) { return d.expandedTemplate; });
|
|
30
|
+
if (found) {
|
|
31
|
+
return found.expandedTemplate;
|
|
32
|
+
}
|
|
33
|
+
return found;
|
|
34
|
+
};
|
|
35
|
+
TableExpandedRow.prototype.firstExpandedDataInRow = function (row) {
|
|
36
|
+
var found = row.find(function (d) { return d.expandedData; });
|
|
37
|
+
if (found) {
|
|
38
|
+
return found.expandedData;
|
|
39
|
+
}
|
|
40
|
+
return found;
|
|
41
|
+
};
|
|
42
|
+
TableExpandedRow.decorators = [
|
|
43
|
+
{ type: Component, args: [{
|
|
44
|
+
// tslint:disable-next-line: component-selector
|
|
45
|
+
selector: "[ibmTableExpandedRow]",
|
|
46
|
+
template: "\n\t\t<td [attr.colspan]=\"row.length + 2\">\n\t\t\t<ng-container *ngIf=\"!firstExpandedTemplateInRow(row)\">\n\t\t\t\t{{firstExpandedDataInRow(row)}}\n\t\t\t</ng-container>\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"firstExpandedTemplateInRow(row)\"\n\t\t\t\t[ngTemplateOutletContext]=\"{data: firstExpandedDataInRow(row)}\">\n\t\t\t</ng-template>\n\t\t</td>\n\t"
|
|
47
|
+
},] },
|
|
48
|
+
];
|
|
49
|
+
TableExpandedRow.propDecorators = {
|
|
50
|
+
row: [{ type: Input }],
|
|
51
|
+
skeleton: [{ type: Input }],
|
|
52
|
+
expandableRowClass: [{ type: HostBinding, args: ["class.bx--expandable-row",] }],
|
|
53
|
+
expanded: [{ type: HostBinding, args: ["attr.data-child-row",] }, { type: Input }]
|
|
54
|
+
};
|
|
55
|
+
return TableExpandedRow;
|
|
56
|
+
}());
|
|
57
|
+
export { TableExpandedRow };
|
|
58
|
+
//# sourceMappingURL=table-expanded-row.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-expanded-row.component.js","sourceRoot":"","sources":["../../src/table/body/table-expanded-row.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,WAAW,EACX,KAAK,EACL,MAAM,eAAe,CAAC;AAEvB;IAAA;QAkBU,aAAQ,GAAG,KAAK,CAAC;QAEe,uBAAkB,GAAG,IAAI,CAAC;QAEtB,aAAQ,GAAG,KAAK,CAAC;IAiB/D,CAAC;IAfA,qDAA0B,GAA1B,UAA2B,GAAG;QAC7B,IAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,gBAAgB,EAAlB,CAAkB,CAAC,CAAC;QAChD,IAAI,KAAK,EAAE;YACV,OAAO,KAAK,CAAC,gBAAgB,CAAC;SAC9B;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IAED,iDAAsB,GAAtB,UAAuB,GAAG;QACzB,IAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,YAAY,EAAd,CAAc,CAAC,CAAC;QAC5C,IAAI,KAAK,EAAE;YACV,OAAO,KAAK,CAAC,YAAY,CAAC;SAC1B;QACD,OAAO,KAAK,CAAC;IACd,CAAC;;gBAtCD,SAAS,SAAC;oBACV,+CAA+C;oBAC/C,QAAQ,EAAE,uBAAuB;oBACjC,QAAQ,EAAE,oXAUT;iBACD;;;sBAEC,KAAK;2BAEL,KAAK;qCAEL,WAAW,SAAC,0BAA0B;2BAEtC,WAAW,SAAC,qBAAqB,cAAG,KAAK;;IAiB3C,uBAAC;CAAA,AAvCD,IAuCC;SAxBY,gBAAgB","sourcesContent":["import {\n\tComponent,\n\tHostBinding,\n\tInput\n} from \"@angular/core\";\n\n@Component({\n\t// tslint:disable-next-line: component-selector\n\tselector: \"[ibmTableExpandedRow]\",\n\ttemplate: `\n\t\t<td [attr.colspan]=\"row.length + 2\">\n\t\t\t<ng-container *ngIf=\"!firstExpandedTemplateInRow(row)\">\n\t\t\t\t{{firstExpandedDataInRow(row)}}\n\t\t\t</ng-container>\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"firstExpandedTemplateInRow(row)\"\n\t\t\t\t[ngTemplateOutletContext]=\"{data: firstExpandedDataInRow(row)}\">\n\t\t\t</ng-template>\n\t\t</td>\n\t`\n})\nexport class TableExpandedRow {\n\t@Input() row: any[];\n\n\t@Input() skeleton = false;\n\n\t@HostBinding(\"class.bx--expandable-row\") expandableRowClass = true;\n\n\t@HostBinding(\"attr.data-child-row\") @Input() expanded = false;\n\n\tfirstExpandedTemplateInRow(row) {\n\t\tconst found = row.find(d => d.expandedTemplate);\n\t\tif (found) {\n\t\t\treturn found.expandedTemplate;\n\t\t}\n\t\treturn found;\n\t}\n\n\tfirstExpandedDataInRow(row) {\n\t\tconst found = row.find(d => d.expandedData);\n\t\tif (found) {\n\t\t\treturn found.expandedData;\n\t\t}\n\t\treturn found;\n\t}\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"TableExpandedRow":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"[ibmTableExpandedRow]","template":"\n\t\t<td [attr.colspan]=\"row.length + 2\">\n\t\t\t<ng-container *ngIf=\"!firstExpandedTemplateInRow(row)\">\n\t\t\t\t{{firstExpandedDataInRow(row)}}\n\t\t\t</ng-container>\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"firstExpandedTemplateInRow(row)\"\n\t\t\t\t[ngTemplateOutletContext]=\"{data: firstExpandedDataInRow(row)}\">\n\t\t\t</ng-template>\n\t\t</td>\n\t"}]}],"members":{"row":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":2}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":2}}]}],"expandableRowClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":26,"character":2},"arguments":["class.bx--expandable-row"]}]}],"expanded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":28,"character":2},"arguments":["attr.data-child-row"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":38}}]}],"firstExpandedTemplateInRow":[{"__symbolic":"method"}],"firstExpandedDataInRow":[{"__symbolic":"method"}]}}}}]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-expanded-row.component.ngfactory.d.ts
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-expanded-row.component.ngfactory.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
23
|
+
*
|
|
24
|
+
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
|
|
25
|
+
* tslint:disable
|
|
26
|
+
*/
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
import * as i1 from "@angular/common";
|
|
29
|
+
import * as i2 from "./table-expanded-row.component";
|
|
30
|
+
var styles_TableExpandedRow = [];
|
|
31
|
+
var RenderType_TableExpandedRow = i0.ɵcrt({ encapsulation: 2, styles: styles_TableExpandedRow, data: {} });
|
|
32
|
+
export { RenderType_TableExpandedRow as RenderType_TableExpandedRow };
|
|
33
|
+
function View_TableExpandedRow_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, null, null, null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [" ", " "]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.firstExpandedDataInRow(_co.row); _ck(_v, 1, 0, currVal_0); }); }
|
|
34
|
+
function View_TableExpandedRow_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
|
|
35
|
+
export function View_TableExpandedRow_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, "td", [], [[1, "colspan", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableExpandedRow_1)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 2, null, View_TableExpandedRow_2)), i0.ɵdid(4, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutletContext: [0, "ngTemplateOutletContext"], ngTemplateOutlet: [1, "ngTemplateOutlet"] }, null), i0.ɵpod(5, { data: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = !_co.firstExpandedTemplateInRow(_co.row); _ck(_v, 2, 0, currVal_1); var currVal_2 = _ck(_v, 5, 0, _co.firstExpandedDataInRow(_co.row)); var currVal_3 = _co.firstExpandedTemplateInRow(_co.row); _ck(_v, 4, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.row.length + 2); _ck(_v, 0, 0, currVal_0); }); }
|
|
36
|
+
export function View_TableExpandedRow_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [["ibmTableExpandedRow", ""]], [[2, "bx--expandable-row", null], [1, "data-child-row", 0]], null, null, View_TableExpandedRow_0, RenderType_TableExpandedRow)), i0.ɵdid(1, 49152, null, 0, i2.TableExpandedRow, [], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).expandableRowClass; var currVal_1 = i0.ɵnov(_v, 1).expanded; _ck(_v, 0, 0, currVal_0, currVal_1); }); }
|
|
37
|
+
var TableExpandedRowNgFactory = i0.ɵccf("[ibmTableExpandedRow]", i2.TableExpandedRow, View_TableExpandedRow_Host_0, { row: "row", skeleton: "skeleton", expanded: "expanded" }, {}, []);
|
|
38
|
+
export { TableExpandedRowNgFactory as TableExpandedRowNgFactory };
|
|
39
|
+
//# sourceMappingURL=table-expanded-row.component.ngfactory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-expanded-row.component.ngfactory.js","sourceRoot":"","sources":["../../src/table/body/table-expanded-row.component.ngfactory.ts","../../src/table/body/table-expanded-row.component.ts.TableExpandedRow.html"],"names":[],"mappings":";;;;;;;;;;;;2DCEG,6EAAuD,KAAA,uKAEvD;;kEAHD,0FAAoC,KACnC,gLAAuD,IAGvD,8PAEiE,GAAhE,oBAA+D,mDALlD,mDAAwC,OAAtD,YAAuD,EAAzC,SAAwC,GAKrD,4DAA+D,QAD/D,kDAAoD,OADrD,YAEiE,EAAhE,SAA+D,EAD/D,SAAoD,mDALlD,mCAA+B,GAAnC,YAAoC,EAAhC,SAA+B","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t<td [attr.colspan]=\"row.length + 2\">\n\t\t\t<ng-container *ngIf=\"!firstExpandedTemplateInRow(row)\">\n\t\t\t\t{{firstExpandedDataInRow(row)}}\n\t\t\t</ng-container>\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"firstExpandedTemplateInRow(row)\"\n\t\t\t\t[ngTemplateOutletContext]=\"{data: firstExpandedDataInRow(row)}\">\n\t\t\t</ng-template>\n\t\t</td>\n\t"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"row":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"expandableRowClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":["class.bx--expandable-row"]}]}],"expanded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":["attr.data-child-row"]},{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"firstExpandedTemplateInRow":[{"__symbolic":"method"}],"firstExpandedDataInRow":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"[ibmTableExpandedRow]","exportAs":null,"inputs":{"row":"row","skeleton":"skeleton","expanded":"expanded"},"outputs":{},"hostListeners":{},"hostProperties":{"class.bx--expandable-row":"expandableRowClass","attr.data-child-row":"expanded"},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"TableExpandedRow","filePath":"./table-expanded-row.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"HostBinding","filePath":"@angular/core"},{"__symbol":3,"name":"View_TableExpandedRow_0","filePath":"./table-expanded-row.component.ngfactory"},{"__symbol":4,"name":"RenderType_TableExpandedRow","filePath":"./table-expanded-row.component.ngfactory"},{"__symbol":5,"name":"TableExpandedRowNgFactory","filePath":"./table-expanded-row.component.ngfactory"}]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-row.component.d.ts
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
import { EventEmitter } from "@angular/core";
|
|
22
|
+
import { TableModel } from "./../table-model.class";
|
|
23
|
+
import { I18n, Overridable } from "./../../i18n/i18n.module";
|
|
24
|
+
import { TableItem } from "./../table-item.class";
|
|
25
|
+
import { Observable } from "rxjs";
|
|
26
|
+
export declare class TableRowComponent {
|
|
27
|
+
protected i18n: I18n;
|
|
28
|
+
/**
|
|
29
|
+
* `TableModel` with data the table is to display.
|
|
30
|
+
*/
|
|
31
|
+
model: TableModel;
|
|
32
|
+
row: TableItem[];
|
|
33
|
+
expanded: boolean;
|
|
34
|
+
expandable: boolean;
|
|
35
|
+
selected: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Size of the table rows.
|
|
38
|
+
*/
|
|
39
|
+
size: "sm" | "md" | "lg";
|
|
40
|
+
/**
|
|
41
|
+
* Controls whether to enable multiple or single row selection.
|
|
42
|
+
*/
|
|
43
|
+
enableSingleSelect: boolean;
|
|
44
|
+
expandButtonAriaLabel: string | Observable<string>;
|
|
45
|
+
checkboxLabel: string | Observable<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Controls whether to show the selection checkboxes column or not.
|
|
48
|
+
*/
|
|
49
|
+
showSelectionColumn: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Used to populate the row selection checkbox label with a useful value if set.
|
|
52
|
+
*
|
|
53
|
+
* Example:
|
|
54
|
+
* ```
|
|
55
|
+
* <ibm-table [selectionLabelColumn]="0"></ibm-table>
|
|
56
|
+
* <!-- results in aria-label="Select first column value"
|
|
57
|
+
* (where "first column value" is the value of the first column in the row -->
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
selectionLabelColumn: number;
|
|
61
|
+
skeleton: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Emits when the row is selected.
|
|
64
|
+
*/
|
|
65
|
+
selectRow: EventEmitter<{}>;
|
|
66
|
+
/**
|
|
67
|
+
* Emits when the row is deselected.
|
|
68
|
+
*/
|
|
69
|
+
deselectRow: EventEmitter<{}>;
|
|
70
|
+
/**
|
|
71
|
+
* Emits when the row is expanded
|
|
72
|
+
*/
|
|
73
|
+
expandRow: EventEmitter<{}>;
|
|
74
|
+
readonly selectedClass: boolean;
|
|
75
|
+
readonly parentRowClass: boolean;
|
|
76
|
+
readonly expandableRowClass: boolean;
|
|
77
|
+
readonly selectableClass: boolean;
|
|
78
|
+
readonly isParentRow: boolean;
|
|
79
|
+
protected _checkboxLabel: Overridable;
|
|
80
|
+
protected _expandButtonAriaLabel: Overridable;
|
|
81
|
+
constructor(i18n: I18n);
|
|
82
|
+
onSelectionChange(): void;
|
|
83
|
+
getCheckboxLabel(): Observable<string>;
|
|
84
|
+
getExpandButtonAriaLabel(): Observable<string>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-row.component.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
import { Component, Input, Output, EventEmitter, HostBinding } from "@angular/core";
|
|
22
|
+
import { TableModel } from "./../table-model.class";
|
|
23
|
+
import { I18n } from "./../../i18n/i18n.module";
|
|
24
|
+
var TableRowComponent = /** @class */ (function () {
|
|
25
|
+
function TableRowComponent(i18n) {
|
|
26
|
+
this.i18n = i18n;
|
|
27
|
+
this.expanded = false;
|
|
28
|
+
this.expandable = false;
|
|
29
|
+
this.selected = false;
|
|
30
|
+
/**
|
|
31
|
+
* Size of the table rows.
|
|
32
|
+
*/
|
|
33
|
+
this.size = "md";
|
|
34
|
+
/**
|
|
35
|
+
* Controls whether to enable multiple or single row selection.
|
|
36
|
+
*/
|
|
37
|
+
this.enableSingleSelect = false;
|
|
38
|
+
/**
|
|
39
|
+
* Controls whether to show the selection checkboxes column or not.
|
|
40
|
+
*/
|
|
41
|
+
this.showSelectionColumn = true;
|
|
42
|
+
this.skeleton = false;
|
|
43
|
+
/**
|
|
44
|
+
* Emits when the row is selected.
|
|
45
|
+
*/
|
|
46
|
+
this.selectRow = new EventEmitter();
|
|
47
|
+
/**
|
|
48
|
+
* Emits when the row is deselected.
|
|
49
|
+
*/
|
|
50
|
+
this.deselectRow = new EventEmitter();
|
|
51
|
+
/**
|
|
52
|
+
* Emits when the row is expanded
|
|
53
|
+
*/
|
|
54
|
+
this.expandRow = new EventEmitter();
|
|
55
|
+
this._checkboxLabel = this.i18n.getOverridable("TABLE.CHECKBOX_ROW");
|
|
56
|
+
this._expandButtonAriaLabel = this.i18n.getOverridable("TABLE.EXPAND_BUTTON");
|
|
57
|
+
}
|
|
58
|
+
Object.defineProperty(TableRowComponent.prototype, "expandButtonAriaLabel", {
|
|
59
|
+
get: function () {
|
|
60
|
+
return this._expandButtonAriaLabel.value;
|
|
61
|
+
},
|
|
62
|
+
set: function (value) {
|
|
63
|
+
this._expandButtonAriaLabel.override(value);
|
|
64
|
+
},
|
|
65
|
+
enumerable: true,
|
|
66
|
+
configurable: true
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(TableRowComponent.prototype, "checkboxLabel", {
|
|
69
|
+
get: function () {
|
|
70
|
+
return this._checkboxLabel.value;
|
|
71
|
+
},
|
|
72
|
+
set: function (value) {
|
|
73
|
+
this._checkboxLabel.override(value);
|
|
74
|
+
},
|
|
75
|
+
enumerable: true,
|
|
76
|
+
configurable: true
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(TableRowComponent.prototype, "selectedClass", {
|
|
79
|
+
get: function () {
|
|
80
|
+
return this.selected;
|
|
81
|
+
},
|
|
82
|
+
enumerable: true,
|
|
83
|
+
configurable: true
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(TableRowComponent.prototype, "parentRowClass", {
|
|
86
|
+
get: function () {
|
|
87
|
+
return this.expandable;
|
|
88
|
+
},
|
|
89
|
+
enumerable: true,
|
|
90
|
+
configurable: true
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(TableRowComponent.prototype, "expandableRowClass", {
|
|
93
|
+
get: function () {
|
|
94
|
+
return this.expanded;
|
|
95
|
+
},
|
|
96
|
+
enumerable: true,
|
|
97
|
+
configurable: true
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(TableRowComponent.prototype, "selectableClass", {
|
|
100
|
+
get: function () {
|
|
101
|
+
return false; // this.singleSelect
|
|
102
|
+
},
|
|
103
|
+
enumerable: true,
|
|
104
|
+
configurable: true
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(TableRowComponent.prototype, "isParentRow", {
|
|
107
|
+
get: function () {
|
|
108
|
+
return this.expandable ? true : null;
|
|
109
|
+
},
|
|
110
|
+
enumerable: true,
|
|
111
|
+
configurable: true
|
|
112
|
+
});
|
|
113
|
+
TableRowComponent.prototype.onSelectionChange = function () {
|
|
114
|
+
if (this.selected) {
|
|
115
|
+
this.deselectRow.emit();
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
this.selectRow.emit();
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
TableRowComponent.prototype.getCheckboxLabel = function () {
|
|
122
|
+
return this._checkboxLabel.subject;
|
|
123
|
+
};
|
|
124
|
+
TableRowComponent.prototype.getExpandButtonAriaLabel = function () {
|
|
125
|
+
return this._expandButtonAriaLabel.subject;
|
|
126
|
+
};
|
|
127
|
+
TableRowComponent.decorators = [
|
|
128
|
+
{ type: Component, args: [{
|
|
129
|
+
// tslint:disable-next-line: component-selector
|
|
130
|
+
selector: "[ibmTableRow]",
|
|
131
|
+
template: "\n\t\t<ng-container *ngIf=\"model\">\n\t\t\t<td\n\t\t\t\t*ngIf=\"model.hasExpandableRows()\"\n\t\t\t\tibmTableExpandButton\n\t\t\t\t[expanded]=\"expanded\"\n\t\t\t\t[expandable]=\"expandable\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[ariaLabel]=\"getExpandButtonAriaLabel()\"\n\t\t\t\t(expandRow)=\"expandRow.emit()\">\n\t\t\t</td>\n\t\t\t<td\n\t\t\t\t*ngIf=\"!skeleton && showSelectionColumn\"\n\t\t\t\tibmTableCheckbox\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[selected]=\"selected\"\n\t\t\t\t[label]=\"getCheckboxLabel()\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t(change)=\"onSelectionChange()\">\n\t\t\t</td>\n\t\t\t<ng-container *ngFor=\"let item of row; let j = index\">\n\t\t\t\t<td\n\t\t\t\t\t*ngIf=\"model.header[j].visible\"\n\t\t\t\t\tibmTableData\n\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t[class]=\"model.header[j].className\"\n\t\t\t\t\t[ngStyle]=\"model.header[j].style\"\n\t\t\t\t\t[skeleton]=\"skeleton\">\n\t\t\t\t</td>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t\t<ng-content></ng-content>\n\t"
|
|
132
|
+
},] },
|
|
133
|
+
];
|
|
134
|
+
/** @nocollapse */
|
|
135
|
+
TableRowComponent.ctorParameters = function () { return [
|
|
136
|
+
{ type: I18n }
|
|
137
|
+
]; };
|
|
138
|
+
TableRowComponent.propDecorators = {
|
|
139
|
+
model: [{ type: Input }],
|
|
140
|
+
row: [{ type: Input }],
|
|
141
|
+
expanded: [{ type: Input }],
|
|
142
|
+
expandable: [{ type: Input }],
|
|
143
|
+
selected: [{ type: Input }],
|
|
144
|
+
size: [{ type: Input }],
|
|
145
|
+
enableSingleSelect: [{ type: Input }],
|
|
146
|
+
expandButtonAriaLabel: [{ type: Input }],
|
|
147
|
+
checkboxLabel: [{ type: Input }],
|
|
148
|
+
showSelectionColumn: [{ type: Input }],
|
|
149
|
+
selectionLabelColumn: [{ type: Input }],
|
|
150
|
+
skeleton: [{ type: Input }],
|
|
151
|
+
selectRow: [{ type: Output }],
|
|
152
|
+
deselectRow: [{ type: Output }],
|
|
153
|
+
expandRow: [{ type: Output }],
|
|
154
|
+
selectedClass: [{ type: HostBinding, args: ["class.bx--data-table--selected",] }],
|
|
155
|
+
parentRowClass: [{ type: HostBinding, args: ["class.bx--parent-row",] }],
|
|
156
|
+
expandableRowClass: [{ type: HostBinding, args: ["class.bx--expandable-row",] }],
|
|
157
|
+
selectableClass: [{ type: HostBinding, args: ["class.tbody_row--selectable",] }],
|
|
158
|
+
isParentRow: [{ type: HostBinding, args: ["attr.data-parent-row",] }]
|
|
159
|
+
};
|
|
160
|
+
return TableRowComponent;
|
|
161
|
+
}());
|
|
162
|
+
export { TableRowComponent };
|
|
163
|
+
//# sourceMappingURL=table-row.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-row.component.js","sourceRoot":"","sources":["../../src/table/body/table-row.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,WAAW,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAe,MAAM,0BAA0B,CAAC;AAI7D;IAwIC,2BAAsB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QA3FvB,aAAQ,GAAG,KAAK,CAAC;QAEjB,eAAU,GAAG,KAAK,CAAC;QAEnB,aAAQ,GAAG,KAAK,CAAC;QAE1B;;WAEG;QACM,SAAI,GAAuB,IAAI,CAAC;QAEzC;;WAEG;QACM,uBAAkB,GAAG,KAAK,CAAC;QAoBpC;;WAEG;QACM,wBAAmB,GAAG,IAAI,CAAC;QAc3B,aAAQ,GAAG,KAAK,CAAC;QAE1B;;WAEG;QACO,cAAS,GAAG,IAAI,YAAY,EAAE,CAAC;QAEzC;;WAEG;QACO,gBAAW,GAAG,IAAI,YAAY,EAAE,CAAC;QAE3C;;WAEG;QACO,cAAS,GAAG,IAAI,YAAY,EAAE,CAAC;QAsB/B,mBAAc,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;QAChE,2BAAsB,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC;IAE/C,CAAC;IA3ErC,sBACI,oDAAqB;aAIzB;YACC,OAAO,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC;QAC1C,CAAC;aAPD,UAC0B,KAAkC;YAC3D,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC7C,CAAC;;;OAAA;IAMD,sBACI,4CAAa;aAIjB;YACC,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC;QAClC,CAAC;aAPD,UACkB,KAAkC;YACnD,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC;;;OAAA;IAwCD,sBAAmD,4CAAa;aAAhE;YACC,OAAO,IAAI,CAAC,QAAQ,CAAC;QACtB,CAAC;;;OAAA;IAED,sBAAyC,6CAAc;aAAvD;YACC,OAAO,IAAI,CAAC,UAAU,CAAC;QACxB,CAAC;;;OAAA;IAED,sBAA6C,iDAAkB;aAA/D;YACC,OAAO,IAAI,CAAC,QAAQ,CAAC;QACtB,CAAC;;;OAAA;IAED,sBAAgD,8CAAe;aAA/D;YACC,OAAO,KAAK,CAAC,CAAC,oBAAoB;QACnC,CAAC;;;OAAA;IAED,sBAAyC,0CAAW;aAApD;YACC,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;QACtC,CAAC;;;OAAA;IAOD,6CAAiB,GAAjB;QACC,IAAI,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;SACxB;aAAM;YACN,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;SACtB;IACF,CAAC;IAED,4CAAgB,GAAhB;QACC,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;IACpC,CAAC;IAED,oDAAwB,GAAxB;QACC,OAAO,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC;IAC5C,CAAC;;gBAxJD,SAAS,SAAC;oBACV,+CAA+C;oBAC/C,QAAQ,EAAE,eAAe;oBACzB,QAAQ,EAAE,k/BAgCT;iBACD;;;;gBAxCQ,IAAI;;;wBA6CX,KAAK;sBAEL,KAAK;2BAEL,KAAK;6BAEL,KAAK;2BAEL,KAAK;uBAKL,KAAK;qCAKL,KAAK;wCAEL,KAAK;gCASL,KAAK;sCAYL,KAAK;uCAYL,KAAK;2BAEL,KAAK;4BAKL,MAAM;8BAKN,MAAM;4BAKN,MAAM;gCAEN,WAAW,SAAC,gCAAgC;iCAI5C,WAAW,SAAC,sBAAsB;qCAIlC,WAAW,SAAC,0BAA0B;kCAItC,WAAW,SAAC,6BAA6B;8BAIzC,WAAW,SAAC,sBAAsB;;IAwBpC,wBAAC;CAAA,AAzJD,IAyJC;SApHY,iBAAiB","sourcesContent":["import {\n\tComponent,\n\tInput,\n\tOutput,\n\tEventEmitter,\n\tHostBinding\n} from \"@angular/core\";\nimport { TableModel } from \"./../table-model.class\";\nimport { I18n, Overridable } from \"./../../i18n/i18n.module\";\nimport { TableItem } from \"./../table-item.class\";\nimport { Observable } from \"rxjs\";\n\n@Component({\n\t// tslint:disable-next-line: component-selector\n\tselector: \"[ibmTableRow]\",\n\ttemplate: `\n\t\t<ng-container *ngIf=\"model\">\n\t\t\t<td\n\t\t\t\t*ngIf=\"model.hasExpandableRows()\"\n\t\t\t\tibmTableExpandButton\n\t\t\t\t[expanded]=\"expanded\"\n\t\t\t\t[expandable]=\"expandable\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[ariaLabel]=\"getExpandButtonAriaLabel()\"\n\t\t\t\t(expandRow)=\"expandRow.emit()\">\n\t\t\t</td>\n\t\t\t<td\n\t\t\t\t*ngIf=\"!skeleton && showSelectionColumn\"\n\t\t\t\tibmTableCheckbox\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[selected]=\"selected\"\n\t\t\t\t[label]=\"getCheckboxLabel()\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t(change)=\"onSelectionChange()\">\n\t\t\t</td>\n\t\t\t<ng-container *ngFor=\"let item of row; let j = index\">\n\t\t\t\t<td\n\t\t\t\t\t*ngIf=\"model.header[j].visible\"\n\t\t\t\t\tibmTableData\n\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t[class]=\"model.header[j].className\"\n\t\t\t\t\t[ngStyle]=\"model.header[j].style\"\n\t\t\t\t\t[skeleton]=\"skeleton\">\n\t\t\t\t</td>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t\t<ng-content></ng-content>\n\t`\n})\nexport class TableRowComponent {\n\t/**\n\t * `TableModel` with data the table is to display.\n\t */\n\t@Input() model: TableModel;\n\n\t@Input() row: TableItem[];\n\n\t@Input() expanded = false;\n\n\t@Input() expandable = false;\n\n\t@Input() selected = false;\n\n\t/**\n\t * Size of the table rows.\n\t */\n\t@Input() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\n\t/**\n\t * Controls whether to enable multiple or single row selection.\n\t */\n\t@Input() enableSingleSelect = false;\n\n\t@Input()\n\tset expandButtonAriaLabel(value: string | Observable<string>) {\n\t\tthis._expandButtonAriaLabel.override(value);\n\t}\n\n\tget expandButtonAriaLabel() {\n\t\treturn this._expandButtonAriaLabel.value;\n\t}\n\n\t@Input()\n\tset checkboxLabel(value: string | Observable<string>) {\n\t\tthis._checkboxLabel.override(value);\n\t}\n\n\tget checkboxLabel() {\n\t\treturn this._checkboxLabel.value;\n\t}\n\n\t/**\n\t * Controls whether to show the selection checkboxes column or not.\n\t */\n\t@Input() showSelectionColumn = true;\n\n\t/**\n\t * Used to populate the row selection checkbox label with a useful value if set.\n\t *\n\t * Example:\n\t * ```\n\t * <ibm-table [selectionLabelColumn]=\"0\"></ibm-table>\n\t * <!-- results in aria-label=\"Select first column value\"\n\t * (where \"first column value\" is the value of the first column in the row -->\n\t * ```\n\t */\n\t@Input() selectionLabelColumn: number;\n\n\t@Input() skeleton = false;\n\n\t/**\n\t * Emits when the row is selected.\n\t */\n\t@Output() selectRow = new EventEmitter();\n\n\t/**\n\t * Emits when the row is deselected.\n\t */\n\t@Output() deselectRow = new EventEmitter();\n\n\t/**\n\t * Emits when the row is expanded\n\t */\n\t@Output() expandRow = new EventEmitter();\n\n\t@HostBinding(\"class.bx--data-table--selected\") get selectedClass() {\n\t\treturn this.selected;\n\t}\n\n\t@HostBinding(\"class.bx--parent-row\") get parentRowClass() {\n\t\treturn this.expandable;\n\t}\n\n\t@HostBinding(\"class.bx--expandable-row\") get expandableRowClass() {\n\t\treturn this.expanded;\n\t}\n\n\t@HostBinding(\"class.tbody_row--selectable\") get selectableClass() {\n\t\treturn false; // this.singleSelect\n\t}\n\n\t@HostBinding(\"attr.data-parent-row\") get isParentRow() {\n\t\treturn this.expandable ? true : null;\n\t}\n\n\tprotected _checkboxLabel = this.i18n.getOverridable(\"TABLE.CHECKBOX_ROW\");\n\tprotected _expandButtonAriaLabel = this.i18n.getOverridable(\"TABLE.EXPAND_BUTTON\");\n\n\tconstructor(protected i18n: I18n) { }\n\n\tonSelectionChange() {\n\t\tif (this.selected) {\n\t\t\tthis.deselectRow.emit();\n\t\t} else {\n\t\t\tthis.selectRow.emit();\n\t\t}\n\t}\n\n\tgetCheckboxLabel(): Observable<string> {\n\t\treturn this._checkboxLabel.subject;\n\t}\n\n\tgetExpandButtonAriaLabel(): Observable<string> {\n\t\treturn this._expandButtonAriaLabel.subject;\n\t}\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"TableRowComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"[ibmTableRow]","template":"\n\t\t<ng-container *ngIf=\"model\">\n\t\t\t<td\n\t\t\t\t*ngIf=\"model.hasExpandableRows()\"\n\t\t\t\tibmTableExpandButton\n\t\t\t\t[expanded]=\"expanded\"\n\t\t\t\t[expandable]=\"expandable\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[ariaLabel]=\"getExpandButtonAriaLabel()\"\n\t\t\t\t(expandRow)=\"expandRow.emit()\">\n\t\t\t</td>\n\t\t\t<td\n\t\t\t\t*ngIf=\"!skeleton && showSelectionColumn\"\n\t\t\t\tibmTableCheckbox\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[selected]=\"selected\"\n\t\t\t\t[label]=\"getCheckboxLabel()\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t(change)=\"onSelectionChange()\">\n\t\t\t</td>\n\t\t\t<ng-container *ngFor=\"let item of row; let j = index\">\n\t\t\t\t<td\n\t\t\t\t\t*ngIf=\"model.header[j].visible\"\n\t\t\t\t\tibmTableData\n\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t[class]=\"model.header[j].className\"\n\t\t\t\t\t[ngStyle]=\"model.header[j].style\"\n\t\t\t\t\t[skeleton]=\"skeleton\">\n\t\t\t\t</td>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t\t<ng-content></ng-content>\n\t"}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":2}}]}],"row":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":2}}]}],"expanded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":2}}]}],"expandable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":2}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":2}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":2}}]}],"enableSingleSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":71,"character":2}}]}],"expandButtonAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":2}}]}],"checkboxLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":2}}]}],"showSelectionColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":94,"character":2}}]}],"selectionLabelColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":106,"character":2}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":2}}]}],"selectRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":113,"character":2}}]}],"deselectRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":118,"character":2}}]}],"expandRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":123,"character":2}}]}],"selectedClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":125,"character":2},"arguments":["class.bx--data-table--selected"]}]}],"parentRowClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":129,"character":2},"arguments":["class.bx--parent-row"]}]}],"expandableRowClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":133,"character":2},"arguments":["class.bx--expandable-row"]}]}],"selectableClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":137,"character":2},"arguments":["class.tbody_row--selectable"]}]}],"isParentRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":141,"character":2},"arguments":["attr.data-parent-row"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./../../i18n/i18n.module","name":"I18n","line":148,"character":29}]}],"onSelectionChange":[{"__symbolic":"method"}],"getCheckboxLabel":[{"__symbolic":"method"}],"getExpandButtonAriaLabel":[{"__symbolic":"method"}]}}}}]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* carbon-angular v0.0.0 | table-row.component.ngfactory.d.ts
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, 2019 IBM
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
export {};
|