@react-form-builder/components-rsuite 0.0.4-alpha → 0.0.6
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/css/rsuite-rtl.min.css +2 -0
- package/dist/css/rsuite.min.css +2 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.js +395 -365
- package/dist/index.js.map +1 -1
- package/dist/rsuite-rtl.min-86303d14.js +5 -0
- package/dist/rsuite-rtl.min-86303d14.js.map +1 -0
- package/dist/rsuite.min-4d4b75f9.js +5 -0
- package/dist/rsuite.min-4d4b75f9.js.map +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Definer } from '@react-form-builder/core';
|
|
2
|
+
import { ErrorWrapperProps } from '@react-form-builder/core';
|
|
3
|
+
import type { FormViewerWrapperComponentProps } from '@react-form-builder/core';
|
|
4
|
+
import { JSX as JSX_2 } from '@emotion/react/jsx-runtime';
|
|
5
|
+
import { Model } from '@react-form-builder/core';
|
|
6
|
+
import type { OverlayTriggerType } from 'rsuite/esm/Overlay/OverlayTrigger';
|
|
7
|
+
import type { TypeAttributes } from 'rsuite/esm/@types/common';
|
|
8
|
+
import { View } from '@react-form-builder/core';
|
|
9
|
+
import { WrapperProps } from '@react-form-builder/core';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Loads the Left-To-Right (LTR) CSS for the "rsuite" library.
|
|
13
|
+
* @returns the Promise that resolves when the LTR CSS has been loaded successfully.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ltrCssLoader: () => Promise<void>;
|
|
16
|
+
|
|
17
|
+
export declare const models: Model<any>[];
|
|
18
|
+
|
|
19
|
+
export declare const rsErrorMessage: Definer<RsErrorMessageProps>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The properties of RsErrorMessage component.
|
|
23
|
+
*/
|
|
24
|
+
export declare interface RsErrorMessageProps extends ErrorWrapperProps {
|
|
25
|
+
placement?: TypeAttributes.Placement8;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Wrapper component for RSuite components localization.
|
|
30
|
+
* @param props the component props.
|
|
31
|
+
* @param props.language the language object containing the language information.
|
|
32
|
+
* @param props.children the children components to be wrapped.
|
|
33
|
+
* @returns the wrapped components with localization settings applied.
|
|
34
|
+
*/
|
|
35
|
+
export declare const RsLocalizationWrapper: ({ language, children }: FormViewerWrapperComponentProps) => JSX_2.Element;
|
|
36
|
+
|
|
37
|
+
export declare const rsTooltip: Definer<RsTooltipProps>;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The properties of RsTooltip component.
|
|
41
|
+
*/
|
|
42
|
+
export declare interface RsTooltipProps extends WrapperProps {
|
|
43
|
+
text: string;
|
|
44
|
+
placement: TypeAttributes.Placement;
|
|
45
|
+
trigger: OverlayTriggerType;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export declare const rSuiteComponents: Definer<any>[];
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Loads the Right-to-Left (RTL) CSS for the "rsuite" library.
|
|
52
|
+
* @returns the Promise that resolves when the RTL CSS has been loaded successfully.
|
|
53
|
+
*/
|
|
54
|
+
export declare const rtlCssLoader: () => Promise<void>;
|
|
55
|
+
|
|
56
|
+
export declare const view: View;
|
|
57
|
+
|
|
58
|
+
export { }
|