pds-dev-kit-web-test 2.6.14 → 2.6.16

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 (29) hide show
  1. package/dist/src/common/services/i18n/i18n.js +3 -1
  2. package/dist/src/common/services/i18n/resources/ko.json +1 -1
  3. package/dist/src/desktop/components/AdminList/BulkActionBar.js +1 -1
  4. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +1 -1
  5. package/dist/src/desktop/components/Calendar/Calendar.js +1 -1
  6. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +1 -1
  7. package/dist/src/desktop/components/Calendar/DailyView.js +1 -1
  8. package/dist/src/desktop/components/Calendar/MonthlyView.js +1 -1
  9. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +1 -1
  10. package/dist/src/desktop/components/Calendar/WeeklyView.js +1 -1
  11. package/dist/src/desktop/components/Calendar/YearlyView.js +1 -1
  12. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +1 -1
  13. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +1 -1
  14. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +1 -1
  15. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +1 -1
  16. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +1 -1
  17. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +1 -1
  18. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +1 -1
  19. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +1 -1
  20. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -1
  21. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +1 -1
  22. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +1 -1
  23. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +1 -1
  24. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +1 -1
  25. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +1 -1
  26. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +1 -1
  27. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +1 -1
  28. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +1 -1
  29. package/package.json +1 -1
@@ -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;
@@ -83,7 +83,7 @@
83
83
  "str_9071": "국가에 맞는 언어를 입력해 주세요.",
84
84
  "str_original_text": "원문",
85
85
  "str_apply": "적용",
86
- "str_cancel": "취소할게요할게",
86
+ "str_cancel": "취소취소취소",
87
87
  "str_multilingual_settings": "다국어 설정",
88
88
  "str_confirm": "확인",
89
89
  "str_min_price": "최소 {{minPrice}} {{currency}} 이상 입력해 주세요.",
@@ -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') &&
@@ -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);
@@ -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
@@ -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, required = _a.required, lengthValidationText = _a.lengthValidationText, requiredValidationText = _a.requiredValidationText, fileSizeValidationText = _a.fileSizeValidationText, _e = _a.height, height = _e === void 0 ? 600 : _e, _f = _a.tinymceScriptSrc, tinymceScriptSrc = _f === void 0 ? '/tinymce/tinymce.min.js' : _f, onChange = _a.onChange, onBlur = _a.onBlur, onCountCharacter = _a.onCountCharacter, onImageUpload = _a.onImageUpload, _g = _a.isLoadingUsed, isLoadingUsed = _g === void 0 ? true : _g;
60
- var t = (0, react_i18next_1.useTranslation)('translation').t;
60
+ var t = (0, react_i18next_1.useTranslation)().t;
61
61
  var _h = (0, react_1.useState)(0), count = _h[0], setCount = _h[1];
62
62
  var _j = (0, react_1.useState)(true), isEditorLoading = _j[0], setIsEditorLoading = _j[1];
63
63
  var _k = (0, react_1.useState)(false), isEditorDirty = _k[0], setIsEditorDirty = _k[1];
@@ -45,7 +45,7 @@ var components_2 = require("../../../hybrid/components");
45
45
  var styled_components_1 = __importStar(require("styled-components"));
