pds-dev-kit-web 2.2.218 → 2.2.220

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.
package/dist/index.d.ts CHANGED
@@ -8,20 +8,20 @@ export { AdminListItemTransition, InputTransition, ButtonTransition } from './sr
8
8
  export { Form };
9
9
  import { Divider, Icon, ImageView, LinearProgress, LottieIcon, Spacing, Switch } from './src/hybrid';
10
10
  export { Divider, Icon, ImageView, LinearProgress, LottieIcon, Spacing, Switch };
11
- import { LayoutWF, WFContainersBox, LayoutWH, WHContainersBox, LayoutWS, WSGlobalMenuContainer, WSContainersBox, LayoutWT, WTGlobalMenuContainer, WTContainersBox, D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicButtonGroup, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_BoxItem, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_ReactionButton, D_SegmentedButtonGroup, D_Select, D_Slider, D_Snackbar, D_StatusBlock, D_TextButton, D_PriceTextField, D_TextField, D_TextLabel, D_PriceTextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab, D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopBasicModalWithTab, DesktopBasicModalWithTabInfoType, D_DesktopHeadlessModal, D_DesktopTutorialModal, DesktopTutorialModalInfoType, D_SectionSheet, D_Calendar } from './src/desktop';
11
+ import { LayoutWF, WFContainersBox, LayoutWH, WHContainersBox, LayoutWS, WSGlobalMenuContainer, WSContainersBox, LayoutWT, WTGlobalMenuContainer, WTContainersBox, D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicButtonGroup, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_BoxItem, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_ReactionButton, D_RichTextEditor, D_SegmentedButtonGroup, D_Select, D_Slider, D_Snackbar, D_StatusBlock, D_TextButton, D_PriceTextField, D_TextField, D_TextLabel, D_PriceTextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab, D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopBasicModalWithTab, DesktopBasicModalWithTabInfoType, D_DesktopHeadlessModal, D_DesktopTutorialModal, DesktopTutorialModalInfoType, D_SectionSheet, D_Calendar } from './src/desktop';
12
12
  export { LayoutWF, WFContainersBox };
13
13
  export { LayoutWH, WHContainersBox };
14
14
  export { LayoutWS, WSGlobalMenuContainer, WSContainersBox };
15
15
  export { LayoutWT, WTGlobalMenuContainer, WTContainersBox };
16
- export { D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicButtonGroup, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_BoxItem, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_ReactionButton, D_SegmentedButtonGroup, D_Select, D_Slider, D_Snackbar, D_StatusBlock, D_TextButton, D_PriceTextField, D_TextField, D_TextLabel, D_PriceTextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab, D_Calendar };
16
+ export { D_AdminList, D_AdminListHeader, D_AdminListItem, D_BasicButtonGroup, D_BasicChatListItem, D_BasicFormGroup, D_BasicList, D_BasicListItem, D_BlogTextField, D_BodyTextGroup, D_BoxItem, D_Card, D_CardList, D_ChatBubbleListItem, D_ChatList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopAlertDialog, D_DesktopHeaderBar, D_DesktopTabBar, D_Dropdown, D_DynamicDesktopNavBar, D_DynamicDesktopNavBarTemplates, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_HorizontalFormGroup, D_IconButton, D_ImageSlide, D_LottieReactionButton, D_MainButton, D_PageTitleTextGroup, D_Radio, D_ReactionButton, D_RichTextEditor, D_SegmentedButtonGroup, D_Select, D_Slider, D_Snackbar, D_StatusBlock, D_TextButton, D_PriceTextField, D_TextField, D_TextLabel, D_PriceTextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar, D_UserDesktopSideTab, D_Calendar };
17
17
  export { D_AnnotationSheet, D_ContentSheet, D_DesktopBasicModal, D_DesktopBasicModalWithTab, D_DesktopHeadlessModal, D_DesktopTutorialModal, D_SectionSheet };
18
18
  export type { DesktopBasicModalWithTabInfoType, DesktopTutorialModalInfoType };
19
- import { LayoutMF, MFContainersBox, LayoutMM, MMNavigationContainer, MMContainersBox, LayoutMP, MPNavigationContainer, MPTabContainer, MPContainersBox, LayoutMS, MSNavigationContainer, MSContainersBox, M_BasicButtonGroup, M_BasicChatListItem, M_BasicFormGroup, M_BasicList, M_BasicListItem, M_BlogTextField, M_BodyTextGroup, M_BoxItem, M_Card, M_CardList, M_ChatBubbleListItem, M_ChatList, M_Checkbox, M_Chip, M_ContextMenu, M_ContextMenuItem, M_DatePicker, M_Dropdown, M_FloatingActionButton, M_HorizontalFormGroup, M_IconButton, M_ImageSlide, M_LottieReactionButton, M_MainButton, M_MobileAlertDialog, M_MobileHeaderBar, M_MobileTabBar, M_Radio, M_ReactionButton, M_SegmentedButtonGroup, M_Select, M_Slider, M_Snackbar, M_StatusBlock, M_TextButton, M_PriceTextField, M_TextField, M_TextLabel, M_PriceTextLabel, M_UploadIconButton, M_UploadMainButton, M_UploadTextButton, M_AnnotationSheet, M_ContentSheet, M_MobileBasicModal, M_SectionSheet } from './src/mobile';
19
+ import { LayoutMF, MFContainersBox, LayoutMM, MMNavigationContainer, MMContainersBox, LayoutMP, MPNavigationContainer, MPTabContainer, MPContainersBox, LayoutMS, MSNavigationContainer, MSContainersBox, M_BasicButtonGroup, M_BasicChatListItem, M_BasicFormGroup, M_BasicList, M_BasicListItem, M_BlogTextField, M_BodyTextGroup, M_BoxItem, M_Card, M_CardList, M_ChatBubbleListItem, M_ChatList, M_Checkbox, M_Chip, M_ContextMenu, M_ContextMenuItem, M_DatePicker, M_Dropdown, M_FloatingActionButton, M_HorizontalFormGroup, M_IconButton, M_ImageSlide, M_LottieReactionButton, M_MainButton, M_MobileAlertDialog, M_MobileHeaderBar, M_MobileTabBar, M_Radio, M_ReactionButton, M_RichTextEditor, M_SegmentedButtonGroup, M_Select, M_Slider, M_Snackbar, M_StatusBlock, M_TextButton, M_PriceTextField, M_TextField, M_TextLabel, M_PriceTextLabel, M_UploadIconButton, M_UploadMainButton, M_UploadTextButton, M_AnnotationSheet, M_ContentSheet, M_MobileBasicModal, M_SectionSheet } from './src/mobile';
20
20
  export { LayoutMF, MFContainersBox };
