prime-rails 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/app/assets/images/images/loading.gif +0 -0
- data/app/assets/images/images/messages.png +0 -0
- data/app/assets/images/images/ornament.png +0 -0
- data/app/assets/images/images/password-meter.png +0 -0
- data/app/assets/javascripts/js/accordion/accordion.js +134 -0
- data/app/assets/javascripts/js/autocomplete/autocomplete.js +439 -0
- data/app/assets/javascripts/js/button/button.js +98 -0
- data/app/assets/javascripts/js/checkbox/checkbox.js +117 -0
- data/app/assets/javascripts/js/core/core.js +60 -0
- data/app/assets/javascripts/js/datatable/datatable.js +334 -0
- data/app/assets/javascripts/js/dialog/dialog.js +485 -0
- data/app/assets/javascripts/js/dropdown/dropdown.js +546 -0
- data/app/assets/javascripts/js/fieldset/fieldset.js +68 -0
- data/app/assets/javascripts/js/galleria/galleria.js +221 -0
- data/app/assets/javascripts/js/growl/growl.js +98 -0
- data/app/assets/javascripts/js/inputtext/inputtext.js +40 -0
- data/app/assets/javascripts/js/inputtextarea/inputtextarea.js +360 -0
- data/app/assets/javascripts/js/lightbox/lightbox.js +343 -0
- data/app/assets/javascripts/js/menu/menu.js +689 -0
- data/app/assets/javascripts/js/notify/notify.js +79 -0
- data/app/assets/javascripts/js/paginator/paginator.js +280 -0
- data/app/assets/javascripts/js/panel/panel.js +170 -0
- data/app/assets/javascripts/js/password/password.js +157 -0
- data/app/assets/javascripts/js/progressbar/progressbar.js +92 -0
- data/app/assets/javascripts/js/radiobutton/radiobutton.js +94 -0
- data/app/assets/javascripts/js/rating/rating.js +87 -0
- data/app/assets/javascripts/js/spinner/spinner.js +227 -0
- data/app/assets/javascripts/js/tabview/tabview.js +153 -0
- data/app/assets/javascripts/js/terminal/terminal.js +91 -0
- data/app/assets/javascripts/js/tooltip/tooltip.js +124 -0
- data/app/assets/javascripts/plugins/cursorposition.js +138 -0
- data/app/assets/javascripts/plugins/rangyinput.js +239 -0
- data/app/assets/javascripts/primefaces-core.js +1253 -0
- data/app/assets/javascripts/primefaces-rails.js +152 -0
- data/app/assets/javascripts/primeui.js +5577 -0
- data/app/assets/stylesheets/css/primeui/css/accordion/accordion.css +39 -0
- data/app/assets/stylesheets/css/primeui/css/autocomplete/autocomplete.css +100 -0
- data/app/assets/stylesheets/css/primeui/css/button/button.css +75 -0
- data/app/assets/stylesheets/css/primeui/css/checkbox/checkbox.css +23 -0
- data/app/assets/stylesheets/css/primeui/css/core/core.css +5 -0
- data/app/assets/stylesheets/css/primeui/css/datatable/datatable.css +60 -0
- data/app/assets/stylesheets/css/primeui/css/dialog/dialog.css +36 -0
- data/app/assets/stylesheets/css/primeui/css/dropdown/dropdown.css +96 -0
- data/app/assets/stylesheets/css/primeui/css/fieldset/fieldset.css +15 -0
- data/app/assets/stylesheets/css/primeui/css/galleria/galleria.css +77 -0
- data/app/assets/stylesheets/css/primeui/css/growl/growl.css +78 -0
- data/app/assets/stylesheets/css/primeui/css/inputtext/inputtext.css +11 -0
- data/app/assets/stylesheets/css/primeui/css/inputtextarea/inputtextarea.css +4 -0
- data/app/assets/stylesheets/css/primeui/css/lightbox/lightbox.css +52 -0
- data/app/assets/stylesheets/css/primeui/css/menu/menu.css +391 -0
- data/app/assets/stylesheets/css/primeui/css/notify/notify.css +27 -0
- data/app/assets/stylesheets/css/primeui/css/paginator/paginator.css +61 -0
- data/app/assets/stylesheets/css/primeui/css/panel/panel.css +51 -0
- data/app/assets/stylesheets/css/primeui/css/password/password.css +20 -0
- data/app/assets/stylesheets/css/primeui/css/progressbar/progressbar.css +22 -0
- data/app/assets/stylesheets/css/primeui/css/radiobutton/radiobutton.css +20 -0
- data/app/assets/stylesheets/css/primeui/css/rating/images/rating.png +0 -0
- data/app/assets/stylesheets/css/primeui/css/rating/rating.css +37 -0
- data/app/assets/stylesheets/css/primeui/css/spinner/spinner.css +46 -0
- data/app/assets/stylesheets/css/primeui/css/tabview/tabview.css +124 -0
- data/app/assets/stylesheets/css/primeui/css/terminal/terminal.css +25 -0
- data/app/assets/stylesheets/css/primeui/css/tooltip/tooltip.css +5 -0
- data/app/assets/stylesheets/css/primeui/primeui.css +1453 -0
- data/app/assets/stylesheets/jquery-ui.css +53 -0
- data/app/assets/stylesheets/themes/afterdark/images/ui-icons-dark.png +0 -0
- data/app/assets/stylesheets/themes/afterdark/images/ui-icons-light.png +0 -0
- data/app/assets/stylesheets/themes/afterdark/theme.css +435 -0
- data/app/assets/stylesheets/themes/afternoon/images/ui-icons-dark.png +0 -0
- data/app/assets/stylesheets/themes/afternoon/images/ui-icons-light.png +0 -0
- data/app/assets/stylesheets/themes/afternoon/theme.css +443 -0
- data/app/assets/stylesheets/themes/afterwork/images/ui-icons-dark.png +0 -0
- data/app/assets/stylesheets/themes/afterwork/images/ui-icons-light.png +0 -0
- data/app/assets/stylesheets/themes/afterwork/theme.css +442 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_0_2d5972_40x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_0_4f4f4f_40x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_100_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-hard_80_85b2cb_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-hard_80_c4c4c4_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-hard_80_e3e3e3_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-soft_100_c4c4c4_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-soft_75_85b2cb_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_inset-hard_65_85b2cb_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_inset-hard_65_c4c4c4_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_2d5972_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_38667f_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_3a6983_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_616161_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_898989_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/aristo/theme.css +1251 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/black-tie/theme.css +269 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/blitzer/theme.css +269 -0
- data/app/assets/stylesheets/themes/bluesky/images/active.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/default.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/header.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-icons_3d80b3_256x240.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-icons_72a7cf_256x240.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/bluesky/theme.css +262 -0
- data/app/assets/stylesheets/themes/bootstrap/images/ui-icons_333333_256x240.png +0 -0
- data/app/assets/stylesheets/themes/bootstrap/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/bootstrap/theme.css +918 -0
- data/app/assets/stylesheets/themes/casablanca/images/active.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/default.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/header.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/hover.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/casablanca/theme.css +262 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_flat_50_575757_40x100.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_20_3d3d3d_1x400.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_20_474747_1x400.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_40_0099e0_1x400.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-icons_0099e0_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-icons_a83300_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-icons_eeeeee_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cruze/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cruze/theme.css +273 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/cupertino/theme.css +269 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dark-hive/theme.css +269 -0
- data/app/assets/stylesheets/themes/delta/images/icons_16.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/jGrowl-close.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/modalClose.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/modalClose@2x.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/slider_handles.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/slider_handles@2x.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/delta/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/delta/theme.css +671 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/dot-luv/theme.css +269 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/eggplant/theme.css +269 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/excite-bike/theme.css +270 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-icons_666666_256x240.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
- data/app/assets/stylesheets/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/flick/theme.css +269 -0
- data/app/assets/stylesheets/themes/glass-x/images/active.png +0 -0
- data/app/assets/stylesheets/themes/glass-x/images/default.png +0 -0
- data/app/assets/stylesheets/themes/glass-x/images/header.png +0 -0
- data/app/assets/stylesheets/themes/glass-x/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/glass-x/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/glass-x/theme.css +276 -0
- data/app/assets/stylesheets/themes/home/images/active.png +0 -0
- data/app/assets/stylesheets/themes/home/images/default.png +0 -0
- data/app/assets/stylesheets/themes/home/images/header.png +0 -0
- data/app/assets/stylesheets/themes/home/images/hover.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_glass_40_111111_1x400.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-icons_4ca300_256x240.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-icons_ededed_256x240.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-icons_ffcf29_256x240.png +0 -0
- data/app/assets/stylesheets/themes/home/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/home/theme.css +273 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/hot-sneaks/theme.css +269 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
- data/app/assets/stylesheets/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/humanity/theme.css +269 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/le-frog/theme.css +269 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_100_18181f_40x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_100_583d3d_40x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_10_3d4858_40x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_highlight-soft_15_191921_1x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_highlight-soft_15_32323d_1x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_highlight-soft_35_191921_1x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-bg_inset-soft_35_191921_1x100.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-icons_8fddff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-icons_a1ddff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-icons_f4f4f9_256x240.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-icons_fafafa_256x240.png +0 -0
- data/app/assets/stylesheets/themes/midnight/images/ui-icons_ff8f8f_256x240.png +0 -0
- data/app/assets/stylesheets/themes/midnight/theme.css +268 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/mint-choc/theme.css +269 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
- data/app/assets/stylesheets/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
- data/app/assets/stylesheets/themes/overcast/theme.css +269 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/pepper-grinder/theme.css +269 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/app/assets/stylesheets/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/app/assets/stylesheets/themes/redmond/theme.css +269 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_diagonals-thick_50_00a6dd_40x40.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_flat_100_f1f1f1_40x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_242122_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_65358a_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_8A56B2_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_9eca38_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_ca3838_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_35_00a6dd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_inset-soft_100_e1e1e1_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_inset-soft_15_242122_1x100 - Copy.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-bg_inset-soft_15_242122_1x100.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-icons_00a6dd_256x240.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-icons_304915_256x240.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-icons_d399ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-icons_eaffb9_256x240.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-icons_f4f4f9_256x240.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-icons_fafafa_256x240.png +0 -0
- data/app/assets/stylesheets/themes/rocket/images/ui-icons_ff8f8f_256x240.png +0 -0
- data/app/assets/stylesheets/themes/rocket/theme.css +301 -0
- data/app/assets/stylesheets/themes/sam/images/sprite.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-default.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sam/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sam/theme.css +303 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/smoothness/theme.css +269 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-icons_8dc262_256x240.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
- data/app/assets/stylesheets/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/south-street/theme.css +269 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-icons_056b93_256x240.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
- data/app/assets/stylesheets/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
- data/app/assets/stylesheets/themes/start/theme.css +269 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
- data/app/assets/stylesheets/themes/sunny/theme.css +269 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
- data/app/assets/stylesheets/themes/swanky-purse/theme.css +269 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/trontastic/theme.css +269 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-darkness/theme.css +269 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/themes/ui-lightness/theme.css +269 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-icons_666666_256x240.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
- data/app/assets/stylesheets/themes/vader/theme.css +269 -0
- data/app/helpers/breadcrumb_helper.rb +51 -0
- data/app/helpers/dialog_helper.rb +34 -0
- data/app/helpers/fieldset_helper.rb +35 -0
- data/app/helpers/panel_helper.rb +35 -0
- data/app/helpers/progressbar_helper.rb +31 -0
- data/app/helpers/tabview_helper.rb +54 -0
- data/app/helpers/tooltip_helper.rb +35 -0
- data/app/views/prime-rails/_breadcrumbs.html.erb +10 -0
- data/lib/generators/primerails/install/install_generator.rb +47 -0
- data/lib/generators/primerails/install/templates/application.css +7 -0
- data/lib/generators/primerails/install/templates/application.js +11 -0
- data/lib/generators/primerails/install/templates/primerails_and_overrides.css +5 -0
- data/lib/prime/rails/engine.rb +22 -0
- data/lib/prime/rails/form_helper.rb +19 -0
- data/lib/prime/rails/form_tag_helper.rb +139 -0
- data/lib/prime/rails/prime-rails-breadcrumbs.rb +43 -0
- data/lib/prime/rails/primerails.rb +3 -0
- data/lib/prime/rails/tags/text_area.rb +32 -0
- data/lib/prime/rails/tags/text_field.rb +26 -0
- data/lib/prime/rails/utils.rb +28 -0
- data/lib/prime/rails/version.rb +5 -0
- data/lib/prime-rails.rb +1 -0
- metadata +681 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZWUyODlmNmZkMTA1ZWFlODFiNDY1NWMzNjQ2ODdmNDFkMGFkMTc5MQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
N2RmYWVhYjJmMzhjZjdmNWVjZGNhOTYyZGIxOTRiMDBiODhkZmMzMA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZDVlM2QyNmVmOGFiZTYzZDY2MzI1M2Y3MjYxNzlkOTMzNTY0NWEzZDRkMTU2
|
10
|
+
MDgxMGZhNjI2MjI4OWU2OTBlZDI0ZDg4MjU2ZmRkNWRmMWIwMjVhNjU3ZGYz
|
11
|
+
ZDlkOTI5MzkxNzY3MGFjNTNlZTlmOTk2YmJjNTA2MjJhMzY3NmQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NjRlMjYyYjA2NmY1NTAzMzM0ZjcyOGU5OTQ5NzU2NDQ2MTIxNDE1NGU2ZDJi
|
14
|
+
YjQxZTU4ODRhYjIzNGZmYWQ3NDJmOWJhZGQ3ZTgwYTNkNTk1OGZhOGZlODg4
|
15
|
+
NmQ0YTVlMGEwNjIxM2JhZmMyMjVlMjlkNDNhMTg3MDUxMzc0OTc=
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,134 @@
|
|
1
|
+
/**
|
2
|
+
* PrimeUI Accordion widget
|
3
|
+
*/
|
4
|
+
$(function() {
|
5
|
+
|
6
|
+
$.widget("primeui.puiaccordion", {
|
7
|
+
|
8
|
+
options: {
|
9
|
+
activeIndex: 0,
|
10
|
+
multiple: false
|
11
|
+
},
|
12
|
+
|
13
|
+
_create: function() {
|
14
|
+
if(this.options.multiple) {
|
15
|
+
this.options.activeIndex = [];
|
16
|
+
}
|
17
|
+
|
18
|
+
var $this = this;
|
19
|
+
this.element.addClass('pui-accordion ui-widget ui-helper-reset');
|
20
|
+
|
21
|
+
this.element.children('h3').addClass('pui-accordion-header ui-helper-reset ui-state-default').each(function(i) {
|
22
|
+
var header = $(this),
|
23
|
+
title = header.html(),
|
24
|
+
headerClass = (i == $this.options.activeIndex) ? 'ui-state-active ui-corner-top' : 'ui-corner-all',
|
25
|
+
iconClass = (i == $this.options.activeIndex) ? 'ui-icon ui-icon-triangle-1-s' : 'ui-icon ui-icon-triangle-1-e';
|
26
|
+
|
27
|
+
header.addClass(headerClass).html('<span class="' + iconClass + '"></span><a href="#">' + title + '</a>');
|
28
|
+
});
|
29
|
+
|
30
|
+
this.element.children('div').each(function(i) {
|
31
|
+
var content = $(this);
|
32
|
+
content.addClass('pui-accordion-content ui-helper-reset ui-widget-content');
|
33
|
+
|
34
|
+
if(i != $this.options.activeIndex) {
|
35
|
+
content.addClass('ui-helper-hidden');
|
36
|
+
}
|
37
|
+
});
|
38
|
+
|
39
|
+
this.headers = this.element.children('.pui-accordion-header');
|
40
|
+
this.panels = this.element.children('.pui-accordion-content');
|
41
|
+
this.headers.children('a').disableSelection();
|
42
|
+
|
43
|
+
this._bindEvents();
|
44
|
+
},
|
45
|
+
|
46
|
+
_bindEvents: function() {
|
47
|
+
var $this = this;
|
48
|
+
|
49
|
+
this.headers.mouseover(function() {
|
50
|
+
var element = $(this);
|
51
|
+
if(!element.hasClass('ui-state-active')&&!element.hasClass('ui-state-disabled')) {
|
52
|
+
element.addClass('ui-state-hover');
|
53
|
+
}
|
54
|
+
}).mouseout(function() {
|
55
|
+
var element = $(this);
|
56
|
+
if(!element.hasClass('ui-state-active')&&!element.hasClass('ui-state-disabled')) {
|
57
|
+
element.removeClass('ui-state-hover');
|
58
|
+
}
|
59
|
+
}).click(function(e) {
|
60
|
+
var element = $(this);
|
61
|
+
if(!element.hasClass('ui-state-disabled')) {
|
62
|
+
var tabIndex = element.index() / 2;
|
63
|
+
|
64
|
+
if(element.hasClass('ui-state-active')) {
|
65
|
+
$this.unselect(tabIndex);
|
66
|
+
}
|
67
|
+
else {
|
68
|
+
$this.select(tabIndex);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
e.preventDefault();
|
73
|
+
});
|
74
|
+
},
|
75
|
+
|
76
|
+
/**
|
77
|
+
* Activates a tab with given index
|
78
|
+
*/
|
79
|
+
select: function(index) {
|
80
|
+
var panel = this.panels.eq(index);
|
81
|
+
|
82
|
+
this._trigger('change', panel);
|
83
|
+
|
84
|
+
//update state
|
85
|
+
if(this.options.multiple)
|
86
|
+
this._addToSelection(index);
|
87
|
+
else
|
88
|
+
this.options.activeIndex = index;
|
89
|
+
|
90
|
+
this._show(panel);
|
91
|
+
},
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Deactivates a tab with given index
|
95
|
+
*/
|
96
|
+
unselect: function(index) {
|
97
|
+
var panel = this.panels.eq(index),
|
98
|
+
header = panel.prev();
|
99
|
+
|
100
|
+
header.attr('aria-expanded', false).children('.ui-icon').removeClass('ui-icon-triangle-1-s').addClass('ui-icon-triangle-1-e');
|
101
|
+
header.removeClass('ui-state-active ui-corner-top').addClass('ui-corner-all');
|
102
|
+
panel.attr('aria-hidden', true).slideUp();
|
103
|
+
|
104
|
+
this._removeFromSelection(index);
|
105
|
+
},
|
106
|
+
|
107
|
+
_show: function(panel) {
|
108
|
+
//deactivate current
|
109
|
+
if(!this.options.multiple) {
|
110
|
+
var oldHeader = this.headers.filter('.ui-state-active');
|
111
|
+
oldHeader.children('.ui-icon').removeClass('ui-icon-triangle-1-s').addClass('ui-icon-triangle-1-e');
|
112
|
+
oldHeader.attr('aria-expanded', false).removeClass('ui-state-active ui-corner-top').addClass('ui-corner-all').next().attr('aria-hidden', true).slideUp();
|
113
|
+
}
|
114
|
+
|
115
|
+
//activate selected
|
116
|
+
var newHeader = panel.prev();
|
117
|
+
newHeader.attr('aria-expanded', true).addClass('ui-state-active ui-corner-top').removeClass('ui-state-hover ui-corner-all')
|
118
|
+
.children('.ui-icon').removeClass('ui-icon-triangle-1-e').addClass('ui-icon-triangle-1-s');
|
119
|
+
|
120
|
+
panel.attr('aria-hidden', false).slideDown('normal');
|
121
|
+
},
|
122
|
+
|
123
|
+
_addToSelection: function(nodeId) {
|
124
|
+
this.options.activeIndex.push(nodeId);
|
125
|
+
},
|
126
|
+
|
127
|
+
_removeFromSelection: function(index) {
|
128
|
+
this.options.activeIndex = $.grep(this.options.activeIndex, function(r) {
|
129
|
+
return r != index;
|
130
|
+
});
|
131
|
+
}
|
132
|
+
|
133
|
+
});
|
134
|
+
});
|
@@ -0,0 +1,439 @@
|
|
1
|
+
/**
|
2
|
+
* PrimeUI autocomplete widget
|
3
|
+
*/
|
4
|
+
$(function() {
|
5
|
+
|
6
|
+
$.widget("primeui.puiautocomplete", {
|
7
|
+
|
8
|
+
options: {
|
9
|
+
delay: 300,
|
10
|
+
minQueryLength: 1,
|
11
|
+
multiple: false,
|
12
|
+
dropdown: false,
|
13
|
+
scrollHeight: 200,
|
14
|
+
forceSelection: false,
|
15
|
+
effect:null,
|
16
|
+
effectOptions: {},
|
17
|
+
effectSpeed: 'normal',
|
18
|
+
content: null,
|
19
|
+
caseSensitive: false
|
20
|
+
},
|
21
|
+
|
22
|
+
_create: function() {
|
23
|
+
this.element.puiinputtext();
|
24
|
+
this.panel = $('<div class="pui-autocomplete-panel ui-widget-content ui-corner-all ui-helper-hidden pui-shadow"></div>').appendTo('body');
|
25
|
+
|
26
|
+
if(this.options.multiple) {
|
27
|
+
this.element.wrap('<ul class="pui-autocomplete-multiple ui-widget pui-inputtext ui-state-default ui-corner-all">' +
|
28
|
+
'<li class="pui-autocomplete-input-token"></li></ul>');
|
29
|
+
this.inputContainer = this.element.parent();
|
30
|
+
this.multiContainer = this.inputContainer.parent();
|
31
|
+
}
|
32
|
+
else {
|
33
|
+
if(this.options.dropdown) {
|
34
|
+
this.dropdown = $('<button type="button" class="pui-button ui-widget ui-state-default ui-corner-right pui-button-icon-only">' +
|
35
|
+
'<span class="pui-button-icon-primary ui-icon ui-icon-triangle-1-s"></span><span class="pui-button-text"> </span></button>')
|
36
|
+
.insertAfter(this.element);
|
37
|
+
this.element.removeClass('ui-corner-all').addClass('ui-corner-left');
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
this._bindEvents();
|
42
|
+
},
|
43
|
+
|
44
|
+
_bindEvents: function() {
|
45
|
+
var $this = this;
|
46
|
+
|
47
|
+
this._bindKeyEvents();
|
48
|
+
|
49
|
+
if(this.options.dropdown) {
|
50
|
+
this.dropdown.on('hover.puiautocomplete', function() {
|
51
|
+
if(!$this.element.prop('disabled')) {
|
52
|
+
$this.dropdown.toggleClass('ui-state-hover');
|
53
|
+
}
|
54
|
+
})
|
55
|
+
.on('mousedown.puiautocomplete', function() {
|
56
|
+
if(!$this.element.prop('disabled')) {
|
57
|
+
$this.dropdown.addClass('ui-state-active');
|
58
|
+
}
|
59
|
+
})
|
60
|
+
.on('mouseup.puiautocomplete', function() {
|
61
|
+
if(!$this.element.prop('disabled')) {
|
62
|
+
$this.dropdown.removeClass('ui-state-active');
|
63
|
+
$this.search('');
|
64
|
+
$this.element.focus();
|
65
|
+
}
|
66
|
+
})
|
67
|
+
.on('focus.puiautocomplete', function() {
|
68
|
+
$this.dropdown.addClass('ui-state-focus');
|
69
|
+
})
|
70
|
+
.on('blur.puiautocomplete', function() {
|
71
|
+
$this.dropdown.removeClass('ui-state-focus');
|
72
|
+
})
|
73
|
+
.on('keydown.puiautocomplete', function(e) {
|
74
|
+
var keyCode = $.ui.keyCode;
|
75
|
+
|
76
|
+
if(e.which == keyCode.ENTER || e.which == keyCode.NUMPAD_ENTER) {
|
77
|
+
$this.search('');
|
78
|
+
$this.input.focus();
|
79
|
+
|
80
|
+
e.preventDefault();
|
81
|
+
}
|
82
|
+
});
|
83
|
+
}
|
84
|
+
|
85
|
+
if(this.options.multiple) {
|
86
|
+
this.multiContainer.on('hover.puiautocomplete', function() {
|
87
|
+
$(this).toggleClass('ui-state-hover');
|
88
|
+
})
|
89
|
+
.on('click.puiautocomplete', function() {
|
90
|
+
$this.element.trigger('focus');
|
91
|
+
});
|
92
|
+
|
93
|
+
this.element.on('focus.pui-autocomplete', function() {
|
94
|
+
$this.multiContainer.addClass('ui-state-focus');
|
95
|
+
})
|
96
|
+
.on('blur.pui-autocomplete', function(e) {
|
97
|
+
$this.multiContainer.removeClass('ui-state-focus');
|
98
|
+
});
|
99
|
+
}
|
100
|
+
|
101
|
+
if(this.options.forceSelection) {
|
102
|
+
this.cachedResults = [this.element.val()];
|
103
|
+
this.element.on('blur.puiautocomplete', function() {
|
104
|
+
var value = $this.element.val(),
|
105
|
+
valid = false;
|
106
|
+
|
107
|
+
for(var i = 0; i < $this.cachedResults.length; i++) {
|
108
|
+
if($this.cachedResults[i] == value) {
|
109
|
+
valid = true;
|
110
|
+
break;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
if(!valid) {
|
115
|
+
$this.element.val('');
|
116
|
+
}
|
117
|
+
});
|
118
|
+
}
|
119
|
+
|
120
|
+
$(document.body).bind('mousedown.puiautocomplete', function (e) {
|
121
|
+
if($this.panel.is(":hidden")) {
|
122
|
+
return;
|
123
|
+
}
|
124
|
+
|
125
|
+
if(e.target === $this.element.get(0)) {
|
126
|
+
return;
|
127
|
+
}
|
128
|
+
|
129
|
+
var offset = $this.panel.offset();
|
130
|
+
if (e.pageX < offset.left ||
|
131
|
+
e.pageX > offset.left + $this.panel.width() ||
|
132
|
+
e.pageY < offset.top ||
|
133
|
+
e.pageY > offset.top + $this.panel.height()) {
|
134
|
+
$this.hide();
|
135
|
+
}
|
136
|
+
});
|
137
|
+
|
138
|
+
$(window).bind('resize.' + this.element.id, function() {
|
139
|
+
if($this.panel.is(':visible')) {
|
140
|
+
$this._alignPanel();
|
141
|
+
}
|
142
|
+
});
|
143
|
+
},
|
144
|
+
|
145
|
+
_bindKeyEvents: function() {
|
146
|
+
var $this = this;
|
147
|
+
|
148
|
+
this.element.on('keyup.puiautocomplete', function(e) {
|
149
|
+
var keyCode = $.ui.keyCode,
|
150
|
+
key = e.which,
|
151
|
+
shouldSearch = true;
|
152
|
+
|
153
|
+
if(key == keyCode.UP
|
154
|
+
|| key == keyCode.LEFT
|
155
|
+
|| key == keyCode.DOWN
|
156
|
+
|| key == keyCode.RIGHT
|
157
|
+
|| key == keyCode.TAB
|
158
|
+
|| key == keyCode.SHIFT
|
159
|
+
|| key == keyCode.ENTER
|
160
|
+
|| key == keyCode.NUMPAD_ENTER) {
|
161
|
+
shouldSearch = false;
|
162
|
+
}
|
163
|
+
|
164
|
+
if(shouldSearch) {
|
165
|
+
var value = $this.element.val();
|
166
|
+
|
167
|
+
if(!value.length) {
|
168
|
+
$this.hide();
|
169
|
+
}
|
170
|
+
|
171
|
+
if(value.length >= $this.options.minQueryLength) {
|
172
|
+
if($this.timeout) {
|
173
|
+
clearTimeout($this.timeout);
|
174
|
+
}
|
175
|
+
|
176
|
+
$this.timeout = setTimeout(function() {
|
177
|
+
$this.search(value);
|
178
|
+
},
|
179
|
+
$this.options.delay);
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
}).on('keydown.puiautocomplete', function(e) {
|
184
|
+
if($this.panel.is(':visible')) {
|
185
|
+
var keyCode = $.ui.keyCode,
|
186
|
+
highlightedItem = $this.items.filter('.ui-state-highlight');
|
187
|
+
|
188
|
+
switch(e.which) {
|
189
|
+
case keyCode.UP:
|
190
|
+
case keyCode.LEFT:
|
191
|
+
var prev = highlightedItem.prev();
|
192
|
+
|
193
|
+
if(prev.length == 1) {
|
194
|
+
highlightedItem.removeClass('ui-state-highlight');
|
195
|
+
prev.addClass('ui-state-highlight');
|
196
|
+
|
197
|
+
if($this.options.scrollHeight) {
|
198
|
+
PUI.scrollInView($this.panel, prev);
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
e.preventDefault();
|
203
|
+
break;
|
204
|
+
|
205
|
+
case keyCode.DOWN:
|
206
|
+
case keyCode.RIGHT:
|
207
|
+
var next = highlightedItem.next();
|
208
|
+
|
209
|
+
if(next.length == 1) {
|
210
|
+
highlightedItem.removeClass('ui-state-highlight');
|
211
|
+
next.addClass('ui-state-highlight');
|
212
|
+
|
213
|
+
if($this.options.scrollHeight) {
|
214
|
+
PUI.scrollInView($this.panel, next);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
e.preventDefault();
|
219
|
+
break;
|
220
|
+
|
221
|
+
case keyCode.ENTER:
|
222
|
+
case keyCode.NUMPAD_ENTER:
|
223
|
+
highlightedItem.trigger('click');
|
224
|
+
|
225
|
+
e.preventDefault();
|
226
|
+
break;
|
227
|
+
|
228
|
+
case keyCode.ALT:
|
229
|
+
case 224:
|
230
|
+
break;
|
231
|
+
|
232
|
+
case keyCode.TAB:
|
233
|
+
highlightedItem.trigger('click');
|
234
|
+
$this.hide();
|
235
|
+
break;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
});
|
240
|
+
},
|
241
|
+
|
242
|
+
_bindDynamicEvents: function() {
|
243
|
+
var $this = this;
|
244
|
+
|
245
|
+
this.items.on('mouseover.puiautocomplete', function() {
|
246
|
+
var item = $(this);
|
247
|
+
|
248
|
+
if(!item.hasClass('ui-state-highlight')) {
|
249
|
+
$this.items.filter('.ui-state-highlight').removeClass('ui-state-highlight');
|
250
|
+
item.addClass('ui-state-highlight');
|
251
|
+
}
|
252
|
+
})
|
253
|
+
.on('click.puiautocomplete', function(event) {
|
254
|
+
var item = $(this);
|
255
|
+
|
256
|
+
if($this.options.multiple) {
|
257
|
+
var tokenMarkup = '<li class="pui-autocomplete-token ui-state-active ui-corner-all ui-helper-hidden">';
|
258
|
+
tokenMarkup += '<span class="pui-autocomplete-token-icon ui-icon ui-icon-close" />';
|
259
|
+
tokenMarkup += '<span class="pui-autocomplete-token-label">' + item.data('label') + '</span></li>';
|
260
|
+
|
261
|
+
$(tokenMarkup).data(item.data())
|
262
|
+
.insertBefore($this.inputContainer).fadeIn()
|
263
|
+
.children('.pui-autocomplete-token-icon').on('click.pui-autocomplete', function(e) {
|
264
|
+
var token = $(this).parent();
|
265
|
+
$this._removeItem(token);
|
266
|
+
$this._trigger('unselect', e, token);
|
267
|
+
});
|
268
|
+
|
269
|
+
$this.element.val('').trigger('focus');
|
270
|
+
}
|
271
|
+
else {
|
272
|
+
$this.element.val(item.data('label')).focus();
|
273
|
+
}
|
274
|
+
|
275
|
+
$this._trigger('select', event, item);
|
276
|
+
$this.hide();
|
277
|
+
});
|
278
|
+
},
|
279
|
+
|
280
|
+
search: function(q) {
|
281
|
+
this.query = this.options.caseSensitive ? q : q.toLowerCase();
|
282
|
+
|
283
|
+
var request = {
|
284
|
+
query: this.query
|
285
|
+
};
|
286
|
+
|
287
|
+
if(this.options.completeSource) {
|
288
|
+
if($.isArray(this.options.completeSource)) {
|
289
|
+
var sourceArr = this.options.completeSource,
|
290
|
+
data = [],
|
291
|
+
emptyQuery = ($.trim(q) === '');
|
292
|
+
|
293
|
+
for(var i = 0 ; i < sourceArr.length; i++) {
|
294
|
+
var item = sourceArr[i],
|
295
|
+
itemLabel = item.label||item;
|
296
|
+
|
297
|
+
if(!this.options.caseSensitive) {
|
298
|
+
itemLabel = itemLabel.toLowerCase();
|
299
|
+
}
|
300
|
+
|
301
|
+
if(emptyQuery||itemLabel.indexOf(this.query) === 0) {
|
302
|
+
data.push({label:sourceArr[i], value: item});
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
this._handleData(data);
|
307
|
+
}
|
308
|
+
else {
|
309
|
+
this.options.completeSource.call(this, request, this._handleData);
|
310
|
+
}
|
311
|
+
}
|
312
|
+
},
|
313
|
+
|
314
|
+
_handleData: function(data) {
|
315
|
+
var $this = this;
|
316
|
+
this.panel.html('');
|
317
|
+
this.listContainer = $('<ul class="pui-autocomplete-items pui-autocomplete-list ui-widget-content ui-widget ui-corner-all ui-helper-reset"></ul>').appendTo(this.panel);
|
318
|
+
|
319
|
+
for(var i = 0; i < data.length; i++) {
|
320
|
+
var item = $('<li class="pui-autocomplete-item pui-autocomplete-list-item ui-corner-all"></li>');
|
321
|
+
item.data(data[i]);
|
322
|
+
|
323
|
+
if(this.options.content)
|
324
|
+
item.html(this.options.content.call(this, data[i]));
|
325
|
+
else
|
326
|
+
item.text(data[i].label);
|
327
|
+
|
328
|
+
this.listContainer.append(item);
|
329
|
+
}
|
330
|
+
|
331
|
+
this.items = this.listContainer.children('.pui-autocomplete-item');
|
332
|
+
|
333
|
+
this._bindDynamicEvents();
|
334
|
+
|
335
|
+
if(this.items.length > 0) {
|
336
|
+
var firstItem = $this.items.eq(0),
|
337
|
+
hidden = this.panel.is(':hidden');
|
338
|
+
firstItem.addClass('ui-state-highlight');
|
339
|
+
|
340
|
+
if($this.query.length > 0 && !$this.options.content) {
|
341
|
+
$this.items.each(function() {
|
342
|
+
var item = $(this),
|
343
|
+
text = item.html(),
|
344
|
+
re = new RegExp(PUI.escapeRegExp($this.query), 'gi'),
|
345
|
+
highlighedText = text.replace(re, '<span class="pui-autocomplete-query">$&</span>');
|
346
|
+
|
347
|
+
item.html(highlighedText);
|
348
|
+
});
|
349
|
+
}
|
350
|
+
|
351
|
+
if(this.options.forceSelection) {
|
352
|
+
this.cachedResults = [];
|
353
|
+
this.data.each(function(i, item) {
|
354
|
+
$this.cachedResults.push(item.label);
|
355
|
+
});
|
356
|
+
}
|
357
|
+
|
358
|
+
//adjust height
|
359
|
+
if($this.options.scrollHeight) {
|
360
|
+
var heightConstraint = hidden ? $this.panel.height() : $this.panel.children().height();
|
361
|
+
|
362
|
+
if(heightConstraint > $this.options.scrollHeight)
|
363
|
+
$this.panel.height($this.options.scrollHeight);
|
364
|
+
else
|
365
|
+
$this.panel.css('height', 'auto');
|
366
|
+
|
367
|
+
}
|
368
|
+
|
369
|
+
if(hidden) {
|
370
|
+
$this.show();
|
371
|
+
}
|
372
|
+
else {
|
373
|
+
$this._alignPanel();
|
374
|
+
}
|
375
|
+
}
|
376
|
+
else {
|
377
|
+
this.panel.hide();
|
378
|
+
}
|
379
|
+
},
|
380
|
+
|
381
|
+
show: function() {
|
382
|
+
this._alignPanel();
|
383
|
+
|
384
|
+
if(this.options.effect)
|
385
|
+
this.panel.show(this.options.effect, {}, this.options.effectSpeed);
|
386
|
+
else
|
387
|
+
this.panel.show();
|
388
|
+
},
|
389
|
+
|
390
|
+
hide: function() {
|
391
|
+
this.panel.hide();
|
392
|
+
this.panel.css('height', 'auto');
|
393
|
+
},
|
394
|
+
|
395
|
+
_removeItem: function(item) {
|
396
|
+
item.fadeOut('fast', function() {
|
397
|
+
var token = $(this);
|
398
|
+
|
399
|
+
token.remove();
|
400
|
+
});
|
401
|
+
},
|
402
|
+
|
403
|
+
_alignPanel: function() {
|
404
|
+
var panelWidth = null;
|
405
|
+
|
406
|
+
if(this.options.multiple) {
|
407
|
+
panelWidth = this.multiContainer.innerWidth() - (this.element.position().left - this.multiContainer.position().left);
|
408
|
+
}
|
409
|
+
else {
|
410
|
+
if(this.panel.is(':visible')) {
|
411
|
+
panelWidth = this.panel.children('.pui-autocomplete-items').outerWidth();
|
412
|
+
}
|
413
|
+
else {
|
414
|
+
this.panel.css({'visibility':'hidden','display':'block'});
|
415
|
+
panelWidth = this.panel.children('.pui-autocomplete-items').outerWidth();
|
416
|
+
this.panel.css({'visibility':'visible','display':'none'});
|
417
|
+
}
|
418
|
+
|
419
|
+
var inputWidth = this.element.outerWidth();
|
420
|
+
if(panelWidth < inputWidth) {
|
421
|
+
panelWidth = inputWidth;
|
422
|
+
}
|
423
|
+
}
|
424
|
+
|
425
|
+
this.panel.css({
|
426
|
+
'left':'',
|
427
|
+
'top':'',
|
428
|
+
'width': panelWidth,
|
429
|
+
'z-index': ++PUI.zindex
|
430
|
+
})
|
431
|
+
.position({
|
432
|
+
my: 'left top'
|
433
|
+
,at: 'left bottom'
|
434
|
+
,of: this.element
|
435
|
+
});
|
436
|
+
}
|
437
|
+
});
|
438
|
+
|
439
|
+
});
|
@@ -0,0 +1,98 @@
|
|
1
|
+
/**
|
2
|
+
* PrimeFaces Growl Widget
|
3
|
+
*/
|
4
|
+
$(function() {
|
5
|
+
|
6
|
+
$.widget("primeui.puibutton", {
|
7
|
+
|
8
|
+
options: {
|
9
|
+
icon: null
|
10
|
+
,iconPos : 'left'
|
11
|
+
},
|
12
|
+
|
13
|
+
_create: function() {
|
14
|
+
var element = this.element,
|
15
|
+
text = element.text()||'pui-button',
|
16
|
+
disabled = element.prop('disabled'),
|
17
|
+
styleClass = null;
|
18
|
+
|
19
|
+
if(this.options.icon) {
|
20
|
+
styleClass = (text === 'pui-button') ? 'pui-button-icon-only' : 'pui-button-text-icon-' + this.options.iconPos;
|
21
|
+
}
|
22
|
+
else {
|
23
|
+
styleClass = 'pui-button-text-only';
|
24
|
+
}
|
25
|
+
|
26
|
+
if(disabled) {
|
27
|
+
styleClass += ' ui-state-disabled';
|
28
|
+
}
|
29
|
+
|
30
|
+
this.element.addClass('pui-button ui-widget ui-state-default ui-corner-all ' + styleClass).text('');
|
31
|
+
|
32
|
+
if(this.options.icon) {
|
33
|
+
this.element.append('<span class="pui-button-icon-' + this.options.iconPos + ' ui-icon ' + this.options.icon + '" />');
|
34
|
+
}
|
35
|
+
|
36
|
+
this.element.append('<span class="pui-button-text">' + text + '</span>');
|
37
|
+
|
38
|
+
//aria
|
39
|
+
element.attr('role', 'button').attr('aria-disabled', disabled);
|
40
|
+
|
41
|
+
if(!disabled) {
|
42
|
+
this._bindEvents();
|
43
|
+
}
|
44
|
+
},
|
45
|
+
|
46
|
+
_bindEvents: function() {
|
47
|
+
var element = this.element,
|
48
|
+
$this = this;
|
49
|
+
|
50
|
+
element.on('mouseover.puibutton', function(){
|
51
|
+
if(!element.prop('disabled')) {
|
52
|
+
element.addClass('ui-state-hover');
|
53
|
+
}
|
54
|
+
}).on('mouseout.puibutton', function() {
|
55
|
+
$(this).removeClass('ui-state-active ui-state-hover');
|
56
|
+
}).on('mousedown.puibutton', function() {
|
57
|
+
if(!element.hasClass('ui-state-disabled')) {
|
58
|
+
element.addClass('ui-state-active').removeClass('ui-state-hover');
|
59
|
+
}
|
60
|
+
}).on('mouseup.puibutton', function(e) {
|
61
|
+
element.removeClass('ui-state-active').addClass('ui-state-hover');
|
62
|
+
|
63
|
+
$this._trigger('click', e);
|
64
|
+
}).on('focus.puibutton', function() {
|
65
|
+
element.addClass('ui-state-focus');
|
66
|
+
}).on('blur.puibutton', function() {
|
67
|
+
element.removeClass('ui-state-focus');
|
68
|
+
}).on('keydown.puibutton',function(e) {
|
69
|
+
if(e.keyCode == $.ui.keyCode.SPACE || e.keyCode == $.ui.keyCode.ENTER || e.keyCode == $.ui.keyCode.NUMPAD_ENTER) {
|
70
|
+
element.addClass('ui-state-active');
|
71
|
+
}
|
72
|
+
}).on('keyup.puibutton', function() {
|
73
|
+
element.removeClass('ui-state-active');
|
74
|
+
});
|
75
|
+
|
76
|
+
return this;
|
77
|
+
},
|
78
|
+
|
79
|
+
_unbindEvents: function() {
|
80
|
+
this.element.off('mouseover.puibutton mouseout.puibutton mousedown.puibutton mouseup.puibutton focus.puibutton blur.puibutton keydown.puibutton keyup.puibutton');
|
81
|
+
},
|
82
|
+
|
83
|
+
disable: function() {
|
84
|
+
this._unbindEvents();
|
85
|
+
|
86
|
+
this.element.attr({
|
87
|
+
'disabled':'disabled',
|
88
|
+
'aria-disabled': true
|
89
|
+
}).addClass('ui-state-disabled');
|
90
|
+
},
|
91
|
+
|
92
|
+
enable: function() {
|
93
|
+
this._bindEvents();
|
94
|
+
|
95
|
+
this.element.removeAttr('disabled').attr('aria-disabled', false).removeClass('ui-state-disabled');
|
96
|
+
}
|
97
|
+
});
|
98
|
+
});
|