@plaidev/karte-action-sdk 1.1.139 → 1.1.140-27968620.92b2388a
Sign up to get free protection for your applications and to get access to all the features.
- 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/hydrate/index.es.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { writable, get } from 'svelte/store';
|
2
1
|
import '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, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, is_function, append_hydration, add_render_callback, create_in_transition, svg_element, claim_svg_element, binding_callbacks, destroy_each, text, claim_text, set_data, null_to_empty, src_url_equal, HtmlTagHydration, claim_html_tag } from 'svelte/internal';
|
4
4
|
import { setContext, getContext, createEventDispatcher, onMount, onDestroy as onDestroy$1 } from 'svelte';
|
5
5
|
|
6
6
|
/** @internal */
|
@@ -204,14 +204,6 @@ function hasSuffix(value, suffix) {
|
|
204
204
|
return new RegExp(`[0-9]${suffix}$`).test(value);
|
205
205
|
}
|
206
206
|
|
207
|
-
/**
|
208
|
-
* get store state value
|
209
|
-
*
|
210
|
-
* @deprecated 非推奨
|
211
|
-
*
|
212
|
-
* @internal
|
213
|
-
*/
|
214
|
-
const getStoreState = get;
|
215
207
|
/**
|
216
208
|
* Store to handle action setting
|
217
209
|
*
|
@@ -248,6 +240,15 @@ function setSetting(setting) {
|
|
248
240
|
setStopped(!current.autoStart);
|
249
241
|
return current;
|
250
242
|
}
|
243
|
+
/**
|
244
|
+
* {@link resetSetting} function to reset action setting
|
245
|
+
*
|
246
|
+
* @internal
|
247
|
+
*/
|
248
|
+
function resetSetting() {
|
249
|
+
actionSetting.set({ autoStart: true });
|
250
|
+
setStopped();
|
251
|
+
}
|
251
252
|
/**
|
252
253
|
* Store to read KARTE system config
|
253
254
|
*
|
@@ -378,18 +379,6 @@ function setOpened(on) {
|
|
378
379
|
* @internal
|
379
380
|
*/
|
380
381
|
const closed = writable(false); // deprecated
|
381
|
-
/**
|
382
|
-
* {@link isClosed} function to check if action is clsoed.
|
383
|
-
*
|
384
|
-
* @returns Flag if action is closed / true: Closed, false: Not closed
|
385
|
-
*
|
386
|
-
* @deprecated 非推奨
|
387
|
-
*
|
388
|
-
* @internal
|
389
|
-
*/
|
390
|
-
function isClosed() {
|
391
|
-
return get(closed);
|
392
|
-
}
|
393
382
|
/**
|
394
383
|
* {@link setClosed} function to set if action is closed.
|
395
384
|
*
|
@@ -511,6 +500,13 @@ function setEventHandlers(handlers) {
|
|
511
500
|
});
|
512
501
|
return getEventHandlers();
|
513
502
|
}
|
503
|
+
/**
|
504
|
+
* イベントハンドラーをリセットする
|
505
|
+
*
|
506
|
+
*/
|
507
|
+
function resetEventHandlers() {
|
508
|
+
setEventHandlers({});
|
509
|
+
}
|
514
510
|
/**
|
515
511
|
* Store to handle destruction of action
|
516
512
|
*
|
@@ -595,129 +591,18 @@ function setVariables(vars) {
|
|
595
591
|
return getVariables();
|
596
592
|
}
|
597
593
|
/**
|
598
|
-
*
|
599
|
-
*
|
600
|
-
* @internal
|
601
|
-
*/
|
602
|
-
const formData = writable({});
|
603
|
-
/**
|
604
|
-
* 非推奨
|
605
|
-
*
|
606
|
-
* @deprecated 非推奨
|
607
|
-
*
|
608
|
-
* @internal
|
609
|
-
*/
|
610
|
-
const customHandlers = writable({});
|
611
|
-
/**
|
612
|
-
* 非推奨
|
613
|
-
*
|
614
|
-
* @deprecated 非推奨
|
615
|
-
*
|
616
|
-
* @internal
|
617
|
-
*/
|
618
|
-
function getCustomHandlers() {
|
619
|
-
return get(customHandlers);
|
620
|
-
}
|
621
|
-
/**
|
622
|
-
* 非推奨
|
623
|
-
*
|
624
|
-
* @deprecated 非推奨
|
625
|
-
*
|
626
|
-
* @internal
|
627
|
-
*/
|
628
|
-
function setCustomHandlers(handlers) {
|
629
|
-
customHandlers.set(handlers);
|
630
|
-
}
|
631
|
-
/**
|
632
|
-
* 非推奨
|
633
|
-
*
|
634
|
-
* @deprecated 非推奨
|
635
|
-
*
|
636
|
-
* @internal
|
637
|
-
*/
|
638
|
-
function updateCustomHandlers(handlers) {
|
639
|
-
customHandlers.update(current => {
|
640
|
-
return { ...current, ...handlers };
|
641
|
-
});
|
642
|
-
return getCustomHandlers();
|
643
|
-
}
|
644
|
-
/**
|
645
|
-
* 非推奨
|
646
|
-
*
|
647
|
-
* @deprecated 非推奨
|
648
|
-
*
|
649
|
-
* @internal
|
650
|
-
*/
|
651
|
-
const customVariables = writable({});
|
652
|
-
/**
|
653
|
-
* 非推奨
|
654
|
-
*
|
655
|
-
* @deprecated 非推奨
|
656
|
-
*
|
657
|
-
* @internal
|
658
|
-
*/
|
659
|
-
function getCustomVariables() {
|
660
|
-
return get(customVariables);
|
661
|
-
}
|
662
|
-
/**
|
663
|
-
* 非推奨
|
664
|
-
*
|
665
|
-
* @deprecated 非推奨
|
666
|
-
*
|
667
|
-
* @internal
|
668
|
-
*/
|
669
|
-
function setCustomVariables(variables) {
|
670
|
-
customVariables.set(variables);
|
671
|
-
}
|
672
|
-
/**
|
673
|
-
* 非推奨
|
674
|
-
*
|
675
|
-
* @deprecated 非推奨
|
676
|
-
*
|
677
|
-
* @internal
|
678
|
-
*/
|
679
|
-
function updateCustomVariables(variables) {
|
680
|
-
customVariables.update(current => {
|
681
|
-
return { ...current, ...variables };
|
682
|
-
});
|
683
|
-
return getCustomVariables();
|
684
|
-
}
|
685
|
-
/**
|
686
|
-
* 非推奨
|
687
|
-
*
|
688
|
-
* @deprecated 非推奨
|
689
|
-
*
|
690
|
-
* @internal
|
691
|
-
*/
|
692
|
-
function getActionSetting() {
|
693
|
-
return get(actionSetting);
|
694
|
-
}
|
695
|
-
/**
|
696
|
-
* 非推奨
|
594
|
+
* 変数をリセットする
|
697
595
|
*
|
698
|
-
* @deprecated 非推奨
|
699
|
-
*
|
700
|
-
* @internal
|
701
596
|
*/
|
702
|
-
function
|
703
|
-
|
704
|
-
return { ...current, ...setting };
|
705
|
-
});
|
706
|
-
const current = getActionSetting();
|
707
|
-
setStopped(!current.autoStart);
|
708
|
-
return current;
|
597
|
+
function resetVariables() {
|
598
|
+
setVariables({});
|
709
599
|
}
|
710
600
|
/**
|
711
|
-
*
|
712
|
-
*
|
713
|
-
* @deprecated 非推奨
|
601
|
+
* Store for form data
|
714
602
|
*
|
715
603
|
* @internal
|
716
604
|
*/
|
717
|
-
|
718
|
-
actionSetting.set({ autoStart: true });
|
719
|
-
setStopped();
|
720
|
-
}
|
605
|
+
const formData = writable({});
|
721
606
|
|
722
607
|
function isEmpty(value) {
|
723
608
|
if (Array.isArray(value)) {
|
@@ -841,7 +726,7 @@ const handleState = (event) => {
|
|
841
726
|
};
|
842
727
|
/** @internal */
|
843
728
|
const initialize = (setting) => {
|
844
|
-
const newSetting =
|
729
|
+
const newSetting = setSetting(setting);
|
845
730
|
if (newSetting.initialState) {
|
846
731
|
setState$1(newSetting.initialState);
|
847
732
|
}
|
@@ -854,11 +739,11 @@ const initialize = (setting) => {
|
|
854
739
|
};
|
855
740
|
/** @internal */
|
856
741
|
const finalize = () => {
|
857
|
-
|
742
|
+
resetSetting();
|
858
743
|
};
|
859
744
|
/** @internal */
|
860
745
|
const send_event = (event_name, values) => {
|
861
|
-
const setting =
|
746
|
+
const setting = getSetting();
|
862
747
|
setting?.send?.(event_name, values);
|
863
748
|
};
|
864
749
|
function _moveTo(to) {
|
@@ -885,7 +770,7 @@ const closeApp = (trigger) => () => {
|
|
885
770
|
};
|
886
771
|
/** @internal */
|
887
772
|
const runScript = (handlerName) => () => {
|
888
|
-
const handlers =
|
773
|
+
const handlers = getEventHandlers();
|
889
774
|
const handler = handlers[handlerName];
|
890
775
|
if (!handler)
|
891
776
|
return;
|
@@ -2182,7 +2067,7 @@ setWidgetHandlers({
|
|
2182
2067
|
* @public
|
2183
2068
|
*/
|
2184
2069
|
function setVal(name, value) {
|
2185
|
-
|
2070
|
+
variables.update(current => {
|
2186
2071
|
if (valCallbacks[name]) {
|
2187
2072
|
valCallbacks[name].forEach(cb => {
|
2188
2073
|
cb({ newVal: value, oldVal: current[name], key: name });
|
@@ -2403,20 +2288,20 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2403
2288
|
|
2404
2289
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2405
2290
|
|
2406
|
-
function add_css$
|
2291
|
+
function add_css$s(target) {
|
2407
2292
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2408
2293
|
}
|
2409
2294
|
|
2410
2295
|
class Normalize extends SvelteComponent {
|
2411
2296
|
constructor(options) {
|
2412
2297
|
super();
|
2413
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2298
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$s);
|
2414
2299
|
}
|
2415
2300
|
}
|
2416
2301
|
|
2417
2302
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2418
2303
|
|
2419
|
-
function create_fragment$
|
2304
|
+
function create_fragment$v(ctx) {
|
2420
2305
|
let normalize;
|
2421
2306
|
let t;
|
2422
2307
|
let current;
|
@@ -2480,7 +2365,7 @@ function create_fragment$t(ctx) {
|
|
2480
2365
|
};
|
2481
2366
|
}
|
2482
2367
|
|
2483
|
-
function instance$
|
2368
|
+
function instance$v($$self, $$props, $$invalidate) {
|
2484
2369
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2485
2370
|
|
2486
2371
|
$$self.$$set = $$props => {
|
@@ -2493,18 +2378,18 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
2493
2378
|
class State extends SvelteComponent {
|
2494
2379
|
constructor(options) {
|
2495
2380
|
super();
|
2496
|
-
init(this, options, instance$
|
2381
|
+
init(this, options, instance$v, create_fragment$v, safe_not_equal, {});
|
2497
2382
|
}
|
2498
2383
|
}
|
2499
2384
|
|
2500
2385
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2501
2386
|
|
2502
|
-
function add_css$
|
2387
|
+
function add_css$r(target) {
|
2503
2388
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2504
2389
|
}
|
2505
2390
|
|
2506
2391
|
// (23:0) {#if $state === path}
|
2507
|
-
function create_if_block$
|
2392
|
+
function create_if_block$7(ctx) {
|
2508
2393
|
let div;
|
2509
2394
|
let t;
|
2510
2395
|
let current;
|
@@ -2576,10 +2461,10 @@ function create_if_block$6(ctx) {
|
|
2576
2461
|
};
|
2577
2462
|
}
|
2578
2463
|
|
2579
|
-
function create_fragment$
|
2464
|
+
function create_fragment$u(ctx) {
|
2580
2465
|
let if_block_anchor;
|
2581
2466
|
let current;
|
2582
|
-
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$
|
2467
|
+
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$7(ctx);
|
2583
2468
|
|
2584
2469
|
return {
|
2585
2470
|
c() {
|
@@ -2604,7 +2489,7 @@ function create_fragment$s(ctx) {
|
|
2604
2489
|
transition_in(if_block, 1);
|
2605
2490
|
}
|
2606
2491
|
} else {
|
2607
|
-
if_block = create_if_block$
|
2492
|
+
if_block = create_if_block$7(ctx);
|
2608
2493
|
if_block.c();
|
2609
2494
|
transition_in(if_block, 1);
|
2610
2495
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -2641,7 +2526,7 @@ function getStateItemContext() {
|
|
2641
2526
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2642
2527
|
}
|
2643
2528
|
|
2644
|
-
function instance$
|
2529
|
+
function instance$u($$self, $$props, $$invalidate) {
|
2645
2530
|
let $state;
|
2646
2531
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2647
2532
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2667,18 +2552,18 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
2667
2552
|
class StateItem extends SvelteComponent {
|
2668
2553
|
constructor(options) {
|
2669
2554
|
super();
|
2670
|
-
init(this, options, instance$
|
2555
|
+
init(this, options, instance$u, create_fragment$u, safe_not_equal, { path: 0 }, add_css$r);
|
2671
2556
|
}
|
2672
2557
|
}
|
2673
2558
|
|
2674
2559
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2675
2560
|
|
2676
|
-
function add_css$
|
2561
|
+
function add_css$q(target) {
|
2677
2562
|
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}");
|
2678
2563
|
}
|
2679
2564
|
|
2680
2565
|
// (9:0) {#if backgroundOverray}
|
2681
|
-
function create_if_block$
|
2566
|
+
function create_if_block$6(ctx) {
|
2682
2567
|
let div;
|
2683
2568
|
let mounted;
|
2684
2569
|
let dispose;
|
@@ -2713,9 +2598,9 @@ function create_if_block$5(ctx) {
|
|
2713
2598
|
};
|
2714
2599
|
}
|
2715
2600
|
|
2716
|
-
function create_fragment$
|
2601
|
+
function create_fragment$t(ctx) {
|
2717
2602
|
let if_block_anchor;
|
2718
|
-
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$
|
2603
|
+
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$6(ctx);
|
2719
2604
|
|
2720
2605
|
return {
|
2721
2606
|
c() {
|
@@ -2735,7 +2620,7 @@ function create_fragment$r(ctx) {
|
|
2735
2620
|
if (if_block) {
|
2736
2621
|
if_block.p(ctx, dirty);
|
2737
2622
|
} else {
|
2738
|
-
if_block = create_if_block$
|
2623
|
+
if_block = create_if_block$6(ctx);
|
2739
2624
|
if_block.c();
|
2740
2625
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
2741
2626
|
}
|
@@ -2753,7 +2638,7 @@ function create_fragment$r(ctx) {
|
|
2753
2638
|
};
|
2754
2639
|
}
|
2755
2640
|
|
2756
|
-
function instance$
|
2641
|
+
function instance$t($$self, $$props, $$invalidate) {
|
2757
2642
|
let { backgroundOverray = false } = $$props;
|
2758
2643
|
const dispatch = createEventDispatcher();
|
2759
2644
|
const click_handler = () => dispatch('click');
|
@@ -2768,18 +2653,18 @@ function instance$r($$self, $$props, $$invalidate) {
|
|
2768
2653
|
class BackgroundOverray extends SvelteComponent {
|
2769
2654
|
constructor(options) {
|
2770
2655
|
super();
|
2771
|
-
init(this, options, instance$
|
2656
|
+
init(this, options, instance$t, create_fragment$t, safe_not_equal, { backgroundOverray: 0 }, add_css$q);
|
2772
2657
|
}
|
2773
2658
|
}
|
2774
2659
|
|
2775
2660
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
2776
2661
|
|
2777
|
-
function add_css$
|
2662
|
+
function add_css$p(target) {
|
2778
2663
|
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}");
|
2779
2664
|
}
|
2780
2665
|
|
2781
2666
|
// (149:0) {#if visible}
|
2782
|
-
function create_if_block$
|
2667
|
+
function create_if_block$5(ctx) {
|
2783
2668
|
let div1;
|
2784
2669
|
let t;
|
2785
2670
|
let div0;
|
@@ -3004,7 +2889,7 @@ function create_if_block_1$1(ctx) {
|
|
3004
2889
|
};
|
3005
2890
|
}
|
3006
2891
|
|
3007
|
-
function create_fragment$
|
2892
|
+
function create_fragment$s(ctx) {
|
3008
2893
|
let backgroundoverray;
|
3009
2894
|
let t;
|
3010
2895
|
let if_block_anchor;
|
@@ -3022,7 +2907,7 @@ function create_fragment$q(ctx) {
|
|
3022
2907
|
if (is_function(/*backgroundClick*/ ctx[13])) /*backgroundClick*/ ctx[13].apply(this, arguments);
|
3023
2908
|
});
|
3024
2909
|
|
3025
|
-
let if_block = /*visible*/ ctx[7] && create_if_block$
|
2910
|
+
let if_block = /*visible*/ ctx[7] && create_if_block$5(ctx);
|
3026
2911
|
|
3027
2912
|
return {
|
3028
2913
|
c() {
|
@@ -3066,7 +2951,7 @@ function create_fragment$q(ctx) {
|
|
3066
2951
|
transition_in(if_block, 1);
|
3067
2952
|
}
|
3068
2953
|
} else {
|
3069
|
-
if_block = create_if_block$
|
2954
|
+
if_block = create_if_block$5(ctx);
|
3070
2955
|
if_block.c();
|
3071
2956
|
transition_in(if_block, 1);
|
3072
2957
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -3103,7 +2988,7 @@ function create_fragment$q(ctx) {
|
|
3103
2988
|
};
|
3104
2989
|
}
|
3105
2990
|
|
3106
|
-
function instance$
|
2991
|
+
function instance$s($$self, $$props, $$invalidate) {
|
3107
2992
|
let click;
|
3108
2993
|
let close;
|
3109
2994
|
let closable;
|
@@ -3298,8 +3183,8 @@ class Modal extends SvelteComponent {
|
|
3298
3183
|
init(
|
3299
3184
|
this,
|
3300
3185
|
options,
|
3301
|
-
instance$
|
3302
|
-
create_fragment$
|
3186
|
+
instance$s,
|
3187
|
+
create_fragment$s,
|
3303
3188
|
safe_not_equal,
|
3304
3189
|
{
|
3305
3190
|
onClick: 17,
|
@@ -3315,14 +3200,14 @@ class Modal extends SvelteComponent {
|
|
3315
3200
|
closeButtonColor: 2,
|
3316
3201
|
_closeStyle: 3
|
3317
3202
|
},
|
3318
|
-
add_css$
|
3203
|
+
add_css$p
|
3319
3204
|
);
|
3320
3205
|
}
|
3321
3206
|
}
|
3322
3207
|
|
3323
3208
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
3324
3209
|
|
3325
|
-
function create_fragment$
|
3210
|
+
function create_fragment$r(ctx) {
|
3326
3211
|
let div;
|
3327
3212
|
let current;
|
3328
3213
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -3390,7 +3275,7 @@ function create_fragment$p(ctx) {
|
|
3390
3275
|
};
|
3391
3276
|
}
|
3392
3277
|
|
3393
|
-
function instance$
|
3278
|
+
function instance$r($$self, $$props, $$invalidate) {
|
3394
3279
|
let _style;
|
3395
3280
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3396
3281
|
let { width = '512px' } = $$props;
|
@@ -3435,7 +3320,7 @@ class Grid extends SvelteComponent {
|
|
3435
3320
|
constructor(options) {
|
3436
3321
|
super();
|
3437
3322
|
|
3438
|
-
init(this, options, instance$
|
3323
|
+
init(this, options, instance$r, create_fragment$r, safe_not_equal, {
|
3439
3324
|
width: 1,
|
3440
3325
|
height: 2,
|
3441
3326
|
rows: 3,
|
@@ -3626,7 +3511,7 @@ function create_default_slot(ctx) {
|
|
3626
3511
|
};
|
3627
3512
|
}
|
3628
3513
|
|
3629
|
-
function create_fragment$
|
3514
|
+
function create_fragment$q(ctx) {
|
3630
3515
|
let stateitem;
|
3631
3516
|
let current;
|
3632
3517
|
|
@@ -3674,7 +3559,7 @@ function create_fragment$o(ctx) {
|
|
3674
3559
|
};
|
3675
3560
|
}
|
3676
3561
|
|
3677
|
-
function instance$
|
3562
|
+
function instance$q($$self, $$props, $$invalidate) {
|
3678
3563
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3679
3564
|
let { path } = $$props;
|
3680
3565
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -3745,7 +3630,7 @@ class GridModalState extends SvelteComponent {
|
|
3745
3630
|
constructor(options) {
|
3746
3631
|
super();
|
3747
3632
|
|
3748
|
-
init(this, options, instance$
|
3633
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, {
|
3749
3634
|
path: 0,
|
3750
3635
|
onClick: 1,
|
3751
3636
|
clickEventName: 2,
|
@@ -3770,11 +3655,11 @@ class GridModalState extends SvelteComponent {
|
|
3770
3655
|
|
3771
3656
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
3772
3657
|
|
3773
|
-
function add_css$
|
3658
|
+
function add_css$o(target) {
|
3774
3659
|
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
3775
3660
|
}
|
3776
3661
|
|
3777
|
-
function create_fragment$
|
3662
|
+
function create_fragment$p(ctx) {
|
3778
3663
|
let div1;
|
3779
3664
|
let div0;
|
3780
3665
|
let current;
|
@@ -3855,7 +3740,7 @@ function create_fragment$n(ctx) {
|
|
3855
3740
|
};
|
3856
3741
|
}
|
3857
3742
|
|
3858
|
-
function instance$
|
3743
|
+
function instance$p($$self, $$props, $$invalidate) {
|
3859
3744
|
let _style;
|
3860
3745
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3861
3746
|
let { x1 } = $$props;
|
@@ -3908,8 +3793,8 @@ class GridItem extends SvelteComponent {
|
|
3908
3793
|
init(
|
3909
3794
|
this,
|
3910
3795
|
options,
|
3911
|
-
instance$
|
3912
|
-
create_fragment$
|
3796
|
+
instance$p,
|
3797
|
+
create_fragment$p,
|
3913
3798
|
safe_not_equal,
|
3914
3799
|
{
|
3915
3800
|
x1: 2,
|
@@ -3919,18 +3804,18 @@ class GridItem extends SvelteComponent {
|
|
3919
3804
|
z: 6,
|
3920
3805
|
background: 7
|
3921
3806
|
},
|
3922
|
-
add_css$
|
3807
|
+
add_css$o
|
3923
3808
|
);
|
3924
3809
|
}
|
3925
3810
|
}
|
3926
3811
|
|
3927
3812
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
3928
3813
|
|
3929
|
-
function add_css$
|
3814
|
+
function add_css$n(target) {
|
3930
3815
|
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
3931
3816
|
}
|
3932
3817
|
|
3933
|
-
function create_fragment$
|
3818
|
+
function create_fragment$o(ctx) {
|
3934
3819
|
let div;
|
3935
3820
|
let div_style_value;
|
3936
3821
|
let current;
|
@@ -4005,7 +3890,7 @@ function getFlexContext() {
|
|
4005
3890
|
return getContext(FlexContextKey);
|
4006
3891
|
}
|
4007
3892
|
|
4008
|
-
function instance$
|
3893
|
+
function instance$o($$self, $$props, $$invalidate) {
|
4009
3894
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4010
3895
|
let { direction = 'row' } = $$props;
|
4011
3896
|
let { width = '100%' } = $$props;
|
@@ -4031,8 +3916,8 @@ class Flex extends SvelteComponent {
|
|
4031
3916
|
init(
|
4032
3917
|
this,
|
4033
3918
|
options,
|
4034
|
-
instance$
|
4035
|
-
create_fragment$
|
3919
|
+
instance$o,
|
3920
|
+
create_fragment$o,
|
4036
3921
|
safe_not_equal,
|
4037
3922
|
{
|
4038
3923
|
direction: 0,
|
@@ -4040,18 +3925,18 @@ class Flex extends SvelteComponent {
|
|
4040
3925
|
height: 2,
|
4041
3926
|
_style: 3
|
4042
3927
|
},
|
4043
|
-
add_css$
|
3928
|
+
add_css$n
|
4044
3929
|
);
|
4045
3930
|
}
|
4046
3931
|
}
|
4047
3932
|
|
4048
3933
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
4049
3934
|
|
4050
|
-
function add_css$
|
3935
|
+
function add_css$m(target) {
|
4051
3936
|
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
4052
3937
|
}
|
4053
3938
|
|
4054
|
-
function create_fragment$
|
3939
|
+
function create_fragment$n(ctx) {
|
4055
3940
|
let div;
|
4056
3941
|
let current;
|
4057
3942
|
const default_slot_template = /*#slots*/ ctx[4].default;
|
@@ -4119,7 +4004,7 @@ function create_fragment$l(ctx) {
|
|
4119
4004
|
};
|
4120
4005
|
}
|
4121
4006
|
|
4122
|
-
function instance$
|
4007
|
+
function instance$n($$self, $$props, $$invalidate) {
|
4123
4008
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4124
4009
|
let { length } = $$props;
|
4125
4010
|
let { _style = '' } = $$props;
|
@@ -4162,13 +4047,13 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
4162
4047
|
class FlexItem extends SvelteComponent {
|
4163
4048
|
constructor(options) {
|
4164
4049
|
super();
|
4165
|
-
init(this, options, instance$
|
4050
|
+
init(this, options, instance$n, create_fragment$n, safe_not_equal, { length: 1, _style: 2 }, add_css$m);
|
4166
4051
|
}
|
4167
4052
|
}
|
4168
4053
|
|
4169
4054
|
/* src/components/RenderText.svelte generated by Svelte v3.53.1 */
|
4170
4055
|
|
4171
|
-
function get_each_context$
|
4056
|
+
function get_each_context$6(ctx, list, i) {
|
4172
4057
|
const child_ctx = ctx.slice();
|
4173
4058
|
child_ctx[2] = list[i];
|
4174
4059
|
return child_ctx;
|
@@ -4199,7 +4084,7 @@ function create_else_block$1(ctx) {
|
|
4199
4084
|
}
|
4200
4085
|
|
4201
4086
|
// (10:2) {#if item.match(regexp)}
|
4202
|
-
function create_if_block$
|
4087
|
+
function create_if_block$4(ctx) {
|
4203
4088
|
let br;
|
4204
4089
|
|
4205
4090
|
return {
|
@@ -4220,14 +4105,14 @@ function create_if_block$3(ctx) {
|
|
4220
4105
|
}
|
4221
4106
|
|
4222
4107
|
// (9:0) {#each items as item}
|
4223
|
-
function create_each_block$
|
4108
|
+
function create_each_block$6(ctx) {
|
4224
4109
|
let show_if;
|
4225
4110
|
let if_block_anchor;
|
4226
4111
|
|
4227
4112
|
function select_block_type(ctx, dirty) {
|
4228
4113
|
if (dirty & /*items*/ 1) show_if = null;
|
4229
4114
|
if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
|
4230
|
-
if (show_if) return create_if_block$
|
4115
|
+
if (show_if) return create_if_block$4;
|
4231
4116
|
return create_else_block$1;
|
4232
4117
|
}
|
4233
4118
|
|
@@ -4267,13 +4152,13 @@ function create_each_block$5(ctx) {
|
|
4267
4152
|
};
|
4268
4153
|
}
|
4269
4154
|
|
4270
|
-
function create_fragment$
|
4155
|
+
function create_fragment$m(ctx) {
|
4271
4156
|
let each_1_anchor;
|
4272
4157
|
let each_value = /*items*/ ctx[0];
|
4273
4158
|
let each_blocks = [];
|
4274
4159
|
|
4275
4160
|
for (let i = 0; i < each_value.length; i += 1) {
|
4276
|
-
each_blocks[i] = create_each_block$
|
4161
|
+
each_blocks[i] = create_each_block$6(get_each_context$6(ctx, each_value, i));
|
4277
4162
|
}
|
4278
4163
|
|
4279
4164
|
return {
|
@@ -4304,12 +4189,12 @@ function create_fragment$k(ctx) {
|
|
4304
4189
|
let i;
|
4305
4190
|
|
4306
4191
|
for (i = 0; i < each_value.length; i += 1) {
|
4307
|
-
const child_ctx = get_each_context$
|
4192
|
+
const child_ctx = get_each_context$6(ctx, each_value, i);
|
4308
4193
|
|
4309
4194
|
if (each_blocks[i]) {
|
4310
4195
|
each_blocks[i].p(child_ctx, dirty);
|
4311
4196
|
} else {
|
4312
|
-
each_blocks[i] = create_each_block$
|
4197
|
+
each_blocks[i] = create_each_block$6(child_ctx);
|
4313
4198
|
each_blocks[i].c();
|
4314
4199
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
4315
4200
|
}
|
@@ -4333,7 +4218,7 @@ function create_fragment$k(ctx) {
|
|
4333
4218
|
|
4334
4219
|
const regexp = /(\r?\n)/;
|
4335
4220
|
|
4336
|
-
function instance$
|
4221
|
+
function instance$m($$self, $$props, $$invalidate) {
|
4337
4222
|
let items;
|
4338
4223
|
let { text = 'サンプルSample' } = $$props;
|
4339
4224
|
|
@@ -4353,18 +4238,18 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
4353
4238
|
class RenderText extends SvelteComponent {
|
4354
4239
|
constructor(options) {
|
4355
4240
|
super();
|
4356
|
-
init(this, options, instance$
|
4241
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, { text: 1 });
|
4357
4242
|
}
|
4358
4243
|
}
|
4359
4244
|
|
4360
4245
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4361
4246
|
|
4362
|
-
function add_css$
|
4247
|
+
function add_css$l(target) {
|
4363
4248
|
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}");
|
4364
4249
|
}
|
4365
4250
|
|
4366
4251
|
// (56:2) {#if enableCopy}
|
4367
|
-
function create_if_block$
|
4252
|
+
function create_if_block$3(ctx) {
|
4368
4253
|
let div0;
|
4369
4254
|
let t0;
|
4370
4255
|
let t1;
|
@@ -4416,7 +4301,7 @@ function create_if_block$2(ctx) {
|
|
4416
4301
|
};
|
4417
4302
|
}
|
4418
4303
|
|
4419
|
-
function create_fragment$
|
4304
|
+
function create_fragment$l(ctx) {
|
4420
4305
|
let div2;
|
4421
4306
|
let div1;
|
4422
4307
|
let div0;
|
@@ -4427,7 +4312,7 @@ function create_fragment$j(ctx) {
|
|
4427
4312
|
let mounted;
|
4428
4313
|
let dispose;
|
4429
4314
|
rendertext = new RenderText({ props: { text: /*text*/ ctx[0] } });
|
4430
|
-
let if_block = /*enableCopy*/ ctx[1] && create_if_block$
|
4315
|
+
let if_block = /*enableCopy*/ ctx[1] && create_if_block$3(ctx);
|
4431
4316
|
|
4432
4317
|
return {
|
4433
4318
|
c() {
|
@@ -4491,7 +4376,7 @@ function create_fragment$j(ctx) {
|
|
4491
4376
|
if (if_block) {
|
4492
4377
|
if_block.p(ctx, dirty);
|
4493
4378
|
} else {
|
4494
|
-
if_block = create_if_block$
|
4379
|
+
if_block = create_if_block$3(ctx);
|
4495
4380
|
if_block.c();
|
4496
4381
|
if_block.m(div2, null);
|
4497
4382
|
}
|
@@ -4519,7 +4404,7 @@ function create_fragment$j(ctx) {
|
|
4519
4404
|
};
|
4520
4405
|
}
|
4521
4406
|
|
4522
|
-
function instance$
|
4407
|
+
function instance$l($$self, $$props, $$invalidate) {
|
4523
4408
|
let style;
|
4524
4409
|
let { text = 'サンプルSample' } = $$props;
|
4525
4410
|
let { enableCopy = false } = $$props;
|
@@ -4599,8 +4484,8 @@ class TextElement extends SvelteComponent {
|
|
4599
4484
|
init(
|
4600
4485
|
this,
|
4601
4486
|
options,
|
4602
|
-
instance$
|
4603
|
-
create_fragment$
|
4487
|
+
instance$l,
|
4488
|
+
create_fragment$l,
|
4604
4489
|
safe_not_equal,
|
4605
4490
|
{
|
4606
4491
|
text: 0,
|
@@ -4609,18 +4494,18 @@ class TextElement extends SvelteComponent {
|
|
4609
4494
|
textDirection: 2,
|
4610
4495
|
_style: 8
|
4611
4496
|
},
|
4612
|
-
add_css$
|
4497
|
+
add_css$l
|
4613
4498
|
);
|
4614
4499
|
}
|
4615
4500
|
}
|
4616
4501
|
|
4617
4502
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4618
4503
|
|
4619
|
-
function add_css$
|
4504
|
+
function add_css$k(target) {
|
4620
4505
|
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)}");
|
4621
4506
|
}
|
4622
4507
|
|
4623
|
-
function create_fragment$
|
4508
|
+
function create_fragment$k(ctx) {
|
4624
4509
|
let div;
|
4625
4510
|
let button;
|
4626
4511
|
let rendertext;
|
@@ -4709,7 +4594,7 @@ function create_fragment$i(ctx) {
|
|
4709
4594
|
};
|
4710
4595
|
}
|
4711
4596
|
|
4712
|
-
function instance$
|
4597
|
+
function instance$k($$self, $$props, $$invalidate) {
|
4713
4598
|
let disabled;
|
4714
4599
|
let $valuesAreValid;
|
4715
4600
|
let { text = 'ボタンラベル' } = $$props;
|
@@ -4774,8 +4659,8 @@ class TextButtonElement extends SvelteComponent {
|
|
4774
4659
|
init(
|
4775
4660
|
this,
|
4776
4661
|
options,
|
4777
|
-
instance$
|
4778
|
-
create_fragment$
|
4662
|
+
instance$k,
|
4663
|
+
create_fragment$k,
|
4779
4664
|
safe_not_equal,
|
4780
4665
|
{
|
4781
4666
|
text: 0,
|
@@ -4784,18 +4669,18 @@ class TextButtonElement extends SvelteComponent {
|
|
4784
4669
|
_buttonStyle: 1,
|
4785
4670
|
_style: 2
|
4786
4671
|
},
|
4787
|
-
add_css$
|
4672
|
+
add_css$k
|
4788
4673
|
);
|
4789
4674
|
}
|
4790
4675
|
}
|
4791
4676
|
|
4792
4677
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4793
4678
|
|
4794
|
-
function add_css$
|
4679
|
+
function add_css$j(target) {
|
4795
4680
|
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)}");
|
4796
4681
|
}
|
4797
4682
|
|
4798
|
-
function create_fragment$
|
4683
|
+
function create_fragment$j(ctx) {
|
4799
4684
|
let div;
|
4800
4685
|
let img;
|
4801
4686
|
let img_src_value;
|
@@ -4877,7 +4762,7 @@ function create_fragment$h(ctx) {
|
|
4877
4762
|
};
|
4878
4763
|
}
|
4879
4764
|
|
4880
|
-
function instance$
|
4765
|
+
function instance$j($$self, $$props, $$invalidate) {
|
4881
4766
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
4882
4767
|
let { alt = 'No Image' } = $$props;
|
4883
4768
|
let { transport = false } = $$props;
|
@@ -4915,8 +4800,8 @@ class ImageElement extends SvelteComponent {
|
|
4915
4800
|
init(
|
4916
4801
|
this,
|
4917
4802
|
options,
|
4918
|
-
instance$
|
4919
|
-
create_fragment$
|
4803
|
+
instance$j,
|
4804
|
+
create_fragment$j,
|
4920
4805
|
safe_not_equal,
|
4921
4806
|
{
|
4922
4807
|
src: 0,
|
@@ -4927,18 +4812,18 @@ class ImageElement extends SvelteComponent {
|
|
4927
4812
|
_imageStyle: 3,
|
4928
4813
|
_style: 4
|
4929
4814
|
},
|
4930
|
-
add_css$
|
4815
|
+
add_css$j
|
4931
4816
|
);
|
4932
4817
|
}
|
4933
4818
|
}
|
4934
4819
|
|
4935
4820
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
4936
4821
|
|
4937
|
-
function add_css$
|
4822
|
+
function add_css$i(target) {
|
4938
4823
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
4939
4824
|
}
|
4940
4825
|
|
4941
|
-
function create_fragment$
|
4826
|
+
function create_fragment$i(ctx) {
|
4942
4827
|
let div;
|
4943
4828
|
let current;
|
4944
4829
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -5008,7 +4893,7 @@ function create_fragment$g(ctx) {
|
|
5008
4893
|
|
5009
4894
|
const LIST_CONTEXT_KEY = Symbol();
|
5010
4895
|
|
5011
|
-
function instance$
|
4896
|
+
function instance$i($$self, $$props, $$invalidate) {
|
5012
4897
|
let style;
|
5013
4898
|
let { $$slots: slots = {}, $$scope } = $$props;
|
5014
4899
|
let { direction = 'vertical' } = $$props;
|
@@ -5075,8 +4960,8 @@ class List extends SvelteComponent {
|
|
5075
4960
|
init(
|
5076
4961
|
this,
|
5077
4962
|
options,
|
5078
|
-
instance$
|
5079
|
-
create_fragment$
|
4963
|
+
instance$i,
|
4964
|
+
create_fragment$i,
|
5080
4965
|
safe_not_equal,
|
5081
4966
|
{
|
5082
4967
|
direction: 1,
|
@@ -5084,18 +4969,18 @@ class List extends SvelteComponent {
|
|
5084
4969
|
background: 3,
|
5085
4970
|
_style: 4
|
5086
4971
|
},
|
5087
|
-
add_css$
|
4972
|
+
add_css$i
|
5088
4973
|
);
|
5089
4974
|
}
|
5090
4975
|
}
|
5091
4976
|
|
5092
4977
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
5093
4978
|
|
5094
|
-
function add_css$
|
4979
|
+
function add_css$h(target) {
|
5095
4980
|
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}");
|
5096
4981
|
}
|
5097
4982
|
|
5098
|
-
function create_fragment$
|
4983
|
+
function create_fragment$h(ctx) {
|
5099
4984
|
let div1;
|
5100
4985
|
let div0;
|
5101
4986
|
let current;
|
@@ -5189,7 +5074,7 @@ function create_fragment$f(ctx) {
|
|
5189
5074
|
};
|
5190
5075
|
}
|
5191
5076
|
|
5192
|
-
function instance$
|
5077
|
+
function instance$h($$self, $$props, $$invalidate) {
|
5193
5078
|
let click;
|
5194
5079
|
let listItemStyle;
|
5195
5080
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -5279,17 +5164,17 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
5279
5164
|
class ListItem extends SvelteComponent {
|
5280
5165
|
constructor(options) {
|
5281
5166
|
super();
|
5282
|
-
init(this, options, instance$
|
5167
|
+
init(this, options, instance$h, create_fragment$h, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$h);
|
5283
5168
|
}
|
5284
5169
|
}
|
5285
5170
|
|
5286
5171
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
5287
5172
|
|
5288
|
-
function add_css$
|
5173
|
+
function add_css$g(target) {
|
5289
5174
|
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%}");
|
5290
5175
|
}
|
5291
5176
|
|
5292
|
-
function create_fragment$
|
5177
|
+
function create_fragment$g(ctx) {
|
5293
5178
|
let div;
|
5294
5179
|
|
5295
5180
|
return {
|
@@ -5325,7 +5210,7 @@ function create_fragment$e(ctx) {
|
|
5325
5210
|
};
|
5326
5211
|
}
|
5327
5212
|
|
5328
|
-
function instance$
|
5213
|
+
function instance$g($$self, $$props, $$invalidate) {
|
5329
5214
|
let { code } = $$props;
|
5330
5215
|
let { _style = "" } = $$props;
|
5331
5216
|
|
@@ -5340,17 +5225,17 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
5340
5225
|
class EmbedElement extends SvelteComponent {
|
5341
5226
|
constructor(options) {
|
5342
5227
|
super();
|
5343
|
-
init(this, options, instance$
|
5228
|
+
init(this, options, instance$g, create_fragment$g, safe_not_equal, { code: 0, _style: 1 }, add_css$g);
|
5344
5229
|
}
|
5345
5230
|
}
|
5346
5231
|
|
5347
5232
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
5348
5233
|
|
5349
|
-
function add_css$
|
5234
|
+
function add_css$f(target) {
|
5350
5235
|
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%}");
|
5351
5236
|
}
|
5352
5237
|
|
5353
|
-
function create_fragment$
|
5238
|
+
function create_fragment$f(ctx) {
|
5354
5239
|
let div1;
|
5355
5240
|
let div0;
|
5356
5241
|
|
@@ -5392,7 +5277,7 @@ function create_fragment$d(ctx) {
|
|
5392
5277
|
};
|
5393
5278
|
}
|
5394
5279
|
|
5395
|
-
function instance$
|
5280
|
+
function instance$f($$self, $$props, $$invalidate) {
|
5396
5281
|
let $system;
|
5397
5282
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5398
5283
|
let { videoId = "sSgN-L4DU0c" } = $$props;
|
@@ -5571,8 +5456,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5571
5456
|
init(
|
5572
5457
|
this,
|
5573
5458
|
options,
|
5574
|
-
instance$
|
5575
|
-
create_fragment$
|
5459
|
+
instance$f,
|
5460
|
+
create_fragment$f,
|
5576
5461
|
safe_not_equal,
|
5577
5462
|
{
|
5578
5463
|
videoId: 2,
|
@@ -5582,18 +5467,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5582
5467
|
mute: 6,
|
5583
5468
|
_style: 0
|
5584
5469
|
},
|
5585
|
-
add_css$
|
5470
|
+
add_css$f
|
5586
5471
|
);
|
5587
5472
|
}
|
5588
5473
|
}
|
5589
5474
|
|
5590
5475
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5591
5476
|
|
5592
|
-
function add_css$
|
5477
|
+
function add_css$e(target) {
|
5593
5478
|
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%}");
|
5594
5479
|
}
|
5595
5480
|
|
5596
|
-
function create_fragment$
|
5481
|
+
function create_fragment$e(ctx) {
|
5597
5482
|
let div1;
|
5598
5483
|
let div0;
|
5599
5484
|
|
@@ -5635,7 +5520,7 @@ function create_fragment$c(ctx) {
|
|
5635
5520
|
};
|
5636
5521
|
}
|
5637
5522
|
|
5638
|
-
function instance$
|
5523
|
+
function instance$e($$self, $$props, $$invalidate) {
|
5639
5524
|
let $system;
|
5640
5525
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5641
5526
|
let { videoId = "201239468" } = $$props;
|
@@ -5778,8 +5663,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5778
5663
|
init(
|
5779
5664
|
this,
|
5780
5665
|
options,
|
5781
|
-
instance$
|
5782
|
-
create_fragment$
|
5666
|
+
instance$e,
|
5667
|
+
create_fragment$e,
|
5783
5668
|
safe_not_equal,
|
5784
5669
|
{
|
5785
5670
|
videoId: 2,
|
@@ -5789,18 +5674,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5789
5674
|
mute: 6,
|
5790
5675
|
_style: 0
|
5791
5676
|
},
|
5792
|
-
add_css$
|
5677
|
+
add_css$e
|
5793
5678
|
);
|
5794
5679
|
}
|
5795
5680
|
}
|
5796
5681
|
|
5797
5682
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
5798
5683
|
|
5799
|
-
function add_css$
|
5684
|
+
function add_css$d(target) {
|
5800
5685
|
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}");
|
5801
5686
|
}
|
5802
5687
|
|
5803
|
-
function create_fragment$
|
5688
|
+
function create_fragment$d(ctx) {
|
5804
5689
|
let div;
|
5805
5690
|
let textarea;
|
5806
5691
|
let mounted;
|
@@ -5870,7 +5755,7 @@ function create_fragment$b(ctx) {
|
|
5870
5755
|
};
|
5871
5756
|
}
|
5872
5757
|
|
5873
|
-
function instance$
|
5758
|
+
function instance$d($$self, $$props, $$invalidate) {
|
5874
5759
|
let $value;
|
5875
5760
|
let { name = '' } = $$props;
|
5876
5761
|
let { required = true } = $$props;
|
@@ -5911,8 +5796,8 @@ class FormTextarea extends SvelteComponent {
|
|
5911
5796
|
init(
|
5912
5797
|
this,
|
5913
5798
|
options,
|
5914
|
-
instance$
|
5915
|
-
create_fragment$
|
5799
|
+
instance$d,
|
5800
|
+
create_fragment$d,
|
5916
5801
|
safe_not_equal,
|
5917
5802
|
{
|
5918
5803
|
name: 6,
|
@@ -5920,18 +5805,18 @@ class FormTextarea extends SvelteComponent {
|
|
5920
5805
|
rows: 1,
|
5921
5806
|
placeholder: 2
|
5922
5807
|
},
|
5923
|
-
add_css$
|
5808
|
+
add_css$d
|
5924
5809
|
);
|
5925
5810
|
}
|
5926
5811
|
}
|
5927
5812
|
|
5928
5813
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5929
5814
|
|
5930
|
-
function add_css$
|
5815
|
+
function add_css$c(target) {
|
5931
5816
|
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}");
|
5932
5817
|
}
|
5933
5818
|
|
5934
|
-
function get_each_context$
|
5819
|
+
function get_each_context$5(ctx, list, i) {
|
5935
5820
|
const child_ctx = ctx.slice();
|
5936
5821
|
child_ctx[15] = list[i];
|
5937
5822
|
child_ctx[17] = i;
|
@@ -5939,7 +5824,7 @@ function get_each_context$4(ctx, list, i) {
|
|
5939
5824
|
}
|
5940
5825
|
|
5941
5826
|
// (88:2) {#each _options as option, i}
|
5942
|
-
function create_each_block$
|
5827
|
+
function create_each_block$5(ctx) {
|
5943
5828
|
let label;
|
5944
5829
|
let input;
|
5945
5830
|
let input_value_value;
|
@@ -6039,13 +5924,13 @@ function create_each_block$4(ctx) {
|
|
6039
5924
|
};
|
6040
5925
|
}
|
6041
5926
|
|
6042
|
-
function create_fragment$
|
5927
|
+
function create_fragment$c(ctx) {
|
6043
5928
|
let div;
|
6044
5929
|
let each_value = /*_options*/ ctx[4];
|
6045
5930
|
let each_blocks = [];
|
6046
5931
|
|
6047
5932
|
for (let i = 0; i < each_value.length; i += 1) {
|
6048
|
-
each_blocks[i] = create_each_block$
|
5933
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
6049
5934
|
}
|
6050
5935
|
|
6051
5936
|
return {
|
@@ -6086,12 +5971,12 @@ function create_fragment$a(ctx) {
|
|
6086
5971
|
let i;
|
6087
5972
|
|
6088
5973
|
for (i = 0; i < each_value.length; i += 1) {
|
6089
|
-
const child_ctx = get_each_context$
|
5974
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
6090
5975
|
|
6091
5976
|
if (each_blocks[i]) {
|
6092
5977
|
each_blocks[i].p(child_ctx, dirty);
|
6093
5978
|
} else {
|
6094
|
-
each_blocks[i] = create_each_block$
|
5979
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
6095
5980
|
each_blocks[i].c();
|
6096
5981
|
each_blocks[i].m(div, null);
|
6097
5982
|
}
|
@@ -6117,7 +6002,7 @@ function create_fragment$a(ctx) {
|
|
6117
6002
|
};
|
6118
6003
|
}
|
6119
6004
|
|
6120
|
-
function instance$
|
6005
|
+
function instance$c($$self, $$props, $$invalidate) {
|
6121
6006
|
let _options;
|
6122
6007
|
let buttonStyle;
|
6123
6008
|
let _value;
|
@@ -6208,8 +6093,8 @@ class FormRadioButtons extends SvelteComponent {
|
|
6208
6093
|
init(
|
6209
6094
|
this,
|
6210
6095
|
options,
|
6211
|
-
instance$
|
6212
|
-
create_fragment$
|
6096
|
+
instance$c,
|
6097
|
+
create_fragment$c,
|
6213
6098
|
safe_not_equal,
|
6214
6099
|
{
|
6215
6100
|
name: 0,
|
@@ -6221,25 +6106,25 @@ class FormRadioButtons extends SvelteComponent {
|
|
6221
6106
|
buttonColor: 11,
|
6222
6107
|
buttonColorActive: 12
|
6223
6108
|
},
|
6224
|
-
add_css$
|
6109
|
+
add_css$c
|
6225
6110
|
);
|
6226
6111
|
}
|
6227
6112
|
}
|
6228
6113
|
|
6229
6114
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
6230
6115
|
|
6231
|
-
function add_css$
|
6232
|
-
append_styles(target, "svelte-
|
6116
|
+
function add_css$b(target) {
|
6117
|
+
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}");
|
6233
6118
|
}
|
6234
6119
|
|
6235
|
-
function get_each_context$
|
6120
|
+
function get_each_context$4(ctx, list, i) {
|
6236
6121
|
const child_ctx = ctx.slice();
|
6237
|
-
child_ctx[
|
6238
|
-
child_ctx[
|
6122
|
+
child_ctx[18] = list[i];
|
6123
|
+
child_ctx[20] = i;
|
6239
6124
|
return child_ctx;
|
6240
6125
|
}
|
6241
6126
|
|
6242
|
-
// (
|
6127
|
+
// (100:10) {:else}
|
6243
6128
|
function create_else_block(ctx) {
|
6244
6129
|
let t;
|
6245
6130
|
|
@@ -6262,9 +6147,9 @@ function create_else_block(ctx) {
|
|
6262
6147
|
};
|
6263
6148
|
}
|
6264
6149
|
|
6265
|
-
// (
|
6266
|
-
function create_if_block$
|
6267
|
-
let t_value = /*option*/ ctx[
|
6150
|
+
// (98:10) {#if option}
|
6151
|
+
function create_if_block$2(ctx) {
|
6152
|
+
let t_value = /*option*/ ctx[18] + "";
|
6268
6153
|
let t;
|
6269
6154
|
|
6270
6155
|
return {
|
@@ -6278,7 +6163,7 @@ function create_if_block$1(ctx) {
|
|
6278
6163
|
insert_hydration(target, t, anchor);
|
6279
6164
|
},
|
6280
6165
|
p(ctx, dirty) {
|
6281
|
-
if (dirty & /*_options*/ 16 && t_value !== (t_value = /*option*/ ctx[
|
6166
|
+
if (dirty & /*_options*/ 16 && t_value !== (t_value = /*option*/ ctx[18] + "")) set_data(t, t_value);
|
6282
6167
|
},
|
6283
6168
|
d(detaching) {
|
6284
6169
|
if (detaching) detach(t);
|
@@ -6286,15 +6171,15 @@ function create_if_block$1(ctx) {
|
|
6286
6171
|
};
|
6287
6172
|
}
|
6288
6173
|
|
6289
|
-
// (
|
6290
|
-
function create_each_block$
|
6174
|
+
// (96:6) {#each _options as option, i}
|
6175
|
+
function create_each_block$4(ctx) {
|
6291
6176
|
let option;
|
6292
6177
|
let t;
|
6293
6178
|
let option_value_value;
|
6294
6179
|
let option_selected_value;
|
6295
6180
|
|
6296
6181
|
function select_block_type(ctx, dirty) {
|
6297
|
-
if (/*option*/ ctx[
|
6182
|
+
if (/*option*/ ctx[18]) return create_if_block$2;
|
6298
6183
|
return create_else_block;
|
6299
6184
|
}
|
6300
6185
|
|
@@ -6317,9 +6202,9 @@ function create_each_block$3(ctx) {
|
|
6317
6202
|
this.h();
|
6318
6203
|
},
|
6319
6204
|
h() {
|
6320
|
-
option.__value = option_value_value = /*option*/ ctx[
|
6205
|
+
option.__value = option_value_value = /*option*/ ctx[18];
|
6321
6206
|
option.value = option.__value;
|
6322
|
-
option.selected = option_selected_value = /*option*/ ctx[
|
6207
|
+
option.selected = option_selected_value = /*option*/ ctx[18] === /*_value*/ ctx[1];
|
6323
6208
|
},
|
6324
6209
|
m(target, anchor) {
|
6325
6210
|
insert_hydration(target, option, anchor);
|
@@ -6339,12 +6224,12 @@ function create_each_block$3(ctx) {
|
|
6339
6224
|
}
|
6340
6225
|
}
|
6341
6226
|
|
6342
|
-
if (dirty & /*_options*/ 16 && option_value_value !== (option_value_value = /*option*/ ctx[
|
6227
|
+
if (dirty & /*_options*/ 16 && option_value_value !== (option_value_value = /*option*/ ctx[18])) {
|
6343
6228
|
option.__value = option_value_value;
|
6344
6229
|
option.value = option.__value;
|
6345
6230
|
}
|
6346
6231
|
|
6347
|
-
if (dirty & /*_options, _value*/ 18 && option_selected_value !== (option_selected_value = /*option*/ ctx[
|
6232
|
+
if (dirty & /*_options, _value*/ 18 && option_selected_value !== (option_selected_value = /*option*/ ctx[18] === /*_value*/ ctx[1])) {
|
6348
6233
|
option.selected = option_selected_value;
|
6349
6234
|
}
|
6350
6235
|
},
|
@@ -6355,7 +6240,7 @@ function create_each_block$3(ctx) {
|
|
6355
6240
|
};
|
6356
6241
|
}
|
6357
6242
|
|
6358
|
-
function create_fragment$
|
6243
|
+
function create_fragment$b(ctx) {
|
6359
6244
|
let div1;
|
6360
6245
|
let select;
|
6361
6246
|
let t;
|
@@ -6366,7 +6251,7 @@ function create_fragment$9(ctx) {
|
|
6366
6251
|
let each_blocks = [];
|
6367
6252
|
|
6368
6253
|
for (let i = 0; i < each_value.length; i += 1) {
|
6369
|
-
each_blocks[i] = create_each_block$
|
6254
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
6370
6255
|
}
|
6371
6256
|
|
6372
6257
|
return {
|
@@ -6400,10 +6285,10 @@ function create_fragment$9(ctx) {
|
|
6400
6285
|
this.h();
|
6401
6286
|
},
|
6402
6287
|
h() {
|
6403
|
-
attr(select, "class", "select-select svelte-
|
6288
|
+
attr(select, "class", "select-select svelte-1n4ag74");
|
6404
6289
|
attr(select, "style", /*style*/ ctx[3]);
|
6405
|
-
attr(div0, "class", "select-icon svelte-
|
6406
|
-
attr(div1, "class", "select svelte-
|
6290
|
+
attr(div0, "class", "select-icon svelte-1n4ag74");
|
6291
|
+
attr(div1, "class", "select svelte-1n4ag74");
|
6407
6292
|
attr(div1, "style", /*styleVariables*/ ctx[2]);
|
6408
6293
|
},
|
6409
6294
|
m(target, anchor) {
|
@@ -6428,12 +6313,12 @@ function create_fragment$9(ctx) {
|
|
6428
6313
|
let i;
|
6429
6314
|
|
6430
6315
|
for (i = 0; i < each_value.length; i += 1) {
|
6431
|
-
const child_ctx = get_each_context$
|
6316
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
6432
6317
|
|
6433
6318
|
if (each_blocks[i]) {
|
6434
6319
|
each_blocks[i].p(child_ctx, dirty);
|
6435
6320
|
} else {
|
6436
|
-
each_blocks[i] = create_each_block$
|
6321
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
6437
6322
|
each_blocks[i].c();
|
6438
6323
|
each_blocks[i].m(select, null);
|
6439
6324
|
}
|
@@ -6465,7 +6350,7 @@ function create_fragment$9(ctx) {
|
|
6465
6350
|
};
|
6466
6351
|
}
|
6467
6352
|
|
6468
|
-
function instance$
|
6353
|
+
function instance$b($$self, $$props, $$invalidate) {
|
6469
6354
|
let _options;
|
6470
6355
|
let style;
|
6471
6356
|
let styleVariables;
|
@@ -6479,7 +6364,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6479
6364
|
let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
|
6480
6365
|
let { _textStyle = 'font-size: 12px;' } = $$props;
|
6481
6366
|
let { _placeholderStyle = 'color: #ccc;' } = $$props;
|
6482
|
-
let {
|
6367
|
+
let { iconColor = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
6368
|
+
let { iconSize = '12px' } = $$props;
|
6483
6369
|
const { path: statePath } = getStateItemContext();
|
6484
6370
|
|
6485
6371
|
const value = registerInput({
|
@@ -6492,7 +6378,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6492
6378
|
}
|
6493
6379
|
});
|
6494
6380
|
|
6495
|
-
component_subscribe($$self, value, value => $$invalidate(
|
6381
|
+
component_subscribe($$self, value, value => $$invalidate(16, $value = value));
|
6496
6382
|
|
6497
6383
|
function handleChange(event) {
|
6498
6384
|
const updated = event.target.value ? [event.target.value] : [];
|
@@ -6508,7 +6394,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6508
6394
|
if ('_focusStyle' in $$props) $$invalidate(11, _focusStyle = $$props._focusStyle);
|
6509
6395
|
if ('_textStyle' in $$props) $$invalidate(12, _textStyle = $$props._textStyle);
|
6510
6396
|
if ('_placeholderStyle' in $$props) $$invalidate(13, _placeholderStyle = $$props._placeholderStyle);
|
6511
|
-
if ('
|
6397
|
+
if ('iconColor' in $$props) $$invalidate(14, iconColor = $$props.iconColor);
|
6398
|
+
if ('iconSize' in $$props) $$invalidate(15, iconSize = $$props.iconSize);
|
6512
6399
|
};
|
6513
6400
|
|
6514
6401
|
$$self.$$.update = () => {
|
@@ -6516,7 +6403,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6516
6403
|
$$invalidate(4, _options = ['', ...options.split(',')]);
|
6517
6404
|
}
|
6518
6405
|
|
6519
|
-
if ($$self.$$.dirty & /*$value*/
|
6406
|
+
if ($$self.$$.dirty & /*$value*/ 65536) {
|
6520
6407
|
$$invalidate(1, _value = $value[0]);
|
6521
6408
|
}
|
6522
6409
|
|
@@ -6528,17 +6415,17 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6528
6415
|
].join(';'));
|
6529
6416
|
}
|
6530
6417
|
|
6531
|
-
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle,
|
6418
|
+
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle, iconColor, iconSize*/ 59392) {
|
6532
6419
|
$$invalidate(2, styleVariables = (() => {
|
6533
6420
|
const variables = {};
|
6534
6421
|
const focusStyleObj = parseStyle(_focusStyle);
|
6535
6422
|
const placeholderStyle = parseStyle(_placeholderStyle);
|
6536
|
-
const iconStyleObj = parseStyle(_iconStyle);
|
6537
6423
|
if (focusStyleObj['border-width']) variables['--focus-border-width'] = focusStyleObj['border-width'];
|
6538
6424
|
if (focusStyleObj['border-color']) variables['--focus-border-color'] = focusStyleObj['border-color'];
|
6539
6425
|
if (focusStyleObj['border-style']) variables['--focus-border-style'] = focusStyleObj['border-style'];
|
6540
6426
|
if (placeholderStyle.color) variables['--placeholder-color'] = placeholderStyle.color;
|
6541
|
-
|
6427
|
+
variables['--icon-color'] = iconColor;
|
6428
|
+
variables['--icon-size'] = iconSize;
|
6542
6429
|
return stringifyStyleObj(variables);
|
6543
6430
|
})());
|
6544
6431
|
}
|
@@ -6559,7 +6446,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
6559
6446
|
_focusStyle,
|
6560
6447
|
_textStyle,
|
6561
6448
|
_placeholderStyle,
|
6562
|
-
|
6449
|
+
iconColor,
|
6450
|
+
iconSize,
|
6563
6451
|
$value
|
6564
6452
|
];
|
6565
6453
|
}
|
@@ -6571,8 +6459,8 @@ class FormSelect extends SvelteComponent {
|
|
6571
6459
|
init(
|
6572
6460
|
this,
|
6573
6461
|
options,
|
6574
|
-
instance$
|
6575
|
-
create_fragment$
|
6462
|
+
instance$b,
|
6463
|
+
create_fragment$b,
|
6576
6464
|
safe_not_equal,
|
6577
6465
|
{
|
6578
6466
|
name: 7,
|
@@ -6583,20 +6471,21 @@ class FormSelect extends SvelteComponent {
|
|
6583
6471
|
_focusStyle: 11,
|
6584
6472
|
_textStyle: 12,
|
6585
6473
|
_placeholderStyle: 13,
|
6586
|
-
|
6474
|
+
iconColor: 14,
|
6475
|
+
iconSize: 15
|
6587
6476
|
},
|
6588
|
-
add_css$
|
6477
|
+
add_css$b
|
6589
6478
|
);
|
6590
6479
|
}
|
6591
6480
|
}
|
6592
6481
|
|
6593
6482
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6594
6483
|
|
6595
|
-
function add_css$
|
6484
|
+
function add_css$a(target) {
|
6596
6485
|
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}");
|
6597
6486
|
}
|
6598
6487
|
|
6599
|
-
function get_each_context$
|
6488
|
+
function get_each_context$3(ctx, list, i) {
|
6600
6489
|
const child_ctx = ctx.slice();
|
6601
6490
|
child_ctx[15] = list[i];
|
6602
6491
|
child_ctx[17] = i;
|
@@ -6604,7 +6493,7 @@ function get_each_context$2(ctx, list, i) {
|
|
6604
6493
|
}
|
6605
6494
|
|
6606
6495
|
// (94:2) {#each _options as option, i}
|
6607
|
-
function create_each_block$
|
6496
|
+
function create_each_block$3(ctx) {
|
6608
6497
|
let label;
|
6609
6498
|
let input;
|
6610
6499
|
let input_checked_value;
|
@@ -6720,13 +6609,13 @@ function create_each_block$2(ctx) {
|
|
6720
6609
|
};
|
6721
6610
|
}
|
6722
6611
|
|
6723
|
-
function create_fragment$
|
6612
|
+
function create_fragment$a(ctx) {
|
6724
6613
|
let div;
|
6725
6614
|
let each_value = /*_options*/ ctx[3];
|
6726
6615
|
let each_blocks = [];
|
6727
6616
|
|
6728
6617
|
for (let i = 0; i < each_value.length; i += 1) {
|
6729
|
-
each_blocks[i] = create_each_block$
|
6618
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
6730
6619
|
}
|
6731
6620
|
|
6732
6621
|
return {
|
@@ -6767,12 +6656,12 @@ function create_fragment$8(ctx) {
|
|
6767
6656
|
let i;
|
6768
6657
|
|
6769
6658
|
for (i = 0; i < each_value.length; i += 1) {
|
6770
|
-
const child_ctx = get_each_context$
|
6659
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
6771
6660
|
|
6772
6661
|
if (each_blocks[i]) {
|
6773
6662
|
each_blocks[i].p(child_ctx, dirty);
|
6774
6663
|
} else {
|
6775
|
-
each_blocks[i] = create_each_block$
|
6664
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
6776
6665
|
each_blocks[i].c();
|
6777
6666
|
each_blocks[i].m(div, null);
|
6778
6667
|
}
|
@@ -6798,7 +6687,7 @@ function create_fragment$8(ctx) {
|
|
6798
6687
|
};
|
6799
6688
|
}
|
6800
6689
|
|
6801
|
-
function instance$
|
6690
|
+
function instance$a($$self, $$props, $$invalidate) {
|
6802
6691
|
let _options;
|
6803
6692
|
let styleVariables;
|
6804
6693
|
let isCheckedArray;
|
@@ -6895,8 +6784,8 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6895
6784
|
init(
|
6896
6785
|
this,
|
6897
6786
|
options,
|
6898
|
-
instance$
|
6899
|
-
create_fragment$
|
6787
|
+
instance$a,
|
6788
|
+
create_fragment$a,
|
6900
6789
|
safe_not_equal,
|
6901
6790
|
{
|
6902
6791
|
name: 0,
|
@@ -6908,25 +6797,25 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6908
6797
|
buttonColor: 11,
|
6909
6798
|
buttonColorActive: 12
|
6910
6799
|
},
|
6911
|
-
add_css$
|
6800
|
+
add_css$a
|
6912
6801
|
);
|
6913
6802
|
}
|
6914
6803
|
}
|
6915
6804
|
|
6916
6805
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
6917
6806
|
|
6918
|
-
function add_css$
|
6807
|
+
function add_css$9(target) {
|
6919
6808
|
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}");
|
6920
6809
|
}
|
6921
6810
|
|
6922
|
-
function get_each_context$
|
6811
|
+
function get_each_context$2(ctx, list, i) {
|
6923
6812
|
const child_ctx = ctx.slice();
|
6924
6813
|
child_ctx[11] = list[i];
|
6925
6814
|
return child_ctx;
|
6926
6815
|
}
|
6927
6816
|
|
6928
6817
|
// (50:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6929
|
-
function create_each_block$
|
6818
|
+
function create_each_block$2(ctx) {
|
6930
6819
|
let div;
|
6931
6820
|
let t0_value = /*i*/ ctx[11] + "";
|
6932
6821
|
let t0;
|
@@ -6983,13 +6872,13 @@ function create_each_block$1(ctx) {
|
|
6983
6872
|
};
|
6984
6873
|
}
|
6985
6874
|
|
6986
|
-
function create_fragment$
|
6875
|
+
function create_fragment$9(ctx) {
|
6987
6876
|
let div;
|
6988
|
-
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6877
|
+
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6989
6878
|
let each_blocks = [];
|
6990
6879
|
|
6991
6880
|
for (let i = 0; i < each_value.length; i += 1) {
|
6992
|
-
each_blocks[i] = create_each_block$
|
6881
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
6993
6882
|
}
|
6994
6883
|
|
6995
6884
|
return {
|
@@ -7025,16 +6914,16 @@ function create_fragment$7(ctx) {
|
|
7025
6914
|
},
|
7026
6915
|
p(ctx, [dirty]) {
|
7027
6916
|
if (dirty & /*getTextButtonStyle, Array, count, _value, handleClick*/ 27) {
|
7028
|
-
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6917
|
+
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
7029
6918
|
let i;
|
7030
6919
|
|
7031
6920
|
for (i = 0; i < each_value.length; i += 1) {
|
7032
|
-
const child_ctx = get_each_context$
|
6921
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
7033
6922
|
|
7034
6923
|
if (each_blocks[i]) {
|
7035
6924
|
each_blocks[i].p(child_ctx, dirty);
|
7036
6925
|
} else {
|
7037
|
-
each_blocks[i] = create_each_block$
|
6926
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
7038
6927
|
each_blocks[i].c();
|
7039
6928
|
each_blocks[i].m(div, null);
|
7040
6929
|
}
|
@@ -7056,9 +6945,9 @@ function create_fragment$7(ctx) {
|
|
7056
6945
|
};
|
7057
6946
|
}
|
7058
6947
|
|
7059
|
-
const func = i => i + 1;
|
6948
|
+
const func$1 = i => i + 1;
|
7060
6949
|
|
7061
|
-
function instance$
|
6950
|
+
function instance$9($$self, $$props, $$invalidate) {
|
7062
6951
|
let _value;
|
7063
6952
|
let $value;
|
7064
6953
|
let { name = '' } = $$props;
|
@@ -7125,8 +7014,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
7125
7014
|
init(
|
7126
7015
|
this,
|
7127
7016
|
options,
|
7128
|
-
instance$
|
7129
|
-
create_fragment$
|
7017
|
+
instance$9,
|
7018
|
+
create_fragment$9,
|
7130
7019
|
safe_not_equal,
|
7131
7020
|
{
|
7132
7021
|
name: 5,
|
@@ -7135,14 +7024,218 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
7135
7024
|
buttonStyle: 7,
|
7136
7025
|
buttonActiveStyle: 8
|
7137
7026
|
},
|
7138
|
-
add_css$
|
7027
|
+
add_css$9
|
7139
7028
|
);
|
7140
7029
|
}
|
7141
7030
|
}
|
7142
7031
|
|
7032
|
+
/* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
|
7033
|
+
|
7034
|
+
function add_css$8(target) {
|
7035
|
+
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%)}");
|
7036
|
+
}
|
7037
|
+
|
7038
|
+
function get_each_context$1(ctx, list, i) {
|
7039
|
+
const child_ctx = ctx.slice();
|
7040
|
+
child_ctx[10] = list[i];
|
7041
|
+
return child_ctx;
|
7042
|
+
}
|
7043
|
+
|
7044
|
+
// (42:2) {#each [...Array(count).keys()].reverse().map(i => i + 1) as i}
|
7045
|
+
function create_each_block$1(ctx) {
|
7046
|
+
let img;
|
7047
|
+
let img_src_value;
|
7048
|
+
let img_class_value;
|
7049
|
+
let mounted;
|
7050
|
+
let dispose;
|
7051
|
+
|
7052
|
+
return {
|
7053
|
+
c() {
|
7054
|
+
img = element("img");
|
7055
|
+
this.h();
|
7056
|
+
},
|
7057
|
+
l(nodes) {
|
7058
|
+
img = claim_element(nodes, "IMG", {
|
7059
|
+
src: true,
|
7060
|
+
class: true,
|
7061
|
+
style: true,
|
7062
|
+
alt: true
|
7063
|
+
});
|
7064
|
+
|
7065
|
+
this.h();
|
7066
|
+
},
|
7067
|
+
h() {
|
7068
|
+
if (!src_url_equal(img.src, img_src_value = /*ICONS*/ ctx[2][/*i*/ ctx[10]])) attr(img, "src", img_src_value);
|
7069
|
+
attr(img, "class", img_class_value = "" + (null_to_empty(`rating-button${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-12ew9od"));
|
7070
|
+
attr(img, "style", /*buttonStyle*/ ctx[0]);
|
7071
|
+
attr(img, "alt", "rate" + /*i*/ ctx[10]);
|
7072
|
+
},
|
7073
|
+
m(target, anchor) {
|
7074
|
+
insert_hydration(target, img, anchor);
|
7075
|
+
|
7076
|
+
if (!mounted) {
|
7077
|
+
dispose = listen(img, "click", /*handleClick*/ ctx[4](/*i*/ ctx[10]));
|
7078
|
+
mounted = true;
|
7079
|
+
}
|
7080
|
+
},
|
7081
|
+
p(new_ctx, dirty) {
|
7082
|
+
ctx = new_ctx;
|
7083
|
+
|
7084
|
+
if (dirty & /*_value*/ 2 && img_class_value !== (img_class_value = "" + (null_to_empty(`rating-button${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-12ew9od"))) {
|
7085
|
+
attr(img, "class", img_class_value);
|
7086
|
+
}
|
7087
|
+
|
7088
|
+
if (dirty & /*buttonStyle*/ 1) {
|
7089
|
+
attr(img, "style", /*buttonStyle*/ ctx[0]);
|
7090
|
+
}
|
7091
|
+
},
|
7092
|
+
d(detaching) {
|
7093
|
+
if (detaching) detach(img);
|
7094
|
+
mounted = false;
|
7095
|
+
dispose();
|
7096
|
+
}
|
7097
|
+
};
|
7098
|
+
}
|
7099
|
+
|
7100
|
+
function create_fragment$8(ctx) {
|
7101
|
+
let div;
|
7102
|
+
let each_value = [...Array(count).keys()].reverse().map(func);
|
7103
|
+
let each_blocks = [];
|
7104
|
+
|
7105
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
7106
|
+
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
|
7107
|
+
}
|
7108
|
+
|
7109
|
+
return {
|
7110
|
+
c() {
|
7111
|
+
div = element("div");
|
7112
|
+
|
7113
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
7114
|
+
each_blocks[i].c();
|
7115
|
+
}
|
7116
|
+
|
7117
|
+
this.h();
|
7118
|
+
},
|
7119
|
+
l(nodes) {
|
7120
|
+
div = claim_element(nodes, "DIV", { class: true });
|
7121
|
+
var div_nodes = children(div);
|
7122
|
+
|
7123
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
7124
|
+
each_blocks[i].l(div_nodes);
|
7125
|
+
}
|
7126
|
+
|
7127
|
+
div_nodes.forEach(detach);
|
7128
|
+
this.h();
|
7129
|
+
},
|
7130
|
+
h() {
|
7131
|
+
attr(div, "class", "rating-buttons svelte-12ew9od");
|
7132
|
+
},
|
7133
|
+
m(target, anchor) {
|
7134
|
+
insert_hydration(target, div, anchor);
|
7135
|
+
|
7136
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
7137
|
+
each_blocks[i].m(div, null);
|
7138
|
+
}
|
7139
|
+
},
|
7140
|
+
p(ctx, [dirty]) {
|
7141
|
+
if (dirty & /*ICONS, Array, count, _value, buttonStyle, handleClick*/ 23) {
|
7142
|
+
each_value = [...Array(count).keys()].reverse().map(func);
|
7143
|
+
let i;
|
7144
|
+
|
7145
|
+
for (i = 0; i < each_value.length; i += 1) {
|
7146
|
+
const child_ctx = get_each_context$1(ctx, each_value, i);
|
7147
|
+
|
7148
|
+
if (each_blocks[i]) {
|
7149
|
+
each_blocks[i].p(child_ctx, dirty);
|
7150
|
+
} else {
|
7151
|
+
each_blocks[i] = create_each_block$1(child_ctx);
|
7152
|
+
each_blocks[i].c();
|
7153
|
+
each_blocks[i].m(div, null);
|
7154
|
+
}
|
7155
|
+
}
|
7156
|
+
|
7157
|
+
for (; i < each_blocks.length; i += 1) {
|
7158
|
+
each_blocks[i].d(1);
|
7159
|
+
}
|
7160
|
+
|
7161
|
+
each_blocks.length = each_value.length;
|
7162
|
+
}
|
7163
|
+
},
|
7164
|
+
i: noop,
|
7165
|
+
o: noop,
|
7166
|
+
d(detaching) {
|
7167
|
+
if (detaching) detach(div);
|
7168
|
+
destroy_each(each_blocks, detaching);
|
7169
|
+
}
|
7170
|
+
};
|
7171
|
+
}
|
7172
|
+
|
7173
|
+
const count = 5;
|
7174
|
+
const func = i => i + 1;
|
7175
|
+
|
7176
|
+
function instance$8($$self, $$props, $$invalidate) {
|
7177
|
+
let _value;
|
7178
|
+
let buttonStyle;
|
7179
|
+
let $value;
|
7180
|
+
let { name = '' } = $$props;
|
7181
|
+
let { required = false } = $$props;
|
7182
|
+
let { size = '24px' } = $$props;
|
7183
|
+
|
7184
|
+
const ICONS = {
|
7185
|
+
1: 'https://img-cf.karte.io/image/6405a118a6a55b00118b7d15::5%201.png',
|
7186
|
+
2: 'https://img-cf.karte.io/image/6405a118af861f001115e02e::4%201.png',
|
7187
|
+
3: 'https://img-cf.karte.io/image/6405a118bbff9500111a1e51::3%203.png',
|
7188
|
+
4: 'https://img-cf.karte.io/image/6405a1189524cb00118a1e06::2%208.png',
|
7189
|
+
5: 'https://img-cf.karte.io/image/6405a1183021790011d39bde::1.png'
|
7190
|
+
};
|
7191
|
+
|
7192
|
+
const { path: statePath } = getStateItemContext();
|
7193
|
+
|
7194
|
+
const value = registerInput({
|
7195
|
+
name,
|
7196
|
+
statePath,
|
7197
|
+
initialValue: [],
|
7198
|
+
validator(value) {
|
7199
|
+
if (!required) return true;
|
7200
|
+
return value.length > 0;
|
7201
|
+
}
|
7202
|
+
});
|
7203
|
+
|
7204
|
+
component_subscribe($$self, value, value => $$invalidate(8, $value = value));
|
7205
|
+
|
7206
|
+
const handleClick = index => event => {
|
7207
|
+
value.set([String(index)]);
|
7208
|
+
};
|
7209
|
+
|
7210
|
+
$$self.$$set = $$props => {
|
7211
|
+
if ('name' in $$props) $$invalidate(5, name = $$props.name);
|
7212
|
+
if ('required' in $$props) $$invalidate(6, required = $$props.required);
|
7213
|
+
if ('size' in $$props) $$invalidate(7, size = $$props.size);
|
7214
|
+
};
|
7215
|
+
|
7216
|
+
$$self.$$.update = () => {
|
7217
|
+
if ($$self.$$.dirty & /*$value*/ 256) {
|
7218
|
+
$$invalidate(1, _value = Number($value[0] ?? -1));
|
7219
|
+
}
|
7220
|
+
|
7221
|
+
if ($$self.$$.dirty & /*size*/ 128) {
|
7222
|
+
$$invalidate(0, buttonStyle = `width: ${size}; height: ${size}`);
|
7223
|
+
}
|
7224
|
+
};
|
7225
|
+
|
7226
|
+
return [buttonStyle, _value, ICONS, value, handleClick, name, required, size, $value];
|
7227
|
+
}
|
7228
|
+
|
7229
|
+
class FormRatingButtonsFace extends SvelteComponent {
|
7230
|
+
constructor(options) {
|
7231
|
+
super();
|
7232
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$8);
|
7233
|
+
}
|
7234
|
+
}
|
7235
|
+
|
7143
7236
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
7144
7237
|
|
7145
|
-
function add_css$
|
7238
|
+
function add_css$7(target) {
|
7146
7239
|
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%}");
|
7147
7240
|
}
|
7148
7241
|
|
@@ -7222,7 +7315,7 @@ function create_if_block_1(ctx) {
|
|
7222
7315
|
}
|
7223
7316
|
|
7224
7317
|
// (358:2) {#if isVisibleNextButton}
|
7225
|
-
function create_if_block(ctx) {
|
7318
|
+
function create_if_block$1(ctx) {
|
7226
7319
|
let div1;
|
7227
7320
|
let div0;
|
7228
7321
|
let svg;
|
@@ -7353,7 +7446,7 @@ function create_each_block(ctx) {
|
|
7353
7446
|
};
|
7354
7447
|
}
|
7355
7448
|
|
7356
|
-
function create_fragment$
|
7449
|
+
function create_fragment$7(ctx) {
|
7357
7450
|
let div3;
|
7358
7451
|
let div1;
|
7359
7452
|
let div0;
|
@@ -7366,7 +7459,7 @@ function create_fragment$6(ctx) {
|
|
7366
7459
|
const default_slot_template = /*#slots*/ ctx[31].default;
|
7367
7460
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[30], null);
|
7368
7461
|
let if_block0 = /*isVisiblePrevButton*/ ctx[11] && create_if_block_1(ctx);
|
7369
|
-
let if_block1 = /*isVisibleNextButton*/ ctx[10] && create_if_block(ctx);
|
7462
|
+
let if_block1 = /*isVisibleNextButton*/ ctx[10] && create_if_block$1(ctx);
|
7370
7463
|
let each_value = /*items*/ ctx[0];
|
7371
7464
|
let each_blocks = [];
|
7372
7465
|
|
@@ -7492,7 +7585,7 @@ function create_fragment$6(ctx) {
|
|
7492
7585
|
if (if_block1) {
|
7493
7586
|
if_block1.p(ctx, dirty);
|
7494
7587
|
} else {
|
7495
|
-
if_block1 = create_if_block(ctx);
|
7588
|
+
if_block1 = create_if_block$1(ctx);
|
7496
7589
|
if_block1.c();
|
7497
7590
|
if_block1.m(div3, t2);
|
7498
7591
|
}
|
@@ -7561,7 +7654,7 @@ function calcPositionIndex(shift, index, length) {
|
|
7561
7654
|
}
|
7562
7655
|
}
|
7563
7656
|
|
7564
|
-
function instance$
|
7657
|
+
function instance$7($$self, $$props, $$invalidate) {
|
7565
7658
|
let slideStyle;
|
7566
7659
|
let slideClass;
|
7567
7660
|
let _loop;
|
@@ -7995,8 +8088,8 @@ class Slide extends SvelteComponent {
|
|
7995
8088
|
init(
|
7996
8089
|
this,
|
7997
8090
|
options,
|
7998
|
-
instance$
|
7999
|
-
create_fragment$
|
8091
|
+
instance$7,
|
8092
|
+
create_fragment$7,
|
8000
8093
|
safe_not_equal,
|
8001
8094
|
{
|
8002
8095
|
loop: 17,
|
@@ -8009,7 +8102,7 @@ class Slide extends SvelteComponent {
|
|
8009
8102
|
navigationButton: 24,
|
8010
8103
|
navigationEdgePosition: 25
|
8011
8104
|
},
|
8012
|
-
add_css$
|
8105
|
+
add_css$7,
|
8013
8106
|
[-1, -1]
|
8014
8107
|
);
|
8015
8108
|
}
|
@@ -8017,11 +8110,11 @@ class Slide extends SvelteComponent {
|
|
8017
8110
|
|
8018
8111
|
/* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
|
8019
8112
|
|
8020
|
-
function add_css$
|
8113
|
+
function add_css$6(target) {
|
8021
8114
|
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}");
|
8022
8115
|
}
|
8023
8116
|
|
8024
|
-
function create_fragment$
|
8117
|
+
function create_fragment$6(ctx) {
|
8025
8118
|
let div1;
|
8026
8119
|
let div0;
|
8027
8120
|
let current;
|
@@ -8101,7 +8194,7 @@ function create_fragment$5(ctx) {
|
|
8101
8194
|
};
|
8102
8195
|
}
|
8103
8196
|
|
8104
|
-
function instance$
|
8197
|
+
function instance$6($$self, $$props, $$invalidate) {
|
8105
8198
|
let itemStyle;
|
8106
8199
|
let { $$slots: slots = {}, $$scope } = $$props;
|
8107
8200
|
const { registerItem, unregisterItem } = getContext('SLIDE');
|
@@ -8167,20 +8260,20 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
8167
8260
|
class SlideItem extends SvelteComponent {
|
8168
8261
|
constructor(options) {
|
8169
8262
|
super();
|
8170
|
-
init(this, options, instance$
|
8263
|
+
init(this, options, instance$6, create_fragment$6, safe_not_equal, { _style: 0 }, add_css$6);
|
8171
8264
|
}
|
8172
8265
|
}
|
8173
8266
|
|
8174
8267
|
/* src/components/Countdown.svelte generated by Svelte v3.53.1 */
|
8175
8268
|
|
8176
|
-
function add_css$
|
8269
|
+
function add_css$5(target) {
|
8177
8270
|
append_styles(target, "svelte-qx7l0c", ".countdown.svelte-qx7l0c{position:relative;width:100%;height:100%}.countdown-inner.svelte-qx7l0c{position:absolute;inset:0}");
|
8178
8271
|
}
|
8179
8272
|
|
8180
8273
|
const get_default_slot_changes = dirty => ({ countdown: dirty & /*countdown*/ 1 });
|
8181
8274
|
const get_default_slot_context = ctx => ({ countdown: /*countdown*/ ctx[0] });
|
8182
8275
|
|
8183
|
-
function create_fragment$
|
8276
|
+
function create_fragment$5(ctx) {
|
8184
8277
|
let div1;
|
8185
8278
|
let div0;
|
8186
8279
|
let current;
|
@@ -8268,7 +8361,7 @@ function formatTimeDiff(ms) {
|
|
8268
8361
|
};
|
8269
8362
|
}
|
8270
8363
|
|
8271
|
-
function instance$
|
8364
|
+
function instance$5($$self, $$props, $$invalidate) {
|
8272
8365
|
let countdown;
|
8273
8366
|
let { $$slots: slots = {}, $$scope } = $$props;
|
8274
8367
|
let { timeLimit = '2023/12/31 23:59:59+0900' } = $$props;
|
@@ -8323,17 +8416,17 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
8323
8416
|
class Countdown extends SvelteComponent {
|
8324
8417
|
constructor(options) {
|
8325
8418
|
super();
|
8326
|
-
init(this, options, instance$
|
8419
|
+
init(this, options, instance$5, create_fragment$5, safe_not_equal, { timeLimit: 1, stateOnEnd: 2 }, add_css$5);
|
8327
8420
|
}
|
8328
8421
|
}
|
8329
8422
|
|
8330
8423
|
/* src/components/Box.svelte generated by Svelte v3.53.1 */
|
8331
8424
|
|
8332
|
-
function add_css$
|
8425
|
+
function add_css$4(target) {
|
8333
8426
|
append_styles(target, "svelte-aept6n", ".box-wrapper.svelte-aept6n{position:relative;width:100%;height:100%}.box.svelte-aept6n{position:absolute;inset:0}");
|
8334
8427
|
}
|
8335
8428
|
|
8336
|
-
function create_fragment$
|
8429
|
+
function create_fragment$4(ctx) {
|
8337
8430
|
let div1;
|
8338
8431
|
let div0;
|
8339
8432
|
let current;
|
@@ -8408,7 +8501,7 @@ function create_fragment$3(ctx) {
|
|
8408
8501
|
};
|
8409
8502
|
}
|
8410
8503
|
|
8411
|
-
function instance$
|
8504
|
+
function instance$4($$self, $$props, $$invalidate) {
|
8412
8505
|
let { $$slots: slots = {}, $$scope } = $$props;
|
8413
8506
|
let { _style = '' } = $$props;
|
8414
8507
|
|
@@ -8423,7 +8516,149 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
8423
8516
|
class Box extends SvelteComponent {
|
8424
8517
|
constructor(options) {
|
8425
8518
|
super();
|
8426
|
-
init(this, options, instance$
|
8519
|
+
init(this, options, instance$4, create_fragment$4, safe_not_equal, { _style: 0 }, add_css$4);
|
8520
|
+
}
|
8521
|
+
}
|
8522
|
+
|
8523
|
+
/* src/components/IconElement.svelte generated by Svelte v3.53.1 */
|
8524
|
+
|
8525
|
+
function add_css$3(target) {
|
8526
|
+
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)}");
|
8527
|
+
}
|
8528
|
+
|
8529
|
+
// (39:2) {#if svg}
|
8530
|
+
function create_if_block(ctx) {
|
8531
|
+
let html_tag;
|
8532
|
+
let html_anchor;
|
8533
|
+
|
8534
|
+
return {
|
8535
|
+
c() {
|
8536
|
+
html_tag = new HtmlTagHydration(false);
|
8537
|
+
html_anchor = empty();
|
8538
|
+
this.h();
|
8539
|
+
},
|
8540
|
+
l(nodes) {
|
8541
|
+
html_tag = claim_html_tag(nodes, false);
|
8542
|
+
html_anchor = empty();
|
8543
|
+
this.h();
|
8544
|
+
},
|
8545
|
+
h() {
|
8546
|
+
html_tag.a = html_anchor;
|
8547
|
+
},
|
8548
|
+
m(target, anchor) {
|
8549
|
+
html_tag.m(/*svg*/ ctx[1], target, anchor);
|
8550
|
+
insert_hydration(target, html_anchor, anchor);
|
8551
|
+
},
|
8552
|
+
p(ctx, dirty) {
|
8553
|
+
if (dirty & /*svg*/ 2) html_tag.p(/*svg*/ ctx[1]);
|
8554
|
+
},
|
8555
|
+
d(detaching) {
|
8556
|
+
if (detaching) detach(html_anchor);
|
8557
|
+
if (detaching) html_tag.d();
|
8558
|
+
}
|
8559
|
+
};
|
8560
|
+
}
|
8561
|
+
|
8562
|
+
function create_fragment$3(ctx) {
|
8563
|
+
let div;
|
8564
|
+
let if_block = /*svg*/ ctx[1] && create_if_block(ctx);
|
8565
|
+
|
8566
|
+
return {
|
8567
|
+
c() {
|
8568
|
+
div = element("div");
|
8569
|
+
if (if_block) if_block.c();
|
8570
|
+
this.h();
|
8571
|
+
},
|
8572
|
+
l(nodes) {
|
8573
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
8574
|
+
var div_nodes = children(div);
|
8575
|
+
if (if_block) if_block.l(div_nodes);
|
8576
|
+
div_nodes.forEach(detach);
|
8577
|
+
this.h();
|
8578
|
+
},
|
8579
|
+
h() {
|
8580
|
+
attr(div, "class", "icon svelte-1773k1k");
|
8581
|
+
attr(div, "style", /*style*/ ctx[0]);
|
8582
|
+
},
|
8583
|
+
m(target, anchor) {
|
8584
|
+
insert_hydration(target, div, anchor);
|
8585
|
+
if (if_block) if_block.m(div, null);
|
8586
|
+
},
|
8587
|
+
p(ctx, [dirty]) {
|
8588
|
+
if (/*svg*/ ctx[1]) {
|
8589
|
+
if (if_block) {
|
8590
|
+
if_block.p(ctx, dirty);
|
8591
|
+
} else {
|
8592
|
+
if_block = create_if_block(ctx);
|
8593
|
+
if_block.c();
|
8594
|
+
if_block.m(div, null);
|
8595
|
+
}
|
8596
|
+
} else if (if_block) {
|
8597
|
+
if_block.d(1);
|
8598
|
+
if_block = null;
|
8599
|
+
}
|
8600
|
+
|
8601
|
+
if (dirty & /*style*/ 1) {
|
8602
|
+
attr(div, "style", /*style*/ ctx[0]);
|
8603
|
+
}
|
8604
|
+
},
|
8605
|
+
i: noop,
|
8606
|
+
o: noop,
|
8607
|
+
d(detaching) {
|
8608
|
+
if (detaching) detach(div);
|
8609
|
+
if (if_block) if_block.d();
|
8610
|
+
}
|
8611
|
+
};
|
8612
|
+
}
|
8613
|
+
|
8614
|
+
function parseData(dataUrl) {
|
8615
|
+
const [_meta, data] = dataUrl.split(',');
|
8616
|
+
|
8617
|
+
// @ts-ignore
|
8618
|
+
return decodeURIComponent(data).replaceAll('\'', '"');
|
8619
|
+
}
|
8620
|
+
|
8621
|
+
function instance$3($$self, $$props, $$invalidate) {
|
8622
|
+
let svg;
|
8623
|
+
let styleVariables;
|
8624
|
+
let style;
|
8625
|
+
let { icon = '' } = $$props;
|
8626
|
+
let { size = '20px' } = $$props;
|
8627
|
+
let { color = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
8628
|
+
let { _style = '' } = $$props;
|
8629
|
+
|
8630
|
+
$$self.$$set = $$props => {
|
8631
|
+
if ('icon' in $$props) $$invalidate(2, icon = $$props.icon);
|
8632
|
+
if ('size' in $$props) $$invalidate(3, size = $$props.size);
|
8633
|
+
if ('color' in $$props) $$invalidate(4, color = $$props.color);
|
8634
|
+
if ('_style' in $$props) $$invalidate(5, _style = $$props._style);
|
8635
|
+
};
|
8636
|
+
|
8637
|
+
$$self.$$.update = () => {
|
8638
|
+
if ($$self.$$.dirty & /*icon*/ 4) {
|
8639
|
+
$$invalidate(1, svg = (() => {
|
8640
|
+
if (!icon) return;
|
8641
|
+
const original = parseData(icon);
|
8642
|
+
return original;
|
8643
|
+
})());
|
8644
|
+
}
|
8645
|
+
|
8646
|
+
if ($$self.$$.dirty & /*size, color*/ 24) {
|
8647
|
+
$$invalidate(6, styleVariables = `--width: ${size}; --height: ${size}; --color: ${color}; --stroke: ${color}; --fill: ${color};`);
|
8648
|
+
}
|
8649
|
+
|
8650
|
+
if ($$self.$$.dirty & /*_style, styleVariables*/ 96) {
|
8651
|
+
$$invalidate(0, style = [..._style.split(';'), ...styleVariables.split(';')].join(';'));
|
8652
|
+
}
|
8653
|
+
};
|
8654
|
+
|
8655
|
+
return [style, svg, icon, size, color, _style, styleVariables];
|
8656
|
+
}
|
8657
|
+
|
8658
|
+
class IconElement extends SvelteComponent {
|
8659
|
+
constructor(options) {
|
8660
|
+
super();
|
8661
|
+
init(this, options, instance$3, create_fragment$3, safe_not_equal, { icon: 2, size: 3, color: 4, _style: 5 }, add_css$3);
|
8427
8662
|
}
|
8428
8663
|
}
|
8429
8664
|
|
@@ -8814,4 +9049,4 @@ class ImageBlock extends SvelteComponent {
|
|
8814
9049
|
}
|
8815
9050
|
}
|
8816
9051
|
|
8817
|
-
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,
|
9052
|
+
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 };
|