@plaidev/karte-action-sdk 1.1.174-28032767.85495e8a → 1.1.174-28032911.de666439
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 +34 -28
- package/dist/index.es.js +37 -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
@@ -1066,6 +1066,9 @@ const EASING = {
|
|
1066
1066
|
* @internal
|
1067
1067
|
*/
|
1068
1068
|
function customAnimation(node, { transform, animationStyle, delay = 0, duration = 1000 }) {
|
1069
|
+
if (animationStyle === 'none') {
|
1070
|
+
return {};
|
1071
|
+
}
|
1069
1072
|
const [x, y] = transform;
|
1070
1073
|
return {
|
1071
1074
|
delay,
|
@@ -3189,7 +3192,7 @@ function add_css$q(target) {
|
|
3189
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}");
|
3190
3193
|
}
|
3191
3194
|
|
3192
|
-
// (
|
3195
|
+
// (145:0) {#if visible}
|
3193
3196
|
function create_if_block$5(ctx) {
|
3194
3197
|
let div;
|
3195
3198
|
let button;
|
@@ -3219,7 +3222,7 @@ function create_if_block$5(ctx) {
|
|
3219
3222
|
m(target, anchor) {
|
3220
3223
|
insert(target, div, anchor);
|
3221
3224
|
mount_component(button, div, null);
|
3222
|
-
/*div_binding*/ ctx[
|
3225
|
+
/*div_binding*/ ctx[29](div);
|
3223
3226
|
current = true;
|
3224
3227
|
},
|
3225
3228
|
p(new_ctx, dirty) {
|
@@ -3229,7 +3232,7 @@ function create_if_block$5(ctx) {
|
|
3229
3232
|
if (dirty & /*clickEventName*/ 2) button_changes.eventName = /*clickEventName*/ ctx[1];
|
3230
3233
|
if (dirty & /*clickEventValue*/ 4) button_changes.eventValue = /*clickEventValue*/ ctx[2];
|
3231
3234
|
|
3232
|
-
if (dirty & /*$$scope, _style, $maximumZindex, onClose, _closeStyle, closeEventName, closeEventValue, closeButtonColor, closable*/
|
3235
|
+
if (dirty & /*$$scope, _style, $maximumZindex, onClose, _closeStyle, closeEventName, closeEventValue, closeButtonColor, closable*/ 1075315696) {
|
3233
3236
|
button_changes.$$scope = { dirty, ctx };
|
3234
3237
|
}
|
3235
3238
|
|
@@ -3263,12 +3266,12 @@ function create_if_block$5(ctx) {
|
|
3263
3266
|
d(detaching) {
|
3264
3267
|
if (detaching) detach(div);
|
3265
3268
|
destroy_component(button);
|
3266
|
-
/*div_binding*/ ctx[
|
3269
|
+
/*div_binding*/ ctx[29](null);
|
3267
3270
|
}
|
3268
3271
|
};
|
3269
3272
|
}
|
3270
3273
|
|
3271
|
-
// (
|
3274
|
+
// (162:6) {#if closable}
|
3272
3275
|
function create_if_block_1$1(ctx) {
|
3273
3276
|
let div;
|
3274
3277
|
let button;
|
@@ -3304,7 +3307,7 @@ function create_if_block_1$1(ctx) {
|
|
3304
3307
|
if (dirty & /*closeEventName*/ 64) button_changes.eventName = /*closeEventName*/ ctx[6];
|
3305
3308
|
if (dirty & /*closeEventValue*/ 128) button_changes.eventValue = /*closeEventValue*/ ctx[7];
|
3306
3309
|
|
3307
|
-
if (dirty & /*$$scope, closeButtonColor*/
|
3310
|
+
if (dirty & /*$$scope, closeButtonColor*/ 1073742080) {
|
3308
3311
|
button_changes.$$scope = { dirty, ctx };
|
3309
3312
|
}
|
3310
3313
|
|
@@ -3330,7 +3333,7 @@ function create_if_block_1$1(ctx) {
|
|
3330
3333
|
};
|
3331
3334
|
}
|
3332
3335
|
|
3333
|
-
// (
|
3336
|
+
// (164:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue}>
|
3334
3337
|
function create_default_slot_1$1(ctx) {
|
3335
3338
|
let svg;
|
3336
3339
|
let path;
|
@@ -3363,14 +3366,14 @@ function create_default_slot_1$1(ctx) {
|
|
3363
3366
|
};
|
3364
3367
|
}
|
3365
3368
|
|
3366
|
-
// (
|
3369
|
+
// (161:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
|
3367
3370
|
function create_default_slot$6(ctx) {
|
3368
3371
|
let t;
|
3369
3372
|
let div;
|
3370
3373
|
let current;
|
3371
3374
|
let if_block = /*closable*/ ctx[19] && create_if_block_1$1(ctx);
|
3372
|
-
const default_slot_template = /*#slots*/ ctx[
|
3373
|
-
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);
|
3374
3377
|
|
3375
3378
|
return {
|
3376
3379
|
c() {
|
@@ -3417,15 +3420,15 @@ function create_default_slot$6(ctx) {
|
|
3417
3420
|
}
|
3418
3421
|
|
3419
3422
|
if (default_slot) {
|
3420
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
3423
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 1073741824)) {
|
3421
3424
|
update_slot_base(
|
3422
3425
|
default_slot,
|
3423
3426
|
default_slot_template,
|
3424
3427
|
ctx,
|
3425
|
-
/*$$scope*/ ctx[
|
3428
|
+
/*$$scope*/ ctx[30],
|
3426
3429
|
!current
|
3427
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
3428
|
-
: 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),
|
3429
3432
|
null
|
3430
3433
|
);
|
3431
3434
|
}
|
@@ -3578,6 +3581,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3578
3581
|
let backgroundOverray = DefaultModalPlacement.backgroundOverlay;
|
3579
3582
|
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3580
3583
|
let modal;
|
3584
|
+
let { debugDisableAnimation = false } = $$props;
|
3581
3585
|
|
3582
3586
|
onMount$1(() => {
|
3583
3587
|
$$invalidate(12, visible = true);
|
@@ -3605,12 +3609,13 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3605
3609
|
if ('closeEventValue' in $$props) $$invalidate(7, closeEventValue = $$props.closeEventValue);
|
3606
3610
|
if ('closeButtonColor' in $$props) $$invalidate(8, closeButtonColor = $$props.closeButtonColor);
|
3607
3611
|
if ('_closeStyle' in $$props) $$invalidate(9, _closeStyle = $$props._closeStyle);
|
3608
|
-
if ('
|
3612
|
+
if ('debugDisableAnimation' in $$props) $$invalidate(23, debugDisableAnimation = $$props.debugDisableAnimation);
|
3613
|
+
if ('$$scope' in $$props) $$invalidate(30, $$scope = $$props.$$scope);
|
3609
3614
|
};
|
3610
3615
|
|
3611
3616
|
$$self.$$.update = () => {
|
3612
3617
|
if ($$self.$$.dirty & /*closeEventName, closeEventValue, onClose*/ 224) {
|
3613
|
-
$$invalidate(
|
3618
|
+
$$invalidate(25, close = () => {
|
3614
3619
|
if (closeEventName) {
|
3615
3620
|
send_event(closeEventName, closeEventValue);
|
3616
3621
|
}
|
@@ -3634,12 +3639,12 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3634
3639
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3635
3640
|
{
|
3636
3641
|
if (placement && placement.backgroundClick) {
|
3637
|
-
$$invalidate(
|
3642
|
+
$$invalidate(24, backgroundClickFunction = placement.backgroundClick);
|
3638
3643
|
}
|
3639
3644
|
}
|
3640
3645
|
}
|
3641
3646
|
|
3642
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
3647
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 16777408) {
|
3643
3648
|
$$invalidate(18, backgroundClick = () => {
|
3644
3649
|
if (closeEventName) {
|
3645
3650
|
send_event(closeEventName, closeEventValue);
|
@@ -3650,13 +3655,13 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3650
3655
|
}
|
3651
3656
|
|
3652
3657
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3653
|
-
$$invalidate(
|
3658
|
+
$$invalidate(27, overwritePosition = placement && placement.position != null
|
3654
3659
|
? placement.position
|
3655
3660
|
: DefaultModalPlacement.position);
|
3656
3661
|
}
|
3657
3662
|
|
3658
3663
|
if ($$self.$$.dirty & /*placement*/ 2097152) {
|
3659
|
-
$$invalidate(
|
3664
|
+
$$invalidate(26, overwriteMargin = placement && placement.margin != null
|
3660
3665
|
? placement.margin
|
3661
3666
|
: DefaultModalPlacement.margin);
|
3662
3667
|
}
|
@@ -3665,28 +3670,30 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3665
3670
|
$$invalidate(17, overwriteElasticity = elasticity);
|
3666
3671
|
}
|
3667
3672
|
|
3668
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3673
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3669
3674
|
$$invalidate(16, pos = getPositionStyle(overwritePosition));
|
3670
3675
|
}
|
3671
3676
|
|
3672
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3677
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3673
3678
|
$$invalidate(15, transform = getTransform(overwritePosition));
|
3674
3679
|
}
|
3675
3680
|
|
3676
|
-
if ($$self.$$.dirty & /*overwriteMargin*/
|
3681
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 67108864) {
|
3677
3682
|
$$invalidate(14, marginStyle = getMarginStyle(overwriteMargin));
|
3678
3683
|
}
|
3679
3684
|
|
3680
|
-
if ($$self.$$.dirty & /*close, modal*/
|
3685
|
+
if ($$self.$$.dirty & /*close, modal*/ 33555456) {
|
3681
3686
|
$$invalidate(13, handle_keydown = handleKeydown({ Escape: close, Tab: handleFocus(modal) }));
|
3682
3687
|
}
|
3688
|
+
|
3689
|
+
if ($$self.$$.dirty & /*debugDisableAnimation*/ 8388608) {
|
3690
|
+
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3691
|
+
$$invalidate(12, visible = debugDisableAnimation ? true : false);
|
3692
|
+
}
|
3683
3693
|
};
|
3684
3694
|
|
3685
3695
|
$$invalidate(10, modal = null);
|
3686
3696
|
|
3687
|
-
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3688
|
-
$$invalidate(12, visible = false);
|
3689
|
-
|
3690
3697
|
return [
|
3691
3698
|
onClick,
|
3692
3699
|
clickEventName,
|
@@ -3711,6 +3718,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
3711
3718
|
$maximumZindex,
|
3712
3719
|
placement,
|
3713
3720
|
elasticity,
|
3721
|
+
debugDisableAnimation,
|
3714
3722
|
backgroundClickFunction,
|
3715
3723
|
close,
|
3716
3724
|
overwriteMargin,
|
@@ -3743,7 +3751,8 @@ class Modal extends SvelteComponent {
|
|
3743
3751
|
closeEventName: 6,
|
3744
3752
|
closeEventValue: 7,
|
3745
3753
|
closeButtonColor: 8,
|
3746
|
-
_closeStyle: 9
|
3754
|
+
_closeStyle: 9,
|
3755
|
+
debugDisableAnimation: 23
|
3747
3756
|
},
|
3748
3757
|
add_css$q
|
3749
3758
|
);
|