pds-dev-kit-web 0.5.7 → 0.5.11

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 (37) hide show
  1. package/dist/src/common/services/i18n/resources/en.json +41 -7
  2. package/dist/src/common/services/i18n/resources/es.json +45 -11
  3. package/dist/src/common/services/i18n/resources/index.d.ts +140 -4
  4. package/dist/src/common/services/i18n/resources/jp.json +45 -11
  5. package/dist/src/common/services/i18n/resources/ko.json +45 -11
  6. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +3 -1
  7. package/dist/src/common/styles/colorSet/PaletteColor_light.json +3 -1
  8. package/dist/src/common/styles/colorSet/UIColor.json +3 -1
  9. package/dist/src/common/styles/colorSet/index.d.ts +61 -55
  10. package/dist/src/common/styles/colorSet/index.js +2 -2
  11. package/dist/src/common/styles/colorSet/ui-type.d.ts +2 -0
  12. package/dist/src/desktop/components/TextField/TextField.js +7 -6
  13. package/dist/src/desktop/components/TextLabel/TextLabel.js +1 -1
  14. package/dist/src/hybrid/components/ImageView/ImageView.js +15 -15
  15. package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +8 -2
  16. package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.js +3 -3
  17. package/dist/src/mobile/components/TextField/TextField.js +7 -6
  18. package/dist/src/mobile/components/TextLabel/TextLabel.js +1 -1
  19. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  20. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +2 -2
  21. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  22. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +2 -2
  23. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  24. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  25. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  26. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  27. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +2 -2
  28. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  29. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  30. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +2 -2
  31. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  32. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  33. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +2 -2
  34. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  35. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  36. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +2 -2
  37. package/package.json +1 -1
@@ -694,9 +694,9 @@
694
694
  "str_325": "채널 기본 정보",
695
695
  "str_326": "채널의 제목은 최소 4자, 최대 20자까지 입력할 수 있습니다.",
696
696
  "str_327": "채널 커버 이미지",
697
- "str_328": "채널 커버 이미지는 모바일 웹 및 PC 웹에서 세로형으로 표시, 사용할 수 있는 이미지입니다.",
698
- "str_329": "채널의 브랜드나 이미지를 표현할 있는 배경으로 사용됩니다.",
699
- "str_330": "최대 1080x1920, 최대 2MB, JPG 및 PNG 형식으로 업로드 할 수 있습니다.",
697
+ "str_328": "채널 커버 이미지는 모바일 웹 및 PC 웹에서 가로형으로 표시, 사용할 수 있는 이미지입니다.",
698
+ "str_329": "채널 아이덴티티를 포함하는 대상이 좌측에 위치한 이미지를 권장합니다.",
699
+ "str_330": "최대 1920x1080, 최대 2MB, JPG 및 PNG 형식으로 업로드 할 수 있습니다.",
700
700
  "str_331": "채널 아이콘 이미지는 정사각형으로 업로드 되어 메뉴 등에서 채널의 아이콘 역할을 할 수 있습니다.",
701
701
  "str_332": "채널을 인식할 수 있도록 돕는 이미지여야 합니다.",
702
702
  "str_333": "최대 512x512, 최대 1MB, JPG 및 PNG 형식으로 업로드 할 수 있습니다.",
@@ -1769,7 +1769,7 @@
1769
1769
  "str_848": "국제전화번호용 할당",
1770
1770
  "str_849": "국제전화번호용 할당",
1771
1771
  "str_850": "국제전화번호용 할당",
1772
- "str_851": "구독자 1명 당 구독료\n₩{{price}}일 ",
1772
+ "str_851": "구독자 1명 당 구독료\n₩{{price}}일 때,",
1773
1773
  "str_852": "구독자 1명 당 기대 수익 ₩{{price}}",
1774
1774
  "str_853": "기준 통화 설정",
1775
1775
  "str_854": "채널 내에서 결제가 이루어지는 모든 상황에서 기준이 되는 통화를 설정합니다.",
@@ -1811,7 +1811,7 @@
1811
1811
  "str_886": "1 최대 20개를 설치할 수 있으며, publ팀에 신청 시 한도를 해제합니다.\n2 회사와 용역계약 및 하도급 계약을 통해 정산하며, 특정 기간 내에 (14일~30일) 비즈니스를 시작하지 않으면 채널이 삭제될 수 있습니다.\n3 publ Store는 publ 팀이 자체적으로 운영, 관리하는 스토어로 상품관리 및 주문 관리 등을 대행합니다.",
1812
1812
  "str_887": "1 최대 20개를 설치할 수 있으며, publ팀에 신청 시 한도를 해제합니다.\n2 publ 표준 네이티브 앱을 클론하여 스토어에 독립적으로 출시할 수 있는 브랜디드 모바일 앱입니다.\n3 고객사 전용으로 사용할 수 있는 pApp을 개발하여 이용할 수 있게 제공합니다. 제3자가 사용할 수 없습니다.",
1813
1813
  "str_papp_vodp_btn_home": "홈",
1814
- "str_papp_vodp_btn_series": "시리즈",
1814
+ "str_papp_vodp_btn_series": "작품",
1815
1815
  "str_papp_vodp_btn_series_bookmark": "내가 찜한 목록",
1816
1816
  "str_890": "내용은 최소 2자, 최대 2048자까지 입력할 수 있습니다.",
1817
1817
  "str_891": "표시 제목은 최소 2자, 최대 8자까지 입력할 수 있습니다. (공백, 특수문자 불가)",
@@ -2605,7 +2605,7 @@
2605
2605
  "str_papp_promotion_page_id": "아웃링크",
2606
2606
  "str_papp_promotion_page_name": "아웃링크",
2607
2607
  "str_pam_lpc": "LPC pAM",
2608
- "str_pam_lpc_landing_post": "랜딩 게시글",
2608
+ "str_pam_lpc_post_landing": "랜딩 게시글",
2609
2609
  "str_pam_lpc_comment": "댓글",
2610
2610
  "str_pam_lpc_label": "라벨",
2611
2611
  "str_1457": "결제하기 버튼을 누르시면 추후 $t(str_refund)이 불가할 수 있습니다.",