21
21
  export { LayoutMM, MMNavigationContainer, MMContainersBox };
22
22
  export { LayoutMP, MPNavigationContainer, MPTabContainer, MPContainersBox };
23
23
  export { LayoutMS, MSNavigationContainer, MSContainersBox };
24
- export { M_BasicButtonGroup, M_BasicChatListItem, M_BasicFormGroup, M_BasicList, M_BasicListItem, M_BlogTextField, M_BodyTextGroup, M_BoxItem, M_Card, M_CardList, M_ChatBubbleListItem, M_ChatList, M_Checkbox, M_Chip, M_ContextMenu, M_ContextMenuItem, M_DatePicker, M_Dropdown, M_FloatingActionButton, M_HorizontalFormGroup, M_IconButton, M_ImageSlide, M_LottieReactionButton, M_MainButton, M_MobileAlertDialog, M_MobileHeaderBar, M_MobileTabBar, M_Radio, M_ReactionButton, M_SegmentedButtonGroup, M_Select, M_Slider, M_Snackbar, M_StatusBlock, M_TextButton, M_PriceTextField, M_TextField, M_TextLabel, M_PriceTextLabel, M_UploadIconButton, M_UploadMainButton, M_UploadTextButton };
24
+ export { M_BasicButtonGroup, M_BasicChatListItem, M_BasicFormGroup, M_BasicList, M_BasicListItem, M_BlogTextField, M_BodyTextGroup, M_BoxItem, M_Card, M_CardList, M_ChatBubbleListItem, M_ChatList, M_Checkbox, M_Chip, M_ContextMenu, M_ContextMenuItem, M_DatePicker, M_Dropdown, M_FloatingActionButton, M_HorizontalFormGroup, M_IconButton, M_ImageSlide, M_LottieReactionButton, M_MainButton, M_MobileAlertDialog, M_MobileHeaderBar, M_MobileTabBar, M_Radio, M_ReactionButton, M_RichTextEditor, M_SegmentedButtonGroup, M_Select, M_Slider, M_Snackbar, M_StatusBlock, M_TextButton, M_PriceTextField, M_TextField, M_TextLabel, M_PriceTextLabel, M_UploadIconButton, M_UploadMainButton, M_UploadTextButton };
25
25
  export { M_AnnotationSheet, M_ContentSheet, M_MobileBasicModal, M_SectionSheet };
26
26
  import { DynamicLayout } from './src/sub';
