ui_bibz 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +3 -3
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/Gemfile.lock +54 -52
  6. data/README.md +47 -46
  7. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +1 -1
  8. data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
  9. data/doc/UiBibz/Concerns/Models.html +1 -1
  10. data/doc/UiBibz/Concerns.html +1 -1
  11. data/doc/UiBibz/Helpers/MetaHelper.html +1 -1
  12. data/doc/UiBibz/Helpers/UiCoreHelper.html +1 -1
  13. data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
  14. data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
  15. data/doc/UiBibz/Helpers.html +1 -1
  16. data/doc/UiBibz/Rails/Engine.html +1 -1
  17. data/doc/UiBibz/Rails.html +1 -1
  18. data/doc/UiBibz/Ui/Base.html +1 -1
  19. data/doc/UiBibz/Ui/Core/Alert.html +1 -1
  20. data/doc/UiBibz/Ui/Core/Bar.html +1 -1
  21. data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
  22. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
  23. data/doc/UiBibz/Ui/Core/Button.html +1 -1
  24. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
  25. data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
  26. data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
  27. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
  28. data/doc/UiBibz/Ui/Core/Col.html +1 -1
  29. data/doc/UiBibz/Ui/Core/Component.html +1 -1
  30. data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
  31. data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
  32. data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
  33. data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
  34. data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
  35. data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
  36. data/doc/UiBibz/Ui/Core/Label.html +1 -1
  37. data/doc/UiBibz/Ui/Core/List.html +1 -1
  38. data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
  39. data/doc/UiBibz/Ui/Core/Modal.html +1 -1
  40. data/doc/UiBibz/Ui/Core/ModalBody.html +1 -1
  41. data/doc/UiBibz/Ui/Core/ModalFooter.html +1 -1
  42. data/doc/UiBibz/Ui/Core/ModalHeader.html +1 -1
  43. data/doc/UiBibz/Ui/Core/Nav.html +1 -1
  44. data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
  45. data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
  46. data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
  47. data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
  48. data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
  49. data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
  50. data/doc/UiBibz/Ui/Core/Panel.html +1 -1
  51. data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
  52. data/doc/UiBibz/Ui/Core/Row.html +1 -1
  53. data/doc/UiBibz/Ui/Core/Stars.html +1 -1
  54. data/doc/UiBibz/Ui/Core.html +1 -1
  55. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  56. data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
  57. data/doc/UiBibz/Ui/Ux/Column.html +1 -1
  58. data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
  59. data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
  60. data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
  61. data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
  62. data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
  63. data/doc/UiBibz/Ui/Ux/Store.html +70 -18
  64. data/doc/UiBibz/Ui/Ux/Table.html +1 -1
  65. data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
  66. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
  67. data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
  68. data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
  69. data/doc/UiBibz/Ui/Ux.html +1 -1
  70. data/doc/UiBibz/Ui.html +1 -1
  71. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  72. data/doc/UiBibz/Utils.html +1 -1
  73. data/doc/UiBibz.html +2 -2
  74. data/doc/_index.html +1 -1
  75. data/doc/file.README.html +49 -47
  76. data/doc/index.html +49 -47
  77. data/doc/method_list.html +75 -69
  78. data/doc/top-level-namespace.html +1 -1
  79. data/lib/ui_bibz/ui/ux/table/components/store.rb +5 -1
  80. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +5 -0
  81. data/lib/ui_bibz/version.rb +1 -1
  82. data/test/ui/table_test.rb +1 -1
  83. metadata +2 -2
data/doc/method_list.html CHANGED
@@ -904,420 +904,426 @@
904
904
 
905
905
 
906
906
  <li class="r1 ">
907
+ <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#params-instance_method" title="UiBibz::Ui::Ux::Store#params (method)">#params</a></span>
908
+ <small>UiBibz::Ui::Ux::Store</small>
909
+ </li>
910
+
911
+
912
+ <li class="r2 ">
907
913
  <span class='object_link'><a href="UiBibz/Ui/Ux/Column.html#parent-instance_method" title="UiBibz::Ui::Ux::Column#parent (method)">#parent</a></span>
908
914
  <small>UiBibz::Ui::Ux::Column</small>
909
915
  </li>
910
916
 
911
917
 
912
- <li class="r2 ">
918
+ <li class="r1 ">
913
919
  <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#per_page-instance_method" title="UiBibz::Ui::Ux::Store#per_page (method)">#per_page</a></span>
914
920
  <small>UiBibz::Ui::Ux::Store</small>
915
921
  </li>
916
922
 
917
923
 
918
- <li class="r1 ">
924
+ <li class="r2 ">
919
925
  <span class='object_link'><a href="UiBibz/Helpers/UiCoreHelper.html#progress_bar-instance_method" title="UiBibz::Helpers::UiCoreHelper#progress_bar (method)">#progress_bar</a></span>
