mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-12-02 05:08:50 +08:00
Revert "Add 1.0.4 release artifacts (#195)"
This reverts commit db61294f01.
This commit is contained in:
179 files changed
+2
-6947
No files matched your search
@@ -1,25 +0,0 @@
|
||||
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_4"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_4"]||[]).push([[146],{92070:function(e,t,n){"use strict";var a=n(9274),s=n.t(a,2);n(4364);function o(e,t){const n=Object.create(null),a=e.split(",");for(let s=0;s<a.length;s++)n[a[s]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const l={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"};const i=/;(?![^(]*\))/g,r=/:([^]+)/,c=/\/\*.*?\*\//gs;function u(e){const t={};return e.replace(c,"").split(i).forEach((e=>{if(e){const n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}const d="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",p="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",_="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",h=o(d),m=o(p),f=o(_);const v={},b=()=>{},g=()=>!1,y=/^on[^a-z]/,k=e=>y.test(e),E=Object.assign,w=(Object.prototype.hasOwnProperty,Array.isArray),N=e=>"string"===typeof e,x=e=>"symbol"===typeof e,S=e=>null!==e&&"object"===typeof e,V=(Object.prototype.toString,o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted")),C=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),O=e=>{const t=Object.create(null);return n=>{const a=t[n];return a||(t[n]=e(n))}},T=/-(\w)/g,A=O((e=>e.replace(T,((e,t)=>t?t.toUpperCase():"")))),I=/\B([A-Z])/g,L=O((e=>e.replace(I,"-$1").toLowerCase())),R=O((e=>e.charAt(0).toUpperCase()+e.slice(1))),D=O((e=>e?`on${R(e)}`:""));function B(e){throw e}function M(e){}function U(e,t,n,a){const s=e,o=new SyntaxError(String(s));return o.code=e,o.loc=t,o}const P=Symbol(""),j=Symbol(""),$=Symbol(""),K=Symbol(""),F=Symbol(""),q=Symbol(""),W=Symbol(""),z=Symbol(""),G=Symbol(""),Q=Symbol(""),H=Symbol(""),X=Symbol(""),J=Symbol(""),Y=Symbol(""),Z=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),ae=Symbol(""),se=Symbol(""),oe=Symbol(""),le=Symbol(""),ie=Symbol(""),re=Symbol(""),ce=Symbol(""),ue=Symbol(""),de=Symbol(""),pe=Symbol(""),_e=Symbol(""),he=Symbol(""),me=Symbol(""),fe=Symbol(""),ve=Symbol(""),be=Symbol(""),ge=Symbol(""),ye=Symbol(""),ke=Symbol(""),Ee=Symbol(""),we=Symbol(""),Ne={[P]:"Fragment",[j]:"Teleport",[$]:"Suspense",[K]:"KeepAlive",[F]:"BaseTransition",[q]:"openBlock",[W]:"createBlock",[z]:"createElementBlock",[G]:"createVNode",[Q]:"createElementVNode",[H]:"createCommentVNode",[X]:"createTextVNode",[J]:"createStaticVNode",[Y]:"resolveComponent",[Z]:"resolveDynamicComponent",[ee]:"resolveDirective",[te]:"resolveFilter",[ne]:"withDirectives",[ae]:"renderList",[se]:"renderSlot",[oe]:"createSlots",[le]:"toDisplayString",[ie]:"mergeProps",[re]:"normalizeClass",[ce]:"normalizeStyle",[ue]:"normalizeProps",[de]:"guardReactiveProps",[pe]:"toHandlers",[_e]:"camelize",[he]:"capitalize",[me]:"toHandlerKey",[fe]:"setBlockTracking",[ve]:"pushScopeId",[be]:"popScopeId",[ge]:"withCtx",[ye]:"unref",[ke]:"isRef",[Ee]:"withMemo",[we]:"isMemoSame"};function xe(e){Object.getOwnPropertySymbols(e).forEach((t=>{Ne[t]=e[t]}))}const Se={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ve(e,t=Se){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Ce(e,t,n,a,s,o,l,i=!1,r=!1,c=!1,u=Se){return e&&(i?(e.helper(q),e.helper(rt(e.inSSR,c))):e.helper(lt(e.inSSR,c)),l&&e.helper(ne)),{type:13,tag:t,props:n,children:a,patchFlag:s,dynamicProps:o,directives:l,isBlock:i,disableTracking:r,isComponent:c,loc:u}}function Oe(e,t=Se){return{type:17,loc:t,elements:e}}function Te(e,t=Se){Line truncated
|
||||
/*!
|
||||
* isElementVisible
|
||||
* Adapted from https://github.com/testing-library/jest-dom
|
||||
* Licensed under the MIT License.
|
||||
*/function xo(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;var t=getComputedStyle(e),n=t.display,a=t.visibility,s=t.opacity;return"none"!==n&&"hidden"!==a&&"collapse"!==a&&"0"!==s}function So(e){return!e.hasAttribute("hidden")&&("DETAILS"!==e.nodeName||e.hasAttribute("open"))}function Vo(e){return"#comment"!==e.nodeName&&xo(e)&&So(e)&&(!e.parentElement||Vo(e.parentElement))}function Co(e){return e instanceof Element}(function(e){e[e["DOMWrapper"]=0]="DOMWrapper",e[e["VueWrapper"]=1]="VueWrapper"})(no||(no={}));var Oo={};function To(e,t){Oo[e]=t}var Ao=function(e){return Oo[no.DOMWrapper](e)},Io=function(e,t,n){return Oo[no.VueWrapper](e,t,n)};function Lo(e){return e instanceof Element?e.outerHTML:(new XMLSerializer).serializeToString(e)}var Ro,Do={exports:{}},Bo={},Mo={exports:{}},Uo={},Po={};function jo(){if(Ro)return Po;function e(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function t(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function n(n,a){this.__indent_cache=new t(n,a),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return Ro=1,e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},e.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},e.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},e.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},t.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t,n},t.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t],n},t.prototype.__ensure_cache=function(e){while(e>=this.__cache.length)this.__add_column()},t.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_sizeLine truncated
|
||||
/*!
|
||||
* is-extendable <https://github.com/jonschlinkert/is-extendable>
|
||||
*
|
||||
* Copyright (c) 2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/var Zl=function(e){return"undefined"!==typeof e&&null!==e&&("object"===typeof e||"function"===typeof e)},ei=Zl,ti=function(e){ei(e)||(e={});for(var t=arguments.length,n=1;n<t;n++){var a=arguments[n];ei(a)&&ni(e,a)}return e};function ni(e,t){for(var n in t)ai(t,n)&&(e[n]=t[n])}function ai(e,t){return Object.prototype.hasOwnProperty.call(e,t)}
|
||||
/*!
|
||||
* Determine if an object is a Buffer
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/var si=function(e){return null!=e&&(oi(e)||li(e)||!!e._isBuffer)};function oi(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function li(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&oi(e.slice(0,0))}var ii=si,ri=Object.prototype.toString,ci=function(e){if("undefined"===typeof e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"===typeof e||e instanceof String)return"string";if("number"===typeof e||e instanceof Number)return"number";if("function"===typeof e||e instanceof Function)return"function";if("undefined"!==typeof Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=ri.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":ii(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"},ui=Jl,di=ti,pi=ci,_i=function(e,t){var n,a=di({},t),s=a.sep||"\n\n",o=a.min;return"number"===typeof o&&2!==o&&(n=new RegExp("(\\r\\n|\\n|\\u2424) {"+o+",}")),"undefined"===typeof n&&(n=a.regex||/(\r\n|\n|\u2424){2,}/g),!0!==a.keepWhitespace&&(e=e.split("\n").map((function(e){return ui(e)?e.trim():e})).join("\n")),e=hi(e,a),e.replace(n,s)};function hi(e,t){var n=t.trailingNewline;if(!1===n)return e;switch(pi(n)){case"string":e=e.replace(/\s+$/,t.trailingNewline);break;case"function":e=t.trailingNewline(e);break;case"undefined":case"boolean":default:e=e.replace(/\s+$/,"\n");break}return e}
|
||||
/*!
|
||||
* pretty <https://github.com/jonschlinkert/pretty>
|
||||
*
|
||||
* Copyright (c) 2013-2015, 2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/var mi=Do.exports,fi=_i,vi=ti,bi={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},gi=function(e,t){var n=vi({},bi,t);return e=mi.html(e,n),!0===n.ocd?(n.newlines&&(n.sep=n.newlines),yi(e,n)):e};function yi(e,t){return fi(e,t).replace(/^\s+/g,"").replace(/\s+$/g,"\n").replace(/(\s*<!--)/g,"\n$1").replace(/>(\s*)(?=<!--\s*\/)/g,"> ")}var ki=function(){function e(e){var t=this;this.isDisabled=function(){var e=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],n=void 0!==t.attributes().disabled,a=Co(t.element)&&e.includes(t.element.tagName);return n&&a},this.wrapperElement=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),e.prototype.findAllDOMElements=function(e){var t=this.getRootNodes().filter(Co);if(0===t.length)return[];var n=ys([],t.filter((function(t){return t.matches(e)})),!0);return t.forEach((function(t){n.push.apply(n,Array.from(t.querySelectorAll(e)))})),n},e.prototype.find=function(e){if("object"===typeof e&&"ref"in e){var t=this.getCurrentComponent();if(!t)return No("DOMWrapper");var n=t.refs[e.ref];return n instanceof Node?Ao(n):No("DOMWrapper")}var a=this.findAll(e);return a.length>0?a[0]:No("DOMWrapper")},e.prototype.findComponent=function(e){var t=this.getCurrentComponent();if(!t)return No("VueWrapper");if("object"===typeof e&&"ref"in e){var n=t.refs[e.ref];return Array.isArray(n)&&(n=n.length?n[0]:void 0),!n||n instanceof HTMLElement?No("VueWrapper"):Io(null,n)}if(go(t.vnode,e)&&this.element.contains(t.vnode.el))return Io(null,t.proxy);var a=this.findAllComponents(e)[0];return null!==a&&void 0!==a?a:No("VueWrapper")},e.prototype.findAllComponents=function(e){var t=this.getCurrentComponent();if(!t)return[];var n=wo(t.subTree,e);return n.map((function(e){return e.proxy?Io(null,e.proxy):Ao(e.vnode.el)}))},e.prototype.html=function(){return this.getRootNodes().map((function(e){return gi(Lo(e))})).join("\n")},e.prototype.classes=function(e){var t=Co(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},e.prototype.attributes=function(e){var t={};if(Co(this.element))for(var n=Array.from(this.element.attributes),a=0,s=n;a<s.length;a++){var o=s[a];t[o.localName]=o.value}return e?t[e]:t},e.prototype.text=function(){return Is(this.element)},e.prototype.exists=function(){return!0},e.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},e.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var n="Unable to get ";throw n+="string"===typeof e?"component with selector ".concat(e):"name"in e?"component with name ".concat(e.name):"ref"in e?"component with ref ".concat(e.ref):"specified component",n+=" within: ".concat(this.html()),new Error(n)},e.prototype.isVisible=function(){return Co(this.element)&&Vo(this.element)},e.prototype.trigger=function(e,t){return bs(this,void 0,void 0,(function(){var n;return gs(this,(function(s){if(t&&t["target"])throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(n=qs(e,t),this.element.dispatchEvent(n)),[2,(0,a.nextTick)()]}))}))},e}(),Ei=function(e){function t(t){var n=e.call(this,t)||this;return Es.plugins.DOMWrapper.extend(n),n}return fs(t,e),t.prototype.getRootNodes=function(){return[this.wrapperElement]},t.prototype.getCurrentComponent=function(){var e,t=this.element.__vueParentComponent;while((null===(e=null===t||void 0===t?void 0:t.parent)||void 0===e?void 0:e.vnode.el)===this.element)t=t.parent;return t},t.prototype.find=function(t){var n=e.prototype.find.call(this,t);return n.exists()&&Ds(t)?this.element.contains(n.element)?n:No("DOMWrapper"):n},t.prototype.findAll=function(e){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(e),Ao):[]},t.prototype.findAllComponents=function(t){var n=this,a=e.prototype.findAllComponents.call(this,t);return a.filter((function(e){return n.element.contains(e.element)}))},t.prototype.setChecked=function(e){return void 0===e&&(e=!0),bs(this,void 0,void 0,(function(){var t,n;return gs(this,(function(a){if(t=this.element,n=this.attributes().type,"radio"===n&&!e)throw Error('wrapper.setChecked() cannot be called with parameter false on a \'<input type="radio" /> element.');return e===t.checked?[2]:(t.checked=e,[2,this.trigger("change")])}))}))},t.prototype.setValue=function(e){var t=this.element,n=t.tagName,a=this.attributes().type;if("OPTION"===n)return this.setSelected(),Promise.resolve();if("INPUT"===n&&"checkbox"===a)return this.setChecked(e);if("INPUT"===n&&"radio"===a)return this.setChecked(e);if("INPUT"===n||"TEXTAREA"===n||"SELECT"===n)return t.value=e,"SELECT"===n||this.trigger("input"),thisLine truncated
|
||||
//# sourceMappingURL=harvester-1.0.4.umd.min.146.js.map
|
||||
Reference in new issue
Block a user