From 9dc7f78cb4d4abe30725fa1508978f73c71eef2b Mon Sep 17 00:00:00 2001 From: Christian Anetzberger Date: Tue, 22 Mar 2022 18:23:52 +0100 Subject: [PATCH] Added Barcode generation --- .gitignore | 17 +- label_printing/hooks.py | 4 +- label_printing/public/build.json | 2 +- .../public/js/label_printing.min.js | 2 - .../public/js/label_printing.min.js.map | 1 - label_printing/public/node_modules | 2 +- label_printing/utils/barcode.py | 33 +++- node_modules/.bin/Barcode.js | 1 - node_modules/.bin/CODE128 | 1 - node_modules/.bin/CODE128.js | 1 - node_modules/.bin/CODE128A.js | 1 - node_modules/.bin/CODE128B.js | 1 - node_modules/.bin/CODE128C.js | 1 - node_modules/.bin/CODE128_AUTO.js | 1 - node_modules/.bin/CODE39 | 1 - node_modules/.bin/EAN.js | 1 - node_modules/.bin/EAN13.js | 1 - node_modules/.bin/EAN2.js | 1 - node_modules/.bin/EAN5.js | 1 - node_modules/.bin/EAN8.js | 1 - node_modules/.bin/EAN_UPC | 1 - node_modules/.bin/ErrorHandler.js | 1 - node_modules/.bin/GenericBarcode | 1 - node_modules/.bin/ITF | 1 - node_modules/.bin/ITF.js | 1 - node_modules/.bin/ITF14.js | 1 - node_modules/.bin/MSI | 1 - node_modules/.bin/MSI.js | 1 - node_modules/.bin/MSI10.js | 1 - node_modules/.bin/MSI1010.js | 1 - node_modules/.bin/MSI11.js | 1 - node_modules/.bin/MSI1110.js | 1 - node_modules/.bin/UPC.js | 1 - node_modules/.bin/UPCE.js | 1 - node_modules/.bin/auto.js | 1 - node_modules/.bin/canvas.js | 1 - node_modules/.bin/checksums.js | 1 - node_modules/.bin/codabar | 1 - node_modules/.bin/constants.js | 1 - node_modules/.bin/defaults.js | 1 - node_modules/.bin/encoder.js | 1 - node_modules/.bin/exceptions.js | 1 - node_modules/.bin/fixOptions.js | 1 - node_modules/.bin/getOptionsFromElement.js | 1 - node_modules/.bin/getRenderProperties.js | 1 - node_modules/.bin/index.js | 1 - node_modules/.bin/index.tmp.js | 1 - node_modules/.bin/linearizeEncodings.js | 1 - node_modules/.bin/merge.js | 1 - node_modules/.bin/object.js | 1 - node_modules/.bin/optionsFromStrings.js | 1 - node_modules/.bin/pharmacode | 1 - node_modules/.bin/shared.js | 1 - node_modules/.bin/svg.js | 1 - node_modules/.yarn-integrity | 2 + node_modules/fs/package.json | 49 ++--- node_modules/inherits/package.json | 56 ++---- .../jsbarcode/bin/barcodes/Barcode.js | 0 .../jsbarcode/bin/barcodes/CODE128/CODE128.js | 0 .../bin/barcodes/CODE128/CODE128A.js | 0 .../bin/barcodes/CODE128/CODE128B.js | 0 .../bin/barcodes/CODE128/CODE128C.js | 0 .../bin/barcodes/CODE128/CODE128_AUTO.js | 0 .../jsbarcode/bin/barcodes/CODE128/auto.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/EAN.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/EAN13.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/EAN2.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/EAN5.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/EAN8.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/UPC.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/UPCE.js | 0 .../jsbarcode/bin/barcodes/EAN_UPC/encoder.js | 0 .../jsbarcode/bin/barcodes/ITF/ITF.js | 0 .../jsbarcode/bin/barcodes/ITF/ITF14.js | 0 .../jsbarcode/bin/barcodes/ITF/constants.js | 0 .../jsbarcode/bin/barcodes/MSI/MSI.js | 0 .../jsbarcode/bin/barcodes/MSI/MSI10.js | 0 .../jsbarcode/bin/barcodes/MSI/MSI1010.js | 0 .../jsbarcode/bin/barcodes/MSI/MSI11.js | 0 .../jsbarcode/bin/barcodes/MSI/MSI1110.js | 0 .../jsbarcode/bin/barcodes/MSI/checksums.js | 0 .../jsbarcode/bin/barcodes/index.tmp.js | 0 .../jsbarcode/bin/exceptions/ErrorHandler.js | 0 .../jsbarcode/bin/exceptions/exceptions.js | 0 node_modules/jsbarcode/bin/help/fixOptions.js | 0 .../bin/help/getOptionsFromElement.js | 0 .../jsbarcode/bin/help/getRenderProperties.js | 0 .../jsbarcode/bin/help/linearizeEncodings.js | 0 node_modules/jsbarcode/bin/help/merge.js | 0 .../jsbarcode/bin/help/optionsFromStrings.js | 0 .../jsbarcode/bin/options/defaults.js | 0 .../jsbarcode/bin/renderers/canvas.js | 0 node_modules/jsbarcode/bin/renderers/index.js | 0 .../jsbarcode/bin/renderers/object.js | 0 .../jsbarcode/bin/renderers/shared.js | 0 node_modules/jsbarcode/bin/renderers/svg.js | 0 node_modules/jsbarcode/package.json | 169 +++++------------- node_modules/path/package.json | 76 +++----- node_modules/process/package.json | 64 ++----- node_modules/util/package.json | 68 +++---- yarn.lock | 5 + 101 files changed, 178 insertions(+), 419 deletions(-) delete mode 100644 label_printing/public/js/label_printing.min.js delete mode 100644 label_printing/public/js/label_printing.min.js.map delete mode 120000 node_modules/.bin/Barcode.js delete mode 120000 node_modules/.bin/CODE128 delete mode 120000 node_modules/.bin/CODE128.js delete mode 120000 node_modules/.bin/CODE128A.js delete mode 120000 node_modules/.bin/CODE128B.js delete mode 120000 node_modules/.bin/CODE128C.js delete mode 120000 node_modules/.bin/CODE128_AUTO.js delete mode 120000 node_modules/.bin/CODE39 delete mode 120000 node_modules/.bin/EAN.js delete mode 120000 node_modules/.bin/EAN13.js delete mode 120000 node_modules/.bin/EAN2.js delete mode 120000 node_modules/.bin/EAN5.js delete mode 120000 node_modules/.bin/EAN8.js delete mode 120000 node_modules/.bin/EAN_UPC delete mode 120000 node_modules/.bin/ErrorHandler.js delete mode 120000 node_modules/.bin/GenericBarcode delete mode 120000 node_modules/.bin/ITF delete mode 120000 node_modules/.bin/ITF.js delete mode 120000 node_modules/.bin/ITF14.js delete mode 120000 node_modules/.bin/MSI delete mode 120000 node_modules/.bin/MSI.js delete mode 120000 node_modules/.bin/MSI10.js delete mode 120000 node_modules/.bin/MSI1010.js delete mode 120000 node_modules/.bin/MSI11.js delete mode 120000 node_modules/.bin/MSI1110.js delete mode 120000 node_modules/.bin/UPC.js delete mode 120000 node_modules/.bin/UPCE.js delete mode 120000 node_modules/.bin/auto.js delete mode 120000 node_modules/.bin/canvas.js delete mode 120000 node_modules/.bin/checksums.js delete mode 120000 node_modules/.bin/codabar delete mode 120000 node_modules/.bin/constants.js delete mode 120000 node_modules/.bin/defaults.js delete mode 120000 node_modules/.bin/encoder.js delete mode 120000 node_modules/.bin/exceptions.js delete mode 120000 node_modules/.bin/fixOptions.js delete mode 120000 node_modules/.bin/getOptionsFromElement.js delete mode 120000 node_modules/.bin/getRenderProperties.js delete mode 120000 node_modules/.bin/index.js delete mode 120000 node_modules/.bin/index.tmp.js delete mode 120000 node_modules/.bin/linearizeEncodings.js delete mode 120000 node_modules/.bin/merge.js delete mode 120000 node_modules/.bin/object.js delete mode 120000 node_modules/.bin/optionsFromStrings.js delete mode 120000 node_modules/.bin/pharmacode delete mode 120000 node_modules/.bin/shared.js delete mode 120000 node_modules/.bin/svg.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/Barcode.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/CODE128/CODE128.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/CODE128/CODE128A.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/CODE128/CODE128B.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/CODE128/CODE128C.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/CODE128/CODE128_AUTO.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/CODE128/auto.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN13.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN2.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN5.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN8.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPC.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPCE.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/EAN_UPC/encoder.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/ITF/ITF.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/ITF/ITF14.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/ITF/constants.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/MSI/MSI.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/MSI/MSI10.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/MSI/MSI1010.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/MSI/MSI11.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/MSI/MSI1110.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/MSI/checksums.js mode change 100755 => 100644 node_modules/jsbarcode/bin/barcodes/index.tmp.js mode change 100755 => 100644 node_modules/jsbarcode/bin/exceptions/ErrorHandler.js mode change 100755 => 100644 node_modules/jsbarcode/bin/exceptions/exceptions.js mode change 100755 => 100644 node_modules/jsbarcode/bin/help/fixOptions.js mode change 100755 => 100644 node_modules/jsbarcode/bin/help/getOptionsFromElement.js mode change 100755 => 100644 node_modules/jsbarcode/bin/help/getRenderProperties.js mode change 100755 => 100644 node_modules/jsbarcode/bin/help/linearizeEncodings.js mode change 100755 => 100644 node_modules/jsbarcode/bin/help/merge.js mode change 100755 => 100644 node_modules/jsbarcode/bin/help/optionsFromStrings.js mode change 100755 => 100644 node_modules/jsbarcode/bin/options/defaults.js mode change 100755 => 100644 node_modules/jsbarcode/bin/renderers/canvas.js mode change 100755 => 100644 node_modules/jsbarcode/bin/renderers/index.js mode change 100755 => 100644 node_modules/jsbarcode/bin/renderers/object.js mode change 100755 => 100644 node_modules/jsbarcode/bin/renderers/shared.js mode change 100755 => 100644 node_modules/jsbarcode/bin/renderers/svg.js diff --git a/.gitignore b/.gitignore index 66e7163..652fbdc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,17 @@ -.DS_Store *.pyc +*.py~ +.DS_Store +conf.py +locale +latest_updates.json +.wnf-lang-status *.egg-info +dist/ +erpnext/docs/current *.swp -tags -label_printing/docs/current \ No newline at end of file +*.swo +__pycache__ +*~ +.idea/ +.vscode/ +node_modules/ diff --git a/label_printing/hooks.py b/label_printing/hooks.py index 5047cab..f63346a 100644 --- a/label_printing/hooks.py +++ b/label_printing/hooks.py @@ -14,7 +14,7 @@ app_license = "MIT" # include js, css files in header of desk.html # app_include_css = "/assets/label_printing/css/label_printing.css" -app_include_js = "/assets/label_printing/js/label_printing.min.js" +app_include_js = "/assets/js/label_printing.min.js" # include js, css files in header of web template # web_include_css = "/assets/label_printing/css/label_printing.css" @@ -184,4 +184,4 @@ jenv = { "generateBarcode:label_printing.utils.barcode.generateBarcode", "get_code128_glyphs:label_printing.utils.barcode.generateBarcodeGlyphs" ] -} \ No newline at end of file +} diff --git a/label_printing/public/build.json b/label_printing/public/build.json index 36d6cc2..e7c4825 100644 --- a/label_printing/public/build.json +++ b/label_printing/public/build.json @@ -1,5 +1,5 @@ { - "label_printing/js/label_printing.min.js": [ + "js/label_printing.min.js": [ "public/js/label_printing_desk.js" ] } \ No newline at end of file diff --git a/label_printing/public/js/label_printing.min.js b/label_printing/public/js/label_printing.min.js deleted file mode 100644 index 1eba006..0000000 --- a/label_printing/public/js/label_printing.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(){"use strict";function e(e,a){var t;return frappe.call({method:"frappe.client.get",async:!1,args:{doctype:e,name:a},callback:function(e){e.message&&(t=e.message)}}),t}$(document).ready(function(){$(".dropdown-notifications").after(''),$("#labels-toolbar").click(function(a){!function(a){var t=a.view.cur_frm,l={labels:[{item_qty:0,label_qty:1}]};null!==t&&("Work Order"!==t.doctype&&"Item"!==t.doctype||t.docname&&(l.doctype=t.doctype,l.docname=t.docname));var i=new frappe.ui.Dialog({title:__("Print Labels"),fields:[{label:__("Reference Doctype"),options:["Work Order","Item","Label"],fieldname:"doctype",fieldtype:"Select",default:l.doctype},{label:__("Get data"),fieldname:"get_data",fieldtype:"Button",click:function(){n()}},{fieldtype:"Column Break"},{label:__("Reference Docname"),fieldname:"docname",fieldtype:"Data",options:"doctype",default:l.docname},{fieldtype:"Section Break",label:__("Information")},{label:__("Item Code"),fieldname:"item_code",fieldtype:"Data"},{label:__("Item Name"),fieldname:"item_name",fieldtype:"Data"},{label:__("Delivery Date"),fieldname:"delivery_date",fieldtype:"Date"},{fieldtype:"Column Break"},{label:__("Customer"),fieldname:"customer",fieldtype:"Data"},{label:__("Batch"),fieldname:"batch",fieldtype:"Data"},{fieldtype:"Section Break",label:__("Labels")},{fieldname:"labels",fieldtype:"Table",cannot_add_rows:!1,in_place_edit:!0,data:l.labels,get_data:function(){return l.labels},fields:[{fieldtype:"Int",fieldname:"item_qty",in_list_view:1,label:__("Item Qty")},{label:__("Label Qty"),fieldname:"label_qty",in_list_view:1,fieldtype:"Int"},{fieldtype:"Data",fieldname:"information",in_list_view:1,label:__("Information")}]}],primary_action_label:"Print",primary_action:function(e){frappe.call({method:"label_printing.api.print_label",args:{values:e},callback:function(e){200===e.message&&frappe.show_alert("Label printing successful",5)}}),i.hide()}});function n(){if((l=i.get_values()).doctype&&l.docname){var a=e(l.doctype,l.docname);if("Work Order"===l.doctype){var t=e("Item",a.production_item);if(frappe.call({method:"label_printing.api.get_associated_stockentry",async:!1,args:{workorder:l.docname},callback:function(e){e.message&&(l.batch=e.message.items[e.message.items.length-1].batch_no)}}),l.item_code=t.item_code,l.item_name=t.item_name,l.delivery_date=a.expected_delivery_date,l.labels[0].item_qty=a.qty,l.labels[0].label_qty=1,t.associated_company){var n=e("Customer",t.associated_company);n.short_name?l.customer=n.short_name:l.customer=t.associated_company}l.total_amount=a.qty,l.labels[0].qty_per_label=a.qty,i.fields_dict.labels.refresh()}else if("Item"===l.doctype){var o=e("Item",a.item_code);if(l.item_code=a.item_code,l.item_name=a.item_name,o.associated_company){var c=e("Customer",a.associated_company);c.short_name?l.customer=c.short_name:l.customer=a.associated_company}}i.set_values(l)}}n(),i.show(),i.fields_dict.doctype.$input.on("change",function(){i.fields_dict.docname.refresh()})}(a)})})}(); -//# sourceMappingURL=label_printing.min.js.map diff --git a/label_printing/public/js/label_printing.min.js.map b/label_printing/public/js/label_printing.min.js.map deleted file mode 100644 index 26c3b07..0000000 --- a/label_printing/public/js/label_printing.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"label_printing.min.js","sources":["../../../../apps/label_printing/label_printing/public/js/label_printing_desk.js"],"sourcesContent":["$(document).ready(function () {\n $(\".dropdown-notifications\").after('
  • ');\n $(\"#labels-toolbar\").click(function (page) {\n setupLabelsDialog(page);\n });\n\n});\n\n\n\nfunction setupLabelsDialog(page) {\n let cur_frm = page.view.cur_frm\n\n let fields = {\n labels: [{\n item_qty: 0,\n label_qty: 1\n }]\n };\n\n\n if (cur_frm !== null) {\n if (cur_frm.doctype === \"Work Order\" || cur_frm.doctype === \"Item\") {\n if (cur_frm.docname) {\n fields.doctype = cur_frm.doctype\n fields.docname = cur_frm.docname\n }\n }\n }\n\n let d = new frappe.ui.Dialog({\n title: __(\"Print Labels\"),\n fields: [{\n label: __(\"Reference Doctype\"),\n options: ['Work Order', 'Item', 'Label'],\n fieldname: 'doctype',\n fieldtype: 'Select',\n default: fields.doctype,\n },\n {\n label: __(\"Get data\"),\n fieldname: 'get_data',\n fieldtype: 'Button',\n click: () => {\n handleDataFetch()\n }\n },\n {\n fieldtype: 'Column Break'\n },\n {\n label: __(\"Reference Docname\"),\n fieldname: 'docname',\n fieldtype: 'Data',\n options: 'doctype',\n default: fields.docname,\n },\n {\n fieldtype: 'Section Break',\n label: __('Information')\n },\n {\n label: __(\"Item Code\"),\n fieldname: 'item_code',\n fieldtype: 'Data'\n },\n {\n label: __(\"Item Name\"),\n fieldname: 'item_name',\n fieldtype: 'Data'\n },\n {\n label: __(\"Delivery Date\"),\n fieldname: 'delivery_date',\n fieldtype: 'Date'\n },\n {\n fieldtype: 'Column Break'\n },\n {\n label: __(\"Customer\"),\n fieldname: 'customer',\n fieldtype: 'Data'\n },\n {\n label: __(\"Batch\"),\n fieldname: 'batch',\n fieldtype: 'Data'\n },\n {\n fieldtype: 'Section Break',\n label: __('Labels')\n },\n {\n fieldname: \"labels\",\n fieldtype: \"Table\",\n cannot_add_rows: false,\n in_place_edit: true,\n data: fields.labels,\n get_data: () => {\n return fields.labels;\n },\n fields: [{\n fieldtype: 'Int',\n fieldname: \"item_qty\",\n in_list_view: 1,\n label: __('Item Qty')\n },\n {\n label: __(\"Label Qty\"),\n fieldname: 'label_qty',\n in_list_view: 1,\n fieldtype: 'Int'\n },\n {\n fieldtype: 'Data',\n fieldname: \"information\",\n in_list_view: 1,\n label: __('Information')\n },\n ]\n },\n ],\n primary_action_label: 'Print',\n primary_action(values) {\n frappe.call({\n method: \"label_printing.api.print_label\",\n args: {\n values: values\n },\n callback: function (r) {\n if (r.message === 200) {\n frappe.show_alert(\"Label printing successful\", 5);\n }\n },\n });\n d.hide();\n }\n });\n handleDataFetch();\n d.show();\n\n\n // handle dpctype change\n d.fields_dict.doctype.$input.on('change', function () {\n d.fields_dict.docname.refresh();\n });\n\n function handleDataFetch() {\n fields = d.get_values()\n if (fields.doctype && fields.docname) {\n let doc = get_doc(fields.doctype, fields.docname)\n if (fields.doctype === \"Work Order\") {\n let item = get_doc(\"Item\", doc.production_item)\n let se = 1\n frappe.call({\n method: \"label_printing.api.get_associated_stockentry\",\n async: false,\n args: { workorder: fields.docname },\n callback(r) {\n if (r.message) {\n fields.batch = r.message.items[r.message.items.length - 1].batch_no\n }\n }\n })\n fields.item_code = item.item_code\n fields.item_name = item.item_name\n fields.delivery_date = doc.expected_delivery_date\n fields.labels[0].item_qty = doc.qty\n fields.labels[0].label_qty = 1\n\n if (item.associated_company) {\n let customer = get_doc(\"Customer\", item.associated_company)\n if (customer.short_name) {\n fields.customer = customer.short_name\n } else {\n fields.customer = item.associated_company\n }\n }\n\n fields.total_amount = doc.qty\n fields.labels[0].qty_per_label = doc.qty\n d.fields_dict.labels.refresh();\n\n } else if (fields.doctype === \"Item\") {\n let item = get_doc(\"Item\", doc.item_code)\n\n fields.item_code = doc.item_code\n fields.item_name = doc.item_name\n\n if (item.associated_company) {\n let customer = get_doc(\"Customer\", doc.associated_company)\n if (customer.short_name) {\n fields.customer = customer.short_name\n } else {\n fields.customer = doc.associated_company\n }\n }\n }\n d.set_values(fields)\n }\n }\n\n}\n\nfunction get_doc(doctype, docname) {\n let res;\n frappe.call({\n method: \"frappe.client.get\",\n async: false,\n args: {\n doctype: doctype,\n name: docname,\n },\n callback(r) {\n if (r.message) {\n res = r.message\n }\n }\n });\n return res;\n}"],"names":["get_doc","doctype","docname","let","res","frappe","call","method","async","args","name","callback","r","message","$","document","ready","after","click","page","cur_frm","view","fields","labels","item_qty","label_qty","d","ui","Dialog","title","__","label","options","fieldname","fieldtype","default","handleDataFetch","cannot_add_rows","in_place_edit","data","get_data","in_list_view","primary_action_label","primary_action","values","show_alert","hide","get_values","doc","item","production_item","workorder","batch","items","length","batch_no","item_code","item_name","delivery_date","expected_delivery_date","qty","associated_company","customer","short_name","total_amount","qty_per_label","fields_dict","refresh","set_values","show","$input","on","setupLabelsDialog"],"mappings":"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"} \ No newline at end of file diff --git a/label_printing/public/node_modules b/label_printing/public/node_modules index b34ef5a..207db1a 120000 --- a/label_printing/public/node_modules +++ b/label_printing/public/node_modules @@ -1 +1 @@ -/home/frappe/frappe-bench/apps/label_printing/node_modules \ No newline at end of file +/Volumes/development/frappe/frappe-bench/apps/label_printing/node_modules \ No newline at end of file diff --git a/label_printing/utils/barcode.py b/label_printing/utils/barcode.py index 7e0a236..eacdd3e 100644 --- a/label_printing/utils/barcode.py +++ b/label_printing/utils/barcode.py @@ -1,13 +1,32 @@ import frappe -from io import BytesIO -from barcode import EAN13 -from barcode.writer import ImageWriter + @frappe.whitelist() def generateBarcode(string): - rv = BytesIO() - EAN13(str(100000902922), writer=ImageWriter()).write(rv) - print(rv.decode('UTF-8')) + + from barcode import Code128 + from barcode.writer import ImageWriter + from io import BytesIO + import base64 + + file_like_object = BytesIO() + writer = ImageWriter() + value = f'{string}' + options = { + "module_width": 0.1, + "module_height": 1, + "quiet_zone": 0, + "write_text": False, + "text_distance": 1, + } + + Code128(value, writer=writer).write( + file_like_object, options) + + encoded = base64.b64encode(file_like_object.getvalue()).decode("ascii") + + return f'' + lookup = { " ": 0, @@ -133,4 +152,4 @@ def generateBarcodeGlyphs(data): # append stop code += chr(206) - return code \ No newline at end of file + return code diff --git a/node_modules/.bin/Barcode.js b/node_modules/.bin/Barcode.js deleted file mode 120000 index 62de867..0000000 --- a/node_modules/.bin/Barcode.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/Barcode.js \ No newline at end of file diff --git a/node_modules/.bin/CODE128 b/node_modules/.bin/CODE128 deleted file mode 120000 index 2e4526e..0000000 --- a/node_modules/.bin/CODE128 +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE128 \ No newline at end of file diff --git a/node_modules/.bin/CODE128.js b/node_modules/.bin/CODE128.js deleted file mode 120000 index 14ac841..0000000 --- a/node_modules/.bin/CODE128.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE128/CODE128.js \ No newline at end of file diff --git a/node_modules/.bin/CODE128A.js b/node_modules/.bin/CODE128A.js deleted file mode 120000 index 8dc2bb6..0000000 --- a/node_modules/.bin/CODE128A.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE128/CODE128A.js \ No newline at end of file diff --git a/node_modules/.bin/CODE128B.js b/node_modules/.bin/CODE128B.js deleted file mode 120000 index f2ff542..0000000 --- a/node_modules/.bin/CODE128B.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE128/CODE128B.js \ No newline at end of file diff --git a/node_modules/.bin/CODE128C.js b/node_modules/.bin/CODE128C.js deleted file mode 120000 index a8c6440..0000000 --- a/node_modules/.bin/CODE128C.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE128/CODE128C.js \ No newline at end of file diff --git a/node_modules/.bin/CODE128_AUTO.js b/node_modules/.bin/CODE128_AUTO.js deleted file mode 120000 index d03e615..0000000 --- a/node_modules/.bin/CODE128_AUTO.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE128/CODE128_AUTO.js \ No newline at end of file diff --git a/node_modules/.bin/CODE39 b/node_modules/.bin/CODE39 deleted file mode 120000 index 997ab0a..0000000 --- a/node_modules/.bin/CODE39 +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE39 \ No newline at end of file diff --git a/node_modules/.bin/EAN.js b/node_modules/.bin/EAN.js deleted file mode 120000 index 64a3658..0000000 --- a/node_modules/.bin/EAN.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/EAN.js \ No newline at end of file diff --git a/node_modules/.bin/EAN13.js b/node_modules/.bin/EAN13.js deleted file mode 120000 index e005663..0000000 --- a/node_modules/.bin/EAN13.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/EAN13.js \ No newline at end of file diff --git a/node_modules/.bin/EAN2.js b/node_modules/.bin/EAN2.js deleted file mode 120000 index 500d79a..0000000 --- a/node_modules/.bin/EAN2.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/EAN2.js \ No newline at end of file diff --git a/node_modules/.bin/EAN5.js b/node_modules/.bin/EAN5.js deleted file mode 120000 index b69a34d..0000000 --- a/node_modules/.bin/EAN5.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/EAN5.js \ No newline at end of file diff --git a/node_modules/.bin/EAN8.js b/node_modules/.bin/EAN8.js deleted file mode 120000 index ec9b99c..0000000 --- a/node_modules/.bin/EAN8.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/EAN8.js \ No newline at end of file diff --git a/node_modules/.bin/EAN_UPC b/node_modules/.bin/EAN_UPC deleted file mode 120000 index 0934543..0000000 --- a/node_modules/.bin/EAN_UPC +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC \ No newline at end of file diff --git a/node_modules/.bin/ErrorHandler.js b/node_modules/.bin/ErrorHandler.js deleted file mode 120000 index 9e5880a..0000000 --- a/node_modules/.bin/ErrorHandler.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/exceptions/ErrorHandler.js \ No newline at end of file diff --git a/node_modules/.bin/GenericBarcode b/node_modules/.bin/GenericBarcode deleted file mode 120000 index fc30b2d..0000000 --- a/node_modules/.bin/GenericBarcode +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/GenericBarcode \ No newline at end of file diff --git a/node_modules/.bin/ITF b/node_modules/.bin/ITF deleted file mode 120000 index 2434d5e..0000000 --- a/node_modules/.bin/ITF +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/ITF \ No newline at end of file diff --git a/node_modules/.bin/ITF.js b/node_modules/.bin/ITF.js deleted file mode 120000 index eef77e3..0000000 --- a/node_modules/.bin/ITF.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/ITF/ITF.js \ No newline at end of file diff --git a/node_modules/.bin/ITF14.js b/node_modules/.bin/ITF14.js deleted file mode 120000 index 3ca7db6..0000000 --- a/node_modules/.bin/ITF14.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/ITF/ITF14.js \ No newline at end of file diff --git a/node_modules/.bin/MSI b/node_modules/.bin/MSI deleted file mode 120000 index e10fd24..0000000 --- a/node_modules/.bin/MSI +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/MSI \ No newline at end of file diff --git a/node_modules/.bin/MSI.js b/node_modules/.bin/MSI.js deleted file mode 120000 index d055f1a..0000000 --- a/node_modules/.bin/MSI.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/MSI/MSI.js \ No newline at end of file diff --git a/node_modules/.bin/MSI10.js b/node_modules/.bin/MSI10.js deleted file mode 120000 index 306c24e..0000000 --- a/node_modules/.bin/MSI10.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/MSI/MSI10.js \ No newline at end of file diff --git a/node_modules/.bin/MSI1010.js b/node_modules/.bin/MSI1010.js deleted file mode 120000 index 6f481cf..0000000 --- a/node_modules/.bin/MSI1010.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/MSI/MSI1010.js \ No newline at end of file diff --git a/node_modules/.bin/MSI11.js b/node_modules/.bin/MSI11.js deleted file mode 120000 index c804927..0000000 --- a/node_modules/.bin/MSI11.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/MSI/MSI11.js \ No newline at end of file diff --git a/node_modules/.bin/MSI1110.js b/node_modules/.bin/MSI1110.js deleted file mode 120000 index 639df1b..0000000 --- a/node_modules/.bin/MSI1110.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/MSI/MSI1110.js \ No newline at end of file diff --git a/node_modules/.bin/UPC.js b/node_modules/.bin/UPC.js deleted file mode 120000 index 281c6eb..0000000 --- a/node_modules/.bin/UPC.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/UPC.js \ No newline at end of file diff --git a/node_modules/.bin/UPCE.js b/node_modules/.bin/UPCE.js deleted file mode 120000 index 0bc3385..0000000 --- a/node_modules/.bin/UPCE.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/UPCE.js \ No newline at end of file diff --git a/node_modules/.bin/auto.js b/node_modules/.bin/auto.js deleted file mode 120000 index c39fb06..0000000 --- a/node_modules/.bin/auto.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/CODE128/auto.js \ No newline at end of file diff --git a/node_modules/.bin/canvas.js b/node_modules/.bin/canvas.js deleted file mode 120000 index f6ce0e3..0000000 --- a/node_modules/.bin/canvas.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/renderers/canvas.js \ No newline at end of file diff --git a/node_modules/.bin/checksums.js b/node_modules/.bin/checksums.js deleted file mode 120000 index eb29f74..0000000 --- a/node_modules/.bin/checksums.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/MSI/checksums.js \ No newline at end of file diff --git a/node_modules/.bin/codabar b/node_modules/.bin/codabar deleted file mode 120000 index 2181abe..0000000 --- a/node_modules/.bin/codabar +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/codabar \ No newline at end of file diff --git a/node_modules/.bin/constants.js b/node_modules/.bin/constants.js deleted file mode 120000 index c227297..0000000 --- a/node_modules/.bin/constants.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/ITF/constants.js \ No newline at end of file diff --git a/node_modules/.bin/defaults.js b/node_modules/.bin/defaults.js deleted file mode 120000 index f70ff02..0000000 --- a/node_modules/.bin/defaults.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/options/defaults.js \ No newline at end of file diff --git a/node_modules/.bin/encoder.js b/node_modules/.bin/encoder.js deleted file mode 120000 index 4480b46..0000000 --- a/node_modules/.bin/encoder.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/EAN_UPC/encoder.js \ No newline at end of file diff --git a/node_modules/.bin/exceptions.js b/node_modules/.bin/exceptions.js deleted file mode 120000 index ae589ef..0000000 --- a/node_modules/.bin/exceptions.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/exceptions/exceptions.js \ No newline at end of file diff --git a/node_modules/.bin/fixOptions.js b/node_modules/.bin/fixOptions.js deleted file mode 120000 index 4816171..0000000 --- a/node_modules/.bin/fixOptions.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/help/fixOptions.js \ No newline at end of file diff --git a/node_modules/.bin/getOptionsFromElement.js b/node_modules/.bin/getOptionsFromElement.js deleted file mode 120000 index 3114d03..0000000 --- a/node_modules/.bin/getOptionsFromElement.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/help/getOptionsFromElement.js \ No newline at end of file diff --git a/node_modules/.bin/getRenderProperties.js b/node_modules/.bin/getRenderProperties.js deleted file mode 120000 index e8d9201..0000000 --- a/node_modules/.bin/getRenderProperties.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/help/getRenderProperties.js \ No newline at end of file diff --git a/node_modules/.bin/index.js b/node_modules/.bin/index.js deleted file mode 120000 index 54cd232..0000000 --- a/node_modules/.bin/index.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/renderers/index.js \ No newline at end of file diff --git a/node_modules/.bin/index.tmp.js b/node_modules/.bin/index.tmp.js deleted file mode 120000 index dc8c145..0000000 --- a/node_modules/.bin/index.tmp.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/index.tmp.js \ No newline at end of file diff --git a/node_modules/.bin/linearizeEncodings.js b/node_modules/.bin/linearizeEncodings.js deleted file mode 120000 index 0ce7eef..0000000 --- a/node_modules/.bin/linearizeEncodings.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/help/linearizeEncodings.js \ No newline at end of file diff --git a/node_modules/.bin/merge.js b/node_modules/.bin/merge.js deleted file mode 120000 index f165a5d..0000000 --- a/node_modules/.bin/merge.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/help/merge.js \ No newline at end of file diff --git a/node_modules/.bin/object.js b/node_modules/.bin/object.js deleted file mode 120000 index b6cfd74..0000000 --- a/node_modules/.bin/object.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/renderers/object.js \ No newline at end of file diff --git a/node_modules/.bin/optionsFromStrings.js b/node_modules/.bin/optionsFromStrings.js deleted file mode 120000 index 651f6f9..0000000 --- a/node_modules/.bin/optionsFromStrings.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/help/optionsFromStrings.js \ No newline at end of file diff --git a/node_modules/.bin/pharmacode b/node_modules/.bin/pharmacode deleted file mode 120000 index bfd99a2..0000000 --- a/node_modules/.bin/pharmacode +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/barcodes/pharmacode \ No newline at end of file diff --git a/node_modules/.bin/shared.js b/node_modules/.bin/shared.js deleted file mode 120000 index 2bdc128..0000000 --- a/node_modules/.bin/shared.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/renderers/shared.js \ No newline at end of file diff --git a/node_modules/.bin/svg.js b/node_modules/.bin/svg.js deleted file mode 120000 index 09eae52..0000000 --- a/node_modules/.bin/svg.js +++ /dev/null @@ -1 +0,0 @@ -../jsbarcode/bin/renderers/svg.js \ No newline at end of file diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity index c7ce15f..77cfa51 100644 --- a/node_modules/.yarn-integrity +++ b/node_modules/.yarn-integrity @@ -7,11 +7,13 @@ "linkedModules": [], "topLevelPatterns": [ "fs@^0.0.1-security", + "jsbarcode@^3.11.5", "path@^0.12.7" ], "lockfileEntries": { "fs@^0.0.1-security": "https://registry.yarnpkg.com/fs/-/fs-0.0.1-security.tgz#8a7bd37186b6dddf3813f23858b57ecaaf5e41d4", "inherits@2.0.3": "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de", + "jsbarcode@^3.11.5": "https://registry.yarnpkg.com/jsbarcode/-/jsbarcode-3.11.5.tgz#390b3efd0271f35b9d68c7b8af6e972445969014", "path@^0.12.7": "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f", "process@^0.11.1": "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182", "util@^0.10.3": "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" diff --git a/node_modules/fs/package.json b/node_modules/fs/package.json index cf26a8b..11661b0 100644 --- a/node_modules/fs/package.json +++ b/node_modules/fs/package.json @@ -1,45 +1,20 @@ { - "_from": "fs@0.0.1-security", - "_id": "fs@0.0.1-security", - "_inBundle": false, - "_integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=", - "_location": "/fs", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "fs@0.0.1-security", - "name": "fs", - "escapedName": "fs", - "rawSpec": "0.0.1-security", - "saveSpec": null, - "fetchSpec": "0.0.1-security" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "_shasum": "8a7bd37186b6dddf3813f23858b57ecaaf5e41d4", - "_spec": "fs@0.0.1-security", - "_where": "/home/frappe/frappe-bench/apps/label_printing", - "author": "", - "bugs": { - "url": "https://github.com/npm/security-holder/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.", - "homepage": "https://github.com/npm/security-holder#readme", - "keywords": [], - "license": "ISC", - "main": "index.js", "name": "fs", + "version": "0.0.1-security", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, "repository": { "type": "git", "url": "git+https://github.com/npm/security-holder.git" }, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "keywords": [], + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/npm/security-holder/issues" }, - "version": "0.0.1-security" + "homepage": "https://github.com/npm/security-holder#readme" } diff --git a/node_modules/inherits/package.json b/node_modules/inherits/package.json index fd41774..7cf62b9 100644 --- a/node_modules/inherits/package.json +++ b/node_modules/inherits/package.json @@ -1,42 +1,7 @@ { - "_from": "inherits@2.0.3", - "_id": "inherits@2.0.3", - "_inBundle": false, - "_integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "_location": "/inherits", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "inherits@2.0.3", - "name": "inherits", - "escapedName": "inherits", - "rawSpec": "2.0.3", - "saveSpec": null, - "fetchSpec": "2.0.3" - }, - "_requiredBy": [ - "/util" - ], - "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "_shasum": "633c2c83e3da42a502f52466022480f4208261de", - "_spec": "inherits@2.0.3", - "_where": "/home/frappe/frappe-bench/apps/label_printing/node_modules/util", - "browser": "./inherits_browser.js", - "bugs": { - "url": "https://github.com/isaacs/inherits/issues" - }, - "bundleDependencies": false, - "deprecated": false, + "name": "inherits", "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", - "devDependencies": { - "tap": "^7.1.0" - }, - "files": [ - "inherits.js", - "inherits_browser.js" - ], - "homepage": "https://github.com/isaacs/inherits#readme", + "version": "2.0.3", "keywords": [ "inheritance", "class", @@ -47,15 +12,18 @@ "browser", "browserify" ], - "license": "ISC", "main": "./inherits.js", - "name": "inherits", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/inherits.git" - }, + "browser": "./inherits_browser.js", + "repository": "git://github.com/isaacs/inherits", + "license": "ISC", "scripts": { "test": "node test" }, - "version": "2.0.3" + "devDependencies": { + "tap": "^7.1.0" + }, + "files": [ + "inherits.js", + "inherits_browser.js" + ] } diff --git a/node_modules/jsbarcode/bin/barcodes/Barcode.js b/node_modules/jsbarcode/bin/barcodes/Barcode.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128.js b/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128A.js b/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128A.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128B.js b/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128B.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128C.js b/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128C.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128_AUTO.js b/node_modules/jsbarcode/bin/barcodes/CODE128/CODE128_AUTO.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/CODE128/auto.js b/node_modules/jsbarcode/bin/barcodes/CODE128/auto.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN13.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN13.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN2.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN2.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN5.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN5.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN8.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN8.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPC.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPC.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPCE.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPCE.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/EAN_UPC/encoder.js b/node_modules/jsbarcode/bin/barcodes/EAN_UPC/encoder.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/ITF/ITF.js b/node_modules/jsbarcode/bin/barcodes/ITF/ITF.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/ITF/ITF14.js b/node_modules/jsbarcode/bin/barcodes/ITF/ITF14.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/ITF/constants.js b/node_modules/jsbarcode/bin/barcodes/ITF/constants.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/MSI/MSI.js b/node_modules/jsbarcode/bin/barcodes/MSI/MSI.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/MSI/MSI10.js b/node_modules/jsbarcode/bin/barcodes/MSI/MSI10.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/MSI/MSI1010.js b/node_modules/jsbarcode/bin/barcodes/MSI/MSI1010.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/MSI/MSI11.js b/node_modules/jsbarcode/bin/barcodes/MSI/MSI11.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/MSI/MSI1110.js b/node_modules/jsbarcode/bin/barcodes/MSI/MSI1110.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/MSI/checksums.js b/node_modules/jsbarcode/bin/barcodes/MSI/checksums.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/barcodes/index.tmp.js b/node_modules/jsbarcode/bin/barcodes/index.tmp.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/exceptions/ErrorHandler.js b/node_modules/jsbarcode/bin/exceptions/ErrorHandler.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/exceptions/exceptions.js b/node_modules/jsbarcode/bin/exceptions/exceptions.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/help/fixOptions.js b/node_modules/jsbarcode/bin/help/fixOptions.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/help/getOptionsFromElement.js b/node_modules/jsbarcode/bin/help/getOptionsFromElement.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/help/getRenderProperties.js b/node_modules/jsbarcode/bin/help/getRenderProperties.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/help/linearizeEncodings.js b/node_modules/jsbarcode/bin/help/linearizeEncodings.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/help/merge.js b/node_modules/jsbarcode/bin/help/merge.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/help/optionsFromStrings.js b/node_modules/jsbarcode/bin/help/optionsFromStrings.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/options/defaults.js b/node_modules/jsbarcode/bin/options/defaults.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/renderers/canvas.js b/node_modules/jsbarcode/bin/renderers/canvas.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/renderers/index.js b/node_modules/jsbarcode/bin/renderers/index.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/renderers/object.js b/node_modules/jsbarcode/bin/renderers/object.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/renderers/shared.js b/node_modules/jsbarcode/bin/renderers/shared.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/bin/renderers/svg.js b/node_modules/jsbarcode/bin/renderers/svg.js old mode 100755 new mode 100644 diff --git a/node_modules/jsbarcode/package.json b/node_modules/jsbarcode/package.json index a5a8606..b136d02 100644 --- a/node_modules/jsbarcode/package.json +++ b/node_modules/jsbarcode/package.json @@ -1,104 +1,40 @@ { - "_from": "jsbarcode", - "_id": "jsbarcode@3.11.5", - "_inBundle": false, - "_integrity": "sha512-zv3KsH51zD00I/LrFzFSM6dst7rDn0vIMzaiZFL7qusTjPZiPtxg3zxetp0RR7obmjTw4f6NyGgbdkBCgZUIrA==", - "_location": "/jsbarcode", - "_phantomChildren": {}, - "_requested": { - "type": "tag", - "registry": true, - "raw": "jsbarcode", - "name": "jsbarcode", - "escapedName": "jsbarcode", - "rawSpec": "", - "saveSpec": null, - "fetchSpec": "latest" + "name": "jsbarcode", + "version": "3.11.5", + "description": "JsBarcode is a customizable barcode generator with support for multiple barcode formats.", + "main": "./bin/JsBarcode.js", + "directories": { + "example": "example", + "test": "test", + "lib": "src", + "bin": "bin" }, - "_requiredBy": [ - "#USER", - "/" + "scripts": { + "test": "gulp babel && node_modules/mocha/bin/mocha test/node/ -R spec", + "coveralls": "NODE_ENV=test YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha test/node/ --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js", + "coverage": "./node_modules/.bin/mocha test/node/ -r blanket -R html-cov > test/coverage.html", + "build": "gulp compile" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/lindell/JsBarcode.git" + }, + "keywords": [ + "barcode", + "canvas", + "code128", + "upc", + "ean", + "itf", + "msi", + "pharmacode" ], - "_resolved": "https://registry.npmjs.org/jsbarcode/-/jsbarcode-3.11.5.tgz", - "_shasum": "390b3efd0271f35b9d68c7b8af6e972445969014", - "_spec": "jsbarcode", - "_where": "/home/frappe/frappe-bench/apps/label_printing", - "author": { - "name": "Johan Lindell" - }, - "bin": { - "barcodes": "bin/barcodes", - "Barcode.js": "bin/barcodes/Barcode.js", - "codabar": "bin/barcodes/codabar", - "index.js": "bin/renderers/index.js", - "CODE128": "bin/barcodes/CODE128", - "auto.js": "bin/barcodes/CODE128/auto.js", - "CODE128_AUTO.js": "bin/barcodes/CODE128/CODE128_AUTO.js", - "CODE128.js": "bin/barcodes/CODE128/CODE128.js", - "CODE128A.js": "bin/barcodes/CODE128/CODE128A.js", - "CODE128B.js": "bin/barcodes/CODE128/CODE128B.js", - "CODE128C.js": "bin/barcodes/CODE128/CODE128C.js", - "constants.js": "bin/barcodes/ITF/constants.js", - "CODE39": "bin/barcodes/CODE39", - "EAN_UPC": "bin/barcodes/EAN_UPC", - "EAN.js": "bin/barcodes/EAN_UPC/EAN.js", - "EAN13.js": "bin/barcodes/EAN_UPC/EAN13.js", - "EAN2.js": "bin/barcodes/EAN_UPC/EAN2.js", - "EAN5.js": "bin/barcodes/EAN_UPC/EAN5.js", - "EAN8.js": "bin/barcodes/EAN_UPC/EAN8.js", - "encoder.js": "bin/barcodes/EAN_UPC/encoder.js", - "UPC.js": "bin/barcodes/EAN_UPC/UPC.js", - "UPCE.js": "bin/barcodes/EAN_UPC/UPCE.js", - "GenericBarcode": "bin/barcodes/GenericBarcode", - "index.tmp.js": "bin/barcodes/index.tmp.js", - "ITF": "bin/barcodes/ITF", - "ITF.js": "bin/barcodes/ITF/ITF.js", - "ITF14.js": "bin/barcodes/ITF/ITF14.js", - "MSI": "bin/barcodes/MSI", - "checksums.js": "bin/barcodes/MSI/checksums.js", - "MSI.js": "bin/barcodes/MSI/MSI.js", - "MSI10.js": "bin/barcodes/MSI/MSI10.js", - "MSI1010.js": "bin/barcodes/MSI/MSI1010.js", - "MSI11.js": "bin/barcodes/MSI/MSI11.js", - "MSI1110.js": "bin/barcodes/MSI/MSI1110.js", - "pharmacode": "bin/barcodes/pharmacode", - "exceptions": "bin/exceptions", - "ErrorHandler.js": "bin/exceptions/ErrorHandler.js", - "exceptions.js": "bin/exceptions/exceptions.js", - "help": "bin/help", - "fixOptions.js": "bin/help/fixOptions.js", - "getOptionsFromElement.js": "bin/help/getOptionsFromElement.js", - "getRenderProperties.js": "bin/help/getRenderProperties.js", - "linearizeEncodings.js": "bin/help/linearizeEncodings.js", - "merge.js": "bin/help/merge.js", - "optionsFromStrings.js": "bin/help/optionsFromStrings.js", - "JsBarcode.js": "bin/JsBarcode.js", - "options": "bin/options", - "defaults.js": "bin/options/defaults.js", - "renderers": "bin/renderers", - "canvas.js": "bin/renderers/canvas.js", - "object.js": "bin/renderers/object.js", - "shared.js": "bin/renderers/shared.js", - "svg.js": "bin/renderers/svg.js" - }, + "author": "Johan Lindell", + "license": "MIT", "bugs": { "url": "https://github.com/lindell/JsBarcode/issues" }, - "bundleDependencies": false, - "config": { - "blanket": { - "pattern": [ - "JsBarcode.js", - "barcodes" - ], - "data-cover-never": [ - "GenericBarcode", - "node_modules" - ] - } - }, - "deprecated": false, - "description": "JsBarcode is a customizable barcode generator with support for multiple barcode formats.", + "homepage": "https://github.com/lindell/JsBarcode#readme", "devDependencies": { "babel-cli": "^6.24.1", "babel-core": "^6.24.1", @@ -128,36 +64,17 @@ "webpack-stream": "^5.2.1", "xmldom": "^0.1.31" }, - "directories": { - "example": "example", - "test": "test", - "lib": "src", - "bin": "bin" - }, - "homepage": "https://github.com/lindell/JsBarcode#readme", - "keywords": [ - "barcode", - "canvas", - "code128", - "upc", - "ean", - "itf", - "msi", - "pharmacode" - ], - "license": "MIT", - "main": "./bin/JsBarcode.js", - "name": "jsbarcode", - "repository": { - "type": "git", - "url": "git+https://github.com/lindell/JsBarcode.git" - }, - "scripts": { - "build": "gulp compile", - "coverage": "mocha test/node/ -r blanket -R html-cov > test/coverage.html", - "coveralls": "NODE_ENV=test YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha test/node/ --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js", - "test": "gulp babel && node_modules/mocha/bin/mocha test/node/ -R spec" - }, "typings": "./jsbarcode.d.ts", - "version": "3.11.5" + "config": { + "blanket": { + "pattern": [ + "JsBarcode.js", + "barcodes" + ], + "data-cover-never": [ + "GenericBarcode", + "node_modules" + ] + } + } } diff --git a/node_modules/path/package.json b/node_modules/path/package.json index ce52e70..16109e3 100644 --- a/node_modules/path/package.json +++ b/node_modules/path/package.json @@ -1,52 +1,24 @@ -{ - "_from": "path@0.12.7", - "_id": "path@0.12.7", - "_inBundle": false, - "_integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=", - "_location": "/path", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "path@0.12.7", - "name": "path", - "escapedName": "path", - "rawSpec": "0.12.7", - "saveSpec": null, - "fetchSpec": "0.12.7" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz", - "_shasum": "d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f", - "_spec": "path@0.12.7", - "_where": "/home/frappe/frappe-bench/apps/label_printing", - "author": { - "name": "Joyent", - "url": "http://www.joyent.com" - }, - "bugs": { - "url": "https://github.com/jinder/path/issues" - }, - "bundleDependencies": false, - "dependencies": { - "process": "^0.11.1", - "util": "^0.10.3" - }, - "deprecated": false, - "description": "Node.JS path module", - "homepage": "http://nodejs.org/docs/latest/api/path.html", - "keywords": [ - "ender", - "path" - ], - "license": "MIT", - "main": "./path.js", - "name": "path", - "repository": { - "type": "git", - "url": "git://github.com/jinder/path.git" - }, - "version": "0.12.7" -} +{ + "author": { + "name": "Joyent", + "url": "http://www.joyent.com" + }, + "name": "path", + "description": "Node.JS path module", + "keywords": [ + "ender", + "path" + ], + "license": "MIT", + "version": "0.12.7", + "homepage": "http://nodejs.org/docs/latest/api/path.html", + "repository": { + "type": "git", + "url": "git://github.com/jinder/path.git" + }, + "main": "./path.js", + "dependencies": { + "process": "^0.11.1", + "util": "^0.10.3" + } +} diff --git a/node_modules/process/package.json b/node_modules/process/package.json index 2fcce9c..d2cfaad 100644 --- a/node_modules/process/package.json +++ b/node_modules/process/package.json @@ -1,59 +1,27 @@ { - "_from": "process@0.11.10", - "_id": "process@0.11.10", - "_inBundle": false, - "_integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "_location": "/process", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "process@0.11.10", - "name": "process", - "escapedName": "process", - "rawSpec": "0.11.10", - "saveSpec": null, - "fetchSpec": "0.11.10" - }, - "_requiredBy": [ - "/path" - ], - "_resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "_shasum": "7332300e840161bda3e69a1d1d91a7d4bc16f182", - "_spec": "process@0.11.10", - "_where": "/home/frappe/frappe-bench/apps/label_printing/node_modules/path", - "author": { - "name": "Roman Shtylman", - "email": "shtylman@gmail.com" - }, - "browser": "./browser.js", - "bugs": { - "url": "https://github.com/shtylman/node-process/issues" - }, - "bundleDependencies": false, - "deprecated": false, + "author": "Roman Shtylman ", + "name": "process", "description": "process information for node.js and browsers", - "devDependencies": { - "mocha": "2.2.1", - "zuul": "^3.10.3" - }, - "engines": { - "node": ">= 0.6.0" - }, - "homepage": "https://github.com/shtylman/node-process#readme", "keywords": [ "process" ], - "license": "MIT", - "main": "./index.js", - "name": "process", + "scripts": { + "test": "mocha test.js", + "browser": "zuul --no-coverage --ui mocha-bdd --local 8080 -- test.js" + }, + "version": "0.11.10", "repository": { "type": "git", "url": "git://github.com/shtylman/node-process.git" }, - "scripts": { - "browser": "zuul --no-coverage --ui mocha-bdd --local 8080 -- test.js", - "test": "mocha test.js" + "license": "MIT", + "browser": "./browser.js", + "main": "./index.js", + "engines": { + "node": ">= 0.6.0" }, - "version": "0.11.10" + "devDependencies": { + "mocha": "2.2.1", + "zuul": "^3.10.3" + } } diff --git a/node_modules/util/package.json b/node_modules/util/package.json index d59ea8d..13d19a0 100644 --- a/node_modules/util/package.json +++ b/node_modules/util/package.json @@ -1,63 +1,35 @@ { - "_from": "util@0.10.4", - "_id": "util@0.10.4", - "_inBundle": false, - "_integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", - "_location": "/util", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "util@0.10.4", - "name": "util", - "escapedName": "util", - "rawSpec": "0.10.4", - "saveSpec": null, - "fetchSpec": "0.10.4" - }, - "_requiredBy": [ - "/path" - ], - "_resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", - "_shasum": "3aa0125bfe668a4672de58857d3ace27ecb76901", - "_spec": "util@0.10.4", - "_where": "/home/frappe/frappe-bench/apps/label_printing/node_modules/path", "author": { "name": "Joyent", "url": "http://www.joyent.com" }, - "browser": { - "./support/isBuffer.js": "./support/isBufferBrowser.js" - }, - "bugs": { - "url": "https://github.com/defunctzombie/node-util/issues" - }, - "bundleDependencies": false, - "dependencies": { - "inherits": "2.0.3" - }, - "deprecated": false, + "name": "util", "description": "Node.JS util module", - "devDependencies": { - "zuul": "~1.0.9" + "keywords": [ + "util" + ], + "version": "0.10.4", + "homepage": "https://github.com/defunctzombie/node-util", + "repository": { + "type": "git", + "url": "git://github.com/defunctzombie/node-util" }, + "main": "./util.js", "files": [ "util.js", "support" ], - "homepage": "https://github.com/defunctzombie/node-util", - "keywords": [ - "util" - ], - "license": "MIT", - "main": "./util.js", - "name": "util", - "repository": { - "type": "git", - "url": "git://github.com/defunctzombie/node-util.git" - }, "scripts": { "test": "node test/node/*.js && zuul test/browser/*.js" }, - "version": "0.10.4" + "dependencies": { + "inherits": "2.0.3" + }, + "license": "MIT", + "devDependencies": { + "zuul": "~1.0.9" + }, + "browser": { + "./support/isBuffer.js": "./support/isBufferBrowser.js" + } } diff --git a/yarn.lock b/yarn.lock index 7541ad1..ceb429f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,6 +12,11 @@ inherits@2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= +jsbarcode@^3.11.5: + version "3.11.5" + resolved "https://registry.yarnpkg.com/jsbarcode/-/jsbarcode-3.11.5.tgz#390b3efd0271f35b9d68c7b8af6e972445969014" + integrity sha512-zv3KsH51zD00I/LrFzFSM6dst7rDn0vIMzaiZFL7qusTjPZiPtxg3zxetp0RR7obmjTw4f6NyGgbdkBCgZUIrA== + path@^0.12.7: version "0.12.7" resolved "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f"