@plaidev/karte-action-sdk 1.1.139-27968067.f08728d1 → 1.1.139-27968220.8935025a
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +1 -0
- package/dist/hydrate/index.es.js +380 -172
- package/dist/index.es.d.ts +1 -0
- package/dist/index.es.js +353 -172
- package/dist/templates.cjs.js +1 -0
- package/dist/templates.js +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -2379,20 +2379,20 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2379
2379
|
|
2380
2380
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2381
2381
|
|
2382
|
-
function add_css$
|
2382
|
+
function add_css$s(target) {
|
2383
2383
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2384
2384
|
}
|
2385
2385
|
|
2386
2386
|
class Normalize extends SvelteComponent {
|
2387
2387
|
constructor(options) {
|
2388
2388
|
super();
|
2389
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2389
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$s);
|
2390
2390
|
}
|
2391
2391
|
}
|
2392
2392
|
|
2393
2393
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2394
2394
|
|
2395
|
-
function create_fragment$
|
2395
|
+
function create_fragment$v(ctx) {
|
2396
2396
|
let normalize;
|
2397
2397
|
let t;
|
2398
2398
|
let current;
|
@@ -2451,7 +2451,7 @@ function create_fragment$u(ctx) {
|
|
2451
2451
|
};
|
2452
2452
|
}
|
2453
2453
|
|
2454
|
-
function instance$
|
2454
|
+
function instance$v($$self, $$props, $$invalidate) {
|
2455
2455
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2456
2456
|
|
2457
2457
|
$$self.$$set = $$props => {
|
@@ -2464,13 +2464,13 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
2464
2464
|
class State extends SvelteComponent {
|
2465
2465
|
constructor(options) {
|
2466
2466
|
super();
|
2467
|
-
init(this, options, instance$
|
2467
|
+
init(this, options, instance$v, create_fragment$v, safe_not_equal, {});
|
2468
2468
|
}
|
2469
2469
|
}
|
2470
2470
|
|
2471
2471
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2472
2472
|
|
2473
|
-
function add_css$
|
2473
|
+
function add_css$r(target) {
|
2474
2474
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2475
2475
|
}
|
2476
2476
|
|
@@ -2537,7 +2537,7 @@ function create_if_block$7(ctx) {
|
|
2537
2537
|
};
|
2538
2538
|
}
|
2539
2539
|
|
2540
|
-
function create_fragment$
|
2540
|
+
function create_fragment$u(ctx) {
|
2541
2541
|
let if_block_anchor;
|
2542
2542
|
let current;
|
2543
2543
|
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$7(ctx);
|
@@ -2598,7 +2598,7 @@ function getStateItemContext() {
|
|
2598
2598
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2599
2599
|
}
|
2600
2600
|
|
2601
|
-
function instance$
|
2601
|
+
function instance$u($$self, $$props, $$invalidate) {
|
2602
2602
|
let $state;
|
2603
2603
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2604
2604
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2624,13 +2624,13 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
2624
2624
|
class StateItem extends SvelteComponent {
|
2625
2625
|
constructor(options) {
|
2626
2626
|
super();
|
2627
|
-
init(this, options, instance$
|
2627
|
+
init(this, options, instance$u, create_fragment$u, safe_not_equal, { path: 0 }, add_css$r);
|
2628
2628
|
}
|
2629
2629
|
}
|
2630
2630
|
|
2631
2631
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2632
2632
|
|
2633
|
-
function add_css$
|
2633
|
+
function add_css$q(target) {
|
2634
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}");
|
2635
2635
|
}
|
2636
2636
|
|
@@ -2662,7 +2662,7 @@ function create_if_block$6(ctx) {
|
|
2662
2662
|
};
|
2663
2663
|
}
|
2664
2664
|
|
2665
|
-
function create_fragment$
|
2665
|
+
function create_fragment$t(ctx) {
|
2666
2666
|
let if_block_anchor;
|
2667
2667
|
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$6(ctx);
|
2668
2668
|
|
@@ -2698,7 +2698,7 @@ function create_fragment$s(ctx) {
|
|
2698
2698
|
};
|
2699
2699
|
}
|
2700
2700
|
|
2701
|
-
function instance$
|
2701
|
+
function instance$t($$self, $$props, $$invalidate) {
|
2702
2702
|
let { backgroundOverray = false } = $$props;
|
2703
2703
|
const dispatch = createEventDispatcher();
|
2704
2704
|
const click_handler = () => dispatch('click');
|
@@ -2713,13 +2713,13 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
2713
2713
|
class BackgroundOverray extends SvelteComponent {
|
2714
2714
|
constructor(options) {
|
2715
2715
|
super();
|
2716
|
-
init(this, options, instance$
|
2716
|
+
init(this, options, instance$t, create_fragment$t, safe_not_equal, { backgroundOverray: 0 }, add_css$q);
|
2717
2717
|
}
|
2718
2718
|
}
|
2719
2719
|
|
2720
2720
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
2721
2721
|
|
2722
|
-
function add_css$
|
2722
|
+
function add_css$p(target) {
|
2723
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}");
|
2724
2724
|
}
|
2725
2725
|
|
@@ -2900,7 +2900,7 @@ function create_if_block_1$1(ctx) {
|
|
2900
2900
|
};
|
2901
2901
|
}
|
2902
2902
|
|
2903
|
-
function create_fragment$
|
2903
|
+
function create_fragment$s(ctx) {
|
2904
2904
|
let backgroundoverray;
|
2905
2905
|
let t;
|
2906
2906
|
let if_block_anchor;
|
@@ -2993,7 +2993,7 @@ function create_fragment$r(ctx) {
|
|
2993
2993
|
};
|
2994
2994
|
}
|
2995
2995
|
|
2996
|
-
function instance$
|
2996
|
+
function instance$s($$self, $$props, $$invalidate) {
|
2997
2997
|
let click;
|
2998
2998
|
let close;
|
2999
2999
|
let closable;
|
@@ -3185,8 +3185,8 @@ class Modal extends SvelteComponent {
|
|
3185
3185
|
init(
|
3186
3186
|
this,
|
3187
3187
|
options,
|
3188
|
-
instance$
|
3189
|
-
create_fragment$
|
3188
|
+
instance$s,
|
3189
|
+
create_fragment$s,
|
3190
3190
|
safe_not_equal,
|
3191
3191
|
{
|
3192
3192
|
onClick: 17,
|
@@ -3202,14 +3202,14 @@ class Modal extends SvelteComponent {
|
|
3202
3202
|
closeButtonColor: 2,
|
3203
3203
|
_closeStyle: 3
|
3204
3204
|
},
|
3205
|
-
add_css$
|
3205
|
+
add_css$p
|
3206
3206
|
);
|
3207
3207
|
}
|
3208
3208
|
}
|
3209
3209
|
|
3210
3210
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
3211
3211
|
|
3212
|
-
function create_fragment$
|
3212
|
+
function create_fragment$r(ctx) {
|
3213
3213
|
let div;
|
3214
3214
|
let current;
|
3215
3215
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -3267,7 +3267,7 @@ function create_fragment$q(ctx) {
|
|
3267
3267
|
};
|
3268
3268
|
}
|
3269
3269
|
|
3270
|
-
function instance$
|
3270
|
+
function instance$r($$self, $$props, $$invalidate) {
|
3271
3271
|
let _style;
|
3272
3272
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3273
3273
|
let { width = '512px' } = $$props;
|
@@ -3312,7 +3312,7 @@ class Grid extends SvelteComponent {
|
|
3312
3312
|
constructor(options) {
|
3313
3313
|
super();
|
3314
3314
|
|
3315
|
-
init(this, options, instance$
|
3315
|
+
init(this, options, instance$r, create_fragment$r, safe_not_equal, {
|
3316
3316
|
width: 1,
|
3317
3317
|
height: 2,
|
3318
3318
|
rows: 3,
|
@@ -3494,7 +3494,7 @@ function create_default_slot(ctx) {
|
|
3494
3494
|
};
|
3495
3495
|
}
|
3496
3496
|
|
3497
|
-
function create_fragment$
|
3497
|
+
function create_fragment$q(ctx) {
|
3498
3498
|
let stateitem;
|
3499
3499
|
let current;
|
3500
3500
|
|
@@ -3539,7 +3539,7 @@ function create_fragment$p(ctx) {
|
|
3539
3539
|
};
|
3540
3540
|
}
|
3541
3541
|
|
3542
|
-
function instance$
|
3542
|
+
function instance$q($$self, $$props, $$invalidate) {
|
3543
3543
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3544
3544
|
let { path } = $$props;
|
3545
3545
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -3610,7 +3610,7 @@ class GridModalState extends SvelteComponent {
|
|
3610
3610
|
constructor(options) {
|
3611
3611
|
super();
|
3612
3612
|
|
3613
|
-
init(this, options, instance$
|
3613
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, {
|
3614
3614
|
path: 0,
|
3615
3615
|
onClick: 1,
|
3616
3616
|
clickEventName: 2,
|
@@ -3635,11 +3635,11 @@ class GridModalState extends SvelteComponent {
|
|
3635
3635
|
|
3636
3636
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
3637
3637
|
|
3638
|
-
function add_css$
|
3638
|
+
function add_css$o(target) {
|
3639
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}");
|
3640
3640
|
}
|
3641
3641
|
|
3642
|
-
function create_fragment$
|
3642
|
+
function create_fragment$p(ctx) {
|
3643
3643
|
let div1;
|
3644
3644
|
let div0;
|
3645
3645
|
let current;
|
@@ -3702,7 +3702,7 @@ function create_fragment$o(ctx) {
|
|
3702
3702
|
};
|
3703
3703
|
}
|
3704
3704
|
|
3705
|
-
function instance$
|
3705
|
+
function instance$p($$self, $$props, $$invalidate) {
|
3706
3706
|
let _style;
|
3707
3707
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3708
3708
|
let { x1 } = $$props;
|
@@ -3755,8 +3755,8 @@ class GridItem extends SvelteComponent {
|
|
3755
3755
|
init(
|
3756
3756
|
this,
|
3757
3757
|
options,
|
3758
|
-
instance$
|
3759
|
-
create_fragment$
|
3758
|
+
instance$p,
|
3759
|
+
create_fragment$p,
|
3760
3760
|
safe_not_equal,
|
3761
3761
|
{
|
3762
3762
|
x1: 2,
|
@@ -3766,18 +3766,18 @@ class GridItem extends SvelteComponent {
|
|
3766
3766
|
z: 6,
|
3767
3767
|
background: 7
|
3768
3768
|
},
|
3769
|
-
add_css$
|
3769
|
+
add_css$o
|
3770
3770
|
);
|
3771
3771
|
}
|
3772
3772
|
}
|
3773
3773
|
|
3774
3774
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
3775
3775
|
|
3776
|
-
function add_css$
|
3776
|
+
function add_css$n(target) {
|
3777
3777
|
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
3778
3778
|
}
|
3779
3779
|
|
3780
|
-
function create_fragment$
|
3780
|
+
function create_fragment$o(ctx) {
|
3781
3781
|
let div;
|
3782
3782
|
let div_style_value;
|
3783
3783
|
let current;
|
@@ -3842,7 +3842,7 @@ function getFlexContext() {
|
|
3842
3842
|
return getContext(FlexContextKey);
|
3843
3843
|
}
|
3844
3844
|
|
3845
|
-
function instance$
|
3845
|
+
function instance$o($$self, $$props, $$invalidate) {
|
3846
3846
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3847
3847
|
let { direction = 'row' } = $$props;
|
3848
3848
|
let { width = '100%' } = $$props;
|
@@ -3868,8 +3868,8 @@ class Flex extends SvelteComponent {
|
|
3868
3868
|
init(
|
3869
3869
|
this,
|
3870
3870
|
options,
|
3871
|
-
instance$
|
3872
|
-
create_fragment$
|
3871
|
+
instance$o,
|
3872
|
+
create_fragment$o,
|
3873
3873
|
safe_not_equal,
|
3874
3874
|
{
|
3875
3875
|
direction: 0,
|
@@ -3877,18 +3877,18 @@ class Flex extends SvelteComponent {
|
|
3877
3877
|
height: 2,
|
3878
3878
|
_style: 3
|
3879
3879
|
},
|
3880
|
-
add_css$
|
3880
|
+
add_css$n
|
3881
3881
|
);
|
3882
3882
|
}
|
3883
3883
|
}
|
3884
3884
|
|
3885
3885
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
3886
3886
|
|
3887
|
-
function add_css$
|
3887
|
+
function add_css$m(target) {
|
3888
3888
|
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
3889
3889
|
}
|
3890
3890
|
|
3891
|
-
function create_fragment$
|
3891
|
+
function create_fragment$n(ctx) {
|
3892
3892
|
let div;
|
3893
3893
|
let current;
|
3894
3894
|
const default_slot_template = /*#slots*/ ctx[4].default;
|
@@ -3946,7 +3946,7 @@ function create_fragment$m(ctx) {
|
|
3946
3946
|
};
|
3947
3947
|
}
|
3948
3948
|
|
3949
|
-
function instance$
|
3949
|
+
function instance$n($$self, $$props, $$invalidate) {
|
3950
3950
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3951
3951
|
let { length } = $$props;
|
3952
3952
|
let { _style = '' } = $$props;
|
@@ -3989,13 +3989,13 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
3989
3989
|
class FlexItem extends SvelteComponent {
|
3990
3990
|
constructor(options) {
|
3991
3991
|
super();
|
3992
|
-
init(this, options, instance$
|
3992
|
+
init(this, options, instance$n, create_fragment$n, safe_not_equal, { length: 1, _style: 2 }, add_css$m);
|
3993
3993
|
}
|
3994
3994
|
}
|
3995
3995
|
|
3996
3996
|
/* src/components/RenderText.svelte generated by Svelte v3.53.1 */
|
3997
3997
|
|
3998
|
-
function get_each_context$
|
3998
|
+
function get_each_context$6(ctx, list, i) {
|
3999
3999
|
const child_ctx = ctx.slice();
|
4000
4000
|
child_ctx[2] = list[i];
|
4001
4001
|
return child_ctx;
|
@@ -4041,7 +4041,7 @@ function create_if_block$4(ctx) {
|
|
4041
4041
|
}
|
4042
4042
|
|
4043
4043
|
// (9:0) {#each items as item}
|
4044
|
-
function create_each_block$
|
4044
|
+
function create_each_block$6(ctx) {
|
4045
4045
|
let show_if;
|
4046
4046
|
let if_block_anchor;
|
4047
4047
|
|
@@ -4084,13 +4084,13 @@ function create_each_block$5(ctx) {
|
|
4084
4084
|
};
|
4085
4085
|
}
|
4086
4086
|
|
4087
|
-
function create_fragment$
|
4087
|
+
function create_fragment$m(ctx) {
|
4088
4088
|
let each_1_anchor;
|
4089
4089
|
let each_value = /*items*/ ctx[0];
|
4090
4090
|
let each_blocks = [];
|
4091
4091
|
|
4092
4092
|
for (let i = 0; i < each_value.length; i += 1) {
|
4093
|
-
each_blocks[i] = create_each_block$
|
4093
|
+
each_blocks[i] = create_each_block$6(get_each_context$6(ctx, each_value, i));
|
4094
4094
|
}
|
4095
4095
|
|
4096
4096
|
return {
|
@@ -4114,12 +4114,12 @@ function create_fragment$l(ctx) {
|
|
4114
4114
|
let i;
|
4115
4115
|
|
4116
4116
|
for (i = 0; i < each_value.length; i += 1) {
|
4117
|
-
const child_ctx = get_each_context$
|
4117
|
+
const child_ctx = get_each_context$6(ctx, each_value, i);
|
4118
4118
|
|
4119
4119
|
if (each_blocks[i]) {
|
4120
4120
|
each_blocks[i].p(child_ctx, dirty);
|
4121
4121
|
} else {
|
4122
|
-
each_blocks[i] = create_each_block$
|
4122
|
+
each_blocks[i] = create_each_block$6(child_ctx);
|
4123
4123
|
each_blocks[i].c();
|
4124
4124
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
4125
4125
|
}
|
@@ -4143,7 +4143,7 @@ function create_fragment$l(ctx) {
|
|
4143
4143
|
|
4144
4144
|
const regexp = /(\r?\n)/;
|
4145
4145
|
|
4146
|
-
function instance$
|
4146
|
+
function instance$m($$self, $$props, $$invalidate) {
|
4147
4147
|
let items;
|
4148
4148
|
let { text = 'サンプルSample' } = $$props;
|
4149
4149
|
|
@@ -4163,13 +4163,13 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
4163
4163
|
class RenderText extends SvelteComponent {
|
4164
4164
|
constructor(options) {
|
4165
4165
|
super();
|
4166
|
-
init(this, options, instance$
|
4166
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, { text: 1 });
|
4167
4167
|
}
|
4168
4168
|
}
|
4169
4169
|
|
4170
4170
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4171
4171
|
|
4172
|
-
function add_css$
|
4172
|
+
function add_css$l(target) {
|
4173
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}");
|
4174
4174
|
}
|
4175
4175
|
|
@@ -4207,7 +4207,7 @@ function create_if_block$3(ctx) {
|
|
4207
4207
|
};
|
4208
4208
|
}
|
4209
4209
|
|
4210
|
-
function create_fragment$
|
4210
|
+
function create_fragment$l(ctx) {
|
4211
4211
|
let div2;
|
4212
4212
|
let div1;
|
4213
4213
|
let div0;
|
@@ -4292,7 +4292,7 @@ function create_fragment$k(ctx) {
|
|
4292
4292
|
};
|
4293
4293
|
}
|
4294
4294
|
|
4295
|
-
function instance$
|
4295
|
+
function instance$l($$self, $$props, $$invalidate) {
|
4296
4296
|
let style;
|
4297
4297
|
let { text = 'サンプルSample' } = $$props;
|
4298
4298
|
let { enableCopy = false } = $$props;
|
@@ -4372,8 +4372,8 @@ class TextElement extends SvelteComponent {
|
|
4372
4372
|
init(
|
4373
4373
|
this,
|
4374
4374
|
options,
|
4375
|
-
instance$
|
4376
|
-
create_fragment$
|
4375
|
+
instance$l,
|
4376
|
+
create_fragment$l,
|
4377
4377
|
safe_not_equal,
|
4378
4378
|
{
|
4379
4379
|
text: 0,
|
@@ -4382,18 +4382,18 @@ class TextElement extends SvelteComponent {
|
|
4382
4382
|
textDirection: 2,
|
4383
4383
|
_style: 8
|
4384
4384
|
},
|
4385
|
-
add_css$
|
4385
|
+
add_css$l
|
4386
4386
|
);
|
4387
4387
|
}
|
4388
4388
|
}
|
4389
4389
|
|
4390
4390
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4391
4391
|
|
4392
|
-
function add_css$
|
4392
|
+
function add_css$k(target) {
|
4393
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)}");
|
4394
4394
|
}
|
4395
4395
|
|
4396
|
-
function create_fragment$
|
4396
|
+
function create_fragment$k(ctx) {
|
4397
4397
|
let div;
|
4398
4398
|
let button;
|
4399
4399
|
let rendertext;
|
@@ -4469,7 +4469,7 @@ function create_fragment$j(ctx) {
|
|
4469
4469
|
};
|
4470
4470
|
}
|
4471
4471
|
|
4472
|
-
function instance$
|
4472
|
+
function instance$k($$self, $$props, $$invalidate) {
|
4473
4473
|
let disabled;
|
4474
4474
|
let $valuesAreValid;
|
4475
4475
|
let { text = 'ボタンラベル' } = $$props;
|
@@ -4534,8 +4534,8 @@ class TextButtonElement extends SvelteComponent {
|
|
4534
4534
|
init(
|
4535
4535
|
this,
|
4536
4536
|
options,
|
4537
|
-
instance$
|
4538
|
-
create_fragment$
|
4537
|
+
instance$k,
|
4538
|
+
create_fragment$k,
|
4539
4539
|
safe_not_equal,
|
4540
4540
|
{
|
4541
4541
|
text: 0,
|
@@ -4544,18 +4544,18 @@ class TextButtonElement extends SvelteComponent {
|
|
4544
4544
|
_buttonStyle: 1,
|
4545
4545
|
_style: 2
|
4546
4546
|
},
|
4547
|
-
add_css$
|
4547
|
+
add_css$k
|
4548
4548
|
);
|
4549
4549
|
}
|
4550
4550
|
}
|
4551
4551
|
|
4552
4552
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4553
4553
|
|
4554
|
-
function add_css$
|
4554
|
+
function add_css$j(target) {
|
4555
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)}");
|
4556
4556
|
}
|
4557
4557
|
|
4558
|
-
function create_fragment$
|
4558
|
+
function create_fragment$j(ctx) {
|
4559
4559
|
let div;
|
4560
4560
|
let img;
|
4561
4561
|
let img_src_value;
|
@@ -4617,7 +4617,7 @@ function create_fragment$i(ctx) {
|
|
4617
4617
|
};
|
4618
4618
|
}
|
4619
4619
|
|
4620
|
-
function instance$
|
4620
|
+
function instance$j($$self, $$props, $$invalidate) {
|
4621
4621
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
4622
4622
|
let { alt = 'No Image' } = $$props;
|
4623
4623
|
let { transport = false } = $$props;
|
@@ -4655,8 +4655,8 @@ class ImageElement extends SvelteComponent {
|
|
4655
4655
|
init(
|
4656
4656
|
this,
|
4657
4657
|
options,
|
4658
|
-
instance$
|
4659
|
-
create_fragment$
|
4658
|
+
instance$j,
|
4659
|
+
create_fragment$j,
|
4660
4660
|
safe_not_equal,
|
4661
4661
|
{
|
4662
4662
|
src: 0,
|
@@ -4667,18 +4667,18 @@ class ImageElement extends SvelteComponent {
|
|
4667
4667
|
_imageStyle: 3,
|
4668
4668
|
_style: 4
|
4669
4669
|
},
|
4670
|
-
add_css$
|
4670
|
+
add_css$j
|
4671
4671
|
);
|
4672
4672
|
}
|
4673
4673
|
}
|
4674
4674
|
|
4675
4675
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
4676
4676
|
|
4677
|
-
function add_css$
|
4677
|
+
function add_css$i(target) {
|
4678
4678
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
4679
4679
|
}
|
4680
4680
|
|
4681
|
-
function create_fragment$
|
4681
|
+
function create_fragment$i(ctx) {
|
4682
4682
|
let div;
|
4683
4683
|
let current;
|
4684
4684
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -4738,7 +4738,7 @@ function create_fragment$h(ctx) {
|
|
4738
4738
|
|
4739
4739
|
const LIST_CONTEXT_KEY = Symbol();
|
4740
4740
|
|
4741
|
-
function instance$
|
4741
|
+
function instance$i($$self, $$props, $$invalidate) {
|
4742
4742
|
let style;
|
4743
4743
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4744
4744
|
let { direction = 'vertical' } = $$props;
|
@@ -4805,8 +4805,8 @@ class List extends SvelteComponent {
|
|
4805
4805
|
init(
|
4806
4806
|
this,
|
4807
4807
|
options,
|
4808
|
-
instance$
|
4809
|
-
create_fragment$
|
4808
|
+
instance$i,
|
4809
|
+
create_fragment$i,
|
4810
4810
|
safe_not_equal,
|
4811
4811
|
{
|
4812
4812
|
direction: 1,
|
@@ -4814,18 +4814,18 @@ class List extends SvelteComponent {
|
|
4814
4814
|
background: 3,
|
4815
4815
|
_style: 4
|
4816
4816
|
},
|
4817
|
-
add_css$
|
4817
|
+
add_css$i
|
4818
4818
|
);
|
4819
4819
|
}
|
4820
4820
|
}
|
4821
4821
|
|
4822
4822
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4823
4823
|
|
4824
|
-
function add_css$
|
4824
|
+
function add_css$h(target) {
|
4825
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}");
|
4826
4826
|
}
|
4827
4827
|
|
4828
|
-
function create_fragment$
|
4828
|
+
function create_fragment$h(ctx) {
|
4829
4829
|
let div1;
|
4830
4830
|
let div0;
|
4831
4831
|
let current;
|
@@ -4906,7 +4906,7 @@ function create_fragment$g(ctx) {
|
|
4906
4906
|
};
|
4907
4907
|
}
|
4908
4908
|
|
4909
|
-
function instance$
|
4909
|
+
function instance$h($$self, $$props, $$invalidate) {
|
4910
4910
|
let click;
|
4911
4911
|
let listItemStyle;
|
4912
4912
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -4996,17 +4996,17 @@ function instance$g($$self, $$props, $$invalidate) {
|
|
4996
4996
|
class ListItem extends SvelteComponent {
|
4997
4997
|
constructor(options) {
|
4998
4998
|
super();
|
4999
|
-
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);
|
5000
5000
|
}
|
5001
5001
|
}
|
5002
5002
|
|
5003
5003
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
5004
5004
|
|
5005
|
-
function add_css$
|
5005
|
+
function add_css$g(target) {
|
5006
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%}");
|
5007
5007
|
}
|
5008
5008
|
|
5009
|
-
function create_fragment$
|
5009
|
+
function create_fragment$g(ctx) {
|
5010
5010
|
let div;
|
5011
5011
|
|
5012
5012
|
return {
|
@@ -5033,7 +5033,7 @@ function create_fragment$f(ctx) {
|
|
5033
5033
|
};
|
5034
5034
|
}
|
5035
5035
|
|
5036
|
-
function instance$
|
5036
|
+
function instance$g($$self, $$props, $$invalidate) {
|
5037
5037
|
let { code } = $$props;
|
5038
5038
|
let { _style = "" } = $$props;
|
5039
5039
|
|
@@ -5048,17 +5048,17 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
5048
5048
|
class EmbedElement extends SvelteComponent {
|
5049
5049
|
constructor(options) {
|
5050
5050
|
super();
|
5051
|
-
init(this, options, instance$
|
5051
|
+
init(this, options, instance$g, create_fragment$g, safe_not_equal, { code: 0, _style: 1 }, add_css$g);
|
5052
5052
|
}
|
5053
5053
|
}
|
5054
5054
|
|
5055
5055
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
5056
5056
|
|
5057
|
-
function add_css$
|
5057
|
+
function add_css$f(target) {
|
5058
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%}");
|
5059
5059
|
}
|
5060
5060
|
|
5061
|
-
function create_fragment$
|
5061
|
+
function create_fragment$f(ctx) {
|
5062
5062
|
let div1;
|
5063
5063
|
let div0;
|
5064
5064
|
|
@@ -5089,7 +5089,7 @@ function create_fragment$e(ctx) {
|
|
5089
5089
|
};
|
5090
5090
|
}
|
5091
5091
|
|
5092
|
-
function instance$
|
5092
|
+
function instance$f($$self, $$props, $$invalidate) {
|
5093
5093
|
let $system;
|
5094
5094
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5095
5095
|
let { videoId = "sSgN-L4DU0c" } = $$props;
|
@@ -5268,8 +5268,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5268
5268
|
init(
|
5269
5269
|
this,
|
5270
5270
|
options,
|
5271
|
-
instance$
|
5272
|
-
create_fragment$
|
5271
|
+
instance$f,
|
5272
|
+
create_fragment$f,
|
5273
5273
|
safe_not_equal,
|
5274
5274
|
{
|
5275
5275
|
videoId: 2,
|
@@ -5279,18 +5279,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5279
5279
|
mute: 6,
|
5280
5280
|
_style: 0
|
5281
5281
|
},
|
5282
|
-
add_css$
|
5282
|
+
add_css$f
|
5283
5283
|
);
|
5284
5284
|
}
|
5285
5285
|
}
|
5286
5286
|
|
5287
5287
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5288
5288
|
|
5289
|
-
function add_css$
|
5289
|
+
function add_css$e(target) {
|
5290
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%}");
|
5291
5291
|
}
|
5292
5292
|
|
5293
|
-
function create_fragment$
|
5293
|
+
function create_fragment$e(ctx) {
|
5294
5294
|
let div1;
|
5295
5295
|
let div0;
|
5296
5296
|
|
@@ -5321,7 +5321,7 @@ function create_fragment$d(ctx) {
|
|
5321
5321
|
};
|
5322
5322
|
}
|
5323
5323
|
|
5324
|
-
function instance$
|
5324
|
+
function instance$e($$self, $$props, $$invalidate) {
|
5325
5325
|
let $system;
|
5326
5326
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5327
5327
|
let { videoId = "201239468" } = $$props;
|
@@ -5464,8 +5464,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5464
5464
|
init(
|
5465
5465
|
this,
|
5466
5466
|
options,
|
5467
|
-
instance$
|
5468
|
-
create_fragment$
|
5467
|
+
instance$e,
|
5468
|
+
create_fragment$e,
|
5469
5469
|
safe_not_equal,
|
5470
5470
|
{
|
5471
5471
|
videoId: 2,
|
@@ -5475,18 +5475,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5475
5475
|
mute: 6,
|
5476
5476
|
_style: 0
|
5477
5477
|
},
|
5478
|
-
add_css$
|
5478
|
+
add_css$e
|
5479
5479
|
);
|
5480
5480
|
}
|
5481
5481
|
}
|
5482
5482
|
|
5483
5483
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
5484
5484
|
|
5485
|
-
function add_css$
|
5485
|
+
function add_css$d(target) {
|
5486
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}");
|
5487
5487
|
}
|
5488
5488
|
|
5489
|
-
function create_fragment$
|
5489
|
+
function create_fragment$d(ctx) {
|
5490
5490
|
let div;
|
5491
5491
|
let textarea;
|
5492
5492
|
let mounted;
|
@@ -5539,7 +5539,7 @@ function create_fragment$c(ctx) {
|
|
5539
5539
|
};
|
5540
5540
|
}
|
5541
5541
|
|
5542
|
-
function instance$
|
5542
|
+
function instance$d($$self, $$props, $$invalidate) {
|
5543
5543
|
let $value;
|
5544
5544
|
let { name = '' } = $$props;
|
5545
5545
|
let { required = true } = $$props;
|
@@ -5580,8 +5580,8 @@ class FormTextarea extends SvelteComponent {
|
|
5580
5580
|
init(
|
5581
5581
|
this,
|
5582
5582
|
options,
|
5583
|
-
instance$
|
5584
|
-
create_fragment$
|
5583
|
+
instance$d,
|
5584
|
+
create_fragment$d,
|
5585
5585
|
safe_not_equal,
|
5586
5586
|
{
|
5587
5587
|
name: 6,
|
@@ -5589,18 +5589,18 @@ class FormTextarea extends SvelteComponent {
|
|
5589
5589
|
rows: 1,
|
5590
5590
|
placeholder: 2
|
5591
5591
|
},
|
5592
|
-
add_css$
|
5592
|
+
add_css$d
|
5593
5593
|
);
|
5594
5594
|
}
|
5595
5595
|
}
|
5596
5596
|
|
5597
5597
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5598
5598
|
|
5599
|
-
function add_css$
|
5599
|
+
function add_css$c(target) {
|
5600
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}");
|
5601
5601
|
}
|
5602
5602
|
|
5603
|
-
function get_each_context$
|
5603
|
+
function get_each_context$5(ctx, list, i) {
|
5604
5604
|
const child_ctx = ctx.slice();
|
5605
5605
|
child_ctx[15] = list[i];
|
5606
5606
|
child_ctx[17] = i;
|
@@ -5608,7 +5608,7 @@ function get_each_context$4(ctx, list, i) {
|
|
5608
5608
|
}
|
5609
5609
|
|
5610
5610
|
// (88:2) {#each _options as option, i}
|
5611
|
-
function create_each_block$
|
5611
|
+
function create_each_block$5(ctx) {
|
5612
5612
|
let label;
|
5613
5613
|
let input;
|
5614
5614
|
let input_value_value;
|
@@ -5685,13 +5685,13 @@ function create_each_block$4(ctx) {
|
|
5685
5685
|
};
|
5686
5686
|
}
|
5687
5687
|
|
5688
|
-
function create_fragment$
|
5688
|
+
function create_fragment$c(ctx) {
|
5689
5689
|
let div;
|
5690
5690
|
let each_value = /*_options*/ ctx[4];
|
5691
5691
|
let each_blocks = [];
|
5692
5692
|
|
5693
5693
|
for (let i = 0; i < each_value.length; i += 1) {
|
5694
|
-
each_blocks[i] = create_each_block$
|
5694
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
5695
5695
|
}
|
5696
5696
|
|
5697
5697
|
return {
|
@@ -5718,12 +5718,12 @@ function create_fragment$b(ctx) {
|
|
5718
5718
|
let i;
|
5719
5719
|
|
5720
5720
|
for (i = 0; i < each_value.length; i += 1) {
|
5721
|
-
const child_ctx = get_each_context$
|
5721
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
5722
5722
|
|
5723
5723
|
if (each_blocks[i]) {
|
5724
5724
|
each_blocks[i].p(child_ctx, dirty);
|
5725
5725
|
} else {
|
5726
|
-
each_blocks[i] = create_each_block$
|
5726
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
5727
5727
|
each_blocks[i].c();
|
5728
5728
|
each_blocks[i].m(div, null);
|
5729
5729
|
}
|
@@ -5749,7 +5749,7 @@ function create_fragment$b(ctx) {
|
|
5749
5749
|
};
|
5750
5750
|
}
|
5751
5751
|
|
5752
|
-
function instance$
|
5752
|
+
function instance$c($$self, $$props, $$invalidate) {
|
5753
5753
|
let _options;
|
5754
5754
|
let buttonStyle;
|
5755
5755
|
let _value;
|
@@ -5840,8 +5840,8 @@ class FormRadioButtons extends SvelteComponent {
|
|
5840
5840
|
init(
|
5841
5841
|
this,
|
5842
5842
|
options,
|
5843
|
-
instance$
|
5844
|
-
create_fragment$
|
5843
|
+
instance$c,
|
5844
|
+
create_fragment$c,
|
5845
5845
|
safe_not_equal,
|
5846
5846
|
{
|
5847
5847
|
name: 0,
|
@@ -5853,25 +5853,25 @@ class FormRadioButtons extends SvelteComponent {
|
|
5853
5853
|
buttonColor: 11,
|
5854
5854
|
buttonColorActive: 12
|
5855
5855
|
},
|
5856
|
-
add_css$
|
5856
|
+
add_css$c
|
5857
5857
|
);
|
5858
5858
|
}
|
5859
5859
|
}
|
5860
5860
|
|
5861
5861
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
5862
5862
|
|
5863
|
-
function add_css$
|
5864
|
-
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}");
|
5865
5865
|
}
|
5866
5866
|
|
5867
|
-
function get_each_context$
|
5867
|
+
function get_each_context$4(ctx, list, i) {
|
5868
5868
|
const child_ctx = ctx.slice();
|
5869
|
-
child_ctx[
|
5870
|
-
child_ctx[
|
5869
|
+
child_ctx[18] = list[i];
|
5870
|
+
child_ctx[20] = i;
|
5871
5871
|
return child_ctx;
|
5872
5872
|
}
|
5873
5873
|
|
5874
|
-
// (
|
5874
|
+
// (100:10) {:else}
|
5875
5875
|
function create_else_block(ctx) {
|
5876
5876
|
let t;
|
5877
5877
|
|
@@ -5891,9 +5891,9 @@ function create_else_block(ctx) {
|
|
5891
5891
|
};
|
5892
5892
|
}
|
5893
5893
|
|
5894
|
-
// (
|
5894
|
+
// (98:10) {#if option}
|
5895
5895
|
function create_if_block$2(ctx) {
|
5896
|
-
let t_value = /*option*/ ctx[
|
5896
|
+
let t_value = /*option*/ ctx[18] + "";
|
5897
5897
|
let t;
|
5898
5898
|
|
5899
5899
|
return {
|
@@ -5904,7 +5904,7 @@ function create_if_block$2(ctx) {
|
|
5904
5904
|
insert(target, t, anchor);
|
5905
5905
|
},
|
5906
5906
|
p(ctx, dirty) {
|
5907
|
-
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);
|
5908
5908
|
},
|
5909
5909
|
d(detaching) {
|
5910
5910
|
if (detaching) detach(t);
|
@@ -5912,15 +5912,15 @@ function create_if_block$2(ctx) {
|
|
5912
5912
|
};
|
5913
5913
|
}
|
5914
5914
|
|
5915
|
-
// (
|
5916
|
-
function create_each_block$
|
5915
|
+
// (96:6) {#each _options as option, i}
|
5916
|
+
function create_each_block$4(ctx) {
|
5917
5917
|
let option;
|
5918
5918
|
let t;
|
5919
5919
|
let option_value_value;
|
5920
5920
|
let option_selected_value;
|
5921
5921
|
|
5922
5922
|
function select_block_type(ctx, dirty) {
|
5923
|
-
if (/*option*/ ctx[
|
5923
|
+
if (/*option*/ ctx[18]) return create_if_block$2;
|
5924
5924
|
return create_else_block;
|
5925
5925
|
}
|
5926
5926
|
|
@@ -5932,9 +5932,9 @@ function create_each_block$3(ctx) {
|
|
5932
5932
|
option = element("option");
|
5933
5933
|
if_block.c();
|
5934
5934
|
t = space();
|
5935
|
-
option.__value = option_value_value = /*option*/ ctx[
|
5935
|
+
option.__value = option_value_value = /*option*/ ctx[18];
|
5936
5936
|
option.value = option.__value;
|
5937
|
-
option.selected = option_selected_value = /*option*/ ctx[
|
5937
|
+
option.selected = option_selected_value = /*option*/ ctx[18] === /*_value*/ ctx[1];
|
5938
5938
|
},
|
5939
5939
|
m(target, anchor) {
|
5940
5940
|
insert(target, option, anchor);
|
@@ -5954,12 +5954,12 @@ function create_each_block$3(ctx) {
|
|
5954
5954
|
}
|
5955
5955
|
}
|
5956
5956
|
|
5957
|
-
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])) {
|
5958
5958
|
option.__value = option_value_value;
|
5959
5959
|
option.value = option.__value;
|
5960
5960
|
}
|
5961
5961
|
|
5962
|
-
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])) {
|
5963
5963
|
option.selected = option_selected_value;
|
5964
5964
|
}
|
5965
5965
|
},
|
@@ -5970,7 +5970,7 @@ function create_each_block$3(ctx) {
|
|
5970
5970
|
};
|
5971
5971
|
}
|
5972
5972
|
|
5973
|
-
function create_fragment$
|
5973
|
+
function create_fragment$b(ctx) {
|
5974
5974
|
let div1;
|
5975
5975
|
let select;
|
5976
5976
|
let t;
|
@@ -5981,7 +5981,7 @@ function create_fragment$a(ctx) {
|
|
5981
5981
|
let each_blocks = [];
|
5982
5982
|
|
5983
5983
|
for (let i = 0; i < each_value.length; i += 1) {
|
5984
|
-
each_blocks[i] = create_each_block$
|
5984
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
5985
5985
|
}
|
5986
5986
|
|
5987
5987
|
return {
|
@@ -5995,10 +5995,10 @@ function create_fragment$a(ctx) {
|
|
5995
5995
|
|
5996
5996
|
t = space();
|
5997
5997
|
div0 = element("div");
|
5998
|
-
attr(select, "class", "select-select svelte-
|
5998
|
+
attr(select, "class", "select-select svelte-1n4ag74");
|
5999
5999
|
attr(select, "style", /*style*/ ctx[3]);
|
6000
|
-
attr(div0, "class", "select-icon svelte-
|
6001
|
-
attr(div1, "class", "select svelte-
|
6000
|
+
attr(div0, "class", "select-icon svelte-1n4ag74");
|
6001
|
+
attr(div1, "class", "select svelte-1n4ag74");
|
6002
6002
|
attr(div1, "style", /*styleVariables*/ ctx[2]);
|
6003
6003
|
},
|
6004
6004
|
m(target, anchor) {
|
@@ -6023,12 +6023,12 @@ function create_fragment$a(ctx) {
|
|
6023
6023
|
let i;
|
6024
6024
|
|
6025
6025
|
for (i = 0; i < each_value.length; i += 1) {
|
6026
|
-
const child_ctx = get_each_context$
|
6026
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
6027
6027
|
|
6028
6028
|
if (each_blocks[i]) {
|
6029
6029
|
each_blocks[i].p(child_ctx, dirty);
|
6030
6030
|
} else {
|
6031
|
-
each_blocks[i] = create_each_block$
|
6031
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
6032
6032
|
each_blocks[i].c();
|
6033
6033
|
each_blocks[i].m(select, null);
|
6034
6034
|
}
|
@@ -6060,7 +6060,7 @@ function create_fragment$a(ctx) {
|
|
6060
6060
|
};
|
6061
6061
|
}
|
6062
6062
|
|
6063
|
-
function instance$
|
6063
|
+
function instance$b($$self, $$props, $$invalidate) {
|
6064
6064
|
let _options;
|
6065
6065
|
let style;
|
6066
6066
|
let styleVariables;
|
@@ -6074,7 +6074,8 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6074
6074
|
let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
|
6075
6075
|
let { _textStyle = 'font-size: 12px;' } = $$props;
|
6076
6076
|
let { _placeholderStyle = 'color: #ccc;' } = $$props;
|
6077
|
-
let {
|
6077
|
+
let { iconColor = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
6078
|
+
let { iconSize = '12px' } = $$props;
|
6078
6079
|
const { path: statePath } = getStateItemContext();
|
6079
6080
|
|
6080
6081
|
const value = registerInput({
|
@@ -6087,7 +6088,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6087
6088
|
}
|
6088
6089
|
});
|
6089
6090
|
|
6090
|
-
component_subscribe($$self, value, value => $$invalidate(
|
6091
|
+
component_subscribe($$self, value, value => $$invalidate(16, $value = value));
|
6091
6092
|
|
6092
6093
|
function handleChange(event) {
|
6093
6094
|
const updated = event.target.value ? [event.target.value] : [];
|
@@ -6103,7 +6104,8 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6103
6104
|
if ('_focusStyle' in $$props) $$invalidate(11, _focusStyle = $$props._focusStyle);
|
6104
6105
|
if ('_textStyle' in $$props) $$invalidate(12, _textStyle = $$props._textStyle);
|
6105
6106
|
if ('_placeholderStyle' in $$props) $$invalidate(13, _placeholderStyle = $$props._placeholderStyle);
|
6106
|
-
if ('
|
6107
|
+
if ('iconColor' in $$props) $$invalidate(14, iconColor = $$props.iconColor);
|
6108
|
+
if ('iconSize' in $$props) $$invalidate(15, iconSize = $$props.iconSize);
|
6107
6109
|
};
|
6108
6110
|
|
6109
6111
|
$$self.$$.update = () => {
|
@@ -6111,7 +6113,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6111
6113
|
$$invalidate(4, _options = ['', ...options.split(',')]);
|
6112
6114
|
}
|
6113
6115
|
|
6114
|
-
if ($$self.$$.dirty & /*$value*/
|
6116
|
+
if ($$self.$$.dirty & /*$value*/ 65536) {
|
6115
6117
|
$$invalidate(1, _value = $value[0]);
|
6116
6118
|
}
|
6117
6119
|
|
@@ -6123,17 +6125,17 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6123
6125
|
].join(';'));
|
6124
6126
|
}
|
6125
6127
|
|
6126
|
-
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle,
|
6128
|
+
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle, iconColor, iconSize*/ 59392) {
|
6127
6129
|
$$invalidate(2, styleVariables = (() => {
|
6128
6130
|
const variables = {};
|
6129
6131
|
const focusStyleObj = parseStyle(_focusStyle);
|
6130
6132
|
const placeholderStyle = parseStyle(_placeholderStyle);
|
6131
|
-
const iconStyleObj = parseStyle(_iconStyle);
|
6132
6133
|
if (focusStyleObj['border-width']) variables['--focus-border-width'] = focusStyleObj['border-width'];
|
6133
6134
|
if (focusStyleObj['border-color']) variables['--focus-border-color'] = focusStyleObj['border-color'];
|
6134
6135
|
if (focusStyleObj['border-style']) variables['--focus-border-style'] = focusStyleObj['border-style'];
|
6135
6136
|
if (placeholderStyle.color) variables['--placeholder-color'] = placeholderStyle.color;
|
6136
|
-
|
6137
|
+
variables['--icon-color'] = iconColor;
|
6138
|
+
variables['--icon-size'] = iconSize;
|
6137
6139
|
return stringifyStyleObj(variables);
|
6138
6140
|
})());
|
6139
6141
|
}
|
@@ -6154,7 +6156,8 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6154
6156
|
_focusStyle,
|
6155
6157
|
_textStyle,
|
6156
6158
|
_placeholderStyle,
|
6157
|
-
|
6159
|
+
iconColor,
|
6160
|
+
iconSize,
|
6158
6161
|
$value
|
6159
6162
|
];
|
6160
6163
|
}
|
@@ -6166,8 +6169,8 @@ class FormSelect extends SvelteComponent {
|
|
6166
6169
|
init(
|
6167
6170
|
this,
|
6168
6171
|
options,
|
6169
|
-
instance$
|
6170
|
-
create_fragment$
|
6172
|
+
instance$b,
|
6173
|
+
create_fragment$b,
|
6171
6174
|
safe_not_equal,
|
6172
6175
|
{
|
6173
6176
|
name: 7,
|
@@ -6178,20 +6181,21 @@ class FormSelect extends SvelteComponent {
|
|
6178
6181
|
_focusStyle: 11,
|
6179
6182
|
_textStyle: 12,
|
6180
6183
|
_placeholderStyle: 13,
|
6181
|
-
|
6184
|
+
iconColor: 14,
|
6185
|
+
iconSize: 15
|
6182
6186
|
},
|
6183
|
-
add_css$
|
6187
|
+
add_css$b
|
6184
6188
|
);
|
6185
6189
|
}
|
6186
6190
|
}
|
6187
6191
|
|
6188
6192
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6189
6193
|
|
6190
|
-
function add_css$
|
6194
|
+
function add_css$a(target) {
|
6191
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}");
|
6192
6196
|
}
|
6193
6197
|
|
6194
|
-
function get_each_context$
|
6198
|
+
function get_each_context$3(ctx, list, i) {
|
6195
6199
|
const child_ctx = ctx.slice();
|
6196
6200
|
child_ctx[15] = list[i];
|
6197
6201
|
child_ctx[17] = i;
|
@@ -6199,7 +6203,7 @@ function get_each_context$2(ctx, list, i) {
|
|
6199
6203
|
}
|
6200
6204
|
|
6201
6205
|
// (94:2) {#each _options as option, i}
|
6202
|
-
function create_each_block$
|
6206
|
+
function create_each_block$3(ctx) {
|
6203
6207
|
let label;
|
6204
6208
|
let input;
|
6205
6209
|
let input_checked_value;
|
@@ -6292,13 +6296,13 @@ function create_each_block$2(ctx) {
|
|
6292
6296
|
};
|
6293
6297
|
}
|
6294
6298
|
|
6295
|
-
function create_fragment$
|
6299
|
+
function create_fragment$a(ctx) {
|
6296
6300
|
let div;
|
6297
6301
|
let each_value = /*_options*/ ctx[3];
|
6298
6302
|
let each_blocks = [];
|
6299
6303
|
|
6300
6304
|
for (let i = 0; i < each_value.length; i += 1) {
|
6301
|
-
each_blocks[i] = create_each_block$
|
6305
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
6302
6306
|
}
|
6303
6307
|
|
6304
6308
|
return {
|
@@ -6325,12 +6329,12 @@ function create_fragment$9(ctx) {
|
|
6325
6329
|
let i;
|
6326
6330
|
|
6327
6331
|
for (i = 0; i < each_value.length; i += 1) {
|
6328
|
-
const child_ctx = get_each_context$
|
6332
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
6329
6333
|
|
6330
6334
|
if (each_blocks[i]) {
|
6331
6335
|
each_blocks[i].p(child_ctx, dirty);
|
6332
6336
|
} else {
|
6333
|
-
each_blocks[i] = create_each_block$
|
6337
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
6334
6338
|
each_blocks[i].c();
|
6335
6339
|
each_blocks[i].m(div, null);
|
6336
6340
|
}
|
@@ -6356,7 +6360,7 @@ function create_fragment$9(ctx) {
|
|
6356
6360
|
};
|
6357
6361
|
}
|
6358
6362
|
|
6359
|
-
function instance$
|
6363
|
+
function instance$a($$self, $$props, $$invalidate) {
|
6360
6364
|
let _options;
|
6361
6365
|
let styleVariables;
|
6362
6366
|
let isCheckedArray;
|
@@ -6453,8 +6457,8 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6453
6457
|
init(
|
6454
6458
|
this,
|
6455
6459
|
options,
|
6456
|
-
instance$
|
6457
|
-
create_fragment$
|
6460
|
+
instance$a,
|
6461
|
+
create_fragment$a,
|
6458
6462
|
safe_not_equal,
|
6459
6463
|
{
|
6460
6464
|
name: 0,
|
@@ -6466,25 +6470,25 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6466
6470
|
buttonColor: 11,
|
6467
6471
|
buttonColorActive: 12
|
6468
6472
|
},
|
6469
|
-
add_css$
|
6473
|
+
add_css$a
|
6470
6474
|
);
|
6471
6475
|
}
|
6472
6476
|
}
|
6473
6477
|
|
6474
6478
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
6475
6479
|
|
6476
|
-
function add_css$
|
6480
|
+
function add_css$9(target) {
|
6477
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}");
|
6478
6482
|
}
|
6479
6483
|
|
6480
|
-
function get_each_context$
|
6484
|
+
function get_each_context$2(ctx, list, i) {
|
6481
6485
|
const child_ctx = ctx.slice();
|
6482
6486
|
child_ctx[11] = list[i];
|
6483
6487
|
return child_ctx;
|
6484
6488
|
}
|
6485
6489
|
|
6486
6490
|
// (50:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6487
|
-
function create_each_block$
|
6491
|
+
function create_each_block$2(ctx) {
|
6488
6492
|
let div;
|
6489
6493
|
let t0_value = /*i*/ ctx[11] + "";
|
6490
6494
|
let t0;
|
@@ -6530,13 +6534,13 @@ function create_each_block$1(ctx) {
|
|
6530
6534
|
};
|
6531
6535
|
}
|
6532
6536
|
|
6533
|
-
function create_fragment$
|
6537
|
+
function create_fragment$9(ctx) {
|
6534
6538
|
let div;
|
6535
|
-
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6539
|
+
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6536
6540
|
let each_blocks = [];
|
6537
6541
|
|
6538
6542
|
for (let i = 0; i < each_value.length; i += 1) {
|
6539
|
-
each_blocks[i] = create_each_block$
|
6543
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
6540
6544
|
}
|
6541
6545
|
|
6542
6546
|
return {
|
@@ -6558,16 +6562,16 @@ function create_fragment$8(ctx) {
|
|
6558
6562
|
},
|
6559
6563
|
p(ctx, [dirty]) {
|
6560
6564
|
if (dirty & /*getTextButtonStyle, Array, count, _value, handleClick*/ 27) {
|
6561
|
-
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6565
|
+
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6562
6566
|
let i;
|
6563
6567
|
|
6564
6568
|
for (i = 0; i < each_value.length; i += 1) {
|
6565
|
-
const child_ctx = get_each_context$
|
6569
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
6566
6570
|
|
6567
6571
|
if (each_blocks[i]) {
|
6568
6572
|
each_blocks[i].p(child_ctx, dirty);
|
6569
6573
|
} else {
|
6570
|
-
each_blocks[i] = create_each_block$
|
6574
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
6571
6575
|
each_blocks[i].c();
|
6572
6576
|
each_blocks[i].m(div, null);
|
6573
6577
|
}
|
@@ -6589,9 +6593,9 @@ function create_fragment$8(ctx) {
|
|
6589
6593
|
};
|
6590
6594
|
}
|
6591
6595
|
|
6592
|
-
const func = i => i + 1;
|
6596
|
+
const func$1 = i => i + 1;
|
6593
6597
|
|
6594
|
-
function instance$
|
6598
|
+
function instance$9($$self, $$props, $$invalidate) {
|
6595
6599
|
let _value;
|
6596
6600
|
let $value;
|
6597
6601
|
let { name = '' } = $$props;
|
@@ -6658,8 +6662,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
6658
6662
|
init(
|
6659
6663
|
this,
|
6660
6664
|
options,
|
6661
|
-
instance$
|
6662
|
-
create_fragment$
|
6665
|
+
instance$9,
|
6666
|
+
create_fragment$9,
|
6663
6667
|
safe_not_equal,
|
6664
6668
|
{
|
6665
6669
|
name: 5,
|
@@ -6668,11 +6672,188 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
6668
6672
|
buttonStyle: 7,
|
6669
6673
|
buttonActiveStyle: 8
|
6670
6674
|
},
|
6671
|
-
add_css$
|
6675
|
+
add_css$9
|
6672
6676
|
);
|
6673
6677
|
}
|
6674
6678
|
}
|
6675
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
|
+
|
6676
6857
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
6677
6858
|
|
6678
6859
|
function add_css$7(target) {
|
@@ -8315,4 +8496,4 @@ class ImageBlock extends SvelteComponent {
|
|
8315
8496
|
}
|
8316
8497
|
}
|
8317
8498
|
|
8318
|
-
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, 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 };
|
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 };
|