@unipin/angular-applet 17.4.0 → 18.0.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.
- package/esm2022/lib/components/approval/detail/approval-detail.component.mjs +3 -3
- package/esm2022/lib/components/approval/form/approval-form.component.mjs +3 -3
- package/esm2022/lib/components/approval/list/approval-list.component.mjs +3 -3
- package/esm2022/lib/components/approval/services/approval.service.mjs +3 -3
- package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +3 -3
- package/esm2022/lib/components/audit/list/audit-list.component.mjs +3 -3
- package/esm2022/lib/components/audit/service/audit.service.mjs +3 -3
- package/esm2022/lib/components/buttons/group/btn-group.component.mjs +3 -3
- package/esm2022/lib/components/buttons/loading/btn-loading.component.mjs +3 -3
- package/esm2022/lib/components/containers/applet-container/applet-container.component.mjs +21 -8
- package/esm2022/lib/components/containers/colum-header-container/column-header-container.component.mjs +5 -5
- package/esm2022/lib/components/containers/column-container/column-container.component.mjs +25 -9
- package/esm2022/lib/components/containers/column-container/directives/lazy-route.directive.mjs +3 -3
- package/esm2022/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.mjs +5 -5
- package/esm2022/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.mjs +5 -5
- package/esm2022/lib/components/containers/modal-container/modal-container.component.mjs +9 -8
- package/esm2022/lib/components/filter/filter.component.mjs +5 -5
- package/esm2022/lib/components/forms/currency-input/form-currency-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/date/form-date.component.mjs +3 -3
- package/esm2022/lib/components/forms/image-picker/directives/drag-n-drop.directive.mjs +3 -3
- package/esm2022/lib/components/forms/image-picker/form-image-picker.component.mjs +3 -3
- package/esm2022/lib/components/forms/input/form-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/number/form-number.component.mjs +3 -3
- package/esm2022/lib/components/forms/number/pipes/locale-number.pipe.mjs +3 -3
- package/esm2022/lib/components/forms/password/form-password.component.mjs +3 -3
- package/esm2022/lib/components/forms/searchable-select/form-searchable-select.component.mjs +3 -3
- package/esm2022/lib/components/forms/select/form-select.component.mjs +5 -5
- package/esm2022/lib/components/forms/textarea/form-textarea.component.mjs +3 -3
- package/esm2022/lib/components/grids/grid-pagination/grid-pagination.component.mjs +3 -3
- package/esm2022/lib/components/grids/grid-snapshot/grid-snapshot.component.mjs +3 -3
- package/esm2022/lib/components/grids/services/grid.service.mjs +9 -5
- package/esm2022/lib/components/tabs/tab-content/tab-content.component.mjs +3 -3
- package/esm2022/lib/components/tabs/tab-group/tab-group.component.mjs +3 -3
- package/esm2022/lib/components/tabs/tabs.component.module.mjs +4 -4
- package/esm2022/lib/interceptors/header/header.interceptor.mjs +3 -3
- package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +3 -3
- package/esm2022/lib/modules/permission/directive/permission.directive.mjs +3 -3
- package/esm2022/lib/modules/permission/pages/401/unauthorized.page.mjs +3 -3
- package/esm2022/lib/modules/permission/pages/loading/loading.page.mjs +3 -3
- package/esm2022/lib/modules/permission/permission.module.mjs +4 -4
- package/esm2022/lib/modules/permission/services/permission.service.mjs +3 -3
- package/esm2022/lib/resolvers/auth/auth.resolver.mjs +3 -3
- package/esm2022/lib/services/auth/auth.service.mjs +11 -9
- package/esm2022/lib/services/country/country.service.mjs +3 -3
- package/esm2022/lib/services/currency/currency.service.mjs +3 -3
- package/esm2022/lib/services/profile/profile.service.mjs +3 -3
- package/fesm2022/unipin-angular-applet.mjs +199 -164
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/lib/components/containers/applet-container/applet-container.component.d.ts +6 -2
- package/lib/components/containers/column-container/column-container.component.d.ts +2 -0
- package/lib/components/containers/modal-container/modal-container.component.d.ts +2 -1
- package/lib/components/grids/services/grid.service.d.ts +1 -1
- package/package.json +6 -6
- package/src/assets/scss/grid.scss +9 -0
- package/src/assets/scss/select.scss +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { PermissionService } from '../../../modules';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -16,10 +16,13 @@ export declare class AppletContainerComponent implements OnInit, OnDestroy {
|
|
|
16
16
|
}[];
|
|
17
17
|
version: string;
|
|
18
18
|
};
|
|
19
|
+
protected readonly ch: ChangeDetectorRef;
|
|
19
20
|
protected readonly permissionService: PermissionService;
|
|
20
21
|
isCollapsed: boolean;
|
|
21
22
|
isHidden: boolean[];
|
|
23
|
+
isMenuActive: boolean;
|
|
22
24
|
protected sub: Subscription;
|
|
25
|
+
protected subEvent: Subscription;
|
|
23
26
|
constructor(config: {
|
|
24
27
|
icon: string;
|
|
25
28
|
name: string;
|
|
@@ -32,10 +35,11 @@ export declare class AppletContainerComponent implements OnInit, OnDestroy {
|
|
|
32
35
|
permModule: string;
|
|
33
36
|
}[];
|
|
34
37
|
version: string;
|
|
35
|
-
}, permissionService: PermissionService);
|
|
38
|
+
}, ch: ChangeDetectorRef, permissionService: PermissionService);
|
|
36
39
|
ngOnInit(): void;
|
|
37
40
|
ngOnDestroy(): void;
|
|
38
41
|
toggleSidenav(): void;
|
|
42
|
+
selectMenu(): void;
|
|
39
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppletContainerComponent, never>;
|
|
40
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppletContainerComponent, "up-applet-container", never, {}, {}, never, ["*"], true, never>;
|
|
41
45
|
}
|
|
@@ -9,6 +9,7 @@ export declare class ColumnContainerComponent implements OnDestroy {
|
|
|
9
9
|
visible: boolean;
|
|
10
10
|
route: Route;
|
|
11
11
|
}[];
|
|
12
|
+
colSize: number;
|
|
12
13
|
protected readonly openedArea: {
|
|
13
14
|
[key: string]: number;
|
|
14
15
|
};
|
|
@@ -19,6 +20,7 @@ export declare class ColumnContainerComponent implements OnDestroy {
|
|
|
19
20
|
protected navigate(): void;
|
|
20
21
|
protected next(route: Route): void;
|
|
21
22
|
protected previous(pos: number): void;
|
|
23
|
+
protected checkScreen(): void;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnContainerComponent, never>;
|
|
23
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnContainerComponent, "up-column-container", never, {}, {}, never, never, true, never>;
|
|
24
26
|
}
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ModalContainerComponent implements OnInit {
|
|
5
5
|
protected readonly modalCtrl: ModalController;
|
|
6
6
|
header: string;
|
|
7
|
+
disabled: boolean;
|
|
7
8
|
protected key: string;
|
|
8
9
|
constructor(modalCtrl: ModalController);
|
|
9
10
|
ngOnInit(): void;
|
|
@@ -11,5 +12,5 @@ export declare class ModalContainerComponent implements OnInit {
|
|
|
11
12
|
popState(ev: PopStateEvent): void;
|
|
12
13
|
close(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "up-modal-container", never, { "header": { "alias": "header"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "up-modal-container", never, { "header": { "alias": "header"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
15
16
|
}
|
|
@@ -6,7 +6,7 @@ export declare class GridService {
|
|
|
6
6
|
};
|
|
7
7
|
getApi(id: string): GridApi;
|
|
8
8
|
setApi(id: string, api: GridApi): void;
|
|
9
|
-
refreshGridCache(id: string): void;
|
|
9
|
+
refreshGridCache(id: string, forceRefresh?: boolean): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridService, never>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<GridService>;
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unipin/angular-applet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"homepage": "https://backoffice.unipin.com/",
|
|
6
6
|
"description": "Angular specific wrappers for UniPin applet",
|
|
7
7
|
"peerDependencies": {
|
|
8
8
|
"@angular-architects/module-federation-tools": "17.x.x",
|
|
9
|
-
"@angular/common": "
|
|
10
|
-
"@angular/core": "
|
|
9
|
+
"@angular/common": "18.x.x",
|
|
10
|
+
"@angular/core": "18.x.x",
|
|
11
11
|
"@ionic/angular": "7.x.x",
|
|
12
12
|
"ionicons": "^7.x.x",
|
|
13
13
|
"@apollo/client": "3.x.x",
|
|
14
|
-
"apollo-angular": "
|
|
14
|
+
"apollo-angular": "7.x.x",
|
|
15
15
|
"graphql": "16.x.x"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"tslib": "^2.3.0",
|
|
19
|
-
"angular-split": "
|
|
20
|
-
"@ng-select/ng-select": "
|
|
19
|
+
"angular-split": "17.x.x",
|
|
20
|
+
"@ng-select/ng-select": "13.x.x",
|
|
21
21
|
"@ag-grid-community/core": "31.x.x",
|
|
22
22
|
"@ag-grid-community/angular": "31.x.x",
|
|
23
23
|
"@ag-grid-community/client-side-row-model": "31.x.x",
|
|
@@ -7494,3 +7494,12 @@ input[class^=ag-][type=range]:disabled {
|
|
|
7494
7494
|
.ag-aria-description-container {
|
|
7495
7495
|
display: none;
|
|
7496
7496
|
}
|
|
7497
|
+
|
|
7498
|
+
|
|
7499
|
+
@media (max-width: 767px) {
|
|
7500
|
+
.ag-paging-row-summary-panel { display: none !important; }
|
|
7501
|
+
|
|
7502
|
+
.ag-paging-description {
|
|
7503
|
+
#ag-25-start-page { display: none !important; }
|
|
7504
|
+
}
|
|
7505
|
+
}
|
|
@@ -12,7 +12,7 @@ $ng-select-marked-text: $ng-select-primary-text !default;
|
|
|
12
12
|
|
|
13
13
|
$ng-select-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(0, 126, 255, 0.1) !default;
|
|
14
14
|
$ng-select-placeholder: lighten($ng-select-primary-text, 40) !default;
|
|
15
|
-
$ng-select-height:
|
|
15
|
+
$ng-select-height: 36px !default;
|
|
16
16
|
$ng-select-value-padding-left: 10px !default;
|
|
17
17
|
$ng-select-value-font-size: 0.9em !default;
|
|
18
18
|
// $ng-select-value-text: $ng-select-primary-text !default;
|