920
926
  <small>UiBibz::Helpers::UiCoreHelper</small>
921
927
  </li>
922
928
 
923
929
 
924
- <li class="r2 ">
930
+ <li class="r1 ">
925
931
  <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#records-instance_method" title="UiBibz::Ui::Ux::Store#records (method)">#records</a></span>
926
932
  <small>UiBibz::Ui::Ux::Store</small>
927
933
  </li>
928
934
 
929
935
 
930
- <li class="r1 ">
936
+ <li class="r2 ">
931
937
  <span class='object_link'><a href="UiBibz/Ui/Ux/Grid.html#render-instance_method" title="UiBibz::Ui::Ux::Grid#render (method)">#render</a></span>
932
938
  <small>UiBibz::Ui::Ux::Grid</small>
933
939
  </li>
934
940
 
935
941
 
936
- <li class="r2 ">
942
+ <li class="r1 ">
937
943
  <span class='object_link'><a href="UiBibz/Ui/Core/Row.html#render-instance_method" title="UiBibz::Ui::Core::Row#render (method)">#render</a></span>
938
944
  <small>UiBibz::Ui::Core::Row</small>
939
945
  </li>
940
946
 
941
947
 
942
- <li class="r1 ">
948
+ <li class="r2 ">
943
949
  <span class='object_link'><a href="UiBibz/Ui/Core/Col.html#render-instance_method" title="UiBibz::Ui::Core::Col#render (method)">#render</a></span>
944
950
  <small>UiBibz::Ui::Core::Col</small>
945
951
  </li>
946
952
 
947
953
 
948
- <li class="r2 ">
954
+ <li class="r1 ">
949
955
  <span class='object_link'><a href="UiBibz/Ui/Core/Glyph.html#render-instance_method" title="UiBibz::Ui::Core::Glyph#render (method)">#render</a></span>
950
956
  <small>UiBibz::Ui::Core::Glyph</small>
951
957
  </li>
952
958
 
953
959
 
954
- <li class="r1 ">
960
+ <li class="r2 ">
955
961
  <span class='object_link'><a href="UiBibz/Ui/Core/Alert.html#render-instance_method" title="UiBibz::Ui::Core::Alert#render (method)">#render</a></span>
956
962
  <small>UiBibz::Ui::Core::Alert</small>
957
963
  </li>
958
964
 
959
965
 
960
- <li class="r2 ">
966
+ <li class="r1 ">
961
967
  <span class='object_link'><a href="UiBibz/Ui/Core/Label.html#render-instance_method" title="UiBibz::Ui::Core::Label#render (method)">#render</a></span>
962
968
  <small>UiBibz::Ui::Core::Label</small>
963
969
  </li>
964
970
 
965
971
 
966
- <li class="r1 ">
972
+ <li class="r2 ">
967
973
  <span class='object_link'><a href="UiBibz/Ui/Core/Panel.html#render-instance_method" title="UiBibz::Ui::Core::Panel#render (method)">#render</a></span>
968
974
  <small>UiBibz::Ui::Core::Panel</small>
969
975
  </li>
970
976
 
971
977
 
972
- <li class="r2 ">
978
+ <li class="r1 ">
973
979
  <span class='object_link'><a href="UiBibz/Ui/Core/Stars.html#render-instance_method" title="UiBibz::Ui::Core::Stars#render (method)">#render</a></span>
974
980
  <small>UiBibz::Ui::Core::Stars</small>
975
981
  </li>
976
982
 
977
983
 
978
- <li class="r1 ">
984
+ <li class="r2 ">
979
985
  <span class='object_link'><a href="UiBibz/Ui/Core/Nav.html#render-instance_method" title="UiBibz::Ui::Core::Nav#render (method)">#render</a></span>
980
986
  <small>UiBibz::Ui::Core::Nav</small>
981
987
  </li>
982
988
 
983
989
 
984
- <li class="r2 ">
990
+ <li class="r1 ">
985
991
  <span class='object_link'><a href="UiBibz/Ui/Ux/Table.html#render-instance_method" title="UiBibz::Ui::Ux::Table#render (method)">#render</a></span>
986
992
  <small>UiBibz::Ui::Ux::Table</small>
987
993
  </li>
988
994
 
989
995
 
990
- <li class="r1 ">
996
+ <li class="r2 ">
991
997
  <span class='object_link'><a href="UiBibz/Ui/Core/Jumbotron.html#render-instance_method" title="UiBibz::Ui::Core::Jumbotron#render (method)">#render</a></span>
992
998
  <small>UiBibz::Ui::Core::Jumbotron</small>
993
999
  </li>
994
1000
 
995
1001
 
