nuxeo-development-framework 4.1.7 → 4.1.9

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,12 +1,14 @@
1
- import { TranslateService } from "@ngx-translate/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
- import { Subscription } from "rxjs";
4
- import { FormGroup } from "@angular/forms";
5
- import { OnInit, OnDestroy } from "@angular/core";
6
- import { PublishingDocumentService } from "../../../../shared-services/publishing-document.service";
7
- import { CustomToastrService } from "../../../custom-toastr/services/custom-toastr.service";
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { Subscription } from 'rxjs';
4
+ import { FormGroup } from '@angular/forms';
5
+ import { OnInit, OnDestroy, Injector } from '@angular/core';
6
+ import { PublishingDocumentService } from '../../../../shared-services/publishing-document.service';
7
+ import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
8
+ import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
9
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
8
10
  import * as i0 from "@angular/core";
9
- export declare class PublishDialogComponent implements OnInit, OnDestroy {
11
+ export declare class PublishDialogComponent extends BaseDialogComponent<PublishDialogComponent, any, any> implements OnInit, OnDestroy {
10
12
  private publishing;
11
13
  private dialogRef;
12
14
  data: any;
@@ -26,11 +28,11 @@ export declare class PublishDialogComponent implements OnInit, OnDestroy {
26
28
  isSelectThisBefor: boolean;
27
29
  publishinpPlaces: any;
28
30
  showpublishingLoader: boolean;
29
- constructor(publishing: PublishingDocumentService, dialogRef: MatDialogRef<PublishDialogComponent>, data: any, tosterService: CustomToastrService, translate: TranslateService);
31
+ constructor(publishing: PublishingDocumentService, dialogRef: MatDialogRef<PublishDialogComponent>, data: any, tosterService: CustomToastrService, translate: TranslateService, injector: Injector);
30
32
  ngOnInit(): void;
31
33
  getPublishedPlaces(): void;
32
34
  close(): void;
33
- publish(): void;
35
+ publish: DialogActionType;
34
36
  ngOnDestroy(): void;
35
37
  static ɵfac: i0.ɵɵFactoryDeclaration<PublishDialogComponent, never>;
36
38
  static ɵcmp: i0.ɵɵComponentDeclaration<PublishDialogComponent, "app-publish-dialog", never, {}, {}, never, never>;
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { Injector, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
@@ -10,20 +10,22 @@ import { AdapterService } from '../../../../core/adapters/adapter.service';
10
10
  import { TranslationService } from '../../../../core/services/translation/translation.service';
11
11
  import { DateHelperService } from '../../../hijri-gregorian-datepicker/services/date-helper.service';
12
12
  import { DocumentsService } from '../../../documents/services/documents.service';
13
+ import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
14
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
13
15
  import * as i0 from "@angular/core";
14
- export declare class UpdateModalComponent implements OnInit {
16
+ export declare class UpdateModalComponent extends BaseDialogComponent<UpdateModalComponent, any, any> implements OnInit {
15
17
  data: any;
16
18
  environment: any;
17
19
  private dialogRef;
18
20
  private fileMangerService;
19
21
  private tosterService;
20
- private formBuilder;
22
+ formBuilder: FormBuilder;
21
23
  private appConfService;
22
24
  private dynamicFormService;
23
- private adapter;
25
+ adapter: AdapterService;
24
26
  private translationService;
25
27
  private dateHelperService;
26
- private documentService;
28
+ documentService: DocumentsService;
27
29
  type: any;
28
30
  dynamicForm: any;
29
31
  temporaryDyanmicData: {};
@@ -38,7 +40,6 @@ export declare class UpdateModalComponent implements OnInit {
38
40
  fileFormSubscription: Subscription;
39
41
  agencyCategCodeSubscription: Subscription;
40
42
  countryCategCodeSubscription: Subscription;
41
- isArabic: boolean;
42
43
  showStaticForm: boolean;
43
44
  usingExtraFields: boolean;
44
45
  staticFormFields: any;
@@ -174,14 +175,14 @@ export declare class UpdateModalComponent implements OnInit {
174
175
  translatedDocumentType: any;
175
176
  code: any;
176
177
  KeyUpEvent(event: KeyboardEvent): void;
177
- constructor(data: any, environment: any, dialogRef: MatDialogRef<UpdateModalComponent>, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, appConfService: AppConfigService, dynamicFormService: DynamicFormService, adapter: AdapterService, translationService: TranslationService, dateHelperService: DateHelperService, documentService: DocumentsService);
178
+ constructor(data: any, environment: any, dialogRef: MatDialogRef<UpdateModalComponent>, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, appConfService: AppConfigService, dynamicFormService: DynamicFormService, adapter: AdapterService, translationService: TranslationService, dateHelperService: DateHelperService, documentService: DocumentsService, injector: Injector);
178
179
  customeHeader: string;
179
180
  userSelectorKeys: any[];
180
181
  ngOnInit(): void;
181
182
  initiatfileForm(): void;
182
183
  ondynamicFormChange(dynamicData: any): void;
183
184
  closeDialog(): void;
184
- UpdateDocument(): void;
185
+ UpdateDocument: DialogActionType;
185
186
  constructPayLoad(dynamicValues: any, staticForm: any): {
186
187
  type: any;
187
188
  name: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "4.1.7",
3
+ "version": "4.1.9",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",