Sha256: 7251875f0448a474a2d98ad5b45c4dd6128ecf786ac38f83b8bf52a7d07ed302

Contents?: true

Size: 617 Bytes

Versions: 7

Compression:

Stored size: 617 Bytes

Contents

module MobileWorkflow
  module Displayable
    module Steps
      module List
        def mw_list_item(id: self.id, text:, detail_text: nil, sf_symbol_name: nil, material_icon_name: nil, preview_url: nil)
          { id: id, text: text, detailText: detail_text, sfSymbolName: sf_symbol_name, materialIconName: material_icon_name, imageURL: preview_url }.compact
        end
        
        def mw_list_search_suggestion(id: self.id, text:, section_name:, sf_symbol_name: nil)
          {id: id.to_s, text: text, sectionName: section_name, sfSymbolName: sf_symbol_name}.compact
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mobile_workflow-0.10.1 app/models/concerns/mobile_workflow/displayable/steps/list.rb
mobile_workflow-0.10.0 app/models/concerns/mobile_workflow/displayable/steps/list.rb
mobile_workflow-0.9.0 app/models/concerns/mobile_workflow/displayable/steps/list.rb
mobile_workflow-0.8.9 app/models/concerns/mobile_workflow/displayable/steps/list.rb
mobile_workflow-0.7.9 app/models/concerns/mobile_workflow/displayable/steps/list.rb
mobile_workflow-0.7.8 app/models/concerns/mobile_workflow/displayable/steps/list.rb
mobile_workflow-0.7.7 app/models/concerns/mobile_workflow/displayable/steps/list.rb