cps-ui-kit 0.150.0 → 0.151.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,6 +72,13 @@ export declare class CpsTableComponent implements OnInit, AfterViewChecked, OnCh
72
72
  * @group Props
73
73
  */
74
74
  showRowMenu: boolean;
75
+ /**
76
+ * Determines whether the 'Remove' button should be displayed in the row menu.
77
+ * If true, 'Remove' button is shown. If false, it's hidden.
78
+ * Note: This setting only takes effect if 'showRowMenu' is true.
79
+ * @group Props
80
+ */
81
+ showRowRemoveButton: boolean;
75
82
  /**
76
83
  * Whether the table should have re-orderable rows.
77
84
  * @group Props
@@ -451,5 +458,5 @@ export declare class CpsTableComponent implements OnInit, AfterViewChecked, OnCh
451
458
  exportTable(format: CpsTableExportFormat): void;
452
459
  exportXLSX(): void;
453
460
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsTableComponent, never>;
454
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsTableComponent, "cps-table", never, { "data": "data"; "columns": "columns"; "colHeaderName": "colHeaderName"; "colFieldName": "colFieldName"; "striped": "striped"; "bordered": "bordered"; "size": "size"; "selectable": "selectable"; "rowHover": "rowHover"; "dataKey": "dataKey"; "showRowMenu": "showRowMenu"; "reorderableRows": "reorderableRows"; "loading": "loading"; "tableStyle": "tableStyle"; "tableStyleClass": "tableStyleClass"; "sortable": "sortable"; "sortMode": "sortMode"; "customSort": "customSort"; "hasToolbar": "hasToolbar"; "toolbarSize": "toolbarSize"; "toolbarTitle": "toolbarTitle"; "toolbarIcon": "toolbarIcon"; "toolbarIconColor": "toolbarIconColor"; "scrollable": "scrollable"; "scrollHeight": "scrollHeight"; "virtualScroll": "virtualScroll"; "numToleratedItems": "numToleratedItems"; "paginator": "paginator"; "alwaysShowPaginator": "alwaysShowPaginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "first": "first"; "rows": "rows"; "resetPageOnRowsChange": "resetPageOnRowsChange"; "resetPageOnSort": "resetPageOnSort"; "totalRecords": "totalRecords"; "emptyMessage": "emptyMessage"; "emptyBodyHeight": "emptyBodyHeight"; "lazy": "lazy"; "lazyLoadOnInit": "lazyLoadOnInit"; "showGlobalFilter": "showGlobalFilter"; "globalFilterPlaceholder": "globalFilterPlaceholder"; "globalFilterFields": "globalFilterFields"; "clearGlobalFilterOnLoading": "clearGlobalFilterOnLoading"; "showRemoveBtnOnSelect": "showRemoveBtnOnSelect"; "removeBtnOnSelectDisabled": "removeBtnOnSelectDisabled"; "showAdditionalBtnOnSelect": "showAdditionalBtnOnSelect"; "additionalBtnOnSelectTitle": "additionalBtnOnSelectTitle"; "additionalBtnOnSelectDisabled": "additionalBtnOnSelectDisabled"; "showActionBtn": "showActionBtn"; "actionBtnTitle": "actionBtnTitle"; "actionBtnDisabled": "actionBtnDisabled"; "showExportBtn": "showExportBtn"; "exportBtnDisabled": "exportBtnDisabled"; "exportFilename": "exportFilename"; "csvSeparator": "csvSeparator"; "showDataReloadBtn": "showDataReloadBtn"; "dataReloadBtnDisabled": "dataReloadBtnDisabled"; "showColumnsToggleBtn": "showColumnsToggleBtn"; "columnsToggleBtnDisabled": "columnsToggleBtnDisabled"; "initialColumns": "initialColumns"; }, { "selectionChanged": "selectionChanged"; "actionBtnClicked": "actionBtnClicked"; "editRowBtnClicked": "editRowBtnClicked"; "rowsRemoved": "rowsRemoved"; "pageChanged": "pageChanged"; "sorted": "sorted"; "filtered": "filtered"; "rowsReordered": "rowsReordered"; "columnsSelected": "columnsSelected"; "lazyLoaded": "lazyLoaded"; "dataReloadBtnClicked": "dataReloadBtnClicked"; "additionalBtnOnSelectClicked": "additionalBtnOnSelectClicked"; "customSortFunction": "customSortFunction"; }, ["toolbarTemplate", "headerTemplate", "nestedHeaderTemplate", "bodyTemplate", "rowExpansionTemplate"], never, true, never>;
461
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsTableComponent, "cps-table", never, { "data": "data"; "columns": "columns"; "colHeaderName": "colHeaderName"; "colFieldName": "colFieldName"; "striped": "striped"; "bordered": "bordered"; "size": "size"; "selectable": "selectable"; "rowHover": "rowHover"; "dataKey": "dataKey"; "showRowMenu": "showRowMenu"; "showRowRemoveButton": "showRowRemoveButton"; "reorderableRows": "reorderableRows"; "loading": "loading"; "tableStyle": "tableStyle"; "tableStyleClass": "tableStyleClass"; "sortable": "sortable"; "sortMode": "sortMode"; "customSort": "customSort"; "hasToolbar": "hasToolbar"; "toolbarSize": "toolbarSize"; "toolbarTitle": "toolbarTitle"; "toolbarIcon": "toolbarIcon"; "toolbarIconColor": "toolbarIconColor"; "scrollable": "scrollable"; "scrollHeight": "scrollHeight"; "virtualScroll": "virtualScroll"; "numToleratedItems": "numToleratedItems"; "paginator": "paginator"; "alwaysShowPaginator": "alwaysShowPaginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "first": "first"; "rows": "rows"; "resetPageOnRowsChange": "resetPageOnRowsChange"; "resetPageOnSort": "resetPageOnSort"; "totalRecords": "totalRecords"; "emptyMessage": "emptyMessage"; "emptyBodyHeight": "emptyBodyHeight"; "lazy": "lazy"; "lazyLoadOnInit": "lazyLoadOnInit"; "showGlobalFilter": "showGlobalFilter"; "globalFilterPlaceholder": "globalFilterPlaceholder"; "globalFilterFields": "globalFilterFields"; "clearGlobalFilterOnLoading": "clearGlobalFilterOnLoading"; "showRemoveBtnOnSelect": "showRemoveBtnOnSelect"; "removeBtnOnSelectDisabled": "removeBtnOnSelectDisabled"; "showAdditionalBtnOnSelect": "showAdditionalBtnOnSelect"; "additionalBtnOnSelectTitle": "additionalBtnOnSelectTitle"; "additionalBtnOnSelectDisabled": "additionalBtnOnSelectDisabled"; "showActionBtn": "showActionBtn"; "actionBtnTitle": "actionBtnTitle"; "actionBtnDisabled": "actionBtnDisabled"; "showExportBtn": "showExportBtn"; "exportBtnDisabled": "exportBtnDisabled"; "exportFilename": "exportFilename"; "csvSeparator": "csvSeparator"; "showDataReloadBtn": "showDataReloadBtn"; "dataReloadBtnDisabled": "dataReloadBtnDisabled"; "showColumnsToggleBtn": "showColumnsToggleBtn"; "columnsToggleBtnDisabled": "columnsToggleBtnDisabled"; "initialColumns": "initialColumns"; }, { "selectionChanged": "selectionChanged"; "actionBtnClicked": "actionBtnClicked"; "editRowBtnClicked": "editRowBtnClicked"; "rowsRemoved": "rowsRemoved"; "pageChanged": "pageChanged"; "sorted": "sorted"; "filtered": "filtered"; "rowsReordered": "rowsReordered"; "columnsSelected": "columnsSelected"; "lazyLoaded": "lazyLoaded"; "dataReloadBtnClicked": "dataReloadBtnClicked"; "additionalBtnOnSelectClicked": "additionalBtnOnSelectClicked"; "customSortFunction": "customSortFunction"; }, ["toolbarTemplate", "headerTemplate", "nestedHeaderTemplate", "bodyTemplate", "rowExpansionTemplate"], never, true, never>;
455
462
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.150.0",
3
+ "version": "0.151.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",