@vef-framework/shared 2.0.4 → 2.0.6

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.
Files changed (61) hide show
  1. package/dist/cjs/color/color-ops.cjs +1 -76
  2. package/dist/cjs/color/index.cjs +1 -24
  3. package/dist/cjs/color/name.cjs +1 -49
  4. package/dist/cjs/color/palette.cjs +1 -126
  5. package/dist/cjs/constants/color-names.cjs +1 -1580
  6. package/dist/cjs/constants/color-palettes.cjs +1 -372
  7. package/dist/cjs/constants/index.cjs +1 -14
  8. package/dist/cjs/index.cjs +1 -339
  9. package/dist/cjs/types/color.cjs +1 -3
  10. package/dist/cjs/types/common.cjs +1 -3
  11. package/dist/cjs/types/deep-keys.cjs +1 -3
  12. package/dist/cjs/types/index.cjs +1 -7
  13. package/dist/cjs/utils/chrono.cjs +1 -139
  14. package/dist/cjs/utils/equal.cjs +1 -175
  15. package/dist/cjs/utils/error.cjs +3 -60
  16. package/dist/cjs/utils/event.cjs +1 -62
  17. package/dist/cjs/utils/format.cjs +1 -31
  18. package/dist/cjs/utils/function.cjs +1 -49
  19. package/dist/cjs/utils/id.cjs +1 -38
  20. package/dist/cjs/utils/index.cjs +1 -86
  21. package/dist/cjs/utils/key.cjs +1 -34
  22. package/dist/cjs/utils/lib.cjs +1 -234
  23. package/dist/cjs/utils/object.cjs +1 -20
  24. package/dist/cjs/utils/path.cjs +1 -63
  25. package/dist/cjs/utils/pinyin.cjs +1 -53
  26. package/dist/cjs/utils/security.cjs +1 -44
  27. package/dist/cjs/utils/string.cjs +1 -13
  28. package/dist/cjs/utils/task.cjs +1 -17
  29. package/dist/cjs/utils/tree.cjs +1 -262
  30. package/dist/cjs/utils/zod.cjs +1 -14
  31. package/dist/es/color/color-ops.js +64 -58
  32. package/dist/es/color/index.js +18 -4
  33. package/dist/es/color/name.js +24 -37
  34. package/dist/es/color/palette.js +67 -100
  35. package/dist/es/constants/color-names.js +6 -9
  36. package/dist/es/constants/color-palettes.js +8 -15
  37. package/dist/es/constants/index.js +8 -3
  38. package/dist/es/index.js +165 -30
  39. package/dist/es/types/color.js +1 -1
  40. package/dist/es/types/common.js +1 -1
  41. package/dist/es/types/deep-keys.js +1 -1
  42. package/dist/es/types/index.js +3 -4
  43. package/dist/es/utils/chrono.js +71 -88
  44. package/dist/es/utils/equal.js +111 -161
  45. package/dist/es/utils/error.js +28 -25
  46. package/dist/es/utils/event.js +18 -23
  47. package/dist/es/utils/format.js +16 -22
  48. package/dist/es/utils/function.js +32 -32
  49. package/dist/es/utils/id.js +18 -27
  50. package/dist/es/utils/index.js +80 -18
  51. package/dist/es/utils/key.js +19 -25
  52. package/dist/es/utils/lib.js +64 -10
  53. package/dist/es/utils/object.js +11 -14
  54. package/dist/es/utils/path.js +57 -48
  55. package/dist/es/utils/pinyin.js +28 -29
  56. package/dist/es/utils/security.js +29 -37
  57. package/dist/es/utils/string.js +7 -8
  58. package/dist/es/utils/task.js +7 -12
  59. package/dist/es/utils/tree.js +156 -219
  60. package/dist/es/utils/zod.js +7 -6
  61. package/package.json +1 -1
