@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/index.es.js CHANGED
@@ -791,6 +791,35 @@ const OnClickOperationOptions = [
791
791
  ],
792
792
  },
793
793
  ];
794
+ const FormOperationOptions = [
795
+ {
796
+ operation: 'submit',
797
+ args: [
798
+ {
799
+ type: 'TransitState',
800
+ default: '/',
801
+ },
802
+ ],
803
+ },
804
+ {
805
+ operation: 'next',
806
+ args: [
807
+ {
808
+ type: 'TransitState',
809
+ default: '/',
810
+ },
811
+ ],
812
+ },
813
+ {
814
+ operation: 'prev',
815
+ args: [
816
+ {
817
+ type: 'TransitState',
818
+ default: '/',
819
+ },
820
+ ],
821
+ },
822
+ ];
794
823
  const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
795
824
  const Justifies = ['flex-start', 'center', 'flex-end'];
796
825
  const Alignments = ['flex-start', 'center', 'flex-end'];
@@ -1731,20 +1760,20 @@ var widget = /*#__PURE__*/Object.freeze({
1731
1760
 
1732
1761
  /* src/components/Normalize.svelte generated by Svelte v3.53.1 */
1733
1762
 
1734
- function add_css$m(target) {
1763
+ function add_css$n(target) {
1735
1764
  append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
1736
1765
  }
1737
1766
 
1738
1767
  class Normalize extends SvelteComponent {
1739
1768
  constructor(options) {
1740
1769
  super();
1741
- init(this, options, null, null, safe_not_equal, {}, add_css$m);
1770
+ init(this, options, null, null, safe_not_equal, {}, add_css$n);
1742
1771
  }
1743
1772
  }
1744
1773
 
1745
1774
  /* src/components/State.svelte generated by Svelte v3.53.1 */
1746
1775
 
1747
- function create_fragment$q(ctx) {
1776
+ function create_fragment$r(ctx) {
1748
1777
  let normalize;
1749
1778
  let t;
1750
1779
  let current;
@@ -1803,7 +1832,7 @@ function create_fragment$q(ctx) {
1803
1832
  };
1804
1833
  }
1805
1834
 
1806
- function instance$q($$self, $$props, $$invalidate) {
1835
+ function instance$r($$self, $$props, $$invalidate) {
1807
1836
  let { $$slots: slots = {}, $$scope } = $$props;
1808
1837
 
1809
1838
  $$self.$$set = $$props => {
@@ -1816,13 +1845,13 @@ function instance$q($$self, $$props, $$invalidate) {
1816
1845
  class State extends SvelteComponent {
1817
1846
  constructor(options) {
1818
1847
  super();
1819
- init(this, options, instance$q, create_fragment$q, safe_not_equal, {});
1848
+ init(this, options, instance$r, create_fragment$r, safe_not_equal, {});
1820
1849
  }
1821
1850
  }
1822
1851
 
1823
1852
  /* src/components/StateItem.svelte generated by Svelte v3.53.1 */
1824
1853
 
1825
- function add_css$l(target) {
1854
+ function add_css$m(target) {
1826
1855
  append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
1827
1856
  }
1828
1857
 
@@ -1889,7 +1918,7 @@ function create_if_block$4(ctx) {
1889
1918
  };
1890
1919
  }
1891
1920
 
1892
- function create_fragment$p(ctx) {
1921
+ function create_fragment$q(ctx) {
1893
1922
  let if_block_anchor;
1894
1923
  let current;
1895
1924
  let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$4(ctx);
@@ -1950,7 +1979,7 @@ function getStateItemContext() {
1950
1979
  return getContext(STATE_ITEM_CONTEXT_KEY);
1951
1980
  }
1952
1981
 
1953
- function instance$p($$self, $$props, $$invalidate) {
1982
+ function instance$q($$self, $$props, $$invalidate) {
1954
1983
  let $state;
1955
1984
  component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
1956
1985
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -1976,13 +2005,13 @@ function instance$p($$self, $$props, $$invalidate) {
1976
2005
  class StateItem extends SvelteComponent {
1977
2006
  constructor(options) {
1978
2007
  super();
1979
- init(this, options, instance$p, create_fragment$p, safe_not_equal, { path: 0 }, add_css$l);
2008
+ init(this, options, instance$q, create_fragment$q, safe_not_equal, { path: 0 }, add_css$m);
1980
2009
  }
1981
2010
  }
1982
2011
 
1983
2012
  /* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
1984
2013
 
1985
- function add_css$k(target) {
2014
+ function add_css$l(target) {
1986
2015
  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}");
1987
2016
  }
1988
2017
 
@@ -2014,7 +2043,7 @@ function create_if_block$3(ctx) {
2014
2043
  };
2015
2044
  }
2016
2045
 
2017
- function create_fragment$o(ctx) {
2046
+ function create_fragment$p(ctx) {
2018
2047
  let if_block_anchor;
2019
2048
  let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$3(ctx);
2020
2049
 
@@ -2050,7 +2079,7 @@ function create_fragment$o(ctx) {
2050
2079
  };
2051
2080
  }
2052
2081
 
2053
- function instance$o($$self, $$props, $$invalidate) {
2082
+ function instance$p($$self, $$props, $$invalidate) {
2054
2083
  let { backgroundOverray = false } = $$props;
2055
2084
  const dispatch = createEventDispatcher();
2056
2085
  const click_handler = () => dispatch('click');
@@ -2065,13 +2094,13 @@ function instance$o($$self, $$props, $$invalidate) {
2065
2094
  class BackgroundOverray extends SvelteComponent {
2066
2095
  constructor(options) {
2067
2096
  super();
2068
- init(this, options, instance$o, create_fragment$o, safe_not_equal, { backgroundOverray: 0 }, add_css$k);
2097
+ init(this, options, instance$p, create_fragment$p, safe_not_equal, { backgroundOverray: 0 }, add_css$l);
2069
2098
  }
2070
2099
  }
2071
2100
 
2072
2101
  /* src/components/Modal.svelte generated by Svelte v3.53.1 */
2073
2102
 
2074
- function add_css$j(target) {
2103
+ function add_css$k(target) {
2075
2104
  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}");
2076
2105
  }
2077
2106
 
@@ -2252,7 +2281,7 @@ function create_if_block_1(ctx) {
2252
2281
  };
2253
2282
  }
2254
2283
 
2255
- function create_fragment$n(ctx) {
2284
+ function create_fragment$o(ctx) {
2256
2285
  let backgroundoverray;
2257
2286
  let t;
2258
2287
  let if_block_anchor;
@@ -2345,7 +2374,7 @@ function create_fragment$n(ctx) {
2345
2374
  };
2346
2375
  }
2347
2376
 
2348
- function instance$n($$self, $$props, $$invalidate) {
2377
+ function instance$o($$self, $$props, $$invalidate) {
2349
2378
  let click;
2350
2379
  let close;
2351
2380
  let closable;
@@ -2533,8 +2562,8 @@ class Modal extends SvelteComponent {
2533
2562
  init(
2534
2563
  this,
2535
2564
  options,
2536
- instance$n,
2537
- create_fragment$n,
2565
+ instance$o,
2566
+ create_fragment$o,
2538
2567
  safe_not_equal,
2539
2568
  {
2540
2569
  onClick: 17,
@@ -2550,14 +2579,14 @@ class Modal extends SvelteComponent {
2550
2579
  closeButtonColor: 2,
2551
2580
  _closeStyle: 3
2552
2581
  },
2553
- add_css$j
2582
+ add_css$k
2554
2583
  );
2555
2584
  }
2556
2585
  }
2557
2586
 
2558
2587
  /* src/components/Grid.svelte generated by Svelte v3.53.1 */
2559
2588
 
2560
- function create_fragment$m(ctx) {
2589
+ function create_fragment$n(ctx) {
2561
2590
  let div;
2562
2591
  let current;
2563
2592
  const default_slot_template = /*#slots*/ ctx[8].default;
@@ -2615,7 +2644,7 @@ function create_fragment$m(ctx) {
2615
2644
  };
2616
2645
  }
2617
2646
 
2618
- function instance$m($$self, $$props, $$invalidate) {
2647
+ function instance$n($$self, $$props, $$invalidate) {
2619
2648
  let _style;
2620
2649
  let { $$slots: slots = {}, $$scope } = $$props;
2621
2650
  let { width = '512px' } = $$props;
@@ -2660,7 +2689,7 @@ class Grid extends SvelteComponent {
2660
2689
  constructor(options) {
2661
2690
  super();
2662
2691
 
2663
- init(this, options, instance$m, create_fragment$m, safe_not_equal, {
2692
+ init(this, options, instance$n, create_fragment$n, safe_not_equal, {
2664
2693
  width: 1,
2665
2694
  height: 2,
2666
2695
  rows: 3,
@@ -2842,7 +2871,7 @@ function create_default_slot(ctx) {
2842
2871
  };
2843
2872
  }
2844
2873
 
2845
- function create_fragment$l(ctx) {
2874
+ function create_fragment$m(ctx) {
2846
2875
  let stateitem;
2847
2876
  let current;
2848
2877
 
@@ -2887,7 +2916,7 @@ function create_fragment$l(ctx) {
2887
2916
  };
2888
2917
  }
2889
2918
 
2890
- function instance$l($$self, $$props, $$invalidate) {
2919
+ function instance$m($$self, $$props, $$invalidate) {
2891
2920
  let { $$slots: slots = {}, $$scope } = $$props;
2892
2921
  let { path } = $$props;
2893
2922
  let { onClick = { operation: 'none', args: [] } } = $$props;
@@ -2958,7 +2987,7 @@ class GridModalState extends SvelteComponent {
2958
2987
  constructor(options) {
2959
2988
  super();
2960
2989
 
2961
- init(this, options, instance$l, create_fragment$l, safe_not_equal, {
2990
+ init(this, options, instance$m, create_fragment$m, safe_not_equal, {
2962
2991
  path: 0,
2963
2992
  onClick: 1,
2964
2993
  clickEventName: 2,
@@ -2983,11 +3012,11 @@ class GridModalState extends SvelteComponent {
2983
3012
 
2984
3013
  /* src/components/GridItem.svelte generated by Svelte v3.53.1 */
2985
3014
 
2986
- function add_css$i(target) {
3015
+ function add_css$j(target) {
2987
3016
  append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
2988
3017
  }
2989
3018
 
2990
- function create_fragment$k(ctx) {
3019
+ function create_fragment$l(ctx) {
2991
3020
  let div1;
2992
3021
  let div0;
2993
3022
  let current;
@@ -3050,7 +3079,7 @@ function create_fragment$k(ctx) {
3050
3079
  };
3051
3080
  }
3052
3081
 
3053
- function instance$k($$self, $$props, $$invalidate) {
3082
+ function instance$l($$self, $$props, $$invalidate) {
3054
3083
  let _style;
3055
3084
  let { $$slots: slots = {}, $$scope } = $$props;
3056
3085
  let { x1 } = $$props;
@@ -3103,8 +3132,8 @@ class GridItem extends SvelteComponent {
3103
3132
  init(
3104
3133
  this,
3105
3134
  options,
3106
- instance$k,
3107
- create_fragment$k,
3135
+ instance$l,
3136
+ create_fragment$l,
3108
3137
  safe_not_equal,
3109
3138
  {
3110
3139
  x1: 2,
@@ -3114,18 +3143,18 @@ class GridItem extends SvelteComponent {
3114
3143
  z: 6,
3115
3144
  background: 7
3116
3145
  },
3117
- add_css$i
3146
+ add_css$j
3118
3147
  );
3119
3148
  }
3120
3149
  }
3121
3150
 
3122
3151
  /* src/components/Flex.svelte generated by Svelte v3.53.1 */
3123
3152
 
3124
- function add_css$h(target) {
3153
+ function add_css$i(target) {
3125
3154
  append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
3126
3155
  }
3127
3156
 
3128
- function create_fragment$j(ctx) {
3157
+ function create_fragment$k(ctx) {
3129
3158
  let div;
3130
3159
  let div_style_value;
3131
3160
  let current;
@@ -3190,7 +3219,7 @@ function getFlexContext() {
3190
3219
  return getContext(FlexContextKey);
3191
3220
  }
3192
3221
 
3193
- function instance$j($$self, $$props, $$invalidate) {
3222
+ function instance$k($$self, $$props, $$invalidate) {
3194
3223
  let { $$slots: slots = {}, $$scope } = $$props;
3195
3224
  let { direction = 'row' } = $$props;
3196
3225
  let { width = '100%' } = $$props;
@@ -3216,8 +3245,8 @@ class Flex extends SvelteComponent {
3216
3245
  init(
3217
3246
  this,
3218
3247
  options,
3219
- instance$j,
3220
- create_fragment$j,
3248
+ instance$k,
3249
+ create_fragment$k,
3221
3250
  safe_not_equal,
3222
3251
  {
3223
3252
  direction: 0,
@@ -3225,18 +3254,18 @@ class Flex extends SvelteComponent {
3225
3254
  height: 2,
3226
3255
  _style: 3
3227
3256
  },
3228
- add_css$h
3257
+ add_css$i
3229
3258
  );
3230
3259
  }
3231
3260
  }
3232
3261
 
3233
3262
  /* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
3234
3263
 
3235
- function add_css$g(target) {
3264
+ function add_css$h(target) {
3236
3265
  append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
3237
3266
  }
3238
3267
 
3239
- function create_fragment$i(ctx) {
3268
+ function create_fragment$j(ctx) {
3240
3269
  let div;
3241
3270
  let current;
3242
3271
  const default_slot_template = /*#slots*/ ctx[4].default;
@@ -3294,7 +3323,7 @@ function create_fragment$i(ctx) {
3294
3323
  };
3295
3324
  }
3296
3325
 
3297
- function instance$i($$self, $$props, $$invalidate) {
3326
+ function instance$j($$self, $$props, $$invalidate) {
3298
3327
  let { $$slots: slots = {}, $$scope } = $$props;
3299
3328
  let { length } = $$props;
3300
3329
  let { _style = '' } = $$props;
@@ -3337,13 +3366,13 @@ function instance$i($$self, $$props, $$invalidate) {
3337
3366
  class FlexItem extends SvelteComponent {
3338
3367
  constructor(options) {
3339
3368
  super();
3340
- init(this, options, instance$i, create_fragment$i, safe_not_equal, { length: 1, _style: 2 }, add_css$g);
3369
+ init(this, options, instance$j, create_fragment$j, safe_not_equal, { length: 1, _style: 2 }, add_css$h);
3341
3370
  }
3342
3371
  }
3343
3372
 
3344
3373
  /* src/components/RenderText.svelte generated by Svelte v3.53.1 */
3345
3374
 
3346
- function get_each_context$2(ctx, list, i) {
3375
+ function get_each_context$3(ctx, list, i) {
3347
3376
  const child_ctx = ctx.slice();
3348
3377
  child_ctx[2] = list[i];
3349
3378
  return child_ctx;
@@ -3389,7 +3418,7 @@ function create_if_block$1(ctx) {
3389
3418
  }
3390
3419
 
3391
3420
  // (9:0) {#each items as item}
3392
- function create_each_block$2(ctx) {
3421
+ function create_each_block$3(ctx) {
3393
3422
  let show_if;
3394
3423
  let if_block_anchor;
3395
3424
 
@@ -3432,13 +3461,13 @@ function create_each_block$2(ctx) {
3432
3461
  };
3433
3462
  }
3434
3463
 
3435
- function create_fragment$h(ctx) {
3464
+ function create_fragment$i(ctx) {
3436
3465
  let each_1_anchor;
3437
3466
  let each_value = /*items*/ ctx[0];
3438
3467
  let each_blocks = [];
3439
3468
 
3440
3469
  for (let i = 0; i < each_value.length; i += 1) {
3441
- each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
3470
+ each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
3442
3471
  }
3443
3472
 
3444
3473
  return {
@@ -3462,12 +3491,12 @@ function create_fragment$h(ctx) {
3462
3491
  let i;
3463
3492
 
3464
3493
  for (i = 0; i < each_value.length; i += 1) {
3465
- const child_ctx = get_each_context$2(ctx, each_value, i);
3494
+ const child_ctx = get_each_context$3(ctx, each_value, i);
3466
3495
 
3467
3496
  if (each_blocks[i]) {
3468
3497
  each_blocks[i].p(child_ctx, dirty);
3469
3498
  } else {
3470
- each_blocks[i] = create_each_block$2(child_ctx);
3499
+ each_blocks[i] = create_each_block$3(child_ctx);
3471
3500
  each_blocks[i].c();
3472
3501
  each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
3473
3502
  }
@@ -3491,7 +3520,7 @@ function create_fragment$h(ctx) {
3491
3520
 
3492
3521
  const regexp = /(\r?\n)/;
3493
3522
 
3494
- function instance$h($$self, $$props, $$invalidate) {
3523
+ function instance$i($$self, $$props, $$invalidate) {
3495
3524
  let items;
3496
3525
  let { text = 'サンプルSample' } = $$props;
3497
3526
 
@@ -3511,17 +3540,17 @@ function instance$h($$self, $$props, $$invalidate) {
3511
3540
  class RenderText extends SvelteComponent {
3512
3541
  constructor(options) {
3513
3542
  super();
3514
- init(this, options, instance$h, create_fragment$h, safe_not_equal, { text: 1 });
3543
+ init(this, options, instance$i, create_fragment$i, safe_not_equal, { text: 1 });
3515
3544
  }
3516
3545
  }
3517
3546
 
3518
3547
  /* src/components/TextElement.svelte generated by Svelte v3.53.1 */
3519
3548
 
3520
- function add_css$f(target) {
3549
+ function add_css$g(target) {
3521
3550
  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%}");
3522
3551
  }
3523
3552
 
3524
- function create_fragment$g(ctx) {
3553
+ function create_fragment$h(ctx) {
3525
3554
  let div1;
3526
3555
  let div0;
3527
3556
  let rendertext;
@@ -3573,7 +3602,7 @@ function create_fragment$g(ctx) {
3573
3602
  };
3574
3603
  }
3575
3604
 
3576
- function instance$g($$self, $$props, $$invalidate) {
3605
+ function instance$h($$self, $$props, $$invalidate) {
3577
3606
  let style;
3578
3607
  let { text = 'サンプルSample' } = $$props;
3579
3608
  let { _textStyle = 'font-size:12px;' } = $$props;
@@ -3603,8 +3632,8 @@ class TextElement extends SvelteComponent {
3603
3632
  init(
3604
3633
  this,
3605
3634
  options,
3606
- instance$g,
3607
- create_fragment$g,
3635
+ instance$h,
3636
+ create_fragment$h,
3608
3637
  safe_not_equal,
3609
3638
  {
3610
3639
  text: 0,
@@ -3612,18 +3641,18 @@ class TextElement extends SvelteComponent {
3612
3641
  textDirection: 1,
3613
3642
  _style: 4
3614
3643
  },
3615
- add_css$f
3644
+ add_css$g
3616
3645
  );
3617
3646
  }
3618
3647
  }
3619
3648
 
3620
3649
  /* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
3621
3650
 
3622
- function add_css$e(target) {
3651
+ function add_css$f(target) {
3623
3652
  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)}");
3624
3653
  }
3625
3654
 
3626
- function create_fragment$f(ctx) {
3655
+ function create_fragment$g(ctx) {
3627
3656
  let div;
3628
3657
  let button;
3629
3658
  let rendertext;
@@ -3684,7 +3713,7 @@ function create_fragment$f(ctx) {
3684
3713
  };
3685
3714
  }
3686
3715
 
3687
- function instance$f($$self, $$props, $$invalidate) {
3716
+ function instance$g($$self, $$props, $$invalidate) {
3688
3717
  let { text = 'ボタンラベル' } = $$props;
3689
3718
  let { onClick = { operation: 'none', args: [] } } = $$props;
3690
3719
 
@@ -3718,8 +3747,8 @@ class TextButtonElement extends SvelteComponent {
3718
3747
  init(
3719
3748
  this,
3720
3749
  options,
3721
- instance$f,
3722
- create_fragment$f,
3750
+ instance$g,
3751
+ create_fragment$g,
3723
3752
  safe_not_equal,
3724
3753
  {
3725
3754
  text: 0,
@@ -3728,18 +3757,18 @@ class TextButtonElement extends SvelteComponent {
3728
3757
  _buttonStyle: 1,
3729
3758
  _style: 2
3730
3759
  },
3731
- add_css$e
3760
+ add_css$f
3732
3761
  );
3733
3762
  }
3734
3763
  }
3735
3764
 
3736
3765
  /* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
3737
3766
 
3738
- function add_css$d(target) {
3767
+ function add_css$e(target) {
3739
3768
  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)}");
3740
3769
  }
3741
3770
 
3742
- function create_fragment$e(ctx) {
3771
+ function create_fragment$f(ctx) {
3743
3772
  let div;
3744
3773
  let img;
3745
3774
  let img_src_value;
@@ -3801,7 +3830,7 @@ function create_fragment$e(ctx) {
3801
3830
  };
3802
3831
  }
3803
3832
 
3804
- function instance$e($$self, $$props, $$invalidate) {
3833
+ function instance$f($$self, $$props, $$invalidate) {
3805
3834
  let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
3806
3835
  let { alt = 'No Image' } = $$props;
3807
3836
  let { transport = false } = $$props;
@@ -3839,8 +3868,8 @@ class ImageElement extends SvelteComponent {
3839
3868
  init(
3840
3869
  this,
3841
3870
  options,
3842
- instance$e,
3843
- create_fragment$e,
3871
+ instance$f,
3872
+ create_fragment$f,
3844
3873
  safe_not_equal,
3845
3874
  {
3846
3875
  src: 0,
@@ -3851,18 +3880,18 @@ class ImageElement extends SvelteComponent {
3851
3880
  _imageStyle: 3,
3852
3881
  _style: 4
3853
3882
  },
3854
- add_css$d
3883
+ add_css$e
3855
3884
  );
3856
3885
  }
3857
3886
  }
3858
3887
 
3859
3888
  /* src/components/List.svelte generated by Svelte v3.53.1 */
3860
3889
 
3861
- function add_css$c(target) {
3890
+ function add_css$d(target) {
3862
3891
  append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
3863
3892
  }
3864
3893
 
3865
- function create_fragment$d(ctx) {
3894
+ function create_fragment$e(ctx) {
3866
3895
  let div;
3867
3896
  let current;
3868
3897
  const default_slot_template = /*#slots*/ ctx[6].default;
@@ -3922,7 +3951,7 @@ function create_fragment$d(ctx) {
3922
3951
 
3923
3952
  const LIST_CONTEXT_KEY = Symbol();
3924
3953
 
3925
- function instance$d($$self, $$props, $$invalidate) {
3954
+ function instance$e($$self, $$props, $$invalidate) {
3926
3955
  let style;
3927
3956
  let { $$slots: slots = {}, $$scope } = $$props;
3928
3957
  let { direction = 'vertical' } = $$props;
@@ -3989,8 +4018,8 @@ class List extends SvelteComponent {
3989
4018
  init(
3990
4019
  this,
3991
4020
  options,
3992
- instance$d,
3993
- create_fragment$d,
4021
+ instance$e,
4022
+ create_fragment$e,
3994
4023
  safe_not_equal,
3995
4024
  {
3996
4025
  direction: 1,
@@ -3998,18 +4027,18 @@ class List extends SvelteComponent {
3998
4027
  background: 3,
3999
4028
  _style: 4
4000
4029
  },
4001
- add_css$c
4030
+ add_css$d
4002
4031
  );
4003
4032
  }
4004
4033
  }
4005
4034
 
4006
4035
  /* src/components/ListItem.svelte generated by Svelte v3.53.1 */
4007
4036
 
4008
- function add_css$b(target) {
4037
+ function add_css$c(target) {
4009
4038
  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}");
4010
4039
  }
4011
4040
 
4012
- function create_fragment$c(ctx) {
4041
+ function create_fragment$d(ctx) {
4013
4042
  let div1;
4014
4043
  let div0;
4015
4044
  let current;
@@ -4090,7 +4119,7 @@ function create_fragment$c(ctx) {
4090
4119
  };
4091
4120
  }
4092
4121
 
4093
- function instance$c($$self, $$props, $$invalidate) {
4122
+ function instance$d($$self, $$props, $$invalidate) {
4094
4123
  let click;
4095
4124
  let listItemStyle;
4096
4125
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -4180,17 +4209,17 @@ function instance$c($$self, $$props, $$invalidate) {
4180
4209
  class ListItem extends SvelteComponent {
4181
4210
  constructor(options) {
4182
4211
  super();
4183
- init(this, options, instance$c, create_fragment$c, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$b);
4212
+ init(this, options, instance$d, create_fragment$d, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$c);
4184
4213
  }
4185
4214
  }
4186
4215
 
4187
4216
  /* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
4188
4217
 
4189
- function add_css$a(target) {
4218
+ function add_css$b(target) {
4190
4219
  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%}");
4191
4220
  }
4192
4221
 
4193
- function create_fragment$b(ctx) {
4222
+ function create_fragment$c(ctx) {
4194
4223
  let div;
4195
4224
 
4196
4225
  return {
@@ -4217,7 +4246,7 @@ function create_fragment$b(ctx) {
4217
4246
  };
4218
4247
  }
4219
4248
 
4220
- function instance$b($$self, $$props, $$invalidate) {
4249
+ function instance$c($$self, $$props, $$invalidate) {
4221
4250
  let { code } = $$props;
4222
4251
  let { _style = '' } = $$props;
4223
4252
 
@@ -4232,17 +4261,17 @@ function instance$b($$self, $$props, $$invalidate) {
4232
4261
  class EmbedElement extends SvelteComponent {
4233
4262
  constructor(options) {
4234
4263
  super();
4235
- init(this, options, instance$b, create_fragment$b, safe_not_equal, { code: 0, _style: 1 }, add_css$a);
4264
+ init(this, options, instance$c, create_fragment$c, safe_not_equal, { code: 0, _style: 1 }, add_css$b);
4236
4265
  }
4237
4266
  }
4238
4267
 
4239
4268
  /* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
4240
4269
 
4241
- function add_css$9(target) {
4270
+ function add_css$a(target) {
4242
4271
  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%}");
4243
4272
  }
4244
4273
 
4245
- function create_fragment$a(ctx) {
4274
+ function create_fragment$b(ctx) {
4246
4275
  let div1;
4247
4276
  let div0;
4248
4277
 
@@ -4273,7 +4302,7 @@ function create_fragment$a(ctx) {
4273
4302
  };
4274
4303
  }
4275
4304
 
4276
- function instance$a($$self, $$props, $$invalidate) {
4305
+ function instance$b($$self, $$props, $$invalidate) {
4277
4306
  let $system;
4278
4307
  component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
4279
4308
  let { videoId } = $$props;
@@ -4452,8 +4481,8 @@ class MovieYouTubeElement extends SvelteComponent {
4452
4481
  init(
4453
4482
  this,
4454
4483
  options,
4455
- instance$a,
4456
- create_fragment$a,
4484
+ instance$b,
4485
+ create_fragment$b,
4457
4486
  safe_not_equal,
4458
4487
  {
4459
4488
  videoId: 2,
@@ -4463,18 +4492,18 @@ class MovieYouTubeElement extends SvelteComponent {
4463
4492
  mute: 6,
4464
4493
  _style: 0
4465
4494
  },
4466
- add_css$9
4495
+ add_css$a
4467
4496
  );
4468
4497
  }
4469
4498
  }
4470
4499
 
4471
4500
  /* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
4472
4501
 
4473
- function add_css$8(target) {
4502
+ function add_css$9(target) {
4474
4503
  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%}");
4475
4504
  }
4476
4505
 
4477
- function create_fragment$9(ctx) {
4506
+ function create_fragment$a(ctx) {
4478
4507
  let div1;
4479
4508
  let div0;
4480
4509
 
@@ -4505,7 +4534,7 @@ function create_fragment$9(ctx) {
4505
4534
  };
4506
4535
  }
4507
4536
 
4508
- function instance$9($$self, $$props, $$invalidate) {
4537
+ function instance$a($$self, $$props, $$invalidate) {
4509
4538
  let $system;
4510
4539
  component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
4511
4540
  let { videoId } = $$props;
@@ -4648,8 +4677,8 @@ class MovieVimeoElement extends SvelteComponent {
4648
4677
  init(
4649
4678
  this,
4650
4679
  options,
4651
- instance$9,
4652
- create_fragment$9,
4680
+ instance$a,
4681
+ create_fragment$a,
4653
4682
  safe_not_equal,
4654
4683
  {
4655
4684
  videoId: 2,
@@ -4659,7 +4688,7 @@ class MovieVimeoElement extends SvelteComponent {
4659
4688
  mute: 6,
4660
4689
  _style: 0
4661
4690
  },
4662
- add_css$8
4691
+ add_css$9
4663
4692
  );
4664
4693
  }
4665
4694
  }
@@ -4756,11 +4785,11 @@ function submit() {
4756
4785
 
4757
4786
  /* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
4758
4787
 
4759
- function add_css$7(target) {
4788
+ function add_css$8(target) {
4760
4789
  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}");
4761
4790
  }
4762
4791
 
4763
- function create_fragment$8(ctx) {
4792
+ function create_fragment$9(ctx) {
4764
4793
  let div;
4765
4794
  let textarea;
4766
4795
  let mounted;
@@ -4813,7 +4842,7 @@ function create_fragment$8(ctx) {
4813
4842
  };
4814
4843
  }
4815
4844
 
4816
- function instance$8($$self, $$props, $$invalidate) {
4845
+ function instance$9($$self, $$props, $$invalidate) {
4817
4846
  let $value;
4818
4847
  let { name = '' } = $$props;
4819
4848
  let { required = true } = $$props;
@@ -4854,8 +4883,8 @@ class FormTextarea extends SvelteComponent {
4854
4883
  init(
4855
4884
  this,
4856
4885
  options,
4857
- instance$8,
4858
- create_fragment$8,
4886
+ instance$9,
4887
+ create_fragment$9,
4859
4888
  safe_not_equal,
4860
4889
  {
4861
4890
  name: 6,
@@ -4863,14 +4892,14 @@ class FormTextarea extends SvelteComponent {
4863
4892
  rows: 1,
4864
4893
  placeholder: 2
4865
4894
  },
4866
- add_css$7
4895
+ add_css$8
4867
4896
  );
4868
4897
  }
4869
4898
  }
4870
4899
 
4871
4900
  /* src/components/FormButton.svelte generated by Svelte v3.53.1 */
4872
4901
 
4873
- function create_fragment$7(ctx) {
4902
+ function create_fragment$8(ctx) {
4874
4903
  let input;
4875
4904
  let mounted;
4876
4905
  let dispose;
@@ -4911,21 +4940,21 @@ function create_fragment$7(ctx) {
4911
4940
  };
4912
4941
  }
4913
4942
 
4914
- function instance$7($$self, $$props, $$invalidate) {
4943
+ function instance$8($$self, $$props, $$invalidate) {
4915
4944
  let disabled;
4916
4945
  let $valuesAreValid;
4917
4946
  let { text = '' } = $$props;
4918
- let { type = { type: 'submit' } } = $$props;
4947
+ let { onClick = { operation: 'submit', args: ['/'] } } = $$props;
4919
4948
  const { path: statePath } = getStateItemContext();
4920
4949
 
4921
4950
  function handleClick() {
4922
- switch (type.type) {
4951
+ switch (onClick.operation) {
4923
4952
  case 'submit':
4924
4953
  {
4925
4954
  if ($valuesAreValid) {
4926
4955
  submit();
4927
- const stateId = type.stateId;
4928
- setState$1(stateId, true);
4956
+ const stateId = onClick.args[0];
4957
+ setState$1(stateId);
4929
4958
  }
4930
4959
 
4931
4960
  break;
@@ -4933,8 +4962,8 @@ function instance$7($$self, $$props, $$invalidate) {
4933
4962
  case 'next':
4934
4963
  {
4935
4964
  if ($valuesAreValid) {
4936
- const stateId = type.stateId;
4937
- setState$1(stateId, true);
4965
+ const stateId = onClick.args[0];
4966
+ setState$1(stateId);
4938
4967
  }
4939
4968
 
4940
4969
  break;
@@ -4942,8 +4971,8 @@ function instance$7($$self, $$props, $$invalidate) {
4942
4971
  case 'prev':
4943
4972
  {
4944
4973
  deleteValues(statePath);
4945
- const stateId = type.stateId;
4946
- setState$1(stateId, true);
4974
+ const stateId = onClick.args[0];
4975
+ setState$1(stateId);
4947
4976
  break;
4948
4977
  }
4949
4978
  }
@@ -4954,35 +4983,35 @@ function instance$7($$self, $$props, $$invalidate) {
4954
4983
 
4955
4984
  $$self.$$set = $$props => {
4956
4985
  if ('text' in $$props) $$invalidate(0, text = $$props.text);
4957
- if ('type' in $$props) $$invalidate(4, type = $$props.type);
4986
+ if ('onClick' in $$props) $$invalidate(4, onClick = $$props.onClick);
4958
4987
  };
4959
4988
 
4960
4989
  $$self.$$.update = () => {
4961
- if ($$self.$$.dirty & /*type, $valuesAreValid*/ 48) {
4990
+ if ($$self.$$.dirty & /*onClick, $valuesAreValid*/ 48) {
4962
4991
  $$invalidate(1, disabled = (() => {
4963
- const enabled = type.type === 'prev' || $valuesAreValid;
4992
+ const enabled = onClick.operation === 'prev' || $valuesAreValid;
4964
4993
  return !enabled;
4965
4994
  })());
4966
4995
  }
4967
4996
  };
4968
4997
 
4969
- return [text, disabled, handleClick, valuesAreValid, type, $valuesAreValid];
4998
+ return [text, disabled, handleClick, valuesAreValid, onClick, $valuesAreValid];
4970
4999
  }
4971
5000
 
4972
5001
  class FormButton extends SvelteComponent {
4973
5002
  constructor(options) {
4974
5003
  super();
4975
- init(this, options, instance$7, create_fragment$7, safe_not_equal, { text: 0, type: 4 });
5004
+ init(this, options, instance$8, create_fragment$8, safe_not_equal, { text: 0, onClick: 4 });
4976
5005
  }
4977
5006
  }
4978
5007
 
4979
5008
  /* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
4980
5009
 
4981
- function add_css$6(target) {
5010
+ function add_css$7(target) {
4982
5011
  append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
4983
5012
  }
4984
5013
 
4985
- function get_each_context$1(ctx, list, i) {
5014
+ function get_each_context$2(ctx, list, i) {
4986
5015
  const child_ctx = ctx.slice();
4987
5016
  child_ctx[7] = list[i];
4988
5017
  child_ctx[9] = i;
@@ -4990,7 +5019,7 @@ function get_each_context$1(ctx, list, i) {
4990
5019
  }
4991
5020
 
4992
5021
  // (23:2) {#each _options as option, i}
4993
- function create_each_block$1(ctx) {
5022
+ function create_each_block$2(ctx) {
4994
5023
  let label;
4995
5024
  let input;
4996
5025
  let t0;
@@ -5044,13 +5073,13 @@ function create_each_block$1(ctx) {
5044
5073
  };
5045
5074
  }
5046
5075
 
5047
- function create_fragment$6(ctx) {
5076
+ function create_fragment$7(ctx) {
5048
5077
  let div;
5049
5078
  let each_value = /*_options*/ ctx[1];
5050
5079
  let each_blocks = [];
5051
5080
 
5052
5081
  for (let i = 0; i < each_value.length; i += 1) {
5053
- each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
5082
+ each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
5054
5083
  }
5055
5084
 
5056
5085
  return {
@@ -5076,12 +5105,12 @@ function create_fragment$6(ctx) {
5076
5105
  let i;
5077
5106
 
5078
5107
  for (i = 0; i < each_value.length; i += 1) {
5079
- const child_ctx = get_each_context$1(ctx, each_value, i);
5108
+ const child_ctx = get_each_context$2(ctx, each_value, i);
5080
5109
 
5081
5110
  if (each_blocks[i]) {
5082
5111
  each_blocks[i].p(child_ctx, dirty);
5083
5112
  } else {
5084
- each_blocks[i] = create_each_block$1(child_ctx);
5113
+ each_blocks[i] = create_each_block$2(child_ctx);
5085
5114
  each_blocks[i].c();
5086
5115
  each_blocks[i].m(div, null);
5087
5116
  }
@@ -5103,11 +5132,11 @@ function create_fragment$6(ctx) {
5103
5132
  };
5104
5133
  }
5105
5134
 
5106
- function instance$6($$self, $$props, $$invalidate) {
5135
+ function instance$7($$self, $$props, $$invalidate) {
5107
5136
  let _options;
5108
5137
  let $value;
5109
5138
  let { name = '' } = $$props;
5110
- let { options = '人参,レタス,キャベツ' } = $$props;
5139
+ let { options = 'ラジオボタン1,ラジオボタン2,ラジオボタン3' } = $$props;
5111
5140
  const { path: statePath } = getStateItemContext();
5112
5141
 
5113
5142
  const value = registerInput({
@@ -5144,17 +5173,17 @@ function instance$6($$self, $$props, $$invalidate) {
5144
5173
  class FormRadioButtons extends SvelteComponent {
5145
5174
  constructor(options) {
5146
5175
  super();
5147
- init(this, options, instance$6, create_fragment$6, safe_not_equal, { name: 0, options: 5 }, add_css$6);
5176
+ init(this, options, instance$7, create_fragment$7, safe_not_equal, { name: 0, options: 5 }, add_css$7);
5148
5177
  }
5149
5178
  }
5150
5179
 
5151
5180
  /* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
5152
5181
 
5153
- function add_css$5(target) {
5182
+ function add_css$6(target) {
5154
5183
  append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
5155
5184
  }
5156
5185
 
5157
- function get_each_context(ctx, list, i) {
5186
+ function get_each_context$1(ctx, list, i) {
5158
5187
  const child_ctx = ctx.slice();
5159
5188
  child_ctx[6] = list[i];
5160
5189
  child_ctx[8] = i;
@@ -5201,7 +5230,7 @@ function create_if_block(ctx) {
5201
5230
  }
5202
5231
 
5203
5232
  // (24:4) {#each _options as option, i}
5204
- function create_each_block(ctx) {
5233
+ function create_each_block$1(ctx) {
5205
5234
  let option;
5206
5235
  let t;
5207
5236
  let option_value_value;
@@ -5252,7 +5281,7 @@ function create_each_block(ctx) {
5252
5281
  };
5253
5282
  }
5254
5283
 
5255
- function create_fragment$5(ctx) {
5284
+ function create_fragment$6(ctx) {
5256
5285
  let div;
5257
5286
  let select;
5258
5287
  let mounted;
@@ -5261,7 +5290,7 @@ function create_fragment$5(ctx) {
5261
5290
  let each_blocks = [];
5262
5291
 
5263
5292
  for (let i = 0; i < each_value.length; i += 1) {
5264
- each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
5293
+ each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
5265
5294
  }
5266
5295
 
5267
5296
  return {
@@ -5294,12 +5323,12 @@ function create_fragment$5(ctx) {
5294
5323
  let i;
5295
5324
 
5296
5325
  for (i = 0; i < each_value.length; i += 1) {
5297
- const child_ctx = get_each_context(ctx, each_value, i);
5326
+ const child_ctx = get_each_context$1(ctx, each_value, i);
5298
5327
 
5299
5328
  if (each_blocks[i]) {
5300
5329
  each_blocks[i].p(child_ctx, dirty);
5301
5330
  } else {
5302
- each_blocks[i] = create_each_block(child_ctx);
5331
+ each_blocks[i] = create_each_block$1(child_ctx);
5303
5332
  each_blocks[i].c();
5304
5333
  each_blocks[i].m(select, null);
5305
5334
  }
@@ -5323,7 +5352,7 @@ function create_fragment$5(ctx) {
5323
5352
  };
5324
5353
  }
5325
5354
 
5326
- function instance$5($$self, $$props, $$invalidate) {
5355
+ function instance$6($$self, $$props, $$invalidate) {
5327
5356
  let _options;
5328
5357
  let { name = '' } = $$props;
5329
5358
  let { options = 'プルダウン1,プルダウン2,プルダウン3' } = $$props;
@@ -5360,7 +5389,190 @@ function instance$5($$self, $$props, $$invalidate) {
5360
5389
  class FormSelect extends SvelteComponent {
5361
5390
  constructor(options) {
5362
5391
  super();
5363
- init(this, options, instance$5, create_fragment$5, safe_not_equal, { name: 2, options: 3 }, add_css$5);
5392
+ init(this, options, instance$6, create_fragment$6, safe_not_equal, { name: 2, options: 3 }, add_css$6);
5393
+ }
5394
+ }
5395
+
5396
+ /* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
5397
+
5398
+ function add_css$5(target) {
5399
+ append_styles(target, "svelte-3uhiw4", ".check-boxes.svelte-3uhiw4{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
5400
+ }
5401
+
5402
+ function get_each_context(ctx, list, i) {
5403
+ const child_ctx = ctx.slice();
5404
+ child_ctx[8] = list[i];
5405
+ child_ctx[10] = i;
5406
+ return child_ctx;
5407
+ }
5408
+
5409
+ // (30:2) {#each _options as option, i}
5410
+ function create_each_block(ctx) {
5411
+ let label;
5412
+ let input;
5413
+ let t0;
5414
+ let t1_value = /*option*/ ctx[8] + "";
5415
+ let t1;
5416
+ let t2;
5417
+ let mounted;
5418
+ let dispose;
5419
+
5420
+ return {
5421
+ c() {
5422
+ label = element("label");
5423
+ input = element("input");
5424
+ t0 = space();
5425
+ t1 = text(t1_value);
5426
+ t2 = space();
5427
+ attr(input, "type", "checkbox");
5428
+ attr(input, "name", /*name*/ ctx[0]);
5429
+ input.value = /*$value*/ ctx[2];
5430
+ },
5431
+ m(target, anchor) {
5432
+ insert(target, label, anchor);
5433
+ append(label, input);
5434
+ append(label, t0);
5435
+ append(label, t1);
5436
+ append(label, t2);
5437
+
5438
+ if (!mounted) {
5439
+ dispose = listen(input, "change", /*handleChange*/ ctx[4](/*i*/ ctx[10]));
5440
+ mounted = true;
5441
+ }
5442
+ },
5443
+ p(new_ctx, dirty) {
5444
+ ctx = new_ctx;
5445
+
5446
+ if (dirty & /*name*/ 1) {
5447
+ attr(input, "name", /*name*/ ctx[0]);
5448
+ }
5449
+
5450
+ if (dirty & /*$value*/ 4) {
5451
+ input.value = /*$value*/ ctx[2];
5452
+ }
5453
+
5454
+ if (dirty & /*_options*/ 2 && t1_value !== (t1_value = /*option*/ ctx[8] + "")) set_data(t1, t1_value);
5455
+ },
5456
+ d(detaching) {
5457
+ if (detaching) detach(label);
5458
+ mounted = false;
5459
+ dispose();
5460
+ }
5461
+ };
5462
+ }
5463
+
5464
+ function create_fragment$5(ctx) {
5465
+ let div;
5466
+ let each_value = /*_options*/ ctx[1];
5467
+ let each_blocks = [];
5468
+
5469
+ for (let i = 0; i < each_value.length; i += 1) {
5470
+ each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
5471
+ }
5472
+
5473
+ return {
5474
+ c() {
5475
+ div = element("div");
5476
+
5477
+ for (let i = 0; i < each_blocks.length; i += 1) {
5478
+ each_blocks[i].c();
5479
+ }
5480
+
5481
+ attr(div, "class", "check-boxes svelte-3uhiw4");
5482
+ },
5483
+ m(target, anchor) {
5484
+ insert(target, div, anchor);
5485
+
5486
+ for (let i = 0; i < each_blocks.length; i += 1) {
5487
+ each_blocks[i].m(div, null);
5488
+ }
5489
+ },
5490
+ p(ctx, [dirty]) {
5491
+ if (dirty & /*_options, name, $value, handleChange*/ 23) {
5492
+ each_value = /*_options*/ ctx[1];
5493
+ let i;
5494
+
5495
+ for (i = 0; i < each_value.length; i += 1) {
5496
+ const child_ctx = get_each_context(ctx, each_value, i);
5497
+
5498
+ if (each_blocks[i]) {
5499
+ each_blocks[i].p(child_ctx, dirty);
5500
+ } else {
5501
+ each_blocks[i] = create_each_block(child_ctx);
5502
+ each_blocks[i].c();
5503
+ each_blocks[i].m(div, null);
5504
+ }
5505
+ }
5506
+
5507
+ for (; i < each_blocks.length; i += 1) {
5508
+ each_blocks[i].d(1);
5509
+ }
5510
+
5511
+ each_blocks.length = each_value.length;
5512
+ }
5513
+ },
5514
+ i: noop,
5515
+ o: noop,
5516
+ d(detaching) {
5517
+ if (detaching) detach(div);
5518
+ destroy_each(each_blocks, detaching);
5519
+ }
5520
+ };
5521
+ }
5522
+
5523
+ function instance$5($$self, $$props, $$invalidate) {
5524
+ let _options;
5525
+ let isCheckedArray;
5526
+ let $value;
5527
+ let { name = '' } = $$props;
5528
+ let { options = 'チェックボックス1,チェックボックス2,チェックボックス3' } = $$props;
5529
+ const { path: statePath } = getStateItemContext();
5530
+
5531
+ const value = registerInput({
5532
+ name,
5533
+ statePath,
5534
+ initialValue: [],
5535
+ validator(value) {
5536
+ return value.length > 0;
5537
+ }
5538
+ });
5539
+
5540
+ component_subscribe($$self, value, value => $$invalidate(2, $value = value));
5541
+
5542
+ const handleChange = index => event => {
5543
+ if (isCheckedArray[index] !== event.target.checked) {
5544
+ isCheckedArray[index] = event.target.checked;
5545
+ isCheckedArray = [...isCheckedArray];
5546
+ const updated = _options.filter((option, i) => isCheckedArray[i]);
5547
+ value.set(updated);
5548
+ }
5549
+ };
5550
+
5551
+ $$self.$$set = $$props => {
5552
+ if ('name' in $$props) $$invalidate(0, name = $$props.name);
5553
+ if ('options' in $$props) $$invalidate(5, options = $$props.options);
5554
+ };
5555
+
5556
+ $$self.$$.update = () => {
5557
+ if ($$self.$$.dirty & /*options*/ 32) {
5558
+ $$invalidate(1, _options = options.split(','));
5559
+ }
5560
+
5561
+ if ($$self.$$.dirty & /*$value, _options*/ 6) {
5562
+ isCheckedArray = (() => {
5563
+ const checkedSet = new Set($value);
5564
+ return _options.map(option => checkedSet.has(option));
5565
+ })();
5566
+ }
5567
+ };
5568
+
5569
+ return [name, _options, $value, value, handleChange, options];
5570
+ }
5571
+
5572
+ class FormCheckBoxes extends SvelteComponent {
5573
+ constructor(options) {
5574
+ super();
5575
+ init(this, options, instance$5, create_fragment$5, safe_not_equal, { name: 0, options: 5 }, add_css$5);
5364
5576
  }
5365
5577
  }
5366
5578
 
@@ -6250,4 +6462,4 @@ class ImageBlock extends SvelteComponent {
6250
6462
  }
6251
6463
  }
6252
6464
 
6253
- 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 };
6465
+ 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 };