@vef-framework-react/shared 2.35.0 → 2.36.0

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.
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { colord as e, extend as t } from "colord";
3
3
  import n from "colord/plugins/lab";
4
4
  import r from "colord/plugins/mix";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { convertHslToHex as e, convertTransparentToOpaque as t, getColorDifference as n, isValidColor as r, isWhiteColor as i, mixColor as a, setColorAlpha as o, toHexColor as s, toHslColor as c, toHsvColor as l, toRgbColor as u } from "./color-ops.js";
3
3
  import { getColorName as d } from "./name.js";
4
4
  import { getColorPalette as f } from "./palette.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { toHexColor as e, toHslColor as t, toRgbColor as n } from "./color-ops.js";
3
3
  import { colorEntries as r, colorNameMap as i } from "../constants/color-names.js";
4
4
  //#region src/color/name.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { convertHslToHex as e, getColorDifference as t, isValidColor as n, toHslColor as r } from "./color-ops.js";
3
3
  import { colorPalettes as i } from "../constants/color-palettes.js";
4
4
  import { getColorName as a } from "./name.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  //#region src/constants/color-names.ts
3
3
  var e = [
4
4
  ["#000000", "Black"],
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { kebabCase as e } from "../utils/lib.js";
3
3
  //#region src/constants/color-palettes.ts
4
4
  var t = [
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { colorEntries as e, colorNameMap as t } from "./color-names.js";
3
3
  import { colorPaletteMap as n, colorPalettes as r } from "./color-palettes.js";
4
4
  export { e as colorEntries, t as colorNameMap, n as colorPaletteMap, r as colorPalettes };
package/dist/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { convertHslToHex as e, convertTransparentToOpaque as t, getColorDifference as n, isValidColor as r, isWhiteColor as i, mixColor as a, setColorAlpha as o, toHexColor as s, toHslColor as c, toHsvColor as l, toRgbColor as u } from "./color/color-ops.js";
3
3
  import { colorEntries as d, colorNameMap as f } from "./constants/color-names.js";
4
4
  import { LRU as p, lru as m } from "./utils/cache.js";
@@ -1 +1 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
@@ -1 +1 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
@@ -1 +1 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
@@ -1 +1 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { LRU as e, lru as t } from "tiny-lru";
3
3
  export { e as LRU, t as lru };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import e from "dayjs";
3
3
  import t from "dayjs/locale/zh-cn";
4
4
  import n from "dayjs/plugin/advancedFormat";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  //#region src/utils/equal.ts
3
3
  function e(e, t) {
4
4
  if (Object.is(e, t)) return !0;
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { getBaseName as e } from "./path.js";
3
3
  import * as t from "stacktrace-js";
4
4
  //#region src/utils/error.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import e from "mitt";
3
3
  //#region src/utils/event.ts
4
4
  var t = class {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  //#region src/utils/format.ts
3
3
  var e = 1024, t = [
4
4
  "B",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  //#region src/utils/function.ts
3
3
  function e(e) {
4
4
  let t = e.constructor.name;
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { init as e } from "@paralleldrive/cuid2";
3
3
  import { isNullish as t } from "radashi";
4
4
  //#region src/utils/id.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { LRU as e, lru as t } from "./cache.js";
3
3
  import { DATE_GRANULARITIES as n, DEFAULT_DATETIME_FORMAT as r, DEFAULT_DATE_FORMAT as i, DEFAULT_MONTH_FORMAT as a, DEFAULT_QUARTER_FORMAT as o, DEFAULT_TIME_FORMAT as s, DEFAULT_YEAR_FORMAT as c, LOCALIZED_DATETIME_FORMAT as l, LOCALIZED_DATE_FORMAT as u, formatDate as d, formatDateByGranularity as f, formatDuration as p, getDateGranularityFormat as m, getLocalizedDateTime as h, getNow as g, getNowDateString as _, getNowDateTimeString as v, getNowTimeString as y, getTemporalFormats as b, isDateGranularity as x, isValidDateByGranularity as S, isValidDateRangeByGranularity as C, parseDate as w, tryParseDate as T, tryParseDateByGranularity as E, tryParseTime as D } from "./chrono.js";
4
4
  import { isDeepEqual as O, isShallowEqual as k } from "./equal.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { isPlainObject as e } from "./lib.js";
3
3
  //#region src/utils/key.ts
4
4
  function t(e) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { always as e, always as t, assign as n, camel as r, capitalize as i, cluster as a, dash as o, debounce as s, first as c, get as l, isArray as u, isBigInt as d, isBoolean as f, isDate as p, isEmpty as m, isError as h, isFloat as g, isFunction as _, isInt as v, isIntString as y, isMap as b, isNullish as x, isNumber as S, isObject as C, isPlainObject as w, isPrimitive as T, isPromise as E, isRegExp as D, isSet as O, isString as k, isSymbol as A, isUndefined as j, isWeakMap as M, isWeakSet as N, last as P, max as F, memo as I, min as L, noop as R, omit as z, once as B, pascal as V, pick as H, set as U, similarity as W, snake as G, sum as K, template as q, throttle as J, toFloat as Y, toInt as X, trim as Z, unique as Q } from "radashi";
3
3
  import { klona as $ } from "klona";
4
4
  import { parse as ee, stringify as te } from "qs";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { isUndefined as e } from "./lib.js";
3
3
  //#region src/utils/object.ts
4
4
  function t(t, n, r = !1) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import e from "path-browserify";
3
3
  //#region src/utils/path.ts
4
4
  function t(t, n = !0) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { isString as e } from "./lib.js";
3
3
  import t from "@pinyin-pro/data/modern";
4
4
  import { addDict as n, pinyin as r } from "pinyin-pro";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { isNullish as e } from "./lib.js";
3
3
  import t from "jsencrypt";
4
4
  //#region src/utils/security.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { snakeCase as e } from "./lib.js";
3
3
  //#region src/utils/string.ts
4
4
  function t(t) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { isDeepEqual as e, isShallowEqual as t } from "./equal.js";
3
3
  import { isPlainObject as n } from "./lib.js";
4
4
  //#region src/utils/table.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  //#region src/utils/task.ts
3
3
  function e(e) {
4
4
  typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e);
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { isArray as e, isFunction as t, isNullish as n } from "./lib.js";
3
3
  //#region src/utils/tree.ts
4
4
  function r(n, r = {}) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/shared v2.35.0 made by Venus | 2026-11-26T07:46:13.202Z */
1
+ /*! @vef-framework-react/shared v2.36.0 made by Venus | 2026-11-30T05:47:37.064Z */
2
2
  import { z as e, z as t } from "zod";
3
3
  import { zhCN as n } from "zod/locales";
4
4
  //#region src/utils/zod.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vef-framework-react/shared",
3
- "version": "2.35.0",
3
+ "version": "2.36.0",
4
4
  "private": false,
5
5
  "description": "Shared utilities for VEF framework",
6
6
  "keywords": [