native-pytech 1.0.137 → 1.0.139

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 (122) hide show
  1. package/dist/libs/assets/ionicons/Ionicons.d.ts +2 -2
  2. package/dist/libs/assets/ionicons/Ionicons.js +0 -1
  3. package/dist/libs/colorPage/src/Content/index.android.d.ts +1 -2
  4. package/dist/libs/colorPage/src/Content/index.android.js +1 -1
  5. package/dist/libs/colorPage/src/Content/index.d.ts +2 -2
  6. package/dist/libs/colorPage/src/Content/index.ios.d.ts +1 -2
  7. package/dist/libs/colorPage/src/Content/index.ios.js +1 -1
  8. package/dist/libs/colorPage/src/Content/index.js +20 -1
  9. package/dist/libs/colorPage/src/Item/index.d.ts +2 -2
  10. package/dist/libs/colorPage/src/Item/index.ios.d.ts +1 -2
  11. package/dist/libs/colorPage/src/Item/index.ios.js +1 -1
  12. package/dist/libs/colorPage/src/Item/index.js +22 -1
  13. package/dist/libs/colorPage/src/Page/index.d.ts +1 -2
  14. package/dist/libs/colorPage/src/Page/index.js +1 -1
  15. package/dist/libs/components/CloseButton.d.ts +2 -3
  16. package/dist/libs/components/CloseButton.js +1 -1
  17. package/dist/libs/components/Gradient/components/Gradient/index.d.ts +1 -2
  18. package/dist/libs/components/Gradient/components/Gradient/index.ios.d.ts +1 -2
  19. package/dist/libs/components/Gradient/components/Gradient/index.ios.js +1 -1
  20. package/dist/libs/components/Gradient/components/Gradient/index.js +1 -1
  21. package/dist/libs/editPage/src/components/Item/index.ios.d.ts +1 -2
  22. package/dist/libs/editPage/src/components/Item/index.ios.js +1 -1
  23. package/dist/libs/editPage/src/components/ItemDate/index.ios.d.ts +1 -2
  24. package/dist/libs/editPage/src/components/ItemDate/index.ios.js +1 -1
  25. package/dist/libs/editPage/src/components/TextField/index.ios.d.ts +1 -2
  26. package/dist/libs/editPage/src/components/TextField/index.ios.js +1 -1
  27. package/dist/libs/editPage/src/components/Wrapper/index.d.ts +1 -2
  28. package/dist/libs/editPage/src/components/Wrapper/index.js +1 -1
  29. package/dist/libs/footer/src/components/Button/index.ios.d.ts +1 -2
  30. package/dist/libs/footer/src/components/Button/index.ios.js +1 -1
  31. package/dist/libs/footer/src/components/Footer/index.ios.d.ts +1 -2
  32. package/dist/libs/footer/src/components/Footer/index.ios.js +1 -1
  33. package/dist/libs/footer/src/components/View.d.ts +2 -3
  34. package/dist/libs/footer/src/components/View.js +1 -1
  35. package/dist/libs/login/src/Screen/components/Input/index.d.ts +1 -2
  36. package/dist/libs/login/src/Screen/components/Input/index.js +1 -1
  37. package/dist/libs/page/src/components/Page/index.android.d.ts +1 -2
  38. package/dist/libs/page/src/components/Page/index.android.js +1 -1
  39. package/dist/libs/page/src/components/Page/index.d.ts +1 -2
  40. package/dist/libs/page/src/components/Page/index.js +1 -1
  41. package/dist/libs/page/src/components/PageWrapper/index.js +1 -1
  42. package/dist/libs/page/src/components/Subtitle.d.ts +2 -3
  43. package/dist/libs/page/src/components/Subtitle.js +1 -1
  44. package/dist/libs/page/src/components/WithIcon/index.js +1 -1
  45. package/dist/libs/pickerPage/src/components/Content/index.d.ts +1 -2
  46. package/dist/libs/pickerPage/src/components/Content/index.ios.d.ts +1 -2
  47. package/dist/libs/pickerPage/src/components/Content/index.ios.js +1 -1
  48. package/dist/libs/pickerPage/src/components/Content/index.js +1 -1
  49. package/dist/libs/pickerPage/src/components/Item/index.d.ts +1 -2
  50. package/dist/libs/pickerPage/src/components/Item/index.ios.d.ts +1 -2
  51. package/dist/libs/pickerPage/src/components/Item/index.ios.js +1 -1
  52. package/dist/libs/pickerPage/src/components/Item/index.js +1 -1
  53. package/dist/libs/pickerPage/src/components/Page/index.d.ts +1 -2
  54. package/dist/libs/pickerPage/src/components/Page/index.js +1 -1
  55. package/dist/libs/providers/App/index.d.ts +1 -2
  56. package/dist/libs/providers/App/index.js +1 -1
  57. package/dist/libs/sections/Icon/src/Section.ios.d.ts +1 -2
  58. package/dist/libs/sections/Icon/src/Section.ios.js +1 -1
  59. package/dist/libs/sections/Icon/src/index.ios.d.ts +1 -2
  60. package/dist/libs/sections/Icon/src/index.ios.js +1 -1
  61. package/dist/libs/sections/Icon/src/index.js +1 -1
  62. package/dist/libs/segmentedControl/src/components/AnimatedChip/index.d.ts +1 -2
  63. package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +1 -1
  64. package/dist/libs/segmentedControl/src/components/Container/index.d.ts +1 -2
  65. package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +1 -2
  66. package/dist/libs/segmentedControl/src/components/Container/index.ios.js +1 -1
  67. package/dist/libs/segmentedControl/src/components/Container/index.js +1 -1
  68. package/dist/libs/segmentedControl/src/components/Item/index.d.ts +1 -2
  69. package/dist/libs/segmentedControl/src/components/Item/index.js +1 -1
  70. package/dist/libs/segmentedControl/src/components/Segmented/index.d.ts +1 -2
  71. package/dist/libs/segmentedControl/src/components/Segmented/index.js +1 -1
  72. package/dist/libs/segmentedControl/src/components/Wrapper/index.d.ts +1 -2
  73. package/dist/libs/segmentedControl/src/components/Wrapper/index.js +1 -1
  74. package/dist/libs/segmentedControl/src/context/shared.d.ts +2 -3
  75. package/dist/libs/segmentedControl/src/context/shared.js +1 -1
  76. package/dist/libs/swiftui/src/components/Dialog/index.d.ts +1 -2
  77. package/dist/libs/swiftui/src/components/Dialog/index.js +1 -1
  78. package/dist/libs/swiftui/src/components/Icon.d.ts +1 -2
  79. package/dist/libs/swiftui/src/components/Icon.js +1 -1
  80. package/dist/libs/swiftui/src/components/IconSection/Icon.d.ts +1 -2
  81. package/dist/libs/swiftui/src/components/IconSection/Icon.js +1 -1
  82. package/dist/libs/swiftui/src/components/IconSection/Section.d.ts +1 -2
  83. package/dist/libs/swiftui/src/components/IconSection/Section.js +1 -1
  84. package/dist/libs/swiftui/src/components/List/BaseList/index.d.ts +1 -2
  85. package/dist/libs/swiftui/src/components/List/BaseList/index.js +1 -1
  86. package/dist/libs/swiftui/src/components/List/Editable/List/index.d.ts +1 -2
  87. package/dist/libs/swiftui/src/components/List/Editable/List/index.js +1 -1
  88. package/dist/libs/swiftui/src/components/List/Editable/Section/index.d.ts +1 -2
  89. package/dist/libs/swiftui/src/components/List/Editable/Section/index.js +1 -1
  90. package/dist/libs/swiftui/src/components/NavigationLink/Trailing.d.ts +1 -2
  91. package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +1 -1
  92. package/dist/libs/swiftui/src/components/NavigationLink/index.d.ts +1 -2
  93. package/dist/libs/swiftui/src/components/NavigationLink/index.js +1 -1
  94. package/dist/libs/swiftui/src/components/Picker.d.ts +1 -2
  95. package/dist/libs/swiftui/src/components/Picker.js +1 -1
  96. package/dist/libs/swiftui/src/components/Text.d.ts +2 -3
  97. package/dist/libs/swiftui/src/components/Text.js +1 -1
  98. package/dist/libs/swiftui/src/components/TextSubtitle.d.ts +1 -2
  99. package/dist/libs/swiftui/src/components/TextSubtitle.js +1 -1
  100. package/dist/libs/table/src/components/Borders.d.ts +2 -3
  101. package/dist/libs/table/src/components/Borders.js +1 -1
  102. package/dist/libs/table/src/components/Delete/index.d.ts +1 -2
  103. package/dist/libs/table/src/components/Delete/index.js +1 -1
  104. package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +1 -2
  105. package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +1 -1
  106. package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +1 -2
  107. package/dist/libs/table/src/components/OptionComponents/dragIcon.js +1 -1
  108. package/dist/libs/table/src/components/OptionComponents/icon.d.ts +2 -3
  109. package/dist/libs/table/src/components/OptionComponents/icon.js +1 -1
  110. package/dist/libs/table/src/components/OptionComponents/image.d.ts +2 -3
  111. package/dist/libs/table/src/components/OptionComponents/image.js +1 -1
  112. package/dist/libs/table/src/components/OptionComponents/text.d.ts +2 -3
  113. package/dist/libs/table/src/components/OptionComponents/text.js +1 -1
  114. package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +2 -3
  115. package/dist/libs/table/src/components/OptionComponents/textInput.js +1 -1
  116. package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +1 -2
  117. package/dist/libs/table/src/components/OptionComponents/textInputCurrency.js +1 -1
  118. package/dist/libs/table/src/components/OptionWrapper/index.js +1 -1
  119. package/dist/libs/table/src/components/Table/index.js +1 -1
  120. package/dist/libs/table/src/components/Wrapper.d.ts +1 -2
  121. package/dist/libs/table/src/components/Wrapper.js +1 -1
  122. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import React, { memo, useState, useRef, useCallback } from 'react';
