@wemake4u/form-player-se 1.0.49 → 1.0.50

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,19 +1,17 @@
1
- import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { SirioDatepickerComponent } from 'ngx-sirio-lib';
3
3
  import * as i0 from "@angular/core";
4
- export declare class DateDirective implements OnChanges, AfterViewInit {
4
+ export declare class DateDirective implements OnChanges {
5
5
  private sirioDatepicker;
6
6
  pick: any;
7
7
  minDate: any;
8
8
  maxDate: any;
9
9
  constructor(sirioDatepicker: SirioDatepickerComponent);
10
10
  ngOnChanges(changes: SimpleChanges): void;
11
- ngAfterViewInit(): void;
12
- private displayFormat;
13
- private configurePicker;
14
11
  private getPickLevel;
15
- private getDate;
16
12
  private getDisplayFormat;
13
+ private onOpenCalendar;
14
+ private getDate;
17
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DateDirective, [{ host: true; }]>;
18
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<DateDirective, "[isoDate]", never, { "pick": { "alias": "pick"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, {}, never, never, true, never>;
19
17
  }
@@ -19,6 +19,9 @@ export declare class DropdownDirective implements AfterViewInit, OnDestroy {
19
19
  private handleSearchable;
20
20
  private handleOptionsChanges;
21
21
  private handleOptionSelected;
22
+ private getPanelElementRef;
23
+ private getDropDownElement;
24
+ private getDropDownMenuElement;
22
25
  private canValidate;
23
26
  private validator;
24
27
  private addValidator;
@@ -33,8 +36,8 @@ export declare class DropdownDirective implements AfterViewInit, OnDestroy {
33
36
  private isHidden;
34
37
  private show;
35
38
  private comparable;
36
- private scrollDown;
37
- private scrollUp;
39
+ private doSerach;
40
+ private scroll;
38
41
  private findPreviousVisibleOption;
39
42
  private findNextVisibleOption;
40
43
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDirective, [null, null, null, null, { host: true; }]>;
@@ -430,6 +430,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
430
430
  evaluateBoolean(value: boolean | string | null): boolean | null;
431
431
  evaluateTemplate(value: string | null): string;
432
432
  openForm(template: string, options: FormDialogOptions): void;
433
+ openDialog(formSchema: any, options: FormDialogOptions): void;
433
434
  isChanged(): boolean;
434
435
  isValid(): boolean;
435
436
  getContext(): Record<string, any>;
@@ -1,6 +1,7 @@
1
1
  import { Injector, Type } from '@angular/core';
2
2
  import { SirioDialogService, DialogTypes, DialogSizes, ButtonColors, SirioDialogElement } from 'ngx-sirio-lib';
3
3
  import { IEvaluatorProvider } from '../services/programmability.service';
4
+ import { DynamicFormComponent } from '../dynamic-form/dynamic-form.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class DialogService implements IEvaluatorProvider {
6
7
  private dialogService;
@@ -40,6 +41,7 @@ export interface FormDialogOptions extends DialogOptions {
40
41
  showFormTitle?: boolean;
41
42
  }
42
43
  export interface DialogResult {
44
+ form: DynamicFormComponent;
43
45
  action: DialogAction | string;
44
46
  value?: any;
45
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wemake4u/form-player-se",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^18.2.0",
@@ -14,7 +14,7 @@
14
14
  "@ag-grid-community/locale": "^33.1.0",
15
15
  "ag-charts-angular": "^11.3.2",
16
16
  "ag-charts-community": "^11.3.2",
17
- "ngx-sirio-lib": "^1.2.6-A16",
17
+ "ngx-sirio-lib": "^1.4.9-A16",
18
18
  "util": "^0.12.5",
19
19
  "@wemake4u/interact": "^1.0.5"
20
20
  },