support MaybeSignal in view

This commit is contained in:
Greg Johnston 2024-06-30 07:09:44 -04:00
parent ddc7abf081
commit 6885777c75
5 changed files with 10 additions and 5 deletions

View File

@ -613,13 +613,14 @@ mod stable {
computed::{ArcMemo, Memo},
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, Signal},
wrappers::read::{ArcSignal, MaybeSignal, Signal},
};
class_signal!(RwSignal);
class_signal!(ReadSignal);
class_signal!(Memo);
class_signal!(Signal);
class_signal!(MaybeSignal);
class_signal_unsend!(ArcRwSignal);
class_signal_unsend!(ArcReadSignal);
class_signal!(ArcMemo);

View File

@ -78,7 +78,7 @@ mod stable {
effect::RenderEffect,
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, Signal},
wrappers::read::{ArcSignal, MaybeSignal, Signal},
};
macro_rules! inner_html_signal {
@ -179,6 +179,7 @@ mod stable {
inner_html_signal!(ReadSignal);
inner_html_signal!(Memo);
inner_html_signal!(Signal);
inner_html_signal!(MaybeSignal);
inner_html_signal_unsend!(ArcRwSignal);
inner_html_signal_unsend!(ArcReadSignal);
inner_html_signal!(ArcMemo);

View File

@ -415,7 +415,7 @@ mod stable {
computed::{ArcMemo, Memo},
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, Signal},
wrappers::read::{ArcSignal, MaybeSignal, Signal},
};
macro_rules! signal_impl {
@ -732,6 +732,7 @@ mod stable {
signal_impl!(ReadSignal false);
signal_impl!(Memo true);
signal_impl!(Signal true);
signal_impl!(MaybeSignal true);
signal_impl_unsend!(ArcRwSignal false);
signal_impl_unsend!(ArcReadSignal false);
signal_impl!(ArcMemo false);

View File

@ -94,7 +94,7 @@ mod stable {
effect::RenderEffect,
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, Signal},
wrappers::read::{ArcSignal, MaybeSignal, Signal},
};
macro_rules! property_signal {
@ -187,6 +187,7 @@ mod stable {
property_signal!(ReadSignal);
property_signal!(Memo);
property_signal!(Signal);
property_signal!(MaybeSignal);
property_signal_unsend!(ArcRwSignal);
property_signal_unsend!(ArcReadSignal);
property_signal!(ArcMemo);

View File

@ -363,7 +363,7 @@ mod stable {
computed::{ArcMemo, Memo},
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, Signal},
wrappers::read::{ArcSignal, MaybeSignal, Signal},
};
use std::borrow::Cow;
@ -371,6 +371,7 @@ mod stable {
style_signal!(ReadSignal);
style_signal!(Memo);
style_signal!(Signal);
style_signal!(MaybeSignal);
style_signal_unsend!(ArcRwSignal);
style_signal_unsend!(ArcReadSignal);
style_signal!(ArcMemo);