ui-process-h5 0.1.15 → 0.1.22

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.
@@ -1,2 +0,0 @@
1
- (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["index"]=e(require("vue")):t["index"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(){var e={9662:function(t,e,r){var n=r(614),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},9670:function(t,e,r){var n=r(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,r){var n=r(5656),o=r(1400),i=r(6244),u=function(t){return function(e,r,u){var a,c=n(e),f=i(c),s=o(u,f);if(t&&r!=r){while(f>s)if(a=c[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},3658:function(t,e,r){"use strict";var n=r(9781),o=r(3157),i=TypeError,u=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!u(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,r){var n=r(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,r){var n=r(2597),o=r(3887),i=r(1236),u=r(3070);t.exports=function(t,e,r){for(var a=o(e),c=u.f,f=i.f,s=0;s<a.length;s++){var l=a[s];n(t,l)||r&&n(r,l)||c(t,l,f(e,l))}}},8880:function(t,e,r){var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,r){var n=r(614),o=r(3070),i=r(6339),u=r(3072);t.exports=function(t,e,r,a){a||(a={});var c=a.enumerable,f=void 0!==a.name?a.name:e;if(n(r)&&i(r,f,a),a.global)c?t[e]=r:u(e,r);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(s){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},3072:function(t,e,r){var n=r(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},5117:function(t,e,r){"use strict";var n=r(6330),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw o("Cannot delete property "+n(e)+" of "+n(t))}},9781:function(t,e,r){var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,r="undefined"==typeof e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},317:function(t,e,r){var n=r(7854),o=r(111),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},7207:function(t){var e=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,r){var n,o,i=r(7854),u=r(8113),a=i.process,c=i.Deno,f=a&&a.versions||c&&c.version,s=f&&f.v8;s&&(n=s.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(n=u.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,r){var n=r(7854),o=r(1236).f,i=r(8880),u=r(8052),a=r(3072),c=r(9920),f=r(4705);t.exports=function(t,e){var r,s,l,p,v,y,d=t.target,b=t.global,h=t.stat;if(s=b?n:h?n[d]||a(d,{}):(n[d]||{}).prototype,s)for(l in e){if(v=e[l],t.dontCallGetSet?(y=o(s,l),p=y&&y.value):p=s[l],r=f(b?l:d+(h?".":"#")+l,t.forced),!r&&void 0!==p){if(typeof v==typeof p)continue;c(v,p)}(t.sham||p&&p.sham)&&i(v,"sham",!0),u(s,l,v,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,r){var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,r){var n=r(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,r){var n=r(9781),o=r(2597),i=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,f=a&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:f}},1702:function(t,e,r){var n=r(4374),o=Function.prototype,i=o.call,u=n&&o.bind.bind(i,i);t.exports=n?u:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,r){var n=r(7854),o=r(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},8173:function(t,e,r){var n=r(9662),o=r(8554);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},7854:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:function(t,e,r){var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,r){var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,r){var n=r(1702),o=r(7293),i=r(4326),u=Object,a=n("".split);t.exports=o((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):u(t)}:u},2788:function(t,e,r){var n=r(1702),o=r(614),i=r(5465),u=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},9909:function(t,e,r){var n,o,i,u=r(4811),a=r(7854),c=r(111),f=r(8880),s=r(2597),l=r(5465),p=r(6200),v=r(3501),y="Object already initialized",d=a.TypeError,b=a.WeakMap,h=function(t){return i(t)?o(t):n(t,{})},m=function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}};if(u||l.state){var g=l.state||(l.state=new b);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw d(y);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var x=p("state");v[x]=!0,n=function(t,e){if(s(t,x))throw d(y);return e.facade=t,f(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:n,get:o,has:i,enforce:h,getterFor:m}},3157:function(t,e,r){var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:function(t,e,r){var n=r(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,r){var n=r(7293),o=r(614),i=/#|\.prototype\./,u=function(t,e){var r=c[a(t)];return r==s||r!=f&&(o(e)?n(e):!!e)},a=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=u.data={},f=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,r){var n=r(614),o=r(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:function(t){t.exports=!1},2190:function(t,e,r){var n=r(5005),o=r(614),i=r(7976),u=r(3307),a=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},6244:function(t,e,r){var n=r(7466);t.exports=function(t){return n(t.length)}},6339:function(t,e,r){var n=r(1702),o=r(7293),i=r(614),u=r(2597),a=r(9781),c=r(6530).CONFIGURABLE,f=r(2788),s=r(9909),l=s.enforce,p=s.get,v=String,y=Object.defineProperty,d=n("".slice),b=n("".replace),h=n([].join),m=a&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),g=String(String).split("String"),x=t.exports=function(t,e,r){"Symbol("===d(v(e),0,7)&&(e="["+b(v(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!u(t,"name")||c&&t.name!==e)&&(a?y(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&u(r,"arity")&&t.length!==r.arity&&y(t,"length",{value:r.arity});try{r&&u(r,"constructor")&&r.constructor?a&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=l(t);return u(n,"source")||(n.source=h(g,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return i(this)&&p(this).source||f(this)}),"toString")},4758:function(t){var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},3070:function(t,e,r){var n=r(9781),o=r(4664),i=r(3353),u=r(9670),a=r(4948),c=TypeError,f=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";e.f=n?i?function(t,e,r){if(u(t),e=a(e),u(r),"function"===typeof t&&"prototype"===e&&"value"in r&&v in r&&!r[v]){var n=s(t,e);n&&n[v]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return f(t,e,r)}:f:function(t,e,r){if(u(t),e=a(e),u(r),o)try{return f(t,e,r)}catch(n){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:function(t,e,r){var n=r(9781),o=r(6916),i=r(5296),u=r(9114),a=r(5656),c=r(4948),f=r(2597),s=r(4664),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=c(e),s)try{return l(t,e)}catch(r){}if(f(t,e))return u(!o(i.f,t,e),t[e])}},8006:function(t,e,r){var n=r(6324),o=r(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,r){var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:function(t,e,r){var n=r(1702),o=r(2597),i=r(5656),u=r(1318).indexOf,a=r(3501),c=n([].push);t.exports=function(t,e){var r,n=i(t),f=0,s=[];for(r in n)!o(a,r)&&o(n,r)&&c(s,r);while(e.length>f)o(n,r=e[f++])&&(~u(s,r)||c(s,r));return s}},5296:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2140:function(t,e,r){var n=r(6916),o=r(614),i=r(111),u=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw u("Can't convert object to primitive value")}},3887:function(t,e,r){var n=r(5005),o=r(1702),i=r(8006),u=r(5181),a=r(9670),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=u.f;return r?c(e,r(t)):e}},4488:function(t,e,r){var n=r(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,r){var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,r){var n=r(7854),o=r(3072),i="__core-js_shared__",u=n[i]||o(i,{});t.exports=u},2309:function(t,e,r){var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,r){var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1400:function(t,e,r){var n=r(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:function(t,e,r){var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9303:function(t,e,r){var n=r(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},7466:function(t,e,r){var n=r(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:function(t,e,r){var n=r(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:function(t,e,r){var n=r(6916),o=r(111),i=r(2190),u=r(8173),a=r(2140),c=r(5112),f=TypeError,s=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=u(t,s);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,r){var n=r(7593),o=r(2190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},9711:function(t,e,r){var n=r(1702),o=0,i=Math.random(),u=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},3307:function(t,e,r){var n=r(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,r){var n=r(9781),o=r(7293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,r){var n=r(7854),o=r(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,r){var n=r(7854),o=r(2309),i=r(2597),u=r(9711),a=r(6293),c=r(3307),f=n.Symbol,s=o("wks"),l=c?f["for"]||f:f&&f.withoutSetter||u;t.exports=function(t){return i(s,t)||(s[t]=a&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},7658:function(t,e,r){"use strict";var n=r(2109),o=r(7908),i=r(6244),u=r(3658),a=r(7207),c=r(7293),f=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),s=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},l=f||!s();n({target:"Array",proto:!0,arity:1,forced:l},{push:function(t){var e=o(this),r=i(e),n=arguments.length;a(r+n);for(var c=0;c<n;c++)e[r]=arguments[c],r++;return u(e,r),r}})},541:function(t,e,r){"use strict";var n=r(2109),o=r(7908),i=r(6244),u=r(3658),a=r(5117),c=r(7207),f=1!==[].unshift(0),s=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}},l=f||!s();n({target:"Array",proto:!0,arity:1,forced:l},{unshift:function(t){var e=o(this),r=i(e),n=arguments.length;if(n){c(r+n);var f=r;while(f--){var s=f+n;f in e?e[s]=e[f]:a(e,s)}for(var l=0;l<n;l++)e[l]=arguments[l]}return u(e,r+n)}})},3744:function(t,e){"use strict";e.Z=(t,e)=>{const r=t.__vccOpts||t;for(const[n,o]of e)r[n]=o;return r}},7203:function(e){"use strict";e.exports=t}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}!function(){n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){n.p=""}();var o={};return function(){"use strict";if(n.r(o),n.d(o,{TopsProcess:function(){return w},TopsTap:function(){return h},default:function(){return k}}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var r=n(7203);const i={class:"process-warp"};function u(t,e,n,o,u,a){const c=(0,r.resolveComponent)("Tab");return(0,r.openBlock)(),(0,r.createElementBlock)("div",i,[(0,r.createVNode)(c,{tapList:o.tapList},{default:(0,r.withCtx)((()=>[(0,r.createTextVNode)(" defalut ")])),defalut1:(0,r.withCtx)((()=>[(0,r.createTextVNode)(" 999086 ")])),defalut2:(0,r.withCtx)((()=>[(0,r.createTextVNode)(" asd2524593256 ")])),_:1},8,["tapList"])])}const a={class:"tops-tab"},c={class:"tops-tab-header"},f=["onClick"],s={key:0,class:"bottom-line"},l={class:"tops-tab-body"};function p(t,e,n,o,i,u){return(0,r.openBlock)(),(0,r.createElementBlock)("div",a,[(0,r.createElementVNode)("div",c,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(o.isTapList,((t,e)=>((0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(["tops-tab-header-items",[t.key===o.active?"active":""]]),onClick:r=>o.handleActive(t.key,e),ref_for:!0,ref:"label"},(0,r.toDisplayString)(t.label),11,f)))),256)),o.isTapList.length?((0,r.openBlock)(),(0,r.createElementBlock)("div",s)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",l,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(o.isTapList,(e=>(0,r.withDirectives)(((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:e.key,style:{height:"100%"}},["a"===e.key&&"default"===e.type?(0,r.renderSlot)(t.$slots,"default",{key:0},void 0,!0):(0,r.createCommentVNode)("",!0),"tab2"===e.key&&"default"===e.type?(0,r.renderSlot)(t.$slots,"default",{key:1},void 0,!0):(0,r.createCommentVNode)("",!0),"tab3"===e.key&&"default"===e.type?(0,r.renderSlot)(t.$slots,"default",{key:2},void 0,!0):(0,r.createCommentVNode)("",!0),"slot"==e.type?(0,r.renderSlot)(t.$slots,e.slot,{key:3},void 0,!0):(0,r.createCommentVNode)("",!0)])),[[r.vShow,o.active===e.key]]))),128))])])}n(541),n(7658);var v={name:"tops-tab",props:{tapList:{type:Array,default:()=>[]},selfTapList:{type:Array,default:()=>[]}},setup(t){const e=(0,r.ref)(""),n=(0,r.ref)([{label:"基本信息",key:"a",type:"default",slot:"default"},{label:"流程图",key:"b",type:"default",slot:"tab2"},{label:"审批记录",key:"c",type:"default",slot:"tab3"}]),o=(0,r.ref)([{label:"基本信息",key:"a",type:"default",slot:"default"},{label:"流程图",key:"b",type:"default",slot:"tab2"},{label:"审批记录",key:"c",type:"default",slot:"tab3"}]),i=(0,r.ref)(),u=(t,r)=>{t!==e.value&&(e.value=t,a(r))},a=t=>{if(i.value.length){let e,r=document.getElementsByClassName("bottom-line")[0];if(r.offsetWidth<i.value[t].offsetWidth-10){let n=(i.value[t].offsetWidth-r.offsetWidth-10)/2;e=`${i.value[t].offsetLeft+n}px`}else if(r.offsetWidth>i.value[t].offsetWidth-10){let n=(r.offsetWidth-i.value[t].offsetWidth+10)/2;e=i.value[t].offsetLeft-n+"px"}else e=`${i.value[t].offsetLeft}px`;r.style.transition=".3s",r.style.transform=`translateX(${e})`}};return(0,r.watch)((()=>t.selfTapList),((t,r)=>{t.length&&(o.value=[].concat(t),e.value=o.value[0].key)}),{immediate:!0,deep:!0}),(0,r.watch)((()=>t.tapList),((r,i)=>{t.selfTapList.length||(o.value=[].concat(n.value),r.length>0&&r.forEach(((t,e)=>{t.sort&&t.sort>1?o.value.splice(t.sort-1,0,t):1==t.sort?o.value.unshift(t):o.value.push(t)})),e.value=o.value[0].key)}),{immediate:!0,deep:!0}),(0,r.onMounted)((()=>{a(0)})),{isTapList:o,active:e,handleActive:u,label:i}}},y=n(3744);const d=(0,y.Z)(v,[["render",p],["__scopeId","data-v-1275d200"]]);var b=d,h=b,m={name:"tops-process",components:{Tab:h},props:{processId:{require:!0,default:"",type:String},processDefId:{require:!0,default:"",type:String},taskId:{require:!0,default:"",type:String}},setup(t){const e=(0,r.ref)({});let n=(0,r.ref)([{label:"基",key:"a1",type:"slot",slot:"defalut1"},{label:"基出",key:"a12",type:"slot",slot:"defalut2"}]);return(0,r.watch)((()=>t.processId),((t,e)=>{})),{processStatus:e,tapList:n}},methods:{getColor(t){return"审核中"==t?"#FFA52D":"已驳回"==t?"#F14B4C":"已撤销"==t?"#CECECE":"已完成"==t?"#6DC743":"#1389FF"}}};const g=(0,y.Z)(m,[["render",u],["__scopeId","data-v-5fb7ba36"]]);var x=g,w=x;const S=[w,h],O=t=>{S.map((e=>t.component(e.name,e)))};var j={install:O},k=j}(),o}()}));
2
- //# sourceMappingURL=index.umd.min.js.map
@@ -1,36 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- components: {
4
- Tab: any;
5
- };
6
- props: {
7
- processId: {
8
- require: boolean;
9
- default: string;
10
- type: StringConstructor;
11
- };
12
- processDefId: {
13
- require: boolean;
14
- default: string;
15
- type: StringConstructor;
16
- };
17
- taskId: {
18
- require: boolean;
19
- default: string;
20
- type: StringConstructor;
21
- };
22
- };
23
- setup(props: any): {
24
- processStatus: any;
25
- tapList: import("vue").Ref<{
26
- label: string;
27
- key: string;
28
- type: string;
29
- slot: string;
30
- }[]>;
31
- };
32
- methods: {
33
- getColor(status: string): "#FFA52D" | "#F14B4C" | "#CECECE" | "#6DC743" | "#1389FF";
34
- };
35
- };
36
- export default _default;
@@ -1,2 +0,0 @@
1
- import Process from "./src/process.vue";
2
- export default Process;