@solar-taro/ui-vant 1.3.2 → 1.3.3

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 (151) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/cascader/index.scss +7 -2
  3. package/cascader/index.vue.d.ts +102 -0
  4. package/cascader-picker/index.vue.d.ts +6 -6
  5. package/date-range-picker/index.vue.d.ts +3 -3
  6. package/index.d.ts +1 -0
  7. package/index.js +24 -22
  8. package/index10.js +50 -243
  9. package/index100.js +17 -4
  10. package/index101.js +10 -4
  11. package/index102.js +5 -5
  12. package/index103.js +4 -6
  13. package/index104.js +5 -10
  14. package/index105.js +5 -6
  15. package/index106.js +6 -6
  16. package/index107.js +10 -18
  17. package/index108.js +6 -4
  18. package/index109.js +793 -4
  19. package/index11.js +247 -38
  20. package/index110.js +6 -3
  21. package/index111.js +16 -2
  22. package/index112.js +4 -14
  23. package/index113.js +5 -8
  24. package/index114.js +3 -5
  25. package/index115.js +2 -4
  26. package/index116.js +14 -5
  27. package/index117.js +8 -6
  28. package/index118.js +5 -5
  29. package/index119.js +6 -3
  30. package/index12.js +44 -17
  31. package/index120.js +5 -17
  32. package/index121.js +5 -5
  33. package/index122.js +4 -2
  34. package/index123.js +3 -4
  35. package/index124.js +17 -9
  36. package/index125.js +5 -5
  37. package/index126.js +31 -4
  38. package/index127.js +3 -5
  39. package/index128.js +4 -3
  40. package/index129.js +9 -4
  41. package/index13.js +15 -25
  42. package/index130.js +5 -4
  43. package/index131.js +4 -10
  44. package/index132.js +5 -6
  45. package/index133.js +3 -7
  46. package/index134.js +3 -3
  47. package/index135.js +4 -7
  48. package/index136.js +11 -3
  49. package/index137.js +9 -0
  50. package/index138.js +9 -0
  51. package/index139.js +7 -0
  52. package/index14.js +28 -4
  53. package/index140.js +10 -0
  54. package/index141.js +5 -0
  55. package/index15.js +5 -64
  56. package/index16.js +64 -2
  57. package/index17.js +1 -1
  58. package/index18.js +1 -1
  59. package/index19.js +1 -1
  60. package/index2.js +1 -1
  61. package/index20.js +1 -1
  62. package/index21.js +1 -1
  63. package/index22.js +1 -1
  64. package/index23.js +1 -1
  65. package/index24.js +1 -1
  66. package/index25.js +3 -9
  67. package/index26.js +2 -9
  68. package/index27.js +2 -4
  69. package/index28.js +1 -1
  70. package/index29.js +9 -62
  71. package/index3.js +165 -118
  72. package/index30.js +8 -3
  73. package/index31.js +14 -8
  74. package/index32.js +62 -6
  75. package/index33.js +3 -3
  76. package/index34.js +8 -2
  77. package/index35.js +6 -5
  78. package/index36.js +3 -9
  79. package/index37.js +1 -4
  80. package/index38.js +6 -4
  81. package/index39.js +10 -3
  82. package/index4.js +113 -157
  83. package/index40.js +4 -3
  84. package/index41.js +4 -8
  85. package/index42.js +3 -5
  86. package/index43.js +4 -5
  87. package/index44.js +7 -6
  88. package/index45.js +4 -5
  89. package/index46.js +5 -9
  90. package/index47.js +7 -5
  91. package/index48.js +5 -6
  92. package/index49.js +9 -5
  93. package/index5.js +166 -27
  94. package/index50.js +5 -10
  95. package/index51.js +6 -6
  96. package/index52.js +5 -18
  97. package/index53.js +9 -11
  98. package/index54.js +6 -6
  99. package/index55.js +17 -12
  100. package/index56.js +11 -3
  101. package/index57.js +6 -11
  102. package/index58.js +12 -7
  103. package/index59.js +3 -9
  104. package/index6.js +29 -95
  105. package/index60.js +11 -5
  106. package/index61.js +7 -5
  107. package/index62.js +10 -9
  108. package/index63.js +5 -15
  109. package/index64.js +5 -5
  110. package/index65.js +9 -6
  111. package/index66.js +15 -8
  112. package/index67.js +5 -6
  113. package/index68.js +5 -5
  114. package/index69.js +8 -5
  115. package/index7.js +93 -39
  116. package/index70.js +6 -6
  117. package/index71.js +5 -6
  118. package/index72.js +6 -26
  119. package/index73.js +6 -5
  120. package/index74.js +6 -39
  121. package/index75.js +26 -7
  122. package/index76.js +5 -5
  123. package/index77.js +39 -14
  124. package/index78.js +6 -7
  125. package/index79.js +5 -1
  126. package/index8.js +40 -263
  127. package/index80.js +15 -3
  128. package/index81.js +6 -11
  129. package/index82.js +2 -5
  130. package/index83.js +3 -3
  131. package/index84.js +13 -4
  132. package/index85.js +5 -4
  133. package/index86.js +3 -4
  134. package/index87.js +4 -4
  135. package/index88.js +4 -4
  136. package/index89.js +4 -15
  137. package/index9.js +262 -54
  138. package/index90.js +4 -14
  139. package/index91.js +4 -9
  140. package/index92.js +15 -3
  141. package/index93.js +13 -5
  142. package/index94.js +8 -5
  143. package/index95.js +3 -6
  144. package/index96.js +5 -7
  145. package/index97.js +5 -17
  146. package/index98.js +5 -10
  147. package/index99.js +7 -5
  148. package/opper-controller/index.scss +12 -0
  149. package/package.json +1 -1
  150. package/select-picker/index.vue.d.ts +4 -4
  151. package/selector/index.vue.d.ts +10 -10
