dfs-page-config 0.4.6 → 0.4.8
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/dist/dfs-page-config.js
CHANGED
|
@@ -107028,7 +107028,7 @@ const JsBarcode$1 = /* @__PURE__ */ getDefaultExportFromCjs(JsBarcode_1), _sfc_m
|
|
|
107028
107028
|
closeDialog: jt
|
|
107029
107029
|
};
|
|
107030
107030
|
}
|
|
107031
|
-
}),
|
|
107031
|
+
}), FabricHangTag_vue_vue_type_style_index_0_scoped_d213d42c_lang = "", _hoisted_1 = {
|
|
107032
107032
|
style: { height: "max-content", display: "block" },
|
|
107033
107033
|
class: "el-upload-list--picture-card"
|
|
107034
107034
|
}, _hoisted_2 = {
|
|
@@ -107189,7 +107189,10 @@ function _sfc_render(L, k, ie, ae, pe, Ce) {
|
|
|
107189
107189
|
default: withCtx(() => [
|
|
107190
107190
|
createVNode(qe, { "label-width": "20px" }, {
|
|
107191
107191
|
default: withCtx(() => [
|
|
107192
|
-
createVNode(Lt, {
|
|
107192
|
+
createVNode(Lt, {
|
|
107193
|
+
label: " ",
|
|
107194
|
+
style: { "margin-bottom": "0" }
|
|
107195
|
+
}, {
|
|
107193
107196
|
default: withCtx(() => [
|
|
107194
107197
|
createVNode(Et, {
|
|
107195
107198
|
ref: "printCountRef",
|
|
@@ -107293,7 +107296,7 @@ function _sfc_render(L, k, ie, ae, pe, Ce) {
|
|
|
107293
107296
|
}, 8, ["modelValue"])
|
|
107294
107297
|
], 64);
|
|
107295
107298
|
}
|
|
107296
|
-
const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
107299
|
+
const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d213d42c"]]);
|
|
107297
107300
|
FabricHangTag.install = (L) => L.component(FabricHangTag.name, FabricHangTag);
|
|
107298
107301
|
AgTable.install = (L) => L.component(AgTable.name, AgTable);
|
|
107299
107302
|
const index = (L, k) => {
|
|
@@ -2009,4 +2009,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2009
2009
|
@font-face {
|
|
2010
2010
|
font-family: 'CircularXX-Medium';
|
|
2011
2011
|
src: url(${CircularXXMedium});
|
|
2012
|
-
`,document.head.appendChild(cr)}return{fabricHangTagNewRef:ae,printCountRef:pe,...vue.toRefs(Ce),show:Oe,close:Fe,print:Ne,confirm,setOffset:tr,setDirection:er,confirmDirection:ar,showDialog:rr,closeDialog:jt}}}),
|
|
2012
|
+
`,document.head.appendChild(cr)}return{fabricHangTagNewRef:ae,printCountRef:pe,...vue.toRefs(Ce),show:Oe,close:Fe,print:Ne,confirm,setOffset:tr,setDirection:er,confirmDirection:ar,showDialog:rr,closeDialog:jt}}}),FabricHangTag_vue_vue_type_style_index_0_scoped_d213d42c_lang="",_hoisted_1={style:{height:"max-content",display:"block"},class:"el-upload-list--picture-card"},_hoisted_2={class:"el-upload-list__item-actions",style:{"z-index":"2","border-radius":"10px"}},_hoisted_3={class:"print-ele",ref:"printEle",style:{width:"192px",height:"288px",padding:"5px 10px","line-height":"9pt","font-family":"CircularXX-Regular",display:"flex","flex-direction":"column","justify-content":"flex-end"}},_hoisted_4=["innerHTML"],_hoisted_5={key:0,style:{height:"6pt"}},_hoisted_6=["innerHTML"],_hoisted_7={key:1,style:{height:"8pt"}},_hoisted_8={style:{margin:"8px 0"}},_hoisted_9=["innerHTML"],_hoisted_10={key:3,style:{height:"8pt"}},_hoisted_11={id:"barcode",style:{width:"100px"}},_hoisted_12={style:{position:"absolute",bottom:"22px",right:"30px"}},_hoisted_13={class:"dialog-footer"},_hoisted_14={class:"dialog-footer"};function _sfc_render(L,k,ie,ae,pe,Ce){var er,ar,rr;const Oe=vue.resolveComponent("ZoomIn"),xe=ElIcon,Fe=__unplugin_components_1,Ne=ElRadioButton,Ve=ElRadioGroup,Ue=ElButton,Et=ElInputNumber,Lt=ElFormItem,qe=ElForm,Pt=ElDialog,tr=ElRadio;return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.withDirectives(vue.createElementVNode("div",{class:vue.normalizeClass([L.zoomIn?"zoom-in":""]),onClick:k[3]||(k[3]=(...jt)=>L.close&&L.close(...jt))},[vue.createElementVNode("div",{onClick:k[2]||(k[2]=vue.withModifiers(()=>{},["stop"])),class:"container",style:{width:"max-content",background:"#e0e0e1",padding:"40px 10px 10px",color:"#000","font-size":"7pt","line-height":"7pt",display:"flex","flex-direction":"column","justify-content":"flex-end","border-radius":"10px",position:"relative","user-select":"none","word-break":"break-word"}},[vue.createElementVNode("div",_hoisted_1,[k[11]||(k[11]=vue.createElementVNode("span",{class:"point"},null,-1)),vue.createElementVNode("span",_hoisted_2,[vue.createVNode(xe,{onClick:k[0]||(k[0]=jt=>L.zoomIn=!0),style:{cursor:"pointer"}},{default:vue.withCtx(()=>[vue.createVNode(Oe)]),_:1})]),vue.withDirectives(vue.createVNode(Fe,{ref:"fabricHangTagNewRef",data:L.data},null,8,["data"]),[[vue.vShow,L.printType=="new"]]),vue.withDirectives(vue.createElementVNode("div",_hoisted_3,[vue.createElementVNode("div",null,[vue.createElementVNode("p",{style:{"font-size":"17px","font-family":"CircularXX-Medium","margin-bottom":"5px","line-height":"20px"},innerHTML:(er=L.data.fabricSeries||L.data.name)==null?void 0:er.replace(/\n/g,"</br>")},null,8,_hoisted_4),L.data.friendlyReminder?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("p",_hoisted_5)),vue.createElementVNode("p",{style:{margin:"5px 0"},innerHTML:(ar=L.data.fabricIntroduction)==null?void 0:ar.replace(/\n/g,"</br>")},null,8,_hoisted_6),L.data.friendlyReminder?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("p",_hoisted_7)),vue.createElementVNode("ul",_hoisted_8,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(L.data.fabricFeatureDescList,jt=>(vue.openBlock(),vue.createElementBlock("li",{key:jt,style:{margin:"1pt 0",display:"flex","align-items":"center"}},[k[10]||(k[10]=vue.createElementVNode("span",{style:{margin:"0 5px","font-size":"6px"}},"●",-1)),vue.createTextVNode(" "+vue.toDisplayString(jt),1)]))),128))]),L.data.friendlyReminder?(vue.openBlock(),vue.createElementBlock("p",{key:2,style:{margin:"3pt 0"},innerHTML:(rr=L.data.friendlyReminder)==null?void 0:rr.replace(/\n/g,"</br>")},null,8,_hoisted_9)):(vue.openBlock(),vue.createElementBlock("p",_hoisted_10)),vue.withDirectives((vue.openBlock(),vue.createElementBlock("svg",_hoisted_11,null,512)),[[vue.vShow,L.data.barCodeId]]),vue.createElementVNode("span",_hoisted_12,vue.toDisplayString(L.data.code),1)])],512),[[vue.vShow,L.printType=="old"]])]),vue.createVNode(Ve,{modelValue:L.printType,"onUpdate:modelValue":k[1]||(k[1]=jt=>L.printType=jt),size:"small",style:{display:"flex","justify-content":"center",position:"absolute",top:"8px",left:"-2px","z-index":"3",transform:"scale(0.8)"}},{default:vue.withCtx(()=>[vue.createVNode(Ne,{label:"new"},{default:vue.withCtx(()=>k[12]||(k[12]=[vue.createTextVNode("新版")])),_:1}),vue.createVNode(Ne,{label:"old"},{default:vue.withCtx(()=>k[13]||(k[13]=[vue.createTextVNode("旧版")])),_:1})]),_:1},8,["modelValue"]),L.showPrintButton?(vue.openBlock(),vue.createBlock(Ue,{key:0,class:"print-button",onClick:vue.withModifiers(L.showDialog,["stop"]),size:"small"},{default:vue.withCtx(()=>k[14]||(k[14]=[vue.createTextVNode("打印")])),_:1},8,["onClick"])):vue.createCommentVNode("",!0)])],2),[[vue.vShow,L.isShow]]),vue.createVNode(Pt,{title:"打印数量",modelValue:L.dialogState,"onUpdate:modelValue":k[6]||(k[6]=jt=>L.dialogState=jt),width:"350px",center:"","close-on-click-modal":!1,onClose:L.closeDialog},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_13,[vue.createVNode(Ue,{onClick:k[5]||(k[5]=jt=>L.dialogState=!1)},{default:vue.withCtx(()=>k[17]||(k[17]=[vue.createTextVNode("取 消")])),_:1}),vue.createVNode(Ue,{type:"primary",onClick:L.print},{default:vue.withCtx(()=>k[18]||(k[18]=[vue.createTextVNode("确认打印")])),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(qe,{"label-width":"20px"},{default:vue.withCtx(()=>[vue.createVNode(Lt,{label:" ",style:{"margin-bottom":"0"}},{default:vue.withCtx(()=>[vue.createVNode(Et,{ref:"printCountRef",modelValue:L.printCount,"onUpdate:modelValue":k[4]||(k[4]=jt=>L.printCount=jt),min:1,precision:0,controls:!1,placeholder:"请输入打印数量",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),vue.createVNode(Lt,{label:" "},{default:vue.withCtx(()=>[vue.createVNode(Ue,{onClick:L.setOffset,link:"",size:"small",style:{color:"#409eff"}},{default:vue.withCtx(()=>k[15]||(k[15]=[vue.createTextVNode("设置横向偏移")])),_:1},8,["onClick"]),vue.createVNode(Ue,{onClick:L.setDirection,link:"",size:"small",style:{color:"#409eff"}},{default:vue.withCtx(()=>k[16]||(k[16]=[vue.createTextVNode("设置标签方向")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue","onClose"]),vue.createVNode(Pt,{title:"设置标签方向",modelValue:L.directionDialogVisible,"onUpdate:modelValue":k[9]||(k[9]=jt=>L.directionDialogVisible=jt),width:"350px",center:"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_14,[vue.createVNode(Ue,{onClick:k[8]||(k[8]=jt=>L.directionDialogVisible=!1)},{default:vue.withCtx(()=>k[21]||(k[21]=[vue.createTextVNode("取 消")])),_:1}),vue.createVNode(Ue,{type:"primary",onClick:L.confirmDirection},{default:vue.withCtx(()=>k[22]||(k[22]=[vue.createTextVNode("确 定")])),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(Ve,{modelValue:L.direction,"onUpdate:modelValue":k[7]||(k[7]=jt=>L.direction=jt),style:{display:"flex","justify-content":"center",height:"74px"}},{default:vue.withCtx(()=>[vue.createVNode(tr,{label:"1"},{default:vue.withCtx(()=>k[19]||(k[19]=[vue.createTextVNode("纵向")])),_:1}),vue.createVNode(tr,{label:"2"},{default:vue.withCtx(()=>k[20]||(k[20]=[vue.createTextVNode("横向")])),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}const FabricHangTag=_export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-d213d42c"]]);FabricHangTag.install=L=>L.component(FabricHangTag.name,FabricHangTag),AgTable.install=L=>L.component(AgTable.name,AgTable);const index=(L,k)=>{["getters","_actions"].forEach(ae=>{Object.keys(store[ae]).forEach(pe=>{k.store[ae][pe]=store[ae][pe]})}),store.commit("saveUrl",k.baseUrl),store.commit("saveLocale",k.locale),k.store.state._CONFIG_DATA=store.state._CONFIG_DATA,k.store.state._BASE_URL=k.baseUrl,store._mutations.setLoading=k.store._mutations.setLoading,install(L),L.component("DfsPageConfig",Page);const ie=()=>({t:ae=>ae});L.config.globalProperties.useI18n=k.useI18n||ie};exports.AgTable=AgTable,exports.CellSelect=_sfc_main$2,exports.Dialog=Dialog,exports.EleTable=EleTable,exports.FabricHangTag=FabricHangTag,exports.Form=Form,exports.Upload=Upload,exports.UploadComp=UploadComp,exports.default=index,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|