@kyfe/hroa-ui 1.0.2 → 1.0.3

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.
Files changed (48) hide show
  1. package/dist/hroa-ui.common.js +2409 -138
  2. package/dist/hroa-ui.css +1 -1
  3. package/dist/hroa-ui.umd.js +2409 -138
  4. package/dist/hroa-ui.umd.min.js +2 -2
  5. package/lib/getJsModule/index.css +1 -1
  6. package/lib/getJsModule/index.js +2 -2
  7. package/lib/hr-add-list/index.js +1 -1
  8. package/lib/hr-bottom-button/index.js +1 -1
  9. package/lib/hr-breadcrumb/index.js +1 -1
  10. package/lib/hr-button/index.js +1 -1
  11. package/lib/hr-clipboard/index.js +1 -1
  12. package/lib/hr-condition-filtrate/index.js +1 -1
  13. package/lib/hr-condition-filtrate-popup/index.js +1 -1
  14. package/lib/hr-elasticity-box/index.js +1 -1
  15. package/lib/hr-elasticity-box-item/index.js +1 -1
  16. package/lib/hr-emotional-picture/index.js +1 -1
  17. package/lib/hr-employee-choose/index.js +1 -1
  18. package/lib/hr-img-list/index.js +1 -1
  19. package/lib/hr-info-card/index.js +1 -1
  20. package/lib/hr-information/index.js +1 -1
  21. package/lib/hr-license-plate-number/index.js +1 -1
  22. package/lib/hr-module-card/index.js +1 -1
  23. package/lib/hr-multiterm-choose/index.js +1 -1
  24. package/lib/hr-no-data/index.js +1 -1
  25. package/lib/hr-notice-bar/index.js +1 -1
  26. package/lib/hr-open-ks/index.js +1 -1
  27. package/lib/hr-pager/index.js +1 -1
  28. package/lib/hr-popup/index.js +1 -1
  29. package/lib/hr-preview-file/index.js +1 -1
  30. package/lib/hr-rate/index.js +1 -1
  31. package/lib/hr-reason-textarea/index.js +1 -1
  32. package/lib/hr-search-input/index.js +1 -1
  33. package/lib/hr-select/index.js +1 -1
  34. package/lib/hr-select-list/index.css +1 -1
  35. package/lib/hr-select-list/index.js +2 -2
  36. package/lib/hr-single-choose/index.css +1 -1
  37. package/lib/hr-single-choose/index.js +1 -1
  38. package/lib/hr-slide-pager/index.js +1 -1
  39. package/lib/hr-sort/index.js +1 -1
  40. package/lib/hr-stack-image/index.js +1 -1
  41. package/lib/hr-tab-nav/index.js +1 -1
  42. package/lib/hr-view-item/index.js +1 -1
  43. package/lib/index/index.css +1 -1
  44. package/lib/index/index.js +2 -2
  45. package/lib/utils/index.js +1 -1
  46. package/package.json +1 -1
  47. package/packages/hr-select-list/src/index.vue +6 -0
  48. package/packages/hr-single-choose/src/index.vue +24 -6
