@dxtmisha/functional 1.10.3 → 1.10.4

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/dist/library.d.ts CHANGED
@@ -192,7 +192,7 @@ export declare type ConstrClasses = {
192
192
  export declare type ConstrClassList = Record<string, ConstrClass>;
193
193
 
194
194
  /** Object type for CSS class names with boolean values/ Тип объекта для CSS классов с булевыми значениями */
195
- export declare type ConstrClassObject = Record<string, boolean>;
195
+ export declare type ConstrClassObject = Record<string, boolean | undefined>;
196
196
 
197
197
  /** Generic record type for constructor components/ Дженерик тип записи для компонентов конструктора */
198
198
  export declare type ConstrComponent = Record<string, any>;
package/dist/library.js CHANGED
@@ -2,7 +2,7 @@ import { Api as e, ApiMethodItem as t, BroadcastMessage as n, Cookie as r, DataS
2
2
  import { computed as A, customRef as se, effectScope as ce, getCurrentInstance as le, h as ue, inject as de, isRef as j, onUnmounted as fe, provide as pe, ref as M, shallowRef as N, toRefs as me, triggerRef as he, useAttrs as ge, useSlots as _e, watch as P, watchEffect as ve } from "vue";
3
3
  export * from "@dxtmisha/functional-basic";
4
4
  //#endregion
5
- //#region \0@oxc-project+runtime@0.122.0/helpers/typeof.js
5
+ //#region \0@oxc-project+runtime@0.123.0/helpers/typeof.js
6
6
  function F(e) {
7
7
  "@babel/helpers - typeof";
8
8
  return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -12,7 +12,7 @@ function F(e) {
12
12
  }, F(e);
13
13
  }
14
14
  //#endregion
15
- //#region \0@oxc-project+runtime@0.122.0/helpers/toPrimitive.js
15
+ //#region \0@oxc-project+runtime@0.123.0/helpers/toPrimitive.js
16
16
  function ye(e, t) {
17
17
  if (F(e) != "object" || !e) return e;
18
18
  var n = e[Symbol.toPrimitive];
@@ -24,13 +24,13 @@ function ye(e, t) {
24
24
  return (t === "string" ? String : Number)(e);
25
25
  }
26
26
  //#endregion
27
- //#region \0@oxc-project+runtime@0.122.0/helpers/toPropertyKey.js
27
+ //#region \0@oxc-project+runtime@0.123.0/helpers/toPropertyKey.js
28
28
  function be(e) {
29
29
  var t = ye(e, "string");
30
30
  return F(t) == "symbol" ? t : t + "";
31
31
  }
32
32
  //#endregion
33
- //#region \0@oxc-project+runtime@0.122.0/helpers/defineProperty.js
33
+ //#region \0@oxc-project+runtime@0.123.0/helpers/defineProperty.js
34
34
  function I(e, t, n) {
35
35
  return (t = be(t)) in e ? Object.defineProperty(e, t, {
36
36
  value: n,
@@ -778,7 +778,7 @@ function Re(t, n, r = !0, i, a, o = !0, s = e.getItem()) {
778
778
  get item() {
779
779
  return _(), c;
780
780
  },
781
- length: A(() => Array.isArray(c.value) ? c.value.length : c.value ? 1 : 0),
781
+ length: A(() => Array.isArray(c.value) ? c.value.length : +!!c.value),
782
782
  starting: A(() => c.value === void 0),
783
783
  loading: u,
784
784
  reading: d,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/functional",
3
3
  "private": false,
4
- "version": "1.10.3",
4
+ "version": "1.10.4",
5
5
  "type": "module",
6
6
  "description": "A comprehensive library of utilities, base classes, and Vue 3 composables for reactive web development. Extends @dxtmisha/functional-basic with Composition API.",
7
7
  "keywords": [