package/index126.js CHANGED
@@ -1,7 +1,34 @@
1
- import a from "./index135.js";
2
- function e(t) {
3
- return a(this.__data__, t) > -1;
1
+ /**
2
+ * @vue/shared v3.5.13
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/
6
+ /*! #__NO_SIDE_EFFECTS__ */
7
+ // @__NO_SIDE_EFFECTS__
8
+ function p(t) {
9
+ const e = /* @__PURE__ */ Object.create(null);
10
+ for (const n of t.split(",")) e[n] = 1;
11
+ return (n) => n in e;
4
12
  }
13
+ process.env.NODE_ENV !== "production" && Object.freeze({});
14
+ process.env.NODE_ENV !== "production" && Object.freeze([]);
15
+ const l = Object.assign, o = Object.prototype.hasOwnProperty, b = (t, e) => o.call(t, e), O = Array.isArray, j = (t) => c(t) === "[object Map]", s = (t) => typeof t == "string", u = (t) => typeof t == "symbol", y = (t) => t !== null && typeof t == "object", r = Object.prototype.toString, c = (t) => r.call(t), h = (t) => c(t).slice(8, -1), g = (t) => s(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, i = (t) => {
16
+ const e = /* @__PURE__ */ Object.create(null);
17
+ return (n) => e[n] || (e[n] = t(n));
18
+ }, f = i((t) => t.charAt(0).toUpperCase() + t.slice(1)), N = (t, e) => !Object.is(t, e);
5
19
  export {
6
- e as default
20
+ f as capitalize,
21
+ l as extend,
22
+ N as hasChanged,
23
+ b as hasOwn,
24
+ O as isArray,
25
+ g as isIntegerKey,
26
+ j as isMap,
27
+ y as isObject,
28
+ s as isString,
29
+ u as isSymbol,
30
+ p as makeMap,
31
+ r as objectToString,
32
+ h as toRawType,
33
+ c as toTypeString
7
34
  };
package/index127.js CHANGED
@@ -1,8 +1,6 @@
1
- import e from "./index135.js";
2
- function d(s, i) {
3
- var t = this.__data__, a = e(t, s);
4
- return a < 0 ? (++this.size, t.push([s, i])) : t[a][1] = i, this;
1
+ function u(e, n) {
2
+ return e == null ? void 0 : e[n];
5
3
  }
6
4
  export {
7
- d as default
5
+ u as default
8
6
  };
package/index128.js CHANGED
@@ -1,5 +1,6 @@
1
- import r from "./index39.js";
2
- var a = r.Uint8Array;
1
+ function t() {
2
+ this.__data__ = [], this.size = 0;
3
+ }
3
4
  export {
4
- a as default
5
+ t as default
5
6
  };
package/index129.js CHANGED
@@ -1,7 +1,12 @@
1
- import t from "./index136.js";
2
- function e() {
3
- this.__data__ = t ? t(null) : {}, this.size = 0;
1
+ import s from "./index140.js";
2
+ var i = Array.prototype, l = i.splice;
3
+ function n(r) {
4
+ var e = this.__data__, a = s(e, r);
5
+ if (a < 0)
6
+ return !1;
7
+ var t = e.length - 1;
8
+ return a == t ? e.pop() : l.call(e, a, 1), --this.size, !0;
4
9
  }
5
10
  export {
6
- e as default
11
+ n as default
7
12
  };
package/index13.js CHANGED
@@ -1,31 +1,21 @@
1
- import { getCurrentInstance as s, nextTick as n } from "@tarojs/taro";
2
- const m = {
3
- mounted(c) {
4
- const { page: o } = s();
5
- n(() => {
6
- n(() => {
7
- const r = o.selectComponent(`#${c.id}`);
8
- r.setData({
9
- formatter: (e, t) => {
10
- switch (e) {
11
- case "year":
12
- return `${t}年`;
13
- case "month":
14
- return `${t}月`;
15
- case "day":
16
- return `${t}日`;
17
- case "hour":
18
- return `${t}时`;
19
- case "minute":
20
- return `${t}分`;
21
- }
22
- },
23
- filter: (e, t) => e === "minute" ? t.filter((i) => +i % 5 === 0) : t
24
- }), r.updateValue();
1
+ import { getCurrentInstance as o, nextTick as a } from "@tarojs/taro";
2
+ function c(e, t, n, p) {
3
+ e.selectComponent("#" + t).setData({ [n]: p });
4
+ }
5
+ const r = {
6
+ mounted(e, t) {
7
+ const { page: n } = o();
8
+ a(() => {
9
+ a(() => {
10
+ c(n, e.id, t.arg, t.value);
25
11
  });
26
12
  });
13
+ },
14
+ updated(e, t) {
15
+ const { page: n } = o();
16
+ c(n, e.id, t.arg, t.value);
27
17
  }
28
18
  };
29
19
  export {
30
- m as vDatetimePicker
20
+ r as vBindFn
31
21
  };
package/index130.js CHANGED
@@ -1,7 +1,8 @@
1
- function s(t) {
2
- var e = this.has(t) && delete this.__data__[t];
3
- return this.size -= e ? 1 : 0, e;
1
+ import d from "./index140.js";
2
+ function i(e) {
3
+ var t = this.__data__, a = d(t, e);
4
+ return a < 0 ? void 0 : t[a][1];
4
5
  }
5
6
  export {
6
- s as default
7
+ i as default
7
8
  };
package/index131.js CHANGED
@@ -1,13 +1,7 @@
1
- import e from "./index136.js";
2
- var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
3
- function h(a) {
4
- var r = this.__data__;
5
- if (e) {
6
- var t = r[a];
7
- return t === n ? void 0 : t;
8
- }
9
- return _.call(r, a) ? r[a] : void 0;
1
+ import a from "./index140.js";
2
+ function e(t) {
3
+ return a(this.__data__, t) > -1;
10
4
  }
11
5
  export {
12
- h as default
6
+ e as default
13
7
  };
package/index132.js CHANGED
@@ -1,9 +1,8 @@
1
- import r from "./index136.js";
2
- var e = Object.prototype, o = e.hasOwnProperty;
3
- function p(t) {
4
- var a = this.__data__;
5
- return r ? a[t] !== void 0 : o.call(a, t);
1
+ import e from "./index140.js";
2
+ function d(s, i) {
3
+ var t = this.__data__, a = e(t, s);
4
+ return a < 0 ? (++this.size, t.push([s, i])) : t[a][1] = i, this;
6
5
  }
7
6
  export {
8
- p as default
7
+ d as default
9
8
  };
package/index133.js CHANGED
@@ -1,9 +1,5 @@
1
- import e from "./index136.js";
2
- var h = "__lodash_hash_undefined__";
3
- function s(t, a) {
4
- var _ = this.__data__;
5
- return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
6
- }
1
+ import r from "./index42.js";
2
+ var a = r.Uint8Array;
7
3
  export {
8
- s as default
4
+ a as default
9
5
  };
package/index134.js CHANGED
@@ -1,6 +1,6 @@
1
- function e(t) {
2
- var o = typeof t;
3
- return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
1
+ import t from "./index141.js";
2
+ function e() {
3
+ this.__data__ = t ? t(null) : {}, this.size = 0;
4
4
  }
5
5
  export {
6
6
  e as default
package/index135.js CHANGED
@@ -1,10 +1,7 @@
1
- import r from "./index30.js";
2
- function o(t, n) {
3
- for (var e = t.length; e--; )
4
- if (r(t[e][0], n))
5
- return e;
6
- return -1;
1
+ function s(t) {
2
+ var e = this.has(t) && delete this.__data__[t];
3
+ return this.size -= e ? 1 : 0, e;
7
4
  }
8
5
  export {
9
- o as default
6
+ s as default
10
7
  };
package/index136.js CHANGED
@@ -1,5 +1,13 @@
1
- import e from "./index106.js";
2
- var a = e(Object, "create");
1
+ import e from "./index141.js";
2
+ var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
3
+ function h(a) {
4
+ var r = this.__data__;
5
+ if (e) {
6
+ var t = r[a];
7
+ return t === n ? void 0 : t;
8
+ }
9
+ return _.call(r, a) ? r[a] : void 0;
10
+ }
3
11
  export {
4
- a as default
12
+ h as default
5
13
  };
package/index137.js ADDED
@@ -0,0 +1,9 @@
1
+ import r from "./index141.js";
2
+ var e = Object.prototype, o = e.hasOwnProperty;
3
+ function p(t) {
4
+ var a = this.__data__;
5
+ return r ? a[t] !== void 0 : o.call(a, t);
6
+ }
7
+ export {
8
+ p as default
9
+ };
package/index138.js ADDED
@@ -0,0 +1,9 @@
1
+ import e from "./index141.js";
2
+ var h = "__lodash_hash_undefined__";
3
+ function s(t, a) {
4
+ var _ = this.__data__;
5
+ return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
6
+ }
7
+ export {
8
+ s as default
9
+ };
package/index139.js ADDED
@@ -0,0 +1,7 @@
1
+ function e(t) {
2
+ var o = typeof t;
3
+ return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
4
+ }
5
+ export {
6
+ e as default
7
+ };
package/index14.js CHANGED
@@ -1,7 +1,31 @@
1
- const r = (t, o) => {
2
- var e;
3
- t.setAttribute("readonly", (e = o.value) != null ? e : !0);
1
+ import { getCurrentInstance as s, nextTick as n } from "@tarojs/taro";
2
+ const m = {
3
+ mounted(c) {
4
+ const { page: o } = s();
5
+ n(() => {
6
+ n(() => {
7
+ const r = o.selectComponent(`#${c.id}`);
8
+ r.setData({
9
+ formatter: (e, t) => {
10
+ switch (e) {
11
+ case "year":
12
+ return `${t}年`;
13
+ case "month":
14
+ return `${t}月`;
15
+ case "day":
16
+ return `${t}日`;
17
+ case "hour":
18
+ return `${t}时`;
19
+ case "minute":
20
+ return `${t}分`;
21
+ }
22
+ },
23
+ filter: (e, t) => e === "minute" ? t.filter((i) => +i % 5 === 0) : t
24
+ }), r.updateValue();
25
+ });
26
+ });
27
+ }
4
28
  };
5
29
  export {
6
- r as vReadonly
30
+ m as vDatetimePicker
7
31
  };
package/index140.js ADDED
@@ -0,0 +1,10 @@
1
+ import r from "./index33.js";
2
+ function o(t, n) {
3
+ for (var e = t.length; e--; )
4
+ if (r(t[e][0], n))
5
+ return e;
6
+ return -1;
7
+ }
8
+ export {
9
+ o as default
10
+ };
package/index141.js ADDED
@@ -0,0 +1,5 @@
1
+ import e from "./index110.js";
2
+ var a = e(Object, "create");
3
+ export {
4
+ a as default
5
+ };
package/index15.js CHANGED
@@ -1,66 +1,7 @@
1
- const i = {};
2
- function e(r) {
3
- Object.assign(i, r);
4
- }
5
- class a {
6
- constructor() {
7
- this.duration = 2e3;
8
- }
9
- primary(n, t = "#van-notify") {
10
- return i.notify({ type: "primary", message: n, duration: this.duration, selector: t });
11
- }
12
- success(n, t = "#van-notify") {
13
- return i.notify({ type: "success", message: n, duration: this.duration, selector: t });
14
- }
15
- warning(n, t = "#van-notify") {
16
- return i.notify({ type: "warning", message: n, duration: this.duration, selector: t });
17
- }
18
- danger(n, t = "#van-notify") {
19
- return i.notify({ type: "danger", message: n, duration: this.duration, selector: t });
20
- }
21
- dismiss() {
22
- return i.notify.clear();
23
- }
24
- }
25
- class s {
26
- /**
27
- * 展示确认对话框
28
- * @param title
29
- * @param message
30
- * @param options 其他 dialog 选项
31
- */
32
- confirm(n, t, o) {
33
- return i.dialog.confirm({
34
- title: n,
35
- message: t,
36
- ...o
37
- });
38
- }
39
- /**
40
- * 展示警告对话框
41
- * @param title
42
- * @param message
43
- * @param options 其他 dialog 选项
44
- */
45
- alert(n, t, o) {
46
- return i.dialog.alert({
47
- title: n,
48
- message: t,
49
- ...o
50
- });
51
- }
52
- /**
53
- * 关闭对话框
54
- */
55
- dismiss() {
56
- return i.dialog.close();
57
- }
58
- }
59
- const u = new s(), c = new a();
1
+ const r = (t, o) => {
2
+ var e;
3
+ t.setAttribute("readonly", (e = o.value) != null ? e : !0);
4
+ };
60
5
  export {
61
- s as Dialog,
62
- a as Notify,
63
- u as dialog,
64
- c as notify,
65
- e as setupOverlay
6
+ r as vReadonly
66
7
  };
package/index16.js CHANGED
@@ -1,4 +1,66 @@
1
- import f from "./index5.js";
1
+ const i = {};
2
+ function e(r) {
3
+ Object.assign(i, r);
4
+ }
5
+ class a {
6
+ constructor() {
7
+ this.duration = 2e3;
8
+ }
9
+ primary(n, t = "#van-notify") {
10
+ return i.notify({ type: "primary", message: n, duration: this.duration, selector: t });
11
+ }
12
+ success(n, t = "#van-notify") {
13
+ return i.notify({ type: "success", message: n, duration: this.duration, selector: t });
14
+ }
15
+ warning(n, t = "#van-notify") {
16
+ return i.notify({ type: "warning", message: n, duration: this.duration, selector: t });
17
+ }
18
+ danger(n, t = "#van-notify") {
19
+ return i.notify({ type: "danger", message: n, duration: this.duration, selector: t });
20
+ }
21
+ dismiss() {
22
+ return i.notify.clear();
23
+ }
24
+ }
25
+ class s {
26
+ /**
27
+ * 展示确认对话框
28
+ * @param title
29
+ * @param message
30
+ * @param options 其他 dialog 选项
31
+ */
32
+ confirm(n, t, o) {
33
+ return i.dialog.confirm({
34
+ title: n,
35
+ message: t,
36
+ ...o
37
+ });
38
+ }
39
+ /**
40
+ * 展示警告对话框
41
+ * @param title
42
+ * @param message
43
+ * @param options 其他 dialog 选项
44
+ */
45
+ alert(n, t, o) {
46
+ return i.dialog.alert({
47
+ title: n,
48
+ message: t,
49
+ ...o
50
+ });
51
+ }
52
+ /**
53
+ * 关闭对话框
54
+ */
55
+ dismiss() {
56
+ return i.dialog.close();
57
+ }
58
+ }
59
+ const u = new s(), c = new a();
2
60
  export {
3
- f as default
61
+ s as Dialog,
62
+ a as Notify,
63
+ u as dialog,
64
+ c as notify,
65
+ e as setupOverlay
4
66
  };
package/index17.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index18.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index19.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index11.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index2.js CHANGED
@@ -1,4 +1,4 @@
1
- import { vReadonly as r } from "./index14.js";
1
+ import { vReadonly as r } from "./index15.js";
2
2
  const a = {
3
3
  install(o) {
4
4
  o.directive("readonly", r);
package/index20.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index10.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index10.js";
1
+ import f from "./index12.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index22.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index23.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index11.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index24.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index25.js CHANGED
@@ -1,12 +1,6 @@
1
- import "rxjs";
2
- import { ref as i } from "vue";
3
- import { takeUntilDestroyed as p } from "./index105.js";
4
- function c(t, o) {
5
- const e = i(o);
6
- return (typeof t == "function" ? t() : t).pipe(p()).subscribe((r) => {
7
- e.value = r;
8
- }), e;
1
+ function n(l) {
2
+ return l == null;
9
3
  }
10
4
  export {
11
- c as useObservable
5
+ n as default
12
6
  };
package/index26.js CHANGED
@@ -1,11 +1,4 @@
1
- import { Subject as o } from "rxjs";
2
- import { onUnmounted as t } from "vue";
3
- function m() {
4
- const e = new o();
5
- return t(() => {
6
- e.next(), e.complete();
7
- }), e;
8
- }
1
+ import f from "./index7.js";
9
2
  export {
10
- m as useDestroyed
3
+ f as default
11
4
  };
package/index27.js CHANGED
@@ -1,6 +1,4 @@
1
- function n(l) {
2
- return l == null;
3
- }
1
+ import f from "./index3.js";
4
2
  export {
5
- n as default
3
+ f as default
6
4
  };
package/index28.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index29.js";
1
+ import o from "./index32.js";
2
2
  var r = 1, n = 4;
3
3
  function L(e) {
4
4
  return o(e, r | n);
package/index29.js CHANGED
@@ -1,65 +1,12 @@
1
- import S from "./index63.js";
2
- import L from "./index61.js";
3
- import B from "./index58.js";
4
- import I from "./index64.js";
5
- import O from "./index65.js";
6
- import _ from "./index66.js";
7
- import M from "./index67.js";
8
- import l from "./index68.js";
9
- import w from "./index69.js";
10
- import D from "./index70.js";
11
- import G from "./index71.js";
12
- import N from "./index72.js";
13
- import U from "./index73.js";
14
- import h from "./index74.js";
15
- import x from "./index75.js";
16
- import K from "./index34.js";
17
- import P from "./index38.js";
18
- import R from "./index43.js";
19
- import W from "./index42.js";
20
- import Y from "./index47.js";
21
- import q from "./index51.js";
22
- import H from "./index54.js";
23
- var J = 1, Q = 2, V = 4, A = "[object Arguments]", X = "[object Array]", Z = "[object Boolean]", $ = "[object Date]", u = "[object Error]", d = "[object Function]", z = "[object GeneratorFunction]", k = "[object Map]", v = "[object Number]", E = "[object Object]", rr = "[object RegExp]", or = "[object Set]", tr = "[object String]", er = "[object Symbol]", ir = "[object WeakMap]", nr = "[object ArrayBuffer]", fr = "[object DataView]", ar = "[object Float32Array]", mr = "[object Float64Array]", cr = "[object Int8Array]", gr = "[object Int16Array]", pr = "[object Int32Array]", br = "[object Uint8Array]", Tr = "[object Uint8ClampedArray]", jr = "[object Uint16Array]", yr = "[object Uint32Array]", o = {};
24
- o[A] = o[X] = o[nr] = o[fr] = o[Z] = o[$] = o[ar] = o[mr] = o[cr] = o[gr] = o[pr] = o[k] = o[v] = o[E] = o[rr] = o[or] = o[tr] = o[er] = o[br] = o[Tr] = o[jr] = o[yr] = !0;
25
- o[u] = o[d] = o[ir] = !1;
26
- function p(r, f, g, sr, b, i) {
27
- var t, m = f & J, c = f & Q, F = f & V;
28
- if (t !== void 0)
29
- return t;
30
- if (!W(r))
31
- return r;
32
- var T = K(r);
33
- if (T) {
34
- if (t = U(r), !m)
35
- return M(r, t);
36
- } else {
37
- var a = N(r), j = a == d || a == z;
38
- if (P(r))
39
- return _(r, m);
40
- if (a == E || a == A || j && !b) {
41
- if (t = c || j ? {} : x(r), !m)
42
- return c ? w(r, O(t, r)) : l(r, I(t, r));
43
- } else {
44
- if (!o[a])
45
- return b ? r : {};
46
- t = h(r, a, m);
47
- }
48
- }
49
- i || (i = new S());
50
- var y = i.get(r);
51
- if (y)
52
- return y;
53
- i.set(r, t), Y(r) ? r.forEach(function(e) {
54
- t.add(p(e, f, g, e, r, i));
55
- }) : R(r) && r.forEach(function(e, n) {
56
- t.set(n, p(e, f, g, n, r, i));
57
- });
58
- var C = F ? c ? G : D : c ? H : q, s = T ? void 0 : C(r);
59
- return L(s || r, function(e, n) {
60
- s && (n = e, e = r[n]), B(t, n, p(e, f, g, n, r, i));
61
- }), t;
1
+ import "rxjs";
2
+ import { ref as i } from "vue";
3
+ import { takeUntilDestroyed as p } from "./index108.js";
4
+ function c(t, o) {
5
+ const e = i(o);
6
+ return (typeof t == "function" ? t() : t).pipe(p()).subscribe((r) => {
7
+ e.value = r;
8
+ }), e;
62
9
  }
63
10
  export {
64
- p as default
11
+ c as useObservable
65
12
  };