pds-dev-kit-web 2.2.166 → 2.2.168

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.
@@ -2,7 +2,6 @@ export declare class DateHelper {
2
2
  static padZero(num: number): string;
3
3
  static formatDate(date: Date): string;
4
4
  static parseDate(dateStr: string): Date;
5
- static toISOString(date: Date): string;
6
5
  static getToday(): string;
7
6
  static isSameDay(a: string | Date, b: string | Date): boolean;
8
7
  static isBefore(a: Date, b: Date): boolean;
@@ -17,40 +17,24 @@ var DateHelper = /** @class */ (function () {
17
17
  return "".concat(date.getFullYear(), "-").concat(this.padZero(date.getMonth() + 1), "-").concat(this.padZero(date.getDate()));
18
18
  };
19
19
  /*
20
- * 문자열을 Date 객체로 파싱 (기본적으로 KST 0시로 설정)
20
+ * 문자열을 Date 객체로 파싱
21
21
  */
22
22
  DateHelper.parseDate = function (dateStr) {
23
- var date = new Date(dateStr);
24
- if (isNaN(date.getTime())) {
25
- // 시간이 없을 시 YYYY-MM-DD로 변환
26
- var _a = dateStr.split('-').map(Number), y = _a[0], m = _a[1], d = _a[2];
27
- return new Date(y, m - 1, d);
28
- }
29
- // KST로 변환한 후, 0시로 정렬
30
- var kstOffset = 9 * 60; // 9시간
31
- var kst = new Date(date.getTime() + (date.getTimezoneOffset() + kstOffset) * 60 * 1000);
32
- return new Date(kst.getFullYear(), kst.getMonth(), kst.getDate());
33
- };
34
- /*
35
- * Date 객체를 ISO 문자열로 반환 (KST 기준 0시로 세팅)
36
- */
37
- DateHelper.toISOString = function (date) {
38
- var kst = new Date(date.getTime() - (date.getTimezoneOffset() + 9 * 60) * 60 * 1000);
39
- return new Date(kst.getFullYear(), kst.getMonth(), kst.getDate()).toISOString();
23
+ var _a = dateStr.split('-').map(Number), y = _a[0], m = _a[1], d = _a[2];
24
+ return new Date(y, m - 1, d);
40
25
  };
41
26
  /*
42
27
  * 오늘 날짜를 'YYYY-MM-DD' 형식으로 반환
43
28
  */
44
29
  DateHelper.getToday = function () {
45
- var now = new Date();
46
- return this.formatDate(now);
30
+ return this.formatDate(new Date());
47
31
  };
48
32
  /*
49
33
  * 두 날짜가 같은 날인지 비교 (string 또는 Date 입력 가능)
50
34
  */
51
35
  DateHelper.isSameDay = function (a, b) {
52
- var dateA = typeof a === 'string' ? new Date(a) : a;
53
- var dateB = typeof b === 'string' ? new Date(b) : b;
36
+ var dateA = typeof a === 'string' ? this.parseDate(a) : a;
37
+ var dateB = typeof b === 'string' ? this.parseDate(b) : b;
54
38
  return (dateA.getFullYear() === dateB.getFullYear() &&
55
39
  dateA.getMonth() === dateB.getMonth() &&
56
40
  dateA.getDate() === dateB.getDate());
@@ -123,24 +123,48 @@ function TextField(_a) {
123
123
  trigger(name);
124
124
  }
125
125
  var S_TextField = function () {
126
+ var deleteIconColor = 'ui_cpnt_button_icon_disabled';
127
+ switch (colorTheme) {
128
+ case 'dark': {
129
+ deleteIconColor = 'ui_cpnt_textfield_icon_darktheme_disabled';
130
+ break;
131
+ }
132
+ case 'transparent': {
133
+ deleteIconColor = 'ui_cpnt_textfield_icon_colortheme_transparent_disabled';
134
+ break;
135
+ }
136
+ }
126
137
  if (textLineType === 'multi') {
127
- return ((0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "multi", multiRows: multiRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }));
138
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "multi", multiRows: multiRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }), (0, jsx_runtime_1.jsxs)(S_RightBox_Multi, { children: [iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn2IconColorKey ||
139
+ (colorTheme &&
140
+ {
141
+ none: basicThemeIconColors[state],
142
+ dark: darkThemeIconColors[state],
143
+ transparent: transparentThemeIconColors[state]
144
+ }[colorTheme]), iconFillType: iBtn2IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn2 })), iBtn1IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn1IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn1IconColorKey ||
145
+ (colorTheme &&
146
+ {
147
+ none: basicThemeIconColors[state],
148
+ dark: darkThemeIconColors[state],
149
+ transparent: transparentThemeIconColors[state]
150
+ }[colorTheme]), iconFillType: iBtn1IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn1 }))] })] }));
128
151
  }
