@solar-taro/ui-vant 1.6.4 → 2.0.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.
Files changed (164) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/cascader/index.vue.d.ts +35 -99
  3. package/cascader-picker/index.vue.d.ts +11 -51
  4. package/date-range-picker/index.vue.d.ts +9 -36
  5. package/directives/bind-function.d.ts +0 -1
  6. package/directives/datetime-picker.d.ts +0 -1
  7. package/directives/readonly.d.ts +0 -1
  8. package/index.d.ts +0 -2
  9. package/index.js +21 -25
  10. package/index.scss +1 -0
  11. package/index10.js +292 -50
  12. package/index100.js +10 -5
  13. package/index101.js +5 -7
  14. package/index102.js +4 -17
  15. package/index103.js +4 -10
  16. package/index104.js +5 -5
  17. package/index105.js +6 -4
  18. package/index106.js +10 -5
  19. package/index107.js +6 -5
  20. package/index108.js +17 -6
  21. package/index109.js +5 -10
  22. package/index11.js +17 -303
  23. package/index110.js +4 -31
  24. package/index111.js +3 -6
  25. package/index112.js +2 -16
  26. package/index113.js +14 -4
  27. package/index114.js +8 -5
  28. package/index115.js +5 -3
  29. package/index116.js +4 -2
  30. package/index117.js +5 -14
  31. package/index118.js +6 -8
  32. package/index119.js +5 -5
  33. package/index12.js +28 -45
  34. package/index120.js +3 -6
  35. package/index121.js +17 -5
  36. package/index122.js +5 -5
  37. package/index123.js +2 -4
  38. package/index124.js +4 -3
  39. package/index125.js +9 -17
  40. package/index126.js +5 -5
  41. package/index127.js +4 -3
  42. package/index128.js +5 -3
  43. package/index129.js +3 -10
  44. package/index13.js +4 -18
  45. package/index130.js +4 -5
  46. package/index131.js +3 -3
  47. package/index132.js +4 -5
  48. package/index133.js +11 -3
  49. package/index134.js +6 -4
  50. package/index135.js +6 -4
  51. package/index136.js +7 -4
  52. package/index137.js +3 -11
  53. package/index14.js +62 -27
  54. package/index15.js +2 -5
  55. package/index16.js +2 -64
  56. package/index17.js +1 -1
  57. package/index18.js +1 -1
  58. package/index19.js +1 -1
  59. package/index2.js +1 -1
  60. package/index20.js +1 -1
  61. package/index21.js +1 -1
  62. package/index22.js +1 -1
  63. package/index23.js +9 -13
  64. package/index24.js +8 -5
  65. package/index25.js +6 -2
  66. package/index26.js +14 -2
  67. package/index27.js +4 -2
  68. package/index28.js +7 -2
  69. package/index29.js +791 -60
  70. package/index3.js +3 -3
  71. package/index30.js +31 -3
  72. package/index31.js +63 -8
  73. package/index32.js +3 -6
  74. package/index33.js +8 -4
  75. package/index34.js +7 -2
  76. package/index35.js +2 -4
  77. package/index36.js +2 -10
  78. package/index37.js +5 -4
  79. package/index38.js +10 -4
  80. package/index39.js +4 -2
  81. package/index4.js +1 -1
  82. package/index40.js +4 -4
  83. package/index41.js +3 -8
  84. package/index42.js +3 -4
  85. package/index43.js +7 -4
  86. package/index44.js +4 -6
  87. package/index45.js +5 -6
  88. package/index46.js +7 -9
  89. package/index47.js +5 -3
  90. package/index48.js +9 -5
  91. package/index49.js +5 -7
  92. package/index5.js +1 -1
  93. package/index50.js +6 -4
  94. package/index51.js +5 -10
  95. package/index52.js +9 -6
  96. package/index53.js +6 -17
  97. package/index54.js +17 -11
  98. package/index55.js +11 -6
  99. package/index56.js +6 -12
  100. package/index57.js +12 -3
  101. package/index58.js +3 -9
  102. package/index59.js +11 -8
  103. package/index6.js +92 -29
  104. package/index60.js +7 -6
  105. package/index61.js +9 -793
  106. package/index62.js +5 -7
  107. package/index63.js +5 -9
  108. package/index64.js +8 -11
  109. package/index65.js +15 -5
  110. package/index66.js +5 -5
  111. package/index67.js +6 -9
  112. package/index68.js +8 -15
  113. package/index69.js +6 -5
  114. package/index7.js +39 -90
  115. package/index70.js +5 -5
  116. package/index71.js +5 -8
  117. package/index72.js +6 -6
  118. package/index73.js +6 -5
  119. package/index74.js +26 -6
  120. package/index75.js +5 -6
  121. package/index76.js +39 -6
  122. package/index77.js +7 -26
  123. package/index78.js +5 -5
  124. package/index79.js +14 -39
  125. package/index8.js +264 -40
  126. package/index80.js +7 -6
  127. package/index81.js +1 -5
  128. package/index82.js +3 -15
  129. package/index83.js +11 -6
  130. package/index84.js +5 -2
  131. package/index85.js +3 -3
  132. package/index86.js +4 -13
  133. package/index87.js +4 -5
  134. package/index88.js +4 -3
  135. package/index89.js +4 -4
  136. package/index9.js +54 -262
  137. package/index90.js +4 -4
  138. package/index91.js +15 -4
  139. package/index92.js +14 -4
  140. package/index93.js +9 -4
  141. package/index94.js +3 -15
  142. package/index95.js +6 -3
  143. package/index96.js +5 -5
  144. package/index97.js +5 -13
  145. package/index98.js +6 -7
  146. package/index99.js +17 -5
  147. package/list/index.vue.d.ts +14 -9
  148. package/modal/index.vue.d.ts +19 -41
  149. package/opper-controller/index.vue.d.ts +8 -36
  150. package/overlay/overlay.d.ts +0 -1
  151. package/package.json +2 -2
  152. package/plugin.d.ts +0 -1
  153. package/select-picker/index.vue.d.ts +11 -45
  154. package/selector/index.vue.d.ts +86 -147
  155. package/index138.js +0 -9
  156. package/index139.js +0 -9
  157. package/index140.js +0 -10
  158. package/index141.js +0 -5
  159. package/item/index.d.ts +0 -1
  160. package/item/index.scss +0 -37
  161. package/item/index.vue.d.ts +0 -44
  162. package/tabbar/index.d.ts +0 -1
  163. package/tabbar/index.scss +0 -78
  164. package/tabbar/index.vue.d.ts +0 -58
