@ehfuse/mui-form-controls 3.5.1 → 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/PropertyRow.d.ts +6 -3
- package/dist/property/PropertyText.d.ts +13 -2
- package/dist/property/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -14,10 +14,13 @@ import type { ReactNode } from "react";
|
|
|
14
14
|
import { type PropertyAppearance } from "./appearance";
|
|
15
15
|
/** 2열이 되는 묶음 폭 — 줄 하나(라벨 132 + 값)가 270px 남짓은 남아야 값이 잘리지 않는다. */
|
|
16
16
|
export declare const PROPERTY_GRID_TWO_COLUMN_MIN = 560;
|
|
17
|
-
/**
|
|
18
|
-
|
|
17
|
+
/**
|
|
18
|
+
* 4열이 되는 묶음 폭 — 분할 화면의 아래 패널과 가로분할(옆) 패널(2026-10-23 업무함 사용자 지정 "가로분할형일 때는 속성 필드가 4열").
|
|
19
|
+
* 1180 이던 때는 2400px 화면의 가로분할 패널(약 1045px)이 2열이었다. 4열 한 칸이 250px 남짓(라벨 132 + 값)은 남는 폭이다.
|
|
20
|
+
*/
|
|
21
|
+
export declare const PROPERTY_GRID_FOUR_COLUMN_MIN = 1000;
|
|
19
22
|
/** 4열 컨테이너 쿼리 — 묶음 밖에서 줄 자리를 4열에 맞출 때 쓴다(sx 키). */
|
|
20
|
-
export declare const PROPERTY_GRID_FOUR_CQ = "@container (min-width:
|
|
23
|
+
export declare const PROPERTY_GRID_FOUR_CQ = "@container (min-width: 1000px)";
|
|
21
24
|
/** 줄 자리(묶음 안에서 몇 칸을 쓰나) — 값 칸 부품들이 함께 받는다. */
|
|
22
25
|
export interface PropertyRowLayoutProps {
|
|
23
26
|
/** 긴 값 — 1·2열에서는 한 줄을 다 쓰고, 4열에서는 두 칸을 쓴다(주소 · 상세주소가 한 줄에 나란히 선다). */
|
|
@@ -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";
|