@ehfuse/mui-form-controls 3.5.2 → 3.5.3
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 +58 -58
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +58 -58
- package/dist/index.mjs.map +4 -4
- package/dist/property/PropertyText.d.ts +13 -2
- package/dist/property/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -64,5 +64,16 @@ export declare function isDateText(value: string): boolean;
|
|
|
64
64
|
export declare function normalizeDateText(value: string): string;
|
|
65
65
|
/** 날짜 칸의 기본 해석 — 8자리 숫자는 하이픈을 넣고, 꼴이 틀리면 null(되돌림). */
|
|
66
66
|
export declare function parseDateText(raw: string): string | null;
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
export interface PropertyDateInputProps extends PropertyInputProps {
|
|
68
|
+
/** 달력의 빨간 날(공휴일). */
|
|
69
|
+
holidays?: Date[];
|
|
70
|
+
}
|
|
71
|
+
/** 날짜 칸(줄 없이 칸만). `form` + `name` 또는 `value` + `onCommit`. */
|
|
72
|
+
export declare const PropertyDateInput: {
|
|
73
|
+
(props: PropertyDateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
displayName: string;
|
|
75
|
+
};
|
|
76
|
+
/** 날짜 속성 줄 — 달력에서 고르거나 YYYY-MM-DD(8자리 숫자도)로 친다. 꼴이 틀리면 저장하지 않고 되돌린다. */
|
|
77
|
+
export declare function PropertyDate({ icon, label, wide, full, rowStart, alignTop, rowSx, endAdornment, appearance, ...input }: PropertyTextProps & {
|
|
78
|
+
holidays?: Date[];
|
|
79
|
+
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/property/index.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ 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, isDateText, normalizeDateText, parseDateText } from "./PropertyText";
|
|
15
|
-
export type { PropertyInputProps, PropertyTextProps } from "./PropertyText";
|
|
14
|
+
export { PropertyInput, PROPERTY_BORDERED_SX, PropertyText, PropertyTextArea, PropertyDate, PropertyDateInput, isDateText, normalizeDateText, parseDateText } from "./PropertyText";
|
|
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";
|
|
18
18
|
export { PropertyAddress, PropertyAddressInput } from "./PropertyAddress";
|