@vef-framework/shared 1.0.99 → 1.0.100

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 CHANGED
@@ -1,9 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ import{colord as o}from"colord";function isValidColor(i){return o(i).isValid()}export{isValidColor};
9
3
  /*! 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,31 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ const e=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","gold","lime"],r=["primary","info","success","warning","error"],n=[...e,...r],a="creation",o="update",l="audit",i=[a,o,l];export{l as auditFormScene,n as colorTypes,a as creationFormScene,e as defaultColorTypes,i as presetFormScenes,r as semanticColorTypes,o as updateFormScene};
31
3
  /*! 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,34 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ import{useRef as t}from"react";import{createContext as r,useContextSelector as e,useContext as o}from"use-context-selector";import"./lib.js";import{isNullish as n}from"radashi";import{shallow as c}from"zustand/shallow";function createSelectableContext(u){const i=r(u);return{ContextProvider:i.Provider,useContextSelector:r=>{const o=t();return e(i,(t=>{if(n(t))return;const e=r(t);return o.current&&c(e,o.current)?o.current:(o.current=e,e)}))},useContext:()=>o(i)}}export{createSelectableContext};
34
3
  /*! 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,21 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ function getElementHeight(t,e,n=!1){if(e){const n=t.querySelector(e);if(!n)return 0;t=n}const o=t.offsetHeight;if(!n)return o;const r=t.computedStyleMap();return o+r.get("margin-top").value+r.get("margin-bottom").value}export{getElementHeight};
21
3
  /*! 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,28 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ var e=Object.defineProperty,__publicField=(r,o,t)=>((r,o,t)=>o in r?e(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t)(r,"symbol"!=typeof o?o+"":o,t);class VefError extends Error{constructor(e,r){super(r),__publicField(this,"code"),Object.defineProperty(this,"code",{value:e,writable:!1,configurable:!1,enumerable:!0})}}export{VefError};
28
3
  /*! 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,9 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ import t from"mitt";function createEventEmitter(){return t()}export{createEventEmitter};
9
3
  /*! 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,23 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ import"./lib.js";import{isObject as n,isString as i,isFunction as s}from"radashi";const o=new WeakMap;function isExpression(s){return n(s)&&"expression"in s&&i(s.expression)}function isFunctionOrExpression(n){return s(n)||isExpression(n)}function compileDynamicFn(n,...i){const s=o.get(n);if(s)return s;const r=new Function(...i);return o.set(n,r),r}export{compileDynamicFn,isExpression,isFunctionOrExpression};
23
3
  /*! 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,14 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ function mergeFns(...e){return(...n)=>{for(const r of e)r&&r(...n)}}export{mergeFns};
14
3
  /*! 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,129 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ import{jsx as e}from"@emotion/react/jsx-runtime";function IconTick(l){return e("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{clipRule:"evenodd",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",fill:"currentColor",fillRule:"evenodd"})})}function IconTickCircle(l){return e("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{clipRule:"evenodd",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",fill:"currentColor",fillRule:"evenodd"})})}function IconInfoCircle(l){return e("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{clipRule:"evenodd",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",fill:"currentColor",fillRule:"evenodd"})})}function IconAlertCircle(l){return e("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{clipRule:"evenodd",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",fill:"currentColor",fillRule:"evenodd"})})}function IconAlertTriangle(l){return e("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{clipRule:"evenodd",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",fill:"currentColor",fillRule:"evenodd"})})}function IconCheck(l){return e("svg",{"aria-hidden":!0,focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{d:"M20 6L9 17l-5-5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})}export{IconAlertCircle,IconAlertTriangle,IconCheck,IconInfoCircle,IconTick,IconTickCircle};
129
3
  /*! 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,12 +1,3 @@
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 };
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ import{customAlphabet as e}from"nanoid";const n=e("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",18);function generateId(){return n()}export{generateId};
12
3
  /*! 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,30 +1,3 @@
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';
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, made by Venus. */
2
+ export{isValidColor}from"./color.js";export{auditFormScene,colorTypes,creationFormScene,defaultColorTypes,presetFormScenes,semanticColorTypes,updateFormScene}from"./constants.js";export{createSelectableContext}from"./context.js";export{getElementHeight}from"./dom.js";export{VefError}from"./error.js";export{createEventEmitter}from"./event.js";export{compileDynamicFn,isExpression,isFunctionOrExpression}from"./expression.js";export{mergeFns}from"./function.js";export{IconAlertCircle,IconAlertTriangle,IconCheck,IconInfoCircle,IconTick,IconTickCircle}from"./icons.js";export{generateId}from"./id.js";import"./lib.js";export{checkIcon,defaultMessageTitle,errorIcon,infoIcon,showConfirmation,showErrorAlert,showErrorMessage,showErrorNotification,showInfoAlert,showInfoMessage,showInfoNotification,showLoadingMessage,showSuccessAlert,showSuccessMessage,showSuccessNotification,showWarningAlert,showWarningMessage,showWarningNotification,successIcon,warningIcon}from"./message.js";export{extractBaseName,extractDirName,extractExtName,isAbsolutePath,joinPaths,normalizePath}from"./path.js";export{parsePinyin,parsePinyinFirstLetter}from"./pinyin.js";export{decryptRsa,encryptRsa}from"./security.js";export{createComponentStore,createStore,createUnboundStore,useUnboundStore}from"./store.js";export{bmq,breakpoints,styles}from"./styles.js";export{getNowDate,getNowDateString,getTodayString}from"./temporal.js";export{themeVariables}from"./theme-variables.js";export{buildRouteParentMenusMappings,constantCase,difference,invokeMaybeAsyncFn,isAsyncFunction,isIternalFunction}from"./utils.js";import*as e from"./validation.js";export{e as validator};export{loadYaml}from"./yaml.js";export{default as isDeepEqual}from"react-fast-compare";export{shallow as isShallowEqual}from"zustand/shallow";export{z}from"zod";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";
30
3
  /*! 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,6 +1,3 @@
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';
1
+ /*! VefFramework version: 1.0.100, build time: 2025-03-07T13:52:51.660Z, 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";export{z}from"zod";export{default as isDeepEqual}from"react-fast-compare";export{shallow as isShallowEqual}from"zustand/shallow";
6
3
  /*! 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 */