27
27
  export { DynamicLayout };
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LayoutWF = exports.Switch = exports.Spacing = exports.LottieIcon = exports.LinearProgress = exports.ImageView = exports.Icon = exports.Divider = exports.Form = exports.ButtonTransition = exports.InputTransition = exports.AdminListItemTransition = exports.scaleBounceOutIncludeTranslate02 = exports.scaleBounceInIncludeTranslate02 = exports.scaleBounceOutIncludeTranslate = exports.scaleBounceInIncludeTranslate = exports.scaleBounceOut02 = exports.scaleBounceOut = exports.scaleBounceIn02 = exports.scaleBounceIn = exports.gelatine = exports.scaleDownIncludeTranslate = exports.scaleUpIncludeTranslate = exports.scaleDown = exports.scaleUp = exports.glow = exports.fadeOut = exports.fadeIn = exports.modalOverlayOffAni = exports.modalOverlayOnAni = exports.modalOffAni = exports.modalOnAni = exports.dialogOverlayOffAni = exports.dialogOverlayOnAni = exports.dialogOffAni = exports.dialogOnAni = exports.theme = exports.customTheme = exports.uiColors = exports.spacing = exports.boxShadow = exports.mobileEditorLineHeight = exports.mobileEditorFontSize = exports.mobileLineHeight = exports.mobileFontSize = exports.desktopEditorLineHeight = exports.desktopEditorFontSize = exports.desktopLineHeight = exports.desktopFontSize = exports.fontWeight = void 0;
4
- exports.D_Snackbar = exports.D_Slider = exports.D_Select = exports.D_SegmentedButtonGroup = exports.D_ReactionButton = exports.D_Radio = exports.D_PageTitleTextGroup = exports.D_MainButton = exports.D_LottieReactionButton = exports.D_ImageSlide = exports.D_IconButton = exports.D_HorizontalFormGroup = exports.D_Hero = exports.D_FloatingActionButton = exports.D_FilterBar = exports.D_EditApplyTextField = exports.D_DynamicDesktopNavBarTemplates = exports.D_DynamicDesktopNavBar = exports.D_Dropdown = exports.D_DesktopTabBar = exports.D_DesktopHeaderBar = exports.D_DesktopAlertDialog = exports.D_ContextMenuItem = exports.D_ContextMenu = exports.D_Chip = exports.D_Checkbox = exports.D_ChatList = exports.D_ChatBubbleListItem = exports.D_CardList = exports.D_Card = exports.D_BoxItem = exports.D_BodyTextGroup = exports.D_BlogTextField = exports.D_BasicListItem = exports.D_BasicList = exports.D_BasicFormGroup = exports.D_BasicChatListItem = exports.D_BasicButtonGroup = exports.D_AdminListItem = exports.D_AdminListHeader = exports.D_AdminList = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WHContainersBox = exports.LayoutWH = exports.WFContainersBox = void 0;
5
- exports.M_Dropdown = exports.M_DatePicker = exports.M_ContextMenuItem = exports.M_ContextMenu = exports.M_Chip = exports.M_Checkbox = exports.M_ChatList = exports.M_ChatBubbleListItem = exports.M_CardList = exports.M_Card = exports.M_BoxItem = exports.M_BodyTextGroup = exports.M_BlogTextField = exports.M_BasicListItem = exports.M_BasicList = exports.M_BasicFormGroup = exports.M_BasicChatListItem = exports.M_BasicButtonGroup = exports.MSContainersBox = exports.MSNavigationContainer = exports.LayoutMS = exports.MPContainersBox = exports.MPTabContainer = exports.MPNavigationContainer = exports.LayoutMP = exports.MMContainersBox = exports.MMNavigationContainer = exports.LayoutMM = exports.MFContainersBox = exports.LayoutMF = exports.D_SectionSheet = exports.D_DesktopTutorialModal = exports.D_DesktopHeadlessModal = exports.D_DesktopBasicModalWithTab = exports.D_DesktopBasicModal = exports.D_ContentSheet = exports.D_AnnotationSheet = exports.D_Calendar = exports.D_UserDesktopSideTab = exports.D_UserDesktopTabBar = exports.D_UserDesktopNavBar = exports.D_UploadTextButton = exports.D_UploadMainButton = exports.D_UploadIconButton = exports.D_PriceTextLabel = exports.D_TextLabel = exports.D_TextField = exports.D_PriceTextField = exports.D_TextButton = exports.D_StatusBlock = void 0;
6
- exports.ToolBar = exports.BulkActionBar = exports.AdminListItem = exports.AdminListHeader = exports.AdminList = exports.DynamicLayout = exports.M_SectionSheet = exports.M_MobileBasicModal = exports.M_ContentSheet = exports.M_AnnotationSheet = exports.M_UploadTextButton = exports.M_UploadMainButton = exports.M_UploadIconButton = exports.M_PriceTextLabel = exports.M_TextLabel = exports.M_TextField = exports.M_PriceTextField = exports.M_TextButton = exports.M_StatusBlock = exports.M_Snackbar = exports.M_Slider = exports.M_Select = exports.M_SegmentedButtonGroup = exports.M_ReactionButton = exports.M_Radio = exports.M_MobileTabBar = exports.M_MobileHeaderBar = exports.M_MobileAlertDialog = exports.M_MainButton = exports.M_LottieReactionButton = exports.M_ImageSlide = exports.M_IconButton = exports.M_HorizontalFormGroup = exports.M_FloatingActionButton = void 0;
4
+ exports.D_Slider = exports.D_Select = exports.D_SegmentedButtonGroup = exports.D_RichTextEditor = exports.D_ReactionButton = exports.D_Radio = exports.D_PageTitleTextGroup = exports.D_MainButton = exports.D_LottieReactionButton = exports.D_ImageSlide = exports.D_IconButton = exports.D_HorizontalFormGroup = exports.D_Hero = exports.D_FloatingActionButton = exports.D_FilterBar = exports.D_EditApplyTextField = exports.D_DynamicDesktopNavBarTemplates = exports.D_DynamicDesktopNavBar = exports.D_Dropdown = exports.D_DesktopTabBar = exports.D_DesktopHeaderBar = exports.D_DesktopAlertDialog = exports.D_ContextMenuItem = exports.D_ContextMenu = exports.D_Chip = exports.D_Checkbox = exports.D_ChatList = exports.D_ChatBubbleListItem = exports.D_CardList = exports.D_Card = exports.D_BoxItem = exports.D_BodyTextGroup = exports.D_BlogTextField = exports.D_BasicListItem = exports.D_BasicList = exports.D_BasicFormGroup = exports.D_BasicChatListItem = exports.D_BasicButtonGroup = exports.D_AdminListItem = exports.D_AdminListHeader = exports.D_AdminList = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WHContainersBox = exports.LayoutWH = exports.WFContainersBox = void 0;
5
+ exports.M_DatePicker = exports.M_ContextMenuItem = exports.M_ContextMenu = exports.M_Chip = exports.M_Checkbox = exports.M_ChatList = exports.M_ChatBubbleListItem = exports.M_CardList = exports.M_Card = exports.M_BoxItem = exports.M_BodyTextGroup = exports.M_BlogTextField = exports.M_BasicListItem = exports.M_BasicList = exports.M_BasicFormGroup = exports.M_BasicChatListItem = exports.M_BasicButtonGroup = exports.MSContainersBox = exports.MSNavigationContainer = exports.LayoutMS = exports.MPContainersBox = exports.MPTabContainer = exports.MPNavigationContainer = exports.LayoutMP = exports.MMContainersBox = exports.MMNavigationContainer = exports.LayoutMM = exports.MFContainersBox = exports.LayoutMF = exports.D_SectionSheet = exports.D_DesktopTutorialModal = exports.D_DesktopHeadlessModal = exports.D_DesktopBasicModalWithTab = exports.D_DesktopBasicModal = exports.D_ContentSheet = exports.D_AnnotationSheet = exports.D_Calendar = exports.D_UserDesktopSideTab = exports.D_UserDesktopTabBar = exports.D_UserDesktopNavBar = exports.D_UploadTextButton = exports.D_UploadMainButton = exports.D_UploadIconButton = exports.D_PriceTextLabel = exports.D_TextLabel = exports.D_TextField = exports.D_PriceTextField = exports.D_TextButton = exports.D_StatusBlock = exports.D_Snackbar = void 0;
6
+ exports.ToolBar = exports.BulkActionBar = exports.AdminListItem = exports.AdminListHeader = exports.AdminList = exports.DynamicLayout = exports.M_SectionSheet = exports.M_MobileBasicModal = exports.M_ContentSheet = exports.M_AnnotationSheet = exports.M_UploadTextButton = exports.M_UploadMainButton = exports.M_UploadIconButton = exports.M_PriceTextLabel = exports.M_TextLabel = exports.M_TextField = exports.M_PriceTextField = exports.M_TextButton = exports.M_StatusBlock = exports.M_Snackbar = exports.M_Slider = exports.M_Select = exports.M_SegmentedButtonGroup = exports.M_RichTextEditor = exports.M_ReactionButton = exports.M_Radio = exports.M_MobileTabBar = exports.M_MobileHeaderBar = exports.M_MobileAlertDialog = exports.M_MainButton = exports.M_LottieReactionButton = exports.M_ImageSlide = exports.M_IconButton = exports.M_HorizontalFormGroup = exports.M_FloatingActionButton = exports.M_Dropdown = void 0;
7
7
  /* eslint-disable import/order */
8
8
  /* eslint-disable import/first */
9
9
  // common
