@solar-taro/ui-vant 1.3.2 → 1.3.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.
Files changed (151) hide show
  1. package/CHANGELOG.md +19 -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 +5 -4
  10. package/index101.js +7 -4
  11. package/index102.js +17 -5
  12. package/index103.js +10 -6
  13. package/index104.js +6 -10
  14. package/index105.js +4 -6
  15. package/index106.js +4 -6
  16. package/index107.js +5 -17
  17. package/index108.js +6 -4
  18. package/index109.js +10 -5
  19. package/index11.js +247 -38
  20. package/index110.js +31 -3
  21. package/index111.js +6 -3
  22. package/index112.js +16 -13
  23. package/index113.js +5 -8
  24. package/index114.js +4 -5
  25. package/index115.js +3 -5
  26. package/index116.js +3 -5
  27. package/index117.js +14 -5
  28. package/index118.js +8 -6
  29. package/index119.js +6 -3
  30. package/index12.js +44 -17
  31. package/index120.js +4 -16
  32. package/index121.js +5 -5
  33. package/index122.js +5 -3
  34. package/index123.js +5 -3
  35. package/index124.js +3 -10
  36. package/index125.js +17 -5
  37. package/index126.js +5 -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 +2 -10
  67. package/index26.js +2 -9
  68. package/index27.js +5 -3
  69. package/index28.js +13 -5
  70. package/index29.js +9 -62
  71. package/index3.js +165 -118
  72. package/index30.js +8 -3
  73. package/index31.js +4 -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 +6 -5
  106. package/index61.js +793 -5
  107. package/index62.js +11 -8
  108. package/index63.js +7 -15
  109. package/index64.js +9 -5
  110. package/index65.js +5 -5
  111. package/index66.js +5 -8
  112. package/index67.js +9 -7
  113. package/index68.js +15 -5
  114. package/index69.js +5 -5
  115. package/index7.js +93 -39
  116. package/index70.js +5 -6
  117. package/index71.js +8 -6
  118. package/index72.js +7 -26
  119. package/index73.js +5 -5
  120. package/index74.js +5 -39
  121. package/index75.js +6 -6
  122. package/index76.js +6 -5
  123. package/index77.js +26 -15
  124. package/index78.js +5 -7
  125. package/index79.js +40 -2
  126. package/index8.js +40 -263
  127. package/index80.js +7 -3
  128. package/index81.js +5 -12
  129. package/index82.js +15 -5
  130. package/index83.js +8 -3
  131. package/index84.js +2 -4
  132. package/index85.js +3 -4
  133. package/index86.js +13 -4
  134. package/index87.js +5 -4
  135. package/index88.js +3 -4
  136. package/index89.js +3 -14
  137. package/index9.js +262 -54
  138. package/index90.js +4 -14
  139. package/index91.js +4 -9
  140. package/index92.js +4 -3
  141. package/index93.js +3 -5
  142. package/index94.js +14 -5
  143. package/index95.js +13 -5
  144. package/index96.js +7 -6
  145. package/index97.js +3 -18
  146. package/index98.js +4 -9
  147. package/index99.js +4 -4
  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/index23.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index11.js";
1
+ import f from "./index10.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,4 @@
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;
9
- }
1
+ import f from "./index11.js";
10
2
  export {
11
- c as useObservable
3
+ f as default
12
4
  };
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 "./index8.js";
9
2
  export {
10
- m as useDestroyed
3
+ f as default
11
4
  };