996
- <li class="r2 ">
1002
+ <li class="r1 ">
997
1003
  <span class='object_link'><a href="UiBibz/Ui/Core/Component.html#render-instance_method" title="UiBibz::Ui::Core::Component#render (method)">#render</a></span>
998
1004
  <small>UiBibz::Ui::Core::Component</small>
999
1005
  </li>
1000
1006
 
1001
1007
 
1002
- <li class="r1 ">
1008
+ <li class="r2 ">
1003
1009
  <span class='object_link'><a href="UiBibz/Ui/Core/Navbar.html#render-instance_method" title="UiBibz::Ui::Core::Navbar#render (method)">#render</a></span>
1004
1010
  <small>UiBibz::Ui::Core::Navbar</small>
1005
1011
  </li>
1006
1012
 
1007
1013
 
1008
- <li class="r2 ">
1014
+ <li class="r1 ">
1009
1015
  <span class='object_link'><a href="UiBibz/Ui/Core/Modal.html#render-instance_method" title="UiBibz::Ui::Core::Modal#render (method)">#render</a></span>
1010
1016
  <small>UiBibz::Ui::Core::Modal</small>
1011
1017
  </li>
1012
1018
 
1013
1019
 
1014
- <li class="r1 ">
1020
+ <li class="r2 ">
1015
1021
  <span class='object_link'><a href="UiBibz/Ui/Core/Button.html#render-instance_method" title="UiBibz::Ui::Core::Button#render (method)">#render</a></span>
1016
1022
  <small>UiBibz::Ui::Core::Button</small>
1017
1023
  </li>
1018
1024
 
1019
1025
 
1020
- <li class="r2 ">
1026
+ <li class="r1 ">
1021
1027
  <span class='object_link'><a href="UiBibz/Ui/Ux/TablePanel.html#render-instance_method" title="UiBibz::Ui::Ux::TablePanel#render (method)">#render</a></span>
1022
1028
  <small>UiBibz::Ui::Ux::TablePanel</small>
1023
1029
  </li>
1024
1030
 
1025
1031
 
1026
- <li class="r1 ">
1032
+ <li class="r2 ">
1027
1033
  <span class='object_link'><a href="UiBibz/Ui/Core/ListGroup.html#render-instance_method" title="UiBibz::Ui::Core::ListGroup#render (method)">#render</a></span>
1028
1034
  <small>UiBibz::Ui::Core::ListGroup</small>
1029
1035
  </li>
1030
1036
 
1031
1037
 
1032
- <li class="r2 ">
1038
+ <li class="r1 ">
1033
1039
  <span class='object_link'><a href="UiBibz/Ui/Core/Dropdown.html#render-instance_method" title="UiBibz::Ui::Core::Dropdown#render (method)">#render</a></span>
1034
1040
  <small>UiBibz::Ui::Core::Dropdown</small>
1035
1041
  </li>
1036
1042
 
1037
1043
 
1038
- <li class="r1 ">
1044
+ <li class="r2 ">
1039
1045
  <span class='object_link'><a href="UiBibz/Ui/Core/ButtonLink.html#render-instance_method" title="UiBibz::Ui::Core::ButtonLink#render (method)">#render</a></span>
1040
1046
  <small>UiBibz::Ui::Core::ButtonLink</small>
1041
1047
  </li>
1042
1048
 
1043
1049
 
1044
- <li class="r2 ">
1050
+ <li class="r1 ">
1045
1051
  <span class='object_link'><a href="UiBibz/Ui/Core/ButtonGroup.html#render-instance_method" title="UiBibz::Ui::Core::ButtonGroup#render (method)">#render</a></span>
1046
1052
  <small>UiBibz::Ui::Core::ButtonGroup</small>
1047
1053
  </li>
1048
1054
 
1049
1055
 
1050
- <li class="r1 ">
1056
+ <li class="r2 ">
1051
1057
  <span class='object_link'><a href="UiBibz/Ui/Ux/TablePagination.html#render-instance_method" title="UiBibz::Ui::Ux::TablePagination#render (method)">#render</a></span>
1052
1058
  <small>UiBibz::Ui::Ux::TablePagination</small>
1053
1059
  </li>
1054
1060
 
1055
1061
 
1056
- <li class="r2 ">
1062
+ <li class="r1 ">
1057
1063
  <span class='object_link'><a href="UiBibz/Ui/Core/List.html#render-instance_method" title="UiBibz::Ui::Core::List#render (method)">#render</a></span>
1058
1064
  <small>UiBibz::Ui::Core::List</small>
1059
1065
  </li>
1060
1066
 
1061
1067
 
1062
- <li class="r1 ">
1068
+ <li class="r2 ">
1063
1069
  <span class='object_link'><a href="UiBibz/Ui/Core/Breadcrumb.html#render-instance_method" title="UiBibz::Ui::Core::Breadcrumb#render (method)">#render</a></span>
