Liking cljdoc? Tell your friends :D

boundary.admin.core.ui.list

Entity list-page components: search form, table rows, table, and the complete list page (toolbar + filter builder + table).

Pure Hiccup generators. Depends on base for URL helpers, field-value rendering, and column sizing, and on filters for the filter builder.

Entity list-page components: search form, table rows, table, and the
complete list page (toolbar + filter builder + table).

Pure Hiccup generators. Depends on `base` for URL helpers, field-value
rendering, and column sizing, and on `filters` for the filter builder.
raw docstring

entity-list-pageclj

(entity-list-page entity-name
                  records
                  entity-config
                  table-query
                  total-count
                  permissions
                  &
                  [opts])

Complete entity list page with search, table, and actions.

Args: entity-name: Keyword entity name records: Collection of entity records entity-config: Entity configuration map table-query: Table query parameters total-count: Total number of records permissions: Permission flags opts: Optional map with :search, :filters, :flash

Returns: Hiccup page structure

Complete entity list page with search, table, and actions.

Args:
  entity-name: Keyword entity name
  records: Collection of entity records
  entity-config: Entity configuration map
  table-query: Table query parameters
  total-count: Total number of records
  permissions: Permission flags
  opts: Optional map with :search, :filters, :flash

Returns:
  Hiccup page structure
sourceraw docstring

entity-search-formclj

(entity-search-form entity-name entity-config current-search _current-filters)

Compact inline search form for entity list filtering.

Args: entity-name: Keyword entity name entity-config: Entity configuration map current-search: Current search term (optional) current-filters: Current filter values (optional)

Returns: Hiccup search form structure

Compact inline search form for entity list filtering.

Args:
  entity-name: Keyword entity name
  entity-config: Entity configuration map
  current-search: Current search term (optional)
  current-filters: Current filter values (optional)

 Returns:
   Hiccup search form structure
sourceraw docstring

entity-tableclj

(entity-table entity-name
              records
              entity-config
              table-query
              total-count
              permissions
              &
              [filters])

Generate entity table with sorting and pagination.

Args: entity-name: Keyword entity name records: Collection of entity records entity-config: Entity configuration map table-query: Table query parameters (sort, page, etc.) total-count: Total number of records permissions: Permission flags filters: Optional search filters

Returns: Hiccup table structure

Generate entity table with sorting and pagination.

Args:
  entity-name: Keyword entity name
  records: Collection of entity records
  entity-config: Entity configuration map
  table-query: Table query parameters (sort, page, etc.)
  total-count: Total number of records
  permissions: Permission flags
  filters: Optional search filters

Returns:
  Hiccup table structure
sourceraw docstring

entity-table-rowclj

(entity-table-row entity-name record entity-config permissions)

Generate entity table row.

Args: entity-name: Keyword entity name record: Entity record map entity-config: Entity configuration map permissions: Permission flags for this entity

Returns: Hiccup table row

Generate entity table row.

Args:
  entity-name: Keyword entity name
  record: Entity record map
  entity-config: Entity configuration map
  permissions: Permission flags for this entity

Returns:
  Hiccup table row
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close