@wemake4u/form-player-se 1.0.2 → 1.0.3

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,7 +7,7 @@ export declare class DropdownDirective implements AfterViewInit {
7
7
  private sirioSelect;
8
8
  constructor(el: ElementRef, renderer: Renderer2, sirioSelect: SirioSelectComponent);
9
9
  ngAfterViewInit(): void;
10
- private handleNullValue;
10
+ private handleValue;
11
11
  private handleSearchable;
12
12
  private deactivate;
13
13
  private activate;
@@ -37,6 +37,10 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit {
37
37
  NextSection: string;
38
38
  Show: string;
39
39
  Close: string;
40
+ Name: string;
41
+ Size: string;
42
+ Type: string;
43
+ Actions: string;
40
44
  };
41
45
  constructor(sanitizer: SanitizeService, markdown: MarkdownService, mime: MimeService, programmability: ProgrammabilityService, events: EventService, formatter: FormatterService, weak: WeakService, register: RegisterService, el: ElementRef);
42
46
  ngOnInit(): void;
@@ -47,7 +51,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit {
47
51
  isWarning(component: any): boolean;
48
52
  evaluateString(value: string | null): string;
49
53
  evaluateBoolean(value: boolean | string | null): boolean | null;
50
- evaluateNumber(value: number | null): number | null;
54
+ evaluateNumber(value: number | string | null): number | null;
51
55
  evaluateUrl(value: string | null): SafeResourceUrl;
52
56
  evaluateTemplate(value: string | null): string;
53
57
  evaluate(text: string | null, cacheable?: boolean): any;
@@ -34,6 +34,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
34
34
  NextSection: string;
35
35
  Show: string;
36
36
  Close: string;
37
+ Name: string;
38
+ Size: string;
39
+ Type: string;
40
+ Actions: string;
37
41
  };
38
42
  ngOnDestroy(): void;
39
43
  ngOnChanges(changes: SimpleChanges): void;
@@ -9,4 +9,8 @@ export declare const Texts: {
9
9
  NextSection: string;
10
10
  Show: string;
11
11
  Close: string;
12
+ Name: string;
13
+ Size: string;
14
+ Type: string;
15
+ Actions: string;
12
16
  };
@@ -2,7 +2,7 @@ import { OnDestroy } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { FeelService } from '../services/feel.service';
4
4
  import { ScopeService } from '../services/scope.service';
5
- import { ProxyService } from '../services/proxy.service';
5
+ import { ProxyService, ProxyConfigFn } from '../services/proxy.service';
6
6
  import { RegisterService } from '../services/register.service';
7
7
  import { ToastService } from '../services/toast.service';
8
8
  import { WeakService } from '../services/weak.service';
@@ -20,9 +20,9 @@ export declare class ProgrammabilityService implements OnDestroy {
20
20
  isExpression(text: string | null): boolean;
21
21
  getExpression(text: string | null): string;
22
22
  evaluateString(formGroup: FormGroup, value: string | null): string;
23
- evaluateBoolean(formGroup: FormGroup, value: boolean | string | null): boolean | null;
23
+ evaluateBoolean(formGroup: FormGroup, value: boolean | string | null, options?: EvaluateOptions): boolean | null;
24
24
  evaluateNumber(formGroup: FormGroup, value: number | string | null): number | null;
25
- evaluate(formGroup: FormGroup, value: string | null, cacheable?: boolean): any;
25
+ evaluate(formGroup: FormGroup, value: string | null, options?: EvaluateOptions): any;
26
26
  evaluateTemplate(formGroup: FormGroup, value: string | null): any;
27
27
  evaluateUnary(formGroup: FormGroup, value: string | null, input: any): any;
28
28
  private cacheable;
@@ -37,3 +37,7 @@ export declare class ProgrammabilityService implements OnDestroy {
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgrammabilityService, [null, null, null, null, { optional: true; }, { optional: true; }]>;
38
38
  static ɵprov: i0.ɵɵInjectableDeclaration<ProgrammabilityService>;
39
39
  }
40
+ export interface EvaluateOptions {
41
+ cacheable?: boolean;
42
+ proxyFn?: ProxyConfigFn;
43
+ }
@@ -28,4 +28,5 @@ export declare class ProxyOptions {
28
28
  get getCustom(): ProxyGetter;
29
29
  log: boolean;
30
30
  }
31
+ export type ProxyConfigFn = (options: ProxyOptions) => void;
31
32
  export {};
@@ -1,5 +1,6 @@
1
1
  import { ICellRendererAngularComp } from 'ag-grid-angular';
2
2
  import { ICellRendererParams } from 'ag-grid-community';
3
+ import { ProgrammabilityService } from '../services/programmability.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class ObjectURLRendererComponent implements ICellRendererAngularComp {
5
6
  params: ICellRendererParams;
@@ -7,7 +8,7 @@ export declare class ObjectURLRendererComponent implements ICellRendererAngularC
7
8
  onClick(event: Event): void;
8
9
  refresh(): boolean;
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ObjectURLRendererComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ObjectURLRendererComponent, "ng-component", never, {}, {}, never, never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ObjectURLRendererComponent, "ng-component", never, {}, {}, never, never, true, never>;
11
12
  }
12
13
  export declare class DeleteRowCellRenderer implements ICellRendererAngularComp {
13
14
  params: any;
@@ -15,5 +16,19 @@ export declare class DeleteRowCellRenderer implements ICellRendererAngularComp {
15
16
  onClick(event: Event): void;
16
17
  refresh(): boolean;
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DeleteRowCellRenderer, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<DeleteRowCellRenderer, "ng-component", never, {}, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeleteRowCellRenderer, "ng-component", never, {}, {}, never, never, true, never>;
20
+ }
21
+ export declare class ActionsCellRenderer implements ICellRendererAngularComp {
22
+ private programmability;
23
+ constructor(programmability: ProgrammabilityService);
24
+ params: any;
25
+ agInit(params: any): void;
26
+ refresh(): boolean;
27
+ evaluateBoolean(value: boolean | string | null): boolean | null;
28
+ evaluateString(value: string | null): string;
29
+ clickButton(action: any, event: any): any;
30
+ private getData;
31
+ private getFormGroup;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionsCellRenderer, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionsCellRenderer, "ng-component", never, {}, {}, never, never, true, never>;
19
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wemake4u/form-player-se",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^18.2.0",
6
6
  "@angular/common": "^18.2.0",