@plaidev/karte-action-sdk 1.1.240-28699628.92de725f → 1.1.240-28703935.aa52fcd6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -2894,7 +2894,7 @@ const LAYOUT_COMPONENT_NAMES = [
2894
2894
 
2895
2895
  /* src/components/Header.svelte generated by Svelte v3.53.1 */
2896
2896
 
2897
- function create_if_block$e(ctx) {
2897
+ function create_if_block$f(ctx) {
2898
2898
  let link;
2899
2899
 
2900
2900
  return {
@@ -2920,7 +2920,7 @@ function create_if_block$e(ctx) {
2920
2920
 
2921
2921
  function create_fragment$1a(ctx) {
2922
2922
  let head;
2923
- let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$e(ctx);
2923
+ let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$f(ctx);
2924
2924
 
2925
2925
  return {
2926
2926
  c() {
@@ -2936,7 +2936,7 @@ function create_fragment$1a(ctx) {
2936
2936
  if (if_block) {
2937
2937
  if_block.p(ctx, dirty);
2938
2938
  } else {
2939
- if_block = create_if_block$e(ctx);
2939
+ if_block = create_if_block$f(ctx);
2940
2940
  if_block.c();
2941
2941
  if_block.m(head, null);
2942
2942
  }
@@ -3072,7 +3072,7 @@ function add_css$F(target) {
3072
3072
  }
3073
3073
 
3074
3074
  // (23:0) {#if $state === path}
3075
- function create_if_block$d(ctx) {
3075
+ function create_if_block$e(ctx) {
3076
3076
  let div;
3077
3077
  let t;
3078
3078
  let current;
@@ -3137,7 +3137,7 @@ function create_if_block$d(ctx) {
3137
3137
  function create_fragment$18(ctx) {
3138
3138
  let if_block_anchor;
3139
3139
  let current;
3140
- let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$d(ctx);
3140
+ let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$e(ctx);
3141
3141
 
3142
3142
  return {
3143
3143
  c() {
@@ -3158,7 +3158,7 @@ function create_fragment$18(ctx) {
3158
3158
  transition_in(if_block, 1);
3159
3159
  }
3160
3160
  } else {
3161
- if_block = create_if_block$d(ctx);
3161
+ if_block = create_if_block$e(ctx);
3162
3162
  if_block.c();
3163
3163
  transition_in(if_block, 1);
3164
3164
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -3411,7 +3411,7 @@ function add_css$E(target) {
3411
3411
  }
3412
3412
 
3413
3413
  // (14:0) {#if backgroundOverlay}
3414
- function create_if_block$c(ctx) {
3414
+ function create_if_block$d(ctx) {
3415
3415
  let div;
3416
3416
  let div_class_value;
3417
3417
  let mounted;
@@ -3445,7 +3445,7 @@ function create_if_block$c(ctx) {
3445
3445
 
3446
3446
  function create_fragment$17(ctx) {
3447
3447
  let if_block_anchor;
3448
- let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$c(ctx);
3448
+ let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$d(ctx);
3449
3449
 
3450
3450
  return {
3451
3451
  c() {
@@ -3461,7 +3461,7 @@ function create_fragment$17(ctx) {
3461
3461
  if (if_block) {
3462
3462
  if_block.p(ctx, dirty);
3463
3463
  } else {
3464
- if_block = create_if_block$c(ctx);
3464
+ if_block = create_if_block$d(ctx);
3465
3465
  if_block.c();
3466
3466
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
3467
3467
  }
@@ -3783,7 +3783,7 @@ function create_if_block_1$3(ctx) {
3783
3783
  }
3784
3784
 
3785
3785
  // (31:0) {#if disabled}
3786
- function create_if_block$b(ctx) {
3786
+ function create_if_block$c(ctx) {
3787
3787
  let div;
3788
3788
  let current;
3789
3789
  const default_slot_template = /*#slots*/ ctx[9].default;
@@ -3846,7 +3846,7 @@ function create_fragment$16(ctx) {
3846
3846
  let if_block;
3847
3847
  let if_block_anchor;
3848
3848
  let current;
3849
- const if_block_creators = [create_if_block$b, create_if_block_1$3, create_if_block_2$2, create_else_block$5];
3849
+ const if_block_creators = [create_if_block$c, create_if_block_1$3, create_if_block_2$2, create_else_block$5];
3850
3850
  const if_blocks = [];
3851
3851
 
3852
3852
  function select_block_type(ctx, dirty) {
@@ -4045,7 +4045,7 @@ function create_else_block$4(ctx) {
4045
4045
  }
4046
4046
 
4047
4047
  // (266:24)
4048
- function create_if_block_3$1(ctx) {
4048
+ function create_if_block_3(ctx) {
4049
4049
  let backgroundoverlay0;
4050
4050
  let t;
4051
4051
  let backgroundoverlay1;
@@ -4126,7 +4126,7 @@ function create_if_block_2$1(ctx) {
4126
4126
  }
4127
4127
 
4128
4128
  // (280:0) {#if visible}
4129
- function create_if_block$a(ctx) {
4129
+ function create_if_block$b(ctx) {
4130
4130
  let div;
4131
4131
  let button;
4132
4132
  let div_class_value;
@@ -4400,7 +4400,7 @@ function create_fragment$15(ctx) {
4400
4400
  let current;
4401
4401
  let mounted;
4402
4402
  let dispose;
4403
- const if_block_creators = [create_if_block_2$1, create_if_block_3$1, create_else_block$4];
4403
+ const if_block_creators = [create_if_block_2$1, create_if_block_3, create_else_block$4];
4404
4404
  const if_blocks = [];
4405
4405
 
4406
4406
  function select_block_type(ctx, dirty) {
@@ -4412,7 +4412,7 @@ function create_fragment$15(ctx) {
4412
4412
 
4413
4413
  current_block_type_index = select_block_type(ctx);
4414
4414
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
4415
- let if_block1 = /*visible*/ ctx[16] && create_if_block$a(ctx);
4415
+ let if_block1 = /*visible*/ ctx[16] && create_if_block$b(ctx);
4416
4416
 
4417
4417
  return {
4418
4418
  c() {
@@ -4472,7 +4472,7 @@ function create_fragment$15(ctx) {
4472
4472
  transition_in(if_block1, 1);
4473
4473
  }
4474
4474
  } else {
4475
- if_block1 = create_if_block$a(ctx);
4475
+ if_block1 = create_if_block$b(ctx);
4476
4476
  if_block1.c();
4477
4477
  transition_in(if_block1, 1);
4478
4478
  if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
@@ -5137,7 +5137,7 @@ function create_else_block$3(ctx) {
5137
5137
  }
5138
5138
 
5139
5139
  // (11:2) {#if item.match(regexp)}
5140
- function create_if_block$9(ctx) {
5140
+ function create_if_block$a(ctx) {
5141
5141
  let br;
5142
5142
 
5143
5143
  return {
@@ -5162,7 +5162,7 @@ function create_each_block$6(ctx) {
5162
5162
  function select_block_type(ctx, dirty) {
5163
5163
  if (dirty & /*items*/ 1) show_if = null;
5164
5164
  if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
5165
- if (show_if) return create_if_block$9;
5165
+ if (show_if) return create_if_block$a;
5166
5166
  return create_else_block$3;
5167
5167
  }
5168
5168
 
@@ -5342,7 +5342,7 @@ function create_else_block$2(ctx) {
5342
5342
  }
5343
5343
 
5344
5344
  // (80:2) {#if enableCopy}
5345
- function create_if_block$8(ctx) {
5345
+ function create_if_block$9(ctx) {
5346
5346
  let a;
5347
5347
  let div0;
5348
5348
  let rendertext;
@@ -5433,7 +5433,7 @@ function create_fragment$11(ctx) {
5433
5433
  let current_block_type_index;
5434
5434
  let if_block;
5435
5435
  let current;
5436
- const if_block_creators = [create_if_block$8, create_else_block$2];
5436
+ const if_block_creators = [create_if_block$9, create_else_block$2];
5437
5437
  const if_blocks = [];
5438
5438
 
5439
5439
  function select_block_type(ctx, dirty) {
@@ -7348,7 +7348,7 @@ function create_else_block$1(ctx) {
7348
7348
  }
7349
7349
 
7350
7350
  // (105:10) {#if option}
7351
- function create_if_block$7(ctx) {
7351
+ function create_if_block$8(ctx) {
7352
7352
  let t_value = /*option*/ ctx[19] + "";
7353
7353
  let t;
7354
7354
 
@@ -7376,7 +7376,7 @@ function create_each_block$4(ctx) {
7376
7376
  let option_selected_value;
7377
7377
 
7378
7378
  function select_block_type(ctx, dirty) {
7379
- if (/*option*/ ctx[19]) return create_if_block$7;
7379
+ if (/*option*/ ctx[19]) return create_if_block$8;
7380
7380
  return create_else_block$1;
7381
7381
  }
7382
7382
 
@@ -8856,7 +8856,7 @@ function create_if_block_1$1(ctx) {
8856
8856
  }
8857
8857
 
8858
8858
  // (380:2) {#if isVisibleNextButton}
8859
- function create_if_block$6(ctx) {
8859
+ function create_if_block$7(ctx) {
8860
8860
  let div;
8861
8861
  let button;
8862
8862
  let svg;
@@ -8971,7 +8971,7 @@ function create_fragment$N(ctx) {
8971
8971
  const default_slot_template = /*#slots*/ ctx[32].default;
8972
8972
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[31], null);
8973
8973
  let if_block0 = /*isVisiblePrevButton*/ ctx[12] && create_if_block_1$1(ctx);
8974
- let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$6(ctx);
8974
+ let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$7(ctx);
8975
8975
  let each_value = /*items*/ ctx[1];
8976
8976
  let each_blocks = [];
8977
8977
 
@@ -9081,7 +9081,7 @@ function create_fragment$N(ctx) {
9081
9081
  if (if_block1) {
9082
9082
  if_block1.p(ctx, dirty);
9083
9083
  } else {
9084
- if_block1 = create_if_block$6(ctx);
9084
+ if_block1 = create_if_block$7(ctx);
9085
9085
  if_block1.c();
9086
9086
  if_block1.m(div3, t2);
9087
9087
  }
@@ -10062,7 +10062,7 @@ function add_css$g(target) {
10062
10062
  }
10063
10063
 
10064
10064
  // (56:4) {#if svg}
10065
- function create_if_block$5(ctx) {
10065
+ function create_if_block$6(ctx) {
10066
10066
  let html_tag;
10067
10067
  let html_anchor;
10068
10068
 
@@ -10089,7 +10089,7 @@ function create_if_block$5(ctx) {
10089
10089
  // (55:2) <Button {onClick} {style} {eventName}>
10090
10090
  function create_default_slot$1(ctx) {
10091
10091
  let if_block_anchor;
10092
- let if_block = /*svg*/ ctx[3] && create_if_block$5(ctx);
10092
+ let if_block = /*svg*/ ctx[3] && create_if_block$6(ctx);
10093
10093
 
10094
10094
  return {
10095
10095
  c() {
@@ -10105,7 +10105,7 @@ function create_default_slot$1(ctx) {
10105
10105
  if (if_block) {
10106
10106
  if_block.p(ctx, dirty);
10107
10107
  } else {
10108
- if_block = create_if_block$5(ctx);
10108
+ if_block = create_if_block$6(ctx);
10109
10109
  if_block.c();
10110
10110
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
10111
10111
  }
@@ -12981,7 +12981,7 @@ function add_css$8(target) {
12981
12981
  }
12982
12982
 
12983
12983
  // (20:0) {#if (IconComponent)}
12984
- function create_if_block$4(ctx) {
12984
+ function create_if_block$5(ctx) {
12985
12985
  let div;
12986
12986
  let switch_instance;
12987
12987
  let current;
@@ -13065,7 +13065,7 @@ function create_if_block$4(ctx) {
13065
13065
  function create_fragment$8(ctx) {
13066
13066
  let if_block_anchor;
13067
13067
  let current;
13068
- let if_block = /*IconComponent*/ ctx[2] && create_if_block$4(ctx);
13068
+ let if_block = /*IconComponent*/ ctx[2] && create_if_block$5(ctx);
13069
13069
 
13070
13070
  return {
13071
13071
  c() {
@@ -13086,7 +13086,7 @@ function create_fragment$8(ctx) {
13086
13086
  transition_in(if_block, 1);
13087
13087
  }
13088
13088
  } else {
13089
- if_block = create_if_block$4(ctx);
13089
+ if_block = create_if_block$5(ctx);
13090
13090
  if_block.c();
13091
13091
  transition_in(if_block, 1);
13092
13092
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -13258,7 +13258,7 @@ function add_css$7(target) {
13258
13258
  }
13259
13259
 
13260
13260
  // (47:2) {#if (props.isIcon && props.iconVariant)}
13261
- function create_if_block$3(ctx) {
13261
+ function create_if_block$4(ctx) {
13262
13262
  let div;
13263
13263
  let icon;
13264
13264
  let current;
@@ -13318,7 +13318,7 @@ function create_fragment$7(ctx) {
13318
13318
  let current;
13319
13319
  let mounted;
13320
13320
  let dispose;
13321
- let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$3(ctx);
13321
+ let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$4(ctx);
13322
13322
 
13323
13323
  return {
13324
13324
  c() {
@@ -13353,7 +13353,7 @@ function create_fragment$7(ctx) {
13353
13353
  transition_in(if_block, 1);
13354
13354
  }
13355
13355
  } else {
13356
- if_block = create_if_block$3(ctx);
13356
+ if_block = create_if_block$4(ctx);
13357
13357
  if_block.c();
13358
13358
  transition_in(if_block, 1);
13359
13359
  if_block.m(button, t0);
@@ -13510,7 +13510,7 @@ function add_css$6(target) {
13510
13510
  }
13511
13511
 
13512
13512
  // (103:4) {#if props.isIcon && props.iconVariant}
13513
- function create_if_block$2(ctx) {
13513
+ function create_if_block$3(ctx) {
13514
13514
  let div;
13515
13515
  let icon;
13516
13516
  let current;
@@ -13570,7 +13570,7 @@ function create_fragment$6(ctx) {
13570
13570
  let current;
13571
13571
  let mounted;
13572
13572
  let dispose;
13573
- let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$2(ctx);
13573
+ let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$3(ctx);
13574
13574
 
13575
13575
  return {
13576
13576
  c() {
@@ -13605,7 +13605,7 @@ function create_fragment$6(ctx) {
13605
13605
  transition_in(if_block, 1);
13606
13606
  }
13607
13607
  } else {
13608
- if_block = create_if_block$2(ctx);
13608
+ if_block = create_if_block$3(ctx);
13609
13609
  if_block.c();
13610
13610
  transition_in(if_block, 1);
13611
13611
  if_block.m(button, t0);
@@ -13799,22 +13799,76 @@ const TEXT_BUTTON_ICON_ANGLE = {
13799
13799
  'row-reverse': '右側',
13800
13800
  };
13801
13801
 
13802
+ const CLOSE_BUTTON_PLACEMENT = {
13803
+ topRight: 'topRight',
13804
+ topLeft: 'topLeft',
13805
+ bottomRight: 'bottomRight',
13806
+ bottomLeft: 'bottomLeft',
13807
+ };
13808
+ const CLOSE_BUTTON_ROUND = {
13809
+ default: 'デフォルト',
13810
+ none: 'なし',
13811
+ fulled: '円形',
13812
+ };
13813
+ const CLOSE_BUTTON_LABEL_PLACEMENT = {
13814
+ right: 'right',
13815
+ left: 'left',
13816
+ };
13817
+
13802
13818
  /* src/components-flex/close-button/CloseButton.svelte generated by Svelte v3.53.1 */
13803
13819
 
13804
13820
  function add_css$5(target) {
13805
- append_styles(target, "svelte-13071ty", ".close-button.svelte-13071ty{display:inline-flex;align-items:center;justify-content:center;border-radius:100%;background:none;cursor:pointer;border:0;outline:0;transition:background-color 0.12s,\n border-color 0.12s,\n color 0.12s}");
13821
+ append_styles(target, "svelte-1l8m1e9", ".close.svelte-1l8m1e9{position:absolute;top:8px;right:8px}.close-button-row.svelte-1l8m1e9{display:flex;flex-direction:row;align-items:center;gap:4px}.close-button.svelte-1l8m1e9{display:inline-flex;align-items:center;justify-content:center;border-radius:100%;background:none;cursor:pointer;border:0;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.close-button.svelte-1l8m1e9:hover{transform:rotate(90deg)}.close-button-order-one.svelte-1l8m1e9{order:1}.close-button-order-two.svelte-1l8m1e9{order:2}.close-button-label.svelte-1l8m1e9{color:var(--close-button-label-color, '#ccc')}");
13822
+ }
13823
+
13824
+ // (99:4) {#if hasLabel}
13825
+ function create_if_block$2(ctx) {
13826
+ let span;
13827
+ let t;
13828
+
13829
+ return {
13830
+ c() {
13831
+ span = element("span");
13832
+ t = text(/*label*/ ctx[7]);
13833
+ attr(span, "style", /*labelCssVariable*/ ctx[2]);
13834
+
13835
+ attr(span, "class", "close-button-label " + (/*isLeftLabelPlacement*/ ctx[8]
13836
+ ? 'close-button-order-one'
13837
+ : '') + " svelte-1l8m1e9");
13838
+ },
13839
+ m(target, anchor) {
13840
+ insert(target, span, anchor);
13841
+ append(span, t);
13842
+ },
13843
+ p(ctx, dirty) {
13844
+ if (dirty & /*labelCssVariable*/ 4) {
13845
+ attr(span, "style", /*labelCssVariable*/ ctx[2]);
13846
+ }
13847
+ },
13848
+ d(detaching) {
13849
+ if (detaching) detach(span);
13850
+ }
13851
+ };
13806
13852
  }
13807
13853
 
13808
13854
  function create_fragment$5(ctx) {
13855
+ let div1;
13856
+ let div0;
13809
13857
  let button;
13810
13858
  let svg;
13811
13859
  let path;
13860
+ let button_class_value;
13861
+ let t;
13812
13862
  let mounted;
13813
13863
  let dispose;
13814
13864
 
13815
13865
  let button_levels = [
13816
13866
  { "data-layer-id": /*layerId*/ ctx[0] },
13817
- { class: "close-button" },
13867
+ {
13868
+ class: button_class_value = "close-button " + (/*isLeftLabelPlacement*/ ctx[8]
13869
+ ? 'close-button-order-two'
13870
+ : '')
13871
+ },
13818
13872
  { style: /*style*/ ctx[1] },
13819
13873
  dataAttrStopPropagation('click')
13820
13874
  ];
@@ -13825,45 +13879,76 @@ function create_fragment$5(ctx) {
13825
13879
  button_data = assign(button_data, button_levels[i]);
13826
13880
  }
13827
13881
 
13882
+ let if_block = /*hasLabel*/ ctx[4] && create_if_block$2(ctx);
13883
+
13828
13884
  return {
13829
13885
  c() {
13886
+ div1 = element("div");
13887
+ div0 = element("div");
13830
13888
  button = element("button");
13831
13889
  svg = svg_element("svg");
13832
13890
  path = svg_element("path");
13891
+ t = space();
13892
+ if (if_block) if_block.c();
13833
13893
  attr(path, "d", "M 9.15625 6.3125 L 6.3125 9.15625 L 22.15625 25 L 6.21875 40.96875 L 9.03125 43.78125 L 25 27.84375 L 40.9375 43.78125 L 43.78125 40.9375 L 27.84375 25 L 43.6875 9.15625 L 40.84375 6.3125 L 25 22.15625 Z");
13834
13894
  attr(svg, "xmlns", "http://www.w3.org/2000/svg");
13835
13895
  set_style(svg, "width", "75%");
13836
13896
  set_style(svg, "height", "75%");
13837
13897
  attr(svg, "viewBox", "0 0 50 50");
13838
- attr(svg, "fill", "#666666");
13898
+ attr(svg, "fill", /*color*/ ctx[6]);
13839
13899
  set_attributes(button, button_data);
13840
- toggle_class(button, "svelte-13071ty", true);
13900
+ toggle_class(button, "svelte-1l8m1e9", true);
13901
+ attr(div0, "class", "close-button-row svelte-1l8m1e9");
13902
+ attr(div1, "class", "close svelte-1l8m1e9");
13903
+ attr(div1, "style", /*rootStyle*/ ctx[3]);
13841
13904
  },
13842
13905
  m(target, anchor) {
13843
- insert(target, button, anchor);
13906
+ insert(target, div1, anchor);
13907
+ append(div1, div0);
13908
+ append(div0, button);
13844
13909
  append(button, svg);
13845
13910
  append(svg, path);
13846
13911
  if (button.autofocus) button.focus();
13912
+ append(div0, t);
13913
+ if (if_block) if_block.m(div0, null);
13847
13914
 
13848
13915
  if (!mounted) {
13849
- dispose = listen(button, "click", prevent_default(checkStopPropagation('click', /*handleClick*/ ctx[2])));
13916
+ dispose = listen(button, "click", prevent_default(checkStopPropagation('click', /*handleClick*/ ctx[5])));
13850
13917
  mounted = true;
13851
13918
  }
13852
13919
  },
13853
13920
  p(ctx, [dirty]) {
13854
13921
  set_attributes(button, button_data = get_spread_update(button_levels, [
13855
13922
  dirty & /*layerId*/ 1 && { "data-layer-id": /*layerId*/ ctx[0] },
13856
- { class: "close-button" },
13923
+ { class: button_class_value },
13857
13924
  dirty & /*style*/ 2 && { style: /*style*/ ctx[1] },
13858
13925
  dataAttrStopPropagation('click')
13859
13926
  ]));
13860
13927
 
13861
- toggle_class(button, "svelte-13071ty", true);
13928
+ toggle_class(button, "svelte-1l8m1e9", true);
13929
+
13930
+ if (/*hasLabel*/ ctx[4]) {
13931
+ if (if_block) {
13932
+ if_block.p(ctx, dirty);
13933
+ } else {
13934
+ if_block = create_if_block$2(ctx);
13935
+ if_block.c();
13936
+ if_block.m(div0, null);
13937
+ }
13938
+ } else if (if_block) {
13939
+ if_block.d(1);
13940
+ if_block = null;
13941
+ }
13942
+
13943
+ if (dirty & /*rootStyle*/ 8) {
13944
+ attr(div1, "style", /*rootStyle*/ ctx[3]);
13945
+ }
13862
13946
  },
13863
13947
  i: noop,
13864
13948
  o: noop,
13865
13949
  d(detaching) {
13866
- if (detaching) detach(button);
13950
+ if (detaching) detach(div1);
13951
+ if (if_block) if_block.d();
13867
13952
  mounted = false;
13868
13953
  dispose();
13869
13954
  }
@@ -13871,14 +13956,34 @@ function create_fragment$5(ctx) {
13871
13956
  }
13872
13957
 
13873
13958
  function instance$5($$self, $$props, $$invalidate) {
13959
+ let hasLabel;
13960
+ let rootStyle;
13961
+ let labelCssVariable;
13874
13962
  let style;
13875
- let { onClick = { operation: 'closeApp', args: ['button'] } } = $$props;
13963
+ let $maximumZindex;
13964
+ component_subscribe($$self, maximumZindex, $$value => $$invalidate(12, $maximumZindex = $$value));
13876
13965
  let { props = {} } = $$props;
13877
13966
  let { layerId = '' } = $$props;
13878
13967
  let { eventName = '' } = $$props;
13879
13968
  let { eventValue = undefined } = $$props;
13880
13969
 
13970
+ const VARIANTS = {
13971
+ placement: {
13972
+ topRight: { top: '8px', right: '8px' },
13973
+ topLeft: { top: '8px', left: '8px' },
13974
+ bottomRight: { bottom: '8px', right: '8px' },
13975
+ bottomLeft: { bottom: '8px', left: '8px' }
13976
+ },
13977
+ round: {
13978
+ none: { borderRadius: 0 },
13979
+ default: {},
13980
+ fulled: { borderRadius: '56px' }
13981
+ }
13982
+ };
13983
+
13881
13984
  function handleClick() {
13985
+ const onClick = { operation: 'closeApp', args: ['button'] };
13986
+
13882
13987
  if (eventName) {
13883
13988
  send_event(eventName, eventValue);
13884
13989
  }
@@ -13887,27 +13992,64 @@ function instance$5($$self, $$props, $$invalidate) {
13887
13992
  }
13888
13993
 
13889
13994
  const size = props.size ?? 24;
13995
+ const color = props.color ?? '#666';
13996
+ const label = props.label;
13997
+ const isLeftLabelPlacement = props.labelPlacement === 'left';
13998
+
13999
+ const getCssPlacement = () => {
14000
+ return {
14001
+ top: props.top ?? VARIANTS.placement[props.placement ?? 'topRight'].top,
14002
+ right: props.right ?? VARIANTS.placement[props.placement ?? 'topRight'].right,
14003
+ left: props.left ?? VARIANTS.placement[props.placement ?? 'topRight'].left,
14004
+ bottom: props.bottom ?? VARIANTS.placement[props.placement ?? 'topRight'].bottom
14005
+ };
14006
+ };
13890
14007
 
13891
14008
  $$self.$$set = $$props => {
13892
- if ('onClick' in $$props) $$invalidate(3, onClick = $$props.onClick);
13893
- if ('props' in $$props) $$invalidate(4, props = $$props.props);
14009
+ if ('props' in $$props) $$invalidate(9, props = $$props.props);
13894
14010
  if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
13895
- if ('eventName' in $$props) $$invalidate(5, eventName = $$props.eventName);
13896
- if ('eventValue' in $$props) $$invalidate(6, eventValue = $$props.eventValue);
14011
+ if ('eventName' in $$props) $$invalidate(10, eventName = $$props.eventName);
14012
+ if ('eventValue' in $$props) $$invalidate(11, eventValue = $$props.eventValue);
13897
14013
  };
13898
14014
 
13899
14015
  $$self.$$.update = () => {
13900
- if ($$self.$$.dirty & /*props*/ 16) {
14016
+ if ($$self.$$.dirty & /*$maximumZindex*/ 4096) {
14017
+ $$invalidate(3, rootStyle = objToStyle({
14018
+ ...getCssPlacement(),
14019
+ zIndex: $maximumZindex + 1
14020
+ }));
14021
+ }
14022
+
14023
+ if ($$self.$$.dirty & /*props*/ 512) {
13901
14024
  $$invalidate(1, style = objToStyle({
13902
14025
  width: `${size}px`,
13903
14026
  height: `${size}px`,
13904
14027
  ...props.bordered && { border: '1px solid #666' },
14028
+ backgroundColor: props.backgroundColor ?? 'transparent',
14029
+ ...VARIANTS.round[props.round ?? 'default'],
13905
14030
  ...toCssCommon(props)
13906
14031
  }));
13907
14032
  }
13908
14033
  };
13909
14034
 
13910
- return [layerId, style, handleClick, onClick, props, eventName, eventValue];
14035
+ $$invalidate(4, hasLabel = label !== undefined && label !== '');
14036
+ $$invalidate(2, labelCssVariable = '--close-button-label-color: {props.labelColor}');
14037
+
14038
+ return [
14039
+ layerId,
14040
+ style,
14041
+ labelCssVariable,
14042
+ rootStyle,
14043
+ hasLabel,
14044
+ handleClick,
14045
+ color,
14046
+ label,
14047
+ isLeftLabelPlacement,
14048
+ props,
14049
+ eventName,
14050
+ eventValue,
14051
+ $maximumZindex
14052
+ ];
13911
14053
  }
13912
14054
 
13913
14055
  class CloseButton extends SvelteComponent {
@@ -13921,11 +14063,10 @@ class CloseButton extends SvelteComponent {
13921
14063
  create_fragment$5,
13922
14064
  safe_not_equal,
13923
14065
  {
13924
- onClick: 3,
13925
- props: 4,
14066
+ props: 9,
13926
14067
  layerId: 0,
13927
- eventName: 5,
13928
- eventValue: 6
14068
+ eventName: 10,
14069
+ eventValue: 11
13929
14070
  },
13930
14071
  add_css$5
13931
14072
  );
@@ -14397,22 +14538,22 @@ class BackgroundOverlay extends SvelteComponent {
14397
14538
  /* src/components-flex/modal/Modal.svelte generated by Svelte v3.53.1 */
14398
14539
 
14399
14540
  function add_css(target) {
14400
- append_styles(target, "svelte-1ks2ecq", ".modal.svelte-1ks2ecq{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-1ks2ecq > .button{flex:auto;display:flex}.close.svelte-1ks2ecq{position:absolute;top:8px;right:8px}.close.svelte-1ks2ecq > .button{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-1ks2ecq > .button:hover{transform:rotate(90deg)}@media screen and (min-width: 641px){.modal-bp.svelte-1ks2ecq{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc);margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-1ks2ecq{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp);margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
14541
+ append_styles(target, "svelte-5997yi", ".modal.svelte-5997yi{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-5997yi > .button{flex:auto;display:flex}@media screen and (min-width: 641px){.modal-bp.svelte-5997yi{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc);margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-5997yi{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp);margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
14401
14542
  }
14402
14543
 
14403
- // (264:0) {:else}
14544
+ // (253:0) {:else}
14404
14545
  function create_else_block(ctx) {
14405
14546
  let backgroundoverlay;
14406
14547
  let current;
14407
14548
 
14408
14549
  backgroundoverlay = new BackgroundOverlay({
14409
14550
  props: {
14410
- backgroundOverlay: /*backgroundOverlay*/ ctx[7]
14551
+ backgroundOverlay: /*backgroundOverlay*/ ctx[3]
14411
14552
  }
14412
14553
  });
14413
14554
 
14414
14555
  backgroundoverlay.$on("click", function () {
14415
- if (is_function(/*backgroundClick*/ ctx[15])) /*backgroundClick*/ ctx[15].apply(this, arguments);
14556
+ if (is_function(/*backgroundClick*/ ctx[11])) /*backgroundClick*/ ctx[11].apply(this, arguments);
14416
14557
  });
14417
14558
 
14418
14559
  return {
@@ -14426,7 +14567,7 @@ function create_else_block(ctx) {
14426
14567
  p(new_ctx, dirty) {
14427
14568
  ctx = new_ctx;
14428
14569
  const backgroundoverlay_changes = {};
14429
- if (dirty[0] & /*backgroundOverlay*/ 128) backgroundoverlay_changes.backgroundOverlay = /*backgroundOverlay*/ ctx[7];
14570
+ if (dirty & /*backgroundOverlay*/ 8) backgroundoverlay_changes.backgroundOverlay = /*backgroundOverlay*/ ctx[3];
14430
14571
  backgroundoverlay.$set(backgroundoverlay_changes);
14431
14572
  },
14432
14573
  i(local) {
@@ -14444,8 +14585,8 @@ function create_else_block(ctx) {
14444
14585
  };
14445
14586
  }
14446
14587
 
14447
- // (253:24)
14448
- function create_if_block_3(ctx) {
14588
+ // (242:24)
14589
+ function create_if_block_2(ctx) {
14449
14590
  let backgroundoverlay0;
14450
14591
  let t;
14451
14592
  let backgroundoverlay1;
@@ -14454,23 +14595,23 @@ function create_if_block_3(ctx) {
14454
14595
  backgroundoverlay0 = new BackgroundOverlay({
14455
14596
  props: {
14456
14597
  class: "background-bp-pc",
14457
- backgroundOverlay: /*backgroundOverlayPC*/ ctx[8]
14598
+ backgroundOverlay: /*backgroundOverlayPC*/ ctx[4]
14458
14599
  }
14459
14600
  });
14460
14601
 
14461
14602
  backgroundoverlay0.$on("click", function () {
14462
- if (is_function(/*backgroundClickPC*/ ctx[14])) /*backgroundClickPC*/ ctx[14].apply(this, arguments);
14603
+ if (is_function(/*backgroundClickPC*/ ctx[10])) /*backgroundClickPC*/ ctx[10].apply(this, arguments);
14463
14604
  });
14464
14605
 
14465
14606
  backgroundoverlay1 = new BackgroundOverlay({
14466
14607
  props: {
14467
14608
  class: "background-bp-sp ",
14468
- backgroundOverlay: /*backgroundOverlaySP*/ ctx[9]
14609
+ backgroundOverlay: /*backgroundOverlaySP*/ ctx[5]
14469
14610
  }
14470
14611
  });
14471
14612
 
14472
14613
  backgroundoverlay1.$on("click", function () {
14473
- if (is_function(/*backgroundClickSP*/ ctx[13])) /*backgroundClickSP*/ ctx[13].apply(this, arguments);
14614
+ if (is_function(/*backgroundClickSP*/ ctx[9])) /*backgroundClickSP*/ ctx[9].apply(this, arguments);
14474
14615
  });
14475
14616
 
14476
14617
  return {
@@ -14488,10 +14629,10 @@ function create_if_block_3(ctx) {
14488
14629
  p(new_ctx, dirty) {
14489
14630
  ctx = new_ctx;
14490
14631
  const backgroundoverlay0_changes = {};
14491
- if (dirty[0] & /*backgroundOverlayPC*/ 256) backgroundoverlay0_changes.backgroundOverlay = /*backgroundOverlayPC*/ ctx[8];
14632
+ if (dirty & /*backgroundOverlayPC*/ 16) backgroundoverlay0_changes.backgroundOverlay = /*backgroundOverlayPC*/ ctx[4];
14492
14633
  backgroundoverlay0.$set(backgroundoverlay0_changes);
14493
14634
  const backgroundoverlay1_changes = {};
14494
- if (dirty[0] & /*backgroundOverlaySP*/ 512) backgroundoverlay1_changes.backgroundOverlay = /*backgroundOverlaySP*/ ctx[9];
14635
+ if (dirty & /*backgroundOverlaySP*/ 32) backgroundoverlay1_changes.backgroundOverlay = /*backgroundOverlaySP*/ ctx[5];
14495
14636
  backgroundoverlay1.$set(backgroundoverlay1_changes);
14496
14637
  },
14497
14638
  i(local) {
@@ -14513,8 +14654,8 @@ function create_if_block_3(ctx) {
14513
14654
  };
14514
14655
  }
14515
14656
 
14516
- // (251:0) {#if isPreview()}
14517
- function create_if_block_2(ctx) {
14657
+ // (240:0) {#if isPreview()}
14658
+ function create_if_block_1(ctx) {
14518
14659
  return {
14519
14660
  c: noop,
14520
14661
  m: noop,
@@ -14525,94 +14666,64 @@ function create_if_block_2(ctx) {
14525
14666
  };
14526
14667
  }
14527
14668
 
14528
- // (267:0) {#if visible}
14669
+ // (256:0) {#if visible}
14529
14670
  function create_if_block(ctx) {
14530
14671
  let div;
14531
- let t;
14532
14672
  let div_class_value;
14533
14673
  let div_intro;
14534
14674
  let current;
14535
- let if_block = /*closable*/ ctx[16] && create_if_block_1(ctx);
14536
- const default_slot_template = /*#slots*/ ctx[30].default;
14537
- const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[29], null);
14675
+ const default_slot_template = /*#slots*/ ctx[26].default;
14676
+ const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);
14538
14677
 
14539
14678
  return {
14540
14679
  c() {
14541
14680
  div = element("div");
14542
- if (if_block) if_block.c();
14543
- t = space();
14544
14681
  if (default_slot) default_slot.c();
14545
- attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-1ks2ecq"));
14682
+ attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-5997yi"));
14546
14683
  attr(div, "role", "dialog");
14547
14684
  attr(div, "aria-modal", "true");
14548
- attr(div, "style", Array.from(/*modalStyles*/ ctx[18]).join(';'));
14685
+ attr(div, "style", Array.from(/*modalStyles*/ ctx[12]).join(';'));
14549
14686
  },
14550
14687
  m(target, anchor) {
14551
14688
  insert(target, div, anchor);
14552
- if (if_block) if_block.m(div, null);
14553
- append(div, t);
14554
14689
 
14555
14690
  if (default_slot) {
14556
14691
  default_slot.m(div, null);
14557
14692
  }
14558
14693
 
14559
- /*div_binding*/ ctx[31](div);
14694
+ /*div_binding*/ ctx[27](div);
14560
14695
  current = true;
14561
14696
  },
14562
14697
  p(new_ctx, dirty) {
14563
14698
  ctx = new_ctx;
14564
14699
 
14565
- if (/*closable*/ ctx[16]) {
14566
- if (if_block) {
14567
- if_block.p(ctx, dirty);
14568
-
14569
- if (dirty[0] & /*closable*/ 65536) {
14570
- transition_in(if_block, 1);
14571
- }
14572
- } else {
14573
- if_block = create_if_block_1(ctx);
14574
- if_block.c();
14575
- transition_in(if_block, 1);
14576
- if_block.m(div, t);
14577
- }
14578
- } else if (if_block) {
14579
- group_outros();
14580
-
14581
- transition_out(if_block, 1, 1, () => {
14582
- if_block = null;
14583
- });
14584
-
14585
- check_outros();
14586
- }
14587
-
14588
14700
  if (default_slot) {
14589
- if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 536870912)) {
14701
+ if (default_slot.p && (!current || dirty & /*$$scope*/ 33554432)) {
14590
14702
  update_slot_base(
14591
14703
  default_slot,
14592
14704
  default_slot_template,
14593
14705
  ctx,
14594
- /*$$scope*/ ctx[29],
14706
+ /*$$scope*/ ctx[25],
14595
14707
  !current
14596
- ? get_all_dirty_from_scope(/*$$scope*/ ctx[29])
14597
- : get_slot_changes(default_slot_template, /*$$scope*/ ctx[29], dirty, null),
14708
+ ? get_all_dirty_from_scope(/*$$scope*/ ctx[25])
14709
+ : get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),
14598
14710
  null
14599
14711
  );
14600
14712
  }
14601
14713
  }
14602
14714
 
14603
- if (!current || dirty[0] & /*useBreakPoint*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-1ks2ecq"))) {
14715
+ if (!current || dirty & /*useBreakPoint*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-5997yi"))) {
14604
14716
  attr(div, "class", div_class_value);
14605
14717
  }
14606
14718
  },
14607
14719
  i(local) {
14608
14720
  if (current) return;
14609
- transition_in(if_block);
14610
14721
  transition_in(default_slot, local);
14611
14722
 
14612
14723
  if (!div_intro) {
14613
14724
  add_render_callback(() => {
14614
14725
  div_intro = create_in_transition(div, customAnimation, {
14615
- transforms: /*transforms*/ ctx[6],
14726
+ transforms: /*transforms*/ ctx[2],
14616
14727
  animationStyle: /*animation*/ ctx[1]
14617
14728
  });
14618
14729
 
@@ -14623,70 +14734,13 @@ function create_if_block(ctx) {
14623
14734
  current = true;
14624
14735
  },
14625
14736
  o(local) {
14626
- transition_out(if_block);
14627
14737
  transition_out(default_slot, local);
14628
14738
  current = false;
14629
14739
  },
14630
14740
  d(detaching) {
14631
14741
  if (detaching) detach(div);
14632
- if (if_block) if_block.d();
14633
14742
  if (default_slot) default_slot.d(detaching);
14634
- /*div_binding*/ ctx[31](null);
14635
- }
14636
- };
14637
- }
14638
-
14639
- // (279:4) {#if closable}
14640
- function create_if_block_1(ctx) {
14641
- let div;
14642
- let closebutton;
14643
- let current;
14644
-
14645
- closebutton = new CloseButton({
14646
- props: {
14647
- onClick: /*onClose*/ ctx[2],
14648
- eventName: /*closeEventName*/ ctx[3],
14649
- eventValue: /*closeEventValue*/ ctx[4],
14650
- props: /*closeButtonProps*/ ctx[5]
14651
- }
14652
- });
14653
-
14654
- return {
14655
- c() {
14656
- div = element("div");
14657
- create_component(closebutton.$$.fragment);
14658
- attr(div, "class", "close svelte-1ks2ecq");
14659
- set_style(div, "z-index", /*$maximumZindex*/ ctx[17] + 1);
14660
- },
14661
- m(target, anchor) {
14662
- insert(target, div, anchor);
14663
- mount_component(closebutton, div, null);
14664
- current = true;
14665
- },
14666
- p(ctx, dirty) {
14667
- const closebutton_changes = {};
14668
- if (dirty[0] & /*onClose*/ 4) closebutton_changes.onClick = /*onClose*/ ctx[2];
14669
- if (dirty[0] & /*closeEventName*/ 8) closebutton_changes.eventName = /*closeEventName*/ ctx[3];
14670
- if (dirty[0] & /*closeEventValue*/ 16) closebutton_changes.eventValue = /*closeEventValue*/ ctx[4];
14671
- if (dirty[0] & /*closeButtonProps*/ 32) closebutton_changes.props = /*closeButtonProps*/ ctx[5];
14672
- closebutton.$set(closebutton_changes);
14673
-
14674
- if (!current || dirty[0] & /*$maximumZindex*/ 131072) {
14675
- set_style(div, "z-index", /*$maximumZindex*/ ctx[17] + 1);
14676
- }
14677
- },
14678
- i(local) {
14679
- if (current) return;
14680
- transition_in(closebutton.$$.fragment, local);
14681
- current = true;
14682
- },
14683
- o(local) {
14684
- transition_out(closebutton.$$.fragment, local);
14685
- current = false;
14686
- },
14687
- d(detaching) {
14688
- if (detaching) detach(div);
14689
- destroy_component(closebutton);
14743
+ /*div_binding*/ ctx[27](null);
14690
14744
  }
14691
14745
  };
14692
14746
  }
@@ -14700,7 +14754,7 @@ function create_fragment(ctx) {
14700
14754
  let current;
14701
14755
  let mounted;
14702
14756
  let dispose;
14703
- const if_block_creators = [create_if_block_2, create_if_block_3, create_else_block];
14757
+ const if_block_creators = [create_if_block_1, create_if_block_2, create_else_block];
14704
14758
  const if_blocks = [];
14705
14759
 
14706
14760
  function select_block_type(ctx, dirty) {
@@ -14712,7 +14766,7 @@ function create_fragment(ctx) {
14712
14766
 
14713
14767
  current_block_type_index = select_block_type(ctx);
14714
14768
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
14715
- let if_block1 = /*visible*/ ctx[11] && create_if_block(ctx);
14769
+ let if_block1 = /*visible*/ ctx[7] && create_if_block(ctx);
14716
14770
 
14717
14771
  return {
14718
14772
  c() {
@@ -14730,13 +14784,13 @@ function create_fragment(ctx) {
14730
14784
 
14731
14785
  if (!mounted) {
14732
14786
  dispose = listen(window, "keydown", function () {
14733
- if (is_function(/*handle_keydown*/ ctx[12])) /*handle_keydown*/ ctx[12].apply(this, arguments);
14787
+ if (is_function(/*handle_keydown*/ ctx[8])) /*handle_keydown*/ ctx[8].apply(this, arguments);
14734
14788
  });
14735
14789
 
14736
14790
  mounted = true;
14737
14791
  }
14738
14792
  },
14739
- p(new_ctx, dirty) {
14793
+ p(new_ctx, [dirty]) {
14740
14794
  ctx = new_ctx;
14741
14795
  let previous_block_index = current_block_type_index;
14742
14796
  current_block_type_index = select_block_type(ctx);
@@ -14764,11 +14818,11 @@ function create_fragment(ctx) {
14764
14818
  if_block0.m(t.parentNode, t);
14765
14819
  }
14766
14820
 
14767
- if (/*visible*/ ctx[11]) {
14821
+ if (/*visible*/ ctx[7]) {
14768
14822
  if (if_block1) {
14769
14823
  if_block1.p(ctx, dirty);
14770
14824
 
14771
- if (dirty[0] & /*visible*/ 2048) {
14825
+ if (dirty & /*visible*/ 128) {
14772
14826
  transition_in(if_block1, 1);
14773
14827
  }
14774
14828
  } else {
@@ -14811,14 +14865,11 @@ function create_fragment(ctx) {
14811
14865
 
14812
14866
  function instance($$self, $$props, $$invalidate) {
14813
14867
  let close;
14814
- let closable;
14815
14868
  let backgroundClick;
14816
14869
  let backgroundClickPC;
14817
14870
  let backgroundClickSP;
14818
14871
  let handle_keydown;
14819
14872
  let visible;
14820
- let $maximumZindex;
14821
- component_subscribe($$self, maximumZindex, $$value => $$invalidate(17, $maximumZindex = $$value));
14822
14873
  let { $$slots: slots = {}, $$scope } = $$props;
14823
14874
  let { onClick = { operation: 'none', args: [] } } = $$props;
14824
14875
  let { clickEventName = '' } = $$props;
@@ -14828,10 +14879,8 @@ function instance($$self, $$props, $$invalidate) {
14828
14879
  let { breakPoint } = $$props;
14829
14880
  let { elasticity } = $$props;
14830
14881
  let { animation = 'none' } = $$props;
14831
- let { onClose = { operation: 'closeApp', args: ['button'] } } = $$props;
14832
14882
  let { closeEventName = '' } = $$props;
14833
14883
  let { closeEventValue = null } = $$props;
14834
- let { closeButtonProps = {} } = $$props;
14835
14884
 
14836
14885
  // モーダル背景の設定
14837
14886
  let backgroundOverlay = DefaultModalPlacement.backgroundOverlay;
@@ -14849,7 +14898,7 @@ function instance($$self, $$props, $$invalidate) {
14849
14898
  let modal;
14850
14899
 
14851
14900
  onMount$1(() => {
14852
- $$invalidate(11, visible = true);
14901
+ $$invalidate(7, visible = true);
14853
14902
  });
14854
14903
 
14855
14904
  onDestroy$1(() => setPreviousFocus());
@@ -14857,29 +14906,29 @@ function instance($$self, $$props, $$invalidate) {
14857
14906
  function div_binding($$value) {
14858
14907
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14859
14908
  modal = $$value;
14860
- $$invalidate(10, modal);
14909
+ $$invalidate(6, modal);
14861
14910
  });
14862
14911
  }
14863
14912
 
14864
14913
  $$self.$$set = $$props => {
14865
- if ('onClick' in $$props) $$invalidate(19, onClick = $$props.onClick);
14866
- if ('clickEventName' in $$props) $$invalidate(20, clickEventName = $$props.clickEventName);
14867
- if ('clickEventValue' in $$props) $$invalidate(21, clickEventValue = $$props.clickEventValue);
14914
+ if ('onClick' in $$props) $$invalidate(13, onClick = $$props.onClick);
14915
+ if ('clickEventName' in $$props) $$invalidate(14, clickEventName = $$props.clickEventName);
14916
+ if ('clickEventValue' in $$props) $$invalidate(15, clickEventValue = $$props.clickEventValue);
14868
14917
  if ('useBreakPoint' in $$props) $$invalidate(0, useBreakPoint = $$props.useBreakPoint);
14869
- if ('placement' in $$props) $$invalidate(22, placement = $$props.placement);
14870
- if ('breakPoint' in $$props) $$invalidate(23, breakPoint = $$props.breakPoint);
14871
- if ('elasticity' in $$props) $$invalidate(24, elasticity = $$props.elasticity);
14918
+ if ('placement' in $$props) $$invalidate(16, placement = $$props.placement);
14919
+ if ('breakPoint' in $$props) $$invalidate(17, breakPoint = $$props.breakPoint);
14920
+ if ('elasticity' in $$props) $$invalidate(18, elasticity = $$props.elasticity);
14872
14921
  if ('animation' in $$props) $$invalidate(1, animation = $$props.animation);
14873
- if ('onClose' in $$props) $$invalidate(2, onClose = $$props.onClose);
14874
- if ('closeEventName' in $$props) $$invalidate(3, closeEventName = $$props.closeEventName);
14875
- if ('closeEventValue' in $$props) $$invalidate(4, closeEventValue = $$props.closeEventValue);
14876
- if ('closeButtonProps' in $$props) $$invalidate(5, closeButtonProps = $$props.closeButtonProps);
14877
- if ('$$scope' in $$props) $$invalidate(29, $$scope = $$props.$$scope);
14922
+ if ('closeEventName' in $$props) $$invalidate(19, closeEventName = $$props.closeEventName);
14923
+ if ('closeEventValue' in $$props) $$invalidate(20, closeEventValue = $$props.closeEventValue);
14924
+ if ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);
14878
14925
  };
14879
14926
 
14880
14927
  $$self.$$.update = () => {
14881
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, onClose*/ 28) {
14882
- $$invalidate(28, close = () => {
14928
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue*/ 1572864) {
14929
+ $$invalidate(24, close = () => {
14930
+ const onClose = { operation: 'closeApp', args: ['button'] };
14931
+
14883
14932
  if (closeEventName) {
14884
14933
  send_event(closeEventName, closeEventValue);
14885
14934
  }
@@ -14888,49 +14937,45 @@ function instance($$self, $$props, $$invalidate) {
14888
14937
  });
14889
14938
  }
14890
14939
 
14891
- if ($$self.$$.dirty[0] & /*onClose*/ 4) {
14892
- $$invalidate(16, closable = haveFunction(onClose));
14893
- }
14894
-
14895
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 12582913) {
14940
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
14896
14941
  {
14897
14942
  if (placement && placement.backgroundOverlay) {
14898
- $$invalidate(7, backgroundOverlay = placement.backgroundOverlay);
14943
+ $$invalidate(3, backgroundOverlay = placement.backgroundOverlay);
14899
14944
  }
14900
14945
 
14901
14946
  if (useBreakPoint) {
14902
14947
  const pc = breakPoint?.PC?.placement?.backgroundOverlay;
14903
- $$invalidate(8, backgroundOverlayPC = pc ?? false);
14948
+ $$invalidate(4, backgroundOverlayPC = pc ?? false);
14904
14949
  const sp = breakPoint?.SP?.placement?.backgroundOverlay;
14905
- $$invalidate(9, backgroundOverlaySP = sp ?? false);
14950
+ $$invalidate(5, backgroundOverlaySP = sp ?? false);
14906
14951
  }
14907
14952
  }
14908
14953
  }
14909
14954
 
14910
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 12582913) {
14955
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
14911
14956
  {
14912
14957
  if (placement && placement.backgroundClick) {
14913
- $$invalidate(25, backgroundClickFunction = placement.backgroundClick);
14958
+ $$invalidate(21, backgroundClickFunction = placement.backgroundClick);
14914
14959
  }
14915
14960
 
14916
14961
  if (useBreakPoint) {
14917
14962
  const pc = breakPoint?.PC?.placement?.backgroundClick;
14918
14963
 
14919
14964
  if (pc) {
14920
- $$invalidate(26, backgroundClickFunctionPC = pc);
14965
+ $$invalidate(22, backgroundClickFunctionPC = pc);
14921
14966
  }
14922
14967
 
14923
14968
  const sp = breakPoint?.SP?.placement?.backgroundClick;
14924
14969
 
14925
14970
  if (sp) {
14926
- $$invalidate(27, backgroundClickFunctionSP = sp);
14971
+ $$invalidate(23, backgroundClickFunctionSP = sp);
14927
14972
  }
14928
14973
  }
14929
14974
  }
14930
14975
  }
14931
14976
 
14932
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, backgroundClickFunction*/ 33554456) {
14933
- $$invalidate(15, backgroundClick = () => {
14977
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 3670016) {
14978
+ $$invalidate(11, backgroundClick = () => {
14934
14979
  if (closeEventName) {
14935
14980
  send_event(closeEventName, closeEventValue);
14936
14981
  }
@@ -14939,8 +14984,8 @@ function instance($$self, $$props, $$invalidate) {
14939
14984
  });
14940
14985
  }
14941
14986
 
14942
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/ 67108888) {
14943
- $$invalidate(14, backgroundClickPC = () => {
14987
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/ 5767168) {
14988
+ $$invalidate(10, backgroundClickPC = () => {
14944
14989
  if (closeEventName) {
14945
14990
  send_event(closeEventName, closeEventValue);
14946
14991
  }
@@ -14949,8 +14994,8 @@ function instance($$self, $$props, $$invalidate) {
14949
14994
  });
14950
14995
  }
14951
14996
 
14952
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/ 134217752) {
14953
- $$invalidate(13, backgroundClickSP = () => {
14997
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/ 9961472) {
14998
+ $$invalidate(9, backgroundClickSP = () => {
14954
14999
  if (closeEventName) {
14955
15000
  send_event(closeEventName, closeEventValue);
14956
15001
  }
@@ -14959,7 +15004,7 @@ function instance($$self, $$props, $$invalidate) {
14959
15004
  });
14960
15005
  }
14961
15006
 
14962
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint, transforms*/ 12582977) {
15007
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, transforms*/ 196613) {
14963
15008
  // 表示位置のスタイルとアニメーションの動きを設定
14964
15009
  {
14965
15010
  // 表示位置のスタイルの設定
@@ -14975,7 +15020,7 @@ function instance($$self, $$props, $$invalidate) {
14975
15020
  modalStyles.add(positionStyle);
14976
15021
  }
14977
15022
 
14978
- $$invalidate(6, transforms = []);
15023
+ $$invalidate(2, transforms = []);
14979
15024
 
14980
15025
  DEVICE_IDS.forEach(deviceId => {
14981
15026
  if (useBreakPoint) {
@@ -15003,7 +15048,7 @@ function instance($$self, $$props, $$invalidate) {
15003
15048
  }
15004
15049
  }
15005
15050
 
15006
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 12582913) {
15051
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
15007
15052
  // 表示位置の調整のスタイルを設定
15008
15053
  {
15009
15054
  let margin = DefaultModalPlacement.margin;
@@ -15035,7 +15080,7 @@ function instance($$self, $$props, $$invalidate) {
15035
15080
  }
15036
15081
  }
15037
15082
 
15038
- if ($$self.$$.dirty[0] & /*elasticity, useBreakPoint, breakPoint*/ 25165825) {
15083
+ if ($$self.$$.dirty & /*elasticity, useBreakPoint, breakPoint*/ 393217) {
15039
15084
  // 拡大方法のスタイルを設定
15040
15085
  {
15041
15086
  let elasticStyle = ElasticityStyle[elasticity];
@@ -15061,23 +15106,19 @@ function instance($$self, $$props, $$invalidate) {
15061
15106
  }
15062
15107
  }
15063
15108
 
15064
- if ($$self.$$.dirty[0] & /*close*/ 268435456) {
15065
- $$invalidate(12, handle_keydown = handleKeydown({ Escape: close }));
15109
+ if ($$self.$$.dirty & /*close*/ 16777216) {
15110
+ $$invalidate(8, handle_keydown = handleKeydown({ Escape: close }));
15066
15111
  }
15067
15112
  };
15068
15113
 
15069
- $$invalidate(10, modal = null);
15114
+ $$invalidate(6, modal = null);
15070
15115
 
15071
15116
  // svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
15072
- $$invalidate(11, visible = false);
15117
+ $$invalidate(7, visible = false);
15073
15118
 
15074
15119
  return [
15075
15120
  useBreakPoint,
15076
15121
  animation,
15077
- onClose,
15078
- closeEventName,
15079
- closeEventValue,
15080
- closeButtonProps,
15081
15122
  transforms,
15082
15123
  backgroundOverlay,
15083
15124
  backgroundOverlayPC,
@@ -15088,8 +15129,6 @@ function instance($$self, $$props, $$invalidate) {
15088
15129
  backgroundClickSP,
15089
15130
  backgroundClickPC,
15090
15131
  backgroundClick,
15091
- closable,
15092
- $maximumZindex,
15093
15132
  modalStyles,
15094
15133
  onClick,
15095
15134
  clickEventName,
@@ -15097,6 +15136,8 @@ function instance($$self, $$props, $$invalidate) {
15097
15136
  placement,
15098
15137
  breakPoint,
15099
15138
  elasticity,
15139
+ closeEventName,
15140
+ closeEventValue,
15100
15141
  backgroundClickFunction,
15101
15142
  backgroundClickFunctionPC,
15102
15143
  backgroundClickFunctionSP,
@@ -15118,23 +15159,20 @@ class Modal extends SvelteComponent {
15118
15159
  create_fragment,
15119
15160
  safe_not_equal,
15120
15161
  {
15121
- onClick: 19,
15122
- clickEventName: 20,
15123
- clickEventValue: 21,
15162
+ onClick: 13,
15163
+ clickEventName: 14,
15164
+ clickEventValue: 15,
15124
15165
  useBreakPoint: 0,
15125
- placement: 22,
15126
- breakPoint: 23,
15127
- elasticity: 24,
15166
+ placement: 16,
15167
+ breakPoint: 17,
15168
+ elasticity: 18,
15128
15169
  animation: 1,
15129
- onClose: 2,
15130
- closeEventName: 3,
15131
- closeEventValue: 4,
15132
- closeButtonProps: 5
15170
+ closeEventName: 19,
15171
+ closeEventValue: 20
15133
15172
  },
15134
- add_css,
15135
- [-1, -1]
15173
+ add_css
15136
15174
  );
15137
15175
  }
15138
15176
  }
15139
15177
 
15140
- export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_ROUND, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANTS, BackgroundSizes, Box, COMPONENT_PARAMETER_TYPES, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, Avatar as FlexAvatar, Button as FlexButton, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Text as FlexText, TextButton as FlexTextButton, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ICON_PARAMS, ICON_SIZE, ICON_VARIANTS, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_ALIGN_VALUES, LAYER_TEXT_FONT_WEIGHT_VALUES, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_BUTTON_COLOR, TEXT_BUTTON_ICON_ANGLE, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ROUND, TEXT_BUTTON_SIZE, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
15178
+ export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_ROUND, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANTS, BackgroundSizes, Box, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, COMPONENT_PARAMETER_TYPES, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, Avatar as FlexAvatar, Button as FlexButton, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Text as FlexText, TextButton as FlexTextButton, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ICON_PARAMS, ICON_SIZE, ICON_VARIANTS, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_ALIGN_VALUES, LAYER_TEXT_FONT_WEIGHT_VALUES, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_BUTTON_COLOR, TEXT_BUTTON_ICON_ANGLE, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ROUND, TEXT_BUTTON_SIZE, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };