@masterteam/properties 0.0.22 → 0.0.24

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,20 +1,20 @@
1
1
  {
2
2
  "name": "@masterteam/properties",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/properties",
6
6
  "linkDirectory": false,
7
7
  "access": "public"
8
8
  },
9
9
  "peerDependencies": {
10
- "@angular/common": "^21.0.2",
11
- "@angular/core": "^21.0.2",
12
- "@angular/forms": "^21.0.2",
13
- "@primeuix/themes": "^2.0.1",
10
+ "@angular/common": "^21.0.3",
11
+ "@angular/core": "^21.0.3",
12
+ "@angular/forms": "^21.0.3",
13
+ "@primeuix/themes": "^2.0.2",
14
14
  "@tailwindcss/postcss": "^4.1.17",
15
15
  "@jsverse/transloco": "^8.0.2",
16
16
  "postcss": "^8.5.6",
17
- "primeng": "21.0.0-beta.1",
17
+ "primeng": "21.0.1",
18
18
  "rxjs": "^7.8.2",
19
19
  "tailwindcss": "^4.1.17",
20
20
  "tailwindcss-primeui": "^0.6.1",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "tslib": "^2.3.0",
25
- "@masterteam/icons": "^0.0.10",
26
- "@masterteam/components": "^0.0.64",
27
- "@masterteam/forms": "^0.0.29"
25
+ "@masterteam/icons": "^0.0.11",
26
+ "@masterteam/components": "^0.0.65",
27
+ "@masterteam/forms": "^0.0.30"
28
28
  },
29
29
  "sideEffects": false,
30
30
  "exports": {
@@ -21,7 +21,7 @@ interface PropertyItem {
21
21
  normalizedKey: string;
22
22
  viewType: string;
23
23
  viewTypeLabel: string;
24
- title: string | Record<string, string>;
24
+ name: string | Record<string, string>;
25
25
  description?: string;
26
26
  defaultValue?: unknown;
27
27
  order?: number;
@@ -52,13 +52,13 @@ interface PropertyItem {
52
52
  interface LookupDefinitionItem {
53
53
  id: number;
54
54
  key?: string;
55
- title?: string;
55
+ name?: string;
56
56
  [key: string]: unknown;
57
57
  }
58
58
  interface LookupDefinition {
59
59
  id: number;
60
60
  key: string;
61
- title: string;
61
+ name: string;
62
62
  allowDelete: boolean;
63
63
  allowManage: boolean;
64
64
  allowEdit: boolean;
@@ -67,19 +67,18 @@ interface LookupDefinition {
67
67
  }
68
68
  interface GroupDefinition {
69
69
  id: number;
70
- title: string;
70
+ name: string;
71
71
  [key: string]: unknown;
72
72
  }
73
73
  interface LogDefinition {
74
74
  id: number;
75
- title: string;
75
+ name: string;
76
76
  [key: string]: unknown;
77
77
  }
78
78
  interface ConfigScope {
79
79
  scope: string;
80
80
  items: Array<{
81
81
  id: number;
82
- title?: string;
83
82
  name?: string;
84
83
  [key: string]: unknown;
85
84
  }>;
@@ -284,14 +283,14 @@ declare class PropertiesState {
284
283
  static propertyById(state: PropertiesStateModel): (id: number | string) => PropertyItem | null;
285
284
  getAll(ctx: StateContext<PropertiesStateModel>, action: GetProperties): rxjs.Observable<Response<PropertyItem[]> | null>;
286
285
  getOne(ctx: StateContext<PropertiesStateModel>, action: GetProperty): rxjs.Observable<Response<PropertyItem> | null>;
287
- getLookups(ctx: StateContext<PropertiesStateModel>, _action: GetLookups): rxjs.Observable<LookupDefinition[]> | rxjs.Observable<Response<LookupDefinition[]> | never[]>;
286
+ getLookups(ctx: StateContext<PropertiesStateModel>, _action: GetLookups): rxjs.Observable<LookupDefinition[]> | rxjs.Observable<never[] | Response<LookupDefinition[]>>;
288
287
  getGroups(ctx: StateContext<PropertiesStateModel>, _action: GetGroups): rxjs.Observable<GroupDefinition[]> | rxjs.Observable<never[] | Response<GroupDefinition[]>>;
289
288
  getConfigAsType(ctx: StateContext<PropertiesStateModel>, action: GetConfigAsType): rxjs.Observable<ConfigScope[]> | rxjs.Observable<never[] | Response<ConfigScope[]>>;
290
289
  getCountries(ctx: StateContext<PropertiesStateModel>, _action: GetCountries): rxjs.Observable<CountryDefinition[]>;
291
290
  testApiConfiguration(ctx: StateContext<PropertiesStateModel>, action: TestApiConfiguration): rxjs.Observable<Response<ApiSchema> | null>;
292
291
  resetApiConfiguration(ctx: StateContext<PropertiesStateModel>): void;
293
292
  private mapSchemaToOptions;
294
- getPropertiesForConfigType(ctx: StateContext<PropertiesStateModel>, action: GetPropertiesForConfigType): rxjs.Observable<Response<PropertyItem[]> | never[]>;
293
+ getPropertiesForConfigType(ctx: StateContext<PropertiesStateModel>, action: GetPropertiesForConfigType): rxjs.Observable<never[] | Response<PropertyItem[]>>;
295
294
  resetConfigProperties(ctx: StateContext<PropertiesStateModel>): void;
296
295
  resetConfigScopes(ctx: StateContext<PropertiesStateModel>): void;
297
296
  resetSelectedProperty(ctx: StateContext<PropertiesStateModel>): void;