native-pytech 1.0.126 → 1.0.129
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/package.json +1 -1
- package/dist/app/assets/components/removeCircle.d.ts +0 -2
- package/dist/app/assets/components/removeCircle.js +0 -2
- package/dist/app/assets/components/reorderThreeOutline.d.ts +0 -2
- package/dist/app/assets/components/reorderThreeOutline.js +0 -2
- package/dist/app/assets/ionicons.d.ts +0 -2
- package/dist/app/assets/ionicons.js +0 -2
- package/dist/app/colorPage.d.ts +0 -1
- package/dist/app/colorPage.js +0 -1
- package/dist/app/components/closeButton.d.ts +0 -2
- package/dist/app/components/closeButton.js +0 -2
- package/dist/app/components/gradient.d.ts +0 -2
- package/dist/app/components/gradient.js +0 -2
- package/dist/app/components/link.d.ts +0 -2
- package/dist/app/components/link.js +0 -2
- package/dist/app/components/text.d.ts +0 -2
- package/dist/app/components/text.js +0 -2
- package/dist/app/components/theme.d.ts +0 -2
- package/dist/app/components/theme.js +0 -2
- package/dist/app/constants/colors.d.ts +0 -2
- package/dist/app/constants/colors.js +0 -2
- package/dist/app/constants/consts.d.ts +0 -1
- package/dist/app/constants/consts.js +0 -1
- package/dist/app/constants/formats.d.ts +0 -1
- package/dist/app/constants/formats.js +0 -1
- package/dist/app/constants/hooks.d.ts +0 -1
- package/dist/app/constants/hooks.js +0 -1
- package/dist/app/constants/utils.d.ts +0 -1
- package/dist/app/constants/utils.js +0 -1
- package/dist/app/editPage.d.ts +0 -1
- package/dist/app/editPage.js +0 -1
- package/dist/app/footer.d.ts +0 -2
- package/dist/app/footer.js +0 -2
- package/dist/app/login.d.ts +0 -2
- package/dist/app/login.js +0 -2
- package/dist/app/page.d.ts +0 -2
- package/dist/app/page.js +0 -2
- package/dist/app/pickerPage.d.ts +0 -1
- package/dist/app/pickerPage.js +0 -1
- package/dist/app/providers/app.d.ts +0 -2
- package/dist/app/providers/app.js +0 -2
- package/dist/app/segmentedControl.d.ts +0 -2
- package/dist/app/segmentedControl.js +0 -2
- package/dist/app/sql.d.ts +0 -2
- package/dist/app/sql.js +0 -2
- package/dist/app/supabase.d.ts +0 -2
- package/dist/app/supabase.js +0 -2
- package/dist/app/swiftui.d.ts +0 -1
- package/dist/app/swiftui.js +0 -1
- package/dist/app/table.d.ts +0 -2
- package/dist/app/table.js +0 -2
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -8
- package/dist/libs/assets/components/RemoveCircle.d.ts +0 -6
- package/dist/libs/assets/components/RemoveCircle.js +0 -25
- package/dist/libs/assets/components/ReorderThreeOutline.d.ts +0 -5
- package/dist/libs/assets/components/ReorderThreeOutline.js +0 -15
- package/dist/libs/assets/ionicons/Ionicons.d.ts +0 -35
- package/dist/libs/assets/ionicons/Ionicons.js +0 -16
- package/dist/libs/assets/ionicons/index.d.ts +0 -6
- package/dist/libs/assets/ionicons/index.js +0 -23
- package/dist/libs/colorPage/index.d.ts +0 -1
- package/dist/libs/colorPage/index.js +0 -1
- package/dist/libs/colorPage/src/Content/index.android.d.ts +0 -4
- package/dist/libs/colorPage/src/Content/index.android.js +0 -13
- package/dist/libs/colorPage/src/Content/index.d.ts +0 -3
- package/dist/libs/colorPage/src/Content/index.ios.d.ts +0 -4
- package/dist/libs/colorPage/src/Content/index.ios.js +0 -16
- package/dist/libs/colorPage/src/Content/index.js +0 -1
- package/dist/libs/colorPage/src/Content/types.d.ts +0 -10
- package/dist/libs/colorPage/src/Content/types.js +0 -1
- package/dist/libs/colorPage/src/Item/index.android.d.ts +0 -4
- package/dist/libs/colorPage/src/Item/index.android.js +0 -40
- package/dist/libs/colorPage/src/Item/index.d.ts +0 -3
- package/dist/libs/colorPage/src/Item/index.ios.d.ts +0 -4
- package/dist/libs/colorPage/src/Item/index.ios.js +0 -31
- package/dist/libs/colorPage/src/Item/index.js +0 -1
- package/dist/libs/colorPage/src/Item/types.d.ts +0 -13
- package/dist/libs/colorPage/src/Item/types.js +0 -1
- package/dist/libs/colorPage/src/Page/index.d.ts +0 -4
- package/dist/libs/colorPage/src/Page/index.js +0 -17
- package/dist/libs/colorPage/src/Page/types.d.ts +0 -27
- package/dist/libs/colorPage/src/Page/types.js +0 -1
- package/dist/libs/components/CloseButton.d.ts +0 -9
- package/dist/libs/components/CloseButton.js +0 -18
- package/dist/libs/components/Gradient/components/Gradient/index.d.ts +0 -4
- package/dist/libs/components/Gradient/components/Gradient/index.ios.d.ts +0 -4
- package/dist/libs/components/Gradient/components/Gradient/index.ios.js +0 -35
- package/dist/libs/components/Gradient/components/Gradient/index.js +0 -32
- package/dist/libs/components/Gradient/components/Gradient/types.d.ts +0 -30
- package/dist/libs/components/Gradient/components/Gradient/types.js +0 -1
- package/dist/libs/components/Gradient/components/Icon.d.ts +0 -21
- package/dist/libs/components/Gradient/components/Icon.js +0 -1
- package/dist/libs/components/Gradient/constants.d.ts +0 -97
- package/dist/libs/components/Gradient/constants.js +0 -98
- package/dist/libs/components/Gradient/index.d.ts +0 -3
- package/dist/libs/components/Gradient/index.js +0 -2
- package/dist/libs/components/Link.d.ts +0 -13
- package/dist/libs/components/Link.js +0 -20
- package/dist/libs/components/Text.d.ts +0 -6
- package/dist/libs/components/Text.js +0 -11
- package/dist/libs/components/Theme.d.ts +0 -9
- package/dist/libs/components/Theme.js +0 -10
- package/dist/libs/constants/colors.d.ts +0 -218
- package/dist/libs/constants/colors.js +0 -170
- package/dist/libs/constants/consts.d.ts +0 -13
- package/dist/libs/constants/consts.js +0 -23
- package/dist/libs/constants/formats.d.ts +0 -11
- package/dist/libs/constants/formats.js +0 -84
- package/dist/libs/constants/hooks.d.ts +0 -8
- package/dist/libs/constants/hooks.js +0 -59
- package/dist/libs/constants/utils.d.ts +0 -12
- package/dist/libs/constants/utils.js +0 -75
- package/dist/libs/editPage/index.d.ts +0 -9
- package/dist/libs/editPage/index.js +0 -7
- package/dist/libs/editPage/src/components/Item/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/Item/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/Item/index.ios.js +0 -12
- package/dist/libs/editPage/src/components/Item/index.js +0 -1
- package/dist/libs/editPage/src/components/Item/types.d.ts +0 -14
- package/dist/libs/editPage/src/components/Item/types.js +0 -1
- package/dist/libs/editPage/src/components/ItemDate/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemDate/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/ItemDate/index.ios.js +0 -29
- package/dist/libs/editPage/src/components/ItemDate/index.js +0 -1
- package/dist/libs/editPage/src/components/ItemDate/types.d.ts +0 -25
- package/dist/libs/editPage/src/components/ItemDate/types.js +0 -1
- package/dist/libs/editPage/src/components/Screen/index.d.ts +0 -4
- package/dist/libs/editPage/src/components/Screen/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/Screen/index.ios.js +0 -8
- package/dist/libs/editPage/src/components/Screen/index.js +0 -1
- package/dist/libs/editPage/src/components/Screen/types.d.ts +0 -27
- package/dist/libs/editPage/src/components/Screen/types.js +0 -1
- package/dist/libs/editPage/src/components/TextField/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/TextField/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/TextField/index.ios.js +0 -35
- package/dist/libs/editPage/src/components/TextField/index.js +0 -1
- package/dist/libs/editPage/src/components/TextField/types.d.ts +0 -32
- package/dist/libs/editPage/src/components/TextField/types.js +0 -1
- package/dist/libs/editPage/src/components/Wrapper/index.d.ts +0 -4
- package/dist/libs/editPage/src/components/Wrapper/index.js +0 -84
- package/dist/libs/editPage/src/components/Wrapper/types.d.ts +0 -23
- package/dist/libs/editPage/src/components/Wrapper/types.js +0 -1
- package/dist/libs/editPage/src/context/page.d.ts +0 -13
- package/dist/libs/editPage/src/context/page.js +0 -2
- package/dist/libs/footer/index.d.ts +0 -1
- package/dist/libs/footer/index.js +0 -1
- package/dist/libs/footer/src/components/Background/index.d.ts +0 -4
- package/dist/libs/footer/src/components/Background/index.ios.d.ts +0 -4
- package/dist/libs/footer/src/components/Background/index.ios.js +0 -22
- package/dist/libs/footer/src/components/Background/index.js +0 -21
- package/dist/libs/footer/src/components/Button/Text.d.ts +0 -3
- package/dist/libs/footer/src/components/Button/Text.js +0 -18
- package/dist/libs/footer/src/components/Button/index.d.ts +0 -3
- package/dist/libs/footer/src/components/Button/index.ios.d.ts +0 -4
- package/dist/libs/footer/src/components/Button/index.ios.js +0 -30
- package/dist/libs/footer/src/components/Button/index.js +0 -55
- package/dist/libs/footer/src/components/Button/types.d.ts +0 -22
- package/dist/libs/footer/src/components/Button/types.js +0 -1
- package/dist/libs/footer/src/components/Footer/index.d.ts +0 -6
- package/dist/libs/footer/src/components/Footer/index.ios.d.ts +0 -7
- package/dist/libs/footer/src/components/Footer/index.ios.js +0 -9
- package/dist/libs/footer/src/components/Footer/index.js +0 -38
- package/dist/libs/footer/src/components/View.d.ts +0 -5
- package/dist/libs/footer/src/components/View.js +0 -11
- package/dist/libs/footer/src/constants.d.ts +0 -20
- package/dist/libs/footer/src/constants.js +0 -21
- package/dist/libs/footer/src/index.d.ts +0 -9
- package/dist/libs/footer/src/index.js +0 -7
- package/dist/libs/login/index.d.ts +0 -3
- package/dist/libs/login/index.js +0 -3
- package/dist/libs/login/src/Pages/Home/index.d.ts +0 -3
- package/dist/libs/login/src/Pages/Home/index.js +0 -20
- package/dist/libs/login/src/Pages/Home/types.d.ts +0 -19
- package/dist/libs/login/src/Pages/Home/types.js +0 -1
- package/dist/libs/login/src/Pages/Perfil.d.ts +0 -5
- package/dist/libs/login/src/Pages/Perfil.js +0 -19
- package/dist/libs/login/src/Pages/SignIn/Form/Input.d.ts +0 -9
- package/dist/libs/login/src/Pages/SignIn/Form/Input.js +0 -10
- package/dist/libs/login/src/Pages/SignIn/Form/index.d.ts +0 -6
- package/dist/libs/login/src/Pages/SignIn/Form/index.js +0 -34
- package/dist/libs/login/src/Pages/SignIn/index.d.ts +0 -3
- package/dist/libs/login/src/Pages/SignIn/index.js +0 -149
- package/dist/libs/login/src/Pages/SignIn/types.d.ts +0 -31
- package/dist/libs/login/src/Pages/SignIn/types.js +0 -1
- package/dist/libs/login/src/Pages/index.d.ts +0 -3
- package/dist/libs/login/src/Pages/index.js +0 -3
- package/dist/libs/login/src/Pages/utils.d.ts +0 -22
- package/dist/libs/login/src/Pages/utils.js +0 -24
- package/dist/libs/login/src/Screen/Container.d.ts +0 -4
- package/dist/libs/login/src/Screen/Container.ios.d.ts +0 -4
- package/dist/libs/login/src/Screen/Container.ios.js +0 -20
- package/dist/libs/login/src/Screen/Container.js +0 -25
- package/dist/libs/login/src/Screen/components/Gradient.d.ts +0 -6
- package/dist/libs/login/src/Screen/components/Gradient.js +0 -23
- package/dist/libs/login/src/Screen/components/Input/index.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/Input/index.js +0 -128
- package/dist/libs/login/src/Screen/components/Input/types.d.ts +0 -46
- package/dist/libs/login/src/Screen/components/Input/types.js +0 -1
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.js +0 -11
- package/dist/libs/login/src/Screen/components/SvgPytech.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/SvgPytech.js +0 -11
- package/dist/libs/login/src/Screen/components/index.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/index.js +0 -4
- package/dist/libs/login/src/Screen/index.d.ts +0 -4
- package/dist/libs/login/src/Screen/index.js +0 -59
- package/dist/libs/login/src/Screen/types.d.ts +0 -14
- package/dist/libs/login/src/Screen/types.js +0 -1
- package/dist/libs/login/src/constants.d.ts +0 -98
- package/dist/libs/login/src/constants.js +0 -48
- package/dist/libs/page/index.d.ts +0 -1
- package/dist/libs/page/index.js +0 -1
- package/dist/libs/page/src/components/Page/index.android.d.ts +0 -4
- package/dist/libs/page/src/components/Page/index.android.js +0 -11
- package/dist/libs/page/src/components/Page/index.d.ts +0 -4
- package/dist/libs/page/src/components/Page/index.js +0 -7
- package/dist/libs/page/src/components/PageWrapper/index.d.ts +0 -6
- package/dist/libs/page/src/components/PageWrapper/index.js +0 -13
- package/dist/libs/page/src/components/PageWrapper/types.d.ts +0 -16
- package/dist/libs/page/src/components/PageWrapper/types.js +0 -1
- package/dist/libs/page/src/components/Subtitle.d.ts +0 -5
- package/dist/libs/page/src/components/Subtitle.js +0 -9
- package/dist/libs/page/src/components/WithIcon/index.d.ts +0 -3
- package/dist/libs/page/src/components/WithIcon/index.js +0 -47
- package/dist/libs/page/src/components/WithIcon/types.d.ts +0 -15
- package/dist/libs/page/src/components/WithIcon/types.js +0 -1
- package/dist/libs/page/src/constants.d.ts +0 -12
- package/dist/libs/page/src/constants.js +0 -12
- package/dist/libs/pickerPage/index.d.ts +0 -7
- package/dist/libs/pickerPage/index.js +0 -5
- package/dist/libs/pickerPage/src/Content/index.d.ts +0 -3
- package/dist/libs/pickerPage/src/Content/index.ios.d.ts +0 -4
- package/dist/libs/pickerPage/src/Content/index.ios.js +0 -19
- package/dist/libs/pickerPage/src/Content/index.js +0 -1
- package/dist/libs/pickerPage/src/Content/types.d.ts +0 -3
- package/dist/libs/pickerPage/src/Content/types.js +0 -1
- package/dist/libs/pickerPage/src/Item/index.d.ts +0 -3
- package/dist/libs/pickerPage/src/Item/index.ios.d.ts +0 -8
- package/dist/libs/pickerPage/src/Item/index.ios.js +0 -8
- package/dist/libs/pickerPage/src/Item/index.js +0 -1
- package/dist/libs/pickerPage/src/Item/types.d.ts +0 -23
- package/dist/libs/pickerPage/src/Item/types.js +0 -1
- package/dist/libs/pickerPage/src/Page/index.d.ts +0 -4
- package/dist/libs/pickerPage/src/Page/index.js +0 -22
- package/dist/libs/pickerPage/src/Page/types.d.ts +0 -30
- package/dist/libs/pickerPage/src/Page/types.js +0 -1
- package/dist/libs/providers/App/index.d.ts +0 -10
- package/dist/libs/providers/App/index.js +0 -58
- package/dist/libs/providers/App/types.d.ts +0 -35
- package/dist/libs/providers/App/types.js +0 -1
- package/dist/libs/providers/constants.d.ts +0 -10
- package/dist/libs/providers/constants.js +0 -10
- package/dist/libs/segmentedControl/index.d.ts +0 -2
- package/dist/libs/segmentedControl/index.js +0 -2
- package/dist/libs/segmentedControl/src/colors.d.ts +0 -15
- package/dist/libs/segmentedControl/src/colors.js +0 -16
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +0 -79
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.d.ts +0 -28
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Container/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Container/index.ios.js +0 -15
- package/dist/libs/segmentedControl/src/components/Container/index.js +0 -18
- package/dist/libs/segmentedControl/src/components/Container/types.d.ts +0 -16
- package/dist/libs/segmentedControl/src/components/Container/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Item/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Item/index.js +0 -26
- package/dist/libs/segmentedControl/src/components/Item/types.d.ts +0 -20
- package/dist/libs/segmentedControl/src/components/Item/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Segmented/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Segmented/index.js +0 -93
- package/dist/libs/segmentedControl/src/components/Segmented/types.d.ts +0 -12
- package/dist/libs/segmentedControl/src/components/Segmented/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Wrapper/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Wrapper/index.js +0 -21
- package/dist/libs/segmentedControl/src/components/Wrapper/types.d.ts +0 -38
- package/dist/libs/segmentedControl/src/components/Wrapper/types.js +0 -1
- package/dist/libs/segmentedControl/src/context/shared.d.ts +0 -11
- package/dist/libs/segmentedControl/src/context/shared.js +0 -13
- package/dist/libs/segmentedControl/src/utils.d.ts +0 -10
- package/dist/libs/segmentedControl/src/utils.js +0 -29
- package/dist/libs/sql/index.d.ts +0 -4
- package/dist/libs/sql/index.js +0 -4
- package/dist/libs/sql/src/init.d.ts +0 -24
- package/dist/libs/sql/src/init.js +0 -31
- package/dist/libs/sql/src/queryLocal.d.ts +0 -6
- package/dist/libs/sql/src/queryLocal.js +0 -15
- package/dist/libs/sql/src/utils.d.ts +0 -11
- package/dist/libs/sql/src/utils.js +0 -60
- package/dist/libs/supabase/index.d.ts +0 -4
- package/dist/libs/supabase/index.js +0 -2
- package/dist/libs/supabase/src/clients/admin/config.d.ts +0 -2
- package/dist/libs/supabase/src/clients/admin/config.js +0 -18
- package/dist/libs/supabase/src/clients/admin/index.d.ts +0 -9
- package/dist/libs/supabase/src/clients/admin/index.js +0 -7
- package/dist/libs/supabase/src/clients/admin/utils.d.ts +0 -5
- package/dist/libs/supabase/src/clients/admin/utils.js +0 -6
- package/dist/libs/supabase/src/clients/app/config.d.ts +0 -3
- package/dist/libs/supabase/src/clients/app/config.js +0 -31
- package/dist/libs/supabase/src/clients/app/index.d.ts +0 -16
- package/dist/libs/supabase/src/clients/app/index.js +0 -7
- package/dist/libs/supabase/src/clients/app/utils.d.ts +0 -12
- package/dist/libs/supabase/src/clients/app/utils.js +0 -10
- package/dist/libs/supabase/src/utils/index.d.ts +0 -20
- package/dist/libs/supabase/src/utils/index.js +0 -23
- package/dist/libs/supabase/src/utils/types.d.ts +0 -22
- package/dist/libs/supabase/src/utils/types.js +0 -1
- package/dist/libs/swiftui/index.d.ts +0 -9
- package/dist/libs/swiftui/index.js +0 -9
- package/dist/libs/swiftui/src/components/Dialog/index.d.ts +0 -4
- package/dist/libs/swiftui/src/components/Dialog/index.js +0 -22
- package/dist/libs/swiftui/src/components/Dialog/types.d.ts +0 -21
- package/dist/libs/swiftui/src/components/Dialog/types.js +0 -1
- package/dist/libs/swiftui/src/components/Host.d.ts +0 -6
- package/dist/libs/swiftui/src/components/Host.js +0 -5
- package/dist/libs/swiftui/src/components/Icon.d.ts +0 -10
- package/dist/libs/swiftui/src/components/Icon.js +0 -8
- package/dist/libs/swiftui/src/components/IconSection/Icon.d.ts +0 -25
- package/dist/libs/swiftui/src/components/IconSection/Icon.js +0 -26
- package/dist/libs/swiftui/src/components/IconSection/Section.d.ts +0 -7
- package/dist/libs/swiftui/src/components/IconSection/Section.js +0 -17
- package/dist/libs/swiftui/src/components/IconSection/index.d.ts +0 -7
- package/dist/libs/swiftui/src/components/IconSection/index.js +0 -5
- package/dist/libs/swiftui/src/components/List/BaseList/index.d.ts +0 -10
- package/dist/libs/swiftui/src/components/List/BaseList/index.js +0 -20
- package/dist/libs/swiftui/src/components/List/BaseList/types.d.ts +0 -16
- package/dist/libs/swiftui/src/components/List/BaseList/types.js +0 -1
- package/dist/libs/swiftui/src/components/List/Editable/List/index.d.ts +0 -4
- package/dist/libs/swiftui/src/components/List/Editable/List/index.js +0 -19
- package/dist/libs/swiftui/src/components/List/Editable/List/types.d.ts +0 -16
- package/dist/libs/swiftui/src/components/List/Editable/List/types.js +0 -1
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.d.ts +0 -5
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.js +0 -36
- package/dist/libs/swiftui/src/components/List/Editable/Section/types.d.ts +0 -42
- package/dist/libs/swiftui/src/components/List/Editable/Section/types.js +0 -1
- package/dist/libs/swiftui/src/components/List/Editable/index.d.ts +0 -7
- package/dist/libs/swiftui/src/components/List/Editable/index.js +0 -5
- package/dist/libs/swiftui/src/components/List/index.d.ts +0 -7
- package/dist/libs/swiftui/src/components/List/index.js +0 -5
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.d.ts +0 -4
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +0 -14
- package/dist/libs/swiftui/src/components/NavigationLink/index.d.ts +0 -4
- package/dist/libs/swiftui/src/components/NavigationLink/index.js +0 -14
- package/dist/libs/swiftui/src/components/NavigationLink/types.d.ts +0 -31
- package/dist/libs/swiftui/src/components/NavigationLink/types.js +0 -1
- package/dist/libs/swiftui/src/components/Picker.d.ts +0 -11
- package/dist/libs/swiftui/src/components/Picker.js +0 -14
- package/dist/libs/swiftui/src/components/Text.d.ts +0 -6
- package/dist/libs/swiftui/src/components/Text.js +0 -10
- package/dist/libs/swiftui/src/components/TextSubtitle.d.ts +0 -22
- package/dist/libs/swiftui/src/components/TextSubtitle.js +0 -9
- package/dist/libs/swiftui/src/context/ListEditable.d.ts +0 -7
- package/dist/libs/swiftui/src/context/ListEditable.js +0 -2
- package/dist/libs/table/index.d.ts +0 -5
- package/dist/libs/table/index.js +0 -5
- package/dist/libs/table/src/components/Borders.d.ts +0 -6
- package/dist/libs/table/src/components/Borders.js +0 -84
- package/dist/libs/table/src/components/Delete/index.d.ts +0 -4
- package/dist/libs/table/src/components/Delete/index.js +0 -141
- package/dist/libs/table/src/components/Delete/types.d.ts +0 -27
- package/dist/libs/table/src/components/Delete/types.js +0 -1
- package/dist/libs/table/src/components/Detail.d.ts +0 -4
- package/dist/libs/table/src/components/Detail.js +0 -11
- package/dist/libs/table/src/components/Option/index.d.ts +0 -6
- package/dist/libs/table/src/components/Option/index.js +0 -106
- package/dist/libs/table/src/components/Option/types.d.ts +0 -61
- package/dist/libs/table/src/components/Option/types.js +0 -1
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +0 -6
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +0 -14
- package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +0 -6
- package/dist/libs/table/src/components/OptionComponents/dragIcon.js +0 -18
- package/dist/libs/table/src/components/OptionComponents/icon.d.ts +0 -10
- package/dist/libs/table/src/components/OptionComponents/icon.js +0 -12
- package/dist/libs/table/src/components/OptionComponents/image.d.ts +0 -9
- package/dist/libs/table/src/components/OptionComponents/image.js +0 -12
- package/dist/libs/table/src/components/OptionComponents/index.d.ts +0 -8
- package/dist/libs/table/src/components/OptionComponents/index.js +0 -8
- package/dist/libs/table/src/components/OptionComponents/text.d.ts +0 -22
- package/dist/libs/table/src/components/OptionComponents/text.js +0 -20
- package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +0 -25
- package/dist/libs/table/src/components/OptionComponents/textInput.js +0 -49
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +0 -8
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.js +0 -10
- package/dist/libs/table/src/components/OptionComponents/textView.d.ts +0 -14
- package/dist/libs/table/src/components/OptionComponents/textView.js +0 -18
- package/dist/libs/table/src/components/OptionWrapper/index.d.ts +0 -3
- package/dist/libs/table/src/components/OptionWrapper/index.js +0 -9
- package/dist/libs/table/src/components/OptionWrapper/types.d.ts +0 -37
- package/dist/libs/table/src/components/OptionWrapper/types.js +0 -1
- package/dist/libs/table/src/components/Table/index.d.ts +0 -3
- package/dist/libs/table/src/components/Table/index.js +0 -90
- package/dist/libs/table/src/components/Table/types.d.ts +0 -70
- package/dist/libs/table/src/components/Table/types.js +0 -1
- package/dist/libs/table/src/components/Wrapper.d.ts +0 -4
- package/dist/libs/table/src/components/Wrapper.js +0 -49
- package/dist/libs/table/src/constants.d.ts +0 -108
- package/dist/libs/table/src/constants.js +0 -107
- package/dist/libs/table/src/context/borders.d.ts +0 -10
- package/dist/libs/table/src/context/borders.js +0 -11
- package/dist/libs/table/src/context/delete.d.ts +0 -1
- package/dist/libs/table/src/context/delete.js +0 -2
- package/dist/libs/table/src/context/table.d.ts +0 -21
- package/dist/libs/table/src/context/table.js +0 -4
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { memo, useMemo } from 'react';
|
|
2
|
-
import { StyleSheet, View } from 'react-native';
|
|
3
|
-
/**
|
|
4
|
-
Pone el padding según el typeOption.
|
|
5
|
-
*/
|
|
6
|
-
export default memo(({ children, style = {}, isSingleLine, ...props }) => {
|
|
7
|
-
isSingleLine = useMemo(() => isSingleLine ?? (React.Children.count(children) <= 1), [children]);
|
|
8
|
-
const containerStyle = useMemo(() => [styles.container, { paddingVertical: isSingleLine ? 16.35 : 10 }, style], [isSingleLine, style]);
|
|
9
|
-
return (<View style={containerStyle} {...props}>
|
|
10
|
-
{children}
|
|
11
|
-
</View>);
|
|
12
|
-
});
|
|
13
|
-
const styles = StyleSheet.create({
|
|
14
|
-
container: {
|
|
15
|
-
flexDirection: 'column',
|
|
16
|
-
gap: 2,
|
|
17
|
-
}
|
|
18
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { memo } from 'react';
|
|
2
|
-
import ThemeComponent from '../../../../../libs/components/Theme';
|
|
3
|
-
import * as OptionComponents from '../OptionComponents';
|
|
4
|
-
import Wrapper from '../Wrapper';
|
|
5
|
-
const OptionWrapper = memo(({ ...props }) => {
|
|
6
|
-
return <ThemeComponent component={Wrapper} {...props}/>;
|
|
7
|
-
});
|
|
8
|
-
OptionWrapper.Components = OptionComponents;
|
|
9
|
-
export default OptionWrapper;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ViewProps } from "react-native";
|
|
3
|
-
import { type ColorSchemeType } from "../../constants";
|
|
4
|
-
import OptionProps from "../Option/types";
|
|
5
|
-
import { DeleteIcon, DragIcon, Icon, Image, Text, TextInput, TextInputCurrency, TextView } from '../OptionComponents';
|
|
6
|
-
export type Props = OptionProps & {
|
|
7
|
-
id: string;
|
|
8
|
-
/**
|
|
9
|
-
@default false
|
|
10
|
-
*/
|
|
11
|
-
isAnimated?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
@default '{ left: left, right: right, shownTop: null, shownBottom: null, color: null }'
|
|
14
|
-
*/
|
|
15
|
-
borders?: {
|
|
16
|
-
color: string | null;
|
|
17
|
-
shownTop: boolean | null;
|
|
18
|
-
shownBottom: boolean | null;
|
|
19
|
-
left: number;
|
|
20
|
-
right: number;
|
|
21
|
-
};
|
|
22
|
-
} & ViewProps;
|
|
23
|
-
export type OptionComponent = React.MemoExoticComponent<React.FC<Props & {
|
|
24
|
-
colorScheme?: ColorSchemeType;
|
|
25
|
-
}>> & {
|
|
26
|
-
Components: {
|
|
27
|
-
DeleteIcon: typeof DeleteIcon;
|
|
28
|
-
DragIcon: typeof DragIcon;
|
|
29
|
-
Icon: typeof Icon;
|
|
30
|
-
Image: typeof Image;
|
|
31
|
-
Text: typeof Text;
|
|
32
|
-
TextInput: typeof TextInput;
|
|
33
|
-
TextInputCurrency: typeof TextInputCurrency;
|
|
34
|
-
TextView: typeof TextView;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { useObservable } from '@legendapp/state/react';
|
|
2
|
-
import React, { memo, useMemo } from 'react';
|
|
3
|
-
import { Platform, StyleSheet } from 'react-native';
|
|
4
|
-
import Animated, { Easing, FadeIn, FadeOut, LinearTransition } from 'react-native-reanimated';
|
|
5
|
-
import colors from '../../constants';
|
|
6
|
-
import Hooks from '../../../../../libs/constants/hooks';
|
|
7
|
-
import { useApp } from '../../../../../libs/providers/App';
|
|
8
|
-
import { isLowTier } from '../../../../../libs/constants/consts';
|
|
9
|
-
import { BordersProvider, StoreProvider, TableProvider } from '../../context/table';
|
|
10
|
-
import OptionWrapper from '../OptionWrapper';
|
|
11
|
-
import Detail from '../Detail';
|
|
12
|
-
const Table = memo(({ children, title, renderDetail, colorThemeType = 'default', type = 'default', style, contentContainerStyle, allBorders = false, keys, }) => {
|
|
13
|
-
// ------------- Variables -------------
|
|
14
|
-
const { colorScheme } = useApp();
|
|
15
|
-
const Theme = colors.theme[colorScheme];
|
|
16
|
-
const store = useObservable({
|
|
17
|
-
pressed_id: null,
|
|
18
|
-
deleted: {
|
|
19
|
-
setted: false,
|
|
20
|
-
id: null,
|
|
21
|
-
keys: keys,
|
|
22
|
-
lastId: (() => {
|
|
23
|
-
const newKeys = store.deleted.keys.get();
|
|
24
|
-
return (newKeys?.[newKeys.length - 1] ?? null);
|
|
25
|
-
}),
|
|
26
|
-
firstId: (() => {
|
|
27
|
-
const newKeys = store.deleted.keys.get();
|
|
28
|
-
return (newKeys?.[0] ?? null);
|
|
29
|
-
}),
|
|
30
|
-
},
|
|
31
|
-
borders: new Map()
|
|
32
|
-
});
|
|
33
|
-
const layoutAnimation = isLowTier ? LinearTransition.duration(500) : LinearTransition.easing(Easing.bezier(0.2, 0.2, 0, 1)).duration(600);
|
|
34
|
-
// ------------- useEffect -------------
|
|
35
|
-
Hooks.useEffectWithoutFirstRender(() => store.deleted.keys.set(keys), [keys]);
|
|
36
|
-
const value = useMemo(() => ({ colorThemeType, type, keys, allBorders }), [colorThemeType, type, keys, allBorders]);
|
|
37
|
-
return (<Animated.View key={title || 'title'} layout={Platform.OS === 'web' ? undefined : LinearTransition.duration(100).easing(Easing.bezier(0.1, 0.1, 0, 1))} style={[
|
|
38
|
-
styles.container,
|
|
39
|
-
type === 'default' ? { marginRight: 16, marginLeft: 16, marginBottom: renderDetail ? 20 : 30 } : {},
|
|
40
|
-
style
|
|
41
|
-
]}>
|
|
42
|
-
{title &&
|
|
43
|
-
<Animated.Text key={title} style={[styles.title, { color: Theme.text2 }]} exiting={FadeOut.duration(100)} entering={FadeIn.duration(100)}>
|
|
44
|
-
{title}
|
|
45
|
-
</Animated.Text>}
|
|
46
|
-
|
|
47
|
-
<Animated.View exiting={FadeOut.duration(100)} entering={FadeIn.duration(100)} layout={layoutAnimation} style={[
|
|
48
|
-
styles.contentContainer,
|
|
49
|
-
{ backgroundColor: colors.table[colorThemeType][colorScheme].background },
|
|
50
|
-
contentContainerStyle,
|
|
51
|
-
type === 'default' ? { borderRadius: 26 } : {},
|
|
52
|
-
]}>
|
|
53
|
-
<TableProvider value={value}>
|
|
54
|
-
<StoreProvider value={store}>
|
|
55
|
-
<BordersProvider value={store.borders}>
|
|
56
|
-
{children}
|
|
57
|
-
</BordersProvider>
|
|
58
|
-
</StoreProvider>
|
|
59
|
-
</TableProvider>
|
|
60
|
-
</Animated.View>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{renderDetail &&
|
|
64
|
-
<Animated.View entering={FadeIn.duration(100)} exiting={FadeOut.duration(100)}>
|
|
65
|
-
{renderDetail()}
|
|
66
|
-
</Animated.View>}
|
|
67
|
-
</Animated.View>);
|
|
68
|
-
});
|
|
69
|
-
const styles = StyleSheet.create({
|
|
70
|
-
container: {
|
|
71
|
-
gap: 6,
|
|
72
|
-
},
|
|
73
|
-
title: {
|
|
74
|
-
marginLeft: 16,
|
|
75
|
-
fontSize: 17,
|
|
76
|
-
fontWeight: '600',
|
|
77
|
-
},
|
|
78
|
-
contentContainer: {
|
|
79
|
-
overflow: 'hidden',
|
|
80
|
-
position: 'relative',
|
|
81
|
-
},
|
|
82
|
-
viewDetail: {
|
|
83
|
-
marginTop: 1.5,
|
|
84
|
-
marginLeft: 15,
|
|
85
|
-
marginRight: 16
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
Table.Detail = Detail;
|
|
89
|
-
Table.Option = OptionWrapper;
|
|
90
|
-
export default Table;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
import { type ColorThemeType } from '../../constants';
|
|
4
|
-
import OptionWrapper from '../OptionWrapper';
|
|
5
|
-
import Detail from '../Detail';
|
|
6
|
-
type Props = {
|
|
7
|
-
/**
|
|
8
|
-
Opciones de la tabla.
|
|
9
|
-
Tiene que ser una lista de Options.
|
|
10
|
-
*/
|
|
11
|
-
children?: React.ReactNode | React.ReactNode[];
|
|
12
|
-
/**
|
|
13
|
-
Texto que aparece arriba de la tabla.
|
|
14
|
-
Si es null, no se muestra.
|
|
15
|
-
*/
|
|
16
|
-
title?: string;
|
|
17
|
-
/**
|
|
18
|
-
Item que aparece abajo de la tabla.
|
|
19
|
-
Si es null, no se muestra.
|
|
20
|
-
Tiene que ser un Animated.Text.
|
|
21
|
-
*/
|
|
22
|
-
renderDetail?: () => React.ReactElement<typeof Detail>;
|
|
23
|
-
/**
|
|
24
|
-
Tipo de tema de la tabla.
|
|
25
|
-
*/
|
|
26
|
-
colorThemeType?: ColorThemeType;
|
|
27
|
-
/**
|
|
28
|
-
Tipo de tema de la tabla.
|
|
29
|
-
'default' | 'full'.
|
|
30
|
-
*/
|
|
31
|
-
type?: 'default' | 'full';
|
|
32
|
-
/**
|
|
33
|
-
Estilos de la contTable.
|
|
34
|
-
Es un Animated.View.
|
|
35
|
-
*/
|
|
36
|
-
style?: StyleProp<ViewStyle>;
|
|
37
|
-
/**
|
|
38
|
-
Estilos de la contTable.
|
|
39
|
-
Es un Animated.View.
|
|
40
|
-
*/
|
|
41
|
-
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
42
|
-
/**
|
|
43
|
-
Lista de keys de los children. Sirve para el delete.
|
|
44
|
-
*/
|
|
45
|
-
keys?: string[] | undefined;
|
|
46
|
-
/**
|
|
47
|
-
Indica si se muestran todos los bordes de las opciones.
|
|
48
|
-
Se muestran todos los bottom y el top del primero
|
|
49
|
-
*/
|
|
50
|
-
allBorders?: boolean;
|
|
51
|
-
};
|
|
52
|
-
export type Component = React.MemoExoticComponent<React.FC<Props>> & {
|
|
53
|
-
Option: typeof OptionWrapper;
|
|
54
|
-
Detail: typeof Detail;
|
|
55
|
-
};
|
|
56
|
-
export type Store = {
|
|
57
|
-
pressed_id: string | null;
|
|
58
|
-
deleted: {
|
|
59
|
-
setted: boolean;
|
|
60
|
-
id: string | null;
|
|
61
|
-
keys: string[] | undefined;
|
|
62
|
-
lastId: string | null;
|
|
63
|
-
firstId: string | null;
|
|
64
|
-
};
|
|
65
|
-
borders: Map<string, {
|
|
66
|
-
top: (show: boolean) => void;
|
|
67
|
-
bottom: (show: boolean) => void;
|
|
68
|
-
}>;
|
|
69
|
-
};
|
|
70
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
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>;
|
|
4
|
-
export default _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import Animated, { Easing, FadeIn, FadeOut, LinearTransition } from 'react-native-reanimated';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import React, { memo } from 'react';
|
|
4
|
-
import colors from '../constants';
|
|
5
|
-
import { isLowTier } from '../../../../libs/constants/consts';
|
|
6
|
-
import { useTable } from '../context/table';
|
|
7
|
-
import Delete from './Delete';
|
|
8
|
-
import BordersContextWrapper from '../context/borders';
|
|
9
|
-
import Borders from './Borders';
|
|
10
|
-
import Option, { left, right } from './Option';
|
|
11
|
-
const ViewDelete = memo(({ children, colorScheme, ...props }) => {
|
|
12
|
-
const { colorThemeType } = useTable();
|
|
13
|
-
return (<View style={{ backgroundColor: colors.table[colorThemeType][colorScheme].background }} {...props}>
|
|
14
|
-
{children}
|
|
15
|
-
</View>);
|
|
16
|
-
});
|
|
17
|
-
export default memo(({ children, childrenLeft, childrenRight, onPress, onDelete, onDeleteShown, removeWidth, id, style, isAnimated = true, borders = {
|
|
18
|
-
left: left,
|
|
19
|
-
right: right,
|
|
20
|
-
shownTop: null,
|
|
21
|
-
shownBottom: null,
|
|
22
|
-
color: null
|
|
23
|
-
}, backgroundColorPressed, LinearGradientProps, layoutAnimation = isLowTier ?
|
|
24
|
-
LinearTransition.duration(500) : LinearTransition.easing(Easing.bezier(0.2, 0.2, 0, 1)).duration(600), colorScheme, hasTextView, ...props }) => {
|
|
25
|
-
// Restricciones
|
|
26
|
-
if (onDelete && onPress)
|
|
27
|
-
throw new Error('onDelete y onPress no pueden ser usados juntos');
|
|
28
|
-
let content = (<>
|
|
29
|
-
<Option colorScheme={colorScheme} hasTextView={hasTextView} childrenLeft={childrenLeft} childrenRight={childrenRight} onPress={onPress} style={style} backgroundColorPressed={backgroundColorPressed} LinearGradientProps={LinearGradientProps}>
|
|
30
|
-
{children}
|
|
31
|
-
</Option>
|
|
32
|
-
{borders && <Borders id={id} borders={borders}/>}
|
|
33
|
-
</>);
|
|
34
|
-
// onDelete
|
|
35
|
-
content = onDelete ? (<Delete id={id} removeWidth={removeWidth} onDelete={onDelete} onDeleteShown={onDeleteShown}>
|
|
36
|
-
<ViewDelete colorScheme={colorScheme} {...props}>
|
|
37
|
-
{content}
|
|
38
|
-
</ViewDelete>
|
|
39
|
-
</Delete>) : (props ? <View {...props}>{content}</View> : content);
|
|
40
|
-
// Borders
|
|
41
|
-
content = borders && (borders?.shownTop == null || borders?.shownBottom == null) ? (<BordersContextWrapper>
|
|
42
|
-
{content}
|
|
43
|
-
</BordersContextWrapper>) : content;
|
|
44
|
-
if (!isAnimated)
|
|
45
|
-
return content;
|
|
46
|
-
return (<Animated.View layout={layoutAnimation} exiting={FadeOut.duration(100)} entering={FadeIn.duration(100)}>
|
|
47
|
-
{content}
|
|
48
|
-
</Animated.View>);
|
|
49
|
-
});
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
export declare const colors: {
|
|
2
|
-
theme: {
|
|
3
|
-
light: {
|
|
4
|
-
text: string;
|
|
5
|
-
text2: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
borderColorContCliente: string;
|
|
8
|
-
};
|
|
9
|
-
dark: {
|
|
10
|
-
text: string;
|
|
11
|
-
text2: string;
|
|
12
|
-
icon: string;
|
|
13
|
-
borderColorContCliente: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
especiales: {
|
|
17
|
-
rojo: string;
|
|
18
|
-
};
|
|
19
|
-
table: {
|
|
20
|
-
default: {
|
|
21
|
-
light: {
|
|
22
|
-
background: string;
|
|
23
|
-
background_pressed: string;
|
|
24
|
-
border: string;
|
|
25
|
-
};
|
|
26
|
-
dark: {
|
|
27
|
-
background: string;
|
|
28
|
-
background_pressed: string;
|
|
29
|
-
border: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
modal: {
|
|
33
|
-
light: {
|
|
34
|
-
background: string;
|
|
35
|
-
background_pressed: string;
|
|
36
|
-
border: string;
|
|
37
|
-
};
|
|
38
|
-
dark: {
|
|
39
|
-
background: string;
|
|
40
|
-
background_pressed: string;
|
|
41
|
-
border: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
modal2: {
|
|
45
|
-
light: {
|
|
46
|
-
background: string;
|
|
47
|
-
background_pressed: string;
|
|
48
|
-
border: string;
|
|
49
|
-
};
|
|
50
|
-
dark: {
|
|
51
|
-
background: string;
|
|
52
|
-
background_pressed: string;
|
|
53
|
-
border: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
light: {
|
|
57
|
-
light: {
|
|
58
|
-
background: string;
|
|
59
|
-
background_pressed: string;
|
|
60
|
-
border: string;
|
|
61
|
-
};
|
|
62
|
-
dark: {
|
|
63
|
-
background: string;
|
|
64
|
-
background_pressed: string;
|
|
65
|
-
border: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
lightBlue: {
|
|
69
|
-
light: {
|
|
70
|
-
background: string;
|
|
71
|
-
background_pressed: string;
|
|
72
|
-
border: string;
|
|
73
|
-
};
|
|
74
|
-
dark: {
|
|
75
|
-
background: string;
|
|
76
|
-
background_pressed: string;
|
|
77
|
-
border: string;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
orange: {
|
|
81
|
-
light: {
|
|
82
|
-
background: string;
|
|
83
|
-
background_pressed: string;
|
|
84
|
-
border: string;
|
|
85
|
-
};
|
|
86
|
-
dark: {
|
|
87
|
-
background: string;
|
|
88
|
-
background_pressed: string;
|
|
89
|
-
border: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
full: {
|
|
93
|
-
light: {
|
|
94
|
-
background: string;
|
|
95
|
-
background_pressed: string;
|
|
96
|
-
border: string;
|
|
97
|
-
};
|
|
98
|
-
dark: {
|
|
99
|
-
background: string;
|
|
100
|
-
background_pressed: string;
|
|
101
|
-
border: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
export { type ColorSchemeType } from "../../../libs/constants/colors";
|
|
107
|
-
export type ColorThemeType = keyof typeof colors.table;
|
|
108
|
-
export default colors;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import colorsLib from "../../../libs/constants/colors";
|
|
2
|
-
export const colors = {
|
|
3
|
-
theme: {
|
|
4
|
-
light: {
|
|
5
|
-
text: colorsLib.light.text,
|
|
6
|
-
text2: colorsLib.light.text2Libretas,
|
|
7
|
-
icon: 'hsl(0, 0%, 76%)',
|
|
8
|
-
borderColorContCliente: 'hsl(240, 2.40%, 92.00%)',
|
|
9
|
-
},
|
|
10
|
-
dark: {
|
|
11
|
-
text: colorsLib.dark.text,
|
|
12
|
-
text2: colorsLib.dark.text2Libretas,
|
|
13
|
-
icon: 'hsl(252, 3%, 35%)',
|
|
14
|
-
borderColorContCliente: 'hsl(252, 3%, 30%)', //'hsl(240, 2%, 22%)',
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
especiales: {
|
|
18
|
-
rojo: colorsLib.especiales.rojo
|
|
19
|
-
},
|
|
20
|
-
table: {
|
|
21
|
-
default: {
|
|
22
|
-
light: {
|
|
23
|
-
background: 'hsl(120, 100%, 100%)',
|
|
24
|
-
background_pressed: 'hsl(240, 5%, 83%)',
|
|
25
|
-
border: 'hsl(240, 2%, 91%)'
|
|
26
|
-
},
|
|
27
|
-
dark: {
|
|
28
|
-
background: 'hsl(240, 3%, 10.5%)',
|
|
29
|
-
background_pressed: 'hsl(240, 2%, 22.5%)',
|
|
30
|
-
border: 'hsl(240, 3%, 22.5%)'
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
modal: {
|
|
34
|
-
light: {
|
|
35
|
-
background: 'hsl(120, 100%, 100%)',
|
|
36
|
-
background_pressed: 'hsl(240, 5%, 83%)',
|
|
37
|
-
border: 'hsl(240, 2%, 91%)'
|
|
38
|
-
},
|
|
39
|
-
dark: {
|
|
40
|
-
background: 'hsl(240, 2%, 17.5%)',
|
|
41
|
-
background_pressed: 'hsl(240, 2%, 29.5%)',
|
|
42
|
-
border: 'hsl(240, 2%, 25.5%)'
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
modal2: {
|
|
46
|
-
light: {
|
|
47
|
-
background: 'hsl(240, 18%, 96%)',
|
|
48
|
-
background_pressed: 'hsl(252, 22%, 79%)',
|
|
49
|
-
border: 'hsl(240, 10%, 88%)'
|
|
50
|
-
},
|
|
51
|
-
dark: {
|
|
52
|
-
background: 'hsl(240, 2%, 17.5%)',
|
|
53
|
-
background_pressed: 'hsl(240, 2%, 29.5%)',
|
|
54
|
-
border: 'hsl(240, 2%, 25.5%)'
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
light: {
|
|
58
|
-
light: {
|
|
59
|
-
background: 'hsl(240, 18%, 96%)',
|
|
60
|
-
background_pressed: 'hsl(240, 8%, 91%)',
|
|
61
|
-
border: 'hsl(240, 10%, 88%)'
|
|
62
|
-
},
|
|
63
|
-
dark: {
|
|
64
|
-
background: 'hsl(240, 3%, 10.5%)',
|
|
65
|
-
background_pressed: 'hsl(240, 2%, 22.5%)',
|
|
66
|
-
border: 'hsl(240, 3%, 22.5%)'
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
lightBlue: {
|
|
70
|
-
light: {
|
|
71
|
-
background: 'hsl(190, 79%, 94%)',
|
|
72
|
-
background_pressed: 'hsl(190, 82%, 89%)',
|
|
73
|
-
border: ''
|
|
74
|
-
},
|
|
75
|
-
dark: {
|
|
76
|
-
background: 'hsl(194, 62%, 11.5%)',
|
|
77
|
-
background_pressed: 'hsl(193, 62%, 18%)',
|
|
78
|
-
border: ''
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
orange: {
|
|
82
|
-
light: {
|
|
83
|
-
background: 'hsl(37, 76.5%, 90%)',
|
|
84
|
-
background_pressed: 'hsl(36, 80%, 85%)',
|
|
85
|
-
border: ''
|
|
86
|
-
},
|
|
87
|
-
dark: {
|
|
88
|
-
background: 'hsl(38, 63.6%, 16.8%)',
|
|
89
|
-
background_pressed: 'hsl(36, 64.6%, 22.3%)',
|
|
90
|
-
border: ''
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
full: {
|
|
94
|
-
light: {
|
|
95
|
-
background: 'hsl(0, 0.00%, 100.00%)',
|
|
96
|
-
background_pressed: 'hsl(240, 5%, 83%)',
|
|
97
|
-
border: 'hsl(240, 2%, 91%)'
|
|
98
|
-
},
|
|
99
|
-
dark: {
|
|
100
|
-
background: 'hsl(0, 0.00%, 0.00%)',
|
|
101
|
-
background_pressed: 'hsl(240, 2%, 22.5%)',
|
|
102
|
-
border: 'hsl(240, 3%, 22.5%)'
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
export default colors;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction, RefObject } from "react";
|
|
2
|
-
declare const useBorder: () => RefObject<Record<string, any> | {
|
|
3
|
-
top: Dispatch<SetStateAction<boolean>>;
|
|
4
|
-
bottom: Dispatch<SetStateAction<boolean>>;
|
|
5
|
-
}>;
|
|
6
|
-
export { useBorder };
|
|
7
|
-
declare const _default: ({ children }: {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}) => import("react").JSX.Element;
|
|
10
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { useMemo, useRef } from "react";
|
|
2
|
-
import Utils from "../../../../libs/constants/utils";
|
|
3
|
-
const [Provider, useBorder] = Utils.createCtx();
|
|
4
|
-
export { useBorder };
|
|
5
|
-
export default ({ children }) => {
|
|
6
|
-
const bordersRef = useRef({});
|
|
7
|
-
const valueBorders = useMemo(() => (bordersRef), []);
|
|
8
|
-
return (<Provider value={valueBorders}>
|
|
9
|
-
{children}
|
|
10
|
-
</Provider>);
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DeleteProvider: import("react").Provider<(() => void) | null>, useDelete: () => () => void;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Observable } from '@legendapp/state';
|
|
2
|
-
import Props, { Store } from '../components/Table/types';
|
|
3
|
-
export declare const StoreProvider: import("react").Provider<Observable<Store> | null>, useStore: () => Observable<Store>;
|
|
4
|
-
export declare const BordersProvider: import("react").Provider<Observable<Map<string, {
|
|
5
|
-
top: (show: boolean) => void;
|
|
6
|
-
bottom: (show: boolean) => void;
|
|
7
|
-
}>> | null>, useBorders: () => Observable<Map<string, {
|
|
8
|
-
top: (show: boolean) => void;
|
|
9
|
-
bottom: (show: boolean) => void;
|
|
10
|
-
}>>;
|
|
11
|
-
export declare const TableProvider: import("react").Provider<{
|
|
12
|
-
colorThemeType: Exclude<Props["colorThemeType"], undefined>;
|
|
13
|
-
allBorders: Props["allBorders"];
|
|
14
|
-
type: Props["type"];
|
|
15
|
-
keys: Props["keys"];
|
|
16
|
-
} | null>, useTable: () => {
|
|
17
|
-
colorThemeType: Exclude<Props["colorThemeType"], undefined>;
|
|
18
|
-
allBorders: Props["allBorders"];
|
|
19
|
-
type: Props["type"];
|
|
20
|
-
keys: Props["keys"];
|
|
21
|
-
};
|