tin-spa 20.14.113 → 20.15.0
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/core/index.d.ts +71 -10
- package/fesm2022/{tin-spa-accounting.module-Cg4vWaJE.mjs → tin-spa-accounting.module-BILkGXdD.mjs} +77 -89
- package/fesm2022/tin-spa-accounting.module-BILkGXdD.mjs.map +1 -0
- package/fesm2022/{tin-spa-agent-page.component-DJvMPjCQ.mjs → tin-spa-agent-page.component-Cp4bqg6t.mjs} +2 -2
- package/fesm2022/{tin-spa-agent-page.component-DJvMPjCQ.mjs.map → tin-spa-agent-page.component-Cp4bqg6t.mjs.map} +1 -1
- package/fesm2022/{tin-spa-agent.component-D0CGGnGZ.mjs → tin-spa-agent.component-B9lNOt77.mjs} +4 -4
- package/fesm2022/{tin-spa-agent.component-D0CGGnGZ.mjs.map → tin-spa-agent.component-B9lNOt77.mjs.map} +1 -1
- package/fesm2022/{tin-spa-assets.module-qIWNwJ2E.mjs → tin-spa-assets.module-DmJme9IP.mjs} +16 -11
- package/fesm2022/tin-spa-assets.module-DmJme9IP.mjs.map +1 -0
- package/fesm2022/tin-spa-core.mjs +380 -112
- package/fesm2022/tin-spa-core.mjs.map +1 -1
- package/fesm2022/{tin-spa-general-erp.module-CoYxceLj.mjs → tin-spa-general-erp.module-XyprAx0S.mjs} +2 -2
- package/fesm2022/{tin-spa-general-erp.module-CoYxceLj.mjs.map → tin-spa-general-erp.module-XyprAx0S.mjs.map} +1 -1
- package/fesm2022/{tin-spa-hr.module-CKPZ9ZOj.mjs → tin-spa-hr.module-nk3eBN8I.mjs} +2 -2
- package/fesm2022/{tin-spa-hr.module-CKPZ9ZOj.mjs.map → tin-spa-hr.module-nk3eBN8I.mjs.map} +1 -1
- package/fesm2022/tin-spa-http.mjs +32 -1
- package/fesm2022/tin-spa-http.mjs.map +1 -1
- package/fesm2022/{tin-spa-inventory.module-DRKAcNau.mjs → tin-spa-inventory.module-Dht0gTeq.mjs} +16 -11
- package/fesm2022/tin-spa-inventory.module-Dht0gTeq.mjs.map +1 -0
- package/fesm2022/{tin-spa-loans.module-BTDmgrWo.mjs → tin-spa-loans.module-CZrynkhJ.mjs} +2 -2
- package/fesm2022/{tin-spa-loans.module-BTDmgrWo.mjs.map → tin-spa-loans.module-CZrynkhJ.mjs.map} +1 -1
- package/fesm2022/{tin-spa-manufacturing.module-CHta6oV_.mjs → tin-spa-manufacturing.module-DN8362Ms.mjs} +2 -2
- package/fesm2022/{tin-spa-manufacturing.module-CHta6oV_.mjs.map → tin-spa-manufacturing.module-DN8362Ms.mjs.map} +1 -1
- package/fesm2022/{tin-spa-payroll.module-CZ_GO1jF.mjs → tin-spa-payroll.module-DLD8XGfX.mjs} +12 -9
- package/fesm2022/{tin-spa-payroll.module-CZ_GO1jF.mjs.map → tin-spa-payroll.module-DLD8XGfX.mjs.map} +1 -1
- package/fesm2022/{tin-spa-purchasing.module-NCdwquaF.mjs → tin-spa-purchasing.module-D4tSAY7P.mjs} +16 -11
- package/fesm2022/tin-spa-purchasing.module-D4tSAY7P.mjs.map +1 -0
- package/fesm2022/{tin-spa-sales.module-D0uEGJW7.mjs → tin-spa-sales.module-BoM6453x.mjs} +40 -17
- package/fesm2022/tin-spa-sales.module-BoM6453x.mjs.map +1 -0
- package/fesm2022/{tin-spa-tenancy-erp.module-GwIv8Wbc.mjs → tin-spa-tenancy-erp.module-BhlUtBMA.mjs} +2 -2
- package/fesm2022/{tin-spa-tenancy-erp.module-GwIv8Wbc.mjs.map → tin-spa-tenancy-erp.module-BhlUtBMA.mjs.map} +1 -1
- package/fesm2022/{tin-spa-tin-spa-Cqe5hYTr.mjs → tin-spa-tin-spa-Ca9PhXiH.mjs} +2410 -247
- package/fesm2022/tin-spa-tin-spa-Ca9PhXiH.mjs.map +1 -0
- package/fesm2022/tin-spa.mjs +1 -1
- package/http/index.d.ts +3 -1
- package/index.d.ts +386 -25
- package/package.json +1 -1
- package/src/tin-styles.css +27 -0
- package/fesm2022/tin-spa-accounting.module-Cg4vWaJE.mjs.map +0 -1
- package/fesm2022/tin-spa-assets.module-qIWNwJ2E.mjs.map +0 -1
- package/fesm2022/tin-spa-inventory.module-DRKAcNau.mjs.map +0 -1
- package/fesm2022/tin-spa-purchasing.module-NCdwquaF.mjs.map +0 -1
- package/fesm2022/tin-spa-sales.module-D0uEGJW7.mjs.map +0 -1
- package/fesm2022/tin-spa-tin-spa-Cqe5hYTr.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnDestroy, OnInit, ChangeDetectorRef, EventEmitter, AfterViewInit, SimpleChanges, QueryList, TemplateRef, ViewContainerRef, ElementRef, NgZone, OnChanges, DoCheck, PipeTransform, Provider } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
4
|
import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
5
|
-
import * as
|
|
6
|
-
import { HttpService, LoadedDocument, DocumentKind, DocumentViewerData, DataServiceLib, DetailsDialogConfig, Button, ImportConfig, TableDialogConfig, FormConfig, TableConfig, TileConfig, AuthService, Column, Action, SetupModule as SetupModule$1, SetupService, ApiErrorService, SetupStatus, ChecklistConfig, SetupRoleTemplate, SetupSeedOffer, SetupPresetSelection, SetupPreset, SetupPresetRole, ChecklistAction, SetupStep, SetupStepAction, Icon, Color, MessageService, SignalRService, OfflineService, TinSpaRuntimeConfig, LogService, NoAccessInfo, InlineLoadError, Field, OrderableConfig, DayBookSection, DayBookLane, DayBookConfig, AppConfigSection, AppConfigurationConfig, StorageService, MenuSourceService, CapItem, MenuSection, OutboxOp, AlertConfig, SubscriptionService, Tile, FilterChipConfig, FilterChip, StepConfig, Step, ChecklistItem, StatusConfig, SearchConfig, DocumentSource, ListDialogConfig, AlertMessage, PageConfig, BitwiseOption, StatusItem, GroupData, ChartConfig, ChartItem, NotificationsService, LastRouteService, AppConfig, PreferencesService, BottomTab, ChangeUserPassword, Profile, Role, RoleAccess, Register } from 'tin-spa/core';
|
|
5
|
+
import * as i62 from 'tin-spa/core';
|
|
6
|
+
import { HttpService, LoadedDocument, DocumentKind, DocumentViewerData, DataServiceLib, DetailsDialogConfig, Button, ImportConfig, TableDialogConfig, FormConfig, TableConfig, TileConfig, AuthService, Column, Action, SetupModule as SetupModule$1, SetupService, ApiErrorService, SetupStatus, ChecklistConfig, SetupRoleTemplate, SetupSeedOffer, SetupPresetSelection, SetupPreset, SetupPresetRole, ChecklistAction, SetupStep, SetupStepAction, Icon, Color, MessageService, SignalRService, OfflineService, TinSpaRuntimeConfig, LogService, NoAccessInfo, InlineLoadError, Field, OrderableConfig, DayBookSection, DayBookLane, DayBookConfig, AppConfigSection, AppConfigurationConfig, StorageService, MenuSourceService, CapItem, MenuSection, OutboxOp, AlertConfig, SubscriptionService, Tile, FilterChipConfig, FilterChip, StepConfig, Step, ChecklistItem, StatusConfig, SearchConfig, DocumentSource, ListDialogConfig, AlertMessage, PageConfig, BitwiseOption, StatusItem, GroupData, ChartConfig, ChartItem, DashboardConfig, DashboardSection, NotificationsService, LastRouteService, AppConfig, PreferencesService, BottomTab, ChangeUserPassword, Profile, Role, RoleAccess, Register } from 'tin-spa/core';
|
|
7
7
|
export * from 'tin-spa/core';
|
|
8
8
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
9
9
|
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
@@ -11,24 +11,24 @@ import { SwUpdate } from '@angular/service-worker';
|
|
|
11
11
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
12
12
|
import * as i1 from '@angular/router';
|
|
13
13
|
import { Router, CanActivateFn, ActivatedRoute } from '@angular/router';
|
|
14
|
-
import * as
|
|
14
|
+
import * as i67 from '@angular/cdk/drag-drop';
|
|
15
15
|
import { CdkDragDrop, CdkDragEnter, CdkDragExit } from '@angular/cdk/drag-drop';
|
|
16
16
|
import * as _angular_material_paginator from '@angular/material/paginator';
|
|
17
17
|
import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
18
18
|
import * as i4 from '@angular/forms';
|
|
19
19
|
import { FormControl, NgModel, ControlValueAccessor } from '@angular/forms';
|
|
20
|
+
import { MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
20
21
|
import { MatTableDataSource } from '@angular/material/table';
|
|
21
22
|
import { ChartData, ChartOptions, Plugin } from 'chart.js';
|
|
22
23
|
import { MatStepper } from '@angular/material/stepper';
|
|
23
|
-
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
24
24
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i65 from '@kolkov/angular-editor';
|
|
26
26
|
import { AngularEditorConfig } from '@kolkov/angular-editor';
|
|
27
|
-
import * as
|
|
27
|
+
import * as i63 from '@angular/common/http';
|
|
28
28
|
import { HttpClient } from '@angular/common/http';
|
|
29
29
|
import * as i2 from '@angular/common';
|
|
30
30
|
import { DecimalPipe, Location } from '@angular/common';
|
|
31
|
-
import * as
|
|
31
|
+
import * as i66 from 'ng2-charts';
|
|
32
32
|
|
|
33
33
|
declare class TinSpaService {
|
|
34
34
|
constructor();
|
|
@@ -678,6 +678,9 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
678
678
|
logService?: LogService | null);
|
|
679
679
|
private subs;
|
|
680
680
|
ngOnInit(): void;
|
|
681
|
+
private roleSub;
|
|
682
|
+
private watchRole;
|
|
683
|
+
private applyRole;
|
|
681
684
|
private initialized;
|
|
682
685
|
private ensureInitialized;
|
|
683
686
|
private logDenial;
|
|
@@ -732,10 +735,16 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
732
735
|
actionClick: EventEmitter<any>;
|
|
733
736
|
inputChange: EventEmitter<any>;
|
|
734
737
|
actionResponse: EventEmitter<any>;
|
|
738
|
+
contentResolved: EventEmitter<boolean>;
|
|
739
|
+
private lastResolved;
|
|
740
|
+
private emitResolution;
|
|
741
|
+
private isSilentRefusal;
|
|
735
742
|
private realTimeSubs;
|
|
736
743
|
private realTimeEntityName;
|
|
737
744
|
private get tableDefaults();
|
|
738
745
|
get effRealTime(): boolean;
|
|
746
|
+
realTimeDotColumn: string | null;
|
|
747
|
+
get showToolbarRealTimeDot(): boolean;
|
|
739
748
|
get effOffline(): any;
|
|
740
749
|
get effRealTimeFallbackMs(): number;
|
|
741
750
|
get effPagination(): any;
|
|
@@ -792,13 +801,16 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
792
801
|
groupFilterText: string;
|
|
793
802
|
filterEmptyTitle: string;
|
|
794
803
|
filterEmptyTitlePartial: string;
|
|
795
|
-
loadFailed: boolean;
|
|
804
|
+
get loadFailed(): boolean;
|
|
805
|
+
set loadFailed(value: boolean);
|
|
806
|
+
private loadFailedValue;
|
|
796
807
|
loadError: InlineLoadError | null;
|
|
797
808
|
private fetchSize;
|
|
798
809
|
private pagedUrlBase;
|
|
799
810
|
private pageFetchInFlight;
|
|
800
811
|
private configScopedSubsFrom;
|
|
801
812
|
private initializeComponent;
|
|
813
|
+
private applyRememberedChip;
|
|
802
814
|
private reinitializeForConfigSwap;
|
|
803
815
|
get isLocal(): boolean;
|
|
804
816
|
private get localRows();
|
|
@@ -817,6 +829,10 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
817
829
|
private updateTableConfiguration;
|
|
818
830
|
private setupDataLoading;
|
|
819
831
|
loadData(action: Action, data: any): void;
|
|
832
|
+
private static readonly UNTITLED_COLUMNS;
|
|
833
|
+
private resolveRealTimeDotColumn;
|
|
834
|
+
get paginatorLength(): number;
|
|
835
|
+
get paginatorHiddenByCount(): boolean;
|
|
820
836
|
get singlePagePaginatorHidden(): boolean;
|
|
821
837
|
private setPaginator;
|
|
822
838
|
private setupPagination;
|
|
@@ -834,6 +850,8 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
834
850
|
formDefaults(): void;
|
|
835
851
|
setButtons(): void;
|
|
836
852
|
getButton(name: string): Button;
|
|
853
|
+
private warnedButtonNames;
|
|
854
|
+
private warnOnButtonNameCollision;
|
|
837
855
|
getIcon(buttonName: string): string;
|
|
838
856
|
getButtonColor(button: Button, row: any): string;
|
|
839
857
|
getOptions(column: any): Column;
|
|
@@ -886,6 +904,15 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
886
904
|
private reapplyOverlay;
|
|
887
905
|
private setupRealTimeSubscriptions;
|
|
888
906
|
private isEntityWideView;
|
|
907
|
+
private setupRealTimeRefresh;
|
|
908
|
+
private realTimeRefreshEntities;
|
|
909
|
+
private realTimeRefreshTimer;
|
|
910
|
+
private realTimeRefreshPending;
|
|
911
|
+
private visibilityHandler;
|
|
912
|
+
private scheduleRealTimeRefresh;
|
|
913
|
+
private realTimeRefetch;
|
|
914
|
+
private watchForVisibility;
|
|
915
|
+
private cancelRealTimeRefresh;
|
|
889
916
|
private realTimeBaseRows;
|
|
890
917
|
private applyRealTimeData;
|
|
891
918
|
private deriveEntityName;
|
|
@@ -909,7 +936,7 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
909
936
|
private rowIdKey;
|
|
910
937
|
trackByRow: (index: number, row: any) => any;
|
|
911
938
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
912
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "localMode": { "alias": "localMode"; "required": false; }; "parentDetails": { "alias": "parentDetails"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; "inTab": { "alias": "inTab"; "required": false; }; "nestingLevel": { "alias": "nestingLevel"; "required": false; }; }, { "dataLoad": "dataLoad"; "totalChange": "totalChange"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; }, never, never, false, never>;
|
|
939
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "localMode": { "alias": "localMode"; "required": false; }; "parentDetails": { "alias": "parentDetails"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; "inTab": { "alias": "inTab"; "required": false; }; "nestingLevel": { "alias": "nestingLevel"; "required": false; }; }, { "dataLoad": "dataLoad"; "totalChange": "totalChange"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; "contentResolved": "contentResolved"; }, never, never, false, never>;
|
|
913
940
|
}
|
|
914
941
|
|
|
915
942
|
interface DayBookSectionView {
|
|
@@ -937,12 +964,13 @@ interface DayBookGroupView {
|
|
|
937
964
|
}[];
|
|
938
965
|
collapsed: boolean;
|
|
939
966
|
}
|
|
940
|
-
declare class DayBookComponent implements OnInit {
|
|
967
|
+
declare class DayBookComponent implements OnInit, OnDestroy {
|
|
941
968
|
dataService: DataServiceLib;
|
|
942
969
|
private messageService;
|
|
943
970
|
private apiErrorService;
|
|
944
971
|
private buttonService;
|
|
945
972
|
private zone;
|
|
973
|
+
private signalR;
|
|
946
974
|
tables: QueryList<TableComponent>;
|
|
947
975
|
dayBookConfig?: DayBookConfig;
|
|
948
976
|
book: any;
|
|
@@ -962,6 +990,12 @@ declare class DayBookComponent implements OnInit {
|
|
|
962
990
|
get config(): DayBookConfig | undefined;
|
|
963
991
|
get title(): string;
|
|
964
992
|
ngOnInit(): void;
|
|
993
|
+
ngOnDestroy(): void;
|
|
994
|
+
private invalidationSub;
|
|
995
|
+
private refreshTimer;
|
|
996
|
+
private setupInvalidationRefresh;
|
|
997
|
+
private refreshEntities;
|
|
998
|
+
private scheduleRefresh;
|
|
965
999
|
private setShowLoading;
|
|
966
1000
|
load(): void;
|
|
967
1001
|
rebuild(): void;
|
|
@@ -994,8 +1028,6 @@ declare class DayBookComponent implements OnInit {
|
|
|
994
1028
|
toggleGroup(group: DayBookGroupView): void;
|
|
995
1029
|
goTo(key: string): void;
|
|
996
1030
|
private scrollWhenSettled;
|
|
997
|
-
get booksFrom(): any;
|
|
998
|
-
get owed(): number | null;
|
|
999
1031
|
get allClear(): boolean;
|
|
1000
1032
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayBookComponent, never>;
|
|
1001
1033
|
static ɵcmp: i0.ɵɵComponentDeclaration<DayBookComponent, "spa-day-book", never, { "dayBookConfig": { "alias": "dayBookConfig"; "required": false; }; }, {}, never, ["[dayBookActions]"], false, never>;
|
|
@@ -1011,6 +1043,7 @@ declare class AppConfigurationComponent implements OnInit, OnDestroy {
|
|
|
1011
1043
|
private buttonService;
|
|
1012
1044
|
private setupService;
|
|
1013
1045
|
private subscriptions;
|
|
1046
|
+
private applyRole;
|
|
1014
1047
|
ngOnDestroy(): void;
|
|
1015
1048
|
goToModules(): void;
|
|
1016
1049
|
setupModules: SetupModule$1[];
|
|
@@ -1536,6 +1569,7 @@ declare class TextAreaComponent implements OnInit, OnChanges {
|
|
|
1536
1569
|
onMouseLeave(): void;
|
|
1537
1570
|
initControl(): void;
|
|
1538
1571
|
leaved(): void;
|
|
1572
|
+
inputEl: ElementRef<HTMLTextAreaElement>;
|
|
1539
1573
|
clear(): void;
|
|
1540
1574
|
enterPressed(): void;
|
|
1541
1575
|
control: FormControl<string>;
|
|
@@ -1613,6 +1647,8 @@ declare class TextSingleComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1613
1647
|
leaved(): void;
|
|
1614
1648
|
isValidSelection(inputValue: string): boolean;
|
|
1615
1649
|
clear(): void;
|
|
1650
|
+
inputEl: ElementRef<HTMLInputElement>;
|
|
1651
|
+
autoTrigger: MatAutocompleteTrigger;
|
|
1616
1652
|
enterPressed(): void;
|
|
1617
1653
|
refresh(event: MouseEvent): void;
|
|
1618
1654
|
getData(action: Action): void;
|
|
@@ -1982,6 +2018,12 @@ declare class TilesComponent implements OnInit, OnChanges, OnDestroy, AfterViewI
|
|
|
1982
2018
|
tiles: Tile[];
|
|
1983
2019
|
config: TileConfig;
|
|
1984
2020
|
tileActionSelected: EventEmitter<Action>;
|
|
2021
|
+
contentResolved: EventEmitter<boolean>;
|
|
2022
|
+
private awaitingLoad;
|
|
2023
|
+
private lastResolved;
|
|
2024
|
+
private resolutionArmed;
|
|
2025
|
+
private resolveContent;
|
|
2026
|
+
private isSilentRefusal;
|
|
1985
2027
|
lastSearch: any;
|
|
1986
2028
|
data: any;
|
|
1987
2029
|
reload: Subject<boolean>;
|
|
@@ -2005,7 +2047,14 @@ declare class TilesComponent implements OnInit, OnChanges, OnDestroy, AfterViewI
|
|
|
2005
2047
|
isClickable(tile: Tile): boolean;
|
|
2006
2048
|
clicked(clickedTile: Tile): void;
|
|
2007
2049
|
pop(x: any): void;
|
|
2050
|
+
private tilesSource;
|
|
2051
|
+
securityDenied: boolean;
|
|
2052
|
+
private applySecurity;
|
|
2008
2053
|
isHidden(tile: Tile): boolean;
|
|
2054
|
+
isTileChartEmpty(tile: Tile): boolean;
|
|
2055
|
+
isRendered(tile: Tile): boolean;
|
|
2056
|
+
showTileEmptyState(tile: Tile): boolean;
|
|
2057
|
+
tileEmptyText(tile: Tile): string;
|
|
2009
2058
|
displayValue(tile: Tile): any;
|
|
2010
2059
|
tileColor(tile: Tile): string;
|
|
2011
2060
|
isTileValuePrimitive(tile: Tile): boolean;
|
|
@@ -2014,7 +2063,7 @@ declare class TilesComponent implements OnInit, OnChanges, OnDestroy, AfterViewI
|
|
|
2014
2063
|
private buildMiniChartOptions;
|
|
2015
2064
|
private buildTileChartPlugins;
|
|
2016
2065
|
static ɵfac: i0.ɵɵFactoryDeclaration<TilesComponent, never>;
|
|
2017
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "spa-tiles", never, { "config": { "alias": "config"; "required": false; }; "lastSearch": { "alias": "lastSearch"; "required": false; }; "data": { "alias": "data"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, { "tileActionSelected": "tileActionSelected"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false, never>;
|
|
2066
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "spa-tiles", never, { "config": { "alias": "config"; "required": false; }; "lastSearch": { "alias": "lastSearch"; "required": false; }; "data": { "alias": "data"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, { "tileActionSelected": "tileActionSelected"; "contentResolved": "contentResolved"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false, never>;
|
|
2018
2067
|
}
|
|
2019
2068
|
|
|
2020
2069
|
declare class FilterChipsComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
@@ -2048,6 +2097,7 @@ declare class FilterChipsComponent implements OnInit, OnChanges, AfterViewInit,
|
|
|
2048
2097
|
private build;
|
|
2049
2098
|
private withAll;
|
|
2050
2099
|
private load;
|
|
2100
|
+
private healDeadSelection;
|
|
2051
2101
|
private toChip;
|
|
2052
2102
|
isHidden(chip: FilterChip): boolean;
|
|
2053
2103
|
clicked(chip: FilterChip): void;
|
|
@@ -2197,6 +2247,9 @@ declare class FormComponent implements OnInit, OnDestroy, DoCheck {
|
|
|
2197
2247
|
constructor(messageService: MessageService, dataService: DataServiceLib, authService: AuthService, apiErrorService: ApiErrorService, offline: OfflineService, hostRef: ElementRef<HTMLElement>);
|
|
2198
2248
|
ngOnDestroy(): void;
|
|
2199
2249
|
ngOnInit(): void;
|
|
2250
|
+
private applyAccess;
|
|
2251
|
+
private formInitialized;
|
|
2252
|
+
private initializeForm;
|
|
2200
2253
|
ngDoCheck(): void;
|
|
2201
2254
|
private refreshVisibleFields;
|
|
2202
2255
|
private sameFields;
|
|
@@ -2359,6 +2412,7 @@ declare class DetailsDialog implements OnInit, DoCheck, OnDestroy {
|
|
|
2359
2412
|
testVisible(row: any, buttonName: string): boolean;
|
|
2360
2413
|
getButtonColor(button: Button, row: any): string;
|
|
2361
2414
|
getVisibleFields(): Field[];
|
|
2415
|
+
private watchRole;
|
|
2362
2416
|
private seedFormDefaults;
|
|
2363
2417
|
private revealSection;
|
|
2364
2418
|
create(): void;
|
|
@@ -2391,13 +2445,16 @@ interface SkeletonUnit {
|
|
|
2391
2445
|
labelWidth: string;
|
|
2392
2446
|
delay: string;
|
|
2393
2447
|
}
|
|
2394
|
-
declare class FormSkeletonComponent implements OnChanges {
|
|
2448
|
+
declare class FormSkeletonComponent implements OnChanges, OnInit, OnDestroy {
|
|
2395
2449
|
private authService;
|
|
2396
2450
|
constructor(authService: AuthService);
|
|
2397
2451
|
config: FormConfig;
|
|
2398
2452
|
units: SkeletonUnit[];
|
|
2399
2453
|
multiColumn: boolean;
|
|
2400
2454
|
ngOnChanges(): void;
|
|
2455
|
+
private roleSub;
|
|
2456
|
+
ngOnInit(): void;
|
|
2457
|
+
ngOnDestroy(): void;
|
|
2401
2458
|
private static readonly LABEL_WIDTHS;
|
|
2402
2459
|
private static readonly STAGGER_MS;
|
|
2403
2460
|
private build;
|
|
@@ -2577,6 +2634,7 @@ declare class TableHeaderComponent implements OnInit, OnChanges {
|
|
|
2577
2634
|
refreshing: boolean;
|
|
2578
2635
|
createClick: EventEmitter<void>;
|
|
2579
2636
|
customClick: EventEmitter<any>;
|
|
2637
|
+
customButtonClick: EventEmitter<Button>;
|
|
2580
2638
|
refreshClick: EventEmitter<void>;
|
|
2581
2639
|
tileClick: EventEmitter<string>;
|
|
2582
2640
|
tileUnClick: EventEmitter<string>;
|
|
@@ -2594,6 +2652,8 @@ declare class TableHeaderComponent implements OnInit, OnChanges {
|
|
|
2594
2652
|
onTileClick(tile: any): void;
|
|
2595
2653
|
onTileUnClick(tile: any): void;
|
|
2596
2654
|
onChipClick(chip: any): void;
|
|
2655
|
+
get hasToolbarContent(): boolean;
|
|
2656
|
+
get useOutlinedHeaderButtons(): boolean;
|
|
2597
2657
|
get hasHeaderActions(): boolean;
|
|
2598
2658
|
buttonDisplay(button: Button): string | undefined;
|
|
2599
2659
|
getHeaderButtons(): Button[];
|
|
@@ -2602,7 +2662,7 @@ declare class TableHeaderComponent implements OnInit, OnChanges {
|
|
|
2602
2662
|
testDisabled(button: Button): boolean;
|
|
2603
2663
|
getButtonColor(button: Button, row: any): string;
|
|
2604
2664
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
|
|
2605
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "lastSearch": { "alias": "lastSearch"; "required": false; }; "config": { "alias": "config"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "tableDataSource": { "alias": "tableDataSource"; "required": false; }; "tileConfig": { "alias": "tileConfig"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; "tileReload": { "alias": "tileReload"; "required": false; }; "showFilterButton": { "alias": "showFilterButton"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "isRealTime": { "alias": "isRealTime"; "required": false; }; "isConnected": { "alias": "isConnected"; "required": false; }; "refreshing": { "alias": "refreshing"; "required": false; }; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; "chipClick": "chipClick"; "filterChange": "filterChange"; }, never, never, false, never>;
|
|
2665
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "lastSearch": { "alias": "lastSearch"; "required": false; }; "config": { "alias": "config"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "tableDataSource": { "alias": "tableDataSource"; "required": false; }; "tileConfig": { "alias": "tileConfig"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; "tileReload": { "alias": "tileReload"; "required": false; }; "showFilterButton": { "alias": "showFilterButton"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "isRealTime": { "alias": "isRealTime"; "required": false; }; "isConnected": { "alias": "isConnected"; "required": false; }; "refreshing": { "alias": "refreshing"; "required": false; }; }, { "createClick": "createClick"; "customClick": "customClick"; "customButtonClick": "customButtonClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; "chipClick": "chipClick"; "filterChange": "filterChange"; }, never, never, false, never>;
|
|
2606
2666
|
}
|
|
2607
2667
|
|
|
2608
2668
|
interface CellVM {
|
|
@@ -2649,7 +2709,10 @@ declare class TableRowComponent implements OnChanges {
|
|
|
2649
2709
|
showBanner(message: string): void;
|
|
2650
2710
|
onChipClick(column: Column, row: any): void;
|
|
2651
2711
|
onChipItemClick(chip: ChipItem): void;
|
|
2712
|
+
cellIsDrillIn(): boolean;
|
|
2713
|
+
onCellDetailsClick(): void;
|
|
2652
2714
|
toggleChips(): void;
|
|
2715
|
+
onIconCellTap(message: string): void;
|
|
2653
2716
|
onMonogramTap(label: string): void;
|
|
2654
2717
|
textDisplayed(row: any, column: Column): any;
|
|
2655
2718
|
textTruncated(row: any, column: Column): boolean;
|
|
@@ -3304,6 +3367,12 @@ declare class ChartsComponent implements OnInit, OnChanges {
|
|
|
3304
3367
|
config: ChartConfig;
|
|
3305
3368
|
data: any;
|
|
3306
3369
|
reload: Subject<boolean>;
|
|
3370
|
+
contentResolved: EventEmitter<boolean>;
|
|
3371
|
+
private awaitingLoad;
|
|
3372
|
+
private lastResolved;
|
|
3373
|
+
private resolutionArmed;
|
|
3374
|
+
private resolveContent;
|
|
3375
|
+
private isSilentRefusal;
|
|
3307
3376
|
ngOnInit(): void;
|
|
3308
3377
|
loadData(action: Action, data: any): void;
|
|
3309
3378
|
private chartCache;
|
|
@@ -3315,9 +3384,52 @@ declare class ChartsComponent implements OnInit, OnChanges {
|
|
|
3315
3384
|
private buildChartOptions;
|
|
3316
3385
|
getPlugins(chart: ChartItem): Plugin[];
|
|
3317
3386
|
private buildPlugins;
|
|
3387
|
+
charts: ChartItem[];
|
|
3388
|
+
private chartsSource;
|
|
3389
|
+
securityDenied: boolean;
|
|
3390
|
+
private applySecurity;
|
|
3318
3391
|
isHidden(chart: ChartItem): boolean;
|
|
3392
|
+
isEmpty(chart: ChartItem): boolean;
|
|
3393
|
+
isRendered(chart: ChartItem): boolean;
|
|
3394
|
+
showEmptyState(chart: ChartItem): boolean;
|
|
3395
|
+
emptyTextFor(chart: ChartItem): string;
|
|
3319
3396
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChartsComponent, never>;
|
|
3320
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChartsComponent, "spa-charts", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, {}, never, never, false, never>;
|
|
3397
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartsComponent, "spa-charts", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, { "contentResolved": "contentResolved"; }, never, never, false, never>;
|
|
3398
|
+
}
|
|
3399
|
+
|
|
3400
|
+
declare class DashboardComponent implements OnInit, OnChanges, OnDestroy {
|
|
3401
|
+
private dataService;
|
|
3402
|
+
private setupService;
|
|
3403
|
+
private authService;
|
|
3404
|
+
constructor(dataService: DataServiceLib, setupService: SetupService, authService?: AuthService | null);
|
|
3405
|
+
config: DashboardConfig;
|
|
3406
|
+
data: any;
|
|
3407
|
+
reload: Subject<boolean>;
|
|
3408
|
+
sections: DashboardSection[];
|
|
3409
|
+
private roleSub;
|
|
3410
|
+
ngOnInit(): void;
|
|
3411
|
+
private watchRole;
|
|
3412
|
+
ngOnDestroy(): void;
|
|
3413
|
+
ngOnChanges(): void;
|
|
3414
|
+
private sectionsSource;
|
|
3415
|
+
private applySecurity;
|
|
3416
|
+
private moduleAllows;
|
|
3417
|
+
hasContent(section: DashboardSection): boolean;
|
|
3418
|
+
private tilesDraw;
|
|
3419
|
+
private chartsDraw;
|
|
3420
|
+
resolvedEmpty: {
|
|
3421
|
+
[sectionKey: string]: boolean;
|
|
3422
|
+
};
|
|
3423
|
+
private reports;
|
|
3424
|
+
onWidgetResolved(section: DashboardSection, widget: any, has: boolean): void;
|
|
3425
|
+
private widgetCount;
|
|
3426
|
+
private watchReload;
|
|
3427
|
+
showPageEmpty(): boolean;
|
|
3428
|
+
get emptyHint(): string;
|
|
3429
|
+
isHidden(section: DashboardSection): boolean;
|
|
3430
|
+
linkFor(section: DashboardSection): string | null;
|
|
3431
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
3432
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "spa-dashboard", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, {}, never, never, false, never>;
|
|
3321
3433
|
}
|
|
3322
3434
|
|
|
3323
3435
|
declare class TabsFloatComponent implements AfterViewInit, OnDestroy {
|
|
@@ -3528,6 +3640,7 @@ declare class NavMenuComponent implements OnDestroy {
|
|
|
3528
3640
|
logoff(): void;
|
|
3529
3641
|
redirectTo(link: string): void;
|
|
3530
3642
|
getSubItems(capItem: CapItem): CapItem[];
|
|
3643
|
+
hasVisibleEntry(capItem: CapItem): boolean;
|
|
3531
3644
|
isFeatureAllowed(cap: CapItem): boolean;
|
|
3532
3645
|
private reversedSource;
|
|
3533
3646
|
private reversedCache;
|
|
@@ -3639,7 +3752,7 @@ declare class CamelToWordsPipe implements PipeTransform {
|
|
|
3639
3752
|
|
|
3640
3753
|
declare class TinSpaModule {
|
|
3641
3754
|
static ɵfac: i0.ɵɵFactoryDeclaration<TinSpaModule, never>;
|
|
3642
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TinSpaModule, [typeof TinSpaComponent, typeof TextAreaComponent, typeof TextSingleComponent, typeof CheckComponent, typeof DateComponent, typeof DatetimeComponent, typeof LabelComponent, typeof SelectComponent, typeof ActivityComponent, typeof FilterComponent, typeof MoneyComponent, typeof OptionComponent, typeof TilesComponent, typeof FilterChipsComponent, typeof StepsComponent, typeof ChecklistComponent, typeof ProgressRingComponent, typeof AttachComponent, typeof ChipsComponent, typeof TableComponent, typeof DetailsDialog, typeof FormComponent, typeof FormSkeletonComponent, typeof NumberComponent, typeof SearchComponent, typeof DocumentViewerDialogComponent, typeof DocumentComponent, typeof ListDialogComponent, typeof GridMenuComponent, typeof InvitationsTableComponent, typeof TableHeaderComponent, typeof TableRowComponent, typeof TableActionComponent, typeof InlineCellComponent, typeof AlertComponent, typeof EmailComponent, typeof PageComponent, typeof SelectCommonComponent, typeof SelectContextDirective, typeof SelectLiteComponent, typeof TextMultiComponent, typeof SelectMultiComponent, typeof SelectBitwiseComponent, typeof HtmlComponent, typeof EditorComponent, typeof NotesComponent, typeof CapsulesComponent, typeof CardsComponent, typeof TabsComponent, typeof StatusesComponent, typeof GroupsComponent, typeof TitleActionsComponent, typeof WelcomeComponent, typeof ChartsComponent, typeof FeatureDirective, typeof EllipsisDirective, typeof TabsFloatComponent, typeof ImportDialogComponent, typeof TableDialogComponent, typeof QuoteBuilderComponent], [typeof
|
|
3755
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TinSpaModule, [typeof TinSpaComponent, typeof TextAreaComponent, typeof TextSingleComponent, typeof CheckComponent, typeof DateComponent, typeof DatetimeComponent, typeof LabelComponent, typeof SelectComponent, typeof ActivityComponent, typeof FilterComponent, typeof MoneyComponent, typeof OptionComponent, typeof TilesComponent, typeof FilterChipsComponent, typeof StepsComponent, typeof ChecklistComponent, typeof ProgressRingComponent, typeof AttachComponent, typeof ChipsComponent, typeof TableComponent, typeof DetailsDialog, typeof FormComponent, typeof FormSkeletonComponent, typeof NumberComponent, typeof SearchComponent, typeof DocumentViewerDialogComponent, typeof DocumentComponent, typeof ListDialogComponent, typeof GridMenuComponent, typeof InvitationsTableComponent, typeof TableHeaderComponent, typeof TableRowComponent, typeof TableActionComponent, typeof InlineCellComponent, typeof AlertComponent, typeof EmailComponent, typeof PageComponent, typeof SelectCommonComponent, typeof SelectContextDirective, typeof SelectLiteComponent, typeof TextMultiComponent, typeof SelectMultiComponent, typeof SelectBitwiseComponent, typeof HtmlComponent, typeof EditorComponent, typeof NotesComponent, typeof CapsulesComponent, typeof CardsComponent, typeof TabsComponent, typeof StatusesComponent, typeof GroupsComponent, typeof TitleActionsComponent, typeof WelcomeComponent, typeof ChartsComponent, typeof DashboardComponent, typeof FeatureDirective, typeof EllipsisDirective, typeof TabsFloatComponent, typeof ImportDialogComponent, typeof TableDialogComponent, typeof QuoteBuilderComponent], [typeof i62.SpaCoreModule, typeof i63.HttpClientModule, typeof CurrencyInputModule, typeof i65.AngularEditorModule, typeof i66.BaseChartDirective, typeof i67.DragDropModule, typeof NavMenuComponent, typeof LoaderComponent, typeof MonogramComponent, typeof OfflineIndicatorComponent, typeof ToastComponent, typeof BottomTabsComponent, typeof CamelToWordsPipe], [typeof TinSpaComponent, typeof i62.SpaCoreModule, typeof MonogramComponent, typeof AlertComponent, typeof TextAreaComponent, typeof TextSingleComponent, typeof TextMultiComponent, typeof NavMenuComponent, typeof GridMenuComponent, typeof LoaderComponent, typeof TilesComponent, typeof FilterChipsComponent, typeof DateComponent, typeof SelectComponent, typeof SelectBitwiseComponent, typeof SelectMultiComponent, typeof DatetimeComponent, typeof CheckComponent, typeof AttachComponent, typeof MoneyComponent, typeof ChipsComponent, typeof ActivityComponent, typeof OptionComponent, typeof LabelComponent, typeof StepsComponent, typeof ChecklistComponent, typeof ProgressRingComponent, typeof FilterComponent, typeof TableComponent, typeof DetailsDialog, typeof FormComponent, typeof FormSkeletonComponent, typeof NumberComponent, typeof SearchComponent, typeof DocumentViewerDialogComponent, typeof DocumentComponent, typeof ImportDialogComponent, typeof TableDialogComponent, typeof QuoteBuilderComponent, typeof ListDialogComponent, typeof ListDialogComponent, typeof EmailComponent, typeof PageComponent, typeof HtmlComponent, typeof EditorComponent, typeof NotesComponent, typeof CapsulesComponent, typeof TabsComponent, typeof StatusesComponent, typeof GroupsComponent, typeof TitleActionsComponent, typeof WelcomeComponent, typeof InvitationsTableComponent, typeof SelectLiteComponent, typeof ChartsComponent, typeof DashboardComponent, typeof FeatureDirective, typeof EllipsisDirective, typeof OfflineIndicatorComponent]>;
|
|
3643
3756
|
static ɵinj: i0.ɵɵInjectorDeclaration<TinSpaModule>;
|
|
3644
3757
|
}
|
|
3645
3758
|
|
|
@@ -3775,7 +3888,7 @@ declare class PreferencesComponent implements OnInit {
|
|
|
3775
3888
|
|
|
3776
3889
|
declare class SpaUserModule {
|
|
3777
3890
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpaUserModule, never>;
|
|
3778
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SpaUserModule, [typeof ChangePasswordComponent, typeof ProfileComponent, typeof PreferencesComponent], [typeof i4.ReactiveFormsModule, typeof i2.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof
|
|
3891
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpaUserModule, [typeof ChangePasswordComponent, typeof ProfileComponent, typeof PreferencesComponent], [typeof i4.ReactiveFormsModule, typeof i2.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i67.DragDropModule, typeof TinSpaModule], [typeof i2.CommonModule, typeof i4.FormsModule, typeof TinSpaModule, typeof ChangePasswordComponent, typeof ProfileComponent, typeof PreferencesComponent]>;
|
|
3779
3892
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpaUserModule>;
|
|
3780
3893
|
}
|
|
3781
3894
|
|
|
@@ -4016,9 +4129,257 @@ declare class TasksComponent implements OnInit {
|
|
|
4016
4129
|
static ɵcmp: i0.ɵɵComponentDeclaration<TasksComponent, "spa-tasks", never, {}, {}, never, never, false, never>;
|
|
4017
4130
|
}
|
|
4018
4131
|
|
|
4132
|
+
interface WorkCard {
|
|
4133
|
+
workItemID: number;
|
|
4134
|
+
workProjectID: number;
|
|
4135
|
+
workBucketID: number;
|
|
4136
|
+
bucketName: string;
|
|
4137
|
+
title: string;
|
|
4138
|
+
details: string;
|
|
4139
|
+
target: string;
|
|
4140
|
+
status: number;
|
|
4141
|
+
statusName: string;
|
|
4142
|
+
priority: number;
|
|
4143
|
+
assigneeKind: number;
|
|
4144
|
+
assignee: string;
|
|
4145
|
+
reservedForOwner: boolean;
|
|
4146
|
+
queuedDate?: string;
|
|
4147
|
+
startedDate?: string;
|
|
4148
|
+
completedDate?: string;
|
|
4149
|
+
dueDate?: string;
|
|
4150
|
+
externalRef: string;
|
|
4151
|
+
order: number;
|
|
4152
|
+
noteCount: number;
|
|
4153
|
+
elapsedMinutes: number;
|
|
4154
|
+
}
|
|
4155
|
+
interface WorkNow {
|
|
4156
|
+
workProjectID: number;
|
|
4157
|
+
name: string;
|
|
4158
|
+
slotCount: number;
|
|
4159
|
+
slotsUsed: number;
|
|
4160
|
+
slotsFree: number;
|
|
4161
|
+
running: WorkCard[];
|
|
4162
|
+
queued: WorkCard[];
|
|
4163
|
+
blocked: WorkCard[];
|
|
4164
|
+
reserved: WorkCard[];
|
|
4165
|
+
doneToday: WorkCard[];
|
|
4166
|
+
pendingDecisions: number;
|
|
4167
|
+
reservedDecisions: number;
|
|
4168
|
+
ruledDecisions: number;
|
|
4169
|
+
counts: {
|
|
4170
|
+
backlog: number;
|
|
4171
|
+
queued: number;
|
|
4172
|
+
running: number;
|
|
4173
|
+
onHold: number;
|
|
4174
|
+
blocked: number;
|
|
4175
|
+
done: number;
|
|
4176
|
+
cancelled: number;
|
|
4177
|
+
};
|
|
4178
|
+
}
|
|
4179
|
+
interface WorkDecisionRow {
|
|
4180
|
+
workDecisionID: number;
|
|
4181
|
+
workProjectID: number;
|
|
4182
|
+
workItemID?: number;
|
|
4183
|
+
workItemTitle: string;
|
|
4184
|
+
ref: string;
|
|
4185
|
+
question: string;
|
|
4186
|
+
recommendation: string;
|
|
4187
|
+
ruling?: string;
|
|
4188
|
+
decidedBy?: string;
|
|
4189
|
+
state: number;
|
|
4190
|
+
stateName?: string;
|
|
4191
|
+
reserved: boolean;
|
|
4192
|
+
raisedDate: string;
|
|
4193
|
+
ruledDate?: string;
|
|
4194
|
+
}
|
|
4195
|
+
interface WorkThroughput {
|
|
4196
|
+
workProjectID: number;
|
|
4197
|
+
days: number;
|
|
4198
|
+
from: string;
|
|
4199
|
+
completed: number;
|
|
4200
|
+
perDay: number;
|
|
4201
|
+
averageCycleHours: number;
|
|
4202
|
+
byDay: {
|
|
4203
|
+
day: string;
|
|
4204
|
+
completed: number;
|
|
4205
|
+
}[];
|
|
4206
|
+
}
|
|
4207
|
+
interface ThroughputBar {
|
|
4208
|
+
count: number;
|
|
4209
|
+
heightPct: number;
|
|
4210
|
+
label: string;
|
|
4211
|
+
isMax: boolean;
|
|
4212
|
+
isToday: boolean;
|
|
4213
|
+
}
|
|
4214
|
+
interface SlotRow {
|
|
4215
|
+
label: string;
|
|
4216
|
+
card: WorkCard | null;
|
|
4217
|
+
elapsed: string;
|
|
4218
|
+
}
|
|
4219
|
+
declare class WorkNowComponent implements OnInit, OnDestroy {
|
|
4220
|
+
dataService: DataServiceLib;
|
|
4221
|
+
readonly refreshMs = 30000;
|
|
4222
|
+
readonly throughputDays = 14;
|
|
4223
|
+
now: WorkNow | null;
|
|
4224
|
+
slots: SlotRow[];
|
|
4225
|
+
pending: WorkDecisionRow[];
|
|
4226
|
+
ruled: WorkDecisionRow[];
|
|
4227
|
+
throughput: WorkThroughput | null;
|
|
4228
|
+
bars: ThroughputBar[];
|
|
4229
|
+
projects: {
|
|
4230
|
+
workProjectID: number;
|
|
4231
|
+
name: string;
|
|
4232
|
+
}[];
|
|
4233
|
+
projectID: number;
|
|
4234
|
+
loading: boolean;
|
|
4235
|
+
refreshing: boolean;
|
|
4236
|
+
showRuled: boolean;
|
|
4237
|
+
ruledLoaded: boolean;
|
|
4238
|
+
updated: Date | null;
|
|
4239
|
+
errorMessage: string;
|
|
4240
|
+
private timer;
|
|
4241
|
+
ngOnInit(): void;
|
|
4242
|
+
ngOnDestroy(): void;
|
|
4243
|
+
private tick;
|
|
4244
|
+
private loadProjects;
|
|
4245
|
+
projectChanged(id: number): void;
|
|
4246
|
+
refresh(): void;
|
|
4247
|
+
loadThroughput(): void;
|
|
4248
|
+
buildBars(t: WorkThroughput | null): ThroughputBar[];
|
|
4249
|
+
barTitle(b: ThroughputBar): string;
|
|
4250
|
+
cycle(hours: number): string;
|
|
4251
|
+
trackBar: (i: number) => number;
|
|
4252
|
+
load(silent: boolean): void;
|
|
4253
|
+
loadRuled(silent?: boolean): void;
|
|
4254
|
+
toggleRuled(): void;
|
|
4255
|
+
buildSlots(now: WorkNow | null): SlotRow[];
|
|
4256
|
+
elapsed(minutes: number): string;
|
|
4257
|
+
assigneeLabel(card: WorkCard): string;
|
|
4258
|
+
statusClass(card: WorkCard | null): string;
|
|
4259
|
+
get slotsOccupied(): number;
|
|
4260
|
+
get slotsFree(): number;
|
|
4261
|
+
trackCard: (_: number, c: WorkCard) => number;
|
|
4262
|
+
trackSlot: (i: number, s: SlotRow) => string;
|
|
4263
|
+
trackDecision: (_: number, d: WorkDecisionRow) => number;
|
|
4264
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkNowComponent, never>;
|
|
4265
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkNowComponent, "spa-work-now", never, {}, {}, never, never, false, never>;
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
declare class WorkBoardComponent implements OnInit {
|
|
4269
|
+
dataService: DataServiceLib;
|
|
4270
|
+
projects: {
|
|
4271
|
+
workProjectID: number;
|
|
4272
|
+
name: string;
|
|
4273
|
+
}[];
|
|
4274
|
+
projectID: number;
|
|
4275
|
+
projectName: string;
|
|
4276
|
+
loading: boolean;
|
|
4277
|
+
errorMessage: string;
|
|
4278
|
+
cardCount: number;
|
|
4279
|
+
runningCount: number;
|
|
4280
|
+
reload: Subject<boolean>;
|
|
4281
|
+
private readonly RUNNING;
|
|
4282
|
+
private readonly ON_HOLD;
|
|
4283
|
+
private readonly BLOCKED;
|
|
4284
|
+
private readonly DONE;
|
|
4285
|
+
private readonly CANCELLED;
|
|
4286
|
+
priorities: {
|
|
4287
|
+
name: string;
|
|
4288
|
+
value: number;
|
|
4289
|
+
}[];
|
|
4290
|
+
assigneeKinds: {
|
|
4291
|
+
name: string;
|
|
4292
|
+
value: number;
|
|
4293
|
+
}[];
|
|
4294
|
+
formConfig: FormConfig;
|
|
4295
|
+
notesTableConfig: TableConfig;
|
|
4296
|
+
decisionsTableConfig: TableConfig;
|
|
4297
|
+
historyTableConfig: TableConfig;
|
|
4298
|
+
private statusButton;
|
|
4299
|
+
noteKinds: {
|
|
4300
|
+
name: string;
|
|
4301
|
+
value: number;
|
|
4302
|
+
}[];
|
|
4303
|
+
noteButton: Button;
|
|
4304
|
+
detailsConfig: DetailsDialogConfig;
|
|
4305
|
+
viewButton: Button;
|
|
4306
|
+
createButton: Button;
|
|
4307
|
+
boardTableConfig: TableConfig;
|
|
4308
|
+
ngOnInit(): void;
|
|
4309
|
+
private loadProjects;
|
|
4310
|
+
projectChanged(id: number): void;
|
|
4311
|
+
private loadBuckets;
|
|
4312
|
+
private setFieldOptions;
|
|
4313
|
+
private setFieldDefault;
|
|
4314
|
+
refresh(): void;
|
|
4315
|
+
boardLoaded(groups: any): void;
|
|
4316
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkBoardComponent, never>;
|
|
4317
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkBoardComponent, "spa-work-board", never, {}, {}, never, never, false, never>;
|
|
4318
|
+
}
|
|
4319
|
+
|
|
4320
|
+
declare class WorkDecisionsComponent implements OnInit {
|
|
4321
|
+
dataService: DataServiceLib;
|
|
4322
|
+
projects: {
|
|
4323
|
+
workProjectID: number;
|
|
4324
|
+
name: string;
|
|
4325
|
+
}[];
|
|
4326
|
+
projectID: number;
|
|
4327
|
+
projectName: string;
|
|
4328
|
+
loading: boolean;
|
|
4329
|
+
errorMessage: string;
|
|
4330
|
+
rowCount: number;
|
|
4331
|
+
reload: Subject<boolean>;
|
|
4332
|
+
ruleFormConfig: FormConfig;
|
|
4333
|
+
ruleButton: Button;
|
|
4334
|
+
viewFormConfig: FormConfig;
|
|
4335
|
+
viewDetailsConfig: DetailsDialogConfig;
|
|
4336
|
+
viewButton: Button;
|
|
4337
|
+
tableConfig: TableConfig;
|
|
4338
|
+
ngOnInit(): void;
|
|
4339
|
+
private loadProjects;
|
|
4340
|
+
projectChanged(id: number): void;
|
|
4341
|
+
private chipRoute;
|
|
4342
|
+
refresh(): void;
|
|
4343
|
+
decisionsLoaded(rows: any): void;
|
|
4344
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkDecisionsComponent, never>;
|
|
4345
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkDecisionsComponent, "spa-work-decisions", never, {}, {}, never, never, false, never>;
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
declare class WorkProjectsComponent implements OnInit {
|
|
4349
|
+
dataService: DataServiceLib;
|
|
4350
|
+
projects: {
|
|
4351
|
+
workProjectID: number;
|
|
4352
|
+
name: string;
|
|
4353
|
+
}[];
|
|
4354
|
+
projectID: number;
|
|
4355
|
+
projectName: string;
|
|
4356
|
+
loading: boolean;
|
|
4357
|
+
errorMessage: string;
|
|
4358
|
+
projectsReload: Subject<boolean>;
|
|
4359
|
+
bucketsReload: Subject<boolean>;
|
|
4360
|
+
colors: {
|
|
4361
|
+
name: string;
|
|
4362
|
+
value: string;
|
|
4363
|
+
}[];
|
|
4364
|
+
statuses: {
|
|
4365
|
+
name: string;
|
|
4366
|
+
value: number;
|
|
4367
|
+
}[];
|
|
4368
|
+
projectFormConfig: FormConfig;
|
|
4369
|
+
projectsTableConfig: TableConfig;
|
|
4370
|
+
bucketFormConfig: FormConfig;
|
|
4371
|
+
bucketsTableConfig: TableConfig;
|
|
4372
|
+
ngOnInit(): void;
|
|
4373
|
+
private loadProjects;
|
|
4374
|
+
boardChanged(id: number): void;
|
|
4375
|
+
projectsChanged(): void;
|
|
4376
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkProjectsComponent, never>;
|
|
4377
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkProjectsComponent, "spa-work-projects", never, {}, {}, never, never, false, never>;
|
|
4378
|
+
}
|
|
4379
|
+
|
|
4019
4380
|
declare class GeneralModule {
|
|
4020
4381
|
static ɵfac: i0.ɵɵFactoryDeclaration<GeneralModule, never>;
|
|
4021
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GeneralModule, [typeof TasksComponent], [typeof i2.CommonModule, typeof SpaAdminModule], never>;
|
|
4382
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GeneralModule, [typeof TasksComponent, typeof WorkNowComponent, typeof WorkBoardComponent, typeof WorkDecisionsComponent, typeof WorkProjectsComponent], [typeof i2.CommonModule, typeof i1.RouterModule, typeof SpaAdminModule], never>;
|
|
4022
4383
|
static ɵinj: i0.ɵɵInjectorDeclaration<GeneralModule>;
|
|
4023
4384
|
}
|
|
4024
4385
|
|
|
@@ -4158,9 +4519,9 @@ declare class WorkflowModule {
|
|
|
4158
4519
|
}
|
|
4159
4520
|
|
|
4160
4521
|
declare class OverviewDashboardComponent {
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4522
|
+
private dataService;
|
|
4523
|
+
constructor(dataService: DataServiceLib);
|
|
4524
|
+
dashboardConfig: DashboardConfig;
|
|
4164
4525
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverviewDashboardComponent, never>;
|
|
4165
4526
|
static ɵcmp: i0.ɵɵComponentDeclaration<OverviewDashboardComponent, "spa-overview-dashboard", never, {}, {}, never, never, false, never>;
|
|
4166
4527
|
}
|
|
@@ -4173,13 +4534,13 @@ declare class OverviewModule {
|
|
|
4173
4534
|
|
|
4174
4535
|
declare class SpaDayBookModule {
|
|
4175
4536
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpaDayBookModule, never>;
|
|
4176
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SpaDayBookModule, [typeof DayBookComponent], [typeof i2.CommonModule, typeof
|
|
4537
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpaDayBookModule, [typeof DayBookComponent], [typeof i2.CommonModule, typeof i62.SpaMatModule, typeof TinSpaModule], [typeof DayBookComponent]>;
|
|
4177
4538
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpaDayBookModule>;
|
|
4178
4539
|
}
|
|
4179
4540
|
|
|
4180
4541
|
declare class SetupModule {
|
|
4181
4542
|
static ɵfac: i0.ɵɵFactoryDeclaration<SetupModule, never>;
|
|
4182
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SetupModule, [typeof SetupGuideComponent, typeof AppConfigurationComponent, typeof ModulePickerComponent], [typeof i2.CommonModule, typeof
|
|
4543
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SetupModule, [typeof SetupGuideComponent, typeof AppConfigurationComponent, typeof ModulePickerComponent], [typeof i2.CommonModule, typeof i62.SpaMatModule, typeof TinSpaModule, typeof SpaDayBookModule], never>;
|
|
4183
4544
|
static ɵinj: i0.ɵɵInjectorDeclaration<SetupModule>;
|
|
4184
4545
|
}
|
|
4185
4546
|
|
|
@@ -4189,5 +4550,5 @@ declare class SpaHomeModule {
|
|
|
4189
4550
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpaHomeModule>;
|
|
4190
4551
|
}
|
|
4191
4552
|
|
|
4192
|
-
export { ActivityComponent, AdminModule, AlertComponent, AnalyticsService, AppConfigurationComponent, AppModelsComponent, AssetsService, AttachComponent, CapsulesComponent, ChangePasswordComponent, ChartsComponent, CheckComponent, ChecklistComponent, ChipsComponent, CreateAccountComponent, DateComponent, DatetimeComponent, DayBookComponent, DetailsDialog, DialogService, DocumentComponent, DocumentService, DocumentViewerDialogComponent, EditorComponent, EllipsisDirective, EmailComponent, ExportService, FeatureDirective, FieldLoadIndicator, FilterChipsComponent, FilterComponent, FormComponent, FormSkeletonComponent, GeneralModule, GridMenuComponent, GroupsComponent, HtmlComponent, ImportDialogComponent, InvitationsTableComponent, LabelComponent, ListDialogComponent, LoaderComponent, LoaderService, LogsComponent, MONOGRAM_TONES, MembershipComponent, MoneyComponent, MonogramComponent, NavMenuComponent, NotesComponent, NumberComponent, OfflineIndicatorComponent, OnboardingComponent, OptionComponent, OverviewDashboardComponent, OverviewModule, PageComponent, PasswordPolicyComponent, PasswordPolicyService, PerceivedProgress, PlansComponent, PreferencesComponent, ProfileComponent, ProgressRingComponent, PushNotificationService, QUIET_DELAY_MS, QUIET_MIN_MS, QuoteBuilderComponent, RecentMenuService, RolesComponent, SearchComponent, SelectBitwiseComponent, SelectComponent, SelectLiteComponent, SelectMultiComponent, SettingsComponent, SetupGuideComponent, SpaAdminModule, SpaDayBookModule, SpaHomeModule, SpaUserModule, StatusesComponent, StepsComponent, SyncComponent, TIN_SPA_MODULE_PROVIDERS, TabService, TableComponent, TableDialogComponent, TabsComponent, TasksComponent, TenancyModule, TenantTransferService, TenantsComponent, TextAreaComponent, TextMultiComponent, TextSingleComponent, TilesComponent, TinSpaComponent, TinSpaModule, TinSpaService, TitleActionsComponent, UpdateService, UserModule, UsersComponent, WelcomeComponent, WorkflowModule, authGuard, buildMeta, capabilityGuard, featureGuard, formatSize, iconFor, legacyOf, moduleGuard, monogramInitials, monogramKind, monogramPaletteIndex, readOnlyTableConfig, resolveQuietLoading };
|
|
4553
|
+
export { ActivityComponent, AdminModule, AlertComponent, AnalyticsService, AppConfigurationComponent, AppModelsComponent, AssetsService, AttachComponent, CapsulesComponent, ChangePasswordComponent, ChartsComponent, CheckComponent, ChecklistComponent, ChipsComponent, CreateAccountComponent, DashboardComponent, DateComponent, DatetimeComponent, DayBookComponent, DetailsDialog, DialogService, DocumentComponent, DocumentService, DocumentViewerDialogComponent, EditorComponent, EllipsisDirective, EmailComponent, ExportService, FeatureDirective, FieldLoadIndicator, FilterChipsComponent, FilterComponent, FormComponent, FormSkeletonComponent, GeneralModule, GridMenuComponent, GroupsComponent, HtmlComponent, ImportDialogComponent, InvitationsTableComponent, LabelComponent, ListDialogComponent, LoaderComponent, LoaderService, LogsComponent, MONOGRAM_TONES, MembershipComponent, MoneyComponent, MonogramComponent, NavMenuComponent, NotesComponent, NumberComponent, OfflineIndicatorComponent, OnboardingComponent, OptionComponent, OverviewDashboardComponent, OverviewModule, PageComponent, PasswordPolicyComponent, PasswordPolicyService, PerceivedProgress, PlansComponent, PreferencesComponent, ProfileComponent, ProgressRingComponent, PushNotificationService, QUIET_DELAY_MS, QUIET_MIN_MS, QuoteBuilderComponent, RecentMenuService, RolesComponent, SearchComponent, SelectBitwiseComponent, SelectComponent, SelectLiteComponent, SelectMultiComponent, SettingsComponent, SetupGuideComponent, SpaAdminModule, SpaDayBookModule, SpaHomeModule, SpaUserModule, StatusesComponent, StepsComponent, SyncComponent, TIN_SPA_MODULE_PROVIDERS, TabService, TableComponent, TableDialogComponent, TabsComponent, TasksComponent, TenancyModule, TenantTransferService, TenantsComponent, TextAreaComponent, TextMultiComponent, TextSingleComponent, TilesComponent, TinSpaComponent, TinSpaModule, TinSpaService, TitleActionsComponent, UpdateService, UserModule, UsersComponent, WelcomeComponent, WorkflowModule, authGuard, buildMeta, capabilityGuard, featureGuard, formatSize, iconFor, legacyOf, moduleGuard, monogramInitials, monogramKind, monogramPaletteIndex, readOnlyTableConfig, resolveQuietLoading };
|
|
4193
4554
|
export type { DayBookGroupView, DayBookSectionView, DocumentEntry, MonogramKind, PasswordPolicyDescription, PasswordRequirement, PerceivedProgressOptions, PosConfig, PosLine, PosProduct, PosSaleResult, PosTender, PosTotals, QuietLoadingHost, QuoteBuilderConfig, VisibleTab };
|