The market window's tablet runs hot: find the Angular work that repeats, from computed to track. 12 levels, played right in the browser with nothing to install.
sumUnpaid adds up the unpaid rent, and a console.count counts it. The board's clock ticks every ten minutes, and two traders pay. Fill in unpaid so sumUnpaid runs once when the board comes on and once per payment, with a number that is always right.Rp15.000, not 15000. rupiah() in rupiah.ts counts itself with console.count, and RupiahPipe uses it. No stall's rent changes all day. Fill in how .rent writes its number so each stall is formatted only once.unpaidOnly pipe filters the unpaid stalls for the list under the tiles, and yesterday it ran at every tick. Fill in the pipe's nature in unpaid-only.ts and pay() in market.ts so the list is filtered only when someone pays, and a stall that paid leaves the list.stall-tile. Fill in track so no tile is rebuilt and the tick stays on Mrs. Rina's stall.clock.tick$ in ngOnInit. Four traders open it and close it again, yet the tablet stays busy until noon. Fill in ngOnDestroy so a closed panel leaves nothing running.pipe, with no ngOnDestroy. The panel still subscribes in ngOnInit and already asks for DestroyRef through inject. Fill in the operator inside pipe so the countdown runs while the panel is open and stops when it closes.left$, a stream of the minutes left, for its template. Fill in imports and the template's expression so the number shows, changes at each tick, and nothing stays behind once the panel closes.Clock service keeps the time twice in one subscription: now, plain text, and time, a signal. Nobody touches the board this morning until 08.00. Fill in the header's clock expression so the time is right at every tick.cash-summary for the market head. It and the tiles ask for DailyCash and Clock through inject; both are providedIn: 'root' and count themselves with console.count. Fill in the line in CashSummary's metadata so it writes the money taken, with one cash box and one clock.input and has an output named paidFor; the board's header writes Paid N of 8 stalls from market.stalls(). Fill in pay() in the tile so both the stall's lamp and the header's number change.month-summary writes the rent taken each month, and reads only the signal cash.monthly(). The clock ticks until 09.00, and Mrs. Yanti pays at 08.00. Fill in its change detection strategy so the summary is checked only when someone pays.