tin-spa 2.2.3 → 2.3.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 (108) hide show
  1. package/esm2020/lib/components/accounts/accountDialog.component.mjs +2 -2
  2. package/esm2020/lib/components/accounts/accounts.component.mjs +2 -2
  3. package/esm2020/lib/components/attach/attach.component.mjs +1 -20
  4. package/esm2020/lib/components/change-password/change-password.component.mjs +2 -2
  5. package/esm2020/lib/components/create-account/create-account.component.mjs +2 -2
  6. package/esm2020/lib/components/customers/customers.component.mjs +2 -2
  7. package/esm2020/lib/components/date/date.component.mjs +23 -16
  8. package/esm2020/lib/components/departments/departments.component.mjs +6 -26
  9. package/esm2020/lib/components/employees/employees.component.mjs +10 -53
  10. package/esm2020/lib/components/form/form.component.mjs +2 -2
  11. package/esm2020/lib/components/inventory/inventory.component.mjs +2 -2
  12. package/esm2020/lib/components/inventory/quantityDialog.component.mjs +2 -2
  13. package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +2 -2
  14. package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +2 -2
  15. package/esm2020/lib/components/login/login.component.mjs +2 -2
  16. package/esm2020/lib/components/logs/logs.component.mjs +2 -2
  17. package/esm2020/lib/components/membership/membership.component.mjs +2 -2
  18. package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +2 -2
  19. package/esm2020/lib/components/plans/plans.component.mjs +2 -2
  20. package/esm2020/lib/components/positions/positions.component.mjs +13 -6
  21. package/esm2020/lib/components/profile/profile.component.mjs +2 -2
  22. package/esm2020/lib/components/recover-account/recover-account.component.mjs +2 -2
  23. package/esm2020/lib/components/roles/addRoleDialog.component.mjs +2 -2
  24. package/esm2020/lib/components/roles/roles.component.mjs +2 -2
  25. package/esm2020/lib/components/settings/settings.component.mjs +2 -2
  26. package/esm2020/lib/components/signup/signup.component.mjs +2 -2
  27. package/esm2020/lib/components/suppliers/suppliers.component.mjs +2 -2
  28. package/esm2020/lib/components/table/detailsDialog.component.mjs +72 -142
  29. package/esm2020/lib/components/table/table.component.mjs +151 -333
  30. package/esm2020/lib/components/table-action/table-action.component.mjs +46 -0
  31. package/esm2020/lib/components/table-header/table-header.component.mjs +52 -0
  32. package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +78 -139
  33. package/esm2020/lib/components/table-internal/table-internal.component.mjs +153 -334
  34. package/esm2020/lib/components/table-row/table-row.component.mjs +58 -0
  35. package/esm2020/lib/components/tasks/tasks.component.mjs +2 -2
  36. package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +2 -2
  37. package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +2 -2
  38. package/esm2020/lib/components/tenants/tenants.component.mjs +2 -2
  39. package/esm2020/lib/components/tiles/tiles.component.mjs +2 -2
  40. package/esm2020/lib/components/transactions/transactDialog.component.mjs +2 -2
  41. package/esm2020/lib/components/transactions/transactions.component.mjs +2 -2
  42. package/esm2020/lib/components/users/users.component.mjs +2 -2
  43. package/esm2020/lib/components/viewer/viewer.component.mjs +2 -2
  44. package/esm2020/lib/components/welcome/welcome.component.mjs +2 -2
  45. package/esm2020/lib/services/button.service.mjs +100 -0
  46. package/esm2020/lib/services/condition.service.mjs +32 -0
  47. package/esm2020/lib/services/datalib.service.mjs +387 -0
  48. package/esm2020/lib/services/dialog.service.mjs +38 -0
  49. package/esm2020/lib/services/table-config.service.mjs +26 -0
  50. package/esm2020/lib/tin-spa.module.mjs +6 -3
  51. package/esm2020/public-api.mjs +3 -2
  52. package/fesm2015/tin-spa.mjs +963 -1075
  53. package/fesm2015/tin-spa.mjs.map +1 -1
  54. package/fesm2020/tin-spa.mjs +970 -1070
  55. package/fesm2020/tin-spa.mjs.map +1 -1
  56. package/lib/components/accounts/accountDialog.component.d.ts +1 -1
  57. package/lib/components/accounts/accounts.component.d.ts +1 -1
  58. package/lib/components/attach/attach.component.d.ts +0 -19
  59. package/lib/components/change-password/change-password.component.d.ts +1 -1
  60. package/lib/components/create-account/create-account.component.d.ts +1 -1
  61. package/lib/components/customers/customers.component.d.ts +1 -1
  62. package/lib/components/date/date.component.d.ts +10 -9
  63. package/lib/components/departments/departments.component.d.ts +2 -5
  64. package/lib/components/employees/employees.component.d.ts +3 -14
  65. package/lib/components/form/form.component.d.ts +1 -1
  66. package/lib/components/inventory/inventory.component.d.ts +1 -1
  67. package/lib/components/inventory/quantityDialog.component.d.ts +1 -1
  68. package/lib/components/invitations-table/invitations-table.component.d.ts +1 -1
  69. package/lib/components/list-dialog/list-dialog.component.d.ts +1 -1
  70. package/lib/components/login/login.component.d.ts +1 -1
  71. package/lib/components/logs/logs.component.d.ts +1 -1
  72. package/lib/components/membership/membership.component.d.ts +1 -1
  73. package/lib/components/nav-menu/nav-menu.component.d.ts +1 -1
  74. package/lib/components/plans/plans.component.d.ts +1 -1
  75. package/lib/components/positions/positions.component.d.ts +5 -1
  76. package/lib/components/profile/profile.component.d.ts +1 -1
  77. package/lib/components/recover-account/recover-account.component.d.ts +1 -1
  78. package/lib/components/roles/addRoleDialog.component.d.ts +1 -1
  79. package/lib/components/roles/roles.component.d.ts +1 -1
  80. package/lib/components/settings/settings.component.d.ts +1 -1
  81. package/lib/components/signup/signup.component.d.ts +1 -1
  82. package/lib/components/suppliers/suppliers.component.d.ts +1 -1
  83. package/lib/components/table/detailsDialog.component.d.ts +11 -4
  84. package/lib/components/table/table.component.d.ts +28 -15
  85. package/lib/components/table-action/table-action.component.d.ts +22 -0
  86. package/lib/components/table-header/table-header.component.d.ts +22 -0
  87. package/lib/components/table-internal/detailsDialog-internal.component.d.ts +16 -6
  88. package/lib/components/table-internal/table-internal.component.d.ts +28 -15
  89. package/lib/components/table-row/table-row.component.d.ts +28 -0
  90. package/lib/components/tasks/tasks.component.d.ts +1 -1
  91. package/lib/components/tenant-settings/inviteDialog.component.d.ts +1 -1
  92. package/lib/components/tenant-settings/tenant-settings.component.d.ts +1 -1
  93. package/lib/components/tenants/tenants.component.d.ts +1 -1
  94. package/lib/components/tiles/tiles.component.d.ts +1 -1
  95. package/lib/components/transactions/transactDialog.component.d.ts +1 -1
  96. package/lib/components/transactions/transactions.component.d.ts +1 -1
  97. package/lib/components/users/users.component.d.ts +1 -1
  98. package/lib/components/viewer/viewer.component.d.ts +1 -1
  99. package/lib/components/welcome/welcome.component.d.ts +1 -1
  100. package/lib/services/button.service.d.ts +27 -0
  101. package/lib/services/condition.service.d.ts +10 -0
  102. package/lib/services/{data.service.d.ts → datalib.service.d.ts} +15 -1
  103. package/lib/services/dialog.service.d.ts +18 -0
  104. package/lib/services/table-config.service.d.ts +8 -0
  105. package/lib/tin-spa.module.d.ts +8 -5
  106. package/package.json +1 -1
  107. package/public-api.d.ts +2 -1
  108. package/esm2020/lib/services/data.service.mjs +0 -236
