@libs-ui/components-table 0.2.306 → 0.2.307-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.
@@ -1,4 +1,4 @@
1
- import { IButton } from "@libs-ui/components-buttons-button";
1
+ import { IButton } from '@libs-ui/components-buttons-button';
2
2
  export interface ITabelButtonActionEvent {
3
3
  button: IButton;
4
4
  item: any;
@@ -1,4 +1,4 @@
1
- import { IButton } from "@libs-ui/components-buttons-button";
1
+ import { IButton } from '@libs-ui/components-buttons-button';
2
2
  export interface IButtonBarEvent {
3
3
  button: IButton;
4
4
  keys: Array<any>;
@@ -1,4 +1,4 @@
1
- import { TYPE_DATA_TABLE } from "./table.type";
1
+ import { TYPE_DATA_TABLE } from './table.type';
2
2
  export interface ILoadMoreEvent {
3
3
  loadMoreSuccess?: (data: TYPE_DATA_TABLE) => void;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { TYPE_OBJECT } from "@libs-ui/interfaces-types";
1
+ import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
2
2
  export interface ITableNoDataConfig {
3
3
  classIconNoData?: string;
4
4
  classIconSearchNoData?: string;
@@ -1,4 +1,4 @@
1
- import { ISort } from "@libs-ui/components-buttons-sort";
1
+ import { ISort } from '@libs-ui/components-buttons-sort';
2
2
  export interface ISortEvent {
3
3
  sort: ISort;
4
4
  onSortSuccess: () => void;
@@ -1,7 +1,7 @@
1
- import { TYPE_SORT_TYPE } from "@libs-ui/components-buttons-sort";
2
- import { IPopover, TYPE_POPOVER_TYPE } from "@libs-ui/components-popover";
3
- import { TYPE_FUNCTION, TYPE_OBJECT } from "@libs-ui/interfaces-types";
4
- import { ITableTemplateConfig } from "./template-config.interface";
1
+ import { TYPE_SORT_TYPE } from '@libs-ui/components-buttons-sort';
2
+ import { IPopover, TYPE_POPOVER_TYPE } from '@libs-ui/components-popover';
3
+ import { TYPE_FUNCTION, TYPE_OBJECT } from '@libs-ui/interfaces-types';
4
+ import { ITableTemplateConfig } from './template-config.interface';
5
5
  export interface ITableHeaderConfig {
6
6
  ngStyle?: TYPE_OBJECT;
7
7
  keepWidthIsPxColumnIfTableWidthGrandTotalColumnsHeader?: boolean;
@@ -1,5 +1,5 @@
1
- import { WritableSignal } from "@angular/core";
2
- import { TYPE_OBJECT } from "@libs-ui/interfaces-types";
1
+ import { WritableSignal } from '@angular/core';
2
+ import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
3
3
  export type TYPE_TABLE_FILTER = ((items: TYPE_DATA_TABLE, filter: Record<string, unknown>) => Array<WritableSignal<Record<string, unknown>>>) | undefined;
4
4
  export type TYPE_DATA_FILTER_TABLE = {
5
5
  filterData: TYPE_OBJECT;
@@ -1,15 +1,15 @@
1
- import { WritableSignal } from "@angular/core";
2
- import { IAvatarConfig } from "@libs-ui/components-avatar";
3
- import { IButton } from "@libs-ui/components-buttons-button";
4
- import { IDropdown } from "@libs-ui/components-dropdown";
5
- import { ILineClampConfig } from "@libs-ui/components-line-clamp";
6
- import { IListConfigItem } from "@libs-ui/components-list";
7
- import { IPopover } from "@libs-ui/components-popover";
8
- import { ISwitchEvent } from "@libs-ui/components-switch";
9
- import { TYPE_FUNCTION, TYPE_OBJECT } from "@libs-ui/interfaces-types";
10
- import { Observable } from "rxjs";
11
- import { LibsUiComponentsComponentOutletComponent } from "@libs-ui/components-component-outlet";
12
- import { TYPE_ITEM_DATA_TABLE } from "./table.type";
1
+ import { WritableSignal } from '@angular/core';
2
+ import { IAvatarConfig } from '@libs-ui/components-avatar';
3
+ import { IButton } from '@libs-ui/components-buttons-button';
4
+ import { IDropdown } from '@libs-ui/components-dropdown';
5
+ import { ILineClampConfig } from '@libs-ui/components-line-clamp';
6
+ import { IListConfigItem } from '@libs-ui/components-list';
7
+ import { IPopover } from '@libs-ui/components-popover';
8
+ import { ISwitchEvent } from '@libs-ui/components-switch';
9
+ import { TYPE_FUNCTION, TYPE_OBJECT } from '@libs-ui/interfaces-types';
10
+ import { Observable } from 'rxjs';
11
+ import { LibsUiComponentsComponentOutletComponent } from '@libs-ui/components-component-outlet';
12
+ import { TYPE_ITEM_DATA_TABLE } from './table.type';
13
13
  export interface ITableTemplateConfig {
14
14
  cssWrapper: string;
15
15
  fieldsConfig: Array<ITableFieldTemplateConfig>;
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
1
  {
2
2
  "name": "@libs-ui/components-table",
3
- "version": "0.2.306",
3
+ "version": "0.2.307-0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
7
- "@libs-ui/components-buttons-button": "0.2.306",
7
+ "@libs-ui/components-buttons-button": "0.2.307-0",
8
8
  "@iharbeck/ngx-virtual-scroller": "15.2.0",
9
- "@libs-ui/interfaces-types": "0.2.306",
10
- "@libs-ui/components-buttons-sort": "0.2.306",
11
- "@libs-ui/components-popover": "0.2.306",
12
- "@libs-ui/components-avatar": "0.2.306",
13
- "@libs-ui/components-dropdown": "0.2.306",
14
- "@libs-ui/components-line-clamp": "0.2.306",
15
- "@libs-ui/components-list": "0.2.306",
16
- "@libs-ui/components-switch": "0.2.306",
17
- "@libs-ui/services-http-request": "0.2.306",
9
+ "@libs-ui/interfaces-types": "0.2.307-0",
10
+ "@libs-ui/components-buttons-sort": "0.2.307-0",
11
+ "@libs-ui/components-popover": "0.2.307-0",
12
+ "@libs-ui/components-avatar": "0.2.307-0",
13
+ "@libs-ui/components-dropdown": "0.2.307-0",
14
+ "@libs-ui/components-line-clamp": "0.2.307-0",
15
+ "@libs-ui/components-list": "0.2.307-0",
16
+ "@libs-ui/components-switch": "0.2.307-0",
17
+ "@libs-ui/services-http-request": "0.2.307-0",
18
18
  "rxjs": "~7.8.0",
19
- "@libs-ui/components-checkbox-group": "0.2.306",
20
- "@libs-ui/components-checkbox-single": "0.2.306",
21
- "@libs-ui/components-scroll-overlay": "0.2.306",
22
- "@libs-ui/components-spinner": "0.2.306",
23
- "@libs-ui/icons": "0.2.306",
24
- "@libs-ui/pipes-call-function-in-template": "0.2.306",
25
- "@libs-ui/pipes-check-selected-by-key": "0.2.306",
26
- "@libs-ui/utils": "0.2.306",
19
+ "@libs-ui/components-checkbox-group": "0.2.307-0",
20
+ "@libs-ui/components-checkbox-single": "0.2.307-0",
21
+ "@libs-ui/components-scroll-overlay": "0.2.307-0",
22
+ "@libs-ui/components-spinner": "0.2.307-0",
23
+ "@libs-ui/icons": "0.2.307-0",
24
+ "@libs-ui/pipes-call-function-in-template": "0.2.307-0",
25
+ "@libs-ui/pipes-check-selected-by-key": "0.2.307-0",
26
+ "@libs-ui/utils": "0.2.307-0",
27
27
  "@ngx-translate/core": "^15.0.0",
28
- "@libs-ui/components-buttons-status": "0.2.306",
29
- "@libs-ui/pipes-clone-object": "0.2.306",
30
- "@libs-ui/pipes-security-trust": "0.2.306",
31
- "@libs-ui/components-badge": "0.2.306",
32
- "@libs-ui/pipes-convert-object-to-signal": "0.2.306",
33
- "@libs-ui/pipes-get-value-of-object": "0.2.306"
28
+ "@libs-ui/components-buttons-status": "0.2.307-0",
29
+ "@libs-ui/pipes-clone-object": "0.2.307-0",
30
+ "@libs-ui/pipes-security-trust": "0.2.307-0",
31
+ "@libs-ui/components-badge": "0.2.307-0",
32
+ "@libs-ui/pipes-convert-object-to-signal": "0.2.307-0",
33
+ "@libs-ui/pipes-get-value-of-object": "0.2.307-0"
34
34
  },
35
35
  "sideEffects": false,
36
36
  "module": "fesm2022/libs-ui-components-table.mjs",
@@ -1,16 +1,16 @@
1
- import { ElementRef, OnDestroy, OnInit, WritableSignal } from "@angular/core";
1
+ import { ElementRef, OnDestroy, OnInit, WritableSignal } from '@angular/core';
2
2
  import { IButton } from '@libs-ui/components-buttons-button';
3
3
  import { ISort } from '@libs-ui/components-buttons-sort';
4
- import { ICheckboxItem } from "@libs-ui/components-checkbox-group";
5
- import { ICheckboxEvent } from "@libs-ui/components-checkbox-single";
4
+ import { ICheckboxItem } from '@libs-ui/components-checkbox-group';
5
+ import { ICheckboxEvent } from '@libs-ui/components-checkbox-single';
6
6
  import { IDropdownFunctionControlEvent, IEmitSelectKey } from '@libs-ui/components-dropdown';
7
- import { IListConfigItem } from "@libs-ui/components-list";
8
- import { TYPE_POPOVER_EVENT } from "@libs-ui/components-popover";
9
- import { IHttpResponseError, IPaging, TYPE_OBJECT } from "@libs-ui/interfaces-types";
10
- import { IHttpRequestConfig } from "@libs-ui/services-http-request";
11
- import { IButtonBarEvent, IConfigSelectMoreItem, IConfigTemplateItemCollapseExpand, IHoverButtonActionEvent, ILoadMoreEvent, ISortEvent, ITabelButtonActionEvent, ITableFooterConfig, ITableHeaderConfig, TYPE_DATA_FILTER_TABLE, TYPE_ITEM_DATA_TABLE, TYPE_NEW_DATA_TABLE, TYPE_TABLE_FILTER } from "./interfaces";
12
- import { ITableFunctionControlEvent } from "./interfaces/function-control-event.interface";
13
- import { ITableNoDataConfig } from "./interfaces/no-data-config.interface";
7
+ import { IListConfigItem } from '@libs-ui/components-list';
8
+ import { TYPE_POPOVER_EVENT } from '@libs-ui/components-popover';
9
+ import { IHttpResponseError, IPaging, TYPE_OBJECT } from '@libs-ui/interfaces-types';
10
+ import { IHttpRequestConfig } from '@libs-ui/services-http-request';
11
+ import { IButtonBarEvent, IConfigSelectMoreItem, IConfigTemplateItemCollapseExpand, IHoverButtonActionEvent, ILoadMoreEvent, ISortEvent, ITabelButtonActionEvent, ITableFooterConfig, ITableHeaderConfig, TYPE_DATA_FILTER_TABLE, TYPE_ITEM_DATA_TABLE, TYPE_NEW_DATA_TABLE, TYPE_TABLE_FILTER } from './interfaces';
12
+ import { ITableFunctionControlEvent } from './interfaces/function-control-event.interface';
13
+ import { ITableNoDataConfig } from './interfaces/no-data-config.interface';
14
14
  import * as i0 from "@angular/core";
15
15
  export declare class LibsUiComponentsTableComponent implements OnInit, OnDestroy {
16
16
  /** PROPERTY */
@@ -121,6 +121,7 @@ export declare class LibsUiComponentsTableComponent implements OnInit, OnDestroy
121
121
  private cdr;
122
122
  constructor();
123
123
  ngOnInit(): void;
124
+ get FunctionsControl(): ITableFunctionControlEvent;
124
125
  protected getIndexRow: (data: {
125
126
  value: TYPE_ITEM_DATA_TABLE;
126
127
  }) => import("rxjs").Observable<number>;