{: 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::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::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;#@;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;#@;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;#@);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;#@6;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;#@C;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;#@P;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;#@j;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::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::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;;k;;;[;{;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@;`;=;/T@o; ;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@;`0;/To; ;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;;k;;;[;{;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;;k;;;[;{;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;TiC;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;[;[[@kiJ;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@y;&F;'o;(;)F;*iI;+iI;,@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#list;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@kiS;T;;;;;[;{;IC;"9Add dropdown list See UiBibz::Ui::Core::DropdownList ;F;[;[;$I"9Add dropdown list See UiBibz::Ui::Core::DropdownList;T;%0;#@;&F;'o;(;)F;*iQ;+iR;,@Z;-I"def list content = nil, options = nil, html_options = nil, &block @items << DropdownList.new(content, options, html_options, &block).render end;T;.I"Fdef list content = nil, options = nil, html_options = nil, &block;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;[[@kiY;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;*iW;+iX;,@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; ;;;u;I".UiBibz::Ui::Core::Dropdown#button_content;F;[;[[@ki_;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;[;[[@kic;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;[;[[@kig;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;[;[[@kik;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;[;[[@kio;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;[;[[@kis;F;;k;;;[;{;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;[;[[@kiw;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;#@;&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;?{;@[;[[@kiA;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.list content = nil, options = nil, html_options = nil, &block 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.list '---' d.list 'Header 1', { type: :header } d.link 'test2', { url: '#' } end.render ==== Helper dropdown(name, options = { tap: true }, html_options = {}) do |d| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end d.link(content, options = {}, html_options = {}) d.link(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.list content = nil, options = nil, html_options = nil, &block 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.list '---' d.list 'Header 1', { type: :header } d.link 'test2', { url: '#' } end.render ==== Helper dropdown(name, options = { tap: true }, html_options = {}) do |d| d.list(content, options = {}, html_options = {}) d.list(options = {}, html_options = {}) do content end d.link(content, options = {}, html_options = {}) d.link(options = {}, html_options = {}) do content end end ;T;%0;#@Z;&F;'o;(;)F;*i ;+i@;,@ ;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;#@6;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@6;&F;'o;(;)F;*i:;+i:;,@4;-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;[;[[@Fi@;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@U;&F;'o;(;)F;*i?;+i?;,@4;-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;[;[[@FiF;F;;S;;;[;{;IC;" ;F;#@c;40;&F;[;[;$I";F;%0;,@4;-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;[;[[@FiL;T;;5;;;[;{;IC;":lg, :sm or :xs ;F;[;[;$I":lg, :sm or :xs;T;%0;#@p;&F;'o;(;)F;*iK;+iK;,@4;-I"Adef size "btn-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0T;8@4;9IC;[;8@4;:IC;[;8@4;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@Fi8;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;#@4;&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;;k;;;[;{;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;#@ ;&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;#@' ;&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;#@Y ;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;#@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;#@s ;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;#@+ ;&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;#@M ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@M ;&F;'o;(;)F;*i.;+i.;,@K ;-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;#@l ;&F;'o;(;)F;*i3;+i3;,@K ;-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;#@z ;&F;'o;(;)F;*i:;+i:;,@K ;-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;,@K ;-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@K ;9IC;[;8@K ;:IC;[;8@K ;;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;#@K ;&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::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;;k;;;[;{;IC;" ;F;#@ ;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;#@ ;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::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::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;,@[ ;-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 i?;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@x ;&F;'o;(;)F;*i>;+i>;,@[ ;-I"def render @form end;T;.I"def render;T;/T;0To; ; F; ;;;2;I":UiBibz::Ui::Core::NavbarForm#protect_against_forgery?;F;[;[[@i iE;F;:protect_against_forgery?;;;[;{;IC;" ;F;#@ ;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@ ;$I";F;%0;,@[ ;-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;[;[[@i iI;F;:url;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@[ ;-I"!def url @options[:url] end;T;.I" def url;T;/T;0To; ; F; ;;;2;I"&UiBibz::Ui::Core::NavbarForm#type;F;[;[[@i iM;F;;k;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@[ ;-I"0def type @options[:type] || :form_for end;T;.I" def type;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Core::NavbarForm#position;F;[;[[@i iQ;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;[o;C ;D0;EI"ActionView::Helpers;T;F@[ ;;^;,o;C ;D0;E0;F0;;_;,@[ ;H0;`0;H0;`;ao;C ;D0;EI"Haml::Helpers;T;F@[ ;;^;,o;C ;D0;E0;F0;: Haml;,@[ ;H0;`0;H0;`;a;8@[ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i 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;#@[ ;&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;#@( ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@( ;&F;'o;(;)F;*i3;+i3;,@& ;-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;[;[[@8 i9;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@G ;&F;'o;(;)F;*i8;+i8;,@& ;-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;[;[[@8 i?;F;:bar_html_options;;;[;{;IC;" ;F;#@U ;40;&F;[;[;$I";F;%0;,@& ;-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;[;[[@8 iI;F;:progressbar_inner_html;;;[;{;IC;" ;F;#@b ;40;&F;[;[;$I";F;%0;,@& ;-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;[;[[@8 iM;F;:percentage;;;[;{;IC;" ;F;#@o ;40;&F;[;[;$I";F;%0;,@& ;-I"'def percentage @content || 0 end;T;.I"def percentage;T;/T;0To; ; F; ;;;2;I""UiBibz::Ui::Core::Bar#sr_only;F;[;[[@8 iQ;F;: sr_only;;;[;{;IC;" ;F;#@| ;40;&F;[;[;$I";F;%0;,@& ;-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;[;[[@8 iU;F;:percentage_min;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@& ;-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;[;[[@8 i];F;: label;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@& ;-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;[;[[@8 ia;F;;k;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@& ;-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;[;[[@8 ii;F;;S;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@& ;-I"Vdef state "progress-bar-#{ @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;?{;@[;[[@8 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;#@& ;&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"/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"1UiBibz::Ui::Core::ButtonSplitDropdown#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 split_html concat ul_html end end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"6UiBibz::Ui::Core::ButtonSplitDropdown#button_html;F;[;[[@: iM;F;;;;;[;{;IC;" ;F;#@W ;40;&F;[;[;$I";F;%0;,@) ;-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;[;[[@: iQ;F;:split_html;;;[;{;IC;" ;F;#@d ;40;&F;[;[;$I";F;%0;,@) ;-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;[;[[@: iU;F;:split_content;;;[;{;IC;" ;F;#@q ;40;&F;[;[;$I";F;%0;,@) ;-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;[;[[@: iY;F;: src_only;;;[;{;IC;" ;F;#@~ ;40;&F;[;[;$I";F;%0;,@) ;-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;[;[[@: i];F;;;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@) ;-I"Qdef button_content [glyph_with_space, @content].compact.join.html_safe end;T;.I"def button_content;T;/T;0T;8@) ;9IC;[;8@) ;:IC;[;8@) ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@: 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;#@) ;&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, @html_options.merge({ role: 'presentation' }) do link_to glyph_and_content_html, @options[:url], @options[:link_html_options] end end;T;.I"def render;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:&YARD::CodeObjects::ConstantObject;[[I"=lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb;Ti3;F;: DIVIDER;;;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@ ;I",UiBibz::Ui::Core::DropdownList::DIVIDER;F;.I"DIVIDER = '---';T;-I"DIVIDER = '---';T: @valueI" '---';T;/To; ; F; ;;;;I".UiBibz::Ui::Core::DropdownList#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@ i6;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;F;[;[o; ; I" return;F;!I"#a new instance of DropdownList;F;0;"[I"DropdownList;F;#@ ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@ ;&F;'o;(;)F;*i5;+i5;,@ ;-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::DropdownList#render;F;[;[[@ i;;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i:;+i:;,@ ;-I"Ddef render @content == DIVIDER ? divider_html : link_html end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"0UiBibz::Ui::Core::DropdownList#divider_html;F;[;[[@ iA;F;:divider_html;;;[;{;IC;" ;F;#@';40;&F;[;[;$I";F;%0;,@ ;-I"rdef divider_html content_tag :li, '', class_and_html_options('divider').merge({ role: 'presentation' }) end;T;.I"def divider_html;T;/T;0To; ; F; ;;;2;I"-UiBibz::Ui::Core::DropdownList#link_html;F;[;[[@ iE;F;;;;;[;{;IC;" ;F;#@4;40;&F;[;[;$I";F;%0;,@ ;-I"|def link_html content_tag :li, class_and_html_options(type).merge({ role: 'presentation' }) do @content end end;T;.I"def link_html;T;/T;0To; ; F; ;;;2;I"(UiBibz::Ui::Core::DropdownList#type;F;[;[[@ iK;F;;k;;;[;{;IC;" ;F;#@A;40;&F;[;[;$I";F;%0;,@ ;-I"Cdef type "dropdown-header" if @options[:type] == :header end;T;.I" def type;T;/T;0T;8@ ;9IC;[;8@ ;:IC;[;8@ ;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@ i1;T;:DropdownList;;;;;[;{;IC;""Create DropdownList 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+. 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::DropdownList.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownList.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownList.new('Home', { glyph: 'home', status: :active },{ class: 'test' }).render UiBibz::Ui::Core::DropdownList.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do 'Home' end.render UiBibz::Ui::CoreBibz::DropdownList.new('---').render # To add a separator ;T;[;[;$I"#Create DropdownList 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+. 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::DropdownList.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownList.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownList.new('Home', { glyph: 'home', status: :active },{ class: 'test' }).render UiBibz::Ui::Core::DropdownList.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do 'Home' end.render UiBibz::Ui::CoreBibz::DropdownList.new('---').render # To add a separator ;T;%0;#@ ;&F;'o;(;)F;*i;+i0;,@ ;I"#UiBibz::Ui::Core::DropdownList;F;Bo;C ;D0;E0;F0;;G;,@ ;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;#@b;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@b;&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;[;[[@ri6;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;[;[[@ri<;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;?{;@[;[[@ri.;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[@Fi[@i[@ i[@ i[@ i[@] i[@ i[@ i[@i i[@ i[@8 i[@ i[@: i[@ i[@ i[@ri;T;: Core;;;;;[;{;IC;" Core ;F;[;[;$I" Core;T;%0;#@ ;&F;'o;(;)F;*i;+i;,@ ;I"UiBibz::Ui::Core;F;/To; ;IC;[o; ;IC;[o;;[[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;I"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;#@&;&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;#@4;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;#@G;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;#@T;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;#@a;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;#@n;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;#@;&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;#@';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;#@4;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;#@A;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;;k;;;[;{;IC;" ;F;#@N;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;#@h;&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;#@;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;#@&;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;#@3;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;#@@;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::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;#@q;$I"RInitialize pagination with component item pagination require WillPaginate gem;T;%0;#@q;&F;'o;(;)F;*i#;+i$;,@o;-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);,@o;-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;,@o;-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@o;9IC;[;8@o;:IC;[o;C ;D0;EI"WillPaginate::ActionView;T;F@o;;_;,o;C ;D0;E0;F0;:WillPaginate;,@o;H0;`0;H0;`;a;8@o;;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;#@o;&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::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;#@6;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;#@C;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;#@P;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;#@j;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;#@w;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;#@;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;#@;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::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;#@;40;&F;[;[o; ; I" param;F;!I",the value to set the attribute name to.;F;I" value;F;"0;#@;$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;#@:;40;&F;[;[o; ; I" param;F;!I"2the value to set the attribute data_index to.;F;I" value;F;"0;#@:;$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;#@M;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;#@Z;40;&F;[;[o; ; I" param;F;!I"3the value to set the attribute date_format to.;F;I" value;F;"0;#@Z;$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;#@m;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;#@z;40;&F;[;[o; ; I" param;F;!I",the value to set the attribute sort to.;F;I" value;F;"0;#@z;$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;#@*;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@*;$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;#@<;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;#@I;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@I;$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@;>T;IC;<{;X@-;Y@:;>T;IC;<{;X@M;Y@Z;>T;IC;<{;X@m;Y@z;>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;#@y;40;&F;[;[o; ; I" return;F;!I"a new instance of Columns;F;0;"[I" Columns;F;#@y;$I";F;%0;,@w;-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 ;,@w;-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;,@w;-I"def list @columns end;T;.I" def list;T;/T;0T;8@w;9IC;[;8@w;:IC;[;8@w;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;: Columns;;;;;[;{;IC;" ;F;#@w;40;&F;[;[;$I";F;%0;,@;I"UiBibz::Ui::Ux::Columns;F;Bo;C ;D0;E0;F0;;b;,@;H0;`;=;/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#action;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;F0;[[@i;T;;;;;[;{;IC;"Add action in table ;F;[;[;$I"Add action in table;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def action content = nil, options = nil, html_options = nil, &block @actions << TableAction.new(content, options, html_options, &block).render end;T;.I"Hdef action 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;[;[[@i(;F;:defaults_actions;;;[;{;IC;" ;F;#@.;40;&F;[;[;$I";F;%0;,@;-I"def defaults_actions [ UiBibz::Ui::Ux::TableAction.new(show_name, url: { controller: @store.controller, action: 'show', id: :id }, glyph: 'eye').render, UiBibz::Ui::Ux::TableAction.new(edit_name, url:{ controller: @store.controller, action: 'edit', id: :id }, glyph: 'pencil').render, UiBibz::Ui::Ux::TableAction.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;[;[[@i0;F;:show_name;;;[;{;IC;" ;F;#@;;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;[;[[@i5;F;:edit_name;;;[;{;IC;" ;F;#@H;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;[;[[@i:;F;:delete_name;;;[;{;IC;" ;F;#@U;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"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;#@u;$I"0Initialize search_field with component item;T;%0;#@u;&F;'o;(;)F;*i ;+i ;,@s;-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;,@s;-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;,@s;-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 ;,@s;-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;,@s;-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: 'search', value: store.search, name: 'search', class: 'form-control', placeholder: search_placeholder_field) 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 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;#@;40;&F;[;[;$I";F;%0;,@s;-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;#@;40;&F;[;[;$I";F;%0;,@s;-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;#@;40;&F;[;[;$I";F;%0;,@s;-I"Bdef searchable_attributes_sentence store.searchable_attributes.map do |i| UiBibz::Utils::Internationalization.new("ui_bibz.grid.searchable.field.searchable_attributes.#{ model_name }.#{ i }", default: [translate_searchable_attributes_by_active_record(i), i.to_s]).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;[;[[@iB;F;:model_name;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@s;-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;[[@iF;F;:5translate_searchable_attributes_by_active_record;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@s;-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;0T;8@s;9IC;[;8@s;:IC;[;8@s;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:TableSearchField;;;;;[;{;IC;" ;F;#@s;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::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;#@3;&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;#@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;#@S;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;#@b;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;#@o;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 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;[;[[@%iC;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;[;[[@%iG;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;[;[[@%iK;F;;;;;[;{;IC;" ;F;#@;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;[;[[@%iO;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;[;[[@%iS;F;;;;;[;{;IC;" ;F;#@;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;[;[[@%iW;F;:sort_column_name;;;[;{;IC;" ;F;#@;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;#@;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;#@;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;[;[[@%ic;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;[;[[@Gi;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@U;&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;[;[[@Gi;F;:paginable?;;;[;{;IC;" ;F;#@c;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@c;$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;[;[[@Gi;F;;;;;[;{;IC;" ;F;#@u;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;?{;@[;[[@Gi;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::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"*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;[;[[@3i;F;:actionable?;;;[;{;IC;" ;F;#@A;40;&F;[;[o; ; I" return;F;!I";F;0;"[I" Boolean;F;#@A;$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;[[@3i;F;;r;;;[;{;IC;" ;F;#@S;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;[[@3i;F;;s;;;[;{;IC;" ;F;#@b;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;[[@3i;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;#@s;&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;[[@3i$;F;:dropdown_action;;;[;{;IC;" ;F;#@;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.list 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;[;[[@3i0;F;:actions_glyph;;;[;{;IC;" ;F;#@;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;[;[[@3i4;F;:dropdown_action_name;;;[;{;IC;" ;F;#@;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;[[@3i9;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;[[@3i=;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;?{;@[;[[@3i;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;;[[I"7lib/ui_bibz/ui/ux/table/components/table_action.rb;Ti ;F;;;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I")UiBibz::Ui::Ux::TableAction::DIVIDER;F;.I"DIVIDER = '---';T;-I"DIVIDER = '---';T;I" '---';T;/To; ; F; ;;;;I"+UiBibz::Ui::Ux::TableAction#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 TableAction;F;0;"[I"TableAction;F;#@;$I";F;%0;,@;-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::Ux::TableAction#render;F;[;[[@i;F;;1;;;[;{;IC;" ;F;#@ ;40;&F;[;[;$I";F;%0;,@;-I"?def render @content == DIVIDER ? DIVIDER : link_html end;T;.I"def render;T;/T;0To; ; F; ;;;2;I"*UiBibz::Ui::Ux::TableAction#link_html;F;[;[[@i;F;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;-I"_def link_html link_to glyph_and_content_html, @options[:url], class_and_html_options end;T;.I"def link_html;T;/T;0T;8@;9IC;[;8@;:IC;[;8@;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@i;F;:TableAction;;;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@;I" UiBibz::Ui::Ux::TableAction;F;Bo;C ;D0;EI" UiBibz::Ui::Core::Component;T;F@;;G;,@ ;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;#@9;$I"ZInitialize per_page_field with component item per_page_field require WillPaginate gem;T;%0;#@9;&F;'o;(;)F;*i!;+i";,@7;-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;[;[[@Di(;T;;1;;;[;{;IC;"Render html tag ;F;[;[;$I"Render html tag;T;%0;#@S;&F;'o;(;)F;*i';+i';,@7;-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;[;[[@Di4;F;;;;;[;{;IC;" ;F;#@a;40;&F;[;[;$I";F;%0;,@7;-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;[;[[@Di>;F;;;;;[;{;IC;" ;F;#@n;40;&F;[;[;$I";F;%0;,@7;-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;[;[[@DiB;F;:per_page_html;;;[;{;IC;" ;F;#@{;40;&F;[;[;$I";F;%0;,@7;-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;[;[[@DiK;F;:results_count_html;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@7;-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;[;[[@DiO;F;:from_current_results;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@7;-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;[;[[@DiS;F;:to_current_results;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@7;-I"Hdef to_current_results store.limit_value * store.current_page end;T;.I"def to_current_results;T;/T;0T;8@7;9IC;[;8@7;:IC;[o;C ;D0;EI"WillPaginate::ActionView;T;F@7;;_;,o;C ;D0;E0;F0;;;,@7;H0;`0;H0;`;a;8@7;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@Di;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;#@7;&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[@Gi[@i[@3i[@i[@Di;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;#@*;40;&F;[;[;$I";F;%0;,@(;-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;[[@7i ;T;: table;;;[;{;IC;"OTable section begin ------------------------------------------------------ ;F;[;[;$I"OTable section begin ------------------------------------------------------;T;%0;#@@;&F;'o;(;)F;*i ;+i ;,@(;-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;[[@7i;F;:table_search_field;;;[;{;IC;" ;F;#@Y;40;&F;[;[;$I";F;%0;,@(;-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;[[@7i;F;:table_pagination_per_page;;;[;{;IC;" ;F;#@k;40;&F;[;[;$I";F;%0;,@(;-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;[[@7i;F;:table_pagination;;;[;{;IC;" ;F;#@};40;&F;[;[;$I";F;%0;,@(;-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;[[@7i!;F;:table_panel;;;[;{;IC;" ;F;#@;40;&F;[;[;$I";F;%0;,@(;-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;[[@7i,;F;: is_tap;;;[;{;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;?{;@[;[[@7i;F;:UiUxHelper;;;;;[;{;IC;" ;F;#@(;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;'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;#@V;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;#@n;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;#@-;&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;#@F;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;#@];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;#@t;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;;4;;;[;{;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;Tit;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;?{;@[;[[@is;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;;L;;;;;[;{;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;#@L;40;&F;[;[;$I";F;%0;,@;I"UiBibz::VERSION;F;.I"VERSION = "1.1.1";T;-I"VERSION = "1.1.1";T;I" "1.1.1";T;/To; ;IC;[o; ;IC;[;8@\;9IC;[;8@\;:IC;[;8@\;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[I" lib/ui_bibz/rails/engine.rb;Ti ;F;: Engine;;;;;[;{;IC;" ;F;#@\;40;&F;[;[;$I";F;%0;,@Z;I"UiBibz::Rails::Engine;F;Bo;C ;D0;EI"Rails::Engine;T;F@;;O;,o;C ;D0;E0;F0;: Rails;,@;H0;`0;H0;`;=;/T;8@Z;9IC;[;8@Z;:IC;[;8@Z;;IC;<{;=IC;<{;>T;IC;<{;>T;>T;?{;@[;[[@gi ;F;;P;;;;;[;{;IC;" ;F;#@Z;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 [@Oi[@gi ;F;;V;;;;;[;{;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;V@: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@L: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@&:%UiBibz::Ui::Ux::Grid#view_by_num@4:"UiBibz::Ui::Ux::Grid#top_view@G:%UiBibz::Ui::Ux::Grid#bottom_view@T:#UiBibz::Ui::Ux::Grid#left_view@a:%UiBibz::Ui::Ux::Grid#center_view@n:$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@Z:UiBibz::Rails::Engine@\: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::Label@:'UiBibz::Ui::Core::Label#initialize@:#UiBibz::Ui::Core::Label#render@:"UiBibz::Ui::Core::Label#state@:UiBibz::Ui::Core::Glyph@:'UiBibz::Ui::Core::Glyph#initialize@:#UiBibz::Ui::Core::Glyph#render@:$UiBibz::Ui::Core::Glyph#classes@:!UiBibz::Ui::Core::Glyph#size@:"UiBibz::Ui::Core::Glyph#stack@):#UiBibz::Ui::Core::Glyph#rotate@6:!UiBibz::Ui::Core::Glyph#flip@C:!UiBibz::Ui::Core::Glyph#type@P:$UiBibz::Ui::Core::Glyph#content@]:"UiBibz::Ui::Core::Glyph#state@j: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::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@:UiBibz::Ui::Ux::Table#sort@':!UiBibz::Ui::Ux::Table#action@4:UiBibz::Ui::Ux::Table#cols@A:UiBibz::Ui::Ux::Table#type@N:%UiBibz::Ui::Ux::Table#table_html@[:%UiBibz::Ui::Ux::Table#td_content@h: 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::Jumbotron@N:+UiBibz::Ui::Core::Jumbotron#initialize@P:'UiBibz::Ui::Core::Jumbotron#render@o:+UiBibz::Ui::Core::Jumbotron#full_width@}: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@(:%UiBibz::Helpers::UiUxHelper#grid@*:&UiBibz::Helpers::UiUxHelper#table@@:3UiBibz::Helpers::UiUxHelper#table_search_field@Y::UiBibz::Helpers::UiUxHelper#table_pagination_per_page@k: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@=:,UiBibz::Helpers::UiCoreHelper#jumbotron@V:&UiBibz::Helpers::UiCoreHelper#nav@n:)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@-:+UiBibz::Helpers::UiCoreHelper#dropdown@F:(UiBibz::Helpers::UiCoreHelper#glyph@]:/UiBibz::Helpers::UiCoreHelper#progress_bar@t:&UiBibz::Helpers::UiCoreHelper#row@:&UiBibz::Helpers::UiCoreHelper#col@:)UiBibz::Helpers::UiCoreHelper#is_tap@: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@:&UiBibz::Ui::Ux::TablePanel#search@&:*UiBibz::Ui::Ux::TablePanel#pagination@3:1UiBibz::Ui::Ux::TablePanel#initialize_footer@@:1UiBibz::Ui::Ux::TablePanel#initialize_header@N: 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::Core::Dropdown@Z:*UiBibz::Ui::Core::Dropdown#initialize@\:&UiBibz::Ui::Core::Dropdown#render@y:$UiBibz::Ui::Core::Dropdown#list@:$UiBibz::Ui::Core::Dropdown#link@:.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@: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@4:,UiBibz::Ui::Core::ButtonLink#initialize@6:(UiBibz::Ui::Core::ButtonLink#render@U:'UiBibz::Ui::Core::ButtonLink#state@c:&UiBibz::Ui::Core::ButtonLink#size@p:"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::Ux::TablePagination@o:/UiBibz::Ui::Ux::TablePagination#initialize@q:+UiBibz::Ui::Ux::TablePagination#render@:*UiBibz::Ui::Ux::TablePagination#store@:UiBibz::Ui::Core::List@:&UiBibz::Ui::Core::List#initialize@:"UiBibz::Ui::Core::List#render@ :"UiBibz::Ui::Core::List#header@' : UiBibz::Ui::Core::List#body@@ :'UiBibz::Ui::Core::List#header_html@Y :%UiBibz::Ui::Core::List#body_html@f :UiBibz::Ui::Core::List#tag@s :)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@6:0UiBibz::Ui::Ux::Store#searchable_attributes@C:'UiBibz::Ui::Ux::Store#current_page@P:&UiBibz::Ui::Ux::Store#limit_value@]:"UiBibz::Ui::Ux::Store#columns@j: UiBibz::Ui::Ux::Store#model@w:!UiBibz::Ui::Ux::Store#search@:%UiBibz::Ui::Ux::Store#controller@:!UiBibz::Ui::Ux::Store#action@:#UiBibz::Ui::Ux::Store#param_id@: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=@:&UiBibz::Ui::Ux::Column#data_index@-:'UiBibz::Ui::Ux::Column#data_index=@::'UiBibz::Ui::Ux::Column#date_format@M:(UiBibz::Ui::Ux::Column#date_format=@Z: UiBibz::Ui::Ux::Column#sort@m:!UiBibz::Ui::Ux::Column#sort=@z:"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?@*:!UiBibz::Ui::Ux::Column#order@<:#UiBibz::Ui::Ux::Column#hidden?@I:!UiBibz::Ui::Core::Breadcrumb@ :,UiBibz::Ui::Core::Breadcrumb#initialize@ :(UiBibz::Ui::Core::Breadcrumb#render@ :&UiBibz::Ui::Core::Breadcrumb#link@ :UiBibz::Ui::Ux::Columns@w:'UiBibz::Ui::Ux::Columns#initialize@y:#UiBibz::Ui::Ux::Columns#column@:!UiBibz::Ui::Ux::Columns#list@:UiBibz::Ui::Ux::Actions@:'UiBibz::Ui::Ux::Actions#initialize@:#UiBibz::Ui::Ux::Actions#action@:"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@.:&UiBibz::Ui::Ux::Actions#show_name@;:&UiBibz::Ui::Ux::Actions#edit_name@H:(UiBibz::Ui::Ux::Actions#delete_name@U:%UiBibz::Ui::Core::ButtonDropdown@ :0UiBibz::Ui::Core::ButtonDropdown#initialize@ :,UiBibz::Ui::Core::ButtonDropdown#render@+ :%UiBibz::Ui::Ux::TableSearchField@s:0UiBibz::Ui::Ux::TableSearchField#initialize@u:,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@:>UiBibz::Ui::Ux::TableSearchField#search_placeholder_field@:DUiBibz::Ui::Ux::TableSearchField#searchable_attributes_sentence@:0UiBibz::Ui::Ux::TableSearchField#model_name@:VUiBibz::Ui::Ux::TableSearchField#translate_searchable_attributes_by_active_record@:UiBibz::Ui::Ux::Sortable@:(UiBibz::Ui::Ux::Sortable#initialize@:$UiBibz::Ui::Ux::Sortable#header@3:+UiBibz::Ui::Ux::Sortable#sortable_link@F:)UiBibz::Ui::Ux::Sortable#header_name@S:8UiBibz::Ui::Ux::Sortable#translate_headers_by_model@b:;UiBibz::Ui::Ux::Sortable#translate_headers_by_defaults@o: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@:!UiBibz::Ui::Ux::Sortable#cls@:'UiBibz::Ui::Ux::Sortable#direction@:.UiBibz::Ui::Ux::Sortable#sort_column_name@:'UiBibz::Ui::Ux::Sortable#sort_name@:)UiBibz::Ui::Ux::Sortable#sort_column@:,UiBibz::Ui::Ux::Sortable#sort_direction@:UiBibz::Ui::Core::NavLink@K :)UiBibz::Ui::Core::NavLink#initialize@M :%UiBibz::Ui::Core::NavLink#render@l :*UiBibz::Ui::Core::NavLink#content_htm@z :0UiBibz::Ui::Core::NavLink#link_html_options@ :UiBibz::Ui::Ux::Paginable@<:)UiBibz::Ui::Ux::Paginable#initialize@>:%UiBibz::Ui::Ux::Paginable#render@U:)UiBibz::Ui::Ux::Paginable#paginable?@c:$UiBibz::Ui::Ux::Paginable#store@u: UiBibz::Ui::Core::NavbarNav@ :+UiBibz::Ui::Core::NavbarNav#initialize@ :%UiBibz::Ui::Core::NavbarNav#type@ :)UiBibz::Ui::Core::NavbarNav#position@ :"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::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::Ux::Actionable@%:*UiBibz::Ui::Ux::Actionable#initialize@':+UiBibz::Ui::Ux::Actionable#actionable?@A:&UiBibz::Ui::Ux::Actionable#header@S:$UiBibz::Ui::Ux::Actionable#body@b:*UiBibz::Ui::Ux::Actionable#inject_url@s:/UiBibz::Ui::Ux::Actionable#dropdown_action@:-UiBibz::Ui::Ux::Actionable#actions_glyph@:4UiBibz::Ui::Ux::Actionable#dropdown_action_name@:-UiBibz::Ui::Ux::Actionable#actions_links@:)UiBibz::Ui::Ux::Actionable#td_action@:!UiBibz::Ui::Core::NavbarForm@[ :,UiBibz::Ui::Core::NavbarForm#initialize@] :(UiBibz::Ui::Core::NavbarForm#render@x ::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@& :%UiBibz::Ui::Core::Bar#initialize@( :!UiBibz::Ui::Core::Bar#render@G :+UiBibz::Ui::Core::Bar#bar_html_options@U :1UiBibz::Ui::Core::Bar#progressbar_inner_html@b :%UiBibz::Ui::Core::Bar#percentage@o :"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::Ux::TableAction@:)UiBibz::Ui::Ux::TableAction::DIVIDER@:+UiBibz::Ui::Ux::TableAction#initialize@:'UiBibz::Ui::Ux::TableAction#render@ :*UiBibz::Ui::Ux::TableAction#link_html@:"UiBibz::Ui::Core::NavDropdown@ :-UiBibz::Ui::Core::NavDropdown#initialize@ :)UiBibz::Ui::Core::NavDropdown#render@ :,UiBibz::Ui::Core::NavDropdown#link_html@ :*UiBibz::Ui::Core::ButtonSplitDropdown@) :5UiBibz::Ui::Core::ButtonSplitDropdown#initialize@+ :1UiBibz::Ui::Core::ButtonSplitDropdown#render@I :6UiBibz::Ui::Core::ButtonSplitDropdown#button_html@W :5UiBibz::Ui::Core::ButtonSplitDropdown#split_html@d :8UiBibz::Ui::Core::ButtonSplitDropdown#split_content@q :3UiBibz::Ui::Core::ButtonSplitDropdown#src_only@~ :9UiBibz::Ui::Core::ButtonSplitDropdown#button_content@ :+UiBibz::Ui::Ux::TablePaginationPerPage@7:6UiBibz::Ui::Ux::TablePaginationPerPage#initialize@9:2UiBibz::Ui::Ux::TablePaginationPerPage#render@S:1UiBibz::Ui::Ux::TablePaginationPerPage#store@a::UiBibz::Ui::Ux::TablePaginationPerPage#url_parameters@n: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::DropdownList@ :,UiBibz::Ui::Core::DropdownList::DIVIDER@ :.UiBibz::Ui::Core::DropdownList#initialize@ :*UiBibz::Ui::Core::DropdownList#render@:0UiBibz::Ui::Core::DropdownList#divider_html@':-UiBibz::Ui::Core::DropdownList#link_html@4:(UiBibz::Ui::Core::DropdownList#type@A:%UiBibz::Ui::Core::BreadcrumbLink@`:0UiBibz::Ui::Core::BreadcrumbLink#initialize@b:,UiBibz::Ui::Core::BreadcrumbLink#render@:/UiBibz::Ui::Core::BreadcrumbLink#link_html@