@masterteam/properties 0.0.30 → 0.0.32

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.30",
3
+ "version": "0.0.32",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/properties",
6
6
  "linkDirectory": false,
@@ -19,10 +19,10 @@
19
19
  "tailwindcss": "^4.1.17",
20
20
  "tailwindcss-primeui": "^0.6.1",
21
21
  "@ngxs/store": "^20.1.0",
22
+ "@masterteam/forms": "^0.0.40",
23
+ "@masterteam/components": "^0.0.94",
22
24
  "@masterteam/formula-builder": "^0.0.2",
23
- "@masterteam/forms": "^0.0.35",
24
- "@masterteam/icons": "^0.0.13",
25
- "@masterteam/components": "^0.0.86"
25
+ "@masterteam/icons": "^0.0.13"
26
26
  },
27
27
  "sideEffects": false,
28
28
  "exports": {
@@ -24,7 +24,7 @@ interface PropertyItem {
24
24
  viewType: string;
25
25
  viewTypeLabel: string;
26
26
  name: string | Record<string, string>;
27
- description?: string;
27
+ description?: Record<string, string>;
28
28
  defaultValue?: unknown;
29
29
  order?: number;
30
30
  canBeDeleted?: boolean;
@@ -108,8 +108,8 @@ interface ApiPropertyOption {
108
108
  interface ApiConfigurationValue {
109
109
  endpoint: string;
110
110
  headers: Record<string, string>;
111
- key?: string;
112
- value?: string;
111
+ key: string;
112
+ value: string;
113
113
  schema?: ApiSchema | null;
114
114
  supportMultiSelect?: boolean;
115
115
  }
@@ -168,7 +168,7 @@ interface PropertyPayload {
168
168
  isCalculated: boolean;
169
169
  formula?: FormulaBuilderValue | null;
170
170
  name: Record<string, string>;
171
- description?: string;
171
+ description?: Record<string, string>;
172
172
  defaultValue?: any;
173
173
  configuration?: Record<string, any> | string | null;
174
174
  }
@@ -315,8 +315,8 @@ declare class PropertiesState extends CrudStateBase<PropertyItem, PropertiesStat
315
315
  SetPropertyTypes(ctx: StateContext<PropertiesStateModel>, action: SetPropertyTypes): void;
316
316
  setBreadcrumb(ctx: StateContext<PropertiesStateModel>, action: SetBreadcrumb): void;
317
317
  setDefaultViewType(ctx: StateContext<PropertiesStateModel>, action: SetDefaultViewType): void;
318
- createProperty(ctx: StateContext<PropertiesStateModel>, action: CreateProperty): rxjs.Observable<null> | rxjs.Observable<Response<PropertyItem>>;
319
- updateProperty(ctx: StateContext<PropertiesStateModel>, action: UpdateProperty): rxjs.Observable<null> | rxjs.Observable<Response<PropertyItem>>;
318
+ createProperty(ctx: StateContext<PropertiesStateModel>, action: CreateProperty): rxjs.Observable<Response<PropertyItem>> | rxjs.Observable<null>;
319
+ updateProperty(ctx: StateContext<PropertiesStateModel>, action: UpdateProperty): rxjs.Observable<Response<PropertyItem>> | rxjs.Observable<null>;
320
320
  deleteProperty(ctx: StateContext<PropertiesStateModel>, action: DeleteProperty): rxjs.Observable<void>;
321
321
  private mapSchemaToOptions;
322
322
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropertiesState, never>;
@@ -435,6 +435,7 @@ declare class PropertyForm implements OnDestroy {
435
435
  private readonly transloco;
436
436
  propertyId: _angular_core.InputSignal<string>;
437
437
  private readonly propertyTypes;
438
+ private readonly legacyReplacedViewTypes;
438
439
  submitLabel: _angular_core.Signal<string>;
439
440
  isEditing: _angular_core.Signal<boolean>;
440
441
  readonly propertyForm: FormGroup<{
@@ -452,6 +453,7 @@ declare class PropertyForm implements OnDestroy {
452
453
  readonly propertyType: _angular_core.Signal<any>;
453
454
  readonly isCalculated: _angular_core.Signal<boolean>;
454
455
  readonly formulaSchemaId: _angular_core.Signal<number | undefined>;
456
+ readonly availablePropertyTypes: _angular_core.Signal<any>;
455
457
  private readonly selectedPropertyTypeConfiguration;
456
458
  readonly configurationFormConfig: _angular_core.Signal<any>;
457
459
  private configurationHost?;