@@ -114,6 +114,7 @@ Object.defineProperty(exports, "D_MainButton", { enumerable: true, get: function
114
114
  Object.defineProperty(exports, "D_PageTitleTextGroup", { enumerable: true, get: function () { return desktop_1.D_PageTitleTextGroup; } });
115
115
  Object.defineProperty(exports, "D_Radio", { enumerable: true, get: function () { return desktop_1.D_Radio; } });
116
116
  Object.defineProperty(exports, "D_ReactionButton", { enumerable: true, get: function () { return desktop_1.D_ReactionButton; } });
117
+ Object.defineProperty(exports, "D_RichTextEditor", { enumerable: true, get: function () { return desktop_1.D_RichTextEditor; } });
117
118
  Object.defineProperty(exports, "D_SegmentedButtonGroup", { enumerable: true, get: function () { return desktop_1.D_SegmentedButtonGroup; } });
118
119
  Object.defineProperty(exports, "D_Select", { enumerable: true, get: function () { return desktop_1.D_Select; } });
119
120
  Object.defineProperty(exports, "D_Slider", { enumerable: true, get: function () { return desktop_1.D_Slider; } });
@@ -181,6 +182,7 @@ Object.defineProperty(exports, "M_MobileHeaderBar", { enumerable: true, get: fun
181
182
  Object.defineProperty(exports, "M_MobileTabBar", { enumerable: true, get: function () { return mobile_1.M_MobileTabBar; } });
182
183
  Object.defineProperty(exports, "M_Radio", { enumerable: true, get: function () { return mobile_1.M_Radio; } });
183
184
  Object.defineProperty(exports, "M_ReactionButton", { enumerable: true, get: function () { return mobile_1.M_ReactionButton; } });
185
+ Object.defineProperty(exports, "M_RichTextEditor", { enumerable: true, get: function () { return mobile_1.M_RichTextEditor; } });
184
186
  Object.defineProperty(exports, "M_SegmentedButtonGroup", { enumerable: true, get: function () { return mobile_1.M_SegmentedButtonGroup; } });
185
187
  Object.defineProperty(exports, "M_Select", { enumerable: true, get: function () { return mobile_1.M_Select; } });
186
188
  Object.defineProperty(exports, "M_Slider", { enumerable: true, get: function () { return mobile_1.M_Slider; } });
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "All day",
38
38
  "str_calendar_schedule_more": "{{count}} more",
39
39
  "str_calendar_today": "Today",
40
- "calendar_month_1": "January",
41
- "calendar_month_2": "February",
42
- "calendar_month_3": "March",
43
- "calendar_month_4": "April",
44
- "calendar_month_5": "May",
45
- "calendar_month_6": "June",
46
- "calendar_month_7": "July",
47
- "calendar_month_8": "August",
48
- "calendar_month_9": "September",
49
- "calendar_month_10": "October",
50
- "calendar_month_11": "November",
51
- "calendar_month_12": "December",
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",
52
52
  "str_fm_datetime_am": "{{hour}} AM",
53
53
  "str_fm_datetime_pm": "{{hour}} PM",
54
54
  "str_fm_am": "AM",
@@ -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
- "calendar_month_1": "Ene",
41
- "calendar_month_2": "Feb",
42
- "calendar_month_3": "Mar",
43
- "calendar_month_4": "Abr",
44
- "calendar_month_5": "May",
45
- "calendar_month_6": "Jun",
46
- "calendar_month_7": "Jul",
47
- "calendar_month_8": "Ago",
48
- "calendar_month_9": "Sep",
49
- "calendar_month_10": "Oct",
50
- "calendar_month_11": "Nov",
51
- "calendar_month_12": "Dic",
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",
52
52
  "str_fm_datetime_am": "{{hour}} AM",
53
53
  "str_fm_datetime_pm": "{{hour}} PM",
54
54
  "str_fm_am": "AM",
@@ -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
- "calendar_month_1": "Ene",
41
- "calendar_month_2": "Peb",
42
- "calendar_month_3": "Mar",
43
- "calendar_month_4": "Abr",
44
- "calendar_month_5": "May",
45
- "calendar_month_6": "Hun",
46
- "calendar_month_7": "Hul",
47
- "calendar_month_8": "Ago",
48
- "calendar_month_9": "Set",
49
- "calendar_month_10": "Okt",
50
- "calendar_month_11": "Nob",
51
- "calendar_month_12": "Dis",
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",
52
52
  "str_fm_datetime_am": "{{hour}} NU",
53
53
  "str_fm_datetime_pm": "{{hour}} NH",
54
54
  "str_fm_am": "NU",
@@ -38,18 +38,18 @@ declare const locale: {
38
38
  str_calendar_all_day: string;
39
39
  str_calendar_schedule_more: string;
40
40
  str_calendar_today: string;
41
- calendar_month_1: string;
42
- calendar_month_2: string;
43
- calendar_month_3: string;
44
- calendar_month_4: string;
45
- calendar_month_5: string;
46
- calendar_month_6: string;
47
- calendar_month_7: string;
48
- calendar_month_8: string;
49
- calendar_month_9: string;
50
- calendar_month_10: string;
51
- calendar_month_11: string;
52
- calendar_month_12: string;
41
+ str_month_january: string;
42
+ str_month_february: string;
43
+ str_month_march: string;
44
+ str_month_april: string;
45
+ str_month_may: string;
46
+ str_month_june: string;
47
+ str_month_july: string;
48
+ str_month_august: string;
49
+ str_month_september: string;
50
+ str_month_october: string;
51
+ str_month_november: string;
52
+ str_month_december: string;
53
53
  str_fm_datetime_am: string;
54
54
  str_fm_datetime_pm: string;
55
55
  str_fm_am: string;
@@ -137,18 +137,18 @@ declare const locale: {
137
137
  str_calendar_all_day: string;
138
138
  str_calendar_schedule_more: string;
139
139
  str_calendar_today: string;
140
- calendar_month_1: string;
141
- calendar_month_2: string;
142
- calendar_month_3: string;
143
- calendar_month_4: string;
144
- calendar_month_5: string;
145
- calendar_month_6: string;
146
- calendar_month_7: string;
147
- calendar_month_8: string;
148
- calendar_month_9: string;
149
- calendar_month_10: string;
150
- calendar_month_11: string;
151
- calendar_month_12: string;
140
+ str_month_january: string;
141
+ str_month_february: string;
142
+ str_month_march: string;
143
+ str_month_april: string;
144
+ str_month_may: string;
145
+ str_month_june: string;
146
+ str_month_july: string;
147
+ str_month_august: string;
148
+ str_month_september: string;
149
+ str_month_october: string;
150
+ str_month_november: string;
151
+ str_month_december: string;
152
152
  str_fm_datetime_am: string;
153
153
  str_fm_datetime_pm: string;
154
154
  str_fm_am: string;
@@ -235,18 +235,18 @@ declare const locale: {
235
235
  str_calendar_all_day: string;
236
236
  str_calendar_schedule_more: string;
237
237
  str_calendar_today: string;
238
- calendar_month_1: string;
239
- calendar_month_2: string;
240
- calendar_month_3: string;
241
- calendar_month_4: string;
242
- calendar_month_5: string;
243
- calendar_month_6: string;
244
- calendar_month_7: string;
245
- calendar_month_8: string;
246
- calendar_month_9: string;
247
- calendar_month_10: string;
248
- calendar_month_11: string;
249
- calendar_month_12: string;
238
+ str_month_january: string;
239
+ str_month_february: string;
240
+ str_month_march: string;
241
+ str_month_april: string;
242
+ str_month_may: string;
243
+ str_month_june: string;
244
+ str_month_july: string;
245
+ str_month_august: string;
246
+ str_month_september: string;
247
+ str_month_october: string;
248
+ str_month_november: string;
249
+ str_month_december: string;
250
250
  str_fm_datetime_am: string;
251
251
  str_fm_datetime_pm: string;
252
252
  str_fm_am: string;
@@ -333,18 +333,18 @@ declare const locale: {
333
333
  str_calendar_all_day: string;
334
334
  str_calendar_schedule_more: string;
335
335
  str_calendar_today: string;
336
- calendar_month_1: string;
337
- calendar_month_2: string;
338
- calendar_month_3: string;
339
- calendar_month_4: string;
340
- calendar_month_5: string;
341
- calendar_month_6: string;
342
- calendar_month_7: string;
343
- calendar_month_8: string;
344
- calendar_month_9: string;
345
- calendar_month_10: string;
346
- calendar_month_11: string;
347
- calendar_month_12: string;
336
+ str_month_january: string;
337
+ str_month_february: string;
338
+ str_month_march: string;
339
+ str_month_april: string;
340
+ str_month_may: string;
341
+ str_month_june: string;
342
+ str_month_july: string;
343
+ str_month_august: string;
344
+ str_month_september: string;
345
+ str_month_october: string;
346
+ str_month_november: string;
347
+ str_month_december: string;
348
348
  str_fm_datetime_am: string;
349
349
  str_fm_datetime_pm: string;
350
350
  str_fm_am: string;
@@ -431,18 +431,18 @@ declare const locale: {
431
431
  str_calendar_all_day: string;
432
432
  str_calendar_schedule_more: string;
433
433
  str_calendar_today: string;
434
- calendar_month_1: string;
435
- calendar_month_2: string;
436
- calendar_month_3: string;
437
- calendar_month_4: string;
438
- calendar_month_5: string;
439
- calendar_month_6: string;
440
- calendar_month_7: string;
441
- calendar_month_8: string;
442
- calendar_month_9: string;
443
- calendar_month_10: string;
444
- calendar_month_11: string;
445
- calendar_month_12: string;
434
+ str_month_january: string;
435
+ str_month_february: string;
436
+ str_month_march: string;
437
+ str_month_april: string;
438
+ str_month_may: string;
439
+ str_month_june: string;
440
+ str_month_july: string;
441
+ str_month_august: string;
442
+ str_month_september: string;
443
+ str_month_october: string;
444
+ str_month_november: string;
445
+ str_month_december: string;
446
446
  str_fm_datetime_am: string;
447
447
  str_fm_datetime_pm: string;
448
448
  str_fm_am: string;
@@ -529,18 +529,18 @@ declare const locale: {
529
529
  str_calendar_all_day: string;
530
530
  str_calendar_schedule_more: string;
531
531
  str_calendar_today: string;
532
- calendar_month_1: string;
533
- calendar_month_2: string;
534
- calendar_month_3: string;
535
- calendar_month_4: string;
536
- calendar_month_5: string;
537
- calendar_month_6: string;
538
- calendar_month_7: string;
539
- calendar_month_8: string;
540
- calendar_month_9: string;
541
- calendar_month_10: string;
542
- calendar_month_11: string;
543
- calendar_month_12: string;
532
+ str_month_january: string;
533
+ str_month_february: string;
534
+ str_month_march: string;
535
+ str_month_april: string;
536
+ str_month_may: string;
537
+ str_month_june: string;
538
+ str_month_july: string;
539
+ str_month_august: string;
540
+ str_month_september: string;
541
+ str_month_october: string;
542
+ str_month_november: string;
543
+ str_month_december: string;
544
544
  str_fm_datetime_am: string;
545
545
  str_fm_datetime_pm: string;
546
546
  str_fm_am: string;
@@ -627,18 +627,18 @@ declare const locale: {
627
627
  str_calendar_all_day: string;
628
628
  str_calendar_schedule_more: string;
629
629
  str_calendar_today: string;
630
- calendar_month_1: string;
631
- calendar_month_2: string;
632
- calendar_month_3: string;
633
- calendar_month_4: string;
634
- calendar_month_5: string;
635
- calendar_month_6: string;
636
- calendar_month_7: string;
637
- calendar_month_8: string;
638
- calendar_month_9: string;
639
- calendar_month_10: string;
640
- calendar_month_11: string;
641
- calendar_month_12: string;
630
+ str_month_january: string;
631
+ str_month_february: string;
632
+ str_month_march: string;
633
+ str_month_april: string;
634
+ str_month_may: string;
635
+ str_month_june: string;
636
+ str_month_july: string;
637
+ str_month_august: string;
638
+ str_month_september: string;
639
+ str_month_october: string;
640
+ str_month_november: string;
641
+ str_month_december: string;
642
642
  str_fm_datetime_am: string;
643
643
  str_fm_datetime_pm: string;
644
644
  str_fm_am: string;
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "終日",
38
38
  "str_calendar_schedule_more": "{{count}}件以上",
39
39
  "str_calendar_today": "今日",
40
- "calendar_month_1": "1月",
41
- "calendar_month_2": "2月",
42
- "calendar_month_3": "3月",
43
- "calendar_month_4": "4月",
44
- "calendar_month_5": "5月",
45
- "calendar_month_6": "6月",
46
- "calendar_month_7": "7月",
47
- "calendar_month_8": "8月",
48
- "calendar_month_9": "9月",
49
- "calendar_month_10": "10月",
50
- "calendar_month_11": "11月",
51
- "calendar_month_12": "12月",
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",
52
52
  "str_fm_datetime_am": "午前{{hour}}時",
53
53
  "str_fm_datetime_pm": "午後{{hour}}時",
54
54
  "str_fm_am": "午前",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "종일",
38
38
  "str_calendar_schedule_more": "{{count}}개 더보기",
39
39
  "str_calendar_today": "오늘",
40
- "calendar_month_1": "1월",
41
- "calendar_month_2": "2월",
42
- "calendar_month_3": "3월",
43
- "calendar_month_4": "4월",
44
- "calendar_month_5": "5월",
45
- "calendar_month_6": "6월",
46
- "calendar_month_7": "7월",
47
- "calendar_month_8": "8월",
48
- "calendar_month_9": "9월",
49
- "calendar_month_10": "10월",
50
- "calendar_month_11": "11월",
51
- "calendar_month_12": "12월",
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": "오전",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "全天",
38
38
  "str_calendar_schedule_more": "{{count}} 更多",
39
39
  "str_calendar_today": "今天",
40
- "calendar_month_1": "1月",
41
- "calendar_month_2": "2月",
42
- "calendar_month_3": "3月",
43
- "calendar_month_4": "4月",
44
- "calendar_month_5": "5月",
45
- "calendar_month_6": "6月",
46
- "calendar_month_7": "7月",
47
- "calendar_month_8": "8月",
48
- "calendar_month_9": "9月",
49
- "calendar_month_10": "10月",
50
- "calendar_month_11": "11月",
51
- "calendar_month_12": "12月",
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",
52
52
  "str_fm_datetime_am": "上午{{hour}}时",
53
53
  "str_fm_datetime_pm": "下午{{hour}}时",
54
54
  "str_fm_am": "上午",
@@ -37,18 +37,18 @@
37
37
  "str_calendar_all_day": "全天",
38
38
  "str_calendar_schedule_more": "{{count}} 更多",
39
39
  "str_calendar_today": "今天",
40
- "calendar_month_1": "1月",
41
- "calendar_month_2": "2月",
42
- "calendar_month_3": "3月",
43
- "calendar_month_4": "4月",
44
- "calendar_month_5": "5月",
45
- "calendar_month_6": "6月",
46
- "calendar_month_7": "7月",
47
- "calendar_month_8": "8月",
48
- "calendar_month_9": "9月",
49
- "calendar_month_10": "10月",
50
- "calendar_month_11": "11月",
51
- "calendar_month_12": "12月",
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",
52
52
  "str_fm_datetime_am": "上午{{hour}}時",
53
53
  "str_fm_datetime_pm": "下午{{hour}}時",
54
54
  "str_fm_am": "上午",
@@ -38,6 +38,7 @@ var TextButton_1 = require("../TextButton");
38
38
  var TextLabel_1 = require("../TextLabel");
39
39
  var CalendarContext_1 = require("./CalendarContext");
40
40
  var calendarUtils_1 = require("./calendarUtils");
41
+ var constants_1 = require("./constants");
41
42
  var DailyView_1 = require("./DailyView");
42
43
  var MonthlyView_1 = require("./MonthlyView");
43
44
  var WeeklyView_1 = require("./WeeklyView");
@@ -45,17 +46,17 @@ var YearlyView_1 = require("./YearlyView");
45
46
  var Calendar = function (_a) {
46
47
  var _b;
47
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;
48
- var t = (0, react_i18next_1.useTranslation)().t;
49
- var _j = (0, react_1.useState)(defaultViewType), currentViewType = _j[0], setCurrentViewType = _j[1];
50
- var _k = (0, react_1.useState)(new Date()), selectedDate = _k[0], setSelectedDate = _k[1];
51
- var _l = (0, react_1.useState)(null), dragStartDate = _l[0], setDragStartDate = _l[1];
52
- var _m = (0, react_1.useState)(null), dragEndDate = _m[0], setDragEndDate = _m[1];
53
- var _o = (0, react_1.useState)(false), isDragging = _o[0], setIsDragging = _o[1];
54
- var _p = (0, react_1.useState)(null), draggedSchedule = _p[0], setDraggedSchedule = _p[1];
55
- var _q = (0, react_1.useState)(null), isDragOverDate = _q[0], setIsDragOverDate = _q[1];
56
- var _r = (0, react_1.useState)([]), selectedSchedules = _r[0], setSelectedSchedules = _r[1];
57
- var _s = (0, react_1.useState)([]), selectedDates = _s[0], setSelectedDates = _s[1];
58
- var _t = (0, react_1.useState)(null), lastSelectedDate = _t[0], setLastSelectedDate = _t[1];
49
+ var _j = (0, react_i18next_1.useTranslation)('translation'), t = _j.t, i18n = _j.i18n;
50
+ var _k = (0, react_1.useState)(defaultViewType), currentViewType = _k[0], setCurrentViewType = _k[1];
51
+ var _l = (0, react_1.useState)(new Date()), selectedDate = _l[0], setSelectedDate = _l[1];
52
+ var _m = (0, react_1.useState)(null), dragStartDate = _m[0], setDragStartDate = _m[1];
53
+ var _o = (0, react_1.useState)(null), dragEndDate = _o[0], setDragEndDate = _o[1];
54
+ var _p = (0, react_1.useState)(false), isDragging = _p[0], setIsDragging = _p[1];
55
+ var _q = (0, react_1.useState)(null), draggedSchedule = _q[0], setDraggedSchedule = _q[1];
56
+ var _r = (0, react_1.useState)(null), isDragOverDate = _r[0], setIsDragOverDate = _r[1];
57
+ var _s = (0, react_1.useState)([]), selectedSchedules = _s[0], setSelectedSchedules = _s[1];
58
+ var _t = (0, react_1.useState)([]), selectedDates = _t[0], setSelectedDates = _t[1];
59
+ var _u = (0, react_1.useState)(null), lastSelectedDate = _u[0], setLastSelectedDate = _u[1];
59
60
  // 오늘 날짜인지 확인
60
61
  var today = new Date();
61
62
  var isToday = function (date) { return dateHelper_1.DateHelper.isSameDay(date, today); };
@@ -63,7 +64,7 @@ var Calendar = function (_a) {
63
64
  // 과거 날짜인지 확인
64
65
  var isPastDate = (0, react_1.useCallback)(function (date) { return dateHelper_1.DateHelper.isBefore(date, today) && !dateHelper_1.DateHelper.isSameDay(date, today); }, [today]);
65
66
  // 뷰 타입에 따른 시작일과 종료일 계산
66
- var _u = (0, calendarUtils_1.calculateDateRange)(currentViewType, selectedDate), startDate = _u.startDate, endDate = _u.endDate;
67
+ var _v = (0, calendarUtils_1.calculateDateRange)(currentViewType, selectedDate), startDate = _v.startDate, endDate = _v.endDate;
67
68
  // 뷰 타입 변경 처리
68
69
  var handleViewTypeChange = (0, react_1.useCallback)(function (option) {
69
70
  var newViewType = option.value;
@@ -358,6 +359,48 @@ var Calendar = function (_a) {
358
359
  }
359
360
  });
360
361
  }, [onActionDispatch, calendarUtils_1.calculateDateRange]);
362
+ var getMonthStringKey = function (monthNumber) {
363
+ var monthKeys = [
364
+ 'str_month_january',
365
+ 'str_month_february',
366
+ 'str_month_march',
367
+ 'str_month_april',
368
+ 'str_month_may',
369
+ 'str_month_june',
370
+ 'str_month_july',
371
+ 'str_month_august',
372
+ 'str_month_september',
373
+ 'str_month_october',
374
+ 'str_month_november',
375
+ 'str_month_december'
376
+ ];
377
+ return monthKeys[monthNumber - 1];
378
+ };
379
+ var getHeaderText = function (viewType, selectedDate) {
380
+ var year = selectedDate.getFullYear();
381
+ var monthNumber = selectedDate.getMonth() + 1;
382
+ var day = selectedDate.getDate();
383
+ var locale = (0, constants_1.getLocaleFromLang)(i18n.language);
384
+ if (viewType === 'str_fm_day') {
385
+ return t('str_calendar_daily_header', { year: year, month: monthNumber, day: day });
386
+ }
387
+ if (viewType === 'str_fm_week') {
388
+ return t('str_calendar_weekly_header', {
389
+ year: year,
390
+ month: locale === 'en-US' ? t(getMonthStringKey(monthNumber)) : monthNumber
391
+ });
392
+ }
393
+ if (viewType === 'str_fm_month') {
394
+ return t('str_calendar_monthly_header', {
395
+ year: year,
396
+ month: locale === 'en-US' ? t(getMonthStringKey(monthNumber)) : monthNumber
397
+ });
398
+ }
399
+ if (viewType === 'str_fm_year') {
400
+ return t('str_calendar_yearly_header', { year: year });
401
+ }
402
+ return '';
403
+ };
361
404
  // 뷰 타입에 따른 캘린더 콘텐츠 렌더링
362
405
  var renderCalendarContent = function () {
363
406
  switch (currentViewType) {
@@ -383,7 +426,7 @@ var Calendar = function (_a) {
383
426
  // 유틸리티 함수
384
427
  getSchedulesForDate: getSchedulesForDate, isToday: isToday, isPastDate: isPastDate, getDayTextByDate: getDayTextByDate,
385
428
  // 상태값
386
- isDragOverDate: isDragOverDate, selectedDate: selectedDate, displayAllDayScheduleMode: displayAllDayScheduleMode }, { children: (0, jsx_runtime_1.jsxs)(S_CalendarContainer, __assign({ "x-pds-name": "Calendar", "x-pds-element-type": "component", "x-pds-device-type": "desktop", onKeyDown: handleKeyDown, tabIndex: 0 }, { children: [(0, jsx_runtime_1.jsxs)(S_CalendarHeader, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: "headingBold", textAlign: "center", text: (0, calendarUtils_1.getHeaderText)(currentViewType, selectedDate, t) }), (0, jsx_runtime_1.jsxs)(S_LeftContainer, { children: [(0, jsx_runtime_1.jsx)(S_NavigationButtonContainer, __assign({ onClick: function () { return navigateDate('prev'); } }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_arrow_left", baseSize: "small", iconSize: 16, baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: "ui_cpnt_icon_sys_grey_01" }) })), todayBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(TextButton_1.TextButton, { text: t('str_calendar_today'), size: "small", colorTheme: "grey_01", onClick: handleTodayClick })), (0, jsx_runtime_1.jsx)(S_NavigationButtonContainer, __assign({ onClick: function () { return navigateDate('next'); } }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_arrow_right", baseSize: "small", iconSize: 16, baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: "ui_cpnt_icon_sys_grey_01" }) })), (0, jsx_runtime_1.jsx)(Dropdown_1.Dropdown, { size: "small", valueArray: viewTypeOptions, value: viewTypeOptions.find(function (option) { return option.value === currentViewType; }), onChange: handleViewTypeChange, customWidth: "120px" })] })] }), (0, jsx_runtime_1.jsx)(S_CalendarContent, { children: renderCalendarContent() })] })) })));
429
+ isDragOverDate: isDragOverDate, selectedDate: selectedDate, displayAllDayScheduleMode: displayAllDayScheduleMode }, { children: (0, jsx_runtime_1.jsxs)(S_CalendarContainer, __assign({ "x-pds-name": "Calendar", "x-pds-element-type": "component", "x-pds-device-type": "desktop", onKeyDown: handleKeyDown, tabIndex: 0 }, { children: [(0, jsx_runtime_1.jsxs)(S_CalendarHeader, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: "headingBold", textAlign: "center", text: getHeaderText(currentViewType, selectedDate) }), (0, jsx_runtime_1.jsxs)(S_LeftContainer, { children: [(0, jsx_runtime_1.jsx)(S_NavigationButtonContainer, __assign({ onClick: function () { return navigateDate('prev'); } }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_arrow_left", baseSize: "small", iconSize: 16, baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: "ui_cpnt_icon_sys_grey_01" }) })), todayBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(TextButton_1.TextButton, { text: t('str_calendar_today'), size: "small", colorTheme: "grey_01", onClick: handleTodayClick })), (0, jsx_runtime_1.jsx)(S_NavigationButtonContainer, __assign({ onClick: function () { return navigateDate('next'); } }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_arrow_right", baseSize: "small", iconSize: 16, baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: "ui_cpnt_icon_sys_grey_01" }) })), (0, jsx_runtime_1.jsx)(Dropdown_1.Dropdown, { size: "small", valueArray: viewTypeOptions, value: viewTypeOptions.find(function (option) { return option.value === currentViewType; }), onChange: handleViewTypeChange, customWidth: "120px" })] })] }), (0, jsx_runtime_1.jsx)(S_CalendarContent, { children: renderCalendarContent() })] })) })));
387
430
  };