@@ -4,21 +4,35 @@ import { MatPaginator } from '@angular/material/paginator';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { MatDialog } from '@angular/material/dialog';
6
6
  import { BreakpointObserver } from '@angular/cdk/layout';
7
- import { DataServiceLib } from '../../services/data.service';
7
+ import { DataServiceLib } from '../../services/datalib.service';
8
8
  import { Subject } from 'rxjs';
9
+ import { ButtonService } from '../../services/button.service';
10
+ import { DialogService } from '../../services/dialog.service';
11
+ import { TableConfigService } from '../../services/table-config.service';
12
+ import { ConditionService } from '../../services/condition.service';
9
13
  import * as i0 from "@angular/core";
10
14
  export declare class TableInternalComponent implements OnInit {
11
15
  private dataService;
12
16
  private messageService;
13
17
  private breakpointObserver;
14
18
  dialog: MatDialog;
15
- constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog);
19
+ private buttonService;
20
+ private dialogService;
21
+ private tableConfigService;
22
+ private conditionService;
23
+ constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService);
16
24
  ngOnInit(): void;
25
+ ngOnChanges(): void;
17
26
  elevation: string;
18
27
  actionsWidth: string;
19
28
  showFilterButton: boolean;
20
29
  tileReload: Subject<boolean>;
