@dxtmisha/functional-basic 1.1.8 → 1.1.9

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 (175) hide show
  1. package/dist/library.js +27 -27
  2. package/package.json +7 -11
  3. /package/dist/{classes → src/classes}/Api.d.ts +0 -0
  4. /package/dist/{classes → src/classes}/ApiCache.d.ts +0 -0
  5. /package/dist/{classes → src/classes}/ApiDataReturn.d.ts +0 -0
  6. /package/dist/{classes → src/classes}/ApiDefault.d.ts +0 -0
  7. /package/dist/{classes → src/classes}/ApiHeaders.d.ts +0 -0
  8. /package/dist/{classes → src/classes}/ApiHydration.d.ts +0 -0
  9. /package/dist/{classes → src/classes}/ApiInstance.d.ts +0 -0
  10. /package/dist/{classes → src/classes}/ApiPreparation.d.ts +0 -0
  11. /package/dist/{classes → src/classes}/ApiResponse.d.ts +0 -0
  12. /package/dist/{classes → src/classes}/ApiStatus.d.ts +0 -0
  13. /package/dist/{classes → src/classes}/BroadcastMessage.d.ts +0 -0
  14. /package/dist/{classes → src/classes}/Cache.d.ts +0 -0
  15. /package/dist/{classes → src/classes}/CacheItem.d.ts +0 -0
  16. /package/dist/{classes → src/classes}/CacheStatic.d.ts +0 -0
  17. /package/dist/{classes → src/classes}/Cookie.d.ts +0 -0
  18. /package/dist/{classes → src/classes}/CookieBlock.d.ts +0 -0
  19. /package/dist/{classes → src/classes}/CookieBlockInstance.d.ts +0 -0
  20. /package/dist/{classes → src/classes}/CookieStorage.d.ts +0 -0
  21. /package/dist/{classes → src/classes}/DataStorage.d.ts +0 -0
  22. /package/dist/{classes → src/classes}/Datetime.d.ts +0 -0
  23. /package/dist/{classes → src/classes}/ErrorCenter.d.ts +0 -0
  24. /package/dist/{classes → src/classes}/ErrorCenterHandler.d.ts +0 -0
  25. /package/dist/{classes → src/classes}/ErrorCenterInstance.d.ts +0 -0
  26. /package/dist/{classes → src/classes}/EventItem.d.ts +0 -0
  27. /package/dist/{classes → src/classes}/Formatters.d.ts +0 -0
  28. /package/dist/{classes → src/classes}/Geo.d.ts +0 -0
  29. /package/dist/{classes → src/classes}/GeoFlag.d.ts +0 -0
  30. /package/dist/{classes → src/classes}/GeoInstance.d.ts +0 -0
  31. /package/dist/{classes → src/classes}/GeoIntl.d.ts +0 -0
  32. /package/dist/{classes → src/classes}/GeoPhone.d.ts +0 -0
  33. /package/dist/{classes → src/classes}/Global.d.ts +0 -0
  34. /package/dist/{classes → src/classes}/Hash.d.ts +0 -0
  35. /package/dist/{classes → src/classes}/HashInstance.d.ts +0 -0
  36. /package/dist/{classes → src/classes}/Icons.d.ts +0 -0
  37. /package/dist/{classes → src/classes}/Loading.d.ts +0 -0
  38. /package/dist/{classes → src/classes}/LoadingInstance.d.ts +0 -0
  39. /package/dist/{classes → src/classes}/Meta.d.ts +0 -0
  40. /package/dist/{classes → src/classes}/MetaManager.d.ts +0 -0
  41. /package/dist/{classes → src/classes}/MetaOg.d.ts +0 -0
  42. /package/dist/{classes → src/classes}/MetaStatic.d.ts +0 -0
  43. /package/dist/{classes → src/classes}/MetaTwitter.d.ts +0 -0
  44. /package/dist/{classes → src/classes}/ResumableTimer.d.ts +0 -0
  45. /package/dist/{classes → src/classes}/ScrollbarWidth.d.ts +0 -0
  46. /package/dist/{classes → src/classes}/SearchList.d.ts +0 -0
  47. /package/dist/{classes → src/classes}/SearchListData.d.ts +0 -0
  48. /package/dist/{classes → src/classes}/SearchListItem.d.ts +0 -0
  49. /package/dist/{classes → src/classes}/SearchListMatcher.d.ts +0 -0
  50. /package/dist/{classes → src/classes}/SearchListOptions.d.ts +0 -0
  51. /package/dist/{classes → src/classes}/ServerStorage.d.ts +0 -0
  52. /package/dist/{classes → src/classes}/StorageCallback.d.ts +0 -0
  53. /package/dist/{classes → src/classes}/Translate.d.ts +0 -0
  54. /package/dist/{classes → src/classes}/TranslateFile.d.ts +0 -0
  55. /package/dist/{classes → src/classes}/TranslateInstance.d.ts +0 -0
  56. /package/dist/{functions → src/functions}/addTagHighlightMatch.d.ts +0 -0
  57. /package/dist/{functions → src/functions}/anyToString.d.ts +0 -0
  58. /package/dist/{functions → src/functions}/applyTemplate.d.ts +0 -0
  59. /package/dist/{functions → src/functions}/arrFill.d.ts +0 -0
  60. /package/dist/{functions → src/functions}/blobToBase64.d.ts +0 -0
  61. /package/dist/{functions → src/functions}/capitalize.d.ts +0 -0
  62. /package/dist/{functions → src/functions}/copyObject.d.ts +0 -0
  63. /package/dist/{functions → src/functions}/copyObjectLite.d.ts +0 -0
  64. /package/dist/{functions → src/functions}/createElement.d.ts +0 -0
  65. /package/dist/{functions → src/functions}/domQuerySelector.d.ts +0 -0
  66. /package/dist/{functions → src/functions}/domQuerySelectorAll.d.ts +0 -0
  67. /package/dist/{functions → src/functions}/encodeAttribute.d.ts +0 -0
  68. /package/dist/{functions → src/functions}/encodeLiteAttribute.d.ts +0 -0
  69. /package/dist/{functions → src/functions}/ensureMaxSize.d.ts +0 -0
  70. /package/dist/{functions → src/functions}/escapeExp.d.ts +0 -0
  71. /package/dist/{functions → src/functions}/eventStopPropagation.d.ts +0 -0
  72. /package/dist/{functions → src/functions}/executeFunction.d.ts +0 -0
  73. /package/dist/{functions → src/functions}/executePromise.d.ts +0 -0
  74. /package/dist/{functions → src/functions}/forEach.d.ts +0 -0
  75. /package/dist/{functions → src/functions}/frame.d.ts +0 -0
  76. /package/dist/{functions → src/functions}/getArrayHighlightMatch.d.ts +0 -0
  77. /package/dist/{functions → src/functions}/getAttributes.d.ts +0 -0
  78. /package/dist/{functions → src/functions}/getClipboardData.d.ts +0 -0
  79. /package/dist/{functions → src/functions}/getColumn.d.ts +0 -0
  80. /package/dist/{functions → src/functions}/getCurrentDate.d.ts +0 -0
  81. /package/dist/{functions → src/functions}/getCurrentTime.d.ts +0 -0
  82. /package/dist/{functions → src/functions}/getElement.d.ts +0 -0
  83. /package/dist/{functions → src/functions}/getElementId.d.ts +0 -0
  84. /package/dist/{functions → src/functions}/getElementImage.d.ts +0 -0
  85. /package/dist/{functions → src/functions}/getElementItem.d.ts +0 -0
  86. /package/dist/{functions → src/functions}/getElementOrWindow.d.ts +0 -0
  87. /package/dist/{functions → src/functions}/getElementSafeScript.d.ts +0 -0
  88. /package/dist/{functions → src/functions}/getExactSearchExp.d.ts +0 -0
  89. /package/dist/{functions → src/functions}/getExp.d.ts +0 -0
  90. /package/dist/{functions → src/functions}/getHydrationData.d.ts +0 -0
  91. /package/dist/{functions → src/functions}/getItemByPath.d.ts +0 -0
  92. /package/dist/{functions → src/functions}/getKey.d.ts +0 -0
  93. /package/dist/{functions → src/functions}/getLengthOfAllArray.d.ts +0 -0
  94. /package/dist/{functions → src/functions}/getMaxLengthAllArray.d.ts +0 -0
  95. /package/dist/{functions → src/functions}/getMinLengthAllArray.d.ts +0 -0
  96. /package/dist/{functions → src/functions}/getMouseClient.d.ts +0 -0
  97. /package/dist/{functions → src/functions}/getMouseClientX.d.ts +0 -0
  98. /package/dist/{functions → src/functions}/getMouseClientY.d.ts +0 -0
  99. /package/dist/{functions → src/functions}/getObjectByKeys.d.ts +0 -0
  100. /package/dist/{functions → src/functions}/getObjectNoUndefined.d.ts +0 -0
  101. /package/dist/{functions → src/functions}/getObjectOrNone.d.ts +0 -0
  102. /package/dist/{functions → src/functions}/getOnlyText.d.ts +0 -0
  103. /package/dist/{functions → src/functions}/getRandomText.d.ts +0 -0
  104. /package/dist/{functions → src/functions}/getRequestString.d.ts +0 -0
  105. /package/dist/{functions → src/functions}/getSearchExp.d.ts +0 -0
  106. /package/dist/{functions → src/functions}/getSeparatingSearchExp.d.ts +0 -0
  107. /package/dist/{functions → src/functions}/getStepPercent.d.ts +0 -0
  108. /package/dist/{functions → src/functions}/getStepValue.d.ts +0 -0
  109. /package/dist/{functions → src/functions}/goScroll.d.ts +0 -0
  110. /package/dist/{functions → src/functions}/goScrollSmooth.d.ts +0 -0
  111. /package/dist/{functions → src/functions}/goScrollTo.d.ts +0 -0
  112. /package/dist/{functions → src/functions}/handleShare.d.ts +0 -0
  113. /package/dist/{functions → src/functions}/inArray.d.ts +0 -0
  114. /package/dist/{functions → src/functions}/initScrollbarOffset.d.ts +0 -0
  115. /package/dist/{functions → src/functions}/intersectKey.d.ts +0 -0
  116. /package/dist/{functions → src/functions}/isApiSuccess.d.ts +0 -0
  117. /package/dist/{functions → src/functions}/isArray.d.ts +0 -0
  118. /package/dist/{functions → src/functions}/isDifferent.d.ts +0 -0
  119. /package/dist/{functions → src/functions}/isDomData.d.ts +0 -0
  120. /package/dist/{functions → src/functions}/isDomRuntime.d.ts +0 -0
  121. /package/dist/{functions → src/functions}/isElementVisible.d.ts +0 -0
  122. /package/dist/{functions → src/functions}/isEnter.d.ts +0 -0
  123. /package/dist/{functions → src/functions}/isFilled.d.ts +0 -0
  124. /package/dist/{functions → src/functions}/isFloat.d.ts +0 -0
  125. /package/dist/{functions → src/functions}/isFunction.d.ts +0 -0
  126. /package/dist/{functions → src/functions}/isInDom.d.ts +0 -0
  127. /package/dist/{functions → src/functions}/isInput.d.ts +0 -0
  128. /package/dist/{functions → src/functions}/isIntegerBetween.d.ts +0 -0
  129. /package/dist/{functions → src/functions}/isNull.d.ts +0 -0
  130. /package/dist/{functions → src/functions}/isNumber.d.ts +0 -0
  131. /package/dist/{functions → src/functions}/isObject.d.ts +0 -0
  132. /package/dist/{functions → src/functions}/isObjectNotArray.d.ts +0 -0
  133. /package/dist/{functions → src/functions}/isOnLine.d.ts +0 -0
  134. /package/dist/{functions → src/functions}/isSelected.d.ts +0 -0
  135. /package/dist/{functions → src/functions}/isSelectedByList.d.ts +0 -0
  136. /package/dist/{functions → src/functions}/isShare.d.ts +0 -0
  137. /package/dist/{functions → src/functions}/isString.d.ts +0 -0
  138. /package/dist/{functions → src/functions}/isWindow.d.ts +0 -0
  139. /package/dist/{functions → src/functions}/random.d.ts +0 -0
  140. /package/dist/{functions → src/functions}/removeCommonPrefix.d.ts +0 -0
  141. /package/dist/{functions → src/functions}/replaceComponentName.d.ts +0 -0
  142. /package/dist/{functions → src/functions}/replaceRecursive.d.ts +0 -0
  143. /package/dist/{functions → src/functions}/replaceTemplate.d.ts +0 -0
  144. /package/dist/{functions → src/functions}/resizeImageByMax.d.ts +0 -0
  145. /package/dist/{functions → src/functions}/secondToTime.d.ts +0 -0
  146. /package/dist/{functions → src/functions}/setElementItem.d.ts +0 -0
  147. /package/dist/{functions → src/functions}/setValues.d.ts +0 -0
  148. /package/dist/{functions → src/functions}/sleep.d.ts +0 -0
  149. /package/dist/{functions → src/functions}/splice.d.ts +0 -0
  150. /package/dist/{functions → src/functions}/strFill.d.ts +0 -0
  151. /package/dist/{functions → src/functions}/strSplit.d.ts +0 -0
  152. /package/dist/{functions → src/functions}/toArray.d.ts +0 -0
  153. /package/dist/{functions → src/functions}/toCamelCase.d.ts +0 -0
  154. /package/dist/{functions → src/functions}/toCamelCaseFirst.d.ts +0 -0
  155. /package/dist/{functions → src/functions}/toDate.d.ts +0 -0
  156. /package/dist/{functions → src/functions}/toKebabCase.d.ts +0 -0
  157. /package/dist/{functions → src/functions}/toNumber.d.ts +0 -0
  158. /package/dist/{functions → src/functions}/toNumberByMax.d.ts +0 -0
  159. /package/dist/{functions → src/functions}/toPercent.d.ts +0 -0
  160. /package/dist/{functions → src/functions}/toPercentBy100.d.ts +0 -0
  161. /package/dist/{functions → src/functions}/toString.d.ts +0 -0
  162. /package/dist/{functions → src/functions}/transformation.d.ts +0 -0
  163. /package/dist/{functions → src/functions}/uint8ArrayToBase64.d.ts +0 -0
  164. /package/dist/{functions → src/functions}/uniqueArray.d.ts +0 -0
  165. /package/dist/{functions → src/functions}/writeClipboardData.d.ts +0 -0
  166. /package/dist/{library.d.ts → src/library.d.ts} +0 -0
  167. /package/dist/{media → src/media}/errorCauseList.d.ts +0 -0
  168. /package/dist/{types → src/types}/apiTypes.d.ts +0 -0
  169. /package/dist/{types → src/types}/basicTypes.d.ts +0 -0
  170. /package/dist/{types → src/types}/errorCenter.d.ts +0 -0
  171. /package/dist/{types → src/types}/formattersTypes.d.ts +0 -0
  172. /package/dist/{types → src/types}/geoTypes.d.ts +0 -0
  173. /package/dist/{types → src/types}/metaTypes.d.ts +0 -0
  174. /package/dist/{types → src/types}/searchTypes.d.ts +0 -0
  175. /package/dist/{types → src/types}/translateTypes.d.ts +0 -0
