@plaidev/karte-action-sdk 1.1.139 → 1.1.140-27968620.92b2388a
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 +25 -265
- package/dist/hydrate/index.es.js +586 -351
- package/dist/icons.d.ts +23 -0
- package/dist/icons.js +30 -0
- package/dist/index.es.d.ts +25 -265
- package/dist/index.es.js +541 -351
- package/dist/templates.cjs.d.ts +1 -1
- package/dist/templates.cjs.js +8 -9
- package/dist/templates.d.ts +1 -1
- package/dist/templates.js +8 -9
- package/package.json +11 -1
package/dist/index.es.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { writable, get } from 'svelte/store';
|
2
1
|
import { linear, elasticOut, cubicOut } from 'svelte/easing';
|
3
|
-
import {
|
2
|
+
import { writable, get } from 'svelte/store';
|
3
|
+
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, is_function, append, add_render_callback, create_in_transition, svg_element, binding_callbacks, destroy_each, text, set_data, null_to_empty, src_url_equal, HtmlTag } from 'svelte/internal';
|
4
4
|
import { setContext, getContext, createEventDispatcher, onMount, onDestroy as onDestroy$1 } from 'svelte';
|
5
5
|
|
6
6
|
/** @internal */
|
@@ -208,14 +208,6 @@ function randStr(digit = 8) {
|
|
208
208
|
return Math.random().toString(32).substring(digit);
|
209
209
|
}
|
210
210
|
|
211
|
-
/**
|
212
|
-
* get store state value
|
213
|
-
*
|
214
|
-
* @deprecated 非推奨
|
215
|
-
*
|
216
|
-
* @internal
|
217
|
-
*/
|
218
|
-
const getStoreState = get;
|
219
211
|
/**
|
220
212
|
* Store to handle action setting
|
221
213
|
*
|
@@ -252,6 +244,15 @@ function setSetting(setting) {
|
|
252
244
|
setStopped(!current.autoStart);
|
253
245
|
return current;
|
254
246
|
}
|
247
|
+
/**
|
248
|
+
* {@link resetSetting} function to reset action setting
|
249
|
+
*
|
250
|
+
* @internal
|
251
|
+
*/
|
252
|
+
function resetSetting() {
|
253
|
+
actionSetting.set({ autoStart: true });
|
254
|
+
setStopped(false);
|
255
|
+
}
|
255
256
|
/**
|
256
257
|
* Store to read KARTE system config
|
257
258
|
*
|
@@ -380,18 +381,6 @@ function setOpened(on) {
|
|
380
381
|
* @internal
|
381
382
|
*/
|
382
383
|
const closed = writable(false); // deprecated
|
383
|
-
/**
|
384
|
-
* {@link isClosed} function to check if action is clsoed.
|
385
|
-
*
|
386
|
-
* @returns Flag if action is closed / true: Closed, false: Not closed
|
387
|
-
*
|
388
|
-
* @deprecated 非推奨
|
389
|
-
*
|
390
|
-
* @internal
|
391
|
-
*/
|
392
|
-
function isClosed() {
|
393
|
-
return get(closed);
|
394
|
-
}
|
395
384
|
/**
|
396
385
|
* {@link setClosed} function to set if action is closed.
|
397
386
|
*
|
@@ -513,6 +502,13 @@ function setEventHandlers(handlers) {
|
|
513
502
|
});
|
514
503
|
return getEventHandlers();
|
515
504
|
}
|
505
|
+
/**
|
506
|
+
* イベントハンドラーをリセットする
|
507
|
+
*
|
508
|
+
*/
|
509
|
+
function resetEventHandlers() {
|
510
|
+
setEventHandlers({});
|
511
|
+
}
|
516
512
|
/**
|
517
513
|
* Store to handle destruction of action
|
518
514
|
*
|
@@ -597,129 +593,18 @@ function setVariables(vars) {
|
|
597
593
|
return getVariables();
|
598
594
|
}
|
599
595
|
/**
|
600
|
-
*
|
601
|
-
*
|
602
|
-
* @internal
|
603
|
-
*/
|
604
|
-
const formData = writable({});
|
605
|
-
/**
|
606
|
-
* 非推奨
|
607
|
-
*
|
608
|
-
* @deprecated 非推奨
|
609
|
-
*
|
610
|
-
* @internal
|
611
|
-
*/
|
612
|
-
const customHandlers = writable({});
|
613
|
-
/**
|
614
|
-
* 非推奨
|
615
|
-
*
|
616
|
-
* @deprecated 非推奨
|
617
|
-
*
|
618
|
-
* @internal
|
619
|
-
*/
|
620
|
-
function getCustomHandlers() {
|
621
|
-
return get(customHandlers);
|
622
|
-
}
|
623
|
-
/**
|
624
|
-
* 非推奨
|
625
|
-
*
|
626
|
-
* @deprecated 非推奨
|
627
|
-
*
|
628
|
-
* @internal
|
629
|
-
*/
|
630
|
-
function setCustomHandlers(handlers) {
|
631
|
-
customHandlers.set(handlers);
|
632
|
-
}
|
633
|
-
/**
|
634
|
-
* 非推奨
|
635
|
-
*
|
636
|
-
* @deprecated 非推奨
|
637
|
-
*
|
638
|
-
* @internal
|
639
|
-
*/
|
640
|
-
function updateCustomHandlers(handlers) {
|
641
|
-
customHandlers.update(current => {
|
642
|
-
return { ...current, ...handlers };
|
643
|
-
});
|
644
|
-
return getCustomHandlers();
|
645
|
-
}
|
646
|
-
/**
|
647
|
-
* 非推奨
|
648
|
-
*
|
649
|
-
* @deprecated 非推奨
|
650
|
-
*
|
651
|
-
* @internal
|
652
|
-
*/
|
653
|
-
const customVariables = writable({});
|
654
|
-
/**
|
655
|
-
* 非推奨
|
656
|
-
*
|
657
|
-
* @deprecated 非推奨
|
658
|
-
*
|
659
|
-
* @internal
|
660
|
-
*/
|
661
|
-
function getCustomVariables() {
|
662
|
-
return get(customVariables);
|
663
|
-
}
|
664
|
-
/**
|
665
|
-
* 非推奨
|
666
|
-
*
|
667
|
-
* @deprecated 非推奨
|
668
|
-
*
|
669
|
-
* @internal
|
670
|
-
*/
|
671
|
-
function setCustomVariables(variables) {
|
672
|
-
customVariables.set(variables);
|
673
|
-
}
|
674
|
-
/**
|
675
|
-
* 非推奨
|
676
|
-
*
|
677
|
-
* @deprecated 非推奨
|
678
|
-
*
|
679
|
-
* @internal
|
680
|
-
*/
|
681
|
-
function updateCustomVariables(variables) {
|
682
|
-
customVariables.update(current => {
|
683
|
-
return { ...current, ...variables };
|
684
|
-
});
|
685
|
-
return getCustomVariables();
|
686
|
-
}
|
687
|
-
/**
|
688
|
-
* 非推奨
|
689
|
-
*
|
690
|
-
* @deprecated 非推奨
|
691
|
-
*
|
692
|
-
* @internal
|
693
|
-
*/
|
694
|
-
function getActionSetting() {
|
695
|
-
return get(actionSetting);
|
696
|
-
}
|
697
|
-
/**
|
698
|
-
* 非推奨
|
596
|
+
* 変数をリセットする
|
699
597
|
*
|
700
|
-
* @deprecated 非推奨
|
701
|
-
*
|
702
|
-
* @internal
|
703
598
|
*/
|
704
|
-
function
|
705
|
-
|
706
|
-
return { ...current, ...setting };
|
707
|
-
});
|
708
|
-
const current = getActionSetting();
|
709
|
-
setStopped(!current.autoStart);
|
710
|
-
return current;
|
599
|
+
function resetVariables() {
|
600
|
+
setVariables({});
|
711
601
|
}
|
712
602
|
/**
|
713
|
-
*
|
714
|
-
*
|
715
|
-
* @deprecated 非推奨
|
603
|
+
* Store for form data
|
716
604
|
*
|
717
605
|
* @internal
|
718
606
|
*/
|
719
|
-
|
720
|
-
actionSetting.set({ autoStart: true });
|
721
|
-
setStopped(false);
|
722
|
-
}
|
607
|
+
const formData = writable({});
|
723
608
|
|
724
609
|
function isEmpty(value) {
|
725
610
|
if (Array.isArray(value)) {
|
@@ -839,7 +724,7 @@ const handleState = (event) => {
|
|
839
724
|
};
|
840
725
|
/** @internal */
|
841
726
|
const initialize = (setting) => {
|
842
|
-
const newSetting =
|
727
|
+
const newSetting = setSetting(setting);
|
843
728
|
if (newSetting.initialState) {
|
844
729
|
setState$1(newSetting.initialState);
|
845
730
|
}
|
@@ -852,11 +737,11 @@ const initialize = (setting) => {
|
|
852
737
|
};
|
853
738
|
/** @internal */
|
854
739
|
const finalize = () => {
|
855
|
-
|
740
|
+
resetSetting();
|
856
741
|
};
|
857
742
|
/** @internal */
|
858
743
|
const send_event = (event_name, values) => {
|
859
|
-
const setting =
|
744
|
+
const setting = getSetting();
|
860
745
|
setting?.send?.(event_name, values);
|
861
746
|
};
|
862
747
|
function _moveTo(to) {
|
@@ -883,7 +768,7 @@ const closeApp = (trigger) => () => {
|
|
883
768
|
};
|
884
769
|
/** @internal */
|
885
770
|
const runScript = (handlerName) => () => {
|
886
|
-
const handlers =
|
771
|
+
const handlers = getEventHandlers();
|
887
772
|
const handler = handlers[handlerName];
|
888
773
|
if (!handler)
|
889
774
|
return;
|
@@ -2273,7 +2158,7 @@ setWidgetHandlers({
|
|
2273
2158
|
* @public
|
2274
2159
|
*/
|
2275
2160
|
function setVal(name, value) {
|
2276
|
-
|
2161
|
+
variables.update(current => {
|
2277
2162
|
if (valCallbacks[name]) {
|
2278
2163
|
valCallbacks[name].forEach(cb => {
|
2279
2164
|
cb({ newVal: value, oldVal: current[name], key: name });
|
@@ -2494,20 +2379,20 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2494
2379
|
|
2495
2380
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2496
2381
|
|
2497
|
-
function add_css$
|
2382
|
+
function add_css$s(target) {
|
2498
2383
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2499
2384
|
}
|
2500
2385
|
|
2501
2386
|
class Normalize extends SvelteComponent {
|
2502
2387
|
constructor(options) {
|
2503
2388
|
super();
|
2504
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2389
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$s);
|
2505
2390
|
}
|
2506
2391
|
}
|
2507
2392
|
|
2508
2393
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2509
2394
|
|
2510
|
-
function create_fragment$
|
2395
|
+
function create_fragment$v(ctx) {
|
2511
2396
|
let normalize;
|
2512
2397
|
let t;
|
2513
2398
|
let current;
|
@@ -2566,7 +2451,7 @@ function create_fragment$t(ctx) {
|
|
2566
2451
|
};
|
2567
2452
|
}
|
2568
2453
|
|
2569
|
-
function instance$
|
2454
|
+
function instance$v($$self, $$props, $$invalidate) {
|
2570
2455
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2571
2456
|
|
2572
2457
|
$$self.$$set = $$props => {
|
@@ -2579,18 +2464,18 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
2579
2464
|
class State extends SvelteComponent {
|
2580
2465
|
constructor(options) {
|
2581
2466
|
super();
|
2582
|
-
init(this, options, instance$
|
2467
|
+
init(this, options, instance$v, create_fragment$v, safe_not_equal, {});
|
2583
2468
|
}
|
2584
2469
|
}
|
2585
2470
|
|
2586
2471
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2587
2472
|
|
2588
|
-
function add_css$
|
2473
|
+
function add_css$r(target) {
|
2589
2474
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2590
2475
|
}
|
2591
2476
|
|
2592
2477
|
// (23:0) {#if $state === path}
|
2593
|
-
function create_if_block$
|
2478
|
+
function create_if_block$7(ctx) {
|
2594
2479
|
let div;
|
2595
2480
|
let t;
|
2596
2481
|
let current;
|
@@ -2652,10 +2537,10 @@ function create_if_block$6(ctx) {
|
|
2652
2537
|
};
|
2653
2538
|
}
|
2654
2539
|
|
2655
|
-
function create_fragment$
|
2540
|
+
function create_fragment$u(ctx) {
|
2656
2541
|
let if_block_anchor;
|
2657
2542
|
let current;
|
2658
|
-
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$
|
2543
|
+
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$7(ctx);
|
2659
2544
|
|
2660
2545
|
return {
|
2661
2546
|
c() {
|
@@ -2676,7 +2561,7 @@ function create_fragment$s(ctx) {
|
|
2676
2561
|
transition_in(if_block, 1);
|
2677
2562
|
}
|
2678
2563
|
} else {
|
2679
|
-
if_block = create_if_block$
|
2564
|
+
if_block = create_if_block$7(ctx);
|
2680
2565
|
if_block.c();
|
2681
2566
|
transition_in(if_block, 1);
|
2682
2567
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -2713,7 +2598,7 @@ function getStateItemContext() {
|
|
2713
2598
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2714
2599
|
}
|
2715
2600
|
|
2716
|
-
function instance$
|
2601
|
+
function instance$u($$self, $$props, $$invalidate) {
|
2717
2602
|
let $state;
|
2718
2603
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2719
2604
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2739,18 +2624,18 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
2739
2624
|
class StateItem extends SvelteComponent {
|
2740
2625
|
constructor(options) {
|
2741
2626
|
super();
|
2742
|
-
init(this, options, instance$
|
2627
|
+
init(this, options, instance$u, create_fragment$u, safe_not_equal, { path: 0 }, add_css$r);
|
2743
2628
|
}
|
2744
2629
|
}
|
2745
2630
|
|
2746
2631
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2747
2632
|
|
2748
|
-
function add_css$
|
2633
|
+
function add_css$q(target) {
|
2749
2634
|
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}");
|
2750
2635
|
}
|
2751
2636
|
|
2752
2637
|
// (9:0) {#if backgroundOverray}
|
2753
|
-
function create_if_block$
|
2638
|
+
function create_if_block$6(ctx) {
|
2754
2639
|
let div;
|
2755
2640
|
let mounted;
|
2756
2641
|
let dispose;
|
@@ -2777,9 +2662,9 @@ function create_if_block$5(ctx) {
|
|
2777
2662
|
};
|
2778
2663
|
}
|
2779
2664
|
|
2780
|
-
function create_fragment$
|
2665
|
+
function create_fragment$t(ctx) {
|
2781
2666
|
let if_block_anchor;
|
2782
|
-
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$
|
2667
|
+
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$6(ctx);
|
2783
2668
|
|
2784
2669
|
return {
|
2785
2670
|
c() {
|
@@ -2795,7 +2680,7 @@ function create_fragment$r(ctx) {
|
|
2795
2680
|
if (if_block) {
|
2796
2681
|
if_block.p(ctx, dirty);
|
2797
2682
|
} else {
|
2798
|
-
if_block = create_if_block$
|
2683
|
+
if_block = create_if_block$6(ctx);
|
2799
2684
|
if_block.c();
|
2800
2685
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
2801
2686
|
}
|
@@ -2813,7 +2698,7 @@ function create_fragment$r(ctx) {
|
|
2813
2698
|
};
|
2814
2699
|
}
|
2815
2700
|
|
2816
|
-
function instance$
|
2701
|
+
function instance$t($$self, $$props, $$invalidate) {
|
2817
2702
|
let { backgroundOverray = false } = $$props;
|
2818
2703
|
const dispatch = createEventDispatcher();
|
2819
2704
|
const click_handler = () => dispatch('click');
|
@@ -2828,18 +2713,18 @@ function instance$r($$self, $$props, $$invalidate) {
|
|
2828
2713
|
class BackgroundOverray extends SvelteComponent {
|
2829
2714
|
constructor(options) {
|
2830
2715
|
super();
|
2831
|
-
init(this, options, instance$
|
2716
|
+
init(this, options, instance$t, create_fragment$t, safe_not_equal, { backgroundOverray: 0 }, add_css$q);
|
2832
2717
|
}
|
2833
2718
|
}
|
2834
2719
|
|
2835
2720
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
2836
2721
|
|
2837
|
-
function add_css$
|
2722
|
+
function add_css$p(target) {
|
2838
2723
|
append_styles(target, "svelte-12dkw0q", ".modal.svelte-12dkw0q{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-12dkw0q{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-12dkw0q:hover{transform:rotate(90deg)}.modal-content.svelte-12dkw0q{display:flex;justify-content:center;align-items:center}");
|
2839
2724
|
}
|
2840
2725
|
|
2841
2726
|
// (149:0) {#if visible}
|
2842
|
-
function create_if_block$
|
2727
|
+
function create_if_block$5(ctx) {
|
2843
2728
|
let div1;
|
2844
2729
|
let t;
|
2845
2730
|
let div0;
|
@@ -3015,7 +2900,7 @@ function create_if_block_1$1(ctx) {
|
|
3015
2900
|
};
|
3016
2901
|
}
|
3017
2902
|
|
3018
|
-
function create_fragment$
|
2903
|
+
function create_fragment$s(ctx) {
|
3019
2904
|
let backgroundoverray;
|
3020
2905
|
let t;
|
3021
2906
|
let if_block_anchor;
|
@@ -3033,7 +2918,7 @@ function create_fragment$q(ctx) {
|
|
3033
2918
|
if (is_function(/*backgroundClick*/ ctx[13])) /*backgroundClick*/ ctx[13].apply(this, arguments);
|
3034
2919
|
});
|
3035
2920
|
|
3036
|
-
let if_block = /*visible*/ ctx[7] && create_if_block$
|
2921
|
+
let if_block = /*visible*/ ctx[7] && create_if_block$5(ctx);
|
3037
2922
|
|
3038
2923
|
return {
|
3039
2924
|
c() {
|
@@ -3071,7 +2956,7 @@ function create_fragment$q(ctx) {
|
|
3071
2956
|
transition_in(if_block, 1);
|
3072
2957
|
}
|
3073
2958
|
} else {
|
3074
|
-
if_block = create_if_block$
|
2959
|
+
if_block = create_if_block$5(ctx);
|
3075
2960
|
if_block.c();
|
3076
2961
|
transition_in(if_block, 1);
|
3077
2962
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -3108,7 +2993,7 @@ function create_fragment$q(ctx) {
|
|
3108
2993
|
};
|
3109
2994
|
}
|
3110
2995
|
|
3111
|
-
function instance$
|
2996
|
+
function instance$s($$self, $$props, $$invalidate) {
|
3112
2997
|
let click;
|
3113
2998
|
let close;
|
3114
2999
|
let closable;
|
@@ -3300,8 +3185,8 @@ class Modal extends SvelteComponent {
|
|
3300
3185
|
init(
|
3301
3186
|
this,
|
3302
3187
|
options,
|
3303
|
-
instance$
|
3304
|
-
create_fragment$
|
3188
|
+
instance$s,
|
3189
|
+
create_fragment$s,
|
3305
3190
|
safe_not_equal,
|
3306
3191
|
{
|
3307
3192
|
onClick: 17,
|
@@ -3317,14 +3202,14 @@ class Modal extends SvelteComponent {
|
|
3317
3202
|
closeButtonColor: 2,
|
3318
3203
|
_closeStyle: 3
|
3319
3204
|
},
|
3320
|
-
add_css$
|
3205
|
+
add_css$p
|
3321
3206
|
);
|
3322
3207
|
}
|
3323
3208
|
}
|
3324
3209
|
|
3325
3210
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
3326
3211
|
|
3327
|
-
function create_fragment$
|
3212
|
+
function create_fragment$r(ctx) {
|
3328
3213
|
let div;
|
3329
3214
|
let current;
|
3330
3215
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -3382,7 +3267,7 @@ function create_fragment$p(ctx) {
|
|
3382
3267
|
};
|
3383
3268
|
}
|
3384
3269
|
|
3385
|
-
function instance$
|
3270
|
+
function instance$r($$self, $$props, $$invalidate) {
|
3386
3271
|
let _style;
|
3387
3272
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3388
3273
|
let { width = '512px' } = $$props;
|
@@ -3427,7 +3312,7 @@ class Grid extends SvelteComponent {
|
|
3427
3312
|
constructor(options) {
|
3428
3313
|
super();
|
3429
3314
|
|
3430
|
-
init(this, options, instance$
|
3315
|
+
init(this, options, instance$r, create_fragment$r, safe_not_equal, {
|
3431
3316
|
width: 1,
|
3432
3317
|
height: 2,
|
3433
3318
|
rows: 3,
|
@@ -3609,7 +3494,7 @@ function create_default_slot(ctx) {
|
|
3609
3494
|
};
|
3610
3495
|
}
|
3611
3496
|
|
3612
|
-
function create_fragment$
|
3497
|
+
function create_fragment$q(ctx) {
|
3613
3498
|
let stateitem;
|
3614
3499
|
let current;
|
3615
3500
|
|
@@ -3654,7 +3539,7 @@ function create_fragment$o(ctx) {
|
|
3654
3539
|
};
|
3655
3540
|
}
|
3656
3541
|
|
3657
|
-
function instance$
|
3542
|
+
function instance$q($$self, $$props, $$invalidate) {
|
3658
3543
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3659
3544
|
let { path } = $$props;
|
3660
3545
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -3725,7 +3610,7 @@ class GridModalState extends SvelteComponent {
|
|
3725
3610
|
constructor(options) {
|
3726
3611
|
super();
|
3727
3612
|
|
3728
|
-
init(this, options, instance$
|
3613
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, {
|
3729
3614
|
path: 0,
|
3730
3615
|
onClick: 1,
|
3731
3616
|
clickEventName: 2,
|
@@ -3750,11 +3635,11 @@ class GridModalState extends SvelteComponent {
|
|
3750
3635
|
|
3751
3636
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
3752
3637
|
|
3753
|
-
function add_css$
|
3638
|
+
function add_css$o(target) {
|
3754
3639
|
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
3755
3640
|
}
|
3756
3641
|
|
3757
|
-
function create_fragment$
|
3642
|
+
function create_fragment$p(ctx) {
|
3758
3643
|
let div1;
|
3759
3644
|
let div0;
|
3760
3645
|
let current;
|
@@ -3817,7 +3702,7 @@ function create_fragment$n(ctx) {
|
|
3817
3702
|
};
|
3818
3703
|
}
|
3819
3704
|
|
3820
|
-
function instance$
|
3705
|
+
function instance$p($$self, $$props, $$invalidate) {
|
3821
3706
|
let _style;
|
3822
3707
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3823
3708
|
let { x1 } = $$props;
|
@@ -3870,8 +3755,8 @@ class GridItem extends SvelteComponent {
|
|
3870
3755
|
init(
|
3871
3756
|
this,
|
3872
3757
|
options,
|
3873
|
-
instance$
|
3874
|
-
create_fragment$
|
3758
|
+
instance$p,
|
3759
|
+
create_fragment$p,
|
3875
3760
|
safe_not_equal,
|
3876
3761
|
{
|
3877
3762
|
x1: 2,
|
@@ -3881,18 +3766,18 @@ class GridItem extends SvelteComponent {
|
|
3881
3766
|
z: 6,
|
3882
3767
|
background: 7
|
3883
3768
|
},
|
3884
|
-
add_css$
|
3769
|
+
add_css$o
|
3885
3770
|
);
|
3886
3771
|
}
|
3887
3772
|
}
|
3888
3773
|
|
3889
3774
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
3890
3775
|
|
3891
|
-
function add_css$
|
3776
|
+
function add_css$n(target) {
|
3892
3777
|
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
3893
3778
|
}
|
3894
3779
|
|
3895
|
-
function create_fragment$
|
3780
|
+
function create_fragment$o(ctx) {
|
3896
3781
|
let div;
|
3897
3782
|
let div_style_value;
|
3898
3783
|
let current;
|
@@ -3957,7 +3842,7 @@ function getFlexContext() {
|
|
3957
3842
|
return getContext(FlexContextKey);
|
3958
3843
|
}
|
3959
3844
|
|
3960
|
-
function instance$
|
3845
|
+
function instance$o($$self, $$props, $$invalidate) {
|
3961
3846
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3962
3847
|
let { direction = 'row' } = $$props;
|
3963
3848
|
let { width = '100%' } = $$props;
|
@@ -3983,8 +3868,8 @@ class Flex extends SvelteComponent {
|
|
3983
3868
|
init(
|
3984
3869
|
this,
|
3985
3870
|
options,
|
3986
|
-
instance$
|
3987
|
-
create_fragment$
|
3871
|
+
instance$o,
|
3872
|
+
create_fragment$o,
|
3988
3873
|
safe_not_equal,
|
3989
3874
|
{
|
3990
3875
|
direction: 0,
|
@@ -3992,18 +3877,18 @@ class Flex extends SvelteComponent {
|
|
3992
3877
|
height: 2,
|
3993
3878
|
_style: 3
|
3994
3879
|
},
|
3995
|
-
add_css$
|
3880
|
+
add_css$n
|
3996
3881
|
);
|
3997
3882
|
}
|
3998
3883
|
}
|
3999
3884
|
|
4000
3885
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
4001
3886
|
|
4002
|
-
function add_css$
|
3887
|
+
function add_css$m(target) {
|
4003
3888
|
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
4004
3889
|
}
|
4005
3890
|
|
4006
|
-
function create_fragment$
|
3891
|
+
function create_fragment$n(ctx) {
|
4007
3892
|
let div;
|
4008
3893
|
let current;
|
4009
3894
|
const default_slot_template = /*#slots*/ ctx[4].default;
|
@@ -4061,7 +3946,7 @@ function create_fragment$l(ctx) {
|
|
4061
3946
|
};
|
4062
3947
|
}
|
4063
3948
|
|
4064
|
-
function instance$
|
3949
|
+
function instance$n($$self, $$props, $$invalidate) {
|
4065
3950
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4066
3951
|
let { length } = $$props;
|
4067
3952
|
let { _style = '' } = $$props;
|
@@ -4104,13 +3989,13 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
4104
3989
|
class FlexItem extends SvelteComponent {
|
4105
3990
|
constructor(options) {
|
4106
3991
|
super();
|
4107
|
-
init(this, options, instance$
|
3992
|
+
init(this, options, instance$n, create_fragment$n, safe_not_equal, { length: 1, _style: 2 }, add_css$m);
|
4108
3993
|
}
|
4109
3994
|
}
|
4110
3995
|
|
4111
3996
|
/* src/components/RenderText.svelte generated by Svelte v3.53.1 */
|
4112
3997
|
|
4113
|
-
function get_each_context$
|
3998
|
+
function get_each_context$6(ctx, list, i) {
|
4114
3999
|
const child_ctx = ctx.slice();
|
4115
4000
|
child_ctx[2] = list[i];
|
4116
4001
|
return child_ctx;
|
@@ -4138,7 +4023,7 @@ function create_else_block$1(ctx) {
|
|
4138
4023
|
}
|
4139
4024
|
|
4140
4025
|
// (10:2) {#if item.match(regexp)}
|
4141
|
-
function create_if_block$
|
4026
|
+
function create_if_block$4(ctx) {
|
4142
4027
|
let br;
|
4143
4028
|
|
4144
4029
|
return {
|
@@ -4156,14 +4041,14 @@ function create_if_block$3(ctx) {
|
|
4156
4041
|
}
|
4157
4042
|
|
4158
4043
|
// (9:0) {#each items as item}
|
4159
|
-
function create_each_block$
|
4044
|
+
function create_each_block$6(ctx) {
|
4160
4045
|
let show_if;
|
4161
4046
|
let if_block_anchor;
|
4162
4047
|
|
4163
4048
|
function select_block_type(ctx, dirty) {
|
4164
4049
|
if (dirty & /*items*/ 1) show_if = null;
|
4165
4050
|
if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
|
4166
|
-
if (show_if) return create_if_block$
|
4051
|
+
if (show_if) return create_if_block$4;
|
4167
4052
|
return create_else_block$1;
|
4168
4053
|
}
|
4169
4054
|
|
@@ -4199,13 +4084,13 @@ function create_each_block$5(ctx) {
|
|
4199
4084
|
};
|
4200
4085
|
}
|
4201
4086
|
|
4202
|
-
function create_fragment$
|
4087
|
+
function create_fragment$m(ctx) {
|
4203
4088
|
let each_1_anchor;
|
4204
4089
|
let each_value = /*items*/ ctx[0];
|
4205
4090
|
let each_blocks = [];
|
4206
4091
|
|
4207
4092
|
for (let i = 0; i < each_value.length; i += 1) {
|
4208
|
-
each_blocks[i] = create_each_block$
|
4093
|
+
each_blocks[i] = create_each_block$6(get_each_context$6(ctx, each_value, i));
|
4209
4094
|
}
|
4210
4095
|
|
4211
4096
|
return {
|
@@ -4229,12 +4114,12 @@ function create_fragment$k(ctx) {
|
|
4229
4114
|
let i;
|
4230
4115
|
|
4231
4116
|
for (i = 0; i < each_value.length; i += 1) {
|
4232
|
-
const child_ctx = get_each_context$
|
4117
|
+
const child_ctx = get_each_context$6(ctx, each_value, i);
|
4233
4118
|
|
4234
4119
|
if (each_blocks[i]) {
|
4235
4120
|
each_blocks[i].p(child_ctx, dirty);
|
4236
4121
|
} else {
|
4237
|
-
each_blocks[i] = create_each_block$
|
4122
|
+
each_blocks[i] = create_each_block$6(child_ctx);
|
4238
4123
|
each_blocks[i].c();
|
4239
4124
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
4240
4125
|
}
|
@@ -4258,7 +4143,7 @@ function create_fragment$k(ctx) {
|
|
4258
4143
|
|
4259
4144
|
const regexp = /(\r?\n)/;
|
4260
4145
|
|
4261
|
-
function instance$
|
4146
|
+
function instance$m($$self, $$props, $$invalidate) {
|
4262
4147
|
let items;
|
4263
4148
|
let { text = 'サンプルSample' } = $$props;
|
4264
4149
|
|
@@ -4278,18 +4163,18 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
4278
4163
|
class RenderText extends SvelteComponent {
|
4279
4164
|
constructor(options) {
|
4280
4165
|
super();
|
4281
|
-
init(this, options, instance$
|
4166
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, { text: 1 });
|
4282
4167
|
}
|
4283
4168
|
}
|
4284
4169
|
|
4285
4170
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4286
4171
|
|
4287
|
-
function add_css$
|
4172
|
+
function add_css$l(target) {
|
4288
4173
|
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}");
|
4289
4174
|
}
|
4290
4175
|
|
4291
4176
|
// (56:2) {#if enableCopy}
|
4292
|
-
function create_if_block$
|
4177
|
+
function create_if_block$3(ctx) {
|
4293
4178
|
let div0;
|
4294
4179
|
let t1;
|
4295
4180
|
let div1;
|
@@ -4322,7 +4207,7 @@ function create_if_block$2(ctx) {
|
|
4322
4207
|
};
|
4323
4208
|
}
|
4324
4209
|
|
4325
|
-
function create_fragment$
|
4210
|
+
function create_fragment$l(ctx) {
|
4326
4211
|
let div2;
|
4327
4212
|
let div1;
|
4328
4213
|
let div0;
|
@@ -4333,7 +4218,7 @@ function create_fragment$j(ctx) {
|
|
4333
4218
|
let mounted;
|
4334
4219
|
let dispose;
|
4335
4220
|
rendertext = new RenderText({ props: { text: /*text*/ ctx[0] } });
|
4336
|
-
let if_block = /*enableCopy*/ ctx[1] && create_if_block$
|
4221
|
+
let if_block = /*enableCopy*/ ctx[1] && create_if_block$3(ctx);
|
4337
4222
|
|
4338
4223
|
return {
|
4339
4224
|
c() {
|
@@ -4379,7 +4264,7 @@ function create_fragment$j(ctx) {
|
|
4379
4264
|
if (if_block) {
|
4380
4265
|
if_block.p(ctx, dirty);
|
4381
4266
|
} else {
|
4382
|
-
if_block = create_if_block$
|
4267
|
+
if_block = create_if_block$3(ctx);
|
4383
4268
|
if_block.c();
|
4384
4269
|
if_block.m(div2, null);
|
4385
4270
|
}
|
@@ -4407,7 +4292,7 @@ function create_fragment$j(ctx) {
|
|
4407
4292
|
};
|
4408
4293
|
}
|
4409
4294
|
|
4410
|
-
function instance$
|
4295
|
+
function instance$l($$self, $$props, $$invalidate) {
|
4411
4296
|
let style;
|
4412
4297
|
let { text = 'サンプルSample' } = $$props;
|
4413
4298
|
let { enableCopy = false } = $$props;
|
@@ -4487,8 +4372,8 @@ class TextElement extends SvelteComponent {
|
|
4487
4372
|
init(
|
4488
4373
|
this,
|
4489
4374
|
options,
|
4490
|
-
instance$
|
4491
|
-
create_fragment$
|
4375
|
+
instance$l,
|
4376
|
+
create_fragment$l,
|
4492
4377
|
safe_not_equal,
|
4493
4378
|
{
|
4494
4379
|
text: 0,
|
@@ -4497,18 +4382,18 @@ class TextElement extends SvelteComponent {
|
|
4497
4382
|
textDirection: 2,
|
4498
4383
|
_style: 8
|
4499
4384
|
},
|
4500
|
-
add_css$
|
4385
|
+
add_css$l
|
4501
4386
|
);
|
4502
4387
|
}
|
4503
4388
|
}
|
4504
4389
|
|
4505
4390
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4506
4391
|
|
4507
|
-
function add_css$
|
4392
|
+
function add_css$k(target) {
|
4508
4393
|
append_styles(target, "svelte-1igv5yx", ".text-button-element.svelte-1igv5yx{width:100%;height:100%}.text-button-element._disabled.svelte-1igv5yx{opacity:0.2}.text-button.svelte-1igv5yx{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._disabled.svelte-1igv5yx{cursor:not-allowed}.text-button.svelte-1igv5yx:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-1igv5yx:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
4509
4394
|
}
|
4510
4395
|
|
4511
|
-
function create_fragment$
|
4396
|
+
function create_fragment$k(ctx) {
|
4512
4397
|
let div;
|
4513
4398
|
let button;
|
4514
4399
|
let rendertext;
|
@@ -4584,7 +4469,7 @@ function create_fragment$i(ctx) {
|
|
4584
4469
|
};
|
4585
4470
|
}
|
4586
4471
|
|
4587
|
-
function instance$
|
4472
|
+
function instance$k($$self, $$props, $$invalidate) {
|
4588
4473
|
let disabled;
|
4589
4474
|
let $valuesAreValid;
|
4590
4475
|
let { text = 'ボタンラベル' } = $$props;
|
@@ -4649,8 +4534,8 @@ class TextButtonElement extends SvelteComponent {
|
|
4649
4534
|
init(
|
4650
4535
|
this,
|
4651
4536
|
options,
|
4652
|
-
instance$
|
4653
|
-
create_fragment$
|
4537
|
+
instance$k,
|
4538
|
+
create_fragment$k,
|
4654
4539
|
safe_not_equal,
|
4655
4540
|
{
|
4656
4541
|
text: 0,
|
@@ -4659,18 +4544,18 @@ class TextButtonElement extends SvelteComponent {
|
|
4659
4544
|
_buttonStyle: 1,
|
4660
4545
|
_style: 2
|
4661
4546
|
},
|
4662
|
-
add_css$
|
4547
|
+
add_css$k
|
4663
4548
|
);
|
4664
4549
|
}
|
4665
4550
|
}
|
4666
4551
|
|
4667
4552
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4668
4553
|
|
4669
|
-
function add_css$
|
4554
|
+
function add_css$j(target) {
|
4670
4555
|
append_styles(target, "svelte-t8kpqw", ".image-element.svelte-t8kpqw{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.svelte-t8kpqw{width:100%;height:100%}.transport.svelte-t8kpqw:hover,.transport.svelte-t8kpqw:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
|
4671
4556
|
}
|
4672
4557
|
|
4673
|
-
function create_fragment$
|
4558
|
+
function create_fragment$j(ctx) {
|
4674
4559
|
let div;
|
4675
4560
|
let img;
|
4676
4561
|
let img_src_value;
|
@@ -4732,7 +4617,7 @@ function create_fragment$h(ctx) {
|
|
4732
4617
|
};
|
4733
4618
|
}
|
4734
4619
|
|
4735
|
-
function instance$
|
4620
|
+
function instance$j($$self, $$props, $$invalidate) {
|
4736
4621
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
4737
4622
|
let { alt = 'No Image' } = $$props;
|
4738
4623
|
let { transport = false } = $$props;
|
@@ -4770,8 +4655,8 @@ class ImageElement extends SvelteComponent {
|
|
4770
4655
|
init(
|
4771
4656
|
this,
|
4772
4657
|
options,
|
4773
|
-
instance$
|
4774
|
-
create_fragment$
|
4658
|
+
instance$j,
|
4659
|
+
create_fragment$j,
|
4775
4660
|
safe_not_equal,
|
4776
4661
|
{
|
4777
4662
|
src: 0,
|
@@ -4782,18 +4667,18 @@ class ImageElement extends SvelteComponent {
|
|
4782
4667
|
_imageStyle: 3,
|
4783
4668
|
_style: 4
|
4784
4669
|
},
|
4785
|
-
add_css$
|
4670
|
+
add_css$j
|
4786
4671
|
);
|
4787
4672
|
}
|
4788
4673
|
}
|
4789
4674
|
|
4790
4675
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
4791
4676
|
|
4792
|
-
function add_css$
|
4677
|
+
function add_css$i(target) {
|
4793
4678
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
4794
4679
|
}
|
4795
4680
|
|
4796
|
-
function create_fragment$
|
4681
|
+
function create_fragment$i(ctx) {
|
4797
4682
|
let div;
|
4798
4683
|
let current;
|
4799
4684
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -4853,7 +4738,7 @@ function create_fragment$g(ctx) {
|
|
4853
4738
|
|
4854
4739
|
const LIST_CONTEXT_KEY = Symbol();
|
4855
4740
|
|
4856
|
-
function instance$
|
4741
|
+
function instance$i($$self, $$props, $$invalidate) {
|
4857
4742
|
let style;
|
4858
4743
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4859
4744
|
let { direction = 'vertical' } = $$props;
|
@@ -4920,8 +4805,8 @@ class List extends SvelteComponent {
|
|
4920
4805
|
init(
|
4921
4806
|
this,
|
4922
4807
|
options,
|
4923
|
-
instance$
|
4924
|
-
create_fragment$
|
4808
|
+
instance$i,
|
4809
|
+
create_fragment$i,
|
4925
4810
|
safe_not_equal,
|
4926
4811
|
{
|
4927
4812
|
direction: 1,
|
@@ -4929,18 +4814,18 @@ class List extends SvelteComponent {
|
|
4929
4814
|
background: 3,
|
4930
4815
|
_style: 4
|
4931
4816
|
},
|
4932
|
-
add_css$
|
4817
|
+
add_css$i
|
4933
4818
|
);
|
4934
4819
|
}
|
4935
4820
|
}
|
4936
4821
|
|
4937
4822
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4938
4823
|
|
4939
|
-
function add_css$
|
4824
|
+
function add_css$h(target) {
|
4940
4825
|
append_styles(target, "svelte-h5j4xe", ".list-item.svelte-h5j4xe{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item-inner.svelte-h5j4xe{position:absolute;inset:0}");
|
4941
4826
|
}
|
4942
4827
|
|
4943
|
-
function create_fragment$
|
4828
|
+
function create_fragment$h(ctx) {
|
4944
4829
|
let div1;
|
4945
4830
|
let div0;
|
4946
4831
|
let current;
|
@@ -5021,7 +4906,7 @@ function create_fragment$f(ctx) {
|
|
5021
4906
|
};
|
5022
4907
|
}
|
5023
4908
|
|
5024
|
-
function instance$
|
4909
|
+
function instance$h($$self, $$props, $$invalidate) {
|
5025
4910
|
let click;
|
5026
4911
|
let listItemStyle;
|
5027
4912
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -5111,17 +4996,17 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
5111
4996
|
class ListItem extends SvelteComponent {
|
5112
4997
|
constructor(options) {
|
5113
4998
|
super();
|
5114
|
-
init(this, options, instance$
|
4999
|
+
init(this, options, instance$h, create_fragment$h, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$h);
|
5115
5000
|
}
|
5116
5001
|
}
|
5117
5002
|
|
5118
5003
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
5119
5004
|
|
5120
|
-
function add_css$
|
5005
|
+
function add_css$g(target) {
|
5121
5006
|
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%}");
|
5122
5007
|
}
|
5123
5008
|
|
5124
|
-
function create_fragment$
|
5009
|
+
function create_fragment$g(ctx) {
|
5125
5010
|
let div;
|
5126
5011
|
|
5127
5012
|
return {
|
@@ -5148,7 +5033,7 @@ function create_fragment$e(ctx) {
|
|
5148
5033
|
};
|
5149
5034
|
}
|
5150
5035
|
|
5151
|
-
function instance$
|
5036
|
+
function instance$g($$self, $$props, $$invalidate) {
|
5152
5037
|
let { code } = $$props;
|
5153
5038
|
let { _style = "" } = $$props;
|
5154
5039
|
|
@@ -5163,17 +5048,17 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
5163
5048
|
class EmbedElement extends SvelteComponent {
|
5164
5049
|
constructor(options) {
|
5165
5050
|
super();
|
5166
|
-
init(this, options, instance$
|
5051
|
+
init(this, options, instance$g, create_fragment$g, safe_not_equal, { code: 0, _style: 1 }, add_css$g);
|
5167
5052
|
}
|
5168
5053
|
}
|
5169
5054
|
|
5170
5055
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
5171
5056
|
|
5172
|
-
function add_css$
|
5057
|
+
function add_css$f(target) {
|
5173
5058
|
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%}");
|
5174
5059
|
}
|
5175
5060
|
|
5176
|
-
function create_fragment$
|
5061
|
+
function create_fragment$f(ctx) {
|
5177
5062
|
let div1;
|
5178
5063
|
let div0;
|
5179
5064
|
|
@@ -5204,7 +5089,7 @@ function create_fragment$d(ctx) {
|
|
5204
5089
|
};
|
5205
5090
|
}
|
5206
5091
|
|
5207
|
-
function instance$
|
5092
|
+
function instance$f($$self, $$props, $$invalidate) {
|
5208
5093
|
let $system;
|
5209
5094
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5210
5095
|
let { videoId = "sSgN-L4DU0c" } = $$props;
|
@@ -5383,8 +5268,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5383
5268
|
init(
|
5384
5269
|
this,
|
5385
5270
|
options,
|
5386
|
-
instance$
|
5387
|
-
create_fragment$
|
5271
|
+
instance$f,
|
5272
|
+
create_fragment$f,
|
5388
5273
|
safe_not_equal,
|
5389
5274
|
{
|
5390
5275
|
videoId: 2,
|
@@ -5394,18 +5279,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5394
5279
|
mute: 6,
|
5395
5280
|
_style: 0
|
5396
5281
|
},
|
5397
|
-
add_css$
|
5282
|
+
add_css$f
|
5398
5283
|
);
|
5399
5284
|
}
|
5400
5285
|
}
|
5401
5286
|
|
5402
5287
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5403
5288
|
|
5404
|
-
function add_css$
|
5289
|
+
function add_css$e(target) {
|
5405
5290
|
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%}");
|
5406
5291
|
}
|
5407
5292
|
|
5408
|
-
function create_fragment$
|
5293
|
+
function create_fragment$e(ctx) {
|
5409
5294
|
let div1;
|
5410
5295
|
let div0;
|
5411
5296
|
|
@@ -5436,7 +5321,7 @@ function create_fragment$c(ctx) {
|
|
5436
5321
|
};
|
5437
5322
|
}
|
5438
5323
|
|
5439
|
-
function instance$
|
5324
|
+
function instance$e($$self, $$props, $$invalidate) {
|
5440
5325
|
let $system;
|
5441
5326
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5442
5327
|
let { videoId = "201239468" } = $$props;
|
@@ -5579,8 +5464,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5579
5464
|
init(
|
5580
5465
|
this,
|
5581
5466
|
options,
|
5582
|
-
instance$
|
5583
|
-
create_fragment$
|
5467
|
+
instance$e,
|
5468
|
+
create_fragment$e,
|
5584
5469
|
safe_not_equal,
|
5585
5470
|
{
|
5586
5471
|
videoId: 2,
|
@@ -5590,18 +5475,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5590
5475
|
mute: 6,
|
5591
5476
|
_style: 0
|
5592
5477
|
},
|
5593
|
-
add_css$
|
5478
|
+
add_css$e
|
5594
5479
|
);
|
5595
5480
|
}
|
5596
5481
|
}
|
5597
5482
|
|
5598
5483
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
5599
5484
|
|
5600
|
-
function add_css$
|
5485
|
+
function add_css$d(target) {
|
5601
5486
|
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}");
|
5602
5487
|
}
|
5603
5488
|
|
5604
|
-
function create_fragment$
|
5489
|
+
function create_fragment$d(ctx) {
|
5605
5490
|
let div;
|
5606
5491
|
let textarea;
|
5607
5492
|
let mounted;
|
@@ -5654,7 +5539,7 @@ function create_fragment$b(ctx) {
|
|
5654
5539
|
};
|
5655
5540
|
}
|
5656
5541
|
|
5657
|
-
function instance$
|
5542
|
+
function instance$d($$self, $$props, $$invalidate) {
|
5658
5543
|
let $value;
|
5659
5544
|
let { name = '' } = $$props;
|
5660
5545
|
let { required = true } = $$props;
|
@@ -5695,8 +5580,8 @@ class FormTextarea extends SvelteComponent {
|
|
5695
5580
|
init(
|
5696
5581
|
this,
|
5697
5582
|
options,
|
5698
|
-
instance$
|
5699
|
-
create_fragment$
|
5583
|
+
instance$d,
|
5584
|
+
create_fragment$d,
|
5700
5585
|
safe_not_equal,
|
5701
5586
|
{
|
5702
5587
|
name: 6,
|
@@ -5704,18 +5589,18 @@ class FormTextarea extends SvelteComponent {
|
|
5704
5589
|
rows: 1,
|
5705
5590
|
placeholder: 2
|
5706
5591
|
},
|
5707
|
-
add_css$
|
5592
|
+
add_css$d
|
5708
5593
|
);
|
5709
5594
|
}
|
5710
5595
|
}
|
5711
5596
|
|
5712
5597
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5713
5598
|
|
5714
|
-
function add_css$
|
5599
|
+
function add_css$c(target) {
|
5715
5600
|
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}");
|
5716
5601
|
}
|
5717
5602
|
|
5718
|
-
function get_each_context$
|
5603
|
+
function get_each_context$5(ctx, list, i) {
|
5719
5604
|
const child_ctx = ctx.slice();
|
5720
5605
|
child_ctx[15] = list[i];
|
5721
5606
|
child_ctx[17] = i;
|
@@ -5723,7 +5608,7 @@ function get_each_context$4(ctx, list, i) {
|
|
5723
5608
|
}
|
5724
5609
|
|
5725
5610
|
// (88:2) {#each _options as option, i}
|
5726
|
-
function create_each_block$
|
5611
|
+
function create_each_block$5(ctx) {
|
5727
5612
|
let label;
|
5728
5613
|
let input;
|
5729
5614
|
let input_value_value;
|
@@ -5800,13 +5685,13 @@ function create_each_block$4(ctx) {
|
|
5800
5685
|
};
|
5801
5686
|
}
|
5802
5687
|
|
5803
|
-
function create_fragment$
|
5688
|
+
function create_fragment$c(ctx) {
|
5804
5689
|
let div;
|
5805
5690
|
let each_value = /*_options*/ ctx[4];
|
5806
5691
|
let each_blocks = [];
|
5807
5692
|
|
5808
5693
|
for (let i = 0; i < each_value.length; i += 1) {
|
5809
|
-
each_blocks[i] = create_each_block$
|
5694
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
5810
5695
|
}
|
5811
5696
|
|
5812
5697
|
return {
|
@@ -5833,12 +5718,12 @@ function create_fragment$a(ctx) {
|
|
5833
5718
|
let i;
|
5834
5719
|
|
5835
5720
|
for (i = 0; i < each_value.length; i += 1) {
|
5836
|
-
const child_ctx = get_each_context$
|
5721
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
5837
5722
|
|
5838
5723
|
if (each_blocks[i]) {
|
5839
5724
|
each_blocks[i].p(child_ctx, dirty);
|
5840
5725
|
} else {
|
5841
|
-
each_blocks[i] = create_each_block$
|
5726
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
5842
5727
|
each_blocks[i].c();
|
5843
5728
|
each_blocks[i].m(div, null);
|
5844
5729
|
}
|
@@ -5864,7 +5749,7 @@ function create_fragment$a(ctx) {
|
|
5864
5749
|
};
|
5865
5750
|
}
|
5866
5751
|
|
5867
|
-
function instance$
|
5752
|
+
function instance$c($$self, $$props, $$invalidate) {
|
5868
5753
|
let _options;
|
5869
5754
|
let buttonStyle;
|
5870
5755
|
let _value;
|
@@ -5955,8 +5840,8 @@ class FormRadioButtons extends SvelteComponent {
|
|
5955
5840
|
init(
|
5956
5841
|
this,
|
5957
5842
|
options,
|
5958
|
-
instance$
|
5959
|
-
create_fragment$
|
5843
|
+
instance$c,
|
5844
|
+
create_fragment$c,
|
5960
5845
|
safe_not_equal,
|
5961
5846
|
{
|
5962
5847
|
name: 0,
|
@@ -5968,25 +5853,25 @@ class FormRadioButtons extends SvelteComponent {
|
|
5968
5853
|
buttonColor: 11,
|
5969
5854
|
buttonColorActive: 12
|
5970
5855
|
},
|
5971
|
-
add_css$
|
5856
|
+
add_css$c
|
5972
5857
|
);
|
5973
5858
|
}
|
5974
5859
|
}
|
5975
5860
|
|
5976
5861
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
5977
5862
|
|
5978
|
-
function add_css$
|
5979
|
-
append_styles(target, "svelte-
|
5863
|
+
function add_css$b(target) {
|
5864
|
+
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}");
|
5980
5865
|
}
|
5981
5866
|
|
5982
|
-
function get_each_context$
|
5867
|
+
function get_each_context$4(ctx, list, i) {
|
5983
5868
|
const child_ctx = ctx.slice();
|
5984
|
-
child_ctx[
|
5985
|
-
child_ctx[
|
5869
|
+
child_ctx[18] = list[i];
|
5870
|
+
child_ctx[20] = i;
|
5986
5871
|
return child_ctx;
|
5987
5872
|
}
|
5988
5873
|
|
5989
|
-
// (
|
5874
|
+
// (100:10) {:else}
|
5990
5875
|
function create_else_block(ctx) {
|
5991
5876
|
let t;
|
5992
5877
|
|
@@ -6006,9 +5891,9 @@ function create_else_block(ctx) {
|
|
6006
5891
|
};
|
6007
5892
|
}
|
6008
5893
|
|
6009
|
-
// (
|
6010
|
-
function create_if_block$
|
6011
|
-
let t_value = /*option*/ ctx[
|
5894
|
+
// (98:10) {#if option}
|
5895
|
+
function create_if_block$2(ctx) {
|
5896
|
+
let t_value = /*option*/ ctx[18] + "";
|
6012
5897
|
let t;
|
6013
5898
|
|
6014
5899
|
return {
|
@@ -6019,7 +5904,7 @@ function create_if_block$1(ctx) {
|
|
6019
5904
|
insert(target, t, anchor);
|
6020
5905
|
},
|
6021
5906
|
p(ctx, dirty) {
|
6022
|
-
if (dirty & /*_options*/ 16 && t_value !== (t_value = /*option*/ ctx[
|
5907
|
+
if (dirty & /*_options*/ 16 && t_value !== (t_value = /*option*/ ctx[18] + "")) set_data(t, t_value);
|
6023
5908
|
},
|
6024
5909
|
d(detaching) {
|
6025
5910
|
if (detaching) detach(t);
|
@@ -6027,15 +5912,15 @@ function create_if_block$1(ctx) {
|
|
6027
5912
|
};
|
6028
5913
|
}
|
6029
5914
|
|
6030
|
-
// (
|
6031
|
-
function create_each_block$
|
5915
|
+
// (96:6) {#each _options as option, i}
|
5916
|
+
function create_each_block$4(ctx) {
|
6032
5917
|
let option;
|
6033
5918
|
let t;
|
6034
5919
|
let option_value_value;
|
6035
5920
|
let option_selected_value;
|
6036
5921
|
|
6037
5922
|
function select_block_type(ctx, dirty) {
|
6038
|
-
if (/*option*/ ctx[
|
5923
|
+
if (/*option*/ ctx[18]) return create_if_block$2;
|
6039
5924
|
return create_else_block;
|
6040
5925
|
}
|
6041
5926
|
|
@@ -6047,9 +5932,9 @@ function create_each_block$3(ctx) {
|
|
6047
5932
|
option = element("option");
|
6048
5933
|
if_block.c();
|
6049
5934
|
t = space();
|
6050
|
-
option.__value = option_value_value = /*option*/ ctx[
|
5935
|
+
option.__value = option_value_value = /*option*/ ctx[18];
|
6051
5936
|
option.value = option.__value;
|
6052
|
-
option.selected = option_selected_value = /*option*/ ctx[
|
5937
|
+
option.selected = option_selected_value = /*option*/ ctx[18] === /*_value*/ ctx[1];
|
6053
5938
|
},
|
6054
5939
|
m(target, anchor) {
|
6055
5940
|
insert(target, option, anchor);
|
@@ -6069,12 +5954,12 @@ function create_each_block$3(ctx) {
|
|
6069
5954
|
}
|
6070
5955
|
}
|
6071
5956
|
|
6072
|
-
if (dirty & /*_options*/ 16 && option_value_value !== (option_value_value = /*option*/ ctx[
|
5957
|
+
if (dirty & /*_options*/ 16 && option_value_value !== (option_value_value = /*option*/ ctx[18])) {
|
6073
5958
|
option.__value = option_value_value;
|
6074
5959
|
option.value = option.__value;
|
6075
5960
|
}
|
6076
5961
|
|
6077
|
-
if (dirty & /*_options, _value*/ 18 && option_selected_value !== (option_selected_value = /*option*/ ctx[
|
5962
|
+
if (dirty & /*_options, _value*/ 18 && option_selected_value !== (option_selected_value = /*option*/ ctx[18] === /*_value*/ ctx[1])) {
|
6078
5963
|
option.selected = option_selected_value;
|
6079
5964
|
}
|
6080
5965
|
},
|
@@ -6085,7 +5970,7 @@ function create_each_block$3(ctx) {
|
|
6085
5970
|
};
|
6086
5971
|
}
|
6087
5972
|
|
6088
|
-
function create_fragment$
|
5973
|
+
function create_fragment$b(ctx) {
|
6089
5974
|
let div1;
|
6090
5975
|
let select;
|
6091
5976
|
let t;
|
@@ -6096,7 +5981,7 @@ function create_fragment$9(ctx) {
|
|
6096
5981
|
let each_blocks = [];
|
6097
5982
|
|
6098
5983
|
for (let i = 0; i < each_value.length; i += 1) {
|
6099
|
-
each_blocks[i] = create_each_block$
|
5984
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
6100
5985
|
}
|
6101
5986
|
|
6102
5987
|
return {
|
@@ -6110,10 +5995,10 @@ function create_fragment$9(ctx) {
|
|
6110
5995
|
|
6111
5996
|
t = space();
|
6112
5997
|
div0 = element("div");
|
6113
|
-
attr(select, "class", "select-select svelte-
|
5998
|
+
attr(select, "class", "select-select svelte-1n4ag74");
|
6114
5999
|
attr(select, "style", /*style*/ ctx[3]);
|
6115
|
-
attr(div0, "class", "select-icon svelte-
|
6116
|
-
attr(div1, "class", "select svelte-
|
6000
|
+
attr(div0, "class", "select-icon svelte-1n4ag74");
|
6001
|
+
attr(div1, "class", "select svelte-1n4ag74");
|
6117
6002
|
attr(div1, "style", /*styleVariables*/ ctx[2]);
|
6118
6003
|
},
|
6119
6004
|
m(target, anchor) {
|
@@ -6138,12 +6023,12 @@ function create_fragment$9(ctx) {
|
|
6138
6023
|
let i;
|
6139
6024
|
|
6140
6025
|
for (i = 0; i < each_value.length; i += 1) {
|
6141
|
-
const child_ctx = get_each_context$
|
6026
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
6142
6027
|
|
6143
6028
|
if (each_blocks[i]) {
|
6144
6029
|
each_blocks[i].p(child_ctx, dirty);
|
6145
6030
|
} else {
|
6146
|
-
each_blocks[i] = create_each_block$
|
6031
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
6147
6032
|
each_blocks[i].c();
|
6148
6033
|
each_blocks[i].m(select, null);
|
6149
6034
|
}
|
@@ -6175,7 +6060,7 @@ function create_fragment$9(ctx) {
|
|
6175
6060
|
};
|
6176
6061
|
}
|
6177
6062
|
|
6178
|
-
function instance$
|
6063
|
+
function instance$b($$self, $$props, $$invalidate) {
|
6179
6064
|
let _options;
|
6180
6065
|
let style;
|
6181
6066
|
let styleVariables;
|
@@ -6189,7 +6074,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6189
6074
|
let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
|
6190
6075
|
let { _textStyle = 'font-size: 12px;' } = $$props;
|
6191
6076
|
let { _placeholderStyle = 'color: #ccc;' } = $$props;
|
6192
|
-
let {
|
6077
|
+
let { iconColor = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
6078
|
+
let { iconSize = '12px' } = $$props;
|
6193
6079
|
const { path: statePath } = getStateItemContext();
|
6194
6080
|
|
6195
6081
|
const value = registerInput({
|
@@ -6202,7 +6088,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6202
6088
|
}
|
6203
6089
|
});
|
6204
6090
|
|
6205
|
-
component_subscribe($$self, value, value => $$invalidate(
|
6091
|
+
component_subscribe($$self, value, value => $$invalidate(16, $value = value));
|
6206
6092
|
|
6207
6093
|
function handleChange(event) {
|
6208
6094
|
const updated = event.target.value ? [event.target.value] : [];
|
@@ -6218,7 +6104,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6218
6104
|
if ('_focusStyle' in $$props) $$invalidate(11, _focusStyle = $$props._focusStyle);
|
6219
6105
|
if ('_textStyle' in $$props) $$invalidate(12, _textStyle = $$props._textStyle);
|
6220
6106
|
if ('_placeholderStyle' in $$props) $$invalidate(13, _placeholderStyle = $$props._placeholderStyle);
|
6221
|
-
if ('
|
6107
|
+
if ('iconColor' in $$props) $$invalidate(14, iconColor = $$props.iconColor);
|
6108
|
+
if ('iconSize' in $$props) $$invalidate(15, iconSize = $$props.iconSize);
|
6222
6109
|
};
|
6223
6110
|
|
6224
6111
|
$$self.$$.update = () => {
|
@@ -6226,7 +6113,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6226
6113
|
$$invalidate(4, _options = ['', ...options.split(',')]);
|
6227
6114
|
}
|
6228
6115
|
|
6229
|
-
if ($$self.$$.dirty & /*$value*/
|
6116
|
+
if ($$self.$$.dirty & /*$value*/ 65536) {
|
6230
6117
|
$$invalidate(1, _value = $value[0]);
|
6231
6118
|
}
|
6232
6119
|
|
@@ -6238,17 +6125,17 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6238
6125
|
].join(';'));
|
6239
6126
|
}
|
6240
6127
|
|
6241
|
-
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle,
|
6128
|
+
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle, iconColor, iconSize*/ 59392) {
|
6242
6129
|
$$invalidate(2, styleVariables = (() => {
|
6243
6130
|
const variables = {};
|
6244
6131
|
const focusStyleObj = parseStyle(_focusStyle);
|
6245
6132
|
const placeholderStyle = parseStyle(_placeholderStyle);
|
6246
|
-
const iconStyleObj = parseStyle(_iconStyle);
|
6247
6133
|
if (focusStyleObj['border-width']) variables['--focus-border-width'] = focusStyleObj['border-width'];
|
6248
6134
|
if (focusStyleObj['border-color']) variables['--focus-border-color'] = focusStyleObj['border-color'];
|
6249
6135
|
if (focusStyleObj['border-style']) variables['--focus-border-style'] = focusStyleObj['border-style'];
|
6250
6136
|
if (placeholderStyle.color) variables['--placeholder-color'] = placeholderStyle.color;
|
6251
|
-
|
6137
|
+
variables['--icon-color'] = iconColor;
|
6138
|
+
variables['--icon-size'] = iconSize;
|
6252
6139
|
return stringifyStyleObj(variables);
|
6253
6140
|
})());
|
6254
6141
|
}
|
@@ -6269,7 +6156,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6269
6156
|
_focusStyle,
|
6270
6157
|
_textStyle,
|
6271
6158
|
_placeholderStyle,
|
6272
|
-
|
6159
|
+
iconColor,
|
6160
|
+
iconSize,
|
6273
6161
|
$value
|
6274
6162
|
];
|
6275
6163
|
}
|
@@ -6281,8 +6169,8 @@ class FormSelect extends SvelteComponent {
|
|
6281
6169
|
init(
|
6282
6170
|
this,
|
6283
6171
|
options,
|
6284
|
-
instance$
|
6285
|
-
create_fragment$
|
6172
|
+
instance$b,
|
6173
|
+
create_fragment$b,
|
6286
6174
|
safe_not_equal,
|
6287
6175
|
{
|
6288
6176
|
name: 7,
|
@@ -6293,20 +6181,21 @@ class FormSelect extends SvelteComponent {
|
|
6293
6181
|
_focusStyle: 11,
|
6294
6182
|
_textStyle: 12,
|
6295
6183
|
_placeholderStyle: 13,
|
6296
|
-
|
6184
|
+
iconColor: 14,
|
6185
|
+
iconSize: 15
|
6297
6186
|
},
|
6298
|
-
add_css$
|
6187
|
+
add_css$b
|
6299
6188
|
);
|
6300
6189
|
}
|
6301
6190
|
}
|
6302
6191
|
|
6303
6192
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6304
6193
|
|
6305
|
-
function add_css$
|
6194
|
+
function add_css$a(target) {
|
6306
6195
|
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}");
|
6307
6196
|
}
|
6308
6197
|
|
6309
|
-
function get_each_context$
|
6198
|
+
function get_each_context$3(ctx, list, i) {
|
6310
6199
|
const child_ctx = ctx.slice();
|
6311
6200
|
child_ctx[15] = list[i];
|
6312
6201
|
child_ctx[17] = i;
|
@@ -6314,7 +6203,7 @@ function get_each_context$2(ctx, list, i) {
|
|
6314
6203
|
}
|
6315
6204
|
|
6316
6205
|
// (94:2) {#each _options as option, i}
|
6317
|
-
function create_each_block$
|
6206
|
+
function create_each_block$3(ctx) {
|
6318
6207
|
let label;
|
6319
6208
|
let input;
|
6320
6209
|
let input_checked_value;
|
@@ -6407,13 +6296,13 @@ function create_each_block$2(ctx) {
|
|
6407
6296
|
};
|
6408
6297
|
}
|
6409
6298
|
|
6410
|
-
function create_fragment$
|
6299
|
+
function create_fragment$a(ctx) {
|
6411
6300
|
let div;
|
6412
6301
|
let each_value = /*_options*/ ctx[3];
|
6413
6302
|
let each_blocks = [];
|
6414
6303
|
|
6415
6304
|
for (let i = 0; i < each_value.length; i += 1) {
|
6416
|
-
each_blocks[i] = create_each_block$
|
6305
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
6417
6306
|
}
|
6418
6307
|
|
6419
6308
|
return {
|
@@ -6440,12 +6329,12 @@ function create_fragment$8(ctx) {
|
|
6440
6329
|
let i;
|
6441
6330
|
|
6442
6331
|
for (i = 0; i < each_value.length; i += 1) {
|
6443
|
-
const child_ctx = get_each_context$
|
6332
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
6444
6333
|
|
6445
6334
|
if (each_blocks[i]) {
|
6446
6335
|
each_blocks[i].p(child_ctx, dirty);
|
6447
6336
|
} else {
|
6448
|
-
each_blocks[i] = create_each_block$
|
6337
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
6449
6338
|
each_blocks[i].c();
|
6450
6339
|
each_blocks[i].m(div, null);
|
6451
6340
|
}
|
@@ -6471,7 +6360,7 @@ function create_fragment$8(ctx) {
|
|
6471
6360
|
};
|
6472
6361
|
}
|
6473
6362
|
|
6474
|
-
function instance$
|
6363
|
+
function instance$a($$self, $$props, $$invalidate) {
|
6475
6364
|
let _options;
|
6476
6365
|
let styleVariables;
|
6477
6366
|
let isCheckedArray;
|
@@ -6568,8 +6457,8 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6568
6457
|
init(
|
6569
6458
|
this,
|
6570
6459
|
options,
|
6571
|
-
instance$
|
6572
|
-
create_fragment$
|
6460
|
+
instance$a,
|
6461
|
+
create_fragment$a,
|
6573
6462
|
safe_not_equal,
|
6574
6463
|
{
|
6575
6464
|
name: 0,
|
@@ -6581,25 +6470,25 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6581
6470
|
buttonColor: 11,
|
6582
6471
|
buttonColorActive: 12
|
6583
6472
|
},
|
6584
|
-
add_css$
|
6473
|
+
add_css$a
|
6585
6474
|
);
|
6586
6475
|
}
|
6587
6476
|
}
|
6588
6477
|
|
6589
6478
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
6590
6479
|
|
6591
|
-
function add_css$
|
6480
|
+
function add_css$9(target) {
|
6592
6481
|
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}");
|
6593
6482
|
}
|
6594
6483
|
|
6595
|
-
function get_each_context$
|
6484
|
+
function get_each_context$2(ctx, list, i) {
|
6596
6485
|
const child_ctx = ctx.slice();
|
6597
6486
|
child_ctx[11] = list[i];
|
6598
6487
|
return child_ctx;
|
6599
6488
|
}
|
6600
6489
|
|
6601
6490
|
// (50:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6602
|
-
function create_each_block$
|
6491
|
+
function create_each_block$2(ctx) {
|
6603
6492
|
let div;
|
6604
6493
|
let t0_value = /*i*/ ctx[11] + "";
|
6605
6494
|
let t0;
|
@@ -6645,13 +6534,13 @@ function create_each_block$1(ctx) {
|
|
6645
6534
|
};
|
6646
6535
|
}
|
6647
6536
|
|
6648
|
-
function create_fragment$
|
6537
|
+
function create_fragment$9(ctx) {
|
6649
6538
|
let div;
|
6650
|
-
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6539
|
+
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6651
6540
|
let each_blocks = [];
|
6652
6541
|
|
6653
6542
|
for (let i = 0; i < each_value.length; i += 1) {
|
6654
|
-
each_blocks[i] = create_each_block$
|
6543
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
6655
6544
|
}
|
6656
6545
|
|
6657
6546
|
return {
|
@@ -6673,16 +6562,16 @@ function create_fragment$7(ctx) {
|
|
6673
6562
|
},
|
6674
6563
|
p(ctx, [dirty]) {
|
6675
6564
|
if (dirty & /*getTextButtonStyle, Array, count, _value, handleClick*/ 27) {
|
6676
|
-
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6565
|
+
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6677
6566
|
let i;
|
6678
6567
|
|
6679
6568
|
for (i = 0; i < each_value.length; i += 1) {
|
6680
|
-
const child_ctx = get_each_context$
|
6569
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
6681
6570
|
|
6682
6571
|
if (each_blocks[i]) {
|
6683
6572
|
each_blocks[i].p(child_ctx, dirty);
|
6684
6573
|
} else {
|
6685
|
-
each_blocks[i] = create_each_block$
|
6574
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
6686
6575
|
each_blocks[i].c();
|
6687
6576
|
each_blocks[i].m(div, null);
|
6688
6577
|
}
|
@@ -6704,9 +6593,9 @@ function create_fragment$7(ctx) {
|
|
6704
6593
|
};
|
6705
6594
|
}
|
6706
6595
|
|
6707
|
-
const func = i => i + 1;
|
6596
|
+
const func$1 = i => i + 1;
|
6708
6597
|
|
6709
|
-
function instance$
|
6598
|
+
function instance$9($$self, $$props, $$invalidate) {
|
6710
6599
|
let _value;
|
6711
6600
|
let $value;
|
6712
6601
|
let { name = '' } = $$props;
|
@@ -6773,8 +6662,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
6773
6662
|
init(
|
6774
6663
|
this,
|
6775
6664
|
options,
|
6776
|
-
instance$
|
6777
|
-
create_fragment$
|
6665
|
+
instance$9,
|
6666
|
+
create_fragment$9,
|
6778
6667
|
safe_not_equal,
|
6779
6668
|
{
|
6780
6669
|
name: 5,
|
@@ -6783,14 +6672,191 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
6783
6672
|
buttonStyle: 7,
|
6784
6673
|
buttonActiveStyle: 8
|
6785
6674
|
},
|
6786
|
-
add_css$
|
6675
|
+
add_css$9
|
6787
6676
|
);
|
6788
6677
|
}
|
6789
6678
|
}
|
6790
6679
|
|
6680
|
+
/* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
|
6681
|
+
|
6682
|
+
function add_css$8(target) {
|
6683
|
+
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%)}");
|
6684
|
+
}
|
6685
|
+
|
6686
|
+
function get_each_context$1(ctx, list, i) {
|
6687
|
+
const child_ctx = ctx.slice();
|
6688
|
+
child_ctx[10] = list[i];
|
6689
|
+
return child_ctx;
|
6690
|
+
}
|
6691
|
+
|
6692
|
+
// (42:2) {#each [...Array(count).keys()].reverse().map(i => i + 1) as i}
|
6693
|
+
function create_each_block$1(ctx) {
|
6694
|
+
let img;
|
6695
|
+
let img_src_value;
|
6696
|
+
let img_class_value;
|
6697
|
+
let mounted;
|
6698
|
+
let dispose;
|
6699
|
+
|
6700
|
+
return {
|
6701
|
+
c() {
|
6702
|
+
img = element("img");
|
6703
|
+
if (!src_url_equal(img.src, img_src_value = /*ICONS*/ ctx[2][/*i*/ ctx[10]])) attr(img, "src", img_src_value);
|
6704
|
+
attr(img, "class", img_class_value = "" + (null_to_empty(`rating-button${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-12ew9od"));
|
6705
|
+
attr(img, "style", /*buttonStyle*/ ctx[0]);
|
6706
|
+
attr(img, "alt", "rate" + /*i*/ ctx[10]);
|
6707
|
+
},
|
6708
|
+
m(target, anchor) {
|
6709
|
+
insert(target, img, anchor);
|
6710
|
+
|
6711
|
+
if (!mounted) {
|
6712
|
+
dispose = listen(img, "click", /*handleClick*/ ctx[4](/*i*/ ctx[10]));
|
6713
|
+
mounted = true;
|
6714
|
+
}
|
6715
|
+
},
|
6716
|
+
p(new_ctx, dirty) {
|
6717
|
+
ctx = new_ctx;
|
6718
|
+
|
6719
|
+
if (dirty & /*_value*/ 2 && img_class_value !== (img_class_value = "" + (null_to_empty(`rating-button${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-12ew9od"))) {
|
6720
|
+
attr(img, "class", img_class_value);
|
6721
|
+
}
|
6722
|
+
|
6723
|
+
if (dirty & /*buttonStyle*/ 1) {
|
6724
|
+
attr(img, "style", /*buttonStyle*/ ctx[0]);
|
6725
|
+
}
|
6726
|
+
},
|
6727
|
+
d(detaching) {
|
6728
|
+
if (detaching) detach(img);
|
6729
|
+
mounted = false;
|
6730
|
+
dispose();
|
6731
|
+
}
|
6732
|
+
};
|
6733
|
+
}
|
6734
|
+
|
6735
|
+
function create_fragment$8(ctx) {
|
6736
|
+
let div;
|
6737
|
+
let each_value = [...Array(count).keys()].reverse().map(func);
|
6738
|
+
let each_blocks = [];
|
6739
|
+
|
6740
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
6741
|
+
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
|
6742
|
+
}
|
6743
|
+
|
6744
|
+
return {
|
6745
|
+
c() {
|
6746
|
+
div = element("div");
|
6747
|
+
|
6748
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
6749
|
+
each_blocks[i].c();
|
6750
|
+
}
|
6751
|
+
|
6752
|
+
attr(div, "class", "rating-buttons svelte-12ew9od");
|
6753
|
+
},
|
6754
|
+
m(target, anchor) {
|
6755
|
+
insert(target, div, anchor);
|
6756
|
+
|
6757
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
6758
|
+
each_blocks[i].m(div, null);
|
6759
|
+
}
|
6760
|
+
},
|
6761
|
+
p(ctx, [dirty]) {
|
6762
|
+
if (dirty & /*ICONS, Array, count, _value, buttonStyle, handleClick*/ 23) {
|
6763
|
+
each_value = [...Array(count).keys()].reverse().map(func);
|
6764
|
+
let i;
|
6765
|
+
|
6766
|
+
for (i = 0; i < each_value.length; i += 1) {
|
6767
|
+
const child_ctx = get_each_context$1(ctx, each_value, i);
|
6768
|
+
|
6769
|
+
if (each_blocks[i]) {
|
6770
|
+
each_blocks[i].p(child_ctx, dirty);
|
6771
|
+
} else {
|
6772
|
+
each_blocks[i] = create_each_block$1(child_ctx);
|
6773
|
+
each_blocks[i].c();
|
6774
|
+
each_blocks[i].m(div, null);
|
6775
|
+
}
|
6776
|
+
}
|
6777
|
+
|
6778
|
+
for (; i < each_blocks.length; i += 1) {
|
6779
|
+
each_blocks[i].d(1);
|
6780
|
+
}
|
6781
|
+
|
6782
|
+
each_blocks.length = each_value.length;
|
6783
|
+
}
|
6784
|
+
},
|
6785
|
+
i: noop,
|
6786
|
+
o: noop,
|
6787
|
+
d(detaching) {
|
6788
|
+
if (detaching) detach(div);
|
6789
|
+
destroy_each(each_blocks, detaching);
|
6790
|
+
}
|
6791
|
+
};
|
6792
|
+
}
|
6793
|
+
|
6794
|
+
const count = 5;
|
6795
|
+
const func = i => i + 1;
|
6796
|
+
|
6797
|
+
function instance$8($$self, $$props, $$invalidate) {
|
6798
|
+
let _value;
|
6799
|
+
let buttonStyle;
|
6800
|
+
let $value;
|
6801
|
+
let { name = '' } = $$props;
|
6802
|
+
let { required = false } = $$props;
|
6803
|
+
let { size = '24px' } = $$props;
|
6804
|
+
|
6805
|
+
const ICONS = {
|
6806
|
+
1: 'https://img-cf.karte.io/image/6405a118a6a55b00118b7d15::5%201.png',
|
6807
|
+
2: 'https://img-cf.karte.io/image/6405a118af861f001115e02e::4%201.png',
|
6808
|
+
3: 'https://img-cf.karte.io/image/6405a118bbff9500111a1e51::3%203.png',
|
6809
|
+
4: 'https://img-cf.karte.io/image/6405a1189524cb00118a1e06::2%208.png',
|
6810
|
+
5: 'https://img-cf.karte.io/image/6405a1183021790011d39bde::1.png'
|
6811
|
+
};
|
6812
|
+
|
6813
|
+
const { path: statePath } = getStateItemContext();
|
6814
|
+
|
6815
|
+
const value = registerInput({
|
6816
|
+
name,
|
6817
|
+
statePath,
|
6818
|
+
initialValue: [],
|
6819
|
+
validator(value) {
|
6820
|
+
if (!required) return true;
|
6821
|
+
return value.length > 0;
|
6822
|
+
}
|
6823
|
+
});
|
6824
|
+
|
6825
|
+
component_subscribe($$self, value, value => $$invalidate(8, $value = value));
|
6826
|
+
|
6827
|
+
const handleClick = index => event => {
|
6828
|
+
value.set([String(index)]);
|
6829
|
+
};
|
6830
|
+
|
6831
|
+
$$self.$$set = $$props => {
|
6832
|
+
if ('name' in $$props) $$invalidate(5, name = $$props.name);
|
6833
|
+
if ('required' in $$props) $$invalidate(6, required = $$props.required);
|
6834
|
+
if ('size' in $$props) $$invalidate(7, size = $$props.size);
|
6835
|
+
};
|
6836
|
+
|
6837
|
+
$$self.$$.update = () => {
|
6838
|
+
if ($$self.$$.dirty & /*$value*/ 256) {
|
6839
|
+
$$invalidate(1, _value = Number($value[0] ?? -1));
|
6840
|
+
}
|
6841
|
+
|
6842
|
+
if ($$self.$$.dirty & /*size*/ 128) {
|
6843
|
+
$$invalidate(0, buttonStyle = `width: ${size}; height: ${size}`);
|
6844
|
+
}
|
6845
|
+
};
|
6846
|
+
|
6847
|
+
return [buttonStyle, _value, ICONS, value, handleClick, name, required, size, $value];
|
6848
|
+
}
|
6849
|
+
|
6850
|
+
class FormRatingButtonsFace extends SvelteComponent {
|
6851
|
+
constructor(options) {
|
6852
|
+
super();
|
6853
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$8);
|
6854
|
+
}
|
6855
|
+
}
|
6856
|
+
|
6791
6857
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
6792
6858
|
|
6793
|
-
function add_css$
|
6859
|
+
function add_css$7(target) {
|
6794
6860
|
append_styles(target, "svelte-c7zaph", ".root.svelte-c7zaph{width:100%;height:100%;position:relative}.container.svelte-c7zaph{width:100%;height:100%;position:relative;overflow:hidden}.slide.svelte-c7zaph{height:100%;position:absolute;display:flex}.transition.svelte-c7zaph{transition:left 0.2s cubic-bezier(.04,.67,.53,.96)}.item.svelte-c7zaph{height:100%;flex:none}.prev-button.svelte-c7zaph,.next-button.svelte-c7zaph{top:50%;height:0;position:absolute;display:flex;overflow:visible;align-items:center}.prev-button.svelte-c7zaph{left:0}.next-button.svelte-c7zaph{right:0}.button-container.svelte-c7zaph{display:flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box}.navigation.svelte-c7zaph{position:absolute;width:0;left:50%;bottom:0;display:flex;justify-content:center;overflow:visible}.navigation-item.svelte-c7zaph{flex-shrink:0;cursor:pointer}.navigation-item-inner.circle.svelte-c7zaph{border-radius:51%}");
|
6795
6861
|
}
|
6796
6862
|
|
@@ -6853,7 +6919,7 @@ function create_if_block_1(ctx) {
|
|
6853
6919
|
}
|
6854
6920
|
|
6855
6921
|
// (358:2) {#if isVisibleNextButton}
|
6856
|
-
function create_if_block(ctx) {
|
6922
|
+
function create_if_block$1(ctx) {
|
6857
6923
|
let div1;
|
6858
6924
|
let div0;
|
6859
6925
|
let svg;
|
@@ -6955,7 +7021,7 @@ function create_each_block(ctx) {
|
|
6955
7021
|
};
|
6956
7022
|
}
|
6957
7023
|
|
6958
|
-
function create_fragment$
|
7024
|
+
function create_fragment$7(ctx) {
|
6959
7025
|
let div3;
|
6960
7026
|
let div1;
|
6961
7027
|
let div0;
|
@@ -6968,7 +7034,7 @@ function create_fragment$6(ctx) {
|
|
6968
7034
|
const default_slot_template = /*#slots*/ ctx[31].default;
|
6969
7035
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[30], null);
|
6970
7036
|
let if_block0 = /*isVisiblePrevButton*/ ctx[11] && create_if_block_1(ctx);
|
6971
|
-
let if_block1 = /*isVisibleNextButton*/ ctx[10] && create_if_block(ctx);
|
7037
|
+
let if_block1 = /*isVisibleNextButton*/ ctx[10] && create_if_block$1(ctx);
|
6972
7038
|
let each_value = /*items*/ ctx[0];
|
6973
7039
|
let each_blocks = [];
|
6974
7040
|
|
@@ -7065,7 +7131,7 @@ function create_fragment$6(ctx) {
|
|
7065
7131
|
if (if_block1) {
|
7066
7132
|
if_block1.p(ctx, dirty);
|
7067
7133
|
} else {
|
7068
|
-
if_block1 = create_if_block(ctx);
|
7134
|
+
if_block1 = create_if_block$1(ctx);
|
7069
7135
|
if_block1.c();
|
7070
7136
|
if_block1.m(div3, t2);
|
7071
7137
|
}
|
@@ -7134,7 +7200,7 @@ function calcPositionIndex(shift, index, length) {
|
|
7134
7200
|
}
|
7135
7201
|
}
|
7136
7202
|
|
7137
|
-
function instance$
|
7203
|
+
function instance$7($$self, $$props, $$invalidate) {
|
7138
7204
|
let slideStyle;
|
7139
7205
|
let slideClass;
|
7140
7206
|
let _loop;
|
@@ -7568,8 +7634,8 @@ class Slide extends SvelteComponent {
|
|
7568
7634
|
init(
|
7569
7635
|
this,
|
7570
7636
|
options,
|
7571
|
-
instance$
|
7572
|
-
create_fragment$
|
7637
|
+
instance$7,
|
7638
|
+
create_fragment$7,
|
7573
7639
|
safe_not_equal,
|
7574
7640
|
{
|
7575
7641
|
loop: 17,
|
@@ -7582,7 +7648,7 @@ class Slide extends SvelteComponent {
|
|
7582
7648
|
navigationButton: 24,
|
7583
7649
|
navigationEdgePosition: 25
|
7584
7650
|
},
|
7585
|
-
add_css$
|
7651
|
+
add_css$7,
|
7586
7652
|
[-1, -1]
|
7587
7653
|
);
|
7588
7654
|
}
|
@@ -7590,11 +7656,11 @@ class Slide extends SvelteComponent {
|
|
7590
7656
|
|
7591
7657
|
/* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
|
7592
7658
|
|
7593
|
-
function add_css$
|
7659
|
+
function add_css$6(target) {
|
7594
7660
|
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}");
|
7595
7661
|
}
|
7596
7662
|
|
7597
|
-
function create_fragment$
|
7663
|
+
function create_fragment$6(ctx) {
|
7598
7664
|
let div1;
|
7599
7665
|
let div0;
|
7600
7666
|
let current;
|
@@ -7661,7 +7727,7 @@ function create_fragment$5(ctx) {
|
|
7661
7727
|
};
|
7662
7728
|
}
|
7663
7729
|
|
7664
|
-
function instance$
|
7730
|
+
function instance$6($$self, $$props, $$invalidate) {
|
7665
7731
|
let itemStyle;
|
7666
7732
|
let { $$slots: slots = {}, $$scope } = $$props;
|
7667
7733
|
const { registerItem, unregisterItem } = getContext('SLIDE');
|
@@ -7727,20 +7793,20 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
7727
7793
|
class SlideItem extends SvelteComponent {
|
7728
7794
|
constructor(options) {
|
7729
7795
|
super();
|
7730
|
-
init(this, options, instance$
|
7796
|
+
init(this, options, instance$6, create_fragment$6, safe_not_equal, { _style: 0 }, add_css$6);
|
7731
7797
|
}
|
7732
7798
|
}
|
7733
7799
|
|
7734
7800
|
/* src/components/Countdown.svelte generated by Svelte v3.53.1 */
|
7735
7801
|
|
7736
|
-
function add_css$
|
7802
|
+
function add_css$5(target) {
|
7737
7803
|
append_styles(target, "svelte-qx7l0c", ".countdown.svelte-qx7l0c{position:relative;width:100%;height:100%}.countdown-inner.svelte-qx7l0c{position:absolute;inset:0}");
|
7738
7804
|
}
|
7739
7805
|
|
7740
7806
|
const get_default_slot_changes = dirty => ({ countdown: dirty & /*countdown*/ 1 });
|
7741
7807
|
const get_default_slot_context = ctx => ({ countdown: /*countdown*/ ctx[0] });
|
7742
7808
|
|
7743
|
-
function create_fragment$
|
7809
|
+
function create_fragment$5(ctx) {
|
7744
7810
|
let div1;
|
7745
7811
|
let div0;
|
7746
7812
|
let current;
|
@@ -7815,7 +7881,7 @@ function formatTimeDiff(ms) {
|
|
7815
7881
|
};
|
7816
7882
|
}
|
7817
7883
|
|
7818
|
-
function instance$
|
7884
|
+
function instance$5($$self, $$props, $$invalidate) {
|
7819
7885
|
let countdown;
|
7820
7886
|
let { $$slots: slots = {}, $$scope } = $$props;
|
7821
7887
|
let { timeLimit = '2023/12/31 23:59:59+0900' } = $$props;
|
@@ -7874,17 +7940,17 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7874
7940
|
class Countdown extends SvelteComponent {
|
7875
7941
|
constructor(options) {
|
7876
7942
|
super();
|
7877
|
-
init(this, options, instance$
|
7943
|
+
init(this, options, instance$5, create_fragment$5, safe_not_equal, { timeLimit: 1, stateOnEnd: 2 }, add_css$5);
|
7878
7944
|
}
|
7879
7945
|
}
|
7880
7946
|
|
7881
7947
|
/* src/components/Box.svelte generated by Svelte v3.53.1 */
|
7882
7948
|
|
7883
|
-
function add_css$
|
7949
|
+
function add_css$4(target) {
|
7884
7950
|
append_styles(target, "svelte-aept6n", ".box-wrapper.svelte-aept6n{position:relative;width:100%;height:100%}.box.svelte-aept6n{position:absolute;inset:0}");
|
7885
7951
|
}
|
7886
7952
|
|
7887
|
-
function create_fragment$
|
7953
|
+
function create_fragment$4(ctx) {
|
7888
7954
|
let div1;
|
7889
7955
|
let div0;
|
7890
7956
|
let current;
|
@@ -7946,7 +8012,7 @@ function create_fragment$3(ctx) {
|
|
7946
8012
|
};
|
7947
8013
|
}
|
7948
8014
|
|
7949
|
-
function instance$
|
8015
|
+
function instance$4($$self, $$props, $$invalidate) {
|
7950
8016
|
let { $$slots: slots = {}, $$scope } = $$props;
|
7951
8017
|
let { _style = '' } = $$props;
|
7952
8018
|
|
@@ -7961,7 +8027,131 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
7961
8027
|
class Box extends SvelteComponent {
|
7962
8028
|
constructor(options) {
|
7963
8029
|
super();
|
7964
|
-
init(this, options, instance$
|
8030
|
+
init(this, options, instance$4, create_fragment$4, safe_not_equal, { _style: 0 }, add_css$4);
|
8031
|
+
}
|
8032
|
+
}
|
8033
|
+
|
8034
|
+
/* src/components/IconElement.svelte generated by Svelte v3.53.1 */
|
8035
|
+
|
8036
|
+
function add_css$3(target) {
|
8037
|
+
append_styles(target, "svelte-1773k1k", ".icon.svelte-1773k1k{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.icon.svelte-1773k1k svg{width:var(--width);height:var(--height);color:var(--color);stroke:var(--stroke);fill:var(--fill)}");
|
8038
|
+
}
|
8039
|
+
|
8040
|
+
// (39:2) {#if svg}
|
8041
|
+
function create_if_block(ctx) {
|
8042
|
+
let html_tag;
|
8043
|
+
let html_anchor;
|
8044
|
+
|
8045
|
+
return {
|
8046
|
+
c() {
|
8047
|
+
html_tag = new HtmlTag(false);
|
8048
|
+
html_anchor = empty();
|
8049
|
+
html_tag.a = html_anchor;
|
8050
|
+
},
|
8051
|
+
m(target, anchor) {
|
8052
|
+
html_tag.m(/*svg*/ ctx[1], target, anchor);
|
8053
|
+
insert(target, html_anchor, anchor);
|
8054
|
+
},
|
8055
|
+
p(ctx, dirty) {
|
8056
|
+
if (dirty & /*svg*/ 2) html_tag.p(/*svg*/ ctx[1]);
|
8057
|
+
},
|
8058
|
+
d(detaching) {
|
8059
|
+
if (detaching) detach(html_anchor);
|
8060
|
+
if (detaching) html_tag.d();
|
8061
|
+
}
|
8062
|
+
};
|
8063
|
+
}
|
8064
|
+
|
8065
|
+
function create_fragment$3(ctx) {
|
8066
|
+
let div;
|
8067
|
+
let if_block = /*svg*/ ctx[1] && create_if_block(ctx);
|
8068
|
+
|
8069
|
+
return {
|
8070
|
+
c() {
|
8071
|
+
div = element("div");
|
8072
|
+
if (if_block) if_block.c();
|
8073
|
+
attr(div, "class", "icon svelte-1773k1k");
|
8074
|
+
attr(div, "style", /*style*/ ctx[0]);
|
8075
|
+
},
|
8076
|
+
m(target, anchor) {
|
8077
|
+
insert(target, div, anchor);
|
8078
|
+
if (if_block) if_block.m(div, null);
|
8079
|
+
},
|
8080
|
+
p(ctx, [dirty]) {
|
8081
|
+
if (/*svg*/ ctx[1]) {
|
8082
|
+
if (if_block) {
|
8083
|
+
if_block.p(ctx, dirty);
|
8084
|
+
} else {
|
8085
|
+
if_block = create_if_block(ctx);
|
8086
|
+
if_block.c();
|
8087
|
+
if_block.m(div, null);
|
8088
|
+
}
|
8089
|
+
} else if (if_block) {
|
8090
|
+
if_block.d(1);
|
8091
|
+
if_block = null;
|
8092
|
+
}
|
8093
|
+
|
8094
|
+
if (dirty & /*style*/ 1) {
|
8095
|
+
attr(div, "style", /*style*/ ctx[0]);
|
8096
|
+
}
|
8097
|
+
},
|
8098
|
+
i: noop,
|
8099
|
+
o: noop,
|
8100
|
+
d(detaching) {
|
8101
|
+
if (detaching) detach(div);
|
8102
|
+
if (if_block) if_block.d();
|
8103
|
+
}
|
8104
|
+
};
|
8105
|
+
}
|
8106
|
+
|
8107
|
+
function parseData(dataUrl) {
|
8108
|
+
const [_meta, data] = dataUrl.split(',');
|
8109
|
+
|
8110
|
+
// @ts-ignore
|
8111
|
+
return decodeURIComponent(data).replaceAll('\'', '"');
|
8112
|
+
}
|
8113
|
+
|
8114
|
+
function instance$3($$self, $$props, $$invalidate) {
|
8115
|
+
let svg;
|
8116
|
+
let styleVariables;
|
8117
|
+
let style;
|
8118
|
+
let { icon = '' } = $$props;
|
8119
|
+
let { size = '20px' } = $$props;
|
8120
|
+
let { color = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
8121
|
+
let { _style = '' } = $$props;
|
8122
|
+
|
8123
|
+
$$self.$$set = $$props => {
|
8124
|
+
if ('icon' in $$props) $$invalidate(2, icon = $$props.icon);
|
8125
|
+
if ('size' in $$props) $$invalidate(3, size = $$props.size);
|
8126
|
+
if ('color' in $$props) $$invalidate(4, color = $$props.color);
|
8127
|
+
if ('_style' in $$props) $$invalidate(5, _style = $$props._style);
|
8128
|
+
};
|
8129
|
+
|
8130
|
+
$$self.$$.update = () => {
|
8131
|
+
if ($$self.$$.dirty & /*icon*/ 4) {
|
8132
|
+
$$invalidate(1, svg = (() => {
|
8133
|
+
if (!icon) return;
|
8134
|
+
const original = parseData(icon);
|
8135
|
+
return original;
|
8136
|
+
})());
|
8137
|
+
}
|
8138
|
+
|
8139
|
+
if ($$self.$$.dirty & /*size, color*/ 24) {
|
8140
|
+
$$invalidate(6, styleVariables = `--width: ${size}; --height: ${size}; --color: ${color}; --stroke: ${color}; --fill: ${color};`);
|
8141
|
+
}
|
8142
|
+
|
8143
|
+
if ($$self.$$.dirty & /*_style, styleVariables*/ 96) {
|
8144
|
+
$$invalidate(0, style = [..._style.split(';'), ...styleVariables.split(';')].join(';'));
|
8145
|
+
}
|
8146
|
+
};
|
8147
|
+
|
8148
|
+
return [style, svg, icon, size, color, _style, styleVariables];
|
8149
|
+
}
|
8150
|
+
|
8151
|
+
class IconElement extends SvelteComponent {
|
8152
|
+
constructor(options) {
|
8153
|
+
super();
|
8154
|
+
init(this, options, instance$3, create_fragment$3, safe_not_equal, { icon: 2, size: 3, color: 4, _style: 5 }, add_css$3);
|
7965
8155
|
}
|
7966
8156
|
}
|
7967
8157
|
|
@@ -8306,4 +8496,4 @@ class ImageBlock extends SvelteComponent {
|
|
8306
8496
|
}
|
8307
8497
|
}
|
8308
8498
|
|
8309
|
-
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, FormCheckBoxes, FormRadioButtons, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, 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,
|
8499
|
+
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, 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, setAutoStart, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, variables, widget };
|