oip-common 0.0.13 → 0.0.15

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 CHANGED
@@ -1,28 +1,26 @@
1
1
  # OipCommon
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project oip-common` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project oip-common`.
8
-
9
- > Note: Don't forget to add `--project oip-common` or else it will be added to the default project in your `angular.json` file.
10
-
11
- ## Build
12
-
13
- Run `ng build oip-common` to build the project. The build artifacts will be stored in the `dist/` directory.
14
-
15
- ## Publishing
16
-
17
- After building your library with `ng build oip-common`, go to the dist folder `cd dist/oip-common` and run `npm publish`.
18
-
19
- ## Running unit tests
20
-
21
- Run `ng test oip-common` to execute the unit tests via [Karma](https://karma-runner.github.io).
22
-
23
- ## Further help
24
-
25
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
26
-
27
-
28
- з
3
+ Add assets in angular.json
4
+ ```json
5
+ {
6
+ "glob": "**/*",
7
+ "input": "node_modules/oip-common/assets",
8
+ "output": "/assets"
9
+ }
10
+ ```
11
+
12
+ Add tailwind config
13
+
14
+ ```js
15
+ const primeui = require('tailwindcss-primeui');
16
+ module.exports = {
17
+ /* Your config */
18
+ content: [/* Your config */, './node_modules/oip-common/**/*.{html,ts,scss,css,js,mjs}'],
19
+ /* Your config */
20
+ };
21
+ ```
22
+
23
+ Add scss
24
+ ```sass
25
+ @use "../../../node_modules/oip-common/assets/oip-common";
26
+ ```
@@ -0,0 +1,64 @@
1
+ {
2
+ "msgService": {
3
+ "success": "Success",
4
+ "info": "Info",
5
+ "warn": "Warm",
6
+ "error": "Error",
7
+ "secondary": "Secondary"
8
+ },
9
+ "securityComponent": {
10
+ "security": "Security",
11
+ "save": "Save",
12
+ "savedSecurity": "Saved security"
13
+ },
14
+ "profileComponent": {
15
+ "changePhoto": "Change Photo",
16
+ "successfullyUploaded": "Successfully uploaded"
17
+ },
18
+ "baseComponent": {
19
+ "content": "Content",
20
+ "settings": "Settings",
21
+ "security": "Security",
22
+ "success": "Save successfully"
23
+ },
24
+ "menuComponent": {
25
+ "new": "New"
26
+ },
27
+ "menuItemEditDialogComponent": {
28
+ "header": "Edit menu item",
29
+ "parentLabel": "Parent",
30
+ "label": "Label",
31
+ "module": "Module",
32
+ "selectModule": "",
33
+ "icon": "Icon",
34
+ "cancel": "Cancel",
35
+ "save": "Save",
36
+ "security": "Security - read"
37
+ },
38
+ "menuItemCreateDialogComponent": {
39
+ "header": "Create new menu item",
40
+ "parentLabel": "Parent",
41
+ "label": "Label",
42
+ "module": "Module",
43
+ "selectModule": "Select module",
44
+ "icon": "Icon",
45
+ "cancel": "Cancel",
46
+ "save": "Save"
47
+ },
48
+ "menuItemComponent": {
49
+ "new": "Add",
50
+ "edit": "Edit",
51
+ "delete": "Delete",
52
+ "deleteItemConfirmHeader": "Delete",
53
+ "deleteItemConfirmMessage": "Are you sure you want to delete the item?",
54
+ "deleteItemSuccessMessage": "Successfully deleted",
55
+ "deleteItemConfirmRejectButtonPropsLabel": "Cancel",
56
+ "deleteItemConfirmAcceptButtonPropsLabel": "Delete"
57
+ },
58
+ "unauthorized": {
59
+ "welcomeToOip": "Welcome to OIP!",
60
+ "signInToContinue": "Sign in to continue",
61
+ "signIn": "Sign In"
62
+ },
63
+ "primeng": ""
64
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "notfound": {
3
+ "title": "Not Found",
4
+ "errorCode": "404",
5
+ "description": "Requested resource is not available.",
6
+ "button": "Go to home"
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "notfound": {
3
+ "title": "Не найдено",
4
+ "errorCode": "404",
5
+ "description": "Запрашиваемый ресурс недоступен.",
6
+ "button": "На главную"
7
+ }
8
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "msgService": {
3
+ "success": "Успешно",
4
+ "info": "Информация",
5
+ "warn": "Внимание",
6
+ "error": "Ошибка",
7
+ "secondary": "Вспомогательный"
8
+ },
9
+ "securityComponent": {
10
+ "security": "Безопасность",
11
+ "save": "Сохранить",
12
+ "savedSecurity": "Настройки сохранены"
13
+ },
14
+ "profileComponent": {
15
+ "changePhoto": "Загрузить фото",
16
+ "successfullyUploaded": "Загружено"
17
+ },
18
+ "configComponent": {
19
+ "profile": "Профиль",
20
+ "photo": "Фото",
21
+ "usePhoto256x256Pixel": "Используйте фото 256х256 пикселей",
22
+ "localization": "Язык",
23
+ "selectLanguage": "Выберите язык"
24
+ },
25
+ "baseComponent": {
26
+ "content": "Содержимое",
27
+ "settings": "Настройки",
28
+ "security": "Безопасность",
29
+ "success": "Сохранено"
30
+ },
31
+ "menuComponent": {
32
+ "all": "Все",
33
+ "new": "Добавить"
34
+ },
35
+ "menuItemEditDialogComponent": {
36
+ "header": "Редактировать элемент меню",
37
+ "label": "Имя",
38
+ "icon": "Иконка",
39
+ "cancel": "Отмена",
40
+ "save": "Сохранить"
41
+ },
42
+ "menuItemCreateDialogComponent": {
43
+ "header": "Новый элемент меню",
44
+ "parentLabel": "Родительский узел",
45
+ "label": "Имя",
46
+ "module": "Модуль",
47
+ "selectModule": "Выбери модуль",
48
+ "icon": "Иконка",
49
+ "cancel": "Отмена",
50
+ "save": "Сохранить"
51
+ },
52
+ "unauthorized": {
53
+ "welcomeToOip": "Добро пожаловать в OIP!",
54
+ "signInToContinue": "Войдите чтобы продолжить",
55
+ "signIn": "Войти"
56
+ },
57
+ "appModulesComponent": {
58
+ "title": "Модули",
59
+ "refreshTooltip": "Обновить",
60
+ "table": {
61
+ "moduleId": "ID модуля",
62
+ "name": "Название",
63
+ "currentlyLoaded": "Загружен",
64
+ "yes": "Да",
65
+ "no": "Нет",
66
+ "deleteTooltip": "Удалить"
67
+ },
68
+ "confirm": {
69
+ "header": "Внимание",
70
+ "message": "Вы уверены, что хотите удалить модуль?",
71
+ "cancel": "Отмена",
72
+ "delete": "Удалить"
73
+ },
74
+ "messages": {
75
+ "deleteSuccess": "Модуль удален"
76
+ }
77
+ },
78
+ "menuItemComponent": {
79
+ "new": "Добавить",
80
+ "edit": "Редактировать",
81
+ "delete": "Удалить",
82
+ "deleteItemConfirmHeader": "Удаление",
83
+ "deleteItemConfirmMessage": "Вы уверены что хотите удалить элемент?",
84
+ "deleteItemSuccessMessage": "Успешно удалено",
85
+ "deleteItemConfirmRejectButtonPropsLabel": "Отмена",
86
+ "deleteItemConfirmAcceptButtonPropsLabel": "Удалить"
87
+ },
88
+ "primeng": ""
89
+ }