388
431
  var S_CalendarContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 400px;\n outline: 0px;\n overflow: hidden;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 400px;\n outline: 0px;\n overflow: hidden;\n width: 100%;\n"])));
389
432
  var S_CalendarHeader = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n gap: 16px;\n padding: 0px 0px 8px 0px;\n"], ["\n align-items: center;\n display: flex;\n gap: 16px;\n padding: 0px 0px 8px 0px;\n"])));
@@ -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)().i18n;
19
+ var i18n = (0, react_i18next_1.useTranslation)('translation').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)().i18n;
54
+ var i18n = (0, react_i18next_1.useTranslation)('translation').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)().t;
45
+ var t = (0, react_i18next_1.useTranslation)('translation').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)(), i18n = _c.i18n, t = _c.t;
40
+ var _c = (0, react_i18next_1.useTranslation)('translation'), 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)(), t = _b.t, i18n = _b.i18n;
55
+ var _b = (0, react_i18next_1.useTranslation)('translation'), 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)().t;
28
+ var t = (0, react_i18next_1.useTranslation)('translation').t;
29
29
  var currentYear = selectedDate.getFullYear();
30
30
  var orderedDayTexts = (function () {
31
31
  var weekDates = [];
@@ -1,5 +1,4 @@
1
1
  import type { CalendarViewType } from './types';
2
- import type { TFunction } from 'i18next';
3
2
  /**
4
3
  * 일정이 종일 일정인지 확인하는 함수
5
4
  * @param startDate 시작 날짜
@@ -11,14 +10,4 @@ export declare const calculateDateRange: (viewType: CalendarViewType, baseDate:
11
10
  startDate: Date;
12
11
  endDate: Date;
13
12
  };
14
- /**
15
- * 뷰 타입에 따른 헤더 텍스트를 반환하는 함수
16
- * @param viewType 캘린더 뷰 타입 (DAILY, WEEKLY, MONTHLY, YEARLY)
17
- * @param selectedDate 선택된 날짜
18
- * @param t 다국어 변환 함수 (i18next)
19
- * @param monthNames 월 이름 배열 (예: ['1월', '2월', ...])
20
- * @param getDayTextByDate 날짜에 따른 요일 텍스트 반환 함수
21
- * @returns 헤더에 표시할 텍스트
22
- */
23
- export declare const getHeaderText: (viewType: CalendarViewType, selectedDate: Date, t: TFunction) => string;
24
13
  export declare const toUTC: (date: Date | null | undefined) => string | null;
@@ -1,12 +1,7 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.toUTC = exports.getHeaderText = exports.calculateDateRange = exports.calculateIsAllDay = void 0;
7
- var i18next_1 = __importDefault(require("i18next"));
3
+ exports.toUTC = exports.calculateDateRange = exports.calculateIsAllDay = void 0;
8
4
  var dateHelper_1 = require("../../../common/utils/dateHelper");
9
- var constants_1 = require("./constants");
10
5
  /**
11
6
  * 일정이 종일 일정인지 확인하는 함수
12
7
  * @param startDate 시작 날짜
@@ -55,39 +50,6 @@ var calculateDateRange = function (viewType, baseDate) {
55
50
  }
56
51
  };
57
52
  exports.calculateDateRange = calculateDateRange;
58
- /**
59
- * 뷰 타입에 따른 헤더 텍스트를 반환하는 함수
60
- * @param viewType 캘린더 뷰 타입 (DAILY, WEEKLY, MONTHLY, YEARLY)
61
- * @param selectedDate 선택된 날짜
62
- * @param t 다국어 변환 함수 (i18next)
63
- * @param monthNames 월 이름 배열 (예: ['1월', '2월', ...])
64
- * @param getDayTextByDate 날짜에 따른 요일 텍스트 반환 함수
65
- * @returns 헤더에 표시할 텍스트
66
- */
67
- var getHeaderText = function (viewType, selectedDate, t) {
68
- var year = selectedDate.getFullYear();
69
- var monthNumber = selectedDate.getMonth() + 1;
70
- var day = selectedDate.getDate();
71
- var locale = (0, constants_1.getLocaleFromLang)(i18next_1.default.language);
72
- // For English locale, use month names instead of numbers for WEEKLY and MONTHLY views
73
- var monthValue = locale === 'en-US' && (viewType === 'str_fm_week' || viewType === 'str_fm_month')
74
- ? t("calendar_month_".concat(monthNumber))
75
- : monthNumber;
76
- if (viewType === 'str_fm_day') {
77
- return t('str_calendar_daily_header', { year: year, month: monthNumber, day: day });
78
- }
79
- if (viewType === 'str_fm_week') {
80
- return t('str_calendar_weekly_header', { year: year, month: monthValue });
81
- }
82
- if (viewType === 'str_fm_month') {
83
- return t('str_calendar_monthly_header', { year: year, month: monthValue });
84
- }
85
- if (viewType === 'str_fm_year') {
86
- return t('str_calendar_yearly_header', { year: year });
87
- }
88
- return '';
89
- };
90
- exports.getHeaderText = getHeaderText;
91
53
  // Date를 UTC 시간으로 변환
92
54
  var toUTC = function (date) {
93
55
  if (!(date instanceof Date))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.218",
3
+ "version": "2.2.220",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.218]
2
+ ## [v2.2.220]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PDS-1338] RichTextEditor 컴포넌트 생성
6
+ * [FIX] 캘린더 스트링키 변경