@iroco/ui 0.9.1 → 0.10.0
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/index.js +60 -169
- package/lib/index.min.js +3 -3
- package/lib/index.mjs +60 -169
- package/lib/index.mjs.css +54 -53
- package/package.json +1 -1
- package/src/Button.svelte +6 -2
- package/src/SideBar.svelte +0 -1
package/lib/index.js
CHANGED
|
@@ -175,37 +175,6 @@
|
|
|
175
175
|
e.initCustomEvent(type, false, false, detail);
|
|
176
176
|
return e;
|
|
177
177
|
}
|
|
178
|
-
class HtmlTag {
|
|
179
|
-
constructor(anchor = null) {
|
|
180
|
-
this.a = anchor;
|
|
181
|
-
this.e = this.n = null;
|
|
182
|
-
}
|
|
183
|
-
m(html, target, anchor = null) {
|
|
184
|
-
if (!this.e) {
|
|
185
|
-
this.e = element(target.nodeName);
|
|
186
|
-
this.t = target;
|
|
187
|
-
this.h(html);
|
|
188
|
-
}
|
|
189
|
-
this.i(anchor);
|
|
190
|
-
}
|
|
191
|
-
h(html) {
|
|
192
|
-
this.e.innerHTML = html;
|
|
193
|
-
this.n = Array.from(this.e.childNodes);
|
|
194
|
-
}
|
|
195
|
-
i(anchor) {
|
|
196
|
-
for (let i = 0; i < this.n.length; i += 1) {
|
|
197
|
-
insert(this.t, this.n[i], anchor);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
p(html) {
|
|
201
|
-
this.d();
|
|
202
|
-
this.h(html);
|
|
203
|
-
this.i(this.a);
|
|
204
|
-
}
|
|
205
|
-
d() {
|
|
206
|
-
this.n.forEach(detach);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
178
|
|
|
210
179
|
let current_component;
|
|
211
180
|
function set_current_component(component) {
|
|
@@ -629,7 +598,7 @@
|
|
|
629
598
|
|
|
630
599
|
/* src/TextInput.svelte generated by Svelte v3.38.2 */
|
|
631
600
|
|
|
632
|
-
function
|
|
601
|
+
function create_if_block_1$1(ctx) {
|
|
633
602
|
let label_1;
|
|
634
603
|
let t;
|
|
635
604
|
|
|
@@ -657,91 +626,28 @@
|
|
|
657
626
|
};
|
|
658
627
|
}
|
|
659
628
|
|
|
660
|
-
// (
|
|
629
|
+
// (40:1) {#if error != null}
|
|
661
630
|
function create_if_block$4(ctx) {
|
|
662
631
|
let p;
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
if (/*htmlError*/ ctx[5]) return create_if_block_1$1;
|
|
666
|
-
return create_else_block$1;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
let current_block_type = select_block_type(ctx);
|
|
670
|
-
let if_block = current_block_type(ctx);
|
|
632
|
+
let t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
633
|
+
let t;
|
|
671
634
|
|
|
672
635
|
return {
|
|
673
636
|
c() {
|
|
674
637
|
p = element("p");
|
|
675
|
-
|
|
638
|
+
t = text(t_value);
|
|
676
639
|
attr(p, "data-testid", "error");
|
|
677
640
|
attr(p, "class", "error svelte-11iawkb");
|
|
678
641
|
},
|
|
679
642
|
m(target, anchor) {
|
|
680
643
|
insert(target, p, anchor);
|
|
681
|
-
|
|
682
|
-
},
|
|
683
|
-
p(ctx, dirty) {
|
|
684
|
-
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
685
|
-
if_block.p(ctx, dirty);
|
|
686
|
-
} else {
|
|
687
|
-
if_block.d(1);
|
|
688
|
-
if_block = current_block_type(ctx);
|
|
689
|
-
|
|
690
|
-
if (if_block) {
|
|
691
|
-
if_block.c();
|
|
692
|
-
if_block.m(p, null);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
d(detaching) {
|
|
697
|
-
if (detaching) detach(p);
|
|
698
|
-
if_block.d();
|
|
699
|
-
}
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
// (45:3) {:else}
|
|
704
|
-
function create_else_block$1(ctx) {
|
|
705
|
-
let t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
706
|
-
let t;
|
|
707
|
-
|
|
708
|
-
return {
|
|
709
|
-
c() {
|
|
710
|
-
t = text(t_value);
|
|
711
|
-
},
|
|
712
|
-
m(target, anchor) {
|
|
713
|
-
insert(target, t, anchor);
|
|
644
|
+
append(p, t);
|
|
714
645
|
},
|
|
715
646
|
p(ctx, dirty) {
|
|
716
647
|
if (dirty & /*error*/ 16 && t_value !== (t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "")) set_data(t, t_value);
|
|
717
648
|
},
|
|
718
649
|
d(detaching) {
|
|
719
|
-
if (detaching) detach(
|
|
720
|
-
}
|
|
721
|
-
};
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
// (43:3) {#if htmlError}
|
|
725
|
-
function create_if_block_1$1(ctx) {
|
|
726
|
-
let html_tag;
|
|
727
|
-
let raw_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
728
|
-
let html_anchor;
|
|
729
|
-
|
|
730
|
-
return {
|
|
731
|
-
c() {
|
|
732
|
-
html_anchor = empty();
|
|
733
|
-
html_tag = new HtmlTag(html_anchor);
|
|
734
|
-
},
|
|
735
|
-
m(target, anchor) {
|
|
736
|
-
html_tag.m(raw_value, target, anchor);
|
|
737
|
-
insert(target, html_anchor, anchor);
|
|
738
|
-
},
|
|
739
|
-
p(ctx, dirty) {
|
|
740
|
-
if (dirty & /*error*/ 16 && raw_value !== (raw_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "")) html_tag.p(raw_value);
|
|
741
|
-
},
|
|
742
|
-
d(detaching) {
|
|
743
|
-
if (detaching) detach(html_anchor);
|
|
744
|
-
if (detaching) html_tag.d();
|
|
650
|
+
if (detaching) detach(p);
|
|
745
651
|
}
|
|
746
652
|
};
|
|
747
653
|
}
|
|
@@ -753,7 +659,7 @@
|
|
|
753
659
|
let t1;
|
|
754
660
|
let mounted;
|
|
755
661
|
let dispose;
|
|
756
|
-
let if_block0 = /*label*/ ctx[2] &&
|
|
662
|
+
let if_block0 = /*label*/ ctx[2] && create_if_block_1$1(ctx);
|
|
757
663
|
let if_block1 = /*error*/ ctx[4] != null && create_if_block$4(ctx);
|
|
758
664
|
|
|
759
665
|
return {
|
|
@@ -767,11 +673,11 @@
|
|
|
767
673
|
attr(input, "id", /*id*/ ctx[1]);
|
|
768
674
|
attr(input, "type", "text");
|
|
769
675
|
attr(input, "placeholder", /*placeholder*/ ctx[3]);
|
|
770
|
-
input.readOnly = /*readonly*/ ctx[
|
|
676
|
+
input.readOnly = /*readonly*/ ctx[7];
|
|
771
677
|
attr(input, "class", "svelte-11iawkb");
|
|
772
|
-
toggle_class(input, "border", /*border*/ ctx[
|
|
678
|
+
toggle_class(input, "border", /*border*/ ctx[8]);
|
|
773
679
|
toggle_class(input, "error", /*error*/ ctx[4] !== null);
|
|
774
|
-
toggle_class(input, "readonlyInput", /*readonly*/ ctx[
|
|
680
|
+
toggle_class(input, "readonlyInput", /*readonly*/ ctx[7] == true);
|
|
775
681
|
attr(div, "class", "iroco-ui-input svelte-11iawkb");
|
|
776
682
|
},
|
|
777
683
|
m(target, anchor) {
|
|
@@ -785,15 +691,15 @@
|
|
|
785
691
|
|
|
786
692
|
if (!mounted) {
|
|
787
693
|
dispose = [
|
|
788
|
-
listen(input, "input", /*input_handler*/ ctx[
|
|
789
|
-
listen(input, "input", /*input_input_handler*/ ctx[
|
|
694
|
+
listen(input, "input", /*input_handler*/ ctx[12]),
|
|
695
|
+
listen(input, "input", /*input_input_handler*/ ctx[13]),
|
|
790
696
|
listen(input, "focus", function () {
|
|
791
|
-
if (is_function(/*onFocus*/ ctx[
|
|
697
|
+
if (is_function(/*onFocus*/ ctx[5])) /*onFocus*/ ctx[5].apply(this, arguments);
|
|
792
698
|
}),
|
|
793
699
|
listen(input, "blur", function () {
|
|
794
|
-
if (is_function(/*onBlur*/ ctx[
|
|
700
|
+
if (is_function(/*onBlur*/ ctx[6])) /*onBlur*/ ctx[6].apply(this, arguments);
|
|
795
701
|
}),
|
|
796
|
-
action_destroyer(/*typeAction*/ ctx[
|
|
702
|
+
action_destroyer(/*typeAction*/ ctx[9].call(null, input))
|
|
797
703
|
];
|
|
798
704
|
|
|
799
705
|
mounted = true;
|
|
@@ -806,7 +712,7 @@
|
|
|
806
712
|
if (if_block0) {
|
|
807
713
|
if_block0.p(ctx, dirty);
|
|
808
714
|
} else {
|
|
809
|
-
if_block0 =
|
|
715
|
+
if_block0 = create_if_block_1$1(ctx);
|
|
810
716
|
if_block0.c();
|
|
811
717
|
if_block0.m(div, t0);
|
|
812
718
|
}
|
|
@@ -823,24 +729,24 @@
|
|
|
823
729
|
attr(input, "placeholder", /*placeholder*/ ctx[3]);
|
|
824
730
|
}
|
|
825
731
|
|
|
826
|
-
if (dirty & /*readonly*/
|
|
827
|
-
input.readOnly = /*readonly*/ ctx[
|
|
732
|
+
if (dirty & /*readonly*/ 128) {
|
|
733
|
+
input.readOnly = /*readonly*/ ctx[7];
|
|
828
734
|
}
|
|
829
735
|
|
|
830
736
|
if (dirty & /*value*/ 1 && input.value !== /*value*/ ctx[0]) {
|
|
831
737
|
set_input_value(input, /*value*/ ctx[0]);
|
|
832
738
|
}
|
|
833
739
|
|
|
834
|
-
if (dirty & /*border*/
|
|
835
|
-
toggle_class(input, "border", /*border*/ ctx[
|
|
740
|
+
if (dirty & /*border*/ 256) {
|
|
741
|
+
toggle_class(input, "border", /*border*/ ctx[8]);
|
|
836
742
|
}
|
|
837
743
|
|
|
838
744
|
if (dirty & /*error*/ 16) {
|
|
839
745
|
toggle_class(input, "error", /*error*/ ctx[4] !== null);
|
|
840
746
|
}
|
|
841
747
|
|
|
842
|
-
if (dirty & /*readonly*/
|
|
843
|
-
toggle_class(input, "readonlyInput", /*readonly*/ ctx[
|
|
748
|
+
if (dirty & /*readonly*/ 128) {
|
|
749
|
+
toggle_class(input, "readonlyInput", /*readonly*/ ctx[7] == true);
|
|
844
750
|
}
|
|
845
751
|
|
|
846
752
|
if (/*error*/ ctx[4] != null) {
|
|
@@ -882,7 +788,6 @@
|
|
|
882
788
|
let { label = null } = $$props;
|
|
883
789
|
let { placeholder } = $$props;
|
|
884
790
|
let { error = null } = $$props;
|
|
885
|
-
let { htmlError = false } = $$props;
|
|
886
791
|
let { value = null } = $$props;
|
|
887
792
|
let { onFocus } = $$props;
|
|
888
793
|
let { onBlur } = $$props;
|
|
@@ -903,18 +808,17 @@
|
|
|
903
808
|
}
|
|
904
809
|
|
|
905
810
|
$$self.$$set = $$props => {
|
|
906
|
-
if ("TextType" in $$props) $$invalidate(
|
|
811
|
+
if ("TextType" in $$props) $$invalidate(10, TextType = $$props.TextType);
|
|
907
812
|
if ("id" in $$props) $$invalidate(1, id = $$props.id);
|
|
908
|
-
if ("type" in $$props) $$invalidate(
|
|
813
|
+
if ("type" in $$props) $$invalidate(11, type = $$props.type);
|
|
909
814
|
if ("label" in $$props) $$invalidate(2, label = $$props.label);
|
|
910
815
|
if ("placeholder" in $$props) $$invalidate(3, placeholder = $$props.placeholder);
|
|
911
816
|
if ("error" in $$props) $$invalidate(4, error = $$props.error);
|
|
912
|
-
if ("htmlError" in $$props) $$invalidate(5, htmlError = $$props.htmlError);
|
|
913
817
|
if ("value" in $$props) $$invalidate(0, value = $$props.value);
|
|
914
|
-
if ("onFocus" in $$props) $$invalidate(
|
|
915
|
-
if ("onBlur" in $$props) $$invalidate(
|
|
916
|
-
if ("readonly" in $$props) $$invalidate(
|
|
917
|
-
if ("border" in $$props) $$invalidate(
|
|
818
|
+
if ("onFocus" in $$props) $$invalidate(5, onFocus = $$props.onFocus);
|
|
819
|
+
if ("onBlur" in $$props) $$invalidate(6, onBlur = $$props.onBlur);
|
|
820
|
+
if ("readonly" in $$props) $$invalidate(7, readonly = $$props.readonly);
|
|
821
|
+
if ("border" in $$props) $$invalidate(8, border = $$props.border);
|
|
918
822
|
};
|
|
919
823
|
|
|
920
824
|
return [
|
|
@@ -923,7 +827,6 @@
|
|
|
923
827
|
label,
|
|
924
828
|
placeholder,
|
|
925
829
|
error,
|
|
926
|
-
htmlError,
|
|
927
830
|
onFocus,
|
|
928
831
|
onBlur,
|
|
929
832
|
readonly,
|
|
@@ -941,18 +844,17 @@
|
|
|
941
844
|
super();
|
|
942
845
|
|
|
943
846
|
init(this, options, instance$e, create_fragment$f, safe_not_equal, {
|
|
944
|
-
TextType:
|
|
847
|
+
TextType: 10,
|
|
945
848
|
id: 1,
|
|
946
|
-
type:
|
|
849
|
+
type: 11,
|
|
947
850
|
label: 2,
|
|
948
851
|
placeholder: 3,
|
|
949
852
|
error: 4,
|
|
950
|
-
htmlError: 5,
|
|
951
853
|
value: 0,
|
|
952
|
-
onFocus:
|
|
953
|
-
onBlur:
|
|
954
|
-
readonly:
|
|
955
|
-
border:
|
|
854
|
+
onFocus: 5,
|
|
855
|
+
onBlur: 6,
|
|
856
|
+
readonly: 7,
|
|
857
|
+
border: 8
|
|
956
858
|
});
|
|
957
859
|
}
|
|
958
860
|
}
|
|
@@ -4100,15 +4002,16 @@
|
|
|
4100
4002
|
|
|
4101
4003
|
function get_each_context$1(ctx, list, i) {
|
|
4102
4004
|
const child_ctx = ctx.slice();
|
|
4103
|
-
child_ctx[6] = list[i];
|
|
4005
|
+
child_ctx[6] = list[i].destination;
|
|
4006
|
+
child_ctx[7] = list[i].name;
|
|
4104
4007
|
return child_ctx;
|
|
4105
4008
|
}
|
|
4106
4009
|
|
|
4107
|
-
// (
|
|
4010
|
+
// (19:2) {#each navigationItems as { destination, name }}
|
|
4108
4011
|
function create_each_block$1(ctx) {
|
|
4109
4012
|
let li;
|
|
4110
4013
|
let a;
|
|
4111
|
-
let t0_value = /*
|
|
4014
|
+
let t0_value = /*name*/ ctx[7] + "";
|
|
4112
4015
|
let t0;
|
|
4113
4016
|
let a_href_value;
|
|
4114
4017
|
let t1;
|
|
@@ -4116,7 +4019,7 @@
|
|
|
4116
4019
|
let dispose;
|
|
4117
4020
|
|
|
4118
4021
|
function click_handler_1() {
|
|
4119
|
-
return /*click_handler_1*/ ctx[4](/*
|
|
4022
|
+
return /*click_handler_1*/ ctx[4](/*destination*/ ctx[6]);
|
|
4120
4023
|
}
|
|
4121
4024
|
|
|
4122
4025
|
return {
|
|
@@ -4125,14 +4028,10 @@
|
|
|
4125
4028
|
a = element("a");
|
|
4126
4029
|
t0 = text(t0_value);
|
|
4127
4030
|
t1 = space();
|
|
4128
|
-
|
|
4129
|
-
attr(a, "
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
attr(a, "class", "svelte-jkys2k");
|
|
4134
|
-
attr(li, "class", "account__sidebar__item svelte-jkys2k");
|
|
4135
|
-
toggle_class(li, "active", /*active*/ ctx[1] === /*item*/ ctx[6].name);
|
|
4031
|
+
attr(a, "href", a_href_value = /*destination*/ ctx[6]);
|
|
4032
|
+
attr(a, "class", "svelte-1rx212l");
|
|
4033
|
+
attr(li, "class", "account__sidebar__item svelte-1rx212l");
|
|
4034
|
+
toggle_class(li, "active", /*active*/ ctx[1] === /*destination*/ ctx[6]);
|
|
4136
4035
|
},
|
|
4137
4036
|
m(target, anchor) {
|
|
4138
4037
|
insert(target, li, anchor);
|
|
@@ -4147,16 +4046,14 @@
|
|
|
4147
4046
|
},
|
|
4148
4047
|
p(new_ctx, dirty) {
|
|
4149
4048
|
ctx = new_ctx;
|
|
4150
|
-
if (dirty & /*navigationItems*/ 1 && t0_value !== (t0_value = /*
|
|
4049
|
+
if (dirty & /*navigationItems*/ 1 && t0_value !== (t0_value = /*name*/ ctx[7] + "")) set_data(t0, t0_value);
|
|
4151
4050
|
|
|
4152
|
-
if (dirty & /*navigationItems*/ 1 && a_href_value !== (a_href_value =
|
|
4153
|
-
? /*item*/ ctx[6].hrefOrCallback
|
|
4154
|
-
: "#")) {
|
|
4051
|
+
if (dirty & /*navigationItems*/ 1 && a_href_value !== (a_href_value = /*destination*/ ctx[6])) {
|
|
4155
4052
|
attr(a, "href", a_href_value);
|
|
4156
4053
|
}
|
|
4157
4054
|
|
|
4158
4055
|
if (dirty & /*active, navigationItems*/ 3) {
|
|
4159
|
-
toggle_class(li, "active", /*active*/ ctx[1] === /*
|
|
4056
|
+
toggle_class(li, "active", /*active*/ ctx[1] === /*destination*/ ctx[6]);
|
|
4160
4057
|
}
|
|
4161
4058
|
},
|
|
4162
4059
|
d(detaching) {
|
|
@@ -4196,10 +4093,10 @@
|
|
|
4196
4093
|
each_blocks[i].c();
|
|
4197
4094
|
}
|
|
4198
4095
|
|
|
4199
|
-
attr(button, "class", "account__sidebar__close svelte-
|
|
4200
|
-
attr(ul, "class", "account__sidebar__item_container svelte-
|
|
4096
|
+
attr(button, "class", "account__sidebar__close svelte-1rx212l");
|
|
4097
|
+
attr(ul, "class", "account__sidebar__item_container svelte-1rx212l");
|
|
4201
4098
|
attr(nav, "data-testid", "sidebar");
|
|
4202
|
-
attr(nav, "class", "account__sidebar svelte-
|
|
4099
|
+
attr(nav, "class", "account__sidebar svelte-1rx212l");
|
|
4203
4100
|
},
|
|
4204
4101
|
m(target, anchor) {
|
|
4205
4102
|
insert(target, nav, anchor);
|
|
@@ -4268,14 +4165,8 @@
|
|
|
4268
4165
|
let active;
|
|
4269
4166
|
const dispatch = createEventDispatcher();
|
|
4270
4167
|
|
|
4271
|
-
const handleClickLink =
|
|
4272
|
-
$$invalidate(1, active =
|
|
4273
|
-
|
|
4274
|
-
if (typeof menuItem.hrefOrCallback === "function") {
|
|
4275
|
-
menuItem.hrefOrCallback();
|
|
4276
|
-
return false; // to avoid calling href
|
|
4277
|
-
}
|
|
4278
|
-
|
|
4168
|
+
const handleClickLink = destination => {
|
|
4169
|
+
$$invalidate(1, active = destination);
|
|
4279
4170
|
dispatch("click_link");
|
|
4280
4171
|
};
|
|
4281
4172
|
|
|
@@ -4283,7 +4174,7 @@
|
|
|
4283
4174
|
bubble($$self, event);
|
|
4284
4175
|
}
|
|
4285
4176
|
|
|
4286
|
-
const click_handler_1 =
|
|
4177
|
+
const click_handler_1 = destination => handleClickLink(destination);
|
|
4287
4178
|
|
|
4288
4179
|
$$self.$$set = $$props => {
|
|
4289
4180
|
if ("navigationItems" in $$props) $$invalidate(0, navigationItems = $$props.navigationItems);
|
|
@@ -4459,13 +4350,13 @@
|
|
|
4459
4350
|
t6 = text(/*title*/ ctx[1]);
|
|
4460
4351
|
t7 = space();
|
|
4461
4352
|
create_component(sidebar.$$.fragment);
|
|
4462
|
-
attr(h10, "class", "svelte-
|
|
4463
|
-
attr(div0, "class", "account__navigation--mobile__title-container svelte-
|
|
4464
|
-
attr(button, "class", "account__navigation--mobile__button svelte-
|
|
4465
|
-
attr(div1, "class", "account__navigation--mobile svelte-
|
|
4466
|
-
attr(h11, "class", "svelte-
|
|
4467
|
-
attr(div2, "class", "account__navigation__title-container svelte-
|
|
4468
|
-
attr(div3, "class", "account__navigation svelte-
|
|
4353
|
+
attr(h10, "class", "svelte-1jgfrsf");
|
|
4354
|
+
attr(div0, "class", "account__navigation--mobile__title-container svelte-1jgfrsf");
|
|
4355
|
+
attr(button, "class", "account__navigation--mobile__button svelte-1jgfrsf");
|
|
4356
|
+
attr(div1, "class", "account__navigation--mobile svelte-1jgfrsf");
|
|
4357
|
+
attr(h11, "class", "svelte-1jgfrsf");
|
|
4358
|
+
attr(div2, "class", "account__navigation__title-container svelte-1jgfrsf");
|
|
4359
|
+
attr(div3, "class", "account__navigation svelte-1jgfrsf");
|
|
4469
4360
|
},
|
|
4470
4361
|
m(target, anchor) {
|
|
4471
4362
|
insert(target, div1, anchor);
|
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 i(){return Object.create(null)}function l(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 i=c(e,n,t,o);return e[0](i)}}function c(e,n,o,i){return e[1]&&i?t(o.ctx.slice(),e[1](i(n))):o.ctx}function p(e,n,t,o,i,l,r){const a=function(e,n,t,o){if(e[2]&&o){const i=e[2](o(t));if(void 0===n.dirty)return i;if("object"==typeof i){const e=[],t=Math.max(n.dirty.length,i.length);for(let o=0;o<t;o+=1)e[o]=n.dirty[o]|i[o];return e}return n.dirty|i}return n.dirty}(n,o,i,l);if(a){const i=c(n,t,o,r);e.p(i,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 i=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,i)}))}}}function S(e,n){const t=e.$$.callbacks[n.type];t&&t.slice().forEach((e=>e(n)))}const E=[],P=[],T=[],I=[],q=Promise.resolve();let B=!1;function F(e){T.push(e)}let N=!1;const R=new Set;function D(){if(!N){N=!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;P.length;)P.pop()();for(let e=0;e<T.length;e+=1){const n=T[e];R.has(n)||(R.add(n),n())}T.length=0}while(E.length);for(;I.length;)I.pop()();B=!1,N=!1,R.clear()}}function W(e){if(null!==e.fragment){e.update(),l(e.before_update);const n=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,n),e.after_update.forEach(F)}}const G=new Set;let Z;function U(){Z={r:0,c:[],p:Z}}function Y(){Z.r||l(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={},i={$$scope:1};let l=e.length;for(;l--;){const r=e[l],a=n[l];if(a){for(const e in r)e in a||(o[e]=1);for(const e in a)i[e]||(t[e]=a[e],i[e]=1);e[l]=a}else for(const e in r)i[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,i){const{fragment:a,on_mount:s,on_destroy:c,after_update:p}=e.$$;a&&a.m(n,t),i||F((()=>{const n=s.map(o).filter(r);c?c.push(...n):l(n),e.$$.on_mount=[]})),p.forEach(F)}function ne(e,n){const t=e.$$;null!==t.fragment&&(l(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:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(p?p.$$.context:t.context||[]),callbacks:i(),dirty:c,skip_bound:!1};let u=!1;if(d.ctx=o?o(e,t.props||{},((n,t,...o)=>{const i=o.length?o[0]:t;return d.ctx&&a(d.ctx[n],d.ctx[n]=i)&&(!d.skip_bound&&d.bound[n]&&d.bound[n](i),u&&te(e,n)),t})):[],d.update(),u=!0,l(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 ie{$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 le(e){let n,t,o,i,l;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[3]} iroco-ui-button--${e[2]}`)+" svelte-hp8sdi"),_(n,"type",e[0]),n.disabled=e[1],C(n,"disabled",e[1]),C(n,"rounded",e[4])},m(t,r){h(t,n,r),a&&a.m(n,null),o=!0,i||(l=b(n,"click",e[8]),i=!0)},p(e,[i]){a&&a.p&&(!o||64&i)&&p(a,r,e,e[6],i,null,null),(!o||32&i)&&_(n,"id",e[5]),(!o||12&i&&t!==(t=u(`iroco-ui-button iroco-ui-button--${e[3]} iroco-ui-button--${e[2]}`)+" svelte-hp8sdi"))&&_(n,"class",t),(!o||1&i)&&_(n,"type",e[0]),(!o||2&i)&&(n.disabled=e[1]),14&i&&C(n,"disabled",e[1]),28&i&&C(n,"rounded",e[4])},i(e){o||(K(a,e),o=!0)},o(e){J(a,e),o=!1},d(e){e&&x(n),a&&a.d(e),i=!1,l()}}}function re(e,n,t){let{$$slots:o={},$$scope:i}=n,{type:l="button"}=n,{disabled:r=!1}=n,{kind:a="basic"}=n,{size:s="regular"}=n,{rounded:c=!1}=n,{id:p}=n;return e.$$set=e=>{"type"in e&&t(0,l=e.type),"disabled"in e&&t(1,r=e.disabled),"kind"in e&&t(2,a=e.kind),"size"in e&&t(3,s=e.size),"rounded"in e&&t(4,c=e.rounded),"id"in e&&t(5,p=e.id),"$$scope"in e&&t(6,i=e.$$scope)},[l,r,a,s,c,p,i,o,function(n){S(e,n)}]}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),i=o(e);return{c(){n=m("p"),i.c(),_(n,"data-testid","error"),_(n,"class","error svelte-11iawkb")},m(e,t){h(e,n,t),i.m(n,null)},p(e,l){o===(o=t(e))&&i?i.p(e,l):(i.d(1),i=o(e),i&&(i.c(),i.m(n,null)))},d(e){e&&x(n),i.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,i){n.m(o,e,i),h(e,t,i)},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,i,a,s,c,p=e[2]&&ae(e),d=null!=e[4]&&se(e);return{c(){t=m("div"),p&&p.c(),o=v(),i=m("input"),a=v(),d&&d.c(),_(i,"id",e[1]),_(i,"type","text"),_(i,"placeholder",e[3]),i.readOnly=e[8],_(i,"class","svelte-11iawkb"),C(i,"border",e[9]),C(i,"error",null!==e[4]),C(i,"readonlyInput",1==e[8]),_(t,"class","iroco-ui-input svelte-11iawkb")},m(l,u){var x;h(l,t,u),p&&p.m(t,null),y(t,o),y(t,i),A(i,e[0]),y(t,a),d&&d.m(t,null),s||(c=[b(i,"input",e[13]),b(i,"input",e[14]),b(i,"focus",(function(){r(e[6])&&e[6].apply(this,arguments)})),b(i,"blur",(function(){r(e[7])&&e[7].apply(this,arguments)})),(x=e[10].call(null,i),x&&r(x.destroy)?x.destroy:n)],s=!0)},p(n,[l]){(e=n)[2]?p?p.p(e,l):(p=ae(e),p.c(),p.m(t,o)):p&&(p.d(1),p=null),2&l&&_(i,"id",e[1]),8&l&&_(i,"placeholder",e[3]),256&l&&(i.readOnly=e[8]),1&l&&i.value!==e[0]&&A(i,e[0]),512&l&&C(i,"border",e[9]),16&l&&C(i,"error",null!==e[4]),256&l&&C(i,"readonlyInput",1==e[8]),null!=e[4]?d?d.p(e,l):(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,l(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:i}=n,{type:l}=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,i=e.id),"type"in e&&t(12,l=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,i,r,a,s,c,d,u,y,h,function(e){e.type=l},o,l,function(n){S(e,n)},function(){p=this.value,t(0,p)}]}function ye(e){let n,t,o,i,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(),i=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),_(i,"class","radio-button-color svelte-156c82q"),_(n,"class","iroco-ui-radio svelte-156c82q")},m(l,s){h(l,n,s),y(n,t),t.checked=t.__value===e[0],y(n,o),y(n,i),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,l(d)}}}function he(e,n,t){let{$$slots:o={},$$scope:i}=n;let{value:l}=n,{group:r=null}=n,{name:a}=n,{checked:s}=n;return e.$$set=e=>{"value"in e&&t(2,l=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,i=e.$$scope)},e.$$.update=()=>{5&e.$$.dirty&&t(1,s=r===l)},[r,s,l,a,function(e){t(0,r=e.target.value)},"",i,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,i,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(),i=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,i),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,i)):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,l(c)}}}function ge(e,n,o){const i=["id","label","placeholder","error","value","min","max"];let l=d(n,i),{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,l=d(n,i)),"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,l,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 i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.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 i(){return Object.create(null)}function l(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 i=c(e,n,t,o);return e[0](i)}}function c(e,n,o,i){return e[1]&&i?t(o.ctx.slice(),e[1](i(n))):o.ctx}function p(e,n,t,o,i,l,r){const a=function(e,n,t,o){if(e[2]&&o){const i=e[2](o(t));if(void 0===n.dirty)return i;if("object"==typeof i){const e=[],t=Math.max(n.dirty.length,i.length);for(let o=0;o<t;o+=1)e[o]=n.dirty[o]|i[o];return e}return n.dirty|i}return n.dirty}(n,o,i,l);if(a){const i=c(n,t,o,r);e.p(i,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)}let H;function L(e){H=e}function O(){const e=function(){if(!H)throw new Error("Function called outside component initialization");return H}();return(n,t)=>{const o=e.$$.callbacks[n];if(o){const i=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,i)}))}}}function V(e,n){const t=e.$$.callbacks[n.type];t&&t.slice().forEach((e=>e(n)))}const S=[],P=[],I=[],T=[],E=Promise.resolve();let q=!1;function B(e){I.push(e)}let F=!1;const N=new Set;function R(){if(!F){F=!0;do{for(let e=0;e<S.length;e+=1){const n=S[e];L(n),D(n.$$)}for(L(null),S.length=0;P.length;)P.pop()();for(let e=0;e<I.length;e+=1){const n=I[e];N.has(n)||(N.add(n),n())}I.length=0}while(S.length);for(;T.length;)T.pop()();q=!1,F=!1,N.clear()}}function D(e){if(null!==e.fragment){e.update(),l(e.before_update);const n=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,n),e.after_update.forEach(B)}}const W=new Set;let G;function Z(){G={r:0,c:[],p:G}}function U(){G.r||l(G.c),G=G.p}function Y(e,n){e&&e.i&&(W.delete(e),e.i(n))}function K(e,n,t,o){if(e&&e.o){if(W.has(e))return;W.add(e),G.c.push((()=>{W.delete(e),o&&(t&&e.d(1),o())})),e.o(n)}}function J(e,n){const t={},o={},i={$$scope:1};let l=e.length;for(;l--;){const r=e[l],a=n[l];if(a){for(const e in r)e in a||(o[e]=1);for(const e in a)i[e]||(t[e]=a[e],i[e]=1);e[l]=a}else for(const e in r)i[e]=1}for(const e in o)e in t||(t[e]=void 0);return t}function Q(e){e&&e.c()}function X(e,n,t,i){const{fragment:a,on_mount:s,on_destroy:c,after_update:p}=e.$$;a&&a.m(n,t),i||B((()=>{const n=s.map(o).filter(r);c?c.push(...n):l(n),e.$$.on_mount=[]})),p.forEach(B)}function ee(e,n){const t=e.$$;null!==t.fragment&&(l(t.on_destroy),t.fragment&&t.fragment.d(n),t.on_destroy=t.fragment=null,t.ctx=[])}function ne(e,n){-1===e.$$.dirty[0]&&(S.push(e),q||(q=!0,E.then(R)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31}function te(e,t,o,r,a,s,c=[-1]){const p=H;L(e);const d=e.$$={fragment:null,ctx:null,props:s,update:n,not_equal:a,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(p?p.$$.context:t.context||[]),callbacks:i(),dirty:c,skip_bound:!1};let u=!1;if(d.ctx=o?o(e,t.props||{},((n,t,...o)=>{const i=o.length?o[0]:t;return d.ctx&&a(d.ctx[n],d.ctx[n]=i)&&(!d.skip_bound&&d.bound[n]&&d.bound[n](i),u&&ne(e,n)),t})):[],d.update(),u=!0,l(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&&Y(e.$$.fragment),X(e,t.target,t.anchor,t.customElement),R()}L(p)}class oe{$destroy(){ee(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,i,l;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[3]} iroco-ui-button--${e[2]}`)+" svelte-hp8sdi"),_(n,"type",e[0]),n.disabled=e[1],C(n,"disabled",e[1]),C(n,"rounded",e[4])},m(t,r){h(t,n,r),a&&a.m(n,null),o=!0,i||(l=b(n,"click",e[8]),i=!0)},p(e,[i]){a&&a.p&&(!o||64&i)&&p(a,r,e,e[6],i,null,null),(!o||32&i)&&_(n,"id",e[5]),(!o||12&i&&t!==(t=u(`iroco-ui-button iroco-ui-button--${e[3]} iroco-ui-button--${e[2]}`)+" svelte-hp8sdi"))&&_(n,"class",t),(!o||1&i)&&_(n,"type",e[0]),(!o||2&i)&&(n.disabled=e[1]),14&i&&C(n,"disabled",e[1]),28&i&&C(n,"rounded",e[4])},i(e){o||(Y(a,e),o=!0)},o(e){K(a,e),o=!1},d(e){e&&x(n),a&&a.d(e),i=!1,l()}}}function le(e,n,t){let{$$slots:o={},$$scope:i}=n,{type:l="button"}=n,{disabled:r=!1}=n,{kind:a="basic"}=n,{size:s="regular"}=n,{rounded:c=!1}=n,{id:p}=n;return e.$$set=e=>{"type"in e&&t(0,l=e.type),"disabled"in e&&t(1,r=e.disabled),"kind"in e&&t(2,a=e.kind),"size"in e&&t(3,s=e.size),"rounded"in e&&t(4,c=e.rounded),"id"in e&&t(5,p=e.id),"$$scope"in e&&t(6,i=e.$$scope)},[l,r,a,s,c,p,i,o,function(n){V(e,n)}]}function re(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 ae(e){let n,t,o=(null!==e[4]?e[4]:"")+"";return{c(){n=m("p"),t=j(o),_(n,"data-testid","error"),_(n,"class","error svelte-11iawkb")},m(e,o){h(e,n,o),y(n,t)},p(e,n){16&n&&o!==(o=(null!==e[4]?e[4]:"")+"")&&z(t,o)},d(e){e&&x(n)}}}function se(e){let t,o,i,a,s,c,p=e[2]&&re(e),d=null!=e[4]&&ae(e);return{c(){t=m("div"),p&&p.c(),o=v(),i=m("input"),a=v(),d&&d.c(),_(i,"id",e[1]),_(i,"type","text"),_(i,"placeholder",e[3]),i.readOnly=e[7],_(i,"class","svelte-11iawkb"),C(i,"border",e[8]),C(i,"error",null!==e[4]),C(i,"readonlyInput",1==e[7]),_(t,"class","iroco-ui-input svelte-11iawkb")},m(l,u){var x;h(l,t,u),p&&p.m(t,null),y(t,o),y(t,i),A(i,e[0]),y(t,a),d&&d.m(t,null),s||(c=[b(i,"input",e[12]),b(i,"input",e[13]),b(i,"focus",(function(){r(e[5])&&e[5].apply(this,arguments)})),b(i,"blur",(function(){r(e[6])&&e[6].apply(this,arguments)})),(x=e[9].call(null,i),x&&r(x.destroy)?x.destroy:n)],s=!0)},p(n,[l]){(e=n)[2]?p?p.p(e,l):(p=re(e),p.c(),p.m(t,o)):p&&(p.d(1),p=null),2&l&&_(i,"id",e[1]),8&l&&_(i,"placeholder",e[3]),128&l&&(i.readOnly=e[7]),1&l&&i.value!==e[0]&&A(i,e[0]),256&l&&C(i,"border",e[8]),16&l&&C(i,"error",null!==e[4]),128&l&&C(i,"readonlyInput",1==e[7]),null!=e[4]?d?d.p(e,l):(d=ae(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,l(c)}}}function ce(e,n,t){var{TextType:o}=n;!function(e){e.text="text",e.email="email",e.password="password"}(o||(o={}));let{id:i}=n,{type:l}=n,{label:r=null}=n,{placeholder:a}=n,{error:s=null}=n,{value:c=null}=n,{onFocus:p}=n,{onBlur:d}=n,{readonly:u=!1}=n,{border:y=!1}=n;return e.$$set=e=>{"TextType"in e&&t(10,o=e.TextType),"id"in e&&t(1,i=e.id),"type"in e&&t(11,l=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),"value"in e&&t(0,c=e.value),"onFocus"in e&&t(5,p=e.onFocus),"onBlur"in e&&t(6,d=e.onBlur),"readonly"in e&&t(7,u=e.readonly),"border"in e&&t(8,y=e.border)},[c,i,r,a,s,p,d,u,y,function(e){e.type=l},o,l,function(n){V(e,n)},function(){c=this.value,t(0,c)}]}function pe(e){let n,t,o,i,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(),i=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),_(i,"class","radio-button-color svelte-156c82q"),_(n,"class","iroco-ui-radio svelte-156c82q")},m(l,s){h(l,n,s),y(n,t),t.checked=t.__value===e[0],y(n,o),y(n,i),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||(Y(f,e),a=!0)},o(e){K(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,l(d)}}}function de(e,n,t){let{$$slots:o={},$$scope:i}=n;let{value:l}=n,{group:r=null}=n,{name:a}=n,{checked:s}=n;return e.$$set=e=>{"value"in e&&t(2,l=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,i=e.$$scope)},e.$$.update=()=>{5&e.$$.dirty&&t(1,s=r===l)},[r,s,l,a,function(e){t(0,r=e.target.value)},"",i,o,function(){r=this.__value,t(0,r)},[[]]]}function ue(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 ye(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 he(e){let o,i,r,a,s,c,p=e[2]&&ue(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]&&ye(e);return{c(){o=m("div"),p&&p.c(),i=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,i),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=ue(e),p.c(),p.m(o,i)):p&&(p.d(1),p=null),M(r,u=J(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=ye(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,l(c)}}}function xe(e,n,o){const i=["id","label","placeholder","error","value","min","max"];let l=d(n,i),{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,l=d(n,i)),"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,l,function(n){V(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 fe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var me,ge={exports:{}};"undefined"!=typeof self&&self,me=function(){return function(e){var n={};function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.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
|
\*************************/
|
|
@@ -75,7 +75,7 @@ var Ui=function(e){"use strict";function n(){}function t(e,n){for(const t in n)e
|
|
|
75
75
|
/*!***********************************************************!*\
|
|
76
76
|
!*** ./node_modules/core-js/internals/define-iterator.js ***!
|
|
77
77
|
\***********************************************************/
|
|
78
|
-
/*! no static exports found */function(e,n,t){var o=t(/*! ../internals/export */"./node_modules/core-js/internals/export.js"),i=t(/*! ../internals/create-iterator-constructor */"./node_modules/core-js/internals/create-iterator-constructor.js"),l=t(/*! ../internals/object-get-prototype-of */"./node_modules/core-js/internals/object-get-prototype-of.js"),r=t(/*! ../internals/object-set-prototype-of */"./node_modules/core-js/internals/object-set-prototype-of.js"),a=t(/*! ../internals/set-to-string-tag */"./node_modules/core-js/internals/set-to-string-tag.js"),s=t(/*! ../internals/hide */"./node_modules/core-js/internals/hide.js"),c=t(/*! ../internals/redefine */"./node_modules/core-js/internals/redefine.js"),p=t(/*! ../internals/well-known-symbol */"./node_modules/core-js/internals/well-known-symbol.js"),d=t(/*! ../internals/is-pure */"./node_modules/core-js/internals/is-pure.js"),u=t(/*! ../internals/iterators */"./node_modules/core-js/internals/iterators.js"),y=t(/*! ../internals/iterators-core */"./node_modules/core-js/internals/iterators-core.js"),h=y.IteratorPrototype,x=y.BUGGY_SAFARI_ITERATORS,f=p("iterator"),m="keys",g="values",j="entries",v=function(){return this};e.exports=function(e,n,t,p,y,w,b){i(t,n,p);var _,M,k,$=function(e){if(e===y&&
|
|
78
|
+
/*! no static exports found */function(e,n,t){var o=t(/*! ../internals/export */"./node_modules/core-js/internals/export.js"),i=t(/*! ../internals/create-iterator-constructor */"./node_modules/core-js/internals/create-iterator-constructor.js"),l=t(/*! ../internals/object-get-prototype-of */"./node_modules/core-js/internals/object-get-prototype-of.js"),r=t(/*! ../internals/object-set-prototype-of */"./node_modules/core-js/internals/object-set-prototype-of.js"),a=t(/*! ../internals/set-to-string-tag */"./node_modules/core-js/internals/set-to-string-tag.js"),s=t(/*! ../internals/hide */"./node_modules/core-js/internals/hide.js"),c=t(/*! ../internals/redefine */"./node_modules/core-js/internals/redefine.js"),p=t(/*! ../internals/well-known-symbol */"./node_modules/core-js/internals/well-known-symbol.js"),d=t(/*! ../internals/is-pure */"./node_modules/core-js/internals/is-pure.js"),u=t(/*! ../internals/iterators */"./node_modules/core-js/internals/iterators.js"),y=t(/*! ../internals/iterators-core */"./node_modules/core-js/internals/iterators-core.js"),h=y.IteratorPrototype,x=y.BUGGY_SAFARI_ITERATORS,f=p("iterator"),m="keys",g="values",j="entries",v=function(){return this};e.exports=function(e,n,t,p,y,w,b){i(t,n,p);var _,M,k,$=function(e){if(e===y&&L)return L;if(!x&&e in C)return C[e];switch(e){case m:case g:case j:return function(){return new t(this,e)}}return function(){return new t(this)}},z=n+" Iterator",A=!1,C=e.prototype,H=C[f]||C["@@iterator"]||y&&C[y],L=!x&&H||$(y),O="Array"==n&&C.entries||H;if(O&&(_=l(O.call(new e)),h!==Object.prototype&&_.next&&(d||l(_)===h||(r?r(_,h):"function"!=typeof _[f]&&s(_,f,v)),a(_,z,!0,!0),d&&(u[z]=v))),y==g&&H&&H.name!==g&&(A=!0,L=function(){return H.call(this)}),d&&!b||C[f]===L||s(C,f,L),u[n]=L,y)if(M={values:$(g),keys:w?L:$(m),entries:$(j)},b)for(k in M)(x||A||!(k in C))&&c(C,k,M[k]);else o({target:n,proto:!0,forced:x||A},M);return M}},"./node_modules/core-js/internals/descriptors.js":
|
|
79
79
|
/*!*******************************************************!*\
|
|
80
80
|
!*** ./node_modules/core-js/internals/descriptors.js ***!
|
|
81
81
|
\*******************************************************/
|
|
@@ -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,i,l=e[3].contents+"",r=[e[3].attrs,{style:i="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=l},p(e,t){8&t&&l!==(l=e[3].contents+"")&&(o.innerHTML=l),k(n,a=Q(r,[8&t&&e[3].attrs,7&t&&i!==(i="width: "+e[0]+"; height: "+e[1]+"; color: "+e[2]+";")&&{style:i}])),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:i}=n,{strokeWidth:l}=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,i=e.stroke),"strokeWidth"in e&&t(6,l=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&&(i&&t(3,c.attrs.stroke=i,c),l&&t(3,c.attrs["stroke-width"]=l,c))},[r,a,s,c,o,i,l]}function $e(e){let t,o,i;return{c(){t=g("svg"),o=g("path"),i=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"),_(i,"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"),_(i,"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,i)},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:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}class Ae extends ie{constructor(e){super(),oe(this,e,ze,$e,a,{width:0,height:1})}}function Ce(e){let t,o,i;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),i=!0},p:n,i(e){i||(K(o.$$.fragment,e),i=!0)},o(e){J(o.$$.fragment,e),i=!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:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}function Le(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 Ve(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}class Se extends ie{constructor(e){super(),oe(this,e,Ve,Le,a,{width:0,height:1})}}function Ee(e,n,t){const o=e.slice();return o[6]=n[t],o}function Pe(e){let n,t,o,i,l,r,a,s=e[6].name+"";function c(){return e[4](e[6])}return{c(){n=m("li"),t=m("a"),o=j(s),l=v(),_(t,"href",i="string"==typeof e[6].hrefOrCallback?e[6].hrefOrCallback:"#"),_(t,"class","svelte-jkys2k"),_(n,"class","account__sidebar__item svelte-jkys2k"),C(n,"active",e[1]===e[6].name)},m(e,i){h(e,n,i),y(n,t),y(t,o),y(n,l),r||(a=b(t,"click",c),r=!0)},p(l,r){e=l,1&r&&s!==(s=e[6].name+"")&&z(o,s),1&r&&i!==(i="string"==typeof e[6].hrefOrCallback?e[6].hrefOrCallback:"#")&&_(t,"href",i),3&r&&C(n,"active",e[1]===e[6].name)},d(e){e&&x(n),r=!1,a()}}}function Te(e){let n,t,o,i,l,r,a,s;o=new Se({props:{width:"3em",height:"3em"}});let c=e[0],p=[];for(let n=0;n<c.length;n+=1)p[n]=Pe(Ee(e,c,n));return{c(){n=m("nav"),t=m("button"),X(o.$$.fragment),i=v(),l=m("ul");for(let e=0;e<p.length;e+=1)p[e].c();_(t,"class","account__sidebar__close svelte-jkys2k"),_(l,"class","account__sidebar__item_container svelte-jkys2k"),_(n,"data-testid","sidebar"),_(n,"class","account__sidebar svelte-jkys2k")},m(c,d){h(c,n,d),y(n,t),ee(o,t,null),y(n,i),y(n,l);for(let e=0;e<p.length;e+=1)p[e].m(l,null);r=!0,a||(s=b(t,"click",e[3]),a=!0)},p(e,[n]){if(7&n){let t;for(c=e[0],t=0;t<c.length;t+=1){const o=Ee(e,c,t);p[t]?p[t].p(o,n):(p[t]=Pe(o),p[t].c(),p[t].m(l,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=c.length}},i(e){r||(K(o.$$.fragment,e),r=!0)},o(e){J(o.$$.fragment,e),r=!1},d(e){e&&x(n),ne(o),f(p,e),a=!1,s()}}}function Ie(e,n,t){let o,{navigationItems:i}=n;const l=V(),r=e=>{if(t(1,o=e.name),"function"==typeof e.hrefOrCallback)return e.hrefOrCallback(),!1;l("click_link")};return e.$$set=e=>{"navigationItems"in e&&t(0,i=e.navigationItems)},[i,o,r,function(n){S(e,n)},e=>r(e)]}class qe extends ie{constructor(e){super(),oe(this,e,Ie,Te,a,{navigationItems:0})}}function Be(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 Fe(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}class Ne extends ie{constructor(e){super(),oe(this,e,Fe,Be,a,{width:0,height:1})}}function Re(e){let n,t;return n=new qe({props:{navigationItems:e[0]}}),n.$on("click_link",e[4]),n.$on("click",e[5]),{c(){X(n.$$.fragment)},m(e,o){ee(n,e,o),t=!0},p(e,t){const o={};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 De(e){let n,t,o,i,l,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 Ne({props:{width:"3em",height:"3em"}});let L=e[2]&&Re(e);return g=new Ae({props:{width:"3em",height:"3em"}}),A=new qe({props:{navigationItems:e[0]}}),{c(){n=m("div"),t=m("div"),X(o.$$.fragment),i=v(),l=m("h1"),r=j(e[1]),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[1]),$=v(),X(A.$$.fragment),_(l,"class","svelte-1uu9ytm"),_(t,"class","account__navigation--mobile__title-container svelte-1uu9ytm"),_(s,"class","account__navigation--mobile__button svelte-1uu9ytm"),_(n,"class","account__navigation--mobile svelte-1uu9ytm"),_(M,"class","svelte-1uu9ytm"),_(f,"class","account__navigation__title-container svelte-1uu9ytm"),_(u,"class","account__navigation svelte-1uu9ytm")},m(x,m){h(x,n,m),y(n,t),ee(o,t,null),y(t,i),y(t,l),y(l,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[3]),H=!0)},p(e,[t]){(!C||2&t)&&z(r,e[1]),e[2]?L?(L.p(e,t),4&t&&K(L,1)):(L=Re(e),L.c(),K(L,1),L.m(n,null)):L&&(U(),J(L,1,1,(()=>{L=null})),Y()),(!C||2&t)&&z(k,e[1]);const o={};1&t&&(o.navigationItems=e[0]),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 We(e,n,t){let{navigationItems:o}=n,{title:i}=n,l=!1;return e.$$set=e=>{"navigationItems"in e&&t(0,o=e.navigationItems),"title"in e&&t(1,i=e.title)},[o,i,l,()=>t(2,l=!0),()=>t(2,l=!1),()=>t(2,l=!1)]}function Ge(e,n,t){const o=e.slice();return o[3]=n[t],o}function Ze(e,n,t){const o=e.slice();return o[6]=n[t].key,o[7]=n[t].renderComponent,o}function Ue(e,n,t){const o=e.slice();return o[10]=n[t],o}function Ye(e){let n,t,o,i=e[10].title+"";return{c(){n=m("th"),t=j(i),o=v(),_(n,"class","data-table__header__cell svelte-1ju5y8t")},m(e,i){h(e,n,i),y(n,t),y(n,o)},p(e,n){2&n&&i!==(i=e[10].title+"")&&z(t,i)},d(e){e&&x(n)}}}function Ke(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 Je(e){let n,t,o;function i(){return e[2](e[7],e[3])}var l=e[7].component;return l&&(n=new l({}),n.$on("click",i)),{c(){n&&X(n.$$.fragment),t=w()},m(e,i){n&&ee(n,e,i),h(e,t,i),o=!0},p(o,r){if(l!==(l=(e=o)[7].component)){if(n){U();const e=n;J(e.$$.fragment,1,0,(()=>{ne(e,1)})),Y()}l?(n=new l({}),n.$on("click",i),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 Qe(e){let n,t,o,i;const l=[Je,Ke],r=[];function a(e,n){return e[7]?0:1}return t=a(e),o=r[t]=l[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),i=!0},p(e,i){let s=t;t=a(e),t===s?r[t].p(e,i):(U(),J(r[s],1,1,(()=>{r[s]=null})),Y(),o=r[t],o?o.p(e,i):(o=r[t]=l[t](e),o.c()),K(o,1),o.m(n,null))},i(e){i||(K(o),i=!0)},o(e){J(o),i=!1},d(e){e&&x(n),r[t].d()}}}function Xe(e){let n,t,o,i=e[1],l=[];for(let n=0;n<i.length;n+=1)l[n]=Qe(Ze(e,i,n));const r=e=>J(l[e],1,1,(()=>{l[e]=null}));return{c(){n=m("tr");for(let e=0;e<l.length;e+=1)l[e].c();t=v(),_(n,"class","data-table__body__row")},m(e,i){h(e,n,i);for(let e=0;e<l.length;e+=1)l[e].m(n,null);y(n,t),o=!0},p(e,o){if(3&o){let a;for(i=e[1],a=0;a<i.length;a+=1){const r=Ze(e,i,a);l[a]?(l[a].p(r,o),K(l[a],1)):(l[a]=Qe(r),l[a].c(),K(l[a],1),l[a].m(n,t))}for(U(),a=i.length;a<l.length;a+=1)r(a);Y()}},i(e){if(!o){for(let e=0;e<i.length;e+=1)K(l[e]);o=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)J(l[e]);o=!1},d(e){e&&x(n),f(l,e)}}}function en(e){let n,t,o,i,l,r,a=e[1],s=[];for(let n=0;n<a.length;n+=1)s[n]=Ye(Ue(e,a,n));let c=e[0],p=[];for(let n=0;n<c.length;n+=1)p[n]=Xe(Ge(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();i=v(),l=m("tbody");for(let e=0;e<p.length;e+=1)p[e].c();_(t,"class","data-table__header svelte-1ju5y8t"),_(l,"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,i),y(n,l);for(let e=0;e<p.length;e+=1)p[e].m(l,null);r=!0},p(e,[n]){if(2&n){let t;for(a=e[1],t=0;t<a.length;t+=1){const i=Ue(e,a,t);s[t]?s[t].p(i,n):(s[t]=Ye(i),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=Ge(e,c,t);p[t]?(p[t].p(o,n),K(p[t],1)):(p[t]=Xe(o),p[t].c(),K(p[t],1),p[t].m(l,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 nn(e,n,t){let{rows:o}=n,{collumns:i}=n;return e.$$set=e=>{"rows"in e&&t(0,o=e.rows),"collumns"in e&&t(1,i=e.collumns)},[o,i,(e,n)=>e.props.onclick(n)]}function tn(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 on(e,n,t){let{width:o="3rem"}=n,{height:i="3rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}function ln(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 rn(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n,{fill:l="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height),"fill"in e&&t(2,l=e.fill)},[o,i,l]}function an(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 sn(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n,{stroke:l="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height),"stroke"in e&&t(2,l=e.stroke)},[o,i,l]}function cn(e){let t,o,i,l,a;return{c(){t=m("div"),o=j(e[1]),_(t,"class",i=u(`alert alert--${e[0]}`)+" svelte-1oun6o6")},m(n,i){h(n,t,i),y(t,o),l||(a=b(t,"click",(function(){r(e[2])&&e[2].apply(this,arguments)})),l=!0)},p(n,[l]){e=n,2&l&&z(o,e[1]),1&l&&i!==(i=u(`alert alert--${e[0]}`)+" svelte-1oun6o6")&&_(t,"class",i)},i:n,o:n,d(e){e&&x(t),l=!1,a()}}}function pn(e,n,t){let{type:o="success"}=n,{content:i}=n,{callback:l}=n;return e.$$set=e=>{"type"in e&&t(0,o=e.type),"content"in e&&t(1,i=e.content),"callback"in e&&t(2,l=e.callback)},[o,i,l]}return e.Alert=class extends ie{constructor(e){super(),oe(this,e,pn,cn,a,{type:0,content:1,callback:2})}},e.Button=class extends ie{constructor(e){super(),oe(this,e,re,le,a,{type:0,disabled:1,kind:2,size:3,rounded:4,id:5})}},e.DataTable=class extends ie{constructor(e){super(),oe(this,e,nn,en,a,{rows:0,collumns:1})}},e.Icon=class extends ie{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 ie{constructor(e){super(),oe(this,e,rn,ln,a,{width:0,height:1,fill:2})}},e.IconInfo=class extends ie{constructor(e){super(),oe(this,e,Oe,He,a,{width:0,height:1})}},e.IconMore=class extends ie{constructor(e){super(),oe(this,e,on,tn,a,{width:0,height:1})}},e.IconTrashCan=class extends ie{constructor(e){super(),oe(this,e,sn,an,a,{width:0,height:1,stroke:2})}},e.Loader=class extends ie{constructor(e){super(),oe(this,e,null,Ce,a,{})}},e.Navigation=class extends ie{constructor(e){super(),oe(this,e,We,De,a,{navigationItems:0,title:1})}},e.NumberInput=class extends ie{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 ie{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.SideBar=qe,e.TextInput=class extends ie{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")}})},ge.exports=me();var je=fe(ge.exports);function ve(e){let n,o,i,l=e[3].contents+"",r=[e[3].attrs,{style:i="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=l},p(e,t){8&t&&l!==(l=e[3].contents+"")&&(o.innerHTML=l),k(n,a=J(r,[8&t&&e[3].attrs,7&t&&i!==(i="width: "+e[0]+"; height: "+e[1]+"; color: "+e[2]+";")&&{style:i}])),C(n,"svelte-1cuxg7m",!0)},d(e){e&&x(n)}}}function we(e){let t,o=e[3]&&ve(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=ve(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 be(e,n,t){let{name:o}=n,{stroke:i}=n,{strokeWidth:l}=n,{width:r="1em"}=n,{height:a="1em"}=n,{color:s="white"}=n;const c=je.icons[o];return e.$$set=e=>{"name"in e&&t(4,o=e.name),"stroke"in e&&t(5,i=e.stroke),"strokeWidth"in e&&t(6,l=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&&(i&&t(3,c.attrs.stroke=i,c),l&&t(3,c.attrs["stroke-width"]=l,c))},[r,a,s,c,o,i,l]}function _e(e){let t,o,i;return{c(){t=g("svg"),o=g("path"),i=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"),_(i,"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"),_(i,"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,i)},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 Me(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}class ke extends oe{constructor(e){super(),te(this,e,Me,_e,a,{width:0,height:1})}}function $e(e){let t,o,i;return o=new ke({props:{width:"4em",height:"4em"}}),{c(){t=m("div"),Q(o.$$.fragment),_(t,"class","rotate linear infinite svelte-1dns1yx")},m(e,n){h(e,t,n),X(o,t,null),i=!0},p:n,i(e){i||(Y(o.$$.fragment,e),i=!0)},o(e){K(o.$$.fragment,e),i=!1},d(e){e&&x(t),ee(o)}}}function ze(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 Ae(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}function Ce(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 He(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}class Le extends oe{constructor(e){super(),te(this,e,He,Ce,a,{width:0,height:1})}}function Oe(e,n,t){const o=e.slice();return o[6]=n[t].destination,o[7]=n[t].name,o}function Ve(e){let n,t,o,i,l,r,a,s=e[7]+"";function c(){return e[4](e[6])}return{c(){n=m("li"),t=m("a"),o=j(s),l=v(),_(t,"href",i=e[6]),_(t,"class","svelte-1rx212l"),_(n,"class","account__sidebar__item svelte-1rx212l"),C(n,"active",e[1]===e[6])},m(e,i){h(e,n,i),y(n,t),y(t,o),y(n,l),r||(a=b(t,"click",c),r=!0)},p(l,r){e=l,1&r&&s!==(s=e[7]+"")&&z(o,s),1&r&&i!==(i=e[6])&&_(t,"href",i),3&r&&C(n,"active",e[1]===e[6])},d(e){e&&x(n),r=!1,a()}}}function Se(e){let n,t,o,i,l,r,a,s;o=new Le({props:{width:"3em",height:"3em"}});let c=e[0],p=[];for(let n=0;n<c.length;n+=1)p[n]=Ve(Oe(e,c,n));return{c(){n=m("nav"),t=m("button"),Q(o.$$.fragment),i=v(),l=m("ul");for(let e=0;e<p.length;e+=1)p[e].c();_(t,"class","account__sidebar__close svelte-1rx212l"),_(l,"class","account__sidebar__item_container svelte-1rx212l"),_(n,"data-testid","sidebar"),_(n,"class","account__sidebar svelte-1rx212l")},m(c,d){h(c,n,d),y(n,t),X(o,t,null),y(n,i),y(n,l);for(let e=0;e<p.length;e+=1)p[e].m(l,null);r=!0,a||(s=b(t,"click",e[3]),a=!0)},p(e,[n]){if(7&n){let t;for(c=e[0],t=0;t<c.length;t+=1){const o=Oe(e,c,t);p[t]?p[t].p(o,n):(p[t]=Ve(o),p[t].c(),p[t].m(l,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=c.length}},i(e){r||(Y(o.$$.fragment,e),r=!0)},o(e){K(o.$$.fragment,e),r=!1},d(e){e&&x(n),ee(o),f(p,e),a=!1,s()}}}function Pe(e,n,t){let o,{navigationItems:i}=n;const l=O(),r=e=>{t(1,o=e),l("click_link")};return e.$$set=e=>{"navigationItems"in e&&t(0,i=e.navigationItems)},[i,o,r,function(n){V(e,n)},e=>r(e)]}class Ie extends oe{constructor(e){super(),te(this,e,Pe,Se,a,{navigationItems:0})}}function Te(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 Ee(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}class qe extends oe{constructor(e){super(),te(this,e,Ee,Te,a,{width:0,height:1})}}function Be(e){let n,t;return n=new Ie({props:{navigationItems:e[0]}}),n.$on("click_link",e[4]),n.$on("click",e[5]),{c(){Q(n.$$.fragment)},m(e,o){X(n,e,o),t=!0},p(e,t){const o={};1&t&&(o.navigationItems=e[0]),n.$set(o)},i(e){t||(Y(n.$$.fragment,e),t=!0)},o(e){K(n.$$.fragment,e),t=!1},d(e){ee(n,e)}}}function Fe(e){let n,t,o,i,l,r,a,s,c,p,d,u,f,g,w,M,k,$,A,C,H,L;o=new ke({props:{width:"3em",height:"3em"}}),c=new qe({props:{width:"3em",height:"3em"}});let O=e[2]&&Be(e);return g=new ke({props:{width:"3em",height:"3em"}}),A=new Ie({props:{navigationItems:e[0]}}),{c(){n=m("div"),t=m("div"),Q(o.$$.fragment),i=v(),l=m("h1"),r=j(e[1]),a=v(),s=m("button"),Q(c.$$.fragment),p=v(),O&&O.c(),d=v(),u=m("div"),f=m("div"),Q(g.$$.fragment),w=v(),M=m("h1"),k=j(e[1]),$=v(),Q(A.$$.fragment),_(l,"class","svelte-1jgfrsf"),_(t,"class","account__navigation--mobile__title-container svelte-1jgfrsf"),_(s,"class","account__navigation--mobile__button svelte-1jgfrsf"),_(n,"class","account__navigation--mobile svelte-1jgfrsf"),_(M,"class","svelte-1jgfrsf"),_(f,"class","account__navigation__title-container svelte-1jgfrsf"),_(u,"class","account__navigation svelte-1jgfrsf")},m(x,m){h(x,n,m),y(n,t),X(o,t,null),y(t,i),y(t,l),y(l,r),y(n,a),y(n,s),X(c,s,null),y(n,p),O&&O.m(n,null),h(x,d,m),h(x,u,m),y(u,f),X(g,f,null),y(f,w),y(f,M),y(M,k),y(u,$),X(A,u,null),C=!0,H||(L=b(s,"click",e[3]),H=!0)},p(e,[t]){(!C||2&t)&&z(r,e[1]),e[2]?O?(O.p(e,t),4&t&&Y(O,1)):(O=Be(e),O.c(),Y(O,1),O.m(n,null)):O&&(Z(),K(O,1,1,(()=>{O=null})),U()),(!C||2&t)&&z(k,e[1]);const o={};1&t&&(o.navigationItems=e[0]),A.$set(o)},i(e){C||(Y(o.$$.fragment,e),Y(c.$$.fragment,e),Y(O),Y(g.$$.fragment,e),Y(A.$$.fragment,e),C=!0)},o(e){K(o.$$.fragment,e),K(c.$$.fragment,e),K(O),K(g.$$.fragment,e),K(A.$$.fragment,e),C=!1},d(e){e&&x(n),ee(o),ee(c),O&&O.d(),e&&x(d),e&&x(u),ee(g),ee(A),H=!1,L()}}}function Ne(e,n,t){let{navigationItems:o}=n,{title:i}=n,l=!1;return e.$$set=e=>{"navigationItems"in e&&t(0,o=e.navigationItems),"title"in e&&t(1,i=e.title)},[o,i,l,()=>t(2,l=!0),()=>t(2,l=!1),()=>t(2,l=!1)]}function Re(e,n,t){const o=e.slice();return o[3]=n[t],o}function De(e,n,t){const o=e.slice();return o[6]=n[t].key,o[7]=n[t].renderComponent,o}function We(e,n,t){const o=e.slice();return o[10]=n[t],o}function Ge(e){let n,t,o,i=e[10].title+"";return{c(){n=m("th"),t=j(i),o=v(),_(n,"class","data-table__header__cell svelte-1ju5y8t")},m(e,i){h(e,n,i),y(n,t),y(n,o)},p(e,n){2&n&&i!==(i=e[10].title+"")&&z(t,i)},d(e){e&&x(n)}}}function Ze(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 Ue(e){let n,t,o;function i(){return e[2](e[7],e[3])}var l=e[7].component;return l&&(n=new l({}),n.$on("click",i)),{c(){n&&Q(n.$$.fragment),t=w()},m(e,i){n&&X(n,e,i),h(e,t,i),o=!0},p(o,r){if(l!==(l=(e=o)[7].component)){if(n){Z();const e=n;K(e.$$.fragment,1,0,(()=>{ee(e,1)})),U()}l?(n=new l({}),n.$on("click",i),Q(n.$$.fragment),Y(n.$$.fragment,1),X(n,t.parentNode,t)):n=null}},i(e){o||(n&&Y(n.$$.fragment,e),o=!0)},o(e){n&&K(n.$$.fragment,e),o=!1},d(e){e&&x(t),n&&ee(n,e)}}}function Ye(e){let n,t,o,i;const l=[Ue,Ze],r=[];function a(e,n){return e[7]?0:1}return t=a(e),o=r[t]=l[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),i=!0},p(e,i){let s=t;t=a(e),t===s?r[t].p(e,i):(Z(),K(r[s],1,1,(()=>{r[s]=null})),U(),o=r[t],o?o.p(e,i):(o=r[t]=l[t](e),o.c()),Y(o,1),o.m(n,null))},i(e){i||(Y(o),i=!0)},o(e){K(o),i=!1},d(e){e&&x(n),r[t].d()}}}function Ke(e){let n,t,o,i=e[1],l=[];for(let n=0;n<i.length;n+=1)l[n]=Ye(De(e,i,n));const r=e=>K(l[e],1,1,(()=>{l[e]=null}));return{c(){n=m("tr");for(let e=0;e<l.length;e+=1)l[e].c();t=v(),_(n,"class","data-table__body__row")},m(e,i){h(e,n,i);for(let e=0;e<l.length;e+=1)l[e].m(n,null);y(n,t),o=!0},p(e,o){if(3&o){let a;for(i=e[1],a=0;a<i.length;a+=1){const r=De(e,i,a);l[a]?(l[a].p(r,o),Y(l[a],1)):(l[a]=Ye(r),l[a].c(),Y(l[a],1),l[a].m(n,t))}for(Z(),a=i.length;a<l.length;a+=1)r(a);U()}},i(e){if(!o){for(let e=0;e<i.length;e+=1)Y(l[e]);o=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)K(l[e]);o=!1},d(e){e&&x(n),f(l,e)}}}function Je(e){let n,t,o,i,l,r,a=e[1],s=[];for(let n=0;n<a.length;n+=1)s[n]=Ge(We(e,a,n));let c=e[0],p=[];for(let n=0;n<c.length;n+=1)p[n]=Ke(Re(e,c,n));const d=e=>K(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();i=v(),l=m("tbody");for(let e=0;e<p.length;e+=1)p[e].c();_(t,"class","data-table__header svelte-1ju5y8t"),_(l,"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,i),y(n,l);for(let e=0;e<p.length;e+=1)p[e].m(l,null);r=!0},p(e,[n]){if(2&n){let t;for(a=e[1],t=0;t<a.length;t+=1){const i=We(e,a,t);s[t]?s[t].p(i,n):(s[t]=Ge(i),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=Re(e,c,t);p[t]?(p[t].p(o,n),Y(p[t],1)):(p[t]=Ke(o),p[t].c(),Y(p[t],1),p[t].m(l,null))}for(Z(),t=c.length;t<p.length;t+=1)d(t);U()}},i(e){if(!r){for(let e=0;e<c.length;e+=1)Y(p[e]);r=!0}},o(e){p=p.filter(Boolean);for(let e=0;e<p.length;e+=1)K(p[e]);r=!1},d(e){e&&x(n),f(s,e),f(p,e)}}}function Qe(e,n,t){let{rows:o}=n,{collumns:i}=n;return e.$$set=e=>{"rows"in e&&t(0,o=e.rows),"collumns"in e&&t(1,i=e.collumns)},[o,i,(e,n)=>e.props.onclick(n)]}function Xe(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 en(e,n,t){let{width:o="3rem"}=n,{height:i="3rem"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height)},[o,i]}function nn(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 tn(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n,{fill:l="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height),"fill"in e&&t(2,l=e.fill)},[o,i,l]}function on(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 ln(e,n,t){let{width:o="5rem"}=n,{height:i="5rem"}=n,{stroke:l="currentColor"}=n;return e.$$set=e=>{"width"in e&&t(0,o=e.width),"height"in e&&t(1,i=e.height),"stroke"in e&&t(2,l=e.stroke)},[o,i,l]}function rn(e){let t,o,i,l,a;return{c(){t=m("div"),o=j(e[1]),_(t,"class",i=u(`alert alert--${e[0]}`)+" svelte-1oun6o6")},m(n,i){h(n,t,i),y(t,o),l||(a=b(t,"click",(function(){r(e[2])&&e[2].apply(this,arguments)})),l=!0)},p(n,[l]){e=n,2&l&&z(o,e[1]),1&l&&i!==(i=u(`alert alert--${e[0]}`)+" svelte-1oun6o6")&&_(t,"class",i)},i:n,o:n,d(e){e&&x(t),l=!1,a()}}}function an(e,n,t){let{type:o="success"}=n,{content:i}=n,{callback:l}=n;return e.$$set=e=>{"type"in e&&t(0,o=e.type),"content"in e&&t(1,i=e.content),"callback"in e&&t(2,l=e.callback)},[o,i,l]}return e.Alert=class extends oe{constructor(e){super(),te(this,e,an,rn,a,{type:0,content:1,callback:2})}},e.Button=class extends oe{constructor(e){super(),te(this,e,le,ie,a,{type:0,disabled:1,kind:2,size:3,rounded:4,id:5})}},e.DataTable=class extends oe{constructor(e){super(),te(this,e,Qe,Je,a,{rows:0,collumns:1})}},e.Icon=class extends oe{constructor(e){super(),te(this,e,be,we,a,{name:4,stroke:5,strokeWidth:6,width:0,height:1,color:2})}},e.IconFloppyDisk=class extends oe{constructor(e){super(),te(this,e,tn,nn,a,{width:0,height:1,fill:2})}},e.IconInfo=class extends oe{constructor(e){super(),te(this,e,Ae,ze,a,{width:0,height:1})}},e.IconMore=class extends oe{constructor(e){super(),te(this,e,en,Xe,a,{width:0,height:1})}},e.IconTrashCan=class extends oe{constructor(e){super(),te(this,e,ln,on,a,{width:0,height:1,stroke:2})}},e.Loader=class extends oe{constructor(e){super(),te(this,e,null,$e,a,{})}},e.Navigation=class extends oe{constructor(e){super(),te(this,e,Ne,Fe,a,{navigationItems:0,title:1})}},e.NumberInput=class extends oe{constructor(e){super(),te(this,e,xe,he,a,{id:1,label:2,placeholder:3,error:4,value:0,min:5,max:6})}},e.RadioButton=class extends oe{constructor(e){super(),te(this,e,de,pe,a,{label:5,value:2,group:0,name:3,checked:1})}get label(){return this.$$.ctx[5]}},e.SideBar=Ie,e.TextInput=class extends oe{constructor(e){super(),te(this,e,ce,se,a,{TextType:10,id:1,type:11,label:2,placeholder:3,error:4,value:0,onFocus:5,onBlur:6,readonly:7,border:8})}},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
package/lib/index.mjs
CHANGED
|
@@ -169,37 +169,6 @@ function custom_event(type, detail) {
|
|
|
169
169
|
e.initCustomEvent(type, false, false, detail);
|
|
170
170
|
return e;
|
|
171
171
|
}
|
|
172
|
-
class HtmlTag {
|
|
173
|
-
constructor(anchor = null) {
|
|
174
|
-
this.a = anchor;
|
|
175
|
-
this.e = this.n = null;
|
|
176
|
-
}
|
|
177
|
-
m(html, target, anchor = null) {
|
|
178
|
-
if (!this.e) {
|
|
179
|
-
this.e = element(target.nodeName);
|
|
180
|
-
this.t = target;
|
|
181
|
-
this.h(html);
|
|
182
|
-
}
|
|
183
|
-
this.i(anchor);
|
|
184
|
-
}
|
|
185
|
-
h(html) {
|
|
186
|
-
this.e.innerHTML = html;
|
|
187
|
-
this.n = Array.from(this.e.childNodes);
|
|
188
|
-
}
|
|
189
|
-
i(anchor) {
|
|
190
|
-
for (let i = 0; i < this.n.length; i += 1) {
|
|
191
|
-
insert(this.t, this.n[i], anchor);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
p(html) {
|
|
195
|
-
this.d();
|
|
196
|
-
this.h(html);
|
|
197
|
-
this.i(this.a);
|
|
198
|
-
}
|
|
199
|
-
d() {
|
|
200
|
-
this.n.forEach(detach);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
172
|
|
|
204
173
|
let current_component;
|
|
205
174
|
function set_current_component(component) {
|
|
@@ -623,7 +592,7 @@ class Button extends SvelteComponent {
|
|
|
623
592
|
|
|
624
593
|
/* src/TextInput.svelte generated by Svelte v3.38.2 */
|
|
625
594
|
|
|
626
|
-
function
|
|
595
|
+
function create_if_block_1$1(ctx) {
|
|
627
596
|
let label_1;
|
|
628
597
|
let t;
|
|
629
598
|
|
|
@@ -651,91 +620,28 @@ function create_if_block_2(ctx) {
|
|
|
651
620
|
};
|
|
652
621
|
}
|
|
653
622
|
|
|
654
|
-
// (
|
|
623
|
+
// (40:1) {#if error != null}
|
|
655
624
|
function create_if_block$4(ctx) {
|
|
656
625
|
let p;
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
if (/*htmlError*/ ctx[5]) return create_if_block_1$1;
|
|
660
|
-
return create_else_block$1;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
let current_block_type = select_block_type(ctx);
|
|
664
|
-
let if_block = current_block_type(ctx);
|
|
626
|
+
let t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
627
|
+
let t;
|
|
665
628
|
|
|
666
629
|
return {
|
|
667
630
|
c() {
|
|
668
631
|
p = element("p");
|
|
669
|
-
|
|
632
|
+
t = text(t_value);
|
|
670
633
|
attr(p, "data-testid", "error");
|
|
671
634
|
attr(p, "class", "error svelte-11iawkb");
|
|
672
635
|
},
|
|
673
636
|
m(target, anchor) {
|
|
674
637
|
insert(target, p, anchor);
|
|
675
|
-
|
|
676
|
-
},
|
|
677
|
-
p(ctx, dirty) {
|
|
678
|
-
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
679
|
-
if_block.p(ctx, dirty);
|
|
680
|
-
} else {
|
|
681
|
-
if_block.d(1);
|
|
682
|
-
if_block = current_block_type(ctx);
|
|
683
|
-
|
|
684
|
-
if (if_block) {
|
|
685
|
-
if_block.c();
|
|
686
|
-
if_block.m(p, null);
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
d(detaching) {
|
|
691
|
-
if (detaching) detach(p);
|
|
692
|
-
if_block.d();
|
|
693
|
-
}
|
|
694
|
-
};
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
// (45:3) {:else}
|
|
698
|
-
function create_else_block$1(ctx) {
|
|
699
|
-
let t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
700
|
-
let t;
|
|
701
|
-
|
|
702
|
-
return {
|
|
703
|
-
c() {
|
|
704
|
-
t = text(t_value);
|
|
705
|
-
},
|
|
706
|
-
m(target, anchor) {
|
|
707
|
-
insert(target, t, anchor);
|
|
638
|
+
append(p, t);
|
|
708
639
|
},
|
|
709
640
|
p(ctx, dirty) {
|
|
710
641
|
if (dirty & /*error*/ 16 && t_value !== (t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "")) set_data(t, t_value);
|
|
711
642
|
},
|
|
712
643
|
d(detaching) {
|
|
713
|
-
if (detaching) detach(
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
// (43:3) {#if htmlError}
|
|
719
|
-
function create_if_block_1$1(ctx) {
|
|
720
|
-
let html_tag;
|
|
721
|
-
let raw_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
722
|
-
let html_anchor;
|
|
723
|
-
|
|
724
|
-
return {
|
|
725
|
-
c() {
|
|
726
|
-
html_anchor = empty();
|
|
727
|
-
html_tag = new HtmlTag(html_anchor);
|
|
728
|
-
},
|
|
729
|
-
m(target, anchor) {
|
|
730
|
-
html_tag.m(raw_value, target, anchor);
|
|
731
|
-
insert(target, html_anchor, anchor);
|
|
732
|
-
},
|
|
733
|
-
p(ctx, dirty) {
|
|
734
|
-
if (dirty & /*error*/ 16 && raw_value !== (raw_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "")) html_tag.p(raw_value);
|
|
735
|
-
},
|
|
736
|
-
d(detaching) {
|
|
737
|
-
if (detaching) detach(html_anchor);
|
|
738
|
-
if (detaching) html_tag.d();
|
|
644
|
+
if (detaching) detach(p);
|
|
739
645
|
}
|
|
740
646
|
};
|
|
741
647
|
}
|
|
@@ -747,7 +653,7 @@ function create_fragment$f(ctx) {
|
|
|
747
653
|
let t1;
|
|
748
654
|
let mounted;
|
|
749
655
|
let dispose;
|
|
750
|
-
let if_block0 = /*label*/ ctx[2] &&
|
|
656
|
+
let if_block0 = /*label*/ ctx[2] && create_if_block_1$1(ctx);
|
|
751
657
|
let if_block1 = /*error*/ ctx[4] != null && create_if_block$4(ctx);
|
|
752
658
|
|
|
753
659
|
return {
|
|
@@ -761,11 +667,11 @@ function create_fragment$f(ctx) {
|
|
|
761
667
|
attr(input, "id", /*id*/ ctx[1]);
|
|
762
668
|
attr(input, "type", "text");
|
|
763
669
|
attr(input, "placeholder", /*placeholder*/ ctx[3]);
|
|
764
|
-
input.readOnly = /*readonly*/ ctx[
|
|
670
|
+
input.readOnly = /*readonly*/ ctx[7];
|
|
765
671
|
attr(input, "class", "svelte-11iawkb");
|
|
766
|
-
toggle_class(input, "border", /*border*/ ctx[
|
|
672
|
+
toggle_class(input, "border", /*border*/ ctx[8]);
|
|
767
673
|
toggle_class(input, "error", /*error*/ ctx[4] !== null);
|
|
768
|
-
toggle_class(input, "readonlyInput", /*readonly*/ ctx[
|
|
674
|
+
toggle_class(input, "readonlyInput", /*readonly*/ ctx[7] == true);
|
|
769
675
|
attr(div, "class", "iroco-ui-input svelte-11iawkb");
|
|
770
676
|
},
|
|
771
677
|
m(target, anchor) {
|
|
@@ -779,15 +685,15 @@ function create_fragment$f(ctx) {
|
|
|
779
685
|
|
|
780
686
|
if (!mounted) {
|
|
781
687
|
dispose = [
|
|
782
|
-
listen(input, "input", /*input_handler*/ ctx[
|
|
783
|
-
listen(input, "input", /*input_input_handler*/ ctx[
|
|
688
|
+
listen(input, "input", /*input_handler*/ ctx[12]),
|
|
689
|
+
listen(input, "input", /*input_input_handler*/ ctx[13]),
|
|
784
690
|
listen(input, "focus", function () {
|
|
785
|
-
if (is_function(/*onFocus*/ ctx[
|
|
691
|
+
if (is_function(/*onFocus*/ ctx[5])) /*onFocus*/ ctx[5].apply(this, arguments);
|
|
786
692
|
}),
|
|
787
693
|
listen(input, "blur", function () {
|
|
788
|
-
if (is_function(/*onBlur*/ ctx[
|
|
694
|
+
if (is_function(/*onBlur*/ ctx[6])) /*onBlur*/ ctx[6].apply(this, arguments);
|
|
789
695
|
}),
|
|
790
|
-
action_destroyer(/*typeAction*/ ctx[
|
|
696
|
+
action_destroyer(/*typeAction*/ ctx[9].call(null, input))
|
|
791
697
|
];
|
|
792
698
|
|
|
793
699
|
mounted = true;
|
|
@@ -800,7 +706,7 @@ function create_fragment$f(ctx) {
|
|
|
800
706
|
if (if_block0) {
|
|
801
707
|
if_block0.p(ctx, dirty);
|
|
802
708
|
} else {
|
|
803
|
-
if_block0 =
|
|
709
|
+
if_block0 = create_if_block_1$1(ctx);
|
|
804
710
|
if_block0.c();
|
|
805
711
|
if_block0.m(div, t0);
|
|
806
712
|
}
|
|
@@ -817,24 +723,24 @@ function create_fragment$f(ctx) {
|
|
|
817
723
|
attr(input, "placeholder", /*placeholder*/ ctx[3]);
|
|
818
724
|
}
|
|
819
725
|
|
|
820
|
-
if (dirty & /*readonly*/
|
|
821
|
-
input.readOnly = /*readonly*/ ctx[
|
|
726
|
+
if (dirty & /*readonly*/ 128) {
|
|
727
|
+
input.readOnly = /*readonly*/ ctx[7];
|
|
822
728
|
}
|
|
823
729
|
|
|
824
730
|
if (dirty & /*value*/ 1 && input.value !== /*value*/ ctx[0]) {
|
|
825
731
|
set_input_value(input, /*value*/ ctx[0]);
|
|
826
732
|
}
|
|
827
733
|
|
|
828
|
-
if (dirty & /*border*/
|
|
829
|
-
toggle_class(input, "border", /*border*/ ctx[
|
|
734
|
+
if (dirty & /*border*/ 256) {
|
|
735
|
+
toggle_class(input, "border", /*border*/ ctx[8]);
|
|
830
736
|
}
|
|
831
737
|
|
|
832
738
|
if (dirty & /*error*/ 16) {
|
|
833
739
|
toggle_class(input, "error", /*error*/ ctx[4] !== null);
|
|
834
740
|
}
|
|
835
741
|
|
|
836
|
-
if (dirty & /*readonly*/
|
|
837
|
-
toggle_class(input, "readonlyInput", /*readonly*/ ctx[
|
|
742
|
+
if (dirty & /*readonly*/ 128) {
|
|
743
|
+
toggle_class(input, "readonlyInput", /*readonly*/ ctx[7] == true);
|
|
838
744
|
}
|
|
839
745
|
|
|
840
746
|
if (/*error*/ ctx[4] != null) {
|
|
@@ -876,7 +782,6 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
|
876
782
|
let { label = null } = $$props;
|
|
877
783
|
let { placeholder } = $$props;
|
|
878
784
|
let { error = null } = $$props;
|
|
879
|
-
let { htmlError = false } = $$props;
|
|
880
785
|
let { value = null } = $$props;
|
|
881
786
|
let { onFocus } = $$props;
|
|
882
787
|
let { onBlur } = $$props;
|
|
@@ -897,18 +802,17 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
|
897
802
|
}
|
|
898
803
|
|
|
899
804
|
$$self.$$set = $$props => {
|
|
900
|
-
if ("TextType" in $$props) $$invalidate(
|
|
805
|
+
if ("TextType" in $$props) $$invalidate(10, TextType = $$props.TextType);
|
|
901
806
|
if ("id" in $$props) $$invalidate(1, id = $$props.id);
|
|
902
|
-
if ("type" in $$props) $$invalidate(
|
|
807
|
+
if ("type" in $$props) $$invalidate(11, type = $$props.type);
|
|
903
808
|
if ("label" in $$props) $$invalidate(2, label = $$props.label);
|
|
904
809
|
if ("placeholder" in $$props) $$invalidate(3, placeholder = $$props.placeholder);
|
|
905
810
|
if ("error" in $$props) $$invalidate(4, error = $$props.error);
|
|
906
|
-
if ("htmlError" in $$props) $$invalidate(5, htmlError = $$props.htmlError);
|
|
907
811
|
if ("value" in $$props) $$invalidate(0, value = $$props.value);
|
|
908
|
-
if ("onFocus" in $$props) $$invalidate(
|
|
909
|
-
if ("onBlur" in $$props) $$invalidate(
|
|
910
|
-
if ("readonly" in $$props) $$invalidate(
|
|
911
|
-
if ("border" in $$props) $$invalidate(
|
|
812
|
+
if ("onFocus" in $$props) $$invalidate(5, onFocus = $$props.onFocus);
|
|
813
|
+
if ("onBlur" in $$props) $$invalidate(6, onBlur = $$props.onBlur);
|
|
814
|
+
if ("readonly" in $$props) $$invalidate(7, readonly = $$props.readonly);
|
|
815
|
+
if ("border" in $$props) $$invalidate(8, border = $$props.border);
|
|
912
816
|
};
|
|
913
817
|
|
|
914
818
|
return [
|
|
@@ -917,7 +821,6 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
|
917
821
|
label,
|
|
918
822
|
placeholder,
|
|
919
823
|
error,
|
|
920
|
-
htmlError,
|
|
921
824
|
onFocus,
|
|
922
825
|
onBlur,
|
|
923
826
|
readonly,
|
|
@@ -935,18 +838,17 @@ class TextInput extends SvelteComponent {
|
|
|
935
838
|
super();
|
|
936
839
|
|
|
937
840
|
init(this, options, instance$e, create_fragment$f, safe_not_equal, {
|
|
938
|
-
TextType:
|
|
841
|
+
TextType: 10,
|
|
939
842
|
id: 1,
|
|
940
|
-
type:
|
|
843
|
+
type: 11,
|
|
941
844
|
label: 2,
|
|
942
845
|
placeholder: 3,
|
|
943
846
|
error: 4,
|
|
944
|
-
htmlError: 5,
|
|
945
847
|
value: 0,
|
|
946
|
-
onFocus:
|
|
947
|
-
onBlur:
|
|
948
|
-
readonly:
|
|
949
|
-
border:
|
|
848
|
+
onFocus: 5,
|
|
849
|
+
onBlur: 6,
|
|
850
|
+
readonly: 7,
|
|
851
|
+
border: 8
|
|
950
852
|
});
|
|
951
853
|
}
|
|
952
854
|
}
|
|
@@ -4094,15 +3996,16 @@ class IconClose extends SvelteComponent {
|
|
|
4094
3996
|
|
|
4095
3997
|
function get_each_context$1(ctx, list, i) {
|
|
4096
3998
|
const child_ctx = ctx.slice();
|
|
4097
|
-
child_ctx[6] = list[i];
|
|
3999
|
+
child_ctx[6] = list[i].destination;
|
|
4000
|
+
child_ctx[7] = list[i].name;
|
|
4098
4001
|
return child_ctx;
|
|
4099
4002
|
}
|
|
4100
4003
|
|
|
4101
|
-
// (
|
|
4004
|
+
// (19:2) {#each navigationItems as { destination, name }}
|
|
4102
4005
|
function create_each_block$1(ctx) {
|
|
4103
4006
|
let li;
|
|
4104
4007
|
let a;
|
|
4105
|
-
let t0_value = /*
|
|
4008
|
+
let t0_value = /*name*/ ctx[7] + "";
|
|
4106
4009
|
let t0;
|
|
4107
4010
|
let a_href_value;
|
|
4108
4011
|
let t1;
|
|
@@ -4110,7 +4013,7 @@ function create_each_block$1(ctx) {
|
|
|
4110
4013
|
let dispose;
|
|
4111
4014
|
|
|
4112
4015
|
function click_handler_1() {
|
|
4113
|
-
return /*click_handler_1*/ ctx[4](/*
|
|
4016
|
+
return /*click_handler_1*/ ctx[4](/*destination*/ ctx[6]);
|
|
4114
4017
|
}
|
|
4115
4018
|
|
|
4116
4019
|
return {
|
|
@@ -4119,14 +4022,10 @@ function create_each_block$1(ctx) {
|
|
|
4119
4022
|
a = element("a");
|
|
4120
4023
|
t0 = text(t0_value);
|
|
4121
4024
|
t1 = space();
|
|
4122
|
-
|
|
4123
|
-
attr(a, "
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
attr(a, "class", "svelte-jkys2k");
|
|
4128
|
-
attr(li, "class", "account__sidebar__item svelte-jkys2k");
|
|
4129
|
-
toggle_class(li, "active", /*active*/ ctx[1] === /*item*/ ctx[6].name);
|
|
4025
|
+
attr(a, "href", a_href_value = /*destination*/ ctx[6]);
|
|
4026
|
+
attr(a, "class", "svelte-1rx212l");
|
|
4027
|
+
attr(li, "class", "account__sidebar__item svelte-1rx212l");
|
|
4028
|
+
toggle_class(li, "active", /*active*/ ctx[1] === /*destination*/ ctx[6]);
|
|
4130
4029
|
},
|
|
4131
4030
|
m(target, anchor) {
|
|
4132
4031
|
insert(target, li, anchor);
|
|
@@ -4141,16 +4040,14 @@ function create_each_block$1(ctx) {
|
|
|
4141
4040
|
},
|
|
4142
4041
|
p(new_ctx, dirty) {
|
|
4143
4042
|
ctx = new_ctx;
|
|
4144
|
-
if (dirty & /*navigationItems*/ 1 && t0_value !== (t0_value = /*
|
|
4043
|
+
if (dirty & /*navigationItems*/ 1 && t0_value !== (t0_value = /*name*/ ctx[7] + "")) set_data(t0, t0_value);
|
|
4145
4044
|
|
|
4146
|
-
if (dirty & /*navigationItems*/ 1 && a_href_value !== (a_href_value =
|
|
4147
|
-
? /*item*/ ctx[6].hrefOrCallback
|
|
4148
|
-
: "#")) {
|
|
4045
|
+
if (dirty & /*navigationItems*/ 1 && a_href_value !== (a_href_value = /*destination*/ ctx[6])) {
|
|
4149
4046
|
attr(a, "href", a_href_value);
|
|
4150
4047
|
}
|
|
4151
4048
|
|
|
4152
4049
|
if (dirty & /*active, navigationItems*/ 3) {
|
|
4153
|
-
toggle_class(li, "active", /*active*/ ctx[1] === /*
|
|
4050
|
+
toggle_class(li, "active", /*active*/ ctx[1] === /*destination*/ ctx[6]);
|
|
4154
4051
|
}
|
|
4155
4052
|
},
|
|
4156
4053
|
d(detaching) {
|
|
@@ -4190,10 +4087,10 @@ function create_fragment$7(ctx) {
|
|
|
4190
4087
|
each_blocks[i].c();
|
|
4191
4088
|
}
|
|
4192
4089
|
|
|
4193
|
-
attr(button, "class", "account__sidebar__close svelte-
|
|
4194
|
-
attr(ul, "class", "account__sidebar__item_container svelte-
|
|
4090
|
+
attr(button, "class", "account__sidebar__close svelte-1rx212l");
|
|
4091
|
+
attr(ul, "class", "account__sidebar__item_container svelte-1rx212l");
|
|
4195
4092
|
attr(nav, "data-testid", "sidebar");
|
|
4196
|
-
attr(nav, "class", "account__sidebar svelte-
|
|
4093
|
+
attr(nav, "class", "account__sidebar svelte-1rx212l");
|
|
4197
4094
|
},
|
|
4198
4095
|
m(target, anchor) {
|
|
4199
4096
|
insert(target, nav, anchor);
|
|
@@ -4262,14 +4159,8 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4262
4159
|
let active;
|
|
4263
4160
|
const dispatch = createEventDispatcher();
|
|
4264
4161
|
|
|
4265
|
-
const handleClickLink =
|
|
4266
|
-
$$invalidate(1, active =
|
|
4267
|
-
|
|
4268
|
-
if (typeof menuItem.hrefOrCallback === "function") {
|
|
4269
|
-
menuItem.hrefOrCallback();
|
|
4270
|
-
return false; // to avoid calling href
|
|
4271
|
-
}
|
|
4272
|
-
|
|
4162
|
+
const handleClickLink = destination => {
|
|
4163
|
+
$$invalidate(1, active = destination);
|
|
4273
4164
|
dispatch("click_link");
|
|
4274
4165
|
};
|
|
4275
4166
|
|
|
@@ -4277,7 +4168,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4277
4168
|
bubble($$self, event);
|
|
4278
4169
|
}
|
|
4279
4170
|
|
|
4280
|
-
const click_handler_1 =
|
|
4171
|
+
const click_handler_1 = destination => handleClickLink(destination);
|
|
4281
4172
|
|
|
4282
4173
|
$$self.$$set = $$props => {
|
|
4283
4174
|
if ("navigationItems" in $$props) $$invalidate(0, navigationItems = $$props.navigationItems);
|
|
@@ -4453,13 +4344,13 @@ function create_fragment$5(ctx) {
|
|
|
4453
4344
|
t6 = text(/*title*/ ctx[1]);
|
|
4454
4345
|
t7 = space();
|
|
4455
4346
|
create_component(sidebar.$$.fragment);
|
|
4456
|
-
attr(h10, "class", "svelte-
|
|
4457
|
-
attr(div0, "class", "account__navigation--mobile__title-container svelte-
|
|
4458
|
-
attr(button, "class", "account__navigation--mobile__button svelte-
|
|
4459
|
-
attr(div1, "class", "account__navigation--mobile svelte-
|
|
4460
|
-
attr(h11, "class", "svelte-
|
|
4461
|
-
attr(div2, "class", "account__navigation__title-container svelte-
|
|
4462
|
-
attr(div3, "class", "account__navigation svelte-
|
|
4347
|
+
attr(h10, "class", "svelte-1jgfrsf");
|
|
4348
|
+
attr(div0, "class", "account__navigation--mobile__title-container svelte-1jgfrsf");
|
|
4349
|
+
attr(button, "class", "account__navigation--mobile__button svelte-1jgfrsf");
|
|
4350
|
+
attr(div1, "class", "account__navigation--mobile svelte-1jgfrsf");
|
|
4351
|
+
attr(h11, "class", "svelte-1jgfrsf");
|
|
4352
|
+
attr(div2, "class", "account__navigation__title-container svelte-1jgfrsf");
|
|
4353
|
+
attr(div3, "class", "account__navigation svelte-1jgfrsf");
|
|
4463
4354
|
},
|
|
4464
4355
|
m(target, anchor) {
|
|
4465
4356
|
insert(target, div1, anchor);
|
package/lib/index.mjs.css
CHANGED
|
@@ -16,6 +16,40 @@ 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
|
+
|
|
34
|
+
.alert.svelte-1oun6o6 {
|
|
35
|
+
min-height: 2em;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
border-radius: 0.5em;
|
|
39
|
+
padding: 0 1em 0 1em;
|
|
40
|
+
font-size: 1.2em;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
margin-bottom: 1em;
|
|
43
|
+
cursor: pointer; }
|
|
44
|
+
|
|
45
|
+
.alert--danger.svelte-1oun6o6 {
|
|
46
|
+
background-color: rgba(255, 80, 77, 0.5);
|
|
47
|
+
border: 1px solid #ff504d; }
|
|
48
|
+
|
|
49
|
+
.alert--success.svelte-1oun6o6 {
|
|
50
|
+
background-color: rgba(0, 214, 146, 0.5);
|
|
51
|
+
border: 1px solid #00D692; }
|
|
52
|
+
|
|
19
53
|
.iroco-ui-radio.svelte-156c82q.svelte-156c82q.svelte-156c82q {
|
|
20
54
|
color: #f2ebe3;
|
|
21
55
|
position: relative;
|
|
@@ -254,63 +288,63 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
254
288
|
.iroco-ui-button.rounded.svelte-hp8sdi {
|
|
255
289
|
border-radius: 10px; }
|
|
256
290
|
|
|
257
|
-
.account__navigation.svelte-
|
|
291
|
+
.account__navigation.svelte-1jgfrsf.svelte-1jgfrsf {
|
|
258
292
|
display: block;
|
|
259
293
|
width: 100%;
|
|
260
294
|
border-bottom: 1px solid #464452; }
|
|
261
295
|
|
|
262
|
-
.account__navigation--mobile.svelte-
|
|
296
|
+
.account__navigation--mobile.svelte-1jgfrsf.svelte-1jgfrsf {
|
|
263
297
|
display: none; }
|
|
264
298
|
|
|
265
|
-
.account__navigation__title-container.svelte-
|
|
299
|
+
.account__navigation__title-container.svelte-1jgfrsf.svelte-1jgfrsf {
|
|
266
300
|
display: flex;
|
|
267
301
|
align-items: center;
|
|
268
302
|
padding-left: 1em; }
|
|
269
303
|
|
|
270
|
-
.account__navigation__title-container.svelte-
|
|
304
|
+
.account__navigation__title-container.svelte-1jgfrsf h1.svelte-1jgfrsf {
|
|
271
305
|
padding-left: 1em; }
|
|
272
306
|
|
|
273
307
|
@media all and (max-width: 768px) {
|
|
274
|
-
.account__navigation.svelte-
|
|
308
|
+
.account__navigation.svelte-1jgfrsf.svelte-1jgfrsf {
|
|
275
309
|
display: none;
|
|
276
310
|
color: #f2ebe3; }
|
|
277
|
-
.account__navigation--mobile.svelte-
|
|
311
|
+
.account__navigation--mobile.svelte-1jgfrsf.svelte-1jgfrsf {
|
|
278
312
|
display: flex;
|
|
279
313
|
padding: 0 1em;
|
|
280
314
|
justify-content: space-between;
|
|
281
315
|
position: fixed;
|
|
282
316
|
top: 0;
|
|
283
|
-
z-index: 1;
|
|
284
317
|
width: 100%;
|
|
285
318
|
border-bottom: 1px solid #464452; }
|
|
286
|
-
.account__navigation--mobile.svelte-
|
|
319
|
+
.account__navigation--mobile.svelte-1jgfrsf h1.svelte-1jgfrsf {
|
|
287
320
|
font: bold;
|
|
288
321
|
font-size: 2em; }
|
|
289
|
-
.account__navigation--mobile__button.svelte-
|
|
322
|
+
.account__navigation--mobile__button.svelte-1jgfrsf.svelte-1jgfrsf {
|
|
290
323
|
background-color: transparent;
|
|
291
324
|
border: none;
|
|
292
325
|
color: #464452; }
|
|
293
|
-
.account__navigation--mobile__title-container.svelte-
|
|
326
|
+
.account__navigation--mobile__title-container.svelte-1jgfrsf.svelte-1jgfrsf {
|
|
294
327
|
display: flex;
|
|
295
328
|
align-items: center; }
|
|
296
|
-
.account__navigation--mobile__title-container.svelte-
|
|
329
|
+
.account__navigation--mobile__title-container.svelte-1jgfrsf h1.svelte-1jgfrsf {
|
|
297
330
|
padding-left: 0.5em; } }
|
|
298
331
|
|
|
299
|
-
.account__sidebar.svelte-
|
|
332
|
+
.account__sidebar.svelte-1rx212l.svelte-1rx212l {
|
|
300
333
|
height: 100%;
|
|
301
334
|
width: 300px;
|
|
302
335
|
position: absolute;
|
|
303
336
|
top: 70px;
|
|
337
|
+
z-index: 1;
|
|
304
338
|
overflow-x: hidden;
|
|
305
339
|
border-right: 1px solid #464452; }
|
|
306
340
|
|
|
307
|
-
.account__sidebar__item_container.svelte-
|
|
341
|
+
.account__sidebar__item_container.svelte-1rx212l.svelte-1rx212l {
|
|
308
342
|
margin: 0;
|
|
309
343
|
padding: 0;
|
|
310
344
|
width: 100%;
|
|
311
345
|
height: 100%; }
|
|
312
346
|
|
|
313
|
-
.account__sidebar__item.svelte-
|
|
347
|
+
.account__sidebar__item.svelte-1rx212l.svelte-1rx212l {
|
|
314
348
|
padding: 2em 2em;
|
|
315
349
|
text-decoration: none;
|
|
316
350
|
font-size: 0.75em;
|
|
@@ -319,19 +353,19 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
319
353
|
border-bottom: 1px solid #464452 a;
|
|
320
354
|
border-bottom-padding-left: 1em; }
|
|
321
355
|
|
|
322
|
-
.account__sidebar__item.svelte-
|
|
356
|
+
.account__sidebar__item.svelte-1rx212l a.svelte-1rx212l {
|
|
323
357
|
color: #f2ebe3;
|
|
324
358
|
font-size: 2em; }
|
|
325
359
|
|
|
326
|
-
.account__sidebar__close.svelte-
|
|
360
|
+
.account__sidebar__close.svelte-1rx212l.svelte-1rx212l {
|
|
327
361
|
display: none; }
|
|
328
362
|
|
|
329
|
-
.account__sidebar.svelte-
|
|
363
|
+
.account__sidebar.svelte-1rx212l .active.svelte-1rx212l {
|
|
330
364
|
border-top: 1px solid #00D692;
|
|
331
365
|
border-bottom: 1px solid #00D692; }
|
|
332
366
|
|
|
333
367
|
@media all and (max-width: 768px) {
|
|
334
|
-
.account__sidebar.svelte-
|
|
368
|
+
.account__sidebar.svelte-1rx212l.svelte-1rx212l {
|
|
335
369
|
position: fixed;
|
|
336
370
|
background-color: #211D28;
|
|
337
371
|
top: 0;
|
|
@@ -341,10 +375,10 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
341
375
|
padding-top: 2em;
|
|
342
376
|
margin: 0;
|
|
343
377
|
border-right: none; }
|
|
344
|
-
.account__sidebar__item_container.svelte-
|
|
378
|
+
.account__sidebar__item_container.svelte-1rx212l.svelte-1rx212l {
|
|
345
379
|
padding: 0em;
|
|
346
380
|
margin-top: 2rem; }
|
|
347
|
-
.account__sidebar__close.svelte-
|
|
381
|
+
.account__sidebar__close.svelte-1rx212l.svelte-1rx212l {
|
|
348
382
|
display: block;
|
|
349
383
|
position: absolute;
|
|
350
384
|
right: 0;
|
|
@@ -358,36 +392,3 @@ input.svelte-11iawkb.svelte-11iawkb:focus {
|
|
|
358
392
|
@use "fonts";
|
|
359
393
|
@use "forms";
|
|
360
394
|
@use "layouts";
|
|
361
|
-
.data-table.svelte-1ju5y8t {
|
|
362
|
-
border: 1px solid #464452;
|
|
363
|
-
width: 100%; }
|
|
364
|
-
|
|
365
|
-
.data-table__header.svelte-1ju5y8t {
|
|
366
|
-
font-size: 1.5em;
|
|
367
|
-
height: 4rem; }
|
|
368
|
-
|
|
369
|
-
.data-table__header__cell.svelte-1ju5y8t {
|
|
370
|
-
border-bottom: 1px solid #464452; }
|
|
371
|
-
|
|
372
|
-
.data-table__body__cell.svelte-1ju5y8t {
|
|
373
|
-
text-align: center;
|
|
374
|
-
vertical-align: middle; }
|
|
375
|
-
|
|
376
|
-
.alert.svelte-1oun6o6 {
|
|
377
|
-
min-height: 2em;
|
|
378
|
-
display: inline-flex;
|
|
379
|
-
align-items: center;
|
|
380
|
-
border-radius: 0.5em;
|
|
381
|
-
padding: 0 1em 0 1em;
|
|
382
|
-
font-size: 1.2em;
|
|
383
|
-
justify-content: center;
|
|
384
|
-
margin-bottom: 1em;
|
|
385
|
-
cursor: pointer; }
|
|
386
|
-
|
|
387
|
-
.alert--danger.svelte-1oun6o6 {
|
|
388
|
-
background-color: rgba(255, 80, 77, 0.5);
|
|
389
|
-
border: 1px solid #ff504d; }
|
|
390
|
-
|
|
391
|
-
.alert--success.svelte-1oun6o6 {
|
|
392
|
-
background-color: rgba(0, 214, 146, 0.5);
|
|
393
|
-
border: 1px solid #00D692; }
|
package/package.json
CHANGED
package/src/Button.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
export let type = 'button';
|
|
3
3
|
export let disabled = false;
|
|
4
|
-
export let kind: 'danger' | 'basic' = 'basic';
|
|
4
|
+
export let kind: 'danger' | 'success' | 'basic' = 'basic';
|
|
5
5
|
export let size: 'small' | 'regular' = 'regular';
|
|
6
6
|
export let rounded = false;
|
|
7
7
|
export let id:string ;
|
|
@@ -41,9 +41,13 @@
|
|
|
41
41
|
position: relative;
|
|
42
42
|
|
|
43
43
|
&--basic {
|
|
44
|
+
background: colors.$beige;
|
|
45
|
+
color: colors.$darkBeige;
|
|
46
|
+
border: 1px solid colors.$nightBlue;
|
|
47
|
+
}
|
|
48
|
+
&--success {
|
|
44
49
|
background: colors.$green;
|
|
45
50
|
}
|
|
46
|
-
|
|
47
51
|
&--danger {
|
|
48
52
|
background: colors.$red;
|
|
49
53
|
color: colors.$beige;
|