pds-dev-kit-web-test 0.3.68 → 0.3.70

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.
Files changed (32) hide show
  1. package/dist/src/common/services/i18n/resources/en.json +2 -1
  2. package/dist/src/common/services/i18n/resources/es.json +2 -1
  3. package/dist/src/common/services/i18n/resources/fil.json +2 -1
  4. package/dist/src/common/services/i18n/resources/index.d.ts +7 -0
  5. package/dist/src/common/services/i18n/resources/ja.json +2 -1
  6. package/dist/src/common/services/i18n/resources/ko.json +2 -1
  7. package/dist/src/common/services/i18n/resources/zh-cn.json +2 -1
  8. package/dist/src/common/services/i18n/resources/zh-tw.json +2 -1
  9. package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +0 -14
  10. package/dist/src/desktop/components/TextButton/TextButton.js +5 -1
  11. package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +1752 -521
  12. package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +2909 -895
  13. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +4 -1
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -0
  15. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.d.ts +5 -0
  16. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +48 -0
  17. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.d.ts +8 -0
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.js +45 -0
  19. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.d.ts +3 -0
  20. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +21 -0
  21. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.d.ts +1 -0
  22. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.js +9 -0
  23. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +6 -0
  24. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.js +2 -0
  25. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -0
  26. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +11 -4
  27. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
  28. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  29. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +11 -1
  30. package/package.json +1 -1
  31. package/release-note.md +6 -7
  32. package/webhook/node_modules/esrecurse/.babelrc +3 -0
@@ -23,6 +23,7 @@
23
23
  "str_payment_option_subs_regularly": "Regular Payment",
24
24
  "str_5831": "{{price}} USD",
25
25
  "str_start": "Start",
26
- "str_free": "FREE"
26
+ "str_free": "FREE",
27
+ "str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info": "Unable to run because the provider's domain is disconnected."
27
28
  }
28
29
  }
@@ -23,6 +23,7 @@
23
23
  "str_payment_option_subs_regularly": "Regular Payment",
24
24
  "str_5831": "{{price}} USD",
25
25
  "str_start": "Start",
26
- "str_free": "FREE"
26
+ "str_free": "FREE",
27
+ "str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info": "Unable to run because the provider's domain is disconnected."
27
28
  }
28
29
  }
@@ -23,6 +23,7 @@
23
23
  "str_payment_option_subs_regularly": "Regular na Pagbabayad",
24
24
  "str_5831": "{{price}} USD",
25
25
  "str_start": "Start",
26
- "str_free": "FREE"
26
+ "str_free": "FREE",
27
+ "str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info": "Unable to run because the provider's domain is disconnected."
27
28
  }
28
29
  }
@@ -25,6 +25,7 @@ declare const locale: {
25
25
  str_5831: string;
26
26
  str_start: string;
27
27
  str_free: string;
28
+ str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info: string;
28
29
  };
29
30
  };
30
31
  readonly en: {
@@ -53,6 +54,7 @@ declare const locale: {
53
54
  str_5831: string;
54
55
  str_start: string;
55
56
  str_free: string;
57
+ str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info: string;
56
58
  };
57
59
  };
58
60
  readonly ja: {
@@ -81,6 +83,7 @@ declare const locale: {
81
83
  str_5831: string;
82
84
  str_start: string;
83
85
  str_free: string;
86
+ str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info: string;
84
87
  };
85
88
  };
86
89
  readonly es: {
@@ -109,6 +112,7 @@ declare const locale: {
109
112
  str_5831: string;
110
113
  str_start: string;
111
114
  str_free: string;
115
+ str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info: string;
112
116
  };
113
117
  };
114
118
  readonly 'zh-cn': {
@@ -137,6 +141,7 @@ declare const locale: {
137
141
  str_5831: string;
138
142
  str_start: string;
139
143
  str_free: string;
144
+ str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info: string;
140
145
  };
141
146
  };
142
147
  readonly 'zh-tw': {
@@ -165,6 +170,7 @@ declare const locale: {
165
170
  str_5831: string;
166
171
  str_start: string;
167
172
  str_free: string;
173
+ str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info: string;
168
174
  };
169
175
  };
170
176
  readonly fil: {
@@ -193,6 +199,7 @@ declare const locale: {
193
199
  str_5831: string;
194
200
  str_start: string;
195
201
  str_free: string;
202
+ str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info: string;
196
203
  };
197
204
  };
198
205
  };
@@ -23,6 +23,7 @@
23
23
  "str_payment_option_subs_regularly": "Regular Payment",
24
24
  "str_5831": "{{price}} USD",
25
25
  "str_start": "Start",