1
+ import { memo, useState, useRef, useCallback } from 'react';
2
2
  import { View, StyleSheet, ScrollView } from 'react-native';
3
3
  import { Easing, useSharedValue, withTiming, useDerivedValue } from 'react-native-reanimated';
4
4
  import Hooks from '../../../../../libs/constants/hooks';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ data, selectedIndex, onChange, ...props }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ data, selectedIndex, onChange, ...props }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo, useState } from 'react';
1
+ import { memo, useState } from 'react';
2
2
  import Hooks from '../../../../../libs/constants/hooks';
3
3
  import Segmented from '../Segmented';
4
4
  import Provider, { useShared } from '../../context/shared';
@@ -1,11 +1,10 @@
1
1
  import { type SharedValue } from "react-native-reanimated";
2
- import React from "react";
3
2
  export type ContextType = {
4
3
  selectedIndexShared: SharedValue<number>;
5
4
  };
6
5
  export declare const useShared: () => ContextType | null;
7
- declare const _default: React.MemoExoticComponent<({ children, selectedIndex }: {
6
+ declare const _default: import("react").MemoExoticComponent<({ children, selectedIndex }: {
8
7
  children: React.ReactNode;
9
8
  selectedIndex?: number;
10
- }) => React.JSX.Element>;
9
+ }) => import("react").JSX.Element>;
11
10
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { useSharedValue } from "react-native-reanimated";
2
- import React, { createContext, memo } from "react";
2
+ import { createContext, memo } from "react";
3
3
  import { getIndex } from "../utils";
