@gloww/gloww 20.0.0-beta.41 → 20.0.0-beta.44
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/fesm2022/gloww-gloww.mjs +531 -2
- package/fesm2022/gloww-gloww.mjs.map +1 -1
- package/index.d.ts +81 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1089,6 +1089,83 @@ declare class CallbackDirective {
|
|
|
1089
1089
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CallbackDirective, "[glowwCallback]", never, {}, {}, never, never, true, never>;
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
+
type UserTaskExecutionStep = {
|
|
1093
|
+
ExecutionID?: number;
|
|
1094
|
+
ProcessStepID?: string | number;
|
|
1095
|
+
HasAsExecution?: {
|
|
1096
|
+
DefinitionID?: string;
|
|
1097
|
+
ProcessID?: number;
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
type UserTask = {
|
|
1101
|
+
Title?: string;
|
|
1102
|
+
DialogTitle?: string;
|
|
1103
|
+
MESSAGE?: string;
|
|
1104
|
+
MESSAGE2?: string;
|
|
1105
|
+
Category?: string;
|
|
1106
|
+
Statut?: string;
|
|
1107
|
+
RepliedBY?: string;
|
|
1108
|
+
Form?: string;
|
|
1109
|
+
FormType?: string;
|
|
1110
|
+
CHOICES?: string;
|
|
1111
|
+
JSINFO?: string;
|
|
1112
|
+
VARIABLES?: string;
|
|
1113
|
+
USERTASKID?: number;
|
|
1114
|
+
ProcessStepID?: number;
|
|
1115
|
+
HasAsExecutionStep?: UserTaskExecutionStep;
|
|
1116
|
+
};
|
|
1117
|
+
type UserTaskAssignment = {
|
|
1118
|
+
AssignmentID: number;
|
|
1119
|
+
UserTaskId?: number;
|
|
1120
|
+
Domain?: string;
|
|
1121
|
+
Username?: string;
|
|
1122
|
+
Responsible?: boolean;
|
|
1123
|
+
STATUT?: string;
|
|
1124
|
+
Category?: string;
|
|
1125
|
+
IsCandidate?: UserTask;
|
|
1126
|
+
};
|
|
1127
|
+
declare class AssignedUserTasksComponent implements OnInit {
|
|
1128
|
+
private readonly glowwService;
|
|
1129
|
+
private readonly authenticationService;
|
|
1130
|
+
private readonly i18n;
|
|
1131
|
+
private readonly dialog;
|
|
1132
|
+
sort: MatSort;
|
|
1133
|
+
paginator: MatPaginator;
|
|
1134
|
+
displayedColumns: string[];
|
|
1135
|
+
dataSource: MatTableDataSource<UserTaskAssignment, MatPaginator>;
|
|
1136
|
+
loading: boolean;
|
|
1137
|
+
errorMessage: string;
|
|
1138
|
+
respondingTaskId?: number;
|
|
1139
|
+
constructor(glowwService: GlowwService & {
|
|
1140
|
+
searchBPMN2_UserTask_Assignment: (obj?: any) => any;
|
|
1141
|
+
getBPMN2_UserTask: (userTaskId: number) => any;
|
|
1142
|
+
putBPMN2_UserTask: (userTaskId: number, obj: any) => any;
|
|
1143
|
+
}, authenticationService: AuthenticationService, i18n: GlowwI18nService, dialog: MatDialog);
|
|
1144
|
+
ngOnInit(): void;
|
|
1145
|
+
ngAfterViewInit(): void;
|
|
1146
|
+
t(key: string, fallback: string): string;
|
|
1147
|
+
loadAssignments(): void;
|
|
1148
|
+
respondToTask(taskAssignment: UserTaskAssignment): Promise<void>;
|
|
1149
|
+
getTaskLabel(taskAssignment: UserTaskAssignment): string;
|
|
1150
|
+
getDefinitionLabel(taskAssignment: UserTaskAssignment): string;
|
|
1151
|
+
getStatusLabel(taskAssignment: UserTaskAssignment): string;
|
|
1152
|
+
getAssignmentLabel(taskAssignment: UserTaskAssignment): string;
|
|
1153
|
+
canRespond(taskAssignment: UserTaskAssignment): boolean;
|
|
1154
|
+
private buildQuery;
|
|
1155
|
+
private getSortValue;
|
|
1156
|
+
private buildDialogData;
|
|
1157
|
+
private parseChoices;
|
|
1158
|
+
private normalizeChoice;
|
|
1159
|
+
private parseMaybeJson;
|
|
1160
|
+
private parseVariables;
|
|
1161
|
+
private normalizeFields;
|
|
1162
|
+
private normalizeField;
|
|
1163
|
+
private resolveExternalConfig;
|
|
1164
|
+
private looksLikeUrl;
|
|
1165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssignedUserTasksComponent, never>;
|
|
1166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssignedUserTasksComponent, "glw-assigned-user-tasks", never, {}, {}, never, never, true, never>;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1092
1169
|
declare abstract class BaseCollectionComponent {
|
|
1093
1170
|
private _formBuilder;
|
|
1094
1171
|
filterform: FormGroup;
|
|
@@ -1107,13 +1184,13 @@ declare class HasUnsavedDataGuard {
|
|
|
1107
1184
|
static ɵprov: i0.ɵɵInjectableDeclaration<HasUnsavedDataGuard>;
|
|
1108
1185
|
}
|
|
1109
1186
|
|
|
1110
|
-
declare const GLOWW_STANDALONE_DECLARATIONS: readonly [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent];
|
|
1111
|
-
declare const GLOWW_MODULE_EXPORTS: readonly [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent, typeof MatDatepickerModule, typeof NgxMatDatetimePickerModule, typeof NgxMatTimepickerComponent, typeof NgxMatNativeDateModule];
|
|
1187
|
+
declare const GLOWW_STANDALONE_DECLARATIONS: readonly [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof AssignedUserTasksComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent];
|
|
1188
|
+
declare const GLOWW_MODULE_EXPORTS: readonly [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof AssignedUserTasksComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent, typeof MatDatepickerModule, typeof NgxMatDatetimePickerModule, typeof NgxMatTimepickerComponent, typeof NgxMatNativeDateModule];
|
|
1112
1189
|
declare function provideGloww(folderServiceConfig?: FolderServiceConfig): EnvironmentProviders;
|
|
1113
1190
|
declare class GlowwModule {
|
|
1114
1191
|
static forRoot(folderServiceConfig?: FolderServiceConfig): ModuleWithProviders<GlowwModule>;
|
|
1115
1192
|
static ɵfac: i0.ɵɵFactoryDeclaration<GlowwModule, never>;
|
|
1116
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwModule, never, [typeof i1.CommonModule, typeof i10.RouterModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof _angular_material_dialog.MatDialogModule, typeof i6.MatInputModule, typeof i6$1.MatIconModule, typeof i4.MatButtonModule, typeof i8.MatCardModule, typeof i9.MatProgressSpinnerModule, typeof i10$1.MatProgressBarModule, typeof i11.MatTableModule, typeof i12.MatSelectModule, typeof i13.MatPaginatorModule, typeof i14.MatSortModule, typeof i9.MatProgressSpinnerModule, typeof i15.MatAutocompleteModule, typeof i16.CodemirrorModule, typeof i17.AngularEditorModule, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule, typeof i20.DragDropModule, typeof i21.AngularResizeEventModule, typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent], [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule]>;
|
|
1193
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwModule, never, [typeof i1.CommonModule, typeof i10.RouterModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof _angular_material_dialog.MatDialogModule, typeof i6.MatInputModule, typeof i6$1.MatIconModule, typeof i4.MatButtonModule, typeof i8.MatCardModule, typeof i9.MatProgressSpinnerModule, typeof i10$1.MatProgressBarModule, typeof i11.MatTableModule, typeof i12.MatSelectModule, typeof i13.MatPaginatorModule, typeof i14.MatSortModule, typeof i9.MatProgressSpinnerModule, typeof i15.MatAutocompleteModule, typeof i16.CodemirrorModule, typeof i17.AngularEditorModule, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule, typeof i20.DragDropModule, typeof i21.AngularResizeEventModule, typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof AssignedUserTasksComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent], [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof AssignedUserTasksComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule]>;
|
|
1117
1194
|
static ɵinj: i0.ɵɵInjectorDeclaration<GlowwModule>;
|
|
1118
1195
|
}
|
|
1119
1196
|
|
|
@@ -1162,5 +1239,5 @@ declare class GlowwValidators {
|
|
|
1162
1239
|
} | null;
|
|
1163
1240
|
}
|
|
1164
1241
|
|
|
1165
|
-
export { API_SERVER_URL, AdministratorGuard, AuthGuard, AuthenticationService, AuthenticationServiceConfig, AutoCompleteComponent, BaseCollectionComponent, CallbackDirective, ChangePasswordDlgComponent, CodeEditorComponent, ConfirmationComponent, ConfirmationModel, DatetimeComponent, DialogService, DisplayObjectsComponent, DownloadProgressComponent, DummyComponent, ErrorInterceptor, FileEditComponent, FileSinkDirective, FilterFormComponent, FolderService, FolderServiceConfig, FoldersComponent, GLOWW_APPLI, GLOWW_MODULE_EXPORTS, GLOWW_SECURITY_STANDALONE_DECLARATIONS, GLOWW_STANDALONE_DECLARATIONS, GlowwModule, GlowwSecurityModule, GlowwSecurityService, GlowwService, GlowwValidators, HasUnsavedDataGuard, HeaderComponent, HtmlEditorComponent, HtmlFormatPipe, JwtInterceptor, LoginComponent, MenuListItemComponent, NavService, PromptComponent, PromptModel, ResultTableComponent, RouteDirective, SafeHtmlPipe, SearchFormComponent, SecureAComponent, SecureImgComponent, SecurePipe, SelectComponent, SocialNetworkComponent, SocialNetworkDlgComponent, StagingInterceptor, UploadDocComponent, UploadFileComponent, UserMenuComponent, VersionCheckService, VoiceRecognitionService, provideGloww, provideGlowwSecurity };
|
|
1242
|
+
export { API_SERVER_URL, AdministratorGuard, AssignedUserTasksComponent, AuthGuard, AuthenticationService, AuthenticationServiceConfig, AutoCompleteComponent, BaseCollectionComponent, CallbackDirective, ChangePasswordDlgComponent, CodeEditorComponent, ConfirmationComponent, ConfirmationModel, DatetimeComponent, DialogService, DisplayObjectsComponent, DownloadProgressComponent, DummyComponent, ErrorInterceptor, FileEditComponent, FileSinkDirective, FilterFormComponent, FolderService, FolderServiceConfig, FoldersComponent, GLOWW_APPLI, GLOWW_MODULE_EXPORTS, GLOWW_SECURITY_STANDALONE_DECLARATIONS, GLOWW_STANDALONE_DECLARATIONS, GlowwModule, GlowwSecurityModule, GlowwSecurityService, GlowwService, GlowwValidators, HasUnsavedDataGuard, HeaderComponent, HtmlEditorComponent, HtmlFormatPipe, JwtInterceptor, LoginComponent, MenuListItemComponent, NavService, PromptComponent, PromptModel, ResultTableComponent, RouteDirective, SafeHtmlPipe, SearchFormComponent, SecureAComponent, SecureImgComponent, SecurePipe, SelectComponent, SocialNetworkComponent, SocialNetworkDlgComponent, StagingInterceptor, UploadDocComponent, UploadFileComponent, UserMenuComponent, VersionCheckService, VoiceRecognitionService, provideGloww, provideGlowwSecurity };
|
|
1166
1243
|
export type { Action, DirectoryContent, IHasUnsavedData, NavItem };
|