react-crud-mobile 1.3.44 → 1.3.45
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/react-crud-mobile.cjs.development.js +0 -2
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +1 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UISelect.tsx +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, useContext, useLayoutEffect, createContext } from 'react';
|
|
2
|
-
import { Utils, ScopeUtils, CrudUtils,
|
|
2
|
+
import { Utils, ScopeUtils, CrudUtils, ComponentUtils, ViewUtils, HtmlUtils, ThemeUtils, useTheme } from 'react-crud-utils';
|
|
3
3
|
import { View, StyleSheet, TouchableOpacity, Text, Linking, TouchableHighlight, Modal, SafeAreaView, Switch, TextInput, Platform, Dimensions, ScrollView, Alert, Image, StatusBar, KeyboardAvoidingView, TouchableWithoutFeedback, Keyboard } from 'react-native';
|
|
4
4
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
import Ionicons from '@expo/vector-icons/Ionicons';
|
|
@@ -505,7 +505,6 @@ function UISelect(props) {
|
|
|
505
505
|
var items = Utils.nvl(scope.getOptions(), []);
|
|
506
506
|
var placeholder = scope.attr('placeholder', 'Selecione...');
|
|
507
507
|
var value = scope.getDisplayValue();
|
|
508
|
-
var main = ViewUtils.getCrud('view');
|
|
509
508
|
var theme = scope.getTheme();
|
|
510
509
|
var headerStyle = Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
|
|
511
510
|
var handlePress = function handlePress() {
|
|
@@ -539,7 +538,6 @@ function UISelect(props) {
|
|
|
539
538
|
useEffect(function () {
|
|
540
539
|
MobileUtils.syncTheme();
|
|
541
540
|
}, [modalVisible]);
|
|
542
|
-
console.log(scope.original);
|
|
543
541
|
return /*#__PURE__*/jsxs(View, {
|
|
544
542
|
style: style('selectRoot'),
|
|
545
543
|
children: [/*#__PURE__*/jsxs(TouchableOpacity, {
|