129
152
  if (textLineType === 'auto') {
130
- return ((0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "auto", autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }));
153
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "auto", autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }), (0, jsx_runtime_1.jsxs)(S_RightBox_Auto, { children: [iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn2IconColorKey ||
154
+ (colorTheme &&
155
+ {
156
+ none: basicThemeIconColors[state],
157
+ dark: darkThemeIconColors[state],
158
+ transparent: transparentThemeIconColors[state]
159
+ }[colorTheme]), iconFillType: iBtn2IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn2 })), iBtn1IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn1IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn1IconColorKey ||
160
+ (colorTheme &&
161
+ {
162
+ none: basicThemeIconColors[state],
163
+ dark: darkThemeIconColors[state],
164
+ transparent: transparentThemeIconColors[state]
165
+ }[colorTheme]), iconFillType: iBtn1IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn1 }))] })] }));
131
166
  }
132
167
  if (textLineType === 'single') {
133
- var deleteIconColor = 'ui_cpnt_button_icon_disabled';
134
- switch (colorTheme) {
135
- case 'dark': {
136
- deleteIconColor = 'ui_cpnt_textfield_icon_darktheme_disabled';
137
- break;
138
- }
139
- case 'transparent': {
140
- deleteIconColor = 'ui_cpnt_textfield_icon_colortheme_transparent_disabled';
141
- break;
142
- }
143
- }
144
168
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [prefixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: prefixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", singleLineMode: "use" }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" })] })), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: enterSubmitMode, textLineType: "single", inputType: inputType, inputMode: inputMode, state: state, colorTheme: colorTheme, min: min, max: max, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', fieldPaddingRight: size === 'large' || size === 'rlarge' ? 8 : undefined, deleteIconMode: deleteBtnMode, deleteIconSize: size === 'large' || size === 'rlarge' ? 20 : 16, deleteIconColor: deleteIconColor, isFocused: isFocused, autoComplete: autoComplete, stepperMode: inputType === 'number' && numberStepperMode === 'use' ? 'use' : 'none', stepperRightSpacing: size === 'large' || size === 'rlarge' ? 1 : -4, innerSpinButtonSize: size === 'small' ? 12 : 16, step: numberStep, suffixText: suffixText, suffixTextRightSpacingMode: size === 'large' || size === 'rlarge' ? 'use' : 'none', onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn2IconColorKey ||
145
169
  (colorTheme &&
146
170
  {
@@ -360,7 +384,9 @@ var S_TextFieldWrapper = styled_components_1.default.div(templateObject_19 || (t
360
384
  return customWidth && "width: ".concat(customWidth, ";");
361
385
  });
362
386
  var S_RightBox = styled_components_1.default.div(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
363
- var S_Error = styled_components_1.default.div(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"])), function (_a) {
387
+ var S_RightBox_Auto = styled_components_1.default.div(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n align-items: center;\n align-self: end;\n display: flex;\n"], ["\n align-items: center;\n align-self: end;\n display: flex;\n"])));
388
+ var S_RightBox_Multi = styled_components_1.default.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n align-items: center;\n align-self: end;\n display: flex;\n"], ["\n align-items: center;\n align-self: end;\n display: flex;\n"])));
389
+ var S_Error = styled_components_1.default.div(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"])), function (_a) {
364
390
  var theme = _a.theme, colorTheme = _a.colorTheme;
365
391
  switch (colorTheme) {
366
392
  case 'none': {
@@ -385,4 +411,4 @@ var S_Error = styled_components_1.default.div(templateObject_21 || (templateObje
385
411
  return theme.spacing.spacingA;
386
412
  });
387
413
  exports.default = TextField;
388
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21;
414
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23;
@@ -76,22 +76,22 @@ var DatePicker = function (_a) {
76
76
  var handleDateClick = function (target) {
77
77
  if (!onChange)
78
78
  return;
79
- var ISODate = dateHelper_1.DateHelper.toISOString(target);
79
+ var selectedDateStr = dateHelper_1.DateHelper.formatDate(target);
80
80
  if (type === 'single') {
81
- onChange(ISODate);
81
+ onChange(selectedDateStr);
82
82
  return;
83
83
  }
84
84
  if (!startDate || (startDate && endDate)) {
85
- onChange(ISODate, undefined);
85
+ onChange(selectedDateStr, undefined);
86
86
  return;
87
87
  }
88
88
  var parsedStartDate = dateHelper_1.DateHelper.parseDate(startDate);
89
89
  if (dateHelper_1.DateHelper.isBefore(target, parsedStartDate)) {
90
- onChange(ISODate, undefined);
90
+ onChange(selectedDateStr, undefined);
91
91
  return;
92
92
  }
93
- var startISO = dateHelper_1.DateHelper.toISOString(parsedStartDate);
94
- onChange(startISO, ISODate);
93
+ var startISO = dateHelper_1.DateHelper.formatDate(parsedStartDate);
94
+ onChange(startISO, selectedDateStr);
95
95
  };
96
96
  var handleQuickActionButtonClick = function () {
97
97
  var today = new Date();
@@ -123,24 +123,48 @@ function TextField(_a) {
123
123
  trigger(name);
124
124
  }
125
125
  var S_TextField = function () {
126
+ var deleteIconColor = 'ui_cpnt_button_icon_disabled';
127
+ switch (colorTheme) {
128
+ case 'dark': {
129
+ deleteIconColor = 'ui_cpnt_textfield_icon_darktheme_disabled';
130
+ break;
131
+ }
132
+ case 'transparent': {
133
+ deleteIconColor = 'ui_cpnt_textfield_icon_colortheme_transparent_disabled';
134
+ break;
135
+ }
136
+ }
126
137
  if (textLineType === 'multi') {
127
- return ((0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "multi", multiRows: multiRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }));
138
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "multi", multiRows: multiRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }), (0, jsx_runtime_1.jsxs)(S_RightBox_Multi, { children: [iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn2IconColorKey ||
139
+ (colorTheme &&
140
+ {
141
+ none: basicThemeIconColors[state],
142
+ dark: darkThemeIconColors[state],
143
+ transparent: transparentThemeIconColors[state]
144
+ }[colorTheme]), iconFillType: iBtn2IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn2 })), iBtn1IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn1IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn1IconColorKey ||
145
+ (colorTheme &&
146
+ {
147
+ none: basicThemeIconColors[state],
148
+ dark: darkThemeIconColors[state],
149
+ transparent: transparentThemeIconColors[state]
150
+ }[colorTheme]), iconFillType: iBtn1IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn1 }))] })] }));
128
151
  }
