@gospore/checkbox 1.0.7
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/LICENSE +0 -0
- package/README.md +1 -0
- package/dist/checkbox.es.js +1408 -0
- package/dist/checkbox.umd.js +458 -0
- package/dist/style.css +1 -0
- package/package.json +34 -0
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
(function(P,M){typeof exports=="object"&&typeof module!="undefined"?module.exports=M():typeof define=="function"&&define.amd?define(M):(P=typeof globalThis!="undefined"?globalThis:P||self,P.checkbox=M())})(this,function(){"use strict";/*!
|
|
2
|
+
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
|
3
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
4
|
+
*/function P(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function M(e,n){for(var r=0;r<n.length;r++){var t=n[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function Ce(e,n,r){return n&&M(e.prototype,n),r&&M(e,r),e}function Oe(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function d(e){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{},t=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable}))),t.forEach(function(a){Oe(e,a,r[a])})}return e}function q(e,n){return Ie(e)||Ae(e,n)||ze()}function Ie(e){if(Array.isArray(e))return e}function Ae(e,n){var r=[],t=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),s;!(t=(s=o.next()).done)&&(r.push(s.value),!(n&&r.length===n));t=!0);}catch(l){a=!0,i=l}finally{try{!t&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}function ze(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var Z=function(){},F={},J={},Me=null,Q={mark:Z,measure:Z};try{typeof window!="undefined"&&(F=window),typeof document!="undefined"&&(J=document),typeof MutationObserver!="undefined"&&(Me=MutationObserver),typeof performance!="undefined"&&(Q=performance)}catch{}var Se=F.navigator||{},ee=Se.userAgent,ne=ee===void 0?"":ee,N=F,w=J,L=Q;N.document;var U=!!w.documentElement&&!!w.head&&typeof w.addEventListener=="function"&&typeof w.createElement=="function";~ne.indexOf("MSIE")||~ne.indexOf("Trident/");var I="___FONT_AWESOME___",te="fa",re="svg-inline--fa",Ee="data-fa-i2svg";(function(){try{return!0}catch{return!1}})();var j={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ae=N.FontAwesomeConfig||{};function Pe(e){var n=w.querySelector("script["+e+"]");if(n)return n.getAttribute(e)}function Te(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(w&&typeof w.querySelector=="function"){var Ne=[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];Ne.forEach(function(e){var n=q(e,2),r=n[0],t=n[1],a=Te(Pe(r));a!=null&&(ae[t]=a)})}var Le={familyPrefix:te,replacementClass:re,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},X=d({},Le,ae);X.autoReplaceSvg||(X.observeMutations=!1);var x=d({},X);N.FontAwesomeConfig=x;var A=N||{};A[I]||(A[I]={}),A[I].styles||(A[I].styles={}),A[I].hooks||(A[I].hooks={}),A[I].shims||(A[I].shims=[]);var O=A[I],Re=[],De=function e(){w.removeEventListener("DOMContentLoaded",e),Y=1,Re.map(function(n){return n()})},Y=!1;U&&(Y=(w.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(w.readyState),Y||w.addEventListener("DOMContentLoaded",De)),typeof global!="undefined"&&typeof global.process!="undefined"&&global.process.emit,typeof setImmediate=="undefined"||setImmediate;var S={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function We(e){if(!(!e||!U)){var n=w.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e;for(var r=w.head.childNodes,t=null,a=r.length-1;a>-1;a--){var i=r[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(t=i)}return w.head.insertBefore(n,t),e}}var Be="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function R(){for(var e=12,n="";e-- >0;)n+=Be[Math.random()*62|0];return n}function ie(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Fe(e){return Object.keys(e||{}).reduce(function(n,r){return n+"".concat(r,'="').concat(ie(e[r]),'" ')},"").trim()}function oe(e){return Object.keys(e||{}).reduce(function(n,r){return n+"".concat(r,": ").concat(e[r],";")},"")}function se(e){return e.size!==S.size||e.x!==S.x||e.y!==S.y||e.rotate!==S.rotate||e.flipX||e.flipY}function le(e){var n=e.transform,r=e.containerWidth,t=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(n.x*32,", ").concat(n.y*32,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),l={transform:"".concat(i," ").concat(o," ").concat(s)},u={transform:"translate(".concat(t/2*-1," -256)")};return{outer:a,inner:l,path:u}}var $={x:0,y:0,width:"100%",height:"100%"};function fe(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}function Ue(e){return e.tag==="g"?e.children:[e]}function je(e){var n=e.children,r=e.attributes,t=e.main,a=e.mask,i=e.maskId,o=e.transform,s=t.width,l=t.icon,u=a.width,h=a.icon,p=le({transform:o,containerWidth:u,iconWidth:s}),m={tag:"rect",attributes:d({},$,{fill:"white"})},g=l.children?{children:l.children.map(fe)}:{},v={tag:"g",attributes:d({},p.inner),children:[fe(d({tag:l.tag,attributes:d({},l.attributes,p.path)},g))]},k={tag:"g",attributes:d({},p.outer),children:[v]},_="mask-".concat(i||R()),f="clip-".concat(i||R()),c={tag:"mask",attributes:d({},$,{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,k]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:f},children:Ue(h)},c]};return n.push(y,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(f,")"),mask:"url(#".concat(_,")")},$)}),{children:n,attributes:r}}function Xe(e){var n=e.children,r=e.attributes,t=e.main,a=e.transform,i=e.styles,o=oe(i);if(o.length>0&&(r.style=o),se(a)){var s=le({transform:a,containerWidth:t.width,iconWidth:t.width});n.push({tag:"g",attributes:d({},s.outer),children:[{tag:"g",attributes:d({},s.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:d({},t.icon.attributes,s.path)}]}]})}else n.push(t.icon);return{children:n,attributes:r}}function Ye(e){var n=e.children,r=e.main,t=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(se(o)&&r.found&&!t.found){var s=r.width,l=r.height,u={x:s/l/2,y:.5};a.style=oe(d({},i,{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:n}]}function $e(e){var n=e.prefix,r=e.iconName,t=e.children,a=e.attributes,i=e.symbol,o=i===!0?"".concat(n,"-").concat(x.familyPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d({},a,{id:o}),children:t}]}]}function He(e){var n=e.icons,r=n.main,t=n.mask,a=e.prefix,i=e.iconName,o=e.transform,s=e.symbol,l=e.title,u=e.maskId,h=e.titleId,p=e.extra,m=e.watchable,g=m===void 0?!1:m,v=t.found?t:r,k=v.width,_=v.height,f=a==="fak",c=f?"":"fa-w-".concat(Math.ceil(k/_*16)),y=[x.replacementClass,i?"".concat(x.familyPrefix,"-").concat(i):"",c].filter(function(B){return p.classes.indexOf(B)===-1}).filter(function(B){return B!==""||!!B}).concat(p.classes).join(" "),b={children:[],attributes:d({},p.attributes,{"data-prefix":a,"data-icon":i,class:y,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(k," ").concat(_)})},z=f&&!~p.classes.indexOf("fa-fw")?{width:"".concat(k/_*16*.0625,"em")}:{};g&&(b.attributes[Ee]=""),l&&b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(h||R())},children:[l]});var C=d({},b,{prefix:a,iconName:i,main:r,mask:t,maskId:u,transform:o,symbol:s,styles:d({},z,p.styles)}),E=t.found&&r.found?je(C):Xe(C),On=E.children,In=E.attributes;return C.children=On,C.attributes=In,s?$e(C):Ye(C)}var ce=function(){};x.measurePerformance&&L&&L.mark&&L.measure;var Ge=function(n,r){return function(t,a,i,o){return n.call(r,t,a,i,o)}},H=function(n,r,t,a){var i=Object.keys(n),o=i.length,s=a!==void 0?Ge(r,a):r,l,u,h;for(t===void 0?(l=1,h=n[i[0]]):(l=0,h=t);l<o;l++)u=i[l],h=s(h,n[u],u,n);return h};function ue(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=r.skipHooks,a=t===void 0?!1:t,i=Object.keys(n).reduce(function(o,s){var l=n[s],u=!!l.icon;return u?o[l.iconName]=l.icon:o[s]=l,o},{});typeof O.hooks.addPack=="function"&&!a?O.hooks.addPack(e,i):O.styles[e]=d({},O.styles[e]||{},i),e==="fas"&&ue("fa",n)}var de=O.styles,Ke=O.shims,me=function(){var n=function(a){return H(de,function(i,o,s){return i[s]=H(o,a,{}),i},{})};n(function(t,a,i){return a[3]&&(t[a[3]]=i),t}),n(function(t,a,i){var o=a[2];return t[i]=i,o.forEach(function(s){t[s]=i}),t});var r="far"in de;H(Ke,function(t,a){var i=a[0],o=a[1],s=a[2];return o==="far"&&!r&&(o="fas"),t[i]={prefix:o,iconName:s},t},{})};me(),O.styles;function pe(e,n,r){if(e&&e[n]&&e[n][r])return{prefix:n,iconName:r,icon:e[n][r]}}function he(e){var n=e.tag,r=e.attributes,t=r===void 0?{}:r,a=e.children,i=a===void 0?[]:a;return typeof e=="string"?ie(e):"<".concat(n," ").concat(Fe(t),">").concat(i.map(he).join(""),"</").concat(n,">")}var Ve=function(n){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n?n.toLowerCase().split(" ").reduce(function(t,a){var i=a.toLowerCase().split("-"),o=i[0],s=i.slice(1).join("-");if(o&&s==="h")return t.flipX=!0,t;if(o&&s==="v")return t.flipY=!0,t;if(s=parseFloat(s),isNaN(s))return t;switch(o){case"grow":t.size=t.size+s;break;case"shrink":t.size=t.size-s;break;case"left":t.x=t.x-s;break;case"right":t.x=t.x+s;break;case"up":t.y=t.y-s;break;case"down":t.y=t.y+s;break;case"rotate":t.rotate=t.rotate+s;break}return t},r):r};function G(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=new Error().stack}G.prototype=Object.create(Error.prototype),G.prototype.constructor=G;var D={fill:"currentColor"},ve={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};d({},D,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"});var K=d({},ve,{attributeName:"opacity"});d({},D,{cx:"256",cy:"364",r:"28"}),d({},ve,{attributeName:"r",values:"28;14;28;28;14;28;"}),d({},K,{values:"1;0;1;1;0;1;"}),d({},D,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),d({},K,{values:"1;0;0;0;0;1;"}),d({},D,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),d({},K,{values:"0;0;1;1;0;0;"}),O.styles;function ge(e){var n=e[0],r=e[1],t=e.slice(4),a=q(t,1),i=a[0],o=null;return Array.isArray(i)?o={tag:"g",attributes:{class:"".concat(x.familyPrefix,"-").concat(j.GROUP)},children:[{tag:"path",attributes:{class:"".concat(x.familyPrefix,"-").concat(j.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(x.familyPrefix,"-").concat(j.PRIMARY),fill:"currentColor",d:i[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:n,height:r,icon:o}}O.styles;var qe=`svg:not(:root).svg-inline--fa {
|
|
5
|
+
overflow: visible;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.svg-inline--fa {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
font-size: inherit;
|
|
11
|
+
height: 1em;
|
|
12
|
+
overflow: visible;
|
|
13
|
+
vertical-align: -0.125em;
|
|
14
|
+
}
|
|
15
|
+
.svg-inline--fa.fa-lg {
|
|
16
|
+
vertical-align: -0.225em;
|
|
17
|
+
}
|
|
18
|
+
.svg-inline--fa.fa-w-1 {
|
|
19
|
+
width: 0.0625em;
|
|
20
|
+
}
|
|
21
|
+
.svg-inline--fa.fa-w-2 {
|
|
22
|
+
width: 0.125em;
|
|
23
|
+
}
|
|
24
|
+
.svg-inline--fa.fa-w-3 {
|
|
25
|
+
width: 0.1875em;
|
|
26
|
+
}
|
|
27
|
+
.svg-inline--fa.fa-w-4 {
|
|
28
|
+
width: 0.25em;
|
|
29
|
+
}
|
|
30
|
+
.svg-inline--fa.fa-w-5 {
|
|
31
|
+
width: 0.3125em;
|
|
32
|
+
}
|
|
33
|
+
.svg-inline--fa.fa-w-6 {
|
|
34
|
+
width: 0.375em;
|
|
35
|
+
}
|
|
36
|
+
.svg-inline--fa.fa-w-7 {
|
|
37
|
+
width: 0.4375em;
|
|
38
|
+
}
|
|
39
|
+
.svg-inline--fa.fa-w-8 {
|
|
40
|
+
width: 0.5em;
|
|
41
|
+
}
|
|
42
|
+
.svg-inline--fa.fa-w-9 {
|
|
43
|
+
width: 0.5625em;
|
|
44
|
+
}
|
|
45
|
+
.svg-inline--fa.fa-w-10 {
|
|
46
|
+
width: 0.625em;
|
|
47
|
+
}
|
|
48
|
+
.svg-inline--fa.fa-w-11 {
|
|
49
|
+
width: 0.6875em;
|
|
50
|
+
}
|
|
51
|
+
.svg-inline--fa.fa-w-12 {
|
|
52
|
+
width: 0.75em;
|
|
53
|
+
}
|
|
54
|
+
.svg-inline--fa.fa-w-13 {
|
|
55
|
+
width: 0.8125em;
|
|
56
|
+
}
|
|
57
|
+
.svg-inline--fa.fa-w-14 {
|
|
58
|
+
width: 0.875em;
|
|
59
|
+
}
|
|
60
|
+
.svg-inline--fa.fa-w-15 {
|
|
61
|
+
width: 0.9375em;
|
|
62
|
+
}
|
|
63
|
+
.svg-inline--fa.fa-w-16 {
|
|
64
|
+
width: 1em;
|
|
65
|
+
}
|
|
66
|
+
.svg-inline--fa.fa-w-17 {
|
|
67
|
+
width: 1.0625em;
|
|
68
|
+
}
|
|
69
|
+
.svg-inline--fa.fa-w-18 {
|
|
70
|
+
width: 1.125em;
|
|
71
|
+
}
|
|
72
|
+
.svg-inline--fa.fa-w-19 {
|
|
73
|
+
width: 1.1875em;
|
|
74
|
+
}
|
|
75
|
+
.svg-inline--fa.fa-w-20 {
|
|
76
|
+
width: 1.25em;
|
|
77
|
+
}
|
|
78
|
+
.svg-inline--fa.fa-pull-left {
|
|
79
|
+
margin-right: 0.3em;
|
|
80
|
+
width: auto;
|
|
81
|
+
}
|
|
82
|
+
.svg-inline--fa.fa-pull-right {
|
|
83
|
+
margin-left: 0.3em;
|
|
84
|
+
width: auto;
|
|
85
|
+
}
|
|
86
|
+
.svg-inline--fa.fa-border {
|
|
87
|
+
height: 1.5em;
|
|
88
|
+
}
|
|
89
|
+
.svg-inline--fa.fa-li {
|
|
90
|
+
width: 2em;
|
|
91
|
+
}
|
|
92
|
+
.svg-inline--fa.fa-fw {
|
|
93
|
+
width: 1.25em;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.fa-layers svg.svg-inline--fa {
|
|
97
|
+
bottom: 0;
|
|
98
|
+
left: 0;
|
|
99
|
+
margin: auto;
|
|
100
|
+
position: absolute;
|
|
101
|
+
right: 0;
|
|
102
|
+
top: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.fa-layers {
|
|
106
|
+
display: inline-block;
|
|
107
|
+
height: 1em;
|
|
108
|
+
position: relative;
|
|
109
|
+
text-align: center;
|
|
110
|
+
vertical-align: -0.125em;
|
|
111
|
+
width: 1em;
|
|
112
|
+
}
|
|
113
|
+
.fa-layers svg.svg-inline--fa {
|
|
114
|
+
-webkit-transform-origin: center center;
|
|
115
|
+
transform-origin: center center;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.fa-layers-counter, .fa-layers-text {
|
|
119
|
+
display: inline-block;
|
|
120
|
+
position: absolute;
|
|
121
|
+
text-align: center;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.fa-layers-text {
|
|
125
|
+
left: 50%;
|
|
126
|
+
top: 50%;
|
|
127
|
+
-webkit-transform: translate(-50%, -50%);
|
|
128
|
+
transform: translate(-50%, -50%);
|
|
129
|
+
-webkit-transform-origin: center center;
|
|
130
|
+
transform-origin: center center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.fa-layers-counter {
|
|
134
|
+
background-color: #ff253a;
|
|
135
|
+
border-radius: 1em;
|
|
136
|
+
-webkit-box-sizing: border-box;
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
color: #fff;
|
|
139
|
+
height: 1.5em;
|
|
140
|
+
line-height: 1;
|
|
141
|
+
max-width: 5em;
|
|
142
|
+
min-width: 1.5em;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
padding: 0.25em;
|
|
145
|
+
right: 0;
|
|
146
|
+
text-overflow: ellipsis;
|
|
147
|
+
top: 0;
|
|
148
|
+
-webkit-transform: scale(0.25);
|
|
149
|
+
transform: scale(0.25);
|
|
150
|
+
-webkit-transform-origin: top right;
|
|
151
|
+
transform-origin: top right;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.fa-layers-bottom-right {
|
|
155
|
+
bottom: 0;
|
|
156
|
+
right: 0;
|
|
157
|
+
top: auto;
|
|
158
|
+
-webkit-transform: scale(0.25);
|
|
159
|
+
transform: scale(0.25);
|
|
160
|
+
-webkit-transform-origin: bottom right;
|
|
161
|
+
transform-origin: bottom right;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.fa-layers-bottom-left {
|
|
165
|
+
bottom: 0;
|
|
166
|
+
left: 0;
|
|
167
|
+
right: auto;
|
|
168
|
+
top: auto;
|
|
169
|
+
-webkit-transform: scale(0.25);
|
|
170
|
+
transform: scale(0.25);
|
|
171
|
+
-webkit-transform-origin: bottom left;
|
|
172
|
+
transform-origin: bottom left;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.fa-layers-top-right {
|
|
176
|
+
right: 0;
|
|
177
|
+
top: 0;
|
|
178
|
+
-webkit-transform: scale(0.25);
|
|
179
|
+
transform: scale(0.25);
|
|
180
|
+
-webkit-transform-origin: top right;
|
|
181
|
+
transform-origin: top right;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.fa-layers-top-left {
|
|
185
|
+
left: 0;
|
|
186
|
+
right: auto;
|
|
187
|
+
top: 0;
|
|
188
|
+
-webkit-transform: scale(0.25);
|
|
189
|
+
transform: scale(0.25);
|
|
190
|
+
-webkit-transform-origin: top left;
|
|
191
|
+
transform-origin: top left;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.fa-lg {
|
|
195
|
+
font-size: 1.3333333333em;
|
|
196
|
+
line-height: 0.75em;
|
|
197
|
+
vertical-align: -0.0667em;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.fa-xs {
|
|
201
|
+
font-size: 0.75em;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.fa-sm {
|
|
205
|
+
font-size: 0.875em;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.fa-1x {
|
|
209
|
+
font-size: 1em;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.fa-2x {
|
|
213
|
+
font-size: 2em;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.fa-3x {
|
|
217
|
+
font-size: 3em;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.fa-4x {
|
|
221
|
+
font-size: 4em;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.fa-5x {
|
|
225
|
+
font-size: 5em;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.fa-6x {
|
|
229
|
+
font-size: 6em;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.fa-7x {
|
|
233
|
+
font-size: 7em;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.fa-8x {
|
|
237
|
+
font-size: 8em;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.fa-9x {
|
|
241
|
+
font-size: 9em;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.fa-10x {
|
|
245
|
+
font-size: 10em;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.fa-fw {
|
|
249
|
+
text-align: center;
|
|
250
|
+
width: 1.25em;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.fa-ul {
|
|
254
|
+
list-style-type: none;
|
|
255
|
+
margin-left: 2.5em;
|
|
256
|
+
padding-left: 0;
|
|
257
|
+
}
|
|
258
|
+
.fa-ul > li {
|
|
259
|
+
position: relative;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.fa-li {
|
|
263
|
+
left: -2em;
|
|
264
|
+
position: absolute;
|
|
265
|
+
text-align: center;
|
|
266
|
+
width: 2em;
|
|
267
|
+
line-height: inherit;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.fa-border {
|
|
271
|
+
border: solid 0.08em #eee;
|
|
272
|
+
border-radius: 0.1em;
|
|
273
|
+
padding: 0.2em 0.25em 0.15em;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.fa-pull-left {
|
|
277
|
+
float: left;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.fa-pull-right {
|
|
281
|
+
float: right;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.fa.fa-pull-left,
|
|
285
|
+
.fas.fa-pull-left,
|
|
286
|
+
.far.fa-pull-left,
|
|
287
|
+
.fal.fa-pull-left,
|
|
288
|
+
.fab.fa-pull-left {
|
|
289
|
+
margin-right: 0.3em;
|
|
290
|
+
}
|
|
291
|
+
.fa.fa-pull-right,
|
|
292
|
+
.fas.fa-pull-right,
|
|
293
|
+
.far.fa-pull-right,
|
|
294
|
+
.fal.fa-pull-right,
|
|
295
|
+
.fab.fa-pull-right {
|
|
296
|
+
margin-left: 0.3em;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.fa-spin {
|
|
300
|
+
-webkit-animation: fa-spin 2s infinite linear;
|
|
301
|
+
animation: fa-spin 2s infinite linear;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.fa-pulse {
|
|
305
|
+
-webkit-animation: fa-spin 1s infinite steps(8);
|
|
306
|
+
animation: fa-spin 1s infinite steps(8);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@-webkit-keyframes fa-spin {
|
|
310
|
+
0% {
|
|
311
|
+
-webkit-transform: rotate(0deg);
|
|
312
|
+
transform: rotate(0deg);
|
|
313
|
+
}
|
|
314
|
+
100% {
|
|
315
|
+
-webkit-transform: rotate(360deg);
|
|
316
|
+
transform: rotate(360deg);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@keyframes fa-spin {
|
|
321
|
+
0% {
|
|
322
|
+
-webkit-transform: rotate(0deg);
|
|
323
|
+
transform: rotate(0deg);
|
|
324
|
+
}
|
|
325
|
+
100% {
|
|
326
|
+
-webkit-transform: rotate(360deg);
|
|
327
|
+
transform: rotate(360deg);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
.fa-rotate-90 {
|
|
331
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
|
|
332
|
+
-webkit-transform: rotate(90deg);
|
|
333
|
+
transform: rotate(90deg);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.fa-rotate-180 {
|
|
337
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
|
|
338
|
+
-webkit-transform: rotate(180deg);
|
|
339
|
+
transform: rotate(180deg);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.fa-rotate-270 {
|
|
343
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
|
|
344
|
+
-webkit-transform: rotate(270deg);
|
|
345
|
+
transform: rotate(270deg);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.fa-flip-horizontal {
|
|
349
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
|
|
350
|
+
-webkit-transform: scale(-1, 1);
|
|
351
|
+
transform: scale(-1, 1);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.fa-flip-vertical {
|
|
355
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
|
356
|
+
-webkit-transform: scale(1, -1);
|
|
357
|
+
transform: scale(1, -1);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {
|
|
361
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
|
362
|
+
-webkit-transform: scale(-1, -1);
|
|
363
|
+
transform: scale(-1, -1);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
:root .fa-rotate-90,
|
|
367
|
+
:root .fa-rotate-180,
|
|
368
|
+
:root .fa-rotate-270,
|
|
369
|
+
:root .fa-flip-horizontal,
|
|
370
|
+
:root .fa-flip-vertical,
|
|
371
|
+
:root .fa-flip-both {
|
|
372
|
+
-webkit-filter: none;
|
|
373
|
+
filter: none;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.fa-stack {
|
|
377
|
+
display: inline-block;
|
|
378
|
+
height: 2em;
|
|
379
|
+
position: relative;
|
|
380
|
+
width: 2.5em;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.fa-stack-1x,
|
|
384
|
+
.fa-stack-2x {
|
|
385
|
+
bottom: 0;
|
|
386
|
+
left: 0;
|
|
387
|
+
margin: auto;
|
|
388
|
+
position: absolute;
|
|
389
|
+
right: 0;
|
|
390
|
+
top: 0;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.svg-inline--fa.fa-stack-1x {
|
|
394
|
+
height: 1em;
|
|
395
|
+
width: 1.25em;
|
|
396
|
+
}
|
|
397
|
+
.svg-inline--fa.fa-stack-2x {
|
|
398
|
+
height: 2em;
|
|
399
|
+
width: 2.5em;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.fa-inverse {
|
|
403
|
+
color: #fff;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.sr-only {
|
|
407
|
+
border: 0;
|
|
408
|
+
clip: rect(0, 0, 0, 0);
|
|
409
|
+
height: 1px;
|
|
410
|
+
margin: -1px;
|
|
411
|
+
overflow: hidden;
|
|
412
|
+
padding: 0;
|
|
413
|
+
position: absolute;
|
|
414
|
+
width: 1px;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.sr-only-focusable:active, .sr-only-focusable:focus {
|
|
418
|
+
clip: auto;
|
|
419
|
+
height: auto;
|
|
420
|
+
margin: 0;
|
|
421
|
+
overflow: visible;
|
|
422
|
+
position: static;
|
|
423
|
+
width: auto;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.svg-inline--fa .fa-primary {
|
|
427
|
+
fill: var(--fa-primary-color, currentColor);
|
|
428
|
+
opacity: 1;
|
|
429
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.svg-inline--fa .fa-secondary {
|
|
433
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
434
|
+
opacity: 0.4;
|
|
435
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
439
|
+
opacity: 0.4;
|
|
440
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
444
|
+
opacity: 1;
|
|
445
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.svg-inline--fa mask .fa-primary,
|
|
449
|
+
.svg-inline--fa mask .fa-secondary {
|
|
450
|
+
fill: black;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.fad.fa-inverse {
|
|
454
|
+
color: #fff;
|
|
455
|
+
}`;function Ze(){var e=te,n=re,r=x.familyPrefix,t=x.replacementClass,a=qe;if(r!==e||t!==n){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(n),"g");a=a.replace(i,".".concat(r,"-")).replace(o,"--".concat(r,"-")).replace(s,".".concat(t))}return a}var Je=function(){function e(){P(this,e),this.definitions={}}return Ce(e,[{key:"add",value:function(){for(var r=this,t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];var o=a.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(s){r.definitions[s]=d({},r.definitions[s]||{},o[s]),ue(s,o[s]),me()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,t){var a=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(a).map(function(i){var o=a[i],s=o.prefix,l=o.iconName,u=o.icon;r[s]||(r[s]={}),r[s][l]=u}),r}}]),e}();function Qe(){x.autoAddCss&&!be&&(We(Ze()),be=!0)}function en(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(t){return he(t)})}}),Object.defineProperty(e,"node",{get:function(){if(!!U){var t=w.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ye(e){var n=e.prefix,r=n===void 0?"fa":n,t=e.iconName;if(!!t)return pe(tn.definitions,r,t)||pe(O.styles,r,t)}function nn(e){return function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=(n||{}).icon?n:ye(n||{}),a=r.mask;return a&&(a=(a||{}).icon?a:ye(a||{})),e(t,d({},r,{mask:a}))}}var tn=new Je,be=!1,rn={transform:function(n){return Ve(n)}},an=nn(function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,t=r===void 0?S:r,a=n.symbol,i=a===void 0?!1:a,o=n.mask,s=o===void 0?null:o,l=n.maskId,u=l===void 0?null:l,h=n.title,p=h===void 0?null:h,m=n.titleId,g=m===void 0?null:m,v=n.classes,k=v===void 0?[]:v,_=n.attributes,f=_===void 0?{}:_,c=n.styles,y=c===void 0?{}:c;if(!!e){var b=e.prefix,z=e.iconName,C=e.icon;return en(d({type:"icon"},e),function(){return Qe(),x.autoA11y&&(p?f["aria-labelledby"]="".concat(x.replacementClass,"-title-").concat(g||R()):(f["aria-hidden"]="true",f.focusable="false")),He({icons:{main:ge(C),mask:s?ge(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:z,transform:d({},S,t),symbol:i,title:p,maskId:u,titleId:g,extra:{attributes:f,styles:y,classes:k}})})}}),on=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function sn(e,n){return n={exports:{}},e(n,n.exports),n.exports}var ln=sn(function(e){(function(n){var r=function(f,c,y){if(!u(c)||p(c)||m(c)||g(c)||l(c))return c;var b,z=0,C=0;if(h(c))for(b=[],C=c.length;z<C;z++)b.push(r(f,c[z],y));else{b={};for(var E in c)Object.prototype.hasOwnProperty.call(c,E)&&(b[f(E,y)]=r(f,c[E],y))}return b},t=function(f,c){c=c||{};var y=c.separator||"_",b=c.split||/(?=[A-Z])/;return f.split(b).join(y)},a=function(f){return v(f)?f:(f=f.replace(/[\-_\s]+(.)?/g,function(c,y){return y?y.toUpperCase():""}),f.substr(0,1).toLowerCase()+f.substr(1))},i=function(f){var c=a(f);return c.substr(0,1).toUpperCase()+c.substr(1)},o=function(f,c){return t(f,c).toLowerCase()},s=Object.prototype.toString,l=function(f){return typeof f=="function"},u=function(f){return f===Object(f)},h=function(f){return s.call(f)=="[object Array]"},p=function(f){return s.call(f)=="[object Date]"},m=function(f){return s.call(f)=="[object RegExp]"},g=function(f){return s.call(f)=="[object Boolean]"},v=function(f){return f=f-0,f===f},k=function(f,c){var y=c&&"process"in c?c.process:c;return typeof y!="function"?f:function(b,z){return y(b,f,z)}},_={camelize:a,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(f,c){return r(k(a,c),f)},decamelizeKeys:function(f,c){return r(k(o,c),f,c)},pascalizeKeys:function(f,c){return r(k(i,c),f)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=_:n.humps=_})(on)}),fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T=function(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e},W=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},cn=function(e,n){var r={};for(var t in e)n.indexOf(t)>=0||!Object.prototype.hasOwnProperty.call(e,t)||(r[t]=e[t]);return r};function un(e){return e.split(";").map(function(n){return n.trim()}).filter(function(n){return n}).reduce(function(n,r){var t=r.indexOf(":"),a=ln.camelize(r.slice(0,t)),i=r.slice(t+1).trim();return n[a]=i,n},{})}function dn(e){return e.split(/\s+/).reduce(function(n,r){return n[r]=!0,n},{})}function mn(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.reduce(function(t,a){return Array.isArray(a)?t=t.concat(a):t.push(a),t},[])}function we(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=(n.children||[]).map(we.bind(null,e)),i=Object.keys(n.attributes||{}).reduce(function(g,v){var k=n.attributes[v];switch(v){case"class":g.class=dn(k);break;case"style":g.style=un(k);break;default:g.attrs[v]=k}return g},{class:{},style:{},attrs:{}}),o=t.class,s=o===void 0?{}:o,l=t.style,u=l===void 0?{}:l,h=t.attrs,p=h===void 0?{}:h,m=cn(t,["class","style","attrs"]);return typeof n=="string"?n:e(n.tag,W({class:mn(i.class,s),style:W({},i.style,u),attrs:W({},i.attrs,p)},m,{props:r}),a)}var ke=!1;try{ke=!0}catch{}function pn(){if(!ke&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function V(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?T({},e,n):{}}function hn(e){var n,r=(n={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},T(n,"fa-"+e.size,e.size!==null),T(n,"fa-rotate-"+e.rotation,e.rotation!==null),T(n,"fa-pull-"+e.pull,e.pull!==null),T(n,"fa-swap-opacity",e.swapOpacity),n);return Object.keys(r).map(function(t){return r[t]?t:null}).filter(function(t){return t})}function xe(e){if(e===null)return null;if((typeof e=="undefined"?"undefined":fn(e))==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var vn={name:"FontAwesomeIcon",functional:!0,props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:String,default:null,validator:function(n){return["horizontal","vertical","both"].indexOf(n)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(n){return["right","left"].indexOf(n)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(n){return[90,180,270].indexOf(parseInt(n,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(n){return["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(n)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1}},render:function(n,r){var t=r.props,a=t.icon,i=t.mask,o=t.symbol,s=t.title,l=xe(a),u=V("classes",hn(t)),h=V("transform",typeof t.transform=="string"?rn.transform(t.transform):t.transform),p=V("mask",xe(i)),m=an(l,W({},u,h,p,{symbol:o,title:s}));if(!m)return pn("Could not find one or more icon(s)",l,p);var g=m.abstract,v=we.bind(null,n);return v(g[0],{},r.data)}};/*!
|
|
456
|
+
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
|
457
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
458
|
+
*/var gn={prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},yn=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("label",e._g({staticClass:"checkbox",class:{"checkbox-disabled":e.disabled}},e.listeners),[r("span",{staticClass:"checkbox-input",class:{"checkbox-checked":e.isChecked,"checkbox-focused":e.focused}},[r("font-awesome-icon",{staticClass:"checkbox-input-icon",attrs:{icon:e.iconCheck}}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.internalChecked,expression:"internalChecked"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{value:e.value,checked:Array.isArray(e.internalChecked)?e._i(e.internalChecked,e.value)>-1:e.internalChecked},on:{focus:function(t){e.focused=!0},focusout:function(t){e.focused=!1},change:function(t){var a=e.internalChecked,i=t.target,o=!!i.checked;if(Array.isArray(a)){var s=e.value,l=e._i(a,s);i.checked?l<0&&(e.internalChecked=a.concat([s])):l>-1&&(e.internalChecked=a.slice(0,l).concat(a.slice(l+1)))}else e.internalChecked=o}}})],1),r("span",{staticClass:"checkbox-label"},[e._v(e._s(e.value))])])},bn=[],An="";function wn(e,n,r,t,a,i,o,s){var l=typeof e=="function"?e.options:e;n&&(l.render=n,l.staticRenderFns=r,l._compiled=!0),t&&(l.functional=!0),i&&(l._scopeId="data-v-"+i);var u;if(o?(u=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(m=__VUE_SSR_CONTEXT__),a&&a.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(o)},l._ssrRegister=u):a&&(u=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),u)if(l.functional){l._injectStyles=u;var h=l.render;l.render=function(g,v){return u.call(v),h(g,v)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,u):[u]}return{exports:e,options:l}}const kn={name:"Checkbox",components:{FontAwesomeIcon:vn},model:{prop:"checked",event:"change"},props:{checked:{type:[Boolean,Array],default:!1},value:{type:String,default:""},disabled:{type:Boolean,default:!1}},data(){return{focused:!1,internalChecked:this.checked,iconCheck:gn}},computed:{isChecked(){return typeof this.internalChecked=="boolean"?this.internalChecked:this.internalChecked.includes(this.value)},listeners(){let e=this;return Object.assign({},this.$listeners,{change(){e.$emit("change",e.internalChecked)}})}},watch:{checked(){this.internalChecked=this.checked}}},_e={};var xn=wn(kn,yn,bn,!1,_n,"5b85e201",null,null);function _n(e){for(let n in _e)this[n]=_e[n]}var Cn=function(){return xn.exports}();return Cn});
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.heading-900[data-v-5b85e201]{font-size:2.5em;font-style:normal;line-height:40 / 35;color:#172b4d;font-weight:500;letter-spacing:-.01em;margin-top:52px}[dark-mode=true] .heading-900[data-v-5b85e201]{color:#b8c7e0}.heading-900[data-v-5b85e201]:first-child{margin-top:0}.heading-800[data-v-5b85e201]{font-size:2.07142857em;font-style:normal;line-height:32 / 29;color:#172b4d;font-weight:600;letter-spacing:-.01em;margin-top:40px}[dark-mode=true] .heading-800[data-v-5b85e201]{color:#b8c7e0}.heading-800[data-v-5b85e201]:first-child{margin-top:0}.heading-700[data-v-5b85e201]{font-size:1.71428571em;font-style:normal;line-height:28 / 24;color:#172b4d;font-weight:500;letter-spacing:-.01em;margin-top:40px}[dark-mode=true] .heading-700[data-v-5b85e201]{color:#b8c7e0}.heading-700[data-v-5b85e201]:first-child{margin-top:0}.heading-600[data-v-5b85e201]{font-size:1.42857143em;font-style:normal;line-height:24 / 20;color:#172b4d;font-weight:500;letter-spacing:-.008em;margin-top:28px}[dark-mode=true] .heading-600[data-v-5b85e201]{color:#b8c7e0}.heading-600[data-v-5b85e201]:first-child{margin-top:0}.heading-500[data-v-5b85e201]{font-size:1.14285714em;font-style:normal;line-height:20 / 16;color:#172b4d;font-weight:600;letter-spacing:-.006em;margin-top:24px}[dark-mode=true] .heading-500[data-v-5b85e201]{color:#b8c7e0}.heading-500[data-v-5b85e201]:first-child{margin-top:0}.heading-400[data-v-5b85e201]{font-size:1em;font-style:normal;line-height:16 / 14;color:#172b4d;font-weight:600;letter-spacing:-.003em;margin-top:16px}[dark-mode=true] .heading-400[data-v-5b85e201]{color:#b8c7e0}.heading-400[data-v-5b85e201]:first-child{margin-top:0}.heading-300[data-v-5b85e201]{font-size:.85714286em;font-style:normal;line-height:16 / 12;color:#172b4d;font-weight:600;margin-top:20px;text-transform:uppercase}[dark-mode=true] .heading-300[data-v-5b85e201]{color:#b8c7e0}.heading-300[data-v-5b85e201]:first-child{margin-top:0}.heading-200[data-v-5b85e201]{font-size:.85714286em;font-style:normal;line-height:16 / 12;color:#6b778c;font-weight:600;margin-top:16px}[dark-mode=true] .heading-200[data-v-5b85e201]{color:#8c9cb8}.heading-200[data-v-5b85e201]:first-child{margin-top:0}.heading-100[data-v-5b85e201]{font-size:.78571429em;font-style:normal;line-height:16 / 11;color:#6b778c;font-weight:700;margin-top:16px}[dark-mode=true] .heading-100[data-v-5b85e201]{color:#8c9cb8}.heading-100[data-v-5b85e201]:first-child{margin-top:0}.text-caption[data-v-5b85e201]{font-size:12px;font-weight:400;color:#7a869a}.text-caption-bold[data-v-5b85e201]{font-size:12px;font-weight:600;color:#091e42}.text-prominent[data-v-5b85e201]{font-size:14px;font-weight:600;color:#091e42}.error[data-v-5b85e201]{color:#ff5630}[dark-mode=true] .text-caption[data-v-5b85e201]{color:#7988a3}[dark-mode=true] .text-caption-bold[data-v-5b85e201],[dark-mode=true] .text-prominent[data-v-5b85e201]{color:#b8c7e0}[dark-mode=true] .error[data-v-5b85e201]{color:#ff5630}.checkbox[data-v-5b85e201]{position:relative;display:flex;align-items:center;padding:0 4px}.checkbox .checkbox-input[data-v-5b85e201]{display:flex;align-items:center;justify-content:center;height:14px;width:14px;box-sizing:border-box;border-radius:3px;border:2px solid;background-color:transparent;color:transparent;border-color:#dfe1e6;transition:all .1s ease-out}.checkbox:hover .checkbox-input[data-v-5b85e201]{background-color:#f4f5f7;color:transparent;border-color:go-color-n40}.checkbox:active .checkbox-input[data-v-5b85e201]{background-color:#2684ff;color:#2684ff;border-color:#2684ff}.checkbox .checkbox-checked[data-v-5b85e201],.checkbox:hover .checkbox-checked[data-v-5b85e201]{background-color:#0052cc;color:#fff;border-color:#0052cc}.checkbox:active .checkbox-checked[data-v-5b85e201]{background-color:#2684ff;color:#052fad;border-color:#2684ff}.checkbox-disabled[data-v-5b85e201]{color:#a5adba;cursor:not-allowed}.checkbox-disabled .checkbox-input[data-v-5b85e201],.checkbox-disabled:hover .checkbox-input[data-v-5b85e201]{background-color:#f4f5f7;color:#f4f5f7;border-color:#f4f5f7}.checkbox-disabled .checkbox-checked[data-v-5b85e201],.checkbox-disabled:hover .checkbox-checked[data-v-5b85e201]{background-color:#f4f5f7;color:#a5adba;border-color:#f4f5f7}.checkbox-input-icon[data-v-5b85e201]{height:100%;width:100%;box-sizing:border-box;padding:1px}.checkbox-label[data-v-5b85e201]{padding:2px 10px}input[data-v-5b85e201]{margin:0;opacity:0;position:absolute;pointer-events:none}[data-whatinput=keyboard] .checkbox-focused[data-v-5b85e201]{border-color:#4c9aff!important}[dark-mode=true] .checkbox .checkbox-input[data-v-5b85e201]{background-color:transparent;color:transparent;border-color:#3b475c}[dark-mode=true] .checkbox:hover .checkbox-input[data-v-5b85e201]{background-color:#283447;color:transparent;border-color:go-color-dn70}[dark-mode=true] .checkbox:active .checkbox-input[data-v-5b85e201]{background-color:#2684ff33;color:transparent;border-color:transparent}[dark-mode=true] .checkbox .checkbox-checked[data-v-5b85e201]{background-color:#4c9aff;color:#1b2638;border-color:#4c9aff}[dark-mode=true] .checkbox:hover .checkbox-checked[data-v-5b85e201]{background-color:#2684ff;color:#1b2638;border-color:#2684ff}[dark-mode=true] .checkbox:active .checkbox-checked[data-v-5b85e201]{background-color:#2684ff33;color:#4c9aff;border-color:transparent}[dark-mode=true] .checkbox-disabled[data-v-5b85e201]{color:#67758f}[dark-mode=true] .checkbox-disabled .checkbox-input[data-v-5b85e201],[dark-mode=true] .checkbox-disabled:hover .checkbox-input[data-v-5b85e201]{background-color:#283447;color:#283447;border-color:#283447}[dark-mode=true] .checkbox-disabled .checkbox-checked[data-v-5b85e201],[dark-mode=true] .checkbox-disabled:hover .checkbox-checked[data-v-5b85e201]{background-color:#283447;color:#67758f;border-color:#283447}
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gospore/checkbox",
|
|
3
|
+
"version": "1.0.7",
|
|
4
|
+
"description": "",
|
|
5
|
+
"author": "Gospore",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"main": "./dist/checkbox.umd.js",
|
|
10
|
+
"module": "./dist/checkbox.es.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/checkbox.es.js",
|
|
14
|
+
"require": "./dist/checkbox.umd.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "vite build"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"vue": "^2.6.10"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@fortawesome/fontawesome-svg-core": "^1.2.30",
|
|
25
|
+
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
|
26
|
+
"@fortawesome/vue-fontawesome": "^0.1.10"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@vitejs/plugin-vue": "^1.10.2",
|
|
30
|
+
"vite": "^2.7.13",
|
|
31
|
+
"vite-plugin-vue2": "^1.9.3"
|
|
32
|
+
},
|
|
33
|
+
"gitHead": "1f65c1dc8db832baabb5fbc2e70f17b4ab016a15"
|
|
34
|
+
}
|