1064
1070
  <small>UiBibz::Ui::Core::Breadcrumb</small>
1065
1071
  </li>
1066
1072
 
1067
1073
 
1068
- <li class="r2 ">
1074
+ <li class="r1 ">
1069
1075
  <span class='object_link'><a href="UiBibz/Ui/Ux/TableSearchField.html#render-instance_method" title="UiBibz::Ui::Ux::TableSearchField#render (method)">#render</a></span>
1070
1076
  <small>UiBibz::Ui::Ux::TableSearchField</small>
1071
1077
  </li>
1072
1078
 
1073
1079
 
1074
- <li class="r1 ">
1080
+ <li class="r2 ">
1075
1081
  <span class='object_link'><a href="UiBibz/Ui/Core/ButtonDropdown.html#render-instance_method" title="UiBibz::Ui::Core::ButtonDropdown#render (method)">#render</a></span>
1076
1082
  <small>UiBibz::Ui::Core::ButtonDropdown</small>
1077
1083
  </li>
1078
1084
 
1079
1085
 
1080
- <li class="r2 ">
1086
+ <li class="r1 ">
1081
1087
  <span class='object_link'><a href="UiBibz/Ui/Core/NavLink.html#render-instance_method" title="UiBibz::Ui::Core::NavLink#render (method)">#render</a></span>
1082
1088
  <small>UiBibz::Ui::Core::NavLink</small>
1083
1089
  </li>
1084
1090
 
1085
1091
 
1086
- <li class="r1 ">
1092
+ <li class="r2 ">
1087
1093
  <span class='object_link'><a href="UiBibz/Ui/Ux/Paginable.html#render-instance_method" title="UiBibz::Ui::Ux::Paginable#render (method)">#render</a></span>
1088
1094
  <small>UiBibz::Ui::Ux::Paginable</small>
1089
1095
  </li>
1090
1096
 
1091
1097
 
1092
- <li class="r2 ">
1098
+ <li class="r1 ">
1093
1099
  <span class='object_link'><a href="UiBibz/Ui/Ux/Searchable.html#render-instance_method" title="UiBibz::Ui::Ux::Searchable#render (method)">#render</a></span>
1094
1100
  <small>UiBibz::Ui::Ux::Searchable</small>
1095
1101
  </li>
1096
1102
 
1097
1103
 
1098
- <li class="r1 ">
1104
+ <li class="r2 ">
1099
1105
  <span class='object_link'><a href="UiBibz/Ui/Core/ProgressBar.html#render-instance_method" title="UiBibz::Ui::Core::ProgressBar#render (method)">#render</a></span>
1100
1106
  <small>UiBibz::Ui::Core::ProgressBar</small>
1101
1107
  </li>
1102
1108
 
1103
1109
 
1104
- <li class="r2 ">
1110
+ <li class="r1 ">
1105
1111
  <span class='object_link'><a href="UiBibz/Ui/Core/NavbarForm.html#render-instance_method" title="UiBibz::Ui::Core::NavbarForm#render (method)">#render</a></span>
1106
1112
  <small>UiBibz::Ui::Core::NavbarForm</small>
1107
1113
  </li>
1108
1114
 
1109
1115
 
1110
- <li class="r1 ">
1116
+ <li class="r2 ">
1111
1117
  <span class='object_link'><a href="UiBibz/Ui/Core/NavbarText.html#render-instance_method" title="UiBibz::Ui::Core::NavbarText#render (method)">#render</a></span>
1112
1118
  <small>UiBibz::Ui::Core::NavbarText</small>
1113
1119
  </li>
1114
1120
 
1115
1121
 
1116
- <li class="r2 ">
1122
+ <li class="r1 ">
1117
1123
  <span class='object_link'><a href="UiBibz/Ui/Core/NavDropdown.html#render-instance_method" title="UiBibz::Ui::Core::NavDropdown#render (method)">#render</a></span>
1118
1124
  <small>UiBibz::Ui::Core::NavDropdown</small>
1119
1125
  </li>
1120
1126
 
1121
1127
 
1122
- <li class="r1 ">
1128
+ <li class="r2 ">
1123
1129
  <span class='object_link'><a href="UiBibz/Ui/Core/ModalBody.html#render-instance_method" title="UiBibz::Ui::Core::ModalBody#render (method)">#render</a></span>
1124
1130
  <small>UiBibz::Ui::Core::ModalBody</small>
1125
1131
  </li>
1126
1132
 
1127
1133
 
1128
- <li class="r2 ">
1134
+ <li class="r1 ">
1129
1135
  <span class='object_link'><a href="UiBibz/Ui/Core/Bar.html#render-instance_method" title="UiBibz::Ui::Core::Bar#render (method)">#render</a></span>
1130
1136
  <small>UiBibz::Ui::Core::Bar</small>
