|
|
|
@ -26,7 +26,6 @@ import {
|
|
|
|
EACH_IS_CONTROLLED,
|
|
|
|
EACH_IS_CONTROLLED,
|
|
|
|
EACH_INDEX_REACTIVE,
|
|
|
|
EACH_INDEX_REACTIVE,
|
|
|
|
EACH_ITEM_REACTIVE,
|
|
|
|
EACH_ITEM_REACTIVE,
|
|
|
|
EACH_IS_ANIMATED,
|
|
|
|
|
|
|
|
PassiveDelegatedEvents,
|
|
|
|
PassiveDelegatedEvents,
|
|
|
|
DelegatedEvents
|
|
|
|
DelegatedEvents
|
|
|
|
} from '../../constants.js';
|
|
|
|
} from '../../constants.js';
|
|
|
|
@ -1400,6 +1399,7 @@ function if_block(anchor_node, condition_fn, consequent_fn, alternate_fn) {
|
|
|
|
block.current = result;
|
|
|
|
block.current = result;
|
|
|
|
if (has_mounted) {
|
|
|
|
if (has_mounted) {
|
|
|
|
if (result) {
|
|
|
|
if (result) {
|
|
|
|
|
|
|
|
remove_in_transitions(alternate_transitions);
|
|
|
|
if (alternate_transitions.size === 0) {
|
|
|
|
if (alternate_transitions.size === 0) {
|
|
|
|
execute_effect(alternate_effect);
|
|
|
|
execute_effect(alternate_effect);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
@ -1411,6 +1411,7 @@ function if_block(anchor_node, condition_fn, consequent_fn, alternate_fn) {
|
|
|
|
trigger_transitions(consequent_transitions, 'in');
|
|
|
|
trigger_transitions(consequent_transitions, 'in');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
remove_in_transitions(consequent_transitions);
|
|
|
|
if (consequent_transitions.size === 0) {
|
|
|
|
if (consequent_transitions.size === 0) {
|
|
|
|
execute_effect(consequent_effect);
|
|
|
|
execute_effect(consequent_effect);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|