@iroco/ui 0.17.1 → 0.18.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 +118 -442
- package/lib/index.min.js +55 -55
- package/lib/index.mjs +119 -440
- package/lib/index.mjs.css +48 -227
- package/package.json +1 -1
- package/scss/button.scss +1 -0
- package/scss/iroco.scss +1 -0
- package/src/NavBar.svelte +9 -6
- package/src/definition.ts +4 -6
- package/lib/button.scss +0 -60
package/lib/index.mjs
CHANGED
|
@@ -497,7 +497,7 @@ class SvelteComponent {
|
|
|
497
497
|
|
|
498
498
|
/* src/Button.svelte generated by Svelte v3.38.2 */
|
|
499
499
|
|
|
500
|
-
function create_fragment$
|
|
500
|
+
function create_fragment$h(ctx) {
|
|
501
501
|
let button;
|
|
502
502
|
let button_class_value;
|
|
503
503
|
let current;
|
|
@@ -577,7 +577,7 @@ function create_fragment$i(ctx) {
|
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
-
function instance$
|
|
580
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
581
581
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
582
582
|
let { type = "button" } = $$props;
|
|
583
583
|
let { disabled = false } = $$props;
|
|
@@ -625,7 +625,7 @@ class Button extends SvelteComponent {
|
|
|
625
625
|
constructor(options) {
|
|
626
626
|
super();
|
|
627
627
|
|
|
628
|
-
init(this, options, instance$
|
|
628
|
+
init(this, options, instance$g, create_fragment$h, safe_not_equal, {
|
|
629
629
|
type: 1,
|
|
630
630
|
disabled: 2,
|
|
631
631
|
kind: 3,
|
|
@@ -638,7 +638,7 @@ class Button extends SvelteComponent {
|
|
|
638
638
|
|
|
639
639
|
/* src/TextInput.svelte generated by Svelte v3.38.2 */
|
|
640
640
|
|
|
641
|
-
function create_if_block_2
|
|
641
|
+
function create_if_block_2(ctx) {
|
|
642
642
|
let label_1;
|
|
643
643
|
let t;
|
|
644
644
|
|
|
@@ -671,8 +671,8 @@ function create_if_block$4(ctx) {
|
|
|
671
671
|
let p;
|
|
672
672
|
|
|
673
673
|
function select_block_type(ctx, dirty) {
|
|
674
|
-
if (/*htmlError*/ ctx[5]) return create_if_block_1$
|
|
675
|
-
return create_else_block$
|
|
674
|
+
if (/*htmlError*/ ctx[5]) return create_if_block_1$1;
|
|
675
|
+
return create_else_block$1;
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
let current_block_type = select_block_type(ctx);
|
|
@@ -710,7 +710,7 @@ function create_if_block$4(ctx) {
|
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
// (45:3) {:else}
|
|
713
|
-
function create_else_block$
|
|
713
|
+
function create_else_block$1(ctx) {
|
|
714
714
|
let t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
715
715
|
let t;
|
|
716
716
|
|
|
@@ -731,7 +731,7 @@ function create_else_block$2(ctx) {
|
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
// (43:3) {#if htmlError}
|
|
734
|
-
function create_if_block_1$
|
|
734
|
+
function create_if_block_1$1(ctx) {
|
|
735
735
|
let html_tag;
|
|
736
736
|
let raw_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
737
737
|
let html_anchor;
|
|
@@ -755,14 +755,14 @@ function create_if_block_1$2(ctx) {
|
|
|
755
755
|
};
|
|
756
756
|
}
|
|
757
757
|
|
|
758
|
-
function create_fragment$
|
|
758
|
+
function create_fragment$g(ctx) {
|
|
759
759
|
let div;
|
|
760
760
|
let t0;
|
|
761
761
|
let input;
|
|
762
762
|
let t1;
|
|
763
763
|
let mounted;
|
|
764
764
|
let dispose;
|
|
765
|
-
let if_block0 = /*label*/ ctx[2] && create_if_block_2
|
|
765
|
+
let if_block0 = /*label*/ ctx[2] && create_if_block_2(ctx);
|
|
766
766
|
let if_block1 = /*error*/ ctx[4] != null && create_if_block$4(ctx);
|
|
767
767
|
|
|
768
768
|
return {
|
|
@@ -815,7 +815,7 @@ function create_fragment$h(ctx) {
|
|
|
815
815
|
if (if_block0) {
|
|
816
816
|
if_block0.p(ctx, dirty);
|
|
817
817
|
} else {
|
|
818
|
-
if_block0 = create_if_block_2
|
|
818
|
+
if_block0 = create_if_block_2(ctx);
|
|
819
819
|
if_block0.c();
|
|
820
820
|
if_block0.m(div, t0);
|
|
821
821
|
}
|
|
@@ -877,7 +877,7 @@ function create_fragment$h(ctx) {
|
|
|
877
877
|
};
|
|
878
878
|
}
|
|
879
879
|
|
|
880
|
-
function instance$
|
|
880
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
881
881
|
var { TextType } = $$props;
|
|
882
882
|
|
|
883
883
|
(function (TextType) {
|
|
@@ -949,7 +949,7 @@ class TextInput extends SvelteComponent {
|
|
|
949
949
|
constructor(options) {
|
|
950
950
|
super();
|
|
951
951
|
|
|
952
|
-
init(this, options, instance$
|
|
952
|
+
init(this, options, instance$f, create_fragment$g, safe_not_equal, {
|
|
953
953
|
TextType: 11,
|
|
954
954
|
id: 1,
|
|
955
955
|
type: 12,
|
|
@@ -968,7 +968,7 @@ class TextInput extends SvelteComponent {
|
|
|
968
968
|
|
|
969
969
|
/* src/RadioButton.svelte generated by Svelte v3.38.2 */
|
|
970
970
|
|
|
971
|
-
function create_fragment$
|
|
971
|
+
function create_fragment$f(ctx) {
|
|
972
972
|
let label_1;
|
|
973
973
|
let input;
|
|
974
974
|
let t0;
|
|
@@ -1064,7 +1064,7 @@ function create_fragment$g(ctx) {
|
|
|
1064
1064
|
};
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
function instance$
|
|
1067
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
1068
1068
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
1069
1069
|
const label = "";
|
|
1070
1070
|
let { value } = $$props;
|
|
@@ -1115,7 +1115,7 @@ class RadioButton extends SvelteComponent {
|
|
|
1115
1115
|
constructor(options) {
|
|
1116
1116
|
super();
|
|
1117
1117
|
|
|
1118
|
-
init(this, options, instance$
|
|
1118
|
+
init(this, options, instance$e, create_fragment$f, safe_not_equal, {
|
|
1119
1119
|
label: 5,
|
|
1120
1120
|
value: 2,
|
|
1121
1121
|
group: 0,
|
|
@@ -1131,7 +1131,7 @@ class RadioButton extends SvelteComponent {
|
|
|
1131
1131
|
|
|
1132
1132
|
/* src/NumberInput.svelte generated by Svelte v3.38.2 */
|
|
1133
1133
|
|
|
1134
|
-
function create_if_block_1
|
|
1134
|
+
function create_if_block_1(ctx) {
|
|
1135
1135
|
let label_1;
|
|
1136
1136
|
let t;
|
|
1137
1137
|
|
|
@@ -1184,14 +1184,14 @@ function create_if_block$3(ctx) {
|
|
|
1184
1184
|
};
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
|
-
function create_fragment$
|
|
1187
|
+
function create_fragment$e(ctx) {
|
|
1188
1188
|
let div;
|
|
1189
1189
|
let t0;
|
|
1190
1190
|
let input;
|
|
1191
1191
|
let t1;
|
|
1192
1192
|
let mounted;
|
|
1193
1193
|
let dispose;
|
|
1194
|
-
let if_block0 = /*label*/ ctx[2] && create_if_block_1
|
|
1194
|
+
let if_block0 = /*label*/ ctx[2] && create_if_block_1(ctx);
|
|
1195
1195
|
|
|
1196
1196
|
let input_levels = [
|
|
1197
1197
|
{ id: /*id*/ ctx[1] },
|
|
@@ -1244,7 +1244,7 @@ function create_fragment$f(ctx) {
|
|
|
1244
1244
|
if (if_block0) {
|
|
1245
1245
|
if_block0.p(ctx, dirty);
|
|
1246
1246
|
} else {
|
|
1247
|
-
if_block0 = create_if_block_1
|
|
1247
|
+
if_block0 = create_if_block_1(ctx);
|
|
1248
1248
|
if_block0.c();
|
|
1249
1249
|
if_block0.m(div, t0);
|
|
1250
1250
|
}
|
|
@@ -1291,7 +1291,7 @@ function create_fragment$f(ctx) {
|
|
|
1291
1291
|
};
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
-
function instance$
|
|
1294
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
1295
1295
|
const omit_props_names = ["id","label","placeholder","error","value","min","max"];
|
|
1296
1296
|
let $$restProps = compute_rest_props($$props, omit_props_names);
|
|
1297
1297
|
let { id } = $$props;
|
|
@@ -1341,7 +1341,7 @@ class NumberInput extends SvelteComponent {
|
|
|
1341
1341
|
constructor(options) {
|
|
1342
1342
|
super();
|
|
1343
1343
|
|
|
1344
|
-
init(this, options, instance$
|
|
1344
|
+
init(this, options, instance$d, create_fragment$e, safe_not_equal, {
|
|
1345
1345
|
id: 1,
|
|
1346
1346
|
label: 2,
|
|
1347
1347
|
placeholder: 3,
|
|
@@ -3795,7 +3795,7 @@ function create_if_block$2(ctx) {
|
|
|
3795
3795
|
};
|
|
3796
3796
|
}
|
|
3797
3797
|
|
|
3798
|
-
function create_fragment$
|
|
3798
|
+
function create_fragment$d(ctx) {
|
|
3799
3799
|
let if_block_anchor;
|
|
3800
3800
|
let if_block = /*icon*/ ctx[3] && create_if_block$2(ctx);
|
|
3801
3801
|
|
|
@@ -3831,7 +3831,7 @@ function create_fragment$e(ctx) {
|
|
|
3831
3831
|
};
|
|
3832
3832
|
}
|
|
3833
3833
|
|
|
3834
|
-
function instance$
|
|
3834
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
3835
3835
|
let { name } = $$props;
|
|
3836
3836
|
let { stroke } = $$props;
|
|
3837
3837
|
let { strokeWidth } = $$props;
|
|
@@ -3865,7 +3865,7 @@ class Icon extends SvelteComponent {
|
|
|
3865
3865
|
constructor(options) {
|
|
3866
3866
|
super();
|
|
3867
3867
|
|
|
3868
|
-
init(this, options, instance$
|
|
3868
|
+
init(this, options, instance$c, create_fragment$d, safe_not_equal, {
|
|
3869
3869
|
name: 4,
|
|
3870
3870
|
stroke: 5,
|
|
3871
3871
|
strokeWidth: 6,
|
|
@@ -3878,7 +3878,7 @@ class Icon extends SvelteComponent {
|
|
|
3878
3878
|
|
|
3879
3879
|
/* src/IconIrocoLogo.svelte generated by Svelte v3.38.2 */
|
|
3880
3880
|
|
|
3881
|
-
function create_fragment$
|
|
3881
|
+
function create_fragment$c(ctx) {
|
|
3882
3882
|
let svg;
|
|
3883
3883
|
let path0;
|
|
3884
3884
|
let path1;
|
|
@@ -3920,7 +3920,7 @@ function create_fragment$d(ctx) {
|
|
|
3920
3920
|
};
|
|
3921
3921
|
}
|
|
3922
3922
|
|
|
3923
|
-
function instance$
|
|
3923
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
3924
3924
|
let { width = "5rem" } = $$props;
|
|
3925
3925
|
let { height = "5rem" } = $$props;
|
|
3926
3926
|
|
|
@@ -3935,13 +3935,13 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
3935
3935
|
class IconIrocoLogo extends SvelteComponent {
|
|
3936
3936
|
constructor(options) {
|
|
3937
3937
|
super();
|
|
3938
|
-
init(this, options, instance$
|
|
3938
|
+
init(this, options, instance$b, create_fragment$c, safe_not_equal, { width: 0, height: 1 });
|
|
3939
3939
|
}
|
|
3940
3940
|
}
|
|
3941
3941
|
|
|
3942
3942
|
/* src/Loader.svelte generated by Svelte v3.38.2 */
|
|
3943
3943
|
|
|
3944
|
-
function create_fragment$
|
|
3944
|
+
function create_fragment$b(ctx) {
|
|
3945
3945
|
let div;
|
|
3946
3946
|
let iconirocologo;
|
|
3947
3947
|
let current;
|
|
@@ -3978,13 +3978,13 @@ function create_fragment$c(ctx) {
|
|
|
3978
3978
|
class Loader extends SvelteComponent {
|
|
3979
3979
|
constructor(options) {
|
|
3980
3980
|
super();
|
|
3981
|
-
init(this, options, null, create_fragment$
|
|
3981
|
+
init(this, options, null, create_fragment$b, safe_not_equal, {});
|
|
3982
3982
|
}
|
|
3983
3983
|
}
|
|
3984
3984
|
|
|
3985
3985
|
/* src/IconInfo.svelte generated by Svelte v3.38.2 */
|
|
3986
3986
|
|
|
3987
|
-
function create_fragment$
|
|
3987
|
+
function create_fragment$a(ctx) {
|
|
3988
3988
|
let svg;
|
|
3989
3989
|
let path;
|
|
3990
3990
|
|
|
@@ -4025,7 +4025,7 @@ function create_fragment$b(ctx) {
|
|
|
4025
4025
|
};
|
|
4026
4026
|
}
|
|
4027
4027
|
|
|
4028
|
-
function instance$
|
|
4028
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
4029
4029
|
let { width = "5rem" } = $$props;
|
|
4030
4030
|
let { height = "5rem" } = $$props;
|
|
4031
4031
|
|
|
@@ -4040,13 +4040,13 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
4040
4040
|
class IconInfo extends SvelteComponent {
|
|
4041
4041
|
constructor(options) {
|
|
4042
4042
|
super();
|
|
4043
|
-
init(this, options, instance$
|
|
4043
|
+
init(this, options, instance$a, create_fragment$a, safe_not_equal, { width: 0, height: 1 });
|
|
4044
4044
|
}
|
|
4045
4045
|
}
|
|
4046
4046
|
|
|
4047
4047
|
/* src/IconMastodon.svelte generated by Svelte v3.38.2 */
|
|
4048
4048
|
|
|
4049
|
-
function create_fragment$
|
|
4049
|
+
function create_fragment$9(ctx) {
|
|
4050
4050
|
let svg;
|
|
4051
4051
|
let title;
|
|
4052
4052
|
let t;
|
|
@@ -4094,7 +4094,7 @@ function create_fragment$a(ctx) {
|
|
|
4094
4094
|
};
|
|
4095
4095
|
}
|
|
4096
4096
|
|
|
4097
|
-
function instance$
|
|
4097
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
4098
4098
|
let { width = "5em" } = $$props;
|
|
4099
4099
|
let { height = "5em" } = $$props;
|
|
4100
4100
|
let { fill = "currentColor" } = $$props;
|
|
@@ -4111,13 +4111,13 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
4111
4111
|
class IconMastodon extends SvelteComponent {
|
|
4112
4112
|
constructor(options) {
|
|
4113
4113
|
super();
|
|
4114
|
-
init(this, options, instance$
|
|
4114
|
+
init(this, options, instance$9, create_fragment$9, safe_not_equal, { width: 0, height: 1, fill: 2 });
|
|
4115
4115
|
}
|
|
4116
4116
|
}
|
|
4117
4117
|
|
|
4118
4118
|
/* src/IconClose.svelte generated by Svelte v3.38.2 */
|
|
4119
4119
|
|
|
4120
|
-
function create_fragment$
|
|
4120
|
+
function create_fragment$8(ctx) {
|
|
4121
4121
|
let svg;
|
|
4122
4122
|
let path;
|
|
4123
4123
|
|
|
@@ -4157,7 +4157,7 @@ function create_fragment$9(ctx) {
|
|
|
4157
4157
|
};
|
|
4158
4158
|
}
|
|
4159
4159
|
|
|
4160
|
-
function instance$
|
|
4160
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
4161
4161
|
let { width = "5rem" } = $$props;
|
|
4162
4162
|
let { height = "5rem" } = $$props;
|
|
4163
4163
|
|
|
@@ -4172,7 +4172,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
4172
4172
|
class IconClose extends SvelteComponent {
|
|
4173
4173
|
constructor(options) {
|
|
4174
4174
|
super();
|
|
4175
|
-
init(this, options, instance$
|
|
4175
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { width: 0, height: 1 });
|
|
4176
4176
|
}
|
|
4177
4177
|
}
|
|
4178
4178
|
|
|
@@ -4211,9 +4211,8 @@ function create_each_block$1(ctx) {
|
|
|
4211
4211
|
? /*item*/ ctx[7].hrefOrCallback
|
|
4212
4212
|
: "#");
|
|
4213
4213
|
|
|
4214
|
-
attr(a, "class", "svelte-
|
|
4215
|
-
|
|
4216
|
-
attr(li, "class", li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-v0jihd");
|
|
4214
|
+
attr(a, "class", "svelte-1c8sozl");
|
|
4215
|
+
attr(li, "class", li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-1c8sozl");
|
|
4217
4216
|
toggle_class(li, "active", /*active*/ ctx[2] === /*item*/ ctx[7].name);
|
|
4218
4217
|
},
|
|
4219
4218
|
m(target, anchor) {
|
|
@@ -4237,11 +4236,7 @@ function create_each_block$1(ctx) {
|
|
|
4237
4236
|
attr(a, "href", a_href_value);
|
|
4238
4237
|
}
|
|
4239
4238
|
|
|
4240
|
-
if (dirty & /*
|
|
4241
|
-
toggle_class(a, "iroco-ui-button", /*item*/ ctx[7].isButton());
|
|
4242
|
-
}
|
|
4243
|
-
|
|
4244
|
-
if (dirty & /*type*/ 2 && li_class_value !== (li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-v0jihd")) {
|
|
4239
|
+
if (dirty & /*type*/ 2 && li_class_value !== (li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-1c8sozl")) {
|
|
4245
4240
|
attr(li, "class", li_class_value);
|
|
4246
4241
|
}
|
|
4247
4242
|
|
|
@@ -4257,7 +4252,7 @@ function create_each_block$1(ctx) {
|
|
|
4257
4252
|
};
|
|
4258
4253
|
}
|
|
4259
4254
|
|
|
4260
|
-
function create_fragment$
|
|
4255
|
+
function create_fragment$7(ctx) {
|
|
4261
4256
|
let nav;
|
|
4262
4257
|
let button;
|
|
4263
4258
|
let iconclose;
|
|
@@ -4289,10 +4284,10 @@ function create_fragment$8(ctx) {
|
|
|
4289
4284
|
each_blocks[i].c();
|
|
4290
4285
|
}
|
|
4291
4286
|
|
|
4292
|
-
attr(button, "class", button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-
|
|
4293
|
-
attr(ul, "class", ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-
|
|
4287
|
+
attr(button, "class", button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-1c8sozl");
|
|
4288
|
+
attr(ul, "class", ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-1c8sozl");
|
|
4294
4289
|
attr(nav, "data-testid", /*type*/ ctx[1]);
|
|
4295
|
-
attr(nav, "class", nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-
|
|
4290
|
+
attr(nav, "class", nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-1c8sozl");
|
|
4296
4291
|
},
|
|
4297
4292
|
m(target, anchor) {
|
|
4298
4293
|
insert(target, nav, anchor);
|
|
@@ -4313,7 +4308,7 @@ function create_fragment$8(ctx) {
|
|
|
4313
4308
|
}
|
|
4314
4309
|
},
|
|
4315
4310
|
p(ctx, [dirty]) {
|
|
4316
|
-
if (!current || dirty & /*type*/ 2 && button_class_value !== (button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-
|
|
4311
|
+
if (!current || dirty & /*type*/ 2 && button_class_value !== (button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-1c8sozl")) {
|
|
4317
4312
|
attr(button, "class", button_class_value);
|
|
4318
4313
|
}
|
|
4319
4314
|
|
|
@@ -4340,7 +4335,7 @@ function create_fragment$8(ctx) {
|
|
|
4340
4335
|
each_blocks.length = each_value.length;
|
|
4341
4336
|
}
|
|
4342
4337
|
|
|
4343
|
-
if (!current || dirty & /*type*/ 2 && ul_class_value !== (ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-
|
|
4338
|
+
if (!current || dirty & /*type*/ 2 && ul_class_value !== (ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-1c8sozl")) {
|
|
4344
4339
|
attr(ul, "class", ul_class_value);
|
|
4345
4340
|
}
|
|
4346
4341
|
|
|
@@ -4348,7 +4343,7 @@ function create_fragment$8(ctx) {
|
|
|
4348
4343
|
attr(nav, "data-testid", /*type*/ ctx[1]);
|
|
4349
4344
|
}
|
|
4350
4345
|
|
|
4351
|
-
if (!current || dirty & /*type*/ 2 && nav_class_value !== (nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-
|
|
4346
|
+
if (!current || dirty & /*type*/ 2 && nav_class_value !== (nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-1c8sozl")) {
|
|
4352
4347
|
attr(nav, "class", nav_class_value);
|
|
4353
4348
|
}
|
|
4354
4349
|
},
|
|
@@ -4371,7 +4366,7 @@ function create_fragment$8(ctx) {
|
|
|
4371
4366
|
};
|
|
4372
4367
|
}
|
|
4373
4368
|
|
|
4374
|
-
function instance$
|
|
4369
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
4375
4370
|
|
|
4376
4371
|
let { navigationItems } = $$props;
|
|
4377
4372
|
let { type } = $$props;
|
|
@@ -4406,13 +4401,13 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
4406
4401
|
class NavBar extends SvelteComponent {
|
|
4407
4402
|
constructor(options) {
|
|
4408
4403
|
super();
|
|
4409
|
-
init(this, options, instance$
|
|
4404
|
+
init(this, options, instance$7, create_fragment$7, safe_not_equal, { navigationItems: 0, type: 1 });
|
|
4410
4405
|
}
|
|
4411
4406
|
}
|
|
4412
4407
|
|
|
4413
4408
|
/* src/IconBurger.svelte generated by Svelte v3.38.2 */
|
|
4414
4409
|
|
|
4415
|
-
function create_fragment$
|
|
4410
|
+
function create_fragment$6(ctx) {
|
|
4416
4411
|
let svg;
|
|
4417
4412
|
let path;
|
|
4418
4413
|
|
|
@@ -4452,7 +4447,7 @@ function create_fragment$7(ctx) {
|
|
|
4452
4447
|
};
|
|
4453
4448
|
}
|
|
4454
4449
|
|
|
4455
|
-
function instance$
|
|
4450
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
4456
4451
|
let { width = "5rem" } = $$props;
|
|
4457
4452
|
let { height = "5rem" } = $$props;
|
|
4458
4453
|
|
|
@@ -4465,110 +4460,6 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4465
4460
|
}
|
|
4466
4461
|
|
|
4467
4462
|
class IconBurger extends SvelteComponent {
|
|
4468
|
-
constructor(options) {
|
|
4469
|
-
super();
|
|
4470
|
-
init(this, options, instance$7, create_fragment$7, safe_not_equal, { width: 0, height: 1 });
|
|
4471
|
-
}
|
|
4472
|
-
}
|
|
4473
|
-
|
|
4474
|
-
/* src/IrocoLogo.svelte generated by Svelte v3.38.2 */
|
|
4475
|
-
|
|
4476
|
-
function create_fragment$6(ctx) {
|
|
4477
|
-
let a;
|
|
4478
|
-
let svg;
|
|
4479
|
-
let title;
|
|
4480
|
-
let t;
|
|
4481
|
-
let path0;
|
|
4482
|
-
let path1;
|
|
4483
|
-
let path2;
|
|
4484
|
-
let path3;
|
|
4485
|
-
let path4;
|
|
4486
|
-
let path5;
|
|
4487
|
-
let path6;
|
|
4488
|
-
|
|
4489
|
-
return {
|
|
4490
|
-
c() {
|
|
4491
|
-
a = element("a");
|
|
4492
|
-
svg = svg_element("svg");
|
|
4493
|
-
title = svg_element("title");
|
|
4494
|
-
t = text("Iroco");
|
|
4495
|
-
path0 = svg_element("path");
|
|
4496
|
-
path1 = svg_element("path");
|
|
4497
|
-
path2 = svg_element("path");
|
|
4498
|
-
path3 = svg_element("path");
|
|
4499
|
-
path4 = svg_element("path");
|
|
4500
|
-
path5 = svg_element("path");
|
|
4501
|
-
path6 = svg_element("path");
|
|
4502
|
-
attr(path0, "fill", "white");
|
|
4503
|
-
attr(path0, "d", "M412,81.41c-7.34,0-12.07-5.19-12.07-12.37S404.77,56.66,412,56.66,424.17,61.85,424.17,69,419.13,81.41,412,81.41Zm10.7,118.4H401V103.54h21.7Z");
|
|
4504
|
-
attr(path0, "transform", "translate(-0.44 -0.49)");
|
|
4505
|
-
attr(path1, "fill", "white");
|
|
4506
|
-
attr(path1, "d", "M505.77,123.71h-6.72c-18,0-27.2,8.26-27.2,28.43v47.67h-21.7V103.54h21.7v14.21h.3c5.5-9.32,15.44-15.28,28.43-15.28h5.19Z");
|
|
4507
|
-
attr(path1, "transform", "translate(-0.44 -0.49)");
|
|
4508
|
-
attr(path2, "fill", "white");
|
|
4509
|
-
attr(path2, "d", "M566.44,201.34c-33,0-49.21-21.54-49.21-49.66S533.43,102,566.44,102s49.35,21.39,49.35,49.66C615.79,179.64,599.29,201.34,566.44,201.34Zm0-80.22c-19.26,0-27.51,12.68-27.51,30.56,0,17.72,8.4,30.56,27.66,30.56s27.5-12.68,27.5-30.56S585.69,121.12,566.44,121.12Z");
|
|
4510
|
-
attr(path2, "transform", "translate(-0.44 -0.49)");
|
|
4511
|
-
attr(path3, "fill", "white");
|
|
4512
|
-
attr(path3, "d", "M721.23,186.52c-11.77,10.7-24.45,14.82-39.12,14.82-33.62,0-49.51-21.54-49.51-48.9,0-28.11,17.88-50.42,49.81-50.42,15.9,0,28,4.27,38.51,14.21L706.1,131.05c-6.88-6.72-14.21-9.93-23.53-9.93-18.8.15-28.27,13.9-28.27,31.32,0,16.66,8.1,29.8,28,29.8,9.17,0,16.35-2.9,24.3-10.54Z");
|
|
4513
|
-
attr(path3, "transform", "translate(-0.44 -0.49)");
|
|
4514
|
-
attr(path4, "fill", "white");
|
|
4515
|
-
attr(path4, "d", "M783.42,201.34c-33,0-49.21-21.54-49.21-49.66S750.41,102,783.42,102s49.35,21.39,49.35,49.66C832.77,179.64,816.27,201.34,783.42,201.34Zm0-80.22c-19.26,0-27.51,12.68-27.51,30.56,0,17.72,8.41,30.56,27.66,30.56s27.5-12.68,27.5-30.56S802.67,121.12,783.42,121.12Z");
|
|
4516
|
-
attr(path4, "transform", "translate(-0.44 -0.49)");
|
|
4517
|
-
attr(path5, "fill", "white");
|
|
4518
|
-
attr(path5, "d", "M122.8,144.26a30.6,30.6,0,0,0-8.07,1.23,5.53,5.53,0,0,0-3.46,3.53,28,28,0,0,0-.92,8.46v76.24a28,28,0,0,0,.92,8.46,5.53,5.53,0,0,0,3.46,3.53,30.18,30.18,0,0,0,8.07,1.23V250q-7.06-.45-19.52-.46-13.22,0-19.67.46v-3.07a30.33,30.33,0,0,0,8.07-1.23,5.49,5.49,0,0,0,3.45-3.53,27.59,27.59,0,0,0,.93-8.46V157.48a27.59,27.59,0,0,0-.93-8.46,5.49,5.49,0,0,0-3.45-3.53,30.75,30.75,0,0,0-8.07-1.23v-3.08q6.45.47,19.67.47,12.3,0,19.52-.47Z");
|
|
4519
|
-
attr(path5, "transform", "translate(-0.44 -0.49)");
|
|
4520
|
-
attr(path6, "fill", "#00D692");
|
|
4521
|
-
attr(path6, "d", "M64.64,198.52a102.78,102.78,0,1,1,77.13,0l-7.41-18.29a83,83,0,1,0-62.31,0Z");
|
|
4522
|
-
attr(path6, "transform", "translate(-0.44 -0.49)");
|
|
4523
|
-
attr(svg, "viewBox", "0 0 832.33 249.52");
|
|
4524
|
-
attr(svg, "width", /*width*/ ctx[0]);
|
|
4525
|
-
attr(svg, "height", /*height*/ ctx[1]);
|
|
4526
|
-
attr(a, "class", "iroco-logo");
|
|
4527
|
-
attr(a, "href", "/");
|
|
4528
|
-
},
|
|
4529
|
-
m(target, anchor) {
|
|
4530
|
-
insert(target, a, anchor);
|
|
4531
|
-
append(a, svg);
|
|
4532
|
-
append(svg, title);
|
|
4533
|
-
append(title, t);
|
|
4534
|
-
append(svg, path0);
|
|
4535
|
-
append(svg, path1);
|
|
4536
|
-
append(svg, path2);
|
|
4537
|
-
append(svg, path3);
|
|
4538
|
-
append(svg, path4);
|
|
4539
|
-
append(svg, path5);
|
|
4540
|
-
append(svg, path6);
|
|
4541
|
-
},
|
|
4542
|
-
p(ctx, [dirty]) {
|
|
4543
|
-
if (dirty & /*width*/ 1) {
|
|
4544
|
-
attr(svg, "width", /*width*/ ctx[0]);
|
|
4545
|
-
}
|
|
4546
|
-
|
|
4547
|
-
if (dirty & /*height*/ 2) {
|
|
4548
|
-
attr(svg, "height", /*height*/ ctx[1]);
|
|
4549
|
-
}
|
|
4550
|
-
},
|
|
4551
|
-
i: noop,
|
|
4552
|
-
o: noop,
|
|
4553
|
-
d(detaching) {
|
|
4554
|
-
if (detaching) detach(a);
|
|
4555
|
-
}
|
|
4556
|
-
};
|
|
4557
|
-
}
|
|
4558
|
-
|
|
4559
|
-
function instance$6($$self, $$props, $$invalidate) {
|
|
4560
|
-
let { width = "10rem" } = $$props;
|
|
4561
|
-
let { height = "10rem" } = $$props;
|
|
4562
|
-
|
|
4563
|
-
$$self.$$set = $$props => {
|
|
4564
|
-
if ("width" in $$props) $$invalidate(0, width = $$props.width);
|
|
4565
|
-
if ("height" in $$props) $$invalidate(1, height = $$props.height);
|
|
4566
|
-
};
|
|
4567
|
-
|
|
4568
|
-
return [width, height];
|
|
4569
|
-
}
|
|
4570
|
-
|
|
4571
|
-
class IrocoLogo extends SvelteComponent {
|
|
4572
4463
|
constructor(options) {
|
|
4573
4464
|
super();
|
|
4574
4465
|
init(this, options, instance$6, create_fragment$6, safe_not_equal, { width: 0, height: 1 });
|
|
@@ -4577,81 +4468,7 @@ class IrocoLogo extends SvelteComponent {
|
|
|
4577
4468
|
|
|
4578
4469
|
/* src/Navigation.svelte generated by Svelte v3.38.2 */
|
|
4579
4470
|
|
|
4580
|
-
function
|
|
4581
|
-
let iconirocologo;
|
|
4582
|
-
let t0;
|
|
4583
|
-
let h1;
|
|
4584
|
-
let t1;
|
|
4585
|
-
let current;
|
|
4586
|
-
iconirocologo = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4587
|
-
|
|
4588
|
-
return {
|
|
4589
|
-
c() {
|
|
4590
|
-
create_component(iconirocologo.$$.fragment);
|
|
4591
|
-
t0 = space();
|
|
4592
|
-
h1 = element("h1");
|
|
4593
|
-
t1 = text(/*title*/ ctx[2]);
|
|
4594
|
-
attr(h1, "class", "svelte-lqwgm1");
|
|
4595
|
-
},
|
|
4596
|
-
m(target, anchor) {
|
|
4597
|
-
mount_component(iconirocologo, target, anchor);
|
|
4598
|
-
insert(target, t0, anchor);
|
|
4599
|
-
insert(target, h1, anchor);
|
|
4600
|
-
append(h1, t1);
|
|
4601
|
-
current = true;
|
|
4602
|
-
},
|
|
4603
|
-
p(ctx, dirty) {
|
|
4604
|
-
if (!current || dirty & /*title*/ 4) set_data(t1, /*title*/ ctx[2]);
|
|
4605
|
-
},
|
|
4606
|
-
i(local) {
|
|
4607
|
-
if (current) return;
|
|
4608
|
-
transition_in(iconirocologo.$$.fragment, local);
|
|
4609
|
-
current = true;
|
|
4610
|
-
},
|
|
4611
|
-
o(local) {
|
|
4612
|
-
transition_out(iconirocologo.$$.fragment, local);
|
|
4613
|
-
current = false;
|
|
4614
|
-
},
|
|
4615
|
-
d(detaching) {
|
|
4616
|
-
destroy_component(iconirocologo, detaching);
|
|
4617
|
-
if (detaching) detach(t0);
|
|
4618
|
-
if (detaching) detach(h1);
|
|
4619
|
-
}
|
|
4620
|
-
};
|
|
4621
|
-
}
|
|
4622
|
-
|
|
4623
|
-
// (14:2) {#if title == null}
|
|
4624
|
-
function create_if_block_2(ctx) {
|
|
4625
|
-
let irocologo;
|
|
4626
|
-
let current;
|
|
4627
|
-
irocologo = new IrocoLogo({ props: { width: "10em", height: "10em" } });
|
|
4628
|
-
|
|
4629
|
-
return {
|
|
4630
|
-
c() {
|
|
4631
|
-
create_component(irocologo.$$.fragment);
|
|
4632
|
-
},
|
|
4633
|
-
m(target, anchor) {
|
|
4634
|
-
mount_component(irocologo, target, anchor);
|
|
4635
|
-
current = true;
|
|
4636
|
-
},
|
|
4637
|
-
p: noop,
|
|
4638
|
-
i(local) {
|
|
4639
|
-
if (current) return;
|
|
4640
|
-
transition_in(irocologo.$$.fragment, local);
|
|
4641
|
-
current = true;
|
|
4642
|
-
},
|
|
4643
|
-
o(local) {
|
|
4644
|
-
transition_out(irocologo.$$.fragment, local);
|
|
4645
|
-
current = false;
|
|
4646
|
-
},
|
|
4647
|
-
d(detaching) {
|
|
4648
|
-
destroy_component(irocologo, detaching);
|
|
4649
|
-
}
|
|
4650
|
-
};
|
|
4651
|
-
}
|
|
4652
|
-
|
|
4653
|
-
// (26:1) {#if showMenu}
|
|
4654
|
-
function create_if_block_1(ctx) {
|
|
4471
|
+
function create_if_block$1(ctx) {
|
|
4655
4472
|
let navbar;
|
|
4656
4473
|
let current;
|
|
4657
4474
|
|
|
@@ -4694,121 +4511,33 @@ function create_if_block_1(ctx) {
|
|
|
4694
4511
|
};
|
|
4695
4512
|
}
|
|
4696
4513
|
|
|
4697
|
-
// (40:2) {:else}
|
|
4698
|
-
function create_else_block$1(ctx) {
|
|
4699
|
-
let iconirocologo;
|
|
4700
|
-
let t0;
|
|
4701
|
-
let h1;
|
|
4702
|
-
let t1;
|
|
4703
|
-
let current;
|
|
4704
|
-
iconirocologo = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4705
|
-
|
|
4706
|
-
return {
|
|
4707
|
-
c() {
|
|
4708
|
-
create_component(iconirocologo.$$.fragment);
|
|
4709
|
-
t0 = space();
|
|
4710
|
-
h1 = element("h1");
|
|
4711
|
-
t1 = text(/*title*/ ctx[2]);
|
|
4712
|
-
attr(h1, "class", "svelte-lqwgm1");
|
|
4713
|
-
},
|
|
4714
|
-
m(target, anchor) {
|
|
4715
|
-
mount_component(iconirocologo, target, anchor);
|
|
4716
|
-
insert(target, t0, anchor);
|
|
4717
|
-
insert(target, h1, anchor);
|
|
4718
|
-
append(h1, t1);
|
|
4719
|
-
current = true;
|
|
4720
|
-
},
|
|
4721
|
-
p(ctx, dirty) {
|
|
4722
|
-
if (!current || dirty & /*title*/ 4) set_data(t1, /*title*/ ctx[2]);
|
|
4723
|
-
},
|
|
4724
|
-
i(local) {
|
|
4725
|
-
if (current) return;
|
|
4726
|
-
transition_in(iconirocologo.$$.fragment, local);
|
|
4727
|
-
current = true;
|
|
4728
|
-
},
|
|
4729
|
-
o(local) {
|
|
4730
|
-
transition_out(iconirocologo.$$.fragment, local);
|
|
4731
|
-
current = false;
|
|
4732
|
-
},
|
|
4733
|
-
d(detaching) {
|
|
4734
|
-
destroy_component(iconirocologo, detaching);
|
|
4735
|
-
if (detaching) detach(t0);
|
|
4736
|
-
if (detaching) detach(h1);
|
|
4737
|
-
}
|
|
4738
|
-
};
|
|
4739
|
-
}
|
|
4740
|
-
|
|
4741
|
-
// (38:2) {#if title == null}
|
|
4742
|
-
function create_if_block$1(ctx) {
|
|
4743
|
-
let irocologo;
|
|
4744
|
-
let current;
|
|
4745
|
-
irocologo = new IrocoLogo({ props: { width: "10em", height: "10em" } });
|
|
4746
|
-
|
|
4747
|
-
return {
|
|
4748
|
-
c() {
|
|
4749
|
-
create_component(irocologo.$$.fragment);
|
|
4750
|
-
},
|
|
4751
|
-
m(target, anchor) {
|
|
4752
|
-
mount_component(irocologo, target, anchor);
|
|
4753
|
-
current = true;
|
|
4754
|
-
},
|
|
4755
|
-
p: noop,
|
|
4756
|
-
i(local) {
|
|
4757
|
-
if (current) return;
|
|
4758
|
-
transition_in(irocologo.$$.fragment, local);
|
|
4759
|
-
current = true;
|
|
4760
|
-
},
|
|
4761
|
-
o(local) {
|
|
4762
|
-
transition_out(irocologo.$$.fragment, local);
|
|
4763
|
-
current = false;
|
|
4764
|
-
},
|
|
4765
|
-
d(detaching) {
|
|
4766
|
-
destroy_component(irocologo, detaching);
|
|
4767
|
-
}
|
|
4768
|
-
};
|
|
4769
|
-
}
|
|
4770
|
-
|
|
4771
4514
|
function create_fragment$5(ctx) {
|
|
4772
4515
|
let div1;
|
|
4773
4516
|
let div0;
|
|
4774
|
-
let
|
|
4775
|
-
let if_block0;
|
|
4517
|
+
let iconirocologo0;
|
|
4776
4518
|
let t0;
|
|
4777
|
-
let
|
|
4778
|
-
let iconburger;
|
|
4519
|
+
let h10;
|
|
4779
4520
|
let t1;
|
|
4780
4521
|
let t2;
|
|
4522
|
+
let button;
|
|
4523
|
+
let iconburger;
|
|
4524
|
+
let t3;
|
|
4525
|
+
let t4;
|
|
4781
4526
|
let div3;
|
|
4782
4527
|
let div2;
|
|
4783
|
-
let
|
|
4784
|
-
let
|
|
4785
|
-
let
|
|
4528
|
+
let iconirocologo1;
|
|
4529
|
+
let t5;
|
|
4530
|
+
let h11;
|
|
4531
|
+
let t6;
|
|
4532
|
+
let t7;
|
|
4786
4533
|
let navbar;
|
|
4787
4534
|
let current;
|
|
4788
4535
|
let mounted;
|
|
4789
4536
|
let dispose;
|
|
4790
|
-
|
|
4791
|
-
const if_blocks = [];
|
|
4792
|
-
|
|
4793
|
-
function select_block_type(ctx, dirty) {
|
|
4794
|
-
if (/*title*/ ctx[2] == null) return 0;
|
|
4795
|
-
return 1;
|
|
4796
|
-
}
|
|
4797
|
-
|
|
4798
|
-
current_block_type_index = select_block_type(ctx);
|
|
4799
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
4537
|
+
iconirocologo0 = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4800
4538
|
iconburger = new IconBurger({ props: { width: "3em", height: "3em" } });
|
|
4801
|
-
let
|
|
4802
|
-
|
|
4803
|
-
const if_blocks_1 = [];
|
|
4804
|
-
|
|
4805
|
-
function select_block_type_1(ctx, dirty) {
|
|
4806
|
-
if (/*title*/ ctx[2] == null) return 0;
|
|
4807
|
-
return 1;
|
|
4808
|
-
}
|
|
4809
|
-
|
|
4810
|
-
current_block_type_index_1 = select_block_type_1(ctx);
|
|
4811
|
-
if_block2 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
|
|
4539
|
+
let if_block = /*showMenu*/ ctx[3] && create_if_block$1(ctx);
|
|
4540
|
+
iconirocologo1 = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4812
4541
|
|
|
4813
4542
|
navbar = new NavBar({
|
|
4814
4543
|
props: {
|
|
@@ -4821,38 +4550,52 @@ function create_fragment$5(ctx) {
|
|
|
4821
4550
|
c() {
|
|
4822
4551
|
div1 = element("div");
|
|
4823
4552
|
div0 = element("div");
|
|
4824
|
-
|
|
4553
|
+
create_component(iconirocologo0.$$.fragment);
|
|
4825
4554
|
t0 = space();
|
|
4555
|
+
h10 = element("h1");
|
|
4556
|
+
t1 = text(/*title*/ ctx[2]);
|
|
4557
|
+
t2 = space();
|
|
4826
4558
|
button = element("button");
|
|
4827
4559
|
create_component(iconburger.$$.fragment);
|
|
4828
|
-
|
|
4829
|
-
if (
|
|
4830
|
-
|
|
4560
|
+
t3 = space();
|
|
4561
|
+
if (if_block) if_block.c();
|
|
4562
|
+
t4 = space();
|
|
4831
4563
|
div3 = element("div");
|
|
4832
4564
|
div2 = element("div");
|
|
4833
|
-
|
|
4834
|
-
|
|
4565
|
+
create_component(iconirocologo1.$$.fragment);
|
|
4566
|
+
t5 = space();
|
|
4567
|
+
h11 = element("h1");
|
|
4568
|
+
t6 = text(/*title*/ ctx[2]);
|
|
4569
|
+
t7 = space();
|
|
4835
4570
|
create_component(navbar.$$.fragment);
|
|
4571
|
+
attr(h10, "class", "svelte-lqwgm1");
|
|
4836
4572
|
attr(div0, "class", "navigation--mobile__title-container svelte-lqwgm1");
|
|
4837
4573
|
attr(button, "class", "navigation--mobile__button svelte-lqwgm1");
|
|
4838
4574
|
attr(div1, "class", "navigation--mobile svelte-lqwgm1");
|
|
4575
|
+
attr(h11, "class", "svelte-lqwgm1");
|
|
4839
4576
|
attr(div2, "class", "navigation__title-container svelte-lqwgm1");
|
|
4840
4577
|
attr(div3, "class", "navigation svelte-lqwgm1");
|
|
4841
4578
|
},
|
|
4842
4579
|
m(target, anchor) {
|
|
4843
4580
|
insert(target, div1, anchor);
|
|
4844
4581
|
append(div1, div0);
|
|
4845
|
-
|
|
4846
|
-
append(
|
|
4582
|
+
mount_component(iconirocologo0, div0, null);
|
|
4583
|
+
append(div0, t0);
|
|
4584
|
+
append(div0, h10);
|
|
4585
|
+
append(h10, t1);
|
|
4586
|
+
append(div1, t2);
|
|
4847
4587
|
append(div1, button);
|
|
4848
4588
|
mount_component(iconburger, button, null);
|
|
4849
|
-
append(div1,
|
|
4850
|
-
if (
|
|
4851
|
-
insert(target,
|
|
4589
|
+
append(div1, t3);
|
|
4590
|
+
if (if_block) if_block.m(div1, null);
|
|
4591
|
+
insert(target, t4, anchor);
|
|
4852
4592
|
insert(target, div3, anchor);
|
|
4853
4593
|
append(div3, div2);
|
|
4854
|
-
|
|
4855
|
-
append(
|
|
4594
|
+
mount_component(iconirocologo1, div2, null);
|
|
4595
|
+
append(div2, t5);
|
|
4596
|
+
append(div2, h11);
|
|
4597
|
+
append(h11, t6);
|
|
4598
|
+
append(div3, t7);
|
|
4856
4599
|
mount_component(navbar, div3, null);
|
|
4857
4600
|
current = true;
|
|
4858
4601
|
|
|
@@ -4862,81 +4605,32 @@ function create_fragment$5(ctx) {
|
|
|
4862
4605
|
}
|
|
4863
4606
|
},
|
|
4864
4607
|
p(ctx, [dirty]) {
|
|
4865
|
-
|
|
4866
|
-
current_block_type_index = select_block_type(ctx);
|
|
4867
|
-
|
|
4868
|
-
if (current_block_type_index === previous_block_index) {
|
|
4869
|
-
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
4870
|
-
} else {
|
|
4871
|
-
group_outros();
|
|
4872
|
-
|
|
4873
|
-
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
4874
|
-
if_blocks[previous_block_index] = null;
|
|
4875
|
-
});
|
|
4876
|
-
|
|
4877
|
-
check_outros();
|
|
4878
|
-
if_block0 = if_blocks[current_block_type_index];
|
|
4879
|
-
|
|
4880
|
-
if (!if_block0) {
|
|
4881
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
4882
|
-
if_block0.c();
|
|
4883
|
-
} else {
|
|
4884
|
-
if_block0.p(ctx, dirty);
|
|
4885
|
-
}
|
|
4886
|
-
|
|
4887
|
-
transition_in(if_block0, 1);
|
|
4888
|
-
if_block0.m(div0, null);
|
|
4889
|
-
}
|
|
4608
|
+
if (!current || dirty & /*title*/ 4) set_data(t1, /*title*/ ctx[2]);
|
|
4890
4609
|
|
|
4891
4610
|
if (/*showMenu*/ ctx[3]) {
|
|
4892
|
-
if (
|
|
4893
|
-
|
|
4611
|
+
if (if_block) {
|
|
4612
|
+
if_block.p(ctx, dirty);
|
|
4894
4613
|
|
|
4895
4614
|
if (dirty & /*showMenu*/ 8) {
|
|
4896
|
-
transition_in(
|
|
4615
|
+
transition_in(if_block, 1);
|
|
4897
4616
|
}
|
|
4898
4617
|
} else {
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
transition_in(
|
|
4902
|
-
|
|
4618
|
+
if_block = create_if_block$1(ctx);
|
|
4619
|
+
if_block.c();
|
|
4620
|
+
transition_in(if_block, 1);
|
|
4621
|
+
if_block.m(div1, null);
|
|
4903
4622
|
}
|
|
4904
|
-
} else if (
|
|
4905
|
-
group_outros();
|
|
4906
|
-
|
|
4907
|
-
transition_out(if_block1, 1, 1, () => {
|
|
4908
|
-
if_block1 = null;
|
|
4909
|
-
});
|
|
4910
|
-
|
|
4911
|
-
check_outros();
|
|
4912
|
-
}
|
|
4913
|
-
|
|
4914
|
-
let previous_block_index_1 = current_block_type_index_1;
|
|
4915
|
-
current_block_type_index_1 = select_block_type_1(ctx);
|
|
4916
|
-
|
|
4917
|
-
if (current_block_type_index_1 === previous_block_index_1) {
|
|
4918
|
-
if_blocks_1[current_block_type_index_1].p(ctx, dirty);
|
|
4919
|
-
} else {
|
|
4623
|
+
} else if (if_block) {
|
|
4920
4624
|
group_outros();
|
|
4921
4625
|
|
|
4922
|
-
transition_out(
|
|
4923
|
-
|
|
4626
|
+
transition_out(if_block, 1, 1, () => {
|
|
4627
|
+
if_block = null;
|
|
4924
4628
|
});
|
|
4925
4629
|
|
|
4926
4630
|
check_outros();
|
|
4927
|
-
if_block2 = if_blocks_1[current_block_type_index_1];
|
|
4928
|
-
|
|
4929
|
-
if (!if_block2) {
|
|
4930
|
-
if_block2 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
|
|
4931
|
-
if_block2.c();
|
|
4932
|
-
} else {
|
|
4933
|
-
if_block2.p(ctx, dirty);
|
|
4934
|
-
}
|
|
4935
|
-
|
|
4936
|
-
transition_in(if_block2, 1);
|
|
4937
|
-
if_block2.m(div2, null);
|
|
4938
4631
|
}
|
|
4939
4632
|
|
|
4633
|
+
if (!current || dirty & /*title*/ 4) set_data(t6, /*title*/ ctx[2]);
|
|
4940
4634
|
const navbar_changes = {};
|
|
4941
4635
|
if (dirty & /*navigationItems*/ 1) navbar_changes.navigationItems = /*navigationItems*/ ctx[0];
|
|
4942
4636
|
if (dirty & /*type*/ 2) navbar_changes.type = /*type*/ ctx[1];
|
|
@@ -4944,29 +4638,29 @@ function create_fragment$5(ctx) {
|
|
|
4944
4638
|
},
|
|
4945
4639
|
i(local) {
|
|
4946
4640
|
if (current) return;
|
|
4947
|
-
transition_in(
|
|
4641
|
+
transition_in(iconirocologo0.$$.fragment, local);
|
|
4948
4642
|
transition_in(iconburger.$$.fragment, local);
|
|
4949
|
-
transition_in(
|
|
4950
|
-
transition_in(
|
|
4643
|
+
transition_in(if_block);
|
|
4644
|
+
transition_in(iconirocologo1.$$.fragment, local);
|
|
4951
4645
|
transition_in(navbar.$$.fragment, local);
|
|
4952
4646
|
current = true;
|
|
4953
4647
|
},
|
|
4954
4648
|
o(local) {
|
|
4955
|
-
transition_out(
|
|
4649
|
+
transition_out(iconirocologo0.$$.fragment, local);
|
|
4956
4650
|
transition_out(iconburger.$$.fragment, local);
|
|
4957
|
-
transition_out(
|
|
4958
|
-
transition_out(
|
|
4651
|
+
transition_out(if_block);
|
|
4652
|
+
transition_out(iconirocologo1.$$.fragment, local);
|
|
4959
4653
|
transition_out(navbar.$$.fragment, local);
|
|
4960
4654
|
current = false;
|
|
4961
4655
|
},
|
|
4962
4656
|
d(detaching) {
|
|
4963
4657
|
if (detaching) detach(div1);
|
|
4964
|
-
|
|
4658
|
+
destroy_component(iconirocologo0);
|
|
4965
4659
|
destroy_component(iconburger);
|
|
4966
|
-
if (
|
|
4967
|
-
if (detaching) detach(
|
|
4660
|
+
if (if_block) if_block.d();
|
|
4661
|
+
if (detaching) detach(t4);
|
|
4968
4662
|
if (detaching) detach(div3);
|
|
4969
|
-
|
|
4663
|
+
destroy_component(iconirocologo1);
|
|
4970
4664
|
destroy_component(navbar);
|
|
4971
4665
|
mounted = false;
|
|
4972
4666
|
dispose();
|
|
@@ -4978,7 +4672,7 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
4978
4672
|
|
|
4979
4673
|
let { navigationItems } = $$props;
|
|
4980
4674
|
let { type = "topbar" } = $$props;
|
|
4981
|
-
let { title
|
|
4675
|
+
let { title } = $$props;
|
|
4982
4676
|
let showMenu = false;
|
|
4983
4677
|
const click_handler = () => $$invalidate(3, showMenu = true);
|
|
4984
4678
|
const click_link_handler = () => $$invalidate(3, showMenu = false);
|
|
@@ -5737,19 +5431,4 @@ class Alert extends SvelteComponent {
|
|
|
5737
5431
|
}
|
|
5738
5432
|
}
|
|
5739
5433
|
|
|
5740
|
-
|
|
5741
|
-
constructor(name, hrefOrCallback) {
|
|
5742
|
-
this.hrefOrCallback = hrefOrCallback;
|
|
5743
|
-
this.name = name;
|
|
5744
|
-
}
|
|
5745
|
-
isButton() {
|
|
5746
|
-
return typeof this.hrefOrCallback === 'function';
|
|
5747
|
-
}
|
|
5748
|
-
}
|
|
5749
|
-
var ButtonKind;
|
|
5750
|
-
(function (ButtonKind) {
|
|
5751
|
-
ButtonKind["REGULAR"] = "regular";
|
|
5752
|
-
ButtonKind["DANGER"] = "danger";
|
|
5753
|
-
})(ButtonKind || (ButtonKind = {}));
|
|
5754
|
-
|
|
5755
|
-
export { Alert, Button, ButtonKind, DataTable, Icon, IconFloppyDisk, IconInfo, IconIrocoLogo, IconMastodon, IconMoreSign as IconMore, IconTrashCan, IrocoLogo, Loader, NavBar, Navigation, NavigationItem, NumberInput, RadioButton, TextInput };
|
|
5434
|
+
export { Alert, Button, DataTable, Icon, IconFloppyDisk, IconInfo, IconMastodon, IconMoreSign as IconMore, IconTrashCan, Loader, NavBar, Navigation, NumberInput, RadioButton, TextInput };
|