zl-lcyq 1.4.4 → 1.4.5

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/lib/zl-lcyq.es.js CHANGED
@@ -19986,7 +19986,8 @@ var drawerConfig = {
19986
19986
  },
19987
19987
  { name: "\u64CD\u4F5C", key: "operations", type: "Operation", defaultValue: operations, s_p: "node_config" },
19988
19988
  { name: "\u5230\u8FBE\u8282\u70B9\u540E\u7ED9\u5BA1\u6279\u4EBA\u53D1\u9001\u6D88\u606F", key: "reach_send_message", type: "Switch", defaultValue: 0, s_p: "node_config" },
19989
- { name: "\u8282\u70B9\u5904\u7406\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F", key: "examine_send_message", type: "Switch", defaultValue: 0, s_p: "node_config" }
19989
+ { name: "\u8282\u70B9\u5904\u7406\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F", key: "examine_send_message", type: "Switch", defaultValue: 0, s_p: "node_config" },
19990
+ { name: "\u81EA\u5B9A\u4E49\u53C2\u6570", key: "node_extra", type: "Input", s_p: "node_config", copsType: "textarea" }
19990
19991
  ],
19991
19992
  "3": [
19992
19993
  { name: "\u8282\u70B9\u540D\u79F0", key: "node_name", type: "Input" },
@@ -25494,8 +25495,9 @@ const _sfc_main$i = {
25494
25495
  createVNode(unref(NInput), {
25495
25496
  value: unref(nowValue),
25496
25497
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(nowValue) ? nowValue.value = $event : null),
25497
- placeholder: `\u8BF7\u8F93\u5165${__props.info.name}`
25498
- }, null, 8, ["value", "placeholder"])
25498
+ placeholder: `\u8BF7\u8F93\u5165${__props.info.name}`,
25499
+ type: props.info.copsType ? props.info.copsType : "text"
25500
+ }, null, 8, ["value", "placeholder", "type"])
25499
25501
  ])
25500
25502
  ]);
25501
25503
  };
@@ -2087,7 +2087,7 @@ ${t}
2087
2087
  background-color: var(--n-th-color-popover);
2088
2088
  `),L("td",`
2089
2089
  background-color: var(--n-td-color-popover);
