@gct-paas/core-web 0.1.6-dev.9 → 6.0.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +164 -0
- package/dist/{JsBarcode-DY53cVJ6.js → JsBarcode-TOxkgp9a.js} +2 -1
- package/dist/{chunk-DPOkwzLC.js → chunk-BD3kbzfk.js} +1 -0
- package/dist/{cropper-DK_hFgpO.js → cropper-BBIy8B8S.js} +2 -1
- package/dist/{de_DE-B3f8kAv-.js → de_DE-Bm-3I1Ls.js} +2 -1
- package/dist/{defineProperty-Co6UJKQ3.js → defineProperty-tiVWhjV6.js} +1 -0
- package/dist/{diagram-config-item-C5Ha2XJq.js → diagram-config-item-BG3vgfLb.js} +2 -1
- package/dist/{diagram-config-item-reverse-ChoxnW-Z.js → diagram-config-item-reverse-BasLpIhZ.js} +2 -1
- package/dist/{diagram-config-item-virtual-Cbmggfwt.js → diagram-config-item-virtual-DqAOEffd.js} +2 -1
- package/dist/{en_US-BSG3Kz6v.js → en_US-rnol8lEi.js} +2 -1
- package/dist/{es_ES-BGP8IOmQ.js → es_ES-DdSSgdPu.js} +2 -1
- package/dist/{fr_FR-Y-6CzjUq.js → fr_FR-D7QpVzHo.js} +2 -1
- package/dist/{hooks-yX21uJ6d.js → hooks-4BnmWW_u.js} +2 -1
- package/dist/icon-next-picker-Chsb3vbQ.js +2 -0
- package/dist/index.min.css +1 -1
- package/dist/{ja_JP-CDlH1v8M.js → ja_JP-bu4UQjzu.js} +2 -1
- package/dist/loader.esm.min.js +2 -1
- package/dist/monaco-editor-CoODxT3k.js +2 -0
- package/dist/{objectSpread2-DARadIQB.js → objectSpread2-D0CABPhq.js} +1 -0
- package/dist/{overlayscrollbars-vue-Df-3wShc.js → overlayscrollbars-vue-CL728zVQ.js} +1 -0
- package/dist/{pt_PT-N-iIoE2_.js → pt_PT-Bxr2YAZQ.js} +2 -1
- package/dist/{relationship-diagram-config-DstwwXCO.js → relationship-diagram-config-D0YO4ar6.js} +2 -1
- package/dist/{rich-editor-DVOriJH0.js → rich-editor-DWutJgW4.js} +2 -1
- package/dist/{ru_RU--ESLRHrj.js → ru_RU-8F1ji8S5.js} +2 -1
- package/dist/{tr_TR-BOIykdZO.js → tr_TR-yxFykh_4.js} +2 -1
- package/dist/useMonacoEditor-BVJBCQQs.js +2 -0
- package/dist/{vi_VN-CmVoM2Rw.js → vi_VN-B6HI_VlL.js} +2 -1
- package/dist/{zh_CN-DhsO5Qwx.js → zh_CN-y_bNP28Q.js} +2 -1
- package/dist/{zh_TW-DWdp2kVo.js → zh_TW-Db30ZEoo.js} +2 -1
- package/es/components/I18nSelect/src/i18n-select-btn.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs +6 -7
- package/es/components/I18nSelect/src/{i18n-select-btn.vue_vue_type_style_index_0_scoped_ab917ea8_lang.css → i18n-select-btn.vue_vue_type_style_index_0_scoped_c5259775_lang.css} +14 -14
- package/es/components/I18nSelect/src/i18n-select-input-form.vue_vue_type_script_setup_true_name_i18n-select-input-form_lang.mjs +3 -2
- package/es/components/I18nSelect/src/i18n-select-textarea-form.vue_vue_type_script_setup_true_name_i18n-select-input-form_lang.mjs +3 -2
- package/es/components/I18nSelect/src/i18n-select-textarea.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_style_index_0_scoped_57c162b0_lang.css +26 -0
- package/es/components/UserPick/src/user-pick.vue.mjs +2 -2
- package/es/components/UserPick/src/user-pick.vue_vue_type_script_setup_true_lang.mjs +16 -18
- package/es/components/UserPick/src/user-pick.vue_vue_type_style_index_0_scoped_622db2b9_lang.css +56 -0
- package/es/components/app-drawer/app-drawer-component.css +82 -0
- package/es/components/app-drawer/app-drawer-component.d.ts +26 -0
- package/es/components/app-drawer/app-drawer-component.mjs +84 -0
- package/es/components/app-popover/app-popover-component.mjs +1 -1
- package/es/components/batch-select-list/batch-select-list.css +119 -0
- package/es/components/batch-select-list/batch-select-list.d.ts +158 -0
- package/es/components/batch-select-list/batch-select-list.mjs +133 -0
- package/es/components/design-save-tip/design-save-tip.css +107 -0
- package/es/components/design-save-tip/design-save-tip.d.ts +44 -0
- package/es/components/design-save-tip/design-save-tip.mjs +81 -0
- package/es/components/design-step-check/design-step-check.css +133 -0
- package/es/components/design-step-check/design-step-check.d.ts +30 -0
- package/es/components/design-step-check/design-step-check.mjs +96 -0
- package/es/components/design-view-layout/design-view-layout.css +184 -0
- package/es/components/design-view-layout/design-view-layout.d.ts +1 -0
- package/es/components/design-view-layout/design-view-layout.mjs +159 -0
- package/es/components/field-cascader/index.d.ts +2 -1
- package/es/components/field-cascader/src/hooks.d.ts +3 -0
- package/es/components/field-tree-select/field-tree-select.vue.mjs +2 -2
- package/es/components/field-tree-select/field-tree-select.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/field-tree-select/{field-tree-select.vue_vue_type_style_index_0_scoped_898030d3_lang.css → field-tree-select.vue_vue_type_style_index_0_scoped_24efd443_lang.css} +20 -20
- package/es/components/field-upload/src/FieldUpload.vue_vue_type_script_setup_true_name_FieldUpload_lang.mjs +1 -0
- package/es/components/field-upload/src/components/base-upload.vue.mjs +2 -2
- package/es/components/field-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +2 -2
- package/es/components/field-upload/src/components/{base-upload.vue_vue_type_style_index_0_scoped_65872e0a_lang.css → base-upload.vue_vue_type_style_index_0_scoped_6f57e635_lang.css} +18 -18
- package/es/components/field-upload/src/components/file-list.vue.mjs +2 -2
- package/es/components/field-upload/src/components/file-list.vue_vue_type_script_setup_true_name_fileList_lang.mjs +4 -3
- package/es/components/field-upload/src/components/{file-list.vue_vue_type_style_index_0_scoped_543b5221_lang.css → file-list.vue_vue_type_style_index_0_scoped_2966d274_lang.css} +25 -25
- package/es/components/field-upload/src/types/index.d.ts +1 -4
- package/es/components/field-upload/src/types/index.mjs +2 -6
- package/es/components/icon-next-picker/icon-next-picker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs +2 -4
- package/es/components/image-upload/index.mjs +1 -1
- package/es/components/image-upload/src/components/base-upload.vue.mjs +2 -2
- package/es/components/image-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +2 -2
- package/es/components/image-upload/src/components/{base-upload.vue_vue_type_style_index_0_scoped_2a928323_lang.css → base-upload.vue_vue_type_style_index_0_scoped_9b34005c_lang.css} +17 -17
- package/es/components/image-upload/src/components/upload-design.vue.mjs +2 -2
- package/es/components/image-upload/src/components/upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs +3 -2
- package/es/components/image-upload/src/components/upload-design.vue_vue_type_style_index_0_scoped_15add37b_lang.css +33 -0
- package/es/components/image-upload/src/types/index.d.ts +1 -4
- package/es/components/image-upload/src/types/index.mjs +1 -8
- package/es/components/index.d.ts +13 -4
- package/es/components/index.mjs +31 -3
- package/es/components/label-design/components/mr-vue/MrEl.vue.mjs +2 -2
- package/es/components/label-design/components/mr-vue/MrEl.vue_vue_type_script_setup_true_name_mr-el_lang.mjs +15 -11
- package/es/components/label-design/components/mr-vue/{MrEl.vue_vue_type_style_index_0_scoped_abef86c9_lang.css → MrEl.vue_vue_type_style_index_0_scoped_371e4b06_lang.css} +61 -61
- package/es/components/label-design/components/widgets/QrCode.vue.mjs +2 -2
- package/es/components/label-design/components/widgets/QrCode.vue_vue_type_script_setup_true_name_QR_CODE_lang.mjs +86 -4
- package/es/components/label-design/components/widgets/QrCode.vue_vue_type_style_index_0_scoped_2fb36afd_lang.css +14 -0
- package/es/components/label-design/components/widgets/Text.vue.mjs +3 -3
- package/es/components/label-design/components/widgets/{Text.vue_vue_type_script_setup_true_lang.mjs → Text.vue_vue_type_script_setup_true_name_TEXT_lang.mjs} +44 -25
- package/es/components/label-design/components/widgets/Text.vue_vue_type_style_index_0_scoped_d9ace99f_lang.css +37 -0
- package/es/components/label-design/components/widgets/index.mjs +4 -1
- package/es/components/label-design/components/widgets/richText.vue.mjs +2 -2
- package/es/components/label-design/components/widgets/richText.vue_vue_type_script_setup_true_lang.mjs +4 -3
- package/es/components/label-design/components/widgets/{richText.vue_vue_type_style_index_0_scoped_d05f3ffd_lang.css → richText.vue_vue_type_style_index_0_scoped_fc7a37f7_lang.css} +3 -3
- package/es/components/label-design/constants/CommonPrintElems.d.ts +41 -4
- package/es/components/label-design/constants/CommonPrintElems.mjs +31 -15
- package/es/components/label-design/designer.vue.d.ts +2 -0
- package/es/components/label-design/designer.vue.mjs +7 -0
- package/es/components/label-design/designer.vue_vue_type_script_setup_true_lang.mjs +32 -0
- package/es/components/label-design/designer.vue_vue_type_style_index_0_scoped_260222c9_lang.css +32 -0
- package/es/components/label-design/header/header.vue.d.ts +6 -0
- package/es/components/label-design/header/header.vue.mjs +7 -0
- package/es/components/label-design/header/header.vue_vue_type_script_setup_true_lang.mjs +232 -0
- package/es/components/label-design/header/header.vue_vue_type_style_index_0_scoped_aa2b4235_lang.css +39 -0
- package/es/components/label-design/header/test-var-modal.vue.d.ts +207 -0
- package/es/components/label-design/header/test-var-modal.vue.mjs +7 -0
- package/es/components/label-design/header/test-var-modal.vue_vue_type_script_setup_true_lang.mjs +202 -0
- package/es/components/label-design/header/test-var-modal.vue_vue_type_style_index_0_scoped_972496bb_lang.css +69 -0
- package/es/components/label-design/hooks/useDesigner.d.ts +1 -0
- package/es/components/label-design/hooks/useDesigner.mjs +19 -1
- package/es/components/label-design/hooks/usePage.mjs +16 -2
- package/es/components/label-design/hooks/useProp.d.ts +62 -7
- package/es/components/label-design/hooks/useProp.mjs +154 -97
- package/es/components/label-design/index.d.ts +11 -1
- package/es/components/label-design/index.mjs +10 -1
- package/es/components/label-design/modal/index.mjs +4 -4
- package/es/components/label-design/panels/modals/diff-modal.vue.mjs +2 -2
- package/es/components/label-design/panels/modals/diff-modal.vue_vue_type_script_setup_true_lang.mjs +4 -2
- package/es/components/label-design/panels/modals/{diff-modal.vue_vue_type_style_index_0_scoped_16a76e9a_lang.css → diff-modal.vue_vue_type_style_index_0_scoped_54211e3c_lang.css} +2 -2
- package/es/components/label-design/panels/widget/component-properties.vue.mjs +2 -2
- package/es/components/label-design/panels/widget/component-properties.vue_vue_type_script_setup_true_name_component-properties_lang.mjs +38 -7
- package/es/components/label-design/panels/widget/{component-properties.vue_vue_type_style_index_0_scoped_4a732e3f_lang.css → component-properties.vue_vue_type_style_index_0_scoped_d6c5e9e9_lang.css} +10 -10
- package/es/components/label-design/panels/widget/components/label-params-select.vue.d.ts +35 -0
- package/es/components/label-design/panels/widget/controls/AliasInput.vue.mjs +9 -4
- package/es/components/label-design/panels/widget/controls/Border.vue.mjs +20 -17
- package/es/components/label-design/panels/widget/controls/Border.vue_vue_type_script_lang.mjs +4 -0
- package/es/components/label-design/panels/widget/controls/{Border.vue_vue_type_style_index_0_scoped_5d5ceddd_lang.css → Border.vue_vue_type_style_index_0_scoped_5bb46dc4_lang.css} +5 -5
- package/es/components/label-design/panels/widget/controls/ExpressionContent.vue_vue_type_script_lang.mjs +2 -1
- package/es/components/label-design/panels/widget/controls/FontFamily.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/label-design/panels/widget/controls/FontStyle.vue.mjs +12 -8
- package/es/components/label-design/panels/widget/controls/FontStyle.vue_vue_type_script_lang.mjs +12 -6
- package/es/components/label-design/panels/widget/controls/InputContent.vue.mjs +9 -4
- package/es/components/label-design/panels/widget/controls/InputContent.vue_vue_type_script_lang.mjs +4 -0
- package/es/components/label-design/panels/widget/controls/LineHeight.vue.mjs +183 -0
- package/es/components/label-design/panels/widget/controls/PdfQrConfig.vue.mjs +10 -0
- package/es/components/label-design/panels/widget/controls/PdfQrConfig.vue_vue_type_script_setup_true_name_pdf-qr-config_lang.mjs +166 -0
- package/es/components/label-design/panels/widget/controls/PdfQrConfig.vue_vue_type_style_index_0_scoped_cd6ec1c2_lang.css +19 -0
- package/es/components/label-design/panels/widget/controls/PdfQrConfig.vue_vue_type_style_index_1_lang.css +0 -0
- package/es/components/label-design/panels/widget/controls/SelectContent.vue.mjs +20 -5
- package/es/components/label-design/panels/widget/controls/StackOrder.vue.mjs +15 -10
- package/es/components/label-design/panels/widget/controls/TextAlign.vue.mjs +12 -8
- package/es/components/label-design/panels/widget/controls/TextAlign.vue_vue_type_script_lang.mjs +9 -3
- package/es/components/label-design/panels/widget/controls/TextVerticalAlign.vue.mjs +9 -6
- package/es/components/label-design/panels/widget/controls/TextVerticalAlign.vue_vue_type_script_lang.mjs +9 -3
- package/es/components/label-design/panels/widget/controls/VariableSelect.vue.mjs +2 -2
- package/es/components/label-design/panels/widget/controls/VariableSelect.vue_vue_type_script_setup_true_name_variable-select_lang.mjs +15 -7
- package/es/components/label-design/panels/widget/controls/VariableSelect.vue_vue_type_style_index_0_scoped_8729413a_lang.css +15 -0
- package/es/components/label-design/panels/widget/controls/dim-pos.vue.mjs +2 -2
- package/es/components/label-design/panels/widget/controls/dim-pos.vue_vue_type_script_setup_true_name_dim-pos_lang.mjs +52 -44
- package/es/components/label-design/panels/widget/controls/{dim-pos.vue_vue_type_style_index_0_scoped_a247e0e1_lang.css → dim-pos.vue_vue_type_style_index_0_scoped_16616a25_lang.css} +2 -2
- package/es/components/label-design/panels/widget/controls/field-content.vue.mjs +2 -2
- package/es/components/label-design/panels/widget/controls/field-content.vue_vue_type_script_setup_true_name_field-content_lang.mjs +5 -4
- package/es/components/label-design/panels/widget/controls/field-content.vue_vue_type_style_index_0_scoped_20837fed_lang.css +6 -0
- package/es/components/label-design/panels/widget/controls/index.mjs +4 -0
- package/es/components/label-design/panels/widget/controls/rich-btn.vue.mjs +1 -1
- package/es/components/label-design/panels/widget/controls/rich-btn.vue_vue_type_script_lang.mjs +11 -5
- package/es/components/label-design/panels/widget/page-properties.vue.mjs +2 -2
- package/es/components/label-design/panels/widget/page-properties.vue_vue_type_script_setup_true_name_page-properties_lang.mjs +3 -2
- package/es/components/label-design/panels/widget/{page-properties.vue_vue_type_style_index_0_scoped_ad548f64_lang.css → page-properties.vue_vue_type_style_index_0_scoped_e0675ce4_lang.css} +2 -2
- package/es/components/label-design/panels/widget/panel-widget.vue_vue_type_script_setup_true_name_panel-widget_lang.mjs +4 -3
- package/es/components/label-design/panels/widget/panel-widget.vue_vue_type_style_index_0_lang.css +5 -5
- package/es/components/label-design/stage/StageEl.vue.d.ts +6 -1
- package/es/components/label-design/stage/StageEl.vue_vue_type_script_lang.mjs +23 -1
- package/es/components/label-design/stage/stage-canvas.vue.d.ts +2 -0
- package/es/components/label-design/stage/stage-canvas.vue_vue_type_script_setup_true_lang.mjs +27 -3
- package/es/components/label-design/toolkits/toolkit-widgets.vue.mjs +2 -2
- package/es/components/label-design/toolkits/toolkit-widgets.vue_vue_type_script_setup_true_name_toolkit-widgets_lang.mjs +4 -3
- package/es/components/label-design/toolkits/{toolkit-widgets.vue_vue_type_style_index_0_scoped_a787d212_lang.css → toolkit-widgets.vue_vue_type_style_index_0_scoped_c0634baf_lang.css} +9 -9
- package/es/components/label-design/type/index.d.ts +15 -0
- package/es/components/label-design/type/index.mjs +11 -0
- package/es/components/modal-name-editor/modal-name-editor.css +117 -0
- package/es/components/modal-name-editor/modal-name-editor.d.ts +43 -0
- package/es/components/modal-name-editor/modal-name-editor.mjs +141 -0
- package/es/components/model-cascader/index.d.ts +34 -0
- package/es/components/model-cascader/index.mjs +98 -0
- package/es/components/model-cascader/style.css +54 -0
- package/es/components/model-cascader/util.d.ts +27 -0
- package/es/components/model-cascader/util.mjs +74 -0
- package/es/components/monaco-editor/monaco-editor.css +70 -0
- package/es/components/monaco-editor/monaco-editor.d.ts +22 -0
- package/es/components/monaco-editor/monaco-editor.mjs +82 -0
- package/es/components/number-range/number-range.vue.mjs +2 -2
- package/es/components/number-range/number-range.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/number-range/{number-range.vue_vue_type_style_index_0_scoped_283a5280_lang.css → number-range.vue_vue_type_style_index_0_scoped_9970d677_lang.css} +2 -2
- package/es/components/open-select-user-modal/SelectUserContainer.vue.d.ts +21 -0
- package/es/components/open-select-user-modal/SelectUserContainer.vue.mjs +8 -0
- package/es/components/open-select-user-modal/SelectUserContainer.vue_vue_type_script_setup_true_name_SelectUserContainer_lang.mjs +383 -0
- package/es/components/open-select-user-modal/SelectUserContainer.vue_vue_type_style_index_0_scoped_1fd02207_lang.css +11 -0
- package/es/components/open-select-user-modal/SelectUserContainer.vue_vue_type_style_index_1_lang.css +144 -0
- package/es/components/open-select-user-modal/component/dynamic.vue.d.ts +12 -0
- package/es/components/open-select-user-modal/component/dynamic.vue.mjs +7 -0
- package/es/components/open-select-user-modal/component/dynamic.vue_vue_type_script_setup_true_name_waiting-area-dynamic_lang.mjs +143 -0
- package/es/components/open-select-user-modal/component/dynamic.vue_vue_type_style_index_0_scoped_e32390db_lang.css +30 -0
- package/es/components/open-select-user-modal/component/extra-user.vue.d.ts +16 -0
- package/es/components/open-select-user-modal/component/extra-user.vue.mjs +7 -0
- package/es/components/open-select-user-modal/component/extra-user.vue_vue_type_script_setup_true_name_waiting-area-extra-user_lang.mjs +80 -0
- package/es/components/open-select-user-modal/component/extra-user.vue_vue_type_style_index_0_scoped_75c9dc57_lang.css +12 -0
- package/es/components/open-select-user-modal/component/org.vue.d.ts +11 -0
- package/es/components/open-select-user-modal/component/org.vue.mjs +6 -0
- package/es/components/open-select-user-modal/component/org.vue_vue_type_script_setup_true_name_waiting-area-org_lang.mjs +87 -0
- package/es/components/open-select-user-modal/component/role.vue.d.ts +11 -0
- package/es/components/open-select-user-modal/component/role.vue.mjs +6 -0
- package/es/components/open-select-user-modal/component/role.vue_vue_type_script_setup_true_name_waiting-area-role_lang.mjs +90 -0
- package/es/components/open-select-user-modal/component/role.vue_vue_type_style_index_0_lang.css +114 -0
- package/es/components/open-select-user-modal/component/search-input.vue.d.ts +9 -0
- package/es/components/open-select-user-modal/component/search-input.vue.mjs +5 -0
- package/es/components/open-select-user-modal/component/search-input.vue_vue_type_script_setup_true_name_search-input_lang.mjs +35 -0
- package/es/components/open-select-user-modal/component/select-area.vue.d.ts +10 -0
- package/es/components/open-select-user-modal/component/select-area.vue.mjs +7 -0
- package/es/components/open-select-user-modal/component/select-area.vue_vue_type_script_setup_true_name_waiting-area-select-area_lang.mjs +125 -0
- package/es/components/open-select-user-modal/component/select-area.vue_vue_type_style_index_0_scoped_7ba4ab92_lang.css +36 -0
- package/es/components/open-select-user-modal/component/user-group.vue.d.ts +11 -0
- package/es/components/open-select-user-modal/component/user-group.vue.mjs +6 -0
- package/es/components/open-select-user-modal/component/user-group.vue_vue_type_script_setup_true_name_waiting-area-user-group_lang.mjs +87 -0
- package/es/components/open-select-user-modal/component/user.vue.d.ts +17 -0
- package/es/components/open-select-user-modal/component/user.vue.mjs +8 -0
- package/es/components/open-select-user-modal/component/user.vue_vue_type_script_setup_true_name_waiting-area-user_lang.mjs +204 -0
- package/es/components/open-select-user-modal/component/user.vue_vue_type_style_index_1_scoped_c546c256_lang.css +45 -0
- package/es/components/open-select-user-modal/controller/base-controller.d.ts +21 -0
- package/es/components/open-select-user-modal/controller/base-controller.mjs +15 -0
- package/es/components/open-select-user-modal/controller/edhr-controller.d.ts +17 -0
- package/es/components/open-select-user-modal/controller/edhr-controller.mjs +39 -0
- package/es/components/open-select-user-modal/controller/index.d.ts +18 -0
- package/es/components/open-select-user-modal/controller/index.mjs +42 -0
- package/es/components/open-select-user-modal/controller/paas-controller.d.ts +10 -0
- package/es/components/open-select-user-modal/controller/paas-controller.mjs +31 -0
- package/es/components/open-select-user-modal/index.d.ts +15 -0
- package/es/components/open-select-user-modal/index.mjs +40 -0
- package/es/components/open-select-user-modal/type/index.d.ts +7 -0
- package/es/components/overlay-scrollbars/gct-overlay-scrollbars.d.ts +2 -3
- package/es/components/paas-bpmn-log/components/approval-node.vue.mjs +2 -2
- package/es/components/paas-bpmn-log/components/approval-node.vue_vue_type_script_setup_true_lang.mjs +8 -9
- package/es/components/paas-bpmn-log/components/{approval-node.vue_vue_type_style_index_0_scoped_a8065b24_lang.css → approval-node.vue_vue_type_style_index_0_scoped_b28cab6b_lang.css} +9 -9
- package/es/components/paas-bpmn-log/components/user-list.vue.mjs +2 -2
- package/es/components/paas-bpmn-log/components/user-list.vue_vue_type_script_setup_true_lang.mjs +2 -1
- package/es/components/paas-bpmn-log/components/{user-list.vue_vue_type_style_index_0_scoped_27aa2bf0_lang.css → user-list.vue_vue_type_style_index_0_scoped_80624e20_lang.css} +3 -3
- package/es/components/paas-bpmn-log/hooks/uselog.mjs +1 -1
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue.mjs +2 -2
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue_vue_type_script_setup_true_lang.mjs +15 -16
- package/es/components/paas-bpmn-log/{paas-bpmn-log.vue_vue_type_style_index_0_scoped_eb574523_lang.css → paas-bpmn-log.vue_vue_type_style_index_0_scoped_359cf19e_lang.css} +9 -9
- package/es/components/select-user-modal/select-user-modal.vue.mjs +2 -2
- package/es/components/select-user-modal/select-user-modal.vue_vue_type_style_index_0_scoped_8316b821_lang.css +14 -0
- package/es/components/serial-number/components/data-field-cascader.vue.d.ts +15 -0
- package/es/components/serial-number/components/data-field-cascader.vue.mjs +8 -0
- package/es/components/serial-number/components/data-field-cascader.vue_vue_type_script_setup_true_lang.mjs +496 -0
- package/es/components/serial-number/components/data-field-cascader.vue_vue_type_style_index_0_scoped_9a2af5c6_lang.css +134 -0
- package/es/components/serial-number/components/data-field-cascader.vue_vue_type_style_index_1_lang.css +18 -0
- package/es/components/serial-number/serial-number-container.vue.mjs +2 -2
- package/es/components/serial-number/serial-number-container.vue_vue_type_script_setup_true_name_serial-number-container_lang.mjs +1 -0
- package/es/components/serial-number/{serial-number-container.vue_vue_type_style_index_0_scoped_35a73b4c_lang.css → serial-number-container.vue_vue_type_style_index_0_scoped_28b84222_lang.css} +7 -7
- package/es/components/serial-number/serial-number-item.vue.d.ts +28 -1
- package/es/components/serial-number/serial-number-item.vue.mjs +2 -2
- package/es/components/serial-number/serial-number-item.vue_vue_type_script_setup_true_lang.mjs +30 -23
- package/es/components/serial-number/{serial-number-item.vue_vue_type_style_index_0_scoped_f992d0b8_lang.css → serial-number-item.vue_vue_type_style_index_0_scoped_94ffcb8c_lang.css} +16 -16
- package/es/components/shrink-panel/shrink-panel.css +130 -0
- package/es/components/shrink-panel/shrink-panel.d.ts +23 -0
- package/es/components/shrink-panel/shrink-panel.mjs +41 -0
- package/es/components/ui/basic-grid/basic-grid.vue.d.ts +81 -0
- package/es/components/ui/basic-grid/basic-grid.vue.mjs +7 -0
- package/es/components/ui/basic-grid/basic-grid.vue_vue_type_script_setup_true_name_basic-grid_lang.mjs +134 -0
- package/es/components/ui/basic-grid/basic-grid.vue_vue_type_style_index_0_scoped_99a4ea49_lang.css +90 -0
- package/es/components/ui/basic-grid/index.d.ts +3 -0
- package/es/components/ui/basic-grid/index.mjs +1 -0
- package/es/components/ui/basic-grid/types.d.ts +6 -0
- package/es/components/ui/embed-grid/embed-grid.vue.d.ts +62 -0
- package/es/components/ui/embed-grid/embed-grid.vue.mjs +7 -0
- package/es/components/ui/embed-grid/embed-grid.vue_vue_type_script_setup_true_name_embed-grid_lang.mjs +73 -0
- package/es/components/ui/embed-grid/index.d.ts +3 -0
- package/es/components/ui/embed-grid/index.mjs +1 -0
- package/es/components/ui/embed-grid/types.d.ts +5 -0
- package/es/components/ui/form-alert/form-alert.vue.d.ts +10 -0
- package/es/components/ui/form-alert/form-alert.vue.mjs +7 -0
- package/es/components/ui/form-alert/form-alert.vue_vue_type_script_setup_true_name_form-alert_lang.mjs +31 -0
- package/es/components/ui/form-alert/form-alert.vue_vue_type_style_index_0_scoped_a6bdad9c_lang.css +64 -0
- package/es/components/ui/grid-btns/grid-btns.vue.d.ts +2 -0
- package/es/components/ui/grid-btns/grid-btns.vue.mjs +7 -0
- package/es/components/ui/grid-btns/grid-btns.vue_vue_type_script_setup_true_name_grid-btns_lang.mjs +15 -0
- package/es/components/ui/grid-btns/grid-btns.vue_vue_type_style_index_0_scoped_e3385a9e_lang.css +70 -0
- package/es/components/ui/grid-pagination/grid-pagination.vue.d.ts +12 -0
- package/es/components/ui/grid-pagination/grid-pagination.vue.mjs +7 -0
- package/es/components/ui/grid-pagination/grid-pagination.vue_vue_type_script_setup_true_name_grid-pagination_lang.mjs +57 -0
- package/es/components/ui/grid-pagination/grid-pagination.vue_vue_type_style_index_0_scoped_4905eabf_lang.css +68 -0
- package/es/components/ui/grid-pagination/index.d.ts +3 -0
- package/es/components/ui/grid-pagination/index.mjs +1 -0
- package/es/components/ui/grid-pagination/types.d.ts +24 -0
- package/es/components/{BpmnRuntime/paas/paas-bpmn-runtime.vue.d.ts → ui/highlight/highlight.vue.d.ts} +2 -1
- package/es/components/ui/highlight/highlight.vue.mjs +7 -0
- package/es/components/ui/highlight/highlight.vue_vue_type_script_setup_true_name_highlight_lang.mjs +30 -0
- package/es/components/ui/highlight/highlight.vue_vue_type_style_index_0_scoped_e17c6606_lang.css +6 -0
- package/es/components/ui/icon-tooltip/icon-tooltip.vue.d.ts +10 -0
- package/es/components/ui/icon-tooltip/icon-tooltip.vue.mjs +7 -0
- package/es/components/ui/icon-tooltip/icon-tooltip.vue_vue_type_script_setup_true_name_icon-tooltip_lang.mjs +27 -0
- package/es/components/ui/icon-tooltip/icon-tooltip.vue_vue_type_style_index_0_scoped_a35580e4_lang.css +68 -0
- package/es/components/ui/index.d.ts +10 -0
- package/es/components/ui/index.mjs +12 -0
- package/es/components/ui/modal-wrapper/modal-wrapper.vue.d.ts +26 -0
- package/es/components/ui/modal-wrapper/modal-wrapper.vue.mjs +7 -0
- package/es/components/ui/modal-wrapper/modal-wrapper.vue_vue_type_script_setup_true_name_modal-wrapper_lang.mjs +78 -0
- package/es/components/ui/modal-wrapper/modal-wrapper.vue_vue_type_style_index_0_scoped_6b8a9609_lang.css +28 -0
- package/es/components/ui/notice/index.d.ts +8 -0
- package/es/components/ui/notice/index.mjs +31 -0
- package/es/create-app-vue.mjs +6 -4
- package/es/hooks/index.d.ts +4 -1
- package/es/hooks/index.mjs +4 -1
- package/es/hooks/useKeyParser.d.ts +16 -0
- package/es/hooks/useKeyParser.mjs +79 -0
- package/es/hooks/usePrinter.d.ts +19 -0
- package/es/hooks/usePrinter.mjs +50 -0
- package/es/hooks/useTag.d.ts +7 -0
- package/es/hooks/useTag.mjs +83 -0
- package/es/hooks/useTreeList.d.ts +23 -0
- package/es/hooks/useTreeList.mjs +160 -0
- package/es/index.d.ts +2 -0
- package/es/index.mjs +64 -25
- package/es/interface/i-view-step/i-view-step.d.ts +32 -0
- package/es/interface/index.d.ts +1 -0
- package/es/locale/auto-register.d.ts +2 -0
- package/es/locale/auto-register.mjs +43 -0
- package/es/locale/sys/app.d.ts +4 -0
- package/es/locale/sys/app.mjs +6 -0
- package/es/locale/sys/appDesigner.d.ts +23 -0
- package/es/locale/sys/appDesigner.mjs +35 -0
- package/es/locale/sys/cardDesign.d.ts +9 -0
- package/es/locale/sys/cardDesign.mjs +11 -0
- package/es/locale/sys/component.d.ts +11 -1
- package/es/locale/sys/component.mjs +32 -0
- package/es/locale/sys/edhr.d.ts +5 -0
- package/es/locale/sys/edhr.mjs +9 -0
- package/es/locale/sys/expression.d.ts +4 -0
- package/es/locale/sys/expression.mjs +6 -0
- package/es/locale/sys/i18n.mjs +10 -0
- package/es/locale/sys/integration.mjs +6 -0
- package/es/locale/sys/ipaas.mjs +6 -0
- package/es/locale/sys/model.d.ts +4 -1
- package/es/locale/sys/model.mjs +28 -0
- package/es/locale/sys/onlineForm.d.ts +5 -0
- package/es/locale/sys/onlineForm.mjs +9 -0
- package/es/locale/sys/org.d.ts +3 -3
- package/es/locale/sys/org.mjs +14 -0
- package/es/locale/sys/pageDesigner.d.ts +69 -0
- package/es/locale/sys/pageDesigner.mjs +83 -0
- package/es/locale/sys/printDesigner.d.ts +123 -0
- package/es/locale/sys/printDesigner.mjs +127 -0
- package/es/locale/sys/process.mjs +6 -0
- package/es/locale/sys/webRender.d.ts +25 -0
- package/es/locale/sys/webRender.mjs +33 -0
- package/es/locale/sys.d.ts +49 -2
- package/es/locale/sys.mjs +71 -0
- package/es/modules/category/category-modal.vue.mjs +2 -2
- package/es/modules/category/category-modal.vue_vue_type_script_setup_true_name_category-modal_lang.mjs +1 -0
- package/es/modules/category/{category-modal.vue_vue_type_style_index_0_scoped_b560615c_lang.css → category-modal.vue_vue_type_style_index_0_scoped_5883fe72_lang.css} +1 -1
- package/es/modules/category/category-sider.vue.d.ts +6 -6
- package/es/modules/category/category-sider.vue.mjs +2 -2
- package/es/modules/category/{category-sider.vue_vue_type_style_index_0_scoped_5af8c1ba_lang.css → category-sider.vue_vue_type_style_index_0_scoped_256dbd12_lang.css} +35 -36
- package/es/modules/color-picker/index.mjs +1 -1
- package/es/modules/color-picker/src/ColorPicker.vue.mjs +2 -2
- package/es/modules/color-picker/src/{ColorPicker.vue_vue_type_style_index_0_scoped_7bfd9ca3_lang.css → ColorPicker.vue_vue_type_style_index_0_scoped_858da81a_lang.css} +3 -3
- package/es/modules/data-rules-container/index.d.ts +3 -0
- package/es/modules/data-rules-container/index.mjs +3 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue_vue_type_script_setup_true_lang.mjs +2 -1
- package/es/modules/data-rules-container/src/components/perm-action-node.vue.d.ts +1 -1
- package/es/modules/data-rules-container/src/components/perm-action-node.vue.mjs +2 -2
- package/es/modules/data-rules-container/src/components/{perm-action-node.vue_vue_type_style_index_0_scoped_417c660f_lang.css → perm-action-node.vue_vue_type_style_index_0_scoped_a053095c_lang.css} +17 -17
- package/es/modules/data-rules-container/src/components/request-select-cmp.vue_vue_type_script_setup_true_name_request-select-cmp_lang.mjs +17 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue.d.ts +1 -1
- package/es/modules/data-rules-container/src/components/tree-action-node.vue.mjs +2 -2
- package/es/modules/data-rules-container/src/components/{tree-action-node.vue_vue_type_style_index_0_scoped_46368089_lang.css → tree-action-node.vue_vue_type_style_index_0_scoped_f37ec578_lang.css} +16 -16
- package/es/modules/data-rules-container/src/components/tree-root-node.vue.mjs +2 -2
- package/es/modules/data-rules-container/src/components/tree-root-node.vue_vue_type_script_setup_true_name_tree-root-node_lang.mjs +5 -2
- package/es/modules/data-rules-container/src/components/{tree-root-node.vue_vue_type_style_index_0_scoped_37e323fb_lang.css → tree-root-node.vue_vue_type_style_index_0_scoped_74e5fbf3_lang.css} +8 -8
- package/es/modules/data-rules-container/src/constant/config.mjs +1 -1
- package/es/modules/data-rules-container/src/constant/interface.mjs +115 -2
- package/es/modules/data-rules-container/src/data-rules-modal.d.ts +75 -0
- package/es/modules/data-rules-container/src/data-rules-modal.mjs +105 -0
- package/es/modules/data-rules-container/src/hooks/useRole.d.ts +0 -1
- package/es/modules/data-rules-container/src/typing.d.ts +1 -1
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +3 -2
- package/es/modules/gct-form/components/flex-container/flex-container.d.ts +2 -6
- package/es/modules/gct-form/components/flex-container/flex-container.mjs +19 -24
- package/es/modules/gct-form/components/flex-item/flex-item.mjs +1 -1
- package/es/modules/gct-form/components/grid-container/grid-container.mjs +5 -2
- package/es/modules/gct-form/controller/editor-item/editor-item.controller.d.ts +1 -0
- package/es/modules/gct-form/controller/editor-item/editor-item.controller.mjs +11 -0
- package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.d.ts +2 -0
- package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.mjs +12 -4
- package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.d.ts +2 -2
- package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.mjs +2 -2
- package/es/modules/gct-form/editor/gct-form-date-range/form-date-range.css +67 -0
- package/es/modules/gct-form/editor/gct-form-date-range/form-date-range.d.ts +50 -0
- package/es/modules/gct-form/editor/gct-form-date-range/form-date-range.mjs +62 -0
- package/es/modules/gct-form/editor/gct-form-date-range/form-date-range.provider.d.ts +13 -0
- package/es/modules/gct-form/editor/gct-form-date-range/form-date-range.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-date-range/index.d.ts +4 -0
- package/es/modules/gct-form/editor/gct-form-date-range/index.mjs +8 -0
- package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.mjs +6 -7
- package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.mjs +6 -4
- package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.mjs +24 -2
- package/es/modules/gct-form/editor/gct-form-model-select/select-online-form-model/online-form-model-modal.vue.d.ts +23 -0
- package/es/modules/gct-form/editor/gct-form-model-select/select-online-form-model/online-form-model-modal.vue.mjs +7 -0
- package/es/modules/gct-form/editor/gct-form-model-select/select-online-form-model/online-form-model-modal.vue_vue_type_script_setup_true_name_online-form-model-modal_lang.mjs +220 -0
- package/es/modules/gct-form/editor/gct-form-model-select/select-online-form-model/online-form-model-modal.vue_vue_type_style_index_0_scoped_41c1457b_lang.css +100 -0
- package/es/modules/gct-form/editor/gct-form-model-select/select-online-form-model/online-form-model-select.vue.d.ts +21 -0
- package/es/modules/gct-form/editor/gct-form-model-select/select-online-form-model/online-form-model-select.vue.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-model-select/select-online-form-model/online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang.mjs +116 -0
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.mjs +1 -1
- package/es/modules/gct-form/editor/index.mjs +2 -1
- package/es/modules/gct-form/hooks/index.d.ts +1 -0
- package/es/modules/gct-form/hooks/index.mjs +1 -0
- package/es/modules/gct-form/hooks/use-form-value/use-form-value.d.ts +11 -0
- package/es/modules/gct-form/hooks/use-form-value/use-form-value.mjs +27 -0
- package/es/modules/gct-form/index.mjs +3 -0
- package/es/modules/gct-form/interface/i-controller/form-edit-item/form-edit-item.controller.d.ts +7 -0
- package/es/modules/gct-form/interface/i-controller/form-hidden-item/form-hidden-item.controller.d.ts +4 -4
- package/es/modules/gct-form/interface/i-form/i-form-hidden-item.d.ts +3 -3
- package/es/modules/gct-form/interface/i-form/i-form-item-basic.d.ts +8 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +3 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +7 -6
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +2 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.d.ts +2 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.mjs +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.css +3 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +3 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +7 -6
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +7 -6
- package/es/modules/gct-form/widgets/gct-search-form/form/app-form.css +70 -0
- package/es/modules/gct-form/widgets/gct-search-form/form/app-form.d.ts +22 -0
- package/es/modules/gct-form/widgets/gct-search-form/form/app-form.mjs +106 -0
- package/es/modules/gct-form/widgets/gct-search-form/form-item/form-item.css +73 -0
- package/es/modules/gct-form/widgets/gct-search-form/form-item/form-item.d.ts +15 -0
- package/es/modules/gct-form/widgets/gct-search-form/form-item/form-item.mjs +22 -0
- package/es/modules/gct-form/widgets/gct-search-form/form.controller.d.ts +46 -0
- package/es/modules/gct-form/widgets/gct-search-form/form.controller.mjs +69 -0
- package/es/modules/gct-form/widgets/gct-search-form/form.state.d.ts +10 -0
- package/es/modules/gct-form/widgets/gct-search-form/form.state.mjs +13 -0
- package/es/modules/gct-form/widgets/gct-search-form/gct-search-form.css +83 -0
- package/es/modules/gct-form/widgets/gct-search-form/gct-search-form.d.ts +33 -0
- package/es/modules/gct-form/widgets/gct-search-form/gct-search-form.mjs +56 -0
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +1 -1
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +1 -1
- package/es/modules/global-drawer/index.d.ts +4 -0
- package/es/modules/global-drawer/index.mjs +8 -0
- package/es/modules/global-drawer/src/BasicDrawer.vue.d.ts +171 -0
- package/es/modules/global-drawer/src/BasicDrawer.vue.mjs +6 -0
- package/es/modules/global-drawer/src/BasicDrawer.vue_vue_type_script_setup_true_name_BasicDrawer_lang.mjs +145 -0
- package/es/modules/global-drawer/src/BasicDrawer.vue_vue_type_style_index_0_lang.css +40 -0
- package/es/modules/global-drawer/src/components/DrawerFooter.vue.d.ts +95 -0
- package/es/modules/global-drawer/src/components/DrawerFooter.vue.mjs +42 -0
- package/es/modules/global-drawer/src/components/DrawerFooter.vue_vue_type_script_lang.mjs +38 -0
- package/es/modules/global-drawer/src/components/DrawerFooter.vue_vue_type_style_index_0_lang.css +11 -0
- package/es/modules/global-drawer/src/components/DrawerHeader.vue.d.ts +20 -0
- package/es/modules/global-drawer/src/components/DrawerHeader.vue.mjs +22 -0
- package/es/modules/global-drawer/src/components/DrawerHeader.vue_vue_type_script_lang.mjs +25 -0
- package/es/modules/global-drawer/src/components/DrawerHeader.vue_vue_type_style_index_0_lang.css +18 -0
- package/es/modules/global-drawer/src/props.d.ts +111 -0
- package/es/modules/global-drawer/src/props.mjs +62 -0
- package/es/modules/global-drawer/src/typing.d.ts +170 -0
- package/es/modules/global-drawer/src/useDrawer.d.ts +6 -0
- package/es/modules/global-drawer/src/useDrawer.mjs +6 -0
- package/es/modules/global-modal/src/BasicModal.vue.d.ts +56 -2
- package/es/modules/global-modal/src/BasicModal.vue_vue_type_script_setup_true_name_BasicModal_lang.mjs +55 -70
- package/es/modules/global-modal/src/components/ModalClose.vue_vue_type_style_index_0_lang.css +1 -2
- package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +28 -1
- package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_script_lang.mjs +2 -0
- package/es/modules/online-control/content.vue.d.ts +8 -0
- package/es/modules/online-control/content.vue.mjs +5 -0
- package/es/modules/online-control/content.vue_vue_type_script_setup_true_lang.mjs +48 -0
- package/es/modules/online-control/index.d.ts +8 -0
- package/es/modules/online-control/index.mjs +1 -0
- package/es/modules/online-control/model-control.d.ts +25 -0
- package/es/modules/online-control/model-control.mjs +61 -0
- package/es/modules/online-control/online-broadcast.d.ts +2 -0
- package/es/modules/online-control/online-broadcast.mjs +30 -0
- package/es/modules/online-control/online-control.const.d.ts +32 -0
- package/es/modules/online-control/online-control.const.mjs +36 -0
- package/es/modules/online-control/online-control.d.ts +63 -0
- package/es/modules/online-control/online-control.interface.d.ts +21 -0
- package/es/modules/online-control/online-control.mjs +125 -0
- package/es/modules/picture-cropper/src/CopperFreeModal.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/CopperFreeModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs +5 -0
- package/es/modules/picture-cropper/src/{CopperFreeModal.vue_vue_type_style_index_0_scoped_da6428d3_lang.css → CopperFreeModal.vue_vue_type_style_index_0_scoped_dbf8aa60_lang.css} +10 -10
- package/es/modules/picture-cropper/src/CopperModal.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/CopperModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs +1 -1
- package/es/modules/picture-cropper/src/{CopperModal.vue_vue_type_style_index_0_scoped_f1134678_lang.css → CopperModal.vue_vue_type_style_index_0_scoped_69bb424d_lang.css} +14 -14
- package/es/modules/picture-cropper/src/CropperAvatar.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/CropperAvatar.vue_vue_type_script_setup_true_name_CropperAvatar_lang.mjs +7 -7
- package/es/modules/picture-cropper/src/{CropperAvatar.vue_vue_type_style_index_0_scoped_ef939ff0_lang.css → CropperAvatar.vue_vue_type_style_index_0_scoped_0523079a_lang.css} +7 -7
- package/es/modules/picture-cropper/src/CropperFree.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/CropperFree.vue_vue_type_script_setup_true_name_CropperPhoto_lang.mjs +16 -8
- package/es/modules/picture-cropper/src/{CropperFree.vue_vue_type_style_index_0_scoped_c85d53db_lang.css → CropperFree.vue_vue_type_style_index_0_scoped_c2cff308_lang.css} +16 -16
- package/es/modules/relationship-diagram-config/components/diagram-config-item/diagram-config-item.d.ts +14 -0
- package/es/setup-app.mjs +2 -1
- package/es/types/index.d.ts +1 -1
- package/es/utils/confirm-util/confirm-util.d.ts +28 -0
- package/es/utils/confirm-util/confirm-util.mjs +79 -0
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +1 -0
- package/es/utils/overlay-controller/overlay-controller.d.ts +3 -1
- package/es/utils/overlay-controller/overlay-controller.mjs +9 -0
- package/package.json +16 -12
- package/dist/ColorPicker-BDeYRWA2.js +0 -1
- package/dist/_plugin-vue_export-helper-CGzGcWFX.js +0 -1
- package/dist/icon-next-picker-DYiHqnNR.js +0 -1
- package/dist/monaco-editor-CQJ9TMzD.js +0 -1
- package/dist/template-Dt6RJclf.js +0 -1
- package/dist/useMonacoEditor-DqSQTg7b.js +0 -1
- package/es/assets/svg/image-error.svg.mjs +0 -4
- package/es/components/BpmnRuntime/index.d.ts +0 -2
- package/es/components/BpmnRuntime/index.mjs +0 -1
- package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue.mjs +0 -5
- package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue_vue_type_script_setup_true_lang.mjs +0 -83
- package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_style_index_0_scoped_cd95c416_lang.css +0 -17
- package/es/components/UserPick/src/user-pick.vue_vue_type_style_index_0_scoped_a49a84da_lang.css +0 -39
- package/es/components/image-upload/src/components/upload-design.vue_vue_type_style_index_0_scoped_575d3a1a_lang.css +0 -33
- package/es/components/label-design/components/widgets/QrCode.vue_vue_type_style_index_0_scoped_61b471f2_lang.css +0 -10
- package/es/components/label-design/components/widgets/Text.vue_vue_type_style_index_0_scoped_a83957ab_lang.css +0 -32
- package/es/components/label-design/panels/widget/controls/VariableSelect.vue_vue_type_style_index_0_scoped_2c6f0905_lang.css +0 -12
- package/es/components/label-design/panels/widget/controls/field-content.vue_vue_type_style_index_0_scoped_259bce90_lang.css +0 -6
- package/es/components/select-user-modal/select-user-modal.vue_vue_type_style_index_0_scoped_2c0f184c_lang.css +0 -14
- package/es/hooks/useTheme.d.ts +0 -8
- package/es/hooks/useTheme.mjs +0 -16
- /package/es/modules/gct-table/editor/{gct-table-text/gct-table-text.css → gct-table-date/gct-table-date.css} +0 -0
package/README.md
CHANGED
|
@@ -1 +1,165 @@
|
|
|
1
|
+
# @gct-paas/core-web
|
|
1
2
|
|
|
3
|
+
PaaS 平台 **Web 端公共层**底包。在 `@gct-paas/core` 之上挂载 Web UI 运行时(消息、确认、弹层、表单/表格编辑器注册),并提供 ant-design-vue、Monaco、公式编辑器、DND 等 Web 专属模块。
|
|
4
|
+
|
|
5
|
+
> 本文档面向后续开发与 AI 模型阅读。**未引入本包时,`_gct.message` / `confirm` / `openUtil` 不可用。**
|
|
6
|
+
|
|
7
|
+
## 包信息
|
|
8
|
+
|
|
9
|
+
| 项 | 值 |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| 包名 | `@gct-paas/core-web` |
|
|
12
|
+
| 入口 | `es/index.mjs`(类型:`es/index.d.ts`) |
|
|
13
|
+
| 全局类型 | `@gct-paas/core-web/types` |
|
|
14
|
+
| peer | `@gct-paas/api`、`core`、`core-components`、`scss`、`v-ben`、`vue>=3`、`vant>=4` |
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { coreWebSetupApp, coreWebCreateAppVue } from '@gct-paas/core-web';
|
|
18
|
+
// 引入即 onInit(),挂载 _gct UI 能力与 register.*
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 在 monorepo 中的位置
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
core
|
|
27
|
+
├── core-components / v-ben / scss
|
|
28
|
+
└── core-web(Web 公共层,挂载 _gct UI)
|
|
29
|
+
├── design → design-web
|
|
30
|
+
└── render → render-web
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
规划中:`core-mobile` / `core-pad` 为端侧对等层(仓库暂未包含)。
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 依赖说明
|
|
38
|
+
|
|
39
|
+
### 关键 workspace 依赖
|
|
40
|
+
|
|
41
|
+
| 包 | 用途 |
|
|
42
|
+
| --- | --- |
|
|
43
|
+
| `@gct-paas/core` | `_gct` 全局对象、store、工具 |
|
|
44
|
+
| `@gct-paas/core-components` | 图标、wujie 容器 |
|
|
45
|
+
| `@gct-paas/scss` | 样式 |
|
|
46
|
+
| `@gct-paas/v-ben` | legacy 表格/按钮 |
|
|
47
|
+
|
|
48
|
+
### 主要 UI / 工具依赖
|
|
49
|
+
|
|
50
|
+
| 依赖 | 用途 |
|
|
51
|
+
| --- | --- |
|
|
52
|
+
| `ant-design-vue` | Web UI 基础 |
|
|
53
|
+
| `vxe-table` | 表格编辑 |
|
|
54
|
+
| `monaco-editor` | 代码编辑器 |
|
|
55
|
+
| `@wangeditor/editor` | 富文本 |
|
|
56
|
+
| `vue3-dnd` / `vuedraggable` / `sortablejs` | 拖拽 |
|
|
57
|
+
| `@jsplumb/browser-ui` | 连线/关系图 |
|
|
58
|
+
| `wujie` / `wujie-vue3` | 微前端 |
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 源码结构
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
packages/core-web/src/
|
|
66
|
+
├── index.ts # onInit → 挂载 _gct
|
|
67
|
+
├── setup-app.ts # coreWebSetupApp(locale)
|
|
68
|
+
├── create-app-vue.ts # coreWebCreateAppVue(Antdv、表单、表格、Modal…)
|
|
69
|
+
├── modules/
|
|
70
|
+
│ ├── gct-form/ # 表单编辑器 + FormItemRegister
|
|
71
|
+
│ ├── gct-table/ # 表格编辑器 + TableEditorRegister
|
|
72
|
+
│ ├── formula-editor/ # 公式
|
|
73
|
+
│ ├── gct-dnd/ # 拖拽
|
|
74
|
+
│ ├── global-modal/ # 全局 Modal/Drawer
|
|
75
|
+
│ ├── code-editor/ # Monaco 封装
|
|
76
|
+
│ └── … # color-picker、print-tmpl、relationship-diagram 等
|
|
77
|
+
├── components/ # 通用 Web 组件
|
|
78
|
+
├── utils/ # MessageUtil、ConfirmUtil、overlay(openUtil)
|
|
79
|
+
└── styles/
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 与 `_gct` 的关系
|
|
85
|
+
|
|
86
|
+
**引入本包时自动 `onInit()`,挂载 Web 端 UI 与注册中心:**
|
|
87
|
+
|
|
88
|
+
```ts
|
|
89
|
+
_gct.confirm = new ConfirmUtil();
|
|
90
|
+
_gct.message = new MessageUtil();
|
|
91
|
+
_gct.openUtil = overlay;
|
|
92
|
+
_gct.register.editor = new EditorRegister();
|
|
93
|
+
_gct.register.formItem = new FormItemRegister();
|
|
94
|
+
_gct.register.tableEditor = new TableEditorRegister();
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
| 成员 | 说明 |
|
|
98
|
+
| --- | --- |
|
|
99
|
+
| `message` | 全局消息(axios 拦截器、业务提示) |
|
|
100
|
+
| `confirm` | 确认框 |
|
|
101
|
+
| `openUtil` | Overlay 弹层/抽屉控制器 |
|
|
102
|
+
| `register.editor` | 属性编辑器注册 |
|
|
103
|
+
| `register.formItem` | 表单项编辑器注册 |
|
|
104
|
+
| `register.tableEditor` | 表格列编辑器注册 |
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 启动与用法
|
|
109
|
+
|
|
110
|
+
推荐启动顺序(Web 应用):
|
|
111
|
+
|
|
112
|
+
```ts
|
|
113
|
+
import { setupApp, createAppVue } from '@gct-paas/core';
|
|
114
|
+
import { coreWebSetupApp, coreWebCreateAppVue } from '@gct-paas/core-web';
|
|
115
|
+
import '@gct-paas/core-web'; // 确保 onInit 执行(若未 transitively 引入)
|
|
116
|
+
|
|
117
|
+
const app = createApp(Root);
|
|
118
|
+
|
|
119
|
+
await setupApp(app); // core:_gct.init、拦截器、平台配置
|
|
120
|
+
await coreWebSetupApp(app); // 注册 core-web locale
|
|
121
|
+
|
|
122
|
+
createAppVue(app); // core:i18n + router
|
|
123
|
+
coreWebCreateAppVue(app); // Antdv、GctForm、GctTable、Modal…
|
|
124
|
+
|
|
125
|
+
app.mount('#app');
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
典型 import:
|
|
129
|
+
|
|
130
|
+
```ts
|
|
131
|
+
import { useNamespace, t, OverlayContainer } from '@gct-paas/core';
|
|
132
|
+
import { GctForm, BasicModal, useModal } from '@gct-paas/core-web';
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## 主要导出速查
|
|
138
|
+
|
|
139
|
+
| 类别 | 示例 |
|
|
140
|
+
| --- | --- |
|
|
141
|
+
| 启动 | `coreWebSetupApp`、`coreWebCreateAppVue` |
|
|
142
|
+
| 表单/表格 | `gct-form`、`gct-table` 模块导出 |
|
|
143
|
+
| 弹层 | `BasicModal`、`BasicDrawer`、`global-modal` |
|
|
144
|
+
| 编辑器 | `code-editor`、`formula-editor`、`color-picker` |
|
|
145
|
+
| 工具 | `MessageUtil`、`ConfirmUtil`、`overlay`(内部挂到 `_gct`) |
|
|
146
|
+
| Hooks | `useModal` 等(见 `hooks/`) |
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## 给后续模型的约束
|
|
151
|
+
|
|
152
|
+
1. Web 端需要 `_gct.message.error()` 等时,**必须**依赖并引入 `@gct-paas/core-web`。
|
|
153
|
+
2. 设计器/渲染器依赖本包的表单、表格、overlay,不要绕过 `register.*` 直接硬编码编辑器。
|
|
154
|
+
3. `coreWebCreateAppVue` 会调用 `coreComponentsCreateAppVue`,无需重复注册跨端组件。
|
|
155
|
+
4. 新 Web 组件放 `components/` 或 `modules/`,遵循 BEM + TSX 规范。
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 本地命令
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
cd packages/core-web
|
|
163
|
+
npm run dev
|
|
164
|
+
npm run build # lint + vue-tsc + 双 Vite 构建
|
|
165
|
+
```
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{t}from"./chunk-DPOkwzLC.js";var e=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.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}}),n=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CODE39=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=t.toUpperCase(),n.mod43&&(t+=function(t){return i[t]}(function(t){for(var e=0,n=0;n<t.length;n++)e+=f(t[n]);return e%43}(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,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:"encode",value:function(){for(var t=u("*"),e=0;e<this.data.length;e++)t+=u(this.data[e])+"0";return{data:t+=u("*"),text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default),i=["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","-","."," ","$","/","+","%","*"],a=[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 u(t){return function(t){return a[t].toString(2)}(f(t))}function f(t){return i.indexOf(t)}t.CODE39=o}),r=/* @__PURE__ */t(t=>{var e;function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_A=0,o=t.SET_B=1,i=t.SET_C=2;t.SHIFT=98;var a=t.START_A=103,u=t.START_B=104,f=t.START_C=105;t.MODULO=103,t.STOP=106,t.FNC1=207,t.SET_BY_CODE=(n(e={},a,r),n(e,u,o),n(e,f,i),e),t.SWAP={101:r,100:o,99:i},t.A_START_CHAR=String.fromCharCode(208),t.B_START_CHAR=String.fromCharCode(209),t.C_START_CHAR=String.fromCharCode(210),t.A_CHARS="[\0-_È-Ï]",t.B_CHARS="[ -È-Ï]",t.C_CHARS="(Ï*[0-9]{2}Ï*)",t.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]}),o=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(n=e())&&n.__esModule?n:{default:n},a=r(),u=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 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.substring(1),n));return r.bytes=t.split("").map(function(t){return t.charCodeAt(0)}),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),o(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.bytes,n=t.shift()-105,r=a.SET_BY_CODE[n];if(void 0===r)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&t.unshift(a.FNC1);var o=e.next(t,1,r);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(n)+o.result+e.getBar((o.checksum+n)%a.MODULO)+e.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var t=this.options.ean128||!1;return"string"==typeof t&&(t="true"===t.toLowerCase()),t}}],[{key:"getBar",value:function(t){return a.BARS[t]?a.BARS[t].toString():""}},{key:"correctIndex",value:function(t,e){if(e===a.SET_A){var n=t.shift();return n<32?n+64:n-32}return e===a.SET_B?t.shift()-32:10*(t.shift()-48)+t.shift()-48}},{key:"next",value:function(t,n,r){if(!t.length)return{result:"",checksum:0};var o=void 0,i=void 0;if(t[0]>=200){i=t.shift()-105;var u=a.SWAP[i];void 0!==u?o=e.next(t,n+1,u):(r!==a.SET_A&&r!==a.SET_B||i!==a.SHIFT||(t[0]=r===a.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),o=e.next(t,n+1,r))}else i=e.correctIndex(t,r),o=e.next(t,n+1,r);var f=i*n;return{result:e.getBar(i)+o.result,checksum:f+o.checksum}}}]),e}(i.default);t.default=u}),i=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=r(),n=function(t){return t.match(new RegExp("^"+e.A_CHARS+"*"))[0].length},o=function(t){return t.match(new RegExp("^"+e.B_CHARS+"*"))[0].length},i=function(t){return t.match(new RegExp("^"+e.C_CHARS+"*"))[0]};function a(t,n){var r=n?e.A_CHARS:e.B_CHARS,o=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+u(t.substring(o[1].length));var i=t.match(new RegExp("^"+r+"+"))[0];return i.length===t.length?t:i+String.fromCharCode(n?205:206)+a(t.substring(i.length),!n)}function u(t){var e=i(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var u=n(t)>=o(t);return e+String.fromCharCode(u?206:205)+a(t,u)}t.default=function(t){var r=void 0;if(i(t).length>=2)r=e.C_START_CHAR+u(t);else{var f=n(t)>o(t);r=(f?e.A_START_CHAR:e.B_START_CHAR)+a(t,f)}return r.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(t,e){return String.fromCharCode(203)+e})}}),a=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=r(o()),n=r(i());function r(t){return t&&t.__esModule?t:{default:t}}function a(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 u=function(t){function e(t,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,n.default)(t),r));else o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return a(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),e}(e.default);t.default=u}),u=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(e=o())&&e.__esModule?e:{default:e},a=r(),u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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,a.A_START_CHAR+t,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),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),e}(i.default);t.default=u}),f=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(e=o())&&e.__esModule?e:{default:e},a=r(),u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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,a.B_START_CHAR+t,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),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),e}(i.default);t.default=u}),l=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(e=o())&&e.__esModule?e:{default:e},a=r(),u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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,a.C_START_CHAR+t,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),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),e}(i.default);t.default=u}),c=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CODE128C=t.CODE128B=t.CODE128A=t.CODE128=void 0;var e=i(a()),n=i(u()),r=i(f()),o=i(l());function i(t){return t&&t.__esModule?t:{default:t}}t.CODE128=e.default,t.CODE128A=n.default,t.CODE128B=r.default,t.CODE128C=o.default}),s=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SIDE_BIN="101",t.MIDDLE_BIN="01010",t.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"]},t.EAN2_STRUCTURE=["LL","LG","GL","GG"],t.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],t.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),p=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=s();t.default=function(t,n,r){var o=t.split("").map(function(t,r){return e.BINARIES[n[r]]}).map(function(e,n){return e?e[t[n]]:""});if(r){var i=t.length-1;o=o.map(function(t,e){return e<i?t+r:t})}return o.join("")}}),d=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=s(),o=i(p());function i(t){return t&&t.__esModule?t:{default:t}}var a=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 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,n));return r.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,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),n(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,o.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,o.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:r.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:r.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:r.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){return{data:[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN].join(""),text:this.text}}}]),e}(i(e()).default);t.default=a}),h=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=s(),i=(e=d())&&e.__esModule?e:{default:e},a=function(t){return(10-t.substr(0,12).split("").map(function(t){return+t}).reduce(function(t,e,n){return n%2?t+3*e:t+e},0)%10)%10},u=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),-1!==t.search(/^[0-9]{12}$/)&&(t+=a(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,n));return r.lastChar=n.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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===a(this.data)}},{key:"leftText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var t=this.data.substr(1,6),n=o.EAN13_STRUCTURE[this.data[0]];return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,n)}},{key:"rightText",value:function(){return r(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 r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=r(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}(i.default);t.default=u}),y=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=(e=d())&&e.__esModule?e:{default:e},i=function(t){return(10-t.substr(0,7).split("").map(function(t){return+t}).reduce(function(t,e,n){return n%2?t+e:t+3*e},0)%10)%10},a=function(t){function e(t,n){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+=i(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,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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===i(this.data)}},{key:"leftText",value:function(){return r(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 r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return r(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 r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),e}(o.default);t.default=a}),b=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=s(),o=i(p());function i(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var t,e=r.EAN5_STRUCTURE[t=this.data,t.split("").map(function(t){return+t}).reduce(function(t,e,n){return n%2?t+9*e:t+3*e},0)%10];return{data:"1011"+(0,o.default)(this.data,e,"01"),text:this.text}}}]),e}(i(e()).default);t.default=a}),v=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=s(),o=i(p());function i(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var t=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,o.default)(this.data,t,"01"),text:this.text}}}]),e}(i(e()).default);t.default=a}),_=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();t.checksum=a;var r=o(p());function o(t){return t&&t.__esModule?t:{default:t}}var i=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),-1!==t.search(/^[0-9]{11}$/)&&(t+=a(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,n));return r.displayValue=n.displayValue,n.fontSize>10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==a(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,r.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,r.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,r.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,r.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,r.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,r.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}(o(e()).default);function a(t){var e,n=0;for(e=1;e<11;e+=2)n+=parseInt(t[e]);for(e=0;e<11;e+=2)n+=3*parseInt(t[e]);return(10-n%10)%10}t.default=i}),g=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=a(p()),o=a(e()),i=_();function a(t){return t&&t.__esModule?t:{default:t}}function u(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 f=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],l=[["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,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(r.isValid=!1,-1!==t.search(/^[0-9]{6}$/))r.middleDigits=t,r.upcA=s(t,"0"),r.text=n.text||""+r.upcA[0]+t+r.upcA[r.upcA.length-1],r.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/))return u(r);if(r.middleDigits=t.substring(1,t.length-1),r.upcA=s(r.middleDigits,t[0]),r.upcA[r.upcA.length-1]!==t[t.length-1])return u(r);r.isValid=!0}return r.displayValue=n.displayValue,n.fontSize>10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,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),n(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],n=l[parseInt(e)][parseInt(t)];return(0,r.default)(this.middleDigits,n)}}]),e}(o.default);function s(t,e){for(var n=f[parseInt(t[t.length-1])],r="",o=0,a=0;a<n.length;a++){var u=n[a];r+="X"===u?t[o++]:u}return(r=""+e+r)+(0,i.checksum)(r)}t.default=c}),O=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UPCE=t.UPC=t.EAN2=t.EAN5=t.EAN8=t.EAN13=void 0;var e=u(h()),n=u(y()),r=u(b()),o=u(v()),i=u(_()),a=u(g());function u(t){return t&&t.__esModule?t:{default:t}}t.EAN13=e.default,t.EAN8=n.default,t.EAN5=r.default,t.EAN2=o.default,t.UPC=i.default,t.UPCE=a.default}),E=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.START_BIN="1010",t.END_BIN="11101",t.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),w=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=E(),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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)).apply(this,arguments))}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-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var t=this,e=this.data.match(/.{2}/g).map(function(e){return t.encodePair(e)}).join("");return{data:o.START_BIN+e+o.END_BIN,text:this.text}}},{key:"encodePair",value:function(t){var e=o.BINARIES[t[1]];return o.BINARIES[t[0]].split("").map(function(t,n){return("1"===t?"111":"1")+("1"===e[n]?"000":"0")}).join("")}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.default=i}),m=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=(e=w())&&e.__esModule?e:{default:e},o=function(t){var e=t.substr(0,13).split("").map(function(t){return parseInt(t,10)}).reduce(function(t,e,n){return t+e*(3-n%2*2)},0);return 10*Math.ceil(e/10)-e},i=function(t){function e(t,n){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]{13}$/)&&(t+=o(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,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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===o(this.data)}}]),e}(r.default);t.default=i}),j=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ITF14=t.ITF=void 0;var e=r(w()),n=r(m());function r(t){return t&&t.__esModule?t:{default:t}}t.ITF=e.default,t.ITF14=n.default}),x=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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(){for(var t="110",e=0;e<this.data.length;e++){var n=parseInt(this.data[e]).toString(2);n=i(n,4-n.length);for(var r=0;r<n.length;r++)t+="0"==n[r]?"100":"110"}return{data:t+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);function i(t,e){for(var n=0;n<e;n++)t="0"+t;return t}t.default=o}),P=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mod10=function(t){for(var e=0,n=0;n<t.length;n++){var r=parseInt(t[n]);(n+t.length)%2==0?e+=r:e+=2*r%10+Math.floor(2*r/10)}return(10-e%10)%10},t.mod11=function(t){for(var e=0,n=[2,3,4,5,6,7],r=0;r<t.length;r++){var o=parseInt(t[t.length-1-r]);e+=n[r%n.length]*o}return(11-e%11)%11}}),S=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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+(0,r.mod10)(t),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),e}(n.default);t.default=o}),C=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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+(0,r.mod11)(t),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),e}(n.default);t.default=o}),A=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t+=(0,r.mod10)(t),t+=(0,r.mod10)(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,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),e}(n.default);t.default=o}),T=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t+=(0,r.mod11)(t),t+=(0,r.mod10)(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,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),e}(n.default);t.default=o}),M=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MSI1110=t.MSI1010=t.MSI11=t.MSI10=t.MSI=void 0;var e=a(x()),n=a(S()),r=a(C()),o=a(A()),i=a(T());function a(t){return t&&t.__esModule?t:{default:t}}t.MSI=e.default,t.MSI10=n.default,t.MSI11=r.default,t.MSI1010=o.default,t.MSI1110=i.default}),R=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.pharmacode=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=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 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,n));return r.number=parseInt(t,10),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),r(e,[{key:"encode",value:function(){for(var t=this.number,e="";!isNaN(t)&&0!=t;)t%2==0?(e="11100"+e,t=(t-2)/2):(e="100"+e,t=(t-1)/2);return{data:e=e.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.pharmacode=o}),L=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.codabar=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=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),0===t.search(/^[0-9\-\$\:\.\+\/]+$/)&&(t="A"+t+"A");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.toUpperCase(),n));return r.text=r.options.text||r.text.replace(/[A-D]/g,""),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),r(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var t=[],e=this.getEncodings(),n=0;n<this.data.length;n++)t.push(e[this.data.charAt(n)]),n!==this.data.length-1&&t.push("0");return{text:this.text,data:t.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"}}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.codabar=o}),k=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SYMBOLS=["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","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],t.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],t.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"":["($)","G"],"\b":["($)","H"],"\t":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),I=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=k(),i=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.data.split("").flatMap(function(t){return o.MULTI_SYMBOLS[t]||t}),n=t.map(function(t){return e.getEncoding(t)}).join(""),r=e.checksum(t,20),i=e.checksum(t.concat(r),15);return{text:this.text,data:e.getEncoding("ÿ")+n+e.getEncoding(r)+e.getEncoding(i)+e.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(t){return o.BINARIES[e.symbolValue(t)]}},{key:"getSymbol",value:function(t){return o.SYMBOLS[t]}},{key:"symbolValue",value:function(t){return o.SYMBOLS.indexOf(t)}},{key:"checksum",value:function(t,n){var r=t.slice().reverse().reduce(function(t,r,o){var i=o%n+1;return t+e.symbolValue(r)*i},0);return e.getSymbol(r%47)}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.default=i}),G=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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),n(e,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),e}(((e=I())&&e.__esModule?e:{default:e}).default);t.default=r}),B=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CODE93FullASCII=t.CODE93=void 0;var e=r(I()),n=r(G());function r(t){return t&&t.__esModule?t:{default:t}}t.CODE93=e.default,t.CODE93FullASCII=n.default}),D=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenericBarcode=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.GenericBarcode=o}),N=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=n(),r=c(),o=O(),i=j(),a=M(),u=R(),f=L(),l=B(),s=D();t.default={CODE39:e.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:o.EAN13,EAN8:o.EAN8,EAN5:o.EAN5,EAN2:o.EAN2,UPC:o.UPC,UPCE:o.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:a.MSI,MSI10:a.MSI10,MSI11:a.MSI11,MSI1010:a.MSI1010,MSI1110:a.MSI1110,pharmacode:u.pharmacode,codabar:f.codabar,CODE93:l.CODE93,CODE93FullASCII:l.CODE93FullASCII,GenericBarcode:s.GenericBarcode}}),$=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};t.default=function(t,n){return e({},t,n)}}),X=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){var e=[];return function t(n){if(Array.isArray(n))for(var r=0;r<n.length;r++)t(n[r]);else n.text=n.text||"",n.data=n.data||"",e.push(n)}(t),e}}),H=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}}),z=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var n in e)e.hasOwnProperty(n)&&"string"==typeof t[n=e[n]]&&(t[n]=parseInt(t[n],10));return"string"==typeof t.displayValue&&(t.displayValue="false"!=t.displayValue),t}}),V=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={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(){}}}),U=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=r(z()),n=r(V());function r(t){return t&&t.__esModule?t:{default:t}}t.default=function(t){var r={};for(var o in n.default)n.default.hasOwnProperty(o)&&(t.hasAttribute("jsbarcode-"+o.toLowerCase())&&(r[o]=t.getAttribute("jsbarcode-"+o.toLowerCase())),t.hasAttribute("data-"+o.toLowerCase())&&(r[o]=t.getAttribute("data-"+o.toLowerCase())));return r.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),(0,e.default)(r)}}),F=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getTotalWidthOfEncodings=t.calculateEncodingAttributes=t.getBarcodePadding=t.getEncodingHeight=t.getMaximumHeightOfEncodings=void 0;var e,n=(e=$())&&e.__esModule?e:{default:e};function r(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function o(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 i(t,e,n){var r;if(n)r=n;else{if("undefined"==typeof document)return 0;r=document.createElement("canvas").getContext("2d")}r.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var o=r.measureText(t);return o?o.width:0}t.getMaximumHeightOfEncodings=function(t){for(var e=0,n=0;n<t.length;n++)t[n].height>e&&(e=t[n].height);return e},t.getEncodingHeight=r,t.getBarcodePadding=o,t.calculateEncodingAttributes=function(t,e,a){for(var u=0;u<t.length;u++){var f,l=t[u],c=(0,n.default)(e,l.options);f=c.displayValue?i(l.text,c,a):0;var s=l.data.length*c.width;l.width=Math.ceil(Math.max(f,s)),l.height=r(l,c),l.barcodePadding=o(f,s,c)}},t.getTotalWidthOfEncodings=function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n].width;return e}}),W=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=(e=$())&&e.__esModule?e:{default:e},o=F(),i=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.canvas=e,this.encodings=n,this.options=r}return n(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 e=(0,r.default)(this.options,this.encodings[t].options);this.drawCanvasBarcode(e,this.encodings[t]),this.drawCanvasText(e,this.encodings[t]),this.moveCanvasDrawing(this.encodings[t])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var t=this.canvas.getContext("2d");t.save(),(0,o.calculateEncodingAttributes)(this.encodings,this.options,t);var e=(0,o.getTotalWidthOfEncodings)(this.encodings),n=(0,o.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=e+this.options.marginLeft+this.options.marginRight,this.canvas.height=n,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,e){var n,r=this.canvas.getContext("2d"),o=e.data;n="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,r.fillStyle=t.lineColor;for(var i=0;i<o.length;i++){var a=i*t.width+e.barcodePadding;"1"===o[i]?r.fillRect(a,n,t.width,t.height):o[i]&&r.fillRect(a,n,t.width,t.height*o[i])}}},{key:"drawCanvasText",value:function(t,e){var n,r,o=this.canvas.getContext("2d"),i=t.fontOptions+" "+t.fontSize+"px "+t.font;t.displayValue&&(r="top"==t.textPosition?t.marginTop+t.fontSize-t.textMargin:t.height+t.textMargin+t.marginTop+t.fontSize,o.font=i,"left"==t.textAlign||e.barcodePadding>0?(n=0,o.textAlign="left"):"right"==t.textAlign?(n=e.width-1,o.textAlign="right"):(n=e.width/2,o.textAlign="center"),o.fillText(e.text,n,r))}},{key:"moveCanvasDrawing",value:function(t){this.canvas.getContext("2d").translate(t.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),t}();t.default=i}),Y=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=(e=$())&&e.__esModule?e:{default:e},o=F(),i="http://www.w3.org/2000/svg",a=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.svg=e,this.encodings=n,this.options=r,this.document=r.xmlDocument||document}return n(t,[{key:"render",value:function(){var t=this.options.marginLeft;this.prepareSVG();for(var e=0;e<this.encodings.length;e++){var n=this.encodings[e],o=(0,r.default)(this.options,n.options),i=this.createGroup(t,o.marginTop,this.svg);this.setGroupOptions(i,o),this.drawSvgBarcode(i,o,n),this.drawSVGText(i,o,n),t+=n.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,o.calculateEncodingAttributes)(this.encodings,this.options);var t=(0,o.getTotalWidthOfEncodings)(this.encodings),e=(0,o.getMaximumHeightOfEncodings)(this.encodings),n=t+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(n,e),this.options.background&&this.drawRect(0,0,n,e,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(t,e,n){var r,o=n.data;r="top"==e.textPosition?e.fontSize+e.textMargin:0;for(var i=0,a=0,u=0;u<o.length;u++)a=u*e.width+n.barcodePadding,"1"===o[u]?i++:i>0&&(this.drawRect(a-e.width*i,r,e.width*i,e.height,t),i=0);i>0&&this.drawRect(a-e.width*(i-1),r,e.width*i,e.height,t)}},{key:"drawSVGText",value:function(t,e,n){var r,o,a=this.document.createElementNS(i,"text");e.displayValue&&(a.setAttribute("font-family",e.font),a.setAttribute("font-size",e.fontSize),e.fontOptions.includes("bold")&&a.setAttribute("font-weight","bold"),e.fontOptions.includes("italic")&&a.setAttribute("font-style","italic"),o="top"==e.textPosition?e.fontSize-e.textMargin:e.height+e.textMargin+e.fontSize,"left"==e.textAlign||n.barcodePadding>0?(r=0,a.setAttribute("text-anchor","start")):"right"==e.textAlign?(r=n.width-1,a.setAttribute("text-anchor","end")):(r=n.width/2,a.setAttribute("text-anchor","middle")),a.setAttribute("x",r),a.setAttribute("y",o),a.appendChild(this.document.createTextNode(n.text)),t.appendChild(a))}},{key:"setSvgAttributes",value:function(t,e){var n=this.svg;n.setAttribute("width",t+"px"),n.setAttribute("height",e+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+t+" "+e),n.setAttribute("xmlns",i),n.setAttribute("version","1.1")}},{key:"createGroup",value:function(t,e,n){var r=this.document.createElementNS(i,"g");return r.setAttribute("transform","translate("+t+", "+e+")"),n.appendChild(r),r}},{key:"setGroupOptions",value:function(t,e){t.setAttribute("fill",e.lineColor)}},{key:"drawRect",value:function(t,e,n,r,o){var a=this.document.createElementNS(i,"rect");return a.setAttribute("x",t),a.setAttribute("y",e),a.setAttribute("width",n),a.setAttribute("height",r),o.appendChild(a),a}}]),t}();t.default=a}),J=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),n=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.object=e,this.encodings=n,this.options=r}return e(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();t.default=n}),Q=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=o(W()),n=o(Y()),r=o(J());function o(t){return t&&t.__esModule?t:{default:t}}t.default={CanvasRenderer:e.default,SVGRenderer:n.default,ObjectRenderer:r.default}}),Z=/* @__PURE__ */t(t=>{function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(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 r(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(t,"__esModule",{value:!0});var o=function(){function t(r,o){e(this,t);var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.name="InvalidInputException",i.symbology=r,i.input=o,i.message='"'+i.input+'" is not a valid input for '+i.symbology,i}return r(t,Error),t}(),i=function(){function t(){e(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.name="InvalidElementException",r.message="Not supported type to render on",r}return r(t,Error),t}(),a=function(){function t(){e(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.name="NoElementException",r.message="No element to render on.",r}return r(t,Error),t}();t.InvalidInputException=o,t.InvalidElementException=i,t.NoElementException=a}),K=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=i(U()),r=i(Q()),o=Z();function i(t){return t&&t.__esModule?t:{default:t}}t.default=function t(i){if("string"==typeof i)return function(e){var n=document.querySelectorAll(e);if(0!==n.length){for(var r=[],o=0;o<n.length;o++)r.push(t(n[o]));return r}}(i);if(Array.isArray(i)){for(var a=[],u=0;u<i.length;u++)a.push(t(i[u]));return a}if("undefined"!=typeof HTMLCanvasElement&&i instanceof HTMLImageElement)return f=i,{element:l=document.createElement("canvas"),options:(0,n.default)(f),renderer:r.default.CanvasRenderer,afterRender:function(){f.setAttribute("src",l.toDataURL())}};if(i&&i.nodeName&&"svg"===i.nodeName.toLowerCase()||"undefined"!=typeof SVGElement&&i instanceof SVGElement)return{element:i,options:(0,n.default)(i),renderer:r.default.SVGRenderer};if("undefined"!=typeof HTMLCanvasElement&&i instanceof HTMLCanvasElement)return{element:i,options:(0,n.default)(i),renderer:r.default.CanvasRenderer};if(i&&i.getContext)return{element:i,renderer:r.default.CanvasRenderer};if(i&&"object"===(void 0===i?"undefined":e(i))&&!i.nodeName)return{element:i,renderer:r.default.ObjectRenderer};throw new o.InvalidElementException;var f,l}}),q=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),n=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.api=e}return e(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 e=t.apply(void 0,arguments);return this.api._options.valid(!0),e}catch(n){return this.handleCatch(n),this.api}}}]),t}();t.default=n}),tt=/* @__PURE__ */t((t,e)=>{var n=s(N()),r=s($()),o=s(X()),i=s(H()),a=s(K()),u=s(z()),f=s(q()),l=Z(),c=s(V());function s(t){return t&&t.__esModule?t:{default:t}}var p=function(){},d=function(t,e,n){var r=new p;if(void 0===t)throw Error("No element to render on was provided.");return r._renderProperties=(0,a.default)(t),r._encodings=[],r._options=c.default,r._errorHandler=new f.default(r),void 0!==e&&((n=n||{}).format||(n.format=v()),r.options(n)[n.format](e,n).render()),r};for(var h in d.getModule=function(t){return n.default[t]},n.default)n.default.hasOwnProperty(h)&&y(n.default,h);function y(t,e){p.prototype[e]=p.prototype[e.toUpperCase()]=p.prototype[e.toLowerCase()]=function(n,o){var i=this;return i._errorHandler.wrapBarcodeCall(function(){o.text=void 0===o.text?void 0:""+o.text;var a=(0,r.default)(i._options,o);a=(0,u.default)(a);var f=t[e],l=b(n,f,a);return i._encodings.push(l),i})}}function b(t,e,n){var i=new e(t=""+t,n);if(!i.valid())throw new l.InvalidInputException(i.constructor.name,t);var a=i.encode();a=(0,o.default)(a);for(var u=0;u<a.length;u++)a[u].options=(0,r.default)(n,a[u].options);return a}function v(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}function _(t,e,n){e=(0,o.default)(e);for(var a=0;a<e.length;a++)e[a].options=(0,r.default)(n,e[a].options),(0,i.default)(e[a].options);(0,i.default)(n),new(0,t.renderer)(t.element,e,n).render(),t.afterRender&&t.afterRender()}p.prototype.options=function(t){return this._options=(0,r.default)(this._options,t),this},p.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this},p.prototype.init=function(){var t;if(this._renderProperties)for(var e in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){t=this._renderProperties[e];var o=(0,r.default)(this._options,t.options);"auto"==o.format&&(o.format=v()),this._errorHandler.wrapBarcodeCall(function(){var e=b(o.value,n.default[o.format.toUpperCase()],o);_(t,e,o)})}},p.prototype.render=function(){if(!this._renderProperties)throw new l.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)_(this._renderProperties[t],this._encodings,this._options);else _(this._renderProperties,this._encodings,this._options);return this},p.prototype._defaults=c.default,"undefined"!=typeof window&&(window.JsBarcode=d),"undefined"!=typeof jQuery&&(jQuery.fn.JsBarcode=function(t,e){var n=[];return jQuery(this).each(function(){n.push(this)}),d(n,t,e)}),e.exports=d});export default tt();
|
|
1
|
+
/*! @gct-paas/core-web v6.0.0-dev.9 */
|
|
2
|
+
import{t}from"./chunk-BD3kbzfk.js";var e=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.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}}),n=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CODE39=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=t.toUpperCase(),n.mod43&&(t+=function(t){return i[t]}(function(t){for(var e=0,n=0;n<t.length;n++)e+=f(t[n]);return e%43}(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,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:"encode",value:function(){for(var t=u("*"),e=0;e<this.data.length;e++)t+=u(this.data[e])+"0";return{data:t+=u("*"),text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default),i=["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","-","."," ","$","/","+","%","*"],a=[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 u(t){return function(t){return a[t].toString(2)}(f(t))}function f(t){return i.indexOf(t)}t.CODE39=o}),r=/* @__PURE__ */t(t=>{var e;function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_A=0,o=t.SET_B=1,i=t.SET_C=2;t.SHIFT=98;var a=t.START_A=103,u=t.START_B=104,f=t.START_C=105;t.MODULO=103,t.STOP=106,t.FNC1=207,t.SET_BY_CODE=(n(e={},a,r),n(e,u,o),n(e,f,i),e),t.SWAP={101:r,100:o,99:i},t.A_START_CHAR=String.fromCharCode(208),t.B_START_CHAR=String.fromCharCode(209),t.C_START_CHAR=String.fromCharCode(210),t.A_CHARS="[\0-_È-Ï]",t.B_CHARS="[ -È-Ï]",t.C_CHARS="(Ï*[0-9]{2}Ï*)",t.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]}),o=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(n=e())&&n.__esModule?n:{default:n},a=r(),u=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 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.substring(1),n));return r.bytes=t.split("").map(function(t){return t.charCodeAt(0)}),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),o(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.bytes,n=t.shift()-105,r=a.SET_BY_CODE[n];if(void 0===r)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&t.unshift(a.FNC1);var o=e.next(t,1,r);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(n)+o.result+e.getBar((o.checksum+n)%a.MODULO)+e.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var t=this.options.ean128||!1;return"string"==typeof t&&(t="true"===t.toLowerCase()),t}}],[{key:"getBar",value:function(t){return a.BARS[t]?a.BARS[t].toString():""}},{key:"correctIndex",value:function(t,e){if(e===a.SET_A){var n=t.shift();return n<32?n+64:n-32}return e===a.SET_B?t.shift()-32:10*(t.shift()-48)+t.shift()-48}},{key:"next",value:function(t,n,r){if(!t.length)return{result:"",checksum:0};var o=void 0,i=void 0;if(t[0]>=200){i=t.shift()-105;var u=a.SWAP[i];void 0!==u?o=e.next(t,n+1,u):(r!==a.SET_A&&r!==a.SET_B||i!==a.SHIFT||(t[0]=r===a.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),o=e.next(t,n+1,r))}else i=e.correctIndex(t,r),o=e.next(t,n+1,r);var f=i*n;return{result:e.getBar(i)+o.result,checksum:f+o.checksum}}}]),e}(i.default);t.default=u}),i=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=r(),n=function(t){return t.match(new RegExp("^"+e.A_CHARS+"*"))[0].length},o=function(t){return t.match(new RegExp("^"+e.B_CHARS+"*"))[0].length},i=function(t){return t.match(new RegExp("^"+e.C_CHARS+"*"))[0]};function a(t,n){var r=n?e.A_CHARS:e.B_CHARS,o=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+u(t.substring(o[1].length));var i=t.match(new RegExp("^"+r+"+"))[0];return i.length===t.length?t:i+String.fromCharCode(n?205:206)+a(t.substring(i.length),!n)}function u(t){var e=i(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var u=n(t)>=o(t);return e+String.fromCharCode(u?206:205)+a(t,u)}t.default=function(t){var r=void 0;if(i(t).length>=2)r=e.C_START_CHAR+u(t);else{var f=n(t)>o(t);r=(f?e.A_START_CHAR:e.B_START_CHAR)+a(t,f)}return r.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(t,e){return String.fromCharCode(203)+e})}}),a=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=r(o()),n=r(i());function r(t){return t&&t.__esModule?t:{default:t}}function a(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 u=function(t){function e(t,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,n.default)(t),r));else o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return a(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),e}(e.default);t.default=u}),u=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(e=o())&&e.__esModule?e:{default:e},a=r(),u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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,a.A_START_CHAR+t,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),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),e}(i.default);t.default=u}),f=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(e=o())&&e.__esModule?e:{default:e},a=r(),u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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,a.B_START_CHAR+t,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),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),e}(i.default);t.default=u}),l=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=(e=o())&&e.__esModule?e:{default:e},a=r(),u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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,a.C_START_CHAR+t,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),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),e}(i.default);t.default=u}),c=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CODE128C=t.CODE128B=t.CODE128A=t.CODE128=void 0;var e=i(a()),n=i(u()),r=i(f()),o=i(l());function i(t){return t&&t.__esModule?t:{default:t}}t.CODE128=e.default,t.CODE128A=n.default,t.CODE128B=r.default,t.CODE128C=o.default}),s=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SIDE_BIN="101",t.MIDDLE_BIN="01010",t.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"]},t.EAN2_STRUCTURE=["LL","LG","GL","GG"],t.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],t.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),p=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=s();t.default=function(t,n,r){var o=t.split("").map(function(t,r){return e.BINARIES[n[r]]}).map(function(e,n){return e?e[t[n]]:""});if(r){var i=t.length-1;o=o.map(function(t,e){return e<i?t+r:t})}return o.join("")}}),d=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=s(),o=i(p());function i(t){return t&&t.__esModule?t:{default:t}}var a=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 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,n));return r.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,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),n(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,o.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,o.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:r.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:r.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:r.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){return{data:[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN].join(""),text:this.text}}}]),e}(i(e()).default);t.default=a}),h=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=s(),i=(e=d())&&e.__esModule?e:{default:e},a=function(t){return(10-t.substr(0,12).split("").map(function(t){return+t}).reduce(function(t,e,n){return n%2?t+3*e:t+e},0)%10)%10},u=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),-1!==t.search(/^[0-9]{12}$/)&&(t+=a(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,n));return r.lastChar=n.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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===a(this.data)}},{key:"leftText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var t=this.data.substr(1,6),n=o.EAN13_STRUCTURE[this.data[0]];return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,n)}},{key:"rightText",value:function(){return r(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 r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=r(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}(i.default);t.default=u}),y=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=(e=d())&&e.__esModule?e:{default:e},i=function(t){return(10-t.substr(0,7).split("").map(function(t){return+t}).reduce(function(t,e,n){return n%2?t+e:t+3*e},0)%10)%10},a=function(t){function e(t,n){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+=i(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,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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===i(this.data)}},{key:"leftText",value:function(){return r(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 r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return r(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 r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),e}(o.default);t.default=a}),b=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=s(),o=i(p());function i(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var t,e=r.EAN5_STRUCTURE[t=this.data,t.split("").map(function(t){return+t}).reduce(function(t,e,n){return n%2?t+9*e:t+3*e},0)%10];return{data:"1011"+(0,o.default)(this.data,e,"01"),text:this.text}}}]),e}(i(e()).default);t.default=a}),v=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=s(),o=i(p());function i(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var t=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,o.default)(this.data,t,"01"),text:this.text}}}]),e}(i(e()).default);t.default=a}),_=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();t.checksum=a;var r=o(p());function o(t){return t&&t.__esModule?t:{default:t}}var i=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),-1!==t.search(/^[0-9]{11}$/)&&(t+=a(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,n));return r.displayValue=n.displayValue,n.fontSize>10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==a(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,r.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,r.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,r.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,r.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,r.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,r.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}(o(e()).default);function a(t){var e,n=0;for(e=1;e<11;e+=2)n+=parseInt(t[e]);for(e=0;e<11;e+=2)n+=3*parseInt(t[e]);return(10-n%10)%10}t.default=i}),g=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=a(p()),o=a(e()),i=_();function a(t){return t&&t.__esModule?t:{default:t}}function u(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 f=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],l=[["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,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(r.isValid=!1,-1!==t.search(/^[0-9]{6}$/))r.middleDigits=t,r.upcA=s(t,"0"),r.text=n.text||""+r.upcA[0]+t+r.upcA[r.upcA.length-1],r.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/))return u(r);if(r.middleDigits=t.substring(1,t.length-1),r.upcA=s(r.middleDigits,t[0]),r.upcA[r.upcA.length-1]!==t[t.length-1])return u(r);r.isValid=!0}return r.displayValue=n.displayValue,n.fontSize>10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,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),n(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],n=l[parseInt(e)][parseInt(t)];return(0,r.default)(this.middleDigits,n)}}]),e}(o.default);function s(t,e){for(var n=f[parseInt(t[t.length-1])],r="",o=0,a=0;a<n.length;a++){var u=n[a];r+="X"===u?t[o++]:u}return(r=""+e+r)+(0,i.checksum)(r)}t.default=c}),O=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UPCE=t.UPC=t.EAN2=t.EAN5=t.EAN8=t.EAN13=void 0;var e=u(h()),n=u(y()),r=u(b()),o=u(v()),i=u(_()),a=u(g());function u(t){return t&&t.__esModule?t:{default:t}}t.EAN13=e.default,t.EAN8=n.default,t.EAN5=r.default,t.EAN2=o.default,t.UPC=i.default,t.UPCE=a.default}),E=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.START_BIN="1010",t.END_BIN="11101",t.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),w=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=E(),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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)).apply(this,arguments))}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-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var t=this,e=this.data.match(/.{2}/g).map(function(e){return t.encodePair(e)}).join("");return{data:o.START_BIN+e+o.END_BIN,text:this.text}}},{key:"encodePair",value:function(t){var e=o.BINARIES[t[1]];return o.BINARIES[t[0]].split("").map(function(t,n){return("1"===t?"111":"1")+("1"===e[n]?"000":"0")}).join("")}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.default=i}),m=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=(e=w())&&e.__esModule?e:{default:e},o=function(t){var e=t.substr(0,13).split("").map(function(t){return parseInt(t,10)}).reduce(function(t,e,n){return t+e*(3-n%2*2)},0);return 10*Math.ceil(e/10)-e},i=function(t){function e(t,n){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]{13}$/)&&(t+=o(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,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),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===o(this.data)}}]),e}(r.default);t.default=i}),j=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ITF14=t.ITF=void 0;var e=r(w()),n=r(m());function r(t){return t&&t.__esModule?t:{default:t}}t.ITF=e.default,t.ITF14=n.default}),x=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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(){for(var t="110",e=0;e<this.data.length;e++){var n=parseInt(this.data[e]).toString(2);n=i(n,4-n.length);for(var r=0;r<n.length;r++)t+="0"==n[r]?"100":"110"}return{data:t+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);function i(t,e){for(var n=0;n<e;n++)t="0"+t;return t}t.default=o}),P=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mod10=function(t){for(var e=0,n=0;n<t.length;n++){var r=parseInt(t[n]);(n+t.length)%2==0?e+=r:e+=2*r%10+Math.floor(2*r/10)}return(10-e%10)%10},t.mod11=function(t){for(var e=0,n=[2,3,4,5,6,7],r=0;r<t.length;r++){var o=parseInt(t[t.length-1-r]);e+=n[r%n.length]*o}return(11-e%11)%11}}),S=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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+(0,r.mod10)(t),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),e}(n.default);t.default=o}),C=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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+(0,r.mod11)(t),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),e}(n.default);t.default=o}),A=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t+=(0,r.mod10)(t),t+=(0,r.mod10)(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,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),e}(n.default);t.default=o}),T=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=(e=x())&&e.__esModule?e:{default:e},r=P(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t+=(0,r.mod11)(t),t+=(0,r.mod10)(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,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),e}(n.default);t.default=o}),M=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MSI1110=t.MSI1010=t.MSI11=t.MSI10=t.MSI=void 0;var e=a(x()),n=a(S()),r=a(C()),o=a(A()),i=a(T());function a(t){return t&&t.__esModule?t:{default:t}}t.MSI=e.default,t.MSI10=n.default,t.MSI11=r.default,t.MSI1010=o.default,t.MSI1110=i.default}),R=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.pharmacode=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=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 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,n));return r.number=parseInt(t,10),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),r(e,[{key:"encode",value:function(){for(var t=this.number,e="";!isNaN(t)&&0!=t;)t%2==0?(e="11100"+e,t=(t-2)/2):(e="100"+e,t=(t-1)/2);return{data:e=e.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.pharmacode=o}),L=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.codabar=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=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),0===t.search(/^[0-9\-\$\:\.\+\/]+$/)&&(t="A"+t+"A");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.toUpperCase(),n));return r.text=r.options.text||r.text.replace(/[A-D]/g,""),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),r(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var t=[],e=this.getEncodings(),n=0;n<this.data.length;n++)t.push(e[this.data.charAt(n)]),n!==this.data.length-1&&t.push("0");return{text:this.text,data:t.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"}}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.codabar=o}),k=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SYMBOLS=["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","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],t.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],t.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"":["($)","G"],"\b":["($)","H"],"\t":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),I=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=k(),i=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.data.split("").flatMap(function(t){return o.MULTI_SYMBOLS[t]||t}),n=t.map(function(t){return e.getEncoding(t)}).join(""),r=e.checksum(t,20),i=e.checksum(t.concat(r),15);return{text:this.text,data:e.getEncoding("ÿ")+n+e.getEncoding(r)+e.getEncoding(i)+e.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(t){return o.BINARIES[e.symbolValue(t)]}},{key:"getSymbol",value:function(t){return o.SYMBOLS[t]}},{key:"symbolValue",value:function(t){return o.SYMBOLS.indexOf(t)}},{key:"checksum",value:function(t,n){var r=t.slice().reverse().reduce(function(t,r,o){var i=o%n+1;return t+e.symbolValue(r)*i},0);return e.getSymbol(r%47)}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.default=i}),G=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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),n(e,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),e}(((e=I())&&e.__esModule?e:{default:e}).default);t.default=r}),B=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CODE93FullASCII=t.CODE93=void 0;var e=r(I()),n=r(G());function r(t){return t&&t.__esModule?t:{default:t}}t.CODE93=e.default,t.CODE93FullASCII=n.default}),D=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenericBarcode=void 0;var n,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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 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{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(((n=e())&&n.__esModule?n:{default:n}).default);t.GenericBarcode=o}),N=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=n(),r=c(),o=O(),i=j(),a=M(),u=R(),f=L(),l=B(),s=D();t.default={CODE39:e.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:o.EAN13,EAN8:o.EAN8,EAN5:o.EAN5,EAN2:o.EAN2,UPC:o.UPC,UPCE:o.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:a.MSI,MSI10:a.MSI10,MSI11:a.MSI11,MSI1010:a.MSI1010,MSI1110:a.MSI1110,pharmacode:u.pharmacode,codabar:f.codabar,CODE93:l.CODE93,CODE93FullASCII:l.CODE93FullASCII,GenericBarcode:s.GenericBarcode}}),$=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};t.default=function(t,n){return e({},t,n)}}),X=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){var e=[];return function t(n){if(Array.isArray(n))for(var r=0;r<n.length;r++)t(n[r]);else n.text=n.text||"",n.data=n.data||"",e.push(n)}(t),e}}),H=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}}),z=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var n in e)e.hasOwnProperty(n)&&"string"==typeof t[n=e[n]]&&(t[n]=parseInt(t[n],10));return"string"==typeof t.displayValue&&(t.displayValue="false"!=t.displayValue),t}}),V=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={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(){}}}),U=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=r(z()),n=r(V());function r(t){return t&&t.__esModule?t:{default:t}}t.default=function(t){var r={};for(var o in n.default)n.default.hasOwnProperty(o)&&(t.hasAttribute("jsbarcode-"+o.toLowerCase())&&(r[o]=t.getAttribute("jsbarcode-"+o.toLowerCase())),t.hasAttribute("data-"+o.toLowerCase())&&(r[o]=t.getAttribute("data-"+o.toLowerCase())));return r.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),(0,e.default)(r)}}),F=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getTotalWidthOfEncodings=t.calculateEncodingAttributes=t.getBarcodePadding=t.getEncodingHeight=t.getMaximumHeightOfEncodings=void 0;var e,n=(e=$())&&e.__esModule?e:{default:e};function r(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function o(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 i(t,e,n){var r;if(n)r=n;else{if("undefined"==typeof document)return 0;r=document.createElement("canvas").getContext("2d")}r.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var o=r.measureText(t);return o?o.width:0}t.getMaximumHeightOfEncodings=function(t){for(var e=0,n=0;n<t.length;n++)t[n].height>e&&(e=t[n].height);return e},t.getEncodingHeight=r,t.getBarcodePadding=o,t.calculateEncodingAttributes=function(t,e,a){for(var u=0;u<t.length;u++){var f,l=t[u],c=(0,n.default)(e,l.options);f=c.displayValue?i(l.text,c,a):0;var s=l.data.length*c.width;l.width=Math.ceil(Math.max(f,s)),l.height=r(l,c),l.barcodePadding=o(f,s,c)}},t.getTotalWidthOfEncodings=function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n].width;return e}}),W=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=(e=$())&&e.__esModule?e:{default:e},o=F(),i=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.canvas=e,this.encodings=n,this.options=r}return n(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 e=(0,r.default)(this.options,this.encodings[t].options);this.drawCanvasBarcode(e,this.encodings[t]),this.drawCanvasText(e,this.encodings[t]),this.moveCanvasDrawing(this.encodings[t])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var t=this.canvas.getContext("2d");t.save(),(0,o.calculateEncodingAttributes)(this.encodings,this.options,t);var e=(0,o.getTotalWidthOfEncodings)(this.encodings),n=(0,o.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=e+this.options.marginLeft+this.options.marginRight,this.canvas.height=n,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,e){var n,r=this.canvas.getContext("2d"),o=e.data;n="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,r.fillStyle=t.lineColor;for(var i=0;i<o.length;i++){var a=i*t.width+e.barcodePadding;"1"===o[i]?r.fillRect(a,n,t.width,t.height):o[i]&&r.fillRect(a,n,t.width,t.height*o[i])}}},{key:"drawCanvasText",value:function(t,e){var n,r,o=this.canvas.getContext("2d"),i=t.fontOptions+" "+t.fontSize+"px "+t.font;t.displayValue&&(r="top"==t.textPosition?t.marginTop+t.fontSize-t.textMargin:t.height+t.textMargin+t.marginTop+t.fontSize,o.font=i,"left"==t.textAlign||e.barcodePadding>0?(n=0,o.textAlign="left"):"right"==t.textAlign?(n=e.width-1,o.textAlign="right"):(n=e.width/2,o.textAlign="center"),o.fillText(e.text,n,r))}},{key:"moveCanvasDrawing",value:function(t){this.canvas.getContext("2d").translate(t.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),t}();t.default=i}),Y=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=(e=$())&&e.__esModule?e:{default:e},o=F(),i="http://www.w3.org/2000/svg",a=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.svg=e,this.encodings=n,this.options=r,this.document=r.xmlDocument||document}return n(t,[{key:"render",value:function(){var t=this.options.marginLeft;this.prepareSVG();for(var e=0;e<this.encodings.length;e++){var n=this.encodings[e],o=(0,r.default)(this.options,n.options),i=this.createGroup(t,o.marginTop,this.svg);this.setGroupOptions(i,o),this.drawSvgBarcode(i,o,n),this.drawSVGText(i,o,n),t+=n.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,o.calculateEncodingAttributes)(this.encodings,this.options);var t=(0,o.getTotalWidthOfEncodings)(this.encodings),e=(0,o.getMaximumHeightOfEncodings)(this.encodings),n=t+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(n,e),this.options.background&&this.drawRect(0,0,n,e,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(t,e,n){var r,o=n.data;r="top"==e.textPosition?e.fontSize+e.textMargin:0;for(var i=0,a=0,u=0;u<o.length;u++)a=u*e.width+n.barcodePadding,"1"===o[u]?i++:i>0&&(this.drawRect(a-e.width*i,r,e.width*i,e.height,t),i=0);i>0&&this.drawRect(a-e.width*(i-1),r,e.width*i,e.height,t)}},{key:"drawSVGText",value:function(t,e,n){var r,o,a=this.document.createElementNS(i,"text");e.displayValue&&(a.setAttribute("font-family",e.font),a.setAttribute("font-size",e.fontSize),e.fontOptions.includes("bold")&&a.setAttribute("font-weight","bold"),e.fontOptions.includes("italic")&&a.setAttribute("font-style","italic"),o="top"==e.textPosition?e.fontSize-e.textMargin:e.height+e.textMargin+e.fontSize,"left"==e.textAlign||n.barcodePadding>0?(r=0,a.setAttribute("text-anchor","start")):"right"==e.textAlign?(r=n.width-1,a.setAttribute("text-anchor","end")):(r=n.width/2,a.setAttribute("text-anchor","middle")),a.setAttribute("x",r),a.setAttribute("y",o),a.appendChild(this.document.createTextNode(n.text)),t.appendChild(a))}},{key:"setSvgAttributes",value:function(t,e){var n=this.svg;n.setAttribute("width",t+"px"),n.setAttribute("height",e+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+t+" "+e),n.setAttribute("xmlns",i),n.setAttribute("version","1.1")}},{key:"createGroup",value:function(t,e,n){var r=this.document.createElementNS(i,"g");return r.setAttribute("transform","translate("+t+", "+e+")"),n.appendChild(r),r}},{key:"setGroupOptions",value:function(t,e){t.setAttribute("fill",e.lineColor)}},{key:"drawRect",value:function(t,e,n,r,o){var a=this.document.createElementNS(i,"rect");return a.setAttribute("x",t),a.setAttribute("y",e),a.setAttribute("width",n),a.setAttribute("height",r),o.appendChild(a),a}}]),t}();t.default=a}),J=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),n=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.object=e,this.encodings=n,this.options=r}return e(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();t.default=n}),Q=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=o(W()),n=o(Y()),r=o(J());function o(t){return t&&t.__esModule?t:{default:t}}t.default={CanvasRenderer:e.default,SVGRenderer:n.default,ObjectRenderer:r.default}}),Z=/* @__PURE__ */t(t=>{function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(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 r(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(t,"__esModule",{value:!0});var o=function(){function t(r,o){e(this,t);var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.name="InvalidInputException",i.symbology=r,i.input=o,i.message='"'+i.input+'" is not a valid input for '+i.symbology,i}return r(t,Error),t}(),i=function(){function t(){e(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.name="InvalidElementException",r.message="Not supported type to render on",r}return r(t,Error),t}(),a=function(){function t(){e(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.name="NoElementException",r.message="No element to render on.",r}return r(t,Error),t}();t.InvalidInputException=o,t.InvalidElementException=i,t.NoElementException=a}),K=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=i(U()),r=i(Q()),o=Z();function i(t){return t&&t.__esModule?t:{default:t}}t.default=function t(i){if("string"==typeof i)return function(e){var n=document.querySelectorAll(e);if(0!==n.length){for(var r=[],o=0;o<n.length;o++)r.push(t(n[o]));return r}}(i);if(Array.isArray(i)){for(var a=[],u=0;u<i.length;u++)a.push(t(i[u]));return a}if("undefined"!=typeof HTMLCanvasElement&&i instanceof HTMLImageElement)return f=i,{element:l=document.createElement("canvas"),options:(0,n.default)(f),renderer:r.default.CanvasRenderer,afterRender:function(){f.setAttribute("src",l.toDataURL())}};if(i&&i.nodeName&&"svg"===i.nodeName.toLowerCase()||"undefined"!=typeof SVGElement&&i instanceof SVGElement)return{element:i,options:(0,n.default)(i),renderer:r.default.SVGRenderer};if("undefined"!=typeof HTMLCanvasElement&&i instanceof HTMLCanvasElement)return{element:i,options:(0,n.default)(i),renderer:r.default.CanvasRenderer};if(i&&i.getContext)return{element:i,renderer:r.default.CanvasRenderer};if(i&&"object"===(void 0===i?"undefined":e(i))&&!i.nodeName)return{element:i,renderer:r.default.ObjectRenderer};throw new o.InvalidElementException;var f,l}}),q=/* @__PURE__ */t(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),n=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.api=e}return e(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 e=t.apply(void 0,arguments);return this.api._options.valid(!0),e}catch(n){return this.handleCatch(n),this.api}}}]),t}();t.default=n}),tt=/* @__PURE__ */t((t,e)=>{var n=s(N()),r=s($()),o=s(X()),i=s(H()),a=s(K()),u=s(z()),f=s(q()),l=Z(),c=s(V());function s(t){return t&&t.__esModule?t:{default:t}}var p=function(){},d=function(t,e,n){var r=new p;if(void 0===t)throw Error("No element to render on was provided.");return r._renderProperties=(0,a.default)(t),r._encodings=[],r._options=c.default,r._errorHandler=new f.default(r),void 0!==e&&((n=n||{}).format||(n.format=v()),r.options(n)[n.format](e,n).render()),r};for(var h in d.getModule=function(t){return n.default[t]},n.default)n.default.hasOwnProperty(h)&&y(n.default,h);function y(t,e){p.prototype[e]=p.prototype[e.toUpperCase()]=p.prototype[e.toLowerCase()]=function(n,o){var i=this;return i._errorHandler.wrapBarcodeCall(function(){o.text=void 0===o.text?void 0:""+o.text;var a=(0,r.default)(i._options,o);a=(0,u.default)(a);var f=t[e],l=b(n,f,a);return i._encodings.push(l),i})}}function b(t,e,n){var i=new e(t=""+t,n);if(!i.valid())throw new l.InvalidInputException(i.constructor.name,t);var a=i.encode();a=(0,o.default)(a);for(var u=0;u<a.length;u++)a[u].options=(0,r.default)(n,a[u].options);return a}function v(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}function _(t,e,n){e=(0,o.default)(e);for(var a=0;a<e.length;a++)e[a].options=(0,r.default)(n,e[a].options),(0,i.default)(e[a].options);(0,i.default)(n),new(0,t.renderer)(t.element,e,n).render(),t.afterRender&&t.afterRender()}p.prototype.options=function(t){return this._options=(0,r.default)(this._options,t),this},p.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this},p.prototype.init=function(){var t;if(this._renderProperties)for(var e in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){t=this._renderProperties[e];var o=(0,r.default)(this._options,t.options);"auto"==o.format&&(o.format=v()),this._errorHandler.wrapBarcodeCall(function(){var e=b(o.value,n.default[o.format.toUpperCase()],o);_(t,e,o)})}},p.prototype.render=function(){if(!this._renderProperties)throw new l.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)_(this._renderProperties[t],this._encodings,this._options);else _(this._renderProperties,this._encodings,this._options);return this},p.prototype._defaults=c.default,"undefined"!=typeof window&&(window.JsBarcode=d),"undefined"!=typeof jQuery&&(jQuery.fn.JsBarcode=function(t,e){var n=[];return jQuery(this).each(function(){n.push(this)}),d(n,t,e)}),e.exports=d});export default tt();
|
|
@@ -1 +1,2 @@
|
|
|
1
|
+
/*! @gct-paas/core-web v6.0.0-dev.9 */
|
|
1
2
|
var e=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,n=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),u=(e,r)=>{let o={};for(var l in e)t(o,l,{get:e[l],enumerable:!0});return r||t(o,Symbol.toStringTag,{value:"Module"}),o},p=(e,l,n,u)=>{if(l&&"object"==typeof l||"function"==typeof l)for(var p,b=o(l),c=0,f=b.length;c<f;c++)p=b[c],a.call(e,p)||p===n||t(e,p,{get:(e=>l[e]).bind(null,p),enumerable:!(u=r(l,p))||u.enumerable});return e},b=(e,t,r)=>(p(e,t,"default"),r&&p(r,t,"default")),c=(r,o,a)=>(a=null!=r?e(l(r)):{},p(!o&&r&&r.__esModule?a:t(a,"default",{value:r,enumerable:!0}),r));export{c as i,u as n,b as r,n as t};
|