@@ -2739,7 +2739,7 @@
2739
2739
  "str_pay_recipient": "발행대상",
2740
2740
  "str_pay_namespace": "네임스페이스",
2741
2741
  "str_1558": "게시글을 작성해 보세요.",
2742
- "str_1559": "{{subsProdName}} (판매 중단)",
2742
+ "str_1559": "(판매 중단) {{subsProdName}}",
2743
2743
  "str_1560": "$t(str_papp_vods_episode) 관리",
2744
2744
  "str_1561": "$t(str_papp_vods_series) 관리",
2745
2745
  "str_1562": "$t(str_settings)",
@@ -2819,7 +2819,7 @@
2819
2819
  "str_papp_photobook_post": "게시글",
2820
2820
  "str_papp_photobook_comment": "댓글",
2821
2821
  "str_post_title": "게시글 제목",
2822
- "str_1587": "게시글 제목은 최소 1자, 최대 200자까지 입력할 수 있습니다.",
2822
+ "str_1587": "게시글 제목은 최소 1자, 최대 100자까지 입력할 수 있습니다.",
2823
2823
  "str_1588": "게시글의 제목을 입력해주세요.",
2824
2824
  "str_1589": "이미지를 업로드 해주세요.",
2825
2825
  "str_1590": "연결할 링크를 입력해주세요.",
@@ -2878,7 +2878,7 @@
2878
2878
  "str_url_to_switch_to": "전환할 아웃링크 URL*",
2879
2879
  "str_1619": "https://",
2880
2880
  "str_image_preview": "아웃링크 이미지 미리보기",
2881
- "str_1620": "아웃링크 이미지는 모든 비율의 이미지를 업로드 할수 있습니다.\n이미지의 너비는 적어도 768px이상을 권장합니다.\n파일은 최대 30MB까지 업로드 가능합니다.",
2881
+ "str_1620": "아웃링크 이미지의 너비는 적어도 768px이상을 권장하며, 파일은 최대 30MB까지 업로드 가능합니다.\n해당 이미지는 메인 화면 전면에 표시됩니다.",
2882
2882
  "str_1621": "아이디는 최소 4자 이상, 20자 이하의 영문과 숫자, 언더스코어(_)로 입력할 수 있습니다.\n아이디는 한 번 생성한 후 변경할 수 없습니다.",
2883
2883
  "str_1622": "비밀번호는 최소 8자 이상, 30자까지 입력할 수 있습니다. 비밀번호는 영어 대소문자, 숫자, 1개 이상의 특수문자를 반드시 포함해 주세요.",
2884
2884
  "str_1623": "아웃링크를 관리할 제목을 입력해주세요.",
@@ -3119,13 +3119,47 @@
3119
3119
  "str_1813": "설명 ",
3120
3120
  "str_err_1814": "최고 $t(str_manager)에 의해 비밀번호가 변경되었습니다. 변경된 비밀번호로 다시 로그인해 주세요. ({{errCode}})",
3121
3121
  "str_err_1815": "최고 $t(str_manager)에 의해 삭제된 계정입니다. 다른 계정으로 접속하거나 최고 $t(str_manager)에게 문의하세요. ({{errCode}})",
3122
- "str_1816": "구독자 1명 당 구독료\nUSD$ {{price}}일 ",
3122
+ "str_1816": "구독자 1명 당 구독료\nUSD$ {{price}}일 때,",
3123
3123
  "str_1817": "1명 당 기대 수익",
3124
3124
  "str_1818": "비즈니스를 시작하려는 국가",
3125
3125
  "str_1819": "비즈니스의 대상이 되는 국가를 선택하세요. 선택 값에 따라 채널 내에서 결제 시에 기준이 되는 통화가 달라집니다. 대한민국을 선택하면 기준 통화를 대한민국 원으로 설정합니다. 글로벌을 선택하면 기준통화를 미국 달러로 설정합니다.",
3126
3126
  "str_1820": "글로벌",
3127
3127
  "str_fm_price_kr": "₩{{amount}}",
3128
3128
  "str_1821": "수익",
3129
- "str_1822": "*$t(str_867) 제외"
3129
+ "str_1822": "*$t(str_867) 제외",
3130
+ "str_1823": "답변 삭제",
3131
+ "str_1824": "지금 구독을 해지하여도 {{expiredDate}}까지 계속 구독 항목을 이용할 수 있습니다.",
3132
+ "str_not_now": "지금 안 함",
3133
+ "str_1825": "이용 방법",
3134
+ "str_1826": "본 서비스는 아래의 방법으로 이용할 수 있습니다.",
3135
+ "str_1827": "플랫폼별 이용 안내",
3136
+ "str_1828": "iOS 앱/안드로이드 앱/모바일 웹브라우저/PC 웹브라우저에서 이용할 수 있습니다.\nPC 웹브라우저 기준 Chrome 91 이상/Safari 13 이상, 모바일 웹브라우저 기준 Chrome(for Android) 94 이상/Safari(on iOS) 13.1 이상의 버전에서 서비스 이용에 불편함이 없도록 작동될 것을 보증합니다.",
3137
+ "str_1829": "환불 안내",
3138
+ "str_1830": "본 서비스는 다음의 경우 환불이 불가하니 구매 전 확인 부탁드립니다.\n1. 상품을 구매한지 7일(청약철회 기간)이 지난 경우\n2. 상품을 구매한지 7일(청약철회 기간)이 지나지 않았지만, 서비스를 이용한 경우\n3. 채널이 발행한 쿠폰이나, 이벤트 등을 통해 무상으로 유료 서비스 이용권을 받은 경우\n4. 회원이 서비스 이용으로부터 얻은 이익에 해당하는 공제 대상 금액이 회원이 실제로 결제한 금액을 초과한 경우\n5. 회원이 직접 결제하지 않은 경우",
3139
+ "str_1831": "기타 안내",
3140
+ "str_1832": "미성년자의 경우, 법정대리인이 구매에 동의하지 않은 경우 본인 또는 법정대리인이 구매를 취소할 수 있습니다.",
3141
+ "str_1833": "서비스 제공자 정보",
3142
+ "str_1834": "상호명 : {{companyName}}\n대표자 : {{businessRepresentativeName}}\n연락처 : {{email}}",
3143
+ "str_1835": "대표자 : {{businessRepresentativeName}}\n연락처 : {{email}}",
3144
+ "str_1836": "결제 불가",
3145
+ "str_pg_title_papp_inquiry_board_posts": "1:1 문의 게시판",
3146
+ "str_papp_card_news_id": "카드 뉴스",
3147
+ "str_papp_card_news_name": "카드 뉴스",
3148
+ "str_papp_card_news_board": "게시판",
3149
+ "str_papp_card_news_post": "게시글",
3150
+ "str_papp_card_news_comment": "댓글",
3151
+ "str_papp_card_news_like": "좋아요",
3152
+ "str_1837": "이 pApp은 모바일에서 지원하지 않습니다.\n데스크탑으로 접속해주세요.",
3153
+ "str_papp_card_news_dislike": "싫어요",
3154
+ "str_err_1838": "제목은 최소 1자, 최대 100자까지 입력할 수 있습니다.",
3155
+ "str_err_1839": "전환 버튼 문구는 최대 20자까지 입력할 수 있습니다.",
3156
+ "str_pam_community_post_qna": "질의응답 게시글",
3157
+ "str_err_1840": "이미지는 최대 30MB까지 업로드 할 수 있습니다.({{errCode}})",
3158
+ "str_str_papp_vod_vr_id": "OTT형 VR VOD",
3159
+ "str_str_papp_vod_vr_name": "OTT형 VR VOD",
3160
+ "str_1841": "아웃링크의 수정 기록 내역이 없습니다.",
3161
+ "str_err_1842": "형식에 맞지 않는 URL 주소입니다.",
3162
+ "str_str_pam_community_post_story": "피드형 게시글",
3163
+ "str_str_pam_community_post_plain": "기본 게시글"
3130
3164
  }