21
- ngOnChanges(): void;
30
+ smallScreen: boolean;
31
+ createButton: Button;
32
+ tableDataSource: any;
33
+ dataSource: any[];
34
+ displayedColumns: any[];
35
+ displayedButtons: any[];
22
36
  tablePaginator: MatPaginator;
23
37
  hideTitle: boolean;
24
38
  data: any;
@@ -30,13 +44,11 @@ export declare class TableInternalComponent implements OnInit {
30
44
  createClick: EventEmitter<any>;
31
45
  actionClick: EventEmitter<any>;
32
46
  inputChange: EventEmitter<any>;
47
+ private initializeComponent;
48
+ private updateTableConfiguration;
49
+ private setupDataLoading;
50
+ loadData(action: Action, data: any): void;
33
51
  inputChanged(event: any): void;
34
- smallScreen: boolean;
35
- createButton: Button;
36
- tableDataSource: any;
37
- dataSource: any[];
38
- displayedColumns: any[];
39
- displayedButtons: any[];
40
52
  formDefaults(): void;
41
53
  setColumns(): void;
42
54
  setButtons(): void;
@@ -44,26 +56,27 @@ export declare class TableInternalComponent implements OnInit {
44
56
  getIcon(buttonName: string): string;
45
57
  getButtonColor(button: Button, row: any): string;
46
58
  getOptions(column: any): Column;
47
- getColor(v: any, options: any): any;
48
- testIconCondition(value: any, icon: Icon): boolean;
49
- testColorCondition(value: any, color: Color): boolean;
50
- showBanner(message: any): void;
59
+ getColor(value: any, options: any[]): string;
60
+ testIconCondition(row: any, icon: Icon): boolean;
61
+ testColorCondition(row: any, color: Color): boolean;
62
+ showBanner(message: string): void;
51
63
  testDisabled(row: any, buttonName: string): boolean;
52
64
  testVisible(row: any, buttonName: string): boolean;
53
- loadData(action: Action, data: any): void;
54
65
  searchClicked(x: any): void;
55
66
  refreshClicked(): void;
56
67
  dataLoaded(x: any): void;
57
- actionClicked(name: any, row: any): void;
68
+ actionClicked(name: string, row: any): void;
58
69
  columnClicked(column: Column, row: any): void;
59
70
  customModel(name: any, row: any): void;
60
71
  actionClickedEmit(name: any, row: any): void;
61
72
  viewModel(row: any): void;
62
73
  newModel(): void;
63
74
  editModel(row: any): void;
75
+ private openDetailsDialog;
64
76
  deleteModel(row: any): void;
65
77
  doAction(buttonName: string, row: any): void;
66
78
  execAction(b: Button, row: any): void;
79
+ private getElevationClass;
67
80
  static ɵfac: i0.ɵɵFactoryDeclaration<TableInternalComponent, never>;
68
81
  static ɵcmp: i0.ɵɵComponentDeclaration<TableInternalComponent, "spa-table-internal", never, { "hideTitle": "hideTitle"; "data": "data"; "config": "config"; "reload": "reload"; }, { "dataLoad": "dataLoad"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; }, never, never, false>;
69
82
  }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Column, TableConfig, Icon } from '../../classes/Classes';
