dfs-page-config 0.4.67 → 0.4.68

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.
@@ -105542,15 +105542,6 @@ const index = (k, L) => {
105542
105542
  t: (ae) => ae
105543
105543
  });
105544
105544
  k.config.globalProperties.useI18n = L.useI18n || ie;
105545
- }, createProxy = (k) => {
105546
- var ae;
105547
- const L = (ae = k.VITE_PROXY_SERVICE) == null ? void 0 : ae.split(","), ie = {};
105548
- return L && L.map((pe) => {
105549
- ie[pe.trim()] = {
105550
- target: k.VITE_PROXY_TARGET,
105551
- changeOrigin: !0
105552
- };
105553
- }), ie;
105554
105545
  };
105555
105546
  export {
105556
105547
  AgTable,
@@ -105561,7 +105552,6 @@ export {
105561
105552
  Form,
105562
105553
  Upload,
105563
105554
  UploadComp,
105564
- createProxy,
105565
105555
  index as default,
105566
105556
  handleProxy
105567
105557
  };
@@ -2002,4 +2002,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2002
2002
  @font-face {
2003
2003
  font-family: 'CircularXX-Medium';
2004
2004
  src: url(${CircularXXMedium});
2005
- `,document.head.appendChild(dr)}return{fabricHangTagNewRef:ae,printCountRef:pe,...vue.toRefs(_e),show:xe,close:Ie,print:Ne,confirm,setOffset:jt,setDirection:tr,confirmDirection:or,showDialog:er,closeDialog:ir}}}),FabricHangTag_vue_vue_type_style_index_0_scoped_0651017b_lang="",_withScopeId=k=>(vue.pushScopeId("data-v-0651017b"),k=k(),vue.popScopeId(),k),_hoisted_1={style:{height:"max-content",display:"block"},class:"el-upload-list--picture-card"},_hoisted_2=_withScopeId(()=>vue.createElementVNode("span",{class:"point"},null,-1)),_hoisted_3={class:"el-upload-list__item-actions",style:{"z-index":"2","border-radius":"10px"}},_hoisted_4={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_5=["innerHTML"],_hoisted_6={key:0,style:{height:"6pt"}},_hoisted_7=["innerHTML"],_hoisted_8={key:1,style:{height:"8pt"}},_hoisted_9={style:{margin:"8px 0"}},_hoisted_10=_withScopeId(()=>vue.createElementVNode("span",{style:{margin:"0 5px","font-size":"6px"}},"●",-1)),_hoisted_11=["innerHTML"],_hoisted_12={key:3,style:{height:"8pt"}},_hoisted_13={id:"barcode",style:{width:"100px"}},_hoisted_14={style:{position:"absolute",bottom:"22px",right:"30px"}},_hoisted_15={class:"dialog-footer"},_hoisted_16={class:"dialog-footer"};function _sfc_render(k,L,ie,ae,pe,_e){var tr,or,er;const xe=vue.resolveComponent("ZoomIn"),Oe=ElIcon,Ie=__unplugin_components_1,Ne=ElRadioButton,Ue=ElRadioGroup,Et=ElButton,qe=ElInputNumber,Dt=ElFormItem,$e=ElForm,kt=ElDialog,jt=ElRadio;return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.withDirectives(vue.createElementVNode("div",{class:vue.normalizeClass([k.zoomIn?"zoom-in":""]),onClick:L[3]||(L[3]=(...ir)=>k.close&&k.close(...ir))},[vue.createElementVNode("div",{onClick:L[2]||(L[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,[_hoisted_2,vue.createElementVNode("span",_hoisted_3,[vue.createVNode(Oe,{onClick:L[0]||(L[0]=ir=>k.zoomIn=!0),style:{cursor:"pointer"}},{default:vue.withCtx(()=>[vue.createVNode(xe)]),_:1})]),vue.withDirectives(vue.createVNode(Ie,{ref:"fabricHangTagNewRef",data:k.data},null,8,["data"]),[[vue.vShow,k.printType=="new"]]),vue.withDirectives(vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",null,[vue.createElementVNode("p",{style:{"font-size":"17px","font-family":"CircularXX-Medium","margin-bottom":"5px","line-height":"20px"},innerHTML:(tr=k.data.fabricSeries||k.data.name)==null?void 0:tr.replace(/\n/g,"</br>")},null,8,_hoisted_5),k.data.friendlyReminder?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("p",_hoisted_6)),vue.createElementVNode("p",{style:{margin:"5px 0"},innerHTML:(or=k.data.fabricIntroduction)==null?void 0:or.replace(/\n/g,"</br>")},null,8,_hoisted_7),k.data.friendlyReminder?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("p",_hoisted_8)),vue.createElementVNode("ul",_hoisted_9,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(k.data.fabricFeatureDescList,ir=>(vue.openBlock(),vue.createElementBlock("li",{key:ir,style:{margin:"1pt 0",display:"flex","align-items":"center"}},[_hoisted_10,vue.createTextVNode(" "+vue.toDisplayString(ir),1)]))),128))]),k.data.friendlyReminder?(vue.openBlock(),vue.createElementBlock("p",{key:2,style:{margin:"3pt 0"},innerHTML:(er=k.data.friendlyReminder)==null?void 0:er.replace(/\n/g,"</br>")},null,8,_hoisted_11)):(vue.openBlock(),vue.createElementBlock("p",_hoisted_12)),vue.withDirectives((vue.openBlock(),vue.createElementBlock("svg",_hoisted_13,null,512)),[[vue.vShow,k.data.barCodeId]]),vue.createElementVNode("span",_hoisted_14,vue.toDisplayString(k.data.code),1)])],512),[[vue.vShow,k.printType=="old"]])]),vue.createVNode(Ue,{modelValue:k.printType,"onUpdate:modelValue":L[1]||(L[1]=ir=>k.printType=ir),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(()=>[vue.createTextVNode("新版")]),_:1}),vue.createVNode(Ne,{label:"old"},{default:vue.withCtx(()=>[vue.createTextVNode("旧版")]),_:1})]),_:1},8,["modelValue"]),k.showPrintButton?(vue.openBlock(),vue.createBlock(Et,{key:0,class:"print-button",onClick:vue.withModifiers(k.showDialog,["stop"]),size:"small"},{default:vue.withCtx(()=>[vue.createTextVNode("打印")]),_:1},8,["onClick"])):vue.createCommentVNode("",!0)])],2),[[vue.vShow,k.isShow]]),vue.createVNode(kt,{title:"打印数量",modelValue:k.dialogState,"onUpdate:modelValue":L[6]||(L[6]=ir=>k.dialogState=ir),width:"350px",center:"","close-on-click-modal":!1,onClose:k.closeDialog},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_15,[vue.createVNode(Et,{onClick:L[5]||(L[5]=ir=>k.dialogState=!1)},{default:vue.withCtx(()=>[vue.createTextVNode("取 消")]),_:1}),vue.createVNode(Et,{type:"primary",onClick:k.print},{default:vue.withCtx(()=>[vue.createTextVNode("确认打印")]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode($e,{"label-width":"20px"},{default:vue.withCtx(()=>[vue.createVNode(Dt,{label:" ",style:{"margin-bottom":"0"}},{default:vue.withCtx(()=>[vue.createVNode(qe,{ref:"printCountRef",modelValue:k.printCount,"onUpdate:modelValue":L[4]||(L[4]=ir=>k.printCount=ir),min:1,precision:0,controls:!1,placeholder:"请输入打印数量",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),vue.createVNode(Dt,{label:" "},{default:vue.withCtx(()=>[vue.createVNode(Et,{onClick:k.setOffset,link:"",size:"small",style:{color:"#409eff"}},{default:vue.withCtx(()=>[vue.createTextVNode("设置横向偏移")]),_:1},8,["onClick"]),vue.createVNode(Et,{onClick:k.setDirection,link:"",size:"small",style:{color:"#409eff"}},{default:vue.withCtx(()=>[vue.createTextVNode("设置标签方向")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue","onClose"]),vue.createVNode(kt,{title:"设置标签方向",modelValue:k.directionDialogVisible,"onUpdate:modelValue":L[9]||(L[9]=ir=>k.directionDialogVisible=ir),width:"350px",center:"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_16,[vue.createVNode(Et,{onClick:L[8]||(L[8]=ir=>k.directionDialogVisible=!1)},{default:vue.withCtx(()=>[vue.createTextVNode("取 消")]),_:1}),vue.createVNode(Et,{type:"primary",onClick:k.confirmDirection},{default:vue.withCtx(()=>[vue.createTextVNode("确 定")]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(Ue,{modelValue:k.direction,"onUpdate:modelValue":L[7]||(L[7]=ir=>k.direction=ir),style:{display:"flex","justify-content":"center",height:"74px"}},{default:vue.withCtx(()=>[vue.createVNode(jt,{label:"1"},{default:vue.withCtx(()=>[vue.createTextVNode("纵向")]),_:1}),vue.createVNode(jt,{label:"2"},{default:vue.withCtx(()=>[vue.createTextVNode("横向")]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}const FabricHangTag=_export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-0651017b"]]);FabricHangTag.install=k=>k.component(FabricHangTag.name,FabricHangTag),AgTable.install=k=>k.component(AgTable.name,AgTable);const index=(k,L)=>{["getters","_actions"].forEach(ae=>{Object.keys(store[ae]).forEach(pe=>{L.store[ae][pe]=store[ae][pe]})}),store.commit("saveUrl",L.baseUrl),store.commit("saveLocale",L.locale),store.commit("saveEnv",L.env),L.store.state._CONFIG_DATA=store.state._CONFIG_DATA,L.store.state._BASE_URL=L.baseUrl,store._mutations.setLoading=L.store._mutations.setLoading,install(k),k.component("DfsPageConfig",Page);const ie=()=>({t:ae=>ae});k.config.globalProperties.useI18n=L.useI18n||ie},createProxy=k=>{var ae;const L=(ae=k.VITE_PROXY_SERVICE)==null?void 0:ae.split(","),ie={};return L&&L.map(pe=>{ie[pe.trim()]={target:k.VITE_PROXY_TARGET,changeOrigin:!0}}),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.createProxy=createProxy,exports.default=index,exports.handleProxy=handleProxy,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
2005
+ `,document.head.appendChild(dr)}return{fabricHangTagNewRef:ae,printCountRef:pe,...vue.toRefs(_e),show:xe,close:Ie,print:Ne,confirm,setOffset:jt,setDirection:tr,confirmDirection:or,showDialog:er,closeDialog:ir}}}),FabricHangTag_vue_vue_type_style_index_0_scoped_0651017b_lang="",_withScopeId=k=>(vue.pushScopeId("data-v-0651017b"),k=k(),vue.popScopeId(),k),_hoisted_1={style:{height:"max-content",display:"block"},class:"el-upload-list--picture-card"},_hoisted_2=_withScopeId(()=>vue.createElementVNode("span",{class:"point"},null,-1)),_hoisted_3={class:"el-upload-list__item-actions",style:{"z-index":"2","border-radius":"10px"}},_hoisted_4={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_5=["innerHTML"],_hoisted_6={key:0,style:{height:"6pt"}},_hoisted_7=["innerHTML"],_hoisted_8={key:1,style:{height:"8pt"}},_hoisted_9={style:{margin:"8px 0"}},_hoisted_10=_withScopeId(()=>vue.createElementVNode("span",{style:{margin:"0 5px","font-size":"6px"}},"●",-1)),_hoisted_11=["innerHTML"],_hoisted_12={key:3,style:{height:"8pt"}},_hoisted_13={id:"barcode",style:{width:"100px"}},_hoisted_14={style:{position:"absolute",bottom:"22px",right:"30px"}},_hoisted_15={class:"dialog-footer"},_hoisted_16={class:"dialog-footer"};function _sfc_render(k,L,ie,ae,pe,_e){var tr,or,er;const xe=vue.resolveComponent("ZoomIn"),Oe=ElIcon,Ie=__unplugin_components_1,Ne=ElRadioButton,Ue=ElRadioGroup,Et=ElButton,qe=ElInputNumber,Dt=ElFormItem,$e=ElForm,kt=ElDialog,jt=ElRadio;return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.withDirectives(vue.createElementVNode("div",{class:vue.normalizeClass([k.zoomIn?"zoom-in":""]),onClick:L[3]||(L[3]=(...ir)=>k.close&&k.close(...ir))},[vue.createElementVNode("div",{onClick:L[2]||(L[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,[_hoisted_2,vue.createElementVNode("span",_hoisted_3,[vue.createVNode(Oe,{onClick:L[0]||(L[0]=ir=>k.zoomIn=!0),style:{cursor:"pointer"}},{default:vue.withCtx(()=>[vue.createVNode(xe)]),_:1})]),vue.withDirectives(vue.createVNode(Ie,{ref:"fabricHangTagNewRef",data:k.data},null,8,["data"]),[[vue.vShow,k.printType=="new"]]),vue.withDirectives(vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",null,[vue.createElementVNode("p",{style:{"font-size":"17px","font-family":"CircularXX-Medium","margin-bottom":"5px","line-height":"20px"},innerHTML:(tr=k.data.fabricSeries||k.data.name)==null?void 0:tr.replace(/\n/g,"</br>")},null,8,_hoisted_5),k.data.friendlyReminder?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("p",_hoisted_6)),vue.createElementVNode("p",{style:{margin:"5px 0"},innerHTML:(or=k.data.fabricIntroduction)==null?void 0:or.replace(/\n/g,"</br>")},null,8,_hoisted_7),k.data.friendlyReminder?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("p",_hoisted_8)),vue.createElementVNode("ul",_hoisted_9,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(k.data.fabricFeatureDescList,ir=>(vue.openBlock(),vue.createElementBlock("li",{key:ir,style:{margin:"1pt 0",display:"flex","align-items":"center"}},[_hoisted_10,vue.createTextVNode(" "+vue.toDisplayString(ir),1)]))),128))]),k.data.friendlyReminder?(vue.openBlock(),vue.createElementBlock("p",{key:2,style:{margin:"3pt 0"},innerHTML:(er=k.data.friendlyReminder)==null?void 0:er.replace(/\n/g,"</br>")},null,8,_hoisted_11)):(vue.openBlock(),vue.createElementBlock("p",_hoisted_12)),vue.withDirectives((vue.openBlock(),vue.createElementBlock("svg",_hoisted_13,null,512)),[[vue.vShow,k.data.barCodeId]]),vue.createElementVNode("span",_hoisted_14,vue.toDisplayString(k.data.code),1)])],512),[[vue.vShow,k.printType=="old"]])]),vue.createVNode(Ue,{modelValue:k.printType,"onUpdate:modelValue":L[1]||(L[1]=ir=>k.printType=ir),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(()=>[vue.createTextVNode("新版")]),_:1}),vue.createVNode(Ne,{label:"old"},{default:vue.withCtx(()=>[vue.createTextVNode("旧版")]),_:1})]),_:1},8,["modelValue"]),k.showPrintButton?(vue.openBlock(),vue.createBlock(Et,{key:0,class:"print-button",onClick:vue.withModifiers(k.showDialog,["stop"]),size:"small"},{default:vue.withCtx(()=>[vue.createTextVNode("打印")]),_:1},8,["onClick"])):vue.createCommentVNode("",!0)])],2),[[vue.vShow,k.isShow]]),vue.createVNode(kt,{title:"打印数量",modelValue:k.dialogState,"onUpdate:modelValue":L[6]||(L[6]=ir=>k.dialogState=ir),width:"350px",center:"","close-on-click-modal":!1,onClose:k.closeDialog},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_15,[vue.createVNode(Et,{onClick:L[5]||(L[5]=ir=>k.dialogState=!1)},{default:vue.withCtx(()=>[vue.createTextVNode("取 消")]),_:1}),vue.createVNode(Et,{type:"primary",onClick:k.print},{default:vue.withCtx(()=>[vue.createTextVNode("确认打印")]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode($e,{"label-width":"20px"},{default:vue.withCtx(()=>[vue.createVNode(Dt,{label:" ",style:{"margin-bottom":"0"}},{default:vue.withCtx(()=>[vue.createVNode(qe,{ref:"printCountRef",modelValue:k.printCount,"onUpdate:modelValue":L[4]||(L[4]=ir=>k.printCount=ir),min:1,precision:0,controls:!1,placeholder:"请输入打印数量",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),vue.createVNode(Dt,{label:" "},{default:vue.withCtx(()=>[vue.createVNode(Et,{onClick:k.setOffset,link:"",size:"small",style:{color:"#409eff"}},{default:vue.withCtx(()=>[vue.createTextVNode("设置横向偏移")]),_:1},8,["onClick"]),vue.createVNode(Et,{onClick:k.setDirection,link:"",size:"small",style:{color:"#409eff"}},{default:vue.withCtx(()=>[vue.createTextVNode("设置标签方向")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue","onClose"]),vue.createVNode(kt,{title:"设置标签方向",modelValue:k.directionDialogVisible,"onUpdate:modelValue":L[9]||(L[9]=ir=>k.directionDialogVisible=ir),width:"350px",center:"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_16,[vue.createVNode(Et,{onClick:L[8]||(L[8]=ir=>k.directionDialogVisible=!1)},{default:vue.withCtx(()=>[vue.createTextVNode("取 消")]),_:1}),vue.createVNode(Et,{type:"primary",onClick:k.confirmDirection},{default:vue.withCtx(()=>[vue.createTextVNode("确 定")]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(Ue,{modelValue:k.direction,"onUpdate:modelValue":L[7]||(L[7]=ir=>k.direction=ir),style:{display:"flex","justify-content":"center",height:"74px"}},{default:vue.withCtx(()=>[vue.createVNode(jt,{label:"1"},{default:vue.withCtx(()=>[vue.createTextVNode("纵向")]),_:1}),vue.createVNode(jt,{label:"2"},{default:vue.withCtx(()=>[vue.createTextVNode("横向")]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}const FabricHangTag=_export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-0651017b"]]);FabricHangTag.install=k=>k.component(FabricHangTag.name,FabricHangTag),AgTable.install=k=>k.component(AgTable.name,AgTable);const index=(k,L)=>{["getters","_actions"].forEach(ae=>{Object.keys(store[ae]).forEach(pe=>{L.store[ae][pe]=store[ae][pe]})}),store.commit("saveUrl",L.baseUrl),store.commit("saveLocale",L.locale),store.commit("saveEnv",L.env),L.store.state._CONFIG_DATA=store.state._CONFIG_DATA,L.store.state._BASE_URL=L.baseUrl,store._mutations.setLoading=L.store._mutations.setLoading,install(k),k.component("DfsPageConfig",Page);const ie=()=>({t:ae=>ae});k.config.globalProperties.useI18n=L.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,exports.handleProxy=handleProxy,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfs-page-config",
3
- "version": "0.4.67",
3
+ "version": "0.4.68",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"