3131
3165
  }
@@ -121,5 +121,7 @@
121
121
  "sys_component_base_black_opacity50": "black/opacity50",
122
122
  "sys_component_base_card": "darkgrey50",
123
123
  "sys_cpnt_textlabel_sys_brand_primary_opacity50": "blue500/opacity50",
124
- "sys_widget_green_01": "darkgreen500"
124
+ "sys_widget_green_01": "darkgreen500",
125
+ "sys_component_base_black_opacity30": "black/opacity30",
126
+ "sys_area_background": "darkgrey50/opacity65"
125
127
  }
@@ -121,5 +121,7 @@
121
121
  "sys_component_base_black_opacity50": "black/opacity50",
122
122
  "sys_component_base_card": "white",
123
123
  "sys_cpnt_textlabel_sys_brand_primary_opacity50": "blue500/opacity50",
124
- "sys_widget_green_01": "green500"
124
+ "sys_widget_green_01": "green500",
125
+ "sys_component_base_black_opacity30": "black/opacity30",
126
+ "sys_area_background": "darkgrey50/opacity65"
125
127
  }
@@ -444,5 +444,7 @@
444
444
  "ui_cpnt_textlabel_sys_brand_primary_opacity50": "sys_cpnt_textlabel_sys_brand_primary_opacity50",
445
445
  "ui_cpnt_progressbar_01": "sys_widget_green_01",
446
446
  "ui_cpnt_progressbar_02": "sys_widget_grey_04",
447
- "ui_36": "sys_component_base_black_opacity80"
447
+ "ui_36": "sys_component_base_black_opacity80",
448
+ "ui_37": "sys_component_base_black_opacity30",
449
+ "ui_39": "sys_area_background"
448
450
  }
@@ -1,4 +1,59 @@
1
1
  declare const colorSet: {
2
+ readonly SemanticColor: {
3
+ blue500: string;
4
+ blue700: string;
5
+ blue300: string;
6
+ green700: string;
7
+ green500: string;
8
+ green300: string;
9
+ red500: string;
10
+ grey900: string;
11
+ grey500: string;
12
+ grey400: string;
13
+ grey100: string;
14
+ grey50: string;
15
+ white: string;
16
+ black: string;
17
+ darkblue500: string;
18
+ grey950: string;
19
+ darkgrey900: string;
20
+ darkgrey500: string;
21
+ darkgrey400: string;
22
+ darkgrey100: string;
23
+ darkgrey50: string;
24
+ darkred500: string;
25
+ darkgreen700: string;
26
+ orange500: string;
27
+ darkorange500: string;
28
+ opacity00: string;
29
+ opacity20: string;
30
+ opacity30: string;
31
+ opacity65: string;
32
+ darkgreen500: string;
33
+ grey70: string;
34
+ navy500: string;
35
+ lightgreen500: string;
36
+ pink500: string;
37
+ darkgrey70: string;
38
+ darknavy500: string;
39
+ darkpink500: string;
40
+ darklightgreen500: string;
41
+ opacity10: string;
42
+ grey600: string;
43
+ darkgrey600: string;
44
+ skyblue500: string;
45
+ skyblue300: string;
46
+ pink300: string;
47
+ lightpink500: string;
48
+ darkblue300: string;
49
+ darkblue700: string;
50
+ darkgreen300: string;
51
+ darkskyblue500: string;
52
+ navy100: string;
53
+ darknavy100: string;
54
+ opacity80: string;
55
+ opacity50: string;
56
+ };
2
57
  readonly PaletteColor_light: {
3
58
  sys_container_background_01: string;
4
59
  sys_container_background_02: string;
@@ -123,6 +178,8 @@ declare const colorSet: {
123
178
  sys_component_base_card: string;
124
179
  sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
125
180
  sys_widget_green_01: string;
181
+ sys_component_base_black_opacity30: string;
182
+ sys_area_background: string;
126
183
  };
127
184
  readonly PaletteColor_Dark: {
128
185
  sys_container_background_01: string;
@@ -248,61 +305,8 @@ declare const colorSet: {
248
305
  sys_component_base_card: string;
249
306
  sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
250
307
  sys_widget_green_01: string;
251
- };
252
- readonly SemanticColor: {
253
- blue500: string;
254
- blue700: string;
255
- blue300: string;
256
- green700: string;
257
- green500: string;
258
- green300: string;
259
- red500: string;
260
- grey900: string;
261
- grey500: string;
262
- grey400: string;
263
- grey100: string;
264
- grey50: string;
265
- white: string;
266
- black: string;
267
- darkblue500: string;
268
- grey950: string;
269
- darkgrey900: string;
270
- darkgrey500: string;
271
- darkgrey400: string;
272
- darkgrey100: string;
273
- darkgrey50: string;
274
- darkred500: string;
275
- darkgreen700: string;
276
- orange500: string;
277
- darkorange500: string;
278
- opacity00: string;
279
- opacity20: string;
280
- opacity30: string;
281
- opacity65: string;
282
- darkgreen500: string;
283
- grey70: string;
284
- navy500: string;
285
- lightgreen500: string;
286
- pink500: string;
287
- darkgrey70: string;
288
- darknavy500: string;
289
- darkpink500: string;
290
- darklightgreen500: string;
291
- opacity10: string;
292
- grey600: string;
293
- darkgrey600: string;
294
- skyblue500: string;
295
- skyblue300: string;
296
- pink300: string;
297
- lightpink500: string;
298
- darkblue300: string;
299
- darkblue700: string;
300
- darkgreen300: string;
301
- darkskyblue500: string;
302
- navy100: string;
303
- darknavy100: string;
304
- opacity80: string;
305
- opacity50: string;
308
+ sys_component_base_black_opacity30: string;
309
+ sys_area_background: string;
306
310
  };
307
311
  readonly UIColor: {
308
312
  ui_cpnt_button_fill_base_primary: string;
@@ -751,6 +755,8 @@ declare const colorSet: {
751
755
  ui_cpnt_progressbar_01: string;
752
756
  ui_cpnt_progressbar_02: string;
753
757
  ui_36: string;
758
+ ui_37: string;
759
+ ui_39: string;
754
760
  };
755
761
  };
756
762
  export default colorSet;
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  /* eslint-disable import/order */
7
+ var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
7
8
  var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
8
9
  var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
9
- var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
10
10
  var UIColor_json_1 = __importDefault(require("./UIColor.json"));
11
11
  var colorSet = {
12
+ SemanticColor: SemanticColor_json_1.default,
12
13
  PaletteColor_light: PaletteColor_light_json_1.default,
13
14
  PaletteColor_Dark: PaletteColor_Dark_json_1.default,
14
- SemanticColor: SemanticColor_json_1.default,
15
15
  UIColor: UIColor_json_1.default
16
16
  };
17
17
  exports.default = colorSet;
@@ -445,4 +445,6 @@ export interface UITheme {
445
445
  ui_cpnt_progressbar_01: string;
446
446
  ui_cpnt_progressbar_02: string;
447
447
  ui_36: string;
448
+ ui_37: string;
449
+ ui_39: string;
448
450
  }
@@ -30,7 +30,8 @@ var styled_components_1 = __importStar(require("styled-components"));
30
30
  var components_1 = require("../../common/components");
31
31
  var IconButton_1 = require("../IconButton");
32
32
  function TextField(_a) {
33
- var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, validation = _a.validation, _b = _a.validationPoint, validationPoint = _b === void 0 ? 'onBlur' : _b, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.size, size = _d === void 0 ? 'large' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, _f = _a.multiRows, multiRows = _f === void 0 ? 8 : _f, _g = _a.autoMinRows, autoMinRows = _g === void 0 ? 8 : _g, autoMaxRows = _a.autoMaxRows, _h = _a.inputType, inputType = _h === void 0 ? 'text' : _h, _j = _a.state, state = _j === void 0 ? 'normal' : _j, iBtn1IconName = _a.iBtn1IconName, _k = _a.iBtn1IconFillType, iBtn1IconFillType = _k === void 0 ? 'line' : _k, iBtn2IconName = _a.iBtn2IconName, _l = _a.iBtn2IconFillType, iBtn2IconFillType = _l === void 0 ? 'line' : _l, _m = _a.colorTheme, colorTheme = _m === void 0 ? 'none' : _m, max = _a.max, maxLength = _a.maxLength, min = _a.min, onBlur = _a.onBlur, onChange = _a.onChange, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onFocus = _a.onFocus, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget;
33
+ var _b;
34
+ var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, validation = _a.validation, _c = _a.validationPoint, validationPoint = _c === void 0 ? 'onBlur' : _c, _d = _a.preventBlankMode, preventBlankMode = _d === void 0 ? 'none' : _d, _e = _a.size, size = _e === void 0 ? 'large' : _e, _f = _a.textLineType, textLineType = _f === void 0 ? 'single' : _f, _g = _a.multiRows, multiRows = _g === void 0 ? 8 : _g, _h = _a.autoMinRows, autoMinRows = _h === void 0 ? 8 : _h, autoMaxRows = _a.autoMaxRows, _j = _a.inputType, inputType = _j === void 0 ? 'text' : _j, _k = _a.state, state = _k === void 0 ? 'normal' : _k, iBtn1IconName = _a.iBtn1IconName, _l = _a.iBtn1IconFillType, iBtn1IconFillType = _l === void 0 ? 'line' : _l, iBtn2IconName = _a.iBtn2IconName, _m = _a.iBtn2IconFillType, iBtn2IconFillType = _m === void 0 ? 'line' : _m, _o = _a.colorTheme, colorTheme = _o === void 0 ? 'none' : _o, max = _a.max, maxLength = _a.maxLength, min = _a.min, onBlur = _a.onBlur, onChange = _a.onChange, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onFocus = _a.onFocus, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget;
34
35
  var iconThemeColorNoneObj = {
35
36
  normal: 'ui_cpnt_button_icon_default',
36
37
  read_only: 'ui_cpnt_button_icon_default',
@@ -42,9 +43,9 @@ function TextField(_a) {
42
43
  disabled: 'ui_cpnt_textfield_icon_darktheme_disabled'
43
44
  };
44
45
  var t = (0, react_i18next_1.useTranslation)('translation').t;
45
- var _o = (0, react_1.useState)(false), isFocused = _o[0], setIsFocused = _o[1];
46
- var _p = (0, react_hook_form_1.useFormContext)(), register = _p.register, trigger = _p.trigger, errors = _p.formState.errors;
47
- var _q = register(name, validation), validateOnChange = _q.onChange, validateOnBlur = _q.onBlur;
46
+ var _p = (0, react_1.useState)(false), isFocused = _p[0], setIsFocused = _p[1];
47
+ var _q = (0, react_hook_form_1.useFormContext)(), register = _q.register, trigger = _q.trigger, errors = _q.formState.errors;
48
+ var _r = register(name, validation), validateOnChange = _r.onChange, validateOnBlur = _r.onBlur;
48
49
  var isError = Object.keys(errors).some(function (error) { return error === name; });
49
50
  function handleFocus() {
50
51
  if (state !== 'read_only') {
@@ -107,7 +108,7 @@ function TextField(_a) {
107
108
  };
108
109
  return (react_1.default.createElement(react_1.default.Fragment, null,
109
110
  react_1.default.createElement(S_TextFieldWrapper, { size: size, textLineType: textLineType, isFocused: isFocused, isError: isError, state: state, colorTheme: colorTheme }, S_TextField()),
110
- errors[name] && react_1.default.createElement(S_Error, null, t(errors[name].message))));
111
+ ((_b = errors[name]) === null || _b === void 0 ? void 0 : _b.message) && react_1.default.createElement(S_Error, null, t(errors[name].message))));
111
112
  }
112
113
  var multi = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: auto;\n padding: 14px;\n"], ["\n height: auto;\n padding: 14px;\n"])));
113
114
  var auto = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: auto;\n padding-bottom: ", "px;\n padding-top: ", "px;\n"], ["\n height: auto;\n padding-bottom: ", "px;\n padding-top: ", "px;\n"])), function (_a) {
@@ -230,7 +231,7 @@ var S_TextFieldWrapper = styled_components_1.default.div(templateObject_12 || (t
230
231
  }[state];
231
232
  });
232
233
  var S_IconBox = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
233
- var S_Error = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n"])), function (_a) {
234
+ var S_Error = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"])), function (_a) {
234
235
  var theme = _a.theme, colorTheme = _a.colorTheme;
235
236
  return colorTheme === 'none'
236
237
  ? theme.ui_cpnt_textfield_text_error
@@ -247,7 +247,7 @@ var colorOverrideStyle = (0, styled_components_1.css)(templateObject_28 || (temp
247
247
  var colorOverride = _a.colorOverride;
248
248
  return colorOverride && common_1.uiColors[colorOverride];
249
249
  });
250
- var ellipsisStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: keep-all;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: keep-all;\n"])), function (_a) {
250
+ var ellipsisStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
251
251
  var lineLimit = _a.lineLimit;
252
252
  return lineLimit;
253
253
  });
@@ -30,7 +30,7 @@ var react_1 = __importDefault(require("react"));
30
30
  var styled_components_1 = __importStar(require("styled-components"));
31
31
  var ImageView = function (_a) {
32
32
  var src = _a.src, _b = _a.shapeType, shapeType = _b === void 0 ? 'round' : _b, _c = _a.radius, radius = _c === void 0 ? 8 : _c, width = _a.width, height = _a.height, noImageHeight = _a.noImageHeight, noImageWidth = _a.noImageWidth, _d = _a.ratio, ratio = _d === void 0 ? 'auto' : _d, _e = _a.scaleType, scaleType = _e === void 0 ? 'none' : _e, _f = _a.borderMode, borderMode = _f === void 0 ? 'none' : _f, _g = _a.backgroundFillMode, backgroundFillMode = _g === void 0 ? 'none' : _g;
33
- return (react_1.default.createElement(react_1.default.Fragment, null, ratio === 'auto' ? (react_1.default.createElement(S_AutoImageViewWrapper, { "$height": height, "$width": width, noImageHeight: noImageHeight, noImageWidth: noImageWidth, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode }, src && (react_1.default.createElement(S_AutoImageView, { src: src, "$height": height, "$width": width, scaleType: scaleType })))) : (react_1.default.createElement(S_RatioImageViewWrapper, { "$width": width, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode },
33
+ return (react_1.default.createElement(react_1.default.Fragment, null, ratio === 'auto' ? (react_1.default.createElement(S_AutoImageViewWrapper, { "$height": height, "$width": width, noImageHeight: noImageHeight, noImageWidth: noImageWidth, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode, "$src": src }, src && (react_1.default.createElement(S_AutoImageView, { src: src, "$height": height, "$width": width, scaleType: scaleType })))) : (react_1.default.createElement(S_RatioImageViewWrapper, { "$width": width, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode },
34
34
  react_1.default.createElement(S_RatioImageView, { "$src": src, scaleType: scaleType, ratio: ratio })))));
35
35
  };
36
36
  var wrapperStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n ", ";\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
@@ -82,36 +82,36 @@ var S_RatioImageView = styled_components_1.default.div(templateObject_3 || (temp
82
82
  }[ratio];
83
83
  });
84
84
  var onlyWidthWrapperStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"], ["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"])), function (_a) {
85
- var noImageHeight = _a.noImageHeight;
86
- return (noImageHeight ? noImageHeight + "px" : 'auto');
85
+ var noImageHeight = _a.noImageHeight, $src = _a.$src;
86
+ return !$src && noImageHeight ? noImageHeight + "px" : 'auto';
87
87
  }, function (_a) {
88
88
  var $width = _a.$width;
89
89
  return ($width === 'responsive' ? '100%' : $width + "px");
90
90
  }, function (_a) {
91
- var noImageHeight = _a.noImageHeight;
92
- return (noImageHeight ? noImageHeight + "px" : 'auto');
91
+ var noImageHeight = _a.noImageHeight, $src = _a.$src;
92
+ return (!$src && noImageHeight ? noImageHeight + "px" : 'auto');
93
93
  }, function (_a) {
94
94
  var $width = _a.$width;
95
95
  return ($width === 'responsive' ? '100%' : $width + "px");
96
96
  }, function (_a) {
97
- var theme = _a.theme, noImageHeight = _a.noImageHeight, src = _a.src;
98
- return !src && noImageHeight ? "background-color: " + theme.ui_temp_grey_04 : '';
97
+ var theme = _a.theme, noImageHeight = _a.noImageHeight, $src = _a.$src;
98
+ return !$src && noImageHeight ? "background-color: " + theme.ui_temp_grey_04 : '';
99
99
  });
100
100
  var onlyHeightWrapperStyle = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"], ["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"])), function (_a) {
101
101
  var $height = _a.$height;
102
102
  return ($height === 'responsive' ? '100%' : $height + "px");
103
103
  }, function (_a) {
104
- var noImageWidth = _a.noImageWidth;
105
- return (noImageWidth ? noImageWidth + "px" : 'auto');
104
+ var noImageWidth = _a.noImageWidth, $src = _a.$src;
105
+ return (!$src && noImageWidth ? noImageWidth + "px" : 'auto');
106
106
  }, function (_a) {
107
107
  var $height = _a.$height;
108
108
  return ($height === 'responsive' ? '100%' : $height + "px");
109
109
  }, function (_a) {
110
- var noImageWidth = _a.noImageWidth;
111
- return (noImageWidth ? noImageWidth + "px" : 'auto');
110
+ var noImageWidth = _a.noImageWidth, $src = _a.$src;
111
+ return (!$src && noImageWidth ? noImageWidth + "px" : 'auto');
112
112
  }, function (_a) {
113
- var theme = _a.theme, noImageWidth = _a.noImageWidth, src = _a.src;
114
- return !src && noImageWidth ? "background-color: " + theme.ui_temp_grey_04 : '';
113
+ var theme = _a.theme, noImageWidth = _a.noImageWidth, $src = _a.$src;
114
+ return !$src && noImageWidth ? "background-color: " + theme.ui_temp_grey_04 : '';
115
115
  });
