@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/hydrate/index.es.js
CHANGED
@@ -2288,20 +2288,20 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2288
2288
|
|
2289
2289
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2290
2290
|
|
2291
|
-
function add_css$
|
2291
|
+
function add_css$s(target) {
|
2292
2292
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2293
2293
|
}
|
2294
2294
|
|
2295
2295
|
class Normalize extends SvelteComponent {
|
2296
2296
|
constructor(options) {
|
2297
2297
|
super();
|
2298
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2298
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$s);
|
2299
2299
|
}
|
2300
2300
|
}
|
2301
2301
|
|
2302
2302
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2303
2303
|
|
2304
|
-
function create_fragment$
|
2304
|
+
function create_fragment$v(ctx) {
|
2305
2305
|
let normalize;
|
2306
2306
|
let t;
|
2307
2307
|
let current;
|
@@ -2365,7 +2365,7 @@ function create_fragment$u(ctx) {
|
|
2365
2365
|
};
|
2366
2366
|
}
|
2367
2367
|
|
2368
|
-
function instance$
|
2368
|
+
function instance$v($$self, $$props, $$invalidate) {
|
2369
2369
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2370
2370
|
|
2371
2371
|
$$self.$$set = $$props => {
|
@@ -2378,13 +2378,13 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
2378
2378
|
class State extends SvelteComponent {
|
2379
2379
|
constructor(options) {
|
2380
2380
|
super();
|
2381
|
-
init(this, options, instance$
|
2381
|
+
init(this, options, instance$v, create_fragment$v, safe_not_equal, {});
|
2382
2382
|
}
|
2383
2383
|
}
|
2384
2384
|
|
2385
2385
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2386
2386
|
|
2387
|
-
function add_css$
|
2387
|
+
function add_css$r(target) {
|
2388
2388
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2389
2389
|
}
|
2390
2390
|
|
@@ -2461,7 +2461,7 @@ function create_if_block$7(ctx) {
|
|
2461
2461
|
};
|
2462
2462
|
}
|
2463
2463
|
|
2464
|
-
function create_fragment$
|
2464
|
+
function create_fragment$u(ctx) {
|
2465
2465
|
let if_block_anchor;
|
2466
2466
|
let current;
|
2467
2467
|
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$7(ctx);
|
@@ -2526,7 +2526,7 @@ function getStateItemContext() {
|
|
2526
2526
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2527
2527
|
}
|
2528
2528
|
|
2529
|
-
function instance$
|
2529
|
+
function instance$u($$self, $$props, $$invalidate) {
|
2530
2530
|
let $state;
|
2531
2531
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2532
2532
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2552,13 +2552,13 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
2552
2552
|
class StateItem extends SvelteComponent {
|
2553
2553
|
constructor(options) {
|
2554
2554
|
super();
|
2555
|
-
init(this, options, instance$
|
2555
|
+
init(this, options, instance$u, create_fragment$u, safe_not_equal, { path: 0 }, add_css$r);
|
2556
2556
|
}
|
2557
2557
|
}
|
2558
2558
|
|
2559
2559
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2560
2560
|
|
2561
|
-
function add_css$
|
2561
|
+
function add_css$q(target) {
|
2562
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}");
|
2563
2563
|
}
|
2564
2564
|
|
@@ -2598,7 +2598,7 @@ function create_if_block$6(ctx) {
|
|
2598
2598
|
};
|
2599
2599
|
}
|
2600
2600
|
|
2601
|
-
function create_fragment$
|
2601
|
+
function create_fragment$t(ctx) {
|
2602
2602
|
let if_block_anchor;
|
2603
2603
|
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$6(ctx);
|
2604
2604
|
|
@@ -2638,7 +2638,7 @@ function create_fragment$s(ctx) {
|
|
2638
2638
|
};
|
2639
2639
|
}
|
2640
2640
|
|
2641
|
-
function instance$
|
2641
|
+
function instance$t($$self, $$props, $$invalidate) {
|
2642
2642
|
let { backgroundOverray = false } = $$props;
|
2643
2643
|
const dispatch = createEventDispatcher();
|
2644
2644
|
const click_handler = () => dispatch('click');
|
@@ -2653,13 +2653,13 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
2653
2653
|
class BackgroundOverray extends SvelteComponent {
|
2654
2654
|
constructor(options) {
|
2655
2655
|
super();
|
2656
|
-
init(this, options, instance$
|
2656
|
+
init(this, options, instance$t, create_fragment$t, safe_not_equal, { backgroundOverray: 0 }, add_css$q);
|
2657
2657
|
}
|
2658
2658
|
}
|
2659
2659
|
|
2660
2660
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
2661
2661
|
|
2662
|
-
function add_css$
|
2662
|
+
function add_css$p(target) {
|
2663
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}");
|
2664
2664
|
}
|
2665
2665
|
|
@@ -2889,7 +2889,7 @@ function create_if_block_1$1(ctx) {
|
|
2889
2889
|
};
|
2890
2890
|
}
|
2891
2891
|
|
2892
|
-
function create_fragment$
|
2892
|
+
function create_fragment$s(ctx) {
|
2893
2893
|
let backgroundoverray;
|
2894
2894
|
let t;
|
2895
2895
|
let if_block_anchor;
|
@@ -2988,7 +2988,7 @@ function create_fragment$r(ctx) {
|
|
2988
2988
|
};
|
2989
2989
|
}
|
2990
2990
|
|
2991
|
-
function instance$
|
2991
|
+
function instance$s($$self, $$props, $$invalidate) {
|
2992
2992
|
let click;
|
2993
2993
|
let close;
|
2994
2994
|
let closable;
|
@@ -3183,8 +3183,8 @@ class Modal extends SvelteComponent {
|
|
3183
3183
|
init(
|
3184
3184
|
this,
|
3185
3185
|
options,
|
3186
|
-
instance$
|
3187
|
-
create_fragment$
|
3186
|
+
instance$s,
|
3187
|
+
create_fragment$s,
|
3188
3188
|
safe_not_equal,
|
3189
3189
|
{
|
3190
3190
|
onClick: 17,
|
@@ -3200,14 +3200,14 @@ class Modal extends SvelteComponent {
|
|
3200
3200
|
closeButtonColor: 2,
|
3201
3201
|
_closeStyle: 3
|
3202
3202
|
},
|
3203
|
-
add_css$
|
3203
|
+
add_css$p
|
3204
3204
|
);
|
3205
3205
|
}
|
3206
3206
|
}
|
3207
3207
|
|
3208
3208
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
3209
3209
|
|
3210
|
-
function create_fragment$
|
3210
|
+
function create_fragment$r(ctx) {
|
3211
3211
|
let div;
|
3212
3212
|
let current;
|
3213
3213
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -3275,7 +3275,7 @@ function create_fragment$q(ctx) {
|
|
3275
3275
|
};
|
3276
3276
|
}
|
3277
3277
|
|
3278
|
-
function instance$
|
3278
|
+
function instance$r($$self, $$props, $$invalidate) {
|
3279
3279
|
let _style;
|
3280
3280
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3281
3281
|
let { width = '512px' } = $$props;
|
@@ -3320,7 +3320,7 @@ class Grid extends SvelteComponent {
|
|
3320
3320
|
constructor(options) {
|
3321
3321
|
super();
|
3322
3322
|
|
3323
|
-
init(this, options, instance$
|
3323
|
+
init(this, options, instance$r, create_fragment$r, safe_not_equal, {
|
3324
3324
|
width: 1,
|
3325
3325
|
height: 2,
|
3326
3326
|
rows: 3,
|
@@ -3511,7 +3511,7 @@ function create_default_slot(ctx) {
|
|
3511
3511
|
};
|
3512
3512
|
}
|
3513
3513
|
|
3514
|
-
function create_fragment$
|
3514
|
+
function create_fragment$q(ctx) {
|
3515
3515
|
let stateitem;
|
3516
3516
|
let current;
|
3517
3517
|
|
@@ -3559,7 +3559,7 @@ function create_fragment$p(ctx) {
|
|
3559
3559
|
};
|
3560
3560
|
}
|
3561
3561
|
|
3562
|
-
function instance$
|
3562
|
+
function instance$q($$self, $$props, $$invalidate) {
|
3563
3563
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3564
3564
|
let { path } = $$props;
|
3565
3565
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -3630,7 +3630,7 @@ class GridModalState extends SvelteComponent {
|
|
3630
3630
|
constructor(options) {
|
3631
3631
|
super();
|
3632
3632
|
|
3633
|
-
init(this, options, instance$
|
3633
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, {
|
3634
3634
|
path: 0,
|
3635
3635
|
onClick: 1,
|
3636
3636
|
clickEventName: 2,
|
@@ -3655,11 +3655,11 @@ class GridModalState extends SvelteComponent {
|
|
3655
3655
|
|
3656
3656
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
3657
3657
|
|
3658
|
-
function add_css$
|
3658
|
+
function add_css$o(target) {
|
3659
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}");
|
3660
3660
|
}
|
3661
3661
|
|
3662
|
-
function create_fragment$
|
3662
|
+
function create_fragment$p(ctx) {
|
3663
3663
|
let div1;
|
3664
3664
|
let div0;
|
3665
3665
|
let current;
|
@@ -3740,7 +3740,7 @@ function create_fragment$o(ctx) {
|
|
3740
3740
|
};
|
3741
3741
|
}
|
3742
3742
|
|
3743
|
-
function instance$
|
3743
|
+
function instance$p($$self, $$props, $$invalidate) {
|
3744
3744
|
let _style;
|
3745
3745
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3746
3746
|
let { x1 } = $$props;
|
@@ -3793,8 +3793,8 @@ class GridItem extends SvelteComponent {
|
|
3793
3793
|
init(
|
3794
3794
|
this,
|
3795
3795
|
options,
|
3796
|
-
instance$
|
3797
|
-
create_fragment$
|
3796
|
+
instance$p,
|
3797
|
+
create_fragment$p,
|
3798
3798
|
safe_not_equal,
|
3799
3799
|
{
|
3800
3800
|
x1: 2,
|
@@ -3804,18 +3804,18 @@ class GridItem extends SvelteComponent {
|
|
3804
3804
|
z: 6,
|
3805
3805
|
background: 7
|
3806
3806
|
},
|
3807
|
-
add_css$
|
3807
|
+
add_css$o
|
3808
3808
|
);
|
3809
3809
|
}
|
3810
3810
|
}
|
3811
3811
|
|
3812
3812
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
3813
3813
|
|
3814
|
-
function add_css$
|
3814
|
+
function add_css$n(target) {
|
3815
3815
|
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
3816
3816
|
}
|
3817
3817
|
|
3818
|
-
function create_fragment$
|
3818
|
+
function create_fragment$o(ctx) {
|
3819
3819
|
let div;
|
3820
3820
|
let div_style_value;
|
3821
3821
|
let current;
|
@@ -3890,7 +3890,7 @@ function getFlexContext() {
|
|
3890
3890
|
return getContext(FlexContextKey);
|
3891
3891
|
}
|
3892
3892
|
|
3893
|
-
function instance$
|
3893
|
+
function instance$o($$self, $$props, $$invalidate) {
|
3894
3894
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3895
3895
|
let { direction = 'row' } = $$props;
|
3896
3896
|
let { width = '100%' } = $$props;
|
@@ -3916,8 +3916,8 @@ class Flex extends SvelteComponent {
|
|
3916
3916
|
init(
|
3917
3917
|
this,
|
3918
3918
|
options,
|
3919
|
-
instance$
|
3920
|
-
create_fragment$
|
3919
|
+
instance$o,
|
3920
|
+
create_fragment$o,
|
3921
3921
|
safe_not_equal,
|
3922
3922
|
{
|
3923
3923
|
direction: 0,
|
@@ -3925,18 +3925,18 @@ class Flex extends SvelteComponent {
|
|
3925
3925
|
height: 2,
|
3926
3926
|
_style: 3
|
3927
3927
|
},
|
3928
|
-
add_css$
|
3928
|
+
add_css$n
|
3929
3929
|
);
|
3930
3930
|
}
|
3931
3931
|
}
|
3932
3932
|
|
3933
3933
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
3934
3934
|
|
3935
|
-
function add_css$
|
3935
|
+
function add_css$m(target) {
|
3936
3936
|
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
3937
3937
|
}
|
3938
3938
|
|
3939
|
-
function create_fragment$
|
3939
|
+
function create_fragment$n(ctx) {
|
3940
3940
|
let div;
|
3941
3941
|
let current;
|
3942
3942
|
const default_slot_template = /*#slots*/ ctx[4].default;
|
@@ -4004,7 +4004,7 @@ function create_fragment$m(ctx) {
|
|
4004
4004
|
};
|
4005
4005
|
}
|
4006
4006
|
|
4007
|
-
function instance$
|
4007
|
+
function instance$n($$self, $$props, $$invalidate) {
|
4008
4008
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4009
4009
|
let { length } = $$props;
|
4010
4010
|
let { _style = '' } = $$props;
|
@@ -4047,13 +4047,13 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
4047
4047
|
class FlexItem extends SvelteComponent {
|
4048
4048
|
constructor(options) {
|
4049
4049
|
super();
|
4050
|
-
init(this, options, instance$
|
4050
|
+
init(this, options, instance$n, create_fragment$n, safe_not_equal, { length: 1, _style: 2 }, add_css$m);
|
4051
4051
|
}
|
4052
4052
|
}
|
4053
4053
|
|
4054
4054
|
/* src/components/RenderText.svelte generated by Svelte v3.53.1 */
|
4055
4055
|
|
4056
|
-
function get_each_context$
|
4056
|
+
function get_each_context$6(ctx, list, i) {
|
4057
4057
|
const child_ctx = ctx.slice();
|
4058
4058
|
child_ctx[2] = list[i];
|
4059
4059
|
return child_ctx;
|
@@ -4105,7 +4105,7 @@ function create_if_block$4(ctx) {
|
|
4105
4105
|
}
|
4106
4106
|
|
4107
4107
|
// (9:0) {#each items as item}
|
4108
|
-
function create_each_block$
|
4108
|
+
function create_each_block$6(ctx) {
|
4109
4109
|
let show_if;
|
4110
4110
|
let if_block_anchor;
|
4111
4111
|
|
@@ -4152,13 +4152,13 @@ function create_each_block$5(ctx) {
|
|
4152
4152
|
};
|
4153
4153
|
}
|
4154
4154
|
|
4155
|
-
function create_fragment$
|
4155
|
+
function create_fragment$m(ctx) {
|
4156
4156
|
let each_1_anchor;
|
4157
4157
|
let each_value = /*items*/ ctx[0];
|
4158
4158
|
let each_blocks = [];
|
4159
4159
|
|
4160
4160
|
for (let i = 0; i < each_value.length; i += 1) {
|
4161
|
-
each_blocks[i] = create_each_block$
|
4161
|
+
each_blocks[i] = create_each_block$6(get_each_context$6(ctx, each_value, i));
|
4162
4162
|
}
|
4163
4163
|
|
4164
4164
|
return {
|
@@ -4189,12 +4189,12 @@ function create_fragment$l(ctx) {
|
|
4189
4189
|
let i;
|
4190
4190
|
|
4191
4191
|
for (i = 0; i < each_value.length; i += 1) {
|
4192
|
-
const child_ctx = get_each_context$
|
4192
|
+
const child_ctx = get_each_context$6(ctx, each_value, i);
|
4193
4193
|
|
4194
4194
|
if (each_blocks[i]) {
|
4195
4195
|
each_blocks[i].p(child_ctx, dirty);
|
4196
4196
|
} else {
|
4197
|
-
each_blocks[i] = create_each_block$
|
4197
|
+
each_blocks[i] = create_each_block$6(child_ctx);
|
4198
4198
|
each_blocks[i].c();
|
4199
4199
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
4200
4200
|
}
|
@@ -4218,7 +4218,7 @@ function create_fragment$l(ctx) {
|
|
4218
4218
|
|
4219
4219
|
const regexp = /(\r?\n)/;
|
4220
4220
|
|
4221
|
-
function instance$
|
4221
|
+
function instance$m($$self, $$props, $$invalidate) {
|
4222
4222
|
let items;
|
4223
4223
|
let { text = 'サンプルSample' } = $$props;
|
4224
4224
|
|
@@ -4238,13 +4238,13 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
4238
4238
|
class RenderText extends SvelteComponent {
|
4239
4239
|
constructor(options) {
|
4240
4240
|
super();
|
4241
|
-
init(this, options, instance$
|
4241
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, { text: 1 });
|
4242
4242
|
}
|
4243
4243
|
}
|
4244
4244
|
|
4245
4245
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4246
4246
|
|
4247
|
-
function add_css$
|
4247
|
+
function add_css$l(target) {
|
4248
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}");
|
4249
4249
|
}
|
4250
4250
|
|
@@ -4301,7 +4301,7 @@ function create_if_block$3(ctx) {
|
|
4301
4301
|
};
|
4302
4302
|
}
|
4303
4303
|
|
4304
|
-
function create_fragment$
|
4304
|
+
function create_fragment$l(ctx) {
|
4305
4305
|
let div2;
|
4306
4306
|
let div1;
|
4307
4307
|
let div0;
|
@@ -4404,7 +4404,7 @@ function create_fragment$k(ctx) {
|
|
4404
4404
|
};
|
4405
4405
|
}
|
4406
4406
|
|
4407
|
-
function instance$
|
4407
|
+
function instance$l($$self, $$props, $$invalidate) {
|
4408
4408
|
let style;
|
4409
4409
|
let { text = 'サンプルSample' } = $$props;
|
4410
4410
|
let { enableCopy = false } = $$props;
|
@@ -4484,8 +4484,8 @@ class TextElement extends SvelteComponent {
|
|
4484
4484
|
init(
|
4485
4485
|
this,
|
4486
4486
|
options,
|
4487
|
-
instance$
|
4488
|
-
create_fragment$
|
4487
|
+
instance$l,
|
4488
|
+
create_fragment$l,
|
4489
4489
|
safe_not_equal,
|
4490
4490
|
{
|
4491
4491
|
text: 0,
|
@@ -4494,18 +4494,18 @@ class TextElement extends SvelteComponent {
|
|
4494
4494
|
textDirection: 2,
|
4495
4495
|
_style: 8
|
4496
4496
|
},
|
4497
|
-
add_css$
|
4497
|
+
add_css$l
|
4498
4498
|
);
|
4499
4499
|
}
|
4500
4500
|
}
|
4501
4501
|
|
4502
4502
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4503
4503
|
|
4504
|
-
function add_css$
|
4504
|
+
function add_css$k(target) {
|
4505
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)}");
|
4506
4506
|
}
|
4507
4507
|
|
4508
|
-
function create_fragment$
|
4508
|
+
function create_fragment$k(ctx) {
|
4509
4509
|
let div;
|
4510
4510
|
let button;
|
4511
4511
|
let rendertext;
|
@@ -4594,7 +4594,7 @@ function create_fragment$j(ctx) {
|
|
4594
4594
|
};
|
4595
4595
|
}
|
4596
4596
|
|
4597
|
-
function instance$
|
4597
|
+
function instance$k($$self, $$props, $$invalidate) {
|
4598
4598
|
let disabled;
|
4599
4599
|
let $valuesAreValid;
|
4600
4600
|
let { text = 'ボタンラベル' } = $$props;
|
@@ -4659,8 +4659,8 @@ class TextButtonElement extends SvelteComponent {
|
|
4659
4659
|
init(
|
4660
4660
|
this,
|
4661
4661
|
options,
|
4662
|
-
instance$
|
4663
|
-
create_fragment$
|
4662
|
+
instance$k,
|
4663
|
+
create_fragment$k,
|
4664
4664
|
safe_not_equal,
|
4665
4665
|
{
|
4666
4666
|
text: 0,
|
@@ -4669,18 +4669,18 @@ class TextButtonElement extends SvelteComponent {
|
|
4669
4669
|
_buttonStyle: 1,
|
4670
4670
|
_style: 2
|
4671
4671
|
},
|
4672
|
-
add_css$
|
4672
|
+
add_css$k
|
4673
4673
|
);
|
4674
4674
|
}
|
4675
4675
|
}
|
4676
4676
|
|
4677
4677
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4678
4678
|
|
4679
|
-
function add_css$
|
4679
|
+
function add_css$j(target) {
|
4680
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)}");
|
4681
4681
|
}
|
4682
4682
|
|
4683
|
-
function create_fragment$
|
4683
|
+
function create_fragment$j(ctx) {
|
4684
4684
|
let div;
|
4685
4685
|
let img;
|
4686
4686
|
let img_src_value;
|
@@ -4762,7 +4762,7 @@ function create_fragment$i(ctx) {
|
|
4762
4762
|
};
|
4763
4763
|
}
|
4764
4764
|
|
4765
|
-
function instance$
|
4765
|
+
function instance$j($$self, $$props, $$invalidate) {
|
4766
4766
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
4767
4767
|
let { alt = 'No Image' } = $$props;
|
4768
4768
|
let { transport = false } = $$props;
|
@@ -4800,8 +4800,8 @@ class ImageElement extends SvelteComponent {
|
|
4800
4800
|
init(
|
4801
4801
|
this,
|
4802
4802
|
options,
|
4803
|
-
instance$
|
4804
|
-
create_fragment$
|
4803
|
+
instance$j,
|
4804
|
+
create_fragment$j,
|
4805
4805
|
safe_not_equal,
|
4806
4806
|
{
|
4807
4807
|
src: 0,
|
@@ -4812,18 +4812,18 @@ class ImageElement extends SvelteComponent {
|
|
4812
4812
|
_imageStyle: 3,
|
4813
4813
|
_style: 4
|
4814
4814
|
},
|
4815
|
-
add_css$
|
4815
|
+
add_css$j
|
4816
4816
|
);
|
4817
4817
|
}
|
4818
4818
|
}
|
4819
4819
|
|
4820
4820
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
4821
4821
|
|
4822
|
-
function add_css$
|
4822
|
+
function add_css$i(target) {
|
4823
4823
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
4824
4824
|
}
|
4825
4825
|
|
4826
|
-
function create_fragment$
|
4826
|
+
function create_fragment$i(ctx) {
|
4827
4827
|
let div;
|
4828
4828
|
let current;
|
4829
4829
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -4893,7 +4893,7 @@ function create_fragment$h(ctx) {
|
|
4893
4893
|
|
4894
4894
|
const LIST_CONTEXT_KEY = Symbol();
|
4895
4895
|
|
4896
|
-
function instance$
|
4896
|
+
function instance$i($$self, $$props, $$invalidate) {
|
4897
4897
|
let style;
|
4898
4898
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4899
4899
|
let { direction = 'vertical' } = $$props;
|
@@ -4960,8 +4960,8 @@ class List extends SvelteComponent {
|
|
4960
4960
|
init(
|
4961
4961
|
this,
|
4962
4962
|
options,
|
4963
|
-
instance$
|
4964
|
-
create_fragment$
|
4963
|
+
instance$i,
|
4964
|
+
create_fragment$i,
|
4965
4965
|
safe_not_equal,
|
4966
4966
|
{
|
4967
4967
|
direction: 1,
|
@@ -4969,18 +4969,18 @@ class List extends SvelteComponent {
|
|
4969
4969
|
background: 3,
|
4970
4970
|
_style: 4
|
4971
4971
|
},
|
4972
|
-
add_css$
|
4972
|
+
add_css$i
|
4973
4973
|
);
|
4974
4974
|
}
|
4975
4975
|
}
|
4976
4976
|
|
4977
4977
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4978
4978
|
|
4979
|
-
function add_css$
|
4979
|
+
function add_css$h(target) {
|
4980
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}");
|
4981
4981
|
}
|
4982
4982
|
|
4983
|
-
function create_fragment$
|
4983
|
+
function create_fragment$h(ctx) {
|
4984
4984
|
let div1;
|
4985
4985
|
let div0;
|
4986
4986
|
let current;
|
@@ -5074,7 +5074,7 @@ function create_fragment$g(ctx) {
|
|
5074
5074
|
};
|
5075
5075
|
}
|
5076
5076
|
|
5077
|
-
function instance$
|
5077
|
+
function instance$h($$self, $$props, $$invalidate) {
|
5078
5078
|
let click;
|
5079
5079
|
let listItemStyle;
|
5080
5080
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -5164,17 +5164,17 @@ function instance$g($$self, $$props, $$invalidate) {
|
|
5164
5164
|
class ListItem extends SvelteComponent {
|
5165
5165
|
constructor(options) {
|
5166
5166
|
super();
|
5167
|
-
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);
|
5168
5168
|
}
|
5169
5169
|
}
|
5170
5170
|
|
5171
5171
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
5172
5172
|
|
5173
|
-
function add_css$
|
5173
|
+
function add_css$g(target) {
|
5174
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%}");
|
5175
5175
|
}
|
5176
5176
|
|
5177
|
-
function create_fragment$
|
5177
|
+
function create_fragment$g(ctx) {
|
5178
5178
|
let div;
|
5179
5179
|
|
5180
5180
|
return {
|
@@ -5210,7 +5210,7 @@ function create_fragment$f(ctx) {
|
|
5210
5210
|
};
|
5211
5211
|
}
|
5212
5212
|
|
5213
|
-
function instance$
|
5213
|
+
function instance$g($$self, $$props, $$invalidate) {
|
5214
5214
|
let { code } = $$props;
|
5215
5215
|
let { _style = "" } = $$props;
|
5216
5216
|
|
@@ -5225,17 +5225,17 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
5225
5225
|
class EmbedElement extends SvelteComponent {
|
5226
5226
|
constructor(options) {
|
5227
5227
|
super();
|
5228
|
-
init(this, options, instance$
|
5228
|
+
init(this, options, instance$g, create_fragment$g, safe_not_equal, { code: 0, _style: 1 }, add_css$g);
|
5229
5229
|
}
|
5230
5230
|
}
|
5231
5231
|
|
5232
5232
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
5233
5233
|
|
5234
|
-
function add_css$
|
5234
|
+
function add_css$f(target) {
|
5235
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%}");
|
5236
5236
|
}
|
5237
5237
|
|
5238
|
-
function create_fragment$
|
5238
|
+
function create_fragment$f(ctx) {
|
5239
5239
|
let div1;
|
5240
5240
|
let div0;
|
5241
5241
|
|
@@ -5277,7 +5277,7 @@ function create_fragment$e(ctx) {
|
|
5277
5277
|
};
|
5278
5278
|
}
|
5279
5279
|
|
5280
|
-
function instance$
|
5280
|
+
function instance$f($$self, $$props, $$invalidate) {
|
5281
5281
|
let $system;
|
5282
5282
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5283
5283
|
let { videoId = "sSgN-L4DU0c" } = $$props;
|
@@ -5456,8 +5456,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5456
5456
|
init(
|
5457
5457
|
this,
|
5458
5458
|
options,
|
5459
|
-
instance$
|
5460
|
-
create_fragment$
|
5459
|
+
instance$f,
|
5460
|
+
create_fragment$f,
|
5461
5461
|
safe_not_equal,
|
5462
5462
|
{
|
5463
5463
|
videoId: 2,
|
@@ -5467,18 +5467,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5467
5467
|
mute: 6,
|
5468
5468
|
_style: 0
|
5469
5469
|
},
|
5470
|
-
add_css$
|
5470
|
+
add_css$f
|
5471
5471
|
);
|
5472
5472
|
}
|
5473
5473
|
}
|
5474
5474
|
|
5475
5475
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5476
5476
|
|
5477
|
-
function add_css$
|
5477
|
+
function add_css$e(target) {
|
5478
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%}");
|
5479
5479
|
}
|
5480
5480
|
|
5481
|
-
function create_fragment$
|
5481
|
+
function create_fragment$e(ctx) {
|
5482
5482
|
let div1;
|
5483
5483
|
let div0;
|
5484
5484
|
|
@@ -5520,7 +5520,7 @@ function create_fragment$d(ctx) {
|
|
5520
5520
|
};
|
5521
5521
|
}
|
5522
5522
|
|
5523
|
-
function instance$
|
5523
|
+
function instance$e($$self, $$props, $$invalidate) {
|
5524
5524
|
let $system;
|
5525
5525
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5526
5526
|
let { videoId = "201239468" } = $$props;
|
@@ -5663,8 +5663,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5663
5663
|
init(
|
5664
5664
|
this,
|
5665
5665
|
options,
|
5666
|
-
instance$
|
5667
|
-
create_fragment$
|
5666
|
+
instance$e,
|
5667
|
+
create_fragment$e,
|
5668
5668
|
safe_not_equal,
|
5669
5669
|
{
|
5670
5670
|
videoId: 2,
|
@@ -5674,18 +5674,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5674
5674
|
mute: 6,
|
5675
5675
|
_style: 0
|
5676
5676
|
},
|
5677
|
-
add_css$
|
5677
|
+
add_css$e
|
5678
5678
|
);
|
5679
5679
|
}
|
5680
5680
|
}
|
5681
5681
|
|
5682
5682
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
5683
5683
|
|
5684
|
-
function add_css$
|
5684
|
+
function add_css$d(target) {
|
5685
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}");
|
5686
5686
|
}
|
5687
5687
|
|
5688
|
-
function create_fragment$
|
5688
|
+
function create_fragment$d(ctx) {
|
5689
5689
|
let div;
|
5690
5690
|
let textarea;
|
5691
5691
|
let mounted;
|
@@ -5755,7 +5755,7 @@ function create_fragment$c(ctx) {
|
|
5755
5755
|
};
|
5756
5756
|
}
|
5757
5757
|
|
5758
|
-
function instance$
|
5758
|
+
function instance$d($$self, $$props, $$invalidate) {
|
5759
5759
|
let $value;
|
5760
5760
|
let { name = '' } = $$props;
|
5761
5761
|
let { required = true } = $$props;
|
@@ -5796,8 +5796,8 @@ class FormTextarea extends SvelteComponent {
|
|
5796
5796
|
init(
|
5797
5797
|
this,
|
5798
5798
|
options,
|
5799
|
-
instance$
|
5800
|
-
create_fragment$
|
5799
|
+
instance$d,
|
5800
|
+
create_fragment$d,
|
5801
5801
|
safe_not_equal,
|
5802
5802
|
{
|
5803
5803
|
name: 6,
|
@@ -5805,18 +5805,18 @@ class FormTextarea extends SvelteComponent {
|
|
5805
5805
|
rows: 1,
|
5806
5806
|
placeholder: 2
|
5807
5807
|
},
|
5808
|
-
add_css$
|
5808
|
+
add_css$d
|
5809
5809
|
);
|
5810
5810
|
}
|
5811
5811
|
}
|
5812
5812
|
|
5813
5813
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5814
5814
|
|
5815
|
-
function add_css$
|
5815
|
+
function add_css$c(target) {
|
5816
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}");
|
5817
5817
|
}
|
5818
5818
|
|
5819
|
-
function get_each_context$
|
5819
|
+
function get_each_context$5(ctx, list, i) {
|
5820
5820
|
const child_ctx = ctx.slice();
|
5821
5821
|
child_ctx[15] = list[i];
|
5822
5822
|
child_ctx[17] = i;
|
@@ -5824,7 +5824,7 @@ function get_each_context$4(ctx, list, i) {
|
|
5824
5824
|
}
|
5825
5825
|
|
5826
5826
|
// (88:2) {#each _options as option, i}
|
5827
|
-
function create_each_block$
|
5827
|
+
function create_each_block$5(ctx) {
|
5828
5828
|
let label;
|
5829
5829
|
let input;
|
5830
5830
|
let input_value_value;
|
@@ -5924,13 +5924,13 @@ function create_each_block$4(ctx) {
|
|
5924
5924
|
};
|
5925
5925
|
}
|
5926
5926
|
|
5927
|
-
function create_fragment$
|
5927
|
+
function create_fragment$c(ctx) {
|
5928
5928
|
let div;
|
5929
5929
|
let each_value = /*_options*/ ctx[4];
|
5930
5930
|
let each_blocks = [];
|
5931
5931
|
|
5932
5932
|
for (let i = 0; i < each_value.length; i += 1) {
|
5933
|
-
each_blocks[i] = create_each_block$
|
5933
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
5934
5934
|
}
|
5935
5935
|
|
5936
5936
|
return {
|
@@ -5971,12 +5971,12 @@ function create_fragment$b(ctx) {
|
|
5971
5971
|
let i;
|
5972
5972
|
|
5973
5973
|
for (i = 0; i < each_value.length; i += 1) {
|
5974
|
-
const child_ctx = get_each_context$
|
5974
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
5975
5975
|
|
5976
5976
|
if (each_blocks[i]) {
|
5977
5977
|
each_blocks[i].p(child_ctx, dirty);
|
5978
5978
|
} else {
|
5979
|
-
each_blocks[i] = create_each_block$
|
5979
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
5980
5980
|
each_blocks[i].c();
|
5981
5981
|
each_blocks[i].m(div, null);
|
5982
5982
|
}
|
@@ -6002,7 +6002,7 @@ function create_fragment$b(ctx) {
|
|
6002
6002
|
};
|
6003
6003
|
}
|
6004
6004
|
|
6005
|
-
function instance$
|
6005
|
+
function instance$c($$self, $$props, $$invalidate) {
|
6006
6006
|
let _options;
|
6007
6007
|
let buttonStyle;
|
6008
6008
|
let _value;
|
@@ -6093,8 +6093,8 @@ class FormRadioButtons extends SvelteComponent {
|
|
6093
6093
|
init(
|
6094
6094
|
this,
|
6095
6095
|
options,
|
6096
|
-
instance$
|
6097
|
-
create_fragment$
|
6096
|
+
instance$c,
|
6097
|
+
create_fragment$c,
|
6098
6098
|
safe_not_equal,
|
6099
6099
|
{
|
6100
6100
|
name: 0,
|
@@ -6106,25 +6106,25 @@ class FormRadioButtons extends SvelteComponent {
|
|
6106
6106
|
buttonColor: 11,
|
6107
6107
|
buttonColorActive: 12
|
6108
6108
|
},
|
6109
|
-
add_css$
|
6109
|
+
add_css$c
|
6110
6110
|
);
|
6111
6111
|
}
|
6112
6112
|
}
|
6113
6113
|
|
6114
6114
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
6115
6115
|
|
6116
|
-
function add_css$
|
6117
|
-
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}");
|
6118
6118
|
}
|
6119
6119
|
|
6120
|
-
function get_each_context$
|
6120
|
+
function get_each_context$4(ctx, list, i) {
|
6121
6121
|
const child_ctx = ctx.slice();
|
6122
|
-
child_ctx[
|
6123
|
-
child_ctx[
|
6122
|
+
child_ctx[18] = list[i];
|
6123
|
+
child_ctx[20] = i;
|
6124
6124
|
return child_ctx;
|
6125
6125
|
}
|
6126
6126
|
|
6127
|
-
// (
|
6127
|
+
// (100:10) {:else}
|
6128
6128
|
function create_else_block(ctx) {
|
6129
6129
|
let t;
|
6130
6130
|
|
@@ -6147,9 +6147,9 @@ function create_else_block(ctx) {
|
|
6147
6147
|
};
|
6148
6148
|
}
|
6149
6149
|
|
6150
|
-
// (
|
6150
|
+
// (98:10) {#if option}
|
6151
6151
|
function create_if_block$2(ctx) {
|
6152
|
-
let t_value = /*option*/ ctx[
|
6152
|
+
let t_value = /*option*/ ctx[18] + "";
|
6153
6153
|
let t;
|
6154
6154
|
|
6155
6155
|
return {
|
@@ -6163,7 +6163,7 @@ function create_if_block$2(ctx) {
|
|
6163
6163
|
insert_hydration(target, t, anchor);
|
6164
6164
|
},
|
6165
6165
|
p(ctx, dirty) {
|
6166
|
-
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);
|
6167
6167
|
},
|
6168
6168
|
d(detaching) {
|
6169
6169
|
if (detaching) detach(t);
|
@@ -6171,15 +6171,15 @@ function create_if_block$2(ctx) {
|
|
6171
6171
|
};
|
6172
6172
|
}
|
6173
6173
|
|
6174
|
-
// (
|
6175
|
-
function create_each_block$
|
6174
|
+
// (96:6) {#each _options as option, i}
|
6175
|
+
function create_each_block$4(ctx) {
|
6176
6176
|
let option;
|
6177
6177
|
let t;
|
6178
6178
|
let option_value_value;
|
6179
6179
|
let option_selected_value;
|
6180
6180
|
|
6181
6181
|
function select_block_type(ctx, dirty) {
|
6182
|
-
if (/*option*/ ctx[
|
6182
|
+
if (/*option*/ ctx[18]) return create_if_block$2;
|
6183
6183
|
return create_else_block;
|
6184
6184
|
}
|
6185
6185
|
|
@@ -6202,9 +6202,9 @@ function create_each_block$3(ctx) {
|
|
6202
6202
|
this.h();
|
6203
6203
|
},
|
6204
6204
|
h() {
|
6205
|
-
option.__value = option_value_value = /*option*/ ctx[
|
6205
|
+
option.__value = option_value_value = /*option*/ ctx[18];
|
6206
6206
|
option.value = option.__value;
|
6207
|
-
option.selected = option_selected_value = /*option*/ ctx[
|
6207
|
+
option.selected = option_selected_value = /*option*/ ctx[18] === /*_value*/ ctx[1];
|
6208
6208
|
},
|
6209
6209
|
m(target, anchor) {
|
6210
6210
|
insert_hydration(target, option, anchor);
|
@@ -6224,12 +6224,12 @@ function create_each_block$3(ctx) {
|
|
6224
6224
|
}
|
6225
6225
|
}
|
6226
6226
|
|
6227
|
-
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])) {
|
6228
6228
|
option.__value = option_value_value;
|
6229
6229
|
option.value = option.__value;
|
6230
6230
|
}
|
6231
6231
|
|
6232
|
-
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])) {
|
6233
6233
|
option.selected = option_selected_value;
|
6234
6234
|
}
|
6235
6235
|
},
|
@@ -6240,7 +6240,7 @@ function create_each_block$3(ctx) {
|
|
6240
6240
|
};
|
6241
6241
|
}
|
6242
6242
|
|
6243
|
-
function create_fragment$
|
6243
|
+
function create_fragment$b(ctx) {
|
6244
6244
|
let div1;
|
6245
6245
|
let select;
|
6246
6246
|
let t;
|
@@ -6251,7 +6251,7 @@ function create_fragment$a(ctx) {
|
|
6251
6251
|
let each_blocks = [];
|
6252
6252
|
|
6253
6253
|
for (let i = 0; i < each_value.length; i += 1) {
|
6254
|
-
each_blocks[i] = create_each_block$
|
6254
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
6255
6255
|
}
|
6256
6256
|
|
6257
6257
|
return {
|
@@ -6285,10 +6285,10 @@ function create_fragment$a(ctx) {
|
|
6285
6285
|
this.h();
|
6286
6286
|
},
|
6287
6287
|
h() {
|
6288
|
-
attr(select, "class", "select-select svelte-
|
6288
|
+
attr(select, "class", "select-select svelte-1n4ag74");
|
6289
6289
|
attr(select, "style", /*style*/ ctx[3]);
|
6290
|
-
attr(div0, "class", "select-icon svelte-
|
6291
|
-
attr(div1, "class", "select svelte-
|
6290
|
+
attr(div0, "class", "select-icon svelte-1n4ag74");
|
6291
|
+
attr(div1, "class", "select svelte-1n4ag74");
|
6292
6292
|
attr(div1, "style", /*styleVariables*/ ctx[2]);
|
6293
6293
|
},
|
6294
6294
|
m(target, anchor) {
|
@@ -6313,12 +6313,12 @@ function create_fragment$a(ctx) {
|
|
6313
6313
|
let i;
|
6314
6314
|
|
6315
6315
|
for (i = 0; i < each_value.length; i += 1) {
|
6316
|
-
const child_ctx = get_each_context$
|
6316
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
6317
6317
|
|
6318
6318
|
if (each_blocks[i]) {
|
6319
6319
|
each_blocks[i].p(child_ctx, dirty);
|
6320
6320
|
} else {
|
6321
|
-
each_blocks[i] = create_each_block$
|
6321
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
6322
6322
|
each_blocks[i].c();
|
6323
6323
|
each_blocks[i].m(select, null);
|
6324
6324
|
}
|
@@ -6350,7 +6350,7 @@ function create_fragment$a(ctx) {
|
|
6350
6350
|
};
|
6351
6351
|
}
|
6352
6352
|
|
6353
|
-
function instance$
|
6353
|
+
function instance$b($$self, $$props, $$invalidate) {
|
6354
6354
|
let _options;
|
6355
6355
|
let style;
|
6356
6356
|
let styleVariables;
|
@@ -6364,7 +6364,8 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6364
6364
|
let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
|
6365
6365
|
let { _textStyle = 'font-size: 12px;' } = $$props;
|
6366
6366
|
let { _placeholderStyle = 'color: #ccc;' } = $$props;
|
6367
|
-
let {
|
6367
|
+
let { iconColor = 'rgba(0, 16, 14, 0.8)' } = $$props;
|
6368
|
+
let { iconSize = '12px' } = $$props;
|
6368
6369
|
const { path: statePath } = getStateItemContext();
|
6369
6370
|
|
6370
6371
|
const value = registerInput({
|
@@ -6377,7 +6378,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6377
6378
|
}
|
6378
6379
|
});
|
6379
6380
|
|
6380
|
-
component_subscribe($$self, value, value => $$invalidate(
|
6381
|
+
component_subscribe($$self, value, value => $$invalidate(16, $value = value));
|
6381
6382
|
|
6382
6383
|
function handleChange(event) {
|
6383
6384
|
const updated = event.target.value ? [event.target.value] : [];
|
@@ -6393,7 +6394,8 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6393
6394
|
if ('_focusStyle' in $$props) $$invalidate(11, _focusStyle = $$props._focusStyle);
|
6394
6395
|
if ('_textStyle' in $$props) $$invalidate(12, _textStyle = $$props._textStyle);
|
6395
6396
|
if ('_placeholderStyle' in $$props) $$invalidate(13, _placeholderStyle = $$props._placeholderStyle);
|
6396
|
-
if ('
|
6397
|
+
if ('iconColor' in $$props) $$invalidate(14, iconColor = $$props.iconColor);
|
6398
|
+
if ('iconSize' in $$props) $$invalidate(15, iconSize = $$props.iconSize);
|
6397
6399
|
};
|
6398
6400
|
|
6399
6401
|
$$self.$$.update = () => {
|
@@ -6401,7 +6403,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6401
6403
|
$$invalidate(4, _options = ['', ...options.split(',')]);
|
6402
6404
|
}
|
6403
6405
|
|
6404
|
-
if ($$self.$$.dirty & /*$value*/
|
6406
|
+
if ($$self.$$.dirty & /*$value*/ 65536) {
|
6405
6407
|
$$invalidate(1, _value = $value[0]);
|
6406
6408
|
}
|
6407
6409
|
|
@@ -6413,17 +6415,17 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6413
6415
|
].join(';'));
|
6414
6416
|
}
|
6415
6417
|
|
6416
|
-
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle,
|
6418
|
+
if ($$self.$$.dirty & /*_focusStyle, _placeholderStyle, iconColor, iconSize*/ 59392) {
|
6417
6419
|
$$invalidate(2, styleVariables = (() => {
|
6418
6420
|
const variables = {};
|
6419
6421
|
const focusStyleObj = parseStyle(_focusStyle);
|
6420
6422
|
const placeholderStyle = parseStyle(_placeholderStyle);
|
6421
|
-
const iconStyleObj = parseStyle(_iconStyle);
|
6422
6423
|
if (focusStyleObj['border-width']) variables['--focus-border-width'] = focusStyleObj['border-width'];
|
6423
6424
|
if (focusStyleObj['border-color']) variables['--focus-border-color'] = focusStyleObj['border-color'];
|
6424
6425
|
if (focusStyleObj['border-style']) variables['--focus-border-style'] = focusStyleObj['border-style'];
|
6425
6426
|
if (placeholderStyle.color) variables['--placeholder-color'] = placeholderStyle.color;
|
6426
|
-
|
6427
|
+
variables['--icon-color'] = iconColor;
|
6428
|
+
variables['--icon-size'] = iconSize;
|
6427
6429
|
return stringifyStyleObj(variables);
|
6428
6430
|
})());
|
6429
6431
|
}
|
@@ -6444,7 +6446,8 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
6444
6446
|
_focusStyle,
|
6445
6447
|
_textStyle,
|
6446
6448
|
_placeholderStyle,
|
6447
|
-
|
6449
|
+
iconColor,
|
6450
|
+
iconSize,
|
6448
6451
|
$value
|
6449
6452
|
];
|
6450
6453
|
}
|
@@ -6456,8 +6459,8 @@ class FormSelect extends SvelteComponent {
|
|
6456
6459
|
init(
|
6457
6460
|
this,
|
6458
6461
|
options,
|
6459
|
-
instance$
|
6460
|
-
create_fragment$
|
6462
|
+
instance$b,
|
6463
|
+
create_fragment$b,
|
6461
6464
|
safe_not_equal,
|
6462
6465
|
{
|
6463
6466
|
name: 7,
|
@@ -6468,20 +6471,21 @@ class FormSelect extends SvelteComponent {
|
|
6468
6471
|
_focusStyle: 11,
|
6469
6472
|
_textStyle: 12,
|
6470
6473
|
_placeholderStyle: 13,
|
6471
|
-
|
6474
|
+
iconColor: 14,
|
6475
|
+
iconSize: 15
|
6472
6476
|
},
|
6473
|
-
add_css$
|
6477
|
+
add_css$b
|
6474
6478
|
);
|
6475
6479
|
}
|
6476
6480
|
}
|
6477
6481
|
|
6478
6482
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6479
6483
|
|
6480
|
-
function add_css$
|
6484
|
+
function add_css$a(target) {
|
6481
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}");
|
6482
6486
|
}
|
6483
6487
|
|
6484
|
-
function get_each_context$
|
6488
|
+
function get_each_context$3(ctx, list, i) {
|
6485
6489
|
const child_ctx = ctx.slice();
|
6486
6490
|
child_ctx[15] = list[i];
|
6487
6491
|
child_ctx[17] = i;
|
@@ -6489,7 +6493,7 @@ function get_each_context$2(ctx, list, i) {
|
|
6489
6493
|
}
|
6490
6494
|
|
6491
6495
|
// (94:2) {#each _options as option, i}
|
6492
|
-
function create_each_block$
|
6496
|
+
function create_each_block$3(ctx) {
|
6493
6497
|
let label;
|
6494
6498
|
let input;
|
6495
6499
|
let input_checked_value;
|
@@ -6605,13 +6609,13 @@ function create_each_block$2(ctx) {
|
|
6605
6609
|
};
|
6606
6610
|
}
|
6607
6611
|
|
6608
|
-
function create_fragment$
|
6612
|
+
function create_fragment$a(ctx) {
|
6609
6613
|
let div;
|
6610
6614
|
let each_value = /*_options*/ ctx[3];
|
6611
6615
|
let each_blocks = [];
|
6612
6616
|
|
6613
6617
|
for (let i = 0; i < each_value.length; i += 1) {
|
6614
|
-
each_blocks[i] = create_each_block$
|
6618
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
6615
6619
|
}
|
6616
6620
|
|
6617
6621
|
return {
|
@@ -6652,12 +6656,12 @@ function create_fragment$9(ctx) {
|
|
6652
6656
|
let i;
|
6653
6657
|
|
6654
6658
|
for (i = 0; i < each_value.length; i += 1) {
|
6655
|
-
const child_ctx = get_each_context$
|
6659
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
6656
6660
|
|
6657
6661
|
if (each_blocks[i]) {
|
6658
6662
|
each_blocks[i].p(child_ctx, dirty);
|
6659
6663
|
} else {
|
6660
|
-
each_blocks[i] = create_each_block$
|
6664
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
6661
6665
|
each_blocks[i].c();
|
6662
6666
|
each_blocks[i].m(div, null);
|
6663
6667
|
}
|
@@ -6683,7 +6687,7 @@ function create_fragment$9(ctx) {
|
|
6683
6687
|
};
|
6684
6688
|
}
|
6685
6689
|
|
6686
|
-
function instance$
|
6690
|
+
function instance$a($$self, $$props, $$invalidate) {
|
6687
6691
|
let _options;
|
6688
6692
|
let styleVariables;
|
6689
6693
|
let isCheckedArray;
|
@@ -6780,8 +6784,8 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6780
6784
|
init(
|
6781
6785
|
this,
|
6782
6786
|
options,
|
6783
|
-
instance$
|
6784
|
-
create_fragment$
|
6787
|
+
instance$a,
|
6788
|
+
create_fragment$a,
|
6785
6789
|
safe_not_equal,
|
6786
6790
|
{
|
6787
6791
|
name: 0,
|
@@ -6793,25 +6797,25 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6793
6797
|
buttonColor: 11,
|
6794
6798
|
buttonColorActive: 12
|
6795
6799
|
},
|
6796
|
-
add_css$
|
6800
|
+
add_css$a
|
6797
6801
|
);
|
6798
6802
|
}
|
6799
6803
|
}
|
6800
6804
|
|
6801
6805
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
6802
6806
|
|
6803
|
-
function add_css$
|
6807
|
+
function add_css$9(target) {
|
6804
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}");
|
6805
6809
|
}
|
6806
6810
|
|
6807
|
-
function get_each_context$
|
6811
|
+
function get_each_context$2(ctx, list, i) {
|
6808
6812
|
const child_ctx = ctx.slice();
|
6809
6813
|
child_ctx[11] = list[i];
|
6810
6814
|
return child_ctx;
|
6811
6815
|
}
|
6812
6816
|
|
6813
6817
|
// (50:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6814
|
-
function create_each_block$
|
6818
|
+
function create_each_block$2(ctx) {
|
6815
6819
|
let div;
|
6816
6820
|
let t0_value = /*i*/ ctx[11] + "";
|
6817
6821
|
let t0;
|
@@ -6868,13 +6872,13 @@ function create_each_block$1(ctx) {
|
|
6868
6872
|
};
|
6869
6873
|
}
|
6870
6874
|
|
6871
|
-
function create_fragment$
|
6875
|
+
function create_fragment$9(ctx) {
|
6872
6876
|
let div;
|
6873
|
-
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6877
|
+
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6874
6878
|
let each_blocks = [];
|
6875
6879
|
|
6876
6880
|
for (let i = 0; i < each_value.length; i += 1) {
|
6877
|
-
each_blocks[i] = create_each_block$
|
6881
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
6878
6882
|
}
|
6879
6883
|
|
6880
6884
|
return {
|
@@ -6910,16 +6914,16 @@ function create_fragment$8(ctx) {
|
|
6910
6914
|
},
|
6911
6915
|
p(ctx, [dirty]) {
|
6912
6916
|
if (dirty & /*getTextButtonStyle, Array, count, _value, handleClick*/ 27) {
|
6913
|
-
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6917
|
+
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
6914
6918
|
let i;
|
6915
6919
|
|
6916
6920
|
for (i = 0; i < each_value.length; i += 1) {
|
6917
|
-
const child_ctx = get_each_context$
|
6921
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
6918
6922
|
|
6919
6923
|
if (each_blocks[i]) {
|
6920
6924
|
each_blocks[i].p(child_ctx, dirty);
|
6921
6925
|
} else {
|
6922
|
-
each_blocks[i] = create_each_block$
|
6926
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
6923
6927
|
each_blocks[i].c();
|
6924
6928
|
each_blocks[i].m(div, null);
|
6925
6929
|
}
|
@@ -6941,9 +6945,9 @@ function create_fragment$8(ctx) {
|
|
6941
6945
|
};
|
6942
6946
|
}
|
6943
6947
|
|
6944
|
-
const func = i => i + 1;
|
6948
|
+
const func$1 = i => i + 1;
|
6945
6949
|
|
6946
|
-
function instance$
|
6950
|
+
function instance$9($$self, $$props, $$invalidate) {
|
6947
6951
|
let _value;
|
6948
6952
|
let $value;
|
6949
6953
|
let { name = '' } = $$props;
|
@@ -7010,8 +7014,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
7010
7014
|
init(
|
7011
7015
|
this,
|
7012
7016
|
options,
|
7013
|
-
instance$
|
7014
|
-
create_fragment$
|
7017
|
+
instance$9,
|
7018
|
+
create_fragment$9,
|
7015
7019
|
safe_not_equal,
|
7016
7020
|
{
|
7017
7021
|
name: 5,
|
@@ -7020,11 +7024,215 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
7020
7024
|
buttonStyle: 7,
|
7021
7025
|
buttonActiveStyle: 8
|
7022
7026
|
},
|
7023
|
-
add_css$
|
7027
|
+
add_css$9
|
7024
7028
|
);
|
7025
7029
|
}
|
7026
7030
|
}
|
7027
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
|
+
|
7028
7236
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
7029
7237
|
|
7030
7238
|
function add_css$7(target) {
|
@@ -8841,4 +9049,4 @@ class ImageBlock extends SvelteComponent {
|
|
8841
9049
|
}
|
8842
9050
|
}
|
8843
9051
|
|
8844
|
-
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 };
|
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 };
|