@resolveio/client-lib-core 21.5.10 → 21.5.12
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import * as rxjs from 'rxjs';
|
|
|
2
2
|
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
3
3
|
import { IStepOption, TourService } from 'ngx-ui-tour-core';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { OnDestroy, OnInit, ElementRef, OnChanges, SimpleChanges, EventEmitter,
|
|
5
|
+
import { OnDestroy, OnInit, AfterViewInit, ElementRef, OnChanges, SimpleChanges, EventEmitter, QueryList, ChangeDetectorRef, PipeTransform, Renderer2, ModuleWithProviders, NgZone, TemplateRef, AfterContentInit } from '@angular/core';
|
|
6
6
|
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
7
7
|
import * as i3 from '@angular/forms';
|
|
8
8
|
import { FormControl, FormGroup, AbstractControl, FormBuilder, FormGroupDirective } from '@angular/forms';
|
|
@@ -760,7 +760,7 @@ declare class CoreTourService {
|
|
|
760
760
|
static ɵprov: i0.ɵɵInjectableDeclaration<CoreTourService>;
|
|
761
761
|
}
|
|
762
762
|
|
|
763
|
-
declare class CoreComponent extends BaseComponent implements OnInit {
|
|
763
|
+
declare class CoreComponent extends BaseComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
764
764
|
private _deviceDet;
|
|
765
765
|
private _ds;
|
|
766
766
|
private _resizeService;
|
|
@@ -783,6 +783,8 @@ declare class CoreComponent extends BaseComponent implements OnInit {
|
|
|
783
783
|
tourStops: IStepOption[];
|
|
784
784
|
el_navBarMain: ElementRef;
|
|
785
785
|
el_navBarModule: ElementRef;
|
|
786
|
+
el_mobileNavigationBar: ElementRef;
|
|
787
|
+
el_mobileResolveioFooter: ElementRef;
|
|
786
788
|
year: string;
|
|
787
789
|
fullScreen: boolean;
|
|
788
790
|
windowSizeHeight: number;
|
|
@@ -792,7 +794,8 @@ declare class CoreComponent extends BaseComponent implements OnInit {
|
|
|
792
794
|
connectedHeight: number;
|
|
793
795
|
isDevice: boolean;
|
|
794
796
|
showNavigationMenu: boolean;
|
|
795
|
-
|
|
797
|
+
mobileNavigationBarHeight: number;
|
|
798
|
+
mobileResolveioFooterHeight: number;
|
|
796
799
|
swFlagAlert: ActiveToast<any>;
|
|
797
800
|
isConnected: boolean;
|
|
798
801
|
isConnecting: boolean;
|
|
@@ -811,17 +814,23 @@ declare class CoreComponent extends BaseComponent implements OnInit {
|
|
|
811
814
|
orientation: string;
|
|
812
815
|
digitalSign: boolean;
|
|
813
816
|
savingTourCompletion: boolean;
|
|
817
|
+
private navbarResizeObserver;
|
|
818
|
+
private readonly handleVisualViewportChange;
|
|
814
819
|
constructor(_deviceDet: DeviceDetectorService, _ds: DialogService, _resizeService: ResizeService, _services: ProviderService, _offline: OfflineManagerService, _storage: LocalStorageService, _auth: AuthService, _aps: AuthPermissionService, _featureGates: FeatureGateService, _tourManager: CoreTourService);
|
|
815
820
|
ngOnInit(): void;
|
|
821
|
+
ngAfterViewInit(): void;
|
|
822
|
+
ngOnDestroy(): void;
|
|
816
823
|
private filterNavTabs;
|
|
817
824
|
private isRoleGateEnabled;
|
|
818
|
-
getNavbarModuleHeight():
|
|
825
|
+
getNavbarModuleHeight(): number;
|
|
819
826
|
private updateStandaloneNavigation;
|
|
820
827
|
toggleAiAssistant(): void;
|
|
821
828
|
openAiAssistant(): void;
|
|
822
829
|
closeAiAssistant(): void;
|
|
823
830
|
getAiAssistantTopOffset(): number;
|
|
824
831
|
getAiAssistantHeight(): number;
|
|
832
|
+
getMainScrollHeight(): number;
|
|
833
|
+
getBottomNavSpacerHeight(): number;
|
|
825
834
|
getAiAssistantReservedWidth(): number;
|
|
826
835
|
resolveAiAssistantClientId(): string;
|
|
827
836
|
private resolveAiAssistantAppId;
|
|
@@ -835,7 +844,18 @@ declare class CoreComponent extends BaseComponent implements OnInit {
|
|
|
835
844
|
onPushForwardButton(): void;
|
|
836
845
|
openNav(): void;
|
|
837
846
|
closeNav(): void;
|
|
838
|
-
private
|
|
847
|
+
private bindVisualViewportListeners;
|
|
848
|
+
private observeLayoutElements;
|
|
849
|
+
private refreshLayoutMeasurements;
|
|
850
|
+
private getNavbarMainElement;
|
|
851
|
+
private getNavbarModuleElement;
|
|
852
|
+
private getMobileNavigationBarElement;
|
|
853
|
+
private getMobileResolveioFooterElement;
|
|
854
|
+
private getMobileBottomOverlayHeight;
|
|
855
|
+
private getShellBottomOffset;
|
|
856
|
+
private measureElementHeight;
|
|
857
|
+
private getViewportHeight;
|
|
858
|
+
private getViewportWidth;
|
|
839
859
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreComponent, never>;
|
|
840
860
|
static ɵcmp: i0.ɵɵComponentDeclaration<CoreComponent, "resolveio-client-lib-core", never, { "environment": { "alias": "environment"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "navTabs": { "alias": "navTabs"; "required": false; }; "userHasPhoneNumber": { "alias": "userHasPhoneNumber"; "required": false; }; "client": { "alias": "client"; "required": false; }; "showNavbarModule": { "alias": "showNavbarModule"; "required": false; }; "publicProgram": { "alias": "publicProgram"; "required": false; }; "showSupport": { "alias": "showSupport"; "required": false; }; "aiAssistantEnabled": { "alias": "aiAssistantEnabled"; "required": false; }; "tourStops": { "alias": "tourStops"; "required": false; }; }, {}, never, never, false, never>;
|
|
841
861
|
}
|
|
@@ -2595,6 +2615,7 @@ declare class DatatableComponent extends BaseComponent implements OnChanges, Aft
|
|
|
2595
2615
|
cellTemplateDirectives: QueryList<DatatableCellTemplateDirective>;
|
|
2596
2616
|
cellTemplates: Map<string, TemplateRef<any>>;
|
|
2597
2617
|
normalizedColumns: DatatableColumn[];
|
|
2618
|
+
entriesPerPageSelectOptions: DatatableSelectOption[];
|
|
2598
2619
|
private searchDebounceHandle;
|
|
2599
2620
|
private templateChangesSubscription;
|
|
2600
2621
|
constructor(_services: ProviderService, locale: string, jsonPipe: JsonPipe, upperCasePipe: UpperCasePipe, lowerCasePipe: LowerCasePipe, titleCasePipe: TitleCasePipe);
|
|
@@ -2605,13 +2626,14 @@ declare class DatatableComponent extends BaseComponent implements OnChanges, Aft
|
|
|
2605
2626
|
private initializeTableData;
|
|
2606
2627
|
private refreshColumns;
|
|
2607
2628
|
private refreshTemplateMap;
|
|
2629
|
+
private refreshEntriesPerPageOptions;
|
|
2608
2630
|
private normalizeEntriesPerPage;
|
|
2609
2631
|
private normalizePageNum;
|
|
2610
2632
|
private emitTableDataChange;
|
|
2611
2633
|
changeTableData(): void;
|
|
2612
2634
|
onSearchChange(): void;
|
|
2613
|
-
onEntriesPerPageChange(): void;
|
|
2614
|
-
onPageChange(): void;
|
|
2635
|
+
onEntriesPerPageChange(value?: number | string | null): void;
|
|
2636
|
+
onPageChange(page?: number): void;
|
|
2615
2637
|
sortColumn(column: DatatableColumn | string, subColName?: string): void;
|
|
2616
2638
|
private getSortKey;
|
|
2617
2639
|
isSortedColumn(column: DatatableColumn): boolean;
|
|
@@ -2669,9 +2691,49 @@ declare class DatatableComponent extends BaseComponent implements OnChanges, Aft
|
|
|
2669
2691
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatatableComponent, "data-table", never, { "urlClick": { "alias": "urlClick"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "collapseSize": { "alias": "collapseSize"; "required": false; }; "searchTitle": { "alias": "searchTitle"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "entriesPerPageOptions": { "alias": "entriesPerPageOptions"; "required": false; }; "searchBarAutoSearch": { "alias": "searchBarAutoSearch"; "required": false; }; "searchDebounceMs": { "alias": "searchDebounceMs"; "required": false; }; "IronBatchAssign": { "alias": "IronBatchAssign"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "users": { "alias": "users"; "required": false; }; "rowIdKey": { "alias": "rowIdKey"; "required": false; }; "returnIdUrls": { "alias": "returnIdUrls"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showPaging": { "alias": "showPaging"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showEntriesControl": { "alias": "showEntriesControl"; "required": false; }; "showResultsSummary": { "alias": "showResultsSummary"; "required": false; }; "hideSearch": { "alias": "hideSearch"; "required": false; }; "hideFooter": { "alias": "hideFooter"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; }, { "onChangeTableData": "onChangeTableData"; "tableDataChange": "tableDataChange"; "cellAction": "cellAction"; "rowClick": "rowClick"; "rowSelected": "rowSelected"; "returnId": "returnId"; "onChangeRequested": "onChangeRequested"; "onChangeTankLevels": "onChangeTankLevels"; "onChangeCurrentRate": "onChangeCurrentRate"; "onChangeTankHistory": "onChangeTankHistory"; }, ["cellTemplateDirectives"], never, false, never>;
|
|
2670
2692
|
}
|
|
2671
2693
|
|
|
2694
|
+
type RioPaginationEntry = number | 'ellipsis-left' | 'ellipsis-right';
|
|
2695
|
+
declare class RioPaginationComponent implements OnChanges {
|
|
2696
|
+
collectionSize: number | string;
|
|
2697
|
+
page: number | string;
|
|
2698
|
+
pageSize: number | string;
|
|
2699
|
+
maxSize: number;
|
|
2700
|
+
boundaryLinks: boolean;
|
|
2701
|
+
directionLinks: boolean;
|
|
2702
|
+
ellipses: boolean;
|
|
2703
|
+
disabled: boolean;
|
|
2704
|
+
pageChange: EventEmitter<number>;
|
|
2705
|
+
currentPage: number;
|
|
2706
|
+
totalPages: number;
|
|
2707
|
+
pageEntries: RioPaginationEntry[];
|
|
2708
|
+
ngOnChanges(): void;
|
|
2709
|
+
get canGoPrevious(): boolean;
|
|
2710
|
+
get canGoNext(): boolean;
|
|
2711
|
+
goToFirst(event?: Event): void;
|
|
2712
|
+
goToPrevious(event?: Event): void;
|
|
2713
|
+
goToNext(event?: Event): void;
|
|
2714
|
+
goToLast(event?: Event): void;
|
|
2715
|
+
goToPage(page: number, event?: Event): void;
|
|
2716
|
+
isPageNumber(entry: RioPaginationEntry): entry is number;
|
|
2717
|
+
trackByEntry(index: number, entry: RioPaginationEntry): string;
|
|
2718
|
+
private recalculate;
|
|
2719
|
+
private buildPageEntries;
|
|
2720
|
+
private createRange;
|
|
2721
|
+
private clampPage;
|
|
2722
|
+
private toPositiveInt;
|
|
2723
|
+
private toNonNegativeInt;
|
|
2724
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RioPaginationComponent, never>;
|
|
2725
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RioPaginationComponent, "rio-pagination", never, { "collectionSize": { "alias": "collectionSize"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "boundaryLinks": { "alias": "boundaryLinks"; "required": false; }; "directionLinks": { "alias": "directionLinks"; "required": false; }; "ellipses": { "alias": "ellipses"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
declare class RioPaginationModule {
|
|
2729
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RioPaginationModule, never>;
|
|
2730
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RioPaginationModule, [typeof RioPaginationComponent], [typeof i2.CommonModule], [typeof RioPaginationComponent]>;
|
|
2731
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RioPaginationModule>;
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2672
2734
|
declare class DatatableModule {
|
|
2673
2735
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableModule, never>;
|
|
2674
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatatableModule, [typeof DatatableComponent, typeof DatatableCellTemplateDirective], [typeof i6.NgbModule, typeof i3.FormsModule, typeof i2.CommonModule, typeof i5.RouterModule, typeof CollapseTableModule], [typeof DatatableComponent, typeof DatatableCellTemplateDirective]>;
|
|
2736
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatatableModule, [typeof DatatableComponent, typeof DatatableCellTemplateDirective], [typeof i6.NgbModule, typeof i3.FormsModule, typeof i2.CommonModule, typeof i5.RouterModule, typeof CollapseTableModule, typeof i11.RioSelectModule, typeof RioPaginationModule], [typeof DatatableComponent, typeof DatatableCellTemplateDirective]>;
|
|
2675
2737
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatatableModule>;
|
|
2676
2738
|
}
|
|
2677
2739
|
|
|
@@ -2984,5 +3046,5 @@ declare const MongoExplorerModulePermission: ModulePermissionModel;
|
|
|
2984
3046
|
|
|
2985
3047
|
declare const SuperAdminModulePermission: ModulePermissionModel;
|
|
2986
3048
|
|
|
2987
|
-
export { AccountManagerService, AiAssistantComponent, AiFormAutoRegisterDirective, AiFormRegistryService, AiPageFormAdapterService, AiPageRouterService, AiTerminalComponent, AiTerminalModule, AiTerminalService, AlertService, Auth365Component, AuthGuard, AuthPermissionService, AuthService, AwsService, BaseComponent, CanDeactivateGuard, CollapseTableComponent, CollapseTableModule, CoreAuthModule, CoreComponent, CoreDialogModule, CoreLoggerModule, CoreModule, CoreService, CoreServicesModule, CoreShellModule, CoreTourService, DatatableCellTemplateDirective, DatatableComponent, DatatableModule, DateShortcutComponent, DateShortcutModule, DialogConfirmContent, DialogErrorContent, DialogInputContent, DialogLoginContent, DialogNotifyContent, DialogRegisterContent, DialogSelectArrayContent, DialogSelectArrayObjsContent, DialogSelectDataLabelsContent, DialogSelectDateTimeContent, DialogSelectWithButtonsURLContent, DialogService, DomSanitizorPipe, Draggable, DropEvent, Droppable, EnrollComponent, FeatureGateService, FileModule, FileUploadComponent, FilterEqualPipe, FilterNotEqualPipe, FocusDirective, ForgotPasswordComponent, FormButtonComponent, FormButtonModule, HomeComponent, HtmlDiffViewerComponent, JsonParsePipe, LoggerComponent, MinusCurrencyPipe, MongoExplorerModulePermission, NavbarMainComponent, NavbarModuleComponent, NgDragDropModule, NgDragDropService, OfflineManagerService, PhonePipe, PipeModule, ProviderService, ReportBuilderModulePermission, ResizeService, ResponsiveButtonGroupComponent, ResponsiveButtonGroupModule, ReversePipe, SchedulerComponent, SchedulerModule, ScrollDirective, SharedModule, SocketManagerService, SocketService, SortTableDirective, SortTableHeaderComponent, SortTableModule, SortTableNgForComponent, Sortable as SortableJs, SortablejsDirective, SortablejsModule, StorageDB, SuperAdminModulePermission, TitleCaseAndUnderscorePipe, TokenManagerService, TourAnchorDirective, UserRoleComponent, UserRoleModule, ValidationService, WindowRefService, applyMongoUpdate, b64toBlobURL, blobToFile, dateOnlyEndOfDayTz, dateOnlyStartOfDayTz, dateReviver, deepCopy, deepDiffDetails, exportCsv, generateCronStringFromDate, isUpperCase, mergeDeep, momentTz, pad, rioDatePickerConfigFactory, round, s2ab, toDataURL, toTitleCase, type };
|
|
3049
|
+
export { AccountManagerService, AiAssistantComponent, AiFormAutoRegisterDirective, AiFormRegistryService, AiPageFormAdapterService, AiPageRouterService, AiTerminalComponent, AiTerminalModule, AiTerminalService, AlertService, Auth365Component, AuthGuard, AuthPermissionService, AuthService, AwsService, BaseComponent, CanDeactivateGuard, CollapseTableComponent, CollapseTableModule, CoreAuthModule, CoreComponent, CoreDialogModule, CoreLoggerModule, CoreModule, CoreService, CoreServicesModule, CoreShellModule, CoreTourService, DatatableCellTemplateDirective, DatatableComponent, DatatableModule, DateShortcutComponent, DateShortcutModule, DialogConfirmContent, DialogErrorContent, DialogInputContent, DialogLoginContent, DialogNotifyContent, DialogRegisterContent, DialogSelectArrayContent, DialogSelectArrayObjsContent, DialogSelectDataLabelsContent, DialogSelectDateTimeContent, DialogSelectWithButtonsURLContent, DialogService, DomSanitizorPipe, Draggable, DropEvent, Droppable, EnrollComponent, FeatureGateService, FileModule, FileUploadComponent, FilterEqualPipe, FilterNotEqualPipe, FocusDirective, ForgotPasswordComponent, FormButtonComponent, FormButtonModule, HomeComponent, HtmlDiffViewerComponent, JsonParsePipe, LoggerComponent, MinusCurrencyPipe, MongoExplorerModulePermission, NavbarMainComponent, NavbarModuleComponent, NgDragDropModule, NgDragDropService, OfflineManagerService, PhonePipe, PipeModule, ProviderService, ReportBuilderModulePermission, ResizeService, ResponsiveButtonGroupComponent, ResponsiveButtonGroupModule, ReversePipe, RioPaginationComponent, RioPaginationModule, SchedulerComponent, SchedulerModule, ScrollDirective, SharedModule, SocketManagerService, SocketService, SortTableDirective, SortTableHeaderComponent, SortTableModule, SortTableNgForComponent, Sortable as SortableJs, SortablejsDirective, SortablejsModule, StorageDB, SuperAdminModulePermission, TitleCaseAndUnderscorePipe, TokenManagerService, TourAnchorDirective, UserRoleComponent, UserRoleModule, ValidationService, WindowRefService, applyMongoUpdate, b64toBlobURL, blobToFile, dateOnlyEndOfDayTz, dateOnlyStartOfDayTz, dateReviver, deepCopy, deepDiffDetails, exportCsv, generateCronStringFromDate, isUpperCase, mergeDeep, momentTz, pad, rioDatePickerConfigFactory, round, s2ab, toDataURL, toTitleCase, type };
|
|
2988
3050
|
export type { ActiveClientSubscriptionModel, AiFormRegistryEntry, AiPageAdapter, AiPageContext, AiPageContextMode, AiPageRequest, AiPageResult, AiPageSchema, AiTerminalAttachmentModel, AiTerminalConfig$1 as AiTerminalConfig, AiTerminalConversationModel, AiTerminalConversationStatus, AiTerminalDisplayTable, AiTerminalMessageModel, AiTerminalMessageRole, AiTerminalMessageUsage, AiTerminalMethodNames, AiTerminalMode, AiTerminalMongoAccess, AiTerminalMongoConfig, AiTerminalToolResult, AppStatusModel, CanComponentDeactivate, CollectionDocument, CronJobModel, CsvExportOptions, DatatableButtonAction, DatatableCellActionEvent, DatatableColumn, DatatableColumnAlign, DatatableColumnTypes, DatatableInputConfig, DatatableModel, DatatablePipeConfig, DatatablePipeName, DatatableProgressConfig, DatatableRowClickEvent, DatatableSelectConfig, DatatableSelectOption, DialogInputFieldModel, DialogInputFieldSelectOptions, DialogSelectWithButtonsOptionModel, FileModel, LogMethodLatencyModel, ModulePermissionApprovalModel, ModulePermissionModel, ModulePermissionViewModel, NavbarMainTabLinkModel, NavbarMainTabModel, NavbarMainTabType, NavbarModel, NavbarTabModel, OtherObject, PaginationOptions, ScrollEvent, SelectDataLabelModel, Sort, SortDirection, SortDirectionType, SortMongo, Sortable$1 as Sortable, SortableEvent as SortablejsEvent, Options as SortablejsOptions, SubscriptionModel, SubscriptionPubModel, UserDelegateModel, UserEmploymentLevelType, UserGroupModel, UserGroupNotificationModel, UserGroupPermissionModel, UserGroupViewModel, UserModel, UserNotificationConfigModel, UserNotificationModel, UserNotificationSubTypes, UserNotificationTypes, UserRoleApprovalModel, UserRoleGroupModel, UserRoleModel, UserSettingsModel, UserSupervisorModel, alertType };
|