@ehfuse/mui-form-controls 3.5.3 → 3.5.4
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.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +3 -3
- package/dist/property/PropertyText.d.ts +14 -0
- package/dist/property/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -67,12 +67,26 @@ export declare function parseDateText(raw: string): string | null;
|
|
|
67
67
|
export interface PropertyDateInputProps extends PropertyInputProps {
|
|
68
68
|
/** 달력의 빨간 날(공휴일). */
|
|
69
69
|
holidays?: Date[];
|
|
70
|
+
/**
|
|
71
|
+
* 값을 누르면 달력을 연다(기본 true — 날짜 전용 칸). false 면 오른쪽 아이콘으로만 연다 — 글을 자유롭게 적는 칸(PropertyTextDate)이
|
|
72
|
+
* 글을 고치려고 누를 때마다 달력이 덮지 않게.
|
|
73
|
+
*/
|
|
74
|
+
openOnClick?: boolean;
|
|
70
75
|
}
|
|
71
76
|
/** 날짜 칸(줄 없이 칸만). `form` + `name` 또는 `value` + `onCommit`. */
|
|
72
77
|
export declare const PropertyDateInput: {
|
|
73
78
|
(props: PropertyDateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
74
79
|
displayName: string;
|
|
75
80
|
};
|
|
81
|
+
/** 글 + 달력 칸(줄 없이 칸만). `form` + `name` 또는 `value` + `onCommit`. */
|
|
82
|
+
export declare const PropertyTextDateInput: {
|
|
83
|
+
(props: PropertyDateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
84
|
+
displayName: string;
|
|
85
|
+
};
|
|
86
|
+
/** 글 + 달력 속성 줄 — 자유롭게 적거나 오른쪽 아이콘으로 날짜를 고른다. */
|
|
87
|
+
export declare function PropertyTextDate({ icon, label, wide, full, rowStart, alignTop, rowSx, endAdornment, appearance, ...input }: PropertyTextProps & {
|
|
88
|
+
holidays?: Date[];
|
|
89
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
76
90
|
/** 날짜 속성 줄 — 달력에서 고르거나 YYYY-MM-DD(8자리 숫자도)로 친다. 꼴이 틀리면 저장하지 않고 되돌린다. */
|
|
77
91
|
export declare function PropertyDate({ icon, label, wide, full, rowStart, alignTop, rowSx, endAdornment, appearance, ...input }: PropertyTextProps & {
|
|
78
92
|
holidays?: Date[];
|
package/dist/property/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { PropertyRow, PropertyGrid, PropertyEmpty, PROPERTY_GRID_TWO_COLUMN_MIN,
|
|
|
11
11
|
export type { PropertyRowProps, PropertyRowLayoutProps, PropertyGridProps } from "./PropertyRow";
|
|
12
12
|
export { withPropertyForm, writeFormValue } from "./binding";
|
|
13
13
|
export type { PropertyBindingProps, PropertyCommitHandler } from "./binding";
|
|
14
|
-
export { PropertyInput, PROPERTY_BORDERED_SX, PropertyText, PropertyTextArea, PropertyDate, PropertyDateInput, isDateText, normalizeDateText, parseDateText } from "./PropertyText";
|
|
14
|
+
export { PropertyInput, PROPERTY_BORDERED_SX, PropertyText, PropertyTextArea, PropertyDate, PropertyDateInput, PropertyTextDate, PropertyTextDateInput, isDateText, normalizeDateText, parseDateText } from "./PropertyText";
|
|
15
15
|
export type { PropertyInputProps, PropertyTextProps, PropertyDateInputProps } from "./PropertyText";
|
|
16
16
|
export { PropertySelect, PropertyMultiSelect, PropertySwitch } from "./PropertySelect";
|
|
17
17
|
export type { PropertyOption, PropertySelectValue, PropertySelectProps, PropertyMultiSelectProps, PropertySwitchProps } from "./PropertySelect";
|