@@ -1 +1 @@
1
- (function(t,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["hroa-ui@1.0.1"]=n():t["hroa-ui@1.0.1"]=n()})(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s="e74d")}({"0244":function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"04cf":function(t,n,e){var r=e("4a89"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"08c1":function(t,n,e){"use strict";var r,o,i,c,u=e("e6a1"),f=e("b808"),a=e("a9f2"),s=e("a274"),l=e("569f"),p=e("ab4c"),d=e("9184"),v=e("8115"),h=e("88b8"),b=e("1aa7"),y=e("1ad4").set,m=e("a24c")(),x=e("cc20"),g=e("73c3"),_=e("4b9e"),w=e("1c08"),j="Promise",O=f.TypeError,S=f.process,E=S&&S.versions,P=E&&E.v8||"",k=f[j],T="process"==s(S),F=function(){},M=o=x.f,I=!!function(){try{var t=k.resolve(1),n=(t.constructor={})[e("b67f")("species")]=function(t){t(F,F)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(F)instanceof n&&0!==P.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(r){}}(),A=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},R=function(t,n){if(!t._n){t._n=!0;var e=t._c;m((function(){var r=t._v,o=1==t._s,i=0,c=function(n){var e,i,c,u=o?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{u?(o||(2==t._h&&L(t),t._h=1),!0===u?e=r:(s&&s.enter(),e=u(r),s&&(s.exit(),c=!0)),e===n.promise?a(O("Promise-chain cycle")):(i=A(e))?i.call(e,f,a):f(e)):a(r)}catch(l){s&&!c&&s.exit(),a(l)}};while(e.length>i)c(e[i++]);t._c=[],t._n=!1,n&&!t._h&&W(t)}))}},W=function(t){y.call(f,(function(){var n,e,r,o=t._v,i=C(t);if(i&&(n=g((function(){T?S.emit("unhandledRejection",o,t):(e=f.onunhandledrejection)?e({promise:t,reason:o}):(r=f.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=T||C(t)?2:1),t._a=void 0,i&&n.e)throw n.v}))},C=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){y.call(f,(function(){var n;T?S.emit("rejectionHandled",t):(n=f.onrejectionhandled)&&n({promise:t,reason:t._v})}))},N=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),R(n,!0))},B=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw O("Promise can't be resolved itself");(n=A(t))?m((function(){var r={_w:e,_d:!1};try{n.call(t,a(B,r,1),a(N,r,1))}catch(o){N.call(r,o)}})):(e._v=t,e._s=1,R(e,!1))}catch(r){N.call({_w:e,_d:!1},r)}}};I||(k=function(t){v(this,k,j,"_h"),d(t),r.call(this);try{t(a(B,this,1),a(N,this,1))}catch(n){N.call(this,n)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("9faf")(k.prototype,{then:function(t,n){var e=M(b(this,k));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=T?S.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&R(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=a(B,t,1),this.reject=a(N,t,1)},x.f=M=function(t){return t===k||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!I,{Promise:k}),e("aab6")(k,j),e("0ec0")(j),c=e("ca38")[j],l(l.S+l.F*!I,j,{reject:function(t){var n=M(this),e=n.reject;return e(t),n.promise}}),l(l.S+l.F*(u||!I),j,{resolve:function(t){return w(u&&this===c?k:this,t)}}),l(l.S+l.F*!(I&&e("2299")((function(t){k.all(t)["catch"](F)}))),j,{all:function(t){var n=this,e=M(n),r=e.resolve,o=e.reject,i=g((function(){var e=[],i=0,c=1;h(t,!1,(function(t){var u=i++,f=!1;e.push(void 0),c++,n.resolve(t).then((function(t){f||(f=!0,e[u]=t,--c||r(e))}),o)})),--c||r(e)}));return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=M(n),r=e.reject,o=g((function(){h(t,!1,(function(t){n.resolve(t).then(e.resolve,r)}))}));return o.e&&r(o.v),e.promise}})},"0ec0":function(t,n,e){"use strict";var r=e("b808"),o=e("e4e1"),i=e("45e2"),c=e("b67f")("species");t.exports=function(t){var n=r[t];i&&n&&!n[c]&&o.f(n,c,{configurable:!0,get:function(){return this}})}},"0f4a":function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},"14c6":function(t,n,e){"use strict";var r=e("3bb1"),o=e("b5cb"),i=e("a638"),c=e("58b9");t.exports=e("fa2d")(Array,"Array",(function(t,n){this._t=c(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},"154d":function(t,n){},"18fd":function(t,n){},"1aa7":function(t,n,e){var r=e("27b2"),o=e("9184"),i=e("b67f")("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},"1ad4":function(t,n,e){var r,o,i,c=e("a9f2"),u=e("ef26"),f=e("d8db"),a=e("781f"),s=e("b808"),l=s.process,p=s.setImmediate,d=s.clearImmediate,v=s.MessageChannel,h=s.Dispatch,b=0,y={},m="onreadystatechange",x=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},g=function(t){x.call(t.data)};p&&d||(p=function(t){var n=[],e=1;while(arguments.length>e)n.push(arguments[e++]);return y[++b]=function(){u("function"==typeof t?t:Function(t),n)},r(b),b},d=function(t){delete y[t]},"process"==e("71fa")(l)?r=function(t){l.nextTick(c(x,t,1))}:h&&h.now?r=function(t){h.now(c(x,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=g,r=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",g,!1)):r=m in a("script")?function(t){f.appendChild(a("script"))[m]=function(){f.removeChild(this),x.call(t)}}:function(t){setTimeout(c(x,t,1),0)}),t.exports={set:p,clear:d}},"1c08":function(t,n,e){var r=e("27b2"),o=e("ab4c"),i=e("cc20");t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t),c=e.resolve;return c(n),e.promise}},"1d27":function(t,n,e){var r=e("27b2");t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(c){var i=t["return"];throw void 0!==i&&r(i.call(t)),c}}},"1d73":function(t,n,e){t.exports=e("312a")("native-function-to-string",Function.toString)},"1f51":function(t,n,e){var r=e("b808"),o=e("a0a8"),i=e("0f4a"),c=e("c0f4")("src"),u=e("1d73"),f="toString",a=(""+u).split(f);e("ca38").inspectSource=function(t){return u.call(t)},(t.exports=function(t,n,e,u){var f="function"==typeof e;f&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(f&&(i(e,c)||o(e,c,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:u?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,f,(function(){return"function"==typeof this&&this[c]||u.call(this)}))},2299:function(t,n,e){var r=e("b67f")("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(c){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(c){}return e}},"27b2":function(t,n,e){var r=e("ab4c");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"312a":function(t,n,e){var r=e("ca38"),o=e("b808"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e("e6a1")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"3bb1":function(t,n,e){var r=e("b67f")("unscopables"),o=Array.prototype;void 0==o[r]&&e("a0a8")(o,r,{}),t.exports=function(t){o[r][t]=!0}},4052:function(t,n,e){var r=e("4a89"),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},"45e2":function(t,n,e){t.exports=!e("b629")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},4842:function(t,n,e){var r=e("569f");r(r.S+r.F,"Object",{assign:e("a402")})},"49c1":function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4a89":function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},"4b9e":function(t,n,e){var r=e("b808"),o=r.navigator;t.exports=o&&o.userAgent||""},"4cf4":function(t,n,e){var r=e("0244");t.exports=function(t){return Object(r(t))}},"55e7":function(t,n,e){"use strict";e.r(n);var r=e("18fd");for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);var i=e("6bf1");e.d(n,"draggable",(function(){return i["draggable"]}))},"569f":function(t,n,e){var r=e("b808"),o=e("ca38"),i=e("a0a8"),c=e("1f51"),u=e("a9f2"),f="prototype",a=function(t,n,e){var s,l,p,d,v=t&a.F,h=t&a.G,b=t&a.S,y=t&a.P,m=t&a.B,x=h?r:b?r[n]||(r[n]={}):(r[n]||{})[f],g=h?o:o[n]||(o[n]={}),_=g[f]||(g[f]={});for(s in h&&(e=n),e)l=!v&&x&&void 0!==x[s],p=(l?x:e)[s],d=m&&l?u(p,r):y&&"function"==typeof p?u(Function.call,p):p,x&&c(x,s,p,t&a.U),g[s]!=p&&i(g,s,d),y&&_[s]!=p&&(_[s]=p)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},"58b9":function(t,n,e){var r=e("d43f"),o=e("0244");t.exports=function(t){return r(o(t))}},"696b":function(t,n){n.f=Object.getOwnPropertySymbols},"6bf1":function(t,n,e){"use strict";e.r(n),e.d(n,"draggable",(function(){return r}));var r={bind:function(t){var n=!1,e={x:0,y:0},r={x:0,y:0};function o(o){n=!0,r.x=o.touches[0].clientX,r.y=o.touches[0].clientY,e.x=t.offsetLeft,e.y=t.offsetTop}function i(o){if(n){var i=e.x+(o.touches[0].clientX-r.x),c=e.y+(o.touches[0].clientY-r.y);i<0&&(i=0),i>document.documentElement.clientWidth-t.offsetWidth&&(i=document.documentElement.clientWidth-t.offsetWidth),c<0&&(c=0),c>document.documentElement.clientHeight-t.offsetHeight&&(c=document.documentElement.clientHeight-t.offsetHeight),t.style.left=i+"px",t.style.top=c+"px"}}function c(){n=!1}t.addEventListener("touchstart",o,!1),t.addEventListener("touchmove",i,!1),t.addEventListener("touchend",c,!1)}}},"71fa":function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},"73c3":function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(n){return{e:!0,v:n}}}},"781f":function(t,n,e){var r=e("ab4c"),o=e("b808").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},8115:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},"88b8":function(t,n,e){var r=e("a9f2"),o=e("1d27"),i=e("f26d"),c=e("27b2"),u=e("04cf"),f=e("b36f"),a={},s={};n=t.exports=function(t,n,e,l,p){var d,v,h,b,y=p?function(){return t}:f(t),m=r(e,l,n?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=u(t.length);d>x;x++)if(b=n?m(c(v=t[x])[0],v[1]):m(t[x]),b===a||b===s)return b}else for(h=y.call(t);!(v=h.next()).done;)if(b=o(h,m,v.value,n),b===a||b===s)return b};n.BREAK=a,n.RETURN=s},"8ae2":function(t,n,e){"use strict";e.r(n);var r=e("aab4");e.d(n,"ksStorage",(function(){return r["ksStorage"]})),e.d(n,"debounce",(function(){return r["debounce"]}));var o=e("154d");for(var i in o)["default","ksStorage","debounce"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i)},9184:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"9ed1":function(t,n,e){var r=e("f6d7"),o=e("49c1");t.exports=Object.keys||function(t){return r(t,o)}},"9faf":function(t,n,e){var r=e("1f51");t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},a0a8:function(t,n,e){var r=e("e4e1"),o=e("dcc3");t.exports=e("45e2")?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},a24c:function(t,n,e){var r=e("b808"),o=e("1ad4").set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,f="process"==e("71fa")(c);t.exports=function(){var t,n,e,a=function(){var r,o;f&&(r=c.domain)&&r.exit();while(t){o=t.fn,t=t.next;try{o()}catch(i){throw t?e():n=void 0,i}}n=void 0,r&&r.enter()};if(f)e=function(){c.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var s=u.resolve(void 0);e=function(){s.then(a)}}else e=function(){o.call(r,a)};else{var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},a274:function(t,n,e){var r=e("71fa"),o=e("b67f")("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(e){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},a402:function(t,n,e){"use strict";var r=e("45e2"),o=e("9ed1"),i=e("696b"),c=e("bf41"),u=e("4cf4"),f=e("d43f"),a=Object.assign;t.exports=!a||e("b629")((function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!=a({},t)[e]||Object.keys(a({},n)).join("")!=r}))?function(t,n){var e=u(t),a=arguments.length,s=1,l=i.f,p=c.f;while(a>s){var d,v=f(arguments[s++]),h=l?o(v).concat(l(v)):o(v),b=h.length,y=0;while(b>y)d=h[y++],r&&!p.call(v,d)||(e[d]=v[d])}return e}:a},a638:function(t,n){t.exports={}},a9f2:function(t,n,e){var r=e("9184");t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},aab4:function(t,n,e){"use strict";e.r(n),e.d(n,"ksStorage",(function(){return r})),e.d(n,"debounce",(function(){return o}));var r={setItem:function(t,n){return window.$__ENV_WEB__?sessionStorage.setItem(t,n):window.ks.callFunc&&window.ks.callFunc({method:"storageSetItem",params:{key:t,value:n}})},getItem:function(t){return window.$__ENV_WEB__?sessionStorage.getItem(t):window.ks.callFunc&&window.ks.callFunc({method:"storageGetItem",params:{key:t}})},removeItem:function(t){return window.ks.callFunc&&window.ks.callFunc({method:"storageSetItem",params:{key:t,value:""}})}},o=function(t,n,e){var r=null;return function(){var o=this,i=arguments;if(r&&clearTimeout(r),e){var c=!r;r=setTimeout((function(){r=null}),n),c&&t.apply(o,i)}else r=setTimeout((function(){return t.apply(o,i)}),n)}}},aab6:function(t,n,e){var r=e("e4e1").f,o=e("0f4a"),i=e("b67f")("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},ab4c:function(t,n){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},b36f:function(t,n,e){var r=e("a274"),o=e("b67f")("iterator"),i=e("a638");t.exports=e("ca38").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},b5cb:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},b629:function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},b67f:function(t,n,e){var r=e("312a")("wks"),o=e("c0f4"),i=e("b808").Symbol,c="function"==typeof i,u=t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))};u.store=r},b808:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},b938:function(t,n,e){var r=e("ab4c");t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},be5a:function(t,n,e){var r=e("312a")("keys"),o=e("c0f4");t.exports=function(t){return r[t]||(r[t]=o(t))}},bf41:function(t,n){n.f={}.propertyIsEnumerable},c0f4:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},c339:function(t,n,e){var r=e("0f4a"),o=e("4cf4"),i=e("be5a")("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},ca38:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},cc1d:function(t,n,e){var r=e("58b9"),o=e("04cf"),i=e("4052");t.exports=function(t){return function(n,e,c){var u,f=r(n),a=o(f.length),s=i(c,a);if(t&&e!=e){while(a>s)if(u=f[s++],u!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===e)return t||s||0;return!t&&-1}}},cc20:function(t,n,e){"use strict";var r=e("9184");function o(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},d43f:function(t,n,e){var r=e("71fa");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},d8db:function(t,n,e){var r=e("b808").document;t.exports=r&&r.documentElement},d9fc:function(t,n,e){"use strict";var r=e("569f"),o=e("ca38"),i=e("b808"),c=e("1aa7"),u=e("1c08");r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return u(n,t()).then((function(){return e}))}:t,e?function(e){return u(n,t()).then((function(){throw e}))}:t)}})},dcc3:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},e4e1:function(t,n,e){var r=e("27b2"),o=e("e830"),i=e("b938"),c=Object.defineProperty;n.f=e("45e2")?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(u){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},e523:function(t,n,e){var r=e("e4e1"),o=e("27b2"),i=e("9ed1");t.exports=e("45e2")?Object.defineProperties:function(t,n){o(t);var e,c=i(n),u=c.length,f=0;while(u>f)r.f(t,e=c[f++],n[e]);return t}},e6a1:function(t,n){t.exports=!1},e74d:function(t,n,e){"use strict";e.r(n);e("14c6"),e("08c1"),e("4842"),e("d9fc");var r=e("55e7"),o=e("8ae2");n["default"]={directive:r,tools:o}},e830:function(t,n,e){t.exports=!e("45e2")&&!e("b629")((function(){return 7!=Object.defineProperty(e("781f")("div"),"a",{get:function(){return 7}}).a}))},ed0f:function(t,n,e){var r=e("27b2"),o=e("e523"),i=e("49c1"),c=e("be5a")("IE_PROTO"),u=function(){},f="prototype",a=function(){var t,n=e("781f")("iframe"),r=i.length,o="<",c=">";n.style.display="none",e("d8db").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),a=t.F;while(r--)delete a[f][i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(u[f]=r(t),e=new u,u[f]=null,e[c]=t):e=a(),void 0===n?e:o(e,n)}},eec7:function(t,n,e){"use strict";var r=e("ed0f"),o=e("dcc3"),i=e("aab6"),c={};e("a0a8")(c,e("b67f")("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},ef26:function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},f26d:function(t,n,e){var r=e("a638"),o=e("b67f")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},f6d7:function(t,n,e){var r=e("0f4a"),o=e("58b9"),i=e("cc1d")(!1),c=e("be5a")("IE_PROTO");t.exports=function(t,n){var e,u=o(t),f=0,a=[];for(e in u)e!=c&&r(u,e)&&a.push(e);while(n.length>f)r(u,e=n[f++])&&(~i(a,e)||a.push(e));return a}},fa2d:function(t,n,e){"use strict";var r=e("e6a1"),o=e("569f"),i=e("1f51"),c=e("a0a8"),u=e("a638"),f=e("eec7"),a=e("aab6"),s=e("c339"),l=e("b67f")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",h="values",b=function(){return this};t.exports=function(t,n,e,y,m,x,g){f(e,n,y);var _,w,j,O=function(t){if(!p&&t in k)return k[t];switch(t){case v:return function(){return new e(this,t)};case h:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",E=m==h,P=!1,k=t.prototype,T=k[l]||k[d]||m&&k[m],F=T||O(m),M=m?E?O("entries"):F:void 0,I="Array"==n&&k.entries||T;if(I&&(j=s(I.call(new t)),j!==Object.prototype&&j.next&&(a(j,S,!0),r||"function"==typeof j[l]||c(j,l,b))),E&&T&&T.name!==h&&(P=!0,F=function(){return T.call(this)}),r&&!g||!p&&!P&&k[l]||c(k,l,F),u[n]=F,u[S]=b,m)if(_={values:E?F:O(h),keys:x?F:O(v),entries:M},g)for(w in _)w in k||i(k,w,_[w]);else o(o.P+o.F*(p||P),n,_);return _}}})["default"]}));
1
+ (function(t,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["hroa-ui@1.0.3"]=n():t["hroa-ui@1.0.3"]=n()})(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s="e74d")}({"0244":function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"04cf":function(t,n,e){var r=e("4a89"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"08c1":function(t,n,e){"use strict";var r,o,i,c,u=e("e6a1"),f=e("b808"),a=e("a9f2"),s=e("a274"),l=e("569f"),p=e("ab4c"),d=e("9184"),v=e("8115"),h=e("88b8"),b=e("1aa7"),y=e("1ad4").set,m=e("a24c")(),x=e("cc20"),g=e("73c3"),_=e("4b9e"),w=e("1c08"),j="Promise",O=f.TypeError,S=f.process,E=S&&S.versions,P=E&&E.v8||"",k=f[j],T="process"==s(S),F=function(){},M=o=x.f,I=!!function(){try{var t=k.resolve(1),n=(t.constructor={})[e("b67f")("species")]=function(t){t(F,F)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(F)instanceof n&&0!==P.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(r){}}(),A=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},R=function(t,n){if(!t._n){t._n=!0;var e=t._c;m((function(){var r=t._v,o=1==t._s,i=0,c=function(n){var e,i,c,u=o?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{u?(o||(2==t._h&&L(t),t._h=1),!0===u?e=r:(s&&s.enter(),e=u(r),s&&(s.exit(),c=!0)),e===n.promise?a(O("Promise-chain cycle")):(i=A(e))?i.call(e,f,a):f(e)):a(r)}catch(l){s&&!c&&s.exit(),a(l)}};while(e.length>i)c(e[i++]);t._c=[],t._n=!1,n&&!t._h&&W(t)}))}},W=function(t){y.call(f,(function(){var n,e,r,o=t._v,i=C(t);if(i&&(n=g((function(){T?S.emit("unhandledRejection",o,t):(e=f.onunhandledrejection)?e({promise:t,reason:o}):(r=f.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=T||C(t)?2:1),t._a=void 0,i&&n.e)throw n.v}))},C=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){y.call(f,(function(){var n;T?S.emit("rejectionHandled",t):(n=f.onrejectionhandled)&&n({promise:t,reason:t._v})}))},N=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),R(n,!0))},B=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw O("Promise can't be resolved itself");(n=A(t))?m((function(){var r={_w:e,_d:!1};try{n.call(t,a(B,r,1),a(N,r,1))}catch(o){N.call(r,o)}})):(e._v=t,e._s=1,R(e,!1))}catch(r){N.call({_w:e,_d:!1},r)}}};I||(k=function(t){v(this,k,j,"_h"),d(t),r.call(this);try{t(a(B,this,1),a(N,this,1))}catch(n){N.call(this,n)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("9faf")(k.prototype,{then:function(t,n){var e=M(b(this,k));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=T?S.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&R(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=a(B,t,1),this.reject=a(N,t,1)},x.f=M=function(t){return t===k||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!I,{Promise:k}),e("aab6")(k,j),e("0ec0")(j),c=e("ca38")[j],l(l.S+l.F*!I,j,{reject:function(t){var n=M(this),e=n.reject;return e(t),n.promise}}),l(l.S+l.F*(u||!I),j,{resolve:function(t){return w(u&&this===c?k:this,t)}}),l(l.S+l.F*!(I&&e("2299")((function(t){k.all(t)["catch"](F)}))),j,{all:function(t){var n=this,e=M(n),r=e.resolve,o=e.reject,i=g((function(){var e=[],i=0,c=1;h(t,!1,(function(t){var u=i++,f=!1;e.push(void 0),c++,n.resolve(t).then((function(t){f||(f=!0,e[u]=t,--c||r(e))}),o)})),--c||r(e)}));return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=M(n),r=e.reject,o=g((function(){h(t,!1,(function(t){n.resolve(t).then(e.resolve,r)}))}));return o.e&&r(o.v),e.promise}})},"0ec0":function(t,n,e){"use strict";var r=e("b808"),o=e("e4e1"),i=e("45e2"),c=e("b67f")("species");t.exports=function(t){var n=r[t];i&&n&&!n[c]&&o.f(n,c,{configurable:!0,get:function(){return this}})}},"0f4a":function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},"14c6":function(t,n,e){"use strict";var r=e("3bb1"),o=e("b5cb"),i=e("a638"),c=e("58b9");t.exports=e("fa2d")(Array,"Array",(function(t,n){this._t=c(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},"154d":function(t,n){},"18fd":function(t,n){},"1aa7":function(t,n,e){var r=e("27b2"),o=e("9184"),i=e("b67f")("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},"1ad4":function(t,n,e){var r,o,i,c=e("a9f2"),u=e("ef26"),f=e("d8db"),a=e("781f"),s=e("b808"),l=s.process,p=s.setImmediate,d=s.clearImmediate,v=s.MessageChannel,h=s.Dispatch,b=0,y={},m="onreadystatechange",x=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},g=function(t){x.call(t.data)};p&&d||(p=function(t){var n=[],e=1;while(arguments.length>e)n.push(arguments[e++]);return y[++b]=function(){u("function"==typeof t?t:Function(t),n)},r(b),b},d=function(t){delete y[t]},"process"==e("71fa")(l)?r=function(t){l.nextTick(c(x,t,1))}:h&&h.now?r=function(t){h.now(c(x,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=g,r=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",g,!1)):r=m in a("script")?function(t){f.appendChild(a("script"))[m]=function(){f.removeChild(this),x.call(t)}}:function(t){setTimeout(c(x,t,1),0)}),t.exports={set:p,clear:d}},"1c08":function(t,n,e){var r=e("27b2"),o=e("ab4c"),i=e("cc20");t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t),c=e.resolve;return c(n),e.promise}},"1d27":function(t,n,e){var r=e("27b2");t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(c){var i=t["return"];throw void 0!==i&&r(i.call(t)),c}}},"1d73":function(t,n,e){t.exports=e("312a")("native-function-to-string",Function.toString)},"1f51":function(t,n,e){var r=e("b808"),o=e("a0a8"),i=e("0f4a"),c=e("c0f4")("src"),u=e("1d73"),f="toString",a=(""+u).split(f);e("ca38").inspectSource=function(t){return u.call(t)},(t.exports=function(t,n,e,u){var f="function"==typeof e;f&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(f&&(i(e,c)||o(e,c,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:u?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,f,(function(){return"function"==typeof this&&this[c]||u.call(this)}))},2299:function(t,n,e){var r=e("b67f")("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(c){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(c){}return e}},"27b2":function(t,n,e){var r=e("ab4c");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"312a":function(t,n,e){var r=e("ca38"),o=e("b808"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e("e6a1")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"3bb1":function(t,n,e){var r=e("b67f")("unscopables"),o=Array.prototype;void 0==o[r]&&e("a0a8")(o,r,{}),t.exports=function(t){o[r][t]=!0}},4052:function(t,n,e){var r=e("4a89"),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},"45e2":function(t,n,e){t.exports=!e("b629")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},4842:function(t,n,e){var r=e("569f");r(r.S+r.F,"Object",{assign:e("a402")})},"49c1":function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4a89":function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},"4b9e":function(t,n,e){var r=e("b808"),o=r.navigator;t.exports=o&&o.userAgent||""},"4cf4":function(t,n,e){var r=e("0244");t.exports=function(t){return Object(r(t))}},"55e7":function(t,n,e){"use strict";e.r(n);var r=e("18fd");for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);var i=e("6bf1");e.d(n,"draggable",(function(){return i["draggable"]}))},"569f":function(t,n,e){var r=e("b808"),o=e("ca38"),i=e("a0a8"),c=e("1f51"),u=e("a9f2"),f="prototype",a=function(t,n,e){var s,l,p,d,v=t&a.F,h=t&a.G,b=t&a.S,y=t&a.P,m=t&a.B,x=h?r:b?r[n]||(r[n]={}):(r[n]||{})[f],g=h?o:o[n]||(o[n]={}),_=g[f]||(g[f]={});for(s in h&&(e=n),e)l=!v&&x&&void 0!==x[s],p=(l?x:e)[s],d=m&&l?u(p,r):y&&"function"==typeof p?u(Function.call,p):p,x&&c(x,s,p,t&a.U),g[s]!=p&&i(g,s,d),y&&_[s]!=p&&(_[s]=p)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},"58b9":function(t,n,e){var r=e("d43f"),o=e("0244");t.exports=function(t){return r(o(t))}},"696b":function(t,n){n.f=Object.getOwnPropertySymbols},"6bf1":function(t,n,e){"use strict";e.r(n),e.d(n,"draggable",(function(){return r}));var r={bind:function(t){var n=!1,e={x:0,y:0},r={x:0,y:0};function o(o){n=!0,r.x=o.touches[0].clientX,r.y=o.touches[0].clientY,e.x=t.offsetLeft,e.y=t.offsetTop}function i(o){if(n){var i=e.x+(o.touches[0].clientX-r.x),c=e.y+(o.touches[0].clientY-r.y);i<0&&(i=0),i>document.documentElement.clientWidth-t.offsetWidth&&(i=document.documentElement.clientWidth-t.offsetWidth),c<0&&(c=0),c>document.documentElement.clientHeight-t.offsetHeight&&(c=document.documentElement.clientHeight-t.offsetHeight),t.style.left=i+"px",t.style.top=c+"px"}}function c(){n=!1}t.addEventListener("touchstart",o,!1),t.addEventListener("touchmove",i,!1),t.addEventListener("touchend",c,!1)}}},"71fa":function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},"73c3":function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(n){return{e:!0,v:n}}}},"781f":function(t,n,e){var r=e("ab4c"),o=e("b808").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},8115:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},"88b8":function(t,n,e){var r=e("a9f2"),o=e("1d27"),i=e("f26d"),c=e("27b2"),u=e("04cf"),f=e("b36f"),a={},s={};n=t.exports=function(t,n,e,l,p){var d,v,h,b,y=p?function(){return t}:f(t),m=r(e,l,n?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=u(t.length);d>x;x++)if(b=n?m(c(v=t[x])[0],v[1]):m(t[x]),b===a||b===s)return b}else for(h=y.call(t);!(v=h.next()).done;)if(b=o(h,m,v.value,n),b===a||b===s)return b};n.BREAK=a,n.RETURN=s},"8ae2":function(t,n,e){"use strict";e.r(n);var r=e("aab4");e.d(n,"ksStorage",(function(){return r["ksStorage"]})),e.d(n,"debounce",(function(){return r["debounce"]}));var o=e("154d");for(var i in o)["default","ksStorage","debounce"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i)},9184:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"9ed1":function(t,n,e){var r=e("f6d7"),o=e("49c1");t.exports=Object.keys||function(t){return r(t,o)}},"9faf":function(t,n,e){var r=e("1f51");t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},a0a8:function(t,n,e){var r=e("e4e1"),o=e("dcc3");t.exports=e("45e2")?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},a24c:function(t,n,e){var r=e("b808"),o=e("1ad4").set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,f="process"==e("71fa")(c);t.exports=function(){var t,n,e,a=function(){var r,o;f&&(r=c.domain)&&r.exit();while(t){o=t.fn,t=t.next;try{o()}catch(i){throw t?e():n=void 0,i}}n=void 0,r&&r.enter()};if(f)e=function(){c.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var s=u.resolve(void 0);e=function(){s.then(a)}}else e=function(){o.call(r,a)};else{var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},a274:function(t,n,e){var r=e("71fa"),o=e("b67f")("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(e){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},a402:function(t,n,e){"use strict";var r=e("45e2"),o=e("9ed1"),i=e("696b"),c=e("bf41"),u=e("4cf4"),f=e("d43f"),a=Object.assign;t.exports=!a||e("b629")((function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!=a({},t)[e]||Object.keys(a({},n)).join("")!=r}))?function(t,n){var e=u(t),a=arguments.length,s=1,l=i.f,p=c.f;while(a>s){var d,v=f(arguments[s++]),h=l?o(v).concat(l(v)):o(v),b=h.length,y=0;while(b>y)d=h[y++],r&&!p.call(v,d)||(e[d]=v[d])}return e}:a},a638:function(t,n){t.exports={}},a9f2:function(t,n,e){var r=e("9184");t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},aab4:function(t,n,e){"use strict";e.r(n),e.d(n,"ksStorage",(function(){return r})),e.d(n,"debounce",(function(){return o}));var r={setItem:function(t,n){return window.$__ENV_WEB__?sessionStorage.setItem(t,n):window.ks.callFunc&&window.ks.callFunc({method:"storageSetItem",params:{key:t,value:n}})},getItem:function(t){return window.$__ENV_WEB__?sessionStorage.getItem(t):window.ks.callFunc&&window.ks.callFunc({method:"storageGetItem",params:{key:t}})},removeItem:function(t){return window.ks.callFunc&&window.ks.callFunc({method:"storageSetItem",params:{key:t,value:""}})}},o=function(t,n,e){var r=null;return function(){var o=this,i=arguments;if(r&&clearTimeout(r),e){var c=!r;r=setTimeout((function(){r=null}),n),c&&t.apply(o,i)}else r=setTimeout((function(){return t.apply(o,i)}),n)}}},aab6:function(t,n,e){var r=e("e4e1").f,o=e("0f4a"),i=e("b67f")("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},ab4c:function(t,n){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},b36f:function(t,n,e){var r=e("a274"),o=e("b67f")("iterator"),i=e("a638");t.exports=e("ca38").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},b5cb:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},b629:function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},b67f:function(t,n,e){var r=e("312a")("wks"),o=e("c0f4"),i=e("b808").Symbol,c="function"==typeof i,u=t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))};u.store=r},b808:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},b938:function(t,n,e){var r=e("ab4c");t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},be5a:function(t,n,e){var r=e("312a")("keys"),o=e("c0f4");t.exports=function(t){return r[t]||(r[t]=o(t))}},bf41:function(t,n){n.f={}.propertyIsEnumerable},c0f4:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},c339:function(t,n,e){var r=e("0f4a"),o=e("4cf4"),i=e("be5a")("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},ca38:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},cc1d:function(t,n,e){var r=e("58b9"),o=e("04cf"),i=e("4052");t.exports=function(t){return function(n,e,c){var u,f=r(n),a=o(f.length),s=i(c,a);if(t&&e!=e){while(a>s)if(u=f[s++],u!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===e)return t||s||0;return!t&&-1}}},cc20:function(t,n,e){"use strict";var r=e("9184");function o(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},d43f:function(t,n,e){var r=e("71fa");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},d8db:function(t,n,e){var r=e("b808").document;t.exports=r&&r.documentElement},d9fc:function(t,n,e){"use strict";var r=e("569f"),o=e("ca38"),i=e("b808"),c=e("1aa7"),u=e("1c08");r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return u(n,t()).then((function(){return e}))}:t,e?function(e){return u(n,t()).then((function(){throw e}))}:t)}})},dcc3:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},e4e1:function(t,n,e){var r=e("27b2"),o=e("e830"),i=e("b938"),c=Object.defineProperty;n.f=e("45e2")?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(u){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},e523:function(t,n,e){var r=e("e4e1"),o=e("27b2"),i=e("9ed1");t.exports=e("45e2")?Object.defineProperties:function(t,n){o(t);var e,c=i(n),u=c.length,f=0;while(u>f)r.f(t,e=c[f++],n[e]);return t}},e6a1:function(t,n){t.exports=!1},e74d:function(t,n,e){"use strict";e.r(n);e("14c6"),e("08c1"),e("4842"),e("d9fc");var r=e("55e7"),o=e("8ae2");n["default"]={directive:r,tools:o}},e830:function(t,n,e){t.exports=!e("45e2")&&!e("b629")((function(){return 7!=Object.defineProperty(e("781f")("div"),"a",{get:function(){return 7}}).a}))},ed0f:function(t,n,e){var r=e("27b2"),o=e("e523"),i=e("49c1"),c=e("be5a")("IE_PROTO"),u=function(){},f="prototype",a=function(){var t,n=e("781f")("iframe"),r=i.length,o="<",c=">";n.style.display="none",e("d8db").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),a=t.F;while(r--)delete a[f][i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(u[f]=r(t),e=new u,u[f]=null,e[c]=t):e=a(),void 0===n?e:o(e,n)}},eec7:function(t,n,e){"use strict";var r=e("ed0f"),o=e("dcc3"),i=e("aab6"),c={};e("a0a8")(c,e("b67f")("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},ef26:function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},f26d:function(t,n,e){var r=e("a638"),o=e("b67f")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},f6d7:function(t,n,e){var r=e("0f4a"),o=e("58b9"),i=e("cc1d")(!1),c=e("be5a")("IE_PROTO");t.exports=function(t,n){var e,u=o(t),f=0,a=[];for(e in u)e!=c&&r(u,e)&&a.push(e);while(n.length>f)r(u,e=n[f++])&&(~i(a,e)||a.push(e));return a}},fa2d:function(t,n,e){"use strict";var r=e("e6a1"),o=e("569f"),i=e("1f51"),c=e("a0a8"),u=e("a638"),f=e("eec7"),a=e("aab6"),s=e("c339"),l=e("b67f")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",h="values",b=function(){return this};t.exports=function(t,n,e,y,m,x,g){f(e,n,y);var _,w,j,O=function(t){if(!p&&t in k)return k[t];switch(t){case v:return function(){return new e(this,t)};case h:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",E=m==h,P=!1,k=t.prototype,T=k[l]||k[d]||m&&k[m],F=T||O(m),M=m?E?O("entries"):F:void 0,I="Array"==n&&k.entries||T;if(I&&(j=s(I.call(new t)),j!==Object.prototype&&j.next&&(a(j,S,!0),r||"function"==typeof j[l]||c(j,l,b))),E&&T&&T.name!==h&&(P=!0,F=function(){return T.call(this)}),r&&!g||!p&&!P&&k[l]||c(k,l,F),u[n]=F,u[S]=b,m)if(_={values:E?F:O(h),keys:x?F:O(v),entries:M},g)for(w in _)w in k||i(k,w,_[w]);else o(o.P+o.F*(p||P),n,_);return _}}})["default"]}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyfe/hroa-ui",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -143,6 +143,12 @@
143
143
  } else {
144
144
  this.selectValue = [key]
145
145
  }
