@unipin/angular-applet 18.6.7 → 18.6.9
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 +11 -12
- package/esm2022/lib/components/approval/form/approval-form.component.mjs +4 -4
- package/esm2022/lib/components/approval/list/approval-list.component.mjs +4 -4
- package/esm2022/lib/components/approval/services/approval.service.mjs +4 -4
- package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +7 -8
- package/esm2022/lib/components/audit/list/audit-list.component.mjs +4 -4
- package/esm2022/lib/components/audit/service/audit.service.mjs +4 -4
- package/esm2022/lib/components/buttons/group/btn-group.component.mjs +4 -4
- package/esm2022/lib/components/buttons/loading/btn-loading.component.mjs +4 -4
- package/esm2022/lib/components/containers/applet-container/applet-container.component.mjs +4 -4
- package/esm2022/lib/components/containers/colum-header-container/column-header-container.component.mjs +4 -4
- package/esm2022/lib/components/containers/column-container/column-container.component.mjs +5 -5
- package/esm2022/lib/components/containers/column-container/directives/lazy-route.directive.mjs +4 -4
- package/esm2022/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.mjs +4 -4
- package/esm2022/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.mjs +4 -4
- package/esm2022/lib/components/containers/modal-container/modal-container.component.mjs +4 -4
- package/esm2022/lib/components/filter/filter.component.mjs +4 -4
- package/esm2022/lib/components/forms/country-input/form-country-input.component.mjs +5 -5
- package/esm2022/lib/components/forms/currency-input/form-currency-input.component.mjs +5 -5
- package/esm2022/lib/components/forms/date/form-date.component.mjs +4 -4
- package/esm2022/lib/components/forms/image-picker/directives/drag-n-drop.directive.mjs +4 -4
- package/esm2022/lib/components/forms/image-picker/form-image-picker.component.mjs +4 -4
- package/esm2022/lib/components/forms/input/form-input.component.mjs +4 -4
- package/esm2022/lib/components/forms/number/form-number.component.mjs +4 -4
- package/esm2022/lib/components/forms/number/pipes/locale-number.pipe.mjs +4 -4
- package/esm2022/lib/components/forms/password/form-password.component.mjs +4 -4
- package/esm2022/lib/components/forms/searchable-select/form-searchable-select.component.mjs +5 -5
- package/esm2022/lib/components/forms/select/form-select.component.mjs +5 -5
- package/esm2022/lib/components/forms/textarea/form-textarea.component.mjs +4 -4
- package/esm2022/lib/components/grids/grid-pagination/grid-pagination.component.mjs +6 -8
- package/esm2022/lib/components/grids/grid-snapshot/grid-snapshot.component.mjs +6 -8
- package/esm2022/lib/components/grids/services/grid.service.mjs +4 -4
- package/esm2022/lib/components/index.mjs +2 -2
- package/esm2022/lib/components/infinite-scroll/directive/infinite-scroll.directive.mjs +4 -4
- package/esm2022/lib/components/infinite-scroll/infinite-scroll.component.mjs +5 -5
- package/esm2022/lib/components/tabs/index.mjs +1 -2
- package/esm2022/lib/components/tabs/tab-content/tab-content.component.mjs +5 -7
- package/esm2022/lib/components/tabs/tab-group/tab-group.component.mjs +21 -21
- package/esm2022/lib/interceptors/header/header.interceptor.mjs +4 -4
- package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +4 -4
- package/esm2022/lib/modules/permission/directive/permission.directive.mjs +4 -4
- package/esm2022/lib/modules/permission/pages/401/unauthorized.page.mjs +4 -4
- package/esm2022/lib/modules/permission/pages/loading/loading.page.mjs +4 -4
- package/esm2022/lib/modules/permission/permission.module.mjs +5 -5
- package/esm2022/lib/modules/permission/services/permission.service.mjs +4 -4
- package/esm2022/lib/resolvers/auth/auth.resolver.mjs +4 -4
- package/esm2022/lib/services/auth/auth.service.mjs +4 -4
- package/esm2022/lib/services/country/country.service.mjs +4 -4
- package/esm2022/lib/services/currency/currency.service.mjs +4 -4
- package/esm2022/lib/services/profile/profile.service.mjs +4 -4
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/unipin-angular-applet.mjs +180 -209
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/lib/components/approval/detail/approval-detail.component.d.ts +2 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +4 -1
- package/lib/components/tabs/tab-content/tab-content.component.d.ts +1 -1
- package/lib/components/tabs/tab-group/tab-group.component.d.ts +7 -5
- package/package.json +2 -2
- package/public-api.d.ts +1 -1
- package/esm2022/lib/components/tabs/tabs.component.module.mjs +0 -29
- package/lib/components/tabs/tabs.component.module.d.ts +0 -9
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
|
+
import { TabsChangedEvent } from '../../tabs';
|
|
4
5
|
import { ButtonGroupConfig } from '../../buttons/group/interfaces/btn-group-config.interface';
|
|
5
6
|
import { ApprovalFormComponent } from '../form/approval-form.component';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
@@ -18,7 +19,7 @@ export declare class ApprovalDetailComponent implements OnInit, AfterViewInit, O
|
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
ngAfterViewInit(): void;
|
|
20
21
|
ngOnDestroy(): void;
|
|
21
|
-
changeTab(
|
|
22
|
+
changeTab({ fragment }: TabsChangedEvent): void;
|
|
22
23
|
protected setChildGuid(guids: string[]): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalDetailComponent, never>;
|
|
24
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalDetailComponent, "up-approval-detail", never, {}, {}, never, never, true, never>;
|
|
@@ -3,6 +3,6 @@ export { AppletContainerComponent, ColumnContainerComponent, ColumnHeaderContain
|
|
|
3
3
|
export { FilterComponent, FilterConfig, FilterField, FilterSearchEvent } from './filter';
|
|
4
4
|
export { FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent } from './forms';
|
|
5
5
|
export { GridConfig, GridPaginationComponent, GridService, GridSnapshotComponent } from './grids';
|
|
6
|
-
export { TabContentComponent, TabGroupComponent,
|
|
6
|
+
export { TabContentComponent, TabGroupComponent, TabsChangedEvent } from './tabs';
|
|
7
7
|
export { AuditListComponent, AuditDetailComponent } from './audit';
|
|
8
8
|
export { ApprovalListComponent, ApprovalDetailComponent } from './approval';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { TabGroupComponent } from './tab-group/tab-group.component';
|
|
2
2
|
export { TabContentComponent } from './tab-content/tab-content.component';
|
|
3
|
-
export
|
|
3
|
+
export interface TabsChangedEvent {
|
|
4
|
+
index: number;
|
|
5
|
+
fragment: string | null;
|
|
6
|
+
}
|
|
@@ -10,5 +10,5 @@ export declare class TabContentComponent implements AfterContentInit {
|
|
|
10
10
|
ngAfterContentInit(): void;
|
|
11
11
|
toggleVisibility(s?: boolean): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentComponent, [{ attribute: "fragment"; }, null]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabContentComponent, "up-tab-content", never, { "header": { "alias": "header"; "required": false; }; }, {}, ["customHeader"], ["*"],
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabContentComponent, "up-tab-content", never, { "header": { "alias": "header"; "required": false; }; }, {}, ["customHeader"], ["*"], true, never>;
|
|
14
14
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { AfterContentInit,
|
|
1
|
+
import { AfterContentInit, OutputEmitterRef, Signal } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { TabContentComponent } from '../tab-content/tab-content.component';
|
|
4
|
+
import { TabsChangedEvent } from '..';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class TabGroupComponent implements AfterContentInit {
|
|
6
7
|
protected readonly router: Router;
|
|
7
8
|
protected readonly activeRoute: ActivatedRoute;
|
|
8
|
-
readonly onChange:
|
|
9
|
-
|
|
9
|
+
readonly onChange: OutputEmitterRef<TabsChangedEvent>;
|
|
10
|
+
readonly changed: OutputEmitterRef<TabsChangedEvent>;
|
|
11
|
+
readonly content: Signal<readonly TabContentComponent[]>;
|
|
10
12
|
activeFragment: string | null | undefined;
|
|
11
13
|
constructor(router: Router, activeRoute: ActivatedRoute);
|
|
12
14
|
ngAfterContentInit(): void;
|
|
13
|
-
changeTab(f: string | null): void;
|
|
15
|
+
changeTab(f: string | null, i: number): void;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "up-tab-group", never, {}, { "onChange": "onChange"; }, ["content"], ["*"],
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "up-tab-group", never, {}, { "onChange": "onChange"; "changed": "changed"; }, ["content"], ["*"], true, never>;
|
|
16
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unipin/angular-applet",
|
|
3
|
-
"version": "18.6.
|
|
3
|
+
"version": "18.6.9",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"homepage": "https://backoffice.unipin.com/",
|
|
6
6
|
"description": "Angular specific wrappers for UniPin applet",
|
|
@@ -11,7 +11,7 @@
|
|
|
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": "8.x.x",
|
|
15
15
|
"graphql": "16.x.x"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
package/public-api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ButtonGroupConfig, ButtonGroupComponent, ButtonLoadingComponent, FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent, FilterConfig, FilterField, FilterSearchEvent, FilterComponent, GridConfig, GridService, GridPaginationComponent, GridSnapshotComponent, AppletContainerComponent, ColumnContainerComponent, ColumnHeaderContainerComponent, ListContainerConfig, ListPaginationContainerComponent, ListSnapshotContainerComponent, ModalContainerComponent,
|
|
1
|
+
export { ButtonGroupConfig, ButtonGroupComponent, ButtonLoadingComponent, FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent, FilterConfig, FilterField, FilterSearchEvent, FilterComponent, GridConfig, GridService, GridPaginationComponent, GridSnapshotComponent, AppletContainerComponent, ColumnContainerComponent, ColumnHeaderContainerComponent, ListContainerConfig, ListPaginationContainerComponent, ListSnapshotContainerComponent, ModalContainerComponent, TabContentComponent, TabGroupComponent, TabsChangedEvent, AuditListComponent, AuditDetailComponent, ApprovalListComponent, ApprovalDetailComponent } from './lib/components';
|
|
2
2
|
export { InfiniteScrollDirective, InfiniteScrollComponent } from './lib/components/infinite-scroll';
|
|
3
3
|
export { AuthGuard } from './lib/guards';
|
|
4
4
|
export { HeaderInterceptor, RefreshTokenInterceptor } from './lib/interceptors';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { TabGroupComponent } from './tab-group/tab-group.component';
|
|
3
|
-
import { TabContentComponent } from './tab-content/tab-content.component';
|
|
4
|
-
import { IonicModule } from '@ionic/angular';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class TabsComponentModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: TabsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.4", ngImport: i0, type: TabsComponentModule, declarations: [TabGroupComponent,
|
|
9
|
-
TabContentComponent], imports: [IonicModule], exports: [TabGroupComponent,
|
|
10
|
-
TabContentComponent] }); }
|
|
11
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: TabsComponentModule, imports: [IonicModule] }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: TabsComponentModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [
|
|
17
|
-
IonicModule
|
|
18
|
-
],
|
|
19
|
-
declarations: [
|
|
20
|
-
TabGroupComponent,
|
|
21
|
-
TabContentComponent
|
|
22
|
-
],
|
|
23
|
-
exports: [
|
|
24
|
-
TabGroupComponent,
|
|
25
|
-
TabContentComponent
|
|
26
|
-
]
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jb21wb25lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdW5pcGluLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL3RhYnMvdGFicy5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDcEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDMUUsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDOztBQWU3QyxNQUFNLE9BQU8sbU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i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./tab-group/tab-group.component";
|
|
3
|
-
import * as i2 from "./tab-content/tab-content.component";
|
|
4
|
-
import * as i3 from "@ionic/angular";
|
|
5
|
-
export declare class TabsComponentModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponentModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, [typeof i1.TabGroupComponent, typeof i2.TabContentComponent], [typeof i3.IonicModule], [typeof i1.TabGroupComponent, typeof i2.TabContentComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TabsComponentModule>;
|
|
9
|
-
}
|