package/index27.js CHANGED
@@ -1,6 +1,8 @@
1
- function n(l) {
2
- return l == null;
1
+ import o from "./index32.js";
2
+ var r = 1, n = 4;
3
+ function L(e) {
4
+ return o(e, r | n);
3
5
  }
4
6
  export {
5
- n as default
7
+ L as default
6
8
  };
package/index28.js CHANGED
@@ -1,8 +1,16 @@
1
- import o from "./index29.js";
2
- var r = 1, n = 4;
3
- function L(e) {
4
- return o(e, r | n);
1
+ import { ref as n, effect as t, pauseTracking as f, resetTracking as a } from "./index61.js";
2
+ function i(e) {
3
+ const r = n(e());
4
+ return t(() => r.value = e()), r;
5
+ }
6
+ function u(e) {
7
+ try {
8
+ return f(), e();
9
+ } finally {
10
+ a();
11
+ }
5
12
  }
6
13
  export {
7
- L as default
14
+ i as linkedRef,
15
+ u as untracked
8
16
  };
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 "./index60.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
  };
package/index3.js CHANGED
@@ -1,131 +1,178 @@
1
- import { defineComponent as E, ref as N, computed as r, mergeProps as I, createElementVNode as L, openBlock as P, createElementBlock as $, createCommentVNode as q } from "vue";
2
- import y from "./index28.js";
3
- const D = I, A = L, v = P, h = $, T = q, j = ["show"], z = ["title", "value-key", "columns", "loading"], H = /* @__PURE__ */ E({
4
- inheritAttrs: !1,
1
+ import { defineComponent as J, mergeModels as T, useModel as O, computed as n, ref as D, renderSlot as Q, openBlock as W, createElementBlock as X, createCommentVNode as Y, mergeProps as Z, resolveDirective as x, withDirectives as ee, unref as le, renderList as ae, Fragment as te, toDisplayString as ne, createElementVNode as oe, createTextVNode as se, normalizeClass as re, withCtx as ue, createSlots as ie, createBlock as de, normalizeStyle as ce, createVNode as ve } from "vue";
2
+ import { tree2list as me } from "@solar-kit/core";
3
+ import { SunLazyRender as pe } from "@solar-taro/ui-sun";
4
+ import { SunModal as fe, SunItem as _ } from "@solar-taro/ui-vant";
5
+ import { linkedRef as q, untracked as he } from "./index28.js";
6
+ const ye = Q, t = W, o = X, b = Y, be = Z, ke = x, ge = ee, d = le, k = ae, m = te, z = ne, g = oe, E = se, we = re, c = ue, Ke = ie, M = de, I = ce, L = ve, Ne = ["label", "value", "placeholder", "required", "disabled"], Ve = ["active"], Ce = ["title"], Se = {
7
+ key: 0,
8
+ class: "sun-cascader-tab",
9
+ title: "请选择",
10
+ "title-style": "color:#94a3b8"
11
+ }, ze = /* @__PURE__ */ J({
5
12
  __name: "index",
6
- props: {
7
- show: { type: Boolean },
13
+ props: /* @__PURE__ */ T({
14
+ label: {},
15
+ placeholder: { default: "请选择" },
16
+ options: {},
8
17
  labelKey: { default: "fullName" },
9
18
  valueKey: { default: "id" },
10
- pidKey: { default: "pid" },
11
- searchable: { type: Boolean, default: !0 },
12
- title: {},
13
- loading: { type: Boolean },
14
- options: { default: () => [] },
19
+ required: { type: Boolean },
20
+ disabled: { type: Boolean },
21
+ delimiter: { default: "/" },
22
+ height: { default: "50vh" }
23
+ }, {
15
24
  modelValue: {},
16
- required: { type: Boolean }
17
- },
18
- emits: ["close", "cancel", "confirm", "update:show", "update:modelValue"],
19
- setup(K, { emit: g }) {
20
- const u = g, n = K, a = N(""), d = r(() => {
21
- const e = y(n.options);
22
- for (let t = 0; t < e.length - 1; t++) {
23
- const o = e[t];
24
- for (let l = 0; l < o.length; l++) {
25
- const i = o[l];
26
- i.children = e[t + 1].filter((s) => s[n.pidKey] === i[n.valueKey]);
27
- }
28
- }
29
- return e[0];
30
- }), p = r(() => y(d.value).map((e) => c(e)).flat()), C = r(() => {
31
- const e = n.options[n.options.length - 1].find((t) => t[n.valueKey] === n.modelValue);
32
- return e ? x(e) : m();
25
+ modelModifiers: {}
26
+ }),
27
+ emits: /* @__PURE__ */ T(["select", "clear", "close"], ["update:modelValue"]),
28
+ setup(w, { emit: F }) {
29
+ const p = F, s = w, r = O(w, "modelValue"), P = n(() => r.value && !s.required), u = D(!1), K = D(0), R = n(() => me(s.options)), f = n(() => R.value.find((e) => e.parent && !e.children && e[s.valueKey] === r.value)), j = n(() => {
30
+ const e = [];
31
+ let l = f.value;
32
+ for (; l; )
33
+ e.unshift(l), l = l.parent;
34
+ return e;
35
+ }), v = q(() => f.value), N = n(() => {
36
+ const e = [];
37
+ let l = v.value;
38
+ for (; l; )
39
+ e.unshift(l), l = l.parent;
40
+ return e;
41
+ }), V = n(() => {
42
+ const e = v.value;
43
+ return e ? !e.children : !1;
44
+ }), C = n(() => j.value.map((e) => e[s.labelKey]).join(` ${s.delimiter} `)), h = q(
45
+ () => (
46
+ // 如果有值,则取 currentNodes 的最后索引,否则为 0
47
+ f.value ? he(() => N.value.length - 1) : 0
48
+ )
49
+ ), S = n(() => s.options.filter((e) => !e.parent)), U = n(() => {
50
+ const e = v.value;
51
+ return e ? e.children : S.value;
33
52
  });
34
- function w() {
35
- n.required || u("update:modelValue", null), u("cancel", n.modelValue), f();
36
- }
37
- function f() {
38
- u("update:show", !1), u("close");
39
- }
40
- function V({ detail: e }) {
41
- const t = e.value[e.value.length - 1];
42
- u("update:modelValue", t[n.valueKey]), u("confirm", B(t)), u("update:show", !1);
53
+ function B() {
54
+ s.disabled || (u.value = !0, K.value++);
43
55
  }
44
- function k({ detail: e }) {
45
- const { picker: t, value: o, index: l } = e;
46
- !a.value && l < n.options.length - 1 && t.setColumnValues(
47
- l + 1,
48
- n.options[l + 1].filter((i) => i[n.pidKey] === o[l][n.valueKey])
49
- );
56
+ function A() {
57
+ u.value = !1, p("close");
50
58
  }
51
- function b({ detail: e }) {
52
- a.value = e.trim().toLowerCase(), m();
53
- }
54
- function B(e) {
55
- const t = [n.options[n.options.length - 1].find((o) => o[n.valueKey] === e[n.valueKey] && o[n.pidKey] === e[n.pidKey])];
56
- for (let o = n.options.length - 2; o >= 0; o--)
57
- t.unshift(
58
- n.options[o].find((l) => {
59
- var i;
60
- return l[n.valueKey] === ((i = t[0]) == null ? void 0 : i[n.pidKey]);
61
- })
62
- );
63
- return t;
64
- }
65
- function c(e, t = "") {
66
- var i;
67
- let o = [], l = t + e[n.labelKey];
68
- return (i = e.children) != null && i.length ? e.children.forEach((s) => {
69
- o = o.concat(c(s, l + " / "));
70
- }) : (e[n.labelKey] = l, o.push(e)), o;
71
- }
72
- function m() {
73
- var o;
74
- if (a.value)
75
- return [{
76
- values: p.value.filter((l) => l[n.labelKey].toLowerCase().includes(a.value))
77
- }];
78
- const e = [];
79
- let t = d.value;
80
- for (; t; )
81
- e.push({ values: t }), t = (o = t[0]) == null ? void 0 : o.children;
82
- return e;
59
+ function G() {
60
+ p("clear", r.value), r.value = null;
83
61
  }
84
- function x(e) {
85
- if (a.value) {
86
- const o = p.value.filter((l) => l[n.labelKey].toLowerCase().includes(a.value));
87
- return [{
88
- values: o,
89
- defaultIndex: o.findIndex((l) => l[n.valueKey] === e[n.valueKey])
90
- }];
91
- }
92
- const t = [];
93
- for (let o = n.options.length - 1; o >= 0; o--) {
94
- const l = n.options[o].filter((i) => i[n.pidKey] === e[n.pidKey]);
95
- t[o] = {
96
- values: l,
97
- defaultIndex: l.findIndex((i) => i[n.valueKey] === e[n.valueKey])
98
- }, o > 0 && (e = n.options[o - 1].find((i) => i[n.valueKey] === e[n.pidKey]));
99
- }
100
- return t;
62
+ function $(e) {
63
+ v.value = e, p("select", e), V.value ? (r.value = e[s.valueKey], u.value = !1) : h.value++;
101
64
  }
102
- return (e, t) => (v(), h("van-popup", {
103
- show: e.show,
104
- position: "bottom",
105
- round: !0,
106
- "close-on-click-overlay": !0,
107
- onClose: t[4] || (t[4] = (o) => f())
108
- }, [
109
- A("van-picker", D(e.$attrs, {
110
- title: e.title,
111
- "show-toolbar": !0,
112
- "value-key": e.labelKey,
113
- columns: C.value,
114
- loading: e.loading,
115
- onCancel: t[0] || (t[0] = (o) => w()),
116
- onConfirm: t[1] || (t[1] = (o) => V(o)),
117
- onChange: t[2] || (t[2] = (o) => k(o))
118
- }), null, 16, z),
119
- e.searchable && e.options.length ? (v(), h("van-search", {
120
- key: 0,
121
- shape: "round",
122
- "input-align": "center",
123
- placeholder: "请输入搜索关键词",
124
- onChange: t[3] || (t[3] = (o) => b(o))
125
- }, null, 32)) : T("", !0)
126
- ], 40, j));
65
+ return (e, l) => {
66
+ const H = ke("readonly");
67
+ return t(), o(m, null, [
68
+ ye(e.$slots, "default", {
69
+ present: B,
70
+ label: C.value
71
+ }, () => [
72
+ ge((t(), o("van-field", be(e.$attrs, {
73
+ class: "sun-cascader",
74
+ label: e.label,
75
+ value: C.value,
76
+ placeholder: e.placeholder,
77
+ required: e.required,
78
+ disabled: e.disabled,
79
+ onClickInput: l[1] || (l[1] = (a) => B())
80
+ }), [
81
+ P.value ? (t(), o("van-icon", {
82
+ key: 0,
83
+ slot: "right-icon",
84
+ name: "clear",
85
+ onTap: l[0] || (l[0] = (a) => G())
86
+ }, null, 32)) : b("", !0)
87
+ ], 16, Ne)), [
88
+ [H]
89
+ ])
90
+ ]),
91
+ L(d(pe), { hook: "created" }, {
92
+ default: c(() => [
93
+ L(d(fe), {
94
+ show: u.value,
95
+ "onUpdate:show": l[3] || (l[3] = (a) => u.value = a),
96
+ class: "sun-cascader-modal",
97
+ title: e.placeholder,
98
+ "show-buttons": !1,
99
+ onClose: l[4] || (l[4] = (a) => A())
100
+ }, {
101
+ default: c(() => [
102
+ K.value ? (t(), o("van-tabs", {
103
+ key: 0,
104
+ class: "sun-cascader-tabs",
105
+ active: d(h),
106
+ "line-width": "30px",
107
+ "line-height": "4px",
108
+ animated: "true",
109
+ onChange: l[2] || (l[2] = (a) => h.value = a.detail.index)
110
+ }, [
111
+ (t(!0), o(m, null, k(N.value, (a) => {
112
+ var y;
113
+ return t(), o("van-tab", {
114
+ key: a[e.valueKey],
115
+ class: "sun-cascader-tab",
116
+ title: a[e.labelKey]
117
+ }, [
118
+ g("view", {
119
+ class: "sun-cascader-list",
120
+ style: I({ height: e.height })
121
+ }, [
122
+ (t(!0), o(m, null, k(((y = a.parent) == null ? void 0 : y.children) || S.value, (i) => (t(), M(d(_), {
123
+ key: i[e.valueKey],
124
+ class: we(["sun-cascader-option", { "sun-cascader-option-active": a[e.valueKey] === i[e.valueKey] }]),
125
+ clickable: !0,
126
+ onTap: (Be) => $(i)
127
+ }, Ke({
128
+ default: c(() => [
129
+ E(z(i[e.labelKey]) + " ", 1)
130
+ ]),
131
+ _: 2
132
+ }, [
133
+ a[e.valueKey] === i[e.valueKey] ? {
134
+ name: "end",
135
+ fn: c(() => [
136
+ l[5] || (l[5] = g("van-icon", {
137
+ class: "sun-cascader-option-icon",
138
+ name: "success"
139
+ }, null, -1))
140
+ ]),
141
+ key: "0"
142
+ } : void 0
143
+ ]), 1032, ["class", "onTap"]))), 128))
144
+ ], 4)
145
+ ], 8, Ce);
146
+ }), 128)),
147
+ V.value ? b("", !0) : (t(), o("van-tab", Se, [
148
+ g("view", {
149
+ class: "sun-cascader-list",
150
+ style: I({ height: e.height })
151
+ }, [
152
+ (t(!0), o(m, null, k(U.value, (a) => (t(), M(d(_), {
153
+ key: a[e.valueKey],
154
+ class: "sun-cascader-option",
155
+ clickable: !0,
156
+ onTap: (y) => $(a)
157
+ }, {
158
+ default: c(() => [
159
+ E(z(a[e.labelKey]), 1)
160
+ ]),
161
+ _: 2
162
+ }, 1032, ["onTap"]))), 128))
163
+ ], 4)
164
+ ]))
165
+ ], 40, Ve)) : b("", !0)
166
+ ]),
167
+ _: 1
168
+ }, 8, ["show", "title"])
169
+ ]),
170
+ _: 1
171
+ })
172
+ ], 64);
173
+ };
127
174
  }
128
175
  });
129
176
  export {
130
- H as default
177
+ ze as default
131
178
  };
package/index30.js CHANGED
@@ -1,6 +1,11 @@
1
- function t(n, f) {
2
- return n === f || n !== n && f !== f;
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;
3
8
  }
4
9
  export {
5
- t as default
10
+ m as useDestroyed
6
11
  };
package/index31.js CHANGED
@@ -1,10 +1,6 @@
1
- import e from "./index32.js";
2
- import o from "./index33.js";
3
- var t = Object.prototype, a = t.hasOwnProperty, n = t.propertyIsEnumerable, c = e(/* @__PURE__ */ function() {
4
- return arguments;
5
- }()) ? e : function(r) {
6
- return o(r) && a.call(r, "callee") && !n.call(r, "callee");
7
- };
1
+ function n(l) {
2
+ return l == null;
3
+ }
8
4
  export {
9
- c as default
5
+ n as default
10
6
  };
package/index32.js CHANGED
@@ -1,9 +1,65 @@
1
- import t from "./index41.js";
2
- import e from "./index33.js";
3
- var s = "[object Arguments]";
4
- function m(r) {
5
- return e(r) && t(r) == s;
1
+ import S from "./index68.js";
2
+ import L from "./index66.js";
3
+ import B from "./index63.js";
4
+ import I from "./index69.js";
5
+ import O from "./index70.js";
6
+ import _ from "./index71.js";
7
+ import M from "./index72.js";
8
+ import l from "./index73.js";
9
+ import w from "./index74.js";
10
+ import D from "./index75.js";
11
+ import G from "./index76.js";
12
+ import N from "./index77.js";
13
+ import U from "./index78.js";
14
+ import h from "./index79.js";
15
+ import x from "./index80.js";
16
+ import K from "./index37.js";
17
+ import P from "./index41.js";
18
+ import R from "./index46.js";
19
+ import W from "./index45.js";
20
+ import Y from "./index50.js";
21
+ import q from "./index54.js";
22
+ import H from "./index57.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;
6
62
  }
7
63
  export {
8
- m as default
64
+ p as default
9
65
  };
package/index33.js CHANGED
@@ -1,6 +1,6 @@
1
- function e(t) {
2
- return t != null && typeof t == "object";
1
+ function t(n, f) {
2
+ return n === f || n !== n && f !== f;
3
3
  }
4
4
  export {
5
- e as default
5
+ t as default
6
6
  };
package/index34.js CHANGED
@@ -1,4 +1,10 @@
1
- var r = Array.isArray;
1
+ import e from "./index35.js";
2
+ import o from "./index36.js";
3
+ var t = Object.prototype, a = t.hasOwnProperty, n = t.propertyIsEnumerable, c = e(/* @__PURE__ */ function() {
4
+ return arguments;
5
+ }()) ? e : function(r) {
6
+ return o(r) && a.call(r, "callee") && !n.call(r, "callee");
7
+ };
2
8
  export {
3
- r as default
9
+ c as default
4
10
  };
package/index35.js CHANGED
@@ -1,8 +1,9 @@
1
- import t from "./index36.js";
2
- import i from "./index37.js";
3
- function e(r) {
4
- return r != null && i(r.length) && !t(r);
1
+ import t from "./index44.js";
2
+ import e from "./index36.js";
3
+ var s = "[object Arguments]";
4
+ function m(r) {
5
+ return e(r) && t(r) == s;
5
6
  }
6
7
  export {
7
- e as default
8
+ m as default
8
9
  };
package/index36.js CHANGED
@@ -1,12 +1,6 @@
1
- import o from "./index41.js";
2
- import r from "./index42.js";
3
- var e = "[object AsyncFunction]", a = "[object Function]", c = "[object GeneratorFunction]", i = "[object Proxy]";
4
- function g(n) {
5
- if (!r(n))
6
- return !1;
7
- var t = o(n);
8
- return t == a || t == c || t == e || t == i;
1
+ function e(t) {
2
+ return t != null && typeof t == "object";
9
3
  }
10
4
  export {
11
- g as default
5
+ e as default
12
6
  };
package/index37.js CHANGED
@@ -1,7 +1,4 @@
1
- var n = 9007199254740991;
2
- function r(t) {
3
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= n;
4
- }
1
+ var r = Array.isArray;
5
2
  export {
6
3
  r as default
7
4
  };
package/index38.js CHANGED
@@ -1,6 +1,8 @@
1
- import f from "./index39.js";
2
- import t from "./index40.js";
3
- var r = typeof exports == "object" && exports && !exports.nodeType && exports, e = r && typeof module == "object" && module && !module.nodeType && module, u = e && e.exports === r, o = u ? f.Buffer : void 0, p = o ? o.isBuffer : void 0, a = p || t;
1
+ import t from "./index39.js";
2
+ import i from "./index40.js";
3
+ function e(r) {
4
+ return r != null && i(r.length) && !t(r);
5
+ }
4
6
  export {
5
- a as default
7
+ e as default
6
8
  };
package/index39.js CHANGED
@@ -1,5 +1,12 @@
1
- import e from "./index79.js";
2
- var t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
1
+ import o from "./index44.js";
2
+ import r from "./index45.js";
3
+ var e = "[object AsyncFunction]", a = "[object Function]", c = "[object GeneratorFunction]", i = "[object Proxy]";
4
+ function g(n) {
5
+ if (!r(n))
6
+ return !1;
7
+ var t = o(n);
8
+ return t == a || t == c || t == e || t == i;
9
+ }
3
10
  export {
4
- r as default
11
+ g as default
5
12
  };