1131
1137
  </li>
1132
1138
 
1133
1139
 
1134
- <li class="r1 ">
1140
+ <li class="r2 ">
1135
1141
  <span class='object_link'><a href="UiBibz/Ui/Core/ButtonSplitDropdown.html#render-instance_method" title="UiBibz::Ui::Core::ButtonSplitDropdown#render (method)">#render</a></span>
1136
1142
  <small>UiBibz::Ui::Core::ButtonSplitDropdown</small>
1137
1143
  </li>
1138
1144
 
1139
1145
 
1140
- <li class="r2 ">
1146
+ <li class="r1 ">
1141
1147
  <span class='object_link'><a href="UiBibz/Ui/Ux/TablePaginationPerPage.html#render-instance_method" title="UiBibz::Ui::Ux::TablePaginationPerPage#render (method)">#render</a></span>
1142
1148
  <small>UiBibz::Ui::Ux::TablePaginationPerPage</small>
1143
1149
  </li>
1144
1150
 
1145
1151
 
1146
- <li class="r1 ">
1152
+ <li class="r2 ">
1147
1153
  <span class='object_link'><a href="UiBibz/Ui/Core/ModalHeader.html#render-instance_method" title="UiBibz::Ui::Core::ModalHeader#render (method)">#render</a></span>
1148
1154
  <small>UiBibz::Ui::Core::ModalHeader</small>
1149
1155
  </li>
1150
1156
 
1151
1157
 
1152
- <li class="r2 ">
1158
+ <li class="r1 ">
1153
1159
  <span class='object_link'><a href="UiBibz/Ui/Core/ModalFooter.html#render-instance_method" title="UiBibz::Ui::Core::ModalFooter#render (method)">#render</a></span>
1154
1160
  <small>UiBibz::Ui::Core::ModalFooter</small>
1155
1161
  </li>
1156
1162
 
1157
1163
 
1158
- <li class="r1 ">
1164
+ <li class="r2 ">
1159
1165
  <span class='object_link'><a href="UiBibz/Ui/Core/DropdownLink.html#render-instance_method" title="UiBibz::Ui::Core::DropdownLink#render (method)">#render</a></span>
1160
1166
  <small>UiBibz::Ui::Core::DropdownLink</small>
1161
1167
  </li>
1162
1168
 
1163
1169
 
1164
- <li class="r2 ">
1170
+ <li class="r1 ">
1165
1171
  <span class='object_link'><a href="UiBibz/Ui/Core/DropdownHeader.html#render-instance_method" title="UiBibz::Ui::Core::DropdownHeader#render (method)">#render</a></span>
1166
1172
  <small>UiBibz::Ui::Core::DropdownHeader</small>
1167
1173
  </li>
1168
1174
 
1169
1175
 
1170
- <li class="r1 ">
1176
+ <li class="r2 ">
1171
1177
  <span class='object_link'><a href="UiBibz/Ui/Core/DropdownDivider.html#render-instance_method" title="UiBibz::Ui::Core::DropdownDivider#render (method)">#render</a></span>
1172
1178
  <small>UiBibz::Ui::Core::DropdownDivider</small>
1173
1179
  </li>
1174
1180
 
1175
1181
 
1176
- <li class="r2 ">
1182
+ <li class="r1 ">
1177
1183
  <span class='object_link'><a href="UiBibz/Ui/Core/BreadcrumbLink.html#render-instance_method" title="UiBibz::Ui::Core::BreadcrumbLink#render (method)">#render</a></span>
1178
1184
  <small>UiBibz::Ui::Core::BreadcrumbLink</small>
1179
1185
  </li>
1180
1186
 
1181
1187
 
1182
- <li class="r1 ">
1188
+ <li class="r2 ">
1183
1189
  <span class='object_link'><a href="UiBibz/Ui/Ux/Actions.html#reset-instance_method" title="UiBibz::Ui::Ux::Actions#reset (method)">#reset</a></span>
1184
1190
  <small>UiBibz::Ui::Ux::Actions</small>
1185
1191
  </li>
1186
1192
 
1187
1193
 
1188
- <li class="r2 ">
1194
+ <li class="r1 ">
1189
1195
  <span class='object_link'><a href="UiBibz/Helpers/UiCoreHelper.html#row-instance_method" title="UiBibz::Helpers::UiCoreHelper#row (method)">#row</a></span>
1190
1196
  <small>UiBibz::Helpers::UiCoreHelper</small>
1191
1197
  </li>
1192
1198
 
1193
1199
 
1194
- <li class="r1 ">
1200
+ <li class="r2 ">
1195
1201
  <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#search-instance_method" title="UiBibz::Ui::Ux::Store#search (method)">#search</a></span>
1196
1202
  <small>UiBibz::Ui::Ux::Store</small>
