@den4ik92/ng2-smart-table 19.2.0 → 19.2.1

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.
Files changed (26) hide show
  1. package/fesm2022/den4ik92-ng2-smart-table.mjs +110 -217
  2. package/fesm2022/den4ik92-ng2-smart-table.mjs.map +1 -1
  3. package/lib/components/cell/cell-edit-mode/build-in-editor.component.d.ts +1 -1
  4. package/lib/components/cell/cell-edit-mode/custom-edit.component.d.ts +2 -2
  5. package/lib/components/filter/build-in-filter.component.d.ts +2 -1
  6. package/lib/components/filter/custom-filter.component.d.ts +2 -1
  7. package/lib/components/filter/filter-types/base-filter.component.d.ts +1 -1
  8. package/lib/components/pager/pager.component.d.ts +2 -2
  9. package/lib/components/table-columns-editor/column-editor.directive.d.ts +3 -3
  10. package/lib/components/table-columns-editor/table-columns-editor.component.d.ts +3 -3
  11. package/lib/components/tbody/cells/custom.component.d.ts +4 -4
  12. package/lib/components/tbody/cells/edit-delete.component.d.ts +4 -4
  13. package/lib/components/tbody/tbody.component.d.ts +3 -3
  14. package/lib/components/thead/cells/add-button.component.d.ts +2 -2
  15. package/lib/components/thead/cells/column-title.component.d.ts +2 -2
  16. package/lib/components/thead/cells/title/title.component.d.ts +2 -2
  17. package/lib/components/thead/rows/thead-filters-row.component.d.ts +2 -2
  18. package/lib/components/thead/rows/thead-form-row.component.d.ts +3 -3
  19. package/lib/components/thead/rows/thead-titles-row.component.d.ts +2 -2
  20. package/lib/components/thead/thead.component.d.ts +3 -3
  21. package/lib/lib/data-source/local/local.filter.d.ts +1 -1
  22. package/lib/lib/data-source/server/server.data-source.d.ts +1 -1
  23. package/lib/lib/grid.d.ts +1 -1
  24. package/lib/lib/interfaces/smart-table.models.d.ts +1 -1
  25. package/lib/ng2-smart-table.component.d.ts +1 -1
  26. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { BaseEditorComponent } from 'ng2-smart-table';
2
1
  import { SmartTableEditorAndFilterTypes } from '../../../lib/interfaces/smart-table.models';
2
+ import { BaseEditorComponent } from '../cell-editors/base-editor.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BuildInEditorComponent extends BaseEditorComponent {
5
5
  protected readonly editorType: import("@angular/core").Signal<SmartTableEditorAndFilterTypes>;
