erp_app 4.0.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/art/desktop-logo.jpg +0 -0
- data/app/assets/images/art/desktop-logo.png +0 -0
- data/{public → app/assets}/images/btn/left_panel/left_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn/left_right_panel/left_right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn/right_panel/right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn/save/save_16x16.png +0 -0
- data/{public → app/assets}/images/btn/save_all/save_all_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/add/add_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/left_panel/left_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/left_right_panel/left_right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/right_panel/right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/save/save_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/save_all/save_all_16x16.png +0 -0
- data/{public → app/assets}/images/checked.gif +0 -0
- data/{public → app/assets}/images/erp_app/ajax-loader.gif +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/cancel.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/cross.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/hourglass.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/loading.gif +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/tick.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/compass_logo_start_icon.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/image_add.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/themes.png +0 -0
- data/{public → app/assets}/images/erp_app/ext_loading_image.gif +0 -0
- data/{public → app/assets}/images/erp_app/mobile/green_light.png +0 -0
- data/{public → app/assets}/images/erp_app/mobile/red_light.png +0 -0
- data/{public → app/assets}/images/erp_app/mobile/yellow_light.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/business.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/business_64x64.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/customer-contact.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/customer_360_64x64.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/people.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/person.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/toolbar_find.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/vcard.png +0 -0
- data/{public → app/assets}/images/help.jpg +0 -0
- data/{public → app/assets}/images/icons/accept/accept_16x16.png +0 -0
- data/{public → app/assets}/images/icons/accept/accept_24x24.png +0 -0
- data/{public → app/assets}/images/icons/accept/accept_32x32.png +0 -0
- data/{public → app/assets}/images/icons/add/add_16x16.png +0 -0
- data/{public → app/assets}/images/icons/add/add_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_24x24.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_24x24.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/article/article_16x16.png +0 -0
- data/app/assets/images/icons/audio/audio_16x16.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_16x16.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_24x24.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_32x32.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_48x48.png +0 -0
- data/{public → app/assets}/images/icons/book/book_16x16.png +0 -0
- data/{public → app/assets}/images/icons/calendar/calendar_16x16.png +0 -0
- data/app/assets/images/icons/calendar/calendar_48x48.png +0 -0
- data/{public → app/assets}/images/icons/calendar/calendar_64x64.png +0 -0
- data/{public → app/assets}/images/icons/calendar/calendar_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/code/code_16x16.png +0 -0
- data/{public → app/assets}/images/icons/console/console_16x16.png +0 -0
- data/{public → app/assets}/images/icons/console/console_64x64.png +0 -0
- data/{public → app/assets}/images/icons/contact-us/contact-us_48x48.png +0 -0
- data/{public → app/assets}/images/icons/content/content_16x16.png +0 -0
- data/app/assets/images/icons/control_panel/control_panel_105x105.png +0 -0
- data/app/assets/images/icons/control_panel/control_panel_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/control_panel/control_panel_16x16.png +0 -0
- data/{public → app/assets}/images/icons/control_panel/control_panel_48x48.png +0 -0
- data/{public → app/assets}/images/icons/control_panel/control_panel_64x64.png +0 -0
- data/{public → app/assets}/images/icons/copy/copy_16x16.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_16x16.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_24x24.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_32x32.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_48x48.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_64x64.png +0 -0
- data/{public → app/assets}/images/icons/crm/crm_16x16.png +0 -0
- data/{public → app/assets}/images/icons/crm/crm_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/csr/csr_16x16.png +0 -0
- data/{public → app/assets}/images/icons/csr/csr_256x256.png +0 -0
- data/{public → app/assets}/images/icons/csr/csr_500x500.png +0 -0
- data/{public → app/assets}/images/icons/data/data_16x16.png +0 -0
- data/{public → app/assets}/images/icons/data/data_32x32.png +0 -0
- data/{public → app/assets}/images/icons/data/data_64x64.png +0 -0
- data/app/assets/images/icons/database/database_105x105.png +0 -0
- data/app/assets/images/icons/database/database_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/database/database_16x16.png +0 -0
- data/{public → app/assets}/images/icons/database_column/database_column_16x16.png +0 -0
- data/{public → app/assets}/images/icons/db_edit_data/db_edit_data_16x16.png +0 -0
- data/{public → app/assets}/images/icons/db_table/db_table_16x16.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_16x16.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_24x24.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_32x32.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_48x48.png +0 -0
- data/{public → app/assets}/images/icons/doc_settings/doc_settings_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document/document_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document/document_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document/document_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document/document_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_64x64.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_48x48.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_16x16.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_24x24.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_32x32.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_48x48.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_24x24.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_32x32.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_24x24.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_32x32.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_16x16.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_24x24.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_32x32.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_48x48.png +0 -0
- data/app/assets/images/icons/file-upload/file_upload-light.png +0 -0
- data/app/assets/images/icons/file-upload/file_upload_16x16-light.png +0 -0
- data/app/assets/images/icons/file-upload/file_upload_16x16.png +0 -0
- data/{public → app/assets}/images/icons/file_manager/file_manager_16x16.png +0 -0
- data/{public → app/assets}/images/icons/file_manager/file_manager_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_16x16.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_24x24.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_32x32.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_48x48.png +0 -0
- data/{public → app/assets}/images/icons/folders/folders_64x64.png +0 -0
- data/{public → app/assets}/images/icons/footprints/footprints_16x16.png +0 -0
- data/{public → app/assets}/images/icons/footprints/footprints_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/form/form_16x16.png +0 -0
- data/{public → app/assets}/images/icons/form/form_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/gantt/gantt_24x24.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_16x16.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_24x24.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_32x32.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_48x48.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_light_16x16.png +0 -0
- data/app/assets/images/icons/globe/globe_105x105.png +0 -0
- data/app/assets/images/icons/globe/globe_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/globe/globe_16x16.png +0 -0
- data/{public → app/assets}/images/icons/globe/globe_64x64.png +0 -0
- data/{public → app/assets}/images/icons/globe/globe_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_16x16.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_24x24.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_32x32.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_48x48.png +0 -0
- data/{public → app/assets}/images/icons/google-map/google-map_48x48.png +0 -0
- data/{public → app/assets}/images/icons/grid/grid_16x16.png +0 -0
- data/{public → app/assets}/images/icons/grid/grid_64x64.png +0 -0
- data/app/assets/images/icons/hide/hide_16x16.png +0 -0
- data/app/assets/images/icons/hide/hide_32x32.png +0 -0
- data/app/assets/images/icons/hide/hide_48x48.png +0 -0
- data/{public → app/assets}/images/icons/hierarchy/hierarchy_16x16.png +0 -0
- data/{public → app/assets}/images/icons/history/history_16x16.png +0 -0
- data/{public → app/assets}/images/icons/history/history_64x64.png +0 -0
- data/{public → app/assets}/images/icons/history/history_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/home/home_16x16.png +0 -0
- data/{public → app/assets}/images/icons/home/home_48x48.png +0 -0
- data/{public → app/assets}/images/icons/ia/ia_16x16.png +0 -0
- data/{public → app/assets}/images/icons/index/index_16x16.png +0 -0
- data/{public → app/assets}/images/icons/index/index_24x24.png +0 -0
- data/{public → app/assets}/images/icons/index/index_32x32.png +0 -0
- data/{public → app/assets}/images/icons/index/index_48x48.png +0 -0
- data/{public → app/assets}/images/icons/information/information_16x16.png +0 -0
- data/app/assets/images/icons/information/information_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/invoicing/invoicing_48x48.png +0 -0
- data/{public → app/assets}/images/icons/invoicing/invoicing_64x64.png +0 -0
- data/app/assets/images/icons/key/key_105x105.png +0 -0
- data/app/assets/images/icons/key/key_105x105_active.png +0 -0
- data/app/assets/images/icons/key/key_16x16-light.png +0 -0
- data/{public → app/assets}/images/icons/key/key_16x16.png +0 -0
- data/{public → app/assets}/images/icons/key/key_64x64.png +0 -0
- data/{public → app/assets}/images/icons/knitkit/knitkit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/knitkit/knitkit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/knitkit/knitkit_light_16x16.png +0 -0
- data/app/assets/images/icons/link/link_16x16.png +0 -0
- data/app/assets/images/icons/login/login_48x48.png +0 -0
- data/{public → app/assets}/images/icons/magnifying-glass/magnifying-glass_48x48.png +0 -0
- data/{public → app/assets}/images/icons/mail/mail_16x16.png +0 -0
- data/{public → app/assets}/images/icons/mail/mail_24x24.png +0 -0
- data/{public → app/assets}/images/icons/mail/mail_32x32.png +0 -0
- data/app/assets/images/icons/mail/mail_48x48.png +0 -0
- data/app/assets/images/icons/manage_profile/manage_profile_48x48.png +0 -0
- data/{public → app/assets}/images/icons/map/map_16x16.png +0 -0
- data/{public → app/assets}/images/icons/map/map_24x24.png +0 -0
- data/{public → app/assets}/images/icons/map/map_32x32.png +0 -0
- data/app/assets/images/icons/map/map_48x48.png +0 -0
- data/{public → app/assets}/images/icons/menu/menu_16x16.png +0 -0
- data/{public → app/assets}/images/icons/next/next_16x16.png +0 -0
- data/{public → app/assets}/images/icons/next/next_24x24.png +0 -0
- data/{public → app/assets}/images/icons/next/next_32x32.png +0 -0
- data/{public → app/assets}/images/icons/next/next_48x48.png +0 -0
- data/{public → app/assets}/images/icons/note/note_16x16.png +0 -0
- data/{public → app/assets}/images/icons/note/note_24x24.png +0 -0
- data/{public → app/assets}/images/icons/note/note_32x32.png +0 -0
- data/{public → app/assets}/images/icons/note/note_48x48.png +0 -0
- data/{public → app/assets}/images/icons/ordered_list/ordered_list_16x16.png +0 -0
- data/app/assets/images/icons/package/logo.png +0 -0
- data/{public → app/assets}/images/icons/package/package_16x16.png +0 -0
- data/{public → app/assets}/images/icons/package/package_24x24.png +0 -0
- data/{public → app/assets}/images/icons/package/package_32x32.png +0 -0
- data/app/assets/images/icons/package/package_48x48.png +0 -0
- data/{public → app/assets}/images/icons/package/package_64x64.png +0 -0
- data/{public → app/assets}/images/icons/package/package_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/palette/palette_64x64.png +0 -0
- data/{public → app/assets}/images/icons/person/person_16x16.png +0 -0
- data/{public → app/assets}/images/icons/phone/phone_16x16.png +0 -0
- data/{public → app/assets}/images/icons/phone/phone_64x64.png +0 -0
- data/{public → app/assets}/images/icons/picture/picture_16x16.png +0 -0
- data/{public → app/assets}/images/icons/play/play_16x16.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_16x16.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_24x24.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_32x32.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_48x48.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_16x16.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_24x24.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_32x32.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_48x48.png +0 -0
- data/{public → app/assets}/images/icons/product/product_16x16.png +0 -0
- data/{public → app/assets}/images/icons/product/product_24x24.png +0 -0
- data/{public → app/assets}/images/icons/product/product_32x32.png +0 -0
- data/app/assets/images/icons/product/product_48x48.png +0 -0
- data/{public → app/assets}/images/icons/product/product_64x64.png +0 -0
- data/{public → app/assets}/images/icons/product/product_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_16x16.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_24x24.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_32x32.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_48x48.png +0 -0
- data/{public → app/assets}/images/icons/query/query_16x16.png +0 -0
- data/app/assets/images/icons/recycle/recycle_16x16.png +0 -0
- data/{public → app/assets}/images/icons/recycle/recycle_24x24.png +0 -0
- data/{public → app/assets}/images/icons/recycle/recycle_32x32.png +0 -0
- data/{public → app/assets}/images/icons/recycle/recycle_48x48.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_16x16.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_24x24.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_32x32.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_48x48.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_16x16.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_24x24.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_32x32.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_48x48.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_16x16.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_24x24.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_32x32.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_48x48.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_16x16.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_24x24.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_32xr2.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_48x48.png +0 -0
- data/{public → app/assets}/images/icons/report/report_16x16.png +0 -0
- data/app/assets/images/icons/reset_password/reset_password_48x48.png +0 -0
- data/{public → app/assets}/images/icons/rowselect/rowselect_16x16.png +0 -0
- data/{public → app/assets}/images/icons/save/save_16x16.png +0 -0
- data/{public → app/assets}/images/icons/save/save_24x24.png +0 -0
- data/{public → app/assets}/images/icons/save/save_32x32.png +0 -0
- data/{public → app/assets}/images/icons/save/save_48x48.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_16x16.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_24x24.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_32x32.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_48x48.png +0 -0
- data/{public → app/assets}/images/icons/scaffold/scaffold_16x16.png +0 -0
- data/{public → app/assets}/images/icons/scaffold/scaffold_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/search/search_16x16.png +0 -0
- data/{public → app/assets}/images/icons/search/search_24x24.png +0 -0
- data/{public → app/assets}/images/icons/search/search_32x32.png +0 -0
- data/app/assets/images/icons/search/search_48x48.png +0 -0
- data/{public → app/assets}/images/icons/search/search_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/section/section_16x16.png +0 -0
- data/{public → app/assets}/images/icons/section/section_24x24.png +0 -0
- data/{public → app/assets}/images/icons/section/section_32x32.png +0 -0
- data/{public → app/assets}/images/icons/section/section_48x48.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_16x16.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_24x24.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_32x32.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_48x48.png +0 -0
- data/{public → app/assets}/images/icons/secure/secure_16x16.png +0 -0
- data/{public → app/assets}/images/icons/settings/settings_16x16.png +0 -0
- data/{public → app/assets}/images/icons/settings/settings_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/shopping_cart/shopping_card_64x64.png +0 -0
- data/{public → app/assets}/images/icons/shopping_cart/shopping_cart_32x32.png +0 -0
- data/app/assets/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
- data/{public → app/assets}/images/icons/sign_up/sign_up_32x32.png +0 -0
- data/app/assets/images/icons/sign_up/sign_up_48x48.png +0 -0
- data/{public → app/assets}/images/icons/sign_up/sign_up_64x64.png +0 -0
- data/{public → app/assets}/images/icons/simple_arrow/simple_arrow_16x16.png +0 -0
- data/{public → app/assets}/images/icons/small_gear/small_gear_16x16.png +0 -0
- data/{public → app/assets}/images/icons/sql/sql_16x16.png +0 -0
- data/{public → app/assets}/images/icons/tables/tables_16x16.png +0 -0
- data/app/assets/images/icons/template/template_16x16.png +0 -0
- data/{public → app/assets}/images/icons/theme/theme_16x16.png +0 -0
- data/{public → app/assets}/images/icons/theme_upload/theme_upload_16x16.png +0 -0
- data/{public → app/assets}/images/icons/ticket/tag_16x16.png +0 -0
- data/{public → app/assets}/images/icons/undo/undo_16x16.png +0 -0
- data/app/assets/images/icons/unhide/unhide_16x16.png +0 -0
- data/app/assets/images/icons/user/user_105x105.png +0 -0
- data/app/assets/images/icons/user/user_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/user/user_128x128.png +0 -0
- data/{public → app/assets}/images/icons/user/user_16x16.png +0 -0
- data/app/assets/images/icons/user/user_48x48.png +0 -0
- data/{public → app/assets}/images/icons/user/user_64x64.png +0 -0
- data/{public → app/assets}/images/icons/user/user_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/user_mgt/user_mgt_16x16.png +0 -0
- data/{public → app/assets}/images/icons/user_mgt/user_mgt_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/vcard/vcard_16x16.png +0 -0
- data/{public → app/assets}/images/icons/view/view_16x16.png +0 -0
- data/{public → app/assets}/images/icons/view/view_24x24.png +0 -0
- data/{public → app/assets}/images/icons/view/view_32x32.png +0 -0
- data/{public → app/assets}/images/icons/view/view_48x48.png +0 -0
- data/{public → app/assets}/images/icons/warning/waring_16x16.png +0 -0
- data/app/assets/images/icons/website/website_105x105.png +0 -0
- data/app/assets/images/icons/website/website_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/website/website_16x16.png +0 -0
- data/{public → app/assets}/images/icons/website_download/website_download_16x16.png +0 -0
- data/{public → app/assets}/images/icons/website_publications/website_publications_16x16.png +0 -0
- data/{public → app/assets}/images/icons/website_upload/website_upload_16x16.png +0 -0
- data/{public → app/assets}/images/img_blank.png +0 -0
- data/{public → app/assets}/images/loading_icon.gif +0 -0
- data/app/assets/images/splash/icons/console_icon.png +0 -0
- data/app/assets/images/splash/icons/console_icon_active.png +0 -0
- data/app/assets/images/splash/icons/db_icon.png +0 -0
- data/app/assets/images/splash/icons/db_icon_active.png +0 -0
- data/app/assets/images/splash/icons/help_icon.png +0 -0
- data/app/assets/images/splash/icons/help_icon_active.png +0 -0
- data/{public → app/assets}/images/splash_screen/browse_docs_icon.png +0 -0
- data/{public → app/assets}/images/splash_screen/contact_mgt_icon.png +0 -0
- data/{public → app/assets}/images/splash_screen/desktop_icon.png +0 -0
- data/{public → app/assets}/images/tab/tab-default-close.png +0 -0
- data/{public → app/assets}/images/unchecked.gif +0 -0
- data/{public → app/assets}/images/wallpaper/truenorth_tech.png +0 -0
- data/app/assets/javascripts/codemirror_compassae.js +31 -0
- data/app/assets/javascripts/erp_app/authentication/compass_user.js +97 -0
- data/app/assets/javascripts/erp_app/desktop/app.js +15 -0
- data/app/assets/javascripts/erp_app/desktop/applications/audit_log_viewer/app.js +13 -0
- data/app/assets/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +38 -0
- data/app/assets/javascripts/erp_app/desktop/applications/configuration_management/app.js +17 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_tree_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_types_panel.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/configuration_management/module.js +96 -0
- data/{public/javascripts/erp_app/desktop/applications/configuration_management/stores.0.js → app/assets/javascripts/erp_app/desktop/applications/configuration_management/stores.js} +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/file_manager/app.js +13 -0
- data/app/assets/javascripts/erp_app/desktop/applications/file_manager/module.js +134 -0
- data/app/assets/javascripts/erp_app/desktop/applications/job_tracker/app.js +14 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/job_tracker/jobs_grid.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/job_tracker/module.js +44 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/app.js +24 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +54 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +245 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/security_management/common_widget.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +80 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +271 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +245 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/mixins/widget.js +39 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/module.js +155 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/north_panel.js +23 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +334 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +258 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/south_panel.js +70 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/app.js +15 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/form.js +100 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/module.js +227 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/stores.js +48 -0
- data/app/assets/javascripts/erp_app/desktop/applications/tail/app.js +14 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/tail/module.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/tail/tail_panel.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/user_management/app.js +13 -0
- data/app/assets/javascripts/erp_app/desktop/applications/user_management/module.js +454 -0
- data/app/assets/javascripts/erp_app/desktop/applications/web_navigator/app.js +13 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/web_navigator/module.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/ext_ux_desktop_module.js +1016 -0
- data/app/assets/javascripts/erp_app/desktop/select_roles_window.js +267 -0
- data/app/assets/javascripts/erp_app/ecommerce/credit_card_window.js +343 -0
- data/app/assets/javascripts/erp_app/jquery_support.js +45 -0
- data/app/assets/javascripts/erp_app/login/ResetPassword.js +128 -0
- data/app/assets/javascripts/erp_app/login/mobile.js +77 -0
- data/app/assets/javascripts/erp_app/login/window.js +238 -0
- data/app/assets/javascripts/erp_app/organizer/app.js +15 -0
- data/app/assets/javascripts/erp_app/organizer/applications/crm/app.js +14 -0
- data/app/assets/javascripts/erp_app/organizer/applications/crm/base.js +64 -0
- data/{public → app/assets}/javascripts/erp_app/organizer/applications/crm/relationship_grid.js +0 -0
- data/app/assets/javascripts/erp_app/organizer/layout.js +258 -0
- data/{public → app/assets}/javascripts/erp_app/organizer/preference_window.js +0 -0
- data/app/assets/javascripts/erp_app/shared/DateTimeField.js +77 -0
- data/app/assets/javascripts/erp_app/shared/MoneyField.js +120 -0
- data/app/assets/javascripts/erp_app/shared/MultiOptions.js +182 -0
- data/app/assets/javascripts/erp_app/shared/Party/AppsInstalledPanel.js +302 -0
- data/app/assets/javascripts/erp_app/shared/Party/LoginInfoPanel.js +291 -0
- data/app/assets/javascripts/erp_app/shared/Party/SecurityPanel.js +448 -0
- data/app/assets/javascripts/erp_app/shared/Party/UserTypePanel.js +198 -0
- data/{public → app/assets}/javascripts/erp_app/shared/PartySearchField.js +0 -0
- data/app/assets/javascripts/erp_app/shared/TimePickerField.js +189 -0
- data/{public → app/assets}/javascripts/erp_app/shared/TransitionCardLayout.js +0 -0
- data/app/assets/javascripts/erp_app/shared/TypeSelectionTree.js +510 -0
- data/app/assets/javascripts/erp_app/shared/active_ext/active_ext_grid.js +351 -0
- data/{public → app/assets}/javascripts/erp_app/shared/active_ext/active_ext_grid_panel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/audit_log/GridPanel.js +214 -0
- data/{public → app/assets}/javascripts/erp_app/shared/audit_log/ItemGridPanel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/audit_log/TabPanel.js +116 -0
- data/app/assets/javascripts/erp_app/shared/compass_ckeditor.js +267 -0
- data/app/assets/javascripts/erp_app/shared/compass_codemirror.js +464 -0
- data/{public → app/assets}/javascripts/erp_app/shared/configuration/configuration_form.js +0 -0
- data/app/assets/javascripts/erp_app/shared/configuration/configuration_panel.js +141 -0
- data/{public → app/assets}/javascripts/erp_app/shared/coolclock/tray_clock2.js +0 -0
- data/app/assets/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +754 -0
- data/app/assets/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +344 -0
- data/app/assets/javascripts/erp_app/shared/crm/PartyForm.js +321 -0
- data/{public → app/assets}/javascripts/erp_app/shared/crm/PartyFormPanel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/crm/PartyGrid.js +595 -0
- data/app/assets/javascripts/erp_app/shared/crm/UserForm.js +302 -0
- data/app/assets/javascripts/erp_app/shared/crm/UsersGrid.js +535 -0
- data/app/assets/javascripts/erp_app/shared/dynamic_editable_grid.js +181 -0
- data/app/assets/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +65 -0
- data/app/assets/javascripts/erp_app/shared/dynamic_form_fields.js +104 -0
- data/{public → app/assets}/javascripts/erp_app/shared/encryption/encryption.js +0 -0
- data/app/assets/javascripts/erp_app/shared/erp_app_shared.js +13 -0
- data/app/assets/javascripts/erp_app/shared/file_manager_tree.js +750 -0
- data/app/assets/javascripts/erp_app/shared/file_upload/Ext.ux.panel.UploadPanel.js +581 -0
- data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.flash.swf +0 -0
- data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.full.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.silverlight.xap +0 -0
- data/app/assets/javascripts/erp_app/shared/file_upload/upload_window.js +65 -0
- data/{public → app/assets}/javascripts/erp_app/shared/google_map_panel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/notes_grid.js +338 -0
- data/{public → app/assets}/javascripts/erp_app/shared/preferences/application_management_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/shared/preferences/form.js +0 -0
- data/app/assets/javascripts/erp_app/shared/profile_management_panel.js +140 -0
- data/{public → app/assets}/javascripts/erp_app/shared/status_window.js +0 -0
- data/app/assets/javascripts/erp_app/utility.js +809 -0
- data/app/assets/javascripts/erp_app/widgets.js +122 -0
- data/{public → app/assets}/javascripts/jquery_plugins/jquery.address.min.js +0 -0
- data/{public → app/assets}/javascripts/jquery_plugins/jquery.loadmask.min.js +0 -0
- data/app/assets/stylesheets/codemirror_compassae.css +14 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/audit_log_viewer/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/configuration_management/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/file_manager/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/job_tracker/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/scaffold/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/security_management/app.css +12 -0
- data/{public → app/assets}/stylesheets/erp_app/desktop/applications/security_management/styles.css +0 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/tail/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/user_management/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/base.css +262 -0
- data/app/assets/stylesheets/erp_app/login/main.css +17 -0
- data/app/assets/stylesheets/erp_app/organizer/applications/crm/app.css +12 -0
- data/app/assets/stylesheets/erp_app/organizer/base.css +19 -0
- data/app/assets/stylesheets/erp_app/shared/compass-ext-all.css +599 -0
- data/app/assets/stylesheets/erp_app/shared/crm.css +45 -0
- data/app/assets/stylesheets/erp_app/shared/erp_app_shared.css +12 -0
- data/{public → app/assets}/stylesheets/erp_app/shared/grid_cell.css +0 -0
- data/{public → app/assets}/stylesheets/erp_app/shared/hover_finger.css +0 -0
- data/app/assets/stylesheets/jquery_plugins/jquery.loadmask.css +53 -0
- data/app/controllers/api/v1/applications_controller.rb +179 -0
- data/app/controllers/erp_app/application_controller.rb +7 -1
- data/app/controllers/erp_app/desktop/base_controller.rb +0 -1
- data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +5 -3
- data/app/controllers/erp_app/desktop/system_management/types_controller.rb +126 -0
- data/app/controllers/erp_app/desktop/user_management/application_management_controller.rb +68 -36
- data/app/controllers/erp_app/desktop/user_management/base_controller.rb +0 -0
- data/app/controllers/erp_app/desktop/user_management/role_management_controller.rb +0 -0
- data/app/controllers/erp_app/login_controller.rb +30 -2
- data/app/controllers/erp_app/organizer/base_controller.rb +3 -30
- data/app/controllers/erp_app/organizer/crm/contact_mechanisms_controller.rb +4 -2
- data/app/controllers/erp_app/organizer/crm/parties_controller.rb +26 -2
- data/app/controllers/erp_app/organizer/crm/users_controller.rb +22 -0
- data/app/controllers/erp_app/public_controller.rb +3 -0
- data/app/controllers/erp_app/shared/audit_log_controller.rb +1 -1
- data/app/controllers/erp_app/shared/configuration_controller.rb +1 -1
- data/app/controllers/erp_app/shared/notes_controller.rb +0 -6
- data/app/controllers/erp_app/widget_proxy_controller.rb +19 -5
- data/app/mailers/crm_mailer.rb +2 -1
- data/app/models/application.rb +88 -6
- data/app/models/configuration.rb +7 -0
- data/app/models/configuration_item.rb +6 -0
- data/app/models/extensions/party.rb +9 -0
- data/app/models/extensions/user.rb +42 -15
- data/app/models/preference_type.rb +1 -1
- data/app/views/erp_app/desktop/base/index.erb +253 -203
- data/app/views/erp_app/login/index.erb +28 -20
- data/app/views/erp_app/login/reset_password.erb +30 -0
- data/app/views/erp_app/organizer/base/index.erb +28 -23
- data/app/views/erp_app/organizer/crm/parties/details.erb +1 -1
- data/config/routes.rb +29 -17
- data/db/data_migrations/20110728201729_erp_app_setup.rb +168 -240
- data/db/data_migrations/20110728201730_add_system_management_tool.rb +27 -0
- data/db/data_migrations/20150929185612_add_applications_to_dba_org.rb +31 -0
- data/db/migrate/20080805000096_base_app_framework.rb +36 -44
- data/lib/erp_app.rb +2 -2
- data/lib/erp_app/config.rb +9 -3
- data/lib/erp_app/engine.rb +114 -12
- data/lib/erp_app/extensions/compass_ae/erp_tech_svcs/session_controller.rb +27 -0
- data/lib/erp_app/extensions/railties/action_view/base.rb +32 -6
- data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +37 -30
- data/lib/erp_app/version.rb +1 -1
- data/lib/erp_app/widgets/base.rb +6 -4
- data/lib/erp_app/widgets/loader.rb +1 -1
- data/lib/erp_app/widgets/railties/action_view/helpers/widget_helper.rb +12 -12
- data/lib/generators/admin_tool/USAGE +23 -0
- data/lib/generators/admin_tool/admin_tool_generator.rb +28 -0
- data/lib/generators/admin_tool/templates/INSTALL +23 -0
- data/lib/generators/{desktop_application/templates/public/module.js.erb → admin_tool/templates/assets/javascripts/Module.js.erb} +0 -0
- data/lib/generators/admin_tool/templates/assets/javascripts/app.js.erb +17 -0
- data/lib/generators/admin_tool/templates/assets/stylesheets/app.css.erb +11 -0
- data/lib/generators/{desktop_application → admin_tool}/templates/controllers/controller_template.erb +0 -0
- data/lib/generators/{desktop_application → admin_tool}/templates/migrate/migration_template.erb +0 -0
- data/lib/generators/application/USAGE +23 -0
- data/lib/generators/application/application_generator.rb +28 -0
- data/lib/generators/application/templates/INSTALL +23 -0
- data/lib/generators/application/templates/assets/javascripts/Application.js.erb +20 -0
- data/lib/generators/application/templates/assets/javascripts/app.js.erb +17 -0
- data/lib/generators/application/templates/assets/stylesheets/app.css.erb +11 -0
- data/lib/generators/application/templates/controllers/controller_template.erb +9 -0
- data/lib/generators/application/templates/migrate/migration_template.erb +21 -0
- data/lib/generators/cms_widget/templates/engine/engine_template.erb +2 -2
- data/lib/generators/cms_widget/templates/helpers/controller/controller_helper_template.erb +1 -1
- data/lib/generators/cms_widget/templates/helpers/view/view_helper_template.erb +1 -1
- data/lib/generators/cms_widget/templates/javascript/base.js.erb +1 -1
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/ckeditor.js +0 -0
- data/public/javascripts/ckeditor/config.js +14 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/contents.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ar.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/bg.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/cs.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/cy.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/da.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/de.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/el.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/eo.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/es.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/et.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fa.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/gl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/gu.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/he.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hu.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/id.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/it.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ja.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/km.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ku.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/lt.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/lv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/mk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/mn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/nb.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/nl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/no.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pt.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ro.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ru.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/si.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sq.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/th.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/tr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ug.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/uk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/vi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/about.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/clipboard/dialogs/paste.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/codemirror/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/codemirror/plugin.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/colordialog/dialogs/colordialog.js +0 -0
- data/public/javascripts/ckeditor/plugins/compasssave/plugin.js +22 -0
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1006 -0
- data/public/javascripts/ckeditor/plugins/dialog/plugin.js +3232 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/div/dialogs/div.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/fakeobjects/images/spacer.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/find/dialogs/find.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/flash/dialogs/flash.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/button.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/checkbox.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/form.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/hiddenfield.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/radio.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/select.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/textarea.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/textfield.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/icons.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/icons_hidpi.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/iframe/dialogs/iframe.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/iframe/images/placeholder.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/image/dialogs/image.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/image/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/plugins/inlineeditsave/plugin.js +42 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/config.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/dialogs/jwplayer.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/help.txt +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/JW Player Quick Start Guide.pdf b/data/public/javascripts/ckeditor/plugins/jwplayer/jwplayer/JW Player Quick Start → Guide.pdf +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/jwPlayer.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/jwplayer.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/license.txt +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/player.swf +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/preview.jpg +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/readme.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/beelden.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/glow.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/modieus.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/simple.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/snel.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/stijl.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/stormtrooper.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/swfobject.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/video.mp4 +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/yt.swf +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/plugin.js +0 -0
- data/public/javascripts/ckeditor/plugins/knitkitthemes/plugin.js +116 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/dialogs/anchor.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/dialogs/link.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/images/anchor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/images/hidpi/anchor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/magicline/images/hidpi/icon.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/magicline/images/icon.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/pastefromword/filter/default.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/preview/preview.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/scayt/LICENSE.md +0 -0
- data/public/javascripts/ckeditor/plugins/scayt/README.md +25 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +473 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- data/public/javascripts/ckeditor/plugins/scayt/icons/hidpi/scayt.png +0 -0
- data/public/javascripts/ckeditor/plugins/scayt/icons/scayt.png +0 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/af.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ar.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/bg.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/bn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/bs.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ca.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/cs.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/cy.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/da.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/de.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/el.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en-au.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en-ca.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en-gb.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/eo.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/es.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/et.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/eu.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fa.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fi.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fo.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fr-ca.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/gl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/gu.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/he.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/hi.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/hr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/hu.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/is.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/it.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ja.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ka.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/km.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ko.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ku.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/lt.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/lv.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/mk.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/mn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ms.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/nb.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/nl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/no.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/pl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/pt-br.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/pt.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ro.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ru.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sk.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sr-latn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sv.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/th.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/tr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ug.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/uk.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/vi.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/zh-cn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/zh.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/plugin.js +894 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/dialogs/smiley.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/tongue_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ar.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/bg.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/cs.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/cy.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/de.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/el.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/eo.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/es.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/et.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fa.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fr-ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/gl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/he.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/hr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/hu.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/id.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/it.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ja.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ku.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/lv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/nb.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/nl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/no.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pt-br.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pt.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ru.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/si.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sq.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/th.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/tr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ug.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/uk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/vi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/zh-cn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/specialchar.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/dialogs/syntaxhighlight.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/icons/syntaxhighlight.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/de.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/fr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/zh-cn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/plugin.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/table/dialogs/table.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/dialogs/templates.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/dialogs/templates.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/default.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/LICENSE.md +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/README.md +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/ciframe.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/tmp.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc_ie.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie7.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie8.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_iequirks.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_opera.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_gecko.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie7.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie8.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_iequirks.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/icons.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/icons_hidpi.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/arrow.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/close.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/close.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/lock-open.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/lock.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/refresh.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/lock-open.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/lock.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/refresh.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/readme.md +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/styles.js +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/close.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/closeX.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-black-border.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-text-buttons.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-white-small.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-white.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar2.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar3.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar4-hover.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar4.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/fullexpand.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/geckodimmer.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/icon.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/loader.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/loader.white.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/Outlines.psd +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/beveled.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/drop-shadow.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/glossy-dark.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/outer-glow.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/rounded-black.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/rounded-white.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/resize.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/scrollarrows.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/zoomin.cur +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/zoomout.cur +0 -0
- data/public/javascripts/highslide/highslide-full.js +3320 -0
- data/public/javascripts/highslide/highslide-full.min.js +9 -0
- data/public/javascripts/highslide/highslide-full.packed.js +9 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/highslide-ie6.css +0 -0
- data/public/javascripts/highslide/highslide-with-gallery.js +2657 -0
- data/public/javascripts/highslide/highslide-with-gallery.min.js +9 -0
- data/public/javascripts/highslide/highslide-with-gallery.packed.js +9 -0
- data/public/javascripts/highslide/highslide-with-html.js +2481 -0
- data/public/javascripts/highslide/highslide-with-html.min.js +9 -0
- data/public/javascripts/highslide/highslide-with-html.packed.js +9 -0
- data/public/javascripts/highslide/highslide.cfg.js +27 -0
- data/public/javascripts/highslide/highslide.css +889 -0
- data/public/javascripts/highslide/highslide.js +1891 -0
- data/public/javascripts/highslide/highslide.min.js +9 -0
- data/public/javascripts/highslide/highslide.packed.js +9 -0
- data/spec/models/organizer_application_spec.rb +3 -3
- metadata +914 -980
- data/app/assets/stylesheets/erp_app/application.css +0 -7
- data/app/controllers/erp_app/desktop/scaffold/base_controller.rb +0 -90
- data/app/controllers/erp_app/desktop/security_management/base_controller.rb +0 -47
- data/app/controllers/erp_app/desktop/security_management/capabilities_controller.rb +0 -125
- data/app/controllers/erp_app/desktop/security_management/groups_controller.rb +0 -198
- data/app/controllers/erp_app/desktop/security_management/roles_controller.rb +0 -183
- data/app/controllers/erp_app/desktop/security_management/users_controller.rb +0 -140
- data/app/controllers/erp_app/mobile/base_controller.rb +0 -21
- data/app/controllers/erp_app/mobile/login_controller.rb +0 -11
- data/app/controllers/erp_app/mobile/user_management/base_controller.rb +0 -20
- data/app/models/app_container.rb +0 -31
- data/app/models/desktop.rb +0 -72
- data/app/models/mobile.rb +0 -9
- data/app/models/mobile_application.rb +0 -6
- data/app/models/organizer.rb +0 -11
- data/app/models/organizer_application.rb +0 -2
- data/app/observers/user_app_container_observer.rb +0 -20
- data/app/views/erp_app/mobile/base/index.erb +0 -44
- data/app/views/erp_app/mobile/login/index.erb +0 -21
- data/config/initializers/erp_app.rb +0 -5
- data/db/data_migrations/20110728201733_update_preferences.rb +0 -52
- data/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.rb +0 -23
- data/db/data_migrations/20110817160743_add_file_manager_application.rb +0 -31
- data/db/data_migrations/20111108183739_add_default_capabilities.rb +0 -22
- data/db/data_migrations/20111108183740_add_new_contact_widgets.rb +0 -41
- data/db/data_migrations/20120229160222_add_userinfo_widget.rb +0 -28
- data/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.rb +0 -10
- data/db/data_migrations/20120411180756_create_user_management_mobile_application.rb +0 -16
- data/db/data_migrations/20120418164215_create_configuration_management_desktop_application.rb +0 -26
- data/db/data_migrations/20121018143910_create_job_tracker_desktop_application.rb +0 -22
- data/db/data_migrations/20121018172347_created_tracked_jobs.rb +0 -14
- data/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.rb +0 -15
- data/db/data_migrations/20121218175028_create_security_management_desktop_application.rb +0 -28
- data/db/data_migrations/20130411200351_add_job_tracker_mobile_app.rb +0 -16
- data/db/data_migrations/20130703181549_create_tail_desktop_application.rb +0 -19
- data/db/data_migrations/20131102171801_add_customer_role_type.rb +0 -11
- data/db/data_migrations/20131108191057_add_customer_employee_reln.rb +0 -26
- data/db/data_migrations/20140122205941_remove_theme_preference.rb +0 -21
- data/db/migrate/20120920145259_add_job_tracker.rb +0 -19
- data/db/migrate/20130410182333_update_mobile_application.rb +0 -27
- data/db/migrate/20131112013049_add_erp_app_missing_indexes.rb +0 -31
- data/db/migrate/20131129205550_add_precedence_to_configuration_item_types.rb +0 -7
- data/lib/active_ext/active_ext.rb +0 -587
- data/lib/active_ext/core.rb +0 -105
- data/lib/active_ext/data_structures/column.rb +0 -21
- data/lib/active_ext/data_structures/columns.rb +0 -69
- data/lib/active_ext/data_structures/data_structures.rb +0 -2
- data/lib/active_ext/ext_helpers/column_builder.rb +0 -136
- data/lib/active_ext/ext_helpers/data_helper.rb +0 -67
- data/lib/active_ext/ext_helpers/ext_helpers.rb +0 -5
- data/lib/active_ext/ext_helpers/field_builder.rb +0 -146
- data/lib/active_ext/ext_helpers/form_builder.rb +0 -49
- data/lib/active_ext/ext_helpers/table_builder.rb +0 -77
- data/lib/erp_app/application_resource_loader.rb +0 -4
- data/lib/erp_app/application_resource_loader/base_loader.rb +0 -17
- data/lib/erp_app/application_resource_loader/desktop_organizer_loader.rb +0 -71
- data/lib/erp_app/application_resource_loader/mobile_loader.rb +0 -46
- data/lib/erp_app/application_resource_loader/shared_loader.rb +0 -26
- data/lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb +0 -17
- data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +0 -38
- data/lib/generators/active_ext/USAGE +0 -16
- data/lib/generators/active_ext/active_ext_generator.rb +0 -43
- data/lib/generators/active_ext/templates/INSTALL +0 -11
- data/lib/generators/active_ext/templates/controllers/controller_template.erb +0 -23
- data/lib/generators/active_ext/templates/public/module.js.erb +0 -16
- data/lib/generators/active_ext/templates/views/create.html.erb +0 -19
- data/lib/generators/active_ext/templates/views/edit.html.erb +0 -65
- data/lib/generators/active_ext/templates/views/new.html.erb +0 -41
- data/lib/generators/active_ext/templates/views/show.html.erb +0 -58
- data/lib/generators/active_ext/templates/views/update.html.erb +0 -1
- data/lib/generators/compass_ae_mobile/USAGE +0 -9
- data/lib/generators/compass_ae_mobile/compass_ae_mobile_generator.rb +0 -38
- data/lib/generators/compass_ae_mobile/templates/controllers/controller_template.erb +0 -4
- data/lib/generators/compass_ae_mobile/templates/javascripts/main_template.erb +0 -29
- data/lib/generators/compass_ae_mobile/templates/views/view_template.erb +0 -25
- data/lib/generators/desktop_application/USAGE +0 -24
- data/lib/generators/desktop_application/desktop_application_generator.rb +0 -25
- data/lib/generators/desktop_application/templates/INSTALL +0 -25
- data/lib/generators/mobile_application/USAGE +0 -24
- data/lib/generators/mobile_application/mobile_application_generator.rb +0 -25
- data/lib/generators/mobile_application/templates/controllers/controller_template.erb +0 -13
- data/lib/generators/mobile_application/templates/migrate/migration_template.erb +0 -14
- data/lib/generators/mobile_application/templates/public/app.js.erb +0 -24
- data/lib/generators/organizer_application/USAGE +0 -27
- data/lib/generators/organizer_application/organizer_application_generator.rb +0 -25
- data/lib/generators/organizer_application/templates/INSTALL +0 -28
- data/lib/generators/organizer_application/templates/controllers/controller_template.erb +0 -12
- data/lib/generators/organizer_application/templates/migrate/migration_template.erb +0 -14
- data/lib/generators/organizer_application/templates/public/base.js.erb +0 -28
- data/public/images/art/compass-ae-logo-reverse-1.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
- data/public/images/icons/fieldtypes/business_party.png +0 -0
- data/public/images/icons/fieldtypes/check.png +0 -0
- data/public/images/icons/fieldtypes/date.png +0 -0
- data/public/images/icons/fieldtypes/display.png +0 -0
- data/public/images/icons/fieldtypes/email.png +0 -0
- data/public/images/icons/fieldtypes/file.png +0 -0
- data/public/images/icons/fieldtypes/file_assets.png +0 -0
- data/public/images/icons/fieldtypes/image.png +0 -0
- data/public/images/icons/fieldtypes/money.png +0 -0
- data/public/images/icons/fieldtypes/number.png +0 -0
- data/public/images/icons/fieldtypes/password.png +0 -0
- data/public/images/icons/fieldtypes/question.png +0 -0
- data/public/images/icons/fieldtypes/radio.png +0 -0
- data/public/images/icons/fieldtypes/select.png +0 -0
- data/public/images/icons/fieldtypes/text.png +0 -0
- data/public/images/icons/fieldtypes/text.psd +0 -0
- data/public/images/icons/fieldtypes/text_area.png +0 -0
- data/public/images/icons/fieldtypes/time.png +0 -0
- data/public/images/icons/fieldtypes/yes_no.png +0 -0
- data/public/images/icons/login/login_48x48.png +0 -0
- data/public/images/icons/mail/mail_48x48.png +0 -0
- data/public/images/icons/manage-profile/manage-profile_48x48.png +0 -0
- data/public/images/icons/map/map_48x48.png +0 -0
- data/public/images/icons/package/package_48x48.png +0 -0
- data/public/images/icons/product/product_48x48.png +0 -0
- data/public/images/icons/recycle/recycle_16x16.png +0 -0
- data/public/images/icons/reset-password/reset-password_48x48.png +0 -0
- data/public/images/icons/search/search_48x48.png +0 -0
- data/public/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
- data/public/images/icons/sign_up/sign_up_48x48.png +0 -0
- data/public/images/icons/signup/signup_48x48.png +0 -0
- data/public/javascripts/erp_app/authentication/compass_user.js +0 -94
- data/public/javascripts/erp_app/ckeditor/config.js +0 -12
- data/public/javascripts/erp_app/ckeditor/plugins/compasssave/plugin.js +0 -22
- data/public/javascripts/erp_app/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/public/javascripts/erp_app/ckeditor/plugins/inlineeditsave/plugin.js +0 -42
- data/public/javascripts/erp_app/ckeditor/plugins/knitkitthemes/plugin.js +0 -116
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/README.md +0 -25
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/options.js +0 -20
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
- data/public/javascripts/erp_app/ckeditor_example_config_override.js +0 -45
- data/public/javascripts/erp_app/codemirror/lib/codemirror.css +0 -272
- data/public/javascripts/erp_app/codemirror/lib/codemirror.js +0 -55
- data/public/javascripts/erp_app/codemirror/theme/3024-day.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/3024-night.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/ambiance-mobile.css +0 -5
- data/public/javascripts/erp_app/codemirror/theme/ambiance.css +0 -74
- data/public/javascripts/erp_app/codemirror/theme/base16-dark.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/base16-light.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/blackboard.css +0 -28
- data/public/javascripts/erp_app/codemirror/theme/cobalt.css +0 -21
- data/public/javascripts/erp_app/codemirror/theme/eclipse.css +0 -23
- data/public/javascripts/erp_app/codemirror/theme/elegant.css +0 -13
- data/public/javascripts/erp_app/codemirror/theme/erlang-dark.css +0 -30
- data/public/javascripts/erp_app/codemirror/theme/lesser-dark.css +0 -43
- data/public/javascripts/erp_app/codemirror/theme/mbo.css +0 -37
- data/public/javascripts/erp_app/codemirror/theme/mdn-like.css +0 -44
- data/public/javascripts/erp_app/codemirror/theme/midnight.css +0 -43
- data/public/javascripts/erp_app/codemirror/theme/monokai.css +0 -29
- data/public/javascripts/erp_app/codemirror/theme/neat.css +0 -12
- data/public/javascripts/erp_app/codemirror/theme/neo.css +0 -40
- data/public/javascripts/erp_app/codemirror/theme/night.css +0 -24
- data/public/javascripts/erp_app/codemirror/theme/paraiso-dark.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/paraiso-light.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/pastel-on-dark.css +0 -48
- data/public/javascripts/erp_app/codemirror/theme/rubyblue.css +0 -21
- data/public/javascripts/erp_app/codemirror/theme/solarized.css +0 -167
- data/public/javascripts/erp_app/codemirror/theme/the-matrix.css +0 -26
- data/public/javascripts/erp_app/codemirror/theme/tomorrow-night-eighties.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/twilight.css +0 -28
- data/public/javascripts/erp_app/codemirror/theme/vibrant-ink.css +0 -30
- data/public/javascripts/erp_app/codemirror/theme/xq-dark.css +0 -49
- data/public/javascripts/erp_app/codemirror/theme/xq-light.css +0 -43
- data/public/javascripts/erp_app/codemirror_highlight.js +0 -17
- data/public/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +0 -38
- data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +0 -95
- data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +0 -73
- data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +0 -120
- data/public/javascripts/erp_app/desktop/applications/job_tracker/module.js +0 -44
- data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +0 -86
- data/public/javascripts/erp_app/desktop/applications/scaffold/module.js +0 -62
- data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +0 -62
- data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +0 -241
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +0 -94
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +0 -298
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +0 -241
- data/public/javascripts/erp_app/desktop/applications/security_management/module.js +0 -173
- data/public/javascripts/erp_app/desktop/applications/security_management/north_panel.js +0 -31
- data/public/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +0 -309
- data/public/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +0 -241
- data/public/javascripts/erp_app/desktop/applications/security_management/south_panel.js +0 -126
- data/public/javascripts/erp_app/desktop/applications/security_management/users_effective_security.js +0 -128
- data/public/javascripts/erp_app/desktop/applications/security_management/users_panel.js +0 -59
- data/public/javascripts/erp_app/desktop/applications/security_management/users_widget.js +0 -245
- data/public/javascripts/erp_app/desktop/applications/user_management/module.js +0 -469
- data/public/javascripts/erp_app/desktop/applications/user_management/personal_info_panel.js +0 -117
- data/public/javascripts/erp_app/desktop/applications/user_management/role_management_panel.js +0 -208
- data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +0 -206
- data/public/javascripts/erp_app/desktop/ext_ux_desktop_module.js +0 -1014
- data/public/javascripts/erp_app/ecommerce/credit_card_window.js +0 -329
- data/public/javascripts/erp_app/highslide/examples/ajax.html +0 -51
- data/public/javascripts/erp_app/highslide/examples/flash.html +0 -61
- data/public/javascripts/erp_app/highslide/examples/gallery-controls-in-heading.html +0 -89
- data/public/javascripts/erp_app/highslide/examples/gallery-dark.html +0 -93
- data/public/javascripts/erp_app/highslide/examples/gallery-floating-caption.html +0 -91
- data/public/javascripts/erp_app/highslide/examples/gallery-floating-thumbs.html +0 -144
- data/public/javascripts/erp_app/highslide/examples/gallery-horizontal-strip.html +0 -147
- data/public/javascripts/erp_app/highslide/examples/gallery-in-box.html +0 -95
- data/public/javascripts/erp_app/highslide/examples/gallery-in-page.html +0 -221
- data/public/javascripts/erp_app/highslide/examples/gallery-thumbstrip-above.html +0 -142
- data/public/javascripts/erp_app/highslide/examples/gallery-vertical-strip.html +0 -178
- data/public/javascripts/erp_app/highslide/examples/gallery-white.html +0 -90
- data/public/javascripts/erp_app/highslide/examples/headline.html +0 -49
- data/public/javascripts/erp_app/highslide/examples/html.html +0 -67
- data/public/javascripts/erp_app/highslide/examples/iframe.html +0 -44
- data/public/javascripts/erp_app/highslide/examples/image-map.html +0 -49
- data/public/javascripts/erp_app/highslide/examples/includes/Flash.swf +0 -0
- data/public/javascripts/erp_app/highslide/examples/includes/ajax.htm +0 -45
- data/public/javascripts/erp_app/highslide/examples/includes/include-short.htm +0 -40
- data/public/javascripts/erp_app/highslide/examples/inline.html +0 -50
- data/public/javascripts/erp_app/highslide/examples/mini-galleries.html +0 -135
- data/public/javascripts/erp_app/highslide/examples/mini-gallery.html +0 -89
- data/public/javascripts/erp_app/highslide/examples/no-border.html +0 -62
- data/public/javascripts/erp_app/highslide/examples/no-outline.html +0 -52
- data/public/javascripts/erp_app/highslide/examples/outer-glow.html +0 -53
- data/public/javascripts/erp_app/highslide/examples/white-10px.html +0 -51
- data/public/javascripts/erp_app/highslide/examples/white-rounded-outline.html +0 -51
- data/public/javascripts/erp_app/highslide/examples/youtube.html +0 -62
- data/public/javascripts/erp_app/highslide/highslide/highslide-full.js +0 -3302
- data/public/javascripts/erp_app/highslide/highslide/highslide-full.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-full.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.js +0 -2639
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.js +0 -2476
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide.css +0 -886
- data/public/javascripts/erp_app/highslide/highslide/highslide.js +0 -1886
- data/public/javascripts/erp_app/highslide/highslide/highslide.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/images/full-image.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/full6.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery1.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery1.thumb.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery2.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery2.thumb.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery3.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery3.thumb.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/nordic.gif +0 -0
- data/public/javascripts/erp_app/highslide/images/thumb6.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbnail.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip01.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip01.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip02.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip02.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip03.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip03.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip04.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip04.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip05.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip05.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip06.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip06.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip07.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip07.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip08.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip08.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip09.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip09.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip10.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip10.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip11.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip11.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip12.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip12.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip13.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip13.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip14.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip14.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip15.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip15.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip16.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip16.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip17.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip17.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip18.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip18.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip19.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip19.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip20.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip20.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip21.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip21.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip22.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip22.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip23.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip23.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip24.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip24.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/index.htm +0 -68
- data/public/javascripts/erp_app/jquery_support.js +0 -31
- data/public/javascripts/erp_app/login/mobile.js +0 -58
- data/public/javascripts/erp_app/login/window.js +0 -124
- data/public/javascripts/erp_app/mobile/app.js +0 -74
- data/public/javascripts/erp_app/mobile/applications/job_tracker/app.js +0 -177
- data/public/javascripts/erp_app/mobile/applications/job_tracker/model/job.js +0 -15
- data/public/javascripts/erp_app/mobile/applications/job_tracker/store/jobs.js +0 -16
- data/public/javascripts/erp_app/mobile/applications/job_tracker/view/templates.js +0 -22
- data/public/javascripts/erp_app/mobile/applications/user_management/app.js +0 -112
- data/public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js +0 -14
- data/public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js +0 -19
- data/public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js +0 -34
- data/public/javascripts/erp_app/mobile/mobile_base.js +0 -10
- data/public/javascripts/erp_app/organizer/applications/crm/base.js +0 -64
- data/public/javascripts/erp_app/organizer/default_menu_tree_panel.js +0 -69
- data/public/javascripts/erp_app/organizer/layout.js +0 -267
- data/public/javascripts/erp_app/shared/MoneyField.js +0 -119
- data/public/javascripts/erp_app/shared/active_ext/active_ext_grid.js +0 -351
- data/public/javascripts/erp_app/shared/audit_log/GridPanel.js +0 -214
- data/public/javascripts/erp_app/shared/audit_log/TabPanel.js +0 -103
- data/public/javascripts/erp_app/shared/compass_ckeditor.js +0 -264
- data/public/javascripts/erp_app/shared/compass_codemirror.js +0 -466
- data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +0 -128
- data/public/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +0 -812
- data/public/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +0 -344
- data/public/javascripts/erp_app/shared/crm/PartyForm.js +0 -321
- data/public/javascripts/erp_app/shared/crm/PartyGrid.js +0 -591
- data/public/javascripts/erp_app/shared/crm/UserForm.js +0 -307
- data/public/javascripts/erp_app/shared/crm/UsersGrid.js +0 -492
- data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +0 -140
- data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +0 -64
- data/public/javascripts/erp_app/shared/dynamic_form_fields.js +0 -99
- data/public/javascripts/erp_app/shared/file_manager_tree.js +0 -722
- data/public/javascripts/erp_app/shared/file_upload/Ext.ux.panel.UploadPanel.js +0 -580
- data/public/javascripts/erp_app/shared/file_upload/upload_window.js +0 -63
- data/public/javascripts/erp_app/shared/notes_grid.js +0 -338
- data/public/javascripts/erp_app/shared/profile_management_panel.js +0 -137
- data/public/javascripts/erp_app/utility.js +0 -654
- data/public/javascripts/erp_app/widgets.js +0 -82
- data/public/stylesheets/erp_app/desktop/base.css +0 -254
- data/public/stylesheets/erp_app/login/main.css +0 -4
- data/public/stylesheets/erp_app/mobile/applications/user_management/main.css +0 -21
- data/public/stylesheets/erp_app/mobile/mobile.css +0 -47
- data/public/stylesheets/erp_app/organizer/base.css +0 -6
- data/public/stylesheets/erp_app/shared/compass-ext-all.css +0 -547
- data/public/stylesheets/erp_app/shared/crm.css +0 -45
- data/public/stylesheets/jquery_plugins/jquery.loadmask.css +0 -40
@@ -1,1886 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Name: Highslide JS
|
3
|
-
* Version: 4.1.12 (2011-03-28)
|
4
|
-
* Config: default
|
5
|
-
* Author: Torstein Hønsi
|
6
|
-
* Support: www.highslide.com/support
|
7
|
-
* License: www.highslide.com/#license
|
8
|
-
*/
|
9
|
-
if (!hs) { var hs = {
|
10
|
-
// Language strings
|
11
|
-
lang : {
|
12
|
-
cssDirection: 'ltr',
|
13
|
-
loadingText : 'Loading...',
|
14
|
-
loadingTitle : 'Click to cancel',
|
15
|
-
focusTitle : 'Click to bring to front',
|
16
|
-
fullExpandTitle : 'Expand to actual size (f)',
|
17
|
-
creditsText : 'Powered by <i>Highslide JS</i>',
|
18
|
-
creditsTitle : 'Go to the Highslide JS homepage',
|
19
|
-
restoreTitle : 'Click to close image, click and drag to move. Use arrow keys for next and previous.'
|
20
|
-
},
|
21
|
-
// See http://highslide.com/ref for examples of settings
|
22
|
-
graphicsDir : '/javascripts/erp_app/highslide/highslide/graphics/',
|
23
|
-
expandCursor : 'zoomin.cur', // null disables
|
24
|
-
restoreCursor : 'zoomout.cur', // null disables
|
25
|
-
expandDuration : 250, // milliseconds
|
26
|
-
restoreDuration : 250,
|
27
|
-
marginLeft : 15,
|
28
|
-
marginRight : 15,
|
29
|
-
marginTop : 15,
|
30
|
-
marginBottom : 15,
|
31
|
-
zIndexCounter : 1001, // adjust to other absolutely positioned elements
|
32
|
-
loadingOpacity : 0.75,
|
33
|
-
allowMultipleInstances: true,
|
34
|
-
numberOfImagesToPreload : 5,
|
35
|
-
outlineWhileAnimating : 2, // 0 = never, 1 = always, 2 = HTML only
|
36
|
-
outlineStartOffset : 3, // ends at 10
|
37
|
-
padToMinWidth : false, // pad the popup width to make room for wide caption
|
38
|
-
fullExpandPosition : 'bottom right',
|
39
|
-
fullExpandOpacity : 1,
|
40
|
-
showCredits : true, // you can set this to false if you want
|
41
|
-
creditsHref : 'http://highslide.com/',
|
42
|
-
creditsTarget : '_self',
|
43
|
-
enableKeyListener : true,
|
44
|
-
openerTagNames : ['a'], // Add more to allow slideshow indexing
|
45
|
-
|
46
|
-
dragByHeading: true,
|
47
|
-
minWidth: 200,
|
48
|
-
minHeight: 200,
|
49
|
-
allowSizeReduction: true, // allow the image to reduce to fit client size. If false, this overrides minWidth and minHeight
|
50
|
-
outlineType : 'drop-shadow', // set null to disable outlines
|
51
|
-
// END OF YOUR SETTINGS
|
52
|
-
|
53
|
-
|
54
|
-
// declare internal properties
|
55
|
-
preloadTheseImages : [],
|
56
|
-
continuePreloading: true,
|
57
|
-
expanders : [],
|
58
|
-
overrides : [
|
59
|
-
'allowSizeReduction',
|
60
|
-
'useBox',
|
61
|
-
'outlineType',
|
62
|
-
'outlineWhileAnimating',
|
63
|
-
'captionId',
|
64
|
-
'captionText',
|
65
|
-
'captionEval',
|
66
|
-
'captionOverlay',
|
67
|
-
'headingId',
|
68
|
-
'headingText',
|
69
|
-
'headingEval',
|
70
|
-
'headingOverlay',
|
71
|
-
'creditsPosition',
|
72
|
-
'dragByHeading',
|
73
|
-
|
74
|
-
'width',
|
75
|
-
'height',
|
76
|
-
|
77
|
-
'wrapperClassName',
|
78
|
-
'minWidth',
|
79
|
-
'minHeight',
|
80
|
-
'maxWidth',
|
81
|
-
'maxHeight',
|
82
|
-
'pageOrigin',
|
83
|
-
'slideshowGroup',
|
84
|
-
'easing',
|
85
|
-
'easingClose',
|
86
|
-
'fadeInOut',
|
87
|
-
'src'
|
88
|
-
],
|
89
|
-
overlays : [],
|
90
|
-
idCounter : 0,
|
91
|
-
oPos : {
|
92
|
-
x: ['leftpanel', 'left', 'center', 'right', 'rightpanel'],
|
93
|
-
y: ['above', 'top', 'middle', 'bottom', 'below']
|
94
|
-
},
|
95
|
-
mouse: {},
|
96
|
-
headingOverlay: {},
|
97
|
-
captionOverlay: {},
|
98
|
-
timers : [],
|
99
|
-
|
100
|
-
pendingOutlines : {},
|
101
|
-
clones : {},
|
102
|
-
onReady: [],
|
103
|
-
uaVersion: /Trident\/4\.0/.test(navigator.userAgent) ? 8 :
|
104
|
-
parseFloat((navigator.userAgent.toLowerCase().match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1]),
|
105
|
-
ie : (document.all && !window.opera),
|
106
|
-
//ie : navigator && /MSIE [678]/.test(navigator.userAgent), // ie9 compliant?
|
107
|
-
safari : /Safari/.test(navigator.userAgent),
|
108
|
-
geckoMac : /Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),
|
109
|
-
|
110
|
-
$ : function (id) {
|
111
|
-
if (id) return document.getElementById(id);
|
112
|
-
},
|
113
|
-
|
114
|
-
push : function (arr, val) {
|
115
|
-
arr[arr.length] = val;
|
116
|
-
},
|
117
|
-
|
118
|
-
createElement : function (tag, attribs, styles, parent, nopad) {
|
119
|
-
var el = document.createElement(tag);
|
120
|
-
if (attribs) hs.extend(el, attribs);
|
121
|
-
if (nopad) hs.setStyles(el, {padding: 0, border: 'none', margin: 0});
|
122
|
-
if (styles) hs.setStyles(el, styles);
|
123
|
-
if (parent) parent.appendChild(el);
|
124
|
-
return el;
|
125
|
-
},
|
126
|
-
|
127
|
-
extend : function (el, attribs) {
|
128
|
-
for (var x in attribs) el[x] = attribs[x];
|
129
|
-
return el;
|
130
|
-
},
|
131
|
-
|
132
|
-
setStyles : function (el, styles) {
|
133
|
-
for (var x in styles) {
|
134
|
-
if (hs.ieLt9 && x == 'opacity') {
|
135
|
-
if (styles[x] > 0.99) el.style.removeAttribute('filter');
|
136
|
-
else el.style.filter = 'alpha(opacity='+ (styles[x] * 100) +')';
|
137
|
-
}
|
138
|
-
else el.style[x] = styles[x];
|
139
|
-
}
|
140
|
-
},
|
141
|
-
animate: function(el, prop, opt) {
|
142
|
-
var start,
|
143
|
-
end,
|
144
|
-
unit;
|
145
|
-
if (typeof opt != 'object' || opt === null) {
|
146
|
-
var args = arguments;
|
147
|
-
opt = {
|
148
|
-
duration: args[2],
|
149
|
-
easing: args[3],
|
150
|
-
complete: args[4]
|
151
|
-
};
|
152
|
-
}
|
153
|
-
if (typeof opt.duration != 'number') opt.duration = 250;
|
154
|
-
opt.easing = Math[opt.easing] || Math.easeInQuad;
|
155
|
-
opt.curAnim = hs.extend({}, prop);
|
156
|
-
for (var name in prop) {
|
157
|
-
var e = new hs.fx(el, opt , name );
|
158
|
-
|
159
|
-
start = parseFloat(hs.css(el, name)) || 0;
|
160
|
-
end = parseFloat(prop[name]);
|
161
|
-
unit = name != 'opacity' ? 'px' : '';
|
162
|
-
|
163
|
-
e.custom( start, end, unit );
|
164
|
-
}
|
165
|
-
},
|
166
|
-
css: function(el, prop) {
|
167
|
-
if (el.style[prop]) {
|
168
|
-
return el.style[prop];
|
169
|
-
} else if (document.defaultView) {
|
170
|
-
return document.defaultView.getComputedStyle(el, null).getPropertyValue(prop);
|
171
|
-
|
172
|
-
} else {
|
173
|
-
if (prop == 'opacity') prop = 'filter';
|
174
|
-
var val = el.currentStyle[prop.replace(/\-(\w)/g, function (a, b){ return b.toUpperCase(); })];
|
175
|
-
if (prop == 'filter')
|
176
|
-
val = val.replace(/alpha\(opacity=([0-9]+)\)/,
|
177
|
-
function (a, b) { return b / 100 });
|
178
|
-
return val === '' ? 1 : val;
|
179
|
-
}
|
180
|
-
},
|
181
|
-
|
182
|
-
getPageSize : function () {
|
183
|
-
var d = document, w = window, iebody = d.compatMode && d.compatMode != 'BackCompat'
|
184
|
-
? d.documentElement : d.body;
|
185
|
-
|
186
|
-
var width = hs.ieLt9 ? iebody.clientWidth :
|
187
|
-
(d.documentElement.clientWidth || self.innerWidth),
|
188
|
-
height = hs.ieLt9 ? iebody.clientHeight : self.innerHeight;
|
189
|
-
|
190
|
-
hs.page = {
|
191
|
-
width: width,
|
192
|
-
height: height,
|
193
|
-
scrollLeft: hs.ieLt9 ? iebody.scrollLeft : pageXOffset,
|
194
|
-
scrollTop: hs.ieLt9 ? iebody.scrollTop : pageYOffset
|
195
|
-
};
|
196
|
-
return hs.page;
|
197
|
-
},
|
198
|
-
|
199
|
-
getPosition : function(el) {
|
200
|
-
var p = { x: el.offsetLeft, y: el.offsetTop };
|
201
|
-
while (el.offsetParent) {
|
202
|
-
el = el.offsetParent;
|
203
|
-
p.x += el.offsetLeft;
|
204
|
-
p.y += el.offsetTop;
|
205
|
-
if (el != document.body && el != document.documentElement) {
|
206
|
-
p.x -= el.scrollLeft;
|
207
|
-
p.y -= el.scrollTop;
|
208
|
-
}
|
209
|
-
}
|
210
|
-
return p;
|
211
|
-
},
|
212
|
-
|
213
|
-
expand : function(a, params, custom, type) {
|
214
|
-
if (!a) a = hs.createElement('a', null, { display: 'none' }, hs.container);
|
215
|
-
if (typeof a.getParams == 'function') return params;
|
216
|
-
try {
|
217
|
-
new hs.Expander(a, params, custom);
|
218
|
-
return false;
|
219
|
-
} catch (e) { return true; }
|
220
|
-
},
|
221
|
-
|
222
|
-
|
223
|
-
focusTopmost : function() {
|
224
|
-
var topZ = 0,
|
225
|
-
topmostKey = -1,
|
226
|
-
expanders = hs.expanders,
|
227
|
-
exp,
|
228
|
-
zIndex;
|
229
|
-
for (var i = 0; i < expanders.length; i++) {
|
230
|
-
exp = expanders[i];
|
231
|
-
if (exp) {
|
232
|
-
zIndex = exp.wrapper.style.zIndex;
|
233
|
-
if (zIndex && zIndex > topZ) {
|
234
|
-
topZ = zIndex;
|
235
|
-
topmostKey = i;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
}
|
239
|
-
if (topmostKey == -1) hs.focusKey = -1;
|
240
|
-
else expanders[topmostKey].focus();
|
241
|
-
},
|
242
|
-
|
243
|
-
getParam : function (a, param) {
|
244
|
-
a.getParams = a.onclick;
|
245
|
-
var p = a.getParams ? a.getParams() : null;
|
246
|
-
a.getParams = null;
|
247
|
-
|
248
|
-
return (p && typeof p[param] != 'undefined') ? p[param] :
|
249
|
-
(typeof hs[param] != 'undefined' ? hs[param] : null);
|
250
|
-
},
|
251
|
-
|
252
|
-
getSrc : function (a) {
|
253
|
-
var src = hs.getParam(a, 'src');
|
254
|
-
if (src) return src;
|
255
|
-
return a.href;
|
256
|
-
},
|
257
|
-
|
258
|
-
getNode : function (id) {
|
259
|
-
var node = hs.$(id), clone = hs.clones[id], a = {};
|
260
|
-
if (!node && !clone) return null;
|
261
|
-
if (!clone) {
|
262
|
-
clone = node.cloneNode(true);
|
263
|
-
clone.id = '';
|
264
|
-
hs.clones[id] = clone;
|
265
|
-
return node;
|
266
|
-
} else {
|
267
|
-
return clone.cloneNode(true);
|
268
|
-
}
|
269
|
-
},
|
270
|
-
|
271
|
-
discardElement : function(d) {
|
272
|
-
if (d) hs.garbageBin.appendChild(d);
|
273
|
-
hs.garbageBin.innerHTML = '';
|
274
|
-
},
|
275
|
-
transit : function (adj, exp) {
|
276
|
-
var last = exp || hs.getExpander();
|
277
|
-
exp = last;
|
278
|
-
if (hs.upcoming) return false;
|
279
|
-
else hs.last = last;
|
280
|
-
hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
281
|
-
try {
|
282
|
-
hs.upcoming = adj;
|
283
|
-
adj.onclick();
|
284
|
-
} catch (e){
|
285
|
-
hs.last = hs.upcoming = null;
|
286
|
-
}
|
287
|
-
try {
|
288
|
-
exp.close();
|
289
|
-
} catch (e) {}
|
290
|
-
return false;
|
291
|
-
},
|
292
|
-
|
293
|
-
previousOrNext : function (el, op) {
|
294
|
-
var exp = hs.getExpander(el);
|
295
|
-
if (exp) return hs.transit(exp.getAdjacentAnchor(op), exp);
|
296
|
-
else return false;
|
297
|
-
},
|
298
|
-
|
299
|
-
previous : function (el) {
|
300
|
-
return hs.previousOrNext(el, -1);
|
301
|
-
},
|
302
|
-
|
303
|
-
next : function (el) {
|
304
|
-
return hs.previousOrNext(el, 1);
|
305
|
-
},
|
306
|
-
|
307
|
-
keyHandler : function(e) {
|
308
|
-
if (!e) e = window.event;
|
309
|
-
if (!e.target) e.target = e.srcElement; // ie
|
310
|
-
if (typeof e.target.form != 'undefined') return true; // form element has focus
|
311
|
-
var exp = hs.getExpander();
|
312
|
-
|
313
|
-
var op = null;
|
314
|
-
switch (e.keyCode) {
|
315
|
-
case 70: // f
|
316
|
-
if (exp) exp.doFullExpand();
|
317
|
-
return true;
|
318
|
-
case 32: // Space
|
319
|
-
case 34: // Page Down
|
320
|
-
case 39: // Arrow right
|
321
|
-
case 40: // Arrow down
|
322
|
-
op = 1;
|
323
|
-
break;
|
324
|
-
case 8: // Backspace
|
325
|
-
case 33: // Page Up
|
326
|
-
case 37: // Arrow left
|
327
|
-
case 38: // Arrow up
|
328
|
-
op = -1;
|
329
|
-
break;
|
330
|
-
case 27: // Escape
|
331
|
-
case 13: // Enter
|
332
|
-
op = 0;
|
333
|
-
}
|
334
|
-
if (op !== null) {
|
335
|
-
hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
336
|
-
if (!hs.enableKeyListener) return true;
|
337
|
-
|
338
|
-
if (e.preventDefault) e.preventDefault();
|
339
|
-
else e.returnValue = false;
|
340
|
-
if (exp) {
|
341
|
-
if (op == 0) {
|
342
|
-
exp.close();
|
343
|
-
} else {
|
344
|
-
hs.previousOrNext(exp.key, op);
|
345
|
-
}
|
346
|
-
return false;
|
347
|
-
}
|
348
|
-
}
|
349
|
-
return true;
|
350
|
-
},
|
351
|
-
|
352
|
-
|
353
|
-
registerOverlay : function (overlay) {
|
354
|
-
hs.push(hs.overlays, hs.extend(overlay, { hsId: 'hsId'+ hs.idCounter++ } ));
|
355
|
-
},
|
356
|
-
|
357
|
-
|
358
|
-
getWrapperKey : function (element, expOnly) {
|
359
|
-
var el, re = /^highslide-wrapper-([0-9]+)$/;
|
360
|
-
// 1. look in open expanders
|
361
|
-
el = element;
|
362
|
-
while (el.parentNode) {
|
363
|
-
if (el.id && re.test(el.id)) return el.id.replace(re, "$1");
|
364
|
-
el = el.parentNode;
|
365
|
-
}
|
366
|
-
// 2. look in thumbnail
|
367
|
-
if (!expOnly) {
|
368
|
-
el = element;
|
369
|
-
while (el.parentNode) {
|
370
|
-
if (el.tagName && hs.isHsAnchor(el)) {
|
371
|
-
for (var key = 0; key < hs.expanders.length; key++) {
|
372
|
-
var exp = hs.expanders[key];
|
373
|
-
if (exp && exp.a == el) return key;
|
374
|
-
}
|
375
|
-
}
|
376
|
-
el = el.parentNode;
|
377
|
-
}
|
378
|
-
}
|
379
|
-
return null;
|
380
|
-
},
|
381
|
-
|
382
|
-
getExpander : function (el, expOnly) {
|
383
|
-
if (typeof el == 'undefined') return hs.expanders[hs.focusKey] || null;
|
384
|
-
if (typeof el == 'number') return hs.expanders[el] || null;
|
385
|
-
if (typeof el == 'string') el = hs.$(el);
|
386
|
-
return hs.expanders[hs.getWrapperKey(el, expOnly)] || null;
|
387
|
-
},
|
388
|
-
|
389
|
-
isHsAnchor : function (a) {
|
390
|
-
return (a.onclick && a.onclick.toString().replace(/\s/g, ' ').match(/hs.(htmlE|e)xpand/));
|
391
|
-
},
|
392
|
-
|
393
|
-
reOrder : function () {
|
394
|
-
for (var i = 0; i < hs.expanders.length; i++)
|
395
|
-
if (hs.expanders[i] && hs.expanders[i].isExpanded) hs.focusTopmost();
|
396
|
-
},
|
397
|
-
|
398
|
-
mouseClickHandler : function(e)
|
399
|
-
{
|
400
|
-
if (!e) e = window.event;
|
401
|
-
if (e.button > 1) return true;
|
402
|
-
if (!e.target) e.target = e.srcElement;
|
403
|
-
|
404
|
-
var el = e.target;
|
405
|
-
while (el.parentNode
|
406
|
-
&& !(/highslide-(image|move|html|resize)/.test(el.className)))
|
407
|
-
{
|
408
|
-
el = el.parentNode;
|
409
|
-
}
|
410
|
-
var exp = hs.getExpander(el);
|
411
|
-
if (exp && (exp.isClosing || !exp.isExpanded)) return true;
|
412
|
-
|
413
|
-
if (exp && e.type == 'mousedown') {
|
414
|
-
if (e.target.form) return true;
|
415
|
-
var match = el.className.match(/highslide-(image|move|resize)/);
|
416
|
-
if (match) {
|
417
|
-
hs.dragArgs = {
|
418
|
-
exp: exp ,
|
419
|
-
type: match[1],
|
420
|
-
left: exp.x.pos,
|
421
|
-
width: exp.x.size,
|
422
|
-
top: exp.y.pos,
|
423
|
-
height: exp.y.size,
|
424
|
-
clickX: e.clientX,
|
425
|
-
clickY: e.clientY
|
426
|
-
};
|
427
|
-
|
428
|
-
|
429
|
-
hs.addEventListener(document, 'mousemove', hs.dragHandler);
|
430
|
-
if (e.preventDefault) e.preventDefault(); // FF
|
431
|
-
|
432
|
-
if (/highslide-(image|html)-blur/.test(exp.content.className)) {
|
433
|
-
exp.focus();
|
434
|
-
hs.hasFocused = true;
|
435
|
-
}
|
436
|
-
return false;
|
437
|
-
}
|
438
|
-
} else if (e.type == 'mouseup') {
|
439
|
-
|
440
|
-
hs.removeEventListener(document, 'mousemove', hs.dragHandler);
|
441
|
-
|
442
|
-
if (hs.dragArgs) {
|
443
|
-
if (hs.styleRestoreCursor && hs.dragArgs.type == 'image')
|
444
|
-
hs.dragArgs.exp.content.style.cursor = hs.styleRestoreCursor;
|
445
|
-
var hasDragged = hs.dragArgs.hasDragged;
|
446
|
-
|
447
|
-
if (!hasDragged &&!hs.hasFocused && !/(move|resize)/.test(hs.dragArgs.type)) {
|
448
|
-
exp.close();
|
449
|
-
}
|
450
|
-
else if (hasDragged || (!hasDragged && hs.hasHtmlExpanders)) {
|
451
|
-
hs.dragArgs.exp.doShowHide('hidden');
|
452
|
-
}
|
453
|
-
hs.hasFocused = false;
|
454
|
-
hs.dragArgs = null;
|
455
|
-
|
456
|
-
} else if (/highslide-image-blur/.test(el.className)) {
|
457
|
-
el.style.cursor = hs.styleRestoreCursor;
|
458
|
-
}
|
459
|
-
}
|
460
|
-
return false;
|
461
|
-
},
|
462
|
-
|
463
|
-
dragHandler : function(e)
|
464
|
-
{
|
465
|
-
if (!hs.dragArgs) return true;
|
466
|
-
if (!e) e = window.event;
|
467
|
-
var a = hs.dragArgs, exp = a.exp;
|
468
|
-
|
469
|
-
a.dX = e.clientX - a.clickX;
|
470
|
-
a.dY = e.clientY - a.clickY;
|
471
|
-
|
472
|
-
var distance = Math.sqrt(Math.pow(a.dX, 2) + Math.pow(a.dY, 2));
|
473
|
-
if (!a.hasDragged) a.hasDragged = (a.type != 'image' && distance > 0)
|
474
|
-
|| (distance > (hs.dragSensitivity || 5));
|
475
|
-
|
476
|
-
if (a.hasDragged && e.clientX > 5 && e.clientY > 5) {
|
477
|
-
|
478
|
-
if (a.type == 'resize') exp.resize(a);
|
479
|
-
else {
|
480
|
-
exp.moveTo(a.left + a.dX, a.top + a.dY);
|
481
|
-
if (a.type == 'image') exp.content.style.cursor = 'move';
|
482
|
-
}
|
483
|
-
}
|
484
|
-
return false;
|
485
|
-
},
|
486
|
-
|
487
|
-
wrapperMouseHandler : function (e) {
|
488
|
-
try {
|
489
|
-
if (!e) e = window.event;
|
490
|
-
var over = /mouseover/i.test(e.type);
|
491
|
-
if (!e.target) e.target = e.srcElement; // ie
|
492
|
-
if (!e.relatedTarget) e.relatedTarget =
|
493
|
-
over ? e.fromElement : e.toElement; // ie
|
494
|
-
var exp = hs.getExpander(e.target);
|
495
|
-
if (!exp.isExpanded) return;
|
496
|
-
if (!exp || !e.relatedTarget || hs.getExpander(e.relatedTarget, true) == exp
|
497
|
-
|| hs.dragArgs) return;
|
498
|
-
for (var i = 0; i < exp.overlays.length; i++) (function() {
|
499
|
-
var o = hs.$('hsId'+ exp.overlays[i]);
|
500
|
-
if (o && o.hideOnMouseOut) {
|
501
|
-
if (over) hs.setStyles(o, { visibility: 'visible', display: '' });
|
502
|
-
hs.animate(o, { opacity: over ? o.opacity : 0 }, o.dur);
|
503
|
-
}
|
504
|
-
})();
|
505
|
-
} catch (e) {}
|
506
|
-
},
|
507
|
-
addEventListener : function (el, event, func) {
|
508
|
-
if (el == document && event == 'ready') {
|
509
|
-
hs.push(hs.onReady, func);
|
510
|
-
}
|
511
|
-
try {
|
512
|
-
el.addEventListener(event, func, false);
|
513
|
-
} catch (e) {
|
514
|
-
try {
|
515
|
-
el.detachEvent('on'+ event, func);
|
516
|
-
el.attachEvent('on'+ event, func);
|
517
|
-
} catch (e) {
|
518
|
-
el['on'+ event] = func;
|
519
|
-
}
|
520
|
-
}
|
521
|
-
},
|
522
|
-
|
523
|
-
removeEventListener : function (el, event, func) {
|
524
|
-
try {
|
525
|
-
el.removeEventListener(event, func, false);
|
526
|
-
} catch (e) {
|
527
|
-
try {
|
528
|
-
el.detachEvent('on'+ event, func);
|
529
|
-
} catch (e) {
|
530
|
-
el['on'+ event] = null;
|
531
|
-
}
|
532
|
-
}
|
533
|
-
},
|
534
|
-
|
535
|
-
preloadFullImage : function (i) {
|
536
|
-
if (hs.continuePreloading && hs.preloadTheseImages[i] && hs.preloadTheseImages[i] != 'undefined') {
|
537
|
-
var img = document.createElement('img');
|
538
|
-
img.onload = function() {
|
539
|
-
img = null;
|
540
|
-
hs.preloadFullImage(i + 1);
|
541
|
-
};
|
542
|
-
img.src = hs.preloadTheseImages[i];
|
543
|
-
}
|
544
|
-
},
|
545
|
-
preloadImages : function (number) {
|
546
|
-
if (number && typeof number != 'object') hs.numberOfImagesToPreload = number;
|
547
|
-
|
548
|
-
var arr = hs.getAnchors();
|
549
|
-
for (var i = 0; i < arr.images.length && i < hs.numberOfImagesToPreload; i++) {
|
550
|
-
hs.push(hs.preloadTheseImages, hs.getSrc(arr.images[i]));
|
551
|
-
}
|
552
|
-
|
553
|
-
// preload outlines
|
554
|
-
if (hs.outlineType) new hs.Outline(hs.outlineType, function () { hs.preloadFullImage(0)} );
|
555
|
-
else
|
556
|
-
|
557
|
-
hs.preloadFullImage(0);
|
558
|
-
|
559
|
-
// preload cursor
|
560
|
-
if (hs.restoreCursor) var cur = hs.createElement('img', { src: hs.graphicsDir + hs.restoreCursor });
|
561
|
-
},
|
562
|
-
|
563
|
-
|
564
|
-
init : function () {
|
565
|
-
if (!hs.container) {
|
566
|
-
|
567
|
-
hs.ieLt7 = hs.ie && hs.uaVersion < 7;
|
568
|
-
hs.ieLt9 = hs.ie && hs.uaVersion < 9;
|
569
|
-
|
570
|
-
hs.getPageSize();
|
571
|
-
for (var x in hs.langDefaults) {
|
572
|
-
if (typeof hs[x] != 'undefined') hs.lang[x] = hs[x];
|
573
|
-
else if (typeof hs.lang[x] == 'undefined' && typeof hs.langDefaults[x] != 'undefined')
|
574
|
-
hs.lang[x] = hs.langDefaults[x];
|
575
|
-
}
|
576
|
-
|
577
|
-
hs.container = hs.createElement('div', {
|
578
|
-
className: 'highslide-container'
|
579
|
-
}, {
|
580
|
-
position: 'absolute',
|
581
|
-
left: 0,
|
582
|
-
top: 0,
|
583
|
-
width: '100%',
|
584
|
-
zIndex: hs.zIndexCounter,
|
585
|
-
direction: 'ltr'
|
586
|
-
},
|
587
|
-
document.body,
|
588
|
-
true
|
589
|
-
);
|
590
|
-
hs.loading = hs.createElement('a', {
|
591
|
-
className: 'highslide-loading',
|
592
|
-
title: hs.lang.loadingTitle,
|
593
|
-
innerHTML: hs.lang.loadingText,
|
594
|
-
href: 'javascript:;'
|
595
|
-
}, {
|
596
|
-
position: 'absolute',
|
597
|
-
top: '-9999px',
|
598
|
-
opacity: hs.loadingOpacity,
|
599
|
-
zIndex: 1
|
600
|
-
}, hs.container
|
601
|
-
);
|
602
|
-
hs.garbageBin = hs.createElement('div', null, { display: 'none' }, hs.container);
|
603
|
-
|
604
|
-
// http://www.robertpenner.com/easing/
|
605
|
-
Math.linearTween = function (t, b, c, d) {
|
606
|
-
return c*t/d + b;
|
607
|
-
};
|
608
|
-
Math.easeInQuad = function (t, b, c, d) {
|
609
|
-
return c*(t/=d)*t + b;
|
610
|
-
};
|
611
|
-
|
612
|
-
hs.hideSelects = hs.ieLt7;
|
613
|
-
hs.hideIframes = ((window.opera && hs.uaVersion < 9) || navigator.vendor == 'KDE'
|
614
|
-
|| (hs.ieLt7 && hs.uaVersion < 5.5));
|
615
|
-
}
|
616
|
-
},
|
617
|
-
ready : function() {
|
618
|
-
if (hs.isReady) return;
|
619
|
-
hs.isReady = true;
|
620
|
-
for (var i = 0; i < hs.onReady.length; i++) hs.onReady[i]();
|
621
|
-
},
|
622
|
-
|
623
|
-
updateAnchors : function() {
|
624
|
-
var el, els, all = [], images = [],groups = {}, re;
|
625
|
-
|
626
|
-
for (var i = 0; i < hs.openerTagNames.length; i++) {
|
627
|
-
els = document.getElementsByTagName(hs.openerTagNames[i]);
|
628
|
-
for (var j = 0; j < els.length; j++) {
|
629
|
-
el = els[j];
|
630
|
-
re = hs.isHsAnchor(el);
|
631
|
-
if (re) {
|
632
|
-
hs.push(all, el);
|
633
|
-
if (re[0] == 'hs.expand') hs.push(images, el);
|
634
|
-
var g = hs.getParam(el, 'slideshowGroup') || 'none';
|
635
|
-
if (!groups[g]) groups[g] = [];
|
636
|
-
hs.push(groups[g], el);
|
637
|
-
}
|
638
|
-
}
|
639
|
-
}
|
640
|
-
hs.anchors = { all: all, groups: groups, images: images };
|
641
|
-
return hs.anchors;
|
642
|
-
|
643
|
-
},
|
644
|
-
|
645
|
-
getAnchors : function() {
|
646
|
-
return hs.anchors || hs.updateAnchors();
|
647
|
-
},
|
648
|
-
|
649
|
-
|
650
|
-
close : function(el) {
|
651
|
-
var exp = hs.getExpander(el);
|
652
|
-
if (exp) exp.close();
|
653
|
-
return false;
|
654
|
-
}
|
655
|
-
}; // end hs object
|
656
|
-
hs.fx = function( elem, options, prop ){
|
657
|
-
this.options = options;
|
658
|
-
this.elem = elem;
|
659
|
-
this.prop = prop;
|
660
|
-
|
661
|
-
if (!options.orig) options.orig = {};
|
662
|
-
};
|
663
|
-
hs.fx.prototype = {
|
664
|
-
update: function(){
|
665
|
-
(hs.fx.step[this.prop] || hs.fx.step._default)(this);
|
666
|
-
|
667
|
-
if (this.options.step)
|
668
|
-
this.options.step.call(this.elem, this.now, this);
|
669
|
-
|
670
|
-
},
|
671
|
-
custom: function(from, to, unit){
|
672
|
-
this.startTime = (new Date()).getTime();
|
673
|
-
this.start = from;
|
674
|
-
this.end = to;
|
675
|
-
this.unit = unit;// || this.unit || "px";
|
676
|
-
this.now = this.start;
|
677
|
-
this.pos = this.state = 0;
|
678
|
-
|
679
|
-
var self = this;
|
680
|
-
function t(gotoEnd){
|
681
|
-
return self.step(gotoEnd);
|
682
|
-
}
|
683
|
-
|
684
|
-
t.elem = this.elem;
|
685
|
-
|
686
|
-
if ( t() && hs.timers.push(t) == 1 ) {
|
687
|
-
hs.timerId = setInterval(function(){
|
688
|
-
var timers = hs.timers;
|
689
|
-
|
690
|
-
for ( var i = 0; i < timers.length; i++ )
|
691
|
-
if ( !timers[i]() )
|
692
|
-
timers.splice(i--, 1);
|
693
|
-
|
694
|
-
if ( !timers.length ) {
|
695
|
-
clearInterval(hs.timerId);
|
696
|
-
}
|
697
|
-
}, 13);
|
698
|
-
}
|
699
|
-
},
|
700
|
-
step: function(gotoEnd){
|
701
|
-
var t = (new Date()).getTime();
|
702
|
-
if ( gotoEnd || t >= this.options.duration + this.startTime ) {
|
703
|
-
this.now = this.end;
|
704
|
-
this.pos = this.state = 1;
|
705
|
-
this.update();
|
706
|
-
|
707
|
-
this.options.curAnim[ this.prop ] = true;
|
708
|
-
|
709
|
-
var done = true;
|
710
|
-
for ( var i in this.options.curAnim )
|
711
|
-
if ( this.options.curAnim[i] !== true )
|
712
|
-
done = false;
|
713
|
-
|
714
|
-
if ( done ) {
|
715
|
-
if (this.options.complete) this.options.complete.call(this.elem);
|
716
|
-
}
|
717
|
-
return false;
|
718
|
-
} else {
|
719
|
-
var n = t - this.startTime;
|
720
|
-
this.state = n / this.options.duration;
|
721
|
-
this.pos = this.options.easing(n, 0, 1, this.options.duration);
|
722
|
-
this.now = this.start + ((this.end - this.start) * this.pos);
|
723
|
-
this.update();
|
724
|
-
}
|
725
|
-
return true;
|
726
|
-
}
|
727
|
-
|
728
|
-
};
|
729
|
-
|
730
|
-
hs.extend( hs.fx, {
|
731
|
-
step: {
|
732
|
-
|
733
|
-
opacity: function(fx){
|
734
|
-
hs.setStyles(fx.elem, { opacity: fx.now });
|
735
|
-
},
|
736
|
-
|
737
|
-
_default: function(fx){
|
738
|
-
try {
|
739
|
-
if ( fx.elem.style && fx.elem.style[ fx.prop ] != null )
|
740
|
-
fx.elem.style[ fx.prop ] = fx.now + fx.unit;
|
741
|
-
else
|
742
|
-
fx.elem[ fx.prop ] = fx.now;
|
743
|
-
} catch (e) {}
|
744
|
-
}
|
745
|
-
}
|
746
|
-
});
|
747
|
-
|
748
|
-
hs.Outline = function (outlineType, onLoad) {
|
749
|
-
this.onLoad = onLoad;
|
750
|
-
this.outlineType = outlineType;
|
751
|
-
var v = hs.uaVersion, tr;
|
752
|
-
|
753
|
-
this.hasAlphaImageLoader = hs.ie && hs.uaVersion < 7;
|
754
|
-
if (!outlineType) {
|
755
|
-
if (onLoad) onLoad();
|
756
|
-
return;
|
757
|
-
}
|
758
|
-
|
759
|
-
hs.init();
|
760
|
-
this.table = hs.createElement(
|
761
|
-
'table', {
|
762
|
-
cellSpacing: 0
|
763
|
-
}, {
|
764
|
-
visibility: 'hidden',
|
765
|
-
position: 'absolute',
|
766
|
-
borderCollapse: 'collapse',
|
767
|
-
width: 0
|
768
|
-
},
|
769
|
-
hs.container,
|
770
|
-
true
|
771
|
-
);
|
772
|
-
var tbody = hs.createElement('tbody', null, null, this.table, 1);
|
773
|
-
|
774
|
-
this.td = [];
|
775
|
-
for (var i = 0; i <= 8; i++) {
|
776
|
-
if (i % 3 == 0) tr = hs.createElement('tr', null, { height: 'auto' }, tbody, true);
|
777
|
-
this.td[i] = hs.createElement('td', null, null, tr, true);
|
778
|
-
var style = i != 4 ? { lineHeight: 0, fontSize: 0} : { position : 'relative' };
|
779
|
-
hs.setStyles(this.td[i], style);
|
780
|
-
}
|
781
|
-
this.td[4].className = outlineType +' highslide-outline';
|
782
|
-
|
783
|
-
this.preloadGraphic();
|
784
|
-
};
|
785
|
-
|
786
|
-
hs.Outline.prototype = {
|
787
|
-
preloadGraphic : function () {
|
788
|
-
var src = hs.graphicsDir + (hs.outlinesDir || "outlines/")+ this.outlineType +".png";
|
789
|
-
|
790
|
-
var appendTo = hs.safari && hs.uaVersion < 525 ? hs.container : null;
|
791
|
-
this.graphic = hs.createElement('img', null, { position: 'absolute',
|
792
|
-
top: '-9999px' }, appendTo, true); // for onload trigger
|
793
|
-
|
794
|
-
var pThis = this;
|
795
|
-
this.graphic.onload = function() { pThis.onGraphicLoad(); };
|
796
|
-
|
797
|
-
this.graphic.src = src;
|
798
|
-
},
|
799
|
-
|
800
|
-
onGraphicLoad : function () {
|
801
|
-
var o = this.offset = this.graphic.width / 4,
|
802
|
-
pos = [[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],
|
803
|
-
dim = { height: (2*o) +'px', width: (2*o) +'px' };
|
804
|
-
for (var i = 0; i <= 8; i++) {
|
805
|
-
if (pos[i]) {
|
806
|
-
if (this.hasAlphaImageLoader) {
|
807
|
-
var w = (i == 1 || i == 7) ? '100%' : this.graphic.width +'px';
|
808
|
-
var div = hs.createElement('div', null, { width: '100%', height: '100%', position: 'relative', overflow: 'hidden'}, this.td[i], true);
|
809
|
-
hs.createElement ('div', null, {
|
810
|
-
filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+ this.graphic.src + "')",
|
811
|
-
position: 'absolute',
|
812
|
-
width: w,
|
813
|
-
height: this.graphic.height +'px',
|
814
|
-
left: (pos[i][0]*o)+'px',
|
815
|
-
top: (pos[i][1]*o)+'px'
|
816
|
-
},
|
817
|
-
div,
|
818
|
-
true);
|
819
|
-
} else {
|
820
|
-
hs.setStyles(this.td[i], { background: 'url('+ this.graphic.src +') '+ (pos[i][0]*o)+'px '+(pos[i][1]*o)+'px'});
|
821
|
-
}
|
822
|
-
|
823
|
-
if (window.opera && (i == 3 || i ==5))
|
824
|
-
hs.createElement('div', null, dim, this.td[i], true);
|
825
|
-
|
826
|
-
hs.setStyles (this.td[i], dim);
|
827
|
-
}
|
828
|
-
}
|
829
|
-
this.graphic = null;
|
830
|
-
if (hs.pendingOutlines[this.outlineType]) hs.pendingOutlines[this.outlineType].destroy();
|
831
|
-
hs.pendingOutlines[this.outlineType] = this;
|
832
|
-
if (this.onLoad) this.onLoad();
|
833
|
-
},
|
834
|
-
|
835
|
-
setPosition : function (pos, offset, vis, dur, easing) {
|
836
|
-
var exp = this.exp,
|
837
|
-
stl = exp.wrapper.style,
|
838
|
-
offset = offset || 0,
|
839
|
-
pos = pos || {
|
840
|
-
x: exp.x.pos + offset,
|
841
|
-
y: exp.y.pos + offset,
|
842
|
-
w: exp.x.get('wsize') - 2 * offset,
|
843
|
-
h: exp.y.get('wsize') - 2 * offset
|
844
|
-
};
|
845
|
-
if (vis) this.table.style.visibility = (pos.h >= 4 * this.offset)
|
846
|
-
? 'visible' : 'hidden';
|
847
|
-
hs.setStyles(this.table, {
|
848
|
-
left: (pos.x - this.offset) +'px',
|
849
|
-
top: (pos.y - this.offset) +'px',
|
850
|
-
width: (pos.w + 2 * this.offset) +'px'
|
851
|
-
});
|
852
|
-
|
853
|
-
pos.w -= 2 * this.offset;
|
854
|
-
pos.h -= 2 * this.offset;
|
855
|
-
hs.setStyles (this.td[4], {
|
856
|
-
width: pos.w >= 0 ? pos.w +'px' : 0,
|
857
|
-
height: pos.h >= 0 ? pos.h +'px' : 0
|
858
|
-
});
|
859
|
-
if (this.hasAlphaImageLoader) this.td[3].style.height
|
860
|
-
= this.td[5].style.height = this.td[4].style.height;
|
861
|
-
|
862
|
-
},
|
863
|
-
|
864
|
-
destroy : function(hide) {
|
865
|
-
if (hide) this.table.style.visibility = 'hidden';
|
866
|
-
else hs.discardElement(this.table);
|
867
|
-
}
|
868
|
-
};
|
869
|
-
|
870
|
-
hs.Dimension = function(exp, dim) {
|
871
|
-
this.exp = exp;
|
872
|
-
this.dim = dim;
|
873
|
-
this.ucwh = dim == 'x' ? 'Width' : 'Height';
|
874
|
-
this.wh = this.ucwh.toLowerCase();
|
875
|
-
this.uclt = dim == 'x' ? 'Left' : 'Top';
|
876
|
-
this.lt = this.uclt.toLowerCase();
|
877
|
-
this.ucrb = dim == 'x' ? 'Right' : 'Bottom';
|
878
|
-
this.rb = this.ucrb.toLowerCase();
|
879
|
-
this.p1 = this.p2 = 0;
|
880
|
-
};
|
881
|
-
hs.Dimension.prototype = {
|
882
|
-
get : function(key) {
|
883
|
-
switch (key) {
|
884
|
-
case 'loadingPos':
|
885
|
-
return this.tpos + this.tb + (this.t - hs.loading['offset'+ this.ucwh]) / 2;
|
886
|
-
case 'wsize':
|
887
|
-
return this.size + 2 * this.cb + this.p1 + this.p2;
|
888
|
-
case 'fitsize':
|
889
|
-
return this.clientSize - this.marginMin - this.marginMax;
|
890
|
-
case 'maxsize':
|
891
|
-
return this.get('fitsize') - 2 * this.cb - this.p1 - this.p2 ;
|
892
|
-
case 'opos':
|
893
|
-
return this.pos - (this.exp.outline ? this.exp.outline.offset : 0);
|
894
|
-
case 'osize':
|
895
|
-
return this.get('wsize') + (this.exp.outline ? 2*this.exp.outline.offset : 0);
|
896
|
-
case 'imgPad':
|
897
|
-
return this.imgSize ? Math.round((this.size - this.imgSize) / 2) : 0;
|
898
|
-
|
899
|
-
}
|
900
|
-
},
|
901
|
-
calcBorders: function() {
|
902
|
-
// correct for borders
|
903
|
-
this.cb = (this.exp.content['offset'+ this.ucwh] - this.t) / 2;
|
904
|
-
|
905
|
-
this.marginMax = hs['margin'+ this.ucrb];
|
906
|
-
},
|
907
|
-
calcThumb: function() {
|
908
|
-
this.t = this.exp.el[this.wh] ? parseInt(this.exp.el[this.wh]) :
|
909
|
-
this.exp.el['offset'+ this.ucwh];
|
910
|
-
this.tpos = this.exp.tpos[this.dim];
|
911
|
-
this.tb = (this.exp.el['offset'+ this.ucwh] - this.t) / 2;
|
912
|
-
if (this.tpos == 0 || this.tpos == -1) {
|
913
|
-
this.tpos = (hs.page[this.wh] / 2) + hs.page['scroll'+ this.uclt];
|
914
|
-
};
|
915
|
-
},
|
916
|
-
calcExpanded: function() {
|
917
|
-
var exp = this.exp;
|
918
|
-
this.justify = 'auto';
|
919
|
-
|
920
|
-
|
921
|
-
// size and position
|
922
|
-
this.pos = this.tpos - this.cb + this.tb;
|
923
|
-
|
924
|
-
if (this.maxHeight && this.dim == 'x')
|
925
|
-
exp.maxWidth = Math.min(exp.maxWidth || this.full, exp.maxHeight * this.full / exp.y.full);
|
926
|
-
|
927
|
-
this.size = Math.min(this.full, exp['max'+ this.ucwh] || this.full);
|
928
|
-
this.minSize = exp.allowSizeReduction ?
|
929
|
-
Math.min(exp['min'+ this.ucwh], this.full) :this.full;
|
930
|
-
if (exp.isImage && exp.useBox) {
|
931
|
-
this.size = exp[this.wh];
|
932
|
-
this.imgSize = this.full;
|
933
|
-
}
|
934
|
-
if (this.dim == 'x' && hs.padToMinWidth) this.minSize = exp.minWidth;
|
935
|
-
this.marginMin = hs['margin'+ this.uclt];
|
936
|
-
this.scroll = hs.page['scroll'+ this.uclt];
|
937
|
-
this.clientSize = hs.page[this.wh];
|
938
|
-
},
|
939
|
-
setSize: function(i) {
|
940
|
-
var exp = this.exp;
|
941
|
-
if (exp.isImage && (exp.useBox || hs.padToMinWidth)) {
|
942
|
-
this.imgSize = i;
|
943
|
-
this.size = Math.max(this.size, this.imgSize);
|
944
|
-
exp.content.style[this.lt] = this.get('imgPad')+'px';
|
945
|
-
} else
|
946
|
-
this.size = i;
|
947
|
-
|
948
|
-
exp.content.style[this.wh] = i +'px';
|
949
|
-
exp.wrapper.style[this.wh] = this.get('wsize') +'px';
|
950
|
-
if (exp.outline) exp.outline.setPosition();
|
951
|
-
if (this.dim == 'x' && exp.overlayBox) exp.sizeOverlayBox(true);
|
952
|
-
},
|
953
|
-
setPos: function(i) {
|
954
|
-
this.pos = i;
|
955
|
-
this.exp.wrapper.style[this.lt] = i +'px';
|
956
|
-
|
957
|
-
if (this.exp.outline) this.exp.outline.setPosition();
|
958
|
-
|
959
|
-
}
|
960
|
-
};
|
961
|
-
|
962
|
-
hs.Expander = function(a, params, custom, contentType) {
|
963
|
-
if (document.readyState && hs.ie && !hs.isReady) {
|
964
|
-
hs.addEventListener(document, 'ready', function() {
|
965
|
-
new hs.Expander(a, params, custom, contentType);
|
966
|
-
});
|
967
|
-
return;
|
968
|
-
}
|
969
|
-
this.a = a;
|
970
|
-
this.custom = custom;
|
971
|
-
this.contentType = contentType || 'image';
|
972
|
-
this.isImage = !this.isHtml;
|
973
|
-
|
974
|
-
hs.continuePreloading = false;
|
975
|
-
this.overlays = [];
|
976
|
-
hs.init();
|
977
|
-
var key = this.key = hs.expanders.length;
|
978
|
-
// override inline parameters
|
979
|
-
for (var i = 0; i < hs.overrides.length; i++) {
|
980
|
-
var name = hs.overrides[i];
|
981
|
-
this[name] = params && typeof params[name] != 'undefined' ?
|
982
|
-
params[name] : hs[name];
|
983
|
-
}
|
984
|
-
if (!this.src) this.src = a.href;
|
985
|
-
|
986
|
-
// get thumb
|
987
|
-
var el = (params && params.thumbnailId) ? hs.$(params.thumbnailId) : a;
|
988
|
-
el = this.thumb = el.getElementsByTagName('img')[0] || el;
|
989
|
-
this.thumbsUserSetId = el.id || a.id;
|
990
|
-
|
991
|
-
// check if already open
|
992
|
-
for (var i = 0; i < hs.expanders.length; i++) {
|
993
|
-
if (hs.expanders[i] && hs.expanders[i].a == a) {
|
994
|
-
hs.expanders[i].focus();
|
995
|
-
return false;
|
996
|
-
}
|
997
|
-
}
|
998
|
-
|
999
|
-
// cancel other
|
1000
|
-
if (!hs.allowSimultaneousLoading) for (var i = 0; i < hs.expanders.length; i++) {
|
1001
|
-
if (hs.expanders[i] && hs.expanders[i].thumb != el && !hs.expanders[i].onLoadStarted) {
|
1002
|
-
hs.expanders[i].cancelLoading();
|
1003
|
-
}
|
1004
|
-
}
|
1005
|
-
hs.expanders[key] = this;
|
1006
|
-
if (!hs.allowMultipleInstances && !hs.upcoming) {
|
1007
|
-
if (hs.expanders[key-1]) hs.expanders[key-1].close();
|
1008
|
-
if (typeof hs.focusKey != 'undefined' && hs.expanders[hs.focusKey])
|
1009
|
-
hs.expanders[hs.focusKey].close();
|
1010
|
-
}
|
1011
|
-
|
1012
|
-
// initiate metrics
|
1013
|
-
this.el = el;
|
1014
|
-
this.tpos = this.pageOrigin || hs.getPosition(el);
|
1015
|
-
hs.getPageSize();
|
1016
|
-
var x = this.x = new hs.Dimension(this, 'x');
|
1017
|
-
x.calcThumb();
|
1018
|
-
var y = this.y = new hs.Dimension(this, 'y');
|
1019
|
-
y.calcThumb();
|
1020
|
-
this.wrapper = hs.createElement(
|
1021
|
-
'div', {
|
1022
|
-
id: 'highslide-wrapper-'+ this.key,
|
1023
|
-
className: 'highslide-wrapper '+ this.wrapperClassName
|
1024
|
-
}, {
|
1025
|
-
visibility: 'hidden',
|
1026
|
-
position: 'absolute',
|
1027
|
-
zIndex: hs.zIndexCounter += 2
|
1028
|
-
}, null, true );
|
1029
|
-
|
1030
|
-
this.wrapper.onmouseover = this.wrapper.onmouseout = hs.wrapperMouseHandler;
|
1031
|
-
if (this.contentType == 'image' && this.outlineWhileAnimating == 2)
|
1032
|
-
this.outlineWhileAnimating = 0;
|
1033
|
-
|
1034
|
-
// get the outline
|
1035
|
-
if (!this.outlineType) {
|
1036
|
-
this[this.contentType +'Create']();
|
1037
|
-
|
1038
|
-
} else if (hs.pendingOutlines[this.outlineType]) {
|
1039
|
-
this.connectOutline();
|
1040
|
-
this[this.contentType +'Create']();
|
1041
|
-
|
1042
|
-
} else {
|
1043
|
-
this.showLoading();
|
1044
|
-
var exp = this;
|
1045
|
-
new hs.Outline(this.outlineType,
|
1046
|
-
function () {
|
1047
|
-
exp.connectOutline();
|
1048
|
-
exp[exp.contentType +'Create']();
|
1049
|
-
}
|
1050
|
-
);
|
1051
|
-
}
|
1052
|
-
return true;
|
1053
|
-
};
|
1054
|
-
|
1055
|
-
hs.Expander.prototype = {
|
1056
|
-
error : function(e) {
|
1057
|
-
if (hs.debug) alert ('Line '+ e.lineNumber +': '+ e.message);
|
1058
|
-
else window.location.href = this.src;
|
1059
|
-
},
|
1060
|
-
|
1061
|
-
connectOutline : function() {
|
1062
|
-
var outline = this.outline = hs.pendingOutlines[this.outlineType];
|
1063
|
-
outline.exp = this;
|
1064
|
-
outline.table.style.zIndex = this.wrapper.style.zIndex - 1;
|
1065
|
-
hs.pendingOutlines[this.outlineType] = null;
|
1066
|
-
},
|
1067
|
-
|
1068
|
-
showLoading : function() {
|
1069
|
-
if (this.onLoadStarted || this.loading) return;
|
1070
|
-
|
1071
|
-
this.loading = hs.loading;
|
1072
|
-
var exp = this;
|
1073
|
-
this.loading.onclick = function() {
|
1074
|
-
exp.cancelLoading();
|
1075
|
-
};
|
1076
|
-
var exp = this,
|
1077
|
-
l = this.x.get('loadingPos') +'px',
|
1078
|
-
t = this.y.get('loadingPos') +'px';
|
1079
|
-
setTimeout(function () {
|
1080
|
-
if (exp.loading) hs.setStyles(exp.loading, { left: l, top: t, zIndex: hs.zIndexCounter++ })}
|
1081
|
-
, 100);
|
1082
|
-
},
|
1083
|
-
|
1084
|
-
imageCreate : function() {
|
1085
|
-
var exp = this;
|
1086
|
-
|
1087
|
-
var img = document.createElement('img');
|
1088
|
-
this.content = img;
|
1089
|
-
img.onload = function () {
|
1090
|
-
if (hs.expanders[exp.key]) exp.contentLoaded();
|
1091
|
-
};
|
1092
|
-
if (hs.blockRightClick) img.oncontextmenu = function() { return false; };
|
1093
|
-
img.className = 'highslide-image';
|
1094
|
-
hs.setStyles(img, {
|
1095
|
-
visibility: 'hidden',
|
1096
|
-
display: 'block',
|
1097
|
-
position: 'absolute',
|
1098
|
-
maxWidth: '9999px',
|
1099
|
-
zIndex: 3
|
1100
|
-
});
|
1101
|
-
img.title = hs.lang.restoreTitle;
|
1102
|
-
if (hs.safari && hs.uaVersion < 525) hs.container.appendChild(img);
|
1103
|
-
if (hs.ie && hs.flushImgSize) img.src = null;
|
1104
|
-
img.src = this.src;
|
1105
|
-
|
1106
|
-
this.showLoading();
|
1107
|
-
},
|
1108
|
-
|
1109
|
-
contentLoaded : function() {
|
1110
|
-
try {
|
1111
|
-
if (!this.content) return;
|
1112
|
-
this.content.onload = null;
|
1113
|
-
if (this.onLoadStarted) return;
|
1114
|
-
else this.onLoadStarted = true;
|
1115
|
-
|
1116
|
-
var x = this.x, y = this.y;
|
1117
|
-
|
1118
|
-
if (this.loading) {
|
1119
|
-
hs.setStyles(this.loading, { top: '-9999px' });
|
1120
|
-
this.loading = null;
|
1121
|
-
}
|
1122
|
-
x.full = this.content.width;
|
1123
|
-
y.full = this.content.height;
|
1124
|
-
|
1125
|
-
hs.setStyles(this.content, {
|
1126
|
-
width: x.t +'px',
|
1127
|
-
height: y.t +'px'
|
1128
|
-
});
|
1129
|
-
this.wrapper.appendChild(this.content);
|
1130
|
-
hs.container.appendChild(this.wrapper);
|
1131
|
-
|
1132
|
-
x.calcBorders();
|
1133
|
-
y.calcBorders();
|
1134
|
-
|
1135
|
-
hs.setStyles (this.wrapper, {
|
1136
|
-
left: (x.tpos + x.tb - x.cb) +'px',
|
1137
|
-
top: (y.tpos + x.tb - y.cb) +'px'
|
1138
|
-
});
|
1139
|
-
this.getOverlays();
|
1140
|
-
|
1141
|
-
var ratio = x.full / y.full;
|
1142
|
-
x.calcExpanded();
|
1143
|
-
this.justify(x);
|
1144
|
-
|
1145
|
-
y.calcExpanded();
|
1146
|
-
this.justify(y);
|
1147
|
-
if (this.overlayBox) this.sizeOverlayBox(0, 1);
|
1148
|
-
|
1149
|
-
|
1150
|
-
if (this.allowSizeReduction) {
|
1151
|
-
this.correctRatio(ratio);
|
1152
|
-
if (this.isImage && this.x.full > (this.x.imgSize || this.x.size)) {
|
1153
|
-
this.createFullExpand();
|
1154
|
-
if (this.overlays.length == 1) this.sizeOverlayBox();
|
1155
|
-
}
|
1156
|
-
}
|
1157
|
-
this.show();
|
1158
|
-
|
1159
|
-
} catch (e) {
|
1160
|
-
this.error(e);
|
1161
|
-
}
|
1162
|
-
},
|
1163
|
-
|
1164
|
-
justify : function (p, moveOnly) {
|
1165
|
-
var tgtArr, tgt = p.target, dim = p == this.x ? 'x' : 'y';
|
1166
|
-
|
1167
|
-
var hasMovedMin = false;
|
1168
|
-
|
1169
|
-
var allowReduce = p.exp.allowSizeReduction;
|
1170
|
-
p.pos = Math.round(p.pos - ((p.get('wsize') - p.t) / 2));
|
1171
|
-
if (p.pos < p.scroll + p.marginMin) {
|
1172
|
-
p.pos = p.scroll + p.marginMin;
|
1173
|
-
hasMovedMin = true;
|
1174
|
-
}
|
1175
|
-
if (!moveOnly && p.size < p.minSize) {
|
1176
|
-
p.size = p.minSize;
|
1177
|
-
allowReduce = false;
|
1178
|
-
}
|
1179
|
-
if (p.pos + p.get('wsize') > p.scroll + p.clientSize - p.marginMax) {
|
1180
|
-
if (!moveOnly && hasMovedMin && allowReduce) {
|
1181
|
-
p.size = Math.min(p.size, p.get(dim == 'y' ? 'fitsize' : 'maxsize'));
|
1182
|
-
} else if (p.get('wsize') < p.get('fitsize')) {
|
1183
|
-
p.pos = p.scroll + p.clientSize - p.marginMax - p.get('wsize');
|
1184
|
-
} else { // image larger than viewport
|
1185
|
-
p.pos = p.scroll + p.marginMin;
|
1186
|
-
if (!moveOnly && allowReduce) p.size = p.get(dim == 'y' ? 'fitsize' : 'maxsize');
|
1187
|
-
}
|
1188
|
-
}
|
1189
|
-
|
1190
|
-
if (!moveOnly && p.size < p.minSize) {
|
1191
|
-
p.size = p.minSize;
|
1192
|
-
allowReduce = false;
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
if (p.pos < p.marginMin) {
|
1198
|
-
var tmpMin = p.pos;
|
1199
|
-
p.pos = p.marginMin;
|
1200
|
-
|
1201
|
-
if (allowReduce && !moveOnly) p.size = p.size - (p.pos - tmpMin);
|
1202
|
-
|
1203
|
-
}
|
1204
|
-
},
|
1205
|
-
|
1206
|
-
correctRatio : function(ratio) {
|
1207
|
-
var x = this.x,
|
1208
|
-
y = this.y,
|
1209
|
-
changed = false,
|
1210
|
-
xSize = Math.min(x.full, x.size),
|
1211
|
-
ySize = Math.min(y.full, y.size),
|
1212
|
-
useBox = (this.useBox || hs.padToMinWidth);
|
1213
|
-
|
1214
|
-
if (xSize / ySize > ratio) { // width greater
|
1215
|
-
xSize = ySize * ratio;
|
1216
|
-
if (xSize < x.minSize) { // below minWidth
|
1217
|
-
xSize = x.minSize;
|
1218
|
-
ySize = xSize / ratio;
|
1219
|
-
}
|
1220
|
-
changed = true;
|
1221
|
-
|
1222
|
-
} else if (xSize / ySize < ratio) { // height greater
|
1223
|
-
ySize = xSize / ratio;
|
1224
|
-
changed = true;
|
1225
|
-
}
|
1226
|
-
|
1227
|
-
if (hs.padToMinWidth && x.full < x.minSize) {
|
1228
|
-
x.imgSize = x.full;
|
1229
|
-
y.size = y.imgSize = y.full;
|
1230
|
-
} else if (this.useBox) {
|
1231
|
-
x.imgSize = xSize;
|
1232
|
-
y.imgSize = ySize;
|
1233
|
-
} else {
|
1234
|
-
x.size = xSize;
|
1235
|
-
y.size = ySize;
|
1236
|
-
}
|
1237
|
-
changed = this.fitOverlayBox(this.useBox ? null : ratio, changed);
|
1238
|
-
if (useBox && y.size < y.imgSize) {
|
1239
|
-
y.imgSize = y.size;
|
1240
|
-
x.imgSize = y.size * ratio;
|
1241
|
-
}
|
1242
|
-
if (changed || useBox) {
|
1243
|
-
x.pos = x.tpos - x.cb + x.tb;
|
1244
|
-
x.minSize = x.size;
|
1245
|
-
this.justify(x, true);
|
1246
|
-
|
1247
|
-
y.pos = y.tpos - y.cb + y.tb;
|
1248
|
-
y.minSize = y.size;
|
1249
|
-
this.justify(y, true);
|
1250
|
-
if (this.overlayBox) this.sizeOverlayBox();
|
1251
|
-
}
|
1252
|
-
|
1253
|
-
|
1254
|
-
},
|
1255
|
-
fitOverlayBox : function(ratio, changed) {
|
1256
|
-
var x = this.x, y = this.y;
|
1257
|
-
if (this.overlayBox) {
|
1258
|
-
while (y.size > this.minHeight && x.size > this.minWidth
|
1259
|
-
&& y.get('wsize') > y.get('fitsize')) {
|
1260
|
-
y.size -= 10;
|
1261
|
-
if (ratio) x.size = y.size * ratio;
|
1262
|
-
this.sizeOverlayBox(0, 1);
|
1263
|
-
changed = true;
|
1264
|
-
}
|
1265
|
-
}
|
1266
|
-
return changed;
|
1267
|
-
},
|
1268
|
-
|
1269
|
-
show : function () {
|
1270
|
-
var x = this.x, y = this.y;
|
1271
|
-
this.doShowHide('hidden');
|
1272
|
-
|
1273
|
-
// Apply size change
|
1274
|
-
this.changeSize(
|
1275
|
-
1, {
|
1276
|
-
wrapper: {
|
1277
|
-
width : x.get('wsize'),
|
1278
|
-
height : y.get('wsize'),
|
1279
|
-
left: x.pos,
|
1280
|
-
top: y.pos
|
1281
|
-
},
|
1282
|
-
content: {
|
1283
|
-
left: x.p1 + x.get('imgPad'),
|
1284
|
-
top: y.p1 + y.get('imgPad'),
|
1285
|
-
width:x.imgSize ||x.size,
|
1286
|
-
height:y.imgSize ||y.size
|
1287
|
-
}
|
1288
|
-
},
|
1289
|
-
hs.expandDuration
|
1290
|
-
);
|
1291
|
-
},
|
1292
|
-
|
1293
|
-
changeSize : function(up, to, dur) {
|
1294
|
-
|
1295
|
-
if (this.outline && !this.outlineWhileAnimating) {
|
1296
|
-
if (up) this.outline.setPosition();
|
1297
|
-
else this.outline.destroy();
|
1298
|
-
}
|
1299
|
-
|
1300
|
-
|
1301
|
-
if (!up) this.destroyOverlays();
|
1302
|
-
|
1303
|
-
var exp = this,
|
1304
|
-
x = exp.x,
|
1305
|
-
y = exp.y,
|
1306
|
-
easing = this.easing;
|
1307
|
-
if (!up) easing = this.easingClose || easing;
|
1308
|
-
var after = up ?
|
1309
|
-
function() {
|
1310
|
-
|
1311
|
-
if (exp.outline) exp.outline.table.style.visibility = "visible";
|
1312
|
-
setTimeout(function() {
|
1313
|
-
exp.afterExpand();
|
1314
|
-
}, 50);
|
1315
|
-
} :
|
1316
|
-
function() {
|
1317
|
-
exp.afterClose();
|
1318
|
-
};
|
1319
|
-
if (up) hs.setStyles( this.wrapper, {
|
1320
|
-
width: x.t +'px',
|
1321
|
-
height: y.t +'px'
|
1322
|
-
});
|
1323
|
-
if (this.fadeInOut) {
|
1324
|
-
hs.setStyles(this.wrapper, { opacity: up ? 0 : 1 });
|
1325
|
-
hs.extend(to.wrapper, { opacity: up });
|
1326
|
-
}
|
1327
|
-
hs.animate( this.wrapper, to.wrapper, {
|
1328
|
-
duration: dur,
|
1329
|
-
easing: easing,
|
1330
|
-
step: function(val, args) {
|
1331
|
-
if (exp.outline && exp.outlineWhileAnimating && args.prop == 'top') {
|
1332
|
-
var fac = up ? args.pos : 1 - args.pos;
|
1333
|
-
var pos = {
|
1334
|
-
w: x.t + (x.get('wsize') - x.t) * fac,
|
1335
|
-
h: y.t + (y.get('wsize') - y.t) * fac,
|
1336
|
-
x: x.tpos + (x.pos - x.tpos) * fac,
|
1337
|
-
y: y.tpos + (y.pos - y.tpos) * fac
|
1338
|
-
};
|
1339
|
-
exp.outline.setPosition(pos, 0, 1);
|
1340
|
-
}
|
1341
|
-
}
|
1342
|
-
});
|
1343
|
-
hs.animate( this.content, to.content, dur, easing, after);
|
1344
|
-
if (up) {
|
1345
|
-
this.wrapper.style.visibility = 'visible';
|
1346
|
-
this.content.style.visibility = 'visible';
|
1347
|
-
this.a.className += ' highslide-active-anchor';
|
1348
|
-
}
|
1349
|
-
},
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
afterExpand : function() {
|
1355
|
-
this.isExpanded = true;
|
1356
|
-
this.focus();
|
1357
|
-
if (hs.upcoming && hs.upcoming == this.a) hs.upcoming = null;
|
1358
|
-
this.prepareNextOutline();
|
1359
|
-
var p = hs.page, mX = hs.mouse.x + p.scrollLeft, mY = hs.mouse.y + p.scrollTop;
|
1360
|
-
this.mouseIsOver = this.x.pos < mX && mX < this.x.pos + this.x.get('wsize')
|
1361
|
-
&& this.y.pos < mY && mY < this.y.pos + this.y.get('wsize');
|
1362
|
-
if (this.overlayBox) this.showOverlays();
|
1363
|
-
|
1364
|
-
},
|
1365
|
-
|
1366
|
-
|
1367
|
-
prepareNextOutline : function() {
|
1368
|
-
var key = this.key;
|
1369
|
-
var outlineType = this.outlineType;
|
1370
|
-
new hs.Outline(outlineType,
|
1371
|
-
function () { try { hs.expanders[key].preloadNext(); } catch (e) {} });
|
1372
|
-
},
|
1373
|
-
|
1374
|
-
|
1375
|
-
preloadNext : function() {
|
1376
|
-
var next = this.getAdjacentAnchor(1);
|
1377
|
-
if (next && next.onclick.toString().match(/hs\.expand/))
|
1378
|
-
var img = hs.createElement('img', { src: hs.getSrc(next) });
|
1379
|
-
},
|
1380
|
-
|
1381
|
-
|
1382
|
-
getAdjacentAnchor : function(op) {
|
1383
|
-
var current = this.getAnchorIndex(), as = hs.anchors.groups[this.slideshowGroup || 'none'];
|
1384
|
-
return (as && as[current + op]) || null;
|
1385
|
-
},
|
1386
|
-
|
1387
|
-
getAnchorIndex : function() {
|
1388
|
-
var arr = hs.getAnchors().groups[this.slideshowGroup || 'none'];
|
1389
|
-
if (arr) for (var i = 0; i < arr.length; i++) {
|
1390
|
-
if (arr[i] == this.a) return i;
|
1391
|
-
}
|
1392
|
-
return null;
|
1393
|
-
},
|
1394
|
-
|
1395
|
-
|
1396
|
-
cancelLoading : function() {
|
1397
|
-
hs.discardElement (this.wrapper);
|
1398
|
-
hs.expanders[this.key] = null;
|
1399
|
-
if (this.loading) hs.loading.style.left = '-9999px';
|
1400
|
-
},
|
1401
|
-
|
1402
|
-
writeCredits : function () {
|
1403
|
-
this.credits = hs.createElement('a', {
|
1404
|
-
href: hs.creditsHref,
|
1405
|
-
target: hs.creditsTarget,
|
1406
|
-
className: 'highslide-credits',
|
1407
|
-
innerHTML: hs.lang.creditsText,
|
1408
|
-
title: hs.lang.creditsTitle
|
1409
|
-
});
|
1410
|
-
this.createOverlay({
|
1411
|
-
overlayId: this.credits,
|
1412
|
-
position: this.creditsPosition || 'top left'
|
1413
|
-
});
|
1414
|
-
},
|
1415
|
-
|
1416
|
-
getInline : function(types, addOverlay) {
|
1417
|
-
for (var i = 0; i < types.length; i++) {
|
1418
|
-
var type = types[i], s = null;
|
1419
|
-
if (!this[type +'Id'] && this.thumbsUserSetId)
|
1420
|
-
this[type +'Id'] = type +'-for-'+ this.thumbsUserSetId;
|
1421
|
-
if (this[type +'Id']) this[type] = hs.getNode(this[type +'Id']);
|
1422
|
-
if (!this[type] && !this[type +'Text'] && this[type +'Eval']) try {
|
1423
|
-
s = eval(this[type +'Eval']);
|
1424
|
-
} catch (e) {}
|
1425
|
-
if (!this[type] && this[type +'Text']) {
|
1426
|
-
s = this[type +'Text'];
|
1427
|
-
}
|
1428
|
-
if (!this[type] && !s) {
|
1429
|
-
this[type] = hs.getNode(this.a['_'+ type + 'Id']);
|
1430
|
-
if (!this[type]) {
|
1431
|
-
var next = this.a.nextSibling;
|
1432
|
-
while (next && !hs.isHsAnchor(next)) {
|
1433
|
-
if ((new RegExp('highslide-'+ type)).test(next.className || null)) {
|
1434
|
-
if (!next.id) this.a['_'+ type + 'Id'] = next.id = 'hsId'+ hs.idCounter++;
|
1435
|
-
this[type] = hs.getNode(next.id);
|
1436
|
-
break;
|
1437
|
-
}
|
1438
|
-
next = next.nextSibling;
|
1439
|
-
}
|
1440
|
-
}
|
1441
|
-
}
|
1442
|
-
|
1443
|
-
if (!this[type] && s) this[type] = hs.createElement('div',
|
1444
|
-
{ className: 'highslide-'+ type, innerHTML: s } );
|
1445
|
-
|
1446
|
-
if (addOverlay && this[type]) {
|
1447
|
-
var o = { position: (type == 'heading') ? 'above' : 'below' };
|
1448
|
-
for (var x in this[type+'Overlay']) o[x] = this[type+'Overlay'][x];
|
1449
|
-
o.overlayId = this[type];
|
1450
|
-
this.createOverlay(o);
|
1451
|
-
}
|
1452
|
-
}
|
1453
|
-
},
|
1454
|
-
|
1455
|
-
|
1456
|
-
// on end move and resize
|
1457
|
-
doShowHide : function(visibility) {
|
1458
|
-
if (hs.hideSelects) this.showHideElements('SELECT', visibility);
|
1459
|
-
if (hs.hideIframes) this.showHideElements('IFRAME', visibility);
|
1460
|
-
if (hs.geckoMac) this.showHideElements('*', visibility);
|
1461
|
-
},
|
1462
|
-
showHideElements : function (tagName, visibility) {
|
1463
|
-
var els = document.getElementsByTagName(tagName);
|
1464
|
-
var prop = tagName == '*' ? 'overflow' : 'visibility';
|
1465
|
-
for (var i = 0; i < els.length; i++) {
|
1466
|
-
if (prop == 'visibility' || (document.defaultView.getComputedStyle(
|
1467
|
-
els[i], "").getPropertyValue('overflow') == 'auto'
|
1468
|
-
|| els[i].getAttribute('hidden-by') != null)) {
|
1469
|
-
var hiddenBy = els[i].getAttribute('hidden-by');
|
1470
|
-
if (visibility == 'visible' && hiddenBy) {
|
1471
|
-
hiddenBy = hiddenBy.replace('['+ this.key +']', '');
|
1472
|
-
els[i].setAttribute('hidden-by', hiddenBy);
|
1473
|
-
if (!hiddenBy) els[i].style[prop] = els[i].origProp;
|
1474
|
-
} else if (visibility == 'hidden') { // hide if behind
|
1475
|
-
var elPos = hs.getPosition(els[i]);
|
1476
|
-
elPos.w = els[i].offsetWidth;
|
1477
|
-
elPos.h = els[i].offsetHeight;
|
1478
|
-
|
1479
|
-
|
1480
|
-
var clearsX = (elPos.x + elPos.w < this.x.get('opos')
|
1481
|
-
|| elPos.x > this.x.get('opos') + this.x.get('osize'));
|
1482
|
-
var clearsY = (elPos.y + elPos.h < this.y.get('opos')
|
1483
|
-
|| elPos.y > this.y.get('opos') + this.y.get('osize'));
|
1484
|
-
var wrapperKey = hs.getWrapperKey(els[i]);
|
1485
|
-
if (!clearsX && !clearsY && wrapperKey != this.key) { // element falls behind image
|
1486
|
-
if (!hiddenBy) {
|
1487
|
-
els[i].setAttribute('hidden-by', '['+ this.key +']');
|
1488
|
-
els[i].origProp = els[i].style[prop];
|
1489
|
-
els[i].style[prop] = 'hidden';
|
1490
|
-
|
1491
|
-
} else if (hiddenBy.indexOf('['+ this.key +']') == -1) {
|
1492
|
-
els[i].setAttribute('hidden-by', hiddenBy + '['+ this.key +']');
|
1493
|
-
}
|
1494
|
-
} else if ((hiddenBy == '['+ this.key +']' || hs.focusKey == wrapperKey)
|
1495
|
-
&& wrapperKey != this.key) { // on move
|
1496
|
-
els[i].setAttribute('hidden-by', '');
|
1497
|
-
els[i].style[prop] = els[i].origProp || '';
|
1498
|
-
} else if (hiddenBy && hiddenBy.indexOf('['+ this.key +']') > -1) {
|
1499
|
-
els[i].setAttribute('hidden-by', hiddenBy.replace('['+ this.key +']', ''));
|
1500
|
-
}
|
1501
|
-
|
1502
|
-
}
|
1503
|
-
}
|
1504
|
-
}
|
1505
|
-
},
|
1506
|
-
|
1507
|
-
focus : function() {
|
1508
|
-
this.wrapper.style.zIndex = hs.zIndexCounter += 2;
|
1509
|
-
// blur others
|
1510
|
-
for (var i = 0; i < hs.expanders.length; i++) {
|
1511
|
-
if (hs.expanders[i] && i == hs.focusKey) {
|
1512
|
-
var blurExp = hs.expanders[i];
|
1513
|
-
blurExp.content.className += ' highslide-'+ blurExp.contentType +'-blur';
|
1514
|
-
blurExp.content.style.cursor = hs.ieLt7 ? 'hand' : 'pointer';
|
1515
|
-
blurExp.content.title = hs.lang.focusTitle;
|
1516
|
-
}
|
1517
|
-
}
|
1518
|
-
|
1519
|
-
// focus this
|
1520
|
-
if (this.outline) this.outline.table.style.zIndex
|
1521
|
-
= this.wrapper.style.zIndex - 1;
|
1522
|
-
this.content.className = 'highslide-'+ this.contentType;
|
1523
|
-
this.content.title = hs.lang.restoreTitle;
|
1524
|
-
|
1525
|
-
if (hs.restoreCursor) {
|
1526
|
-
hs.styleRestoreCursor = window.opera ? 'pointer' : 'url('+ hs.graphicsDir + hs.restoreCursor +'), pointer';
|
1527
|
-
if (hs.ieLt7 && hs.uaVersion < 6) hs.styleRestoreCursor = 'hand';
|
1528
|
-
this.content.style.cursor = hs.styleRestoreCursor;
|
1529
|
-
}
|
1530
|
-
|
1531
|
-
hs.focusKey = this.key;
|
1532
|
-
hs.addEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
1533
|
-
},
|
1534
|
-
moveTo: function(x, y) {
|
1535
|
-
this.x.setPos(x);
|
1536
|
-
this.y.setPos(y);
|
1537
|
-
},
|
1538
|
-
resize : function (e) {
|
1539
|
-
var w, h, r = e.width / e.height;
|
1540
|
-
w = Math.max(e.width + e.dX, Math.min(this.minWidth, this.x.full));
|
1541
|
-
if (this.isImage && Math.abs(w - this.x.full) < 12) w = this.x.full;
|
1542
|
-
h = w / r;
|
1543
|
-
if (h < Math.min(this.minHeight, this.y.full)) {
|
1544
|
-
h = Math.min(this.minHeight, this.y.full);
|
1545
|
-
if (this.isImage) w = h * r;
|
1546
|
-
}
|
1547
|
-
this.resizeTo(w, h);
|
1548
|
-
},
|
1549
|
-
resizeTo: function(w, h) {
|
1550
|
-
this.y.setSize(h);
|
1551
|
-
this.x.setSize(w);
|
1552
|
-
this.wrapper.style.height = this.y.get('wsize') +'px';
|
1553
|
-
},
|
1554
|
-
|
1555
|
-
close : function() {
|
1556
|
-
if (this.isClosing || !this.isExpanded) return;
|
1557
|
-
this.isClosing = true;
|
1558
|
-
|
1559
|
-
hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
1560
|
-
|
1561
|
-
try {
|
1562
|
-
this.content.style.cursor = 'default';
|
1563
|
-
this.changeSize(
|
1564
|
-
0, {
|
1565
|
-
wrapper: {
|
1566
|
-
width : this.x.t,
|
1567
|
-
height : this.y.t,
|
1568
|
-
left: this.x.tpos - this.x.cb + this.x.tb,
|
1569
|
-
top: this.y.tpos - this.y.cb + this.y.tb
|
1570
|
-
},
|
1571
|
-
content: {
|
1572
|
-
left: 0,
|
1573
|
-
top: 0,
|
1574
|
-
width: this.x.t,
|
1575
|
-
height: this.y.t
|
1576
|
-
}
|
1577
|
-
}, hs.restoreDuration
|
1578
|
-
);
|
1579
|
-
} catch (e) { this.afterClose(); }
|
1580
|
-
},
|
1581
|
-
|
1582
|
-
createOverlay : function (o) {
|
1583
|
-
var el = o.overlayId;
|
1584
|
-
if (typeof el == 'string') el = hs.getNode(el);
|
1585
|
-
if (o.html) el = hs.createElement('div', { innerHTML: o.html });
|
1586
|
-
if (!el || typeof el == 'string') return;
|
1587
|
-
el.style.display = 'block';
|
1588
|
-
this.genOverlayBox();
|
1589
|
-
var width = o.width && /^[0-9]+(px|%)$/.test(o.width) ? o.width : 'auto';
|
1590
|
-
if (/^(left|right)panel$/.test(o.position) && !/^[0-9]+px$/.test(o.width)) width = '200px';
|
1591
|
-
var overlay = hs.createElement(
|
1592
|
-
'div', {
|
1593
|
-
id: 'hsId'+ hs.idCounter++,
|
1594
|
-
hsId: o.hsId
|
1595
|
-
}, {
|
1596
|
-
position: 'absolute',
|
1597
|
-
visibility: 'hidden',
|
1598
|
-
width: width,
|
1599
|
-
direction: hs.lang.cssDirection || '',
|
1600
|
-
opacity: 0
|
1601
|
-
},this.overlayBox,
|
1602
|
-
true
|
1603
|
-
);
|
1604
|
-
|
1605
|
-
overlay.appendChild(el);
|
1606
|
-
hs.extend(overlay, {
|
1607
|
-
opacity: 1,
|
1608
|
-
offsetX: 0,
|
1609
|
-
offsetY: 0,
|
1610
|
-
dur: (o.fade === 0 || o.fade === false || (o.fade == 2 && hs.ie)) ? 0 : 250
|
1611
|
-
});
|
1612
|
-
hs.extend(overlay, o);
|
1613
|
-
|
1614
|
-
|
1615
|
-
if (this.gotOverlays) {
|
1616
|
-
this.positionOverlay(overlay);
|
1617
|
-
if (!overlay.hideOnMouseOut || this.mouseIsOver)
|
1618
|
-
hs.animate(overlay, { opacity: overlay.opacity }, overlay.dur);
|
1619
|
-
}
|
1620
|
-
hs.push(this.overlays, hs.idCounter - 1);
|
1621
|
-
},
|
1622
|
-
positionOverlay : function(overlay) {
|
1623
|
-
var p = overlay.position || 'middle center',
|
1624
|
-
offX = overlay.offsetX,
|
1625
|
-
offY = overlay.offsetY;
|
1626
|
-
if (overlay.parentNode != this.overlayBox) this.overlayBox.appendChild(overlay);
|
1627
|
-
if (/left$/.test(p)) overlay.style.left = offX +'px';
|
1628
|
-
|
1629
|
-
if (/center$/.test(p)) hs.setStyles (overlay, {
|
1630
|
-
left: '50%',
|
1631
|
-
marginLeft: (offX - Math.round(overlay.offsetWidth / 2)) +'px'
|
1632
|
-
});
|
1633
|
-
|
1634
|
-
if (/right$/.test(p)) overlay.style.right = - offX +'px';
|
1635
|
-
|
1636
|
-
if (/^leftpanel$/.test(p)) {
|
1637
|
-
hs.setStyles(overlay, {
|
1638
|
-
right: '100%',
|
1639
|
-
marginRight: this.x.cb +'px',
|
1640
|
-
top: - this.y.cb +'px',
|
1641
|
-
bottom: - this.y.cb +'px',
|
1642
|
-
overflow: 'auto'
|
1643
|
-
});
|
1644
|
-
this.x.p1 = overlay.offsetWidth;
|
1645
|
-
|
1646
|
-
} else if (/^rightpanel$/.test(p)) {
|
1647
|
-
hs.setStyles(overlay, {
|
1648
|
-
left: '100%',
|
1649
|
-
marginLeft: this.x.cb +'px',
|
1650
|
-
top: - this.y.cb +'px',
|
1651
|
-
bottom: - this.y.cb +'px',
|
1652
|
-
overflow: 'auto'
|
1653
|
-
});
|
1654
|
-
this.x.p2 = overlay.offsetWidth;
|
1655
|
-
}
|
1656
|
-
|
1657
|
-
if (/^top/.test(p)) overlay.style.top = offY +'px';
|
1658
|
-
if (/^middle/.test(p)) hs.setStyles (overlay, {
|
1659
|
-
top: '50%',
|
1660
|
-
marginTop: (offY - Math.round(overlay.offsetHeight / 2)) +'px'
|
1661
|
-
});
|
1662
|
-
if (/^bottom/.test(p)) overlay.style.bottom = - offY +'px';
|
1663
|
-
if (/^above$/.test(p)) {
|
1664
|
-
hs.setStyles(overlay, {
|
1665
|
-
left: (- this.x.p1 - this.x.cb) +'px',
|
1666
|
-
right: (- this.x.p2 - this.x.cb) +'px',
|
1667
|
-
bottom: '100%',
|
1668
|
-
marginBottom: this.y.cb +'px',
|
1669
|
-
width: 'auto'
|
1670
|
-
});
|
1671
|
-
this.y.p1 = overlay.offsetHeight;
|
1672
|
-
|
1673
|
-
} else if (/^below$/.test(p)) {
|
1674
|
-
hs.setStyles(overlay, {
|
1675
|
-
position: 'relative',
|
1676
|
-
left: (- this.x.p1 - this.x.cb) +'px',
|
1677
|
-
right: (- this.x.p2 - this.x.cb) +'px',
|
1678
|
-
top: '100%',
|
1679
|
-
marginTop: this.y.cb +'px',
|
1680
|
-
width: 'auto'
|
1681
|
-
});
|
1682
|
-
this.y.p2 = overlay.offsetHeight;
|
1683
|
-
overlay.style.position = 'absolute';
|
1684
|
-
}
|
1685
|
-
},
|
1686
|
-
|
1687
|
-
getOverlays : function() {
|
1688
|
-
this.getInline(['heading', 'caption'], true);
|
1689
|
-
if (this.heading && this.dragByHeading) this.heading.className += ' highslide-move';
|
1690
|
-
if (hs.showCredits) this.writeCredits();
|
1691
|
-
for (var i = 0; i < hs.overlays.length; i++) {
|
1692
|
-
var o = hs.overlays[i], tId = o.thumbnailId, sg = o.slideshowGroup;
|
1693
|
-
if ((!tId && !sg) || (tId && tId == this.thumbsUserSetId)
|
1694
|
-
|| (sg && sg === this.slideshowGroup)) {
|
1695
|
-
this.createOverlay(o);
|
1696
|
-
}
|
1697
|
-
}
|
1698
|
-
var os = [];
|
1699
|
-
for (var i = 0; i < this.overlays.length; i++) {
|
1700
|
-
var o = hs.$('hsId'+ this.overlays[i]);
|
1701
|
-
if (/panel$/.test(o.position)) this.positionOverlay(o);
|
1702
|
-
else hs.push(os, o);
|
1703
|
-
}
|
1704
|
-
for (var i = 0; i < os.length; i++) this.positionOverlay(os[i]);
|
1705
|
-
this.gotOverlays = true;
|
1706
|
-
},
|
1707
|
-
genOverlayBox : function() {
|
1708
|
-
if (!this.overlayBox) this.overlayBox = hs.createElement (
|
1709
|
-
'div', {
|
1710
|
-
className: this.wrapperClassName
|
1711
|
-
}, {
|
1712
|
-
position : 'absolute',
|
1713
|
-
width: (this.x.size || (this.useBox ? this.width : null)
|
1714
|
-
|| this.x.full) +'px',
|
1715
|
-
height: (this.y.size || this.y.full) +'px',
|
1716
|
-
visibility : 'hidden',
|
1717
|
-
overflow : 'hidden',
|
1718
|
-
zIndex : hs.ie ? 4 : 'auto'
|
1719
|
-
},
|
1720
|
-
hs.container,
|
1721
|
-
true
|
1722
|
-
);
|
1723
|
-
},
|
1724
|
-
sizeOverlayBox : function(doWrapper, doPanels) {
|
1725
|
-
var overlayBox = this.overlayBox,
|
1726
|
-
x = this.x,
|
1727
|
-
y = this.y;
|
1728
|
-
hs.setStyles( overlayBox, {
|
1729
|
-
width: x.size +'px',
|
1730
|
-
height: y.size +'px'
|
1731
|
-
});
|
1732
|
-
if (doWrapper || doPanels) {
|
1733
|
-
for (var i = 0; i < this.overlays.length; i++) {
|
1734
|
-
var o = hs.$('hsId'+ this.overlays[i]);
|
1735
|
-
var ie6 = (hs.ieLt7 || document.compatMode == 'BackCompat');
|
1736
|
-
if (o && /^(above|below)$/.test(o.position)) {
|
1737
|
-
if (ie6) {
|
1738
|
-
o.style.width = (overlayBox.offsetWidth + 2 * x.cb
|
1739
|
-
+ x.p1 + x.p2) +'px';
|
1740
|
-
}
|
1741
|
-
y[o.position == 'above' ? 'p1' : 'p2'] = o.offsetHeight;
|
1742
|
-
}
|
1743
|
-
if (o && ie6 && /^(left|right)panel$/.test(o.position)) {
|
1744
|
-
o.style.height = (overlayBox.offsetHeight + 2* y.cb) +'px';
|
1745
|
-
}
|
1746
|
-
}
|
1747
|
-
}
|
1748
|
-
if (doWrapper) {
|
1749
|
-
hs.setStyles(this.content, {
|
1750
|
-
top: y.p1 +'px'
|
1751
|
-
});
|
1752
|
-
hs.setStyles(overlayBox, {
|
1753
|
-
top: (y.p1 + y.cb) +'px'
|
1754
|
-
});
|
1755
|
-
}
|
1756
|
-
},
|
1757
|
-
|
1758
|
-
showOverlays : function() {
|
1759
|
-
var b = this.overlayBox;
|
1760
|
-
b.className = '';
|
1761
|
-
hs.setStyles(b, {
|
1762
|
-
top: (this.y.p1 + this.y.cb) +'px',
|
1763
|
-
left: (this.x.p1 + this.x.cb) +'px',
|
1764
|
-
overflow : 'visible'
|
1765
|
-
});
|
1766
|
-
if (hs.safari) b.style.visibility = 'visible';
|
1767
|
-
this.wrapper.appendChild (b);
|
1768
|
-
for (var i = 0; i < this.overlays.length; i++) {
|
1769
|
-
var o = hs.$('hsId'+ this.overlays[i]);
|
1770
|
-
o.style.zIndex = o.zIndex || 4;
|
1771
|
-
if (!o.hideOnMouseOut || this.mouseIsOver) {
|
1772
|
-
o.style.visibility = 'visible';
|
1773
|
-
hs.setStyles(o, { visibility: 'visible', display: '' });
|
1774
|
-
hs.animate(o, { opacity: o.opacity }, o.dur);
|
1775
|
-
}
|
1776
|
-
}
|
1777
|
-
},
|
1778
|
-
|
1779
|
-
destroyOverlays : function() {
|
1780
|
-
if (!this.overlays.length) return;
|
1781
|
-
hs.discardElement(this.overlayBox);
|
1782
|
-
},
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
createFullExpand : function () {
|
1787
|
-
this.fullExpandLabel = hs.createElement(
|
1788
|
-
'a', {
|
1789
|
-
href: 'javascript:hs.expanders['+ this.key +'].doFullExpand();',
|
1790
|
-
title: hs.lang.fullExpandTitle,
|
1791
|
-
className: 'highslide-full-expand'
|
1792
|
-
}
|
1793
|
-
);
|
1794
|
-
|
1795
|
-
this.createOverlay({
|
1796
|
-
overlayId: this.fullExpandLabel,
|
1797
|
-
position: hs.fullExpandPosition,
|
1798
|
-
hideOnMouseOut: true,
|
1799
|
-
opacity: hs.fullExpandOpacity
|
1800
|
-
});
|
1801
|
-
},
|
1802
|
-
|
1803
|
-
doFullExpand : function () {
|
1804
|
-
try {
|
1805
|
-
if (this.fullExpandLabel) hs.discardElement(this.fullExpandLabel);
|
1806
|
-
|
1807
|
-
this.focus();
|
1808
|
-
var xSize = this.x.size;
|
1809
|
-
this.resizeTo(this.x.full, this.y.full);
|
1810
|
-
|
1811
|
-
var xpos = this.x.pos - (this.x.size - xSize) / 2;
|
1812
|
-
if (xpos < hs.marginLeft) xpos = hs.marginLeft;
|
1813
|
-
|
1814
|
-
this.moveTo(xpos, this.y.pos);
|
1815
|
-
this.doShowHide('hidden');
|
1816
|
-
|
1817
|
-
} catch (e) {
|
1818
|
-
this.error(e);
|
1819
|
-
}
|
1820
|
-
},
|
1821
|
-
|
1822
|
-
|
1823
|
-
afterClose : function () {
|
1824
|
-
this.a.className = this.a.className.replace('highslide-active-anchor', '');
|
1825
|
-
|
1826
|
-
this.doShowHide('visible');
|
1827
|
-
if (this.outline && this.outlineWhileAnimating) this.outline.destroy();
|
1828
|
-
|
1829
|
-
hs.discardElement(this.wrapper);
|
1830
|
-
|
1831
|
-
hs.expanders[this.key] = null;
|
1832
|
-
hs.reOrder();
|
1833
|
-
}
|
1834
|
-
|
1835
|
-
};
|
1836
|
-
hs.langDefaults = hs.lang;
|
1837
|
-
// history
|
1838
|
-
var HsExpander = hs.Expander;
|
1839
|
-
if (hs.ie && window == window.top) {
|
1840
|
-
(function () {
|
1841
|
-
try {
|
1842
|
-
document.documentElement.doScroll('left');
|
1843
|
-
} catch (e) {
|
1844
|
-
setTimeout(arguments.callee, 50);
|
1845
|
-
return;
|
1846
|
-
}
|
1847
|
-
hs.ready();
|
1848
|
-
})();
|
1849
|
-
}
|
1850
|
-
hs.addEventListener(document, 'DOMContentLoaded', hs.ready);
|
1851
|
-
hs.addEventListener(window, 'load', hs.ready);
|
1852
|
-
|
1853
|
-
// set handlers
|
1854
|
-
hs.addEventListener(document, 'ready', function() {
|
1855
|
-
if (hs.expandCursor) {
|
1856
|
-
var style = hs.createElement('style', { type: 'text/css' }, null,
|
1857
|
-
document.getElementsByTagName('HEAD')[0]);
|
1858
|
-
|
1859
|
-
function addRule(sel, dec) {
|
1860
|
-
if (hs.ie && hs.uaVersion < 9) {
|
1861
|
-
var last = document.styleSheets[document.styleSheets.length - 1];
|
1862
|
-
if (typeof(last.addRule) == "object") last.addRule(sel, dec);
|
1863
|
-
} else {
|
1864
|
-
style.appendChild(document.createTextNode(sel + " {" + dec + "}"));
|
1865
|
-
}
|
1866
|
-
}
|
1867
|
-
function fix(prop) {
|
1868
|
-
return 'expression( ( ( ignoreMe = document.documentElement.'+ prop +
|
1869
|
-
' ? document.documentElement.'+ prop +' : document.body.'+ prop +' ) ) + \'px\' );';
|
1870
|
-
}
|
1871
|
-
if (hs.expandCursor) addRule ('.highslide img',
|
1872
|
-
'cursor: url('+ hs.graphicsDir + hs.expandCursor +'), pointer !important;');
|
1873
|
-
}
|
1874
|
-
});
|
1875
|
-
hs.addEventListener(window, 'resize', function() {
|
1876
|
-
hs.getPageSize();
|
1877
|
-
});
|
1878
|
-
hs.addEventListener(document, 'mousemove', function(e) {
|
1879
|
-
hs.mouse = { x: e.clientX, y: e.clientY };
|
1880
|
-
});
|
1881
|
-
hs.addEventListener(document, 'mousedown', hs.mouseClickHandler);
|
1882
|
-
hs.addEventListener(document, 'mouseup', hs.mouseClickHandler);
|
1883
|
-
|
1884
|
-
hs.addEventListener(document, 'ready', hs.getAnchors);
|
1885
|
-
hs.addEventListener(window, 'load', hs.preloadImages);
|
1886
|
-
}
|