@iroco/ui 0.15.0 → 0.15.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/lib/constants.scss +1 -0
- package/lib/index.js +8 -8
- package/lib/index.min.js +2 -2
- package/lib/index.mjs +8 -8
- package/lib/index.mjs.css +117 -116
- package/package.json +1 -1
- package/scss/constants.scss +1 -0
- package/src/Alert.svelte +2 -1
- package/src/Button.svelte +2 -0
- package/src/TextInput.svelte +3 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$border-radius: 0.3em
|
package/lib/index.js
CHANGED
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
button = element("button");
|
|
518
518
|
if (default_slot) default_slot.c();
|
|
519
519
|
attr(button, "id", /*id*/ ctx[5]);
|
|
520
|
-
attr(button, "class", button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-
|
|
520
|
+
attr(button, "class", button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-5qkkwb"));
|
|
521
521
|
attr(button, "type", /*type*/ ctx[1]);
|
|
522
522
|
button.disabled = /*disabled*/ ctx[2];
|
|
523
523
|
toggle_class(button, "disabled", /*disabled*/ ctx[2]);
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
attr(button, "id", /*id*/ ctx[5]);
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
if (!current || dirty & /*size, kind*/ 24 && button_class_value !== (button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-
|
|
551
|
+
if (!current || dirty & /*size, kind*/ 24 && button_class_value !== (button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-5qkkwb"))) {
|
|
552
552
|
attr(button, "class", button_class_value);
|
|
553
553
|
}
|
|
554
554
|
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
c() {
|
|
653
653
|
label_1 = element("label");
|
|
654
654
|
t = text(/*label*/ ctx[2]);
|
|
655
|
-
attr(label_1, "class", "iroco-ui-label svelte-
|
|
655
|
+
attr(label_1, "class", "iroco-ui-label svelte-1y0402x");
|
|
656
656
|
attr(label_1, "for", /*id*/ ctx[1]);
|
|
657
657
|
},
|
|
658
658
|
m(target, anchor) {
|
|
@@ -689,7 +689,7 @@
|
|
|
689
689
|
p = element("p");
|
|
690
690
|
if_block.c();
|
|
691
691
|
attr(p, "data-testid", "error");
|
|
692
|
-
attr(p, "class", "error svelte-
|
|
692
|
+
attr(p, "class", "error svelte-1y0402x");
|
|
693
693
|
},
|
|
694
694
|
m(target, anchor) {
|
|
695
695
|
insert(target, p, anchor);
|
|
@@ -783,11 +783,11 @@
|
|
|
783
783
|
attr(input, "type", "text");
|
|
784
784
|
attr(input, "placeholder", /*placeholder*/ ctx[3]);
|
|
785
785
|
input.readOnly = /*readonly*/ ctx[8];
|
|
786
|
-
attr(input, "class", "svelte-
|
|
786
|
+
attr(input, "class", "svelte-1y0402x");
|
|
787
787
|
toggle_class(input, "border", /*border*/ ctx[9]);
|
|
788
788
|
toggle_class(input, "error", /*error*/ ctx[4] !== null);
|
|
789
789
|
toggle_class(input, "readonlyInput", /*readonly*/ ctx[8] == true);
|
|
790
|
-
attr(div, "class", "iroco-ui-input svelte-
|
|
790
|
+
attr(div, "class", "iroco-ui-input svelte-1y0402x");
|
|
791
791
|
},
|
|
792
792
|
m(target, anchor) {
|
|
793
793
|
insert(target, div, anchor);
|
|
@@ -5384,7 +5384,7 @@
|
|
|
5384
5384
|
c() {
|
|
5385
5385
|
div = element("div");
|
|
5386
5386
|
t = text(/*content*/ ctx[1]);
|
|
5387
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-
|
|
5387
|
+
attr(div, "class", div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-itln7g"));
|
|
5388
5388
|
},
|
|
5389
5389
|
m(target, anchor) {
|
|
5390
5390
|
insert(target, div, anchor);
|
|
@@ -5402,7 +5402,7 @@
|
|
|
5402
5402
|
ctx = new_ctx;
|
|
5403
5403
|
if (dirty & /*content*/ 2) set_data(t, /*content*/ ctx[1]);
|
|
5404
5404
|
|
|
5405
|
-
if (dirty & /*type*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-
|
|
5405
|
+
if (dirty & /*type*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-itln7g"))) {
|
|
5406
5406
|
attr(div, "class", div_class_value);
|
|
5407
5407
|
}
|
|
5408
5408
|
},
|
package/lib/index.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ui=function(e){"use strict";function n(){}function t(e,n){for(const t in n)e[t]=n[t];return e}function o(e){return e()}function l(){return Object.create(null)}function i(e){e.forEach(o)}function r(e){return"function"==typeof e}function a(e,n){return e!=e?n==n:e!==n||e&&"object"==typeof e||"function"==typeof e}function s(e,n,t,o){if(e){const l=c(e,n,t,o);return e[0](l)}}function c(e,n,o,l){return e[1]&&l?t(o.ctx.slice(),e[1](l(n))):o.ctx}function p(e,n,t,o,l,i,r){const a=function(e,n,t,o){if(e[2]&&o){const l=e[2](o(t));if(void 0===n.dirty)return l;if("object"==typeof l){const e=[],t=Math.max(n.dirty.length,l.length);for(let o=0;o<t;o+=1)e[o]=n.dirty[o]|l[o];return e}return n.dirty|l}return n.dirty}(n,o,l,i);if(a){const l=c(n,t,o,r);e.p(l,a)}}function d(e,n){const t={};n=new Set(n);for(const o in e)n.has(o)||"$"===o[0]||(t[o]=e[o]);return t}function u(e){return null==e?"":e}function y(e,n){e.appendChild(n)}function h(e,n,t){e.insertBefore(n,t||null)}function x(e){e.parentNode.removeChild(e)}function f(e,n){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(n)}function m(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e){return document.createTextNode(e)}function v(){return j(" ")}function w(){return j("")}function b(e,n,t,o){return e.addEventListener(n,t,o),()=>e.removeEventListener(n,t,o)}function _(e,n,t){null==t?e.removeAttribute(n):e.getAttribute(n)!==t&&e.setAttribute(n,t)}function M(e,n){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const o in n)null==n[o]?e.removeAttribute(o):"style"===o?e.style.cssText=n[o]:"__value"===o?e.value=e[o]=n[o]:t[o]&&t[o].set?e[o]=n[o]:_(e,o,n[o])}function k(e,n){for(const t in n)_(e,t,n[t])}function $(e){return""===e?null:+e}function z(e,n){n=""+n,e.wholeText!==n&&(e.data=n)}function A(e,n){e.value=null==n?"":n}function C(e,n,t){e.classList[t?"add":"remove"](n)}class H{constructor(e=null){this.a=e,this.e=this.n=null}m(e,n,t=null){this.e||(this.e=m(n.nodeName),this.t=n,this.h(e)),this.i(t)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)h(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(x)}}let O;function L(e){O=e}function V(){const e=function(){if(!O)throw new Error("Function called outside component initialization");return O}();return(n,t)=>{const o=e.$$.callbacks[n];if(o){const l=function(e,n){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,n),t}(n,t);o.slice().forEach((n=>{n.call(e,l)}))}}}function S(e,n){const t=e.$$.callbacks[n.type];t&&t.slice().forEach((e=>e(n)))}const E=[],I=[],P=[],T=[],q=Promise.resolve();let B=!1;function N(e){P.push(e)}let F=!1;const R=new Set;function D(){if(!F){F=!0;do{for(let e=0;e<E.length;e+=1){const n=E[e];L(n),W(n.$$)}for(L(null),E.length=0;I.length;)I.pop()();for(let e=0;e<P.length;e+=1){const n=P[e];R.has(n)||(R.add(n),n())}P.length=0}while(E.length);for(;T.length;)T.pop()();B=!1,F=!1,R.clear()}}function W(e){if(null!==e.fragment){e.update(),i(e.before_update);const n=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,n),e.after_update.forEach(N)}}const G=new Set;let Z;function U(){Z={r:0,c:[],p:Z}}function Y(){Z.r||i(Z.c),Z=Z.p}function K(e,n){e&&e.i&&(G.delete(e),e.i(n))}function J(e,n,t,o){if(e&&e.o){if(G.has(e))return;G.add(e),Z.c.push((()=>{G.delete(e),o&&(t&&e.d(1),o())})),e.o(n)}}function Q(e,n){const t={},o={},l={$$scope:1};let i=e.length;for(;i--;){const r=e[i],a=n[i];if(a){for(const e in r)e in a||(o[e]=1);for(const e in a)l[e]||(t[e]=a[e],l[e]=1);e[i]=a}else for(const e in r)l[e]=1}for(const e in o)e in t||(t[e]=void 0);return t}function X(e){e&&e.c()}function ee(e,n,t,l){const{fragment:a,on_mount:s,on_destroy:c,after_update:p}=e.$$;a&&a.m(n,t),l||N((()=>{const n=s.map(o).filter(r);c?c.push(...n):i(n),e.$$.on_mount=[]})),p.forEach(N)}function ne(e,n){const t=e.$$;null!==t.fragment&&(i(t.on_destroy),t.fragment&&t.fragment.d(n),t.on_destroy=t.fragment=null,t.ctx=[])}function te(e,n){-1===e.$$.dirty[0]&&(E.push(e),B||(B=!0,q.then(D)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31}function oe(e,t,o,r,a,s,c=[-1]){const p=O;L(e);const d=e.$$={fragment:null,ctx:null,props:s,update:n,not_equal:a,bound:l(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(p?p.$$.context:t.context||[]),callbacks:l(),dirty:c,skip_bound:!1};let u=!1;if(d.ctx=o?o(e,t.props||{},((n,t,...o)=>{const l=o.length?o[0]:t;return d.ctx&&a(d.ctx[n],d.ctx[n]=l)&&(!d.skip_bound&&d.bound[n]&&d.bound[n](l),u&&te(e,n)),t})):[],d.update(),u=!0,i(d.before_update),d.fragment=!!r&&r(d.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);d.fragment&&d.fragment.l(e),e.forEach(x)}else d.fragment&&d.fragment.c();t.intro&&K(e.$$.fragment),ee(e,t.target,t.anchor,t.customElement),D()}L(p)}class le{$destroy(){ne(this,1),this.$destroy=n}$on(e,n){const t=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return t.push(n),()=>{const e=t.indexOf(n);-1!==e&&t.splice(e,1)}}$set(e){var n;this.$$set&&(n=e,0!==Object.keys(n).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function ie(e){let n,t,o,l,i;const r=e[7].default,a=s(r,e,e[6],null);return{c(){n=m("button"),a&&a.c(),_(n,"id",e[5]),_(n,"class",t=u(`iroco-ui-button iroco-ui-button--${e[4]} iroco-ui-button--${e[3]}`)+" svelte-j4wwy"),_(n,"type",e[1]),n.disabled=e[2],C(n,"disabled",e[2])},m(t,r){h(t,n,r),a&&a.m(n,null),e[9](n),o=!0,l||(i=b(n,"click",e[8]),l=!0)},p(e,[l]){a&&a.p&&(!o||64&l)&&p(a,r,e,e[6],l,null,null),(!o||32&l)&&_(n,"id",e[5]),(!o||24&l&&t!==(t=u(`iroco-ui-button iroco-ui-button--${e[4]} iroco-ui-button--${e[3]}`)+" svelte-j4wwy"))&&_(n,"class",t),(!o||2&l)&&_(n,"type",e[1]),(!o||4&l)&&(n.disabled=e[2]),28&l&&C(n,"disabled",e[2])},i(e){o||(K(a,e),o=!0)},o(e){J(a,e),o=!1},d(t){t&&x(n),a&&a.d(t),e[9](null),l=!1,i()}}}function re(e,n,t){let{$$slots:o={},$$scope:l}=n,{type:i="button"}=n,{disabled:r=!1}=n,{kind:a="basic"}=n,{size:s="regular"}=n,{id:c}=n,{node:p}=n;return e.$$set=e=>{"type"in e&&t(1,i=e.type),"disabled"in e&&t(2,r=e.disabled),"kind"in e&&t(3,a=e.kind),"size"in e&&t(4,s=e.size),"id"in e&&t(5,c=e.id),"node"in e&&t(0,p=e.node),"$$scope"in e&&t(6,l=e.$$scope)},[p,i,r,a,s,c,l,o,function(n){S(e,n)},function(e){I[e?"unshift":"push"]((()=>{p=e,t(0,p)}))}]}function ae(e){let n,t;return{c(){n=m("label"),t=j(e[2]),_(n,"class","iroco-ui-label svelte-11iawkb"),_(n,"for",e[1])},m(e,o){h(e,n,o),y(n,t)},p(e,o){4&o&&z(t,e[2]),2&o&&_(n,"for",e[1])},d(e){e&&x(n)}}}function se(e){let n;function t(e,n){return e[5]?pe:ce}let o=t(e),l=o(e);return{c(){n=m("p"),l.c(),_(n,"data-testid","error"),_(n,"class","error svelte-11iawkb")},m(e,t){h(e,n,t),l.m(n,null)},p(e,i){o===(o=t(e))&&l?l.p(e,i):(l.d(1),l=o(e),l&&(l.c(),l.m(n,null)))},d(e){e&&x(n),l.d()}}}function ce(e){let n,t=(null!==e[4]?e[4]:"")+"";return{c(){n=j(t)},m(e,t){h(e,n,t)},p(e,o){16&o&&t!==(t=(null!==e[4]?e[4]:"")+"")&&z(n,t)},d(e){e&&x(n)}}}function pe(e){let n,t,o=(null!==e[4]?e[4]:"")+"";return{c(){t=w(),n=new H(t)},m(e,l){n.m(o,e,l),h(e,t,l)},p(e,t){16&t&&o!==(o=(null!==e[4]?e[4]:"")+"")&&n.p(o)},d(e){e&&x(t),e&&n.d()}}}function de(e){let t,o,l,a,s,c,p=e[2]&&ae(e),d=null!=e[4]&&se(e);return{c(){t=m("div"),p&&p.c(),o=v(),l=m("input"),a=v(),d&&d.c(),_(l,"id",e[1]),_(l,"type","text"),_(l,"placeholder",e[3]),l.readOnly=e[8],_(l,"class","svelte-11iawkb"),C(l,"border",e[9]),C(l,"error",null!==e[4]),C(l,"readonlyInput",1==e[8]),_(t,"class","iroco-ui-input svelte-11iawkb")},m(i,u){var x;h(i,t,u),p&&p.m(t,null),y(t,o),y(t,l),A(l,e[0]),y(t,a),d&&d.m(t,null),s||(c=[b(l,"input",e[13]),b(l,"input",e[14]),b(l,"focus",(function(){r(e[6])&&e[6].apply(this,arguments)})),b(l,"blur",(function(){r(e[7])&&e[7].apply(this,arguments)})),(x=e[10].call(null,l),x&&r(x.destroy)?x.destroy:n)],s=!0)},p(n,[i]){(e=n)[2]?p?p.p(e,i):(p=ae(e),p.c(),p.m(t,o)):p&&(p.d(1),p=null),2&i&&_(l,"id",e[1]),8&i&&_(l,"placeholder",e[3]),256&i&&(l.readOnly=e[8]),1&i&&l.value!==e[0]&&A(l,e[0]),512&i&&C(l,"border",e[9]),16&i&&C(l,"error",null!==e[4]),256&i&&C(l,"readonlyInput",1==e[8]),null!=e[4]?d?d.p(e,i):(d=se(e),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},i:n,o:n,d(e){e&&x(t),p&&p.d(),d&&d.d(),s=!1,i(c)}}}function ue(e,n,t){var{TextType:o}=n;!function(e){e.text="text",e.email="email",e.password="password"}(o||(o={}));let{id:l}=n,{type:i}=n,{label:r=null}=n,{placeholder:a}=n,{error:s=null}=n,{htmlError:c=!1}=n,{value:p=null}=n,{onFocus:d}=n,{onBlur:u}=n,{readonly:y=!1}=n,{border:h=!1}=n;return e.$$set=e=>{"TextType"in e&&t(11,o=e.TextType),"id"in e&&t(1,l=e.id),"type"in e&&t(12,i=e.type),"label"in e&&t(2,r=e.label),"placeholder"in e&&t(3,a=e.placeholder),"error"in e&&t(4,s=e.error),"htmlError"in e&&t(5,c=e.htmlError),"value"in e&&t(0,p=e.value),"onFocus"in e&&t(6,d=e.onFocus),"onBlur"in e&&t(7,u=e.onBlur),"readonly"in e&&t(8,y=e.readonly),"border"in e&&t(9,h=e.border)},[p,l,r,a,s,c,d,u,y,h,function(e){e.type=i},o,i,function(n){S(e,n)},function(){p=this.value,t(0,p)}]}function ye(e){let n,t,o,l,r,a,c,d;const u=e[7].default,f=s(u,e,e[6],null);return{c(){n=m("label"),t=m("input"),o=v(),l=m("span"),r=v(),f&&f.c(),_(t,"type","radio"),t.__value=e[2],t.value=t.__value,_(t,"name",e[3]),t.checked=e[1],_(t,"class","svelte-156c82q"),e[9][0].push(t),_(l,"class","radio-button-color svelte-156c82q"),_(n,"class","iroco-ui-radio svelte-156c82q")},m(i,s){h(i,n,s),y(n,t),t.checked=t.__value===e[0],y(n,o),y(n,l),y(n,r),f&&f.m(n,null),a=!0,c||(d=[b(t,"change",e[8]),b(t,"change",e[4])],c=!0)},p(e,[n]){(!a||4&n)&&(t.__value=e[2],t.value=t.__value),(!a||8&n)&&_(t,"name",e[3]),(!a||2&n)&&(t.checked=e[1]),1&n&&(t.checked=t.__value===e[0]),f&&f.p&&(!a||64&n)&&p(f,u,e,e[6],n,null,null)},i(e){a||(K(f,e),a=!0)},o(e){J(f,e),a=!1},d(o){o&&x(n),e[9][0].splice(e[9][0].indexOf(t),1),f&&f.d(o),c=!1,i(d)}}}function he(e,n,t){let{$$slots:o={},$$scope:l}=n;let{value:i}=n,{group:r=null}=n,{name:a}=n,{checked:s}=n;return e.$$set=e=>{"value"in e&&t(2,i=e.value),"group"in e&&t(0,r=e.group),"name"in e&&t(3,a=e.name),"checked"in e&&t(1,s=e.checked),"$$scope"in e&&t(6,l=e.$$scope)},e.$$.update=()=>{5&e.$$.dirty&&t(1,s=r===i)},[r,s,i,a,function(e){t(0,r=e.target.value)},"",l,o,function(){r=this.__value,t(0,r)},[[]]]}function xe(e){let n,t;return{c(){n=m("label"),t=j(e[2]),_(n,"class","iroco-ui-label"),_(n,"for",e[1])},m(e,o){h(e,n,o),y(n,t)},p(e,o){4&o&&z(t,e[2]),2&o&&_(n,"for",e[1])},d(e){e&&x(n)}}}function fe(e){let n,t;return{c(){n=m("p"),t=j(e[4]),_(n,"data-testid","error"),_(n,"class","error")},m(e,o){h(e,n,o),y(n,t)},p(e,n){16&n&&z(t,e[4])},d(e){e&&x(n)}}}function me(e){let o,l,r,a,s,c,p=e[2]&&xe(e),d=[{id:e[1]},{type:"number"},{placeholder:e[3]},{min:e[5]},{max:e[6]},e[7]],u={};for(let e=0;e<d.length;e+=1)u=t(u,d[e]);let f=e[4]&&fe(e);return{c(){o=m("div"),p&&p.c(),l=v(),r=m("input"),a=v(),f&&f.c(),M(r,u),_(o,"class","iroco-ui-input")},m(n,t){h(n,o,t),p&&p.m(o,null),y(o,l),y(o,r),A(r,e[0]),y(o,a),f&&f.m(o,null),s||(c=[b(r,"change",e[8]),b(r,"input",e[9])],s=!0)},p(e,[n]){e[2]?p?p.p(e,n):(p=xe(e),p.c(),p.m(o,l)):p&&(p.d(1),p=null),M(r,u=Q(d,[2&n&&{id:e[1]},{type:"number"},8&n&&{placeholder:e[3]},32&n&&{min:e[5]},64&n&&{max:e[6]},128&n&&e[7]])),1&n&&$(r.value)!==e[0]&&A(r,e[0]),e[4]?f?f.p(e,n):(f=fe(e),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},i:n,o:n,d(e){e&&x(o),p&&p.d(),f&&f.d(),s=!1,i(c)}}}function ge(e,n,o){const l=["id","label","placeholder","error","value","min","max"];let i=d(n,l),{id:r}=n,{label:a}=n,{placeholder:s}=n,{error:c=null}=n,{value:p=null}=n,{min:u}=n,{max:y}=n;return e.$$set=e=>{n=t(t({},n),function(e){const n={};for(const t in e)"$"!==t[0]&&(n[t]=e[t]);return n}(e)),o(7,i=d(n,l)),"id"in e&&o(1,r=e.id),"label"in e&&o(2,a=e.label),"placeholder"in e&&o(3,s=e.placeholder),"error"in e&&o(4,c=e.error),"value"in e&&o(0,p=e.value),"min"in e&&o(5,u=e.min),"max"in e&&o(6,y=e.max)},[p,r,a,s,c,u,y,i,function(n){S(e,n)},function(){p=$(this.value),o(0,p)}]}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function je(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ve,we={exports:{}};"undefined"!=typeof self&&self,ve=function(){return function(e){var n={};function t(o){if(n[o])return n[o].exports;var l=n[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}({"./dist/icons.json":
|
|
1
|
+
var Ui=function(e){"use strict";function n(){}function t(e,n){for(const t in n)e[t]=n[t];return e}function o(e){return e()}function l(){return Object.create(null)}function i(e){e.forEach(o)}function r(e){return"function"==typeof e}function a(e,n){return e!=e?n==n:e!==n||e&&"object"==typeof e||"function"==typeof e}function s(e,n,t,o){if(e){const l=c(e,n,t,o);return e[0](l)}}function c(e,n,o,l){return e[1]&&l?t(o.ctx.slice(),e[1](l(n))):o.ctx}function p(e,n,t,o,l,i,r){const a=function(e,n,t,o){if(e[2]&&o){const l=e[2](o(t));if(void 0===n.dirty)return l;if("object"==typeof l){const e=[],t=Math.max(n.dirty.length,l.length);for(let o=0;o<t;o+=1)e[o]=n.dirty[o]|l[o];return e}return n.dirty|l}return n.dirty}(n,o,l,i);if(a){const l=c(n,t,o,r);e.p(l,a)}}function d(e,n){const t={};n=new Set(n);for(const o in e)n.has(o)||"$"===o[0]||(t[o]=e[o]);return t}function u(e){return null==e?"":e}function y(e,n){e.appendChild(n)}function h(e,n,t){e.insertBefore(n,t||null)}function x(e){e.parentNode.removeChild(e)}function f(e,n){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(n)}function m(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e){return document.createTextNode(e)}function v(){return j(" ")}function w(){return j("")}function b(e,n,t,o){return e.addEventListener(n,t,o),()=>e.removeEventListener(n,t,o)}function _(e,n,t){null==t?e.removeAttribute(n):e.getAttribute(n)!==t&&e.setAttribute(n,t)}function M(e,n){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const o in n)null==n[o]?e.removeAttribute(o):"style"===o?e.style.cssText=n[o]:"__value"===o?e.value=e[o]=n[o]:t[o]&&t[o].set?e[o]=n[o]:_(e,o,n[o])}function k(e,n){for(const t in n)_(e,t,n[t])}function $(e){return""===e?null:+e}function z(e,n){n=""+n,e.wholeText!==n&&(e.data=n)}function A(e,n){e.value=null==n?"":n}function C(e,n,t){e.classList[t?"add":"remove"](n)}class H{constructor(e=null){this.a=e,this.e=this.n=null}m(e,n,t=null){this.e||(this.e=m(n.nodeName),this.t=n,this.h(e)),this.i(t)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)h(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(x)}}let O;function L(e){O=e}function V(){const e=function(){if(!O)throw new Error("Function called outside component initialization");return O}();return(n,t)=>{const o=e.$$.callbacks[n];if(o){const l=function(e,n){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,n),t}(n,t);o.slice().forEach((n=>{n.call(e,l)}))}}}function S(e,n){const t=e.$$.callbacks[n.type];t&&t.slice().forEach((e=>e(n)))}const E=[],I=[],P=[],T=[],q=Promise.resolve();let B=!1;function N(e){P.push(e)}let F=!1;const R=new Set;function D(){if(!F){F=!0;do{for(let e=0;e<E.length;e+=1){const n=E[e];L(n),W(n.$$)}for(L(null),E.length=0;I.length;)I.pop()();for(let e=0;e<P.length;e+=1){const n=P[e];R.has(n)||(R.add(n),n())}P.length=0}while(E.length);for(;T.length;)T.pop()();B=!1,F=!1,R.clear()}}function W(e){if(null!==e.fragment){e.update(),i(e.before_update);const n=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,n),e.after_update.forEach(N)}}const G=new Set;let Z;function U(){Z={r:0,c:[],p:Z}}function Y(){Z.r||i(Z.c),Z=Z.p}function K(e,n){e&&e.i&&(G.delete(e),e.i(n))}function J(e,n,t,o){if(e&&e.o){if(G.has(e))return;G.add(e),Z.c.push((()=>{G.delete(e),o&&(t&&e.d(1),o())})),e.o(n)}}function Q(e,n){const t={},o={},l={$$scope:1};let i=e.length;for(;i--;){const r=e[i],a=n[i];if(a){for(const e in r)e in a||(o[e]=1);for(const e in a)l[e]||(t[e]=a[e],l[e]=1);e[i]=a}else for(const e in r)l[e]=1}for(const e in o)e in t||(t[e]=void 0);return t}function X(e){e&&e.c()}function ee(e,n,t,l){const{fragment:a,on_mount:s,on_destroy:c,after_update:p}=e.$$;a&&a.m(n,t),l||N((()=>{const n=s.map(o).filter(r);c?c.push(...n):i(n),e.$$.on_mount=[]})),p.forEach(N)}function ne(e,n){const t=e.$$;null!==t.fragment&&(i(t.on_destroy),t.fragment&&t.fragment.d(n),t.on_destroy=t.fragment=null,t.ctx=[])}function te(e,n){-1===e.$$.dirty[0]&&(E.push(e),B||(B=!0,q.then(D)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31}function oe(e,t,o,r,a,s,c=[-1]){const p=O;L(e);const d=e.$$={fragment:null,ctx:null,props:s,update:n,not_equal:a,bound:l(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(p?p.$$.context:t.context||[]),callbacks:l(),dirty:c,skip_bound:!1};let u=!1;if(d.ctx=o?o(e,t.props||{},((n,t,...o)=>{const l=o.length?o[0]:t;return d.ctx&&a(d.ctx[n],d.ctx[n]=l)&&(!d.skip_bound&&d.bound[n]&&d.bound[n](l),u&&te(e,n)),t})):[],d.update(),u=!0,i(d.before_update),d.fragment=!!r&&r(d.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);d.fragment&&d.fragment.l(e),e.forEach(x)}else d.fragment&&d.fragment.c();t.intro&&K(e.$$.fragment),ee(e,t.target,t.anchor,t.customElement),D()}L(p)}class le{$destroy(){ne(this,1),this.$destroy=n}$on(e,n){const t=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return t.push(n),()=>{const e=t.indexOf(n);-1!==e&&t.splice(e,1)}}$set(e){var n;this.$$set&&(n=e,0!==Object.keys(n).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function ie(e){let n,t,o,l,i;const r=e[7].default,a=s(r,e,e[6],null);return{c(){n=m("button"),a&&a.c(),_(n,"id",e[5]),_(n,"class",t=u(`iroco-ui-button iroco-ui-button--${e[4]} iroco-ui-button--${e[3]}`)+" svelte-5qkkwb"),_(n,"type",e[1]),n.disabled=e[2],C(n,"disabled",e[2])},m(t,r){h(t,n,r),a&&a.m(n,null),e[9](n),o=!0,l||(i=b(n,"click",e[8]),l=!0)},p(e,[l]){a&&a.p&&(!o||64&l)&&p(a,r,e,e[6],l,null,null),(!o||32&l)&&_(n,"id",e[5]),(!o||24&l&&t!==(t=u(`iroco-ui-button iroco-ui-button--${e[4]} iroco-ui-button--${e[3]}`)+" svelte-5qkkwb"))&&_(n,"class",t),(!o||2&l)&&_(n,"type",e[1]),(!o||4&l)&&(n.disabled=e[2]),28&l&&C(n,"disabled",e[2])},i(e){o||(K(a,e),o=!0)},o(e){J(a,e),o=!1},d(t){t&&x(n),a&&a.d(t),e[9](null),l=!1,i()}}}function re(e,n,t){let{$$slots:o={},$$scope:l}=n,{type:i="button"}=n,{disabled:r=!1}=n,{kind:a="basic"}=n,{size:s="regular"}=n,{id:c}=n,{node:p}=n;return e.$$set=e=>{"type"in e&&t(1,i=e.type),"disabled"in e&&t(2,r=e.disabled),"kind"in e&&t(3,a=e.kind),"size"in e&&t(4,s=e.size),"id"in e&&t(5,c=e.id),"node"in e&&t(0,p=e.node),"$$scope"in e&&t(6,l=e.$$scope)},[p,i,r,a,s,c,l,o,function(n){S(e,n)},function(e){I[e?"unshift":"push"]((()=>{p=e,t(0,p)}))}]}function ae(e){let n,t;return{c(){n=m("label"),t=j(e[2]),_(n,"class","iroco-ui-label svelte-1y0402x"),_(n,"for",e[1])},m(e,o){h(e,n,o),y(n,t)},p(e,o){4&o&&z(t,e[2]),2&o&&_(n,"for",e[1])},d(e){e&&x(n)}}}function se(e){let n;function t(e,n){return e[5]?pe:ce}let o=t(e),l=o(e);return{c(){n=m("p"),l.c(),_(n,"data-testid","error"),_(n,"class","error svelte-1y0402x")},m(e,t){h(e,n,t),l.m(n,null)},p(e,i){o===(o=t(e))&&l?l.p(e,i):(l.d(1),l=o(e),l&&(l.c(),l.m(n,null)))},d(e){e&&x(n),l.d()}}}function ce(e){let n,t=(null!==e[4]?e[4]:"")+"";return{c(){n=j(t)},m(e,t){h(e,n,t)},p(e,o){16&o&&t!==(t=(null!==e[4]?e[4]:"")+"")&&z(n,t)},d(e){e&&x(n)}}}function pe(e){let n,t,o=(null!==e[4]?e[4]:"")+"";return{c(){t=w(),n=new H(t)},m(e,l){n.m(o,e,l),h(e,t,l)},p(e,t){16&t&&o!==(o=(null!==e[4]?e[4]:"")+"")&&n.p(o)},d(e){e&&x(t),e&&n.d()}}}function de(e){let t,o,l,a,s,c,p=e[2]&&ae(e),d=null!=e[4]&&se(e);return{c(){t=m("div"),p&&p.c(),o=v(),l=m("input"),a=v(),d&&d.c(),_(l,"id",e[1]),_(l,"type","text"),_(l,"placeholder",e[3]),l.readOnly=e[8],_(l,"class","svelte-1y0402x"),C(l,"border",e[9]),C(l,"error",null!==e[4]),C(l,"readonlyInput",1==e[8]),_(t,"class","iroco-ui-input svelte-1y0402x")},m(i,u){var x;h(i,t,u),p&&p.m(t,null),y(t,o),y(t,l),A(l,e[0]),y(t,a),d&&d.m(t,null),s||(c=[b(l,"input",e[13]),b(l,"input",e[14]),b(l,"focus",(function(){r(e[6])&&e[6].apply(this,arguments)})),b(l,"blur",(function(){r(e[7])&&e[7].apply(this,arguments)})),(x=e[10].call(null,l),x&&r(x.destroy)?x.destroy:n)],s=!0)},p(n,[i]){(e=n)[2]?p?p.p(e,i):(p=ae(e),p.c(),p.m(t,o)):p&&(p.d(1),p=null),2&i&&_(l,"id",e[1]),8&i&&_(l,"placeholder",e[3]),256&i&&(l.readOnly=e[8]),1&i&&l.value!==e[0]&&A(l,e[0]),512&i&&C(l,"border",e[9]),16&i&&C(l,"error",null!==e[4]),256&i&&C(l,"readonlyInput",1==e[8]),null!=e[4]?d?d.p(e,i):(d=se(e),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},i:n,o:n,d(e){e&&x(t),p&&p.d(),d&&d.d(),s=!1,i(c)}}}function ue(e,n,t){var{TextType:o}=n;!function(e){e.text="text",e.email="email",e.password="password"}(o||(o={}));let{id:l}=n,{type:i}=n,{label:r=null}=n,{placeholder:a}=n,{error:s=null}=n,{htmlError:c=!1}=n,{value:p=null}=n,{onFocus:d}=n,{onBlur:u}=n,{readonly:y=!1}=n,{border:h=!1}=n;return e.$$set=e=>{"TextType"in e&&t(11,o=e.TextType),"id"in e&&t(1,l=e.id),"type"in e&&t(12,i=e.type),"label"in e&&t(2,r=e.label),"placeholder"in e&&t(3,a=e.placeholder),"error"in e&&t(4,s=e.error),"htmlError"in e&&t(5,c=e.htmlError),"value"in e&&t(0,p=e.value),"onFocus"in e&&t(6,d=e.onFocus),"onBlur"in e&&t(7,u=e.onBlur),"readonly"in e&&t(8,y=e.readonly),"border"in e&&t(9,h=e.border)},[p,l,r,a,s,c,d,u,y,h,function(e){e.type=i},o,i,function(n){S(e,n)},function(){p=this.value,t(0,p)}]}function ye(e){let n,t,o,l,r,a,c,d;const u=e[7].default,f=s(u,e,e[6],null);return{c(){n=m("label"),t=m("input"),o=v(),l=m("span"),r=v(),f&&f.c(),_(t,"type","radio"),t.__value=e[2],t.value=t.__value,_(t,"name",e[3]),t.checked=e[1],_(t,"class","svelte-156c82q"),e[9][0].push(t),_(l,"class","radio-button-color svelte-156c82q"),_(n,"class","iroco-ui-radio svelte-156c82q")},m(i,s){h(i,n,s),y(n,t),t.checked=t.__value===e[0],y(n,o),y(n,l),y(n,r),f&&f.m(n,null),a=!0,c||(d=[b(t,"change",e[8]),b(t,"change",e[4])],c=!0)},p(e,[n]){(!a||4&n)&&(t.__value=e[2],t.value=t.__value),(!a||8&n)&&_(t,"name",e[3]),(!a||2&n)&&(t.checked=e[1]),1&n&&(t.checked=t.__value===e[0]),f&&f.p&&(!a||64&n)&&p(f,u,e,e[6],n,null,null)},i(e){a||(K(f,e),a=!0)},o(e){J(f,e),a=!1},d(o){o&&x(n),e[9][0].splice(e[9][0].indexOf(t),1),f&&f.d(o),c=!1,i(d)}}}function he(e,n,t){let{$$slots:o={},$$scope:l}=n;let{value:i}=n,{group:r=null}=n,{name:a}=n,{checked:s}=n;return e.$$set=e=>{"value"in e&&t(2,i=e.value),"group"in e&&t(0,r=e.group),"name"in e&&t(3,a=e.name),"checked"in e&&t(1,s=e.checked),"$$scope"in e&&t(6,l=e.$$scope)},e.$$.update=()=>{5&e.$$.dirty&&t(1,s=r===i)},[r,s,i,a,function(e){t(0,r=e.target.value)},"",l,o,function(){r=this.__value,t(0,r)},[[]]]}function xe(e){let n,t;return{c(){n=m("label"),t=j(e[2]),_(n,"class","iroco-ui-label"),_(n,"for",e[1])},m(e,o){h(e,n,o),y(n,t)},p(e,o){4&o&&z(t,e[2]),2&o&&_(n,"for",e[1])},d(e){e&&x(n)}}}function fe(e){let n,t;return{c(){n=m("p"),t=j(e[4]),_(n,"data-testid","error"),_(n,"class","error")},m(e,o){h(e,n,o),y(n,t)},p(e,n){16&n&&z(t,e[4])},d(e){e&&x(n)}}}function me(e){let o,l,r,a,s,c,p=e[2]&&xe(e),d=[{id:e[1]},{type:"number"},{placeholder:e[3]},{min:e[5]},{max:e[6]},e[7]],u={};for(let e=0;e<d.length;e+=1)u=t(u,d[e]);let f=e[4]&&fe(e);return{c(){o=m("div"),p&&p.c(),l=v(),r=m("input"),a=v(),f&&f.c(),M(r,u),_(o,"class","iroco-ui-input")},m(n,t){h(n,o,t),p&&p.m(o,null),y(o,l),y(o,r),A(r,e[0]),y(o,a),f&&f.m(o,null),s||(c=[b(r,"change",e[8]),b(r,"input",e[9])],s=!0)},p(e,[n]){e[2]?p?p.p(e,n):(p=xe(e),p.c(),p.m(o,l)):p&&(p.d(1),p=null),M(r,u=Q(d,[2&n&&{id:e[1]},{type:"number"},8&n&&{placeholder:e[3]},32&n&&{min:e[5]},64&n&&{max:e[6]},128&n&&e[7]])),1&n&&$(r.value)!==e[0]&&A(r,e[0]),e[4]?f?f.p(e,n):(f=fe(e),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},i:n,o:n,d(e){e&&x(o),p&&p.d(),f&&f.d(),s=!1,i(c)}}}function ge(e,n,o){const l=["id","label","placeholder","error","value","min","max"];let i=d(n,l),{id:r}=n,{label:a}=n,{placeholder:s}=n,{error:c=null}=n,{value:p=null}=n,{min:u}=n,{max:y}=n;return e.$$set=e=>{n=t(t({},n),function(e){const n={};for(const t in e)"$"!==t[0]&&(n[t]=e[t]);return n}(e)),o(7,i=d(n,l)),"id"in e&&o(1,r=e.id),"label"in e&&o(2,a=e.label),"placeholder"in e&&o(3,s=e.placeholder),"error"in e&&o(4,c=e.error),"value"in e&&o(0,p=e.value),"min"in e&&o(5,u=e.min),"max"in e&&o(6,y=e.max)},[p,r,a,s,c,u,y,i,function(n){S(e,n)},function(){p=$(this.value),o(0,p)}]}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function je(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ve,we={exports:{}};"undefined"!=typeof self&&self,ve=function(){return function(e){var n={};function t(o){if(n[o])return n[o].exports;var l=n[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}({"./dist/icons.json":
|
|
2
2
|
/*!*************************!*\
|
|
3
3
|
!*** ./dist/icons.json ***!
|
|
4
4
|
\*************************/
|
|
@@ -327,4 +327,4 @@ var Ui=function(e){"use strict";function n(){}function t(e,n){for(const t in n)e
|
|
|
327
327
|
/*!**************************************************!*\
|
|
328
328
|
!*** multi core-js/es/array/from ./src/index.js ***!
|
|
329
329
|
\**************************************************/
|
|
330
|
-
/*! no static exports found */function(e,n,t){t(/*! core-js/es/array/from */"./node_modules/core-js/es/array/from.js"),e.exports=t(/*! /home/travis/build/feathericons/feather/src/index.js */"./src/index.js")}})},we.exports=ve();var be=je(we.exports);function _e(e){let n,o,l,i=e[3].contents+"",r=[e[3].attrs,{style:l="width: "+e[0]+"; height: "+e[1]+"; color: "+e[2]+";"}],a={};for(let e=0;e<r.length;e+=1)a=t(a,r[e]);return{c(){n=g("svg"),o=g("g"),k(n,a),C(n,"svelte-1cuxg7m",!0)},m(e,t){h(e,n,t),y(n,o),o.innerHTML=i},p(e,t){8&t&&i!==(i=e[3].contents+"")&&(o.innerHTML=i),k(n,a=Q(r,[8&t&&e[3].attrs,7&t&&l!==(l="width: "+e[0]+"; height: "+e[1]+"; color: "+e[2]+";")&&{style:l}])),C(n,"svelte-1cuxg7m",!0)},d(e){e&&x(n)}}}function Me(e){let t,o=e[3]&&_e(e);return{c(){o&&o.c(),t=w()},m(e,n){o&&o.m(e,n),h(e,t,n)},p(e,[n]){e[3]?o?o.p(e,n):(o=_e(e),o.c(),o.m(t.parentNode,t)):o&&(o.d(1),o=null)},i:n,o:n,d(e){o&&o.d(e),e&&x(t)}}}function ke(e,n,t){let{name:o}=n,{stroke:l}=n,{strokeWidth:i}=n,{width:r="1em"}=n,{height:a="1em"}=n,{color:s="white"}=n;const c=be.icons[o];return e.$$set=e=>{"name"in e&&t(4,o=e.name),"stroke"in e&&t(5,l=e.stroke),"strokeWidth"in e&&t(6,i=e.strokeWidth),"width"in e&&t(0,r=e.width),"height"in e&&t(1,a=e.height),"color"in e&&t(2,s=e.color)},e.$$.update=()=>{104&e.$$.dirty&&c&&(l&&t(3,c.attrs.stroke=l,c),i&&t(3,c.attrs["stroke-width"]=i,c))},[r,a,s,c,o,l,i]}function $e(e){let t,o,l;return{c(){t=g("svg"),o=g("path"),l=g("path"),_(o,"d","M30.009 29.9999C29.3241 30.0677 28.7761 30.1355 28.4336 30.2033C28.0912 30.3389 27.8857 30.5423 27.7487 30.8812C27.6117 31.2202 27.5432 31.7626 27.5432 32.5084V47.1524C27.5432 47.8982 27.6117 48.4406 27.7487 48.7795C27.8857 49.1185 28.0912 49.3219 28.4336 49.4575C28.7761 49.5931 29.2556 49.6609 30.009 49.6609V50.2711C29.1186 50.2033 27.8172 50.2033 26.2419 50.2033C24.5295 50.2033 23.2282 50.2033 22.4062 50.2711V49.7965C23.0912 49.7287 23.6391 49.6609 23.9816 49.5931C24.3241 49.4575 24.5295 49.2541 24.6665 48.9151C24.8035 48.5762 24.872 48.0338 24.872 47.288V32.5762C24.872 31.8304 24.8035 31.288 24.6665 30.949C24.5295 30.6101 24.3241 30.4067 23.9816 30.2711C23.6391 30.1355 23.1597 30.0677 22.4062 30.0677V29.4575C23.2282 29.5253 24.5295 29.5253 26.2419 29.5253C27.8172 29.5253 29.1186 29.5253 30.009 29.4575V29.9999Z"),_(o,"fill","white"),_(l,"d","M18.7079 40.4406C11.1737 37.3897 6.24219 30.2033 6.24219 22.1355C6.24219 11.2202 15.2148 2.33887 26.2422 2.33887C37.2696 2.33887 46.2422 11.2202 46.2422 22.1355C46.2422 30.2033 41.3107 37.4575 33.7764 40.4406L32.2696 36.9151C38.3655 34.4745 42.3381 28.6439 42.3381 22.0677C42.3381 13.2541 35.0778 6.06768 26.1737 6.06768C17.2696 6.06768 10.0093 13.2541 10.0093 22.0677C10.0093 28.5762 13.9819 34.4067 20.0778 36.9151L18.7079 40.4406Z"),_(l,"fill","#00D692"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"viewBox","0 0 54 53"),_(t,"fill","none"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o),y(t,l)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function ze(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}class Ae extends le{constructor(e){super(),oe(this,e,ze,$e,a,{width:0,height:1})}}function Ce(e){let t,o,l;return o=new Ae({props:{width:"4em",height:"4em"}}),{c(){t=m("div"),X(o.$$.fragment),_(t,"class","rotate linear infinite svelte-1dns1yx")},m(e,n){h(e,t,n),ee(o,t,null),l=!0},p:n,i(e){l||(K(o.$$.fragment,e),l=!0)},o(e){J(o.$$.fragment,e),l=!1},d(e){e&&x(t),ne(o)}}}function He(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"),_(t,"class","icon-info"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"stroke","currentColor"),_(t,"viewBox","0 0 24 24"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Oe(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}function Le(e){let t,o,l,i;return{c(){t=g("svg"),o=g("title"),l=j("Mastodon"),i=g("path"),_(i,"d","M23.193 7.88c0-5.207-3.411-6.733-3.411-6.733C18.062.357 15.108.025 12.041 0h-.076c-3.069.025-6.02.357-7.74 1.147 0 0-3.412 1.526-3.412 6.732 0 1.193-.023 2.619.015 4.13.124 5.092.934 10.11 5.641 11.355 2.17.574 4.034.695 5.536.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.13.54c-2.165-.075-4.449-.234-4.799-2.892a5.5 5.5 0 0 1-.048-.745s2.125.52 4.818.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.508.475-6.508zm-4.024 6.709h-2.497v-6.12c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.313v3.349h-2.484v-3.35c0-1.537-.602-2.313-1.802-2.313-1.085 0-1.628.655-1.628 1.945v6.119H4.831V8.285c0-1.29.328-2.314.987-3.07.68-.759 1.57-1.147 2.674-1.147 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.305z"),_(i,"fill",e[2]),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"role","img"),_(t,"viewBox","0 0 24 24"),_(t,"class","icon-mastodon"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o),y(o,l),y(t,i)},p(e,[n]){4&n&&_(i,"fill",e[2]),1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Ve(e,n,t){let{width:o="5em"}=n,{height:l="5em"}=n,{fill:i="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height),"fill"in e&&t(2,i=e.fill)},[o,l,i]}function Se(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M6 18L18 6M6 6l12 12"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"viewBox","0 0 24 24"),_(t,"stroke","currentColor")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Ee(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}class Ie extends le{constructor(e){super(),oe(this,e,Ee,Se,a,{width:0,height:1})}}function Pe(e,n,t){const o=e.slice();return o[7]=n[t],o}function Te(e){let n,t,o,l,i,r,a,s,c=e[7].name+"";function p(){return e[5](e[7])}return{c(){n=m("li"),t=m("a"),o=j(c),i=v(),_(t,"href",l="string"==typeof e[7].hrefOrCallback?e[7].hrefOrCallback:"#"),_(t,"class","svelte-1c8sozl"),_(n,"class",r="nav__"+e[1]+"__item svelte-1c8sozl"),C(n,"active",e[2]===e[7].name)},m(e,l){h(e,n,l),y(n,t),y(t,o),y(n,i),a||(s=b(t,"click",p),a=!0)},p(i,a){e=i,1&a&&c!==(c=e[7].name+"")&&z(o,c),1&a&&l!==(l="string"==typeof e[7].hrefOrCallback?e[7].hrefOrCallback:"#")&&_(t,"href",l),2&a&&r!==(r="nav__"+e[1]+"__item svelte-1c8sozl")&&_(n,"class",r),7&a&&C(n,"active",e[2]===e[7].name)},d(e){e&&x(n),a=!1,s()}}}function qe(e){let n,t,o,l,i,r,a,s,c,p,d;o=new Ie({props:{width:"3em",height:"3em"}});let u=e[0],g=[];for(let n=0;n<u.length;n+=1)g[n]=Te(Pe(e,u,n));return{c(){n=m("nav"),t=m("button"),X(o.$$.fragment),i=v(),r=m("ul");for(let e=0;e<g.length;e+=1)g[e].c();_(t,"class",l="nav__"+e[1]+"__close svelte-1c8sozl"),_(r,"class",a="nav__"+e[1]+"__item-container svelte-1c8sozl"),_(n,"data-testid",e[1]),_(n,"class",s="nav__"+e[1]+" svelte-1c8sozl")},m(l,a){h(l,n,a),y(n,t),ee(o,t,null),y(n,i),y(n,r);for(let e=0;e<g.length;e+=1)g[e].m(r,null);c=!0,p||(d=b(t,"click",e[4]),p=!0)},p(e,[o]){if((!c||2&o&&l!==(l="nav__"+e[1]+"__close svelte-1c8sozl"))&&_(t,"class",l),15&o){let n;for(u=e[0],n=0;n<u.length;n+=1){const t=Pe(e,u,n);g[n]?g[n].p(t,o):(g[n]=Te(t),g[n].c(),g[n].m(r,null))}for(;n<g.length;n+=1)g[n].d(1);g.length=u.length}(!c||2&o&&a!==(a="nav__"+e[1]+"__item-container svelte-1c8sozl"))&&_(r,"class",a),(!c||2&o)&&_(n,"data-testid",e[1]),(!c||2&o&&s!==(s="nav__"+e[1]+" svelte-1c8sozl"))&&_(n,"class",s)},i(e){c||(K(o.$$.fragment,e),c=!0)},o(e){J(o.$$.fragment,e),c=!1},d(e){e&&x(n),ne(o),f(g,e),p=!1,d()}}}function Be(e,n,t){let o,{navigationItems:l}=n,{type:i}=n;const r=V(),a=e=>{if(t(2,o=e.name),"function"==typeof e.hrefOrCallback)return e.hrefOrCallback(),!1;r("click_link")};return e.$$set=e=>{"navigationItems"in e&&t(0,l=e.navigationItems),"type"in e&&t(1,i=e.type)},[l,i,o,a,function(n){S(e,n)},e=>a(e)]}class Ne extends le{constructor(e){super(),oe(this,e,Be,qe,a,{navigationItems:0,type:1})}}function Fe(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M4 6h16M4 12h16M4 18h16"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"viewBox","0 0 24 24"),_(t,"stroke","currentColor")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Re(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}class De extends le{constructor(e){super(),oe(this,e,Re,Fe,a,{width:0,height:1})}}function We(e){let n,t;return n=new Ne({props:{type:e[1],navigationItems:e[0]}}),n.$on("click_link",e[5]),n.$on("click",e[6]),{c(){X(n.$$.fragment)},m(e,o){ee(n,e,o),t=!0},p(e,t){const o={};2&t&&(o.type=e[1]),1&t&&(o.navigationItems=e[0]),n.$set(o)},i(e){t||(K(n.$$.fragment,e),t=!0)},o(e){J(n.$$.fragment,e),t=!1},d(e){ne(n,e)}}}function Ge(e){let n,t,o,l,i,r,a,s,c,p,d,u,f,g,w,M,k,$,A,C,H,O;o=new Ae({props:{width:"3em",height:"3em"}}),c=new De({props:{width:"3em",height:"3em"}});let L=e[3]&&We(e);return g=new Ae({props:{width:"3em",height:"3em"}}),A=new Ne({props:{navigationItems:e[0],type:e[1]}}),{c(){n=m("div"),t=m("div"),X(o.$$.fragment),l=v(),i=m("h1"),r=j(e[2]),a=v(),s=m("button"),X(c.$$.fragment),p=v(),L&&L.c(),d=v(),u=m("div"),f=m("div"),X(g.$$.fragment),w=v(),M=m("h1"),k=j(e[2]),$=v(),X(A.$$.fragment),_(i,"class","svelte-lqwgm1"),_(t,"class","navigation--mobile__title-container svelte-lqwgm1"),_(s,"class","navigation--mobile__button svelte-lqwgm1"),_(n,"class","navigation--mobile svelte-lqwgm1"),_(M,"class","svelte-lqwgm1"),_(f,"class","navigation__title-container svelte-lqwgm1"),_(u,"class","navigation svelte-lqwgm1")},m(x,m){h(x,n,m),y(n,t),ee(o,t,null),y(t,l),y(t,i),y(i,r),y(n,a),y(n,s),ee(c,s,null),y(n,p),L&&L.m(n,null),h(x,d,m),h(x,u,m),y(u,f),ee(g,f,null),y(f,w),y(f,M),y(M,k),y(u,$),ee(A,u,null),C=!0,H||(O=b(s,"click",e[4]),H=!0)},p(e,[t]){(!C||4&t)&&z(r,e[2]),e[3]?L?(L.p(e,t),8&t&&K(L,1)):(L=We(e),L.c(),K(L,1),L.m(n,null)):L&&(U(),J(L,1,1,(()=>{L=null})),Y()),(!C||4&t)&&z(k,e[2]);const o={};1&t&&(o.navigationItems=e[0]),2&t&&(o.type=e[1]),A.$set(o)},i(e){C||(K(o.$$.fragment,e),K(c.$$.fragment,e),K(L),K(g.$$.fragment,e),K(A.$$.fragment,e),C=!0)},o(e){J(o.$$.fragment,e),J(c.$$.fragment,e),J(L),J(g.$$.fragment,e),J(A.$$.fragment,e),C=!1},d(e){e&&x(n),ne(o),ne(c),L&&L.d(),e&&x(d),e&&x(u),ne(g),ne(A),H=!1,O()}}}function Ze(e,n,t){let{navigationItems:o}=n,{type:l="topbar"}=n,{title:i}=n,r=!1;return e.$$set=e=>{"navigationItems"in e&&t(0,o=e.navigationItems),"type"in e&&t(1,l=e.type),"title"in e&&t(2,i=e.title)},[o,l,i,r,()=>t(3,r=!0),()=>t(3,r=!1),()=>t(3,r=!1)]}function Ue(e,n,t){const o=e.slice();return o[3]=n[t],o}function Ye(e,n,t){const o=e.slice();return o[6]=n[t].key,o[7]=n[t].renderComponent,o}function Ke(e,n,t){const o=e.slice();return o[10]=n[t],o}function Je(e){let n,t,o,l=e[10].title+"";return{c(){n=m("th"),t=j(l),o=v(),_(n,"class","data-table__header__cell svelte-1ju5y8t")},m(e,l){h(e,n,l),y(n,t),y(n,o)},p(e,n){2&n&&l!==(l=e[10].title+"")&&z(t,l)},d(e){e&&x(n)}}}function Qe(e){let t,o=e[3][e[6]]+"";return{c(){t=j(o)},m(e,n){h(e,t,n)},p(e,n){3&n&&o!==(o=e[3][e[6]]+"")&&z(t,o)},i:n,o:n,d(e){e&&x(t)}}}function Xe(e){let n,t,o;function l(){return e[2](e[7],e[3])}var i=e[7].component;return i&&(n=new i({}),n.$on("click",l)),{c(){n&&X(n.$$.fragment),t=w()},m(e,l){n&&ee(n,e,l),h(e,t,l),o=!0},p(o,r){if(i!==(i=(e=o)[7].component)){if(n){U();const e=n;J(e.$$.fragment,1,0,(()=>{ne(e,1)})),Y()}i?(n=new i({}),n.$on("click",l),X(n.$$.fragment),K(n.$$.fragment,1),ee(n,t.parentNode,t)):n=null}},i(e){o||(n&&K(n.$$.fragment,e),o=!0)},o(e){n&&J(n.$$.fragment,e),o=!1},d(e){e&&x(t),n&&ne(n,e)}}}function en(e){let n,t,o,l;const i=[Xe,Qe],r=[];function a(e,n){return e[7]?0:1}return t=a(e),o=r[t]=i[t](e),{c(){n=m("td"),o.c(),_(n,"class","data-table__body__cell svelte-1ju5y8t")},m(e,o){h(e,n,o),r[t].m(n,null),l=!0},p(e,l){let s=t;t=a(e),t===s?r[t].p(e,l):(U(),J(r[s],1,1,(()=>{r[s]=null})),Y(),o=r[t],o?o.p(e,l):(o=r[t]=i[t](e),o.c()),K(o,1),o.m(n,null))},i(e){l||(K(o),l=!0)},o(e){J(o),l=!1},d(e){e&&x(n),r[t].d()}}}function nn(e){let n,t,o,l=e[1],i=[];for(let n=0;n<l.length;n+=1)i[n]=en(Ye(e,l,n));const r=e=>J(i[e],1,1,(()=>{i[e]=null}));return{c(){n=m("tr");for(let e=0;e<i.length;e+=1)i[e].c();t=v(),_(n,"class","data-table__body__row")},m(e,l){h(e,n,l);for(let e=0;e<i.length;e+=1)i[e].m(n,null);y(n,t),o=!0},p(e,o){if(3&o){let a;for(l=e[1],a=0;a<l.length;a+=1){const r=Ye(e,l,a);i[a]?(i[a].p(r,o),K(i[a],1)):(i[a]=en(r),i[a].c(),K(i[a],1),i[a].m(n,t))}for(U(),a=l.length;a<i.length;a+=1)r(a);Y()}},i(e){if(!o){for(let e=0;e<l.length;e+=1)K(i[e]);o=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)J(i[e]);o=!1},d(e){e&&x(n),f(i,e)}}}function tn(e){let n,t,o,l,i,r,a=e[1],s=[];for(let n=0;n<a.length;n+=1)s[n]=Je(Ke(e,a,n));let c=e[0],p=[];for(let n=0;n<c.length;n+=1)p[n]=nn(Ue(e,c,n));const d=e=>J(p[e],1,1,(()=>{p[e]=null}));return{c(){n=m("table"),t=m("thead"),o=m("tr");for(let e=0;e<s.length;e+=1)s[e].c();l=v(),i=m("tbody");for(let e=0;e<p.length;e+=1)p[e].c();_(t,"class","data-table__header svelte-1ju5y8t"),_(i,"class","data-table__body"),_(n,"class","data-table svelte-1ju5y8t")},m(e,a){h(e,n,a),y(n,t),y(t,o);for(let e=0;e<s.length;e+=1)s[e].m(o,null);y(n,l),y(n,i);for(let e=0;e<p.length;e+=1)p[e].m(i,null);r=!0},p(e,[n]){if(2&n){let t;for(a=e[1],t=0;t<a.length;t+=1){const l=Ke(e,a,t);s[t]?s[t].p(l,n):(s[t]=Je(l),s[t].c(),s[t].m(o,null))}for(;t<s.length;t+=1)s[t].d(1);s.length=a.length}if(3&n){let t;for(c=e[0],t=0;t<c.length;t+=1){const o=Ue(e,c,t);p[t]?(p[t].p(o,n),K(p[t],1)):(p[t]=nn(o),p[t].c(),K(p[t],1),p[t].m(i,null))}for(U(),t=c.length;t<p.length;t+=1)d(t);Y()}},i(e){if(!r){for(let e=0;e<c.length;e+=1)K(p[e]);r=!0}},o(e){p=p.filter(Boolean);for(let e=0;e<p.length;e+=1)J(p[e]);r=!1},d(e){e&&x(n),f(s,e),f(p,e)}}}function on(e,n,t){let{rows:o}=n,{collumns:l}=n;return e.$$set=e=>{"rows"in e&&t(0,o=e.rows),"collumns"in e&&t(1,l=e.collumns)},[o,l,(e,n)=>e.props.onclick(n)]}function ln(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M12 4v16m8-8H4"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"height",e[1]),_(t,"width",e[0]),_(t,"fill","none"),_(t,"viewBox","0 0 24 24"),_(t,"stroke","currentColor")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){2&n&&_(t,"height",e[1]),1&n&&_(t,"width",e[0])},i:n,o:n,d(e){e&&x(t)}}}function rn(e,n,t){let{width:o="3rem"}=n,{height:l="3rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}function an(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"d","M12 10.2857C12 10.7404 11.8194 11.1764 11.4979 11.4979C11.1764 11.8194 10.7404 12 10.2857 12L3.10371 12C2.64909 11.9999 2.21313 11.8192 1.89171 11.4977L0.502286 10.1083C0.180773 9.78687 9.70432e-05 9.35091 -2.71336e-07 8.89629L-8.99207e-07 1.71429C-9.38954e-07 1.25963 0.180611 0.823595 0.502102 0.502104C0.823593 0.180613 1.25963 9.38953e-07 1.71428 8.99206e-07L10.2857 1.49868e-07C10.7404 1.1012e-07 11.1764 0.180612 11.4979 0.502103C11.8194 0.823594 12 1.25963 12 1.71429L12 10.2857ZM10.2857 11.1429C10.513 11.1429 10.7311 11.0526 10.8918 10.8918C11.0526 10.7311 11.1429 10.513 11.1429 10.2857L11.1429 1.71429C11.1429 1.48696 11.0526 1.26894 10.8918 1.10819C10.7311 0.947449 10.513 0.857143 10.2857 0.857143L10.2857 4.71429C10.2857 5.05528 10.1503 5.3823 9.90914 5.62342C9.66802 5.86454 9.34099 6 9 6L3 6C2.65901 6 2.33198 5.86454 2.09086 5.62342C1.84974 5.38231 1.71429 5.05528 1.71429 4.71429L1.71428 0.857143C1.48696 0.857143 1.26894 0.94745 1.10819 1.1082C0.947448 1.26894 0.857142 1.48696 0.857142 1.71429L0.857142 8.89629C0.857191 9.1236 0.947529 9.34158 1.10829 9.50229L2.49771 10.8917C2.65842 11.0525 2.8764 11.1428 3.10371 11.1429L3.42857 11.1429L3.42857 9C3.42857 8.65901 3.56403 8.33198 3.80515 8.09086C4.04627 7.84975 4.37329 7.71429 4.71429 7.71429L8.14286 7.71429C8.48385 7.71429 8.81088 7.84974 9.05199 8.09086C9.29311 8.33198 9.42857 8.65901 9.42857 9L9.42857 11.1429L10.2857 11.1429ZM8.57143 11.1429L8.57143 9C8.57143 8.88634 8.52628 8.77733 8.4459 8.69695C8.36553 8.61658 8.25652 8.57143 8.14286 8.57143L4.71429 8.57143C4.60062 8.57143 4.49161 8.61658 4.41124 8.69695C4.33087 8.77733 4.28571 8.88634 4.28571 9L4.28571 11.1429L8.57143 11.1429ZM2.57143 0.857143L2.57143 4.71429C2.57143 4.82795 2.61658 4.93696 2.69695 5.01733C2.77733 5.09771 2.88633 5.14286 3 5.14286L9 5.14286C9.11366 5.14286 9.22267 5.0977 9.30305 5.01733C9.38342 4.93696 9.42857 4.82795 9.42857 4.71429L9.42857 0.857143L2.57143 0.857143Z"),_(o,"fill",e[2]),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"viewBox","0 0 12 12"),_(t,"fill","none"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){4&n&&_(o,"fill",e[2]),1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function sn(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n,{fill:i="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height),"fill"in e&&t(2,i=e.fill)},[o,l,i]}function cn(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"stroke",e[2]),_(t,"viewBox","0 0 24 24"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1]),4&n&&_(t,"stroke",e[2])},i:n,o:n,d(e){e&&x(t)}}}function pn(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n,{stroke:i="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height),"stroke"in e&&t(2,i=e.stroke)},[o,l,i]}function dn(e){let t,o,l,i,a;return{c(){t=m("div"),o=j(e[1]),_(t,"class",l=u(`alert alert--${e[0]}`)+" svelte-1oun6o6")},m(n,l){h(n,t,l),y(t,o),i||(a=b(t,"click",(function(){r(e[2])&&e[2].apply(this,arguments)})),i=!0)},p(n,[i]){e=n,2&i&&z(o,e[1]),1&i&&l!==(l=u(`alert alert--${e[0]}`)+" svelte-1oun6o6")&&_(t,"class",l)},i:n,o:n,d(e){e&&x(t),i=!1,a()}}}function un(e,n,t){let{type:o="success"}=n,{content:l}=n,{callback:i}=n;return e.$$set=e=>{"type"in e&&t(0,o=e.type),"content"in e&&t(1,l=e.content),"callback"in e&&t(2,i=e.callback)},[o,l,i]}return e.Alert=class extends le{constructor(e){super(),oe(this,e,un,dn,a,{type:0,content:1,callback:2})}},e.Button=class extends le{constructor(e){super(),oe(this,e,re,ie,a,{type:1,disabled:2,kind:3,size:4,id:5,node:0})}},e.DataTable=class extends le{constructor(e){super(),oe(this,e,on,tn,a,{rows:0,collumns:1})}},e.Icon=class extends le{constructor(e){super(),oe(this,e,ke,Me,a,{name:4,stroke:5,strokeWidth:6,width:0,height:1,color:2})}},e.IconFloppyDisk=class extends le{constructor(e){super(),oe(this,e,sn,an,a,{width:0,height:1,fill:2})}},e.IconInfo=class extends le{constructor(e){super(),oe(this,e,Oe,He,a,{width:0,height:1})}},e.IconMastodon=class extends le{constructor(e){super(),oe(this,e,Ve,Le,a,{width:0,height:1,fill:2})}},e.IconMore=class extends le{constructor(e){super(),oe(this,e,rn,ln,a,{width:0,height:1})}},e.IconTrashCan=class extends le{constructor(e){super(),oe(this,e,pn,cn,a,{width:0,height:1,stroke:2})}},e.Loader=class extends le{constructor(e){super(),oe(this,e,null,Ce,a,{})}},e.NavBar=Ne,e.Navigation=class extends le{constructor(e){super(),oe(this,e,Ze,Ge,a,{navigationItems:0,type:1,title:2})}},e.NumberInput=class extends le{constructor(e){super(),oe(this,e,ge,me,a,{id:1,label:2,placeholder:3,error:4,value:0,min:5,max:6})}},e.RadioButton=class extends le{constructor(e){super(),oe(this,e,he,ye,a,{label:5,value:2,group:0,name:3,checked:1})}get label(){return this.$$.ctx[5]}},e.TextInput=class extends le{constructor(e){super(),oe(this,e,ue,de,a,{TextType:11,id:1,type:12,label:2,placeholder:3,error:4,htmlError:5,value:0,onFocus:6,onBlur:7,readonly:8,border:9})}},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
330
|
+
/*! no static exports found */function(e,n,t){t(/*! core-js/es/array/from */"./node_modules/core-js/es/array/from.js"),e.exports=t(/*! /home/travis/build/feathericons/feather/src/index.js */"./src/index.js")}})},we.exports=ve();var be=je(we.exports);function _e(e){let n,o,l,i=e[3].contents+"",r=[e[3].attrs,{style:l="width: "+e[0]+"; height: "+e[1]+"; color: "+e[2]+";"}],a={};for(let e=0;e<r.length;e+=1)a=t(a,r[e]);return{c(){n=g("svg"),o=g("g"),k(n,a),C(n,"svelte-1cuxg7m",!0)},m(e,t){h(e,n,t),y(n,o),o.innerHTML=i},p(e,t){8&t&&i!==(i=e[3].contents+"")&&(o.innerHTML=i),k(n,a=Q(r,[8&t&&e[3].attrs,7&t&&l!==(l="width: "+e[0]+"; height: "+e[1]+"; color: "+e[2]+";")&&{style:l}])),C(n,"svelte-1cuxg7m",!0)},d(e){e&&x(n)}}}function Me(e){let t,o=e[3]&&_e(e);return{c(){o&&o.c(),t=w()},m(e,n){o&&o.m(e,n),h(e,t,n)},p(e,[n]){e[3]?o?o.p(e,n):(o=_e(e),o.c(),o.m(t.parentNode,t)):o&&(o.d(1),o=null)},i:n,o:n,d(e){o&&o.d(e),e&&x(t)}}}function ke(e,n,t){let{name:o}=n,{stroke:l}=n,{strokeWidth:i}=n,{width:r="1em"}=n,{height:a="1em"}=n,{color:s="white"}=n;const c=be.icons[o];return e.$$set=e=>{"name"in e&&t(4,o=e.name),"stroke"in e&&t(5,l=e.stroke),"strokeWidth"in e&&t(6,i=e.strokeWidth),"width"in e&&t(0,r=e.width),"height"in e&&t(1,a=e.height),"color"in e&&t(2,s=e.color)},e.$$.update=()=>{104&e.$$.dirty&&c&&(l&&t(3,c.attrs.stroke=l,c),i&&t(3,c.attrs["stroke-width"]=i,c))},[r,a,s,c,o,l,i]}function $e(e){let t,o,l;return{c(){t=g("svg"),o=g("path"),l=g("path"),_(o,"d","M30.009 29.9999C29.3241 30.0677 28.7761 30.1355 28.4336 30.2033C28.0912 30.3389 27.8857 30.5423 27.7487 30.8812C27.6117 31.2202 27.5432 31.7626 27.5432 32.5084V47.1524C27.5432 47.8982 27.6117 48.4406 27.7487 48.7795C27.8857 49.1185 28.0912 49.3219 28.4336 49.4575C28.7761 49.5931 29.2556 49.6609 30.009 49.6609V50.2711C29.1186 50.2033 27.8172 50.2033 26.2419 50.2033C24.5295 50.2033 23.2282 50.2033 22.4062 50.2711V49.7965C23.0912 49.7287 23.6391 49.6609 23.9816 49.5931C24.3241 49.4575 24.5295 49.2541 24.6665 48.9151C24.8035 48.5762 24.872 48.0338 24.872 47.288V32.5762C24.872 31.8304 24.8035 31.288 24.6665 30.949C24.5295 30.6101 24.3241 30.4067 23.9816 30.2711C23.6391 30.1355 23.1597 30.0677 22.4062 30.0677V29.4575C23.2282 29.5253 24.5295 29.5253 26.2419 29.5253C27.8172 29.5253 29.1186 29.5253 30.009 29.4575V29.9999Z"),_(o,"fill","white"),_(l,"d","M18.7079 40.4406C11.1737 37.3897 6.24219 30.2033 6.24219 22.1355C6.24219 11.2202 15.2148 2.33887 26.2422 2.33887C37.2696 2.33887 46.2422 11.2202 46.2422 22.1355C46.2422 30.2033 41.3107 37.4575 33.7764 40.4406L32.2696 36.9151C38.3655 34.4745 42.3381 28.6439 42.3381 22.0677C42.3381 13.2541 35.0778 6.06768 26.1737 6.06768C17.2696 6.06768 10.0093 13.2541 10.0093 22.0677C10.0093 28.5762 13.9819 34.4067 20.0778 36.9151L18.7079 40.4406Z"),_(l,"fill","#00D692"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"viewBox","0 0 54 53"),_(t,"fill","none"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o),y(t,l)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function ze(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}class Ae extends le{constructor(e){super(),oe(this,e,ze,$e,a,{width:0,height:1})}}function Ce(e){let t,o,l;return o=new Ae({props:{width:"4em",height:"4em"}}),{c(){t=m("div"),X(o.$$.fragment),_(t,"class","rotate linear infinite svelte-1dns1yx")},m(e,n){h(e,t,n),ee(o,t,null),l=!0},p:n,i(e){l||(K(o.$$.fragment,e),l=!0)},o(e){J(o.$$.fragment,e),l=!1},d(e){e&&x(t),ne(o)}}}function He(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"),_(t,"class","icon-info"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"stroke","currentColor"),_(t,"viewBox","0 0 24 24"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Oe(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}function Le(e){let t,o,l,i;return{c(){t=g("svg"),o=g("title"),l=j("Mastodon"),i=g("path"),_(i,"d","M23.193 7.88c0-5.207-3.411-6.733-3.411-6.733C18.062.357 15.108.025 12.041 0h-.076c-3.069.025-6.02.357-7.74 1.147 0 0-3.412 1.526-3.412 6.732 0 1.193-.023 2.619.015 4.13.124 5.092.934 10.11 5.641 11.355 2.17.574 4.034.695 5.536.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.13.54c-2.165-.075-4.449-.234-4.799-2.892a5.5 5.5 0 0 1-.048-.745s2.125.52 4.818.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.508.475-6.508zm-4.024 6.709h-2.497v-6.12c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.313v3.349h-2.484v-3.35c0-1.537-.602-2.313-1.802-2.313-1.085 0-1.628.655-1.628 1.945v6.119H4.831V8.285c0-1.29.328-2.314.987-3.07.68-.759 1.57-1.147 2.674-1.147 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.305z"),_(i,"fill",e[2]),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"role","img"),_(t,"viewBox","0 0 24 24"),_(t,"class","icon-mastodon"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o),y(o,l),y(t,i)},p(e,[n]){4&n&&_(i,"fill",e[2]),1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Ve(e,n,t){let{width:o="5em"}=n,{height:l="5em"}=n,{fill:i="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height),"fill"in e&&t(2,i=e.fill)},[o,l,i]}function Se(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M6 18L18 6M6 6l12 12"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"viewBox","0 0 24 24"),_(t,"stroke","currentColor")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Ee(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}class Ie extends le{constructor(e){super(),oe(this,e,Ee,Se,a,{width:0,height:1})}}function Pe(e,n,t){const o=e.slice();return o[7]=n[t],o}function Te(e){let n,t,o,l,i,r,a,s,c=e[7].name+"";function p(){return e[5](e[7])}return{c(){n=m("li"),t=m("a"),o=j(c),i=v(),_(t,"href",l="string"==typeof e[7].hrefOrCallback?e[7].hrefOrCallback:"#"),_(t,"class","svelte-1c8sozl"),_(n,"class",r="nav__"+e[1]+"__item svelte-1c8sozl"),C(n,"active",e[2]===e[7].name)},m(e,l){h(e,n,l),y(n,t),y(t,o),y(n,i),a||(s=b(t,"click",p),a=!0)},p(i,a){e=i,1&a&&c!==(c=e[7].name+"")&&z(o,c),1&a&&l!==(l="string"==typeof e[7].hrefOrCallback?e[7].hrefOrCallback:"#")&&_(t,"href",l),2&a&&r!==(r="nav__"+e[1]+"__item svelte-1c8sozl")&&_(n,"class",r),7&a&&C(n,"active",e[2]===e[7].name)},d(e){e&&x(n),a=!1,s()}}}function qe(e){let n,t,o,l,i,r,a,s,c,p,d;o=new Ie({props:{width:"3em",height:"3em"}});let u=e[0],g=[];for(let n=0;n<u.length;n+=1)g[n]=Te(Pe(e,u,n));return{c(){n=m("nav"),t=m("button"),X(o.$$.fragment),i=v(),r=m("ul");for(let e=0;e<g.length;e+=1)g[e].c();_(t,"class",l="nav__"+e[1]+"__close svelte-1c8sozl"),_(r,"class",a="nav__"+e[1]+"__item-container svelte-1c8sozl"),_(n,"data-testid",e[1]),_(n,"class",s="nav__"+e[1]+" svelte-1c8sozl")},m(l,a){h(l,n,a),y(n,t),ee(o,t,null),y(n,i),y(n,r);for(let e=0;e<g.length;e+=1)g[e].m(r,null);c=!0,p||(d=b(t,"click",e[4]),p=!0)},p(e,[o]){if((!c||2&o&&l!==(l="nav__"+e[1]+"__close svelte-1c8sozl"))&&_(t,"class",l),15&o){let n;for(u=e[0],n=0;n<u.length;n+=1){const t=Pe(e,u,n);g[n]?g[n].p(t,o):(g[n]=Te(t),g[n].c(),g[n].m(r,null))}for(;n<g.length;n+=1)g[n].d(1);g.length=u.length}(!c||2&o&&a!==(a="nav__"+e[1]+"__item-container svelte-1c8sozl"))&&_(r,"class",a),(!c||2&o)&&_(n,"data-testid",e[1]),(!c||2&o&&s!==(s="nav__"+e[1]+" svelte-1c8sozl"))&&_(n,"class",s)},i(e){c||(K(o.$$.fragment,e),c=!0)},o(e){J(o.$$.fragment,e),c=!1},d(e){e&&x(n),ne(o),f(g,e),p=!1,d()}}}function Be(e,n,t){let o,{navigationItems:l}=n,{type:i}=n;const r=V(),a=e=>{if(t(2,o=e.name),"function"==typeof e.hrefOrCallback)return e.hrefOrCallback(),!1;r("click_link")};return e.$$set=e=>{"navigationItems"in e&&t(0,l=e.navigationItems),"type"in e&&t(1,i=e.type)},[l,i,o,a,function(n){S(e,n)},e=>a(e)]}class Ne extends le{constructor(e){super(),oe(this,e,Be,qe,a,{navigationItems:0,type:1})}}function Fe(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M4 6h16M4 12h16M4 18h16"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"viewBox","0 0 24 24"),_(t,"stroke","currentColor")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function Re(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}class De extends le{constructor(e){super(),oe(this,e,Re,Fe,a,{width:0,height:1})}}function We(e){let n,t;return n=new Ne({props:{type:e[1],navigationItems:e[0]}}),n.$on("click_link",e[5]),n.$on("click",e[6]),{c(){X(n.$$.fragment)},m(e,o){ee(n,e,o),t=!0},p(e,t){const o={};2&t&&(o.type=e[1]),1&t&&(o.navigationItems=e[0]),n.$set(o)},i(e){t||(K(n.$$.fragment,e),t=!0)},o(e){J(n.$$.fragment,e),t=!1},d(e){ne(n,e)}}}function Ge(e){let n,t,o,l,i,r,a,s,c,p,d,u,f,g,w,M,k,$,A,C,H,O;o=new Ae({props:{width:"3em",height:"3em"}}),c=new De({props:{width:"3em",height:"3em"}});let L=e[3]&&We(e);return g=new Ae({props:{width:"3em",height:"3em"}}),A=new Ne({props:{navigationItems:e[0],type:e[1]}}),{c(){n=m("div"),t=m("div"),X(o.$$.fragment),l=v(),i=m("h1"),r=j(e[2]),a=v(),s=m("button"),X(c.$$.fragment),p=v(),L&&L.c(),d=v(),u=m("div"),f=m("div"),X(g.$$.fragment),w=v(),M=m("h1"),k=j(e[2]),$=v(),X(A.$$.fragment),_(i,"class","svelte-lqwgm1"),_(t,"class","navigation--mobile__title-container svelte-lqwgm1"),_(s,"class","navigation--mobile__button svelte-lqwgm1"),_(n,"class","navigation--mobile svelte-lqwgm1"),_(M,"class","svelte-lqwgm1"),_(f,"class","navigation__title-container svelte-lqwgm1"),_(u,"class","navigation svelte-lqwgm1")},m(x,m){h(x,n,m),y(n,t),ee(o,t,null),y(t,l),y(t,i),y(i,r),y(n,a),y(n,s),ee(c,s,null),y(n,p),L&&L.m(n,null),h(x,d,m),h(x,u,m),y(u,f),ee(g,f,null),y(f,w),y(f,M),y(M,k),y(u,$),ee(A,u,null),C=!0,H||(O=b(s,"click",e[4]),H=!0)},p(e,[t]){(!C||4&t)&&z(r,e[2]),e[3]?L?(L.p(e,t),8&t&&K(L,1)):(L=We(e),L.c(),K(L,1),L.m(n,null)):L&&(U(),J(L,1,1,(()=>{L=null})),Y()),(!C||4&t)&&z(k,e[2]);const o={};1&t&&(o.navigationItems=e[0]),2&t&&(o.type=e[1]),A.$set(o)},i(e){C||(K(o.$$.fragment,e),K(c.$$.fragment,e),K(L),K(g.$$.fragment,e),K(A.$$.fragment,e),C=!0)},o(e){J(o.$$.fragment,e),J(c.$$.fragment,e),J(L),J(g.$$.fragment,e),J(A.$$.fragment,e),C=!1},d(e){e&&x(n),ne(o),ne(c),L&&L.d(),e&&x(d),e&&x(u),ne(g),ne(A),H=!1,O()}}}function Ze(e,n,t){let{navigationItems:o}=n,{type:l="topbar"}=n,{title:i}=n,r=!1;return e.$$set=e=>{"navigationItems"in e&&t(0,o=e.navigationItems),"type"in e&&t(1,l=e.type),"title"in e&&t(2,i=e.title)},[o,l,i,r,()=>t(3,r=!0),()=>t(3,r=!1),()=>t(3,r=!1)]}function Ue(e,n,t){const o=e.slice();return o[3]=n[t],o}function Ye(e,n,t){const o=e.slice();return o[6]=n[t].key,o[7]=n[t].renderComponent,o}function Ke(e,n,t){const o=e.slice();return o[10]=n[t],o}function Je(e){let n,t,o,l=e[10].title+"";return{c(){n=m("th"),t=j(l),o=v(),_(n,"class","data-table__header__cell svelte-1ju5y8t")},m(e,l){h(e,n,l),y(n,t),y(n,o)},p(e,n){2&n&&l!==(l=e[10].title+"")&&z(t,l)},d(e){e&&x(n)}}}function Qe(e){let t,o=e[3][e[6]]+"";return{c(){t=j(o)},m(e,n){h(e,t,n)},p(e,n){3&n&&o!==(o=e[3][e[6]]+"")&&z(t,o)},i:n,o:n,d(e){e&&x(t)}}}function Xe(e){let n,t,o;function l(){return e[2](e[7],e[3])}var i=e[7].component;return i&&(n=new i({}),n.$on("click",l)),{c(){n&&X(n.$$.fragment),t=w()},m(e,l){n&&ee(n,e,l),h(e,t,l),o=!0},p(o,r){if(i!==(i=(e=o)[7].component)){if(n){U();const e=n;J(e.$$.fragment,1,0,(()=>{ne(e,1)})),Y()}i?(n=new i({}),n.$on("click",l),X(n.$$.fragment),K(n.$$.fragment,1),ee(n,t.parentNode,t)):n=null}},i(e){o||(n&&K(n.$$.fragment,e),o=!0)},o(e){n&&J(n.$$.fragment,e),o=!1},d(e){e&&x(t),n&&ne(n,e)}}}function en(e){let n,t,o,l;const i=[Xe,Qe],r=[];function a(e,n){return e[7]?0:1}return t=a(e),o=r[t]=i[t](e),{c(){n=m("td"),o.c(),_(n,"class","data-table__body__cell svelte-1ju5y8t")},m(e,o){h(e,n,o),r[t].m(n,null),l=!0},p(e,l){let s=t;t=a(e),t===s?r[t].p(e,l):(U(),J(r[s],1,1,(()=>{r[s]=null})),Y(),o=r[t],o?o.p(e,l):(o=r[t]=i[t](e),o.c()),K(o,1),o.m(n,null))},i(e){l||(K(o),l=!0)},o(e){J(o),l=!1},d(e){e&&x(n),r[t].d()}}}function nn(e){let n,t,o,l=e[1],i=[];for(let n=0;n<l.length;n+=1)i[n]=en(Ye(e,l,n));const r=e=>J(i[e],1,1,(()=>{i[e]=null}));return{c(){n=m("tr");for(let e=0;e<i.length;e+=1)i[e].c();t=v(),_(n,"class","data-table__body__row")},m(e,l){h(e,n,l);for(let e=0;e<i.length;e+=1)i[e].m(n,null);y(n,t),o=!0},p(e,o){if(3&o){let a;for(l=e[1],a=0;a<l.length;a+=1){const r=Ye(e,l,a);i[a]?(i[a].p(r,o),K(i[a],1)):(i[a]=en(r),i[a].c(),K(i[a],1),i[a].m(n,t))}for(U(),a=l.length;a<i.length;a+=1)r(a);Y()}},i(e){if(!o){for(let e=0;e<l.length;e+=1)K(i[e]);o=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)J(i[e]);o=!1},d(e){e&&x(n),f(i,e)}}}function tn(e){let n,t,o,l,i,r,a=e[1],s=[];for(let n=0;n<a.length;n+=1)s[n]=Je(Ke(e,a,n));let c=e[0],p=[];for(let n=0;n<c.length;n+=1)p[n]=nn(Ue(e,c,n));const d=e=>J(p[e],1,1,(()=>{p[e]=null}));return{c(){n=m("table"),t=m("thead"),o=m("tr");for(let e=0;e<s.length;e+=1)s[e].c();l=v(),i=m("tbody");for(let e=0;e<p.length;e+=1)p[e].c();_(t,"class","data-table__header svelte-1ju5y8t"),_(i,"class","data-table__body"),_(n,"class","data-table svelte-1ju5y8t")},m(e,a){h(e,n,a),y(n,t),y(t,o);for(let e=0;e<s.length;e+=1)s[e].m(o,null);y(n,l),y(n,i);for(let e=0;e<p.length;e+=1)p[e].m(i,null);r=!0},p(e,[n]){if(2&n){let t;for(a=e[1],t=0;t<a.length;t+=1){const l=Ke(e,a,t);s[t]?s[t].p(l,n):(s[t]=Je(l),s[t].c(),s[t].m(o,null))}for(;t<s.length;t+=1)s[t].d(1);s.length=a.length}if(3&n){let t;for(c=e[0],t=0;t<c.length;t+=1){const o=Ue(e,c,t);p[t]?(p[t].p(o,n),K(p[t],1)):(p[t]=nn(o),p[t].c(),K(p[t],1),p[t].m(i,null))}for(U(),t=c.length;t<p.length;t+=1)d(t);Y()}},i(e){if(!r){for(let e=0;e<c.length;e+=1)K(p[e]);r=!0}},o(e){p=p.filter(Boolean);for(let e=0;e<p.length;e+=1)J(p[e]);r=!1},d(e){e&&x(n),f(s,e),f(p,e)}}}function on(e,n,t){let{rows:o}=n,{collumns:l}=n;return e.$$set=e=>{"rows"in e&&t(0,o=e.rows),"collumns"in e&&t(1,l=e.collumns)},[o,l,(e,n)=>e.props.onclick(n)]}function ln(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M12 4v16m8-8H4"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"height",e[1]),_(t,"width",e[0]),_(t,"fill","none"),_(t,"viewBox","0 0 24 24"),_(t,"stroke","currentColor")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){2&n&&_(t,"height",e[1]),1&n&&_(t,"width",e[0])},i:n,o:n,d(e){e&&x(t)}}}function rn(e,n,t){let{width:o="3rem"}=n,{height:l="3rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height)},[o,l]}function an(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"d","M12 10.2857C12 10.7404 11.8194 11.1764 11.4979 11.4979C11.1764 11.8194 10.7404 12 10.2857 12L3.10371 12C2.64909 11.9999 2.21313 11.8192 1.89171 11.4977L0.502286 10.1083C0.180773 9.78687 9.70432e-05 9.35091 -2.71336e-07 8.89629L-8.99207e-07 1.71429C-9.38954e-07 1.25963 0.180611 0.823595 0.502102 0.502104C0.823593 0.180613 1.25963 9.38953e-07 1.71428 8.99206e-07L10.2857 1.49868e-07C10.7404 1.1012e-07 11.1764 0.180612 11.4979 0.502103C11.8194 0.823594 12 1.25963 12 1.71429L12 10.2857ZM10.2857 11.1429C10.513 11.1429 10.7311 11.0526 10.8918 10.8918C11.0526 10.7311 11.1429 10.513 11.1429 10.2857L11.1429 1.71429C11.1429 1.48696 11.0526 1.26894 10.8918 1.10819C10.7311 0.947449 10.513 0.857143 10.2857 0.857143L10.2857 4.71429C10.2857 5.05528 10.1503 5.3823 9.90914 5.62342C9.66802 5.86454 9.34099 6 9 6L3 6C2.65901 6 2.33198 5.86454 2.09086 5.62342C1.84974 5.38231 1.71429 5.05528 1.71429 4.71429L1.71428 0.857143C1.48696 0.857143 1.26894 0.94745 1.10819 1.1082C0.947448 1.26894 0.857142 1.48696 0.857142 1.71429L0.857142 8.89629C0.857191 9.1236 0.947529 9.34158 1.10829 9.50229L2.49771 10.8917C2.65842 11.0525 2.8764 11.1428 3.10371 11.1429L3.42857 11.1429L3.42857 9C3.42857 8.65901 3.56403 8.33198 3.80515 8.09086C4.04627 7.84975 4.37329 7.71429 4.71429 7.71429L8.14286 7.71429C8.48385 7.71429 8.81088 7.84974 9.05199 8.09086C9.29311 8.33198 9.42857 8.65901 9.42857 9L9.42857 11.1429L10.2857 11.1429ZM8.57143 11.1429L8.57143 9C8.57143 8.88634 8.52628 8.77733 8.4459 8.69695C8.36553 8.61658 8.25652 8.57143 8.14286 8.57143L4.71429 8.57143C4.60062 8.57143 4.49161 8.61658 4.41124 8.69695C4.33087 8.77733 4.28571 8.88634 4.28571 9L4.28571 11.1429L8.57143 11.1429ZM2.57143 0.857143L2.57143 4.71429C2.57143 4.82795 2.61658 4.93696 2.69695 5.01733C2.77733 5.09771 2.88633 5.14286 3 5.14286L9 5.14286C9.11366 5.14286 9.22267 5.0977 9.30305 5.01733C9.38342 4.93696 9.42857 4.82795 9.42857 4.71429L9.42857 0.857143L2.57143 0.857143Z"),_(o,"fill",e[2]),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"viewBox","0 0 12 12"),_(t,"fill","none"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){4&n&&_(o,"fill",e[2]),1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1])},i:n,o:n,d(e){e&&x(t)}}}function sn(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n,{fill:i="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height),"fill"in e&&t(2,i=e.fill)},[o,l,i]}function cn(e){let t,o;return{c(){t=g("svg"),o=g("path"),_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"),_(t,"width",e[0]),_(t,"height",e[1]),_(t,"fill","none"),_(t,"stroke",e[2]),_(t,"viewBox","0 0 24 24"),_(t,"xmlns","http://www.w3.org/2000/svg")},m(e,n){h(e,t,n),y(t,o)},p(e,[n]){1&n&&_(t,"width",e[0]),2&n&&_(t,"height",e[1]),4&n&&_(t,"stroke",e[2])},i:n,o:n,d(e){e&&x(t)}}}function pn(e,n,t){let{width:o="5rem"}=n,{height:l="5rem"}=n,{stroke:i="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,l=e.height),"stroke"in e&&t(2,i=e.stroke)},[o,l,i]}function dn(e){let t,o,l,i,a;return{c(){t=m("div"),o=j(e[1]),_(t,"class",l=u(`alert alert--${e[0]}`)+" svelte-itln7g")},m(n,l){h(n,t,l),y(t,o),i||(a=b(t,"click",(function(){r(e[2])&&e[2].apply(this,arguments)})),i=!0)},p(n,[i]){e=n,2&i&&z(o,e[1]),1&i&&l!==(l=u(`alert alert--${e[0]}`)+" svelte-itln7g")&&_(t,"class",l)},i:n,o:n,d(e){e&&x(t),i=!1,a()}}}function un(e,n,t){let{type:o="success"}=n,{content:l}=n,{callback:i}=n;return e.$$set=e=>{"type"in e&&t(0,o=e.type),"content"in e&&t(1,l=e.content),"callback"in e&&t(2,i=e.callback)},[o,l,i]}return e.Alert=class extends le{constructor(e){super(),oe(this,e,un,dn,a,{type:0,content:1,callback:2})}},e.Button=class extends le{constructor(e){super(),oe(this,e,re,ie,a,{type:1,disabled:2,kind:3,size:4,id:5,node:0})}},e.DataTable=class extends le{constructor(e){super(),oe(this,e,on,tn,a,{rows:0,collumns:1})}},e.Icon=class extends le{constructor(e){super(),oe(this,e,ke,Me,a,{name:4,stroke:5,strokeWidth:6,width:0,height:1,color:2})}},e.IconFloppyDisk=class extends le{constructor(e){super(),oe(this,e,sn,an,a,{width:0,height:1,fill:2})}},e.IconInfo=class extends le{constructor(e){super(),oe(this,e,Oe,He,a,{width:0,height:1})}},e.IconMastodon=class extends le{constructor(e){super(),oe(this,e,Ve,Le,a,{width:0,height:1,fill:2})}},e.IconMore=class extends le{constructor(e){super(),oe(this,e,rn,ln,a,{width:0,height:1})}},e.IconTrashCan=class extends le{constructor(e){super(),oe(this,e,pn,cn,a,{width:0,height:1,stroke:2})}},e.Loader=class extends le{constructor(e){super(),oe(this,e,null,Ce,a,{})}},e.NavBar=Ne,e.Navigation=class extends le{constructor(e){super(),oe(this,e,Ze,Ge,a,{navigationItems:0,type:1,title:2})}},e.NumberInput=class extends le{constructor(e){super(),oe(this,e,ge,me,a,{id:1,label:2,placeholder:3,error:4,value:0,min:5,max:6})}},e.RadioButton=class extends le{constructor(e){super(),oe(this,e,he,ye,a,{label:5,value:2,group:0,name:3,checked:1})}get label(){return this.$$.ctx[5]}},e.TextInput=class extends le{constructor(e){super(),oe(this,e,ue,de,a,{TextType:11,id:1,type:12,label:2,placeholder:3,error:4,htmlError:5,value:0,onFocus:6,onBlur:7,readonly:8,border:9})}},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
package/lib/index.mjs
CHANGED
|
@@ -511,7 +511,7 @@ function create_fragment$h(ctx) {
|
|
|
511
511
|
button = element("button");
|
|
512
512
|
if (default_slot) default_slot.c();
|
|
513
513
|
attr(button, "id", /*id*/ ctx[5]);
|
|
514
|
-
attr(button, "class", button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-
|
|
514
|
+
attr(button, "class", button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-5qkkwb"));
|
|
515
515
|
attr(button, "type", /*type*/ ctx[1]);
|
|
516
516
|
button.disabled = /*disabled*/ ctx[2];
|
|
517
517
|
toggle_class(button, "disabled", /*disabled*/ ctx[2]);
|
|
@@ -542,7 +542,7 @@ function create_fragment$h(ctx) {
|
|
|
542
542
|
attr(button, "id", /*id*/ ctx[5]);
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
if (!current || dirty & /*size, kind*/ 24 && button_class_value !== (button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-
|
|
545
|
+
if (!current || dirty & /*size, kind*/ 24 && button_class_value !== (button_class_value = "" + (null_to_empty(`iroco-ui-button iroco-ui-button--${/*size*/ ctx[4]} iroco-ui-button--${/*kind*/ ctx[3]}`) + " svelte-5qkkwb"))) {
|
|
546
546
|
attr(button, "class", button_class_value);
|
|
547
547
|
}
|
|
548
548
|
|
|
@@ -646,7 +646,7 @@ function create_if_block_2(ctx) {
|
|
|
646
646
|
c() {
|
|
647
647
|
label_1 = element("label");
|
|
648
648
|
t = text(/*label*/ ctx[2]);
|
|
649
|
-
attr(label_1, "class", "iroco-ui-label svelte-
|
|
649
|
+
attr(label_1, "class", "iroco-ui-label svelte-1y0402x");
|
|
650
650
|
attr(label_1, "for", /*id*/ ctx[1]);
|
|
651
651
|
},
|
|
652
652
|
m(target, anchor) {
|
|
@@ -683,7 +683,7 @@ function create_if_block$4(ctx) {
|
|
|
683
683
|
p = element("p");
|
|
684
684
|
if_block.c();
|
|
685
685
|
attr(p, "data-testid", "error");
|
|
686
|
-
attr(p, "class", "error svelte-
|
|
686
|
+
attr(p, "class", "error svelte-1y0402x");
|
|
687
687
|
},
|
|
688
688
|
m(target, anchor) {
|
|
689
689
|
insert(target, p, anchor);
|
|
@@ -777,11 +777,11 @@ function create_fragment$g(ctx) {
|
|
|
777
777
|
attr(input, "type", "text");
|
|
778
778
|
attr(input, "placeholder", /*placeholder*/ ctx[3]);
|
|
779
779
|
input.readOnly = /*readonly*/ ctx[8];
|
|
780
|
-
attr(input, "class", "svelte-
|
|
780
|
+
attr(input, "class", "svelte-1y0402x");
|
|
781
781
|
toggle_class(input, "border", /*border*/ ctx[9]);
|
|
782
782
|
toggle_class(input, "error", /*error*/ ctx[4] !== null);
|
|
783
783
|
toggle_class(input, "readonlyInput", /*readonly*/ ctx[8] == true);
|
|
784
|
-
attr(div, "class", "iroco-ui-input svelte-
|
|
784
|
+
attr(div, "class", "iroco-ui-input svelte-1y0402x");
|
|
785
785
|
},
|
|
786
786
|
m(target, anchor) {
|
|
787
787
|
insert(target, div, anchor);
|
|
@@ -5378,7 +5378,7 @@ function create_fragment(ctx) {
|
|
|
5378
5378
|
c() {
|
|
5379
5379
|
div = element("div");
|
|
5380
5380
|
t = text(/*content*/ ctx[1]);
|
|
5381
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-
|
|
5381
|
+
attr(div, "class", div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-itln7g"));
|
|
5382
5382
|
},
|
|
5383
5383
|
m(target, anchor) {
|
|
5384
5384
|
insert(target, div, anchor);
|
|
@@ -5396,7 +5396,7 @@ function create_fragment(ctx) {
|
|
|
5396
5396
|
ctx = new_ctx;
|
|
5397
5397
|
if (dirty & /*content*/ 2) set_data(t, /*content*/ ctx[1]);
|
|
5398
5398
|
|
|
5399
|
-
if (dirty & /*type*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-
|
|
5399
|
+
if (dirty & /*type*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(`alert alert--${/*type*/ ctx[0]}`) + " svelte-itln7g"))) {
|
|
5400
5400
|
attr(div, "class", div_class_value);
|
|
5401
5401
|
}
|
|
5402
5402
|
},
|
package/lib/index.mjs.css
CHANGED
|
@@ -16,6 +16,21 @@ svg.svelte-1cuxg7m {
|
|
|
16
16
|
to {
|
|
17
17
|
transform: rotate(359deg); } }
|
|
18
18
|
|
|
19
|
+
.data-table.svelte-1ju5y8t {
|
|
20
|
+
border: 1px solid #464452;
|
|
21
|
+
width: 100%; }
|
|
22
|
+
|
|
23
|
+
.data-table__header.svelte-1ju5y8t {
|
|
24
|
+
font-size: 1.5em;
|
|
25
|
+
height: 4rem; }
|
|
26
|
+
|
|
27
|
+
.data-table__header__cell.svelte-1ju5y8t {
|
|
28
|
+
border-bottom: 1px solid #464452; }
|
|
29
|
+
|
|
30
|
+
.data-table__body__cell.svelte-1ju5y8t {
|
|
31
|
+
text-align: center;
|
|
32
|
+
vertical-align: middle; }
|
|
33
|
+
|
|
19
34
|
.iroco-ui-radio.svelte-156c82q.svelte-156c82q.svelte-156c82q {
|
|
20
35
|
color: #f2ebe3;
|
|
21
36
|
position: relative;
|
|
@@ -44,21 +59,21 @@ svg.svelte-1cuxg7m {
|
|
|
44
59
|
.iroco-ui-radio.svelte-156c82q input.svelte-156c82q:checked ~ .radio-button-color.svelte-156c82q {
|
|
45
60
|
background-color: #00D692; }
|
|
46
61
|
|
|
47
|
-
input.svelte-
|
|
62
|
+
input.svelte-1y0402x.svelte-1y0402x {
|
|
48
63
|
outline: none;
|
|
49
64
|
text-decoration: none;
|
|
50
65
|
font-size: 14px; }
|
|
51
66
|
|
|
52
|
-
input.svelte-
|
|
67
|
+
input.svelte-1y0402x.svelte-1y0402x:focus {
|
|
53
68
|
outline: none;
|
|
54
69
|
text-decoration: none;
|
|
55
70
|
font-size: 14px; }
|
|
56
71
|
|
|
57
|
-
.iroco-ui-input.svelte-
|
|
72
|
+
.iroco-ui-input.svelte-1y0402x.svelte-1y0402x {
|
|
58
73
|
display: flex;
|
|
59
74
|
flex-direction: column; }
|
|
60
75
|
|
|
61
|
-
.iroco-ui-input.svelte-
|
|
76
|
+
.iroco-ui-input.svelte-1y0402x > input.svelte-1y0402x {
|
|
62
77
|
color: #f2ebe3;
|
|
63
78
|
background: #211D28;
|
|
64
79
|
border: 1px solid #211D28;
|
|
@@ -66,30 +81,74 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
66
81
|
text-overflow: ellipsis;
|
|
67
82
|
white-space: nowrap;
|
|
68
83
|
overflow: hidden;
|
|
69
|
-
border-radius: 0.
|
|
84
|
+
border-radius: 0.3em; }
|
|
70
85
|
|
|
71
|
-
.iroco-ui-input.svelte-
|
|
86
|
+
.iroco-ui-input.svelte-1y0402x > input.border.svelte-1y0402x {
|
|
72
87
|
border: 1px solid #f2ebe3; }
|
|
73
88
|
|
|
74
|
-
.iroco-ui-input.svelte-
|
|
89
|
+
.iroco-ui-input.svelte-1y0402x > input.svelte-1y0402x::placeholder {
|
|
75
90
|
color: rgba(242, 235, 227, 0.5); }
|
|
76
91
|
|
|
77
|
-
.iroco-ui-input.svelte-
|
|
92
|
+
.iroco-ui-input.svelte-1y0402x > input.error.svelte-1y0402x {
|
|
78
93
|
border-color: #ff504d; }
|
|
79
94
|
|
|
80
|
-
.iroco-ui-input.svelte-
|
|
95
|
+
.iroco-ui-input.svelte-1y0402x > input.readonlyInput.svelte-1y0402x {
|
|
81
96
|
cursor: not-allowed; }
|
|
82
97
|
|
|
83
|
-
.iroco-ui-input.svelte-
|
|
98
|
+
.iroco-ui-input.svelte-1y0402x .error.svelte-1y0402x {
|
|
84
99
|
color: #ff504d; }
|
|
85
100
|
|
|
86
|
-
.iroco-ui-label.svelte-
|
|
101
|
+
.iroco-ui-label.svelte-1y0402x.svelte-1y0402x {
|
|
87
102
|
color: rgba(242, 235, 227, 0.6);
|
|
88
103
|
font-weight: bold;
|
|
89
104
|
padding-bottom: 10px;
|
|
90
105
|
display: inline-block; }
|
|
91
106
|
|
|
92
|
-
.
|
|
107
|
+
.navigation.svelte-lqwgm1.svelte-lqwgm1 {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
align-items: center;
|
|
112
|
+
width: 100%;
|
|
113
|
+
border-bottom: 1px solid #464452; }
|
|
114
|
+
|
|
115
|
+
.navigation--mobile.svelte-lqwgm1.svelte-lqwgm1 {
|
|
116
|
+
display: none; }
|
|
117
|
+
|
|
118
|
+
.navigation__title-container.svelte-lqwgm1.svelte-lqwgm1 {
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
padding-left: 1em; }
|
|
122
|
+
|
|
123
|
+
.navigation__title-container.svelte-lqwgm1 h1.svelte-lqwgm1 {
|
|
124
|
+
padding-left: 1em; }
|
|
125
|
+
|
|
126
|
+
@media all and (max-width: 768px) {
|
|
127
|
+
.navigation.svelte-lqwgm1.svelte-lqwgm1 {
|
|
128
|
+
display: none;
|
|
129
|
+
color: #f2ebe3; }
|
|
130
|
+
.navigation--mobile.svelte-lqwgm1.svelte-lqwgm1 {
|
|
131
|
+
display: flex;
|
|
132
|
+
padding: 0 1em;
|
|
133
|
+
justify-content: space-between;
|
|
134
|
+
position: fixed;
|
|
135
|
+
top: 0;
|
|
136
|
+
z-index: 1;
|
|
137
|
+
width: 100%;
|
|
138
|
+
border-bottom: 1px solid #464452; }
|
|
139
|
+
.navigation--mobile.svelte-lqwgm1 h1.svelte-lqwgm1 {
|
|
140
|
+
font-size: 2em; }
|
|
141
|
+
.navigation--mobile__button.svelte-lqwgm1.svelte-lqwgm1 {
|
|
142
|
+
background-color: transparent;
|
|
143
|
+
border: none;
|
|
144
|
+
color: #464452; }
|
|
145
|
+
.navigation--mobile__title-container.svelte-lqwgm1.svelte-lqwgm1 {
|
|
146
|
+
display: flex;
|
|
147
|
+
align-items: center; }
|
|
148
|
+
.navigation--mobile__title-container.svelte-lqwgm1 h1.svelte-lqwgm1 {
|
|
149
|
+
padding-left: 0.5em; } }
|
|
150
|
+
|
|
151
|
+
.container-wide.svelte-5qkkwb {
|
|
93
152
|
width: calc(100% - 20px);
|
|
94
153
|
max-width: 2360px;
|
|
95
154
|
margin-left: auto;
|
|
@@ -97,42 +156,42 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
97
156
|
transition: max-width ease-out 200ms; }
|
|
98
157
|
|
|
99
158
|
@media all and (max-width: 2560px) {
|
|
100
|
-
.container-wide.svelte-
|
|
159
|
+
.container-wide.svelte-5qkkwb {
|
|
101
160
|
max-width: 1620px; } }
|
|
102
161
|
|
|
103
162
|
@media all and (max-width: 1800px) {
|
|
104
|
-
.container-wide.svelte-
|
|
163
|
+
.container-wide.svelte-5qkkwb {
|
|
105
164
|
max-width: 1280px; } }
|
|
106
165
|
|
|
107
166
|
@media all and (max-width: 1440px) {
|
|
108
|
-
.container-wide.svelte-
|
|
167
|
+
.container-wide.svelte-5qkkwb {
|
|
109
168
|
max-width: 884px; } }
|
|
110
169
|
|
|
111
170
|
@media all and (max-width: 1024px) {
|
|
112
|
-
.container-wide.svelte-
|
|
171
|
+
.container-wide.svelte-5qkkwb {
|
|
113
172
|
max-width: 648px; } }
|
|
114
173
|
|
|
115
174
|
@media all and (max-width: 768px) {
|
|
116
|
-
.container-wide.svelte-
|
|
175
|
+
.container-wide.svelte-5qkkwb {
|
|
117
176
|
max-width: 496px; } }
|
|
118
177
|
|
|
119
178
|
@media all and (max-width: 596px) {
|
|
120
|
-
.container-wide.svelte-
|
|
179
|
+
.container-wide.svelte-5qkkwb {
|
|
121
180
|
max-width: 365px; } }
|
|
122
181
|
|
|
123
182
|
@media all and (max-width: 425px) {
|
|
124
|
-
.container-wide.svelte-
|
|
183
|
+
.container-wide.svelte-5qkkwb {
|
|
125
184
|
max-width: calc(100% - 60px); } }
|
|
126
185
|
|
|
127
186
|
@media all and (max-width: 375px) {
|
|
128
|
-
.container-wide.svelte-
|
|
187
|
+
.container-wide.svelte-5qkkwb {
|
|
129
188
|
max-width: calc(100% - 40px); } }
|
|
130
189
|
|
|
131
190
|
@media all and (max-width: 320px) {
|
|
132
|
-
.container-wide.svelte-
|
|
191
|
+
.container-wide.svelte-5qkkwb {
|
|
133
192
|
max-width: calc(100% - 20px); } }
|
|
134
193
|
|
|
135
|
-
.container-large.svelte-
|
|
194
|
+
.container-large.svelte-5qkkwb {
|
|
136
195
|
width: calc(100% - 20px);
|
|
137
196
|
max-width: 1280px;
|
|
138
197
|
margin-left: auto;
|
|
@@ -140,34 +199,34 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
140
199
|
transition: max-width ease-out 200ms; }
|
|
141
200
|
|
|
142
201
|
@media all and (max-width: 1440px) {
|
|
143
|
-
.container-large.svelte-
|
|
202
|
+
.container-large.svelte-5qkkwb {
|
|
144
203
|
max-width: 884px; } }
|
|
145
204
|
|
|
146
205
|
@media all and (max-width: 1024px) {
|
|
147
|
-
.container-large.svelte-
|
|
206
|
+
.container-large.svelte-5qkkwb {
|
|
148
207
|
max-width: 648px; } }
|
|
149
208
|
|
|
150
209
|
@media all and (max-width: 768px) {
|
|
151
|
-
.container-large.svelte-
|
|
210
|
+
.container-large.svelte-5qkkwb {
|
|
152
211
|
max-width: 496px; } }
|
|
153
212
|
|
|
154
213
|
@media all and (max-width: 596px) {
|
|
155
|
-
.container-large.svelte-
|
|
214
|
+
.container-large.svelte-5qkkwb {
|
|
156
215
|
max-width: 365px; } }
|
|
157
216
|
|
|
158
217
|
@media all and (max-width: 425px) {
|
|
159
|
-
.container-large.svelte-
|
|
218
|
+
.container-large.svelte-5qkkwb {
|
|
160
219
|
max-width: calc(100% - 60px); } }
|
|
161
220
|
|
|
162
221
|
@media all and (max-width: 375px) {
|
|
163
|
-
.container-large.svelte-
|
|
222
|
+
.container-large.svelte-5qkkwb {
|
|
164
223
|
max-width: calc(100% - 40px); } }
|
|
165
224
|
|
|
166
225
|
@media all and (max-width: 320px) {
|
|
167
|
-
.container-large.svelte-
|
|
226
|
+
.container-large.svelte-5qkkwb {
|
|
168
227
|
max-width: calc(100% - 20px); } }
|
|
169
228
|
|
|
170
|
-
.container-medium.svelte-
|
|
229
|
+
.container-medium.svelte-5qkkwb {
|
|
171
230
|
width: calc(100% - 20px);
|
|
172
231
|
max-width: 884px;
|
|
173
232
|
margin-left: auto;
|
|
@@ -175,30 +234,30 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
175
234
|
transition: max-width ease-out 200ms; }
|
|
176
235
|
|
|
177
236
|
@media all and (max-width: 1024px) {
|
|
178
|
-
.container-medium.svelte-
|
|
237
|
+
.container-medium.svelte-5qkkwb {
|
|
179
238
|
max-width: 648px; } }
|
|
180
239
|
|
|
181
240
|
@media all and (max-width: 768px) {
|
|
182
|
-
.container-medium.svelte-
|
|
241
|
+
.container-medium.svelte-5qkkwb {
|
|
183
242
|
max-width: 496px; } }
|
|
184
243
|
|
|
185
244
|
@media all and (max-width: 596px) {
|
|
186
|
-
.container-medium.svelte-
|
|
245
|
+
.container-medium.svelte-5qkkwb {
|
|
187
246
|
max-width: 365px; } }
|
|
188
247
|
|
|
189
248
|
@media all and (max-width: 425px) {
|
|
190
|
-
.container-medium.svelte-
|
|
249
|
+
.container-medium.svelte-5qkkwb {
|
|
191
250
|
max-width: calc(100% - 60px); } }
|
|
192
251
|
|
|
193
252
|
@media all and (max-width: 375px) {
|
|
194
|
-
.container-medium.svelte-
|
|
253
|
+
.container-medium.svelte-5qkkwb {
|
|
195
254
|
max-width: calc(100% - 40px); } }
|
|
196
255
|
|
|
197
256
|
@media all and (max-width: 320px) {
|
|
198
|
-
.container-medium.svelte-
|
|
257
|
+
.container-medium.svelte-5qkkwb {
|
|
199
258
|
max-width: calc(100% - 20px); } }
|
|
200
259
|
|
|
201
|
-
.container-small.svelte-
|
|
260
|
+
.container-small.svelte-5qkkwb {
|
|
202
261
|
width: calc(100% - 20px);
|
|
203
262
|
max-width: 496px;
|
|
204
263
|
margin-left: auto;
|
|
@@ -206,18 +265,18 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
206
265
|
transition: max-width ease-out 200ms; }
|
|
207
266
|
|
|
208
267
|
@media all and (max-width: 425px) {
|
|
209
|
-
.container-small.svelte-
|
|
268
|
+
.container-small.svelte-5qkkwb {
|
|
210
269
|
max-width: calc(100% - 60px); } }
|
|
211
270
|
|
|
212
271
|
@media all and (max-width: 375px) {
|
|
213
|
-
.container-small.svelte-
|
|
272
|
+
.container-small.svelte-5qkkwb {
|
|
214
273
|
max-width: calc(100% - 40px); } }
|
|
215
274
|
|
|
216
275
|
@media all and (max-width: 320px) {
|
|
217
|
-
.container-small.svelte-
|
|
276
|
+
.container-small.svelte-5qkkwb {
|
|
218
277
|
max-width: calc(100% - 20px); } }
|
|
219
278
|
|
|
220
|
-
.iroco-ui-button.svelte-
|
|
279
|
+
.iroco-ui-button.svelte-5qkkwb {
|
|
221
280
|
cursor: pointer;
|
|
222
281
|
-webkit-touch-callout: none;
|
|
223
282
|
-webkit-user-select: none;
|
|
@@ -229,42 +288,43 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
229
288
|
flex-shrink: 0;
|
|
230
289
|
margin: 1em 0em;
|
|
231
290
|
position: relative;
|
|
232
|
-
text-transform: uppercase;
|
|
291
|
+
text-transform: uppercase;
|
|
292
|
+
border-radius: 0.3em; }
|
|
233
293
|
|
|
234
|
-
.iroco-ui-button--basic.svelte-
|
|
294
|
+
.iroco-ui-button--basic.svelte-5qkkwb {
|
|
235
295
|
background: #f2ebe3;
|
|
236
296
|
border: 1px solid #18151E; }
|
|
237
297
|
|
|
238
|
-
.iroco-ui-button--dark.svelte-
|
|
298
|
+
.iroco-ui-button--dark.svelte-5qkkwb {
|
|
239
299
|
background: #18151E;
|
|
240
300
|
color: #f2ebe3; }
|
|
241
301
|
|
|
242
|
-
.iroco-ui-button--success.svelte-
|
|
302
|
+
.iroco-ui-button--success.svelte-5qkkwb {
|
|
243
303
|
background: #00D692; }
|
|
244
304
|
|
|
245
|
-
.iroco-ui-button--danger.svelte-
|
|
305
|
+
.iroco-ui-button--danger.svelte-5qkkwb {
|
|
246
306
|
background: #ff504d; }
|
|
247
307
|
|
|
248
|
-
.iroco-ui-button--regular.svelte-
|
|
308
|
+
.iroco-ui-button--regular.svelte-5qkkwb {
|
|
249
309
|
padding: 1em 2em; }
|
|
250
310
|
|
|
251
|
-
.iroco-ui-button--small.svelte-
|
|
311
|
+
.iroco-ui-button--small.svelte-5qkkwb {
|
|
252
312
|
padding: 0.5em 1em; }
|
|
253
313
|
|
|
254
|
-
.iroco-ui-button--basic.svelte-
|
|
314
|
+
.iroco-ui-button--basic.svelte-5qkkwb:hover, .iroco-ui-button--success.svelte-5qkkwb:hover, .iroco-ui-button--danger.svelte-5qkkwb:hover {
|
|
255
315
|
box-shadow: inset 0 0 0 10em rgba(0, 0, 0, 0.2); }
|
|
256
316
|
|
|
257
|
-
.iroco-ui-button--dark.svelte-
|
|
317
|
+
.iroco-ui-button--dark.svelte-5qkkwb:hover {
|
|
258
318
|
box-shadow: inset 0 0 0 10em rgba(255, 255, 255, 0.2); }
|
|
259
319
|
|
|
260
|
-
.iroco-ui-button.svelte-
|
|
320
|
+
.iroco-ui-button.svelte-5qkkwb:active {
|
|
261
321
|
box-shadow: none; }
|
|
262
322
|
|
|
263
|
-
.iroco-ui-button.disabled.svelte-
|
|
323
|
+
.iroco-ui-button.disabled.svelte-5qkkwb {
|
|
264
324
|
background-color: #f5f5f5;
|
|
265
325
|
cursor: default; }
|
|
266
326
|
|
|
267
|
-
.iroco-ui-button.disabled.svelte-
|
|
327
|
+
.iroco-ui-button.disabled.svelte-5qkkwb:hover {
|
|
268
328
|
box-shadow: none; }
|
|
269
329
|
|
|
270
330
|
.container-wide.svelte-1c8sozl.svelte-1c8sozl {
|
|
@@ -485,80 +545,21 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
485
545
|
@use "fonts";
|
|
486
546
|
@use "forms";
|
|
487
547
|
@use "layouts";
|
|
488
|
-
.
|
|
489
|
-
border: 1px solid #464452;
|
|
490
|
-
width: 100%; }
|
|
491
|
-
|
|
492
|
-
.data-table__header.svelte-1ju5y8t {
|
|
493
|
-
font-size: 1.5em;
|
|
494
|
-
height: 4rem; }
|
|
495
|
-
|
|
496
|
-
.data-table__header__cell.svelte-1ju5y8t {
|
|
497
|
-
border-bottom: 1px solid #464452; }
|
|
498
|
-
|
|
499
|
-
.data-table__body__cell.svelte-1ju5y8t {
|
|
500
|
-
text-align: center;
|
|
501
|
-
vertical-align: middle; }
|
|
502
|
-
|
|
503
|
-
.alert.svelte-1oun6o6 {
|
|
548
|
+
.alert.svelte-itln7g {
|
|
504
549
|
min-height: 2em;
|
|
505
550
|
display: inline-flex;
|
|
506
551
|
align-items: center;
|
|
507
|
-
border-radius: 0.
|
|
552
|
+
border-radius: 0.3em;
|
|
508
553
|
padding: 0 1em 0 1em;
|
|
509
554
|
font-size: 1.2em;
|
|
510
555
|
justify-content: center;
|
|
511
556
|
margin-bottom: 1em;
|
|
512
557
|
cursor: pointer; }
|
|
513
558
|
|
|
514
|
-
.alert--danger.svelte-
|
|
559
|
+
.alert--danger.svelte-itln7g {
|
|
515
560
|
background-color: rgba(255, 80, 77, 0.5);
|
|
516
561
|
border: 1px solid #ff504d; }
|
|
517
562
|
|
|
518
|
-
.alert--success.svelte-
|
|
563
|
+
.alert--success.svelte-itln7g {
|
|
519
564
|
background-color: rgba(0, 214, 146, 0.5);
|
|
520
565
|
border: 1px solid #00D692; }
|
|
521
|
-
|
|
522
|
-
.navigation.svelte-lqwgm1.svelte-lqwgm1 {
|
|
523
|
-
display: flex;
|
|
524
|
-
flex-direction: row;
|
|
525
|
-
justify-content: space-between;
|
|
526
|
-
align-items: center;
|
|
527
|
-
width: 100%;
|
|
528
|
-
border-bottom: 1px solid #464452; }
|
|
529
|
-
|
|
530
|
-
.navigation--mobile.svelte-lqwgm1.svelte-lqwgm1 {
|
|
531
|
-
display: none; }
|
|
532
|
-
|
|
533
|
-
.navigation__title-container.svelte-lqwgm1.svelte-lqwgm1 {
|
|
534
|
-
display: flex;
|
|
535
|
-
align-items: center;
|
|
536
|
-
padding-left: 1em; }
|
|
537
|
-
|
|
538
|
-
.navigation__title-container.svelte-lqwgm1 h1.svelte-lqwgm1 {
|
|
539
|
-
padding-left: 1em; }
|
|
540
|
-
|
|
541
|
-
@media all and (max-width: 768px) {
|
|
542
|
-
.navigation.svelte-lqwgm1.svelte-lqwgm1 {
|
|
543
|
-
display: none;
|
|
544
|
-
color: #f2ebe3; }
|
|
545
|
-
.navigation--mobile.svelte-lqwgm1.svelte-lqwgm1 {
|
|
546
|
-
display: flex;
|
|
547
|
-
padding: 0 1em;
|
|
548
|
-
justify-content: space-between;
|
|
549
|
-
position: fixed;
|
|
550
|
-
top: 0;
|
|
551
|
-
z-index: 1;
|
|
552
|
-
width: 100%;
|
|
553
|
-
border-bottom: 1px solid #464452; }
|
|
554
|
-
.navigation--mobile.svelte-lqwgm1 h1.svelte-lqwgm1 {
|
|
555
|
-
font-size: 2em; }
|
|
556
|
-
.navigation--mobile__button.svelte-lqwgm1.svelte-lqwgm1 {
|
|
557
|
-
background-color: transparent;
|
|
558
|
-
border: none;
|
|
559
|
-
color: #464452; }
|
|
560
|
-
.navigation--mobile__title-container.svelte-lqwgm1.svelte-lqwgm1 {
|
|
561
|
-
display: flex;
|
|
562
|
-
align-items: center; }
|
|
563
|
-
.navigation--mobile__title-container.svelte-lqwgm1 h1.svelte-lqwgm1 {
|
|
564
|
-
padding-left: 0.5em; } }
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$border-radius: 0.3em
|
package/src/Alert.svelte
CHANGED
|
@@ -11,11 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
<style lang="scss">
|
|
13
13
|
@use '../scss/colors';
|
|
14
|
+
@use '../scss/constants';
|
|
14
15
|
.alert {
|
|
15
16
|
min-height: 2em;
|
|
16
17
|
display: inline-flex;
|
|
17
18
|
align-items: center;
|
|
18
|
-
border-radius:
|
|
19
|
+
border-radius: constants.$border-radius;
|
|
19
20
|
padding: 0 1em 0 1em;
|
|
20
21
|
font-size: 1.2em;
|
|
21
22
|
justify-content: center;
|
package/src/Button.svelte
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
@use '../scss/colors';
|
|
24
24
|
@use '../scss/fonts';
|
|
25
25
|
@use '../scss/containers';
|
|
26
|
+
@use '../scss/constants';
|
|
26
27
|
|
|
27
28
|
.iroco-ui-button {
|
|
28
29
|
cursor: pointer;
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
margin: 1em 0em;
|
|
38
39
|
position: relative;
|
|
39
40
|
text-transform: uppercase;
|
|
41
|
+
border-radius: constants.$border-radius;
|
|
40
42
|
|
|
41
43
|
&--basic {
|
|
42
44
|
background: colors.$beige;
|
package/src/TextInput.svelte
CHANGED
|
@@ -53,6 +53,8 @@
|
|
|
53
53
|
|
|
54
54
|
<style lang="scss">
|
|
55
55
|
@use "../scss/colors";
|
|
56
|
+
@use "../scss/constants";
|
|
57
|
+
|
|
56
58
|
input,
|
|
57
59
|
textarea {
|
|
58
60
|
outline: none;
|
|
@@ -78,7 +80,7 @@
|
|
|
78
80
|
text-overflow: ellipsis;
|
|
79
81
|
white-space: nowrap;
|
|
80
82
|
overflow: hidden;
|
|
81
|
-
border-radius:
|
|
83
|
+
border-radius: constants.$border-radius;
|
|
82
84
|
|
|
83
85
|
&.border {
|
|
84
86
|
border: 1px solid colors.$beige;
|