@@ -1,122 +1,89 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
2
- import { lru } from 'tiny-lru';
3
- import '../constants/index.js';
4
- import { isValidColor, toHslColor, convertHslToHex, getColorDifference } from './color-ops.js';
5
- import { getColorName } from './name.js';
6
- import { colorPalettes } from '../constants/color-palettes.js';
7
-
8
- const MAIN_COLOR_NUMBER = 500;
9
- const CACHE = lru(100);
10
- function getColorPalette(color) {
11
- if (CACHE.has(color)) {
12
- return CACHE.get(color);
13
- }
14
- const { colorMap } = generateMatchedColorPalette(color);
15
- CACHE.set(color, colorMap);
16
- return colorMap;
1
+ import { lru as f } from "tiny-lru";
2
+ import "../constants/index.js";
3
+ import { isValidColor as w, toHslColor as i, convertHslToHex as g, getColorDifference as x } from "./color-ops.js";
4
+ import { getColorName as p } from "./name.js";
5
+ import { colorPalettes as M } from "../constants/color-palettes.js";
6
+ const m = 500, d = f(100);
7
+ function R(e) {
8
+ if (d.has(e))
9
+ return d.get(e);
10
+ const { colorMap: t } = b(e);
11
+ return d.set(e, t), t;
17
12
  }
18
- function generateMatchedColorPalette(inputColor) {
19
- const basePalette = generateColorPalette(inputColor);
20
- let mainColorSwatch;
21
- const matchedColorSwatch = basePalette.swatches.find((swatch) => swatch.hex === inputColor);
22
- const colorMap = /* @__PURE__ */ new Map();
23
- for (const swatch of basePalette.swatches) {
24
- colorMap.set(swatch.number, swatch.hex);
25
- if (swatch.number === MAIN_COLOR_NUMBER) {
26
- mainColorSwatch = swatch;
27
- }
28
- }
29
- if (!mainColorSwatch) {
30
- throw new Error(`Main color swatch (${MAIN_COLOR_NUMBER}) not found in palette`);
31
- }
32
- if (!matchedColorSwatch) {
13
+ function b(e) {
14
+ const t = C(e);
15
+ let s;
16
+ const c = t.swatches.find((a) => a.hex === e), r = /* @__PURE__ */ new Map();
17
+ for (const a of t.swatches)
18
+ r.set(a.number, a.hex), a.number === m && (s = a);
19
+ if (!s)
20
+ throw new Error(`Main color swatch (${m}) not found in palette`);
21
+ if (!c)
33
22
  throw new Error("Matched color swatch not found in generated palette");
34
- }
35
23
  return {
36
- ...basePalette,
37
- colorMap,
38
- main: mainColorSwatch,
39
- matched: matchedColorSwatch
24
+ ...t,
25
+ colorMap: r,
26
+ main: s,
27
+ matched: c
40
28
  };
41
29
  }
42
- function generateColorPalette(inputColor) {
43
- if (!isValidColor(inputColor)) {
44
- throw new Error(`Invalid color format: "${inputColor}". Please provide a valid color value.`);
45
- }
46
- const normalizedColorName = normalizeColorName(getColorName(inputColor));
47
- const inputHsl = toHslColor(inputColor);
48
- const nearestPaletteData = findNearestColorPalette(inputColor, colorPalettes);
49
- const { nearestLightnessSwatch, swatches: referencePalette } = nearestPaletteData;
50
- const adjustments = calculateColorAdjustments(inputHsl, nearestLightnessSwatch);
51
- const adjustedSwatches = referencePalette.map((referenceSwatch) => {
52
- const isExactMatch = nearestLightnessSwatch.number === referenceSwatch.number;
53
- if (isExactMatch) {
54
- return {
55
- hex: inputColor,
56
- number: referenceSwatch.number
57
- };
58
- }
59
- const adjustedHex = applyColorAdjustments(referenceSwatch.hex, adjustments);
60
- return {
61
- hex: adjustedHex,
62
- number: referenceSwatch.number
63
- };
30
+ function C(e) {
31
+ if (!w(e))
32
+ throw new Error(`Invalid color format: "${e}". Please provide a valid color value.`);
33
+ const t = L(p(e)), s = i(e), c = H(e, M), { nearestLightnessSwatch: r, swatches: a } = c, n = D(s, r), o = a.map((l) => r.number === l.number ? {
34
+ hex: e,
35
+ number: l.number
36
+ } : {
37
+ hex: P(l.hex, n),
38
+ number: l.number
64
39
  });
65
40
  return {
66
- name: normalizedColorName,
67
- swatches: adjustedSwatches
41
+ name: t,
42
+ swatches: o
68
43
  };
69
44
  }
70
- function normalizeColorName(colorName) {
71
- return colorName.toLowerCase().replaceAll(/\s+/g, "-");
45
+ function L(e) {
46
+ return e.toLowerCase().replaceAll(/\s+/g, "-");
72
47
  }
73
- function calculateColorAdjustments(inputHsl, referenceSwatch) {
74
- const referenceHsl = toHslColor(referenceSwatch.hex);
48
+ function D(e, t) {
49
+ const s = i(t.hex);
75
50
  return {
76
- hueDelta: inputHsl.h - referenceHsl.h,
77
- saturationRatio: referenceHsl.s > 0 ? inputHsl.s / referenceHsl.s : 1
51
+ hueDelta: e.h - s.h,
52
+ saturationRatio: s.s > 0 ? e.s / s.s : 1
78
53
  };
79
54
  }
80
- function applyColorAdjustments(referenceHex, adjustments) {
55
+ function P(e, t) {
81
56
  const {
82
- h: referenceHue,
83
- s: referenceSaturation,
84
- l: referenceLightness
85
- } = toHslColor(referenceHex);
86
- const adjustedHue = referenceHue + adjustments.hueDelta;
87
- const adjustedSaturation = referenceSaturation * adjustments.saturationRatio;
88
- return convertHslToHex({
89
- h: adjustedHue,
90
- s: adjustedSaturation,
91
- l: referenceLightness
57
+ h: s,
58
+ s: c,
59
+ l: r
60
+ } = i(e), a = s + t.hueDelta, n = c * t.saturationRatio;
61
+ return g({
62
+ h: a,
63
+ s: n,
64
+ l: r
92
65
  });
93
66
  }
94
- function findNearestColorPalette(inputColor, availablePalettes) {
95
- const palettesWithDistances = availablePalettes.map((palette) => {
96
- const swatchesWithDistances = palette.swatches.map((swatch) => ({
97
- ...swatch,
98
- delta: getColorDifference(inputColor, swatch.hex)
99
- }));
100
- const nearestSwatch = swatchesWithDistances.reduce((closest, current) => current.delta < closest.delta ? current : closest);
67
+ function H(e, t) {
68
+ const c = t.map((n) => {
69
+ const o = n.swatches.map((h) => ({
70
+ ...h,
71
+ delta: x(e, h.hex)
72
+ })), l = o.reduce((h, u) => u.delta < h.delta ? u : h);
101
73
  return {
102
- ...palette,
103
- swatches: swatchesWithDistances,
104
- nearestSwatch
74
+ ...n,
75
+ swatches: o,
76
+ nearestSwatch: l
105
77
  };
106
- });
107
- const nearestPalette = palettesWithDistances.reduce((closest, current) => current.nearestSwatch.delta < closest.nearestSwatch.delta ? current : closest);
108
- const inputLightness = toHslColor(inputColor).l;
109
- const nearestLightnessSwatch = nearestPalette.swatches.reduce((closest, current) => {
110
- const closestLightness = toHslColor(closest.hex).l;
111
- const currentLightness = toHslColor(current.hex).l;
112
- const closestLightnessDelta = Math.abs(closestLightness - inputLightness);
113
- const currentLightnessDelta = Math.abs(currentLightness - inputLightness);
114
- return currentLightnessDelta < closestLightnessDelta ? current : closest;
78
+ }).reduce((n, o) => o.nearestSwatch.delta < n.nearestSwatch.delta ? o : n), r = i(e).l, a = c.swatches.reduce((n, o) => {
79
+ const l = i(n.hex).l, h = i(o.hex).l, u = Math.abs(l - r);
80
+ return Math.abs(h - r) < u ? o : n;
115
81
  });
116
82
  return {
117
- ...nearestPalette,
118
- nearestLightnessSwatch
83
+ ...c,
84
+ nearestLightnessSwatch: a
119
85
  };
120
86
  }
121
-
122
- export { getColorPalette };
87
+ export {
88
+ R as getColorPalette
89
+ };
@@ -1,5 +1,4 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
2
- const colorEntries = [
1
+ const d = [
3
2
  ["#000000", "Black"],
4
3
  ["#000080", "Navy Blue"],
5
4
  ["#0000c8", "Dark Blue"],
@@ -1566,10 +1565,8 @@ const colorEntries = [
1566
1565
  ["#ffffb4", "Portafino"],
1567
1566
  ["#fffff0", "Ivory"],
1568
1567
  ["#ffffff", "White"]
1569
- ];
1570
- const colorNameMap = colorEntries.reduce((record, [hex, name]) => {
1571
- record.set(hex, name);
1572
- return record;
1573
- }, /* @__PURE__ */ new Map());
1574
-
1575
- export { colorEntries, colorNameMap };
1568
+ ], r = d.reduce((e, [a, f]) => (e.set(a, f), e), /* @__PURE__ */ new Map());
1569
+ export {
1570
+ d as colorEntries,
1571
+ r as colorNameMap
1572
+ };
@@ -1,8 +1,6 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
2
- import '../utils/index.js';
3
- import { dash } from 'radashi';
4
-
5
- const colorPalettes = [
1
+ import "../utils/index.js";
2
+ import { dash as h } from "radashi";
3
+ const r = [
6
4
  {
7
5
  name: "Red",
8
6
  swatches: [
@@ -355,13 +353,8 @@ const colorPalettes = [
355
353
  { number: 950, hex: "#0c0a09" }
356
354
  ]
357
355
  }
358
- ];
359
- const colorPaletteMap = colorPalettes.reduce((record, palette) => {
360
- record.set(dash(palette.name), palette.swatches.reduce((swatches, swatch) => {
361
- swatches.set(swatch.number, swatch.hex);
362
- return swatches;
363
- }, /* @__PURE__ */ new Map()));
364
- return record;
365
- }, /* @__PURE__ */ new Map());
366
-
367
- export { colorPaletteMap, colorPalettes };
356
+ ], x = r.reduce((e, b) => (e.set(h(b.name), b.swatches.reduce((n, m) => (n.set(m.number, m.hex), n), /* @__PURE__ */ new Map())), e), /* @__PURE__ */ new Map());
357
+ export {
358
+ x as colorPaletteMap,
359
+ r as colorPalettes
360
+ };
@@ -1,3 +1,8 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
2
- export { colorEntries, colorNameMap } from './color-names.js';
3
- export { colorPaletteMap, colorPalettes } from './color-palettes.js';
1
+ import { colorEntries as e, colorNameMap as t } from "./color-names.js";
2
+ import { colorPaletteMap as a, colorPalettes as c } from "./color-palettes.js";
3
+ export {
4
+ e as colorEntries,
5
+ t as colorNameMap,
6
+ a as colorPaletteMap,
7
+ c as colorPalettes
8
+ };
package/dist/es/index.js CHANGED
@@ -1,30 +1,165 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
2
- import './color/index.js';
3
- import './constants/index.js';
4
- import './types/index.js';
5
- import './utils/index.js';
6
- export { convertHslToHex, convertTransparentToOpaque, getColorDifference, isValidColor, isWhiteColor, mixColor, setColorAlpha, toHexColor, toHslColor, toHsvColor, toRgbColor } from './color/color-ops.js';
7
- export { getColorName } from './color/name.js';
8
- export { getColorPalette } from './color/palette.js';
9
- export { colorEntries, colorNameMap } from './constants/color-names.js';
10
- export { colorPaletteMap, colorPalettes } from './constants/color-palettes.js';
11
- export { DEFAULT_DATETIME_FORMAT, DEFAULT_DATE_FORMAT, DEFAULT_TIME_FORMAT, LOCALIZED_DATETIME_FORMAT, LOCALIZED_DATE_FORMAT, formatDate, formatDuration, getLocalizedDateTime, getNow, getNowDateString, getNowDateTimeString, getNowTimeString, getTemporalFormats, parseDate, tryParseDate } from './utils/chrono.js';
12
- export { isDeepEqual, isShallowEqual } from './utils/equal.js';
13
- export { filterUserFrame, getCurrentStack, getCurrentStackSync, getSanitizedErrorStack, parseErrorStack } from './utils/error.js';
14
- export { EventEmitter, createEventEmitter } from './utils/event.js';
15
- export { formatBytes, formatNumber } from './utils/format.js';
16
- export { createThrowNotImplementedFn, identity, invokeAwaitableFn, isAsyncFunction, throwNotImplemented } from './utils/function.js';
17
- export { generateId } from './utils/id.js';
18
- export { hashKey } from './utils/key.js';
19
- export { klona as cloneDeep } from 'klona';
20
- export { parse as decodeQueryString, stringify as encodeQueryString } from 'qs';
21
- export { always, assign, camel as camelCase, capitalize, cluster, debounce, first, get, isArray, isBigInt, isBoolean, isDate, isEmpty, isError, isFloat, isFunction, isInt, isIntString, isMap, isNullish, isNumber, isObject, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isUndefined, isWeakMap, isWeakSet, dash as kebabCase, last, max, memo as memoize, min, noop, omit, once, pascal as pascalCase, pick, set, similarity, snake as snakeCase, sum, template, throttle, toFloat, toInt, trim, unique } from 'radashi';
22
- export { alwaysFalse, alwaysTrue } from './utils/lib.js';
23
- export { mergeWith } from './utils/object.js';
24
- export { formatPath, getBaseName, getDirName, getExtName, getRelativePath, isAbsolutePath, joinPaths, normalizePath, parsePath, pathSeparator, resolvePath } from './utils/path.js';
25
- export { getPinyin, getPinyinInitials, withPinyin } from './utils/pinyin.js';
26
- export { decryptUsingRSA, encryptUsingRSA } from './utils/security.js';
27
- export { constantCase } from './utils/string.js';
28
- export { scheduleMicrotask } from './utils/task.js';
29
- export { buildTree, filterTree, filterTreeWithAncestors, findNodeInTree, flattenTree, mapTree, traverseTree } from './utils/tree.js';
30
- export { z } from 'zod';
1
+ import "./color/index.js";
2
+ import "./constants/index.js";
3
+ import "./types/index.js";
4
+ import "./utils/index.js";
5
+ import { convertHslToHex as s, convertTransparentToOpaque as m, getColorDifference as n, isValidColor as l, isWhiteColor as p, mixColor as f, setColorAlpha as c, toHexColor as g, toHslColor as x, toHsvColor as T, toRgbColor as E } from "./color/color-ops.js";
6
+ import { getColorName as u } from "./color/name.js";
7
+ import { getColorPalette as y } from "./color/palette.js";
8
+ import { colorEntries as C, colorNameMap as S } from "./constants/color-names.js";
9
+ import { colorPaletteMap as F, colorPalettes as P } from "./constants/color-palettes.js";
10
+ import { DEFAULT_DATETIME_FORMAT as I, DEFAULT_DATE_FORMAT as k, DEFAULT_TIME_FORMAT as M, LOCALIZED_DATETIME_FORMAT as b, LOCALIZED_DATE_FORMAT as w, formatDate as v, formatDuration as O, getLocalizedDateTime as R, getNow as _, getNowDateString as L, getNowDateTimeString as U, getNowTimeString as z, getTemporalFormats as H, parseDate as W, tryParseDate as q } from "./utils/chrono.js";
11
+ import { isDeepEqual as j, isShallowEqual as Q } from "./utils/equal.js";
12
+ import { filterUserFrame as K, getCurrentStack as V, getCurrentStackSync as G, getSanitizedErrorStack as J, parseErrorStack as X } from "./utils/error.js";
13
+ import { EventEmitter as $, createEventEmitter as ee } from "./utils/event.js";
14
+ import { formatBytes as re, formatNumber as oe } from "./utils/format.js";
15
+ import { createThrowNotImplementedFn as ie, identity as se, invokeAwaitableFn as me, isAsyncFunction as ne, throwNotImplemented as le } from "./utils/function.js";
16
+ import { generateId as fe } from "./utils/id.js";
17
+ import { hashKey as ge } from "./utils/key.js";
18
+ import { klona as Te } from "klona";
19
+ import { parse as he, stringify as ue } from "qs";
20
+ import { always as ye, assign as De, camel as Ce, capitalize as Se, cluster as de, debounce as Fe, first as Pe, get as Ne, isArray as Ie, isBigInt as ke, isBoolean as Me, isDate as be, isEmpty as we, isError as ve, isFloat as Oe, isFunction as Re, isInt as _e, isIntString as Le, isMap as Ue, isNullish as ze, isNumber as He, isObject as We, isPlainObject as qe, isPrimitive as Be, isPromise as je, isRegExp as Qe, isSet as Ze, isString as Ke, isSymbol as Ve, isUndefined as Ge, isWeakMap as Je, isWeakSet as Xe, dash as Ye, last as $e, max as et, memo as tt, min as rt, noop as ot, omit as at, once as it, pascal as st, pick as mt, set as nt, similarity as lt, snake as pt, sum as ft, template as ct, throttle as gt, toFloat as xt, toInt as Tt, trim as Et, unique as ht } from "radashi";
21
+ import { alwaysFalse as At, alwaysTrue as yt } from "./utils/lib.js";
22
+ import { mergeWith as Ct } from "./utils/object.js";
23
+ import { formatPath as dt, getBaseName as Ft, getDirName as Pt, getExtName as Nt, getRelativePath as It, isAbsolutePath as kt, joinPaths as Mt, normalizePath as bt, parsePath as wt, pathSeparator as vt, resolvePath as Ot } from "./utils/path.js";
24
+ import { getPinyin as _t, getPinyinInitials as Lt, withPinyin as Ut } from "./utils/pinyin.js";
25
+ import { decryptUsingRSA as Ht, encryptUsingRSA as Wt } from "./utils/security.js";
26
+ import { constantCase as Bt } from "./utils/string.js";
27
+ import { scheduleMicrotask as Qt } from "./utils/task.js";
28
+ import { buildTree as Kt, filterTree as Vt, filterTreeWithAncestors as Gt, findNodeInTree as Jt, flattenTree as Xt, mapTree as Yt, traverseTree as $t } from "./utils/tree.js";
29
+ import { z as tr } from "zod";
30
+ export {
31
+ I as DEFAULT_DATETIME_FORMAT,
32
+ k as DEFAULT_DATE_FORMAT,
33
+ M as DEFAULT_TIME_FORMAT,
34
+ $ as EventEmitter,
35
+ b as LOCALIZED_DATETIME_FORMAT,
36
+ w as LOCALIZED_DATE_FORMAT,
37
+ ye as always,
38
+ At as alwaysFalse,
39
+ yt as alwaysTrue,
40
+ De as assign,
41
+ Kt as buildTree,
42
+ Ce as camelCase,
43
+ Se as capitalize,
44
+ Te as cloneDeep,
45
+ de as cluster,
46
+ C as colorEntries,
47
+ S as colorNameMap,
48
+ F as colorPaletteMap,
49
+ P as colorPalettes,
50
+ Bt as constantCase,
51
+ s as convertHslToHex,
52
+ m as convertTransparentToOpaque,
53
+ ee as createEventEmitter,
54
+ ie as createThrowNotImplementedFn,
55
+ Fe as debounce,
56
+ he as decodeQueryString,
57
+ Ht as decryptUsingRSA,
58
+ ue as encodeQueryString,
59
+ Wt as encryptUsingRSA,
60
+ Vt as filterTree,
61
+ Gt as filterTreeWithAncestors,
62
+ K as filterUserFrame,
63
+ Jt as findNodeInTree,
64
+ Pe as first,
65
+ Xt as flattenTree,
66
+ re as formatBytes,
67
+ v as formatDate,
68
+ O as formatDuration,
69
+ oe as formatNumber,
70
+ dt as formatPath,
71
+ fe as generateId,
72
+ Ne as get,
73
+ Ft as getBaseName,
74
+ n as getColorDifference,
75
+ u as getColorName,
76
+ y as getColorPalette,
77
+ V as getCurrentStack,
78
+ G as getCurrentStackSync,
79
+ Pt as getDirName,
80
+ Nt as getExtName,
81
+ R as getLocalizedDateTime,
82
+ _ as getNow,
83
+ L as getNowDateString,
84
+ U as getNowDateTimeString,
85
+ z as getNowTimeString,
86
+ _t as getPinyin,
87
+ Lt as getPinyinInitials,
88
+ It as getRelativePath,
89
+ J as getSanitizedErrorStack,
90
+ H as getTemporalFormats,
91
+ ge as hashKey,
92
+ se as identity,
93
+ me as invokeAwaitableFn,
94
+ kt as isAbsolutePath,
95
+ Ie as isArray,
96
+ ne as isAsyncFunction,
97
+ ke as isBigInt,
98
+ Me as isBoolean,
99
+ be as isDate,
100
+ j as isDeepEqual,
101
+ we as isEmpty,
102
+ ve as isError,
103
+ Oe as isFloat,
104
+ Re as isFunction,
105
+ _e as isInt,
106
+ Le as isIntString,
107
+ Ue as isMap,
108
+ ze as isNullish,
109
+ He as isNumber,
110
+ We as isObject,
111
+ qe as isPlainObject,
112
+ Be as isPrimitive,
113
+ je as isPromise,
114
+ Qe as isRegExp,
115
+ Ze as isSet,
116
+ Q as isShallowEqual,
117
+ Ke as isString,
118
+ Ve as isSymbol,
119
+ Ge as isUndefined,
120
+ l as isValidColor,
121
+ Je as isWeakMap,
122
+ Xe as isWeakSet,
123
+ p as isWhiteColor,
124
+ Mt as joinPaths,
125
+ Ye as kebabCase,
126
+ $e as last,
127
+ Yt as mapTree,
128
+ et as max,
129
+ tt as memoize,
130
+ Ct as mergeWith,
131
+ rt as min,
132
+ f as mixColor,
133
+ ot as noop,
134
+ bt as normalizePath,
135
+ at as omit,
136
+ it as once,
137
+ W as parseDate,
138
+ X as parseErrorStack,
139
+ wt as parsePath,
140
+ st as pascalCase,
141
+ vt as pathSeparator,
142
+ mt as pick,
143
+ Ot as resolvePath,
144
+ Qt as scheduleMicrotask,
145
+ nt as set,
146
+ c as setColorAlpha,
147
+ lt as similarity,
148
+ pt as snakeCase,
149
+ ft as sum,
150
+ ct as template,
151
+ gt as throttle,
152
+ le as throwNotImplemented,
153
+ xt as toFloat,
154
+ g as toHexColor,
155
+ x as toHslColor,
156
+ T as toHsvColor,
157
+ Tt as toInt,
158
+ E as toRgbColor,
159
+ $t as traverseTree,
160
+ Et as trim,
161
+ q as tryParseDate,
162
+ ht as unique,
163
+ Ut as withPinyin,
164
+ tr as z
165
+ };
@@ -1 +1 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
1
+
@@ -1 +1 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
1
+
@@ -1 +1 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
1
+
@@ -1,4 +1,3 @@
1
- /*! @vef-framework/shared v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:13.127Z */
2
- import './color.js';
3
- import './common.js';
4
- import './deep-keys.js';
1
+ import "./color.js";
2
+ import "./common.js";
3
+ import "./deep-keys.js";