{: 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::Row#initialize:EF:@parameters[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0: @files[[I"lib/ui_bibz/ui/core/row.rb;Ti%:@current_file_has_commentsT: @name:initialize:@source_type: ruby: @tags[:@docstrings{:@docstringIC:YARD::Docstring"/See UiBibz::Ui::Core::Component.initialize ;T:@ref_tags[;[o:YARD::Tags::Tag :@tag_nameI" return;F: @textI"a new instance of Row;T;0: @types[I"Row;F: @object@: @allI"/See UiBibz::Ui::Core::Component.initialize;T:@unresolved_reference0;#@:@hash_flagF:@line_rangeo: Range: exclF: begini$:endi$:@namespace@: @sourceI"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T:@signatureI"Ldef initialize content = nil, options = nil, html_options = nil, &block;T: @dynamicT:@explicitTo; ; F; ;;;;I"!UiBibz::Ui::Core::Row#render;F;[;[[@ i*;T;: render;;;[;{;IC;"Render html tag ;T;[;[;$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: @owner@:@class_mixinsIC;[;2@:@instance_mixinsIC;[;2@:@attributesIC:SymbolHash{: classIC;6{:@symbolize_valueT;IC;6{;8T;8T: @aliases{: @groups[;[[@ 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 ;T;[;[;$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:@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 ;T;#@Q: @summary0;&F;[;[;$I"+Returns the value of attribute content;T;%0;,@O;-I"def content @content end;T;.I"def content;T;/To; ; F; ;;;;I")UiBibz::Ui::Core::Component#content=;F;[[I" value;T0;[[@Vi.;F;: content=;;;[;{;IC;"Sets the attribute content ;T;#@_;D0;&F;[;[o; ; I" param;F;!I"/the value to set the attribute content to.;T;I" value;T;"0;#@_;$I"WSets the attribute content @param value the value to set the attribute content to.;T;%0;,@O;-I"/def content=(value) @content = value end;T;.I"def content=(value);T;/To; ; F; ;;;;I"-UiBibz::Ui::Core::Component#html_options;F;[;[[@Vi.;F;:html_options;;;[;{;IC;"0Returns the value of attribute html_options ;T;#@r;D0;&F;[;[;$I"0Returns the value of attribute html_options;T;%0;,@O;-I")def html_options @html_options end;T;.I"def html_options;T;/To; ; F; ;;;;I".UiBibz::Ui::Core::Component#html_options=;F;[[I" value;T0;[[@Vi.;F;:html_options=;;;[;{;IC;"$Sets the attribute html_options ;T;#@;D0;&F;[;[o; ; I" param;F;!I"4the value to set the attribute html_options to.;T;I" value;T;"0;#@;$I"aSets the attribute html_options @param value the value to set the attribute html_options to.;T;%0;,@O;-I"9def html_options=(value) @html_options = value end;T;.I"def html_options=(value);T;/To; ; F; ;;;;I"(UiBibz::Ui::Core::Component#options;F;[;[[@Vi.;F;: options;;;[;{;IC;"+Returns the value of attribute options ;T;#@;D0;&F;[;[;$I"+Returns the value of attribute options;T;%0;,@O;-I"def options @options end;T;.I"def options;T;/To; ; F; ;;;;I")UiBibz::Ui::Core::Component#options=;F;[[I" value;T0;[[@Vi.;F;: options=;;;[;{;IC;"Sets the attribute options ;T;#@;D0;&F;[;[o; ; I" param;F;!I"/the value to set the attribute options to.;T;I" value;T;"0;#@;$I"WSets the attribute options @param value the value to set the attribute options to.;T;%0;,@O;-I"/def options=(value) @options = value end;T;.I"def options=(value);T;/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;T0;[[@Vi5;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 ;T;[;[o; ; I" return;F;!I" a new instance of Component;T;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;,@O;-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;[;[[@ViF;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iE;+iE;,@O;-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;[;[[@ViK;T;:glyph_and_content_html;;;[;{;IC;""Render glyph and content html ;T;[;[;$I""Render glyph and content html;T;%0;#@;&F;'o;(;)F;*iJ;+iJ;,@O;-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;[;[[@ViP;T;:glyph_with_space;;;[;{;IC;"!Render glyph with space html ;T;[;[;$I"!Render glyph with space html;T;%0;#@;&F;'o;(;)F;*iO;+iO;,@O;-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;[;[[@ViU;T;: glyph;;;[;{;IC;"Render glyph html ;T;[;[;$I"Render glyph html;T;%0;#@;&F;'o;(;)F;*iT;+iT;,@O;-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;[;[[@Vi[;T;:badge_html;;;[;{;IC;"Render badge html tag ;T;[;[;$I"Render badge html tag;T;%0;#@;&F;'o;(;)F;*iZ;+iZ;,@O;-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;[;[[@Vi`;T;: state;;;[;{;IC;"Set :default state symbol ;T;[;[;$I"Set :default state symbol;T;%0;#@;&F;'o;(;)F;*i_;+i_;,@O;-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;[[@Vig;T;:class_and_html_options;;;[;{;IC;" Add classes in html_options ;T;[;[;$I" Add classes in html_options;T;%0;#@;&F;'o;(;)F;*if;+if;,@O;-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;T0;[[@Viv;T;:add_classes;;;[;{;IC;" Add classes in html_options ;T;[;[;$I" Add classes in html_options;T;%0;#@0;&F;'o;(;)F;*iu;+iu;,@O;-I"=def add_classes *classes classes.compact.join(' ') end;T;.I"def add_classes *classes;T;/T;0To; ; F; ;;: private;I"'UiBibz::Ui::Core::Component#status;F;[;[[@Vi|;F;: status;;;[;{;IC;" ;T;#@@;D0;&F;[;[;$I";T;%0;,@O;-I"Cdef status options[:status] unless options[:status].nil? end;T;.I"def status;T;/T;0To; ; F; ;;;Q;I"'UiBibz::Ui::Core::Component#states;F;[;[[@Vi{;F;: states;;;[;{;IC;" ;T;#@M;D0;&F;[;[;$I";T;%0;,@O;-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;2@O;3IC;[;2@O;4IC;[;2@O;5IC;6{;7IC;6{;8T;IC;6{;CIC;6{: read@Q: write@_;8T;FIC;6{;T@r;U@;8T;HIC;6{;T@;U@;8T;8T;8T;9{;:[;[[@Vi,;T;;A;;;;;[;{;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;#@O;&F;'o;(;)F;*i ;+i+;,@ ;I" UiBibz::Ui::Core::Component;F;0;?I"UiBibz::Ui::Base;T;@@ ;: Base;,@ ;Bo; ;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 ;T;#@r;D0;&F;[;[;$I"1Returns the value of attribute output_buffer;T;%0;,@p;-I"+def output_buffer @output_buffer end;T;.I"def output_buffer;T;/To; ; F; ;;;;I"$UiBibz::Ui::Base#output_buffer=;F;[[I" value;T0;[[@wi ;F;:output_buffer=;;;[;{;IC;"%Sets the attribute output_buffer ;T;#@;D0;&F;[;[o; ; I" param;F;!I"5the value to set the attribute output_buffer to.;T;I" value;T;"0;#@;$I"cSets the attribute output_buffer @param value the value to set the attribute output_buffer to.;T;%0;,@p;-I";def output_buffer=(value) @output_buffer = value end;T;.I"def output_buffer=(value);T;/To; ; F; ;;;;I"UiBibz::Ui::Base#i18n_set?;F;[[I"key;T0;[[@wi;T;:i18n_set?;;;[;{;IC;"#To know if translation missing ;T;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$I"#To know if translation missing;T;%0;#@;&F;'o;(;)F;*i;+i;,@p;-I"Ddef i18n_set? key I18n.t key, :raise => true rescue false end;T;.I"def i18n_set? key;T;/T;0T;2@p;3IC;[;2@p;4IC;[o;= ;>0;?I"ActionView::Helpers;T;@@p;: Helpers;,o;= ;>0;?0;@0;:ActionView;,@p;B0: @type0;B0;\: module;2@p;5IC;6{;7IC;6{;8T;IC;6{;WIC;6{;T@r;U@;8T;8T;8T;9{;:[;[[@wi;F;;V;;;;;[;{;IC;" ;T;#@p;D0;&F;[;[;$I";T;%0;,@ ;I"UiBibz::Ui::Base;F;0;?0;@0;: Object;,@;B0;\;7;/T;\0;/T;\;7;/To; ;IC;[ o; ; F; ;;;;I"%UiBibz::Ui::Core::Col#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[I"lib/ui_bibz/ui/core/col.rb;Ti5;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Col;T;0;"[I"Col;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i4;+i4;,@;-I"edef initialize content = nil, options = nil, html_options = nil, &block super @cols = [] end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Core::Col#render;F;[;[[@i;;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$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; ;;;Q;I"&UiBibz::Ui::Core::Col#col_classes;F;[;[[@iA;F;:col_classes;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"UiBibz::Ui::Core::Col#size;F;[[I"col;T0;[[@iJ;F;: size;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I")def size col col[:size] || :md end;T;.I"def size col;T;/T;0To; ; F; ;;;Q;I"UiBibz::Ui::Core::Col#num;F;[[I"col;T0;[[@iN;F;:num;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"%def num col col[:num] || 1 end;T;.I"def num col;T;/T;0To; ; F; ;;;Q;I"!UiBibz::Ui::Core::Col#offset;F;[[I"col;T0;[[@iR;F;: offset;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Hdef offset col "col-offset-#{ col[:offset] }" if col[:offset] end;T;.I"def offset col;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@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 ;T;[;[;$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;0;?0;@0;;A;,@ ;B@O;\;7;/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;T0;[[I"!lib/ui_bibz/ui/core/glyph.rb;TiA;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Glyph;T;0;"[I" Glyph;F;#@:;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@:;&F;'o;(;)F;*i@;+i@;,@8;-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;[;[[@IiF;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@X;&F;'o;(;)F;*iE;+iE;,@8;-I"Idef render content_tag :i, '', class_and_html_options(classes) end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I"$UiBibz::Ui::Core::Glyph#classes;F;[;[[@IiL;F;: classes;;;[;{;IC;" ;T;#@f;D0;&F;[;[;$I";T;%0;,@8;-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; ;;;Q;I"!UiBibz::Ui::Core::Glyph#size;F;[;[[@IiV;F;;`;;;[;{;IC;" ;T;#@s;D0;&F;[;[;$I";T;%0;,@8;-I"#def size @options[:size] end;T;.I" def size;T;/T;0To; ; F; ;;;Q;I""UiBibz::Ui::Core::Glyph#stack;F;[;[[@IiZ;F;: stack;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@8;-I"%def stack @options[:stack] end;T;.I"def stack;T;/T;0To; ; F; ;;;Q;I"#UiBibz::Ui::Core::Glyph#rotate;F;[;[[@Ii^;F;: rotate;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@8;-I"'def rotate @options[:rotate] end;T;.I"def rotate;T;/T;0To; ; F; ;;;Q;I"!UiBibz::Ui::Core::Glyph#flip;F;[;[[@Iib;F;: flip;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@8;-I"#def flip @options[:flip] end;T;.I" def flip;T;/T;0To; ; F; ;;;Q;I"!UiBibz::Ui::Core::Glyph#type;F;[;[[@Iif;F;: type;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@8;-I"#def type @options[:type] end;T;.I" def type;T;/T;0To; ; F; ;;;Q;I"$UiBibz::Ui::Core::Glyph#content;F;[;[[@Iij;F;;C;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@8;-I"2def content @options[:name] || @content end;T;.I"def content;T;/T;0To; ; F; ;;;Q;I""UiBibz::Ui::Core::Glyph#state;F;[;[[@Iin;F;;N;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@8;-I"Odef state "glyph-#{ @options[:state] }" unless @options[:state].nil? end;T;.I"def state;T;/T;0T;2@8;3IC;[;2@8;4IC;[;2@8;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Ii>;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 ;T;[;[;$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;#@8;&F;'o;(;)F;*i;+i=;,@ ;I"UiBibz::Ui::Core::Glyph;F;0;?0;@0;;A;,@ ;B@O;\;7;/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;T0;[[I"!lib/ui_bibz/ui/core/alert.rb;Ti8;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Alert;T;0;"[I" Alert;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i7;+i7;,@;-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;[;[[@i=;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i<;+i<;,@;-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; ;;;Q;I"'UiBibz::Ui::Core::Alert#close_html;F;[;[[@iF;F;:close_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-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; ;;;Q;I""UiBibz::Ui::Core::Alert#state;F;[;[[@iL;F;;N;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Odef state sym = @options[:state] || :info "alert-#{ states[sym] }" end;T;.I"def state;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i5;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;#@;&F;'o;(;)F;*i;+i4;,@ ;I"UiBibz::Ui::Core::Alert;F;0;?0;@0;;A;,@ ;B@O;\;7;/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;T0;[[I"!lib/ui_bibz/ui/core/label.rb;Ti9;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Label;T;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;[;[[@Mi>;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$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; ;;;Q;I""UiBibz::Ui::Core::Label#state;F;[;[[@MiD;F;;N;;;[;{;IC;" ;T;#@j;D0;&F;[;[;$I";T;%0;,@;;-I"Rdef state sym = @options[:state] || :default "label-#{ states[sym] }" end;T;.I"def state;T;/T;0T;2@;;3IC;[;2@;;4IC;[;2@;;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Mi6;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;0;?0;@0;;A;,@ ;B@O;\;7;/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;T0;[[I"!lib/ui_bibz/ui/core/panel.rb;TiX;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Panel;T;0;"[I" Panel;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*iW;+iW;,@;-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;T0;[[@i];T;: header;;;[;{;IC;"$Add Header which is a component ;T;[;[;$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;T0;[[@ib;T;: body;;;[;{;IC;""Add Body which is a component ;T;[;[;$I""Add Body which is a component;T;%0;#@;&F;'o;(;)F;*ia;+ia;,@;-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;T0;[[@ig;T;: footer;;;[;{;IC;"$Add Footer which is a component ;T;[;[;$I"$Add Footer which is a component;T;%0;#@;&F;'o;(;)F;*if;+if;,@;-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;[;[[@il;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*ik;+ik;,@;-I"*def render @html_options[:id] = @options[:tab] unless @options[:tab].nil? content_tag :div, class_and_html_options(["panel", tab_pane]) 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;[;[[@ix;F;;N;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Rdef state sym = @options[:state] || :default "panel-#{ states[sym] }" end;T;.I"def state;T;/T;0To; ; F; ;;;p;I"(UiBibz::Ui::Core::Panel#header_html;F;[;[[@i};F;:header_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;p;I"&UiBibz::Ui::Core::Panel#body_html;F;[;[[@i|;F;:body_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;p;I"(UiBibz::Ui::Core::Panel#footer_html;F;[;[[@i;F;:footer_html;;;[;{;IC;" ;T;#@*;D0;&F;[;[;$I";T;%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;0To; ; F; ;;;p;I"%UiBibz::Ui::Core::Panel#tab_pane;F;[;[[@i;F;: tab_pane;;;[;{;IC;" ;T;#@7;D0;&F;[;[;$I";T;%0;,@;-I"4def tab_pane "tab-pane" if @options[:tab] end;T;.I"def tab_pane;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@iU;T;: Panel;;;;;[;{;IC;"pCreate 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+) * +tab+ - String | To link with the component nav ==== 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"qCreate 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+) * +tab+ - String | To link with the component nav ==== 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;+iT;,@ ;I"UiBibz::Ui::Core::Panel;F;0;?0;@0;;A;,@ ;B@O;\;7;/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;T0;[[I"!lib/ui_bibz/ui/core/stars.rb;Ti5;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Stars;T;0;"[I" Stars;F;#@X;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@X;&F;'o;(;)F;*i4;+i4;,@V;-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;[;[[@hi:;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@w;&F;'o;(;)F;*i9;+i9;,@V;-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; ;;;Q;I"#UiBibz::Ui::Core::Stars#number;F;[;[[@hi@;F;: number;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@V;-I")def number @options[:num] || 5 end;T;.I"def number;T;/T;0To; ; F; ;;;Q;I"+UiBibz::Ui::Core::Stars#stars_notation;F;[;[[@hiD;F;:stars_notation;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@V;-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; ;;;Q;I"'UiBibz::Ui::Core::Stars#glyph_opts;F;[;[[@hiN;F;:glyph_opts;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@V;-I"Rdef glyph_opts { state: @options[:state] } unless @options[:state].nil? end;T;.I"def glyph_opts;T;/T;0To; ; F; ;;;Q;I"&UiBibz::Ui::Core::Stars#star_name;F;[[I" star;T0;[[@hiR;F;:star_name;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@V;-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;2@V;3IC;[;2@V;4IC;[;2@V;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@hi2;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;#@V;&F;'o;(;)F;*i;+i1;,@ ;I"UiBibz::Ui::Core::Stars;F;0;?0;@0;;A;,@ ;B@O;\;7;/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;T0;[[I"#lib/ui_bibz/ui/core/nav/nav.rb;TiC;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Nav;T;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 ;T;[;[;$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;T0;[[@iO;T;: link;;;[;{;IC;"5Add nav link items See UiBibz::Ui::Core::NavLink ;T;[;[;$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;T0;[[@iU;T;: dropdown;;;[;{;IC;"=Add nav dropdown items See UiBibz::Ui::Core::NavDropdown ;T;[;[;$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; ;;;Q;I"UiBibz::Ui::Core::Nav#type;F;[;[[@i\;T;;h;;;[;{;IC;"tabs or pills ;T;[;[;$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; ;;;Q;I"#UiBibz::Ui::Core::Nav#position;F;[;[[@i`;F;: position;;;[;{;IC;" ;T;#@<;D0;&F;[;[;$I";T;%0;,@;-I"Vdef position "nav-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@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 ;T;[;[;$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;0;?0;@0;;A;,@ ;B@O;\;7;/To; ;IC;[o; ; F; ;;;;I"+UiBibz::Ui::Core::Jumbotron#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[I"%lib/ui_bibz/ui/core/jumbotron.rb;Ti3;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I" a new instance of Jumbotron;T;0;"[I"Jumbotron;F;#@];$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@];&F;'o;(;)F;*i2;+i2;,@[;-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;[;[[@mi8;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@|;&F;'o;(;)F;*i7;+i7;,@[;-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; ;;;Q;I"+UiBibz::Ui::Core::Jumbotron#full_width;F;[;[[@miD;F;:full_width;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@[;-I"/def full_width @options[:full_width] end;T;.I"def full_width;T;/T;0T;2@[;3IC;[;2@[;4IC;[;2@[;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@mi0;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 ;T;[;[;$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;#@[;&F;'o;(;)F;*i;+i/;,@ ;I" UiBibz::Ui::Core::Jumbotron;F;0;?0;@0;;A;,@ ;B@O;\;7;/T@Oo; ;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;T0;[[I"&lib/ui_bibz/ui/core/nav/navbar.rb;TiH;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Navbar;T;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 ;T;[;[;$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;T0;[[@iY;T;:nav;;;[;{;IC;"9Add navbar nav items See UiBibz::Ui::Core::NavbarNav ;T;[;[;$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;T0;[[@i`;T;: form;;;[;{;IC;";Add navbar form items See UiBibz::Ui::Core::NavbarForm ;T;[;[;$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;T0;[[@if;T;: text;;;[;{;IC;";Add navbar text items See UiBibz::Ui::Core::NavbarText ;T;[;[;$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;T0;[[@ij;F;: brand;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I")UiBibz::Ui::Core::Navbar#header_html;F;[;[[@ip;F;;q;;;[;{;IC;" ;T;#@7;D0;&F;[;[;$I";T;%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; ;;;Q;I"#UiBibz::Ui::Core::Navbar#title;F;[;[[@iw;F;: title;;;[;{;IC;" ;T;#@D;D0;&F;[;[;$I";T;%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; ;;;Q;I"'UiBibz::Ui::Core::Navbar#body_html;F;[;[[@i;F;;r;;;[;{;IC;" ;T;#@Q;D0;&F;[;[;$I";T;%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; ;;;Q;I" UiBibz::Ui::Core::Navbar#id;F;[;[[@i~;F;:id;;;[;{;IC;" ;T;#@^;D0;&F;[;[;$I";T;%0;,@;-I"@def id @id ||= "navbar-collapse-#{ Random.new_seed }" end;T;.I" def id;T;/T;0To; ; F; ;;;Q;I"7UiBibz::Ui::Core::Navbar#navbar_toggle_button_html;F;[;[[@i;F;:navbar_toggle_button_html;;;[;{;IC;" ;T;#@k;D0;&F;[;[;$I";T;%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; ;;;Q;I"&UiBibz::Ui::Core::Navbar#position;F;[;[[@i;F;;};;;[;{;IC;" ;T;#@x;D0;&F;[;[;$I";T;%0;,@;-I"_def position "navbar-fixed-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0To; ; F; ;;;Q;I""UiBibz::Ui::Core::Navbar#type;F;[;[[@i;F;;h;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I">def type "navbar-#{ @options[:type] || 'default' }" end;T;.I" def type;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@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 ;T;[;[;$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;0;?0;@0;;A;,@ ;B@O;\0;/To; ;IC;[ o; ; F; ;;;;I"'UiBibz::Ui::Core::Modal#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[I"'lib/ui_bibz/ui/core/modal/modal.rb;Ti=;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Modal;T;0;"[I" Modal;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::Modal#render;F;[;[[@iB;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iA;+iA;,@;-I"def render content_tag :div, class_and_html_options(['modal', effect]) do content_tag :div, class: 'modal-dialog', role: 'document' do content_tag :div, class: 'modal-content' do concat @header concat @body concat @footer end end end end;T;.I"def render;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Modal#header;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@iN;F;;m;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def header content = nil, options = nil, html_options = nil, &block @header = ModalHeader.new(content, options, html_options, &block).render end;T;.I"Hdef header content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Core::Modal#footer;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@iR;F;;o;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def footer content = nil, options = nil, html_options = nil, &block @footer = ModalFooter.new(content, options, html_options, &block).render end;T;.I"Hdef footer content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Core::Modal#body;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@iV;F;;n;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def body content = nil, options = nil, html_options = nil, &block @body = ModalBody.new(content, options, html_options, &block).render end;T;.I"Fdef body content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;Q;I"#UiBibz::Ui::Core::Modal#effect;F;[;[[@i\;F;: effect;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Edef effect @options[:effect] unless @options[:effect].nil? end;T;.I"def effect;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i:;T;: Modal;;;;;[;{;IC;"Create an modal 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: ==== Signatures UiBibz::Ui::Core::Modal.new(options = nil, html_options = nil) do |m| m.header content, options, html_options, &block m.body content, options, html_options, &block m.footer content, options, html_options, &block end ==== Examples UiBibz::Ui::Core::Modal.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do |m| m.header 'Title' m.body 'Content' m.footer do button_link 'Ok', '#', class: :success end end.render ==== Helper modal(options = {}, html_options = {}) do |m| m.header do 'Title' end m.body do 'Content' end m.footer do 'Footer' end end ;T;[;[;$I"Create an modal 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: ==== Signatures UiBibz::Ui::Core::Modal.new(options = nil, html_options = nil) do |m| m.header content, options, html_options, &block m.body content, options, html_options, &block m.footer content, options, html_options, &block end ==== Examples UiBibz::Ui::Core::Modal.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do |m| m.header 'Title' m.body 'Content' m.footer do button_link 'Ok', '#', class: :success end end.render ==== Helper modal(options = {}, html_options = {}) do |m| m.header do 'Title' end m.body do 'Content' end m.footer do 'Footer' end end ;T;%0;#@;&F;'o;(;)F;*i ;+i9;,@ ;I"UiBibz::Ui::Core::Modal;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I")lib/ui_bibz/ui/core/button/button.rb;Ti9;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Button;T;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;[;[[@Li>;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$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; ;;;Q;I"#UiBibz::Ui::Core::Button#state;F;[;[[@LiD;F;;N;;;[;{;IC;" ;T;#@i;D0;&F;[;[;$I";T;%0;,@:;-I"Qdef state sym = @options[:state] || :default "btn-#{ states[sym] }" end;T;.I"def state;T;/T;0To; ; F; ;;;Q;I""UiBibz::Ui::Core::Button#size;F;[;[[@LiJ;T;;`;;;[;{;IC;":lg, :sm or :xs ;T;[;[;$I":lg, :sm or :xs;T;%0;#@v;&F;'o;(;)F;*iI;+iI;,@:;-I"Adef size "btn-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0T;2@:;3IC;[;2@:;4IC;[;2@:;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Li6;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;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"+lib/ui_bibz/ui/core/list/list_group.rb;TiO;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I" a new instance of ListGroup;T;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 ;T;[;[;$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;T0;[[@i[;T;: list;;;[;{;IC;".Add group list See UiBibz::Ui::Core::List ;T;[;[;$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; ;;;Q;I"%UiBibz::Ui::Core::ListGroup#type;F;[;[[@ih;F;;h;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"9def type @options[:type] == :link ? :div : :ul end;T;.I" def type;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@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 ;T;[;[;$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;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"-lib/ui_bibz/ui/core/dropdown/dropdown.rb;TiF;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I"a new instance of Dropdown;T;0;"[I" Dropdown;F;#@;$I";T;%0;,@;-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;[;[[@iM;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iL;+iL;,@;-I"wdef render content_tag :div, class_and_html_options(type) do concat button_html concat ul_html end end;T;.I"def render;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Core::Dropdown#header;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@iV;T;;m;;;[;{;IC;"=Add dropdown header See UiBibz::Ui::Core::DropdownHeader ;T;[;[;$I"=Add dropdown header See UiBibz::Ui::Core::DropdownHeader;T;%0;#@*;&F;'o;(;)F;*iT;+iU;,@;-I"def header content = nil, options = nil, html_options = nil, &block @items << DropdownHeader.new(content, options, html_options, &block).render end;T;.I"Hdef header content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"'UiBibz::Ui::Core::Dropdown#divider;F;[;[[@i\;T;: divider;;;[;{;IC;"AAdd dropdown Separator See UiBibz::Ui::Core::DropdownDivider ;T;[;[;$I"AAdd dropdown Separator See UiBibz::Ui::Core::DropdownDivider;T;%0;#@C;&F;'o;(;)F;*iZ;+i[;,@;-I";def divider @items << DropdownDivider.new.render end;T;.I"def divider;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Core::Dropdown#link;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@ib;T;;{;;;[;{;IC;"AAdd dropdown link in list See UiBibz::Ui::Core::DropdownLink ;T;[;[;$I"AAdd dropdown link in list See UiBibz::Ui::Core::DropdownLink;T;%0;#@Q;&F;'o;(;)F;*i`;+ia;,@;-I"def link content = nil, options = nil, html_options = nil, &block @items << DropdownLink.new(content, options, html_options, &block).render end;T;.I"Fdef link content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Core::Dropdown#html;F;[[I" content;T0;[[@ig;T;: html;;;[;{;IC;"Add html component ;T;[;[;$I"Add html component;T;%0;#@j;&F;'o;(;)F;*if;+if;,@;-I"-def html content @items << content end;T;.I"def html content;T;/T;0To; ; F; ;;;p;I".UiBibz::Ui::Core::Dropdown#button_content;F;[;[[@im;F;:button_content;;;[;{;IC;" ;T;#@z;D0;&F;[;[;$I";T;%0;,@;-I"]def button_content [glyph_with_space, @content, ' ', caret].compact.join.html_safe end;T;.I"def button_content;T;/T;0To; ; F; ;;;p;I"+UiBibz::Ui::Core::Dropdown#button_html;F;[;[[@iq;F;:button_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-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; ;;;p;I"'UiBibz::Ui::Core::Dropdown#ul_html;F;[;[[@iu;F;: ul_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-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; ;;;p;I"%UiBibz::Ui::Core::Dropdown#caret;F;[;[[@iy;F;: caret;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I":def caret content_tag :span, '', class: 'caret' end;T;.I"def caret;T;/T;0To; ; F; ;;;p;I"(UiBibz::Ui::Core::Dropdown#position;F;[;[[@i};F;;};;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"5def position @options[:position] || 'left' end;T;.I"def position;T;/T;0To; ; F; ;;;p;I"$UiBibz::Ui::Core::Dropdown#type;F;[;[[@i|;F;;h;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"1def type @options[:type] || 'dropdown' end;T;.I" def type;T;/T;0To; ; F; ;;;p;I",UiBibz::Ui::Core::Dropdown#button_state;F;[;[[@i;F;:button_state;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Ndef button_state sym = @state || :default "btn-#{ states[sym] }" end;T;.I"def button_state;T;/T;0To; ; F; ;;;p;I"$UiBibz::Ui::Core::Dropdown#size;F;[;[[@i;T;;`;;;[;{;IC;":lg, :sm or :xs ;T;[;[;$I":lg, :sm or :xs;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"Adef size "btn-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@iD;T;: Dropdown;;;;;[;{;IC;"Create a dropdown This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add list items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Dropdown.new(options = nil, html_options = nil).tap do |d| ... d.header content = nil, options = nil, html_options = nil, &block d.divider d.link content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::Dropdown.new(name, state: :success).tap do |d| d.link 'test', { url: '#' } d.divider d.header 'Header 1' d.link 'test2', { url: '#' } end.render ==== Helper dropdown(name, options = { tap: true }, html_options = {}) do |d| d.link(content, options = {}, html_options = {}) d.link(options = {}, html_options = {}) do content end d.divider d.header(content, options = {}, html_options = {}) d.header(options = {}, html_options = {}) do content end end ;T;[;[;$I"Create a dropdown This element is an extend of UiBibz::Ui::Core::Component. You can use tap method to add list items. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +state+ - State of élement with symbol value: (+:default+, +:primary+, +:info+, +:warning+, +:danger+) * +size+ (+:xs+, +:sm+, +:lg+) * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::Dropdown.new(options = nil, html_options = nil).tap do |d| ... d.header content = nil, options = nil, html_options = nil, &block d.divider d.link content = nil, options = nil, html_options = nil, &block ... end ==== Examples UiBibz::Ui::Core::Dropdown.new(name, state: :success).tap do |d| d.link 'test', { url: '#' } d.divider d.header 'Header 1' d.link 'test2', { url: '#' } end.render ==== Helper dropdown(name, options = { tap: true }, html_options = {}) do |d| d.link(content, options = {}, html_options = {}) d.link(options = {}, html_options = {}) do content end d.divider d.header(content, options = {}, html_options = {}) d.header(options = {}, html_options = {}) do content end end ;T;%0;#@;&F;'o;(;)F;*i ;+iC;,@ ;I"UiBibz::Ui::Core::Dropdown;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I".lib/ui_bibz/ui/core/button/button_link.rb;Ti;;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"!a new instance of ButtonLink;T;0;"[I"ButtonLink;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::ButtonLink#render;F;[;[[@ i@;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*i?;+i?;,@;-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; ;;;Q;I"'UiBibz::Ui::Core::ButtonLink#state;F;[;[[@ iF;F;;N;;;[;{;IC;" ;T;#@$ ;D0;&F;[;[;$I";T;%0;,@;-I"Qdef state sym = @options[:state] || :default "btn-#{ states[sym] }" end;T;.I"def state;T;/T;0To; ; F; ;;;Q;I"&UiBibz::Ui::Core::ButtonLink#size;F;[;[[@ iL;T;;`;;;[;{;IC;":lg, :sm or :xs ;T;[;[;$I":lg, :sm or :xs;T;%0;#@1 ;&F;'o;(;)F;*iK;+iK;,@;-I"Adef size "btn-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ i8;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;#@;&F;'o;(;)F;*i;+i7;,@ ;I"!UiBibz::Ui::Core::ButtonLink;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"/lib/ui_bibz/ui/core/button/button_group.rb;Ti5;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I""a new instance of ButtonGroup;T;0;"[I"ButtonGroup;F;#@S ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@S ;&F;'o;(;)F;*i4;+i4;,@Q ;-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;[;[[@c i:;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@r ;&F;'o;(;)F;*i9;+i9;,@Q ;-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; ;;;Q;I"'UiBibz::Ui::Core::ButtonGroup#type;F;[;[[@c i@;F;;h;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@Q ;-I"-def type @options[:type] || :group end;T;.I" def type;T;/T;0To; ; F; ;;;Q;I"'UiBibz::Ui::Core::ButtonGroup#size;F;[;[[@c iD;F;;`;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@Q ;-I"Gdef size "btn-group-#{ @options[:size] }" if @options[:size] end;T;.I" def size;T;/T;0To; ; F; ;;;Q;I"+UiBibz::Ui::Core::ButtonGroup#position;F;[;[[@c iH;F;;};;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@Q ;-I"Sdef position "btn-group-#{ @options[:position] }" if @options[:position] end;T;.I"def position;T;/T;0T;2@Q ;3IC;[;2@Q ;4IC;[;2@Q ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@c 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 ;T;[;[;$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;#@Q ;&F;'o;(;)F;*i;+i1;,@ ;I""UiBibz::Ui::Core::ButtonGroup;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"0lib/ui_bibz/ui/core/list/components/list.rb;Ti@;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of List;T;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 ;T;[;[;$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;T0;[[@ iO;T;;m;;;[;{;IC;"$Add header which is a component ;T;[;[;$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;T0;[[@ iT;T;;n;;;[;{;IC;""Add body which is a component ;T;[;[;$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; ;;;Q;I"'UiBibz::Ui::Core::List#header_html;F;[;[[@ iZ;F;;q;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%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; ;;;Q;I"%UiBibz::Ui::Core::List#body_html;F;[;[[@ i^;F;;r;;;[;{;IC;" ;T;#@' ;D0;&F;[;[;$I";T;%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; ;;;Q;I"UiBibz::Ui::Core::List#tag;F;[;[[@ ib;F;:tag;;;[;{;IC;" ;T;#@4 ;D0;&F;[;[;$I";T;%0;,@ ;-I"+def tag is_link_type? ? :a : :li end;T;.I" def tag;T;/T;0To; ; F; ;;;Q;I")UiBibz::Ui::Core::List#is_link_type?;F;[;[[@ if;F;:is_link_type?;;;[;{;IC;" ;T;#@A ;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@A ;$I";T;%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; ;;;Q;I"!UiBibz::Ui::Core::List#state;F;[;[[@ ik;F;;N;;;[;{;IC;" ;T;#@S ;D0;&F;[;[;$I";T;%0;,@ ;-I"kdef state unless @options[:state].nil? "list-group-item-#{ states[@options[:state]] }" end end;T;.I"def state;T;/T;0T;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"1lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb;Ti>;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"!a new instance of Breadcrumb;T;0;"[I"Breadcrumb;F;#@t ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@t ;&F;'o;(;)F;*i=;+i=;,@r ;-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 ;T;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*iC;+iC;,@r ;-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;T0;[[@ iJ;T;;{;;;[;{;IC;"CAdd breadcrumb link items See UiBibz::Ui::Core::BreadcrumbLink ;T;[;[;$I"CAdd breadcrumb link items See UiBibz::Ui::Core::BreadcrumbLink;T;%0;#@ ;&F;'o;(;)F;*iH;+iI;,@r ;-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;2@r ;3IC;[;2@r ;4IC;[;2@r ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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 ;T;[;[;$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;#@r ;&F;'o;(;)F;*i ;+i:;,@ ;I"!UiBibz::Ui::Core::Breadcrumb;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"2lib/ui_bibz/ui/core/button/button_dropdown.rb;Ti=;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"%a new instance of ButtonDropdown;T;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 ;T;[;[;$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;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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;0;?0;@0;;;,@ ;B@;\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;T0;[[I"3lib/ui_bibz/ui/core/nav/components/nav_link.rb;Ti/;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of NavLink;T;0;"[I" NavLink;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::NavLink#render;F;[;[[@ i4;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@- ;&F;'o;(;)F;*i3;+i3;,@ ;-I"jdef render content_tag :li, content_htm, class_and_html_options.merge({ role: 'presentation' }) end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I"*UiBibz::Ui::Core::NavLink#content_htm;F;[;[[@ i;;T;:content_htm;;;[;{;IC;"2content_htm and not content_html for haml bug ;T;[;[;$I"2content_htm and not content_html for haml bug;T;%0;#@; ;&F;'o;(;)F;*i:;+i:;,@ ;-I"def content_htm link_to @options[:url], link_html_options do concat glyph_and_content_html concat badge_html if @options[:badge] end end;T;.I"def content_htm;T;/T;0To; ; F; ;;;Q;I"0UiBibz::Ui::Core::NavLink#link_html_options;F;[;[[@ iB;F;:link_html_options;;;[;{;IC;" ;T;#@I ;D0;&F;[;[;$I";T;%0;,@ ;-I"def link_html_options lho = @options[:link_html_options] || {} if @options[:nav_type] == "nav-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;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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;#@ ;&F;'o;(;)F;*i;+i+;,@ ;I"UiBibz::Ui::Core::NavLink;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"5lib/ui_bibz/ui/core/nav/components/navbar_nav.rb;Ti/;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I" a new instance of NavbarNav;T;0;"[I"NavbarNav;F;#@j ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@j ;&F;'o;(;)F;*i.;+i.;,@h ;-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; ;;;Q;I"%UiBibz::Ui::Core::NavbarNav#type;F;[;[[@z i5;F;;h;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@h ;-I" def type 'navbar-nav' end;T;.I" def type;T;/T;0To; ; F; ;;;Q;I")UiBibz::Ui::Core::NavbarNav#position;F;[;[[@z i9;F;;};;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@h ;-I"Ydef position "navbar-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;2@h ;3IC;[;2@h ;4IC;[;2@h ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@z 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 ;T;[;[;$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;#@h ;&F;'o;(;)F;*i;+i+;,@ ;I" UiBibz::Ui::Core::NavbarNav;F;0;?0;@0;;~;,@ ;B@;\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;T0;[[I"5lib/ui_bibz/ui/core/progress_bar/progress_bar.rb;TiL;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I""a new instance of ProgressBar;T;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 ;T;[;[;$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;T0;[[@ iX;T;:bar;;;[;{;IC;"8Add progressbar bar items See UiBibz::Ui::Core::Bar ;T;[;[;$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; ;;;Q;I"*UiBibz::Ui::Core::ProgressBar#content;F;[;[[@ i^;F;;C;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%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;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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;0;?0;@0;;A;,@ ;B@O;\0;/To; ;IC;[ o; ; F; ;;;;I",UiBibz::Ui::Core::NavbarForm#initialize;F;[[I"model_or_url;T0[I" options;TI"{};T[I" &block;T0;[[I"6lib/ui_bibz/ui/core/nav/components/navbar_form.rb;Ti4;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"!a new instance of NavbarForm;T;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?;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@9 ;&F;'o;(;)F;*i>;+i>;,@ ;-I"def render @form end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I":UiBibz::Ui::Core::NavbarForm#protect_against_forgery?;F;[;[[@* iE;F;:protect_against_forgery?;;;[;{;IC;" ;T;#@G ;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@G ;$I";T;%0;,@ ;-I"-def protect_against_forgery? false end;T;.I"!def protect_against_forgery?;T;/T;0To; ; F; ;;;Q;I"%UiBibz::Ui::Core::NavbarForm#url;F;[;[[@* iI;F;:url;;;[;{;IC;" ;T;#@Y ;D0;&F;[;[;$I";T;%0;,@ ;-I"!def url @options[:url] end;T;.I" def url;T;/T;0To; ; F; ;;;Q;I"&UiBibz::Ui::Core::NavbarForm#type;F;[;[[@* iM;F;;h;;;[;{;IC;" ;T;#@f ;D0;&F;[;[;$I";T;%0;,@ ;-I"0def type @options[:type] || :form_for end;T;.I" def type;T;/T;0To; ; F; ;;;Q;I"*UiBibz::Ui::Core::NavbarForm#position;F;[;[[@* iQ;F;;};;;[;{;IC;" ;T;#@s ;D0;&F;[;[;$I";T;%0;,@ ;-I"Ydef position "navbar-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;2@ ;3IC;[;2@ ;4IC;[o;= ;>0;?I"ActionView::Helpers;T;@@ ;;Z;,o;= ;>0;?0;@0;;[;,@ ;B0;\0;B0;\;]o;= ;>0;?I"Haml::Helpers;T;@@ ;;Z;,o;= ;>0;?0;@0;: Haml;,@ ;B0;\0;B0;\;];2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@* 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 ;T;[;[;$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;0;?I"UiBibz::Ui::Base;T;@@ ;;V;,@ ;B@p;\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;T0;[[I"6lib/ui_bibz/ui/core/nav/components/navbar_text.rb;Ti*;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"!a new instance of NavbarText;T;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 ;T;[;[;$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; ;;;Q;I"*UiBibz::Ui::Core::NavbarText#position;F;[;[[@ i5;F;;};;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@ ;-I"Ydef position "navbar-#{ @options[:position] }" unless @options[:position].nil? end;T;.I"def position;T;/T;0T;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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 ;T;[;[;$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;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"7lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb;Ti4;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I""a new instance of NavDropdown;T;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 ;T;[;[;$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; ;;;Q;I",UiBibz::Ui::Core::NavDropdown#link_html;F;[;[[@ iB;F;:link_html;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%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;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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;0;?0;@0;;;,@ ;B@;\0;/To; ;IC;[o; ; F; ;;;;I"+UiBibz::Ui::Core::ModalBody#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[I"7lib/ui_bibz/ui/core/modal/components/modal_body.rb;Ti(;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I" a new instance of ModalBody;T;0;"[I"ModalBody;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::ModalBody#render;F;[;[[@F i-;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@U ;&F;'o;(;)F;*i,;+i,;,@4 ;-I"Vdef render content_tag :div, @content, class_and_html_options("modal-body") end;T;.I"def render;T;/T;0T;2@4 ;3IC;[;2@4 ;4IC;[;2@4 ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@F i%;T;:ModalBody;;;;;[;{;IC;"9Create a modal body ==== 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::Core::ModalBody.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::ModalBody.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ModalBody.new.render UiBibz::Ui::Core::ModalBody.new do 'Exemple' end.render ;T;[;[;$I":Create a modal body ==== 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::Core::ModalBody.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::ModalBody.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ModalBody.new.render UiBibz::Ui::Core::ModalBody.new do 'Exemple' end.render ;T;%0;#@4 ;&F;'o;(;)F;*i;+i$;,@ ;I" UiBibz::Ui::Core::ModalBody;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"7lib/ui_bibz/ui/core/progress_bar/components/bar.rb;Ti4;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Bar;T;0;"[I"Bar;F;#@w ;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@w ;&F;'o;(;)F;*i3;+i3;,@u ;-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;[;[[@ i9;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@ ;&F;'o;(;)F;*i8;+i8;,@u ;-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; ;;;Q;I"+UiBibz::Ui::Core::Bar#bar_html_options;F;[;[[@ i?;F;:bar_html_options;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-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; ;;;Q;I"1UiBibz::Ui::Core::Bar#progressbar_inner_html;F;[;[[@ iI;F;:progressbar_inner_html;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-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; ;;;Q;I"%UiBibz::Ui::Core::Bar#percentage;F;[;[[@ iM;F;:percentage;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-I"'def percentage @content || 0 end;T;.I"def percentage;T;/T;0To; ; F; ;;;Q;I""UiBibz::Ui::Core::Bar#sr_only;F;[;[[@ iQ;F;: sr_only;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-I"2def sr_only @options[:sr_only] || false end;T;.I"def sr_only;T;/T;0To; ; F; ;;;Q;I")UiBibz::Ui::Core::Bar#percentage_min;F;[;[[@ iU;F;:percentage_min;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-I"def percentage_max @options[:percentage_max] || 100 end;T;.I"def percentage_max;T;/T;0To; ; F; ;;;Q;I" UiBibz::Ui::Core::Bar#label;F;[;[[@ i];F;: label;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-I"Rdef label @options[:label].nil? ? "#{ percentage }%" : @options[:label] end;T;.I"def label;T;/T;0To; ; F; ;;;Q;I"UiBibz::Ui::Core::Bar#type;F;[;[[@ ia;F;;h;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-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; ;;;Q;I" UiBibz::Ui::Core::Bar#state;F;[;[[@ ii;F;;N;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@u ;-I"Vdef state "progress-bar-#{ @options[:state] }" unless @options[:state].nil? end;T;.I"def state;T;/T;0T;2@u ;3IC;[;2@u ;4IC;[;2@u ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ 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;#@u ;&F;'o;(;)F;*i;+i0;,@ ;I"UiBibz::Ui::Core::Bar;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"8lib/ui_bibz/ui/core/button/button_split_dropdown.rb;Ti=;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"*a new instance of ButtonSplitDropdown;T;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 ;T;[;[;$I"Render html tag;T;%0;#@K;&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; ;;;Q;I"6UiBibz::Ui::Core::ButtonSplitDropdown#button_html;F;[;[[@<iM;F;;;;;[;{;IC;" ;T;#@Y;D0;&F;[;[;$I";T;%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; ;;;Q;I"5UiBibz::Ui::Core::ButtonSplitDropdown#split_html;F;[;[[@<iQ;F;:split_html;;;[;{;IC;" ;T;#@f;D0;&F;[;[;$I";T;%0;,@+;-I"def split_html content_tag :button, split_content, class: add_classes("btn", button_state, size, "dropdown-toggle"), type: 'button', "data-toggle" => 'dropdown', "aria-expanded" => false end;T;.I"def split_html;T;/T;0To; ; F; ;;;Q;I"8UiBibz::Ui::Core::ButtonSplitDropdown#split_content;F;[;[[@<iU;F;:split_content;;;[;{;IC;" ;T;#@s;D0;&F;[;[;$I";T;%0;,@+;-I"=def split_content [caret, src_only].join.html_safe end;T;.I"def split_content;T;/T;0To; ; F; ;;;Q;I"3UiBibz::Ui::Core::ButtonSplitDropdown#src_only;F;[;[[@<iY;F;: src_only;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@+;-I"Ndef src_only content_tag :span, "Toggle Dropdown", class: "sr-only" end;T;.I"def src_only;T;/T;0To; ; F; ;;;Q;I"9UiBibz::Ui::Core::ButtonSplitDropdown#button_content;F;[;[[@<i];F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@+;-I"Qdef button_content [glyph_with_space, @content].compact.join.html_safe end;T;.I"def button_content;T;/T;0T;2@+;3IC;[;2@+;4IC;[;2@+;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@<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;0;?0;@0;;;,@ ;B@;\0;/To; ;IC;[o; ; F; ;;;;I"-UiBibz::Ui::Core::ModalHeader#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[I"9lib/ui_bibz/ui/core/modal/components/modal_header.rb;Ti);T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I""a new instance of ModalHeader;T;0;"[I"ModalHeader;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::ModalHeader#render;F;[;[[@i.;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i-;+i-;,@;-I"def render content_tag :div, class_and_html_options("modal-header") do concat close_button_html concat content_tag :h4, glyph_and_content_html, class: 'modal-title' end end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I"4UiBibz::Ui::Core::ModalHeader#close_button_html;F;[;[[@i7;F;:close_button_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def close_button_html content_tag :button, class: 'close', "data-dismiss" => 'modal', "aria-label" => "Close" do concat content_tag :span, "×", "aria-hidden" => true concat content_tag :span, "Close", class: 'sr-only' end end;T;.I"def close_button_html;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i&;T;:ModalHeader;;;;;[;{;IC;"ACreate a modal header ==== 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::Core::ModalHeader.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::CarHeader.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ModalHeader.new.render UiBibz::Ui::Core::ModalHeader.new do 'Exemple' end.render ;T;[;[;$I"BCreate a modal header ==== 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::Core::ModalHeader.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::CarHeader.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ModalHeader.new.render UiBibz::Ui::Core::ModalHeader.new do 'Exemple' end.render ;T;%0;#@;&F;'o;(;)F;*i ;+i%;,@ ;I""UiBibz::Ui::Core::ModalHeader;F;0;?0;@0;;A;,@ ;B@O;\0;/To; ;IC;[o; ; F; ;;;;I"-UiBibz::Ui::Core::ModalFooter#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[I"9lib/ui_bibz/ui/core/modal/components/modal_footer.rb;Ti(;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I""a new instance of ModalFooter;T;0;"[I"ModalFooter;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::ModalFooter#render;F;[;[[@ i-;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i,;+i,;,@;-I"Xdef render content_tag :div, @content, class_and_html_options("modal-footer") end;T;.I"def render;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ i%;T;:ModalFooter;;;;;[;{;IC;"CCreate a modal footer ==== 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::Core::ModalFooter.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::ModalFooter.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ModalFooter.new.render UiBibz::Ui::Core::ModalFooter.new do 'Exemple' end.render ;T;[;[;$I"DCreate a modal footer ==== 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::Core::ModalFooter.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::ModalFooter.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::ModalFooter.new.render UiBibz::Ui::Core::ModalFooter.new do 'Exemple' end.render ;T;%0;#@;&F;'o;(;)F;*i;+i$;,@ ;I""UiBibz::Ui::Core::ModalFooter;F;0;?0;@0;;A;,@ ;B@O;\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;T0;[[I"=lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb;Ti2;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"#a new instance of DropdownLink;T;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;[;[[@Mi7;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@\;&F;'o;(;)F;*i6;+i6;,@;;-I"def render content_tag :li, class_and_html_options('').merge({ role: 'presentation' }) do link_to glyph_and_content_html, link_url, @options[:link_html_options] end end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I",UiBibz::Ui::Core::DropdownLink#link_url;F;[;[[@Mi?;F;: link_url;;;[;{;IC;" ;T;#@j;D0;&F;[;[;$I";T;%0;,@;;-I"-def link_url @options[:url] || "#" end;T;.I"def link_url;T;/T;0T;2@;;3IC;[;2@;;4IC;[;2@;;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Mi/;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;0;?0;@0;;A;,@ ;B@O;\0;/To; ;IC;[o; ; F; ;;;;I"0UiBibz::Ui::Core::DropdownHeader#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[I"?lib/ui_bibz/ui/core/dropdown/components/dropdown_header.rb;Ti*;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"%a new instance of DropdownHeader;T;0;"[I"DropdownHeader;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i);+i);,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Core::DropdownHeader#render;F;[;[[@i/;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i.;+i.;,@;-I"zdef render content_tag :li, @content, class_and_html_options('dropdown-header').merge({ role: 'presentation' }) end;T;.I"def render;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i';T;:DropdownHeader;;;;;[;{;IC;"Create DropdownHeader This element is an extend of UiBibz::Ui::Core::Component. Use '---' in content to add a separator ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. ==== Signatures UiBibz::Ui::Core::DropdownHeader.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownHeader.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownHeader.new('Home',{ class: 'test' }).render UiBibz::Ui::Core::DropdownHeader.new({ class: 'test' }) do 'Home' end.render ;T;[;[;$I"Create DropdownHeader This element is an extend of UiBibz::Ui::Core::Component. Use '---' in content to add a separator ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. ==== Signatures UiBibz::Ui::Core::DropdownHeader.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::DropdownHeader.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::DropdownHeader.new('Home',{ class: 'test' }).render UiBibz::Ui::Core::DropdownHeader.new({ class: 'test' }) do 'Home' end.render ;T;%0;#@;&F;'o;(;)F;*i;+i&;,@ ;I"%UiBibz::Ui::Core::DropdownHeader;F;0;?0;@0;;A;,@ ;B@O;\0;/To; ;IC;[o; ; F; ;;;;I"1UiBibz::Ui::Core::DropdownDivider#initialize;F;[;[[I"@lib/ui_bibz/ui/core/dropdown/components/dropdown_divider.rb;Ti ;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"&a new instance of DropdownDivider;T;0;"[I"DropdownDivider;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i ;+i ;,@;-I"def initialize end;T;.I"def initialize;T;/T;0To; ; F; ;;;;I"-UiBibz::Ui::Core::DropdownDivider#render;F;[;[[@i;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"Odef render content_tag :li, nil, class: 'divider', role: 'separator' end;T;.I"def render;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i ;T;:DropdownDivider;;;;;[;{;IC;"Create DropdownDivider ;T;[;[;$I"Create DropdownDivider ;T;%0;#@;&F;'o;(;)F;*i;+i ;,@ ;I"&UiBibz::Ui::Core::DropdownDivider;F;0;?I"UiBibz::Ui::Base;T;@@ ;;V;,@ ;B@p;\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;T0;[[I"Alib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb;Ti1;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"%a new instance of BreadcrumbLink;T;0;"[I"BreadcrumbLink;F;#@;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@;&F;'o;(;)F;*i0;+i0;,@;-I"Xdef initialize content = nil, options = nil, html_options = nil, &block super end;T;.I"Ldef initialize content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Core::BreadcrumbLink#render;F;[;[[@i6;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$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; ;;;Q;I"/UiBibz::Ui::Core::BreadcrumbLink#link_html;F;[;[[@i<;F;;;;;[;{;IC;" ;T;#@0;D0;&F;[;[;$I";T;%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;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i.;T;:BreadcrumbLink;;;;;[;{;IC;"Create a BreadcrumbLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::BreadcrumbLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::BreadcrumbLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::BreadcrumbLink.new('Home', { glyph: 'home', status: :active },{ class: 'test' }).render UiBibz::Ui::Core::BreadcrumbLink.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do 'Home' end.render ;T;[;[;$I"Create a BreadcrumbLink This element is an extend of UiBibz::Ui::Core::Component. ==== Attributes * +content+ - Content of element * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +status+ - State of élement with symbol value: (+:active+) * +url+ - String * +glyph+ - Add glyph with name or hash options * +name+ - String * +size+ - Integer * +type+ - Symbol ==== Signatures UiBibz::Ui::Core::BreadcrumbLink.new(content, options = nil, html_options = nil) UiBibz::Ui::Core::BreadcrumbLink.new(options = nil, html_options = nil) do content end ==== Examples UiBibz::Ui::Core::BreadcrumbLink.new('Home', { glyph: 'home', status: :active },{ class: 'test' }).render UiBibz::Ui::Core::BreadcrumbLink.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do 'Home' end.render ;T;%0;#@;&F;'o;(;)F;*i;+i-;,@ ;I"%UiBibz::Ui::Core::BreadcrumbLink;F;0;?0;@0;;A;,@ ;B@O;\0;/T;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[)[I"lib/ui_bibz.rb;Ti[@ i[@i[@Ii[@i[@Mi[@i[@hi[@i[@mi[@Vi[@i [@i [@Li[@i[@i [@ i[@c i[@ i[@ i[@ i[@ i[@z i[@ i[@* i[@ i[@ i[@F i[@ i[@<i[@i[@ i[@Mi[@i[@i[@i;T;: Core;;;;;[;{;IC;" Core ;T;[;[;$I" Core;T;%0;#@ ;&F;'o;(;)F;*i;+i;,@ ;I"UiBibz::Ui::Core;F;/To; ;IC;[o; ;IC;[o:&YARD::CodeObjects::ConstantObject;[[I"lib/ui_bibz/ui/ux/grid.rb;Ti>;F;: COL_NUM;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I""UiBibz::Ui::Ux::Grid::COL_NUM;F;.I"COL_NUM = 12;T;-I"COL_NUM = 12;T: @valueI"12;T;/To; ; F; ;;;;I"$UiBibz::Ui::Ux::Grid#initialize;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@i@;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I"a new instance of Grid;T;0;"[I" Grid;F;#@;$I";T;%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;T0;[[@iF;T;: view;;;[;{;IC;"Add grid view items ;T;[;[;$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 ;T;[;[;$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; ;;;Q;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;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I""UiBibz::Ui::Ux::Grid#top_view;F;[;[[@id;F;: top_view;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"%UiBibz::Ui::Ux::Grid#bottom_view;F;[;[[@ih;F;:bottom_view;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"#UiBibz::Ui::Ux::Grid#left_view;F;[;[[@il;F;:left_view;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"%UiBibz::Ui::Ux::Grid#center_view;F;[;[[@ip;F;:center_view;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"$UiBibz::Ui::Ux::Grid#right_view;F;[;[[@it;F;:right_view;;;[;{;IC;" ;T;#@!;D0;&F;[;[;$I";T;%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; ;;;Q;I")UiBibz::Ui::Ux::Grid#define_col_nums;F;[;[[@ix;F;:define_col_nums;;;[;{;IC;" ;T;#@.;D0;&F;[;[;$I";T;%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;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@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 ;T;[;[;$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;0;?I" UiBibz::Ui::Core::Component;T;@@;;A;,@ ;B@O;\;7;/To; ;IC;[o; ; F; ;;;;I""UiBibz::Ui::Ux::Table#columns;F;[[I" &block;T0;[[I"%lib/ui_bibz/ui/ux/table/table.rb;Tic[@WiY;T;: columns;;;[;{;IC;"Add table columns items ;T;[;[;$I"Add table columns items;T;%0;#@P;&F;'o;(;)F;*ib;+ib;,@N;-I"def columns @columns end;T;.I"def columns(&block);T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Table#columns=;F;[[I" value;T0;[[@WiY;F;: columns=;;;[;{;IC;"Sets the attribute columns ;T;#@b;D0;&F;[;[o; ; I" param;F;!I"/the value to set the attribute columns to.;T;I" value;T;"0;#@b;$I"WSets the attribute columns @param value the value to set the attribute columns to.;T;%0;,@N;-I"/def columns=(value) @columns = value end;T;.I"def columns=(value);T;/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;T0;[[@Wi\;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"a new instance of Table;T;0;"[I" Table;F;#@u;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@u;&F;'o;(;)F;*i[;+i[;,@N;-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;T0;[[@Wih;T;: actions;;;[;{;IC;"Add table actions items ;T;[;[;$I"Add table actions items;T;%0;#@;&F;'o;(;)F;*ig;+ig;,@N;-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;[;[[@Wim;T;:actions_list;;;[;{;IC;" for test ;T;[;[;$I" for test;T;%0;#@;&F;'o;(;)F;*il;+il;,@N;-I"$def actions_list @actions end;T;.I"def actions_list;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Table#render;F;[;[[@Wir;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*iq;+iq;,@N;-I" def render table_html end;T;.I"def render;T;/T;0To; ; F; ;;;;I" UiBibz::Ui::Ux::Table#store;F;[;[[@Wiw;T;: store;;;[;{;IC;"@Store must be generated by *table_search_pagination* method ;T;[;[;$I"@Store must be generated by *table_search_pagination* method;T;%0;#@;&F;'o;(;)F;*iv;+iv;,@N;-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; ;;;p;I"UiBibz::Ui::Ux::Table#sort;F;[;[[@Wi~;F;: sort;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@N;-I":def sort @sort ||= Sortable.new store, @options end;T;.I" def sort;T;/T;0To; ; F; ;;;p;I"!UiBibz::Ui::Ux::Table#action;F;[;[[@Wi;F;: action;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@N;-I"Jdef action @action ||= Actionable.new store, @options, @actions end;T;.I"def action;T;/T;0To; ; F; ;;;p;I"UiBibz::Ui::Ux::Table#cols;F;[;[[@Wi;F;: cols;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@N;-I"Mdef cols @columns.list.empty? ? store.columns.list : @columns.list end;T;.I" def cols;T;/T;0To; ; F; ;;;p;I"UiBibz::Ui::Ux::Table#type;F;[;[[@Wi;F;;h;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@N;-I"Ldef type "table-#{ @options[:type] }" unless @options[:type].nil? end;T;.I" def type;T;/T;0To; ; F; ;;;p;I"%UiBibz::Ui::Ux::Table#table_html;F;[;[[@Wi;F;:table_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@N;-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; ;;;p;I"%UiBibz::Ui::Ux::Table#td_content;F;[[I" record;T0[I"col;T0;[[@Wi;T;:td_content;;;[;{;IC;"(Maybe create a class for td_content ;T;[;[;$I"(Maybe create a class for td_content;T;%0;#@;&F;'o;(;)F;*i;+i;,@N;-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;2@N;3IC;[;2@N;4IC;[;2@N;5IC;6{;7IC;6{;8T;IC;6{;IC;6{;T@P;U@b;8T;8T;8T;9{;:[;[[@WiW;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 ;T;[;[;$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;#@N;&F;'o;(;)F;*i;+iV;,@;I"UiBibz::Ui::Ux::Table;F;0;?I" UiBibz::Ui::Core::Component;T;@@;;A;,@ ;B@O;\;7;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Ux::TablePanel#columns;F;[[I" &block;T0;[[I"+lib/ui_bibz/ui/ux/table/table_panel.rb;Ti}[@=ie;T;;;;;[;{;IC;"Add table columns item ;T;[;[;$I"Add table columns item;T;%0;#@6;&F;'o;(;)F;*i|;+i|;,@4;-I"def columns @columns end;T;.I"def columns(&block);T;/T;0To; ; F; ;;;;I"(UiBibz::Ui::Ux::TablePanel#columns=;F;[[I" value;T0;[[@=ie;F;;;;;[;{;IC;"Sets the attribute columns ;T;#@H;D0;&F;[;[o; ; I" param;F;!I"/the value to set the attribute columns to.;T;I" value;T;"0;#@H;$I"WSets the attribute columns @param value the value to set the attribute columns to.;T;%0;,@4;-I"/def columns=(value) @columns = value end;T;.I"def columns=(value);T;/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;T0;[[@=ih;T;;;;;[;{;IC;"/See UiBibz::Ui::Core::Component.initialize ;T;[;[o; ; I" return;F;!I"!a new instance of TablePanel;T;0;"[I"TablePanel;F;#@[;$I"/See UiBibz::Ui::Core::Component.initialize;T;%0;#@[;&F;'o;(;)F;*ig;+ig;,@4;-I"def initialize content = nil, options = nil, html_options = nil, &block super 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 ;T;[;[;$I"Render html tag;T;%0;#@y;&F;'o;(;)F;*in;+in;,@4;-I"def 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 store.parameters.each do |k,v| concat tag(:input, type: 'hidden', name: k, value: v) if !default_parameters?(k) && !v.blank? end 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(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;T0;[[@=i;T;;;;;[;{;IC;"Add table actions item ;T;[;[;$I"Add table actions item;T;%0;#@;&F;'o;(;)F;*i;+i;,@4;-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 ;T;[;[;$I" for test;T;%0;#@;&F;'o;(;)F;*i;+i;,@4;-I"/def actions_list @table.actions_list end;T;.I"def actions_list;T;/T;0To; ; F; ;;;Q;I"%UiBibz::Ui::Ux::TablePanel#store;F;[;[[@=i;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@4;-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) if @options[:store] end end;T;.I"def store;T;/T;0To; ; F; ;;;Q;I"3UiBibz::Ui::Ux::TablePanel#default_parameters?;F;[[I"k;T0;[[@=i;F;:default_parameters?;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$I";T;%0;,@4;-I"qdef default_parameters?(k) %w(store_id per_page search utf8 search controller action utf8).include?(k) end;T;.I"def default_parameters?(k);T;/T;0To; ; F; ;;;Q;I".UiBibz::Ui::Ux::TablePanel#url_parameters;F;[;[[@=i;F;:url_parameters;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@4;-I"hdef url_parameters { controller: store.controller, action: store.action, id: store.param_id } end;T;.I"def url_parameters;T;/T;0To; ; F; ;;;Q;I"*UiBibz::Ui::Ux::TablePanel#table_html;F;[;[[@=i;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@4;-I"Odef table_html content_tag :div, @table.render, class: 'panel-table' end;T;.I"def table_html;T;/T;0To; ; F; ;;;Q;I"-UiBibz::Ui::Ux::TablePanel#panel_classes;F;[;[[@=i;F;:panel_classes;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@4;-I"@def panel_classes %w(panel panel-default table-panel) end;T;.I"def panel_classes;T;/T;0To; ; F; ;;;Q;I"&UiBibz::Ui::Ux::TablePanel#search;F;[;[[@=i;F;: search;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@4;-I"\def search @search ||= Searchable.new store, @options.merge({ wrap_form: false }) end;T;.I"def search;T;/T;0To; ; F; ;;;Q;I"*UiBibz::Ui::Ux::TablePanel#pagination;F;[;[[@=i;F;:pagination;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@4;-I"cdef pagination @pagination ||= Paginable.new store, @options.merge({ wrap_form: false }) end;T;.I"def pagination;T;/T;0To; ; F; ;;;Q;I"1UiBibz::Ui::Ux::TablePanel#initialize_footer;F;[;[[@=i[@=i;F;:initialize_footer;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@4;-I"0;?I"UiBibz::Ui::Core::Panel;T;@@;;u;,@ ;B@;\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 ;T;#@8;D0;&F;[;[;$I"+Returns the value of attribute records;T;%0;,@6;-I"def records @records end;T;.I"def records;T;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Store#records=;F;[[I" value;T0;[[@=i ;F;: records=;;;[;{;IC;"Sets the attribute records ;T;#@F;D0;&F;[;[o; ; I" param;F;!I"/the value to set the attribute records to.;T;I" value;T;"0;#@F;$I"WSets the attribute records @param value the value to set the attribute records to.;T;%0;,@6;-I"/def records=(value) @records = value end;T;.I"def records=(value);T;/To; ; F; ;;;;I"%UiBibz::Ui::Ux::Store#initialize;F;[[I" store;T0;[[@=i;T;;;;;[;{;IC;")Store Use WillPaginate store methods ;T;[;[o; ; I" return;F;!I"a new instance of Store;T;0;"[I" Store;F;#@Y;$I")Store Use WillPaginate store methods;T;%0;#@Y;&F;'o;(;)F;*i ;+i ;,@6;-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;" ;T;#@n;D0;&F;[;[;$I";T;%0;,@6;-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;" ;T;#@{;D0;&F;[;[;$I";T;%0;,@6;-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;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-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;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-I"def id @store.id end;T;.I" def id;T;/T;0To; ; F; ;;;;I"UiBibz::Ui::Ux::Store#sort;F;[;[[@=i$;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-I"def sort @store.sort end;T;.I" def sort;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Store#column_id;F;[;[[@=i(;F;:column_id;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-I")def column_id @store.column_id end;T;.I"def column_id;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Store#direction;F;[;[[@=i,;F;:direction;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-I")def direction @store.direction end;T;.I"def direction;T;/T;0To; ; F; ;;;;I"0UiBibz::Ui::Ux::Store#searchable_attributes;F;[;[[@=i0;F;:searchable_attributes;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-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;[;[[@=i4;F;:current_page;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-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;[;[[@=i8;F;:limit_value;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-I"/def limit_value @records.limit_value end;T;.I"def limit_value;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Ux::Store#columns;F;[;[[@=i<;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-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;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-I"def model @model end;T;.I"def model;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Store#search;F;[;[[@=iD;F;;;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@6;-I"#def search @store.search end;T;.I"def search;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Ux::Store#controller;F;[;[[@=iH;F;:controller;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@6;-I"+def controller @store.controller end;T;.I"def controller;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Ux::Store#parameters;F;[;[[@=iL;F;:parameters;;;[;{;IC;" ;T;#@$;D0;&F;[;[;$I";T;%0;,@6;-I"3def parameters @store.try(:params) || {} end;T;.I"def parameters;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Store#action;F;[;[[@=iP;F;;;;;[;{;IC;" ;T;#@1;D0;&F;[;[;$I";T;%0;,@6;-I"#def action @store.action end;T;.I"def action;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Store#param_id;F;[;[[@=iT;F;: param_id;;;[;{;IC;" ;T;#@>;D0;&F;[;[;$I";T;%0;,@6;-I"'def param_id @store.param_id end;T;.I"def param_id;T;/T;0T;2@6;3IC;[;2@6;4IC;[;2@6;5IC;6{;7IC;6{;8T;IC;6{;IC;6{;T@8;U@F;8T;8T;8T;9{;:[;[[@=i ;F;: Store;;;;;[;{;IC;" ;T;#@6;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Store;F;0;?0;@0;;^;,@;B0;\;7;/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 ;T;[;[o; ; I" return;F;!I"&a new instance of TablePagination;T;0;"[I"TablePagination;F;#@_;$I"RInitialize pagination with component item pagination require WillPaginate gem;T;%0;#@_;&F;'o;(;)F;*i#;+i$;,@];-I"def initialize options = nil, html_options = nil @pagination = UiBibz::Ui::Core::Component.new nil, options, html_options end;T;.I"5def initialize options = nil, html_options = nil;T;/T;0To; ; F; ;;;;I"+UiBibz::Ui::Ux::TablePagination#render;F;[;[[@ji*;T;;1;;;[;{;IC;"3Render html tag with boostrap pagination theme ;T;[;[;$I"3Render html tag with boostrap pagination theme;T;%0;#@y;&F;'o;(;)F;*i);+i);,@];-I"Mdef render paginate_parameters = { controller: store.controller } paginate_parameters = paginate_parameters.merge({ store_id: store.id }) unless store.id.nil? paginate_parameters = paginate_parameters.merge(store.parameters) will_paginate(store.records, params: paginate_parameters, renderer: BootstrapPagination::Rails) end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I"*UiBibz::Ui::Ux::TablePagination#store;F;[;[[@ji5;T;;;;;[;{;IC;"@Store must be generated by *table_search_pagination* method ;T;[;[;$I"@Store must be generated by *table_search_pagination* method;T;%0;#@;&F;'o;(;)F;*i4;+i4;,@];-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;2@];3IC;[;2@];4IC;[o;= ;>0;?I"WillPaginate::ActionView;T;@@];;[;,o;= ;>0;?0;@0;:WillPaginate;,@];B0;\0;B0;\;];2@];5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ji ;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 = {}) ;T;[;[;$I"Create a pagination for table ==== Attributes * +options+ - Options of element * +html_options+ - Html Options of element ==== Options You can add HTML attributes using the +html_options+. You can pass arguments in options attribute: * +store+ - Store generate by '+table_search_pagination+' method ==== Signatures UiBibz::Ui::Ux::TablePagination.new(store: @store) ==== Helper table_pagination(options = {}) ;T;%0;#@];&F;'o;(;)F;*i ;+i;,@;I"$UiBibz::Ui::Ux::TablePagination;F;0;?I"UiBibz::Ui::Base;T;@@;;V;,@ ;B@p;\0;/To; ;IC;[o; ; F; ;;;;I""UiBibz::Ui::Ux::Column#hidden;F;[;[[I"1lib/ui_bibz/ui/ux/table/components/column.rb;Ti ;F;: hidden;;;[;{;IC;"*Returns the value of attribute hidden ;T;#@;D0;&F;[;[;$I"*Returns the value of attribute hidden;T;%0;,@;-I"def hidden @hidden end;T;.I"def hidden;T;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Column#hidden=;F;[[I" value;T0;[[@i ;F;: hidden=;;;[;{;IC;"Sets the attribute hidden ;T;#@;D0;&F;[;[o; ; I" param;F;!I".the value to set the attribute hidden to.;T;I" value;T;"0;#@;$I"USets the attribute hidden @param value the value to set the attribute hidden to.;T;%0;,@;-I"-def hidden=(value) @hidden = value end;T;.I"def hidden=(value);T;/To; ; F; ;;;;I" UiBibz::Ui::Ux::Column#link;F;[;[[@i ;F;;{;;;[;{;IC;"(Returns the value of attribute link ;T;#@;D0;&F;[;[;$I"(Returns the value of attribute link;T;%0;,@;-I"def link @link end;T;.I" def link;T;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#link=;F;[[I" value;T0;[[@i ;F;: link=;;;[;{;IC;"Sets the attribute link ;T;#@;D0;&F;[;[o; ; I" param;F;!I",the value to set the attribute link to.;T;I" value;T;"0;#@;$I"QSets the attribute link @param value the value to set the attribute link to.;T;%0;,@;-I")def link=(value) @link = value end;T;.I"def link=(value);T;/To; ; F; ;;;;I" UiBibz::Ui::Ux::Column#name;F;[;[[@i ;F;: name;;;[;{;IC;"(Returns the value of attribute name ;T;#@;D0;&F;[;[;$I"(Returns the value of attribute name;T;%0;,@;-I"def name @name end;T;.I" def name;T;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#name=;F;[[I" value;T0;[[@i ;F;: name=;;;[;{;IC;"Sets the attribute name ;T;#@;D0;&F;[;[o; ; I" param;F;!I",the value to set the attribute name to.;T;I" value;T;"0;#@;$I"QSets the attribute name @param value the value to set the attribute name to.;T;%0;,@;-I")def name=(value) @name = value end;T;.I"def name=(value);T;/To; ; F; ;;;;I"&UiBibz::Ui::Ux::Column#data_index;F;[;[[@i ;F;:data_index;;;[;{;IC;".Returns the value of attribute data_index ;T;#@;D0;&F;[;[;$I".Returns the value of attribute data_index;T;%0;,@;-I"%def data_index @data_index end;T;.I"def data_index;T;/To; ; F; ;;;;I"'UiBibz::Ui::Ux::Column#data_index=;F;[[I" value;T0;[[@i ;F;:data_index=;;;[;{;IC;""Sets the attribute data_index ;T;#@;D0;&F;[;[o; ; I" param;F;!I"2the value to set the attribute data_index to.;T;I" value;T;"0;#@;$I"]Sets the attribute data_index @param value the value to set the attribute data_index to.;T;%0;,@;-I"5def data_index=(value) @data_index = value end;T;.I"def data_index=(value);T;/To; ; F; ;;;;I"'UiBibz::Ui::Ux::Column#date_format;F;[;[[@i ;F;:date_format;;;[;{;IC;"/Returns the value of attribute date_format ;T;#@.;D0;&F;[;[;$I"/Returns the value of attribute date_format;T;%0;,@;-I"'def date_format @date_format end;T;.I"def date_format;T;/To; ; F; ;;;;I"(UiBibz::Ui::Ux::Column#date_format=;F;[[I" value;T0;[[@i ;F;:date_format=;;;[;{;IC;"#Sets the attribute date_format ;T;#@;;D0;&F;[;[o; ; I" param;F;!I"3the value to set the attribute date_format to.;T;I" value;T;"0;#@;;$I"_Sets the attribute date_format @param value the value to set the attribute date_format to.;T;%0;,@;-I"7def date_format=(value) @date_format = value end;T;.I"def date_format=(value);T;/To; ; F; ;;;;I" UiBibz::Ui::Ux::Column#sort;F;[;[[@i ;F;;;;;[;{;IC;"(Returns the value of attribute sort ;T;#@N;D0;&F;[;[;$I"(Returns the value of attribute sort;T;%0;,@;-I"def sort @sort end;T;.I" def sort;T;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#sort=;F;[[I" value;T0;[[@i ;F;: sort=;;;[;{;IC;"Sets the attribute sort ;T;#@[;D0;&F;[;[o; ; I" param;F;!I",the value to set the attribute sort to.;T;I" value;T;"0;#@[;$I"QSets the attribute sort @param value the value to set the attribute sort to.;T;%0;,@;-I")def sort=(value) @sort = value end;T;.I"def sort=(value);T;/To; ; F; ;;;;I""UiBibz::Ui::Ux::Column#format;F;[;[[@i ;F;: format;;;[;{;IC;"*Returns the value of attribute format ;T;#@n;D0;&F;[;[;$I"*Returns the value of attribute format;T;%0;,@;-I"def format @format end;T;.I"def format;T;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Column#format=;F;[[I" value;T0;[[@i ;F;: format=;;;[;{;IC;"Sets the attribute format ;T;#@{;D0;&F;[;[o; ; I" param;F;!I".the value to set the attribute format to.;T;I" value;T;"0;#@{;$I"USets the attribute format @param value the value to set the attribute format to.;T;%0;,@;-I"-def format=(value) @format = value end;T;.I"def format=(value);T;/To; ; F; ;;;;I"!UiBibz::Ui::Ux::Column#count;F;[;[[@i ;F;: count;;;[;{;IC;")Returns the value of attribute count ;T;#@;D0;&F;[;[;$I")Returns the value of attribute count;T;%0;,@;-I"def count @count end;T;.I"def count;T;/To; ; F; ;;;;I""UiBibz::Ui::Ux::Column#count=;F;[[I" value;T0;[[@i ;F;: count=;;;[;{;IC;"Sets the attribute count ;T;#@;D0;&F;[;[o; ; I" param;F;!I"-the value to set the attribute count to.;T;I" value;T;"0;#@;$I"SSets the attribute count @param value the value to set the attribute count to.;T;%0;,@;-I"+def count=(value) @count = value end;T;.I"def count=(value);T;/To; ; F; ;;;;I"'UiBibz::Ui::Ux::Column#custom_sort;F;[;[[@i ;F;:custom_sort;;;[;{;IC;"/Returns the value of attribute custom_sort ;T;#@;D0;&F;[;[;$I"/Returns the value of attribute custom_sort;T;%0;,@;-I"'def custom_sort @custom_sort end;T;.I"def custom_sort;T;/To; ; F; ;;;;I"(UiBibz::Ui::Ux::Column#custom_sort=;F;[[I" value;T0;[[@i ;F;:custom_sort=;;;[;{;IC;"#Sets the attribute custom_sort ;T;#@;D0;&F;[;[o; ; I" param;F;!I"3the value to set the attribute custom_sort to.;T;I" value;T;"0;#@;$I"_Sets the attribute custom_sort @param value the value to set the attribute custom_sort to.;T;%0;,@;-I"7def custom_sort=(value) @custom_sort = value end;T;.I"def custom_sort=(value);T;/To; ; F; ;;;;I""UiBibz::Ui::Ux::Column#parent;F;[;[[@i ;F;: parent;;;[;{;IC;"*Returns the value of attribute parent ;T;#@;D0;&F;[;[;$I"*Returns the value of attribute parent;T;%0;,@;-I"def parent @parent end;T;.I"def parent;T;/To; ; F; ;;;;I"#UiBibz::Ui::Ux::Column#parent=;F;[[I" value;T0;[[@i ;F;: parent=;;;[;{;IC;"Sets the attribute parent ;T;#@;D0;&F;[;[o; ; I" param;F;!I".the value to set the attribute parent to.;T;I" value;T;"0;#@;$I"USets the attribute parent @param value the value to set the attribute parent to.;T;%0;,@;-I"-def parent=(value) @parent = value end;T;.I"def parent=(value);T;/To; ; F; ;;;;I"UiBibz::Ui::Ux::Column#id;F;[;[[@i ;F;;;;;[;{;IC;"&Returns the value of attribute id ;T;#@;D0;&F;[;[;$I"&Returns the value of attribute id;T;%0;,@;-I"def id @id end;T;.I" def id;T;/To; ; F; ;;;;I"UiBibz::Ui::Ux::Column#id=;F;[[I" value;T0;[[@i ;F;:id=;;;[;{;IC;"Sets the attribute id ;T;#@;D0;&F;[;[o; ; I" param;F;!I"*the value to set the attribute id to.;T;I" value;T;"0;#@;$I"MSets the attribute id @param value the value to set the attribute id to.;T;%0;,@;-I"%def id=(value) @id = value end;T;.I"def id=(value);T;/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;T0;[[@i ;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I"a new instance of Column;T;0;"[I" Column;F;#@;$I";T;%0;,@;-I"def initialize content = nil, options = nil, html_options = nil, &block super @data_index = @content @id = @options[:column_id] || @data_index @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;" ;T;#@+;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@+;$I";T;%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;" ;T;#@=;D0;&F;[;[;$I";T;%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;" ;T;#@J;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@J;$I";T;%0;,@;-I"&def hidden? @hidden == true end;T;.I"def hidden?;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;IC;6{;T@;U@;8T;{IC;6{;T@;U@;8T;IC;6{;T@;U@;8T;IC;6{;T@;U@;8T;IC;6{;T@.;U@;;8T;IC;6{;T@N;U@[;8T;IC;6{;T@n;U@{;8T;IC;6{;T@;U@;8T;IC;6{;T@;U@;8T;IC;6{;T@;U@;8T;IC;6{;T@;U@;8T;8T;8T;9{;:[;[[@i;F;: Column;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Column;F;0;?I" UiBibz::Ui::Core::Component;T;@@;;A;,@ ;B@O;\0;/To; ;IC;[o; ; F; ;;;;I"'UiBibz::Ui::Ux::Actions#initialize;F;[[I" store;T0;[[I"2lib/ui_bibz/ui/ux/table/components/actions.rb;Ti ;F;;;;;[;{;IC;" ;T;#@{;D0;&F;[;[o; ; I" return;F;!I"a new instance of Actions;T;0;"[I" Actions;F;#@{;$I";T;%0;,@y;-I"_def initialize store @store = store @actions = [] @action_order = -1 end;T;.I"def initialize store;T;/T;0To; ; F; ;;;;I"!UiBibz::Ui::Ux::Actions#link;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@i;T;;{;;;[;{;IC;"Add link action in table ;T;[;[;$I"Add link action in table;T;%0;#@;&F;'o;(;)F;*i;+i;,@y;-I"def link content = nil, options = nil, html_options = nil, &block @actions << UiBibz::Ui::Core::DropdownLink.new(content, options, html_options, &block).render end;T;.I"Fdef link content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Actions#divider;F;[;[[@i;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-I"Odef divider @actions << UiBibz::Ui::Core::DropdownDivider.new.render end;T;.I"def divider;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Actions#header;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@i;F;;m;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-I"def header content = nil, options = nil, html_options = nil, &block @actions << UiBibz::Ui::Core::DropdownHeader.new(content, options, html_options, &block).render end;T;.I"Hdef header content = nil, options = nil, html_options = nil, &block;T;/T;0To; ; F; ;;;;I""UiBibz::Ui::Ux::Actions#reset;F;[;[[@i;F;: reset;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-I""def reset @actions = [] end;T;.I"def reset;T;/T;0To; ; F; ;;;;I"#UiBibz::Ui::Ux::Actions#format;F;[[I" &block;T0;[[@i#;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-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 ;T;[;[;$I"Get all actions;T;%0;#@;&F;'o;(;)F;*i';+i';,@y;-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;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-I"+def format_action @format_action end;T;.I"def format_action;T;/T;0To; ; F; ;;;Q;I"-UiBibz::Ui::Ux::Actions#defaults_actions;F;[;[[@i2;F;:defaults_actions;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-I"def defaults_actions [ UiBibz::Ui::Core::DropdownLink.new(show_name, url: { controller: @store.controller, action: 'show', id: :id }, glyph: 'eye').render, UiBibz::Ui::Core::DropdownLink.new(edit_name, url:{ controller: @store.controller, action: 'edit', id: :id }, glyph: 'pencil').render, UiBibz::Ui::Core::DropdownLink.new(delete_name, { glyph: 'trash', url: { controller: @store.controller, action: 'destroy', id: :id }, link_html_options: { data: { confirm: 'Are you sure?', method: :delete }}}).render ] end;T;.I"def defaults_actions;T;/T;0To; ; F; ;;;Q;I"&UiBibz::Ui::Ux::Actions#show_name;F;[;[[@i:;F;:show_name;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-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; ;;;Q;I"&UiBibz::Ui::Ux::Actions#edit_name;F;[;[[@i?;F;:edit_name;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@y;-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; ;;;Q;I"(UiBibz::Ui::Ux::Actions#delete_name;F;[;[[@iD;F;:delete_name;;;[;{;IC;" ;T;#@,;D0;&F;[;[;$I";T;%0;,@y;-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;2@y;3IC;[;2@y;4IC;[;2@y;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i ;F;: Actions;;;;;[;{;IC;" ;T;#@y;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Actions;F;0;?0;@0;;^;,@;B0;\;7;/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;" ;T;#@L;D0;&F;[;[o; ; I" return;F;!I"a new instance of Columns;T;0;"[I" Columns;F;#@L;$I";T;%0;,@J;-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;T0;[[@Ti;T;: column;;;[;{;IC;"Add column in table ;T;[;[;$I"Add column in table;T;%0;#@b;&F;'o;(;)F;*i ;+i ;,@J;-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;[;[[@Ti;T;;;;;[;{;IC;"Get all columns ;T;[;[;$I"Get all columns;T;%0;#@{;&F;'o;(;)F;*i;+i;,@J;-I"def list @columns end;T;.I" def list;T;/T;0T;2@J;3IC;[;2@J;4IC;[;2@J;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Ti;F;: Columns;;;;;[;{;IC;" ;T;#@J;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Columns;F;0;?0;@0;;^;,@;B0;\;7;/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 ;T;[;[o; ; I" return;F;!I"'a new instance of TableSearchField;T;0;"[I"TableSearchField;F;#@;$I"0Initialize search_field with component item;T;%0;#@;&F;'o;(;)F;*i ;+i ;,@;-I"def initialize options = nil, html_options = nil @search_field = UiBibz::Ui::Core::Component.new nil, options, html_options end;T;.I"5def initialize options = nil, html_options = nil;T;/T;0To; ; F; ;;;;I",UiBibz::Ui::Ux::TableSearchField#render;F;[;[[@i;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def render if @search_field.options[:wrap_form] != false form_tag(url_for(url_parameters), method: :get, class: 'form-table-search-field') do search_field_html_in_wrap end else search_field_html end end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I"4UiBibz::Ui::Ux::TableSearchField#url_parameters;F;[;[[@i;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"|def url_parameters #{ controller: store.controller, action: store.action, id: store.param_id } store.parameters end;T;.I"def url_parameters;T;/T;0To; ; F; ;;;Q;I"+UiBibz::Ui::Ux::TableSearchField#store;F;[;[[@i";T;;;;;[;{;IC;"@Store must be generated by *table_search_pagination* method ;T;[;[;$I"@Store must be generated by *table_search_pagination* method;T;%0;#@;&F;'o;(;)F;*i!;+i!;,@;-I"def store @store ||= if @search_field.options[:store].nil? raise 'Store is nil!' elsif @search_field.options[:store].try(:records).nil? raise 'Store can be created only with "table_search_pagination" method!' else Store.new @search_field.options.delete :store end end;T;.I"def store;T;/T;0To; ; F; ;;;Q;I"7UiBibz::Ui::Ux::TableSearchField#search_field_html;F;[;[[@i,;F;:search_field_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def search_field_html content_tag :div, @search_field.class_and_html_options(div_class) do concat content_tag(:span, UiBibz::Ui::Core::Glyph.new('search').render, class: 'input-group-addon') concat tag(:input, type: 'search', value: store.search, name: 'search', class: 'form-control', placeholder: search_placeholder_field) concat content_tag(:span, UiBibz::Ui::Core::Glyph.new('times-circle').render, class: 'clear-search-btn input-group-addon') end end;T;.I"def search_field_html;T;/T;0To; ; F; ;;;Q;I"?UiBibz::Ui::Ux::TableSearchField#search_field_html_in_wrap;F;[;[[@i4;F;:search_field_html_in_wrap;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def search_field_html_in_wrap 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') store.parameters.each do |k,v| concat tag(:input, type: 'hidden', name: k, value: v) unless default_parameters?(k) end concat tag(:input, type: 'hidden', name: 'store_id', value: store.id) unless store.id.nil? # if there is more one table in html page concat tag(:input, type: 'search', value: store.search, name: 'search', class: 'form-control', placeholder: search_placeholder_field) concat content_tag(:span, UiBibz::Ui::Core::Glyph.new('times-circle').render, class: 'clear-search-btn input-group-addon') end end;T;.I""def search_field_html_in_wrap;T;/T;0To; ; F; ;;;Q;I"/UiBibz::Ui::Ux::TableSearchField#div_class;F;[;[[@i@;F;:div_class;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Jdef div_class %w(input-group input-group-sm table-search-field) end;T;.I"def div_class;T;/T;0To; ; F; ;;;Q;I">UiBibz::Ui::Ux::TableSearchField#search_placeholder_field;F;[;[[@iD;F;:search_placeholder_field;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def search_placeholder_field UiBibz::Utils::Internationalization.new('ui_bibz.grid.searchable.field.placeholder', searchable_attributes: searchable_attributes_sentence).translate end;T;.I"!def search_placeholder_field;T;/T;0To; ; F; ;;;Q;I"DUiBibz::Ui::Ux::TableSearchField#searchable_attributes_sentence;F;[;[[@iH;F;:#searchable_attributes_sentence;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"def searchable_attributes_sentence store.searchable_attributes.map do |i| attribute_name = underscorize_hash(i) UiBibz::Utils::Internationalization.new("ui_bibz.grid.searchable.field.searchable_attributes.#{ model_name }.#{ attribute_name }", default: [translate_searchable_attributes_by_active_record(attribute_name), attribute_name.to_s.humanize]).translate end.to_sentence(locale: I18n.locale) end;T;.I"'def searchable_attributes_sentence;T;/T;0To; ; F; ;;;Q;I"0UiBibz::Ui::Ux::TableSearchField#model_name;F;[;[[@iO;F;:model_name;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@;-I"5def model_name store.model.to_s.underscore end;T;.I"def model_name;T;/T;0To; ; F; ;;;Q;I"VUiBibz::Ui::Ux::TableSearchField#translate_searchable_attributes_by_active_record;F;[[I" attr;T0;[[@iS;F;:5translate_searchable_attributes_by_active_record;;;[;{;IC;" ;T;#@-;D0;&F;[;[;$I";T;%0;,@;-I"kdef translate_searchable_attributes_by_active_record attr store.model.human_attribute_name(attr) end;T;.I">def translate_searchable_attributes_by_active_record attr;T;/T;0To; ; F; ;;;Q;I"7UiBibz::Ui::Ux::TableSearchField#underscorize_hash;F;[[I" attr;T0;[[@iW;F;:underscorize_hash;;;[;{;IC;" ;T;#@<;D0;&F;[;[;$I";T;%0;,@;-I"wdef underscorize_hash attr attr.kind_of?(Hash) ? "#{ attr.keys.first }_#{ attr.values.first }".to_sym : attr end;T;.I"def underscorize_hash attr;T;/T;0To; ; F; ;;;Q;I"9UiBibz::Ui::Ux::TableSearchField#default_parameters?;F;[[I"k;T0;[[@i[;F;;;;;[;{;IC;" ;T;#@K;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@K;$I";T;%0;,@;-I"\def default_parameters?(k) %w(store_id search controller action utf8).include?(k) end;T;.I"def default_parameters?(k);T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i;F;:TableSearchField;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"%UiBibz::Ui::Ux::TableSearchField;F;0;?I"UiBibz::Ui::Base;T;@@;;V;,@ ;B@p;\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;" ;T;#@s;D0;&F;[;[o; ; I" return;F;!I"a new instance of Sortable;T;0;"[I" Sortable;F;#@s;$I";T;%0;,@q;-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;;m;;;[;{;IC;"header use i18n ;T;[;[;$I"header use i18n;T;%0;#@;&F;'o;(;)F;*i;+i;,@q;-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; ;;;Q;I"+UiBibz::Ui::Ux::Sortable#sortable_link;F;[;[[@|i;F;:sortable_link;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-I"Qdef sortable_link link_to title.html_safe, url_options, { class: cls } end;T;.I"def sortable_link;T;/T;0To; ; F; ;;;Q;I")UiBibz::Ui::Ux::Sortable#header_name;F;[[I" name;T0;[[@|i;F;:header_name;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-I"mdef header_name name name = name || @column.name name || @column.data_index.to_s.try('titleize') end;T;.I"def header_name name;T;/T;0To; ; F; ;;;Q;I"8UiBibz::Ui::Ux::Sortable#translate_headers_by_model;F;[;[[@|i!;F;:translate_headers_by_model;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-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; ;;;Q;I";UiBibz::Ui::Ux::Sortable#translate_headers_by_defaults;F;[;[[@|i%;F;:"translate_headers_by_defaults;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-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; ;;;Q;I"IUiBibz::Ui::Ux::Sortable#translate_headers_by_defaults_active_record;F;[;[[@|i);F;:0translate_headers_by_defaults_active_record;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-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; ;;;Q;I"@UiBibz::Ui::Ux::Sortable#translate_headers_by_active_record;F;[;[[@|i-;F;:'translate_headers_by_active_record;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-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; ;;;Q;I")UiBibz::Ui::Ux::Sortable#url_options;F;[;[[@|i1;F;:url_options;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-I"def url_options args = { controller: @store.controller, id: @store.param_id, action: @store.action, search: @store.search, sort: sort_name, column_id: @column.id, direction: direction } args = args.merge({ custom_sort: true, column_name: @column.data_index }) if @column.custom_sort args = args.merge({ parent: true }) if @column.parent args = args.merge({ store_id: @store.id }) unless @store.id.nil? args end;T;.I"def url_options;T;/T;0To; ; F; ;;;Q;I"'UiBibz::Ui::Ux::Sortable#sortable?;F;[;[[@|iA;F;:sortable?;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$I";T;%0;,@q;-I"Ndef sortable? @options[:sortable].nil? ? true : @options[:sortable] end;T;.I"def sortable?;T;/T;0To; ; F; ;;;Q;I"#UiBibz::Ui::Ux::Sortable#title;F;[;[[@|iE;F;;;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@q;-I"8def title sortable? ? name_with_caret : @name end;T;.I"def title;T;/T;0To; ; F; ;;;Q;I"-UiBibz::Ui::Ux::Sortable#name_with_caret;F;[;[[@|iI;F;:name_with_caret;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-I"{def name_with_caret sort_name == sort_column && @column.id.to_s == @store.column_id.to_s ? @name + caret : @name end;T;.I"def name_with_caret;T;/T;0To; ; F; ;;;Q;I"#UiBibz::Ui::Ux::Sortable#caret;F;[;[[@|iM;F;;;;;[;{;IC;" ;T;#@&;D0;&F;[;[;$I";T;%0;,@q;-I";def caret content_tag(:span, '', class: 'caret') end;T;.I"def caret;T;/T;0To; ; F; ;;;Q;I"!UiBibz::Ui::Ux::Sortable#cls;F;[;[[@|iQ;F;:cls;;;[;{;IC;" ;T;#@3;D0;&F;[;[;$I";T;%0;,@q;-I";def cls sort_direction == 'asc' ? 'dropup' : nil end;T;.I" def cls;T;/T;0To; ; F; ;;;Q;I"'UiBibz::Ui::Ux::Sortable#direction;F;[;[[@|iU;F;;;;;[;{;IC;" ;T;#@@;D0;&F;[;[;$I";T;%0;,@q;-I"]def direction sort_name == sort_column && sort_direction == "asc" ? "desc" : "asc" end;T;.I"def direction;T;/T;0To; ; F; ;;;Q;I")UiBibz::Ui::Ux::Sortable#column_name;F;[;[[@|iY;F;:column_name;;;[;{;IC;" ;T;#@M;D0;&F;[;[;$I";T;%0;,@q;-I"8def column_name @column.data_index || @column end;T;.I"def column_name;T;/T;0To; ; F; ;;;Q;I".UiBibz::Ui::Ux::Sortable#sort_column_name;F;[;[[@|i];F;:sort_column_name;;;[;{;IC;" ;T;#@Z;D0;&F;[;[;$I";T;%0;,@q;-I"def sort_column_name @column.sort.nil? ? "#{ @store.model.to_s.underscore.pluralize }.#{ @column.data_index}" : @column.sort end;T;.I"def sort_column_name;T;/T;0To; ; F; ;;;Q;I"'UiBibz::Ui::Ux::Sortable#sort_name;F;[;[[@|ia;F;:sort_name;;;[;{;IC;" ;T;#@g;D0;&F;[;[;$I";T;%0;,@q;-I"7def sort_name @sort_name || sort_column_name end;T;.I"def sort_name;T;/T;0To; ; F; ;;;Q;I")UiBibz::Ui::Ux::Sortable#sort_column;F;[;[[@|ie;F;:sort_column;;;[;{;IC;" ;T;#@t;D0;&F;[;[;$I";T;%0;,@q;-I"&def sort_column @store.sort end;T;.I"def sort_column;T;/T;0To; ; F; ;;;Q;I",UiBibz::Ui::Ux::Sortable#sort_direction;F;[;[[@|ii;F;:sort_direction;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@q;-I"`def sort_direction %w[asc desc].include?(@store.direction) ? @store.direction : "asc" end;T;.I"def sort_direction;T;/T;0T;2@q;3IC;[;2@q;4IC;[;2@q;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@|i;F;: Sortable;;;;;[;{;IC;" ;T;#@q;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Sortable;F;0;?I"UiBibz::Ui::Base;T;@@;;V;,@ ;B@p;\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;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I" a new instance of Paginable;T;0;"[I"Paginable;F;#@;$I";T;%0;,@;-I"Ndef initialize store, options @store = store @options = options end;T;.I""def initialize store, options;T;/T;0To; ; F; ;;;;I"%UiBibz::Ui::Ux::Paginable#render;F;[;[[@i;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@;&F;'o;(;)F;*i;+i;,@;-I"def render content_tag :div do concat UiBibz::Ui::Ux::TablePagination.new(@options.merge({ store: @store })).render concat UiBibz::Ui::Ux::TablePaginationPerPage.new(@options.merge({ store: @store })).render concat tag(:br, class: 'ui-bibz-clear') end end;T;.I"def render;T;/T;0To; ; F; ;;;;I")UiBibz::Ui::Ux::Paginable#paginable?;F;[;[[@i;F;:paginable?;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$I";T;%0;,@;-I"Qdef paginable? @options[:paginable].nil? ? true : @options[:paginable] end;T;.I"def paginable?;T;/T;0To; ; F; ;;;Q;I"$UiBibz::Ui::Ux::Paginable#store;F;[;[[@i;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;2@;3IC;[;2@;4IC;[o;= ;>0;?I"WillPaginate::ActionView;T;@@;;[;,o;= ;>0;?0;@0;;;,@;B0;\0;B0;\;];2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i;F;:Paginable;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Paginable;F;0;?I"UiBibz::Ui::Base;T;@@;;V;,@ ;B@p;\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;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I"!a new instance of Actionable;T;0;"[I"Actionable;F;#@;$I";T;%0;,@;-I"rdef initialize store, options, actions = nil @store = store @options = options @actions = actions end;T;.I"1def initialize store, options, actions = nil;T;/T;0To; ; F; ;;;;I"+UiBibz::Ui::Ux::Actionable#actionable?;F;[;[[@ i;F;:actionable?;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$I";T;%0;,@;-I"Tdef actionable? @options[:actionable].nil? ? true : @options[:actionable] end;T;.I"def actionable?;T;/T;0To; ; F; ;;;;I"&UiBibz::Ui::Ux::Actionable#header;F;[[I"ths;T0;[[@ i;F;;m;;;[;{;IC;" ;T;#@);D0;&F;[;[;$I";T;%0;,@;-I"[def header ths ths << content_tag(:th, '', class: 'action') if actionable? ths end;T;.I"def header ths;T;/T;0To; ; F; ;;;;I"$UiBibz::Ui::Ux::Actionable#body;F;[[I" record;T0[I"tds;T0;[[@ i;F;;n;;;[;{;IC;" ;T;#@8;D0;&F;[;[;$I";T;%0;,@;-I"Mdef body record, tds tds << td_action(record) if actionable? tds end;T;.I"def body record, tds;T;/T;0To; ; F; ;;;;I"*UiBibz::Ui::Ux::Actionable#inject_url;F;[[I"url;T0[I" record;T0;[[@ i;T;:inject_url;;;[;{;IC;"1Add "id" in url to match with current record ;T;[;[;$I"1Add "id" in url to match with current record;T;%0;#@I;&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; ;;;Q;I"/UiBibz::Ui::Ux::Actionable#dropdown_action;F;[[I" record;T0;[[@ i$;F;:dropdown_action;;;[;{;IC;" ;T;#@[;D0;&F;[;[;$I";T;%0;,@;-I"def dropdown_action record UiBibz::Ui::Core::Dropdown.new(dropdown_action_name, { position: :right, glyph: actions_glyph }, class: 'btn-group-xs dropdown-action').tap do |d| unless @actions.nil? @actions.format_action.call(record) unless @actions.format_action.nil? actions_links(record).each do |l| d.html l.to_s.html_safe end @actions.reset end end.render end;T;.I"def dropdown_action record;T;/T;0To; ; F; ;;;Q;I"-UiBibz::Ui::Ux::Actionable#actions_glyph;F;[;[[@ i0;F;:actions_glyph;;;[;{;IC;" ;T;#@j;D0;&F;[;[;$I";T;%0;,@;-I"?def actions_glyph { name: 'ellipsis-v', type: 'fw' } end;T;.I"def actions_glyph;T;/T;0To; ; F; ;;;Q;I"4UiBibz::Ui::Ux::Actionable#dropdown_action_name;F;[;[[@ i4;F;:dropdown_action_name;;;[;{;IC;" ;T;#@w;D0;&F;[;[;$I";T;%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; ;;;Q;I"-UiBibz::Ui::Ux::Actionable#actions_links;F;[[I" record;T0;[[@ i9;F;:actions_links;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I")UiBibz::Ui::Ux::Actionable#td_action;F;[[I" record;T0;[[@ i=;F;:td_action;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Hdef td_action record content_tag :td, dropdown_action(record) end;T;.I"def td_action record;T;/T;0T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@ i;F;:Actionable;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Actionable;F;0;?I"UiBibz::Ui::Base;T;@@;;V;,@ ;B@p;\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;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I"!a new instance of Searchable;T;0;"[I"Searchable;F;#@;$I";T;%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 ;T;[;[;$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;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$I";T;%0;,@;-I"Tdef searchable? @options[:searchable].nil? ? true : @options[:searchable] end;T;.I"def searchable?;T;/T;0To; ; F; ;;;Q;I"PUiBibz::Ui::Ux::Searchable#translate_searchable_attributes_by_active_record;F;[[I" attr;T0;[[@i;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"+UiBibz::Ui::Ux::Searchable#table_title;F;[;[[@i!;F;:table_title;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"*UiBibz::Ui::Ux::Searchable#model_name;F;[;[[@i(;F;;;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%0;,@;-I"6def model_name @store.model.to_s.underscore end;T;.I"def model_name;T;/T;0To; ; F; ;;;Q;I"*UiBibz::Ui::Ux::Searchable#table_name;F;[;[[@i,;F;:table_name;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Bdef table_name "#{table_glyph}#{table_title}".html_safe end;T;.I"def table_name;T;/T;0To; ; F; ;;;Q;I"+UiBibz::Ui::Ux::Searchable#table_glyph;F;[;[[@i0;F;:table_glyph;;;[;{;IC;" ;T;#@#;D0;&F;[;[;$I";T;%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;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i;F;:Searchable;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Ui::Ux::Searchable;F;0;?I"UiBibz::Ui::Base;T;@@;;V;,@ ;B@p;\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 ;T;[;[o; ; I" return;F;!I"-a new instance of TablePaginationPerPage;T;0;"[I"TablePaginationPerPage;F;#@D;$I"ZInitialize per_page_field with component item per_page_field require WillPaginate gem;T;%0;#@D;&F;'o;(;)F;*i!;+i";,@B;-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;[;[[@Oi(;T;;1;;;[;{;IC;"Render html tag ;T;[;[;$I"Render html tag;T;%0;#@^;&F;'o;(;)F;*i';+i';,@B;-I"def render if @per_page_field.options[:wrap_form] != false form_tag(url_for(url_parameters), method: :get) do per_page_html_in_wrap end else per_page_html end end;T;.I"def render;T;/T;0To; ; F; ;;;Q;I"1UiBibz::Ui::Ux::TablePaginationPerPage#store;F;[;[[@Oi4;F;;;;;[;{;IC;" ;T;#@l;D0;&F;[;[;$I";T;%0;,@B;-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; ;;;Q;I":UiBibz::Ui::Ux::TablePaginationPerPage#url_parameters;F;[;[[@Oi>;F;;;;;[;{;IC;" ;T;#@y;D0;&F;[;[;$I";T;%0;,@B;-I"hdef url_parameters { controller: store.controller, action: store.action, id: store.param_id } end;T;.I"def url_parameters;T;/T;0To; ; F; ;;;Q;I"9UiBibz::Ui::Ux::TablePaginationPerPage#per_page_html;F;[;[[@OiB;F;:per_page_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@B;-I"mdef 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') end end;T;.I"def per_page_html;T;/T;0To; ; F; ;;;Q;I"AUiBibz::Ui::Ux::TablePaginationPerPage#per_page_html_in_wrap;F;[;[[@OiJ;F;:per_page_html_in_wrap;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@B;-I"def per_page_html_in_wrap 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 store.parameters.each do |k,v| concat tag(:input, type: 'hidden', name: k, value: v) if !default_parameters?(k) && !v.blank? end 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_in_wrap;T;/T;0To; ; F; ;;;Q;I">UiBibz::Ui::Ux::TablePaginationPerPage#results_count_html;F;[;[[@OiV;F;:results_count_html;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@B;-I"Udef results_count_html "#{ page_entries_info store.records } | ".html_safe end;T;.I"def results_count_html;T;/T;0To; ; F; ;;;Q;I"@UiBibz::Ui::Ux::TablePaginationPerPage#from_current_results;F;[;[[@OiZ;F;:from_current_results;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@B;-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; ;;;Q;I">UiBibz::Ui::Ux::TablePaginationPerPage#to_current_results;F;[;[[@Oi^;F;:to_current_results;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@B;-I"Hdef to_current_results store.limit_value * store.current_page end;T;.I"def to_current_results;T;/T;0To; ; F; ;;;Q;I"?UiBibz::Ui::Ux::TablePaginationPerPage#default_parameters?;F;[[I"k;T0;[[@Oib;F;;;;;[;{;IC;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$I";T;%0;,@B;-I"\def default_parameters?(k) %w(store_id search controller action utf8).include?(k) end;T;.I"def default_parameters?(k);T;/T;0T;2@B;3IC;[;2@B;4IC;[o;= ;>0;?I"WillPaginate::ActionView;T;@@B;;[;,o;= ;>0;?0;@0;;;,@B;B0;\0;B0;\;];2@B;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Oi;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 = {}) ;T;[;[;$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;#@B;&F;'o;(;)F;*i ;+i;,@;I"+UiBibz::Ui::Ux::TablePaginationPerPage;F;0;?I"UiBibz::Ui::Base;T;@@;;V;,@ ;B@p;\0;/T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Xi-[@i[@Wi[@=i[@=i[@ji [@i[@i [@Ti[@i[@|i[@i[@ i[@i[@Oi;T;:Ux;;;;;[;{;IC;"Ux ;T;[;[;$I"Ux;T;%0;#@;&F;'o;(;)F;*i,;+i,;,@ ;I"UiBibz::Ui::Ux;F;/T@p;2@ ;3IC;[;2@ ;4IC;[;2@ ;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Xi[@wi;F;:Ui;;;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%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 # => # # # # ;T;[;[;$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;" ;T;#@4;D0;&F;[;[;$I";T;%0;,@#;-I"def ui_bibz_local_meta_links capture do # Jquery is required for boostrap concat javascript_include_tag 'jquery-2.1.4.min' end end;T;.I"!def ui_bibz_local_meta_links;T;/T;0T;2@#;3IC;[;2@#;4IC;[;2@#;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@*i;F;:MetaHelper;;;;;[;{;IC;" ;T;#@#;D0;&F;[;[;$I";T;%0;,o;= ;>0;?I"UiBibz::Helpers;T;@@;;Z;,@;B@!;\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;T0;[[I"(lib/ui_bibz/helpers/ui_ux_helper.rb;Ti;F;: grid;;;[;{;IC;" ;T;#@U;D0;&F;[;[;$I";T;%0;,@S;-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;T0;[[@bi ;T;: table;;;[;{;IC;"OTable section begin ------------------------------------------------------ ;T;[;[;$I"OTable section begin ------------------------------------------------------;T;%0;#@k;&F;'o;(;)F;*i ;+i ;,@S;-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;[[@bi;F;:table_search_field;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@S;-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;[[@bi;F;:table_pagination_per_page;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@S;-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;[[@bi;F;:table_pagination;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@S;-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;T0;[[@bi!;F;:table_panel;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@S;-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; ;;;Q;I"'UiBibz::Helpers::UiUxHelper#is_tap;F;[[I" content;T0[I" options;T0;[[@bi,;F;: is_tap;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@S;-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;2@S;3IC;[;2@S;4IC;[;2@S;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@bi;F;:UiUxHelper;;;;;[;{;IC;" ;T;#@S;D0;&F;[;[;$I";T;%0;,o;= ;>0;?I"UiBibz::Helpers;T;@@;;Z;,@;B@!;\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 ;T;[;[;$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;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i;F;:UtilsHelper;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,o;= ;>0;?I"UiBibz::Helpers;T;@@;;Z;,@;B@!;\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;T0;[[I"*lib/ui_bibz/helpers/ui_core_helper.rb;Ti;F;: panel;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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#modal;F;[ [I" content;TI"nil;T[I" options;TI"nil;T[I"html_options;TI"nil;T[I" &block;T0;[[@.i;F;: modal;;;[;{;IC;" ;T;#@7;D0;&F;[;[;$I";T;%0;,@;-I"def modal content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Modal.new(content, options, html_options).tap(&block).render end;T;.I"Gdef modal 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;T0;[[@.i;T;: notify;;;[;{;IC;"rUse "notify" instead of "alert" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict ;T;[;[;$I"rUse "notify" instead of "alert" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict;T;%0;#@O;&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;T0;[[@.i;F;: stars;;;[;{;IC;" ;T;#@h;D0;&F;[;[;$I";T;%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;T0;[[@.i;T;:etiquette;;;[;{;IC;"uUse "etiquette" instead of "label" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict ;T;[;[;$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;T0;[[@.i";F;:jumbotron;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.i&;F;;|;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.i*;F;: navbar;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.i.;F;:list_group;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.i4;T;:button_link;;;[;{;IC;"NButton section begin ---------------------------------------------------- ;T;[;[;$I"NButton section begin ----------------------------------------------------;T;%0;#@;&F;'o;(;)F;*i3;+i3;,@;-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;T0;[[@.i8;F;:button_group;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.i<;F;: button;;;[;{;IC;" ;T;#@*;D0;&F;[;[;$I";T;%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;T0;[[@.i@;F;:button_dropdown;;;[;{;IC;" ;T;#@B;D0;&F;[;[;$I";T;%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;T0;[[@.iD;F;:button_split_dropdown;;;[;{;IC;" ;T;#@Y;D0;&F;[;[;$I";T;%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;T0;[[@.iI;T;:breadcrumb;;;[;{;IC;"LButton section end ---------------------------------------------------- ;T;[;[;$I"LButton section end ----------------------------------------------------;T;%0;#@p;&F;'o;(;)F;*iG;+iG;,@;-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;T0;[[@.iM;F;;|;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.iQ;F;;L;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.iU;F;:progress_bar;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.i];F;:row;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;T0;[[@.ia;F;:col;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I")UiBibz::Helpers::UiCoreHelper#is_tap;F;[[I" content;T0[I" options;T0;[[@.ig;F;;D;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@.i;F;:UiCoreHelper;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,o;= ;>0;?I"UiBibz::Helpers;T;@@;;Z;,@;B@!;\0;I""UiBibz::Helpers::UiCoreHelper;F;2@!;3IC;[;2@!;4IC;[;2@!;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Xi7;F;;Z;;;;;[;{;IC;" ;T;#@!;D0;&F;[;[;$I";T;%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;T0;[[I".lib/ui_bibz/concerns/models/searchable.rb;Ti;F;;;;;[;{;IC;" ;T;#@:;D0;&F;[;[;$I";T;%0;,@8;-I"Jdef searchable_attributes *args @searchable_attributes ||= args end;T;.I"$def searchable_attributes *args;T;/T;0T;2@8;3IC;[;2@8;4IC;[;2@8;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Ai;F;:ClassMethods;;;;;[;{;IC;" ;T;#@8;D0;&F;[;[;$I";T;%0;,@6;I"7UiBibz::Concerns::Models::Searchable::ClassMethods;F;/T;2@6;3IC;[o;= ;>0;?I"ActiveSupport::Concern;T;@@6;: Concern;,o;= ;>0;?0;@0;:ActiveSupport;,@6;B0;\0;B0;\;];2@6;4IC;[;2@6;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Ai;F;;2;;;;;[;{;IC;" ;T;#@6;D0;&F;[;[;$I";T;%0;,o;= ;>0;?I"UiBibz::Concerns::Models;T;@@;: Models;,@2;B@4;\0;I")UiBibz::Concerns::Models::Searchable;F;2@4;3IC;[;2@4;4IC;[;2@4;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Xi?;F;;];;;;;[;{;IC;" ;T;#@4;D0;&F;[;[;$I";T;%0;,@2;I"UiBibz::Concerns::Models;F;/T;2@2;3IC;[;2@2;4IC;[;2@2;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Xi>;F;: Concerns;;;;;[;{;IC;" ;T;#@2;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Concerns;F;/To;;[[I"lib/ui_bibz/version.rb;Ti;F;: VERSION;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::VERSION;F;.I"VERSION = "1.2.3";T;-I"VERSION = "1.2.3";T;I" "1.2.3";T;/To; ;IC;[o; ;IC;[;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[I" lib/ui_bibz/rails/engine.rb;Ti ;F;: Engine;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"UiBibz::Rails::Engine;F;0;?I"Rails::Engine;T;@@;;`;,o;= ;>0;?0;@0;: Rails;,@;B0;\0;B0;\;7;/T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i ;F;;a;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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;" ;T;#@;D0;&F;[;[o; ; I" return;F;!I"+a new instance of Internationalization;T;0;"[I"Internationalization;F;#@;$I";T;%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;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;-I"Cdef translate I18n.t(@translation, options_with_default) end;T;.I"def translate;T;/T;0To; ; F; ;;;Q;I"=UiBibz::Utils::Internationalization#options_with_default;F;[;[[@i;F;:options_with_default;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%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; ;;;Q;I"2UiBibz::Utils::Internationalization#i18n_set?;F;[[I"key;T0;[[@i;T;;Y;;;[;{;IC;"#To know if translation missing ;T;[;[o; ; I" return;F;!I";T;0;"[I" Boolean;T;#@;$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; ;;;Q;I":UiBibz::Utils::Internationalization#translate_default;F;[;[[@i;F;:translate_default;;;[;{;IC;" ;T;#@ ;D0;&F;[;[;$I";T;%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;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i;F;:Internationalization;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I"(UiBibz::Utils::Internationalization;F;0;?0;@0;;^;,@;B0;\;7;/T;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@i;F;: Utils;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,o;= ;>0;?0;@0;: UiBibz;,@;B@;\0;I"UiBibz::Utils;F;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[[@Xi [@i[@i ;F;;g;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,@;I" UiBibz;F;2@;3IC;[;2@;4IC;[;2@;5IC;6{;7IC;6{;8T;IC;6{;8T;8T;9{;:[;[;F;;;;;;;[;{;IC;" ;T;#@;D0;&F;[;[;$I";T;%0;,0;I";T;g@:UiBibz::Ui@ :UiBibz::Ui::Core@ :UiBibz::Ui::Ux@:UiBibz::Helpers@!:UiBibz::Concerns@2:UiBibz::Concerns::Models@4:UiBibz::Ui::Base@p:#UiBibz::Ui::Base#output_buffer@r:$UiBibz::Ui::Base#output_buffer=@:UiBibz::Ui::Base#i18n_set?@:UiBibz::VERSION@: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@:"UiBibz::Ui::Ux::Grid#top_view@:%UiBibz::Ui::Ux::Grid#bottom_view@:#UiBibz::Ui::Ux::Grid#left_view@:%UiBibz::Ui::Ux::Grid#center_view@:$UiBibz::Ui::Ux::Grid#right_view@!:)UiBibz::Ui::Ux::Grid#define_col_nums@.:UiBibz::Ui::Core::Row@:%UiBibz::Ui::Core::Row#initialize@:!UiBibz::Ui::Core::Row#render@/: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@:UiBibz::Ui::Core::Col#num@:!UiBibz::Ui::Core::Col#offset@:UiBibz::Rails@:UiBibz::Rails::Engine@:UiBibz::Ui::Core::Glyph@8:'UiBibz::Ui::Core::Glyph#initialize@::#UiBibz::Ui::Core::Glyph#render@X:$UiBibz::Ui::Core::Glyph#classes@f:!UiBibz::Ui::Core::Glyph#size@s:"UiBibz::Ui::Core::Glyph#stack@:#UiBibz::Ui::Core::Glyph#rotate@:!UiBibz::Ui::Core::Glyph#flip@:!UiBibz::Ui::Core::Glyph#type@:$UiBibz::Ui::Core::Glyph#content@:"UiBibz::Ui::Core::Glyph#state@:UiBibz::Ui::Core::Alert@:'UiBibz::Ui::Core::Alert#initialize@:#UiBibz::Ui::Core::Alert#render@:'UiBibz::Ui::Core::Alert#close_html@:"UiBibz::Ui::Core::Alert#state@:UiBibz::Ui::Core::Label@;:'UiBibz::Ui::Core::Label#initialize@=:#UiBibz::Ui::Core::Label#render@\:"UiBibz::Ui::Core::Label#state@j:UiBibz::Ui::Core::Panel@:'UiBibz::Ui::Core::Panel#initialize@:#UiBibz::Ui::Core::Panel#header@:!UiBibz::Ui::Core::Panel#body@:#UiBibz::Ui::Core::Panel#footer@:#UiBibz::Ui::Core::Panel#render@:"UiBibz::Ui::Core::Panel#state@:(UiBibz::Ui::Core::Panel#header_html@:&UiBibz::Ui::Core::Panel#body_html@:(UiBibz::Ui::Core::Panel#footer_html@*:%UiBibz::Ui::Core::Panel#tab_pane@7:UiBibz::Ui::Core::Stars@V:'UiBibz::Ui::Core::Stars#initialize@X:#UiBibz::Ui::Core::Stars#render@w:#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::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@N:"UiBibz::Ui::Ux::Table#columns@P:#UiBibz::Ui::Ux::Table#columns=@b:%UiBibz::Ui::Ux::Table#initialize@u:"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@:UiBibz::Ui::Ux::Table#cols@:UiBibz::Ui::Ux::Table#type@:%UiBibz::Ui::Ux::Table#table_html@:%UiBibz::Ui::Ux::Table#td_content@: UiBibz::Ui::Core::Jumbotron@[:+UiBibz::Ui::Core::Jumbotron#initialize@]:'UiBibz::Ui::Core::Jumbotron#render@|:+UiBibz::Ui::Core::Jumbotron#full_width@: UiBibz::Ui::Core::Component@O:(UiBibz::Ui::Core::Component#content@Q:)UiBibz::Ui::Core::Component#content=@_:-UiBibz::Ui::Core::Component#html_options@r:.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@:7UiBibz::Ui::Core::Component#class_and_html_options@:,UiBibz::Ui::Core::Component#add_classes@0:'UiBibz::Ui::Core::Component#status@@:'UiBibz::Ui::Core::Component#states@M: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@7:#UiBibz::Ui::Core::Navbar#title@D:'UiBibz::Ui::Core::Navbar#body_html@Q: UiBibz::Ui::Core::Navbar#id@^:7UiBibz::Ui::Core::Navbar#navbar_toggle_button_html@k:&UiBibz::Ui::Core::Navbar#position@x:"UiBibz::Ui::Core::Navbar#type@:UiBibz::Ui::Core::Modal@:'UiBibz::Ui::Core::Modal#initialize@:#UiBibz::Ui::Core::Modal#render@:#UiBibz::Ui::Core::Modal#header@:#UiBibz::Ui::Core::Modal#footer@:!UiBibz::Ui::Core::Modal#body@:#UiBibz::Ui::Core::Modal#effect@: UiBibz::Helpers::MetaHelper@#:3UiBibz::Helpers::MetaHelper#ui_bibz_meta_links@%:9UiBibz::Helpers::MetaHelper#ui_bibz_local_meta_links@4: UiBibz::Helpers::UiUxHelper@S:%UiBibz::Helpers::UiUxHelper#grid@U:&UiBibz::Helpers::UiUxHelper#table@k:3UiBibz::Helpers::UiUxHelper#table_search_field@::UiBibz::Helpers::UiUxHelper#table_pagination_per_page@: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@i:"UiBibz::Ui::Core::Button#size@v:"UiBibz::Helpers::UiCoreHelper@:(UiBibz::Helpers::UiCoreHelper#panel@:(UiBibz::Helpers::UiCoreHelper#modal@7:)UiBibz::Helpers::UiCoreHelper#notify@O:(UiBibz::Helpers::UiCoreHelper#stars@h:,UiBibz::Helpers::UiCoreHelper#etiquette@:,UiBibz::Helpers::UiCoreHelper#jumbotron@:&UiBibz::Helpers::UiCoreHelper#nav@:)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@B:8UiBibz::Helpers::UiCoreHelper#button_split_dropdown@Y:-UiBibz::Helpers::UiCoreHelper#breadcrumb@p:+UiBibz::Helpers::UiCoreHelper#dropdown@:(UiBibz::Helpers::UiCoreHelper#glyph@:/UiBibz::Helpers::UiCoreHelper#progress_bar@:&UiBibz::Helpers::UiCoreHelper#row@:&UiBibz::Helpers::UiCoreHelper#col@:)UiBibz::Helpers::UiCoreHelper#is_tap@:UiBibz::Ui::Ux::TablePanel@4:'UiBibz::Ui::Ux::TablePanel#columns@6:(UiBibz::Ui::Ux::TablePanel#columns=@H:*UiBibz::Ui::Ux::TablePanel#initialize@[:&UiBibz::Ui::Ux::TablePanel#render@y:'UiBibz::Ui::Ux::TablePanel#actions@:,UiBibz::Ui::Ux::TablePanel#actions_list@:%UiBibz::Ui::Ux::TablePanel#store@:3UiBibz::Ui::Ux::TablePanel#default_parameters?@:.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@:1UiBibz::Ui::Ux::TablePanel#initialize_footer@:1UiBibz::Ui::Ux::TablePanel#initialize_header@: 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@:*UiBibz::Ui::Core::Dropdown#initialize@:&UiBibz::Ui::Core::Dropdown#render@:&UiBibz::Ui::Core::Dropdown#header@*:'UiBibz::Ui::Core::Dropdown#divider@C:$UiBibz::Ui::Core::Dropdown#link@Q:$UiBibz::Ui::Core::Dropdown#html@j:.UiBibz::Ui::Core::Dropdown#button_content@z:+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::Ui::Core::ButtonLink@:,UiBibz::Ui::Core::ButtonLink#initialize@:(UiBibz::Ui::Core::ButtonLink#render@ :'UiBibz::Ui::Core::ButtonLink#state@$ :&UiBibz::Ui::Core::ButtonLink#size@1 :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@6:7UiBibz::Concerns::Models::Searchable::ClassMethods@8:MUiBibz::Concerns::Models::Searchable::ClassMethods#searchable_attributes@::"UiBibz::Ui::Core::ButtonGroup@Q :-UiBibz::Ui::Core::ButtonGroup#initialize@S :)UiBibz::Ui::Core::ButtonGroup#render@r :'UiBibz::Ui::Core::ButtonGroup#type@ :'UiBibz::Ui::Core::ButtonGroup#size@ :+UiBibz::Ui::Core::ButtonGroup#position@ :UiBibz::Ui::Ux::Store@6:"UiBibz::Ui::Ux::Store#records@8:#UiBibz::Ui::Ux::Store#records=@F:%UiBibz::Ui::Ux::Store#initialize@Y:&UiBibz::Ui::Ux::Store#total_pages@n:#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#column_id@:$UiBibz::Ui::Ux::Store#direction@:0UiBibz::Ui::Ux::Store#searchable_attributes@:'UiBibz::Ui::Ux::Store#current_page@:&UiBibz::Ui::Ux::Store#limit_value@:"UiBibz::Ui::Ux::Store#columns@: UiBibz::Ui::Ux::Store#model@:!UiBibz::Ui::Ux::Store#search@ :%UiBibz::Ui::Ux::Store#controller@:%UiBibz::Ui::Ux::Store#parameters@$:!UiBibz::Ui::Ux::Store#action@1:#UiBibz::Ui::Ux::Store#param_id@>:$UiBibz::Ui::Ux::TablePagination@]:/UiBibz::Ui::Ux::TablePagination#initialize@_:+UiBibz::Ui::Ux::TablePagination#render@y:*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@ :%UiBibz::Ui::Core::List#body_html@' :UiBibz::Ui::Core::List#tag@4 :)UiBibz::Ui::Core::List#is_link_type?@A :!UiBibz::Ui::Core::List#state@S :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@.:(UiBibz::Ui::Ux::Column#date_format=@;: UiBibz::Ui::Ux::Column#sort@N:!UiBibz::Ui::Ux::Column#sort=@[:"UiBibz::Ui::Ux::Column#format@n:#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#id@:UiBibz::Ui::Ux::Column#id=@:&UiBibz::Ui::Ux::Column#initialize@:%UiBibz::Ui::Ux::Column#linkable?@+:!UiBibz::Ui::Ux::Column#order@=:#UiBibz::Ui::Ux::Column#hidden?@J:!UiBibz::Ui::Core::Breadcrumb@r :,UiBibz::Ui::Core::Breadcrumb#initialize@t :(UiBibz::Ui::Core::Breadcrumb#render@ :&UiBibz::Ui::Core::Breadcrumb#link@ :UiBibz::Ui::Ux::Actions@y:'UiBibz::Ui::Ux::Actions#initialize@{:!UiBibz::Ui::Ux::Actions#link@:$UiBibz::Ui::Ux::Actions#divider@:#UiBibz::Ui::Ux::Actions#header@:"UiBibz::Ui::Ux::Actions#reset@:#UiBibz::Ui::Ux::Actions#format@:!UiBibz::Ui::Ux::Actions#list@:*UiBibz::Ui::Ux::Actions#format_action@:-UiBibz::Ui::Ux::Actions#defaults_actions@:&UiBibz::Ui::Ux::Actions#show_name@:&UiBibz::Ui::Ux::Actions#edit_name@:(UiBibz::Ui::Ux::Actions#delete_name@,:UiBibz::Ui::Ux::Columns@J:'UiBibz::Ui::Ux::Columns#initialize@L:#UiBibz::Ui::Ux::Columns#column@b:!UiBibz::Ui::Ux::Columns#list@{:%UiBibz::Ui::Ux::TableSearchField@:0UiBibz::Ui::Ux::TableSearchField#initialize@:,UiBibz::Ui::Ux::TableSearchField#render@:4UiBibz::Ui::Ux::TableSearchField#url_parameters@:+UiBibz::Ui::Ux::TableSearchField#store@:7UiBibz::Ui::Ux::TableSearchField#search_field_html@:?UiBibz::Ui::Ux::TableSearchField#search_field_html_in_wrap@:/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@-:7UiBibz::Ui::Ux::TableSearchField#underscorize_hash@<:9UiBibz::Ui::Ux::TableSearchField#default_parameters?@K:%UiBibz::Ui::Core::ButtonDropdown@ :0UiBibz::Ui::Core::ButtonDropdown#initialize@ :,UiBibz::Ui::Core::ButtonDropdown#render@ :UiBibz::Ui::Ux::Sortable@q:(UiBibz::Ui::Ux::Sortable#initialize@s:$UiBibz::Ui::Ux::Sortable#header@:+UiBibz::Ui::Ux::Sortable#sortable_link@:)UiBibz::Ui::Ux::Sortable#header_name@:8UiBibz::Ui::Ux::Sortable#translate_headers_by_model@:;UiBibz::Ui::Ux::Sortable#translate_headers_by_defaults@:IUiBibz::Ui::Ux::Sortable#translate_headers_by_defaults_active_record@:@UiBibz::Ui::Ux::Sortable#translate_headers_by_active_record@:)UiBibz::Ui::Ux::Sortable#url_options@:'UiBibz::Ui::Ux::Sortable#sortable?@:#UiBibz::Ui::Ux::Sortable#title@ :-UiBibz::Ui::Ux::Sortable#name_with_caret@:#UiBibz::Ui::Ux::Sortable#caret@&:!UiBibz::Ui::Ux::Sortable#cls@3:'UiBibz::Ui::Ux::Sortable#direction@@:)UiBibz::Ui::Ux::Sortable#column_name@M:.UiBibz::Ui::Ux::Sortable#sort_column_name@Z:'UiBibz::Ui::Ux::Sortable#sort_name@g:)UiBibz::Ui::Ux::Sortable#sort_column@t:,UiBibz::Ui::Ux::Sortable#sort_direction@:UiBibz::Ui::Core::NavLink@ :)UiBibz::Ui::Core::NavLink#initialize@ :%UiBibz::Ui::Core::NavLink#render@- :*UiBibz::Ui::Core::NavLink#content_htm@; :0UiBibz::Ui::Core::NavLink#link_html_options@I :UiBibz::Ui::Ux::Paginable@:)UiBibz::Ui::Ux::Paginable#initialize@:%UiBibz::Ui::Ux::Paginable#render@:)UiBibz::Ui::Ux::Paginable#paginable?@:$UiBibz::Ui::Ux::Paginable#store@:UiBibz::Ui::Ux::Actionable@:*UiBibz::Ui::Ux::Actionable#initialize@:+UiBibz::Ui::Ux::Actionable#actionable?@:&UiBibz::Ui::Ux::Actionable#header@):$UiBibz::Ui::Ux::Actionable#body@8:*UiBibz::Ui::Ux::Actionable#inject_url@I:/UiBibz::Ui::Ux::Actionable#dropdown_action@[:-UiBibz::Ui::Ux::Actionable#actions_glyph@j:4UiBibz::Ui::Ux::Actionable#dropdown_action_name@w:-UiBibz::Ui::Ux::Actionable#actions_links@:)UiBibz::Ui::Ux::Actionable#td_action@:UiBibz::Ui::Ux::Searchable@:*UiBibz::Ui::Ux::Searchable#initialize@:&UiBibz::Ui::Ux::Searchable#render@:+UiBibz::Ui::Ux::Searchable#searchable?@:PUiBibz::Ui::Ux::Searchable#translate_searchable_attributes_by_active_record@:+UiBibz::Ui::Ux::Searchable#table_title@:*UiBibz::Ui::Ux::Searchable#model_name@ :*UiBibz::Ui::Ux::Searchable#table_name@:+UiBibz::Ui::Ux::Searchable#table_glyph@#: UiBibz::Ui::Core::NavbarNav@h :+UiBibz::Ui::Core::NavbarNav#initialize@j :%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::Core::NavbarForm@ :,UiBibz::Ui::Core::NavbarForm#initialize@ :(UiBibz::Ui::Core::NavbarForm#render@9 ::UiBibz::Ui::Core::NavbarForm#protect_against_forgery?@G :%UiBibz::Ui::Core::NavbarForm#url@Y :&UiBibz::Ui::Core::NavbarForm#type@f :*UiBibz::Ui::Core::NavbarForm#position@s :!UiBibz::Ui::Core::NavbarText@ :,UiBibz::Ui::Core::NavbarText#initialize@ :(UiBibz::Ui::Core::NavbarText#render@ :*UiBibz::Ui::Core::NavbarText#position@ :"UiBibz::Ui::Core::NavDropdown@ :-UiBibz::Ui::Core::NavDropdown#initialize@ :)UiBibz::Ui::Core::NavDropdown#render@ :,UiBibz::Ui::Core::NavDropdown#link_html@ : UiBibz::Ui::Core::ModalBody@4 :+UiBibz::Ui::Core::ModalBody#initialize@6 :'UiBibz::Ui::Core::ModalBody#render@U :UiBibz::Ui::Core::Bar@u :%UiBibz::Ui::Core::Bar#initialize@w :!UiBibz::Ui::Core::Bar#render@ :+UiBibz::Ui::Core::Bar#bar_html_options@ :1UiBibz::Ui::Core::Bar#progressbar_inner_html@ :%UiBibz::Ui::Core::Bar#percentage@ :"UiBibz::Ui::Core::Bar#sr_only@ :)UiBibz::Ui::Core::Bar#percentage_min@ :)UiBibz::Ui::Core::Bar#percentage_max@ : UiBibz::Ui::Core::Bar#label@ :UiBibz::Ui::Core::Bar#type@ : UiBibz::Ui::Core::Bar#state@ :*UiBibz::Ui::Core::ButtonSplitDropdown@+:5UiBibz::Ui::Core::ButtonSplitDropdown#initialize@-:1UiBibz::Ui::Core::ButtonSplitDropdown#render@K:6UiBibz::Ui::Core::ButtonSplitDropdown#button_html@Y:5UiBibz::Ui::Core::ButtonSplitDropdown#split_html@f:8UiBibz::Ui::Core::ButtonSplitDropdown#split_content@s:3UiBibz::Ui::Core::ButtonSplitDropdown#src_only@:9UiBibz::Ui::Core::ButtonSplitDropdown#button_content@:+UiBibz::Ui::Ux::TablePaginationPerPage@B:6UiBibz::Ui::Ux::TablePaginationPerPage#initialize@D:2UiBibz::Ui::Ux::TablePaginationPerPage#render@^:1UiBibz::Ui::Ux::TablePaginationPerPage#store@l::UiBibz::Ui::Ux::TablePaginationPerPage#url_parameters@y:9UiBibz::Ui::Ux::TablePaginationPerPage#per_page_html@:AUiBibz::Ui::Ux::TablePaginationPerPage#per_page_html_in_wrap@:>UiBibz::Ui::Ux::TablePaginationPerPage#results_count_html@:@UiBibz::Ui::Ux::TablePaginationPerPage#from_current_results@:>UiBibz::Ui::Ux::TablePaginationPerPage#to_current_results@:?UiBibz::Ui::Ux::TablePaginationPerPage#default_parameters?@:"UiBibz::Ui::Core::ModalHeader@:-UiBibz::Ui::Core::ModalHeader#initialize@:)UiBibz::Ui::Core::ModalHeader#render@:4UiBibz::Ui::Core::ModalHeader#close_button_html@:"UiBibz::Ui::Core::ModalFooter@:-UiBibz::Ui::Core::ModalFooter#initialize@:)UiBibz::Ui::Core::ModalFooter#render@:#UiBibz::Ui::Core::DropdownLink@;:.UiBibz::Ui::Core::DropdownLink#initialize@=:*UiBibz::Ui::Core::DropdownLink#render@\:,UiBibz::Ui::Core::DropdownLink#link_url@j:%UiBibz::Ui::Core::DropdownHeader@:0UiBibz::Ui::Core::DropdownHeader#initialize@:,UiBibz::Ui::Core::DropdownHeader#render@:&UiBibz::Ui::Core::DropdownDivider@:1UiBibz::Ui::Core::DropdownDivider#initialize@:-UiBibz::Ui::Core::DropdownDivider#render@:%UiBibz::Ui::Core::BreadcrumbLink@:0UiBibz::Ui::Core::BreadcrumbLink#initialize@:,UiBibz::Ui::Core::BreadcrumbLink#render@":/UiBibz::Ui::Core::BreadcrumbLink#link_html@0