indicator-ui 0.1.87 → 0.1.89
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 +74 -86
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/formFields/FormDateRangeField/ui/FormDateRangeField.d.ts +3 -23
- package/dist/types/src/ui/formFields/FormDateRangeField/ui/FormDateRangeFieldBase.d.ts +26 -0
- package/dist/types/src/ui/formFields/FormDateRangeField/ui/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/types/src/ui/formFields/FormDateRangeField/ui/FormDateTimeRangeField.d.ts +0 -5
- package/dist/types/src/ui/formFields/FormDateRangeField/ui/FormTimeRangeField.d.ts +0 -5
|
@@ -1,26 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
type PropsType =
|
|
5
|
-
text1?: React.ReactNode;
|
|
6
|
-
text2?: React.ReactNode;
|
|
7
|
-
icon1?: React.ReactNode;
|
|
8
|
-
icon2?: React.ReactNode;
|
|
9
|
-
placeholder1?: string;
|
|
10
|
-
placeholder2?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Формат даты ввода пользователя.
|
|
13
|
-
*
|
|
14
|
-
* ---
|
|
15
|
-
* Для ознакомления с обозначениями {@link DATE_IMASK_BLOCKS}
|
|
16
|
-
* */
|
|
17
|
-
inputFormat?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Формат даты, которая будет хранится в `value`.
|
|
20
|
-
*
|
|
21
|
-
* Пример: `yyyy-MM-dd`. Для более подробной информации по обозначениям смотрите тип {@link inputFormat}
|
|
22
|
-
* */
|
|
23
|
-
outFormat?: string;
|
|
24
|
-
};
|
|
2
|
+
import { FormDateRangeFieldBase } from './FormDateRangeFieldBase';
|
|
3
|
+
import { FormFieldWrapper } from '../../FormFieldWrapper';
|
|
4
|
+
type PropsType = React.ComponentProps<typeof FormDateRangeFieldBase> & React.ComponentProps<typeof FormFieldWrapper>;
|
|
25
5
|
export declare function FormDateRangeField(props: PropsType): JSX.Element;
|
|
26
6
|
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FieldPropsType } from "../../../../hooks";
|
|
3
|
+
type ValueType = [string | undefined, string | undefined];
|
|
4
|
+
type PropsType = FieldPropsType<ValueType> & {
|
|
5
|
+
text1?: React.ReactNode;
|
|
6
|
+
text2?: React.ReactNode;
|
|
7
|
+
icon1?: React.ReactNode;
|
|
8
|
+
icon2?: React.ReactNode;
|
|
9
|
+
placeholder1?: string;
|
|
10
|
+
placeholder2?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Формат даты ввода пользователя.
|
|
13
|
+
*
|
|
14
|
+
* ---
|
|
15
|
+
* Для ознакомления с обозначениями {@link DATE_IMASK_BLOCKS}
|
|
16
|
+
* */
|
|
17
|
+
inputFormat?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Формат даты, которая будет хранится в `value`.
|
|
20
|
+
*
|
|
21
|
+
* Пример: `yyyy-MM-dd`. Для более подробной информации по обозначениям смотрите тип {@link inputFormat}
|
|
22
|
+
* */
|
|
23
|
+
outFormat?: string;
|
|
24
|
+
};
|
|
25
|
+
export declare function FormDateRangeFieldBase(props: PropsType): JSX.Element;
|
|
26
|
+
export {};
|
package/package.json
CHANGED