26
- "str_free": "FREE"
26
+ "str_free": "FREE",
27
+ "str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info": "Unable to run because the provider's domain is disconnected."
27
28
  }
28
29
  }
@@ -23,6 +23,7 @@
23
23
  "str_payment_option_subs_regularly": "정기 결제",
24
24
  "str_5831": "{{price}} USD",
25
25
  "str_start": "시작하기",
26
- "str_free": "무료"
26
+ "str_free": "무료",
27
+ "str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info": "사업자의 도메인이 연결되지 않아 실행할 수 없습니다."
27
28
  }
28
29
  }
@@ -23,6 +23,7 @@
23
23
  "str_payment_option_subs_regularly": "定期付款",
24
24
  "str_5831": "{{price}} USD",
25
25
  "str_start": "Start",
26
- "str_free": "FREE"
26
+ "str_free": "FREE",
27
+ "str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info": "Unable to run because the provider's domain is disconnected."
27
28
  }
28
29
  }
@@ -23,6 +23,7 @@
23
23
  "str_payment_option_subs_regularly": "定期結算",
24
24
  "str_5831": "{{price}} USD",
25
25
  "str_start": "Start",
26
- "str_free": "FREE"
26
+ "str_free": "FREE",
27
+ "str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info": "Unable to run because the provider's domain is disconnected."
27
28
  }
28
29
  }
@@ -43,21 +43,7 @@ function DesktopAlertDialog(_a) {
43
43
  root.removeChild(container);
44
44
  };
45
45
  }, []);
46
- // Enter 키 입력 감지를 위한 useEffect
47
- // useEffect(() => {
48
- // const handleKeyDown = (event: KeyboardEvent) => {
49
- // if (event.isComposing) return;
50
- // if (event.key === 'Enter') {
51
- // onClickTBtn1 && onClickTBtn1();
52
- // }
53
- // };
54
- // document.addEventListener('keydown', handleKeyDown);
55
- // return () => {
56
- // document.removeEventListener('keydown', handleKeyDown);
57
- // };
58
- // }, []);
59
46
  function handleKeyDown(e) {
60
- console.log(e);
61
47
  if (e.key === 'Enter') {
62
48
  onClickTBtn1 && onClickTBtn1();
63
49
  }
@@ -72,6 +72,10 @@ var textColor = {
72
72
  function TextButton(_a) {
73
73
  var text = _a.text, _b = _a.size, size = _b === void 0 ? 'large' : _b, _c = _a.responsiveMode, responsiveMode = _c === void 0 ? 'none' : _c, fontWeight = _a.fontWeight, _d = _a.type, type = _d === void 0 ? 'button' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, _f = _a.colorTheme, colorTheme = _f === void 0 ? 'none' : _f, onClick = _a.onClick, onKeyDown = _a.onKeyDown, rest = __rest(_a, ["text", "size", "responsiveMode", "fontWeight", "type", "state", "colorTheme", "onClick", "onKeyDown"]);
74
74
  var buttonRef = (0, react_1.useRef)(null);
75
+ /**
76
+ * @when keydown 이벤트가 있을 때만
77
+ * @expected onKeyDown 이벤트가 작동하기 위해 버튼에 포커스를 맞춥니다.
78
+ */
75
79
  (0, react_1.useEffect)(function () {
76
80
  if (!onKeyDown)
77
81
  return;
@@ -84,7 +88,7 @@ function TextButton(_a) {
84
88
  onClick(e);
85
89
  }
86
90
  };
87
- return ((0, jsx_runtime_1.jsx)(S_Button, __assign({ ref: buttonRef, "x-pds-name": "TextButton", "x-pds-element-type": "component", "x-pds-device-type": "desktop" }, rest, { size: size, responsiveMode: responsiveMode, onClick: handleClick, onKeyDown: onKeyDown, type: type, fontWeight: fontWeight, disabled: state === 'disabled', state: state, colorTheme: colorTheme, tabIndex: 0 }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[colorTheme], singleLineMode: "use", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }) })));
91
+ return ((0, jsx_runtime_1.jsx)(S_Button, __assign({ ref: buttonRef, "x-pds-name": "TextButton", "x-pds-element-type": "component", "x-pds-device-type": "desktop" }, rest, { size: size, responsiveMode: responsiveMode, onClick: handleClick, onKeyDown: onKeyDown, type: type, fontWeight: fontWeight, disabled: state === 'disabled', state: state, colorTheme: colorTheme }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[colorTheme], singleLineMode: "use", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }) })));
88
92
  }
89
93
  var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n border-radius: 14px;\n height: 48px;\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
90
94
  var size = _a.size;