@vef-framework/shared 1.0.98 → 1.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/color.cjs CHANGED
@@ -1,3 +1,13 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("colord");exports.isValidColor=function isValidColor(r){return o.colord(r).isValid()};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/constants.cjs CHANGED
@@ -1,3 +1,41 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","gold","lime"],o=["primary","info","success","warning","error"],r=[...e,...o],t="creation",s="update",n="audit",p=[t,s,n];exports.auditFormScene=n,exports.colorTypes=r,exports.creationFormScene=t,exports.defaultColorTypes=e,exports.presetFormScenes=p,exports.semanticColorTypes=o,exports.updateFormScene=s;
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/context.cjs CHANGED
@@ -1,3 +1,38 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("use-context-selector");require("./lib.cjs");const r=require("radashi"),o=require("zustand/shallow");exports.createSelectableContext=function createSelectableContext(n){const u=t.createContext(n);return{ContextProvider:u.Provider,useContextSelector:n=>{const c=e.useRef();return t.useContextSelector(u,(e=>{if(r.isNullish(e))return;const t=n(e);return c.current&&o.shallow(t,c.current)?c.current:(c.current=t,t)}))},useContext:()=>t.useContext(u)}};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/dom.cjs CHANGED
@@ -1,3 +1,25 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.getElementHeight=function getElementHeight(e,t,o=!1){if(t){const o=e.querySelector(t);if(!o)return 0;e=o}const r=e.offsetHeight;if(!o)return r;const n=e.computedStyleMap();return r+n.get("margin-top").value+n.get("margin-bottom").value};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/error.cjs CHANGED
@@ -1,3 +1,32 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=Object.defineProperty,__publicField=(r,o,t)=>((r,o,t)=>o in r?e(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t)(r,"symbol"!=typeof o?o+"":o,t);class VefError extends Error{constructor(e,r){super(r),__publicField(this,"code"),Object.defineProperty(this,"code",{value:e,writable:!1,configurable:!1,enumerable:!0})}}exports.VefError=VefError;
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/event.cjs CHANGED
@@ -1,3 +1,13 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("mitt");exports.createEventEmitter=function createEventEmitter(){return t()};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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,3 +1,29 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("./lib.cjs");const n=require("radashi"),i=new WeakMap;function isExpression(i){return n.isObject(i)&&"expression"in i&&n.isString(i.expression)}exports.compileDynamicFn=function compileDynamicFn(n,...e){const s=i.get(n);if(s)return s;const r=new Function(...e);return i.set(n,r),r},exports.isExpression=isExpression,exports.isFunctionOrExpression=function isFunctionOrExpression(i){return n.isFunction(i)||isExpression(i)};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/function.cjs CHANGED
@@ -1,3 +1,18 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.mergeFns=function mergeFns(...e){return(...r)=>{for(const t of e)t&&t(...r)}};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/icons.cjs CHANGED
@@ -1,3 +1,138 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime");exports.IconAlertCircle=function IconAlertCircle(l){return e.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e.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"})})},exports.IconAlertTriangle=function IconAlertTriangle(l){return e.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e.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"})})},exports.IconCheck=function IconCheck(l){return e.jsx("svg",{"aria-hidden":!0,focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e.jsx("path",{d:"M20 6L9 17l-5-5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})},exports.IconInfoCircle=function IconInfoCircle(l){return e.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e.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"})})},exports.IconTick=function IconTick(l){return e.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e.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"})})},exports.IconTickCircle=function IconTickCircle(l){return e.jsx("svg",{"aria-hidden":!0,fill:"none",focusable:!1,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...l,children:e.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"})})};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */
package/lib/id.cjs CHANGED
@@ -1,3 +1,16 @@
1
- /*! VefFramework version: 1.0.98, build time: 2025-03-07T07:45:28.104Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("nanoid").customAlphabet("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",18);exports.generateId=function generateId(){return e()};
1
+ /*! VefFramework version: 1.0.99, build time: 2025-03-07T13:41:55.370Z, 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;
3
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 */