package/dist/library.js CHANGED
@@ -151,7 +151,7 @@ function se() {
151
151
  return s() && location.href.startsWith("data:");
152
152
  }
153
153
  //#endregion
154
- //#region \0@oxc-project+runtime@0.128.0/helpers/typeof.js
154
+ //#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
155
155
  function S(e) {
156
156
  "@babel/helpers - typeof";
157
157
  return S = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -161,7 +161,7 @@ function S(e) {
161
161
  }, S(e);
162
162
  }
163
163
  //#endregion
164
- //#region \0@oxc-project+runtime@0.128.0/helpers/toPrimitive.js
164
+ //#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
165
165
  function ce(e, t) {
166
166
  if (S(e) != "object" || !e) return e;
167
167
  var n = e[Symbol.toPrimitive];
@@ -173,13 +173,13 @@ function ce(e, t) {
173
173
  return (t === "string" ? String : Number)(e);
174
174
  }
175
175
  //#endregion
176
- //#region \0@oxc-project+runtime@0.128.0/helpers/toPropertyKey.js
176
+ //#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
177
177
  function le(e) {
178
178
  var t = ce(e, "string");
179
179
  return S(t) == "symbol" ? t : t + "";
180
180
  }
181
181
  //#endregion
182
- //#region \0@oxc-project+runtime@0.128.0/helpers/defineProperty.js
182
+ //#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
183
183
  function C(e, t, n) {
184
184
  return (t = le(t)) in e ? Object.defineProperty(e, t, {
185
185
  value: n,
@@ -220,7 +220,7 @@ var ue = class {
220
220
  }
221
221
  }, de = class {
222
222
  constructor(e, t = new ue()) {
223
- C(this, "causes", []), this.handler = t, e && this.addList(e);
223
+ C(this, "handler", void 0), C(this, "causes", []), this.handler = t, e && this.addList(e);
224
224
  }
225
225
  has(e, t) {
226
226
  return !!this.get(e, t);
@@ -536,7 +536,7 @@ var _e = "ui-storage", ve = () => T.get("__ui:data-storage__", () => ({})), E =
536
536
  _e = e;
537
537
  }
538
538
  constructor(e, t = !1, n = w.getItem()) {
539
- C(this, "value", void 0), C(this, "age", void 0), this.name = e, this.isSession = t, this.errorCenter = n;
539
+ C(this, "name", void 0), C(this, "isSession", void 0), C(this, "errorCenter", void 0), C(this, "value", void 0), C(this, "age", void 0), this.name = e, this.isSession = t, this.errorCenter = n;
540
540
  let r = `${t ? "session" : "storage"}#${e}`, i = ve();
541
541
  if (r in i) return i[r];
542
542
  this.make(), i[r] = this;
@@ -779,7 +779,7 @@ function A(e) {
779
779
  //#region src/classes/EventItem.ts
780
780
  var Ce = class {
781
781
  constructor(e, n = ["click"], r, i, a) {
782
- C(this, "element", void 0), C(this, "elementControl", void 0), C(this, "elementControlEdit", void 0), C(this, "type", void 0), C(this, "listenerRecent", (e) => {
782
+ C(this, "listener", void 0), C(this, "options", void 0), C(this, "detail", void 0), C(this, "element", void 0), C(this, "elementControl", void 0), C(this, "elementControlEdit", void 0), C(this, "type", void 0), C(this, "listenerRecent", (e) => {
783
783
  if (Se(this.elementControl)) {
784
784
  var n, r;
785
785
  (n = this.listener) == null || n.call(this.element, e, this.detail), t(this.options) && (r = this.options) != null && r.once && this.stop();
@@ -871,7 +871,7 @@ var Ce = class {
871
871
  }
872
872
  }, we = "ui-loading", Te = class {
873
873
  constructor(e = we) {
874
- C(this, "value", 0), C(this, "event", void 0), C(this, "registrationList", []), this.eventName = e, s() && (this.event = new Ce(window, this.eventName));
874
+ C(this, "eventName", void 0), C(this, "value", 0), C(this, "event", void 0), C(this, "registrationList", []), this.eventName = e, s() && (this.event = new Ce(window, this.eventName));
875
875
  }
876
876
  is() {
877
877
  return this.value > 0;
@@ -1081,7 +1081,7 @@ var Oe = class {
1081
1081
  "message"
1082
1082
  ], Ae = class {
1083
1083
  constructor(e, t, n) {
1084
- C(this, "data", void 0), C(this, "dataMod", void 0), this.apiFetch = e, this.query = t, this.end = n;
1084
+ C(this, "apiFetch", void 0), C(this, "query", void 0), C(this, "end", void 0), C(this, "data", void 0), C(this, "dataMod", void 0), this.apiFetch = e, this.query = t, this.end = n;
1085
1085
  }
1086
1086
  async init() {
1087
1087
  return this.data = await this.readData(), this;
@@ -1218,7 +1218,7 @@ async function Ie(e, ...t) {
1218
1218
  //#region src/classes/ApiResponse.ts
1219
1219
  var Le = "d-response-loading", Re = class {
1220
1220
  constructor(e) {
1221
- C(this, "first", []), C(this, "response", []), C(this, "loading", void 0), C(this, "devMode", !1), this.requestDefault = e;
1221
+ C(this, "requestDefault", void 0), C(this, "first", []), C(this, "response", []), C(this, "loading", void 0), C(this, "devMode", !1), this.requestDefault = e;
1222
1222
  }
1223
1223
  get(e = "", t, n, r) {
1224
1224
  return this.response.find((i) => !this.isDisable(i) && this.isPath(i, e) && t === i.method && this.isFirst(i, r) && this.isResponse(i, n) ? (this.isDevMode(r) && console.warn(`Response type: ${i.path}`), this.first.push(i), !0) : !1);
@@ -1292,7 +1292,7 @@ var Le = "d-response-loading", Re = class {
1292
1292
  }
1293
1293
  }, ze = class {
1294
1294
  constructor(e = "/api/", t = {}) {
1295
- C(this, "headers", void 0), C(this, "requestDefault", void 0), C(this, "status", void 0), C(this, "response", void 0), C(this, "preparation", void 0), C(this, "loading", void 0), C(this, "errorCenter", void 0), C(this, "hydration", void 0), C(this, "timeout", 16e3), C(this, "origin", void 0), this.url = e;
1295
+ C(this, "url", void 0), C(this, "headers", void 0), C(this, "requestDefault", void 0), C(this, "status", void 0), C(this, "response", void 0), C(this, "preparation", void 0), C(this, "loading", void 0), C(this, "errorCenter", void 0), C(this, "hydration", void 0), C(this, "timeout", 16e3), C(this, "origin", void 0), this.url = e;
1296
1296
  let { headersClass: n = Me, requestDefaultClass: r = je, statusClass: i = Oe, responseClass: a = Re, preparationClass: o = Fe, loadingClass: s = j.getItem(), errorCenterClass: c = w.getItem(), hydrationClass: l = Pe } = t;
1297
1297
  this.headers = new n(), this.requestDefault = new r(), this.status = new i(), this.response = new a(this.requestDefault), this.preparation = new o(), this.loading = s, this.errorCenter = c, this.hydration = new l(), this.hydration.initResponse(this.response);
1298
1298
  }
@@ -1575,7 +1575,7 @@ var Le = "d-response-loading", Re = class {
1575
1575
  }
1576
1576
  }, Be = class {
1577
1577
  constructor(e, t, n, r = w.getItem()) {
1578
- if (C(this, "channel", void 0), C(this, "update", (e) => {
1578
+ if (C(this, "callback", void 0), C(this, "callbackError", void 0), C(this, "channel", void 0), C(this, "update", (e) => {
1579
1579
  var t;
1580
1580
  return (t = this.callback) == null || t.call(this, e), this;
1581
1581
  }), C(this, "updateError", (e) => {
@@ -1610,7 +1610,7 @@ var Le = "d-response-loading", Re = class {
1610
1610
  }
1611
1611
  }, Ve = () => new E("__ui:broadcast-name__").get(() => `name_${f(1e6, 9999999)}`), He = class {
1612
1612
  constructor(e) {
1613
- C(this, "cache", void 0), C(this, "cacheOld", void 0), C(this, "comparisons", []), this.callback = e;
1613
+ C(this, "callback", void 0), C(this, "cache", void 0), C(this, "cacheOld", void 0), C(this, "comparisons", []), this.callback = e;
1614
1614
  }
1615
1615
  getCache(e) {
1616
1616
  return this.isUpdate(e) && (this.cacheOld = this.cache, this.setCache()), this.cache;
@@ -1817,7 +1817,7 @@ var Ze = () => T.get("__ui:cookie-items__", () => ({})), Qe = class e {
1817
1817
  return (n = (r = Ze()) == null ? void 0 : r[t]) == null ? new e(t) : n;
1818
1818
  }
1819
1819
  constructor(e) {
1820
- C(this, "value", void 0), C(this, "options", {}), this.name = e;
1820
+ C(this, "name", void 0), C(this, "value", void 0), C(this, "options", {}), this.name = e;
1821
1821
  let t = Ze();
1822
1822
  if (e in t) return t[e];
1823
1823
  this.value = I.get(this.name), t[e] = this;
@@ -1868,7 +1868,7 @@ var R = class e {
1868
1868
  return n in B ? B[n] : new e(t);
1869
1869
  }
1870
1870
  constructor(e = D.getLocation(), t = w.getItem()) {
1871
- C(this, "geo", void 0), this.errorCenter = t, this.geo = D.find(e);
1871
+ C(this, "errorCenter", void 0), C(this, "geo", void 0), this.errorCenter = t, this.geo = D.find(e);
1872
1872
  let n = this.getLocation();
1873
1873
  if (n in B) return B[n];
1874
1874
  z[e] = n, B[n] = this;
@@ -2197,7 +2197,7 @@ var R = class e {
2197
2197
  }
2198
2198
  }, z = {}, B = {}, et = class e {
2199
2199
  constructor(e, t = "date", n = D.getLocation()) {
2200
- C(this, "date", void 0), C(this, "hour24", !1), C(this, "watch", void 0), this.type = t, this.code = n, this.date = L(e), isNaN(this.date.getTime()) && w.on({
2200
+ C(this, "type", void 0), C(this, "code", void 0), C(this, "date", void 0), C(this, "hour24", !1), C(this, "watch", void 0), this.type = t, this.code = n, this.date = L(e), isNaN(this.date.getTime()) && w.on({
2201
2201
  group: "intl",
2202
2202
  code: "invalid"
2203
2203
  });
@@ -2475,7 +2475,7 @@ var U = /* @__PURE__ */ function(e) {
2475
2475
  return e.currency = "currency", e.date = "date", e.name = "name", e.number = "number", e.plural = "plural", e.unit = "unit", e;
2476
2476
  }({}), tt = class {
2477
2477
  constructor(e, t) {
2478
- this.options = e, this.list = t;
2478
+ C(this, "options", void 0), C(this, "list", void 0), this.options = e, this.list = t;
2479
2479
  }
2480
2480
  is() {
2481
2481
  return !!this.list;
@@ -2545,7 +2545,7 @@ var U = /* @__PURE__ */ function(e) {
2545
2545
  }
2546
2546
  }, nt = "f", rt = class e {
2547
2547
  constructor(e = D.getLocation()) {
2548
- this.code = e;
2548
+ C(this, "code", void 0), this.code = e;
2549
2549
  }
2550
2550
  get(t = this.code) {
2551
2551
  let n = D.find(t);
@@ -3138,7 +3138,7 @@ function G(e) {
3138
3138
  //#region src/classes/MetaManager.ts
3139
3139
  var K = class {
3140
3140
  constructor(e, t = !1) {
3141
- C(this, "items", {}), this.listMeta = e, this.isProperty = t, this.update();
3141
+ C(this, "listMeta", void 0), C(this, "isProperty", void 0), C(this, "items", {}), this.listMeta = e, this.isProperty = t, this.update();
3142
3142
  }
3143
3143
  getListMeta() {
3144
3144
  return this.listMeta;
@@ -3461,7 +3461,7 @@ var K = class {
3461
3461
  }
3462
3462
  }, Tt = class {
3463
3463
  constructor(e, t = 320, n = !1) {
3464
- C(this, "timerId", void 0), C(this, "startTime", void 0), C(this, "remaining", void 0), C(this, "completed", !1), this.callback = e, this.delay = t, n || this.resume();
3464
+ C(this, "callback", void 0), C(this, "delay", void 0), C(this, "timerId", void 0), C(this, "startTime", void 0), C(this, "remaining", void 0), C(this, "completed", !1), this.callback = e, this.delay = t, n || this.resume();
3465
3465
  }
3466
3466
  resume() {
3467
3467
  if (this.timerId || this.completed) return this;
@@ -3564,7 +3564,7 @@ function jt(e, t, n = "sys-highlight-match", r = !1) {
3564
3564
  //#region src/classes/SearchListData.ts
3565
3565
  var Mt = class {
3566
3566
  constructor(e, t, n, r) {
3567
- C(this, "listCache", void 0), this.list = e, this.columns = t, this.item = n, this.options = r;
3567
+ C(this, "list", void 0), C(this, "columns", void 0), C(this, "item", void 0), C(this, "options", void 0), C(this, "listCache", void 0), this.list = e, this.columns = t, this.item = n, this.options = r;
3568
3568
  }
3569
3569
  is() {
3570
3570
  return !!(this.list && this.columns);
@@ -3639,7 +3639,7 @@ var Mt = class {
3639
3639
  }
3640
3640
  }, Nt = class {
3641
3641
  constructor(e, t) {
3642
- this.value = e, this.options = t;
3642
+ C(this, "value", void 0), C(this, "options", void 0), this.value = e, this.options = t;
3643
3643
  }
3644
3644
  is() {
3645
3645
  return !!this.value;
@@ -3680,7 +3680,7 @@ function It(e, t = 128) {
3680
3680
  //#region src/classes/SearchListMatcher.ts
3681
3681
  var Lt = class {
3682
3682
  constructor(e, t) {
3683
- C(this, "matcher", void 0), this.item = e, this.options = t, this.initMatcher();
3683
+ C(this, "item", void 0), C(this, "options", void 0), C(this, "matcher", void 0), this.item = e, this.options = t, this.initMatcher();
3684
3684
  }
3685
3685
  is() {
3686
3686
  return !!this.matcher;
@@ -3699,7 +3699,7 @@ var Lt = class {
3699
3699
  }
3700
3700
  }, Rt = class {
3701
3701
  constructor(e) {
3702
- this.options = e;
3702
+ C(this, "options", void 0), this.options = e;
3703
3703
  }
3704
3704
  getOptions() {
3705
3705
  return this.options || {};
@@ -3774,7 +3774,7 @@ var Lt = class {
3774
3774
  return new e(t, n);
3775
3775
  }
3776
3776
  constructor(e, t = "main") {
3777
- C(this, "callbacks", []), C(this, "loading", !1), this.name = e, this.group = t;
3777
+ C(this, "name", void 0), C(this, "group", void 0), C(this, "callbacks", []), C(this, "loading", !1), this.name = e, this.group = t;
3778
3778
  let n = `${t}:${e}`, r = Bt();
3779
3779
  if (n in r) return r[n];
3780
3780
  r[n] = this;
@@ -3852,7 +3852,7 @@ var Lt = class {
3852
3852
  return i(e) ? !0 : !!(e && n(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || !(e == null || (t = e.statusObject) == null) && t.status && /^2/.test(String(e.statusObject.status)) || !("status" in e) && !("success" in e) && !("statusObject" in e) && /^2/.test(String(P.getStatus().getStatus()))));
3853
3853
  }, Kt = "global", qt = 160, Jt = class {
3854
3854
  constructor(e, t = () => D.getLanguage(), n = () => D.getLocation()) {
3855
- C(this, "files", {}), C(this, "data", {}), this.language = t, this.location = n, e && this.add(e);
3855
+ C(this, "language", void 0), C(this, "location", void 0), C(this, "files", {}), C(this, "data", {}), this.language = t, this.location = n, e && this.add(e);
3856
3856
  }
3857
3857
  isFile() {
3858
3858
  return Object.keys(this.files).length > 0 && this.getIndex() !== void 0;
@@ -3893,7 +3893,7 @@ var Lt = class {
3893
3893
  }
3894
3894
  }, Yt = class {
3895
3895
  constructor(e = "/api/translate", t = "list", n = new Jt()) {
3896
- C(this, "data", {}), C(this, "cache", []), C(this, "resolveList", []), C(this, "timeout", void 0), C(this, "isReadApi", !0), this.url = e, this.propsName = t, this.files = n;
3896
+ C(this, "url", void 0), C(this, "propsName", void 0), C(this, "files", void 0), C(this, "data", {}), C(this, "cache", []), C(this, "resolveList", []), C(this, "timeout", void 0), C(this, "isReadApi", !0), this.url = e, this.propsName = t, this.files = n;
3897
3897
  }
3898
3898
  async get(e, t) {
3899
3899
  var n;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/functional-basic",
3
3
  "private": false,
4
- "version": "1.1.8",
4
+ "version": "1.1.9",
5
5
  "type": "module",
6
6
  "description": "Foundational utility library for modern web development — HTTP client, geolocation, i18n, SEO meta tags, caching, storage, DOM utilities, and more. Framework-agnostic, zero dependencies, TypeScript-first.",
7
7
  "keywords": [
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "scripts": {
51
51
  "dev": "vite",
52
- "build": "vue-tsc -b && vite build",
52
+ "build": "vite build",
53
53
  "preview": "vite preview",
54
54
  "test": "vitest",
55
55
  "library": "dxt-library",
@@ -70,23 +70,19 @@
70
70
  ],
71
71
  "main": "dist/library.js",
72
72
  "module": "dist/library.js",
73
- "types": "dist/library.d.ts",
73
+ "types": "dist/src/library.d.ts",
74
74
  "exports": {
75
75
  ".": {
76
76
  "import": "./dist/library.js",
77
- "types": "./dist/library.d.ts"
77
+ "types": "./dist/src/library.d.ts"
78
78
  },
79
- "./ai-types": "./ai-types.txt",
80
- "./style": "./dist/style.css",
81
- "./types/*": "./dist/*",
82
- "./types/**/*.d.ts": "./dist/**/*.d.ts"
79
+ "./types/*": "./dist/src/*"
83
80
  },
84
81
  "engines": {
85
82
  "node": ">=20.0.0"
86
83
  },
87
- "peerDependenciesMeta": {},
88
- "devDependencies": {
89
- "@types/node": "^25.6.0"
84
+ "peerDependencies": {
85
+ "@dxtmisha/media": "*"
90
86
  },
91
87
  "sideEffects": false
92
88
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes