@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.
@@ -2832,7 +2832,7 @@ const LAYOUT_COMPONENT_NAMES = [
2832
2832
 
2833
2833
  /* src/components/Header.svelte generated by Svelte v3.53.1 */
2834
2834
 
2835
- function create_if_block$e(ctx) {
2835
+ function create_if_block$f(ctx) {
2836
2836
  let link;
2837
2837
 
2838
2838
  return {
@@ -2865,7 +2865,7 @@ function create_if_block$e(ctx) {
2865
2865
 
2866
2866
  function create_fragment$1a(ctx) {
2867
2867
  let head;
2868
- let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$e(ctx);
2868
+ let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$f(ctx);
2869
2869
 
2870
2870
  return {
2871
2871
  c() {
@@ -2887,7 +2887,7 @@ function create_fragment$1a(ctx) {
2887
2887
  if (if_block) {
2888
2888
  if_block.p(ctx, dirty);
2889
2889
  } else {
2890
- if_block = create_if_block$e(ctx);
2890
+ if_block = create_if_block$f(ctx);
2891
2891
  if_block.c();
2892
2892
  if_block.m(head, null);
2893
2893
  }
@@ -3029,7 +3029,7 @@ function add_css$F(target) {
3029
3029
  }
3030
3030
 
3031
3031
  // (23:0) {#if $state === path}
3032
- function create_if_block$d(ctx) {
3032
+ function create_if_block$e(ctx) {
3033
3033
  let div;
3034
3034
  let t;
3035
3035
  let current;
@@ -3104,7 +3104,7 @@ function create_if_block$d(ctx) {
3104
3104
  function create_fragment$18(ctx) {
3105
3105
  let if_block_anchor;
3106
3106
  let current;
3107
- let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$d(ctx);
3107
+ let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$e(ctx);
3108
3108
 
3109
3109
  return {
3110
3110
  c() {
@@ -3129,7 +3129,7 @@ function create_fragment$18(ctx) {
3129
3129
  transition_in(if_block, 1);
3130
3130
  }
3131
3131
  } else {
3132
- if_block = create_if_block$d(ctx);
3132
+ if_block = create_if_block$e(ctx);
3133
3133
  if_block.c();
3134
3134
  transition_in(if_block, 1);
3135
3135
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -3323,7 +3323,7 @@ function add_css$E(target) {
3323
3323
  }
3324
3324
 
3325
3325
  // (14:0) {#if backgroundOverlay}
3326
- function create_if_block$c(ctx) {
3326
+ function create_if_block$d(ctx) {
3327
3327
  let div;
3328
3328
  let div_class_value;
3329
3329
  let mounted;
@@ -3365,7 +3365,7 @@ function create_if_block$c(ctx) {
3365
3365
 
3366
3366
  function create_fragment$17(ctx) {
3367
3367
  let if_block_anchor;
3368
- let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$c(ctx);
3368
+ let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$d(ctx);
3369
3369
 
3370
3370
  return {
3371
3371
  c() {
@@ -3385,7 +3385,7 @@ function create_fragment$17(ctx) {
3385
3385
  if (if_block) {
3386
3386
  if_block.p(ctx, dirty);
3387
3387
  } else {
3388
- if_block = create_if_block$c(ctx);
3388
+ if_block = create_if_block$d(ctx);
3389
3389
  if_block.c();
3390
3390
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
3391
3391
  }
@@ -3743,7 +3743,7 @@ function create_if_block_1$3(ctx) {
3743
3743
  }
3744
3744
 
3745
3745
  // (31:0) {#if disabled}
3746
- function create_if_block$b(ctx) {
3746
+ function create_if_block$c(ctx) {
3747
3747
  let div;
3748
3748
  let current;
3749
3749
  const default_slot_template = /*#slots*/ ctx[9].default;
@@ -3816,7 +3816,7 @@ function create_fragment$16(ctx) {
3816
3816
  let if_block;
3817
3817
  let if_block_anchor;
3818
3818
  let current;
3819
- const if_block_creators = [create_if_block$b, create_if_block_1$3, create_if_block_2$2, create_else_block$5];
3819
+ const if_block_creators = [create_if_block$c, create_if_block_1$3, create_if_block_2$2, create_else_block$5];
3820
3820
  const if_blocks = [];
3821
3821
 
3822
3822
  function select_block_type(ctx, dirty) {
@@ -4022,7 +4022,7 @@ function create_else_block$4(ctx) {
4022
4022
  }
4023
4023
 
4024
4024
  // (266:24)
4025
- function create_if_block_3$1(ctx) {
4025
+ function create_if_block_3(ctx) {
4026
4026
  let backgroundoverlay0;
4027
4027
  let t;
4028
4028
  let backgroundoverlay1;
@@ -4109,7 +4109,7 @@ function create_if_block_2$1(ctx) {
4109
4109
  }
4110
4110
 
4111
4111
  // (280:0) {#if visible}
4112
- function create_if_block$a(ctx) {
4112
+ function create_if_block$b(ctx) {
4113
4113
  let div;
4114
4114
  let button;
4115
4115
  let div_class_value;
@@ -4445,7 +4445,7 @@ function create_fragment$15(ctx) {
4445
4445
  let current;
4446
4446
  let mounted;
4447
4447
  let dispose;
4448
- const if_block_creators = [create_if_block_2$1, create_if_block_3$1, create_else_block$4];
4448
+ const if_block_creators = [create_if_block_2$1, create_if_block_3, create_else_block$4];
4449
4449
  const if_blocks = [];
4450
4450
 
4451
4451
  function select_block_type(ctx, dirty) {
@@ -4457,7 +4457,7 @@ function create_fragment$15(ctx) {
4457
4457
 
4458
4458
  current_block_type_index = select_block_type(ctx);
4459
4459
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
4460
- let if_block1 = /*visible*/ ctx[16] && create_if_block$a(ctx);
4460
+ let if_block1 = /*visible*/ ctx[16] && create_if_block$b(ctx);
4461
4461
 
4462
4462
  return {
4463
4463
  c() {
@@ -4523,7 +4523,7 @@ function create_fragment$15(ctx) {
4523
4523
  transition_in(if_block1, 1);
4524
4524
  }
4525
4525
  } else {
4526
- if_block1 = create_if_block$a(ctx);
4526
+ if_block1 = create_if_block$b(ctx);
4527
4527
  if_block1.c();
4528
4528
  transition_in(if_block1, 1);
4529
4529
  if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
@@ -5191,7 +5191,7 @@ function create_else_block$3(ctx) {
5191
5191
  }
5192
5192
 
5193
5193
  // (11:2) {#if item.match(regexp)}
5194
- function create_if_block$9(ctx) {
5194
+ function create_if_block$a(ctx) {
5195
5195
  let br;
5196
5196
 
5197
5197
  return {
@@ -5219,7 +5219,7 @@ function create_each_block$6(ctx) {
5219
5219
  function select_block_type(ctx, dirty) {
5220
5220
  if (dirty & /*items*/ 1) show_if = null;
5221
5221
  if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
5222
- if (show_if) return create_if_block$9;
5222
+ if (show_if) return create_if_block$a;
5223
5223
  return create_else_block$3;
5224
5224
  }
5225
5225
 
@@ -5423,7 +5423,7 @@ function create_else_block$2(ctx) {
5423
5423
  }
5424
5424
 
5425
5425
  // (80:2) {#if enableCopy}
5426
- function create_if_block$8(ctx) {
5426
+ function create_if_block$9(ctx) {
5427
5427
  let a;
5428
5428
  let div0;
5429
5429
  let rendertext;
@@ -5541,7 +5541,7 @@ function create_fragment$11(ctx) {
5541
5541
  let current_block_type_index;
5542
5542
  let if_block;
5543
5543
  let current;
5544
- const if_block_creators = [create_if_block$8, create_else_block$2];
5544
+ const if_block_creators = [create_if_block$9, create_else_block$2];
5545
5545
  const if_blocks = [];
5546
5546
 
5547
5547
  function select_block_type(ctx, dirty) {
@@ -7616,7 +7616,7 @@ function create_else_block$1(ctx) {
7616
7616
  }
7617
7617
 
7618
7618
  // (105:10) {#if option}
7619
- function create_if_block$7(ctx) {
7619
+ function create_if_block$8(ctx) {
7620
7620
  let t_value = /*option*/ ctx[19] + "";
7621
7621
  let t;
7622
7622
 
@@ -7647,7 +7647,7 @@ function create_each_block$4(ctx) {
7647
7647
  let option_selected_value;
7648
7648
 
7649
7649
  function select_block_type(ctx, dirty) {
7650
- if (/*option*/ ctx[19]) return create_if_block$7;
7650
+ if (/*option*/ ctx[19]) return create_if_block$8;
7651
7651
  return create_else_block$1;
7652
7652
  }
7653
7653
 
@@ -9307,7 +9307,7 @@ function create_if_block_1$1(ctx) {
9307
9307
  }
9308
9308
 
9309
9309
  // (380:2) {#if isVisibleNextButton}
9310
- function create_if_block$6(ctx) {
9310
+ function create_if_block$7(ctx) {
9311
9311
  let div;
9312
9312
  let button;
9313
9313
  let svg;
@@ -9451,7 +9451,7 @@ function create_fragment$N(ctx) {
9451
9451
  const default_slot_template = /*#slots*/ ctx[32].default;
9452
9452
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[31], null);
9453
9453
  let if_block0 = /*isVisiblePrevButton*/ ctx[12] && create_if_block_1$1(ctx);
9454
- let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$6(ctx);
9454
+ let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$7(ctx);
9455
9455
  let each_value = /*items*/ ctx[1];
9456
9456
  let each_blocks = [];
9457
9457
 
@@ -9590,7 +9590,7 @@ function create_fragment$N(ctx) {
9590
9590
  if (if_block1) {
9591
9591
  if_block1.p(ctx, dirty);
9592
9592
  } else {
9593
- if_block1 = create_if_block$6(ctx);
9593
+ if_block1 = create_if_block$7(ctx);
9594
9594
  if_block1.c();
9595
9595
  if_block1.m(div3, t2);
9596
9596
  }
@@ -10606,7 +10606,7 @@ function add_css$g(target) {
10606
10606
  }
10607
10607
 
10608
10608
  // (56:4) {#if svg}
10609
- function create_if_block$5(ctx) {
10609
+ function create_if_block$6(ctx) {
10610
10610
  let html_tag;
10611
10611
  let html_anchor;
10612
10612
 
@@ -10641,7 +10641,7 @@ function create_if_block$5(ctx) {
10641
10641
  // (55:2) <Button {onClick} {style} {eventName}>
10642
10642
  function create_default_slot$1(ctx) {
10643
10643
  let if_block_anchor;
10644
- let if_block = /*svg*/ ctx[3] && create_if_block$5(ctx);
10644
+ let if_block = /*svg*/ ctx[3] && create_if_block$6(ctx);
10645
10645
 
10646
10646
  return {
10647
10647
  c() {
@@ -10661,7 +10661,7 @@ function create_default_slot$1(ctx) {
10661
10661
  if (if_block) {
10662
10662
  if_block.p(ctx, dirty);
10663
10663
  } else {
10664
- if_block = create_if_block$5(ctx);
10664
+ if_block = create_if_block$6(ctx);
10665
10665
  if_block.c();
10666
10666
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
10667
10667
  }
@@ -13976,7 +13976,7 @@ function add_css$8(target) {
13976
13976
  }
13977
13977
 
13978
13978
  // (20:0) {#if (IconComponent)}
13979
- function create_if_block$4(ctx) {
13979
+ function create_if_block$5(ctx) {
13980
13980
  let div;
13981
13981
  let switch_instance;
13982
13982
  let current;
@@ -14075,7 +14075,7 @@ function create_if_block$4(ctx) {
14075
14075
  function create_fragment$8(ctx) {
14076
14076
  let if_block_anchor;
14077
14077
  let current;
14078
- let if_block = /*IconComponent*/ ctx[2] && create_if_block$4(ctx);
14078
+ let if_block = /*IconComponent*/ ctx[2] && create_if_block$5(ctx);
14079
14079
 
14080
14080
  return {
14081
14081
  c() {
@@ -14100,7 +14100,7 @@ function create_fragment$8(ctx) {
14100
14100
  transition_in(if_block, 1);
14101
14101
  }
14102
14102
  } else {
14103
- if_block = create_if_block$4(ctx);
14103
+ if_block = create_if_block$5(ctx);
14104
14104
  if_block.c();
14105
14105
  transition_in(if_block, 1);
14106
14106
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -14272,7 +14272,7 @@ function add_css$7(target) {
14272
14272
  }
14273
14273
 
14274
14274
  // (47:2) {#if (props.isIcon && props.iconVariant)}
14275
- function create_if_block$3(ctx) {
14275
+ function create_if_block$4(ctx) {
14276
14276
  let div;
14277
14277
  let icon;
14278
14278
  let current;
@@ -14342,7 +14342,7 @@ function create_fragment$7(ctx) {
14342
14342
  let current;
14343
14343
  let mounted;
14344
14344
  let dispose;
14345
- let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$3(ctx);
14345
+ let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$4(ctx);
14346
14346
 
14347
14347
  return {
14348
14348
  c() {
@@ -14397,7 +14397,7 @@ function create_fragment$7(ctx) {
14397
14397
  transition_in(if_block, 1);
14398
14398
  }
14399
14399
  } else {
14400
- if_block = create_if_block$3(ctx);
14400
+ if_block = create_if_block$4(ctx);
14401
14401
  if_block.c();
14402
14402
  transition_in(if_block, 1);
14403
14403
  if_block.m(button, t0);
@@ -14554,7 +14554,7 @@ function add_css$6(target) {
14554
14554
  }
14555
14555
 
14556
14556
  // (103:4) {#if props.isIcon && props.iconVariant}
14557
- function create_if_block$2(ctx) {
14557
+ function create_if_block$3(ctx) {
14558
14558
  let div;
14559
14559
  let icon;
14560
14560
  let current;
@@ -14624,7 +14624,7 @@ function create_fragment$6(ctx) {
14624
14624
  let current;
14625
14625
  let mounted;
14626
14626
  let dispose;
14627
- let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$2(ctx);
14627
+ let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$3(ctx);
14628
14628
 
14629
14629
  return {
14630
14630
  c() {
@@ -14679,7 +14679,7 @@ function create_fragment$6(ctx) {
14679
14679
  transition_in(if_block, 1);
14680
14680
  }
14681
14681
  } else {
14682
- if_block = create_if_block$2(ctx);
14682
+ if_block = create_if_block$3(ctx);
14683
14683
  if_block.c();
14684
14684
  transition_in(if_block, 1);
14685
14685
  if_block.m(button, t0);
@@ -14873,22 +14873,86 @@ const TEXT_BUTTON_ICON_ANGLE = {
14873
14873
  'row-reverse': '右側',
14874
14874
  };
14875
14875
 
14876
+ const CLOSE_BUTTON_PLACEMENT = {
14877
+ topRight: 'topRight',
14878
+ topLeft: 'topLeft',
14879
+ bottomRight: 'bottomRight',
14880
+ bottomLeft: 'bottomLeft',
14881
+ };
14882
+ const CLOSE_BUTTON_ROUND = {
14883
+ default: 'デフォルト',
14884
+ none: 'なし',
14885
+ fulled: '円形',
14886
+ };
14887
+ const CLOSE_BUTTON_LABEL_PLACEMENT = {
14888
+ right: 'right',
14889
+ left: 'left',
14890
+ };
14891
+
14876
14892
  /* src/components-flex/close-button/CloseButton.svelte generated by Svelte v3.53.1 */
14877
14893
 
14878
14894
  function add_css$5(target) {
14879
- 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}");
14895
+ 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')}");
14896
+ }
14897
+
14898
+ // (99:4) {#if hasLabel}
14899
+ function create_if_block$2(ctx) {
14900
+ let span;
14901
+ let t;
14902
+
14903
+ return {
14904
+ c() {
14905
+ span = element("span");
14906
+ t = text(/*label*/ ctx[7]);
14907
+ this.h();
14908
+ },
14909
+ l(nodes) {
14910
+ span = claim_element(nodes, "SPAN", { style: true, class: true });
14911
+ var span_nodes = children(span);
14912
+ t = claim_text(span_nodes, /*label*/ ctx[7]);
14913
+ span_nodes.forEach(detach);
14914
+ this.h();
14915
+ },
14916
+ h() {
14917
+ attr(span, "style", /*labelCssVariable*/ ctx[2]);
14918
+
14919
+ attr(span, "class", "close-button-label " + (/*isLeftLabelPlacement*/ ctx[8]
14920
+ ? 'close-button-order-one'
14921
+ : '') + " svelte-1l8m1e9");
14922
+ },
14923
+ m(target, anchor) {
14924
+ insert_hydration(target, span, anchor);
14925
+ append_hydration(span, t);
14926
+ },
14927
+ p(ctx, dirty) {
14928
+ if (dirty & /*labelCssVariable*/ 4) {
14929
+ attr(span, "style", /*labelCssVariable*/ ctx[2]);
14930
+ }
14931
+ },
14932
+ d(detaching) {
14933
+ if (detaching) detach(span);
14934
+ }
14935
+ };
14880
14936
  }
14881
14937
 
14882
14938
  function create_fragment$5(ctx) {
14939
+ let div1;
14940
+ let div0;
14883
14941
  let button;
14884
14942
  let svg;
14885
14943
  let path;
14944
+ let button_class_value;
14945
+ let t;
14886
14946
  let mounted;
14887
14947
  let dispose;
14888
14948
 
14889
14949
  let button_levels = [
14890
14950
  { "data-layer-id": /*layerId*/ ctx[0] },
14891
- { class: "close-button" },
14951
+ {
14952
+ class: button_class_value = "close-button " + (/*isLeftLabelPlacement*/ ctx[8]
14953
+ ? 'close-button-order-two'
14954
+ : '')
14955
+ },
14892
14956
  { style: /*style*/ ctx[1] },
14893
14957
  dataAttrStopPropagation('click')
14894
14958
  ];
@@ -14899,15 +14963,26 @@ function create_fragment$5(ctx) {
14899
14963
  button_data = assign(button_data, button_levels[i]);
14900
14964
  }
14901
14965
 
14966
+ let if_block = /*hasLabel*/ ctx[4] && create_if_block$2(ctx);
14967
+
14902
14968
  return {
14903
14969
  c() {
14970
+ div1 = element("div");
14971
+ div0 = element("div");
14904
14972
  button = element("button");
14905
14973
  svg = svg_element("svg");
14906
14974
  path = svg_element("path");
14975
+ t = space();
14976
+ if (if_block) if_block.c();
14907
14977
  this.h();
14908
14978
  },
14909
14979
  l(nodes) {
14910
- button = claim_element(nodes, "BUTTON", {
14980
+ div1 = claim_element(nodes, "DIV", { class: true, style: true });
14981
+ var div1_nodes = children(div1);
14982
+ div0 = claim_element(div1_nodes, "DIV", { class: true });
14983
+ var div0_nodes = children(div0);
14984
+
14985
+ button = claim_element(div0_nodes, "BUTTON", {
14911
14986
  "data-layer-id": true,
14912
14987
  class: true,
14913
14988
  style: true
@@ -14927,6 +15002,10 @@ function create_fragment$5(ctx) {
14927
15002
  children(path).forEach(detach);
14928
15003
  svg_nodes.forEach(detach);
14929
15004
  button_nodes.forEach(detach);
15005
+ t = claim_space(div0_nodes);
15006
+ if (if_block) if_block.l(div0_nodes);
15007
+ div0_nodes.forEach(detach);
15008
+ div1_nodes.forEach(detach);
14930
15009
  this.h();
14931
15010
  },
14932
15011
  h() {
@@ -14935,35 +15014,60 @@ function create_fragment$5(ctx) {
14935
15014
  set_style(svg, "width", "75%");
14936
15015
  set_style(svg, "height", "75%");
14937
15016
  attr(svg, "viewBox", "0 0 50 50");
14938
- attr(svg, "fill", "#666666");
15017
+ attr(svg, "fill", /*color*/ ctx[6]);
14939
15018
  set_attributes(button, button_data);
14940
- toggle_class(button, "svelte-13071ty", true);
15019
+ toggle_class(button, "svelte-1l8m1e9", true);
15020
+ attr(div0, "class", "close-button-row svelte-1l8m1e9");
15021
+ attr(div1, "class", "close svelte-1l8m1e9");
15022
+ attr(div1, "style", /*rootStyle*/ ctx[3]);
14941
15023
  },
14942
15024
  m(target, anchor) {
14943
- insert_hydration(target, button, anchor);
15025
+ insert_hydration(target, div1, anchor);
15026
+ append_hydration(div1, div0);
15027
+ append_hydration(div0, button);
14944
15028
  append_hydration(button, svg);
14945
15029
  append_hydration(svg, path);
14946
15030
  if (button.autofocus) button.focus();
15031
+ append_hydration(div0, t);
15032
+ if (if_block) if_block.m(div0, null);
14947
15033
 
14948
15034
  if (!mounted) {
14949
- dispose = listen(button, "click", prevent_default(checkStopPropagation('click', /*handleClick*/ ctx[2])));
15035
+ dispose = listen(button, "click", prevent_default(checkStopPropagation('click', /*handleClick*/ ctx[5])));
14950
15036
  mounted = true;
14951
15037
  }
14952
15038
  },
14953
15039
  p(ctx, [dirty]) {
14954
15040
  set_attributes(button, button_data = get_spread_update(button_levels, [
14955
15041
  dirty & /*layerId*/ 1 && { "data-layer-id": /*layerId*/ ctx[0] },
14956
- { class: "close-button" },
15042
+ { class: button_class_value },
14957
15043
  dirty & /*style*/ 2 && { style: /*style*/ ctx[1] },
14958
15044
  dataAttrStopPropagation('click')
14959
15045
  ]));
14960
15046
 
14961
- toggle_class(button, "svelte-13071ty", true);
15047
+ toggle_class(button, "svelte-1l8m1e9", true);
15048
+
15049
+ if (/*hasLabel*/ ctx[4]) {
15050
+ if (if_block) {
15051
+ if_block.p(ctx, dirty);
15052
+ } else {
15053
+ if_block = create_if_block$2(ctx);
15054
+ if_block.c();
15055
+ if_block.m(div0, null);
15056
+ }
15057
+ } else if (if_block) {
15058
+ if_block.d(1);
15059
+ if_block = null;
15060
+ }
15061
+
15062
+ if (dirty & /*rootStyle*/ 8) {
15063
+ attr(div1, "style", /*rootStyle*/ ctx[3]);
15064
+ }
14962
15065
  },
14963
15066
  i: noop,
14964
15067
  o: noop,
14965
15068
  d(detaching) {
14966
- if (detaching) detach(button);
15069
+ if (detaching) detach(div1);
15070
+ if (if_block) if_block.d();
14967
15071
  mounted = false;
14968
15072
  dispose();
14969
15073
  }
@@ -14971,14 +15075,34 @@ function create_fragment$5(ctx) {
14971
15075
  }
14972
15076
 
14973
15077
  function instance$5($$self, $$props, $$invalidate) {
15078
+ let hasLabel;
15079
+ let rootStyle;
15080
+ let labelCssVariable;
14974
15081
  let style;
14975
- let { onClick = { operation: 'closeApp', args: ['button'] } } = $$props;
15082
+ let $maximumZindex;
15083
+ component_subscribe($$self, maximumZindex, $$value => $$invalidate(12, $maximumZindex = $$value));
14976
15084
  let { props = {} } = $$props;
14977
15085
  let { layerId = '' } = $$props;
14978
15086
  let { eventName = '' } = $$props;
14979
15087
  let { eventValue = undefined } = $$props;
14980
15088
 
15089
+ const VARIANTS = {
15090
+ placement: {
15091
+ topRight: { top: '8px', right: '8px' },
15092
+ topLeft: { top: '8px', left: '8px' },
15093
+ bottomRight: { bottom: '8px', right: '8px' },
15094
+ bottomLeft: { bottom: '8px', left: '8px' }
15095
+ },
15096
+ round: {
15097
+ none: { borderRadius: 0 },
15098
+ default: {},
15099
+ fulled: { borderRadius: '56px' }
15100
+ }
15101
+ };
15102
+
14981
15103
  function handleClick() {
15104
+ const onClick = { operation: 'closeApp', args: ['button'] };
15105
+
14982
15106
  if (eventName) {
14983
15107
  send_event(eventName, eventValue);
14984
15108
  }
@@ -14987,27 +15111,64 @@ function instance$5($$self, $$props, $$invalidate) {
14987
15111
  }
14988
15112
 
14989
15113
  const size = props.size ?? 24;
15114
+ const color = props.color ?? '#666';
15115
+ const label = props.label;
15116
+ const isLeftLabelPlacement = props.labelPlacement === 'left';
15117
+
15118
+ const getCssPlacement = () => {
15119
+ return {
15120
+ top: props.top ?? VARIANTS.placement[props.placement ?? 'topRight'].top,
15121
+ right: props.right ?? VARIANTS.placement[props.placement ?? 'topRight'].right,
15122
+ left: props.left ?? VARIANTS.placement[props.placement ?? 'topRight'].left,
15123
+ bottom: props.bottom ?? VARIANTS.placement[props.placement ?? 'topRight'].bottom
15124
+ };
15125
+ };
14990
15126
 
14991
15127
  $$self.$$set = $$props => {
14992
- if ('onClick' in $$props) $$invalidate(3, onClick = $$props.onClick);
14993
- if ('props' in $$props) $$invalidate(4, props = $$props.props);
15128
+ if ('props' in $$props) $$invalidate(9, props = $$props.props);
14994
15129
  if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
14995
- if ('eventName' in $$props) $$invalidate(5, eventName = $$props.eventName);
14996
- if ('eventValue' in $$props) $$invalidate(6, eventValue = $$props.eventValue);
15130
+ if ('eventName' in $$props) $$invalidate(10, eventName = $$props.eventName);
15131
+ if ('eventValue' in $$props) $$invalidate(11, eventValue = $$props.eventValue);
14997
15132
  };
14998
15133
 
14999
15134
  $$self.$$.update = () => {
15000
- if ($$self.$$.dirty & /*props*/ 16) {
15135
+ if ($$self.$$.dirty & /*$maximumZindex*/ 4096) {
15136
+ $$invalidate(3, rootStyle = objToStyle({
15137
+ ...getCssPlacement(),
15138
+ zIndex: $maximumZindex + 1
15139
+ }));
15140
+ }
15141
+
15142
+ if ($$self.$$.dirty & /*props*/ 512) {
15001
15143
  $$invalidate(1, style = objToStyle({
15002
15144
  width: `${size}px`,
15003
15145
  height: `${size}px`,
15004
15146
  ...props.bordered && { border: '1px solid #666' },
15147
+ backgroundColor: props.backgroundColor ?? 'transparent',
15148
+ ...VARIANTS.round[props.round ?? 'default'],
15005
15149
  ...toCssCommon(props)
15006
15150
  }));
15007
15151
  }
15008
15152
  };
15009
15153
 
15010
- return [layerId, style, handleClick, onClick, props, eventName, eventValue];
15154
+ $$invalidate(4, hasLabel = label !== undefined && label !== '');
15155
+ $$invalidate(2, labelCssVariable = '--close-button-label-color: {props.labelColor}');
15156
+
15157
+ return [
15158
+ layerId,
15159
+ style,
15160
+ labelCssVariable,
15161
+ rootStyle,
15162
+ hasLabel,
15163
+ handleClick,
15164
+ color,
15165
+ label,
15166
+ isLeftLabelPlacement,
15167
+ props,
15168
+ eventName,
15169
+ eventValue,
15170
+ $maximumZindex
15171
+ ];
15011
15172
  }
15012
15173
 
15013
15174
  class CloseButton extends SvelteComponent {
@@ -15021,11 +15182,10 @@ class CloseButton extends SvelteComponent {
15021
15182
  create_fragment$5,
15022
15183
  safe_not_equal,
15023
15184
  {
15024
- onClick: 3,
15025
- props: 4,
15185
+ props: 9,
15026
15186
  layerId: 0,
15027
- eventName: 5,
15028
- eventValue: 6
15187
+ eventName: 10,
15188
+ eventValue: 11
15029
15189
  },
15030
15190
  add_css$5
15031
15191
  );
@@ -15556,22 +15716,22 @@ class BackgroundOverlay extends SvelteComponent {
15556
15716
  /* src/components-flex/modal/Modal.svelte generated by Svelte v3.53.1 */
15557
15717
 
15558
15718
  function add_css(target) {
15559
- 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}}");
15719
+ 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}}");
15560
15720
  }
15561
15721
 
15562
- // (264:0) {:else}
15722
+ // (253:0) {:else}
15563
15723
  function create_else_block(ctx) {
15564
15724
  let backgroundoverlay;
15565
15725
  let current;
15566
15726
 
15567
15727
  backgroundoverlay = new BackgroundOverlay({
15568
15728
  props: {
15569
- backgroundOverlay: /*backgroundOverlay*/ ctx[7]
15729
+ backgroundOverlay: /*backgroundOverlay*/ ctx[3]
15570
15730
  }
15571
15731
  });
15572
15732
 
15573
15733
  backgroundoverlay.$on("click", function () {
15574
- if (is_function(/*backgroundClick*/ ctx[15])) /*backgroundClick*/ ctx[15].apply(this, arguments);
15734
+ if (is_function(/*backgroundClick*/ ctx[11])) /*backgroundClick*/ ctx[11].apply(this, arguments);
15575
15735
  });
15576
15736
 
15577
15737
  return {
@@ -15588,7 +15748,7 @@ function create_else_block(ctx) {
15588
15748
  p(new_ctx, dirty) {
15589
15749
  ctx = new_ctx;
15590
15750
  const backgroundoverlay_changes = {};
15591
- if (dirty[0] & /*backgroundOverlay*/ 128) backgroundoverlay_changes.backgroundOverlay = /*backgroundOverlay*/ ctx[7];
15751
+ if (dirty & /*backgroundOverlay*/ 8) backgroundoverlay_changes.backgroundOverlay = /*backgroundOverlay*/ ctx[3];
15592
15752
  backgroundoverlay.$set(backgroundoverlay_changes);
15593
15753
  },
15594
15754
  i(local) {
@@ -15606,8 +15766,8 @@ function create_else_block(ctx) {
15606
15766
  };
15607
15767
  }
15608
15768
 
15609
- // (253:24)
15610
- function create_if_block_3(ctx) {
15769
+ // (242:24)
15770
+ function create_if_block_2(ctx) {
15611
15771
  let backgroundoverlay0;
15612
15772
  let t;
15613
15773
  let backgroundoverlay1;
@@ -15616,23 +15776,23 @@ function create_if_block_3(ctx) {
15616
15776
  backgroundoverlay0 = new BackgroundOverlay({
15617
15777
  props: {
15618
15778
  class: "background-bp-pc",
15619
- backgroundOverlay: /*backgroundOverlayPC*/ ctx[8]
15779
+ backgroundOverlay: /*backgroundOverlayPC*/ ctx[4]
15620
15780
  }
15621
15781
  });
15622
15782
 
15623
15783
  backgroundoverlay0.$on("click", function () {
15624
- if (is_function(/*backgroundClickPC*/ ctx[14])) /*backgroundClickPC*/ ctx[14].apply(this, arguments);
15784
+ if (is_function(/*backgroundClickPC*/ ctx[10])) /*backgroundClickPC*/ ctx[10].apply(this, arguments);
15625
15785
  });
15626
15786
 
15627
15787
  backgroundoverlay1 = new BackgroundOverlay({
15628
15788
  props: {
15629
15789
  class: "background-bp-sp ",
15630
- backgroundOverlay: /*backgroundOverlaySP*/ ctx[9]
15790
+ backgroundOverlay: /*backgroundOverlaySP*/ ctx[5]
15631
15791
  }
15632
15792
  });
15633
15793
 
15634
15794
  backgroundoverlay1.$on("click", function () {
15635
- if (is_function(/*backgroundClickSP*/ ctx[13])) /*backgroundClickSP*/ ctx[13].apply(this, arguments);
15795
+ if (is_function(/*backgroundClickSP*/ ctx[9])) /*backgroundClickSP*/ ctx[9].apply(this, arguments);
15636
15796
  });
15637
15797
 
15638
15798
  return {
@@ -15655,10 +15815,10 @@ function create_if_block_3(ctx) {
15655
15815
  p(new_ctx, dirty) {
15656
15816
  ctx = new_ctx;
15657
15817
  const backgroundoverlay0_changes = {};
15658
- if (dirty[0] & /*backgroundOverlayPC*/ 256) backgroundoverlay0_changes.backgroundOverlay = /*backgroundOverlayPC*/ ctx[8];
15818
+ if (dirty & /*backgroundOverlayPC*/ 16) backgroundoverlay0_changes.backgroundOverlay = /*backgroundOverlayPC*/ ctx[4];
15659
15819
  backgroundoverlay0.$set(backgroundoverlay0_changes);
15660
15820
  const backgroundoverlay1_changes = {};
15661
- if (dirty[0] & /*backgroundOverlaySP*/ 512) backgroundoverlay1_changes.backgroundOverlay = /*backgroundOverlaySP*/ ctx[9];
15821
+ if (dirty & /*backgroundOverlaySP*/ 32) backgroundoverlay1_changes.backgroundOverlay = /*backgroundOverlaySP*/ ctx[5];
15662
15822
  backgroundoverlay1.$set(backgroundoverlay1_changes);
15663
15823
  },
15664
15824
  i(local) {
@@ -15680,8 +15840,8 @@ function create_if_block_3(ctx) {
15680
15840
  };
15681
15841
  }
15682
15842
 
15683
- // (251:0) {#if isPreview()}
15684
- function create_if_block_2(ctx) {
15843
+ // (240:0) {#if isPreview()}
15844
+ function create_if_block_1(ctx) {
15685
15845
  return {
15686
15846
  c: noop,
15687
15847
  l: noop,
@@ -15693,22 +15853,18 @@ function create_if_block_2(ctx) {
15693
15853
  };
15694
15854
  }
15695
15855
 
15696
- // (267:0) {#if visible}
15856
+ // (256:0) {#if visible}
15697
15857
  function create_if_block(ctx) {
15698
15858
  let div;
15699
- let t;
15700
15859
  let div_class_value;
15701
15860
  let div_intro;
15702
15861
  let current;
15703
- let if_block = /*closable*/ ctx[16] && create_if_block_1(ctx);
15704
- const default_slot_template = /*#slots*/ ctx[30].default;
15705
- const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[29], null);
15862
+ const default_slot_template = /*#slots*/ ctx[26].default;
15863
+ const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);
15706
15864
 
15707
15865
  return {
15708
15866
  c() {
15709
15867
  div = element("div");
15710
- if (if_block) if_block.c();
15711
- t = space();
15712
15868
  if (default_slot) default_slot.c();
15713
15869
  this.h();
15714
15870
  },
@@ -15721,84 +15877,56 @@ function create_if_block(ctx) {
15721
15877
  });
15722
15878
 
15723
15879
  var div_nodes = children(div);
15724
- if (if_block) if_block.l(div_nodes);
15725
- t = claim_space(div_nodes);
15726
15880
  if (default_slot) default_slot.l(div_nodes);
15727
15881
  div_nodes.forEach(detach);
15728
15882
  this.h();
15729
15883
  },
15730
15884
  h() {
15731
- attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-1ks2ecq"));
15885
+ attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-5997yi"));
15732
15886
  attr(div, "role", "dialog");
15733
15887
  attr(div, "aria-modal", "true");
15734
- attr(div, "style", Array.from(/*modalStyles*/ ctx[18]).join(';'));
15888
+ attr(div, "style", Array.from(/*modalStyles*/ ctx[12]).join(';'));
15735
15889
  },
15736
15890
  m(target, anchor) {
15737
15891
  insert_hydration(target, div, anchor);
15738
- if (if_block) if_block.m(div, null);
15739
- append_hydration(div, t);
15740
15892
 
15741
15893
  if (default_slot) {
15742
15894
  default_slot.m(div, null);
15743
15895
  }
15744
15896
 
15745
- /*div_binding*/ ctx[31](div);
15897
+ /*div_binding*/ ctx[27](div);
15746
15898
  current = true;
15747
15899
  },
15748
15900
  p(new_ctx, dirty) {
15749
15901
  ctx = new_ctx;
15750
15902
 
15751
- if (/*closable*/ ctx[16]) {
15752
- if (if_block) {
15753
- if_block.p(ctx, dirty);
15754
-
15755
- if (dirty[0] & /*closable*/ 65536) {
15756
- transition_in(if_block, 1);
15757
- }
15758
- } else {
15759
- if_block = create_if_block_1(ctx);
15760
- if_block.c();
15761
- transition_in(if_block, 1);
15762
- if_block.m(div, t);
15763
- }
15764
- } else if (if_block) {
15765
- group_outros();
15766
-
15767
- transition_out(if_block, 1, 1, () => {
15768
- if_block = null;
15769
- });
15770
-
15771
- check_outros();
15772
- }
15773
-
15774
15903
  if (default_slot) {
15775
- if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 536870912)) {
15904
+ if (default_slot.p && (!current || dirty & /*$$scope*/ 33554432)) {
15776
15905
  update_slot_base(
15777
15906
  default_slot,
15778
15907
  default_slot_template,
15779
15908
  ctx,
15780
- /*$$scope*/ ctx[29],
15909
+ /*$$scope*/ ctx[25],
15781
15910
  !current
15782
- ? get_all_dirty_from_scope(/*$$scope*/ ctx[29])
15783
- : get_slot_changes(default_slot_template, /*$$scope*/ ctx[29], dirty, null),
15911
+ ? get_all_dirty_from_scope(/*$$scope*/ ctx[25])
15912
+ : get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),
15784
15913
  null
15785
15914
  );
15786
15915
  }
15787
15916
  }
15788
15917
 
15789
- if (!current || dirty[0] & /*useBreakPoint*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-1ks2ecq"))) {
15918
+ if (!current || dirty & /*useBreakPoint*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-5997yi"))) {
15790
15919
  attr(div, "class", div_class_value);
15791
15920
  }
15792
15921
  },
15793
15922
  i(local) {
15794
15923
  if (current) return;
15795
- transition_in(if_block);
15796
15924
  transition_in(default_slot, local);
15797
15925
 
15798
15926
  if (!div_intro) {
15799
15927
  add_render_callback(() => {
15800
15928
  div_intro = create_in_transition(div, customAnimation, {
15801
- transforms: /*transforms*/ ctx[6],
15929
+ transforms: /*transforms*/ ctx[2],
15802
15930
  animationStyle: /*animation*/ ctx[1]
15803
15931
  });
15804
15932
 
@@ -15809,80 +15937,13 @@ function create_if_block(ctx) {
15809
15937
  current = true;
15810
15938
  },
15811
15939
  o(local) {
15812
- transition_out(if_block);
15813
15940
  transition_out(default_slot, local);
15814
15941
  current = false;
15815
15942
  },
15816
15943
  d(detaching) {
15817
15944
  if (detaching) detach(div);
15818
- if (if_block) if_block.d();
15819
15945
  if (default_slot) default_slot.d(detaching);
15820
- /*div_binding*/ ctx[31](null);
15821
- }
15822
- };
15823
- }
15824
-
15825
- // (279:4) {#if closable}
15826
- function create_if_block_1(ctx) {
15827
- let div;
15828
- let closebutton;
15829
- let current;
15830
-
15831
- closebutton = new CloseButton({
15832
- props: {
15833
- onClick: /*onClose*/ ctx[2],
15834
- eventName: /*closeEventName*/ ctx[3],
15835
- eventValue: /*closeEventValue*/ ctx[4],
15836
- props: /*closeButtonProps*/ ctx[5]
15837
- }
15838
- });
15839
-
15840
- return {
15841
- c() {
15842
- div = element("div");
15843
- create_component(closebutton.$$.fragment);
15844
- this.h();
15845
- },
15846
- l(nodes) {
15847
- div = claim_element(nodes, "DIV", { class: true, style: true });
15848
- var div_nodes = children(div);
15849
- claim_component(closebutton.$$.fragment, div_nodes);
15850
- div_nodes.forEach(detach);
15851
- this.h();
15852
- },
15853
- h() {
15854
- attr(div, "class", "close svelte-1ks2ecq");
15855
- set_style(div, "z-index", /*$maximumZindex*/ ctx[17] + 1);
15856
- },
15857
- m(target, anchor) {
15858
- insert_hydration(target, div, anchor);
15859
- mount_component(closebutton, div, null);
15860
- current = true;
15861
- },
15862
- p(ctx, dirty) {
15863
- const closebutton_changes = {};
15864
- if (dirty[0] & /*onClose*/ 4) closebutton_changes.onClick = /*onClose*/ ctx[2];
15865
- if (dirty[0] & /*closeEventName*/ 8) closebutton_changes.eventName = /*closeEventName*/ ctx[3];
15866
- if (dirty[0] & /*closeEventValue*/ 16) closebutton_changes.eventValue = /*closeEventValue*/ ctx[4];
15867
- if (dirty[0] & /*closeButtonProps*/ 32) closebutton_changes.props = /*closeButtonProps*/ ctx[5];
15868
- closebutton.$set(closebutton_changes);
15869
-
15870
- if (!current || dirty[0] & /*$maximumZindex*/ 131072) {
15871
- set_style(div, "z-index", /*$maximumZindex*/ ctx[17] + 1);
15872
- }
15873
- },
15874
- i(local) {
15875
- if (current) return;
15876
- transition_in(closebutton.$$.fragment, local);
15877
- current = true;
15878
- },
15879
- o(local) {
15880
- transition_out(closebutton.$$.fragment, local);
15881
- current = false;
15882
- },
15883
- d(detaching) {
15884
- if (detaching) detach(div);
15885
- destroy_component(closebutton);
15946
+ /*div_binding*/ ctx[27](null);
15886
15947
  }
15887
15948
  };
15888
15949
  }
@@ -15896,7 +15957,7 @@ function create_fragment(ctx) {
15896
15957
  let current;
15897
15958
  let mounted;
15898
15959
  let dispose;
15899
- const if_block_creators = [create_if_block_2, create_if_block_3, create_else_block];
15960
+ const if_block_creators = [create_if_block_1, create_if_block_2, create_else_block];
15900
15961
  const if_blocks = [];
15901
15962
 
15902
15963
  function select_block_type(ctx, dirty) {
@@ -15908,7 +15969,7 @@ function create_fragment(ctx) {
15908
15969
 
15909
15970
  current_block_type_index = select_block_type(ctx);
15910
15971
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
15911
- let if_block1 = /*visible*/ ctx[11] && create_if_block(ctx);
15972
+ let if_block1 = /*visible*/ ctx[7] && create_if_block(ctx);
15912
15973
 
15913
15974
  return {
15914
15975
  c() {
@@ -15932,13 +15993,13 @@ function create_fragment(ctx) {
15932
15993
 
15933
15994
  if (!mounted) {
15934
15995
  dispose = listen(window, "keydown", function () {
15935
- if (is_function(/*handle_keydown*/ ctx[12])) /*handle_keydown*/ ctx[12].apply(this, arguments);
15996
+ if (is_function(/*handle_keydown*/ ctx[8])) /*handle_keydown*/ ctx[8].apply(this, arguments);
15936
15997
  });
15937
15998
 
15938
15999
  mounted = true;
15939
16000
  }
15940
16001
  },
15941
- p(new_ctx, dirty) {
16002
+ p(new_ctx, [dirty]) {
15942
16003
  ctx = new_ctx;
15943
16004
  let previous_block_index = current_block_type_index;
15944
16005
  current_block_type_index = select_block_type(ctx);
@@ -15966,11 +16027,11 @@ function create_fragment(ctx) {
15966
16027
  if_block0.m(t.parentNode, t);
15967
16028
  }
15968
16029
 
15969
- if (/*visible*/ ctx[11]) {
16030
+ if (/*visible*/ ctx[7]) {
15970
16031
  if (if_block1) {
15971
16032
  if_block1.p(ctx, dirty);
15972
16033
 
15973
- if (dirty[0] & /*visible*/ 2048) {
16034
+ if (dirty & /*visible*/ 128) {
15974
16035
  transition_in(if_block1, 1);
15975
16036
  }
15976
16037
  } else {
@@ -16013,14 +16074,11 @@ function create_fragment(ctx) {
16013
16074
 
16014
16075
  function instance($$self, $$props, $$invalidate) {
16015
16076
  let close;
16016
- let closable;
16017
16077
  let backgroundClick;
16018
16078
  let backgroundClickPC;
16019
16079
  let backgroundClickSP;
16020
16080
  let handle_keydown;
16021
16081
  let visible;
16022
- let $maximumZindex;
16023
- component_subscribe($$self, maximumZindex, $$value => $$invalidate(17, $maximumZindex = $$value));
16024
16082
  let { $$slots: slots = {}, $$scope } = $$props;
16025
16083
  let { onClick = { operation: 'none', args: [] } } = $$props;
16026
16084
  let { clickEventName = '' } = $$props;
@@ -16030,10 +16088,8 @@ function instance($$self, $$props, $$invalidate) {
16030
16088
  let { breakPoint } = $$props;
16031
16089
  let { elasticity } = $$props;
16032
16090
  let { animation = 'none' } = $$props;
16033
- let { onClose = { operation: 'closeApp', args: ['button'] } } = $$props;
16034
16091
  let { closeEventName = '' } = $$props;
16035
16092
  let { closeEventValue = null } = $$props;
16036
- let { closeButtonProps = {} } = $$props;
16037
16093
 
16038
16094
  // モーダル背景の設定
16039
16095
  let backgroundOverlay = DefaultModalPlacement.backgroundOverlay;
@@ -16051,7 +16107,7 @@ function instance($$self, $$props, $$invalidate) {
16051
16107
  let modal;
16052
16108
 
16053
16109
  onMount$1(() => {
16054
- $$invalidate(11, visible = true);
16110
+ $$invalidate(7, visible = true);
16055
16111
  });
16056
16112
 
16057
16113
  onDestroy$1(() => setPreviousFocus());
@@ -16059,29 +16115,29 @@ function instance($$self, $$props, $$invalidate) {
16059
16115
  function div_binding($$value) {
16060
16116
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16061
16117
  modal = $$value;
16062
- $$invalidate(10, modal);
16118
+ $$invalidate(6, modal);
16063
16119
  });
16064
16120
  }
16065
16121
 
16066
16122
  $$self.$$set = $$props => {
16067
- if ('onClick' in $$props) $$invalidate(19, onClick = $$props.onClick);
16068
- if ('clickEventName' in $$props) $$invalidate(20, clickEventName = $$props.clickEventName);
16069
- if ('clickEventValue' in $$props) $$invalidate(21, clickEventValue = $$props.clickEventValue);
16123
+ if ('onClick' in $$props) $$invalidate(13, onClick = $$props.onClick);
16124
+ if ('clickEventName' in $$props) $$invalidate(14, clickEventName = $$props.clickEventName);
16125
+ if ('clickEventValue' in $$props) $$invalidate(15, clickEventValue = $$props.clickEventValue);
16070
16126
  if ('useBreakPoint' in $$props) $$invalidate(0, useBreakPoint = $$props.useBreakPoint);
16071
- if ('placement' in $$props) $$invalidate(22, placement = $$props.placement);
16072
- if ('breakPoint' in $$props) $$invalidate(23, breakPoint = $$props.breakPoint);
16073
- if ('elasticity' in $$props) $$invalidate(24, elasticity = $$props.elasticity);
16127
+ if ('placement' in $$props) $$invalidate(16, placement = $$props.placement);
16128
+ if ('breakPoint' in $$props) $$invalidate(17, breakPoint = $$props.breakPoint);
16129
+ if ('elasticity' in $$props) $$invalidate(18, elasticity = $$props.elasticity);
16074
16130
  if ('animation' in $$props) $$invalidate(1, animation = $$props.animation);
16075
- if ('onClose' in $$props) $$invalidate(2, onClose = $$props.onClose);
16076
- if ('closeEventName' in $$props) $$invalidate(3, closeEventName = $$props.closeEventName);
16077
- if ('closeEventValue' in $$props) $$invalidate(4, closeEventValue = $$props.closeEventValue);
16078
- if ('closeButtonProps' in $$props) $$invalidate(5, closeButtonProps = $$props.closeButtonProps);
16079
- if ('$$scope' in $$props) $$invalidate(29, $$scope = $$props.$$scope);
16131
+ if ('closeEventName' in $$props) $$invalidate(19, closeEventName = $$props.closeEventName);
16132
+ if ('closeEventValue' in $$props) $$invalidate(20, closeEventValue = $$props.closeEventValue);
16133
+ if ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);
16080
16134
  };
16081
16135
 
16082
16136
  $$self.$$.update = () => {
16083
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, onClose*/ 28) {
16084
- $$invalidate(28, close = () => {
16137
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue*/ 1572864) {
16138
+ $$invalidate(24, close = () => {
16139
+ const onClose = { operation: 'closeApp', args: ['button'] };
16140
+
16085
16141
  if (closeEventName) {
16086
16142
  send_event(closeEventName, closeEventValue);
16087
16143
  }
@@ -16090,46 +16146,42 @@ function instance($$self, $$props, $$invalidate) {
16090
16146
  });
16091
16147
  }
16092
16148
 
16093
- if ($$self.$$.dirty[0] & /*onClose*/ 4) {
16094
- $$invalidate(16, closable = haveFunction(onClose));
16095
- }
16096
-
16097
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 12582913) {
16149
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
16098
16150
  {
16099
16151
 
16100
16152
  if (useBreakPoint) {
16101
16153
  const pc = breakPoint?.PC?.placement?.backgroundOverlay;
16102
- $$invalidate(8, backgroundOverlayPC = pc ?? false);
16154
+ $$invalidate(4, backgroundOverlayPC = pc ?? false);
16103
16155
  const sp = breakPoint?.SP?.placement?.backgroundOverlay;
16104
- $$invalidate(9, backgroundOverlaySP = sp ?? false);
16156
+ $$invalidate(5, backgroundOverlaySP = sp ?? false);
16105
16157
  }
16106
16158
  }
16107
16159
  }
16108
16160
 
16109
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 12582913) {
16161
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
16110
16162
  {
16111
16163
  if (placement && placement.backgroundClick) {
16112
- $$invalidate(25, backgroundClickFunction = placement.backgroundClick);
16164
+ $$invalidate(21, backgroundClickFunction = placement.backgroundClick);
16113
16165
  }
16114
16166
 
16115
16167
  if (useBreakPoint) {
16116
16168
  const pc = breakPoint?.PC?.placement?.backgroundClick;
16117
16169
 
16118
16170
  if (pc) {
16119
- $$invalidate(26, backgroundClickFunctionPC = pc);
16171
+ $$invalidate(22, backgroundClickFunctionPC = pc);
16120
16172
  }
16121
16173
 
16122
16174
  const sp = breakPoint?.SP?.placement?.backgroundClick;
16123
16175
 
16124
16176
  if (sp) {
16125
- $$invalidate(27, backgroundClickFunctionSP = sp);
16177
+ $$invalidate(23, backgroundClickFunctionSP = sp);
16126
16178
  }
16127
16179
  }
16128
16180
  }
16129
16181
  }
16130
16182
 
16131
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, backgroundClickFunction*/ 33554456) {
16132
- $$invalidate(15, backgroundClick = () => {
16183
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 3670016) {
16184
+ $$invalidate(11, backgroundClick = () => {
16133
16185
  if (closeEventName) {
16134
16186
  send_event(closeEventName, closeEventValue);
16135
16187
  }
@@ -16138,8 +16190,8 @@ function instance($$self, $$props, $$invalidate) {
16138
16190
  });
16139
16191
  }
16140
16192
 
16141
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/ 67108888) {
16142
- $$invalidate(14, backgroundClickPC = () => {
16193
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/ 5767168) {
16194
+ $$invalidate(10, backgroundClickPC = () => {
16143
16195
  if (closeEventName) {
16144
16196
  send_event(closeEventName, closeEventValue);
16145
16197
  }
@@ -16148,8 +16200,8 @@ function instance($$self, $$props, $$invalidate) {
16148
16200
  });
16149
16201
  }
16150
16202
 
16151
- if ($$self.$$.dirty[0] & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/ 134217752) {
16152
- $$invalidate(13, backgroundClickSP = () => {
16203
+ if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/ 9961472) {
16204
+ $$invalidate(9, backgroundClickSP = () => {
16153
16205
  if (closeEventName) {
16154
16206
  send_event(closeEventName, closeEventValue);
16155
16207
  }
@@ -16158,7 +16210,7 @@ function instance($$self, $$props, $$invalidate) {
16158
16210
  });
16159
16211
  }
16160
16212
 
16161
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint, transforms*/ 12582977) {
16213
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, transforms*/ 196613) {
16162
16214
  // 表示位置のスタイルとアニメーションの動きを設定
16163
16215
  {
16164
16216
  // 表示位置のスタイルの設定
@@ -16170,7 +16222,7 @@ function instance($$self, $$props, $$invalidate) {
16170
16222
  modalStyles.add(positionStyle);
16171
16223
  }
16172
16224
 
16173
- $$invalidate(6, transforms = []);
16225
+ $$invalidate(2, transforms = []);
16174
16226
 
16175
16227
  DEVICE_IDS.forEach(deviceId => {
16176
16228
 
@@ -16188,7 +16240,7 @@ function instance($$self, $$props, $$invalidate) {
16188
16240
  }
16189
16241
  }
16190
16242
 
16191
- if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 12582913) {
16243
+ if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
16192
16244
  // 表示位置の調整のスタイルを設定
16193
16245
  {
16194
16246
  let margin = DefaultModalPlacement.margin;
@@ -16212,7 +16264,7 @@ function instance($$self, $$props, $$invalidate) {
16212
16264
  }
16213
16265
  }
16214
16266
 
16215
- if ($$self.$$.dirty[0] & /*elasticity, useBreakPoint, breakPoint*/ 25165825) {
16267
+ if ($$self.$$.dirty & /*elasticity, useBreakPoint, breakPoint*/ 393217) {
16216
16268
  // 拡大方法のスタイルを設定
16217
16269
  {
16218
16270
  let elasticStyle = ElasticityStyle['none' ];
@@ -16234,23 +16286,19 @@ function instance($$self, $$props, $$invalidate) {
16234
16286
  }
16235
16287
  }
16236
16288
 
16237
- if ($$self.$$.dirty[0] & /*close*/ 268435456) {
16238
- $$invalidate(12, handle_keydown = handleKeydown({ Escape: close }));
16289
+ if ($$self.$$.dirty & /*close*/ 16777216) {
16290
+ $$invalidate(8, handle_keydown = handleKeydown({ Escape: close }));
16239
16291
  }
16240
16292
  };
16241
16293
 
16242
- $$invalidate(10, modal = null);
16294
+ $$invalidate(6, modal = null);
16243
16295
 
16244
16296
  // svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
16245
- $$invalidate(11, visible = false);
16297
+ $$invalidate(7, visible = false);
16246
16298
 
16247
16299
  return [
16248
16300
  useBreakPoint,
16249
16301
  animation,
16250
- onClose,
16251
- closeEventName,
16252
- closeEventValue,
16253
- closeButtonProps,
16254
16302
  transforms,
16255
16303
  backgroundOverlay,
16256
16304
  backgroundOverlayPC,
@@ -16261,8 +16309,6 @@ function instance($$self, $$props, $$invalidate) {
16261
16309
  backgroundClickSP,
16262
16310
  backgroundClickPC,
16263
16311
  backgroundClick,
16264
- closable,
16265
- $maximumZindex,
16266
16312
  modalStyles,
16267
16313
  onClick,
16268
16314
  clickEventName,
@@ -16270,6 +16316,8 @@ function instance($$self, $$props, $$invalidate) {
16270
16316
  placement,
16271
16317
  breakPoint,
16272
16318
  elasticity,
16319
+ closeEventName,
16320
+ closeEventValue,
16273
16321
  backgroundClickFunction,
16274
16322
  backgroundClickFunctionPC,
16275
16323
  backgroundClickFunctionSP,
@@ -16291,23 +16339,20 @@ class Modal extends SvelteComponent {
16291
16339
  create_fragment,
16292
16340
  safe_not_equal,
16293
16341
  {
16294
- onClick: 19,
16295
- clickEventName: 20,
16296
- clickEventValue: 21,
16342
+ onClick: 13,
16343
+ clickEventName: 14,
16344
+ clickEventValue: 15,
16297
16345
  useBreakPoint: 0,
16298
- placement: 22,
16299
- breakPoint: 23,
16300
- elasticity: 24,
16346
+ placement: 16,
16347
+ breakPoint: 17,
16348
+ elasticity: 18,
16301
16349
  animation: 1,
16302
- onClose: 2,
16303
- closeEventName: 3,
16304
- closeEventValue: 4,
16305
- closeButtonProps: 5
16350
+ closeEventName: 19,
16351
+ closeEventValue: 20
16306
16352
  },
16307
- add_css,
16308
- [-1, -1]
16353
+ add_css
16309
16354
  );
16310
16355
  }
16311
16356
  }
16312
16357
 
16313
- 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 };
16358
+ 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 };