116
116
  var bothWrapperStyle = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n min-height: ", ";\n height: ", ";\n min-width: ", ";\n width: ", ";\n ", ";\n"], ["\n min-height: ", ";\n height: ", ";\n min-width: ", ";\n width: ", ";\n ", ";\n"])), function (_a) {
117
117
  var $height = _a.$height;
@@ -126,8 +126,8 @@ var bothWrapperStyle = (0, styled_components_1.css)(templateObject_6 || (templat
126
126
  var $width = _a.$width;
127
127
  return ($width === 'responsive' ? '100%' : $width + "px");
128
128
  }, function (_a) {
129
- var theme = _a.theme, src = _a.src;
130
- return (!src ? "background-color: " + theme.ui_temp_grey_04 : '');
129
+ var theme = _a.theme, $src = _a.$src;
130
+ return (!$src ? "background-color: " + theme.ui_temp_grey_04 : '');
131
131
  });
132
132
  var onlyWidthStyle = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 100%;\n height: auto;\n"], ["\n width: 100%;\n height: auto;\n"])));
133
133
  var onlyHeightStyle = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n width: auto;\n height: 100%;\n"], ["\n width: auto;\n height: 100%;\n"])));
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { FillIconNameKeys, LineIconNameKeys } from '../../../common';
2
+ import { FillIconNameKeys, LineIconNameKeys, UiColors } from '../../../common';
3
3
  declare type Props = {
4
4
  titleType?: 'text' | 'profile' | 'image';
5
5
  titleText?: string;
@@ -7,13 +7,19 @@ declare type Props = {
7
7
  displayType?: 'none' | 'ibtn_amount1' | 'ibtn_amount2';
8
8
  iBtn1IconName?: FillIconNameKeys | LineIconNameKeys;
9
9
  iBtn1IconFillType?: 'fill' | 'line';
10
+ iBtn1IconColorKey?: UiColors;
10
11
  iBtn2IconName?: FillIconNameKeys | LineIconNameKeys;
11
12
  iBtn2IconFillType?: 'fill' | 'line';
13
+ iBtn2IconColorKey?: UiColors;
12
14
  dividerType?: 'none' | 'solid';
13
15
  imageSrc?: string;
16
+ iBtn1State?: 'normal' | 'disabled';
17
+ iBtn1Type?: 'submit' | 'reset' | 'button';
18
+ iBtn2State?: 'normal' | 'disabled';
19
+ iBtn2Type?: 'submit' | 'reset' | 'button';
14
20
  onClickLeftBtn?: () => void;
15
21
  onClickIBtn1?: () => void;
16
22
  onClickIBtn2?: () => void;
17
23
  };
18
- declare function MobileHeaderBar({ titleType, titleText, leftBtnMode, displayType, iBtn1IconName, iBtn1IconFillType, iBtn2IconName, iBtn2IconFillType, dividerType, imageSrc, onClickLeftBtn, onClickIBtn1, onClickIBtn2 }: Props): JSX.Element;
24
+ declare function MobileHeaderBar({ titleType, titleText, leftBtnMode, displayType, iBtn1IconName, iBtn1IconFillType, iBtn1IconColorKey, iBtn2IconName, iBtn2IconFillType, iBtn2IconColorKey, dividerType, imageSrc, iBtn1State, iBtn1Type, iBtn2State, iBtn2Type, onClickLeftBtn, onClickIBtn1, onClickIBtn2 }: Props): JSX.Element;
19
25
  export default MobileHeaderBar;
@@ -13,7 +13,7 @@ var hybrid_1 = require("../../../hybrid");
13
13
  var IconButton_1 = require("../IconButton");
14
14
  var TextLabel_1 = require("../TextLabel");
15
15
  function MobileHeaderBar(_a) {
16
- var _b = _a.titleType, titleType = _b === void 0 ? 'text' : _b, titleText = _a.titleText, _c = _a.leftBtnMode, leftBtnMode = _c === void 0 ? 'back' : _c, _d = _a.displayType, displayType = _d === void 0 ? 'none' : _d, iBtn1IconName = _a.iBtn1IconName, _e = _a.iBtn1IconFillType, iBtn1IconFillType = _e === void 0 ? 'line' : _e, iBtn2IconName = _a.iBtn2IconName, _f = _a.iBtn2IconFillType, iBtn2IconFillType = _f === void 0 ? 'line' : _f, _g = _a.dividerType, dividerType = _g === void 0 ? 'none' : _g, imageSrc = _a.imageSrc, onClickLeftBtn = _a.onClickLeftBtn, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2;
16
+ var _b = _a.titleType, titleType = _b === void 0 ? 'text' : _b, titleText = _a.titleText, _c = _a.leftBtnMode, leftBtnMode = _c === void 0 ? 'back' : _c, _d = _a.displayType, displayType = _d === void 0 ? 'none' : _d, iBtn1IconName = _a.iBtn1IconName, _e = _a.iBtn1IconFillType, iBtn1IconFillType = _e === void 0 ? 'line' : _e, _f = _a.iBtn1IconColorKey, iBtn1IconColorKey = _f === void 0 ? 'ui_cpnt_button_icon_enabled' : _f, iBtn2IconName = _a.iBtn2IconName, _g = _a.iBtn2IconFillType, iBtn2IconFillType = _g === void 0 ? 'line' : _g, _h = _a.iBtn2IconColorKey, iBtn2IconColorKey = _h === void 0 ? 'ui_cpnt_button_icon_enabled' : _h, _j = _a.dividerType, dividerType = _j === void 0 ? 'none' : _j, imageSrc = _a.imageSrc, _k = _a.iBtn1State, iBtn1State = _k === void 0 ? 'normal' : _k, _l = _a.iBtn1Type, iBtn1Type = _l === void 0 ? 'button' : _l, _m = _a.iBtn2State, iBtn2State = _m === void 0 ? 'normal' : _m, _o = _a.iBtn2Type, iBtn2Type = _o === void 0 ? 'button' : _o, onClickLeftBtn = _a.onClickLeftBtn, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2;
17
17
  var getLeftIconName = function () {
18
18
  switch (leftBtnMode) {
19
19
  case 'back':
@@ -57,8 +57,8 @@ function MobileHeaderBar(_a) {
57
57
  return react_1.default.createElement("div", null);
58
58
  }
59
59
  return (react_1.default.createElement(S_IBtnBox, null,
60
- displayType === 'ibtn_amount2' && iBtn2IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconSize: 24, baseSize: "large", iconName: iBtn2IconName, fillType: "fill", onClick: onClickIBtn2, iconFillType: iBtn2IconFillType, iconColorKey: "ui_cpnt_button_icon_enabled", baseColorKey: "ui_cpnt_button_fill_base_transparent" })),
61
- (displayType === 'ibtn_amount1' || displayType === 'ibtn_amount2') && iBtn1IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconSize: 24, baseSize: "large", iconName: iBtn1IconName, fillType: "fill", onClick: onClickIBtn1, iconFillType: iBtn1IconFillType, iconColorKey: "ui_cpnt_button_icon_enabled", baseColorKey: "ui_cpnt_button_fill_base_transparent" }))));
60
+ displayType === 'ibtn_amount2' && iBtn2IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconSize: 24, baseSize: "large", iconName: iBtn2IconName, fillType: "fill", onClick: onClickIBtn2, iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, baseColorKey: "ui_cpnt_button_fill_base_transparent", type: iBtn2Type, state: iBtn2State })),
61
+ (displayType === 'ibtn_amount1' || displayType === 'ibtn_amount2') && iBtn1IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconSize: 24, baseSize: "large", iconName: iBtn1IconName, fillType: "fill", onClick: onClickIBtn1, iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, baseColorKey: "ui_cpnt_button_fill_base_transparent", type: iBtn1Type, state: iBtn1State }))));
62
62
  };