4
4
  import { useContext } from "react";
5
5
  const context = createContext(null);
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ children, buttonTriggerProps, title, message, }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, buttonTriggerProps, title, message, }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { ConfirmationDialog, Button, Text } from '@expo/ui/swift-ui';
2
- import React, { memo, useState, useCallback } from 'react';
2
+ import { memo, useState, useCallback } from 'react';
3
3
  export default memo(({ children, buttonTriggerProps, title, message, }) => {
4
4
  const [isPresented, setIsPresented] = useState(false);
5
5
  const onPress = useCallback(() => {
@@ -1,10 +1,9 @@
1
1
  import { LabelProps } from '@expo/ui/swift-ui';
2
- import React from 'react';
3
2
  type Props = Omit<LabelProps, 'title'> & {
4
3
  /**
5
4
  Children to display on the right side of the label.
6
5
  */
7
6
  children?: React.ReactNode;
8
7
  };
9
- declare const _default: React.MemoExoticComponent<({ children, ...labelProps }: Props) => React.JSX.Element>;
8
+ declare const _default: import("react").MemoExoticComponent<({ children, ...labelProps }: Props) => import("react").JSX.Element>;
10
9
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Label, HStack } from '@expo/ui/swift-ui';
2
- import React, { memo } from 'react';
2
+ import { memo } from 'react';
3
3
  export default memo(({ children, ...labelProps }) => {
4
4
  return (<HStack>
5
5
  <Label {...labelProps} title=""/>
@@ -1,5 +1,4 @@
1
1
  import { ButtonProps } from '@expo/ui/swift-ui';
2
- import React from 'react';
3
2
  import { Props as GradientProps } from '../../../../../libs/components/Gradient';
4
3
  type Props = {
5
4
  /**
@@ -21,5 +20,5 @@ type Props = {
21
20
  */
22
21
  buttonProps?: ButtonProps;
23
22
  };
24
- declare const _default: React.MemoExoticComponent<({ title, subtitle, gradientProps, buttonProps, }: Props) => React.JSX.Element>;
23
+ declare const _default: import("react").MemoExoticComponent<({ title, subtitle, gradientProps, buttonProps, }: Props) => import("react").JSX.Element>;
25
24
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Button, VStack } from '@expo/ui/swift-ui';
2
2
  import { frame, font, buttonStyle } from '@expo/ui/swift-ui/modifiers';
3
- import React, { memo } from 'react';
3
+ import { memo } from 'react';
4
4
  import Gradient from '../../../../../libs/components/Gradient';
5
5
  import Text from '../Text';
6
6
  import Section from './Section';
@@ -1,7 +1,6 @@
1
1
  import { VStackProps } from '@expo/ui/swift-ui';
2
- import React from 'react';
3
2
  type Props = VStackProps & {
4
3
  children: React.ReactNode;
5
4
  };
6
- declare const _default: React.MemoExoticComponent<({ children, modifiers, ...vStackProps }: Props) => React.JSX.Element>;
5
+ declare const _default: import("react").MemoExoticComponent<({ children, modifiers, ...vStackProps }: Props) => import("react").JSX.Element>;
7
6
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Section, VStack } from '@expo/ui/swift-ui';
2
2
  import { containerRelativeFrame, listRowBackground, frame, listRowInsets } from '@expo/ui/swift-ui/modifiers';
3
- import React, { memo, useMemo } from 'react';
3
+ import { memo, useMemo } from 'react';
4
4
  export default memo(({ children, modifiers, ...vStackProps }) => {
5
5
  const _modifiers = useMemo(() => [
6
6
  ...(modifiers ?? []),
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
2
  /**
4
3
  Wrapper de List que aplica un padding superior negativo por defecto.
@@ -6,5 +5,5 @@ import type Props from './types';
6
5
  Este componente extiende "List" de @expo/ui/swift-ui y agrega automáticamente:
7
6
  - padding({ top: -15 })
8
7
  */
9
- declare const _default: React.MemoExoticComponent<({ children, modifiers, disablePaddingTop, listStyle, onRefresh, ...listProps }: Props) => React.JSX.Element>;
8
+ declare const _default: import("react").MemoExoticComponent<({ children, modifiers, disablePaddingTop, listStyle, onRefresh, ...listProps }: Props) => import("react").JSX.Element>;
10
9
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { List } from '@expo/ui/swift-ui';
2
2
  import { listStyle as listStyleModifier, padding, refreshable } from '@expo/ui/swift-ui/modifiers';
3
- import React, { memo, useMemo } from 'react';
3
+ import { memo, useMemo } from 'react';
4
4
  /**
5
5
  Wrapper de List que aplica un padding superior negativo por defecto.
6
6
 
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import type Props from "./types";
3
- declare const _default: React.MemoExoticComponent<({ children, editMode, moveEnabled, deleteEnabled, modifiers, ...listProps }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, editMode, moveEnabled, deleteEnabled, modifiers, ...listProps }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { listStyle, environment, moveDisabled, deleteDisabled } from "@expo/ui/swift-ui/modifiers";
2
- import React, { memo, useMemo } from "react";
2
+ import { memo, useMemo } from "react";
3
3
  import BaseList from "../../BaseList";
4
4
  import { Provider } from '../../../../context/ListEditable';
5
5
  export default memo(({ children, editMode, moveEnabled = false, deleteEnabled = false, modifiers, ...listProps }) => {
@@ -1,5 +1,4 @@
1
- import React from "react";
2
1
  import type Props from "./types";
3
- declare function Component<T>({ data, keyExtractor, onDelete, onMove, renderItem, sectionProps, }: Props<T>): React.JSX.Element;
2
+ declare function Component<T>({ data, keyExtractor, onDelete, onMove, renderItem, sectionProps, }: Props<T>): import("react").JSX.Element;
4
3
  declare const _default: typeof Component;
5
4
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { List, Section } from "@expo/ui/swift-ui";
2
2
  import { moveDisabled, tag, deleteDisabled } from "@expo/ui/swift-ui/modifiers";
3
- import React, { memo, useCallback, useState } from "react";
3
+ import { memo, useCallback, useState } from "react";
4
4
  import Hooks from '../../../../../../../libs/constants/hooks';
5
5
  import { useListEditable } from "../../../../context/ListEditable";
6
6
  function Component({ data = [], keyExtractor, onDelete, onMove, renderItem, sectionProps, }) {
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { TrailingProps } from './types';
3
- declare const _default: React.MemoExoticComponent<({ text, textProps }: TrailingProps) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ text, textProps }: TrailingProps) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Spacer, Image, HStack } from '@expo/ui/swift-ui';
2
2
  import { Color } from 'expo-router';
3
- import React, { memo } from 'react';
3
+ import { memo } from 'react';
4
4
  import Text from '../Text';
5
5
  export default memo(({ text, textProps }) => {
6
6
  return (<>
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ children, onPress, icon, label, systemImage, listRowInsets, trailingText, trailingTextProps }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, onPress, icon, label, systemImage, listRowInsets, trailingText, trailingTextProps }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Button, HStack, Label } from '@expo/ui/swift-ui';
2
2
  import { listRowInsets as listRowInsetsModifier, foregroundStyle } from '@expo/ui/swift-ui/modifiers';
3
- import React, { memo, useMemo } from 'react';
3
+ import { memo, useMemo } from 'react';
4
4
  import Trailing from './Trailing';
5
5
  export default memo(({ children, onPress, icon, label, systemImage, listRowInsets = false, trailingText, trailingTextProps }) => {
6
6
  const modifiers = useMemo(() => listRowInsets ? [listRowInsetsModifier({ top: 20, bottom: 20, leading: 25, trailing: 20 })] : [], [listRowInsets]);
@@ -1,5 +1,4 @@
1
1
  import { PickerProps } from '@expo/ui/swift-ui';
2
- import React from 'react';
3
2
  type Props = Omit<PickerProps, 'children'> & {
4
3
  /**
5
4
  The data items to be rendered inside the picker.
@@ -7,5 +6,5 @@ type Props = Omit<PickerProps, 'children'> & {
7
6
  */
8
7
  data?: (string | number)[];
9
8
  };
10
- declare const _default: React.MemoExoticComponent<({ modifiers, data, ...pickerProps }: Props) => React.JSX.Element>;
9
+ declare const _default: import("react").MemoExoticComponent<({ modifiers, data, ...pickerProps }: Props) => import("react").JSX.Element>;
11
10
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Picker, Text } from '@expo/ui/swift-ui';
2
2
  import { pickerStyle, tag } from "@expo/ui/swift-ui/modifiers";
3
- import React, { memo, useMemo } from 'react';
3
+ import { memo, useMemo } from 'react';
4
4
  export default memo(({ modifiers, data = [], ...pickerProps }) => {
5
5
  const _modifiers = useMemo(() => [
6
6
  ...(modifiers ?? []),
@@ -1,6 +1,5 @@
1
1
  import { TextProps } from '@expo/ui/swift-ui';
2
- import React from 'react';
3
- declare const _default: React.MemoExoticComponent<({ modifiers, secondary, ...restProps }: TextProps & {
2
+ declare const _default: import("react").MemoExoticComponent<({ modifiers, secondary, ...restProps }: TextProps & {
4
3
  secondary?: boolean;
5
- }) => React.JSX.Element>;
4
+ }) => import("react").JSX.Element>;
6
5
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Text } from '@expo/ui/swift-ui';
2
2
  import { foregroundStyle } from '@expo/ui/swift-ui/modifiers';
3
- import React, { memo, useMemo } from 'react';
3
+ import { memo, useMemo } from 'react';
4
4
  export default memo(({ modifiers, secondary = false, ...restProps }) => {
5
5
  const _modifiers = useMemo(() => [
6
6
  ...(modifiers ?? []),
@@ -1,5 +1,4 @@
1
1
  import { TextProps } from '@expo/ui/swift-ui';
2
- import React from 'react';
3
2
  type Props = {
4
3
  /**
5
4
  Title to display in the label.
@@ -18,5 +17,5 @@ type Props = {
18
17
  */
19
18
  subtitleTextProps?: TextProps;
20
19
  };
21
- declare const _default: React.MemoExoticComponent<({ title, subtitle, titleTextProps, subtitleTextProps }: Props) => React.JSX.Element>;
20
+ declare const _default: import("react").MemoExoticComponent<({ title, subtitle, titleTextProps, subtitleTextProps }: Props) => import("react").JSX.Element>;
22
21
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { VStack } from '@expo/ui/swift-ui';
2
- import React, { memo } from 'react';
2
+ import { memo } from 'react';
3
3
  import Text from './Text';
4
4
  export default memo(({ title, subtitle, titleTextProps, subtitleTextProps }) => {
5
5
  return (<VStack alignment='leading' spacing={2}>
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
- declare const _default: React.MemoExoticComponent<({ id, borders }: {
1
+ declare const _default: import("react").MemoExoticComponent<({ id, borders }: {
3
2
  id: string;
4
3
  borders: any;
5
- }) => React.JSX.Element>;
4
+ }) => import("react").JSX.Element>;
6
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { useValue } from '@legendapp/state/react';
2
- import React, { memo, useEffect, useState } from 'react';
2
+ import { memo, useEffect, useState } from 'react';
3
3
  import { PixelRatio, View, StyleSheet } from 'react-native';
4
4
  import colors from '../constants';
5
5
  import Hooks from '../../../../libs/constants/hooks';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { DeleteProps } from './types';
3
- declare const _default: React.MemoExoticComponent<({ children, ...props }: Omit<DeleteProps, "setDeleted">) => React.JSX.Element | null>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, ...props }: Omit<DeleteProps, "setDeleted">) => import("react").JSX.Element | null>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { batch } from '@legendapp/state';
2
2
  import { useSelector } from '@legendapp/state/react';
3
- import React, { memo, useCallback, useMemo, useRef, useState } from 'react';
3
+ import { memo, useCallback, useMemo, useRef, useState } from 'react';
4
4
  import { Animated, Easing, Platform, Pressable, StyleSheet, Text, View } from 'react-native';
5
5
  import Reanimated, { Easing as Reasing, SlideOutLeft } from 'react-native-reanimated';
6
6
  import Hooks from '../../../../../libs/constants/hooks';
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  /**
3
2
  Icono de eliminar.
4
3
  */
5
- declare const _default: React.MemoExoticComponent<() => React.JSX.Element>;
4
+ declare const _default: import("react").MemoExoticComponent<() => import("react").JSX.Element>;
6
5
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { Pressable } from 'react-native';
3
3
  import { useDelete } from '../../context/delete';
4
4
  import RemoveCircle from '../../../../../libs/assets/components/RemoveCircle';
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  /**
3
2
  Icono de drag.
4
3
  */
5
- declare const _default: React.MemoExoticComponent<() => React.JSX.Element>;
4
+ declare const _default: import("react").MemoExoticComponent<() => import("react").JSX.Element>;
6
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Ionicons } from '@expo/vector-icons';
2
- import React, { memo } from 'react';
2
+ import { memo } from 'react';
3
3
  import { Pressable } from 'react-native';
4
4
  //import { useDrag } from '@/libs/ReorderableList'
5
5
  import colors from '../../constants';
@@ -1,10 +1,9 @@
1
1
  import { Ionicons } from '@expo/vector-icons';
2
- import React from 'react';
3
2
  /**
4
3
  Pone el color según el tema.
5
4
  */
6
- declare const _default: React.MemoExoticComponent<({ name, size }: {
5
+ declare const _default: import("react").MemoExoticComponent<({ name, size }: {
7
6
  name: keyof typeof Ionicons.glyphMap;
8
7
  size: number;
9
- }) => React.JSX.Element>;
8
+ }) => import("react").JSX.Element>;
10
9
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Ionicons } from '@expo/vector-icons';
2
- import React, { memo } from 'react';
2
+ import { memo } from 'react';
3
3
  import colors from '../../constants';
4
4
  import { useApp } from '../../../../../libs/providers/App';
5
5
  /**
@@ -1,9 +1,8 @@
1
- import React from 'react';
2
1
  import { ImageSourcePropType } from 'react-native';
3
2
  /**
4
3
  Pone el tintColor según el tema.
5
4
  */
6
- declare const _default: React.MemoExoticComponent<({ source }: {
5
+ declare const _default: import("react").MemoExoticComponent<({ source }: {
7
6
  source: ImageSourcePropType;
8
- }) => React.JSX.Element>;
7
+ }) => import("react").JSX.Element>;
9
8
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { Image } from 'react-native';
3
3
  import colors from '../../constants';
4
4
  import { useApp } from '../../../../../libs/providers/App';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { StyleProp, TextProps, TextStyle } from 'react-native';
3
2
  import { type ColorSchemeType } from '../../constants';
4
3
  /**
@@ -16,7 +15,7 @@ type Props = {
16
15
  */
17
16
  style?: StyleProp<TextStyle>;
18
17
  };
19
- declare const _default: React.MemoExoticComponent<({ ...props }: Props & {
18
+ declare const _default: import("react").MemoExoticComponent<({ ...props }: Props & {
20
19
  colorScheme?: ColorSchemeType;
21
- } & TextProps) => React.JSX.Element>;
20
+ } & TextProps) => import("react").JSX.Element>;
22
21
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo, useMemo } from 'react';
1
+ import { memo, useMemo } from 'react';
2
2
  import { StyleSheet } from 'react-native';
3
3
  import colors from '../../constants';
4
4
  import Text$ from '../../../../../libs/components/Text';
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  import { BlurEvent, FocusEvent, TextInput, TextInputProps } from 'react-native';
3
2
  export declare const selectAll: (input: TextInput | any, value: string | null) => void;
4
3
  /**
5
4
  Pone el color del texto según el tema y agrega unos estilos para que ocupen todo el ancho.
6
5
  */
7
- declare const _default: React.MemoExoticComponent<({ value, numberOfLines, onFocus, onBlur, onChangeText, mask, ...props }: {
6
+ declare const _default: import("react").MemoExoticComponent<({ value, numberOfLines, onFocus, onBlur, onChangeText, mask, ...props }: {
8
7
  /**
9
8
  Valor inicial del input.
10
9
  */
@@ -21,5 +20,5 @@ declare const _default: React.MemoExoticComponent<({ value, numberOfLines, onFoc
21
20
  Ejemplo: {(value) => value ? formatPeso(value) : formatPeso(0)}
22
21
  */
23
22
  mask?: ((value: any) => string) | undefined;
24
- } & TextInputProps) => React.JSX.Element>;
23
+ } & TextInputProps) => import("react").JSX.Element>;
25
24
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo, useEffect, useRef, useState } from 'react';
1
+ import { memo, useEffect, useRef, useState } from 'react';
2
2
  import { Platform, StyleSheet, TextInput } from 'react-native';
3
3
  import colors from '../../constants';
4
4
  import { useApp } from '../../../../../libs/providers/App';
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  import { TextInputProps } from 'react-native';
3
2
  /**
4
3
  Se utiliza específicamente para formatear el valor del input a pesos.
5
4
  Utiliza el componente de TextInputOption.
6
5
  */
7
- declare const _default: React.MemoExoticComponent<({ ...props }: TextInputProps) => React.JSX.Element>;
6
+ declare const _default: import("react").MemoExoticComponent<({ ...props }: TextInputProps) => import("react").JSX.Element>;
8
7
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import TextInputOption from './textInput';
3
3
  import Formats from '../../../../../libs/constants/formats';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import ThemeComponent from '../../../../../libs/components/Theme';
3
3
  import * as OptionComponents from '../OptionComponents';
4
4
  import Wrapper from '../Wrapper';
@@ -1,5 +1,5 @@
1
1
  import { useObservable } from '@legendapp/state/react';
2
- import React, { memo, useMemo } from 'react';
2
+ import { memo, useMemo } from 'react';
3
3
  import { Platform, StyleSheet } from 'react-native';
4
4
  import Animated, { Easing, FadeIn, FadeOut, LinearTransition } from 'react-native-reanimated';
5
5
  import colors from '../../constants';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from './OptionWrapper/types';
3
- declare const _default: React.MemoExoticComponent<({ children, childrenLeft, childrenRight, onPress, onDelete, onDeleteShown, removeWidth, id, style, isAnimated, borders, backgroundColorPressed, LinearGradientProps, layoutAnimation, colorScheme, hasTextView, ...props }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, childrenLeft, childrenRight, onPress, onDelete, onDeleteShown, removeWidth, id, style, isAnimated, borders, backgroundColorPressed, LinearGradientProps, layoutAnimation, colorScheme, hasTextView, ...props }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import Animated, { Easing, FadeIn, FadeOut, LinearTransition } from 'react-native-reanimated';
2
2
  import { View } from 'react-native';
3
- import React, { memo } from 'react';
3
+ import { memo } from 'react';
4
4
  import colors from '../constants';
5
5
  import { isLowTier } from '../../../../libs/constants/consts';
6
6
  import { useTable } from '../context/table';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-pytech",
3
- "version": "1.0.137",
3
+ "version": "1.0.139",
4
4
  "description": "Libreria de React Native Pytech",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",