@masterteam/properties 0.0.52 → 0.0.53

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterteam/properties",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/properties",
6
6
  "linkDirectory": false,
@@ -19,8 +19,8 @@
19
19
  "tailwindcss": "^4.2.2",
20
20
  "tailwindcss-primeui": "^0.6.1",
21
21
  "@ngxs/store": "^20.1.0",
22
- "@masterteam/components": "^0.0.171",
23
- "@masterteam/forms": "^0.0.77",
22
+ "@masterteam/components": "^0.0.172",
23
+ "@masterteam/forms": "^0.0.79",
24
24
  "@masterteam/formula-builder": "^0.0.12",
25
25
  "@masterteam/icons": "^0.0.15"
26
26
  },
@@ -31,6 +31,7 @@ interface PropertyItem {
31
31
  displayOverView?: boolean;
32
32
  enabled?: boolean;
33
33
  formula?: FormulaBuilderValue | null;
34
+ addToForm?: boolean;
34
35
  isBasic?: boolean;
35
36
  isCalculated?: boolean;
36
37
  isConfigurable?: boolean;
@@ -204,6 +205,7 @@ interface PropertiesQueryParams {
204
205
  interface PropertyPayload {
205
206
  viewType: string;
206
207
  isCalculated: boolean;
208
+ addToForm?: boolean;
207
209
  formula?: FormulaBuilderValue | null;
208
210
  name: Record<string, string>;
209
211
  description?: Record<string, string>;
@@ -543,6 +545,7 @@ declare class PropertyForm implements OnDestroy {
543
545
  private readonly router;
544
546
  private readonly route;
545
547
  private readonly transloco;
548
+ private readonly confirmationService;
546
549
  private readonly activeLang;
547
550
  propertyId: _angular_core.InputSignal<string>;
548
551
  private readonly propertyTypes;
@@ -597,7 +600,8 @@ declare class PropertyForm implements OnDestroy {
597
600
  private resolveConfigurationComponent;
598
601
  private applyConfigurationComponentResult;
599
602
  private resolveSchemaId;
600
- createOrEditProperty(): void;
603
+ createOrEditProperty(event?: Event): void;
604
+ private submitProperty;
601
605
  private syncFormWithSelectedProperty;
602
606
  goBack(): void;
603
607
  private handleStatusPropertySave;