146
+ this.optionClickAfter(key)
147
+ },
148
+ // 选项点击后执行回调
149
+ optionClickAfter (key) {
150
+ const selectOptions = this.columns.filter(i => this.selectValue.includes(i[this.valKey]))
151
+ this.$emit('optionClick', key, this.selectValue, selectOptions)
146
152
  },
147
153
  close () {
148
154
  const selectOptions = this.columns.filter(i => this.selectValue.includes(i[this.valKey]))
@@ -60,6 +60,12 @@
60
60
  default () {
61
61
  return false
62
62
  }
63
+ },
64
+ checkValue: {
65
+ type: String || Number,
66
+ default () {
67
+ return -1
68
+ }
63
69
  }
64
70
  },
65
71
  data () {
@@ -75,16 +81,27 @@
75
81
  return this.isShowAll ? [{ label: '全部', value: 0 }].concat(this.list) : this.list
76
82
  }
77
83
  },
84
+ watch: {
85
+ checkValue: {
86
+ handler (newValue) {
87
+ this.initActive(newValue)
88
+ },
89
+ immediate: true
90
+ }
91
+ },
78
92
  methods: {
79
93
  init () {
80
94
  this.initState()
81
95
  },
82
96
  initState () {
83
97
  },
84
- select (index) {
85
- this.active = this.active === index ? -1 : index
98
+ initActive (newValue) {
99
+ this.active = newValue
100
+ },
101
+ select (value, index) {
102
+ this.active = this.active === value ? -1 : value
86
103
  this.$emit('select', this.filterList[index])
87
- }
104
+ },
88
105
  },
89
106
  render () {
90
107
  const width = this.selfAdaption ? null : `calc((100% - ${this.margin * (this.divideeQually - 1)}px) / ${this.divideeQually})`
@@ -98,15 +115,16 @@
98
115
  {
99
116
  this.filterList.map((item, index) => {
100
117
  const marginRight = this.selfAdaption ? null : `${(index + 1) % this.divideeQually === 0 ? 0 : this.margin}px`
118
+ const { value, label } = item
101
119
  return <div
102
- onClick={this.select.bind(this, index)}
120
+ onClick={this.select.bind(this, value, index)}
103
121
  style={{ width, marginRight, marginBottom }}
104
122
  class={[
105
123
  'condition-item',
106
124
  'ellipsis',
107
- this.active === index && 'active',
125
+ this.active === value && 'active',
108
126
  ]}>
109
- {item.label}
127
+ {label}
110
128
  </div>
111
129
  })
112
130
  }