@unipin/angular-applet 17.0.4 → 17.0.6

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 (48) hide show
  1. package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +7 -7
  2. package/esm2022/lib/components/audit/list/audit-list.component.mjs +3 -3
  3. package/esm2022/lib/components/audit/service/audit.service.mjs +3 -3
  4. package/esm2022/lib/components/buttons/group/btn-group.component.mjs +3 -3
  5. package/esm2022/lib/components/buttons/loading/btn-loading.component.mjs +3 -3
  6. package/esm2022/lib/components/containers/applet-container/applet-container.component.mjs +5 -5
  7. package/esm2022/lib/components/containers/colum-header-container/column-header-container.component.mjs +3 -3
  8. package/esm2022/lib/components/containers/column-container/column-container.component.mjs +5 -5
  9. package/esm2022/lib/components/containers/column-container/directives/lazyr-route.directive.mjs +3 -3
  10. package/esm2022/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.mjs +3 -3
  11. package/esm2022/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.mjs +3 -3
  12. package/esm2022/lib/components/containers/modal-container/modal-container.component.mjs +3 -3
  13. package/esm2022/lib/components/filter/filter.component.mjs +3 -3
  14. package/esm2022/lib/components/forms/date/form-date.component.mjs +5 -5
  15. package/esm2022/lib/components/forms/input/form-input.component.mjs +3 -3
  16. package/esm2022/lib/components/forms/password/form-password.component.mjs +3 -3
  17. package/esm2022/lib/components/forms/searchable-select/form-searchable-select.component.mjs +3 -3
  18. package/esm2022/lib/components/forms/select/form-select.component.mjs +3 -3
  19. package/esm2022/lib/components/forms/textarea/form-textarea.component.mjs +3 -3
  20. package/esm2022/lib/components/grids/grid-pagination/grid-pagination.component.mjs +10 -8
  21. package/esm2022/lib/components/grids/grid-snapshot/grid-snapshot.component.mjs +8 -8
  22. package/esm2022/lib/components/grids/services/grid.service.mjs +3 -3
  23. package/esm2022/lib/components/tabs/tab-content/tab-content.component.mjs +3 -3
  24. package/esm2022/lib/components/tabs/tab-group/tab-group.component.mjs +3 -3
  25. package/esm2022/lib/components/tabs/tabs.component.module.mjs +4 -4
  26. package/esm2022/lib/interceptors/header/header.interceptor.mjs +3 -3
  27. package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +3 -3
  28. package/esm2022/lib/modules/permission/directive/permission.directive.mjs +3 -3
  29. package/esm2022/lib/modules/permission/pages/401/unauthorized.page.mjs +3 -3
  30. package/esm2022/lib/modules/permission/pages/loading/loading.page.mjs +3 -3
  31. package/esm2022/lib/modules/permission/permission.module.mjs +4 -4
  32. package/esm2022/lib/modules/permission/services/permission.service.mjs +3 -3
  33. package/esm2022/lib/resolvers/auth/auth.resolver.mjs +3 -3
  34. package/esm2022/lib/services/auth/auth.service.mjs +3 -3
  35. package/esm2022/lib/services/country/country.service.mjs +3 -3
  36. package/esm2022/lib/services/currency/currency.service.mjs +44 -0
  37. package/esm2022/lib/services/index.mjs +2 -1
  38. package/esm2022/lib/services/profile/profile.service.mjs +3 -3
  39. package/esm2022/public-api.mjs +2 -2
  40. package/fesm2022/unipin-angular-applet.mjs +167 -125
  41. package/fesm2022/unipin-angular-applet.mjs.map +1 -1
  42. package/lib/components/grids/grid-pagination/grid-pagination.component.d.ts +1 -1
  43. package/lib/components/grids/grid-snapshot/grid-snapshot.component.d.ts +1 -1
  44. package/lib/services/currency/currency.service.d.ts +16 -0
  45. package/lib/services/index.d.ts +1 -0
  46. package/package.json +2 -2
  47. package/public-api.d.ts +1 -1
  48. package/src/assets/scss/grid.scss +4 -2
