cat-documents-ng 0.2.40 → 0.2.42

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.
@@ -7,6 +7,7 @@ export declare class TablePrimaryComponent implements OnChanges {
7
7
  showHeader: boolean;
8
8
  tableStyle: any;
9
9
  rowClick: EventEmitter<any>;
10
+ deleteAction: EventEmitter<any>;
10
11
  processedData: ProcessedRowData[];
11
12
  readonly SHARED: typeof SHARED;
12
13
  ngOnChanges(changes: SimpleChanges): void;
@@ -17,5 +18,5 @@ export declare class TablePrimaryComponent implements OnChanges {
17
18
  onActionClick(event: Event, rowData: any): void;
18
19
  onRowClick(rowData: any): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TablePrimaryComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<TablePrimaryComponent, "lib-table-primary", never, { "tableData": { "alias": "tableData"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; }, { "rowClick": "rowClick"; }, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TablePrimaryComponent, "lib-table-primary", never, { "tableData": { "alias": "tableData"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; }, { "rowClick": "rowClick"; "deleteAction": "deleteAction"; }, never, never, false, never>;
21
22
  }
@@ -11,6 +11,7 @@ export declare class SHARED {
11
11
  * Represents the info.
12
12
  */
13
13
  static HIDDEN: string;
14
+ static DOCUMENT_TYPES_DELETE: string;
14
15
  /**
15
16
  * Represents the info.
16
17
  */
@@ -271,6 +272,40 @@ export declare class SHARED {
271
272
  static DOCUMENT_UPLOADED: string;
272
273
  static DOCUMENT_REJECTED: string;
273
274
  static DOCUMENT_ACCEPTED: string;
275
+ static ACCEPT_ACTION: string;
276
+ static REJECT_ACTION: string;
277
+ static DELETE_ACTION: string;
278
+ static ACCEPT_CONFIRM_HEADER: string;
279
+ static REJECT_CONFIRM_HEADER: string;
280
+ static ACCEPT_NOTE_LABEL: string;
281
+ static REJECT_NOTE_LABEL: string;
282
+ static ACCEPT_NOTE_PLACEHOLDER: string;
283
+ static REJECT_NOTE_PLACEHOLDER: string;
284
+ static CANCEL_BUTTON_LABEL: string;
285
+ static ACCEPT_BUTTON_LABEL: string;
286
+ static REJECT_BUTTON_LABEL: string;
287
+ static DOCUMENT_ACCEPTED_MESSAGE: string;
288
+ static DOCUMENT_REJECTED_MESSAGE: string;
289
+ static DOCUMENT_UPDATE_ERROR_MESSAGE: string;
290
+ static STATUS_APPROVED: string;
291
+ static STATUS_REJECTED: string;
292
+ static STATUS_PENDING: string;
293
+ static STATUS_ACCEPTED: string;
294
+ static STATUS_REJECTED_LOWERCASE: string;
295
+ static STATUS_DECLINED: string;
296
+ static CARD_PENDING: string;
297
+ static CARD_ACCEPTED: string;
298
+ static CARD_REJECTED: string;
299
+ static BUTTON_SECONDARY_REJECT: string;
300
+ static BUTTON_PRIMARY_REJECT: string;
301
+ static BUTTON_DEFAULT_REJECT: string;
302
+ static BUTTON_PRIMARY_ACCEPT: string;
303
+ static BUTTON_SECONDARY_ACCEPT: string;
304
+ static BUTTON_DEFAULT_ACCEPT: string;
305
+ static BUTTON_LABEL_REJECT: string;
306
+ static BUTTON_LABEL_REJECTED: string;
307
+ static BUTTON_LABEL_ACCEPT: string;
308
+ static BUTTON_LABEL_ACCEPTED: string;
274
309
  }
275
310
  /**
276
311
  * `DUMMYDOCUMENTLIST` is a mock list of document objects used for testing and development purposes.
@@ -19,6 +19,13 @@ export declare class URLS {
19
19
  * @type {string}
20
20
  */
21
21
  static DOCUMENT_UPLOAD: string;
22
+ /**
23
+ * The URL endpoint for document uploads.
24
+ * Used to send documents to the server for storage or processing.
25
+ * @static
26
+ * @type {string}
27
+ */
28
+ static DOCUMENTS: string;
22
29
  /**
23
30
  * The URL endpoint for document uploads.
24
31
  * Used to send documents to the server for storage or processing.
@@ -80,4 +87,5 @@ export declare class URLS {
80
87
  static GETALL: string;
81
88
  static DOCUMENT_LIST: string;
82
89
  static DOCUMENT_HISTORY: string;
90
+ static DELETE_DOCUMENT: string;
83
91
  }
@@ -1,11 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./components/table-primary/table-primary.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "primeng/table";
5
- import * as i4 from "primeng/button";
6
- import * as i5 from "primeng/ripple";
3
+ import * as i2 from "../lib/document/directives/permission.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "primeng/table";
6
+ import * as i5 from "primeng/button";
7
+ import * as i6 from "primeng/ripple";
7
8
  export declare class SharedModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.TablePrimaryComponent], [typeof i2.CommonModule, typeof i3.TableModule, typeof i4.ButtonModule, typeof i5.RippleModule], [typeof i1.TablePrimaryComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.TablePrimaryComponent, typeof i2.HasPermissionDirective], [typeof i3.CommonModule, typeof i4.TableModule, typeof i5.ButtonModule, typeof i6.RippleModule], [typeof i1.TablePrimaryComponent, typeof i2.HasPermissionDirective]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
11
12
  }