@plaidev/karte-action-sdk 1.1.154 → 1.1.156-28004317.e22f6b82
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/dist/hydrate/index.es.d.ts +4 -4
- package/dist/hydrate/index.es.js +1087 -450
- package/dist/index.es.d.ts +4 -4
- package/dist/index.es.js +1042 -482
- package/package.json +19 -19
package/dist/hydrate/index.es.js
CHANGED
@@ -2,7 +2,7 @@ import 'svelte/easing';
|
|
2
2
|
import { writable, get } from 'svelte/store';
|
3
3
|
import { setContext, getContext, createEventDispatcher, onMount, onDestroy as onDestroy$1 } from 'svelte';
|
4
4
|
export { onMount } from 'svelte';
|
5
|
-
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen,
|
5
|
+
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, claim_svg_element, append_hydration, destroy_each, text, claim_text, set_data, src_url_equal, HtmlTagHydration, claim_html_tag } from 'svelte/internal';
|
6
6
|
|
7
7
|
/** @internal */
|
8
8
|
const PropTypes = [
|
@@ -139,13 +139,13 @@ const OnClickOperationOptions = [
|
|
139
139
|
const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
|
140
140
|
/** @internal */
|
141
141
|
const Fonts = [
|
142
|
-
'Noto Sans
|
142
|
+
'Noto Sans JP',
|
143
143
|
'M PLUS Rounded 1c',
|
144
144
|
'M PLUS 1p',
|
145
145
|
'Kosugi Maru',
|
146
146
|
'Kosugi',
|
147
147
|
'BIZ UDPGothic',
|
148
|
-
'Noto Serif
|
148
|
+
'Noto Serif JP',
|
149
149
|
'BIZ UDPMincho',
|
150
150
|
'Roboto',
|
151
151
|
'Open Sans',
|
@@ -2273,20 +2273,20 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2273
2273
|
|
2274
2274
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2275
2275
|
|
2276
|
-
function add_css$
|
2276
|
+
function add_css$t(target) {
|
2277
2277
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2278
2278
|
}
|
2279
2279
|
|
2280
2280
|
class Normalize extends SvelteComponent {
|
2281
2281
|
constructor(options) {
|
2282
2282
|
super();
|
2283
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2283
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$t);
|
2284
2284
|
}
|
2285
2285
|
}
|
2286
2286
|
|
2287
2287
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2288
2288
|
|
2289
|
-
function create_fragment$
|
2289
|
+
function create_fragment$w(ctx) {
|
2290
2290
|
let normalize;
|
2291
2291
|
let t;
|
2292
2292
|
let current;
|
@@ -2350,7 +2350,7 @@ function create_fragment$v(ctx) {
|
|
2350
2350
|
};
|
2351
2351
|
}
|
2352
2352
|
|
2353
|
-
function instance$
|
2353
|
+
function instance$w($$self, $$props, $$invalidate) {
|
2354
2354
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2355
2355
|
|
2356
2356
|
$$self.$$set = $$props => {
|
@@ -2363,18 +2363,18 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
2363
2363
|
class State extends SvelteComponent {
|
2364
2364
|
constructor(options) {
|
2365
2365
|
super();
|
2366
|
-
init(this, options, instance$
|
2366
|
+
init(this, options, instance$w, create_fragment$w, safe_not_equal, {});
|
2367
2367
|
}
|
2368
2368
|
}
|
2369
2369
|
|
2370
2370
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2371
2371
|
|
2372
|
-
function add_css$
|
2372
|
+
function add_css$s(target) {
|
2373
2373
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2374
2374
|
}
|
2375
2375
|
|
2376
2376
|
// (23:0) {#if $state === path}
|
2377
|
-
function create_if_block$
|
2377
|
+
function create_if_block$8(ctx) {
|
2378
2378
|
let div;
|
2379
2379
|
let t;
|
2380
2380
|
let current;
|
@@ -2446,10 +2446,10 @@ function create_if_block$7(ctx) {
|
|
2446
2446
|
};
|
2447
2447
|
}
|
2448
2448
|
|
2449
|
-
function create_fragment$
|
2449
|
+
function create_fragment$v(ctx) {
|
2450
2450
|
let if_block_anchor;
|
2451
2451
|
let current;
|
2452
|
-
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$
|
2452
|
+
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$8(ctx);
|
2453
2453
|
|
2454
2454
|
return {
|
2455
2455
|
c() {
|
@@ -2474,7 +2474,7 @@ function create_fragment$u(ctx) {
|
|
2474
2474
|
transition_in(if_block, 1);
|
2475
2475
|
}
|
2476
2476
|
} else {
|
2477
|
-
if_block = create_if_block$
|
2477
|
+
if_block = create_if_block$8(ctx);
|
2478
2478
|
if_block.c();
|
2479
2479
|
transition_in(if_block, 1);
|
2480
2480
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -2511,7 +2511,7 @@ function getStateItemContext() {
|
|
2511
2511
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2512
2512
|
}
|
2513
2513
|
|
2514
|
-
function instance$
|
2514
|
+
function instance$v($$self, $$props, $$invalidate) {
|
2515
2515
|
let $state;
|
2516
2516
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2517
2517
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2537,18 +2537,18 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
2537
2537
|
class StateItem extends SvelteComponent {
|
2538
2538
|
constructor(options) {
|
2539
2539
|
super();
|
2540
|
-
init(this, options, instance$
|
2540
|
+
init(this, options, instance$v, create_fragment$v, safe_not_equal, { path: 0 }, add_css$s);
|
2541
2541
|
}
|
2542
2542
|
}
|
2543
2543
|
|
2544
2544
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2545
2545
|
|
2546
|
-
function add_css$
|
2546
|
+
function add_css$r(target) {
|
2547
2547
|
append_styles(target, "svelte-1d4fta", ".background.svelte-1d4fta{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
|
2548
2548
|
}
|
2549
2549
|
|
2550
2550
|
// (9:0) {#if backgroundOverray}
|
2551
|
-
function create_if_block$
|
2551
|
+
function create_if_block$7(ctx) {
|
2552
2552
|
let div;
|
2553
2553
|
let mounted;
|
2554
2554
|
let dispose;
|
@@ -2583,9 +2583,9 @@ function create_if_block$6(ctx) {
|
|
2583
2583
|
};
|
2584
2584
|
}
|
2585
2585
|
|
2586
|
-
function create_fragment$
|
2586
|
+
function create_fragment$u(ctx) {
|
2587
2587
|
let if_block_anchor;
|
2588
|
-
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$
|
2588
|
+
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$7(ctx);
|
2589
2589
|
|
2590
2590
|
return {
|
2591
2591
|
c() {
|
@@ -2605,7 +2605,7 @@ function create_fragment$t(ctx) {
|
|
2605
2605
|
if (if_block) {
|
2606
2606
|
if_block.p(ctx, dirty);
|
2607
2607
|
} else {
|
2608
|
-
if_block = create_if_block$
|
2608
|
+
if_block = create_if_block$7(ctx);
|
2609
2609
|
if_block.c();
|
2610
2610
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
2611
2611
|
}
|
@@ -2623,7 +2623,7 @@ function create_fragment$t(ctx) {
|
|
2623
2623
|
};
|
2624
2624
|
}
|
2625
2625
|
|
2626
|
-
function instance$
|
2626
|
+
function instance$u($$self, $$props, $$invalidate) {
|
2627
2627
|
let { backgroundOverray = false } = $$props;
|
2628
2628
|
const dispatch = createEventDispatcher();
|
2629
2629
|
const click_handler = () => dispatch('click');
|
@@ -2638,178 +2638,662 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
2638
2638
|
class BackgroundOverray extends SvelteComponent {
|
2639
2639
|
constructor(options) {
|
2640
2640
|
super();
|
2641
|
-
init(this, options, instance$
|
2641
|
+
init(this, options, instance$u, create_fragment$u, safe_not_equal, { backgroundOverray: 0 }, add_css$r);
|
2642
2642
|
}
|
2643
2643
|
}
|
2644
2644
|
|
2645
|
-
/* src/components/
|
2645
|
+
/* src/components/Button.svelte generated by Svelte v3.53.1 */
|
2646
2646
|
|
2647
|
-
function add_css$
|
2648
|
-
append_styles(target, "svelte-
|
2647
|
+
function add_css$q(target) {
|
2648
|
+
append_styles(target, "svelte-1kj05ao", ".button.svelte-1kj05ao{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0;cursor:initial}.button.svelte-1kj05ao:link,.button.svelte-1kj05ao:visited,.button.svelte-1kj05ao:active,.button.svelte-1kj05ao:hover{color:inherit}");
|
2649
2649
|
}
|
2650
2650
|
|
2651
|
-
// (
|
2652
|
-
function
|
2653
|
-
let
|
2654
|
-
let t;
|
2655
|
-
let div0;
|
2656
|
-
let div1_style_value;
|
2657
|
-
let div1_intro;
|
2651
|
+
// (41:0) {:else}
|
2652
|
+
function create_else_block$2(ctx) {
|
2653
|
+
let button;
|
2658
2654
|
let current;
|
2659
2655
|
let mounted;
|
2660
2656
|
let dispose;
|
2661
|
-
|
2662
|
-
const
|
2663
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[28], null);
|
2657
|
+
const default_slot_template = /*#slots*/ ctx[9].default;
|
2658
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[8], null);
|
2664
2659
|
|
2665
2660
|
return {
|
2666
2661
|
c() {
|
2667
|
-
|
2668
|
-
if (if_block) if_block.c();
|
2669
|
-
t = space();
|
2670
|
-
div0 = element("div");
|
2662
|
+
button = element("button");
|
2671
2663
|
if (default_slot) default_slot.c();
|
2672
2664
|
this.h();
|
2673
2665
|
},
|
2674
2666
|
l(nodes) {
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2679
|
-
style: true
|
2680
|
-
});
|
2681
|
-
|
2682
|
-
var div1_nodes = children(div1);
|
2683
|
-
if (if_block) if_block.l(div1_nodes);
|
2684
|
-
t = claim_space(div1_nodes);
|
2685
|
-
div0 = claim_element(div1_nodes, "DIV", { class: true, style: true });
|
2686
|
-
var div0_nodes = children(div0);
|
2687
|
-
if (default_slot) default_slot.l(div0_nodes);
|
2688
|
-
div0_nodes.forEach(detach);
|
2689
|
-
div1_nodes.forEach(detach);
|
2667
|
+
button = claim_element(nodes, "BUTTON", { class: true, style: true });
|
2668
|
+
var button_nodes = children(button);
|
2669
|
+
if (default_slot) default_slot.l(button_nodes);
|
2670
|
+
button_nodes.forEach(detach);
|
2690
2671
|
this.h();
|
2691
2672
|
},
|
2692
2673
|
h() {
|
2693
|
-
attr(
|
2694
|
-
attr(
|
2695
|
-
attr(div1, "class", "modal svelte-12dkw0q");
|
2696
|
-
attr(div1, "role", "dialog");
|
2697
|
-
attr(div1, "aria-modal", "true");
|
2698
|
-
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[11] + " " + /*marginStyle*/ ctx[9] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[12]] + "");
|
2674
|
+
attr(button, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-1kj05ao"));
|
2675
|
+
attr(button, "style", /*style*/ ctx[1]);
|
2699
2676
|
},
|
2700
2677
|
m(target, anchor) {
|
2701
|
-
insert_hydration(target,
|
2702
|
-
if (if_block) if_block.m(div1, null);
|
2703
|
-
append_hydration(div1, t);
|
2704
|
-
append_hydration(div1, div0);
|
2678
|
+
insert_hydration(target, button, anchor);
|
2705
2679
|
|
2706
2680
|
if (default_slot) {
|
2707
|
-
default_slot.m(
|
2681
|
+
default_slot.m(button, null);
|
2708
2682
|
}
|
2709
2683
|
|
2710
|
-
/*div1_binding*/ ctx[30](div1);
|
2711
2684
|
current = true;
|
2712
2685
|
|
2713
2686
|
if (!mounted) {
|
2714
|
-
dispose = listen(
|
2715
|
-
if (is_function(/*click*/ ctx[15])) /*click*/ ctx[15].apply(this, arguments);
|
2716
|
-
});
|
2717
|
-
|
2687
|
+
dispose = listen(button, "click", /*handleClickButton*/ ctx[3]);
|
2718
2688
|
mounted = true;
|
2719
2689
|
}
|
2720
2690
|
},
|
2721
|
-
p(
|
2722
|
-
|
2691
|
+
p(ctx, dirty) {
|
2692
|
+
if (default_slot) {
|
2693
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 256)) {
|
2694
|
+
update_slot_base(
|
2695
|
+
default_slot,
|
2696
|
+
default_slot_template,
|
2697
|
+
ctx,
|
2698
|
+
/*$$scope*/ ctx[8],
|
2699
|
+
!current
|
2700
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[8])
|
2701
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[8], dirty, null),
|
2702
|
+
null
|
2703
|
+
);
|
2704
|
+
}
|
2705
|
+
}
|
2723
2706
|
|
2724
|
-
if (/*
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2707
|
+
if (!current || dirty & /*style*/ 2) {
|
2708
|
+
attr(button, "style", /*style*/ ctx[1]);
|
2709
|
+
}
|
2710
|
+
},
|
2711
|
+
i(local) {
|
2712
|
+
if (current) return;
|
2713
|
+
transition_in(default_slot, local);
|
2714
|
+
current = true;
|
2715
|
+
},
|
2716
|
+
o(local) {
|
2717
|
+
transition_out(default_slot, local);
|
2718
|
+
current = false;
|
2719
|
+
},
|
2720
|
+
d(detaching) {
|
2721
|
+
if (detaching) detach(button);
|
2722
|
+
if (default_slot) default_slot.d(detaching);
|
2723
|
+
mounted = false;
|
2724
|
+
dispose();
|
2725
|
+
}
|
2726
|
+
};
|
2727
|
+
}
|
2728
|
+
|
2729
|
+
// (37:39)
|
2730
|
+
function create_if_block_2(ctx) {
|
2731
|
+
let div;
|
2732
|
+
let current;
|
2733
|
+
const default_slot_template = /*#slots*/ ctx[9].default;
|
2734
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[8], null);
|
2735
|
+
|
2736
|
+
return {
|
2737
|
+
c() {
|
2738
|
+
div = element("div");
|
2739
|
+
if (default_slot) default_slot.c();
|
2740
|
+
this.h();
|
2741
|
+
},
|
2742
|
+
l(nodes) {
|
2743
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
2744
|
+
var div_nodes = children(div);
|
2745
|
+
if (default_slot) default_slot.l(div_nodes);
|
2746
|
+
div_nodes.forEach(detach);
|
2747
|
+
this.h();
|
2748
|
+
},
|
2749
|
+
h() {
|
2750
|
+
attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-1kj05ao"));
|
2751
|
+
attr(div, "style", /*style*/ ctx[1]);
|
2752
|
+
},
|
2753
|
+
m(target, anchor) {
|
2754
|
+
insert_hydration(target, div, anchor);
|
2755
|
+
|
2756
|
+
if (default_slot) {
|
2757
|
+
default_slot.m(div, null);
|
2758
|
+
}
|
2759
|
+
|
2760
|
+
current = true;
|
2761
|
+
},
|
2762
|
+
p(ctx, dirty) {
|
2763
|
+
if (default_slot) {
|
2764
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 256)) {
|
2765
|
+
update_slot_base(
|
2766
|
+
default_slot,
|
2767
|
+
default_slot_template,
|
2768
|
+
ctx,
|
2769
|
+
/*$$scope*/ ctx[8],
|
2770
|
+
!current
|
2771
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[8])
|
2772
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[8], dirty, null),
|
2773
|
+
null
|
2774
|
+
);
|
2731
2775
|
}
|
2732
|
-
} else if (if_block) {
|
2733
|
-
if_block.d(1);
|
2734
|
-
if_block = null;
|
2735
2776
|
}
|
2736
2777
|
|
2778
|
+
if (!current || dirty & /*style*/ 2) {
|
2779
|
+
attr(div, "style", /*style*/ ctx[1]);
|
2780
|
+
}
|
2781
|
+
},
|
2782
|
+
i(local) {
|
2783
|
+
if (current) return;
|
2784
|
+
transition_in(default_slot, local);
|
2785
|
+
current = true;
|
2786
|
+
},
|
2787
|
+
o(local) {
|
2788
|
+
transition_out(default_slot, local);
|
2789
|
+
current = false;
|
2790
|
+
},
|
2791
|
+
d(detaching) {
|
2792
|
+
if (detaching) detach(div);
|
2793
|
+
if (default_slot) default_slot.d(detaching);
|
2794
|
+
}
|
2795
|
+
};
|
2796
|
+
}
|
2797
|
+
|
2798
|
+
// (33:41)
|
2799
|
+
function create_if_block_1$2(ctx) {
|
2800
|
+
let a;
|
2801
|
+
let a_href_value;
|
2802
|
+
let a_target_value;
|
2803
|
+
let current;
|
2804
|
+
const default_slot_template = /*#slots*/ ctx[9].default;
|
2805
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[8], null);
|
2806
|
+
|
2807
|
+
return {
|
2808
|
+
c() {
|
2809
|
+
a = element("a");
|
2810
|
+
if (default_slot) default_slot.c();
|
2811
|
+
this.h();
|
2812
|
+
},
|
2813
|
+
l(nodes) {
|
2814
|
+
a = claim_element(nodes, "A", {
|
2815
|
+
class: true,
|
2816
|
+
style: true,
|
2817
|
+
href: true,
|
2818
|
+
target: true
|
2819
|
+
});
|
2820
|
+
|
2821
|
+
var a_nodes = children(a);
|
2822
|
+
if (default_slot) default_slot.l(a_nodes);
|
2823
|
+
a_nodes.forEach(detach);
|
2824
|
+
this.h();
|
2825
|
+
},
|
2826
|
+
h() {
|
2827
|
+
attr(a, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-1kj05ao"));
|
2828
|
+
attr(a, "style", /*style*/ ctx[1]);
|
2829
|
+
attr(a, "href", a_href_value = /*onClick*/ ctx[0].args[0]);
|
2830
|
+
attr(a, "target", a_target_value = /*onClick*/ ctx[0].args[1] === true ? '_blank' : null);
|
2831
|
+
},
|
2832
|
+
m(target, anchor) {
|
2833
|
+
insert_hydration(target, a, anchor);
|
2834
|
+
|
2835
|
+
if (default_slot) {
|
2836
|
+
default_slot.m(a, null);
|
2837
|
+
}
|
2838
|
+
|
2839
|
+
current = true;
|
2840
|
+
},
|
2841
|
+
p(ctx, dirty) {
|
2737
2842
|
if (default_slot) {
|
2738
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2843
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 256)) {
|
2739
2844
|
update_slot_base(
|
2740
2845
|
default_slot,
|
2741
2846
|
default_slot_template,
|
2742
2847
|
ctx,
|
2743
|
-
/*$$scope*/ ctx[
|
2848
|
+
/*$$scope*/ ctx[8],
|
2744
2849
|
!current
|
2745
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2746
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2850
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[8])
|
2851
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[8], dirty, null),
|
2747
2852
|
null
|
2748
2853
|
);
|
2749
2854
|
}
|
2750
2855
|
}
|
2751
2856
|
|
2752
|
-
if (!current || dirty & /*
|
2753
|
-
attr(
|
2857
|
+
if (!current || dirty & /*style*/ 2) {
|
2858
|
+
attr(a, "style", /*style*/ ctx[1]);
|
2754
2859
|
}
|
2755
2860
|
|
2756
|
-
if (!current || dirty & /*
|
2757
|
-
attr(
|
2861
|
+
if (!current || dirty & /*onClick*/ 1 && a_href_value !== (a_href_value = /*onClick*/ ctx[0].args[0])) {
|
2862
|
+
attr(a, "href", a_href_value);
|
2863
|
+
}
|
2864
|
+
|
2865
|
+
if (!current || dirty & /*onClick*/ 1 && a_target_value !== (a_target_value = /*onClick*/ ctx[0].args[1] === true ? '_blank' : null)) {
|
2866
|
+
attr(a, "target", a_target_value);
|
2758
2867
|
}
|
2759
2868
|
},
|
2760
2869
|
i(local) {
|
2761
2870
|
if (current) return;
|
2762
2871
|
transition_in(default_slot, local);
|
2872
|
+
current = true;
|
2873
|
+
},
|
2874
|
+
o(local) {
|
2875
|
+
transition_out(default_slot, local);
|
2876
|
+
current = false;
|
2877
|
+
},
|
2878
|
+
d(detaching) {
|
2879
|
+
if (detaching) detach(a);
|
2880
|
+
if (default_slot) default_slot.d(detaching);
|
2881
|
+
}
|
2882
|
+
};
|
2883
|
+
}
|
2884
|
+
|
2885
|
+
// (29:0) {#if disabled}
|
2886
|
+
function create_if_block$6(ctx) {
|
2887
|
+
let div;
|
2888
|
+
let current;
|
2889
|
+
const default_slot_template = /*#slots*/ ctx[9].default;
|
2890
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[8], null);
|
2891
|
+
|
2892
|
+
return {
|
2893
|
+
c() {
|
2894
|
+
div = element("div");
|
2895
|
+
if (default_slot) default_slot.c();
|
2896
|
+
this.h();
|
2897
|
+
},
|
2898
|
+
l(nodes) {
|
2899
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
2900
|
+
var div_nodes = children(div);
|
2901
|
+
if (default_slot) default_slot.l(div_nodes);
|
2902
|
+
div_nodes.forEach(detach);
|
2903
|
+
this.h();
|
2904
|
+
},
|
2905
|
+
h() {
|
2906
|
+
attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-1kj05ao"));
|
2907
|
+
attr(div, "style", /*style*/ ctx[1]);
|
2908
|
+
},
|
2909
|
+
m(target, anchor) {
|
2910
|
+
insert_hydration(target, div, anchor);
|
2911
|
+
|
2912
|
+
if (default_slot) {
|
2913
|
+
default_slot.m(div, null);
|
2914
|
+
}
|
2763
2915
|
|
2764
|
-
|
2916
|
+
current = true;
|
2917
|
+
},
|
2918
|
+
p(ctx, dirty) {
|
2919
|
+
if (default_slot) {
|
2920
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 256)) {
|
2921
|
+
update_slot_base(
|
2922
|
+
default_slot,
|
2923
|
+
default_slot_template,
|
2924
|
+
ctx,
|
2925
|
+
/*$$scope*/ ctx[8],
|
2926
|
+
!current
|
2927
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[8])
|
2928
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[8], dirty, null),
|
2929
|
+
null
|
2930
|
+
);
|
2931
|
+
}
|
2932
|
+
}
|
2933
|
+
|
2934
|
+
if (!current || dirty & /*style*/ 2) {
|
2935
|
+
attr(div, "style", /*style*/ ctx[1]);
|
2936
|
+
}
|
2937
|
+
},
|
2938
|
+
i(local) {
|
2939
|
+
if (current) return;
|
2940
|
+
transition_in(default_slot, local);
|
2941
|
+
current = true;
|
2942
|
+
},
|
2943
|
+
o(local) {
|
2944
|
+
transition_out(default_slot, local);
|
2945
|
+
current = false;
|
2946
|
+
},
|
2947
|
+
d(detaching) {
|
2948
|
+
if (detaching) detach(div);
|
2949
|
+
if (default_slot) default_slot.d(detaching);
|
2950
|
+
}
|
2951
|
+
};
|
2952
|
+
}
|
2953
|
+
|
2954
|
+
function create_fragment$t(ctx) {
|
2955
|
+
let current_block_type_index;
|
2956
|
+
let if_block;
|
2957
|
+
let if_block_anchor;
|
2958
|
+
let current;
|
2959
|
+
const if_block_creators = [create_if_block$6, create_if_block_1$2, create_if_block_2, create_else_block$2];
|
2960
|
+
const if_blocks = [];
|
2961
|
+
|
2962
|
+
function select_block_type(ctx, dirty) {
|
2963
|
+
if (/*disabled*/ ctx[2]) return 0;
|
2964
|
+
if (/*onClick*/ ctx[0].operation === 'linkTo') return 1;
|
2965
|
+
if (/*onClick*/ ctx[0].operation === 'none') return 2;
|
2966
|
+
return 3;
|
2967
|
+
}
|
2968
|
+
|
2969
|
+
current_block_type_index = select_block_type(ctx);
|
2970
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
2971
|
+
|
2972
|
+
return {
|
2973
|
+
c() {
|
2974
|
+
if_block.c();
|
2975
|
+
if_block_anchor = empty();
|
2976
|
+
},
|
2977
|
+
l(nodes) {
|
2978
|
+
if_block.l(nodes);
|
2979
|
+
if_block_anchor = empty();
|
2980
|
+
},
|
2981
|
+
m(target, anchor) {
|
2982
|
+
if_blocks[current_block_type_index].m(target, anchor);
|
2983
|
+
insert_hydration(target, if_block_anchor, anchor);
|
2984
|
+
current = true;
|
2985
|
+
},
|
2986
|
+
p(ctx, [dirty]) {
|
2987
|
+
let previous_block_index = current_block_type_index;
|
2988
|
+
current_block_type_index = select_block_type(ctx);
|
2989
|
+
|
2990
|
+
if (current_block_type_index === previous_block_index) {
|
2991
|
+
if_blocks[current_block_type_index].p(ctx, dirty);
|
2992
|
+
} else {
|
2993
|
+
group_outros();
|
2994
|
+
|
2995
|
+
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
2996
|
+
if_blocks[previous_block_index] = null;
|
2997
|
+
});
|
2998
|
+
|
2999
|
+
check_outros();
|
3000
|
+
if_block = if_blocks[current_block_type_index];
|
3001
|
+
|
3002
|
+
if (!if_block) {
|
3003
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
3004
|
+
if_block.c();
|
3005
|
+
} else {
|
3006
|
+
if_block.p(ctx, dirty);
|
3007
|
+
}
|
3008
|
+
|
3009
|
+
transition_in(if_block, 1);
|
3010
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
3011
|
+
}
|
3012
|
+
},
|
3013
|
+
i(local) {
|
3014
|
+
if (current) return;
|
3015
|
+
transition_in(if_block);
|
3016
|
+
current = true;
|
3017
|
+
},
|
3018
|
+
o(local) {
|
3019
|
+
transition_out(if_block);
|
3020
|
+
current = false;
|
3021
|
+
},
|
3022
|
+
d(detaching) {
|
3023
|
+
if_blocks[current_block_type_index].d(detaching);
|
3024
|
+
if (detaching) detach(if_block_anchor);
|
3025
|
+
}
|
3026
|
+
};
|
3027
|
+
}
|
3028
|
+
|
3029
|
+
const BUTTON_CLASS = 'button';
|
3030
|
+
|
3031
|
+
function instance$t($$self, $$props, $$invalidate) {
|
3032
|
+
let disabled;
|
3033
|
+
let $valuesAreValid;
|
3034
|
+
let { $$slots: slots = {}, $$scope } = $$props;
|
3035
|
+
let { onClick = { operation: 'none', args: [] } } = $$props;
|
3036
|
+
let { eventName = '' } = $$props;
|
3037
|
+
let { eventValue = undefined } = $$props;
|
3038
|
+
let { style = '' } = $$props;
|
3039
|
+
|
3040
|
+
function handleClickButton() {
|
3041
|
+
if (eventName) {
|
3042
|
+
send_event(eventName, eventValue);
|
3043
|
+
}
|
3044
|
+
|
3045
|
+
execOnClickOperation(onClick);
|
3046
|
+
}
|
3047
|
+
|
3048
|
+
const { path: statePath } = getStateItemContext() ?? { path: '/' };
|
3049
|
+
const valuesAreValid = getValuesAreValidReader(statePath);
|
3050
|
+
component_subscribe($$self, valuesAreValid, value => $$invalidate(7, $valuesAreValid = value));
|
3051
|
+
|
3052
|
+
$$self.$$set = $$props => {
|
3053
|
+
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
3054
|
+
if ('eventName' in $$props) $$invalidate(5, eventName = $$props.eventName);
|
3055
|
+
if ('eventValue' in $$props) $$invalidate(6, eventValue = $$props.eventValue);
|
3056
|
+
if ('style' in $$props) $$invalidate(1, style = $$props.style);
|
3057
|
+
if ('$$scope' in $$props) $$invalidate(8, $$scope = $$props.$$scope);
|
3058
|
+
};
|
3059
|
+
|
3060
|
+
$$self.$$.update = () => {
|
3061
|
+
if ($$self.$$.dirty & /*onClick, $valuesAreValid*/ 129) {
|
3062
|
+
$$invalidate(2, disabled = (() => {
|
3063
|
+
let isEnabled = true;
|
3064
|
+
|
3065
|
+
if (onClick.operation === 'submitForm') {
|
3066
|
+
isEnabled = $valuesAreValid;
|
3067
|
+
} else if (onClick.operation === 'moveTo') {
|
3068
|
+
isEnabled = $valuesAreValid;
|
3069
|
+
}
|
3070
|
+
|
3071
|
+
return !isEnabled;
|
3072
|
+
})());
|
3073
|
+
}
|
3074
|
+
};
|
3075
|
+
|
3076
|
+
return [
|
3077
|
+
onClick,
|
3078
|
+
style,
|
3079
|
+
disabled,
|
3080
|
+
handleClickButton,
|
3081
|
+
valuesAreValid,
|
3082
|
+
eventName,
|
3083
|
+
eventValue,
|
3084
|
+
$valuesAreValid,
|
3085
|
+
$$scope,
|
3086
|
+
slots
|
3087
|
+
];
|
3088
|
+
}
|
3089
|
+
|
3090
|
+
class Button extends SvelteComponent {
|
3091
|
+
constructor(options) {
|
3092
|
+
super();
|
3093
|
+
|
3094
|
+
init(
|
3095
|
+
this,
|
3096
|
+
options,
|
3097
|
+
instance$t,
|
3098
|
+
create_fragment$t,
|
3099
|
+
safe_not_equal,
|
3100
|
+
{
|
3101
|
+
onClick: 0,
|
3102
|
+
eventName: 5,
|
3103
|
+
eventValue: 6,
|
3104
|
+
style: 1
|
3105
|
+
},
|
3106
|
+
add_css$q
|
3107
|
+
);
|
3108
|
+
}
|
3109
|
+
}
|
3110
|
+
|
3111
|
+
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3112
|
+
|
3113
|
+
function add_css$p(target) {
|
3114
|
+
append_styles(target, "svelte-67dbus", ".modal.svelte-67dbus{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-67dbus{position:absolute;top:0;right:0}.close.svelte-67dbus > .button{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-67dbus > .button:hover{transform:rotate(90deg)}.modal-content.svelte-67dbus{display:flex;justify-content:center;align-items:center}");
|
3115
|
+
}
|
3116
|
+
|
3117
|
+
// (144:0) {#if visible}
|
3118
|
+
function create_if_block$5(ctx) {
|
3119
|
+
let div;
|
3120
|
+
let button;
|
3121
|
+
let div_style_value;
|
3122
|
+
let div_intro;
|
3123
|
+
let current;
|
3124
|
+
|
3125
|
+
button = new Button({
|
3126
|
+
props: {
|
3127
|
+
onClick: /*onClick*/ ctx[0],
|
3128
|
+
eventName: /*clickEventName*/ ctx[1],
|
3129
|
+
eventValue: /*clickEventValue*/ ctx[2],
|
3130
|
+
$$slots: { default: [create_default_slot$4] },
|
3131
|
+
$$scope: { ctx }
|
3132
|
+
}
|
3133
|
+
});
|
3134
|
+
|
3135
|
+
return {
|
3136
|
+
c() {
|
3137
|
+
div = element("div");
|
3138
|
+
create_component(button.$$.fragment);
|
3139
|
+
this.h();
|
3140
|
+
},
|
3141
|
+
l(nodes) {
|
3142
|
+
div = claim_element(nodes, "DIV", {
|
3143
|
+
class: true,
|
3144
|
+
role: true,
|
3145
|
+
"aria-modal": true,
|
3146
|
+
style: true
|
3147
|
+
});
|
3148
|
+
|
3149
|
+
var div_nodes = children(div);
|
3150
|
+
claim_component(button.$$.fragment, div_nodes);
|
3151
|
+
div_nodes.forEach(detach);
|
3152
|
+
this.h();
|
3153
|
+
},
|
3154
|
+
h() {
|
3155
|
+
attr(div, "class", "modal svelte-67dbus");
|
3156
|
+
attr(div, "role", "dialog");
|
3157
|
+
attr(div, "aria-modal", "true");
|
3158
|
+
attr(div, "style", div_style_value = "" + /*pos*/ ctx[16] + " " + /*marginStyle*/ ctx[14] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[17]] + "");
|
3159
|
+
},
|
3160
|
+
m(target, anchor) {
|
3161
|
+
insert_hydration(target, div, anchor);
|
3162
|
+
mount_component(button, div, null);
|
3163
|
+
/*div_binding*/ ctx[28](div);
|
3164
|
+
current = true;
|
3165
|
+
},
|
3166
|
+
p(new_ctx, dirty) {
|
3167
|
+
ctx = new_ctx;
|
3168
|
+
const button_changes = {};
|
3169
|
+
if (dirty & /*onClick*/ 1) button_changes.onClick = /*onClick*/ ctx[0];
|
3170
|
+
if (dirty & /*clickEventName*/ 2) button_changes.eventName = /*clickEventName*/ ctx[1];
|
3171
|
+
if (dirty & /*clickEventValue*/ 4) button_changes.eventValue = /*clickEventValue*/ ctx[2];
|
3172
|
+
|
3173
|
+
if (dirty & /*$$scope, _style, $maximumZindex, onClose, _closeStyle, closeEventName, closeEventValue, closeButtonColor, closable*/ 538444784) {
|
3174
|
+
button_changes.$$scope = { dirty, ctx };
|
3175
|
+
}
|
3176
|
+
|
3177
|
+
button.$set(button_changes);
|
3178
|
+
|
3179
|
+
if (!current || dirty & /*pos, marginStyle, overwriteElasticity*/ 212992 && div_style_value !== (div_style_value = "" + /*pos*/ ctx[16] + " " + /*marginStyle*/ ctx[14] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[17]] + "")) {
|
3180
|
+
attr(div, "style", div_style_value);
|
3181
|
+
}
|
3182
|
+
},
|
3183
|
+
i(local) {
|
3184
|
+
if (current) return;
|
3185
|
+
transition_in(button.$$.fragment, local);
|
3186
|
+
|
3187
|
+
if (!div_intro) {
|
2765
3188
|
add_render_callback(() => {
|
2766
|
-
|
2767
|
-
transform: /*transform*/ ctx[
|
2768
|
-
animationStyle: /*animation*/ ctx[
|
3189
|
+
div_intro = create_in_transition(div, customAnimation, {
|
3190
|
+
transform: /*transform*/ ctx[15],
|
3191
|
+
animationStyle: /*animation*/ ctx[3]
|
2769
3192
|
});
|
2770
3193
|
|
2771
|
-
|
3194
|
+
div_intro.start();
|
2772
3195
|
});
|
2773
3196
|
}
|
2774
3197
|
|
2775
3198
|
current = true;
|
2776
3199
|
},
|
2777
3200
|
o(local) {
|
2778
|
-
transition_out(
|
3201
|
+
transition_out(button.$$.fragment, local);
|
2779
3202
|
current = false;
|
2780
3203
|
},
|
2781
3204
|
d(detaching) {
|
2782
|
-
if (detaching) detach(
|
2783
|
-
|
2784
|
-
|
2785
|
-
|
2786
|
-
|
2787
|
-
|
3205
|
+
if (detaching) detach(div);
|
3206
|
+
destroy_component(button);
|
3207
|
+
/*div_binding*/ ctx[28](null);
|
3208
|
+
}
|
3209
|
+
};
|
3210
|
+
}
|
3211
|
+
|
3212
|
+
// (161:6) {#if closable}
|
3213
|
+
function create_if_block_1$1(ctx) {
|
3214
|
+
let div;
|
3215
|
+
let button;
|
3216
|
+
let current;
|
3217
|
+
|
3218
|
+
button = new Button({
|
3219
|
+
props: {
|
3220
|
+
onClick: /*onClose*/ ctx[5],
|
3221
|
+
style: /*_closeStyle*/ ctx[9],
|
3222
|
+
eventName: /*closeEventName*/ ctx[6],
|
3223
|
+
eventValue: /*closeEventValue*/ ctx[7],
|
3224
|
+
$$slots: { default: [create_default_slot_1$1] },
|
3225
|
+
$$scope: { ctx }
|
3226
|
+
}
|
3227
|
+
});
|
3228
|
+
|
3229
|
+
return {
|
3230
|
+
c() {
|
3231
|
+
div = element("div");
|
3232
|
+
create_component(button.$$.fragment);
|
3233
|
+
this.h();
|
3234
|
+
},
|
3235
|
+
l(nodes) {
|
3236
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
3237
|
+
var div_nodes = children(div);
|
3238
|
+
claim_component(button.$$.fragment, div_nodes);
|
3239
|
+
div_nodes.forEach(detach);
|
3240
|
+
this.h();
|
3241
|
+
},
|
3242
|
+
h() {
|
3243
|
+
attr(div, "class", "close svelte-67dbus");
|
3244
|
+
set_style(div, "z-index", /*$maximumZindex*/ ctx[20] + 1);
|
3245
|
+
},
|
3246
|
+
m(target, anchor) {
|
3247
|
+
insert_hydration(target, div, anchor);
|
3248
|
+
mount_component(button, div, null);
|
3249
|
+
current = true;
|
3250
|
+
},
|
3251
|
+
p(ctx, dirty) {
|
3252
|
+
const button_changes = {};
|
3253
|
+
if (dirty & /*onClose*/ 32) button_changes.onClick = /*onClose*/ ctx[5];
|
3254
|
+
if (dirty & /*_closeStyle*/ 512) button_changes.style = /*_closeStyle*/ ctx[9];
|
3255
|
+
if (dirty & /*closeEventName*/ 64) button_changes.eventName = /*closeEventName*/ ctx[6];
|
3256
|
+
if (dirty & /*closeEventValue*/ 128) button_changes.eventValue = /*closeEventValue*/ ctx[7];
|
3257
|
+
|
3258
|
+
if (dirty & /*$$scope, closeButtonColor*/ 536871168) {
|
3259
|
+
button_changes.$$scope = { dirty, ctx };
|
3260
|
+
}
|
3261
|
+
|
3262
|
+
button.$set(button_changes);
|
3263
|
+
|
3264
|
+
if (!current || dirty & /*$maximumZindex*/ 1048576) {
|
3265
|
+
set_style(div, "z-index", /*$maximumZindex*/ ctx[20] + 1);
|
3266
|
+
}
|
3267
|
+
},
|
3268
|
+
i(local) {
|
3269
|
+
if (current) return;
|
3270
|
+
transition_in(button.$$.fragment, local);
|
3271
|
+
current = true;
|
3272
|
+
},
|
3273
|
+
o(local) {
|
3274
|
+
transition_out(button.$$.fragment, local);
|
3275
|
+
current = false;
|
3276
|
+
},
|
3277
|
+
d(detaching) {
|
3278
|
+
if (detaching) detach(div);
|
3279
|
+
destroy_component(button);
|
2788
3280
|
}
|
2789
3281
|
};
|
2790
3282
|
}
|
2791
3283
|
|
2792
|
-
// (
|
2793
|
-
function
|
2794
|
-
let button;
|
3284
|
+
// (163:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue}>
|
3285
|
+
function create_default_slot_1$1(ctx) {
|
2795
3286
|
let svg;
|
2796
3287
|
let path;
|
2797
|
-
let button_style_value;
|
2798
|
-
let mounted;
|
2799
|
-
let dispose;
|
2800
3288
|
|
2801
3289
|
return {
|
2802
3290
|
c() {
|
2803
|
-
button = element("button");
|
2804
3291
|
svg = svg_element("svg");
|
2805
3292
|
path = svg_element("path");
|
2806
3293
|
this.h();
|
2807
3294
|
},
|
2808
3295
|
l(nodes) {
|
2809
|
-
|
2810
|
-
var button_nodes = children(button);
|
2811
|
-
|
2812
|
-
svg = claim_svg_element(button_nodes, "svg", {
|
3296
|
+
svg = claim_svg_element(nodes, "svg", {
|
2813
3297
|
width: true,
|
2814
3298
|
height: true,
|
2815
3299
|
viewBox: true,
|
@@ -2827,49 +3311,133 @@ function create_if_block_1$1(ctx) {
|
|
2827
3311
|
|
2828
3312
|
children(path).forEach(detach);
|
2829
3313
|
svg_nodes.forEach(detach);
|
2830
|
-
button_nodes.forEach(detach);
|
2831
3314
|
this.h();
|
2832
3315
|
},
|
2833
3316
|
h() {
|
2834
3317
|
attr(path, "d", "M5.78516 4.75L8.73828 1.82422C8.90234 1.66016 8.90234 1.35938 8.73828 1.19531L8.05469 0.511719C7.89062 0.347656 7.58984 0.347656 7.42578 0.511719L4.5 3.46484L1.54688 0.511719C1.38281 0.347656 1.08203 0.347656 0.917969 0.511719L0.234375 1.19531C0.0703125 1.35938 0.0703125 1.66016 0.234375 1.82422L3.1875 4.75L0.234375 7.70312C0.0703125 7.86719 0.0703125 8.16797 0.234375 8.33203L0.917969 9.01562C1.08203 9.17969 1.38281 9.17969 1.54688 9.01562L4.5 6.0625L7.42578 9.01562C7.58984 9.17969 7.89062 9.17969 8.05469 9.01562L8.73828 8.33203C8.90234 8.16797 8.90234 7.86719 8.73828 7.70312L5.78516 4.75Z");
|
2835
|
-
attr(path, "fill", /*closeButtonColor*/ ctx[
|
3318
|
+
attr(path, "fill", /*closeButtonColor*/ ctx[8]);
|
2836
3319
|
attr(path, "fill-opacity", "0.8");
|
2837
3320
|
attr(svg, "width", "100%");
|
2838
3321
|
attr(svg, "height", "100%");
|
2839
3322
|
attr(svg, "viewBox", "0 0 9 10");
|
2840
3323
|
attr(svg, "fill", "none");
|
2841
3324
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
2842
|
-
attr(button, "class", "close svelte-12dkw0q");
|
2843
|
-
attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[16] + 1) + "; " + /*_closeStyle*/ ctx[3] + "");
|
2844
3325
|
},
|
2845
3326
|
m(target, anchor) {
|
2846
|
-
insert_hydration(target,
|
2847
|
-
append_hydration(button, svg);
|
3327
|
+
insert_hydration(target, svg, anchor);
|
2848
3328
|
append_hydration(svg, path);
|
3329
|
+
},
|
3330
|
+
p(ctx, dirty) {
|
3331
|
+
if (dirty & /*closeButtonColor*/ 256) {
|
3332
|
+
attr(path, "fill", /*closeButtonColor*/ ctx[8]);
|
3333
|
+
}
|
3334
|
+
},
|
3335
|
+
d(detaching) {
|
3336
|
+
if (detaching) detach(svg);
|
3337
|
+
}
|
3338
|
+
};
|
3339
|
+
}
|
2849
3340
|
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2853
|
-
|
3341
|
+
// (160:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
|
3342
|
+
function create_default_slot$4(ctx) {
|
3343
|
+
let t;
|
3344
|
+
let div;
|
3345
|
+
let current;
|
3346
|
+
let if_block = /*closable*/ ctx[19] && create_if_block_1$1(ctx);
|
3347
|
+
const default_slot_template = /*#slots*/ ctx[27].default;
|
3348
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[29], null);
|
2854
3349
|
|
2855
|
-
|
3350
|
+
return {
|
3351
|
+
c() {
|
3352
|
+
if (if_block) if_block.c();
|
3353
|
+
t = space();
|
3354
|
+
div = element("div");
|
3355
|
+
if (default_slot) default_slot.c();
|
3356
|
+
this.h();
|
3357
|
+
},
|
3358
|
+
l(nodes) {
|
3359
|
+
if (if_block) if_block.l(nodes);
|
3360
|
+
t = claim_space(nodes);
|
3361
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
3362
|
+
var div_nodes = children(div);
|
3363
|
+
if (default_slot) default_slot.l(div_nodes);
|
3364
|
+
div_nodes.forEach(detach);
|
3365
|
+
this.h();
|
3366
|
+
},
|
3367
|
+
h() {
|
3368
|
+
attr(div, "class", "modal-content svelte-67dbus");
|
3369
|
+
attr(div, "style", /*_style*/ ctx[4]);
|
3370
|
+
},
|
3371
|
+
m(target, anchor) {
|
3372
|
+
if (if_block) if_block.m(target, anchor);
|
3373
|
+
insert_hydration(target, t, anchor);
|
3374
|
+
insert_hydration(target, div, anchor);
|
3375
|
+
|
3376
|
+
if (default_slot) {
|
3377
|
+
default_slot.m(div, null);
|
2856
3378
|
}
|
3379
|
+
|
3380
|
+
current = true;
|
2857
3381
|
},
|
2858
|
-
p(
|
2859
|
-
ctx
|
3382
|
+
p(ctx, dirty) {
|
3383
|
+
if (/*closable*/ ctx[19]) {
|
3384
|
+
if (if_block) {
|
3385
|
+
if_block.p(ctx, dirty);
|
3386
|
+
|
3387
|
+
if (dirty & /*closable*/ 524288) {
|
3388
|
+
transition_in(if_block, 1);
|
3389
|
+
}
|
3390
|
+
} else {
|
3391
|
+
if_block = create_if_block_1$1(ctx);
|
3392
|
+
if_block.c();
|
3393
|
+
transition_in(if_block, 1);
|
3394
|
+
if_block.m(t.parentNode, t);
|
3395
|
+
}
|
3396
|
+
} else if (if_block) {
|
3397
|
+
group_outros();
|
2860
3398
|
|
2861
|
-
|
2862
|
-
|
3399
|
+
transition_out(if_block, 1, 1, () => {
|
3400
|
+
if_block = null;
|
3401
|
+
});
|
3402
|
+
|
3403
|
+
check_outros();
|
3404
|
+
}
|
3405
|
+
|
3406
|
+
if (default_slot) {
|
3407
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 536870912)) {
|
3408
|
+
update_slot_base(
|
3409
|
+
default_slot,
|
3410
|
+
default_slot_template,
|
3411
|
+
ctx,
|
3412
|
+
/*$$scope*/ ctx[29],
|
3413
|
+
!current
|
3414
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[29])
|
3415
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[29], dirty, null),
|
3416
|
+
null
|
3417
|
+
);
|
3418
|
+
}
|
2863
3419
|
}
|
2864
3420
|
|
2865
|
-
if (dirty &
|
2866
|
-
attr(
|
3421
|
+
if (!current || dirty & /*_style*/ 16) {
|
3422
|
+
attr(div, "style", /*_style*/ ctx[4]);
|
2867
3423
|
}
|
2868
3424
|
},
|
3425
|
+
i(local) {
|
3426
|
+
if (current) return;
|
3427
|
+
transition_in(if_block);
|
3428
|
+
transition_in(default_slot, local);
|
3429
|
+
current = true;
|
3430
|
+
},
|
3431
|
+
o(local) {
|
3432
|
+
transition_out(if_block);
|
3433
|
+
transition_out(default_slot, local);
|
3434
|
+
current = false;
|
3435
|
+
},
|
2869
3436
|
d(detaching) {
|
2870
|
-
if (
|
2871
|
-
|
2872
|
-
|
3437
|
+
if (if_block) if_block.d(detaching);
|
3438
|
+
if (detaching) detach(t);
|
3439
|
+
if (detaching) detach(div);
|
3440
|
+
if (default_slot) default_slot.d(detaching);
|
2873
3441
|
}
|
2874
3442
|
};
|
2875
3443
|
}
|
@@ -2884,15 +3452,15 @@ function create_fragment$s(ctx) {
|
|
2884
3452
|
|
2885
3453
|
backgroundoverray = new BackgroundOverray({
|
2886
3454
|
props: {
|
2887
|
-
backgroundOverray: /*backgroundOverray*/ ctx[
|
3455
|
+
backgroundOverray: /*backgroundOverray*/ ctx[11]
|
2888
3456
|
}
|
2889
3457
|
});
|
2890
3458
|
|
2891
3459
|
backgroundoverray.$on("click", function () {
|
2892
|
-
if (is_function(/*backgroundClick*/ ctx[
|
3460
|
+
if (is_function(/*backgroundClick*/ ctx[18])) /*backgroundClick*/ ctx[18].apply(this, arguments);
|
2893
3461
|
});
|
2894
3462
|
|
2895
|
-
let if_block = /*visible*/ ctx[
|
3463
|
+
let if_block = /*visible*/ ctx[12] && create_if_block$5(ctx);
|
2896
3464
|
|
2897
3465
|
return {
|
2898
3466
|
c() {
|
@@ -2916,7 +3484,7 @@ function create_fragment$s(ctx) {
|
|
2916
3484
|
|
2917
3485
|
if (!mounted) {
|
2918
3486
|
dispose = listen(window, "keydown", function () {
|
2919
|
-
if (is_function(/*handle_keydown*/ ctx[
|
3487
|
+
if (is_function(/*handle_keydown*/ ctx[13])) /*handle_keydown*/ ctx[13].apply(this, arguments);
|
2920
3488
|
});
|
2921
3489
|
|
2922
3490
|
mounted = true;
|
@@ -2925,14 +3493,14 @@ function create_fragment$s(ctx) {
|
|
2925
3493
|
p(new_ctx, [dirty]) {
|
2926
3494
|
ctx = new_ctx;
|
2927
3495
|
const backgroundoverray_changes = {};
|
2928
|
-
if (dirty & /*backgroundOverray*/
|
3496
|
+
if (dirty & /*backgroundOverray*/ 2048) backgroundoverray_changes.backgroundOverray = /*backgroundOverray*/ ctx[11];
|
2929
3497
|
backgroundoverray.$set(backgroundoverray_changes);
|
2930
3498
|
|
2931
|
-
if (/*visible*/ ctx[
|
3499
|
+
if (/*visible*/ ctx[12]) {
|
2932
3500
|
if (if_block) {
|
2933
3501
|
if_block.p(ctx, dirty);
|
2934
3502
|
|
2935
|
-
if (dirty & /*visible*/
|
3503
|
+
if (dirty & /*visible*/ 4096) {
|
2936
3504
|
transition_in(if_block, 1);
|
2937
3505
|
}
|
2938
3506
|
} else {
|
@@ -2974,7 +3542,6 @@ function create_fragment$s(ctx) {
|
|
2974
3542
|
}
|
2975
3543
|
|
2976
3544
|
function instance$s($$self, $$props, $$invalidate) {
|
2977
|
-
let click;
|
2978
3545
|
let close;
|
2979
3546
|
let closable;
|
2980
3547
|
let backgroundClick;
|
@@ -2987,7 +3554,7 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
2987
3554
|
let handle_keydown;
|
2988
3555
|
let visible;
|
2989
3556
|
let $maximumZindex;
|
2990
|
-
component_subscribe($$self, maximumZindex, $$value => $$invalidate(
|
3557
|
+
component_subscribe($$self, maximumZindex, $$value => $$invalidate(20, $maximumZindex = $$value));
|
2991
3558
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2992
3559
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
2993
3560
|
let { clickEventName = '' } = $$props;
|
@@ -3006,47 +3573,37 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
3006
3573
|
let modal;
|
3007
3574
|
|
3008
3575
|
onMount(() => {
|
3009
|
-
$$invalidate(
|
3576
|
+
$$invalidate(12, visible = true);
|
3010
3577
|
});
|
3011
3578
|
|
3012
3579
|
onDestroy$1(() => setPreviousFocus());
|
3013
3580
|
|
3014
|
-
function
|
3581
|
+
function div_binding($$value) {
|
3015
3582
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
3016
3583
|
modal = $$value;
|
3017
|
-
$$invalidate(
|
3584
|
+
$$invalidate(10, modal);
|
3018
3585
|
});
|
3019
3586
|
}
|
3020
3587
|
|
3021
3588
|
$$self.$$set = $$props => {
|
3022
|
-
if ('onClick' in $$props) $$invalidate(
|
3023
|
-
if ('clickEventName' in $$props) $$invalidate(
|
3024
|
-
if ('clickEventValue' in $$props) $$invalidate(
|
3025
|
-
if ('placement' in $$props) $$invalidate(
|
3026
|
-
if ('animation' in $$props) $$invalidate(
|
3027
|
-
if ('_style' in $$props) $$invalidate(
|
3028
|
-
if ('elasticity' in $$props) $$invalidate(
|
3029
|
-
if ('onClose' in $$props) $$invalidate(
|
3030
|
-
if ('closeEventName' in $$props) $$invalidate(
|
3031
|
-
if ('closeEventValue' in $$props) $$invalidate(
|
3032
|
-
if ('closeButtonColor' in $$props) $$invalidate(
|
3033
|
-
if ('_closeStyle' in $$props) $$invalidate(
|
3034
|
-
if ('$$scope' in $$props) $$invalidate(
|
3589
|
+
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
3590
|
+
if ('clickEventName' in $$props) $$invalidate(1, clickEventName = $$props.clickEventName);
|
3591
|
+
if ('clickEventValue' in $$props) $$invalidate(2, clickEventValue = $$props.clickEventValue);
|
3592
|
+
if ('placement' in $$props) $$invalidate(21, placement = $$props.placement);
|
3593
|
+
if ('animation' in $$props) $$invalidate(3, animation = $$props.animation);
|
3594
|
+
if ('_style' in $$props) $$invalidate(4, _style = $$props._style);
|
3595
|
+
if ('elasticity' in $$props) $$invalidate(22, elasticity = $$props.elasticity);
|
3596
|
+
if ('onClose' in $$props) $$invalidate(5, onClose = $$props.onClose);
|
3597
|
+
if ('closeEventName' in $$props) $$invalidate(6, closeEventName = $$props.closeEventName);
|
3598
|
+
if ('closeEventValue' in $$props) $$invalidate(7, closeEventValue = $$props.closeEventValue);
|
3599
|
+
if ('closeButtonColor' in $$props) $$invalidate(8, closeButtonColor = $$props.closeButtonColor);
|
3600
|
+
if ('_closeStyle' in $$props) $$invalidate(9, _closeStyle = $$props._closeStyle);
|
3601
|
+
if ('$$scope' in $$props) $$invalidate(29, $$scope = $$props.$$scope);
|
3035
3602
|
};
|
3036
3603
|
|
3037
3604
|
$$self.$$.update = () => {
|
3038
|
-
if ($$self.$$.dirty & /*
|
3039
|
-
$$invalidate(
|
3040
|
-
if (clickEventName) {
|
3041
|
-
send_event(clickEventName, clickEventValue);
|
3042
|
-
}
|
3043
|
-
|
3044
|
-
execOnClickOperation(onClick);
|
3045
|
-
});
|
3046
|
-
}
|
3047
|
-
|
3048
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, onClose*/ 29360128) {
|
3049
|
-
$$invalidate(5, close = () => {
|
3605
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, onClose*/ 224) {
|
3606
|
+
$$invalidate(24, close = () => {
|
3050
3607
|
if (closeEventName) {
|
3051
3608
|
send_event(closeEventName, closeEventValue);
|
3052
3609
|
}
|
@@ -3055,28 +3612,28 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
3055
3612
|
});
|
3056
3613
|
}
|
3057
3614
|
|
3058
|
-
if ($$self.$$.dirty & /*onClose*/
|
3059
|
-
$$invalidate(
|
3615
|
+
if ($$self.$$.dirty & /*onClose*/ 32) {
|
3616
|
+
$$invalidate(19, closable = haveFunction(onClose));
|
3060
3617
|
}
|
3061
3618
|
|
3062
|
-
if ($$self.$$.dirty & /*placement*/
|
3619
|
+
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3063
3620
|
{
|
3064
3621
|
{
|
3065
|
-
$$invalidate(
|
3622
|
+
$$invalidate(11, backgroundOverray = false);
|
3066
3623
|
}
|
3067
3624
|
}
|
3068
3625
|
}
|
3069
3626
|
|
3070
|
-
if ($$self.$$.dirty & /*placement*/
|
3627
|
+
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3071
3628
|
{
|
3072
3629
|
if (placement && placement.backgroundClick) {
|
3073
|
-
$$invalidate(
|
3630
|
+
$$invalidate(23, backgroundClickFunction = placement.backgroundClick);
|
3074
3631
|
}
|
3075
3632
|
}
|
3076
3633
|
}
|
3077
3634
|
|
3078
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
3079
|
-
$$invalidate(
|
3635
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 8388800) {
|
3636
|
+
$$invalidate(18, backgroundClick = () => {
|
3080
3637
|
if (closeEventName) {
|
3081
3638
|
send_event(closeEventName, closeEventValue);
|
3082
3639
|
}
|
@@ -3085,13 +3642,13 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
3085
3642
|
});
|
3086
3643
|
}
|
3087
3644
|
|
3088
|
-
if ($$self.$$.dirty & /*placement*/
|
3089
|
-
$$invalidate(
|
3645
|
+
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3646
|
+
$$invalidate(26, overwritePosition = 'center'
|
3090
3647
|
);
|
3091
3648
|
}
|
3092
3649
|
|
3093
|
-
if ($$self.$$.dirty & /*placement*/
|
3094
|
-
$$invalidate(
|
3650
|
+
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3651
|
+
$$invalidate(25, overwriteMargin = {
|
3095
3652
|
left: '0px',
|
3096
3653
|
right: '0px',
|
3097
3654
|
top: '0px',
|
@@ -3100,39 +3657,44 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
3100
3657
|
);
|
3101
3658
|
}
|
3102
3659
|
|
3103
|
-
if ($$self.$$.dirty & /*elasticity*/
|
3104
|
-
$$invalidate(
|
3660
|
+
if ($$self.$$.dirty & /*elasticity*/ 4194304) {
|
3661
|
+
$$invalidate(17, overwriteElasticity = 'none' );
|
3105
3662
|
}
|
3106
3663
|
|
3107
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3108
|
-
$$invalidate(
|
3664
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 67108864) {
|
3665
|
+
$$invalidate(16, pos = getPositionStyle(overwritePosition));
|
3109
3666
|
}
|
3110
3667
|
|
3111
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3112
|
-
$$invalidate(
|
3668
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 67108864) {
|
3669
|
+
$$invalidate(15, transform = getTransform(overwritePosition));
|
3113
3670
|
}
|
3114
3671
|
|
3115
|
-
if ($$self.$$.dirty & /*overwriteMargin*/
|
3116
|
-
$$invalidate(
|
3672
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 33554432) {
|
3673
|
+
$$invalidate(14, marginStyle = getMarginStyle(overwriteMargin));
|
3117
3674
|
}
|
3118
3675
|
|
3119
|
-
if ($$self.$$.dirty & /*close, modal*/
|
3120
|
-
$$invalidate(
|
3676
|
+
if ($$self.$$.dirty & /*close, modal*/ 16778240) {
|
3677
|
+
$$invalidate(13, handle_keydown = handleKeydown({ Escape: close, Tab: handleFocus(modal) }));
|
3121
3678
|
}
|
3122
3679
|
};
|
3123
3680
|
|
3124
|
-
$$invalidate(
|
3681
|
+
$$invalidate(10, modal = null);
|
3125
3682
|
|
3126
3683
|
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3127
|
-
$$invalidate(
|
3684
|
+
$$invalidate(12, visible = false);
|
3128
3685
|
|
3129
3686
|
return [
|
3687
|
+
onClick,
|
3688
|
+
clickEventName,
|
3689
|
+
clickEventValue,
|
3130
3690
|
animation,
|
3131
3691
|
_style,
|
3692
|
+
onClose,
|
3693
|
+
closeEventName,
|
3694
|
+
closeEventValue,
|
3132
3695
|
closeButtonColor,
|
3133
3696
|
_closeStyle,
|
3134
3697
|
modal,
|
3135
|
-
close,
|
3136
3698
|
backgroundOverray,
|
3137
3699
|
visible,
|
3138
3700
|
handle_keydown,
|
@@ -3142,22 +3704,16 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
3142
3704
|
overwriteElasticity,
|
3143
3705
|
backgroundClick,
|
3144
3706
|
closable,
|
3145
|
-
click,
|
3146
3707
|
$maximumZindex,
|
3147
|
-
onClick,
|
3148
|
-
clickEventName,
|
3149
|
-
clickEventValue,
|
3150
3708
|
placement,
|
3151
3709
|
elasticity,
|
3152
|
-
onClose,
|
3153
|
-
closeEventName,
|
3154
|
-
closeEventValue,
|
3155
3710
|
backgroundClickFunction,
|
3711
|
+
close,
|
3156
3712
|
overwriteMargin,
|
3157
3713
|
overwritePosition,
|
3158
|
-
$$scope,
|
3159
3714
|
slots,
|
3160
|
-
|
3715
|
+
div_binding,
|
3716
|
+
$$scope
|
3161
3717
|
];
|
3162
3718
|
}
|
3163
3719
|
|
@@ -3172,18 +3728,18 @@ class Modal extends SvelteComponent {
|
|
3172
3728
|
create_fragment$s,
|
3173
3729
|
safe_not_equal,
|
3174
3730
|
{
|
3175
|
-
onClick:
|
3176
|
-
clickEventName:
|
3177
|
-
clickEventValue:
|
3178
|
-
placement:
|
3179
|
-
animation:
|
3180
|
-
_style:
|
3181
|
-
elasticity:
|
3182
|
-
onClose:
|
3183
|
-
closeEventName:
|
3184
|
-
closeEventValue:
|
3185
|
-
closeButtonColor:
|
3186
|
-
_closeStyle:
|
3731
|
+
onClick: 0,
|
3732
|
+
clickEventName: 1,
|
3733
|
+
clickEventValue: 2,
|
3734
|
+
placement: 21,
|
3735
|
+
animation: 3,
|
3736
|
+
_style: 4,
|
3737
|
+
elasticity: 22,
|
3738
|
+
onClose: 5,
|
3739
|
+
closeEventName: 6,
|
3740
|
+
closeEventValue: 7,
|
3741
|
+
closeButtonColor: 8,
|
3742
|
+
_closeStyle: 9
|
3187
3743
|
},
|
3188
3744
|
add_css$p
|
3189
3745
|
);
|
@@ -3669,7 +4225,7 @@ function add_css$n(target) {
|
|
3669
4225
|
append_styles(target, "svelte-13cs3g2", ".text-element-wrapper.svelte-13cs3g2.svelte-13cs3g2{position:relative;height:100%}.text-element.svelte-13cs3g2.svelte-13cs3g2{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-element-inner.svelte-13cs3g2.svelte-13cs3g2{width:100%;height:auto}.text-direction-vertical.svelte-13cs3g2.svelte-13cs3g2{writing-mode:vertical-rl}.text-direction-vertical.svelte-13cs3g2 .text-element-inner.svelte-13cs3g2{width:auto;height:100%}.tooltip.svelte-13cs3g2.svelte-13cs3g2{display:none;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);color:#fff;background-color:#3d4948;white-space:nowrap;padding:4px 8px 4px 8px;border-radius:4px;font-size:12px;z-index:2147483647}.tooltip.svelte-13cs3g2.svelte-13cs3g2:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-13cs3g2.svelte-13cs3g2{display:block}.tooltip-error.svelte-13cs3g2.svelte-13cs3g2{background-color:#c00}.tooltip-error.svelte-13cs3g2.svelte-13cs3g2:before{border-bottom:7px solid #c00}");
|
3670
4226
|
}
|
3671
4227
|
|
3672
|
-
// (
|
4228
|
+
// (58:2) {#if enableCopy}
|
3673
4229
|
function create_if_block$3(ctx) {
|
3674
4230
|
let div0;
|
3675
4231
|
let t0;
|
@@ -3938,7 +4494,44 @@ class TextElement extends SvelteComponent {
|
|
3938
4494
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
3939
4495
|
|
3940
4496
|
function add_css$m(target) {
|
3941
|
-
append_styles(target, "svelte-
|
4497
|
+
append_styles(target, "svelte-wb7ek", ".text-button-element.svelte-wb7ek{width:100%;height:100%}.text-button-element.svelte-wb7ek > .button{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden}.text-button-element.svelte-wb7ek > .button._disabled{cursor:not-allowed !important;opacity:0.2}.text-button-element.svelte-wb7ek > .button:not(._disabled):active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button-element.svelte-wb7ek > .button:not(._disabled):hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
4498
|
+
}
|
4499
|
+
|
4500
|
+
// (36:2) <Button onClick={onClick} {style} {eventName}>
|
4501
|
+
function create_default_slot$3(ctx) {
|
4502
|
+
let rendertext;
|
4503
|
+
let current;
|
4504
|
+
rendertext = new RenderText({ props: { text: /*text*/ ctx[0] } });
|
4505
|
+
|
4506
|
+
return {
|
4507
|
+
c() {
|
4508
|
+
create_component(rendertext.$$.fragment);
|
4509
|
+
},
|
4510
|
+
l(nodes) {
|
4511
|
+
claim_component(rendertext.$$.fragment, nodes);
|
4512
|
+
},
|
4513
|
+
m(target, anchor) {
|
4514
|
+
mount_component(rendertext, target, anchor);
|
4515
|
+
current = true;
|
4516
|
+
},
|
4517
|
+
p(ctx, dirty) {
|
4518
|
+
const rendertext_changes = {};
|
4519
|
+
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
4520
|
+
rendertext.$set(rendertext_changes);
|
4521
|
+
},
|
4522
|
+
i(local) {
|
4523
|
+
if (current) return;
|
4524
|
+
transition_in(rendertext.$$.fragment, local);
|
4525
|
+
current = true;
|
4526
|
+
},
|
4527
|
+
o(local) {
|
4528
|
+
transition_out(rendertext.$$.fragment, local);
|
4529
|
+
current = false;
|
4530
|
+
},
|
4531
|
+
d(detaching) {
|
4532
|
+
destroy_component(rendertext, detaching);
|
4533
|
+
}
|
4534
|
+
};
|
3942
4535
|
}
|
3943
4536
|
|
3944
4537
|
function create_fragment$n(ctx) {
|
@@ -3947,160 +4540,102 @@ function create_fragment$n(ctx) {
|
|
3947
4540
|
let link_href_value;
|
3948
4541
|
let t;
|
3949
4542
|
let button;
|
3950
|
-
let rendertext;
|
3951
|
-
let button_class_value;
|
3952
|
-
let div_class_value;
|
3953
4543
|
let current;
|
3954
|
-
|
3955
|
-
|
3956
|
-
|
4544
|
+
|
4545
|
+
button = new Button({
|
4546
|
+
props: {
|
4547
|
+
onClick: /*onClick*/ ctx[1],
|
4548
|
+
style: /*style*/ ctx[3],
|
4549
|
+
eventName: /*eventName*/ ctx[2],
|
4550
|
+
$$slots: { default: [create_default_slot$3] },
|
4551
|
+
$$scope: { ctx }
|
4552
|
+
}
|
4553
|
+
});
|
3957
4554
|
|
3958
4555
|
return {
|
3959
4556
|
c() {
|
3960
4557
|
div = element("div");
|
3961
4558
|
link = element("link");
|
3962
4559
|
t = space();
|
3963
|
-
|
3964
|
-
create_component(rendertext.$$.fragment);
|
4560
|
+
create_component(button.$$.fragment);
|
3965
4561
|
this.h();
|
3966
4562
|
},
|
3967
4563
|
l(nodes) {
|
3968
|
-
div = claim_element(nodes, "DIV", { class: true
|
4564
|
+
div = claim_element(nodes, "DIV", { class: true });
|
3969
4565
|
var div_nodes = children(div);
|
3970
4566
|
link = claim_element(div_nodes, "LINK", { href: true, rel: true });
|
3971
4567
|
t = claim_space(div_nodes);
|
3972
|
-
button
|
3973
|
-
var button_nodes = children(button);
|
3974
|
-
claim_component(rendertext.$$.fragment, button_nodes);
|
3975
|
-
button_nodes.forEach(detach);
|
4568
|
+
claim_component(button.$$.fragment, div_nodes);
|
3976
4569
|
div_nodes.forEach(detach);
|
3977
4570
|
this.h();
|
3978
4571
|
},
|
3979
4572
|
h() {
|
3980
4573
|
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*text*/ ctx[0]}`);
|
3981
4574
|
attr(link, "rel", "stylesheet");
|
3982
|
-
attr(
|
3983
|
-
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
3984
|
-
button.disabled = /*disabled*/ ctx[3];
|
3985
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(`text-button-element${/*disabled*/ ctx[3] ? ' _disabled' : ''}`) + " svelte-1igv5yx"));
|
3986
|
-
attr(div, "style", /*_style*/ ctx[2]);
|
4575
|
+
attr(div, "class", "text-button-element svelte-wb7ek");
|
3987
4576
|
},
|
3988
4577
|
m(target, anchor) {
|
3989
4578
|
insert_hydration(target, div, anchor);
|
3990
4579
|
append_hydration(div, link);
|
3991
4580
|
append_hydration(div, t);
|
3992
|
-
|
3993
|
-
mount_component(rendertext, button, null);
|
4581
|
+
mount_component(button, div, null);
|
3994
4582
|
current = true;
|
3995
|
-
|
3996
|
-
if (!mounted) {
|
3997
|
-
dispose = listen(button, "click", /*click*/ ctx[4]);
|
3998
|
-
mounted = true;
|
3999
|
-
}
|
4000
4583
|
},
|
4001
4584
|
p(ctx, [dirty]) {
|
4002
4585
|
if (!current || dirty & /*text*/ 1 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*text*/ ctx[0]}`)) {
|
4003
4586
|
attr(link, "href", link_href_value);
|
4004
4587
|
}
|
4005
4588
|
|
4006
|
-
const
|
4007
|
-
if (dirty & /*
|
4008
|
-
|
4009
|
-
|
4010
|
-
if (!current || dirty & /*disabled*/ 8 && button_class_value !== (button_class_value = "" + (null_to_empty(`text-button${/*disabled*/ ctx[3] ? ' _disabled' : ''}`) + " svelte-1igv5yx"))) {
|
4011
|
-
attr(button, "class", button_class_value);
|
4012
|
-
}
|
4013
|
-
|
4014
|
-
if (!current || dirty & /*_buttonStyle*/ 2) {
|
4015
|
-
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
4016
|
-
}
|
4017
|
-
|
4018
|
-
if (!current || dirty & /*disabled*/ 8) {
|
4019
|
-
button.disabled = /*disabled*/ ctx[3];
|
4020
|
-
}
|
4589
|
+
const button_changes = {};
|
4590
|
+
if (dirty & /*onClick*/ 2) button_changes.onClick = /*onClick*/ ctx[1];
|
4591
|
+
if (dirty & /*style*/ 8) button_changes.style = /*style*/ ctx[3];
|
4592
|
+
if (dirty & /*eventName*/ 4) button_changes.eventName = /*eventName*/ ctx[2];
|
4021
4593
|
|
4022
|
-
if (
|
4023
|
-
|
4594
|
+
if (dirty & /*$$scope, text*/ 65) {
|
4595
|
+
button_changes.$$scope = { dirty, ctx };
|
4024
4596
|
}
|
4025
4597
|
|
4026
|
-
|
4027
|
-
attr(div, "style", /*_style*/ ctx[2]);
|
4028
|
-
}
|
4598
|
+
button.$set(button_changes);
|
4029
4599
|
},
|
4030
4600
|
i(local) {
|
4031
4601
|
if (current) return;
|
4032
|
-
transition_in(
|
4602
|
+
transition_in(button.$$.fragment, local);
|
4033
4603
|
current = true;
|
4034
4604
|
},
|
4035
4605
|
o(local) {
|
4036
|
-
transition_out(
|
4606
|
+
transition_out(button.$$.fragment, local);
|
4037
4607
|
current = false;
|
4038
4608
|
},
|
4039
4609
|
d(detaching) {
|
4040
4610
|
if (detaching) detach(div);
|
4041
|
-
destroy_component(
|
4042
|
-
mounted = false;
|
4043
|
-
dispose();
|
4611
|
+
destroy_component(button);
|
4044
4612
|
}
|
4045
4613
|
};
|
4046
4614
|
}
|
4047
4615
|
|
4048
4616
|
function instance$n($$self, $$props, $$invalidate) {
|
4049
|
-
let
|
4050
|
-
let $valuesAreValid;
|
4617
|
+
let style;
|
4051
4618
|
let { text = 'ボタンラベル' } = $$props;
|
4052
4619
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
4053
|
-
|
4054
|
-
const click = () => {
|
4055
|
-
if (eventName) {
|
4056
|
-
send_event(eventName);
|
4057
|
-
}
|
4058
|
-
|
4059
|
-
execOnClickOperation(onClick);
|
4060
|
-
};
|
4061
|
-
|
4062
4620
|
let { eventName = '' } = $$props;
|
4063
4621
|
let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px; line-height: 1.5;' } = $$props;
|
4064
4622
|
let { _style = 'background-color: #000000; border-radius:4px; cursor: pointer' } = $$props;
|
4065
|
-
const { path: statePath } = getStateItemContext() ?? { path: '/' };
|
4066
|
-
const valuesAreValid = getValuesAreValidReader(statePath);
|
4067
|
-
component_subscribe($$self, valuesAreValid, value => $$invalidate(8, $valuesAreValid = value));
|
4068
4623
|
|
4069
4624
|
$$self.$$set = $$props => {
|
4070
4625
|
if ('text' in $$props) $$invalidate(0, text = $$props.text);
|
4071
|
-
if ('onClick' in $$props) $$invalidate(
|
4072
|
-
if ('eventName' in $$props) $$invalidate(
|
4073
|
-
if ('_buttonStyle' in $$props) $$invalidate(
|
4074
|
-
if ('_style' in $$props) $$invalidate(
|
4075
|
-
};
|
4076
|
-
|
4077
|
-
$$self.$$.update = () => {
|
4078
|
-
if ($$self.$$.dirty & /*onClick, $valuesAreValid*/ 320) {
|
4079
|
-
$$invalidate(3, disabled = (() => {
|
4080
|
-
let isEnabled = true;
|
4081
|
-
|
4082
|
-
if (onClick.operation === 'submitForm') {
|
4083
|
-
isEnabled = $valuesAreValid;
|
4084
|
-
} else if (onClick.operation === 'moveTo') {
|
4085
|
-
isEnabled = $valuesAreValid;
|
4086
|
-
}
|
4087
|
-
|
4088
|
-
return !isEnabled;
|
4089
|
-
})());
|
4090
|
-
}
|
4626
|
+
if ('onClick' in $$props) $$invalidate(1, onClick = $$props.onClick);
|
4627
|
+
if ('eventName' in $$props) $$invalidate(2, eventName = $$props.eventName);
|
4628
|
+
if ('_buttonStyle' in $$props) $$invalidate(4, _buttonStyle = $$props._buttonStyle);
|
4629
|
+
if ('_style' in $$props) $$invalidate(5, _style = $$props._style);
|
4091
4630
|
};
|
4092
|
-
|
4093
|
-
|
4094
|
-
|
4095
|
-
|
4096
|
-
|
4097
|
-
|
4098
|
-
|
4099
|
-
|
4100
|
-
onClick,
|
4101
|
-
eventName,
|
4102
|
-
$valuesAreValid
|
4103
|
-
];
|
4631
|
+
|
4632
|
+
$$self.$$.update = () => {
|
4633
|
+
if ($$self.$$.dirty & /*_buttonStyle, _style*/ 48) {
|
4634
|
+
$$invalidate(3, style = [..._buttonStyle.split(';'), ..._style.split(';')].filter(Boolean).join(';'));
|
4635
|
+
}
|
4636
|
+
};
|
4637
|
+
|
4638
|
+
return [text, onClick, eventName, style, _buttonStyle, _style];
|
4104
4639
|
}
|
4105
4640
|
|
4106
4641
|
class TextButtonElement extends SvelteComponent {
|
@@ -4115,10 +4650,10 @@ class TextButtonElement extends SvelteComponent {
|
|
4115
4650
|
safe_not_equal,
|
4116
4651
|
{
|
4117
4652
|
text: 0,
|
4118
|
-
onClick:
|
4119
|
-
eventName:
|
4120
|
-
_buttonStyle:
|
4121
|
-
_style:
|
4653
|
+
onClick: 1,
|
4654
|
+
eventName: 2,
|
4655
|
+
_buttonStyle: 4,
|
4656
|
+
_style: 5
|
4122
4657
|
},
|
4123
4658
|
add_css$m
|
4124
4659
|
);
|
@@ -4128,28 +4663,21 @@ class TextButtonElement extends SvelteComponent {
|
|
4128
4663
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4129
4664
|
|
4130
4665
|
function add_css$l(target) {
|
4131
|
-
append_styles(target, "svelte-
|
4666
|
+
append_styles(target, "svelte-1kn2sk0", ".image-element.svelte-1kn2sk0{width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box}.image-element.svelte-1kn2sk0 > .button{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.image-element.svelte-1kn2sk0 > .button._disabled{cursor:not-allowed !important;opacity:0.2}.image-element.transport.svelte-1kn2sk0 > .button:not(._disabled):hover,.image-element.transport.svelte-1kn2sk0 > .button:not(._disabled):focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}.image.svelte-1kn2sk0{width:100%;height:100%}");
|
4132
4667
|
}
|
4133
4668
|
|
4134
|
-
|
4135
|
-
|
4669
|
+
// (40:2) <Button {onClick} style={_style} {eventName}>
|
4670
|
+
function create_default_slot$2(ctx) {
|
4136
4671
|
let img;
|
4137
4672
|
let img_src_value;
|
4138
|
-
let div_class_value;
|
4139
|
-
let mounted;
|
4140
|
-
let dispose;
|
4141
4673
|
|
4142
4674
|
return {
|
4143
4675
|
c() {
|
4144
|
-
div = element("div");
|
4145
4676
|
img = element("img");
|
4146
4677
|
this.h();
|
4147
4678
|
},
|
4148
4679
|
l(nodes) {
|
4149
|
-
|
4150
|
-
var div_nodes = children(div);
|
4151
|
-
|
4152
|
-
img = claim_element(div_nodes, "IMG", {
|
4680
|
+
img = claim_element(nodes, "IMG", {
|
4153
4681
|
class: true,
|
4154
4682
|
loading: true,
|
4155
4683
|
width: true,
|
@@ -4159,32 +4687,23 @@ function create_fragment$m(ctx) {
|
|
4159
4687
|
alt: true
|
4160
4688
|
});
|
4161
4689
|
|
4162
|
-
div_nodes.forEach(detach);
|
4163
4690
|
this.h();
|
4164
4691
|
},
|
4165
4692
|
h() {
|
4166
|
-
attr(img, "class", "image svelte-
|
4693
|
+
attr(img, "class", "image svelte-1kn2sk0");
|
4167
4694
|
attr(img, "loading", "lazy");
|
4168
4695
|
attr(img, "width", "auto");
|
4169
4696
|
attr(img, "height", "auto");
|
4170
|
-
attr(img, "style", /*_imageStyle*/ ctx[
|
4697
|
+
attr(img, "style", /*_imageStyle*/ ctx[5]);
|
4171
4698
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
4172
4699
|
attr(img, "alt", /*alt*/ ctx[1]);
|
4173
|
-
attr(div, "class", div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-t8kpqw"));
|
4174
|
-
attr(div, "style", /*_style*/ ctx[4]);
|
4175
4700
|
},
|
4176
4701
|
m(target, anchor) {
|
4177
|
-
insert_hydration(target,
|
4178
|
-
append_hydration(div, img);
|
4179
|
-
|
4180
|
-
if (!mounted) {
|
4181
|
-
dispose = listen(div, "click", /*click*/ ctx[5]);
|
4182
|
-
mounted = true;
|
4183
|
-
}
|
4702
|
+
insert_hydration(target, img, anchor);
|
4184
4703
|
},
|
4185
|
-
p(ctx,
|
4186
|
-
if (dirty & /*_imageStyle*/
|
4187
|
-
attr(img, "style", /*_imageStyle*/ ctx[
|
4704
|
+
p(ctx, dirty) {
|
4705
|
+
if (dirty & /*_imageStyle*/ 32) {
|
4706
|
+
attr(img, "style", /*_imageStyle*/ ctx[5]);
|
4188
4707
|
}
|
4189
4708
|
|
4190
4709
|
if (dirty & /*src*/ 1 && !src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) {
|
@@ -4194,21 +4713,78 @@ function create_fragment$m(ctx) {
|
|
4194
4713
|
if (dirty & /*alt*/ 2) {
|
4195
4714
|
attr(img, "alt", /*alt*/ ctx[1]);
|
4196
4715
|
}
|
4716
|
+
},
|
4717
|
+
d(detaching) {
|
4718
|
+
if (detaching) detach(img);
|
4719
|
+
}
|
4720
|
+
};
|
4721
|
+
}
|
4197
4722
|
|
4198
|
-
|
4199
|
-
|
4723
|
+
function create_fragment$m(ctx) {
|
4724
|
+
let div;
|
4725
|
+
let button;
|
4726
|
+
let div_class_value;
|
4727
|
+
let current;
|
4728
|
+
|
4729
|
+
button = new Button({
|
4730
|
+
props: {
|
4731
|
+
onClick: /*onClick*/ ctx[3],
|
4732
|
+
style: /*_style*/ ctx[6],
|
4733
|
+
eventName: /*eventName*/ ctx[4],
|
4734
|
+
$$slots: { default: [create_default_slot$2] },
|
4735
|
+
$$scope: { ctx }
|
4200
4736
|
}
|
4737
|
+
});
|
4201
4738
|
|
4202
|
-
|
4203
|
-
|
4739
|
+
return {
|
4740
|
+
c() {
|
4741
|
+
div = element("div");
|
4742
|
+
create_component(button.$$.fragment);
|
4743
|
+
this.h();
|
4744
|
+
},
|
4745
|
+
l(nodes) {
|
4746
|
+
div = claim_element(nodes, "DIV", { class: true });
|
4747
|
+
var div_nodes = children(div);
|
4748
|
+
claim_component(button.$$.fragment, div_nodes);
|
4749
|
+
div_nodes.forEach(detach);
|
4750
|
+
this.h();
|
4751
|
+
},
|
4752
|
+
h() {
|
4753
|
+
attr(div, "class", div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-1kn2sk0");
|
4754
|
+
},
|
4755
|
+
m(target, anchor) {
|
4756
|
+
insert_hydration(target, div, anchor);
|
4757
|
+
mount_component(button, div, null);
|
4758
|
+
current = true;
|
4759
|
+
},
|
4760
|
+
p(ctx, [dirty]) {
|
4761
|
+
const button_changes = {};
|
4762
|
+
if (dirty & /*onClick*/ 8) button_changes.onClick = /*onClick*/ ctx[3];
|
4763
|
+
if (dirty & /*_style*/ 64) button_changes.style = /*_style*/ ctx[6];
|
4764
|
+
if (dirty & /*eventName*/ 16) button_changes.eventName = /*eventName*/ ctx[4];
|
4765
|
+
|
4766
|
+
if (dirty & /*$$scope, _imageStyle, src, alt*/ 163) {
|
4767
|
+
button_changes.$$scope = { dirty, ctx };
|
4768
|
+
}
|
4769
|
+
|
4770
|
+
button.$set(button_changes);
|
4771
|
+
|
4772
|
+
if (!current || dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-1kn2sk0")) {
|
4773
|
+
attr(div, "class", div_class_value);
|
4204
4774
|
}
|
4205
4775
|
},
|
4206
|
-
i
|
4207
|
-
|
4776
|
+
i(local) {
|
4777
|
+
if (current) return;
|
4778
|
+
transition_in(button.$$.fragment, local);
|
4779
|
+
current = true;
|
4780
|
+
},
|
4781
|
+
o(local) {
|
4782
|
+
transition_out(button.$$.fragment, local);
|
4783
|
+
current = false;
|
4784
|
+
},
|
4208
4785
|
d(detaching) {
|
4209
4786
|
if (detaching) detach(div);
|
4210
|
-
|
4211
|
-
dispose();
|
4787
|
+
destroy_component(button);
|
4212
4788
|
}
|
4213
4789
|
};
|
4214
4790
|
}
|
@@ -4218,15 +4794,6 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
4218
4794
|
let { alt = 'No Image' } = $$props;
|
4219
4795
|
let { transport = false } = $$props;
|
4220
4796
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
4221
|
-
|
4222
|
-
const click = () => {
|
4223
|
-
if (eventName) {
|
4224
|
-
send_event(eventName);
|
4225
|
-
}
|
4226
|
-
|
4227
|
-
execOnClickOperation(onClick);
|
4228
|
-
};
|
4229
|
-
|
4230
4797
|
let { eventName = '' } = $$props;
|
4231
4798
|
let { _imageStyle = 'object-fit: contain;' } = $$props;
|
4232
4799
|
let { _style = '' } = $$props;
|
@@ -4235,13 +4802,13 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
4235
4802
|
if ('src' in $$props) $$invalidate(0, src = $$props.src);
|
4236
4803
|
if ('alt' in $$props) $$invalidate(1, alt = $$props.alt);
|
4237
4804
|
if ('transport' in $$props) $$invalidate(2, transport = $$props.transport);
|
4238
|
-
if ('onClick' in $$props) $$invalidate(
|
4239
|
-
if ('eventName' in $$props) $$invalidate(
|
4240
|
-
if ('_imageStyle' in $$props) $$invalidate(
|
4241
|
-
if ('_style' in $$props) $$invalidate(
|
4805
|
+
if ('onClick' in $$props) $$invalidate(3, onClick = $$props.onClick);
|
4806
|
+
if ('eventName' in $$props) $$invalidate(4, eventName = $$props.eventName);
|
4807
|
+
if ('_imageStyle' in $$props) $$invalidate(5, _imageStyle = $$props._imageStyle);
|
4808
|
+
if ('_style' in $$props) $$invalidate(6, _style = $$props._style);
|
4242
4809
|
};
|
4243
4810
|
|
4244
|
-
return [src, alt, transport,
|
4811
|
+
return [src, alt, transport, onClick, eventName, _imageStyle, _style];
|
4245
4812
|
}
|
4246
4813
|
|
4247
4814
|
class ImageElement extends SvelteComponent {
|
@@ -4258,10 +4825,10 @@ class ImageElement extends SvelteComponent {
|
|
4258
4825
|
src: 0,
|
4259
4826
|
alt: 1,
|
4260
4827
|
transport: 2,
|
4261
|
-
onClick:
|
4262
|
-
eventName:
|
4263
|
-
_imageStyle:
|
4264
|
-
_style:
|
4828
|
+
onClick: 3,
|
4829
|
+
eventName: 4,
|
4830
|
+
_imageStyle: 5,
|
4831
|
+
_style: 6
|
4265
4832
|
},
|
4266
4833
|
add_css$l
|
4267
4834
|
);
|
@@ -4428,62 +4995,30 @@ class List extends SvelteComponent {
|
|
4428
4995
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4429
4996
|
|
4430
4997
|
function add_css$j(target) {
|
4431
|
-
append_styles(target, "svelte-
|
4998
|
+
append_styles(target, "svelte-1ocqru1", ".list-item.svelte-1ocqru1{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item.svelte-1ocqru1 > .button{position:absolute;inset:0}");
|
4432
4999
|
}
|
4433
5000
|
|
4434
|
-
|
4435
|
-
|
4436
|
-
let div0;
|
5001
|
+
// (67:2) <Button {onClick} style={_style} eventName={clickEventName}>
|
5002
|
+
function create_default_slot$1(ctx) {
|
4437
5003
|
let current;
|
4438
|
-
|
4439
|
-
let dispose;
|
4440
|
-
const default_slot_template = /*#slots*/ ctx[7].default;
|
5004
|
+
const default_slot_template = /*#slots*/ ctx[5].default;
|
4441
5005
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[6], null);
|
4442
5006
|
|
4443
5007
|
return {
|
4444
5008
|
c() {
|
4445
|
-
div1 = element("div");
|
4446
|
-
div0 = element("div");
|
4447
5009
|
if (default_slot) default_slot.c();
|
4448
|
-
this.h();
|
4449
5010
|
},
|
4450
5011
|
l(nodes) {
|
4451
|
-
|
4452
|
-
var div1_nodes = children(div1);
|
4453
|
-
div0 = claim_element(div1_nodes, "DIV", { class: true, style: true });
|
4454
|
-
var div0_nodes = children(div0);
|
4455
|
-
if (default_slot) default_slot.l(div0_nodes);
|
4456
|
-
div0_nodes.forEach(detach);
|
4457
|
-
div1_nodes.forEach(detach);
|
4458
|
-
this.h();
|
4459
|
-
},
|
4460
|
-
h() {
|
4461
|
-
attr(div0, "class", "list-item-inner svelte-h5j4xe");
|
4462
|
-
attr(div0, "style", /*_style*/ ctx[0]);
|
4463
|
-
attr(div1, "class", "list-item svelte-h5j4xe");
|
4464
|
-
attr(div1, "style", /*listItemStyle*/ ctx[1]);
|
5012
|
+
if (default_slot) default_slot.l(nodes);
|
4465
5013
|
},
|
4466
5014
|
m(target, anchor) {
|
4467
|
-
insert_hydration(target, div1, anchor);
|
4468
|
-
append_hydration(div1, div0);
|
4469
|
-
|
4470
5015
|
if (default_slot) {
|
4471
|
-
default_slot.m(
|
5016
|
+
default_slot.m(target, anchor);
|
4472
5017
|
}
|
4473
5018
|
|
4474
5019
|
current = true;
|
4475
|
-
|
4476
|
-
if (!mounted) {
|
4477
|
-
dispose = listen(div1, "click", function () {
|
4478
|
-
if (is_function(/*click*/ ctx[2])) /*click*/ ctx[2].apply(this, arguments);
|
4479
|
-
});
|
4480
|
-
|
4481
|
-
mounted = true;
|
4482
|
-
}
|
4483
5020
|
},
|
4484
|
-
p(
|
4485
|
-
ctx = new_ctx;
|
4486
|
-
|
5021
|
+
p(ctx, dirty) {
|
4487
5022
|
if (default_slot) {
|
4488
5023
|
if (default_slot.p && (!current || dirty & /*$$scope*/ 64)) {
|
4489
5024
|
update_slot_base(
|
@@ -4498,35 +5033,92 @@ function create_fragment$k(ctx) {
|
|
4498
5033
|
);
|
4499
5034
|
}
|
4500
5035
|
}
|
5036
|
+
},
|
5037
|
+
i(local) {
|
5038
|
+
if (current) return;
|
5039
|
+
transition_in(default_slot, local);
|
5040
|
+
current = true;
|
5041
|
+
},
|
5042
|
+
o(local) {
|
5043
|
+
transition_out(default_slot, local);
|
5044
|
+
current = false;
|
5045
|
+
},
|
5046
|
+
d(detaching) {
|
5047
|
+
if (default_slot) default_slot.d(detaching);
|
5048
|
+
}
|
5049
|
+
};
|
5050
|
+
}
|
4501
5051
|
|
4502
|
-
|
4503
|
-
|
5052
|
+
function create_fragment$k(ctx) {
|
5053
|
+
let div;
|
5054
|
+
let button;
|
5055
|
+
let current;
|
5056
|
+
|
5057
|
+
button = new Button({
|
5058
|
+
props: {
|
5059
|
+
onClick: /*onClick*/ ctx[0],
|
5060
|
+
style: /*_style*/ ctx[2],
|
5061
|
+
eventName: /*clickEventName*/ ctx[1],
|
5062
|
+
$$slots: { default: [create_default_slot$1] },
|
5063
|
+
$$scope: { ctx }
|
5064
|
+
}
|
5065
|
+
});
|
5066
|
+
|
5067
|
+
return {
|
5068
|
+
c() {
|
5069
|
+
div = element("div");
|
5070
|
+
create_component(button.$$.fragment);
|
5071
|
+
this.h();
|
5072
|
+
},
|
5073
|
+
l(nodes) {
|
5074
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
5075
|
+
var div_nodes = children(div);
|
5076
|
+
claim_component(button.$$.fragment, div_nodes);
|
5077
|
+
div_nodes.forEach(detach);
|
5078
|
+
this.h();
|
5079
|
+
},
|
5080
|
+
h() {
|
5081
|
+
attr(div, "class", "list-item svelte-1ocqru1");
|
5082
|
+
attr(div, "style", /*listItemStyle*/ ctx[3]);
|
5083
|
+
},
|
5084
|
+
m(target, anchor) {
|
5085
|
+
insert_hydration(target, div, anchor);
|
5086
|
+
mount_component(button, div, null);
|
5087
|
+
current = true;
|
5088
|
+
},
|
5089
|
+
p(ctx, [dirty]) {
|
5090
|
+
const button_changes = {};
|
5091
|
+
if (dirty & /*onClick*/ 1) button_changes.onClick = /*onClick*/ ctx[0];
|
5092
|
+
if (dirty & /*_style*/ 4) button_changes.style = /*_style*/ ctx[2];
|
5093
|
+
if (dirty & /*clickEventName*/ 2) button_changes.eventName = /*clickEventName*/ ctx[1];
|
5094
|
+
|
5095
|
+
if (dirty & /*$$scope*/ 64) {
|
5096
|
+
button_changes.$$scope = { dirty, ctx };
|
4504
5097
|
}
|
4505
5098
|
|
4506
|
-
|
4507
|
-
|
5099
|
+
button.$set(button_changes);
|
5100
|
+
|
5101
|
+
if (!current || dirty & /*listItemStyle*/ 8) {
|
5102
|
+
attr(div, "style", /*listItemStyle*/ ctx[3]);
|
4508
5103
|
}
|
4509
5104
|
},
|
4510
5105
|
i(local) {
|
4511
5106
|
if (current) return;
|
4512
|
-
transition_in(
|
5107
|
+
transition_in(button.$$.fragment, local);
|
4513
5108
|
current = true;
|
4514
5109
|
},
|
4515
5110
|
o(local) {
|
4516
|
-
transition_out(
|
5111
|
+
transition_out(button.$$.fragment, local);
|
4517
5112
|
current = false;
|
4518
5113
|
},
|
4519
5114
|
d(detaching) {
|
4520
|
-
if (detaching) detach(
|
4521
|
-
|
4522
|
-
mounted = false;
|
4523
|
-
dispose();
|
5115
|
+
if (detaching) detach(div);
|
5116
|
+
destroy_component(button);
|
4524
5117
|
}
|
4525
5118
|
};
|
4526
5119
|
}
|
4527
5120
|
|
4528
5121
|
function instance$k($$self, $$props, $$invalidate) {
|
4529
|
-
let click;
|
4530
5122
|
let listItemStyle;
|
4531
5123
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4532
5124
|
const { separator, background, direction, registerItem, unregisterItem } = getContext(LIST_CONTEXT_KEY);
|
@@ -4534,7 +5126,7 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
4534
5126
|
|
4535
5127
|
const id = registerItem({
|
4536
5128
|
onMount({ index: _index, length: _length }) {
|
4537
|
-
$$invalidate(
|
5129
|
+
$$invalidate(4, index = _index);
|
4538
5130
|
}
|
4539
5131
|
});
|
4540
5132
|
|
@@ -4547,25 +5139,15 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
4547
5139
|
});
|
4548
5140
|
|
4549
5141
|
$$self.$$set = $$props => {
|
4550
|
-
if ('onClick' in $$props) $$invalidate(
|
4551
|
-
if ('clickEventName' in $$props) $$invalidate(
|
4552
|
-
if ('_style' in $$props) $$invalidate(
|
5142
|
+
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
5143
|
+
if ('clickEventName' in $$props) $$invalidate(1, clickEventName = $$props.clickEventName);
|
5144
|
+
if ('_style' in $$props) $$invalidate(2, _style = $$props._style);
|
4553
5145
|
if ('$$scope' in $$props) $$invalidate(6, $$scope = $$props.$$scope);
|
4554
5146
|
};
|
4555
5147
|
|
4556
5148
|
$$self.$$.update = () => {
|
4557
|
-
if ($$self.$$.dirty & /*
|
4558
|
-
$$invalidate(
|
4559
|
-
if (clickEventName) {
|
4560
|
-
send_event(clickEventName);
|
4561
|
-
}
|
4562
|
-
|
4563
|
-
execOnClickOperation(onClick);
|
4564
|
-
});
|
4565
|
-
}
|
4566
|
-
|
4567
|
-
if ($$self.$$.dirty & /*index*/ 32) {
|
4568
|
-
$$invalidate(1, listItemStyle = (() => {
|
5149
|
+
if ($$self.$$.dirty & /*index*/ 16) {
|
5150
|
+
$$invalidate(3, listItemStyle = (() => {
|
4569
5151
|
let separatorStyleArray = [];
|
4570
5152
|
|
4571
5153
|
if (separator.type === "border") {
|
@@ -4609,13 +5191,13 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
4609
5191
|
}
|
4610
5192
|
};
|
4611
5193
|
|
4612
|
-
return [
|
5194
|
+
return [onClick, clickEventName, _style, listItemStyle, index, slots, $$scope];
|
4613
5195
|
}
|
4614
5196
|
|
4615
5197
|
class ListItem extends SvelteComponent {
|
4616
5198
|
constructor(options) {
|
4617
5199
|
super();
|
4618
|
-
init(this, options, instance$k, create_fragment$k, safe_not_equal, { onClick:
|
5200
|
+
init(this, options, instance$k, create_fragment$k, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$j);
|
4619
5201
|
}
|
4620
5202
|
}
|
4621
5203
|
|
@@ -5274,7 +5856,7 @@ function get_each_context$5(ctx, list, i) {
|
|
5274
5856
|
return child_ctx;
|
5275
5857
|
}
|
5276
5858
|
|
5277
|
-
// (
|
5859
|
+
// (89:2) {#each _options as option, i}
|
5278
5860
|
function create_each_block$5(ctx) {
|
5279
5861
|
let label;
|
5280
5862
|
let input;
|
@@ -5377,6 +5959,9 @@ function create_each_block$5(ctx) {
|
|
5377
5959
|
|
5378
5960
|
function create_fragment$f(ctx) {
|
5379
5961
|
let div;
|
5962
|
+
let link;
|
5963
|
+
let link_href_value;
|
5964
|
+
let t;
|
5380
5965
|
let each_value = /*_options*/ ctx[4];
|
5381
5966
|
let each_blocks = [];
|
5382
5967
|
|
@@ -5387,6 +5972,8 @@ function create_fragment$f(ctx) {
|
|
5387
5972
|
return {
|
5388
5973
|
c() {
|
5389
5974
|
div = element("div");
|
5975
|
+
link = element("link");
|
5976
|
+
t = space();
|
5390
5977
|
|
5391
5978
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5392
5979
|
each_blocks[i].c();
|
@@ -5397,6 +5984,8 @@ function create_fragment$f(ctx) {
|
|
5397
5984
|
l(nodes) {
|
5398
5985
|
div = claim_element(nodes, "DIV", { class: true, style: true });
|
5399
5986
|
var div_nodes = children(div);
|
5987
|
+
link = claim_element(div_nodes, "LINK", { href: true, rel: true });
|
5988
|
+
t = claim_space(div_nodes);
|
5400
5989
|
|
5401
5990
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5402
5991
|
each_blocks[i].l(div_nodes);
|
@@ -5406,17 +5995,25 @@ function create_fragment$f(ctx) {
|
|
5406
5995
|
this.h();
|
5407
5996
|
},
|
5408
5997
|
h() {
|
5998
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[4].join('')}`);
|
5999
|
+
attr(link, "rel", "stylesheet");
|
5409
6000
|
attr(div, "class", "radio-buttons svelte-17s08g");
|
5410
6001
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
5411
6002
|
},
|
5412
6003
|
m(target, anchor) {
|
5413
6004
|
insert_hydration(target, div, anchor);
|
6005
|
+
append_hydration(div, link);
|
6006
|
+
append_hydration(div, t);
|
5414
6007
|
|
5415
6008
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5416
6009
|
each_blocks[i].m(div, null);
|
5417
6010
|
}
|
5418
6011
|
},
|
5419
6012
|
p(ctx, [dirty]) {
|
6013
|
+
if (dirty & /*_options*/ 16 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[4].join('')}`)) {
|
6014
|
+
attr(link, "href", link_href_value);
|
6015
|
+
}
|
6016
|
+
|
5420
6017
|
if (dirty & /*_textStyle, _options, buttonStyle, name, _value, handleChange*/ 189) {
|
5421
6018
|
each_value = /*_options*/ ctx[4];
|
5422
6019
|
let i;
|
@@ -5575,7 +6172,7 @@ function get_each_context$4(ctx, list, i) {
|
|
5575
6172
|
return child_ctx;
|
5576
6173
|
}
|
5577
6174
|
|
5578
|
-
// (
|
6175
|
+
// (99:10) {:else}
|
5579
6176
|
function create_else_block(ctx) {
|
5580
6177
|
let t;
|
5581
6178
|
|
@@ -5598,7 +6195,7 @@ function create_else_block(ctx) {
|
|
5598
6195
|
};
|
5599
6196
|
}
|
5600
6197
|
|
5601
|
-
// (
|
6198
|
+
// (97:10) {#if option}
|
5602
6199
|
function create_if_block$2(ctx) {
|
5603
6200
|
let t_value = /*option*/ ctx[18] + "";
|
5604
6201
|
let t;
|
@@ -5622,7 +6219,7 @@ function create_if_block$2(ctx) {
|
|
5622
6219
|
};
|
5623
6220
|
}
|
5624
6221
|
|
5625
|
-
// (
|
6222
|
+
// (95:6) {#each _options as option, i}
|
5626
6223
|
function create_each_block$4(ctx) {
|
5627
6224
|
let option;
|
5628
6225
|
let t;
|
@@ -5693,8 +6290,11 @@ function create_each_block$4(ctx) {
|
|
5693
6290
|
|
5694
6291
|
function create_fragment$e(ctx) {
|
5695
6292
|
let div1;
|
6293
|
+
let link;
|
6294
|
+
let link_href_value;
|
6295
|
+
let t0;
|
5696
6296
|
let select;
|
5697
|
-
let
|
6297
|
+
let t1;
|
5698
6298
|
let div0;
|
5699
6299
|
let mounted;
|
5700
6300
|
let dispose;
|
@@ -5708,19 +6308,23 @@ function create_fragment$e(ctx) {
|
|
5708
6308
|
return {
|
5709
6309
|
c() {
|
5710
6310
|
div1 = element("div");
|
6311
|
+
link = element("link");
|
6312
|
+
t0 = space();
|
5711
6313
|
select = element("select");
|
5712
6314
|
|
5713
6315
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5714
6316
|
each_blocks[i].c();
|
5715
6317
|
}
|
5716
6318
|
|
5717
|
-
|
6319
|
+
t1 = space();
|
5718
6320
|
div0 = element("div");
|
5719
6321
|
this.h();
|
5720
6322
|
},
|
5721
6323
|
l(nodes) {
|
5722
6324
|
div1 = claim_element(nodes, "DIV", { class: true, style: true });
|
5723
6325
|
var div1_nodes = children(div1);
|
6326
|
+
link = claim_element(div1_nodes, "LINK", { href: true, rel: true });
|
6327
|
+
t0 = claim_space(div1_nodes);
|
5724
6328
|
select = claim_element(div1_nodes, "SELECT", { class: true, style: true });
|
5725
6329
|
var select_nodes = children(select);
|
5726
6330
|
|
@@ -5729,13 +6333,15 @@ function create_fragment$e(ctx) {
|
|
5729
6333
|
}
|
5730
6334
|
|
5731
6335
|
select_nodes.forEach(detach);
|
5732
|
-
|
6336
|
+
t1 = claim_space(div1_nodes);
|
5733
6337
|
div0 = claim_element(div1_nodes, "DIV", { class: true });
|
5734
6338
|
children(div0).forEach(detach);
|
5735
6339
|
div1_nodes.forEach(detach);
|
5736
6340
|
this.h();
|
5737
6341
|
},
|
5738
6342
|
h() {
|
6343
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${[/*placeholder*/ ctx[0], .../*_options*/ ctx[4]].join('')}`);
|
6344
|
+
attr(link, "rel", "stylesheet");
|
5739
6345
|
attr(select, "class", "select-select svelte-1n4ag74");
|
5740
6346
|
attr(select, "style", /*style*/ ctx[3]);
|
5741
6347
|
attr(div0, "class", "select-icon svelte-1n4ag74");
|
@@ -5744,13 +6350,15 @@ function create_fragment$e(ctx) {
|
|
5744
6350
|
},
|
5745
6351
|
m(target, anchor) {
|
5746
6352
|
insert_hydration(target, div1, anchor);
|
6353
|
+
append_hydration(div1, link);
|
6354
|
+
append_hydration(div1, t0);
|
5747
6355
|
append_hydration(div1, select);
|
5748
6356
|
|
5749
6357
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5750
6358
|
each_blocks[i].m(select, null);
|
5751
6359
|
}
|
5752
6360
|
|
5753
|
-
append_hydration(div1,
|
6361
|
+
append_hydration(div1, t1);
|
5754
6362
|
append_hydration(div1, div0);
|
5755
6363
|
|
5756
6364
|
if (!mounted) {
|
@@ -5759,6 +6367,10 @@ function create_fragment$e(ctx) {
|
|
5759
6367
|
}
|
5760
6368
|
},
|
5761
6369
|
p(ctx, [dirty]) {
|
6370
|
+
if (dirty & /*placeholder, _options*/ 17 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${[/*placeholder*/ ctx[0], .../*_options*/ ctx[4]].join('')}`)) {
|
6371
|
+
attr(link, "href", link_href_value);
|
6372
|
+
}
|
6373
|
+
|
5762
6374
|
if (dirty & /*_options, _value, placeholder*/ 19) {
|
5763
6375
|
each_value = /*_options*/ ctx[4];
|
5764
6376
|
let i;
|
@@ -5943,7 +6555,7 @@ function get_each_context$3(ctx, list, i) {
|
|
5943
6555
|
return child_ctx;
|
5944
6556
|
}
|
5945
6557
|
|
5946
|
-
// (
|
6558
|
+
// (95:2) {#each _options as option, i}
|
5947
6559
|
function create_each_block$3(ctx) {
|
5948
6560
|
let label;
|
5949
6561
|
let input;
|
@@ -6062,6 +6674,9 @@ function create_each_block$3(ctx) {
|
|
6062
6674
|
|
6063
6675
|
function create_fragment$d(ctx) {
|
6064
6676
|
let div;
|
6677
|
+
let link;
|
6678
|
+
let link_href_value;
|
6679
|
+
let t;
|
6065
6680
|
let each_value = /*_options*/ ctx[3];
|
6066
6681
|
let each_blocks = [];
|
6067
6682
|
|
@@ -6072,6 +6687,8 @@ function create_fragment$d(ctx) {
|
|
6072
6687
|
return {
|
6073
6688
|
c() {
|
6074
6689
|
div = element("div");
|
6690
|
+
link = element("link");
|
6691
|
+
t = space();
|
6075
6692
|
|
6076
6693
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6077
6694
|
each_blocks[i].c();
|
@@ -6082,6 +6699,8 @@ function create_fragment$d(ctx) {
|
|
6082
6699
|
l(nodes) {
|
6083
6700
|
div = claim_element(nodes, "DIV", { class: true, style: true });
|
6084
6701
|
var div_nodes = children(div);
|
6702
|
+
link = claim_element(div_nodes, "LINK", { href: true, rel: true });
|
6703
|
+
t = claim_space(div_nodes);
|
6085
6704
|
|
6086
6705
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6087
6706
|
each_blocks[i].l(div_nodes);
|
@@ -6091,17 +6710,25 @@ function create_fragment$d(ctx) {
|
|
6091
6710
|
this.h();
|
6092
6711
|
},
|
6093
6712
|
h() {
|
6713
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[3].join('')}`);
|
6714
|
+
attr(link, "rel", "stylesheet");
|
6094
6715
|
attr(div, "class", "check-boxes svelte-o1ztcf");
|
6095
6716
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
6096
6717
|
},
|
6097
6718
|
m(target, anchor) {
|
6098
6719
|
insert_hydration(target, div, anchor);
|
6720
|
+
append_hydration(div, link);
|
6721
|
+
append_hydration(div, t);
|
6099
6722
|
|
6100
6723
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6101
6724
|
each_blocks[i].m(div, null);
|
6102
6725
|
}
|
6103
6726
|
},
|
6104
6727
|
p(ctx, [dirty]) {
|
6728
|
+
if (dirty & /*_options*/ 8 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[3].join('')}`)) {
|
6729
|
+
attr(link, "href", link_href_value);
|
6730
|
+
}
|
6731
|
+
|
6105
6732
|
if (dirty & /*_textStyle, _options, isCheckedArray, styleVariables, name, handleChange*/ 189) {
|
6106
6733
|
each_value = /*_options*/ ctx[3];
|
6107
6734
|
let i;
|
@@ -6265,7 +6892,7 @@ function get_each_context$2(ctx, list, i) {
|
|
6265
6892
|
return child_ctx;
|
6266
6893
|
}
|
6267
6894
|
|
6268
|
-
// (
|
6895
|
+
// (52:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6269
6896
|
function create_each_block$2(ctx) {
|
6270
6897
|
let div;
|
6271
6898
|
let t0_value = /*i*/ ctx[11] + "";
|
@@ -6325,6 +6952,8 @@ function create_each_block$2(ctx) {
|
|
6325
6952
|
|
6326
6953
|
function create_fragment$c(ctx) {
|
6327
6954
|
let div;
|
6955
|
+
let link;
|
6956
|
+
let t;
|
6328
6957
|
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6329
6958
|
let each_blocks = [];
|
6330
6959
|
|
@@ -6335,6 +6964,8 @@ function create_fragment$c(ctx) {
|
|
6335
6964
|
return {
|
6336
6965
|
c() {
|
6337
6966
|
div = element("div");
|
6967
|
+
link = element("link");
|
6968
|
+
t = space();
|
6338
6969
|
|
6339
6970
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6340
6971
|
each_blocks[i].c();
|
@@ -6345,6 +6976,8 @@ function create_fragment$c(ctx) {
|
|
6345
6976
|
l(nodes) {
|
6346
6977
|
div = claim_element(nodes, "DIV", { class: true });
|
6347
6978
|
var div_nodes = children(div);
|
6979
|
+
link = claim_element(div_nodes, "LINK", { href: true, rel: true });
|
6980
|
+
t = claim_space(div_nodes);
|
6348
6981
|
|
6349
6982
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6350
6983
|
each_blocks[i].l(div_nodes);
|
@@ -6354,10 +6987,14 @@ function create_fragment$c(ctx) {
|
|
6354
6987
|
this.h();
|
6355
6988
|
},
|
6356
6989
|
h() {
|
6990
|
+
attr(link, "href", `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=0123456789`);
|
6991
|
+
attr(link, "rel", "stylesheet");
|
6357
6992
|
attr(div, "class", "rating-buttons svelte-176k37j");
|
6358
6993
|
},
|
6359
6994
|
m(target, anchor) {
|
6360
6995
|
insert_hydration(target, div, anchor);
|
6996
|
+
append_hydration(div, link);
|
6997
|
+
append_hydration(div, t);
|
6361
6998
|
|
6362
6999
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6363
7000
|
each_blocks[i].m(div, null);
|
@@ -6404,8 +7041,8 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
6404
7041
|
let { name = '' } = $$props;
|
6405
7042
|
let { required = false } = $$props;
|
6406
7043
|
let { count = 5 } = $$props;
|
6407
|
-
let { buttonStyle = 'width: 32px; height: 32px; font-size: 12px; font-weight: bold; border-radius: 17px; color: #333; background-color: rgba(0, 16, 14, 0.06); box-shadow:
|
6408
|
-
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px
|
7044
|
+
let { buttonStyle = 'width: 32px; height: 32px; font-size: 12px; font-weight: bold; border-radius: 17px; color: #333; background-color: rgba(0, 16, 14, 0.06); box-shadow: 0px 0px 16px 0px rgba(0, 16, 14, 0);' } = $$props;
|
7045
|
+
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px 8px 16px 0px rgba(0, 16, 14, 0.3);' } = $$props;
|
6409
7046
|
const { path: statePath } = getStateItemContext();
|
6410
7047
|
|
6411
7048
|
const value = registerInput({
|