@solar-taro/ui-vant 2.9.0 → 3.1.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 (139) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index.d.ts +0 -1
  3. package/index.js +18 -20
  4. package/index10.js +17 -341
  5. package/index100.js +6 -4
  6. package/index101.js +10 -6
  7. package/index102.js +6 -6
  8. package/index103.js +18 -10
  9. package/index104.js +4 -6
  10. package/index105.js +4 -17
  11. package/index106.js +3 -4
  12. package/index107.js +3 -4
  13. package/index108.js +14 -3
  14. package/index109.js +8 -4
  15. package/index11.js +3 -18
  16. package/index110.js +5 -14
  17. package/index111.js +6 -8
  18. package/index112.js +5 -5
  19. package/index113.js +5 -5
  20. package/index114.js +5 -5
  21. package/index115.js +3 -6
  22. package/index116.js +17 -5
  23. package/index117.js +6 -3
  24. package/index118.js +3 -17
  25. package/index119.js +3 -5
  26. package/index12.js +28 -3
  27. package/index120.js +9 -3
  28. package/index121.js +5 -3
  29. package/index122.js +4 -9
  30. package/index123.js +5 -5
  31. package/index124.js +3 -5
  32. package/index125.js +4 -5
  33. package/index126.js +5 -3
  34. package/index127.js +10 -4
  35. package/index128.js +6 -4
  36. package/index129.js +6 -10
  37. package/index13.js +4 -28
  38. package/index130.js +4 -6
  39. package/index131.js +7 -6
  40. package/index132.js +3 -5
  41. package/index14.js +64 -5
  42. package/index15.js +2 -64
  43. package/index16.js +1 -1
  44. package/index17.js +2 -6
  45. package/index18.js +1 -1
  46. package/index19.js +1 -1
  47. package/index2.js +1 -1
  48. package/index20.js +1 -1
  49. package/index21.js +1 -1
  50. package/index22.js +6 -2
  51. package/index23.js +36 -2
  52. package/index24.js +4 -2
  53. package/index25.js +23 -34
  54. package/index26.js +62 -3
  55. package/index27.js +3 -62
  56. package/index28.js +8 -4
  57. package/index29.js +6 -7
  58. package/index30.js +3 -6
  59. package/index31.js +2 -4
  60. package/index32.js +6 -2
  61. package/index33.js +9 -5
  62. package/index34.js +4 -9
  63. package/index35.js +4 -5
  64. package/index36.js +3 -4
  65. package/index37.js +4 -3
  66. package/index38.js +7 -3
  67. package/index39.js +4 -7
  68. package/index4.js +1 -1
  69. package/index40.js +5 -5
  70. package/index41.js +7 -5
  71. package/index42.js +5 -6
  72. package/index43.js +9 -6
  73. package/index44.js +5 -9
  74. package/index45.js +7 -5
  75. package/index46.js +4 -6
  76. package/index47.js +10 -5
  77. package/index48.js +6 -9
  78. package/index49.js +17 -6
  79. package/index5.js +1 -1
  80. package/index50.js +11 -17
  81. package/index51.js +6 -11
  82. package/index52.js +12 -6
  83. package/index53.js +3 -12
  84. package/index54.js +7 -3
  85. package/index55.js +9 -24
  86. package/index56.js +11 -7
  87. package/index57.js +5 -9
  88. package/index58.js +5 -11
  89. package/index59.js +9 -6
  90. package/index6.js +45 -90
  91. package/index60.js +15 -5
  92. package/index61.js +6 -9
  93. package/index62.js +5 -15
  94. package/index63.js +8 -5
  95. package/index64.js +6 -5
  96. package/index65.js +5 -8
  97. package/index66.js +5 -6
  98. package/index67.js +5 -4
  99. package/index68.js +6 -5
  100. package/index69.js +26 -7
  101. package/index7.js +261 -46
  102. package/index70.js +5 -6
  103. package/index71.js +40 -26
  104. package/index72.js +4 -3
  105. package/index73.js +5 -39
  106. package/index74.js +15 -7
  107. package/index75.js +7 -5
  108. package/index76.js +2 -15
  109. package/index77.js +3 -8
  110. package/index78.js +13 -2
  111. package/index79.js +5 -3
  112. package/index8.js +54 -261
  113. package/index80.js +3 -13
  114. package/index81.js +3 -4
  115. package/index82.js +4 -3
  116. package/index83.js +4 -4
  117. package/index84.js +4 -4
  118. package/index85.js +4 -4
  119. package/index86.js +15 -4
  120. package/index87.js +14 -4
  121. package/index88.js +8 -14
  122. package/index89.js +3 -14
  123. package/index9.js +334 -52
  124. package/index90.js +5 -8
  125. package/index91.js +6 -3
  126. package/index92.js +5 -5
  127. package/index93.js +7 -5
  128. package/index94.js +17 -5
  129. package/index95.js +10 -7
  130. package/index96.js +5 -17
  131. package/index97.js +4 -10
  132. package/index98.js +4 -5
  133. package/index99.js +5 -4
  134. package/package.json +1 -1
  135. package/selector/index.vue.d.ts +3 -3
  136. package/index133.js +0 -10
  137. package/index134.js +0 -5
  138. package/list/index.d.ts +0 -1
  139. package/list/index.vue.d.ts +0 -110
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # 3.0.0 (2026-07-08)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **ui-sun/list:** add List component
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
11
+ ## 2.9.0 (2026-07-08)
12
+
13
+ This was a version bump only for ui-vant to align it with other projects, there were no code changes.
14
+
1
15
  ## 2.8.11 (2026-07-06)
