@unipin/angular-applet 18.1.5 → 18.2.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.
@@ -0,0 +1,15 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfiniteScrollDirective implements OnInit, AfterViewInit, OnDestroy {
4
+ protected readonly element: ElementRef;
5
+ threshold: number;
6
+ rootMargin: string;
7
+ readonly onScrollThreshold: EventEmitter<boolean>;
8
+ protected observer: IntersectionObserver;
9
+ constructor(element: ElementRef);
10
+ ngOnInit(): void;
11
+ ngAfterViewInit(): void;
12
+ ngOnDestroy(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InfiniteScrollDirective, "[upInfiniteScroll]", never, { "threshold": { "alias": "threshold"; "required": false; }; "rootMargin": { "alias": "rootMargin"; "required": false; }; }, { "onScrollThreshold": "onScrollThreshold"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,2 @@
1
+ export { InfiniteScrollDirective } from './directive/infinite-scroll.directive';
2
+ export { InfiniteScrollComponent } from './infinite-scroll.component';
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfiniteScrollComponent {
4
+ loadingText?: string;
5
+ threshold: number;
6
+ rootMargin: string;
7
+ loadingIcon: 'bubbles' | 'circles' | 'circular' | 'crescent' | 'dots' | 'lines' | 'lines-sharp' | 'lines-sharp-small' | 'lines-small';
8
+ onScrollThreshold: EventEmitter<void>;
9
+ scroll(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfiniteScrollComponent, "up-infinite-scroll", never, { "loadingText": { "alias": "loadingText"; "required": false; }; "threshold": { "alias": "threshold"; "required": false; }; "rootMargin": { "alias": "rootMargin"; "required": false; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; }; }, { "onScrollThreshold": "onScrollThreshold"; }, never, never, true, never>;
12
+ }
@@ -7,4 +7,11 @@ export interface User {
7
7
  mobileNumber?: string | null;
8
8
  name: string;
9
9
  photo: string;
10
+ roles: {
11
+ guid: string;
12
+ code: string;
13
+ name: string;
14
+ status: string;
15
+ isInternal: boolean;
16
+ }[];
10
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unipin/angular-applet",
3
- "version": "18.1.5",
3
+ "version": "18.2.1",
4
4
  "sideEffects": false,
5
5
  "homepage": "https://backoffice.unipin.com/",
6
6
  "description": "Angular specific wrappers for UniPin applet",
package/public-api.d.ts CHANGED
@@ -1,4 +1,5 @@
1
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, TabGroupComponent, TabContentComponent, TabsComponentModule, AuditListComponent, AuditDetailComponent, ApprovalListComponent, ApprovalDetailComponent } from './lib/components';
2
+ export { InfiniteScrollDirective, InfiniteScrollComponent } from './lib/components/infinite-scroll';
2
3
  export { AuthGuard } from './lib/guards';
3
4
  export { HeaderInterceptor, RefreshTokenInterceptor } from './lib/interceptors';
4
5
  export { User } from './lib/interfaces';