1197
1203
  </li>
1198
1204
 
1199
1205
 
1200
- <li class="r2 ">
1206
+ <li class="r1 ">
1201
1207
  <span class='object_link'><a href="UiBibz/Ui/Ux/Searchable.html#searchable%3F-instance_method" title="UiBibz::Ui::Ux::Searchable#searchable? (method)">#searchable?</a></span>
1202
1208
  <small>UiBibz::Ui::Ux::Searchable</small>
1203
1209
  </li>
1204
1210
 
1205
1211
 
1206
- <li class="r1 ">
1212
+ <li class="r2 ">
1207
1213
  <span class='object_link'><a href="UiBibz/Concerns/Models/Searchable/ClassMethods.html#searchable_attributes-instance_method" title="UiBibz::Concerns::Models::Searchable::ClassMethods#searchable_attributes (method)">#searchable_attributes</a></span>
1208
1214
  <small>UiBibz::Concerns::Models::Searchable::ClassMethods</small>
1209
1215
  </li>
1210
1216
 
1211
1217
 
1212
- <li class="r2 ">
1218
+ <li class="r1 ">
1213
1219
  <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#searchable_attributes-instance_method" title="UiBibz::Ui::Ux::Store#searchable_attributes (method)">#searchable_attributes</a></span>
1214
1220
  <small>UiBibz::Ui::Ux::Store</small>
1215
1221
  </li>
1216
1222
 
1217
1223
 
1218
- <li class="r1 ">
1224
+ <li class="r2 ">
1219
1225
  <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#sort-instance_method" title="UiBibz::Ui::Ux::Store#sort (method)">#sort</a></span>
1220
1226
  <small>UiBibz::Ui::Ux::Store</small>
1221
1227
  </li>
1222
1228
 
1223
1229
 
1224
- <li class="r2 ">
1230
+ <li class="r1 ">
1225
1231
  <span class='object_link'><a href="UiBibz/Ui/Ux/Column.html#sort-instance_method" title="UiBibz::Ui::Ux::Column#sort (method)">#sort</a></span>
1226
1232
  <small>UiBibz::Ui::Ux::Column</small>
1227
1233
  </li>
1228
1234
 
1229
1235
 
1230
- <li class="r1 ">
1236
+ <li class="r2 ">
1231
1237
  <span class='object_link'><a href="UiBibz/Helpers/UiCoreHelper.html#stars-instance_method" title="UiBibz::Helpers::UiCoreHelper#stars (method)">#stars</a></span>
1232
1238
  <small>UiBibz::Helpers::UiCoreHelper</small>
1233
1239
  </li>
1234
1240
 
1235
1241
 
1236
- <li class="r2 ">
1242
+ <li class="r1 ">
1237
1243
  <span class='object_link'><a href="UiBibz/Ui/Core/Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span>
1238
1244
  <small>UiBibz::Ui::Core::Component</small>
1239
1245
  </li>
1240
1246
 
1241
1247
 
1242
- <li class="r1 ">
1248
+ <li class="r2 ">
1243
1249
  <span class='object_link'><a href="UiBibz/Ui/Ux/Table.html#store-instance_method" title="UiBibz::Ui::Ux::Table#store (method)">#store</a></span>
1244
1250
  <small>UiBibz::Ui::Ux::Table</small>
1245
1251
  </li>
1246
1252
 
1247
1253
 
1248
- <li class="r2 ">
1254
+ <li class="r1 ">
1249
1255
  <span class='object_link'><a href="UiBibz/Helpers/UiUxHelper.html#table-instance_method" title="UiBibz::Helpers::UiUxHelper#table (method)">#table</a></span>
1250
1256
  <small>UiBibz::Helpers::UiUxHelper</small>
1251
1257
  </li>
1252
1258
 
1253
1259
 
1254
- <li class="r1 ">
1260
+ <li class="r2 ">
1255
1261
  <span class='object_link'><a href="UiBibz/Helpers/UiUxHelper.html#table_pagination-instance_method" title="UiBibz::Helpers::UiUxHelper#table_pagination (method)">#table_pagination</a></span>
1256
1262
  <small>UiBibz::Helpers::UiUxHelper</small>
1257
1263
  </li>
1258
1264
 
1259
1265
 
1260
- <li class="r2 ">
1266
+ <li class="r1 ">
1261
1267
  <span class='object_link'><a href="UiBibz/Helpers/UiUxHelper.html#table_pagination_per_page-instance_method" title="UiBibz::Helpers::UiUxHelper#table_pagination_per_page (method)">#table_pagination_per_page</a></span>
1262
1268
  <small>UiBibz::Helpers::UiUxHelper</small>
1263
1269
  </li>
1264
1270
 
1265
1271
 