2
16
 
3
17
  This was a version bump only for ui-vant to align it with other projects, there were no code changes.
package/index.d.ts CHANGED
@@ -2,7 +2,6 @@ export * from './cascader';
2
2
  export * from './cascader-picker';
3
3
  export * from './date-range-picker';
4
4
  export * from './directives';
5
- export * from './list';
6
5
  export * from './modal';
7
6
  export * from './opper-controller';
8
7
  export * from './overlay';
package/index.js CHANGED
@@ -6,29 +6,27 @@ import { default as d } from "./index6.js";
6
6
  import { default as x } from "./index7.js";
7
7
  import { default as s } from "./index8.js";
8
8
  import { default as c } from "./index9.js";
9
- import { default as g } from "./index10.js";
10
- import { vBindFn as y } from "./index11.js";
11
- import { vBinding as C } from "./index12.js";
12
- import { vDatetimePicker as B } from "./index13.js";
13
- import { vReadonly as R } from "./index14.js";
14
- import { Dialog as L, Notify as M, dialog as N, notify as V, setupOverlay as b } from "./index15.js";
9
+ import { vBindFn as g } from "./index10.js";
10
+ import { vBinding as y } from "./index11.js";
11
+ import { vDatetimePicker as C } from "./index12.js";
12
+ import { vReadonly as B } from "./index13.js";
13
+ import { Dialog as R, Notify as F, dialog as M, notify as N, setupOverlay as V } from "./index14.js";
15
14
  export {
16
- L as Dialog,
17
- M as Notify,
15
+ R as Dialog,
16
+ F as Notify,
18
17
  o as SolarVant,
19
18
  a as SunCascader,
20
19
  l as SunCascaderPicker,
21
20
  p as SunDateRangePicker,
22
- d as SunList,
23
- x as SunModal,
24
- s as SunOpperController,
25
- c as SunSelectPicker,
26
- g as SunSelector,
27
- N as dialog,
28
- V as notify,
29
- b as setupOverlay,
30
- y as vBindFn,
31
- C as vBinding,
32
- B as vDatetimePicker,
33
- R as vReadonly
21
+ d as SunModal,
22
+ x as SunOpperController,
23
+ s as SunSelectPicker,
24
+ c as SunSelector,
25
+ M as dialog,
26
+ N as notify,
27
+ V as setupOverlay,
28
+ g as vBindFn,
29
+ y as vBinding,
30
+ C as vDatetimePicker,
31
+ B as vReadonly
34
32
  };
