asterui 0.12.1 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/dist/components/Checkbox.d.ts +10 -0
  2. package/dist/components/Dock.d.ts +38 -0
  3. package/dist/components/Mask.d.ts +14 -0
  4. package/dist/index.d.ts +5 -1
  5. package/dist/index.js +173 -169
  6. package/dist/index.js.map +1 -1
  7. package/dist/index10.js +85 -59
  8. package/dist/index10.js.map +1 -1
  9. package/dist/index100.js +12 -7
  10. package/dist/index100.js.map +1 -1
  11. package/dist/index101.js +13 -11
  12. package/dist/index101.js.map +1 -1
  13. package/dist/index102.js +7 -30
  14. package/dist/index102.js.map +1 -1
  15. package/dist/index103.js +11 -16
  16. package/dist/index103.js.map +1 -1
  17. package/dist/index104.js +30 -10792
  18. package/dist/index104.js.map +1 -1
  19. package/dist/index105.js +18 -5
  20. package/dist/index105.js.map +1 -1
  21. package/dist/index15.js +3 -3
  22. package/dist/index21.js +1 -1
  23. package/dist/index24.js +43 -32
  24. package/dist/index24.js.map +1 -1
  25. package/dist/index25.js +32 -41
  26. package/dist/index25.js.map +1 -1
  27. package/dist/index26.js +41 -12
  28. package/dist/index26.js.map +1 -1
  29. package/dist/index27.js +12 -33
  30. package/dist/index27.js.map +1 -1
  31. package/dist/index28.js +33 -63
  32. package/dist/index28.js.map +1 -1
  33. package/dist/index29.js +60 -77
  34. package/dist/index29.js.map +1 -1
  35. package/dist/index30.js +80 -18
  36. package/dist/index30.js.map +1 -1
  37. package/dist/index31.js +15 -217
  38. package/dist/index31.js.map +1 -1
  39. package/dist/index32.js +216 -1078
  40. package/dist/index32.js.map +1 -1
  41. package/dist/index33.js +1081 -17
  42. package/dist/index33.js.map +1 -1
  43. package/dist/index34.js +17 -121
  44. package/dist/index34.js.map +1 -1
  45. package/dist/index35.js +119 -37
  46. package/dist/index35.js.map +1 -1
  47. package/dist/index36.js +31 -182
  48. package/dist/index36.js.map +1 -1
  49. package/dist/index37.js +191 -97
  50. package/dist/index37.js.map +1 -1
  51. package/dist/index38.js +93 -158
  52. package/dist/index38.js.map +1 -1
  53. package/dist/index39.js +155 -139
  54. package/dist/index39.js.map +1 -1
  55. package/dist/index40.js +146 -15
  56. package/dist/index40.js.map +1 -1
  57. package/dist/index41.js +14 -17
  58. package/dist/index41.js.map +1 -1
  59. package/dist/index42.js +18 -21
  60. package/dist/index42.js.map +1 -1
  61. package/dist/index43.js +18 -116
  62. package/dist/index43.js.map +1 -1
  63. package/dist/index44.js +116 -10
  64. package/dist/index44.js.map +1 -1
  65. package/dist/index45.js +13 -35
  66. package/dist/index45.js.map +1 -1
  67. package/dist/index46.js +33 -114
  68. package/dist/index46.js.map +1 -1
  69. package/dist/index47.js +10 -176
  70. package/dist/index47.js.map +1 -1
  71. package/dist/index48.js +114 -145
  72. package/dist/index48.js.map +1 -1
  73. package/dist/index49.js +176 -12
  74. package/dist/index49.js.map +1 -1
  75. package/dist/index50.js +146 -21
  76. package/dist/index50.js.map +1 -1
  77. package/dist/index51.js +12 -14
  78. package/dist/index51.js.map +1 -1
  79. package/dist/index52.js +20 -5
  80. package/dist/index52.js.map +1 -1
  81. package/dist/index53.js +14 -266
  82. package/dist/index53.js.map +1 -1
  83. package/dist/index54.js +7 -17
  84. package/dist/index54.js.map +1 -1
  85. package/dist/index55.js +257 -113
  86. package/dist/index55.js.map +1 -1
  87. package/dist/index56.js +17 -110
  88. package/dist/index56.js.map +1 -1
  89. package/dist/index57.js +121 -169
  90. package/dist/index57.js.map +1 -1
  91. package/dist/index58.js +110 -32
  92. package/dist/index58.js.map +1 -1
  93. package/dist/index59.js +163 -115
  94. package/dist/index59.js.map +1 -1
  95. package/dist/index60.js +30 -84
  96. package/dist/index60.js.map +1 -1
  97. package/dist/index61.js +121 -19
  98. package/dist/index61.js.map +1 -1
  99. package/dist/index62.js +81 -69
  100. package/dist/index62.js.map +1 -1
  101. package/dist/index63.js +19 -56
  102. package/dist/index63.js.map +1 -1
  103. package/dist/index64.js +72 -43
  104. package/dist/index64.js.map +1 -1
  105. package/dist/index65.js +54 -49
  106. package/dist/index65.js.map +1 -1
  107. package/dist/index66.js +41 -58
  108. package/dist/index66.js.map +1 -1
  109. package/dist/index67.js +50 -105
  110. package/dist/index67.js.map +1 -1
  111. package/dist/index68.js +62 -41
  112. package/dist/index68.js.map +1 -1
  113. package/dist/index69.js +99 -60
  114. package/dist/index69.js.map +1 -1
  115. package/dist/index70.js +41 -21
  116. package/dist/index70.js.map +1 -1
  117. package/dist/index71.js +66 -44
  118. package/dist/index71.js.map +1 -1
  119. package/dist/index72.js +19 -132
  120. package/dist/index72.js.map +1 -1
  121. package/dist/index73.js +40 -46
  122. package/dist/index73.js.map +1 -1
  123. package/dist/index74.js +134 -22
  124. package/dist/index74.js.map +1 -1
  125. package/dist/index75.js +50 -29
  126. package/dist/index75.js.map +1 -1
  127. package/dist/index76.js +19 -19
  128. package/dist/index76.js.map +1 -1
  129. package/dist/index77.js +31 -329
  130. package/dist/index77.js.map +1 -1
  131. package/dist/index78.js +19 -53
  132. package/dist/index78.js.map +1 -1
  133. package/dist/index79.js +328 -39
  134. package/dist/index79.js.map +1 -1
  135. package/dist/index80.js +56 -23
  136. package/dist/index80.js.map +1 -1
  137. package/dist/index81.js +40 -95
  138. package/dist/index81.js.map +1 -1
  139. package/dist/index82.js +22 -129
  140. package/dist/index82.js.map +1 -1
  141. package/dist/index83.js +86 -152
  142. package/dist/index83.js.map +1 -1
  143. package/dist/index84.js +125 -60
  144. package/dist/index84.js.map +1 -1
  145. package/dist/index85.js +160 -34
  146. package/dist/index85.js.map +1 -1
  147. package/dist/index86.js +65 -234
  148. package/dist/index86.js.map +1 -1
  149. package/dist/index87.js +35 -34
  150. package/dist/index87.js.map +1 -1
  151. package/dist/index88.js +222 -198
  152. package/dist/index88.js.map +1 -1
  153. package/dist/index89.js +34 -213
  154. package/dist/index89.js.map +1 -1
  155. package/dist/index90.js +190 -275
  156. package/dist/index90.js.map +1 -1
  157. package/dist/index91.js +202 -167
  158. package/dist/index91.js.map +1 -1
  159. package/dist/index92.js +263 -226
  160. package/dist/index92.js.map +1 -1
  161. package/dist/index93.js +176 -12
  162. package/dist/index93.js.map +1 -1
  163. package/dist/index94.js +257 -32
  164. package/dist/index94.js.map +1 -1
  165. package/dist/index95.js +13 -5
  166. package/dist/index95.js.map +1 -1
  167. package/dist/index96.js +31 -12
  168. package/dist/index96.js.map +1 -1
  169. package/dist/index97.js +5 -45
  170. package/dist/index97.js.map +1 -1
  171. package/dist/index98.js +13 -12
  172. package/dist/index98.js.map +1 -1
  173. package/dist/index99.js +44 -13
  174. package/dist/index99.js.map +1 -1
  175. package/package.json +11 -4
  176. package/dist/index106.js +0 -45
  177. package/dist/index106.js.map +0 -1
  178. package/dist/index107.js +0 -5
  179. package/dist/index107.js.map +0 -1
  180. package/dist/index108.js +0 -10
  181. package/dist/index108.js.map +0 -1
  182. package/dist/index109.js +0 -155
  183. package/dist/index109.js.map +0 -1
  184. package/dist/index110.js +0 -33
  185. package/dist/index110.js.map +0 -1
  186. package/dist/index111.js +0 -33
  187. package/dist/index111.js.map +0 -1
  188. package/dist/index112.js +0 -5
  189. package/dist/index112.js.map +0 -1
  190. package/dist/index113.js +0 -75
  191. package/dist/index113.js.map +0 -1
  192. package/dist/index114.js +0 -42
  193. package/dist/index114.js.map +0 -1
  194. package/dist/index115.js +0 -29
  195. package/dist/index115.js.map +0 -1
  196. package/dist/index116.js +0 -24
  197. package/dist/index116.js.map +0 -1
  198. package/dist/index117.js +0 -27
  199. package/dist/index117.js.map +0 -1
  200. package/dist/index118.js +0 -23
  201. package/dist/index118.js.map +0 -1
  202. package/dist/index119.js +0 -103
  203. package/dist/index119.js.map +0 -1
  204. package/dist/index120.js +0 -363
  205. package/dist/index120.js.map +0 -1
  206. package/dist/index121.js +0 -28
  207. package/dist/index121.js.map +0 -1
  208. package/dist/index122.js +0 -76
  209. package/dist/index122.js.map +0 -1
  210. package/dist/index123.js +0 -19
  211. package/dist/index123.js.map +0 -1
  212. package/dist/index124.js +0 -69
  213. package/dist/index124.js.map +0 -1
  214. package/dist/index125.js +0 -147
  215. package/dist/index125.js.map +0 -1
  216. package/dist/index126.js +0 -5
  217. package/dist/index126.js.map +0 -1
  218. package/dist/index127.js +0 -59
  219. package/dist/index127.js.map +0 -1
  220. package/dist/index128.js +0 -5
  221. package/dist/index128.js.map +0 -1
  222. package/dist/index129.js +0 -5
  223. package/dist/index129.js.map +0 -1
  224. package/dist/index130.js +0 -5
  225. package/dist/index130.js.map +0 -1
  226. package/dist/index131.js +0 -5
  227. package/dist/index131.js.map +0 -1
  228. package/dist/index132.js +0 -5
  229. package/dist/index132.js.map +0 -1
  230. package/dist/index133.js +0 -5
  231. package/dist/index133.js.map +0 -1
  232. package/dist/index134.js +0 -5
  233. package/dist/index134.js.map +0 -1
  234. package/dist/index135.js +0 -5
  235. package/dist/index135.js.map +0 -1
  236. package/dist/index136.js +0 -35
  237. package/dist/index136.js.map +0 -1
  238. package/dist/index137.js +0 -5
  239. package/dist/index137.js.map +0 -1
  240. package/dist/index138.js +0 -11
  241. package/dist/index138.js.map +0 -1
  242. package/dist/index139.js +0 -5
  243. package/dist/index139.js.map +0 -1
  244. package/dist/index140.js +0 -5
  245. package/dist/index140.js.map +0 -1
  246. package/dist/index141.js +0 -24
  247. package/dist/index141.js.map +0 -1
  248. package/dist/index142.js +0 -5
  249. package/dist/index142.js.map +0 -1
  250. package/dist/index143.js +0 -27
  251. package/dist/index143.js.map +0 -1
  252. package/dist/index144.js +0 -74
  253. package/dist/index144.js.map +0 -1
  254. package/dist/index145.js +0 -24
  255. package/dist/index145.js.map +0 -1
  256. package/dist/index146.js +0 -37
  257. package/dist/index146.js.map +0 -1
  258. package/dist/index147.js +0 -73
  259. package/dist/index147.js.map +0 -1
  260. package/dist/index148.js +0 -5
  261. package/dist/index148.js.map +0 -1
  262. package/dist/index149.js +0 -25
  263. package/dist/index149.js.map +0 -1
  264. package/dist/index150.js +0 -5
  265. package/dist/index150.js.map +0 -1
  266. package/dist/index151.js +0 -5
  267. package/dist/index151.js.map +0 -1
  268. package/dist/index152.js +0 -5
  269. package/dist/index152.js.map +0 -1
  270. package/dist/index153.js +0 -5
  271. package/dist/index153.js.map +0 -1
  272. package/dist/index154.js +0 -7
  273. package/dist/index154.js.map +0 -1
