ngx-st-tables 1.1.13 → 1.1.14

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 (34) hide show
  1. package/README.md +24 -24
  2. package/assets/base-collapse-table.scss +49 -49
  3. package/assets/base-table.scss +155 -155
  4. package/esm2020/lib/components/local-table/configurations/configurations.component.mjs +69 -69
  5. package/esm2020/lib/components/local-table/local-table.component.mjs +259 -259
  6. package/esm2020/lib/components/select-table/select-table.component.mjs +101 -100
  7. package/esm2020/lib/models/st-configurations-settings.model.mjs +1 -1
  8. package/esm2020/lib/models/st-global-search-settings.model.mjs +1 -1
  9. package/esm2020/lib/models/st-local-storage-configuration.model.mjs +1 -1
  10. package/esm2020/lib/models/st-local-table-column.model.mjs +1 -1
  11. package/esm2020/lib/models/st-local-table-columns.model.mjs +1 -1
  12. package/esm2020/lib/models/st-table-settings.model.mjs +1 -1
  13. package/esm2020/lib/ngx-st-tables.module.mjs +89 -89
  14. package/esm2020/lib/services/local-table.service.mjs +36 -36
  15. package/esm2020/ngx-st-tables.mjs +4 -4
  16. package/esm2020/public-api.mjs +15 -15
  17. package/fesm2015/ngx-st-tables.mjs +482 -481
  18. package/fesm2015/ngx-st-tables.mjs.map +1 -1
  19. package/fesm2020/ngx-st-tables.mjs +484 -483
  20. package/fesm2020/ngx-st-tables.mjs.map +1 -1
  21. package/index.d.ts +5 -5
  22. package/lib/components/local-table/configurations/configurations.component.d.ts +27 -27
  23. package/lib/components/local-table/local-table.component.d.ts +63 -63
  24. package/lib/components/select-table/select-table.component.d.ts +37 -37
  25. package/lib/models/st-configurations-settings.model.d.ts +6 -6
  26. package/lib/models/st-global-search-settings.model.d.ts +4 -4
  27. package/lib/models/st-local-storage-configuration.model.d.ts +8 -8
  28. package/lib/models/st-local-table-column.model.d.ts +22 -22
  29. package/lib/models/st-local-table-columns.model.d.ts +4 -4
  30. package/lib/models/st-table-settings.model.d.ts +3 -3
  31. package/lib/ngx-st-tables.module.d.ts +24 -24
  32. package/lib/services/local-table.service.d.ts +11 -11
  33. package/package.json +1 -1
  34. package/public-api.d.ts +11 -11
