@fto-consult/expo-ui 6.32.6 → 6.32.8

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.js CHANGED
@@ -51,7 +51,7 @@ module.exports = function(api,opts) {
51
51
  //generating appex js file
52
52
  const eAppex = $ecomponents && path.resolve($ecomponents,"Chart","appexChart");
53
53
  if(eAppex && fs.existsSync(eAppex)){
54
- const appexPathHtml = path.resolve(eAppex,"index.html");
54
+ const appexPathHtml = path.resolve(eAppex,"appexChart.html");
55
55
  const appexDistPath = path.resolve(nodeModulesPath,"apexcharts","dist","apexcharts.min.js");
56
56
  if(fs.existsSync(appexDistPath)){
57
57
  const jsContent = fs.readFileSync(appexDistPath, 'utf8')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.32.6",
3
+ "version": "6.32.8",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,4 @@
1
- const htmlTemplate = require("./index.html");
1
+ const htmlTemplate = require("./file.html");
2
2
  import React from "$react";
3
3
  import WebView from "$ecomponents/WebView";
4
4
  import {defaultStr,defaultObj,uniqid} from "$cutils";
@@ -36,7 +36,7 @@ WebViewComponent.LocalHtml = React.forwardRef(({file,source,...props},ref)=>{
36
36
  React.useEffect(()=>{
37
37
  if(isInitializedRef.current && prevLocalHtml == file) return;
38
38
  isInitializedRef.current = true;
39
- FileSystem.readFile(file).then((data)=>{
39
+ FileSystem.readFile(y).then((data)=>{
40
40
  setHtml(data);
41
41
  });
42
42
  },file)