3
+ import { ButtonService } from '../../services/button.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TableRowComponent {
6
+ private buttonService;
7
+ column: Column;
8
+ row: any;
9
+ config: TableConfig;
10
+ actionClick: EventEmitter<{
11
+ name: string;
12
+ row: any;
13
+ }>;
14
+ columnClick: EventEmitter<{
15
+ column: Column;
16
+ row: any;
17
+ }>;
18
+ showBannerEvent: EventEmitter<string>;
19
+ constructor(buttonService: ButtonService);
20
+ testIconCondition(row: any, icon: Icon): boolean;
21
+ testColorCondition(row: any, color: any): boolean;
22
+ getColor(value: any, options: any[]): string;
23
+ onActionClick(name: string, row: any): void;
24
+ onColumnClick(column: Column, row: any): void;
25
+ showBanner(message: string): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "app-table-row", never, { "column": "column"; "row": "row"; "config": "config"; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false>;
28
+ }
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DataServiceLib } from '../../services/data.service';
2
+ import { DataServiceLib } from '../../services/datalib.service';
3
3
  import { FormConfig, TableConfig } from '../../classes/Classes';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { AuthService } from '../../services/auth.service';
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { MessageService } from "../../services/message.service";
4
- import { DataServiceLib } from "../../services/data.service";
4
+ import { DataServiceLib } from "../../services/datalib.service";
5
5
  import { LoaderService } from "../../services/loader.service";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class inviteDialog implements OnInit {
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormConfig, TableConfig } from '../../classes/Classes';
3
- import { DataServiceLib } from '../../services/data.service';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { AuthService } from '../../services/auth.service';
6
6
  import { MatDialog } from '@angular/material/dialog';
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DataServiceLib } from '../../services/data.service';
2
+ import { DataServiceLib } from '../../services/datalib.service';
3
3
  import { FormConfig, TableConfig } from '../../classes/Classes';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { AuthService } from '../../services/auth.service';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { Action, Tile, TileConfig } from '../../classes/Classes';
3
- import { DataServiceLib } from '../../services/data.service';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { Subject } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
- import { DataServiceLib } from '../../services/data.service';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { Transaction } from '../../classes/Classes';
6
6
  import { LoaderService } from '../../services/loader.service';
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DataServiceLib } from '../../services/data.service';
2
+ import { DataServiceLib } from '../../services/datalib.service';
3
3
  import { TableConfig } from '../../classes/Classes';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { Subject } from 'rxjs';
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from "@angular/core";
2
2
  import { MatPaginator } from "@angular/material/paginator";
3
3
  import { MatDialog } from "@angular/material/dialog";
4
- import { DataServiceLib } from "../../services/data.service";
4
+ import { DataServiceLib } from "../../services/datalib.service";
5
5
  import { Router } from "@angular/router";
6
6
  import { MessageService } from "../../services/message.service";