2090
- `)]))]);const ZT=Object.assign(Object.assign({},Ie.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}});var Eb=r.defineComponent({name:"Table",props:ZT,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=pt(e),l=Ie("Table","-table",XT,_T,e,t),s=Fn("Table",o,t),c=r.computed(()=>{const{size:f}=e,{self:{borderColor:h,tdColor:p,tdColorModal:b,tdColorPopover:v,thColor:C,thColorModal:g,thColorPopover:A,thTextColor:y,tdTextColor:w,borderRadius:S,thFontWeight:k,lineHeight:T,borderColorModal:B,borderColorPopover:F,tdColorStriped:_,tdColorStripedModal:P,tdColorStripedPopover:H,[ue("fontSize",f)]:U,[ue("tdPadding",f)]:Z,[ue("thPadding",f)]:K},common:{cubicBezierEaseInOut:I}}=l.value;return{"--n-bezier":I,"--n-td-color":p,"--n-td-color-modal":b,"--n-td-color-popover":v,"--n-td-text-color":w,"--n-border-color":h,"--n-border-color-modal":B,"--n-border-color-popover":F,"--n-border-radius":S,"--n-font-size":U,"--n-th-color":C,"--n-th-color-modal":g,"--n-th-color-popover":A,"--n-th-font-weight":k,"--n-th-text-color":y,"--n-line-height":T,"--n-td-padding":Z,"--n-th-padding":K,"--n-td-color-striped":_,"--n-td-color-striped-modal":P,"--n-td-color-striped-popover":H}}),u=n?Ft("table",r.computed(()=>e.size[0]),c,e):void 0;return{rtlEnabled:s,mergedClsPrefix:t,cssVars:n?void 0:c,themeClass:u==null?void 0:u.themeClass,onRender:u==null?void 0:u.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),r.h("table",{class:[`${t}-table`,this.themeClass,{[`${t}-table--rtl`]:this.rtlEnabled,[`${t}-table--bottom-bordered`]:this.bottomBordered,[`${t}-table--bordered`]:this.bordered,[`${t}-table--single-line`]:this.singleLine,[`${t}-table--single-column`]:this.singleColumn,[`${t}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}});const eR=r.defineComponent({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),tR={message:NT,notification:qT,loadingBar:RT,dialog:lT};function nR({providersAndProps:e,configProviderProps:t}){const n=()=>r.h($B,r.unref(t),{default:()=>e.map(({type:u,Provider:f,props:h})=>r.h(f,r.unref(h),{default:()=>r.h(eR,{onSetup:()=>l[u]=tR[u]()})}))});let o=r.createApp(n);const l={app:o};let s;return ao&&(s=document.createElement("div"),document.body.appendChild(s),o.mount(s)),Object.assign({unmount:()=>{var u;if(o===null||s===null){ga("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(u=s.parentNode)===null||u===void 0||u.removeChild(s),s=null,o=null}},l)}function Nu(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:l,loadingBarProviderProps:s}={}){const c=[];return e.forEach(f=>{switch(f){case"message":c.push({type:f,Provider:zT,props:n});break;case"notification":c.push({type:f,Provider:QT,props:l});break;case"dialog":c.push({type:f,Provider:aT,props:o});break;case"loadingBar":c.push({type:f,Provider:TT,props:s});break}}),nR({providersAndProps:c,configProviderProps:t})}var rR={1:{type:1,name:"\u5BA1\u6279",iconfont:"iconfont lcyq-shenpiguanli",bgColor:"rgb(255, 148, 62)",desc:"\u5BA1\u6279\u8282\u70B9\uFF0C\u5BA1\u6279\u4EBA\u5BA1\u6279"}},kb=[{name:"\u540C\u610F",value:1,enable:1,action:"default",jump_nodes:[],form_required:1,send_message:{is_send:0}},{name:"\u7EC8\u6B62",value:2,enable:0,action:"stop",jump_nodes:[],form_required:0,send_message:{is_send:0}},{name:"\u63D0\u4EA4",value:3,enable:0,action:"default",jump_nodes:[],form_required:1,send_message:{is_send:0}},{name:"\u9A73\u56DE",value:4,enable:1,action:"default",jump_nodes:[],form_required:0,send_message:{is_send:0}}],oR={"-2":[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input"},{name:"\u8282\u70B9\u63CF\u8FF0",key:"node_desc",type:"Input"},{name:"\u7ED3\u675F\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F",key:"end_send_message",type:"Switch",defaultValue:0}],"-1":[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input"},{name:"\u8282\u70B9\u63CF\u8FF0",key:"node_desc",type:"Input"},{name:"\u53D1\u8D77\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F",key:"start_send_message",type:"Switch",defaultValue:0}],1:[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input",required:!0},{name:"\u8282\u70B9\u89C4\u5219",key:"node_rule",type:"Input"},{name:"\u8282\u70B9\u63CF\u8FF0",key:"node_desc",type:"Input",defaultValue:"\u5BA1\u6279\u8282\u70B9\uFF0C\u5BA1\u6279\u4EBA\u5BA1\u6279",s_p:"node_config"},{name:"\u5BA1\u6279\u65B9\u5F0F",key:"examine_type",type:"Select",options:[{label:"\u7ADE\u4E89\u5BA1\u6279",value:0},{label:"\u4F1A\u7B7E\u5E76\u884C",value:1},{label:"\u4F1A\u7B7E\u4E32\u884C",value:2}],defaultValue:0,s_p:"node_config"},{name:"\u4F1A\u7B7E\u5B8C\u6210\u7387",key:"examine_complete_condition",type:"Expression",defaultValue:"",config:{hideInput:!0},vif(e){return[1,2].includes(e.examine_type)},s_p:"node_config"},{name:"\u4E0A\u8282\u70B9\u663E\u793A\u5F53\u524D\u8282\u70B9\u529E\u7406\u4EBA",key:"show_assignee.type",type:"Select",options:[{label:"\u4E0D\u663E\u793A",value:0},{label:"\u663E\u793A",value:1},{label:"\u5141\u8BB8\u9009\u62E9",value:2},{label:"\u5168\u9009\u5E76\u5141\u8BB8\u9009\u62E9",value:3}],defaultValue:1,s_p:"node_config"},{name:"\u662F\u5426\u5F00\u542F\u81EA\u52A8\u5BA1\u6279",key:"auto_complete",type:"Switch",defaultValue:0,s_p:"node_config"},{name:"\u8868\u5355\u6743\u9650",key:"form_auth",type:"FormAuth",defaultValue:{},s_p:"node_config"},{name:"\u5BA1\u6279\u4EBA\u8BBE\u7F6E",key:"assignee",type:"Personnel",defaultValue:[],required:!0,s_p:"node_config"},{name:"\u8282\u70B9\u573A\u666F",key:"task_type",type:"Select",options:[{label:"\u5BA1\u6279\u8282\u70B9",value:0,useOperations:[1,2,3,4]},{label:"\u9A73\u56DE\u8282\u70B9",value:1,useOperations:[3]}],defaultValue:0,s_p:"node_config"},{name:"\u64CD\u4F5C",key:"operations",type:"Operation",defaultValue:kb,s_p:"node_config"},{name:"\u5230\u8FBE\u8282\u70B9\u540E\u7ED9\u5BA1\u6279\u4EBA\u53D1\u9001\u6D88\u606F",key:"reach_send_message",type:"Switch",defaultValue:0,s_p:"node_config"},{name:"\u8282\u70B9\u5904\u7406\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F",key:"examine_send_message",type:"Switch",defaultValue:0,s_p:"node_config"}],3:[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input"},{name:"\u89C4\u5219\u8BBE\u7F6E",key:"expression",type:"Expression",defaultValue:"",required:!0,s_p:"node_config"}]};const mo=Jy.defineStore("store",{state:()=>({isTried:!1,drawer:!1,drawerConfig:{},nodesConfig:{},pluginsConfig:{},expressionConfig:{},personnelConfig:{},enableNodes:[]}),actions:{setIsTried(e){this.isTried=e},setDrawer(e){this.drawer=e},setDrawerConfig(e){this.drawerConfig=e},setLcyqConfig(e){this.nodesConfig={...rR,...e.nodesConfig},this.pluginsConfig={...oR,...e.pluginsConfig},this.expressionConfig={...e.expressionConfig},this.personnelConfig={...e.personnelConfig}},setEnableNodes(e){this.enableNodes=e}}});var Mu={exports:{}};/**
2090
+ `)]))]);const ZT=Object.assign(Object.assign({},Ie.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}});var Eb=r.defineComponent({name:"Table",props:ZT,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=pt(e),l=Ie("Table","-table",XT,_T,e,t),s=Fn("Table",o,t),c=r.computed(()=>{const{size:f}=e,{self:{borderColor:h,tdColor:p,tdColorModal:b,tdColorPopover:v,thColor:C,thColorModal:g,thColorPopover:A,thTextColor:y,tdTextColor:w,borderRadius:S,thFontWeight:k,lineHeight:T,borderColorModal:B,borderColorPopover:F,tdColorStriped:_,tdColorStripedModal:P,tdColorStripedPopover:H,[ue("fontSize",f)]:U,[ue("tdPadding",f)]:Z,[ue("thPadding",f)]:K},common:{cubicBezierEaseInOut:I}}=l.value;return{"--n-bezier":I,"--n-td-color":p,"--n-td-color-modal":b,"--n-td-color-popover":v,"--n-td-text-color":w,"--n-border-color":h,"--n-border-color-modal":B,"--n-border-color-popover":F,"--n-border-radius":S,"--n-font-size":U,"--n-th-color":C,"--n-th-color-modal":g,"--n-th-color-popover":A,"--n-th-font-weight":k,"--n-th-text-color":y,"--n-line-height":T,"--n-td-padding":Z,"--n-th-padding":K,"--n-td-color-striped":_,"--n-td-color-striped-modal":P,"--n-td-color-striped-popover":H}}),u=n?Ft("table",r.computed(()=>e.size[0]),c,e):void 0;return{rtlEnabled:s,mergedClsPrefix:t,cssVars:n?void 0:c,themeClass:u==null?void 0:u.themeClass,onRender:u==null?void 0:u.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),r.h("table",{class:[`${t}-table`,this.themeClass,{[`${t}-table--rtl`]:this.rtlEnabled,[`${t}-table--bottom-bordered`]:this.bottomBordered,[`${t}-table--bordered`]:this.bordered,[`${t}-table--single-line`]:this.singleLine,[`${t}-table--single-column`]:this.singleColumn,[`${t}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}});const eR=r.defineComponent({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),tR={message:NT,notification:qT,loadingBar:RT,dialog:lT};function nR({providersAndProps:e,configProviderProps:t}){const n=()=>r.h($B,r.unref(t),{default:()=>e.map(({type:u,Provider:f,props:h})=>r.h(f,r.unref(h),{default:()=>r.h(eR,{onSetup:()=>l[u]=tR[u]()})}))});let o=r.createApp(n);const l={app:o};let s;return ao&&(s=document.createElement("div"),document.body.appendChild(s),o.mount(s)),Object.assign({unmount:()=>{var u;if(o===null||s===null){ga("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(u=s.parentNode)===null||u===void 0||u.removeChild(s),s=null,o=null}},l)}function Nu(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:l,loadingBarProviderProps:s}={}){const c=[];return e.forEach(f=>{switch(f){case"message":c.push({type:f,Provider:zT,props:n});break;case"notification":c.push({type:f,Provider:QT,props:l});break;case"dialog":c.push({type:f,Provider:aT,props:o});break;case"loadingBar":c.push({type:f,Provider:TT,props:s});break}}),nR({providersAndProps:c,configProviderProps:t})}var rR={1:{type:1,name:"\u5BA1\u6279",iconfont:"iconfont lcyq-shenpiguanli",bgColor:"rgb(255, 148, 62)",desc:"\u5BA1\u6279\u8282\u70B9\uFF0C\u5BA1\u6279\u4EBA\u5BA1\u6279"}},kb=[{name:"\u540C\u610F",value:1,enable:1,action:"default",jump_nodes:[],form_required:1,send_message:{is_send:0}},{name:"\u7EC8\u6B62",value:2,enable:0,action:"stop",jump_nodes:[],form_required:0,send_message:{is_send:0}},{name:"\u63D0\u4EA4",value:3,enable:0,action:"default",jump_nodes:[],form_required:1,send_message:{is_send:0}},{name:"\u9A73\u56DE",value:4,enable:1,action:"default",jump_nodes:[],form_required:0,send_message:{is_send:0}}],oR={"-2":[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input"},{name:"\u8282\u70B9\u63CF\u8FF0",key:"node_desc",type:"Input"},{name:"\u7ED3\u675F\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F",key:"end_send_message",type:"Switch",defaultValue:0}],"-1":[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input"},{name:"\u8282\u70B9\u63CF\u8FF0",key:"node_desc",type:"Input"},{name:"\u53D1\u8D77\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F",key:"start_send_message",type:"Switch",defaultValue:0}],1:[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input",required:!0},{name:"\u8282\u70B9\u89C4\u5219",key:"node_rule",type:"Input"},{name:"\u8282\u70B9\u63CF\u8FF0",key:"node_desc",type:"Input",defaultValue:"\u5BA1\u6279\u8282\u70B9\uFF0C\u5BA1\u6279\u4EBA\u5BA1\u6279",s_p:"node_config"},{name:"\u5BA1\u6279\u65B9\u5F0F",key:"examine_type",type:"Select",options:[{label:"\u7ADE\u4E89\u5BA1\u6279",value:0},{label:"\u4F1A\u7B7E\u5E76\u884C",value:1},{label:"\u4F1A\u7B7E\u4E32\u884C",value:2}],defaultValue:0,s_p:"node_config"},{name:"\u4F1A\u7B7E\u5B8C\u6210\u7387",key:"examine_complete_condition",type:"Expression",defaultValue:"",config:{hideInput:!0},vif(e){return[1,2].includes(e.examine_type)},s_p:"node_config"},{name:"\u4E0A\u8282\u70B9\u663E\u793A\u5F53\u524D\u8282\u70B9\u529E\u7406\u4EBA",key:"show_assignee.type",type:"Select",options:[{label:"\u4E0D\u663E\u793A",value:0},{label:"\u663E\u793A",value:1},{label:"\u5141\u8BB8\u9009\u62E9",value:2},{label:"\u5168\u9009\u5E76\u5141\u8BB8\u9009\u62E9",value:3}],defaultValue:1,s_p:"node_config"},{name:"\u662F\u5426\u5F00\u542F\u81EA\u52A8\u5BA1\u6279",key:"auto_complete",type:"Switch",defaultValue:0,s_p:"node_config"},{name:"\u8868\u5355\u6743\u9650",key:"form_auth",type:"FormAuth",defaultValue:{},s_p:"node_config"},{name:"\u5BA1\u6279\u4EBA\u8BBE\u7F6E",key:"assignee",type:"Personnel",defaultValue:[],required:!0,s_p:"node_config"},{name:"\u8282\u70B9\u573A\u666F",key:"task_type",type:"Select",options:[{label:"\u5BA1\u6279\u8282\u70B9",value:0,useOperations:[1,2,3,4]},{label:"\u9A73\u56DE\u8282\u70B9",value:1,useOperations:[3]}],defaultValue:0,s_p:"node_config"},{name:"\u64CD\u4F5C",key:"operations",type:"Operation",defaultValue:kb,s_p:"node_config"},{name:"\u5230\u8FBE\u8282\u70B9\u540E\u7ED9\u5BA1\u6279\u4EBA\u53D1\u9001\u6D88\u606F",key:"reach_send_message",type:"Switch",defaultValue:0,s_p:"node_config"},{name:"\u8282\u70B9\u5904\u7406\u540E\u7ED9\u53D1\u8D77\u4EBA\u53D1\u9001\u6D88\u606F",key:"examine_send_message",type:"Switch",defaultValue:0,s_p:"node_config"},{name:"\u81EA\u5B9A\u4E49\u53C2\u6570",key:"node_extra",type:"Input",s_p:"node_config",copsType:"textarea"}],3:[{name:"\u8282\u70B9\u540D\u79F0",key:"node_name",type:"Input"},{name:"\u89C4\u5219\u8BBE\u7F6E",key:"expression",type:"Expression",defaultValue:"",required:!0,s_p:"node_config"}]};const mo=Jy.defineStore("store",{state:()=>({isTried:!1,drawer:!1,drawerConfig:{},nodesConfig:{},pluginsConfig:{},expressionConfig:{},personnelConfig:{},enableNodes:[]}),actions:{setIsTried(e){this.isTried=e},setDrawer(e){this.drawer=e},setDrawerConfig(e){this.drawerConfig=e},setLcyqConfig(e){this.nodesConfig={...rR,...e.nodesConfig},this.pluginsConfig={...oR,...e.pluginsConfig},this.expressionConfig={...e.expressionConfig},this.personnelConfig={...e.personnelConfig}},setEnableNodes(e){this.enableNodes=e}}});var Mu={exports:{}};/**
2091
2091
  * @license
2092
2092
  * Lodash <https://lodash.com/>
2093
2093
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -2113,7 +2113,7 @@ __p += '`),rt&&(de+=`' +
2113
2113
  function print() { __p += __j.call(arguments, '') }
2114
2114
  `:`;
2115
2115
  `)+de+`return __p
2116
- }`;var Qe=qy(function(){return lt(R,we+"return "+de).apply(n,$)});if(Qe.source=de,Zh(Qe))throw Qe;return Qe}function e8(i){return st(i).toLowerCase()}function t8(i){return st(i).toUpperCase()}function n8(i,a,d){if(i=st(i),i&&(d||a===n))return r0(i);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=hr(a),R=o0(m,x),$=i0(m,x)+1;return Po(m,R,$).join("")}function r8(i,a,d){if(i=st(i),i&&(d||a===n))return i.slice(0,l0(i)+1);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=i0(m,hr(a))+1;return Po(m,0,x).join("")}function o8(i,a,d){if(i=st(i),i&&(d||a===n))return i.replace(le,"");if(!i||!(a=Ln(a)))return i;var m=hr(i),x=o0(m,hr(a));return Po(m,x).join("")}function i8(i,a){var d=U,m=Z;if(Et(a)){var x="separator"in a?a.separator:x;d="length"in a?Ge(a.length):d,m="omission"in a?Ln(a.omission):m}i=st(i);var R=i.length;if(ta(i)){var $=hr(i);R=$.length}if(d>=R)return i;var z=d-na(m);if(z<1)return m;var j=$?Po($,0,z).join(""):i.slice(0,z);if(x===n)return j+m;if($&&(z+=j.length-z),ep(x)){if(i.slice(z).search(x)){var oe,ae=j;for(x.global||(x=mh(x.source,st(Tr.exec(x))+"g")),x.lastIndex=0;oe=x.exec(ae);)var de=oe.index;j=j.slice(0,de===n?z:de)}}else if(i.indexOf(Ln(x),z)!=z){var be=j.lastIndexOf(x);be>-1&&(j=j.slice(0,be))}return j+m}function a8(i){return i=st(i),i&&Ve.test(i)?i.replace(Be,DD):i}var l8=ca(function(i,a,d){return i+(d?" ":"")+a.toUpperCase()}),rp=Y0("toUpperCase");function Qy(i,a,d){return i=st(i),a=d?n:a,a===n?RD(i)?ND(i):xD(i):i.match(a)||[]}var qy=qe(function(i,a){try{return Nn(i,n,a)}catch(d){return Zh(d)?d:new We(d)}}),s8=Zr(function(i,a){return Jn(a,function(d){d=Pr(d),Jr(i,d,Jh(i[d],i))}),i});function c8(i){var a=i==null?0:i.length,d=Re();return i=a?St(i,function(m){if(typeof m[1]!="function")throw new Xn(c);return[d(m[0]),m[1]]}):[],qe(function(m){for(var x=-1;++x<a;){var R=i[x];if(Nn(R[0],this,m))return Nn(R[1],this,m)}})}function d8(i){return D6(er(i,b))}function op(i){return function(){return i}}function u8(i,a){return i==null||i!==i?a:i}var f8=J0(),h8=J0(!0);function Tn(i){return i}function ip(i){return k0(typeof i=="function"?i:er(i,b))}function p8(i){return T0(er(i,b))}function g8(i,a){return R0(i,er(a,b))}var m8=qe(function(i,a){return function(d){return $l(d,i,a)}}),b8=qe(function(i,a){return function(d){return $l(i,d,a)}});function ap(i,a,d){var m=Xt(a),x=ed(a,m);d==null&&!(Et(a)&&(x.length||!m.length))&&(d=a,a=i,i=this,x=ed(a,Xt(a)));var R=!(Et(d)&&"chain"in d)||!!d.chain,$=to(i);return Jn(x,function(z){var j=a[z];i[z]=j,$&&(i.prototype[z]=function(){var oe=this.__chain__;if(R||oe){var ae=i(this.__wrapped__),de=ae.__actions__=En(this.__actions__);return de.push({func:j,args:arguments,thisArg:i}),ae.__chain__=oe,ae}return j.apply(i,Eo([this.value()],arguments))})}),i}function v8(){return nn._===this&&(nn._=jD),this}function lp(){}function A8(i){return i=Ge(i),qe(function(a){return F0(a,i)})}var y8=Nh(St),x8=Nh(XA),w8=Nh(ch);function Yy(i){return Uh(i)?dh(Pr(i)):X6(i)}function C8(i){return function(a){return i==null?n:fi(i,a)}}var S8=Z0(),_8=Z0(!0);function sp(){return[]}function cp(){return!1}function E8(){return{}}function k8(){return""}function B8(){return!0}function T8(i,a){if(i=Ge(i),i<1||i>ce)return[];var d=ge,m=cn(i,ge);a=Re(a),i-=ge;for(var x=hh(m,a);++d<i;)a(d);return x}function R8(i){return je(i)?St(i,Pr):Hn(i)?[i]:En(gy(st(i)))}function F8(i){var a=++VD;return st(i)+a}var P8=ad(function(i,a){return i+a},0),$8=Mh("ceil"),O8=ad(function(i,a){return i/a},1),D8=Mh("floor");function I8(i){return i&&i.length?Zc(i,Tn,Sh):n}function z8(i,a){return i&&i.length?Zc(i,Re(a,2),Sh):n}function N8(i){return t0(i,Tn)}function M8(i,a){return t0(i,Re(a,2))}function L8(i){return i&&i.length?Zc(i,Tn,Bh):n}function H8(i,a){return i&&i.length?Zc(i,Re(a,2),Bh):n}var V8=ad(function(i,a){return i*a},1),W8=Mh("round"),j8=ad(function(i,a){return i-a},0);function U8(i){return i&&i.length?fh(i,Tn):0}function G8(i,a){return i&&i.length?fh(i,Re(a,2)):0}return E.after=pN,E.ary=Ey,E.assign=tM,E.assignIn=Ly,E.assignInWith=Ad,E.assignWith=nM,E.at=rM,E.before=ky,E.bind=Jh,E.bindAll=s8,E.bindKey=By,E.castArray=EN,E.chain=Cy,E.chunk=DI,E.compact=II,E.concat=zI,E.cond=c8,E.conforms=d8,E.constant=op,E.countBy=Uz,E.create=oM,E.curry=Ty,E.curryRight=Ry,E.debounce=Fy,E.defaults=iM,E.defaultsDeep=aM,E.defer=gN,E.delay=mN,E.difference=NI,E.differenceBy=MI,E.differenceWith=LI,E.drop=HI,E.dropRight=VI,E.dropRightWhile=WI,E.dropWhile=jI,E.fill=UI,E.filter=Qz,E.flatMap=Kz,E.flatMapDeep=Jz,E.flatMapDepth=Xz,E.flatten=Ay,E.flattenDeep=GI,E.flattenDepth=QI,E.flip=bN,E.flow=f8,E.flowRight=h8,E.fromPairs=qI,E.functions=hM,E.functionsIn=pM,E.groupBy=Zz,E.initial=KI,E.intersection=JI,E.intersectionBy=XI,E.intersectionWith=ZI,E.invert=mM,E.invertBy=bM,E.invokeMap=tN,E.iteratee=ip,E.keyBy=nN,E.keys=Xt,E.keysIn=Bn,E.map=hd,E.mapKeys=AM,E.mapValues=yM,E.matches=p8,E.matchesProperty=g8,E.memoize=gd,E.merge=xM,E.mergeWith=Hy,E.method=m8,E.methodOf=b8,E.mixin=ap,E.negate=md,E.nthArg=A8,E.omit=wM,E.omitBy=CM,E.once=vN,E.orderBy=rN,E.over=y8,E.overArgs=AN,E.overEvery=x8,E.overSome=w8,E.partial=Xh,E.partialRight=Py,E.partition=oN,E.pick=SM,E.pickBy=Vy,E.property=Yy,E.propertyOf=C8,E.pull=rz,E.pullAll=xy,E.pullAllBy=oz,E.pullAllWith=iz,E.pullAt=az,E.range=S8,E.rangeRight=_8,E.rearg=yN,E.reject=lN,E.remove=lz,E.rest=xN,E.reverse=Yh,E.sampleSize=cN,E.set=EM,E.setWith=kM,E.shuffle=dN,E.slice=sz,E.sortBy=hN,E.sortedUniq=gz,E.sortedUniqBy=mz,E.split=KM,E.spread=wN,E.tail=bz,E.take=vz,E.takeRight=Az,E.takeRightWhile=yz,E.takeWhile=xz,E.tap=Iz,E.throttle=CN,E.thru=fd,E.toArray=zy,E.toPairs=Wy,E.toPairsIn=jy,E.toPath=R8,E.toPlainObject=My,E.transform=BM,E.unary=SN,E.union=wz,E.unionBy=Cz,E.unionWith=Sz,E.uniq=_z,E.uniqBy=Ez,E.uniqWith=kz,E.unset=TM,E.unzip=Kh,E.unzipWith=wy,E.update=RM,E.updateWith=FM,E.values=fa,E.valuesIn=PM,E.without=Bz,E.words=Qy,E.wrap=_N,E.xor=Tz,E.xorBy=Rz,E.xorWith=Fz,E.zip=Pz,E.zipObject=$z,E.zipObjectDeep=Oz,E.zipWith=Dz,E.entries=Wy,E.entriesIn=jy,E.extend=Ly,E.extendWith=Ad,ap(E,E),E.add=P8,E.attempt=qy,E.camelCase=IM,E.capitalize=Uy,E.ceil=$8,E.clamp=$M,E.clone=kN,E.cloneDeep=TN,E.cloneDeepWith=RN,E.cloneWith=BN,E.conformsTo=FN,E.deburr=Gy,E.defaultTo=u8,E.divide=O8,E.endsWith=zM,E.eq=gr,E.escape=NM,E.escapeRegExp=MM,E.every=Gz,E.find=qz,E.findIndex=by,E.findKey=lM,E.findLast=Yz,E.findLastIndex=vy,E.findLastKey=sM,E.floor=D8,E.forEach=Sy,E.forEachRight=_y,E.forIn=cM,E.forInRight=dM,E.forOwn=uM,E.forOwnRight=fM,E.get=tp,E.gt=PN,E.gte=$N,E.has=gM,E.hasIn=np,E.head=yy,E.identity=Tn,E.includes=eN,E.indexOf=YI,E.inRange=OM,E.invoke=vM,E.isArguments=gi,E.isArray=je,E.isArrayBuffer=ON,E.isArrayLike=kn,E.isArrayLikeObject=Ot,E.isBoolean=DN,E.isBuffer=$o,E.isDate=IN,E.isElement=zN,E.isEmpty=NN,E.isEqual=MN,E.isEqualWith=LN,E.isError=Zh,E.isFinite=HN,E.isFunction=to,E.isInteger=$y,E.isLength=bd,E.isMap=Oy,E.isMatch=VN,E.isMatchWith=WN,E.isNaN=jN,E.isNative=UN,E.isNil=QN,E.isNull=GN,E.isNumber=Dy,E.isObject=Et,E.isObjectLike=Tt,E.isPlainObject=Ml,E.isRegExp=ep,E.isSafeInteger=qN,E.isSet=Iy,E.isString=vd,E.isSymbol=Hn,E.isTypedArray=ua,E.isUndefined=YN,E.isWeakMap=KN,E.isWeakSet=JN,E.join=ez,E.kebabCase=LM,E.last=nr,E.lastIndexOf=tz,E.lowerCase=HM,E.lowerFirst=VM,E.lt=XN,E.lte=ZN,E.max=I8,E.maxBy=z8,E.mean=N8,E.meanBy=M8,E.min=L8,E.minBy=H8,E.stubArray=sp,E.stubFalse=cp,E.stubObject=E8,E.stubString=k8,E.stubTrue=B8,E.multiply=V8,E.nth=nz,E.noConflict=v8,E.noop=lp,E.now=pd,E.pad=WM,E.padEnd=jM,E.padStart=UM,E.parseInt=GM,E.random=DM,E.reduce=iN,E.reduceRight=aN,E.repeat=QM,E.replace=qM,E.result=_M,E.round=W8,E.runInContext=V,E.sample=sN,E.size=uN,E.snakeCase=YM,E.some=fN,E.sortedIndex=cz,E.sortedIndexBy=dz,E.sortedIndexOf=uz,E.sortedLastIndex=fz,E.sortedLastIndexBy=hz,E.sortedLastIndexOf=pz,E.startCase=JM,E.startsWith=XM,E.subtract=j8,E.sum=U8,E.sumBy=G8,E.template=ZM,E.times=T8,E.toFinite=no,E.toInteger=Ge,E.toLength=Ny,E.toLower=e8,E.toNumber=rr,E.toSafeInteger=eM,E.toString=st,E.toUpper=t8,E.trim=n8,E.trimEnd=r8,E.trimStart=o8,E.truncate=i8,E.unescape=a8,E.uniqueId=F8,E.upperCase=l8,E.upperFirst=rp,E.each=Sy,E.eachRight=_y,E.first=yy,ap(E,function(){var i={};return Rr(E,function(a,d){ut.call(E.prototype,d)||(i[d]=a)}),i}(),{chain:!1}),E.VERSION=o,Jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){E[i].placeholder=E}),Jn(["drop","take"],function(i,a){et.prototype[i]=function(d){d=d===n?1:Yt(Ge(d),0);var m=this.__filtered__&&!a?new et(this):this.clone();return m.__filtered__?m.__takeCount__=cn(d,m.__takeCount__):m.__views__.push({size:cn(d,ge),type:i+(m.__dir__<0?"Right":"")}),m},et.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Jn(["filter","map","takeWhile"],function(i,a){var d=a+1,m=d==O||d==re;et.prototype[i]=function(x){var R=this.clone();return R.__iteratees__.push({iteratee:Re(x,3),type:d}),R.__filtered__=R.__filtered__||m,R}}),Jn(["head","last"],function(i,a){var d="take"+(a?"Right":"");et.prototype[i]=function(){return this[d](1).value()[0]}}),Jn(["initial","tail"],function(i,a){var d="drop"+(a?"":"Right");et.prototype[i]=function(){return this.__filtered__?new et(this):this[d](1)}}),et.prototype.compact=function(){return this.filter(Tn)},et.prototype.find=function(i){return this.filter(i).head()},et.prototype.findLast=function(i){return this.reverse().find(i)},et.prototype.invokeMap=qe(function(i,a){return typeof i=="function"?new et(this):this.map(function(d){return $l(d,i,a)})}),et.prototype.reject=function(i){return this.filter(md(Re(i)))},et.prototype.slice=function(i,a){i=Ge(i);var d=this;return d.__filtered__&&(i>0||a<0)?new et(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),a!==n&&(a=Ge(a),d=a<0?d.dropRight(-a):d.take(a-i)),d)},et.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},et.prototype.toArray=function(){return this.take(ge)},Rr(et.prototype,function(i,a){var d=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),x=E[m?"take"+(a=="last"?"Right":""):a],R=m||/^find/.test(a);!x||(E.prototype[a]=function(){var $=this.__wrapped__,z=m?[1]:arguments,j=$ instanceof et,oe=z[0],ae=j||je($),de=function(Je){var rt=x.apply(E,Eo([Je],z));return m&&be?rt[0]:rt};ae&&d&&typeof oe=="function"&&oe.length!=1&&(j=ae=!1);var be=this.__chain__,we=!!this.__actions__.length,Pe=R&&!be,Qe=j&&!we;if(!R&&ae){$=Qe?$:new et(this);var $e=i.apply($,z);return $e.__actions__.push({func:fd,args:[de],thisArg:n}),new Zn($e,be)}return Pe&&Qe?i.apply(this,z):($e=this.thru(de),Pe?m?$e.value()[0]:$e.value():$e)})}),Jn(["pop","push","shift","sort","splice","unshift"],function(i){var a=Nc[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);E.prototype[i]=function(){var x=arguments;if(m&&!this.__chain__){var R=this.value();return a.apply(je(R)?R:[],x)}return this[d](function($){return a.apply(je($)?$:[],x)})}}),Rr(et.prototype,function(i,a){var d=E[a];if(d){var m=d.name+"";ut.call(aa,m)||(aa[m]=[]),aa[m].push({name:a,func:d})}}),aa[id(n,w).name]=[{name:"wrapper",func:n}],et.prototype.clone=a6,et.prototype.reverse=l6,et.prototype.value=s6,E.prototype.at=zz,E.prototype.chain=Nz,E.prototype.commit=Mz,E.prototype.next=Lz,E.prototype.plant=Vz,E.prototype.reverse=Wz,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=jz,E.prototype.first=E.prototype.head,El&&(E.prototype[El]=Hz),E},ra=MD();li?((li.exports=ra)._=ra,ih._=ra):nn._=ra}).call(Yo)})(Mu,Mu.exports);var Pn=Mu.exports;function Ko(e){const t=mo();let n=r.computed(()=>t.drawerConfig.value.type==4?t.drawerConfig.value.conditionNodes.find(l=>l.priorityLevel==t.drawerConfig.priorityLevel):t.drawerConfig.priorityLevel?t.drawerConfig.value[t.drawerConfig.priorityLevel]:t.drawerConfig.value);const o=r.computed({get(){return e.s_p?Pn.get(n.value,`${e.s_p}.${e.key}`):Pn.get(n.value,e.key)},set(l){e.s_p?Pn.set(n.value,`${e.s_p}.${e.key}`,l):Pn.set(n.value,e.key,l)}});return{drawerConfig:n,nowValue:o}}const iR={class:"lcyq_drawer_item"},aR={class:"title"},lR={key:0},sR={class:"plugin"},cR={__name:"input",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);return(l,s)=>(r.openBlock(),r.createElementBlock("div",iR,[r.createElementVNode("div",aR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",lR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",sR,[r.createVNode(r.unref(Hr),{value:r.unref(o),"onUpdate:value":s[0]||(s[0]=c=>r.isRef(o)?o.value=c:null),placeholder:`\u8BF7\u8F93\u5165${e.info.name}`},null,8,["value","placeholder"])])]))}},dR={class:"lcyq_drawer_item"},uR={class:"title line"},fR={key:0},hR={class:"plugin"},pR={__name:"select",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);function l(c){switch(t.info.key){case"task_type":s(c);break}}function s(c){const u=n.value.node_config.operations,f=t.info.options.find(p=>p.value===c);let h=[];switch(f==null||f.useOperations.forEach(p=>{var v;const b=(v=u.find(C=>C.value===p))!=null?v:kb.find(C=>C.value==p);h.push(b)}),h.push(...u.filter(p=>p.value>5)),n.value.node_config.task_type){case 0:h=h.map(p=>([1,4].includes(p.value)&&(p.enable=1),p));break;default:h=h.map(p=>(p.enable=1,p));break}n.value.node_config.operations=Pn.cloneDeep(h)}return(c,u)=>(r.openBlock(),r.createElementBlock("div",dR,[r.createElementVNode("div",uR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",fR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",hR,[r.createVNode(r.unref(_s),{value:r.unref(o),"onUpdate:value":[u[0]||(u[0]=f=>r.isRef(o)?o.value=f:null),l],options:e.info.options,placeholder:"\u8BF7\u9009\u62E9"},null,8,["value","options"])])]))}},gR=[{key:"organize",name:"\u7EC4\u7EC7"},{key:"depart",name:"\u90E8\u95E8"},{key:"dwDepart",name:"\u5355\u4F4D\u90E8\u95E8"},{key:"position",name:"\u5C97\u4F4D"},{key:"xdposition",name:"\u76F8\u5BF9\u5C97\u4F4D"},{key:"xdrole",name:"\u76F8\u5BF9\u5173\u7CFB"},{key:"role",name:"\u89D2\u8272"},{key:"user",name:"\u7528\u6237"},{key:"tag",name:"\u6807\u7B7E"},{key:"filter",name:"\u7B5B\u9009\u5668"},{key:"enter",name:"\u624B\u52A8\u5F55\u5165"}];var qL=(()=>`.assignee[data-v-066fdf4c]{height:140px;border:1px solid #e3e3e9;border-radius:3px}.assignee .tip_text[data-v-066fdf4c]{color:#999}
2116
+ }`;var Qe=qy(function(){return lt(R,we+"return "+de).apply(n,$)});if(Qe.source=de,Zh(Qe))throw Qe;return Qe}function e8(i){return st(i).toLowerCase()}function t8(i){return st(i).toUpperCase()}function n8(i,a,d){if(i=st(i),i&&(d||a===n))return r0(i);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=hr(a),R=o0(m,x),$=i0(m,x)+1;return Po(m,R,$).join("")}function r8(i,a,d){if(i=st(i),i&&(d||a===n))return i.slice(0,l0(i)+1);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=i0(m,hr(a))+1;return Po(m,0,x).join("")}function o8(i,a,d){if(i=st(i),i&&(d||a===n))return i.replace(le,"");if(!i||!(a=Ln(a)))return i;var m=hr(i),x=o0(m,hr(a));return Po(m,x).join("")}function i8(i,a){var d=U,m=Z;if(Et(a)){var x="separator"in a?a.separator:x;d="length"in a?Ge(a.length):d,m="omission"in a?Ln(a.omission):m}i=st(i);var R=i.length;if(ta(i)){var $=hr(i);R=$.length}if(d>=R)return i;var z=d-na(m);if(z<1)return m;var j=$?Po($,0,z).join(""):i.slice(0,z);if(x===n)return j+m;if($&&(z+=j.length-z),ep(x)){if(i.slice(z).search(x)){var oe,ae=j;for(x.global||(x=mh(x.source,st(Tr.exec(x))+"g")),x.lastIndex=0;oe=x.exec(ae);)var de=oe.index;j=j.slice(0,de===n?z:de)}}else if(i.indexOf(Ln(x),z)!=z){var be=j.lastIndexOf(x);be>-1&&(j=j.slice(0,be))}return j+m}function a8(i){return i=st(i),i&&Ve.test(i)?i.replace(Be,DD):i}var l8=ca(function(i,a,d){return i+(d?" ":"")+a.toUpperCase()}),rp=Y0("toUpperCase");function Qy(i,a,d){return i=st(i),a=d?n:a,a===n?RD(i)?ND(i):xD(i):i.match(a)||[]}var qy=qe(function(i,a){try{return Nn(i,n,a)}catch(d){return Zh(d)?d:new We(d)}}),s8=Zr(function(i,a){return Jn(a,function(d){d=Pr(d),Jr(i,d,Jh(i[d],i))}),i});function c8(i){var a=i==null?0:i.length,d=Re();return i=a?St(i,function(m){if(typeof m[1]!="function")throw new Xn(c);return[d(m[0]),m[1]]}):[],qe(function(m){for(var x=-1;++x<a;){var R=i[x];if(Nn(R[0],this,m))return Nn(R[1],this,m)}})}function d8(i){return D6(er(i,b))}function op(i){return function(){return i}}function u8(i,a){return i==null||i!==i?a:i}var f8=J0(),h8=J0(!0);function Tn(i){return i}function ip(i){return k0(typeof i=="function"?i:er(i,b))}function p8(i){return T0(er(i,b))}function g8(i,a){return R0(i,er(a,b))}var m8=qe(function(i,a){return function(d){return $l(d,i,a)}}),b8=qe(function(i,a){return function(d){return $l(i,d,a)}});function ap(i,a,d){var m=Xt(a),x=ed(a,m);d==null&&!(Et(a)&&(x.length||!m.length))&&(d=a,a=i,i=this,x=ed(a,Xt(a)));var R=!(Et(d)&&"chain"in d)||!!d.chain,$=to(i);return Jn(x,function(z){var j=a[z];i[z]=j,$&&(i.prototype[z]=function(){var oe=this.__chain__;if(R||oe){var ae=i(this.__wrapped__),de=ae.__actions__=En(this.__actions__);return de.push({func:j,args:arguments,thisArg:i}),ae.__chain__=oe,ae}return j.apply(i,Eo([this.value()],arguments))})}),i}function v8(){return nn._===this&&(nn._=jD),this}function lp(){}function A8(i){return i=Ge(i),qe(function(a){return F0(a,i)})}var y8=Nh(St),x8=Nh(XA),w8=Nh(ch);function Yy(i){return Uh(i)?dh(Pr(i)):X6(i)}function C8(i){return function(a){return i==null?n:fi(i,a)}}var S8=Z0(),_8=Z0(!0);function sp(){return[]}function cp(){return!1}function E8(){return{}}function k8(){return""}function B8(){return!0}function T8(i,a){if(i=Ge(i),i<1||i>ce)return[];var d=ge,m=cn(i,ge);a=Re(a),i-=ge;for(var x=hh(m,a);++d<i;)a(d);return x}function R8(i){return je(i)?St(i,Pr):Hn(i)?[i]:En(gy(st(i)))}function F8(i){var a=++VD;return st(i)+a}var P8=ad(function(i,a){return i+a},0),$8=Mh("ceil"),O8=ad(function(i,a){return i/a},1),D8=Mh("floor");function I8(i){return i&&i.length?Zc(i,Tn,Sh):n}function z8(i,a){return i&&i.length?Zc(i,Re(a,2),Sh):n}function N8(i){return t0(i,Tn)}function M8(i,a){return t0(i,Re(a,2))}function L8(i){return i&&i.length?Zc(i,Tn,Bh):n}function H8(i,a){return i&&i.length?Zc(i,Re(a,2),Bh):n}var V8=ad(function(i,a){return i*a},1),W8=Mh("round"),j8=ad(function(i,a){return i-a},0);function U8(i){return i&&i.length?fh(i,Tn):0}function G8(i,a){return i&&i.length?fh(i,Re(a,2)):0}return E.after=pN,E.ary=Ey,E.assign=tM,E.assignIn=Ly,E.assignInWith=Ad,E.assignWith=nM,E.at=rM,E.before=ky,E.bind=Jh,E.bindAll=s8,E.bindKey=By,E.castArray=EN,E.chain=Cy,E.chunk=DI,E.compact=II,E.concat=zI,E.cond=c8,E.conforms=d8,E.constant=op,E.countBy=Uz,E.create=oM,E.curry=Ty,E.curryRight=Ry,E.debounce=Fy,E.defaults=iM,E.defaultsDeep=aM,E.defer=gN,E.delay=mN,E.difference=NI,E.differenceBy=MI,E.differenceWith=LI,E.drop=HI,E.dropRight=VI,E.dropRightWhile=WI,E.dropWhile=jI,E.fill=UI,E.filter=Qz,E.flatMap=Kz,E.flatMapDeep=Jz,E.flatMapDepth=Xz,E.flatten=Ay,E.flattenDeep=GI,E.flattenDepth=QI,E.flip=bN,E.flow=f8,E.flowRight=h8,E.fromPairs=qI,E.functions=hM,E.functionsIn=pM,E.groupBy=Zz,E.initial=KI,E.intersection=JI,E.intersectionBy=XI,E.intersectionWith=ZI,E.invert=mM,E.invertBy=bM,E.invokeMap=tN,E.iteratee=ip,E.keyBy=nN,E.keys=Xt,E.keysIn=Bn,E.map=hd,E.mapKeys=AM,E.mapValues=yM,E.matches=p8,E.matchesProperty=g8,E.memoize=gd,E.merge=xM,E.mergeWith=Hy,E.method=m8,E.methodOf=b8,E.mixin=ap,E.negate=md,E.nthArg=A8,E.omit=wM,E.omitBy=CM,E.once=vN,E.orderBy=rN,E.over=y8,E.overArgs=AN,E.overEvery=x8,E.overSome=w8,E.partial=Xh,E.partialRight=Py,E.partition=oN,E.pick=SM,E.pickBy=Vy,E.property=Yy,E.propertyOf=C8,E.pull=rz,E.pullAll=xy,E.pullAllBy=oz,E.pullAllWith=iz,E.pullAt=az,E.range=S8,E.rangeRight=_8,E.rearg=yN,E.reject=lN,E.remove=lz,E.rest=xN,E.reverse=Yh,E.sampleSize=cN,E.set=EM,E.setWith=kM,E.shuffle=dN,E.slice=sz,E.sortBy=hN,E.sortedUniq=gz,E.sortedUniqBy=mz,E.split=KM,E.spread=wN,E.tail=bz,E.take=vz,E.takeRight=Az,E.takeRightWhile=yz,E.takeWhile=xz,E.tap=Iz,E.throttle=CN,E.thru=fd,E.toArray=zy,E.toPairs=Wy,E.toPairsIn=jy,E.toPath=R8,E.toPlainObject=My,E.transform=BM,E.unary=SN,E.union=wz,E.unionBy=Cz,E.unionWith=Sz,E.uniq=_z,E.uniqBy=Ez,E.uniqWith=kz,E.unset=TM,E.unzip=Kh,E.unzipWith=wy,E.update=RM,E.updateWith=FM,E.values=fa,E.valuesIn=PM,E.without=Bz,E.words=Qy,E.wrap=_N,E.xor=Tz,E.xorBy=Rz,E.xorWith=Fz,E.zip=Pz,E.zipObject=$z,E.zipObjectDeep=Oz,E.zipWith=Dz,E.entries=Wy,E.entriesIn=jy,E.extend=Ly,E.extendWith=Ad,ap(E,E),E.add=P8,E.attempt=qy,E.camelCase=IM,E.capitalize=Uy,E.ceil=$8,E.clamp=$M,E.clone=kN,E.cloneDeep=TN,E.cloneDeepWith=RN,E.cloneWith=BN,E.conformsTo=FN,E.deburr=Gy,E.defaultTo=u8,E.divide=O8,E.endsWith=zM,E.eq=gr,E.escape=NM,E.escapeRegExp=MM,E.every=Gz,E.find=qz,E.findIndex=by,E.findKey=lM,E.findLast=Yz,E.findLastIndex=vy,E.findLastKey=sM,E.floor=D8,E.forEach=Sy,E.forEachRight=_y,E.forIn=cM,E.forInRight=dM,E.forOwn=uM,E.forOwnRight=fM,E.get=tp,E.gt=PN,E.gte=$N,E.has=gM,E.hasIn=np,E.head=yy,E.identity=Tn,E.includes=eN,E.indexOf=YI,E.inRange=OM,E.invoke=vM,E.isArguments=gi,E.isArray=je,E.isArrayBuffer=ON,E.isArrayLike=kn,E.isArrayLikeObject=Ot,E.isBoolean=DN,E.isBuffer=$o,E.isDate=IN,E.isElement=zN,E.isEmpty=NN,E.isEqual=MN,E.isEqualWith=LN,E.isError=Zh,E.isFinite=HN,E.isFunction=to,E.isInteger=$y,E.isLength=bd,E.isMap=Oy,E.isMatch=VN,E.isMatchWith=WN,E.isNaN=jN,E.isNative=UN,E.isNil=QN,E.isNull=GN,E.isNumber=Dy,E.isObject=Et,E.isObjectLike=Tt,E.isPlainObject=Ml,E.isRegExp=ep,E.isSafeInteger=qN,E.isSet=Iy,E.isString=vd,E.isSymbol=Hn,E.isTypedArray=ua,E.isUndefined=YN,E.isWeakMap=KN,E.isWeakSet=JN,E.join=ez,E.kebabCase=LM,E.last=nr,E.lastIndexOf=tz,E.lowerCase=HM,E.lowerFirst=VM,E.lt=XN,E.lte=ZN,E.max=I8,E.maxBy=z8,E.mean=N8,E.meanBy=M8,E.min=L8,E.minBy=H8,E.stubArray=sp,E.stubFalse=cp,E.stubObject=E8,E.stubString=k8,E.stubTrue=B8,E.multiply=V8,E.nth=nz,E.noConflict=v8,E.noop=lp,E.now=pd,E.pad=WM,E.padEnd=jM,E.padStart=UM,E.parseInt=GM,E.random=DM,E.reduce=iN,E.reduceRight=aN,E.repeat=QM,E.replace=qM,E.result=_M,E.round=W8,E.runInContext=V,E.sample=sN,E.size=uN,E.snakeCase=YM,E.some=fN,E.sortedIndex=cz,E.sortedIndexBy=dz,E.sortedIndexOf=uz,E.sortedLastIndex=fz,E.sortedLastIndexBy=hz,E.sortedLastIndexOf=pz,E.startCase=JM,E.startsWith=XM,E.subtract=j8,E.sum=U8,E.sumBy=G8,E.template=ZM,E.times=T8,E.toFinite=no,E.toInteger=Ge,E.toLength=Ny,E.toLower=e8,E.toNumber=rr,E.toSafeInteger=eM,E.toString=st,E.toUpper=t8,E.trim=n8,E.trimEnd=r8,E.trimStart=o8,E.truncate=i8,E.unescape=a8,E.uniqueId=F8,E.upperCase=l8,E.upperFirst=rp,E.each=Sy,E.eachRight=_y,E.first=yy,ap(E,function(){var i={};return Rr(E,function(a,d){ut.call(E.prototype,d)||(i[d]=a)}),i}(),{chain:!1}),E.VERSION=o,Jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){E[i].placeholder=E}),Jn(["drop","take"],function(i,a){et.prototype[i]=function(d){d=d===n?1:Yt(Ge(d),0);var m=this.__filtered__&&!a?new et(this):this.clone();return m.__filtered__?m.__takeCount__=cn(d,m.__takeCount__):m.__views__.push({size:cn(d,ge),type:i+(m.__dir__<0?"Right":"")}),m},et.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Jn(["filter","map","takeWhile"],function(i,a){var d=a+1,m=d==O||d==re;et.prototype[i]=function(x){var R=this.clone();return R.__iteratees__.push({iteratee:Re(x,3),type:d}),R.__filtered__=R.__filtered__||m,R}}),Jn(["head","last"],function(i,a){var d="take"+(a?"Right":"");et.prototype[i]=function(){return this[d](1).value()[0]}}),Jn(["initial","tail"],function(i,a){var d="drop"+(a?"":"Right");et.prototype[i]=function(){return this.__filtered__?new et(this):this[d](1)}}),et.prototype.compact=function(){return this.filter(Tn)},et.prototype.find=function(i){return this.filter(i).head()},et.prototype.findLast=function(i){return this.reverse().find(i)},et.prototype.invokeMap=qe(function(i,a){return typeof i=="function"?new et(this):this.map(function(d){return $l(d,i,a)})}),et.prototype.reject=function(i){return this.filter(md(Re(i)))},et.prototype.slice=function(i,a){i=Ge(i);var d=this;return d.__filtered__&&(i>0||a<0)?new et(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),a!==n&&(a=Ge(a),d=a<0?d.dropRight(-a):d.take(a-i)),d)},et.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},et.prototype.toArray=function(){return this.take(ge)},Rr(et.prototype,function(i,a){var d=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),x=E[m?"take"+(a=="last"?"Right":""):a],R=m||/^find/.test(a);!x||(E.prototype[a]=function(){var $=this.__wrapped__,z=m?[1]:arguments,j=$ instanceof et,oe=z[0],ae=j||je($),de=function(Je){var rt=x.apply(E,Eo([Je],z));return m&&be?rt[0]:rt};ae&&d&&typeof oe=="function"&&oe.length!=1&&(j=ae=!1);var be=this.__chain__,we=!!this.__actions__.length,Pe=R&&!be,Qe=j&&!we;if(!R&&ae){$=Qe?$:new et(this);var $e=i.apply($,z);return $e.__actions__.push({func:fd,args:[de],thisArg:n}),new Zn($e,be)}return Pe&&Qe?i.apply(this,z):($e=this.thru(de),Pe?m?$e.value()[0]:$e.value():$e)})}),Jn(["pop","push","shift","sort","splice","unshift"],function(i){var a=Nc[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);E.prototype[i]=function(){var x=arguments;if(m&&!this.__chain__){var R=this.value();return a.apply(je(R)?R:[],x)}return this[d](function($){return a.apply(je($)?$:[],x)})}}),Rr(et.prototype,function(i,a){var d=E[a];if(d){var m=d.name+"";ut.call(aa,m)||(aa[m]=[]),aa[m].push({name:a,func:d})}}),aa[id(n,w).name]=[{name:"wrapper",func:n}],et.prototype.clone=a6,et.prototype.reverse=l6,et.prototype.value=s6,E.prototype.at=zz,E.prototype.chain=Nz,E.prototype.commit=Mz,E.prototype.next=Lz,E.prototype.plant=Vz,E.prototype.reverse=Wz,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=jz,E.prototype.first=E.prototype.head,El&&(E.prototype[El]=Hz),E},ra=MD();li?((li.exports=ra)._=ra,ih._=ra):nn._=ra}).call(Yo)})(Mu,Mu.exports);var Pn=Mu.exports;function Ko(e){const t=mo();let n=r.computed(()=>t.drawerConfig.value.type==4?t.drawerConfig.value.conditionNodes.find(l=>l.priorityLevel==t.drawerConfig.priorityLevel):t.drawerConfig.priorityLevel?t.drawerConfig.value[t.drawerConfig.priorityLevel]:t.drawerConfig.value);const o=r.computed({get(){return e.s_p?Pn.get(n.value,`${e.s_p}.${e.key}`):Pn.get(n.value,e.key)},set(l){e.s_p?Pn.set(n.value,`${e.s_p}.${e.key}`,l):Pn.set(n.value,e.key,l)}});return{drawerConfig:n,nowValue:o}}const iR={class:"lcyq_drawer_item"},aR={class:"title"},lR={key:0},sR={class:"plugin"},cR={__name:"input",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);return(l,s)=>(r.openBlock(),r.createElementBlock("div",iR,[r.createElementVNode("div",aR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",lR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",sR,[r.createVNode(r.unref(Hr),{value:r.unref(o),"onUpdate:value":s[0]||(s[0]=c=>r.isRef(o)?o.value=c:null),placeholder:`\u8BF7\u8F93\u5165${e.info.name}`,type:t.info.copsType?t.info.copsType:"text"},null,8,["value","placeholder","type"])])]))}},dR={class:"lcyq_drawer_item"},uR={class:"title line"},fR={key:0},hR={class:"plugin"},pR={__name:"select",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);function l(c){switch(t.info.key){case"task_type":s(c);break}}function s(c){const u=n.value.node_config.operations,f=t.info.options.find(p=>p.value===c);let h=[];switch(f==null||f.useOperations.forEach(p=>{var v;const b=(v=u.find(C=>C.value===p))!=null?v:kb.find(C=>C.value==p);h.push(b)}),h.push(...u.filter(p=>p.value>5)),n.value.node_config.task_type){case 0:h=h.map(p=>([1,4].includes(p.value)&&(p.enable=1),p));break;default:h=h.map(p=>(p.enable=1,p));break}n.value.node_config.operations=Pn.cloneDeep(h)}return(c,u)=>(r.openBlock(),r.createElementBlock("div",dR,[r.createElementVNode("div",uR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",fR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",hR,[r.createVNode(r.unref(_s),{value:r.unref(o),"onUpdate:value":[u[0]||(u[0]=f=>r.isRef(o)?o.value=f:null),l],options:e.info.options,placeholder:"\u8BF7\u9009\u62E9"},null,8,["value","options"])])]))}},gR=[{key:"organize",name:"\u7EC4\u7EC7"},{key:"depart",name:"\u90E8\u95E8"},{key:"dwDepart",name:"\u5355\u4F4D\u90E8\u95E8"},{key:"position",name:"\u5C97\u4F4D"},{key:"xdposition",name:"\u76F8\u5BF9\u5C97\u4F4D"},{key:"xdrole",name:"\u76F8\u5BF9\u5173\u7CFB"},{key:"role",name:"\u89D2\u8272"},{key:"user",name:"\u7528\u6237"},{key:"tag",name:"\u6807\u7B7E"},{key:"filter",name:"\u7B5B\u9009\u5668"},{key:"enter",name:"\u624B\u52A8\u5F55\u5165"}];var qL=(()=>`.assignee[data-v-066fdf4c]{height:140px;border:1px solid #e3e3e9;border-radius:3px}.assignee .tip_text[data-v-066fdf4c]{color:#999}
2117
2117
  `)(),Fs=(e,t)=>{const n=e.__vccOpts||e;for(const[o,l]of t)n[o]=l;return n};const mR={class:"lcyq_drawer_item"},bR={class:"title"},vR={key:0},AR={class:"plugin assignee"},yR={style:{padding:"12px 16px"}},xR={class:"tip_text"};var wR=Fs({__name:"personnel",props:{info:{type:Object,default:()=>({})}},setup(e){let t=mo();const n=e,{drawerConfig:o,nowValue:l}=Ko(n.info),s=r.inject("personnelCom"),c=r.computed(()=>t.personnelConfig),u=r.ref(),f=Pn.groupBy(gR,"key"),h=r.computed(()=>l.value);function p(){u.value.show(Pn.cloneDeep({data:b(l.value),...c.value}))}function b(A){let y={};for(let w of A)w.type==="depart"?(y.depart||(y.depart={}),y.depart[w.organ_id]||(y.depart[w.organ_id]=[]),y.depart[w.organ_id].push(w)):(y[w.type]||(y[w.type]=[]),y[w.type].push(w));return y}function v(A){l.value=C(A.info)}function C(A){let y=[];for(let w in A)if(A[w].length!==void 0)for(let S of A[w])y.push({...S,type:w,value:w=="user"?S.username:S.id});else for(let S in A[w])for(let k of A[w][S])y.push({...k,type:w,value:k.id});return y}function g(A){return f[A][0].name}return(A,y)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",mR,[r.createElementVNode("div",bR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),n.info.required?(r.openBlock(),r.createElementBlock("i",vR,"*")):r.createCommentVNode("",!0)]),r.createVNode(r.unref(Pt),{text:"",type:"primary",onClick:p},{default:r.withCtx(()=>y[0]||(y[0]=[r.createTextVNode("\u8BBE\u7F6E\u4EBA\u5458")])),_:1})]),r.createElementVNode("div",AR,[r.createVNode(r.unref(Rs),null,{default:r.withCtx(()=>[r.createElementVNode("div",yR,[r.createVNode(r.unref(at),{vertical:""},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.value,w=>(r.openBlock(),r.createElementBlock("div",null,[r.createVNode(r.unref(at),null,{default:r.withCtx(()=>[r.createVNode(r.unref(La),{size:"small",bordered:!1,type:"info"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(g(w.type)),1)]),_:2},1024),r.createTextVNode(" "+r.toDisplayString(w.name)+" ",1),r.createElementVNode("span",xR,r.toDisplayString(w.username),1)]),_:2},1024)]))),256))]),_:1})])]),_:1})])]),(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(s)),{ref_key:"personnelPopRef",ref:u,key:"formAuthCom",onPPopcallback:v},null,544))],64))}},[["__scopeId","data-v-066fdf4c"]]);/**!
2118
2118
  * Sortable 1.15.6
2119
2119
  * @author RubaXa <trash@rubaxa.org>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zl-lcyq",
3
3
  "private": false,
4
- "version": "1.4.4",
4
+ "version": "1.4.5",
5
5
  "keywords": [
6
6
  "zl-lcyq",
7
7
  "lcyq"