pds-dev-kit-web-test 2.5.362 → 2.5.364

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.
@@ -21,13 +21,16 @@ var compositionQueryContext_1 = require("../compositionQueryContext");
21
21
  var Composition_1 = __importDefault(require("./Composition"));
22
22
  function createCompositions(_a) {
23
23
  var valueType = _a.valueType, queryPath = _a.queryPath, queryData = _a.queryData, compositions = _a.compositions;
24
- var isQueryDataConnected = valueType === 'DATA';
24
+ var isQueryDataConnected = valueType === 'DATA' || valueType === 'DELEGATEDDATA';
25
25
  // 직접 입력 유형인 경우
26
26
  if (!isQueryDataConnected) {
27
27
  return compositions
28
28
  .filter(function (composition) { return !composition.isDefault; })
29
29
  .map(function (composition) { return (0, jsx_runtime_1.jsx)(Composition_1.default, __assign({}, composition), composition.id); });
30
30
  }
31
+ if (!compositions.length) {
32
+ return [(0, jsx_runtime_1.jsx)("div", { children: "EMPTY TEXT" }, "not-found")];
33
+ }
31
34
  // 데이터 연결 유형이나, 쿼리 데이터나 키가 없는 경우
32
35
  if (!queryPath || !queryData) {
33
36
  return compositions
@@ -1,2 +1 @@
1
- import type { CB_CONTENTSCAROUSEL } from './sections/CustomSection/types';
2
- export declare const SAMPLE_CONTENTSCAROUSEL_CB: CB_CONTENTSCAROUSEL;
1
+ export declare const SAMPLE_CONTENTSCAROUSEL_CB: any;