jclib-ui 1.0.35 → 1.0.36
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/jclib-ui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
2
|
import t__default, { createContext, useState, useCallback, useEffect, useContext, useRef, useLayoutEffect, useMemo } from "react";
|
|
3
|
-
import { isDarkMode, random, isDesktop, getHash, formatValor, isMobile } from "jcinfo-utils";
|
|
3
|
+
import { isDarkMode, random, isDesktop, getDateTimeStr, getHash, formatValor, isMobile } from "jcinfo-utils";
|
|
4
4
|
import { motion, useDragControls } from "framer-motion";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { Dropdown, DropdownMenu, DropdownItem, DropdownToggle, Alert, Button, InputGroup, Input as Input$1 } from "reactstrap";
|
|
@@ -8815,7 +8815,8 @@ function LoadingReportView({ url, file: fileOrigin, fileTo, setLoading }) {
|
|
|
8815
8815
|
}, [file]);
|
|
8816
8816
|
function getFilenameReport() {
|
|
8817
8817
|
let result = fileTo.split(".");
|
|
8818
|
-
|
|
8818
|
+
let hash2 = `-${getDateTimeStr().replace(/\D/g, "")}-${getHash(fileTo)}`;
|
|
8819
|
+
result[0] += hash2;
|
|
8819
8820
|
result = result.join(".");
|
|
8820
8821
|
return result;
|
|
8821
8822
|
}
|