@plaidev/karte-action-sdk 1.1.156 → 1.1.157
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 +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/index.es.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import { linear, elasticOut, cubicOut } from '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, mount_component, insert, 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, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, HtmlTag } 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, mount_component, insert, 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, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, HtmlTag, construct_svelte_component } from 'svelte/internal';
|
6
5
|
|
7
6
|
/** @internal */
|
8
7
|
const PropTypes = [
|
@@ -1124,25 +1123,14 @@ async function loadGlobalStyle(href) {
|
|
1124
1123
|
link.addEventListener('error', () => reject(link));
|
1125
1124
|
});
|
1126
1125
|
}
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
*
|
1136
|
-
* @internal
|
1137
|
-
*/
|
1138
|
-
function hashCode(s) {
|
1139
|
-
const SEED = 0x41653150;
|
1140
|
-
let hash = SEED;
|
1141
|
-
Array.from(s).forEach((c, index) => {
|
1142
|
-
hash ^= c.charCodeAt(index);
|
1143
|
-
hash += (hash << 1) + (hash << 4) + (hash << 7) + (hash << 8) + (hash << 24);
|
1144
|
-
});
|
1145
|
-
return ('0000000' + (hash >>> 0).toString(16)).substr(-8);
|
1126
|
+
// @internal
|
1127
|
+
function getCssVariables(data) {
|
1128
|
+
return Object.entries(data)
|
1129
|
+
.filter(([key, value]) => {
|
1130
|
+
return ['string', 'number'].includes(typeof value) && key.startsWith('--');
|
1131
|
+
})
|
1132
|
+
.map(([key, value]) => `${key}:${value}`)
|
1133
|
+
.join(';');
|
1146
1134
|
}
|
1147
1135
|
|
1148
1136
|
/**
|
@@ -2378,22 +2366,63 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2378
2366
|
storage: storage
|
2379
2367
|
});
|
2380
2368
|
|
2369
|
+
/**
|
2370
|
+
* エレメントをマウントしたときに実行される関数の登録
|
2371
|
+
*
|
2372
|
+
* @param fn - マウントしたときに実行される関数
|
2373
|
+
*/
|
2374
|
+
const onMount = onMount$1;
|
2375
|
+
/**
|
2376
|
+
* エレメントを破棄したときに実行される関数の登録
|
2377
|
+
*
|
2378
|
+
* @param fn - マウントしたときに実行される関数
|
2379
|
+
*/
|
2380
|
+
const onDestory = onDestroy$1;
|
2381
|
+
/**
|
2382
|
+
* エレメントを更新する前に実行される関数の登録
|
2383
|
+
*
|
2384
|
+
* @param fn - マウントしたときに実行される関数
|
2385
|
+
*/
|
2386
|
+
const beforeUpdate = beforeUpdate$1;
|
2387
|
+
/**
|
2388
|
+
* エレメントを更新した後に実行される関数の登録
|
2389
|
+
*
|
2390
|
+
* @param fn - マウントしたときに実行される関数
|
2391
|
+
*/
|
2392
|
+
const afterUpdate = afterUpdate$1;
|
2393
|
+
/**
|
2394
|
+
* エレメントのライフサイクルを進める
|
2395
|
+
*
|
2396
|
+
* @returns Promise<void>
|
2397
|
+
*/
|
2398
|
+
const tick = tick$1;
|
2399
|
+
// @internal
|
2400
|
+
const LAYOUT_COMPONENT_NAMES = [
|
2401
|
+
'BreakPoint',
|
2402
|
+
'BreakPointItem',
|
2403
|
+
'Grid',
|
2404
|
+
'GridItem',
|
2405
|
+
'Modal',
|
2406
|
+
'State',
|
2407
|
+
'StateItem',
|
2408
|
+
];
|
2409
|
+
|
2381
2410
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2382
2411
|
|
2383
|
-
function add_css$
|
2412
|
+
function add_css$u(target) {
|
2384
2413
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2385
2414
|
}
|
2386
2415
|
|
2387
2416
|
class Normalize extends SvelteComponent {
|
2388
2417
|
constructor(options) {
|
2389
2418
|
super();
|
2390
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2419
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$u);
|
2391
2420
|
}
|
2392
2421
|
}
|
2393
2422
|
|
2394
2423
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2395
2424
|
|
2396
|
-
function create_fragment$
|
2425
|
+
function create_fragment$x(ctx) {
|
2397
2426
|
let normalize;
|
2398
2427
|
let t;
|
2399
2428
|
let current;
|
@@ -2452,7 +2481,7 @@ function create_fragment$w(ctx) {
|
|
2452
2481
|
};
|
2453
2482
|
}
|
2454
2483
|
|
2455
|
-
function instance$
|
2484
|
+
function instance$x($$self, $$props, $$invalidate) {
|
2456
2485
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2457
2486
|
|
2458
2487
|
$$self.$$set = $$props => {
|
@@ -2465,13 +2494,13 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
2465
2494
|
class State extends SvelteComponent {
|
2466
2495
|
constructor(options) {
|
2467
2496
|
super();
|
2468
|
-
init(this, options, instance$
|
2497
|
+
init(this, options, instance$x, create_fragment$x, safe_not_equal, {});
|
2469
2498
|
}
|
2470
2499
|
}
|
2471
2500
|
|
2472
2501
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2473
2502
|
|
2474
|
-
function add_css$
|
2503
|
+
function add_css$t(target) {
|
2475
2504
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2476
2505
|
}
|
2477
2506
|
|
@@ -2538,7 +2567,7 @@ function create_if_block$8(ctx) {
|
|
2538
2567
|
};
|
2539
2568
|
}
|
2540
2569
|
|
2541
|
-
function create_fragment$
|
2570
|
+
function create_fragment$w(ctx) {
|
2542
2571
|
let if_block_anchor;
|
2543
2572
|
let current;
|
2544
2573
|
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$8(ctx);
|
@@ -2599,7 +2628,7 @@ function getStateItemContext() {
|
|
2599
2628
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2600
2629
|
}
|
2601
2630
|
|
2602
|
-
function instance$
|
2631
|
+
function instance$w($$self, $$props, $$invalidate) {
|
2603
2632
|
let $state;
|
2604
2633
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2605
2634
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2625,13 +2654,13 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
2625
2654
|
class StateItem extends SvelteComponent {
|
2626
2655
|
constructor(options) {
|
2627
2656
|
super();
|
2628
|
-
init(this, options, instance$
|
2657
|
+
init(this, options, instance$w, create_fragment$w, safe_not_equal, { path: 0 }, add_css$t);
|
2629
2658
|
}
|
2630
2659
|
}
|
2631
2660
|
|
2632
2661
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2633
2662
|
|
2634
|
-
function add_css$
|
2663
|
+
function add_css$s(target) {
|
2635
2664
|
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}");
|
2636
2665
|
}
|
2637
2666
|
|
@@ -2663,7 +2692,7 @@ function create_if_block$7(ctx) {
|
|
2663
2692
|
};
|
2664
2693
|
}
|
2665
2694
|
|
2666
|
-
function create_fragment$
|
2695
|
+
function create_fragment$v(ctx) {
|
2667
2696
|
let if_block_anchor;
|
2668
2697
|
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$7(ctx);
|
2669
2698
|
|
@@ -2699,7 +2728,7 @@ function create_fragment$u(ctx) {
|
|
2699
2728
|
};
|
2700
2729
|
}
|
2701
2730
|
|
2702
|
-
function instance$
|
2731
|
+
function instance$v($$self, $$props, $$invalidate) {
|
2703
2732
|
let { backgroundOverray = false } = $$props;
|
2704
2733
|
const dispatch = createEventDispatcher();
|
2705
2734
|
const click_handler = () => dispatch('click');
|
@@ -2714,13 +2743,13 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
2714
2743
|
class BackgroundOverray extends SvelteComponent {
|
2715
2744
|
constructor(options) {
|
2716
2745
|
super();
|
2717
|
-
init(this, options, instance$
|
2746
|
+
init(this, options, instance$v, create_fragment$v, safe_not_equal, { backgroundOverray: 0 }, add_css$s);
|
2718
2747
|
}
|
2719
2748
|
}
|
2720
2749
|
|
2721
2750
|
/* src/components/Button.svelte generated by Svelte v3.53.1 */
|
2722
2751
|
|
2723
|
-
function add_css$
|
2752
|
+
function add_css$r(target) {
|
2724
2753
|
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}");
|
2725
2754
|
}
|
2726
2755
|
|
@@ -2981,7 +3010,7 @@ function create_if_block$6(ctx) {
|
|
2981
3010
|
};
|
2982
3011
|
}
|
2983
3012
|
|
2984
|
-
function create_fragment$
|
3013
|
+
function create_fragment$u(ctx) {
|
2985
3014
|
let current_block_type_index;
|
2986
3015
|
let if_block;
|
2987
3016
|
let if_block_anchor;
|
@@ -3054,7 +3083,7 @@ function create_fragment$t(ctx) {
|
|
3054
3083
|
|
3055
3084
|
const BUTTON_CLASS = 'button';
|
3056
3085
|
|
3057
|
-
function instance$
|
3086
|
+
function instance$u($$self, $$props, $$invalidate) {
|
3058
3087
|
let disabled;
|
3059
3088
|
let $valuesAreValid;
|
3060
3089
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -3120,8 +3149,8 @@ class Button extends SvelteComponent {
|
|
3120
3149
|
init(
|
3121
3150
|
this,
|
3122
3151
|
options,
|
3123
|
-
instance$
|
3124
|
-
create_fragment$
|
3152
|
+
instance$u,
|
3153
|
+
create_fragment$u,
|
3125
3154
|
safe_not_equal,
|
3126
3155
|
{
|
3127
3156
|
onClick: 0,
|
@@ -3129,14 +3158,14 @@ class Button extends SvelteComponent {
|
|
3129
3158
|
eventValue: 6,
|
3130
3159
|
style: 1
|
3131
3160
|
},
|
3132
|
-
add_css$
|
3161
|
+
add_css$r
|
3133
3162
|
);
|
3134
3163
|
}
|
3135
3164
|
}
|
3136
3165
|
|
3137
3166
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3138
3167
|
|
3139
|
-
function add_css$
|
3168
|
+
function add_css$q(target) {
|
3140
3169
|
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}");
|
3141
3170
|
}
|
3142
3171
|
|
@@ -3153,7 +3182,7 @@ function create_if_block$5(ctx) {
|
|
3153
3182
|
onClick: /*onClick*/ ctx[0],
|
3154
3183
|
eventName: /*clickEventName*/ ctx[1],
|
3155
3184
|
eventValue: /*clickEventValue*/ ctx[2],
|
3156
|
-
$$slots: { default: [create_default_slot$
|
3185
|
+
$$slots: { default: [create_default_slot$6] },
|
3157
3186
|
$$scope: { ctx }
|
3158
3187
|
}
|
3159
3188
|
});
|
@@ -3315,7 +3344,7 @@ function create_default_slot_1$1(ctx) {
|
|
3315
3344
|
}
|
3316
3345
|
|
3317
3346
|
// (160:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
|
3318
|
-
function create_default_slot$
|
3347
|
+
function create_default_slot$6(ctx) {
|
3319
3348
|
let t;
|
3320
3349
|
let div;
|
3321
3350
|
let current;
|
@@ -3406,7 +3435,7 @@ function create_default_slot$4(ctx) {
|
|
3406
3435
|
};
|
3407
3436
|
}
|
3408
3437
|
|
3409
|
-
function create_fragment$
|
3438
|
+
function create_fragment$t(ctx) {
|
3410
3439
|
let backgroundoverray;
|
3411
3440
|
let t;
|
3412
3441
|
let if_block_anchor;
|
@@ -3499,7 +3528,7 @@ function create_fragment$s(ctx) {
|
|
3499
3528
|
};
|
3500
3529
|
}
|
3501
3530
|
|
3502
|
-
function instance$
|
3531
|
+
function instance$t($$self, $$props, $$invalidate) {
|
3503
3532
|
let close;
|
3504
3533
|
let closable;
|
3505
3534
|
let backgroundClick;
|
@@ -3530,7 +3559,7 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
3530
3559
|
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3531
3560
|
let modal;
|
3532
3561
|
|
3533
|
-
onMount(() => {
|
3562
|
+
onMount$1(() => {
|
3534
3563
|
$$invalidate(12, visible = true);
|
3535
3564
|
});
|
3536
3565
|
|
@@ -3679,8 +3708,8 @@ class Modal extends SvelteComponent {
|
|
3679
3708
|
init(
|
3680
3709
|
this,
|
3681
3710
|
options,
|
3682
|
-
instance$
|
3683
|
-
create_fragment$
|
3711
|
+
instance$t,
|
3712
|
+
create_fragment$t,
|
3684
3713
|
safe_not_equal,
|
3685
3714
|
{
|
3686
3715
|
onClick: 0,
|
@@ -3696,14 +3725,14 @@ class Modal extends SvelteComponent {
|
|
3696
3725
|
closeButtonColor: 8,
|
3697
3726
|
_closeStyle: 9
|
3698
3727
|
},
|
3699
|
-
add_css$
|
3728
|
+
add_css$q
|
3700
3729
|
);
|
3701
3730
|
}
|
3702
3731
|
}
|
3703
3732
|
|
3704
3733
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
3705
3734
|
|
3706
|
-
function create_fragment$
|
3735
|
+
function create_fragment$s(ctx) {
|
3707
3736
|
let div;
|
3708
3737
|
let current;
|
3709
3738
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -3761,7 +3790,7 @@ function create_fragment$r(ctx) {
|
|
3761
3790
|
};
|
3762
3791
|
}
|
3763
3792
|
|
3764
|
-
function instance$
|
3793
|
+
function instance$s($$self, $$props, $$invalidate) {
|
3765
3794
|
let _style;
|
3766
3795
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3767
3796
|
let { width = '512px' } = $$props;
|
@@ -3806,7 +3835,7 @@ class Grid extends SvelteComponent {
|
|
3806
3835
|
constructor(options) {
|
3807
3836
|
super();
|
3808
3837
|
|
3809
|
-
init(this, options, instance$
|
3838
|
+
init(this, options, instance$s, create_fragment$s, safe_not_equal, {
|
3810
3839
|
width: 1,
|
3811
3840
|
height: 2,
|
3812
3841
|
rows: 3,
|
@@ -3819,11 +3848,11 @@ class Grid extends SvelteComponent {
|
|
3819
3848
|
|
3820
3849
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
3821
3850
|
|
3822
|
-
function add_css$
|
3851
|
+
function add_css$p(target) {
|
3823
3852
|
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
3824
3853
|
}
|
3825
3854
|
|
3826
|
-
function create_fragment$
|
3855
|
+
function create_fragment$r(ctx) {
|
3827
3856
|
let div1;
|
3828
3857
|
let div0;
|
3829
3858
|
let current;
|
@@ -3837,8 +3866,8 @@ function create_fragment$q(ctx) {
|
|
3837
3866
|
if (default_slot) default_slot.c();
|
3838
3867
|
attr(div0, "class", "grid-item-inner svelte-n7kdl3");
|
3839
3868
|
attr(div1, "class", "grid-item svelte-n7kdl3");
|
3840
|
-
attr(div1, "data-grid-item-id", /*
|
3841
|
-
attr(div1, "style", /*_style*/ ctx[
|
3869
|
+
attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
|
3870
|
+
attr(div1, "style", /*_style*/ ctx[1]);
|
3842
3871
|
},
|
3843
3872
|
m(target, anchor) {
|
3844
3873
|
insert(target, div1, anchor);
|
@@ -3866,8 +3895,12 @@ function create_fragment$q(ctx) {
|
|
3866
3895
|
}
|
3867
3896
|
}
|
3868
3897
|
|
3869
|
-
if (!current || dirty & /*
|
3870
|
-
attr(div1, "
|
3898
|
+
if (!current || dirty & /*id*/ 1) {
|
3899
|
+
attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
|
3900
|
+
}
|
3901
|
+
|
3902
|
+
if (!current || dirty & /*_style*/ 2) {
|
3903
|
+
attr(div1, "style", /*_style*/ ctx[1]);
|
3871
3904
|
}
|
3872
3905
|
},
|
3873
3906
|
i(local) {
|
@@ -3886,7 +3919,7 @@ function create_fragment$q(ctx) {
|
|
3886
3919
|
};
|
3887
3920
|
}
|
3888
3921
|
|
3889
|
-
function instance$
|
3922
|
+
function instance$r($$self, $$props, $$invalidate) {
|
3890
3923
|
let _style;
|
3891
3924
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3892
3925
|
let { x1 } = $$props;
|
@@ -3895,15 +3928,9 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
3895
3928
|
let { y2 } = $$props;
|
3896
3929
|
let { z } = $$props;
|
3897
3930
|
let { background = 'transparent' } = $$props;
|
3898
|
-
let
|
3899
|
-
|
3900
|
-
if (z) {
|
3901
|
-
gridItemIdRaw += `-${z}`;
|
3902
|
-
}
|
3903
|
-
|
3904
|
-
const gridItemId = hashCode(gridItemIdRaw);
|
3931
|
+
let { id } = $$props;
|
3905
3932
|
|
3906
|
-
onMount(() => {
|
3933
|
+
onMount$1(() => {
|
3907
3934
|
setMaximumZindex(z);
|
3908
3935
|
});
|
3909
3936
|
|
@@ -3914,12 +3941,13 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
3914
3941
|
if ('y2' in $$props) $$invalidate(5, y2 = $$props.y2);
|
3915
3942
|
if ('z' in $$props) $$invalidate(6, z = $$props.z);
|
3916
3943
|
if ('background' in $$props) $$invalidate(7, background = $$props.background);
|
3944
|
+
if ('id' in $$props) $$invalidate(0, id = $$props.id);
|
3917
3945
|
if ('$$scope' in $$props) $$invalidate(8, $$scope = $$props.$$scope);
|
3918
3946
|
};
|
3919
3947
|
|
3920
3948
|
$$self.$$.update = () => {
|
3921
3949
|
if ($$self.$$.dirty & /*y1, x1, y2, x2, z, background*/ 252) {
|
3922
|
-
$$invalidate(
|
3950
|
+
$$invalidate(1, _style = [
|
3923
3951
|
`grid-area: ${y1 + 1} / ${x1 + 1} / ${y2 + 2} / ${x2 + 2}`,
|
3924
3952
|
`z-index: ${z}`,
|
3925
3953
|
`background: ${background}`,
|
@@ -3929,7 +3957,7 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
3929
3957
|
}
|
3930
3958
|
};
|
3931
3959
|
|
3932
|
-
return [
|
3960
|
+
return [id, _style, x1, x2, y1, y2, z, background, $$scope, slots];
|
3933
3961
|
}
|
3934
3962
|
|
3935
3963
|
class GridItem extends SvelteComponent {
|
@@ -3939,8 +3967,8 @@ class GridItem extends SvelteComponent {
|
|
3939
3967
|
init(
|
3940
3968
|
this,
|
3941
3969
|
options,
|
3942
|
-
instance$
|
3943
|
-
create_fragment$
|
3970
|
+
instance$r,
|
3971
|
+
create_fragment$r,
|
3944
3972
|
safe_not_equal,
|
3945
3973
|
{
|
3946
3974
|
x1: 2,
|
@@ -3948,9 +3976,10 @@ class GridItem extends SvelteComponent {
|
|
3948
3976
|
y1: 4,
|
3949
3977
|
y2: 5,
|
3950
3978
|
z: 6,
|
3951
|
-
background: 7
|
3979
|
+
background: 7,
|
3980
|
+
id: 0
|
3952
3981
|
},
|
3953
|
-
add_css$
|
3982
|
+
add_css$p
|
3954
3983
|
);
|
3955
3984
|
}
|
3956
3985
|
}
|
@@ -4046,7 +4075,7 @@ function create_each_block$6(ctx) {
|
|
4046
4075
|
};
|
4047
4076
|
}
|
4048
4077
|
|
4049
|
-
function create_fragment$
|
4078
|
+
function create_fragment$q(ctx) {
|
4050
4079
|
let each_1_anchor;
|
4051
4080
|
let each_value = /*items*/ ctx[0];
|
4052
4081
|
let each_blocks = [];
|
@@ -4105,7 +4134,7 @@ function create_fragment$p(ctx) {
|
|
4105
4134
|
|
4106
4135
|
const regexp = /(\r?\n)/;
|
4107
4136
|
|
4108
|
-
function instance$
|
4137
|
+
function instance$q($$self, $$props, $$invalidate) {
|
4109
4138
|
let items;
|
4110
4139
|
let { text = 'サンプルSample' } = $$props;
|
4111
4140
|
|
@@ -4125,17 +4154,17 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
4125
4154
|
class RenderText extends SvelteComponent {
|
4126
4155
|
constructor(options) {
|
4127
4156
|
super();
|
4128
|
-
init(this, options, instance$
|
4157
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, { text: 1 });
|
4129
4158
|
}
|
4130
4159
|
}
|
4131
4160
|
|
4132
4161
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4133
4162
|
|
4134
|
-
function add_css$
|
4163
|
+
function add_css$o(target) {
|
4135
4164
|
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}");
|
4136
4165
|
}
|
4137
4166
|
|
4138
|
-
// (
|
4167
|
+
// (58:2) {#if enableCopy}
|
4139
4168
|
function create_if_block$3(ctx) {
|
4140
4169
|
let div0;
|
4141
4170
|
let t1;
|
@@ -4169,7 +4198,7 @@ function create_if_block$3(ctx) {
|
|
4169
4198
|
};
|
4170
4199
|
}
|
4171
4200
|
|
4172
|
-
function create_fragment$
|
4201
|
+
function create_fragment$p(ctx) {
|
4173
4202
|
let div2;
|
4174
4203
|
let link;
|
4175
4204
|
let link_href_value;
|
@@ -4267,7 +4296,7 @@ function create_fragment$o(ctx) {
|
|
4267
4296
|
};
|
4268
4297
|
}
|
4269
4298
|
|
4270
|
-
function instance$
|
4299
|
+
function instance$p($$self, $$props, $$invalidate) {
|
4271
4300
|
let style;
|
4272
4301
|
let { text = 'サンプルSample' } = $$props;
|
4273
4302
|
let { enableCopy = false } = $$props;
|
@@ -4347,8 +4376,8 @@ class TextElement extends SvelteComponent {
|
|
4347
4376
|
init(
|
4348
4377
|
this,
|
4349
4378
|
options,
|
4350
|
-
instance$
|
4351
|
-
create_fragment$
|
4379
|
+
instance$p,
|
4380
|
+
create_fragment$p,
|
4352
4381
|
safe_not_equal,
|
4353
4382
|
{
|
4354
4383
|
text: 0,
|
@@ -4357,19 +4386,19 @@ class TextElement extends SvelteComponent {
|
|
4357
4386
|
textDirection: 2,
|
4358
4387
|
_style: 8
|
4359
4388
|
},
|
4360
|
-
add_css$
|
4389
|
+
add_css$o
|
4361
4390
|
);
|
4362
4391
|
}
|
4363
4392
|
}
|
4364
4393
|
|
4365
4394
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4366
4395
|
|
4367
|
-
function add_css$
|
4396
|
+
function add_css$n(target) {
|
4368
4397
|
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)}");
|
4369
4398
|
}
|
4370
4399
|
|
4371
4400
|
// (36:2) <Button onClick={onClick} {style} {eventName}>
|
4372
|
-
function create_default_slot$
|
4401
|
+
function create_default_slot$5(ctx) {
|
4373
4402
|
let rendertext;
|
4374
4403
|
let current;
|
4375
4404
|
rendertext = new RenderText({ props: { text: /*text*/ ctx[0] } });
|
@@ -4402,7 +4431,7 @@ function create_default_slot$3(ctx) {
|
|
4402
4431
|
};
|
4403
4432
|
}
|
4404
4433
|
|
4405
|
-
function create_fragment$
|
4434
|
+
function create_fragment$o(ctx) {
|
4406
4435
|
let div;
|
4407
4436
|
let link;
|
4408
4437
|
let link_href_value;
|
@@ -4415,7 +4444,7 @@ function create_fragment$n(ctx) {
|
|
4415
4444
|
onClick: /*onClick*/ ctx[1],
|
4416
4445
|
style: /*style*/ ctx[3],
|
4417
4446
|
eventName: /*eventName*/ ctx[2],
|
4418
|
-
$$slots: { default: [create_default_slot$
|
4447
|
+
$$slots: { default: [create_default_slot$5] },
|
4419
4448
|
$$scope: { ctx }
|
4420
4449
|
}
|
4421
4450
|
});
|
@@ -4469,7 +4498,7 @@ function create_fragment$n(ctx) {
|
|
4469
4498
|
};
|
4470
4499
|
}
|
4471
4500
|
|
4472
|
-
function instance$
|
4501
|
+
function instance$o($$self, $$props, $$invalidate) {
|
4473
4502
|
let style;
|
4474
4503
|
let { text = 'ボタンラベル' } = $$props;
|
4475
4504
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -4501,8 +4530,8 @@ class TextButtonElement extends SvelteComponent {
|
|
4501
4530
|
init(
|
4502
4531
|
this,
|
4503
4532
|
options,
|
4504
|
-
instance$
|
4505
|
-
create_fragment$
|
4533
|
+
instance$o,
|
4534
|
+
create_fragment$o,
|
4506
4535
|
safe_not_equal,
|
4507
4536
|
{
|
4508
4537
|
text: 0,
|
@@ -4511,19 +4540,19 @@ class TextButtonElement extends SvelteComponent {
|
|
4511
4540
|
_buttonStyle: 4,
|
4512
4541
|
_style: 5
|
4513
4542
|
},
|
4514
|
-
add_css$
|
4543
|
+
add_css$n
|
4515
4544
|
);
|
4516
4545
|
}
|
4517
4546
|
}
|
4518
4547
|
|
4519
4548
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4520
4549
|
|
4521
|
-
function add_css$
|
4550
|
+
function add_css$m(target) {
|
4522
4551
|
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%}");
|
4523
4552
|
}
|
4524
4553
|
|
4525
4554
|
// (40:2) <Button {onClick} style={_style} {eventName}>
|
4526
|
-
function create_default_slot$
|
4555
|
+
function create_default_slot$4(ctx) {
|
4527
4556
|
let img;
|
4528
4557
|
let img_src_value;
|
4529
4558
|
|
@@ -4560,7 +4589,7 @@ function create_default_slot$2(ctx) {
|
|
4560
4589
|
};
|
4561
4590
|
}
|
4562
4591
|
|
4563
|
-
function create_fragment$
|
4592
|
+
function create_fragment$n(ctx) {
|
4564
4593
|
let div;
|
4565
4594
|
let button;
|
4566
4595
|
let div_class_value;
|
@@ -4571,7 +4600,7 @@ function create_fragment$m(ctx) {
|
|
4571
4600
|
onClick: /*onClick*/ ctx[3],
|
4572
4601
|
style: /*_style*/ ctx[6],
|
4573
4602
|
eventName: /*eventName*/ ctx[4],
|
4574
|
-
$$slots: { default: [create_default_slot$
|
4603
|
+
$$slots: { default: [create_default_slot$4] },
|
4575
4604
|
$$scope: { ctx }
|
4576
4605
|
}
|
4577
4606
|
});
|
@@ -4619,7 +4648,7 @@ function create_fragment$m(ctx) {
|
|
4619
4648
|
};
|
4620
4649
|
}
|
4621
4650
|
|
4622
|
-
function instance$
|
4651
|
+
function instance$n($$self, $$props, $$invalidate) {
|
4623
4652
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
4624
4653
|
let { alt = 'No Image' } = $$props;
|
4625
4654
|
let { transport = false } = $$props;
|
@@ -4648,8 +4677,8 @@ class ImageElement extends SvelteComponent {
|
|
4648
4677
|
init(
|
4649
4678
|
this,
|
4650
4679
|
options,
|
4651
|
-
instance$
|
4652
|
-
create_fragment$
|
4680
|
+
instance$n,
|
4681
|
+
create_fragment$n,
|
4653
4682
|
safe_not_equal,
|
4654
4683
|
{
|
4655
4684
|
src: 0,
|
@@ -4660,18 +4689,18 @@ class ImageElement extends SvelteComponent {
|
|
4660
4689
|
_imageStyle: 5,
|
4661
4690
|
_style: 6
|
4662
4691
|
},
|
4663
|
-
add_css$
|
4692
|
+
add_css$m
|
4664
4693
|
);
|
4665
4694
|
}
|
4666
4695
|
}
|
4667
4696
|
|
4668
4697
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
4669
4698
|
|
4670
|
-
function add_css$
|
4699
|
+
function add_css$l(target) {
|
4671
4700
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
4672
4701
|
}
|
4673
4702
|
|
4674
|
-
function create_fragment$
|
4703
|
+
function create_fragment$m(ctx) {
|
4675
4704
|
let div;
|
4676
4705
|
let current;
|
4677
4706
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -4731,7 +4760,7 @@ function create_fragment$l(ctx) {
|
|
4731
4760
|
|
4732
4761
|
const LIST_CONTEXT_KEY = Symbol();
|
4733
4762
|
|
4734
|
-
function instance$
|
4763
|
+
function instance$m($$self, $$props, $$invalidate) {
|
4735
4764
|
let style;
|
4736
4765
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4737
4766
|
let { direction = 'vertical' } = $$props;
|
@@ -4754,7 +4783,7 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
4754
4783
|
}
|
4755
4784
|
});
|
4756
4785
|
|
4757
|
-
onMount(async () => {
|
4786
|
+
onMount$1(async () => {
|
4758
4787
|
items.forEach((item, index) => {
|
4759
4788
|
item.onMount({ index, length: items.length });
|
4760
4789
|
});
|
@@ -4798,8 +4827,8 @@ class List extends SvelteComponent {
|
|
4798
4827
|
init(
|
4799
4828
|
this,
|
4800
4829
|
options,
|
4801
|
-
instance$
|
4802
|
-
create_fragment$
|
4830
|
+
instance$m,
|
4831
|
+
create_fragment$m,
|
4803
4832
|
safe_not_equal,
|
4804
4833
|
{
|
4805
4834
|
direction: 1,
|
@@ -4807,19 +4836,19 @@ class List extends SvelteComponent {
|
|
4807
4836
|
background: 3,
|
4808
4837
|
_style: 4
|
4809
4838
|
},
|
4810
|
-
add_css$
|
4839
|
+
add_css$l
|
4811
4840
|
);
|
4812
4841
|
}
|
4813
4842
|
}
|
4814
4843
|
|
4815
4844
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4816
4845
|
|
4817
|
-
function add_css$
|
4846
|
+
function add_css$k(target) {
|
4818
4847
|
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}");
|
4819
4848
|
}
|
4820
4849
|
|
4821
4850
|
// (67:2) <Button {onClick} style={_style} eventName={clickEventName}>
|
4822
|
-
function create_default_slot$
|
4851
|
+
function create_default_slot$3(ctx) {
|
4823
4852
|
let current;
|
4824
4853
|
const default_slot_template = /*#slots*/ ctx[5].default;
|
4825
4854
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[6], null);
|
@@ -4866,7 +4895,7 @@ function create_default_slot$1(ctx) {
|
|
4866
4895
|
};
|
4867
4896
|
}
|
4868
4897
|
|
4869
|
-
function create_fragment$
|
4898
|
+
function create_fragment$l(ctx) {
|
4870
4899
|
let div;
|
4871
4900
|
let button;
|
4872
4901
|
let current;
|
@@ -4876,7 +4905,7 @@ function create_fragment$k(ctx) {
|
|
4876
4905
|
onClick: /*onClick*/ ctx[0],
|
4877
4906
|
style: /*_style*/ ctx[2],
|
4878
4907
|
eventName: /*clickEventName*/ ctx[1],
|
4879
|
-
$$slots: { default: [create_default_slot$
|
4908
|
+
$$slots: { default: [create_default_slot$3] },
|
4880
4909
|
$$scope: { ctx }
|
4881
4910
|
}
|
4882
4911
|
});
|
@@ -4925,7 +4954,7 @@ function create_fragment$k(ctx) {
|
|
4925
4954
|
};
|
4926
4955
|
}
|
4927
4956
|
|
4928
|
-
function instance$
|
4957
|
+
function instance$l($$self, $$props, $$invalidate) {
|
4929
4958
|
let listItemStyle;
|
4930
4959
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4931
4960
|
const { separator, background, direction, registerItem, unregisterItem } = getContext(LIST_CONTEXT_KEY);
|
@@ -5004,17 +5033,17 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
5004
5033
|
class ListItem extends SvelteComponent {
|
5005
5034
|
constructor(options) {
|
5006
5035
|
super();
|
5007
|
-
init(this, options, instance$
|
5036
|
+
init(this, options, instance$l, create_fragment$l, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$k);
|
5008
5037
|
}
|
5009
5038
|
}
|
5010
5039
|
|
5011
5040
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
5012
5041
|
|
5013
|
-
function add_css$
|
5042
|
+
function add_css$j(target) {
|
5014
5043
|
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%}");
|
5015
5044
|
}
|
5016
5045
|
|
5017
|
-
function create_fragment$
|
5046
|
+
function create_fragment$k(ctx) {
|
5018
5047
|
let div;
|
5019
5048
|
|
5020
5049
|
return {
|
@@ -5041,7 +5070,7 @@ function create_fragment$j(ctx) {
|
|
5041
5070
|
};
|
5042
5071
|
}
|
5043
5072
|
|
5044
|
-
function instance$
|
5073
|
+
function instance$k($$self, $$props, $$invalidate) {
|
5045
5074
|
let { code } = $$props;
|
5046
5075
|
let { _style = '' } = $$props;
|
5047
5076
|
|
@@ -5056,17 +5085,17 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
5056
5085
|
class EmbedElement extends SvelteComponent {
|
5057
5086
|
constructor(options) {
|
5058
5087
|
super();
|
5059
|
-
init(this, options, instance$
|
5088
|
+
init(this, options, instance$k, create_fragment$k, safe_not_equal, { code: 0, _style: 1 }, add_css$j);
|
5060
5089
|
}
|
5061
5090
|
}
|
5062
5091
|
|
5063
5092
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
5064
5093
|
|
5065
|
-
function add_css$
|
5094
|
+
function add_css$i(target) {
|
5066
5095
|
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%}");
|
5067
5096
|
}
|
5068
5097
|
|
5069
|
-
function create_fragment$
|
5098
|
+
function create_fragment$j(ctx) {
|
5070
5099
|
let div1;
|
5071
5100
|
let div0;
|
5072
5101
|
|
@@ -5097,7 +5126,7 @@ function create_fragment$i(ctx) {
|
|
5097
5126
|
};
|
5098
5127
|
}
|
5099
5128
|
|
5100
|
-
function instance$
|
5129
|
+
function instance$j($$self, $$props, $$invalidate) {
|
5101
5130
|
let $system;
|
5102
5131
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5103
5132
|
let { videoId = "sSgN-L4DU0c" } = $$props;
|
@@ -5222,7 +5251,7 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
5222
5251
|
});
|
5223
5252
|
}
|
5224
5253
|
|
5225
|
-
onMount(() => {
|
5254
|
+
onMount$1(() => {
|
5226
5255
|
setTimeout(
|
5227
5256
|
() => {
|
5228
5257
|
// @ts-ignore
|
@@ -5276,8 +5305,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5276
5305
|
init(
|
5277
5306
|
this,
|
5278
5307
|
options,
|
5279
|
-
instance$
|
5280
|
-
create_fragment$
|
5308
|
+
instance$j,
|
5309
|
+
create_fragment$j,
|
5281
5310
|
safe_not_equal,
|
5282
5311
|
{
|
5283
5312
|
videoId: 2,
|
@@ -5287,18 +5316,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5287
5316
|
mute: 6,
|
5288
5317
|
_style: 0
|
5289
5318
|
},
|
5290
|
-
add_css$
|
5319
|
+
add_css$i
|
5291
5320
|
);
|
5292
5321
|
}
|
5293
5322
|
}
|
5294
5323
|
|
5295
5324
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5296
5325
|
|
5297
|
-
function add_css$
|
5326
|
+
function add_css$h(target) {
|
5298
5327
|
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%}");
|
5299
5328
|
}
|
5300
5329
|
|
5301
|
-
function create_fragment$
|
5330
|
+
function create_fragment$i(ctx) {
|
5302
5331
|
let div1;
|
5303
5332
|
let div0;
|
5304
5333
|
|
@@ -5329,7 +5358,7 @@ function create_fragment$h(ctx) {
|
|
5329
5358
|
};
|
5330
5359
|
}
|
5331
5360
|
|
5332
|
-
function instance$
|
5361
|
+
function instance$i($$self, $$props, $$invalidate) {
|
5333
5362
|
let $system;
|
5334
5363
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5335
5364
|
let { videoId = "201239468" } = $$props;
|
@@ -5424,7 +5453,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
5424
5453
|
onPlayerReady();
|
5425
5454
|
}
|
5426
5455
|
|
5427
|
-
onMount(() => {
|
5456
|
+
onMount$1(() => {
|
5428
5457
|
setTimeout(
|
5429
5458
|
() => {
|
5430
5459
|
// @ts-ignore
|
@@ -5472,8 +5501,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5472
5501
|
init(
|
5473
5502
|
this,
|
5474
5503
|
options,
|
5475
|
-
instance$
|
5476
|
-
create_fragment$
|
5504
|
+
instance$i,
|
5505
|
+
create_fragment$i,
|
5477
5506
|
safe_not_equal,
|
5478
5507
|
{
|
5479
5508
|
videoId: 2,
|
@@ -5483,18 +5512,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5483
5512
|
mute: 6,
|
5484
5513
|
_style: 0
|
5485
5514
|
},
|
5486
|
-
add_css$
|
5515
|
+
add_css$h
|
5487
5516
|
);
|
5488
5517
|
}
|
5489
5518
|
}
|
5490
5519
|
|
5491
5520
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
5492
5521
|
|
5493
|
-
function add_css$
|
5522
|
+
function add_css$g(target) {
|
5494
5523
|
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}");
|
5495
5524
|
}
|
5496
5525
|
|
5497
|
-
function create_fragment$
|
5526
|
+
function create_fragment$h(ctx) {
|
5498
5527
|
let div;
|
5499
5528
|
let textarea;
|
5500
5529
|
let mounted;
|
@@ -5547,7 +5576,7 @@ function create_fragment$g(ctx) {
|
|
5547
5576
|
};
|
5548
5577
|
}
|
5549
5578
|
|
5550
|
-
function instance$
|
5579
|
+
function instance$h($$self, $$props, $$invalidate) {
|
5551
5580
|
let $value;
|
5552
5581
|
let { name = '' } = $$props;
|
5553
5582
|
let { required = true } = $$props;
|
@@ -5588,8 +5617,8 @@ class FormTextarea extends SvelteComponent {
|
|
5588
5617
|
init(
|
5589
5618
|
this,
|
5590
5619
|
options,
|
5591
|
-
instance$
|
5592
|
-
create_fragment$
|
5620
|
+
instance$h,
|
5621
|
+
create_fragment$h,
|
5593
5622
|
safe_not_equal,
|
5594
5623
|
{
|
5595
5624
|
name: 6,
|
@@ -5597,14 +5626,14 @@ class FormTextarea extends SvelteComponent {
|
|
5597
5626
|
rows: 1,
|
5598
5627
|
placeholder: 2
|
5599
5628
|
},
|
5600
|
-
add_css$
|
5629
|
+
add_css$g
|
5601
5630
|
);
|
5602
5631
|
}
|
5603
5632
|
}
|
5604
5633
|
|
5605
5634
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5606
5635
|
|
5607
|
-
function add_css$
|
5636
|
+
function add_css$f(target) {
|
5608
5637
|
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}");
|
5609
5638
|
}
|
5610
5639
|
|
@@ -5615,7 +5644,7 @@ function get_each_context$5(ctx, list, i) {
|
|
5615
5644
|
return child_ctx;
|
5616
5645
|
}
|
5617
5646
|
|
5618
|
-
// (
|
5647
|
+
// (89:2) {#each _options as option, i}
|
5619
5648
|
function create_each_block$5(ctx) {
|
5620
5649
|
let label;
|
5621
5650
|
let input;
|
@@ -5693,8 +5722,11 @@ function create_each_block$5(ctx) {
|
|
5693
5722
|
};
|
5694
5723
|
}
|
5695
5724
|
|
5696
|
-
function create_fragment$
|
5725
|
+
function create_fragment$g(ctx) {
|
5697
5726
|
let div;
|
5727
|
+
let link;
|
5728
|
+
let link_href_value;
|
5729
|
+
let t;
|
5698
5730
|
let each_value = /*_options*/ ctx[4];
|
5699
5731
|
let each_blocks = [];
|
5700
5732
|
|
@@ -5705,22 +5737,32 @@ function create_fragment$f(ctx) {
|
|
5705
5737
|
return {
|
5706
5738
|
c() {
|
5707
5739
|
div = element("div");
|
5740
|
+
link = element("link");
|
5741
|
+
t = space();
|
5708
5742
|
|
5709
5743
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5710
5744
|
each_blocks[i].c();
|
5711
5745
|
}
|
5712
5746
|
|
5747
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[4].join('')}`);
|
5748
|
+
attr(link, "rel", "stylesheet");
|
5713
5749
|
attr(div, "class", "radio-buttons svelte-17s08g");
|
5714
5750
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
5715
5751
|
},
|
5716
5752
|
m(target, anchor) {
|
5717
5753
|
insert(target, div, anchor);
|
5754
|
+
append(div, link);
|
5755
|
+
append(div, t);
|
5718
5756
|
|
5719
5757
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
5720
5758
|
each_blocks[i].m(div, null);
|
5721
5759
|
}
|
5722
5760
|
},
|
5723
5761
|
p(ctx, [dirty]) {
|
5762
|
+
if (dirty & /*_options*/ 16 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[4].join('')}`)) {
|
5763
|
+
attr(link, "href", link_href_value);
|
5764
|
+
}
|
5765
|
+
|
5724
5766
|
if (dirty & /*_textStyle, _options, buttonStyle, name, _value, handleChange*/ 189) {
|
5725
5767
|
each_value = /*_options*/ ctx[4];
|
5726
5768
|
let i;
|
@@ -5757,7 +5799,7 @@ function create_fragment$f(ctx) {
|
|
5757
5799
|
};
|
5758
5800
|
}
|
5759
5801
|
|
5760
|
-
function instance$
|
5802
|
+
function instance$g($$self, $$props, $$invalidate) {
|
5761
5803
|
let _options;
|
5762
5804
|
let buttonStyle;
|
5763
5805
|
let _value;
|
@@ -5848,8 +5890,8 @@ class FormRadioButtons extends SvelteComponent {
|
|
5848
5890
|
init(
|
5849
5891
|
this,
|
5850
5892
|
options,
|
5851
|
-
instance$
|
5852
|
-
create_fragment$
|
5893
|
+
instance$g,
|
5894
|
+
create_fragment$g,
|
5853
5895
|
safe_not_equal,
|
5854
5896
|
{
|
5855
5897
|
name: 0,
|
@@ -5861,14 +5903,14 @@ class FormRadioButtons extends SvelteComponent {
|
|
5861
5903
|
buttonColor: 11,
|
5862
5904
|
buttonColorActive: 12
|
5863
5905
|
},
|
5864
|
-
add_css$
|
5906
|
+
add_css$f
|
5865
5907
|
);
|
5866
5908
|
}
|
5867
5909
|
}
|
5868
5910
|
|
5869
5911
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
5870
5912
|
|
5871
|
-
function add_css$
|
5913
|
+
function add_css$e(target) {
|
5872
5914
|
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}");
|
5873
5915
|
}
|
5874
5916
|
|
@@ -5879,7 +5921,7 @@ function get_each_context$4(ctx, list, i) {
|
|
5879
5921
|
return child_ctx;
|
5880
5922
|
}
|
5881
5923
|
|
5882
|
-
// (
|
5924
|
+
// (99:10) {:else}
|
5883
5925
|
function create_else_block(ctx) {
|
5884
5926
|
let t;
|
5885
5927
|
|
@@ -5899,7 +5941,7 @@ function create_else_block(ctx) {
|
|
5899
5941
|
};
|
5900
5942
|
}
|
5901
5943
|
|
5902
|
-
// (
|
5944
|
+
// (97:10) {#if option}
|
5903
5945
|
function create_if_block$2(ctx) {
|
5904
5946
|
let t_value = /*option*/ ctx[18] + "";
|
5905
5947
|
let t;
|
@@ -5920,7 +5962,7 @@ function create_if_block$2(ctx) {
|
|
5920
5962
|
};
|
5921
5963
|
}
|
5922
5964
|
|
5923
|
-
// (
|
5965
|
+
// (95:6) {#each _options as option, i}
|
5924
5966
|
function create_each_block$4(ctx) {
|
5925
5967
|
let option;
|
5926
5968
|
let t;
|
@@ -5978,10 +6020,13 @@ function create_each_block$4(ctx) {
|
|
5978
6020
|
};
|
5979
6021
|
}
|
5980
6022
|
|
5981
|
-
function create_fragment$
|
6023
|
+
function create_fragment$f(ctx) {
|
5982
6024
|
let div1;
|
6025
|
+
let link;
|
6026
|
+
let link_href_value;
|
6027
|
+
let t0;
|
5983
6028
|
let select;
|
5984
|
-
let
|
6029
|
+
let t1;
|
5985
6030
|
let div0;
|
5986
6031
|
let mounted;
|
5987
6032
|
let dispose;
|
@@ -5995,14 +6040,18 @@ function create_fragment$e(ctx) {
|
|
5995
6040
|
return {
|
5996
6041
|
c() {
|
5997
6042
|
div1 = element("div");
|
6043
|
+
link = element("link");
|
6044
|
+
t0 = space();
|
5998
6045
|
select = element("select");
|
5999
6046
|
|
6000
6047
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6001
6048
|
each_blocks[i].c();
|
6002
6049
|
}
|
6003
6050
|
|
6004
|
-
|
6051
|
+
t1 = space();
|
6005
6052
|
div0 = element("div");
|
6053
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${[/*placeholder*/ ctx[0], .../*_options*/ ctx[4]].join('')}`);
|
6054
|
+
attr(link, "rel", "stylesheet");
|
6006
6055
|
attr(select, "class", "select-select svelte-1n4ag74");
|
6007
6056
|
attr(select, "style", /*style*/ ctx[3]);
|
6008
6057
|
attr(div0, "class", "select-icon svelte-1n4ag74");
|
@@ -6011,13 +6060,15 @@ function create_fragment$e(ctx) {
|
|
6011
6060
|
},
|
6012
6061
|
m(target, anchor) {
|
6013
6062
|
insert(target, div1, anchor);
|
6063
|
+
append(div1, link);
|
6064
|
+
append(div1, t0);
|
6014
6065
|
append(div1, select);
|
6015
6066
|
|
6016
6067
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6017
6068
|
each_blocks[i].m(select, null);
|
6018
6069
|
}
|
6019
6070
|
|
6020
|
-
append(div1,
|
6071
|
+
append(div1, t1);
|
6021
6072
|
append(div1, div0);
|
6022
6073
|
|
6023
6074
|
if (!mounted) {
|
@@ -6026,6 +6077,10 @@ function create_fragment$e(ctx) {
|
|
6026
6077
|
}
|
6027
6078
|
},
|
6028
6079
|
p(ctx, [dirty]) {
|
6080
|
+
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('')}`)) {
|
6081
|
+
attr(link, "href", link_href_value);
|
6082
|
+
}
|
6083
|
+
|
6029
6084
|
if (dirty & /*_options, _value, placeholder*/ 19) {
|
6030
6085
|
each_value = /*_options*/ ctx[4];
|
6031
6086
|
let i;
|
@@ -6068,7 +6123,7 @@ function create_fragment$e(ctx) {
|
|
6068
6123
|
};
|
6069
6124
|
}
|
6070
6125
|
|
6071
|
-
function instance$
|
6126
|
+
function instance$f($$self, $$props, $$invalidate) {
|
6072
6127
|
let _options;
|
6073
6128
|
let style;
|
6074
6129
|
let styleVariables;
|
@@ -6177,8 +6232,8 @@ class FormSelect extends SvelteComponent {
|
|
6177
6232
|
init(
|
6178
6233
|
this,
|
6179
6234
|
options,
|
6180
|
-
instance$
|
6181
|
-
create_fragment$
|
6235
|
+
instance$f,
|
6236
|
+
create_fragment$f,
|
6182
6237
|
safe_not_equal,
|
6183
6238
|
{
|
6184
6239
|
name: 7,
|
@@ -6192,14 +6247,14 @@ class FormSelect extends SvelteComponent {
|
|
6192
6247
|
iconColor: 14,
|
6193
6248
|
iconSize: 15
|
6194
6249
|
},
|
6195
|
-
add_css$
|
6250
|
+
add_css$e
|
6196
6251
|
);
|
6197
6252
|
}
|
6198
6253
|
}
|
6199
6254
|
|
6200
6255
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6201
6256
|
|
6202
|
-
function add_css$
|
6257
|
+
function add_css$d(target) {
|
6203
6258
|
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}");
|
6204
6259
|
}
|
6205
6260
|
|
@@ -6210,7 +6265,7 @@ function get_each_context$3(ctx, list, i) {
|
|
6210
6265
|
return child_ctx;
|
6211
6266
|
}
|
6212
6267
|
|
6213
|
-
// (
|
6268
|
+
// (95:2) {#each _options as option, i}
|
6214
6269
|
function create_each_block$3(ctx) {
|
6215
6270
|
let label;
|
6216
6271
|
let input;
|
@@ -6304,8 +6359,11 @@ function create_each_block$3(ctx) {
|
|
6304
6359
|
};
|
6305
6360
|
}
|
6306
6361
|
|
6307
|
-
function create_fragment$
|
6362
|
+
function create_fragment$e(ctx) {
|
6308
6363
|
let div;
|
6364
|
+
let link;
|
6365
|
+
let link_href_value;
|
6366
|
+
let t;
|
6309
6367
|
let each_value = /*_options*/ ctx[3];
|
6310
6368
|
let each_blocks = [];
|
6311
6369
|
|
@@ -6316,22 +6374,32 @@ function create_fragment$d(ctx) {
|
|
6316
6374
|
return {
|
6317
6375
|
c() {
|
6318
6376
|
div = element("div");
|
6377
|
+
link = element("link");
|
6378
|
+
t = space();
|
6319
6379
|
|
6320
6380
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6321
6381
|
each_blocks[i].c();
|
6322
6382
|
}
|
6323
6383
|
|
6384
|
+
attr(link, "href", link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[3].join('')}`);
|
6385
|
+
attr(link, "rel", "stylesheet");
|
6324
6386
|
attr(div, "class", "check-boxes svelte-o1ztcf");
|
6325
6387
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
6326
6388
|
},
|
6327
6389
|
m(target, anchor) {
|
6328
6390
|
insert(target, div, anchor);
|
6391
|
+
append(div, link);
|
6392
|
+
append(div, t);
|
6329
6393
|
|
6330
6394
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6331
6395
|
each_blocks[i].m(div, null);
|
6332
6396
|
}
|
6333
6397
|
},
|
6334
6398
|
p(ctx, [dirty]) {
|
6399
|
+
if (dirty & /*_options*/ 8 && link_href_value !== (link_href_value = `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=${/*_options*/ ctx[3].join('')}`)) {
|
6400
|
+
attr(link, "href", link_href_value);
|
6401
|
+
}
|
6402
|
+
|
6335
6403
|
if (dirty & /*_textStyle, _options, isCheckedArray, styleVariables, name, handleChange*/ 189) {
|
6336
6404
|
each_value = /*_options*/ ctx[3];
|
6337
6405
|
let i;
|
@@ -6368,7 +6436,7 @@ function create_fragment$d(ctx) {
|
|
6368
6436
|
};
|
6369
6437
|
}
|
6370
6438
|
|
6371
|
-
function instance$
|
6439
|
+
function instance$e($$self, $$props, $$invalidate) {
|
6372
6440
|
let _options;
|
6373
6441
|
let styleVariables;
|
6374
6442
|
let isCheckedArray;
|
@@ -6465,8 +6533,8 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6465
6533
|
init(
|
6466
6534
|
this,
|
6467
6535
|
options,
|
6468
|
-
instance$
|
6469
|
-
create_fragment$
|
6536
|
+
instance$e,
|
6537
|
+
create_fragment$e,
|
6470
6538
|
safe_not_equal,
|
6471
6539
|
{
|
6472
6540
|
name: 0,
|
@@ -6478,14 +6546,14 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6478
6546
|
buttonColor: 11,
|
6479
6547
|
buttonColorActive: 12
|
6480
6548
|
},
|
6481
|
-
add_css$
|
6549
|
+
add_css$d
|
6482
6550
|
);
|
6483
6551
|
}
|
6484
6552
|
}
|
6485
6553
|
|
6486
6554
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
6487
6555
|
|
6488
|
-
function add_css$
|
6556
|
+
function add_css$c(target) {
|
6489
6557
|
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}");
|
6490
6558
|
}
|
6491
6559
|
|
@@ -6495,7 +6563,7 @@ function get_each_context$2(ctx, list, i) {
|
|
6495
6563
|
return child_ctx;
|
6496
6564
|
}
|
6497
6565
|
|
6498
|
-
// (
|
6566
|
+
// (52:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6499
6567
|
function create_each_block$2(ctx) {
|
6500
6568
|
let div;
|
6501
6569
|
let t0_value = /*i*/ ctx[11] + "";
|
@@ -6542,8 +6610,10 @@ function create_each_block$2(ctx) {
|
|
6542
6610
|
};
|
6543
6611
|
}
|
6544
6612
|
|
6545
|
-
function create_fragment$
|
6613
|
+
function create_fragment$d(ctx) {
|
6546
6614
|
let div;
|
6615
|
+
let link;
|
6616
|
+
let t;
|
6547
6617
|
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6548
6618
|
let each_blocks = [];
|
6549
6619
|
|
@@ -6554,15 +6624,21 @@ function create_fragment$c(ctx) {
|
|
6554
6624
|
return {
|
6555
6625
|
c() {
|
6556
6626
|
div = element("div");
|
6627
|
+
link = element("link");
|
6628
|
+
t = space();
|
6557
6629
|
|
6558
6630
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6559
6631
|
each_blocks[i].c();
|
6560
6632
|
}
|
6561
6633
|
|
6634
|
+
attr(link, "href", `https://fonts.googleapis.com/css2?${getGoogleFontsParam()}&display=swap&text=0123456789`);
|
6635
|
+
attr(link, "rel", "stylesheet");
|
6562
6636
|
attr(div, "class", "rating-buttons svelte-176k37j");
|
6563
6637
|
},
|
6564
6638
|
m(target, anchor) {
|
6565
6639
|
insert(target, div, anchor);
|
6640
|
+
append(div, link);
|
6641
|
+
append(div, t);
|
6566
6642
|
|
6567
6643
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
6568
6644
|
each_blocks[i].m(div, null);
|
@@ -6603,14 +6679,14 @@ function create_fragment$c(ctx) {
|
|
6603
6679
|
|
6604
6680
|
const func$1 = i => i + 1;
|
6605
6681
|
|
6606
|
-
function instance$
|
6682
|
+
function instance$d($$self, $$props, $$invalidate) {
|
6607
6683
|
let _value;
|
6608
6684
|
let $value;
|
6609
6685
|
let { name = '' } = $$props;
|
6610
6686
|
let { required = false } = $$props;
|
6611
6687
|
let { count = 5 } = $$props;
|
6612
|
-
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:
|
6613
|
-
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px
|
6688
|
+
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;
|
6689
|
+
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px 8px 16px 0px rgba(0, 16, 14, 0.3);' } = $$props;
|
6614
6690
|
const { path: statePath } = getStateItemContext();
|
6615
6691
|
|
6616
6692
|
const value = registerInput({
|
@@ -6670,8 +6746,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
6670
6746
|
init(
|
6671
6747
|
this,
|
6672
6748
|
options,
|
6673
|
-
instance$
|
6674
|
-
create_fragment$
|
6749
|
+
instance$d,
|
6750
|
+
create_fragment$d,
|
6675
6751
|
safe_not_equal,
|
6676
6752
|
{
|
6677
6753
|
name: 5,
|
@@ -6680,14 +6756,14 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
6680
6756
|
buttonStyle: 7,
|
6681
6757
|
buttonActiveStyle: 8
|
6682
6758
|
},
|
6683
|
-
add_css$
|
6759
|
+
add_css$c
|
6684
6760
|
);
|
6685
6761
|
}
|
6686
6762
|
}
|
6687
6763
|
|
6688
6764
|
/* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
|
6689
6765
|
|
6690
|
-
function add_css$
|
6766
|
+
function add_css$b(target) {
|
6691
6767
|
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%)}");
|
6692
6768
|
}
|
6693
6769
|
|
@@ -6740,7 +6816,7 @@ function create_each_block$1(ctx) {
|
|
6740
6816
|
};
|
6741
6817
|
}
|
6742
6818
|
|
6743
|
-
function create_fragment$
|
6819
|
+
function create_fragment$c(ctx) {
|
6744
6820
|
let div;
|
6745
6821
|
let each_value = [...Array(count).keys()].reverse().map(func);
|
6746
6822
|
let each_blocks = [];
|
@@ -6802,7 +6878,7 @@ function create_fragment$b(ctx) {
|
|
6802
6878
|
const count = 5;
|
6803
6879
|
const func = i => i + 1;
|
6804
6880
|
|
6805
|
-
function instance$
|
6881
|
+
function instance$c($$self, $$props, $$invalidate) {
|
6806
6882
|
let _value;
|
6807
6883
|
let buttonStyle;
|
6808
6884
|
let $value;
|
@@ -6858,13 +6934,13 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
6858
6934
|
class FormRatingButtonsFace extends SvelteComponent {
|
6859
6935
|
constructor(options) {
|
6860
6936
|
super();
|
6861
|
-
init(this, options, instance$
|
6937
|
+
init(this, options, instance$c, create_fragment$c, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$b);
|
6862
6938
|
}
|
6863
6939
|
}
|
6864
6940
|
|
6865
6941
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
6866
6942
|
|
6867
|
-
function add_css$
|
6943
|
+
function add_css$a(target) {
|
6868
6944
|
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%}");
|
6869
6945
|
}
|
6870
6946
|
|
@@ -7029,7 +7105,7 @@ function create_each_block(ctx) {
|
|
7029
7105
|
};
|
7030
7106
|
}
|
7031
7107
|
|
7032
|
-
function create_fragment$
|
7108
|
+
function create_fragment$b(ctx) {
|
7033
7109
|
let div3;
|
7034
7110
|
let div1;
|
7035
7111
|
let div0;
|
@@ -7213,7 +7289,7 @@ function calcPositionIndex(shift, index, length) {
|
|
7213
7289
|
}
|
7214
7290
|
}
|
7215
7291
|
|
7216
|
-
function instance$
|
7292
|
+
function instance$b($$self, $$props, $$invalidate) {
|
7217
7293
|
let slideStyle;
|
7218
7294
|
let slideClass;
|
7219
7295
|
let _loop;
|
@@ -7443,7 +7519,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
7443
7519
|
fixSlidePosition();
|
7444
7520
|
}
|
7445
7521
|
|
7446
|
-
onMount(async () => {
|
7522
|
+
onMount$1(async () => {
|
7447
7523
|
containerWidth = containerElement.clientWidth;
|
7448
7524
|
|
7449
7525
|
items.forEach(item => {
|
@@ -7650,8 +7726,8 @@ class Slide extends SvelteComponent {
|
|
7650
7726
|
init(
|
7651
7727
|
this,
|
7652
7728
|
options,
|
7653
|
-
instance$
|
7654
|
-
create_fragment$
|
7729
|
+
instance$b,
|
7730
|
+
create_fragment$b,
|
7655
7731
|
safe_not_equal,
|
7656
7732
|
{
|
7657
7733
|
loop: 18,
|
@@ -7665,7 +7741,7 @@ class Slide extends SvelteComponent {
|
|
7665
7741
|
navigationButton: 25,
|
7666
7742
|
navigationEdgePosition: 26
|
7667
7743
|
},
|
7668
|
-
add_css$
|
7744
|
+
add_css$a,
|
7669
7745
|
[-1, -1]
|
7670
7746
|
);
|
7671
7747
|
}
|
@@ -7673,11 +7749,11 @@ class Slide extends SvelteComponent {
|
|
7673
7749
|
|
7674
7750
|
/* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
|
7675
7751
|
|
7676
|
-
function add_css$
|
7752
|
+
function add_css$9(target) {
|
7677
7753
|
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}");
|
7678
7754
|
}
|
7679
7755
|
|
7680
|
-
function create_fragment$
|
7756
|
+
function create_fragment$a(ctx) {
|
7681
7757
|
let div1;
|
7682
7758
|
let div0;
|
7683
7759
|
let current;
|
@@ -7744,7 +7820,7 @@ function create_fragment$9(ctx) {
|
|
7744
7820
|
};
|
7745
7821
|
}
|
7746
7822
|
|
7747
|
-
function instance$
|
7823
|
+
function instance$a($$self, $$props, $$invalidate) {
|
7748
7824
|
let itemStyle;
|
7749
7825
|
let { $$slots: slots = {}, $$scope } = $$props;
|
7750
7826
|
const { registerItem, unregisterItem } = getContext('SLIDE');
|
@@ -7810,20 +7886,20 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
7810
7886
|
class SlideItem extends SvelteComponent {
|
7811
7887
|
constructor(options) {
|
7812
7888
|
super();
|
7813
|
-
init(this, options, instance$
|
7889
|
+
init(this, options, instance$a, create_fragment$a, safe_not_equal, { _style: 0 }, add_css$9);
|
7814
7890
|
}
|
7815
7891
|
}
|
7816
7892
|
|
7817
7893
|
/* src/components/Countdown.svelte generated by Svelte v3.53.1 */
|
7818
7894
|
|
7819
|
-
function add_css$
|
7895
|
+
function add_css$8(target) {
|
7820
7896
|
append_styles(target, "svelte-qx7l0c", ".countdown.svelte-qx7l0c{position:relative;width:100%;height:100%}.countdown-inner.svelte-qx7l0c{position:absolute;inset:0}");
|
7821
7897
|
}
|
7822
7898
|
|
7823
7899
|
const get_default_slot_changes = dirty => ({ countdown: dirty & /*countdown*/ 2 });
|
7824
7900
|
const get_default_slot_context = ctx => ({ countdown: /*countdown*/ ctx[1] });
|
7825
7901
|
|
7826
|
-
function create_fragment$
|
7902
|
+
function create_fragment$9(ctx) {
|
7827
7903
|
let div1;
|
7828
7904
|
let div0;
|
7829
7905
|
let current;
|
@@ -7903,7 +7979,7 @@ function formatTimeDiff(ms) {
|
|
7903
7979
|
};
|
7904
7980
|
}
|
7905
7981
|
|
7906
|
-
function instance$
|
7982
|
+
function instance$9($$self, $$props, $$invalidate) {
|
7907
7983
|
let countdown;
|
7908
7984
|
let { $$slots: slots = {}, $$scope } = $$props;
|
7909
7985
|
let { timeLimit = '2023/12/31 23:59:59' } = $$props;
|
@@ -7925,7 +8001,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
7925
8001
|
}
|
7926
8002
|
}
|
7927
8003
|
|
7928
|
-
onMount(() => {
|
8004
|
+
onMount$1(() => {
|
7929
8005
|
const timerId = setInterval(
|
7930
8006
|
() => {
|
7931
8007
|
onEachSecond();
|
@@ -7964,61 +8040,48 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
7964
8040
|
class Countdown extends SvelteComponent {
|
7965
8041
|
constructor(options) {
|
7966
8042
|
super();
|
7967
|
-
init(this, options, instance$
|
8043
|
+
init(this, options, instance$9, create_fragment$9, safe_not_equal, { timeLimit: 2, stateOnEnd: 3, _style: 0 }, add_css$8);
|
7968
8044
|
}
|
7969
8045
|
}
|
7970
8046
|
|
7971
8047
|
/* src/components/Box.svelte generated by Svelte v3.53.1 */
|
7972
8048
|
|
7973
|
-
function add_css$
|
7974
|
-
append_styles(target, "svelte-
|
8049
|
+
function add_css$7(target) {
|
8050
|
+
append_styles(target, "svelte-1d6pgu1", ".box.svelte-1d6pgu1{position:relative;width:100%;height:100%}.box.svelte-1d6pgu1 > .button{position:absolute;inset:0}");
|
7975
8051
|
}
|
7976
8052
|
|
7977
|
-
|
7978
|
-
|
7979
|
-
let div0;
|
8053
|
+
// (24:2) <Button {onClick} style={_style} {eventName}>
|
8054
|
+
function create_default_slot$2(ctx) {
|
7980
8055
|
let current;
|
7981
|
-
const default_slot_template = /*#slots*/ ctx[
|
7982
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
8056
|
+
const default_slot_template = /*#slots*/ ctx[3].default;
|
8057
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[4], null);
|
7983
8058
|
|
7984
8059
|
return {
|
7985
8060
|
c() {
|
7986
|
-
div1 = element("div");
|
7987
|
-
div0 = element("div");
|
7988
8061
|
if (default_slot) default_slot.c();
|
7989
|
-
attr(div0, "class", "box svelte-aept6n");
|
7990
|
-
attr(div0, "style", /*_style*/ ctx[0]);
|
7991
|
-
attr(div1, "class", "box-wrapper svelte-aept6n");
|
7992
8062
|
},
|
7993
8063
|
m(target, anchor) {
|
7994
|
-
insert(target, div1, anchor);
|
7995
|
-
append(div1, div0);
|
7996
|
-
|
7997
8064
|
if (default_slot) {
|
7998
|
-
default_slot.m(
|
8065
|
+
default_slot.m(target, anchor);
|
7999
8066
|
}
|
8000
8067
|
|
8001
8068
|
current = true;
|
8002
8069
|
},
|
8003
|
-
p(ctx,
|
8070
|
+
p(ctx, dirty) {
|
8004
8071
|
if (default_slot) {
|
8005
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
8072
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 16)) {
|
8006
8073
|
update_slot_base(
|
8007
8074
|
default_slot,
|
8008
8075
|
default_slot_template,
|
8009
8076
|
ctx,
|
8010
|
-
/*$$scope*/ ctx[
|
8077
|
+
/*$$scope*/ ctx[4],
|
8011
8078
|
!current
|
8012
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
8013
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
8079
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[4])
|
8080
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[4], dirty, null),
|
8014
8081
|
null
|
8015
8082
|
);
|
8016
8083
|
}
|
8017
8084
|
}
|
8018
|
-
|
8019
|
-
if (!current || dirty & /*_style*/ 1) {
|
8020
|
-
attr(div0, "style", /*_style*/ ctx[0]);
|
8021
|
-
}
|
8022
8085
|
},
|
8023
8086
|
i(local) {
|
8024
8087
|
if (current) return;
|
@@ -8030,38 +8093,95 @@ function create_fragment$7(ctx) {
|
|
8030
8093
|
current = false;
|
8031
8094
|
},
|
8032
8095
|
d(detaching) {
|
8033
|
-
if (detaching) detach(div1);
|
8034
8096
|
if (default_slot) default_slot.d(detaching);
|
8035
8097
|
}
|
8036
8098
|
};
|
8037
8099
|
}
|
8038
8100
|
|
8039
|
-
function
|
8101
|
+
function create_fragment$8(ctx) {
|
8102
|
+
let div;
|
8103
|
+
let button;
|
8104
|
+
let current;
|
8105
|
+
|
8106
|
+
button = new Button({
|
8107
|
+
props: {
|
8108
|
+
onClick: /*onClick*/ ctx[0],
|
8109
|
+
style: /*_style*/ ctx[2],
|
8110
|
+
eventName: /*eventName*/ ctx[1],
|
8111
|
+
$$slots: { default: [create_default_slot$2] },
|
8112
|
+
$$scope: { ctx }
|
8113
|
+
}
|
8114
|
+
});
|
8115
|
+
|
8116
|
+
return {
|
8117
|
+
c() {
|
8118
|
+
div = element("div");
|
8119
|
+
create_component(button.$$.fragment);
|
8120
|
+
attr(div, "class", "box svelte-1d6pgu1");
|
8121
|
+
},
|
8122
|
+
m(target, anchor) {
|
8123
|
+
insert(target, div, anchor);
|
8124
|
+
mount_component(button, div, null);
|
8125
|
+
current = true;
|
8126
|
+
},
|
8127
|
+
p(ctx, [dirty]) {
|
8128
|
+
const button_changes = {};
|
8129
|
+
if (dirty & /*onClick*/ 1) button_changes.onClick = /*onClick*/ ctx[0];
|
8130
|
+
if (dirty & /*_style*/ 4) button_changes.style = /*_style*/ ctx[2];
|
8131
|
+
if (dirty & /*eventName*/ 2) button_changes.eventName = /*eventName*/ ctx[1];
|
8132
|
+
|
8133
|
+
if (dirty & /*$$scope*/ 16) {
|
8134
|
+
button_changes.$$scope = { dirty, ctx };
|
8135
|
+
}
|
8136
|
+
|
8137
|
+
button.$set(button_changes);
|
8138
|
+
},
|
8139
|
+
i(local) {
|
8140
|
+
if (current) return;
|
8141
|
+
transition_in(button.$$.fragment, local);
|
8142
|
+
current = true;
|
8143
|
+
},
|
8144
|
+
o(local) {
|
8145
|
+
transition_out(button.$$.fragment, local);
|
8146
|
+
current = false;
|
8147
|
+
},
|
8148
|
+
d(detaching) {
|
8149
|
+
if (detaching) detach(div);
|
8150
|
+
destroy_component(button);
|
8151
|
+
}
|
8152
|
+
};
|
8153
|
+
}
|
8154
|
+
|
8155
|
+
function instance$8($$self, $$props, $$invalidate) {
|
8040
8156
|
let { $$slots: slots = {}, $$scope } = $$props;
|
8157
|
+
let { onClick = { operation: 'none', args: [] } } = $$props;
|
8158
|
+
let { eventName = '' } = $$props;
|
8041
8159
|
let { _style = '' } = $$props;
|
8042
8160
|
|
8043
8161
|
$$self.$$set = $$props => {
|
8044
|
-
if ('
|
8045
|
-
if ('
|
8162
|
+
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
8163
|
+
if ('eventName' in $$props) $$invalidate(1, eventName = $$props.eventName);
|
8164
|
+
if ('_style' in $$props) $$invalidate(2, _style = $$props._style);
|
8165
|
+
if ('$$scope' in $$props) $$invalidate(4, $$scope = $$props.$$scope);
|
8046
8166
|
};
|
8047
8167
|
|
8048
|
-
return [_style, $$scope
|
8168
|
+
return [onClick, eventName, _style, slots, $$scope];
|
8049
8169
|
}
|
8050
8170
|
|
8051
8171
|
class Box extends SvelteComponent {
|
8052
8172
|
constructor(options) {
|
8053
8173
|
super();
|
8054
|
-
init(this, options, instance$
|
8174
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { onClick: 0, eventName: 1, _style: 2 }, add_css$7);
|
8055
8175
|
}
|
8056
8176
|
}
|
8057
8177
|
|
8058
8178
|
/* src/components/IconElement.svelte generated by Svelte v3.53.1 */
|
8059
8179
|
|
8060
|
-
function add_css$
|
8061
|
-
append_styles(target, "svelte-
|
8180
|
+
function add_css$6(target) {
|
8181
|
+
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)}");
|
8062
8182
|
}
|
8063
8183
|
|
8064
|
-
// (
|
8184
|
+
// (56:4) {#if svg}
|
8065
8185
|
function create_if_block(ctx) {
|
8066
8186
|
let html_tag;
|
8067
8187
|
let html_anchor;
|
@@ -8073,11 +8193,11 @@ function create_if_block(ctx) {
|
|
8073
8193
|
html_tag.a = html_anchor;
|
8074
8194
|
},
|
8075
8195
|
m(target, anchor) {
|
8076
|
-
html_tag.m(/*svg*/ ctx[
|
8196
|
+
html_tag.m(/*svg*/ ctx[3], target, anchor);
|
8077
8197
|
insert(target, html_anchor, anchor);
|
8078
8198
|
},
|
8079
8199
|
p(ctx, dirty) {
|
8080
|
-
if (dirty & /*svg*/
|
8200
|
+
if (dirty & /*svg*/ 8) html_tag.p(/*svg*/ ctx[3]);
|
8081
8201
|
},
|
8082
8202
|
d(detaching) {
|
8083
8203
|
if (detaching) detach(html_anchor);
|
@@ -8086,44 +8206,91 @@ function create_if_block(ctx) {
|
|
8086
8206
|
};
|
8087
8207
|
}
|
8088
8208
|
|
8089
|
-
|
8090
|
-
|
8091
|
-
let
|
8209
|
+
// (55:2) <Button {onClick} {style} {eventName}>
|
8210
|
+
function create_default_slot$1(ctx) {
|
8211
|
+
let if_block_anchor;
|
8212
|
+
let if_block = /*svg*/ ctx[3] && create_if_block(ctx);
|
8092
8213
|
|
8093
8214
|
return {
|
8094
8215
|
c() {
|
8095
|
-
div = element("div");
|
8096
8216
|
if (if_block) if_block.c();
|
8097
|
-
|
8098
|
-
attr(div, "style", /*style*/ ctx[0]);
|
8217
|
+
if_block_anchor = empty();
|
8099
8218
|
},
|
8100
8219
|
m(target, anchor) {
|
8101
|
-
|
8102
|
-
|
8220
|
+
if (if_block) if_block.m(target, anchor);
|
8221
|
+
insert(target, if_block_anchor, anchor);
|
8103
8222
|
},
|
8104
|
-
p(ctx,
|
8105
|
-
if (/*svg*/ ctx[
|
8223
|
+
p(ctx, dirty) {
|
8224
|
+
if (/*svg*/ ctx[3]) {
|
8106
8225
|
if (if_block) {
|
8107
8226
|
if_block.p(ctx, dirty);
|
8108
8227
|
} else {
|
8109
8228
|
if_block = create_if_block(ctx);
|
8110
8229
|
if_block.c();
|
8111
|
-
if_block.m(
|
8230
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
8112
8231
|
}
|
8113
8232
|
} else if (if_block) {
|
8114
8233
|
if_block.d(1);
|
8115
8234
|
if_block = null;
|
8116
8235
|
}
|
8236
|
+
},
|
8237
|
+
d(detaching) {
|
8238
|
+
if (if_block) if_block.d(detaching);
|
8239
|
+
if (detaching) detach(if_block_anchor);
|
8240
|
+
}
|
8241
|
+
};
|
8242
|
+
}
|
8117
8243
|
|
8118
|
-
|
8119
|
-
|
8244
|
+
function create_fragment$7(ctx) {
|
8245
|
+
let div;
|
8246
|
+
let button;
|
8247
|
+
let current;
|
8248
|
+
|
8249
|
+
button = new Button({
|
8250
|
+
props: {
|
8251
|
+
onClick: /*onClick*/ ctx[0],
|
8252
|
+
style: /*style*/ ctx[2],
|
8253
|
+
eventName: /*eventName*/ ctx[1],
|
8254
|
+
$$slots: { default: [create_default_slot$1] },
|
8255
|
+
$$scope: { ctx }
|
8120
8256
|
}
|
8257
|
+
});
|
8258
|
+
|
8259
|
+
return {
|
8260
|
+
c() {
|
8261
|
+
div = element("div");
|
8262
|
+
create_component(button.$$.fragment);
|
8263
|
+
attr(div, "class", "icon svelte-1mkvcuo");
|
8264
|
+
},
|
8265
|
+
m(target, anchor) {
|
8266
|
+
insert(target, div, anchor);
|
8267
|
+
mount_component(button, div, null);
|
8268
|
+
current = true;
|
8269
|
+
},
|
8270
|
+
p(ctx, [dirty]) {
|
8271
|
+
const button_changes = {};
|
8272
|
+
if (dirty & /*onClick*/ 1) button_changes.onClick = /*onClick*/ ctx[0];
|
8273
|
+
if (dirty & /*style*/ 4) button_changes.style = /*style*/ ctx[2];
|
8274
|
+
if (dirty & /*eventName*/ 2) button_changes.eventName = /*eventName*/ ctx[1];
|
8275
|
+
|
8276
|
+
if (dirty & /*$$scope, svg*/ 520) {
|
8277
|
+
button_changes.$$scope = { dirty, ctx };
|
8278
|
+
}
|
8279
|
+
|
8280
|
+
button.$set(button_changes);
|
8281
|
+
},
|
8282
|
+
i(local) {
|
8283
|
+
if (current) return;
|
8284
|
+
transition_in(button.$$.fragment, local);
|
8285
|
+
current = true;
|
8286
|
+
},
|
8287
|
+
o(local) {
|
8288
|
+
transition_out(button.$$.fragment, local);
|
8289
|
+
current = false;
|
8121
8290
|
},
|
8122
|
-
i: noop,
|
8123
|
-
o: noop,
|
8124
8291
|
d(detaching) {
|
8125
8292
|
if (detaching) detach(div);
|
8126
|
-
|
8293
|
+
destroy_component(button);
|
8127
8294
|
}
|
8128
8295
|
};
|
8129
8296
|
}
|
@@ -8135,47 +8302,176 @@ function parseData(dataUrl) {
|
|
8135
8302
|
return decodeURIComponent(data).replaceAll('\'', '"');
|
8136
8303
|
}
|
8137
8304
|
|
8138
|
-
function instance$
|
8305
|
+
function instance$7($$self, $$props, $$invalidate) {
|
8139
8306
|
let svg;
|
8140
8307
|
let styleVariables;
|
8141
8308
|
let style;
|
8142
8309
|
let { icon = '' } = $$props;
|
8310
|
+
let { onClick = { operation: 'none', args: [] } } = $$props;
|
8311
|
+
let { eventName = '' } = $$props;
|
8143
8312
|
let { size = '20px' } = $$props;
|
8144
8313
|
let { color = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
8145
8314
|
let { _style = '' } = $$props;
|
8146
8315
|
|
8147
8316
|
$$self.$$set = $$props => {
|
8148
|
-
if ('icon' in $$props) $$invalidate(
|
8149
|
-
if ('
|
8150
|
-
if ('
|
8151
|
-
if ('
|
8317
|
+
if ('icon' in $$props) $$invalidate(4, icon = $$props.icon);
|
8318
|
+
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
8319
|
+
if ('eventName' in $$props) $$invalidate(1, eventName = $$props.eventName);
|
8320
|
+
if ('size' in $$props) $$invalidate(5, size = $$props.size);
|
8321
|
+
if ('color' in $$props) $$invalidate(6, color = $$props.color);
|
8322
|
+
if ('_style' in $$props) $$invalidate(7, _style = $$props._style);
|
8152
8323
|
};
|
8153
8324
|
|
8154
8325
|
$$self.$$.update = () => {
|
8155
|
-
if ($$self.$$.dirty & /*icon*/
|
8156
|
-
$$invalidate(
|
8326
|
+
if ($$self.$$.dirty & /*icon*/ 16) {
|
8327
|
+
$$invalidate(3, svg = (() => {
|
8157
8328
|
if (!icon) return;
|
8158
8329
|
const original = parseData(icon);
|
8159
8330
|
return original;
|
8160
8331
|
})());
|
8161
8332
|
}
|
8162
8333
|
|
8163
|
-
if ($$self.$$.dirty & /*size, color*/
|
8164
|
-
$$invalidate(
|
8334
|
+
if ($$self.$$.dirty & /*size, color*/ 96) {
|
8335
|
+
$$invalidate(8, styleVariables = `--width: ${size}; --height: ${size}; --color: ${color}; --stroke: ${color}; --fill: ${color};`);
|
8165
8336
|
}
|
8166
8337
|
|
8167
|
-
if ($$self.$$.dirty & /*_style, styleVariables*/
|
8168
|
-
$$invalidate(
|
8338
|
+
if ($$self.$$.dirty & /*_style, styleVariables*/ 384) {
|
8339
|
+
$$invalidate(2, style = [..._style.split(';'), ...styleVariables.split(';')].join(';'));
|
8169
8340
|
}
|
8170
8341
|
};
|
8171
8342
|
|
8172
|
-
return [style, svg, icon, size, color, _style, styleVariables];
|
8343
|
+
return [onClick, eventName, style, svg, icon, size, color, _style, styleVariables];
|
8173
8344
|
}
|
8174
8345
|
|
8175
8346
|
class IconElement extends SvelteComponent {
|
8176
8347
|
constructor(options) {
|
8177
8348
|
super();
|
8178
|
-
|
8349
|
+
|
8350
|
+
init(
|
8351
|
+
this,
|
8352
|
+
options,
|
8353
|
+
instance$7,
|
8354
|
+
create_fragment$7,
|
8355
|
+
safe_not_equal,
|
8356
|
+
{
|
8357
|
+
icon: 4,
|
8358
|
+
onClick: 0,
|
8359
|
+
eventName: 1,
|
8360
|
+
size: 5,
|
8361
|
+
color: 6,
|
8362
|
+
_style: 7
|
8363
|
+
},
|
8364
|
+
add_css$6
|
8365
|
+
);
|
8366
|
+
}
|
8367
|
+
}
|
8368
|
+
|
8369
|
+
/* src/components/CustomElement.svelte generated by Svelte v3.53.1 */
|
8370
|
+
|
8371
|
+
function add_css$5(target) {
|
8372
|
+
append_styles(target, "svelte-wps40", ".customElement.svelte-wps40{box-sizing:border-box;margin:0px;padding:0px}");
|
8373
|
+
}
|
8374
|
+
|
8375
|
+
function create_fragment$6(ctx) {
|
8376
|
+
let div;
|
8377
|
+
let switch_instance;
|
8378
|
+
let current;
|
8379
|
+
var switch_value = /*component*/ ctx[1];
|
8380
|
+
|
8381
|
+
function switch_props(ctx) {
|
8382
|
+
return {
|
8383
|
+
props: {
|
8384
|
+
name: /*name*/ ctx[0],
|
8385
|
+
data: /*data*/ ctx[2]
|
8386
|
+
}
|
8387
|
+
};
|
8388
|
+
}
|
8389
|
+
|
8390
|
+
if (switch_value) {
|
8391
|
+
switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
|
8392
|
+
}
|
8393
|
+
|
8394
|
+
return {
|
8395
|
+
c() {
|
8396
|
+
div = element("div");
|
8397
|
+
if (switch_instance) create_component(switch_instance.$$.fragment);
|
8398
|
+
attr(div, "class", "customElement svelte-wps40");
|
8399
|
+
attr(div, "style", /*style*/ ctx[3]);
|
8400
|
+
},
|
8401
|
+
m(target, anchor) {
|
8402
|
+
insert(target, div, anchor);
|
8403
|
+
if (switch_instance) mount_component(switch_instance, div, null);
|
8404
|
+
current = true;
|
8405
|
+
},
|
8406
|
+
p(ctx, [dirty]) {
|
8407
|
+
const switch_instance_changes = {};
|
8408
|
+
if (dirty & /*name*/ 1) switch_instance_changes.name = /*name*/ ctx[0];
|
8409
|
+
if (dirty & /*data*/ 4) switch_instance_changes.data = /*data*/ ctx[2];
|
8410
|
+
|
8411
|
+
if (switch_value !== (switch_value = /*component*/ ctx[1])) {
|
8412
|
+
if (switch_instance) {
|
8413
|
+
group_outros();
|
8414
|
+
const old_component = switch_instance;
|
8415
|
+
|
8416
|
+
transition_out(old_component.$$.fragment, 1, 0, () => {
|
8417
|
+
destroy_component(old_component, 1);
|
8418
|
+
});
|
8419
|
+
|
8420
|
+
check_outros();
|
8421
|
+
}
|
8422
|
+
|
8423
|
+
if (switch_value) {
|
8424
|
+
switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
|
8425
|
+
create_component(switch_instance.$$.fragment);
|
8426
|
+
transition_in(switch_instance.$$.fragment, 1);
|
8427
|
+
mount_component(switch_instance, div, null);
|
8428
|
+
} else {
|
8429
|
+
switch_instance = null;
|
8430
|
+
}
|
8431
|
+
} else if (switch_value) {
|
8432
|
+
switch_instance.$set(switch_instance_changes);
|
8433
|
+
}
|
8434
|
+
|
8435
|
+
if (!current || dirty & /*style*/ 8) {
|
8436
|
+
attr(div, "style", /*style*/ ctx[3]);
|
8437
|
+
}
|
8438
|
+
},
|
8439
|
+
i(local) {
|
8440
|
+
if (current) return;
|
8441
|
+
if (switch_instance) transition_in(switch_instance.$$.fragment, local);
|
8442
|
+
current = true;
|
8443
|
+
},
|
8444
|
+
o(local) {
|
8445
|
+
if (switch_instance) transition_out(switch_instance.$$.fragment, local);
|
8446
|
+
current = false;
|
8447
|
+
},
|
8448
|
+
d(detaching) {
|
8449
|
+
if (detaching) detach(div);
|
8450
|
+
if (switch_instance) destroy_component(switch_instance);
|
8451
|
+
}
|
8452
|
+
};
|
8453
|
+
}
|
8454
|
+
|
8455
|
+
function instance$6($$self, $$props, $$invalidate) {
|
8456
|
+
let { name } = $$props;
|
8457
|
+
let { component } = $$props;
|
8458
|
+
let { data } = $$props;
|
8459
|
+
let { style } = $$props;
|
8460
|
+
|
8461
|
+
$$self.$$set = $$props => {
|
8462
|
+
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
8463
|
+
if ('component' in $$props) $$invalidate(1, component = $$props.component);
|
8464
|
+
if ('data' in $$props) $$invalidate(2, data = $$props.data);
|
8465
|
+
if ('style' in $$props) $$invalidate(3, style = $$props.style);
|
8466
|
+
};
|
8467
|
+
|
8468
|
+
return [name, component, data, style];
|
8469
|
+
}
|
8470
|
+
|
8471
|
+
class CustomElement extends SvelteComponent {
|
8472
|
+
constructor(options) {
|
8473
|
+
super();
|
8474
|
+
init(this, options, instance$6, create_fragment$6, safe_not_equal, { name: 0, component: 1, data: 2, style: 3 }, add_css$5);
|
8179
8475
|
}
|
8180
8476
|
}
|
8181
8477
|
|
@@ -9078,4 +9374,4 @@ class ImageBlock extends SvelteComponent {
|
|
9078
9374
|
}
|
9079
9375
|
}
|
9080
9376
|
|
9081
|
-
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 };
|
9377
|
+
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 };
|