7
7
  import { AuthService } from "../../services/auth.service";
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { MatDialog } from '@angular/material/dialog';
3
- import { DataServiceLib } from '../../services/data.service';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
4
  import { Action } from '../../classes/Classes';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ViewerComponent implements OnInit {
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { TableConfig } from '../../classes/Classes';
3
3
  import { AuthService } from '../../services/auth.service';
4
- import { DataServiceLib } from '../../services/data.service';
4
+ import { DataServiceLib } from '../../services/datalib.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class WelcomeComponent implements OnInit {
7
7
  dataService: DataServiceLib;
@@ -0,0 +1,27 @@
1
+ import { Button, TableConfig } from '../classes/Classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonService {
4
+ getButton(buttons: Button[], name: string): Button | null;
5
+ getButtonProperties(button: Button, row: any, config: TableConfig): {
6
+ color: string;
7
+ icon: string;
8
+ disabled: boolean;
9
+ visible: boolean;
10
+ tip: string;
11
+ };
12
+ getButtonColor(button: Button, row: any): string;
13
+ isButtonDisabled(button: Button, row: any): boolean;
14
+ isButtonVisible(button: Button, row: any, isLoadComplete: boolean): boolean;
15
+ getTitleAction(mode: string, buttons: Button[]): string;
16
+ isTabVisible(tableConfig: TableConfig): boolean;
17
+ getIcon(button: Button, config: TableConfig): string;
18
+ testDisabled(button: Button, row: any): boolean;
19
+ testVisible(button: Button, row: any): boolean;
20
+ private getDefaultColor;
21
+ private getDefaultIcon;
22
+ getCreateButton(buttons: Button[]): Button | undefined;
23
+ getDisplayedButtons(buttons: Button[], isSmallScreen: boolean, minButtons?: string[]): Button[];
24
+ getActionsWidth(buttons: Button[]): string;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<ButtonService>;
27
+ }
@@ -0,0 +1,10 @@
1
+ import { Icon, Color } from '../classes/Classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ConditionService {
4
+ testIconCondition(icon: Icon, row: any): boolean;
5
+ testColorCondition(color: Color, row: any): boolean;
6
+ getColor(value: any, options: any[]): string;
7
+ testCondition(condition: (value: any) => boolean, value: any): boolean;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConditionService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConditionService>;
10
+ }
@@ -1,4 +1,4 @@
1
- import { Action, AppConfig, CapItem, User } from '../classes/Classes';
1
+ import { Action, AppConfig, Button, CapItem, FormConfig, TableConfig, User } from '../classes/Classes';
2
2
  import { Observable } from 'rxjs';
3
3
  import { HttpService } from './http.service';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
@@ -35,6 +35,20 @@ export declare class DataServiceLib {
35
35
  capGrades: CapItem;
36
36
  tmpProfileuserName: string;
37
37
  isProcessing: boolean;
38
+ loadEmployeesMeta(): void;
39
+ genders: {
40
+ name: string;
41
+ value: number;
42
+ }[];
43
+ employeeFormConfig: FormConfig;
44
+ employeeTableConfig: TableConfig;
45
+ loadPositionMeta(): void;
46
+ positionFormConfig: FormConfig;
47
+ editPositionButton: Button;
48
+ positionTableConfig: TableConfig;
49
+ departmentFormConfig: FormConfig;
50
+ editDepartmentButton: Button;
51
+ departmentTableConfig: TableConfig;
38
52
  CallApi(action: Action, data?: any): Observable<any>;
39
53
  CheckWelcomed(path?: string): void;
40
54
  Navigate(path: string): void;
@@ -0,0 +1,18 @@
1
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
+ import { Observable } from 'rxjs';
3
+ import { DetailsDialogConfig } from '../classes/Classes';
4
+ import { BreakpointObserver } from '@angular/cdk/layout';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DialogService {
7
+ private dialog;
8
+ private breakpointObserver;
9
+ private smallScreen;
10
+ constructor(dialog: MatDialog, breakpointObserver: BreakpointObserver);
11
+ openDetailsDialog<T>(config: DetailsDialogConfig, dialogComponent: new (...args: any[]) => T): {
12
+ afterClosed: Observable<any>;
13
+ inputChange: Observable<any>;
14
+ dialogRef: MatDialogRef<T>;
15
+ };
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
18
+ }
@@ -0,0 +1,8 @@
1
+ import { Button, TableConfig } from '../classes/Classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TableConfigService {
4
+ setColumns(config: TableConfig, smallScreen: boolean): string[];
5
+ getActionsWidth(buttons: Button[]): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableConfigService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<TableConfigService>;
8
+ }
@@ -51,12 +51,15 @@ import * as i49 from "./components/welcome/welcome.component";
51
51
  import * as i50 from "./components/invitations/invitations.component";
52
52
  import * as i51 from "./components/notifications/notifications.component";
53
53
  import * as i52 from "./components/invitations-table/invitations-table.component";
