@fto-consult/expo-ui 5.6.12 → 5.7.0
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/babel.config.alias.js +2 -10
- package/package.json +2 -2
- package/src/App.js +3 -3
- package/src/auth/Login.js +1 -1
- package/src/auth/ProviderSelector.js +1 -1
- package/src/auth/ThemeSelector/index.js +1 -1
- package/src/components/Animations/Animation/utils.js +1 -1
- package/src/components/AppBar/Content.js +1 -1
- package/src/components/AppBar/index.js +1 -1
- package/src/components/AppBar/utils.js +1 -1
- package/src/components/AutoLink/index.js +1 -1
- package/src/components/AutoSizer/AutoResizer.js +1 -1
- package/src/components/AutoSizer/Vertical.js +1 -1
- package/src/components/Avatar/AutoHeightImage/index.js +1 -1
- package/src/components/Avatar/Image.js +1 -1
- package/src/components/Avatar/Text.js +1 -1
- package/src/components/Avatar/index.js +1 -1
- package/src/components/BackToTop/index.js +1 -1
- package/src/components/Badge/index.js +1 -1
- package/src/components/BottomSheet/Menu.js +1 -1
- package/src/components/BottomSheet/Provider.js +1 -1
- package/src/components/BottomSheet/Sheet.js +2 -2
- package/src/components/BottomSheet/utils.js +1 -1
- package/src/components/Button/index.js +1 -1
- package/src/components/CardView/index.android.js +1 -1
- package/src/components/Chart/appexChart/index.native.js +1 -1
- package/src/components/Chart/appexChart/utils.js +1 -1
- package/src/components/Chart/index.js +1 -1
- package/src/components/Chart/utils.js +1 -1
- package/src/components/Checkbox/index.js +1 -1
- package/src/components/Chip/index.js +1 -1
- package/src/components/Color/ColorPicker.js +1 -1
- package/src/components/Color/index.js +1 -1
- package/src/components/ContentLoader/index copy.js +1 -1
- package/src/components/ContentLoader/index.js +1 -1
- package/src/components/CountUp/index.js +1 -1
- package/src/components/Countries/Flag.js +1 -1
- package/src/components/Countries/SelectCountry.js +2 -2
- package/src/components/Datagrid/Accordion/Filters.js +1 -1
- package/src/components/Datagrid/Accordion/Row.js +1 -1
- package/src/components/Datagrid/Accordion/index.js +1 -1
- package/src/components/Datagrid/Accordion/utils.js +1 -1
- package/src/components/Datagrid/Actions/Header.js +1 -1
- package/src/components/Datagrid/Actions/index.js +1 -1
- package/src/components/Datagrid/Checkbox.js +1 -1
- package/src/components/Datagrid/Common/Common.js +1 -1
- package/src/components/Datagrid/Common/TableData.js +1 -1
- package/src/components/Datagrid/Common/session.js +1 -1
- package/src/components/Datagrid/Common/setQueryLimit.js +1 -1
- package/src/components/Datagrid/Common/utils.js +1 -1
- package/src/components/Datagrid/Dashboard/index.js +1 -1
- package/src/components/Datagrid/Footer/Footer.js +1 -1
- package/src/components/Datagrid/Footer/index.js +1 -1
- package/src/components/Datagrid/IndexComponent.js +1 -1
- package/src/components/Datagrid/RenderType.js +1 -1
- package/src/components/Datagrid/SWRDatagrid.js +2 -2
- package/src/components/Datagrid/Table/index.js +1 -1
- package/src/components/Datagrid/factory.js +1 -1
- package/src/components/Datagrid/getComponent.js +1 -1
- package/src/components/Date/DatePickerInput/index.js +1 -1
- package/src/components/Date/DateTime.js +1 -1
- package/src/components/Date/FormatSelector.js +1 -1
- package/src/components/Date/PeriodAction.js +1 -1
- package/src/components/Date/Time.js +1 -1
- package/src/components/Dialog/Dialog.js +2 -2
- package/src/components/Dialog/DialogFooter.js +1 -1
- package/src/components/Dialog/DialogTitle.js +1 -1
- package/src/components/Dialog/DropdownAlert/index.js +1 -1
- package/src/components/Dialog/Provider.js +1 -1
- package/src/components/Dialog/RNPDialogActions.js +1 -1
- package/src/components/Dialog/confirm/showConfirmOrAlertOrPrompt.js +1 -1
- package/src/components/Dialog/dialogs.js +1 -1
- package/src/components/Dialog/showConfirmOrAlertOrPrompt.js +1 -1
- package/src/components/Dialog/utils.js +1 -1
- package/src/components/DragResize/DragResizeBlock.js +1 -1
- package/src/components/DragResize/index.js +1 -1
- package/src/components/Drawer/DrawerHeader.js +1 -1
- package/src/components/Drawer/DrawerItems/DrawerItem.js +1 -1
- package/src/components/Drawer/DrawerItems/DrawerSection.js +1 -1
- package/src/components/Drawer/DrawerItems/ExpandableItem.js +1 -1
- package/src/components/Drawer/DrawerItems/_DrawerItem.js +1 -1
- package/src/components/Drawer/DrawerItems/index.js +1 -1
- package/src/components/Drawer/DrawerItems/utils.js +1 -1
- package/src/components/Drawer/DrawerLayout/index.js +1 -1
- package/src/components/Drawer/NavigationView.js +1 -1
- package/src/components/Drawer/index.js +1 -1
- package/src/components/Drawer/session.js +1 -1
- package/src/components/Dropdown/index.js +1 -1
- package/src/components/Expandable/Item.js +1 -1
- package/src/components/Expandable/index.js +1 -1
- package/src/components/Fab/Fab.js +1 -1
- package/src/components/Fab/Group.js +1 -1
- package/src/components/Fab/GroupComponent.js +1 -1
- package/src/components/FieldSet/index.js +1 -1
- package/src/components/Filter/BetweenComponent.js +1 -1
- package/src/components/Filter/index.js +2 -2
- package/src/components/Form/Action.js +1 -1
- package/src/components/Form/Fields/Checkbox.js +1 -1
- package/src/components/Form/Fields/Date.js +1 -1
- package/src/components/Form/Fields/DateTime.js +1 -1
- package/src/components/Form/Fields/Field.js +1 -1
- package/src/components/Form/Fields/Html.js +1 -1
- package/src/components/Form/Fields/IdField.js +1 -1
- package/src/components/Form/Fields/Image.js +1 -1
- package/src/components/Form/Fields/PieceField.js +17 -24
- package/src/components/Form/Fields/Radio.js +1 -1
- package/src/components/Form/Fields/SelectField.js +1 -1
- package/src/components/Form/Fields/SelectTableData/Component.js +1 -1
- package/src/components/Form/Fields/Slider.js +1 -1
- package/src/components/Form/Fields/Switch.js +1 -1
- package/src/components/Form/Fields/TextField.js +1 -1
- package/src/components/Form/Fields/Time.js +1 -1
- package/src/components/Form/Fields/index.js +1 -1
- package/src/components/Form/Fields/sprintf.js +1 -1
- package/src/components/Form/Fields/sprintfSelectors.js +1 -1
- package/src/components/Form/Fields/utils.js +1 -1
- package/src/components/Form/Form.js +1 -1
- package/src/components/Form/FormData/Dialog.js +1 -1
- package/src/components/Form/FormData/DialogProvider.js +1 -1
- package/src/components/Form/FormData/FormData.js +1 -1
- package/src/components/Form/FormData/FormDataActions.js +1 -1
- package/src/components/Form/FormData/componentsTypes.js +1 -1
- package/src/components/Form/FormData/utils.js +1 -1
- package/src/components/Form/List/List.js +1 -1
- package/src/components/Form/utils/FormsManager.js +1 -1
- package/src/components/Grid/Cell.js +1 -1
- package/src/components/Grid/Col.js +1 -1
- package/src/components/Grid/Grid.js +1 -1
- package/src/components/Grid/Row.js +1 -1
- package/src/components/Hashtag/index.js +1 -1
- package/src/components/HeavyScreen/index.js +1 -1
- package/src/components/HelperText/index.js +1 -1
- package/src/components/Icon/Checkbox.js +1 -1
- package/src/components/Icon/Font.js +1 -1
- package/src/components/Icon/Icon.js +1 -1
- package/src/components/Icon/IconButton.js +1 -1
- package/src/components/Image/Editor/index copy.js +1 -1
- package/src/components/Image/Editor/index.js +1 -1
- package/src/components/Image/index.js +1 -1
- package/src/components/InlineIndicator/Select.js +1 -1
- package/src/components/InlineIndicator/index.js +1 -1
- package/src/components/Label/index.js +1 -1
- package/src/components/Link/Browser.js +1 -1
- package/src/components/Link/getUrlCallback.js +1 -1
- package/src/components/Link/index.js +1 -1
- package/src/components/List/BigList.js +1 -1
- package/src/components/List/Common.js +1 -1
- package/src/components/List/RecyclerView.js +1 -1
- package/src/components/List/utils.js +1 -1
- package/src/components/Logo/Logo.js +1 -1
- package/src/components/Menu/Item.js +1 -1
- package/src/components/Menu/Menu.js +1 -1
- package/src/components/Menu/index.js +1 -1
- package/src/components/Menu/utils.js +1 -1
- package/src/components/Modal/index.js +1 -1
- package/src/components/Paragraph/index.js +1 -1
- package/src/components/PasswordText/index.js +2 -2
- package/src/components/PhoneInput/index.js +1 -1
- package/src/components/Preloader/index.js +1 -1
- package/src/components/Radio/index.js +1 -1
- package/src/components/Resizable/index.web.js +1 -1
- package/src/components/ScrollView/index copy.js +1 -1
- package/src/components/ScrollView/index.back.js +1 -1
- package/src/components/ScrollView/index.js +1 -1
- package/src/components/ScrollView/index.withWeb.js +1 -1
- package/src/components/SelectCurrency/index.js +1 -1
- package/src/components/Signature/index.js +2 -2
- package/src/components/SimpleSelect/index.js +1 -1
- package/src/components/Slider/index.js +1 -1
- package/src/components/Snackbar/index.js +1 -1
- package/src/components/SplashScreen/index.js +1 -1
- package/src/components/StatusBar/Component/index.web.js +1 -1
- package/src/components/Swipeable/Swipe.js +1 -1
- package/src/components/Swipeable/SwipeableGesture.js +1 -1
- package/src/components/Swiper/index.js +1 -1
- package/src/components/Switch/index.js +1 -1
- package/src/components/Tab/TabContent.js +1 -1
- package/src/components/Tab/TabItem.js +1 -1
- package/src/components/Tab/TabItems.js +1 -1
- package/src/components/Tab/index.js +1 -1
- package/src/components/Table/AbsoluteScrollView.js +1 -1
- package/src/components/Table/Cell.js +1 -1
- package/src/components/Table/List/List.js +1 -1
- package/src/components/Table/List/index.js +1 -1
- package/src/components/Table/ProgressBar.js +1 -1
- package/src/components/Table/index.js +1 -1
- package/src/components/TableLink/index.js +1 -1
- package/src/components/TextField/index.js +1 -1
- package/src/components/Tooltip/Popover/index.js +1 -1
- package/src/components/Tooltip/Popover/index.web.js +1 -1
- package/src/components/Tooltip/index.js +1 -1
- package/src/components/View/index.js +1 -1
- package/src/components/WebView/index.js +1 -1
- package/src/layouts/AppBar/index.js +1 -1
- package/src/layouts/DatabaseStatistics/DatabaseStatistic.js +1 -1
- package/src/layouts/DatabaseStatistics/index.js +1 -1
- package/src/layouts/Fab/index.js +1 -1
- package/src/layouts/ProfilAvatar/index.js +2 -2
- package/src/layouts/Screen/FormData/FormData.js +1 -1
- package/src/layouts/Screen/FormData/List.js +1 -1
- package/src/layouts/Screen/ScreenWithOrWithoutAuthContainer.js +1 -1
- package/src/layouts/Screen/TableData.js +1 -1
- package/src/layouts/Screen/utils.js +1 -1
- package/src/media/Assets/utils.js +1 -1
- package/src/media/file-system/utils/index.js +1 -1
- package/src/media/file-system/utils/write.js +1 -1
- package/src/media/index.js +1 -1
- package/src/navigation/utils.js +1 -1
- package/src/screens/Auth/PermLines.js +1 -1
- package/src/screens/Auth/PermProfile.js +1 -1
- package/src/screens/Auth/PermProfiles.js +1 -1
- package/src/screens/Auth/Profile.js +1 -1
- package/src/screens/Help/About.js +1 -1
- package/src/screens/Help/PrivacyPolicy/Link.js +1 -1
- package/src/screens/Help/TermsOfUses/index.js +1 -1
- package/src/screens/Help/deviceProps.js +1 -1
- package/src/screens/index.js +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { ScrollView,StyleSheet,View,useWindowDimensions,Dimensions} from "react-native";
|
|
6
6
|
import React from "$react";
|
|
7
|
-
import {defaultStr,defaultObj,isObj,isNumber} from "$
|
|
7
|
+
import {defaultStr,defaultObj,isObj,isNumber} from "$cutils";
|
|
8
8
|
import Portal from "$ecomponents/Portal";
|
|
9
9
|
import {isMobileNative,isTouchDevice} from "$platform";
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// license that can be found in the LICENSE file.
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { View } from "react-native";
|
|
6
|
-
import {defaultObj} from "$
|
|
6
|
+
import {defaultObj} from "$cutils";
|
|
7
7
|
import Label from "$ecomponents/Label";
|
|
8
8
|
|
|
9
9
|
function TableCellComponent({cellArgs,rowArgs,children,renderCell,rowIndex,style,...rest}){
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import {Virtuoso} from "react-virtuoso/dist/index.mjs";
|
|
6
6
|
import React from "$react";
|
|
7
7
|
import PropTypes from "prop-types";
|
|
8
|
-
import {defaultObj,defaultNumber,isDOMElement,isNumber,uniqid,isNonNullString,defaultStr} from "$
|
|
8
|
+
import {defaultObj,defaultNumber,isDOMElement,isNumber,uniqid,isNonNullString,defaultStr} from "$cutils";
|
|
9
9
|
import { View } from "react-native";
|
|
10
10
|
|
|
11
11
|
const propTypes = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "$react";
|
|
2
2
|
import {Vertical as AutoSizeVertical} from "$ecomponents/AutoSizer";
|
|
3
3
|
import List from "./List";
|
|
4
|
-
import {defaultStr,isObj,defaultObj} from "$
|
|
4
|
+
import {defaultStr,isObj,defaultObj} from "$cutils";
|
|
5
5
|
const normalize = (size)=>{
|
|
6
6
|
if(isObj(size)){
|
|
7
7
|
["padding","paddingBottom","paddingTop","paddingLeft","paddingRight"].map(p=>{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style
|
|
3
3
|
// license that can be found in the LICENSE file.
|
|
4
4
|
import React from "$react";
|
|
5
|
-
import {defaultBool} from "$
|
|
5
|
+
import {defaultBool} from "$cutils";
|
|
6
6
|
|
|
7
7
|
const DatagridProgressBar = React.forwardRef(({isLoading:customIsLoading,onChange,children},ref)=>{
|
|
8
8
|
const [isLoading,_setIsLoading] = React.useState(defaultBool(customIsLoading));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import View from "$ecomponents/View";
|
|
2
|
-
import {defaultObj,defaultStr,debounce,defaultNumber,defaultVal} from "$
|
|
2
|
+
import {defaultObj,defaultStr,debounce,defaultNumber,defaultVal} from "$cutils";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
export const DEFAULT_COLUMN_WIDTH = 60;
|
|
5
5
|
import React from "$react";
|
|
@@ -7,7 +7,7 @@ import React from "$react";
|
|
|
7
7
|
import View from "$ecomponents/View";
|
|
8
8
|
import PropTypes from "prop-types";
|
|
9
9
|
import Label from "$ecomponents/Label";
|
|
10
|
-
import {defaultStr,isPromise,defaultObj} from "$
|
|
10
|
+
import {defaultStr,isPromise,defaultObj} from "$cutils";
|
|
11
11
|
import {open as openPreloader,close as closePreloader} from "$preloader";
|
|
12
12
|
import {styles as _styles} from "$theme";
|
|
13
13
|
import Tooltip from "$ecomponents/Tooltip";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {defaultStr,defaultObj,defaultBool,isNumber,isDecimal,isFunction,defaultVal,defaultNumber,isNonNullString} from "$
|
|
1
|
+
import {defaultStr,defaultObj,defaultBool,isNumber,isDecimal,isFunction,defaultVal,defaultNumber,isNonNullString} from "$cutils";
|
|
2
2
|
import { TextInput} from "react-native-paper";
|
|
3
3
|
import { TextInput as RNTextInput,KeyboardAvoidingView,StyleSheet} from "react-native";
|
|
4
4
|
import React from "$react";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, {useRef, useMemo, useState } from 'react';
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import theme,{ StyleProps} from '$theme';
|
|
5
|
-
import {defaultObj} from "$
|
|
5
|
+
import {defaultObj} from "$cutils";
|
|
6
6
|
import Label from "$ecomponents/Label";
|
|
7
7
|
import View from "$ecomponents/View";
|
|
8
8
|
import {
|
|
@@ -6,7 +6,7 @@ import PropTypes from "prop-types";
|
|
|
6
6
|
import Label from "$ecomponents/Label";
|
|
7
7
|
import { TIPPY_THEME } from '$theme/updateNative/utils';
|
|
8
8
|
import {isDOMElement} from "$cutils/dom";
|
|
9
|
-
import {uniqid,defaultStr,defaultObj} from "$
|
|
9
|
+
import {uniqid,defaultStr,defaultObj} from "$cutils";
|
|
10
10
|
|
|
11
11
|
const TippyTooltipComponent = React.forwardRef((props,ref)=>{
|
|
12
12
|
let {children,content,...rest} = props;
|
|
@@ -2,7 +2,7 @@ import {View} from "react-native";
|
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import React from "$react";
|
|
4
4
|
import {isMobileNative} from "$cplatform";
|
|
5
|
-
import {debounce,isNumber} from "$
|
|
5
|
+
import {debounce,isNumber} from "$cutils";
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
const ViewComponent = React.forwardRef(({mediaQueryUpdateNativeProps,onRender,onLayoutTimeout,onLayout,autoHeight,autoWidth,elevation,...props},ref)=>{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// license that can be found in the LICENSE file.
|
|
4
4
|
|
|
5
5
|
import WebView from "./Component";
|
|
6
|
-
import {defaultStr} from "$
|
|
6
|
+
import {defaultStr} from "$cutils";
|
|
7
7
|
import React from "$react";
|
|
8
8
|
import PropTypes from "prop-types";
|
|
9
9
|
import {isValidUrl} from "$cutils/uri";
|
|
@@ -2,7 +2,7 @@ import AppBar from "$ecomponents/AppBar";
|
|
|
2
2
|
import { Appbar } from "react-native-paper";
|
|
3
3
|
import React from "$react";
|
|
4
4
|
import {MENU_ICON} from "$ecomponents/Icon";
|
|
5
|
-
import {defaultObj} from "$
|
|
5
|
+
import {defaultObj} from "$cutils";
|
|
6
6
|
import {useDrawer} from "$ecomponents/Drawer";
|
|
7
7
|
import Icon from "$ecomponents/Icon";
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {defaultStr,defaultVal,isNonNullString,defaultNumber,defaultObj} from "$
|
|
1
|
+
import {defaultStr,defaultVal,isNonNullString,defaultNumber,defaultObj} from "$cutils";
|
|
2
2
|
import React from "$react";
|
|
3
3
|
import CountUp from "$ecomponents/CountUp";
|
|
4
4
|
import Avatar from "$ecomponents/Avatar";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Screen from "$screen";
|
|
2
2
|
import Grid,{Cell} from "$components/Grid";
|
|
3
|
-
import {defaultStr,defaultNumber,defaultVal} from "$
|
|
3
|
+
import {defaultStr,defaultNumber,defaultVal} from "$cutils";
|
|
4
4
|
import React from "$react";
|
|
5
5
|
import DatabaseStatistic from "./DatabaseStatistic";
|
|
6
6
|
import theme from "$theme";
|
package/src/layouts/Fab/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Fab from "$ecomponents/Fab";
|
|
2
2
|
import { StyleSheet } from "react-native";
|
|
3
|
-
import {isObjOrArray,isObj,defaultStr,defaultObj} from "$
|
|
3
|
+
import {isObjOrArray,isObj,defaultStr,defaultObj} from "$cutils";
|
|
4
4
|
import APP from "$capp";
|
|
5
5
|
import React from "$react";
|
|
6
6
|
import {navigateToTableData} from "$enavigation/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {defaultObj} from "$
|
|
1
|
+
import {defaultObj} from "$cutils";
|
|
2
2
|
import i18n from "$i18n"
|
|
3
3
|
import Auth from "$cauth";
|
|
4
4
|
import Menu from "$ecomponents/Menu";
|
|
@@ -15,7 +15,7 @@ import theme from "$theme";
|
|
|
15
15
|
import {isMobileNative} from "$cplatform";
|
|
16
16
|
import appConfig from "$capp/config";
|
|
17
17
|
import Preloader from "$preloader";
|
|
18
|
-
import {defaultNumber} from "$
|
|
18
|
+
import {defaultNumber} from "$cutils";
|
|
19
19
|
import Tooltip from "$ecomponents/Tooltip";
|
|
20
20
|
const UserProfileAvatarComponent = React.forwardRef(({drawerRef,chevronIconProps:customChevronIconProps,size,withLabel,...props},ref)=>{
|
|
21
21
|
let u = defaultObj(Auth.getLoggedUser());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import PropTypes from "prop-types";
|
|
2
2
|
import FormDataActions from "$ecomponents/Form/FormData/FormDataActions";
|
|
3
3
|
import React from "$react";
|
|
4
|
-
import {defaultObj,isObj,defaultStr} from "$
|
|
4
|
+
import {defaultObj,isObj,defaultStr} from "$cutils";
|
|
5
5
|
import ScreenContainer from "../Screen";
|
|
6
6
|
import {useRoute} from "$cnavigation";
|
|
7
7
|
import {Form as FormLoader} from "$ecomponents/ContentLoader";
|
|
@@ -2,7 +2,7 @@ import React from '$react';
|
|
|
2
2
|
import {StyleSheet} from 'react-native';
|
|
3
3
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
|
-
import {defaultObj,defaultStr,defaultNumber,defaultBool} from "$
|
|
5
|
+
import {defaultObj,defaultStr,defaultNumber,defaultBool} from "$cutils";
|
|
6
6
|
import View from "$ecomponents/View";
|
|
7
7
|
import { useNavigation} from '$cnavigation';
|
|
8
8
|
import Fab from "$elayouts/Fab";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {defaultStr,isNumber,isPromise,defaultVal,extendObj,defaultObj,uniqid,isObj,isObjOrArray} from "$
|
|
1
|
+
import {defaultStr,isNumber,isPromise,defaultVal,extendObj,defaultObj,uniqid,isObj,isObjOrArray} from "$cutils";
|
|
2
2
|
import {FormData} from "$ecomponents/Form";
|
|
3
3
|
import FormDataScreen from "./FormData";
|
|
4
4
|
import ScreenContainer from "./Screen";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Tab from "$ecomponents/Tab";
|
|
2
|
-
import {isObjOrArray,defaultStr,defaultObj,isNonNullString,defaultArray,defaultFunc} from "$
|
|
2
|
+
import {isObjOrArray,defaultStr,defaultObj,isNonNullString,defaultArray,defaultFunc} from "$cutils";
|
|
3
3
|
import React from "$react";
|
|
4
4
|
import {Colors} from "$theme";
|
|
5
5
|
import { COPY_ICON,PRINT_ICON} from "$ecomponents/Icon";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isAssets } from "../../Assets/utils";
|
|
2
|
-
import {defaultStr,isNonNullString} from "$
|
|
2
|
+
import {defaultStr,isNonNullString} from "$cutils";
|
|
3
3
|
|
|
4
4
|
export const readBlob = (asset)=>{
|
|
5
5
|
const uri = isAssets(asset)? asset.uri :isNonNullString(asset)? asset : undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
|
|
2
2
|
// Use of this source code is governed by a BSD-style
|
|
3
3
|
// license that can be found in the LICENSE file.
|
|
4
|
-
import {defaultStr,base64toBlob,dataURLToBlob,getTypeFromDataURL,isNonNullString,getFileName,getFileExtension,defaultNumber,defaultBool,dataURLToBase64,isBlob,isBase64,isDataURL} from "$
|
|
4
|
+
import {defaultStr,base64toBlob,dataURLToBlob,getTypeFromDataURL,isNonNullString,getFileName,getFileExtension,defaultNumber,defaultBool,dataURLToBase64,isBlob,isBase64,isDataURL} from "$cutils";
|
|
5
5
|
const FileSaver = require('file-saver');
|
|
6
6
|
const mime = require('react-native-mime-types')
|
|
7
7
|
const XLSX = require("xlsx");
|
package/src/media/index.js
CHANGED
package/src/navigation/utils.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style
|
|
3
3
|
// license that can be found in the LICENSE file.
|
|
4
4
|
import {navigate,sanitizeName} from "$cnavigation";
|
|
5
|
-
import {isNonNullString,defaultStr,defaultObj,isObj} from "$
|
|
5
|
+
import {isNonNullString,defaultStr,defaultObj,isObj} from "$cutils";
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
export const tableDataRouteName = 'TableData';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "$react";
|
|
2
2
|
import { StyleSheet } from "react-native";
|
|
3
|
-
import {defaultObj,extendObj} from "$
|
|
3
|
+
import {defaultObj,extendObj} from "$cutils";
|
|
4
4
|
import Auth from "$cauth";
|
|
5
5
|
import Expandable from "$ecomponents/Expandable";
|
|
6
6
|
import PropTypes from "prop-types";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import showConfirm from "$components/Dialog/confirm";
|
|
2
2
|
import notify from "$components/Dialog/notify";
|
|
3
|
-
import {defaultArray,arrayValueExists,defaultStr,uniqid} from "$
|
|
3
|
+
import {defaultArray,arrayValueExists,defaultStr,uniqid} from "$cutils";
|
|
4
4
|
import userDbName from "$database/data/tables/users/dbName";
|
|
5
5
|
import Auth from "$auth";
|
|
6
6
|
import getData from "$database/getData";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import FormDataScreen from "$elayouts/Screen/FormData";
|
|
2
|
-
import {defaultStr,defaultObj} from "$
|
|
2
|
+
import {defaultStr,defaultObj} from "$cutils";
|
|
3
3
|
import PermLines from "./PermLines";
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
5
|
import Label from "$components/Label";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import FormDataScreen from "$elayouts/Screen/FormData";
|
|
2
|
-
import {defaultStr,defaultObj,isObjOrArray,isObj} from "$
|
|
2
|
+
import {defaultStr,defaultObj,isObjOrArray,isObj} from "$cutils";
|
|
3
3
|
import Auth from "$cauth";
|
|
4
4
|
import {navigate} from "$cnavigation";
|
|
5
5
|
import SelectTheme from "$themeSelectorComponent";
|
|
@@ -11,7 +11,7 @@ import Screen from "$screen";
|
|
|
11
11
|
import getDevicesInfos from "./getDevicesInfos";
|
|
12
12
|
import View from "$ecomponents/View";
|
|
13
13
|
import Label from "$ecomponents/Label";
|
|
14
|
-
import {defaultStr} from "$
|
|
14
|
+
import {defaultStr} from "$cutils";
|
|
15
15
|
import theme from "$theme";
|
|
16
16
|
import APP from "$app";
|
|
17
17
|
import AutoLink from "$ecomponents/AutoLink";
|
|
@@ -3,7 +3,7 @@ import {PRIVACY_POLICY} from "./routes";
|
|
|
3
3
|
import theme from "$theme";
|
|
4
4
|
import {StyleSheet} from "react-native";
|
|
5
5
|
import title from "./title";
|
|
6
|
-
import {defaultObj} from "$
|
|
6
|
+
import {defaultObj} from "$cutils";
|
|
7
7
|
import Label from "$ecomponents/Label";
|
|
8
8
|
export default function(props){
|
|
9
9
|
const {style,...rest} = props;
|
|
@@ -3,7 +3,7 @@ import title from "./title";
|
|
|
3
3
|
import Screen from "$screen";
|
|
4
4
|
import Link from "./Link";
|
|
5
5
|
import Content from "$TermsOfUses";
|
|
6
|
-
import {extendObj} from "$
|
|
6
|
+
import {extendObj} from "$cutils";
|
|
7
7
|
import React from "$react";
|
|
8
8
|
|
|
9
9
|
export default function TermsOfUses(props){
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import appConfig from "$capp/config";
|
|
2
|
-
import {defaultObj, extendObj} from "$
|
|
2
|
+
import {defaultObj, extendObj} from "$cutils";
|
|
3
3
|
/*** par défaut, il est possible de spécifier les devices props personnalisés pour l'application.
|
|
4
4
|
* Il suffit de les définir dans la props deviceProps du fichier de configuration de l'application
|
|
5
5
|
*/
|
package/src/screens/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {defaultBool,defaultArray,defaultVal,isObj,isNonNullString,defaultObj,isArray,defaultStr} from "$
|
|
1
|
+
import {defaultBool,defaultArray,defaultVal,isObj,isNonNullString,defaultObj,isArray,defaultStr} from "$cutils";
|
|
2
2
|
import {sanitizeName,GROUP_NAMES} from "./utils";
|
|
3
3
|
import mainScreens from "$mainScreens"
|
|
4
4
|
import React from "$react";
|