@@ -1,5 +1,5 @@
1
- import { OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from "@angular/core";
2
- import { BaseEditorComponent } from "ng2-smart-table";
1
+ import { OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';
2
+ import { BaseEditorComponent } from '../cell-editors/base-editor.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class CustomEditComponent extends BaseEditorComponent implements OnChanges, OnDestroy {
5
5
  dynamicTarget?: ViewContainerRef;
@@ -1,4 +1,5 @@
1
- import { Column, DataSource } from 'ng2-smart-table';
1
+ import { Column } from '../../lib/data-set/column';
2
+ import { DataSource } from '../../lib/data-source/data-source';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class BuildInFilterComponent {
4
5
  readonly query: import("@angular/core").InputSignal<unknown>;
@@ -1,5 +1,6 @@
1
1
  import { ComponentRef, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import { Column, DataSource } from 'ng2-smart-table';
2
+ import { Column } from '../../lib/data-set/column';
3
+ import { DataSource } from '../../lib/data-source/data-source';
3
4
  import { BaseFilterComponent, FilterComponent } from './filter-types/base-filter.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CustomFilterComponent implements FilterComponent, OnChanges, OnDestroy {
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter, InputSignal, OnChanges, OnDestroy, OnInit, OutputEmitterRef, SimpleChanges } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
3
  import { UntypedFormControl } from '@angular/forms';
4
- import { DataSource } from 'ng2-smart-table';
5
4
  import { Column } from '../../../lib/data-set/column';
5
+ import { DataSource } from '../../../lib/data-source/data-source';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BaseFilterComponent implements FilterComponent, OnDestroy, OnChanges, OnInit {
8
8
  delay: number;
@@ -1,8 +1,8 @@
1
- import { DataSource } from 'ng2-smart-table';
1
+ import { DataSource } from '../../lib/data-source/data-source';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class PagerComponent {
4
4
  readonly source: import("@angular/core").InputSignal<DataSource<any>>;
5
- protected readonly pagingConf: import("@angular/core").Signal<import("ng2-smart-table").SmartTablePagerSettings>;
5
+ protected readonly pagingConf: import("@angular/core").Signal<import("@den4ik92/ng2-smart-table").SmartTablePagerSettings>;
6
6
  protected readonly currentPerPage: import("@angular/core").Signal<number>;
7
7
  protected readonly currentPage: import("@angular/core").Signal<number>;
8
8
  protected readonly count: import("@angular/core").Signal<number>;
@@ -1,6 +1,6 @@
1
- import { OverlayRef } from "@angular/cdk/overlay";
2
- import { OnDestroy } from "@angular/core";
3
- import { Ng2SmartTableComponent } from "ng2-smart-table";
1
+ import { OverlayRef } from '@angular/cdk/overlay';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { Ng2SmartTableComponent } from '../../ng2-smart-table.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SmartTableColumnEditorDirective implements OnDestroy {
6
6
  readonly tableComponent: import("@angular/core").InputSignal<Ng2SmartTableComponent | undefined>;
@@ -1,6 +1,6 @@
1
- import { CdkDragDrop } from "@angular/cdk/drag-drop";
2
- import { ColumnPositionState } from "ng2-smart-table";
3
- import { Grid } from "../../lib/grid";
1
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
+ import { Grid } from '../../lib/grid';
3
+ import { ColumnPositionState } from '../../lib/interfaces/smart-table.models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TableColumnsEditorComponent {
6
6
  protected infoText: string;
@@ -1,7 +1,7 @@
1
- import { Row } from "../../../lib/data-set/row";
2
- import { DataSource } from "ng2-smart-table";
3
- import { Grid } from "../../../lib/grid";
4
- import { SmartTableCustomAction } from "../../../lib/interfaces/smart-table.models";
1
+ import { Row } from '../../../lib/data-set/row';
2
+ import { DataSource } from '../../../lib/data-source/data-source';
3
+ import { Grid } from '../../../lib/grid';
4
+ import { SmartTableCustomAction } from '../../../lib/interfaces/smart-table.models';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TbodyCustomComponent {
7
7
  grid: Grid;
@@ -1,7 +1,7 @@
1
- import { EventEmitter, OutputEmitterRef } from "@angular/core";
2
- import { DataSource } from "ng2-smart-table";
3
- import { Row } from "../../../lib/data-set/row";
4
- import { Grid } from "../../../lib/grid";
1
+ import { EventEmitter, OutputEmitterRef } from '@angular/core';
2
+ import { Row } from '../../../lib/data-set/row';
3
+ import { DataSource } from '../../../lib/data-source/data-source';
4
+ import { Grid } from '../../../lib/grid';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TbodyEditDeleteComponent {
7
7
  private readonly cdr;
@@ -1,6 +1,6 @@
1
- import { EventEmitter, OutputEmitterRef } from "@angular/core";
2
- import { DataSource } from "ng2-smart-table";
3
- import { Grid } from "../../lib/grid";
1
+ import { EventEmitter, OutputEmitterRef } from '@angular/core';
2
+ import { DataSource } from '../../lib/data-source/data-source';
3
+ import { Grid } from '../../lib/grid';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class Ng2SmartTableTbodyComponent {
6
6
  readonly grid: import("@angular/core").InputSignal<Grid>;
@@ -1,5 +1,5 @@
1
- import { DataSource } from "ng2-smart-table";
2
- import { Grid } from "../../../lib/grid";
1
+ import { DataSource } from '../../../lib/data-source/data-source';
2
+ import { Grid } from '../../../lib/grid';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AddButtonComponent {
5
5
  readonly grid: import("@angular/core").InputSignal<Grid>;
@@ -1,5 +1,5 @@
1
- import { DataSource } from "ng2-smart-table";
2
- import { Column } from "../../../lib/data-set/column";
1
+ import { Column } from '../../../lib/data-set/column';
2
+ import { DataSource } from '../../../lib/data-source/data-source';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ColumnTitleComponent {
5
5
  readonly source: import("@angular/core").InputSignal<DataSource<any>>;
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DataSource } from 'ng2-smart-table';
3
2
  import { Column } from '../../../../lib/data-set/column';
4
- import { SmartTableSortDirection } from './../../../../lib/interfaces/smart-table.models';
3
+ import { DataSource } from '../../../../lib/data-source/data-source';
4
+ import { SmartTableSortDirection } from '../../../../lib/interfaces/smart-table.models';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TitleComponent implements OnInit {
7
7
  readonly source: import("@angular/core").InputSignal<DataSource<any>>;
@@ -1,5 +1,5 @@
1
- import { DataSource } from "ng2-smart-table";
2
- import { Grid } from "../../../lib/grid";
1
+ import { DataSource } from '../../../lib/data-source/data-source';
2
+ import { Grid } from '../../../lib/grid';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TheadFiltersRowComponent {
5
5
  readonly grid: import("@angular/core").InputSignal<Grid>;
@@ -1,6 +1,6 @@
1
- import { EventEmitter, OutputEmitterRef } from "@angular/core";
2
- import { Cell } from "../../../lib/data-set/cell";
3
- import { Grid } from "../../../lib/grid";
1
+ import { EventEmitter, OutputEmitterRef } from '@angular/core';
2
+ import { Cell } from '../../../lib/data-set/cell';
3
+ import { Grid } from '../../../lib/grid';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TheadFormRowComponent {
6
6
  readonly grid: import("@angular/core").InputSignal<Grid>;
@@ -1,5 +1,5 @@
1
- import { DataSource } from "ng2-smart-table";
2
- import { Grid } from "../../../lib/grid";
1
+ import { DataSource } from '../../../lib/data-source/data-source';
2
+ import { Grid } from '../../../lib/grid';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TheadTitlesRowComponent {
5
5
  readonly grid: import("@angular/core").InputSignal<Grid>;
@@ -1,6 +1,6 @@
1
- import { EventEmitter, OutputEmitterRef } from "@angular/core";
2
- import { DataSource } from "ng2-smart-table";
3
- import { Grid } from "../../lib/grid";
1
+ import { EventEmitter, OutputEmitterRef } from '@angular/core';
2
+ import { DataSource } from '../../lib/data-source/data-source';
3
+ import { Grid } from '../../lib/grid';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class Ng2SmartTableTheadComponent {
6
6
  readonly grid: import("@angular/core").InputSignal<Grid>;
@@ -1,2 +1,2 @@
1
- import { SmartTableFilterItem } from 'ng2-smart-table';
1
+ import { SmartTableFilterItem } from "../../interfaces/smart-table.models";
2
2
  export declare function isElementSatisfied<T extends Record<string, unknown>>(element: T, filters: SmartTableFilterItem[]): boolean;
@@ -1,6 +1,6 @@
1
1
  import { HttpParams } from '@angular/common/http';
2
- import { SmartTableFilterItem, SmartTableOnChangedEventToEmit, SmartTablePagerSettings, SmartTableSortItem } from 'ng2-smart-table';
3
2
  import { Observable } from 'rxjs';
3
+ import { SmartTableFilterItem, SmartTableOnChangedEventToEmit, SmartTablePagerSettings, SmartTableSortItem } from '../../interfaces/smart-table.models';
4
4
  import { DataSource } from '../data-source';
5
5
  export type ParamsPrepareFunction = (options: {
6
6
  sort: SmartTableSortItem;
package/lib/lib/grid.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, OutputEmitterRef } from '@angular/core';
2
- import { DataSource } from 'ng2-smart-table';
3
2
  import { DataSet } from './data-set/data-set';
4
3
  import { Row } from './data-set/row';
4
+ import { DataSource } from './data-source/data-source';
5
5
  import { ColumnPositionState, SmartTableSettings } from './interfaces/smart-table.models';
6
6
  export declare class Grid {
7
7
  createFormShown: boolean;
@@ -1,5 +1,5 @@
1
- import { DataSource } from 'ng2-smart-table';
2
1
  import { Cell } from '../data-set/cell';
2
+ import { DataSource } from '../data-source/data-source';
3
3
  import { Deferred } from '../helpers';
4
4
  interface SelectOption {
5
5
  title: string;
@@ -1,6 +1,6 @@
1
1
  import { OnChanges, OnDestroy, SimpleChange } from '@angular/core';
2
- import { DataSource } from 'ng2-smart-table';
3
2
  import { Row } from './lib/data-set/row';
3
+ import { DataSource } from './lib/data-source/data-source';
4
4
  import { Grid } from './lib/grid';
5
5
  import { ColumnPositionState, SmartTableConfirmDeleteEvent, SmartTableConfirmEditEvent, SmartTableCreateConfirm, SmartTableCustomEvent, SmartTableRowClickedEvent, SmartTableRowSelectEvent, SmartTableSettings } from './lib/interfaces/smart-table.models';
6
6
  import * as i0 from "@angular/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@den4ik92/ng2-smart-table",
3
- "version": "19.2.0",
3
+ "version": "19.2.1",
4
4
  "description": "Angular Smart Table",
5
5
  "author": "Den4ik92",
6
6
  "license": "MIT",