amis 3.6.1 → 3.6.3
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/compat.js +3 -3
- package/esm/index.js +3 -3
- package/esm/preset.js +3 -3
- package/esm/renderers/AMIS.js +3 -3
- package/esm/renderers/Action.js +3 -3
- package/esm/renderers/Alert.js +3 -3
- package/esm/renderers/AnchorNav.js +3 -3
- package/esm/renderers/App.js +3 -3
- package/esm/renderers/Audio.js +3 -3
- package/esm/renderers/Avatar.js +3 -3
- package/esm/renderers/BarCode.js +3 -3
- package/esm/renderers/Breadcrumb.js +3 -3
- package/esm/renderers/ButtonGroup.js +3 -3
- package/esm/renderers/CRUD.js +3 -3
- package/esm/renderers/CRUD2.js +3 -3
- package/esm/renderers/Calendar.js +3 -3
- package/esm/renderers/Card.js +3 -3
- package/esm/renderers/Card2.js +3 -3
- package/esm/renderers/Cards.js +3 -3
- package/esm/renderers/Carousel.js +3 -3
- package/esm/renderers/Chart.js +3 -3
- package/esm/renderers/Code.js +3 -3
- package/esm/renderers/Collapse.js +3 -3
- package/esm/renderers/CollapseGroup.js +3 -3
- package/esm/renderers/Color.js +3 -3
- package/esm/renderers/Container.js +3 -3
- package/esm/renderers/Copyable.js +3 -3
- package/esm/renderers/Custom.js +3 -3
- package/esm/renderers/Date.js +3 -3
- package/esm/renderers/DateRange.js +3 -3
- package/esm/renderers/Dialog.js +3 -3
- package/esm/renderers/Divider.js +3 -3
- package/esm/renderers/Drawer.js +3 -3
- package/esm/renderers/DropDownButton.js +3 -3
- package/esm/renderers/Each.js +3 -3
- package/esm/renderers/Flex.js +3 -3
- package/esm/renderers/Form/ButtonGroupSelect.js +3 -3
- package/esm/renderers/Form/ButtonToolbar.js +3 -3
- package/esm/renderers/Form/ChainedSelect.js +3 -3
- package/esm/renderers/Form/ChartRadios.js +3 -3
- package/esm/renderers/Form/Checkbox.js +3 -3
- package/esm/renderers/Form/Checkboxes.js +3 -3
- package/esm/renderers/Form/Combo.js +11 -9
- package/esm/renderers/Form/ConditionBuilder.js +3 -3
- package/esm/renderers/Form/Control.js +3 -3
- package/esm/renderers/Form/DiffEditor.js +3 -3
- package/esm/renderers/Form/Editor.js +3 -3
- package/esm/renderers/Form/FieldSet.js +3 -3
- package/esm/renderers/Form/Formula.js +3 -3
- package/esm/renderers/Form/Group.js +3 -3
- package/esm/renderers/Form/Hidden.js +3 -3
- package/esm/renderers/Form/IconPicker.js +3 -3
- package/esm/renderers/Form/IconPickerIcons.js +3 -3
- package/esm/renderers/Form/IconSelect.js +3 -3
- package/esm/renderers/Form/IconSelectStore.js +3 -3
- package/esm/renderers/Form/InputArray.js +3 -3
- package/esm/renderers/Form/InputCity.d.ts +40 -40
- package/esm/renderers/Form/InputCity.js +3 -3
- package/esm/renderers/Form/InputColor.js +3 -3
- package/esm/renderers/Form/InputDate.js +3 -3
- package/esm/renderers/Form/InputDateRange.js +3 -3
- package/esm/renderers/Form/InputExcel.js +3 -3
- package/esm/renderers/Form/InputFile.js +3 -3
- package/esm/renderers/Form/InputFormula.js +3 -3
- package/esm/renderers/Form/InputGroup.js +3 -3
- package/esm/renderers/Form/InputImage.js +3 -3
- package/esm/renderers/Form/InputMonthRange.js +3 -3
- package/esm/renderers/Form/InputNumber.js +3 -3
- package/esm/renderers/Form/InputQuarterRange.js +3 -3
- package/esm/renderers/Form/InputRange.js +3 -3
- package/esm/renderers/Form/InputRating.js +3 -3
- package/esm/renderers/Form/InputRepeat.js +3 -3
- package/esm/renderers/Form/InputRichText.js +3 -3
- package/esm/renderers/Form/InputSubForm.js +3 -3
- package/esm/renderers/Form/InputTable.js +3 -3
- package/esm/renderers/Form/InputTag.js +3 -3
- package/esm/renderers/Form/InputText.js +3 -3
- package/esm/renderers/Form/InputTree.js +3 -3
- package/esm/renderers/Form/InputYearRange.js +3 -3
- package/esm/renderers/Form/JSONSchema.js +3 -3
- package/esm/renderers/Form/JSONSchemaEditor.js +3 -3
- package/esm/renderers/Form/ListSelect.js +3 -3
- package/esm/renderers/Form/LocationPicker.js +3 -3
- package/esm/renderers/Form/MatrixCheckboxes.js +3 -3
- package/esm/renderers/Form/NestedSelect.js +3 -3
- package/esm/renderers/Form/Picker.js +3 -3
- package/esm/renderers/Form/Radio.js +3 -3
- package/esm/renderers/Form/Radios.js +3 -3
- package/esm/renderers/Form/Select.js +3 -3
- package/esm/renderers/Form/Static.js +3 -3
- package/esm/renderers/Form/StaticHoc.js +3 -3
- package/esm/renderers/Form/Switch.js +3 -3
- package/esm/renderers/Form/TabsTransfer.js +3 -3
- package/esm/renderers/Form/TabsTransferPicker.js +3 -3
- package/esm/renderers/Form/Textarea.js +3 -3
- package/esm/renderers/Form/Transfer.js +3 -3
- package/esm/renderers/Form/TransferPicker.js +3 -3
- package/esm/renderers/Form/TreeSelect.js +3 -3
- package/esm/renderers/Form/UUID.js +3 -3
- package/esm/renderers/Form/UserSelect.js +3 -3
- package/esm/renderers/Grid.js +3 -3
- package/esm/renderers/Grid2D.js +3 -3
- package/esm/renderers/GridNav.js +3 -3
- package/esm/renderers/HBox.js +3 -3
- package/esm/renderers/IFrame.js +3 -3
- package/esm/renderers/Icon.js +3 -3
- package/esm/renderers/Image.js +3 -3
- package/esm/renderers/Images.js +3 -3
- package/esm/renderers/Json.js +3 -3
- package/esm/renderers/Link.js +3 -3
- package/esm/renderers/List.js +3 -3
- package/esm/renderers/Log.js +3 -3
- package/esm/renderers/Mapping.js +3 -3
- package/esm/renderers/Markdown.js +3 -3
- package/esm/renderers/MultilineText.js +3 -3
- package/esm/renderers/Nav.js +3 -3
- package/esm/renderers/Number.js +3 -3
- package/esm/renderers/OfficeViewer.js +3 -3
- package/esm/renderers/Operation.js +3 -3
- package/esm/renderers/Page.js +3 -3
- package/esm/renderers/Pagination.js +3 -3
- package/esm/renderers/PaginationWrapper.js +3 -3
- package/esm/renderers/Panel.js +3 -3
- package/esm/renderers/Password.js +3 -3
- package/esm/renderers/Plain.js +3 -3
- package/esm/renderers/PopOver.js +3 -3
- package/esm/renderers/Portlet.js +3 -3
- package/esm/renderers/Progress.js +3 -3
- package/esm/renderers/Property.js +3 -3
- package/esm/renderers/QRCode.js +3 -3
- package/esm/renderers/QuickEdit.js +3 -3
- package/esm/renderers/Remark.js +3 -3
- package/esm/renderers/SearchBox.js +3 -3
- package/esm/renderers/Service.js +3 -3
- package/esm/renderers/SparkLine.js +3 -3
- package/esm/renderers/Spinner.js +3 -3
- package/esm/renderers/Status.js +3 -3
- package/esm/renderers/Steps.js +3 -3
- package/esm/renderers/SwitchContainer.js +3 -3
- package/esm/renderers/Table/AutoFilterForm.js +3 -3
- package/esm/renderers/Table/Cell.js +3 -3
- package/esm/renderers/Table/ColGroup.js +3 -3
- package/esm/renderers/Table/ColumnToggler.js +3 -3
- package/esm/renderers/Table/HeadCellFilterDropdown.js +3 -3
- package/esm/renderers/Table/HeadCellSearchDropdown.js +3 -3
- package/esm/renderers/Table/ItemActionsWrapper.js +3 -3
- package/esm/renderers/Table/TableBody.js +3 -3
- package/esm/renderers/Table/TableCell.js +3 -3
- package/esm/renderers/Table/TableContent.js +3 -3
- package/esm/renderers/Table/TableRow.js +3 -3
- package/esm/renderers/Table/exportExcel.js +3 -3
- package/esm/renderers/Table/index.js +3 -3
- package/esm/renderers/Table2/ColumnToggler.js +3 -3
- package/esm/renderers/Table2/HeadCellSearchDropdown.js +3 -3
- package/esm/renderers/Table2/TableCell.js +3 -3
- package/esm/renderers/Table2/index.js +3 -3
- package/esm/renderers/TableView.js +3 -3
- package/esm/renderers/Tabs.js +3 -3
- package/esm/renderers/Tag.js +3 -3
- package/esm/renderers/Tasks.js +3 -3
- package/esm/renderers/Timeline.js +3 -3
- package/esm/renderers/TooltipWrapper.js +3 -3
- package/esm/renderers/Tpl.js +3 -3
- package/esm/renderers/VBox.js +3 -3
- package/esm/renderers/Video.js +3 -3
- package/esm/renderers/WebComponent.js +3 -3
- package/esm/renderers/Wizard.js +3 -3
- package/esm/renderers/Words.js +3 -3
- package/esm/renderers/Wrapper.js +3 -3
- package/esm/schemaExtend.js +3 -3
- package/lib/compat.js +3 -3
- package/lib/index.js +3 -3
- package/lib/preset.js +3 -3
- package/lib/renderers/AMIS.js +3 -3
- package/lib/renderers/Action.js +3 -3
- package/lib/renderers/Alert.js +3 -3
- package/lib/renderers/AnchorNav.js +3 -3
- package/lib/renderers/App.js +3 -3
- package/lib/renderers/Audio.js +3 -3
- package/lib/renderers/Avatar.js +3 -3
- package/lib/renderers/BarCode.js +3 -3
- package/lib/renderers/Breadcrumb.js +3 -3
- package/lib/renderers/ButtonGroup.js +3 -3
- package/lib/renderers/CRUD.js +3 -3
- package/lib/renderers/CRUD2.js +3 -3
- package/lib/renderers/Calendar.js +3 -3
- package/lib/renderers/Card.js +3 -3
- package/lib/renderers/Card2.js +3 -3
- package/lib/renderers/Cards.js +3 -3
- package/lib/renderers/Carousel.js +3 -3
- package/lib/renderers/Chart.js +3 -3
- package/lib/renderers/Code.js +3 -3
- package/lib/renderers/Collapse.js +3 -3
- package/lib/renderers/CollapseGroup.js +3 -3
- package/lib/renderers/Color.js +3 -3
- package/lib/renderers/Container.d.ts +1 -1
- package/lib/renderers/Container.js +3 -3
- package/lib/renderers/Copyable.js +3 -3
- package/lib/renderers/Custom.js +3 -3
- package/lib/renderers/Date.js +3 -3
- package/lib/renderers/DateRange.js +3 -3
- package/lib/renderers/Dialog.d.ts +40 -41
- package/lib/renderers/Dialog.js +3 -3
- package/lib/renderers/Divider.js +3 -3
- package/lib/renderers/Drawer.js +3 -3
- package/lib/renderers/DropDownButton.js +3 -3
- package/lib/renderers/Each.js +3 -3
- package/lib/renderers/Flex.js +3 -3
- package/lib/renderers/Form/ButtonGroupSelect.js +3 -3
- package/lib/renderers/Form/ButtonToolbar.js +3 -3
- package/lib/renderers/Form/ChainedSelect.js +3 -3
- package/lib/renderers/Form/ChartRadios.js +3 -3
- package/lib/renderers/Form/Checkbox.js +3 -3
- package/lib/renderers/Form/Checkboxes.js +3 -3
- package/lib/renderers/Form/Combo.js +11 -9
- package/lib/renderers/Form/ConditionBuilder.js +3 -3
- package/lib/renderers/Form/Control.js +3 -3
- package/lib/renderers/Form/DiffEditor.d.ts +51 -52
- package/lib/renderers/Form/DiffEditor.js +3 -3
- package/lib/renderers/Form/Editor.d.ts +25 -25
- package/lib/renderers/Form/Editor.js +3 -3
- package/lib/renderers/Form/FieldSet.js +3 -3
- package/lib/renderers/Form/Formula.js +3 -3
- package/lib/renderers/Form/Group.js +3 -3
- package/lib/renderers/Form/Hidden.js +3 -3
- package/lib/renderers/Form/IconPicker.js +3 -3
- package/lib/renderers/Form/IconPickerIcons.js +3 -3
- package/lib/renderers/Form/IconSelect.js +3 -3
- package/lib/renderers/Form/IconSelectStore.js +3 -3
- package/lib/renderers/Form/InputArray.js +3 -3
- package/lib/renderers/Form/InputCity.d.ts +40 -40
- package/lib/renderers/Form/InputCity.js +3 -3
- package/lib/renderers/Form/InputColor.d.ts +40 -40
- package/lib/renderers/Form/InputColor.js +3 -3
- package/lib/renderers/Form/InputDate.js +3 -3
- package/lib/renderers/Form/InputDateRange.js +3 -3
- package/lib/renderers/Form/InputExcel.js +3 -3
- package/lib/renderers/Form/InputFile.js +3 -3
- package/lib/renderers/Form/InputFormula.js +3 -3
- package/lib/renderers/Form/InputGroup.js +3 -3
- package/lib/renderers/Form/InputImage.js +3 -3
- package/lib/renderers/Form/InputMonthRange.js +3 -3
- package/lib/renderers/Form/InputNumber.js +3 -3
- package/lib/renderers/Form/InputQuarterRange.js +3 -3
- package/lib/renderers/Form/InputRange.js +3 -3
- package/lib/renderers/Form/InputRating.js +3 -3
- package/lib/renderers/Form/InputRepeat.js +3 -3
- package/lib/renderers/Form/InputRichText.js +3 -3
- package/lib/renderers/Form/InputSubForm.js +3 -3
- package/lib/renderers/Form/InputTable.js +3 -3
- package/lib/renderers/Form/InputTag.js +3 -3
- package/lib/renderers/Form/InputText.js +3 -3
- package/lib/renderers/Form/InputTree.js +3 -3
- package/lib/renderers/Form/InputYearRange.js +3 -3
- package/lib/renderers/Form/JSONSchema.js +3 -3
- package/lib/renderers/Form/JSONSchemaEditor.js +3 -3
- package/lib/renderers/Form/ListSelect.js +3 -3
- package/lib/renderers/Form/LocationPicker.js +3 -3
- package/lib/renderers/Form/MatrixCheckboxes.js +3 -3
- package/lib/renderers/Form/NestedSelect.js +3 -3
- package/lib/renderers/Form/Picker.js +3 -3
- package/lib/renderers/Form/Radio.js +3 -3
- package/lib/renderers/Form/Radios.js +3 -3
- package/lib/renderers/Form/Select.js +3 -3
- package/lib/renderers/Form/Static.js +3 -3
- package/lib/renderers/Form/StaticHoc.js +3 -3
- package/lib/renderers/Form/Switch.js +3 -3
- package/lib/renderers/Form/TabsTransfer.js +3 -3
- package/lib/renderers/Form/TabsTransferPicker.js +3 -3
- package/lib/renderers/Form/Textarea.js +3 -3
- package/lib/renderers/Form/Transfer.js +3 -3
- package/lib/renderers/Form/TransferPicker.js +3 -3
- package/lib/renderers/Form/TreeSelect.js +3 -3
- package/lib/renderers/Form/UUID.js +3 -3
- package/lib/renderers/Form/UserSelect.js +3 -3
- package/lib/renderers/Grid.js +3 -3
- package/lib/renderers/Grid2D.js +3 -3
- package/lib/renderers/GridNav.js +3 -3
- package/lib/renderers/HBox.js +3 -3
- package/lib/renderers/IFrame.js +3 -3
- package/lib/renderers/Icon.js +3 -3
- package/lib/renderers/Image.js +3 -3
- package/lib/renderers/Images.js +3 -3
- package/lib/renderers/Json.js +3 -3
- package/lib/renderers/Link.js +3 -3
- package/lib/renderers/List.js +3 -3
- package/lib/renderers/Log.js +3 -3
- package/lib/renderers/Mapping.js +3 -3
- package/lib/renderers/Markdown.js +3 -3
- package/lib/renderers/MultilineText.js +3 -3
- package/lib/renderers/Nav.js +3 -3
- package/lib/renderers/Number.js +3 -3
- package/lib/renderers/OfficeViewer.js +3 -3
- package/lib/renderers/Operation.js +3 -3
- package/lib/renderers/Page.js +3 -3
- package/lib/renderers/Pagination.js +3 -3
- package/lib/renderers/PaginationWrapper.js +3 -3
- package/lib/renderers/Panel.js +3 -3
- package/lib/renderers/Password.js +3 -3
- package/lib/renderers/Plain.js +3 -3
- package/lib/renderers/PopOver.js +3 -3
- package/lib/renderers/Portlet.js +3 -3
- package/lib/renderers/Progress.js +3 -3
- package/lib/renderers/Property.js +3 -3
- package/lib/renderers/QRCode.js +3 -3
- package/lib/renderers/QuickEdit.js +3 -3
- package/lib/renderers/Remark.d.ts +1 -1
- package/lib/renderers/Remark.js +3 -3
- package/lib/renderers/SearchBox.js +3 -3
- package/lib/renderers/Service.js +3 -3
- package/lib/renderers/SparkLine.js +3 -3
- package/lib/renderers/Spinner.js +3 -3
- package/lib/renderers/Status.js +3 -3
- package/lib/renderers/Steps.js +3 -3
- package/lib/renderers/SwitchContainer.js +3 -3
- package/lib/renderers/Table/AutoFilterForm.js +3 -3
- package/lib/renderers/Table/Cell.js +3 -3
- package/lib/renderers/Table/ColGroup.js +3 -3
- package/lib/renderers/Table/ColumnToggler.js +3 -3
- package/lib/renderers/Table/HeadCellFilterDropdown.js +3 -3
- package/lib/renderers/Table/HeadCellSearchDropdown.js +3 -3
- package/lib/renderers/Table/ItemActionsWrapper.js +3 -3
- package/lib/renderers/Table/TableBody.js +3 -3
- package/lib/renderers/Table/TableCell.js +3 -3
- package/lib/renderers/Table/TableContent.js +3 -3
- package/lib/renderers/Table/TableRow.js +3 -3
- package/lib/renderers/Table/exportExcel.js +3 -3
- package/lib/renderers/Table/index.js +3 -3
- package/lib/renderers/Table2/ColumnToggler.js +3 -3
- package/lib/renderers/Table2/HeadCellSearchDropdown.js +3 -3
- package/lib/renderers/Table2/TableCell.js +3 -3
- package/lib/renderers/Table2/index.js +3 -3
- package/lib/renderers/TableView.js +3 -3
- package/lib/renderers/Tabs.js +3 -3
- package/lib/renderers/Tag.js +3 -3
- package/lib/renderers/Tasks.js +3 -3
- package/lib/renderers/Timeline.js +3 -3
- package/lib/renderers/TooltipWrapper.js +3 -3
- package/lib/renderers/Tpl.js +3 -3
- package/lib/renderers/VBox.js +3 -3
- package/lib/renderers/Video.js +3 -3
- package/lib/renderers/WebComponent.js +3 -3
- package/lib/renderers/Wizard.js +3 -3
- package/lib/renderers/Words.js +3 -3
- package/lib/renderers/Wrapper.js +3 -3
- package/lib/schemaExtend.js +3 -3
- package/package.json +5 -5
- package/sdk/ang-ie11.css +1 -1
- package/sdk/ang.css +1 -1
- package/sdk/antd-ie11.css +1 -1
- package/sdk/antd.css +1 -1
- package/sdk/barcode.js +50 -50
- package/sdk/charts.js +16 -16
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1 -1
- package/sdk/cxd.css +1 -1
- package/sdk/dark-ie11.css +1 -1
- package/sdk/dark.css +1 -1
- package/sdk/exceljs.js +1 -1
- package/sdk/fomula-doc.js +1 -1
- package/sdk/json-view.js +1 -1
- package/sdk/markdown.js +68 -68
- package/sdk/office-viewer.js +125 -125
- package/sdk/papaparse.js +1 -1
- package/sdk/rest.js +15 -15
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1 -1
- package/sdk/sdk.css +1 -1
- package/sdk/sdk.js +1513 -1513
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +58 -58
- package/sdk/xlsx.js +3 -3
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-brands-400.eot +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-brands-400.svg +0 -3717
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-regular-400.eot +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-regular-400.svg +0 -801
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-solid-900.eot +0 -0
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-solid-900.svg +0 -5034
- package/sdk/thirds/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff +0 -0
package/sdk/barcode.js
CHANGED
@@ -1,100 +1,100 @@
|
|
1
1
|
;/*!node_modules/jsbarcode/bin/barcodes/Barcode.js*/
|
2
|
-
amis.define("
|
2
|
+
amis.define("cd9f9b5",(function(t,e,n,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e,this.text=n.text||e,this.options=n}}));
|
3
3
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE39/index.js*/
|
4
|
-
amis.define("
|
4
|
+
amis.define("b065ff9",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CODE39=void 0;var o,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("cd9f9b5");var a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=e.toUpperCase(),n.mod43&&(e+=function(e){return f[e]}(function(e){for(var t=0,n=0;n<e.length;n++)t+=s(e[n]);return t%=43}(e))),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"encode",value:function(){for(var e=l("*"),t=0;t<this.data.length;t++)e+=l(this.data[t])+"0";return{data:e+=l("*"),text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),t}(((o=i)&&o.__esModule?o:{default:o}).default),f=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],c=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function l(e){return function(e){return c[e].toString(2)}(s(e))}function s(e){return f.indexOf(e)}t.CODE39=a}));
|
5
5
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/constants.js*/
|
6
|
-
amis.define("
|
6
|
+
amis.define("b7d5872",(function(e,r,S,_){"use strict";var A;function C(e,r,S){return r in e?Object.defineProperty(e,r,{value:S,enumerable:!0,configurable:!0,writable:!0}):e[r]=S,e}Object.defineProperty(r,"__esModule",{value:!0});var T=r.SET_A=0,n=r.SET_B=1,i=r.SET_C=2,t=(r.SHIFT=98,r.START_A=103),R=r.START_B=104,o=r.START_C=105;r.MODULO=103,r.STOP=106,r.FNC1=207,r.SET_BY_CODE=(C(A={},t,T),C(A,R,n),C(A,o,i),A),r.SWAP={101:T,100:n,99:i},r.A_START_CHAR=String.fromCharCode(208),r.B_START_CHAR=String.fromCharCode(209),r.C_START_CHAR=String.fromCharCode(210),r.A_CHARS="[\0-_È-Ï]",r.B_CHARS="[ -È-Ï]",r.C_CHARS="(Ï*[0-9]{2}Ï*)",r.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]}));
|
7
7
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/CODE128.js*/
|
8
|
-
amis.define("
|
8
|
+
amis.define("55031c0",(function(e,t,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),u=e("cd9f9b5"),a=(o=u)&&o.__esModule?o:{default:o},s=e("b7d5872");var c=function(e){function t(e,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.substring(1),r));return n.bytes=e.split("").map((function(e){return e.charCodeAt(0)})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var e=this.bytes,r=e.shift()-105,n=s.SET_BY_CODE[r];if(void 0===n)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&e.unshift(s.FNC1);var o=t.next(e,1,n);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:t.getBar(r)+o.result+t.getBar((o.checksum+r)%s.MODULO)+t.getBar(s.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var e=this.options.ean128||!1;return"string"==typeof e&&(e="true"===e.toLowerCase()),e}}],[{key:"getBar",value:function(e){return s.BARS[e]?s.BARS[e].toString():""}},{key:"correctIndex",value:function(e,t){if(t===s.SET_A){var r=e.shift();return r<32?r+64:r-32}return t===s.SET_B?e.shift()-32:10*(e.shift()-48)+e.shift()-48}},{key:"next",value:function(e,r,n){if(!e.length)return{result:"",checksum:0};var o=void 0,i=void 0;if(e[0]>=200){i=e.shift()-105;var u=s.SWAP[i];void 0!==u?o=t.next(e,r+1,u):(n!==s.SET_A&&n!==s.SET_B||i!==s.SHIFT||(e[0]=n===s.SET_A?e[0]>95?e[0]-96:e[0]:e[0]<32?e[0]+96:e[0]),o=t.next(e,r+1,n))}else i=t.correctIndex(e,n),o=t.next(e,r+1,n);var a=i*r;return{result:t.getBar(i)+o.result,checksum:a+o.checksum}}}]),t}(a.default);t.default=c}));
|
9
9
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/auto.js*/
|
10
|
-
amis.define("
|
10
|
+
amis.define("576499e",(function(e,n,r,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var u=e("b7d5872"),i=function(e){return e.match(new RegExp("^"+u.A_CHARS+"*"))[0].length},C=function(e){return e.match(new RegExp("^"+u.B_CHARS+"*"))[0].length},g=function(e){return e.match(new RegExp("^"+u.C_CHARS+"*"))[0]};function a(e,n){var r=n?u.A_CHARS:u.B_CHARS,t=e.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(t)return t[1]+String.fromCharCode(204)+o(e.substring(t[1].length));var i=e.match(new RegExp("^"+r+"+"))[0];return i.length===e.length?e:i+String.fromCharCode(n?205:206)+a(e.substring(i.length),!n)}function o(e){var n=g(e),r=n.length;if(r===e.length)return e;e=e.substring(r);var t=i(e)>=C(e);return n+String.fromCharCode(t?206:205)+a(e,t)}n.default=function(e){var n=void 0;if(g(e).length>=2)n=u.C_START_CHAR+o(e);else{var r=i(e)>C(e);n=(r?u.A_START_CHAR:u.B_START_CHAR)+a(e,r)}return n.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(e,n){return String.fromCharCode(203)+n}))}}));
|
11
11
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/CODE128_AUTO.js*/
|
12
|
-
amis.define("
|
12
|
+
amis.define("ef9cfbd",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(e("55031c0")),f=i(e("576499e"));function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(e,o){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),/^[\x00-\x7F\xC8-\xD3]+$/.test(e))var n=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,f.default)(e),o));else n=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return c(n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default);t.default=u}));
|
13
13
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/CODE128A.js*/
|
14
|
-
amis.define("
|
14
|
+
amis.define("3834cd5",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("55031c0"),a=(o=i)&&o.__esModule?o:{default:o},c=e("b7d5872");var f=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,c.A_START_CHAR+e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"valid",value:function(){return new RegExp("^"+c.A_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=f}));
|
15
15
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/CODE128B.js*/
|
16
|
-
amis.define("
|
16
|
+
amis.define("f25c601",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("55031c0"),a=(o=i)&&o.__esModule?o:{default:o},f=e("b7d5872");var c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,f.B_START_CHAR+e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"valid",value:function(){return new RegExp("^"+f.B_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=c}));
|
17
17
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/CODE128C.js*/
|
18
|
-
amis.define("
|
18
|
+
amis.define("3c1b8c0",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("55031c0"),a=(o=i)&&o.__esModule?o:{default:o},c=e("b7d5872");var f=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,c.C_START_CHAR+e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"valid",value:function(){return new RegExp("^"+c.C_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=f}));
|
19
19
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/index.js*/
|
20
|
-
amis.define("
|
20
|
+
amis.define("823a936",(function(e,d,f,t){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.CODE128C=d.CODE128B=d.CODE128A=d.CODE128=void 0;var u=O(e("ef9cfbd")),C=O(e("3834cd5")),a=O(e("f25c601")),c=O(e("3c1b8c0"));function O(e){return e&&e.__esModule?e:{default:e}}d.CODE128=u.default,d.CODE128A=C.default,d.CODE128B=a.default,d.CODE128C=c.default}));
|
21
21
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js*/
|
22
|
-
amis.define("
|
22
|
+
amis.define("d9cfe3a",(function(L,G,e,E){"use strict";Object.defineProperty(G,"__esModule",{value:!0});G.SIDE_BIN="101",G.MIDDLE_BIN="01010",G.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"]},G.EAN2_STRUCTURE=["LL","LG","GL","GG"],G.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],G.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}));
|
23
23
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/encoder.js*/
|
24
|
-
amis.define("
|
24
|
+
amis.define("180263e",(function(e,n,t,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var u=e("d9cfe3a");n.default=function(e,n,t){var r=e.split("").map((function(e,t){return u.BINARIES[n[t]]})).map((function(n,t){return n?n[e[t]]:""}));if(t){var i=e.length-1;r=r.map((function(e,n){return n<i?e+t:e}))}return r.join("")}}));
|
25
25
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN.js*/
|
26
|
-
amis.define("
|
26
|
+
amis.define("4c44e15",(function(t,e,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=t("d9cfe3a"),u=a(t("180263e"));function a(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(t,e){if("function"!=typeof e&&null!==e)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)}(e,t),r(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,e){return(0,u.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,u.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:i.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:i.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:i.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){return{data:[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN].join(""),text:this.text}}}]),e}(a(t("cd9f9b5")).default);e.default=f}));
|
27
27
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN13.js*/
|
28
|
-
amis.define("
|
28
|
+
amis.define("1ce91ed",(function(t,e,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=function(){function t(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,o,r){return o&&t(e.prototype,o),r&&t(e,r),e}}(),a=function t(e,o,r){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,o);if(void 0===n){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,r)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(r):void 0},u=t("d9cfe3a"),s=t("4c44e15"),c=(n=s)&&n.__esModule?n:{default:n};var p=function(t){return(10-t.substr(0,12).split("").map((function(t){return+t})).reduce((function(t,e,o){return o%2?t+3*e:t+e}),0)%10)%10},l=function(t){function e(t,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),-1!==t.search(/^[0-9]{12}$/)&&(t+=p(t));var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,o));return r.lastChar=o.lastChar,r}return function(t,e){if("function"!=typeof e&&null!==e)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)}(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===p(this.data)}},{key:"leftText",value:function(){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var t=this.data.substr(1,6),o=u.EAN13_STRUCTURE[this.data[0]];return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,o)}},{key:"rightText",value:function(){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var t=this.data.substr(7,6);return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(t.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(t.push({data:"00"}),t.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),t}}]),e}(c.default);e.default=l}));
|
29
29
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN8.js*/
|
30
|
-
amis.define("
|
30
|
+
amis.define("74075ae",(function(t,e,r,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=function(){function t(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,r,o){return r&&t(e.prototype,r),o&&t(e,o),e}}(),u=function t(e,r,o){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,o)}if("value"in n)return n.value;var u=n.get;return void 0!==u?u.call(o):void 0},a=t("4c44e15"),c=(n=a)&&n.__esModule?n:{default:n};var l=function(t){return(10-t.substr(0,7).split("").map((function(t){return+t})).reduce((function(t,e,r){return r%2?t+e:t+3*e}),0)%10)%10},f=function(t){function e(t,r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),-1!==t.search(/^[0-9]{7}$/)&&(t+=l(t)),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r))}return function(t,e){if("function"!=typeof e&&null!==e)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)}(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===l(this.data)}},{key:"leftText",value:function(){return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var t=this.data.substr(0,4);return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var t=this.data.substr(4,4);return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),e}(c.default);e.default=f}));
|
31
31
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN5.js*/
|
32
|
-
amis.define("
|
32
|
+
amis.define("ef308d7",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("d9cfe3a"),a=f(e("180263e")),i=f(e("cd9f9b5"));function f(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var e,t=u.EAN5_STRUCTURE[(e=this.data,e.split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+9*t:e+3*t}),0)%10)];return{data:"1011"+(0,a.default)(this.data,t,"01"),text:this.text}}}]),t}(i.default);t.default=c}));
|
33
33
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN2.js*/
|
34
|
-
amis.define("
|
34
|
+
amis.define("f4e5da8",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=e("d9cfe3a"),u=i(e("180263e"));function i(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var e=a.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,u.default)(this.data,e,"01"),text:this.text}}}]),t}(i(e("cd9f9b5")).default);t.default=f}));
|
35
35
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPC.js*/
|
36
|
-
amis.define("
|
36
|
+
amis.define("2af9e82",(function(t,e,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();e.checksum=u;var o=r(t("180263e"));function r(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),-1!==t.search(/^[0-9]{11}$/)&&(t+=u(t));var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.displayValue=i.displayValue,i.fontSize>10*i.width?n.fontSize=10*i.width:n.fontSize=i.fontSize,n.guardHeight=i.height+n.fontSize/2+i.textMargin,n}return function(t,e){if("function"!=typeof e&&null!==e)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)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==u(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=(0,o.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,o.default)(this.data.substr(6,6),"RRRRRR"),{data:t+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101"+(0,o.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),t.push({data:"01010",options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,o.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),t}}]),e}(r(t("cd9f9b5")).default);function u(t){var e,i=0;for(e=1;e<11;e+=2)i+=parseInt(t[e]);for(e=0;e<11;e+=2)i+=3*parseInt(t[e]);return(10-i%10)%10}e.default=s}));
|
37
37
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPCE.js*/
|
38
|
-
amis.define("
|
38
|
+
amis.define("934312a",(function(t,e,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=s(t("180263e")),u=s(t("cd9f9b5")),a=t("2af9e82");function s(t){return t&&t.__esModule?t:{default:t}}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],E=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],f=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));if(n.isValid=!1,-1!==t.search(/^[0-9]{6}$/))n.middleDigits=t,n.upcA=c(t,"0"),n.text=i.text||""+n.upcA[0]+t+n.upcA[n.upcA.length-1],n.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/))return O(n);if(n.middleDigits=t.substring(1,t.length-1),n.upcA=c(n.middleDigits,t[0]),n.upcA[n.upcA.length-1]!==t[t.length-1])return O(n);n.isValid=!0}return n.displayValue=i.displayValue,i.fontSize>10*i.width?n.fontSize=10*i.width:n.fontSize=i.fontSize,n.guardHeight=i.height+n.fontSize/2+i.textMargin,n}return function(t,e){if("function"!=typeof e&&null!==e)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)}(e,t),r(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),{data:t+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}},{key:"encodeMiddleDigits",value:function(){var t=this.upcA[0],e=this.upcA[this.upcA.length-1],i=E[parseInt(e)][parseInt(t)];return(0,o.default)(this.middleDigits,i)}}]),e}(u.default);function c(t,e){for(var i=parseInt(t[t.length-1]),n=l[i],r="",o=0,u=0;u<n.length;u++){var s=n[u];r+="X"===s?t[o++]:s}return""+(r=""+e+r)+(0,a.checksum)(r)}e.default=f}));
|
39
39
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js*/
|
40
|
-
amis.define("
|
40
|
+
amis.define("4140199",(function(e,d,a,f){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.UPCE=d.UPC=d.EAN2=d.EAN5=d.EAN8=d.EAN13=void 0;var t=i(e("1ce91ed")),u=i(e("74075ae")),l=i(e("ef308d7")),E=i(e("f4e5da8")),A=i(e("2af9e82")),N=i(e("934312a"));function i(e){return e&&e.__esModule?e:{default:e}}d.EAN13=t.default,d.EAN8=u.default,d.EAN5=l.default,d.EAN2=E.default,d.UPC=A.default,d.UPCE=N.default}));
|
41
41
|
;/*!node_modules/jsbarcode/bin/barcodes/ITF/constants.js*/
|
42
|
-
amis.define("
|
42
|
+
amis.define("75520f0",(function(e,i,t,f){"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.START_BIN="1010",i.END_BIN="11101",i.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}));
|
43
43
|
;/*!node_modules/jsbarcode/bin/barcodes/ITF/ITF.js*/
|
44
|
-
amis.define("
|
44
|
+
amis.define("7663125",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("75520f0"),a=e("cd9f9b5");function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var e=this,t=this.data.match(/.{2}/g).map((function(t){return e.encodePair(t)})).join("");return{data:u.START_BIN+t+u.END_BIN,text:this.text}}},{key:"encodePair",value:function(e){var t=u.BINARIES[e[1]];return u.BINARIES[e[0]].split("").map((function(e,n){return("1"===e?"111":"1")+("1"===t[n]?"000":"0")})).join("")}}]),t}(((o=a)&&o.__esModule?o:{default:o}).default);t.default=l}));
|
45
45
|
;/*!node_modules/jsbarcode/bin/barcodes/ITF/ITF14.js*/
|
46
|
-
amis.define("
|
46
|
+
amis.define("a410188",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=e("7663125"),i=(o=a)&&o.__esModule?o:{default:o};var c=function(e){var t=e.substr(0,13).split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t,n){return e+t*(3-n%2*2)}),0);return 10*Math.ceil(t/10)-t},f=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{13}$/)&&(e+=c(e)),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===c(this.data)}}]),t}(i.default);t.default=f}));
|
47
47
|
;/*!node_modules/jsbarcode/bin/barcodes/ITF/index.js*/
|
48
|
-
amis.define("
|
48
|
+
amis.define("2cfc38c",(function(e,t,u,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ITF14=t.ITF=void 0;var f=c(e("7663125")),a=c(e("a410188"));function c(e){return e&&e.__esModule?e:{default:e}}t.ITF=f.default,t.ITF14=a.default}));
|
49
49
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI.js*/
|
50
|
-
amis.define("
|
50
|
+
amis.define("71b331c",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("cd9f9b5");var u=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"encode",value:function(){for(var e="110",t=0;t<this.data.length;t++){var n=parseInt(this.data[t]).toString(2);n=f(n,4-n.length);for(var r=0;r<n.length;r++)e+="0"==n[r]?"100":"110"}return{data:e+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),t}(((o=i)&&o.__esModule?o:{default:o}).default);function f(e,t){for(var n=0;n<t;n++)e="0"+e;return e}t.default=u}));
|
51
51
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/checksums.js*/
|
52
|
-
amis.define("
|
52
|
+
amis.define("335d34e",(function(e,n,t,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.mod10=function(e){for(var n=0,t=0;t<e.length;t++){var r=parseInt(e[t]);(t+e.length)%2==0?n+=r:n+=2*r%10+Math.floor(2*r/10)}return(10-n%10)%10},n.mod11=function(e){for(var n=0,t=[2,3,4,5,6,7],r=0;r<e.length;r++){var o=parseInt(e[e.length-1-r]);n+=t[r%t.length]*o}return(11-n%11)%11}}));
|
53
53
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI10.js*/
|
54
|
-
amis.define("
|
54
|
+
amis.define("1e10b79",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=e("71b331c"),u=(r=i)&&r.__esModule?r:{default:r},c=e("335d34e");var f=function(e){function t(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,c.mod10)(e),o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(u.default);t.default=f}));
|
55
55
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI11.js*/
|
56
|
-
amis.define("
|
56
|
+
amis.define("6df6ac3",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=e("71b331c"),c=(r=i)&&r.__esModule?r:{default:r},f=e("335d34e");var u=function(e){function t(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,f.mod11)(e),o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(c.default);t.default=u}));
|
57
57
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI1010.js*/
|
58
|
-
amis.define("
|
58
|
+
amis.define("bcdaef0",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=e("71b331c"),c=(r=i)&&r.__esModule?r:{default:r},f=e("335d34e");var u=function(e){function t(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e+=(0,f.mod10)(e),e+=(0,f.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(c.default);t.default=u}));
|
59
59
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI1110.js*/
|
60
|
-
amis.define("
|
60
|
+
amis.define("c6594d4",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=e("71b331c"),c=(r=i)&&r.__esModule?r:{default:r},u=e("335d34e");var f=function(e){function t(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e+=(0,u.mod11)(e),e+=(0,u.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(c.default);t.default=f}));
|
61
61
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/index.js*/
|
62
|
-
amis.define("
|
62
|
+
amis.define("18894c0",(function(e,d,t,u){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.MSI1110=d.MSI1010=d.MSI11=d.MSI10=d.MSI=void 0;var f=c(e("71b331c")),M=c(e("1e10b79")),a=c(e("6df6ac3")),I=c(e("bcdaef0")),S=c(e("c6594d4"));function c(e){return e&&e.__esModule?e:{default:e}}d.MSI=f.default,d.MSI10=M.default,d.MSI11=a.default,d.MSI1010=I.default,d.MSI1110=S.default}));
|
63
63
|
;/*!node_modules/jsbarcode/bin/barcodes/pharmacode/index.js*/
|
64
|
-
amis.define("
|
64
|
+
amis.define("281d53d",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pharmacode=void 0;var o,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("cd9f9b5");var a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.number=parseInt(e,10),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"encode",value:function(){for(var e=this.number,t="";!isNaN(e)&&0!=e;)e%2==0?(t="11100"+t,e=(e-2)/2):(t="100"+t,e=(e-1)/2);return{data:t=t.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),t}(((o=u)&&o.__esModule?o:{default:o}).default);t.pharmacode=a}));
|
65
65
|
;/*!node_modules/jsbarcode/bin/barcodes/codabar/index.js*/
|
66
|
-
amis.define("
|
66
|
+
amis.define("79b5824",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codabar=void 0;var o,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("cd9f9b5");var u=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),0===e.search(/^[0-9\-\$\:\.\+\/]+$/)&&(e="A"+e+"A");var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.toUpperCase(),n));return r.text=r.options.text||r.text.replace(/[A-D]/g,""),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var e=[],t=this.getEncodings(),n=0;n<this.data.length;n++)e.push(t[this.data.charAt(n)]),n!==this.data.length-1&&e.push("0");return{text:this.text,data:e.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),t}(((o=i)&&o.__esModule?o:{default:o}).default);t.codabar=u}));
|
67
67
|
;/*!node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js*/
|
68
|
-
amis.define("
|
68
|
+
amis.define("4652e19",(function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericBarcode=void 0;var o,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("cd9f9b5");var c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),t}(((o=u)&&o.__esModule?o:{default:o}).default);t.GenericBarcode=c}));
|
69
69
|
;/*!node_modules/jsbarcode/bin/barcodes/index.js*/
|
70
|
-
amis.define("
|
70
|
+
amis.define("a6112c9",(function(e,E,a,c){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var C=e("b065ff9"),I=e("823a936"),d=e("4140199"),r=e("2cfc38c"),M=e("18894c0"),O=e("281d53d"),A=e("79b5824"),D=e("4652e19");E.default={CODE39:C.CODE39,CODE128:I.CODE128,CODE128A:I.CODE128A,CODE128B:I.CODE128B,CODE128C:I.CODE128C,EAN13:d.EAN13,EAN8:d.EAN8,EAN5:d.EAN5,EAN2:d.EAN2,UPC:d.UPC,UPCE:d.UPCE,ITF14:r.ITF14,ITF:r.ITF,MSI:M.MSI,MSI10:M.MSI10,MSI11:M.MSI11,MSI1010:M.MSI1010,MSI1110:M.MSI1110,pharmacode:O.pharmacode,codabar:A.codabar,GenericBarcode:D.GenericBarcode}}));
|
71
71
|
;/*!node_modules/jsbarcode/bin/help/merge.js*/
|
72
|
-
amis.define("
|
72
|
+
amis.define("055bb99",(function(e,r,t,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e};r.default=function(e,r){return a({},e,r)}}));
|
73
73
|
;/*!node_modules/jsbarcode/bin/help/linearizeEncodings.js*/
|
74
|
-
amis.define("
|
74
|
+
amis.define("7d5ee41",(function(e,t,r,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return function e(r){if(Array.isArray(r))for(var a=0;a<r.length;a++)e(r[a]);else r.text=r.text||"",r.data=r.data||"",t.push(r)}(e),t}}));
|
75
75
|
;/*!node_modules/jsbarcode/bin/help/fixOptions.js*/
|
76
|
-
amis.define("
|
76
|
+
amis.define("e6627dd",(function(i,n,r,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(i){return i.marginTop=i.marginTop||i.margin,i.marginBottom=i.marginBottom||i.margin,i.marginRight=i.marginRight||i.margin,i.marginLeft=i.marginLeft||i.margin,i}}));
|
77
77
|
;/*!node_modules/jsbarcode/bin/help/optionsFromStrings.js*/
|
78
|
-
amis.define("
|
78
|
+
amis.define("aba5323",(function(e,t,a,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in t)t.hasOwnProperty(a)&&(a=t[a],"string"==typeof e[a]&&(e[a]=parseInt(e[a],10)));"string"==typeof e.displayValue&&(e.displayValue="false"!=e.displayValue);return e}}));
|
79
79
|
;/*!node_modules/jsbarcode/bin/options/defaults.js*/
|
80
|
-
amis.define("
|
80
|
+
amis.define("47b23e3",(function(t,i,o,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};i.default=n}));
|
81
81
|
;/*!node_modules/jsbarcode/bin/help/getOptionsFromElement.js*/
|
82
|
-
amis.define("
|
82
|
+
amis.define("3276255",(function(e,t,a,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=d(e("aba5323")),o=d(e("47b23e3"));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t={};for(var a in o.default)o.default.hasOwnProperty(a)&&(e.hasAttribute("jsbarcode-"+a.toLowerCase())&&(t[a]=e.getAttribute("jsbarcode-"+a.toLowerCase())),e.hasAttribute("data-"+a.toLowerCase())&&(t[a]=e.getAttribute("data-"+a.toLowerCase())));return t.value=e.getAttribute("jsbarcode-value")||e.getAttribute("data-value"),t=(0,u.default)(t)}}));
|
83
83
|
;/*!node_modules/jsbarcode/bin/renderers/shared.js*/
|
84
|
-
amis.define("
|
84
|
+
amis.define("90ce976",(function(t,e,n,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var a,o=t("055bb99"),r=(a=o)&&a.__esModule?a:{default:a};function g(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function d(t,e,n){if(n.displayValue&&e<t){if("center"==n.textAlign)return Math.floor((t-e)/2);if("left"==n.textAlign)return 0;if("right"==n.textAlign)return Math.floor(t-e)}return 0}function u(t,e,n){var i;if(n)i=n;else{if("undefined"==typeof document)return 0;i=document.createElement("canvas").getContext("2d")}i.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=i.measureText(t);return a?a.width:0}e.getMaximumHeightOfEncodings=function(t){for(var e=0,n=0;n<t.length;n++)t[n].height>e&&(e=t[n].height);return e},e.getEncodingHeight=g,e.getBarcodePadding=d,e.calculateEncodingAttributes=function(t,e,n){for(var i=0;i<t.length;i++){var a,o=t[i],f=(0,r.default)(e,o.options);a=f.displayValue?u(o.text,f,n):0;var c=o.data.length*f.width;o.width=Math.ceil(Math.max(a,c)),o.height=g(o,f),o.barcodePadding=d(a,c,f)}},e.getTotalWidthOfEncodings=function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n].width;return e}}));
|
85
85
|
;/*!node_modules/jsbarcode/bin/renderers/canvas.js*/
|
86
|
-
amis.define("
|
86
|
+
amis.define("0d65366",(function(t,n,e,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a,s=function(){function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}}(),o=t("055bb99"),r=(a=o)&&a.__esModule?a:{default:a},h=t("90ce976");var c=function(){function t(n,e,i){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.canvas=n,this.encodings=e,this.options=i}return s(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var t=0;t<this.encodings.length;t++){var n=(0,r.default)(this.options,this.encodings[t].options);this.drawCanvasBarcode(n,this.encodings[t]),this.drawCanvasText(n,this.encodings[t]),this.moveCanvasDrawing(this.encodings[t])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var t=this.canvas.getContext("2d");t.save(),(0,h.calculateEncodingAttributes)(this.encodings,this.options,t);var n=(0,h.getTotalWidthOfEncodings)(this.encodings),e=(0,h.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=n+this.options.marginLeft+this.options.marginRight,this.canvas.height=e,t.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(t.fillStyle=this.options.background,t.fillRect(0,0,this.canvas.width,this.canvas.height)),t.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(t,n){var e,i=this.canvas.getContext("2d"),a=n.data;e="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,i.fillStyle=t.lineColor;for(var s=0;s<a.length;s++){var o=s*t.width+n.barcodePadding;"1"===a[s]?i.fillRect(o,e,t.width,t.height):a[s]&&i.fillRect(o,e,t.width,t.height*a[s])}}},{key:"drawCanvasText",value:function(t,n){var e,i,a=this.canvas.getContext("2d"),s=t.fontOptions+" "+t.fontSize+"px "+t.font;t.displayValue&&(i="top"==t.textPosition?t.marginTop+t.fontSize-t.textMargin:t.height+t.textMargin+t.marginTop+t.fontSize,a.font=s,"left"==t.textAlign||n.barcodePadding>0?(e=0,a.textAlign="left"):"right"==t.textAlign?(e=n.width-1,a.textAlign="right"):(e=n.width/2,a.textAlign="center"),a.fillText(n.text,e,i))}},{key:"moveCanvasDrawing",value:function(t){this.canvas.getContext("2d").translate(t.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),t}();n.default=c}));
|
87
87
|
;/*!node_modules/jsbarcode/bin/renderers/svg.js*/
|
88
|
-
amis.define("
|
88
|
+
amis.define("1fe4f33",(function(t,e,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=t("055bb99"),a=(r=o)&&r.__esModule?r:{default:r},u=t("90ce976");var h="http://www.w3.org/2000/svg",d=function(){function t(e,i,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.svg=e,this.encodings=i,this.options=n,this.document=n.xmlDocument||document}return s(t,[{key:"render",value:function(){var t=this.options.marginLeft;this.prepareSVG();for(var e=0;e<this.encodings.length;e++){var i=this.encodings[e],n=(0,a.default)(this.options,i.options),r=this.createGroup(t,n.marginTop,this.svg);this.setGroupOptions(r,n),this.drawSvgBarcode(r,n,i),this.drawSVGText(r,n,i),t+=i.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,u.calculateEncodingAttributes)(this.encodings,this.options);var t=(0,u.getTotalWidthOfEncodings)(this.encodings),e=(0,u.getMaximumHeightOfEncodings)(this.encodings),i=t+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(i,e),this.options.background&&this.drawRect(0,0,i,e,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(t,e,i){var n,r=i.data;n="top"==e.textPosition?e.fontSize+e.textMargin:0;for(var s=0,o=0,a=0;a<r.length;a++)o=a*e.width+i.barcodePadding,"1"===r[a]?s++:s>0&&(this.drawRect(o-e.width*s,n,e.width*s,e.height,t),s=0);s>0&&this.drawRect(o-e.width*(s-1),n,e.width*s,e.height,t)}},{key:"drawSVGText",value:function(t,e,i){var n,r,s=this.document.createElementNS(h,"text");e.displayValue&&(s.setAttribute("style","font:"+e.fontOptions+" "+e.fontSize+"px "+e.font),r="top"==e.textPosition?e.fontSize-e.textMargin:e.height+e.textMargin+e.fontSize,"left"==e.textAlign||i.barcodePadding>0?(n=0,s.setAttribute("text-anchor","start")):"right"==e.textAlign?(n=i.width-1,s.setAttribute("text-anchor","end")):(n=i.width/2,s.setAttribute("text-anchor","middle")),s.setAttribute("x",n),s.setAttribute("y",r),s.appendChild(this.document.createTextNode(i.text)),t.appendChild(s))}},{key:"setSvgAttributes",value:function(t,e){var i=this.svg;i.setAttribute("width",t+"px"),i.setAttribute("height",e+"px"),i.setAttribute("x","0px"),i.setAttribute("y","0px"),i.setAttribute("viewBox","0 0 "+t+" "+e),i.setAttribute("xmlns",h),i.setAttribute("version","1.1"),i.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(t,e,i){var n=this.document.createElementNS(h,"g");return n.setAttribute("transform","translate("+t+", "+e+")"),i.appendChild(n),n}},{key:"setGroupOptions",value:function(t,e){t.setAttribute("style","fill:"+e.lineColor+";")}},{key:"drawRect",value:function(t,e,i,n,r){var s=this.document.createElementNS(h,"rect");return s.setAttribute("x",t),s.setAttribute("y",e),s.setAttribute("width",i),s.setAttribute("height",n),r.appendChild(s),s}}]),t}();e.default=d}));
|
89
89
|
;/*!node_modules/jsbarcode/bin/renderers/object.js*/
|
90
|
-
amis.define("
|
90
|
+
amis.define("682c406",(function(e,n,t,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(n,t,i){return t&&e(n.prototype,t),i&&e(n,i),n}}();var r=function(){function e(n,t,i){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.object=n,this.encodings=t,this.options=i}return o(e,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),e}();n.default=r}));
|
91
91
|
;/*!node_modules/jsbarcode/bin/renderers/index.js*/
|
92
|
-
amis.define("
|
92
|
+
amis.define("1c641d9",(function(e,d,t,r){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var u=a(e("0d65366")),f=a(e("1fe4f33")),n=a(e("682c406"));function a(e){return e&&e.__esModule?e:{default:e}}d.default={CanvasRenderer:u.default,SVGRenderer:f.default,ObjectRenderer:n.default}}));
|
93
93
|
;/*!node_modules/jsbarcode/bin/exceptions/exceptions.js*/
|
94
|
-
amis.define("
|
94
|
+
amis.define("1016bf1",(function(t,e,n,o){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)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)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(t){function e(t,n){r(this,e);var o=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.name="InvalidInputException",o.symbology=t,o.input=n,o.message='"'+o.input+'" is not a valid input for '+o.symbology,o}return c(e,Error),e}(),a=function(t){function e(){r(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="InvalidElementException",t.message="Not supported type to render on",t}return c(e,Error),e}(),s=function(t){function e(){r(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="NoElementException",t.message="No element to render on.",t}return c(e,Error),e}();e.InvalidInputException=u,e.InvalidElementException=a,e.NoElementException=s}));
|
95
95
|
;/*!node_modules/jsbarcode/bin/help/getRenderProperties.js*/
|
96
|
-
amis.define("
|
96
|
+
amis.define("de65a70",(function(e,n,t,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f=d(e("3276255")),a=d(e("1c641d9")),u=e("1016bf1");function d(e){return e&&e.__esModule?e:{default:e}}function l(e){if("string"==typeof e)return function(e){var n=document.querySelectorAll(e);if(0===n.length)return;for(var t=[],r=0;r<n.length;r++)t.push(l(n[r]));return t}(e);if(Array.isArray(e)){for(var n=[],t=0;t<e.length;t++)n.push(l(e[t]));return n}if("undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLImageElement)return r=e,{element:d=document.createElement("canvas"),options:(0,f.default)(r),renderer:a.default.CanvasRenderer,afterRender:function(){r.setAttribute("src",d.toDataURL())}};if(e&&e.nodeName&&"svg"===e.nodeName.toLowerCase()||"undefined"!=typeof SVGElement&&e instanceof SVGElement)return{element:e,options:(0,f.default)(e),renderer:a.default.SVGRenderer};if("undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement)return{element:e,options:(0,f.default)(e),renderer:a.default.CanvasRenderer};if(e&&e.getContext)return{element:e,renderer:a.default.CanvasRenderer};if(e&&"object"===(void 0===e?"undefined":o(e))&&!e.nodeName)return{element:e,renderer:a.default.ObjectRenderer};throw new u.InvalidElementException;var r,d}n.default=l}));
|
97
97
|
;/*!node_modules/jsbarcode/bin/exceptions/ErrorHandler.js*/
|
98
|
-
amis.define("
|
98
|
+
amis.define("3daa235",(function(t,n,e,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}}();var r=function(){function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.api=n}return a(t,[{key:"handleCatch",value:function(t){if("InvalidInputException"!==t.name)throw t;if(this.api._options.valid===this.api._defaults.valid)throw t.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(t){try{var n=t.apply(void 0,arguments);return this.api._options.valid(!0),n}catch(t){return this.handleCatch(t),this.api}}}]),t}();n.default=r}));
|
99
99
|
;/*!node_modules/jsbarcode/bin/JsBarcode.js*/
|
100
|
-
amis.define("
|
100
|
+
amis.define("76925ea",(function(e,r,t,o){"use strict";var n=h(e("a6112c9")),i=h(e("055bb99")),a=h(e("7d5ee41")),s=h(e("e6627dd")),d=h(e("de65a70")),u=h(e("aba5323")),f=h(e("3daa235")),p=e("1016bf1"),l=h(e("47b23e3"));function h(e){return e&&e.__esModule?e:{default:e}}var c=function(){},_=function(e,r,t){var o=new c;if(void 0===e)throw Error("No element to render on was provided.");return o._renderProperties=(0,d.default)(e),o._encodings=[],o._options=l.default,o._errorHandler=new f.default(o),void 0!==r&&((t=t||{}).format||(t.format=P()),o.options(t)[t.format](r,t).render()),o};for(var v in _.getModule=function(e){return n.default[e]},n.default)n.default.hasOwnProperty(v)&&y(n.default,v);function y(e,r){c.prototype[r]=c.prototype[r.toUpperCase()]=c.prototype[r.toLowerCase()]=function(t,o){var n=this;return n._errorHandler.wrapBarcodeCall((function(){o.text=void 0===o.text?void 0:""+o.text;var a=(0,i.default)(n._options,o);a=(0,u.default)(a);var s=e[r],d=w(t,s,a);return n._encodings.push(d),n}))}}function w(e,r,t){var o=new r(e=""+e,t);if(!o.valid())throw new p.InvalidInputException(o.constructor.name,e);var n=o.encode();n=(0,a.default)(n);for(var s=0;s<n.length;s++)n[s].options=(0,i.default)(t,n[s].options);return n}function P(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}function m(e,r,t){r=(0,a.default)(r);for(var o=0;o<r.length;o++)r[o].options=(0,i.default)(t,r[o].options),(0,s.default)(r[o].options);(0,s.default)(t),new(0,e.renderer)(e.element,r,t).render(),e.afterRender&&e.afterRender()}c.prototype.options=function(e){return this._options=(0,i.default)(this._options,e),this},c.prototype.blank=function(e){var r=new Array(e+1).join("0");return this._encodings.push({data:r}),this},c.prototype.init=function(){var e;if(this._renderProperties)for(var r in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){e=this._renderProperties[r];var t=(0,i.default)(this._options,e.options);"auto"==t.format&&(t.format=P()),this._errorHandler.wrapBarcodeCall((function(){var r=w(t.value,n.default[t.format.toUpperCase()],t);m(e,r,t)}))}},c.prototype.render=function(){if(!this._renderProperties)throw new p.NoElementException;if(Array.isArray(this._renderProperties))for(var e=0;e<this._renderProperties.length;e++)m(this._renderProperties[e],this._encodings,this._options);else m(this._renderProperties,this._encodings,this._options);return this},c.prototype._defaults=l.default,"undefined"!=typeof window&&(window.JsBarcode=_),"undefined"!=typeof jQuery&&(jQuery.fn.JsBarcode=function(e,r){var t=[];return jQuery(this).each((function(){t.push(this)})),_(t,e,r)}),t.exports=_}));
|