@plaidev/karte-action-sdk 1.1.156 → 1.1.157-28011607.f788fa7c
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +423 -379
- package/dist/hydrate/index.es.js +597 -279
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +13 -2
- package/dist/index.es.d.ts +423 -379
- package/dist/index.es.js +554 -258
- package/dist/templates.cjs.js +8 -7
- package/dist/templates.js +8 -7
- package/package.json +1 -2
package/dist/hydrate/index.es.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import 'svelte/easing';
|
2
2
|
import { writable, get } from 'svelte/store';
|
3
|
-
import {
|
4
|
-
|
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';
|
3
|
+
import { onMount as onMount$1, onDestroy as onDestroy$1, beforeUpdate as beforeUpdate$1, afterUpdate as afterUpdate$1, tick as tick$1, setContext, getContext, createEventDispatcher } from 'svelte';
|
4
|
+
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, construct_svelte_component } from 'svelte/internal';
|
6
5
|
|
7
6
|
/** @internal */
|
8
7
|
const PropTypes = [
|
@@ -1074,25 +1073,14 @@ async function loadGlobalStyle(href) {
|
|
1074
1073
|
link.addEventListener('error', () => reject(link));
|
1075
1074
|
});
|
1076
1075
|
}
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
*
|
1086
|
-
* @internal
|
1087
|
-
*/
|
1088
|
-
function hashCode(s) {
|
1089
|
-
const SEED = 0x41653150;
|
1090
|
-
let hash = SEED;
|
1091
|
-
Array.from(s).forEach((c, index) => {
|
1092
|
-
hash ^= c.charCodeAt(index);
|
1093
|
-
hash += (hash << 1) + (hash << 4) + (hash << 7) + (hash << 8) + (hash << 24);
|
1094
|
-
});
|
1095
|
-
return ('0000000' + (hash >>> 0).toString(16)).substr(-8);
|
1076
|
+
// @internal
|
1077
|
+
function getCssVariables(data) {
|
1078
|
+
return Object.entries(data)
|
1079
|
+
.filter(([key, value]) => {
|
1080
|
+
return ['string', 'number'].includes(typeof value) && key.startsWith('--');
|
1081
|
+
})
|
1082
|
+
.map(([key, value]) => `${key}:${value}`)
|
1083
|
+
.join(';');
|
1096
1084
|
}
|
1097
1085
|
|
1098
1086
|
/**
|
@@ -2271,22 +2259,63 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2271
2259
|
storage: storage
|
2272
2260
|
});
|
2273
2261
|
|
2262
|
+
/**
|
2263
|
+
* エレメントをマウントしたときに実行される関数の登録
|
2264
|
+
*
|
2265
|
+
* @param fn - マウントしたときに実行される関数
|
2266
|
+
*/
|
2267
|
+
const onMount = onMount$1;
|
2268
|
+
/**
|
2269
|
+
* エレメントを破棄したときに実行される関数の登録
|
2270
|
+
*
|
2271
|
+
* @param fn - マウントしたときに実行される関数
|
2272
|
+
*/
|
2273
|
+
const onDestory = onDestroy$1;
|
2274
|
+
/**
|
2275
|
+
* エレメントを更新する前に実行される関数の登録
|
2276
|
+
*
|
2277
|
+
* @param fn - マウントしたときに実行される関数
|
2278
|
+
*/
|
2279
|
+
const beforeUpdate = beforeUpdate$1;
|
2280
|
+
/**
|
2281
|
+
* エレメントを更新した後に実行される関数の登録
|
2282
|
+
*
|
2283
|
+
* @param fn - マウントしたときに実行される関数
|
2284
|
+
*/
|
2285
|
+
const afterUpdate = afterUpdate$1;
|
2286
|
+
/**
|
2287
|
+
* エレメントのライフサイクルを進める
|
2288
|
+
*
|
2289
|
+
* @returns Promise<void>
|
2290
|
+
*/
|
2291
|
+
const tick = tick$1;
|
2292
|
+
// @internal
|
2293
|
+
const LAYOUT_COMPONENT_NAMES = [
|
2294
|
+
'BreakPoint',
|
2295
|
+
'BreakPointItem',
|
2296
|
+
'Grid',
|
2297
|
+
'GridItem',
|
2298
|
+
'Modal',
|
2299
|
+
'State',
|
2300
|
+
'StateItem',
|
2301
|
+
];
|
2302
|
+
|
2274
2303
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2275
2304
|
|
2276
|
-
function add_css$
|
2305
|
+
function add_css$u(target) {
|
2277
2306
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2278
2307
|
}
|
2279
2308
|
|
2280
2309
|
class Normalize extends SvelteComponent {
|
2281
2310
|
constructor(options) {
|
2282
2311
|
super();
|
2283
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2312
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$u);
|
2284
2313
|
}
|
2285
2314
|
}
|
2286
2315
|
|
2287
2316
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2288
2317
|
|
2289
|
-
function create_fragment$
|
2318
|
+
function create_fragment$x(ctx) {
|
2290
2319
|
let normalize;
|
2291
2320
|
let t;
|
2292
2321
|
let current;
|
@@ -2350,7 +2379,7 @@ function create_fragment$w(ctx) {
|
|
2350
2379
|
};
|
2351
2380
|
}
|
2352
2381
|
|
2353
|
-
function instance$
|
2382
|
+
function instance$x($$self, $$props, $$invalidate) {
|
2354
2383
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2355
2384
|
|
2356
2385
|
$$self.$$set = $$props => {
|
@@ -2363,13 +2392,13 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
2363
2392
|
class State extends SvelteComponent {
|
2364
2393
|
constructor(options) {
|
2365
2394
|
super();
|
2366
|
-
init(this, options, instance$
|
2395
|
+
init(this, options, instance$x, create_fragment$x, safe_not_equal, {});
|
2367
2396
|
}
|
2368
2397
|
}
|
2369
2398
|
|
2370
2399
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2371
2400
|
|
2372
|
-
function add_css$
|
2401
|
+
function add_css$t(target) {
|
2373
2402
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2374
2403
|
}
|
2375
2404
|
|
@@ -2446,7 +2475,7 @@ function create_if_block$8(ctx) {
|
|
2446
2475
|
};
|
2447
2476
|
}
|
2448
2477
|
|
2449
|
-
function create_fragment$
|
2478
|
+
function create_fragment$w(ctx) {
|
2450
2479
|
let if_block_anchor;
|
2451
2480
|
let current;
|
2452
2481
|
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$8(ctx);
|
@@ -2511,7 +2540,7 @@ function getStateItemContext() {
|
|
2511
2540
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2512
2541
|
}
|
2513
2542
|
|
2514
|
-
function instance$
|
2543
|
+
function instance$w($$self, $$props, $$invalidate) {
|
2515
2544
|
let $state;
|
2516
2545
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2517
2546
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2537,13 +2566,13 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
2537
2566
|
class StateItem extends SvelteComponent {
|
2538
2567
|
constructor(options) {
|
2539
2568
|
super();
|
2540
|
-
init(this, options, instance$
|
2569
|
+
init(this, options, instance$w, create_fragment$w, safe_not_equal, { path: 0 }, add_css$t);
|
2541
2570
|
}
|
2542
2571
|
}
|
2543
2572
|
|
2544
2573
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2545
2574
|
|
2546
|
-
function add_css$
|
2575
|
+
function add_css$s(target) {
|
2547
2576
|
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
2577
|
}
|
2549
2578
|
|
@@ -2583,7 +2612,7 @@ function create_if_block$7(ctx) {
|
|
2583
2612
|
};
|
2584
2613
|
}
|
2585
2614
|
|
2586
|
-
function create_fragment$
|
2615
|
+
function create_fragment$v(ctx) {
|
2587
2616
|
let if_block_anchor;
|
2588
2617
|
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$7(ctx);
|
2589
2618
|
|
@@ -2623,7 +2652,7 @@ function create_fragment$u(ctx) {
|
|
2623
2652
|
};
|
2624
2653
|
}
|
2625
2654
|
|
2626
|
-
function instance$
|
2655
|
+
function instance$v($$self, $$props, $$invalidate) {
|
2627
2656
|
let { backgroundOverray = false } = $$props;
|
2628
2657
|
const dispatch = createEventDispatcher();
|
2629
2658
|
const click_handler = () => dispatch('click');
|
@@ -2638,13 +2667,13 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
2638
2667
|
class BackgroundOverray extends SvelteComponent {
|
2639
2668
|
constructor(options) {
|
2640
2669
|
super();
|
2641
|
-
init(this, options, instance$
|
2670
|
+
init(this, options, instance$v, create_fragment$v, safe_not_equal, { backgroundOverray: 0 }, add_css$s);
|
2642
2671
|
}
|
2643
2672
|
}
|
2644
2673
|
|
2645
2674
|
/* src/components/Button.svelte generated by Svelte v3.53.1 */
|
2646
2675
|
|
2647
|
-
function add_css$
|
2676
|
+
function add_css$r(target) {
|
2648
2677
|
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
2678
|
}
|
2650
2679
|
|
@@ -2951,7 +2980,7 @@ function create_if_block$6(ctx) {
|
|
2951
2980
|
};
|
2952
2981
|
}
|
2953
2982
|
|
2954
|
-
function create_fragment$
|
2983
|
+
function create_fragment$u(ctx) {
|
2955
2984
|
let current_block_type_index;
|
2956
2985
|
let if_block;
|
2957
2986
|
let if_block_anchor;
|
@@ -3028,7 +3057,7 @@ function create_fragment$t(ctx) {
|
|
3028
3057
|
|
3029
3058
|
const BUTTON_CLASS = 'button';
|
3030
3059
|
|
3031
|
-
function instance$
|
3060
|
+
function instance$u($$self, $$props, $$invalidate) {
|
3032
3061
|
let disabled;
|
3033
3062
|
let $valuesAreValid;
|
3034
3063
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -3094,8 +3123,8 @@ class Button extends SvelteComponent {
|
|
3094
3123
|
init(
|
3095
3124
|
this,
|
3096
3125
|
options,
|
3097
|
-
instance$
|
3098
|
-
create_fragment$
|
3126
|
+
instance$u,
|
3127
|
+
create_fragment$u,
|
3099
3128
|
safe_not_equal,
|
3100
3129
|
{
|
3101
3130
|
onClick: 0,
|
@@ -3103,14 +3132,14 @@ class Button extends SvelteComponent {
|
|
3103
3132
|
eventValue: 6,
|
3104
3133
|
style: 1
|
3105
3134
|
},
|
3106
|
-
add_css$
|
3135
|
+
add_css$r
|
3107
3136
|
);
|
3108
3137
|
}
|
3109
3138
|
}
|
3110
3139
|
|
3111
3140
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3112
3141
|
|
3113
|
-
function add_css$
|
3142
|
+
function add_css$q(target) {
|
3114
3143
|
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
3144
|
}
|
3116
3145
|
|
@@ -3127,7 +3156,7 @@ function create_if_block$5(ctx) {
|
|
3127
3156
|
onClick: /*onClick*/ ctx[0],
|
3128
3157
|
eventName: /*clickEventName*/ ctx[1],
|
3129
3158
|
eventValue: /*clickEventValue*/ ctx[2],
|
3130
|
-
$$slots: { default: [create_default_slot$
|
3159
|
+
$$slots: { default: [create_default_slot$6] },
|
3131
3160
|
$$scope: { ctx }
|
3132
3161
|
}
|
3133
3162
|
});
|
@@ -3339,7 +3368,7 @@ function create_default_slot_1$1(ctx) {
|
|
3339
3368
|
}
|
3340
3369
|
|
3341
3370
|
// (160:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
|
3342
|
-
function create_default_slot$
|
3371
|
+
function create_default_slot$6(ctx) {
|
3343
3372
|
let t;
|
3344
3373
|
let div;
|
3345
3374
|
let current;
|
@@ -3442,7 +3471,7 @@ function create_default_slot$4(ctx) {
|
|
3442
3471
|
};
|
3443
3472
|
}
|
3444
3473
|
|
3445
|
-
function create_fragment$
|
3474
|
+
function create_fragment$t(ctx) {
|
3446
3475
|
let backgroundoverray;
|
3447
3476
|
let t;
|
3448
3477
|
let if_block_anchor;
|
@@ -3541,7 +3570,7 @@ function create_fragment$s(ctx) {
|
|
3541
3570
|
};
|
3542
3571
|
}
|
3543
3572
|
|
3544
|
-
function instance$
|
3573
|
+
function instance$t($$self, $$props, $$invalidate) {
|
3545
3574
|
let close;
|
3546
3575
|
let closable;
|
3547
3576
|
let backgroundClick;
|
@@ -3572,7 +3601,7 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
3572
3601
|
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3573
3602
|
let modal;
|
3574
3603
|
|
3575
|
-
onMount(() => {
|
3604
|
+
onMount$1(() => {
|
3576
3605
|
$$invalidate(12, visible = true);
|
3577
3606
|
});
|
3578
3607
|
|
@@ -3724,8 +3753,8 @@ class Modal extends SvelteComponent {
|
|
3724
3753
|
init(
|
3725
3754
|
this,
|
3726
3755
|
options,
|
3727
|
-
instance$
|
3728
|
-
create_fragment$
|
3756
|
+
instance$t,
|
3757
|
+
create_fragment$t,
|
3729
3758
|
safe_not_equal,
|
3730
3759
|
{
|
3731
3760
|
onClick: 0,
|
@@ -3741,14 +3770,14 @@ class Modal extends SvelteComponent {
|
|
3741
3770
|
closeButtonColor: 8,
|
3742
3771
|
_closeStyle: 9
|
3743
3772
|
},
|
3744
|
-
add_css$
|
3773
|
+
add_css$q
|
3745
3774
|
);
|
3746
3775
|
}
|
3747
3776
|
}
|
3748
3777
|
|
3749
3778
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
3750
3779
|
|
3751
|
-
function create_fragment$
|
3780
|
+
function create_fragment$s(ctx) {
|
3752
3781
|
let div;
|
3753
3782
|
let current;
|
3754
3783
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -3816,7 +3845,7 @@ function create_fragment$r(ctx) {
|
|
3816
3845
|
};
|
3817
3846
|
}
|
3818
3847
|
|
3819
|
-
function instance$
|
3848
|
+
function instance$s($$self, $$props, $$invalidate) {
|
3820
3849
|
let _style;
|
3821
3850
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3822
3851
|
let { width = '512px' } = $$props;
|
@@ -3861,7 +3890,7 @@ class Grid extends SvelteComponent {
|
|
3861
3890
|
constructor(options) {
|
3862
3891
|
super();
|
3863
3892
|
|
3864
|
-
init(this, options, instance$
|
3893
|
+
init(this, options, instance$s, create_fragment$s, safe_not_equal, {
|
3865
3894
|
width: 1,
|
3866
3895
|
height: 2,
|
3867
3896
|
rows: 3,
|
@@ -3874,11 +3903,11 @@ class Grid extends SvelteComponent {
|
|
3874
3903
|
|
3875
3904
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
3876
3905
|
|
3877
|
-
function add_css$
|
3906
|
+
function add_css$p(target) {
|
3878
3907
|
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
3879
3908
|
}
|
3880
3909
|
|
3881
|
-
function create_fragment$
|
3910
|
+
function create_fragment$r(ctx) {
|
3882
3911
|
let div1;
|
3883
3912
|
let div0;
|
3884
3913
|
let current;
|
@@ -3910,8 +3939,8 @@ function create_fragment$q(ctx) {
|
|
3910
3939
|
h() {
|
3911
3940
|
attr(div0, "class", "grid-item-inner svelte-n7kdl3");
|
3912
3941
|
attr(div1, "class", "grid-item svelte-n7kdl3");
|
3913
|
-
attr(div1, "data-grid-item-id", /*
|
3914
|
-
attr(div1, "style", /*_style*/ ctx[
|
3942
|
+
attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
|
3943
|
+
attr(div1, "style", /*_style*/ ctx[1]);
|
3915
3944
|
},
|
3916
3945
|
m(target, anchor) {
|
3917
3946
|
insert_hydration(target, div1, anchor);
|
@@ -3939,8 +3968,12 @@ function create_fragment$q(ctx) {
|
|
3939
3968
|
}
|
3940
3969
|
}
|
3941
3970
|
|
3942
|
-
if (!current || dirty & /*
|
3943
|
-
attr(div1, "
|
3971
|
+
if (!current || dirty & /*id*/ 1) {
|
3972
|
+
attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
|
3973
|
+
}
|
3974
|
+
|
3975
|
+
if (!current || dirty & /*_style*/ 2) {
|
3976
|
+
attr(div1, "style", /*_style*/ ctx[1]);
|
3944
3977
|
}
|
3945
3978
|
},
|
3946
3979
|
i(local) {
|
@@ -3959,7 +3992,7 @@ function create_fragment$q(ctx) {
|
|
3959
3992
|
};
|
3960
3993
|
}
|
3961
3994
|
|
3962
|
-
function instance$
|
3995
|
+
function instance$r($$self, $$props, $$invalidate) {
|
3963
3996
|
let _style;
|
3964
3997
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3965
3998
|
let { x1 } = $$props;
|
@@ -3968,15 +4001,9 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
3968
4001
|
let { y2 } = $$props;
|
3969
4002
|
let { z } = $$props;
|
3970
4003
|
let { background = 'transparent' } = $$props;
|
3971
|
-
let
|
3972
|
-
|
3973
|
-
if (z) {
|
3974
|
-
gridItemIdRaw += `-${z}`;
|
3975
|
-
}
|
3976
|
-
|
3977
|
-
const gridItemId = hashCode(gridItemIdRaw);
|
4004
|
+
let { id } = $$props;
|
3978
4005
|
|
3979
|
-
onMount(() => {
|
4006
|
+
onMount$1(() => {
|
3980
4007
|
setMaximumZindex(z);
|
3981
4008
|
});
|
3982
4009
|
|
@@ -3987,12 +4014,13 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
3987
4014
|
if ('y2' in $$props) $$invalidate(5, y2 = $$props.y2);
|
3988
4015
|
if ('z' in $$props) $$invalidate(6, z = $$props.z);
|
3989
4016
|
if ('background' in $$props) $$invalidate(7, background = $$props.background);
|
4017
|
+
if ('id' in $$props) $$invalidate(0, id = $$props.id);
|
3990
4018
|
if ('$$scope' in $$props) $$invalidate(8, $$scope = $$props.$$scope);
|
3991
4019
|
};
|
3992
4020
|
|
3993
4021
|
$$self.$$.update = () => {
|
3994
4022
|
if ($$self.$$.dirty & /*y1, x1, y2, x2, z, background*/ 252) {
|
3995
|
-
$$invalidate(
|
4023
|
+
$$invalidate(1, _style = [
|
3996
4024
|
`grid-area: ${y1 + 1} / ${x1 + 1} / ${y2 + 2} / ${x2 + 2}`,
|
3997
4025
|
`z-index: ${z}`,
|
3998
4026
|
`background: ${background}`,
|
@@ -4002,7 +4030,7 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
4002
4030
|
}
|
4003
4031
|
};
|
4004
4032
|
|
4005
|
-
return [
|
4033
|
+
return [id, _style, x1, x2, y1, y2, z, background, $$scope, slots];
|
4006
4034
|
}
|
4007
4035
|
|
4008
4036
|
class GridItem extends SvelteComponent {
|
@@ -4012,8 +4040,8 @@ class GridItem extends SvelteComponent {
|
|
4012
4040
|
init(
|
4013
4041
|
this,
|
4014
4042
|
options,
|
4015
|
-
instance$
|
4016
|
-
create_fragment$
|
4043
|
+
instance$r,
|
4044
|
+
create_fragment$r,
|
4017
4045
|
safe_not_equal,
|
4018
4046
|
{
|
4019
4047
|
x1: 2,
|
@@ -4021,9 +4049,10 @@ class GridItem extends SvelteComponent {
|
|
4021
4049
|
y1: 4,
|
4022
4050
|
y2: 5,
|
4023
4051
|
z: 6,
|
4024
|
-
background: 7
|
4052
|
+
background: 7,
|
4053
|
+
id: 0
|
4025
4054
|
},
|
4026
|
-
add_css$
|
4055
|
+
add_css$p
|
4027
4056
|
);
|
4028
4057
|
}
|
4029
4058
|
}
|
@@ -4129,7 +4158,7 @@ function create_each_block$6(ctx) {
|
|
4129
4158
|
};
|
4130
4159
|
}
|
4131
4160
|
|
4132
|
-
function create_fragment$
|
4161
|
+
function create_fragment$q(ctx) {
|
4133
4162
|
let each_1_anchor;
|
4134
4163
|
let each_value = /*items*/ ctx[0];
|
4135
4164
|
let each_blocks = [];
|
@@ -4195,7 +4224,7 @@ function create_fragment$p(ctx) {
|
|
4195
4224
|
|
4196
4225
|
const regexp = /(\r?\n)/;
|
4197
4226
|
|
4198
|
-
function instance$
|
4227
|
+
function instance$q($$self, $$props, $$invalidate) {
|
4199
4228
|
let items;
|
4200
4229
|
let { text = 'サンプルSample' } = $$props;
|
4201
4230
|
|
@@ -4215,17 +4244,17 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
4215
4244
|
class RenderText extends SvelteComponent {
|
4216
4245
|
constructor(options) {
|
4217
4246
|
super();
|
4218
|
-
init(this, options, instance$
|
4247
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, { text: 1 });
|
4219
4248
|
}
|
4220
4249
|
}
|
4221
4250
|
|
4222
4251
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4223
4252
|
|
4224
|
-
function add_css$
|
4253
|
+
function add_css$o(target) {
|
4225
4254
|
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}");
|
4226
4255
|
}
|
4227
4256
|
|
4228
|
-
// (
|
4257
|
+
// (58:2) {#if enableCopy}
|
4229
4258
|
function create_if_block$3(ctx) {
|
4230
4259
|
let div0;
|
4231
4260
|
let t0;
|
@@ -4278,7 +4307,7 @@ function create_if_block$3(ctx) {
|
|
4278
4307
|
};
|
4279
4308
|
}
|
4280
4309
|
|
4281
|
-
function create_fragment$
|
4310
|
+
function create_fragment$p(ctx) {
|
4282
4311
|
let div2;
|
4283
4312
|
let link;
|
4284
4313
|
let link_href_value;
|
@@ -4396,7 +4425,7 @@ function create_fragment$o(ctx) {
|
|
4396
4425
|
};
|
4397
4426
|
}
|
4398
4427
|
|
4399
|
-
function instance$
|
4428
|
+
function instance$p($$self, $$props, $$invalidate) {
|
4400
4429
|
let style;
|
4401
4430
|
let { text = 'サンプルSample' } = $$props;
|
4402
4431
|
let { enableCopy = false } = $$props;
|
@@ -4476,8 +4505,8 @@ class TextElement extends SvelteComponent {
|
|
4476
4505
|
init(
|
4477
4506
|
this,
|
4478
4507
|
options,
|
4479
|
-
instance$
|
4480
|
-
create_fragment$
|
4508
|
+
instance$p,
|
4509
|
+
create_fragment$p,
|
4481
4510
|
safe_not_equal,
|
4482
4511
|
{
|
4483
4512
|
text: 0,
|
@@ -4486,19 +4515,19 @@ class TextElement extends SvelteComponent {
|
|
4486
4515
|
textDirection: 2,
|
4487
4516
|
_style: 8
|
4488
4517
|
},
|
4489
|
-
add_css$
|
4518
|
+
add_css$o
|
4490
4519
|
);
|
4491
4520
|
}
|
4492
4521
|
}
|
4493
4522
|
|
4494
4523
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4495
4524
|
|
4496
|
-
function add_css$
|
4525
|
+
function add_css$n(target) {
|
4497
4526
|
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
4527
|
}
|
4499
4528
|
|
4500
4529
|
// (36:2) <Button onClick={onClick} {style} {eventName}>
|
4501
|
-
function create_default_slot$
|
4530
|
+
function create_default_slot$5(ctx) {
|
4502
4531
|
let rendertext;
|
4503
4532
|
let current;
|
4504
4533
|
rendertext = new RenderText({ props: { text: /*text*/ ctx[0] } });
|
@@ -4534,7 +4563,7 @@ function create_default_slot$3(ctx) {
|
|
4534
4563
|
};
|
4535
4564
|
}
|
4536
4565
|
|
4537
|
-
function create_fragment$
|
4566
|
+
function create_fragment$o(ctx) {
|
4538
4567
|
let div;
|
4539
4568
|
let link;
|
4540
4569
|
let link_href_value;
|
@@ -4547,7 +4576,7 @@ function create_fragment$n(ctx) {
|
|
4547
4576
|
onClick: /*onClick*/ ctx[1],
|
4548
4577
|
style: /*style*/ ctx[3],
|
4549
4578
|
eventName: /*eventName*/ ctx[2],
|
4550
|
-
$$slots: { default: [create_default_slot$
|
4579
|
+
$$slots: { default: [create_default_slot$5] },
|
4551
4580
|
$$scope: { ctx }
|
4552
4581
|
}
|
4553
4582
|
});
|
@@ -4613,7 +4642,7 @@ function create_fragment$n(ctx) {
|
|
4613
4642
|
};
|
4614
4643
|
}
|
4615
4644
|
|
4616
|
-
function instance$
|
4645
|
+
function instance$o($$self, $$props, $$invalidate) {
|
4617
4646
|
let style;
|
4618
4647
|
let { text = 'ボタンラベル' } = $$props;
|
4619
4648
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -4645,8 +4674,8 @@ class TextButtonElement extends SvelteComponent {
|
|
4645
4674
|
init(
|
4646
4675
|
this,
|
4647
4676
|
options,
|
4648
|
-
instance$
|
4649
|
-
create_fragment$
|
4677
|
+
instance$o,
|
4678
|
+
create_fragment$o,
|
4650
4679
|
safe_not_equal,
|
4651
4680
|
{
|
4652
4681
|
text: 0,
|
@@ -4655,19 +4684,19 @@ class TextButtonElement extends SvelteComponent {
|
|
4655
4684
|
_buttonStyle: 4,
|
4656
4685
|
_style: 5
|
4657
4686
|
},
|
4658
|
-
add_css$
|
4687
|
+
add_css$n
|
4659
4688
|
);
|
4660
4689
|
}
|
4661
4690
|
}
|
4662
4691
|
|
4663
4692
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4664
4693
|
|
4665
|
-
function add_css$
|
4694
|
+
function add_css$m(target) {
|
4666
4695
|
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%}");
|
4667
4696
|
}
|
4668
4697
|
|
4669
4698
|
// (40:2) <Button {onClick} style={_style} {eventName}>
|
4670
|
-
function create_default_slot$
|
4699
|
+
function create_default_slot$4(ctx) {
|
4671
4700
|
let img;
|
4672
4701
|
let img_src_value;
|
4673
4702
|
|
@@ -4720,7 +4749,7 @@ function create_default_slot$2(ctx) {
|
|
4720
4749
|
};
|
4721
4750
|
}
|
4722
4751
|
|
4723
|
-
function create_fragment$
|
4752
|
+
function create_fragment$n(ctx) {
|
4724
4753
|
let div;
|
4725
4754
|
let button;
|
4726
4755
|
let div_class_value;
|
@@ -4731,7 +4760,7 @@ function create_fragment$m(ctx) {
|
|
4731
4760
|
onClick: /*onClick*/ ctx[3],
|
4732
4761
|
style: /*_style*/ ctx[6],
|
4733
4762
|
eventName: /*eventName*/ ctx[4],
|
4734
|
-
$$slots: { default: [create_default_slot$
|
4763
|
+
$$slots: { default: [create_default_slot$4] },
|
4735
4764
|
$$scope: { ctx }
|
4736
4765
|
}
|
4737
4766
|
});
|
@@ -4789,7 +4818,7 @@ function create_fragment$m(ctx) {
|
|
4789
4818
|
};
|
4790
4819
|
}
|
4791
4820
|
|
4792
|
-
function instance$
|
4821
|
+
function instance$n($$self, $$props, $$invalidate) {
|
4793
4822
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
4794
4823
|
let { alt = 'No Image' } = $$props;
|
4795
4824
|
let { transport = false } = $$props;
|
@@ -4818,8 +4847,8 @@ class ImageElement extends SvelteComponent {
|
|
4818
4847
|
init(
|
4819
4848
|
this,
|
4820
4849
|
options,
|
4821
|
-
instance$
|
4822
|
-
create_fragment$
|
4850
|
+
instance$n,
|
4851
|
+
create_fragment$n,
|
4823
4852
|
safe_not_equal,
|
4824
4853
|
{
|
4825
4854
|
src: 0,
|
@@ -4830,18 +4859,18 @@ class ImageElement extends SvelteComponent {
|
|
4830
4859
|
_imageStyle: 5,
|
4831
4860
|
_style: 6
|
4832
4861
|
},
|
4833
|
-
add_css$
|
4862
|
+
add_css$m
|
4834
4863
|
);
|
4835
4864
|
}
|
4836
4865
|
}
|
4837
4866
|
|
4838
4867
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
4839
4868
|
|
4840
|
-
function add_css$
|
4869
|
+
function add_css$l(target) {
|
4841
4870
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
4842
4871
|
}
|
4843
4872
|
|
4844
|
-
function create_fragment$
|
4873
|
+
function create_fragment$m(ctx) {
|
4845
4874
|
let div;
|
4846
4875
|
let current;
|
4847
4876
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -4911,7 +4940,7 @@ function create_fragment$l(ctx) {
|
|
4911
4940
|
|
4912
4941
|
const LIST_CONTEXT_KEY = Symbol();
|
4913
4942
|
|
4914
|
-
function instance$
|
4943
|
+
function instance$m($$self, $$props, $$invalidate) {
|
4915
4944
|
let style;
|
4916
4945
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4917
4946
|
let { direction = 'vertical' } = $$props;
|
@@ -4934,7 +4963,7 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
4934
4963
|
}
|
4935
4964
|
});
|
4936
4965
|
|
4937
|
-
onMount(async () => {
|
4966
|
+
onMount$1(async () => {
|
4938
4967
|
items.forEach((item, index) => {
|
4939
4968
|
item.onMount({ index, length: items.length });
|
4940
4969
|
});
|
@@ -4978,8 +5007,8 @@ class List extends SvelteComponent {
|
|
4978
5007
|
init(
|
4979
5008
|
this,
|
4980
5009
|
options,
|
4981
|
-
instance$
|
4982
|
-
create_fragment$
|
5010
|
+
instance$m,
|
5011
|
+
create_fragment$m,
|
4983
5012
|
safe_not_equal,
|
4984
5013
|
{
|
4985
5014
|
direction: 1,
|
@@ -4987,19 +5016,19 @@ class List extends SvelteComponent {
|
|
4987
5016
|
background: 3,
|
4988
5017
|
_style: 4
|
4989
5018
|
},
|
4990
|
-
add_css$
|
5019
|
+
add_css$l
|
4991
5020
|
);
|
4992
5021
|
}
|
4993
5022
|
}
|
4994
5023
|
|
4995
5024
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4996
5025
|
|
4997
|
-
function add_css$
|
5026
|
+
function add_css$k(target) {
|
4998
5027
|
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}");
|
4999
5028
|
}
|
5000
5029
|
|
5001
5030
|
// (67:2) <Button {onClick} style={_style} eventName={clickEventName}>
|
5002
|
-
function create_default_slot$
|
5031
|
+
function create_default_slot$3(ctx) {
|
5003
5032
|
let current;
|
5004
5033
|
const default_slot_template = /*#slots*/ ctx[5].default;
|
5005
5034
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[6], null);
|
@@ -5049,7 +5078,7 @@ function create_default_slot$1(ctx) {
|
|
5049
5078
|
};
|
5050
5079
|
}
|
5051
5080
|
|
5052
|
-
function create_fragment$
|
5081
|
+
function create_fragment$l(ctx) {
|
5053
5082
|
let div;
|
5054
5083
|
let button;
|
5055
5084
|
let current;
|
@@ -5059,7 +5088,7 @@ function create_fragment$k(ctx) {
|
|
5059
5088
|
onClick: /*onClick*/ ctx[0],
|
5060
5089
|
style: /*_style*/ ctx[2],
|
5061
5090
|
eventName: /*clickEventName*/ ctx[1],
|
5062
|
-
$$slots: { default: [create_default_slot$
|
5091
|
+
$$slots: { default: [create_default_slot$3] },
|
5063
5092
|
$$scope: { ctx }
|
5064
5093
|
}
|
5065
5094
|
});
|
@@ -5118,7 +5147,7 @@ function create_fragment$k(ctx) {
|
|
5118
5147
|
};
|
5119
5148
|
}
|
5120
5149
|
|
5121
|
-
function instance$
|
5150
|
+
function instance$l($$self, $$props, $$invalidate) {
|
5122
5151
|
let listItemStyle;
|
5123
5152
|
let { $$slots: slots = {}, $$scope } = $$props;
|
5124
5153
|
const { separator, background, direction, registerItem, unregisterItem } = getContext(LIST_CONTEXT_KEY);
|
@@ -5197,17 +5226,17 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
5197
5226
|
class ListItem extends SvelteComponent {
|
5198
5227
|
constructor(options) {
|
5199
5228
|
super();
|
5200
|
-
init(this, options, instance$
|
5229
|
+
init(this, options, instance$l, create_fragment$l, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$k);
|
5201
5230
|
}
|
5202
5231
|
}
|
5203
5232
|
|
5204
5233
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
5205
5234
|
|
5206
|
-
function add_css$
|
5235
|
+
function add_css$j(target) {
|
5207
5236
|
append_styles(target, "svelte-1wusvum", ".embed.svelte-1wusvum{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-1wusvum iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
5208
5237
|
}
|
5209
5238
|
|
5210
|
-
function create_fragment$
|
5239
|
+
function create_fragment$k(ctx) {
|
5211
5240
|
let div;
|
5212
5241
|
|
5213
5242
|
return {
|
@@ -5243,7 +5272,7 @@ function create_fragment$j(ctx) {
|
|
5243
5272
|
};
|
5244
5273
|
}
|
5245
5274
|
|
5246
|
-
function instance$
|
5275
|
+
function instance$k($$self, $$props, $$invalidate) {
|
5247
5276
|
let { code } = $$props;
|
5248
5277
|
let { _style = '' } = $$props;
|
5249
5278
|
|
@@ -5258,17 +5287,17 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
5258
5287
|
class EmbedElement extends SvelteComponent {
|
5259
5288
|
constructor(options) {
|
5260
5289
|
super();
|
5261
|
-
init(this, options, instance$
|
5290
|
+
init(this, options, instance$k, create_fragment$k, safe_not_equal, { code: 0, _style: 1 }, add_css$j);
|
5262
5291
|
}
|
5263
5292
|
}
|
5264
5293
|
|
5265
5294
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
5266
5295
|
|
5267
|
-
function add_css$
|
5296
|
+
function add_css$i(target) {
|
5268
5297
|
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
5269
5298
|
}
|
5270
5299
|
|
5271
|
-
function create_fragment$
|
5300
|
+
function create_fragment$j(ctx) {
|
5272
5301
|
let div1;
|
5273
5302
|
let div0;
|
5274
5303
|
|
@@ -5310,7 +5339,7 @@ function create_fragment$i(ctx) {
|
|
5310
5339
|
};
|
5311
5340
|
}
|
5312
5341
|
|
5313
|
-
function instance$
|
5342
|
+
function instance$j($$self, $$props, $$invalidate) {
|
5314
5343
|
let $system;
|
5315
5344
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5316
5345
|
let { videoId = "sSgN-L4DU0c" } = $$props;
|
@@ -5435,7 +5464,7 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
5435
5464
|
});
|
5436
5465
|
}
|
5437
5466
|
|
5438
|
-
onMount(() => {
|
5467
|
+
onMount$1(() => {
|
5439
5468
|
setTimeout(
|
5440
5469
|
() => {
|
5441
5470
|
// @ts-ignore
|
@@ -5489,8 +5518,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5489
5518
|
init(
|
5490
5519
|
this,
|
5491
5520
|
options,
|
5492
|
-
instance$
|
5493
|
-
create_fragment$
|
5521
|
+
instance$j,
|
5522
|
+
create_fragment$j,
|
5494
5523
|
safe_not_equal,
|
5495
5524
|
{
|
5496
5525
|
videoId: 2,
|
@@ -5500,18 +5529,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5500
5529
|
mute: 6,
|
5501
5530
|
_style: 0
|
5502
5531
|
},
|
5503
|
-
add_css$
|
5532
|
+
add_css$i
|
5504
5533
|
);
|
5505
5534
|
}
|
5506
5535
|
}
|
5507
5536
|
|
5508
5537
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5509
5538
|
|
5510
|
-
function add_css$
|
5539
|
+
function add_css$h(target) {
|
5511
5540
|
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
5512
5541
|
}
|
5513
5542
|
|
5514
|
-
function create_fragment$
|
5543
|
+
function create_fragment$i(ctx) {
|
5515
5544
|
let div1;
|
5516
5545
|
let div0;
|
5517
5546
|
|
@@ -5553,7 +5582,7 @@ function create_fragment$h(ctx) {
|
|
5553
5582
|
};
|
5554
5583
|
}
|
5555
5584
|
|
5556
|
-
function instance$
|
5585
|
+
function instance$i($$self, $$props, $$invalidate) {
|
5557
5586
|
let $system;
|
5558
5587
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5559
5588
|
let { videoId = "201239468" } = $$props;
|
@@ -5648,7 +5677,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
5648
5677
|
onPlayerReady();
|
5649
5678
|
}
|
5650
5679
|
|
5651
|
-
onMount(() => {
|
5680
|
+
onMount$1(() => {
|
5652
5681
|
setTimeout(
|
5653
5682
|
() => {
|
5654
5683
|
// @ts-ignore
|
@@ -5696,8 +5725,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5696
5725
|
init(
|
5697
5726
|
this,
|
5698
5727
|
options,
|
5699
|
-
instance$
|
5700
|
-
create_fragment$
|
5728
|
+
instance$i,
|
5729
|
+
create_fragment$i,
|
5701
5730
|
safe_not_equal,
|
5702
5731
|
{
|
5703
5732
|
videoId: 2,
|
@@ -5707,18 +5736,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5707
5736
|
mute: 6,
|
5708
5737
|
_style: 0
|
5709
5738
|
},
|
5710
|
-
add_css$
|
5739
|
+
add_css$h
|
5711
5740
|
);
|
5712
5741
|
}
|
5713
5742
|
}
|
5714
5743
|
|
5715
5744
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
5716
5745
|
|
5717
|
-
function add_css$
|
5746
|
+
function add_css$g(target) {
|
5718
5747
|
append_styles(target, "svelte-kyay3k", ".textarea-wrapper.svelte-kyay3k{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-kyay3k{width:100%;resize:none}");
|
5719
5748
|
}
|
5720
5749
|
|
5721
|
-
function create_fragment$
|
5750
|
+
function create_fragment$h(ctx) {
|
5722
5751
|
let div;
|
5723
5752
|
let textarea;
|
5724
5753
|
let mounted;
|
@@ -5788,7 +5817,7 @@ function create_fragment$g(ctx) {
|
|
5788
5817
|
};
|
5789
5818
|
}
|
5790
5819
|
|
5791
|
-
function instance$
|
5820
|
+
function instance$h($$self, $$props, $$invalidate) {
|
5792
5821
|
let $value;
|
5793
5822
|
let { name = '' } = $$props;
|
5794
5823
|
let { required = true } = $$props;
|
@@ -5829,8 +5858,8 @@ class FormTextarea extends SvelteComponent {
|
|
5829
5858
|
init(
|
5830
5859
|
this,
|
5831
5860
|
options,
|
5832
|
-
instance$
|
5833
|
-
create_fragment$
|
5861
|
+
instance$h,
|
5862
|
+
create_fragment$h,
|
5834
5863
|
safe_not_equal,
|
5835
5864
|
{
|
5836
5865
|
name: 6,
|
@@ -5838,14 +5867,14 @@ class FormTextarea extends SvelteComponent {
|
|
5838
5867
|
rows: 1,
|
5839
5868
|
placeholder: 2
|
5840
5869
|
},
|
5841
|
-
add_css$
|
5870
|
+
add_css$g
|
5842
5871
|
);
|
5843
5872
|
}
|
5844
5873
|
}
|
5845
5874
|
|
5846
5875
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5847
5876
|
|
5848
|
-
function add_css$
|
5877
|
+
function add_css$f(target) {
|
5849
5878
|
append_styles(target, "svelte-17s08g", ".radio-buttons.svelte-17s08g{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-17s08g{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-17s08g{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-17s08g:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-17s08g{margin-left:0.5em}");
|
5850
5879
|
}
|
5851
5880
|
|
@@ -5856,7 +5885,7 @@ function get_each_context$5(ctx, list, i) {
|
|
5856
5885
|
return child_ctx;
|
5857
5886
|
}
|
5858
5887
|
|
5859
|
-
// (
|
5888
|
+
// (89:2) {#each _options as option, i}
|
5860
5889
|
function create_each_block$5(ctx) {
|
5861
5890
|
let label;
|
5862
5891
|
let input;
|
@@ -5957,8 +5986,11 @@ function create_each_block$5(ctx) {
|
|
5957
5986
|
};
|
5958
5987
|
}
|
5959
5988
|
|
5960
|
-
function create_fragment$
|
5989
|
+
function create_fragment$g(ctx) {
|
5961
5990
|
let div;
|
5991
|
+
let link;
|
5992
|
+
let link_href_value;
|
5993
|
+
let t;
|
5962
5994
|
let each_value = /*_options*/ ctx[4];
|
5963
5995
|
let each_blocks = [];
|
5964
5996
|
|
@@ -5969,6 +6001,8 @@ function create_fragment$f(ctx) {
|
|
5969
6001
|
return {
|
5970
6002
|
c() {
|
5971
6003
|
div = element("div");
|
6004
|
+
link = element("link");
|
6005
|
+
t = space();
|
5972
6006
|
|
5973
6007
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5974
6008
|
each_blocks[i].c();
|
@@ -5979,6 +6013,8 @@ function create_fragment$f(ctx) {
|
|
5979
6013
|
l(nodes) {
|
5980
6014
|
div = claim_element(nodes, "DIV", { class: true, style: true });
|
5981
6015
|
var div_nodes = children(div);
|
6016
|
+
link = claim_element(div_nodes, "LINK", { href: true, rel: true });
|
6017
|
+
t = claim_space(div_nodes);
|
5982
6018
|
|
5983
6019
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5984
6020
|
each_blocks[i].l(div_nodes);
|
@@ -5988,17 +6024,25 @@ function create_fragment$f(ctx) {
|
|
5988
6024
|
this.h();
|
5989
6025
|
},
|
5990
6026
|
h() {
|
6027
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[4].join('')}`);
|
6028
|
+
attr(link, "rel", "stylesheet");
|
5991
6029
|
attr(div, "class", "radio-buttons svelte-17s08g");
|
5992
6030
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
5993
6031
|
},
|
5994
6032
|
m(target, anchor) {
|
5995
6033
|
insert_hydration(target, div, anchor);
|
6034
|
+
append_hydration(div, link);
|
6035
|
+
append_hydration(div, t);
|
5996
6036
|
|
5997
6037
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5998
6038
|
each_blocks[i].m(div, null);
|
5999
6039
|
}
|
6000
6040
|
},
|
6001
6041
|
p(ctx, [dirty]) {
|
6042
|
+
if (dirty & /*_options*/ 16 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[4].join('')}`)) {
|
6043
|
+
attr(link, "href", link_href_value);
|
6044
|
+
}
|
6045
|
+
|
6002
6046
|
if (dirty & /*_textStyle, _options, buttonStyle, name, _value, handleChange*/ 189) {
|
6003
6047
|
each_value = /*_options*/ ctx[4];
|
6004
6048
|
let i;
|
@@ -6035,7 +6079,7 @@ function create_fragment$f(ctx) {
|
|
6035
6079
|
};
|
6036
6080
|
}
|
6037
6081
|
|
6038
|
-
function instance$
|
6082
|
+
function instance$g($$self, $$props, $$invalidate) {
|
6039
6083
|
let _options;
|
6040
6084
|
let buttonStyle;
|
6041
6085
|
let _value;
|
@@ -6126,8 +6170,8 @@ class FormRadioButtons extends SvelteComponent {
|
|
6126
6170
|
init(
|
6127
6171
|
this,
|
6128
6172
|
options,
|
6129
|
-
instance$
|
6130
|
-
create_fragment$
|
6173
|
+
instance$g,
|
6174
|
+
create_fragment$g,
|
6131
6175
|
safe_not_equal,
|
6132
6176
|
{
|
6133
6177
|
name: 0,
|
@@ -6139,14 +6183,14 @@ class FormRadioButtons extends SvelteComponent {
|
|
6139
6183
|
buttonColor: 11,
|
6140
6184
|
buttonColorActive: 12
|
6141
6185
|
},
|
6142
|
-
add_css$
|
6186
|
+
add_css$f
|
6143
6187
|
);
|
6144
6188
|
}
|
6145
6189
|
}
|
6146
6190
|
|
6147
6191
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
6148
6192
|
|
6149
|
-
function add_css$
|
6193
|
+
function add_css$e(target) {
|
6150
6194
|
append_styles(target, "svelte-1n4ag74", ".select.svelte-1n4ag74{width:100%;height:100%}.select-select.svelte-1n4ag74{position:relative;appearance:none;width:100%;height:100%}.select-select.svelte-1n4ag74:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.select-icon.svelte-1n4ag74{position:absolute;width:calc(var(--icon-size) / 1.41);height:calc(var(--icon-size) / 1.41);top:calc(50% - calc(var(--icon-size) / 4));right:calc(var(--icon-size) * 1.2);box-sizing:border-box;border-right:solid 2px var(--icon-color);border-top:solid 2px var(--icon-color);transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
|
6151
6195
|
}
|
6152
6196
|
|
@@ -6157,7 +6201,7 @@ function get_each_context$4(ctx, list, i) {
|
|
6157
6201
|
return child_ctx;
|
6158
6202
|
}
|
6159
6203
|
|
6160
|
-
// (
|
6204
|
+
// (99:10) {:else}
|
6161
6205
|
function create_else_block(ctx) {
|
6162
6206
|
let t;
|
6163
6207
|
|
@@ -6180,7 +6224,7 @@ function create_else_block(ctx) {
|
|
6180
6224
|
};
|
6181
6225
|
}
|
6182
6226
|
|
6183
|
-
// (
|
6227
|
+
// (97:10) {#if option}
|
6184
6228
|
function create_if_block$2(ctx) {
|
6185
6229
|
let t_value = /*option*/ ctx[18] + "";
|
6186
6230
|
let t;
|
@@ -6204,7 +6248,7 @@ function create_if_block$2(ctx) {
|
|
6204
6248
|
};
|
6205
6249
|
}
|
6206
6250
|
|
6207
|
-
// (
|
6251
|
+
// (95:6) {#each _options as option, i}
|
6208
6252
|
function create_each_block$4(ctx) {
|
6209
6253
|
let option;
|
6210
6254
|
let t;
|
@@ -6273,10 +6317,13 @@ function create_each_block$4(ctx) {
|
|
6273
6317
|
};
|
6274
6318
|
}
|
6275
6319
|
|
6276
|
-
function create_fragment$
|
6320
|
+
function create_fragment$f(ctx) {
|
6277
6321
|
let div1;
|
6322
|
+
let link;
|
6323
|
+
let link_href_value;
|
6324
|
+
let t0;
|
6278
6325
|
let select;
|
6279
|
-
let
|
6326
|
+
let t1;
|
6280
6327
|
let div0;
|
6281
6328
|
let mounted;
|
6282
6329
|
let dispose;
|
@@ -6290,19 +6337,23 @@ function create_fragment$e(ctx) {
|
|
6290
6337
|
return {
|
6291
6338
|
c() {
|
6292
6339
|
div1 = element("div");
|
6340
|
+
link = element("link");
|
6341
|
+
t0 = space();
|
6293
6342
|
select = element("select");
|
6294
6343
|
|
6295
6344
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6296
6345
|
each_blocks[i].c();
|
6297
6346
|
}
|
6298
6347
|
|
6299
|
-
|
6348
|
+
t1 = space();
|
6300
6349
|
div0 = element("div");
|
6301
6350
|
this.h();
|
6302
6351
|
},
|
6303
6352
|
l(nodes) {
|
6304
6353
|
div1 = claim_element(nodes, "DIV", { class: true, style: true });
|
6305
6354
|
var div1_nodes = children(div1);
|
6355
|
+
link = claim_element(div1_nodes, "LINK", { href: true, rel: true });
|
6356
|
+
t0 = claim_space(div1_nodes);
|
6306
6357
|
select = claim_element(div1_nodes, "SELECT", { class: true, style: true });
|
6307
6358
|
var select_nodes = children(select);
|
6308
6359
|
|
@@ -6311,13 +6362,15 @@ function create_fragment$e(ctx) {
|
|
6311
6362
|
}
|
6312
6363
|
|
6313
6364
|
select_nodes.forEach(detach);
|
6314
|
-
|
6365
|
+
t1 = claim_space(div1_nodes);
|
6315
6366
|
div0 = claim_element(div1_nodes, "DIV", { class: true });
|
6316
6367
|
children(div0).forEach(detach);
|
6317
6368
|
div1_nodes.forEach(detach);
|
6318
6369
|
this.h();
|
6319
6370
|
},
|
6320
6371
|
h() {
|
6372
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${[/*placeholder*/ ctx[0], .../*_options*/ ctx[4]].join('')}`);
|
6373
|
+
attr(link, "rel", "stylesheet");
|
6321
6374
|
attr(select, "class", "select-select svelte-1n4ag74");
|
6322
6375
|
attr(select, "style", /*style*/ ctx[3]);
|
6323
6376
|
attr(div0, "class", "select-icon svelte-1n4ag74");
|
@@ -6326,13 +6379,15 @@ function create_fragment$e(ctx) {
|
|
6326
6379
|
},
|
6327
6380
|
m(target, anchor) {
|
6328
6381
|
insert_hydration(target, div1, anchor);
|
6382
|
+
append_hydration(div1, link);
|
6383
|
+
append_hydration(div1, t0);
|
6329
6384
|
append_hydration(div1, select);
|
6330
6385
|
|
6331
6386
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6332
6387
|
each_blocks[i].m(select, null);
|
6333
6388
|
}
|
6334
6389
|
|
6335
|
-
append_hydration(div1,
|
6390
|
+
append_hydration(div1, t1);
|
6336
6391
|
append_hydration(div1, div0);
|
6337
6392
|
|
6338
6393
|
if (!mounted) {
|
@@ -6341,6 +6396,10 @@ function create_fragment$e(ctx) {
|
|
6341
6396
|
}
|
6342
6397
|
},
|
6343
6398
|
p(ctx, [dirty]) {
|
6399
|
+
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('')}`)) {
|
6400
|
+
attr(link, "href", link_href_value);
|
6401
|
+
}
|
6402
|
+
|
6344
6403
|
if (dirty & /*_options, _value, placeholder*/ 19) {
|
6345
6404
|
each_value = /*_options*/ ctx[4];
|
6346
6405
|
let i;
|
@@ -6383,7 +6442,7 @@ function create_fragment$e(ctx) {
|
|
6383
6442
|
};
|
6384
6443
|
}
|
6385
6444
|
|
6386
|
-
function instance$
|
6445
|
+
function instance$f($$self, $$props, $$invalidate) {
|
6387
6446
|
let _options;
|
6388
6447
|
let style;
|
6389
6448
|
let styleVariables;
|
@@ -6492,8 +6551,8 @@ class FormSelect extends SvelteComponent {
|
|
6492
6551
|
init(
|
6493
6552
|
this,
|
6494
6553
|
options,
|
6495
|
-
instance$
|
6496
|
-
create_fragment$
|
6554
|
+
instance$f,
|
6555
|
+
create_fragment$f,
|
6497
6556
|
safe_not_equal,
|
6498
6557
|
{
|
6499
6558
|
name: 7,
|
@@ -6507,14 +6566,14 @@ class FormSelect extends SvelteComponent {
|
|
6507
6566
|
iconColor: 14,
|
6508
6567
|
iconSize: 15
|
6509
6568
|
},
|
6510
|
-
add_css$
|
6569
|
+
add_css$e
|
6511
6570
|
);
|
6512
6571
|
}
|
6513
6572
|
}
|
6514
6573
|
|
6515
6574
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6516
6575
|
|
6517
|
-
function add_css$
|
6576
|
+
function add_css$d(target) {
|
6518
6577
|
append_styles(target, "svelte-o1ztcf", ".check-boxes.svelte-o1ztcf.svelte-o1ztcf{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.check-box.svelte-o1ztcf.svelte-o1ztcf{display:flex;align-items:center;position:relative;cursor:pointer}.check-box-input.svelte-o1ztcf.svelte-o1ztcf{width:0;height:0;margin:0}.check-box-check.svelte-o1ztcf.svelte-o1ztcf{display:inline-flex;background-color:var(--color-main);width:var(--size);height:var(--size);border-radius:calc(var(--size) / 4);justify-content:center;align-items:center;flex:none}.check-box-icon.svelte-o1ztcf.svelte-o1ztcf{display:inline-block;--icon-size:calc(var(--size) * 3 / 4);width:var(--icon-size);height:var(--icon-size)}.check-box-icon.svelte-o1ztcf.svelte-o1ztcf:after{content:'';display:block;box-sizing:border-box;width:45%;height:91%;transform:translate(60%, -8%) rotate(45deg);border-style:none solid solid none;border-width:2px;border-color:var(--color-sub)}.check-box-check._checked.svelte-o1ztcf.svelte-o1ztcf{background-color:var(--color-main-active)}.check-box-check._checked.svelte-o1ztcf .check-box-icon.svelte-o1ztcf:after{border-color:var(--color-sub-active)}.check-box-text.svelte-o1ztcf.svelte-o1ztcf{margin-left:0.5em}");
|
6519
6578
|
}
|
6520
6579
|
|
@@ -6525,7 +6584,7 @@ function get_each_context$3(ctx, list, i) {
|
|
6525
6584
|
return child_ctx;
|
6526
6585
|
}
|
6527
6586
|
|
6528
|
-
// (
|
6587
|
+
// (95:2) {#each _options as option, i}
|
6529
6588
|
function create_each_block$3(ctx) {
|
6530
6589
|
let label;
|
6531
6590
|
let input;
|
@@ -6642,8 +6701,11 @@ function create_each_block$3(ctx) {
|
|
6642
6701
|
};
|
6643
6702
|
}
|
6644
6703
|
|
6645
|
-
function create_fragment$
|
6704
|
+
function create_fragment$e(ctx) {
|
6646
6705
|
let div;
|
6706
|
+
let link;
|
6707
|
+
let link_href_value;
|
6708
|
+
let t;
|
6647
6709
|
let each_value = /*_options*/ ctx[3];
|
6648
6710
|
let each_blocks = [];
|
6649
6711
|
|
@@ -6654,6 +6716,8 @@ function create_fragment$d(ctx) {
|
|
6654
6716
|
return {
|
6655
6717
|
c() {
|
6656
6718
|
div = element("div");
|
6719
|
+
link = element("link");
|
6720
|
+
t = space();
|
6657
6721
|
|
6658
6722
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6659
6723
|
each_blocks[i].c();
|
@@ -6664,6 +6728,8 @@ function create_fragment$d(ctx) {
|
|
6664
6728
|
l(nodes) {
|
6665
6729
|
div = claim_element(nodes, "DIV", { class: true, style: true });
|
6666
6730
|
var div_nodes = children(div);
|
6731
|
+
link = claim_element(div_nodes, "LINK", { href: true, rel: true });
|
6732
|
+
t = claim_space(div_nodes);
|
6667
6733
|
|
6668
6734
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6669
6735
|
each_blocks[i].l(div_nodes);
|
@@ -6673,18 +6739,26 @@ function create_fragment$d(ctx) {
|
|
6673
6739
|
this.h();
|
6674
6740
|
},
|
6675
6741
|
h() {
|
6742
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[3].join('')}`);
|
6743
|
+
attr(link, "rel", "stylesheet");
|
6676
6744
|
attr(div, "class", "check-boxes svelte-o1ztcf");
|
6677
6745
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
6678
6746
|
},
|
6679
6747
|
m(target, anchor) {
|
6680
6748
|
insert_hydration(target, div, anchor);
|
6749
|
+
append_hydration(div, link);
|
6750
|
+
append_hydration(div, t);
|
6681
6751
|
|
6682
6752
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6683
6753
|
each_blocks[i].m(div, null);
|
6684
6754
|
}
|
6685
6755
|
},
|
6686
6756
|
p(ctx, [dirty]) {
|
6687
|
-
if (dirty & /*
|
6757
|
+
if (dirty & /*_options*/ 8 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[3].join('')}`)) {
|
6758
|
+
attr(link, "href", link_href_value);
|
6759
|
+
}
|
6760
|
+
|
6761
|
+
if (dirty & /*_textStyle, _options, isCheckedArray, styleVariables, name, handleChange*/ 189) {
|
6688
6762
|
each_value = /*_options*/ ctx[3];
|
6689
6763
|
let i;
|
6690
6764
|
|
@@ -6720,7 +6794,7 @@ function create_fragment$d(ctx) {
|
|
6720
6794
|
};
|
6721
6795
|
}
|
6722
6796
|
|
6723
|
-
function instance$
|
6797
|
+
function instance$e($$self, $$props, $$invalidate) {
|
6724
6798
|
let _options;
|
6725
6799
|
let styleVariables;
|
6726
6800
|
let isCheckedArray;
|
@@ -6817,8 +6891,8 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6817
6891
|
init(
|
6818
6892
|
this,
|
6819
6893
|
options,
|
6820
|
-
instance$
|
6821
|
-
create_fragment$
|
6894
|
+
instance$e,
|
6895
|
+
create_fragment$e,
|
6822
6896
|
safe_not_equal,
|
6823
6897
|
{
|
6824
6898
|
name: 0,
|
@@ -6830,14 +6904,14 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6830
6904
|
buttonColor: 11,
|
6831
6905
|
buttonColorActive: 12
|
6832
6906
|
},
|
6833
|
-
add_css$
|
6907
|
+
add_css$d
|
6834
6908
|
);
|
6835
6909
|
}
|
6836
6910
|
}
|
6837
6911
|
|
6838
6912
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
6839
6913
|
|
6840
|
-
function add_css$
|
6914
|
+
function add_css$c(target) {
|
6841
6915
|
append_styles(target, "svelte-176k37j", ".rating-buttons.svelte-176k37j{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-176k37j{cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s, box-shadow 0.2s}");
|
6842
6916
|
}
|
6843
6917
|
|
@@ -6847,7 +6921,7 @@ function get_each_context$2(ctx, list, i) {
|
|
6847
6921
|
return child_ctx;
|
6848
6922
|
}
|
6849
6923
|
|
6850
|
-
// (
|
6924
|
+
// (52:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6851
6925
|
function create_each_block$2(ctx) {
|
6852
6926
|
let div;
|
6853
6927
|
let t0_value = /*i*/ ctx[11] + "";
|
@@ -6905,8 +6979,10 @@ function create_each_block$2(ctx) {
|
|
6905
6979
|
};
|
6906
6980
|
}
|
6907
6981
|
|
6908
|
-
function create_fragment$
|
6982
|
+
function create_fragment$d(ctx) {
|
6909
6983
|
let div;
|
6984
|
+
let link;
|
6985
|
+
let t;
|
6910
6986
|
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6911
6987
|
let each_blocks = [];
|
6912
6988
|
|
@@ -6917,6 +6993,8 @@ function create_fragment$c(ctx) {
|
|
6917
6993
|
return {
|
6918
6994
|
c() {
|
6919
6995
|
div = element("div");
|
6996
|
+
link = element("link");
|
6997
|
+
t = space();
|
6920
6998
|
|
6921
6999
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6922
7000
|
each_blocks[i].c();
|
@@ -6927,6 +7005,8 @@ function create_fragment$c(ctx) {
|
|
6927
7005
|
l(nodes) {
|
6928
7006
|
div = claim_element(nodes, "DIV", { class: true });
|
6929
7007
|
var div_nodes = children(div);
|
7008
|
+
link = claim_element(div_nodes, "LINK", { href: true, rel: true });
|
7009
|
+
t = claim_space(div_nodes);
|
6930
7010
|
|
6931
7011
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6932
7012
|
each_blocks[i].l(div_nodes);
|
@@ -6936,10 +7016,14 @@ function create_fragment$c(ctx) {
|
|
6936
7016
|
this.h();
|
6937
7017
|
},
|
6938
7018
|
h() {
|
7019
|
+
attr(link, "href", `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=0123456789`);
|
7020
|
+
attr(link, "rel", "stylesheet");
|
6939
7021
|
attr(div, "class", "rating-buttons svelte-176k37j");
|
6940
7022
|
},
|
6941
7023
|
m(target, anchor) {
|
6942
7024
|
insert_hydration(target, div, anchor);
|
7025
|
+
append_hydration(div, link);
|
7026
|
+
append_hydration(div, t);
|
6943
7027
|
|
6944
7028
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6945
7029
|
each_blocks[i].m(div, null);
|
@@ -6980,14 +7064,14 @@ function create_fragment$c(ctx) {
|
|
6980
7064
|
|
6981
7065
|
const func$1 = i => i + 1;
|
6982
7066
|
|
6983
|
-
function instance$
|
7067
|
+
function instance$d($$self, $$props, $$invalidate) {
|
6984
7068
|
let _value;
|
6985
7069
|
let $value;
|
6986
7070
|
let { name = '' } = $$props;
|
6987
7071
|
let { required = false } = $$props;
|
6988
7072
|
let { count = 5 } = $$props;
|
6989
|
-
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:
|
6990
|
-
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px
|
7073
|
+
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;
|
7074
|
+
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px 8px 16px 0px rgba(0, 16, 14, 0.3);' } = $$props;
|
6991
7075
|
const { path: statePath } = getStateItemContext();
|
6992
7076
|
|
6993
7077
|
const value = registerInput({
|
@@ -7047,8 +7131,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
7047
7131
|
init(
|
7048
7132
|
this,
|
7049
7133
|
options,
|
7050
|
-
instance$
|
7051
|
-
create_fragment$
|
7134
|
+
instance$d,
|
7135
|
+
create_fragment$d,
|
7052
7136
|
safe_not_equal,
|
7053
7137
|
{
|
7054
7138
|
name: 5,
|
@@ -7057,14 +7141,14 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
7057
7141
|
buttonStyle: 7,
|
7058
7142
|
buttonActiveStyle: 8
|
7059
7143
|
},
|
7060
|
-
add_css$
|
7144
|
+
add_css$c
|
7061
7145
|
);
|
7062
7146
|
}
|
7063
7147
|
}
|
7064
7148
|
|
7065
7149
|
/* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
|
7066
7150
|
|
7067
|
-
function add_css$
|
7151
|
+
function add_css$b(target) {
|
7068
7152
|
append_styles(target, "svelte-12ew9od", ".rating-buttons.svelte-12ew9od{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-12ew9od{cursor:pointer;user-select:none;-webkit-user-drag:none}.rating-button.svelte-12ew9od:not(._active){filter:grayscale(100%)}");
|
7069
7153
|
}
|
7070
7154
|
|
@@ -7130,7 +7214,7 @@ function create_each_block$1(ctx) {
|
|
7130
7214
|
};
|
7131
7215
|
}
|
7132
7216
|
|
7133
|
-
function create_fragment$
|
7217
|
+
function create_fragment$c(ctx) {
|
7134
7218
|
let div;
|
7135
7219
|
let each_value = [...Array(count).keys()].reverse().map(func);
|
7136
7220
|
let each_blocks = [];
|
@@ -7206,7 +7290,7 @@ function create_fragment$b(ctx) {
|
|
7206
7290
|
const count = 5;
|
7207
7291
|
const func = i => i + 1;
|
7208
7292
|
|
7209
|
-
function instance$
|
7293
|
+
function instance$c($$self, $$props, $$invalidate) {
|
7210
7294
|
let _value;
|
7211
7295
|
let buttonStyle;
|
7212
7296
|
let $value;
|
@@ -7262,13 +7346,13 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
7262
7346
|
class FormRatingButtonsFace extends SvelteComponent {
|
7263
7347
|
constructor(options) {
|
7264
7348
|
super();
|
7265
|
-
init(this, options, instance$
|
7349
|
+
init(this, options, instance$c, create_fragment$c, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$b);
|
7266
7350
|
}
|
7267
7351
|
}
|
7268
7352
|
|
7269
7353
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
7270
7354
|
|
7271
|
-
function add_css$
|
7355
|
+
function add_css$a(target) {
|
7272
7356
|
append_styles(target, "svelte-1wlcw5a", ".root.svelte-1wlcw5a{width:100%;height:100%;position:relative}.container.svelte-1wlcw5a{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box}.slide.svelte-1wlcw5a{height:100%;position:absolute;display:flex}.transition.svelte-1wlcw5a{transition:left 0.2s cubic-bezier(.04,.67,.53,.96)}.item.svelte-1wlcw5a{height:100%;flex:none}.prev-button.svelte-1wlcw5a,.next-button.svelte-1wlcw5a{top:50%;height:0;position:absolute;display:flex;overflow:visible;align-items:center}.prev-button.svelte-1wlcw5a{left:0}.next-button.svelte-1wlcw5a{right:0}.button-container.svelte-1wlcw5a{display:flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box}.navigation.svelte-1wlcw5a{position:absolute;width:0;left:50%;bottom:0;display:flex;justify-content:center;overflow:visible}.navigation-item.svelte-1wlcw5a{flex-shrink:0;cursor:pointer}.navigation-item-inner.circle.svelte-1wlcw5a{border-radius:51%}");
|
7273
7357
|
}
|
7274
7358
|
|
@@ -7479,7 +7563,7 @@ function create_each_block(ctx) {
|
|
7479
7563
|
};
|
7480
7564
|
}
|
7481
7565
|
|
7482
|
-
function create_fragment$
|
7566
|
+
function create_fragment$b(ctx) {
|
7483
7567
|
let div3;
|
7484
7568
|
let div1;
|
7485
7569
|
let div0;
|
@@ -7692,7 +7776,7 @@ function calcPositionIndex(shift, index, length) {
|
|
7692
7776
|
}
|
7693
7777
|
}
|
7694
7778
|
|
7695
|
-
function instance$
|
7779
|
+
function instance$b($$self, $$props, $$invalidate) {
|
7696
7780
|
let slideStyle;
|
7697
7781
|
let slideClass;
|
7698
7782
|
let _loop;
|
@@ -7922,7 +8006,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
7922
8006
|
fixSlidePosition();
|
7923
8007
|
}
|
7924
8008
|
|
7925
|
-
onMount(async () => {
|
8009
|
+
onMount$1(async () => {
|
7926
8010
|
containerWidth = containerElement.clientWidth;
|
7927
8011
|
|
7928
8012
|
items.forEach(item => {
|
@@ -8129,8 +8213,8 @@ class Slide extends SvelteComponent {
|
|
8129
8213
|
init(
|
8130
8214
|
this,
|
8131
8215
|
options,
|
8132
|
-
instance$
|
8133
|
-
create_fragment$
|
8216
|
+
instance$b,
|
8217
|
+
create_fragment$b,
|
8134
8218
|
safe_not_equal,
|
8135
8219
|
{
|
8136
8220
|
loop: 18,
|
@@ -8144,7 +8228,7 @@ class Slide extends SvelteComponent {
|
|
8144
8228
|
navigationButton: 25,
|
8145
8229
|
navigationEdgePosition: 26
|
8146
8230
|
},
|
8147
|
-
add_css$
|
8231
|
+
add_css$a,
|
8148
8232
|
[-1, -1]
|
8149
8233
|
);
|
8150
8234
|
}
|
@@ -8152,11 +8236,11 @@ class Slide extends SvelteComponent {
|
|
8152
8236
|
|
8153
8237
|
/* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
|
8154
8238
|
|
8155
|
-
function add_css$
|
8239
|
+
function add_css$9(target) {
|
8156
8240
|
append_styles(target, "svelte-xzo1un", ".item.svelte-xzo1un{height:100%;flex:none;position:relative}.item.svelte-xzo1un img{user-select:none;-webkit-user-drag:none}.item-inner.svelte-xzo1un{position:absolute;inset:0}");
|
8157
8241
|
}
|
8158
8242
|
|
8159
|
-
function create_fragment$
|
8243
|
+
function create_fragment$a(ctx) {
|
8160
8244
|
let div1;
|
8161
8245
|
let div0;
|
8162
8246
|
let current;
|
@@ -8236,7 +8320,7 @@ function create_fragment$9(ctx) {
|
|
8236
8320
|
};
|
8237
8321
|
}
|
8238
8322
|
|
8239
|
-
function instance$
|
8323
|
+
function instance$a($$self, $$props, $$invalidate) {
|
8240
8324
|
let itemStyle;
|
8241
8325
|
let { $$slots: slots = {}, $$scope } = $$props;
|
8242
8326
|
const { registerItem, unregisterItem } = getContext('SLIDE');
|
@@ -8302,20 +8386,20 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
8302
8386
|
class SlideItem extends SvelteComponent {
|
8303
8387
|
constructor(options) {
|
8304
8388
|
super();
|
8305
|
-
init(this, options, instance$
|
8389
|
+
init(this, options, instance$a, create_fragment$a, safe_not_equal, { _style: 0 }, add_css$9);
|
8306
8390
|
}
|
8307
8391
|
}
|
8308
8392
|
|
8309
8393
|
/* src/components/Countdown.svelte generated by Svelte v3.53.1 */
|
8310
8394
|
|
8311
|
-
function add_css$
|
8395
|
+
function add_css$8(target) {
|
8312
8396
|
append_styles(target, "svelte-qx7l0c", ".countdown.svelte-qx7l0c{position:relative;width:100%;height:100%}.countdown-inner.svelte-qx7l0c{position:absolute;inset:0}");
|
8313
8397
|
}
|
8314
8398
|
|
8315
8399
|
const get_default_slot_changes = dirty => ({ countdown: dirty & /*countdown*/ 2 });
|
8316
8400
|
const get_default_slot_context = ctx => ({ countdown: /*countdown*/ ctx[1] });
|
8317
8401
|
|
8318
|
-
function create_fragment$
|
8402
|
+
function create_fragment$9(ctx) {
|
8319
8403
|
let div1;
|
8320
8404
|
let div0;
|
8321
8405
|
let current;
|
@@ -8408,7 +8492,7 @@ function formatTimeDiff(ms) {
|
|
8408
8492
|
};
|
8409
8493
|
}
|
8410
8494
|
|
8411
|
-
function instance$
|
8495
|
+
function instance$9($$self, $$props, $$invalidate) {
|
8412
8496
|
let countdown;
|
8413
8497
|
let { $$slots: slots = {}, $$scope } = $$props;
|
8414
8498
|
let { timeLimit = '2023/12/31 23:59:59' } = $$props;
|
@@ -8426,7 +8510,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
8426
8510
|
}
|
8427
8511
|
}
|
8428
8512
|
|
8429
|
-
onMount(() => {
|
8513
|
+
onMount$1(() => {
|
8430
8514
|
const timerId = setInterval(
|
8431
8515
|
() => {
|
8432
8516
|
onEachSecond();
|
@@ -8465,74 +8549,51 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
8465
8549
|
class Countdown extends SvelteComponent {
|
8466
8550
|
constructor(options) {
|
8467
8551
|
super();
|
8468
|
-
init(this, options, instance$
|
8552
|
+
init(this, options, instance$9, create_fragment$9, safe_not_equal, { timeLimit: 2, stateOnEnd: 3, _style: 0 }, add_css$8);
|
8469
8553
|
}
|
8470
8554
|
}
|
8471
8555
|
|
8472
8556
|
/* src/components/Box.svelte generated by Svelte v3.53.1 */
|
8473
8557
|
|
8474
|
-
function add_css$
|
8475
|
-
append_styles(target, "svelte-
|
8558
|
+
function add_css$7(target) {
|
8559
|
+
append_styles(target, "svelte-1d6pgu1", ".box.svelte-1d6pgu1{position:relative;width:100%;height:100%}.box.svelte-1d6pgu1 > .button{position:absolute;inset:0}");
|
8476
8560
|
}
|
8477
8561
|
|
8478
|
-
|
8479
|
-
|
8480
|
-
let div0;
|
8562
|
+
// (24:2) <Button {onClick} style={_style} {eventName}>
|
8563
|
+
function create_default_slot$2(ctx) {
|
8481
8564
|
let current;
|
8482
|
-
const default_slot_template = /*#slots*/ ctx[
|
8483
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
8565
|
+
const default_slot_template = /*#slots*/ ctx[3].default;
|
8566
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[4], null);
|
8484
8567
|
|
8485
8568
|
return {
|
8486
8569
|
c() {
|
8487
|
-
div1 = element("div");
|
8488
|
-
div0 = element("div");
|
8489
8570
|
if (default_slot) default_slot.c();
|
8490
|
-
this.h();
|
8491
8571
|
},
|
8492
8572
|
l(nodes) {
|
8493
|
-
|
8494
|
-
var div1_nodes = children(div1);
|
8495
|
-
div0 = claim_element(div1_nodes, "DIV", { class: true, style: true });
|
8496
|
-
var div0_nodes = children(div0);
|
8497
|
-
if (default_slot) default_slot.l(div0_nodes);
|
8498
|
-
div0_nodes.forEach(detach);
|
8499
|
-
div1_nodes.forEach(detach);
|
8500
|
-
this.h();
|
8501
|
-
},
|
8502
|
-
h() {
|
8503
|
-
attr(div0, "class", "box svelte-aept6n");
|
8504
|
-
attr(div0, "style", /*_style*/ ctx[0]);
|
8505
|
-
attr(div1, "class", "box-wrapper svelte-aept6n");
|
8573
|
+
if (default_slot) default_slot.l(nodes);
|
8506
8574
|
},
|
8507
8575
|
m(target, anchor) {
|
8508
|
-
insert_hydration(target, div1, anchor);
|
8509
|
-
append_hydration(div1, div0);
|
8510
|
-
|
8511
8576
|
if (default_slot) {
|
8512
|
-
default_slot.m(
|
8577
|
+
default_slot.m(target, anchor);
|
8513
8578
|
}
|
8514
8579
|
|
8515
8580
|
current = true;
|
8516
8581
|
},
|
8517
|
-
p(ctx,
|
8582
|
+
p(ctx, dirty) {
|
8518
8583
|
if (default_slot) {
|
8519
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
8584
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 16)) {
|
8520
8585
|
update_slot_base(
|
8521
8586
|
default_slot,
|
8522
8587
|
default_slot_template,
|
8523
8588
|
ctx,
|
8524
|
-
/*$$scope*/ ctx[
|
8589
|
+
/*$$scope*/ ctx[4],
|
8525
8590
|
!current
|
8526
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
8527
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
8591
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[4])
|
8592
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[4], dirty, null),
|
8528
8593
|
null
|
8529
8594
|
);
|
8530
8595
|
}
|
8531
8596
|
}
|
8532
|
-
|
8533
|
-
if (!current || dirty & /*_style*/ 1) {
|
8534
|
-
attr(div0, "style", /*_style*/ ctx[0]);
|
8535
|
-
}
|
8536
8597
|
},
|
8537
8598
|
i(local) {
|
8538
8599
|
if (current) return;
|
@@ -8544,38 +8605,105 @@ function create_fragment$7(ctx) {
|
|
8544
8605
|
current = false;
|
8545
8606
|
},
|
8546
8607
|
d(detaching) {
|
8547
|
-
if (detaching) detach(div1);
|
8548
8608
|
if (default_slot) default_slot.d(detaching);
|
8549
8609
|
}
|
8550
8610
|
};
|
8551
8611
|
}
|
8552
8612
|
|
8553
|
-
function
|
8613
|
+
function create_fragment$8(ctx) {
|
8614
|
+
let div;
|
8615
|
+
let button;
|
8616
|
+
let current;
|
8617
|
+
|
8618
|
+
button = new Button({
|
8619
|
+
props: {
|
8620
|
+
onClick: /*onClick*/ ctx[0],
|
8621
|
+
style: /*_style*/ ctx[2],
|
8622
|
+
eventName: /*eventName*/ ctx[1],
|
8623
|
+
$$slots: { default: [create_default_slot$2] },
|
8624
|
+
$$scope: { ctx }
|
8625
|
+
}
|
8626
|
+
});
|
8627
|
+
|
8628
|
+
return {
|
8629
|
+
c() {
|
8630
|
+
div = element("div");
|
8631
|
+
create_component(button.$$.fragment);
|
8632
|
+
this.h();
|
8633
|
+
},
|
8634
|
+
l(nodes) {
|
8635
|
+
div = claim_element(nodes, "DIV", { class: true });
|
8636
|
+
var div_nodes = children(div);
|
8637
|
+
claim_component(button.$$.fragment, div_nodes);
|
8638
|
+
div_nodes.forEach(detach);
|
8639
|
+
this.h();
|
8640
|
+
},
|
8641
|
+
h() {
|
8642
|
+
attr(div, "class", "box svelte-1d6pgu1");
|
8643
|
+
},
|
8644
|
+
m(target, anchor) {
|
8645
|
+
insert_hydration(target, div, anchor);
|
8646
|
+
mount_component(button, div, null);
|
8647
|
+
current = true;
|
8648
|
+
},
|
8649
|
+
p(ctx, [dirty]) {
|
8650
|
+
const button_changes = {};
|
8651
|
+
if (dirty & /*onClick*/ 1) button_changes.onClick = /*onClick*/ ctx[0];
|
8652
|
+
if (dirty & /*_style*/ 4) button_changes.style = /*_style*/ ctx[2];
|
8653
|
+
if (dirty & /*eventName*/ 2) button_changes.eventName = /*eventName*/ ctx[1];
|
8654
|
+
|
8655
|
+
if (dirty & /*$$scope*/ 16) {
|
8656
|
+
button_changes.$$scope = { dirty, ctx };
|
8657
|
+
}
|
8658
|
+
|
8659
|
+
button.$set(button_changes);
|
8660
|
+
},
|
8661
|
+
i(local) {
|
8662
|
+
if (current) return;
|
8663
|
+
transition_in(button.$$.fragment, local);
|
8664
|
+
current = true;
|
8665
|
+
},
|
8666
|
+
o(local) {
|
8667
|
+
transition_out(button.$$.fragment, local);
|
8668
|
+
current = false;
|
8669
|
+
},
|
8670
|
+
d(detaching) {
|
8671
|
+
if (detaching) detach(div);
|
8672
|
+
destroy_component(button);
|
8673
|
+
}
|
8674
|
+
};
|
8675
|
+
}
|
8676
|
+
|
8677
|
+
function instance$8($$self, $$props, $$invalidate) {
|
8554
8678
|
let { $$slots: slots = {}, $$scope } = $$props;
|
8679
|
+
let { onClick = { operation: 'none', args: [] } } = $$props;
|
8680
|
+
let { eventName = '' } = $$props;
|
8555
8681
|
let { _style = '' } = $$props;
|
8556
8682
|
|
8557
8683
|
$$self.$$set = $$props => {
|
8558
|
-
if ('
|
8559
|
-
if ('
|
8684
|
+
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
8685
|
+
if ('eventName' in $$props) $$invalidate(1, eventName = $$props.eventName);
|
8686
|
+
if ('_style' in $$props) $$invalidate(2, _style = $$props._style);
|
8687
|
+
if ('$$scope' in $$props) $$invalidate(4, $$scope = $$props.$$scope);
|
8560
8688
|
};
|
8561
8689
|
|
8562
|
-
return [_style, $$scope
|
8690
|
+
return [onClick, eventName, _style, slots, $$scope];
|
8563
8691
|
}
|
8564
8692
|
|
8565
8693
|
class Box extends SvelteComponent {
|
8566
8694
|
constructor(options) {
|
8567
8695
|
super();
|
8568
|
-
init(this, options, instance$
|
8696
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { onClick: 0, eventName: 1, _style: 2 }, add_css$7);
|
8569
8697
|
}
|
8570
8698
|
}
|
8571
8699
|
|
8572
8700
|
/* src/components/IconElement.svelte generated by Svelte v3.53.1 */
|
8573
8701
|
|
8574
|
-
function add_css$
|
8575
|
-
append_styles(target, "svelte-
|
8702
|
+
function add_css$6(target) {
|
8703
|
+
append_styles(target, "svelte-1mkvcuo", ".icon.svelte-1mkvcuo{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.icon.svelte-1mkvcuo > .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}.icon.svelte-1mkvcuo > .button._disabled{cursor:not-allowed !important;opacity:0.2}.icon.svelte-1mkvcuo svg{width:var(--width);height:var(--height);color:var(--color);stroke:var(--stroke);fill:var(--fill)}");
|
8576
8704
|
}
|
8577
8705
|
|
8578
|
-
// (
|
8706
|
+
// (56:4) {#if svg}
|
8579
8707
|
function create_if_block(ctx) {
|
8580
8708
|
let html_tag;
|
8581
8709
|
let html_anchor;
|
@@ -8595,11 +8723,11 @@ function create_if_block(ctx) {
|
|
8595
8723
|
html_tag.a = html_anchor;
|
8596
8724
|
},
|
8597
8725
|
m(target, anchor) {
|
8598
|
-
html_tag.m(/*svg*/ ctx[
|
8726
|
+
html_tag.m(/*svg*/ ctx[3], target, anchor);
|
8599
8727
|
insert_hydration(target, html_anchor, anchor);
|
8600
8728
|
},
|
8601
8729
|
p(ctx, dirty) {
|
8602
|
-
if (dirty & /*svg*/
|
8730
|
+
if (dirty & /*svg*/ 8) html_tag.p(/*svg*/ ctx[3]);
|
8603
8731
|
},
|
8604
8732
|
d(detaching) {
|
8605
8733
|
if (detaching) detach(html_anchor);
|
@@ -8608,54 +8736,105 @@ function create_if_block(ctx) {
|
|
8608
8736
|
};
|
8609
8737
|
}
|
8610
8738
|
|
8611
|
-
|
8612
|
-
|
8613
|
-
let
|
8739
|
+
// (55:2) <Button {onClick} {style} {eventName}>
|
8740
|
+
function create_default_slot$1(ctx) {
|
8741
|
+
let if_block_anchor;
|
8742
|
+
let if_block = /*svg*/ ctx[3] && create_if_block(ctx);
|
8614
8743
|
|
8615
8744
|
return {
|
8616
8745
|
c() {
|
8617
|
-
div = element("div");
|
8618
8746
|
if (if_block) if_block.c();
|
8619
|
-
|
8747
|
+
if_block_anchor = empty();
|
8620
8748
|
},
|
8621
8749
|
l(nodes) {
|
8622
|
-
|
8623
|
-
|
8624
|
-
if (if_block) if_block.l(div_nodes);
|
8625
|
-
div_nodes.forEach(detach);
|
8626
|
-
this.h();
|
8627
|
-
},
|
8628
|
-
h() {
|
8629
|
-
attr(div, "class", "icon svelte-1773k1k");
|
8630
|
-
attr(div, "style", /*style*/ ctx[0]);
|
8750
|
+
if (if_block) if_block.l(nodes);
|
8751
|
+
if_block_anchor = empty();
|
8631
8752
|
},
|
8632
8753
|
m(target, anchor) {
|
8633
|
-
|
8634
|
-
|
8754
|
+
if (if_block) if_block.m(target, anchor);
|
8755
|
+
insert_hydration(target, if_block_anchor, anchor);
|
8635
8756
|
},
|
8636
|
-
p(ctx,
|
8637
|
-
if (/*svg*/ ctx[
|
8757
|
+
p(ctx, dirty) {
|
8758
|
+
if (/*svg*/ ctx[3]) {
|
8638
8759
|
if (if_block) {
|
8639
8760
|
if_block.p(ctx, dirty);
|
8640
8761
|
} else {
|
8641
8762
|
if_block = create_if_block(ctx);
|
8642
8763
|
if_block.c();
|
8643
|
-
if_block.m(
|
8764
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
8644
8765
|
}
|
8645
8766
|
} else if (if_block) {
|
8646
8767
|
if_block.d(1);
|
8647
8768
|
if_block = null;
|
8648
8769
|
}
|
8770
|
+
},
|
8771
|
+
d(detaching) {
|
8772
|
+
if (if_block) if_block.d(detaching);
|
8773
|
+
if (detaching) detach(if_block_anchor);
|
8774
|
+
}
|
8775
|
+
};
|
8776
|
+
}
|
8649
8777
|
|
8650
|
-
|
8651
|
-
|
8778
|
+
function create_fragment$7(ctx) {
|
8779
|
+
let div;
|
8780
|
+
let button;
|
8781
|
+
let current;
|
8782
|
+
|
8783
|
+
button = new Button({
|
8784
|
+
props: {
|
8785
|
+
onClick: /*onClick*/ ctx[0],
|
8786
|
+
style: /*style*/ ctx[2],
|
8787
|
+
eventName: /*eventName*/ ctx[1],
|
8788
|
+
$$slots: { default: [create_default_slot$1] },
|
8789
|
+
$$scope: { ctx }
|
8652
8790
|
}
|
8791
|
+
});
|
8792
|
+
|
8793
|
+
return {
|
8794
|
+
c() {
|
8795
|
+
div = element("div");
|
8796
|
+
create_component(button.$$.fragment);
|
8797
|
+
this.h();
|
8798
|
+
},
|
8799
|
+
l(nodes) {
|
8800
|
+
div = claim_element(nodes, "DIV", { class: true });
|
8801
|
+
var div_nodes = children(div);
|
8802
|
+
claim_component(button.$$.fragment, div_nodes);
|
8803
|
+
div_nodes.forEach(detach);
|
8804
|
+
this.h();
|
8805
|
+
},
|
8806
|
+
h() {
|
8807
|
+
attr(div, "class", "icon svelte-1mkvcuo");
|
8808
|
+
},
|
8809
|
+
m(target, anchor) {
|
8810
|
+
insert_hydration(target, div, anchor);
|
8811
|
+
mount_component(button, div, null);
|
8812
|
+
current = true;
|
8813
|
+
},
|
8814
|
+
p(ctx, [dirty]) {
|
8815
|
+
const button_changes = {};
|
8816
|
+
if (dirty & /*onClick*/ 1) button_changes.onClick = /*onClick*/ ctx[0];
|
8817
|
+
if (dirty & /*style*/ 4) button_changes.style = /*style*/ ctx[2];
|
8818
|
+
if (dirty & /*eventName*/ 2) button_changes.eventName = /*eventName*/ ctx[1];
|
8819
|
+
|
8820
|
+
if (dirty & /*$$scope, svg*/ 520) {
|
8821
|
+
button_changes.$$scope = { dirty, ctx };
|
8822
|
+
}
|
8823
|
+
|
8824
|
+
button.$set(button_changes);
|
8825
|
+
},
|
8826
|
+
i(local) {
|
8827
|
+
if (current) return;
|
8828
|
+
transition_in(button.$$.fragment, local);
|
8829
|
+
current = true;
|
8830
|
+
},
|
8831
|
+
o(local) {
|
8832
|
+
transition_out(button.$$.fragment, local);
|
8833
|
+
current = false;
|
8653
8834
|
},
|
8654
|
-
i: noop,
|
8655
|
-
o: noop,
|
8656
8835
|
d(detaching) {
|
8657
8836
|
if (detaching) detach(div);
|
8658
|
-
|
8837
|
+
destroy_component(button);
|
8659
8838
|
}
|
8660
8839
|
};
|
8661
8840
|
}
|
@@ -8667,47 +8846,186 @@ function parseData(dataUrl) {
|
|
8667
8846
|
return decodeURIComponent(data).replaceAll('\'', '"');
|
8668
8847
|
}
|
8669
8848
|
|
8670
|
-
function instance$
|
8849
|
+
function instance$7($$self, $$props, $$invalidate) {
|
8671
8850
|
let svg;
|
8672
8851
|
let styleVariables;
|
8673
8852
|
let style;
|
8674
8853
|
let { icon = '' } = $$props;
|
8854
|
+
let { onClick = { operation: 'none', args: [] } } = $$props;
|
8855
|
+
let { eventName = '' } = $$props;
|
8675
8856
|
let { size = '20px' } = $$props;
|
8676
8857
|
let { color = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
8677
8858
|
let { _style = '' } = $$props;
|
8678
8859
|
|
8679
8860
|
$$self.$$set = $$props => {
|
8680
|
-
if ('icon' in $$props) $$invalidate(
|
8681
|
-
if ('
|
8682
|
-
if ('
|
8683
|
-
if ('
|
8861
|
+
if ('icon' in $$props) $$invalidate(4, icon = $$props.icon);
|
8862
|
+
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
8863
|
+
if ('eventName' in $$props) $$invalidate(1, eventName = $$props.eventName);
|
8864
|
+
if ('size' in $$props) $$invalidate(5, size = $$props.size);
|
8865
|
+
if ('color' in $$props) $$invalidate(6, color = $$props.color);
|
8866
|
+
if ('_style' in $$props) $$invalidate(7, _style = $$props._style);
|
8684
8867
|
};
|
8685
8868
|
|
8686
8869
|
$$self.$$.update = () => {
|
8687
|
-
if ($$self.$$.dirty & /*icon*/
|
8688
|
-
$$invalidate(
|
8870
|
+
if ($$self.$$.dirty & /*icon*/ 16) {
|
8871
|
+
$$invalidate(3, svg = (() => {
|
8689
8872
|
if (!icon) return;
|
8690
8873
|
const original = parseData(icon);
|
8691
8874
|
return original;
|
8692
8875
|
})());
|
8693
8876
|
}
|
8694
8877
|
|
8695
|
-
if ($$self.$$.dirty & /*size, color*/
|
8696
|
-
$$invalidate(
|
8878
|
+
if ($$self.$$.dirty & /*size, color*/ 96) {
|
8879
|
+
$$invalidate(8, styleVariables = `--width: ${size}; --height: ${size}; --color: ${color}; --stroke: ${color}; --fill: ${color};`);
|
8697
8880
|
}
|
8698
8881
|
|
8699
|
-
if ($$self.$$.dirty & /*_style, styleVariables*/
|
8700
|
-
$$invalidate(
|
8882
|
+
if ($$self.$$.dirty & /*_style, styleVariables*/ 384) {
|
8883
|
+
$$invalidate(2, style = [..._style.split(';'), ...styleVariables.split(';')].join(';'));
|
8701
8884
|
}
|
8702
8885
|
};
|
8703
8886
|
|
8704
|
-
return [style, svg, icon, size, color, _style, styleVariables];
|
8887
|
+
return [onClick, eventName, style, svg, icon, size, color, _style, styleVariables];
|
8705
8888
|
}
|
8706
8889
|
|
8707
8890
|
class IconElement extends SvelteComponent {
|
8708
8891
|
constructor(options) {
|
8709
8892
|
super();
|
8710
|
-
|
8893
|
+
|
8894
|
+
init(
|
8895
|
+
this,
|
8896
|
+
options,
|
8897
|
+
instance$7,
|
8898
|
+
create_fragment$7,
|
8899
|
+
safe_not_equal,
|
8900
|
+
{
|
8901
|
+
icon: 4,
|
8902
|
+
onClick: 0,
|
8903
|
+
eventName: 1,
|
8904
|
+
size: 5,
|
8905
|
+
color: 6,
|
8906
|
+
_style: 7
|
8907
|
+
},
|
8908
|
+
add_css$6
|
8909
|
+
);
|
8910
|
+
}
|
8911
|
+
}
|
8912
|
+
|
8913
|
+
/* src/components/CustomElement.svelte generated by Svelte v3.53.1 */
|
8914
|
+
|
8915
|
+
function add_css$5(target) {
|
8916
|
+
append_styles(target, "svelte-wps40", ".customElement.svelte-wps40{box-sizing:border-box;margin:0px;padding:0px}");
|
8917
|
+
}
|
8918
|
+
|
8919
|
+
function create_fragment$6(ctx) {
|
8920
|
+
let div;
|
8921
|
+
let switch_instance;
|
8922
|
+
let current;
|
8923
|
+
var switch_value = /*component*/ ctx[1];
|
8924
|
+
|
8925
|
+
function switch_props(ctx) {
|
8926
|
+
return {
|
8927
|
+
props: {
|
8928
|
+
name: /*name*/ ctx[0],
|
8929
|
+
data: /*data*/ ctx[2]
|
8930
|
+
}
|
8931
|
+
};
|
8932
|
+
}
|
8933
|
+
|
8934
|
+
if (switch_value) {
|
8935
|
+
switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
|
8936
|
+
}
|
8937
|
+
|
8938
|
+
return {
|
8939
|
+
c() {
|
8940
|
+
div = element("div");
|
8941
|
+
if (switch_instance) create_component(switch_instance.$$.fragment);
|
8942
|
+
this.h();
|
8943
|
+
},
|
8944
|
+
l(nodes) {
|
8945
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
8946
|
+
var div_nodes = children(div);
|
8947
|
+
if (switch_instance) claim_component(switch_instance.$$.fragment, div_nodes);
|
8948
|
+
div_nodes.forEach(detach);
|
8949
|
+
this.h();
|
8950
|
+
},
|
8951
|
+
h() {
|
8952
|
+
attr(div, "class", "customElement svelte-wps40");
|
8953
|
+
attr(div, "style", /*style*/ ctx[3]);
|
8954
|
+
},
|
8955
|
+
m(target, anchor) {
|
8956
|
+
insert_hydration(target, div, anchor);
|
8957
|
+
if (switch_instance) mount_component(switch_instance, div, null);
|
8958
|
+
current = true;
|
8959
|
+
},
|
8960
|
+
p(ctx, [dirty]) {
|
8961
|
+
const switch_instance_changes = {};
|
8962
|
+
if (dirty & /*name*/ 1) switch_instance_changes.name = /*name*/ ctx[0];
|
8963
|
+
if (dirty & /*data*/ 4) switch_instance_changes.data = /*data*/ ctx[2];
|
8964
|
+
|
8965
|
+
if (switch_value !== (switch_value = /*component*/ ctx[1])) {
|
8966
|
+
if (switch_instance) {
|
8967
|
+
group_outros();
|
8968
|
+
const old_component = switch_instance;
|
8969
|
+
|
8970
|
+
transition_out(old_component.$$.fragment, 1, 0, () => {
|
8971
|
+
destroy_component(old_component, 1);
|
8972
|
+
});
|
8973
|
+
|
8974
|
+
check_outros();
|
8975
|
+
}
|
8976
|
+
|
8977
|
+
if (switch_value) {
|
8978
|
+
switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
|
8979
|
+
create_component(switch_instance.$$.fragment);
|
8980
|
+
transition_in(switch_instance.$$.fragment, 1);
|
8981
|
+
mount_component(switch_instance, div, null);
|
8982
|
+
} else {
|
8983
|
+
switch_instance = null;
|
8984
|
+
}
|
8985
|
+
} else if (switch_value) {
|
8986
|
+
switch_instance.$set(switch_instance_changes);
|
8987
|
+
}
|
8988
|
+
|
8989
|
+
if (!current || dirty & /*style*/ 8) {
|
8990
|
+
attr(div, "style", /*style*/ ctx[3]);
|
8991
|
+
}
|
8992
|
+
},
|
8993
|
+
i(local) {
|
8994
|
+
if (current) return;
|
8995
|
+
if (switch_instance) transition_in(switch_instance.$$.fragment, local);
|
8996
|
+
current = true;
|
8997
|
+
},
|
8998
|
+
o(local) {
|
8999
|
+
if (switch_instance) transition_out(switch_instance.$$.fragment, local);
|
9000
|
+
current = false;
|
9001
|
+
},
|
9002
|
+
d(detaching) {
|
9003
|
+
if (detaching) detach(div);
|
9004
|
+
if (switch_instance) destroy_component(switch_instance);
|
9005
|
+
}
|
9006
|
+
};
|
9007
|
+
}
|
9008
|
+
|
9009
|
+
function instance$6($$self, $$props, $$invalidate) {
|
9010
|
+
let { name } = $$props;
|
9011
|
+
let { component } = $$props;
|
9012
|
+
let { data } = $$props;
|
9013
|
+
let { style } = $$props;
|
9014
|
+
|
9015
|
+
$$self.$$set = $$props => {
|
9016
|
+
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
9017
|
+
if ('component' in $$props) $$invalidate(1, component = $$props.component);
|
9018
|
+
if ('data' in $$props) $$invalidate(2, data = $$props.data);
|
9019
|
+
if ('style' in $$props) $$invalidate(3, style = $$props.style);
|
9020
|
+
};
|
9021
|
+
|
9022
|
+
return [name, component, data, style];
|
9023
|
+
}
|
9024
|
+
|
9025
|
+
class CustomElement extends SvelteComponent {
|
9026
|
+
constructor(options) {
|
9027
|
+
super();
|
9028
|
+
init(this, options, instance$6, create_fragment$6, safe_not_equal, { name: 0, component: 1, data: 2, style: 3 }, add_css$5);
|
8711
9029
|
}
|
8712
9030
|
}
|
8713
9031
|
|
@@ -9692,4 +10010,4 @@ class ImageBlock extends SvelteComponent {
|
|
9692
10010
|
}
|
9693
10011
|
}
|
9694
10012
|
|
9695
|
-
export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, Box, ClipPaths, Countdown, Cursors, DefaultEdgePosition, DefaultFormButtonColor, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, resetEventHandlers, resetVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, variables, widget };
|
10013
|
+
export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, Box, ClipPaths, Countdown, Cursors, CustomElement, DefaultEdgePosition, DefaultFormButtonColor, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYOUT_COMPONENT_NAMES, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, resetEventHandlers, resetVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
|