sf-crud 13.0.8 → 13.0.10

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.
@@ -21,6 +21,7 @@ export declare class ControlComponent implements OnInit, OnChanges, OnDestroy {
21
21
  setValue: EventEmitter<any>;
22
22
  sendObject: EventEmitter<any>;
23
23
  addressClicked: EventEmitter<any>;
24
+ setDependencyValue: EventEmitter<any>;
24
25
  tooltips: QueryList<Tooltip>;
25
26
  private lenghtWord;
26
27
  isLoading: boolean;
@@ -68,6 +69,8 @@ export declare class ControlComponent implements OnInit, OnChanges, OnDestroy {
68
69
  onUnTouchDescription(): void;
69
70
  doFocusOut(): void;
70
71
  onClickedAddres(): void;
72
+ displayTemplate(): string;
73
+ formatWithTemplate(item: any): string;
71
74
  static ɵfac: i0.ɵɵFactoryDeclaration<ControlComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<ControlComponent, "sf-control", never, { "showTempValue": { "alias": "showTempValue"; "required": false; }; "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; }, { "setValue": "setValue"; "sendObject": "sendObject"; "addressClicked": "addressClicked"; }, never, never, false, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<ControlComponent, "sf-control", never, { "showTempValue": { "alias": "showTempValue"; "required": false; }; "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; }, { "setValue": "setValue"; "sendObject": "sendObject"; "addressClicked": "addressClicked"; "setDependencyValue": "setDependencyValue"; }, never, never, false, never>;
73
76
  }
@@ -74,6 +74,7 @@ export declare class FormComponent implements OnChanges, OnInit, OnDestroy {
74
74
  getControl(sub: any, index: number): any;
75
75
  defaultField(): void;
76
76
  getValueFromData(el: any, subEl: any, k: number): any;
77
+ setDependencyValue(value: any, i: number, j: number, k: number): void;
77
78
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
78
79
  static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "app-form", never, { "uiEsquema": { "alias": "uiEsquema"; "required": false; }; "esquema": { "alias": "esquema"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isDialog": { "alias": "isDialog"; "required": false; }; "isAddressDialog": { "alias": "isAddressDialog"; "required": false; }; "separador": { "alias": "separador"; "required": false; }; }, {}, never, never, false, never>;
79
80
  }
@@ -28,6 +28,7 @@ export declare class ConfigRegistro {
28
28
  constructionId?: ConstructionId;
29
29
  keys?: Key[];
30
30
  conditions?: Condition[];
31
+ backWhenSubmit: boolean;
31
32
  }
32
33
  export declare class Operation {
33
34
  type: "update" | "create" | "read" | "ado" | "ServerSc";
@@ -37,6 +37,10 @@ export declare class Shema {
37
37
  uiOnly?: boolean;
38
38
  defaultValue?: any;
39
39
  eraseOnDisable?: boolean;
40
+ dependency?: {
41
+ scope: string;
42
+ value: any;
43
+ };
40
44
  }
41
45
  declare class ShemaConfig {
42
46
  calendar?: Calendar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sf-crud",
3
- "version": "13.0.8",
3
+ "version": "13.0.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0",
@@ -10,7 +10,9 @@
10
10
  "sf-ado": "^13.0.0",
11
11
  "sf-simulador": "^13.0.0",
12
12
  "sf-loading": "^13.0.0",
13
- "primeflex": "^4.0.0"
13
+ "primeflex": "^4.0.0",
14
+ "primeng": "^19.1.4",
15
+ "primeicons": "^7.0.0"
14
16
  },
15
17
  "dependencies": {
16
18
  "tslib": "^2.3.0"