package/index10.js CHANGED
@@ -1,345 +1,21 @@
1
- import { defineComponent as x, mergeModels as F, ref as I, computed as v, useModel as ee, renderSlot as le, toDisplayString as te, createTextVNode as oe, Fragment as ae, openBlock as ne, createElementBlock as se, createCommentVNode as re, renderList as ie, unref as ue, withCtx as de, createBlock as pe, createElementVNode as ce, mergeProps as fe, resolveDirective as ve, withDirectives as me, normalizeClass as ye, createSlots as he, createVNode as be, normalizeStyle as ge } from "vue";
2
- import { SunTag as ke, SunLazyRender as Ve, SunVirtualScroll as $e, SunItem as P } from "@solar-taro/ui-sun";
3
- import { createReusableTemplate as we } from "./index25.js";
4
- import Se from "./index7.js";
5
- import Te from "./index6.js";
6
- import j from "./index26.js";
7
- const u = le, K = te, D = oe, b = ae, n = ne, r = se, m = re, A = ie, p = ue, s = de, C = pe, y = ce, U = fe, Be = ve, G = me, H = ye, W = he, g = be, q = ge, Ke = ["label", "placeholder", "required", "disabled"], Ce = {
8
- key: 0,
9
- name: "input",
10
- class: "sun-selector-input"
11
- }, ze = { name: "right-icon" }, Ne = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], Le = { name: "right-icon" }, De = ["value"], We = { class: "sun-selector-option-label" }, Ie = /* @__PURE__ */ x({
12
- __name: "index",
13
- props: /* @__PURE__ */ F({
14
- type: { default: "field" },
15
- mode: { default: "single" },
16
- label: {},
17
- placeholder: { default: "请选择" },
18
- modelValue: {},
19
- options: {},
20
- labelKey: { default: "fullName" },
21
- valueKey: { default: "id" },
22
- loading: { type: Boolean },
23
- height: { default: "64vh" },
24
- required: { type: Boolean },
25
- disabled: { type: Boolean },
26
- delimiter: { default: ", " },
27
- searchable: { type: Boolean, default: !0 },
28
- clearable: { type: Boolean, default: !0 },
29
- searcher: {},
30
- virtual: { type: [Boolean, Object] },
31
- refresher: { type: Boolean },
32
- refreshing: { type: Boolean },
33
- compareWith: { type: Function, default: (k, z) => k === z }
34
- }, {
35
- keyword: { default: "" },
36
- keywordModifiers: {}
37
- }),
38
- emits: /* @__PURE__ */ F(["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"], ["update:keyword"]),
39
- setup(k, { expose: z, emit: J }) {
40
- const [Q, M] = we(), o = k, d = J, V = I(!1), h = I(!1), X = v(() => o.searcher || ((e, t) => e[o.labelKey].toLowerCase().includes(t))), $ = ee(k, "keyword"), N = v(() => o.options.filter(
41
- (e) => X.value(e, $.value.toLowerCase())
42
- )), w = v(() => {
43
- var e;
44
- if (c.value) {
45
- const t = o.options.find(
46
- (a) => o.compareWith(a[o.valueKey], o.modelValue)
47
- );
48
- return t ? [t] : [];
49
- }
50
- return ((e = o.modelValue) != null ? e : []).map(
51
- (t) => o.options.find((a) => o.compareWith(a[o.valueKey], t))
52
- ).filter(Boolean);
53
- }), L = v(() => w.value.map((e) => e[o.labelKey]).join(o.delimiter)), S = v(() => !Z(o.modelValue) && o.clearable), c = v(() => o.mode === "single"), Y = v(() => {
54
- var a, l;
55
- let e, t = 47;
56
- return typeof o.virtual != "boolean" && (a = o.virtual) != null && a.itemSize && (t = (l = o.virtual) == null ? void 0 : l.itemSize), { id: e, itemSize: t };
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);
11
+ });
57
12
  });