@@ -22,7 +22,7 @@ export declare class GridPaginationComponent implements OnInit, OnDestroy {
22
22
  ngOnInit(): void;
23
23
  ngOnDestroy(): void;
24
24
  clickRow(data: any): void;
25
- dragColumn({ columnApi }: DragStoppedEvent): void;
25
+ dragColumn({ api }: DragStoppedEvent): void;
26
26
  changeSelected(data: SelectionChangedEvent<any>): void;
27
27
  setDatasource(ev: GridReadyEvent): void;
28
28
  reset(): void;
@@ -25,7 +25,7 @@ export declare class GridSnapshotComponent implements OnInit, OnDestroy {
25
25
  ngOnInit(): void;
26
26
  ngOnDestroy(): void;
27
27
  clickRow(data: any): void;
28
- dragColumn({ columnApi }: DragStoppedEvent): void;
28
+ dragColumn({ api }: DragStoppedEvent): void;
29
29
  changeSelected(data: SelectionChangedEvent<any>): void;
30
30
  setDatasource(ev: GridReadyEvent): void;
31
31
  reset(): void;
@@ -0,0 +1,16 @@
1
+ import { Observable } from 'rxjs';
2
+ import { ApolloQueryResult } from '@apollo/client/core';
3
+ import { Apollo } from 'apollo-angular';
4
+ import { Currency } from '../../../graphql/generated';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CurrencyService {
7
+ protected readonly apollo: Apollo;
8
+ constructor(apollo: Apollo);
9
+ query(): Observable<ApolloQueryResult<{
10
+ webConfigMsCurrency: {
11
+ data: Currency[];
12
+ };
13
+ }>>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<CurrencyService>;
16
+ }
@@ -1,3 +1,4 @@
1
1
  export { AuthService } from './auth/auth.service';
2
+ export { CurrencyService } from './currency/currency.service';
2
3
  export { CountryService } from './country/country.service';
3
4
  export { ProfileService } from './profile/profile.service';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unipin/angular-applet",
3
- "version": "17.0.4",
3
+ "version": "17.0.6",
4
4
  "sideEffects": false,
5
5
  "homepage": "https://backoffice.unipin.com/",
6
6
  "description": "Angular specific wrappers for UniPin applet",
@@ -9,7 +9,7 @@
9
9
  "@angular/common": "17.x.x",
10
10
  "@angular/core": "17.x.x",
11
11
  "@ionic/angular": "7.x.x",
12
- "ionicons": "^7.1.0",
12
+ "ionicons": "^7.x.x",
13
13
  "@apollo/client": "3.x.x",
14
14
  "apollo-angular": "6.x.x",
15
15
  "graphql": "16.x.x"
package/public-api.d.ts CHANGED
@@ -4,7 +4,7 @@ export { HeaderInterceptor, RefreshTokenInterceptor } from './lib/interceptors';
4
4
  export { User } from './lib/interfaces';
5
5
  export { bootstrap, LoadingPage, UnauthorizedPage, PermissionDirective, PermissionGuard, PermissionService, PermissionModule } from './lib/modules';
6
6
  export { AuthResolver } from './lib/resolvers';
7
- export { AuthService, CountryService, ProfileService } from './lib/services';
7
+ export { AuthService, CurrencyService, CountryService, ProfileService } from './lib/services';
8
8
  export { getFormErrorMessage } from './lib/utils';
9
9
  export { GridApi, GridReadyEvent, ICellRendererParams, ValueFormatterParams, SelectionChangedEvent } from '@ag-grid-community/core';
10
10
  export { ICellRendererAngularComp } from '@ag-grid-community/angular';
@@ -431,10 +431,12 @@ ag-grid, ag-grid-angular, ag-grid-ng2, ag-grid-polymer, ag-grid-aurelia {
431
431
 
432
432
  .ag-center-cols-viewport {
433
433
  width: 100%;
434
- height: 100% !important;
435
- overflow-y: auto;
434
+ min-height: 100%;
435
+ overflow: auto;
436
436
  }
437
437
 
438
+ .ag-center-cols-viewport::-webkit-scrollbar { display: none; }
439
+
438
440
  .ag-body-horizontal-scroll-viewport { overflow-x: scroll; }
439
441
 
440
442
  .ag-body-vertical-scroll-viewport { overflow-y: scroll; }