powell-react 0.0.29 → 0.0.31
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/README.md +30 -0
- package/dist/assets/style-nnktSJs6.css +1163 -0
- package/dist/index.cjs.js +2495 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +1842 -0
- package/dist/index.es.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +61 -61
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/types/src/components/Button/Button.d.ts +0 -6
- package/dist/cjs/types/src/components/Button/index.d.ts +0 -1
- package/dist/cjs/types/src/components/index.d.ts +0 -1
- package/dist/cjs/types/src/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/api/PowellProvider.d.ts +0 -5
- package/dist/cjs/types/src/powell/api/configService.d.ts +0 -2
- package/dist/cjs/types/src/powell/api/forms.d.ts +0 -73
- package/dist/cjs/types/src/powell/api/index.d.ts +0 -5
- package/dist/cjs/types/src/powell/api/powellDefaults.d.ts +0 -2
- package/dist/cjs/types/src/powell/api/primereact.d.ts +0 -968
- package/dist/cjs/types/src/powell/components/AutoComplete/AutoComplete.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/AutoComplete/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Button/Button.d.ts +0 -22
- package/dist/cjs/types/src/powell/components/Button/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/CascadeSelect/CascadeSelect.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/CascadeSelect/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Checkbox/Checkbox.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/Checkbox/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Chips/Chips.d.ts +0 -23
- package/dist/cjs/types/src/powell/components/Chips/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/ColorPicker/ColorPicker.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/ColorPicker/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Dropdown/Dropdown.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/Dropdown/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Editor/Editor.d.ts +0 -23
- package/dist/cjs/types/src/powell/components/Editor/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/FormContainer/FormContainer.d.ts +0 -7
- package/dist/cjs/types/src/powell/components/FormContainer/FormContext.d.ts +0 -4
- package/dist/cjs/types/src/powell/components/FormContainer/index.d.ts +0 -2
- package/dist/cjs/types/src/powell/components/InputMask/InputMask.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/InputMask/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/InputNumber/InputNumber.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/InputNumber/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/InputOtp/InputOtp.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/InputOtp/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/InputPassword/InputPassword.d.ts +0 -23
- package/dist/cjs/types/src/powell/components/InputPassword/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/InputSwitch/InputSwitch.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/InputSwitch/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/InputText/InputText.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/InputText/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/InputTextarea/InputTextarea.d.ts +0 -23
- package/dist/cjs/types/src/powell/components/InputTextarea/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Knob/Knob.d.ts +0 -20
- package/dist/cjs/types/src/powell/components/Knob/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/ListBox/ListBox.d.ts +0 -20
- package/dist/cjs/types/src/powell/components/ListBox/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Mention/Mention.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/Mention/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/MultiSelect/MultiSelect.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/MultiSelect/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +0 -20
- package/dist/cjs/types/src/powell/components/MultiStateCheckbox/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/RadioGroup/RadioGroup.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/RadioGroup/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Rating/Rating.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/Rating/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/SelectButton/SelectButton.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/SelectButton/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/Slider/Slider.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/Slider/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/ToggleButton/ToggleButton.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/ToggleButton/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/TreeSelect/TreeSelect.d.ts +0 -24
- package/dist/cjs/types/src/powell/components/TreeSelect/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/components/TriStateCheckbox/TriStateCheckbox.d.ts +0 -21
- package/dist/cjs/types/src/powell/components/TriStateCheckbox/index.d.ts +0 -1
- package/dist/cjs/types/src/powell/hooks/index.d.ts +0 -3
- package/dist/cjs/types/src/powell/hooks/useApplyConfig.d.ts +0 -17
- package/dist/cjs/types/src/powell/hooks/useFormContext.d.ts +0 -2
- package/dist/cjs/types/src/powell/hooks/usePowellConfig.d.ts +0 -2
- package/dist/cjs/types/src/powell/index.d.ts +0 -28
- package/dist/cjs/types/src/powell/models/common.d.ts +0 -7
- package/dist/cjs/types/src/powell/models/config.d.ts +0 -13
- package/dist/cjs/types/src/powell/models/forms.d.ts +0 -28
- package/dist/cjs/types/src/powell/models/index.d.ts +0 -3
- package/dist/cjs/types/src/powell/utils/globalState.d.ts +0 -19
- package/dist/cjs/types/src/powell/utils/index.d.ts +0 -2
- package/dist/cjs/types/src/powell/utils/utilsService.d.ts +0 -8
- package/dist/cjs/types/vite.config.d.ts +0 -2
- package/dist/esm/index.js +0 -1
- package/dist/esm/types/src/components/Button/Button.d.ts +0 -6
- package/dist/esm/types/src/components/Button/index.d.ts +0 -1
- package/dist/esm/types/src/components/index.d.ts +0 -1
- package/dist/esm/types/src/index.d.ts +0 -1
- package/dist/esm/types/src/powell/api/PowellProvider.d.ts +0 -5
- package/dist/esm/types/src/powell/api/configService.d.ts +0 -2
- package/dist/esm/types/src/powell/api/forms.d.ts +0 -73
- package/dist/esm/types/src/powell/api/index.d.ts +0 -5
- package/dist/esm/types/src/powell/api/powellDefaults.d.ts +0 -2
- package/dist/esm/types/src/powell/api/primereact.d.ts +0 -968
- package/dist/esm/types/src/powell/components/AutoComplete/AutoComplete.d.ts +0 -24
- package/dist/esm/types/src/powell/components/AutoComplete/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Button/Button.d.ts +0 -22
- package/dist/esm/types/src/powell/components/Button/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/CascadeSelect/CascadeSelect.d.ts +0 -24
- package/dist/esm/types/src/powell/components/CascadeSelect/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Checkbox/Checkbox.d.ts +0 -21
- package/dist/esm/types/src/powell/components/Checkbox/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Chips/Chips.d.ts +0 -23
- package/dist/esm/types/src/powell/components/Chips/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/ColorPicker/ColorPicker.d.ts +0 -24
- package/dist/esm/types/src/powell/components/ColorPicker/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Dropdown/Dropdown.d.ts +0 -24
- package/dist/esm/types/src/powell/components/Dropdown/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Editor/Editor.d.ts +0 -23
- package/dist/esm/types/src/powell/components/Editor/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/FormContainer/FormContainer.d.ts +0 -7
- package/dist/esm/types/src/powell/components/FormContainer/FormContext.d.ts +0 -4
- package/dist/esm/types/src/powell/components/FormContainer/index.d.ts +0 -2
- package/dist/esm/types/src/powell/components/InputMask/InputMask.d.ts +0 -24
- package/dist/esm/types/src/powell/components/InputMask/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/InputNumber/InputNumber.d.ts +0 -24
- package/dist/esm/types/src/powell/components/InputNumber/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/InputOtp/InputOtp.d.ts +0 -21
- package/dist/esm/types/src/powell/components/InputOtp/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/InputPassword/InputPassword.d.ts +0 -23
- package/dist/esm/types/src/powell/components/InputPassword/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/InputSwitch/InputSwitch.d.ts +0 -21
- package/dist/esm/types/src/powell/components/InputSwitch/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/InputText/InputText.d.ts +0 -24
- package/dist/esm/types/src/powell/components/InputText/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/InputTextarea/InputTextarea.d.ts +0 -23
- package/dist/esm/types/src/powell/components/InputTextarea/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Knob/Knob.d.ts +0 -20
- package/dist/esm/types/src/powell/components/Knob/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/ListBox/ListBox.d.ts +0 -20
- package/dist/esm/types/src/powell/components/ListBox/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Mention/Mention.d.ts +0 -24
- package/dist/esm/types/src/powell/components/Mention/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/MultiSelect/MultiSelect.d.ts +0 -24
- package/dist/esm/types/src/powell/components/MultiSelect/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +0 -20
- package/dist/esm/types/src/powell/components/MultiStateCheckbox/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/RadioGroup/RadioGroup.d.ts +0 -24
- package/dist/esm/types/src/powell/components/RadioGroup/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Rating/Rating.d.ts +0 -21
- package/dist/esm/types/src/powell/components/Rating/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/SelectButton/SelectButton.d.ts +0 -21
- package/dist/esm/types/src/powell/components/SelectButton/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/Slider/Slider.d.ts +0 -21
- package/dist/esm/types/src/powell/components/Slider/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/ToggleButton/ToggleButton.d.ts +0 -21
- package/dist/esm/types/src/powell/components/ToggleButton/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/TreeSelect/TreeSelect.d.ts +0 -24
- package/dist/esm/types/src/powell/components/TreeSelect/index.d.ts +0 -1
- package/dist/esm/types/src/powell/components/TriStateCheckbox/TriStateCheckbox.d.ts +0 -21
- package/dist/esm/types/src/powell/components/TriStateCheckbox/index.d.ts +0 -1
- package/dist/esm/types/src/powell/hooks/index.d.ts +0 -3
- package/dist/esm/types/src/powell/hooks/useApplyConfig.d.ts +0 -17
- package/dist/esm/types/src/powell/hooks/useFormContext.d.ts +0 -2
- package/dist/esm/types/src/powell/hooks/usePowellConfig.d.ts +0 -2
- package/dist/esm/types/src/powell/index.d.ts +0 -28
- package/dist/esm/types/src/powell/models/common.d.ts +0 -7
- package/dist/esm/types/src/powell/models/config.d.ts +0 -13
- package/dist/esm/types/src/powell/models/forms.d.ts +0 -28
- package/dist/esm/types/src/powell/models/index.d.ts +0 -3
- package/dist/esm/types/src/powell/utils/globalState.d.ts +0 -19
- package/dist/esm/types/src/powell/utils/index.d.ts +0 -2
- package/dist/esm/types/src/powell/utils/utilsService.d.ts +0 -8
- package/dist/esm/types/vite.config.d.ts +0 -2
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $AutoCompleteProps, $IconFieldProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/AutoComplete/AutoComplete.scss';
|
6
|
-
interface AutoCompleteProps extends $AutoCompleteProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
addon?: Addon;
|
19
|
-
inputSize?: Size;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const AutoComplete: (props: AutoCompleteProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./AutoComplete";
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { MouseEvent } from "react";
|
2
|
-
import { $ButtonProps } from "@powell/api";
|
3
|
-
import { ButtonAppearance } from "@powell/models";
|
4
|
-
type ButtonState = 'default' | 'loading' | 'next';
|
5
|
-
interface ButtonOnClickAsyncEvent {
|
6
|
-
loadingCallback: (ok?: boolean) => void;
|
7
|
-
event: MouseEvent<HTMLButtonElement>;
|
8
|
-
}
|
9
|
-
interface ButtonProps extends Omit<$ButtonProps, "loading" | "link" | "text" | "outlined"> {
|
10
|
-
async?: boolean;
|
11
|
-
onClickAsync?: (event: ButtonOnClickAsyncEvent) => void;
|
12
|
-
appearance?: ButtonAppearance;
|
13
|
-
nextLabel?: string;
|
14
|
-
nextIcon?: string;
|
15
|
-
nextRaised?: boolean;
|
16
|
-
nextAppearance?: ButtonAppearance;
|
17
|
-
nextSeverity?: ButtonProps['severity'];
|
18
|
-
state?: ButtonState;
|
19
|
-
onStateChange?: (state: ButtonState) => void;
|
20
|
-
}
|
21
|
-
export declare const Button: import("react").MemoExoticComponent<(props: ButtonProps) => import("react").JSX.Element>;
|
22
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Button";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $CascadeSelectProps, $IconFieldProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/CascadeSelect/CascadeSelect.scss';
|
6
|
-
interface CascadeSelectProps extends $CascadeSelectProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
addon?: Addon;
|
19
|
-
inputSize?: Size;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const CascadeSelect: (props: CascadeSelectProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./CascadeSelect";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@powell/models";
|
3
|
-
import { $CheckboxProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/Checkbox/Checkbox.scss';
|
6
|
-
interface CheckboxProps extends Omit<$CheckboxProps, 'checked'> {
|
7
|
-
checked?: boolean;
|
8
|
-
name?: string;
|
9
|
-
parseError?: (error: string) => ReactNode;
|
10
|
-
transform?: {
|
11
|
-
input?: (value: SafeAny) => string;
|
12
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
13
|
-
};
|
14
|
-
showRequiredStar?: boolean;
|
15
|
-
rtl?: boolean;
|
16
|
-
label?: string;
|
17
|
-
hint?: string;
|
18
|
-
labelPosition?: FixLabelPosition;
|
19
|
-
}
|
20
|
-
export declare const Checkbox: (props: CheckboxProps) => import("react").JSX.Element;
|
21
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Checkbox";
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, SafeAny, Size } from "@powell/models";
|
3
|
-
import { $ChipsChangeEvent, $ChipsProps, $IconFieldProps } from "@powell/api";
|
4
|
-
import '@components/Chips/Chips.scss';
|
5
|
-
interface ChipsProps extends $ChipsProps {
|
6
|
-
name?: string;
|
7
|
-
parseError?: (error: string) => ReactNode;
|
8
|
-
transform?: {
|
9
|
-
input?: (value: SafeAny) => string;
|
10
|
-
output?: (event: $ChipsChangeEvent) => SafeAny;
|
11
|
-
};
|
12
|
-
showRequiredStar?: boolean;
|
13
|
-
rtl?: boolean;
|
14
|
-
label?: string;
|
15
|
-
icon?: string | ReactNode;
|
16
|
-
hint?: string;
|
17
|
-
inputSize?: Size;
|
18
|
-
addon?: Addon;
|
19
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
20
|
-
labelPosition?: LabelPosition;
|
21
|
-
}
|
22
|
-
export declare const Chips: (props: ChipsProps) => import("react").JSX.Element;
|
23
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Chips";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $ColorPickerProps, $IconFieldProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/ColorPicker/ColorPicker.scss';
|
6
|
-
interface ColorPickerProps extends $ColorPickerProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
inputSize?: Size;
|
19
|
-
addon?: Addon;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const ColorPicker: (props: ColorPickerProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./ColorPicker";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $DropdownProps, $IconFieldProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/Dropdown/Dropdown.scss';
|
6
|
-
interface DropdownProps extends $DropdownProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
inputSize?: Size;
|
19
|
-
addon?: Addon;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const Dropdown: (props: DropdownProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Dropdown";
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition } from "@powell/models";
|
3
|
-
import { $EditorProps, $IconFieldProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/Editor/Editor.scss';
|
6
|
-
interface EditorProps extends $EditorProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
addon?: Addon;
|
19
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
20
|
-
labelPosition?: LabelPosition;
|
21
|
-
}
|
22
|
-
export declare const Editor: (props: EditorProps) => import("react").JSX.Element;
|
23
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Editor";
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { $FormikConfig, $FormikContextType, $FormikValues } from "@powell/api";
|
2
|
-
interface FormContainerProps<T extends $FormikValues> extends $FormikConfig<T> {
|
3
|
-
onInit?: (context: $FormikContextType<T>) => void;
|
4
|
-
className?: string;
|
5
|
-
}
|
6
|
-
export declare const FormContainer: import("react").ForwardRefExoticComponent<FormContainerProps<$FormikValues> & import("react").RefAttributes<HTMLFormElement>>;
|
7
|
-
export {};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { PropsWithChildren } from "react";
|
2
|
-
import { $FormikConfig, $FormikValues } from "@powell/api";
|
3
|
-
export declare const FormContext: import("react").Context<$FormikConfig<$FormikValues> | undefined>;
|
4
|
-
export declare const FormProvider: <T extends $FormikValues>(props: PropsWithChildren<$FormikConfig<T>>) => import("react").JSX.Element;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $IconFieldProps, $InputMaskProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/InputMask/InputMask.scss';
|
6
|
-
interface InputMaskProps extends $InputMaskProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
inputSize?: Size;
|
19
|
-
addon?: Addon;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const InputMask: (props: InputMaskProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./InputMask";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $IconFieldProps, $InputNumberProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/InputNumber/InputNumber.scss';
|
6
|
-
interface InputNumberProps extends $InputNumberProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
inputSize?: Size;
|
19
|
-
addon?: Addon;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const InputNumber: (props: InputNumberProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./InputNumber";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, Size } from "@powell/models";
|
3
|
-
import { $InputOtpProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/InputOtp/InputOtp.scss';
|
6
|
-
interface InputOtpProps extends $InputOtpProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
hint?: string;
|
17
|
-
inputSize?: Size;
|
18
|
-
labelPosition?: FixLabelPosition;
|
19
|
-
}
|
20
|
-
export declare const InputOtp: (props: InputOtpProps) => import("react").JSX.Element;
|
21
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./InputOtp";
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, SafeAny, Size } from "@powell/models";
|
3
|
-
import { $IconFieldProps, $PasswordProps } from "@powell/api";
|
4
|
-
import '@components/InputPassword/InputPassword.scss';
|
5
|
-
interface InputPasswordProps extends $PasswordProps {
|
6
|
-
name?: string;
|
7
|
-
parseError?: (error: string) => ReactNode;
|
8
|
-
transform?: {
|
9
|
-
input?: (value: SafeAny) => string;
|
10
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
11
|
-
};
|
12
|
-
showRequiredStar?: boolean;
|
13
|
-
rtl?: boolean;
|
14
|
-
label?: string;
|
15
|
-
icon?: string | ReactNode;
|
16
|
-
hint?: string;
|
17
|
-
inputSize?: Size;
|
18
|
-
addon?: Addon;
|
19
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
20
|
-
labelPosition?: LabelPosition;
|
21
|
-
}
|
22
|
-
export declare const InputPassword: (props: InputPasswordProps) => import("react").JSX.Element;
|
23
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./InputPassword";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@powell/models";
|
3
|
-
import { $InputSwitchProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/InputSwitch/InputSwitch.scss';
|
6
|
-
interface InputSwitchProps extends Omit<$InputSwitchProps, 'checked'> {
|
7
|
-
checked?: boolean;
|
8
|
-
name?: string;
|
9
|
-
parseError?: (error: string) => ReactNode;
|
10
|
-
transform?: {
|
11
|
-
input?: (value: SafeAny) => string;
|
12
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
13
|
-
};
|
14
|
-
showRequiredStar?: boolean;
|
15
|
-
rtl?: boolean;
|
16
|
-
label?: string;
|
17
|
-
hint?: string;
|
18
|
-
labelPosition?: FixLabelPosition;
|
19
|
-
}
|
20
|
-
export declare const InputSwitch: (props: InputSwitchProps) => import("react").JSX.Element;
|
21
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./InputSwitch";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $IconFieldProps, $InputTextProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/InputText/InputText.scss';
|
6
|
-
interface InputTextProps extends $InputTextProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
inputSize?: Size;
|
19
|
-
addon?: Addon;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const InputText: (props: InputTextProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./InputText";
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition } from "@powell/models";
|
3
|
-
import { $IconFieldProps, $InputTextareaProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/InputTextarea/InputTextarea.scss';
|
6
|
-
interface InputTextareaProps extends $InputTextareaProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
addon?: Addon;
|
19
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
20
|
-
labelPosition?: LabelPosition;
|
21
|
-
}
|
22
|
-
export declare const InputTextarea: (props: InputTextareaProps) => import("react").JSX.Element;
|
23
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./InputTextarea";
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, SafeAny } from "@powell/models";
|
3
|
-
import { $KnobProps } from "@powell/api";
|
4
|
-
import '@components/Knob/Knob.scss';
|
5
|
-
interface KnobProps extends Omit<$KnobProps, 'checked'> {
|
6
|
-
checked?: boolean;
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
hint?: string;
|
17
|
-
labelPosition?: FixLabelPosition;
|
18
|
-
}
|
19
|
-
export declare const Knob: (props: KnobProps) => import("react").JSX.Element;
|
20
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Knob";
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, SafeAny } from "@powell/models";
|
3
|
-
import { $ListBoxProps } from "@powell/api";
|
4
|
-
import '@components/ListBox/ListBox.scss';
|
5
|
-
interface ListBoxProps extends Omit<$ListBoxProps, 'checked'> {
|
6
|
-
checked?: boolean;
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
hint?: string;
|
17
|
-
labelPosition?: FixLabelPosition;
|
18
|
-
}
|
19
|
-
export declare const ListBox: (props: ListBoxProps) => import("react").JSX.Element;
|
20
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./ListBox";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $IconFieldProps, $MentionProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/Mention/Mention.scss';
|
6
|
-
interface MentionProps extends $MentionProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
inputSize?: Size;
|
19
|
-
addon?: Addon;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const Mention: (props: MentionProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Mention";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
-
import { $IconFieldProps, $MultiSelectProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/MultiSelect/MultiSelect.scss';
|
6
|
-
interface MultiSelectProps extends $MultiSelectProps {
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
icon?: string | ReactNode;
|
17
|
-
hint?: string;
|
18
|
-
inputSize?: Size;
|
19
|
-
addon?: Addon;
|
20
|
-
iconPosition?: $IconFieldProps["iconPosition"];
|
21
|
-
labelPosition?: LabelPosition;
|
22
|
-
}
|
23
|
-
export declare const MultiSelect: (props: MultiSelectProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./MultiSelect";
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, SafeAny } from "@powell/models";
|
3
|
-
import { $MultiStateCheckboxProps } from "@powell/api";
|
4
|
-
import '@components/MultiStateCheckbox/MultiStateCheckbox.scss';
|
5
|
-
interface MultiStateCheckboxProps extends Omit<$MultiStateCheckboxProps, 'checked'> {
|
6
|
-
checked?: boolean;
|
7
|
-
name?: string;
|
8
|
-
parseError?: (error: string) => ReactNode;
|
9
|
-
transform?: {
|
10
|
-
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
12
|
-
};
|
13
|
-
showRequiredStar?: boolean;
|
14
|
-
rtl?: boolean;
|
15
|
-
label?: string;
|
16
|
-
hint?: string;
|
17
|
-
labelPosition?: FixLabelPosition;
|
18
|
-
}
|
19
|
-
export declare const MultiStateCheckbox: (props: MultiStateCheckboxProps) => import("react").JSX.Element;
|
20
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./MultiStateCheckbox";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@powell/models";
|
3
|
-
import { $RadioButtonProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/RadioGroup/RadioGroup.scss';
|
6
|
-
interface RadioGroupProps extends Omit<$RadioButtonProps, 'checked'> {
|
7
|
-
checked?: boolean;
|
8
|
-
name: string;
|
9
|
-
parseError?: (error: string) => ReactNode;
|
10
|
-
transform?: {
|
11
|
-
input?: (value: SafeAny) => string;
|
12
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
13
|
-
};
|
14
|
-
showRequiredStar?: boolean;
|
15
|
-
rtl?: boolean;
|
16
|
-
label?: string;
|
17
|
-
hint?: string;
|
18
|
-
labelPosition?: FixLabelPosition;
|
19
|
-
options: SafeAny[];
|
20
|
-
optionLabel?: string;
|
21
|
-
optionValue?: string;
|
22
|
-
}
|
23
|
-
export declare const RadioGroup: (props: RadioGroupProps) => import("react").JSX.Element;
|
24
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./RadioGroup";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@powell/models";
|
3
|
-
import { $RatingProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/Rating/Rating.scss';
|
6
|
-
interface RatingProps extends Omit<$RatingProps, 'checked'> {
|
7
|
-
checked?: boolean;
|
8
|
-
name?: string;
|
9
|
-
parseError?: (error: string) => ReactNode;
|
10
|
-
transform?: {
|
11
|
-
input?: (value: SafeAny) => string;
|
12
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
13
|
-
};
|
14
|
-
showRequiredStar?: boolean;
|
15
|
-
rtl?: boolean;
|
16
|
-
label?: string;
|
17
|
-
hint?: string;
|
18
|
-
labelPosition?: FixLabelPosition;
|
19
|
-
}
|
20
|
-
export declare const Rating: (props: RatingProps) => import("react").JSX.Element;
|
21
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Rating";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@powell/models";
|
3
|
-
import { $SelectButtonProps } from "@powell/api";
|
4
|
-
import { SafeAny } from "@powell/models";
|
5
|
-
import '@components/SelectButton/SelectButton.scss';
|
6
|
-
interface SelectButtonProps extends Omit<$SelectButtonProps, 'checked'> {
|
7
|
-
checked?: boolean;
|
8
|
-
name?: string;
|
9
|
-
parseError?: (error: string) => ReactNode;
|
10
|
-
transform?: {
|
11
|
-
input?: (value: SafeAny) => string;
|
12
|
-
output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
|
13
|
-
};
|
14
|
-
showRequiredStar?: boolean;
|
15
|
-
rtl?: boolean;
|
16
|
-
label?: string;
|
17
|
-
hint?: string;
|
18
|
-
labelPosition?: FixLabelPosition;
|
19
|
-
}
|
20
|
-
export declare const SelectButton: (props: SelectButtonProps) => import("react").JSX.Element;
|
21
|
-
export {};
|