@plaidev/karte-action-sdk 1.1.130-27959366.bbbc1c28 → 1.1.130-27959430.3b76889a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hydrate/index.es.js +40 -36
- package/dist/index.es.js +40 -36
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -2773,7 +2773,7 @@ function add_css$l(target) {
|
|
2773
2773
|
append_styles(target, "svelte-12dkw0q", ".modal.svelte-12dkw0q{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-12dkw0q{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-12dkw0q:hover{transform:rotate(90deg)}.modal-content.svelte-12dkw0q{display:flex;justify-content:center;align-items:center}");
|
2774
2774
|
}
|
2775
2775
|
|
2776
|
-
// (
|
2776
|
+
// (149:0) {#if visible}
|
2777
2777
|
function create_if_block$4(ctx) {
|
2778
2778
|
let div1;
|
2779
2779
|
let t;
|
@@ -2820,7 +2820,7 @@ function create_if_block$4(ctx) {
|
|
2820
2820
|
attr(div1, "class", "modal svelte-12dkw0q");
|
2821
2821
|
attr(div1, "role", "dialog");
|
2822
2822
|
attr(div1, "aria-modal", "true");
|
2823
|
-
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[
|
2823
|
+
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[11] + " " + /*marginStyle*/ ctx[9] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[12]] + "");
|
2824
2824
|
},
|
2825
2825
|
m(target, anchor) {
|
2826
2826
|
insert_hydration(target, div1, anchor);
|
@@ -2878,7 +2878,7 @@ function create_if_block$4(ctx) {
|
|
2878
2878
|
attr(div0, "style", /*_style*/ ctx[1]);
|
2879
2879
|
}
|
2880
2880
|
|
2881
|
-
if (!current || dirty & /*pos, marginStyle, overwriteElasticity*/
|
2881
|
+
if (!current || dirty & /*pos, marginStyle, overwriteElasticity*/ 6656 && div1_style_value !== (div1_style_value = "" + /*pos*/ ctx[11] + " " + /*marginStyle*/ ctx[9] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[12]] + "")) {
|
2882
2882
|
attr(div1, "style", div1_style_value);
|
2883
2883
|
}
|
2884
2884
|
},
|
@@ -2889,7 +2889,7 @@ function create_if_block$4(ctx) {
|
|
2889
2889
|
if (!div1_intro) {
|
2890
2890
|
add_render_callback(() => {
|
2891
2891
|
div1_intro = create_in_transition(div1, customAnimation, {
|
2892
|
-
transform: /*transform*/ ctx[
|
2892
|
+
transform: /*transform*/ ctx[10],
|
2893
2893
|
animationStyle: /*animation*/ ctx[0]
|
2894
2894
|
});
|
2895
2895
|
|
@@ -2914,7 +2914,7 @@ function create_if_block$4(ctx) {
|
|
2914
2914
|
};
|
2915
2915
|
}
|
2916
2916
|
|
2917
|
-
// (
|
2917
|
+
// (166:4) {#if closable}
|
2918
2918
|
function create_if_block_1$1(ctx) {
|
2919
2919
|
let button;
|
2920
2920
|
let svg;
|
@@ -3009,15 +3009,15 @@ function create_fragment$o(ctx) {
|
|
3009
3009
|
|
3010
3010
|
backgroundoverray = new BackgroundOverray({
|
3011
3011
|
props: {
|
3012
|
-
backgroundOverray: /*backgroundOverray*/ ctx[
|
3012
|
+
backgroundOverray: /*backgroundOverray*/ ctx[6]
|
3013
3013
|
}
|
3014
3014
|
});
|
3015
3015
|
|
3016
3016
|
backgroundoverray.$on("click", function () {
|
3017
|
-
if (is_function(/*backgroundClick*/ ctx[
|
3017
|
+
if (is_function(/*backgroundClick*/ ctx[13])) /*backgroundClick*/ ctx[13].apply(this, arguments);
|
3018
3018
|
});
|
3019
3019
|
|
3020
|
-
let if_block = /*visible*/ ctx[
|
3020
|
+
let if_block = /*visible*/ ctx[7] && create_if_block$4(ctx);
|
3021
3021
|
|
3022
3022
|
return {
|
3023
3023
|
c() {
|
@@ -3041,7 +3041,7 @@ function create_fragment$o(ctx) {
|
|
3041
3041
|
|
3042
3042
|
if (!mounted) {
|
3043
3043
|
dispose = listen(window, "keydown", function () {
|
3044
|
-
if (is_function(/*handle_keydown*/ ctx[
|
3044
|
+
if (is_function(/*handle_keydown*/ ctx[8])) /*handle_keydown*/ ctx[8].apply(this, arguments);
|
3045
3045
|
});
|
3046
3046
|
|
3047
3047
|
mounted = true;
|
@@ -3050,14 +3050,14 @@ function create_fragment$o(ctx) {
|
|
3050
3050
|
p(new_ctx, [dirty]) {
|
3051
3051
|
ctx = new_ctx;
|
3052
3052
|
const backgroundoverray_changes = {};
|
3053
|
-
if (dirty & /*backgroundOverray*/
|
3053
|
+
if (dirty & /*backgroundOverray*/ 64) backgroundoverray_changes.backgroundOverray = /*backgroundOverray*/ ctx[6];
|
3054
3054
|
backgroundoverray.$set(backgroundoverray_changes);
|
3055
3055
|
|
3056
|
-
if (/*visible*/ ctx[
|
3056
|
+
if (/*visible*/ ctx[7]) {
|
3057
3057
|
if (if_block) {
|
3058
3058
|
if_block.p(ctx, dirty);
|
3059
3059
|
|
3060
|
-
if (dirty & /*visible*/
|
3060
|
+
if (dirty & /*visible*/ 128) {
|
3061
3061
|
transition_in(if_block, 1);
|
3062
3062
|
}
|
3063
3063
|
} else {
|
@@ -3102,8 +3102,6 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3102
3102
|
let click;
|
3103
3103
|
let close;
|
3104
3104
|
let closable;
|
3105
|
-
let backgroundOverray;
|
3106
|
-
let backgroundClickFunction;
|
3107
3105
|
let backgroundClick;
|
3108
3106
|
let overwritePosition;
|
3109
3107
|
let overwriteMargin;
|
@@ -3128,10 +3126,12 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3128
3126
|
let { closeEventValue = null } = $$props;
|
3129
3127
|
let { closeButtonColor = '#000000' } = $$props;
|
3130
3128
|
let { _closeStyle = '' } = $$props;
|
3129
|
+
let backgroundOverray = DefaultModalPlacement.backgroundOverlay;
|
3130
|
+
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3131
3131
|
let modal;
|
3132
3132
|
|
3133
3133
|
onMount(() => {
|
3134
|
-
$$invalidate(
|
3134
|
+
$$invalidate(7, visible = true);
|
3135
3135
|
});
|
3136
3136
|
|
3137
3137
|
onDestroy$1(() => setPreviousFocus());
|
@@ -3185,19 +3185,23 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3185
3185
|
}
|
3186
3186
|
|
3187
3187
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3188
|
-
|
3189
|
-
|
3190
|
-
|
3188
|
+
{
|
3189
|
+
{
|
3190
|
+
$$invalidate(6, backgroundOverray = false);
|
3191
|
+
}
|
3192
|
+
}
|
3191
3193
|
}
|
3192
3194
|
|
3193
3195
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3194
|
-
|
3195
|
-
|
3196
|
-
|
3196
|
+
{
|
3197
|
+
if (placement && placement.backgroundClick !== null) {
|
3198
|
+
$$invalidate(25, backgroundClickFunction = placement.backgroundClick);
|
3199
|
+
}
|
3200
|
+
}
|
3197
3201
|
}
|
3198
3202
|
|
3199
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
3200
|
-
$$invalidate(
|
3203
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 58720256) {
|
3204
|
+
$$invalidate(13, backgroundClick = () => {
|
3201
3205
|
if (closeEventName) {
|
3202
3206
|
send_event(closeEventName, closeEventValue);
|
3203
3207
|
}
|
@@ -3207,12 +3211,12 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3207
3211
|
}
|
3208
3212
|
|
3209
3213
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3210
|
-
$$invalidate(
|
3214
|
+
$$invalidate(27, overwritePosition = 'center'
|
3211
3215
|
);
|
3212
3216
|
}
|
3213
3217
|
|
3214
3218
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3215
|
-
$$invalidate(
|
3219
|
+
$$invalidate(26, overwriteMargin = {
|
3216
3220
|
left: '0px',
|
3217
3221
|
right: '0px',
|
3218
3222
|
top: '0px',
|
@@ -3222,30 +3226,30 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3222
3226
|
}
|
3223
3227
|
|
3224
3228
|
if ($$self.$$.dirty & /*elasticity*/ 2097152) {
|
3225
|
-
$$invalidate(
|
3229
|
+
$$invalidate(12, overwriteElasticity = 'none' );
|
3226
3230
|
}
|
3227
3231
|
|
3228
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3229
|
-
$$invalidate(
|
3232
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3233
|
+
$$invalidate(11, pos = getPositionStyle(overwritePosition));
|
3230
3234
|
}
|
3231
3235
|
|
3232
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3233
|
-
$$invalidate(
|
3236
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3237
|
+
$$invalidate(10, transform = getTransform(overwritePosition));
|
3234
3238
|
}
|
3235
3239
|
|
3236
|
-
if ($$self.$$.dirty & /*overwriteMargin*/
|
3237
|
-
$$invalidate(
|
3240
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 67108864) {
|
3241
|
+
$$invalidate(9, marginStyle = getMarginStyle(overwriteMargin));
|
3238
3242
|
}
|
3239
3243
|
|
3240
3244
|
if ($$self.$$.dirty & /*close, modal*/ 48) {
|
3241
|
-
$$invalidate(
|
3245
|
+
$$invalidate(8, handle_keydown = handleKeydown({ Escape: close, Tab: handleFocus(modal) }));
|
3242
3246
|
}
|
3243
3247
|
};
|
3244
3248
|
|
3245
3249
|
$$invalidate(4, modal = null);
|
3246
3250
|
|
3247
3251
|
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3248
|
-
$$invalidate(
|
3252
|
+
$$invalidate(7, visible = false);
|
3249
3253
|
|
3250
3254
|
return [
|
3251
3255
|
animation,
|
@@ -3254,6 +3258,7 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3254
3258
|
_closeStyle,
|
3255
3259
|
modal,
|
3256
3260
|
close,
|
3261
|
+
backgroundOverray,
|
3257
3262
|
visible,
|
3258
3263
|
handle_keydown,
|
3259
3264
|
marginStyle,
|
@@ -3261,7 +3266,6 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3261
3266
|
pos,
|
3262
3267
|
overwriteElasticity,
|
3263
3268
|
backgroundClick,
|
3264
|
-
backgroundOverray,
|
3265
3269
|
closable,
|
3266
3270
|
click,
|
3267
3271
|
$maximumZindex,
|
@@ -3273,9 +3277,9 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3273
3277
|
onClose,
|
3274
3278
|
closeEventName,
|
3275
3279
|
closeEventValue,
|
3280
|
+
backgroundClickFunction,
|
3276
3281
|
overwriteMargin,
|
3277
3282
|
overwritePosition,
|
3278
|
-
backgroundClickFunction,
|
3279
3283
|
$$scope,
|
3280
3284
|
slots,
|
3281
3285
|
div1_binding
|
package/dist/index.es.js
CHANGED
@@ -2833,7 +2833,7 @@ function add_css$l(target) {
|
|
2833
2833
|
append_styles(target, "svelte-12dkw0q", ".modal.svelte-12dkw0q{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-12dkw0q{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-12dkw0q:hover{transform:rotate(90deg)}.modal-content.svelte-12dkw0q{display:flex;justify-content:center;align-items:center}");
|
2834
2834
|
}
|
2835
2835
|
|
2836
|
-
// (
|
2836
|
+
// (149:0) {#if visible}
|
2837
2837
|
function create_if_block$4(ctx) {
|
2838
2838
|
let div1;
|
2839
2839
|
let t;
|
@@ -2859,7 +2859,7 @@ function create_if_block$4(ctx) {
|
|
2859
2859
|
attr(div1, "class", "modal svelte-12dkw0q");
|
2860
2860
|
attr(div1, "role", "dialog");
|
2861
2861
|
attr(div1, "aria-modal", "true");
|
2862
|
-
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[
|
2862
|
+
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[11] + " " + /*marginStyle*/ ctx[9] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[12]] + "");
|
2863
2863
|
},
|
2864
2864
|
m(target, anchor) {
|
2865
2865
|
insert(target, div1, anchor);
|
@@ -2917,7 +2917,7 @@ function create_if_block$4(ctx) {
|
|
2917
2917
|
attr(div0, "style", /*_style*/ ctx[1]);
|
2918
2918
|
}
|
2919
2919
|
|
2920
|
-
if (!current || dirty & /*pos, marginStyle, overwriteElasticity*/
|
2920
|
+
if (!current || dirty & /*pos, marginStyle, overwriteElasticity*/ 6656 && div1_style_value !== (div1_style_value = "" + /*pos*/ ctx[11] + " " + /*marginStyle*/ ctx[9] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[12]] + "")) {
|
2921
2921
|
attr(div1, "style", div1_style_value);
|
2922
2922
|
}
|
2923
2923
|
},
|
@@ -2928,7 +2928,7 @@ function create_if_block$4(ctx) {
|
|
2928
2928
|
if (!div1_intro) {
|
2929
2929
|
add_render_callback(() => {
|
2930
2930
|
div1_intro = create_in_transition(div1, customAnimation, {
|
2931
|
-
transform: /*transform*/ ctx[
|
2931
|
+
transform: /*transform*/ ctx[10],
|
2932
2932
|
animationStyle: /*animation*/ ctx[0]
|
2933
2933
|
});
|
2934
2934
|
|
@@ -2953,7 +2953,7 @@ function create_if_block$4(ctx) {
|
|
2953
2953
|
};
|
2954
2954
|
}
|
2955
2955
|
|
2956
|
-
// (
|
2956
|
+
// (166:4) {#if closable}
|
2957
2957
|
function create_if_block_1$1(ctx) {
|
2958
2958
|
let button;
|
2959
2959
|
let svg;
|
@@ -3020,15 +3020,15 @@ function create_fragment$o(ctx) {
|
|
3020
3020
|
|
3021
3021
|
backgroundoverray = new BackgroundOverray({
|
3022
3022
|
props: {
|
3023
|
-
backgroundOverray: /*backgroundOverray*/ ctx[
|
3023
|
+
backgroundOverray: /*backgroundOverray*/ ctx[6]
|
3024
3024
|
}
|
3025
3025
|
});
|
3026
3026
|
|
3027
3027
|
backgroundoverray.$on("click", function () {
|
3028
|
-
if (is_function(/*backgroundClick*/ ctx[
|
3028
|
+
if (is_function(/*backgroundClick*/ ctx[13])) /*backgroundClick*/ ctx[13].apply(this, arguments);
|
3029
3029
|
});
|
3030
3030
|
|
3031
|
-
let if_block = /*visible*/ ctx[
|
3031
|
+
let if_block = /*visible*/ ctx[7] && create_if_block$4(ctx);
|
3032
3032
|
|
3033
3033
|
return {
|
3034
3034
|
c() {
|
@@ -3046,7 +3046,7 @@ function create_fragment$o(ctx) {
|
|
3046
3046
|
|
3047
3047
|
if (!mounted) {
|
3048
3048
|
dispose = listen(window, "keydown", function () {
|
3049
|
-
if (is_function(/*handle_keydown*/ ctx[
|
3049
|
+
if (is_function(/*handle_keydown*/ ctx[8])) /*handle_keydown*/ ctx[8].apply(this, arguments);
|
3050
3050
|
});
|
3051
3051
|
|
3052
3052
|
mounted = true;
|
@@ -3055,14 +3055,14 @@ function create_fragment$o(ctx) {
|
|
3055
3055
|
p(new_ctx, [dirty]) {
|
3056
3056
|
ctx = new_ctx;
|
3057
3057
|
const backgroundoverray_changes = {};
|
3058
|
-
if (dirty & /*backgroundOverray*/
|
3058
|
+
if (dirty & /*backgroundOverray*/ 64) backgroundoverray_changes.backgroundOverray = /*backgroundOverray*/ ctx[6];
|
3059
3059
|
backgroundoverray.$set(backgroundoverray_changes);
|
3060
3060
|
|
3061
|
-
if (/*visible*/ ctx[
|
3061
|
+
if (/*visible*/ ctx[7]) {
|
3062
3062
|
if (if_block) {
|
3063
3063
|
if_block.p(ctx, dirty);
|
3064
3064
|
|
3065
|
-
if (dirty & /*visible*/
|
3065
|
+
if (dirty & /*visible*/ 128) {
|
3066
3066
|
transition_in(if_block, 1);
|
3067
3067
|
}
|
3068
3068
|
} else {
|
@@ -3107,8 +3107,6 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3107
3107
|
let click;
|
3108
3108
|
let close;
|
3109
3109
|
let closable;
|
3110
|
-
let backgroundOverray;
|
3111
|
-
let backgroundClickFunction;
|
3112
3110
|
let backgroundClick;
|
3113
3111
|
let overwritePosition;
|
3114
3112
|
let overwriteMargin;
|
@@ -3133,10 +3131,12 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3133
3131
|
let { closeEventValue = null } = $$props;
|
3134
3132
|
let { closeButtonColor = '#000000' } = $$props;
|
3135
3133
|
let { _closeStyle = '' } = $$props;
|
3134
|
+
let backgroundOverray = DefaultModalPlacement.backgroundOverlay;
|
3135
|
+
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3136
3136
|
let modal;
|
3137
3137
|
|
3138
3138
|
onMount(() => {
|
3139
|
-
$$invalidate(
|
3139
|
+
$$invalidate(7, visible = true);
|
3140
3140
|
});
|
3141
3141
|
|
3142
3142
|
onDestroy$1(() => setPreviousFocus());
|
@@ -3190,19 +3190,23 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3190
3190
|
}
|
3191
3191
|
|
3192
3192
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3193
|
-
|
3194
|
-
|
3195
|
-
|
3193
|
+
{
|
3194
|
+
if (placement && placement.backgroundOverlay !== null) {
|
3195
|
+
$$invalidate(6, backgroundOverray = placement.backgroundOverlay);
|
3196
|
+
}
|
3197
|
+
}
|
3196
3198
|
}
|
3197
3199
|
|
3198
3200
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3199
|
-
|
3200
|
-
|
3201
|
-
|
3201
|
+
{
|
3202
|
+
if (placement && placement.backgroundClick !== null) {
|
3203
|
+
$$invalidate(25, backgroundClickFunction = placement.backgroundClick);
|
3204
|
+
}
|
3205
|
+
}
|
3202
3206
|
}
|
3203
3207
|
|
3204
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
3205
|
-
$$invalidate(
|
3208
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 58720256) {
|
3209
|
+
$$invalidate(13, backgroundClick = () => {
|
3206
3210
|
if (closeEventName) {
|
3207
3211
|
send_event(closeEventName, closeEventValue);
|
3208
3212
|
}
|
@@ -3212,42 +3216,42 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3212
3216
|
}
|
3213
3217
|
|
3214
3218
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3215
|
-
$$invalidate(
|
3219
|
+
$$invalidate(27, overwritePosition = placement && placement.position != null
|
3216
3220
|
? placement.position
|
3217
3221
|
: DefaultModalPlacement.position);
|
3218
3222
|
}
|
3219
3223
|
|
3220
3224
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3221
|
-
$$invalidate(
|
3225
|
+
$$invalidate(26, overwriteMargin = placement && placement.margin != null
|
3222
3226
|
? placement.margin
|
3223
3227
|
: DefaultModalPlacement.margin);
|
3224
3228
|
}
|
3225
3229
|
|
3226
3230
|
if ($$self.$$.dirty & /*elasticity*/ 2097152) {
|
3227
|
-
$$invalidate(
|
3231
|
+
$$invalidate(12, overwriteElasticity = elasticity);
|
3228
3232
|
}
|
3229
3233
|
|
3230
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3231
|
-
$$invalidate(
|
3234
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3235
|
+
$$invalidate(11, pos = getPositionStyle(overwritePosition));
|
3232
3236
|
}
|
3233
3237
|
|
3234
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3235
|
-
$$invalidate(
|
3238
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3239
|
+
$$invalidate(10, transform = getTransform(overwritePosition));
|
3236
3240
|
}
|
3237
3241
|
|
3238
|
-
if ($$self.$$.dirty & /*overwriteMargin*/
|
3239
|
-
$$invalidate(
|
3242
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 67108864) {
|
3243
|
+
$$invalidate(9, marginStyle = getMarginStyle(overwriteMargin));
|
3240
3244
|
}
|
3241
3245
|
|
3242
3246
|
if ($$self.$$.dirty & /*close, modal*/ 48) {
|
3243
|
-
$$invalidate(
|
3247
|
+
$$invalidate(8, handle_keydown = handleKeydown({ Escape: close, Tab: handleFocus(modal) }));
|
3244
3248
|
}
|
3245
3249
|
};
|
3246
3250
|
|
3247
3251
|
$$invalidate(4, modal = null);
|
3248
3252
|
|
3249
3253
|
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3250
|
-
$$invalidate(
|
3254
|
+
$$invalidate(7, visible = false);
|
3251
3255
|
|
3252
3256
|
return [
|
3253
3257
|
animation,
|
@@ -3256,6 +3260,7 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3256
3260
|
_closeStyle,
|
3257
3261
|
modal,
|
3258
3262
|
close,
|
3263
|
+
backgroundOverray,
|
3259
3264
|
visible,
|
3260
3265
|
handle_keydown,
|
3261
3266
|
marginStyle,
|
@@ -3263,7 +3268,6 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3263
3268
|
pos,
|
3264
3269
|
overwriteElasticity,
|
3265
3270
|
backgroundClick,
|
3266
|
-
backgroundOverray,
|
3267
3271
|
closable,
|
3268
3272
|
click,
|
3269
3273
|
$maximumZindex,
|
@@ -3275,9 +3279,9 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3275
3279
|
onClose,
|
3276
3280
|
closeEventName,
|
3277
3281
|
closeEventValue,
|
3282
|
+
backgroundClickFunction,
|
3278
3283
|
overwriteMargin,
|
3279
3284
|
overwritePosition,
|
3280
|
-
backgroundClickFunction,
|
3281
3285
|
$$scope,
|
3282
3286
|
slots,
|
3283
3287
|
div1_binding
|