@webitel/ui-sdk 24.12.151 → 24.12.153
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/CHANGELOG.md +13 -0
- package/dist/ui-sdk.js +249 -249
- package/dist/ui-sdk.umd.cjs +15 -15
- package/package.json +1 -1
- package/src/locale/en/en.js +5 -0
- package/src/locale/ru/ru.js +5 -0
- package/src/locale/ua/ua.js +5 -0
- package/src/modules/Filters/v2/filters/components/preview/dynamic-filter-preview.vue +1 -1
- package/src/modules/Userinfo/v2/scripts/utils.ts +4 -0
package/package.json
CHANGED
package/src/locale/en/en.js
CHANGED
|
@@ -482,6 +482,11 @@ export default {
|
|
|
482
482
|
exportToJson: 'Export to JSON',
|
|
483
483
|
},
|
|
484
484
|
filters: {
|
|
485
|
+
predefinedLabels: { /* https://webitel.atlassian.net/browse/WTEL-6308?focusedCommentId=657415 */
|
|
486
|
+
createdAt: {
|
|
487
|
+
startOfToday: 'From the start of today',
|
|
488
|
+
},
|
|
489
|
+
},
|
|
485
490
|
addFilter: ({ linked }) => {
|
|
486
491
|
return `${linked('reusable.add')} a ${linked(
|
|
487
492
|
'reusable.filter',
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -480,6 +480,11 @@ export default {
|
|
|
480
480
|
exportToJson: 'Экспортировать в JSON',
|
|
481
481
|
},
|
|
482
482
|
filters: {
|
|
483
|
+
predefinedLabels: { /* https://webitel.atlassian.net/browse/WTEL-6308?focusedCommentId=657415 */
|
|
484
|
+
createdAt: {
|
|
485
|
+
startOfToday: 'С начала дня',
|
|
486
|
+
},
|
|
487
|
+
},
|
|
483
488
|
addFilter: ({ linked }) => {
|
|
484
489
|
return `${linked('reusable.add')} ${linked(
|
|
485
490
|
'reusable.filter',
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -480,6 +480,11 @@ export default {
|
|
|
480
480
|
exportToJson: 'Експортувати в JSON',
|
|
481
481
|
},
|
|
482
482
|
filters: {
|
|
483
|
+
predefinedLabels: { /* https://webitel.atlassian.net/browse/WTEL-6308?focusedCommentId=657415 */
|
|
484
|
+
createdAt: {
|
|
485
|
+
startOfToday: 'Від початку дня',
|
|
486
|
+
},
|
|
487
|
+
},
|
|
483
488
|
addFilter: ({ linked }) => {
|
|
484
489
|
return `${linked('reusable.add')} ${linked(
|
|
485
490
|
'reusable.filter',
|
|
@@ -51,7 +51,7 @@ import DynamicFilterPreviewInfo from './dynamic-filter-preview-info.vue';
|
|
|
51
51
|
|
|
52
52
|
interface Props {
|
|
53
53
|
filter: IFilter;
|
|
54
|
-
dummy?: boolean;
|
|
54
|
+
dummy?: boolean; /* https://webitel.atlassian.net/browse/WTEL-6308?focusedCommentId=657415 */
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
const { t } = useI18n();
|
|
@@ -76,6 +76,8 @@ export const makeAppVisibilityMap = (
|
|
|
76
76
|
rawVisibility: VisibilityAccess,
|
|
77
77
|
): AppVisibilityMap => {
|
|
78
78
|
const map = new Map();
|
|
79
|
+
if (!rawVisibility) return map;
|
|
80
|
+
|
|
79
81
|
Object.entries(rawVisibility).forEach(([app, visibility]) => {
|
|
80
82
|
map.set(app, visibility._enabled);
|
|
81
83
|
});
|
|
@@ -87,6 +89,8 @@ export const makeSectionVisibilityMap = (
|
|
|
87
89
|
): SectionVisibilityMap => {
|
|
88
90
|
const map = new Map();
|
|
89
91
|
|
|
92
|
+
if (!rawVisibility) return map;
|
|
93
|
+
|
|
90
94
|
Object.values(rawVisibility).forEach((appSectionsVisibility) => {
|
|
91
95
|
Object.entries(appSectionsVisibility).forEach(([section, visibility]) => {
|
|
92
96
|
if (section.startsWith('_')) return map; // skip private fields
|