pds-dev-kit-web-test 2.6.18 → 2.6.20

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 (47) hide show
  1. package/dist/src/common/services/i18n/i18n.js +3 -1
  2. package/dist/src/common/services/i18n/resources/en.json +3 -3
  3. package/dist/src/common/services/i18n/resources/es.json +5 -5
  4. package/dist/src/common/services/i18n/resources/fil.json +13 -13
  5. package/dist/src/common/services/i18n/resources/index.d.ts +10 -11
  6. package/dist/src/common/services/i18n/resources/ja.json +14 -14
  7. package/dist/src/common/services/i18n/resources/ko.json +3 -4
  8. package/dist/src/common/services/i18n/resources/zh-cn.json +14 -14
  9. package/dist/src/common/services/i18n/resources/zh-tw.json +13 -13
  10. package/dist/src/desktop/components/AdminList/AdminList.d.ts +1 -0
  11. package/dist/src/desktop/components/AdminList/AdminList.js +1 -0
  12. package/dist/src/desktop/components/AdminList/BulkActionBar.js +1 -1
  13. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +1 -0
  14. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +1 -0
  15. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +1 -1
  16. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -0
  17. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +1 -0
  18. package/dist/src/desktop/components/Calendar/Calendar.js +1 -1
  19. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +1 -1
  20. package/dist/src/desktop/components/Calendar/DailyView.js +1 -1
  21. package/dist/src/desktop/components/Calendar/MonthlyView.js +1 -1
  22. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +1 -1
  23. package/dist/src/desktop/components/Calendar/WeeklyView.js +1 -1
  24. package/dist/src/desktop/components/Calendar/YearlyView.js +1 -1
  25. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +1 -1
  26. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +1 -1
  27. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +1 -1
  28. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +1 -1
  29. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +1 -1
  30. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +1 -1
  31. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +3 -1
  32. package/dist/src/sub/AdminList/AdminList/AdminList.js +7 -7
  33. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +1 -1
  34. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +1 -1
  35. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -1
  36. package/dist/src/sub/DynamicLayout/gleStyles.js +1 -1
  37. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +2 -2
  38. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +1 -1
  39. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +1 -1
  40. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +1 -1
  41. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +1 -1
  42. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +1 -1
  43. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +1 -1
  44. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +1 -1
  45. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +1 -1
  46. package/package.json +3 -3
  47. package/release-note.md +2 -2
@@ -27,7 +27,9 @@ i18next_1.default
27
27
  resources: resources_1.default,
28
28
  supportedLngs: availableLanguages,
29
29
  nonExplicitSupportedLngs: true,
30
- lowerCaseLng: true
30
+ lowerCaseLng: true,
31
+ defaultNS: 'pds_translations',
32
+ fallbackNS: 'translations'
31
33
  });
32
34
  // override getSuffix method to support plurals in 'ko'
33
35
  var originalGetSuffix = i18next_1.default.services.pluralResolver.getSuffix;