1266
- <li class="r1 ">
1272
+ <li class="r2 ">
1267
1273
  <span class='object_link'><a href="UiBibz/Helpers/UiUxHelper.html#table_panel-instance_method" title="UiBibz::Helpers::UiUxHelper#table_panel (method)">#table_panel</a></span>
1268
1274
  <small>UiBibz::Helpers::UiUxHelper</small>
1269
1275
  </li>
1270
1276
 
1271
1277
 
1272
- <li class="r2 ">
1278
+ <li class="r1 ">
1273
1279
  <span class='object_link'><a href="UiBibz/Helpers/UiUxHelper.html#table_search_field-instance_method" title="UiBibz::Helpers::UiUxHelper#table_search_field (method)">#table_search_field</a></span>
1274
1280
  <small>UiBibz::Helpers::UiUxHelper</small>
1275
1281
  </li>
1276
1282
 
1277
1283
 
1278
- <li class="r1 ">
1284
+ <li class="r2 ">
1279
1285
  <span class='object_link'><a href="UiBibz/Ui/Core/Navbar.html#text-instance_method" title="UiBibz::Ui::Core::Navbar#text (method)">#text</a></span>
1280
1286
  <small>UiBibz::Ui::Core::Navbar</small>
1281
1287
  </li>
1282
1288
 
1283
1289
 
1284
- <li class="r2 ">
1290
+ <li class="r1 ">
1285
1291
  <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#total_entries-instance_method" title="UiBibz::Ui::Ux::Store#total_entries (method)">#total_entries</a></span>
1286
1292
  <small>UiBibz::Ui::Ux::Store</small>
1287
1293
  </li>
1288
1294
 
1289
1295
 
1290
- <li class="r1 ">
1296
+ <li class="r2 ">
1291
1297
  <span class='object_link'><a href="UiBibz/Ui/Ux/Store.html#total_pages-instance_method" title="UiBibz::Ui::Ux::Store#total_pages (method)">#total_pages</a></span>
1292
1298
  <small>UiBibz::Ui::Ux::Store</small>
1293
1299
  </li>
1294
1300
 
1295
1301
 
1296
- <li class="r2 ">
1302
+ <li class="r1 ">
1297
1303
  <span class='object_link'><a href="UiBibz/Utils/Internationalization.html#translate-instance_method" title="UiBibz::Utils::Internationalization#translate (method)">#translate</a></span>
1298
1304
  <small>UiBibz::Utils::Internationalization</small>
1299
1305
  </li>
1300
1306
 
1301
1307
 
1302
- <li class="r1 ">
1308
+ <li class="r2 ">
1303
1309
  <span class='object_link'><a href="UiBibz/Helpers/UtilsHelper.html#translatize-instance_method" title="UiBibz::Helpers::UtilsHelper#translatize (method)">#translatize</a></span>
1304
1310
  <small>UiBibz::Helpers::UtilsHelper</small>
1305
1311
  </li>
1306
1312
 
1307
1313
 
1308
- <li class="r2 ">
1314
+ <li class="r1 ">
1309
1315
  <span class='object_link'><a href="UiBibz/Helpers/MetaHelper.html#ui_bibz_local_meta_links-instance_method" title="UiBibz::Helpers::MetaHelper#ui_bibz_local_meta_links (method)">#ui_bibz_local_meta_links</a></span>
1310
1316
  <small>UiBibz::Helpers::MetaHelper</small>
1311
1317
  </li>
1312
1318
 
1313
1319
 
1314
- <li class="r1 ">
1320
+ <li class="r2 ">
1315
1321
  <span class='object_link'><a href="UiBibz/Helpers/MetaHelper.html#ui_bibz_meta_links-instance_method" title="UiBibz::Helpers::MetaHelper#ui_bibz_meta_links (method)">#ui_bibz_meta_links</a></span>
1316
1322
  <small>UiBibz::Helpers::MetaHelper</small>
1317
1323
  </li>
1318
1324
 
1319
1325
 
1320
- <li class="r2 ">
1326
+ <li class="r1 ">
1321
1327
  <span class='object_link'><a href="UiBibz/Ui/Ux/Grid.html#view-instance_method" title="UiBibz::Ui::Ux::Grid#view (method)">#view</a></span>
1322
1328
  <small>UiBibz::Ui::Ux::Grid</small>
1323
1329
  </li>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Mon Oct 19 15:25:14 2015 by
106
+ Generated on Wed Jan 13 11:24:57 2016 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.6 (ruby-2.2.3).
109
109
  </div>
@@ -64,12 +64,16 @@ module UiBibz::Ui::Ux
64
64
  @store.search
65
65
  end
66
66
 
67
+ def params
68
+ @store.params || {}
69
+ end
70
+
67
71
  def controller
68
72
  @store.controller
69
73
  end
70
74
 
71
75
  def parameters