package/dist/index110.js DELETED
@@ -1,33 +0,0 @@
1
- import { __exports as a } from "./index126.js";
2
- import { __require as h } from "./index127.js";
3
- var p;
4
- function C() {
5
- return p ? a : (p = 1, (function(u) {
6
- const f = h();
7
- function m(d, r, e) {
8
- d.clearRect(0, 0, r.width, r.height), r.style || (r.style = {}), r.height = e, r.width = e, r.style.height = e + "px", r.style.width = e + "px";
9
- }
10
- function s() {
11
- try {
12
- return document.createElement("canvas");
13
- } catch {
14
- throw new Error("You need to specify a canvas element");
15
- }
16
- }
17
- u.render = function(r, e, l) {
18
- let t = l, n = e;
19
- typeof t > "u" && (!e || !e.getContext) && (t = e, e = void 0), e || (n = s()), t = f.getOptions(t);
20
- const i = f.getImageWidth(r.modules.size, t), o = n.getContext("2d"), g = o.createImageData(i, i);
21
- return f.qrToImageData(g.data, r, t), m(o, n, i), o.putImageData(g, 0, 0), n;
22
- }, u.renderToDataURL = function(r, e, l) {
23
- let t = l;
24
- typeof t > "u" && (!e || !e.getContext) && (t = e, e = void 0), t || (t = {});
25
- const n = u.render(r, e, t), i = t.type || "image/png", o = t.rendererOpts || {};
26
- return n.toDataURL(i, o.quality);
27
- };
28
- })(a), a);
29
- }
30
- export {
31
- C as __require
32
- };
33
- //# sourceMappingURL=index110.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index110.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js"],"sourcesContent":["const Utils = require('./utils')\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n"],"names":["Utils","require$$0","clearCanvas","ctx","canvas","size","getCanvasElement","exports","qrData","options","opts","canvasEl","image","type","rendererOpts"],"mappings":";;;;;AAAA,UAAMA,IAAQC,EAAA;AAEd,aAASC,EAAaC,GAAKC,GAAQC,GAAM;AACvC,MAAAF,EAAI,UAAU,GAAG,GAAGC,EAAO,OAAOA,EAAO,MAAM,GAE1CA,EAAO,UAAOA,EAAO,QAAQ,CAAA,IAClCA,EAAO,SAASC,GAChBD,EAAO,QAAQC,GACfD,EAAO,MAAM,SAASC,IAAO,MAC7BD,EAAO,MAAM,QAAQC,IAAO;AAAA,IAC9B;AAEA,aAASC,IAAoB;AAC3B,UAAI;AACF,eAAO,SAAS,cAAc,QAAQ;AAAA,MAC1C,QAAc;AACV,cAAM,IAAI,MAAM,sCAAsC;AAAA,MAC1D;AAAA,IACA;AAEAC,IAAAA,EAAA,SAAiB,SAAiBC,GAAQJ,GAAQK,GAAS;AACzD,UAAIC,IAAOD,GACPE,IAAWP;AAEf,MAAI,OAAOM,IAAS,QAAgB,CAACN,KAAU,CAACA,EAAO,gBACrDM,IAAON,GACPA,IAAS,SAGNA,MACHO,IAAWL,EAAgB,IAG7BI,IAAOV,EAAM,WAAWU,CAAI;AAC5B,YAAML,IAAOL,EAAM,cAAcQ,EAAO,QAAQ,MAAME,CAAI,GAEpDP,IAAMQ,EAAS,WAAW,IAAI,GAC9BC,IAAQT,EAAI,gBAAgBE,GAAMA,CAAI;AAC5C,aAAAL,EAAM,cAAcY,EAAM,MAAMJ,GAAQE,CAAI,GAE5CR,EAAYC,GAAKQ,GAAUN,CAAI,GAC/BF,EAAI,aAAaS,GAAO,GAAG,CAAC,GAErBD;AAAA,IACT,GAEAJ,EAAA,kBAA0B,SAA0BC,GAAQJ,GAAQK,GAAS;AAC3E,UAAIC,IAAOD;AAEX,MAAI,OAAOC,IAAS,QAAgB,CAACN,KAAU,CAACA,EAAO,gBACrDM,IAAON,GACPA,IAAS,SAGNM,MAAMA,IAAO,CAAA;AAElB,YAAMC,IAAWJ,EAAQ,OAAOC,GAAQJ,GAAQM,CAAI,GAE9CG,IAAOH,EAAK,QAAQ,aACpBI,IAAeJ,EAAK,gBAAgB,CAAA;AAE1C,aAAOC,EAAS,UAAUE,GAAMC,EAAa,OAAO;AAAA,IACtD;AAAA;;","x_google_ignoreList":[0]}
package/dist/index111.js DELETED
@@ -1,33 +0,0 @@
1
- import { __exports as g } from "./index128.js";
2
- import { __require as m } from "./index127.js";
3
- var d;
4
- function T() {
5
- if (d) return g;
6
- d = 1;
7
- const p = m();
8
- function u(n, r) {
9
- const i = n.a / 255, e = r + '="' + n.hex + '"';
10
- return i < 1 ? e + " " + r + '-opacity="' + i.toFixed(2).slice(1) + '"' : e;
11
- }
12
- function h(n, r, i) {
13
- let e = n + r;
14
- return typeof i < "u" && (e += " " + i), e;
15
- }
16
- function w(n, r, i) {
17
- let e = "", o = 0, s = !1, c = 0;
18
- for (let t = 0; t < n.length; t++) {
19
- const l = Math.floor(t % r), f = Math.floor(t / r);
20
- !l && !s && (s = !0), n[t] ? (c++, t > 0 && l > 0 && n[t - 1] || (e += s ? h("M", l + i, 0.5 + f + i) : h("m", o, 0), o = 0, s = !1), l + 1 < r && n[t + 1] || (e += h("h", c), c = 0)) : o++;
21
- }
22
- return e;
23
- }
24
- return g.render = function(r, i, e) {
25
- const o = p.getOptions(i), s = r.modules.size, c = r.modules.data, t = s + o.margin * 2, l = o.color.light.a ? "<path " + u(o.color.light, "fill") + ' d="M0 0h' + t + "v" + t + 'H0z"/>' : "", f = "<path " + u(o.color.dark, "stroke") + ' d="' + w(c, s, o.margin) + '"/>', v = 'viewBox="0 0 ' + t + " " + t + '"', a = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + v + ' shape-rendering="crispEdges">' + l + f + `</svg>
26
- `;
27
- return typeof e == "function" && e(null, a), a;
28
- }, g;
29
- }
30
- export {
31
- T as __require
32
- };
33
- //# sourceMappingURL=index111.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index111.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js"],"sourcesContent":["const Utils = require('./utils')\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : '<path ' + getColorAttrib(opts.color.light, 'fill') +\n ' d=\"M0 0h' + qrcodesize + 'v' + qrcodesize + 'H0z\"/>'\n\n const path =\n '<path ' + getColorAttrib(opts.color.dark, 'stroke') +\n ' d=\"' + qrToPath(data, size, opts.margin) + '\"/>'\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '<svg xmlns=\"http://www.w3.org/2000/svg\" ' + width + viewBox + ' shape-rendering=\"crispEdges\">' + bg + path + '</svg>\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n"],"names":["Utils","require$$0","getColorAttrib","color","attrib","alpha","str","svgCmd","cmd","x","y","qrToPath","data","size","margin","path","moveBy","newRow","lineLength","i","col","row","svgTag","qrData","options","cb","opts","qrcodesize","bg","viewBox"],"mappings":";;;;;;AAAA,QAAMA,IAAQC,EAAA;AAEd,WAASC,EAAgBC,GAAOC,GAAQ;AACtC,UAAMC,IAAQF,EAAM,IAAI,KAClBG,IAAMF,IAAS,OAAOD,EAAM,MAAM;AAExC,WAAOE,IAAQ,IACXC,IAAM,MAAMF,IAAS,eAAeC,EAAM,QAAQ,CAAC,EAAE,MAAM,CAAC,IAAI,M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AAa,KAIjEL,IAAS,8CAFAI,EAAK,QAAa,YAAYA,EAAK,QAAQ,eAAeA,EAAK,QAAQ,OAA1D,MAEwCG,IAAU,mCAAmCD,IAAKb,IAAO;AAAA;AAE7H,WAAI,OAAOU,KAAO,cAChBA,EAAG,MAAMH,CAAM,GAGVA;AAAA,EACT;;","x_google_ignoreList":[0]}
package/dist/index112.js DELETED
@@ -1,5 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
5
- //# sourceMappingURL=index112.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index113.js DELETED
@@ -1,75 +0,0 @@
1
- import { __exports as n } from "./index130.js";
2
- var r;
3
- function S() {
4
- if (r) return n;
5
- r = 1;
6
- let e;
7
- const i = [
8
- 0,
9
- // Not used
10
- 26,
11
- 44,
12
- 70,
13
- 100,
14
- 134,
15
- 172,
16
- 196,
17
- 242,
18
- 292,
19
- 346,
20
- 404,
21
- 466,
22
- 532,
23
- 581,
24
- 655,
25
- 733,
26
- 815,
27
- 901,
28
- 991,
29
- 1085,
30
- 1156,
31
- 1258,
32
- 1364,
33
- 1474,
34
- 1588,
35
- 1706,
36
- 1828,
37
- 1921,
38
- 2051,
39
- 2185,
40
- 2323,
41
- 2465,
42
- 2611,
43
- 2761,
44
- 2876,
45
- 3034,
46
- 3196,
47
- 3362,
48
- 3532,
49
- 3706
50
- ];
51
- return n.getSymbolSize = function(t) {
52
- if (!t) throw new Error('"version" cannot be null or undefined');
53
- if (t < 1 || t > 40) throw new Error('"version" should be in range from 1 to 40');
54
- return t * 4 + 17;
55
- }, n.getSymbolTotalCodewords = function(t) {
56
- return i[t];
57
- }, n.getBCHDigit = function(o) {
58
- let t = 0;
59
- for (; o !== 0; )
60
- t++, o >>>= 1;
61
- return t;
62
- }, n.setToSJISFunction = function(t) {
63
- if (typeof t != "function")
64
- throw new Error('"toSJISFunc" is not a valid function.');
65
- e = t;
66
- }, n.isKanjiModeEnabled = function() {
67
- return typeof e < "u";
68
- }, n.toSJIS = function(t) {
69
- return e(t);
70
- }, n;
71
- }
72
- export {
73
- S as __require
74
- };
75
- //# sourceMappingURL=index113.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index113.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js"],"sourcesContent":["let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n"],"names":["toSJISFunction","CODEWORDS_COUNT","utils","version","data","digit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B;;","x_google_ignoreList":[0]}
package/dist/index114.js DELETED
@@ -1,42 +0,0 @@
1
- import { __exports as t } from "./index131.js";
2
- var e;
3
- function f() {
4
- return e ? t : (e = 1, (function(r) {
5
- r.L = { bit: 1 }, r.M = { bit: 0 }, r.Q = { bit: 3 }, r.H = { bit: 2 };
6
- function o(n) {
7
- if (typeof n != "string")
8
- throw new Error("Param is not a string");
9
- switch (n.toLowerCase()) {
10
- case "l":
11
- case "low":
12
- return r.L;
13
- case "m":
14
- case "medium":
15
- return r.M;
16
- case "q":
17
- case "quartile":
18
- return r.Q;
19
- case "h":
20
- case "high":
21
- return r.H;
22
- default:
23
- throw new Error("Unknown EC Level: " + n);
24
- }
25
- }
26
- r.isValid = function(i) {
27
- return i && typeof i.bit < "u" && i.bit >= 0 && i.bit < 4;
28
- }, r.from = function(i, c) {
29
- if (r.isValid(i))
30
- return i;
31
- try {
32
- return o(i);
33
- } catch {
34
- return c;
35
- }
36
- };
37
- })(t), t);
38
- }
39
- export {
40
- f as __require
41
- };
42
- //# sourceMappingURL=index114.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index114.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js"],"sourcesContent":["exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n"],"names":["exports","fromString","string","level","value","defaultValue"],"mappings":";;;;AAAAA,IAAAA,EAAA,IAAY,EAAE,KAAK,EAAC,GACpBA,EAAA,IAAY,EAAE,KAAK,EAAC,GACpBA,EAAA,IAAY,EAAE,KAAK,EAAC,GACpBA,EAAA,IAAY,EAAE,KAAK,EAAC;AAEpB,aAASC,EAAYC,GAAQ;AAC3B,UAAI,OAAOA,KAAW;AACpB,cAAM,IAAI,MAAM,uBAAuB;AAKzC,cAFcA,EAAO,YAAW,GAEnB;AAAA,QACX,KAAK;AAAA,QACL,KAAK;AACH,iBAAOF,EAAQ;AAAA,QAEjB,KAAK;AAAA,QACL,KAAK;AACH,iBAAOA,EAAQ;AAAA,QAEjB,KAAK;AAAA,QACL,KAAK;AACH,iBAAOA,EAAQ;AAAA,QAEjB,KAAK;AAAA,QACL,KAAK;AACH,iBAAOA,EAAQ;AAAA,QAEjB;AACE,gBAAM,IAAI,MAAM,uBAAuBE,CAAM;AAAA,MACnD;AAAA,IACA;AAEAF,IAAAA,EAAA,UAAkB,SAAkBG,GAAO;AACzC,aAAOA,KAAS,OAAOA,EAAM,MAAQ,OACnCA,EAAM,OAAO,KAAKA,EAAM,MAAM;AAAA,IAClC,GAEAH,EAAA,OAAe,SAAeI,GAAOC,GAAc;AACjD,UAAIL,EAAQ,QAAQI,CAAK;AACvB,eAAOA;AAGT,UAAI;AACF,eAAOH,EAAWG,CAAK;AAAA,MAC3B,QAAc;AACV,eAAOC;AAAA,MACX;AAAA,IACA;AAAA;;","x_google_ignoreList":[0]}
package/dist/index115.js DELETED
@@ -1,29 +0,0 @@
1
- var i, u;
2
- function n() {
3
- if (u) return i;
4
- u = 1;
5
- function r() {
6
- this.buffer = [], this.length = 0;
7
- }
8
- return r.prototype = {
9
- get: function(f) {
10
- const t = Math.floor(f / 8);
11
- return (this.buffer[t] >>> 7 - f % 8 & 1) === 1;
12
- },
13
- put: function(f, t) {
14
- for (let e = 0; e < t; e++)
15
- this.putBit((f >>> t - e - 1 & 1) === 1);
16
- },
17
- getLengthInBits: function() {
18
- return this.length;
19
- },
20
- putBit: function(f) {
21
- const t = Math.floor(this.length / 8);
22
- this.buffer.length <= t && this.buffer.push(0), f && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
23
- }
24
- }, i = r, i;
25
- }
26
- export {
27
- n as __require
28
- };
29
- //# sourceMappingURL=index115.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index115.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js"],"sourcesContent":["function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n"],"names":["BitBuffer","index","bufIndex","num","length","i","bit","bitBuffer"],"mappings":";;;;AAAA,WAASA,IAAa;AACpB,SAAK,SAAS,CAAA,GACd,KAAK,SAAS;AAAA,EAChB;AAEA,SAAAA,EAAU,YAAY;AAAA,IAEpB,KAAK,SAAUC,GAAO;AACpB,YAAMC,IAAW,KAAK,MAAMD,IAAQ,CAAC;AACrC,cAAS,KAAK,OAAOC,CAAQ,MAAO,IAAID,IAAQ,IAAM,OAAO;AAAA,IACjE;AAAA,IAEE,KAAK,SAAUE,GAAKC,GAAQ;AAC1B,eAASC,IAAI,GAAGA,IAAID,GAAQC;AAC1B,aAAK,QAASF,MAASC,IAASC,IAAI,IAAM,OAAO,CAAC;AAAA,IAExD;AAAA,IAEE,iBAAiB,WAAY;AAC3B,aAAO,KAAK;AAAA,IAChB;AAAA,IAEE,QAAQ,SAAUC,GAAK;AACrB,YAAMJ,IAAW,KAAK,MAAM,KAAK,SAAS,CAAC;AAC3C,MAAI,KAAK,OAAO,UAAUA,KACxB,KAAK,OAAO,KAAK,CAAC,GAGhBI,MACF,KAAK,OAAOJ,CAAQ,KAAM,QAAU,KAAK,SAAS,IAGpD,KAAK;AAAA,IACT;AAAA,EACA,GAEAK,IAAiBP;;","x_google_ignoreList":[0]}
package/dist/index116.js DELETED
@@ -1,24 +0,0 @@
1
- var n, s;
2
- function h() {
3
- if (s) return n;
4
- s = 1;
5
- function i(t) {
6
- if (!t || t < 1)
7
- throw new Error("BitMatrix size must be defined and greater than 0");
8
- this.size = t, this.data = new Uint8Array(t * t), this.reservedBit = new Uint8Array(t * t);
9
- }
10
- return i.prototype.set = function(t, r, e, o) {
11
- const a = t * this.size + r;
12
- this.data[a] = e, o && (this.reservedBit[a] = !0);
13
- }, i.prototype.get = function(t, r) {
14
- return this.data[t * this.size + r];
15
- }, i.prototype.xor = function(t, r, e) {
16
- this.data[t * this.size + r] ^= e;
17
- }, i.prototype.isReserved = function(t, r) {
18
- return this.reservedBit[t * this.size + r];
19
- }, n = i, n;
20
- }
21
- export {
22
- h as __require
23
- };
24
- //# sourceMappingURL=index116.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index116.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js"],"sourcesContent":["/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n"],"names":["BitMatrix","size","row","col","value","reserved","index","bitMatrix"],"mappings":";;;;AAKA,WAASA,EAAWC,GAAM;AACxB,QAAI,CAACA,KAAQA,IAAO;AAClB,YAAM,IAAI,MAAM,mDAAmD;AAGrE,SAAK,OAAOA,GACZ,KAAK,OAAO,IAAI,WAAWA,IAAOA,CAAI,GACtC,KAAK,cAAc,IAAI,WAAWA,IAAOA,CAAI;AAAA,EAC/C;AAWA,SAAAD,EAAU,UAAU,MAAM,SAAUE,GAAKC,GAAKC,GAAOC,GAAU;AAC7D,UAAMC,IAAQJ,IAAM,KAAK,OAAOC;AAChC,SAAK,KAAKG,CAAK,IAAIF,GACfC,MAAU,KAAK,YAAYC,CAAK,IAAI;AAAA,EAC1C,GASAN,EAAU,UAAU,MAAM,SAAUE,GAAKC,GAAK;AAC5C,WAAO,KAAK,KAAKD,IAAM,KAAK,OAAOC,CAAG;AAAA,EACxC,GAUAH,EAAU,UAAU,MAAM,SAAUE,GAAKC,GAAKC,GAAO;AACnD,SAAK,KAAKF,IAAM,KAAK,OAAOC,CAAG,KAAKC;AAAA,EACtC,GASAJ,EAAU,UAAU,aAAa,SAAUE,GAAKC,GAAK;AACnD,WAAO,KAAK,YAAYD,IAAM,KAAK,OAAOC,CAAG;AAAA,EAC/C,GAEAI,IAAiBP;;","x_google_ignoreList":[0]}
package/dist/index117.js DELETED
@@ -1,27 +0,0 @@
1
- import { __exports as u } from "./index132.js";
2
- import { __require as a } from "./index113.js";
3
- var l;
4
- function p() {
5
- return l ? u : (l = 1, (function(s) {
6
- const c = a().getSymbolSize;
7
- s.getRowColCoords = function(r) {
8
- if (r === 1) return [];
9
- const i = Math.floor(r / 7) + 2, e = c(r), n = e === 145 ? 26 : Math.ceil((e - 13) / (2 * i - 2)) * 2, t = [e - 7];
10
- for (let o = 1; o < i - 1; o++)
11
- t[o] = t[o - 1] - n;
12
- return t.push(6), t.reverse();
13
- }, s.getPositions = function(r) {
14
- const i = [], e = s.getRowColCoords(r), n = e.length;
15
- for (let t = 0; t < n; t++)
16
- for (let o = 0; o < n; o++)
17
- t === 0 && o === 0 || // top-left
18
- t === 0 && o === n - 1 || // bottom-left
19
- t === n - 1 && o === 0 || i.push([e[t], e[o]]);
20
- return i;
21
- };
22
- })(u), u);
23
- }
24
- export {
25
- p as __require
26
- };
27
- //# sourceMappingURL=index117.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index117.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js"],"sourcesContent":["/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = require('./utils').getSymbolSize\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n"],"names":["getSymbolSize","require$$0","exports","version","posCount","size","intervals","positions","i","coords","pos","posLength","j"],"mappings":";;;;;AAUA,UAAMA,IAAgBC,IAAmB;AAgBzCC,IAAAA,EAAA,kBAA0B,SAA0BC,GAAS;AAC3D,UAAIA,MAAY,EAAG,QAAO,CAAA;AAE1B,YAAMC,IAAW,KAAK,MAAMD,IAAU,CAAC,IAAI,GACrCE,IAAOL,EAAcG,CAAO,GAC5BG,IAAYD,MAAS,MAAM,KAAK,KAAK,MAAMA,IAAO,OAAO,IAAID,IAAW,EAAE,IAAI,GAC9EG,IAAY,CAACF,IAAO,CAAC;AAE3B,eAASG,IAAI,GAAGA,IAAIJ,IAAW,GAAGI;AAChC,QAAAD,EAAUC,CAAC,IAAID,EAAUC,IAAI,CAAC,IAAIF;AAGpC,aAAAC,EAAU,KAAK,CAAC,GAETA,EAAU,QAAO;AAAA,IAC1B,GAsBAL,EAAA,eAAuB,SAAuBC,GAAS;AACrD,YAAMM,IAAS,CAAA,GACTC,IAAMR,EAAQ,gBAAgBC,CAAO,GACrCQ,IAAYD,EAAI;AAEtB,eAASF,IAAI,GAAGA,IAAIG,GAAWH;AAC7B,iBAASI,IAAI,GAAGA,IAAID,GAAWC;AAE7B,UAAKJ,MAAM,KAAKI,MAAM;AAAA,UACjBJ,MAAM,KAAKI,MAAMD,IAAY;AAAA,UAC7BH,MAAMG,IAAY,KAAKC,MAAM,KAIlCH,EAAO,KAAK,CAACC,EAAIF,CAAC,GAAGE,EAAIE,CAAC,CAAC,CAAC;AAIhC,aAAOH;AAAA,IACT;AAAA;;","x_google_ignoreList":[0]}
package/dist/index118.js DELETED
@@ -1,23 +0,0 @@
1
- import { __exports as e } from "./index133.js";
2
- import { __require as s } from "./index113.js";
3
- var i;
4
- function f() {
5
- if (i) return e;
6
- i = 1;
7
- const n = s().getSymbolSize, r = 7;
8
- return e.getPositions = function(o) {
9
- const t = n(o);
10
- return [
11
- // top-left
12
- [0, 0],
13
- // top-right
14
- [t - r, 0],
15
- // bottom-left
16
- [0, t - r]
17
- ];
18
- }, e;
19
- }
20
- export {
21
- f as __require
22
- };
23
- //# sourceMappingURL=index118.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index118.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.js"],"sourcesContent":["const getSymbolSize = require('./utils').getSymbolSize\nconst FINDER_PATTERN_SIZE = 7\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const size = getSymbolSize(version)\n\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]\n ]\n}\n"],"names":["getSymbolSize","require$$0","FINDER_PATTERN_SIZE","finderPattern","version","size"],"mappings":";;;;;;AAAA,QAAMA,IAAgBC,IAAmB,eACnCC,IAAsB;AAS5B,SAAAC,EAAA,eAAuB,SAAuBC,GAAS;AACrD,UAAMC,IAAOL,EAAcI,CAAO;AAElC,WAAO;AAAA;AAAA,MAEL,CAAC,GAAG,CAAC;AAAA;AAAA,MAEL,CAACC,IAAOH,GAAqB,CAAC;AAAA;AAAA,MAE9B,CAAC,GAAGG,IAAOH,CAAmB;AAAA,IAClC;AAAA,EACA;;","x_google_ignoreList":[0]}
package/dist/index119.js DELETED
@@ -1,103 +0,0 @@
1
- import { __exports as c } from "./index134.js";
2
- var T;
3
- function R() {
4
- return T ? c : (T = 1, (function(r) {
5
- r.Patterns = {
6
- PATTERN000: 0,
7
- PATTERN001: 1,
8
- PATTERN010: 2,
9
- PATTERN011: 3,
10
- PATTERN100: 4,
11
- PATTERN101: 5,
12
- PATTERN110: 6,
13
- PATTERN111: 7
14
- };
15
- const u = {
16
- N1: 3,
17
- N2: 3,
18
- N3: 40,
19
- N4: 10
20
- };
21
- r.isValid = function(t) {
22
- return t != null && t !== "" && !isNaN(t) && t >= 0 && t <= 7;
23
- }, r.from = function(t) {
24
- return r.isValid(t) ? parseInt(t, 10) : void 0;
25
- }, r.getPenaltyN1 = function(t) {
26
- const l = t.size;
27
- let s = 0, n = 0, e = 0, i = null, o = null;
28
- for (let f = 0; f < l; f++) {
29
- n = e = 0, i = o = null;
30
- for (let N = 0; N < l; N++) {
31
- let a = t.get(f, N);
32
- a === i ? n++ : (n >= 5 && (s += u.N1 + (n - 5)), i = a, n = 1), a = t.get(N, f), a === o ? e++ : (e >= 5 && (s += u.N1 + (e - 5)), o = a, e = 1);
33
- }
34
- n >= 5 && (s += u.N1 + (n - 5)), e >= 5 && (s += u.N1 + (e - 5));
35
- }
36
- return s;
37
- }, r.getPenaltyN2 = function(t) {
38
- const l = t.size;
39
- let s = 0;
40
- for (let n = 0; n < l - 1; n++)
41
- for (let e = 0; e < l - 1; e++) {
42
- const i = t.get(n, e) + t.get(n, e + 1) + t.get(n + 1, e) + t.get(n + 1, e + 1);
43
- (i === 4 || i === 0) && s++;
44
- }
45
- return s * u.N2;
46
- }, r.getPenaltyN3 = function(t) {
47
- const l = t.size;
48
- let s = 0, n = 0, e = 0;
49
- for (let i = 0; i < l; i++) {
50
- n = e = 0;
51
- for (let o = 0; o < l; o++)
52
- n = n << 1 & 2047 | t.get(i, o), o >= 10 && (n === 1488 || n === 93) && s++, e = e << 1 & 2047 | t.get(o, i), o >= 10 && (e === 1488 || e === 93) && s++;
53
- }
54
- return s * u.N3;
55
- }, r.getPenaltyN4 = function(t) {
56
- let l = 0;
57
- const s = t.data.length;
58
- for (let e = 0; e < s; e++) l += t.data[e];
59
- return Math.abs(Math.ceil(l * 100 / s / 5) - 10) * u.N4;
60
- };
61
- function g(P, t, l) {
62
- switch (P) {
63
- case r.Patterns.PATTERN000:
64
- return (t + l) % 2 === 0;
65
- case r.Patterns.PATTERN001:
66
- return t % 2 === 0;
67
- case r.Patterns.PATTERN010:
68
- return l % 3 === 0;
69
- case r.Patterns.PATTERN011:
70
- return (t + l) % 3 === 0;
71
- case r.Patterns.PATTERN100:
72
- return (Math.floor(t / 2) + Math.floor(l / 3)) % 2 === 0;
73
- case r.Patterns.PATTERN101:
74
- return t * l % 2 + t * l % 3 === 0;
75
- case r.Patterns.PATTERN110:
76
- return (t * l % 2 + t * l % 3) % 2 === 0;
77
- case r.Patterns.PATTERN111:
78
- return (t * l % 3 + (t + l) % 2) % 2 === 0;
79
- default:
80
- throw new Error("bad maskPattern:" + P);
81
- }
82
- }
83
- r.applyMask = function(t, l) {
84
- const s = l.size;
85
- for (let n = 0; n < s; n++)
86
- for (let e = 0; e < s; e++)
87
- l.isReserved(e, n) || l.xor(e, n, g(t, e, n));
88
- }, r.getBestMask = function(t, l) {
89
- const s = Object.keys(r.Patterns).length;
90
- let n = 0, e = 1 / 0;
91
- for (let i = 0; i < s; i++) {
92
- l(i), r.applyMask(i, t);
93
- const o = r.getPenaltyN1(t) + r.getPenaltyN2(t) + r.getPenaltyN3(t) + r.getPenaltyN4(t);
94
- r.applyMask(i, t), o < e && (e = o, n = i);
95
- }
96
- return n;
97
- };
98
- })(c), c);
99
- }
100
- export {
101
- R as __require
102
- };
103
- //# sourceMappingURL=index119.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index119.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.js"],"sourcesContent":["/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n}\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n}\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid (mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7\n}\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from (value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined\n}\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1 (data) {\n const size = data.size\n let points = 0\n let sameCountCol = 0\n let sameCountRow = 0\n let lastCol = null\n let lastRow = null\n\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0\n lastCol = lastRow = null\n\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col)\n if (module === lastCol) {\n sameCountCol++\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n lastCol = module\n sameCountCol = 1\n }\n\n module = data.get(col, row)\n if (module === lastRow) {\n sameCountRow++\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n lastRow = module\n sameCountRow = 1\n }\n }\n\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n }\n\n return points\n}\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2 (data) {\n const size = data.size\n let points = 0\n\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) +\n data.get(row, col + 1) +\n data.get(row + 1, col) +\n data.get(row + 1, col + 1)\n\n if (last === 4 || last === 0) points++\n }\n }\n\n return points * PenaltyScores.N2\n}\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3 (data) {\n const size = data.size\n let points = 0\n let bitsCol = 0\n let bitsRow = 0\n\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0\n for (let col = 0; col < size; col++) {\n bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col)\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++\n\n bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row)\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++\n }\n }\n\n return points * PenaltyScores.N3\n}\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4 (data) {\n let darkCount = 0\n const modulesCount = data.data.length\n\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i]\n\n const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10)\n\n return k * PenaltyScores.N4\n}\n\n/**\n * Return mask value at given position\n *\n * @param {Number} maskPattern Pattern reference value\n * @param {Number} i Row\n * @param {Number} j Column\n * @return {Boolean} Mask value\n */\nfunction getMaskAt (maskPattern, i, j) {\n switch (maskPattern) {\n case exports.Patterns.PATTERN000: return (i + j) % 2 === 0\n case exports.Patterns.PATTERN001: return i % 2 === 0\n case exports.Patterns.PATTERN010: return j % 3 === 0\n case exports.Patterns.PATTERN011: return (i + j) % 3 === 0\n case exports.Patterns.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0\n case exports.Patterns.PATTERN101: return (i * j) % 2 + (i * j) % 3 === 0\n case exports.Patterns.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 === 0\n case exports.Patterns.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 === 0\n\n default: throw new Error('bad maskPattern:' + maskPattern)\n }\n}\n\n/**\n * Apply a mask pattern to a BitMatrix\n *\n * @param {Number} pattern Pattern reference number\n * @param {BitMatrix} data BitMatrix data\n */\nexports.applyMask = function applyMask (pattern, data) {\n const size = data.size\n\n for (let col = 0; col < size; col++) {\n for (let row = 0; row < size; row++) {\n if (data.isReserved(row, col)) continue\n data.xor(row, col, getMaskAt(pattern, row, col))\n }\n }\n}\n\n/**\n * Returns the best mask pattern for data\n *\n * @param {BitMatrix} data\n * @return {Number} Mask pattern reference number\n */\nexports.getBestMask = function getBestMask (data, setupFormatFunc) {\n const numPatterns = Object.keys(exports.Patterns).length\n let bestPattern = 0\n let lowerPenalty = Infinity\n\n for (let p = 0; p < numPatterns; p++) {\n setupFormatFunc(p)\n exports.applyMask(p, data)\n\n // Calculate penalty\n const penalty =\n exports.getPenaltyN1(data) +\n exports.getPenaltyN2(data) +\n exports.getPenaltyN3(data) +\n exports.getPenaltyN4(data)\n\n // Undo previously applied mask\n exports.applyMask(p, data)\n\n if (penalty < lowerPenalty) {\n lowerPenalty = penalty\n bestPattern = p\n }\n }\n\n return bestPattern\n}\n"],"names":["exports","PenaltyScores","mask","value","data","size","points","sameCountCol","sameCountRow","lastCol","lastRow","row","col","module","last","bitsCol","bitsRow","darkCount","modulesCount","i","getMaskAt","maskPattern","j","pattern","setupFormatFunc","numPatterns","bestPattern","lowerPenalty","p","penalty"],"mappings":";;;;AAIAA,IAAAA,EAAA,WAAmB;AAAA,MACjB,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,IACd;AAMA,UAAMC,IAAgB;AAAA,MACpB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAQAD,IAAAA,EAAA,UAAkB,SAAkBE,GAAM;AACxC,aAAOA,KAAQ,QAAQA,MAAS,MAAM,CAAC,MAAMA,CAAI,KAAKA,KAAQ,KAAKA,KAAQ;AAAA,IAC7E,GASAF,EAAA,OAAe,SAAeG,GAAO;AACnC,aAAOH,EAAQ,QAAQG,CAAK,IAAI,SAASA,GAAO,EAAE,IAAI;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