@decaf-ts/for-angular 0.0.19 → 0.0.21
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/README.md +2 -2
- package/components/crud-form/crud-form.component.d.ts +1 -1
- package/components/fieldset/fieldset.component.d.ts +1 -1
- package/components/filter/filter.component.d.ts +1 -1
- package/components/for-angular-components.module.d.ts +1 -2
- package/components/list/constants.d.ts +5 -9
- package/components/list-item/list-item.component.d.ts +1 -1
- package/engine/NgxBaseComponent.d.ts +1 -1
- package/esm2022/components/component-renderer/component-renderer.component.mjs +7 -7
- package/esm2022/components/crud-field/crud-field.component.mjs +13 -12
- package/esm2022/components/crud-form/crud-form.component.mjs +9 -9
- package/esm2022/components/empty-state/empty-state.component.mjs +8 -12
- package/esm2022/components/fieldset/fieldset.component.mjs +27 -19
- package/esm2022/components/filter/filter.component.mjs +14 -13
- package/esm2022/components/for-angular-components.module.mjs +17 -9
- package/esm2022/components/layout/layout.component.mjs +6 -7
- package/esm2022/components/list/constants.mjs +1 -1
- package/esm2022/components/list/list.component.mjs +8 -11
- package/esm2022/components/list-item/list-item.component.mjs +9 -12
- package/esm2022/components/model-renderer/model-renderer.component.mjs +5 -7
- package/esm2022/components/pagination/pagination.component.mjs +7 -9
- package/esm2022/components/searchbar/searchbar.component.mjs +5 -7
- package/esm2022/directives/collapsable.directive.mjs +3 -3
- package/esm2022/engine/NgxBaseComponent.mjs +11 -10
- package/esm2022/engine/NgxFormService.mjs +12 -3
- package/esm2022/engine/NgxRenderingEngine.mjs +3 -2
- package/esm2022/for-angular-common.module.mjs +82 -0
- package/esm2022/helpers/utils.mjs +2 -2
- package/esm2022/i18n/Loader.mjs +10 -6
- package/esm2022/i18n/data/en.json +80 -0
- package/esm2022/public-apis.mjs +3 -2
- package/fesm2022/decaf-ts-for-angular.mjs +255 -170
- package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
- package/for-angular-common.module.d.ts +44 -0
- package/package.json +6 -3
- package/public-apis.d.ts +2 -1
- package/esm2022/for-angular.module.mjs +0 -118
- package/for-angular.module.d.ts +0 -45
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"required": "This field is required.",
|
|
4
|
+
"pattern": "The provided value does not match the pattern.",
|
|
5
|
+
"min": "The minimum value for this field is {0}.",
|
|
6
|
+
"max": "The maximum value for this field is {0}.",
|
|
7
|
+
"minlength": "The minimum length for this field is {0}.",
|
|
8
|
+
"maxlength": "The maximum length for this field is {0}.",
|
|
9
|
+
"equal": "This field must be equal to {0}",
|
|
10
|
+
"default": "This value appears to be invalid.",
|
|
11
|
+
"unique": "Field {0} must be unique",
|
|
12
|
+
"password": "Password must be at least 8 characters and contain one of number, lower and upper case letters, and special character (@$!%*?&_-.,)",
|
|
13
|
+
"email": "This field must be a valid email address.",
|
|
14
|
+
"url": "This field must be a valid URL.",
|
|
15
|
+
"number": "This field must be a valid number.",
|
|
16
|
+
"integer": "This field must be a valid integer.",
|
|
17
|
+
"digits": "This field must contain only digits.",
|
|
18
|
+
"alphanum": "This field must be alphanumeric.",
|
|
19
|
+
"file": "Only {0} files are allowed",
|
|
20
|
+
"equals": "This field must be equal to field {0}",
|
|
21
|
+
"different": "This field must be different from field {0}",
|
|
22
|
+
"lessThan": "This field must be less than field {0}",
|
|
23
|
+
"lessThanOrEqual": "This field must be less than or equal to field {0}",
|
|
24
|
+
"greaterThan": "This field must be greater than field {0}",
|
|
25
|
+
"greaterThanOrEqual": "This field must be greater than or equal to field {0}"
|
|
26
|
+
},
|
|
27
|
+
"component": {
|
|
28
|
+
"fieldset": {
|
|
29
|
+
"add": "Add another",
|
|
30
|
+
"update": "Update item",
|
|
31
|
+
"cancel": "Cancel",
|
|
32
|
+
"not_unique": "The value entered already exists. Value \"{{value}}\""
|
|
33
|
+
},
|
|
34
|
+
"list": {
|
|
35
|
+
"pagination": "Showing page <span class=\"text-bold\">{{value0}} of {{value1}}</span>",
|
|
36
|
+
"loading": "Loading data",
|
|
37
|
+
"search": {
|
|
38
|
+
"title": "Not data found for search",
|
|
39
|
+
"subtitle": "You searched for: <ion-text color=\"primary\" class=\"display-block ion-text-center text-bold\">{{value0}}</ion-text>",
|
|
40
|
+
"button": "Clear search"
|
|
41
|
+
},
|
|
42
|
+
"empty": {
|
|
43
|
+
"title": "No data found",
|
|
44
|
+
"subtitle": "",
|
|
45
|
+
"button": "Create"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"list_item": {
|
|
49
|
+
"actions": "Actions",
|
|
50
|
+
"operations": {
|
|
51
|
+
"read": "Read",
|
|
52
|
+
"create": "Create",
|
|
53
|
+
"update": "Update",
|
|
54
|
+
"delete": "Delete"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"empty_state": {
|
|
58
|
+
"title": "No data found",
|
|
59
|
+
"button": "Create",
|
|
60
|
+
"search": {
|
|
61
|
+
"title": "Not data found for search",
|
|
62
|
+
"subtitle": "You searched for: <ion-text color=\"primary\" class=\"display-block ion-text-center text-bold\">{{value0}}</ion-text>",
|
|
63
|
+
"button": "Clear search"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"pagination": {
|
|
67
|
+
"resume": "Showing page <span class=\"text-bold\">{{value0}} of {{value1}}</span>"
|
|
68
|
+
},
|
|
69
|
+
"filter": {
|
|
70
|
+
"title": "Filter",
|
|
71
|
+
"type": "Type value",
|
|
72
|
+
"select": "Filter selection",
|
|
73
|
+
"step1": "Select an index",
|
|
74
|
+
"step2": "Select a condition",
|
|
75
|
+
"step3": "Type a value",
|
|
76
|
+
"no_suggestions": "No suggestions",
|
|
77
|
+
"sort": "Sort by"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
package/esm2022/public-apis.mjs
CHANGED
|
@@ -3,7 +3,8 @@ export * from './components';
|
|
|
3
3
|
export * from './engine';
|
|
4
4
|
export * from './directives';
|
|
5
5
|
export * from './helpers';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './i18n/Loader';
|
|
7
|
+
export * from './for-angular-common.module';
|
|
7
8
|
/**
|
|
8
9
|
* @description Angular integration for the Decaf framework
|
|
9
10
|
* @summary This module provides Angular components and services for integrating with the Decaf framework.
|
|
@@ -11,4 +12,4 @@ export * from './for-angular.module';
|
|
|
11
12
|
* rendering engines and utility functions to facilitate Angular application development with Decaf.
|
|
12
13
|
* @module for-angular
|
|
13
14
|
*/
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3B1YmxpYy1hcGlzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8seUJBQXlCLENBQUM7QUFDakMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyw2QkFBNkIsQ0FBQztBQUM1Qzs7Ozs7O0dBTUciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgJ0BkZWNhZi10cy91aS1kZWNvcmF0b3JzJztcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cyc7XG5leHBvcnQgKiBmcm9tICcuL2VuZ2luZSc7XG5leHBvcnQgKiBmcm9tICcuL2RpcmVjdGl2ZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9oZWxwZXJzJztcbmV4cG9ydCAqIGZyb20gJy4vaTE4bi9Mb2FkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9mb3ItYW5ndWxhci1jb21tb24ubW9kdWxlJztcbi8qKlxuICogQGRlc2NyaXB0aW9uIEFuZ3VsYXIgaW50ZWdyYXRpb24gZm9y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