@pdg/react-form 1.0.124 → 1.0.126
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/@private/PrivateTimeSection/PrivateTimeSection.d.ts +4 -0
- package/dist/@private/PrivateTimeSection/PrivateTimeSection.types.d.ts +23 -0
- package/dist/@private/PrivateTimeSection/index.d.ts +4 -0
- package/dist/FormCommon/FormButton/FormButton.d.ts +2 -2
- package/dist/FormCommon/FormLabel/FormLabel.d.ts +2 -2
- package/dist/FormItemTextFieldBase/FormSelect/FormSelect.d.ts +1 -1
- package/dist/Search/SearchButton/SearchButton.d.ts +2 -2
- package/dist/index.esm.js +1504 -1586
- package/dist/index.js +1504 -1586
- package/package.json +3 -3
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateTimeSectionProps as Props } from './PrivateTimeSection.types';
|
|
3
|
+
export declare const PrivateTimeSection: ({ time, width, cols, hours, minutes, seconds, availableDate, minuteInterval, secondInterval, value, hourSelectRef, minuteSelectRef, secondSelectRef, onClose, onChange, }: Props) => React.JSX.Element;
|
|
4
|
+
export default PrivateTimeSection;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateTimeSelectCommands } from '../PrivateTimeSelect';
|
|
3
|
+
import { Dayjs } from 'dayjs';
|
|
4
|
+
import { FormTimeType } from '../../@types';
|
|
5
|
+
import { PrivateStaticDateTimePickerUnit } from '../PrivateStaticDateTimePicker';
|
|
6
|
+
import { FormAvailableDate } from '../@types';
|
|
7
|
+
export interface PrivateTimeSectionProps {
|
|
8
|
+
time: FormTimeType;
|
|
9
|
+
width: number;
|
|
10
|
+
cols: 1 | 2 | 3;
|
|
11
|
+
availableDate: FormAvailableDate;
|
|
12
|
+
hourSelectRef: React.RefObject<PrivateTimeSelectCommands>;
|
|
13
|
+
minuteSelectRef: React.RefObject<PrivateTimeSelectCommands>;
|
|
14
|
+
secondSelectRef: React.RefObject<PrivateTimeSelectCommands>;
|
|
15
|
+
hours?: number[];
|
|
16
|
+
minutes?: number[];
|
|
17
|
+
seconds?: number[];
|
|
18
|
+
minuteInterval?: number;
|
|
19
|
+
secondInterval?: number;
|
|
20
|
+
value?: Dayjs | null;
|
|
21
|
+
onChange(unit: PrivateStaticDateTimePickerUnit, newValue: Dayjs | null): void;
|
|
22
|
+
onClose?(): void;
|
|
23
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormButtonProps as Props } from './FormButton.types';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormLabelProps as Props } from './FormLabel.types';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLLabelElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormSelectCommands, FormSelectSingleValue } from './FormSelect.types';
|
|
3
|
-
import './FormSelect.scss';
|
|
4
3
|
import { FormTextFieldProps } from '../FormTextField';
|
|
4
|
+
import './FormSelect.scss';
|
|
5
5
|
declare const FormSelect: (<T extends FormSelectSingleValue, Multiple extends boolean | undefined>(props: Omit<FormTextFieldProps<import("./FormSelect.types").FormSelectValue<T, Multiple>, false>, "type" | "clear"> & {
|
|
6
6
|
items?: import("./FormSelect.types").FormSelectItems<T> | undefined;
|
|
7
7
|
multiple?: Multiple | undefined;
|