@vef-framework/shared 1.0.98 → 1.0.99
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/es/color.js +8 -2
- package/es/constants.js +30 -2
- package/es/context.js +33 -2
- package/es/dom.js +20 -2
- package/es/error.js +27 -2
- package/es/event.js +8 -2
- package/es/expression.js +22 -2
- package/es/function.js +13 -2
- package/es/icons.js +128 -2
- package/es/id.js +11 -2
- package/es/index.js +29 -2
- package/es/lib.js +5 -2
- package/es/message.js +281 -2
- package/es/path.js +32 -2
- package/es/pinyin.js +29 -2
- package/es/security.js +23 -2
- package/es/store.js +99 -2
- package/es/styles.js +50 -2
- package/es/temporal.js +22 -2
- package/es/theme-variables.js +351 -2
- package/es/utils.js +102 -2
- package/es/validation.js +150 -2
- package/es/yaml.js +8 -2
- package/lib/color.cjs +12 -2
- package/lib/constants.cjs +40 -2
- package/lib/context.cjs +37 -2
- package/lib/dom.cjs +24 -2
- package/lib/error.cjs +31 -2
- package/lib/event.cjs +12 -2
- package/lib/expression.cjs +28 -2
- package/lib/function.cjs +17 -2
- package/lib/icons.cjs +137 -2
- package/lib/id.cjs +15 -2
- package/lib/index.cjs +316 -2
- package/lib/lib.cjs +221 -2
- package/lib/message.cjs +304 -2
- package/lib/path.cjs +41 -2
- package/lib/pinyin.cjs +34 -2
- package/lib/security.cjs +28 -2
- package/lib/store.cjs +106 -2
- package/lib/styles.cjs +56 -2
- package/lib/temporal.cjs +28 -2
- package/lib/theme-variables.cjs +355 -2
- package/lib/types.cjs +4 -2
- package/lib/utils.cjs +111 -2
- package/lib/validation.cjs +190 -2
- package/lib/yaml.cjs +12 -2
- package/package.json +1 -1
package/es/color.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import{colord
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
import { colord } from 'colord';
|
|
3
|
+
|
|
4
|
+
function isValidColor(color) {
|
|
5
|
+
return colord(color).isValid();
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { isValidColor };
|
|
3
9
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/constants.js
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
const
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
const defaultColorTypes = [
|
|
3
|
+
"blue",
|
|
4
|
+
"purple",
|
|
5
|
+
"cyan",
|
|
6
|
+
"green",
|
|
7
|
+
"magenta",
|
|
8
|
+
"pink",
|
|
9
|
+
"red",
|
|
10
|
+
"orange",
|
|
11
|
+
"yellow",
|
|
12
|
+
"volcano",
|
|
13
|
+
"geekblue",
|
|
14
|
+
"gold",
|
|
15
|
+
"lime"
|
|
16
|
+
];
|
|
17
|
+
const semanticColorTypes = [
|
|
18
|
+
"primary",
|
|
19
|
+
"info",
|
|
20
|
+
"success",
|
|
21
|
+
"warning",
|
|
22
|
+
"error"
|
|
23
|
+
];
|
|
24
|
+
const colorTypes = [...defaultColorTypes, ...semanticColorTypes];
|
|
25
|
+
const creationFormScene = "creation";
|
|
26
|
+
const updateFormScene = "update";
|
|
27
|
+
const auditFormScene = "audit";
|
|
28
|
+
const presetFormScenes = [creationFormScene, updateFormScene, auditFormScene];
|
|
29
|
+
|
|
30
|
+
export { auditFormScene, colorTypes, creationFormScene, defaultColorTypes, presetFormScenes, semanticColorTypes, updateFormScene };
|
|
3
31
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/context.js
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
import { useRef } from 'react';
|
|
3
|
+
import { createContext, useContextSelector, useContext } from 'use-context-selector';
|
|
4
|
+
import './lib.js';
|
|
5
|
+
import { isNullish } from 'radashi';
|
|
6
|
+
import { shallow } from 'zustand/shallow';
|
|
7
|
+
|
|
8
|
+
function createSelectableContext(defaultValue) {
|
|
9
|
+
const context = createContext(defaultValue);
|
|
10
|
+
const ContextProvider = context.Provider;
|
|
11
|
+
const useContextSelector$1 = (selector) => {
|
|
12
|
+
const lastSelectedValueRef = useRef();
|
|
13
|
+
return useContextSelector(context, (value) => {
|
|
14
|
+
if (isNullish(value)) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const selectedValue = selector(value);
|
|
18
|
+
if (lastSelectedValueRef.current && shallow(selectedValue, lastSelectedValueRef.current)) {
|
|
19
|
+
return lastSelectedValueRef.current;
|
|
20
|
+
}
|
|
21
|
+
lastSelectedValueRef.current = selectedValue;
|
|
22
|
+
return selectedValue;
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
const useContext$1 = () => useContext(context);
|
|
26
|
+
return {
|
|
27
|
+
ContextProvider,
|
|
28
|
+
useContextSelector: useContextSelector$1,
|
|
29
|
+
useContext: useContext$1
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { createSelectableContext };
|
|
3
34
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/dom.js
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
function getElementHeight(
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
function getElementHeight(element, selector, includeMargin = false) {
|
|
3
|
+
if (selector) {
|
|
4
|
+
const subElement = element.querySelector(selector);
|
|
5
|
+
if (!subElement) {
|
|
6
|
+
return 0;
|
|
7
|
+
}
|
|
8
|
+
element = subElement;
|
|
9
|
+
}
|
|
10
|
+
const height = element.offsetHeight;
|
|
11
|
+
if (!includeMargin) {
|
|
12
|
+
return height;
|
|
13
|
+
}
|
|
14
|
+
const styleMap = element.computedStyleMap();
|
|
15
|
+
const marginTop = styleMap.get("margin-top").value;
|
|
16
|
+
const marginBottom = styleMap.get("margin-bottom").value;
|
|
17
|
+
return height + marginTop + marginBottom;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { getElementHeight };
|
|
3
21
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/error.js
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
var
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
class VefError extends Error {
|
|
6
|
+
/**
|
|
7
|
+
* Constructs a new VefError.
|
|
8
|
+
*
|
|
9
|
+
* @param code - The code of the error.
|
|
10
|
+
* @param message - The message of the error.
|
|
11
|
+
*/
|
|
12
|
+
constructor(code, message) {
|
|
13
|
+
super(message);
|
|
14
|
+
/**
|
|
15
|
+
* The code of the error.
|
|
16
|
+
*/
|
|
17
|
+
__publicField(this, "code");
|
|
18
|
+
Object.defineProperty(this, "code", {
|
|
19
|
+
value: code,
|
|
20
|
+
writable: false,
|
|
21
|
+
configurable: false,
|
|
22
|
+
enumerable: true
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { VefError };
|
|
3
28
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/event.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
import mitt from 'mitt';
|
|
3
|
+
|
|
4
|
+
function createEventEmitter() {
|
|
5
|
+
return mitt();
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { createEventEmitter };
|
|
3
9
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/expression.js
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
import './lib.js';
|
|
3
|
+
import { isObject, isString, isFunction } from 'radashi';
|
|
4
|
+
|
|
5
|
+
const dynamicFnCache = /* @__PURE__ */ new WeakMap();
|
|
6
|
+
function isExpression(value) {
|
|
7
|
+
return isObject(value) && "expression" in value && isString(value.expression);
|
|
8
|
+
}
|
|
9
|
+
function isFunctionOrExpression(value) {
|
|
10
|
+
return isFunction(value) || isExpression(value);
|
|
11
|
+
}
|
|
12
|
+
function compileDynamicFn(key, ...args) {
|
|
13
|
+
const fn = dynamicFnCache.get(key);
|
|
14
|
+
if (fn) {
|
|
15
|
+
return fn;
|
|
16
|
+
}
|
|
17
|
+
const newFn = new Function(...args);
|
|
18
|
+
dynamicFnCache.set(key, newFn);
|
|
19
|
+
return newFn;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { compileDynamicFn, isExpression, isFunctionOrExpression };
|
|
3
23
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/function.js
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
function mergeFns(...
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
function mergeFns(...fns) {
|
|
3
|
+
const fn = (...args) => {
|
|
4
|
+
for (const fn2 of fns) {
|
|
5
|
+
if (fn2) {
|
|
6
|
+
fn2(...args);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
return fn;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { mergeFns };
|
|
3
14
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/icons.js
CHANGED
|
@@ -1,3 +1,129 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import{jsx
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
function IconTick(props) {
|
|
5
|
+
return /* @__PURE__ */ jsx(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
"aria-hidden": true,
|
|
9
|
+
fill: "none",
|
|
10
|
+
focusable: false,
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
...props,
|
|
14
|
+
children: /* @__PURE__ */ jsx(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M21.35 4.27c.68.47.86 1.4.38 2.08l-10 14.5a1.5 1.5 0 0 1-2.33.17l-6.5-7a1.5 1.5 0 0 1 2.2-2.04l5.23 5.63 8.94-12.96a1.5 1.5 0 0 1 2.08-.38Z",
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
fillRule: "evenodd"
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
function IconTickCircle(props) {
|
|
27
|
+
return /* @__PURE__ */ jsx(
|
|
28
|
+
"svg",
|
|
29
|
+
{
|
|
30
|
+
"aria-hidden": true,
|
|
31
|
+
fill: "none",
|
|
32
|
+
focusable: false,
|
|
33
|
+
viewBox: "0 0 24 24",
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
...props,
|
|
36
|
+
children: /* @__PURE__ */ jsx(
|
|
37
|
+
"path",
|
|
38
|
+
{
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm5.88-13.18-6.2 7.6a1.5 1.5 0 0 1-2.37 0l-3.5-4a1.5 1.5 0 1 1 2.37-1.84l2.3 2.46L15.5 8a1.5 1.5 0 1 1 2.38 1.82Z",
|
|
41
|
+
fill: "currentColor",
|
|
42
|
+
fillRule: "evenodd"
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
function IconInfoCircle(props) {
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
50
|
+
"svg",
|
|
51
|
+
{
|
|
52
|
+
"aria-hidden": true,
|
|
53
|
+
fill: "none",
|
|
54
|
+
focusable: false,
|
|
55
|
+
viewBox: "0 0 24 24",
|
|
56
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
57
|
+
...props,
|
|
58
|
+
children: /* @__PURE__ */ jsx(
|
|
59
|
+
"path",
|
|
60
|
+
{
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
d: "M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm2-16a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-5 3.75c0-.41.34-.75.75-.75h2.75a1 1 0 0 1 1 1v5.5h.75a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5h.75v-5h-.75a.75.75 0 0 1-.75-.75Z",
|
|
63
|
+
fill: "currentColor",
|
|
64
|
+
fillRule: "evenodd"
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
function IconAlertCircle(props) {
|
|
71
|
+
return /* @__PURE__ */ jsx(
|
|
72
|
+
"svg",
|
|
73
|
+
{
|
|
74
|
+
"aria-hidden": true,
|
|
75
|
+
fill: "none",
|
|
76
|
+
focusable: false,
|
|
77
|
+
viewBox: "0 0 24 24",
|
|
78
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
79
|
+
...props,
|
|
80
|
+
children: /* @__PURE__ */ jsx(
|
|
81
|
+
"path",
|
|
82
|
+
{
|
|
83
|
+
clipRule: "evenodd",
|
|
84
|
+
d: "M23 12a11 11 0 1 1-22 0 11 11 0 0 1 22 0Zm-9.5 5.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM12 5a1.9 1.9 0 0 0-1.89 2l.3 5.5a1.59 1.59 0 0 0 3.17 0l.3-5.5c.07-1.09-.8-2-1.88-2Z",
|
|
85
|
+
fill: "currentColor",
|
|
86
|
+
fillRule: "evenodd"
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
function IconAlertTriangle(props) {
|
|
93
|
+
return /* @__PURE__ */ jsx(
|
|
94
|
+
"svg",
|
|
95
|
+
{
|
|
96
|
+
"aria-hidden": true,
|
|
97
|
+
fill: "none",
|
|
98
|
+
focusable: false,
|
|
99
|
+
viewBox: "0 0 24 24",
|
|
100
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
101
|
+
...props,
|
|
102
|
+
children: /* @__PURE__ */ jsx(
|
|
103
|
+
"path",
|
|
104
|
+
{
|
|
105
|
+
clipRule: "evenodd",
|
|
106
|
+
d: "m10.23 2.4-8.7 16.67A2 2 0 0 0 3.3 22h17.4a2 2 0 0 0 1.77-2.93L13.77 2.4a2 2 0 0 0-3.54 0ZM13.14 14a1.15 1.15 0 0 1-2.28 0l-.58-4.03a1.73 1.73 0 1 1 3.44 0l-.58 4.03Zm.36 4.49a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",
|
|
107
|
+
fill: "currentColor",
|
|
108
|
+
fillRule: "evenodd"
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
function IconCheck(props) {
|
|
115
|
+
return /* @__PURE__ */ jsx(
|
|
116
|
+
"svg",
|
|
117
|
+
{
|
|
118
|
+
"aria-hidden": true,
|
|
119
|
+
focusable: false,
|
|
120
|
+
viewBox: "0 0 24 24",
|
|
121
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
122
|
+
...props,
|
|
123
|
+
children: /* @__PURE__ */ jsx("path", { d: "M20 6L9 17l-5-5", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2 })
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export { IconAlertCircle, IconAlertTriangle, IconCheck, IconInfoCircle, IconTick, IconTickCircle };
|
|
3
129
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/id.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import{customAlphabet
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
import { customAlphabet } from 'nanoid';
|
|
3
|
+
|
|
4
|
+
const alphabets = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
5
|
+
const length = 18;
|
|
6
|
+
const nanoId = customAlphabet(alphabets, length);
|
|
7
|
+
function generateId() {
|
|
8
|
+
return nanoId();
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { generateId };
|
|
3
12
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/index.js
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
export{isValidColor}
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
export { isValidColor } from './color.js';
|
|
3
|
+
export { auditFormScene, colorTypes, creationFormScene, defaultColorTypes, presetFormScenes, semanticColorTypes, updateFormScene } from './constants.js';
|
|
4
|
+
export { createSelectableContext } from './context.js';
|
|
5
|
+
export { getElementHeight } from './dom.js';
|
|
6
|
+
export { VefError } from './error.js';
|
|
7
|
+
export { createEventEmitter } from './event.js';
|
|
8
|
+
export { compileDynamicFn, isExpression, isFunctionOrExpression } from './expression.js';
|
|
9
|
+
export { mergeFns } from './function.js';
|
|
10
|
+
export { IconAlertCircle, IconAlertTriangle, IconCheck, IconInfoCircle, IconTick, IconTickCircle } from './icons.js';
|
|
11
|
+
export { generateId } from './id.js';
|
|
12
|
+
import './lib.js';
|
|
13
|
+
export { checkIcon, defaultMessageTitle, errorIcon, infoIcon, showConfirmation, showErrorAlert, showErrorMessage, showErrorNotification, showInfoAlert, showInfoMessage, showInfoNotification, showLoadingMessage, showSuccessAlert, showSuccessMessage, showSuccessNotification, showWarningAlert, showWarningMessage, showWarningNotification, successIcon, warningIcon } from './message.js';
|
|
14
|
+
export { extractBaseName, extractDirName, extractExtName, isAbsolutePath, joinPaths, normalizePath } from './path.js';
|
|
15
|
+
export { parsePinyin, parsePinyinFirstLetter } from './pinyin.js';
|
|
16
|
+
export { decryptRsa, encryptRsa } from './security.js';
|
|
17
|
+
export { createComponentStore, createStore, createUnboundStore, useUnboundStore } from './store.js';
|
|
18
|
+
export { bmq, breakpoints, styles } from './styles.js';
|
|
19
|
+
export { getNowDate, getNowDateString, getTodayString } from './temporal.js';
|
|
20
|
+
export { themeVariables } from './theme-variables.js';
|
|
21
|
+
|
|
22
|
+
export { buildRouteParentMenusMappings, constantCase, difference, invokeMaybeAsyncFn, isAsyncFunction, isIternalFunction } from './utils.js';
|
|
23
|
+
import * as validation from './validation.js';
|
|
24
|
+
export { validation as validator };
|
|
25
|
+
export { loadYaml } from './yaml.js';
|
|
26
|
+
export { default as isDeepEqual } from 'react-fast-compare';
|
|
27
|
+
export { shallow as isShallowEqual } from 'zustand/shallow';
|
|
28
|
+
export { z } from 'zod';
|
|
29
|
+
export { assign, camel as camelCase, capitalize, clone, cloneDeep, cluster, dash as dashCase, debounce, get, isArray, isBoolean, isDate, isEmpty, isError, isFloat, isFunction, isInt, isIntString, isMap, isNullish, isNumber, isObject, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isUndefined, isWeakMap, isWeakSet, max, memo as memoize, min, noop, omit, once, pascal as pascalCase, pick, set, similarity, snake as snakeCase, sum, template, throttle, toFloat, toInt, trim, unique } from 'radashi';
|
|
3
30
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/es/lib.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
export{assign,camel as camelCase,capitalize,clone,cloneDeep,cluster,dash as dashCase,debounce,get,isArray,isBoolean,isDate,isEmpty,isError,isFloat,isFunction,isInt,isIntString,isMap,isNullish,isNumber,isObject,isPlainObject,isPrimitive,isPromise,isRegExp,isSet,isString,isSymbol,isUndefined,isWeakMap,isWeakSet,max,memo as memoize,min,noop,omit,once,pascal as pascalCase,pick,set,similarity,snake as snakeCase,sum,template,throttle,toFloat,toInt,trim,unique}
|
|
1
|
+
/*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, made by Venus. */
|
|
2
|
+
export { assign, camel as camelCase, capitalize, clone, cloneDeep, cluster, dash as dashCase, debounce, get, isArray, isBoolean, isDate, isEmpty, isError, isFloat, isFunction, isInt, isIntString, isMap, isNullish, isNumber, isObject, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isUndefined, isWeakMap, isWeakSet, max, memo as memoize, min, noop, omit, once, pascal as pascalCase, pick, set, similarity, snake as snakeCase, sum, template, throttle, toFloat, toInt, trim, unique } from 'radashi';
|
|
3
|
+
export { z } from 'zod';
|
|
4
|
+
export { default as isDeepEqual } from 'react-fast-compare';
|
|
5
|
+
export { shallow as isShallowEqual } from 'zustand/shallow';
|
|
3
6
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|