@plaidev/karte-action-sdk 1.1.174-28032865.9aa17837 → 1.1.174-28032911.de666439
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.js +34 -28
- package/dist/index.es.js +34 -28
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -3163,7 +3163,7 @@ function add_css$q(target) {
|
|
3163
3163
|
append_styles(target, "svelte-yyiwdt", ".modal.svelte-yyiwdt{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-yyiwdt > .button{flex:auto;display:flex}.close.svelte-yyiwdt{position:absolute;top:0;right:0}.close.svelte-yyiwdt > .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-yyiwdt > .button:hover{transform:rotate(90deg)}.modal-content.svelte-yyiwdt{flex:auto;display:flex;justify-content:center;align-items:center}");
|
3164
3164
|
}
|
3165
3165
|
|
3166
|
-
// (
|
3166
|
+
// (145:0) {#if visible}
|
3167
3167
|
function create_if_block$5(ctx) {
|
3168
3168
|
let div;
|
3169
3169
|
let button;
|
@@ -3209,7 +3209,7 @@ function create_if_block$5(ctx) {
|
|
3209
3209
|
m(target, anchor) {
|
3210
3210
|
insert_hydration(target, div, anchor);
|
3211
3211
|
mount_component(button, div, null);
|
3212
|
-
/*div_binding*/ ctx[
|
3212
|
+
/*div_binding*/ ctx[29](div);
|
3213
3213
|
current = true;
|
3214
3214
|
},
|
3215
3215
|
p(new_ctx, dirty) {
|
@@ -3219,7 +3219,7 @@ function create_if_block$5(ctx) {
|
|
3219
3219
|
if (dirty & /*clickEventName*/ 2) button_changes.eventName = /*clickEventName*/ ctx[1];
|
3220
3220
|
if (dirty & /*clickEventValue*/ 4) button_changes.eventValue = /*clickEventValue*/ ctx[2];
|
3221
3221
|
|
3222
|
-
if (dirty & /*$$scope, _style, $maximumZindex, onClose, _closeStyle, closeEventName, closeEventValue, closeButtonColor, closable*/
|
3222
|
+
if (dirty & /*$$scope, _style, $maximumZindex, onClose, _closeStyle, closeEventName, closeEventValue, closeButtonColor, closable*/ 1075315696) {
|
3223
3223
|
button_changes.$$scope = { dirty, ctx };
|
3224
3224
|
}
|
3225
3225
|
|
@@ -3253,12 +3253,12 @@ function create_if_block$5(ctx) {
|
|
3253
3253
|
d(detaching) {
|
3254
3254
|
if (detaching) detach(div);
|
3255
3255
|
destroy_component(button);
|
3256
|
-
/*div_binding*/ ctx[
|
3256
|
+
/*div_binding*/ ctx[29](null);
|
3257
3257
|
}
|
3258
3258
|
};
|
3259
3259
|
}
|
3260
3260
|
|
3261
|
-
// (
|
3261
|
+
// (162:6) {#if closable}
|
3262
3262
|
function create_if_block_1$1(ctx) {
|
3263
3263
|
let div;
|
3264
3264
|
let button;
|
@@ -3304,7 +3304,7 @@ function create_if_block_1$1(ctx) {
|
|
3304
3304
|
if (dirty & /*closeEventName*/ 64) button_changes.eventName = /*closeEventName*/ ctx[6];
|
3305
3305
|
if (dirty & /*closeEventValue*/ 128) button_changes.eventValue = /*closeEventValue*/ ctx[7];
|
3306
3306
|
|
3307
|
-
if (dirty & /*$$scope, closeButtonColor*/
|
3307
|
+
if (dirty & /*$$scope, closeButtonColor*/ 1073742080) {
|
3308
3308
|
button_changes.$$scope = { dirty, ctx };
|
3309
3309
|
}
|
3310
3310
|
|
@@ -3330,7 +3330,7 @@ function create_if_block_1$1(ctx) {
|
|
3330
3330
|
};
|
3331
3331
|
}
|
3332
3332
|
|
3333
|
-
// (
|
3333
|
+
// (164:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue}>
|
3334
3334
|
function create_default_slot_1$1(ctx) {
|
3335
3335
|
let svg;
|
3336
3336
|
let path;
|
@@ -3387,14 +3387,14 @@ function create_default_slot_1$1(ctx) {
|
|
3387
3387
|
};
|
3388
3388
|
}
|
3389
3389
|
|
3390
|
-
// (
|
3390
|
+
// (161:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
|
3391
3391
|
function create_default_slot$6(ctx) {
|
3392
3392
|
let t;
|
3393
3393
|
let div;
|
3394
3394
|
let current;
|
3395
3395
|
let if_block = /*closable*/ ctx[19] && create_if_block_1$1(ctx);
|
3396
|
-
const default_slot_template = /*#slots*/ ctx[
|
3397
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
3396
|
+
const default_slot_template = /*#slots*/ ctx[28].default;
|
3397
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[30], null);
|
3398
3398
|
|
3399
3399
|
return {
|
3400
3400
|
c() {
|
@@ -3453,15 +3453,15 @@ function create_default_slot$6(ctx) {
|
|
3453
3453
|
}
|
3454
3454
|
|
3455
3455
|
if (default_slot) {
|
3456
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
3456
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 1073741824)) {
|
3457
3457
|
update_slot_base(
|
3458
3458
|
default_slot,
|
3459
3459
|
default_slot_template,
|
3460
3460
|
ctx,
|
3461
|
-
/*$$scope*/ ctx[
|
3461
|
+
/*$$scope*/ ctx[30],
|
3462
3462
|
!current
|
3463
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
3464
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
3463
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[30])
|
3464
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[30], dirty, null),
|
3465
3465
|
null
|
3466
3466
|
);
|
3467
3467
|
}
|
@@ -3620,6 +3620,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3620
3620
|
let backgroundOverray = DefaultModalPlacement.backgroundOverlay;
|
3621
3621
|
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3622
3622
|
let modal;
|
3623
|
+
let { debugDisableAnimation = false } = $$props;
|
3623
3624
|
|
3624
3625
|
onMount$1(() => {
|
3625
3626
|
$$invalidate(12, visible = true);
|
@@ -3647,12 +3648,13 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3647
3648
|
if ('closeEventValue' in $$props) $$invalidate(7, closeEventValue = $$props.closeEventValue);
|
3648
3649
|
if ('closeButtonColor' in $$props) $$invalidate(8, closeButtonColor = $$props.closeButtonColor);
|
3649
3650
|
if ('_closeStyle' in $$props) $$invalidate(9, _closeStyle = $$props._closeStyle);
|
3650
|
-
if ('
|
3651
|
+
if ('debugDisableAnimation' in $$props) $$invalidate(23, debugDisableAnimation = $$props.debugDisableAnimation);
|
3652
|
+
if ('$$scope' in $$props) $$invalidate(30, $$scope = $$props.$$scope);
|
3651
3653
|
};
|
3652
3654
|
|
3653
3655
|
$$self.$$.update = () => {
|
3654
3656
|
if ($$self.$$.dirty & /*closeEventName, closeEventValue, onClose*/ 224) {
|
3655
|
-
$$invalidate(
|
3657
|
+
$$invalidate(25, close = () => {
|
3656
3658
|
if (closeEventName) {
|
3657
3659
|
send_event(closeEventName, closeEventValue);
|
3658
3660
|
}
|
@@ -3676,12 +3678,12 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3676
3678
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3677
3679
|
{
|
3678
3680
|
if (placement && placement.backgroundClick) {
|
3679
|
-
$$invalidate(
|
3681
|
+
$$invalidate(24, backgroundClickFunction = placement.backgroundClick);
|
3680
3682
|
}
|
3681
3683
|
}
|
3682
3684
|
}
|
3683
3685
|
|
3684
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
3686
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 16777408) {
|
3685
3687
|
$$invalidate(18, backgroundClick = () => {
|
3686
3688
|
if (closeEventName) {
|
3687
3689
|
send_event(closeEventName, closeEventValue);
|
@@ -3692,12 +3694,12 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3692
3694
|
}
|
3693
3695
|
|
3694
3696
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3695
|
-
$$invalidate(
|
3697
|
+
$$invalidate(27, overwritePosition = 'center'
|
3696
3698
|
);
|
3697
3699
|
}
|
3698
3700
|
|
3699
3701
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3700
|
-
$$invalidate(
|
3702
|
+
$$invalidate(26, overwriteMargin = {
|
3701
3703
|
left: '0px',
|
3702
3704
|
right: '0px',
|
3703
3705
|
top: '0px',
|
@@ -3710,28 +3712,30 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3710
3712
|
$$invalidate(17, overwriteElasticity = 'none' );
|
3711
3713
|
}
|
3712
3714
|
|
3713
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3715
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3714
3716
|
$$invalidate(16, pos = getPositionStyle(overwritePosition));
|
3715
3717
|
}
|
3716
3718
|
|
3717
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3719
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3718
3720
|
$$invalidate(15, transform = getTransform(overwritePosition));
|
3719
3721
|
}
|
3720
3722
|
|
3721
|
-
if ($$self.$$.dirty & /*overwriteMargin*/
|
3723
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 67108864) {
|
3722
3724
|
$$invalidate(14, marginStyle = getMarginStyle(overwriteMargin));
|
3723
3725
|
}
|
3724
3726
|
|
3725
|
-
if ($$self.$$.dirty & /*close, modal*/
|
3727
|
+
if ($$self.$$.dirty & /*close, modal*/ 33555456) {
|
3726
3728
|
$$invalidate(13, handle_keydown = handleKeydown({ Escape: close, Tab: handleFocus(modal) }));
|
3727
3729
|
}
|
3730
|
+
|
3731
|
+
if ($$self.$$.dirty & /*debugDisableAnimation*/ 8388608) {
|
3732
|
+
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3733
|
+
$$invalidate(12, visible = debugDisableAnimation ? true : false);
|
3734
|
+
}
|
3728
3735
|
};
|
3729
3736
|
|
3730
3737
|
$$invalidate(10, modal = null);
|
3731
3738
|
|
3732
|
-
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3733
|
-
$$invalidate(12, visible = false);
|
3734
|
-
|
3735
3739
|
return [
|
3736
3740
|
onClick,
|
3737
3741
|
clickEventName,
|
@@ -3756,6 +3760,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3756
3760
|
$maximumZindex,
|
3757
3761
|
placement,
|
3758
3762
|
elasticity,
|
3763
|
+
debugDisableAnimation,
|
3759
3764
|
backgroundClickFunction,
|
3760
3765
|
close,
|
3761
3766
|
overwriteMargin,
|
@@ -3788,7 +3793,8 @@ class Modal extends SvelteComponent {
|
|
3788
3793
|
closeEventName: 6,
|
3789
3794
|
closeEventValue: 7,
|
3790
3795
|
closeButtonColor: 8,
|
3791
|
-
_closeStyle: 9
|
3796
|
+
_closeStyle: 9,
|
3797
|
+
debugDisableAnimation: 23
|
3792
3798
|
},
|
3793
3799
|
add_css$q
|
3794
3800
|
);
|
package/dist/index.es.js
CHANGED
@@ -3192,7 +3192,7 @@ function add_css$q(target) {
|
|
3192
3192
|
append_styles(target, "svelte-yyiwdt", ".modal.svelte-yyiwdt{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-yyiwdt > .button{flex:auto;display:flex}.close.svelte-yyiwdt{position:absolute;top:0;right:0}.close.svelte-yyiwdt > .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-yyiwdt > .button:hover{transform:rotate(90deg)}.modal-content.svelte-yyiwdt{flex:auto;display:flex;justify-content:center;align-items:center}");
|
3193
3193
|
}
|
3194
3194
|
|
3195
|
-
// (
|
3195
|
+
// (145:0) {#if visible}
|
3196
3196
|
function create_if_block$5(ctx) {
|
3197
3197
|
let div;
|
3198
3198
|
let button;
|
@@ -3222,7 +3222,7 @@ function create_if_block$5(ctx) {
|
|
3222
3222
|
m(target, anchor) {
|
3223
3223
|
insert(target, div, anchor);
|
3224
3224
|
mount_component(button, div, null);
|
3225
|
-
/*div_binding*/ ctx[
|
3225
|
+
/*div_binding*/ ctx[29](div);
|
3226
3226
|
current = true;
|
3227
3227
|
},
|
3228
3228
|
p(new_ctx, dirty) {
|
@@ -3232,7 +3232,7 @@ function create_if_block$5(ctx) {
|
|
3232
3232
|
if (dirty & /*clickEventName*/ 2) button_changes.eventName = /*clickEventName*/ ctx[1];
|
3233
3233
|
if (dirty & /*clickEventValue*/ 4) button_changes.eventValue = /*clickEventValue*/ ctx[2];
|
3234
3234
|
|
3235
|
-
if (dirty & /*$$scope, _style, $maximumZindex, onClose, _closeStyle, closeEventName, closeEventValue, closeButtonColor, closable*/
|
3235
|
+
if (dirty & /*$$scope, _style, $maximumZindex, onClose, _closeStyle, closeEventName, closeEventValue, closeButtonColor, closable*/ 1075315696) {
|
3236
3236
|
button_changes.$$scope = { dirty, ctx };
|
3237
3237
|
}
|
3238
3238
|
|
@@ -3266,12 +3266,12 @@ function create_if_block$5(ctx) {
|
|
3266
3266
|
d(detaching) {
|
3267
3267
|
if (detaching) detach(div);
|
3268
3268
|
destroy_component(button);
|
3269
|
-
/*div_binding*/ ctx[
|
3269
|
+
/*div_binding*/ ctx[29](null);
|
3270
3270
|
}
|
3271
3271
|
};
|
3272
3272
|
}
|
3273
3273
|
|
3274
|
-
// (
|
3274
|
+
// (162:6) {#if closable}
|
3275
3275
|
function create_if_block_1$1(ctx) {
|
3276
3276
|
let div;
|
3277
3277
|
let button;
|
@@ -3307,7 +3307,7 @@ function create_if_block_1$1(ctx) {
|
|
3307
3307
|
if (dirty & /*closeEventName*/ 64) button_changes.eventName = /*closeEventName*/ ctx[6];
|
3308
3308
|
if (dirty & /*closeEventValue*/ 128) button_changes.eventValue = /*closeEventValue*/ ctx[7];
|
3309
3309
|
|
3310
|
-
if (dirty & /*$$scope, closeButtonColor*/
|
3310
|
+
if (dirty & /*$$scope, closeButtonColor*/ 1073742080) {
|
3311
3311
|
button_changes.$$scope = { dirty, ctx };
|
3312
3312
|
}
|
3313
3313
|
|
@@ -3333,7 +3333,7 @@ function create_if_block_1$1(ctx) {
|
|
3333
3333
|
};
|
3334
3334
|
}
|
3335
3335
|
|
3336
|
-
// (
|
3336
|
+
// (164:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue}>
|
3337
3337
|
function create_default_slot_1$1(ctx) {
|
3338
3338
|
let svg;
|
3339
3339
|
let path;
|
@@ -3366,14 +3366,14 @@ function create_default_slot_1$1(ctx) {
|
|
3366
3366
|
};
|
3367
3367
|
}
|
3368
3368
|
|
3369
|
-
// (
|
3369
|
+
// (161:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
|
3370
3370
|
function create_default_slot$6(ctx) {
|
3371
3371
|
let t;
|
3372
3372
|
let div;
|
3373
3373
|
let current;
|
3374
3374
|
let if_block = /*closable*/ ctx[19] && create_if_block_1$1(ctx);
|
3375
|
-
const default_slot_template = /*#slots*/ ctx[
|
3376
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
3375
|
+
const default_slot_template = /*#slots*/ ctx[28].default;
|
3376
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[30], null);
|
3377
3377
|
|
3378
3378
|
return {
|
3379
3379
|
c() {
|
@@ -3420,15 +3420,15 @@ function create_default_slot$6(ctx) {
|
|
3420
3420
|
}
|
3421
3421
|
|
3422
3422
|
if (default_slot) {
|
3423
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
3423
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 1073741824)) {
|
3424
3424
|
update_slot_base(
|
3425
3425
|
default_slot,
|
3426
3426
|
default_slot_template,
|
3427
3427
|
ctx,
|
3428
|
-
/*$$scope*/ ctx[
|
3428
|
+
/*$$scope*/ ctx[30],
|
3429
3429
|
!current
|
3430
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
3431
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
3430
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[30])
|
3431
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[30], dirty, null),
|
3432
3432
|
null
|
3433
3433
|
);
|
3434
3434
|
}
|
@@ -3581,6 +3581,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3581
3581
|
let backgroundOverray = DefaultModalPlacement.backgroundOverlay;
|
3582
3582
|
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3583
3583
|
let modal;
|
3584
|
+
let { debugDisableAnimation = false } = $$props;
|
3584
3585
|
|
3585
3586
|
onMount$1(() => {
|
3586
3587
|
$$invalidate(12, visible = true);
|
@@ -3608,12 +3609,13 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3608
3609
|
if ('closeEventValue' in $$props) $$invalidate(7, closeEventValue = $$props.closeEventValue);
|
3609
3610
|
if ('closeButtonColor' in $$props) $$invalidate(8, closeButtonColor = $$props.closeButtonColor);
|
3610
3611
|
if ('_closeStyle' in $$props) $$invalidate(9, _closeStyle = $$props._closeStyle);
|
3611
|
-
if ('
|
3612
|
+
if ('debugDisableAnimation' in $$props) $$invalidate(23, debugDisableAnimation = $$props.debugDisableAnimation);
|
3613
|
+
if ('$$scope' in $$props) $$invalidate(30, $$scope = $$props.$$scope);
|
3612
3614
|
};
|
3613
3615
|
|
3614
3616
|
$$self.$$.update = () => {
|
3615
3617
|
if ($$self.$$.dirty & /*closeEventName, closeEventValue, onClose*/ 224) {
|
3616
|
-
$$invalidate(
|
3618
|
+
$$invalidate(25, close = () => {
|
3617
3619
|
if (closeEventName) {
|
3618
3620
|
send_event(closeEventName, closeEventValue);
|
3619
3621
|
}
|
@@ -3637,12 +3639,12 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3637
3639
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3638
3640
|
{
|
3639
3641
|
if (placement && placement.backgroundClick) {
|
3640
|
-
$$invalidate(
|
3642
|
+
$$invalidate(24, backgroundClickFunction = placement.backgroundClick);
|
3641
3643
|
}
|
3642
3644
|
}
|
3643
3645
|
}
|
3644
3646
|
|
3645
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
3647
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 16777408) {
|
3646
3648
|
$$invalidate(18, backgroundClick = () => {
|
3647
3649
|
if (closeEventName) {
|
3648
3650
|
send_event(closeEventName, closeEventValue);
|
@@ -3653,13 +3655,13 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3653
3655
|
}
|
3654
3656
|
|
3655
3657
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3656
|
-
$$invalidate(
|
3658
|
+
$$invalidate(27, overwritePosition = placement && placement.position != null
|
3657
3659
|
? placement.position
|
3658
3660
|
: DefaultModalPlacement.position);
|
3659
3661
|
}
|
3660
3662
|
|
3661
3663
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3662
|
-
$$invalidate(
|
3664
|
+
$$invalidate(26, overwriteMargin = placement && placement.margin != null
|
3663
3665
|
? placement.margin
|
3664
3666
|
: DefaultModalPlacement.margin);
|
3665
3667
|
}
|
@@ -3668,28 +3670,30 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3668
3670
|
$$invalidate(17, overwriteElasticity = elasticity);
|
3669
3671
|
}
|
3670
3672
|
|
3671
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3673
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3672
3674
|
$$invalidate(16, pos = getPositionStyle(overwritePosition));
|
3673
3675
|
}
|
3674
3676
|
|
3675
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3677
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3676
3678
|
$$invalidate(15, transform = getTransform(overwritePosition));
|
3677
3679
|
}
|
3678
3680
|
|
3679
|
-
if ($$self.$$.dirty & /*overwriteMargin*/
|
3681
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 67108864) {
|
3680
3682
|
$$invalidate(14, marginStyle = getMarginStyle(overwriteMargin));
|
3681
3683
|
}
|
3682
3684
|
|
3683
|
-
if ($$self.$$.dirty & /*close, modal*/
|
3685
|
+
if ($$self.$$.dirty & /*close, modal*/ 33555456) {
|
3684
3686
|
$$invalidate(13, handle_keydown = handleKeydown({ Escape: close, Tab: handleFocus(modal) }));
|
3685
3687
|
}
|
3688
|
+
|
3689
|
+
if ($$self.$$.dirty & /*debugDisableAnimation*/ 8388608) {
|
3690
|
+
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3691
|
+
$$invalidate(12, visible = debugDisableAnimation ? true : false);
|
3692
|
+
}
|
3686
3693
|
};
|
3687
3694
|
|
3688
3695
|
$$invalidate(10, modal = null);
|
3689
3696
|
|
3690
|
-
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3691
|
-
$$invalidate(12, visible = false);
|
3692
|
-
|
3693
3697
|
return [
|
3694
3698
|
onClick,
|
3695
3699
|
clickEventName,
|
@@ -3714,6 +3718,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3714
3718
|
$maximumZindex,
|
3715
3719
|
placement,
|
3716
3720
|
elasticity,
|
3721
|
+
debugDisableAnimation,
|
3717
3722
|
backgroundClickFunction,
|
3718
3723
|
close,
|
3719
3724
|
overwriteMargin,
|
@@ -3746,7 +3751,8 @@ class Modal extends SvelteComponent {
|
|
3746
3751
|
closeEventName: 6,
|
3747
3752
|
closeEventValue: 7,
|
3748
3753
|
closeButtonColor: 8,
|
3749
|
-
_closeStyle: 9
|
3754
|
+
_closeStyle: 9,
|
3755
|
+
debugDisableAnimation: 23
|
3750
3756
|
},
|
3751
3757
|
add_css$q
|
3752
3758
|
);
|