58
- function Z(e) {
59
- return j(e) ? !0 : c.value ? !1 : e.length < 1;
60
- }
61
- function i(e) {
62
- var a;
63
- const t = e[o.valueKey];
64
- return c.value ? j(o.modelValue) ? !1 : o.compareWith(o.modelValue, t) : ((a = o.modelValue) == null ? void 0 : a.some((l) => o.compareWith(l, t))) || !1;
65
- }
66
- function T() {
67
- o.disabled || (V.value = !0, h.value || setTimeout(() => {
68
- h.value = !0;
69
- }, 300));
70
- }
71
- function O() {
72
- V.value = !1, d("close");
73
- }
74
- function R() {
75
- var t;
76
- const e = ((t = o.modelValue) == null ? void 0 : t.map(
77
- (a) => o.options.find(
78
- (l) => o.compareWith(l[o.valueKey], a)
79
- )
80
- )) || [];
81
- d("confirm", e), O();
82
- }
83
- function E(e) {
84
- const t = e[o.valueKey];
85
- let a = o.modelValue;
86
- c.value ? (i(e) ? o.required || (d("unselect", e), a = null) : (d("select", e), a = t), O()) : i(e) ? (d("unselect", e), a = o.modelValue.filter(
87
- (l) => !o.compareWith(l, t)
88
- )) : (d("select", e), a = (o.modelValue || []).concat(
89
- e[o.valueKey]
90
- )), d("update:modelValue", a);
91
- }
92
- function B() {
93
- d("clear", o.modelValue), d("update:modelValue", o.required && !c.value ? [] : null);
94
- }
95
- return z({
96
- present: T,
97
- clear: B,
98
- keyword: $
99
- }), (e, t) => {
100
- const a = Be("readonly");
101
- return n(), r(b, null, [
102
- u(e.$slots, "default", {
103
- present: T,
104
- label: L.value,
105
- selectedOptions: w.value
106
- }, () => [
107
- e.type === "field" ? G((n(), r("van-field", U({ key: 0 }, e.$attrs, {
108
- class: "sun-selector",
109
- label: e.label,
110
- placeholder: e.placeholder,
111
- required: e.required,
112
- disabled: e.disabled,
113
- onClickInput: t[1] || (t[1] = (l) => T())
114
- }), [
115
- w.value.length ? (n(), r("slot-view", Ce, [
116
- c.value ? (n(), r(b, { key: 0 }, [
117
- D(K(L.value), 1)
118
- ], 64)) : (n(!0), r(b, { key: 1 }, A(w.value, (l) => (n(), C(p(ke), {
119
- color: "medium",
120
- type: "translucent"
121
- }, {
122
- default: s(() => [
123
- D(K(l[e.labelKey]), 1)
124
- ]),
125
- _: 2
126
- }, 1024))), 256))
127
- ])) : m("", !0),
128
- y("slot-view", ze, [
129
- S.value ? (n(), r("van-icon", {
130
- key: 0,
131
- class: "sun-selector-clear-icon",
132
- name: "clear",
133
- onTap: t[0] || (t[0] = (l) => B())
134
- }, null, 32)) : m("", !0),
135
- u(e.$slots, "end")
136
- ])
137
- ], 16, Ke)), [
138
- [a]
139
- ]) : e.type === "search" ? G((n(), r("van-search", U({ key: 1 }, e.$attrs, {
140
- class: "sun-selector",
141
- label: e.label,
142
- value: L.value,
143
- placeholder: e.placeholder,
144
- "use-right-icon-slot": S.value,
145
- shape: "round",
146
- clearable: !1,
147
- disabled: e.disabled,
148
- onClickInput: t[3] || (t[3] = (l) => T())
149
- }), [
150
- y("slot-view", Le, [
151
- S.value ? (n(), r("van-icon", {
152
- key: 0,
153
- class: "sun-selector-clear-icon",
154
- name: "clear",
155
- onTap: t[2] || (t[2] = (l) => B())
156
- }, null, 32)) : m("", !0),
157
- u(e.$slots, "end")
158
- ])
159
- ], 16, Ne)), [
160
- [a]
161
- ]) : m("", !0)
162
- ]),
163
- g(p(Ve), { hook: "created" }, {
164
- default: s(() => [
165
- g(p(Se), {
166
- show: V.value,
167
- "onUpdate:show": t[9] || (t[9] = (l) => V.value = l),
168
- title: e.placeholder,
169
- "show-buttons": !c.value
170
- }, W({
171
- buttons: s(() => [
172
- u(e.$slots, "buttons", { confirm: R }, () => [
173
- c.value ? m("", !0) : (n(), r("van-button", {
174
- key: 0,
175
- type: "primary",
176
- round: "true",
177
- block: "true",
178
- onTap: t[8] || (t[8] = (l) => R())
179
- }, "确定", 32))
180
- ])
181
- ]),
182
- default: s(() => [
183
- u(e.$slots, "filter", { rendered: h.value }, () => [
184
- e.searchable ? (n(), r("van-search", {
185
- key: 0,
186
- shape: "round",
187
- "input-align": "center",
188
- value: $.value,
189
- placeholder: "输入关键字搜索",
190
- onChange: t[5] || (t[5] = (l) => $.value = l.detail.trim())
191
- }, null, 40, De)) : m("", !0)
192
- ]),
193
- g(p(Q), null, {
194
- default: s(() => [
195
- e.virtual ? (n(), r(b, { key: 0 }, [
196
- h.value ? (n(), C(p($e), {
197
- key: 0,
198
- class: "sun-selector-options",
199
- refresher: e.refresher,
200
- refreshing: e.refreshing,
201
- items: N.value,
202
- "item-size": Y.value.itemSize,
203
- "item-key": e.valueKey,
204
- style: q({ height: e.height }),
205
- onRefresh: t[6] || (t[6] = (l) => d("refresh"))
206
- }, {
207
- default: s(({ item: l, index: f }) => [
208
- g(p(P), {
209
- class: H(["sun-selector-option", { "sun-selector-option-active": i(l) }]),
210
- clickable: !0,
211
- onTap: (_) => E(l)
212
- }, W({
213
- start: s(() => [
214
- u(e.$slots, "option-start", {
215
- option: l,
216
- index: f,
217
- active: i(l)
218
- })
219
- ]),
220
- end: s(() => [
221
- u(e.$slots, "option-end", {
222
- option: l,
223
- index: f,
224
- active: i(l)
225
- })
226
- ]),
227
- default: s(() => [
228
- u(e.$slots, "option", {
229
- option: l,
230
- index: f,
231
- active: i(l)
232
- }, () => [
233
- D(K(l[e.labelKey]), 1)
234
- ])
235
- ]),
236
- _: 2
237
- }, [
238
- i(l) ? {
239
- name: "end",
240
- fn: s(() => [
241
- t[10] || (t[10] = y("van-icon", {
242
- class: "sun-selector-option-icon",
243
- name: "success"
244
- }, null, -1))
245
- ]),
246
- key: "0"
247
- } : void 0
248
- ]), 1032, ["class", "onTap"])
249
- ]),
250
- _: 3
251
- }, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (n(), r("view", {
252
- key: 1,
253
- style: q({ height: e.height })
254
- }, null, 4))
255
- ], 64)) : (n(), C(p(Te), {
256
- key: 1,
257
- class: "sun-selector-options",
258
- refresher: e.refresher,
259
- refreshing: e.refreshing,
260
- data: N.value,
261
- loading: e.loading,
262
- "empty-type": "search",
263
- style: q({ height: e.height }),
264
- onRefresh: t[7] || (t[7] = (l) => d("refresh"))
265
- }, {
266
- default: s(() => [
267
- (n(!0), r(b, null, A(N.value, (l, f) => (n(), C(p(P), {
268
- key: l[e.valueKey],
269
- class: H(["sun-selector-option", { "sun-selector-option-active": i(l) }]),
270
- clickable: !0,
271
- onTap: (_) => E(l)
272
- }, W({
273
- start: s(() => [
274
- u(e.$slots, "option-start", {
275
- option: l,
276
- index: f,
277
- active: i(l)
278
- })
279
- ]),
280
- end: s(() => [
281
- u(e.$slots, "option-end", {
282
- option: l,
283
- index: f,
284
- active: i(l)
285
- })
286
- ]),
287
- default: s(() => [
288
- u(e.$slots, "option", {
289
- option: l,
290
- index: f,
291
- active: i(l)
292
- }, () => [
293
- y("view", We, K(l[e.labelKey]), 1)
294
- ])
295
- ]),
296
- _: 2
297
- }, [
298
- i(l) ? {
299
- name: "end",
300
- fn: s(() => [
301
- t[11] || (t[11] = y("van-icon", {
302
- class: "sun-selector-option-icon",
303
- slot: "right-icon",
304
- name: "success"
305
- }, null, -1))
306
- ]),
307
- key: "0"
308
- } : void 0
309
- ]), 1032, ["class", "onTap"]))), 128))
310
- ]),
311
- _: 3
312
- }, 8, ["refresher", "refreshing", "data", "loading", "style"]))
313
- ]),
314
- _: 3
315
- }),
316
- u(e.$slots, "list", {
317
- rendered: h.value,
318
- ListTemplate: p(M)
319
- }, () => [
320
- g(p(M))
321
- ])
322
- ]),
323
- _: 2
324
- }, [
325
- S.value ? {
326
- name: "extra",
327
- fn: s(() => [
328
- y("view", {
329
- class: "sun-selector-clear-btn",
330
- onTap: t[4] || (t[4] = (l) => B())
331
- }, "清除", 32)
332
- ]),
333
- key: "0"
334
- } : void 0
335
- ]), 1032, ["show", "title", "show-buttons"])
336
- ]),
337
- _: 3
338
- })
339
- ], 64);
340
- };
13
+ },
14
+ updated(e, t) {
15
+ const { page: n } = o();
16
+ c(n, e.id, t.arg, t.value);
341
17
  }
342
- });
18
+ };
343
19
  export {
344
- Ie as default
20
+ r as vBindFn
345
21
  };
