cat-documents-ng 0.3.54 → 0.3.55
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.
|
@@ -29,12 +29,16 @@ export declare class DocumentUploadComponent implements OnDestroy {
|
|
|
29
29
|
private dataService;
|
|
30
30
|
/** The context ID for the document upload operation */
|
|
31
31
|
contextId: string;
|
|
32
|
+
/** Whether to hide the form and show only upload functionality */
|
|
33
|
+
isFormHide: boolean;
|
|
32
34
|
/** Reference to the file upload component */
|
|
33
35
|
fileUploader: FileUpload;
|
|
34
36
|
/** Event emitted when form validation state changes */
|
|
35
37
|
onFormValidationChange: EventEmitter<void>;
|
|
36
38
|
/** Event emitted when upload is successful */
|
|
37
39
|
onUploadSuccess: EventEmitter<void>;
|
|
40
|
+
/** Event emitted when files are uploaded (for form-hidden mode) */
|
|
41
|
+
onFilesUploaded: EventEmitter<UploadedFile[]>;
|
|
38
42
|
/** Currently selected assignment type (Applicant or Application) */
|
|
39
43
|
selectedAssignmentType: 'Applicant' | 'Application' | null;
|
|
40
44
|
/** Currently selected applicant ID */
|
|
@@ -277,11 +281,20 @@ export declare class DocumentUploadComponent implements OnDestroy {
|
|
|
277
281
|
* @returns String with file extensions for the accept attribute
|
|
278
282
|
*/
|
|
279
283
|
getFileUploadAcceptString(): string;
|
|
284
|
+
/**
|
|
285
|
+
* Gets the uploaded files data for external use (useful when form is hidden)
|
|
286
|
+
* @returns Array of uploaded files with their metadata
|
|
287
|
+
*/
|
|
288
|
+
getUploadedFiles(): UploadedFile[];
|
|
289
|
+
/**
|
|
290
|
+
* Resets the upload component to its initial state (useful when form is hidden)
|
|
291
|
+
*/
|
|
292
|
+
resetUpload(): void;
|
|
280
293
|
/**
|
|
281
294
|
* Lifecycle hook that is called when component is destroyed.
|
|
282
295
|
* Cleans up subscriptions and destroys services.
|
|
283
296
|
*/
|
|
284
297
|
ngOnDestroy(): void;
|
|
285
298
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentUploadComponent, never>;
|
|
286
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentUploadComponent, "lib-document-upload", never, { "contextId": { "alias": "contextId"; "required": false; }; }, { "onFormValidationChange": "onFormValidationChange"; "onUploadSuccess": "onUploadSuccess"; }, never, never, false, never>;
|
|
299
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentUploadComponent, "lib-document-upload", never, { "contextId": { "alias": "contextId"; "required": false; }; "isFormHide": { "alias": "isFormHide"; "required": false; }; }, { "onFormValidationChange": "onFormValidationChange"; "onUploadSuccess": "onUploadSuccess"; "onFilesUploaded": "onFilesUploaded"; }, never, never, false, never>;
|
|
287
300
|
}
|
|
@@ -54,6 +54,6 @@ import * as i46 from "primeng/message";
|
|
|
54
54
|
*/
|
|
55
55
|
export declare class DocumentModule {
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentModule, never>;
|
|
57
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DocumentModule, [typeof i1.DocumentContainerComponent, typeof i2.FolderContainerComponent, typeof i3.FolderBlockComponent, typeof i4.DocumentListComponent, typeof i5.DocumentListItemComponent, typeof i6.DocumentUploadComponent, typeof i7.DocumentViewerComponent, typeof i8.DocumentHistoryComponent, typeof i9.DocumentContentViewerComponent, typeof i10.DocumentZoomControlsComponent, typeof i11.DocumentDirective, typeof i12.LinkedDocumentComponent, typeof i13.DocumentsMenuComponent, typeof i14.UserListComponent, typeof i15.DocumentStatusComponent, typeof i16.DocumentActionsComponent, typeof i17.DocumentSearchComponent, typeof i18.SidebarComponent], [typeof i19.CommonModule, typeof i20.AccordionModule, typeof i21.HttpClientModule, typeof i22.ButtonModule, typeof i23.SidebarModule, typeof i24.FileUploadModule, typeof i25.ProgressBarModule, typeof i26.BadgeModule, typeof i27.ListboxModule, typeof i28.CheckboxModule, typeof i29.RadioButtonModule, typeof i30.TimelineModule, typeof i31.InputTextareaModule, typeof i32.FormsModule, typeof i33.PdfViewerModule, typeof i34.NgxDocViewerModule, typeof i35.DialogModule, typeof i36.DropdownModule, typeof i37.InputTextModule, typeof i38.MenuModule, typeof i39.PanelMenuModule, typeof i40.CardModule, typeof i41.TableModule, typeof i42.SharedModule, typeof i31.InputTextareaModule, typeof i43.ToastModule, typeof i44.TooltipModule, typeof i45.MessagesModule, typeof i46.MessageModule], [typeof i1.DocumentContainerComponent, typeof i7.DocumentViewerComponent, typeof i9.DocumentContentViewerComponent, typeof i10.DocumentZoomControlsComponent, typeof i16.DocumentActionsComponent, typeof i4.DocumentListComponent, typeof i11.DocumentDirective, typeof i17.DocumentSearchComponent, typeof i18.SidebarComponent]>;
|
|
57
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DocumentModule, [typeof i1.DocumentContainerComponent, typeof i2.FolderContainerComponent, typeof i3.FolderBlockComponent, typeof i4.DocumentListComponent, typeof i5.DocumentListItemComponent, typeof i6.DocumentUploadComponent, typeof i7.DocumentViewerComponent, typeof i8.DocumentHistoryComponent, typeof i9.DocumentContentViewerComponent, typeof i10.DocumentZoomControlsComponent, typeof i11.DocumentDirective, typeof i12.LinkedDocumentComponent, typeof i13.DocumentsMenuComponent, typeof i14.UserListComponent, typeof i15.DocumentStatusComponent, typeof i16.DocumentActionsComponent, typeof i17.DocumentSearchComponent, typeof i18.SidebarComponent], [typeof i19.CommonModule, typeof i20.AccordionModule, typeof i21.HttpClientModule, typeof i22.ButtonModule, typeof i23.SidebarModule, typeof i24.FileUploadModule, typeof i25.ProgressBarModule, typeof i26.BadgeModule, typeof i27.ListboxModule, typeof i28.CheckboxModule, typeof i29.RadioButtonModule, typeof i30.TimelineModule, typeof i31.InputTextareaModule, typeof i32.FormsModule, typeof i33.PdfViewerModule, typeof i34.NgxDocViewerModule, typeof i35.DialogModule, typeof i36.DropdownModule, typeof i37.InputTextModule, typeof i38.MenuModule, typeof i39.PanelMenuModule, typeof i40.CardModule, typeof i41.TableModule, typeof i42.SharedModule, typeof i31.InputTextareaModule, typeof i43.ToastModule, typeof i44.TooltipModule, typeof i45.MessagesModule, typeof i46.MessageModule], [typeof i1.DocumentContainerComponent, typeof i7.DocumentViewerComponent, typeof i9.DocumentContentViewerComponent, typeof i10.DocumentZoomControlsComponent, typeof i16.DocumentActionsComponent, typeof i4.DocumentListComponent, typeof i6.DocumentUploadComponent, typeof i11.DocumentDirective, typeof i17.DocumentSearchComponent, typeof i18.SidebarComponent]>;
|
|
58
58
|
static ɵinj: i0.ɵɵInjectorDeclaration<DocumentModule>;
|
|
59
59
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './lib/document/document.module';
|
|
2
2
|
export * from './lib/document/components/document-container/document-container.component';
|
|
3
|
+
export * from './lib/document/components/document-upload/document-upload.component';
|
|
3
4
|
export * from './lib/document/components/document-viewer/document-viewer.component';
|
|
4
5
|
export * from './lib/document/components/document-content-viewer/document-content-viewer.component';
|
|
5
6
|
export * from './lib/document/components/document-zoom-controls/document-zoom-controls.component';
|