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.
- package/dist/libs/assets/ionicons/Ionicons.d.ts +2 -2
- package/dist/libs/assets/ionicons/Ionicons.js +0 -1
- package/dist/libs/colorPage/src/Content/index.android.d.ts +1 -2
- package/dist/libs/colorPage/src/Content/index.android.js +1 -1
- package/dist/libs/colorPage/src/Content/index.d.ts +2 -2
- package/dist/libs/colorPage/src/Content/index.ios.d.ts +1 -2
- package/dist/libs/colorPage/src/Content/index.ios.js +1 -1
- package/dist/libs/colorPage/src/Content/index.js +20 -1
- package/dist/libs/colorPage/src/Item/index.d.ts +2 -2
- package/dist/libs/colorPage/src/Item/index.ios.d.ts +1 -2
- package/dist/libs/colorPage/src/Item/index.ios.js +1 -1
- package/dist/libs/colorPage/src/Item/index.js +22 -1
- package/dist/libs/colorPage/src/Page/index.d.ts +1 -2
- package/dist/libs/colorPage/src/Page/index.js +1 -1
- package/dist/libs/components/CloseButton.d.ts +2 -3
- package/dist/libs/components/CloseButton.js +1 -1
- package/dist/libs/components/Gradient/components/Gradient/index.d.ts +1 -2
- package/dist/libs/components/Gradient/components/Gradient/index.ios.d.ts +1 -2
- package/dist/libs/components/Gradient/components/Gradient/index.ios.js +1 -1
- package/dist/libs/components/Gradient/components/Gradient/index.js +1 -1
- package/dist/libs/editPage/src/components/Item/index.ios.d.ts +1 -2
- package/dist/libs/editPage/src/components/Item/index.ios.js +1 -1
- package/dist/libs/editPage/src/components/ItemDate/index.ios.d.ts +1 -2
- package/dist/libs/editPage/src/components/ItemDate/index.ios.js +1 -1
- package/dist/libs/editPage/src/components/TextField/index.ios.d.ts +1 -2
- package/dist/libs/editPage/src/components/TextField/index.ios.js +1 -1
- package/dist/libs/editPage/src/components/Wrapper/index.d.ts +1 -2
- package/dist/libs/editPage/src/components/Wrapper/index.js +1 -1
- package/dist/libs/footer/src/components/Button/index.ios.d.ts +1 -2
- package/dist/libs/footer/src/components/Button/index.ios.js +1 -1
- package/dist/libs/footer/src/components/Footer/index.ios.d.ts +1 -2
- package/dist/libs/footer/src/components/Footer/index.ios.js +1 -1
- package/dist/libs/footer/src/components/View.d.ts +2 -3
- package/dist/libs/footer/src/components/View.js +1 -1
- package/dist/libs/login/src/Screen/components/Input/index.d.ts +1 -2
- package/dist/libs/login/src/Screen/components/Input/index.js +1 -1
- package/dist/libs/page/src/components/Page/index.android.d.ts +1 -2
- package/dist/libs/page/src/components/Page/index.android.js +1 -1
- package/dist/libs/page/src/components/Page/index.d.ts +1 -2
- package/dist/libs/page/src/components/Page/index.js +1 -1
- package/dist/libs/page/src/components/PageWrapper/index.js +1 -1
- package/dist/libs/page/src/components/Subtitle.d.ts +2 -3
- package/dist/libs/page/src/components/Subtitle.js +1 -1
- package/dist/libs/page/src/components/WithIcon/index.js +1 -1
- package/dist/libs/pickerPage/src/components/Content/index.d.ts +1 -2
- package/dist/libs/pickerPage/src/components/Content/index.ios.d.ts +1 -2
- package/dist/libs/pickerPage/src/components/Content/index.ios.js +1 -1
- package/dist/libs/pickerPage/src/components/Content/index.js +1 -1
- package/dist/libs/pickerPage/src/components/Item/index.d.ts +1 -2
- package/dist/libs/pickerPage/src/components/Item/index.ios.d.ts +1 -2
- package/dist/libs/pickerPage/src/components/Item/index.ios.js +1 -1
- package/dist/libs/pickerPage/src/components/Item/index.js +1 -1
- package/dist/libs/pickerPage/src/components/Page/index.d.ts +1 -2
- package/dist/libs/pickerPage/src/components/Page/index.js +1 -1
- package/dist/libs/providers/App/index.d.ts +1 -2
- package/dist/libs/providers/App/index.js +1 -1
- package/dist/libs/sections/Icon/src/Section.ios.d.ts +1 -2
- package/dist/libs/sections/Icon/src/Section.ios.js +1 -1
- package/dist/libs/sections/Icon/src/index.ios.d.ts +1 -2
- package/dist/libs/sections/Icon/src/index.ios.js +1 -1
- package/dist/libs/sections/Icon/src/index.js +1 -1
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.d.ts +1 -2
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +1 -1
- package/dist/libs/segmentedControl/src/components/Container/index.d.ts +1 -2
- package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +1 -2
- package/dist/libs/segmentedControl/src/components/Container/index.ios.js +1 -1
- package/dist/libs/segmentedControl/src/components/Container/index.js +1 -1
- package/dist/libs/segmentedControl/src/components/Item/index.d.ts +1 -2
- package/dist/libs/segmentedControl/src/components/Item/index.js +1 -1
- package/dist/libs/segmentedControl/src/components/Segmented/index.d.ts +1 -2
- package/dist/libs/segmentedControl/src/components/Segmented/index.js +1 -1
- package/dist/libs/segmentedControl/src/components/Wrapper/index.d.ts +1 -2
- package/dist/libs/segmentedControl/src/components/Wrapper/index.js +1 -1
- package/dist/libs/segmentedControl/src/context/shared.d.ts +2 -3
- package/dist/libs/segmentedControl/src/context/shared.js +1 -1
- package/dist/libs/swiftui/src/components/Dialog/index.d.ts +1 -2
- package/dist/libs/swiftui/src/components/Dialog/index.js +1 -1
- package/dist/libs/swiftui/src/components/Icon.d.ts +1 -2
- package/dist/libs/swiftui/src/components/Icon.js +1 -1
- package/dist/libs/swiftui/src/components/IconSection/Icon.d.ts +1 -2
- package/dist/libs/swiftui/src/components/IconSection/Icon.js +1 -1
- package/dist/libs/swiftui/src/components/IconSection/Section.d.ts +1 -2
- package/dist/libs/swiftui/src/components/IconSection/Section.js +1 -1
- package/dist/libs/swiftui/src/components/List/BaseList/index.d.ts +1 -2
- package/dist/libs/swiftui/src/components/List/BaseList/index.js +1 -1
- package/dist/libs/swiftui/src/components/List/Editable/List/index.d.ts +1 -2
- package/dist/libs/swiftui/src/components/List/Editable/List/index.js +1 -1
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.d.ts +1 -2
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.js +1 -1
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.d.ts +1 -2
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +1 -1
- package/dist/libs/swiftui/src/components/NavigationLink/index.d.ts +1 -2
- package/dist/libs/swiftui/src/components/NavigationLink/index.js +1 -1
- package/dist/libs/swiftui/src/components/Picker.d.ts +1 -2
- package/dist/libs/swiftui/src/components/Picker.js +1 -1
- package/dist/libs/swiftui/src/components/Text.d.ts +2 -3
- package/dist/libs/swiftui/src/components/Text.js +1 -1
- package/dist/libs/swiftui/src/components/TextSubtitle.d.ts +1 -2
- package/dist/libs/swiftui/src/components/TextSubtitle.js +1 -1
- package/dist/libs/table/src/components/Borders.d.ts +2 -3
- package/dist/libs/table/src/components/Borders.js +1 -1
- package/dist/libs/table/src/components/Delete/index.d.ts +1 -2
- package/dist/libs/table/src/components/Delete/index.js +1 -1
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +1 -2
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +1 -1
- package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +1 -2
- package/dist/libs/table/src/components/OptionComponents/dragIcon.js +1 -1
- package/dist/libs/table/src/components/OptionComponents/icon.d.ts +2 -3
- package/dist/libs/table/src/components/OptionComponents/icon.js +1 -1
- package/dist/libs/table/src/components/OptionComponents/image.d.ts +2 -3
- package/dist/libs/table/src/components/OptionComponents/image.js +1 -1
- package/dist/libs/table/src/components/OptionComponents/text.d.ts +2 -3
- package/dist/libs/table/src/components/OptionComponents/text.js +1 -1
- package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +2 -3
- package/dist/libs/table/src/components/OptionComponents/textInput.js +1 -1
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +1 -2
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.js +1 -1
- package/dist/libs/table/src/components/OptionWrapper/index.js +1 -1
- package/dist/libs/table/src/components/Table/index.js +1 -1
- package/dist/libs/table/src/components/Wrapper.d.ts +1 -2
- package/dist/libs/table/src/components/Wrapper.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
2
|
+
declare const _default: import("react").MemoExoticComponent<({ data, selectedIndex, onChange, ...props }: Props) => import("react").JSX.Element>;
|
|
4
3
|
export default _default;
|
|
@@ -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:
|
|
6
|
+
declare const _default: import("react").MemoExoticComponent<({ children, selectedIndex }: {
|
|
8
7
|
children: React.ReactNode;
|
|
9
8
|
selectedIndex?: number;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => import("react").JSX.Element>;
|
|
11
10
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useSharedValue } from "react-native-reanimated";
|
|
2
|
-
import
|
|
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:
|
|
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
|
|
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:
|
|
8
|
+
declare const _default: import("react").MemoExoticComponent<({ children, ...labelProps }: Props) => import("react").JSX.Element>;
|
|
10
9
|
export default _default;
|
|
@@ -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:
|
|
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
|
|
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:
|
|
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
|
|
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:
|
|
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
|
|
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:
|
|
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
|
|
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>):
|
|
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
|
|
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:
|
|
2
|
+
declare const _default: import("react").MemoExoticComponent<({ text, textProps }: TrailingProps) => import("react").JSX.Element>;
|
|
4
3
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type Props from './types';
|
|
3
|
-
declare const _default:
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
-
}) =>
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
-
}) =>
|
|
4
|
+
}) => import("react").JSX.Element>;
|
|
6
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useValue } from '@legendapp/state/react';
|
|
2
|
-
import
|
|
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:
|
|
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
|
|
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,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:
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<({ name, size }: {
|
|
7
6
|
name: keyof typeof Ionicons.glyphMap;
|
|
8
7
|
size: number;
|
|
9
|
-
}) =>
|
|
8
|
+
}) => import("react").JSX.Element>;
|
|
10
9
|
export default _default;
|
|
@@ -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:
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<({ source }: {
|
|
7
6
|
source: ImageSourcePropType;
|
|
8
|
-
}) =>
|
|
7
|
+
}) => import("react").JSX.Element>;
|
|
9
8
|
export default _default;
|
|
@@ -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:
|
|
18
|
+
declare const _default: import("react").MemoExoticComponent<({ ...props }: Props & {
|
|
20
19
|
colorScheme?: ColorSchemeType;
|
|
21
|
-
} & TextProps) =>
|
|
20
|
+
} & TextProps) => import("react").JSX.Element>;
|
|
22
21
|
export default _default;
|
|
@@ -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:
|
|
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) =>
|
|
23
|
+
} & TextInputProps) => import("react").JSX.Element>;
|
|
25
24
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
6
|
+
declare const _default: import("react").MemoExoticComponent<({ ...props }: TextInputProps) => import("react").JSX.Element>;
|
|
8
7
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useObservable } from '@legendapp/state/react';
|
|
2
|
-
import
|
|
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:
|
|
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
|
|
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';
|