@dialpad/dialtone-vue 1.0.0-beta.1
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/README.md +104 -0
- package/dist/dialtone-vue.common.js +5785 -0
- package/dist/dialtone-vue.umd.js +5795 -0
- package/dist/dialtone-vue.umd.min.js +2 -0
- package/package.json +78 -0
|
@@ -0,0 +1,2 @@
|
|
|
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["dialtone-vue"]=e(require("vue")):t["dialtone-vue"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"0676":function(t,e){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.exports=n,t.exports["default"]=t.exports,t.exports.__esModule=!0},"11b0":function(t,e){function n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}t.exports=n,t.exports["default"]=t.exports,t.exports.__esModule=!0},1848:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".base-input .base-button__icon{margin:0}",""]),t.exports=e},2133:function(t,e,n){"use strict";n("5672")},2236:function(t,e,n){var r=n("5a43");function i(t){if(Array.isArray(t))return r(t)}t.exports=i,t.exports["default"]=t.exports,t.exports.__esModule=!0},"24fb":function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"===typeof btoa){var o=i(r),a=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"===typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},"36ff":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".hs-popover__content--align-right{right:0}.hs-popover__content--align-right .hs-popover__caret{right:2.4rem}.hs-popover__content--valign-top{bottom:100%;margin-top:0;margin-bottom:.4rem}.hs-popover__content--valign-top .hs-popover__caret{top:auto;bottom:-.4rem;transform:rotate(225deg)}.hs-popover__content--pad-none{padding:0}.hs-popover__content--pad-small{padding:.8rem}.hs-popover__content--pad-medium{padding:1.6rem}.hs-popover__content--pad-large{padding:2.4rem}.hs-popover__caret{top:0;height:.6rem;width:.6rem;transform:rotate(45deg);position:absolute}",""]),t.exports=e},"3f68":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'.hs-list-item[tabindex="-1"]:focus{outline:none}.hs-list-item-clickable:focus,.hs-list-item-clickable:hover{background-color:hsla(var(--primary-color--h),var(--primary-color--s),var(--primary-color--l),.1);cursor:pointer}',""]),t.exports=e},"448a":function(t,e,n){var r=n("2236"),i=n("11b0"),o=n("6613"),a=n("0676");function s(t){return r(t)||i(t)||o(t)||a()}t.exports=s,t.exports["default"]=t.exports,t.exports.__esModule=!0},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=o[0],s=o[1],l=o[2],u=o[3],c={id:t+":"+i,css:s,media:l,sourceMap:u};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}n.r(e),n.d(e,"default",(function(){return h}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,u=!1,c=function(){},d=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,n,i){u=n,d=i||{};var a=r(t,e);return v(a),function(e){for(var n=[],i=0;i<a.length;i++){var s=a[i],l=o[s.id];l.refs--,n.push(l)}e?(a=r(t,e),v(a)):a=[];for(i=0;i<n.length;i++){l=n[i];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete o[l.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(m(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(m(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function m(t){var e,n,r=document.querySelector("style["+p+'~="'+t.id+'"]');if(r){if(u)return c;r.parentNode.removeChild(r)}if(f){var i=l++;r=s||(s=g()),e=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=g(),e=_.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function _(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),d.ssrId&&t.setAttribute(p,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"51f5":function(t,e,n){"use strict";n("945e")},5420:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'.hs-list-section[tabindex="-1"]:focus{outline:none}',""]),t.exports=e},5672:function(t,e,n){var r=n("1848");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("1fc0ff98",r,!0,{sourceMap:!1,shadowMode:!1})},"5a43":function(t,e){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}t.exports=n,t.exports["default"]=t.exports,t.exports.__esModule=!0},6613:function(t,e,n){var r=n("5a43");function i(t,e){if(t){if("string"===typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}t.exports=i,t.exports["default"]=t.exports,t.exports.__esModule=!0},7037:function(t,e){function n(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0),n(e)}t.exports=n,t.exports["default"]=t.exports,t.exports.__esModule=!0},"816f":function(t,e,n){var r=n("5420");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("27ac9170",r,!0,{sourceMap:!1,shadowMode:!1})},"81d6":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".button__label__right-align,.button__left-align{justify-content:flex-start!important}",""]),t.exports=e},"84cc":function(t,e,n){"use strict";n("a61d")},8875:function(t,e,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(f.stack)||a.exec(f.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var p=0;p<d.length;p++){if("interactive"===d[p].readyState)return d[p];if(d[p].src===l)return d[p];if(l===c&&d[p].innerHTML&&d[p].innerHTML.trim()===i)return d[p]}return null}}return t}))},"88f8":function(t,e,n){var r=n("36ff");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("47702653",r,!0,{sourceMap:!1,shadowMode:!1})},"8bbf":function(e,n){e.exports=t},"945e":function(t,e,n){var r=n("3f68");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("572d8ba2",r,!0,{sourceMap:!1,shadowMode:!1})},9523:function(t,e){function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=n,t.exports["default"]=t.exports,t.exports.__esModule=!0},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(I){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),a=new P(r||[]);return o._invoke=O(t,n,a),o}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(I){return{type:"throw",arg:I}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",v={};function g(){}function m(){}function b(){}var y={};y[o]=function(){return this};var _=Object.getPrototypeOf,x=_&&_(_(M([])));x&&x!==n&&r.call(x,o)&&(y=x);var S=b.prototype=g.prototype=Object.create(y);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function n(i,o,a,s){var l=c(t[i],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"===typeof d&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var i;function o(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}this._invoke=o}function O(t,e,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return L()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=c(t,e,n);if("normal"===l.type){if(r=n.done?h:p,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}function k(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=c(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function M(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){while(++i<t.length)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:e,done:!0}}return m.prototype=S.constructor=b,b.constructor=m,m.displayName=l(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},w(C.prototype),C.prototype[a]=function(){return this},t.AsyncIterator=C,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new C(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(S),l(S,s,"Generator"),S[o]=function(){return this},S.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=M,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},a34a:function(t,e,n){t.exports=n("96cf")},a61d:function(t,e,n){var r=n("81d6");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("e183417c",r,!0,{sourceMap:!1,shadowMode:!1})},c28b:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){var t="undefined"!=typeof window,e="undefined"!=typeof navigator,n=t&&("ontouchstart"in window||e&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function r(t){var e=t.event,n=t.handler;(0,t.middleware)(e)&&n(e)}function i(t,e){var i=function(t){var e="function"==typeof t;if(!e&&"object"!=typeof t)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:e?t:t.handler,middleware:t.middleware||function(t){return t},events:t.events||n,isActive:!(!1===t.isActive),detectIframe:!(!1===t.detectIframe)}}(e.value),o=i.handler,a=i.middleware,s=i.detectIframe;if(i.isActive){if(t["__v-click-outside"]=i.events.map((function(e){return{event:e,srcTarget:document.documentElement,handler:function(e){return function(t){var e=t.el,n=t.event,i=t.handler,o=t.middleware,a=n.path||n.composedPath&&n.composedPath();(a?a.indexOf(e)<0:!e.contains(n.target))&&r({event:n,handler:i,middleware:o})}({el:t,event:e,handler:o,middleware:a})}}})),s){var l={event:"blur",srcTarget:window,handler:function(e){return function(t){var e=t.el,n=t.event,i=t.handler,o=t.middleware;setTimeout((function(){var t=document.activeElement;t&&"IFRAME"===t.tagName&&!e.contains(t)&&r({event:n,handler:i,middleware:o})}),0)}({el:t,event:e,handler:o,middleware:a})}};t["__v-click-outside"]=[].concat(t["__v-click-outside"],[l])}t["__v-click-outside"].forEach((function(e){var n=e.event,r=e.srcTarget,i=e.handler;return setTimeout((function(){t["__v-click-outside"]&&r.addEventListener(n,i,!1)}),0)}))}}function o(t){(t["__v-click-outside"]||[]).forEach((function(t){return t.srcTarget.removeEventListener(t.event,t.handler,!1)})),delete t["__v-click-outside"]}var a=t?{bind:i,update:function(t,e){var n=e.value,r=e.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(o(t),i(t,{value:n}))},unbind:o}:{};return{install:function(t){t.directive("click-outside",a)},directive:a}}))},c973:function(t,e){function n(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,l,"next",t)}function l(t){n(a,i,o,s,l,"throw",t)}s(void 0)}))}}t.exports=r,t.exports["default"]=t.exports,t.exports.__esModule=!0},e0bf:function(t,e,n){"use strict";n("88f8")},fae3:function(t,e,n){"use strict";if(n.r(e),n.d(e,"HsBanner",(function(){return Rt})),n.d(e,"HsButton",(function(){return ft})),n.d(e,"HsInput",(function(){return oe})),n.d(e,"INPUT_TYPES",(function(){return zt})),n.d(e,"INPUT_SIZE_TYPES",(function(){return Ft})),n.d(e,"HsInputGroup",(function(){return pe})),n.d(e,"HsModal",(function(){return _e})),n.d(e,"MODAL_KIND_MODIFIERS",(function(){return ve})),n.d(e,"MODAL_SIZE_MODIFIERS",(function(){return ge})),n.d(e,"HsLazyShow",(function(){return ke})),n.d(e,"HsListSection",(function(){return Ie})),n.d(e,"HsListItem",(function(){return Ne})),n.d(e,"HsNotice",(function(){return Fe})),n.d(e,"NOTICE_KINDS",(function(){return L})),n.d(e,"HsPopover",(function(){return nn})),n.d(e,"POPOVER_PADDING_CLASSES",(function(){return Ke})),n.d(e,"POPOVER_HORIZONTAL_ALIGNMENT",(function(){return Qe})),n.d(e,"POPOVER_VERTICAL_ALIGNMENT",(function(){return We})),n.d(e,"POPOVER_ROLES",(function(){return Xe})),n.d(e,"HsRadio",(function(){return bn})),n.d(e,"HsRadioGroup",(function(){return Sn})),n.d(e,"HsValidationMessages",(function(){return Zt})),n.d(e,"HsCheckbox",(function(){return An})),n.d(e,"HsCheckboxGroup",(function(){return Gn})),n.d(e,"HsInputMixin",(function(){return an})),n.d(e,"HsCheckableInputMixin",(function(){return sn})),n.d(e,"HsGroupableInputMixin",(function(){return ln})),n.d(e,"HsInputGroupMixin",(function(){return le})),n.d(e,"VALIDATION_MESSAGE_TYPES",(function(){return Et})),n.d(e,"DEFAULT_VALIDATION_MESSAGE_TYPE",(function(){return jt})),n.d(e,"validationMessageValidator",(function(){return Kt})),n.d(e,"getUniqueString",(function(){return Lt})),n.d(e,"formatMessages",(function(){return It})),n.d(e,"filterFormattedMessages",(function(){return $t})),n.d(e,"getValidationState",(function(){return At})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.bannerClass,attrs:{role:t.role},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus(e)}}},[n("div",{staticClass:"d-banner__dialog",attrs:{"aria-labelledby":t.titleId,"aria-describedby":t.contentId}},[n("hs-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("hs-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("hs-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps}},t.$listeners),[t._t("action")],2)],1)])},s=[],l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.defaultIcon||t.$slots.default?n("div",{staticClass:"d-notice__icon d-as-center"},[t._t("default",[n(t.defaultIcon,{tag:"component"})])],2):t._e()},u=[],c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__info",attrs:{"aria-hidden":"true","aria-label":"Info",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}})])},d=[];function p(t,e,n,r,i,o,a,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}var f={},h=p(f,c,d,!1,null,null,null),v=h.exports,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__warning",attrs:{"aria-hidden":"true","aria-label":"Warning",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}})])},m=[],b={},y=p(b,g,m,!1,null,null,null),_=y.exports,x=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__error",attrs:{"aria-hidden":"true","aria-label":"Error",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}})])},S=[],w={},C=p(w,x,S,!1,null,null,null),O=C.exports,k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__checkmark",attrs:{"aria-hidden":"true","aria-label":"Checkmark",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])},E=[],j={},P=p(j,k,E,!1,null,null,null),M=P.exports,L=["base","info","warning","error","success"],I=new Map([["info","IconInfo"],["success","IconCheckmark"],["warning","IconWarning"],["error","IconError"],["base",null]]),$={name:"HsNoticeIcon",components:{IconInfo:v,IconWarning:_,IconError:O,IconCheckmark:M},props:{kind:{type:String,default:"base",validate:function(t){return L.includes(t)}}},computed:{defaultIcon:function(){return I.get(this.kind)}}},A=$,V=p(A,l,u,!1,null,null,null),B=V.exports,T=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__content d-fw-wrap"},[t.title||this.$slots.titleOverride?n("h1",{staticClass:"d-notice__title",attrs:{id:t.titleId}},[t._t("titleOverride",[t._v(" "+t._s(t.title)+" ")])],2):t._e(),n("p",{staticClass:"d-notice__message",attrs:{id:t.contentId}},[t._t("default")],2)])},N=[],G={name:"HsNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},R=G,D=p(R,T,N,!1,null,null,null),H=D.exports,z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__actions"},[t._t("default"),t.hideClose?t._e():n("hs-button",t._b({ref:"closeButton",staticClass:"d-notice__btn d-notice__close",attrs:{importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:null},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("icon-close")]},proxy:!0}],null,!1,4267981299)},"hs-button",t.closeButtonProps,!1))],2)},F=[],q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__close",attrs:{"aria-hidden":"true","aria-label":"Close",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])},U=[],K={},Q=p(K,q,U,!1,null,null,null),W=Q.exports,X=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:["base-button__button"].concat(t.buttonClasses),attrs:{type:t.type,"aria-live":t.computedAriaLive}},t.buttonListeners),[t.hasIconSlot?n("span",{class:["base-button__icon","d-btn__icon",t.iconPositionClass]},[t._t("icon")],2):t._e(),t.hasIconSlot?n("span",{class:["base-button__label","d-btn__label"].concat(t.labelPositionClasses)},[t._t("default")],2):t._t("default")],2)},Y=[],J=n("9523"),Z=n.n(J),tt=n("8bbf"),et=n.n(tt);function nt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){Z()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var it={xs:"--xs",sm:"--sm",md:"",lg:"--lg",xl:"--xl"},ot={default:"",danger:"--danger",inverted:"--inverted"},at={clear:"",primary:"--primary",outlined:"--outlined"},st=["submit","reset","button"],lt=["left-align","split-left","center-align","right-align"],ut={default:"",warning:"--warning",danger:"--danger",success:"--success",dark:"--dark"},ct={name:"HsButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"center-align",validator:function(t){return lt.includes(t)}},importance:{type:String,default:"primary",validator:function(t){return Object.keys(at).includes(t)}},link:{type:Boolean,default:!1},linkInverted:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:function(t){return Object.keys(ut).includes(t)}},type:{type:String,default:"button",validator:function(t){return st.includes(t)}},size:{type:String,default:"md",validator:function(t){return Object.keys(it).includes(t)}},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:function(t){return Object.keys(ot).includes(t)}},assertiveOnFocus:{type:Boolean,default:!1}},emits:["focusout","focusin"],data:function(){return{isInFocus:!1}},computed:{buttonListeners:function(){var t=this;return this.assertiveOnFocus?rt(rt({},this.$listeners),{},{focusin:function(e){t.isInFocus=!0},focusout:function(e){t.isInFocus=!1}}):this.$listeners},computedAriaLive:function(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive},buttonClasses:function(){var t=this.link?[this.buttonLinkClass]:[this.buttonMainClass,this.buttonSizeClass];return[].concat(t,[this.buttonIconPositionClass])},buttonMainClass:function(){var t=this.circle?"--circle":"",e=ot[this.kind]||"",n=at[this.importance]||"",r=this.loading?"--loading":"";return"d-btn".concat(t).concat(e).concat(n).concat(r)},buttonLinkClass:function(){var t=this.linkInverted?"--inverted":"",e=ut[this.linkKind]||"";return"d-link".concat(t).concat(e)},buttonSizeClass:function(){var t=this.circle?"--circle":"",e=it[this.size]||"";return"d-btn".concat(t).concat(e)},buttonIconPositionClass:function(){return this.hasIconSlot&&"left-align"===this.iconPosition?"button__left-align":""},hasIconSlot:function(){return!!this.$slots.icon},iconPositionClass:function(){return this.hasIconSlot&&"right-align"===this.iconPosition?"d-btn__icon--last":""},labelPositionClasses:function(){if(!this.hasIconSlot)return[];var t=[];return"split-left"!==this.iconPosition&&"right-align"!==this.iconPosition||t.push("d-flex1"),"right-align"===this.iconPosition&&t.push("button__label__right-align"),t}},created:function(){},methods:{isUnsupportedCircleButton:function(){var t=this.circle&&"default"===this.kind&&"primary"===this.importance,e=this.circle&&"danger"===this.kind&&"outlined"===this.importance;return t||e},isUnsupportedInvertedLink:function(){return this.linkInverted&&"danger"!==this.linkKind&&"default"!==this.linkKind}}},dt=ct,pt=(n("84cc"),p(dt,X,Y,!1,null,null,null)),ft=pt.exports,ht={name:"HsNoticeAction",components:{IconClose:W,HsButton:ft},props:{closeButtonProps:{type:Object,default:function(){return{}}},hideClose:{type:Boolean,default:!1}},created:function(){this.hideClose||this.closeButtonProps.ariaLabel||console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted:function(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeDestroy:function(){var t;null===(t=this.lastFocusedElement)||void 0===t||t.focus()},methods:{close:function(){this.$emit("close")}}},vt=ht,gt=p(vt,z,F,!1,null,null,null),mt=gt.exports,bt=n("448a"),yt=n.n(bt),_t=n("c973"),xt=n.n(_t),St=n("a34a"),wt=n.n(St),Ct='not(:disabled):not([aria-disabled="true"]):not([tabindex="-1"])',Ot="button:".concat(Ct,",\n [href]:").concat(Ct,",\n input:").concat(Ct,",\n select:").concat(Ct,",\n textarea:").concat(Ct,",\n details:").concat(Ct,',\n [tabindex]:not([tabindex="-1"])'),kt={methods:{focusFirstElement:function(t){var e=this;return xt()(wt.a.mark((function n(){var r;return wt.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$nextTick();case 2:if(r=e._getFocusableElements(t),r.length){n.next=5;break}return n.abrupt("return");case 5:r[0].focus();case 6:case"end":return n.stop()}}),n)})))()},_getFocusableElements:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,e=yt()(t.querySelectorAll(Ot));return e.filter((function(t){var e=window.getComputedStyle(t);return"none"!==e.getPropertyValue("display")&&"hidden"!==e.getPropertyValue("visibility")}))},focusTrappedTabPress:function(t,e){var n="Tab"===t.key;if(n){var r=this._getFocusableElements(e);if(r.length){var i=r[0],o=r[r.length-1];t.shiftKey?document.activeElement===i&&(o.focus(),t.preventDefault()):document.activeElement===o&&(i.focus(),t.preventDefault())}}}}},Et={ERROR:"error",WARNING:"warning",SUCCESS:"success"},jt=Et.ERROR,Pt="hs",Mt=0;function Lt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pt;return"".concat(t).concat(Mt++)}function It(t){return t?t.map((function(t){return"string"===typeof t?{message:t,type:jt}:t})):[]}function $t(t){var e=At(t);return t&&e?t.filter((function(t){return t.type===e})):[]}function At(t){return t?Vt(t,Et.ERROR)?Et.ERROR:Vt(t,Et.WARNING)?Et.WARNING:Vt(t,Et.SUCCESS)?Et.SUCCESS:null:null}function Vt(t,e){return!(!t||!e)&&t.some((function(t){return(null===t||void 0===t?void 0:t.type)===e}))}var Bt={getUniqueString:Lt,formatMessages:It,filterFormattedMessages:$t,hasFormattedMessageOfType:Vt,getValidationState:At},Tt={name:"HsBanner",components:{HsNoticeIcon:B,HsNoticeContent:H,HsNoticeAction:mt},mixins:[kt],props:{titleId:{type:String,default:function(){return Bt.getUniqueString()}},contentId:{type:String,default:function(){return Bt.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate:function(t){return L.includes(t)}},closeButtonProps:{type:Object,default:function(){return{}}},hideClose:{type:Boolean,default:!1}},computed:{role:function(){return this.important?"alertdialog":"status"},bannerClass:function(){return["d-banner","d-banner--".concat(this.kind),{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]}},mounted:function(){this.important&&this.focusFirstElement()},methods:{trapFocus:function(t){this.important&&this.focusTrappedTabPress(t)}}},Nt=Tt,Gt=p(Nt,a,s,!1,null,null,null),Rt=Gt.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"hs-input"}},[t._t("icon"),n("label",{staticClass:"base-input__label",attrs:{"aria-details":t.$slots.description||t.description?t.descriptionKey:void 0,"data-qa":"hs-input-label"}},[t._t("labelSlot",[n("div",{class:["base-input__label-text","d-label","d-margin-bottom2",t.labelSizeModifierClass]},[t._v(" "+t._s(t.label)+" ")])]),t.$slots.description||t.description?n("div",{class:["d-description","d-margin-bottom2",t.descriptionSizeModifierClass],attrs:{id:t.descriptionKey,"data-qa":"hs-input-description"}},[t._t("description",[t._v(t._s(t.description))])],2):t._e(),n("div",{staticClass:"d-d-flex d-ai-center"},[t.$slots.innerLeft?n("div",{staticClass:"d-p-absolute d-z-index--base1 d-ml8 d-pl2 d-lh-none",on:{focusout:t.onBlur}},[t._t("innerLeft")],2):t._e(),t.isTextarea?n("textarea",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,disabled:t.disabled,"data-qa":"hs-input-input"},domProps:{value:t.value}},"textarea",t.$attrs,!1),t.inputListeners)):n("input",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,type:t.type,disabled:t.disabled,"data-qa":"hs-input-input"},domProps:{value:t.value}},"input",t.$attrs,!1),t.inputListeners)),n("div",{staticClass:"d-p-relative"},[t.$slots.innerRight?n("div",{staticClass:"d-z-index--base1 d-p0 d-m0 d-lh-none d-p-absolute d-ln24 d-tn8",on:{focusout:t.onBlur}},[t._t("innerRight")],2):t._e()])])],2),n("hs-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"hs-input-messages"}},"hs-validation-messages",t.messagesChildProps,!1))],2)},Ht=[],zt={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Ft={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"",LARGE:"lg",EXTRA_LARGE:"xl"},qt=n("7037"),Ut=n.n(qt);function Kt(t){return!t||t.every((function(t){return"string"===typeof t||"object"===Ut()(t)&&Object.values(Et).includes(null===t||void 0===t?void 0:t.type)}))}var Qt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showMessages?n("div",{class:["base-input__messages","d-margin-top4"],attrs:{"data-qa":"validation-messages-container"}},t._l(t.filteredValidationMessages,(function(e,r){var i=e.message,o=e.type;return n("div",{key:t.getMessageKey(o,r),class:["base-input__message","d-input-message","base-input__message--"+o,"d-input-message--"+o],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[t._v(" "+t._s(i)+" ")])})),0):t._e()},Wt=[],Xt={name:"HsValidationMessages",props:{id:{type:String,default:function(){return Lt()}},validationMessages:{type:Array,default:function(){return[]},validator:function(t){return Kt(t)}},showMessages:{type:Boolean,default:!0}},computed:{filteredValidationMessages:function(){return $t(this.validationMessages)},validationState:function(){return At(this.validationMessages)}},methods:{getMessageKey:function(t,e){return"radio-group-message-".concat(t,"-").concat(e,"-").concat(this.id)}}},Yt=Xt,Jt=p(Yt,Qt,Wt,!1,null,null,null),Zt=Jt.exports;function te(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ee(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?te(Object(n),!0).forEach((function(e){Z()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ne={name:"HsInput",components:{HsValidationMessages:Zt},inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:zt.TEXT,validator:function(t){return Object.values(zt).includes(t)}},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},description:{type:String,default:""},messages:{type:Array,default:function(){return[]},validator:function(t){return Kt(t)}},showMessages:{type:Boolean,default:!0},size:{type:String,default:"",validator:function(t){return Object.values(Ft).includes(t)}},messagesClass:{type:String,default:""},messagesChildProps:{type:Object,default:function(){return{}}}},emits:["blur","input","clear"],computed:{isTextarea:function(){return this.type===zt.TEXTAREA},inputComponent:function(){return this.isTextarea?"textarea":"input"},inputListeners:function(){var t=this;return ee(ee({},this.$listeners),{},{input:function(e){return t.$emit("input",e.target.value)},blur:function(e){return t.onBlur(e)}})},descriptionKey:function(){return"input-description-".concat(Lt())},formattedMessages:function(){return It(this.messages)},inputState:function(){return At(this.formattedMessages)},showInputState:function(){return this.showMessages&&this.inputState},sizeModifierClass:function(){return this.size&&Object.values(Ft).includes(this.size)?"d-".concat(this.inputComponent,"--").concat(this.size):""},labelSizeModifierClass:function(){return this.size&&Object.values(Ft).includes(this.size)?"d-label--".concat(this.size):""},descriptionSizeModifierClass:function(){return this.size&&Object.values(Ft).includes(this.size)?"d-description--".concat(this.size):""}},methods:{inputClasses:function(){return["d-".concat(this.inputComponent),Z()({},"d-".concat(this.inputComponent,"--").concat(this.inputState," base-input__input--").concat(this.inputState),this.showInputState),{"d-pl32":this.$slots.innerLeft},{"d-pr32":this.$slots.innerRight},this.sizeModifierClass,"base-input__input"]},onBlur:function(t){this.$refs.container.contains(t.relatedTarget)||this.$emit("blur",t)},clear:function(){this.$emit("input",""),this.$emit("clear")},blur:function(){this.$refs.input.blur()},focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},getMessageKey:function(t,e){return"message-".concat(t,"-").concat(e)}}},re=ne,ie=(n("2133"),p(re,Dt,Ht,!1,null,null,null)),oe=ie.exports,ae=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("fieldset",{attrs:{"data-qa":t.dataQaGroup}},[t.$slots.legend||t.legend?n("legend",t._b({class:["d-label",t.legendClass],attrs:{"data-qa":t.dataQaGroupLegend}},"legend",t.legendChildProps,!1),[t._t("legend",[t._v(" "+t._s(t.legend)+" ")])],2):t._e(),t._t("default"),n("hs-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":t.dataQaGroupMessages}},"hs-validation-messages",t.messagesChildProps,!1))],2)},se=[],le={components:{HsValidationMessages:Zt},provide:function(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default:function(){return Lt()}},value:{type:[String,Number,Boolean,Object],default:null},name:{type:String,required:!0},legend:{type:String,default:""},disabled:{type:Boolean,default:!1},messages:{type:Array,default:function(){return[]},validator:function(t){return Kt(t)}},showMessages:{type:Boolean,default:!0},legendClass:{type:[String,Array,Object],default:""},messagesClass:{type:[String,Array,Object],default:""},legendChildProps:{type:Object,default:function(){return{}}},messagesChildProps:{type:Object,default:function(){return{}}}},data:function(){var t=It(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:At(t)}}},computed:{formattedMessages:function(){return It(this.messages)},validationState:function(){return At(this.formattedMessages)}},watch:{disabled:function(t){this.provideObj.disabled=t},validationState:function(t){this.provideObj.validationState=t}},methods:{setGroupValue:function(t){this.internalValue=t,this.$emit("input",t)}},mounted:function(){this.legend||this.$slots.legend||this.$attrs["aria-label"]||et.a.util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},ue={name:"HsInputGroup",mixins:[le],components:{HsValidationMessages:Zt},props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},data:function(){return{internalValue:this.value,provideObj:{value:this.value}}},watch:{value:function(t){this.internalValue=t},internalValue:function(t){this.provideObj.value=t}},methods:{getMessageKey:function(t,e){return"input-group-message-".concat(t,"-").concat(e,"-").concat(this.id)}}},ce=ue,de=p(ce,ae,se,!1,null,null,null),pe=de.exports,fe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.modalClasses,attrs:{"data-qa":"hs-modal","aria-hidden":(!t.show).toString()},on:{click:function(e){return e.target!==e.currentTarget?null:t.close(e)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.close(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus(e)}],transitionend:function(e){return e.target!==e.currentTarget?null:t.setFocusAfterTransition(e)}}},[n("div",{staticClass:"d-modal__dialog",attrs:{role:"dialog","aria-modal":"true","aria-describedby":t.describedById,"aria-labelledby":t.labelledById}},[t.$slots.header?n("div",{staticClass:"d-modal__title",attrs:{id:t.labelledById,"data-qa":"hs-modal-title"}},[t._t("header")],2):n("h1",{staticClass:"d-modal__title",attrs:{id:t.labelledById,"data-qa":"hs-modal-title"}},[t._v(" "+t._s(t.title)+" ")]),t.$slots.default?n("div",{staticClass:"d-modal__copy",attrs:{"data-qa":"hs-modal-copy"}},[t._t("default")],2):n("p",{staticClass:"d-modal__copy",attrs:{"data-qa":"hs-modal-copy"}},[t._v(" "+t._s(t.copy)+" ")]),t.hasFooterSlot?n("footer",{staticClass:"d-modal__footer"},[t._t("footer")],2):t._e(),n("hs-button",t._b({staticClass:"d-modal__close",attrs:{circle:"",importance:"clear","aria-label":t.closeButtonProps.ariaLabel},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("icon-close")]},proxy:!0}])},"hs-button",t.closeButtonProps,!1))],1)])},he=[],ve={default:"",danger:"danger"},ge={default:"",full:"full"},me={name:"HsModal",components:{HsButton:ft,IconClose:W},mixins:[kt],props:{closeButtonProps:{type:Object,required:!0,validator:function(t){return!!t.ariaLabel}},copy:{type:String,default:""},describedById:{type:String},labelledById:{type:String,default:function(){return Lt()}},show:{type:Boolean,default:!1},title:{type:String,default:""},kind:{type:String,default:"",validator:function(t){return Object.values(ve).includes(t)}},size:{type:String,default:"",validator:function(t){return Object.values(ge).includes(t)}},contentClass:{type:[String,Object,Array],default:""}},computed:{hasFooterSlot:function(){return!!this.$slots.footer},modalClasses:function(){var t;return[(t={"d-modal":!0},Z()(t,"d-modal--".concat(this.kind),this.kind),Z()(t,"d-modal--".concat(this.size),this.size),t),this.contentClass]}},watch:{show:{immediate:!0,handler:function(t){var e;t?this.previousActiveElement=document.activeElement:(null===(e=this.previousActiveElement)||void 0===e||e.focus(),this.previousActiveElement=null)}}},methods:{close:function(){this.$emit("update:show",!1)},setFocusAfterTransition:function(t){var e=t.propertyName;this.show&&"transform"===e&&this.focusFirstElement()},trapFocus:function(t){this.show&&this.focusTrappedTabPress(t)}}},be=me,ye=p(be,fe,he,!1,null,null,null),_e=ye.exports,xe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.transition}},[n("div",t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},t.$listeners),[t.initialized?t._t("default"):t._e()],2)])},Se=[],we={name:"HsLazyShow",props:{show:Boolean,transition:{type:String,default:null}},data:function(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}}},Ce=we,Oe=p(Ce,xe,Se,!1,null,null,null),ke=Oe.exports,Ee=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["hs-list-section","d-fs14","d-lh6","d-py6","d-border-color--ash-darker",{"d-border-bottom":t.separator}],attrs:{id:t.id,role:"group","aria-labelledby":t.id+"-list-section-header",tabindex:"-1"}},[t.header?n("h3",{staticClass:"d-pl16 d-mt6",attrs:{id:t.id+"-list-section-header"}},[t._v(" "+t._s(t.header)+" ")]):t._e(),!t.isCollapsible||t.showAll?n("ol",{attrs:{id:t.id+"-list-section-content"}},[t._t("default")],2):n("ol",{attrs:{id:t.id+"-list-section-content"}},[n("vnodes",{attrs:{vnodes:t.displayedItems}})],1),t.isCollapsible?n("hs-button",{staticClass:"d-ml16 d-py6",attrs:{id:t.id+"-list-section-show-more-less",link:""},on:{click:t.showMoreLessClicked}},[t._v(" "+t._s(t.showMoreLessText)+" ")]):t._e()],1)},je=[],Pe={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:function(t,e){return e.props.vnodes}},HsButton:ft},props:{id:{type:String,default:function(){return Bt.getUniqueString()}},header:{type:String,default:null},separator:{type:Boolean,default:!1},maxDisplayed:{type:Number,default:0},textMore:{type:String,default:"Show more"},textLess:{type:String,default:"Show less"}},data:function(){return{showAll:!1}},computed:{isCollapsible:function(){return!(0===this.maxDisplayed||this.itemCount<=this.maxDisplayed)},showMoreLessText:function(){return this.showAll?this.textLess:this.textMore},hiddenCount:function(){return this.itemCount-this.displayedItems.length},itemCount:function(){return this.$slots.default.length},displayedItems:function(){var t=this;return this.$slots.default.filter((function(e,n){return n<=t.maxDisplayed-1}))}},methods:{showMoreLessClicked:function(){this.showAll=!this.showAll}}},Me=Pe,Le=(n("fc89"),p(Me,Ee,je,!1,null,null,null)),Ie=Le.exports,$e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:["hs-list-item","d-fs14","d-lh6","d-py6","d-px16","d-d-flex","d-ai-center",{"hs-list-item-clickable":t.clickable,"d-jc-space-between":this.$slots.iconRight}],attrs:{id:t.id,tabindex:t.clickable?0:-1},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.clicked(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.clicked(e)}],click:t.clicked}},[t._t("iconLeft"),t._t("default"),t._t("iconRight")],2)},Ae=[],Ve={name:"ListItem",props:{id:{type:String,default:function(){return Bt.getUniqueString()}},role:{type:String,default:"listitem"},clickable:{type:Boolean,default:!0}},emits:["click"],methods:{clicked:function(){this.$emit("click")}}},Be=Ve,Te=(n("51f5"),p(Be,$e,Ae,!1,null,null,null)),Ne=Te.exports,Ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",t._g({class:t.noticeClass,attrs:{role:t.role}},t.$listeners),[n("hs-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("hs-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("hs-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps}},t.$listeners),[t._t("action")],2)],1)},Re=[],De={name:"HsNotice",components:{HsNoticeIcon:B,HsNoticeContent:H,HsNoticeAction:mt},props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate:function(t){return L.includes(t)}},closeButtonProps:{type:Object,default:function(){return{}}},hideClose:{type:Boolean,default:!1}},computed:{noticeClass:function(){return["d-notice","d-notice--".concat(this.kind),{"d-notice--important":this.important}]},role:function(){return this.important?"alert":"status"}}},He=De,ze=p(He,Ge,Re,!1,null,null,null),Fe=ze.exports,qe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){return t.close("click-outside")},expression:"() => close('click-outside')"}],tag:"component",staticClass:"d-p-relative hs-popover"},[n("div",{ref:"anchor",attrs:{id:!t.ariaLabelledby&&t.labelledBy}},[t._t("anchor",null,{attrs:{"aria-expanded":t.open.toString(),"aria-controls":t.id,"aria-haspopup":t.role}})],2),n("hs-lazy-show",t._g({ref:"container",class:["d-border d-border-color--ash-dark d-border-radius--sm d-bgc-white d-box-shadow--md d-mt4 d-p-absolute d-z-index--popover","hs-popover__content","hs-popover__content--align-"+t.alignment,"hs-popover__content--valign-"+t.verticalAlignment,"hs-popover__content--pad-"+t.padding,t.contentClass],attrs:{id:t.id,role:t.role,"aria-hidden":!t.open,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,"aria-modal":t.isDialog,transition:t.transition,show:t.open,tabindex:"-1"}},t.dialogListeners),[t._t("content"),t.hasCaret?n("div",{staticClass:"d-bgc-white d-mtn4 d-border-top d-border-left d-border-color--ash-dark hs-popover__caret"}):t._e()],2)],1)},Ue=[],Ke=["none","small","medium","large"],Qe=["left","right"],We=["top","bottom"],Xe=["dialog","menu","listbox","tree","grid"],Ye=n("c28b"),Je=n.n(Ye),Ze={name:"HsPopover",components:{HsLazyShow:ke},directives:{clickOutside:Je.a.directive},mixins:[kt],props:{elementType:{type:String,default:"div"},contentClass:{type:String,default:""},open:{type:Boolean,required:!0},padding:{type:String,default:"large",validator:function(t){return Ke.includes(t)}},hasCaret:{type:Boolean,default:!0},transition:{type:String,default:"fade"},fixedAlignment:{type:String,default:null,validator:function(t){return Qe.includes(t)}},fixedVerticalAlignment:{type:String,default:null,validator:function(t){return We.includes(t)}},id:{type:String,default:function(){return Bt.getUniqueString("HsPopover__content")}},role:{type:String,default:"dialog",validator:function(t){return Xe.includes(t)}},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},focusAnchorOnClose:{type:Boolean,default:!0}},emits:["update:open"],data:function(){return{autoAlignment:"left",autoVerticalAlignment:"bottom"}},computed:{alignment:function(){return this.fixedAlignment||this.autoAlignment},verticalAlignment:function(){return this.fixedVerticalAlignment||this.autoVerticalAlignment},labelledBy:function(){return this.ariaLabelledby||!this.ariaLabel&&Bt.getUniqueString("HsPopover__anchor")},isDialog:function(){return"dialog"===this.role},dialogListeners:function(t){var e=this;return this.isDialog?{keydown:function(t){"Tab"===t.key&&e.trapFocus(t),"Escape"===t.key&&e.close("esc")}}:null}},watch:{open:function(t,e){this.manageFocusOnOpenClose(),this.closedByClickOutside=!1,!t||this.fixedAlignment&&this.fixedVerticalAlignment||this.updateAlignment()}},methods:{manageFocusOnOpenClose:function(){if(this.isDialog)return this.open?this.focusFirstElement(this.$refs.container.$el):void(this.focusAnchorOnClose&&!this.closedByClickOutside&&this.focusFirstElement(this.$refs.anchor))},trapFocus:function(t){this.focusTrappedTabPress(t,this.$refs.container.$el)},close:function(t){"click-outside"===t&&(this.closedByClickOutside=!0),this.$emit("update:open",!1)},updateAlignment:function(){var t=this;return xt()(wt.a.mark((function e(){var n,r,i,o,a,s,l,u,c,d;return wt.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.autoAlignment="left",t.autoVerticalAlignment="bottom",e.next=4,t.$nextTick();case 4:n=t.$refs.container.$el.getBoundingClientRect(),r=t.$root.$el.getBoundingClientRect(),n.right>r.right&&(i=t.$root.$el.scrollWidth,o=t.$refs.anchor.getBoundingClientRect(),a=o.left-r.left,s=r.left+i-o.right,t.autoAlignment=s<a?"right":"left"),n.bottom>r.bottom&&(l=t.$root.$el.scrollHeight,u=t.$refs.anchor.getBoundingClientRect(),c=u.top-r.top,d=r.top+l-u.bottom,t.autoVerticalAlignment=c<d?"bottom":"top");case 8:case"end":return e.stop()}}),e)})))()}}},tn=Ze,en=(n("e0bf"),p(tn,qe,Ue,!1,null,null,null)),nn=en.exports,rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:t.internalDisabled?"d-radio-group--disabled":"d-radio-group"},[n("div",{staticClass:"d-radio__input"},[n("input",t._g(t._b({class:["d-radio",t.inputValidationClass,t.inputClass],attrs:{name:t.internalName,disabled:t.internalDisabled,type:"radio"},domProps:{checked:t.internalChecked,value:t.value}},"input",t.$attrs,!1),t.inputListeners))]),n("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[n("div",t._b({class:t.labelClass,attrs:{"data-qa":"radio-label"}},"div",t.labelChildProps,!1),[t._t("default",[t._v(t._s(t.label))])],2),t.$slots.description||t.description?n("div",t._b({class:["d-radio__description",t.descriptionValidationClass,t.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",t.descriptionChildProps,!1),[t._t("description",[t._v(t._s(t.description))])],2):t._e()])])])},on=[],an={inheritAttrs:!1,props:{label:{type:String,default:""},name:{type:String,default:""},value:{type:[String,Number,Boolean,Object],default:null},description:{type:String,default:""},disabled:{type:Boolean,default:!1},validationState:{type:String,default:"",validator:function(t){return!t||Object.values(Et).includes(t)}},inputClass:{type:[String,Array,Object],default:""},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:function(){return{}}},descriptionChildProps:{type:Object,default:function(){return{}}}},data:function(){return{internalDisabled:this.disabled,internalValidationState:this.validationState}},watch:{disabled:function(t){this.internalDisabled=t},validationState:function(t){this.internalValidationState=t}}},sn={model:{prop:"checked"},props:{checked:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:null}},data:function(){return{internalChecked:this.checked}},watch:{checked:function(t){this.internalChecked=t}}},ln={inject:{groupContext:{default:{}},setGroupValue:{default:function(){return function(){}}}},data:function(){return{internalValue:this.value}},computed:{hasGroup:function(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName:function(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.name)&&void 0!==t?t:""},groupValue:function(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.value},groupDisabled:function(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.disabled)&&void 0!==t&&t},groupValidationState:function(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.validationState)&&void 0!==t?t:null},internalName:function(){return this.name||this.groupName}},watch:{value:function(t){this.internalValue=t},groupValue:{immediate:!0,handler:function(t){this.hasGroup&&(this.internalValue=t)}},groupDisabled:{immediate:!0,handler:function(t){this.hasGroup&&(this.internalDisabled=this.disabled||t)}},groupValidationState:{immediate:!0,handler:function(t){this.hasGroup&&(this.internalValidationState=t||this.validationState)}}},created:function(){var t,e=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),n=null===(t=this.groupContext)||void 0===t?void 0:t.name;this.name&&e&&n!==this.name&&et.a.util.warn("Component is being used inside a Group. Did you mean to override the name prop value "+"(".concat(n,") with (").concat(this.name,")? It is recommended to only set name at the Group level."),this)}},un={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},cn={warning:"d-radio__description--warning",error:"d-radio__description--error",success:"d-radio__description--success"};function dn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dn(Object(n),!0).forEach((function(e){Z()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var fn,hn,vn={name:"HsRadio",mixins:[an,sn,ln],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},computed:{inputValidationClass:function(){return un[this.internalValidationState]},descriptionValidationClass:function(){return cn[this.internalValidationState]},radioGroupValue:function(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.selectedValue},inputListeners:function(){var t=this;return pn(pn({},this.$listeners),{},{input:function(){},change:function(e){return t.emitValue(e.target.value)}})}},watch:{radioGroupValue:{immediate:!0,handler:function(t){this.hasGroup&&(this.internalChecked=t===this.value)}}},methods:{emitValue:function(t){t!==this.radioGroupValue&&(this.setGroupValue(t),this.$emit("input",t))}}},gn=vn,mn=p(gn,rn,on,!1,null,null,null),bn=mn.exports,yn={name:"HsRadioGroup",extends:pe,props:{value:{type:[String,Number],default:""},dataQaGroup:{type:String,default:"radio-group"},dataQaGroupLegend:{type:String,default:"radio-group-legend"},dataQaGroupMessages:{type:String,default:"radio-group-messages"}},data:function(){return{provideObj:{selectedValue:this.value}}},watch:{value:function(t){this.provideObj.selectedValue=t}},methods:{setGroupValue:function(t){this.$emit("input",t)},getMessageKey:function(t,e){return"radio-group-message-".concat(t,"-").concat(e,"-").concat(this.id)}}},_n=yn,xn=p(_n,fn,hn,!1,null,null,null),Sn=xn.exports,wn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:t.internalDisabled?"d-checkbox-group--disabled":"d-checkbox-group"},[n("div",{staticClass:"d-checkbox__input"},[n("input",t._g(t._b({class:["d-checkbox",t.inputValidationClass,t.inputClass],attrs:{type:"checkbox",name:t.internalName,disabled:t.internalDisabled},domProps:{checked:t.internalChecked,value:t.value}},"input",t.$attrs,!1),t.inputListeners))]),n("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[n("div",t._b({class:t.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",t.labelChildProps,!1),[t._t("default",[t._v(t._s(t.label))])],2),t.$slots.description||t.description?n("div",t._b({class:["d-checkbox__description",t.descriptionValidationClass,t.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",t.descriptionChildProps,!1),[t._t("description",[t._v(t._s(t.description))])],2):t._e()])])])},Cn=[],On={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},kn={error:"d-checkbox__description--error",warning:"d-checkbox__description--warning",success:"d-checkbox__description--success"};function En(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function jn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?En(Object(n),!0).forEach((function(e){Z()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Pn,Mn,Ln={name:"HsCheckbox",mixins:[an,sn,ln],inheritAttrs:!1,computed:{inputValidationClass:function(){return On[this.internalValidationState]},descriptionValidationClass:function(){return kn[this.internalValidationState]},checkboxGroupValueChecked:function(){var t,e,n;return null!==(t=null===(e=this.groupContext)||void 0===e||null===(n=e.selectedValues)||void 0===n?void 0:n.includes(this.value))&&void 0!==t&&t},inputListeners:function(){var t=this;return jn(jn({},this.$listeners),{},{input:function(){},change:function(e){return t.emitValue(e.target.value,e.target.checked)}})}},watch:{checkboxGroupValueChecked:{immediate:!0,handler:function(t){this.hasGroup&&(this.internalChecked=t)}}},methods:{emitValue:function(t,e){this.setGroupValue(t,e),this.$emit("input",e)}}},In=Ln,$n=p(In,wn,Cn,!1,null,null,null),An=$n.exports,Vn=void 0,Bn={name:"HsCheckboxGroup",extends:pe,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:function(t){return!t||(et.a.util.warn("Component uses selectedValues to initialize the model, value is not supported by this component",Vn),!1)}},selectedValues:{type:Array,default:function(){return[]}},dataQaGroup:{type:String,default:"checkbox-group"},dataQaGroupLegend:{type:String,default:"checkbox-group-legend"},dataQaGroupMessages:{type:String,default:"checkbox-group-messages"}},data:function(){return{internalValue:this.selectedValues,provideObj:{selectedValues:this.selectedValues}}},watch:{selectedValues:function(t){this.internalValue=t},internalValue:function(t){this.provideObj.selectedValues=t}},methods:{setGroupValue:function(t,e){e?this.internalValue.includes(t)||this.internalValue.push(t):this.internalValue=this.internalValue.filter((function(e){return e!==t})),this.$emit("input",this.internalValue)},getMessageKey:function(t,e){return"checkbox-group-message-".concat(t,"-").concat(e,"-").concat(this.id)}}},Tn=Bn,Nn=p(Tn,Pn,Mn,!1,null,null,null),Gn=Nn.exports},fc89:function(t,e,n){"use strict";n("816f")}})}));
|
|
2
|
+
//# sourceMappingURL=dialtone-vue.umd.min.js.map
|
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dialpad/dialtone-vue",
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
4
|
+
"description": "Vue component library for Dialtone components",
|
|
5
|
+
"repository": "https://github.com/dialpad/dialtone-vue",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/*.js"
|
|
8
|
+
],
|
|
9
|
+
"main": "./dist/dialtone-vue.common.js",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "vue-cli-service build --target lib --name dialtone-vue index.js",
|
|
12
|
+
"deploy:npm": "npm pack",
|
|
13
|
+
"deploy": "run-s build deploy:npm",
|
|
14
|
+
"prepublishOnly": "npm run build",
|
|
15
|
+
"build:wc": "vue-cli-service build --target wc-async --name dialtone-vue 'components/**/*[!.story]*.vue'",
|
|
16
|
+
"test": "vue-cli-service test:unit --timeout 100000 --require source-map-support/register --require jsdom-global/register --colors components/**/*.test.js",
|
|
17
|
+
"lint:code": "esplint ./",
|
|
18
|
+
"lint:docs": "markdownlint '**/*.mdx'",
|
|
19
|
+
"lint": "run-s lint:code lint:docs",
|
|
20
|
+
"storybook": "npm run --prefix storybook storybook",
|
|
21
|
+
"storybook:install": "npm install --prefix storybook",
|
|
22
|
+
"storybook:build": "npm run --prefix storybook build"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@dialpad/dialtone": "6.0.0-beta.2",
|
|
26
|
+
"v-click-outside": "^3.1.2"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@dialpad/generator-dp": "^1.0.0",
|
|
30
|
+
"@vue/cli-plugin-babel": "~4.5.0",
|
|
31
|
+
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
32
|
+
"@vue/cli-plugin-unit-mocha": "~4.5.0",
|
|
33
|
+
"@vue/cli-service": "~4.5.0",
|
|
34
|
+
"@vue/test-utils": "^1.0.3",
|
|
35
|
+
"babel-eslint": "^10.1.0",
|
|
36
|
+
"babel-plugin-dynamic-import-node": "^2.2.0",
|
|
37
|
+
"chai": "^4.2.0",
|
|
38
|
+
"chai-as-promised": "^7.1.1",
|
|
39
|
+
"core-js": "^3.6.5",
|
|
40
|
+
"eslint": "^7.11.0",
|
|
41
|
+
"eslint-config-semistandard": "^15.0.1",
|
|
42
|
+
"eslint-config-standard": "^14.1.1",
|
|
43
|
+
"eslint-plugin-import": "^2.22.1",
|
|
44
|
+
"eslint-plugin-mocha": "^8.0.0",
|
|
45
|
+
"eslint-plugin-node": "^11.1.0",
|
|
46
|
+
"eslint-plugin-promise": "^4.2.1",
|
|
47
|
+
"eslint-plugin-standard": "^4.0.1",
|
|
48
|
+
"eslint-plugin-vue": "^7.9.0",
|
|
49
|
+
"eslint-plugin-vuejs-accessibility": "^0.6.0",
|
|
50
|
+
"esplint": "^0.9.1",
|
|
51
|
+
"jsdom": "14.1.0",
|
|
52
|
+
"jsdom-global": "3.0.2",
|
|
53
|
+
"less": "3.9.0",
|
|
54
|
+
"less-loader": "^6.2.0",
|
|
55
|
+
"markdownlint": "^0.22.0",
|
|
56
|
+
"markdownlint-cli": "^0.26.0",
|
|
57
|
+
"mocha": "^6.2.3",
|
|
58
|
+
"mocha-loader": "^5.1.0",
|
|
59
|
+
"npm-run-all": "^4.1.3",
|
|
60
|
+
"null-loader": "^4.0.0",
|
|
61
|
+
"sinon": "^7.3.1",
|
|
62
|
+
"source-map-support": "^0.5.19",
|
|
63
|
+
"vue": "^2.6.11",
|
|
64
|
+
"vue-template-compiler": "^2.6.11",
|
|
65
|
+
"yo": "^3.1.1"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@dialpad/dialtone": "6.0.0-beta.2",
|
|
69
|
+
"vue": "^2.6.11"
|
|
70
|
+
},
|
|
71
|
+
"engineStrict": true,
|
|
72
|
+
"engines": {
|
|
73
|
+
"node": ">= 14"
|
|
74
|
+
},
|
|
75
|
+
"volta": {
|
|
76
|
+
"node": "14.14.0"
|
|
77
|
+
}
|
|
78
|
+
}
|