@@ -1,5 +1,5 @@
1
1
  {
2
- "translation": {
2
+ "pds_translation": {
3
3
  "str_rows_per_page": "Entry per page",
4
4
  "str_n_selected": "{{itemSelected}} has been selected.",
5
5
  "str_dlayout_section": "Section",
@@ -17,7 +17,7 @@
17
17
  "str_payment_option_coupon_free_finite": "Free Trial ($t(str_coupon))",
18
18
  "str_payment_option_coupon_free_infinite": "Unlimited Free ($t(str_coupon))",
19
19
  "str_payment_option_coupon_one_time": "$t(str_coupon)",
20
- "str_payment_option_subs_temporary_free": "Free Trial",
20
+ "str_payment_option_subs_temporary_free": "Free Trial ($t(str_coupon))",
21
21
  "str_payment_option_unlimited_free": "Free Access",
22
22
  "str_payment_option_one_time": "One-time Payment",
23
23
  "str_payment_option_subs_regularly": "Regular Payment",
@@ -84,8 +84,8 @@
84
84
  "str_original_text": "Original Text",
85
85
  "str_apply": "Apply",
86
86
  "str_cancel": "Cancel",
87
- "str_confirm": "Confirm",
88
87
  "str_multilingual_settings": "Multilingual Settings",
88
+ "str_confirm": "Confirm",
89
89
  "str_min_price": "Please enter at least {{currency}} {{minPrice}}",
90
90
  "str_max_price": "You can enter up to {{currency}} {{maxPrice}}",
91
91
  "str_price_unit": "Please enter in increments of {{currency}} {{priceUnit}}",
@@ -1,5 +1,5 @@
1
1
  {
2
- "translation": {
2
+ "pds_translation": {
3
3
  "str_rows_per_page": "Entry per page",
4
4
  "str_n_selected": "{{itemSelected}} has been selected.",
5
5
  "str_dlayout_section": "Section",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "Todo el día",
38
38
  "str_calendar_schedule_more": "{{count}} más",
39
39
  "str_calendar_today": "Hoy",
40
- "str_month_january": "Jan",
40
+ "str_month_january": "Ene",
41
41
  "str_month_february": "Feb",
42
42
  "str_month_march": "Mar",
43
- "str_month_april": "Apr",
43
+ "str_month_april": "Abr",
44
44
  "str_month_may": "May",
45
45
  "str_month_june": "Jun",
46
46
  "str_month_july": "Jul",
47
- "str_month_august": "Aug",
47
+ "str_month_august": "Ago",
48
48
  "str_month_september": "Sep",
49
49
  "str_month_october": "Oct",
50
50
  "str_month_november": "Nov",
51
- "str_month_december": "Dec",
51
+ "str_month_december": "Dic",
52
52
  "str_fm_datetime_am": "{{hour}} AM",
53
53
  "str_fm_datetime_pm": "{{hour}} PM",
54
54
  "str_fm_am": "AM",
@@ -1,5 +1,5 @@
1
1
  {
2
- "translation": {
2
+ "pds_translation": {
3
3
  "str_rows_per_page": "Entry per page",
4
4
  "str_n_selected": "{{itemSelected}} has been selected.",
5
5
  "str_dlayout_section": "Section",
@@ -13,7 +13,7 @@
13
13
  "str_5353": "Pay",
14
14
  "str_5354": "Purchase",
15
15
  "str_5339": "{{price}} won",
16
- "str_coupon": "Kupon",
16
+ "str_coupon": "Coupon",
17
17
  "str_payment_option_coupon_free_finite": "Free Trial ($t(str_coupon))",
18
18
  "str_payment_option_coupon_free_infinite": "Unlimited Free ($t(str_coupon))",
19
19
  "str_payment_option_coupon_one_time": "$t(str_coupon)",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "Buong araw",
38
38
  "str_calendar_schedule_more": "{{count}} pa",
39
39
  "str_calendar_today": "Ngayon",
40
- "str_month_january": "Jan",
41
- "str_month_february": "Feb",
40
+ "str_month_january": "Ene",
41
+ "str_month_february": "Peb",
42
42
  "str_month_march": "Mar",
43
- "str_month_april": "Apr",
43
+ "str_month_april": "Abr",
44
44
  "str_month_may": "May",
45
- "str_month_june": "Jun",
46
- "str_month_july": "Jul",
47
- "str_month_august": "Aug",
48
- "str_month_september": "Sep",
49
- "str_month_october": "Oct",
50
- "str_month_november": "Nov",
51
- "str_month_december": "Dec",
45
+ "str_month_june": "Hun",
46
+ "str_month_july": "Hul",
47
+ "str_month_august": "Ago",
48
+ "str_month_september": "Set",
49
+ "str_month_october": "Okt",
50
+ "str_month_november": "Nob",
51
+ "str_month_december": "Dis",
52
52
  "str_fm_datetime_am": "{{hour}} NU",
53
53
  "str_fm_datetime_pm": "{{hour}} NH",
54
54
  "str_fm_am": "NU",
@@ -84,8 +84,8 @@
84
84
  "str_original_text": "Orihinal na Teksto",
85
85
  "str_apply": "Apply",
86
86
  "str_cancel": "Cancel",
87
- "str_confirm": "Kumpirmahin",
88
87
  "str_multilingual_settings": "Multilingual Settings",
88
+ "str_confirm": "Kumpirmahin",
89
89
  "str_min_price": "Mangyaring maglagay ng hindi bababa sa {{minPrice}} {{currency}} o higit pa.",
90
90
  "str_max_price": "Maaari kang mag-input ng hanggang {{maxPrice}} {{currency}}.",
91
91
  "str_price_unit": "Pakipasok sa mga unit ng {{priceUnit}} {{currency}}.",
@@ -1,6 +1,6 @@
1
1
  declare const locale: {
2
2
  readonly ko: {
3
- translation: {
3
+ pds_translation: {
4
4
  str_rows_per_page: string;
5
5
  str_n_selected: string;
6
6
  str_dlayout_section: string;
@@ -54,7 +54,6 @@ declare const locale: {
54
54
  str_fm_datetime_pm: string;
55
55
  str_fm_am: string;
56
56
  str_fm_pm: string;
57
- str_fm_datetime_pm_only: string;
58
57
  calendar_duration_hour: string;
59
58
  calendar_duration_hours: string;
60
59
  str_fm_datetime_noon: string;
@@ -99,7 +98,7 @@ declare const locale: {
99
98
  };
100
99
  };
101
100
  readonly en: {
102
- translation: {
101
+ pds_translation: {
103
102
  str_rows_per_page: string;
104
103
  str_n_selected: string;
105
104
  str_dlayout_section: string;
@@ -184,8 +183,8 @@ declare const locale: {
184
183
  str_original_text: string;
185
184
  str_apply: string;
186
185
  str_cancel: string;
187
- str_confirm: string;
188
186
  str_multilingual_settings: string;
187
+ str_confirm: string;
189
188
  str_min_price: string;
190
189
  str_max_price: string;
191
190
  str_price_unit: string;
@@ -197,7 +196,7 @@ declare const locale: {
197
196
  };
198
197
  };
199
198
  readonly ja: {
200
- translation: {
199
+ pds_translation: {
201
200
  str_rows_per_page: string;
202
201
  str_n_selected: string;
203
202
  str_dlayout_section: string;
@@ -282,8 +281,8 @@ declare const locale: {
282
281
  str_original_text: string;
283
282
  str_apply: string;
284
283
  str_cancel: string;
285
- str_confirm: string;
286
284
  str_multilingual_settings: string;
285
+ str_confirm: string;
287
286
  str_min_price: string;
288
287
  str_max_price: string;
289
288
  str_price_unit: string;
@@ -295,7 +294,7 @@ declare const locale: {
295
294
  };
296
295
  };
297
296
  readonly es: {
298
- translation: {
297
+ pds_translation: {
299
298
  str_rows_per_page: string;
300
299
  str_n_selected: string;
301
300
  str_dlayout_section: string;
@@ -393,7 +392,7 @@ declare const locale: {
393
392
  };
394
393
  };
395
394
  readonly 'zh-cn': {
396
- translation: {
395
+ pds_translation: {
397
396
  str_rows_per_page: string;
398
397
  str_n_selected: string;
399
398
  str_dlayout_section: string;
@@ -491,7 +490,7 @@ declare const locale: {
491
490
  };
492
491
  };
493
492
  readonly 'zh-tw': {
494
- translation: {
493
+ pds_translation: {
495
494
  str_rows_per_page: string;
496
495
  str_n_selected: string;
497
496
  str_dlayout_section: string;
@@ -589,7 +588,7 @@ declare const locale: {
589
588
  };
590
589
  };
591
590
  readonly fil: {
592
- translation: {
591
+ pds_translation: {
593
592
  str_rows_per_page: string;
594
593
  str_n_selected: string;
595
594
  str_dlayout_section: string;
@@ -674,8 +673,8 @@ declare const locale: {
674
673
  str_original_text: string;
675
674
  str_apply: string;
676
675
  str_cancel: string;
677
- str_confirm: string;
678
676
  str_multilingual_settings: string;
677
+ str_confirm: string;
679
678
  str_min_price: string;
680
679
  str_max_price: string;
681
680
  str_price_unit: string;
@@ -1,5 +1,5 @@
1
1
  {
2
- "translation": {
2
+ "pds_translation": {
3
3
  "str_rows_per_page": "Entry per page",
4
4
  "str_n_selected": "{{itemSelected}} has been selected.",
5
5
  "str_dlayout_section": "Section",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "終日",
38
38
  "str_calendar_schedule_more": "{{count}}件以上",
39
39
  "str_calendar_today": "今日",
40
- "str_month_january": "Jan",
41
- "str_month_february": "Feb",
42
- "str_month_march": "Mar",
43
- "str_month_april": "Apr",
44
- "str_month_may": "May",
45
- "str_month_june": "Jun",
46
- "str_month_july": "Jul",
47
- "str_month_august": "Aug",
48
- "str_month_september": "Sep",
49
- "str_month_october": "Oct",
50
- "str_month_november": "Nov",
51
- "str_month_december": "Dec",
40
+ "str_month_january": "1月",
41
+ "str_month_february": "2月",
42
+ "str_month_march": "3月",
43
+ "str_month_april": "4月",
44
+ "str_month_may": "5月",
45
+ "str_month_june": "6月",
46
+ "str_month_july": "7月",
47
+ "str_month_august": "8月",
48
+ "str_month_september": "9月",
49
+ "str_month_october": "10月",
50
+ "str_month_november": "11月",
51
+ "str_month_december": "12月",
52
52
  "str_fm_datetime_am": "午前{{hour}}時",
53
53
  "str_fm_datetime_pm": "午後{{hour}}時",
54
54
  "str_fm_am": "午前",
@@ -84,8 +84,8 @@
84
84
  "str_original_text": "原文",
85
85
  "str_apply": "適用",
86
86
  "str_cancel": "キャンセル",
87
- "str_confirm": "確認",
88
87
  "str_multilingual_settings": "多言語設定",
88
+ "str_confirm": "確認",
89
89
  "str_min_price": "最小 {{minPrice}} {{currency}} 以上入力してください。",
90
90
  "str_max_price": "最大 {{maxPrice}} {{currency}} まで入力できます。",
91
91
  "str_price_unit": "{{priceUnit}} {{currency}}単位で入力してください。",
@@ -1,5 +1,5 @@
1
1
  {
2
- "translation": {
2
+ "pds_translation": {
3
3
  "str_rows_per_page": "목록 개수",
4
4
  "str_n_selected": "{{itemSelected}}개 선택됨",
5
5
  "str_dlayout_section": "섹션",
@@ -53,7 +53,6 @@
53
53
  "str_fm_datetime_pm": "오후 {{hour}}시",
54
54
  "str_fm_am": "오전",
55
55
  "str_fm_pm": "오후",
56
- "str_fm_datetime_pm_only": "오후",
57
56
  "calendar_duration_hour": "시간",
58
57
  "calendar_duration_hours": "시간",
59
58
  "str_fm_datetime_noon": "정오",
@@ -72,7 +71,7 @@
72
71
  "str_fm_year": "년",
73
72
  "str_fm_month": "월",
74
73
  "str_fm_day": "일",
75
- "str_fm_week": "",
74
+ "str_fm_week": "주간",
76
75
  "multilingual_settings": "다국어 설정",
77
76
  "str_multilingual_ko": "한국어 (ko)",
78
77
  "str_multilingual_en": "영어 (en)",
@@ -84,7 +83,7 @@
84
83
  "str_9071": "국가에 맞는 언어를 입력해 주세요.",
85
84
  "str_original_text": "원문",
86
85
  "str_apply": "적용",
87
- "str_cancel": "취소",
86
+ "str_cancel": "취소취소취소",
88
87
  "str_multilingual_settings": "다국어 설정",
89
88
  "str_confirm": "확인",
90
89
  "str_min_price": "최소 {{minPrice}} {{currency}} 이상 입력해 주세요.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "translation": {
2
+ "pds_translation": {
3
3
  "str_rows_per_page": "目录数量",
4
4
  "str_n_selected": "已选择{{itemSelected}}个",
5
5
  "str_dlayout_section": "栏目",
@@ -13,7 +13,7 @@
13
13
  "str_5353": "Pay",
14
14
  "str_5354": "Purchase",
15
15
  "str_5339": "{{price}} won",
16
- "str_coupon": "优惠券",
16
+ "str_coupon": "Coupon",
17
17
  "str_payment_option_coupon_free_finite": "Free Trial ($t(str_coupon))",
18
18
  "str_payment_option_coupon_free_infinite": "Unlimited Free ($t(str_coupon))",
19
19
  "str_payment_option_coupon_one_time": "$t(str_coupon)",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "全天",
38
38
  "str_calendar_schedule_more": "{{count}} 更多",
39
39
  "str_calendar_today": "今天",
40
- "str_month_january": "Jan",
41
- "str_month_february": "Feb",
42
- "str_month_march": "Mar",
43
- "str_month_april": "Apr",
44
- "str_month_may": "May",
45
- "str_month_june": "Jun",
46
- "str_month_july": "Jul",
47
- "str_month_august": "Aug",
48
- "str_month_september": "Sep",
49
- "str_month_october": "Oct",
50
- "str_month_november": "Nov",
51
- "str_month_december": "Dec",
40
+ "str_month_january": "1月",
41
+ "str_month_february": "2月",
42
+ "str_month_march": "3月",
43
+ "str_month_april": "4月",
44
+ "str_month_may": "5月",
45
+ "str_month_june": "6月",
46
+ "str_month_july": "7月",
47
+ "str_month_august": "8月",
48
+ "str_month_september": "9月",
49
+ "str_month_october": "10月",
50
+ "str_month_november": "11月",
51
+ "str_month_december": "12月",
52
52
  "str_fm_datetime_am": "上午{{hour}}时",
53
53
  "str_fm_datetime_pm": "下午{{hour}}时",
54
54
  "str_fm_am": "上午",
@@ -1,5 +1,5 @@
1
1
  {
2
- "translation": {
2
+ "pds_translation": {
3
3
  "str_rows_per_page": "目錄數量",
4
4
  "str_n_selected": "已選擇{{itemSelected}}個",
5
5
  "str_dlayout_section": "欄目",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "全天",
38
38
  "str_calendar_schedule_more": "{{count}} 更多",
39
39
  "str_calendar_today": "今天",
40
- "str_month_january": "Jan",
41
- "str_month_february": "Feb",
42
- "str_month_march": "Mar",
43
- "str_month_april": "Apr",
44
- "str_month_may": "May",
45
- "str_month_june": "Jun",
46
- "str_month_july": "Jul",
47
- "str_month_august": "Aug",
48
- "str_month_september": "Sep",
49
- "str_month_october": "Oct",
50
- "str_month_november": "Nov",
51
- "str_month_december": "Dec",
40
+ "str_month_january": "1月",
41
+ "str_month_february": "2月",
42
+ "str_month_march": "3月",
43
+ "str_month_april": "4月",
44
+ "str_month_may": "5月",
45
+ "str_month_june": "6月",
46
+ "str_month_july": "7月",
47
+ "str_month_august": "8月",
48
+ "str_month_september": "9月",
49
+ "str_month_october": "10月",
50
+ "str_month_november": "11月",
51
+ "str_month_december": "12月",
52
52
  "str_fm_datetime_am": "上午{{hour}}時",
53
53
  "str_fm_datetime_pm": "下午{{hour}}時",
54
54
  "str_fm_am": "上午",
@@ -92,5 +92,6 @@ type Props = {
92
92
  /** @deprecated in 1.5.0 onClickTBtn3를 대신 사용하세요. */
93
93
  onClickMBtn3?: () => void;
94
94
  };
95
+ /** @deprecated D_AdminList 대신 sub의 AdminList를 사용하세요. */
95
96
  declare function AdminList({ selectionMode, headerRowMode, column2HeaderText, column2HeaderTooltipText, column3HeaderText, column3HeaderTooltipText, column3Width, column4HeaderText, column4HeaderTooltipText, column4Width, column5HeaderText, column5HeaderTooltipText, column5Width, column6HeaderText, column6HeaderTooltipText, column6Width, column7HeaderText, column7HeaderTooltipText, column7Width, column8HeaderText, column8HeaderTooltipText, column8Width, column9HeaderText, column9HeaderTooltipText, column9Width, column10HeaderText, column10HeaderTooltipText, column10Width, dropdownMode, dropdown1Value, dropdown2Value, dropdown3Value, dropdown1DefaultText, dropdown2DefaultText, dropdown3DefaultText, dropdown1HintText, dropdown2HintText, dropdown3HintText, dropdown1ValueArray, dropdown2ValueArray, dropdown3ValueArray, quickActionBtnMode, quickActionBtn1Text, quickActionBtn2Text, quickActionBtn3Text, quickActionBtnType, tBtnMode, tBtn1Text, tBtn2Text, tBtn3Text, emptyText, scrollMode, scrollVisibleType, selectedIds, maintainIds, children, headerRowCheckboxName, flexibleHideInfoMode, onChangeDropdown1, onChangeDropdown2, onChangeDropdown3, onClickTBtn1, onClickTBtn2, onClickTBtn3, onClickQuickActionBtn1, onClickQuickActionBtn2, onClickQuickActionBtn3, onSelect, quickActionBtn1State, quickActionBtn2State, quickActionBtn3State, mBtnMode, mBtn1Text, mBtn2Text, mBtn3Text, onClickMBtn1, onClickMBtn2, onClickMBtn3 }: Props): JSX.Element;
96
97
  export default AdminList;
@@ -57,6 +57,7 @@ var styled_components_1 = __importStar(require("styled-components"));
57
57
  var TextLabel_1 = require("../TextLabel");
58
58
  var BulkActionBar_1 = __importDefault(require("./BulkActionBar"));
59
59
  var HeaderRow_1 = __importDefault(require("./HeaderRow"));
60
+ /** @deprecated D_AdminList 대신 sub의 AdminList를 사용하세요. */
60
61
  function AdminList(_a) {
61
62
  var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, _c = _a.headerRowMode, headerRowMode = _c === void 0 ? 'use' : _c, column2HeaderText = _a.column2HeaderText, column2HeaderTooltipText = _a.column2HeaderTooltipText, column3HeaderText = _a.column3HeaderText, column3HeaderTooltipText = _a.column3HeaderTooltipText, _d = _a.column3Width, column3Width = _d === void 0 ? 'small' : _d, column4HeaderText = _a.column4HeaderText, column4HeaderTooltipText = _a.column4HeaderTooltipText, _e = _a.column4Width, column4Width = _e === void 0 ? 'small' : _e, column5HeaderText = _a.column5HeaderText, column5HeaderTooltipText = _a.column5HeaderTooltipText, _f = _a.column5Width, column5Width = _f === void 0 ? 'small' : _f, column6HeaderText = _a.column6HeaderText, column6HeaderTooltipText = _a.column6HeaderTooltipText, _g = _a.column6Width, column6Width = _g === void 0 ? 'small' : _g, column7HeaderText = _a.column7HeaderText, column7HeaderTooltipText = _a.column7HeaderTooltipText, _h = _a.column7Width, column7Width = _h === void 0 ? 'small' : _h, column8HeaderText = _a.column8HeaderText, column8HeaderTooltipText = _a.column8HeaderTooltipText, _j = _a.column8Width, column8Width = _j === void 0 ? 'small' : _j, column9HeaderText = _a.column9HeaderText, column9HeaderTooltipText = _a.column9HeaderTooltipText, _k = _a.column9Width, column9Width = _k === void 0 ? 'small' : _k, column10HeaderText = _a.column10HeaderText, column10HeaderTooltipText = _a.column10HeaderTooltipText, _l = _a.column10Width, column10Width = _l === void 0 ? 'small' : _l, _m = _a.dropdownMode, dropdownMode = _m === void 0 ? 'dropdown_amount1' : _m, dropdown1Value = _a.dropdown1Value, dropdown2Value = _a.dropdown2Value, dropdown3Value = _a.dropdown3Value, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1HintText = _a.dropdown1HintText, dropdown2HintText = _a.dropdown2HintText, dropdown3HintText = _a.dropdown3HintText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, _o = _a.quickActionBtnMode, quickActionBtnMode = _o === void 0 ? 'btn_amount2' : _o, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _p = _a.quickActionBtnType, quickActionBtnType = _p === void 0 ? 'fix' : _p, tBtnMode = _a.tBtnMode, tBtn1Text = _a.tBtn1Text, tBtn2Text = _a.tBtn2Text, tBtn3Text = _a.tBtn3Text, emptyText = _a.emptyText, _q = _a.scrollMode, scrollMode = _q === void 0 ? 'infinite' : _q, _r = _a.scrollVisibleType, scrollVisibleType = _r === void 0 ? 'moving' : _r, selectedIds = _a.selectedIds, maintainIds = _a.maintainIds, children = _a.children, _s = _a.headerRowCheckboxName, headerRowCheckboxName = _s === void 0 ? 'all' : _s, _t = _a.flexibleHideInfoMode, flexibleHideInfoMode = _t === void 0 ? 'use' : _t, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickTBtn1 = _a.onClickTBtn1, onClickTBtn2 = _a.onClickTBtn2, onClickTBtn3 = _a.onClickTBtn3, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onSelect = _a.onSelect, quickActionBtn1State = _a.quickActionBtn1State, quickActionBtn2State = _a.quickActionBtn2State, quickActionBtn3State = _a.quickActionBtn3State, _u = _a.mBtnMode, mBtnMode = _u === void 0 ? 'mbtn_amount1' : _u, mBtn1Text = _a.mBtn1Text, mBtn2Text = _a.mBtn2Text, mBtn3Text = _a.mBtn3Text, onClickMBtn1 = _a.onClickMBtn1, onClickMBtn2 = _a.onClickMBtn2, onClickMBtn3 = _a.onClickMBtn3;
62
63
  var selectAllMethods = (0, react_hook_form_1.useForm)();
@@ -16,7 +16,7 @@ var TextButton_1 = require("../TextButton");
16
16
  var TextLabel_1 = require("../TextLabel");
17
17
  function BulkActionBar(_a) {
18
18
  var _b = _a.itemCount, itemCount = _b === void 0 ? 1 : _b, _c = _a.dropdownMode, dropdownMode = _c === void 0 ? 'dropdown_amount1' : _c, dropdown1Value = _a.dropdown1Value, dropdown2Value = _a.dropdown2Value, dropdown3Value = _a.dropdown3Value, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1HintText = _a.dropdown1HintText, dropdown2HintText = _a.dropdown2HintText, dropdown3HintText = _a.dropdown3HintText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, tBtnMode = _a.tBtnMode, tBtn1Text = _a.tBtn1Text, tBtn2Text = _a.tBtn2Text, tBtn3Text = _a.tBtn3Text, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickTBtn1 = _a.onClickTBtn1, onClickTBtn2 = _a.onClickTBtn2, onClickTBtn3 = _a.onClickTBtn3;
19
- var t = (0, react_i18next_1.useTranslation)('translation').t;
19
+ var t = (0, react_i18next_1.useTranslation)().t;
20
20
  return ((0, jsx_runtime_1.jsxs)(S_BulkActionBar, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_e", spacingType: "width" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: t('str_n_selected', {
21
21
  itemSelected: itemCount
22
22
  }), styleTheme: "body2Bold", colorTheme: "sysTextWhite" }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_e", spacingType: "width" }), (0, jsx_runtime_1.jsx)(hybrid_1.Divider, { direction: "vertical", height: 16 }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_e", spacingType: "width" }), dropdownMode !== 'none' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [dropdown1ValueArray && ((0, jsx_runtime_1.jsx)(Dropdown_1.Dropdown, { valueArray: dropdown1ValueArray, defaultValue: dropdown1DefaultText, hintText: dropdown1HintText, value: dropdown1Value, onChange: onChangeDropdown1, size: "small", colorTheme: "dark" })), (dropdownMode === 'dropdown_amount2' || dropdownMode === 'dropdown_amount3') &&
@@ -17,5 +17,6 @@ type Props = {
17
17
  /** @deprecated v1.5 totalPage를 받아오기 때문에 deprecated 될 예정입니다. */
18
18
  itemCountUnit?: number;
19
19
  };
20
+ /** @deprecated D_AdminListHeader 대신 sub의 AdminListHeader를 사용하세요. */
20
21
  declare function AdminListHeader({ headerBarSize, headerBarTitleText, tooltipText, itemCountUnit, currentPage, totalPage, contentText, filterBar, dropdownTextArray, dropdownDefaultValue, onChangeCount, onClickNextButton, onClickPrevButton }: Props): JSX.Element;
21
22
  export default AdminListHeader;
@@ -41,6 +41,7 @@ var defaultPaginationTextArray = [
41
41
  value: 100
42
42
  }
43
43
  ];
44
+ /** @deprecated D_AdminListHeader 대신 sub의 AdminListHeader를 사용하세요. */
44
45
  function AdminListHeader(_a) {
45
46
  var _b = _a.headerBarSize, headerBarSize = _b === void 0 ? 'regular' : _b, headerBarTitleText = _a.headerBarTitleText, tooltipText = _a.tooltipText,
46
47
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -47,7 +47,7 @@ var IconButton_1 = require("../IconButton");
47
47
  var TextLabel_1 = require("../TextLabel");
48
48
  function HeaderBar(_a) {
49
49
  var titleText = _a.titleText, tooltipText = _a.tooltipText, _b = _a.size, size = _b === void 0 ? 'regular' : _b, _c = _a.currentPage, currentPage = _c === void 0 ? 1 : _c, _d = _a.totalPage, totalPage = _d === void 0 ? 1 : _d, dropdownTextArray = _a.dropdownTextArray, dropdownDefaultValue = _a.dropdownDefaultValue, onChangeDropdown = _a.onChangeDropdown, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2;
50
- var t = (0, react_i18next_1.useTranslation)('translation').t;
50
+ var t = (0, react_i18next_1.useTranslation)().t;
51
51
  var handleDropdown = function (option) {
52
52
  if (onChangeDropdown) {
53
53
  onChangeDropdown(option);
@@ -55,5 +55,6 @@ export type AdminListItemProps = {
55
55
  onClickQuickActionBtn3?: (id: number) => void;
56
56
  onClickItem?: (id: number) => void;
57
57
  };
58
+ /** @deprecated D_AdminListItem 대신 sub의 AdminListItem를 사용하세요. */
58
59
  declare const AdminListItem: import("react").ForwardRefExoticComponent<AdminListItemProps & import("react").RefAttributes<HTMLDivElement>>;
59
60
  export default AdminListItem;
@@ -46,6 +46,7 @@ var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle
46
46
  var hybrid_1 = require("../../../hybrid");
47
47
  var Checkbox_1 = require("../Checkbox");
48
48
  var TextLabel_1 = require("../TextLabel");
49
+ /** @deprecated D_AdminListItem 대신 sub의 AdminListItem를 사용하세요. */
49
50
  var AdminListItem = (0, react_1.forwardRef)(function (_a, ref) {
50
51
  var _b = _a.rowSize, rowSize = _b === void 0 ? 'medium' : _b, _c = _a.state, state = _c === void 0 ? 'normal' : _c, _d = _a.selectionMode, selectionMode = _d === void 0 ? 'multi' : _d, _e = _a.column2Type, column2Type = _e === void 0 ? 'image_text' : _e, imageSrc = _a.imageSrc, _f = _a.imageShapeType, imageShapeType = _f === void 0 ? 'rectangle' : _f, _g = _a.imageScaleType, imageScaleType = _g === void 0 ? 'cover' : _g, _h = _a.imageRadius, imageRadius = _h === void 0 ? 8 : _h, _j = _a.imageRatio, imageRatio = _j === void 0 ? '16_9' : _j, _k = _a.columnCount, columnCount = _k === void 0 ? 2 : _k, column2Text = _a.column2Text, column3Text = _a.column3Text, _l = _a.column3TextWidth, column3TextWidth = _l === void 0 ? 'small' : _l, _m = _a.column3TextStyleTheme, column3TextStyleTheme = _m === void 0 ? 'normal' : _m, column4Text = _a.column4Text, _o = _a.column4TextWidth, column4TextWidth = _o === void 0 ? 'small' : _o, _p = _a.column4TextStyleTheme, column4TextStyleTheme = _p === void 0 ? 'normal' : _p, column5Text = _a.column5Text, _q = _a.column5TextWidth, column5TextWidth = _q === void 0 ? 'small' : _q, _r = _a.column5TextStyleTheme, column5TextStyleTheme = _r === void 0 ? 'normal' : _r, column6Text = _a.column6Text, _s = _a.column6TextWidth, column6TextWidth = _s === void 0 ? 'small' : _s, _t = _a.column6TextStyleTheme, column6TextStyleTheme = _t === void 0 ? 'normal' : _t, column7Text = _a.column7Text, _u = _a.column7TextWidth, column7TextWidth = _u === void 0 ? 'small' : _u, _v = _a.column7TextStyleTheme, column7TextStyleTheme = _v === void 0 ? 'normal' : _v, column8Text = _a.column8Text, _w = _a.column8TextWidth, column8TextWidth = _w === void 0 ? 'small' : _w, _x = _a.column8TextStyleTheme, column8TextStyleTheme = _x === void 0 ? 'normal' : _x, column9Text = _a.column9Text, _y = _a.column9TextWidth, column9TextWidth = _y === void 0 ? 'small' : _y, _z = _a.column9TextStyleTheme, column9TextStyleTheme = _z === void 0 ? 'normal' : _z, column10Text = _a.column10Text, _0 = _a.column10TextWidth, column10TextWidth = _0 === void 0 ? 'small' : _0, _1 = _a.column10TextStyleTheme, column10TextStyleTheme = _1 === void 0 ? 'normal' : _1, _2 = _a.quickActionBtnMode, quickActionBtnMode = _2 === void 0 ? 'btn_amount2' : _2, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _3 = _a.quickActionBtnType, quickActionBtnType = _3 === void 0 ? 'fix' : _3, _4 = _a.quickActionBtn1State, quickActionBtn1State = _4 === void 0 ? 'normal' : _4, _5 = _a.quickActionBtn2State, quickActionBtn2State = _5 === void 0 ? 'normal' : _5, _6 = _a.quickActionBtn3State, quickActionBtn3State = _6 === void 0 ? 'normal' : _6, _7 = _a.selectedState, selectedState = _7 === void 0 ? 'basic' : _7, id = _a.id, _8 = _a.flexibleHideInfoMode, flexibleHideInfoMode = _8 === void 0 ? 'use' : _8, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onClickItem = _a.onClickItem;
51
52
  var methods = (0, react_hook_form_1.useFormContext)();
@@ -46,7 +46,7 @@ var YearlyView_1 = require("./YearlyView");
46
46
  var Calendar = function (_a) {
47
47
  var _b;
48
48
  var _c = _a.defaultViewType, defaultViewType = _c === void 0 ? 'str_fm_month' : _c, _d = _a.viewTypes, viewTypes = _d === void 0 ? ['str_fm_month', 'str_fm_week', 'str_fm_day', 'str_fm_year'] : _d, _e = _a.displayAllDayScheduleMode, displayAllDayScheduleMode = _e === void 0 ? 'none' : _e, _f = _a.startOfWeek, startOfWeek = _f === void 0 ? 'sunday' : _f, _g = _a.todayBtnMode, todayBtnMode = _g === void 0 ? 'use' : _g, _h = _a.schedules, schedules = _h === void 0 ? [] : _h, config = _a.config, onActionDispatch = _a.onActionDispatch;
49
- var _j = (0, react_i18next_1.useTranslation)('translation'), t = _j.t, i18n = _j.i18n;
49
+ var _j = (0, react_i18next_1.useTranslation)(), t = _j.t, i18n = _j.i18n;
50
50
  var _k = (0, react_1.useState)(defaultViewType), currentViewType = _k[0], setCurrentViewType = _k[1];
51
51
  var _l = (0, react_1.useState)(new Date()), selectedDate = _l[0], setSelectedDate = _l[1];
52
52
  var _m = (0, react_1.useState)(null), dragStartDate = _m[0], setDragStartDate = _m[1];
@@ -16,7 +16,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
16
16
  var constants_1 = require("./constants");
17
17
  var CurrentTimeIndicator = function (_a) {
18
18
  var show = _a.show, _b = _a.leftOffset, leftOffset = _b === void 0 ? '80px' : _b;
19
- var i18n = (0, react_i18next_1.useTranslation)('translation').i18n;
19
+ var i18n = (0, react_i18next_1.useTranslation)().i18n;
20
20
  var getCurrentTime = (0, react_1.useCallback)(function () {
21
21
  var now = new Date();
22
22
  var locale = (0, constants_1.getLocaleFromLang)(i18next_1.default.language);
@@ -51,7 +51,7 @@ var TimeBasedScheduleItem_1 = require("./TimeBasedScheduleItem");
51
51
  var timeFormatUtils_1 = require("./timeFormatUtils");
52
52
  var DailyView = function (_a) {
53
53
  var schedules = _a.schedules, config = _a.config;
54
- var i18n = (0, react_i18next_1.useTranslation)('translation').i18n;
54
+ var i18n = (0, react_i18next_1.useTranslation)().i18n;
55
55
  var _b = (0, CalendarContext_1.useCalendarContext)(), selectedDate = _b.selectedDate, selectedSchedules = _b.selectedSchedules, displayAllDayScheduleMode = _b.displayAllDayScheduleMode, getSchedulesForDate = _b.getSchedulesForDate, isDragOverDate = _b.isDragOverDate, handleDateDragOver = _b.handleDateDragOver, handleDateDragLeave = _b.handleDateDragLeave, handleDateDrop = _b.handleDateDrop, handleDateClick = _b.handleDateClick, handleDateDrag = _b.handleDateDrag, handleScheduleDragStart = _b.handleScheduleDragStart, handleScheduleDragEnd = _b.handleScheduleDragEnd, handleScheduleClick = _b.handleScheduleClick;
56
56
  // 시간 드래그 상태
57
57
  var _c = (0, react_1.useState)(null), timeSelectionStart = _c[0], setTimeSelectionStart = _c[1];
@@ -42,7 +42,7 @@ var calendarUtils_1 = require("./calendarUtils");
42
42
  var MultiWeekSchedulesLayer_1 = require("./MultiWeekSchedulesLayer");
43
43
  var MonthlyView = function (_a) {
44
44
  var getDayTextByDate = _a.getDayTextByDate, startOfWeek = _a.startOfWeek, selectedDate = _a.selectedDate, selectedDates = _a.selectedDates, selectedSchedules = _a.selectedSchedules, dragStartDate = _a.dragStartDate, dragEndDate = _a.dragEndDate, isDragOverDate = _a.isDragOverDate, schedules = _a.schedules, getSchedulesForDate = _a.getSchedulesForDate, isToday = _a.isToday, isPastDate = _a.isPastDate, handleDateClick = _a.handleDateClick, handleScheduleClick = _a.handleScheduleClick, handleMouseUp = _a.handleMouseUp, handleDateDragOver = _a.handleDateDragOver, handleDateDragLeave = _a.handleDateDragLeave, handleDateDrop = _a.handleDateDrop, handleScheduleDragStart = _a.handleScheduleDragStart, handleScheduleDragEnd = _a.handleScheduleDragEnd, _b = _a.isDraggable, isDraggable = _b === void 0 ? false : _b, onSwitchToWeeklyView = _a.onSwitchToWeeklyView, config = _a.config;
45
- var t = (0, react_i18next_1.useTranslation)('translation').t;
45
+ var t = (0, react_i18next_1.useTranslation)().t;
46
46
  var _c = (0, CalendarContext_1.useCalendarContext)(), renderScheduleItem = _c.renderScheduleItem, handleDateDrag = _c.handleDateDrag;
47
47
  var height = (0, useWindowSize_1.useWindowSize)().height;
48
48
  var calendarCellRef = (0, react_1.useRef)(null);
@@ -37,7 +37,7 @@ var calendarUtils_1 = require("./calendarUtils");
37
37
  var timeFormatUtils_1 = require("./timeFormatUtils");
38
38
  var TimeBasedScheduleItem = function (_a) {
39
39
  var schedules = _a.schedules, selectedSchedules = _a.selectedSchedules, _b = _a.isDraggable, isDraggable = _b === void 0 ? false : _b, onClick = _a.onClick, handleScheduleDragStart = _a.handleScheduleDragStart, handleScheduleDragEnd = _a.handleScheduleDragEnd;
40
- var _c = (0, react_i18next_1.useTranslation)('translation'), i18n = _c.i18n, t = _c.t;
40
+ var _c = (0, react_i18next_1.useTranslation)(), i18n = _c.i18n, t = _c.t;
41
41
  // 시간별 스케줄 계산 및 grid 위치 할당
42
42
  var timedSchedulesWithGrid = (0, react_1.useMemo)(function () {
43
43
  var filteredSchedules = schedules.filter(function (schedule) { return !(0, calendarUtils_1.calculateIsAllDay)(new Date(schedule.startDate), new Date(schedule.endDate)); });
@@ -52,7 +52,7 @@ var TimeBasedScheduleItem_1 = require("./TimeBasedScheduleItem");
52
52
  var timeFormatUtils_1 = require("./timeFormatUtils");
53
53
  var WeeklyView = function (_a) {
54
54
  var startOfWeek = _a.startOfWeek, schedules = _a.schedules, config = _a.config;
55
- var _b = (0, react_i18next_1.useTranslation)('translation'), t = _b.t, i18n = _b.i18n;
55
+ var _b = (0, react_i18next_1.useTranslation)(), t = _b.t, i18n = _b.i18n;
56
56
  var _c = (0, CalendarContext_1.useCalendarContext)(), selectedDate = _c.selectedDate, selectedSchedules = _c.selectedSchedules, displayAllDayScheduleMode = _c.displayAllDayScheduleMode, getSchedulesForDate = _c.getSchedulesForDate, isToday = _c.isToday, isDragOverDate = _c.isDragOverDate, handleDateDragOver = _c.handleDateDragOver, handleDateDragLeave = _c.handleDateDragLeave, handleDateDrop = _c.handleDateDrop, handleDateClick = _c.handleDateClick, handleDateDrag = _c.handleDateDrag, handleScheduleDragStart = _c.handleScheduleDragStart, handleScheduleDragEnd = _c.handleScheduleDragEnd, isDraggable = _c.isDraggable, handleScheduleClick = _c.handleScheduleClick, getDayTextByDate = _c.getDayTextByDate;
57
57
  var _d = (0, react_1.useState)(null), timeSelectionStart = _d[0], setTimeSelectionStart = _d[1];
58
58
  var _e = (0, react_1.useState)(null), timeSelectionEnd = _e[0], setTimeSelectionEnd = _e[1];
@@ -25,7 +25,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
25
25
  var TextLabel_1 = require("../TextLabel");
26
26
  var YearlyView = function (_a) {
27
27
  var selectedDate = _a.selectedDate, getMonthDates = _a.getMonthDates, getDayTextByDate = _a.getDayTextByDate, startOfWeek = _a.startOfWeek, isToday = _a.isToday, handleDateClick = _a.handleDateClick, getSchedulesForDate = _a.getSchedulesForDate;
28
- var t = (0, react_i18next_1.useTranslation)('translation').t;
28
+ var t = (0, react_i18next_1.useTranslation)().t;
29
29
  var currentYear = selectedDate.getFullYear();
30
30
  var orderedDayTexts = (function () {
31
31
  var weekDates = [];
@@ -67,7 +67,7 @@ function PriceTextField(_a) {
67
67
  var _b;
68
68
  var _c;
69
69
  var name = _a.name, hintText = _a.hintText, defaultAmount = _a.defaultAmount, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'none' : _d, _e = _a.size, size = _e === void 0 ? 'large' : _e, _f = _a.fontWeight, fontWeight = _f === void 0 ? 'bold' : _f, _g = _a.hintTextFontWeight, hintTextFontWeight = _g === void 0 ? 'normal' : _g, _h = _a.responsiveMode, responsiveMode = _h === void 0 ? 'none' : _h, _j = _a.state, state = _j === void 0 ? 'normal' : _j, _k = _a.dropdownState, dropdownState = _k === void 0 ? 'normal' : _k, customWidth = _a.customWidth, _l = _a.baseCurrency, baseCurrency = _l === void 0 ? pricing_1.CurrencyCode.KRW : _l, _m = _a.currencies, currencies = _m === void 0 ? [pricing_1.CurrencyCode.KRW, pricing_1.CurrencyCode.USD] : _m, _o = _a.decimalPlaces, decimalPlaces = _o === void 0 ? exports.DEFAULT_DECIMAL_PLACES : _o, _p = _a.exchangeRates, exchangeRates = _p === void 0 ? (_b = {}, _b[pricing_1.CurrencyCode.KRW] = 1300, _b[pricing_1.CurrencyCode.USD] = 1, _b) : _p, _q = _a.textAlign, textAlign = _q === void 0 ? 'right' : _q, validation = _a.validation, _r = _a.useRequiredValidation, useRequiredValidation = _r === void 0 ? 'use' : _r, _s = _a.useDotBadge, useDotBadge = _s === void 0 ? 'use' : _s, _t = _a.deleteBtnMode, deleteBtnMode = _t === void 0 ? 'use' : _t, minPriceAmount = _a.minPriceAmount, onChange = _a.onChange, onExChange = _a.onExChange, onBlur = _a.onBlur, onFocus = _a.onFocus, onTarget = _a.onTarget, onCurrencyChange = _a.onCurrencyChange, onValueChange = _a.onValueChange;
70
- var t = (0, react_i18next_1.useTranslation)('translation').t;
70
+ var t = (0, react_i18next_1.useTranslation)().t;
71
71
  var _u = (0, react_1.useState)(defaultAmount ? String(defaultAmount) : ''), baseCurrencyValue = _u[0], setBaseCurrencyValue = _u[1];
72
72
  var _v = (0, react_1.useState)(baseCurrency), selectedCurrency = _v[0], setSelectedCurrency = _v[1];
73
73
  var _w = (0, react_1.useState)(false), isDropdownFocused = _w[0], setIsDropdownFocused = _w[1];
@@ -28,7 +28,7 @@ var pricing_1 = require("../../../core/pricing");
28
28
  var TextLabel_1 = require("../TextLabel");
29
29
  function PriceTextLabel(_a) {
30
30
  var price = _a.price, _b = _a.useFriendlyName, useFriendlyName = _b === void 0 ? 'none' : _b, _c = _a.useMinus, useMinus = _c === void 0 ? 'none' : _c, selectedCurrency = _a.selectedCurrency, exchangeRates = _a.exchangeRates, userCountryCode = _a.userCountryCode, args = __rest(_a, ["price", "useFriendlyName", "useMinus", "selectedCurrency", "exchangeRates", "userCountryCode"]);
31
- var t = (0, react_i18next_1.useTranslation)('translation').t;
31
+ var t = (0, react_i18next_1.useTranslation)().t;
32
32
  var targetPrice = price;
33
33
  var formattedAmount = useMinus === 'use' ? "-".concat(targetPrice.amount) : targetPrice.amount;
34
34
  var priceText = pricing_1.PricingService.translate.priceWithCurrency(exchangeRates && selectedCurrency
@@ -57,7 +57,7 @@ function RichTextEditor(_a) {
57
57
  var _this = this;
58
58
  var _b, _c, _d;
59
59
  var toolbar = _a.toolbar, defaultText = _a.defaultText, hintText = _a.hintText, maxLength = _a.maxLength, minLength = _a.minLength, maxFileSize = _a.maxFileSize, _e = _a.requirementMode, requirementMode = _e === void 0 ? 'none' : _e, lengthValidationText = _a.lengthValidationText, requiredValidationText = _a.requiredValidationText, fileSizeValidationText = _a.fileSizeValidationText, _f = _a.height, height = _f === void 0 ? 600 : _f, _g = _a.tinymceScriptSrc, tinymceScriptSrc = _g === void 0 ? '/tinymce/tinymce.min.js' : _g, onChange = _a.onChange, onBlur = _a.onBlur, onCountCharacter = _a.onCountCharacter, onImageUpload = _a.onImageUpload, _h = _a.isLoadingUsed, isLoadingUsed = _h === void 0 ? true : _h;
60
- var t = (0, react_i18next_1.useTranslation)('translation').t;
60
+ var t = (0, react_i18next_1.useTranslation)().t;
61
61
  var _j = (0, react_1.useState)(0), count = _j[0], setCount = _j[1];
62
62
  var _k = (0, react_1.useState)(true), isEditorLoading = _k[0], setIsEditorLoading = _k[1];
63
63
  var _l = (0, react_1.useState)(false), isEditorDirty = _l[0], setIsEditorDirty = _l[1];
@@ -67,7 +67,7 @@ function PriceTextField(_a) {
67
67
  var _b;
68
68
  var _c;
69
69
  var name = _a.name, hintText = _a.hintText, defaultAmount = _a.defaultAmount, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'none' : _d, _e = _a.size, size = _e === void 0 ? 'large' : _e, _f = _a.fontWeight, fontWeight = _f === void 0 ? 'bold' : _f, _g = _a.hintTextFontWeight, hintTextFontWeight = _g === void 0 ? 'normal' : _g, _h = _a.responsiveMode, responsiveMode = _h === void 0 ? 'none' : _h, _j = _a.state, state = _j === void 0 ? 'normal' : _j, _k = _a.dropdownState, dropdownState = _k === void 0 ? 'normal' : _k, customWidth = _a.customWidth, _l = _a.baseCurrency, baseCurrency = _l === void 0 ? pricing_1.CurrencyCode.KRW : _l, _m = _a.currencies, currencies = _m === void 0 ? [pricing_1.CurrencyCode.KRW, pricing_1.CurrencyCode.USD] : _m, _o = _a.decimalPlaces, decimalPlaces = _o === void 0 ? exports.DEFAULT_DECIMAL_PLACES : _o, _p = _a.exchangeRates, exchangeRates = _p === void 0 ? (_b = {}, _b[pricing_1.CurrencyCode.KRW] = 1300, _b[pricing_1.CurrencyCode.USD] = 1, _b) : _p, _q = _a.textAlign, textAlign = _q === void 0 ? 'right' : _q, validation = _a.validation, _r = _a.useRequiredValidation, useRequiredValidation = _r === void 0 ? 'use' : _r, _s = _a.useDotBadge, useDotBadge = _s === void 0 ? 'use' : _s, _t = _a.deleteBtnMode, deleteBtnMode = _t === void 0 ? 'use' : _t, minPriceAmount = _a.minPriceAmount, onChange = _a.onChange, onBlur = _a.onBlur, onFocus = _a.onFocus, onTarget = _a.onTarget, onCurrencyChange = _a.onCurrencyChange, onValueChange = _a.onValueChange;
70
- var t = (0, react_i18next_1.useTranslation)('translation').t;
70
+ var t = (0, react_i18next_1.useTranslation)().t;
71
71
  var _u = (0, react_1.useState)(defaultAmount ? String(defaultAmount) : ''), baseCurrencyValue = _u[0], setBaseCurrencyValue = _u[1];
72
72
  var _v = (0, react_1.useState)(baseCurrency), selectedCurrency = _v[0], setSelectedCurrency = _v[1];
73
73
  var _w = (0, react_1.useState)(false), isDropdownFocused = _w[0], setIsDropdownFocused = _w[1];
@@ -28,7 +28,7 @@ var pricing_1 = require("../../../core/pricing");
28
28
  var TextLabel_1 = require("../TextLabel");
29
29
  function PriceTextLabel(_a) {
30
30
  var price = _a.price, _b = _a.useFriendlyName, useFriendlyName = _b === void 0 ? 'none' : _b, _c = _a.useMinus, useMinus = _c === void 0 ? 'none' : _c, selectedCurrency = _a.selectedCurrency, exchangeRates = _a.exchangeRates, userCountryCode = _a.userCountryCode, args = __rest(_a, ["price", "useFriendlyName", "useMinus", "selectedCurrency", "exchangeRates", "userCountryCode"]);
31
- var t = (0, react_i18next_1.useTranslation)('translation').t;
31
+ var t = (0, react_i18next_1.useTranslation)().t;
32
32
  var targetPrice = price;
33
33
  var formattedAmount = useMinus === 'use' ? "-".concat(targetPrice.amount) : targetPrice.amount;
34
34
  var priceText = pricing_1.PricingService.translate.priceWithCurrency(exchangeRates && selectedCurrency