react-crud-mobile 1.3.413 → 1.3.503
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.d.mts +58 -0
- package/dist/index.d.ts +58 -1
- package/dist/index.js +2531 -5
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2556 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +75 -75
- package/src/elements/core/UIAutoComplete.tsx +17 -17
- package/src/elements/core/UILink.tsx +17 -17
- package/src/elements/core/UIListItem.tsx +32 -32
- package/src/elements/core/UIListRow.tsx +2 -1
- package/src/elements/core/UIOption.tsx +17 -17
- package/src/elements/core/UIRadio.tsx +17 -17
- package/src/elements/core/UISlider.tsx +61 -61
- package/src/elements/core/UIStatusBar.tsx +5 -5
- package/src/elements/core/UISwitch.tsx +27 -27
- package/src/hooks/useIsVisible.ts +39 -39
- package/src/utils/MobileUtils.ts +13 -13
- package/dist/elements/UI.d.ts +0 -49
- package/dist/elements/UIChildren.d.ts +0 -15
- package/dist/elements/UIComplete.d.ts +0 -3
- package/dist/elements/UIElement.d.ts +0 -3
- package/dist/elements/UITag.d.ts +0 -7
- package/dist/elements/charts/ElChart.d.ts +0 -3
- package/dist/elements/core/SafeView.d.ts +0 -9
- package/dist/elements/core/UIAutoComplete.d.ts +0 -2
- package/dist/elements/core/UIButton.d.ts +0 -3
- package/dist/elements/core/UIHeader.d.ts +0 -3
- package/dist/elements/core/UIIcon.d.ts +0 -3
- package/dist/elements/core/UIInclude.d.ts +0 -3
- package/dist/elements/core/UIInput.d.ts +0 -3
- package/dist/elements/core/UILink.d.ts +0 -2
- package/dist/elements/core/UIList.d.ts +0 -3
- package/dist/elements/core/UIListItem.d.ts +0 -7
- package/dist/elements/core/UIListRow.d.ts +0 -8
- package/dist/elements/core/UIModal.d.ts +0 -8
- package/dist/elements/core/UIOption.d.ts +0 -2
- package/dist/elements/core/UIOrder.d.ts +0 -3
- package/dist/elements/core/UIQuantity.d.ts +0 -3
- package/dist/elements/core/UIRadio.d.ts +0 -2
- package/dist/elements/core/UISelect.d.ts +0 -3
- package/dist/elements/core/UISlider.d.ts +0 -3
- package/dist/elements/core/UIStatusBar.d.ts +0 -2
- package/dist/elements/core/UISwitch.d.ts +0 -3
- package/dist/elements/core/UIToast.d.ts +0 -2
- package/dist/elements/core/UIToggle.d.ts +0 -3
- package/dist/elements/core/UIView.d.ts +0 -3
- package/dist/elements/index.d.ts +0 -1
- package/dist/elements/tabs/ElTabs.d.ts +0 -3
- package/dist/hooks/useIsVisible.d.ts +0 -2
- package/dist/react-crud-mobile.cjs.development.js +0 -2906
- package/dist/react-crud-mobile.cjs.development.js.map +0 -1
- package/dist/react-crud-mobile.cjs.production.min.js +0 -2
- package/dist/react-crud-mobile.cjs.production.min.js.map +0 -1
- package/dist/react-crud-mobile.esm.js +0 -2898
- package/dist/react-crud-mobile.esm.js.map +0 -1
- package/dist/utils/MobileUtils.d.ts +0 -3
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ListType, UserType, DefineType, InputType, ButtonType, LinkType, IconType, ContainerType, TabsType, ChartType, ListInputType, SliderType } from 'react-crud-utils';
|
|
3
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
|
|
5
|
+
interface SafeViewType {
|
|
6
|
+
safeStyle?: StyleProp<ViewStyle> | any;
|
|
7
|
+
viewStyle?: StyleProp<ViewStyle> | any;
|
|
8
|
+
children?: any;
|
|
9
|
+
}
|
|
10
|
+
declare function SafeView(props: SafeViewType): react.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare const UI: {
|
|
13
|
+
Order: (props: ListType) => react.JSX.Element;
|
|
14
|
+
List: (props: ListType) => react.JSX.Element;
|
|
15
|
+
Row: (props: UserType) => react.JSX.Element;
|
|
16
|
+
Value: (props: UserType) => react.JSX.Element;
|
|
17
|
+
Label: (props: UserType) => react.JSX.Element;
|
|
18
|
+
Repeat: (props: ListType) => react.JSX.Element;
|
|
19
|
+
Define: (props: DefineType) => react.JSX.Element;
|
|
20
|
+
Include: (props: DefineType) => react.JSX.Element;
|
|
21
|
+
Column: ({ type, ...props }: UserType) => react.JSX.Element;
|
|
22
|
+
Input: (props: InputType) => react.JSX.Element;
|
|
23
|
+
Text: (props: InputType) => react.JSX.Element;
|
|
24
|
+
Textarea: (props: InputType) => react.JSX.Element;
|
|
25
|
+
Email: (props: InputType) => react.JSX.Element;
|
|
26
|
+
Button: (props: ButtonType) => react.JSX.Element;
|
|
27
|
+
Link: (props: LinkType) => react.JSX.Element;
|
|
28
|
+
Icon: (props: IconType) => react.JSX.Element;
|
|
29
|
+
Output: (props: ContainerType) => react.JSX.Element;
|
|
30
|
+
Form: (props: ContainerType) => react.JSX.Element;
|
|
31
|
+
Crud: (props: ContainerType) => react.JSX.Element;
|
|
32
|
+
View: (props: ContainerType) => react.JSX.Element;
|
|
33
|
+
Bottom: (props: ContainerType) => react.JSX.Element;
|
|
34
|
+
Dialog: (props: ContainerType) => react.JSX.Element;
|
|
35
|
+
Content: (props: ContainerType) => react.JSX.Element;
|
|
36
|
+
Top: (props: ContainerType) => react.JSX.Element;
|
|
37
|
+
Card: (props: ContainerType) => react.JSX.Element;
|
|
38
|
+
Tab: (props: ContainerType) => react.JSX.Element;
|
|
39
|
+
Tabs: (props: TabsType) => react.JSX.Element;
|
|
40
|
+
Step: (props: ContainerType) => react.JSX.Element;
|
|
41
|
+
Stepper: (props: TabsType) => react.JSX.Element;
|
|
42
|
+
Money: (props: InputType) => react.JSX.Element;
|
|
43
|
+
Chart: (props: ChartType) => react.JSX.Element;
|
|
44
|
+
Password: (props: InputType) => react.JSX.Element;
|
|
45
|
+
Complete: (props: InputType) => react.JSX.Element;
|
|
46
|
+
Checkbox: (props: InputType) => react.JSX.Element;
|
|
47
|
+
Switch: (props: InputType) => react.JSX.Element;
|
|
48
|
+
Radio: (props: ListInputType) => react.JSX.Element;
|
|
49
|
+
Select: (props: ListInputType) => react.JSX.Element;
|
|
50
|
+
Toggle: (props: ListInputType) => react.JSX.Element;
|
|
51
|
+
Entity: (props: ListInputType) => react.JSX.Element;
|
|
52
|
+
Element: (props: ListInputType) => react.JSX.Element;
|
|
53
|
+
Quantity: (props: ListInputType) => react.JSX.Element;
|
|
54
|
+
Slider: (props: SliderType) => react.JSX.Element;
|
|
55
|
+
SafeView: typeof SafeView;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export { UI };
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ListType, UserType, DefineType, InputType, ButtonType, LinkType, IconType, ContainerType, TabsType, ChartType, ListInputType, SliderType } from 'react-crud-utils';
|
|
3
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
|
|
5
|
+
interface SafeViewType {
|
|
6
|
+
safeStyle?: StyleProp<ViewStyle> | any;
|
|
7
|
+
viewStyle?: StyleProp<ViewStyle> | any;
|
|
8
|
+
children?: any;
|
|
9
|
+
}
|
|
10
|
+
declare function SafeView(props: SafeViewType): react.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare const UI: {
|
|
13
|
+
Order: (props: ListType) => react.JSX.Element;
|
|
14
|
+
List: (props: ListType) => react.JSX.Element;
|
|
15
|
+
Row: (props: UserType) => react.JSX.Element;
|
|
16
|
+
Value: (props: UserType) => react.JSX.Element;
|
|
17
|
+
Label: (props: UserType) => react.JSX.Element;
|
|
18
|
+
Repeat: (props: ListType) => react.JSX.Element;
|
|
19
|
+
Define: (props: DefineType) => react.JSX.Element;
|
|
20
|
+
Include: (props: DefineType) => react.JSX.Element;
|
|
21
|
+
Column: ({ type, ...props }: UserType) => react.JSX.Element;
|
|
22
|
+
Input: (props: InputType) => react.JSX.Element;
|
|
23
|
+
Text: (props: InputType) => react.JSX.Element;
|
|
24
|
+
Textarea: (props: InputType) => react.JSX.Element;
|
|
25
|
+
Email: (props: InputType) => react.JSX.Element;
|
|
26
|
+
Button: (props: ButtonType) => react.JSX.Element;
|
|
27
|
+
Link: (props: LinkType) => react.JSX.Element;
|
|
28
|
+
Icon: (props: IconType) => react.JSX.Element;
|
|
29
|
+
Output: (props: ContainerType) => react.JSX.Element;
|
|
30
|
+
Form: (props: ContainerType) => react.JSX.Element;
|
|
31
|
+
Crud: (props: ContainerType) => react.JSX.Element;
|
|
32
|
+
View: (props: ContainerType) => react.JSX.Element;
|
|
33
|
+
Bottom: (props: ContainerType) => react.JSX.Element;
|
|
34
|
+
Dialog: (props: ContainerType) => react.JSX.Element;
|
|
35
|
+
Content: (props: ContainerType) => react.JSX.Element;
|
|
36
|
+
Top: (props: ContainerType) => react.JSX.Element;
|
|
37
|
+
Card: (props: ContainerType) => react.JSX.Element;
|
|
38
|
+
Tab: (props: ContainerType) => react.JSX.Element;
|
|
39
|
+
Tabs: (props: TabsType) => react.JSX.Element;
|
|
40
|
+
Step: (props: ContainerType) => react.JSX.Element;
|
|
41
|
+
Stepper: (props: TabsType) => react.JSX.Element;
|
|
42
|
+
Money: (props: InputType) => react.JSX.Element;
|
|
43
|
+
Chart: (props: ChartType) => react.JSX.Element;
|
|
44
|
+
Password: (props: InputType) => react.JSX.Element;
|
|
45
|
+
Complete: (props: InputType) => react.JSX.Element;
|
|
46
|
+
Checkbox: (props: InputType) => react.JSX.Element;
|
|
47
|
+
Switch: (props: InputType) => react.JSX.Element;
|
|
48
|
+
Radio: (props: ListInputType) => react.JSX.Element;
|
|
49
|
+
Select: (props: ListInputType) => react.JSX.Element;
|
|
50
|
+
Toggle: (props: ListInputType) => react.JSX.Element;
|
|
51
|
+
Entity: (props: ListInputType) => react.JSX.Element;
|
|
52
|
+
Element: (props: ListInputType) => react.JSX.Element;
|
|
53
|
+
Quantity: (props: ListInputType) => react.JSX.Element;
|
|
54
|
+
Slider: (props: SliderType) => react.JSX.Element;
|
|
55
|
+
SafeView: typeof SafeView;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export { UI };
|