Package com.onec.ui.divkit


package com.onec.ui.divkit
  • Class
    Description
    Builds the home/dashboard content div: a greeting header and the widget area.
    Factories + fluent styling helpers for real DivKit div nodes, emitted as plain maps so Jackson serializes them to the DivKit JSON schema ("type": "container" | "text" | "gallery" | "image" | "separator" | ...).
    Wraps a root div in the DivKit document envelope ({ templates, card: { log_id, states: [{ state_id, div }] } }) that every official DivKit renderer (Web, iOS, Android, Flutter) consumes.
    Builds the server-driven login screen as a DivKit card from the available AuthMethods.
    Renders an authored Page to DivKit content: a header, the composed widget area, then any freeform PageComponent blocks.
    Theme-aware color palette mirroring the app's shadcn CSS variables (a neutral, zero-saturation scale) so emitted DivKit surfaces match the rest of the UI in light and dark.
    Emits the app chrome as two independent DivKit cards — the topbar (brand + actions) and the nav — so the client can position them per NavStyle: nav as a horizontal TOPBAR, a vertical SIDEBAR rail, or a pinned BOTTOM_BAR.
    A branding logo for the shell header / mobile menu: the (theme-resolved) image URL plus optional fixed width/height in dp.
     
     
     
    Builds the per-surface DivKit content (catalog/document lists, document detail, register report) from the resolved metadata view + data rows.
    One detail-header action.