@plaidev/karte-action-sdk 1.1.119-27930513.338a563d → 1.1.119-27930648.52eb6a98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hydrate/index.es.d.ts +1 -0
- package/dist/hydrate/index.es.js +483 -146
- package/dist/index.es.d.ts +1 -0
- package/dist/index.es.js +417 -146
- package/dist/templates.js +1 -0
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -2052,20 +2052,20 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
2052
2052
|
|
2053
2053
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
2054
2054
|
|
2055
|
-
function add_css$
|
2055
|
+
function add_css$o(target) {
|
2056
2056
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
2057
2057
|
}
|
2058
2058
|
|
2059
2059
|
class Normalize extends SvelteComponent {
|
2060
2060
|
constructor(options) {
|
2061
2061
|
super();
|
2062
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
2062
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$o);
|
2063
2063
|
}
|
2064
2064
|
}
|
2065
2065
|
|
2066
2066
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2067
2067
|
|
2068
|
-
function create_fragment$
|
2068
|
+
function create_fragment$r(ctx) {
|
2069
2069
|
let normalize;
|
2070
2070
|
let t;
|
2071
2071
|
let current;
|
@@ -2129,7 +2129,7 @@ function create_fragment$q(ctx) {
|
|
2129
2129
|
};
|
2130
2130
|
}
|
2131
2131
|
|
2132
|
-
function instance$
|
2132
|
+
function instance$r($$self, $$props, $$invalidate) {
|
2133
2133
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2134
2134
|
|
2135
2135
|
$$self.$$set = $$props => {
|
@@ -2142,18 +2142,18 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
2142
2142
|
class State extends SvelteComponent {
|
2143
2143
|
constructor(options) {
|
2144
2144
|
super();
|
2145
|
-
init(this, options, instance$
|
2145
|
+
init(this, options, instance$r, create_fragment$r, safe_not_equal, {});
|
2146
2146
|
}
|
2147
2147
|
}
|
2148
2148
|
|
2149
2149
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2150
2150
|
|
2151
|
-
function add_css$
|
2151
|
+
function add_css$n(target) {
|
2152
2152
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
2153
2153
|
}
|
2154
2154
|
|
2155
2155
|
// (23:0) {#if $state === path}
|
2156
|
-
function create_if_block$
|
2156
|
+
function create_if_block$7(ctx) {
|
2157
2157
|
let div;
|
2158
2158
|
let t;
|
2159
2159
|
let current;
|
@@ -2225,10 +2225,10 @@ function create_if_block$6(ctx) {
|
|
2225
2225
|
};
|
2226
2226
|
}
|
2227
2227
|
|
2228
|
-
function create_fragment$
|
2228
|
+
function create_fragment$q(ctx) {
|
2229
2229
|
let if_block_anchor;
|
2230
2230
|
let current;
|
2231
|
-
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$
|
2231
|
+
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$7(ctx);
|
2232
2232
|
|
2233
2233
|
return {
|
2234
2234
|
c() {
|
@@ -2253,7 +2253,7 @@ function create_fragment$p(ctx) {
|
|
2253
2253
|
transition_in(if_block, 1);
|
2254
2254
|
}
|
2255
2255
|
} else {
|
2256
|
-
if_block = create_if_block$
|
2256
|
+
if_block = create_if_block$7(ctx);
|
2257
2257
|
if_block.c();
|
2258
2258
|
transition_in(if_block, 1);
|
2259
2259
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -2290,7 +2290,7 @@ function getStateItemContext() {
|
|
2290
2290
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2291
2291
|
}
|
2292
2292
|
|
2293
|
-
function instance$
|
2293
|
+
function instance$q($$self, $$props, $$invalidate) {
|
2294
2294
|
let $state;
|
2295
2295
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2296
2296
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2316,18 +2316,18 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
2316
2316
|
class StateItem extends SvelteComponent {
|
2317
2317
|
constructor(options) {
|
2318
2318
|
super();
|
2319
|
-
init(this, options, instance$
|
2319
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, { path: 0 }, add_css$n);
|
2320
2320
|
}
|
2321
2321
|
}
|
2322
2322
|
|
2323
2323
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
2324
2324
|
|
2325
|
-
function add_css$
|
2325
|
+
function add_css$m(target) {
|
2326
2326
|
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}");
|
2327
2327
|
}
|
2328
2328
|
|
2329
2329
|
// (9:0) {#if backgroundOverray}
|
2330
|
-
function create_if_block$
|
2330
|
+
function create_if_block$6(ctx) {
|
2331
2331
|
let div;
|
2332
2332
|
let mounted;
|
2333
2333
|
let dispose;
|
@@ -2362,9 +2362,9 @@ function create_if_block$5(ctx) {
|
|
2362
2362
|
};
|
2363
2363
|
}
|
2364
2364
|
|
2365
|
-
function create_fragment$
|
2365
|
+
function create_fragment$p(ctx) {
|
2366
2366
|
let if_block_anchor;
|
2367
|
-
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$
|
2367
|
+
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$6(ctx);
|
2368
2368
|
|
2369
2369
|
return {
|
2370
2370
|
c() {
|
@@ -2384,7 +2384,7 @@ function create_fragment$o(ctx) {
|
|
2384
2384
|
if (if_block) {
|
2385
2385
|
if_block.p(ctx, dirty);
|
2386
2386
|
} else {
|
2387
|
-
if_block = create_if_block$
|
2387
|
+
if_block = create_if_block$6(ctx);
|
2388
2388
|
if_block.c();
|
2389
2389
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
2390
2390
|
}
|
@@ -2402,7 +2402,7 @@ function create_fragment$o(ctx) {
|
|
2402
2402
|
};
|
2403
2403
|
}
|
2404
2404
|
|
2405
|
-
function instance$
|
2405
|
+
function instance$p($$self, $$props, $$invalidate) {
|
2406
2406
|
let { backgroundOverray = false } = $$props;
|
2407
2407
|
const dispatch = createEventDispatcher();
|
2408
2408
|
const click_handler = () => dispatch('click');
|
@@ -2417,18 +2417,18 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
2417
2417
|
class BackgroundOverray extends SvelteComponent {
|
2418
2418
|
constructor(options) {
|
2419
2419
|
super();
|
2420
|
-
init(this, options, instance$
|
2420
|
+
init(this, options, instance$p, create_fragment$p, safe_not_equal, { backgroundOverray: 0 }, add_css$m);
|
2421
2421
|
}
|
2422
2422
|
}
|
2423
2423
|
|
2424
2424
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
2425
2425
|
|
2426
|
-
function add_css$
|
2426
|
+
function add_css$l(target) {
|
2427
2427
|
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}");
|
2428
2428
|
}
|
2429
2429
|
|
2430
2430
|
// (142:0) {#if visible}
|
2431
|
-
function create_if_block$
|
2431
|
+
function create_if_block$5(ctx) {
|
2432
2432
|
let div1;
|
2433
2433
|
let t;
|
2434
2434
|
let div0;
|
@@ -2437,7 +2437,7 @@ function create_if_block$4(ctx) {
|
|
2437
2437
|
let current;
|
2438
2438
|
let mounted;
|
2439
2439
|
let dispose;
|
2440
|
-
let if_block = /*closable*/ ctx[14] && create_if_block_1$
|
2440
|
+
let if_block = /*closable*/ ctx[14] && create_if_block_1$2(ctx);
|
2441
2441
|
const default_slot_template = /*#slots*/ ctx[29].default;
|
2442
2442
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[28], null);
|
2443
2443
|
|
@@ -2504,7 +2504,7 @@ function create_if_block$4(ctx) {
|
|
2504
2504
|
if (if_block) {
|
2505
2505
|
if_block.p(ctx, dirty);
|
2506
2506
|
} else {
|
2507
|
-
if_block = create_if_block_1$
|
2507
|
+
if_block = create_if_block_1$2(ctx);
|
2508
2508
|
if_block.c();
|
2509
2509
|
if_block.m(div1, t);
|
2510
2510
|
}
|
@@ -2569,7 +2569,7 @@ function create_if_block$4(ctx) {
|
|
2569
2569
|
}
|
2570
2570
|
|
2571
2571
|
// (159:4) {#if closable}
|
2572
|
-
function create_if_block_1$
|
2572
|
+
function create_if_block_1$2(ctx) {
|
2573
2573
|
let button;
|
2574
2574
|
let svg;
|
2575
2575
|
let path;
|
@@ -2653,7 +2653,7 @@ function create_if_block_1$1(ctx) {
|
|
2653
2653
|
};
|
2654
2654
|
}
|
2655
2655
|
|
2656
|
-
function create_fragment$
|
2656
|
+
function create_fragment$o(ctx) {
|
2657
2657
|
let backgroundoverray;
|
2658
2658
|
let t;
|
2659
2659
|
let if_block_anchor;
|
@@ -2671,7 +2671,7 @@ function create_fragment$n(ctx) {
|
|
2671
2671
|
if (is_function(/*backgroundClick*/ ctx[12])) /*backgroundClick*/ ctx[12].apply(this, arguments);
|
2672
2672
|
});
|
2673
2673
|
|
2674
|
-
let if_block = /*visible*/ ctx[6] && create_if_block$
|
2674
|
+
let if_block = /*visible*/ ctx[6] && create_if_block$5(ctx);
|
2675
2675
|
|
2676
2676
|
return {
|
2677
2677
|
c() {
|
@@ -2715,7 +2715,7 @@ function create_fragment$n(ctx) {
|
|
2715
2715
|
transition_in(if_block, 1);
|
2716
2716
|
}
|
2717
2717
|
} else {
|
2718
|
-
if_block = create_if_block$
|
2718
|
+
if_block = create_if_block$5(ctx);
|
2719
2719
|
if_block.c();
|
2720
2720
|
transition_in(if_block, 1);
|
2721
2721
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -2752,7 +2752,7 @@ function create_fragment$n(ctx) {
|
|
2752
2752
|
};
|
2753
2753
|
}
|
2754
2754
|
|
2755
|
-
function instance$
|
2755
|
+
function instance$o($$self, $$props, $$invalidate) {
|
2756
2756
|
let click;
|
2757
2757
|
let close;
|
2758
2758
|
let closable;
|
@@ -2943,8 +2943,8 @@ class Modal extends SvelteComponent {
|
|
2943
2943
|
init(
|
2944
2944
|
this,
|
2945
2945
|
options,
|
2946
|
-
instance$
|
2947
|
-
create_fragment$
|
2946
|
+
instance$o,
|
2947
|
+
create_fragment$o,
|
2948
2948
|
safe_not_equal,
|
2949
2949
|
{
|
2950
2950
|
onClick: 17,
|
@@ -2960,14 +2960,14 @@ class Modal extends SvelteComponent {
|
|
2960
2960
|
closeButtonColor: 2,
|
2961
2961
|
_closeStyle: 3
|
2962
2962
|
},
|
2963
|
-
add_css$
|
2963
|
+
add_css$l
|
2964
2964
|
);
|
2965
2965
|
}
|
2966
2966
|
}
|
2967
2967
|
|
2968
2968
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
2969
2969
|
|
2970
|
-
function create_fragment$
|
2970
|
+
function create_fragment$n(ctx) {
|
2971
2971
|
let div;
|
2972
2972
|
let current;
|
2973
2973
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -3035,7 +3035,7 @@ function create_fragment$m(ctx) {
|
|
3035
3035
|
};
|
3036
3036
|
}
|
3037
3037
|
|
3038
|
-
function instance$
|
3038
|
+
function instance$n($$self, $$props, $$invalidate) {
|
3039
3039
|
let _style;
|
3040
3040
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3041
3041
|
let { width = '512px' } = $$props;
|
@@ -3080,7 +3080,7 @@ class Grid extends SvelteComponent {
|
|
3080
3080
|
constructor(options) {
|
3081
3081
|
super();
|
3082
3082
|
|
3083
|
-
init(this, options, instance$
|
3083
|
+
init(this, options, instance$n, create_fragment$n, safe_not_equal, {
|
3084
3084
|
width: 1,
|
3085
3085
|
height: 2,
|
3086
3086
|
rows: 3,
|
@@ -3271,7 +3271,7 @@ function create_default_slot(ctx) {
|
|
3271
3271
|
};
|
3272
3272
|
}
|
3273
3273
|
|
3274
|
-
function create_fragment$
|
3274
|
+
function create_fragment$m(ctx) {
|
3275
3275
|
let stateitem;
|
3276
3276
|
let current;
|
3277
3277
|
|
@@ -3319,7 +3319,7 @@ function create_fragment$l(ctx) {
|
|
3319
3319
|
};
|
3320
3320
|
}
|
3321
3321
|
|
3322
|
-
function instance$
|
3322
|
+
function instance$m($$self, $$props, $$invalidate) {
|
3323
3323
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3324
3324
|
let { path } = $$props;
|
3325
3325
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -3390,7 +3390,7 @@ class GridModalState extends SvelteComponent {
|
|
3390
3390
|
constructor(options) {
|
3391
3391
|
super();
|
3392
3392
|
|
3393
|
-
init(this, options, instance$
|
3393
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, {
|
3394
3394
|
path: 0,
|
3395
3395
|
onClick: 1,
|
3396
3396
|
clickEventName: 2,
|
@@ -3415,11 +3415,11 @@ class GridModalState extends SvelteComponent {
|
|
3415
3415
|
|
3416
3416
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
3417
3417
|
|
3418
|
-
function add_css$
|
3418
|
+
function add_css$k(target) {
|
3419
3419
|
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
3420
3420
|
}
|
3421
3421
|
|
3422
|
-
function create_fragment$
|
3422
|
+
function create_fragment$l(ctx) {
|
3423
3423
|
let div1;
|
3424
3424
|
let div0;
|
3425
3425
|
let current;
|
@@ -3500,7 +3500,7 @@ function create_fragment$k(ctx) {
|
|
3500
3500
|
};
|
3501
3501
|
}
|
3502
3502
|
|
3503
|
-
function instance$
|
3503
|
+
function instance$l($$self, $$props, $$invalidate) {
|
3504
3504
|
let _style;
|
3505
3505
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3506
3506
|
let { x1 } = $$props;
|
@@ -3553,8 +3553,8 @@ class GridItem extends SvelteComponent {
|
|
3553
3553
|
init(
|
3554
3554
|
this,
|
3555
3555
|
options,
|
3556
|
-
instance$
|
3557
|
-
create_fragment$
|
3556
|
+
instance$l,
|
3557
|
+
create_fragment$l,
|
3558
3558
|
safe_not_equal,
|
3559
3559
|
{
|
3560
3560
|
x1: 2,
|
@@ -3564,18 +3564,18 @@ class GridItem extends SvelteComponent {
|
|
3564
3564
|
z: 6,
|
3565
3565
|
background: 7
|
3566
3566
|
},
|
3567
|
-
add_css$
|
3567
|
+
add_css$k
|
3568
3568
|
);
|
3569
3569
|
}
|
3570
3570
|
}
|
3571
3571
|
|
3572
3572
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
3573
3573
|
|
3574
|
-
function add_css$
|
3574
|
+
function add_css$j(target) {
|
3575
3575
|
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
3576
3576
|
}
|
3577
3577
|
|
3578
|
-
function create_fragment$
|
3578
|
+
function create_fragment$k(ctx) {
|
3579
3579
|
let div;
|
3580
3580
|
let div_style_value;
|
3581
3581
|
let current;
|
@@ -3650,7 +3650,7 @@ function getFlexContext() {
|
|
3650
3650
|
return getContext(FlexContextKey);
|
3651
3651
|
}
|
3652
3652
|
|
3653
|
-
function instance$
|
3653
|
+
function instance$k($$self, $$props, $$invalidate) {
|
3654
3654
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3655
3655
|
let { direction = 'row' } = $$props;
|
3656
3656
|
let { width = '100%' } = $$props;
|
@@ -3676,8 +3676,8 @@ class Flex extends SvelteComponent {
|
|
3676
3676
|
init(
|
3677
3677
|
this,
|
3678
3678
|
options,
|
3679
|
-
instance$
|
3680
|
-
create_fragment$
|
3679
|
+
instance$k,
|
3680
|
+
create_fragment$k,
|
3681
3681
|
safe_not_equal,
|
3682
3682
|
{
|
3683
3683
|
direction: 0,
|
@@ -3685,18 +3685,18 @@ class Flex extends SvelteComponent {
|
|
3685
3685
|
height: 2,
|
3686
3686
|
_style: 3
|
3687
3687
|
},
|
3688
|
-
add_css$
|
3688
|
+
add_css$j
|
3689
3689
|
);
|
3690
3690
|
}
|
3691
3691
|
}
|
3692
3692
|
|
3693
3693
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
3694
3694
|
|
3695
|
-
function add_css$
|
3695
|
+
function add_css$i(target) {
|
3696
3696
|
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
3697
3697
|
}
|
3698
3698
|
|
3699
|
-
function create_fragment$
|
3699
|
+
function create_fragment$j(ctx) {
|
3700
3700
|
let div;
|
3701
3701
|
let current;
|
3702
3702
|
const default_slot_template = /*#slots*/ ctx[4].default;
|
@@ -3764,7 +3764,7 @@ function create_fragment$i(ctx) {
|
|
3764
3764
|
};
|
3765
3765
|
}
|
3766
3766
|
|
3767
|
-
function instance$
|
3767
|
+
function instance$j($$self, $$props, $$invalidate) {
|
3768
3768
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3769
3769
|
let { length } = $$props;
|
3770
3770
|
let { _style = '' } = $$props;
|
@@ -3807,13 +3807,13 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
3807
3807
|
class FlexItem extends SvelteComponent {
|
3808
3808
|
constructor(options) {
|
3809
3809
|
super();
|
3810
|
-
init(this, options, instance$
|
3810
|
+
init(this, options, instance$j, create_fragment$j, safe_not_equal, { length: 1, _style: 2 }, add_css$i);
|
3811
3811
|
}
|
3812
3812
|
}
|
3813
3813
|
|
3814
3814
|
/* src/components/RenderText.svelte generated by Svelte v3.53.1 */
|
3815
3815
|
|
3816
|
-
function get_each_context$
|
3816
|
+
function get_each_context$5(ctx, list, i) {
|
3817
3817
|
const child_ctx = ctx.slice();
|
3818
3818
|
child_ctx[2] = list[i];
|
3819
3819
|
return child_ctx;
|
@@ -3844,7 +3844,7 @@ function create_else_block$1(ctx) {
|
|
3844
3844
|
}
|
3845
3845
|
|
3846
3846
|
// (10:2) {#if item.match(regexp)}
|
3847
|
-
function create_if_block$
|
3847
|
+
function create_if_block$4(ctx) {
|
3848
3848
|
let br;
|
3849
3849
|
|
3850
3850
|
return {
|
@@ -3865,14 +3865,14 @@ function create_if_block$3(ctx) {
|
|
3865
3865
|
}
|
3866
3866
|
|
3867
3867
|
// (9:0) {#each items as item}
|
3868
|
-
function create_each_block$
|
3868
|
+
function create_each_block$5(ctx) {
|
3869
3869
|
let show_if;
|
3870
3870
|
let if_block_anchor;
|
3871
3871
|
|
3872
3872
|
function select_block_type(ctx, dirty) {
|
3873
3873
|
if (dirty & /*items*/ 1) show_if = null;
|
3874
3874
|
if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
|
3875
|
-
if (show_if) return create_if_block$
|
3875
|
+
if (show_if) return create_if_block$4;
|
3876
3876
|
return create_else_block$1;
|
3877
3877
|
}
|
3878
3878
|
|
@@ -3912,13 +3912,13 @@ function create_each_block$4(ctx) {
|
|
3912
3912
|
};
|
3913
3913
|
}
|
3914
3914
|
|
3915
|
-
function create_fragment$
|
3915
|
+
function create_fragment$i(ctx) {
|
3916
3916
|
let each_1_anchor;
|
3917
3917
|
let each_value = /*items*/ ctx[0];
|
3918
3918
|
let each_blocks = [];
|
3919
3919
|
|
3920
3920
|
for (let i = 0; i < each_value.length; i += 1) {
|
3921
|
-
each_blocks[i] = create_each_block$
|
3921
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
3922
3922
|
}
|
3923
3923
|
|
3924
3924
|
return {
|
@@ -3949,12 +3949,12 @@ function create_fragment$h(ctx) {
|
|
3949
3949
|
let i;
|
3950
3950
|
|
3951
3951
|
for (i = 0; i < each_value.length; i += 1) {
|
3952
|
-
const child_ctx = get_each_context$
|
3952
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
3953
3953
|
|
3954
3954
|
if (each_blocks[i]) {
|
3955
3955
|
each_blocks[i].p(child_ctx, dirty);
|
3956
3956
|
} else {
|
3957
|
-
each_blocks[i] = create_each_block$
|
3957
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
3958
3958
|
each_blocks[i].c();
|
3959
3959
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
3960
3960
|
}
|
@@ -3978,7 +3978,7 @@ function create_fragment$h(ctx) {
|
|
3978
3978
|
|
3979
3979
|
const regexp = /(\r?\n)/;
|
3980
3980
|
|
3981
|
-
function instance$
|
3981
|
+
function instance$i($$self, $$props, $$invalidate) {
|
3982
3982
|
let items;
|
3983
3983
|
let { text = 'サンプルSample' } = $$props;
|
3984
3984
|
|
@@ -3998,17 +3998,17 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
3998
3998
|
class RenderText extends SvelteComponent {
|
3999
3999
|
constructor(options) {
|
4000
4000
|
super();
|
4001
|
-
init(this, options, instance$
|
4001
|
+
init(this, options, instance$i, create_fragment$i, safe_not_equal, { text: 1 });
|
4002
4002
|
}
|
4003
4003
|
}
|
4004
4004
|
|
4005
4005
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4006
4006
|
|
4007
|
-
function add_css$
|
4007
|
+
function add_css$h(target) {
|
4008
4008
|
append_styles(target, "svelte-9en2jg", ".text-element.svelte-9en2jg.svelte-9en2jg{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-element-inner.svelte-9en2jg.svelte-9en2jg{width:100%;height:auto}.text-direction-vertical.svelte-9en2jg.svelte-9en2jg{writing-mode:vertical-rl}.text-direction-vertical.svelte-9en2jg .text-element-inner.svelte-9en2jg{width:auto;height:100%}");
|
4009
4009
|
}
|
4010
4010
|
|
4011
|
-
function create_fragment$
|
4011
|
+
function create_fragment$h(ctx) {
|
4012
4012
|
let div1;
|
4013
4013
|
let div0;
|
4014
4014
|
let rendertext;
|
@@ -4073,7 +4073,7 @@ function create_fragment$g(ctx) {
|
|
4073
4073
|
};
|
4074
4074
|
}
|
4075
4075
|
|
4076
|
-
function instance$
|
4076
|
+
function instance$h($$self, $$props, $$invalidate) {
|
4077
4077
|
let style;
|
4078
4078
|
let { text = 'サンプルSample' } = $$props;
|
4079
4079
|
let { _textStyle = 'font-size:12px;' } = $$props;
|
@@ -4103,8 +4103,8 @@ class TextElement extends SvelteComponent {
|
|
4103
4103
|
init(
|
4104
4104
|
this,
|
4105
4105
|
options,
|
4106
|
-
instance$
|
4107
|
-
create_fragment$
|
4106
|
+
instance$h,
|
4107
|
+
create_fragment$h,
|
4108
4108
|
safe_not_equal,
|
4109
4109
|
{
|
4110
4110
|
text: 0,
|
@@ -4112,18 +4112,18 @@ class TextElement extends SvelteComponent {
|
|
4112
4112
|
textDirection: 1,
|
4113
4113
|
_style: 4
|
4114
4114
|
},
|
4115
|
-
add_css$
|
4115
|
+
add_css$h
|
4116
4116
|
);
|
4117
4117
|
}
|
4118
4118
|
}
|
4119
4119
|
|
4120
4120
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4121
4121
|
|
4122
|
-
function add_css$
|
4122
|
+
function add_css$g(target) {
|
4123
4123
|
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)}");
|
4124
4124
|
}
|
4125
4125
|
|
4126
|
-
function create_fragment$
|
4126
|
+
function create_fragment$g(ctx) {
|
4127
4127
|
let div;
|
4128
4128
|
let button;
|
4129
4129
|
let rendertext;
|
@@ -4212,7 +4212,7 @@ function create_fragment$f(ctx) {
|
|
4212
4212
|
};
|
4213
4213
|
}
|
4214
4214
|
|
4215
|
-
function instance$
|
4215
|
+
function instance$g($$self, $$props, $$invalidate) {
|
4216
4216
|
let disabled;
|
4217
4217
|
let $valuesAreValid;
|
4218
4218
|
let { text = 'ボタンラベル' } = $$props;
|
@@ -4277,8 +4277,8 @@ class TextButtonElement extends SvelteComponent {
|
|
4277
4277
|
init(
|
4278
4278
|
this,
|
4279
4279
|
options,
|
4280
|
-
instance$
|
4281
|
-
create_fragment$
|
4280
|
+
instance$g,
|
4281
|
+
create_fragment$g,
|
4282
4282
|
safe_not_equal,
|
4283
4283
|
{
|
4284
4284
|
text: 0,
|
@@ -4287,18 +4287,18 @@ class TextButtonElement extends SvelteComponent {
|
|
4287
4287
|
_buttonStyle: 1,
|
4288
4288
|
_style: 2
|
4289
4289
|
},
|
4290
|
-
add_css$
|
4290
|
+
add_css$g
|
4291
4291
|
);
|
4292
4292
|
}
|
4293
4293
|
}
|
4294
4294
|
|
4295
4295
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
4296
4296
|
|
4297
|
-
function add_css$
|
4297
|
+
function add_css$f(target) {
|
4298
4298
|
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)}");
|
4299
4299
|
}
|
4300
4300
|
|
4301
|
-
function create_fragment$
|
4301
|
+
function create_fragment$f(ctx) {
|
4302
4302
|
let div;
|
4303
4303
|
let img;
|
4304
4304
|
let img_src_value;
|
@@ -4380,7 +4380,7 @@ function create_fragment$e(ctx) {
|
|
4380
4380
|
};
|
4381
4381
|
}
|
4382
4382
|
|
4383
|
-
function instance$
|
4383
|
+
function instance$f($$self, $$props, $$invalidate) {
|
4384
4384
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
4385
4385
|
let { alt = 'No Image' } = $$props;
|
4386
4386
|
let { transport = false } = $$props;
|
@@ -4418,8 +4418,8 @@ class ImageElement extends SvelteComponent {
|
|
4418
4418
|
init(
|
4419
4419
|
this,
|
4420
4420
|
options,
|
4421
|
-
instance$
|
4422
|
-
create_fragment$
|
4421
|
+
instance$f,
|
4422
|
+
create_fragment$f,
|
4423
4423
|
safe_not_equal,
|
4424
4424
|
{
|
4425
4425
|
src: 0,
|
@@ -4430,18 +4430,18 @@ class ImageElement extends SvelteComponent {
|
|
4430
4430
|
_imageStyle: 3,
|
4431
4431
|
_style: 4
|
4432
4432
|
},
|
4433
|
-
add_css$
|
4433
|
+
add_css$f
|
4434
4434
|
);
|
4435
4435
|
}
|
4436
4436
|
}
|
4437
4437
|
|
4438
4438
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
4439
4439
|
|
4440
|
-
function add_css$
|
4440
|
+
function add_css$e(target) {
|
4441
4441
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
4442
4442
|
}
|
4443
4443
|
|
4444
|
-
function create_fragment$
|
4444
|
+
function create_fragment$e(ctx) {
|
4445
4445
|
let div;
|
4446
4446
|
let current;
|
4447
4447
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -4511,7 +4511,7 @@ function create_fragment$d(ctx) {
|
|
4511
4511
|
|
4512
4512
|
const LIST_CONTEXT_KEY = Symbol();
|
4513
4513
|
|
4514
|
-
function instance$
|
4514
|
+
function instance$e($$self, $$props, $$invalidate) {
|
4515
4515
|
let style;
|
4516
4516
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4517
4517
|
let { direction = 'vertical' } = $$props;
|
@@ -4578,8 +4578,8 @@ class List extends SvelteComponent {
|
|
4578
4578
|
init(
|
4579
4579
|
this,
|
4580
4580
|
options,
|
4581
|
-
instance$
|
4582
|
-
create_fragment$
|
4581
|
+
instance$e,
|
4582
|
+
create_fragment$e,
|
4583
4583
|
safe_not_equal,
|
4584
4584
|
{
|
4585
4585
|
direction: 1,
|
@@ -4587,18 +4587,18 @@ class List extends SvelteComponent {
|
|
4587
4587
|
background: 3,
|
4588
4588
|
_style: 4
|
4589
4589
|
},
|
4590
|
-
add_css$
|
4590
|
+
add_css$e
|
4591
4591
|
);
|
4592
4592
|
}
|
4593
4593
|
}
|
4594
4594
|
|
4595
4595
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4596
4596
|
|
4597
|
-
function add_css$
|
4597
|
+
function add_css$d(target) {
|
4598
4598
|
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}");
|
4599
4599
|
}
|
4600
4600
|
|
4601
|
-
function create_fragment$
|
4601
|
+
function create_fragment$d(ctx) {
|
4602
4602
|
let div1;
|
4603
4603
|
let div0;
|
4604
4604
|
let current;
|
@@ -4692,7 +4692,7 @@ function create_fragment$c(ctx) {
|
|
4692
4692
|
};
|
4693
4693
|
}
|
4694
4694
|
|
4695
|
-
function instance$
|
4695
|
+
function instance$d($$self, $$props, $$invalidate) {
|
4696
4696
|
let click;
|
4697
4697
|
let listItemStyle;
|
4698
4698
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -4782,17 +4782,17 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
4782
4782
|
class ListItem extends SvelteComponent {
|
4783
4783
|
constructor(options) {
|
4784
4784
|
super();
|
4785
|
-
init(this, options, instance$
|
4785
|
+
init(this, options, instance$d, create_fragment$d, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$d);
|
4786
4786
|
}
|
4787
4787
|
}
|
4788
4788
|
|
4789
4789
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
4790
4790
|
|
4791
|
-
function add_css$
|
4791
|
+
function add_css$c(target) {
|
4792
4792
|
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%}");
|
4793
4793
|
}
|
4794
4794
|
|
4795
|
-
function create_fragment$
|
4795
|
+
function create_fragment$c(ctx) {
|
4796
4796
|
let div;
|
4797
4797
|
|
4798
4798
|
return {
|
@@ -4828,7 +4828,7 @@ function create_fragment$b(ctx) {
|
|
4828
4828
|
};
|
4829
4829
|
}
|
4830
4830
|
|
4831
|
-
function instance$
|
4831
|
+
function instance$c($$self, $$props, $$invalidate) {
|
4832
4832
|
let { code } = $$props;
|
4833
4833
|
let { _style = "" } = $$props;
|
4834
4834
|
|
@@ -4843,17 +4843,17 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
4843
4843
|
class EmbedElement extends SvelteComponent {
|
4844
4844
|
constructor(options) {
|
4845
4845
|
super();
|
4846
|
-
init(this, options, instance$
|
4846
|
+
init(this, options, instance$c, create_fragment$c, safe_not_equal, { code: 0, _style: 1 }, add_css$c);
|
4847
4847
|
}
|
4848
4848
|
}
|
4849
4849
|
|
4850
4850
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
4851
4851
|
|
4852
|
-
function add_css$
|
4852
|
+
function add_css$b(target) {
|
4853
4853
|
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%}");
|
4854
4854
|
}
|
4855
4855
|
|
4856
|
-
function create_fragment$
|
4856
|
+
function create_fragment$b(ctx) {
|
4857
4857
|
let div1;
|
4858
4858
|
let div0;
|
4859
4859
|
|
@@ -4895,7 +4895,7 @@ function create_fragment$a(ctx) {
|
|
4895
4895
|
};
|
4896
4896
|
}
|
4897
4897
|
|
4898
|
-
function instance$
|
4898
|
+
function instance$b($$self, $$props, $$invalidate) {
|
4899
4899
|
let $system;
|
4900
4900
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
4901
4901
|
let { videoId = "sSgN-L4DU0c" } = $$props;
|
@@ -5074,8 +5074,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5074
5074
|
init(
|
5075
5075
|
this,
|
5076
5076
|
options,
|
5077
|
-
instance$
|
5078
|
-
create_fragment$
|
5077
|
+
instance$b,
|
5078
|
+
create_fragment$b,
|
5079
5079
|
safe_not_equal,
|
5080
5080
|
{
|
5081
5081
|
videoId: 2,
|
@@ -5085,18 +5085,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5085
5085
|
mute: 6,
|
5086
5086
|
_style: 0
|
5087
5087
|
},
|
5088
|
-
add_css$
|
5088
|
+
add_css$b
|
5089
5089
|
);
|
5090
5090
|
}
|
5091
5091
|
}
|
5092
5092
|
|
5093
5093
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5094
5094
|
|
5095
|
-
function add_css$
|
5095
|
+
function add_css$a(target) {
|
5096
5096
|
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%}");
|
5097
5097
|
}
|
5098
5098
|
|
5099
|
-
function create_fragment$
|
5099
|
+
function create_fragment$a(ctx) {
|
5100
5100
|
let div1;
|
5101
5101
|
let div0;
|
5102
5102
|
|
@@ -5138,7 +5138,7 @@ function create_fragment$9(ctx) {
|
|
5138
5138
|
};
|
5139
5139
|
}
|
5140
5140
|
|
5141
|
-
function instance$
|
5141
|
+
function instance$a($$self, $$props, $$invalidate) {
|
5142
5142
|
let $system;
|
5143
5143
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
5144
5144
|
let { videoId = "201239468" } = $$props;
|
@@ -5281,8 +5281,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5281
5281
|
init(
|
5282
5282
|
this,
|
5283
5283
|
options,
|
5284
|
-
instance$
|
5285
|
-
create_fragment$
|
5284
|
+
instance$a,
|
5285
|
+
create_fragment$a,
|
5286
5286
|
safe_not_equal,
|
5287
5287
|
{
|
5288
5288
|
videoId: 2,
|
@@ -5292,18 +5292,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
5292
5292
|
mute: 6,
|
5293
5293
|
_style: 0
|
5294
5294
|
},
|
5295
|
-
add_css$
|
5295
|
+
add_css$a
|
5296
5296
|
);
|
5297
5297
|
}
|
5298
5298
|
}
|
5299
5299
|
|
5300
5300
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
5301
5301
|
|
5302
|
-
function add_css$
|
5302
|
+
function add_css$9(target) {
|
5303
5303
|
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}");
|
5304
5304
|
}
|
5305
5305
|
|
5306
|
-
function create_fragment$
|
5306
|
+
function create_fragment$9(ctx) {
|
5307
5307
|
let div;
|
5308
5308
|
let textarea;
|
5309
5309
|
let mounted;
|
@@ -5373,7 +5373,7 @@ function create_fragment$8(ctx) {
|
|
5373
5373
|
};
|
5374
5374
|
}
|
5375
5375
|
|
5376
|
-
function instance$
|
5376
|
+
function instance$9($$self, $$props, $$invalidate) {
|
5377
5377
|
let $value;
|
5378
5378
|
let { name = '' } = $$props;
|
5379
5379
|
let { required = true } = $$props;
|
@@ -5414,8 +5414,8 @@ class FormTextarea extends SvelteComponent {
|
|
5414
5414
|
init(
|
5415
5415
|
this,
|
5416
5416
|
options,
|
5417
|
-
instance$
|
5418
|
-
create_fragment$
|
5417
|
+
instance$9,
|
5418
|
+
create_fragment$9,
|
5419
5419
|
safe_not_equal,
|
5420
5420
|
{
|
5421
5421
|
name: 6,
|
@@ -5423,18 +5423,18 @@ class FormTextarea extends SvelteComponent {
|
|
5423
5423
|
rows: 1,
|
5424
5424
|
placeholder: 2
|
5425
5425
|
},
|
5426
|
-
add_css$
|
5426
|
+
add_css$9
|
5427
5427
|
);
|
5428
5428
|
}
|
5429
5429
|
}
|
5430
5430
|
|
5431
5431
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5432
5432
|
|
5433
|
-
function add_css$
|
5433
|
+
function add_css$8(target) {
|
5434
5434
|
append_styles(target, "svelte-1574x6a", ".radio-buttons.svelte-1574x6a{display:flex;justify-content:space-evenly;flex-direction:column;width:100%;height:100%}.radio-button.svelte-1574x6a{font-size:12px;cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-1574x6a{appearance:none;margin:0;width:1.3em;height:1.3em;box-sizing:border-box;border-radius:0.7em;position:relative;background-color:rgba(0, 16, 14, 0.06);;;cursor:pointer}.radio-button-input.svelte-1574x6a:checked{border:solid 0.4em #2aab9f;background-color:#fff;box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-1574x6a{margin-left:0.4em}");
|
5435
5435
|
}
|
5436
5436
|
|
5437
|
-
function get_each_context$
|
5437
|
+
function get_each_context$4(ctx, list, i) {
|
5438
5438
|
const child_ctx = ctx.slice();
|
5439
5439
|
child_ctx[8] = list[i];
|
5440
5440
|
child_ctx[10] = i;
|
@@ -5442,7 +5442,7 @@ function get_each_context$3(ctx, list, i) {
|
|
5442
5442
|
}
|
5443
5443
|
|
5444
5444
|
// (24:2) {#each _options as option, i}
|
5445
|
-
function create_each_block$
|
5445
|
+
function create_each_block$4(ctx) {
|
5446
5446
|
let label;
|
5447
5447
|
let input;
|
5448
5448
|
let input_value_value;
|
@@ -5525,13 +5525,13 @@ function create_each_block$3(ctx) {
|
|
5525
5525
|
};
|
5526
5526
|
}
|
5527
5527
|
|
5528
|
-
function create_fragment$
|
5528
|
+
function create_fragment$8(ctx) {
|
5529
5529
|
let div;
|
5530
5530
|
let each_value = /*_options*/ ctx[2];
|
5531
5531
|
let each_blocks = [];
|
5532
5532
|
|
5533
5533
|
for (let i = 0; i < each_value.length; i += 1) {
|
5534
|
-
each_blocks[i] = create_each_block$
|
5534
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
5535
5535
|
}
|
5536
5536
|
|
5537
5537
|
return {
|
@@ -5571,12 +5571,12 @@ function create_fragment$7(ctx) {
|
|
5571
5571
|
let i;
|
5572
5572
|
|
5573
5573
|
for (i = 0; i < each_value.length; i += 1) {
|
5574
|
-
const child_ctx = get_each_context$
|
5574
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
5575
5575
|
|
5576
5576
|
if (each_blocks[i]) {
|
5577
5577
|
each_blocks[i].p(child_ctx, dirty);
|
5578
5578
|
} else {
|
5579
|
-
each_blocks[i] = create_each_block$
|
5579
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
5580
5580
|
each_blocks[i].c();
|
5581
5581
|
each_blocks[i].m(div, null);
|
5582
5582
|
}
|
@@ -5598,7 +5598,7 @@ function create_fragment$7(ctx) {
|
|
5598
5598
|
};
|
5599
5599
|
}
|
5600
5600
|
|
5601
|
-
function instance$
|
5601
|
+
function instance$8($$self, $$props, $$invalidate) {
|
5602
5602
|
let _options;
|
5603
5603
|
let _value;
|
5604
5604
|
let $value;
|
@@ -5644,17 +5644,17 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
5644
5644
|
class FormRadioButtons extends SvelteComponent {
|
5645
5645
|
constructor(options) {
|
5646
5646
|
super();
|
5647
|
-
init(this, options, instance$
|
5647
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { name: 0, options: 5 }, add_css$8);
|
5648
5648
|
}
|
5649
5649
|
}
|
5650
5650
|
|
5651
5651
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
5652
5652
|
|
5653
|
-
function add_css$
|
5653
|
+
function add_css$7(target) {
|
5654
5654
|
append_styles(target, "svelte-1esvjlb", ".select-wrapper.svelte-1esvjlb{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%;position:relative\n}.select-select.svelte-1esvjlb{position:relative;font-size:12px;appearance:none;border:solid 2px #ccc;border-radius:6px;padding:0.8em 1.6em 0.8em 0.8em;width:100%}.select-select.svelte-1esvjlb:focus{outline:none;border-color:#2aab9f}.select-icon.svelte-1esvjlb{position:absolute;width:0.5em;height:0.5em;top:calc(50% - 0.2em);right:0.8em;box-sizing:border-box;border-right:solid 2px #666;border-top:solid 2px #666;transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
|
5655
5655
|
}
|
5656
5656
|
|
5657
|
-
function get_each_context$
|
5657
|
+
function get_each_context$3(ctx, list, i) {
|
5658
5658
|
const child_ctx = ctx.slice();
|
5659
5659
|
child_ctx[6] = list[i];
|
5660
5660
|
child_ctx[8] = i;
|
@@ -5683,7 +5683,7 @@ function create_else_block(ctx) {
|
|
5683
5683
|
}
|
5684
5684
|
|
5685
5685
|
// (27:10) {#if option}
|
5686
|
-
function create_if_block$
|
5686
|
+
function create_if_block$3(ctx) {
|
5687
5687
|
let t_value = /*option*/ ctx[6] + "";
|
5688
5688
|
let t;
|
5689
5689
|
|
@@ -5707,13 +5707,13 @@ function create_if_block$2(ctx) {
|
|
5707
5707
|
}
|
5708
5708
|
|
5709
5709
|
// (25:6) {#each _options as option, i}
|
5710
|
-
function create_each_block$
|
5710
|
+
function create_each_block$3(ctx) {
|
5711
5711
|
let option;
|
5712
5712
|
let t;
|
5713
5713
|
let option_value_value;
|
5714
5714
|
|
5715
5715
|
function select_block_type(ctx, dirty) {
|
5716
|
-
if (/*option*/ ctx[6]) return create_if_block$
|
5716
|
+
if (/*option*/ ctx[6]) return create_if_block$3;
|
5717
5717
|
return create_else_block;
|
5718
5718
|
}
|
5719
5719
|
|
@@ -5769,7 +5769,7 @@ function create_each_block$2(ctx) {
|
|
5769
5769
|
};
|
5770
5770
|
}
|
5771
5771
|
|
5772
|
-
function create_fragment$
|
5772
|
+
function create_fragment$7(ctx) {
|
5773
5773
|
let div2;
|
5774
5774
|
let div1;
|
5775
5775
|
let select;
|
@@ -5781,7 +5781,7 @@ function create_fragment$6(ctx) {
|
|
5781
5781
|
let each_blocks = [];
|
5782
5782
|
|
5783
5783
|
for (let i = 0; i < each_value.length; i += 1) {
|
5784
|
-
each_blocks[i] = create_each_block$
|
5784
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
5785
5785
|
}
|
5786
5786
|
|
5787
5787
|
return {
|
@@ -5847,12 +5847,12 @@ function create_fragment$6(ctx) {
|
|
5847
5847
|
let i;
|
5848
5848
|
|
5849
5849
|
for (i = 0; i < each_value.length; i += 1) {
|
5850
|
-
const child_ctx = get_each_context$
|
5850
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
5851
5851
|
|
5852
5852
|
if (each_blocks[i]) {
|
5853
5853
|
each_blocks[i].p(child_ctx, dirty);
|
5854
5854
|
} else {
|
5855
|
-
each_blocks[i] = create_each_block$
|
5855
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
5856
5856
|
each_blocks[i].c();
|
5857
5857
|
each_blocks[i].m(select, null);
|
5858
5858
|
}
|
@@ -5876,7 +5876,7 @@ function create_fragment$6(ctx) {
|
|
5876
5876
|
};
|
5877
5877
|
}
|
5878
5878
|
|
5879
|
-
function instance$
|
5879
|
+
function instance$7($$self, $$props, $$invalidate) {
|
5880
5880
|
let _options;
|
5881
5881
|
let { name = '' } = $$props;
|
5882
5882
|
let { options = 'プルダウン1,プルダウン2,プルダウン3' } = $$props;
|
@@ -5913,17 +5913,17 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
5913
5913
|
class FormSelect extends SvelteComponent {
|
5914
5914
|
constructor(options) {
|
5915
5915
|
super();
|
5916
|
-
init(this, options, instance$
|
5916
|
+
init(this, options, instance$7, create_fragment$7, safe_not_equal, { name: 2, options: 3 }, add_css$7);
|
5917
5917
|
}
|
5918
5918
|
}
|
5919
5919
|
|
5920
5920
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
5921
5921
|
|
5922
|
-
function add_css$
|
5922
|
+
function add_css$6(target) {
|
5923
5923
|
append_styles(target, "svelte-1g004f9", ".check-boxes.svelte-1g004f9{display:flex;justify-content:space-evenly;flex-direction:column;width:100%;height:100%}.check-box.svelte-1g004f9{display:flex;align-items:center;font-size:12px;height:1.7em;position:relative;cursor:pointer}.check-box-input.svelte-1g004f9{width:0;height:0;margin:0}.check-box-check.svelte-1g004f9{display:inline-flex;background-color:rgba(0, 16, 14, 0.06);width:1.3em;height:1.3em;border-radius:0.3em;justify-content:center;align-items:center}.check-box-check._checked.svelte-1g004f9{box-shadow:0 4px 8px -2px rgb(0 16 14 / 31%)}.check-box-text.svelte-1g004f9{margin-left:0.5em}.check-box-icon.svelte-1g004f9{display:inline-block;width:12px;height:12px}.check-box-icon-inner.svelte-1g004f9{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:#000}");
|
5924
5924
|
}
|
5925
5925
|
|
5926
|
-
function get_each_context$
|
5926
|
+
function get_each_context$2(ctx, list, i) {
|
5927
5927
|
const child_ctx = ctx.slice();
|
5928
5928
|
child_ctx[8] = list[i];
|
5929
5929
|
child_ctx[10] = i;
|
@@ -5931,7 +5931,7 @@ function get_each_context$1(ctx, list, i) {
|
|
5931
5931
|
}
|
5932
5932
|
|
5933
5933
|
// (34:8) {#if isCheckedArray[i]}
|
5934
|
-
function create_if_block$
|
5934
|
+
function create_if_block$2(ctx) {
|
5935
5935
|
let span1;
|
5936
5936
|
let span0;
|
5937
5937
|
|
@@ -5967,7 +5967,7 @@ function create_if_block$1(ctx) {
|
|
5967
5967
|
}
|
5968
5968
|
|
5969
5969
|
// (30:2) {#each _options as option, i}
|
5970
|
-
function create_each_block$
|
5970
|
+
function create_each_block$2(ctx) {
|
5971
5971
|
let label;
|
5972
5972
|
let input;
|
5973
5973
|
let input_checked_value;
|
@@ -5982,7 +5982,7 @@ function create_each_block$1(ctx) {
|
|
5982
5982
|
let t3;
|
5983
5983
|
let mounted;
|
5984
5984
|
let dispose;
|
5985
|
-
let if_block = /*isCheckedArray*/ ctx[2][/*i*/ ctx[10]] && create_if_block$
|
5985
|
+
let if_block = /*isCheckedArray*/ ctx[2][/*i*/ ctx[10]] && create_if_block$2();
|
5986
5986
|
|
5987
5987
|
return {
|
5988
5988
|
c() {
|
@@ -6061,7 +6061,7 @@ function create_each_block$1(ctx) {
|
|
6061
6061
|
|
6062
6062
|
if (/*isCheckedArray*/ ctx[2][/*i*/ ctx[10]]) {
|
6063
6063
|
if (if_block) ; else {
|
6064
|
-
if_block = create_if_block$
|
6064
|
+
if_block = create_if_block$2();
|
6065
6065
|
if_block.c();
|
6066
6066
|
if_block.m(span0, null);
|
6067
6067
|
}
|
@@ -6093,13 +6093,13 @@ function create_each_block$1(ctx) {
|
|
6093
6093
|
};
|
6094
6094
|
}
|
6095
6095
|
|
6096
|
-
function create_fragment$
|
6096
|
+
function create_fragment$6(ctx) {
|
6097
6097
|
let div;
|
6098
6098
|
let each_value = /*_options*/ ctx[1];
|
6099
6099
|
let each_blocks = [];
|
6100
6100
|
|
6101
6101
|
for (let i = 0; i < each_value.length; i += 1) {
|
6102
|
-
each_blocks[i] = create_each_block$
|
6102
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
6103
6103
|
}
|
6104
6104
|
|
6105
6105
|
return {
|
@@ -6139,12 +6139,12 @@ function create_fragment$5(ctx) {
|
|
6139
6139
|
let i;
|
6140
6140
|
|
6141
6141
|
for (i = 0; i < each_value.length; i += 1) {
|
6142
|
-
const child_ctx = get_each_context$
|
6142
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
6143
6143
|
|
6144
6144
|
if (each_blocks[i]) {
|
6145
6145
|
each_blocks[i].p(child_ctx, dirty);
|
6146
6146
|
} else {
|
6147
|
-
each_blocks[i] = create_each_block$
|
6147
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
6148
6148
|
each_blocks[i].c();
|
6149
6149
|
each_blocks[i].m(div, null);
|
6150
6150
|
}
|
@@ -6166,7 +6166,7 @@ function create_fragment$5(ctx) {
|
|
6166
6166
|
};
|
6167
6167
|
}
|
6168
6168
|
|
6169
|
-
function instance$
|
6169
|
+
function instance$6($$self, $$props, $$invalidate) {
|
6170
6170
|
let _options;
|
6171
6171
|
let isCheckedArray;
|
6172
6172
|
let $value;
|
@@ -6218,7 +6218,344 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
6218
6218
|
class FormCheckBoxes extends SvelteComponent {
|
6219
6219
|
constructor(options) {
|
6220
6220
|
super();
|
6221
|
-
init(this, options, instance$
|
6221
|
+
init(this, options, instance$6, create_fragment$6, safe_not_equal, { name: 0, options: 5 }, add_css$6);
|
6222
|
+
}
|
6223
|
+
}
|
6224
|
+
|
6225
|
+
/* src/components/FormRatingButtons.svelte generated by Svelte v3.53.1 */
|
6226
|
+
|
6227
|
+
function add_css$5(target) {
|
6228
|
+
append_styles(target, "svelte-14cxkfs", ".rating-buttons.svelte-14cxkfs.svelte-14cxkfs{display:flex;justify-content:space-evenly;align-items:center;width:100%;height:100%}.rating-button.svelte-14cxkfs.svelte-14cxkfs{cursor:pointer;display:flex}.rating-button.svelte-14cxkfs svg.svelte-14cxkfs{fill:#ccc}.rating-button._selected.svelte-14cxkfs svg.svelte-14cxkfs{fill:#2aab9f}");
|
6229
|
+
}
|
6230
|
+
|
6231
|
+
function get_each_context$1(ctx, list, i) {
|
6232
|
+
const child_ctx = ctx.slice();
|
6233
|
+
child_ctx[8] = list[i];
|
6234
|
+
return child_ctx;
|
6235
|
+
}
|
6236
|
+
|
6237
|
+
// (36:30)
|
6238
|
+
function create_if_block_1$1(ctx) {
|
6239
|
+
let div;
|
6240
|
+
let svg;
|
6241
|
+
let path;
|
6242
|
+
let t;
|
6243
|
+
let div_class_value;
|
6244
|
+
let mounted;
|
6245
|
+
let dispose;
|
6246
|
+
|
6247
|
+
return {
|
6248
|
+
c() {
|
6249
|
+
div = element("div");
|
6250
|
+
svg = svg_element("svg");
|
6251
|
+
path = svg_element("path");
|
6252
|
+
t = space();
|
6253
|
+
this.h();
|
6254
|
+
},
|
6255
|
+
l(nodes) {
|
6256
|
+
div = claim_element(nodes, "DIV", { class: true });
|
6257
|
+
var div_nodes = children(div);
|
6258
|
+
|
6259
|
+
svg = claim_svg_element(div_nodes, "svg", {
|
6260
|
+
width: true,
|
6261
|
+
height: true,
|
6262
|
+
viewBox: true,
|
6263
|
+
fill: true,
|
6264
|
+
xmlns: true,
|
6265
|
+
class: true
|
6266
|
+
});
|
6267
|
+
|
6268
|
+
var svg_nodes = children(svg);
|
6269
|
+
path = claim_svg_element(svg_nodes, "path", { d: true });
|
6270
|
+
children(path).forEach(detach);
|
6271
|
+
svg_nodes.forEach(detach);
|
6272
|
+
t = claim_space(div_nodes);
|
6273
|
+
div_nodes.forEach(detach);
|
6274
|
+
this.h();
|
6275
|
+
},
|
6276
|
+
h() {
|
6277
|
+
attr(path, "d", /*LIKERT_FACE_SVG_DATA*/ ctx[4][/*i*/ ctx[8]]);
|
6278
|
+
attr(svg, "width", "24");
|
6279
|
+
attr(svg, "height", "24");
|
6280
|
+
attr(svg, "viewBox", "0 0 24 24");
|
6281
|
+
attr(svg, "fill", "none");
|
6282
|
+
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
6283
|
+
attr(svg, "class", "svelte-14cxkfs");
|
6284
|
+
attr(div, "class", div_class_value = "rating-button" + (/*i*/ ctx[8] === /*_value*/ ctx[1] ? ' _selected' : '') + " svelte-14cxkfs");
|
6285
|
+
},
|
6286
|
+
m(target, anchor) {
|
6287
|
+
insert_hydration(target, div, anchor);
|
6288
|
+
append_hydration(div, svg);
|
6289
|
+
append_hydration(svg, path);
|
6290
|
+
append_hydration(div, t);
|
6291
|
+
|
6292
|
+
if (!mounted) {
|
6293
|
+
dispose = listen(div, "click", /*handleClick*/ ctx[3](/*i*/ ctx[8]));
|
6294
|
+
mounted = true;
|
6295
|
+
}
|
6296
|
+
},
|
6297
|
+
p(new_ctx, dirty) {
|
6298
|
+
ctx = new_ctx;
|
6299
|
+
|
6300
|
+
if (dirty & /*_value*/ 2 && div_class_value !== (div_class_value = "rating-button" + (/*i*/ ctx[8] === /*_value*/ ctx[1] ? ' _selected' : '') + " svelte-14cxkfs")) {
|
6301
|
+
attr(div, "class", div_class_value);
|
6302
|
+
}
|
6303
|
+
},
|
6304
|
+
d(detaching) {
|
6305
|
+
if (detaching) detach(div);
|
6306
|
+
mounted = false;
|
6307
|
+
dispose();
|
6308
|
+
}
|
6309
|
+
};
|
6310
|
+
}
|
6311
|
+
|
6312
|
+
// (30:4) {#if type === 'star'}
|
6313
|
+
function create_if_block$1(ctx) {
|
6314
|
+
let div;
|
6315
|
+
let svg;
|
6316
|
+
let path;
|
6317
|
+
let t;
|
6318
|
+
let div_class_value;
|
6319
|
+
let mounted;
|
6320
|
+
let dispose;
|
6321
|
+
|
6322
|
+
return {
|
6323
|
+
c() {
|
6324
|
+
div = element("div");
|
6325
|
+
svg = svg_element("svg");
|
6326
|
+
path = svg_element("path");
|
6327
|
+
t = space();
|
6328
|
+
this.h();
|
6329
|
+
},
|
6330
|
+
l(nodes) {
|
6331
|
+
div = claim_element(nodes, "DIV", { class: true });
|
6332
|
+
var div_nodes = children(div);
|
6333
|
+
|
6334
|
+
svg = claim_svg_element(div_nodes, "svg", {
|
6335
|
+
width: true,
|
6336
|
+
height: true,
|
6337
|
+
viewBox: true,
|
6338
|
+
fill: true,
|
6339
|
+
xmlns: true,
|
6340
|
+
class: true
|
6341
|
+
});
|
6342
|
+
|
6343
|
+
var svg_nodes = children(svg);
|
6344
|
+
path = claim_svg_element(svg_nodes, "path", { d: true });
|
6345
|
+
children(path).forEach(detach);
|
6346
|
+
svg_nodes.forEach(detach);
|
6347
|
+
t = claim_space(div_nodes);
|
6348
|
+
div_nodes.forEach(detach);
|
6349
|
+
this.h();
|
6350
|
+
},
|
6351
|
+
h() {
|
6352
|
+
attr(path, "d", "M11.2184 0.80902L8.42249 6.78134L2.09938 7.72433C0.981006 7.90395 0.550862 9.3409 1.36814 10.1941L5.88464 14.8193L4.80928 21.3304C4.63723 22.498 5.84163 23.396 6.83096 22.8572L12.4658 19.7588L18.0577 22.8572C19.047 23.396 20.2514 22.498 20.0794 21.3304L19.004 14.8193L23.5205 10.1941C24.3378 9.3409 23.9077 7.90395 22.7893 7.72433L16.5092 6.78134L13.6702 0.80902C13.1971 -0.223786 11.7346 -0.268691 11.2184 0.80902Z");
|
6353
|
+
attr(svg, "width", "24");
|
6354
|
+
attr(svg, "height", "24");
|
6355
|
+
attr(svg, "viewBox", "0 0 24 24");
|
6356
|
+
attr(svg, "fill", "none");
|
6357
|
+
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
6358
|
+
attr(svg, "class", "svelte-14cxkfs");
|
6359
|
+
attr(div, "class", div_class_value = "rating-button" + (/*i*/ ctx[8] <= /*_value*/ ctx[1] ? ' _selected' : '') + " svelte-14cxkfs");
|
6360
|
+
},
|
6361
|
+
m(target, anchor) {
|
6362
|
+
insert_hydration(target, div, anchor);
|
6363
|
+
append_hydration(div, svg);
|
6364
|
+
append_hydration(svg, path);
|
6365
|
+
append_hydration(div, t);
|
6366
|
+
|
6367
|
+
if (!mounted) {
|
6368
|
+
dispose = listen(div, "click", /*handleClick*/ ctx[3](/*i*/ ctx[8]));
|
6369
|
+
mounted = true;
|
6370
|
+
}
|
6371
|
+
},
|
6372
|
+
p(new_ctx, dirty) {
|
6373
|
+
ctx = new_ctx;
|
6374
|
+
|
6375
|
+
if (dirty & /*_value*/ 2 && div_class_value !== (div_class_value = "rating-button" + (/*i*/ ctx[8] <= /*_value*/ ctx[1] ? ' _selected' : '') + " svelte-14cxkfs")) {
|
6376
|
+
attr(div, "class", div_class_value);
|
6377
|
+
}
|
6378
|
+
},
|
6379
|
+
d(detaching) {
|
6380
|
+
if (detaching) detach(div);
|
6381
|
+
mounted = false;
|
6382
|
+
dispose();
|
6383
|
+
}
|
6384
|
+
};
|
6385
|
+
}
|
6386
|
+
|
6387
|
+
// (29:2) {#each [...Array(5).keys()].map(i => i + 1) as i}
|
6388
|
+
function create_each_block$1(ctx) {
|
6389
|
+
let if_block_anchor;
|
6390
|
+
|
6391
|
+
function select_block_type(ctx, dirty) {
|
6392
|
+
if (/*type*/ ctx[0] === 'star') return create_if_block$1;
|
6393
|
+
if (/*type*/ ctx[0] === 'face') return create_if_block_1$1;
|
6394
|
+
}
|
6395
|
+
|
6396
|
+
let current_block_type = select_block_type(ctx);
|
6397
|
+
let if_block = current_block_type && current_block_type(ctx);
|
6398
|
+
|
6399
|
+
return {
|
6400
|
+
c() {
|
6401
|
+
if (if_block) if_block.c();
|
6402
|
+
if_block_anchor = empty();
|
6403
|
+
},
|
6404
|
+
l(nodes) {
|
6405
|
+
if (if_block) if_block.l(nodes);
|
6406
|
+
if_block_anchor = empty();
|
6407
|
+
},
|
6408
|
+
m(target, anchor) {
|
6409
|
+
if (if_block) if_block.m(target, anchor);
|
6410
|
+
insert_hydration(target, if_block_anchor, anchor);
|
6411
|
+
},
|
6412
|
+
p(ctx, dirty) {
|
6413
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
6414
|
+
if_block.p(ctx, dirty);
|
6415
|
+
} else {
|
6416
|
+
if (if_block) if_block.d(1);
|
6417
|
+
if_block = current_block_type && current_block_type(ctx);
|
6418
|
+
|
6419
|
+
if (if_block) {
|
6420
|
+
if_block.c();
|
6421
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
6422
|
+
}
|
6423
|
+
}
|
6424
|
+
},
|
6425
|
+
d(detaching) {
|
6426
|
+
if (if_block) {
|
6427
|
+
if_block.d(detaching);
|
6428
|
+
}
|
6429
|
+
|
6430
|
+
if (detaching) detach(if_block_anchor);
|
6431
|
+
}
|
6432
|
+
};
|
6433
|
+
}
|
6434
|
+
|
6435
|
+
function create_fragment$5(ctx) {
|
6436
|
+
let div;
|
6437
|
+
let each_value = [...Array(5).keys()].map(func);
|
6438
|
+
let each_blocks = [];
|
6439
|
+
|
6440
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
6441
|
+
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
|
6442
|
+
}
|
6443
|
+
|
6444
|
+
return {
|
6445
|
+
c() {
|
6446
|
+
div = element("div");
|
6447
|
+
|
6448
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
6449
|
+
each_blocks[i].c();
|
6450
|
+
}
|
6451
|
+
|
6452
|
+
this.h();
|
6453
|
+
},
|
6454
|
+
l(nodes) {
|
6455
|
+
div = claim_element(nodes, "DIV", { class: true });
|
6456
|
+
var div_nodes = children(div);
|
6457
|
+
|
6458
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
6459
|
+
each_blocks[i].l(div_nodes);
|
6460
|
+
}
|
6461
|
+
|
6462
|
+
div_nodes.forEach(detach);
|
6463
|
+
this.h();
|
6464
|
+
},
|
6465
|
+
h() {
|
6466
|
+
attr(div, "class", "rating-buttons svelte-14cxkfs");
|
6467
|
+
},
|
6468
|
+
m(target, anchor) {
|
6469
|
+
insert_hydration(target, div, anchor);
|
6470
|
+
|
6471
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
6472
|
+
each_blocks[i].m(div, null);
|
6473
|
+
}
|
6474
|
+
},
|
6475
|
+
p(ctx, [dirty]) {
|
6476
|
+
if (dirty & /*Array, _value, handleClick, type, LIKERT_FACE_SVG_DATA*/ 27) {
|
6477
|
+
each_value = [...Array(5).keys()].map(func);
|
6478
|
+
let i;
|
6479
|
+
|
6480
|
+
for (i = 0; i < each_value.length; i += 1) {
|
6481
|
+
const child_ctx = get_each_context$1(ctx, each_value, i);
|
6482
|
+
|
6483
|
+
if (each_blocks[i]) {
|
6484
|
+
each_blocks[i].p(child_ctx, dirty);
|
6485
|
+
} else {
|
6486
|
+
each_blocks[i] = create_each_block$1(child_ctx);
|
6487
|
+
each_blocks[i].c();
|
6488
|
+
each_blocks[i].m(div, null);
|
6489
|
+
}
|
6490
|
+
}
|
6491
|
+
|
6492
|
+
for (; i < each_blocks.length; i += 1) {
|
6493
|
+
each_blocks[i].d(1);
|
6494
|
+
}
|
6495
|
+
|
6496
|
+
each_blocks.length = each_value.length;
|
6497
|
+
}
|
6498
|
+
},
|
6499
|
+
i: noop,
|
6500
|
+
o: noop,
|
6501
|
+
d(detaching) {
|
6502
|
+
if (detaching) detach(div);
|
6503
|
+
destroy_each(each_blocks, detaching);
|
6504
|
+
}
|
6505
|
+
};
|
6506
|
+
}
|
6507
|
+
|
6508
|
+
const func = i => i + 1;
|
6509
|
+
|
6510
|
+
function instance$5($$self, $$props, $$invalidate) {
|
6511
|
+
let _value;
|
6512
|
+
let $value;
|
6513
|
+
let { name = '' } = $$props;
|
6514
|
+
let { type = 'face' } = $$props;
|
6515
|
+
const { path: statePath } = getStateItemContext();
|
6516
|
+
|
6517
|
+
const value = registerInput({
|
6518
|
+
name,
|
6519
|
+
statePath,
|
6520
|
+
initialValue: [],
|
6521
|
+
validator(value) {
|
6522
|
+
return value.length > 0;
|
6523
|
+
}
|
6524
|
+
});
|
6525
|
+
|
6526
|
+
component_subscribe($$self, value, value => $$invalidate(6, $value = value));
|
6527
|
+
|
6528
|
+
const handleClick = index => event => {
|
6529
|
+
value.set([String(index)]);
|
6530
|
+
};
|
6531
|
+
|
6532
|
+
// 5段階スケールで使用する顔絵文字のsvgデータ
|
6533
|
+
const LIKERT_FACE_SVG_DATA = {
|
6534
|
+
1: 'M12 0.375C5.57812 0.375 0.375 5.57812 0.375 12C0.375 18.4219 5.57812 23.625 12 23.625C18.4219 23.625 23.625 18.4219 23.625 12C23.625 5.57812 18.4219 0.375 12 0.375ZM12 21.375C6.79688 21.375 2.625 17.2031 2.625 12C2.625 6.84375 6.79688 2.625 12 2.625C17.1562 2.625 21.375 6.84375 21.375 12C21.375 17.2031 17.1562 21.375 12 21.375ZM18.0469 7.17188C17.8594 6.9375 17.5312 6.89062 17.2969 7.03125L13.5469 9.28125C13.4062 9.375 13.3125 9.5625 13.3125 9.75C13.3125 9.98438 13.4062 10.1719 13.5469 10.2656L17.2969 12.5156C17.5781 12.6562 17.8594 12.5625 18.0469 12.375C18.1875 12.1875 18.2344 11.8594 18.0469 11.6719L16.4531 9.75L18.0469 7.875C18.2344 7.6875 18.1875 7.35938 18.0469 7.17188ZM10.6875 9.75C10.6875 9.5625 10.5469 9.375 10.4062 9.28125L6.65625 7.03125C6.42188 6.89062 6.09375 6.9375 5.90625 7.17188C5.76562 7.35938 5.76562 7.6875 5.90625 7.875L7.5 9.75L5.90625 11.6719C5.76562 11.8594 5.76562 12.1875 5.90625 12.375C6.09375 12.5625 6.375 12.6562 6.65625 12.5156L10.4062 10.2656C10.5469 10.1719 10.6875 9.98438 10.6875 9.75ZM12 12.75C9.84375 12.75 7.26562 14.5781 6.9375 17.1562C6.84375 17.7188 7.26562 18.1406 7.64062 18C8.71875 17.5312 10.3125 17.25 12 17.25C13.6875 17.25 15.2344 17.5312 16.3125 18C16.6875 18.1406 17.1094 17.7188 17.0156 17.1562C16.6875 14.5781 14.1094 12.75 12 12.75Z',
|
6535
|
+
2: 'M12 0.375C5.57812 0.375 0.375 5.57812 0.375 12C0.375 18.4219 5.57812 23.625 12 23.625C18.4219 23.625 23.625 18.4219 23.625 12C23.625 5.57812 18.4219 0.375 12 0.375ZM12 21.375C6.79688 21.375 2.625 17.2031 2.625 12C2.625 6.84375 6.79688 2.625 12 2.625C17.1562 2.625 21.375 6.84375 21.375 12C21.375 17.2031 17.1562 21.375 12 21.375ZM8.25 11.25C9.04688 11.25 9.75 10.5938 9.75 9.75C9.75 8.95312 9.04688 8.25 8.25 8.25C7.40625 8.25 6.75 8.95312 6.75 9.75C6.75 10.5938 7.40625 11.25 8.25 11.25ZM15.75 8.25C14.9062 8.25 14.25 8.95312 14.25 9.75C14.25 10.5938 14.9062 11.25 15.75 11.25C16.5469 11.25 17.25 10.5938 17.25 9.75C17.25 8.95312 16.5469 8.25 15.75 8.25ZM12 14.25C10.0781 14.25 8.34375 15.0938 7.125 16.5469C6.70312 17.0156 6.79688 17.7188 7.26562 18.1406C7.73438 18.5156 8.4375 18.4688 8.85938 18C9.60938 17.0625 10.7812 16.5 12 16.5C13.1719 16.5 14.3438 17.0625 15.0938 18C15.5156 18.4219 16.2188 18.5625 16.6875 18.1406C17.1562 17.7188 17.25 17.0156 16.8281 16.5469C15.6562 15.0938 13.875 14.25 12 14.25Z',
|
6536
|
+
3: 'M12 0.375C5.57812 0.375 0.375 5.57812 0.375 12C0.375 18.4219 5.57812 23.625 12 23.625C18.4219 23.625 23.625 18.4219 23.625 12C23.625 5.57812 18.4219 0.375 12 0.375ZM12 21.375C6.79688 21.375 2.625 17.2031 2.625 12C2.625 6.84375 6.79688 2.625 12 2.625C17.1562 2.625 21.375 6.84375 21.375 12C21.375 17.2031 17.1562 21.375 12 21.375ZM8.25 11.25C9.04688 11.25 9.75 10.5938 9.75 9.75C9.75 8.95312 9.04688 8.25 8.25 8.25C7.40625 8.25 6.75 8.95312 6.75 9.75C6.75 10.5938 7.40625 11.25 8.25 11.25ZM15.75 8.25C14.9062 8.25 14.25 8.95312 14.25 9.75C14.25 10.5938 14.9062 11.25 15.75 11.25C16.5469 11.25 17.25 10.5938 17.25 9.75C17.25 8.95312 16.5469 8.25 15.75 8.25ZM16.125 15H7.875C7.21875 15 6.75 15.5156 6.75 16.125C6.75 16.7812 7.21875 17.25 7.875 17.25H16.125C16.7344 17.25 17.25 16.7812 17.25 16.125C17.25 15.5156 16.7344 15 16.125 15Z',
|
6537
|
+
4: 'M15.75 8.4375C14.5312 8.4375 13.125 9.23438 12.9375 10.4531C12.8438 10.9688 13.4531 11.2969 13.8281 10.9219L14.2969 10.5469C15 9.9375 16.4531 9.9375 17.1562 10.5469L17.625 10.9219C18 11.2969 18.6094 10.9688 18.5156 10.4531C18.3281 9.23438 16.9219 8.4375 15.75 8.4375ZM8.25 11.25C9.04688 11.25 9.75 10.5938 9.75 9.75C9.75 8.95312 9.04688 8.25 8.25 8.25C7.40625 8.25 6.75 8.95312 6.75 9.75C6.75 10.5938 7.40625 11.25 8.25 11.25ZM16.9219 14.2969C15.7031 14.6719 13.9219 14.9062 12 14.9062C10.0312 14.9062 8.25 14.6719 7.03125 14.2969C6.5625 14.1562 6.14062 14.5781 6.1875 15C6.5625 17.25 9.5625 18.75 12 18.75C14.3906 18.75 17.3906 17.25 17.7656 15C17.8125 14.5781 17.3906 14.1562 16.9219 14.2969ZM12 0.375C5.57812 0.375 0.375 5.625 0.375 12C0.375 18.4219 5.57812 23.625 12 23.625C18.375 23.625 23.625 18.4219 23.625 12C23.625 5.625 18.375 0.375 12 0.375ZM12 21.375C6.79688 21.375 2.625 17.2031 2.625 12C2.625 6.84375 6.79688 2.625 12 2.625C17.1562 2.625 21.375 6.84375 21.375 12C21.375 17.2031 17.1562 21.375 12 21.375Z',
|
6538
|
+
5: 'M12 0.375C5.57812 0.375 0.375 5.57812 0.375 12C0.375 18.4219 5.57812 23.625 12 23.625C18.4219 23.625 23.625 18.4219 23.625 12C23.625 5.57812 18.4219 0.375 12 0.375ZM12 21.375C6.79688 21.375 2.625 17.2031 2.625 12C2.625 6.84375 6.79688 2.625 12 2.625C17.1562 2.625 21.375 6.84375 21.375 12C21.375 17.2031 17.1562 21.375 12 21.375ZM16.9219 14.2969C15.7031 14.6719 13.9219 14.9062 12 14.9062C10.0312 14.9062 8.25 14.6719 7.03125 14.2969C6.5625 14.1562 6.14062 14.5312 6.1875 15C6.5625 17.2031 9.5625 18.75 12 18.75C14.4375 18.75 17.3906 17.2031 17.7656 15C17.8125 14.5781 17.3906 14.1562 16.9219 14.2969ZM5.90625 12.375C6.09375 12.5625 6.375 12.6562 6.65625 12.5156L10.4062 10.2656C10.5469 10.1719 10.6875 9.98438 10.6875 9.75C10.6875 9.5625 10.5469 9.375 10.4062 9.28125L6.65625 7.03125C6.42188 6.89062 6.09375 6.9375 5.90625 7.17188C5.76562 7.35938 5.76562 7.6875 5.90625 7.875L7.5 9.75L5.90625 11.6719C5.76562 11.8594 5.76562 12.1875 5.90625 12.375ZM17.2969 12.5156C17.5781 12.6562 17.8594 12.5625 18.0469 12.375C18.1875 12.1875 18.1875 11.8594 18.0469 11.6719L16.4531 9.75L18.0469 7.875C18.2344 7.6875 18.1875 7.35938 18.0469 7.17188C17.8594 6.9375 17.5312 6.89062 17.2969 7.03125L13.5469 9.28125C13.4062 9.375 13.3125 9.5625 13.3125 9.75C13.3125 9.98438 13.4062 10.1719 13.5469 10.2656L17.2969 12.5156Z'
|
6539
|
+
};
|
6540
|
+
|
6541
|
+
$$self.$$set = $$props => {
|
6542
|
+
if ('name' in $$props) $$invalidate(5, name = $$props.name);
|
6543
|
+
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
6544
|
+
};
|
6545
|
+
|
6546
|
+
$$self.$$.update = () => {
|
6547
|
+
if ($$self.$$.dirty & /*$value*/ 64) {
|
6548
|
+
$$invalidate(1, _value = Number($value[0] ?? -1));
|
6549
|
+
}
|
6550
|
+
};
|
6551
|
+
|
6552
|
+
return [type, _value, value, handleClick, LIKERT_FACE_SVG_DATA, name, $value];
|
6553
|
+
}
|
6554
|
+
|
6555
|
+
class FormRatingButtons extends SvelteComponent {
|
6556
|
+
constructor(options) {
|
6557
|
+
super();
|
6558
|
+
init(this, options, instance$5, create_fragment$5, safe_not_equal, { name: 5, type: 0 }, add_css$5);
|
6222
6559
|
}
|
6223
6560
|
}
|
6224
6561
|
|
@@ -7576,4 +7913,4 @@ class ImageBlock extends SvelteComponent {
|
|
7576
7913
|
}
|
7577
7914
|
}
|
7578
7915
|
|
7579
|
-
export { Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormCheckBoxes, FormRadioButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyed, ensureModalRoot, finalize, formData, getActionShadowRoot, getCustomHandlers, getCustomVariables, getState$1 as getState, getStates, getStoreState, getSystem, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, loadGlobalScript, loadGlobalStyle, loadStyle, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setState$1 as setState, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, widget };
|
7916
|
+
export { Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormCheckBoxes, FormRadioButtons, FormRatingButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyed, ensureModalRoot, finalize, formData, getActionShadowRoot, getCustomHandlers, getCustomVariables, getState$1 as getState, getStates, getStoreState, getSystem, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, loadGlobalScript, loadGlobalStyle, loadStyle, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setState$1 as setState, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, widget };
|