@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.js
CHANGED
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
|
|
504
504
|
/* src/Button.svelte generated by Svelte v3.38.2 */
|
|
505
505
|
|
|
506
|
-
function create_fragment$
|
|
506
|
+
function create_fragment$h(ctx) {
|
|
507
507
|
let button;
|
|
508
508
|
let button_class_value;
|
|
509
509
|
let current;
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
};
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
function instance$
|
|
586
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
587
587
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
588
588
|
let { type = "button" } = $$props;
|
|
589
589
|
let { disabled = false } = $$props;
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
constructor(options) {
|
|
632
632
|
super();
|
|
633
633
|
|
|
634
|
-
init(this, options, instance$
|
|
634
|
+
init(this, options, instance$g, create_fragment$h, safe_not_equal, {
|
|
635
635
|
type: 1,
|
|
636
636
|
disabled: 2,
|
|
637
637
|
kind: 3,
|
|
@@ -644,7 +644,7 @@
|
|
|
644
644
|
|
|
645
645
|
/* src/TextInput.svelte generated by Svelte v3.38.2 */
|
|
646
646
|
|
|
647
|
-
function create_if_block_2
|
|
647
|
+
function create_if_block_2(ctx) {
|
|
648
648
|
let label_1;
|
|
649
649
|
let t;
|
|
650
650
|
|
|
@@ -677,8 +677,8 @@
|
|
|
677
677
|
let p;
|
|
678
678
|
|
|
679
679
|
function select_block_type(ctx, dirty) {
|
|
680
|
-
if (/*htmlError*/ ctx[5]) return create_if_block_1$
|
|
681
|
-
return create_else_block$
|
|
680
|
+
if (/*htmlError*/ ctx[5]) return create_if_block_1$1;
|
|
681
|
+
return create_else_block$1;
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
let current_block_type = select_block_type(ctx);
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
// (45:3) {:else}
|
|
719
|
-
function create_else_block$
|
|
719
|
+
function create_else_block$1(ctx) {
|
|
720
720
|
let t_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
721
721
|
let t;
|
|
722
722
|
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
}
|
|
738
738
|
|
|
739
739
|
// (43:3) {#if htmlError}
|
|
740
|
-
function create_if_block_1$
|
|
740
|
+
function create_if_block_1$1(ctx) {
|
|
741
741
|
let html_tag;
|
|
742
742
|
let raw_value = (/*error*/ ctx[4] !== null ? /*error*/ ctx[4] : "") + "";
|
|
743
743
|
let html_anchor;
|
|
@@ -761,14 +761,14 @@
|
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
-
function create_fragment$
|
|
764
|
+
function create_fragment$g(ctx) {
|
|
765
765
|
let div;
|
|
766
766
|
let t0;
|
|
767
767
|
let input;
|
|
768
768
|
let t1;
|
|
769
769
|
let mounted;
|
|
770
770
|
let dispose;
|
|
771
|
-
let if_block0 = /*label*/ ctx[2] && create_if_block_2
|
|
771
|
+
let if_block0 = /*label*/ ctx[2] && create_if_block_2(ctx);
|
|
772
772
|
let if_block1 = /*error*/ ctx[4] != null && create_if_block$4(ctx);
|
|
773
773
|
|
|
774
774
|
return {
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
if (if_block0) {
|
|
822
822
|
if_block0.p(ctx, dirty);
|
|
823
823
|
} else {
|
|
824
|
-
if_block0 = create_if_block_2
|
|
824
|
+
if_block0 = create_if_block_2(ctx);
|
|
825
825
|
if_block0.c();
|
|
826
826
|
if_block0.m(div, t0);
|
|
827
827
|
}
|
|
@@ -883,7 +883,7 @@
|
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
885
|
|
|
886
|
-
function instance$
|
|
886
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
887
887
|
var { TextType } = $$props;
|
|
888
888
|
|
|
889
889
|
(function (TextType) {
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
constructor(options) {
|
|
956
956
|
super();
|
|
957
957
|
|
|
958
|
-
init(this, options, instance$
|
|
958
|
+
init(this, options, instance$f, create_fragment$g, safe_not_equal, {
|
|
959
959
|
TextType: 11,
|
|
960
960
|
id: 1,
|
|
961
961
|
type: 12,
|
|
@@ -974,7 +974,7 @@
|
|
|
974
974
|
|
|
975
975
|
/* src/RadioButton.svelte generated by Svelte v3.38.2 */
|
|
976
976
|
|
|
977
|
-
function create_fragment$
|
|
977
|
+
function create_fragment$f(ctx) {
|
|
978
978
|
let label_1;
|
|
979
979
|
let input;
|
|
980
980
|
let t0;
|
|
@@ -1070,7 +1070,7 @@
|
|
|
1070
1070
|
};
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
|
-
function instance$
|
|
1073
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
1074
1074
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
1075
1075
|
const label = "";
|
|
1076
1076
|
let { value } = $$props;
|
|
@@ -1121,7 +1121,7 @@
|
|
|
1121
1121
|
constructor(options) {
|
|
1122
1122
|
super();
|
|
1123
1123
|
|
|
1124
|
-
init(this, options, instance$
|
|
1124
|
+
init(this, options, instance$e, create_fragment$f, safe_not_equal, {
|
|
1125
1125
|
label: 5,
|
|
1126
1126
|
value: 2,
|
|
1127
1127
|
group: 0,
|
|
@@ -1137,7 +1137,7 @@
|
|
|
1137
1137
|
|
|
1138
1138
|
/* src/NumberInput.svelte generated by Svelte v3.38.2 */
|
|
1139
1139
|
|
|
1140
|
-
function create_if_block_1
|
|
1140
|
+
function create_if_block_1(ctx) {
|
|
1141
1141
|
let label_1;
|
|
1142
1142
|
let t;
|
|
1143
1143
|
|
|
@@ -1190,14 +1190,14 @@
|
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
function create_fragment$
|
|
1193
|
+
function create_fragment$e(ctx) {
|
|
1194
1194
|
let div;
|
|
1195
1195
|
let t0;
|
|
1196
1196
|
let input;
|
|
1197
1197
|
let t1;
|
|
1198
1198
|
let mounted;
|
|
1199
1199
|
let dispose;
|
|
1200
|
-
let if_block0 = /*label*/ ctx[2] && create_if_block_1
|
|
1200
|
+
let if_block0 = /*label*/ ctx[2] && create_if_block_1(ctx);
|
|
1201
1201
|
|
|
1202
1202
|
let input_levels = [
|
|
1203
1203
|
{ id: /*id*/ ctx[1] },
|
|
@@ -1250,7 +1250,7 @@
|
|
|
1250
1250
|
if (if_block0) {
|
|
1251
1251
|
if_block0.p(ctx, dirty);
|
|
1252
1252
|
} else {
|
|
1253
|
-
if_block0 = create_if_block_1
|
|
1253
|
+
if_block0 = create_if_block_1(ctx);
|
|
1254
1254
|
if_block0.c();
|
|
1255
1255
|
if_block0.m(div, t0);
|
|
1256
1256
|
}
|
|
@@ -1297,7 +1297,7 @@
|
|
|
1297
1297
|
};
|
|
1298
1298
|
}
|
|
1299
1299
|
|
|
1300
|
-
function instance$
|
|
1300
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
1301
1301
|
const omit_props_names = ["id","label","placeholder","error","value","min","max"];
|
|
1302
1302
|
let $$restProps = compute_rest_props($$props, omit_props_names);
|
|
1303
1303
|
let { id } = $$props;
|
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
constructor(options) {
|
|
1348
1348
|
super();
|
|
1349
1349
|
|
|
1350
|
-
init(this, options, instance$
|
|
1350
|
+
init(this, options, instance$d, create_fragment$e, safe_not_equal, {
|
|
1351
1351
|
id: 1,
|
|
1352
1352
|
label: 2,
|
|
1353
1353
|
placeholder: 3,
|
|
@@ -3801,7 +3801,7 @@
|
|
|
3801
3801
|
};
|
|
3802
3802
|
}
|
|
3803
3803
|
|
|
3804
|
-
function create_fragment$
|
|
3804
|
+
function create_fragment$d(ctx) {
|
|
3805
3805
|
let if_block_anchor;
|
|
3806
3806
|
let if_block = /*icon*/ ctx[3] && create_if_block$2(ctx);
|
|
3807
3807
|
|
|
@@ -3837,7 +3837,7 @@
|
|
|
3837
3837
|
};
|
|
3838
3838
|
}
|
|
3839
3839
|
|
|
3840
|
-
function instance$
|
|
3840
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
3841
3841
|
let { name } = $$props;
|
|
3842
3842
|
let { stroke } = $$props;
|
|
3843
3843
|
let { strokeWidth } = $$props;
|
|
@@ -3871,7 +3871,7 @@
|
|
|
3871
3871
|
constructor(options) {
|
|
3872
3872
|
super();
|
|
3873
3873
|
|
|
3874
|
-
init(this, options, instance$
|
|
3874
|
+
init(this, options, instance$c, create_fragment$d, safe_not_equal, {
|
|
3875
3875
|
name: 4,
|
|
3876
3876
|
stroke: 5,
|
|
3877
3877
|
strokeWidth: 6,
|
|
@@ -3884,7 +3884,7 @@
|
|
|
3884
3884
|
|
|
3885
3885
|
/* src/IconIrocoLogo.svelte generated by Svelte v3.38.2 */
|
|
3886
3886
|
|
|
3887
|
-
function create_fragment$
|
|
3887
|
+
function create_fragment$c(ctx) {
|
|
3888
3888
|
let svg;
|
|
3889
3889
|
let path0;
|
|
3890
3890
|
let path1;
|
|
@@ -3926,7 +3926,7 @@
|
|
|
3926
3926
|
};
|
|
3927
3927
|
}
|
|
3928
3928
|
|
|
3929
|
-
function instance$
|
|
3929
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
3930
3930
|
let { width = "5rem" } = $$props;
|
|
3931
3931
|
let { height = "5rem" } = $$props;
|
|
3932
3932
|
|
|
@@ -3941,13 +3941,13 @@
|
|
|
3941
3941
|
class IconIrocoLogo extends SvelteComponent {
|
|
3942
3942
|
constructor(options) {
|
|
3943
3943
|
super();
|
|
3944
|
-
init(this, options, instance$
|
|
3944
|
+
init(this, options, instance$b, create_fragment$c, safe_not_equal, { width: 0, height: 1 });
|
|
3945
3945
|
}
|
|
3946
3946
|
}
|
|
3947
3947
|
|
|
3948
3948
|
/* src/Loader.svelte generated by Svelte v3.38.2 */
|
|
3949
3949
|
|
|
3950
|
-
function create_fragment$
|
|
3950
|
+
function create_fragment$b(ctx) {
|
|
3951
3951
|
let div;
|
|
3952
3952
|
let iconirocologo;
|
|
3953
3953
|
let current;
|
|
@@ -3984,13 +3984,13 @@
|
|
|
3984
3984
|
class Loader extends SvelteComponent {
|
|
3985
3985
|
constructor(options) {
|
|
3986
3986
|
super();
|
|
3987
|
-
init(this, options, null, create_fragment$
|
|
3987
|
+
init(this, options, null, create_fragment$b, safe_not_equal, {});
|
|
3988
3988
|
}
|
|
3989
3989
|
}
|
|
3990
3990
|
|
|
3991
3991
|
/* src/IconInfo.svelte generated by Svelte v3.38.2 */
|
|
3992
3992
|
|
|
3993
|
-
function create_fragment$
|
|
3993
|
+
function create_fragment$a(ctx) {
|
|
3994
3994
|
let svg;
|
|
3995
3995
|
let path;
|
|
3996
3996
|
|
|
@@ -4031,7 +4031,7 @@
|
|
|
4031
4031
|
};
|
|
4032
4032
|
}
|
|
4033
4033
|
|
|
4034
|
-
function instance$
|
|
4034
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
4035
4035
|
let { width = "5rem" } = $$props;
|
|
4036
4036
|
let { height = "5rem" } = $$props;
|
|
4037
4037
|
|
|
@@ -4046,13 +4046,13 @@
|
|
|
4046
4046
|
class IconInfo extends SvelteComponent {
|
|
4047
4047
|
constructor(options) {
|
|
4048
4048
|
super();
|
|
4049
|
-
init(this, options, instance$
|
|
4049
|
+
init(this, options, instance$a, create_fragment$a, safe_not_equal, { width: 0, height: 1 });
|
|
4050
4050
|
}
|
|
4051
4051
|
}
|
|
4052
4052
|
|
|
4053
4053
|
/* src/IconMastodon.svelte generated by Svelte v3.38.2 */
|
|
4054
4054
|
|
|
4055
|
-
function create_fragment$
|
|
4055
|
+
function create_fragment$9(ctx) {
|
|
4056
4056
|
let svg;
|
|
4057
4057
|
let title;
|
|
4058
4058
|
let t;
|
|
@@ -4100,7 +4100,7 @@
|
|
|
4100
4100
|
};
|
|
4101
4101
|
}
|
|
4102
4102
|
|
|
4103
|
-
function instance$
|
|
4103
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
4104
4104
|
let { width = "5em" } = $$props;
|
|
4105
4105
|
let { height = "5em" } = $$props;
|
|
4106
4106
|
let { fill = "currentColor" } = $$props;
|
|
@@ -4117,13 +4117,13 @@
|
|
|
4117
4117
|
class IconMastodon extends SvelteComponent {
|
|
4118
4118
|
constructor(options) {
|
|
4119
4119
|
super();
|
|
4120
|
-
init(this, options, instance$
|
|
4120
|
+
init(this, options, instance$9, create_fragment$9, safe_not_equal, { width: 0, height: 1, fill: 2 });
|
|
4121
4121
|
}
|
|
4122
4122
|
}
|
|
4123
4123
|
|
|
4124
4124
|
/* src/IconClose.svelte generated by Svelte v3.38.2 */
|
|
4125
4125
|
|
|
4126
|
-
function create_fragment$
|
|
4126
|
+
function create_fragment$8(ctx) {
|
|
4127
4127
|
let svg;
|
|
4128
4128
|
let path;
|
|
4129
4129
|
|
|
@@ -4163,7 +4163,7 @@
|
|
|
4163
4163
|
};
|
|
4164
4164
|
}
|
|
4165
4165
|
|
|
4166
|
-
function instance$
|
|
4166
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
4167
4167
|
let { width = "5rem" } = $$props;
|
|
4168
4168
|
let { height = "5rem" } = $$props;
|
|
4169
4169
|
|
|
@@ -4178,7 +4178,7 @@
|
|
|
4178
4178
|
class IconClose extends SvelteComponent {
|
|
4179
4179
|
constructor(options) {
|
|
4180
4180
|
super();
|
|
4181
|
-
init(this, options, instance$
|
|
4181
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { width: 0, height: 1 });
|
|
4182
4182
|
}
|
|
4183
4183
|
}
|
|
4184
4184
|
|
|
@@ -4217,9 +4217,8 @@
|
|
|
4217
4217
|
? /*item*/ ctx[7].hrefOrCallback
|
|
4218
4218
|
: "#");
|
|
4219
4219
|
|
|
4220
|
-
attr(a, "class", "svelte-
|
|
4221
|
-
|
|
4222
|
-
attr(li, "class", li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-v0jihd");
|
|
4220
|
+
attr(a, "class", "svelte-1c8sozl");
|
|
4221
|
+
attr(li, "class", li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-1c8sozl");
|
|
4223
4222
|
toggle_class(li, "active", /*active*/ ctx[2] === /*item*/ ctx[7].name);
|
|
4224
4223
|
},
|
|
4225
4224
|
m(target, anchor) {
|
|
@@ -4243,11 +4242,7 @@
|
|
|
4243
4242
|
attr(a, "href", a_href_value);
|
|
4244
4243
|
}
|
|
4245
4244
|
|
|
4246
|
-
if (dirty & /*
|
|
4247
|
-
toggle_class(a, "iroco-ui-button", /*item*/ ctx[7].isButton());
|
|
4248
|
-
}
|
|
4249
|
-
|
|
4250
|
-
if (dirty & /*type*/ 2 && li_class_value !== (li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-v0jihd")) {
|
|
4245
|
+
if (dirty & /*type*/ 2 && li_class_value !== (li_class_value = "nav__" + /*type*/ ctx[1] + "__item" + " svelte-1c8sozl")) {
|
|
4251
4246
|
attr(li, "class", li_class_value);
|
|
4252
4247
|
}
|
|
4253
4248
|
|
|
@@ -4263,7 +4258,7 @@
|
|
|
4263
4258
|
};
|
|
4264
4259
|
}
|
|
4265
4260
|
|
|
4266
|
-
function create_fragment$
|
|
4261
|
+
function create_fragment$7(ctx) {
|
|
4267
4262
|
let nav;
|
|
4268
4263
|
let button;
|
|
4269
4264
|
let iconclose;
|
|
@@ -4295,10 +4290,10 @@
|
|
|
4295
4290
|
each_blocks[i].c();
|
|
4296
4291
|
}
|
|
4297
4292
|
|
|
4298
|
-
attr(button, "class", button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-
|
|
4299
|
-
attr(ul, "class", ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-
|
|
4293
|
+
attr(button, "class", button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-1c8sozl");
|
|
4294
|
+
attr(ul, "class", ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-1c8sozl");
|
|
4300
4295
|
attr(nav, "data-testid", /*type*/ ctx[1]);
|
|
4301
|
-
attr(nav, "class", nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-
|
|
4296
|
+
attr(nav, "class", nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-1c8sozl");
|
|
4302
4297
|
},
|
|
4303
4298
|
m(target, anchor) {
|
|
4304
4299
|
insert(target, nav, anchor);
|
|
@@ -4319,7 +4314,7 @@
|
|
|
4319
4314
|
}
|
|
4320
4315
|
},
|
|
4321
4316
|
p(ctx, [dirty]) {
|
|
4322
|
-
if (!current || dirty & /*type*/ 2 && button_class_value !== (button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-
|
|
4317
|
+
if (!current || dirty & /*type*/ 2 && button_class_value !== (button_class_value = "nav__" + /*type*/ ctx[1] + "__close" + " svelte-1c8sozl")) {
|
|
4323
4318
|
attr(button, "class", button_class_value);
|
|
4324
4319
|
}
|
|
4325
4320
|
|
|
@@ -4346,7 +4341,7 @@
|
|
|
4346
4341
|
each_blocks.length = each_value.length;
|
|
4347
4342
|
}
|
|
4348
4343
|
|
|
4349
|
-
if (!current || dirty & /*type*/ 2 && ul_class_value !== (ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-
|
|
4344
|
+
if (!current || dirty & /*type*/ 2 && ul_class_value !== (ul_class_value = "nav__" + /*type*/ ctx[1] + "__item-container" + " svelte-1c8sozl")) {
|
|
4350
4345
|
attr(ul, "class", ul_class_value);
|
|
4351
4346
|
}
|
|
4352
4347
|
|
|
@@ -4354,7 +4349,7 @@
|
|
|
4354
4349
|
attr(nav, "data-testid", /*type*/ ctx[1]);
|
|
4355
4350
|
}
|
|
4356
4351
|
|
|
4357
|
-
if (!current || dirty & /*type*/ 2 && nav_class_value !== (nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-
|
|
4352
|
+
if (!current || dirty & /*type*/ 2 && nav_class_value !== (nav_class_value = "nav__" + /*type*/ ctx[1] + " svelte-1c8sozl")) {
|
|
4358
4353
|
attr(nav, "class", nav_class_value);
|
|
4359
4354
|
}
|
|
4360
4355
|
},
|
|
@@ -4377,7 +4372,7 @@
|
|
|
4377
4372
|
};
|
|
4378
4373
|
}
|
|
4379
4374
|
|
|
4380
|
-
function instance$
|
|
4375
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
4381
4376
|
|
|
4382
4377
|
let { navigationItems } = $$props;
|
|
4383
4378
|
let { type } = $$props;
|
|
@@ -4412,13 +4407,13 @@
|
|
|
4412
4407
|
class NavBar extends SvelteComponent {
|
|
4413
4408
|
constructor(options) {
|
|
4414
4409
|
super();
|
|
4415
|
-
init(this, options, instance$
|
|
4410
|
+
init(this, options, instance$7, create_fragment$7, safe_not_equal, { navigationItems: 0, type: 1 });
|
|
4416
4411
|
}
|
|
4417
4412
|
}
|
|
4418
4413
|
|
|
4419
4414
|
/* src/IconBurger.svelte generated by Svelte v3.38.2 */
|
|
4420
4415
|
|
|
4421
|
-
function create_fragment$
|
|
4416
|
+
function create_fragment$6(ctx) {
|
|
4422
4417
|
let svg;
|
|
4423
4418
|
let path;
|
|
4424
4419
|
|
|
@@ -4458,7 +4453,7 @@
|
|
|
4458
4453
|
};
|
|
4459
4454
|
}
|
|
4460
4455
|
|
|
4461
|
-
function instance$
|
|
4456
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
4462
4457
|
let { width = "5rem" } = $$props;
|
|
4463
4458
|
let { height = "5rem" } = $$props;
|
|
4464
4459
|
|
|
@@ -4471,110 +4466,6 @@
|
|
|
4471
4466
|
}
|
|
4472
4467
|
|
|
4473
4468
|
class IconBurger extends SvelteComponent {
|
|
4474
|
-
constructor(options) {
|
|
4475
|
-
super();
|
|
4476
|
-
init(this, options, instance$7, create_fragment$7, safe_not_equal, { width: 0, height: 1 });
|
|
4477
|
-
}
|
|
4478
|
-
}
|
|
4479
|
-
|
|
4480
|
-
/* src/IrocoLogo.svelte generated by Svelte v3.38.2 */
|
|
4481
|
-
|
|
4482
|
-
function create_fragment$6(ctx) {
|
|
4483
|
-
let a;
|
|
4484
|
-
let svg;
|
|
4485
|
-
let title;
|
|
4486
|
-
let t;
|
|
4487
|
-
let path0;
|
|
4488
|
-
let path1;
|
|
4489
|
-
let path2;
|
|
4490
|
-
let path3;
|
|
4491
|
-
let path4;
|
|
4492
|
-
let path5;
|
|
4493
|
-
let path6;
|
|
4494
|
-
|
|
4495
|
-
return {
|
|
4496
|
-
c() {
|
|
4497
|
-
a = element("a");
|
|
4498
|
-
svg = svg_element("svg");
|
|
4499
|
-
title = svg_element("title");
|
|
4500
|
-
t = text("Iroco");
|
|
4501
|
-
path0 = svg_element("path");
|
|
4502
|
-
path1 = svg_element("path");
|
|
4503
|
-
path2 = svg_element("path");
|
|
4504
|
-
path3 = svg_element("path");
|
|
4505
|
-
path4 = svg_element("path");
|
|
4506
|
-
path5 = svg_element("path");
|
|
4507
|
-
path6 = svg_element("path");
|
|
4508
|
-
attr(path0, "fill", "white");
|
|
4509
|
-
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");
|
|
4510
|
-
attr(path0, "transform", "translate(-0.44 -0.49)");
|
|
4511
|
-
attr(path1, "fill", "white");
|
|
4512
|
-
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");
|
|
4513
|
-
attr(path1, "transform", "translate(-0.44 -0.49)");
|
|
4514
|
-
attr(path2, "fill", "white");
|
|
4515
|
-
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");
|
|
4516
|
-
attr(path2, "transform", "translate(-0.44 -0.49)");
|
|
4517
|
-
attr(path3, "fill", "white");
|
|
4518
|
-
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");
|
|
4519
|
-
attr(path3, "transform", "translate(-0.44 -0.49)");
|
|
4520
|
-
attr(path4, "fill", "white");
|
|
4521
|
-
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");
|
|
4522
|
-
attr(path4, "transform", "translate(-0.44 -0.49)");
|
|
4523
|
-
attr(path5, "fill", "white");
|
|
4524
|
-
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");
|
|
4525
|
-
attr(path5, "transform", "translate(-0.44 -0.49)");
|
|
4526
|
-
attr(path6, "fill", "#00D692");
|
|
4527
|
-
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");
|
|
4528
|
-
attr(path6, "transform", "translate(-0.44 -0.49)");
|
|
4529
|
-
attr(svg, "viewBox", "0 0 832.33 249.52");
|
|
4530
|
-
attr(svg, "width", /*width*/ ctx[0]);
|
|
4531
|
-
attr(svg, "height", /*height*/ ctx[1]);
|
|
4532
|
-
attr(a, "class", "iroco-logo");
|
|
4533
|
-
attr(a, "href", "/");
|
|
4534
|
-
},
|
|
4535
|
-
m(target, anchor) {
|
|
4536
|
-
insert(target, a, anchor);
|
|
4537
|
-
append(a, svg);
|
|
4538
|
-
append(svg, title);
|
|
4539
|
-
append(title, t);
|
|
4540
|
-
append(svg, path0);
|
|
4541
|
-
append(svg, path1);
|
|
4542
|
-
append(svg, path2);
|
|
4543
|
-
append(svg, path3);
|
|
4544
|
-
append(svg, path4);
|
|
4545
|
-
append(svg, path5);
|
|
4546
|
-
append(svg, path6);
|
|
4547
|
-
},
|
|
4548
|
-
p(ctx, [dirty]) {
|
|
4549
|
-
if (dirty & /*width*/ 1) {
|
|
4550
|
-
attr(svg, "width", /*width*/ ctx[0]);
|
|
4551
|
-
}
|
|
4552
|
-
|
|
4553
|
-
if (dirty & /*height*/ 2) {
|
|
4554
|
-
attr(svg, "height", /*height*/ ctx[1]);
|
|
4555
|
-
}
|
|
4556
|
-
},
|
|
4557
|
-
i: noop,
|
|
4558
|
-
o: noop,
|
|
4559
|
-
d(detaching) {
|
|
4560
|
-
if (detaching) detach(a);
|
|
4561
|
-
}
|
|
4562
|
-
};
|
|
4563
|
-
}
|
|
4564
|
-
|
|
4565
|
-
function instance$6($$self, $$props, $$invalidate) {
|
|
4566
|
-
let { width = "10rem" } = $$props;
|
|
4567
|
-
let { height = "10rem" } = $$props;
|
|
4568
|
-
|
|
4569
|
-
$$self.$$set = $$props => {
|
|
4570
|
-
if ("width" in $$props) $$invalidate(0, width = $$props.width);
|
|
4571
|
-
if ("height" in $$props) $$invalidate(1, height = $$props.height);
|
|
4572
|
-
};
|
|
4573
|
-
|
|
4574
|
-
return [width, height];
|
|
4575
|
-
}
|
|
4576
|
-
|
|
4577
|
-
class IrocoLogo extends SvelteComponent {
|
|
4578
4469
|
constructor(options) {
|
|
4579
4470
|
super();
|
|
4580
4471
|
init(this, options, instance$6, create_fragment$6, safe_not_equal, { width: 0, height: 1 });
|
|
@@ -4583,81 +4474,7 @@
|
|
|
4583
4474
|
|
|
4584
4475
|
/* src/Navigation.svelte generated by Svelte v3.38.2 */
|
|
4585
4476
|
|
|
4586
|
-
function
|
|
4587
|
-
let iconirocologo;
|
|
4588
|
-
let t0;
|
|
4589
|
-
let h1;
|
|
4590
|
-
let t1;
|
|
4591
|
-
let current;
|
|
4592
|
-
iconirocologo = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4593
|
-
|
|
4594
|
-
return {
|
|
4595
|
-
c() {
|
|
4596
|
-
create_component(iconirocologo.$$.fragment);
|
|
4597
|
-
t0 = space();
|
|
4598
|
-
h1 = element("h1");
|
|
4599
|
-
t1 = text(/*title*/ ctx[2]);
|
|
4600
|
-
attr(h1, "class", "svelte-lqwgm1");
|
|
4601
|
-
},
|
|
4602
|
-
m(target, anchor) {
|
|
4603
|
-
mount_component(iconirocologo, target, anchor);
|
|
4604
|
-
insert(target, t0, anchor);
|
|
4605
|
-
insert(target, h1, anchor);
|
|
4606
|
-
append(h1, t1);
|
|
4607
|
-
current = true;
|
|
4608
|
-
},
|
|
4609
|
-
p(ctx, dirty) {
|
|
4610
|
-
if (!current || dirty & /*title*/ 4) set_data(t1, /*title*/ ctx[2]);
|
|
4611
|
-
},
|
|
4612
|
-
i(local) {
|
|
4613
|
-
if (current) return;
|
|
4614
|
-
transition_in(iconirocologo.$$.fragment, local);
|
|
4615
|
-
current = true;
|
|
4616
|
-
},
|
|
4617
|
-
o(local) {
|
|
4618
|
-
transition_out(iconirocologo.$$.fragment, local);
|
|
4619
|
-
current = false;
|
|
4620
|
-
},
|
|
4621
|
-
d(detaching) {
|
|
4622
|
-
destroy_component(iconirocologo, detaching);
|
|
4623
|
-
if (detaching) detach(t0);
|
|
4624
|
-
if (detaching) detach(h1);
|
|
4625
|
-
}
|
|
4626
|
-
};
|
|
4627
|
-
}
|
|
4628
|
-
|
|
4629
|
-
// (14:2) {#if title == null}
|
|
4630
|
-
function create_if_block_2(ctx) {
|
|
4631
|
-
let irocologo;
|
|
4632
|
-
let current;
|
|
4633
|
-
irocologo = new IrocoLogo({ props: { width: "10em", height: "10em" } });
|
|
4634
|
-
|
|
4635
|
-
return {
|
|
4636
|
-
c() {
|
|
4637
|
-
create_component(irocologo.$$.fragment);
|
|
4638
|
-
},
|
|
4639
|
-
m(target, anchor) {
|
|
4640
|
-
mount_component(irocologo, target, anchor);
|
|
4641
|
-
current = true;
|
|
4642
|
-
},
|
|
4643
|
-
p: noop,
|
|
4644
|
-
i(local) {
|
|
4645
|
-
if (current) return;
|
|
4646
|
-
transition_in(irocologo.$$.fragment, local);
|
|
4647
|
-
current = true;
|
|
4648
|
-
},
|
|
4649
|
-
o(local) {
|
|
4650
|
-
transition_out(irocologo.$$.fragment, local);
|
|
4651
|
-
current = false;
|
|
4652
|
-
},
|
|
4653
|
-
d(detaching) {
|
|
4654
|
-
destroy_component(irocologo, detaching);
|
|
4655
|
-
}
|
|
4656
|
-
};
|
|
4657
|
-
}
|
|
4658
|
-
|
|
4659
|
-
// (26:1) {#if showMenu}
|
|
4660
|
-
function create_if_block_1(ctx) {
|
|
4477
|
+
function create_if_block$1(ctx) {
|
|
4661
4478
|
let navbar;
|
|
4662
4479
|
let current;
|
|
4663
4480
|
|
|
@@ -4700,121 +4517,33 @@
|
|
|
4700
4517
|
};
|
|
4701
4518
|
}
|
|
4702
4519
|
|
|
4703
|
-
// (40:2) {:else}
|
|
4704
|
-
function create_else_block$1(ctx) {
|
|
4705
|
-
let iconirocologo;
|
|
4706
|
-
let t0;
|
|
4707
|
-
let h1;
|
|
4708
|
-
let t1;
|
|
4709
|
-
let current;
|
|
4710
|
-
iconirocologo = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4711
|
-
|
|
4712
|
-
return {
|
|
4713
|
-
c() {
|
|
4714
|
-
create_component(iconirocologo.$$.fragment);
|
|
4715
|
-
t0 = space();
|
|
4716
|
-
h1 = element("h1");
|
|
4717
|
-
t1 = text(/*title*/ ctx[2]);
|
|
4718
|
-
attr(h1, "class", "svelte-lqwgm1");
|
|
4719
|
-
},
|
|
4720
|
-
m(target, anchor) {
|
|
4721
|
-
mount_component(iconirocologo, target, anchor);
|
|
4722
|
-
insert(target, t0, anchor);
|
|
4723
|
-
insert(target, h1, anchor);
|
|
4724
|
-
append(h1, t1);
|
|
4725
|
-
current = true;
|
|
4726
|
-
},
|
|
4727
|
-
p(ctx, dirty) {
|
|
4728
|
-
if (!current || dirty & /*title*/ 4) set_data(t1, /*title*/ ctx[2]);
|
|
4729
|
-
},
|
|
4730
|
-
i(local) {
|
|
4731
|
-
if (current) return;
|
|
4732
|
-
transition_in(iconirocologo.$$.fragment, local);
|
|
4733
|
-
current = true;
|
|
4734
|
-
},
|
|
4735
|
-
o(local) {
|
|
4736
|
-
transition_out(iconirocologo.$$.fragment, local);
|
|
4737
|
-
current = false;
|
|
4738
|
-
},
|
|
4739
|
-
d(detaching) {
|
|
4740
|
-
destroy_component(iconirocologo, detaching);
|
|
4741
|
-
if (detaching) detach(t0);
|
|
4742
|
-
if (detaching) detach(h1);
|
|
4743
|
-
}
|
|
4744
|
-
};
|
|
4745
|
-
}
|
|
4746
|
-
|
|
4747
|
-
// (38:2) {#if title == null}
|
|
4748
|
-
function create_if_block$1(ctx) {
|
|
4749
|
-
let irocologo;
|
|
4750
|
-
let current;
|
|
4751
|
-
irocologo = new IrocoLogo({ props: { width: "10em", height: "10em" } });
|
|
4752
|
-
|
|
4753
|
-
return {
|
|
4754
|
-
c() {
|
|
4755
|
-
create_component(irocologo.$$.fragment);
|
|
4756
|
-
},
|
|
4757
|
-
m(target, anchor) {
|
|
4758
|
-
mount_component(irocologo, target, anchor);
|
|
4759
|
-
current = true;
|
|
4760
|
-
},
|
|
4761
|
-
p: noop,
|
|
4762
|
-
i(local) {
|
|
4763
|
-
if (current) return;
|
|
4764
|
-
transition_in(irocologo.$$.fragment, local);
|
|
4765
|
-
current = true;
|
|
4766
|
-
},
|
|
4767
|
-
o(local) {
|
|
4768
|
-
transition_out(irocologo.$$.fragment, local);
|
|
4769
|
-
current = false;
|
|
4770
|
-
},
|
|
4771
|
-
d(detaching) {
|
|
4772
|
-
destroy_component(irocologo, detaching);
|
|
4773
|
-
}
|
|
4774
|
-
};
|
|
4775
|
-
}
|
|
4776
|
-
|
|
4777
4520
|
function create_fragment$5(ctx) {
|
|
4778
4521
|
let div1;
|
|
4779
4522
|
let div0;
|
|
4780
|
-
let
|
|
4781
|
-
let if_block0;
|
|
4523
|
+
let iconirocologo0;
|
|
4782
4524
|
let t0;
|
|
4783
|
-
let
|
|
4784
|
-
let iconburger;
|
|
4525
|
+
let h10;
|
|
4785
4526
|
let t1;
|
|
4786
4527
|
let t2;
|
|
4528
|
+
let button;
|
|
4529
|
+
let iconburger;
|
|
4530
|
+
let t3;
|
|
4531
|
+
let t4;
|
|
4787
4532
|
let div3;
|
|
4788
4533
|
let div2;
|
|
4789
|
-
let
|
|
4790
|
-
let
|
|
4791
|
-
let
|
|
4534
|
+
let iconirocologo1;
|
|
4535
|
+
let t5;
|
|
4536
|
+
let h11;
|
|
4537
|
+
let t6;
|
|
4538
|
+
let t7;
|
|
4792
4539
|
let navbar;
|
|
4793
4540
|
let current;
|
|
4794
4541
|
let mounted;
|
|
4795
4542
|
let dispose;
|
|
4796
|
-
|
|
4797
|
-
const if_blocks = [];
|
|
4798
|
-
|
|
4799
|
-
function select_block_type(ctx, dirty) {
|
|
4800
|
-
if (/*title*/ ctx[2] == null) return 0;
|
|
4801
|
-
return 1;
|
|
4802
|
-
}
|
|
4803
|
-
|
|
4804
|
-
current_block_type_index = select_block_type(ctx);
|
|
4805
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
4543
|
+
iconirocologo0 = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4806
4544
|
iconburger = new IconBurger({ props: { width: "3em", height: "3em" } });
|
|
4807
|
-
let
|
|
4808
|
-
|
|
4809
|
-
const if_blocks_1 = [];
|
|
4810
|
-
|
|
4811
|
-
function select_block_type_1(ctx, dirty) {
|
|
4812
|
-
if (/*title*/ ctx[2] == null) return 0;
|
|
4813
|
-
return 1;
|
|
4814
|
-
}
|
|
4815
|
-
|
|
4816
|
-
current_block_type_index_1 = select_block_type_1(ctx);
|
|
4817
|
-
if_block2 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
|
|
4545
|
+
let if_block = /*showMenu*/ ctx[3] && create_if_block$1(ctx);
|
|
4546
|
+
iconirocologo1 = new IconIrocoLogo({ props: { width: "3em", height: "3em" } });
|
|
4818
4547
|
|
|
4819
4548
|
navbar = new NavBar({
|
|
4820
4549
|
props: {
|
|
@@ -4827,38 +4556,52 @@
|
|
|
4827
4556
|
c() {
|
|
4828
4557
|
div1 = element("div");
|
|
4829
4558
|
div0 = element("div");
|
|
4830
|
-
|
|
4559
|
+
create_component(iconirocologo0.$$.fragment);
|
|
4831
4560
|
t0 = space();
|
|
4561
|
+
h10 = element("h1");
|
|
4562
|
+
t1 = text(/*title*/ ctx[2]);
|
|
4563
|
+
t2 = space();
|
|
4832
4564
|
button = element("button");
|
|
4833
4565
|
create_component(iconburger.$$.fragment);
|
|
4834
|
-
|
|
4835
|
-
if (
|
|
4836
|
-
|
|
4566
|
+
t3 = space();
|
|
4567
|
+
if (if_block) if_block.c();
|
|
4568
|
+
t4 = space();
|
|
4837
4569
|
div3 = element("div");
|
|
4838
4570
|
div2 = element("div");
|
|
4839
|
-
|
|
4840
|
-
|
|
4571
|
+
create_component(iconirocologo1.$$.fragment);
|
|
4572
|
+
t5 = space();
|
|
4573
|
+
h11 = element("h1");
|
|
4574
|
+
t6 = text(/*title*/ ctx[2]);
|
|
4575
|
+
t7 = space();
|
|
4841
4576
|
create_component(navbar.$$.fragment);
|
|
4577
|
+
attr(h10, "class", "svelte-lqwgm1");
|
|
4842
4578
|
attr(div0, "class", "navigation--mobile__title-container svelte-lqwgm1");
|
|
4843
4579
|
attr(button, "class", "navigation--mobile__button svelte-lqwgm1");
|
|
4844
4580
|
attr(div1, "class", "navigation--mobile svelte-lqwgm1");
|
|
4581
|
+
attr(h11, "class", "svelte-lqwgm1");
|
|
4845
4582
|
attr(div2, "class", "navigation__title-container svelte-lqwgm1");
|
|
4846
4583
|
attr(div3, "class", "navigation svelte-lqwgm1");
|
|
4847
4584
|
},
|
|
4848
4585
|
m(target, anchor) {
|
|
4849
4586
|
insert(target, div1, anchor);
|
|
4850
4587
|
append(div1, div0);
|
|
4851
|
-
|
|
4852
|
-
append(
|
|
4588
|
+
mount_component(iconirocologo0, div0, null);
|
|
4589
|
+
append(div0, t0);
|
|
4590
|
+
append(div0, h10);
|
|
4591
|
+
append(h10, t1);
|
|
4592
|
+
append(div1, t2);
|
|
4853
4593
|
append(div1, button);
|
|
4854
4594
|
mount_component(iconburger, button, null);
|
|
4855
|
-
append(div1,
|
|
4856
|
-
if (
|
|
4857
|
-
insert(target,
|
|
4595
|
+
append(div1, t3);
|
|
4596
|
+
if (if_block) if_block.m(div1, null);
|
|
4597
|
+
insert(target, t4, anchor);
|
|
4858
4598
|
insert(target, div3, anchor);
|
|
4859
4599
|
append(div3, div2);
|
|
4860
|
-
|
|
4861
|
-
append(
|
|
4600
|
+
mount_component(iconirocologo1, div2, null);
|
|
4601
|
+
append(div2, t5);
|
|
4602
|
+
append(div2, h11);
|
|
4603
|
+
append(h11, t6);
|
|
4604
|
+
append(div3, t7);
|
|
4862
4605
|
mount_component(navbar, div3, null);
|
|
4863
4606
|
current = true;
|
|
4864
4607
|
|
|
@@ -4868,81 +4611,32 @@
|
|
|
4868
4611
|
}
|
|
4869
4612
|
},
|
|
4870
4613
|
p(ctx, [dirty]) {
|
|
4871
|
-
|
|
4872
|
-
current_block_type_index = select_block_type(ctx);
|
|
4873
|
-
|
|
4874
|
-
if (current_block_type_index === previous_block_index) {
|
|
4875
|
-
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
4876
|
-
} else {
|
|
4877
|
-
group_outros();
|
|
4878
|
-
|
|
4879
|
-
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
4880
|
-
if_blocks[previous_block_index] = null;
|
|
4881
|
-
});
|
|
4882
|
-
|
|
4883
|
-
check_outros();
|
|
4884
|
-
if_block0 = if_blocks[current_block_type_index];
|
|
4885
|
-
|
|
4886
|
-
if (!if_block0) {
|
|
4887
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
4888
|
-
if_block0.c();
|
|
4889
|
-
} else {
|
|
4890
|
-
if_block0.p(ctx, dirty);
|
|
4891
|
-
}
|
|
4892
|
-
|
|
4893
|
-
transition_in(if_block0, 1);
|
|
4894
|
-
if_block0.m(div0, null);
|
|
4895
|
-
}
|
|
4614
|
+
if (!current || dirty & /*title*/ 4) set_data(t1, /*title*/ ctx[2]);
|
|
4896
4615
|
|
|
4897
4616
|
if (/*showMenu*/ ctx[3]) {
|
|
4898
|
-
if (
|
|
4899
|
-
|
|
4617
|
+
if (if_block) {
|
|
4618
|
+
if_block.p(ctx, dirty);
|
|
4900
4619
|
|
|
4901
4620
|
if (dirty & /*showMenu*/ 8) {
|
|
4902
|
-
transition_in(
|
|
4621
|
+
transition_in(if_block, 1);
|
|
4903
4622
|
}
|
|
4904
4623
|
} else {
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
transition_in(
|
|
4908
|
-
|
|
4624
|
+
if_block = create_if_block$1(ctx);
|
|
4625
|
+
if_block.c();
|
|
4626
|
+
transition_in(if_block, 1);
|
|
4627
|
+
if_block.m(div1, null);
|
|
4909
4628
|
}
|
|
4910
|
-
} else if (
|
|
4911
|
-
group_outros();
|
|
4912
|
-
|
|
4913
|
-
transition_out(if_block1, 1, 1, () => {
|
|
4914
|
-
if_block1 = null;
|
|
4915
|
-
});
|
|
4916
|
-
|
|
4917
|
-
check_outros();
|
|
4918
|
-
}
|
|
4919
|
-
|
|
4920
|
-
let previous_block_index_1 = current_block_type_index_1;
|
|
4921
|
-
current_block_type_index_1 = select_block_type_1(ctx);
|
|
4922
|
-
|
|
4923
|
-
if (current_block_type_index_1 === previous_block_index_1) {
|
|
4924
|
-
if_blocks_1[current_block_type_index_1].p(ctx, dirty);
|
|
4925
|
-
} else {
|
|
4629
|
+
} else if (if_block) {
|
|
4926
4630
|
group_outros();
|
|
4927
4631
|
|
|
4928
|
-
transition_out(
|
|
4929
|
-
|
|
4632
|
+
transition_out(if_block, 1, 1, () => {
|
|
4633
|
+
if_block = null;
|
|
4930
4634
|
});
|
|
4931
4635
|
|
|
4932
4636
|
check_outros();
|
|
4933
|
-
if_block2 = if_blocks_1[current_block_type_index_1];
|
|
4934
|
-
|
|
4935
|
-
if (!if_block2) {
|
|
4936
|
-
if_block2 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
|
|
4937
|
-
if_block2.c();
|
|
4938
|
-
} else {
|
|
4939
|
-
if_block2.p(ctx, dirty);
|
|
4940
|
-
}
|
|
4941
|
-
|
|
4942
|
-
transition_in(if_block2, 1);
|
|
4943
|
-
if_block2.m(div2, null);
|
|
4944
4637
|
}
|
|
4945
4638
|
|
|
4639
|
+
if (!current || dirty & /*title*/ 4) set_data(t6, /*title*/ ctx[2]);
|
|
4946
4640
|
const navbar_changes = {};
|
|
4947
4641
|
if (dirty & /*navigationItems*/ 1) navbar_changes.navigationItems = /*navigationItems*/ ctx[0];
|
|
4948
4642
|
if (dirty & /*type*/ 2) navbar_changes.type = /*type*/ ctx[1];
|
|
@@ -4950,29 +4644,29 @@
|
|
|
4950
4644
|
},
|
|
4951
4645
|
i(local) {
|
|
4952
4646
|
if (current) return;
|
|
4953
|
-
transition_in(
|
|
4647
|
+
transition_in(iconirocologo0.$$.fragment, local);
|
|
4954
4648
|
transition_in(iconburger.$$.fragment, local);
|
|
4955
|
-
transition_in(
|
|
4956
|
-
transition_in(
|
|
4649
|
+
transition_in(if_block);
|
|
4650
|
+
transition_in(iconirocologo1.$$.fragment, local);
|
|
4957
4651
|
transition_in(navbar.$$.fragment, local);
|
|
4958
4652
|
current = true;
|
|
4959
4653
|
},
|
|
4960
4654
|
o(local) {
|
|
4961
|
-
transition_out(
|
|
4655
|
+
transition_out(iconirocologo0.$$.fragment, local);
|
|
4962
4656
|
transition_out(iconburger.$$.fragment, local);
|
|
4963
|
-
transition_out(
|
|
4964
|
-
transition_out(
|
|
4657
|
+
transition_out(if_block);
|
|
4658
|
+
transition_out(iconirocologo1.$$.fragment, local);
|
|
4965
4659
|
transition_out(navbar.$$.fragment, local);
|
|
4966
4660
|
current = false;
|
|
4967
4661
|
},
|
|
4968
4662
|
d(detaching) {
|
|
4969
4663
|
if (detaching) detach(div1);
|
|
4970
|
-
|
|
4664
|
+
destroy_component(iconirocologo0);
|
|
4971
4665
|
destroy_component(iconburger);
|
|
4972
|
-
if (
|
|
4973
|
-
if (detaching) detach(
|
|
4666
|
+
if (if_block) if_block.d();
|
|
4667
|
+
if (detaching) detach(t4);
|
|
4974
4668
|
if (detaching) detach(div3);
|
|
4975
|
-
|
|
4669
|
+
destroy_component(iconirocologo1);
|
|
4976
4670
|
destroy_component(navbar);
|
|
4977
4671
|
mounted = false;
|
|
4978
4672
|
dispose();
|
|
@@ -4984,7 +4678,7 @@
|
|
|
4984
4678
|
|
|
4985
4679
|
let { navigationItems } = $$props;
|
|
4986
4680
|
let { type = "topbar" } = $$props;
|
|
4987
|
-
let { title
|
|
4681
|
+
let { title } = $$props;
|
|
4988
4682
|
let showMenu = false;
|
|
4989
4683
|
const click_handler = () => $$invalidate(3, showMenu = true);
|
|
4990
4684
|
const click_link_handler = () => $$invalidate(3, showMenu = false);
|
|
@@ -5743,36 +5437,18 @@
|
|
|
5743
5437
|
}
|
|
5744
5438
|
}
|
|
5745
5439
|
|
|
5746
|
-
class NavigationItem {
|
|
5747
|
-
constructor(name, hrefOrCallback) {
|
|
5748
|
-
this.hrefOrCallback = hrefOrCallback;
|
|
5749
|
-
this.name = name;
|
|
5750
|
-
}
|
|
5751
|
-
isButton() {
|
|
5752
|
-
return typeof this.hrefOrCallback === 'function';
|
|
5753
|
-
}
|
|
5754
|
-
}
|
|
5755
|
-
exports.ButtonKind = void 0;
|
|
5756
|
-
(function (ButtonKind) {
|
|
5757
|
-
ButtonKind["REGULAR"] = "regular";
|
|
5758
|
-
ButtonKind["DANGER"] = "danger";
|
|
5759
|
-
})(exports.ButtonKind || (exports.ButtonKind = {}));
|
|
5760
|
-
|
|
5761
5440
|
exports.Alert = Alert;
|
|
5762
5441
|
exports.Button = Button;
|
|
5763
5442
|
exports.DataTable = DataTable;
|
|
5764
5443
|
exports.Icon = Icon;
|
|
5765
5444
|
exports.IconFloppyDisk = IconFloppyDisk;
|
|
5766
5445
|
exports.IconInfo = IconInfo;
|
|
5767
|
-
exports.IconIrocoLogo = IconIrocoLogo;
|
|
5768
5446
|
exports.IconMastodon = IconMastodon;
|
|
5769
5447
|
exports.IconMore = IconMoreSign;
|
|
5770
5448
|
exports.IconTrashCan = IconTrashCan;
|
|
5771
|
-
exports.IrocoLogo = IrocoLogo;
|
|
5772
5449
|
exports.Loader = Loader;
|
|
5773
5450
|
exports.NavBar = NavBar;
|
|
5774
5451
|
exports.Navigation = Navigation;
|
|
5775
|
-
exports.NavigationItem = NavigationItem;
|
|
5776
5452
|
exports.NumberInput = NumberInput;
|
|
5777
5453
|
exports.RadioButton = RadioButton;
|
|
5778
5454
|
exports.TextInput = TextInput;
|