ranui 0.1.10-alpha.16 → 0.1.10-alpha.18

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 (48) hide show
  1. package/dist/{arrow-down-B_hCY3Wt.js → arrow-down-BfP__spA.js} +27 -273
  2. package/dist/button.js +2 -2
  3. package/dist/checkbox.js +2 -2
  4. package/dist/colorpicker.js +4 -4
  5. package/dist/components/tab/index.d.ts +5 -0
  6. package/dist/components/tabpane/index.d.ts +5 -0
  7. package/dist/{docx-CHkPTdGU.js → docx-VUApAnRr.js} +339 -286
  8. package/dist/icon.js +2 -2
  9. package/dist/iconShadowless.js +2 -2
  10. package/dist/{index-D_CA5VDZ.js → index-B1Krwj3R.js} +2 -2
  11. package/dist/{index-D4qUro5V.js → index-BG_RPA3S.js} +3 -3
  12. package/dist/{index-1v568_nq.js → index-BKc8CN7b.js} +1 -1
  13. package/dist/{index-5xtGTetN.js → index-Ba501-HG.js} +5709 -10563
  14. package/dist/{index-CwWOKbhV.js → index-BlB9DoHg.js} +6 -6
  15. package/dist/{index-CGYfjKUV.js → index-BtvTF9Dy.js} +2 -2
  16. package/dist/{index-DJZmDHz-.js → index-C9ZeUM1l.js} +2 -2
  17. package/dist/{index-C6RcMHoH.js → index-CBApz0IY.js} +1 -1
  18. package/dist/{index-15M0olqa.js → index-ChCDonf3.js} +1 -1
  19. package/dist/{index-CGEx9VOA.js → index-Co9E57uv.js} +233 -481
  20. package/dist/{index-CiWwvEMM.js → index-D5ucMSCz.js} +3 -3
  21. package/dist/{index-D4y9c1Dj.js → index-DILUjTXZ.js} +2 -2
  22. package/dist/{index-mhFL9MJp.js → index-DU1-Vrso.js} +1 -1
  23. package/dist/{index-CFjEuvBW.js → index-DmVCN-bN.js} +1 -1
  24. package/dist/{index-CtVOgBDk.js → index-DpNvpcjW.js} +3 -3
  25. package/dist/{index-CVtBLEpV.js → index-DzITmPGZ.js} +1 -1
  26. package/dist/{index-B_GuEcTd.js → index-RzDJf-H8.js} +3612 -986
  27. package/dist/{index-C9z10IgG.js → index-x2z6Vm2E.js} +1 -1
  28. package/dist/index.d.ts +31 -29
  29. package/dist/index.js +14 -14
  30. package/dist/jszip.min-BIf20mgf.js +2898 -0
  31. package/dist/{katex-es-B5r5vt3m.js → katex-es-DoRbtDCO.js} +2094 -7496
  32. package/dist/loading.js +2 -2
  33. package/dist/math.js +2 -2
  34. package/dist/message.js +3 -3
  35. package/dist/player.js +3 -3
  36. package/dist/popover.js +3 -3
  37. package/dist/preview.js +4 -4
  38. package/dist/progress.js +2 -2
  39. package/dist/radar.js +2 -2
  40. package/dist/select.js +4 -4
  41. package/dist/selectShadowless.js +2 -2
  42. package/dist/shadowless.js +1 -1
  43. package/dist/tab.js +2 -2
  44. package/dist/typings.d.ts +31 -29
  45. package/dist/umd/index.umd.cjs +19 -19
  46. package/package.json +3 -1
  47. package/typings.d.ts +31 -29
  48. package/dist/jszip.min-Dhs3nUkD.js +0 -2346
@@ -1,5 +1,10 @@
1
1
  var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
3
+ enumerable: true,
4
+ configurable: true,
5
+ writable: true,
6
+ value
7
+ }) : obj[key] = value;
3
8
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
9
  const noop = () => {
5
10
  };
