oip-common 0.3.2 → 0.4.0

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.
@@ -0,0 +1,46 @@
1
+ {
2
+ "applications": {
3
+ "title": "Applications",
4
+ "subtitle": "Manage the frontend application registry",
5
+ "searchPlaceholder": "Search applications",
6
+ "search": "Search",
7
+ "clear": "Clear",
8
+ "add": "Add",
9
+ "refreshTooltip": "Refresh",
10
+ "empty": "No applications found",
11
+ "table": {
12
+ "code": "Code",
13
+ "displayName": "Name",
14
+ "baseUrl": "Base URL",
15
+ "internalBaseUrl": "Internal Base URL",
16
+ "icon": "Icon",
17
+ "order": "Order",
18
+ "enabled": "Enabled",
19
+ "serviceType": "Service type",
20
+ "current": "Current",
21
+ "actions": "Actions",
22
+ "yes": "Yes",
23
+ "no": "No",
24
+ "editTooltip": "Edit",
25
+ "deleteTooltip": "Delete",
26
+ "saveTooltip": "Save",
27
+ "cancelTooltip": "Cancel"
28
+ },
29
+ "serviceTypes": {
30
+ "service": "Service",
31
+ "application": "Application"
32
+ },
33
+ "confirm": {
34
+ "header": "Warning",
35
+ "message": "Are you sure you want to delete application {{displayName}}?",
36
+ "cancel": "Cancel",
37
+ "delete": "Delete"
38
+ },
39
+ "messages": {
40
+ "requiredFields": "Fill code, name and Base URL",
41
+ "createSuccess": "Application created",
42
+ "updateSuccess": "Application updated",
43
+ "deleteSuccess": "Application deleted"
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "applications": {
3
+ "title": "Приложения",
4
+ "subtitle": "Управление реестром фронтенд-приложений",
5
+ "searchPlaceholder": "Поиск по приложениям",
6
+ "search": "Найти",
7
+ "clear": "Очистить",
8
+ "add": "Добавить",
9
+ "refreshTooltip": "Обновить",
10
+ "empty": "Приложения не найдены",
11
+ "table": {
12
+ "code": "Код",
13
+ "displayName": "Название",
14
+ "baseUrl": "Base URL",
15
+ "internalBaseUrl": "Internal Base URL",
16
+ "icon": "Иконка",
17
+ "order": "Порядок",
18
+ "enabled": "Включено",
19
+ "serviceType": "Тип сервиса",
20
+ "current": "Текущее",
21
+ "actions": "Действия",
22
+ "yes": "Да",
23
+ "no": "Нет",
24
+ "editTooltip": "Редактировать",
25
+ "deleteTooltip": "Удалить",
26
+ "saveTooltip": "Сохранить",
27
+ "cancelTooltip": "Отменить"
28
+ },
29
+ "serviceTypes": {
30
+ "service": "Сервис",
31
+ "application": "Приложение"
32
+ },
33
+ "confirm": {
34
+ "header": "Внимание",
35
+ "message": "Вы уверены, что хотите удалить приложение {{displayName}}?",
36
+ "cancel": "Отмена",
37
+ "delete": "Удалить"
38
+ },
39
+ "messages": {
40
+ "requiredFields": "Заполните код, название и Base URL",
41
+ "createSuccess": "Приложение создано",
42
+ "updateSuccess": "Приложение обновлено",
43
+ "deleteSuccess": "Приложение удалено"
44
+ }
45
+ }
46
+ }
@@ -1,17 +1,18 @@
1
- {
2
- "config": {
3
- "all": "All",
4
- "dateFormat": "Date format",
5
- "dateTimeFormat": "Date and time format:",
6
- "goTo": "Go to",
7
- "localization": "Localization",
8
- "menu": "Menu",
9
- "moduleManagement": "Module management",
10
- "photo": "Photo",
11
- "profile": "Profile",
12
- "selectLanguage": "Select language",
13
- "timeFormat": "Time format",
14
- "timeZone": "Time zone",
15
- "usePhoto256x256Pixel": "Use photo 256x256 pixel"
16
- }
17
- }
1
+ {
2
+ "config": {
3
+ "all": "All",
4
+ "applicationManagement": "Application management",
5
+ "dateFormat": "Date format",
6
+ "dateTimeFormat": "Date and time format:",
7
+ "goTo": "Go to",
8
+ "localization": "Localization",
9
+ "menu": "Menu",
10
+ "moduleManagement": "Module management",
11
+ "photo": "Photo",
12
+ "profile": "Profile",
13
+ "selectLanguage": "Select language",
14
+ "timeFormat": "Time format",
15
+ "timeZone": "Time zone",
16
+ "usePhoto256x256Pixel": "Use photo 256x256 pixel"
17
+ }
18
+ }
@@ -1,17 +1,18 @@
1
- {
2
- "config": {
3
- "all": "Все",
4
- "dateFormat": "Формат даты",
5
- "dateTimeFormat": "Формат даты и времени:",
6
- "goTo": "Перейти",
7
- "localization": "Локализация",
8
- "menu": "Меню",
9
- "moduleManagement": "Управление модулями",
10
- "photo": "Фото",
11
- "profile": "Профиль",
12
- "selectLanguage": "Выберите язык",
13
- "timeFormat": "Формат времени",
14
- "timeZone": "Часовой пояс",
15
- "usePhoto256x256Pixel": "Используйте фото 256x256 пикселей"
16
- }
17
- }
1
+ {
2
+ "config": {
3
+ "all": "Все",
4
+ "applicationManagement": "Управление приложениями",
5
+ "dateFormat": "Формат даты",
6
+ "dateTimeFormat": "Формат даты и времени:",
7
+ "goTo": "Перейти",
8
+ "localization": "Локализация",
9
+ "menu": "Меню",
10
+ "moduleManagement": "Управление модулями",
11
+ "photo": "Фото",
12
+ "profile": "Профиль",
13
+ "selectLanguage": "Выберите язык",
14
+ "timeFormat": "Формат времени",
15
+ "timeZone": "Часовой пояс",
16
+ "usePhoto256x256Pixel": "Используйте фото 256x256 пикселей"
17
+ }
18
+ }
@@ -1,19 +1,19 @@
1
- {
2
- "db-migration": {
3
- "migrationManager": "Migration manager",
4
- "actions": {
5
- "refresh": "Refresh",
6
- "cleanFilter": "Clean filter",
7
- "applyMigration": "Apply migration"
8
- },
9
- "columns": {
10
- "name": "Migration name",
11
- "applied": "Applied",
12
- "exist": "Exist",
13
- "pending": "Pending"
14
- },
15
- "messages": {
16
- "errorRefreshing": "Error refreshing database"
17
- }
18
- }
19
- }
1
+ {
2
+ "db-migration": {
3
+ "migrationManager": "Migration manager",
4
+ "actions": {
5
+ "refresh": "Refresh",
6
+ "cleanFilter": "Clean filter",
7
+ "applyMigration": "Apply migration"
8
+ },
9
+ "columns": {
10
+ "name": "Migration name",
11
+ "applied": "Applied",
12
+ "exist": "Exist",
13
+ "pending": "Pending"
14
+ },
15
+ "messages": {
16
+ "errorRefreshing": "Error refreshing database"
17
+ }
18
+ }
19
+ }
@@ -1,19 +1,19 @@
1
- {
2
- "db-migration": {
3
- "migrationManager": "Менеджер миграций",
4
- "actions": {
5
- "refresh": "Обновить",
6
- "cleanFilter": "Очистить фильтр",
7
- "applyMigration": "Применить миграцию"
8
- },
9
- "columns": {
10
- "name": "Название миграции",
11
- "applied": "Применена",
12
- "exist": "Существует",
13
- "pending": "Ожидает"
14
- },
15
- "messages": {
16
- "errorRefreshing": "Ошибка обновления базы данных"
17
- }
18
- }
19
- }
1
+ {
2
+ "db-migration": {
3
+ "migrationManager": "Менеджер миграций",
4
+ "actions": {
5
+ "refresh": "Обновить",
6
+ "cleanFilter": "Очистить фильтр",
7
+ "applyMigration": "Применить миграцию"
8
+ },
9
+ "columns": {
10
+ "name": "Название миграции",
11
+ "applied": "Применена",
12
+ "exist": "Существует",
13
+ "pending": "Ожидает"
14
+ },
15
+ "messages": {
16
+ "errorRefreshing": "Ошибка обновления базы данных"
17
+ }
18
+ }
19
+ }
@@ -83,7 +83,8 @@
83
83
  "logoutConfirmMessage": "Are you sure you want to logout?",
84
84
  "logoutConfirmCancel": "Cancel",
85
85
  "logoutConfirmAccept": "Logout",
86
- "profile": "Profile"
86
+ "profile": "Profile",
87
+ "applications": "Applications"
87
88
  },
88
89
  "userNotifications": {
89
90
  "title": "Notifications",
@@ -1,8 +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
- }
1
+ {
2
+ "notfound": {
3
+ "title": "Not Found",
4
+ "errorCode": "404",
5
+ "description": "Requested resource is not available.",
6
+ "button": "Go to home"
7
+ }
8
+ }
@@ -1,8 +1,8 @@
1
- {
2
- "notfound": {
3
- "title": "Не найдено",
4
- "errorCode": "404",
5
- "description": "Запрашиваемый ресурс недоступен.",
6
- "button": "На главную"
7
- }
8
- }
1
+ {
2
+ "notfound": {
3
+ "title": "Не найдено",
4
+ "errorCode": "404",
5
+ "description": "Запрашиваемый ресурс недоступен.",
6
+ "button": "На главную"
7
+ }
8
+ }
@@ -83,7 +83,8 @@
83
83
  "logoutConfirmMessage": "Вы уверены, что хотите выйти?",
84
84
  "logoutConfirmCancel": "Отмена",
85
85
  "logoutConfirmAccept": "Выйти",
86
- "profile": "Профиль"
86
+ "profile": "Профиль",
87
+ "applications": "Приложения"
87
88
  },