46
46
  function HeaderBar(_a) {
47
47
  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;
48
- var t = (0, react_i18next_1.useTranslation)('translation').t;
48
+ var t = (0, react_i18next_1.useTranslation)().t;
49
49
  var handleDropdown = function (option) {
50
50
  if (onChangeDropdown) {
51
51
  onChangeDropdown(option);
@@ -14,7 +14,7 @@ var components_2 = require("../../../hybrid/components");
14
14
  var styled_components_1 = __importDefault(require("styled-components"));
15
15
  function BulkActionBar(_a) {
16
16
  var itemCount = _a.itemCount, _b = _a.dropdownMode, dropdownMode = _b === void 0 ? 'dropdown_amount1' : _b, 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;
17
- var t = (0, react_i18next_1.useTranslation)('translation').t;
17
+ var t = (0, react_i18next_1.useTranslation)().t;
18
18
  return ((0, jsx_runtime_1.jsxs)(S_BulkActionBar, { children: [(0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_e", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: t('str_n_selected', {
19
19
  itemSelected: itemCount
20
20
  }), styleTheme: "body2Bold", colorTheme: "sysTextWhite" }), (0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_e", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_2.Divider, { direction: "vertical", height: 16 }), (0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_e", spacingType: "width" }), dropdownMode !== 'none' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [dropdown1ValueArray && ((0, jsx_runtime_1.jsx)(components_1.Dropdown, { valueArray: dropdown1ValueArray, defaultValue: dropdown1DefaultText, hintText: dropdown1HintText, value: dropdown1Value, onChange: onChangeDropdown1, size: "small", colorTheme: "dark" })), (dropdownMode === 'dropdown_amount2' || dropdownMode === 'dropdown_amount3') &&
@@ -27,7 +27,7 @@ var useLazyUnmount_1 = require("../../hooks/useLazyUnmount");
27
27
  var OverlayBorders_1 = __importDefault(require("./OverlayBorders"));
28
28
  function SectionBox(_a) {
29
29
  var scrollIntoThisSection = _a.scrollIntoThisSection, isIframeSection = _a.isIframeSection, isEditing = _a.isEditing, children = _a.children, onClick = _a.onClick;
30
- var t = (0, react_i18next_1.useTranslation)('translation').t;
30
+ var t = (0, react_i18next_1.useTranslation)().t;
31
31
  var sectionRef = (0, react_1.useRef)(null);
32
32
  var _b = (0, react_1.useState)(false), isHover = _b[0], setIsHover = _b[1];
33
33
  var _c = (0, react_1.useState)(false), fadeOut = _c[0], setFadeout = _c[1];
@@ -19,7 +19,7 @@ var Section_1 = require("../../../../../../../../DynamicLayout/components/Sectio
19
19
  var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
20
20
  var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
21
21
  function EmptyMembershipSheet() {
22
- var t = (0, react_i18next_1.useTranslation)('translation').t;
22
+ var t = (0, react_i18next_1.useTranslation)().t;
23
23
  var section = (0, react_1.useContext)(Section_1.sectionContext);
24
24
  if (!section) {
25
25
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
@@ -29,7 +29,7 @@ var formatCurrency_1 = __importDefault(require("../../../../../../../../DynamicL
29
29
  var styled_components_1 = __importDefault(require("styled-components"));
30
30
  function MembershipPlanSheet(_a) {
31
31
  var connectedSubscriptionProducts = _a.connectedSubscriptionProducts, sectionStyles = _a.sectionStyles;
32
- var t = (0, react_i18next_1.useTranslation)('translation').t;
32
+ var t = (0, react_i18next_1.useTranslation)().t;
33
33
  var subscriptionProduct = connectedSubscriptionProducts.subscriptionProduct;
34
34
  var type = subscriptionProduct.type, alias = subscriptionProduct.alias, fee = subscriptionProduct.fee, isDeactivated = subscriptionProduct.isDeactivated;
35
35
  var itemToneType = sectionStyles.itemToneType, itemHighlightingColorInHex = sectionStyles.itemHighlightingColorInHex, programmedItemActionButtonTextType = sectionStyles.programmedItemActionButtonTextType;
@@ -19,7 +19,7 @@ var components_2 = require("../../../../../../../../DynamicLayout/sections/Membe
19
19
  var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
20
20
  function UnavailableMembershipPlanSheet(_a) {
21
21
  var sectionStyles = _a.sectionStyles;
22
- var t = (0, react_i18next_1.useTranslation)('translation').t;
22
+ var t = (0, react_i18next_1.useTranslation)().t;
23
23
  var itemToneType = sectionStyles.itemToneType, programmedItemActionButtonTextType = sectionStyles.programmedItemActionButtonTextType;
24
24
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_g" }), (0, jsx_runtime_1.jsx)(panels_1.ContentSheet, __assign({ width: "100%", height: "auto", shapeType: "round", overrideCSS: {
25
25
  display: 'flex',
@@ -19,7 +19,7 @@ var Section_1 = require("../../../../../../../../DynamicLayout/components/Sectio
19
19
  var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
20
20
  var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
21
21
  function MembershipSheet() {
22
- var t = (0, react_i18next_1.useTranslation)('translation').t;
22
+ var t = (0, react_i18next_1.useTranslation)().t;
23
23
  var section = (0, react_1.useContext)(Section_1.sectionContext);
24
24
  if (!section) {
25
25
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
@@ -19,7 +19,7 @@ var Section_1 = require("../../../../../../../../DynamicLayout/components/Sectio
19
19
  var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
20
20
  var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
21
21
  function EmptyMembershipSheet() {
22
- var t = (0, react_i18next_1.useTranslation)('translation').t;
22
+ var t = (0, react_i18next_1.useTranslation)().t;
23
23
  var section = (0, react_1.useContext)(Section_1.sectionContext);
24
24
  if (!section) {
25
25
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
@@ -29,7 +29,7 @@ var formatCurrency_1 = __importDefault(require("../../../../../../../../DynamicL
29
29
  var styled_components_1 = __importDefault(require("styled-components"));
30
30
  function MembershipPlanSheet(_a) {
31
31
  var connectedSubscriptionProduct = _a.connectedSubscriptionProduct, sectionStyles = _a.sectionStyles;
32
- var t = (0, react_i18next_1.useTranslation)('translation').t;
32
+ var t = (0, react_i18next_1.useTranslation)().t;
33
33
  var subscriptionProduct = connectedSubscriptionProduct.subscriptionProduct;
34
34
  var type = subscriptionProduct.type, alias = subscriptionProduct.alias, fee = subscriptionProduct.fee, isDeactivated = subscriptionProduct.isDeactivated;
35
35
  var itemToneType = sectionStyles.itemToneType, itemHighlightingColorInHex = sectionStyles.itemHighlightingColorInHex, programmedItemActionButtonTextType = sectionStyles.programmedItemActionButtonTextType;
@@ -19,7 +19,7 @@ var components_2 = require("../../../../../../../../DynamicLayout/sections/Membe
19
19
  var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
20
20
  function UnavailableMembershipPlanSheet(_a) {
21
21
  var sectionStyles = _a.sectionStyles;
22
- var t = (0, react_i18next_1.useTranslation)('translation').t;
22
+ var t = (0, react_i18next_1.useTranslation)().t;
23
23
  var itemToneType = sectionStyles.itemToneType, programmedItemActionButtonTextType = sectionStyles.programmedItemActionButtonTextType;
24
24
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_g" }), (0, jsx_runtime_1.jsx)(panels_1.ContentSheet, __assign({ width: "100%", height: "auto", shapeType: "round", overrideCSS: {
25
25
  display: 'flex',
@@ -19,7 +19,7 @@ var Section_1 = require("../../../../../../../../DynamicLayout/components/Sectio
19
19
  var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
20
20
  var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
21
21
  function MembershipSheet() {
22
- var t = (0, react_i18next_1.useTranslation)('translation').t;
22
+ var t = (0, react_i18next_1.useTranslation)().t;
23
23
  var section = (0, react_1.useContext)(Section_1.sectionContext);
24
24
  if (!section) {
25
25
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.6.14",
3
+ "version": "2.6.16",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",