szld-libs 0.2.16 → 0.2.17
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/szld-components.es.js +787 -787
- package/dist/szld-components.umd.js +21 -21
- package/es/index.js +5 -2
- package/es/utils/hmacSHA512.js +1 -0
- package/lib/index.js +3 -0
- package/lib/utils/hmacSHA512.js +1 -0
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
3
|
import ReactDOM from "react-dom/client";
|
|
4
4
|
import { BrowserRouter } from "react-router-dom";
|
|
5
|
-
import { EditTable } from "./main";
|
|
5
|
+
import { HmacSHA512, EditTable } from "./main";
|
|
6
6
|
import { Form } from "antd";
|
|
7
7
|
import "./utils/compression-file";
|
|
8
8
|
const Demo = () => {
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
new HmacSHA512("17283");
|
|
11
|
+
}, []);
|
|
9
12
|
Form.useForm();
|
|
10
13
|
const [list, setList] = useState([
|
|
11
14
|
{
|
package/es/utils/hmacSHA512.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -7,6 +7,9 @@ const main = require("./main");
|
|
|
7
7
|
const antd = require("antd");
|
|
8
8
|
require("./utils/compression-file");
|
|
9
9
|
const Demo = () => {
|
|
10
|
+
react.useEffect(() => {
|
|
11
|
+
new main.HmacSHA512("17283");
|
|
12
|
+
}, []);
|
|
10
13
|
antd.Form.useForm();
|
|
11
14
|
const [list, setList] = react.useState([
|
|
12
15
|
{
|
package/lib/utils/hmacSHA512.js
CHANGED