Package com.onec.ui.divkit
package com.onec.ui.divkit
-
ClassDescriptionBuilds 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 availableAuthMethods.Renders an authoredPageto DivKit content: a header, the composed widget area, then any freeformPageComponentblocks.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 — thetopbar(brand + actions) and thenav— so the client can position them perNavStyle: nav as a horizontalTOPBAR, a verticalSIDEBARrail, or a pinnedBOTTOM_BAR.A branding logo for the shell header / mobile menu: the (theme-resolved) image URL plus optional fixedwidth/heightin 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.