amis 6.9.0-rc.7 → 6.9.0-rc.8
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/compat.js +2 -2
- package/esm/index.js +2 -2
- package/esm/minimal.js +2 -2
- package/esm/preset.js +2 -2
- package/esm/renderers/AMIS.js +2 -2
- package/esm/renderers/Action.js +2 -2
- package/esm/renderers/Alert.js +2 -2
- package/esm/renderers/AnchorNav.js +2 -2
- package/esm/renderers/App.js +2 -2
- package/esm/renderers/Audio.js +2 -2
- package/esm/renderers/Avatar.js +2 -2
- package/esm/renderers/BarCode.js +2 -2
- package/esm/renderers/Breadcrumb.js +2 -2
- package/esm/renderers/ButtonGroup.js +2 -2
- package/esm/renderers/CRUD.js +2 -2
- package/esm/renderers/CRUD2.js +2 -2
- package/esm/renderers/Calendar.js +2 -2
- package/esm/renderers/Card.js +2 -2
- package/esm/renderers/Card2.js +2 -2
- package/esm/renderers/Cards.js +2 -2
- package/esm/renderers/Carousel.js +2 -2
- package/esm/renderers/Chart.js +2 -2
- package/esm/renderers/Code.js +2 -2
- package/esm/renderers/Collapse.js +2 -2
- package/esm/renderers/CollapseGroup.js +2 -2
- package/esm/renderers/Color.js +2 -2
- package/esm/renderers/Container.js +2 -2
- package/esm/renderers/Copyable.js +2 -2
- package/esm/renderers/Custom.js +2 -2
- package/esm/renderers/Date.js +2 -2
- package/esm/renderers/DateRange.js +2 -2
- package/esm/renderers/Dialog.d.ts +80 -80
- package/esm/renderers/Dialog.js +2 -2
- package/esm/renderers/Divider.js +2 -2
- package/esm/renderers/Drawer.js +2 -2
- package/esm/renderers/DropDownButton.js +2 -2
- package/esm/renderers/Each.js +2 -2
- package/esm/renderers/Flex.js +2 -2
- package/esm/renderers/Form/ButtonGroupSelect.js +2 -2
- package/esm/renderers/Form/ButtonToolbar.js +2 -2
- package/esm/renderers/Form/ChainedSelect.js +2 -2
- package/esm/renderers/Form/ChartRadios.js +2 -2
- package/esm/renderers/Form/Checkbox.js +2 -2
- package/esm/renderers/Form/Checkboxes.js +2 -2
- package/esm/renderers/Form/Combo.js +2 -2
- package/esm/renderers/Form/ConditionBuilder.js +2 -2
- package/esm/renderers/Form/Control.js +2 -2
- package/esm/renderers/Form/DiffEditor.js +2 -2
- package/esm/renderers/Form/Editor.js +2 -2
- package/esm/renderers/Form/FieldSet.js +2 -2
- package/esm/renderers/Form/Formula.js +2 -2
- package/esm/renderers/Form/Group.js +2 -2
- package/esm/renderers/Form/Hidden.js +2 -2
- package/esm/renderers/Form/IconPicker.js +2 -2
- package/esm/renderers/Form/IconPickerIcons.js +2 -2
- package/esm/renderers/Form/IconSelect.js +2 -2
- package/esm/renderers/Form/IconSelectStore.js +2 -2
- package/esm/renderers/Form/InputArray.js +2 -2
- package/esm/renderers/Form/InputCity.js +2 -2
- package/esm/renderers/Form/InputColor.d.ts +40 -40
- package/esm/renderers/Form/InputColor.js +2 -2
- package/esm/renderers/Form/InputDate.js +2 -2
- package/esm/renderers/Form/InputDateRange.js +2 -2
- package/esm/renderers/Form/InputExcel.js +2 -2
- package/esm/renderers/Form/InputFile.js +2 -2
- package/esm/renderers/Form/InputFormula.js +2 -2
- package/esm/renderers/Form/InputGroup.js +2 -2
- package/esm/renderers/Form/InputImage.js +2 -2
- package/esm/renderers/Form/InputMonthRange.js +2 -2
- package/esm/renderers/Form/InputNumber.js +2 -2
- package/esm/renderers/Form/InputQuarterRange.js +2 -2
- package/esm/renderers/Form/InputRange.js +2 -2
- package/esm/renderers/Form/InputRating.js +2 -2
- package/esm/renderers/Form/InputRepeat.js +2 -2
- package/esm/renderers/Form/InputRichText.js +2 -2
- package/esm/renderers/Form/InputSignature.js +2 -2
- package/esm/renderers/Form/InputSubForm.js +2 -2
- package/esm/renderers/Form/InputTable.js +2 -2
- package/esm/renderers/Form/InputTag.js +2 -2
- package/esm/renderers/Form/InputText.js +2 -2
- package/esm/renderers/Form/InputTree.js +2 -2
- package/esm/renderers/Form/InputVerificationCode.js +2 -2
- package/esm/renderers/Form/InputYearRange.js +2 -2
- package/esm/renderers/Form/JSONSchema.js +2 -2
- package/esm/renderers/Form/JSONSchemaEditor.js +2 -2
- package/esm/renderers/Form/ListSelect.js +2 -2
- package/esm/renderers/Form/LocationPicker.js +2 -2
- package/esm/renderers/Form/MatrixCheckboxes.js +2 -2
- package/esm/renderers/Form/NestedSelect.js +2 -2
- package/esm/renderers/Form/Picker.js +2 -2
- package/esm/renderers/Form/Radio.js +2 -2
- package/esm/renderers/Form/Radios.js +2 -2
- package/esm/renderers/Form/Select.js +2 -2
- package/esm/renderers/Form/Static.js +2 -2
- package/esm/renderers/Form/StaticHoc.js +2 -2
- package/esm/renderers/Form/Switch.js +2 -2
- package/esm/renderers/Form/TabsTransfer.js +2 -2
- package/esm/renderers/Form/TabsTransferPicker.js +2 -2
- package/esm/renderers/Form/Textarea.js +2 -2
- package/esm/renderers/Form/Transfer.js +2 -2
- package/esm/renderers/Form/TransferPicker.js +2 -2
- package/esm/renderers/Form/TreeSelect.js +2 -2
- package/esm/renderers/Form/UUID.js +2 -2
- package/esm/renderers/Form/UserSelect.js +2 -2
- package/esm/renderers/Grid.js +2 -2
- package/esm/renderers/Grid2D.js +2 -2
- package/esm/renderers/GridNav.js +2 -2
- package/esm/renderers/HBox.js +2 -2
- package/esm/renderers/IFrame.js +2 -2
- package/esm/renderers/Icon.js +2 -2
- package/esm/renderers/Image.js +2 -2
- package/esm/renderers/Images.js +2 -2
- package/esm/renderers/Json.js +2 -2
- package/esm/renderers/Link.js +2 -2
- package/esm/renderers/List.js +2 -2
- package/esm/renderers/Log.js +2 -2
- package/esm/renderers/Mapping.js +2 -2
- package/esm/renderers/Markdown.js +2 -2
- package/esm/renderers/MultilineText.js +2 -2
- package/esm/renderers/Nav.d.ts +7 -2
- package/esm/renderers/Nav.js +2 -2
- package/esm/renderers/Number.js +2 -2
- package/esm/renderers/OfficeViewer.js +2 -2
- package/esm/renderers/Operation.js +2 -2
- package/esm/renderers/Page.js +2 -2
- package/esm/renderers/Pagination.js +2 -2
- package/esm/renderers/PaginationWrapper.js +2 -2
- package/esm/renderers/Panel.js +2 -2
- package/esm/renderers/Password.js +2 -2
- package/esm/renderers/PdfViewer.js +2 -2
- package/esm/renderers/Plain.js +2 -2
- package/esm/renderers/PopOver.js +2 -2
- package/esm/renderers/Portlet.js +2 -2
- package/esm/renderers/Progress.js +2 -2
- package/esm/renderers/Property.js +2 -2
- package/esm/renderers/QRCode.js +2 -2
- package/esm/renderers/QuickEdit.js +2 -2
- package/esm/renderers/Remark.js +2 -2
- package/esm/renderers/SearchBox.js +2 -2
- package/esm/renderers/Service.js +2 -2
- package/esm/renderers/SparkLine.js +2 -2
- package/esm/renderers/Spinner.js +2 -2
- package/esm/renderers/Status.js +2 -2
- package/esm/renderers/Steps.js +2 -2
- package/esm/renderers/SwitchContainer.js +2 -2
- package/esm/renderers/Table/AutoFilterForm.js +2 -2
- package/esm/renderers/Table/Cell.js +2 -2
- package/esm/renderers/Table/ColGroup.js +2 -2
- package/esm/renderers/Table/ColumnToggler.js +2 -2
- package/esm/renderers/Table/HeadCellFilterDropdown.js +2 -2
- package/esm/renderers/Table/HeadCellSearchDropdown.js +2 -2
- package/esm/renderers/Table/ItemActionsWrapper.js +2 -2
- package/esm/renderers/Table/TableBody.js +2 -2
- package/esm/renderers/Table/TableCell.js +2 -2
- package/esm/renderers/Table/TableContent.js +2 -2
- package/esm/renderers/Table/TableRow.js +2 -2
- package/esm/renderers/Table/exportExcel.js +2 -2
- package/esm/renderers/Table/index.d.ts +30 -11
- package/esm/renderers/Table/index.js +7 -3
- package/esm/renderers/Table2/ColumnToggler.js +2 -2
- package/esm/renderers/Table2/HeadCellSearchDropdown.js +2 -2
- package/esm/renderers/Table2/TableCell.js +2 -2
- package/esm/renderers/Table2/index.js +2 -2
- package/esm/renderers/TableView.js +2 -2
- package/esm/renderers/Tabs.js +2 -2
- package/esm/renderers/Tag.js +2 -2
- package/esm/renderers/Tasks.js +2 -2
- package/esm/renderers/Timeline.js +2 -2
- package/esm/renderers/TooltipWrapper.js +2 -2
- package/esm/renderers/Tpl.js +2 -2
- package/esm/renderers/VBox.js +2 -2
- package/esm/renderers/Video.js +2 -2
- package/esm/renderers/WebComponent.js +2 -2
- package/esm/renderers/Wizard.js +2 -2
- package/esm/renderers/Words.js +2 -2
- package/esm/renderers/Wrapper.js +2 -2
- package/esm/schemaExtend.js +2 -2
- package/lib/compat.js +2 -2
- package/lib/index.js +2 -2
- package/lib/minimal.js +2 -2
- package/lib/preset.js +2 -2
- package/lib/renderers/AMIS.js +2 -2
- package/lib/renderers/Action.js +2 -2
- package/lib/renderers/Alert.js +2 -2
- package/lib/renderers/AnchorNav.js +2 -2
- package/lib/renderers/App.js +2 -2
- package/lib/renderers/Audio.js +2 -2
- package/lib/renderers/Avatar.js +2 -2
- package/lib/renderers/BarCode.js +2 -2
- package/lib/renderers/Breadcrumb.js +2 -2
- package/lib/renderers/ButtonGroup.js +2 -2
- package/lib/renderers/CRUD.d.ts +3 -3
- package/lib/renderers/CRUD.js +2 -2
- package/lib/renderers/CRUD2.js +2 -2
- package/lib/renderers/Calendar.js +2 -2
- package/lib/renderers/Card.d.ts +1 -1
- package/lib/renderers/Card.js +2 -2
- package/lib/renderers/Card2.js +2 -2
- package/lib/renderers/Cards.js +2 -2
- package/lib/renderers/Carousel.js +2 -2
- package/lib/renderers/Chart.js +2 -2
- package/lib/renderers/Code.js +2 -2
- package/lib/renderers/Collapse.js +2 -2
- package/lib/renderers/CollapseGroup.js +2 -2
- package/lib/renderers/Color.js +2 -2
- package/lib/renderers/Container.d.ts +1 -1
- package/lib/renderers/Container.js +2 -2
- package/lib/renderers/Copyable.js +2 -2
- package/lib/renderers/Custom.js +2 -2
- package/lib/renderers/Date.js +2 -2
- package/lib/renderers/DateRange.js +2 -2
- package/lib/renderers/Dialog.d.ts +121 -120
- package/lib/renderers/Dialog.js +2 -2
- package/lib/renderers/Divider.js +2 -2
- package/lib/renderers/Drawer.js +2 -2
- package/lib/renderers/DropDownButton.js +2 -2
- package/lib/renderers/Each.js +2 -2
- package/lib/renderers/Flex.js +2 -2
- package/lib/renderers/Form/ButtonGroupSelect.js +2 -2
- package/lib/renderers/Form/ButtonToolbar.js +2 -2
- package/lib/renderers/Form/ChainedSelect.js +2 -2
- package/lib/renderers/Form/ChartRadios.js +2 -2
- package/lib/renderers/Form/Checkbox.js +2 -2
- package/lib/renderers/Form/Checkboxes.js +2 -2
- package/lib/renderers/Form/Combo.d.ts +3 -3
- package/lib/renderers/Form/Combo.js +2 -2
- package/lib/renderers/Form/ConditionBuilder.js +2 -2
- package/lib/renderers/Form/Control.js +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +53 -52
- package/lib/renderers/Form/DiffEditor.js +2 -2
- package/lib/renderers/Form/Editor.d.ts +26 -25
- package/lib/renderers/Form/Editor.js +2 -2
- package/lib/renderers/Form/FieldSet.js +2 -2
- package/lib/renderers/Form/Formula.js +2 -2
- package/lib/renderers/Form/Group.js +2 -2
- package/lib/renderers/Form/Hidden.js +2 -2
- package/lib/renderers/Form/IconPicker.js +2 -2
- package/lib/renderers/Form/IconPickerIcons.js +2 -2
- package/lib/renderers/Form/IconSelect.js +2 -2
- package/lib/renderers/Form/IconSelectStore.js +2 -2
- package/lib/renderers/Form/InputArray.js +2 -2
- package/lib/renderers/Form/InputCity.d.ts +80 -80
- package/lib/renderers/Form/InputCity.js +2 -2
- package/lib/renderers/Form/InputColor.d.ts +80 -80
- package/lib/renderers/Form/InputColor.js +2 -2
- package/lib/renderers/Form/InputDate.js +2 -2
- package/lib/renderers/Form/InputDateRange.js +2 -2
- package/lib/renderers/Form/InputExcel.js +2 -2
- package/lib/renderers/Form/InputFile.js +2 -2
- package/lib/renderers/Form/InputFormula.js +2 -2
- package/lib/renderers/Form/InputGroup.js +2 -2
- package/lib/renderers/Form/InputImage.js +2 -2
- package/lib/renderers/Form/InputMonthRange.js +2 -2
- package/lib/renderers/Form/InputNumber.js +2 -2
- package/lib/renderers/Form/InputQuarterRange.js +2 -2
- package/lib/renderers/Form/InputRange.js +2 -2
- package/lib/renderers/Form/InputRating.js +2 -2
- package/lib/renderers/Form/InputRepeat.js +2 -2
- package/lib/renderers/Form/InputRichText.js +2 -2
- package/lib/renderers/Form/InputSignature.js +2 -2
- package/lib/renderers/Form/InputSubForm.js +2 -2
- package/lib/renderers/Form/InputTable.js +2 -2
- package/lib/renderers/Form/InputTag.js +2 -2
- package/lib/renderers/Form/InputText.d.ts +1 -1
- package/lib/renderers/Form/InputText.js +2 -2
- package/lib/renderers/Form/InputTree.js +2 -2
- package/lib/renderers/Form/InputVerificationCode.js +2 -2
- package/lib/renderers/Form/InputYearRange.js +2 -2
- package/lib/renderers/Form/JSONSchema.js +2 -2
- package/lib/renderers/Form/JSONSchemaEditor.js +2 -2
- package/lib/renderers/Form/ListSelect.js +2 -2
- package/lib/renderers/Form/LocationPicker.js +2 -2
- package/lib/renderers/Form/MatrixCheckboxes.js +2 -2
- package/lib/renderers/Form/NestedSelect.js +2 -2
- package/lib/renderers/Form/Picker.js +2 -2
- package/lib/renderers/Form/Radio.js +2 -2
- package/lib/renderers/Form/Radios.js +2 -2
- package/lib/renderers/Form/Select.js +2 -2
- package/lib/renderers/Form/Static.d.ts +1 -1
- package/lib/renderers/Form/Static.js +2 -2
- package/lib/renderers/Form/StaticHoc.js +2 -2
- package/lib/renderers/Form/Switch.js +2 -2
- package/lib/renderers/Form/TabsTransfer.d.ts +1 -1
- package/lib/renderers/Form/TabsTransfer.js +2 -2
- package/lib/renderers/Form/TabsTransferPicker.d.ts +1 -1
- package/lib/renderers/Form/TabsTransferPicker.js +2 -2
- package/lib/renderers/Form/Textarea.js +2 -2
- package/lib/renderers/Form/Transfer.js +2 -2
- package/lib/renderers/Form/TransferPicker.js +2 -2
- package/lib/renderers/Form/TreeSelect.js +2 -2
- package/lib/renderers/Form/UUID.js +2 -2
- package/lib/renderers/Form/UserSelect.js +2 -2
- package/lib/renderers/Grid.js +2 -2
- package/lib/renderers/Grid2D.js +2 -2
- package/lib/renderers/GridNav.js +2 -2
- package/lib/renderers/HBox.js +2 -2
- package/lib/renderers/IFrame.js +2 -2
- package/lib/renderers/Icon.js +2 -2
- package/lib/renderers/Image.js +2 -2
- package/lib/renderers/Images.js +2 -2
- package/lib/renderers/Json.js +2 -2
- package/lib/renderers/Link.js +2 -2
- package/lib/renderers/List.d.ts +1 -1
- package/lib/renderers/List.js +2 -2
- package/lib/renderers/Log.js +2 -2
- package/lib/renderers/Mapping.js +2 -2
- package/lib/renderers/Markdown.js +2 -2
- package/lib/renderers/MultilineText.js +2 -2
- package/lib/renderers/Nav.d.ts +7 -2
- package/lib/renderers/Nav.js +2 -2
- package/lib/renderers/Number.js +2 -2
- package/lib/renderers/OfficeViewer.js +2 -2
- package/lib/renderers/Operation.js +2 -2
- package/lib/renderers/Page.js +2 -2
- package/lib/renderers/Pagination.js +2 -2
- package/lib/renderers/PaginationWrapper.js +2 -2
- package/lib/renderers/Panel.js +2 -2
- package/lib/renderers/Password.js +2 -2
- package/lib/renderers/PdfViewer.js +2 -2
- package/lib/renderers/Plain.js +2 -2
- package/lib/renderers/PopOver.js +2 -2
- package/lib/renderers/Portlet.js +2 -2
- package/lib/renderers/Progress.js +2 -2
- package/lib/renderers/Property.js +2 -2
- package/lib/renderers/QRCode.js +2 -2
- package/lib/renderers/QuickEdit.js +2 -2
- package/lib/renderers/Remark.d.ts +1 -1
- package/lib/renderers/Remark.js +2 -2
- package/lib/renderers/SearchBox.js +2 -2
- package/lib/renderers/Service.js +2 -2
- package/lib/renderers/SparkLine.js +2 -2
- package/lib/renderers/Spinner.js +2 -2
- package/lib/renderers/Status.js +2 -2
- package/lib/renderers/Steps.js +2 -2
- package/lib/renderers/SwitchContainer.js +2 -2
- package/lib/renderers/Table/AutoFilterForm.js +2 -2
- package/lib/renderers/Table/Cell.d.ts +1 -1
- package/lib/renderers/Table/Cell.js +2 -2
- package/lib/renderers/Table/ColGroup.js +2 -2
- package/lib/renderers/Table/ColumnToggler.js +2 -2
- package/lib/renderers/Table/HeadCellFilterDropdown.js +2 -2
- package/lib/renderers/Table/HeadCellSearchDropdown.js +2 -2
- package/lib/renderers/Table/ItemActionsWrapper.js +2 -2
- package/lib/renderers/Table/TableBody.js +2 -2
- package/lib/renderers/Table/TableCell.d.ts +1 -1
- package/lib/renderers/Table/TableCell.js +2 -2
- package/lib/renderers/Table/TableContent.js +2 -2
- package/lib/renderers/Table/TableRow.js +2 -2
- package/lib/renderers/Table/exportExcel.js +2 -2
- package/lib/renderers/Table/index.d.ts +31 -12
- package/lib/renderers/Table/index.js +4 -2
- package/lib/renderers/Table2/ColumnToggler.js +2 -2
- package/lib/renderers/Table2/HeadCellSearchDropdown.js +2 -2
- package/lib/renderers/Table2/TableCell.js +2 -2
- package/lib/renderers/Table2/index.js +2 -2
- package/lib/renderers/TableView.js +2 -2
- package/lib/renderers/Tabs.js +2 -2
- package/lib/renderers/Tag.js +2 -2
- package/lib/renderers/Tasks.js +2 -2
- package/lib/renderers/Timeline.js +2 -2
- package/lib/renderers/TooltipWrapper.js +2 -2
- package/lib/renderers/Tpl.js +2 -2
- package/lib/renderers/VBox.js +2 -2
- package/lib/renderers/Video.js +2 -2
- package/lib/renderers/WebComponent.js +2 -2
- package/lib/renderers/Wizard.js +2 -2
- package/lib/renderers/Words.js +2 -2
- package/lib/renderers/Wrapper.d.ts +1 -1
- package/lib/renderers/Wrapper.js +2 -2
- package/lib/schemaExtend.js +2 -2
- package/package.json +5 -4
- package/revision.json +4 -4
- package/sdk/barcode.js +50 -50
- package/sdk/charts.js +17 -17
- package/sdk/codemirror.js +8 -8
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- 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 +408 -408
- package/sdk/papaparse.js +1 -1
- package/sdk/pdf-viewer.js +28 -28
- package/sdk/rest.js +557 -557
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk.js +1096 -1094
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/thirds/pdfjs-dist/build/pdf.js +1 -1
- package/sdk/tinymce.js +58 -58
- package/sdk/xlsx.js +3 -3
package/lib/renderers/Wizard.js
CHANGED
package/lib/renderers/Words.js
CHANGED
@@ -30,7 +30,7 @@ export default class Wrapper extends React.Component<WrapperProps, object> {
|
|
30
30
|
static propsList: Array<string>;
|
31
31
|
static defaultProps: Partial<WrapperProps>;
|
32
32
|
renderBody(): JSX.Element | null;
|
33
|
-
render(): JSX.Element | null;
|
33
|
+
render(): React.JSX.Element | null;
|
34
34
|
}
|
35
35
|
export declare class WrapperRenderer extends Wrapper {
|
36
36
|
}
|
package/lib/renderers/Wrapper.js
CHANGED
package/lib/schemaExtend.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "amis",
|
3
|
-
"version": "6.9.0-rc.
|
3
|
+
"version": "6.9.0-rc.8",
|
4
4
|
"description": "一种MIS页面生成工具",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "esm/index.js",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"coverage": "jest --coverage",
|
12
12
|
"publish-to-internal": "sh build.sh && sh publish.sh",
|
13
13
|
"build": "npm run clean-dist && sh build.sh",
|
14
|
-
"build-esm": "npm run clean-dist && NODE_ENV=production rollup -c rollup.esm.config.js",
|
14
|
+
"build-esm": "npm run clean-dist && cross-env NODE_ENV=production rollup -c rollup.esm.config.js",
|
15
15
|
"prettier": "prettier --write '{src,scss,examples}/**/**/*.{js,jsx,ts,tsx,scss,json}'",
|
16
16
|
"build-schemas": "ts-node -O '{\"target\":\"es6\"}' ../../scripts/build-schemas.ts",
|
17
17
|
"clean-dist": "rimraf lib/** esm/**"
|
@@ -37,8 +37,8 @@
|
|
37
37
|
}
|
38
38
|
],
|
39
39
|
"dependencies": {
|
40
|
-
"amis-core": "^6.9.0-rc.
|
41
|
-
"amis-ui": "^6.9.0-rc.
|
40
|
+
"amis-core": "^6.9.0-rc.8",
|
41
|
+
"amis-ui": "^6.9.0-rc.8",
|
42
42
|
"attr-accept": "2.2.2",
|
43
43
|
"blueimp-canvastoblob": "2.1.0",
|
44
44
|
"classnames": "2.3.2",
|
@@ -115,6 +115,7 @@
|
|
115
115
|
"concurrently": "^7.3.0",
|
116
116
|
"copy-to-clipboard": "3.3.1",
|
117
117
|
"core-js": "^3.21.0",
|
118
|
+
"cross-env": "^7.0.3",
|
118
119
|
"css": "3.0.0",
|
119
120
|
"fs-walk": "0.0.2",
|
120
121
|
"glob": "^7.2.0",
|
package/revision.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"branch": "feat-x",
|
3
|
-
"SHA1": "
|
4
|
-
"message": "
|
5
|
-
"author": "
|
6
|
-
"date": "2024-10-
|
3
|
+
"SHA1": "09bdb7f2e",
|
4
|
+
"message": "chore: checkboxes radios 选项 children 必须是数组且有长度才切到分组展示",
|
5
|
+
"author": "2betop",
|
6
|
+
"date": "2024-10-25 16:15:26"
|
7
7
|
}
|
package/sdk/barcode.js
CHANGED
@@ -1,100 +1,100 @@
|
|
1
1
|
;/*!node_modules/jsbarcode/bin/barcodes/Barcode.js*/
|
2
|
-
amis.define("
|
2
|
+
amis.define("0de04ac",(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("766b6fa",(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("0de04ac");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("9a46a9e",(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,a=r.SET_C=2,i=(r.SHIFT=98,r.START_A=103),t=r.START_B=104,R=r.START_C=105;r.MODULO=103,r.STOP=106,r.FNC1=207,r.SET_BY_CODE=(C(A={},i,T),C(A,t,n),C(A,R,a),A),r.SWAP={101:T,100:n,99:a},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("e5a0dbb",(function(e,t,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,a=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}}(),i=e("0de04ac"),u=(o=i)&&o.__esModule?o:{default:o},s=e("9a46a9e");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),a(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,a=void 0;if(e[0]>=200){a=e.shift()-105;var i=s.SWAP[a];void 0!==i?o=t.next(e,r+1,i):(n!==s.SET_A&&n!==s.SET_B||a!==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 a=t.correctIndex(e,n),o=t.next(e,r+1,n);var u=a*r;return{result:t.getBar(a)+o.result,checksum:u+o.checksum}}}]),t}(u.default);t.default=c}));
|
9
9
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/auto.js*/
|
10
|
-
amis.define("
|
10
|
+
amis.define("f13d976",(function(e,n,r,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var u=e("9a46a9e"),i=function(e){return e.match(new RegExp("^"+u.A_CHARS+"*"))[0].length},a=function(e){return e.match(new RegExp("^"+u.B_CHARS+"*"))[0].length},C=function(e){return e.match(new RegExp("^"+u.C_CHARS+"*"))[0]};function g(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)+f(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)+g(e.substring(i.length),!n)}function f(e){var n=C(e),r=n.length;if(r===e.length)return e;e=e.substring(r);var t=i(e)>=a(e);return n+String.fromCharCode(t?206:205)+g(e,t)}n.default=function(e){var n=void 0;if(C(e).length>=2)n=u.C_START_CHAR+f(e);else{var r=i(e)>a(e);n=(r?u.A_START_CHAR:u.B_START_CHAR)+g(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("cbfec26",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(e("e5a0dbb")),f=i(e("f13d976"));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("62f4047",(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("e5a0dbb"),a=(o=i)&&o.__esModule?o:{default:o},f=e("9a46a9e");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.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("^"+f.A_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=c}));
|
15
15
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/CODE128B.js*/
|
16
|
-
amis.define("
|
16
|
+
amis.define("7fd54bb",(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("e5a0dbb"),a=(o=i)&&o.__esModule?o:{default:o},f=e("9a46a9e");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("685e586",(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("e5a0dbb"),a=(o=i)&&o.__esModule?o:{default:o},f=e("9a46a9e");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.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("^"+f.C_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=c}));
|
19
19
|
;/*!node_modules/jsbarcode/bin/barcodes/CODE128/index.js*/
|
20
|
-
amis.define("
|
20
|
+
amis.define("a1f830f",(function(e,f,t,u){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CODE128C=f.CODE128B=f.CODE128A=f.CODE128=void 0;var d=l(e("cbfec26")),C=l(e("62f4047")),a=l(e("7fd54bb")),O=l(e("685e586"));function l(e){return e&&e.__esModule?e:{default:e}}f.CODE128=d.default,f.CODE128A=C.default,f.CODE128B=a.default,f.CODE128C=O.default}));
|
21
21
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js*/
|
22
|
-
amis.define("
|
22
|
+
amis.define("de4bd79",(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("f4748b7",(function(n,e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=n("de4bd79");e.default=function(n,e,t){var r=n.split("").map((function(n,t){return u.BINARIES[e[t]]})).map((function(e,t){return e?e[n[t]]:""}));if(t){var i=n.length-1;r=r.map((function(n,e){return e<i?n+t:n}))}return r.join("")}}));
|
25
25
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN.js*/
|
26
|
-
amis.define("
|
26
|
+
amis.define("c79fb9c",(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("de4bd79"),u=a(t("f4748b7"));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("0de04ac")).default);e.default=f}));
|
27
27
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN13.js*/
|
28
|
-
amis.define("
|
28
|
+
amis.define("e3511f8",(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("de4bd79"),s=t("c79fb9c"),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("5c59a64",(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("c79fb9c"),c=(n=a)&&n.__esModule?n:{default:n};var f=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},l=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+=f(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]===f(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=l}));
|
31
31
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/EAN5.js*/
|
32
|
-
amis.define("
|
32
|
+
amis.define("b5bd06f",(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("de4bd79"),a=f(e("f4748b7")),i=f(e("0de04ac"));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("2c8bac3",(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("de4bd79"),u=i(e("f4748b7"));function i(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]{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("0de04ac")).default);t.default=c}));
|
35
35
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/UPC.js*/
|
36
|
-
amis.define("
|
36
|
+
amis.define("6002dc0",(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("f4748b7"));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("0de04ac")).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("9e10310",(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("f4748b7")),u=s(t("0de04ac")),a=t("6002dc0");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"]],c=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=f(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=f(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 f(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=c}));
|
39
39
|
;/*!node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js*/
|
40
|
-
amis.define("
|
40
|
+
amis.define("05e3811",(function(e,d,t,u){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.UPCE=d.UPC=d.EAN2=d.EAN5=d.EAN8=d.EAN13=void 0;var f=N(e("e3511f8")),a=N(e("5c59a64")),l=N(e("b5bd06f")),E=N(e("2c8bac3")),c=N(e("6002dc0")),A=N(e("9e10310"));function N(e){return e&&e.__esModule?e:{default:e}}d.EAN13=f.default,d.EAN8=a.default,d.EAN5=l.default,d.EAN2=E.default,d.UPC=c.default,d.UPCE=A.default}));
|
41
41
|
;/*!node_modules/jsbarcode/bin/barcodes/ITF/constants.js*/
|
42
|
-
amis.define("
|
42
|
+
amis.define("3568e13",(function(e,i,t,n){"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("8aecc2b",(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("3568e13"),u=e("0de04ac");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),a(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:i.START_BIN+t+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(e){var t=i.BINARIES[e[1]];return i.BINARIES[e[0]].split("").map((function(e,n){return("1"===e?"111":"1")+("1"===t[n]?"000":"0")})).join("")}}]),t}(((o=u)&&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("f42171e",(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("8aecc2b"),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("999725a",(function(e,t,u,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ITF14=t.ITF=void 0;var d=i(e("8aecc2b")),f=i(e("f42171e"));function i(e){return e&&e.__esModule?e:{default:e}}t.ITF=d.default,t.ITF14=f.default}));
|
49
49
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI.js*/
|
50
|
-
amis.define("
|
50
|
+
amis.define("aaa1fb7",(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("0de04ac");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("f9165bd",(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("ee256a9",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,f=e("aaa1fb7"),i=(r=f)&&r.__esModule?r:{default:r},a=e("f9165bd");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,a.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}(i.default);t.default=u}));
|
55
55
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI11.js*/
|
56
|
-
amis.define("
|
56
|
+
amis.define("aeb79bd",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,f=e("aaa1fb7"),i=(r=f)&&r.__esModule?r:{default:r},a=e("f9165bd");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,a.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}(i.default);t.default=u}));
|
57
57
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI1010.js*/
|
58
|
-
amis.define("
|
58
|
+
amis.define("c9ab868",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,f=e("aaa1fb7"),i=(r=f)&&r.__esModule?r:{default:r},a=e("f9165bd");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,a.mod10)(e),e+=(0,a.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}(i.default);t.default=u}));
|
59
59
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/MSI1110.js*/
|
60
|
-
amis.define("
|
60
|
+
amis.define("0bfc360",(function(e,t,o,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,f=e("aaa1fb7"),i=(r=f)&&r.__esModule?r:{default:r},u=e("f9165bd");var a=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}(i.default);t.default=a}));
|
61
61
|
;/*!node_modules/jsbarcode/bin/barcodes/MSI/index.js*/
|
62
|
-
amis.define("
|
62
|
+
amis.define("e36e4b0",(function(e,a,t,u){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.MSI1110=a.MSI1010=a.MSI11=a.MSI10=a.MSI=void 0;var d=l(e("aaa1fb7")),f=l(e("ee256a9")),M=l(e("aeb79bd")),I=l(e("c9ab868")),S=l(e("0bfc360"));function l(e){return e&&e.__esModule?e:{default:e}}a.MSI=d.default,a.MSI10=f.default,a.MSI11=M.default,a.MSI1010=I.default,a.MSI1110=S.default}));
|
63
63
|
;/*!node_modules/jsbarcode/bin/barcodes/pharmacode/index.js*/
|
64
|
-
amis.define("
|
64
|
+
amis.define("8f21d70",(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("0de04ac");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("0e2b168",(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("0de04ac");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("ff0c577",(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("0de04ac");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("5cca037",(function(e,E,a,C){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var c=e("766b6fa"),I=e("a1f830f"),r=e("05e3811"),d=e("999725a"),M=e("e36e4b0"),O=e("8f21d70"),f=e("0e2b168"),A=e("ff0c577");E.default={CODE39:c.CODE39,CODE128:I.CODE128,CODE128A:I.CODE128A,CODE128B:I.CODE128B,CODE128C:I.CODE128C,EAN13:r.EAN13,EAN8:r.EAN8,EAN5:r.EAN5,EAN2:r.EAN2,UPC:r.UPC,UPCE:r.UPCE,ITF14:d.ITF14,ITF:d.ITF,MSI:M.MSI,MSI10:M.MSI10,MSI11:M.MSI11,MSI1010:M.MSI1010,MSI1110:M.MSI1110,pharmacode:O.pharmacode,codabar:f.codabar,GenericBarcode:A.GenericBarcode}}));
|
71
71
|
;/*!node_modules/jsbarcode/bin/help/merge.js*/
|
72
|
-
amis.define("
|
72
|
+
amis.define("9dc81e5",(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("4abf38d",(function(e,t,a,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return function e(a){if(Array.isArray(a))for(var r=0;r<a.length;r++)e(a[r]);else a.text=a.text||"",a.data=a.data||"",t.push(a)}(e),t}}));
|
75
75
|
;/*!node_modules/jsbarcode/bin/help/fixOptions.js*/
|
76
|
-
amis.define("
|
76
|
+
amis.define("da15995",(function(i,n,r,a){"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("e9ff231",(function(e,t,i,a){"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 i in t)t.hasOwnProperty(i)&&(i=t[i],"string"==typeof e[i]&&(e[i]=parseInt(e[i],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("a314dd6",(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("2e75915",(function(e,t,a,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=d(e("e9ff231")),o=d(e("a314dd6"));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("559e4a2",(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("9dc81e5"),r=(a=o)&&a.__esModule?a:{default:a};function d(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function g(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=d,e.getBarcodePadding=g,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=d(o,f),o.barcodePadding=g(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("08c4a7b",(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("9dc81e5"),r=(a=o)&&a.__esModule?a:{default:a},h=t("559e4a2");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("67e7164",(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("9dc81e5"),a=(r=o)&&r.__esModule?r:{default:r},u=t("559e4a2");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("6a8b360",(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("018e063",(function(e,t,a,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(e("08c4a7b")),u=f(e("67e7164")),n=f(e("6a8b360"));function f(e){return e&&e.__esModule?e:{default:e}}t.default={CanvasRenderer:r.default,SVGRenderer:u.default,ObjectRenderer:n.default}}));
|
93
93
|
;/*!node_modules/jsbarcode/bin/exceptions/exceptions.js*/
|
94
|
-
amis.define("
|
94
|
+
amis.define("5f3f930",(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("8f38264",(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("2e75915")),a=d(e("018e063")),u=e("5f3f930");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("6d5baf9",(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("693262b",(function(e,r,t,o){"use strict";var n=c(e("5cca037")),i=c(e("9dc81e5")),a=c(e("4abf38d")),d=c(e("da15995")),s=c(e("8f38264")),f=c(e("e9ff231")),u=c(e("6d5baf9")),p=e("5f3f930"),l=c(e("a314dd6"));function c(e){return e&&e.__esModule?e:{default:e}}var h=function(){},_=function(e,r,t){var o=new h;if(void 0===e)throw Error("No element to render on was provided.");return o._renderProperties=(0,s.default)(e),o._encodings=[],o._options=l.default,o._errorHandler=new u.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){h.prototype[r]=h.prototype[r.toUpperCase()]=h.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,f.default)(a);var d=e[r],s=w(t,d,a);return n._encodings.push(s),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 d=0;d<n.length;d++)n[d].options=(0,i.default)(t,n[d].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,d.default)(r[o].options);(0,d.default)(t),new(0,e.renderer)(e.element,r,t).render(),e.afterRender&&e.afterRender()}h.prototype.options=function(e){return this._options=(0,i.default)(this._options,e),this},h.prototype.blank=function(e){var r=new Array(e+1).join("0");return this._encodings.push({data:r}),this},h.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)}))}},h.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},h.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=_}));
|