@webitel/ui-sdk 3.2.169 → 3.2.170

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "3.2.169",
3
+ "version": "3.2.170",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -44,6 +44,7 @@ const AdminSections = Object.freeze({
44
44
 
45
45
  // SYSTEM
46
46
  CHANGELOGS: 'changelogs',
47
+ SETTINGS: 'settings',
47
48
  });
48
49
 
49
50
  export default AdminSections;
@@ -229,6 +229,7 @@ export default {
229
229
  [AdminSections.ROLES]: 'Roles',
230
230
  [AdminSections.OBJECTS]: 'Objects',
231
231
  [AdminSections.CHANGELOGS]: 'Change log',
232
+ [AdminSections.SETTINGS]: 'Settings',
232
233
  },
233
234
  },
234
235
  },
@@ -227,6 +227,7 @@ export default {
227
227
  [AdminSections.ROLES]: 'Роли',
228
228
  [AdminSections.OBJECTS]: 'Разделы',
229
229
  [AdminSections.CHANGELOGS]: 'Журнал изменений',
230
+ [AdminSections.SETTINGS]: 'Настройки',
230
231
  },
231
232
  },
232
233
  },
@@ -227,6 +227,7 @@ export default {
227
227
  [AdminSections.ROLES]: 'Ролі',
228
228
  [AdminSections.OBJECTS]: 'Розділи',
229
229
  [AdminSections.CHANGELOGS]: 'Журнал змін',
230
+ [AdminSections.SETTINGS]: 'Налаштування',
230
231
  },
231
232
  },
232
233
  },
@@ -1,7 +1,7 @@
1
1
  import { generateQuestionScoreSchema } from './AuditFormQuestionScoreSchema';
2
2
 
3
3
  // eslint-disable-next-line import/prefer-default-export
4
- export const generateQuestionSchema = ({ required = false } = {}) => ({
4
+ export const generateQuestionSchema = ({ required = true } = {}) => ({
5
5
  required,
6
6
  question: '',
7
7
  ...generateQuestionScoreSchema(),
@@ -155,6 +155,10 @@ const applicationsAccess = (value = true) => ({
155
155
  _enabled: value,
156
156
  _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.CHANGELOGS}`,
157
157
  },
158
+ [AdminSections.SETTINGS]: {
159
+ _enabled: value,
160
+ _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.SETTINGS}`,
161
+ },
158
162
  },
159
163
  [WebitelApplications.AUDIT]: {
160
164
  _enabled: value,