72
- @store.try(:params) || {}
76
+ @store.params
73
77
  end
74
78
 
75
79
  def action
@@ -54,9 +54,14 @@ module UiBibz::Ui::Ux
54
54
  args = args.merge({ custom_sort: true, column_name: @column.data_index }) if @column.custom_sort
55
55
  args = args.merge({ parent: true }) if @column.parent
56
56
  args = args.merge({ store_id: @store.id }) unless @store.id.nil?
57
+ args = args.merge(@store.parameters.reject{ |k,v| default_parameters.include?(k.to_s) })
57
58
  args
58
59
  end
59
60
 
61
+ def default_parameters
62
+ %w(column_id direction search store_id controller sort page per_page)
63
+ end
64
+
60
65
  def sortable?
61
66
  @options[:sortable].nil? ? true : @options[:sortable]
62
67
  end
@@ -1,3 +1,3 @@
1
1
  module UiBibz
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
3
3
  end
@@ -65,7 +65,7 @@ class TableTest < ActionView::TestCase
65
65
  options = { paginable: true }
66
66
  pagination = UiBibz::Ui::Ux::Paginable.new(@store, options)
67
67
  actual = pagination.render if pagination.paginable?
68
- expected = "<div><ul class=\"pagination pagination\"><li class=\"prev disabled\"><span>&#8592; Previous</span></li> <li class=\"active\"><span>1</span></li> <li><a rel=\"next\" href=\"/users?page=2\">2</a></li> <li><a href=\"/users?page=3\">3</a></li> <li><a href=\"/users?page=4\">4</a></li> <li><a href=\"/users?page=5\">5</a></li> <li><a href=\"/users?page=6\">6</a></li> <li><a href=\"/users?page=7\">7</a></li> <li><a href=\"/users?page=8\">8</a></li> <li><a href=\"/users?page=9\">9</a></li> <li class=\"disabled\"><span>&hellip;</span></li> <li><a href=\"/users?page=12\">12</a></li> <li><a href=\"/users?page=13\">13</a></li> <li class=\"next\"><a rel=\"next\" href=\"/users?page=2\">Next &#8594;</a></li></ul><form action=\"/users\" accept-charset=\"UTF-8\" method=\"get\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><div class=\"table-pagination-per-page\">Displaying User <b>1&nbsp;-&nbsp;2</b> of <b>25</b> in total | Per page: <select name=\"per_page\" id=\"per_page\" class=\"form-control\"><option value=\"5\">5</option>
68
+ expected = "<div><ul class=\"pagination pagination\"><li class=\"prev disabled\"><span>&#8592; Previous</span></li> <li class=\"active\"><span>1</span></li> <li><a rel=\"next\" href=\"/users?direction=asc&amp;page=2&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">2</a></li> <li><a href=\"/users?direction=asc&amp;page=3&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">3</a></li> <li><a href=\"/users?direction=asc&amp;page=4&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">4</a></li> <li><a href=\"/users?direction=asc&amp;page=5&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">5</a></li> <li><a href=\"/users?direction=asc&amp;page=6&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">6</a></li> <li><a href=\"/users?direction=asc&amp;page=7&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">7</a></li> <li><a href=\"/users?direction=asc&amp;page=8&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">8</a></li> <li><a href=\"/users?direction=asc&amp;page=9&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">9</a></li> <li class=\"disabled\"><span>&hellip;</span></li> <li><a href=\"/users?direction=asc&amp;page=12&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">12</a></li> <li><a href=\"/users?direction=asc&amp;page=13&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">13</a></li> <li class=\"next\"><a rel=\"next\" href=\"/users?direction=asc&amp;page=2&amp;per_page=2&amp;search=Name+fr&amp;sort=users.name_fr\">Next &#8594;</a></li></ul><form action=\"/users\" accept-charset=\"UTF-8\" method=\"get\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><div class=\"table-pagination-per-page\">Displaying User <b>1&nbsp;-&nbsp;2</b> of <b>25</b> in total | Per page: <input type=\"hidden\" name=\"controller\" value=\"users\" /><input type=\"hidden\" name=\"action\" value=\"index\" /><input type=\"hidden\" name=\"sort\" value=\"users.name_fr\" /><input type=\"hidden\" name=\"direction\" value=\"asc\" /><input type=\"hidden\" name=\"search\" value=\"Name fr\" /><input type=\"hidden\" name=\"per_page\" value=\"2\" /><input type=\"hidden\" name=\"page\" value=\"1\" /><select name=\"per_page\" id=\"per_page\" class=\"form-control\"><option value=\"5\">5</option>
69
69
  <option value=\"10\">10</option>
70
70
  <option value=\"20\">20</option>
71
71
  <option value=\"30\">30</option>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-19 00:00:00.000000000 Z
11
+ date: 2016-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails