y-admin-pro 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128A.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128B.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128C.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/CODE128/auto.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/CODE128/constants.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN13.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN2.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN5.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/encoder.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/ITF/ITF.cjs +1 -1
- package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/ITF/constants.cjs +1 -1
- package/lib/style.css +2 -2
- package/package.json +13 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("../../../../../../../../_virtual/CODE128.cjs");require("../Barcode.cjs");require("./constants.cjs");const d=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const l=require("../../../../../../../../_virtual/CODE128.cjs");require("../Barcode.cjs");require("./constants.cjs");const d=require("../../../../../../../../_virtual/constants.cjs"),v=require("../../../../../../../../_virtual/Barcode.cjs");Object.defineProperty(l.__exports,"__esModule",{value:!0});var s=function(){function r(t,o){for(var e=0;e<o.length;e++){var n=o[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,o,e){return o&&r(t.prototype,o),e&&r(t,e),t}}(),x=v.__exports,E=g(x),u=d.__exports;function g(r){return r&&r.__esModule?r:{default:r}}function O(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function B(r,t){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:r}function p(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}var w=function(r){p(t,r);function t(o,e){O(this,t);var n=B(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,o.substring(1),e));return n.bytes=o.split("").map(function(i){return i.charCodeAt(0)}),n}return s(t,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var e=this.bytes,n=e.shift()-105,i=u.SET_BY_CODE[n];if(i===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&e.unshift(u.FNC1);var a=t.next(e,1,i);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:t.getBar(n)+a.result+t.getBar((a.checksum+n)%u.MODULO)+t.getBar(u.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var e=this.options.ean128||!1;return typeof e=="string"&&(e=e.toLowerCase()==="true"),e}}],[{key:"getBar",value:function(e){return u.BARS[e]?u.BARS[e].toString():""}},{key:"correctIndex",value:function(e,n){if(n===u.SET_A){var i=e.shift();return i<32?i+64:i-32}else return n===u.SET_B?e.shift()-32:(e.shift()-48)*10+e.shift()-48}},{key:"next",value:function(e,n,i){if(!e.length)return{result:"",checksum:0};var a=void 0,f=void 0;if(e[0]>=200){f=e.shift()-105;var c=u.SWAP[f];c!==void 0?a=t.next(e,n+1,c):((i===u.SET_A||i===u.SET_B)&&f===u.SHIFT&&(e[0]=i===u.SET_A?e[0]>95?e[0]-96:e[0]:e[0]<32?e[0]+96:e[0]),a=t.next(e,n+1,i))}else f=t.correctIndex(e,i),a=t.next(e,n+1,i);var h=t.getBar(f),_=f*n;return{result:h+a.result,checksum:_+a.checksum}}}]),t}(E.default);l.__exports.default=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("../../../../../../../../_virtual/CODE128A.cjs");require("./CODE128.cjs");require("./constants.cjs");const f=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const u=require("../../../../../../../../_virtual/CODE128A.cjs");require("./CODE128.cjs");require("./constants.cjs");const f=require("../../../../../../../../_virtual/constants.cjs"),a=require("../../../../../../../../_virtual/CODE128.cjs");Object.defineProperty(u.__exports,"__esModule",{value:!0});var _=function(){function t(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=a.__exports,l=y(c),i=f.__exports;function y(t){return t&&t.__esModule?t:{default:t}}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function v(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=function(t){v(e,t);function e(n,r){return O(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i.A_START_CHAR+n,r))}return _(e,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),e}(l.default);u.__exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("../../../../../../../../_virtual/CODE128B.cjs");require("./CODE128.cjs");require("./constants.cjs");const f=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const u=require("../../../../../../../../_virtual/CODE128B.cjs");require("./CODE128.cjs");require("./constants.cjs");const f=require("../../../../../../../../_virtual/constants.cjs"),a=require("../../../../../../../../_virtual/CODE128.cjs");Object.defineProperty(u.__exports,"__esModule",{value:!0});var _=function(){function t(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=a.__exports,l=y(c),i=f.__exports;function y(t){return t&&t.__esModule?t:{default:t}}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function v(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=function(t){v(e,t);function e(n,r){return O(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i.B_START_CHAR+n,r))}return _(e,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),e}(l.default);u.__exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("../../../../../../../../_virtual/CODE128C.cjs");require("./CODE128.cjs");require("./constants.cjs");const f=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const u=require("../../../../../../../../_virtual/CODE128C.cjs");require("./CODE128.cjs");require("./constants.cjs");const f=require("../../../../../../../../_virtual/constants.cjs"),a=require("../../../../../../../../_virtual/CODE128.cjs");Object.defineProperty(u.__exports,"__esModule",{value:!0});var _=function(){function t(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=a.__exports,l=y(c),i=f.__exports;function y(t){return t&&t.__esModule?t:{default:t}}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function v(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=function(t){v(e,t);function e(n,r){return O(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i.C_START_CHAR+n,r))}return _(e,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),e}(l.default);u.__exports.default=b;
|
package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/CODE128/auto.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("../../../../../../../../_virtual/auto.cjs");require("./constants.cjs");const m=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const u=require("../../../../../../../../_virtual/auto.cjs");require("./constants.cjs");const m=require("../../../../../../../../_virtual/constants.cjs");Object.defineProperty(u.__exports,"__esModule",{value:!0});var n=m.__exports,o=function(t){return t.match(new RegExp("^"+n.A_CHARS+"*"))[0].length},C=function(t){return t.match(new RegExp("^"+n.B_CHARS+"*"))[0].length},S=function(t){return t.match(new RegExp("^"+n.C_CHARS+"*"))[0]};function c(e,t){var a=t?n.A_CHARS:n.B_CHARS,r=e.match(new RegExp("^("+a+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(r)return r[1]+String.fromCharCode(204)+_(e.substring(r[1].length));var h=e.match(new RegExp("^"+a+"+"))[0];return h.length===e.length?e:h+String.fromCharCode(t?205:206)+c(e.substring(h.length),!t)}function _(e){var t=S(e),a=t.length;if(a===e.length)return e;e=e.substring(a);var r=o(e)>=C(e);return t+String.fromCharCode(r?206:205)+c(e,r)}u.__exports.default=function(e){var t=void 0,a=S(e).length;if(a>=2)t=n.C_START_CHAR+_(e);else{var r=o(e)>C(e);t=(r?n.A_START_CHAR:n.B_START_CHAR)+c(e,r)}return t.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(h,l){return String.fromCharCode(203)+l})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const _=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const _=require("../../../../../../../../_virtual/constants.cjs");Object.defineProperty(_.__exports,"__esModule",{value:!0});var r;function o(e,t,x){return t in e?Object.defineProperty(e,t,{value:x,enumerable:!0,configurable:!0,writable:!0}):e[t]=x,e}var s=_.__exports.SET_A=0,T=_.__exports.SET_B=1,C=_.__exports.SET_C=2;_.__exports.SHIFT=98;var S=_.__exports.START_A=103,p=_.__exports.START_B=104,A=_.__exports.START_C=105;_.__exports.MODULO=103;_.__exports.STOP=106;_.__exports.FNC1=207;_.__exports.SET_BY_CODE=(r={},o(r,S,s),o(r,p,T),o(r,A,C),r);_.__exports.SWAP={101:s,100:T,99:C};_.__exports.A_START_CHAR=String.fromCharCode(208);_.__exports.B_START_CHAR=String.fromCharCode(209);_.__exports.C_START_CHAR=String.fromCharCode(210);_.__exports.A_CHARS="[\0-_È-Ï]";_.__exports.B_CHARS="[ -È-Ï]";_.__exports.C_CHARS="(Ï*[0-9]{2}Ï*)";_.__exports.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011];module.exports=_.__exports;
|
package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("../../../../../../../../_virtual/EAN.cjs");require("./constants.cjs");require("./encoder.cjs");require("../Barcode.cjs");const c=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const a=require("../../../../../../../../_virtual/EAN.cjs");require("./constants.cjs");require("./encoder.cjs");require("../Barcode.cjs");const c=require("../../../../../../../../_virtual/constants2.cjs"),d=require("../../../../../../../../_virtual/encoder.cjs"),h=require("../../../../../../../../_virtual/Barcode.cjs");Object.defineProperty(a.__exports,"__esModule",{value:!0});var l=function(){function r(e,i){for(var t=0;t<i.length;t++){var n=i[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,i,t){return i&&r(e.prototype,i),t&&r(e,t),e}}(),o=c.__exports,_=d.__exports,u=f(_),s=h.__exports,v=f(s);function f(r){return r&&r.__esModule?r:{default:r}}function y(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function x(r,e){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:r}function E(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(r,e):r.__proto__=e)}var g=function(r){E(e,r);function e(i,t){y(this,e);var n=x(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,t));return n.fontSize=!t.flat&&t.fontSize>t.width*10?t.width*10:t.fontSize,n.guardHeight=t.height+n.fontSize/2+t.textMargin,n}return l(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,n){return this.text.substr(t,n)}},{key:"leftEncode",value:function(t,n){return(0,u.default)(t,n)}},{key:"rightText",value:function(t,n){return this.text.substr(t,n)}},{key:"rightEncode",value:function(t,n){return(0,u.default)(t,n)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},n={height:this.guardHeight};return[{data:o.SIDE_BIN,options:n},{data:this.leftEncode(),text:this.leftText(),options:t},{data:o.MIDDLE_BIN,options:n},{data:this.rightEncode(),text:this.rightText(),options:t},{data:o.SIDE_BIN,options:n}]}},{key:"encodeFlat",value:function(){var t=[o.SIDE_BIN,this.leftEncode(),o.MIDDLE_BIN,this.rightEncode(),o.SIDE_BIN];return{data:t.join(""),text:this.text}}}]),e}(v.default);a.__exports.default=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("../../../../../../../../_virtual/EAN13.cjs");require("./constants.cjs");require("./EAN.cjs");const l=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const c=require("../../../../../../../../_virtual/EAN13.cjs");require("./constants.cjs");require("./EAN.cjs");const l=require("../../../../../../../../_virtual/constants2.cjs"),s=require("../../../../../../../../_virtual/EAN.cjs");Object.defineProperty(c.__exports,"__esModule",{value:!0});var h=function(){function r(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,e){return n&&r(t.prototype,n),e&&r(t,e),t}}(),i=function r(t,n,e){t===null&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(o===void 0){var u=Object.getPrototypeOf(t);return u===null?void 0:r(u,n,e)}else{if("value"in o)return o.value;var a=o.get;return a===void 0?void 0:a.call(e)}},p=l.__exports,_=s.__exports,d=y(_);function y(r){return r&&r.__esModule?r:{default:r}}function v(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function O(r,t){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:r}function b(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}var f=function(t){var n=t.substr(0,12).split("").map(function(e){return+e}).reduce(function(e,o,u){return u%2?e+o*3:e+o},0);return(10-n%10)%10},g=function(r){b(t,r);function t(n,e){v(this,t),n.search(/^[0-9]{12}$/)!==-1&&(n+=f(n));var o=O(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,e));return o.lastChar=e.lastChar,o}return h(t,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===f(this.data)}},{key:"leftText",value:function(){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var e=this.data.substr(1,6),o=p.EAN13_STRUCTURE[this.data[0]];return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftEncode",this).call(this,e,o)}},{key:"rightText",value:function(){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var e=this.data.substr(7,6);return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightEncode",this).call(this,e,"RRRRRR")}},{key:"encodeGuarded",value:function(){var e=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(e.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(e.push({data:"00"}),e.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),e}}]),t}(d.default);c.__exports.default=g;
|
package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("../../../../../../../../_virtual/EAN2.cjs");require("./constants.cjs");require("./encoder.cjs");require("../Barcode.cjs");const a=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const i=require("../../../../../../../../_virtual/EAN2.cjs");require("./constants.cjs");require("./encoder.cjs");require("../Barcode.cjs");const a=require("../../../../../../../../_virtual/constants2.cjs"),f=require("../../../../../../../../_virtual/encoder.cjs"),c=require("../../../../../../../../_virtual/Barcode.cjs");Object.defineProperty(i.__exports,"__esModule",{value:!0});var _=function(){function t(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=a.__exports,d=f.__exports,h=u(d),v=c.__exports,y=u(v);function u(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function s(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var O=function(t){s(e,t);function e(n,r){return p(this,e),b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return _(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var r=l.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,h.default)(this.data,r,"01"),text:this.text}}}]),e}(y.default);i.__exports.default=O;
|
package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN5.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("../../../../../../../../_virtual/EAN5.cjs");require("./constants.cjs");require("./encoder.cjs");require("../Barcode.cjs");const c=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const u=require("../../../../../../../../_virtual/EAN5.cjs");require("./constants.cjs");require("./encoder.cjs");require("../Barcode.cjs");const c=require("../../../../../../../../_virtual/constants2.cjs"),f=require("../../../../../../../../_virtual/encoder.cjs"),_=require("../../../../../../../../_virtual/Barcode.cjs");Object.defineProperty(u.__exports,"__esModule",{value:!0});var l=function(){function t(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=c.__exports,h=f.__exports,v=i(h),y=_.__exports,p=i(y);function i(t){return t&&t.__esModule?t:{default:t}}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function O(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var q=function(e){var n=e.split("").map(function(r){return+r}).reduce(function(r,o,a){return a%2?r+o*9:r+o*3},0);return n%10},w=function(t){O(e,t);function e(n,r){return b(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return l(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var r=d.EAN5_STRUCTURE[q(this.data)];return{data:"1011"+(0,v.default)(this.data,r,"01"),text:this.text}}}]),e}(p.default);u.__exports.default=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const L=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const L=require("../../../../../../../../_virtual/constants2.cjs");Object.defineProperty(L.__exports,"__esModule",{value:!0});L.__exports.SIDE_BIN="101";L.__exports.MIDDLE_BIN="01010";L.__exports.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]};L.__exports.EAN2_STRUCTURE=["LL","LG","GL","GG"];L.__exports.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"];L.__exports.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"];module.exports=L.__exports;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("../../../../../../../../_virtual/encoder.cjs");require("./constants.cjs");const s=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const u=require("../../../../../../../../_virtual/encoder.cjs");require("./constants.cjs");const s=require("../../../../../../../../_virtual/constants2.cjs");Object.defineProperty(u.__exports,"__esModule",{value:!0});var _=s.__exports,f=function(r,c,o){var t=r.split("").map(function(e,n){return _.BINARIES[c[n]]}).map(function(e,n){return e?e[r[n]]:""});if(o){var i=r.length-1;t=t.map(function(e,n){return n<i?e+o:e})}return t.join("")};u.__exports.default=f;
|
package/lib/node_modules/.pnpm/jsbarcode@3.11.6/node_modules/jsbarcode/bin/barcodes/ITF/ITF.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("../../../../../../../../_virtual/ITF.cjs");require("./constants.cjs");require("../Barcode.cjs");const f=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const a=require("../../../../../../../../_virtual/ITF.cjs");require("./constants.cjs");require("../Barcode.cjs");const f=require("../../../../../../../../_virtual/constants3.cjs"),_=require("../../../../../../../../_virtual/Barcode.cjs");Object.defineProperty(a.__exports,"__esModule",{value:!0});var l=function(){function t(e,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),i=f.__exports,d=_.__exports,h=y(d);function y(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function b(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=function(t){b(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var n=this,r=this.data.match(/.{2}/g).map(function(u){return n.encodePair(u)}).join("");return{data:i.START_BIN+r+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(n){var r=i.BINARIES[n[1]];return i.BINARIES[n[0]].split("").map(function(u,c){return(u==="1"?"111":"1")+(r[c]==="1"?"000":"0")}).join("")}}]),e}(h.default);a.__exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("../../../../../../../../_virtual/
|
|
1
|
+
"use strict";const e=require("../../../../../../../../_virtual/constants3.cjs");Object.defineProperty(e.__exports,"__esModule",{value:!0});e.__exports.START_BIN="1010";e.__exports.END_BIN="11101";e.__exports.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"];module.exports=e.__exports;
|