@@ -1,22 +1,22 @@
1
- export interface StLocalTableColumnModel {
2
- translateColumnName: string;
3
- visible: boolean;
4
- type?: 'string' | 'date';
5
- sort?: boolean;
6
- search?: boolean;
7
- searchLabel?: string;
8
- flexRight?: boolean;
9
- width?: string;
10
- actions?: LocalTableActionColumnModel[] | undefined;
11
- translateValue?: {
12
- [value: string]: string;
13
- };
14
- notShowInColumnPick?: boolean;
15
- }
16
- export interface LocalTableActionColumnModel {
17
- iconName: string;
18
- tooltipName?: string;
19
- action?: (row: any) => void;
20
- show?: (row: any) => boolean;
21
- url?: string[];
22
- }
1
+ export interface StLocalTableColumnModel {
2
+ translateColumnName: string;
3
+ visible: boolean;
4
+ type?: 'string' | 'date';
5
+ sort?: boolean;
6
+ search?: boolean;
7
+ searchLabel?: string;
8
+ flexRight?: boolean;
9
+ width?: string;
10
+ actions?: LocalTableActionColumnModel[] | undefined;
11
+ translateValue?: {
12
+ [value: string]: string;
13
+ };
14
+ notShowInColumnPick?: boolean;
15
+ }
16
+ export interface LocalTableActionColumnModel {
17
+ iconName: string;
18
+ tooltipName?: string;
19
+ action?: (row: any) => void;
20
+ show?: (row: any) => boolean;
21
+ url?: string[];
22
+ }
@@ -1,4 +1,4 @@
1
- import { StLocalTableColumnModel } from './st-local-table-column.model';
2
- export interface StLocalTableColumnsModel {
3
- [columnName: string]: StLocalTableColumnModel;
4
- }
1
+ import { StLocalTableColumnModel } from './st-local-table-column.model';
2
+ export interface StLocalTableColumnsModel {
3
+ [columnName: string]: StLocalTableColumnModel;
4
+ }
@@ -1,3 +1,3 @@
1
- export interface StTableSettingsModel {
2
- rowClickAction: (row: any) => void;
3
- }
1
+ export interface StTableSettingsModel {
2
+ rowClickAction: (row: any) => void;
3
+ }
@@ -1,24 +1,24 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./components/local-table/local-table.component";
3
- import * as i2 from "./components/select-table/select-table.component";
4
- import * as i3 from "./components/local-table/configurations/configurations.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/material/button";
7
- import * as i6 from "@angular/material/icon";
8
- import * as i7 from "@angular/material/table";
9
- import * as i8 from "@angular/material/paginator";
10
- import * as i9 from "@angular/material/form-field";
11
- import * as i10 from "@angular/material/input";
12
- import * as i11 from "@angular/material/tooltip";
13
- import * as i12 from "@angular/forms";
14
- import * as i13 from "@angular/router";
15
- import * as i14 from "ngx-st-date-format";
16
- import * as i15 from "@angular/material/sort";
17
- import * as i16 from "@angular/material/menu";
18
- import * as i17 from "@angular/material/select";
19
- import * as i18 from "@angular/material/checkbox";
20
- export declare class StTablesModule {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<StTablesModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<StTablesModule, [typeof i1.LocalTableComponent, typeof i2.SelectTableComponent, typeof i3.ConfigurationsComponent], [typeof i4.CommonModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatTableModule, typeof i8.MatPaginatorModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatTooltipModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.RouterModule, typeof i14.StDateFormatModule, typeof i15.MatSortModule, typeof i16.MatMenuModule, typeof i17.MatSelectModule, typeof i18.MatCheckboxModule], [typeof i1.LocalTableComponent, typeof i2.SelectTableComponent]>;
23
- static ɵinj: i0.ɵɵInjectorDeclaration<StTablesModule>;
24
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/local-table/local-table.component";
3
+ import * as i2 from "./components/select-table/select-table.component";
4
+ import * as i3 from "./components/local-table/configurations/configurations.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/material/button";
7
+ import * as i6 from "@angular/material/icon";
8
+ import * as i7 from "@angular/material/table";
9
+ import * as i8 from "@angular/material/paginator";
10
+ import * as i9 from "@angular/material/form-field";
11
+ import * as i10 from "@angular/material/input";
12
+ import * as i11 from "@angular/material/tooltip";
13
+ import * as i12 from "@angular/forms";
14
+ import * as i13 from "@angular/router";
15
+ import * as i14 from "ngx-st-date-format";
16
+ import * as i15 from "@angular/material/sort";
17
+ import * as i16 from "@angular/material/menu";
18
+ import * as i17 from "@angular/material/select";
19
+ import * as i18 from "@angular/material/checkbox";
20
+ export declare class StTablesModule {
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<StTablesModule, never>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StTablesModule, [typeof i1.LocalTableComponent, typeof i2.SelectTableComponent, typeof i3.ConfigurationsComponent], [typeof i4.CommonModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatTableModule, typeof i8.MatPaginatorModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatTooltipModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.RouterModule, typeof i14.StDateFormatModule, typeof i15.MatSortModule, typeof i16.MatMenuModule, typeof i17.MatSelectModule, typeof i18.MatCheckboxModule], [typeof i1.LocalTableComponent, typeof i2.SelectTableComponent]>;
23
+ static ɵinj: i0.ɵɵInjectorDeclaration<StTablesModule>;
24
+ }
@@ -1,11 +1,11 @@
1
- import { StLocalStorageConfigurationModel } from '../models/st-local-storage-configuration.model';
2
- import * as i0 from "@angular/core";
3
- export declare class LocalTableService {
4
- localStorageName: string;
5
- constructor();
6
- getConfigs(): StLocalStorageConfigurationModel[];
7
- saveConfigs(configs: StLocalStorageConfigurationModel[]): void;
8
- checkLocalStorageName(): boolean;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalTableService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalTableService>;
11
- }
1
+ import { StLocalStorageConfigurationModel } from '../models/st-local-storage-configuration.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LocalTableService {
4
+ localStorageName: string;
5
+ constructor();
6
+ getConfigs(): StLocalStorageConfigurationModel[];
7
+ saveConfigs(configs: StLocalStorageConfigurationModel[]): void;
8
+ checkLocalStorageName(): boolean;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalTableService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalTableService>;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-st-tables",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
package/public-api.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from './lib/services/local-table.service';
2
- export * from './lib/components/local-table/local-table.component';
3
- export * from './lib/components/local-table/configurations/configurations.component';
4
- export * from './lib/components/select-table/select-table.component';
5
- export * from './lib/models/st-configurations-settings.model';
6
- export * from './lib/models/st-global-search-settings.model';
7
- export * from './lib/models/st-local-storage-configuration.model';
8
- export * from './lib/models/st-local-table-column.model';
9
- export * from './lib/models/st-local-table-columns.model';
10
- export * from './lib/models/st-table-settings.model';
11
- export * from './lib/ngx-st-tables.module';
1
+ export * from './lib/services/local-table.service';
2
+ export * from './lib/components/local-table/local-table.component';
3
+ export * from './lib/components/local-table/configurations/configurations.component';
4
+ export * from './lib/components/select-table/select-table.component';
5
+ export * from './lib/models/st-configurations-settings.model';
6
+ export * from './lib/models/st-global-search-settings.model';
7
+ export * from './lib/models/st-local-storage-configuration.model';
8
+ export * from './lib/models/st-local-table-column.model';
9
+ export * from './lib/models/st-local-table-columns.model';
10
+ export * from './lib/models/st-table-settings.model';
11
+ export * from './lib/ngx-st-tables.module';