package/index100.js CHANGED
@@ -1,7 +1,9 @@
1
- import t from "./index119.js";
2
- function e(a) {
3
- return t(this, a).has(a);
1
+ import e from "./index73.js";
2
+ import u from "./index31.js";
3
+ function l(r, s, t) {
4
+ var a = s(r);
5
+ return u(r) ? a : e(a, t(r));
4
6
  }
5
7
  export {
6
- e as default
8
+ l as default
7
9
  };
package/index101.js CHANGED
@@ -1,8 +1,12 @@
1
- import s from "./index119.js";
2
- function h(a, e) {
3
- var t = s(this, a), i = t.size;
4
- return t.set(a, e), this.size += t.size == i ? 0 : 1, this;
5
- }
1
+ import o from "./index73.js";
2
+ import m from "./index89.js";
3
+ import e from "./index109.js";
4
+ import a from "./index53.js";
5
+ var s = Object.getOwnPropertySymbols, f = s ? function(r) {
6
+ for (var t = []; r; )
7
+ o(t, e(r)), r = m(r);
8
+ return t;
9
+ } : a;
6
10
  export {
7
- h as default
11
+ f as default
8
12
  };
package/index102.js CHANGED
@@ -1,9 +1,9 @@
1
- import e from "./index75.js";
2
- import u from "./index32.js";
3
- function l(r, s, t) {
4
- var a = s(r);
5
- return u(r) ? a : e(a, t(r));
1
+ import r from "./index87.js";
2
+ import i from "./index118.js";
3
+ function f(t, a) {
4
+ var e = i(t, a);
5
+ return r(e) ? e : void 0;
6
6
  }
7
7
  export {
8
- l as default
8
+ f as default
9
9
  };
package/index103.js CHANGED
@@ -1,12 +1,20 @@
1
- import o from "./index75.js";
2
- import m from "./index91.js";
3
- import e from "./index111.js";
4
- import a from "./index54.js";
5
- var s = Object.getOwnPropertySymbols, f = s ? function(r) {
6
- for (var t = []; r; )
7
- o(t, e(r)), r = m(r);
8
- return t;
9
- } : a;
1
+ import p from "./index119.js";
2
+ import a from "./index120.js";
3
+ import i from "./index121.js";
4
+ import h from "./index122.js";
5
+ import s from "./index123.js";
6
+ function t(e) {
7
+ var o = -1, l = e == null ? 0 : e.length;
8
+ for (this.clear(); ++o < l; ) {
9
+ var r = e[o];
10
+ this.set(r[0], r[1]);
11
+ }
12
+ }
13
+ t.prototype.clear = p;
14
+ t.prototype.delete = a;
15
+ t.prototype.get = i;
16
+ t.prototype.has = h;
17
+ t.prototype.set = s;
10
18
  export {
11
- f as default
19
+ t as default
12
20
  };
package/index104.js CHANGED
@@ -1,9 +1,7 @@
1
- import r from "./index89.js";
2
- import i from "./index120.js";
3
- function f(t, a) {
4
- var e = i(t, a);
5
- return r(e) ? e : void 0;
1
+ import t from "./index103.js";
2
+ function e() {
3
+ this.__data__ = new t(), this.size = 0;
6
4
  }
7
5
  export {
8
- f as default
6
+ e as default
9
7
  };
package/index105.js CHANGED
@@ -1,20 +1,7 @@
1
- import p from "./index121.js";
2
- import a from "./index122.js";
3
- import i from "./index123.js";
4
- import h from "./index124.js";
5
- import s from "./index125.js";
6
- function t(e) {
7
- var o = -1, l = e == null ? 0 : e.length;
8
- for (this.clear(); ++o < l; ) {
9
- var r = e[o];
10
- this.set(r[0], r[1]);
11
- }
1
+ function s(t) {
2
+ var e = this.__data__, a = e.delete(t);
3
+ return this.size = e.size, a;
12
4
  }
13
- t.prototype.clear = p;
14
- t.prototype.delete = a;
15
- t.prototype.get = i;
16
- t.prototype.has = h;
17
- t.prototype.set = s;
18
5
  export {
19
- t as default
6
+ s as default
20
7
  };
package/index106.js CHANGED
@@ -1,7 +1,6 @@
1
- import t from "./index105.js";
2
- function e() {
3
- this.__data__ = new t(), this.size = 0;
1
+ function a(t) {
2
+ return this.__data__.get(t);
4
3
  }
5
4
  export {
6
- e as default
5
+ a as default
7
6
  };
package/index107.js CHANGED
@@ -1,7 +1,6 @@
1
- function s(t) {
2
- var e = this.__data__, a = e.delete(t);
3
- return this.size = e.size, a;
1
+ function t(a) {
2
+ return this.__data__.has(a);
4
3
  }
5
4
  export {
6
- s as default
5
+ t as default
7
6
  };
package/index108.js CHANGED
@@ -1,6 +1,17 @@
1
- function a(t) {
2
- return this.__data__.get(t);
1
+ import _ from "./index103.js";
2
+ import e from "./index82.js";
3
+ import r from "./index94.js";
4
+ var h = 200;
5
+ function m(i, s) {
6
+ var t = this.__data__;
7
+ if (t instanceof _) {
8
+ var a = t.__data__;
9
+ if (!e || a.length < h - 1)
10
+ return a.push([i, s]), this.size = ++t.size, this;
11
+ t = this.__data__ = new r(a);
12
+ }
13
+ return t.set(i, s), this.size = t.size, this;
3
14
  }
4
15
  export {
5
- a as default
16
+ m as default
6
17
  };
package/index109.js CHANGED
@@ -1,6 +1,10 @@
1
- function t(a) {
2
- return this.__data__.has(a);
3
- }
1
+ import o from "./index75.js";
2
+ import a from "./index53.js";
3
+ var n = Object.prototype, l = n.propertyIsEnumerable, t = Object.getOwnPropertySymbols, m = t ? function(r) {
4
+ return r == null ? [] : (r = Object(r), o(t(r), function(e) {
5
+ return l.call(r, e);
6
+ }));
7
+ } : a;
4
8
  export {
5
- t as default
9
+ m as default
6
10
  };
package/index11.js CHANGED
@@ -1,21 +1,6 @@
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);
11
- });
12
- });
13
- },
14
- updated(e, t) {
15
- const { page: n } = o();
16
- c(n, e.id, t.arg, t.value);
17
- }
1
+ const r = (e, t) => {
2
+ e.setAttribute(t.arg, t.value);
18
3
  };
19
4
  export {
20
- r as vBindFn
5
+ r as vBinding
21
6
  };