@emeraldemperaur/vector-sigma 1.4.10 → 1.4.12
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/index.cjs +5194 -5498
- package/lib/index.esm.js +5194 -5498
- package/lib/types/components/avatar/avatar.d.ts +89 -12
- package/lib/types/components/button/button.d.ts +60 -11
- package/lib/types/components/checkbox/checkbox.d.ts +93 -13
- package/lib/types/components/conditional/conditional.d.ts +103 -16
- package/lib/types/components/datepicker/datepicker.d.ts +10 -13
- package/lib/types/components/daterangepicker/daterangepicker.d.ts +12 -15
- package/lib/types/components/datetimepicker/datetimepicker.d.ts +12 -15
- package/lib/types/components/dropdown/dropdown.d.ts +10 -10
- package/lib/types/components/file/file.d.ts +9 -10
- package/lib/types/components/file/filemultiple.d.ts +9 -10
- package/lib/types/components/image/image.d.ts +2 -2
- package/lib/types/components/input/input.d.ts +9 -9
- package/lib/types/components/input/passwordInput.d.ts +1 -1
- package/lib/types/components/input/phoneInput.d.ts +1 -1
- package/lib/types/components/input/uuidInput.d.ts +9 -9
- package/lib/types/components/input/xCreditCardInput.d.ts +1 -1
- package/lib/types/components/inputcurrency/inputcurrency.d.ts +8 -8
- package/lib/types/components/inputcurrency/stockInput.d.ts +9 -9
- package/lib/types/components/radio/radio.d.ts +9 -10
- package/lib/types/components/select/select.d.ts +8 -8
- package/lib/types/components/selectmultiple/selectmultiple.d.ts +10 -11
- package/lib/types/components/slider/range.d.ts +8 -8
- package/lib/types/components/slider/slider.d.ts +11 -11
- package/lib/types/components/toggle/toggle.d.ts +9 -9
- package/lib/types/components/xtitle/xtitle.d.ts +4 -3
- package/lib/types/utils/vinci.d.ts +36 -1
- package/package.json +1 -1
|
@@ -2,25 +2,102 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
export type AvatarDesign = 'avatar' | 'avatar-outline' | 'avatar-material' | 'avatar-neumorphic';
|
|
3
3
|
export type AvatarShape = 'circle' | 'square' | 'rounded';
|
|
4
4
|
export interface AvatarProps {
|
|
5
|
+
/**
|
|
6
|
+
* * The design variation of the Avatar input.
|
|
7
|
+
* Default: 'avatar-outline'
|
|
8
|
+
* Variants: 'avatar', 'avatar-outline', 'avatar-material', 'avatar-neumorphic'.
|
|
9
|
+
* * @example
|
|
10
|
+
* inputtype="avatar-neumorphic"
|
|
11
|
+
*/
|
|
5
12
|
inputtype?: AvatarDesign & {};
|
|
13
|
+
/**
|
|
14
|
+
* * The required unique identifier for the input field in useFormikContext().
|
|
15
|
+
* Alias referenced as `name` attribute and Formik state key.
|
|
16
|
+
* * @example
|
|
17
|
+
* alias="torukMakto"
|
|
18
|
+
*/
|
|
6
19
|
alias: string;
|
|
7
|
-
|
|
8
|
-
|
|
20
|
+
/**
|
|
21
|
+
* * The optional input label or description for the Avatar input field.
|
|
22
|
+
* * @example
|
|
23
|
+
* inputLabel="Upload VΣ Profile"
|
|
24
|
+
*/
|
|
25
|
+
inputLabel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* * The required viewport column width for the Avatar input field.
|
|
28
|
+
* i.e. 1 - 12
|
|
29
|
+
* * @example
|
|
30
|
+
* width={5}
|
|
31
|
+
*/
|
|
9
32
|
width: number;
|
|
10
|
-
|
|
11
|
-
|
|
33
|
+
/**
|
|
34
|
+
* * Option to render Avatar input field on new row.
|
|
35
|
+
* * @example
|
|
36
|
+
* newRow
|
|
37
|
+
*/
|
|
12
38
|
newRow?: boolean;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
39
|
+
/**
|
|
40
|
+
* * Option to disable edits for Avatar input field.
|
|
41
|
+
* * @example
|
|
42
|
+
* readOnly
|
|
43
|
+
*/
|
|
44
|
+
readOnly?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* * Option to enable a hint for Avatar input field.
|
|
47
|
+
* * @example
|
|
48
|
+
* isHinted
|
|
49
|
+
*/
|
|
50
|
+
isHinted?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* * Option to specify hint text for Avatar input field.
|
|
53
|
+
* * @example
|
|
54
|
+
* hintText="This is a hint for a VΣ AvatarInput"
|
|
55
|
+
*/
|
|
56
|
+
hintText?: string;
|
|
57
|
+
/**
|
|
58
|
+
* * Option to specify a hint url reference or resource for Avatar input field.
|
|
59
|
+
* * @example
|
|
60
|
+
* hintUrl="https://www.mekaegwim.ca"
|
|
61
|
+
*/
|
|
62
|
+
hintUrl?: string;
|
|
63
|
+
/**
|
|
64
|
+
* * Option to specify the layout shape of the Avatar input field.
|
|
65
|
+
* Variants: 'circle', 'square', 'rounded'
|
|
66
|
+
* * @example
|
|
67
|
+
* shape="rounded"
|
|
68
|
+
*/
|
|
19
69
|
shape?: AvatarShape;
|
|
20
|
-
|
|
70
|
+
/**
|
|
71
|
+
* * Option to specify the isRequired error text for the Avatar input field.
|
|
72
|
+
* * @example
|
|
73
|
+
* errorText="A profile is required for VΣ Plus user subscription"
|
|
74
|
+
*/
|
|
75
|
+
errorText?: ReactNode | string | null;
|
|
76
|
+
/**
|
|
77
|
+
* * Option to specify the size for the Avatar input field.
|
|
78
|
+
* Default: 120 (i.e. 120px x 120px)
|
|
79
|
+
* * @example
|
|
80
|
+
* size={200}
|
|
81
|
+
*/
|
|
21
82
|
size?: number;
|
|
83
|
+
/**
|
|
84
|
+
* * Option to specify the SCSS class selector for the Avatar input field.
|
|
85
|
+
* * @example
|
|
86
|
+
* className="teletraan-1-profile"
|
|
87
|
+
*/
|
|
22
88
|
className?: string;
|
|
89
|
+
/**
|
|
90
|
+
* * Option to inject custom CSS the Avatar input field.
|
|
91
|
+
* * @example
|
|
92
|
+
* style={{ color: "#000000" }}
|
|
93
|
+
*/
|
|
23
94
|
style?: React.CSSProperties;
|
|
95
|
+
/**
|
|
96
|
+
* * Option to specify the accepted file formats for the Avatar input field.
|
|
97
|
+
* Default: image/*
|
|
98
|
+
* * @example
|
|
99
|
+
* accept="image/*"
|
|
100
|
+
*/
|
|
24
101
|
accept?: string;
|
|
25
102
|
}
|
|
26
|
-
export declare const AvatarInput: ({ inputtype, alias,
|
|
103
|
+
export declare const AvatarInput: ({ inputtype, alias, readOnly, width, inputLabel, shape, size, newRow, isHinted, hintText, hintUrl, errorText, style, className, accept, ...props }: AvatarProps) => React.JSX.Element;
|
|
@@ -1,22 +1,71 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { ButtonProps } from '@radix-ui/themes';
|
|
3
3
|
export type ButtonDesign = 'button' | 'button-material' | 'button-outline' | 'button-neumorphic';
|
|
4
4
|
import '../../styles/main.scss';
|
|
5
5
|
export interface DesignButtonProps extends ButtonProps {
|
|
6
|
+
/**
|
|
7
|
+
* * The design variation of the Button input.
|
|
8
|
+
* Default: 'button-outline'
|
|
9
|
+
* Variants: 'button', 'button-outline', 'button-material', 'button-neumorphic'.
|
|
10
|
+
* * @example
|
|
11
|
+
* inputtype="button-neumorphic"
|
|
12
|
+
*/
|
|
6
13
|
inputtype?: ButtonDesign & {};
|
|
14
|
+
/**
|
|
15
|
+
* * The required unique identifier for the input field in useFormikContext().
|
|
16
|
+
* Alias referenced as `name` attribute and Formik state key.
|
|
17
|
+
* * @example
|
|
18
|
+
* alias="dontPushMe"
|
|
19
|
+
*/
|
|
7
20
|
alias: string;
|
|
8
|
-
|
|
21
|
+
/**
|
|
22
|
+
* * Option to render Button input with icon passed as a ReactNode {}.
|
|
23
|
+
* * @example
|
|
24
|
+
* icon={<Icon name="stack"/>}
|
|
25
|
+
*/
|
|
9
26
|
icon?: React.ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* * The required viewport column width for the Button input field.
|
|
29
|
+
* i.e. 1 - 12
|
|
30
|
+
* * @example
|
|
31
|
+
* width={5}
|
|
32
|
+
*/
|
|
10
33
|
width: number;
|
|
11
|
-
|
|
12
|
-
|
|
34
|
+
/**
|
|
35
|
+
* * Option to render Button input field on new row.
|
|
36
|
+
* * @example
|
|
37
|
+
* newRow
|
|
38
|
+
*/
|
|
13
39
|
newRow?: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
40
|
+
/**
|
|
41
|
+
* * Option to disable edits for Button input field.
|
|
42
|
+
* * @example
|
|
43
|
+
* readOnly
|
|
44
|
+
*/
|
|
45
|
+
readOnly?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* * Option to enable a hint for Button input field.
|
|
48
|
+
* * @example
|
|
49
|
+
* isHinted
|
|
50
|
+
*/
|
|
51
|
+
isHinted?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* * Option to specify hint text for Button input field.
|
|
54
|
+
* * @example
|
|
55
|
+
* hintText="This is a hint for a VΣ AvatarInput"
|
|
56
|
+
*/
|
|
57
|
+
hintText?: string;
|
|
58
|
+
/**
|
|
59
|
+
* * Option to specify a hint url reference or resource for Button input field.
|
|
60
|
+
* * @example
|
|
61
|
+
* hintUrl="https://www.mekaegwim.ca"
|
|
62
|
+
*/
|
|
63
|
+
hintUrl?: string;
|
|
64
|
+
/**
|
|
65
|
+
* * Option to inject onClick event handler function for Button input field.
|
|
66
|
+
* * @example
|
|
67
|
+
* onClick={() => { lesEnfantsTerribles() }}
|
|
68
|
+
*/
|
|
20
69
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
21
70
|
}
|
|
22
|
-
export declare const ButtonInput: ({ inputtype, type,
|
|
71
|
+
export declare const ButtonInput: ({ inputtype, type, alias, readOnly, style, width, children, newRow, isHinted, hintText, hintUrl, ...props }: DesignButtonProps) => React.JSX.Element;
|
|
@@ -3,25 +3,105 @@ import { InputOption } from 'utils/vinci';
|
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
4
|
export type CheckBoxDesign = 'checkbox' | 'checkbox-material' | 'checkbox-outline' | 'checkbox-neumorphic';
|
|
5
5
|
export interface CheckboxGroup {
|
|
6
|
+
/**
|
|
7
|
+
* * The design variation of the Checkbox Group input.
|
|
8
|
+
* Default: 'checkbox-outline'
|
|
9
|
+
* Variants: 'checkbox', 'checkbox-outline', 'checkbox-material', 'checkbox-neumorphic'.
|
|
10
|
+
* * @example
|
|
11
|
+
* inputtype="checkbox-neumorphic"
|
|
12
|
+
*/
|
|
6
13
|
inputtype?: CheckBoxDesign & {};
|
|
14
|
+
/**
|
|
15
|
+
* * The required unique identifier for the input field in useFormikContext().
|
|
16
|
+
* Alias referenced as `name` attribute and Formik state key.
|
|
17
|
+
* * @example
|
|
18
|
+
* alias="carteBlanche"
|
|
19
|
+
*/
|
|
7
20
|
alias: string;
|
|
8
|
-
|
|
9
|
-
|
|
21
|
+
/**
|
|
22
|
+
* * The optional input label or description for the Checkbox Group input field.
|
|
23
|
+
* * @example
|
|
24
|
+
* inputLabel="Select VΣ Product Categories"
|
|
25
|
+
*/
|
|
26
|
+
inputLabel?: string;
|
|
27
|
+
/**
|
|
28
|
+
* * The required viewport column width for the Checkbox Group input field.
|
|
29
|
+
* i.e. 1 - 12
|
|
30
|
+
* * @example
|
|
31
|
+
* width={6}
|
|
32
|
+
*/
|
|
10
33
|
width: number;
|
|
11
|
-
|
|
12
|
-
|
|
34
|
+
/**
|
|
35
|
+
* * Option to render Checkbox Group input field on new row.
|
|
36
|
+
* * @example
|
|
37
|
+
* newRow
|
|
38
|
+
*/
|
|
13
39
|
newRow?: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
40
|
+
/**
|
|
41
|
+
* * Option to disable edits for Checkbox Group input field.
|
|
42
|
+
* * @example
|
|
43
|
+
* readOnly
|
|
44
|
+
*/
|
|
45
|
+
readOnly?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* * Option to enable a hint for Checkbox Group input field.
|
|
48
|
+
* * @example
|
|
49
|
+
* isHinted
|
|
50
|
+
*/
|
|
51
|
+
isHinted?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* * Option to specify hint text for Checkbox Group input field.
|
|
54
|
+
* * @example
|
|
55
|
+
* hintText="This is a hint for a VΣ Checkbox Group"
|
|
56
|
+
*/
|
|
57
|
+
hintText?: string;
|
|
58
|
+
/**
|
|
59
|
+
* * Option to specify a hint url reference or resource for Checkbox Group input field.
|
|
60
|
+
* * @example
|
|
61
|
+
* hintUrl="https://www.mekaegwim.ca"
|
|
62
|
+
*/
|
|
63
|
+
hintUrl?: string;
|
|
64
|
+
/**
|
|
65
|
+
* * Required inputOptions{} for the Checkbox Group input field.
|
|
66
|
+
* * @example
|
|
67
|
+
* inputOptions={
|
|
68
|
+
[
|
|
69
|
+
{optionid: 1, optionvalue: "Kaiju", optionurl:"https://github.com/emeraldemperaur", text: "Kaiju"},
|
|
70
|
+
{optionid: 2, optionvalue: "MekaGodzilla", optionurl:"https://github.com/emeraldemperaur", text: "MekaGodzilla"},
|
|
71
|
+
{optionid: 3, optionvalue: "Zaibatsu", optionurl:"https://github.com/emeraldemperaur", text: "Zaibatsu"},
|
|
72
|
+
]}
|
|
73
|
+
*/
|
|
74
|
+
inputOptions: InputOption[];
|
|
75
|
+
/**
|
|
76
|
+
* * Option to specify the isRequired error text for the Checkbox Group input field.
|
|
77
|
+
* * @example
|
|
78
|
+
* errorText="A VΣ category selection is required"
|
|
79
|
+
*/
|
|
80
|
+
errorText?: ReactNode | string | null;
|
|
81
|
+
/**
|
|
82
|
+
* * Option to specify CSS layout direction for the Checkbox Group input field.
|
|
83
|
+
* Default: "row"
|
|
84
|
+
* * @example
|
|
85
|
+
* direction="column"
|
|
86
|
+
*/
|
|
22
87
|
direction?: 'row' | 'column';
|
|
88
|
+
/**
|
|
89
|
+
* * Option to specify CSS grid template columns for the Checkbox Group input field.
|
|
90
|
+
* * @example
|
|
91
|
+
* columns="1fr 1fr"
|
|
92
|
+
*/
|
|
23
93
|
columns?: string;
|
|
94
|
+
/**
|
|
95
|
+
* * Option to specify the .scss class selector for the Checkbox Group input field.
|
|
96
|
+
* * @example
|
|
97
|
+
* className="teletraan-1-checkbox"
|
|
98
|
+
*/
|
|
24
99
|
className?: string;
|
|
100
|
+
/**
|
|
101
|
+
* * Option to inject custom CSS the Checkbox Group input field.
|
|
102
|
+
* * @example
|
|
103
|
+
* style={{ color: "#000000" }}
|
|
104
|
+
*/
|
|
25
105
|
style?: React.CSSProperties;
|
|
26
106
|
}
|
|
27
|
-
export declare const CheckboxGroupInput: ({ inputtype, alias,
|
|
107
|
+
export declare const CheckboxGroupInput: ({ inputtype, alias, readOnly, width, inputLabel, style, inputOptions, newRow, isHinted, hintText, hintUrl, errorText, direction, columns, className, ...props }: CheckboxGroup) => React.JSX.Element;
|
|
@@ -6,26 +6,113 @@ export type CheckboxTriggerDesign = 'conditionalcheckbox' | 'conditionalcheckbox
|
|
|
6
6
|
export type SelectTriggerDesign = 'conditionalselect' | 'conditionalselect-outline' | 'conditionalselect-material' | 'conditionalselect-neumorphic';
|
|
7
7
|
export type TriggerType = 'conditionaltoggle' | 'conditionalcheckbox' | 'conditionalselect';
|
|
8
8
|
export interface ConditionalProps {
|
|
9
|
+
/**
|
|
10
|
+
* * The design variation of the Conditional Trigger input.
|
|
11
|
+
* Default: 'conditionaltoggle-outline'
|
|
12
|
+
* Variants: 'conditionaltoggle-outline', 'conditionalcheckbox-outline', 'conditionalselect-outline',
|
|
13
|
+
* 'conditionaltoggle-material', 'conditionalcheckbox-material', 'conditionalselect-material',
|
|
14
|
+
* 'conditionaltoggle-neumorphic', 'conditionalcheckbox-neumorphic', 'conditionalselect-neumorphic'.
|
|
15
|
+
* * @example
|
|
16
|
+
* inputtype="conditionalcheckbox-outline"
|
|
17
|
+
*/
|
|
18
|
+
inputtype?: ToggleTriggerDesign & {} | CheckboxTriggerDesign & {} | SelectTriggerDesign & {};
|
|
19
|
+
/**
|
|
20
|
+
* * The required unique identifier for the Conditional Trigger input field in useFormikContext().
|
|
21
|
+
* Alias referenced as `name` attribute and Formik state key.
|
|
22
|
+
* * @example
|
|
23
|
+
* alias="isAIEnabled"
|
|
24
|
+
*/
|
|
9
25
|
alias: string;
|
|
10
|
-
|
|
11
|
-
|
|
26
|
+
/**
|
|
27
|
+
* * The required conditional toggled (child) xForm input field.
|
|
28
|
+
* * @example
|
|
29
|
+
* children={<Avatar name="Upload Display Profile/>}
|
|
30
|
+
*/
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* * Option to specify a value for Conditional Trigger element to reveal render the toggled child input field if trigger value is inputted.
|
|
34
|
+
* (e.g. Boolean, String, Number)
|
|
35
|
+
* * @example
|
|
36
|
+
* hintUrl="https://www.mekaegwim.ca"
|
|
37
|
+
*/
|
|
38
|
+
triggerValue: any;
|
|
39
|
+
/**
|
|
40
|
+
* * The optional input label or description for the Conditional Trigger input field.
|
|
41
|
+
* * @example
|
|
42
|
+
* inputLabel="Enable VΣ AI Models"
|
|
43
|
+
*/
|
|
44
|
+
inputLabel?: string;
|
|
45
|
+
/**
|
|
46
|
+
* * The required viewport column width for the Conditional Trigger input field.
|
|
47
|
+
* i.e. 1 - 12
|
|
48
|
+
* * @example
|
|
49
|
+
* width={6}
|
|
50
|
+
*/
|
|
12
51
|
width: number;
|
|
13
|
-
|
|
14
|
-
|
|
52
|
+
/**
|
|
53
|
+
* * Option to render Conditional Trigger input field on new row.
|
|
54
|
+
* * @example
|
|
55
|
+
* newRow
|
|
56
|
+
*/
|
|
15
57
|
newRow?: boolean;
|
|
16
|
-
|
|
58
|
+
/**
|
|
59
|
+
* * Option to force set the default value for a Conditional Trigger (Select) input field.
|
|
60
|
+
* * @example
|
|
61
|
+
* placeholder="Activate Plan"
|
|
62
|
+
*/
|
|
17
63
|
placeholder?: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
64
|
+
/**
|
|
65
|
+
* * Option to disable edits for Conditional Trigger input field.
|
|
66
|
+
* * @example
|
|
67
|
+
* readOnly
|
|
68
|
+
*/
|
|
69
|
+
readOnly?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* * Option to enable a hint for Conditional Trigger input field.
|
|
72
|
+
* * @example
|
|
73
|
+
* isHinted
|
|
74
|
+
*/
|
|
75
|
+
isHinted?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* * Option to specify hint text for Conditional Trigger input field.
|
|
78
|
+
* * @example
|
|
79
|
+
* hintText="This is a hint for a VΣ Conditional Trigger"
|
|
80
|
+
*/
|
|
81
|
+
hintText?: string;
|
|
82
|
+
/**
|
|
83
|
+
* * Option to specify a hint url reference or resource for Conditional Trigger input field.
|
|
84
|
+
* * @example
|
|
85
|
+
* hintUrl="https://www.mekaegwim.ca"
|
|
86
|
+
*/
|
|
87
|
+
hintUrl?: string;
|
|
88
|
+
/**
|
|
89
|
+
* * Required inputOptions{} for the Conditional Trigger input field.
|
|
90
|
+
* * @example
|
|
91
|
+
* inputOptions={
|
|
92
|
+
[
|
|
93
|
+
{optionid: 1, optionvalue: "Kaiju", optionurl:"https://github.com/emeraldemperaur", text: "Kaiju"},
|
|
94
|
+
{optionid: 2, optionvalue: "MekaGodzilla", optionurl:"https://github.com/emeraldemperaur", text: "MekaGodzilla"},
|
|
95
|
+
{optionid: 3, optionvalue: "Zaibatsu", optionurl:"https://github.com/emeraldemperaur", text: "Zaibatsu"},
|
|
96
|
+
]}
|
|
97
|
+
*/
|
|
98
|
+
inputOptions?: InputOption[];
|
|
99
|
+
/**
|
|
100
|
+
* * Option to specify the isRequired error text for the Conditional Trigger input field.
|
|
101
|
+
* * @example
|
|
102
|
+
* errorText="A VΣ category selection is required"
|
|
103
|
+
*/
|
|
104
|
+
errorText?: ReactNode | string | null;
|
|
105
|
+
/**
|
|
106
|
+
* * Option to specify the .scss class selector for the Conditional Trigger input field.
|
|
107
|
+
* * @example
|
|
108
|
+
* className="teletraan-1-checkbox"
|
|
109
|
+
*/
|
|
28
110
|
className?: string;
|
|
111
|
+
/**
|
|
112
|
+
* * Option to inject custom CSS the Conditional Trigger input field.
|
|
113
|
+
* * @example
|
|
114
|
+
* style={{ color: "#000000" }}
|
|
115
|
+
*/
|
|
29
116
|
style?: React.CSSProperties;
|
|
30
117
|
}
|
|
31
|
-
export declare const ConditionalTrigger: ({ alias,
|
|
118
|
+
export declare const ConditionalTrigger: ({ alias, readOnly, width, placeholder, inputLabel, inputtype, triggerValue, inputOptions, children, newRow, isHinted, hintText, hintUrl, errorText, style, className, ...props }: ConditionalProps) => React.JSX.Element;
|
|
@@ -2,23 +2,20 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type DatePickerDesign = 'datepicker' | 'datepicker-material' | 'datepicker-outline' | 'datepicker-neumorphic';
|
|
4
4
|
export interface DatePickerProps {
|
|
5
|
-
inputtype?: DatePickerDesign
|
|
5
|
+
inputtype?: DatePickerDesign;
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
8
|
-
icon?: React.ReactNode;
|
|
7
|
+
inputLabel?: string;
|
|
9
8
|
width: number;
|
|
10
|
-
defaultvalue?: string;
|
|
11
|
-
value?: string;
|
|
12
9
|
newRow?: boolean;
|
|
13
10
|
placeholder?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
isHinted?: boolean;
|
|
13
|
+
hintText?: string;
|
|
14
|
+
hintUrl?: string;
|
|
15
|
+
minDate?: Date | string;
|
|
16
|
+
maxDate?: Date | string;
|
|
17
|
+
errorText?: ReactNode | string | null;
|
|
21
18
|
className?: string;
|
|
22
19
|
style?: React.CSSProperties;
|
|
23
20
|
}
|
|
24
|
-
export declare const DatePicker: ({ inputtype, alias,
|
|
21
|
+
export declare const DatePicker: ({ inputtype, alias, readOnly, newRow, isHinted, hintText, hintUrl, errorText, width, inputLabel, placeholder, minDate, maxDate, className, style, ...props }: DatePickerProps) => React.JSX.Element;
|
|
@@ -2,23 +2,20 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type DateRangePickerDesign = 'daterangepicker' | 'daterangepicker-material' | 'daterangepicker-outline' | 'daterangepicker-neumorphic';
|
|
4
4
|
export interface DateRangePickerProps {
|
|
5
|
-
inputtype?: DateRangePickerDesign
|
|
5
|
+
inputtype?: DateRangePickerDesign;
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
8
|
-
icon?: React.ReactNode;
|
|
7
|
+
inputLabel?: string;
|
|
9
8
|
width: number;
|
|
10
|
-
|
|
11
|
-
value?: string;
|
|
12
|
-
newrow?: boolean;
|
|
9
|
+
newRow?: boolean;
|
|
13
10
|
placeholder?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
isHinted?: boolean;
|
|
13
|
+
hintText?: string;
|
|
14
|
+
hintUrl?: string;
|
|
15
|
+
minDate?: Date | string;
|
|
16
|
+
maxDate?: Date | string;
|
|
17
|
+
errorText?: ReactNode | string | null;
|
|
18
|
+
className?: string;
|
|
22
19
|
style?: React.CSSProperties;
|
|
23
20
|
}
|
|
24
|
-
export declare const DateRangePicker: ({ inputtype, alias,
|
|
21
|
+
export declare const DateRangePicker: ({ inputtype, alias, readOnly, newRow, isHinted, hintText, hintUrl, errorText, width, inputLabel, placeholder, minDate, maxDate, className, style, ...props }: DateRangePickerProps) => React.JSX.Element;
|
|
@@ -2,23 +2,20 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type DateTimePickerDesign = 'datetimepicker' | 'datetimepicker-material' | 'datetimepicker-outline' | 'datetimepicker-neumorphic';
|
|
4
4
|
export interface DateTimePickerProps {
|
|
5
|
-
inputtype?: DateTimePickerDesign
|
|
5
|
+
inputtype?: DateTimePickerDesign;
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
8
|
-
icon?: React.ReactNode;
|
|
7
|
+
inputLabel?: string;
|
|
9
8
|
width: number;
|
|
10
|
-
|
|
11
|
-
value?: string;
|
|
12
|
-
newrow?: boolean;
|
|
9
|
+
newRow?: boolean;
|
|
13
10
|
placeholder?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
isHinted?: boolean;
|
|
13
|
+
hintText?: string;
|
|
14
|
+
hintUrl?: string;
|
|
15
|
+
minDate?: Date | string;
|
|
16
|
+
maxDate?: Date | string;
|
|
17
|
+
errorText?: ReactNode | string | null;
|
|
18
|
+
className?: string;
|
|
22
19
|
style?: React.CSSProperties;
|
|
23
20
|
}
|
|
24
|
-
export declare const DateTimePicker: ({ inputtype, alias,
|
|
21
|
+
export declare const DateTimePicker: ({ inputtype, alias, readOnly, newRow, isHinted, hintText, hintUrl, errorText, width, inputLabel, placeholder, minDate, maxDate, className, style, ...props }: DateTimePickerProps) => React.JSX.Element;
|
|
@@ -4,20 +4,20 @@ export type xDropDownDesign = 'dropdown' | 'dropdown-material' | 'dropdown-outli
|
|
|
4
4
|
export interface xDropDownProps {
|
|
5
5
|
inputtype?: xDropDownDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputLabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultvalue?: string;
|
|
11
11
|
value?: string;
|
|
12
|
-
|
|
12
|
+
newRow?: boolean;
|
|
13
13
|
placeholder?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
isHinted?: boolean;
|
|
16
|
+
hintText?: string;
|
|
17
|
+
hintUrl?: string;
|
|
18
18
|
onValueChange?: (value: string) => void;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
errorText?: ReactNode | string | null;
|
|
20
|
+
inputOptions: {
|
|
21
21
|
optionid: number | string;
|
|
22
22
|
text: string;
|
|
23
23
|
optionvalue: string;
|
|
@@ -26,7 +26,7 @@ export interface xDropDownProps {
|
|
|
26
26
|
note?: string;
|
|
27
27
|
optionurl?: string;
|
|
28
28
|
}[];
|
|
29
|
-
|
|
29
|
+
className?: string;
|
|
30
30
|
style?: React.CSSProperties;
|
|
31
31
|
}
|
|
32
|
-
export declare const Dropdown: ({ inputtype, alias,
|
|
32
|
+
export declare const Dropdown: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, value, inputOptions, style, newRow, isHinted, hintText, hintUrl, defaultvalue, errorText, className, ...props }: xDropDownProps) => React.JSX.Element;
|
|
@@ -4,21 +4,20 @@ export type FileInputDesign = 'fileinput' | 'fileinput-material' | 'fileinput-ou
|
|
|
4
4
|
export interface FileInputProps {
|
|
5
5
|
inputtype?: FileInputDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputLabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultvalue?: any;
|
|
11
11
|
value?: any;
|
|
12
|
-
|
|
13
|
-
isedit?: boolean;
|
|
12
|
+
newRow?: boolean;
|
|
14
13
|
placeholder?: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
isHinted?: boolean;
|
|
16
|
+
hintText?: string;
|
|
17
|
+
hintUrl?: string;
|
|
19
18
|
preview?: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
className?: string;
|
|
20
|
+
errorText?: ReactNode | string | null;
|
|
22
21
|
style?: React.CSSProperties;
|
|
23
22
|
}
|
|
24
|
-
export declare const File: ({ inputtype, alias,
|
|
23
|
+
export declare const File: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, newRow, isHinted, hintText, hintUrl, errorText, preview, className, style, ...props }: FileInputProps) => React.JSX.Element;
|
|
@@ -4,21 +4,20 @@ export type FileMultipleInputDesign = 'filemultiple' | 'filemultiple-material' |
|
|
|
4
4
|
export interface FileMultipleInputProps {
|
|
5
5
|
inputtype?: FileMultipleInputDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputLabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultvalue?: any;
|
|
11
11
|
value?: any;
|
|
12
|
-
|
|
13
|
-
isedit?: boolean;
|
|
12
|
+
newRow?: boolean;
|
|
14
13
|
placeholder?: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
isHinted?: boolean;
|
|
16
|
+
hintText?: string;
|
|
17
|
+
hintUrl?: string;
|
|
19
18
|
preview?: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
errorText?: ReactNode | string | null;
|
|
20
|
+
className?: string;
|
|
22
21
|
style?: React.CSSProperties;
|
|
23
22
|
}
|
|
24
|
-
export declare const FileMultiple: ({ inputtype, alias,
|
|
23
|
+
export declare const FileMultiple: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, newRow, isHinted, hintText, hintUrl, errorText, preview, className, style, ...props }: FileMultipleInputProps) => React.JSX.Element;
|