{: rooto:"YARD::CodeObjects::RootObject:@childrenIC:&YARD::CodeObjects::CodeObjectList[o:$YARD::CodeObjects::ModuleObject;IC;[ o; ;IC;[o; ;IC;[$o:#YARD::CodeObjects::ClassObject;IC;[ o:$YARD::CodeObjects::MethodObject:@module_functionF: @scope: instance:@visibility: public: @pathI"%UiBibz::Ui::Core::Col#initialize:EF:@parameters[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0: @files[[I"lib/ui_bibz/ui/core/col.rb;Ti5:@current_file_has_commentsT: @name:initialize:@source_type: ruby: @tags[:@docstrings{:@docstringIC:YARD::Docstring"/See UiBibz::Ui::Core::Component.initialize ;F:@ref_tags[;[o:YARD::Tags::Tag :@tag_nameI" return;F: @textI"a new instance of Col;F;0: @types[I"Col;F: @object@: @allI"/See UiBibz::Ui::Core::Component.initialize;T:@unresolved_reference0;#@:@hash_flagF:@line_rangeo: Range: exclF: begini4:endi4:@namespace@: @sourceI"edef initialize content = nil, options = nil, html_options = nil, &block super @cols = [] end;T:@signatureI"Ldef initialize content = nil, options = nil, html_options = nil, &block;T: @dynamicT:@explicitTo; ; F; ;;;;I"!UiBibz::Ui::Core::Col#render;F;[;[[@ i;;T;: render;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@/;&F;'o;(;)F;*i:;+i:;,@;-I"Udef render content_tag :div, @content, class_and_html_options(col_classes) end;T;.I"def render;T;/T;0To; ; F; ;;: private;I"&UiBibz::Ui::Core::Col#col_classes;F;[;[[@ iA;F;:col_classes;;;[;{;IC;" ;F;#@=: @summary0;&F;[;[;$I";F;%0;,@;-I"def col_classes classes = [] [@options].flatten.each do |col| classes << add_classes("col-#{ size(col) }-#{ num(col) }", offset(col)) end @options = {} classes.join(' ') end;T;.I"def col_classes;T;/T;0To; ; F; ;;;2;I"UiBibz::Ui::Core::Col#size;F;[[I"col;T0;[[@ iJ;F;: size;;;[;{;IC;" ;F;#@J;40;&F;[;[;$I";F;%0;,@;-I")def size col col[:size] || :md end;T;.I"def size col;T;/T;0To; ; F; ;;;2;I"UiBibz::Ui::Core::Col#num;F;[[I"col;T0;[[@ iN;F;:num;;;[;{;IC;" ;F;#@Y;40;&F;[;[;$I";F;%0;,@;-I"%def num col col[:num] || 1 end;T;.I"def num col;T;/T;0To; ; F; ;;;2;I"!UiBibz::Ui::Core::Col#offset;F;[[I"col;T0;[[@ iR;F;: offset;;;[;{;IC;" ;F;#@h;40;&F;[;[;$I";F;%0;,@;-I"Hdef offset col "col-offset-#{ col[:offset] }" if col[:offset] end;T;.I"def offset col;T;/T;0T: @owner@:@class_mixinsIC;[;8@:@instance_mixinsIC;[;8@:@attributesIC:SymbolHash{: classIC;<{:@symbolize_valueT;IC;<{;>T;>T: @aliases{: @groups[;[[@ i2;T;:Col;;;;;[;{;IC;"ZCreate a col This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +num+ - Integer | 0..12 * +offset+ - Integer * +size+ - Integer ==== Signatures UiBibz::Ui::Core::Col.new(content, options = {}, html_options = {}).render UiBibz::Ui::Core::Col.new(options = {}, html_options = {}) do content end.render ==== Examples UiBibz::Ui::Core::Col.new({num: 2, offset: 1, size: 3}, class: 'test') do #content end UiBibz::Ui::Core::Col.new([{num: 2, offset: 1, size: 3}, { num: 3}], class: 'test') do #content end ==== Helper col(options = {}, html_options = {}) do # content end ;F;[;[;$I"[Create a col This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +num+ - Integer | 0..12 * +offset+ - Integer * +size+ - Integer ==== Signatures UiBibz::Ui::Core::Col.new(content, options = {}, html_options = {}).render UiBibz::Ui::Core::Col.new(options = {}, html_options = {}) do content end.render ==== Examples UiBibz::Ui::Core::Col.new({num: 2, offset: 1, size: 3}, class: 'test') do #content end UiBibz::Ui::Core::Col.new([{num: 2, offset: 1, size: 3}, { num: 3}], class: 'test') do #content end ==== Helper col(options = {}, html_options = {}) do # content end ;T;%0;#@;&F;'o;(;)F;*i;+i1;,@ ;I"UiBibz::Ui::Core::Col;F:@superclasso:YARD::CodeObjects::Proxy : @imethod0:@origname0:@orignamespace0;:Component;,@ : @objo; ;IC;[o; ; F; ;;;;I"(UiBibz::Ui::Core::Component#content;F;[;[[I"%lib/ui_bibz/ui/core/component.rb;Ti.;F;: content;;;[;{;IC;"+Returns the value of attribute content ;F;#@;40;&F;[;[;$I"+Returns the value of attribute content;F;%0;,@;-I"def content @content end;F;.I"def content;F;/To; ; F; ;;;;I")UiBibz::Ui::Core::Component#content=;F;[[I" value;F0;[[@i.;F;: content=;;;[;{;IC;"Sets the attribute content ;F;#@;40;&F;[;[o; ; I" param;F;!I"/the value to set the attribute content to.;F;I" value;F;"0;#@;$I"WSets the attribute content @param value the value to set the attribute content to.;F;%0;,@;-I"/def content=(value) @content = value end;F;.I"def content=(value);F;/To; ; F; ;;;;I"-UiBibz::Ui::Core::Component#html_options;F;[;[[@i.;F;:html_options;;;[;{;IC;"0Returns the value of attribute html_options ;F;#@;40;&F;[;[;$I"0Returns the value of attribute html_options;F;%0;,@;-I")def html_options @html_options end;F;.I"def html_options;F;/To; ; F; ;;;;I".UiBibz::Ui::Core::Component#html_options=;F;[[I" value;F0;[[@i.;F;:html_options=;;;[;{;IC;"$Sets the attribute html_options ;F;#@;40;&F;[;[o; ; I" param;F;!I"4the value to set the attribute html_options to.;F;I" value;F;"0;#@;$I"aSets the attribute html_options @param value the value to set the attribute html_options to.;F;%0;,@;-I"9def html_options=(value) @html_options = value end;F;.I"def html_options=(value);F;/To; ; F; ;;;;I"(UiBibz::Ui::Core::Component#options;F;[;[[@i.;F;: options;;;[;{;IC;"+Returns the value of attribute options ;F;#@;40;&F;[;[;$I"+Returns the value of attribute options;F;%0;,@;-I"def options @options end;F;.I"def options;F;/To; ; F; ;;;;I")UiBibz::Ui::Core::Component#options=;F;[[I" value;F0;[[@i.;F;: options=;;;[;{;IC;"Sets the attribute options ;F;#@;40;&F;[;[o; ; I" param;F;!I"/the value to set the attribute options to.;F;I" value;F;"0;#@;$I"WSets the attribute options @param value the value to set the attribute options to.;F;%0;,@;-I"/def options=(value) @options = value end;F;.I"def options=(value);F;/To; ; F; ;;;;I"+UiBibz::Ui::Core::Component#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i5;T;;;;;[;{;IC;"Use link_to system in rails * Content can be send by content variable or by block if a block is sent, variable 'content' does not exit. * Options of component is defined in hash options * Html options is defined in hash html_options ;F;[;[o; ; I" return;F;!I" a new instance of Component;F;0;"[I"Component;F;#@;$I"Use link_to system in rails * Content can be send by content variable or by block if a block is sent, variable 'content' does not exit. * Options of component is defined in hash options * Html options is defined in hash html_options;T;%0;#@;&F;'o;(;)F;*i0;+i4;,@;-I"def initialize content = nil, options = nil, html_options = nil, &block if !block.nil? @html_options, @options = options, content context = eval("self", block.binding) @content = context.capture(&block) else if content.kind_of?(Hash) @html_options, @options = options, content else @html_options, @options, @content = html_options, options, content end end @html_options = @html_options || {} @options = @options || {} end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Core::Component#render;F;[;[[@iF;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iE;+iE;,@;-I",def render glyph_and_content_html end;T;.I"def render;T;/T;0To; ; F; ;;;;I"7UiBibz::Ui::Core::Component#glyph_and_content_html;F;[;[[@iK;T;:glyph_and_content_html;;;[;{;IC;""Render glyph and content html ;F;[;[;$I""Render glyph and content html;T;%0;#@;&F;'o;(;)F;*iJ;+iJ;,@;-I"Ydef glyph_and_content_html [glyph_with_space, @content].compact.join.html_safe end;T;.I"def glyph_and_content_html;T;/T;0To; ; F; ;;;;I"1UiBibz::Ui::Core::Component#glyph_with_space;F;[;[[@iP;T;:glyph_with_space;;;[;{;IC;"!Render glyph with space html ;F;[;[;$I"!Render glyph with space html;T;%0;#@!;&F;'o;(;)F;*iO;+iO;,@;-I"?def glyph_with_space "#{ glyph } " unless glyph.nil? end;T;.I"def glyph_with_space;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Core::Component#glyph;F;[;[[@iU;T;: glyph;;;[;{;IC;"Render glyph html ;F;[;[;$I"Render glyph html;T;%0;#@/;&F;'o;(;)F;*iT;+iT;,@;-I"|def glyph glyph_info = options[:glyph] if options.kind_of?(Hash) Glyph.new(glyph_info).render unless glyph_info.nil? end;T;.I"def glyph;T;/T;0To; ; F; ;;;;I"+UiBibz::Ui::Core::Component#badge_html;F;[;[[@i[;T;:badge_html;;;[;{;IC;"Render badge html tag ;F;[;[;$I"Render badge html tag;T;%0;#@=;&F;'o;(;)F;*iZ;+iZ;,@;-I"Mdef badge_html content_tag :span, @options[:badge], class: 'badge' end;T;.I"def badge_html;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Core::Component#state;F;[;[[@i`;T;: state;;;[;{;IC;"Set :default state symbol ;F;[;[;$I"Set :default state symbol;T;%0;#@K;&F;'o;(;)F;*i_;+i_;,@;-I"kdef state sym = options.delete(:state) if options[:state] sym = sym || :default states[:sym] end;T;.I"def state;T;/T;0To; ; F; ;;;;I"7UiBibz::Ui::Core::Component#class_and_html_options;F;[[I" classes;TI"nil;T;[[@ig;T;:class_and_html_options;;;[;{;IC;" Add classes in html_options ;F;[;[;$I" Add classes in html_options;T;%0;#@Y;&F;'o;(;)F;*if;+if;,@;-I"Bdef class_and_html_options classes = nil options_class = options[:class] if options.kind_of?(Hash) cls = [ html_options[:class], status, state, options_class ] cls << classes unless classes.nil? cls = cls.flatten.compact html_options[:class] = cls.join(' ') unless cls.empty? html_options end;T;.I"-def class_and_html_options classes = nil;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Core::Component#add_classes;F;[[I" *classes;F0;[[@iv;T;:add_classes;;;[;{;IC;" Add classes in html_options ;F;[;[;$I" Add classes in html_options;T;%0;#@j;&F;'o;(;)F;*iu;+iu;,@;-I"=def add_classes *classes classes.compact.join(' ') end;T;.I"def add_classes *classes;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::Component#status;F;[;[[@i|;F;: status;;;[;{;IC;" ;F;#@z;40;&F;[;[;$I";F;%0;,@;-I"Cdef status options[:status] unless options[:status].nil? end;T;.I"def status;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::Component#states;F;[;[[@i{;F;: states;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def states if @states.nil? states = {} %w(default success primary info warning danger).each do |s| states = states.merge(Hash[s.to_sym, s]) end @states = states end @states end;T;.I"def states;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;IIC;<{: read@: write@;>T;KIC;<{;X@;Y@;>T;MIC;<{;X@;Y@;>T;>T;>T;?{;@[;[[@i,;T;;G;;;;;[;{;IC;"Creates a component of the given +name+ using options created by the set of +options+. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Component.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Component.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Component.new(content, { type: :success, glyph: 'eye' },{ class: 'test' }) # or UiBibz::Ui::Core::Component.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do content end ;T;[;[;$I"Creates a component of the given +name+ using options created by the set of +options+. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Component.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Component.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Component.new(content, { type: :success, glyph: 'eye' },{ class: 'test' }) # or UiBibz::Ui::Core::Component.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do content end ;T;%0;#@;&F;'o;(;)F;*i ;+i+;,@ ;I" UiBibz::Ui::Core::Component;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;: Base;,@ ;Ho; ;IC;[o; ; F; ;;;;I"#UiBibz::Ui::Base#output_buffer;F;[;[[I"lib/ui_bibz/ui/base.rb;Ti ;F;:output_buffer;;;[;{;IC;"1Returns the value of attribute output_buffer ;F;#@;40;&F;[;[;$I"1Returns the value of attribute output_buffer;F;%0;,@;-I"+def output_buffer @output_buffer end;F;.I"def output_buffer;F;/To; ; F; ;;;;I"$UiBibz::Ui::Base#output_buffer=;F;[[I" value;F0;[[@i ;F;:output_buffer=;;;[;{;IC;"%Sets the attribute output_buffer ;F;#@;40;&F;[;[o; ; I" param;F;!I"5the value to set the attribute output_buffer to.;F;I" value;F;"0;#@;$I"cSets the attribute output_buffer @param value the value to set the attribute output_buffer to.;F;%0;,@;-I";def output_buffer=(value) @output_buffer = value end;F;.I"def output_buffer=(value);F;/To; ; F; ;;;;I"UiBibz::Ui::Base#i18n_set?;F;[[I"key;T0;[[@i;T;:i18n_set?;;;[;{;IC;"#To know if translation missing ;F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@;$I"#To know if translation missing;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"Ddef i18n_set? key I18n.t key, :raise => true rescue false end;T;.I"def i18n_set? key;T;/T;0T;8@;9IC;[;8@;:IC;[o;C ;D0;EI"ActionView::Helpers;T;F@;: Helpers;,o;C ;D0;E0;F0;:ActionView;,@;H0: @type0;H0;`: module;8@;;IC;<{;=IC;<{;>T;IC;<{;[IC;<{;X@;Y@;>T;>T;>T;?{;@[;[[@i;F;;Z;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Base;F;Bo;C ;D0;E0;F0;: Object;,@;H0;`;=;/T;`0;/T;`;=;/To; ;IC;[o; ; F; ;;;;I"%UiBibz::Ui::Core::Row#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"lib/ui_bibz/ui/core/row.rb;Ti%;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Row;F;0;"[I"Row;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i$;+i$;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Core::Row#render;F;[;[[@ i*;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i);+i);,@;-I"Odef render content_tag :div, @content, class_and_html_options('row') end;T;.I"def render;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i";T;:Row;;;;;[;{;IC;"Create a row This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Signatures UiBibz::Ui::Core::Row.new(content, options = {}, html_options = {}) UiBibz::Ui::Core::Row.new(options = {}, html_options = {}) do #content end ==== Helper row(content, options = {}, html_options = {}) row(options = {}, html_options = {}) do content end ;F;[;[;$I"Create a row This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Signatures UiBibz::Ui::Core::Row.new(content, options = {}, html_options = {}) UiBibz::Ui::Core::Row.new(options = {}, html_options = {}) do #content end ==== Helper row(content, options = {}, html_options = {}) row(options = {}, html_options = {}) do content end ;T;%0;#@;&F;'o;(;)F;*i;+i!;,@ ;I"UiBibz::Ui::Core::Row;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/To; ;IC;[ o; ; F; ;;;;I"'UiBibz::Ui::Core::Alert#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"!lib/ui_bibz/ui/core/alert.rb;Ti8;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Alert;F;0;"[I" Alert;F;#@:;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@:;&F;'o;(;)F;*i7;+i7;,@8;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Alert#render;F;[;[[@Ji=;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@Y;&F;'o;(;)F;*i<;+i<;,@8;-I"def render content_tag :div, class_and_html_options('alert').merge({ role: 'alert'}) do concat glyph_and_content_html concat close_html if @options[:close] end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::Alert#close_html;F;[;[[@JiF;F;:close_html;;;[;{;IC;" ;F;#@g;40;&F;[;[;$I";F;%0;,@8;-I"def close_html content_tag :button, type: 'button', class: 'close', "data-dismiss" => "alert", "aria-label" => "Close" do content_tag :span, "x", "aria-hidden" => true end end;T;.I"def close_html;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Alert#state;F;[;[[@JiL;F;;S;;;[;{;IC;" ;F;#@t;40;&F;[;[;$I";F;%0;,@8;-I"Odef state sym = @options[:state] || :info "alert-#{ states[sym] }" end;T;.I"def state;T;/T;0T;8@8;9IC;[;8@8;:IC;[;8@8;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@Ji5;T;: Alert;;;;;[;{;IC;")Create an alert This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Alert.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Alert.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Alert.new(content, { type: :success, glyph: 'eye' },{ class: 'test' }).render UiBibz::Ui::Core::Alert.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do content end.render ==== Helper notify(content, options = {}, html_options = {}) notify(options = {}, html_options = {}) do content end ;T;[;[;$I"*Create an alert This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Alert.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Alert.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Alert.new(content, { type: :success, glyph: 'eye' },{ class: 'test' }).render UiBibz::Ui::Core::Alert.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do content end.render ==== Helper notify(content, options = {}, html_options = {}) notify(options = {}, html_options = {}) do content end ;T;%0;#@8;&F;'o;(;)F;*i;+i4;,@ ;I"UiBibz::Ui::Core::Alert;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/To; ;IC;[ o; ; F; ;;;;I"'UiBibz::Ui::Core::Stars#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"!lib/ui_bibz/ui/core/stars.rb;Ti5;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Stars;F;0;"[I" Stars;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i4;+i4;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Stars#render;F;[;[[@i:;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i9;+i9;,@;-I"udef render content_tag :span, stars_notation.join(' ').html_safe, class_and_html_options('stars-notation') end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Core::Stars#number;F;[;[[@i@;F;: number;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I")def number @options[:num] || 5 end;T;.I"def number;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Core::Stars#stars_notation;F;[;[[@iD;F;:stars_notation;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def stars_notation stars = [] number.to_i.times do |star| star = star + 1 name = star_name(star) stars << UiBibz::Ui::Core::Glyph.new(name, glyph_opts).render end stars end;T;.I"def stars_notation;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::Stars#glyph_opts;F;[;[[@iN;F;:glyph_opts;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Rdef glyph_opts { state: @options[:state] } unless @options[:state].nil? end;T;.I"def glyph_opts;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Core::Stars#star_name;F;[[I" star;T0;[[@iR;F;:star_name;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def star_name star if star <= @content 'star' elsif star > @content && !@content.is_a?(Integer) && star < @content + 1 'star-half-o' else 'star-o' end end;T;.I"def star_name star;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i2;T;: Stars;;;;;[;{;IC;"Create stars notation This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +num+ - Integer, number of stars ==== Signatures UiBibz::Ui::Core::Stars.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Stars.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Stars.new(content, state: :success).render UiBibz::Ui::Core::Stars.new({ num: 10 }) do #content end.render ==== Helper stars(content, options = {}, html_options = {}) stars(options = {}, html_options = {}) do content end ;T;[;[;$I"Create stars notation This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +num+ - Integer, number of stars ==== Signatures UiBibz::Ui::Core::Stars.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Stars.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Stars.new(content, state: :success).render UiBibz::Ui::Core::Stars.new({ num: 10 }) do #content end.render ==== Helper stars(content, options = {}, html_options = {}) stars(options = {}, html_options = {}) do content end ;T;%0;#@;&F;'o;(;)F;*i;+i1;,@ ;I"UiBibz::Ui::Core::Stars;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Core::Glyph#initialize;F;[ [I" content;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"!lib/ui_bibz/ui/core/glyph.rb;TiA;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Glyph;F;0;"[I" Glyph;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*i@;+i@;,@ ;-I"Rdef initialize content, options = nil, html_options = nil, &block super end;T;.I"Fdef initialize content, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Glyph#render;F;[;[[@iF;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@*;&F;'o;(;)F;*iE;+iE;,@ ;-I"Idef render content_tag :i, '', class_and_html_options(classes) end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"$UiBibz::Ui::Core::Glyph#classes;F;[;[[@iL;F;: classes;;;[;{;IC;" ;F;#@8;40;&F;[;[;$I";F;%0;,@ ;-I"Odef classes cls = ["glyph", "fa", "fa-#{ content }"] cls << "fa-#{ size }x" unless size.nil? cls << "fa-rotate-#{ rotate }" unless rotate.nil? cls << "fa-flip-#{ flip }" unless flip.nil? cls << "fa-stack-#{ stack }x" unless stack.nil? cls << "fa-#{ type }" unless type.nil? cls.compact.join(' ') end;T;.I"def classes;T;/T;0To; ; F; ;;;2;I"!UiBibz::Ui::Core::Glyph#size;F;[;[[@iV;F;;5;;;[;{;IC;" ;F;#@E;40;&F;[;[;$I";F;%0;,@ ;-I"#def size @options[:size] end;T;.I" def size;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Glyph#stack;F;[;[[@iZ;F;: stack;;;[;{;IC;" ;F;#@R;40;&F;[;[;$I";F;%0;,@ ;-I"%def stack @options[:stack] end;T;.I"def stack;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Core::Glyph#rotate;F;[;[[@i^;F;: rotate;;;[;{;IC;" ;F;#@_;40;&F;[;[;$I";F;%0;,@ ;-I"'def rotate @options[:rotate] end;T;.I"def rotate;T;/T;0To; ; F; ;;;2;I"!UiBibz::Ui::Core::Glyph#flip;F;[;[[@ib;F;: flip;;;[;{;IC;" ;F;#@l;40;&F;[;[;$I";F;%0;,@ ;-I"#def flip @options[:flip] end;T;.I" def flip;T;/T;0To; ; F; ;;;2;I"!UiBibz::Ui::Core::Glyph#type;F;[;[[@if;F;: type;;;[;{;IC;" ;F;#@y;40;&F;[;[;$I";F;%0;,@ ;-I"#def type @options[:type] end;T;.I" def type;T;/T;0To; ; F; ;;;2;I"$UiBibz::Ui::Core::Glyph#content;F;[;[[@ij;F;;I;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;-I"2def content @options[:name] || @content end;T;.I"def content;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Glyph#state;F;[;[[@in;F;;S;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;-I"Odef state "glyph-#{ @options[:state] }" unless @options[:state].nil? end;T;.I"def state;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i>;T;: Glyph;;;;;[;{;IC;"Create a glyph This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +name+ - String * +size+ - Integer * +type+ - Symbol * +state+ - Symbol (+:default+, +:primary+, +:info+, +:warning+, +:danger+) ==== Signatures UiBibz::Ui::Core::Glyph.new content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Glyph.new(options = nil, html_options = nil) do content end UiBibz::Ui::Core::Glyph.new content = {} UiBibz::Ui::Core::Glyph.new content, options = {}, html_options = {} ==== Exemples UiBibz::Ui::Core::Glyph.new('eye').render UiBibz::Ui::Core::Glyph.new() do name end.render UiBibz::Ui::Core::Glyph.new('eye', { size: 3, type: 'fw' }).render UiBibz::Ui::Core::Glyph.new({ name: 'eye', size: 3, type: 'fw' }).render ==== Helper glyph(options = {}) glyph(name, options = {}, html_options = {}) glyph(options = {}, html_options = {}) do name end ;F;[;[;$I"Create a glyph This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +name+ - String * +size+ - Integer * +type+ - Symbol * +state+ - Symbol (+:default+, +:primary+, +:info+, +:warning+, +:danger+) ==== Signatures UiBibz::Ui::Core::Glyph.new content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Glyph.new(options = nil, html_options = nil) do content end UiBibz::Ui::Core::Glyph.new content = {} UiBibz::Ui::Core::Glyph.new content, options = {}, html_options = {} ==== Exemples UiBibz::Ui::Core::Glyph.new('eye').render UiBibz::Ui::Core::Glyph.new() do name end.render UiBibz::Ui::Core::Glyph.new('eye', { size: 3, type: 'fw' }).render UiBibz::Ui::Core::Glyph.new({ name: 'eye', size: 3, type: 'fw' }).render ==== Helper glyph(options = {}) glyph(name, options = {}, html_options = {}) glyph(options = {}, html_options = {}) do name end;T;%0;#@ ;&F;'o;(;)F;*i;+i=;,@ ;I"UiBibz::Ui::Core::Glyph;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Core::Label#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"!lib/ui_bibz/ui/core/label.rb;Ti9;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Label;F;0;"[I" Label;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i8;+i8;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Label#render;F;[;[[@i>;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i=;+i=;,@;-I"`def render content_tag :span, glyph_and_content_html, class_and_html_options('label') end;T;.I"def render;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Label#state;F;[;[[@iD;F;;S;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Rdef state sym = @options[:state] || :default "label-#{ states[sym] }" end;T;.I"def state;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i6;T;: Label;;;;;[;{;IC;"Create a label This element is an extend of UiBibz::Ui::Core::Component. The helper use 'etiquette' method to avoid conflict with Rails. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Label.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Label.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Label.new(content, state: :success).render UiBibz::Ui::Core::Label.new() do #content end.render ==== Helper etiquette(content, options = {}, html_options = {}) etiquette(options = {}, html_options = {}) do content end ;T;[;[;$I"Create a label This element is an extend of UiBibz::Ui::Core::Component. The helper use 'etiquette' method to avoid conflict with Rails. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Label.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Label.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Label.new(content, state: :success).render UiBibz::Ui::Core::Label.new() do #content end.render ==== Helper etiquette(content, options = {}, html_options = {}) etiquette(options = {}, html_options = {}) do content end ;T;%0;#@;&F;'o;(;)F;*i;+i5;,@ ;I"UiBibz::Ui::Core::Label;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Core::Panel#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"!lib/ui_bibz/ui/core/panel.rb;TiW;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Panel;F;0;"[I" Panel;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*iV;+iV;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Panel#header;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i\;T;: header;;;[;{;IC;"$Add Header which is a component ;F;[;[;$I"$Add Header which is a component;T;%0;#@!;&F;'o;(;)F;*i[;+i[;,@;-I"def header content = nil, options = nil, html_options = nil, &block @header = Component.new content, options, html_options, &block end;T;.I"Hdef header content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Core::Panel#body;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ia;T;: body;;;[;{;IC;""Add Body which is a component ;F;[;[;$I""Add Body which is a component;T;%0;#@:;&F;'o;(;)F;*i`;+i`;,@;-I"def body content = nil, options = nil, html_options = nil, &block @body = Component.new content, options, html_options, &block end;T;.I"Fdef body content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Panel#footer;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@if;T;: footer;;;[;{;IC;"$Add Footer which is a component ;F;[;[;$I"$Add Footer which is a component;T;%0;#@S;&F;'o;(;)F;*ie;+ie;,@;-I"def footer content = nil, options = nil, html_options = nil, &block @footer = Component.new content, options, html_options, &block end;T;.I"Hdef footer content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Panel#render;F;[;[[@ik;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@l;&F;'o;(;)F;*ij;+ij;,@;-I"def render content_tag :div, class_and_html_options("panel") do concat(header_html) unless @header.nil? concat(body_html) if !@body.nil? || !@content.nil? concat(footer_html) unless @footer.nil? end end;T;.I"def render;T;/T;0To; ; F; ;;:protected;I""UiBibz::Ui::Core::Panel#state;F;[;[[@iu;F;;S;;;[;{;IC;" ;F;#@z;40;&F;[;[;$I";F;%0;,@;-I"Rdef state sym = @options[:state] || :default "panel-#{ states[sym] }" end;T;.I"def state;T;/T;0To; ; F; ;;;u;I"(UiBibz::Ui::Core::Panel#header_html;F;[;[[@iz;F;:header_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"ldef header_html content_tag :div, @header.render, @header.class_and_html_options("panel-heading") end;T;.I"def header_html;T;/T;0To; ; F; ;;;u;I"&UiBibz::Ui::Core::Panel#body_html;F;[;[[@i~;F;:body_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def body_html @body = Component.new @content unless @content.nil? content_tag :div, @body.render, @body.class_and_html_options("panel-body") end;T;.I"def body_html;T;/T;0To; ; F; ;;;u;I"(UiBibz::Ui::Core::Panel#footer_html;F;[;[[@i~;F;:footer_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"kdef footer_html content_tag :div, @footer.render, @footer.class_and_html_options("panel-footer") end;T;.I"def footer_html;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@iT;T;: Panel;;;;;[;{;IC;">Create a panel This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add header, body or footer element. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) ==== Signatures UiBibz::Ui::Core::Panel.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Panel.new(options = nil, html_options = nil) do content end UiBibz::Ui::Core::Panel.new(options = nil, html_options = nil).tap do |p| p.header content = nil, options = nil, html_options = nil, &block p.body content = nil, options = nil, html_options = nil, &block p.footer content = nil, options = nil, html_options = nil, &block end ==== Examples UiBibz::Ui::Core::Panel('test').render UiBibz::Ui::Core::Panel(state: :primary) do |d| 'test' end.render UiBibz::Ui::Core::Panel.new().tap do |p| p.header 'header', glyph: 'eye', class: 'header-test' p.body do 'body' end p.footer 'footer' end.render ==== Helper panel(content, options = {}, html_options = {}) panel(options = {}, html_options = {}) do content end panel(options = { tap: true }, html_options = {}) do |p| p.header(content, options = {}, html_options = {}) # or p.header(options = {}, html_options = {}) do content end p.body(content, options = {}, html_options = {}) # or p.body(options = {}, html_options = {}) do content end p.footer(content, options = {}, html_options = {}) # or p.footer(options = {}, html_options = {}) do content end end ;T;[;[;$I"?Create a panel This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add header, body or footer element. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) ==== Signatures UiBibz::Ui::Core::Panel.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Panel.new(options = nil, html_options = nil) do content end UiBibz::Ui::Core::Panel.new(options = nil, html_options = nil).tap do |p| p.header content = nil, options = nil, html_options = nil, &block p.body content = nil, options = nil, html_options = nil, &block p.footer content = nil, options = nil, html_options = nil, &block end ==== Examples UiBibz::Ui::Core::Panel('test').render UiBibz::Ui::Core::Panel(state: :primary) do |d| 'test' end.render UiBibz::Ui::Core::Panel.new().tap do |p| p.header 'header', glyph: 'eye', class: 'header-test' p.body do 'body' end p.footer 'footer' end.render ==== Helper panel(content, options = {}, html_options = {}) panel(options = {}, html_options = {}) do content end panel(options = { tap: true }, html_options = {}) do |p| p.header(content, options = {}, html_options = {}) # or p.header(options = {}, html_options = {}) do content end p.body(content, options = {}, html_options = {}) # or p.body(options = {}, html_options = {}) do content end p.footer(content, options = {}, html_options = {}) # or p.footer(options = {}, html_options = {}) do content end end ;T;%0;#@;&F;'o;(;)F;*i;+iS;,@ ;I"UiBibz::Ui::Core::Panel;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/To; ;IC;[ o; ; F; ;;;;I"%UiBibz::Ui::Core::Nav#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"#lib/ui_bibz/ui/core/nav/nav.rb;TiC;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Nav;F;0;"[I"Nav;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*iB;+iB;,@;-I"fdef initialize content = nil, options = nil, html_options = nil, &block super @items = [] end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Core::Nav#render;F;[;[[@iI;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iH;+iH;,@;-I"mdef render content_tag :ul, @items.join.html_safe, class_and_html_options(["nav", type, position]) end;T;.I"def render;T;/T;0To; ; F; ;;;;I"UiBibz::Ui::Core::Nav#link;F;[ [I" content;TI"nil;T[I" options;TI"{};T[I"html_options;TI"nil;T[I" &block;F0;[[@iO;T;: link;;;[;{;IC;"5Add nav link items See UiBibz::Ui::Core::NavLink ;F;[;[;$I"5Add nav link items See UiBibz::Ui::Core::NavLink;T;%0;#@;&F;'o;(;)F;*iM;+iN;,@;-I"def link content = nil, options = {}, html_options = nil, &block @items << NavLink.new(content, options.merge({ nav_type: type }), html_options, &block).render end;T;.I"Edef link content = nil, options = {}, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Nav#dropdown;F;[ [I" content;TI"nil;T[I" options;TI"{};T[I"html_options;TI"nil;T[I" &block;F0;[[@iU;T;: dropdown;;;[;{;IC;"=Add nav dropdown items See UiBibz::Ui::Core::NavDropdown ;F;[;[;$I"=Add nav dropdown items See UiBibz::Ui::Core::NavDropdown;T;%0;#@;&F;'o;(;)F;*iS;+iT;,@;-I"def dropdown content = nil, options = {}, html_options = nil, &block @items << NavDropdown.new(content, options, html_options).tap(&block).render end;T;.I"Idef dropdown content = nil, options = {}, html_options = nil, &block;T;/T;0To; ; F; ;;;2;I"UiBibz::Ui::Core::Nav#type;F;[;[[@i\;T;;o;;;[;{;IC;"tabs or pills ;F;[;[;$I"tabs or pills;T;%0;#@!;&F;'o;(;)F;*i[;+i[;,@;-I"6def type "nav-#{ @options[:type] || :tabs }" end;T;.I" def type;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Core::Nav#position;F;[;[[@i`;F;: position;;;[;{;IC;" ;F;#@/;40;&F;[;[;$I";F;%0;,@;-I"Vdef position "nav-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i@;T;:Nav;;;;;[;{;IC;"Create a nav This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Symbol (+:pills+, +:tab+) ==== Signatures UiBibz::Ui::Core::Nav.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Nav.new(options = nil, html_options = nil).tap do |n| ... n.link content = nil, options = nil, html_options = nil, block n.link content = nil, options = nil, html_options = nil, block n.dropdown content = nil, options = nil, html_options = nil, block ... end ==== Examples UiBibz::Ui::Core::Nav.new(type: :pills).tap do |n| n.link 'Test', url: '#test' n.link 'Test2', url: '#test2', status: :active n.dropdown('Action') do |d| d.list content = nil, options = nil, html_options = nil, &block end end.render ==== Helper nav(options = { tap: true }, html_options = {}) do |n| n.link(content, options = {}, html_options = {}) n.link(options = {}, html_options = {}) do content end n.dropdown(name, options = {}, html_options = {}) do |d| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end end end ;F;[;[;$I"Create a nav This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Symbol (+:pills+, +:tab+) ==== Signatures UiBibz::Ui::Core::Nav.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Nav.new(options = nil, html_options = nil).tap do |n| ... n.link content = nil, options = nil, html_options = nil, block n.link content = nil, options = nil, html_options = nil, block n.dropdown content = nil, options = nil, html_options = nil, block ... end ==== Examples UiBibz::Ui::Core::Nav.new(type: :pills).tap do |n| n.link 'Test', url: '#test' n.link 'Test2', url: '#test2', status: :active n.dropdown('Action') do |d| d.list content = nil, options = nil, html_options = nil, &block end end.render ==== Helper nav(options = { tap: true }, html_options = {}) do |n| n.link(content, options = {}, html_options = {}) n.link(options = {}, html_options = {}) do content end n.dropdown(name, options = {}, html_options = {}) do |d| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end end end ;T;%0;#@;&F;'o;(;)F;*i ;+i?;,@ ;I"UiBibz::Ui::Core::Nav;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/To; ;IC;[o; ; F; ;;;;I"+UiBibz::Ui::Core::Jumbotron#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"%lib/ui_bibz/ui/core/jumbotron.rb;Ti3;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I" a new instance of Jumbotron;F;0;"[I"Jumbotron;F;#@P;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@P;&F;'o;(;)F;*i2;+i2;,@N;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Core::Jumbotron#render;F;[;[[@`i8;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@o;&F;'o;(;)F;*i7;+i7;,@N;-I"def render content_tag :div, class_and_html_options('jumbotron') do if full_width content_tag :div, @content, class: 'container' else @content end end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Core::Jumbotron#full_width;F;[;[[@`iD;F;:full_width;;;[;{;IC;" ;F;#@};40;&F;[;[;$I";F;%0;,@N;-I"/def full_width @options[:full_width] end;T;.I"def full_width;T;/T;0T;8@N;9IC;[;8@N;:IC;[;8@N;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@`i0;T;:Jumbotron;;;;;[;{;IC;"QCreate a jumbotron This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +full_with+ - Boolean to render jumbotron in fullscreen ==== Signatures UiBibz::Ui::Core::Jumbotron.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Jumbotron.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Jumbotron.new(content, full_width: true).render UiBibz::Ui::Core::Jumbotron.new() do #content end.render ==== Helper jumbotron(content, options = {} , html_options = {}) jumbotron(options = {}, html_options = {}) do content end ;F;[;[;$I"RCreate a jumbotron This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +full_with+ - Boolean to render jumbotron in fullscreen ==== Signatures UiBibz::Ui::Core::Jumbotron.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Jumbotron.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Jumbotron.new(content, full_width: true).render UiBibz::Ui::Core::Jumbotron.new() do #content end.render ==== Helper jumbotron(content, options = {} , html_options = {}) jumbotron(options = {}, html_options = {}) do content end ;T;%0;#@N;&F;'o;(;)F;*i;+i/;,@ ;I" UiBibz::Ui::Core::Jumbotron;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`;=;/T@o; ;IC;[o; ; F; ;;;;I"(UiBibz::Ui::Core::Navbar#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"&lib/ui_bibz/ui/core/nav/navbar.rb;TiH;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Navbar;F;0;"[I" Navbar;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*iG;+iG;,@;-I"fdef initialize content = nil, options = nil, html_options = nil, &block super @items = [] end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Core::Navbar#render;F;[;[[@iN;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iM;+iM;,@;-I"def render content_tag :nav, class_and_html_options(['navbar', type, position]) do content_tag :div, class: 'container-fluid' do concat header_html concat body_html end end end;T;.I"def render;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Core::Navbar#nav;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@iY;T;:nav;;;[;{;IC;"9Add navbar nav items See UiBibz::Ui::Core::NavbarNav ;F;[;[;$I"9Add navbar nav items See UiBibz::Ui::Core::NavbarNav;T;%0;#@;&F;'o;(;)F;*iW;+iX;,@;-I"def nav content = nil, options = nil, html_options = nil, &block options = options || {} @items << UiBibz::Ui::Core::NavbarNav.new(content, options, html_options).tap(&block).render end;T;.I"Edef nav content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Core::Navbar#form;F;[[I"model_or_url;T0[I" options;TI"{};T[I" &block;F0;[[@i`;T;: form;;;[;{;IC;";Add navbar form items See UiBibz::Ui::Core::NavbarForm ;F;[;[;$I";Add navbar form items See UiBibz::Ui::Core::NavbarForm;T;%0;#@;&F;'o;(;)F;*i^;+i_;,@;-I"def form model_or_url, options = {}, &block @items << UiBibz::Ui::Core::NavbarForm.new(model_or_url, options, &block).render end;T;.I"0def form model_or_url, options = {}, &block;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Core::Navbar#text;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@if;T;: text;;;[;{;IC;";Add navbar text items See UiBibz::Ui::Core::NavbarText ;F;[;[;$I";Add navbar text items See UiBibz::Ui::Core::NavbarText;T;%0;#@;&F;'o;(;)F;*id;+ie;,@;-I"def text content = nil, options = nil, html_options = nil, &block @items << UiBibz::Ui::Core::NavbarText.new(content, options, html_options, &block).render end;T;.I"Fdef text content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Navbar#brand;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ij;F;: brand;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def brand content = nil, options = nil, html_options = nil, &block @brand = UiBibz::Ui::Core::Component.new(content, options, html_options, &block) end;T;.I"Gdef brand content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Core::Navbar#header_html;F;[;[[@ip;F;;v;;;[;{;IC;" ;F;#@*;40;&F;[;[;$I";F;%0;,@;-I"def header_html content_tag :div, class: 'navbar-header' do concat navbar_toggle_button_html concat link_to title.content, title.options[:url], title.class_and_html_options('navbar-brand') unless title.nil? end end;T;.I"def header_html;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Core::Navbar#title;F;[;[[@iw;F;: title;;;[;{;IC;" ;F;#@7;40;&F;[;[;$I";F;%0;,@;-I"def title @title ||= if @brand.nil? brand(@options[:title], url: '/') unless @options[:title].nil? else @brand end end;T;.I"def title;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::Navbar#body_html;F;[;[[@i;F;;w;;;[;{;IC;" ;F;#@D;40;&F;[;[;$I";F;%0;,@;-I"kdef body_html content_tag :div, @items.join.html_safe, class: "collapse navbar-collapse", id: id end;T;.I"def body_html;T;/T;0To; ; F; ;;;2;I" UiBibz::Ui::Core::Navbar#id;F;[;[[@i~;F;:id;;;[;{;IC;" ;F;#@Q;40;&F;[;[;$I";F;%0;,@;-I"@def id @id ||= "navbar-collapse-#{ Random.new_seed }" end;T;.I" def id;T;/T;0To; ; F; ;;;2;I"7UiBibz::Ui::Core::Navbar#navbar_toggle_button_html;F;[;[[@i;F;:navbar_toggle_button_html;;;[;{;IC;" ;F;#@^;40;&F;[;[;$I";F;%0;,@;-I"sdef navbar_toggle_button_html content_tag :button, class: 'navbar-toggle collapsed', data: { toggle: 'collapse', target:"##{ id }" } do concat content_tag :span, 'Toggle navigation', class: 'sr-only' concat content_tag :span, '', class: 'icon-bar' concat content_tag :span, '', class: 'icon-bar' concat content_tag :span, '', class: 'icon-bar' end end;T;.I""def navbar_toggle_button_html;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Core::Navbar#position;F;[;[[@i;F;;|;;;[;{;IC;" ;F;#@k;40;&F;[;[;$I";F;%0;,@;-I"_def position "navbar-fixed-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Navbar#type;F;[;[[@i;F;;o;;;[;{;IC;" ;F;#@x;40;&F;[;[;$I";F;%0;,@;-I">def type "navbar-#{ @options[:type] || 'default' }" end;T;.I" def type;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@iE;T;: Navbar;;;;;[;{;IC;"Create a Navbar This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Symbol (default: :default) (+:inverse+, +:default+) * +glyph+ * +position+ - Symbol (+:top+, +:bottom+) * +title+ - String ==== Signatures UiBibz::Ui::Core::Navbar.new(options = nil, html_options = nil).tap do |nb| ... nb.nav(options = nil, html_options = nil) do |n| n.link content options = nil, html_options = nil, &block n.link content options = nil, html_options = nil, &block end ... end ==== Examples UiBibz::Ui::Core::Navbar.new().tap do |nb| nb.nav(position: :right) do |n| n.link 'Link 1', "#" n.link 'Link 2', "#" end nb.form(url: 'search/', type: :form_tag) do text_field_tag 'search', nil, { class: 'form-control', placeholder: 'Search' } button 'Submit', type: :submit end nb.text 'My text' end.render ==== Helper navbar(options = { tap: true }, html_options = {}) do |nb| nb.nav(options = { tap: true }, html_options = {}) do |n| n.link(content, options = {}, html_options = {}) n.link(options = {}, html_options = {}) do content end end end ;F;[;[;$I"Create a Navbar This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Symbol (default: :default) (+:inverse+, +:default+) * +glyph+ * +position+ - Symbol (+:top+, +:bottom+) * +title+ - String ==== Signatures UiBibz::Ui::Core::Navbar.new(options = nil, html_options = nil).tap do |nb| ... nb.nav(options = nil, html_options = nil) do |n| n.link content options = nil, html_options = nil, &block n.link content options = nil, html_options = nil, &block end ... end ==== Examples UiBibz::Ui::Core::Navbar.new().tap do |nb| nb.nav(position: :right) do |n| n.link 'Link 1', "#" n.link 'Link 2', "#" end nb.form(url: 'search/', type: :form_tag) do text_field_tag 'search', nil, { class: 'form-control', placeholder: 'Search' } button 'Submit', type: :submit end nb.text 'My text' end.render ==== Helper navbar(options = { tap: true }, html_options = {}) do |nb| nb.nav(options = { tap: true }, html_options = {}) do |n| n.link(content, options = {}, html_options = {}) n.link(options = {}, html_options = {}) do content end end end ;T;%0;#@;&F;'o;(;)F;*i ;+iD;,@ ;I"UiBibz::Ui::Core::Navbar;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I"(UiBibz::Ui::Core::Button#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I")lib/ui_bibz/ui/core/button/button.rb;Ti9;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Button;F;0;"[I" Button;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i8;+i8;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Core::Button#render;F;[;[[@i>;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i=;+i=;,@;-I"hdef render content_tag :button, glyph_and_content_html, class_and_html_options(['btn', size]) end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Core::Button#state;F;[;[[@iD;F;;S;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Qdef state sym = @options[:state] || :default "btn-#{ states[sym] }" end;T;.I"def state;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Button#size;F;[;[[@iJ;T;;5;;;[;{;IC;":lg, :sm or :xs ;F;[;[;$I":lg, :sm or :xs;T;%0;#@;&F;'o;(;)F;*iI;+iI;,@;-I"Adef size "btn-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i6;T;: Button;;;;;[;{;IC;" Create a button This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Button.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Button.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Button.new('test', type: :primary, size: :xs).render UiBibz::Ui::Core::Button.new(type: :primary) do test end.render ==== Helper button(content, options = {}, html_options = {}) button(options = {}, html_options = {}) do content end ;T;[;[;$I" Create a button This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Button.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::Button.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Button.new('test', type: :primary, size: :xs).render UiBibz::Ui::Core::Button.new(type: :primary) do test end.render ==== Helper button(content, options = {}, html_options = {}) button(options = {}, html_options = {}) do content end;T;%0;#@;&F;'o;(;)F;*i;+i5;,@ ;I"UiBibz::Ui::Core::Button;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I"+UiBibz::Ui::Core::ListGroup#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"+lib/ui_bibz/ui/core/list/list_group.rb;TiO;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I" a new instance of ListGroup;F;0;"[I"ListGroup;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*iN;+iN;,@;-I"fdef initialize content = nil, options = nil, html_options = nil, &block super @lists = [] end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Core::ListGroup#render;F;[;[[@iU;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iT;+iT;,@;-I"edef render content_tag type, @lists.join().html_safe, class_and_html_options("list-group") end;T;.I"def render;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Core::ListGroup#list;F;[ [I" content;TI"nil;T[I" options;TI"{};T[I"html_options;TI"nil;T[I" &block;F0;[[@i[;T;: list;;;[;{;IC;".Add group list See UiBibz::Ui::Core::List ;F;[;[;$I".Add group list See UiBibz::Ui::Core::List;T;%0;#@";&F;'o;(;)F;*iY;+iZ;,@;-I"def list content = nil, options = {} , html_options = nil, &block is_tap = (content[:tap] if content.kind_of?(Hash)) || (options[:tap] unless options.nil?) options = options.merge({ type: :link }) if @options[:type] == :link if is_tap @lists << List.new(content, options, html_options).tap(&block).render else @lists << List.new(content, options, html_options, &block).render end end;T;.I"Fdef list content = nil, options = {} , html_options = nil, &block;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Core::ListGroup#type;F;[;[[@ih;F;;o;;;[;{;IC;" ;F;#@;;40;&F;[;[;$I";F;%0;,@;-I"9def type @options[:type] == :link ? :div : :ul end;T;.I" def type;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@iL;T;:ListGroup;;;;;[;{;IC;")Create a list group This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Type of list (default: :list) (+:link+, +:list+) ==== Signatures UiBibz::Ui::Core::ListGroup.new().tap |lg| ... lg.list content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::ListGroup.new().tap do |d| d.list 'Test', state: :success d.list 'Test2', state: :primary end.render UiBibz::Ui::Core::ListGroup.new(type: :link).tap do |d| d.list 'Test', state: :success, url: '#test' d.list(state: :primary) do 'Test 2' end d.list(tap: true, status: :active) do |l| l.header 'My title', nil, class: 'my-title' l.body do 'My content' end end end.render ==== Helper list_group( options = { tap: true }, html_options = {}) do |l| l.list(content, options = {}, html_options = {}) l.list(options = {}, html_options = {}) do content end l.list(options = { tap: true }, html_options = {}) do |li| li.header(content, options = {}, html_options = {}) # or li.header(options = {}, html_options = {}) do content end li.body(content, options = {}, html_options = {}) # or li.body(options = {}, html_options = {}) do content end end end ;F;[;[;$I"*Create a list group This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Type of list (default: :list) (+:link+, +:list+) ==== Signatures UiBibz::Ui::Core::ListGroup.new().tap |lg| ... lg.list content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::ListGroup.new().tap do |d| d.list 'Test', state: :success d.list 'Test2', state: :primary end.render UiBibz::Ui::Core::ListGroup.new(type: :link).tap do |d| d.list 'Test', state: :success, url: '#test' d.list(state: :primary) do 'Test 2' end d.list(tap: true, status: :active) do |l| l.header 'My title', nil, class: 'my-title' l.body do 'My content' end end end.render ==== Helper list_group( options = { tap: true }, html_options = {}) do |l| l.list(content, options = {}, html_options = {}) l.list(options = {}, html_options = {}) do content end l.list(options = { tap: true }, html_options = {}) do |li| li.header(content, options = {}, html_options = {}) # or li.header(options = {}, html_options = {}) do content end li.body(content, options = {}, html_options = {}) # or li.body(options = {}, html_options = {}) do content end end end ;T;%0;#@;&F;'o;(;)F;*i ;+iK;,@ ;I" UiBibz::Ui::Core::ListGroup;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"*UiBibz::Ui::Core::Dropdown#initialize;F;[ [I" content;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"-lib/ui_bibz/ui/core/dropdown/dropdown.rb;TiF;F;;;;;[;{;IC;" ;F;#@\;40;&F;[;[o; ; I" return;F;!I"a new instance of Dropdown;F;0;"[I" Dropdown;F;#@\;$I";F;%0;,@Z;-I"def initialize content, options = nil, html_options = nil, &block super @items = [] @state = @options.delete(:state) end;T;.I"Gdef initialize content, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Core::Dropdown#render;F;[;[[@kiM;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@y;&F;'o;(;)F;*iL;+iL;,@Z;-I"wdef render content_tag :div, class_and_html_options(type) do concat button_html concat ul_html end end;T;.I"def render;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Core::Dropdown#header;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@kiV;T;;r;;;[;{;IC;"=Add dropdown header See UiBibz::Ui::Core::DropdownHeader ;F;[;[;$I"=Add dropdown header See UiBibz::Ui::Core::DropdownHeader;T;%0;#@;&F;'o;(;)F;*iT;+iU;,@Z;-I"def header content = nil, options = nil, html_options = nil, &block @items << DropdownHeader.new(content, options, html_options, &block).render end;T;.I"Hdef header content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Core::Dropdown#divider;F;[;[[@ki\;T;: divider;;;[;{;IC;"AAdd dropdown Separator See UiBibz::Ui::Core::DropdownDivider ;F;[;[;$I"AAdd dropdown Separator See UiBibz::Ui::Core::DropdownDivider;T;%0;#@;&F;'o;(;)F;*iZ;+i[;,@Z;-I";def divider @items << DropdownDivider.new.render end;T;.I"def divider;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Core::Dropdown#link;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@kib;T;;z;;;[;{;IC;"AAdd dropdown link in list See UiBibz::Ui::Core::DropdownLink ;F;[;[;$I"AAdd dropdown link in list See UiBibz::Ui::Core::DropdownLink;T;%0;#@;&F;'o;(;)F;*i`;+ia;,@Z;-I"def link content = nil, options = nil, html_options = nil, &block @items << DropdownLink.new(content, options, html_options, &block).render end;T;.I"Fdef link content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Core::Dropdown#html;F;[[I" content;T0;[[@kig;T;: html;;;[;{;IC;"Add html component ;F;[;[;$I"Add html component;T;%0;#@;&F;'o;(;)F;*if;+if;,@Z;-I"-def html content @items << content end;T;.I"def html content;T;/T;0To; ; F; ;;;u;I".UiBibz::Ui::Core::Dropdown#button_content;F;[;[[@kim;F;:button_content;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@Z;-I"]def button_content [glyph_with_space, @content, ' ', caret].compact.join.html_safe end;T;.I"def button_content;T;/T;0To; ; F; ;;;u;I"+UiBibz::Ui::Core::Dropdown#button_html;F;[;[[@kiq;F;:button_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@Z;-I"def button_html content_tag :button, button_content, class: add_classes("btn", button_state, size, "dropdown-toggle"), type: 'button', "data-toggle" => 'dropdown', "aria-expanded" => false end;T;.I"def button_html;T;/T;0To; ; F; ;;;u;I"'UiBibz::Ui::Core::Dropdown#ul_html;F;[;[[@kiu;F;: ul_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@Z;-I"def ul_html content_tag :ul, @items.join.html_safe, class: "dropdown-menu dropdown-menu-#{ position }", role: 'menu' end;T;.I"def ul_html;T;/T;0To; ; F; ;;;u;I"%UiBibz::Ui::Core::Dropdown#caret;F;[;[[@kiy;F;: caret;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@Z;-I":def caret content_tag :span, '', class: 'caret' end;T;.I"def caret;T;/T;0To; ; F; ;;;u;I"(UiBibz::Ui::Core::Dropdown#position;F;[;[[@ki};F;;|;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@Z;-I"5def position @options[:position] || 'left' end;T;.I"def position;T;/T;0To; ; F; ;;;u;I"$UiBibz::Ui::Core::Dropdown#type;F;[;[[@ki|;F;;o;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@Z;-I"1def type @options[:type] || 'dropdown' end;T;.I" def type;T;/T;0To; ; F; ;;;u;I",UiBibz::Ui::Core::Dropdown#button_state;F;[;[[@ki;F;:button_state;;;[;{;IC;" ;F;#@%;40;&F;[;[;$I";F;%0;,@Z;-I"Ndef button_state sym = @state || :default "btn-#{ states[sym] }" end;T;.I"def button_state;T;/T;0To; ; F; ;;;u;I"$UiBibz::Ui::Core::Dropdown#size;F;[;[[@ki;T;;5;;;[;{;IC;":lg, :sm or :xs ;F;[;[;$I":lg, :sm or :xs;T;%0;#@2;&F;'o;(;)F;*i;+i;,@Z;-I"Adef size "btn-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0T;8@Z;9IC;[;8@Z;:IC;[;8@Z;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@kiD;T;: Dropdown;;;;;[;{;IC;"Create a dropdown This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add list items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Dropdown.new(options = nil, html_options = nil).tap do |d| ... d.header content = nil, options = nil, html_options = nil, &block d.divider d.link content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::Dropdown.new(name, state: :success).tap do |d| d.link 'test', { url: '#' } d.divider d.header 'Header 1' d.link 'test2', { url: '#' } end.render ==== Helper dropdown(name, options = { tap: true }, html_options = {}) do |d| d.link(content, options = {}, html_options = {}) d.link(options = {}, html_options = {}) do content end d.divider d.header(content, options = {}, html_options = {}) d.header(options = {}, html_options = {}) do content end end ;T;[;[;$I"Create a dropdown This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add list items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Dropdown.new(options = nil, html_options = nil).tap do |d| ... d.header content = nil, options = nil, html_options = nil, &block d.divider d.link content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::Dropdown.new(name, state: :success).tap do |d| d.link 'test', { url: '#' } d.divider d.header 'Header 1' d.link 'test2', { url: '#' } end.render ==== Helper dropdown(name, options = { tap: true }, html_options = {}) do |d| d.link(content, options = {}, html_options = {}) d.link(options = {}, html_options = {}) do content end d.divider d.header(content, options = {}, html_options = {}) d.header(options = {}, html_options = {}) do content end end ;T;%0;#@Z;&F;'o;(;)F;*i ;+iC;,@ ;I"UiBibz::Ui::Core::Dropdown;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I",UiBibz::Ui::Core::ButtonLink#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I".lib/ui_bibz/ui/core/button/button_link.rb;Ti;;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"!a new instance of ButtonLink;F;0;"[I"ButtonLink;F;#@T;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@T;&F;'o;(;)F;*i:;+i:;,@R;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"(UiBibz::Ui::Core::ButtonLink#render;F;[;[[@di@;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@s;&F;'o;(;)F;*i?;+i?;,@R;-I"cdef render link_to glyph_and_content_html, @options[:url], class_and_html_options("btn") end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::ButtonLink#state;F;[;[[@diF;F;;S;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@R;-I"Qdef state sym = @options[:state] || :default "btn-#{ states[sym] }" end;T;.I"def state;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Core::ButtonLink#size;F;[;[[@diL;T;;5;;;[;{;IC;":lg, :sm or :xs ;F;[;[;$I":lg, :sm or :xs;T;%0;#@;&F;'o;(;)F;*iK;+iK;,@R;-I"Adef size "btn-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0T;8@R;9IC;[;8@R;:IC;[;8@R;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@di8;T;:ButtonLink;;;;;[;{;IC;"CCreate a button link This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +url+ - String url * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::ButtonLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::ButtonLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ButtonLink.new('test', type: :primary, url: '#') UiBibz::Ui::Core::ButtonLink.new(type: :primary, url: '#') do test end.render ==== Helper button_link(content, options = {}, html_options = {}) button_link(options = {}, html_options = {}) do content end ;T;[;[;$I"DCreate a button link This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +url+ - String url * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::ButtonLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::ButtonLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ButtonLink.new('test', type: :primary, url: '#') UiBibz::Ui::Core::ButtonLink.new(type: :primary, url: '#') do test end.render ==== Helper button_link(content, options = {}, html_options = {}) button_link(options = {}, html_options = {}) do content end ;T;%0;#@R;&F;'o;(;)F;*i;+i7;,@ ;I"!UiBibz::Ui::Core::ButtonLink;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I"-UiBibz::Ui::Core::ButtonGroup#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"/lib/ui_bibz/ui/core/button/button_group.rb;Ti5;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I""a new instance of ButtonGroup;F;0;"[I"ButtonGroup;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i4;+i4;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I")UiBibz::Ui::Core::ButtonGroup#render;F;[;[[@i:;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i9;+i9;,@;-I"|def render content_tag :div, @content, class_and_html_options(["btn-#{ type }", size, position]).merge({ role: type }) end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::ButtonGroup#type;F;[;[[@i@;F;;o;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"-def type @options[:type] || :group end;T;.I" def type;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::ButtonGroup#size;F;[;[[@iD;F;;5;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Gdef size "btn-group-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Core::ButtonGroup#position;F;[;[[@iH;F;;|;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Sdef position "btn-group-#{ @options[:position] }" if @options[:position] end;T;.I"def position;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i2;T;:ButtonGroup;;;;;[;{;IC;"Create a button group This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of element with +symbol+ value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ - Size of element with +symbol+ value: (+:xs+, +:sm+, +:lg+) * +position+ - Position vertical or horizontal with +symbol+ value: (+:vertical+, +:horizontal+) ==== Signatures UiBibz::Ui::Core::ButtonGroup.new(options = nil, html_options = nil) do ... end ==== Examples UiBibz::Ui::Core::ButtonGroup.new(position: :vertical, size: :xs) do UiBibz::Ui::Core.Button.new('test').render UiBibz::Ui::Core.Button.new('test2').render end.render ==== Helper button_group(content, options = {}, html_options = {}) button_group(options = {}, html_options = {}) do content end ;F;[;[;$I"Create a button group This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of element with +symbol+ value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ - Size of element with +symbol+ value: (+:xs+, +:sm+, +:lg+) * +position+ - Position vertical or horizontal with +symbol+ value: (+:vertical+, +:horizontal+) ==== Signatures UiBibz::Ui::Core::ButtonGroup.new(options = nil, html_options = nil) do ... end ==== Examples UiBibz::Ui::Core::ButtonGroup.new(position: :vertical, size: :xs) do UiBibz::Ui::Core.Button.new('test').render UiBibz::Ui::Core.Button.new('test2').render end.render ==== Helper button_group(content, options = {}, html_options = {}) button_group(options = {}, html_options = {}) do content end ;T;%0;#@;&F;'o;(;)F;*i;+i1;,@ ;I""UiBibz::Ui::Core::ButtonGroup;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"&UiBibz::Ui::Core::List#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"0lib/ui_bibz/ui/core/list/components/list.rb;Ti@;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of List;F;0;"[I" List;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*i?;+i?;,@ ;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Core::List#render;F;[;[[@( iE;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@7 ;&F;'o;(;)F;*iD;+iD;,@ ;-I"def render content_tag tag, class_and_html_options('list-group-item') do concat glyph_and_content_html if @content concat header_html if @body concat body_html if @body concat badge_html if @options[:badge] end end;T;.I"def render;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Core::List#header;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@( iO;T;;r;;;[;{;IC;"$Add header which is a component ;F;[;[;$I"$Add header which is a component;T;%0;#@E ;&F;'o;(;)F;*iN;+iN;,@ ;-I"def header content = nil, options = nil, html_options = nil, &block @header = Component.new content, options, html_options, &block end;T;.I"Hdef header content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I" UiBibz::Ui::Core::List#body;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@( iT;T;;s;;;[;{;IC;""Add body which is a component ;F;[;[;$I""Add body which is a component;T;%0;#@^ ;&F;'o;(;)F;*iS;+iS;,@ ;-I"def body content = nil, options = nil, html_options = nil, &block @body = Component.new content, options, html_options, &block end;T;.I"Fdef body content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Core::List#header_html;F;[;[[@( iZ;F;;v;;;[;{;IC;" ;F;#@w ;40;&F;[;[;$I";F;%0;,@ ;-I"udef header_html content_tag :h4, @header.render, @header.class_and_html_options('list-group-item-heading') end;T;.I"def header_html;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Core::List#body_html;F;[;[[@( i^;F;;w;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@ ;-I"kdef body_html content_tag :p, @body.render, @body.class_and_html_options('list-group-item-text') end;T;.I"def body_html;T;/T;0To; ; F; ;;;2;I"UiBibz::Ui::Core::List#tag;F;[;[[@( ib;F;:tag;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@ ;-I"+def tag is_link_type? ? :a : :li end;T;.I" def tag;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Core::List#is_link_type?;F;[;[[@( if;F;:is_link_type?;;;[;{;IC;" ;F;#@ ;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@ ;$I";F;%0;,@ ;-I"def is_link_type? @html_options[:href] = @options[:url] if @options[:url] @options[:type] == :link || @html_options[:type] == :link end;T;.I"def is_link_type?;T;/T;0To; ; F; ;;;2;I"!UiBibz::Ui::Core::List#state;F;[;[[@( ik;F;;S;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@ ;-I"kdef state unless @options[:state].nil? "list-group-item-#{ states[@options[:state]] }" end end;T;.I"def state;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@( i=;T;: List;;;;;[;{;IC;"PCreate a list This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+, +:disable+) * +url+ * +tap+ - Boolean to add header and body * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::List.new(tap: true) do |l| l.header content = nil, options = nil, html_options = nil, &block l.body content = nil, options = nil, html_options = nil, &block end UiBibz::Ui::Core::List.new content, options = nil, html_options = nil UiBibz::Ui::Core::List.new options = nil, html_options = nil do content end ==== Examples UiBibz::Ui::Core::List.new('Test', state: :success, url: '#test').render UiBibz::Ui::Core::List.new(state: :primary) do 'Test 2' end.render UiBibz::Ui::Core::List.new(tap: true, status: :active) do |l| l.header 'My title', nil, class: 'my-title' l.body do 'My content' end end.render ;T;[;[;$I"QCreate a list This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+, +:disable+) * +url+ * +tap+ - Boolean to add header and body * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::List.new(tap: true) do |l| l.header content = nil, options = nil, html_options = nil, &block l.body content = nil, options = nil, html_options = nil, &block end UiBibz::Ui::Core::List.new content, options = nil, html_options = nil UiBibz::Ui::Core::List.new options = nil, html_options = nil do content end ==== Examples UiBibz::Ui::Core::List.new('Test', state: :success, url: '#test').render UiBibz::Ui::Core::List.new(state: :primary) do 'Test 2' end.render UiBibz::Ui::Core::List.new(tap: true, status: :active) do |l| l.header 'My title', nil, class: 'my-title' l.body do 'My content' end end.render ;T;%0;#@ ;&F;'o;(;)F;*i;+i<;,@ ;I"UiBibz::Ui::Core::List;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I",UiBibz::Ui::Core::Breadcrumb#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"1lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb;Ti>;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"!a new instance of Breadcrumb;F;0;"[I"Breadcrumb;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*i=;+i=;,@ ;-I"fdef initialize content = nil, options = nil, html_options = nil, &block super @links = [] end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"(UiBibz::Ui::Core::Breadcrumb#render;F;[;[[@ iD;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*iC;+iC;,@ ;-I"bdef render content_tag :ol, @links.join.html_safe, class_and_html_options("breadcrumb") end;T;.I"def render;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Core::Breadcrumb#link;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ iJ;T;;z;;;[;{;IC;"CAdd breadcrumb link items See UiBibz::Ui::Core::BreadcrumbLink ;F;[;[;$I"CAdd breadcrumb link items See UiBibz::Ui::Core::BreadcrumbLink;T;%0;#@ ;&F;'o;(;)F;*iH;+iI;,@ ;-I"def link content = nil, options = nil, html_options = nil, &block @links << BreadcrumbLink.new(content, options, html_options, &block).render end;T;.I"Fdef link content = nil, options = nil, html_options = nil, &block;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i;;T;:Breadcrumb;;;;;[;{;IC;"Breadcrumb Indicate the current page's location within a navigational hierarchy. Separators are automatically added in CSS through +:before+ and +content+. This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add link items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Components +link+ is UiBibz::Ui::Core::BreadcrumbLink component ==== Signatures UiBibz::Ui::Core::Breadcrumb.new().tap do |b| b.link content = nil, options = nil, html_options = nil, &block b.link content = nil, options = nil, html_options = nil, &block b.link content = nil, options = nil, html_options = nil, &block ... end UiBibz::Ui::Core::Alert.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Breadcrumb.new().tap do |b| b.link 'Home', url: '#home' b.link url: '#level-1' do 'Level 1' end b.link 'Level 2', status: :active end.render ==== Helper breadcrumb do |b| b.link(content, options = {}, html_options = {}) b.link(options = {}, html_options = {}) do content end end ;F;[;[;$I"Breadcrumb Indicate the current page's location within a navigational hierarchy. Separators are automatically added in CSS through +:before+ and +content+. This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add link items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Components +link+ is UiBibz::Ui::Core::BreadcrumbLink component ==== Signatures UiBibz::Ui::Core::Breadcrumb.new().tap do |b| b.link content = nil, options = nil, html_options = nil, &block b.link content = nil, options = nil, html_options = nil, &block b.link content = nil, options = nil, html_options = nil, &block ... end UiBibz::Ui::Core::Alert.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::Breadcrumb.new().tap do |b| b.link 'Home', url: '#home' b.link url: '#level-1' do 'Level 1' end b.link 'Level 2', status: :active end.render ==== Helper breadcrumb do |b| b.link(content, options = {}, html_options = {}) b.link(options = {}, html_options = {}) do content end end ;T;%0;#@ ;&F;'o;(;)F;*i ;+i:;,@ ;I"!UiBibz::Ui::Core::Breadcrumb;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"0UiBibz::Ui::Core::ButtonDropdown#initialize;F;[ [I" name;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"2lib/ui_bibz/ui/core/button/button_dropdown.rb;Ti=;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"%a new instance of ButtonDropdown;F;0;"[I"ButtonDropdown;F;#@+ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@+ ;&F;'o;(;)F;*i<;+i<;,@) ;-I"Odef initialize name, options = nil, html_options = nil, &block super end;T;.I"Cdef initialize name, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Core::ButtonDropdown#render;F;[;[[@: iB;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@I ;&F;'o;(;)F;*iA;+iA;,@) ;-I"def render content_tag :div, class_and_html_options(['btn-group', type]).merge({ role: 'group' }) do concat button_html concat ul_html end end;T;.I"def render;T;/T;0T;8@) ;9IC;[;8@) ;:IC;[;8@) ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@: i:;T;:ButtonDropdown;;;;;[;{;IC;"Create a button dropdown This element is an extend of UiBibz::Ui::Core::Dropdown. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::ButtonDropdown.new(options = nil, html_options = nil).tap do |d| ... d.list content = nil, options = nil, html_options = nil, &block d.link content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::ButtonDropdown.new(name, state: :success).tap do |d| d.link 'test', { url: '#Test1' } d.list('---') d.list('Header 1', { type: :header }) d.link 'test2', { url: '#Test2' } end.render ==== Helper button_dropdown(name, options = { tap: true }, html_options = {}) do |d| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end end ;T;[;[;$I" Create a button dropdown This element is an extend of UiBibz::Ui::Core::Dropdown. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::ButtonDropdown.new(options = nil, html_options = nil).tap do |d| ... d.list content = nil, options = nil, html_options = nil, &block d.link content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::ButtonDropdown.new(name, state: :success).tap do |d| d.link 'test', { url: '#Test1' } d.list('---') d.list('Header 1', { type: :header }) d.link 'test2', { url: '#Test2' } end.render ==== Helper button_dropdown(name, options = { tap: true }, html_options = {}) do |d| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end end ;T;%0;#@) ;&F;'o;(;)F;*i;+i9;,@ ;I"%UiBibz::Ui::Core::ButtonDropdown;F;Bo;C ;D0;E0;F0;;;,@ ;H@Z;`0;/To; ;IC;[ o; ; F; ;;;;I")UiBibz::Ui::Core::NavLink#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"3lib/ui_bibz/ui/core/nav/components/nav_link.rb;Ti/;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of NavLink;F;0;"[I" NavLink;F;#@k ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@k ;&F;'o;(;)F;*i.;+i.;,@i ;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Core::NavLink#render;F;[;[[@{ i4;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*i3;+i3;,@i ;-I"jdef render content_tag :li, content_htm, class_and_html_options.merge({ role: 'presentation' }) end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Core::NavLink#content_htm;F;[;[[@{ i;;T;:content_htm;;;[;{;IC;"2content_htm and not content_html for haml bug ;F;[;[;$I"2content_htm and not content_html for haml bug;T;%0;#@ ;&F;'o;(;)F;*i:;+i:;,@i ;-I"def content_htm link_to @options[:url], link_html_options do concat glyph_and_content_html concat badge_html if @options[:badge] end end;T;.I"def content_htm;T;/T;0To; ; F; ;;;2;I"0UiBibz::Ui::Core::NavLink#link_html_options;F;[;[[@{ iB;F;:link_html_options;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@i ;-I"def link_html_options lho = @options[:link_html_options] || {} if @options[:nav_type] == :tabs lho.merge({ "aria-controls" => @options[:selector], "role" => "tab", "data-toggle" => "tab" }) else lho end end;T;.I"def link_html_options;T;/T;0T;8@i ;9IC;[;8@i ;:IC;[;8@i ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@{ i,;T;: NavLink;;;;;[;{;IC;"Create a NavLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +badge+ - String * +link_html_options+ - Hash ==== Signatures UiBibz::Ui::Core::NavLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::NavLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::NavLink.new(content, { badge: 15, url: '/', status: :active, link_html_options: { class: 'link1' }},{ class: 'test' }).render UiBibz::Ui::Core::NavLink.new({glyph: { name: 'eye', size: 3 }, { class: 'test' }) do 'Home' end.render ;T;[;[;$I"Create a NavLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +badge+ - String * +link_html_options+ - Hash ==== Signatures UiBibz::Ui::Core::NavLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::NavLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::NavLink.new(content, { badge: 15, url: '/', status: :active, link_html_options: { class: 'link1' }},{ class: 'test' }).render UiBibz::Ui::Core::NavLink.new({glyph: { name: 'eye', size: 3 }, { class: 'test' }) do 'Home' end.render ;T;%0;#@i ;&F;'o;(;)F;*i;+i+;,@ ;I"UiBibz::Ui::Core::NavLink;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I"-UiBibz::Ui::Core::ProgressBar#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"5lib/ui_bibz/ui/core/progress_bar/progress_bar.rb;TiL;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I""a new instance of ProgressBar;F;0;"[I"ProgressBar;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*iK;+iK;,@ ;-I"edef initialize content = nil, options = nil, html_options = nil, &block super @bars = [] end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I")UiBibz::Ui::Core::ProgressBar#render;F;[;[[@ iR;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*iQ;+iQ;,@ ;-I"Bdef render content_tag :div, content, class: 'progress' end;T;.I"def render;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Core::ProgressBar#bar;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ iX;T;:bar;;;[;{;IC;"8Add progressbar bar items See UiBibz::Ui::Core::Bar ;F;[;[;$I"8Add progressbar bar items See UiBibz::Ui::Core::Bar;T;%0;#@ ;&F;'o;(;)F;*iV;+iW;,@ ;-I"def bar content = nil, options = nil, html_options = nil, &block @bars << Bar.new(content, options, html_options, &block).render end;T;.I"Edef bar content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Core::ProgressBar#content;F;[;[[@ i^;F;;I;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@ ;-I"rdef content @options[:tap] ? @bars.join().html_safe : Bar.new(@content, @options, @html_options).render end;T;.I"def content;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ iI;T;:ProgressBar;;;;;[;{;IC;"Create a progress bar This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * label - String (default: "percentage%") * tap - Boolean (true: To add several bars) * percentage_min - Integer (default: 0) * percentage_max - Integer (default: 100) * sr_only - Boolean to show label (default: false) * type (+:striped+, +:animated+) ==== Signatures UiBibz::Ui::Core::ProgressBar.new(percentage, options = nil, html_options = nil) UiBibz::Ui::Core::ProgressBar.new(options = nil, html_options = nil) do percentage end UiBibz::Ui::Core::ProgressBar.new(tap: true).tap do |pb| pb.bar percentage, options = nil, html_options = nil pb.bar options = nil, html_options = nil do percentage end end ==== Examples UiBibz::Ui::Core::ProgressBar.new(50) # or UiBibz::Ui::Core::ProgressBar.new(10, { state: :success, sr_only: false, label: 'Loading...' },{ class: 'test' }).render # or UiBibz::Ui::Core::ProgressBar.new(tap: true).tap |pb| pb.bar 10, { state: :success, sr_only: false, label: 'Loading...' },{ class: 'test' } pb.bar { state: :primary } do 20 end end.render ==== Helper progress_bar(integer, options = {}, html_options = {}) progress_bar(options = { tap: true }, html_options = {}) do |pb| pb.bar(integer, options = {}, html_options = {}) pb.bar(options = {}, html_options = {}) do integer end end ;T;[;[;$I"Create a progress bar This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * label - String (default: "percentage%") * tap - Boolean (true: To add several bars) * percentage_min - Integer (default: 0) * percentage_max - Integer (default: 100) * sr_only - Boolean to show label (default: false) * type (+:striped+, +:animated+) ==== Signatures UiBibz::Ui::Core::ProgressBar.new(percentage, options = nil, html_options = nil) UiBibz::Ui::Core::ProgressBar.new(options = nil, html_options = nil) do percentage end UiBibz::Ui::Core::ProgressBar.new(tap: true).tap do |pb| pb.bar percentage, options = nil, html_options = nil pb.bar options = nil, html_options = nil do percentage end end ==== Examples UiBibz::Ui::Core::ProgressBar.new(50) # or UiBibz::Ui::Core::ProgressBar.new(10, { state: :success, sr_only: false, label: 'Loading...' },{ class: 'test' }).render # or UiBibz::Ui::Core::ProgressBar.new(tap: true).tap |pb| pb.bar 10, { state: :success, sr_only: false, label: 'Loading...' },{ class: 'test' } pb.bar { state: :primary } do 20 end end.render ==== Helper progress_bar(integer, options = {}, html_options = {}) progress_bar(options = { tap: true }, html_options = {}) do |pb| pb.bar(integer, options = {}, html_options = {}) pb.bar(options = {}, html_options = {}) do integer end end ;T;%0;#@ ;&F;'o;(;)F;*i ;+iH;,@ ;I""UiBibz::Ui::Core::ProgressBar;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"+UiBibz::Ui::Core::NavbarNav#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"5lib/ui_bibz/ui/core/nav/components/navbar_nav.rb;Ti/;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I" a new instance of NavbarNav;F;0;"[I"NavbarNav;F;#@. ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@. ;&F;'o;(;)F;*i.;+i.;,@, ;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Core::NavbarNav#type;F;[;[[@> i5;F;;o;;;[;{;IC;" ;F;#@M ;40;&F;[;[;$I";F;%0;,@, ;-I" def type 'navbar-nav' end;T;.I" def type;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Core::NavbarNav#position;F;[;[[@> i9;F;;|;;;[;{;IC;" ;F;#@Z ;40;&F;[;[;$I";F;%0;,@, ;-I"Ydef position "navbar-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;8@, ;9IC;[;8@, ;:IC;[;8@, ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@> i,;T;:NavbarNav;;;;;[;{;IC;"4Create a NavbarNav This element is an extend of UiBibz::Ui::Core::Nav. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Symbol (+:pills+, +:tab+) * +position+ - Symbol (+:right+, +:left+) ==== Signatures UiBibz::Ui::Core::NavbarNav.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::NavbarNav.new(options = nil, html_options = nil).tap do |n| ... n.link content = nil, options = nil, html_options = nil, block ... end ==== Examples UiBibz::Ui::Core::NavbarNav.new().tap do |n| n.link 'Test', url: '#test' n.link 'Test2', url: '#test2', status: :active end.render ;F;[;[;$I"5Create a NavbarNav This element is an extend of UiBibz::Ui::Core::Nav. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +type+ - Symbol (+:pills+, +:tab+) * +position+ - Symbol (+:right+, +:left+) ==== Signatures UiBibz::Ui::Core::NavbarNav.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::NavbarNav.new(options = nil, html_options = nil).tap do |n| ... n.link content = nil, options = nil, html_options = nil, block ... end ==== Examples UiBibz::Ui::Core::NavbarNav.new().tap do |n| n.link 'Test', url: '#test' n.link 'Test2', url: '#test2', status: :active end.render ;T;%0;#@, ;&F;'o;(;)F;*i;+i+;,@ ;I" UiBibz::Ui::Core::NavbarNav;F;Bo;C ;D0;E0;F0;;};,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I",UiBibz::Ui::Core::NavbarForm#initialize;F;[[I"model_or_url;T0[I" options;TI"{};T[I" &block;F0;[[I"6lib/ui_bibz/ui/core/nav/components/navbar_form.rb;Ti4;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"!a new instance of NavbarForm;F;0;"[I"NavbarForm;F;#@{ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@{ ;&F;'o;(;)F;*i3;+i3;,@y ;-I"def initialize model_or_url, options = {}, &block init_haml_helpers @options = options if type == :form_for @form = form_for(model_or_url, options, &block) else @form = form_tag(model_or_url, class: "navbar-form #{ position }", &block) end end;T;.I"6def initialize model_or_url, options = {}, &block;T;/T;0To; ; F; ;;;;I"(UiBibz::Ui::Core::NavbarForm#render;F;[;[[@ i?;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*i>;+i>;,@y ;-I"def render @form end;T;.I"def render;T;/T;0To; ; F; ;;;2;I":UiBibz::Ui::Core::NavbarForm#protect_against_forgery?;F;[;[[@ iE;F;:protect_against_forgery?;;;[;{;IC;" ;F;#@ ;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@ ;$I";F;%0;,@y ;-I"-def protect_against_forgery? false end;T;.I"!def protect_against_forgery?;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Core::NavbarForm#url;F;[;[[@ iI;F;:url;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@y ;-I"!def url @options[:url] end;T;.I" def url;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Core::NavbarForm#type;F;[;[[@ iM;F;;o;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@y ;-I"0def type @options[:type] || :form_for end;T;.I" def type;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Core::NavbarForm#position;F;[;[[@ iQ;F;;|;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@y ;-I"Ydef position "navbar-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;8@y ;9IC;[;8@y ;:IC;[o;C ;D0;EI"ActionView::Helpers;T;F@y ;;^;,o;C ;D0;E0;F0;;_;,@y ;H0;`0;H0;`;ao;C ;D0;EI"Haml::Helpers;T;F@y ;;^;,o;C ;D0;E0;F0;: Haml;,@y ;H0;`0;H0;`;a;8@y ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i/;T;:NavbarForm;;;;;[;{;IC;"Create a NavbarForm This element is an extend of ActionView::Helpers::FormHelper::FormFor to Rails ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_for # and http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-form_tag ==== Signatures UiBibz::Ui::Core::NavbarForm.new(options = nil, html_options = nil) do |f| f.text_field :field f.submit 'Submit' end ==== Examples UiBibz::Ui::Core::NavbarForm.new(position: :right) do |f| f.text_field :field f.submit 'Submit' end.render UiBibz::Ui::Core::NavbarForm.new('/search', type: :form_tag) do text_field_tag :field submit_tag 'Submit' end.render ;F;[;[;$I"Create a NavbarForm This element is an extend of ActionView::Helpers::FormHelper::FormFor to Rails ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_for # and http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-form_tag ==== Signatures UiBibz::Ui::Core::NavbarForm.new(options = nil, html_options = nil) do |f| f.text_field :field f.submit 'Submit' end ==== Examples UiBibz::Ui::Core::NavbarForm.new(position: :right) do |f| f.text_field :field f.submit 'Submit' end.render UiBibz::Ui::Core::NavbarForm.new('/search', type: :form_tag) do text_field_tag :field submit_tag 'Submit' end.render ;T;%0;#@y ;&F;'o;(;)F;*i ;+i.;,@ ;I"!UiBibz::Ui::Core::NavbarForm;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I",UiBibz::Ui::Core::NavbarText#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"6lib/ui_bibz/ui/core/nav/components/navbar_text.rb;Ti*;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"!a new instance of NavbarText;F;0;"[I"NavbarText;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*i);+i);,@ ;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"(UiBibz::Ui::Core::NavbarText#render;F;[;[[@ i/;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*i.;+i.;,@ ;-I"bdef render content_tag :ul, @content, class_and_html_options(["navbar-text", position]) end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Core::NavbarText#position;F;[;[[@ i5;F;;|;;;[;{;IC;" ;F;#@% ;40;&F;[;[;$I";F;%0;,@ ;-I"Ydef position "navbar-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i';T;:NavbarText;;;;;[;{;IC;"Create a NavbarText ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +position+ - Symbol (+:right+, +:left+) ==== Signatures UiBibz::Ui::Core::NavbarText.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::NavbarText.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::NavbarText.new('Exemple).render UiBibz::Ui::Core::NavbarText.new(position: :right) do 'Exemple' end.render ;F;[;[;$I"Create a NavbarText ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +position+ - Symbol (+:right+, +:left+) ==== Signatures UiBibz::Ui::Core::NavbarText.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::NavbarText.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::NavbarText.new('Exemple).render UiBibz::Ui::Core::NavbarText.new(position: :right) do 'Exemple' end.render ;T;%0;#@ ;&F;'o;(;)F;*i;+i&;,@ ;I"!UiBibz::Ui::Core::NavbarText;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"%UiBibz::Ui::Core::Bar#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"7lib/ui_bibz/ui/core/progress_bar/components/bar.rb;Ti4;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Bar;F;0;"[I"Bar;F;#@F ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@F ;&F;'o;(;)F;*i3;+i3;,@D ;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Core::Bar#render;F;[;[[@V i9;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@e ;&F;'o;(;)F;*i8;+i8;,@D ;-I"def render content_tag :div, progressbar_inner_html, class_and_html_options(['progress-bar', type]).merge(bar_html_options) end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Core::Bar#bar_html_options;F;[;[[@V i?;F;:bar_html_options;;;[;{;IC;" ;F;#@s ;40;&F;[;[;$I";F;%0;,@D ;-I"def bar_html_options { "role" => 'progressbar', "aria-valuenow" => percentage, "aria-valuemin" => percentage_min, "aria-valuemax" => percentage_max, "style" => "width: #{ percentage }%" } end;T;.I"def bar_html_options;T;/T;0To; ; F; ;;;2;I"1UiBibz::Ui::Core::Bar#progressbar_inner_html;F;[;[[@V iI;F;:progressbar_inner_html;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@D ;-I"cdef progressbar_inner_html sr_only ? content_tag(:span, label, class: 'sr-only') : label end;T;.I"def progressbar_inner_html;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Core::Bar#percentage;F;[;[[@V iM;F;:percentage;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@D ;-I"'def percentage @content || 0 end;T;.I"def percentage;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Bar#sr_only;F;[;[[@V iQ;F;: sr_only;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@D ;-I"2def sr_only @options[:sr_only] || false end;T;.I"def sr_only;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Core::Bar#percentage_min;F;[;[[@V iU;F;:percentage_min;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@D ;-I"def percentage_max @options[:percentage_max] || 100 end;T;.I"def percentage_max;T;/T;0To; ; F; ;;;2;I" UiBibz::Ui::Core::Bar#label;F;[;[[@V i];F;: label;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@D ;-I"Rdef label @options[:label].nil? ? "#{ percentage }%" : @options[:label] end;T;.I"def label;T;/T;0To; ; F; ;;;2;I"UiBibz::Ui::Core::Bar#type;F;[;[[@V ia;F;;o;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@D ;-I"def type if @options[:type] == :animated "progress-bar-striped active" elsif @options[:type] "progress-bar-#{ @options[:type] }" end end;T;.I" def type;T;/T;0To; ; F; ;;;2;I" UiBibz::Ui::Core::Bar#state;F;[;[[@V ii;F;;S;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@D ;-I"Vdef state "progress-bar-#{ @options[:state] }" unless @options[:state].nil? end;T;.I"def state;T;/T;0T;8@D ;9IC;[;8@D ;:IC;[;8@D ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@V i1;T;:Bar;;;;;[;{;IC;"'Create a NavLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * label - String (default: "percentage%") * percentage_min - Integer (default: 0) * percentage_max - Integer (default: 100) * sr_only - Boolean to show label (default: false) * type (+:striped+, +:animated+) ==== Signatures UiBibz::Ui::Core::Bar.new(percentage, options = nil, html_options = nil) UiBibz::Ui::Core::Bar.new(options = nil, html_options = nil) do percentage end ==== Examples UiBibz::Ui::Core::Bar.new(10) # or UiBibz::Ui::Core::Bar.new(10, { state: :success, sr_only: true, label: 'Loading...' },{ class: 'test' }).render # or UiBibz::Ui::Core::Bar.new({ state: :primary }) do 40 end.render ;T;[;[;$I"(Create a NavLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * label - String (default: "percentage%") * percentage_min - Integer (default: 0) * percentage_max - Integer (default: 100) * sr_only - Boolean to show label (default: false) * type (+:striped+, +:animated+) ==== Signatures UiBibz::Ui::Core::Bar.new(percentage, options = nil, html_options = nil) UiBibz::Ui::Core::Bar.new(options = nil, html_options = nil) do percentage end ==== Examples UiBibz::Ui::Core::Bar.new(10) # or UiBibz::Ui::Core::Bar.new(10, { state: :success, sr_only: true, label: 'Loading...' },{ class: 'test' }).render # or UiBibz::Ui::Core::Bar.new({ state: :primary }) do 40 end.render ;T;%0;#@D ;&F;'o;(;)F;*i;+i0;,@ ;I"UiBibz::Ui::Core::Bar;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"-UiBibz::Ui::Core::NavDropdown#initialize;F;[ [I" content;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"7lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb;Ti4;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I""a new instance of NavDropdown;F;0;"[I"NavDropdown;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*i3;+i3;,@ ;-I"Sdef initialize content, options = nil, html_options = nil, &block super end;T;.I"Gdef initialize content, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I")UiBibz::Ui::Core::NavDropdown#render;F;[;[[@ i9;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*i8;+i8;,@ ;-I"tdef render content_tag :li, class_and_html_options(type) do concat link_html concat ul_html end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I",UiBibz::Ui::Core::NavDropdown#link_html;F;[;[[@ iB;F;:link_html;;;[;{;IC;" ;F;#@( ;40;&F;[;[;$I";F;%0;,@ ;-I"def link_html link_to button_content, "#", class: add_classes(size, "dropdown-toggle"), "data-toggle" => 'dropdown', "aria-expanded" => false end;T;.I"def link_html;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i1;T;:NavDropdown;;;;;[;{;IC;"KCreate a dropdown This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add list items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::NavDropdown.new(options = nil, html_options = nil).tap do |d| ... d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::NavDropdown.new(name, state: :success).tap do |d| d.list link_to('test', '#') d.list link_to('test2', '#') end.render ;T;[;[;$I"LCreate a dropdown This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add list items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::NavDropdown.new(options = nil, html_options = nil).tap do |d| ... d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::NavDropdown.new(name, state: :success).tap do |d| d.list link_to('test', '#') d.list link_to('test2', '#') end.render ;T;%0;#@ ;&F;'o;(;)F;*i;+i0;,@ ;I""UiBibz::Ui::Core::NavDropdown;F;Bo;C ;D0;E0;F0;;;,@ ;H@Z;`0;/To; ;IC;[ o; ; F; ;;;;I"5UiBibz::Ui::Core::ButtonSplitDropdown#initialize;F;[ [I" name;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"8lib/ui_bibz/ui/core/button/button_split_dropdown.rb;Ti=;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"*a new instance of ButtonSplitDropdown;F;0;"[I"ButtonSplitDropdown;F;#@I ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@I ;&F;'o;(;)F;*i<;+i<;,@G ;-I"Odef initialize name, options = nil, html_options = nil, &block super end;T;.I"Cdef initialize name, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"1UiBibz::Ui::Core::ButtonSplitDropdown#render;F;[;[[@X iB;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@g ;&F;'o;(;)F;*iA;+iA;,@G ;-I"def render content_tag :div, class_and_html_options(['btn-group', type]).merge({ role: 'group' }) do concat button_html concat split_html concat ul_html end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"6UiBibz::Ui::Core::ButtonSplitDropdown#button_html;F;[;[[@X iM;F;;;;;[;{;IC;" ;F;#@u ;40;&F;[;[;$I";F;%0;,@G ;-I"mdef button_html content_tag :button, button_content, class: add_classes("btn", button_state, size) end;T;.I"def button_html;T;/T;0To; ; F; ;;;2;I"5UiBibz::Ui::Core::ButtonSplitDropdown#split_html;F;[;[[@X iQ;F;:split_html;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@G ;-I"def split_html content_tag :button, split_content, class: add_classes("btn", button_state, "dropdown-toggle"), type: 'button', "data-toggle" => 'dropdown', "aria-expanded" => false end;T;.I"def split_html;T;/T;0To; ; F; ;;;2;I"8UiBibz::Ui::Core::ButtonSplitDropdown#split_content;F;[;[[@X iU;F;:split_content;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@G ;-I"=def split_content [caret, src_only].join.html_safe end;T;.I"def split_content;T;/T;0To; ; F; ;;;2;I"3UiBibz::Ui::Core::ButtonSplitDropdown#src_only;F;[;[[@X iY;F;: src_only;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@G ;-I"Ndef src_only content_tag :span, "Toggle Dropdown", class: "sr-only" end;T;.I"def src_only;T;/T;0To; ; F; ;;;2;I"9UiBibz::Ui::Core::ButtonSplitDropdown#button_content;F;[;[[@X i];F;;;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@G ;-I"Qdef button_content [glyph_with_space, @content].compact.join.html_safe end;T;.I"def button_content;T;/T;0T;8@G ;9IC;[;8@G ;:IC;[;8@G ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@X i:;T;:ButtonSplitDropdown;;;;;[;{;IC;"?Create a button dropdown This element is an extend of UiBibz::Ui::Core::Dropdown. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::ButtonSplitDropdown.new(options = nil, html_options = nil).tap do |d| d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::ButtonSplitDropdown.new(name, state: :success).tap do |d| d.list link_to('test', '#') d.list('---') d.list('Header 1', { type: :header }) d.list link_to('test2', '#') end.render ==== Helper button_split_dropdown(name, options = {}, html_options = {}) do |b| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end end ;T;[;[;$I"@Create a button dropdown This element is an extend of UiBibz::Ui::Core::Dropdown. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::ButtonSplitDropdown.new(options = nil, html_options = nil).tap do |d| d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block d.list content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::ButtonSplitDropdown.new(name, state: :success).tap do |d| d.list link_to('test', '#') d.list('---') d.list('Header 1', { type: :header }) d.list link_to('test2', '#') end.render ==== Helper button_split_dropdown(name, options = {}, html_options = {}) do |b| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end end ;T;%0;#@G ;&F;'o;(;)F;*i;+i9;,@ ;I"*UiBibz::Ui::Core::ButtonSplitDropdown;F;Bo;C ;D0;E0;F0;;;,@ ;H@Z;`0;/To; ;IC;[o; ; F; ;;;;I".UiBibz::Ui::Core::DropdownLink#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"=lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb;Ti2;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"#a new instance of DropdownLink;F;0;"[I"DropdownLink;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*i1;+i1;,@ ;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"*UiBibz::Ui::Core::DropdownLink#render;F;[;[[@ i7;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*i6;+i6;,@ ;-I"def render content_tag :li, class_and_html_options('').merge({ role: 'presentation' }) do link_to glyph_and_content_html, link_url, @options[:link_html_options] end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I",UiBibz::Ui::Core::DropdownLink#link_url;F;[;[[@ i?;F;: link_url;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@ ;-I"-def link_url @options[:url] || "#" end;T;.I"def link_url;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i/;T;:DropdownLink;;;;;[;{;IC;"Create DropdownLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol * +link_html_options+ - Hash ==== Signatures UiBibz::Ui::Core::DropdownLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownLink.new('Home', { glyph: 'home', status: :active, url: '#home', link_html_options: { class: 'link1' }},{ class: 'test' }).render UiBibz::Ui::Core::DropdownLink.new({ glyph: { name: 'eye', size: 3 }, url: '#home' }, { class: 'test' }) do 'Home' end.render ;T;[;[;$I"Create DropdownLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol * +link_html_options+ - Hash ==== Signatures UiBibz::Ui::Core::DropdownLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownLink.new('Home', { glyph: 'home', status: :active, url: '#home', link_html_options: { class: 'link1' }},{ class: 'test' }).render UiBibz::Ui::Core::DropdownLink.new({ glyph: { name: 'eye', size: 3 }, url: '#home' }, { class: 'test' }) do 'Home' end.render ;T;%0;#@ ;&F;'o;(;)F;*i;+i.;,@ ;I"#UiBibz::Ui::Core::DropdownLink;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"0UiBibz::Ui::Core::DropdownHeader#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"?lib/ui_bibz/ui/core/dropdown/components/dropdown_header.rb;Ti*;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"%a new instance of DropdownHeader;F;0;"[I"DropdownHeader;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i);+i);,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Core::DropdownHeader#render;F;[;[[@(i/;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@7;&F;'o;(;)F;*i.;+i.;,@;-I"zdef render content_tag :li, @content, class_and_html_options('dropdown-header').merge({ role: 'presentation' }) end;T;.I"def render;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@(i';T;:DropdownHeader;;;;;[;{;IC;"Create DropdownHeader This element is an extend of UiBibz::Ui::Core::Component. Use '---' in content to add a separator ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. ==== Signatures UiBibz::Ui::Core::DropdownHeader.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownHeader.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownHeader.new('Home',{ class: 'test' }).render UiBibz::Ui::Core::DropdownHeader.new({ class: 'test' }) do 'Home' end.render ;F;[;[;$I"Create DropdownHeader This element is an extend of UiBibz::Ui::Core::Component. Use '---' in content to add a separator ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. ==== Signatures UiBibz::Ui::Core::DropdownHeader.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownHeader.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownHeader.new('Home',{ class: 'test' }).render UiBibz::Ui::Core::DropdownHeader.new({ class: 'test' }) do 'Home' end.render ;T;%0;#@;&F;'o;(;)F;*i;+i&;,@ ;I"%UiBibz::Ui::Core::DropdownHeader;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"1UiBibz::Ui::Core::DropdownDivider#initialize;F;[;[[I"@lib/ui_bibz/ui/core/dropdown/components/dropdown_divider.rb;Ti ;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"&a new instance of DropdownDivider;F;0;"[I"DropdownDivider;F;#@Y;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@Y;&F;'o;(;)F;*i ;+i ;,@W;-I"def initialize end;T;.I"def initialize;T;/T;0To; ; F; ;;;;I"-UiBibz::Ui::Core::DropdownDivider#render;F;[;[[@^i;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@m;&F;'o;(;)F;*i;+i;,@W;-I"Odef render content_tag :li, nil, class: 'divider', role: 'separator' end;T;.I"def render;T;/T;0T;8@W;9IC;[;8@W;:IC;[;8@W;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@^i ;T;:DropdownDivider;;;;;[;{;IC;"Create DropdownDivider ;F;[;[;$I"Create DropdownDivider ;T;%0;#@W;&F;'o;(;)F;*i;+i ;,@ ;I"&UiBibz::Ui::Core::DropdownDivider;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"0UiBibz::Ui::Core::BreadcrumbLink#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"Alib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb;Ti1;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"%a new instance of BreadcrumbLink;F;0;"[I"BreadcrumbLink;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i0;+i0;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Core::BreadcrumbLink#render;F;[;[[@i6;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i5;+i5;,@;-I"Hdef render content_tag :li, link_html, class_and_html_options end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"/UiBibz::Ui::Core::BreadcrumbLink#link_html;F;[;[[@i<;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def link_html if @options[:url] link_to glyph_and_content_html, @options[:url], @options[:link_html_options] else glyph_and_content_html end end;T;.I"def link_html;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i.;T;:BreadcrumbLink;;;;;[;{;IC;"Create a BreadcrumbLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::BreadcrumbLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::BreadcrumbLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::BreadcrumbLink.new('Home', { glyph: 'home', status: :active },{ class: 'test' }).render UiBibz::Ui::Core::BreadcrumbLink.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do 'Home' end.render ;T;[;[;$I"Create a BreadcrumbLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::BreadcrumbLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::BreadcrumbLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::BreadcrumbLink.new('Home', { glyph: 'home', status: :active },{ class: 'test' }).render UiBibz::Ui::Core::BreadcrumbLink.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do 'Home' end.render ;T;%0;#@;&F;'o;(;)F;*i;+i-;,@ ;I"%UiBibz::Ui::Core::BreadcrumbLink;F;Bo;C ;D0;E0;F0;;G;,@ ;H@;`0;/T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[%[I"lib/ui_bibz.rb;Ti[@ i[@ i[@Ji[@i[@i[@i[@i[@i[@`i[@i[@i [@i[@i[@ki [@di[@i[@( i[@ i[@: i[@{ i[@ i[@> i[@ i[@ i[@V i[@ i[@X i[@ i[@(i[@^i[@i;T;: Core;;;;;[;{;IC;" Core ;F;[;[;$I" Core;T;%0;#@ ;&F;'o;(;)F;*i;+i;,@ ;I"UiBibz::Ui::Core;F;/To; ;IC;[o; ;IC;[o:&YARD::CodeObjects::ConstantObject;[[I"lib/ui_bibz/ui/ux/grid.rb;Ti>;F;: COL_NUM;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I""UiBibz::Ui::Ux::Grid::COL_NUM;F;.I"COL_NUM = 12;T;-I"COL_NUM = 12;T: @valueI"12;T;/To; ; F; ;;;;I"$UiBibz::Ui::Ux::Grid#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i@;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I"a new instance of Grid;F;0;"[I" Grid;F;#@;$I";F;%0;,@;-I"fdef initialize content = nil, options = nil, html_options = nil, &block super @views = {} end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"UiBibz::Ui::Ux::Grid#view;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@iF;T;: view;;;[;{;IC;"Add grid view items ;F;[;[;$I"Add grid view items;T;%0;#@<;&F;'o;(;)F;*iE;+iE;,@;-I"%def view content = nil, options = nil, html_options = nil, &block o = content.kind_of?(Hash) ? content : options c = UiBibz::Ui::Core::Component.new content, options, html_options, &block h = Hash[o[:position], { component: c, num: o[:num]}] @views = @views.merge(h) end;T;.I"Fdef view content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I" UiBibz::Ui::Ux::Grid#render;F;[;[[@iN;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@U;&F;'o;(;)F;*iM;+iM;,@;-I"def render define_col_nums UiBibz::Ui::Core::Row.new(class: 'grid') do # top concat top_view unless @views[:top].nil? # left concat left_view unless @views[:left].nil? # center concat center_view unless @views[:center].nil? # right concat right_view unless @views[:right].nil? # bottom concat bottom_view unless @views[:bottom].nil? end.render end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Ux::Grid#view_by_num;F;[[I"c;T0[I"num;T0[I"item_class;T0;[[@i`;F;:view_by_num;;;[;{;IC;" ;F;#@c;40;&F;[;[;$I";F;%0;,@;-I"def view_by_num c, num, item_class UiBibz::Ui::Core::Col.new(c.content, c.options.merge({ num: num }), c.class_and_html_options(['col', item_class])).render end;T;.I"'def view_by_num c, num, item_class;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Ux::Grid#top_view;F;[;[[@id;F;: top_view;;;[;{;IC;" ;F;#@v;40;&F;[;[;$I";F;%0;,@;-I"Qdef top_view view_by_num @views[:top][:component], COL_NUM, 'grid-top' end;T;.I"def top_view;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Ux::Grid#bottom_view;F;[;[[@ih;F;:bottom_view;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Zdef bottom_view view_by_num @views[:bottom][:component], COL_NUM, 'grid-bottom' end;T;.I"def bottom_view;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Ux::Grid#left_view;F;[;[[@il;F;:left_view;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Vdef left_view view_by_num @views[:left][:component], @left_val, 'grid-left' end;T;.I"def left_view;T;/T;0To; ; F; ;;;2;I"%UiBibz::Ui::Ux::Grid#center_view;F;[;[[@ip;F;:center_view;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"odef center_view view_by_num @views[:center][:component], COL_NUM-@left_val-@right_val, 'grid-center' end;T;.I"def center_view;T;/T;0To; ; F; ;;;2;I"$UiBibz::Ui::Ux::Grid#right_view;F;[;[[@it;F;:right_view;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Zdef right_view view_by_num @views[:right][:component], @right_val, 'grid-right' end;T;.I"def right_view;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Ux::Grid#define_col_nums;F;[;[[@ix;F;:define_col_nums;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def define_col_nums @left_val = @views[:left].nil? ? 0 : (@views[:left][:num] || 1) @right_val = @views[:right].nil? ? 0 : (@views[:right][:num] || 1) end;T;.I"def define_col_nums;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i<;T;: Grid;;;;;[;{;IC;"Create a Grid This element is an extend of UiBibz::Ui::Ux::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: ==== Signatures UiBibz::Ui::Ux::Grid.new().tap do |g| ... g.view content = nil, options = nil, html_options = nil, &block ... end ==== Exemples UiBibz::Ui::Ux::Grid.new().tap do |g| g.view num: 5, position: :left do 'left' end g.view position: :right do 'right' end g.view({ position: :top}, { class: 'success'}) do 'top' end g.view position: :center do 'center' end g.view position: :bottom do 'bottom' end end.render ==== Helper grid(options = { tap: true }, html_options = {}) do |g| g.view(content, options = {}, html_options = {}) g.view(options = {}, html_options = {}) do content end end ;F;[;[;$I"Create a Grid This element is an extend of UiBibz::Ui::Ux::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: ==== Signatures UiBibz::Ui::Ux::Grid.new().tap do |g| ... g.view content = nil, options = nil, html_options = nil, &block ... end ==== Exemples UiBibz::Ui::Ux::Grid.new().tap do |g| g.view num: 5, position: :left do 'left' end g.view position: :right do 'right' end g.view({ position: :top}, { class: 'success'}) do 'top' end g.view position: :center do 'center' end g.view position: :bottom do 'bottom' end end.render ==== Helper grid(options = { tap: true }, html_options = {}) do |g| g.view(content, options = {}, html_options = {}) g.view(options = {}, html_options = {}) do content end end ;T;%0;#@;&F;'o;(;)F;*i;+i;;,@ ;I"UiBibz::Ui::Ux::Grid;F;Bo;C ;D0;EI" UiBibz::Ui::Core::Component;T;F@ ;;G;,@ ;H@;`;=;/To; ;IC;[o; ; F; ;;;;I""UiBibz::Ui::Ux::Table#columns;F;[[I" &block;F0;[[I"%lib/ui_bibz/ui/ux/table/table.rb;Tic[@iY;T;: columns;;;[;{;IC;"Add table columns items ;F;[;[;$I"Add table columns items;T;%0;#@;&F;'o;(;)F;*ib;+ib;,@;-I"def columns @columns end;F;.I"def columns(&block);F;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Table#columns=;F;[[I" value;F0;[[@iY;F;: columns=;;;[;{;IC;"Sets the attribute columns ;F;#@;40;&F;[;[o; ; I" param;F;!I"/the value to set the attribute columns to.;F;I" value;F;"0;#@;$I"WSets the attribute columns @param value the value to set the attribute columns to.;F;%0;,@;-I"/def columns=(value) @columns = value end;F;.I"def columns=(value);F;/To; ; F; ;;;;I"%UiBibz::Ui::Ux::Table#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i\;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"a new instance of Table;F;0;"[I" Table;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i[;+i[;,@;-I"def initialize content = nil, options = nil, html_options = nil, &block super @columns = Columns.new @actions = Actions.new store end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Ux::Table#actions;F;[[I" &block;F0;[[@ih;T;: actions;;;[;{;IC;"Add table actions items ;F;[;[;$I"Add table actions items;T;%0;#@;&F;'o;(;)F;*ig;+ig;,@;-I"2def actions &block @actions.tap(&block) end;T;.I"def actions &block;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Ux::Table#actions_list;F;[;[[@im;T;:actions_list;;;[;{;IC;" for test ;F;[;[;$I" for test;T;%0;#@,;&F;'o;(;)F;*il;+il;,@;-I"$def actions_list @actions end;T;.I"def actions_list;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Table#render;F;[;[[@ir;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@:;&F;'o;(;)F;*iq;+iq;,@;-I" def render table_html end;T;.I"def render;T;/T;0To; ; F; ;;;;I" UiBibz::Ui::Ux::Table#store;F;[;[[@iw;T;: store;;;[;{;IC;"@Store must be generated by *table_search_pagination* method ;F;[;[;$I"@Store must be generated by *table_search_pagination* method;T;%0;#@H;&F;'o;(;)F;*iv;+iv;,@;-I"def store @store ||= if @options[:store].nil? raise 'Store is nil!' elsif @options[:store].try(:records).nil? raise 'Store can be created only with "table_search_pagination" method!' else Store.new @options.delete :store end end;T;.I"def store;T;/T;0To; ; F; ;;;u;I"UiBibz::Ui::Ux::Table#sort;F;[;[[@i~;F;: sort;;;[;{;IC;" ;F;#@V;40;&F;[;[;$I";F;%0;,@;-I":def sort @sort ||= Sortable.new store, @options end;T;.I" def sort;T;/T;0To; ; F; ;;;u;I"!UiBibz::Ui::Ux::Table#action;F;[;[[@i;F;: action;;;[;{;IC;" ;F;#@c;40;&F;[;[;$I";F;%0;,@;-I"Jdef action @action ||= Actionable.new store, @options, @actions end;T;.I"def action;T;/T;0To; ; F; ;;;u;I"UiBibz::Ui::Ux::Table#cols;F;[;[[@i;F;: cols;;;[;{;IC;" ;F;#@p;40;&F;[;[;$I";F;%0;,@;-I"Mdef cols @columns.list.empty? ? store.columns.list : @columns.list end;T;.I" def cols;T;/T;0To; ; F; ;;;u;I"UiBibz::Ui::Ux::Table#type;F;[;[[@i;F;;o;;;[;{;IC;" ;F;#@};40;&F;[;[;$I";F;%0;,@;-I"Ldef type "table-#{ @options[:type] }" unless @options[:type].nil? end;T;.I" def type;T;/T;0To; ; F; ;;;u;I"%UiBibz::Ui::Ux::Table#table_html;F;[;[[@i;F;:table_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def table_html content_tag(:table, class_and_html_options(["table", type])) do ths = cols.collect do |col| content_tag(:th, sort.header(col)) unless col.hidden? end ths = action.header ths concat content_tag(:tr, ths.join.html_safe) store.records.each do |record| tds = cols.collect do |col| content_tag(:td, td_content(record, col)) unless col.hidden? end tds = action.body record, tds concat content_tag :tr, tds.join.html_safe end end end;T;.I"def table_html;T;/T;0To; ; F; ;;;u;I"%UiBibz::Ui::Ux::Table#td_content;F;[[I" record;T0[I"col;T0;[[@i;T;:td_content;;;[;{;IC;"(Maybe create a class for td_content ;F;[;[;$I"(Maybe create a class for td_content;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def td_content record, col content = col.count ? record.send(col.data_index).count : record.send(col.data_index) unless content.nil? content = content.strftime(col.date_format) unless col.date_format.nil? content = link_to content, action.inject_url(col.link, record) unless col.link.nil? content = col.format.call(@store.records, record) unless col.format.nil? content end end;T;.I"def td_content record, col;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;IC;<{;X@;Y@;>T;>T;>T;?{;@[;[[@iW;T;: Table;;;;;[;{;IC;"Create a Table This element is an extend of UiBibz::Ui::Ux::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method * +url+ - String * +tap+ - Boolean * +actionable+ - Boolean * +sortable+ - Boolean * +searchable+ - Boolean ==== Signatures UiBibz::Ui::Ux::Table.new(store: @store) UiBibz::Ui::Ux::Table.new(store: @store, tap: true) do |t| t.columns do |c| c.column :id, name: '#' end t.actions do |a| a.action '', url: url, glyph: '' end end ==== Examples UiBibz::Ui::Ux::Table.new(store: @users).render UiBibz::Ui::Ux::Table.new(store: @users).tap do |t| t.columns do |c| c.column :id, { name: '#' } c.column :name_fr', { link: edit_user_path(:id), order: 2 } c.column :name_en' c.column :status_id, { name: 'Status', format: lambda{ |records, record| "Test #{ record.id}"} } end t.actions do |a| a.action 'toto', url: users_path(:id), glyph: 'eye' a.action '---' a.action 'momo', url: users_path(:id), glyph: 'home' end end.render ==== Helper table(options = {}, html_options = {}) table(options = { tap: true }, html_options = {}) do |t| t.columns do |cls| cls.column(name, options = {}, html_options = {}) cls.column(options = {}, html_options = {}) do name end end t.actions do |acs| acs.action(content, options = {}, html_options = {}) acs.action(options = {}, html_options = {}) do content end end end ;F;[;[;$I"Create a Table This element is an extend of UiBibz::Ui::Ux::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method * +url+ - String * +tap+ - Boolean * +actionable+ - Boolean * +sortable+ - Boolean * +searchable+ - Boolean ==== Signatures UiBibz::Ui::Ux::Table.new(store: @store) UiBibz::Ui::Ux::Table.new(store: @store, tap: true) do |t| t.columns do |c| c.column :id, name: '#' end t.actions do |a| a.action '', url: url, glyph: '' end end ==== Examples UiBibz::Ui::Ux::Table.new(store: @users).render UiBibz::Ui::Ux::Table.new(store: @users).tap do |t| t.columns do |c| c.column :id, { name: '#' } c.column :name_fr', { link: edit_user_path(:id), order: 2 } c.column :name_en' c.column :status_id, { name: 'Status', format: lambda{ |records, record| "Test #{ record.id}"} } end t.actions do |a| a.action 'toto', url: users_path(:id), glyph: 'eye' a.action '---' a.action 'momo', url: users_path(:id), glyph: 'home' end end.render ==== Helper table(options = {}, html_options = {}) table(options = { tap: true }, html_options = {}) do |t| t.columns do |cls| cls.column(name, options = {}, html_options = {}) cls.column(options = {}, html_options = {}) do name end end t.actions do |acs| acs.action(content, options = {}, html_options = {}) acs.action(options = {}, html_options = {}) do content end end end;T;%0;#@;&F;'o;(;)F;*i;+iV;,@ ;I"UiBibz::Ui::Ux::Table;F;Bo;C ;D0;EI" UiBibz::Ui::Core::Component;T;F@ ;;G;,@ ;H@;`;=;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Ux::TablePanel#columns;F;[[I" &block;F0;[[I"+lib/ui_bibz/ui/ux/table/table_panel.rb;Ti~[@id;T;;;;;[;{;IC;"Add table columns item ;F;[;[;$I"Add table columns item;T;%0;#@;&F;'o;(;)F;*i};+i};,@;-I"def columns @columns end;F;.I"def columns(&block);F;/T;0To; ; F; ;;;;I"(UiBibz::Ui::Ux::TablePanel#columns=;F;[[I" value;F0;[[@id;F;;;;;[;{;IC;"Sets the attribute columns ;F;#@;40;&F;[;[o; ; I" param;F;!I"/the value to set the attribute columns to.;F;I" value;F;"0;#@;$I"WSets the attribute columns @param value the value to set the attribute columns to.;F;%0;,@;-I"/def columns=(value) @columns = value end;F;.I"def columns=(value);F;/To; ; F; ;;;;I"*UiBibz::Ui::Ux::TablePanel#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ig;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"!a new instance of TablePanel;F;0;"[I"TablePanel;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*if;+if;,@;-I"7def initialize content = nil, options = nil, html_options = nil, &block super @store = @options.delete(:store) if @options[:store] table_options = (@options[:table_options] || {}).merge({ store: @store }) @table = UiBibz::Ui::Ux::Table.new(table_options, @options[:table_html_options]) end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Ux::TablePanel#render;F;[;[[@io;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*in;+in;,@;-I"rdef render initialize_header initialize_footer content_tag :div, class_and_html_options(panel_classes) do |f| form_tag(url_for(url_parameters), method: :get) do concat(header_html) unless @header.nil? concat(body_html) unless @body.nil? concat(table_html) unless @store.nil? concat(footer_html) unless @footer.nil? end end end;T;.I"def render;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Ux::TablePanel#actions;F;[[I" &block;F0;[[@i~;T;;;;;[;{;IC;"Add table actions item ;F;[;[;$I"Add table actions item;T;%0;#@;&F;'o;(;)F;*i};+i};,@;-I"3def actions &block @table.actions &block end;T;.I"def actions &block;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Ux::TablePanel#actions_list;F;[;[[@i;T;;;;;[;{;IC;" for test ;F;[;[;$I" for test;T;%0;#@ ;&F;'o;(;)F;*i;+i;,@;-I"/def actions_list @table.actions_list end;T;.I"def actions_list;T;/T;0To; ; F; ;;;2;I".UiBibz::Ui::Ux::TablePanel#url_parameters;F;[;[[@i;F;:url_parameters;;;[;{;IC;" ;F;#@.;40;&F;[;[;$I";F;%0;,@;-I"kdef url_parameters { controller: @store.controller, action: @store.action, id: @store.param_id } end;T;.I"def url_parameters;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Ux::TablePanel#table_html;F;[;[[@i;F;;;;;[;{;IC;" ;F;#@;;40;&F;[;[;$I";F;%0;,@;-I"Odef table_html content_tag :div, @table.render, class: 'panel-table' end;T;.I"def table_html;T;/T;0To; ; F; ;;;2;I"-UiBibz::Ui::Ux::TablePanel#panel_classes;F;[;[[@i;F;:panel_classes;;;[;{;IC;" ;F;#@H;40;&F;[;[;$I";F;%0;,@;-I"@def panel_classes %w(panel panel-default table-panel) end;T;.I"def panel_classes;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Ux::TablePanel#search;F;[;[[@i;F;: search;;;[;{;IC;" ;F;#@U;40;&F;[;[;$I";F;%0;,@;-I"Adef search @search ||= Searchable.new @store, @options end;T;.I"def search;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Ux::TablePanel#pagination;F;[;[[@i;F;:pagination;;;[;{;IC;" ;F;#@b;40;&F;[;[;$I";F;%0;,@;-I"Hdef pagination @pagination ||= Paginable.new @store, @options end;T;.I"def pagination;T;/T;0To; ; F; ;;;2;I"1UiBibz::Ui::Ux::TablePanel#initialize_footer;F;[;[[@i[@i;F;:initialize_footer;;;[;{;IC;" ;F;#@o;40;&F;[;[;$I";F;%0;,@;-I"T;IC;<{;IC;<{;X@;Y@;>T;>T;>T;?{;@[;[[@ib;T;:TablePanel;;;;;[;{;IC;" Create a TablePanel This element is an extend of UiBibz::Ui::Ux::Panel. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method * +url+ - String * +tap+ - Boolean * +table_options+ - Hash * +actionable+ - Boolean * +sortable+ - Boolean * +searchable+ - Boolean ==== Signatures UiBibz::Ui::Ux::TablePanel.new(store: @store) UiBibz::Ui::Ux::TablePanel.new(store: @store, tap: true) do |t| t.columns do |c| c.column '#', { data_index: '#' } end t.actions do |a| a.action '', url: url, glyph: '' end end ==== Examples UiBibz::Ui::Ux::TablePanel.new(store: @users, table_options: { actionable: false }).render UiBibz::Ui::Ux::TablePanel.new(store: @users).tap do |t| t.header 'My Table panel' t.columns do |c| c.column :id, { name: '# }, { class: 'column-id' } c.column :name_fr, { name: 'Name FR', link: edit_user_path(:id), order: 2 } c.column :name_en c.column :status_id, { name: 'Status', format: lambda{ |records, record| "Test #{ record.id}"} } end t.actions do |a| a.action 'toto', url: users_path(:id), glyph: 'eye' a.action '---' a.action 'momo', url: users_path(:id), glyph: 'home' end end.render ==== Helper table_panel(options = {}, html_options = {}) table_panel(options = { tap: true }, html_options = {}) do |t| t.header(content, options = {}, html_options = {}) # or t.header(options = {}, html_options = {}) do content end t.body(content, options = {}, html_options = {}) # or t.body(options = {}, html_options = {}) do content end t.columns do |cls| cls.column(name, options = {}, html_options = {}) cls.column(options = {}, html_options = {}) do name end end t.actions do |acs| acs.action(name, options = {}, html_options = {}) acs.action(options = {}, html_options = {}) do content end end t.footer(content, options = {}, html_options = {}) # or t.footer(options = {}, html_options = {}) do content end end ;F;[;[;$I" Create a TablePanel This element is an extend of UiBibz::Ui::Ux::Panel. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method * +url+ - String * +tap+ - Boolean * +table_options+ - Hash * +actionable+ - Boolean * +sortable+ - Boolean * +searchable+ - Boolean ==== Signatures UiBibz::Ui::Ux::TablePanel.new(store: @store) UiBibz::Ui::Ux::TablePanel.new(store: @store, tap: true) do |t| t.columns do |c| c.column '#', { data_index: '#' } end t.actions do |a| a.action '', url: url, glyph: '' end end ==== Examples UiBibz::Ui::Ux::TablePanel.new(store: @users, table_options: { actionable: false }).render UiBibz::Ui::Ux::TablePanel.new(store: @users).tap do |t| t.header 'My Table panel' t.columns do |c| c.column :id, { name: '# }, { class: 'column-id' } c.column :name_fr, { name: 'Name FR', link: edit_user_path(:id), order: 2 } c.column :name_en c.column :status_id, { name: 'Status', format: lambda{ |records, record| "Test #{ record.id}"} } end t.actions do |a| a.action 'toto', url: users_path(:id), glyph: 'eye' a.action '---' a.action 'momo', url: users_path(:id), glyph: 'home' end end.render ==== Helper table_panel(options = {}, html_options = {}) table_panel(options = { tap: true }, html_options = {}) do |t| t.header(content, options = {}, html_options = {}) # or t.header(options = {}, html_options = {}) do content end t.body(content, options = {}, html_options = {}) # or t.body(options = {}, html_options = {}) do content end t.columns do |cls| cls.column(name, options = {}, html_options = {}) cls.column(options = {}, html_options = {}) do name end end t.actions do |acs| acs.action(name, options = {}, html_options = {}) acs.action(options = {}, html_options = {}) do content end end t.footer(content, options = {}, html_options = {}) # or t.footer(options = {}, html_options = {}) do content end end;T;%0;#@;&F;'o;(;)F;*i;+ia;,@ ;I"UiBibz::Ui::Ux::TablePanel;F;Bo;C ;D0;EI"UiBibz::Ui::Core::Panel;T;F@ ;;y;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I""UiBibz::Ui::Ux::Store#records;F;[;[[I"0lib/ui_bibz/ui/ux/table/components/store.rb;Ti ;F;: records;;;[;{;IC;"+Returns the value of attribute records ;F;#@;40;&F;[;[;$I"+Returns the value of attribute records;F;%0;,@;-I"def records @records end;F;.I"def records;F;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Store#records=;F;[[I" value;F0;[[@i ;F;: records=;;;[;{;IC;"Sets the attribute records ;F;#@;40;&F;[;[o; ; I" param;F;!I"/the value to set the attribute records to.;F;I" value;F;"0;#@;$I"WSets the attribute records @param value the value to set the attribute records to.;F;%0;,@;-I"/def records=(value) @records = value end;F;.I"def records=(value);F;/To; ; F; ;;;;I"%UiBibz::Ui::Ux::Store#initialize;F;[[I" store;T0;[[@i;T;;;;;[;{;IC;")Store Use WillPaginate store methods ;F;[;[o; ; I" return;F;!I"a new instance of Store;F;0;"[I" Store;F;#@;$I")Store Use WillPaginate store methods;T;%0;#@;&F;'o;(;)F;*i ;+i ;,@;-I"ddef initialize store @records = store.records @store = store @model = store.model end;T;.I"def initialize store;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Ux::Store#total_pages;F;[;[[@i;F;:total_pages;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"/def total_pages @records.total_pages end;T;.I"def total_pages;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Store#per_page;F;[;[[@i;F;: per_page;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I")def per_page @records.per_page end;T;.I"def per_page;T;/T;0To; ; F; ;;;;I"(UiBibz::Ui::Ux::Store#total_entries;F;[;[[@i;F;:total_entries;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"3def total_entries @records.total_entries end;T;.I"def total_entries;T;/T;0To; ; F; ;;;;I"UiBibz::Ui::Ux::Store#id;F;[;[[@i ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def id @store.id end;T;.I" def id;T;/T;0To; ; F; ;;;;I"UiBibz::Ui::Ux::Store#sort;F;[;[[@i$;F;;;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@;-I"def sort @store.sort end;T;.I" def sort;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Store#direction;F;[;[[@i(;F;:direction;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I")def direction @store.direction end;T;.I"def direction;T;/T;0To; ; F; ;;;;I"0UiBibz::Ui::Ux::Store#searchable_attributes;F;[;[[@i,;F;:searchable_attributes;;;[;{;IC;" ;F;#@$;40;&F;[;[;$I";F;%0;,@;-I"Adef searchable_attributes @store.searchable_attributes end;T;.I"def searchable_attributes;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Ux::Store#current_page;F;[;[[@i0;F;:current_page;;;[;{;IC;" ;F;#@1;40;&F;[;[;$I";F;%0;,@;-I"1def current_page @records.current_page end;T;.I"def current_page;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Ux::Store#limit_value;F;[;[[@i4;F;:limit_value;;;[;{;IC;" ;F;#@>;40;&F;[;[;$I";F;%0;,@;-I"/def limit_value @records.limit_value end;T;.I"def limit_value;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Ux::Store#columns;F;[;[[@i8;F;;;;;[;{;IC;" ;F;#@K;40;&F;[;[;$I";F;%0;,@;-I"def columns @columns ||= Columns.new model.new.attributes.keys.map{ |record| Column.new(record, { name: record.humanize }) } end;T;.I"def columns;T;/T;0To; ; F; ;;;;I" UiBibz::Ui::Ux::Store#model;F;[;[[@i<;F;: model;;;[;{;IC;" ;F;#@X;40;&F;[;[;$I";F;%0;,@;-I"def model @model end;T;.I"def model;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Store#search;F;[;[[@i@;F;;;;;[;{;IC;" ;F;#@e;40;&F;[;[;$I";F;%0;,@;-I"#def search @store.search end;T;.I"def search;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Ux::Store#controller;F;[;[[@iD;F;:controller;;;[;{;IC;" ;F;#@r;40;&F;[;[;$I";F;%0;,@;-I"+def controller @store.controller end;T;.I"def controller;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Store#action;F;[;[[@iH;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"#def action @store.action end;T;.I"def action;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Store#param_id;F;[;[[@iL;F;: param_id;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"'def param_id @store.param_id end;T;.I"def param_id;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;IC;<{;X@;Y@;>T;>T;>T;?{;@[;[[@i ;F;: Store;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Store;F;Bo;C ;D0;E0;F0;;b;,@;H0;`;=;/To; ;IC;[o; ; F; ;;;;I"/UiBibz::Ui::Ux::TablePagination#initialize;F;[[I" options;TI"nil;T[I"html_options;TI"nil;T;[[I"0lib/ui_bibz/ui/ux/table/table_pagination.rb;Ti%;T;;;;;[;{;IC;"RInitialize pagination with component item pagination require WillPaginate gem ;F;[;[o; ; I" return;F;!I"&a new instance of TablePagination;F;0;"[I"TablePagination;F;#@;$I"RInitialize pagination with component item pagination require WillPaginate gem;T;%0;#@;&F;'o;(;)F;*i#;+i$;,@;-I"def initialize options = nil, html_options = nil @pagination = UiBibz::Ui::Core::Component.new nil, options, html_options end;T;.I"5def initialize options = nil, html_options = nil;T;/T;0To; ; F; ;;;;I"+UiBibz::Ui::Ux::TablePagination#render;F;[;[[@i*;T;;1;;;[;{;IC;"3Render html tag with boostrap pagination theme ;F;[;[;$I"3Render html tag with boostrap pagination theme;T;%0;#@;&F;'o;(;)F;*i);+i);,@;-I" def render paginate_parameters = { controller: store.controller } paginate_parameters = paginate_parameters.merge({ store_id: store.id }) unless store.id.nil? will_paginate(store.records, params: paginate_parameters, renderer: BootstrapPagination::Rails) end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Ux::TablePagination#store;F;[;[[@i4;T;;;;;[;{;IC;"@Store must be generated by *table_search_pagination* method ;F;[;[;$I"@Store must be generated by *table_search_pagination* method;T;%0;#@;&F;'o;(;)F;*i3;+i3;,@;-I"def store @store ||= if @pagination.options[:store].nil? raise 'Store is nil!' elsif @pagination.options[:store].try(:records).nil? raise 'Store can be created only with "table_search_pagination" method!' else Store.new @pagination.options.delete :store end end;T;.I"def store;T;/T;0T;8@;9IC;[;8@;:IC;[o;C ;D0;EI"WillPaginate::ActionView;T;F@;;_;,o;C ;D0;E0;F0;:WillPaginate;,@;H0;`0;H0;`;a;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i ;T;:TablePagination;;;;;[;{;IC;"Create a pagination for table ==== Attributes * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method ==== Signatures UiBibz::Ui::Ux::TablePagination.new(store: @store) ==== Helper table_pagination(options = {}) ;F;[;[;$I"Create a pagination for table ==== Attributes * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method ==== Signatures UiBibz::Ui::Ux::TablePagination.new(store: @store) ==== Helper table_pagination(options = {}) ;T;%0;#@;&F;'o;(;)F;*i ;+i;,@ ;I"$UiBibz::Ui::Ux::TablePagination;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I""UiBibz::Ui::Ux::Column#hidden;F;[;[[I"1lib/ui_bibz/ui/ux/table/components/column.rb;Ti ;F;: hidden;;;[;{;IC;"*Returns the value of attribute hidden ;F;#@;40;&F;[;[;$I"*Returns the value of attribute hidden;F;%0;,@;-I"def hidden @hidden end;F;.I"def hidden;F;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Column#hidden=;F;[[I" value;F0;[[@i ;F;: hidden=;;;[;{;IC;"Sets the attribute hidden ;F;#@ ;40;&F;[;[o; ; I" param;F;!I".the value to set the attribute hidden to.;F;I" value;F;"0;#@ ;$I"USets the attribute hidden @param value the value to set the attribute hidden to.;F;%0;,@;-I"-def hidden=(value) @hidden = value end;F;.I"def hidden=(value);F;/To; ; F; ;;;;I" UiBibz::Ui::Ux::Column#link;F;[;[[@i ;F;;z;;;[;{;IC;"(Returns the value of attribute link ;F;#@;40;&F;[;[;$I"(Returns the value of attribute link;F;%0;,@;-I"def link @link end;F;.I" def link;F;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#link=;F;[[I" value;F0;[[@i ;F;: link=;;;[;{;IC;"Sets the attribute link ;F;#@);40;&F;[;[o; ; I" param;F;!I",the value to set the attribute link to.;F;I" value;F;"0;#@);$I"QSets the attribute link @param value the value to set the attribute link to.;F;%0;,@;-I")def link=(value) @link = value end;F;.I"def link=(value);F;/To; ; F; ;;;;I" UiBibz::Ui::Ux::Column#name;F;[;[[@i ;F;: name;;;[;{;IC;"(Returns the value of attribute name ;F;#@<;40;&F;[;[;$I"(Returns the value of attribute name;F;%0;,@;-I"def name @name end;F;.I" def name;F;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#name=;F;[[I" value;F0;[[@i ;F;: name=;;;[;{;IC;"Sets the attribute name ;F;#@I;40;&F;[;[o; ; I" param;F;!I",the value to set the attribute name to.;F;I" value;F;"0;#@I;$I"QSets the attribute name @param value the value to set the attribute name to.;F;%0;,@;-I")def name=(value) @name = value end;F;.I"def name=(value);F;/To; ; F; ;;;;I"&UiBibz::Ui::Ux::Column#data_index;F;[;[[@i ;F;:data_index;;;[;{;IC;".Returns the value of attribute data_index ;F;#@\;40;&F;[;[;$I".Returns the value of attribute data_index;F;%0;,@;-I"%def data_index @data_index end;F;.I"def data_index;F;/To; ; F; ;;;;I"'UiBibz::Ui::Ux::Column#data_index=;F;[[I" value;F0;[[@i ;F;:data_index=;;;[;{;IC;""Sets the attribute data_index ;F;#@i;40;&F;[;[o; ; I" param;F;!I"2the value to set the attribute data_index to.;F;I" value;F;"0;#@i;$I"]Sets the attribute data_index @param value the value to set the attribute data_index to.;F;%0;,@;-I"5def data_index=(value) @data_index = value end;F;.I"def data_index=(value);F;/To; ; F; ;;;;I"'UiBibz::Ui::Ux::Column#date_format;F;[;[[@i ;F;:date_format;;;[;{;IC;"/Returns the value of attribute date_format ;F;#@|;40;&F;[;[;$I"/Returns the value of attribute date_format;F;%0;,@;-I"'def date_format @date_format end;F;.I"def date_format;F;/To; ; F; ;;;;I"(UiBibz::Ui::Ux::Column#date_format=;F;[[I" value;F0;[[@i ;F;:date_format=;;;[;{;IC;"#Sets the attribute date_format ;F;#@;40;&F;[;[o; ; I" param;F;!I"3the value to set the attribute date_format to.;F;I" value;F;"0;#@;$I"_Sets the attribute date_format @param value the value to set the attribute date_format to.;F;%0;,@;-I"7def date_format=(value) @date_format = value end;F;.I"def date_format=(value);F;/To; ; F; ;;;;I" UiBibz::Ui::Ux::Column#sort;F;[;[[@i ;F;;;;;[;{;IC;"(Returns the value of attribute sort ;F;#@;40;&F;[;[;$I"(Returns the value of attribute sort;F;%0;,@;-I"def sort @sort end;F;.I" def sort;F;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#sort=;F;[[I" value;F0;[[@i ;F;: sort=;;;[;{;IC;"Sets the attribute sort ;F;#@;40;&F;[;[o; ; I" param;F;!I",the value to set the attribute sort to.;F;I" value;F;"0;#@;$I"QSets the attribute sort @param value the value to set the attribute sort to.;F;%0;,@;-I")def sort=(value) @sort = value end;F;.I"def sort=(value);F;/To; ; F; ;;;;I""UiBibz::Ui::Ux::Column#format;F;[;[[@i ;F;: format;;;[;{;IC;"*Returns the value of attribute format ;F;#@;40;&F;[;[;$I"*Returns the value of attribute format;F;%0;,@;-I"def format @format end;F;.I"def format;F;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Column#format=;F;[[I" value;F0;[[@i ;F;: format=;;;[;{;IC;"Sets the attribute format ;F;#@;40;&F;[;[o; ; I" param;F;!I".the value to set the attribute format to.;F;I" value;F;"0;#@;$I"USets the attribute format @param value the value to set the attribute format to.;F;%0;,@;-I"-def format=(value) @format = value end;F;.I"def format=(value);F;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#count;F;[;[[@i ;F;: count;;;[;{;IC;")Returns the value of attribute count ;F;#@;40;&F;[;[;$I")Returns the value of attribute count;F;%0;,@;-I"def count @count end;F;.I"def count;F;/To; ; F; ;;;;I""UiBibz::Ui::Ux::Column#count=;F;[[I" value;F0;[[@i ;F;: count=;;;[;{;IC;"Sets the attribute count ;F;#@;40;&F;[;[o; ; I" param;F;!I"-the value to set the attribute count to.;F;I" value;F;"0;#@;$I"SSets the attribute count @param value the value to set the attribute count to.;F;%0;,@;-I"+def count=(value) @count = value end;F;.I"def count=(value);F;/To; ; F; ;;;;I"'UiBibz::Ui::Ux::Column#custom_sort;F;[;[[@i ;F;:custom_sort;;;[;{;IC;"/Returns the value of attribute custom_sort ;F;#@;40;&F;[;[;$I"/Returns the value of attribute custom_sort;F;%0;,@;-I"'def custom_sort @custom_sort end;F;.I"def custom_sort;F;/To; ; F; ;;;;I"(UiBibz::Ui::Ux::Column#custom_sort=;F;[[I" value;F0;[[@i ;F;:custom_sort=;;;[;{;IC;"#Sets the attribute custom_sort ;F;#@ ;40;&F;[;[o; ; I" param;F;!I"3the value to set the attribute custom_sort to.;F;I" value;F;"0;#@ ;$I"_Sets the attribute custom_sort @param value the value to set the attribute custom_sort to.;F;%0;,@;-I"7def custom_sort=(value) @custom_sort = value end;F;.I"def custom_sort=(value);F;/To; ; F; ;;;;I""UiBibz::Ui::Ux::Column#parent;F;[;[[@i ;F;: parent;;;[;{;IC;"*Returns the value of attribute parent ;F;#@;40;&F;[;[;$I"*Returns the value of attribute parent;F;%0;,@;-I"def parent @parent end;F;.I"def parent;F;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Column#parent=;F;[[I" value;F0;[[@i ;F;: parent=;;;[;{;IC;"Sets the attribute parent ;F;#@);40;&F;[;[o; ; I" param;F;!I".the value to set the attribute parent to.;F;I" value;F;"0;#@);$I"USets the attribute parent @param value the value to set the attribute parent to.;F;%0;,@;-I"-def parent=(value) @parent = value end;F;.I"def parent=(value);F;/To; ; F; ;;;;I"&UiBibz::Ui::Ux::Column#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i ;F;;;;;[;{;IC;" ;F;#@<;40;&F;[;[o; ; I" return;F;!I"a new instance of Column;F;0;"[I" Column;F;#@<;$I";F;%0;,@;-I"def initialize content = nil, options = nil, html_options = nil, &block super @data_index = @content @name = @options[:name] @link = @options[:link] # for show or edit action @order = @options[:order] @date_format = @options[:date_format] @sort = @options[:sort] @custom_sort = @options[:custom_sort] @parent = @options[:parent] @count = @options[:count] @format = @options[:format] @hidden = @options[:hidden] end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Ux::Column#linkable?;F;[;[[@i;F;:linkable?;;;[;{;IC;" ;F;#@Y;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@Y;$I";F;%0;,@;-I"$def linkable? !@link.nil? end;T;.I"def linkable?;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#order;F;[;[[@i;F;: order;;;[;{;IC;" ;F;#@k;40;&F;[;[;$I";F;%0;,@;-I" def order @order || 0 end;T;.I"def order;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Column#hidden?;F;[;[[@i";F;: hidden?;;;[;{;IC;" ;F;#@x;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@x;$I";F;%0;,@;-I"&def hidden? @hidden == true end;T;.I"def hidden?;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;IC;<{;X@;Y@ ;>T;zIC;<{;X@;Y@);>T;IC;<{;X@<;Y@I;>T;IC;<{;X@\;Y@i;>T;IC;<{;X@|;Y@;>T;IC;<{;X@;Y@;>T;IC;<{;X@;Y@;>T;IC;<{;X@;Y@;>T;IC;<{;X@;Y@ ;>T;IC;<{;X@;Y@);>T;>T;>T;?{;@[;[[@i;F;: Column;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Column;F;Bo;C ;D0;EI" UiBibz::Ui::Core::Component;T;F@ ;;G;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Ux::Columns#initialize;F;[[I" columns;TI"nil;T;[[I"2lib/ui_bibz/ui/ux/table/components/columns.rb;Ti ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I"a new instance of Columns;F;0;"[I" Columns;F;#@;$I";F;%0;,@;-I"@def initialize columns = nil @columns = columns || [] end;T;.I"!def initialize columns = nil;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Columns#column;F;[ [I"data_index;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i;T;: column;;;[;{;IC;"Add column in table ;F;[;[;$I"Add column in table;T;%0;#@;&F;'o;(;)F;*i ;+i ;,@;-I"def column data_index = nil, options = nil, html_options = nil, &block @columns << Column.new(data_index, options, html_options, &block) end;T;.I"Kdef column data_index = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Columns#list;F;[;[[@i;T;;;;;[;{;IC;"Get all columns ;F;[;[;$I"Get all columns;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def list @columns end;T;.I" def list;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;: Columns;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Columns;F;Bo;C ;D0;E0;F0;;b;,@;H0;`;=;/To; ;IC;[o; ; F; ;;;;I"0UiBibz::Ui::Ux::TableSearchField#initialize;F;[[I" options;TI"nil;T[I"html_options;TI"nil;T;[[I"2lib/ui_bibz/ui/ux/table/table_search_field.rb;Ti ;T;;;;;[;{;IC;"0Initialize search_field with component item ;F;[;[o; ; I" return;F;!I"'a new instance of TableSearchField;F;0;"[I"TableSearchField;F;#@;$I"0Initialize search_field with component item;T;%0;#@;&F;'o;(;)F;*i ;+i ;,@;-I"def initialize options = nil, html_options = nil @search_field = UiBibz::Ui::Core::Component.new nil, options, html_options end;T;.I"5def initialize options = nil, html_options = nil;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Ux::TableSearchField#render;F;[;[[@i;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def render if @search_field.options[:wrap_form] != false form_tag(url_for(url_parameters), method: :get, class: 'form-table-search-field') do search_field_html end else search_field_html end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"4UiBibz::Ui::Ux::TableSearchField#url_parameters;F;[;[[@i;F;;;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@;-I"hdef url_parameters { controller: store.controller, action: store.action, id: store.param_id } end;T;.I"def url_parameters;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Ux::TableSearchField#store;F;[;[[@i!;T;;;;;[;{;IC;"@Store must be generated by *table_search_pagination* method ;F;[;[;$I"@Store must be generated by *table_search_pagination* method;T;%0;#@-;&F;'o;(;)F;*i ;+i ;,@;-I"def store @store ||= if @search_field.options[:store].nil? raise 'Store is nil!' elsif @search_field.options[:store].try(:records).nil? raise 'Store can be created only with "table_search_pagination" method!' else Store.new @search_field.options.delete :store end end;T;.I"def store;T;/T;0To; ; F; ;;;2;I"7UiBibz::Ui::Ux::TableSearchField#search_field_html;F;[;[[@i+;F;:search_field_html;;;[;{;IC;" ;F;#@;;40;&F;[;[;$I";F;%0;,@;-I"`def search_field_html content_tag :div, @search_field.class_and_html_options(div_class) do concat content_tag(:span, UiBibz::Ui::Core::Glyph.new('search').render, class: 'input-group-addon') concat tag(:input, type: 'hidden', name: 'store_id', value: store.id) unless store.id.nil? # if there is more one table in html page concat tag(:input, type: 'search', value: store.search, name: 'search', class: 'form-control', placeholder: search_placeholder_field) concat content_tag(:span, UiBibz::Ui::Core::Glyph.new('times-circle').render, class: 'clear-search-btn input-group-addon') end end;T;.I"def search_field_html;T;/T;0To; ; F; ;;;2;I"/UiBibz::Ui::Ux::TableSearchField#div_class;F;[;[[@i4;F;:div_class;;;[;{;IC;" ;F;#@H;40;&F;[;[;$I";F;%0;,@;-I"Jdef div_class %w(input-group input-group-sm table-search-field) end;T;.I"def div_class;T;/T;0To; ; F; ;;;2;I">UiBibz::Ui::Ux::TableSearchField#search_placeholder_field;F;[;[[@i8;F;:search_placeholder_field;;;[;{;IC;" ;F;#@U;40;&F;[;[;$I";F;%0;,@;-I"def search_placeholder_field UiBibz::Utils::Internationalization.new('ui_bibz.grid.searchable.field.placeholder', searchable_attributes: searchable_attributes_sentence).translate end;T;.I"!def search_placeholder_field;T;/T;0To; ; F; ;;;2;I"DUiBibz::Ui::Ux::TableSearchField#searchable_attributes_sentence;F;[;[[@i<;F;:#searchable_attributes_sentence;;;[;{;IC;" ;F;#@b;40;&F;[;[;$I";F;%0;,@;-I"def searchable_attributes_sentence store.searchable_attributes.map do |i| attribute_name = underscorize_hash(i) UiBibz::Utils::Internationalization.new("ui_bibz.grid.searchable.field.searchable_attributes.#{ model_name }.#{ attribute_name }", default: [translate_searchable_attributes_by_active_record(attribute_name), attribute_name.to_s.humanize]).translate end.to_sentence(locale: I18n.locale) end;T;.I"'def searchable_attributes_sentence;T;/T;0To; ; F; ;;;2;I"0UiBibz::Ui::Ux::TableSearchField#model_name;F;[;[[@iC;F;:model_name;;;[;{;IC;" ;F;#@o;40;&F;[;[;$I";F;%0;,@;-I"5def model_name store.model.to_s.underscore end;T;.I"def model_name;T;/T;0To; ; F; ;;;2;I"VUiBibz::Ui::Ux::TableSearchField#translate_searchable_attributes_by_active_record;F;[[I" attr;T0;[[@iG;F;:5translate_searchable_attributes_by_active_record;;;[;{;IC;" ;F;#@|;40;&F;[;[;$I";F;%0;,@;-I"kdef translate_searchable_attributes_by_active_record attr store.model.human_attribute_name(attr) end;T;.I">def translate_searchable_attributes_by_active_record attr;T;/T;0To; ; F; ;;;2;I"7UiBibz::Ui::Ux::TableSearchField#underscorize_hash;F;[[I" attr;T0;[[@iK;F;:underscorize_hash;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"wdef underscorize_hash attr attr.kind_of?(Hash) ? "#{ attr.keys.first }_#{ attr.values.first }".to_sym : attr end;T;.I"def underscorize_hash attr;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:TableSearchField;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"%UiBibz::Ui::Ux::TableSearchField;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Ux::Actions#initialize;F;[[I" store;T0;[[I"2lib/ui_bibz/ui/ux/table/components/actions.rb;Ti ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I"a new instance of Actions;F;0;"[I" Actions;F;#@;$I";F;%0;,@;-I"_def initialize store @store = store @actions = [] @action_order = -1 end;T;.I"def initialize store;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Actions#link;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i;T;;z;;;[;{;IC;"Add link action in table ;F;[;[;$I"Add link action in table;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def link content = nil, options = nil, html_options = nil, &block @actions << UiBibz::Ui::Core::DropdownLink.new(content, options, html_options, &block).render end;T;.I"Fdef link content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Actions#divider;F;[;[[@i;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Odef divider @actions << UiBibz::Ui::Core::DropdownDivider.new.render end;T;.I"def divider;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Actions#header;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i;F;;r;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def header content = nil, options = nil, html_options = nil, &block @actions << UiBibz::Ui::Core::DropdownHeader.new(content, options, html_options, &block).render end;T;.I"Hdef header content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Ux::Actions#reset;F;[;[[@i;F;: reset;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I""def reset @actions = [] end;T;.I"def reset;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Actions#format;F;[[I" &block;F0;[[@i#;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"3def format &block @format_action = block end;T;.I"def format &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Actions#list;F;[;[[@i(;T;;;;;[;{;IC;"Get all actions ;F;[;[;$I"Get all actions;T;%0;#@;&F;'o;(;)F;*i';+i';,@;-I"Adef list @actions.empty? ? defaults_actions : @actions end;T;.I" def list;T;/T;0To; ; F; ;;;;I"*UiBibz::Ui::Ux::Actions#format_action;F;[;[[@i,;F;:format_action;;;[;{;IC;" ;F;#@+;40;&F;[;[;$I";F;%0;,@;-I"+def format_action @format_action end;T;.I"def format_action;T;/T;0To; ; F; ;;;2;I"-UiBibz::Ui::Ux::Actions#defaults_actions;F;[;[[@i2;F;:defaults_actions;;;[;{;IC;" ;F;#@8;40;&F;[;[;$I";F;%0;,@;-I"def defaults_actions [ UiBibz::Ui::Core::DropdownLink.new(show_name, url: { controller: @store.controller, action: 'show', id: :id }, glyph: 'eye').render, UiBibz::Ui::Core::DropdownLink.new(edit_name, url:{ controller: @store.controller, action: 'edit', id: :id }, glyph: 'pencil').render, UiBibz::Ui::Core::DropdownLink.new(delete_name, { glyph: 'trash', url: { controller: @store.controller, action: 'destroy', id: :id }}, data: { confirm: 'Are you sure?', method: :delete }).render ] end;T;.I"def defaults_actions;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Ux::Actions#show_name;F;[;[[@i:;F;:show_name;;;[;{;IC;" ;F;#@E;40;&F;[;[;$I";F;%0;,@;-I"def show_name defaults = ['ui_bibz.table.actions.defaults.show', 'Show'] UiBibz::Utils::Internationalization.new("ui_bibz.table.actions.#{ @store.model.to_s.underscore }.show", default: defaults).translate end;T;.I"def show_name;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Ux::Actions#edit_name;F;[;[[@i?;F;:edit_name;;;[;{;IC;" ;F;#@R;40;&F;[;[;$I";F;%0;,@;-I"def edit_name defaults = ['ui_bibz.table.actions.defaults.edit', 'Edit'] UiBibz::Utils::Internationalization.new("ui_bibz.table.actions.#{ @store.model.to_s.underscore }.edit", default: defaults).translate end;T;.I"def edit_name;T;/T;0To; ; F; ;;;2;I"(UiBibz::Ui::Ux::Actions#delete_name;F;[;[[@iD;F;:delete_name;;;[;{;IC;" ;F;#@_;40;&F;[;[;$I";F;%0;,@;-I"def delete_name defaults = ['ui_bibz.table.actions.defaults.delete', 'Delete'] UiBibz::Utils::Internationalization.new("ui_bibz.table.actions.#{ @store.model.to_s.underscore }.delete", default: defaults).translate end;T;.I"def delete_name;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i ;F;: Actions;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Actions;F;Bo;C ;D0;E0;F0;;b;,@;H0;`;=;/To; ;IC;[o; ; F; ;;;;I"(UiBibz::Ui::Ux::Sortable#initialize;F;[[I" store;T0[I" options;T0;[[I"3lib/ui_bibz/ui/ux/table/extensions/sortable.rb;Ti ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I"a new instance of Sortable;F;0;"[I" Sortable;F;#@;$I";F;%0;,@};-I"Ndef initialize store, options @store = store @options = options end;T;.I""def initialize store, options;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Sortable#header;F;[[I" column;T0[I" name;TI"nil;T;[[@i;T;;r;;;[;{;IC;"header use i18n ;F;[;[;$I"header use i18n;T;%0;#@;&F;'o;(;)F;*i;+i;,@};-I"Xdef header column, name = nil @column = column defaults = [translate_headers_by_defaults, translate_headers_by_defaults_active_record, translate_headers_by_active_record, header_name(name)] @name = UiBibz::Utils::Internationalization.new(translate_headers_by_model, default: defaults).translate sortable? ? sortable_link : title end;T;.I""def header column, name = nil;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Ux::Sortable#sortable_link;F;[;[[@i;F;:sortable_link;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"Qdef sortable_link link_to title.html_safe, url_options, { class: cls } end;T;.I"def sortable_link;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Ux::Sortable#header_name;F;[[I" name;T0;[[@i;F;:header_name;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"}def header_name name name = name || @column.name.try('titleize') name || @column.data_index.to_s.try('titleize') end;T;.I"def header_name name;T;/T;0To; ; F; ;;;2;I"8UiBibz::Ui::Ux::Sortable#translate_headers_by_model;F;[;[[@i!;F;:translate_headers_by_model;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"zdef translate_headers_by_model "ui_bibz.grid.headers.#{ @store.model.to_s.underscore }.#{ @column.data_index }" end;T;.I"#def translate_headers_by_model;T;/T;0To; ; F; ;;;2;I";UiBibz::Ui::Ux::Sortable#translate_headers_by_defaults;F;[;[[@i%;F;:"translate_headers_by_defaults;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"ddef translate_headers_by_defaults "ui_bibz.grid.headers.defaults.#{ @column.data_index }" end;T;.I"&def translate_headers_by_defaults;T;/T;0To; ; F; ;;;2;I"IUiBibz::Ui::Ux::Sortable#translate_headers_by_defaults_active_record;F;[;[[@i);F;:0translate_headers_by_defaults_active_record;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"udef translate_headers_by_defaults_active_record "activerecord.attributes.defaults.#{ @column.data_index }" end;T;.I"4def translate_headers_by_defaults_active_record;T;/T;0To; ; F; ;;;2;I"@UiBibz::Ui::Ux::Sortable#translate_headers_by_active_record;F;[;[[@i-;F;:'translate_headers_by_active_record;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"def translate_headers_by_active_record "activerecord.attributes.#{ @store.model.to_s.underscore }.#{ @column.data_index }" end;T;.I"+def translate_headers_by_active_record;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Ux::Sortable#url_options;F;[;[[@i1;F;:url_options;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"def url_options args = { controller: @store.controller, id: @store.param_id, action: @store.action, search: @store.search, sort: sort_name, direction: direction } args = args.merge({ custom_sort: true, column_name: @column.data_index }) if @column.custom_sort args = args.merge({ parent: true }) if @column.parent args = args.merge({ store_id: @store.id }) unless @store.id.nil? args end;T;.I"def url_options;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Ux::Sortable#sortable?;F;[;[[@i@;F;:sortable?;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@;$I";F;%0;,@};-I"Ndef sortable? @options[:sortable].nil? ? true : @options[:sortable] end;T;.I"def sortable?;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Ux::Sortable#title;F;[;[[@iD;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"8def title sortable? ? name_with_caret : @name end;T;.I"def title;T;/T;0To; ; F; ;;;2;I"-UiBibz::Ui::Ux::Sortable#name_with_caret;F;[;[[@iH;F;:name_with_caret;;;[;{;IC;" ;F;#@%;40;&F;[;[;$I";F;%0;,@};-I"Odef name_with_caret sort_name == sort_column ? @name + caret : @name end;T;.I"def name_with_caret;T;/T;0To; ; F; ;;;2;I"#UiBibz::Ui::Ux::Sortable#caret;F;[;[[@iL;F;;;;;[;{;IC;" ;F;#@2;40;&F;[;[;$I";F;%0;,@};-I";def caret content_tag(:span, '', class: 'caret') end;T;.I"def caret;T;/T;0To; ; F; ;;;2;I"!UiBibz::Ui::Ux::Sortable#cls;F;[;[[@iP;F;:cls;;;[;{;IC;" ;F;#@?;40;&F;[;[;$I";F;%0;,@};-I";def cls sort_direction == 'asc' ? 'dropup' : nil end;T;.I" def cls;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Ux::Sortable#direction;F;[;[[@iT;F;;;;;[;{;IC;" ;F;#@L;40;&F;[;[;$I";F;%0;,@};-I"]def direction sort_name == sort_column && sort_direction == "asc" ? "desc" : "asc" end;T;.I"def direction;T;/T;0To; ; F; ;;;2;I".UiBibz::Ui::Ux::Sortable#sort_column_name;F;[;[[@iX;F;:sort_column_name;;;[;{;IC;" ;F;#@Y;40;&F;[;[;$I";F;%0;,@};-I"def sort_column_name @column.sort.nil? ? "#{ @store.model.to_s.downcase.pluralize }.#{ @column.data_index}" : @column.sort end;T;.I"def sort_column_name;T;/T;0To; ; F; ;;;2;I"'UiBibz::Ui::Ux::Sortable#sort_name;F;[;[[@i\;F;:sort_name;;;[;{;IC;" ;F;#@f;40;&F;[;[;$I";F;%0;,@};-I"7def sort_name @sort_name || sort_column_name end;T;.I"def sort_name;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Ux::Sortable#sort_column;F;[;[[@i`;F;:sort_column;;;[;{;IC;" ;F;#@s;40;&F;[;[;$I";F;%0;,@};-I"&def sort_column @store.sort end;T;.I"def sort_column;T;/T;0To; ; F; ;;;2;I",UiBibz::Ui::Ux::Sortable#sort_direction;F;[;[[@id;F;:sort_direction;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@};-I"`def sort_direction %w[asc desc].include?(@store.direction) ? @store.direction : "asc" end;T;.I"def sort_direction;T;/T;0T;8@};9IC;[;8@};:IC;[;8@};;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;: Sortable;;;;;[;{;IC;" ;F;#@};40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Sortable;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I")UiBibz::Ui::Ux::Paginable#initialize;F;[[I" store;T0[I" options;T0;[[I"4lib/ui_bibz/ui/ux/table/extensions/paginable.rb;Ti ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I" a new instance of Paginable;F;0;"[I"Paginable;F;#@;$I";F;%0;,@;-I"Ndef initialize store, options @store = store @options = options end;T;.I""def initialize store, options;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Ux::Paginable#render;F;[;[[@i;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def render content_tag :div do concat UiBibz::Ui::Ux::TablePagination.new(store: @store).render concat UiBibz::Ui::Ux::TablePaginationPerPage.new(store: @store).render concat tag(:br, class: 'ui-bibz-clear') end end;T;.I"def render;T;/T;0To; ; F; ;;;;I")UiBibz::Ui::Ux::Paginable#paginable?;F;[;[[@i;F;:paginable?;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@;$I";F;%0;,@;-I"Qdef paginable? @options[:paginable].nil? ? true : @options[:paginable] end;T;.I"def paginable?;T;/T;0To; ; F; ;;;2;I"$UiBibz::Ui::Ux::Paginable#store;F;[;[[@i;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def store @store ||= if @search_field.options[:store].nil? raise 'Store is nil!' elsif @search_field.options[:store].try(:records).nil? raise 'Store can be created only with "table_search_pagination" method!' else Store.new @search_field.options.delete :store end end;T;.I"def store;T;/T;0T;8@;9IC;[;8@;:IC;[o;C ;D0;EI"WillPaginate::ActionView;T;F@;;_;,o;C ;D0;E0;F0;;;,@;H0;`0;H0;`;a;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:Paginable;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Paginable;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[o; ; F; ;;;;I"*UiBibz::Ui::Ux::Actionable#initialize;F;[[I" store;T0[I" options;T0[I" actions;TI"nil;T;[[I"5lib/ui_bibz/ui/ux/table/extensions/actionable.rb;Ti ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I"!a new instance of Actionable;F;0;"[I"Actionable;F;#@;$I";F;%0;,@;-I"rdef initialize store, options, actions = nil @store = store @options = options @actions = actions end;T;.I"1def initialize store, options, actions = nil;T;/T;0To; ; F; ;;;;I"+UiBibz::Ui::Ux::Actionable#actionable?;F;[;[[@i;F;:actionable?;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@;$I";F;%0;,@;-I"Tdef actionable? @options[:actionable].nil? ? true : @options[:actionable] end;T;.I"def actionable?;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Ux::Actionable#header;F;[[I"ths;T0;[[@i;F;;r;;;[;{;IC;" ;F;#@(;40;&F;[;[;$I";F;%0;,@;-I"[def header ths ths << content_tag(:th, '', class: 'action') if actionable? ths end;T;.I"def header ths;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Actionable#body;F;[[I" record;T0[I"tds;T0;[[@i;F;;s;;;[;{;IC;" ;F;#@7;40;&F;[;[;$I";F;%0;,@;-I"Mdef body record, tds tds << td_action(record) if actionable? tds end;T;.I"def body record, tds;T;/T;0To; ; F; ;;;;I"*UiBibz::Ui::Ux::Actionable#inject_url;F;[[I"url;T0[I" record;T0;[[@i;T;:inject_url;;;[;{;IC;"1Add "id" in url to match with current record ;F;[;[;$I"1Add "id" in url to match with current record;T;%0;#@H;&F;'o;(;)F;*i;+i;,@;-I"Odef inject_url url, record url.gsub(/(\/id\/?)/, "/#{ record.id }/") end;T;.I"def inject_url url, record;T;/T;0To; ; F; ;;;2;I"/UiBibz::Ui::Ux::Actionable#dropdown_action;F;[[I" record;T0;[[@i$;F;:dropdown_action;;;[;{;IC;" ;F;#@Z;40;&F;[;[;$I";F;%0;,@;-I"def dropdown_action record UiBibz::Ui::Core::Dropdown.new(dropdown_action_name, { position: :right, glyph: actions_glyph }, class: 'btn-group-xs dropdown-action').tap do |d| unless @actions.nil? @actions.format_action.call(record) unless @actions.format_action.nil? actions_links(record).each do |l| d.html l.to_s.html_safe end @actions.reset end end.render end;T;.I"def dropdown_action record;T;/T;0To; ; F; ;;;2;I"-UiBibz::Ui::Ux::Actionable#actions_glyph;F;[;[[@i0;F;:actions_glyph;;;[;{;IC;" ;F;#@i;40;&F;[;[;$I";F;%0;,@;-I"?def actions_glyph { name: 'ellipsis-v', type: 'fw' } end;T;.I"def actions_glyph;T;/T;0To; ; F; ;;;2;I"4UiBibz::Ui::Ux::Actionable#dropdown_action_name;F;[;[[@i4;F;:dropdown_action_name;;;[;{;IC;" ;F;#@v;40;&F;[;[;$I";F;%0;,@;-I"def dropdown_action_name defaults = ["ui_bibz.table.actions.defaults.title", 'Actions'] UiBibz::Utils::Internationalization.new("ui_bibz.table.actions.#{ @store.model.to_s.underscore }.title", default: defaults).translate end;T;.I"def dropdown_action_name;T;/T;0To; ; F; ;;;2;I"-UiBibz::Ui::Ux::Actionable#actions_links;F;[[I" record;T0;[[@i9;F;:actions_links;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Zdef actions_links record @actions.list.compact.map{ |l| inject_url(l, record) } end;T;.I"def actions_links record;T;/T;0To; ; F; ;;;2;I")UiBibz::Ui::Ux::Actionable#td_action;F;[[I" record;T0;[[@i=;F;:td_action;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Hdef td_action record content_tag :td, dropdown_action(record) end;T;.I"def td_action record;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:Actionable;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Actionable;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I"*UiBibz::Ui::Ux::Searchable#initialize;F;[[I" store;T0[I" options;T0;[[I"5lib/ui_bibz/ui/ux/table/extensions/searchable.rb;Ti ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I"!a new instance of Searchable;F;0;"[I"Searchable;F;#@;$I";F;%0;,@;-I"Ndef initialize store, options @store = store @options = options end;T;.I""def initialize store, options;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Ux::Searchable#render;F;[;[[@i;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def render content_tag :div do concat content_tag(:div, table_name, class: 'title') concat TableSearchField.new(store: @store, wrap_form: false).render if searchable? concat tag :br, class: 'ui-bibz-clear' end end;T;.I"def render;T;/T;0To; ; F; ;;;;I"+UiBibz::Ui::Ux::Searchable#searchable?;F;[;[[@i;F;:searchable?;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@;$I";F;%0;,@;-I"Tdef searchable? @options[:searchable].nil? ? true : @options[:searchable] end;T;.I"def searchable?;T;/T;0To; ; F; ;;;2;I"PUiBibz::Ui::Ux::Searchable#translate_searchable_attributes_by_active_record;F;[[I" attr;T0;[[@i;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"ldef translate_searchable_attributes_by_active_record attr @store.model.human_attribute_name(attr) end;T;.I">def translate_searchable_attributes_by_active_record attr;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Ux::Searchable#table_title;F;[;[[@i!;F;:table_title;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def table_title if @options[:title] != false title = @options[:title] || "#{ @store.controller.humanize } list" UiBibz::Utils::Internationalization.new("ui_bibz.table.title.#{ model_name }", default: ["ui_bibz.table.title.defaults", title]).translate end end;T;.I"def table_title;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Ux::Searchable#model_name;F;[;[[@i(;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"6def model_name @store.model.to_s.underscore end;T;.I"def model_name;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Ux::Searchable#table_name;F;[;[[@i,;F;:table_name;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Bdef table_name "#{table_glyph}#{table_title}".html_safe end;T;.I"def table_name;T;/T;0To; ; F; ;;;2;I"+UiBibz::Ui::Ux::Searchable#table_glyph;F;[;[[@i0;F;:table_glyph;;;[;{;IC;" ;F;#@";40;&F;[;[;$I";F;%0;,@;-I"ldef table_glyph UiBibz::Ui::Core::Glyph.new(@options[:glyph]).render unless @options[:glyph].nil? end;T;.I"def table_glyph;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:Searchable;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@ ;I"UiBibz::Ui::Ux::Searchable;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/To; ;IC;[ o; ; F; ;;;;I"6UiBibz::Ui::Ux::TablePaginationPerPage#initialize;F;[[I" options;TI"nil;T[I"html_options;TI"nil;T;[[I"9lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb;Ti#;T;;;;;[;{;IC;"ZInitialize per_page_field with component item per_page_field require WillPaginate gem ;F;[;[o; ; I" return;F;!I"-a new instance of TablePaginationPerPage;F;0;"[I"TablePaginationPerPage;F;#@C;$I"ZInitialize per_page_field with component item per_page_field require WillPaginate gem;T;%0;#@C;&F;'o;(;)F;*i!;+i";,@A;-I"def initialize options = nil, html_options = nil @per_page_field = UiBibz::Ui::Core::Component.new nil, options, html_options end;T;.I"5def initialize options = nil, html_options = nil;T;/T;0To; ; F; ;;;;I"2UiBibz::Ui::Ux::TablePaginationPerPage#render;F;[;[[@Ni(;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@];&F;'o;(;)F;*i';+i';,@A;-I"def render if @per_page_field.options[:wrap_form] != false form_tag(url_for(url_parameters), method: :get) do per_page_html end else per_page_html end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"1UiBibz::Ui::Ux::TablePaginationPerPage#store;F;[;[[@Ni4;F;;;;;[;{;IC;" ;F;#@k;40;&F;[;[;$I";F;%0;,@A;-I"%def store @store ||= if @per_page_field.options[:store].nil? raise 'Store is nil!' elsif @per_page_field.options[:store].try(:records).nil? raise 'Store can be created only with "table_search_pagination" method!' else Store.new @per_page_field.options.delete :store end end;T;.I"def store;T;/T;0To; ; F; ;;;2;I":UiBibz::Ui::Ux::TablePaginationPerPage#url_parameters;F;[;[[@Ni>;F;;;;;[;{;IC;" ;F;#@x;40;&F;[;[;$I";F;%0;,@A;-I"hdef url_parameters { controller: store.controller, action: store.action, id: store.param_id } end;T;.I"def url_parameters;T;/T;0To; ; F; ;;;2;I"9UiBibz::Ui::Ux::TablePaginationPerPage#per_page_html;F;[;[[@NiB;F;:per_page_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@A;-I"def per_page_html content_tag :div, class: 'table-pagination-per-page' do concat results_count_html concat UiBibz::Utils::Internationalization.new("ui_bibz.table.pagination.per_page", default: "Per page: ").translate concat select_tag('per_page', options_for_select([5, 10, 20, 30, 50, 100, 200, 500], store.per_page), class: 'form-control') concat tag(:input, type: 'hidden', name: 'store_id', value: store.id) unless store.id.nil? # If there is more 1 table in html page end end;T;.I"def per_page_html;T;/T;0To; ; F; ;;;2;I">UiBibz::Ui::Ux::TablePaginationPerPage#results_count_html;F;[;[[@NiK;F;:results_count_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@A;-I"Udef results_count_html "#{ page_entries_info store.records } | ".html_safe end;T;.I"def results_count_html;T;/T;0To; ; F; ;;;2;I"@UiBibz::Ui::Ux::TablePaginationPerPage#from_current_results;F;[;[[@NiO;F;:from_current_results;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@A;-I"bdef from_current_results store.limit_value * store.current_page - store.limit_value + 1 end;T;.I"def from_current_results;T;/T;0To; ; F; ;;;2;I">UiBibz::Ui::Ux::TablePaginationPerPage#to_current_results;F;[;[[@NiS;F;:to_current_results;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@A;-I"Hdef to_current_results store.limit_value * store.current_page end;T;.I"def to_current_results;T;/T;0T;8@A;9IC;[;8@A;:IC;[o;C ;D0;EI"WillPaginate::ActionView;T;F@A;;_;,o;C ;D0;E0;F0;;;,@A;H0;`0;H0;`;a;8@A;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@Ni;T;:TablePaginationPerPage;;;;;[;{;IC;"Create a select pagination per page ==== Attributes * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method ==== Signatures UiBibz::Ui::Ux::TablePaginationPerPage.new(store: @store) ==== Helper table_pagination_per_page(options = {}) ;F;[;[;$I"Create a select pagination per page ==== Attributes * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method ==== Signatures UiBibz::Ui::Ux::TablePaginationPerPage.new(store: @store) ==== Helper table_pagination_per_page(options = {}) ;T;%0;#@A;&F;'o;(;)F;*i ;+i;,@ ;I"+UiBibz::Ui::Ux::TablePaginationPerPage;F;Bo;C ;D0;EI"UiBibz::Ui::Base;T;F@ ;;Z;,@ ;H@;`0;/T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i,[@i[@i[@i[@i[@i [@i[@i[@i[@i [@i[@i[@i[@i[@Ni;T;:Ux;;;;;[;{;IC;"Ux ;F;[;[;$I"Ux;T;%0;#@ ;&F;'o;(;)F;*i+;+i+;,@ ;I"UiBibz::Ui::Ux;F;/T@;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i[@i;F;:Ui;;;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@;I"UiBibz::Ui;F;/To; ;IC;[ o; ;IC;[o; ; F; ;;;;I"3UiBibz::Helpers::MetaHelper#ui_bibz_meta_links;F;[;[[I"'lib/ui_bibz/helpers/meta_helper.rb;Ti;T;:ui_bibz_meta_links;;;[;{;IC;"Returns html script tags to include boostrap 3.3.1 [js,css], jquery 2.1.1 [js], font-awesome 4.2.0 [css] ui_bibz_meta_links # => # # # # ;F;[;[;$I"Returns html script tags to include boostrap 3.3.1 [js,css], jquery 2.1.1 [js], font-awesome 4.2.0 [css] ui_bibz_meta_links # => # # # # ;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"_def ui_bibz_meta_links capture do # Latest compiled and minified CSS concat stylesheet_link_tag "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css", title: 'Default' # font awesome icons concat stylesheet_link_tag "https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" # Jquery is required for boostrap concat javascript_include_tag 'https://code.jquery.com/jquery-2.1.1.min.js' # Latest compiled and minified JavaScript concat javascript_include_tag "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js" end end;T;.I"def ui_bibz_meta_links;T;/T;0To; ; F; ;;;;I"9UiBibz::Helpers::MetaHelper#ui_bibz_local_meta_links;F;[;[[@i;F;:ui_bibz_local_meta_links;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def ui_bibz_local_meta_links capture do # Latest compiled and minified CSS concat stylesheet_link_tag "bootstrap.min" # font awesome icons concat stylesheet_link_tag "font-awesome.min" # Jquery is required for boostrap concat javascript_include_tag 'jquery-2.1.4.min' # Latest compiled and minified JavaScript concat javascript_include_tag "bootstrap.min" end end;T;.I"!def ui_bibz_local_meta_links;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:MetaHelper;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,o;C ;D0;EI"UiBibz::Helpers;T;F@;;^;,@;H@;`0;I" UiBibz::Helpers::MetaHelper;Fo; ;IC;[ o; ; F; ;;;;I"%UiBibz::Helpers::UiUxHelper#grid;F;[[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"(lib/ui_bibz/helpers/ui_ux_helper.rb;Ti;F;: grid;;;[;{;IC;" ;F;#@3;40;&F;[;[;$I";F;%0;,@1;-I"{def grid options = nil, html_options = nil, &block UiBibz::Ui::Ux::Grid.new(options, html_options).tap(&block).render end;T;.I"7def grid options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"&UiBibz::Helpers::UiUxHelper#table;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@@i ;T;: table;;;[;{;IC;"OTable section begin ------------------------------------------------------ ;F;[;[;$I"OTable section begin ------------------------------------------------------;T;%0;#@I;&F;'o;(;)F;*i ;+i ;,@1;-I"def table content = nil, options = nil, html_options = nil, &block if is_tap(content, options) UiBibz::Ui::Ux::Table.new(content, options, html_options).tap(&block).render else UiBibz::Ui::Ux::Table.new(content, options, html_options, &block).render end end;T;.I"Gdef table content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"3UiBibz::Helpers::UiUxHelper#table_search_field;F;[[I" options;T0[I"html_options;TI"nil;T;[[@@i;F;:table_search_field;;;[;{;IC;" ;F;#@b;40;&F;[;[;$I";F;%0;,@1;-I"{def table_search_field options, html_options = nil UiBibz::Ui::Ux::TableSearchField.new(options, html_options).render end;T;.I"7def table_search_field options, html_options = nil;T;/T;0To; ; F; ;;;;I":UiBibz::Helpers::UiUxHelper#table_pagination_per_page;F;[[I" options;T0[I"html_options;TI"nil;T;[[@@i;F;:table_pagination_per_page;;;[;{;IC;" ;F;#@t;40;&F;[;[;$I";F;%0;,@1;-I"def table_pagination_per_page options, html_options = nil UiBibz::Ui::Ux::TablePaginationPerPage.new(options, html_options).render end;T;.I">def table_pagination_per_page options, html_options = nil;T;/T;0To; ; F; ;;;;I"1UiBibz::Helpers::UiUxHelper#table_pagination;F;[[I" options;T0[I"html_options;TI"nil;T;[[@@i;F;:table_pagination;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@1;-I"}def table_pagination options, html_options = nil UiBibz::Ui::Ux::TablePagination.new(options, html_options).render end;T;.I"5def table_pagination options, html_options = nil;T;/T;0To; ; F; ;;;;I",UiBibz::Helpers::UiUxHelper#table_panel;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@@i!;F;:table_panel;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@1;-I"def table_panel content = nil, options = nil, html_options = nil, &block if is_tap(content, options) UiBibz::Ui::Ux::TablePanel.new(content, options, html_options).tap(&block).render else UiBibz::Ui::Ux::TablePanel.new(content, options, html_options, &block).render end end;T;.I"Mdef table_panel content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;2;I"'UiBibz::Helpers::UiUxHelper#is_tap;F;[[I" content;T0[I" options;T0;[[@@i,;F;: is_tap;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@1;-I"wdef is_tap content, options (content[:tap] if content.kind_of?(Hash)) || (options[:tap] unless options.nil?) end;T;.I" def is_tap content, options;T;/T;0T;8@1;9IC;[;8@1;:IC;[;8@1;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@@i;F;:UiUxHelper;;;;;[;{;IC;" ;F;#@1;40;&F;[;[;$I";F;%0;,o;C ;D0;EI"UiBibz::Helpers;T;F@;;^;,@;H@;`0;I" UiBibz::Helpers::UiUxHelper;Fo; ;IC;[o; ; F; ;;;;I"-UiBibz::Helpers::UtilsHelper#translatize;F;[[I"translation;T0[I" options;T0;[[I"(lib/ui_bibz/helpers/utils_helper.rb;Ti ;T;:translatize;;;[;{;IC;"KSame method like I18n.translate but accept strings in default argument ;F;[;[;$I"KSame method like I18n.translate but accept strings in default argument;T;%0;#@;&F;'o;(;)F;*i;+i ;,@;-I"wdef translatize translation, options UiBibz::Utils::Internationalization.new(translation, options).translate end;T;.I")def translatize translation, options;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:UtilsHelper;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,o;C ;D0;EI"UiBibz::Helpers;T;F@;;^;,@;H@;`0;I"!UiBibz::Helpers::UtilsHelper;Fo; ;IC;[o; ; F; ;;;;I"(UiBibz::Helpers::UiCoreHelper#panel;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[I"*lib/ui_bibz/helpers/ui_core_helper.rb;Ti;F;: panel;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def panel content = nil, options = nil, html_options = nil, &block if is_tap(content, options) UiBibz::Ui::Core::Panel.new(content, options, html_options).tap(&block).render else UiBibz::Ui::Core::Panel.new(content, options, html_options, &block).render end end;T;.I"Gdef panel content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I")UiBibz::Helpers::UiCoreHelper#notify;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i;T;: notify;;;[;{;IC;"rUse "notify" instead of "alert" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict ;F;[;[;$I"rUse "notify" instead of "alert" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def notify content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Alert.new(content, options, html_options, &block).render end;T;.I"Hdef notify content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"(UiBibz::Helpers::UiCoreHelper#stars;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i;F;: stars;;;[;{;IC;" ;F;#@.;40;&F;[;[;$I";F;%0;,@;-I"def stars content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Stars.new(content, options, html_options, &block).render end;T;.I"Gdef stars content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I",UiBibz::Helpers::UiCoreHelper#etiquette;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i;T;:etiquette;;;[;{;IC;"uUse "etiquette" instead of "label" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict ;F;[;[;$I"uUse "etiquette" instead of "label" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict;T;%0;#@F;&F;'o;(;)F;*i;+i;,@;-I"def etiquette content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Label.new(content, options, html_options, &block).render end;T;.I"Kdef etiquette content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I",UiBibz::Helpers::UiCoreHelper#jumbotron;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i;F;:jumbotron;;;[;{;IC;" ;F;#@_;40;&F;[;[;$I";F;%0;,@;-I"def jumbotron content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Jumbotron.new(content, options, html_options, &block).render end;T;.I"Kdef jumbotron content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"&UiBibz::Helpers::UiCoreHelper#nav;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i";F;;{;;;[;{;IC;" ;F;#@w;40;&F;[;[;$I";F;%0;,@;-I"def nav content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Nav.new(content, options, html_options).tap(&block).render end;T;.I"Edef nav content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I")UiBibz::Helpers::UiCoreHelper#navbar;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i&;F;: navbar;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def navbar content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Navbar.new(content, options, html_options).tap(&block).render end;T;.I"Hdef navbar content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"-UiBibz::Helpers::UiCoreHelper#list_group;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i*;F;:list_group;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def list_group content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::ListGroup.new(content, options, html_options).tap(&block).render end;T;.I"Ldef list_group content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I".UiBibz::Helpers::UiCoreHelper#button_link;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i0;T;:button_link;;;[;{;IC;"NButton section begin ---------------------------------------------------- ;F;[;[;$I"NButton section begin ----------------------------------------------------;T;%0;#@;&F;'o;(;)F;*i/;+i/;,@;-I"def button_link content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::ButtonLink.new(content, options, html_options, &block).render end;T;.I"Mdef button_link content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"/UiBibz::Helpers::UiCoreHelper#button_group;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i4;F;:button_group;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def button_group content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::ButtonGroup.new(content, options, html_options, &block).render end;T;.I"Ndef button_group content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I")UiBibz::Helpers::UiCoreHelper#button;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i8;F;: button;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def button content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Button.new(content, options, html_options, &block).render end;T;.I"Hdef button content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"2UiBibz::Helpers::UiCoreHelper#button_dropdown;F;[ [I" name;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i<;F;:button_dropdown;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def button_dropdown name, options = nil, html_options = nil, &block UiBibz::Ui::Core::ButtonDropdown.new(name, options, html_options).tap(&block).render end;T;.I"Hdef button_dropdown name, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"8UiBibz::Helpers::UiCoreHelper#button_split_dropdown;F;[ [I" name;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i@;F;:button_split_dropdown;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def button_split_dropdown name, options = nil, html_options = nil, &block UiBibz::Ui::Core::ButtonSplitDropdown.new(name, options, html_options).tap(&block).render end;T;.I"Ndef button_split_dropdown name, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"-UiBibz::Helpers::UiCoreHelper#breadcrumb;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ iE;T;:breadcrumb;;;[;{;IC;"LButton section end ---------------------------------------------------- ;F;[;[;$I"LButton section end ----------------------------------------------------;T;%0;#@6;&F;'o;(;)F;*iC;+iC;,@;-I"def breadcrumb content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Breadcrumb.new(content, options, html_options).tap(&block).render end;T;.I"Ldef breadcrumb content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"+UiBibz::Helpers::UiCoreHelper#dropdown;F;[ [I" name;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ iI;F;;{;;;[;{;IC;" ;F;#@O;40;&F;[;[;$I";F;%0;,@;-I"def dropdown name, options = nil, html_options = nil, &block UiBibz::Ui::Core::Dropdown.new(name, options, html_options).tap(&block).render end;T;.I"Adef dropdown name, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"(UiBibz::Helpers::UiCoreHelper#glyph;F;[ [I" content;T0[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ iM;F;;Q;;;[;{;IC;" ;F;#@f;40;&F;[;[;$I";F;%0;,@;-I"def glyph content, options = nil, html_options = nil, &block UiBibz::Ui::Core::Glyph.new(content, options, html_options, &block).render end;T;.I"Adef glyph content, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"/UiBibz::Helpers::UiCoreHelper#progress_bar;F;[ [I"percentage;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ iQ;F;:progress_bar;;;[;{;IC;" ;F;#@};40;&F;[;[;$I";F;%0;,@;-I"2def progress_bar percentage = nil, options = nil, html_options = nil, &block if is_tap(percentage, options) UiBibz::Ui::Core::ProgressBar.new(percentage, options, html_options).tap(&block).render else UiBibz::Ui::Core::ProgressBar.new(percentage, options, html_options, &block).render end end;T;.I"Qdef progress_bar percentage = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"&UiBibz::Helpers::UiCoreHelper#row;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ iY;F;:row;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def row content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Row.new(content, options, html_options, &block).render end;T;.I"Edef row content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"&UiBibz::Helpers::UiCoreHelper#col;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i];F;:col;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def col content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Col.new(content, options, html_options, &block).render end;T;.I"Edef col content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;2;I")UiBibz::Helpers::UiCoreHelper#is_tap;F;[[I" content;T0[I" options;T0;[[@ ic;F;;6;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"wdef is_tap content, options (content[:tap] if content.kind_of?(Hash)) || (options[:tap] unless options.nil?) end;T;.I" def is_tap content, options;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i;F;:UiCoreHelper;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,o;C ;D0;EI"UiBibz::Helpers;T;F@;;^;,@;H@;`0;I""UiBibz::Helpers::UiCoreHelper;F;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i6;F;;^;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I"UiBibz::Helpers;F;/To; ;IC;[o; ;IC;[o; ;IC;[o; ;IC;[o; ; F; ;;;;I"MUiBibz::Concerns::Models::Searchable::ClassMethods#searchable_attributes;F;[[I" *args;F0;[[I".lib/ui_bibz/concerns/models/searchable.rb;Ti;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Jdef searchable_attributes *args @searchable_attributes ||= args end;T;.I"$def searchable_attributes *args;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:ClassMethods;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I"7UiBibz::Concerns::Models::Searchable::ClassMethods;F;/T;8@;9IC;[o;C ;D0;EI"ActiveSupport::Concern;T;F@;: Concern;,o;C ;D0;E0;F0;:ActiveSupport;,@;H0;`0;H0;`;a;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;;%;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,o;C ;D0;EI"UiBibz::Concerns::Models;T;F@;: Models;,@;H@;`0;I")UiBibz::Concerns::Models::Searchable;F;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i>;F;;N;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I"UiBibz::Concerns::Models;F;/T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i=;F;: Concerns;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I"UiBibz::Concerns;F;/To;;[[I"lib/ui_bibz/version.rb;Ti;F;: VERSION;;;;;[;{;IC;" ;F;#@U;40;&F;[;[;$I";F;%0;,@;I"UiBibz::VERSION;F;.I"VERSION = "1.1.6";T;-I"VERSION = "1.1.6";T;I" "1.1.6";T;/To; ;IC;[o; ;IC;[;8@e;9IC;[;8@e;:IC;[;8@e;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[I" lib/ui_bibz/rails/engine.rb;Ti ;F;: Engine;;;;;[;{;IC;" ;F;#@e;40;&F;[;[;$I";F;%0;,@c;I"UiBibz::Rails::Engine;F;Bo;C ;D0;EI"Rails::Engine;T;F@;;Q;,o;C ;D0;E0;F0;: Rails;,@;H0;`0;H0;`;=;/T;8@c;9IC;[;8@c;:IC;[;8@c;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@pi ;F;;R;;;;;[;{;IC;" ;F;#@c;40;&F;[;[;$I";F;%0;,@;I"UiBibz::Rails;F;/To; ;IC;[o; ;IC;[ o; ; F; ;;;;I"3UiBibz::Utils::Internationalization#initialize;F;[[I"translation;T0[I" options;TI"{};T;[[I".lib/ui_bibz/utils/internationalization.rb;Ti ;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[o; ; I" return;F;!I"+a new instance of Internationalization;F;0;"[I"Internationalization;F;#@;$I";F;%0;,@;-I"gdef initialize translation, options = {} @translation = translation @options = options end;T;.I"-def initialize translation, options = {};T;/T;0To; ; F; ;;;;I"2UiBibz::Utils::Internationalization#translate;F;[;[[@i;F;:translate;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"Cdef translate I18n.t(@translation, options_with_default) end;T;.I"def translate;T;/T;0To; ; F; ;;;2;I"=UiBibz::Utils::Internationalization#options_with_default;F;[;[[@i;F;:options_with_default;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"tdef options_with_default @options[:default] = translate_default unless @options[:default].nil? @options end;T;.I"def options_with_default;T;/T;0To; ; F; ;;;2;I"2UiBibz::Utils::Internationalization#i18n_set?;F;[[I"key;T0;[[@i;T;;];;;[;{;IC;"#To know if translation missing ;F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@;$I"#To know if translation missing;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"Ddef i18n_set? key I18n.t key, :raise => true rescue false end;T;.I"def i18n_set? key;T;/T;0To; ; F; ;;;2;I":UiBibz::Utils::Internationalization#translate_default;F;[;[[@i;F;:translate_default;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"def translate_default I18n.t([*@options[:default]].select{ |translation| i18n_set? translation }.first, default: [*@options[:default]].last) end;T;.I"def translate_default;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:Internationalization;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I"(UiBibz::Utils::Internationalization;F;Bo;C ;D0;E0;F0;;b;,@;H0;`;=;/T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;: Utils;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,o;C ;D0;E0;F0;: UiBibz;,@;H@;`0;I"UiBibz::Utils;F;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i [@Xi[@pi ;F;;X;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I" UiBibz;F;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[;F;;;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,0;I";F;X@:UiBibz::Ui@ :UiBibz::Ui::Core@ :UiBibz::Ui::Ux@ :UiBibz::Helpers@:UiBibz::Concerns@:UiBibz::Concerns::Models@:UiBibz::Ui::Base@:#UiBibz::Ui::Base#output_buffer@:$UiBibz::Ui::Base#output_buffer=@:UiBibz::Ui::Base#i18n_set?@:UiBibz::VERSION@U:UiBibz::Ui::Ux::Grid@:"UiBibz::Ui::Ux::Grid::COL_NUM@:$UiBibz::Ui::Ux::Grid#initialize@:UiBibz::Ui::Ux::Grid#view@<: UiBibz::Ui::Ux::Grid#render@U:%UiBibz::Ui::Ux::Grid#view_by_num@c:"UiBibz::Ui::Ux::Grid#top_view@v:%UiBibz::Ui::Ux::Grid#bottom_view@:#UiBibz::Ui::Ux::Grid#left_view@:%UiBibz::Ui::Ux::Grid#center_view@:$UiBibz::Ui::Ux::Grid#right_view@:)UiBibz::Ui::Ux::Grid#define_col_nums@:UiBibz::Ui::Core::Col@:%UiBibz::Ui::Core::Col#initialize@:!UiBibz::Ui::Core::Col#render@/:&UiBibz::Ui::Core::Col#col_classes@=:UiBibz::Ui::Core::Col#size@J:UiBibz::Ui::Core::Col#num@Y:!UiBibz::Ui::Core::Col#offset@h:UiBibz::Ui::Core::Row@:%UiBibz::Ui::Core::Row#initialize@:!UiBibz::Ui::Core::Row#render@:UiBibz::Rails@c:UiBibz::Rails::Engine@e:UiBibz::Ui::Core::Alert@8:'UiBibz::Ui::Core::Alert#initialize@::#UiBibz::Ui::Core::Alert#render@Y:'UiBibz::Ui::Core::Alert#close_html@g:"UiBibz::Ui::Core::Alert#state@t:UiBibz::Ui::Core::Stars@:'UiBibz::Ui::Core::Stars#initialize@:#UiBibz::Ui::Core::Stars#render@:#UiBibz::Ui::Core::Stars#number@:+UiBibz::Ui::Core::Stars#stars_notation@:'UiBibz::Ui::Core::Stars#glyph_opts@:&UiBibz::Ui::Core::Stars#star_name@:UiBibz::Ui::Core::Glyph@ :'UiBibz::Ui::Core::Glyph#initialize@ :#UiBibz::Ui::Core::Glyph#render@*:$UiBibz::Ui::Core::Glyph#classes@8:!UiBibz::Ui::Core::Glyph#size@E:"UiBibz::Ui::Core::Glyph#stack@R:#UiBibz::Ui::Core::Glyph#rotate@_:!UiBibz::Ui::Core::Glyph#flip@l:!UiBibz::Ui::Core::Glyph#type@y:$UiBibz::Ui::Core::Glyph#content@:"UiBibz::Ui::Core::Glyph#state@:UiBibz::Ui::Core::Label@:'UiBibz::Ui::Core::Label#initialize@:#UiBibz::Ui::Core::Label#render@:"UiBibz::Ui::Core::Label#state@:UiBibz::Ui::Core::Panel@:'UiBibz::Ui::Core::Panel#initialize@:#UiBibz::Ui::Core::Panel#header@!:!UiBibz::Ui::Core::Panel#body@::#UiBibz::Ui::Core::Panel#footer@S:#UiBibz::Ui::Core::Panel#render@l:"UiBibz::Ui::Core::Panel#state@z:(UiBibz::Ui::Core::Panel#header_html@:&UiBibz::Ui::Core::Panel#body_html@:(UiBibz::Ui::Core::Panel#footer_html@:UiBibz::Ui::Core::Nav@:%UiBibz::Ui::Core::Nav#initialize@:!UiBibz::Ui::Core::Nav#render@:UiBibz::Ui::Core::Nav#link@:#UiBibz::Ui::Core::Nav#dropdown@:UiBibz::Ui::Core::Nav#type@!:#UiBibz::Ui::Core::Nav#position@/:UiBibz::Ui::Ux::Table@:"UiBibz::Ui::Ux::Table#columns@:#UiBibz::Ui::Ux::Table#columns=@:%UiBibz::Ui::Ux::Table#initialize@:"UiBibz::Ui::Ux::Table#actions@:'UiBibz::Ui::Ux::Table#actions_list@,:!UiBibz::Ui::Ux::Table#render@:: UiBibz::Ui::Ux::Table#store@H:UiBibz::Ui::Ux::Table#sort@V:!UiBibz::Ui::Ux::Table#action@c:UiBibz::Ui::Ux::Table#cols@p:UiBibz::Ui::Ux::Table#type@}:%UiBibz::Ui::Ux::Table#table_html@:%UiBibz::Ui::Ux::Table#td_content@: UiBibz::Ui::Core::Jumbotron@N:+UiBibz::Ui::Core::Jumbotron#initialize@P:'UiBibz::Ui::Core::Jumbotron#render@o:+UiBibz::Ui::Core::Jumbotron#full_width@}: UiBibz::Ui::Core::Component@:(UiBibz::Ui::Core::Component#content@:)UiBibz::Ui::Core::Component#content=@:-UiBibz::Ui::Core::Component#html_options@:.UiBibz::Ui::Core::Component#html_options=@:(UiBibz::Ui::Core::Component#options@:)UiBibz::Ui::Core::Component#options=@:+UiBibz::Ui::Core::Component#initialize@:'UiBibz::Ui::Core::Component#render@:7UiBibz::Ui::Core::Component#glyph_and_content_html@:1UiBibz::Ui::Core::Component#glyph_with_space@!:&UiBibz::Ui::Core::Component#glyph@/:+UiBibz::Ui::Core::Component#badge_html@=:&UiBibz::Ui::Core::Component#state@K:7UiBibz::Ui::Core::Component#class_and_html_options@Y:,UiBibz::Ui::Core::Component#add_classes@j:'UiBibz::Ui::Core::Component#status@z:'UiBibz::Ui::Core::Component#states@:UiBibz::Ui::Core::Navbar@:(UiBibz::Ui::Core::Navbar#initialize@:$UiBibz::Ui::Core::Navbar#render@:!UiBibz::Ui::Core::Navbar#nav@:"UiBibz::Ui::Core::Navbar#form@:"UiBibz::Ui::Core::Navbar#text@:#UiBibz::Ui::Core::Navbar#brand@:)UiBibz::Ui::Core::Navbar#header_html@*:#UiBibz::Ui::Core::Navbar#title@7:'UiBibz::Ui::Core::Navbar#body_html@D: UiBibz::Ui::Core::Navbar#id@Q:7UiBibz::Ui::Core::Navbar#navbar_toggle_button_html@^:&UiBibz::Ui::Core::Navbar#position@k:"UiBibz::Ui::Core::Navbar#type@x: UiBibz::Helpers::MetaHelper@:3UiBibz::Helpers::MetaHelper#ui_bibz_meta_links@:9UiBibz::Helpers::MetaHelper#ui_bibz_local_meta_links@: UiBibz::Helpers::UiUxHelper@1:%UiBibz::Helpers::UiUxHelper#grid@3:&UiBibz::Helpers::UiUxHelper#table@I:3UiBibz::Helpers::UiUxHelper#table_search_field@b::UiBibz::Helpers::UiUxHelper#table_pagination_per_page@t:1UiBibz::Helpers::UiUxHelper#table_pagination@:,UiBibz::Helpers::UiUxHelper#table_panel@:'UiBibz::Helpers::UiUxHelper#is_tap@:!UiBibz::Helpers::UtilsHelper@:-UiBibz::Helpers::UtilsHelper#translatize@:UiBibz::Ui::Core::Button@:(UiBibz::Ui::Core::Button#initialize@:$UiBibz::Ui::Core::Button#render@:#UiBibz::Ui::Core::Button#state@:"UiBibz::Ui::Core::Button#size@:"UiBibz::Helpers::UiCoreHelper@:(UiBibz::Helpers::UiCoreHelper#panel@:)UiBibz::Helpers::UiCoreHelper#notify@:(UiBibz::Helpers::UiCoreHelper#stars@.:,UiBibz::Helpers::UiCoreHelper#etiquette@F:,UiBibz::Helpers::UiCoreHelper#jumbotron@_:&UiBibz::Helpers::UiCoreHelper#nav@w:)UiBibz::Helpers::UiCoreHelper#navbar@:-UiBibz::Helpers::UiCoreHelper#list_group@:.UiBibz::Helpers::UiCoreHelper#button_link@:/UiBibz::Helpers::UiCoreHelper#button_group@:)UiBibz::Helpers::UiCoreHelper#button@:2UiBibz::Helpers::UiCoreHelper#button_dropdown@:8UiBibz::Helpers::UiCoreHelper#button_split_dropdown@:-UiBibz::Helpers::UiCoreHelper#breadcrumb@6:+UiBibz::Helpers::UiCoreHelper#dropdown@O:(UiBibz::Helpers::UiCoreHelper#glyph@f:/UiBibz::Helpers::UiCoreHelper#progress_bar@}:&UiBibz::Helpers::UiCoreHelper#row@:&UiBibz::Helpers::UiCoreHelper#col@:)UiBibz::Helpers::UiCoreHelper#is_tap@: UiBibz::Ui::Core::ListGroup@:+UiBibz::Ui::Core::ListGroup#initialize@:'UiBibz::Ui::Core::ListGroup#render@:%UiBibz::Ui::Core::ListGroup#list@":%UiBibz::Ui::Core::ListGroup#type@;:UiBibz::Ui::Ux::TablePanel@:'UiBibz::Ui::Ux::TablePanel#columns@:(UiBibz::Ui::Ux::TablePanel#columns=@:*UiBibz::Ui::Ux::TablePanel#initialize@:&UiBibz::Ui::Ux::TablePanel#render@:'UiBibz::Ui::Ux::TablePanel#actions@:,UiBibz::Ui::Ux::TablePanel#actions_list@ :.UiBibz::Ui::Ux::TablePanel#url_parameters@.:*UiBibz::Ui::Ux::TablePanel#table_html@;:-UiBibz::Ui::Ux::TablePanel#panel_classes@H:&UiBibz::Ui::Ux::TablePanel#search@U:*UiBibz::Ui::Ux::TablePanel#pagination@b:1UiBibz::Ui::Ux::TablePanel#initialize_footer@o:1UiBibz::Ui::Ux::TablePanel#initialize_header@}:UiBibz::Ui::Core::Dropdown@Z:*UiBibz::Ui::Core::Dropdown#initialize@\:&UiBibz::Ui::Core::Dropdown#render@y:&UiBibz::Ui::Core::Dropdown#header@:'UiBibz::Ui::Core::Dropdown#divider@:$UiBibz::Ui::Core::Dropdown#link@:$UiBibz::Ui::Core::Dropdown#html@:.UiBibz::Ui::Core::Dropdown#button_content@:+UiBibz::Ui::Core::Dropdown#button_html@:'UiBibz::Ui::Core::Dropdown#ul_html@:%UiBibz::Ui::Core::Dropdown#caret@:(UiBibz::Ui::Core::Dropdown#position@ :$UiBibz::Ui::Core::Dropdown#type@:,UiBibz::Ui::Core::Dropdown#button_state@%:$UiBibz::Ui::Core::Dropdown#size@2:UiBibz::Utils@:(UiBibz::Utils::Internationalization@:3UiBibz::Utils::Internationalization#initialize@:2UiBibz::Utils::Internationalization#translate@:=UiBibz::Utils::Internationalization#options_with_default@:2UiBibz::Utils::Internationalization#i18n_set?@::UiBibz::Utils::Internationalization#translate_default@:)UiBibz::Concerns::Models::Searchable@:7UiBibz::Concerns::Models::Searchable::ClassMethods@:MUiBibz::Concerns::Models::Searchable::ClassMethods#searchable_attributes@:!UiBibz::Ui::Core::ButtonLink@R:,UiBibz::Ui::Core::ButtonLink#initialize@T:(UiBibz::Ui::Core::ButtonLink#render@s:'UiBibz::Ui::Core::ButtonLink#state@:&UiBibz::Ui::Core::ButtonLink#size@:"UiBibz::Ui::Core::ButtonGroup@:-UiBibz::Ui::Core::ButtonGroup#initialize@:)UiBibz::Ui::Core::ButtonGroup#render@:'UiBibz::Ui::Core::ButtonGroup#type@:'UiBibz::Ui::Core::ButtonGroup#size@:+UiBibz::Ui::Core::ButtonGroup#position@:UiBibz::Ui::Core::List@ :&UiBibz::Ui::Core::List#initialize@ :"UiBibz::Ui::Core::List#render@7 :"UiBibz::Ui::Core::List#header@E : UiBibz::Ui::Core::List#body@^ :'UiBibz::Ui::Core::List#header_html@w :%UiBibz::Ui::Core::List#body_html@ :UiBibz::Ui::Core::List#tag@ :)UiBibz::Ui::Core::List#is_link_type?@ :!UiBibz::Ui::Core::List#state@ :UiBibz::Ui::Ux::Store@:"UiBibz::Ui::Ux::Store#records@:#UiBibz::Ui::Ux::Store#records=@:%UiBibz::Ui::Ux::Store#initialize@:&UiBibz::Ui::Ux::Store#total_pages@:#UiBibz::Ui::Ux::Store#per_page@:(UiBibz::Ui::Ux::Store#total_entries@:UiBibz::Ui::Ux::Store#id@:UiBibz::Ui::Ux::Store#sort@ :$UiBibz::Ui::Ux::Store#direction@:0UiBibz::Ui::Ux::Store#searchable_attributes@$:'UiBibz::Ui::Ux::Store#current_page@1:&UiBibz::Ui::Ux::Store#limit_value@>:"UiBibz::Ui::Ux::Store#columns@K: UiBibz::Ui::Ux::Store#model@X:!UiBibz::Ui::Ux::Store#search@e:%UiBibz::Ui::Ux::Store#controller@r:!UiBibz::Ui::Ux::Store#action@:#UiBibz::Ui::Ux::Store#param_id@:$UiBibz::Ui::Ux::TablePagination@:/UiBibz::Ui::Ux::TablePagination#initialize@:+UiBibz::Ui::Ux::TablePagination#render@:*UiBibz::Ui::Ux::TablePagination#store@:UiBibz::Ui::Ux::Column@:"UiBibz::Ui::Ux::Column#hidden@:#UiBibz::Ui::Ux::Column#hidden=@ : UiBibz::Ui::Ux::Column#link@:!UiBibz::Ui::Ux::Column#link=@): UiBibz::Ui::Ux::Column#name@<:!UiBibz::Ui::Ux::Column#name=@I:&UiBibz::Ui::Ux::Column#data_index@\:'UiBibz::Ui::Ux::Column#data_index=@i:'UiBibz::Ui::Ux::Column#date_format@|:(UiBibz::Ui::Ux::Column#date_format=@: UiBibz::Ui::Ux::Column#sort@:!UiBibz::Ui::Ux::Column#sort=@:"UiBibz::Ui::Ux::Column#format@:#UiBibz::Ui::Ux::Column#format=@:!UiBibz::Ui::Ux::Column#count@:"UiBibz::Ui::Ux::Column#count=@:'UiBibz::Ui::Ux::Column#custom_sort@:(UiBibz::Ui::Ux::Column#custom_sort=@ :"UiBibz::Ui::Ux::Column#parent@:#UiBibz::Ui::Ux::Column#parent=@):&UiBibz::Ui::Ux::Column#initialize@<:%UiBibz::Ui::Ux::Column#linkable?@Y:!UiBibz::Ui::Ux::Column#order@k:#UiBibz::Ui::Ux::Column#hidden?@x:!UiBibz::Ui::Core::Breadcrumb@ :,UiBibz::Ui::Core::Breadcrumb#initialize@ :(UiBibz::Ui::Core::Breadcrumb#render@ :&UiBibz::Ui::Core::Breadcrumb#link@ :UiBibz::Ui::Ux::Columns@:'UiBibz::Ui::Ux::Columns#initialize@:#UiBibz::Ui::Ux::Columns#column@:!UiBibz::Ui::Ux::Columns#list@:%UiBibz::Ui::Core::ButtonDropdown@) :0UiBibz::Ui::Core::ButtonDropdown#initialize@+ :,UiBibz::Ui::Core::ButtonDropdown#render@I :%UiBibz::Ui::Ux::TableSearchField@:0UiBibz::Ui::Ux::TableSearchField#initialize@:,UiBibz::Ui::Ux::TableSearchField#render@:4UiBibz::Ui::Ux::TableSearchField#url_parameters@ :+UiBibz::Ui::Ux::TableSearchField#store@-:7UiBibz::Ui::Ux::TableSearchField#search_field_html@;:/UiBibz::Ui::Ux::TableSearchField#div_class@H:>UiBibz::Ui::Ux::TableSearchField#search_placeholder_field@U:DUiBibz::Ui::Ux::TableSearchField#searchable_attributes_sentence@b:0UiBibz::Ui::Ux::TableSearchField#model_name@o:VUiBibz::Ui::Ux::TableSearchField#translate_searchable_attributes_by_active_record@|:7UiBibz::Ui::Ux::TableSearchField#underscorize_hash@:UiBibz::Ui::Ux::Actions@:'UiBibz::Ui::Ux::Actions#initialize@:!UiBibz::Ui::Ux::Actions#link@:$UiBibz::Ui::Ux::Actions#divider@:#UiBibz::Ui::Ux::Actions#header@:"UiBibz::Ui::Ux::Actions#reset@:#UiBibz::Ui::Ux::Actions#format@:!UiBibz::Ui::Ux::Actions#list@:*UiBibz::Ui::Ux::Actions#format_action@+:-UiBibz::Ui::Ux::Actions#defaults_actions@8:&UiBibz::Ui::Ux::Actions#show_name@E:&UiBibz::Ui::Ux::Actions#edit_name@R:(UiBibz::Ui::Ux::Actions#delete_name@_:UiBibz::Ui::Ux::Sortable@}:(UiBibz::Ui::Ux::Sortable#initialize@:$UiBibz::Ui::Ux::Sortable#header@:+UiBibz::Ui::Ux::Sortable#sortable_link@:)UiBibz::Ui::Ux::Sortable#header_name@:8UiBibz::Ui::Ux::Sortable#translate_headers_by_model@:;UiBibz::Ui::Ux::Sortable#translate_headers_by_defaults@:IUiBibz::Ui::Ux::Sortable#translate_headers_by_defaults_active_record@:@UiBibz::Ui::Ux::Sortable#translate_headers_by_active_record@:)UiBibz::Ui::Ux::Sortable#url_options@:'UiBibz::Ui::Ux::Sortable#sortable?@:#UiBibz::Ui::Ux::Sortable#title@:-UiBibz::Ui::Ux::Sortable#name_with_caret@%:#UiBibz::Ui::Ux::Sortable#caret@2:!UiBibz::Ui::Ux::Sortable#cls@?:'UiBibz::Ui::Ux::Sortable#direction@L:.UiBibz::Ui::Ux::Sortable#sort_column_name@Y:'UiBibz::Ui::Ux::Sortable#sort_name@f:)UiBibz::Ui::Ux::Sortable#sort_column@s:,UiBibz::Ui::Ux::Sortable#sort_direction@:UiBibz::Ui::Core::NavLink@i :)UiBibz::Ui::Core::NavLink#initialize@k :%UiBibz::Ui::Core::NavLink#render@ :*UiBibz::Ui::Core::NavLink#content_htm@ :0UiBibz::Ui::Core::NavLink#link_html_options@ :UiBibz::Ui::Ux::Paginable@:)UiBibz::Ui::Ux::Paginable#initialize@:%UiBibz::Ui::Ux::Paginable#render@:)UiBibz::Ui::Ux::Paginable#paginable?@:$UiBibz::Ui::Ux::Paginable#store@:"UiBibz::Ui::Core::ProgressBar@ :-UiBibz::Ui::Core::ProgressBar#initialize@ :)UiBibz::Ui::Core::ProgressBar#render@ :&UiBibz::Ui::Core::ProgressBar#bar@ :*UiBibz::Ui::Core::ProgressBar#content@ :UiBibz::Ui::Ux::Actionable@:*UiBibz::Ui::Ux::Actionable#initialize@:+UiBibz::Ui::Ux::Actionable#actionable?@:&UiBibz::Ui::Ux::Actionable#header@(:$UiBibz::Ui::Ux::Actionable#body@7:*UiBibz::Ui::Ux::Actionable#inject_url@H:/UiBibz::Ui::Ux::Actionable#dropdown_action@Z:-UiBibz::Ui::Ux::Actionable#actions_glyph@i:4UiBibz::Ui::Ux::Actionable#dropdown_action_name@v:-UiBibz::Ui::Ux::Actionable#actions_links@:)UiBibz::Ui::Ux::Actionable#td_action@: UiBibz::Ui::Core::NavbarNav@, :+UiBibz::Ui::Core::NavbarNav#initialize@. :%UiBibz::Ui::Core::NavbarNav#type@M :)UiBibz::Ui::Core::NavbarNav#position@Z :UiBibz::Ui::Ux::Searchable@:*UiBibz::Ui::Ux::Searchable#initialize@:&UiBibz::Ui::Ux::Searchable#render@:+UiBibz::Ui::Ux::Searchable#searchable?@:PUiBibz::Ui::Ux::Searchable#translate_searchable_attributes_by_active_record@:+UiBibz::Ui::Ux::Searchable#table_title@:*UiBibz::Ui::Ux::Searchable#model_name@:*UiBibz::Ui::Ux::Searchable#table_name@:+UiBibz::Ui::Ux::Searchable#table_glyph@":!UiBibz::Ui::Core::NavbarForm@y :,UiBibz::Ui::Core::NavbarForm#initialize@{ :(UiBibz::Ui::Core::NavbarForm#render@ ::UiBibz::Ui::Core::NavbarForm#protect_against_forgery?@ :%UiBibz::Ui::Core::NavbarForm#url@ :&UiBibz::Ui::Core::NavbarForm#type@ :*UiBibz::Ui::Core::NavbarForm#position@ :!UiBibz::Ui::Core::NavbarText@ :,UiBibz::Ui::Core::NavbarText#initialize@ :(UiBibz::Ui::Core::NavbarText#render@ :*UiBibz::Ui::Core::NavbarText#position@% :UiBibz::Ui::Core::Bar@D :%UiBibz::Ui::Core::Bar#initialize@F :!UiBibz::Ui::Core::Bar#render@e :+UiBibz::Ui::Core::Bar#bar_html_options@s :1UiBibz::Ui::Core::Bar#progressbar_inner_html@ :%UiBibz::Ui::Core::Bar#percentage@ :"UiBibz::Ui::Core::Bar#sr_only@ :)UiBibz::Ui::Core::Bar#percentage_min@ :)UiBibz::Ui::Core::Bar#percentage_max@ : UiBibz::Ui::Core::Bar#label@ :UiBibz::Ui::Core::Bar#type@ : UiBibz::Ui::Core::Bar#state@ :"UiBibz::Ui::Core::NavDropdown@ :-UiBibz::Ui::Core::NavDropdown#initialize@ :)UiBibz::Ui::Core::NavDropdown#render@ :,UiBibz::Ui::Core::NavDropdown#link_html@( :*UiBibz::Ui::Core::ButtonSplitDropdown@G :5UiBibz::Ui::Core::ButtonSplitDropdown#initialize@I :1UiBibz::Ui::Core::ButtonSplitDropdown#render@g :6UiBibz::Ui::Core::ButtonSplitDropdown#button_html@u :5UiBibz::Ui::Core::ButtonSplitDropdown#split_html@ :8UiBibz::Ui::Core::ButtonSplitDropdown#split_content@ :3UiBibz::Ui::Core::ButtonSplitDropdown#src_only@ :9UiBibz::Ui::Core::ButtonSplitDropdown#button_content@ :+UiBibz::Ui::Ux::TablePaginationPerPage@A:6UiBibz::Ui::Ux::TablePaginationPerPage#initialize@C:2UiBibz::Ui::Ux::TablePaginationPerPage#render@]:1UiBibz::Ui::Ux::TablePaginationPerPage#store@k::UiBibz::Ui::Ux::TablePaginationPerPage#url_parameters@x:9UiBibz::Ui::Ux::TablePaginationPerPage#per_page_html@:>UiBibz::Ui::Ux::TablePaginationPerPage#results_count_html@:@UiBibz::Ui::Ux::TablePaginationPerPage#from_current_results@:>UiBibz::Ui::Ux::TablePaginationPerPage#to_current_results@:#UiBibz::Ui::Core::DropdownLink@ :.UiBibz::Ui::Core::DropdownLink#initialize@ :*UiBibz::Ui::Core::DropdownLink#render@ :,UiBibz::Ui::Core::DropdownLink#link_url@ :%UiBibz::Ui::Core::DropdownHeader@:0UiBibz::Ui::Core::DropdownHeader#initialize@:,UiBibz::Ui::Core::DropdownHeader#render@7:&UiBibz::Ui::Core::DropdownDivider@W:1UiBibz::Ui::Core::DropdownDivider#initialize@Y:-UiBibz::Ui::Core::DropdownDivider#render@m:%UiBibz::Ui::Core::BreadcrumbLink@:0UiBibz::Ui::Core::BreadcrumbLink#initialize@:,UiBibz::Ui::Core::BreadcrumbLink#render@:/UiBibz::Ui::Core::BreadcrumbLink#link_html@