88
89
  "userNotifications": {
89
90
  "title": "Оповещения",
@@ -1,30 +1,30 @@
1
- html {
2
- height: 100%;
3
- font-size: 14px;
4
- }
5
-
6
- body {
7
- font-family: "Lato", sans-serif;
8
- color: var(--text-color);
9
- background-color: var(--surface-ground);
10
- margin: 0;
11
- padding: 0;
12
- min-height: 100%;
13
- -webkit-font-smoothing: antialiased;
14
- -moz-osx-font-smoothing: grayscale;
15
- line-height: 1.2;
16
- }
17
-
18
- a {
19
- text-decoration: none;
20
- }
21
-
22
- .layout-wrapper {
23
- min-height: 100vh;
24
- }
25
-
26
- .p-column-filter-active {
27
- filtericon {
28
- color: color-mix(in srgb, var(--primary-color), transparent 20%);
29
- }
30
- }
1
+ html {
2
+ height: 100%;
3
+ font-size: 14px;
4
+ }
5
+
6
+ body {
7
+ font-family: "Lato", sans-serif;
8
+ color: var(--text-color);
9
+ background-color: var(--surface-ground);
10
+ margin: 0;
11
+ padding: 0;
12
+ min-height: 100%;
13
+ -webkit-font-smoothing: antialiased;
14
+ -moz-osx-font-smoothing: grayscale;
15
+ line-height: 1.2;
16
+ }
17
+
18
+ a {
19
+ text-decoration: none;
20
+ }
21
+
22
+ .layout-wrapper {
23
+ min-height: 100vh;
24
+ }
25
+
26
+ .p-column-filter-active {
27
+ filtericon {
28
+ color: color-mix(in srgb, var(--primary-color), transparent 20%);
29
+ }
30
+ }
@@ -1,8 +1,8 @@
1
- .layout-footer {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- padding: 1rem 0 1rem 0;
6
- gap: 0.5rem;
7
- border-top: 1px solid var(--surface-border);
8
- }
1
+ .layout-footer {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ padding: 1rem 0 1rem 0;
6
+ gap: 0.5rem;
7
+ border-top: 1px solid var(--surface-border);
8
+ }
@@ -1,12 +1,12 @@
1
- .layout-main-container {
2
- display: flex;
3
- flex-direction: column;
4
- min-height: 100vh;
5
- justify-content: space-between;
6
- padding: 5rem 1rem 0rem 1rem;
7
- transition: margin-left var(--layout-section-transition-duration);
8
- }
9
-
10
- .layout-main {
11
- flex: 1 1 auto;
12
- }
1
+ .layout-main-container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ min-height: 100vh;
5
+ justify-content: space-between;
6
+ padding: 5rem 1rem 0rem 1rem;
7
+ transition: margin-left var(--layout-section-transition-duration);
8
+ }
9
+
10
+ .layout-main {
11
+ flex: 1 1 auto;
12
+ }
@@ -1,15 +1,15 @@
1
- @mixin focused() {
2
- outline-width: var(--focus-ring-width);
3
- outline-style: var(--focus-ring-style);
4
- outline-color: var(--focus-ring-color);
5
- outline-offset: var(--focus-ring-offset);
6
- box-shadow: var(--focus-ring-shadow);
7
- transition:
8
- box-shadow var(--transition-duration),
9
- outline-color var(--transition-duration);
10
- }
11
-
12
- @mixin focused-inset() {
13
- outline-offset: -1px;
14
- box-shadow: inset var(--focus-ring-shadow);
15
- }
1
+ @mixin focused() {
2
+ outline-width: var(--focus-ring-width);
3
+ outline-style: var(--focus-ring-style);
4
+ outline-color: var(--focus-ring-color);
5
+ outline-offset: var(--focus-ring-offset);
6
+ box-shadow: var(--focus-ring-shadow);
7
+ transition:
8
+ box-shadow var(--transition-duration),
9
+ outline-color var(--transition-duration);
10
+ }
11
+
12
+ @mixin focused-inset() {
13
+ outline-offset: -1px;
14
+ box-shadow: inset var(--focus-ring-shadow);
15
+ }
@@ -1,49 +1,49 @@
1
- .preloader {
2
- position: fixed;
3
- z-index: 999999;
4
- background: #edf1f5;
5
- width: 100%;
6
- height: 100%;
7
- }
8
-
9
- .preloader-content {
10
- border: 0 solid transparent;
11
- border-radius: 50%;
12
- width: 150px;
13
- height: 150px;
14
- position: absolute;
15
- top: calc(50vh - 75px);
16
- left: calc(50vw - 75px);
17
- }
18
-
19
- .preloader-content:before,
20
- .preloader-content:after {
21
- content: "";
22
- border: 1em solid var(--primary-color);
23
- border-radius: 50%;
24
- width: inherit;
25
- height: inherit;
26
- position: absolute;
27
- top: 0;
28
- left: 0;
29
- animation: loader 2s linear infinite;
30
- opacity: 0;
31
- }
32
-
33
- .preloader-content:before {
34
- animation-delay: 0.5s;
35
- }
36
-
37
- @keyframes loader {
38
- 0% {
39
- transform: scale(0);
40
- opacity: 0;
41
- }
42
- 50% {
43
- opacity: 1;
44
- }
45
- 100% {
46
- transform: scale(1);
47
- opacity: 0;
48
- }
49
- }
1
+ .preloader {
2
+ position: fixed;
3
+ z-index: 999999;
4
+ background: #edf1f5;
5
+ width: 100%;
6
+ height: 100%;
7
+ }
8
+
9
+ .preloader-content {
10
+ border: 0 solid transparent;
11
+ border-radius: 50%;
12
+ width: 150px;
13
+ height: 150px;
14
+ position: absolute;
15
+ top: calc(50vh - 75px);
16
+ left: calc(50vw - 75px);
17
+ }
18
+
19
+ .preloader-content:before,
20
+ .preloader-content:after {
21
+ content: "";
22
+ border: 1em solid var(--primary-color);
23
+ border-radius: 50%;
24
+ width: inherit;
25
+ height: inherit;
26
+ position: absolute;
27
+ top: 0;
28
+ left: 0;
29
+ animation: loader 2s linear infinite;
30
+ opacity: 0;
31
+ }
32
+
33
+ .preloader-content:before {
34
+ animation-delay: 0.5s;
35
+ }
36
+
37
+ @keyframes loader {
38
+ 0% {
39
+ transform: scale(0);
40
+ opacity: 0;
41
+ }
42
+ 50% {
43
+ opacity: 1;
44
+ }
45
+ 100% {
46
+ transform: scale(1);
47
+ opacity: 0;
48
+ }
49
+ }