@gpa-gemstone/react-forms 1.1.86 → 1.1.87
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/lib/DatePicker.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as moment from 'moment';
|
|
2
|
-
import { Accuracy } from './DateTimeUI/Clock';
|
|
3
2
|
import { Gemstone } from '@gpa-gemstone/application-typings';
|
|
4
3
|
export type TimeUnit = ('datetime-local' | 'date' | 'time');
|
|
5
4
|
interface IProps<T> extends Gemstone.TSX.Interfaces.IBaseFormProps<T> {
|
|
@@ -8,7 +7,7 @@ interface IProps<T> extends Gemstone.TSX.Interfaces.IBaseFormProps<T> {
|
|
|
8
7
|
Format?: string;
|
|
9
8
|
Type?: TimeUnit;
|
|
10
9
|
AllowEmpty?: boolean;
|
|
11
|
-
Accuracy?: Accuracy;
|
|
10
|
+
Accuracy?: Gemstone.TSX.Types.Accuracy;
|
|
12
11
|
MinDate?: moment.Moment;
|
|
13
12
|
}
|
|
14
13
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as moment from 'moment';
|
|
2
|
+
import { Gemstone } from '@gpa-gemstone/application-typings';
|
|
2
3
|
interface IProps {
|
|
3
4
|
DateTime: moment.Moment | undefined;
|
|
4
5
|
Setter: (record: moment.Moment) => void;
|
|
5
|
-
Accuracy?: Accuracy;
|
|
6
|
+
Accuracy?: Gemstone.TSX.Types.Accuracy;
|
|
6
7
|
}
|
|
7
|
-
export type Accuracy = ('minute' | 'second' | 'millisecond');
|
|
8
8
|
export default function Clock(props: IProps): JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as moment from 'moment';
|
|
2
2
|
import { TimeUnit } from '../DatePicker';
|
|
3
|
-
import {
|
|
3
|
+
import { Gemstone } from '@gpa-gemstone/application-typings';
|
|
4
4
|
interface IProps {
|
|
5
5
|
DateTime: moment.Moment | undefined;
|
|
6
6
|
Setter: (record: moment.Moment) => void;
|
|
@@ -10,7 +10,7 @@ interface IProps {
|
|
|
10
10
|
Show: boolean;
|
|
11
11
|
Top: number;
|
|
12
12
|
Center: number;
|
|
13
|
-
Accuracy?: Accuracy;
|
|
13
|
+
Accuracy?: Gemstone.TSX.Types.Accuracy;
|
|
14
14
|
}
|
|
15
15
|
export default function DateTimePopup(props: IProps): JSX.Element | null;
|
|
16
16
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpa-gemstone/react-forms",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.87",
|
|
4
4
|
"description": "React Form modules for gpa webapps",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"typescript": "5.5.3"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@gpa-gemstone/application-typings": "0.0.
|
|
48
|
+
"@gpa-gemstone/application-typings": "0.0.84",
|
|
49
49
|
"@gpa-gemstone/gpa-symbols": "0.0.49",
|
|
50
|
-
"@gpa-gemstone/helper-functions": "0.0.
|
|
50
|
+
"@gpa-gemstone/helper-functions": "0.0.40",
|
|
51
51
|
"@types/react": "^17.0.14",
|
|
52
52
|
"@types/styled-components": "^5.1.11",
|
|
53
53
|
"lodash": "^4.17.21",
|