@easyv/biz-components 0.0.52-beta.4 → 0.0.53
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/README.md +2 -2
- package/dist/_virtual/index.es2.js +2 -2
- package/dist/_virtual/index.es3.js +2 -2
- package/dist/_virtual/index.es4.js +2 -2
- package/dist/components/easyv-monaco-editor/easyv-monaco-editor.es.js +70 -50
- package/dist/components/easyv-monaco-editor/easyv-monaco-editor.es.js.map +1 -1
- package/dist/components/easyv-monaco-editor/index.d.ts +1 -0
- package/dist/components/easyv-monaco-editor/types.d.ts +22 -1
- package/dist/hooks/use-initialized.d.ts +4 -2
- package/dist/hooks/use-initialized.es.js +4 -5
- package/dist/hooks/use-initialized.es.js.map +1 -1
- package/dist/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.es.js +1 -1
- package/dist/node_modules/.pnpm/co-web-worker@1.0.1/node_modules/co-web-worker/index.es.js +1 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.es.js +1 -1
- package/dist/stats.html +1 -1
- package/package.json +2 -2
- package/dist/components/easyv-monaco-editor/monaco-setup.d.ts +0 -0
- package/dist/node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useLatest/index.es.js +0 -10
- package/dist/node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useLatest/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useMount/index.es.js +0 -17
- package/dist/node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useMount/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useUnmount/index.es.js +0 -21
- package/dist/node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useUnmount/index.es.js.map +0 -1
- /package/dist/{style.css → style.pkg.css} +0 -0
- /package/dist/{index.css → tailwindcss.pkg.css} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easyv/biz-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"scripts": {
|
|
65
65
|
"dev": "vite",
|
|
66
66
|
"build": "tsc && vite build && npm run build:style",
|
|
67
|
-
"build:style": "npx postcss src/
|
|
67
|
+
"build:style": "npx postcss src/tailwindcss.css -o dist/tailwindcss.pkg.css",
|
|
68
68
|
"preview": "vite preview",
|
|
69
69
|
"test:ui": "cypress open"
|
|
70
70
|
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../../../../../../../../../node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useLatest/index.js"],"sourcesContent":["import { useRef } from 'react';\nfunction useLatest(value) {\n var ref = useRef(value);\n ref.current = value;\n return ref;\n}\nexport default useLatest;"],"names":[],"mappings":";AACA,SAAS,UAAU,OAAO;AACxB,MAAI,MAAM,OAAO,KAAK;AACtB,MAAI,UAAU;AACd,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useEffect } from "react";
|
|
2
|
-
import { isFunction } from "../utils/index.es.js";
|
|
3
|
-
import isDev from "../utils/isDev.es.js";
|
|
4
|
-
var useMount = function(fn) {
|
|
5
|
-
if (isDev) {
|
|
6
|
-
if (!isFunction(fn)) {
|
|
7
|
-
console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof fn, '".'));
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
useEffect(function() {
|
|
11
|
-
fn === null || fn === void 0 ? void 0 : fn();
|
|
12
|
-
}, []);
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
useMount as default
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=index.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../../../../../../../../../node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useMount/index.js"],"sourcesContent":["import { useEffect } from 'react';\nimport { isFunction } from '../utils';\nimport isDev from '../utils/isDev';\nvar useMount = function (fn) {\n if (isDev) {\n if (!isFunction(fn)) {\n console.error(\"useMount: parameter `fn` expected to be a function, but got \\\"\".concat(typeof fn, \"\\\".\"));\n }\n }\n useEffect(function () {\n fn === null || fn === void 0 ? void 0 : fn();\n }, []);\n};\nexport default useMount;"],"names":[],"mappings":";;;AAGG,IAAC,WAAW,SAAU,IAAI;AAC3B,MAAI,OAAO;AACT,QAAI,CAAC,WAAW,EAAE,GAAG;AACnB,cAAQ,MAAM,gEAAiE,OAAO,OAAO,IAAI,IAAK,CAAC;AAAA,IAC7G;AAAA,EACA;AACE,YAAU,WAAY;AACpB,WAAO,QAAQ,OAAO,SAAS,SAAS,GAAI;AAAA,EAC7C,GAAE,EAAE;AACP;","x_google_ignoreList":[0]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { useEffect } from "react";
|
|
2
|
-
import useLatest from "../useLatest/index.es.js";
|
|
3
|
-
import { isFunction } from "../utils/index.es.js";
|
|
4
|
-
import isDev from "../utils/isDev.es.js";
|
|
5
|
-
var useUnmount = function(fn) {
|
|
6
|
-
if (isDev) {
|
|
7
|
-
if (!isFunction(fn)) {
|
|
8
|
-
console.error("useUnmount expected parameter is a function, got ".concat(typeof fn));
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
var fnRef = useLatest(fn);
|
|
12
|
-
useEffect(function() {
|
|
13
|
-
return function() {
|
|
14
|
-
fnRef.current();
|
|
15
|
-
};
|
|
16
|
-
}, []);
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
useUnmount as default
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=index.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../../../../../../../../../node_modules/.pnpm/ahooks@3.8.5_react@18.2.0/node_modules/ahooks/es/useUnmount/index.js"],"sourcesContent":["import { useEffect } from 'react';\nimport useLatest from '../useLatest';\nimport { isFunction } from '../utils';\nimport isDev from '../utils/isDev';\nvar useUnmount = function (fn) {\n if (isDev) {\n if (!isFunction(fn)) {\n console.error(\"useUnmount expected parameter is a function, got \".concat(typeof fn));\n }\n }\n var fnRef = useLatest(fn);\n useEffect(function () {\n return function () {\n fnRef.current();\n };\n }, []);\n};\nexport default useUnmount;"],"names":[],"mappings":";;;;AAIG,IAAC,aAAa,SAAU,IAAI;AAC7B,MAAI,OAAO;AACT,QAAI,CAAC,WAAW,EAAE,GAAG;AACnB,cAAQ,MAAM,oDAAoD,OAAO,OAAO,EAAE,CAAC;AAAA,IACzF;AAAA,EACA;AACE,MAAI,QAAQ,UAAU,EAAE;AACxB,YAAU,WAAY;AACpB,WAAO,WAAY;AACjB,YAAM,QAAS;AAAA,IAChB;AAAA,EACF,GAAE,EAAE;AACP;","x_google_ignoreList":[0]}
|
|
File without changes
|
|
File without changes
|