54
- import * as i53 from "./modules/spa-mat.module";
55
- import * as i54 from "@angular/common/http";
56
- import * as i55 from "./components/money/currency-input-mask.module";
57
- import * as i56 from "ngx-doc-viewer";
54
+ import * as i53 from "./components/table-header/table-header.component";
55
+ import * as i54 from "./components/table-row/table-row.component";
56
+ import * as i55 from "./components/table-action/table-action.component";
57
+ import * as i56 from "./modules/spa-mat.module";
58
+ import * as i57 from "@angular/common/http";
59
+ import * as i58 from "./components/money/currency-input-mask.module";
60
+ import * as i59 from "ngx-doc-viewer";
58
61
  export declare class TinSpaModule {
59
62
  static ɵfac: i0.ɵɵFactoryDeclaration<TinSpaModule, never>;
60
- static ɵmod: i0.ɵɵNgModuleDeclaration<TinSpaModule, [typeof i1.TinSpaComponent, typeof i2.TextComponent, typeof i3.CheckComponent, typeof i4.DateComponent, typeof i5.DatetimeComponent, typeof i6.LabelComponent, typeof i7.SelectComponent, typeof i8.ActivityComponent, typeof i9.FilterComponent, typeof i10.messageDialog, typeof i11.MoneyComponent, typeof i12.OptionComponent, typeof i13.TilesComponent, typeof i14.StepsComponent, typeof i15.AttachComponent, typeof i16.ChipsComponent, typeof i17.LoaderComponent, typeof i18.NavMenuComponent, typeof i19.TableComponent, typeof i20.TableInternalComponent, typeof i21.DetailsDialog, typeof i22.DetailsDialogInternal, typeof i23.FormComponent, typeof i24.CamelToWordsPipe, typeof i25.NumberComponent, typeof i26.SearchComponent, typeof i27.ViewerComponent, typeof i28.viewerDialog, typeof i29.TenantSettingsComponent, typeof i30.inviteDialog, typeof i31.TenantsComponent, typeof i32.BugComponent, typeof i33.MembershipComponent, typeof i34.PlansComponent, typeof i35.CustomersComponent, typeof i36.InventoryComponent, typeof i37.quantityDialog, typeof i38.AccountsComponent, typeof i39.accountDialog, typeof i40.SuppliersComponent, typeof i41.TransactionsComponent, typeof i42.transactDialog, typeof i43.ListDialogComponent, typeof i44.TasksComponent, typeof i45.DepartmentsComponent, typeof i46.EmployeesComponent, typeof i47.PositionsComponent, typeof i48.GradesComponent, typeof i49.WelcomeComponent, typeof i50.InvitationsComponent, typeof i51.NotificationsComponent, typeof i52.InvitationsTableComponent], [typeof i53.SpaMatModule, typeof i54.HttpClientModule, typeof i55.CurrencyInputModule, typeof i56.NgxDocViewerModule], [typeof i1.TinSpaComponent, typeof i53.SpaMatModule, typeof i2.TextComponent, typeof i10.messageDialog, typeof i18.NavMenuComponent, typeof i17.LoaderComponent, typeof i13.TilesComponent, typeof i4.DateComponent, typeof i7.SelectComponent, typeof i5.DatetimeComponent, typeof i3.CheckComponent, typeof i15.AttachComponent, typeof i11.MoneyComponent, typeof i16.ChipsComponent, typeof i8.ActivityComponent, typeof i12.OptionComponent, typeof i6.LabelComponent, typeof i14.StepsComponent, typeof i9.FilterComponent, typeof i19.TableComponent, typeof i21.DetailsDialog, typeof i23.FormComponent, typeof i25.NumberComponent, typeof i26.SearchComponent, typeof i27.ViewerComponent, typeof i28.viewerDialog, typeof i43.ListDialogComponent, typeof i35.CustomersComponent, typeof i38.AccountsComponent, typeof i36.InventoryComponent, typeof i40.SuppliersComponent, typeof i41.TransactionsComponent, typeof i43.ListDialogComponent, typeof i44.TasksComponent, typeof i45.DepartmentsComponent, typeof i46.EmployeesComponent, typeof i47.PositionsComponent, typeof i48.GradesComponent, typeof i49.WelcomeComponent]>;
63
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TinSpaModule, [typeof i1.TinSpaComponent, typeof i2.TextComponent, typeof i3.CheckComponent, typeof i4.DateComponent, typeof i5.DatetimeComponent, typeof i6.LabelComponent, typeof i7.SelectComponent, typeof i8.ActivityComponent, typeof i9.FilterComponent, typeof i10.messageDialog, typeof i11.MoneyComponent, typeof i12.OptionComponent, typeof i13.TilesComponent, typeof i14.StepsComponent, typeof i15.AttachComponent, typeof i16.ChipsComponent, typeof i17.LoaderComponent, typeof i18.NavMenuComponent, typeof i19.TableComponent, typeof i20.TableInternalComponent, typeof i21.DetailsDialog, typeof i22.DetailsDialogInternal, typeof i23.FormComponent, typeof i24.CamelToWordsPipe, typeof i25.NumberComponent, typeof i26.SearchComponent, typeof i27.ViewerComponent, typeof i28.viewerDialog, typeof i29.TenantSettingsComponent, typeof i30.inviteDialog, typeof i31.TenantsComponent, typeof i32.BugComponent, typeof i33.MembershipComponent, typeof i34.PlansComponent, typeof i35.CustomersComponent, typeof i36.InventoryComponent, typeof i37.quantityDialog, typeof i38.AccountsComponent, typeof i39.accountDialog, typeof i40.SuppliersComponent, typeof i41.TransactionsComponent, typeof i42.transactDialog, typeof i43.ListDialogComponent, typeof i44.TasksComponent, typeof i45.DepartmentsComponent, typeof i46.EmployeesComponent, typeof i47.PositionsComponent, typeof i48.GradesComponent, typeof i49.WelcomeComponent, typeof i50.InvitationsComponent, typeof i51.NotificationsComponent, typeof i52.InvitationsTableComponent, typeof i53.TableHeaderComponent, typeof i54.TableRowComponent, typeof i55.TableActionComponent], [typeof i56.SpaMatModule, typeof i57.HttpClientModule, typeof i58.CurrencyInputModule, typeof i59.NgxDocViewerModule], [typeof i1.TinSpaComponent, typeof i56.SpaMatModule, typeof i2.TextComponent, typeof i10.messageDialog, typeof i18.NavMenuComponent, typeof i17.LoaderComponent, typeof i13.TilesComponent, typeof i4.DateComponent, typeof i7.SelectComponent, typeof i5.DatetimeComponent, typeof i3.CheckComponent, typeof i15.AttachComponent, typeof i11.MoneyComponent, typeof i16.ChipsComponent, typeof i8.ActivityComponent, typeof i12.OptionComponent, typeof i6.LabelComponent, typeof i14.StepsComponent, typeof i9.FilterComponent, typeof i19.TableComponent, typeof i21.DetailsDialog, typeof i23.FormComponent, typeof i25.NumberComponent, typeof i26.SearchComponent, typeof i27.ViewerComponent, typeof i28.viewerDialog, typeof i43.ListDialogComponent, typeof i35.CustomersComponent, typeof i38.AccountsComponent, typeof i36.InventoryComponent, typeof i40.SuppliersComponent, typeof i41.TransactionsComponent, typeof i43.ListDialogComponent, typeof i44.TasksComponent, typeof i45.DepartmentsComponent, typeof i46.EmployeesComponent, typeof i47.PositionsComponent, typeof i48.GradesComponent, typeof i49.WelcomeComponent]>;
61
64
  static ɵinj: i0.ɵɵInjectorDeclaration<TinSpaModule>;
62
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tin-spa",
3
- "version": "2.2.3",
3
+ "version": "2.3.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0"
package/public-api.d.ts CHANGED
@@ -3,10 +3,11 @@ export * from './lib/services/storage.service';
3
3
  export * from './lib/services/message.service';
4
4
  export * from './lib/services/export.service';
5
5
  export * from './lib/services/auth.service';
6
- export * from './lib/services/data.service';
6
+ export * from './lib/services/datalib.service';
7
7
  export * from './lib/services/log.service';
8
8
  export * from './lib/services/http.service';
9
9
  export * from './lib/services/loader.service';
10
+ export * from './lib/services/dialog.service';
10
11
  export * from './lib/classes/Classes';
11
12
  export * from './lib/classes/TinCore';
12
13
  export * from './lib/tin-spa.module';