@masterteam/properties 0.0.16 → 0.0.18
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/assets/i18n/ar.json +74 -0
- package/assets/i18n/en.json +74 -0
- package/fesm2022/masterteam-properties.mjs +138 -78
- package/fesm2022/masterteam-properties.mjs.map +1 -1
- package/index.d.ts +10 -2
- package/package.json +5 -1
package/index.d.ts
CHANGED
|
@@ -354,6 +354,7 @@ declare class PropertiesList {
|
|
|
354
354
|
private readonly facade;
|
|
355
355
|
private readonly router;
|
|
356
356
|
private readonly route;
|
|
357
|
+
private readonly transloco;
|
|
357
358
|
private readonly defaultTab;
|
|
358
359
|
tab: _angular_core.InputSignal<string | undefined>;
|
|
359
360
|
tabs: _angular_core.WritableSignal<{
|
|
@@ -362,8 +363,14 @@ declare class PropertiesList {
|
|
|
362
363
|
}[]>;
|
|
363
364
|
activeTab: _angular_core.WritableSignal<string>;
|
|
364
365
|
readonly tableColumns: _angular_core.WritableSignal<ColumnDef[]>;
|
|
365
|
-
propertyTypes: _angular_core.WritableSignal<
|
|
366
|
+
propertyTypes: _angular_core.WritableSignal<{
|
|
367
|
+
label: string;
|
|
368
|
+
icon: string;
|
|
369
|
+
value: string;
|
|
370
|
+
color: string;
|
|
371
|
+
}[]>;
|
|
366
372
|
tableActions: _angular_core.Signal<TableAction[]>;
|
|
373
|
+
deletingRowIds: _angular_core.WritableSignal<any[]>;
|
|
367
374
|
readonly rowActions: _angular_core.WritableSignal<TableAction[]>;
|
|
368
375
|
readonly loading: _angular_core.Signal<boolean>;
|
|
369
376
|
readonly tableData: _angular_core.Signal<PropertyItem[]>;
|
|
@@ -383,9 +390,10 @@ declare class PropertyForm implements OnDestroy {
|
|
|
383
390
|
private readonly facade;
|
|
384
391
|
private readonly router;
|
|
385
392
|
private readonly route;
|
|
393
|
+
private readonly transloco;
|
|
386
394
|
propertyId: _angular_core.InputSignal<string>;
|
|
387
395
|
private readonly propertyTypes;
|
|
388
|
-
submitLabel: _angular_core.Signal<
|
|
396
|
+
submitLabel: _angular_core.Signal<string>;
|
|
389
397
|
isEditing: _angular_core.Signal<boolean>;
|
|
390
398
|
readonly propertyForm: FormGroup<{
|
|
391
399
|
main: FormControl<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/properties",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": ".",
|
|
6
6
|
"linkDirectory": false,
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"@angular/forms": "^20.1.3",
|
|
13
13
|
"@primeuix/themes": "^1.2.2",
|
|
14
14
|
"@tailwindcss/postcss": "^4.1.11",
|
|
15
|
+
"@jsverse/transloco": "^8.0.2",
|
|
15
16
|
"postcss": "^8.5.6",
|
|
16
17
|
"primeng": "^20.0.1",
|
|
17
18
|
"rxjs": "^7.8.2",
|
|
@@ -30,6 +31,9 @@
|
|
|
30
31
|
"./assets/properties.css": {
|
|
31
32
|
"style": "./assets/properties.css"
|
|
32
33
|
},
|
|
34
|
+
"./assets/i18n/*.json": {
|
|
35
|
+
"default": "./assets/i18n/*.json"
|
|
36
|
+
},
|
|
33
37
|
"./package.json": {
|
|
34
38
|
"default": "./package.json"
|
|
35
39
|
},
|