import { nextTick, ref } from 'vue' /** * First-paint entrance shared by the tab screens (Home, Dashboard, Cart): * once a screen's first data load lands, its sections rise and fade in one * after another. The styles are the global `.reveal` / `.is-revealed` pair in * assets/styles/style.less. * * MasterLayout keeps the main tabs alive, but a screen still remounts after a * full-page route or if it is not in the keep-alive list. Which screens have * already played is kept here in module scope, so the entrance is a first-run * flourish that resets only on a full reload — replaying it on each return * would fight the page transition rather than add to it. (A `let` at the top of