cat-documents-ng 0.2.88 → 0.2.90

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.
@@ -1,7 +1,8 @@
1
- import { EventEmitter, OnDestroy, Injector } from '@angular/core';
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
+ import { ConfirmationDialogComponent, ConfirmationOptions } from '../../../../Shared/components/confirmation-dialog/confirmation-dialog.component';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class SidebarComponent implements OnDestroy {
4
- private injector;
5
+ confirmationDialog: ConfirmationDialogComponent;
5
6
  set visible(value: boolean);
6
7
  get visible(): boolean;
7
8
  private _visible;
@@ -33,8 +34,8 @@ export declare class SidebarComponent implements OnDestroy {
33
34
  showSuccessMessage: boolean;
34
35
  showErrorMessage: boolean;
35
36
  private destroy$;
36
- private confirmationService;
37
- constructor(injector: Injector);
37
+ unsavedChangesConfirmationOptions: ConfirmationOptions;
38
+ constructor();
38
39
  /**
39
40
  * Handles the onHide event from PrimeNG sidebar
40
41
  */
@@ -39,8 +39,9 @@ import * as i37 from "primeng/card";
39
39
  import * as i38 from "primeng/table";
40
40
  import * as i39 from "../../Shared/shared.module";
41
41
  import * as i40 from "primeng/toast";
42
- import * as i41 from "primeng/confirmdialog";
43
- import * as i42 from "primeng/tooltip";
42
+ import * as i41 from "primeng/tooltip";
43
+ import * as i42 from "primeng/messages";
44
+ import * as i43 from "primeng/message";
44
45
  /**
45
46
  * @module DocumentModule
46
47
  *
@@ -50,6 +51,6 @@ import * as i42 from "primeng/tooltip";
50
51
  */
51
52
  export declare class DocumentModule {
52
53
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentModule, never>;
53
- 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.DocumentDirective, typeof i10.LinkedDocumentComponent, typeof i11.DocumentsMenuComponent, typeof i12.UserListComponent, typeof i13.DocumentStatusComponent, typeof i14.DocumentActionsComponent, typeof i15.DocumentSearchComponent, typeof i16.SidebarComponent], [typeof i17.CommonModule, typeof i18.AccordionModule, typeof i19.HttpClientModule, typeof i20.ButtonModule, typeof i21.SidebarModule, typeof i22.FileUploadModule, typeof i23.ProgressBarModule, typeof i24.BadgeModule, typeof i25.ListboxModule, typeof i26.CheckboxModule, typeof i27.RadioButtonModule, typeof i28.TimelineModule, typeof i29.InputTextareaModule, typeof i30.FormsModule, typeof i31.PdfViewerModule, typeof i32.DialogModule, typeof i33.DropdownModule, typeof i34.InputTextModule, typeof i35.MenuModule, typeof i36.PanelMenuModule, typeof i37.CardModule, typeof i38.TableModule, typeof i39.SharedModule, typeof i29.InputTextareaModule, typeof i40.ToastModule, typeof i41.ConfirmDialogModule, typeof i42.TooltipModule], [typeof i1.DocumentContainerComponent, typeof i7.DocumentViewerComponent, typeof i14.DocumentActionsComponent, typeof i4.DocumentListComponent, typeof i9.DocumentDirective, typeof i15.DocumentSearchComponent, typeof i16.SidebarComponent]>;
54
+ 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.DocumentDirective, typeof i10.LinkedDocumentComponent, typeof i11.DocumentsMenuComponent, typeof i12.UserListComponent, typeof i13.DocumentStatusComponent, typeof i14.DocumentActionsComponent, typeof i15.DocumentSearchComponent, typeof i16.SidebarComponent], [typeof i17.CommonModule, typeof i18.AccordionModule, typeof i19.HttpClientModule, typeof i20.ButtonModule, typeof i21.SidebarModule, typeof i22.FileUploadModule, typeof i23.ProgressBarModule, typeof i24.BadgeModule, typeof i25.ListboxModule, typeof i26.CheckboxModule, typeof i27.RadioButtonModule, typeof i28.TimelineModule, typeof i29.InputTextareaModule, typeof i30.FormsModule, typeof i31.PdfViewerModule, typeof i32.DialogModule, typeof i33.DropdownModule, typeof i34.InputTextModule, typeof i35.MenuModule, typeof i36.PanelMenuModule, typeof i37.CardModule, typeof i38.TableModule, typeof i39.SharedModule, typeof i29.InputTextareaModule, typeof i40.ToastModule, typeof i41.TooltipModule, typeof i42.MessagesModule, typeof i43.MessageModule], [typeof i1.DocumentContainerComponent, typeof i7.DocumentViewerComponent, typeof i14.DocumentActionsComponent, typeof i4.DocumentListComponent, typeof i9.DocumentDirective, typeof i15.DocumentSearchComponent, typeof i16.SidebarComponent]>;
54
55
  static ɵinj: i0.ɵɵInjectorDeclaration<DocumentModule>;
55
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-documents-ng",
3
- "version": "0.2.88",
3
+ "version": "0.2.90",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
@@ -0,0 +1,23 @@
1
+ /* Global styles for cat-document-lib to ensure proper z-index stacking */
2
+
3
+ /* Ensure PrimeNG components have proper z-index values */
4
+ .p-confirm-dialog {
5
+ z-index: 10001 !important;
6
+ }
7
+
8
+ .p-dialog-mask {
9
+ z-index: 10000 !important;
10
+ }
11
+
12
+ .p-confirm-dialog-mask {
13
+ z-index: 10000 !important;
14
+ }
15
+
16
+ .p-sidebar {
17
+ z-index: 10000 !important;
18
+ }
19
+
20
+ /* Ensure backdrop is visible */
21
+ .custom-sidebar-backdrop {
22
+ z-index: 9999 !important;
23
+ }