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.
Files changed (57) hide show
  1. package/dist/index.d.mts +58 -0
  2. package/dist/index.d.ts +58 -1
  3. package/dist/index.js +2531 -5
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +2556 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +75 -75
  8. package/src/elements/core/UIAutoComplete.tsx +17 -17
  9. package/src/elements/core/UILink.tsx +17 -17
  10. package/src/elements/core/UIListItem.tsx +32 -32
  11. package/src/elements/core/UIListRow.tsx +2 -1
  12. package/src/elements/core/UIOption.tsx +17 -17
  13. package/src/elements/core/UIRadio.tsx +17 -17
  14. package/src/elements/core/UISlider.tsx +61 -61
  15. package/src/elements/core/UIStatusBar.tsx +5 -5
  16. package/src/elements/core/UISwitch.tsx +27 -27
  17. package/src/hooks/useIsVisible.ts +39 -39
  18. package/src/utils/MobileUtils.ts +13 -13
  19. package/dist/elements/UI.d.ts +0 -49
  20. package/dist/elements/UIChildren.d.ts +0 -15
  21. package/dist/elements/UIComplete.d.ts +0 -3
  22. package/dist/elements/UIElement.d.ts +0 -3
  23. package/dist/elements/UITag.d.ts +0 -7
  24. package/dist/elements/charts/ElChart.d.ts +0 -3
  25. package/dist/elements/core/SafeView.d.ts +0 -9
  26. package/dist/elements/core/UIAutoComplete.d.ts +0 -2
  27. package/dist/elements/core/UIButton.d.ts +0 -3
  28. package/dist/elements/core/UIHeader.d.ts +0 -3
  29. package/dist/elements/core/UIIcon.d.ts +0 -3
  30. package/dist/elements/core/UIInclude.d.ts +0 -3
  31. package/dist/elements/core/UIInput.d.ts +0 -3
  32. package/dist/elements/core/UILink.d.ts +0 -2
  33. package/dist/elements/core/UIList.d.ts +0 -3
  34. package/dist/elements/core/UIListItem.d.ts +0 -7
  35. package/dist/elements/core/UIListRow.d.ts +0 -8
  36. package/dist/elements/core/UIModal.d.ts +0 -8
  37. package/dist/elements/core/UIOption.d.ts +0 -2
  38. package/dist/elements/core/UIOrder.d.ts +0 -3
  39. package/dist/elements/core/UIQuantity.d.ts +0 -3
  40. package/dist/elements/core/UIRadio.d.ts +0 -2
  41. package/dist/elements/core/UISelect.d.ts +0 -3
  42. package/dist/elements/core/UISlider.d.ts +0 -3
  43. package/dist/elements/core/UIStatusBar.d.ts +0 -2
  44. package/dist/elements/core/UISwitch.d.ts +0 -3
  45. package/dist/elements/core/UIToast.d.ts +0 -2
  46. package/dist/elements/core/UIToggle.d.ts +0 -3
  47. package/dist/elements/core/UIView.d.ts +0 -3
  48. package/dist/elements/index.d.ts +0 -1
  49. package/dist/elements/tabs/ElTabs.d.ts +0 -3
  50. package/dist/hooks/useIsVisible.d.ts +0 -2
  51. package/dist/react-crud-mobile.cjs.development.js +0 -2906
  52. package/dist/react-crud-mobile.cjs.development.js.map +0 -1
  53. package/dist/react-crud-mobile.cjs.production.min.js +0 -2
  54. package/dist/react-crud-mobile.cjs.production.min.js.map +0 -1
  55. package/dist/react-crud-mobile.esm.js +0 -2898
  56. package/dist/react-crud-mobile.esm.js.map +0 -1
  57. package/dist/utils/MobileUtils.d.ts +0 -3
@@ -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
- export * from './elements';
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 };