pds-dev-kit-web-test 2.7.497 → 2.7.498
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/dist/src/common/services/i18n/resources/en.json +4 -1
- package/dist/src/common/services/i18n/resources/es.json +4 -1
- package/dist/src/common/services/i18n/resources/fil.json +4 -1
- package/dist/src/common/services/i18n/resources/index.d.ts +21 -0
- package/dist/src/common/services/i18n/resources/ja.json +4 -1
- package/dist/src/common/services/i18n/resources/ko.json +4 -1
- package/dist/src/common/services/i18n/resources/zh-cn.json +4 -1
- package/dist/src/common/services/i18n/resources/zh-tw.json +4 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +11 -10
- package/package.json +1 -1
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
"str_reaction": "Reaction",
|
|
107
107
|
"str_9806": "There are no items added yet. Please add and edit items!",
|
|
108
108
|
"str_10106": "The height is adjusted\naccording to the content.",
|
|
109
|
-
"str_grid_height_variable": "Variable"
|
|
109
|
+
"str_grid_height_variable": "Variable",
|
|
110
|
+
"str_10476": "Loading data information.",
|
|
111
|
+
"str_10477": "Data value not linked",
|
|
112
|
+
"str_10478": "No data values to link."
|
|
110
113
|
}
|
|
111
114
|
}
|
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
"str_reaction": "Reaction",
|
|
107
107
|
"str_9806": "There are no items added yet. Please add and edit items!",
|
|
108
108
|
"str_10106": "The height is adjusted\naccording to the content.",
|
|
109
|
-
"str_grid_height_variable": "Variable"
|
|
109
|
+
"str_grid_height_variable": "Variable",
|
|
110
|
+
"str_10476": "Loading data information.",
|
|
111
|
+
"str_10477": "Data value not linked",
|
|
112
|
+
"str_10478": "No data values to link."
|
|
110
113
|
}
|
|
111
114
|
}
|
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
"str_reaction": "Reaction",
|
|
100
100
|
"str_9806": "There are no items added yet. Please add and edit items!",
|
|
101
101
|
"str_10106": "The height is adjusted\naccording to the content.",
|
|
102
|
-
"str_grid_height_variable": "Variable"
|
|
102
|
+
"str_grid_height_variable": "Variable",
|
|
103
|
+
"str_10476": "Loading data information.",
|
|
104
|
+
"str_10477": "Data value not linked",
|
|
105
|
+
"str_10478": "No data values to link."
|
|
103
106
|
}
|
|
104
107
|
}
|
|
@@ -109,6 +109,9 @@ declare const locale: {
|
|
|
109
109
|
str_9806: string;
|
|
110
110
|
str_10106: string;
|
|
111
111
|
str_grid_height_variable: string;
|
|
112
|
+
str_10476: string;
|
|
113
|
+
str_10477: string;
|
|
114
|
+
str_10478: string;
|
|
112
115
|
};
|
|
113
116
|
};
|
|
114
117
|
readonly en: {
|
|
@@ -220,6 +223,9 @@ declare const locale: {
|
|
|
220
223
|
str_9806: string;
|
|
221
224
|
str_10106: string;
|
|
222
225
|
str_grid_height_variable: string;
|
|
226
|
+
str_10476: string;
|
|
227
|
+
str_10477: string;
|
|
228
|
+
str_10478: string;
|
|
223
229
|
};
|
|
224
230
|
};
|
|
225
231
|
readonly ja: {
|
|
@@ -331,6 +337,9 @@ declare const locale: {
|
|
|
331
337
|
str_9806: string;
|
|
332
338
|
str_10106: string;
|
|
333
339
|
str_grid_height_variable: string;
|
|
340
|
+
str_10476: string;
|
|
341
|
+
str_10477: string;
|
|
342
|
+
str_10478: string;
|
|
334
343
|
};
|
|
335
344
|
};
|
|
336
345
|
readonly es: {
|
|
@@ -442,6 +451,9 @@ declare const locale: {
|
|
|
442
451
|
str_9806: string;
|
|
443
452
|
str_10106: string;
|
|
444
453
|
str_grid_height_variable: string;
|
|
454
|
+
str_10476: string;
|
|
455
|
+
str_10477: string;
|
|
456
|
+
str_10478: string;
|
|
445
457
|
};
|
|
446
458
|
};
|
|
447
459
|
readonly 'zh-cn': {
|
|
@@ -553,6 +565,9 @@ declare const locale: {
|
|
|
553
565
|
str_9806: string;
|
|
554
566
|
str_10106: string;
|
|
555
567
|
str_grid_height_variable: string;
|
|
568
|
+
str_10476: string;
|
|
569
|
+
str_10477: string;
|
|
570
|
+
str_10478: string;
|
|
556
571
|
};
|
|
557
572
|
};
|
|
558
573
|
readonly 'zh-tw': {
|
|
@@ -664,6 +679,9 @@ declare const locale: {
|
|
|
664
679
|
str_9806: string;
|
|
665
680
|
str_10106: string;
|
|
666
681
|
str_grid_height_variable: string;
|
|
682
|
+
str_10476: string;
|
|
683
|
+
str_10477: string;
|
|
684
|
+
str_10478: string;
|
|
667
685
|
};
|
|
668
686
|
};
|
|
669
687
|
readonly fil: {
|
|
@@ -768,6 +786,9 @@ declare const locale: {
|
|
|
768
786
|
str_9806: string;
|
|
769
787
|
str_10106: string;
|
|
770
788
|
str_grid_height_variable: string;
|
|
789
|
+
str_10476: string;
|
|
790
|
+
str_10477: string;
|
|
791
|
+
str_10478: string;
|
|
771
792
|
};
|
|
772
793
|
};
|
|
773
794
|
};
|
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
"str_reaction": "Reaction",
|
|
107
107
|
"str_9806": "There are no items added yet. Please add and edit items!",
|
|
108
108
|
"str_10106": "The height is adjusted\naccording to the content.",
|
|
109
|
-
"str_grid_height_variable": "Variable"
|
|
109
|
+
"str_grid_height_variable": "Variable",
|
|
110
|
+
"str_10476": "Loading data information.",
|
|
111
|
+
"str_10477": "Data value not linked",
|
|
112
|
+
"str_10478": "No data values to link."
|
|
110
113
|
}
|
|
111
114
|
}
|
|
@@ -107,6 +107,9 @@
|
|
|
107
107
|
"str_reaction": "반응",
|
|
108
108
|
"str_9806": "아직 추가된 항목이 없어요. 항목을 추가하고 편집해주세요!",
|
|
109
109
|
"str_10106": "내용에 따라 높이가 조절됩니다.",
|
|
110
|
-
"str_grid_height_variable": "가변"
|
|
110
|
+
"str_grid_height_variable": "가변",
|
|
111
|
+
"str_10476": "데이터 정보를 불러오는 중입니다.",
|
|
112
|
+
"str_10477": "데이터 값 연결되지 않음",
|
|
113
|
+
"str_10478": "연결할 데이터 값이 없습니다."
|
|
111
114
|
}
|
|
112
115
|
}
|
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
"str_reaction": "Reaction",
|
|
107
107
|
"str_9806": "There are no items added yet. Please add and edit items!",
|
|
108
108
|
"str_10106": "The height is adjusted\naccording to the content.",
|
|
109
|
-
"str_grid_height_variable": "Variable"
|
|
109
|
+
"str_grid_height_variable": "Variable",
|
|
110
|
+
"str_10476": "Loading data information.",
|
|
111
|
+
"str_10477": "Data value not linked",
|
|
112
|
+
"str_10478": "No data values to link."
|
|
110
113
|
}
|
|
111
114
|
}
|
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
"str_reaction": "Reaction",
|
|
107
107
|
"str_9806": "There are no items added yet. Please add and edit items!",
|
|
108
108
|
"str_10106": "The height is adjusted\naccording to the content.",
|
|
109
|
-
"str_grid_height_variable": "Variable"
|
|
109
|
+
"str_grid_height_variable": "Variable",
|
|
110
|
+
"str_10476": "Loading data information.",
|
|
111
|
+
"str_10477": "Data value not linked",
|
|
112
|
+
"str_10478": "No data values to link."
|
|
110
113
|
}
|
|
111
114
|
}
|
|
@@ -33,7 +33,7 @@ function createCompositions(_a) {
|
|
|
33
33
|
var valueTypeCompositions = compositions.filter(function (composition) { return !!(composition === null || composition === void 0 ? void 0 : composition.ccbManualItemUuid); });
|
|
34
34
|
// MANUAL ITEM이 없는 경우
|
|
35
35
|
if (!valueTypeCompositions.length) {
|
|
36
|
-
return [(0, jsx_runtime_1.jsx)(EmptyString, {}, "empty-manual-item")];
|
|
36
|
+
return [(0, jsx_runtime_1.jsx)(EmptyString, { stringKey: "str_9806" }, "empty-manual-item")];
|
|
37
37
|
}
|
|
38
38
|
return valueTypeCompositions.map(function (composition) { return ((0, jsx_runtime_1.jsx)(Composition_1.default, __assign({}, composition, { ccbCode: componentBlockCode }), composition.id)); });
|
|
39
39
|
}
|
|
@@ -42,36 +42,37 @@ function createCompositions(_a) {
|
|
|
42
42
|
}
|
|
43
43
|
// 데이터 연결 유형이나, 쿼리 데이터나 키가 없는 경우
|
|
44
44
|
if (queryPath === 'NONE' || !queryPath || !queryData) {
|
|
45
|
-
return [(0, jsx_runtime_1.jsx)(
|
|
45
|
+
return [(0, jsx_runtime_1.jsx)(EmptyString, { stringKey: "str_10477" }, "no-query")];
|
|
46
46
|
}
|
|
47
47
|
var queryDataValue = queryData[queryPath];
|
|
48
48
|
var queryComposition = compositions.find(function (composition) { return !composition.ccbManualItemUuid; });
|
|
49
49
|
// 쿼리 데이터와 키가 있으나, 쿼리 데이터에 해당 키가 없는 경우
|
|
50
50
|
if (!queryDataValue) {
|
|
51
|
-
return [(0, jsx_runtime_1.jsx)(
|
|
51
|
+
return [(0, jsx_runtime_1.jsx)(EmptyString, { stringKey: "str_10478" }, "not-found")];
|
|
52
52
|
}
|
|
53
53
|
// 쿼리 데이터와 키가 있으나, 쿼리 데이터에 결과가 빈 경우
|
|
54
54
|
if (!queryDataValue.length) {
|
|
55
|
-
return [(0, jsx_runtime_1.jsx)(
|
|
55
|
+
return [(0, jsx_runtime_1.jsx)(EmptyString, { stringKey: "str_10478" }, "empty-item")];
|
|
56
56
|
}
|
|
57
57
|
return queryDataValue.slice(0, limit).map(function (query, index) { return ((0, jsx_runtime_1.jsx)(compositionQueryContext_1.CCBQueryPathContext.Provider, __assign({ value: { queryData: query } }, { children: (0, jsx_runtime_1.jsx)(Composition_1.default, __assign({}, queryComposition, { ccbCode: componentBlockCode })) }), index)); });
|
|
58
58
|
}
|
|
59
59
|
exports.createCompositions = createCompositions;
|
|
60
|
-
function EmptyString() {
|
|
60
|
+
function EmptyString(_a) {
|
|
61
|
+
var stringKey = _a.stringKey;
|
|
61
62
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
|
62
|
-
return (0, jsx_runtime_1.jsx)(S_EmptyLayer, { children: t(
|
|
63
|
+
return (0, jsx_runtime_1.jsx)(S_EmptyLayer, { children: t(stringKey) });
|
|
63
64
|
}
|
|
64
|
-
var S_EmptyLayer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: rgba(0, 0, 0, 0.
|
|
65
|
+
var S_EmptyLayer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: rgba(0, 0, 0, 0.5);\n color: white;\n display: flex;\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n padding: ", ";\n text-align: center;\n word-break: keep-all;\n"], ["\n background-color: rgba(0, 0, 0, 0.5);\n color: white;\n display: flex;\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n padding: ", ";\n text-align: center;\n word-break: keep-all;\n"])), function (_a) {
|
|
65
66
|
var theme = _a.theme;
|
|
66
|
-
return theme.desktopFontSize.
|
|
67
|
+
return theme.desktopFontSize.caption1;
|
|
67
68
|
}, function (_a) {
|
|
68
69
|
var theme = _a.theme;
|
|
69
70
|
return theme.fontWeight.bold;
|
|
70
71
|
}, function (_a) {
|
|
71
72
|
var theme = _a.theme;
|
|
72
|
-
return theme.desktopLineHeight.
|
|
73
|
+
return theme.desktopLineHeight.caption1;
|
|
73
74
|
}, function (_a) {
|
|
74
75
|
var theme = _a.theme;
|
|
75
|
-
return theme.spacing.
|
|
76
|
+
return theme.spacing.spacingD;
|
|
76
77
|
});
|
|
77
78
|
var templateObject_1;
|