129
152
  if (textLineType === 'auto') {
130
- return ((0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "auto", autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }));
153
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, textLineType: "auto", autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, colorTheme: colorTheme, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', autoComplete: autoComplete, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }), (0, jsx_runtime_1.jsxs)(S_RightBox_Auto, { children: [iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn2IconColorKey ||
154
+ (colorTheme &&
155
+ {
156
+ none: basicThemeIconColors[state],
157
+ dark: darkThemeIconColors[state],
158
+ transparent: transparentThemeIconColors[state]
159
+ }[colorTheme]), iconFillType: iBtn2IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn2 })), iBtn1IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn1IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn1IconColorKey ||
160
+ (colorTheme &&
161
+ {
162
+ none: basicThemeIconColors[state],
163
+ dark: darkThemeIconColors[state],
164
+ transparent: transparentThemeIconColors[state]
165
+ }[colorTheme]), iconFillType: iBtn1IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn1 }))] })] }));
131
166
  }
132
167
  if (textLineType === 'single') {
133
- var deleteIconColor = 'ui_cpnt_button_icon_disabled';
134
- switch (colorTheme) {
135
- case 'dark': {
136
- deleteIconColor = 'ui_cpnt_textfield_icon_darktheme_disabled';
137
- break;
138
- }
139
- case 'transparent': {
140
- deleteIconColor = 'ui_cpnt_textfield_icon_colortheme_transparent_disabled';
141
- break;
142
- }
143
- }
144
168
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [prefixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: prefixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", singleLineMode: "use" }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" })] })), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: textAlign, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: enterSubmitMode, textLineType: "single", inputType: inputType, inputMode: inputMode, state: state, colorTheme: colorTheme, min: min, max: max, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', fieldPaddingRight: size === 'large' || size === 'rlarge' ? 8 : undefined, deleteIconMode: deleteBtnMode, deleteIconSize: size === 'large' || size === 'rlarge' ? 20 : 16, deleteIconColor: deleteIconColor, isFocused: isFocused, autoComplete: autoComplete, stepperMode: inputType === 'number' && numberStepperMode === 'use' ? 'use' : 'none', stepperRightSpacing: size === 'large' || size === 'rlarge' ? 1 : -4, innerSpinButtonSize: size === 'small' ? 12 : 16, step: numberStep, suffixText: suffixText, suffixTextRightSpacingMode: size === 'large' || size === 'rlarge' ? 'use' : 'none', onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: overrideIBtn2IconColorKey ||
145
169
  (colorTheme &&
146
170
  {
@@ -344,7 +368,9 @@ var S_TextFieldWrapper = styled_components_1.default.div(templateObject_18 || (t
344
368
  return customWidth && "width: ".concat(customWidth, ";");
345
369
  });
346
370
  var S_RightBox = styled_components_1.default.div(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
347
- var S_Error = styled_components_1.default.div(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"])), function (_a) {
371
+ var S_RightBox_Auto = styled_components_1.default.div(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n align-items: center;\n align-self: end;\n display: flex;\n"], ["\n align-items: center;\n align-self: end;\n display: flex;\n"])));
372
+ var S_RightBox_Multi = styled_components_1.default.div(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n align-items: center;\n align-self: end;\n display: flex;\n"], ["\n align-items: center;\n align-self: end;\n display: flex;\n"])));
373
+ var S_Error = styled_components_1.default.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n white-space: pre-wrap;\n"])), function (_a) {
348
374
  var theme = _a.theme, colorTheme = _a.colorTheme;
349
375
  switch (colorTheme) {
350
376
  case 'none': {
@@ -369,4 +395,4 @@ var S_Error = styled_components_1.default.div(templateObject_20 || (templateObje
369
395
  return theme.spacing.spacingA;
370
396
  });
371
397
  exports.default = TextField;
372
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20;
398
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.166",
3
+ "version": "2.2.168",
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.166]
2
+ ## [v2.2.168]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PDS-1298] 모바일 레이아웃 로딩 사이즈 조정
6
+ * [PDS-1301] Mobile DatePicker에서 시간 계산 로직 제거