@vef-framework/shared 1.0.116 → 1.0.118
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 +1 -1
- package/es/constants.js +1 -1
- package/es/context.js +1 -1
- package/es/dom.js +1 -1
- package/es/error.js +1 -1
- package/es/event.js +1 -1
- package/es/expression.js +1 -1
- package/es/function.js +1 -1
- package/es/icons.js +1 -1
- package/es/id.js +1 -1
- package/es/index.js +1 -1
- package/es/json.js +1 -1
- package/es/lib.js +1 -1
- package/es/message.js +1 -1
- package/es/path.js +1 -1
- package/es/pinyin.js +1 -1
- package/es/security.js +1 -1
- package/es/store.js +1 -1
- package/es/styles.js +1 -1
- package/es/temporal.js +1 -1
- package/es/theme-variables.js +1 -1
- package/es/utils.js +1 -1
- package/es/validation.js +1 -1
- package/es/yaml.js +1 -1
- package/lib/color.cjs +1 -1
- package/lib/constants.cjs +1 -1
- package/lib/context.cjs +1 -1
- package/lib/dom.cjs +1 -1
- package/lib/error.cjs +1 -1
- package/lib/event.cjs +1 -1
- package/lib/expression.cjs +1 -1
- package/lib/function.cjs +1 -1
- package/lib/icons.cjs +1 -1
- package/lib/id.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/json.cjs +1 -1
- package/lib/lib.cjs +1 -1
- package/lib/message.cjs +1 -1
- package/lib/path.cjs +1 -1
- package/lib/pinyin.cjs +1 -1
- package/lib/security.cjs +1 -1
- package/lib/store.cjs +1 -1
- package/lib/styles.cjs +1 -1
- package/lib/temporal.cjs +1 -1
- package/lib/theme-variables.cjs +1 -1
- package/lib/types.cjs +1 -1
- package/lib/utils.cjs +1 -1
- package/lib/validation.cjs +1 -1
- package/lib/yaml.cjs +1 -1
- package/package.json +3 -1
package/es/color.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{colord}from"colord";function isValidColor(color){return colord(color).isValid()}/*! 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 */export{isValidColor};
|
package/es/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */const defaultColorTypes=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","gold","lime"],semanticColorTypes=["primary","info","success","warning","error"],colorTypes=[...defaultColorTypes,...semanticColorTypes],creationFormScene="creation",updateFormScene="update",auditFormScene="audit",presetFormScenes=[creationFormScene,updateFormScene,auditFormScene];/*! 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 */export{auditFormScene,colorTypes,creationFormScene,defaultColorTypes,presetFormScenes,semanticColorTypes,updateFormScene};
|
package/es/context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{useRef}from"react";import{createContext,useContext,useContextSelector}from"use-context-selector";import"./lib.js";import{isNullish}from"radashi";import{shallow}from"zustand/shallow";function createSelectableContext(defaultValue){const context=createContext(defaultValue);return{ContextProvider:context.Provider,useContextSelector:selector=>{const lastSelectedValueRef=useRef();return useContextSelector(context,value=>{if(isNullish(value))return;const selectedValue=selector(value);return lastSelectedValueRef.current&&shallow(selectedValue,lastSelectedValueRef.current)?lastSelectedValueRef.current:(lastSelectedValueRef.current=selectedValue,selectedValue)})},useContext:()=>useContext(context)}}/*! 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 */export{createSelectableContext};
|
package/es/dom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */function getElementHeight(element,selector,includeMargin=!1){if(selector){const subElement=element.querySelector(selector);if(!subElement)return 0;element=subElement}const height=element.offsetHeight;if(!includeMargin)return height;const styleMap=element.computedStyleMap(),marginTop=styleMap.get("margin-top").value,marginBottom=styleMap.get("margin-bottom").value;return height+marginTop+marginBottom}/*! 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 */export{getElementHeight};
|
package/es/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */var __defProp=Object.defineProperty,__defNormalProp=(obj,key,value)=>key in obj?__defProp(obj,key,{enumerable:!0,configurable:!0,writable:!0,value}):obj[key]=value,__publicField=(obj,key,value)=>__defNormalProp(obj,typeof key!="symbol"?key+"":key,value);class VefError extends Error{constructor(code,message){super(message),__publicField(this,"code"),Object.defineProperty(this,"code",{value:code,writable:!1,configurable:!1,enumerable:!0})}}/*! 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 */export{VefError};
|
package/es/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import mitt from"mitt";function createEventEmitter(){return mitt()}/*! 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 */export{createEventEmitter};
|
package/es/expression.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import"./lib.js";import{isObject,isString,isFunction}from"radashi";const dynamicFnCache=new WeakMap;function isExpression(value){return isObject(value)&&"expression"in value&&isString(value.expression)}function isFunctionOrExpression(value){return isFunction(value)||isExpression(value)}function compileDynamicFn(key,...args){const fn=dynamicFnCache.get(key);if(fn)return fn;const newFn=new Function(...args);return dynamicFnCache.set(key,newFn),newFn}/*! 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 */export{compileDynamicFn,isExpression,isFunctionOrExpression};
|
package/es/function.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */function mergeFns(...fns){return(...args)=>{for(const fn2 of fns)fn2&&fn2(...args)}}/*! 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 */export{mergeFns};
|
package/es/icons.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";function IconTick(props){return jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsx("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(props){return jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsx("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(props){return jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsx("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(props){return jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsx("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(props){return jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsx("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(props){return jsx("svg",{"aria-hidden":!0,focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsx("path",{d:"M20 6L9 17l-5-5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})}/*! 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 */export{IconAlertCircle,IconAlertTriangle,IconCheck,IconInfoCircle,IconTick,IconTickCircle};
|
package/es/id.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{customAlphabet}from"nanoid";const alphabets="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",length=18,nanoId=customAlphabet(alphabets,length);function generateId(){return nanoId()}/*! 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 */export{generateId};
|
package/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{isValidColor}from"./color.js";import{auditFormScene,colorTypes,creationFormScene,defaultColorTypes,presetFormScenes,semanticColorTypes,updateFormScene}from"./constants.js";import{createSelectableContext}from"./context.js";import{getElementHeight}from"./dom.js";import{VefError}from"./error.js";import{createEventEmitter}from"./event.js";import{compileDynamicFn,isExpression,isFunctionOrExpression}from"./expression.js";import{mergeFns}from"./function.js";import{IconAlertCircle,IconAlertTriangle,IconCheck,IconInfoCircle,IconTick,IconTickCircle}from"./icons.js";import{generateId}from"./id.js";import{isJsonSchemaValid}from"./json.js";import"./lib.js";import{checkIcon,defaultMessageTitle,errorIcon,infoIcon,showConfirmation,showErrorAlert,showErrorMessage,showErrorNotification,showInfoAlert,showInfoMessage,showInfoNotification,showLoadingMessage,showSuccessAlert,showSuccessMessage,showSuccessNotification,showWarningAlert,showWarningMessage,showWarningNotification,successIcon,warningIcon}from"./message.js";import{extractBaseName,extractDirName,extractExtName,isAbsolutePath,joinPaths,normalizePath}from"./path.js";import{parsePinyin,parsePinyinFirstLetter}from"./pinyin.js";import{decryptRsa,encryptRsa}from"./security.js";import{createComponentStore,createStore,createUnboundStore,useUnboundStore}from"./store.js";import{bmq,breakpoints,styles}from"./styles.js";import{getNowDate,getNowDateString,getTodayString}from"./temporal.js";import{themeVariables}from"./theme-variables.js";import{buildRouteParentMenusMappings,constantCase,difference,getStringLength,invokeMaybeAsyncFn,isAsyncFunction,isInternalFunction}from"./utils.js";import*as validation from"./validation.js";import{loadYaml}from"./yaml.js";import{default as default2}from"react-fast-compare";import{shallow}from"zustand/shallow";import{z}from"zod";import{assign,camel,capitalize,clone,cloneDeep,cluster,dash,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,min,noop,omit,once,pascal,pick,set,similarity,snake,sum,template,throttle,toFloat,toInt,trim,unique}from"radashi";/*! 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 */export{IconAlertCircle,IconAlertTriangle,IconCheck,IconInfoCircle,IconTick,IconTickCircle,VefError,assign,auditFormScene,bmq,breakpoints,buildRouteParentMenusMappings,camel as camelCase,capitalize,checkIcon,clone,cloneDeep,cluster,colorTypes,compileDynamicFn,constantCase,createComponentStore,createEventEmitter,createSelectableContext,createStore,createUnboundStore,creationFormScene,dash as dashCase,debounce,decryptRsa,defaultColorTypes,defaultMessageTitle,difference,encryptRsa,errorIcon,extractBaseName,extractDirName,extractExtName,generateId,get,getElementHeight,getNowDate,getNowDateString,getStringLength,getTodayString,infoIcon,invokeMaybeAsyncFn,isAbsolutePath,isArray,isAsyncFunction,isBoolean,isDate,default2 as isDeepEqual,isEmpty,isError,isExpression,isFloat,isFunction,isFunctionOrExpression,isInt,isIntString,isInternalFunction,isJsonSchemaValid,isMap,isNullish,isNumber,isObject,isPlainObject,isPrimitive,isPromise,isRegExp,isSet,shallow as isShallowEqual,isString,isSymbol,isUndefined,isValidColor,isWeakMap,isWeakSet,joinPaths,loadYaml,max,memo as memoize,mergeFns,min,noop,normalizePath,omit,once,parsePinyin,parsePinyinFirstLetter,pascal as pascalCase,pick,presetFormScenes,semanticColorTypes,set,showConfirmation,showErrorAlert,showErrorMessage,showErrorNotification,showInfoAlert,showInfoMessage,showInfoNotification,showLoadingMessage,showSuccessAlert,showSuccessMessage,showSuccessNotification,showWarningAlert,showWarningMessage,showWarningNotification,similarity,snake as snakeCase,styles,successIcon,sum,template,themeVariables,throttle,toFloat,toInt,trim,unique,updateFormScene,useUnboundStore,validation as validator,warningIcon,z};
|
package/es/json.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import Ajv from"ajv";import addFormats from"ajv-formats";const ajv=new Ajv({allErrors:!0,verbose:!0,useDefaults:!0});addFormats(ajv);function isJsonSchemaValid(schema){return ajv.validateSchema(JSON.parse(schema))}/*! 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 */export{isJsonSchemaValid};
|
package/es/lib.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import i18next from"i18next";import{assign,camel,capitalize,clone,cloneDeep,cluster,dash,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,min,noop,omit,once,pascal,pick,set,similarity,snake,sum,template,throttle,toFloat,toInt,trim,unique}from"radashi";import{z}from"zod";import{z as z2}from"zod";import{zodI18nMap}from"zod-i18n-map";import translation from"zod-i18n-map/locales/zh-CN/zod.json";import{default as default2}from"react-fast-compare";import{shallow}from"zustand/shallow";i18next.init({lng:"zh-CN",fallbackLng:!1,resources:{"zh-CN":{zod:translation}}}),z.setErrorMap(zodI18nMap);/*! 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 */export{assign,camel as camelCase,capitalize,clone,cloneDeep,cluster,dash as dashCase,debounce,get,isArray,isBoolean,isDate,default2 as isDeepEqual,isEmpty,isError,isFloat,isFunction,isInt,isIntString,isMap,isNullish,isNumber,isObject,isPlainObject,isPrimitive,isPromise,isRegExp,isSet,shallow as isShallowEqual,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,z2 as z};
|
package/es/message.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import Icon from"@ant-design/icons";import{Modal,message,notification}from"antd";import{createElement}from"react";import{IconCheck,IconTickCircle,IconInfoCircle,IconAlertTriangle,IconAlertCircle}from"./icons.js";import"./lib.js";import{isFunction}from"radashi";const{confirm,info,success,warning,error}=Modal,checkIcon=createElement(Icon,{component:IconCheck}),successIcon=createElement(Icon,{component:IconTickCircle}),infoIcon=createElement(Icon,{component:IconInfoCircle}),warningIcon=createElement(Icon,{component:IconAlertTriangle}),errorIcon=createElement(Icon,{component:IconAlertCircle}),notificationSuccessIcon=createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-success",component:IconTickCircle}),notificationInfoIcon=createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-info",component:IconInfoCircle}),notificationWarningIcon=createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-warning",component:IconAlertTriangle}),notificationErrorIcon=createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-error",component:IconAlertCircle});function showSuccessMessage(content){message.open({type:"success",content,duration:2,icon:successIcon})}function showInfoMessage(content){message.open({type:"info",content,duration:3,icon:infoIcon})}function showWarningMessage(content){message.open({type:"warning",content,duration:3,icon:warningIcon})}function showErrorMessage(content){message.open({type:"error",content,duration:4,icon:errorIcon})}function showLoadingMessage(content){const close=message.open({type:"loading",content,duration:0});return()=>close()}const defaultMessageTitle="提示";function showSuccessNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showSuccessNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;notification.open({type:"success",message:titleToUse,description:contentToUse,duration:4,closable:!0,btn:buttonsToUse,icon:notificationSuccessIcon})}function showInfoNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showInfoNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;notification.open({type:"info",message:titleToUse,description:contentToUse,duration:5,closable:!0,btn:buttonsToUse,icon:notificationInfoIcon})}function showWarningNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showWarningNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;notification.open({type:"warning",message:titleToUse,description:contentToUse,duration:6,closable:!0,btn:buttonsToUse,icon:notificationWarningIcon})}function showErrorNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showErrorNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;notification.open({type:"error",message:titleToUse,description:contentToUse,duration:10,closable:!0,btn:buttonsToUse,icon:notificationErrorIcon})}const cancelButtonProps={color:"default",variant:"text"},okButtonProps={icon:checkIcon};function showConfirmation(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<2)throw new Error("showConfirmation requires at least two arguments");const titleToUse=argsLength>2?title:"提示",contentToUse=argsLength===2?title:content,onOkToUse=argsLength===2?content:onOk,{okText,cancelText,onCancel,onAfterOpen,onAfterClose}=options??{},{destroy}=confirm({title:titleToUse,content:contentToUse,cancelButtonProps,okButtonProps,centered:!0,onOk:onOkToUse,okText,cancelText,onCancel,afterOpenChange:isFunction(onAfterOpen)||isFunction(onAfterClose)?open=>{open?onAfterOpen?.():onAfterClose?.()}:void 0});return destroy}const alertFnMap={success,info,warning,error},alertIconMap={success:successIcon,info:infoIcon,warning:warningIcon,error:errorIcon},defaultOkText="👍🏻 好的,知道了";function showAlert(type,content,title=defaultMessageTitle,onOk,options){const{okText=defaultOkText,onCancel,onAfterOpen,onAfterClose}=options??{},{destroy}=alertFnMap[type]({title,content,icon:alertIconMap[type],centered:!0,onOk,okText,onCancel,afterOpenChange:isFunction(onAfterOpen)||isFunction(onAfterClose)?open=>{open?onAfterOpen?.():onAfterClose?.()}:void 0});return destroy}function showSuccessAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showSuccessAlert requires at least one argument");const titleToUse=argsLength===1||isFunction(content)?void 0:title,contentToUse=argsLength===1||isFunction(content)?title:content,onOkToUse=argsLength===2||isFunction(content)?content:onOk;return showAlert("success",contentToUse,titleToUse,onOkToUse,options)}function showInfoAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showInfoAlert requires at least one argument");const titleToUse=argsLength===1||isFunction(content)?void 0:title,contentToUse=argsLength===1||isFunction(content)?title:content,onOkToUse=argsLength===2||isFunction(content)?content:onOk;return showAlert("info",contentToUse,titleToUse,onOkToUse,options)}function showWarningAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showWarningAlert requires at least one argument");const titleToUse=argsLength===1||isFunction(content)?void 0:title,contentToUse=argsLength===1||isFunction(content)?title:content,onOkToUse=argsLength===2||isFunction(content)?content:onOk;return showAlert("warning",contentToUse,titleToUse,onOkToUse,options)}function showErrorAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showErrorAlert requires at least one argument");const titleToUse=argsLength===1||isFunction(content)?void 0:title,contentToUse=argsLength===1||isFunction(content)?title:content,onOkToUse=argsLength===2||isFunction(content)?content:onOk;return showAlert("error",contentToUse,titleToUse,onOkToUse,options)}/*! 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 */export{checkIcon,defaultMessageTitle,errorIcon,infoIcon,showConfirmation,showErrorAlert,showErrorMessage,showErrorNotification,showInfoAlert,showInfoMessage,showInfoNotification,showLoadingMessage,showSuccessAlert,showSuccessMessage,showSuccessNotification,showWarningAlert,showWarningMessage,showWarningNotification,successIcon,warningIcon};
|
package/es/path.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import path from"path-browserify";const{basename,dirname,extname,isAbsolute,join,normalize}=path;function extractBaseName(path2,keepExt=!0){const ext=keepExt?void 0:extname(path2);return basename(path2,ext)}function extractExtName(path2){return extname(path2)}function extractDirName(path2){return dirname(path2)}function joinPaths(...paths){return join(...paths)}function isAbsolutePath(path2){return isAbsolute(path2)}function normalizePath(path2){return normalize(path2)}/*! 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 */export{extractBaseName,extractDirName,extractExtName,isAbsolutePath,joinPaths,normalizePath};
|
package/es/pinyin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{pinyin}from"pinyin-pro";function parsePinyin(text){return pinyin(text,{pattern:"pinyin",toneType:"none",type:"array",mode:"normal",nonZh:"consecutive"})}function parsePinyinFirstLetter(text){return pinyin(text,{pattern:"first",toneType:"none",type:"array",mode:"normal",nonZh:"consecutive"})}/*! 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 */export{parsePinyin,parsePinyinFirstLetter};
|
package/es/security.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import JSEncrypt from"jsencrypt";function encryptRsa(value,publicKey){const rsa=new JSEncrypt;rsa.setPublicKey(publicKey);const encrypted=rsa.encrypt(value);if(!encrypted)throw new Error(`Failed to encrypt value [${value}] using RSA`);return encrypted}function decryptRsa(value,privateKey){const rsa=new JSEncrypt;rsa.setPrivateKey(privateKey);const decrypted=rsa.decrypt(value);if(!decrypted)throw new Error(`Failed to decrypt value [${value}] using RSA`);return decrypted}/*! 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 */export{decryptRsa,encryptRsa};
|
package/es/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{createContext,useState,useRef,createElement,useEffect,useContext}from"react";import{createJSONStorage,persist,subscribeWithSelector}from"zustand/middleware";import{createWithEqualityFn,useStoreWithEqualityFn}from"zustand/traditional";import{createStore as createStore$1}from"zustand/vanilla";import"./lib.js";import{constantCase}from"./utils.js";import{isNullish}from"radashi";import{shallow}from"zustand/shallow";function createStorageProxy(storage){const delegate=createJSONStorage(()=>storage==="local"?localStorage:sessionStorage);return{getItem:delegate.getItem,setItem(name,value){isNullish(value.state)||delegate.setItem(name,value)},removeItem:delegate.removeItem}}function createStore(stateCreator,persistenceOptions){const name=persistenceOptions?.name??"UNKNOWN",storage=persistenceOptions?.storage??"local",selector=persistenceOptions?persistenceOptions.selector:()=>null,storageInstance=createStorageProxy(storage);return createWithEqualityFn(persist(subscribeWithSelector(stateCreator),{name:`__VEF_STORE__${constantCase(name)}__`,storage:storageInstance,version:1,partialize:selector}),shallow)}function createUnboundStore(stateCreator){return createStore$1(subscribeWithSelector(stateCreator))}function useUnboundStore(store,selector,equalityFn){return useStoreWithEqualityFn(store,selector,equalityFn??shallow)}function createComponentStore(name,getStateCreator){const StoreContext=createContext(null),StoreProvider=({initialState,children})=>{const[store]=useState(()=>{const creator=getStateCreator(initialState);return createUnboundStore(creator)}),isMounted=useRef(!1);return useEffect(()=>()=>{isMounted.current=!1},[]),useEffect(()=>{isMounted.current||(isMounted.current=!0),initialState&&store.setState({...initialState})},[initialState,store]),createElement(StoreContext.Provider,{value:store},children)},useStoreApi=()=>{const store=useContext(StoreContext);if(!store)throw new Error(`${name}Store can be used only inside ${name}StoreProvider`);return store};return{StoreProvider,useStore:selector=>useUnboundStore(useStoreApi(),selector),useStoreApi}}/*! 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 */export{createComponentStore,createStore,createUnboundStore,useUnboundStore};
|
package/es/styles.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{css}from"@emotion/react";const breakpointWidths={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},breakpoints=["xs","sm","md","lg","xl","xxl"],bmq=Object.keys(breakpointWidths).reduce((acc,label)=>(acc[label]=`@media (min-width: ${breakpointWidths[label]}px)`,acc),{}),styles={flexCenter:css({display:"flex",justifyContent:"center",alignItems:"center"}),fullHeight:css({height:"100%"}),fullWidth:css({width:"100%"}),scrollbar:css({scrollbarWidth:"thin",scrollbarColor:"rgba(0, 0, 0, 0.3) transparent",scrollbarGutter:"stable"})};/*! 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 */export{bmq,breakpoints,styles};
|
package/es/temporal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{tz}from"@date-fns/tz";import{format}from"date-fns";import{zhCN}from"date-fns/locale";function getNowDate(){return new Date}function getNowDateString(){return format(getNowDate(),"yyyy-MM-dd",{locale:zhCN,in:tz("Asia/Shanghai")})}function getTodayString(){return format(getNowDate(),"PPPPpp",{locale:zhCN,in:tz("Asia/Shanghai")})}/*! 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 */export{getNowDate,getNowDateString,getTodayString};
|
package/es/theme-variables.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.116, build time: 2025-03-10T07:29:22.624Z, made by Venus. */const themeVariables={colorChart1:"hsl(221.2 83.2% 53.3%)",colorChart2:"hsl(216 92% 60%)",colorChart3:"hsl(212 95% 68%)",colorChart4:"hsl(210 98% 78%)",colorChart5:"hsl(212 97% 87%)",blue:"var(--vef-blue)",purple:"var(--vef-purple)",cyan:"var(--vef-cyan)",green:"var(--vef-green)",magenta:"var(--vef-magenta)",pink:"var(--vef-pink)",red:"var(--vef-red)",orange:"var(--vef-orange)",yellow:"var(--vef-yellow)",volcano:"var(--vef-volcano)",geekblue:"var(--vef-geekblue)",gold:"var(--vef-gold)",lime:"var(--vef-lime)",colorPrimary:"var(--vef-color-primary)",colorSuccess:"var(--vef-color-success)",colorWarning:"var(--vef-color-warning)",colorError:"var(--vef-color-error)",colorInfo:"var(--vef-color-info)",colorLink:"var(--vef-color-link)",colorTextBase:"var(--vef-color-text-base)",colorBgBase:"var(--vef-color-bg-base)",fontFamily:"var(--vef-font-family)",fontFamilyCode:"var(--vef-font-family-code)",fontSize:"var(--vef-font-size)",lineWidth:"var(--vef-line-width)",lineType:"var(--vef-line-type)",motionEaseOutCirc:"var(--vef-motion-ease-out-circ)",motionEaseInOutCirc:"var(--vef-motion-ease-in-out-circ)",motionEaseOut:"var(--vef-motion-ease-out)",motionEaseInOut:"var(--vef-motion-ease-in-out)",motionEaseOutBack:"var(--vef-motion-ease-out-back)",motionEaseInBack:"var(--vef-motion-ease-in-back)",motionEaseInQuint:"var(--vef-motion-ease-in-quint)",motionEaseOutQuint:"var(--vef-motion-ease-out-quint)",borderRadius:"var(--vef-border-radius)",sizePopupArrow:"var(--vef-size-popup-arrow)",controlHeight:"var(--vef-control-height)",zIndexBase:"var(--vef-z-index-base)",zIndexPopupBase:"var(--vef-z-index-popup-base)",opacityImage:"var(--vef-opacity-image)",colorBgLayout:"var(--vef-color-bg-layout)",colorBgSpotlight:"var(--vef-color-bg-spotlight)",blue1:"var(--vef-blue-1)",blue2:"var(--vef-blue-2)",blue3:"var(--vef-blue-3)",blue4:"var(--vef-blue-4)",blue5:"var(--vef-blue-5)",blue6:"var(--vef-blue-6)",blue7:"var(--vef-blue-7)",blue8:"var(--vef-blue-8)",blue9:"var(--vef-blue-9)",blue10:"var(--vef-blue-10)",purple1:"var(--vef-purple-1)",purple2:"var(--vef-purple-2)",purple3:"var(--vef-purple-3)",purple4:"var(--vef-purple-4)",purple5:"var(--vef-purple-5)",purple6:"var(--vef-purple-6)",purple7:"var(--vef-purple-7)",purple8:"var(--vef-purple-8)",purple9:"var(--vef-purple-9)",purple10:"var(--vef-purple-10)",cyan1:"var(--vef-cyan-1)",cyan2:"var(--vef-cyan-2)",cyan3:"var(--vef-cyan-3)",cyan4:"var(--vef-cyan-4)",cyan5:"var(--vef-cyan-5)",cyan6:"var(--vef-cyan-6)",cyan7:"var(--vef-cyan-7)",cyan8:"var(--vef-cyan-8)",cyan9:"var(--vef-cyan-9)",cyan10:"var(--vef-cyan-10)",green1:"var(--vef-green-1)",green2:"var(--vef-green-2)",green3:"var(--vef-green-3)",green4:"var(--vef-green-4)",green5:"var(--vef-green-5)",green6:"var(--vef-green-6)",green7:"var(--vef-green-7)",green8:"var(--vef-green-8)",green9:"var(--vef-green-9)",green10:"var(--vef-green-10)",magenta1:"var(--vef-magenta-1)",magenta2:"var(--vef-magenta-2)",magenta3:"var(--vef-magenta-3)",magenta4:"var(--vef-magenta-4)",magenta5:"var(--vef-magenta-5)",magenta6:"var(--vef-magenta-6)",magenta7:"var(--vef-magenta-7)",magenta8:"var(--vef-magenta-8)",magenta9:"var(--vef-magenta-9)",magenta10:"var(--vef-magenta-10)",pink1:"var(--vef-pink-1)",pink2:"var(--vef-pink-2)",pink3:"var(--vef-pink-3)",pink4:"var(--vef-pink-4)",pink5:"var(--vef-pink-5)",pink6:"var(--vef-pink-6)",pink7:"var(--vef-pink-7)",pink8:"var(--vef-pink-8)",pink9:"var(--vef-pink-9)",pink10:"var(--vef-pink-10)",red1:"var(--vef-red-1)",red2:"var(--vef-red-2)",red3:"var(--vef-red-3)",red4:"var(--vef-red-4)",red5:"var(--vef-red-5)",red6:"var(--vef-red-6)",red7:"var(--vef-red-7)",red8:"var(--vef-red-8)",red9:"var(--vef-red-9)",red10:"var(--vef-red-10)",orange1:"var(--vef-orange-1)",orange2:"var(--vef-orange-2)",orange3:"var(--vef-orange-3)",orange4:"var(--vef-orange-4)",orange5:"var(--vef-orange-5)",orange6:"var(--vef-orange-6)",orange7:"var(--vef-orange-7)",orange8:"var(--vef-orange-8)",orange9:"var(--vef-orange-9)",orange10:"var(--vef-orange-10)",yellow1:"var(--vef-yellow-1)",yellow2:"var(--vef-yellow-2)",yellow3:"var(--vef-yellow-3)",yellow4:"var(--vef-yellow-4)",yellow5:"var(--vef-yellow-5)",yellow6:"var(--vef-yellow-6)",yellow7:"var(--vef-yellow-7)",yellow8:"var(--vef-yellow-8)",yellow9:"var(--vef-yellow-9)",yellow10:"var(--vef-yellow-10)",volcano1:"var(--vef-volcano-1)",volcano2:"var(--vef-volcano-2)",volcano3:"var(--vef-volcano-3)",volcano4:"var(--vef-volcano-4)",volcano5:"var(--vef-volcano-5)",volcano6:"var(--vef-volcano-6)",volcano7:"var(--vef-volcano-7)",volcano8:"var(--vef-volcano-8)",volcano9:"var(--vef-volcano-9)",volcano10:"var(--vef-volcano-10)",geekblue1:"var(--vef-geekblue-1)",geekblue2:"var(--vef-geekblue-2)",geekblue3:"var(--vef-geekblue-3)",geekblue4:"var(--vef-geekblue-4)",geekblue5:"var(--vef-geekblue-5)",geekblue6:"var(--vef-geekblue-6)",geekblue7:"var(--vef-geekblue-7)",geekblue8:"var(--vef-geekblue-8)",geekblue9:"var(--vef-geekblue-9)",geekblue10:"var(--vef-geekblue-10)",gold1:"var(--vef-gold-1)",gold2:"var(--vef-gold-2)",gold3:"var(--vef-gold-3)",gold4:"var(--vef-gold-4)",gold5:"var(--vef-gold-5)",gold6:"var(--vef-gold-6)",gold7:"var(--vef-gold-7)",gold8:"var(--vef-gold-8)",gold9:"var(--vef-gold-9)",gold10:"var(--vef-gold-10)",lime1:"var(--vef-lime-1)",lime2:"var(--vef-lime-2)",lime3:"var(--vef-lime-3)",lime4:"var(--vef-lime-4)",lime5:"var(--vef-lime-5)",lime6:"var(--vef-lime-6)",lime7:"var(--vef-lime-7)",lime8:"var(--vef-lime-8)",lime9:"var(--vef-lime-9)",lime10:"var(--vef-lime-10)",colorText:"var(--vef-color-text)",colorTextSecondary:"var(--vef-color-text-secondary)",colorTextTertiary:"var(--vef-color-text-tertiary)",colorTextQuaternary:"var(--vef-color-text-quaternary)",colorTextSlate:"#64748b",colorFill:"var(--vef-color-fill)",colorFillSecondary:"var(--vef-color-fill-secondary)",colorFillTertiary:"var(--vef-color-fill-tertiary)",colorFillQuaternary:"var(--vef-color-fill-quaternary)",colorBgSolid:"var(--vef-color-bg-solid)",colorBgSolidHover:"var(--vef-color-bg-solid-hover)",colorBgSolidActive:"var(--vef-color-bg-solid-active)",colorBgContainer:"var(--vef-color-bg-container)",colorBgElevated:"var(--vef-color-bg-elevated)",colorBgBlur:"var(--vef-color-bg-blur)",colorBorder:"var(--vef-color-border)",colorBorderSecondary:"var(--vef-color-border-secondary)",colorPrimaryBg:"var(--vef-color-primary-bg)",colorPrimaryBgHover:"var(--vef-color-primary-bg-hover)",colorPrimaryBorder:"var(--vef-color-primary-border)",colorPrimaryBorderHover:"var(--vef-color-primary-border-hover)",colorPrimaryHover:"var(--vef-color-primary-hover)",colorPrimaryActive:"var(--vef-color-primary-active)",colorPrimaryTextHover:"var(--vef-color-primary-text-hover)",colorPrimaryText:"var(--vef-color-primary-text)",colorPrimaryTextActive:"var(--vef-color-primary-text-active)",colorSuccessBg:"var(--vef-color-success-bg)",colorSuccessBgHover:"var(--vef-color-success-bg-hover)",colorSuccessBorder:"var(--vef-color-success-border)",colorSuccessBorderHover:"var(--vef-color-success-border-hover)",colorSuccessHover:"var(--vef-color-success-hover)",colorSuccessActive:"var(--vef-color-success-active)",colorSuccessTextHover:"var(--vef-color-success-text-hover)",colorSuccessText:"var(--vef-color-success-text)",colorSuccessTextActive:"var(--vef-color-success-text-active)",colorErrorBg:"var(--vef-color-error-bg)",colorErrorBgHover:"var(--vef-color-error-bg-hover)",colorErrorBgFilledHover:"var(--vef-color-error-bg-filled-hover)",colorErrorBgActive:"var(--vef-color-error-bg-active)",colorErrorBorder:"var(--vef-color-error-border)",colorErrorBorderHover:"var(--vef-color-error-border-hover)",colorErrorHover:"var(--vef-color-error-hover)",colorErrorActive:"var(--vef-color-error-active)",colorErrorTextHover:"var(--vef-color-error-text-hover)",colorErrorText:"var(--vef-color-error-text)",colorErrorTextActive:"var(--vef-color-error-text-active)",colorWarningBg:"var(--vef-color-warning-bg)",colorWarningBgHover:"var(--vef-color-warning-bg-hover)",colorWarningBorder:"var(--vef-color-warning-border)",colorWarningBorderHover:"var(--vef-color-warning-border-hover)",colorWarningHover:"var(--vef-color-warning-hover)",colorWarningActive:"var(--vef-color-warning-active)",colorWarningTextHover:"var(--vef-color-warning-text-hover)",colorWarningText:"var(--vef-color-warning-text)",colorWarningTextActive:"var(--vef-color-warning-text-active)",colorInfoBg:"var(--vef-color-info-bg)",colorInfoBgHover:"var(--vef-color-info-bg-hover)",colorInfoBorder:"var(--vef-color-info-border)",colorInfoBorderHover:"var(--vef-color-info-border-hover)",colorInfoHover:"var(--vef-color-info-hover)",colorInfoActive:"var(--vef-color-info-active)",colorInfoTextHover:"var(--vef-color-info-text-hover)",colorInfoText:"var(--vef-color-info-text)",colorInfoTextActive:"var(--vef-color-info-text-active)",colorLinkHover:"var(--vef-color-link-hover)",colorLinkActive:"var(--vef-color-link-active)",colorBgMask:"var(--vef-color-bg-mask)",colorWhite:"var(--vef-color-white)",fontSizeSm:"var(--vef-font-size-sm)",fontSizeLg:"var(--vef-font-size-lg)",fontSizeXl:"var(--vef-font-size-xl)",fontSizeHeading1:"var(--vef-font-size-heading-1)",fontSizeHeading2:"var(--vef-font-size-heading-2)",fontSizeHeading3:"var(--vef-font-size-heading-3)",fontSizeHeading4:"var(--vef-font-size-heading-4)",fontSizeHeading5:"var(--vef-font-size-heading-5)",lineHeight:"var(--vef-line-height)",lineHeightLg:"var(--vef-line-height-lg)",lineHeightSm:"var(--vef-line-height-sm)",fontHeight:"var(--vef-font-height)",fontHeightLg:"var(--vef-font-height-lg)",fontHeightSm:"var(--vef-font-height-sm)",lineHeightHeading1:"var(--vef-line-height-heading-1)",lineHeightHeading2:"var(--vef-line-height-heading-2)",lineHeightHeading3:"var(--vef-line-height-heading-3)",lineHeightHeading4:"var(--vef-line-height-heading-4)",lineHeightHeading5:"var(--vef-line-height-heading-5)",controlHeightSm:"var(--vef-control-height-sm)",controlHeightXs:"var(--vef-control-height-xs)",controlHeightLg:"var(--vef-control-height-lg)",motionDurationFast:"var(--vef-motion-duration-fast)",motionDurationMid:"var(--vef-motion-duration-mid)",motionDurationSlow:"var(--vef-motion-duration-slow)",lineWidthBold:"var(--vef-line-width-bold)",borderRadiusXs:"var(--vef-border-radius-xs)",borderRadiusSm:"var(--vef-border-radius-sm)",borderRadiusLg:"var(--vef-border-radius-lg)",borderRadiusOuter:"var(--vef-border-radius-outer)",colorFillContent:"var(--vef-color-fill-content)",colorFillContentHover:"var(--vef-color-fill-content-hover)",colorFillAlt:"var(--vef-color-fill-alter)",colorBgContainerDisabled:"var(--vef-color-bg-container-disabled)",colorBorderBg:"var(--vef-color-border-bg)",colorSplit:"var(--vef-color-split)",colorTextPlaceholder:"var(--vef-color-text-placeholder)",colorTextDisabled:"var(--vef-color-text-disabled)",colorTextHeading:"var(--vef-color-text-heading)",colorTextLabel:"var(--vef-color-text-label)",colorTextDescription:"var(--vef-color-text-description)",colorTextLightSolid:"var(--vef-color-text-light-solid)",colorHighlight:"var(--vef-color-highlight)",colorBgTextHover:"var(--vef-color-bg-text-hover)",colorBgTextActive:"var(--vef-color-bg-text-active)",colorIcon:"var(--vef-color-icon)",colorIconHover:"var(--vef-color-icon-hover)",colorErrorOutline:"var(--vef-color-error-outline)",colorWarningOutline:"var(--vef-color-warning-outline)",fontSizeIcon:"var(--vef-font-size-icon)",lineWidthFocus:"var(--vef-line-width-focus)",controlOutlineWidth:"var(--vef-control-outline-width)",controlInteractiveSize:"var(--vef-control-interactive-size)",controlItemBgHover:"var(--vef-control-item-bg-hover)",controlItemBgActive:"var(--vef-control-item-bg-active)",controlItemBgActiveHover:"var(--vef-control-item-bg-active-hover)",controlItemBgActiveDisabled:"var(--vef-control-item-bg-active-disabled)",controlTmpOutline:"var(--vef-control-tmp-outline)",controlOutline:"var(--vef-control-outline)",fontWeightStrong:"var(--vef-font-weight-strong)",opacityLoading:"var(--vef-opacity-loading)",linkDecoration:"var(--vef-link-decoration)",linkHoverDecoration:"var(--vef-link-hover-decoration)",linkFocusDecoration:"var(--vef-link-focus-decoration)",controlPaddingHorizontal:"var(--vef-control-padding-horizontal)",controlPaddingHorizontalSm:"var(--vef-control-padding-horizontal-sm)",paddingXxs:"var(--vef-padding-xxs)",paddingXs:"var(--vef-padding-xs)",paddingSm:"var(--vef-padding-sm)",padding:"var(--vef-padding)",paddingMd:"var(--vef-padding-md)",paddingLg:"var(--vef-padding-lg)",paddingXl:"var(--vef-padding-xl)",paddingContentHorizontalLg:"var(--vef-padding-content-horizontal-lg)",paddingContentVerticalLg:"var(--vef-padding-content-vertical-lg)",paddingContentHorizontal:"var(--vef-padding-content-horizontal)",paddingContentVertical:"var(--vef-padding-content-vertical)",paddingContentHorizontalSm:"var(--vef-padding-content-horizontal-sm)",paddingContentVerticalSm:"var(--vef-padding-content-vertical-sm)",marginXxs:"var(--vef-margin-xxs)",marginXs:"var(--vef-margin-xs)",marginSm:"var(--vef-margin-sm)",margin:"var(--vef-margin)",marginMd:"var(--vef-margin-md)",marginLg:"var(--vef-margin-lg)",marginXl:"var(--vef-margin-xl)",marginXxl:"var(--vef-margin-xxl)",boxShadow:"var(--vef-box-shadow)",boxShadowSecondary:"var(--vef-box-shadow-secondary)",boxShadowTertiary:"var(--vef-box-shadow-tertiary)",boxShadowPopoverArrow:"var(--vef-box-shadow-popover-arrow)",boxShadowCard:"var(--vef-box-shadow-card)",boxShadowDrawerRight:"var(--vef-box-shadow-drawer-right)",boxShadowDrawerLeft:"var(--vef-box-shadow-drawer-left)",boxShadowDrawerUp:"var(--vef-box-shadow-drawer-up)",boxShadowDrawerDown:"var(--vef-box-shadow-drawer-down)",boxShadowTabsOverflowLeft:"var(--vef-box-shadow-tabs-overflow-left)",boxShadowTabsOverflowRight:"var(--vef-box-shadow-tabs-overflow-right)",boxShadowTabsOverflowTop:"var(--vef-box-shadow-tabs-overflow-top)",boxShadowTabsOverflowBottom:"var(--vef-box-shadow-tabs-overflow-bottom)",boxShadowElevated:"0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"};/*! 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 */export{themeVariables};
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */const themeVariables={colorChart1:"hsl(221.2 83.2% 53.3%)",colorChart2:"hsl(216 92% 60%)",colorChart3:"hsl(212 95% 68%)",colorChart4:"hsl(210 98% 78%)",colorChart5:"hsl(212 97% 87%)",blue:"var(--vef-blue)",purple:"var(--vef-purple)",cyan:"var(--vef-cyan)",green:"var(--vef-green)",magenta:"var(--vef-magenta)",pink:"var(--vef-pink)",red:"var(--vef-red)",orange:"var(--vef-orange)",yellow:"var(--vef-yellow)",volcano:"var(--vef-volcano)",geekblue:"var(--vef-geekblue)",gold:"var(--vef-gold)",lime:"var(--vef-lime)",colorPrimary:"var(--vef-color-primary)",colorSuccess:"var(--vef-color-success)",colorWarning:"var(--vef-color-warning)",colorError:"var(--vef-color-error)",colorInfo:"var(--vef-color-info)",colorLink:"var(--vef-color-link)",colorTextBase:"var(--vef-color-text-base)",colorBgBase:"var(--vef-color-bg-base)",fontFamily:"var(--vef-font-family)",fontFamilyCode:"var(--vef-font-family-code)",fontSize:"var(--vef-font-size)",lineWidth:"var(--vef-line-width)",lineType:"var(--vef-line-type)",motionEaseOutCirc:"var(--vef-motion-ease-out-circ)",motionEaseInOutCirc:"var(--vef-motion-ease-in-out-circ)",motionEaseOut:"var(--vef-motion-ease-out)",motionEaseInOut:"var(--vef-motion-ease-in-out)",motionEaseOutBack:"var(--vef-motion-ease-out-back)",motionEaseInBack:"var(--vef-motion-ease-in-back)",motionEaseInQuint:"var(--vef-motion-ease-in-quint)",motionEaseOutQuint:"var(--vef-motion-ease-out-quint)",borderRadius:"var(--vef-border-radius)",sizePopupArrow:"var(--vef-size-popup-arrow)",controlHeight:"var(--vef-control-height)",zIndexBase:"var(--vef-z-index-base)",zIndexPopupBase:"var(--vef-z-index-popup-base)",opacityImage:"var(--vef-opacity-image)",colorBgLayout:"var(--vef-color-bg-layout)",colorBgSpotlight:"var(--vef-color-bg-spotlight)",blue1:"var(--vef-blue-1)",blue2:"var(--vef-blue-2)",blue3:"var(--vef-blue-3)",blue4:"var(--vef-blue-4)",blue5:"var(--vef-blue-5)",blue6:"var(--vef-blue-6)",blue7:"var(--vef-blue-7)",blue8:"var(--vef-blue-8)",blue9:"var(--vef-blue-9)",blue10:"var(--vef-blue-10)",purple1:"var(--vef-purple-1)",purple2:"var(--vef-purple-2)",purple3:"var(--vef-purple-3)",purple4:"var(--vef-purple-4)",purple5:"var(--vef-purple-5)",purple6:"var(--vef-purple-6)",purple7:"var(--vef-purple-7)",purple8:"var(--vef-purple-8)",purple9:"var(--vef-purple-9)",purple10:"var(--vef-purple-10)",cyan1:"var(--vef-cyan-1)",cyan2:"var(--vef-cyan-2)",cyan3:"var(--vef-cyan-3)",cyan4:"var(--vef-cyan-4)",cyan5:"var(--vef-cyan-5)",cyan6:"var(--vef-cyan-6)",cyan7:"var(--vef-cyan-7)",cyan8:"var(--vef-cyan-8)",cyan9:"var(--vef-cyan-9)",cyan10:"var(--vef-cyan-10)",green1:"var(--vef-green-1)",green2:"var(--vef-green-2)",green3:"var(--vef-green-3)",green4:"var(--vef-green-4)",green5:"var(--vef-green-5)",green6:"var(--vef-green-6)",green7:"var(--vef-green-7)",green8:"var(--vef-green-8)",green9:"var(--vef-green-9)",green10:"var(--vef-green-10)",magenta1:"var(--vef-magenta-1)",magenta2:"var(--vef-magenta-2)",magenta3:"var(--vef-magenta-3)",magenta4:"var(--vef-magenta-4)",magenta5:"var(--vef-magenta-5)",magenta6:"var(--vef-magenta-6)",magenta7:"var(--vef-magenta-7)",magenta8:"var(--vef-magenta-8)",magenta9:"var(--vef-magenta-9)",magenta10:"var(--vef-magenta-10)",pink1:"var(--vef-pink-1)",pink2:"var(--vef-pink-2)",pink3:"var(--vef-pink-3)",pink4:"var(--vef-pink-4)",pink5:"var(--vef-pink-5)",pink6:"var(--vef-pink-6)",pink7:"var(--vef-pink-7)",pink8:"var(--vef-pink-8)",pink9:"var(--vef-pink-9)",pink10:"var(--vef-pink-10)",red1:"var(--vef-red-1)",red2:"var(--vef-red-2)",red3:"var(--vef-red-3)",red4:"var(--vef-red-4)",red5:"var(--vef-red-5)",red6:"var(--vef-red-6)",red7:"var(--vef-red-7)",red8:"var(--vef-red-8)",red9:"var(--vef-red-9)",red10:"var(--vef-red-10)",orange1:"var(--vef-orange-1)",orange2:"var(--vef-orange-2)",orange3:"var(--vef-orange-3)",orange4:"var(--vef-orange-4)",orange5:"var(--vef-orange-5)",orange6:"var(--vef-orange-6)",orange7:"var(--vef-orange-7)",orange8:"var(--vef-orange-8)",orange9:"var(--vef-orange-9)",orange10:"var(--vef-orange-10)",yellow1:"var(--vef-yellow-1)",yellow2:"var(--vef-yellow-2)",yellow3:"var(--vef-yellow-3)",yellow4:"var(--vef-yellow-4)",yellow5:"var(--vef-yellow-5)",yellow6:"var(--vef-yellow-6)",yellow7:"var(--vef-yellow-7)",yellow8:"var(--vef-yellow-8)",yellow9:"var(--vef-yellow-9)",yellow10:"var(--vef-yellow-10)",volcano1:"var(--vef-volcano-1)",volcano2:"var(--vef-volcano-2)",volcano3:"var(--vef-volcano-3)",volcano4:"var(--vef-volcano-4)",volcano5:"var(--vef-volcano-5)",volcano6:"var(--vef-volcano-6)",volcano7:"var(--vef-volcano-7)",volcano8:"var(--vef-volcano-8)",volcano9:"var(--vef-volcano-9)",volcano10:"var(--vef-volcano-10)",geekblue1:"var(--vef-geekblue-1)",geekblue2:"var(--vef-geekblue-2)",geekblue3:"var(--vef-geekblue-3)",geekblue4:"var(--vef-geekblue-4)",geekblue5:"var(--vef-geekblue-5)",geekblue6:"var(--vef-geekblue-6)",geekblue7:"var(--vef-geekblue-7)",geekblue8:"var(--vef-geekblue-8)",geekblue9:"var(--vef-geekblue-9)",geekblue10:"var(--vef-geekblue-10)",gold1:"var(--vef-gold-1)",gold2:"var(--vef-gold-2)",gold3:"var(--vef-gold-3)",gold4:"var(--vef-gold-4)",gold5:"var(--vef-gold-5)",gold6:"var(--vef-gold-6)",gold7:"var(--vef-gold-7)",gold8:"var(--vef-gold-8)",gold9:"var(--vef-gold-9)",gold10:"var(--vef-gold-10)",lime1:"var(--vef-lime-1)",lime2:"var(--vef-lime-2)",lime3:"var(--vef-lime-3)",lime4:"var(--vef-lime-4)",lime5:"var(--vef-lime-5)",lime6:"var(--vef-lime-6)",lime7:"var(--vef-lime-7)",lime8:"var(--vef-lime-8)",lime9:"var(--vef-lime-9)",lime10:"var(--vef-lime-10)",colorText:"var(--vef-color-text)",colorTextSecondary:"var(--vef-color-text-secondary)",colorTextTertiary:"var(--vef-color-text-tertiary)",colorTextQuaternary:"var(--vef-color-text-quaternary)",colorTextSlate:"#64748b",colorFill:"var(--vef-color-fill)",colorFillSecondary:"var(--vef-color-fill-secondary)",colorFillTertiary:"var(--vef-color-fill-tertiary)",colorFillQuaternary:"var(--vef-color-fill-quaternary)",colorBgSolid:"var(--vef-color-bg-solid)",colorBgSolidHover:"var(--vef-color-bg-solid-hover)",colorBgSolidActive:"var(--vef-color-bg-solid-active)",colorBgContainer:"var(--vef-color-bg-container)",colorBgElevated:"var(--vef-color-bg-elevated)",colorBgBlur:"var(--vef-color-bg-blur)",colorBorder:"var(--vef-color-border)",colorBorderSecondary:"var(--vef-color-border-secondary)",colorPrimaryBg:"var(--vef-color-primary-bg)",colorPrimaryBgHover:"var(--vef-color-primary-bg-hover)",colorPrimaryBorder:"var(--vef-color-primary-border)",colorPrimaryBorderHover:"var(--vef-color-primary-border-hover)",colorPrimaryHover:"var(--vef-color-primary-hover)",colorPrimaryActive:"var(--vef-color-primary-active)",colorPrimaryTextHover:"var(--vef-color-primary-text-hover)",colorPrimaryText:"var(--vef-color-primary-text)",colorPrimaryTextActive:"var(--vef-color-primary-text-active)",colorSuccessBg:"var(--vef-color-success-bg)",colorSuccessBgHover:"var(--vef-color-success-bg-hover)",colorSuccessBorder:"var(--vef-color-success-border)",colorSuccessBorderHover:"var(--vef-color-success-border-hover)",colorSuccessHover:"var(--vef-color-success-hover)",colorSuccessActive:"var(--vef-color-success-active)",colorSuccessTextHover:"var(--vef-color-success-text-hover)",colorSuccessText:"var(--vef-color-success-text)",colorSuccessTextActive:"var(--vef-color-success-text-active)",colorErrorBg:"var(--vef-color-error-bg)",colorErrorBgHover:"var(--vef-color-error-bg-hover)",colorErrorBgFilledHover:"var(--vef-color-error-bg-filled-hover)",colorErrorBgActive:"var(--vef-color-error-bg-active)",colorErrorBorder:"var(--vef-color-error-border)",colorErrorBorderHover:"var(--vef-color-error-border-hover)",colorErrorHover:"var(--vef-color-error-hover)",colorErrorActive:"var(--vef-color-error-active)",colorErrorTextHover:"var(--vef-color-error-text-hover)",colorErrorText:"var(--vef-color-error-text)",colorErrorTextActive:"var(--vef-color-error-text-active)",colorWarningBg:"var(--vef-color-warning-bg)",colorWarningBgHover:"var(--vef-color-warning-bg-hover)",colorWarningBorder:"var(--vef-color-warning-border)",colorWarningBorderHover:"var(--vef-color-warning-border-hover)",colorWarningHover:"var(--vef-color-warning-hover)",colorWarningActive:"var(--vef-color-warning-active)",colorWarningTextHover:"var(--vef-color-warning-text-hover)",colorWarningText:"var(--vef-color-warning-text)",colorWarningTextActive:"var(--vef-color-warning-text-active)",colorInfoBg:"var(--vef-color-info-bg)",colorInfoBgHover:"var(--vef-color-info-bg-hover)",colorInfoBorder:"var(--vef-color-info-border)",colorInfoBorderHover:"var(--vef-color-info-border-hover)",colorInfoHover:"var(--vef-color-info-hover)",colorInfoActive:"var(--vef-color-info-active)",colorInfoTextHover:"var(--vef-color-info-text-hover)",colorInfoText:"var(--vef-color-info-text)",colorInfoTextActive:"var(--vef-color-info-text-active)",colorLinkHover:"var(--vef-color-link-hover)",colorLinkActive:"var(--vef-color-link-active)",colorBgMask:"var(--vef-color-bg-mask)",colorWhite:"var(--vef-color-white)",fontSizeSm:"var(--vef-font-size-sm)",fontSizeLg:"var(--vef-font-size-lg)",fontSizeXl:"var(--vef-font-size-xl)",fontSizeHeading1:"var(--vef-font-size-heading-1)",fontSizeHeading2:"var(--vef-font-size-heading-2)",fontSizeHeading3:"var(--vef-font-size-heading-3)",fontSizeHeading4:"var(--vef-font-size-heading-4)",fontSizeHeading5:"var(--vef-font-size-heading-5)",lineHeight:"var(--vef-line-height)",lineHeightLg:"var(--vef-line-height-lg)",lineHeightSm:"var(--vef-line-height-sm)",fontHeight:"var(--vef-font-height)",fontHeightLg:"var(--vef-font-height-lg)",fontHeightSm:"var(--vef-font-height-sm)",lineHeightHeading1:"var(--vef-line-height-heading-1)",lineHeightHeading2:"var(--vef-line-height-heading-2)",lineHeightHeading3:"var(--vef-line-height-heading-3)",lineHeightHeading4:"var(--vef-line-height-heading-4)",lineHeightHeading5:"var(--vef-line-height-heading-5)",controlHeightSm:"var(--vef-control-height-sm)",controlHeightXs:"var(--vef-control-height-xs)",controlHeightLg:"var(--vef-control-height-lg)",motionDurationFast:"var(--vef-motion-duration-fast)",motionDurationMid:"var(--vef-motion-duration-mid)",motionDurationSlow:"var(--vef-motion-duration-slow)",lineWidthBold:"var(--vef-line-width-bold)",borderRadiusXs:"var(--vef-border-radius-xs)",borderRadiusSm:"var(--vef-border-radius-sm)",borderRadiusLg:"var(--vef-border-radius-lg)",borderRadiusOuter:"var(--vef-border-radius-outer)",colorFillContent:"var(--vef-color-fill-content)",colorFillContentHover:"var(--vef-color-fill-content-hover)",colorFillAlt:"var(--vef-color-fill-alter)",colorBgContainerDisabled:"var(--vef-color-bg-container-disabled)",colorBorderBg:"var(--vef-color-border-bg)",colorSplit:"var(--vef-color-split)",colorTextPlaceholder:"var(--vef-color-text-placeholder)",colorTextDisabled:"var(--vef-color-text-disabled)",colorTextHeading:"var(--vef-color-text-heading)",colorTextLabel:"var(--vef-color-text-label)",colorTextDescription:"var(--vef-color-text-description)",colorTextLightSolid:"var(--vef-color-text-light-solid)",colorHighlight:"var(--vef-color-highlight)",colorBgTextHover:"var(--vef-color-bg-text-hover)",colorBgTextActive:"var(--vef-color-bg-text-active)",colorIcon:"var(--vef-color-icon)",colorIconHover:"var(--vef-color-icon-hover)",colorErrorOutline:"var(--vef-color-error-outline)",colorWarningOutline:"var(--vef-color-warning-outline)",fontSizeIcon:"var(--vef-font-size-icon)",lineWidthFocus:"var(--vef-line-width-focus)",controlOutlineWidth:"var(--vef-control-outline-width)",controlInteractiveSize:"var(--vef-control-interactive-size)",controlItemBgHover:"var(--vef-control-item-bg-hover)",controlItemBgActive:"var(--vef-control-item-bg-active)",controlItemBgActiveHover:"var(--vef-control-item-bg-active-hover)",controlItemBgActiveDisabled:"var(--vef-control-item-bg-active-disabled)",controlTmpOutline:"var(--vef-control-tmp-outline)",controlOutline:"var(--vef-control-outline)",fontWeightStrong:"var(--vef-font-weight-strong)",opacityLoading:"var(--vef-opacity-loading)",linkDecoration:"var(--vef-link-decoration)",linkHoverDecoration:"var(--vef-link-hover-decoration)",linkFocusDecoration:"var(--vef-link-focus-decoration)",controlPaddingHorizontal:"var(--vef-control-padding-horizontal)",controlPaddingHorizontalSm:"var(--vef-control-padding-horizontal-sm)",paddingXxs:"var(--vef-padding-xxs)",paddingXs:"var(--vef-padding-xs)",paddingSm:"var(--vef-padding-sm)",padding:"var(--vef-padding)",paddingMd:"var(--vef-padding-md)",paddingLg:"var(--vef-padding-lg)",paddingXl:"var(--vef-padding-xl)",paddingContentHorizontalLg:"var(--vef-padding-content-horizontal-lg)",paddingContentVerticalLg:"var(--vef-padding-content-vertical-lg)",paddingContentHorizontal:"var(--vef-padding-content-horizontal)",paddingContentVertical:"var(--vef-padding-content-vertical)",paddingContentHorizontalSm:"var(--vef-padding-content-horizontal-sm)",paddingContentVerticalSm:"var(--vef-padding-content-vertical-sm)",marginXxs:"var(--vef-margin-xxs)",marginXs:"var(--vef-margin-xs)",marginSm:"var(--vef-margin-sm)",margin:"var(--vef-margin)",marginMd:"var(--vef-margin-md)",marginLg:"var(--vef-margin-lg)",marginXl:"var(--vef-margin-xl)",marginXxl:"var(--vef-margin-xxl)",boxShadow:"var(--vef-box-shadow)",boxShadowSecondary:"var(--vef-box-shadow-secondary)",boxShadowTertiary:"var(--vef-box-shadow-tertiary)",boxShadowPopoverArrow:"var(--vef-box-shadow-popover-arrow)",boxShadowCard:"var(--vef-box-shadow-card)",boxShadowDrawerRight:"var(--vef-box-shadow-drawer-right)",boxShadowDrawerLeft:"var(--vef-box-shadow-drawer-left)",boxShadowDrawerUp:"var(--vef-box-shadow-drawer-up)",boxShadowDrawerDown:"var(--vef-box-shadow-drawer-down)",boxShadowTabsOverflowLeft:"var(--vef-box-shadow-tabs-overflow-left)",boxShadowTabsOverflowRight:"var(--vef-box-shadow-tabs-overflow-right)",boxShadowTabsOverflowTop:"var(--vef-box-shadow-tabs-overflow-top)",boxShadowTabsOverflowBottom:"var(--vef-box-shadow-tabs-overflow-bottom)",boxShadowElevated:"0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"};/*! 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 */export{themeVariables};
|
package/es/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import"./lib.js";import{isFunction,snake,isNumber}from"radashi";function isAsyncFunction(fn){return isFunction(fn)?fn.constructor.name==="AsyncFunction"||Object.prototype.toString.call(fn)==="[object AsyncFunction]"||fn.toString().startsWith("async "):!1}async function invokeMaybeAsyncFn(fn,{beforeInvoke,onSuccess,onFinally},...args){if(isAsyncFunction(fn))try{beforeInvoke?.();const result=await fn(...args);return onSuccess?.(result),result}finally{onFinally?.()}else{const returned=fn(...args);if(returned instanceof Promise)try{beforeInvoke?.();const result=await returned;return onSuccess?.(result),result}finally{onFinally?.()}else return returned}}function difference(oldValues,newValues){return Object.keys(newValues).filter(key=>oldValues[key]!==newValues[key]).reduce((acc,key)=>(acc[key]=newValues[key],acc),{})}function constantCase(value){return snake(value).toUpperCase()}function isInternalFunction(fn){return!!(isAsyncFunction(fn)&&Reflect.has(fn,"name")&&Reflect.has(fn,"key")&&Reflect.get(fn,"name")==="apiFn")}function getStringLength(value){return isNumber(value)?`${value}px`:value}function buildRouteParentMenusMappings(menus){return new Map(doBuildRouteParentMenusMappings(menus))}function doBuildRouteParentMenusMappings(menus,parents=[]){return menus.flatMap(menu=>{if(menu.type==="item")return[[menu.key,[menu,parents]]];if(menu.type==="submenu"||menu.type==="group"){const{children,...parent}=menu;return[[parent.key,[{...parent,children:[]},parents]],...doBuildRouteParentMenusMappings(children,[...parents,{...parent,children:children.filter(child=>child.type!=="divider").map(child=>child.type==="item"?{...child}:{...child,children:[]})}])]}return[]})}/*! 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 */export{buildRouteParentMenusMappings,constantCase,difference,getStringLength,invokeMaybeAsyncFn,isAsyncFunction,isInternalFunction};
|
package/es/validation.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import validator from"validator";function isAlpha(value){return validator.isAlpha(value)}function isAlphanumeric(value){return validator.isAlphanumeric(value)}function isAscii(value){return validator.isAscii(value)}function isNumeric(value){return validator.isNumeric(value)}function isDecimal(value){return validator.isDecimal(value)}function isFloat(value,options){return validator.isFloat(value,options)}function isBoolean(value){return validator.isBoolean(value,{loose:!1})}function isDate(value){return validator.isDate(value,{format:"YYYY-MM-DD",strictMode:!0})}function isEmpty(value){return validator.isEmpty(value)}function isBlank(value){return validator.isEmpty(value,{ignore_whitespace:!0})}function isIdentityCard(value){return validator.isIdentityCard(value,"zh-CN")}function isAfter(value,date){return validator.isAfter(value,date)}function isBefore(value,date){return validator.isBefore(value,date)}function isEmail(value){return validator.isEmail(value)}function isHexColor(value){return validator.isHexColor(value)}function isIn(value,values){return validator.isIn(value,values)}function isInt(value,options){return validator.isInt(value,options)}function isIp(value,version){return validator.isIP(value,version)}function isIpRange(value,version){return validator.isIPRange(value,version)}function isJson(value){return validator.isJSON(value)}function isJwt(value){return validator.isJWT(value)}function isLatLong(value){return validator.isLatLong(value)}function isLength(value,options){return validator.isLength(value,options)}function isMimeType(value){return validator.isMimeType(value)}function isMobilePhone(value){return validator.isMobilePhone(value,"zh-CN")}function isPort(value){return validator.isPort(value)}function isPostalCode(value){return validator.isPostalCode(value,"CN")}function isSemVer(value){return validator.isSemVer(value)}function isSlug(value){return validator.isSlug(value)}function isStrongPassword(value){return validator.isStrongPassword(value,{minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1})}function isTime(value,options){return validator.isTime(value,options)}function isUrl(value){return validator.isURL(value,{protocols:["http","https"],require_tld:!0,require_protocol:!0,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!0})}function isUri(value){return validator.isURL(value,{protocols:[],require_tld:!1,require_protocol:!1,require_host:!1,require_port:!1,require_valid_protocol:!1,allow_underscores:!0,allow_fragments:!1,allow_query_components:!1,allow_protocol_relative_urls:!1})}function isUuid(value,version){return validator.isUUID(value,version)}function isDateTime(value){const[date,time]=value.split(" ",2);return isDate(date)&&isTime(time)}function matches(value,pattern,modifiers){return validator.matches(value,pattern,modifiers)}const chineseNameRegExp=/^[\u4E00-\u9FA5]+\d*$/;function isChineseName(value){return chineseNameRegExp.test(value)}/*! 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 */export{isAfter,isAlpha,isAlphanumeric,isAscii,isBefore,isBlank,isBoolean,isChineseName,isDate,isDateTime,isDecimal,isEmail,isEmpty,isFloat,isHexColor,isIdentityCard,isIn,isInt,isIp,isIpRange,isJson,isJwt,isLatLong,isLength,isMimeType,isMobilePhone,isNumeric,isPort,isPostalCode,isSemVer,isSlug,isStrongPassword,isTime,isUri,isUrl,isUuid,matches};
|
package/es/yaml.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */import{load}from"js-yaml";function loadYaml(content){return load(content)}/*! 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 */export{loadYaml};
|
package/lib/color.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const colord=require("colord");function isValidColor(color){return colord.colord(color).isValid()}exports.isValidColor=isValidColor;/*! 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/lib/constants.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const defaultColorTypes=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","gold","lime"],semanticColorTypes=["primary","info","success","warning","error"],colorTypes=[...defaultColorTypes,...semanticColorTypes],creationFormScene="creation",updateFormScene="update",auditFormScene="audit",presetFormScenes=[creationFormScene,updateFormScene,auditFormScene];exports.auditFormScene=auditFormScene,exports.colorTypes=colorTypes,exports.creationFormScene=creationFormScene,exports.defaultColorTypes=defaultColorTypes,exports.presetFormScenes=presetFormScenes,exports.semanticColorTypes=semanticColorTypes,exports.updateFormScene=updateFormScene;/*! 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/lib/context.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react"),useContextSelector=require("use-context-selector");require("./lib.cjs");const radashi=require("radashi"),shallow=require("zustand/shallow");function createSelectableContext(defaultValue){const context=useContextSelector.createContext(defaultValue);return{ContextProvider:context.Provider,useContextSelector:selector=>{const lastSelectedValueRef=react.useRef();return useContextSelector.useContextSelector(context,value=>{if(radashi.isNullish(value))return;const selectedValue=selector(value);return lastSelectedValueRef.current&&shallow.shallow(selectedValue,lastSelectedValueRef.current)?lastSelectedValueRef.current:(lastSelectedValueRef.current=selectedValue,selectedValue)})},useContext:()=>useContextSelector.useContext(context)}}exports.createSelectableContext=createSelectableContext;/*! 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/lib/dom.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function getElementHeight(element,selector,includeMargin=!1){if(selector){const subElement=element.querySelector(selector);if(!subElement)return 0;element=subElement}const height=element.offsetHeight;if(!includeMargin)return height;const styleMap=element.computedStyleMap(),marginTop=styleMap.get("margin-top").value,marginBottom=styleMap.get("margin-bottom").value;return height+marginTop+marginBottom}exports.getElementHeight=getElementHeight;/*! 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/lib/error.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var __defProp=Object.defineProperty,__defNormalProp=(obj,key,value)=>key in obj?__defProp(obj,key,{enumerable:!0,configurable:!0,writable:!0,value}):obj[key]=value,__publicField=(obj,key,value)=>__defNormalProp(obj,typeof key!="symbol"?key+"":key,value);class VefError extends Error{constructor(code,message){super(message),__publicField(this,"code"),Object.defineProperty(this,"code",{value:code,writable:!1,configurable:!1,enumerable:!0})}}exports.VefError=VefError;/*! 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/lib/event.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const mitt=require("mitt");function createEventEmitter(){return mitt()}exports.createEventEmitter=createEventEmitter;/*! 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/lib/expression.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("./lib.cjs");const radashi=require("radashi"),dynamicFnCache=new WeakMap;function isExpression(value){return radashi.isObject(value)&&"expression"in value&&radashi.isString(value.expression)}function isFunctionOrExpression(value){return radashi.isFunction(value)||isExpression(value)}function compileDynamicFn(key,...args){const fn=dynamicFnCache.get(key);if(fn)return fn;const newFn=new Function(...args);return dynamicFnCache.set(key,newFn),newFn}exports.compileDynamicFn=compileDynamicFn,exports.isExpression=isExpression,exports.isFunctionOrExpression=isFunctionOrExpression;/*! 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/lib/function.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function mergeFns(...fns){return(...args)=>{for(const fn2 of fns)fn2&&fn2(...args)}}exports.mergeFns=mergeFns;/*! 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/lib/icons.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const jsxRuntime=require("@emotion/react/jsx-runtime");function IconTick(props){return jsxRuntime.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsxRuntime.jsx("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(props){return jsxRuntime.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsxRuntime.jsx("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(props){return jsxRuntime.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsxRuntime.jsx("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(props){return jsxRuntime.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsxRuntime.jsx("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(props){return jsxRuntime.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsxRuntime.jsx("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(props){return jsxRuntime.jsx("svg",{"aria-hidden":!0,focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...props,children:jsxRuntime.jsx("path",{d:"M20 6L9 17l-5-5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})}exports.IconAlertCircle=IconAlertCircle,exports.IconAlertTriangle=IconAlertTriangle,exports.IconCheck=IconCheck,exports.IconInfoCircle=IconInfoCircle,exports.IconTick=IconTick,exports.IconTickCircle=IconTickCircle;/*! 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/lib/id.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const nanoid=require("nanoid"),alphabets="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",length=18,nanoId=nanoid.customAlphabet(alphabets,length);function generateId(){return nanoId()}exports.generateId=generateId;/*! 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/lib/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const color=require("./color.cjs"),constants=require("./constants.cjs"),context=require("./context.cjs"),dom=require("./dom.cjs"),error=require("./error.cjs"),event=require("./event.cjs"),expression=require("./expression.cjs"),_function=require("./function.cjs"),icons=require("./icons.cjs"),id=require("./id.cjs"),json=require("./json.cjs");require("./lib.cjs");const message=require("./message.cjs"),path=require("./path.cjs"),pinyin=require("./pinyin.cjs"),security=require("./security.cjs"),store=require("./store.cjs"),styles=require("./styles.cjs"),temporal=require("./temporal.cjs"),themeVariables=require("./theme-variables.cjs");require("./types.cjs");const utils=require("./utils.cjs"),validation=require("./validation.cjs"),yaml=require("./yaml.cjs"),reactFastCompare=require("react-fast-compare"),shallow=require("zustand/shallow"),zod=require("zod"),radashi=require("radashi");exports.isValidColor=color.isValidColor,exports.auditFormScene=constants.auditFormScene,exports.colorTypes=constants.colorTypes,exports.creationFormScene=constants.creationFormScene,exports.defaultColorTypes=constants.defaultColorTypes,exports.presetFormScenes=constants.presetFormScenes,exports.semanticColorTypes=constants.semanticColorTypes,exports.updateFormScene=constants.updateFormScene,exports.createSelectableContext=context.createSelectableContext,exports.getElementHeight=dom.getElementHeight,exports.VefError=error.VefError,exports.createEventEmitter=event.createEventEmitter,exports.compileDynamicFn=expression.compileDynamicFn,exports.isExpression=expression.isExpression,exports.isFunctionOrExpression=expression.isFunctionOrExpression,exports.mergeFns=_function.mergeFns,exports.IconAlertCircle=icons.IconAlertCircle,exports.IconAlertTriangle=icons.IconAlertTriangle,exports.IconCheck=icons.IconCheck,exports.IconInfoCircle=icons.IconInfoCircle,exports.IconTick=icons.IconTick,exports.IconTickCircle=icons.IconTickCircle,exports.generateId=id.generateId,exports.isJsonSchemaValid=json.isJsonSchemaValid,exports.checkIcon=message.checkIcon,exports.defaultMessageTitle=message.defaultMessageTitle,exports.errorIcon=message.errorIcon,exports.infoIcon=message.infoIcon,exports.showConfirmation=message.showConfirmation,exports.showErrorAlert=message.showErrorAlert,exports.showErrorMessage=message.showErrorMessage,exports.showErrorNotification=message.showErrorNotification,exports.showInfoAlert=message.showInfoAlert,exports.showInfoMessage=message.showInfoMessage,exports.showInfoNotification=message.showInfoNotification,exports.showLoadingMessage=message.showLoadingMessage,exports.showSuccessAlert=message.showSuccessAlert,exports.showSuccessMessage=message.showSuccessMessage,exports.showSuccessNotification=message.showSuccessNotification,exports.showWarningAlert=message.showWarningAlert,exports.showWarningMessage=message.showWarningMessage,exports.showWarningNotification=message.showWarningNotification,exports.successIcon=message.successIcon,exports.warningIcon=message.warningIcon,exports.extractBaseName=path.extractBaseName,exports.extractDirName=path.extractDirName,exports.extractExtName=path.extractExtName,exports.isAbsolutePath=path.isAbsolutePath,exports.joinPaths=path.joinPaths,exports.normalizePath=path.normalizePath,exports.parsePinyin=pinyin.parsePinyin,exports.parsePinyinFirstLetter=pinyin.parsePinyinFirstLetter,exports.decryptRsa=security.decryptRsa,exports.encryptRsa=security.encryptRsa,exports.createComponentStore=store.createComponentStore,exports.createStore=store.createStore,exports.createUnboundStore=store.createUnboundStore,exports.useUnboundStore=store.useUnboundStore,exports.bmq=styles.bmq,exports.breakpoints=styles.breakpoints,exports.styles=styles.styles,exports.getNowDate=temporal.getNowDate,exports.getNowDateString=temporal.getNowDateString,exports.getTodayString=temporal.getTodayString,exports.themeVariables=themeVariables.themeVariables,exports.buildRouteParentMenusMappings=utils.buildRouteParentMenusMappings,exports.constantCase=utils.constantCase,exports.difference=utils.difference,exports.getStringLength=utils.getStringLength,exports.invokeMaybeAsyncFn=utils.invokeMaybeAsyncFn,exports.isAsyncFunction=utils.isAsyncFunction,exports.isInternalFunction=utils.isInternalFunction,exports.validator=validation,exports.loadYaml=yaml.loadYaml,exports.isDeepEqual=reactFastCompare,Object.defineProperty(exports,"isShallowEqual",{enumerable:!0,get:()=>shallow.shallow}),Object.defineProperty(exports,"z",{enumerable:!0,get:()=>zod.z}),Object.defineProperty(exports,"assign",{enumerable:!0,get:()=>radashi.assign}),Object.defineProperty(exports,"camelCase",{enumerable:!0,get:()=>radashi.camel}),Object.defineProperty(exports,"capitalize",{enumerable:!0,get:()=>radashi.capitalize}),Object.defineProperty(exports,"clone",{enumerable:!0,get:()=>radashi.clone}),Object.defineProperty(exports,"cloneDeep",{enumerable:!0,get:()=>radashi.cloneDeep}),Object.defineProperty(exports,"cluster",{enumerable:!0,get:()=>radashi.cluster}),Object.defineProperty(exports,"dashCase",{enumerable:!0,get:()=>radashi.dash}),Object.defineProperty(exports,"debounce",{enumerable:!0,get:()=>radashi.debounce}),Object.defineProperty(exports,"get",{enumerable:!0,get:()=>radashi.get}),Object.defineProperty(exports,"isArray",{enumerable:!0,get:()=>radashi.isArray}),Object.defineProperty(exports,"isBoolean",{enumerable:!0,get:()=>radashi.isBoolean}),Object.defineProperty(exports,"isDate",{enumerable:!0,get:()=>radashi.isDate}),Object.defineProperty(exports,"isEmpty",{enumerable:!0,get:()=>radashi.isEmpty}),Object.defineProperty(exports,"isError",{enumerable:!0,get:()=>radashi.isError}),Object.defineProperty(exports,"isFloat",{enumerable:!0,get:()=>radashi.isFloat}),Object.defineProperty(exports,"isFunction",{enumerable:!0,get:()=>radashi.isFunction}),Object.defineProperty(exports,"isInt",{enumerable:!0,get:()=>radashi.isInt}),Object.defineProperty(exports,"isIntString",{enumerable:!0,get:()=>radashi.isIntString}),Object.defineProperty(exports,"isMap",{enumerable:!0,get:()=>radashi.isMap}),Object.defineProperty(exports,"isNullish",{enumerable:!0,get:()=>radashi.isNullish}),Object.defineProperty(exports,"isNumber",{enumerable:!0,get:()=>radashi.isNumber}),Object.defineProperty(exports,"isObject",{enumerable:!0,get:()=>radashi.isObject}),Object.defineProperty(exports,"isPlainObject",{enumerable:!0,get:()=>radashi.isPlainObject}),Object.defineProperty(exports,"isPrimitive",{enumerable:!0,get:()=>radashi.isPrimitive}),Object.defineProperty(exports,"isPromise",{enumerable:!0,get:()=>radashi.isPromise}),Object.defineProperty(exports,"isRegExp",{enumerable:!0,get:()=>radashi.isRegExp}),Object.defineProperty(exports,"isSet",{enumerable:!0,get:()=>radashi.isSet}),Object.defineProperty(exports,"isString",{enumerable:!0,get:()=>radashi.isString}),Object.defineProperty(exports,"isSymbol",{enumerable:!0,get:()=>radashi.isSymbol}),Object.defineProperty(exports,"isUndefined",{enumerable:!0,get:()=>radashi.isUndefined}),Object.defineProperty(exports,"isWeakMap",{enumerable:!0,get:()=>radashi.isWeakMap}),Object.defineProperty(exports,"isWeakSet",{enumerable:!0,get:()=>radashi.isWeakSet}),Object.defineProperty(exports,"max",{enumerable:!0,get:()=>radashi.max}),Object.defineProperty(exports,"memoize",{enumerable:!0,get:()=>radashi.memo}),Object.defineProperty(exports,"min",{enumerable:!0,get:()=>radashi.min}),Object.defineProperty(exports,"noop",{enumerable:!0,get:()=>radashi.noop}),Object.defineProperty(exports,"omit",{enumerable:!0,get:()=>radashi.omit}),Object.defineProperty(exports,"once",{enumerable:!0,get:()=>radashi.once}),Object.defineProperty(exports,"pascalCase",{enumerable:!0,get:()=>radashi.pascal}),Object.defineProperty(exports,"pick",{enumerable:!0,get:()=>radashi.pick}),Object.defineProperty(exports,"set",{enumerable:!0,get:()=>radashi.set}),Object.defineProperty(exports,"similarity",{enumerable:!0,get:()=>radashi.similarity}),Object.defineProperty(exports,"snakeCase",{enumerable:!0,get:()=>radashi.snake}),Object.defineProperty(exports,"sum",{enumerable:!0,get:()=>radashi.sum}),Object.defineProperty(exports,"template",{enumerable:!0,get:()=>radashi.template}),Object.defineProperty(exports,"throttle",{enumerable:!0,get:()=>radashi.throttle}),Object.defineProperty(exports,"toFloat",{enumerable:!0,get:()=>radashi.toFloat}),Object.defineProperty(exports,"toInt",{enumerable:!0,get:()=>radashi.toInt}),Object.defineProperty(exports,"trim",{enumerable:!0,get:()=>radashi.trim}),Object.defineProperty(exports,"unique",{enumerable:!0,get:()=>radashi.unique});/*! 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/lib/json.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ajv=require("ajv"),addFormats=require("ajv-formats"),ajv=new Ajv({allErrors:!0,verbose:!0,useDefaults:!0});addFormats(ajv);function isJsonSchemaValid(schema){return ajv.validateSchema(JSON.parse(schema))}exports.isJsonSchemaValid=isJsonSchemaValid;/*! 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/lib/lib.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i18next=require("i18next"),radashi=require("radashi"),zod=require("zod"),zodI18nMap=require("zod-i18n-map"),translation=require("zod-i18n-map/locales/zh-CN/zod.json"),reactFastCompare=require("react-fast-compare"),shallow=require("zustand/shallow");i18next.init({lng:"zh-CN",fallbackLng:!1,resources:{"zh-CN":{zod:translation}}}),zod.z.setErrorMap(zodI18nMap.zodI18nMap),Object.defineProperty(exports,"assign",{enumerable:!0,get:()=>radashi.assign}),Object.defineProperty(exports,"camelCase",{enumerable:!0,get:()=>radashi.camel}),Object.defineProperty(exports,"capitalize",{enumerable:!0,get:()=>radashi.capitalize}),Object.defineProperty(exports,"clone",{enumerable:!0,get:()=>radashi.clone}),Object.defineProperty(exports,"cloneDeep",{enumerable:!0,get:()=>radashi.cloneDeep}),Object.defineProperty(exports,"cluster",{enumerable:!0,get:()=>radashi.cluster}),Object.defineProperty(exports,"dashCase",{enumerable:!0,get:()=>radashi.dash}),Object.defineProperty(exports,"debounce",{enumerable:!0,get:()=>radashi.debounce}),Object.defineProperty(exports,"get",{enumerable:!0,get:()=>radashi.get}),Object.defineProperty(exports,"isArray",{enumerable:!0,get:()=>radashi.isArray}),Object.defineProperty(exports,"isBoolean",{enumerable:!0,get:()=>radashi.isBoolean}),Object.defineProperty(exports,"isDate",{enumerable:!0,get:()=>radashi.isDate}),Object.defineProperty(exports,"isEmpty",{enumerable:!0,get:()=>radashi.isEmpty}),Object.defineProperty(exports,"isError",{enumerable:!0,get:()=>radashi.isError}),Object.defineProperty(exports,"isFloat",{enumerable:!0,get:()=>radashi.isFloat}),Object.defineProperty(exports,"isFunction",{enumerable:!0,get:()=>radashi.isFunction}),Object.defineProperty(exports,"isInt",{enumerable:!0,get:()=>radashi.isInt}),Object.defineProperty(exports,"isIntString",{enumerable:!0,get:()=>radashi.isIntString}),Object.defineProperty(exports,"isMap",{enumerable:!0,get:()=>radashi.isMap}),Object.defineProperty(exports,"isNullish",{enumerable:!0,get:()=>radashi.isNullish}),Object.defineProperty(exports,"isNumber",{enumerable:!0,get:()=>radashi.isNumber}),Object.defineProperty(exports,"isObject",{enumerable:!0,get:()=>radashi.isObject}),Object.defineProperty(exports,"isPlainObject",{enumerable:!0,get:()=>radashi.isPlainObject}),Object.defineProperty(exports,"isPrimitive",{enumerable:!0,get:()=>radashi.isPrimitive}),Object.defineProperty(exports,"isPromise",{enumerable:!0,get:()=>radashi.isPromise}),Object.defineProperty(exports,"isRegExp",{enumerable:!0,get:()=>radashi.isRegExp}),Object.defineProperty(exports,"isSet",{enumerable:!0,get:()=>radashi.isSet}),Object.defineProperty(exports,"isString",{enumerable:!0,get:()=>radashi.isString}),Object.defineProperty(exports,"isSymbol",{enumerable:!0,get:()=>radashi.isSymbol}),Object.defineProperty(exports,"isUndefined",{enumerable:!0,get:()=>radashi.isUndefined}),Object.defineProperty(exports,"isWeakMap",{enumerable:!0,get:()=>radashi.isWeakMap}),Object.defineProperty(exports,"isWeakSet",{enumerable:!0,get:()=>radashi.isWeakSet}),Object.defineProperty(exports,"max",{enumerable:!0,get:()=>radashi.max}),Object.defineProperty(exports,"memoize",{enumerable:!0,get:()=>radashi.memo}),Object.defineProperty(exports,"min",{enumerable:!0,get:()=>radashi.min}),Object.defineProperty(exports,"noop",{enumerable:!0,get:()=>radashi.noop}),Object.defineProperty(exports,"omit",{enumerable:!0,get:()=>radashi.omit}),Object.defineProperty(exports,"once",{enumerable:!0,get:()=>radashi.once}),Object.defineProperty(exports,"pascalCase",{enumerable:!0,get:()=>radashi.pascal}),Object.defineProperty(exports,"pick",{enumerable:!0,get:()=>radashi.pick}),Object.defineProperty(exports,"set",{enumerable:!0,get:()=>radashi.set}),Object.defineProperty(exports,"similarity",{enumerable:!0,get:()=>radashi.similarity}),Object.defineProperty(exports,"snakeCase",{enumerable:!0,get:()=>radashi.snake}),Object.defineProperty(exports,"sum",{enumerable:!0,get:()=>radashi.sum}),Object.defineProperty(exports,"template",{enumerable:!0,get:()=>radashi.template}),Object.defineProperty(exports,"throttle",{enumerable:!0,get:()=>radashi.throttle}),Object.defineProperty(exports,"toFloat",{enumerable:!0,get:()=>radashi.toFloat}),Object.defineProperty(exports,"toInt",{enumerable:!0,get:()=>radashi.toInt}),Object.defineProperty(exports,"trim",{enumerable:!0,get:()=>radashi.trim}),Object.defineProperty(exports,"unique",{enumerable:!0,get:()=>radashi.unique}),Object.defineProperty(exports,"z",{enumerable:!0,get:()=>zod.z}),exports.isDeepEqual=reactFastCompare,Object.defineProperty(exports,"isShallowEqual",{enumerable:!0,get:()=>shallow.shallow});/*! 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/lib/message.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Icon=require("@ant-design/icons"),antd=require("antd"),react=require("react"),icons=require("./icons.cjs");require("./lib.cjs");const radashi=require("radashi"),{confirm,info,success,warning,error}=antd.Modal,checkIcon=react.createElement(Icon,{component:icons.IconCheck}),successIcon=react.createElement(Icon,{component:icons.IconTickCircle}),infoIcon=react.createElement(Icon,{component:icons.IconInfoCircle}),warningIcon=react.createElement(Icon,{component:icons.IconAlertTriangle}),errorIcon=react.createElement(Icon,{component:icons.IconAlertCircle}),notificationSuccessIcon=react.createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-success",component:icons.IconTickCircle}),notificationInfoIcon=react.createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-info",component:icons.IconInfoCircle}),notificationWarningIcon=react.createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-warning",component:icons.IconAlertTriangle}),notificationErrorIcon=react.createElement(Icon,{className:"vef-notification-notice-icon vef-notification-notice-icon-error",component:icons.IconAlertCircle});function showSuccessMessage(content){antd.message.open({type:"success",content,duration:2,icon:successIcon})}function showInfoMessage(content){antd.message.open({type:"info",content,duration:3,icon:infoIcon})}function showWarningMessage(content){antd.message.open({type:"warning",content,duration:3,icon:warningIcon})}function showErrorMessage(content){antd.message.open({type:"error",content,duration:4,icon:errorIcon})}function showLoadingMessage(content){const close=antd.message.open({type:"loading",content,duration:0});return()=>close()}const defaultMessageTitle="提示";function showSuccessNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showSuccessNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;antd.notification.open({type:"success",message:titleToUse,description:contentToUse,duration:4,closable:!0,btn:buttonsToUse,icon:notificationSuccessIcon})}function showInfoNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showInfoNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;antd.notification.open({type:"info",message:titleToUse,description:contentToUse,duration:5,closable:!0,btn:buttonsToUse,icon:notificationInfoIcon})}function showWarningNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showWarningNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;antd.notification.open({type:"warning",message:titleToUse,description:contentToUse,duration:6,closable:!0,btn:buttonsToUse,icon:notificationWarningIcon})}function showErrorNotification(titleOrContent,content,buttons){const argsLength=arguments.length;if(argsLength<1)throw new Error("showErrorNotification requires at least one argument");const titleToUse=argsLength>1?titleOrContent:defaultMessageTitle,contentToUse=argsLength>1?content:titleOrContent,buttonsToUse=argsLength===3?buttons:void 0;antd.notification.open({type:"error",message:titleToUse,description:contentToUse,duration:10,closable:!0,btn:buttonsToUse,icon:notificationErrorIcon})}const cancelButtonProps={color:"default",variant:"text"},okButtonProps={icon:checkIcon};function showConfirmation(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<2)throw new Error("showConfirmation requires at least two arguments");const titleToUse=argsLength>2?title:"提示",contentToUse=argsLength===2?title:content,onOkToUse=argsLength===2?content:onOk,{okText,cancelText,onCancel,onAfterOpen,onAfterClose}=options??{},{destroy}=confirm({title:titleToUse,content:contentToUse,cancelButtonProps,okButtonProps,centered:!0,onOk:onOkToUse,okText,cancelText,onCancel,afterOpenChange:radashi.isFunction(onAfterOpen)||radashi.isFunction(onAfterClose)?open=>{open?onAfterOpen?.():onAfterClose?.()}:void 0});return destroy}const alertFnMap={success,info,warning,error},alertIconMap={success:successIcon,info:infoIcon,warning:warningIcon,error:errorIcon},defaultOkText="👍🏻 好的,知道了";function showAlert(type,content,title=defaultMessageTitle,onOk,options){const{okText=defaultOkText,onCancel,onAfterOpen,onAfterClose}=options??{},{destroy}=alertFnMap[type]({title,content,icon:alertIconMap[type],centered:!0,onOk,okText,onCancel,afterOpenChange:radashi.isFunction(onAfterOpen)||radashi.isFunction(onAfterClose)?open=>{open?onAfterOpen?.():onAfterClose?.()}:void 0});return destroy}function showSuccessAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showSuccessAlert requires at least one argument");const titleToUse=argsLength===1||radashi.isFunction(content)?void 0:title,contentToUse=argsLength===1||radashi.isFunction(content)?title:content,onOkToUse=argsLength===2||radashi.isFunction(content)?content:onOk;return showAlert("success",contentToUse,titleToUse,onOkToUse,options)}function showInfoAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showInfoAlert requires at least one argument");const titleToUse=argsLength===1||radashi.isFunction(content)?void 0:title,contentToUse=argsLength===1||radashi.isFunction(content)?title:content,onOkToUse=argsLength===2||radashi.isFunction(content)?content:onOk;return showAlert("info",contentToUse,titleToUse,onOkToUse,options)}function showWarningAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showWarningAlert requires at least one argument");const titleToUse=argsLength===1||radashi.isFunction(content)?void 0:title,contentToUse=argsLength===1||radashi.isFunction(content)?title:content,onOkToUse=argsLength===2||radashi.isFunction(content)?content:onOk;return showAlert("warning",contentToUse,titleToUse,onOkToUse,options)}function showErrorAlert(title,content,onOk,options){const argsLength=arguments.length;if(argsLength<1)throw new Error("showErrorAlert requires at least one argument");const titleToUse=argsLength===1||radashi.isFunction(content)?void 0:title,contentToUse=argsLength===1||radashi.isFunction(content)?title:content,onOkToUse=argsLength===2||radashi.isFunction(content)?content:onOk;return showAlert("error",contentToUse,titleToUse,onOkToUse,options)}exports.checkIcon=checkIcon,exports.defaultMessageTitle=defaultMessageTitle,exports.errorIcon=errorIcon,exports.infoIcon=infoIcon,exports.showConfirmation=showConfirmation,exports.showErrorAlert=showErrorAlert,exports.showErrorMessage=showErrorMessage,exports.showErrorNotification=showErrorNotification,exports.showInfoAlert=showInfoAlert,exports.showInfoMessage=showInfoMessage,exports.showInfoNotification=showInfoNotification,exports.showLoadingMessage=showLoadingMessage,exports.showSuccessAlert=showSuccessAlert,exports.showSuccessMessage=showSuccessMessage,exports.showSuccessNotification=showSuccessNotification,exports.showWarningAlert=showWarningAlert,exports.showWarningMessage=showWarningMessage,exports.showWarningNotification=showWarningNotification,exports.successIcon=successIcon,exports.warningIcon=warningIcon;/*! 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/lib/path.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const path=require("path-browserify"),{basename,dirname,extname,isAbsolute,join,normalize}=path;function extractBaseName(path2,keepExt=!0){const ext=keepExt?void 0:extname(path2);return basename(path2,ext)}function extractExtName(path2){return extname(path2)}function extractDirName(path2){return dirname(path2)}function joinPaths(...paths){return join(...paths)}function isAbsolutePath(path2){return isAbsolute(path2)}function normalizePath(path2){return normalize(path2)}exports.extractBaseName=extractBaseName,exports.extractDirName=extractDirName,exports.extractExtName=extractExtName,exports.isAbsolutePath=isAbsolutePath,exports.joinPaths=joinPaths,exports.normalizePath=normalizePath;/*! 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/lib/pinyin.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const pinyinPro=require("pinyin-pro");function parsePinyin(text){return pinyinPro.pinyin(text,{pattern:"pinyin",toneType:"none",type:"array",mode:"normal",nonZh:"consecutive"})}function parsePinyinFirstLetter(text){return pinyinPro.pinyin(text,{pattern:"first",toneType:"none",type:"array",mode:"normal",nonZh:"consecutive"})}exports.parsePinyin=parsePinyin,exports.parsePinyinFirstLetter=parsePinyinFirstLetter;/*! 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/lib/security.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const JSEncrypt=require("jsencrypt");function encryptRsa(value,publicKey){const rsa=new JSEncrypt;rsa.setPublicKey(publicKey);const encrypted=rsa.encrypt(value);if(!encrypted)throw new Error(`Failed to encrypt value [${value}] using RSA`);return encrypted}function decryptRsa(value,privateKey){const rsa=new JSEncrypt;rsa.setPrivateKey(privateKey);const decrypted=rsa.decrypt(value);if(!decrypted)throw new Error(`Failed to decrypt value [${value}] using RSA`);return decrypted}exports.decryptRsa=decryptRsa,exports.encryptRsa=encryptRsa;/*! 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/lib/store.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react"),middleware=require("zustand/middleware"),traditional=require("zustand/traditional"),vanilla=require("zustand/vanilla");require("./lib.cjs");const utils=require("./utils.cjs"),radashi=require("radashi"),shallow=require("zustand/shallow");function createStorageProxy(storage){const delegate=middleware.createJSONStorage(()=>storage==="local"?localStorage:sessionStorage);return{getItem:delegate.getItem,setItem(name,value){radashi.isNullish(value.state)||delegate.setItem(name,value)},removeItem:delegate.removeItem}}function createStore(stateCreator,persistenceOptions){const name=persistenceOptions?.name??"UNKNOWN",storage=persistenceOptions?.storage??"local",selector=persistenceOptions?persistenceOptions.selector:()=>null,storageInstance=createStorageProxy(storage);return traditional.createWithEqualityFn(middleware.persist(middleware.subscribeWithSelector(stateCreator),{name:`__VEF_STORE__${utils.constantCase(name)}__`,storage:storageInstance,version:1,partialize:selector}),shallow.shallow)}function createUnboundStore(stateCreator){return vanilla.createStore(middleware.subscribeWithSelector(stateCreator))}function useUnboundStore(store,selector,equalityFn){return traditional.useStoreWithEqualityFn(store,selector,equalityFn??shallow.shallow)}function createComponentStore(name,getStateCreator){const StoreContext=react.createContext(null),StoreProvider=({initialState,children})=>{const[store]=react.useState(()=>{const creator=getStateCreator(initialState);return createUnboundStore(creator)}),isMounted=react.useRef(!1);return react.useEffect(()=>()=>{isMounted.current=!1},[]),react.useEffect(()=>{isMounted.current||(isMounted.current=!0),initialState&&store.setState({...initialState})},[initialState,store]),react.createElement(StoreContext.Provider,{value:store},children)},useStoreApi=()=>{const store=react.useContext(StoreContext);if(!store)throw new Error(`${name}Store can be used only inside ${name}StoreProvider`);return store};return{StoreProvider,useStore:selector=>useUnboundStore(useStoreApi(),selector),useStoreApi}}exports.createComponentStore=createComponentStore,exports.createStore=createStore,exports.createUnboundStore=createUnboundStore,exports.useUnboundStore=useUnboundStore;/*! 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/lib/styles.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("@emotion/react"),breakpointWidths={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},breakpoints=["xs","sm","md","lg","xl","xxl"],bmq=Object.keys(breakpointWidths).reduce((acc,label)=>(acc[label]=`@media (min-width: ${breakpointWidths[label]}px)`,acc),{}),styles={flexCenter:react.css({display:"flex",justifyContent:"center",alignItems:"center"}),fullHeight:react.css({height:"100%"}),fullWidth:react.css({width:"100%"}),scrollbar:react.css({scrollbarWidth:"thin",scrollbarColor:"rgba(0, 0, 0, 0.3) transparent",scrollbarGutter:"stable"})};exports.bmq=bmq,exports.breakpoints=breakpoints,exports.styles=styles;/*! 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/lib/temporal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const tz=require("@date-fns/tz"),dateFns=require("date-fns"),locale=require("date-fns/locale");function getNowDate(){return new Date}function getNowDateString(){return dateFns.format(getNowDate(),"yyyy-MM-dd",{locale:locale.zhCN,in:tz.tz("Asia/Shanghai")})}function getTodayString(){return dateFns.format(getNowDate(),"PPPPpp",{locale:locale.zhCN,in:tz.tz("Asia/Shanghai")})}exports.getNowDate=getNowDate,exports.getNowDateString=getNowDateString,exports.getTodayString=getTodayString;/*! 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/lib/theme-variables.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.116, build time: 2025-03-10T07:29:22.624Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const themeVariables={colorChart1:"hsl(221.2 83.2% 53.3%)",colorChart2:"hsl(216 92% 60%)",colorChart3:"hsl(212 95% 68%)",colorChart4:"hsl(210 98% 78%)",colorChart5:"hsl(212 97% 87%)",blue:"var(--vef-blue)",purple:"var(--vef-purple)",cyan:"var(--vef-cyan)",green:"var(--vef-green)",magenta:"var(--vef-magenta)",pink:"var(--vef-pink)",red:"var(--vef-red)",orange:"var(--vef-orange)",yellow:"var(--vef-yellow)",volcano:"var(--vef-volcano)",geekblue:"var(--vef-geekblue)",gold:"var(--vef-gold)",lime:"var(--vef-lime)",colorPrimary:"var(--vef-color-primary)",colorSuccess:"var(--vef-color-success)",colorWarning:"var(--vef-color-warning)",colorError:"var(--vef-color-error)",colorInfo:"var(--vef-color-info)",colorLink:"var(--vef-color-link)",colorTextBase:"var(--vef-color-text-base)",colorBgBase:"var(--vef-color-bg-base)",fontFamily:"var(--vef-font-family)",fontFamilyCode:"var(--vef-font-family-code)",fontSize:"var(--vef-font-size)",lineWidth:"var(--vef-line-width)",lineType:"var(--vef-line-type)",motionEaseOutCirc:"var(--vef-motion-ease-out-circ)",motionEaseInOutCirc:"var(--vef-motion-ease-in-out-circ)",motionEaseOut:"var(--vef-motion-ease-out)",motionEaseInOut:"var(--vef-motion-ease-in-out)",motionEaseOutBack:"var(--vef-motion-ease-out-back)",motionEaseInBack:"var(--vef-motion-ease-in-back)",motionEaseInQuint:"var(--vef-motion-ease-in-quint)",motionEaseOutQuint:"var(--vef-motion-ease-out-quint)",borderRadius:"var(--vef-border-radius)",sizePopupArrow:"var(--vef-size-popup-arrow)",controlHeight:"var(--vef-control-height)",zIndexBase:"var(--vef-z-index-base)",zIndexPopupBase:"var(--vef-z-index-popup-base)",opacityImage:"var(--vef-opacity-image)",colorBgLayout:"var(--vef-color-bg-layout)",colorBgSpotlight:"var(--vef-color-bg-spotlight)",blue1:"var(--vef-blue-1)",blue2:"var(--vef-blue-2)",blue3:"var(--vef-blue-3)",blue4:"var(--vef-blue-4)",blue5:"var(--vef-blue-5)",blue6:"var(--vef-blue-6)",blue7:"var(--vef-blue-7)",blue8:"var(--vef-blue-8)",blue9:"var(--vef-blue-9)",blue10:"var(--vef-blue-10)",purple1:"var(--vef-purple-1)",purple2:"var(--vef-purple-2)",purple3:"var(--vef-purple-3)",purple4:"var(--vef-purple-4)",purple5:"var(--vef-purple-5)",purple6:"var(--vef-purple-6)",purple7:"var(--vef-purple-7)",purple8:"var(--vef-purple-8)",purple9:"var(--vef-purple-9)",purple10:"var(--vef-purple-10)",cyan1:"var(--vef-cyan-1)",cyan2:"var(--vef-cyan-2)",cyan3:"var(--vef-cyan-3)",cyan4:"var(--vef-cyan-4)",cyan5:"var(--vef-cyan-5)",cyan6:"var(--vef-cyan-6)",cyan7:"var(--vef-cyan-7)",cyan8:"var(--vef-cyan-8)",cyan9:"var(--vef-cyan-9)",cyan10:"var(--vef-cyan-10)",green1:"var(--vef-green-1)",green2:"var(--vef-green-2)",green3:"var(--vef-green-3)",green4:"var(--vef-green-4)",green5:"var(--vef-green-5)",green6:"var(--vef-green-6)",green7:"var(--vef-green-7)",green8:"var(--vef-green-8)",green9:"var(--vef-green-9)",green10:"var(--vef-green-10)",magenta1:"var(--vef-magenta-1)",magenta2:"var(--vef-magenta-2)",magenta3:"var(--vef-magenta-3)",magenta4:"var(--vef-magenta-4)",magenta5:"var(--vef-magenta-5)",magenta6:"var(--vef-magenta-6)",magenta7:"var(--vef-magenta-7)",magenta8:"var(--vef-magenta-8)",magenta9:"var(--vef-magenta-9)",magenta10:"var(--vef-magenta-10)",pink1:"var(--vef-pink-1)",pink2:"var(--vef-pink-2)",pink3:"var(--vef-pink-3)",pink4:"var(--vef-pink-4)",pink5:"var(--vef-pink-5)",pink6:"var(--vef-pink-6)",pink7:"var(--vef-pink-7)",pink8:"var(--vef-pink-8)",pink9:"var(--vef-pink-9)",pink10:"var(--vef-pink-10)",red1:"var(--vef-red-1)",red2:"var(--vef-red-2)",red3:"var(--vef-red-3)",red4:"var(--vef-red-4)",red5:"var(--vef-red-5)",red6:"var(--vef-red-6)",red7:"var(--vef-red-7)",red8:"var(--vef-red-8)",red9:"var(--vef-red-9)",red10:"var(--vef-red-10)",orange1:"var(--vef-orange-1)",orange2:"var(--vef-orange-2)",orange3:"var(--vef-orange-3)",orange4:"var(--vef-orange-4)",orange5:"var(--vef-orange-5)",orange6:"var(--vef-orange-6)",orange7:"var(--vef-orange-7)",orange8:"var(--vef-orange-8)",orange9:"var(--vef-orange-9)",orange10:"var(--vef-orange-10)",yellow1:"var(--vef-yellow-1)",yellow2:"var(--vef-yellow-2)",yellow3:"var(--vef-yellow-3)",yellow4:"var(--vef-yellow-4)",yellow5:"var(--vef-yellow-5)",yellow6:"var(--vef-yellow-6)",yellow7:"var(--vef-yellow-7)",yellow8:"var(--vef-yellow-8)",yellow9:"var(--vef-yellow-9)",yellow10:"var(--vef-yellow-10)",volcano1:"var(--vef-volcano-1)",volcano2:"var(--vef-volcano-2)",volcano3:"var(--vef-volcano-3)",volcano4:"var(--vef-volcano-4)",volcano5:"var(--vef-volcano-5)",volcano6:"var(--vef-volcano-6)",volcano7:"var(--vef-volcano-7)",volcano8:"var(--vef-volcano-8)",volcano9:"var(--vef-volcano-9)",volcano10:"var(--vef-volcano-10)",geekblue1:"var(--vef-geekblue-1)",geekblue2:"var(--vef-geekblue-2)",geekblue3:"var(--vef-geekblue-3)",geekblue4:"var(--vef-geekblue-4)",geekblue5:"var(--vef-geekblue-5)",geekblue6:"var(--vef-geekblue-6)",geekblue7:"var(--vef-geekblue-7)",geekblue8:"var(--vef-geekblue-8)",geekblue9:"var(--vef-geekblue-9)",geekblue10:"var(--vef-geekblue-10)",gold1:"var(--vef-gold-1)",gold2:"var(--vef-gold-2)",gold3:"var(--vef-gold-3)",gold4:"var(--vef-gold-4)",gold5:"var(--vef-gold-5)",gold6:"var(--vef-gold-6)",gold7:"var(--vef-gold-7)",gold8:"var(--vef-gold-8)",gold9:"var(--vef-gold-9)",gold10:"var(--vef-gold-10)",lime1:"var(--vef-lime-1)",lime2:"var(--vef-lime-2)",lime3:"var(--vef-lime-3)",lime4:"var(--vef-lime-4)",lime5:"var(--vef-lime-5)",lime6:"var(--vef-lime-6)",lime7:"var(--vef-lime-7)",lime8:"var(--vef-lime-8)",lime9:"var(--vef-lime-9)",lime10:"var(--vef-lime-10)",colorText:"var(--vef-color-text)",colorTextSecondary:"var(--vef-color-text-secondary)",colorTextTertiary:"var(--vef-color-text-tertiary)",colorTextQuaternary:"var(--vef-color-text-quaternary)",colorTextSlate:"#64748b",colorFill:"var(--vef-color-fill)",colorFillSecondary:"var(--vef-color-fill-secondary)",colorFillTertiary:"var(--vef-color-fill-tertiary)",colorFillQuaternary:"var(--vef-color-fill-quaternary)",colorBgSolid:"var(--vef-color-bg-solid)",colorBgSolidHover:"var(--vef-color-bg-solid-hover)",colorBgSolidActive:"var(--vef-color-bg-solid-active)",colorBgContainer:"var(--vef-color-bg-container)",colorBgElevated:"var(--vef-color-bg-elevated)",colorBgBlur:"var(--vef-color-bg-blur)",colorBorder:"var(--vef-color-border)",colorBorderSecondary:"var(--vef-color-border-secondary)",colorPrimaryBg:"var(--vef-color-primary-bg)",colorPrimaryBgHover:"var(--vef-color-primary-bg-hover)",colorPrimaryBorder:"var(--vef-color-primary-border)",colorPrimaryBorderHover:"var(--vef-color-primary-border-hover)",colorPrimaryHover:"var(--vef-color-primary-hover)",colorPrimaryActive:"var(--vef-color-primary-active)",colorPrimaryTextHover:"var(--vef-color-primary-text-hover)",colorPrimaryText:"var(--vef-color-primary-text)",colorPrimaryTextActive:"var(--vef-color-primary-text-active)",colorSuccessBg:"var(--vef-color-success-bg)",colorSuccessBgHover:"var(--vef-color-success-bg-hover)",colorSuccessBorder:"var(--vef-color-success-border)",colorSuccessBorderHover:"var(--vef-color-success-border-hover)",colorSuccessHover:"var(--vef-color-success-hover)",colorSuccessActive:"var(--vef-color-success-active)",colorSuccessTextHover:"var(--vef-color-success-text-hover)",colorSuccessText:"var(--vef-color-success-text)",colorSuccessTextActive:"var(--vef-color-success-text-active)",colorErrorBg:"var(--vef-color-error-bg)",colorErrorBgHover:"var(--vef-color-error-bg-hover)",colorErrorBgFilledHover:"var(--vef-color-error-bg-filled-hover)",colorErrorBgActive:"var(--vef-color-error-bg-active)",colorErrorBorder:"var(--vef-color-error-border)",colorErrorBorderHover:"var(--vef-color-error-border-hover)",colorErrorHover:"var(--vef-color-error-hover)",colorErrorActive:"var(--vef-color-error-active)",colorErrorTextHover:"var(--vef-color-error-text-hover)",colorErrorText:"var(--vef-color-error-text)",colorErrorTextActive:"var(--vef-color-error-text-active)",colorWarningBg:"var(--vef-color-warning-bg)",colorWarningBgHover:"var(--vef-color-warning-bg-hover)",colorWarningBorder:"var(--vef-color-warning-border)",colorWarningBorderHover:"var(--vef-color-warning-border-hover)",colorWarningHover:"var(--vef-color-warning-hover)",colorWarningActive:"var(--vef-color-warning-active)",colorWarningTextHover:"var(--vef-color-warning-text-hover)",colorWarningText:"var(--vef-color-warning-text)",colorWarningTextActive:"var(--vef-color-warning-text-active)",colorInfoBg:"var(--vef-color-info-bg)",colorInfoBgHover:"var(--vef-color-info-bg-hover)",colorInfoBorder:"var(--vef-color-info-border)",colorInfoBorderHover:"var(--vef-color-info-border-hover)",colorInfoHover:"var(--vef-color-info-hover)",colorInfoActive:"var(--vef-color-info-active)",colorInfoTextHover:"var(--vef-color-info-text-hover)",colorInfoText:"var(--vef-color-info-text)",colorInfoTextActive:"var(--vef-color-info-text-active)",colorLinkHover:"var(--vef-color-link-hover)",colorLinkActive:"var(--vef-color-link-active)",colorBgMask:"var(--vef-color-bg-mask)",colorWhite:"var(--vef-color-white)",fontSizeSm:"var(--vef-font-size-sm)",fontSizeLg:"var(--vef-font-size-lg)",fontSizeXl:"var(--vef-font-size-xl)",fontSizeHeading1:"var(--vef-font-size-heading-1)",fontSizeHeading2:"var(--vef-font-size-heading-2)",fontSizeHeading3:"var(--vef-font-size-heading-3)",fontSizeHeading4:"var(--vef-font-size-heading-4)",fontSizeHeading5:"var(--vef-font-size-heading-5)",lineHeight:"var(--vef-line-height)",lineHeightLg:"var(--vef-line-height-lg)",lineHeightSm:"var(--vef-line-height-sm)",fontHeight:"var(--vef-font-height)",fontHeightLg:"var(--vef-font-height-lg)",fontHeightSm:"var(--vef-font-height-sm)",lineHeightHeading1:"var(--vef-line-height-heading-1)",lineHeightHeading2:"var(--vef-line-height-heading-2)",lineHeightHeading3:"var(--vef-line-height-heading-3)",lineHeightHeading4:"var(--vef-line-height-heading-4)",lineHeightHeading5:"var(--vef-line-height-heading-5)",controlHeightSm:"var(--vef-control-height-sm)",controlHeightXs:"var(--vef-control-height-xs)",controlHeightLg:"var(--vef-control-height-lg)",motionDurationFast:"var(--vef-motion-duration-fast)",motionDurationMid:"var(--vef-motion-duration-mid)",motionDurationSlow:"var(--vef-motion-duration-slow)",lineWidthBold:"var(--vef-line-width-bold)",borderRadiusXs:"var(--vef-border-radius-xs)",borderRadiusSm:"var(--vef-border-radius-sm)",borderRadiusLg:"var(--vef-border-radius-lg)",borderRadiusOuter:"var(--vef-border-radius-outer)",colorFillContent:"var(--vef-color-fill-content)",colorFillContentHover:"var(--vef-color-fill-content-hover)",colorFillAlt:"var(--vef-color-fill-alter)",colorBgContainerDisabled:"var(--vef-color-bg-container-disabled)",colorBorderBg:"var(--vef-color-border-bg)",colorSplit:"var(--vef-color-split)",colorTextPlaceholder:"var(--vef-color-text-placeholder)",colorTextDisabled:"var(--vef-color-text-disabled)",colorTextHeading:"var(--vef-color-text-heading)",colorTextLabel:"var(--vef-color-text-label)",colorTextDescription:"var(--vef-color-text-description)",colorTextLightSolid:"var(--vef-color-text-light-solid)",colorHighlight:"var(--vef-color-highlight)",colorBgTextHover:"var(--vef-color-bg-text-hover)",colorBgTextActive:"var(--vef-color-bg-text-active)",colorIcon:"var(--vef-color-icon)",colorIconHover:"var(--vef-color-icon-hover)",colorErrorOutline:"var(--vef-color-error-outline)",colorWarningOutline:"var(--vef-color-warning-outline)",fontSizeIcon:"var(--vef-font-size-icon)",lineWidthFocus:"var(--vef-line-width-focus)",controlOutlineWidth:"var(--vef-control-outline-width)",controlInteractiveSize:"var(--vef-control-interactive-size)",controlItemBgHover:"var(--vef-control-item-bg-hover)",controlItemBgActive:"var(--vef-control-item-bg-active)",controlItemBgActiveHover:"var(--vef-control-item-bg-active-hover)",controlItemBgActiveDisabled:"var(--vef-control-item-bg-active-disabled)",controlTmpOutline:"var(--vef-control-tmp-outline)",controlOutline:"var(--vef-control-outline)",fontWeightStrong:"var(--vef-font-weight-strong)",opacityLoading:"var(--vef-opacity-loading)",linkDecoration:"var(--vef-link-decoration)",linkHoverDecoration:"var(--vef-link-hover-decoration)",linkFocusDecoration:"var(--vef-link-focus-decoration)",controlPaddingHorizontal:"var(--vef-control-padding-horizontal)",controlPaddingHorizontalSm:"var(--vef-control-padding-horizontal-sm)",paddingXxs:"var(--vef-padding-xxs)",paddingXs:"var(--vef-padding-xs)",paddingSm:"var(--vef-padding-sm)",padding:"var(--vef-padding)",paddingMd:"var(--vef-padding-md)",paddingLg:"var(--vef-padding-lg)",paddingXl:"var(--vef-padding-xl)",paddingContentHorizontalLg:"var(--vef-padding-content-horizontal-lg)",paddingContentVerticalLg:"var(--vef-padding-content-vertical-lg)",paddingContentHorizontal:"var(--vef-padding-content-horizontal)",paddingContentVertical:"var(--vef-padding-content-vertical)",paddingContentHorizontalSm:"var(--vef-padding-content-horizontal-sm)",paddingContentVerticalSm:"var(--vef-padding-content-vertical-sm)",marginXxs:"var(--vef-margin-xxs)",marginXs:"var(--vef-margin-xs)",marginSm:"var(--vef-margin-sm)",margin:"var(--vef-margin)",marginMd:"var(--vef-margin-md)",marginLg:"var(--vef-margin-lg)",marginXl:"var(--vef-margin-xl)",marginXxl:"var(--vef-margin-xxl)",boxShadow:"var(--vef-box-shadow)",boxShadowSecondary:"var(--vef-box-shadow-secondary)",boxShadowTertiary:"var(--vef-box-shadow-tertiary)",boxShadowPopoverArrow:"var(--vef-box-shadow-popover-arrow)",boxShadowCard:"var(--vef-box-shadow-card)",boxShadowDrawerRight:"var(--vef-box-shadow-drawer-right)",boxShadowDrawerLeft:"var(--vef-box-shadow-drawer-left)",boxShadowDrawerUp:"var(--vef-box-shadow-drawer-up)",boxShadowDrawerDown:"var(--vef-box-shadow-drawer-down)",boxShadowTabsOverflowLeft:"var(--vef-box-shadow-tabs-overflow-left)",boxShadowTabsOverflowRight:"var(--vef-box-shadow-tabs-overflow-right)",boxShadowTabsOverflowTop:"var(--vef-box-shadow-tabs-overflow-top)",boxShadowTabsOverflowBottom:"var(--vef-box-shadow-tabs-overflow-bottom)",boxShadowElevated:"0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"};exports.themeVariables=themeVariables;/*! 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 */
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const themeVariables={colorChart1:"hsl(221.2 83.2% 53.3%)",colorChart2:"hsl(216 92% 60%)",colorChart3:"hsl(212 95% 68%)",colorChart4:"hsl(210 98% 78%)",colorChart5:"hsl(212 97% 87%)",blue:"var(--vef-blue)",purple:"var(--vef-purple)",cyan:"var(--vef-cyan)",green:"var(--vef-green)",magenta:"var(--vef-magenta)",pink:"var(--vef-pink)",red:"var(--vef-red)",orange:"var(--vef-orange)",yellow:"var(--vef-yellow)",volcano:"var(--vef-volcano)",geekblue:"var(--vef-geekblue)",gold:"var(--vef-gold)",lime:"var(--vef-lime)",colorPrimary:"var(--vef-color-primary)",colorSuccess:"var(--vef-color-success)",colorWarning:"var(--vef-color-warning)",colorError:"var(--vef-color-error)",colorInfo:"var(--vef-color-info)",colorLink:"var(--vef-color-link)",colorTextBase:"var(--vef-color-text-base)",colorBgBase:"var(--vef-color-bg-base)",fontFamily:"var(--vef-font-family)",fontFamilyCode:"var(--vef-font-family-code)",fontSize:"var(--vef-font-size)",lineWidth:"var(--vef-line-width)",lineType:"var(--vef-line-type)",motionEaseOutCirc:"var(--vef-motion-ease-out-circ)",motionEaseInOutCirc:"var(--vef-motion-ease-in-out-circ)",motionEaseOut:"var(--vef-motion-ease-out)",motionEaseInOut:"var(--vef-motion-ease-in-out)",motionEaseOutBack:"var(--vef-motion-ease-out-back)",motionEaseInBack:"var(--vef-motion-ease-in-back)",motionEaseInQuint:"var(--vef-motion-ease-in-quint)",motionEaseOutQuint:"var(--vef-motion-ease-out-quint)",borderRadius:"var(--vef-border-radius)",sizePopupArrow:"var(--vef-size-popup-arrow)",controlHeight:"var(--vef-control-height)",zIndexBase:"var(--vef-z-index-base)",zIndexPopupBase:"var(--vef-z-index-popup-base)",opacityImage:"var(--vef-opacity-image)",colorBgLayout:"var(--vef-color-bg-layout)",colorBgSpotlight:"var(--vef-color-bg-spotlight)",blue1:"var(--vef-blue-1)",blue2:"var(--vef-blue-2)",blue3:"var(--vef-blue-3)",blue4:"var(--vef-blue-4)",blue5:"var(--vef-blue-5)",blue6:"var(--vef-blue-6)",blue7:"var(--vef-blue-7)",blue8:"var(--vef-blue-8)",blue9:"var(--vef-blue-9)",blue10:"var(--vef-blue-10)",purple1:"var(--vef-purple-1)",purple2:"var(--vef-purple-2)",purple3:"var(--vef-purple-3)",purple4:"var(--vef-purple-4)",purple5:"var(--vef-purple-5)",purple6:"var(--vef-purple-6)",purple7:"var(--vef-purple-7)",purple8:"var(--vef-purple-8)",purple9:"var(--vef-purple-9)",purple10:"var(--vef-purple-10)",cyan1:"var(--vef-cyan-1)",cyan2:"var(--vef-cyan-2)",cyan3:"var(--vef-cyan-3)",cyan4:"var(--vef-cyan-4)",cyan5:"var(--vef-cyan-5)",cyan6:"var(--vef-cyan-6)",cyan7:"var(--vef-cyan-7)",cyan8:"var(--vef-cyan-8)",cyan9:"var(--vef-cyan-9)",cyan10:"var(--vef-cyan-10)",green1:"var(--vef-green-1)",green2:"var(--vef-green-2)",green3:"var(--vef-green-3)",green4:"var(--vef-green-4)",green5:"var(--vef-green-5)",green6:"var(--vef-green-6)",green7:"var(--vef-green-7)",green8:"var(--vef-green-8)",green9:"var(--vef-green-9)",green10:"var(--vef-green-10)",magenta1:"var(--vef-magenta-1)",magenta2:"var(--vef-magenta-2)",magenta3:"var(--vef-magenta-3)",magenta4:"var(--vef-magenta-4)",magenta5:"var(--vef-magenta-5)",magenta6:"var(--vef-magenta-6)",magenta7:"var(--vef-magenta-7)",magenta8:"var(--vef-magenta-8)",magenta9:"var(--vef-magenta-9)",magenta10:"var(--vef-magenta-10)",pink1:"var(--vef-pink-1)",pink2:"var(--vef-pink-2)",pink3:"var(--vef-pink-3)",pink4:"var(--vef-pink-4)",pink5:"var(--vef-pink-5)",pink6:"var(--vef-pink-6)",pink7:"var(--vef-pink-7)",pink8:"var(--vef-pink-8)",pink9:"var(--vef-pink-9)",pink10:"var(--vef-pink-10)",red1:"var(--vef-red-1)",red2:"var(--vef-red-2)",red3:"var(--vef-red-3)",red4:"var(--vef-red-4)",red5:"var(--vef-red-5)",red6:"var(--vef-red-6)",red7:"var(--vef-red-7)",red8:"var(--vef-red-8)",red9:"var(--vef-red-9)",red10:"var(--vef-red-10)",orange1:"var(--vef-orange-1)",orange2:"var(--vef-orange-2)",orange3:"var(--vef-orange-3)",orange4:"var(--vef-orange-4)",orange5:"var(--vef-orange-5)",orange6:"var(--vef-orange-6)",orange7:"var(--vef-orange-7)",orange8:"var(--vef-orange-8)",orange9:"var(--vef-orange-9)",orange10:"var(--vef-orange-10)",yellow1:"var(--vef-yellow-1)",yellow2:"var(--vef-yellow-2)",yellow3:"var(--vef-yellow-3)",yellow4:"var(--vef-yellow-4)",yellow5:"var(--vef-yellow-5)",yellow6:"var(--vef-yellow-6)",yellow7:"var(--vef-yellow-7)",yellow8:"var(--vef-yellow-8)",yellow9:"var(--vef-yellow-9)",yellow10:"var(--vef-yellow-10)",volcano1:"var(--vef-volcano-1)",volcano2:"var(--vef-volcano-2)",volcano3:"var(--vef-volcano-3)",volcano4:"var(--vef-volcano-4)",volcano5:"var(--vef-volcano-5)",volcano6:"var(--vef-volcano-6)",volcano7:"var(--vef-volcano-7)",volcano8:"var(--vef-volcano-8)",volcano9:"var(--vef-volcano-9)",volcano10:"var(--vef-volcano-10)",geekblue1:"var(--vef-geekblue-1)",geekblue2:"var(--vef-geekblue-2)",geekblue3:"var(--vef-geekblue-3)",geekblue4:"var(--vef-geekblue-4)",geekblue5:"var(--vef-geekblue-5)",geekblue6:"var(--vef-geekblue-6)",geekblue7:"var(--vef-geekblue-7)",geekblue8:"var(--vef-geekblue-8)",geekblue9:"var(--vef-geekblue-9)",geekblue10:"var(--vef-geekblue-10)",gold1:"var(--vef-gold-1)",gold2:"var(--vef-gold-2)",gold3:"var(--vef-gold-3)",gold4:"var(--vef-gold-4)",gold5:"var(--vef-gold-5)",gold6:"var(--vef-gold-6)",gold7:"var(--vef-gold-7)",gold8:"var(--vef-gold-8)",gold9:"var(--vef-gold-9)",gold10:"var(--vef-gold-10)",lime1:"var(--vef-lime-1)",lime2:"var(--vef-lime-2)",lime3:"var(--vef-lime-3)",lime4:"var(--vef-lime-4)",lime5:"var(--vef-lime-5)",lime6:"var(--vef-lime-6)",lime7:"var(--vef-lime-7)",lime8:"var(--vef-lime-8)",lime9:"var(--vef-lime-9)",lime10:"var(--vef-lime-10)",colorText:"var(--vef-color-text)",colorTextSecondary:"var(--vef-color-text-secondary)",colorTextTertiary:"var(--vef-color-text-tertiary)",colorTextQuaternary:"var(--vef-color-text-quaternary)",colorTextSlate:"#64748b",colorFill:"var(--vef-color-fill)",colorFillSecondary:"var(--vef-color-fill-secondary)",colorFillTertiary:"var(--vef-color-fill-tertiary)",colorFillQuaternary:"var(--vef-color-fill-quaternary)",colorBgSolid:"var(--vef-color-bg-solid)",colorBgSolidHover:"var(--vef-color-bg-solid-hover)",colorBgSolidActive:"var(--vef-color-bg-solid-active)",colorBgContainer:"var(--vef-color-bg-container)",colorBgElevated:"var(--vef-color-bg-elevated)",colorBgBlur:"var(--vef-color-bg-blur)",colorBorder:"var(--vef-color-border)",colorBorderSecondary:"var(--vef-color-border-secondary)",colorPrimaryBg:"var(--vef-color-primary-bg)",colorPrimaryBgHover:"var(--vef-color-primary-bg-hover)",colorPrimaryBorder:"var(--vef-color-primary-border)",colorPrimaryBorderHover:"var(--vef-color-primary-border-hover)",colorPrimaryHover:"var(--vef-color-primary-hover)",colorPrimaryActive:"var(--vef-color-primary-active)",colorPrimaryTextHover:"var(--vef-color-primary-text-hover)",colorPrimaryText:"var(--vef-color-primary-text)",colorPrimaryTextActive:"var(--vef-color-primary-text-active)",colorSuccessBg:"var(--vef-color-success-bg)",colorSuccessBgHover:"var(--vef-color-success-bg-hover)",colorSuccessBorder:"var(--vef-color-success-border)",colorSuccessBorderHover:"var(--vef-color-success-border-hover)",colorSuccessHover:"var(--vef-color-success-hover)",colorSuccessActive:"var(--vef-color-success-active)",colorSuccessTextHover:"var(--vef-color-success-text-hover)",colorSuccessText:"var(--vef-color-success-text)",colorSuccessTextActive:"var(--vef-color-success-text-active)",colorErrorBg:"var(--vef-color-error-bg)",colorErrorBgHover:"var(--vef-color-error-bg-hover)",colorErrorBgFilledHover:"var(--vef-color-error-bg-filled-hover)",colorErrorBgActive:"var(--vef-color-error-bg-active)",colorErrorBorder:"var(--vef-color-error-border)",colorErrorBorderHover:"var(--vef-color-error-border-hover)",colorErrorHover:"var(--vef-color-error-hover)",colorErrorActive:"var(--vef-color-error-active)",colorErrorTextHover:"var(--vef-color-error-text-hover)",colorErrorText:"var(--vef-color-error-text)",colorErrorTextActive:"var(--vef-color-error-text-active)",colorWarningBg:"var(--vef-color-warning-bg)",colorWarningBgHover:"var(--vef-color-warning-bg-hover)",colorWarningBorder:"var(--vef-color-warning-border)",colorWarningBorderHover:"var(--vef-color-warning-border-hover)",colorWarningHover:"var(--vef-color-warning-hover)",colorWarningActive:"var(--vef-color-warning-active)",colorWarningTextHover:"var(--vef-color-warning-text-hover)",colorWarningText:"var(--vef-color-warning-text)",colorWarningTextActive:"var(--vef-color-warning-text-active)",colorInfoBg:"var(--vef-color-info-bg)",colorInfoBgHover:"var(--vef-color-info-bg-hover)",colorInfoBorder:"var(--vef-color-info-border)",colorInfoBorderHover:"var(--vef-color-info-border-hover)",colorInfoHover:"var(--vef-color-info-hover)",colorInfoActive:"var(--vef-color-info-active)",colorInfoTextHover:"var(--vef-color-info-text-hover)",colorInfoText:"var(--vef-color-info-text)",colorInfoTextActive:"var(--vef-color-info-text-active)",colorLinkHover:"var(--vef-color-link-hover)",colorLinkActive:"var(--vef-color-link-active)",colorBgMask:"var(--vef-color-bg-mask)",colorWhite:"var(--vef-color-white)",fontSizeSm:"var(--vef-font-size-sm)",fontSizeLg:"var(--vef-font-size-lg)",fontSizeXl:"var(--vef-font-size-xl)",fontSizeHeading1:"var(--vef-font-size-heading-1)",fontSizeHeading2:"var(--vef-font-size-heading-2)",fontSizeHeading3:"var(--vef-font-size-heading-3)",fontSizeHeading4:"var(--vef-font-size-heading-4)",fontSizeHeading5:"var(--vef-font-size-heading-5)",lineHeight:"var(--vef-line-height)",lineHeightLg:"var(--vef-line-height-lg)",lineHeightSm:"var(--vef-line-height-sm)",fontHeight:"var(--vef-font-height)",fontHeightLg:"var(--vef-font-height-lg)",fontHeightSm:"var(--vef-font-height-sm)",lineHeightHeading1:"var(--vef-line-height-heading-1)",lineHeightHeading2:"var(--vef-line-height-heading-2)",lineHeightHeading3:"var(--vef-line-height-heading-3)",lineHeightHeading4:"var(--vef-line-height-heading-4)",lineHeightHeading5:"var(--vef-line-height-heading-5)",controlHeightSm:"var(--vef-control-height-sm)",controlHeightXs:"var(--vef-control-height-xs)",controlHeightLg:"var(--vef-control-height-lg)",motionDurationFast:"var(--vef-motion-duration-fast)",motionDurationMid:"var(--vef-motion-duration-mid)",motionDurationSlow:"var(--vef-motion-duration-slow)",lineWidthBold:"var(--vef-line-width-bold)",borderRadiusXs:"var(--vef-border-radius-xs)",borderRadiusSm:"var(--vef-border-radius-sm)",borderRadiusLg:"var(--vef-border-radius-lg)",borderRadiusOuter:"var(--vef-border-radius-outer)",colorFillContent:"var(--vef-color-fill-content)",colorFillContentHover:"var(--vef-color-fill-content-hover)",colorFillAlt:"var(--vef-color-fill-alter)",colorBgContainerDisabled:"var(--vef-color-bg-container-disabled)",colorBorderBg:"var(--vef-color-border-bg)",colorSplit:"var(--vef-color-split)",colorTextPlaceholder:"var(--vef-color-text-placeholder)",colorTextDisabled:"var(--vef-color-text-disabled)",colorTextHeading:"var(--vef-color-text-heading)",colorTextLabel:"var(--vef-color-text-label)",colorTextDescription:"var(--vef-color-text-description)",colorTextLightSolid:"var(--vef-color-text-light-solid)",colorHighlight:"var(--vef-color-highlight)",colorBgTextHover:"var(--vef-color-bg-text-hover)",colorBgTextActive:"var(--vef-color-bg-text-active)",colorIcon:"var(--vef-color-icon)",colorIconHover:"var(--vef-color-icon-hover)",colorErrorOutline:"var(--vef-color-error-outline)",colorWarningOutline:"var(--vef-color-warning-outline)",fontSizeIcon:"var(--vef-font-size-icon)",lineWidthFocus:"var(--vef-line-width-focus)",controlOutlineWidth:"var(--vef-control-outline-width)",controlInteractiveSize:"var(--vef-control-interactive-size)",controlItemBgHover:"var(--vef-control-item-bg-hover)",controlItemBgActive:"var(--vef-control-item-bg-active)",controlItemBgActiveHover:"var(--vef-control-item-bg-active-hover)",controlItemBgActiveDisabled:"var(--vef-control-item-bg-active-disabled)",controlTmpOutline:"var(--vef-control-tmp-outline)",controlOutline:"var(--vef-control-outline)",fontWeightStrong:"var(--vef-font-weight-strong)",opacityLoading:"var(--vef-opacity-loading)",linkDecoration:"var(--vef-link-decoration)",linkHoverDecoration:"var(--vef-link-hover-decoration)",linkFocusDecoration:"var(--vef-link-focus-decoration)",controlPaddingHorizontal:"var(--vef-control-padding-horizontal)",controlPaddingHorizontalSm:"var(--vef-control-padding-horizontal-sm)",paddingXxs:"var(--vef-padding-xxs)",paddingXs:"var(--vef-padding-xs)",paddingSm:"var(--vef-padding-sm)",padding:"var(--vef-padding)",paddingMd:"var(--vef-padding-md)",paddingLg:"var(--vef-padding-lg)",paddingXl:"var(--vef-padding-xl)",paddingContentHorizontalLg:"var(--vef-padding-content-horizontal-lg)",paddingContentVerticalLg:"var(--vef-padding-content-vertical-lg)",paddingContentHorizontal:"var(--vef-padding-content-horizontal)",paddingContentVertical:"var(--vef-padding-content-vertical)",paddingContentHorizontalSm:"var(--vef-padding-content-horizontal-sm)",paddingContentVerticalSm:"var(--vef-padding-content-vertical-sm)",marginXxs:"var(--vef-margin-xxs)",marginXs:"var(--vef-margin-xs)",marginSm:"var(--vef-margin-sm)",margin:"var(--vef-margin)",marginMd:"var(--vef-margin-md)",marginLg:"var(--vef-margin-lg)",marginXl:"var(--vef-margin-xl)",marginXxl:"var(--vef-margin-xxl)",boxShadow:"var(--vef-box-shadow)",boxShadowSecondary:"var(--vef-box-shadow-secondary)",boxShadowTertiary:"var(--vef-box-shadow-tertiary)",boxShadowPopoverArrow:"var(--vef-box-shadow-popover-arrow)",boxShadowCard:"var(--vef-box-shadow-card)",boxShadowDrawerRight:"var(--vef-box-shadow-drawer-right)",boxShadowDrawerLeft:"var(--vef-box-shadow-drawer-left)",boxShadowDrawerUp:"var(--vef-box-shadow-drawer-up)",boxShadowDrawerDown:"var(--vef-box-shadow-drawer-down)",boxShadowTabsOverflowLeft:"var(--vef-box-shadow-tabs-overflow-left)",boxShadowTabsOverflowRight:"var(--vef-box-shadow-tabs-overflow-right)",boxShadowTabsOverflowTop:"var(--vef-box-shadow-tabs-overflow-top)",boxShadowTabsOverflowBottom:"var(--vef-box-shadow-tabs-overflow-bottom)",boxShadowElevated:"0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"};exports.themeVariables=themeVariables;/*! 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/lib/types.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. *//*! 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/lib/utils.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("./lib.cjs");const radashi=require("radashi");function isAsyncFunction(fn){return radashi.isFunction(fn)?fn.constructor.name==="AsyncFunction"||Object.prototype.toString.call(fn)==="[object AsyncFunction]"||fn.toString().startsWith("async "):!1}async function invokeMaybeAsyncFn(fn,{beforeInvoke,onSuccess,onFinally},...args){if(isAsyncFunction(fn))try{beforeInvoke?.();const result=await fn(...args);return onSuccess?.(result),result}finally{onFinally?.()}else{const returned=fn(...args);if(returned instanceof Promise)try{beforeInvoke?.();const result=await returned;return onSuccess?.(result),result}finally{onFinally?.()}else return returned}}function difference(oldValues,newValues){return Object.keys(newValues).filter(key=>oldValues[key]!==newValues[key]).reduce((acc,key)=>(acc[key]=newValues[key],acc),{})}function constantCase(value){return radashi.snake(value).toUpperCase()}function isInternalFunction(fn){return!!(isAsyncFunction(fn)&&Reflect.has(fn,"name")&&Reflect.has(fn,"key")&&Reflect.get(fn,"name")==="apiFn")}function getStringLength(value){return radashi.isNumber(value)?`${value}px`:value}function buildRouteParentMenusMappings(menus){return new Map(doBuildRouteParentMenusMappings(menus))}function doBuildRouteParentMenusMappings(menus,parents=[]){return menus.flatMap(menu=>{if(menu.type==="item")return[[menu.key,[menu,parents]]];if(menu.type==="submenu"||menu.type==="group"){const{children,...parent}=menu;return[[parent.key,[{...parent,children:[]},parents]],...doBuildRouteParentMenusMappings(children,[...parents,{...parent,children:children.filter(child=>child.type!=="divider").map(child=>child.type==="item"?{...child}:{...child,children:[]})}])]}return[]})}exports.buildRouteParentMenusMappings=buildRouteParentMenusMappings,exports.constantCase=constantCase,exports.difference=difference,exports.getStringLength=getStringLength,exports.invokeMaybeAsyncFn=invokeMaybeAsyncFn,exports.isAsyncFunction=isAsyncFunction,exports.isInternalFunction=isInternalFunction;/*! 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/lib/validation.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const validator=require("validator");function isAlpha(value){return validator.isAlpha(value)}function isAlphanumeric(value){return validator.isAlphanumeric(value)}function isAscii(value){return validator.isAscii(value)}function isNumeric(value){return validator.isNumeric(value)}function isDecimal(value){return validator.isDecimal(value)}function isFloat(value,options){return validator.isFloat(value,options)}function isBoolean(value){return validator.isBoolean(value,{loose:!1})}function isDate(value){return validator.isDate(value,{format:"YYYY-MM-DD",strictMode:!0})}function isEmpty(value){return validator.isEmpty(value)}function isBlank(value){return validator.isEmpty(value,{ignore_whitespace:!0})}function isIdentityCard(value){return validator.isIdentityCard(value,"zh-CN")}function isAfter(value,date){return validator.isAfter(value,date)}function isBefore(value,date){return validator.isBefore(value,date)}function isEmail(value){return validator.isEmail(value)}function isHexColor(value){return validator.isHexColor(value)}function isIn(value,values){return validator.isIn(value,values)}function isInt(value,options){return validator.isInt(value,options)}function isIp(value,version){return validator.isIP(value,version)}function isIpRange(value,version){return validator.isIPRange(value,version)}function isJson(value){return validator.isJSON(value)}function isJwt(value){return validator.isJWT(value)}function isLatLong(value){return validator.isLatLong(value)}function isLength(value,options){return validator.isLength(value,options)}function isMimeType(value){return validator.isMimeType(value)}function isMobilePhone(value){return validator.isMobilePhone(value,"zh-CN")}function isPort(value){return validator.isPort(value)}function isPostalCode(value){return validator.isPostalCode(value,"CN")}function isSemVer(value){return validator.isSemVer(value)}function isSlug(value){return validator.isSlug(value)}function isStrongPassword(value){return validator.isStrongPassword(value,{minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1})}function isTime(value,options){return validator.isTime(value,options)}function isUrl(value){return validator.isURL(value,{protocols:["http","https"],require_tld:!0,require_protocol:!0,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!0})}function isUri(value){return validator.isURL(value,{protocols:[],require_tld:!1,require_protocol:!1,require_host:!1,require_port:!1,require_valid_protocol:!1,allow_underscores:!0,allow_fragments:!1,allow_query_components:!1,allow_protocol_relative_urls:!1})}function isUuid(value,version){return validator.isUUID(value,version)}function isDateTime(value){const[date,time]=value.split(" ",2);return isDate(date)&&isTime(time)}function matches(value,pattern,modifiers){return validator.matches(value,pattern,modifiers)}const chineseNameRegExp=/^[\u4E00-\u9FA5]+\d*$/;function isChineseName(value){return chineseNameRegExp.test(value)}exports.isAfter=isAfter,exports.isAlpha=isAlpha,exports.isAlphanumeric=isAlphanumeric,exports.isAscii=isAscii,exports.isBefore=isBefore,exports.isBlank=isBlank,exports.isBoolean=isBoolean,exports.isChineseName=isChineseName,exports.isDate=isDate,exports.isDateTime=isDateTime,exports.isDecimal=isDecimal,exports.isEmail=isEmail,exports.isEmpty=isEmpty,exports.isFloat=isFloat,exports.isHexColor=isHexColor,exports.isIdentityCard=isIdentityCard,exports.isIn=isIn,exports.isInt=isInt,exports.isIp=isIp,exports.isIpRange=isIpRange,exports.isJson=isJson,exports.isJwt=isJwt,exports.isLatLong=isLatLong,exports.isLength=isLength,exports.isMimeType=isMimeType,exports.isMobilePhone=isMobilePhone,exports.isNumeric=isNumeric,exports.isPort=isPort,exports.isPostalCode=isPostalCode,exports.isSemVer=isSemVer,exports.isSlug=isSlug,exports.isStrongPassword=isStrongPassword,exports.isTime=isTime,exports.isUri=isUri,exports.isUrl=isUrl,exports.isUuid=isUuid,exports.matches=matches;/*! 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/lib/yaml.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.118, build time: 2025-03-11T06:26:31.385Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const jsYaml=require("js-yaml");function loadYaml(content){return jsYaml.load(content)}exports.loadYaml=loadYaml;/*! 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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework/shared",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.118",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@9.15.0",
|
|
7
7
|
"description": "Shared fundamental to the VEF framework",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"ajv-formats": "^3.0.1",
|
|
46
46
|
"colord": "2.9.3",
|
|
47
47
|
"date-fns": "4.1.0",
|
|
48
|
+
"i18next": "^24.2.2",
|
|
48
49
|
"js-yaml": "^4.1.0",
|
|
49
50
|
"jsencrypt": "3.3.2",
|
|
50
51
|
"json-schema": "^0.4.0",
|
|
@@ -58,6 +59,7 @@
|
|
|
58
59
|
"type-fest": "4.37.0",
|
|
59
60
|
"use-context-selector": "2.0.0",
|
|
60
61
|
"validator": "13.12.0",
|
|
62
|
+
"zod-i18n-map": "^2.27.0",
|
|
61
63
|
"zustand": "5.0.3"
|
|
62
64
|
},
|
|
63
65
|
"publishConfig": {
|