@plaidev/karte-action-sdk 1.1.112-27920689.bf0c11cc → 1.1.112-27920847.e1abaaeb
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 +62 -1
- package/dist/hydrate/index.es.js +373 -134
- package/dist/index.es.d.ts +62 -1
- package/dist/index.es.js +346 -134
- package/dist/templates.js +1 -0
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -739,6 +739,35 @@ const OnClickOperationOptions = [
|
|
739
739
|
],
|
740
740
|
},
|
741
741
|
];
|
742
|
+
const FormOperationOptions = [
|
743
|
+
{
|
744
|
+
operation: 'submit',
|
745
|
+
args: [
|
746
|
+
{
|
747
|
+
type: 'TransitState',
|
748
|
+
default: '/',
|
749
|
+
},
|
750
|
+
],
|
751
|
+
},
|
752
|
+
{
|
753
|
+
operation: 'next',
|
754
|
+
args: [
|
755
|
+
{
|
756
|
+
type: 'TransitState',
|
757
|
+
default: '/',
|
758
|
+
},
|
759
|
+
],
|
760
|
+
},
|
761
|
+
{
|
762
|
+
operation: 'prev',
|
763
|
+
args: [
|
764
|
+
{
|
765
|
+
type: 'TransitState',
|
766
|
+
default: '/',
|
767
|
+
},
|
768
|
+
],
|
769
|
+
},
|
770
|
+
];
|
742
771
|
const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
|
743
772
|
const Justifies = ['flex-start', 'center', 'flex-end'];
|
744
773
|
const Alignments = ['flex-start', 'center', 'flex-end'];
|
@@ -1618,20 +1647,20 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
1618
1647
|
|
1619
1648
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
1620
1649
|
|
1621
|
-
function add_css$
|
1650
|
+
function add_css$n(target) {
|
1622
1651
|
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
1623
1652
|
}
|
1624
1653
|
|
1625
1654
|
class Normalize extends SvelteComponent {
|
1626
1655
|
constructor(options) {
|
1627
1656
|
super();
|
1628
|
-
init(this, options, null, null, safe_not_equal, {}, add_css$
|
1657
|
+
init(this, options, null, null, safe_not_equal, {}, add_css$n);
|
1629
1658
|
}
|
1630
1659
|
}
|
1631
1660
|
|
1632
1661
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
1633
1662
|
|
1634
|
-
function create_fragment$
|
1663
|
+
function create_fragment$r(ctx) {
|
1635
1664
|
let normalize;
|
1636
1665
|
let t;
|
1637
1666
|
let current;
|
@@ -1695,7 +1724,7 @@ function create_fragment$q(ctx) {
|
|
1695
1724
|
};
|
1696
1725
|
}
|
1697
1726
|
|
1698
|
-
function instance$
|
1727
|
+
function instance$r($$self, $$props, $$invalidate) {
|
1699
1728
|
let { $$slots: slots = {}, $$scope } = $$props;
|
1700
1729
|
|
1701
1730
|
$$self.$$set = $$props => {
|
@@ -1708,13 +1737,13 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
1708
1737
|
class State extends SvelteComponent {
|
1709
1738
|
constructor(options) {
|
1710
1739
|
super();
|
1711
|
-
init(this, options, instance$
|
1740
|
+
init(this, options, instance$r, create_fragment$r, safe_not_equal, {});
|
1712
1741
|
}
|
1713
1742
|
}
|
1714
1743
|
|
1715
1744
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
1716
1745
|
|
1717
|
-
function add_css$
|
1746
|
+
function add_css$m(target) {
|
1718
1747
|
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
1719
1748
|
}
|
1720
1749
|
|
@@ -1791,7 +1820,7 @@ function create_if_block$4(ctx) {
|
|
1791
1820
|
};
|
1792
1821
|
}
|
1793
1822
|
|
1794
|
-
function create_fragment$
|
1823
|
+
function create_fragment$q(ctx) {
|
1795
1824
|
let if_block_anchor;
|
1796
1825
|
let current;
|
1797
1826
|
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$4(ctx);
|
@@ -1856,7 +1885,7 @@ function getStateItemContext() {
|
|
1856
1885
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
1857
1886
|
}
|
1858
1887
|
|
1859
|
-
function instance$
|
1888
|
+
function instance$q($$self, $$props, $$invalidate) {
|
1860
1889
|
let $state;
|
1861
1890
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
1862
1891
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -1882,13 +1911,13 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
1882
1911
|
class StateItem extends SvelteComponent {
|
1883
1912
|
constructor(options) {
|
1884
1913
|
super();
|
1885
|
-
init(this, options, instance$
|
1914
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, { path: 0 }, add_css$m);
|
1886
1915
|
}
|
1887
1916
|
}
|
1888
1917
|
|
1889
1918
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
1890
1919
|
|
1891
|
-
function add_css$
|
1920
|
+
function add_css$l(target) {
|
1892
1921
|
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}");
|
1893
1922
|
}
|
1894
1923
|
|
@@ -1928,7 +1957,7 @@ function create_if_block$3(ctx) {
|
|
1928
1957
|
};
|
1929
1958
|
}
|
1930
1959
|
|
1931
|
-
function create_fragment$
|
1960
|
+
function create_fragment$p(ctx) {
|
1932
1961
|
let if_block_anchor;
|
1933
1962
|
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$3(ctx);
|
1934
1963
|
|
@@ -1968,7 +1997,7 @@ function create_fragment$o(ctx) {
|
|
1968
1997
|
};
|
1969
1998
|
}
|
1970
1999
|
|
1971
|
-
function instance$
|
2000
|
+
function instance$p($$self, $$props, $$invalidate) {
|
1972
2001
|
let { backgroundOverray = false } = $$props;
|
1973
2002
|
const dispatch = createEventDispatcher();
|
1974
2003
|
const click_handler = () => dispatch('click');
|
@@ -1983,13 +2012,13 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
1983
2012
|
class BackgroundOverray extends SvelteComponent {
|
1984
2013
|
constructor(options) {
|
1985
2014
|
super();
|
1986
|
-
init(this, options, instance$
|
2015
|
+
init(this, options, instance$p, create_fragment$p, safe_not_equal, { backgroundOverray: 0 }, add_css$l);
|
1987
2016
|
}
|
1988
2017
|
}
|
1989
2018
|
|
1990
2019
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
1991
2020
|
|
1992
|
-
function add_css$
|
2021
|
+
function add_css$k(target) {
|
1993
2022
|
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}");
|
1994
2023
|
}
|
1995
2024
|
|
@@ -2219,7 +2248,7 @@ function create_if_block_1(ctx) {
|
|
2219
2248
|
};
|
2220
2249
|
}
|
2221
2250
|
|
2222
|
-
function create_fragment$
|
2251
|
+
function create_fragment$o(ctx) {
|
2223
2252
|
let backgroundoverray;
|
2224
2253
|
let t;
|
2225
2254
|
let if_block_anchor;
|
@@ -2318,7 +2347,7 @@ function create_fragment$n(ctx) {
|
|
2318
2347
|
};
|
2319
2348
|
}
|
2320
2349
|
|
2321
|
-
function instance$
|
2350
|
+
function instance$o($$self, $$props, $$invalidate) {
|
2322
2351
|
let click;
|
2323
2352
|
let close;
|
2324
2353
|
let closable;
|
@@ -2509,8 +2538,8 @@ class Modal extends SvelteComponent {
|
|
2509
2538
|
init(
|
2510
2539
|
this,
|
2511
2540
|
options,
|
2512
|
-
instance$
|
2513
|
-
create_fragment$
|
2541
|
+
instance$o,
|
2542
|
+
create_fragment$o,
|
2514
2543
|
safe_not_equal,
|
2515
2544
|
{
|
2516
2545
|
onClick: 17,
|
@@ -2526,14 +2555,14 @@ class Modal extends SvelteComponent {
|
|
2526
2555
|
closeButtonColor: 2,
|
2527
2556
|
_closeStyle: 3
|
2528
2557
|
},
|
2529
|
-
add_css$
|
2558
|
+
add_css$k
|
2530
2559
|
);
|
2531
2560
|
}
|
2532
2561
|
}
|
2533
2562
|
|
2534
2563
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
2535
2564
|
|
2536
|
-
function create_fragment$
|
2565
|
+
function create_fragment$n(ctx) {
|
2537
2566
|
let div;
|
2538
2567
|
let current;
|
2539
2568
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -2601,7 +2630,7 @@ function create_fragment$m(ctx) {
|
|
2601
2630
|
};
|
2602
2631
|
}
|
2603
2632
|
|
2604
|
-
function instance$
|
2633
|
+
function instance$n($$self, $$props, $$invalidate) {
|
2605
2634
|
let _style;
|
2606
2635
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2607
2636
|
let { width = '512px' } = $$props;
|
@@ -2646,7 +2675,7 @@ class Grid extends SvelteComponent {
|
|
2646
2675
|
constructor(options) {
|
2647
2676
|
super();
|
2648
2677
|
|
2649
|
-
init(this, options, instance$
|
2678
|
+
init(this, options, instance$n, create_fragment$n, safe_not_equal, {
|
2650
2679
|
width: 1,
|
2651
2680
|
height: 2,
|
2652
2681
|
rows: 3,
|
@@ -2837,7 +2866,7 @@ function create_default_slot(ctx) {
|
|
2837
2866
|
};
|
2838
2867
|
}
|
2839
2868
|
|
2840
|
-
function create_fragment$
|
2869
|
+
function create_fragment$m(ctx) {
|
2841
2870
|
let stateitem;
|
2842
2871
|
let current;
|
2843
2872
|
|
@@ -2885,7 +2914,7 @@ function create_fragment$l(ctx) {
|
|
2885
2914
|
};
|
2886
2915
|
}
|
2887
2916
|
|
2888
|
-
function instance$
|
2917
|
+
function instance$m($$self, $$props, $$invalidate) {
|
2889
2918
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2890
2919
|
let { path } = $$props;
|
2891
2920
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -2956,7 +2985,7 @@ class GridModalState extends SvelteComponent {
|
|
2956
2985
|
constructor(options) {
|
2957
2986
|
super();
|
2958
2987
|
|
2959
|
-
init(this, options, instance$
|
2988
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, {
|
2960
2989
|
path: 0,
|
2961
2990
|
onClick: 1,
|
2962
2991
|
clickEventName: 2,
|
@@ -2981,11 +3010,11 @@ class GridModalState extends SvelteComponent {
|
|
2981
3010
|
|
2982
3011
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
2983
3012
|
|
2984
|
-
function add_css$
|
3013
|
+
function add_css$j(target) {
|
2985
3014
|
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
2986
3015
|
}
|
2987
3016
|
|
2988
|
-
function create_fragment$
|
3017
|
+
function create_fragment$l(ctx) {
|
2989
3018
|
let div1;
|
2990
3019
|
let div0;
|
2991
3020
|
let current;
|
@@ -3066,7 +3095,7 @@ function create_fragment$k(ctx) {
|
|
3066
3095
|
};
|
3067
3096
|
}
|
3068
3097
|
|
3069
|
-
function instance$
|
3098
|
+
function instance$l($$self, $$props, $$invalidate) {
|
3070
3099
|
let _style;
|
3071
3100
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3072
3101
|
let { x1 } = $$props;
|
@@ -3119,8 +3148,8 @@ class GridItem extends SvelteComponent {
|
|
3119
3148
|
init(
|
3120
3149
|
this,
|
3121
3150
|
options,
|
3122
|
-
instance$
|
3123
|
-
create_fragment$
|
3151
|
+
instance$l,
|
3152
|
+
create_fragment$l,
|
3124
3153
|
safe_not_equal,
|
3125
3154
|
{
|
3126
3155
|
x1: 2,
|
@@ -3130,18 +3159,18 @@ class GridItem extends SvelteComponent {
|
|
3130
3159
|
z: 6,
|
3131
3160
|
background: 7
|
3132
3161
|
},
|
3133
|
-
add_css$
|
3162
|
+
add_css$j
|
3134
3163
|
);
|
3135
3164
|
}
|
3136
3165
|
}
|
3137
3166
|
|
3138
3167
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
3139
3168
|
|
3140
|
-
function add_css$
|
3169
|
+
function add_css$i(target) {
|
3141
3170
|
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
3142
3171
|
}
|
3143
3172
|
|
3144
|
-
function create_fragment$
|
3173
|
+
function create_fragment$k(ctx) {
|
3145
3174
|
let div;
|
3146
3175
|
let div_style_value;
|
3147
3176
|
let current;
|
@@ -3216,7 +3245,7 @@ function getFlexContext() {
|
|
3216
3245
|
return getContext(FlexContextKey);
|
3217
3246
|
}
|
3218
3247
|
|
3219
|
-
function instance$
|
3248
|
+
function instance$k($$self, $$props, $$invalidate) {
|
3220
3249
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3221
3250
|
let { direction = 'row' } = $$props;
|
3222
3251
|
let { width = '100%' } = $$props;
|
@@ -3242,8 +3271,8 @@ class Flex extends SvelteComponent {
|
|
3242
3271
|
init(
|
3243
3272
|
this,
|
3244
3273
|
options,
|
3245
|
-
instance$
|
3246
|
-
create_fragment$
|
3274
|
+
instance$k,
|
3275
|
+
create_fragment$k,
|
3247
3276
|
safe_not_equal,
|
3248
3277
|
{
|
3249
3278
|
direction: 0,
|
@@ -3251,18 +3280,18 @@ class Flex extends SvelteComponent {
|
|
3251
3280
|
height: 2,
|
3252
3281
|
_style: 3
|
3253
3282
|
},
|
3254
|
-
add_css$
|
3283
|
+
add_css$i
|
3255
3284
|
);
|
3256
3285
|
}
|
3257
3286
|
}
|
3258
3287
|
|
3259
3288
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
3260
3289
|
|
3261
|
-
function add_css$
|
3290
|
+
function add_css$h(target) {
|
3262
3291
|
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
3263
3292
|
}
|
3264
3293
|
|
3265
|
-
function create_fragment$
|
3294
|
+
function create_fragment$j(ctx) {
|
3266
3295
|
let div;
|
3267
3296
|
let current;
|
3268
3297
|
const default_slot_template = /*#slots*/ ctx[4].default;
|
@@ -3330,7 +3359,7 @@ function create_fragment$i(ctx) {
|
|
3330
3359
|
};
|
3331
3360
|
}
|
3332
3361
|
|
3333
|
-
function instance$
|
3362
|
+
function instance$j($$self, $$props, $$invalidate) {
|
3334
3363
|
let { $$slots: slots = {}, $$scope } = $$props;
|
3335
3364
|
let { length } = $$props;
|
3336
3365
|
let { _style = '' } = $$props;
|
@@ -3373,13 +3402,13 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
3373
3402
|
class FlexItem extends SvelteComponent {
|
3374
3403
|
constructor(options) {
|
3375
3404
|
super();
|
3376
|
-
init(this, options, instance$
|
3405
|
+
init(this, options, instance$j, create_fragment$j, safe_not_equal, { length: 1, _style: 2 }, add_css$h);
|
3377
3406
|
}
|
3378
3407
|
}
|
3379
3408
|
|
3380
3409
|
/* src/components/RenderText.svelte generated by Svelte v3.53.1 */
|
3381
3410
|
|
3382
|
-
function get_each_context$
|
3411
|
+
function get_each_context$3(ctx, list, i) {
|
3383
3412
|
const child_ctx = ctx.slice();
|
3384
3413
|
child_ctx[2] = list[i];
|
3385
3414
|
return child_ctx;
|
@@ -3431,7 +3460,7 @@ function create_if_block$1(ctx) {
|
|
3431
3460
|
}
|
3432
3461
|
|
3433
3462
|
// (9:0) {#each items as item}
|
3434
|
-
function create_each_block$
|
3463
|
+
function create_each_block$3(ctx) {
|
3435
3464
|
let show_if;
|
3436
3465
|
let if_block_anchor;
|
3437
3466
|
|
@@ -3478,13 +3507,13 @@ function create_each_block$2(ctx) {
|
|
3478
3507
|
};
|
3479
3508
|
}
|
3480
3509
|
|
3481
|
-
function create_fragment$
|
3510
|
+
function create_fragment$i(ctx) {
|
3482
3511
|
let each_1_anchor;
|
3483
3512
|
let each_value = /*items*/ ctx[0];
|
3484
3513
|
let each_blocks = [];
|
3485
3514
|
|
3486
3515
|
for (let i = 0; i < each_value.length; i += 1) {
|
3487
|
-
each_blocks[i] = create_each_block$
|
3516
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
3488
3517
|
}
|
3489
3518
|
|
3490
3519
|
return {
|
@@ -3515,12 +3544,12 @@ function create_fragment$h(ctx) {
|
|
3515
3544
|
let i;
|
3516
3545
|
|
3517
3546
|
for (i = 0; i < each_value.length; i += 1) {
|
3518
|
-
const child_ctx = get_each_context$
|
3547
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
3519
3548
|
|
3520
3549
|
if (each_blocks[i]) {
|
3521
3550
|
each_blocks[i].p(child_ctx, dirty);
|
3522
3551
|
} else {
|
3523
|
-
each_blocks[i] = create_each_block$
|
3552
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
3524
3553
|
each_blocks[i].c();
|
3525
3554
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
3526
3555
|
}
|
@@ -3544,7 +3573,7 @@ function create_fragment$h(ctx) {
|
|
3544
3573
|
|
3545
3574
|
const regexp = /(\r?\n)/;
|
3546
3575
|
|
3547
|
-
function instance$
|
3576
|
+
function instance$i($$self, $$props, $$invalidate) {
|
3548
3577
|
let items;
|
3549
3578
|
let { text = 'サンプルSample' } = $$props;
|
3550
3579
|
|
@@ -3564,17 +3593,17 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
3564
3593
|
class RenderText extends SvelteComponent {
|
3565
3594
|
constructor(options) {
|
3566
3595
|
super();
|
3567
|
-
init(this, options, instance$
|
3596
|
+
init(this, options, instance$i, create_fragment$i, safe_not_equal, { text: 1 });
|
3568
3597
|
}
|
3569
3598
|
}
|
3570
3599
|
|
3571
3600
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
3572
3601
|
|
3573
|
-
function add_css$
|
3602
|
+
function add_css$g(target) {
|
3574
3603
|
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%}");
|
3575
3604
|
}
|
3576
3605
|
|
3577
|
-
function create_fragment$
|
3606
|
+
function create_fragment$h(ctx) {
|
3578
3607
|
let div1;
|
3579
3608
|
let div0;
|
3580
3609
|
let rendertext;
|
@@ -3639,7 +3668,7 @@ function create_fragment$g(ctx) {
|
|
3639
3668
|
};
|
3640
3669
|
}
|
3641
3670
|
|
3642
|
-
function instance$
|
3671
|
+
function instance$h($$self, $$props, $$invalidate) {
|
3643
3672
|
let style;
|
3644
3673
|
let { text = 'サンプルSample' } = $$props;
|
3645
3674
|
let { _textStyle = 'font-size:12px;' } = $$props;
|
@@ -3669,8 +3698,8 @@ class TextElement extends SvelteComponent {
|
|
3669
3698
|
init(
|
3670
3699
|
this,
|
3671
3700
|
options,
|
3672
|
-
instance$
|
3673
|
-
create_fragment$
|
3701
|
+
instance$h,
|
3702
|
+
create_fragment$h,
|
3674
3703
|
safe_not_equal,
|
3675
3704
|
{
|
3676
3705
|
text: 0,
|
@@ -3678,18 +3707,18 @@ class TextElement extends SvelteComponent {
|
|
3678
3707
|
textDirection: 1,
|
3679
3708
|
_style: 4
|
3680
3709
|
},
|
3681
|
-
add_css$
|
3710
|
+
add_css$g
|
3682
3711
|
);
|
3683
3712
|
}
|
3684
3713
|
}
|
3685
3714
|
|
3686
3715
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
3687
3716
|
|
3688
|
-
function add_css$
|
3717
|
+
function add_css$f(target) {
|
3689
3718
|
append_styles(target, "svelte-tx5xf5", ".text-button-element.svelte-tx5xf5{width:100%;height:100%}.text-button.svelte-tx5xf5{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.svelte-tx5xf5:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-tx5xf5:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
3690
3719
|
}
|
3691
3720
|
|
3692
|
-
function create_fragment$
|
3721
|
+
function create_fragment$g(ctx) {
|
3693
3722
|
let div;
|
3694
3723
|
let button;
|
3695
3724
|
let rendertext;
|
@@ -3763,7 +3792,7 @@ function create_fragment$f(ctx) {
|
|
3763
3792
|
};
|
3764
3793
|
}
|
3765
3794
|
|
3766
|
-
function instance$
|
3795
|
+
function instance$g($$self, $$props, $$invalidate) {
|
3767
3796
|
let { text = 'ボタンラベル' } = $$props;
|
3768
3797
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
3769
3798
|
|
@@ -3797,8 +3826,8 @@ class TextButtonElement extends SvelteComponent {
|
|
3797
3826
|
init(
|
3798
3827
|
this,
|
3799
3828
|
options,
|
3800
|
-
instance$
|
3801
|
-
create_fragment$
|
3829
|
+
instance$g,
|
3830
|
+
create_fragment$g,
|
3802
3831
|
safe_not_equal,
|
3803
3832
|
{
|
3804
3833
|
text: 0,
|
@@ -3807,18 +3836,18 @@ class TextButtonElement extends SvelteComponent {
|
|
3807
3836
|
_buttonStyle: 1,
|
3808
3837
|
_style: 2
|
3809
3838
|
},
|
3810
|
-
add_css$
|
3839
|
+
add_css$f
|
3811
3840
|
);
|
3812
3841
|
}
|
3813
3842
|
}
|
3814
3843
|
|
3815
3844
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
3816
3845
|
|
3817
|
-
function add_css$
|
3846
|
+
function add_css$e(target) {
|
3818
3847
|
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)}");
|
3819
3848
|
}
|
3820
3849
|
|
3821
|
-
function create_fragment$
|
3850
|
+
function create_fragment$f(ctx) {
|
3822
3851
|
let div;
|
3823
3852
|
let img;
|
3824
3853
|
let img_src_value;
|
@@ -3900,7 +3929,7 @@ function create_fragment$e(ctx) {
|
|
3900
3929
|
};
|
3901
3930
|
}
|
3902
3931
|
|
3903
|
-
function instance$
|
3932
|
+
function instance$f($$self, $$props, $$invalidate) {
|
3904
3933
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
3905
3934
|
let { alt = 'No Image' } = $$props;
|
3906
3935
|
let { transport = false } = $$props;
|
@@ -3938,8 +3967,8 @@ class ImageElement extends SvelteComponent {
|
|
3938
3967
|
init(
|
3939
3968
|
this,
|
3940
3969
|
options,
|
3941
|
-
instance$
|
3942
|
-
create_fragment$
|
3970
|
+
instance$f,
|
3971
|
+
create_fragment$f,
|
3943
3972
|
safe_not_equal,
|
3944
3973
|
{
|
3945
3974
|
src: 0,
|
@@ -3950,18 +3979,18 @@ class ImageElement extends SvelteComponent {
|
|
3950
3979
|
_imageStyle: 3,
|
3951
3980
|
_style: 4
|
3952
3981
|
},
|
3953
|
-
add_css$
|
3982
|
+
add_css$e
|
3954
3983
|
);
|
3955
3984
|
}
|
3956
3985
|
}
|
3957
3986
|
|
3958
3987
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
3959
3988
|
|
3960
|
-
function add_css$
|
3989
|
+
function add_css$d(target) {
|
3961
3990
|
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
3962
3991
|
}
|
3963
3992
|
|
3964
|
-
function create_fragment$
|
3993
|
+
function create_fragment$e(ctx) {
|
3965
3994
|
let div;
|
3966
3995
|
let current;
|
3967
3996
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -4031,7 +4060,7 @@ function create_fragment$d(ctx) {
|
|
4031
4060
|
|
4032
4061
|
const LIST_CONTEXT_KEY = Symbol();
|
4033
4062
|
|
4034
|
-
function instance$
|
4063
|
+
function instance$e($$self, $$props, $$invalidate) {
|
4035
4064
|
let style;
|
4036
4065
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4037
4066
|
let { direction = 'vertical' } = $$props;
|
@@ -4098,8 +4127,8 @@ class List extends SvelteComponent {
|
|
4098
4127
|
init(
|
4099
4128
|
this,
|
4100
4129
|
options,
|
4101
|
-
instance$
|
4102
|
-
create_fragment$
|
4130
|
+
instance$e,
|
4131
|
+
create_fragment$e,
|
4103
4132
|
safe_not_equal,
|
4104
4133
|
{
|
4105
4134
|
direction: 1,
|
@@ -4107,18 +4136,18 @@ class List extends SvelteComponent {
|
|
4107
4136
|
background: 3,
|
4108
4137
|
_style: 4
|
4109
4138
|
},
|
4110
|
-
add_css$
|
4139
|
+
add_css$d
|
4111
4140
|
);
|
4112
4141
|
}
|
4113
4142
|
}
|
4114
4143
|
|
4115
4144
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4116
4145
|
|
4117
|
-
function add_css$
|
4146
|
+
function add_css$c(target) {
|
4118
4147
|
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}");
|
4119
4148
|
}
|
4120
4149
|
|
4121
|
-
function create_fragment$
|
4150
|
+
function create_fragment$d(ctx) {
|
4122
4151
|
let div1;
|
4123
4152
|
let div0;
|
4124
4153
|
let current;
|
@@ -4212,7 +4241,7 @@ function create_fragment$c(ctx) {
|
|
4212
4241
|
};
|
4213
4242
|
}
|
4214
4243
|
|
4215
|
-
function instance$
|
4244
|
+
function instance$d($$self, $$props, $$invalidate) {
|
4216
4245
|
let click;
|
4217
4246
|
let listItemStyle;
|
4218
4247
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -4302,17 +4331,17 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
4302
4331
|
class ListItem extends SvelteComponent {
|
4303
4332
|
constructor(options) {
|
4304
4333
|
super();
|
4305
|
-
init(this, options, instance$
|
4334
|
+
init(this, options, instance$d, create_fragment$d, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$c);
|
4306
4335
|
}
|
4307
4336
|
}
|
4308
4337
|
|
4309
4338
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
4310
4339
|
|
4311
|
-
function add_css$
|
4340
|
+
function add_css$b(target) {
|
4312
4341
|
append_styles(target, "svelte-k86zna", ".embed.svelte-k86zna{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-k86zna iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4313
4342
|
}
|
4314
4343
|
|
4315
|
-
function create_fragment$
|
4344
|
+
function create_fragment$c(ctx) {
|
4316
4345
|
let div;
|
4317
4346
|
|
4318
4347
|
return {
|
@@ -4348,7 +4377,7 @@ function create_fragment$b(ctx) {
|
|
4348
4377
|
};
|
4349
4378
|
}
|
4350
4379
|
|
4351
|
-
function instance$
|
4380
|
+
function instance$c($$self, $$props, $$invalidate) {
|
4352
4381
|
let { code } = $$props;
|
4353
4382
|
let { _style = '' } = $$props;
|
4354
4383
|
|
@@ -4363,17 +4392,17 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
4363
4392
|
class EmbedElement extends SvelteComponent {
|
4364
4393
|
constructor(options) {
|
4365
4394
|
super();
|
4366
|
-
init(this, options, instance$
|
4395
|
+
init(this, options, instance$c, create_fragment$c, safe_not_equal, { code: 0, _style: 1 }, add_css$b);
|
4367
4396
|
}
|
4368
4397
|
}
|
4369
4398
|
|
4370
4399
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
4371
4400
|
|
4372
|
-
function add_css$
|
4401
|
+
function add_css$a(target) {
|
4373
4402
|
append_styles(target, "svelte-k86zna", ".embed.svelte-k86zna{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-k86zna iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4374
4403
|
}
|
4375
4404
|
|
4376
|
-
function create_fragment$
|
4405
|
+
function create_fragment$b(ctx) {
|
4377
4406
|
let div1;
|
4378
4407
|
let div0;
|
4379
4408
|
|
@@ -4415,7 +4444,7 @@ function create_fragment$a(ctx) {
|
|
4415
4444
|
};
|
4416
4445
|
}
|
4417
4446
|
|
4418
|
-
function instance$
|
4447
|
+
function instance$b($$self, $$props, $$invalidate) {
|
4419
4448
|
let $system;
|
4420
4449
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
4421
4450
|
let { videoId } = $$props;
|
@@ -4594,8 +4623,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
4594
4623
|
init(
|
4595
4624
|
this,
|
4596
4625
|
options,
|
4597
|
-
instance$
|
4598
|
-
create_fragment$
|
4626
|
+
instance$b,
|
4627
|
+
create_fragment$b,
|
4599
4628
|
safe_not_equal,
|
4600
4629
|
{
|
4601
4630
|
videoId: 2,
|
@@ -4605,18 +4634,18 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
4605
4634
|
mute: 6,
|
4606
4635
|
_style: 0
|
4607
4636
|
},
|
4608
|
-
add_css$
|
4637
|
+
add_css$a
|
4609
4638
|
);
|
4610
4639
|
}
|
4611
4640
|
}
|
4612
4641
|
|
4613
4642
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
4614
4643
|
|
4615
|
-
function add_css$
|
4644
|
+
function add_css$9(target) {
|
4616
4645
|
append_styles(target, "svelte-5l33p2", ".embed.svelte-5l33p2{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-5l33p2 iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4617
4646
|
}
|
4618
4647
|
|
4619
|
-
function create_fragment$
|
4648
|
+
function create_fragment$a(ctx) {
|
4620
4649
|
let div1;
|
4621
4650
|
let div0;
|
4622
4651
|
|
@@ -4658,7 +4687,7 @@ function create_fragment$9(ctx) {
|
|
4658
4687
|
};
|
4659
4688
|
}
|
4660
4689
|
|
4661
|
-
function instance$
|
4690
|
+
function instance$a($$self, $$props, $$invalidate) {
|
4662
4691
|
let $system;
|
4663
4692
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
4664
4693
|
let { videoId } = $$props;
|
@@ -4801,8 +4830,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
4801
4830
|
init(
|
4802
4831
|
this,
|
4803
4832
|
options,
|
4804
|
-
instance$
|
4805
|
-
create_fragment$
|
4833
|
+
instance$a,
|
4834
|
+
create_fragment$a,
|
4806
4835
|
safe_not_equal,
|
4807
4836
|
{
|
4808
4837
|
videoId: 2,
|
@@ -4812,7 +4841,7 @@ class MovieVimeoElement extends SvelteComponent {
|
|
4812
4841
|
mute: 6,
|
4813
4842
|
_style: 0
|
4814
4843
|
},
|
4815
|
-
add_css$
|
4844
|
+
add_css$9
|
4816
4845
|
);
|
4817
4846
|
}
|
4818
4847
|
}
|
@@ -4914,11 +4943,11 @@ function submit() {
|
|
4914
4943
|
|
4915
4944
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
4916
4945
|
|
4917
|
-
function add_css$
|
4946
|
+
function add_css$8(target) {
|
4918
4947
|
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}");
|
4919
4948
|
}
|
4920
4949
|
|
4921
|
-
function create_fragment$
|
4950
|
+
function create_fragment$9(ctx) {
|
4922
4951
|
let div;
|
4923
4952
|
let textarea;
|
4924
4953
|
let mounted;
|
@@ -4988,7 +5017,7 @@ function create_fragment$8(ctx) {
|
|
4988
5017
|
};
|
4989
5018
|
}
|
4990
5019
|
|
4991
|
-
function instance$
|
5020
|
+
function instance$9($$self, $$props, $$invalidate) {
|
4992
5021
|
let $value;
|
4993
5022
|
let { name = '' } = $$props;
|
4994
5023
|
let { required = true } = $$props;
|
@@ -5029,8 +5058,8 @@ class FormTextarea extends SvelteComponent {
|
|
5029
5058
|
init(
|
5030
5059
|
this,
|
5031
5060
|
options,
|
5032
|
-
instance$
|
5033
|
-
create_fragment$
|
5061
|
+
instance$9,
|
5062
|
+
create_fragment$9,
|
5034
5063
|
safe_not_equal,
|
5035
5064
|
{
|
5036
5065
|
name: 6,
|
@@ -5038,14 +5067,14 @@ class FormTextarea extends SvelteComponent {
|
|
5038
5067
|
rows: 1,
|
5039
5068
|
placeholder: 2
|
5040
5069
|
},
|
5041
|
-
add_css$
|
5070
|
+
add_css$8
|
5042
5071
|
);
|
5043
5072
|
}
|
5044
5073
|
}
|
5045
5074
|
|
5046
5075
|
/* src/components/FormButton.svelte generated by Svelte v3.53.1 */
|
5047
5076
|
|
5048
|
-
function create_fragment$
|
5077
|
+
function create_fragment$8(ctx) {
|
5049
5078
|
let input;
|
5050
5079
|
let mounted;
|
5051
5080
|
let dispose;
|
@@ -5093,21 +5122,21 @@ function create_fragment$7(ctx) {
|
|
5093
5122
|
};
|
5094
5123
|
}
|
5095
5124
|
|
5096
|
-
function instance$
|
5125
|
+
function instance$8($$self, $$props, $$invalidate) {
|
5097
5126
|
let disabled;
|
5098
5127
|
let $valuesAreValid;
|
5099
5128
|
let { text = '' } = $$props;
|
5100
|
-
let {
|
5129
|
+
let { onClick = { operation: 'submit', args: ['/'] } } = $$props;
|
5101
5130
|
const { path: statePath } = getStateItemContext();
|
5102
5131
|
|
5103
5132
|
function handleClick() {
|
5104
|
-
switch (
|
5133
|
+
switch (onClick.operation) {
|
5105
5134
|
case 'submit':
|
5106
5135
|
{
|
5107
5136
|
if ($valuesAreValid) {
|
5108
5137
|
submit();
|
5109
|
-
const stateId =
|
5110
|
-
setState$1(stateId
|
5138
|
+
const stateId = onClick.args[0];
|
5139
|
+
setState$1(stateId);
|
5111
5140
|
}
|
5112
5141
|
|
5113
5142
|
break;
|
@@ -5115,8 +5144,8 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
5115
5144
|
case 'next':
|
5116
5145
|
{
|
5117
5146
|
if ($valuesAreValid) {
|
5118
|
-
const stateId =
|
5119
|
-
setState$1(stateId
|
5147
|
+
const stateId = onClick.args[0];
|
5148
|
+
setState$1(stateId);
|
5120
5149
|
}
|
5121
5150
|
|
5122
5151
|
break;
|
@@ -5124,8 +5153,8 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
5124
5153
|
case 'prev':
|
5125
5154
|
{
|
5126
5155
|
deleteValues(statePath);
|
5127
|
-
const stateId =
|
5128
|
-
setState$1(stateId
|
5156
|
+
const stateId = onClick.args[0];
|
5157
|
+
setState$1(stateId);
|
5129
5158
|
break;
|
5130
5159
|
}
|
5131
5160
|
}
|
@@ -5136,35 +5165,35 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
5136
5165
|
|
5137
5166
|
$$self.$$set = $$props => {
|
5138
5167
|
if ('text' in $$props) $$invalidate(0, text = $$props.text);
|
5139
|
-
if ('
|
5168
|
+
if ('onClick' in $$props) $$invalidate(4, onClick = $$props.onClick);
|
5140
5169
|
};
|
5141
5170
|
|
5142
5171
|
$$self.$$.update = () => {
|
5143
|
-
if ($$self.$$.dirty & /*
|
5172
|
+
if ($$self.$$.dirty & /*onClick, $valuesAreValid*/ 48) {
|
5144
5173
|
$$invalidate(1, disabled = (() => {
|
5145
|
-
const enabled =
|
5174
|
+
const enabled = onClick.operation === 'prev' || $valuesAreValid;
|
5146
5175
|
return !enabled;
|
5147
5176
|
})());
|
5148
5177
|
}
|
5149
5178
|
};
|
5150
5179
|
|
5151
|
-
return [text, disabled, handleClick, valuesAreValid,
|
5180
|
+
return [text, disabled, handleClick, valuesAreValid, onClick, $valuesAreValid];
|
5152
5181
|
}
|
5153
5182
|
|
5154
5183
|
class FormButton extends SvelteComponent {
|
5155
5184
|
constructor(options) {
|
5156
5185
|
super();
|
5157
|
-
init(this, options, instance$
|
5186
|
+
init(this, options, instance$8, create_fragment$8, safe_not_equal, { text: 0, onClick: 4 });
|
5158
5187
|
}
|
5159
5188
|
}
|
5160
5189
|
|
5161
5190
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5162
5191
|
|
5163
|
-
function add_css$
|
5192
|
+
function add_css$7(target) {
|
5164
5193
|
append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
5165
5194
|
}
|
5166
5195
|
|
5167
|
-
function get_each_context$
|
5196
|
+
function get_each_context$2(ctx, list, i) {
|
5168
5197
|
const child_ctx = ctx.slice();
|
5169
5198
|
child_ctx[7] = list[i];
|
5170
5199
|
child_ctx[9] = i;
|
@@ -5172,7 +5201,7 @@ function get_each_context$1(ctx, list, i) {
|
|
5172
5201
|
}
|
5173
5202
|
|
5174
5203
|
// (23:2) {#each _options as option, i}
|
5175
|
-
function create_each_block$
|
5204
|
+
function create_each_block$2(ctx) {
|
5176
5205
|
let label;
|
5177
5206
|
let input;
|
5178
5207
|
let t0;
|
@@ -5239,13 +5268,13 @@ function create_each_block$1(ctx) {
|
|
5239
5268
|
};
|
5240
5269
|
}
|
5241
5270
|
|
5242
|
-
function create_fragment$
|
5271
|
+
function create_fragment$7(ctx) {
|
5243
5272
|
let div;
|
5244
5273
|
let each_value = /*_options*/ ctx[1];
|
5245
5274
|
let each_blocks = [];
|
5246
5275
|
|
5247
5276
|
for (let i = 0; i < each_value.length; i += 1) {
|
5248
|
-
each_blocks[i] = create_each_block$
|
5277
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
5249
5278
|
}
|
5250
5279
|
|
5251
5280
|
return {
|
@@ -5285,12 +5314,12 @@ function create_fragment$6(ctx) {
|
|
5285
5314
|
let i;
|
5286
5315
|
|
5287
5316
|
for (i = 0; i < each_value.length; i += 1) {
|
5288
|
-
const child_ctx = get_each_context$
|
5317
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
5289
5318
|
|
5290
5319
|
if (each_blocks[i]) {
|
5291
5320
|
each_blocks[i].p(child_ctx, dirty);
|
5292
5321
|
} else {
|
5293
|
-
each_blocks[i] = create_each_block$
|
5322
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
5294
5323
|
each_blocks[i].c();
|
5295
5324
|
each_blocks[i].m(div, null);
|
5296
5325
|
}
|
@@ -5312,11 +5341,11 @@ function create_fragment$6(ctx) {
|
|
5312
5341
|
};
|
5313
5342
|
}
|
5314
5343
|
|
5315
|
-
function instance$
|
5344
|
+
function instance$7($$self, $$props, $$invalidate) {
|
5316
5345
|
let _options;
|
5317
5346
|
let $value;
|
5318
5347
|
let { name = '' } = $$props;
|
5319
|
-
let { options = '
|
5348
|
+
let { options = 'ラジオボタン1,ラジオボタン2,ラジオボタン3' } = $$props;
|
5320
5349
|
const { path: statePath } = getStateItemContext();
|
5321
5350
|
|
5322
5351
|
const value = registerInput({
|
@@ -5353,17 +5382,17 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
5353
5382
|
class FormRadioButtons extends SvelteComponent {
|
5354
5383
|
constructor(options) {
|
5355
5384
|
super();
|
5356
|
-
init(this, options, instance$
|
5385
|
+
init(this, options, instance$7, create_fragment$7, safe_not_equal, { name: 0, options: 5 }, add_css$7);
|
5357
5386
|
}
|
5358
5387
|
}
|
5359
5388
|
|
5360
5389
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
5361
5390
|
|
5362
|
-
function add_css$
|
5391
|
+
function add_css$6(target) {
|
5363
5392
|
append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
5364
5393
|
}
|
5365
5394
|
|
5366
|
-
function get_each_context(ctx, list, i) {
|
5395
|
+
function get_each_context$1(ctx, list, i) {
|
5367
5396
|
const child_ctx = ctx.slice();
|
5368
5397
|
child_ctx[6] = list[i];
|
5369
5398
|
child_ctx[8] = i;
|
@@ -5416,7 +5445,7 @@ function create_if_block(ctx) {
|
|
5416
5445
|
}
|
5417
5446
|
|
5418
5447
|
// (24:4) {#each _options as option, i}
|
5419
|
-
function create_each_block(ctx) {
|
5448
|
+
function create_each_block$1(ctx) {
|
5420
5449
|
let option;
|
5421
5450
|
let t;
|
5422
5451
|
let option_value_value;
|
@@ -5478,7 +5507,7 @@ function create_each_block(ctx) {
|
|
5478
5507
|
};
|
5479
5508
|
}
|
5480
5509
|
|
5481
|
-
function create_fragment$
|
5510
|
+
function create_fragment$6(ctx) {
|
5482
5511
|
let div;
|
5483
5512
|
let select;
|
5484
5513
|
let mounted;
|
@@ -5487,7 +5516,7 @@ function create_fragment$5(ctx) {
|
|
5487
5516
|
let each_blocks = [];
|
5488
5517
|
|
5489
5518
|
for (let i = 0; i < each_value.length; i += 1) {
|
5490
|
-
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
5519
|
+
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
|
5491
5520
|
}
|
5492
5521
|
|
5493
5522
|
return {
|
@@ -5537,12 +5566,12 @@ function create_fragment$5(ctx) {
|
|
5537
5566
|
let i;
|
5538
5567
|
|
5539
5568
|
for (i = 0; i < each_value.length; i += 1) {
|
5540
|
-
const child_ctx = get_each_context(ctx, each_value, i);
|
5569
|
+
const child_ctx = get_each_context$1(ctx, each_value, i);
|
5541
5570
|
|
5542
5571
|
if (each_blocks[i]) {
|
5543
5572
|
each_blocks[i].p(child_ctx, dirty);
|
5544
5573
|
} else {
|
5545
|
-
each_blocks[i] = create_each_block(child_ctx);
|
5574
|
+
each_blocks[i] = create_each_block$1(child_ctx);
|
5546
5575
|
each_blocks[i].c();
|
5547
5576
|
each_blocks[i].m(select, null);
|
5548
5577
|
}
|
@@ -5566,7 +5595,7 @@ function create_fragment$5(ctx) {
|
|
5566
5595
|
};
|
5567
5596
|
}
|
5568
5597
|
|
5569
|
-
function instance$
|
5598
|
+
function instance$6($$self, $$props, $$invalidate) {
|
5570
5599
|
let _options;
|
5571
5600
|
let { name = '' } = $$props;
|
5572
5601
|
let { options = 'プルダウン1,プルダウン2,プルダウン3' } = $$props;
|
@@ -5603,7 +5632,217 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
5603
5632
|
class FormSelect extends SvelteComponent {
|
5604
5633
|
constructor(options) {
|
5605
5634
|
super();
|
5606
|
-
init(this, options, instance$
|
5635
|
+
init(this, options, instance$6, create_fragment$6, safe_not_equal, { name: 2, options: 3 }, add_css$6);
|
5636
|
+
}
|
5637
|
+
}
|
5638
|
+
|
5639
|
+
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
5640
|
+
|
5641
|
+
function add_css$5(target) {
|
5642
|
+
append_styles(target, "svelte-3uhiw4", ".check-boxes.svelte-3uhiw4{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
5643
|
+
}
|
5644
|
+
|
5645
|
+
function get_each_context(ctx, list, i) {
|
5646
|
+
const child_ctx = ctx.slice();
|
5647
|
+
child_ctx[8] = list[i];
|
5648
|
+
child_ctx[10] = i;
|
5649
|
+
return child_ctx;
|
5650
|
+
}
|
5651
|
+
|
5652
|
+
// (30:2) {#each _options as option, i}
|
5653
|
+
function create_each_block(ctx) {
|
5654
|
+
let label;
|
5655
|
+
let input;
|
5656
|
+
let t0;
|
5657
|
+
let t1_value = /*option*/ ctx[8] + "";
|
5658
|
+
let t1;
|
5659
|
+
let t2;
|
5660
|
+
let mounted;
|
5661
|
+
let dispose;
|
5662
|
+
|
5663
|
+
return {
|
5664
|
+
c() {
|
5665
|
+
label = element("label");
|
5666
|
+
input = element("input");
|
5667
|
+
t0 = space();
|
5668
|
+
t1 = text(t1_value);
|
5669
|
+
t2 = space();
|
5670
|
+
this.h();
|
5671
|
+
},
|
5672
|
+
l(nodes) {
|
5673
|
+
label = claim_element(nodes, "LABEL", {});
|
5674
|
+
var label_nodes = children(label);
|
5675
|
+
input = claim_element(label_nodes, "INPUT", { type: true, name: true });
|
5676
|
+
t0 = claim_space(label_nodes);
|
5677
|
+
t1 = claim_text(label_nodes, t1_value);
|
5678
|
+
t2 = claim_space(label_nodes);
|
5679
|
+
label_nodes.forEach(detach);
|
5680
|
+
this.h();
|
5681
|
+
},
|
5682
|
+
h() {
|
5683
|
+
attr(input, "type", "checkbox");
|
5684
|
+
attr(input, "name", /*name*/ ctx[0]);
|
5685
|
+
input.value = /*$value*/ ctx[2];
|
5686
|
+
},
|
5687
|
+
m(target, anchor) {
|
5688
|
+
insert_hydration(target, label, anchor);
|
5689
|
+
append_hydration(label, input);
|
5690
|
+
append_hydration(label, t0);
|
5691
|
+
append_hydration(label, t1);
|
5692
|
+
append_hydration(label, t2);
|
5693
|
+
|
5694
|
+
if (!mounted) {
|
5695
|
+
dispose = listen(input, "change", /*handleChange*/ ctx[4](/*i*/ ctx[10]));
|
5696
|
+
mounted = true;
|
5697
|
+
}
|
5698
|
+
},
|
5699
|
+
p(new_ctx, dirty) {
|
5700
|
+
ctx = new_ctx;
|
5701
|
+
|
5702
|
+
if (dirty & /*name*/ 1) {
|
5703
|
+
attr(input, "name", /*name*/ ctx[0]);
|
5704
|
+
}
|
5705
|
+
|
5706
|
+
if (dirty & /*$value*/ 4) {
|
5707
|
+
input.value = /*$value*/ ctx[2];
|
5708
|
+
}
|
5709
|
+
|
5710
|
+
if (dirty & /*_options*/ 2 && t1_value !== (t1_value = /*option*/ ctx[8] + "")) set_data(t1, t1_value);
|
5711
|
+
},
|
5712
|
+
d(detaching) {
|
5713
|
+
if (detaching) detach(label);
|
5714
|
+
mounted = false;
|
5715
|
+
dispose();
|
5716
|
+
}
|
5717
|
+
};
|
5718
|
+
}
|
5719
|
+
|
5720
|
+
function create_fragment$5(ctx) {
|
5721
|
+
let div;
|
5722
|
+
let each_value = /*_options*/ ctx[1];
|
5723
|
+
let each_blocks = [];
|
5724
|
+
|
5725
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
5726
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
5727
|
+
}
|
5728
|
+
|
5729
|
+
return {
|
5730
|
+
c() {
|
5731
|
+
div = element("div");
|
5732
|
+
|
5733
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
5734
|
+
each_blocks[i].c();
|
5735
|
+
}
|
5736
|
+
|
5737
|
+
this.h();
|
5738
|
+
},
|
5739
|
+
l(nodes) {
|
5740
|
+
div = claim_element(nodes, "DIV", { class: true });
|
5741
|
+
var div_nodes = children(div);
|
5742
|
+
|
5743
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
5744
|
+
each_blocks[i].l(div_nodes);
|
5745
|
+
}
|
5746
|
+
|
5747
|
+
div_nodes.forEach(detach);
|
5748
|
+
this.h();
|
5749
|
+
},
|
5750
|
+
h() {
|
5751
|
+
attr(div, "class", "check-boxes svelte-3uhiw4");
|
5752
|
+
},
|
5753
|
+
m(target, anchor) {
|
5754
|
+
insert_hydration(target, div, anchor);
|
5755
|
+
|
5756
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
5757
|
+
each_blocks[i].m(div, null);
|
5758
|
+
}
|
5759
|
+
},
|
5760
|
+
p(ctx, [dirty]) {
|
5761
|
+
if (dirty & /*_options, name, $value, handleChange*/ 23) {
|
5762
|
+
each_value = /*_options*/ ctx[1];
|
5763
|
+
let i;
|
5764
|
+
|
5765
|
+
for (i = 0; i < each_value.length; i += 1) {
|
5766
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
5767
|
+
|
5768
|
+
if (each_blocks[i]) {
|
5769
|
+
each_blocks[i].p(child_ctx, dirty);
|
5770
|
+
} else {
|
5771
|
+
each_blocks[i] = create_each_block(child_ctx);
|
5772
|
+
each_blocks[i].c();
|
5773
|
+
each_blocks[i].m(div, null);
|
5774
|
+
}
|
5775
|
+
}
|
5776
|
+
|
5777
|
+
for (; i < each_blocks.length; i += 1) {
|
5778
|
+
each_blocks[i].d(1);
|
5779
|
+
}
|
5780
|
+
|
5781
|
+
each_blocks.length = each_value.length;
|
5782
|
+
}
|
5783
|
+
},
|
5784
|
+
i: noop,
|
5785
|
+
o: noop,
|
5786
|
+
d(detaching) {
|
5787
|
+
if (detaching) detach(div);
|
5788
|
+
destroy_each(each_blocks, detaching);
|
5789
|
+
}
|
5790
|
+
};
|
5791
|
+
}
|
5792
|
+
|
5793
|
+
function instance$5($$self, $$props, $$invalidate) {
|
5794
|
+
let _options;
|
5795
|
+
let isCheckedArray;
|
5796
|
+
let $value;
|
5797
|
+
let { name = '' } = $$props;
|
5798
|
+
let { options = 'チェックボックス1,チェックボックス2,チェックボックス3' } = $$props;
|
5799
|
+
const { path: statePath } = getStateItemContext();
|
5800
|
+
|
5801
|
+
const value = registerInput({
|
5802
|
+
name,
|
5803
|
+
statePath,
|
5804
|
+
initialValue: [],
|
5805
|
+
validator(value) {
|
5806
|
+
return value.length > 0;
|
5807
|
+
}
|
5808
|
+
});
|
5809
|
+
|
5810
|
+
component_subscribe($$self, value, value => $$invalidate(2, $value = value));
|
5811
|
+
|
5812
|
+
const handleChange = index => event => {
|
5813
|
+
if (isCheckedArray[index] !== event.target.checked) {
|
5814
|
+
isCheckedArray[index] = event.target.checked;
|
5815
|
+
isCheckedArray = [...isCheckedArray];
|
5816
|
+
const updated = _options.filter((option, i) => isCheckedArray[i]);
|
5817
|
+
value.set(updated);
|
5818
|
+
}
|
5819
|
+
};
|
5820
|
+
|
5821
|
+
$$self.$$set = $$props => {
|
5822
|
+
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
5823
|
+
if ('options' in $$props) $$invalidate(5, options = $$props.options);
|
5824
|
+
};
|
5825
|
+
|
5826
|
+
$$self.$$.update = () => {
|
5827
|
+
if ($$self.$$.dirty & /*options*/ 32) {
|
5828
|
+
$$invalidate(1, _options = options.split(','));
|
5829
|
+
}
|
5830
|
+
|
5831
|
+
if ($$self.$$.dirty & /*$value, _options*/ 6) {
|
5832
|
+
isCheckedArray = (() => {
|
5833
|
+
const checkedSet = new Set($value);
|
5834
|
+
return _options.map(option => checkedSet.has(option));
|
5835
|
+
})();
|
5836
|
+
}
|
5837
|
+
};
|
5838
|
+
|
5839
|
+
return [name, _options, $value, value, handleChange, options];
|
5840
|
+
}
|
5841
|
+
|
5842
|
+
class FormCheckBoxes extends SvelteComponent {
|
5843
|
+
constructor(options) {
|
5844
|
+
super();
|
5845
|
+
init(this, options, instance$5, create_fragment$5, safe_not_equal, { name: 0, options: 5 }, add_css$5);
|
5607
5846
|
}
|
5608
5847
|
}
|
5609
5848
|
|
@@ -6579,4 +6818,4 @@ class ImageBlock extends SvelteComponent {
|
|
6579
6818
|
}
|
6580
6819
|
}
|
6581
6820
|
|
6582
|
-
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormButton, FormRadioButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slider, SliderItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, formData, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|
6821
|
+
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormButton, FormCheckBoxes, FormOperationOptions, FormRadioButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slider, SliderItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, formData, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|