@vef-framework/shared 1.0.101 → 1.0.103

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/lib/color.cjs CHANGED
@@ -1,13 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const colord = require('colord');
7
-
8
- function isValidColor(color) {
9
- return colord.colord(color).isValid();
10
- }
11
-
12
- exports.isValidColor = isValidColor;
13
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,41 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const defaultColorTypes = [
7
- "blue",
8
- "purple",
9
- "cyan",
10
- "green",
11
- "magenta",
12
- "pink",
13
- "red",
14
- "orange",
15
- "yellow",
16
- "volcano",
17
- "geekblue",
18
- "gold",
19
- "lime"
20
- ];
21
- const semanticColorTypes = [
22
- "primary",
23
- "info",
24
- "success",
25
- "warning",
26
- "error"
27
- ];
28
- const colorTypes = [...defaultColorTypes, ...semanticColorTypes];
29
- const creationFormScene = "creation";
30
- const updateFormScene = "update";
31
- const auditFormScene = "audit";
32
- const presetFormScenes = [creationFormScene, updateFormScene, auditFormScene];
33
-
34
- exports.auditFormScene = auditFormScene;
35
- exports.colorTypes = colorTypes;
36
- exports.creationFormScene = creationFormScene;
37
- exports.defaultColorTypes = defaultColorTypes;
38
- exports.presetFormScenes = presetFormScenes;
39
- exports.semanticColorTypes = semanticColorTypes;
40
- exports.updateFormScene = updateFormScene;
41
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,38 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const react = require('react');
7
- const useContextSelector = require('use-context-selector');
8
- require('./lib.cjs');
9
- const radashi = require('radashi');
10
- const shallow = require('zustand/shallow');
11
-
12
- function createSelectableContext(defaultValue) {
13
- const context = useContextSelector.createContext(defaultValue);
14
- const ContextProvider = context.Provider;
15
- const useContextSelector$1 = (selector) => {
16
- const lastSelectedValueRef = react.useRef();
17
- return useContextSelector.useContextSelector(context, (value) => {
18
- if (radashi.isNullish(value)) {
19
- return;
20
- }
21
- const selectedValue = selector(value);
22
- if (lastSelectedValueRef.current && shallow.shallow(selectedValue, lastSelectedValueRef.current)) {
23
- return lastSelectedValueRef.current;
24
- }
25
- lastSelectedValueRef.current = selectedValue;
26
- return selectedValue;
27
- });
28
- };
29
- const useContext = () => useContextSelector.useContext(context);
30
- return {
31
- ContextProvider,
32
- useContextSelector: useContextSelector$1,
33
- useContext
34
- };
35
- }
36
-
37
- exports.createSelectableContext = createSelectableContext;
38
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,25 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- function getElementHeight(element, selector, includeMargin = false) {
7
- if (selector) {
8
- const subElement = element.querySelector(selector);
9
- if (!subElement) {
10
- return 0;
11
- }
12
- element = subElement;
13
- }
14
- const height = element.offsetHeight;
15
- if (!includeMargin) {
16
- return height;
17
- }
18
- const styleMap = element.computedStyleMap();
19
- const marginTop = styleMap.get("margin-top").value;
20
- const marginBottom = styleMap.get("margin-bottom").value;
21
- return height + marginTop + marginBottom;
22
- }
23
-
24
- exports.getElementHeight = getElementHeight;
25
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,32 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- var __defProp = Object.defineProperty;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
9
- class VefError extends Error {
10
- /**
11
- * Constructs a new VefError.
12
- *
13
- * @param code - The code of the error.
14
- * @param message - The message of the error.
15
- */
16
- constructor(code, message) {
17
- super(message);
18
- /**
19
- * The code of the error.
20
- */
21
- __publicField(this, "code");
22
- Object.defineProperty(this, "code", {
23
- value: code,
24
- writable: false,
25
- configurable: false,
26
- enumerable: true
27
- });
28
- }
29
- }
30
-
31
- exports.VefError = VefError;
32
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,13 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const mitt = require('mitt');
7
-
8
- function createEventEmitter() {
9
- return mitt();
10
- }
11
-
12
- exports.createEventEmitter = createEventEmitter;
13
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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 */
@@ -1,29 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- require('./lib.cjs');
7
- const radashi = require('radashi');
8
-
9
- const dynamicFnCache = /* @__PURE__ */ new WeakMap();
10
- function isExpression(value) {
11
- return radashi.isObject(value) && "expression" in value && radashi.isString(value.expression);
12
- }
13
- function isFunctionOrExpression(value) {
14
- return radashi.isFunction(value) || isExpression(value);
15
- }
16
- function compileDynamicFn(key, ...args) {
17
- const fn = dynamicFnCache.get(key);
18
- if (fn) {
19
- return fn;
20
- }
21
- const newFn = new Function(...args);
22
- dynamicFnCache.set(key, newFn);
23
- return newFn;
24
- }
25
-
26
- exports.compileDynamicFn = compileDynamicFn;
27
- exports.isExpression = isExpression;
28
- exports.isFunctionOrExpression = isFunctionOrExpression;
29
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,18 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- function mergeFns(...fns) {
7
- const fn = (...args) => {
8
- for (const fn2 of fns) {
9
- if (fn2) {
10
- fn2(...args);
11
- }
12
- }
13
- };
14
- return fn;
15
- }
16
-
17
- exports.mergeFns = mergeFns;
18
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,138 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const jsxRuntime = require('@emotion/react/jsx-runtime');
7
-
8
- function IconTick(props) {
9
- return /* @__PURE__ */ jsxRuntime.jsx(
10
- "svg",
11
- {
12
- "aria-hidden": true,
13
- fill: "none",
14
- focusable: false,
15
- viewBox: "0 0 24 24",
16
- xmlns: "http://www.w3.org/2000/svg",
17
- ...props,
18
- children: /* @__PURE__ */ jsxRuntime.jsx(
19
- "path",
20
- {
21
- clipRule: "evenodd",
22
- 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",
23
- fill: "currentColor",
24
- fillRule: "evenodd"
25
- }
26
- )
27
- }
28
- );
29
- }
30
- function IconTickCircle(props) {
31
- return /* @__PURE__ */ jsxRuntime.jsx(
32
- "svg",
33
- {
34
- "aria-hidden": true,
35
- fill: "none",
36
- focusable: false,
37
- viewBox: "0 0 24 24",
38
- xmlns: "http://www.w3.org/2000/svg",
39
- ...props,
40
- children: /* @__PURE__ */ jsxRuntime.jsx(
41
- "path",
42
- {
43
- clipRule: "evenodd",
44
- 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",
45
- fill: "currentColor",
46
- fillRule: "evenodd"
47
- }
48
- )
49
- }
50
- );
51
- }
52
- function IconInfoCircle(props) {
53
- return /* @__PURE__ */ jsxRuntime.jsx(
54
- "svg",
55
- {
56
- "aria-hidden": true,
57
- fill: "none",
58
- focusable: false,
59
- viewBox: "0 0 24 24",
60
- xmlns: "http://www.w3.org/2000/svg",
61
- ...props,
62
- children: /* @__PURE__ */ jsxRuntime.jsx(
63
- "path",
64
- {
65
- clipRule: "evenodd",
66
- 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",
67
- fill: "currentColor",
68
- fillRule: "evenodd"
69
- }
70
- )
71
- }
72
- );
73
- }
74
- function IconAlertCircle(props) {
75
- return /* @__PURE__ */ jsxRuntime.jsx(
76
- "svg",
77
- {
78
- "aria-hidden": true,
79
- fill: "none",
80
- focusable: false,
81
- viewBox: "0 0 24 24",
82
- xmlns: "http://www.w3.org/2000/svg",
83
- ...props,
84
- children: /* @__PURE__ */ jsxRuntime.jsx(
85
- "path",
86
- {
87
- clipRule: "evenodd",
88
- 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",
89
- fill: "currentColor",
90
- fillRule: "evenodd"
91
- }
92
- )
93
- }
94
- );
95
- }
96
- function IconAlertTriangle(props) {
97
- return /* @__PURE__ */ jsxRuntime.jsx(
98
- "svg",
99
- {
100
- "aria-hidden": true,
101
- fill: "none",
102
- focusable: false,
103
- viewBox: "0 0 24 24",
104
- xmlns: "http://www.w3.org/2000/svg",
105
- ...props,
106
- children: /* @__PURE__ */ jsxRuntime.jsx(
107
- "path",
108
- {
109
- clipRule: "evenodd",
110
- 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",
111
- fill: "currentColor",
112
- fillRule: "evenodd"
113
- }
114
- )
115
- }
116
- );
117
- }
118
- function IconCheck(props) {
119
- return /* @__PURE__ */ jsxRuntime.jsx(
120
- "svg",
121
- {
122
- "aria-hidden": true,
123
- focusable: false,
124
- viewBox: "0 0 24 24",
125
- xmlns: "http://www.w3.org/2000/svg",
126
- ...props,
127
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6L9 17l-5-5", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2 })
128
- }
129
- );
130
- }
131
-
132
- exports.IconAlertCircle = IconAlertCircle;
133
- exports.IconAlertTriangle = IconAlertTriangle;
134
- exports.IconCheck = IconCheck;
135
- exports.IconInfoCircle = IconInfoCircle;
136
- exports.IconTick = IconTick;
137
- exports.IconTickCircle = IconTickCircle;
138
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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,16 +1 @@
1
- /*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.461Z, made by Venus. */
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const nanoid = require('nanoid');
7
-
8
- const alphabets = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
9
- const length = 18;
10
- const nanoId = nanoid.customAlphabet(alphabets, length);
11
- function generateId() {
12
- return nanoId();
13
- }
14
-
15
- exports.generateId = generateId;
16
- /*! 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.103, build time: 2025-03-07T17:03:51.264Z, 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 */