63
63
  return (react_1.default.createElement(S_MobileHeaderBar, { hasBorder: dividerType === 'solid', expand: titleType === 'profile' },
64
64
  react_1.default.createElement(S_ButtonWrapper, null,
@@ -30,7 +30,8 @@ var styled_components_1 = __importStar(require("styled-components"));
30
30
  var components_1 = require("../../common/components");
31
31
  var IconButton_1 = require("../IconButton");
32
32
  function TextField(_a) {
33
- var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, validation = _a.validation, _b = _a.validationPoint, validationPoint = _b === void 0 ? 'onBlur' : _b, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.size, size = _d === void 0 ? 'large' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, _f = _a.multiRows, multiRows = _f === void 0 ? 8 : _f, _g = _a.autoMinRows, autoMinRows = _g === void 0 ? 8 : _g, autoMaxRows = _a.autoMaxRows, _h = _a.inputType, inputType = _h === void 0 ? 'text' : _h, _j = _a.state, state = _j === void 0 ? 'normal' : _j, iBtn1IconName = _a.iBtn1IconName, _k = _a.iBtn1IconFillType, iBtn1IconFillType = _k === void 0 ? 'line' : _k, iBtn2IconName = _a.iBtn2IconName, _l = _a.iBtn2IconFillType, iBtn2IconFillType = _l === void 0 ? 'line' : _l, _m = _a.colorTheme, colorTheme = _m === void 0 ? 'none' : _m, max = _a.max, maxLength = _a.maxLength, min = _a.min, onBlur = _a.onBlur, onChange = _a.onChange, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onFocus = _a.onFocus, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget;
33
+ var _b;
34
+ var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, validation = _a.validation, _c = _a.validationPoint, validationPoint = _c === void 0 ? 'onBlur' : _c, _d = _a.preventBlankMode, preventBlankMode = _d === void 0 ? 'none' : _d, _e = _a.size, size = _e === void 0 ? 'large' : _e, _f = _a.textLineType, textLineType = _f === void 0 ? 'single' : _f, _g = _a.multiRows, multiRows = _g === void 0 ? 8 : _g, _h = _a.autoMinRows, autoMinRows = _h === void 0 ? 8 : _h, autoMaxRows = _a.autoMaxRows, _j = _a.inputType, inputType = _j === void 0 ? 'text' : _j, _k = _a.state, state = _k === void 0 ? 'normal' : _k, iBtn1IconName = _a.iBtn1IconName, _l = _a.iBtn1IconFillType, iBtn1IconFillType = _l === void 0 ? 'line' : _l, iBtn2IconName = _a.iBtn2IconName, _m = _a.iBtn2IconFillType, iBtn2IconFillType = _m === void 0 ? 'line' : _m, _o = _a.colorTheme, colorTheme = _o === void 0 ? 'none' : _o, max = _a.max, maxLength = _a.maxLength, min = _a.min, onBlur = _a.onBlur, onChange = _a.onChange, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onFocus = _a.onFocus, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget;
34
35
  var iconThemeColorNoneObj = {
35
36
  normal: 'ui_cpnt_button_icon_default',
36
37
  read_only: 'ui_cpnt_button_icon_default',
@@ -42,9 +43,9 @@ function TextField(_a) {
42
43
  disabled: 'ui_cpnt_textfield_icon_darktheme_disabled'
43
44
  };
44
45
  var t = (0, react_i18next_1.useTranslation)('translation').t;
45
- var _o = (0, react_1.useState)(false), isFocused = _o[0], setIsFocused = _o[1];
46
- var _p = (0, react_hook_form_1.useFormContext)(), register = _p.register, trigger = _p.trigger, errors = _p.formState.errors;
47
- var _q = register(name, validation), validateOnChange = _q.onChange, validateOnBlur = _q.onBlur;
46
+ var _p = (0, react_1.useState)(false), isFocused = _p[0], setIsFocused = _p[1];
47
+ var _q = (0, react_hook_form_1.useFormContext)(), register = _q.register, trigger = _q.trigger, errors = _q.formState.errors;
48
+ var _r = register(name, validation), validateOnChange = _r.onChange, validateOnBlur = _r.onBlur;
48
49
  var isError = Object.keys(errors).some(function (error) { return error === name; });
49
50
  function handleFocus() {
50
51
  if (state !== 'read_only') {
@@ -107,7 +108,7 @@ function TextField(_a) {
107
108
  };
108
109
  return (react_1.default.createElement(react_1.default.Fragment, null,
109
110
  react_1.default.createElement(S_TextFieldWrapper, { size: size, textLineType: textLineType, isFocused: isFocused, isError: isError, state: state, colorTheme: colorTheme }, S_TextField()),
110
- errors[name] && react_1.default.createElement(S_Error, null, t(errors[name].message))));
111
+ ((_b = errors[name]) === null || _b === void 0 ? void 0 : _b.message) && react_1.default.createElement(S_Error, null, t(errors[name].message))));
111
112
  }
112
113
  var multi = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: auto;\n padding: 14px;\n"], ["\n height: auto;\n padding: 14px;\n"])));
113
114
  var auto = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: auto;\n padding-bottom: ", "px;\n padding-top: ", "px;\n"], ["\n height: auto;\n padding-bottom: ", "px;\n padding-top: ", "px;\n"])), function (_a) {
@@ -230,7 +231,7 @@ var S_TextFieldWrapper = styled_components_1.default.div(templateObject_12 || (t
230
231
  }[state];
231
232
  });
232
233
  var S_IconBox = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
233
- var S_Error = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n"])), function (_a) {
234
+ var S_Error = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"])), function (_a) {
234
235
  var theme = _a.theme, colorTheme = _a.colorTheme;
235
236
  return colorTheme === 'none'
236
237
  ? theme.ui_cpnt_textfield_text_error
@@ -247,7 +247,7 @@ var colorOverrideStyle = (0, styled_components_1.css)(templateObject_28 || (temp
247
247
  var colorOverride = _a.colorOverride;
248
248
  return colorOverride && common_1.uiColors[colorOverride];
249
249
  });
250
- var ellipsisStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: keep-all;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: keep-all;\n"])), function (_a) {
250
+ var ellipsisStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
251
251
  var lineLimit = _a.lineLimit;
252
252
  return lineLimit;
253
253
  });
@@ -22,7 +22,7 @@ var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (t
22
22
  var containerColor = _a.containerColor;
23
23
  return "background-color: " + containerColor;
24
24
  });