@@ -22,72 +27,7 @@ const isMobile = () => {
22
27
  }
23
28
  return false;
24
29
  };
25
- const K_sha2 = [
26
- 1116352408,
27
- 1899447441,
28
- 3049323471,
29
- 3921009573,
30
- 961987163,
31
- 1508970993,
32
- 2453635748,
33
- 2870763221,
34
- 3624381080,
35
- 310598401,
36
- 607225278,
37
- 1426881987,
38
- 1925078388,
39
- 2162078206,
40
- 2614888103,
41
- 3248222580,
42
- 3835390401,
43
- 4022224774,
44
- 264347078,
45
- 604807628,
46
- 770255983,
47
- 1249150122,
48
- 1555081692,
49
- 1996064986,
50
- 2554220882,
51
- 2821834349,
52
- 2952996808,
53
- 3210313671,
54
- 3336571891,
55
- 3584528711,
56
- 113926993,
57
- 338241895,
58
- 666307205,
59
- 773529912,
60
- 1294757372,
61
- 1396182291,
62
- 1695183700,
63
- 1986661051,
64
- 2177026350,
65
- 2456956037,
66
- 2730485921,
67
- 2820302411,
68
- 3259730800,
69
- 3345764771,
70
- 3516065817,
71
- 3600352804,
72
- 4094571909,
73
- 275423344,
74
- 430227734,
75
- 506948616,
76
- 659060556,
77
- 883997877,
78
- 958139571,
79
- 1322822218,
80
- 1537002063,
81
- 1747873779,
82
- 1955562222,
83
- 2024104815,
84
- 2227730452,
85
- 2361852424,
86
- 2428436474,
87
- 2756734187,
88
- 3204031479,
89
- 3329325298
90
- ];
30
+ const K_sha2 = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298];
91
31
  class Int_64 {
92
32
  constructor(msint_32, lsint_32) {
93
33
  __publicField(this, "highOrder");
@@ -96,114 +36,8 @@ class Int_64 {
96
36
  this.lowOrder = lsint_32;
97
37
  }
98
38
  }
99
- [
100
- new Int_64(K_sha2[0], 3609767458),
101
- new Int_64(K_sha2[1], 602891725),
102
- new Int_64(K_sha2[2], 3964484399),
103
- new Int_64(K_sha2[3], 2173295548),
104
- new Int_64(K_sha2[4], 4081628472),
105
- new Int_64(K_sha2[5], 3053834265),
106
- new Int_64(K_sha2[6], 2937671579),
107
- new Int_64(K_sha2[7], 3664609560),
108
- new Int_64(K_sha2[8], 2734883394),
109
- new Int_64(K_sha2[9], 1164996542),
110
- new Int_64(K_sha2[10], 1323610764),
111
- new Int_64(K_sha2[11], 3590304994),
112
- new Int_64(K_sha2[12], 4068182383),
113
- new Int_64(K_sha2[13], 991336113),
114
- new Int_64(K_sha2[14], 633803317),
115
- new Int_64(K_sha2[15], 3479774868),
116
- new Int_64(K_sha2[16], 2666613458),
117
- new Int_64(K_sha2[17], 944711139),
118
- new Int_64(K_sha2[18], 2341262773),
119
- new Int_64(K_sha2[19], 2007800933),
120
- new Int_64(K_sha2[20], 1495990901),
121
- new Int_64(K_sha2[21], 1856431235),
122
- new Int_64(K_sha2[22], 3175218132),
123
- new Int_64(K_sha2[23], 2198950837),
124
- new Int_64(K_sha2[24], 3999719339),
125
- new Int_64(K_sha2[25], 766784016),
126
- new Int_64(K_sha2[26], 2566594879),
127
- new Int_64(K_sha2[27], 3203337956),
128
- new Int_64(K_sha2[28], 1034457026),
129
- new Int_64(K_sha2[29], 2466948901),
130
- new Int_64(K_sha2[30], 3758326383),
131
- new Int_64(K_sha2[31], 168717936),
132
- new Int_64(K_sha2[32], 1188179964),
133
- new Int_64(K_sha2[33], 1546045734),
134
- new Int_64(K_sha2[34], 1522805485),
135
- new Int_64(K_sha2[35], 2643833823),
136
- new Int_64(K_sha2[36], 2343527390),
137
- new Int_64(K_sha2[37], 1014477480),
138
- new Int_64(K_sha2[38], 1206759142),
139
- new Int_64(K_sha2[39], 344077627),
140
- new Int_64(K_sha2[40], 1290863460),
141
- new Int_64(K_sha2[41], 3158454273),
142
- new Int_64(K_sha2[42], 3505952657),
143
- new Int_64(K_sha2[43], 106217008),
144
- new Int_64(K_sha2[44], 3606008344),
145
- new Int_64(K_sha2[45], 1432725776),
146
- new Int_64(K_sha2[46], 1467031594),
147
- new Int_64(K_sha2[47], 851169720),
148
- new Int_64(K_sha2[48], 3100823752),
149
- new Int_64(K_sha2[49], 1363258195),
150
- new Int_64(K_sha2[50], 3750685593),
151
- new Int_64(K_sha2[51], 3785050280),
152
- new Int_64(K_sha2[52], 3318307427),
153
- new Int_64(K_sha2[53], 3812723403),
154
- new Int_64(K_sha2[54], 2003034995),
155
- new Int_64(K_sha2[55], 3602036899),
156
- new Int_64(K_sha2[56], 1575990012),
157
- new Int_64(K_sha2[57], 1125592928),
158
- new Int_64(K_sha2[58], 2716904306),
159
- new Int_64(K_sha2[59], 442776044),
160
- new Int_64(K_sha2[60], 593698344),
161
- new Int_64(K_sha2[61], 3733110249),
162
- new Int_64(K_sha2[62], 2999351573),
163
- new Int_64(K_sha2[63], 3815920427),
164
- new Int_64(3391569614, 3928383900),
165
- new Int_64(3515267271, 566280711),
166
- new Int_64(3940187606, 3454069534),
167
- new Int_64(4118630271, 4000239992),
168
- new Int_64(116418474, 1914138554),
169
- new Int_64(174292421, 2731055270),
170
- new Int_64(289380356, 3203993006),
171
- new Int_64(460393269, 320620315),
172
- new Int_64(685471733, 587496836),
173
- new Int_64(852142971, 1086792851),
174
- new Int_64(1017036298, 365543100),
175
- new Int_64(1126000580, 2618297676),
176
- new Int_64(1288033470, 3409855158),
177
- new Int_64(1501505948, 4234509866),
178
- new Int_64(1607167915, 987167468),
179
- new Int_64(1816402316, 1246189591)
180
- ];
181
- [
182
- new Int_64(0, 1),
183
- new Int_64(0, 32898),
184
- new Int_64(2147483648, 32906),
185
- new Int_64(2147483648, 2147516416),
186
- new Int_64(0, 32907),
187
- new Int_64(0, 2147483649),
188
- new Int_64(2147483648, 2147516545),
189
- new Int_64(2147483648, 32777),
190
- new Int_64(0, 138),
191
- new Int_64(0, 136),
192
- new Int_64(0, 2147516425),
193
- new Int_64(0, 2147483658),
194
- new Int_64(0, 2147516555),
195
- new Int_64(2147483648, 139),
196
- new Int_64(2147483648, 32905),
197
- new Int_64(2147483648, 32771),
198
- new Int_64(2147483648, 32770),
199
- new Int_64(2147483648, 128),
200
- new Int_64(0, 32778),
201
- new Int_64(2147483648, 2147483658),
202
- new Int_64(2147483648, 2147516545),
203
- new Int_64(2147483648, 32896),
204
- new Int_64(0, 2147483649),
205
- new Int_64(2147483648, 2147516424)
206
- ];
39
+ [new Int_64(K_sha2[0], 3609767458), new Int_64(K_sha2[1], 602891725), new Int_64(K_sha2[2], 3964484399), new Int_64(K_sha2[3], 2173295548), new Int_64(K_sha2[4], 4081628472), new Int_64(K_sha2[5], 3053834265), new Int_64(K_sha2[6], 2937671579), new Int_64(K_sha2[7], 3664609560), new Int_64(K_sha2[8], 2734883394), new Int_64(K_sha2[9], 1164996542), new Int_64(K_sha2[10], 1323610764), new Int_64(K_sha2[11], 3590304994), new Int_64(K_sha2[12], 4068182383), new Int_64(K_sha2[13], 991336113), new Int_64(K_sha2[14], 633803317), new Int_64(K_sha2[15], 3479774868), new Int_64(K_sha2[16], 2666613458), new Int_64(K_sha2[17], 944711139), new Int_64(K_sha2[18], 2341262773), new Int_64(K_sha2[19], 2007800933), new Int_64(K_sha2[20], 1495990901), new Int_64(K_sha2[21], 1856431235), new Int_64(K_sha2[22], 3175218132), new Int_64(K_sha2[23], 2198950837), new Int_64(K_sha2[24], 3999719339), new Int_64(K_sha2[25], 766784016), new Int_64(K_sha2[26], 2566594879), new Int_64(K_sha2[27], 3203337956), new Int_64(K_sha2[28], 1034457026), new Int_64(K_sha2[29], 2466948901), new Int_64(K_sha2[30], 3758326383), new Int_64(K_sha2[31], 168717936), new Int_64(K_sha2[32], 1188179964), new Int_64(K_sha2[33], 1546045734), new Int_64(K_sha2[34], 1522805485), new Int_64(K_sha2[35], 2643833823), new Int_64(K_sha2[36], 2343527390), new Int_64(K_sha2[37], 1014477480), new Int_64(K_sha2[38], 1206759142), new Int_64(K_sha2[39], 344077627), new Int_64(K_sha2[40], 1290863460), new Int_64(K_sha2[41], 3158454273), new Int_64(K_sha2[42], 3505952657), new Int_64(K_sha2[43], 106217008), new Int_64(K_sha2[44], 3606008344), new Int_64(K_sha2[45], 1432725776), new Int_64(K_sha2[46], 1467031594), new Int_64(K_sha2[47], 851169720), new Int_64(K_sha2[48], 3100823752), new Int_64(K_sha2[49], 1363258195), new Int_64(K_sha2[50], 3750685593), new Int_64(K_sha2[51], 3785050280), new Int_64(K_sha2[52], 3318307427), new Int_64(K_sha2[53], 3812723403), new Int_64(K_sha2[54], 2003034995), new Int_64(K_sha2[55], 3602036899), new Int_64(K_sha2[56], 1575990012), new Int_64(K_sha2[57], 1125592928), new Int_64(K_sha2[58], 2716904306), new Int_64(K_sha2[59], 442776044), new Int_64(K_sha2[60], 593698344), new Int_64(K_sha2[61], 3733110249), new Int_64(K_sha2[62], 2999351573), new Int_64(K_sha2[63], 3815920427), new Int_64(3391569614, 3928383900), new Int_64(3515267271, 566280711), new Int_64(3940187606, 3454069534), new Int_64(4118630271, 4000239992), new Int_64(116418474, 1914138554), new Int_64(174292421, 2731055270), new Int_64(289380356, 3203993006), new Int_64(460393269, 320620315), new Int_64(685471733, 587496836), new Int_64(852142971, 1086792851), new Int_64(1017036298, 365543100), new Int_64(1126000580, 2618297676), new Int_64(1288033470, 3409855158), new Int_64(1501505948, 4234509866), new Int_64(1607167915, 987167468), new Int_64(1816402316, 1246189591)];
40
+ [new Int_64(0, 1), new Int_64(0, 32898), new Int_64(2147483648, 32906), new Int_64(2147483648, 2147516416), new Int_64(0, 32907), new Int_64(0, 2147483649), new Int_64(2147483648, 2147516545), new Int_64(2147483648, 32777), new Int_64(0, 138), new Int_64(0, 136), new Int_64(0, 2147516425), new Int_64(0, 2147483658), new Int_64(0, 2147516555), new Int_64(2147483648, 139), new Int_64(2147483648, 32905), new Int_64(2147483648, 32771), new Int_64(2147483648, 32770), new Int_64(2147483648, 128), new Int_64(0, 32778), new Int_64(2147483648, 2147483658), new Int_64(2147483648, 2147516545), new Int_64(2147483648, 32896), new Int_64(0, 2147483649), new Int_64(2147483648, 2147516424)];
207
41
  function formatDuration(time) {
208
42
  return time < 10 ? `0${time}` : time;
209
43
  }
@@ -259,34 +93,7 @@ const createDocumentFragment = (list) => {
259
93
  return Fragment;
260
94
  };
261
95
  const SVG_NS = "http://www.w3.org/2000/svg";
262
- const SVG_TAG_NAMES = [
263
- "svg",
264
- "path",
265
- "g",
266
- "circle",
267
- "rect",
268
- "line",
269
- "polyline",
270
- "polygon",
271
- "ellipse",
272
- "text",
273
- "tspan",
274
- "textPath",
275
- "defs",
276
- "marker",
277
- "radialGradient",
278
- "stop",
279
- "linearGradient",
280
- "clipPath",
281
- "mask",
282
- "pattern",
283
- "image",
284
- "use",
285
- "symbol",
286
- "foreignObject",
287
- "feGaussianBlur",
288
- "feColorMatrix"
289
- ];
96
+ const SVG_TAG_NAMES = ["svg", "path", "g", "circle", "rect", "line", "polyline", "polygon", "ellipse", "text", "tspan", "textPath", "defs", "marker", "radialGradient", "stop", "linearGradient", "clipPath", "mask", "pattern", "image", "use", "symbol", "foreignObject", "feGaussianBlur", "feColorMatrix"];
290
97
  class Chain {
291
98
  constructor(tagName, options) {
292
99
  __publicField(this, "listener");
@@ -401,71 +208,7 @@ const generateThrottle = () => {
401
208
  };
402
209
  };
403
210
  };
404
- const codes = /* @__PURE__ */ new Map([
405
- [100, "Continue"],
406
- [101, "Switching Protocols"],
407
- [102, "Processing"],
408
- [103, "Early Hints"],
409
- [200, "OK"],
410
- [201, "Created"],
411
- [202, "Accepted"],
412
- [203, "Non-Authoritative Information"],
413
- [204, "No Content"],
414
- [205, "Reset Content"],
415
- [206, "Partial Content"],
416
- [207, "Multi-Status"],
417
- [208, "Already Reported"],
418
- [226, "IM Used"],
419
- [300, "Multiple Choices"],
420
- [301, "Moved Permanently"],
421
- [302, "Found"],
422
- [303, "See Other"],
423
- [304, "Not Modified"],
424
- [305, "Use Proxy"],
425
- [307, "Temporary Redirect"],
426
- [308, "Permanent Redirect"],
427
- [400, "Bad Request"],
428
- [401, "Unauthorized"],
429
- [402, "Payment Required"],
430
- [403, "Forbidden"],
431
- [404, "Not Found"],
432
- [405, "Method Not Allowed"],
433
- [406, "Not Acceptable"],
434
- [407, "Proxy Authentication Required"],
435
- [408, "Request Timeout"],
436
- [409, "Conflict"],
437
- [410, "Gone"],
438
- [411, "Length Required"],
439
- [412, "Precondition Failed"],
440
- [413, "Payload Too Large"],
441
- [414, "URI Too Long"],
442
- [415, "Unsupported Media Type"],
443
- [416, "Range Not Satisfiable"],
444
- [417, "Expectation Failed"],
445
- [418, "I'm a Teapot"],
446
- [421, "Misdirected Request"],
447
- [422, "Unprocessable Entity"],
448
- [423, "Locked"],
449
- [424, "Failed Dependency"],
450
- [425, "Too Early"],
451
- [426, "Upgrade Required"],
452
- [428, "Precondition Required"],
453
- [429, "Too Many Requests"],
454
- [431, "Request Header Fields Too Large"],
455
- [451, "Unavailable For Legal Reasons"],
456
- [500, "Internal Server Error"],
457
- [501, "Not Implemented"],
458
- [502, "Bad Gateway"],
459
- [503, "Service Unavailable"],
460
- [504, "Gateway Timeout"],
461
- [505, "HTTP Version Not Supported"],
462
- [506, "Variant Also Negotiates"],
463
- [507, "Insufficient Storage"],
464
- [508, "Loop Detected"],
465
- [509, "Bandwidth Limit Exceeded"],
466
- [510, "Not Extended"],
467
- [511, "Network Authentication Required"]
468
- ]);
211
+ const codes = /* @__PURE__ */ new Map([[100, "Continue"], [101, "Switching Protocols"], [102, "Processing"], [103, "Early Hints"], [200, "OK"], [201, "Created"], [202, "Accepted"], [203, "Non-Authoritative Information"], [204, "No Content"], [205, "Reset Content"], [206, "Partial Content"], [207, "Multi-Status"], [208, "Already Reported"], [226, "IM Used"], [300, "Multiple Choices"], [301, "Moved Permanently"], [302, "Found"], [303, "See Other"], [304, "Not Modified"], [305, "Use Proxy"], [307, "Temporary Redirect"], [308, "Permanent Redirect"], [400, "Bad Request"], [401, "Unauthorized"], [402, "Payment Required"], [403, "Forbidden"], [404, "Not Found"], [405, "Method Not Allowed"], [406, "Not Acceptable"], [407, "Proxy Authentication Required"], [408, "Request Timeout"], [409, "Conflict"], [410, "Gone"], [411, "Length Required"], [412, "Precondition Failed"], [413, "Payload Too Large"], [414, "URI Too Long"], [415, "Unsupported Media Type"], [416, "Range Not Satisfiable"], [417, "Expectation Failed"], [418, "I'm a Teapot"], [421, "Misdirected Request"], [422, "Unprocessable Entity"], [423, "Locked"], [424, "Failed Dependency"], [425, "Too Early"], [426, "Upgrade Required"], [428, "Precondition Required"], [429, "Too Many Requests"], [431, "Request Header Fields Too Large"], [451, "Unavailable For Legal Reasons"], [500, "Internal Server Error"], [501, "Not Implemented"], [502, "Bad Gateway"], [503, "Service Unavailable"], [504, "Gateway Timeout"], [505, "HTTP Version Not Supported"], [506, "Variant Also Negotiates"], [507, "Insufficient Storage"], [508, "Loop Detected"], [509, "Bandwidth Limit Exceeded"], [510, "Not Extended"], [511, "Network Authentication Required"]]);
469
212
  ({
470
213
  // status code to message map
471
214
  message: codes,
@@ -534,7 +277,10 @@ const _Mathjs = class _Mathjs2 {
534
277
  };
535
278
  __publicField(_Mathjs, "handleMethod", (l2, r2) => {
536
279
  const mathjs2 = new _Mathjs();
537
- const { power, amend } = mathjs2;
280
+ const {
281
+ power,
282
+ amend
283
+ } = mathjs2;
538
284
  const pow = power(l2, r2);
539
285
  const a2 = amend(l2 * pow);
540
286
  const b2 = amend(r2 * pow);
@@ -586,14 +332,18 @@ class SyncHook {
586
332
  __publicField(this, "call", (eventName, ...args) => {
587
333
  const callbacks = this._events[eventName] || [];
588
334
  callbacks.forEach((item) => {
589
- const { callback } = item;
335
+ const {
336
+ callback
337
+ } = item;
590
338
  callback(...args);
591
339
  });
592
340
  });
593
341
  __publicField(this, "callSync", async (eventName, ...args) => {
594
342
  const callbacks = this._events[eventName] || [];
595
343
  for (const item of callbacks) {
596
- const { callback } = item;
344
+ const {
345
+ callback
346
+ } = item;
597
347
  await callback(...args);
598
348
  }
599
349
  });
@@ -609,7 +359,9 @@ class SyncHook {
609
359
  initialCallback: eventItem
610
360
  };
611
361
  } else {
612
- const { callback } = eventItem;
362
+ const {
363
+ callback
364
+ } = eventItem;
613
365
  one = {
614
366
  name: eventName,
615
367
  callback: (...args) => {
@@ -628,7 +380,9 @@ class SyncHook {
628
380
  if (typeof eventItem === "function") {
629
381
  return item.callback !== eventItem && item.initialCallback !== eventItem;
630
382
  } else {
631
- const { callback } = eventItem;
383
+ const {
384
+ callback
385
+ } = eventItem;
632
386
  return item.callback !== callback && item.initialCallback !== callback;
633
387
  }
634
388
  });
package/dist/button.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B, a } from "./index-C6RcMHoH.js";
2
- import "./arrow-down-B_hCY3Wt.js";
1
+ import { B, a } from "./index-CBApz0IY.js";
2
+ import "./arrow-down-BfP__spA.js";
3
3
  import "./index-DC5EA657.js";
4
4
  export {
5
5
  B as Button,
package/dist/checkbox.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C, a } from "./index-1v568_nq.js";
2
- import "./arrow-down-B_hCY3Wt.js";
1
+ import { C, a } from "./index-BKc8CN7b.js";
2
+ import "./arrow-down-BfP__spA.js";
3
3
  import "./index-DC5EA657.js";
4
4
  export {
5
5
  C as Checkbox,
@@ -1,10 +1,10 @@
1
- import "./arrow-down-B_hCY3Wt.js";
1
+ import "./arrow-down-BfP__spA.js";
2
2
  import "./index-DC5EA657.js";
3
- import { C, a } from "./index-CiWwvEMM.js";
4
- import "./index-D4y9c1Dj.js";
3
+ import { C, a } from "./index-D5ucMSCz.js";
4
+ import "./index-DILUjTXZ.js";
5
5
  import "./index-WfFw4LJT.js";
6
6
  import "./selectShadowless.js";
7
- import "./index-15M0olqa.js";
7
+ import "./index-ChCDonf3.js";
8
8
  export {
9
9
  C as ColorPicker,
10
10
  a as default
@@ -103,6 +103,11 @@ declare const _default: {
103
103
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
104
104
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
105
105
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
106
+ mozRequestFullScreen: (options?: FullscreenOptions) => Promise<void>;
107
+ msRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
108
+ oRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
109
+ webkitRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
110
+ webkitEnterFullscreen: (options?: FullscreenOptions) => Promise<void>;
106
111
  readonly attributes: NamedNodeMap;
107
112
  readonly classList: DOMTokenList;
108
113
  className: string;
@@ -47,6 +47,11 @@ declare const _default: {
47
47
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
48
48
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
49
49
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
50
+ mozRequestFullScreen: (options?: FullscreenOptions) => Promise<void>;
51
+ msRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
52
+ oRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
53
+ webkitRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
54
+ webkitEnterFullscreen: (options?: FullscreenOptions) => Promise<void>;
50
55
  readonly attributes: NamedNodeMap;
51
56
  readonly classList: DOMTokenList;
52
57
  className: string;