package/index62.js CHANGED
@@ -1,10 +1,8 @@
1
- import t from "./index63.js";
2
- import i from "./index30.js";
3
- var s = Object.prototype, p = s.hasOwnProperty;
4
- function l(r, a, o) {
5
- var n = r[a];
6
- (!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
1
+ var p = Object.prototype;
2
+ function e(t) {
3
+ var o = t && t.constructor, r = typeof o == "function" && o.prototype || p;
4
+ return t === r;
7
5
  }
8
6
  export {
9
- l as default
7
+ e as default
10
8
  };
package/index63.js CHANGED
@@ -1,12 +1,8 @@
1
- import u from "./index67.js";
2
- function i(r, e, t) {
3
- e == "__proto__" && u ? u(r, e, {
4
- configurable: !0,
5
- enumerable: !0,
6
- value: t,
7
- writable: !0
8
- }) : r[e] = t;
1
+ function f(e, n) {
2
+ for (var l = -1, t = e == null ? 0 : e.length; ++l < t && n(e[l], l, e) !== !1; )
3
+ ;
4
+ return e;
9
5
  }
10
6
  export {
11
- i as default
7
+ f as default
12
8
  };
package/index64.js CHANGED
@@ -1,14 +1,11 @@
1
- import m from "./index62.js";
2
- import t from "./index63.js";
3
- function v(a, f, i, u) {
4
- var d = !i;
5
- i || (i = {});
6
- for (var s = -1, e = f.length; ++s < e; ) {
7
- var n = f[s], r = void 0;
8
- r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
1
+ import r from "./index107.js";
2
+ var o = function() {
3
+ try {
4
+ var e = r(Object, "defineProperty");
5
+ return e({}, "", {}), e;
6
+ } catch {
9
7
  }
10
- return i;
11
- }
8
+ }();
12
9
  export {
13
- v as default
10
+ o as default
14
11
  };
package/index65.js CHANGED
@@ -1,8 +1,18 @@
1
- var p = Object.prototype;
2
- function e(t) {
3
- var o = t && t.constructor, r = typeof o == "function" && o.prototype || p;
4
- return t === r;
1
+ import r from "./index108.js";
2
+ import a from "./index109.js";
3
+ import p from "./index110.js";
4
+ import s from "./index111.js";
5
+ import i from "./index112.js";
6
+ import m from "./index113.js";
7
+ function t(o) {
8
+ var e = this.__data__ = new r(o);
9
+ this.size = e.size;
5
10
  }
11
+ t.prototype.clear = a;
12
+ t.prototype.delete = p;
13
+ t.prototype.get = s;
14
+ t.prototype.has = i;
15
+ t.prototype.set = m;
6
16
  export {
7
- e as default
17
+ t as default
8
18
  };
package/index66.js CHANGED
@@ -1,8 +1,8 @@
1
- function f(e, n) {
2
- for (var l = -1, t = e == null ? 0 : e.length; ++l < t && n(e[l], l, e) !== !1; )
3
- ;
4
- return e;
1
+ import o from "./index59.js";
2
+ import e from "./index53.js";
3
+ function m(r, t) {
4
+ return r && o(t, e(t), r);
5
5
  }
6
6
  export {
7
- f as default
7
+ m as default
8
8
  };
package/index67.js CHANGED
@@ -1,11 +1,8 @@
1
- import r from "./index111.js";
2
- var o = function() {
3
- try {
4
- var e = r(Object, "defineProperty");
5
- return e({}, "", {}), e;
6
- } catch {
7
- }
8
- }();
1
+ import t from "./index59.js";
2
+ import o from "./index56.js";
3
+ function i(n, r) {
4
+ return n && t(r, o(r), n);
5
+ }
9
6
  export {
10
- o as default
7
+ i as default
11
8
  };
package/index68.js CHANGED
@@ -1,18 +1,11 @@
1
- import r from "./index112.js";
2
- import a from "./index113.js";
3
- import p from "./index114.js";
4
- import s from "./index115.js";
5
- import i from "./index116.js";
6
- import m from "./index117.js";
7
- function t(o) {
8
- var e = this.__data__ = new r(o);
9
- this.size = e.size;
1
+ import d from "./index41.js";
2
+ var p = typeof exports == "object" && exports && !exports.nodeType && exports, t = p && typeof module == "object" && module && !module.nodeType && module, s = t && t.exports === p, n = s ? d.Buffer : void 0, l = n ? n.allocUnsafe : void 0;
3
+ function a(e, u) {
4
+ if (u)
5
+ return e.slice();
6
+ var o = e.length, r = l ? l(o) : new e.constructor(o);
7
+ return e.copy(r), r;
10
8
  }
11
- t.prototype.clear = a;
12
- t.prototype.delete = p;
13
- t.prototype.get = s;
14
- t.prototype.has = i;
15
- t.prototype.set = m;
16
9
  export {
17
- t as default
10
+ a as default
18
11
  };
package/index69.js CHANGED
@@ -1,8 +1,9 @@
1
- import o from "./index64.js";
2
- import e from "./index52.js";
3
- function m(r, t) {
4
- return r && o(t, e(t), r);
1
+ function h(t, e) {
2
+ var n = -1, l = t.length;
3
+ for (e || (e = Array(l)); ++n < l; )
4
+ e[n] = t[n];
5
+ return e;
5
6
  }
6
7
  export {
7
- m as default
8
+ h as default
8
9
  };
package/index7.js CHANGED
@@ -1,99 +1,48 @@
1
- import { defineComponent as c, renderSlot as u, toDisplayString as m, createTextVNode as y, unref as p, withCtx as w, openBlock as x, createBlock as v, createElementVNode as S, vShow as B, withDirectives as k, createVNode as b, mergeProps as T, createElementBlock as N } from "vue";
2
- import { vibrator as V } from "@solar-taro/core";
3
- import { SunSpinner as a } from "@solar-taro/ui-sun";
4
- const n = u, $ = m, D = y, o = p, E = w, s = x, C = v, l = S, d = B, f = k, z = b, P = T, j = N, A = ["enable-flex", "refresher-enabled", "refresher-triggered", "refresher-background"], L = {
5
- class: "sun-list-placeholder",
6
- style: { display: "flex", "justify-content": "center", "align-items": "center", height: "85%" }
7
- }, R = ["image", "description"], q = {
8
- class: "sun-list-loading-wrapper",
9
- style: { "text-align": "center", padding: "6px" }
10
- }, I = /* @__PURE__ */ c({
1
+ import { defineComponent as m, ref as u, computed as p, onUnmounted as f, renderSlot as h, toDisplayString as b, createElementVNode as y, openBlock as v, createElementBlock as g, createCommentVNode as k, mergeProps as w } from "vue";
2
+ import { onKeyboardHeightChange as B, offKeyboardHeightChange as _ } from "@tarojs/taro";
3
+ const r = h, C = b, $ = y, l = v, a = g, D = k, E = w, N = ["show", "title", "close-on-click-overlay"], S = {
4
+ key: 0,
5
+ class: "van-button-container van-button-group"
6
+ }, V = ["disabled"], T = /* @__PURE__ */ m({
11
7
  __name: "index",
12
8
  props: {
13
- refreshing: {
14
- type: Boolean,
15
- default: !1
16
- },
17
- flex: {
18
- type: Boolean,
19
- default: !1
20
- },
21
- loading: {
22
- type: Boolean,
23
- default: !1
24
- },
25
- loadingText: {
26
- type: String,
27
- default: "Loading"
28
- },
29
- data: {
30
- type: Array,
31
- default: []
32
- },
33
- refresher: {
34
- type: Boolean,
35
- default: !0
36
- },
37
- refresherBg: {
38
- type: String,
39
- default: "transparent"
40
- },
41
- emptyType: {
42
- type: String,
43
- default: "default"
44
- },
45
- emptyText: {
46
- type: String,
47
- default: "暂无数据"
48
- }
9
+ show: { type: Boolean },
10
+ title: {},
11
+ showButtons: { type: Boolean, default: !0 },
12
+ confirmText: { default: "确认" },
13
+ confirmDisabled: { type: Boolean }
49
14
  },
50
- emits: ["refresh", "lower"],
51
- setup(e, { emit: g }) {
52
- const i = g;
53
- return (r, t) => (s(), j("scroll-view", P(r.$attrs, {
54
- class: "sun-list",
55
- enhanced: !0,
56
- "scroll-y": !0,
57
- "lower-threshold": 300,
58
- "enable-flex": e.flex,
59
- "refresher-enabled": e.refresher,
60
- "refresher-triggered": e.refreshing,
61
- "refresher-background": e.refresherBg,
62
- onRefresherrefresh: t[0] || (t[0] = (h) => {
63
- o(V).short("light"), i("refresh");
64
- }),
65
- onScrolltolower: t[1] || (t[1] = (h) => i("lower"))
15
+ emits: ["update:show", "close", "confirm"],
16
+ setup(H, { emit: i }) {
17
+ const t = i, n = u(0), c = p(() => n.value === 0);
18
+ function s(e) {
19
+ n.value = e.height;
20
+ }
21
+ return B(s), f(() => {
22
+ _(s);
23
+ }), (e, o) => (l(), a("van-action-sheet", E(e.$attrs, {
24
+ show: e.show,
25
+ title: e.title,
26
+ "close-on-click-overlay": c.value,
27
+ onClose: o[1] || (o[1] = (d) => {
28
+ t("update:show", !1), t("close");
29
+ })
66
30
  }), [
67
- n(r.$slots, "default"),
68
- f(l("view", L, [
69
- e.loading ? (s(), C(o(a), {
70
- key: 0,
71
- size: "large"
72
- }, {
73
- default: E(() => [
74
- D($(e.loadingText), 1)
75
- ]),
76
- _: 1
77
- })) : n(r.$slots, "empty", { key: 1 }, () => [
78
- l("van-empty", {
79
- image: e.emptyType,
80
- description: e.emptyText
81
- }, [
82
- n(r.$slots, "empty-content")
83
- ], 8, R)
31
+ r(e.$slots, "default"),
32
+ e.showButtons ? (l(), a("view", S, [
33
+ r(e.$slots, "buttons", {}, () => [
34
+ $("van-button", {
35
+ type: "primary",
36
+ round: "true",
37
+ block: "true",
38
+ disabled: e.confirmDisabled,
39
+ onClick: o[0] || (o[0] = (d) => t("confirm"))
40
+ }, C(e.confirmText), 9, V)
84
41
  ])
85
- ], 512), [
86
- [d, !e.data.length]
87
- ]),
88
- f(l("view", q, [
89
- z(o(a), { size: "small" })
90
- ], 512), [
91
- [d, e.data.length && e.loading && !e.refreshing]
92
- ]),
93
- t[2] || (t[2] = l("view", { style: { position: "absolute", height: "1px", width: "1px", overflow: "hidden" } }, null, -1))
94
- ], 16, A));
42
+ ])) : D("", !0)
43
+ ], 16, N));
95
44
  }
96
45
  });
97
46
  export {
98
- I as default
47
+ T as default
99
48
  };
package/index70.js CHANGED
@@ -1,8 +1,8 @@
1
- import t from "./index64.js";
2
- import o from "./index55.js";
3
- function i(n, r) {
4
- return n && t(r, o(r), n);
1
+ import m from "./index59.js";
2
+ import r from "./index114.js";
3
+ function f(o, t) {
4
+ return m(o, r(o), t);
5
5
  }
6
6
  export {
7
- i as default
7
+ f as default
8
8
  };
package/index71.js CHANGED
@@ -1,11 +1,8 @@
1
- import d from "./index39.js";
2
- var p = typeof exports == "object" && exports && !exports.nodeType && exports, t = p && typeof module == "object" && module && !module.nodeType && module, s = t && t.exports === p, n = s ? d.Buffer : void 0, l = n ? n.allocUnsafe : void 0;
3
- function a(e, u) {
4
- if (u)
5
- return e.slice();
6
- var o = e.length, r = l ? l(o) : new e.constructor(o);
7
- return e.copy(r), r;
1
+ import m from "./index59.js";
2
+ import r from "./index106.js";
3
+ function e(o, t) {
4
+ return m(o, r(o), t);
8
5
  }
9
6
  export {
10
- a as default
7
+ e as default
11
8
  };
package/index72.js CHANGED
@@ -1,9 +1,9 @@
1
- function h(t, e) {
2
- var n = -1, l = t.length;
3
- for (e || (e = Array(l)); ++n < l; )
4
- e[n] = t[n];
5
- return e;
1
+ import t from "./index105.js";
2
+ import o from "./index114.js";
3
+ import r from "./index53.js";
4
+ function f(e) {
5
+ return t(e, r, o);
6
6
  }
7
7
  export {
8
- h as default
8
+ f as default
9
9
  };
package/index73.js CHANGED
@@ -1,8 +1,9 @@
1
- import m from "./index64.js";
2
- import r from "./index118.js";
3
- function f(o, t) {
4
- return m(o, r(o), t);
1
+ import t from "./index105.js";
2
+ import o from "./index106.js";
3
+ import r from "./index56.js";
4
+ function s(e) {
5
+ return t(e, r, o);
5
6
  }
6
7
  export {
7
- f as default
8
+ s as default
8
9
  };
package/index74.js CHANGED
@@ -1,8 +1,28 @@
1
- import m from "./index64.js";
2
- import r from "./index109.js";
3
- function e(o, t) {
4
- return m(o, r(o), t);
5
- }
1
+ import e from "./index86.js";
2
+ import a from "./index87.js";
3
+ import o from "./index88.js";
4
+ import i from "./index89.js";
5
+ import n from "./index90.js";
6
+ import S from "./index43.js";
7
+ import t from "./index91.js";
8
+ var g = "[object Map]", j = "[object Object]", f = "[object Promise]", u = "[object Set]", w = "[object WeakMap]", b = "[object DataView]", T = t(e), C = t(a), M = t(o), d = t(i), v = t(n), r = S;
9
+ (e && r(new e(new ArrayBuffer(1))) != b || a && r(new a()) != g || o && r(o.resolve()) != f || i && r(new i()) != u || n && r(new n()) != w) && (r = function(m) {
10
+ var c = S(m), p = c == j ? m.constructor : void 0, s = p ? t(p) : "";
11
+ if (s)
12
+ switch (s) {
13
+ case T:
14
+ return b;
15
+ case C:
16
+ return g;
17
+ case M:
18
+ return f;
19
+ case d:
20
+ return u;
21
+ case v:
22
+ return w;
23
+ }
24
+ return c;
25
+ });
6
26
  export {
7
- e as default
27
+ r as default
8
28
  };
package/index75.js CHANGED
@@ -1,9 +1,8 @@
1
- import t from "./index108.js";
2
- import o from "./index118.js";
3
- import r from "./index52.js";
4
- function f(e) {
5
- return t(e, r, o);
1
+ var o = Object.prototype, i = o.hasOwnProperty;
2
+ function p(t) {
3
+ var n = t.length, e = new t.constructor(n);
4
+ return n && typeof t[0] == "string" && i.call(t, "index") && (e.index = t.index, e.input = t.input), e;
6
5
  }
7
6
  export {
8
- f as default
7
+ p as default
9
8
  };
package/index76.js CHANGED
@@ -1,9 +1,42 @@
1
- import t from "./index108.js";
2
- import o from "./index109.js";
3
- import r from "./index55.js";
4
- function s(e) {
5
- return t(e, r, o);
1
+ import o from "./index115.js";
2
+ import n from "./index116.js";
3
+ import c from "./index117.js";
4
+ import g from "./index118.js";
5
+ import i from "./index119.js";
6
+ var s = "[object Boolean]", u = "[object Date]", T = "[object Map]", b = "[object Number]", l = "[object RegExp]", m = "[object Set]", y = "[object String]", f = "[object Symbol]", p = "[object ArrayBuffer]", j = "[object DataView]", A = "[object Float32Array]", w = "[object Float64Array]", d = "[object Int8Array]", B = "[object Int16Array]", x = "[object Int32Array]", C = "[object Uint8Array]", S = "[object Uint8ClampedArray]", U = "[object Uint16Array]", v = "[object Uint32Array]";
7
+ function R(a, t, r) {
8
+ var e = a.constructor;
9
+ switch (t) {
10
+ case p:
11
+ return o(a);
12
+ case s:
13
+ case u:
14
+ return new e(+a);
15
+ case j:
16
+ return n(a, r);
17
+ case A:
18
+ case w:
19
+ case d:
20
+ case B:
21
+ case x:
22
+ case C:
23
+ case S:
24
+ case U:
25
+ case v:
26
+ return i(a, r);
27
+ case T:
28
+ return new e();
29
+ case b:
30
+ case y:
31
+ return new e(a);
32
+ case l:
33
+ return c(a);
34
+ case m:
35
+ return new e();
36
+ case f:
37
+ return g(a);
38
+ }
6
39
  }
7
40
  export {
8
- s as default
41
+ R as default
9
42
  };
package/index77.js CHANGED
@@ -1,28 +1,9 @@
1
- import e from "./index89.js";
2
- import a from "./index90.js";
3
- import o from "./index91.js";
4
- import i from "./index92.js";
5
- import n from "./index93.js";
6
- import S from "./index41.js";
7
- import t from "./index94.js";
8
- var g = "[object Map]", j = "[object Object]", f = "[object Promise]", u = "[object Set]", w = "[object WeakMap]", b = "[object DataView]", T = t(e), C = t(a), M = t(o), d = t(i), v = t(n), r = S;
9
- (e && r(new e(new ArrayBuffer(1))) != b || a && r(new a()) != g || o && r(o.resolve()) != f || i && r(new i()) != u || n && r(new n()) != w) && (r = function(m) {
10
- var c = S(m), p = c == j ? m.constructor : void 0, s = p ? t(p) : "";
11
- if (s)
12
- switch (s) {
13
- case T:
14
- return b;
15
- case C:
16
- return g;
17
- case M:
18
- return f;
19
- case d:
20
- return u;
21
- case v:
22
- return w;
23
- }
24
- return c;
25
- });
1
+ import o from "./index79.js";
2
+ import r from "./index94.js";
3
+ import e from "./index62.js";
4
+ function p(t) {
5
+ return typeof t.constructor == "function" && !e(t) ? o(r(t)) : {};
6
+ }
26
7
  export {
27
- r as default
8
+ p as default
28
9
  };
package/index78.js CHANGED
@@ -1,8 +1,8 @@
1
- var o = Object.prototype, i = o.hasOwnProperty;
2
- function p(t) {
3
- var n = t.length, e = new t.constructor(n);
4
- return n && typeof t[0] == "string" && i.call(t, "index") && (e.index = t.index, e.input = t.input), e;
1
+ function l(e, n) {
2
+ for (var t = -1, h = n.length, f = e.length; ++t < h; )
3
+ e[f + t] = n[t];
4
+ return e;
5
5
  }
6
6
  export {
7
- p as default
7
+ l as default
8
8
  };
package/index79.js CHANGED
@@ -1,42 +1,17 @@
1
- import o from "./index119.js";
2
- import n from "./index120.js";
3
- import c from "./index121.js";
4
- import g from "./index122.js";
5
- import i from "./index123.js";
6
- var s = "[object Boolean]", u = "[object Date]", T = "[object Map]", b = "[object Number]", l = "[object RegExp]", m = "[object Set]", y = "[object String]", f = "[object Symbol]", p = "[object ArrayBuffer]", j = "[object DataView]", A = "[object Float32Array]", w = "[object Float64Array]", d = "[object Int8Array]", B = "[object Int16Array]", x = "[object Int32Array]", C = "[object Uint8Array]", S = "[object Uint8ClampedArray]", U = "[object Uint16Array]", v = "[object Uint32Array]";
7
- function R(a, t, r) {
8
- var e = a.constructor;
9
- switch (t) {
10
- case p:
11
- return o(a);
12
- case s:
13
- case u:
14
- return new e(+a);
15
- case j:
16
- return n(a, r);
17
- case A:
18
- case w:
19
- case d:
20
- case B:
21
- case x:
22
- case C:
23
- case S:
24
- case U:
25
- case v:
26
- return i(a, r);
27
- case T:
28
- return new e();
29
- case b:
30
- case y:
31
- return new e(a);
32
- case l:
33
- return c(a);
34
- case m:
35
- return new e();
36
- case f:
37
- return g(a);
1
+ import u from "./index44.js";
2
+ var r = Object.create, c = /* @__PURE__ */ function() {
3
+ function e() {
38
4
  }
39
- }
5
+ return function(t) {
6
+ if (!u(t))
7
+ return {};
8
+ if (r)
9
+ return r(t);
10
+ e.prototype = t;
11
+ var n = new e();
12
+ return e.prototype = void 0, n;
13
+ };
14
+ }();
40
15
  export {
41
- R as default
16
+ c as default
42
17
  };