25
- var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"], ["\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"])), function (_a) {
25
+ var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"], ["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"])), function (_a) {
26
26
  var areaColor = _a.areaColor;
27
27
  return "background-color: " + areaColor;
28
28
  });
@@ -40,11 +40,11 @@ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (
40
40
  var containerColor = _a.containerColor;
41
41
  return "background-color: " + containerColor;
42
42
  });
43
- var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"], ["\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"])), function (_a) {
43
+ var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"], ["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"])), function (_a) {
44
44
  var areaColor = _a.areaColor;
45
45
  return "background-color: " + areaColor;
46
46
  });
47
- var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"], ["\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"])), function (_a) {
47
+ var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"], ["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n ", ";\n"])), function (_a) {
48
48
  var areaColor = _a.areaColor;
49
49
  return "background-color: " + areaColor;
50
50
  });
@@ -22,7 +22,7 @@ var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (t
22
22
  var containerColor = _a.containerColor;
23
23
  return "background-color: " + containerColor;
24
24
  });
25
- var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"], ["\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"])), function (_a) {
25
+ var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"], ["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"])), function (_a) {
26
26
  var areaColor = _a.areaColor;
27
27
  return "background-color: " + areaColor;
28
28
  });
@@ -40,11 +40,11 @@ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (
40
40
  var containerColor = _a.containerColor;
41
41
  return "background-color: " + containerColor;
42
42
  });
43
- var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"], ["\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"])), function (_a) {
43
+ var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"], ["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n height: 100%;\n ", ";\n"])), function (_a) {
44
44
  var areaColor = _a.areaColor;
45
45
  return "background-color: " + areaColor;
46
46
  });
47
- var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n height: 100%;\n ", ";\n"], ["\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n height: 100%;\n ", ";\n"])), function (_a) {
47
+ var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n height: 100%;\n ", ";\n"], ["\n margin: 0 auto;\n max-width: 768px;\n min-width: 360px;\n padding-bottom: 88px;\n height: 100%;\n ", ";\n"])), function (_a) {
48
48
  var areaColor = _a.areaColor;
49
49
  return "background-color: " + areaColor;
50
50
  });