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
@@ -0,0 +1,198 @@
|
|
1
|
+
Ext.define("CompassAE.ErpApp.Shared.Party.UserTypePanel", {
|
2
|
+
extend: 'Ext.form.Panel',
|
3
|
+
alias: 'widget.partyusertypepanel',
|
4
|
+
|
5
|
+
title: 'User Type',
|
6
|
+
autoScroll: true,
|
7
|
+
|
8
|
+
partyId: null,
|
9
|
+
availableRoleTypes: null,
|
10
|
+
selectedRoleTypes: [],
|
11
|
+
fieldSetHeights: 250,
|
12
|
+
|
13
|
+
dockedItems: {
|
14
|
+
xtype: 'toolbar',
|
15
|
+
docked: 'top',
|
16
|
+
items: [{
|
17
|
+
text: 'Save',
|
18
|
+
iconCls: 'icon-save',
|
19
|
+
handler: function(btn) {
|
20
|
+
btn.up('form').save(btn);
|
21
|
+
}
|
22
|
+
}]
|
23
|
+
},
|
24
|
+
|
25
|
+
initComponent: function() {
|
26
|
+
var me = this;
|
27
|
+
|
28
|
+
me.addEvents(
|
29
|
+
/*
|
30
|
+
* @event saved
|
31
|
+
* Fires when the roles type are saved
|
32
|
+
* @param {CompassAE.ErpApp.Shared.Party.UserTypePanel} this panel
|
33
|
+
* @param {Compass.ErpApp.Shared.TypeSelectionTree} Type selection tree
|
34
|
+
* @param {Array} Selected types
|
35
|
+
*/
|
36
|
+
'saved'
|
37
|
+
);
|
38
|
+
|
39
|
+
me.callParent(arguments);
|
40
|
+
|
41
|
+
me.on('boxready', function() {
|
42
|
+
var mask = new Ext.LoadMask({
|
43
|
+
msg: 'Please wait...',
|
44
|
+
target: me
|
45
|
+
});
|
46
|
+
mask.show();
|
47
|
+
|
48
|
+
me.add({
|
49
|
+
xtype: 'fieldset',
|
50
|
+
width: 450,
|
51
|
+
style: {
|
52
|
+
marginLeft: '10px',
|
53
|
+
marginRight: '10px',
|
54
|
+
padding: '5px'
|
55
|
+
}
|
56
|
+
}, {
|
57
|
+
xtype: 'box',
|
58
|
+
itemId: 'instructions',
|
59
|
+
autoEl: 'div',
|
60
|
+
width: 450,
|
61
|
+
hidden: true,
|
62
|
+
style: {
|
63
|
+
marginLeft: '10px',
|
64
|
+
marginRight: '10px',
|
65
|
+
padding: '5px'
|
66
|
+
},
|
67
|
+
html: '<p>User Types (also called Party Roles) control what types of relationships this party can have in the application. Are they a buyer, seller or employee? It also controls which lists in which a party will appear. </p>'
|
68
|
+
});
|
69
|
+
|
70
|
+
var params = {};
|
71
|
+
|
72
|
+
if (me.availableRoleTypes) {
|
73
|
+
params['ids'] = me.availableRoleTypes;
|
74
|
+
}
|
75
|
+
|
76
|
+
var loadUserTypes = function() {
|
77
|
+
var dfd = Ext.create('Ext.ux.Deferred');
|
78
|
+
|
79
|
+
Compass.ErpApp.Utility.ajaxRequest({
|
80
|
+
method: 'GET',
|
81
|
+
url: '/api/v1/role_types.tree',
|
82
|
+
params: params,
|
83
|
+
errorMessage: 'Could not load User Types',
|
84
|
+
success: function(response) {
|
85
|
+
me.down('fieldset').add({
|
86
|
+
header: false,
|
87
|
+
xtype: 'typeselectiontree',
|
88
|
+
typesUrl: '/api/v1/role_types',
|
89
|
+
typesRoot: 'role_types',
|
90
|
+
allowBlank: false,
|
91
|
+
height: me.fieldSetHeights,
|
92
|
+
availableTypes: response.role_types
|
93
|
+
});
|
94
|
+
|
95
|
+
me.down('#instructions').show();
|
96
|
+
dfd.resolve();
|
97
|
+
},
|
98
|
+
failure: function() {
|
99
|
+
me.down('#instructions').hide();
|
100
|
+
dfd.reject();
|
101
|
+
}
|
102
|
+
});
|
103
|
+
|
104
|
+
return dfd.promise();
|
105
|
+
};
|
106
|
+
|
107
|
+
var loadPartyUserTypes = function() {
|
108
|
+
var dfd = Ext.create('Ext.ux.Deferred');
|
109
|
+
|
110
|
+
Compass.ErpApp.Utility.ajaxRequest({
|
111
|
+
method: 'GET',
|
112
|
+
url: '/api/v1/parties/' + me.partyId + '/role_types',
|
113
|
+
params: params,
|
114
|
+
errorMessage: 'Could not load User Types',
|
115
|
+
success: function(response) {
|
116
|
+
var roleTypeInternalIdentifiers = Ext.Array.pluck(response.role_types, 'internal_identifier');
|
117
|
+
var tree = me.down('typeselectiontree');
|
118
|
+
var rootNode = tree.getRootNode();
|
119
|
+
|
120
|
+
rootNode.cascadeBy(function(node) {
|
121
|
+
if (Ext.Array.contains(roleTypeInternalIdentifiers, node.get('internalIdentifier'))) {
|
122
|
+
node.set('checked', true);
|
123
|
+
|
124
|
+
var parent = node.parentNode;
|
125
|
+
while (parent.internalId != rootNode.internalId) {
|
126
|
+
parent.expand();
|
127
|
+
parent = parent.parentNode;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}, true);
|
131
|
+
|
132
|
+
dfd.resolve();
|
133
|
+
},
|
134
|
+
failure: function() {
|
135
|
+
dfd.reject();
|
136
|
+
}
|
137
|
+
});
|
138
|
+
|
139
|
+
return dfd.promise();
|
140
|
+
};
|
141
|
+
|
142
|
+
window.userTypePanel = me;
|
143
|
+
window.userTypePanelMask = mask;
|
144
|
+
|
145
|
+
Ext.ux.Deferred.when(loadUserTypes)
|
146
|
+
.then(loadPartyUserTypes, me.loadError)
|
147
|
+
.then(function(results) {
|
148
|
+
window.userTypePanel.down('#instructions').show();
|
149
|
+
window.userTypePanelMask.hide();
|
150
|
+
|
151
|
+
window.userTypePanel = null;
|
152
|
+
window.userTypePanelMask = null;
|
153
|
+
}, me.loadError);
|
154
|
+
});
|
155
|
+
},
|
156
|
+
|
157
|
+
loadError: function() {
|
158
|
+
window.userTypePanel.down('#instructions').hide();
|
159
|
+
window.userTypePanelMask.hide();
|
160
|
+
|
161
|
+
window.userTypePanel = null;
|
162
|
+
window.userTypePanelMask = null;
|
163
|
+
},
|
164
|
+
|
165
|
+
save: function(btn) {
|
166
|
+
var me = this;
|
167
|
+
var tree = me.down('typeselectiontree');
|
168
|
+
|
169
|
+
if (me.isValid()) {
|
170
|
+
btn.disable();
|
171
|
+
|
172
|
+
var mask = new Ext.LoadMask({
|
173
|
+
msg: 'Please wait...',
|
174
|
+
target: me
|
175
|
+
});
|
176
|
+
mask.show();
|
177
|
+
|
178
|
+
Compass.ErpApp.Utility.ajaxRequest({
|
179
|
+
url: '/api/v1/parties/' + me.partyId + '/update_roles',
|
180
|
+
method: 'PUT',
|
181
|
+
params: {
|
182
|
+
role_type_iids: tree.getSubmitData()
|
183
|
+
},
|
184
|
+
errorMessage: 'Could not save User Type',
|
185
|
+
success: function(response) {
|
186
|
+
me.fireEvent('saved', me, tree, tree.getSelectedTypes());
|
187
|
+
|
188
|
+
btn.enable();
|
189
|
+
mask.hide();
|
190
|
+
},
|
191
|
+
failure: function() {
|
192
|
+
btn.enable();
|
193
|
+
mask.hide();
|
194
|
+
}
|
195
|
+
});
|
196
|
+
}
|
197
|
+
}
|
198
|
+
});
|
File without changes
|
@@ -0,0 +1,189 @@
|
|
1
|
+
/**
|
2
|
+
* @author wangzilong
|
3
|
+
* update Ext - 4.1 2012/04/27
|
4
|
+
* update Ext - 4.2 2013/03/18 change alias name, change default value
|
5
|
+
* update Ext - 4.2.1 2014/08/25 fix the width in different Theme
|
6
|
+
*/
|
7
|
+
Ext.define('Ext.ux.form.TimePickerField', {
|
8
|
+
extend: 'Ext.form.field.Base',
|
9
|
+
alias: 'widget.uxtimepicker',
|
10
|
+
alternateClassName: 'Ext.form.field.TimePickerField',
|
11
|
+
requires: ['Ext.form.field.Number'],
|
12
|
+
|
13
|
+
// hidden basefield's input
|
14
|
+
inputType: 'hidden',
|
15
|
+
|
16
|
+
style: 'padding:4px 0 0 0;margin-bottom:0px',
|
17
|
+
|
18
|
+
msgTarget: 'none',
|
19
|
+
|
20
|
+
/**
|
21
|
+
* @cfg {String} value
|
22
|
+
* initValue, format: 'H:i:s'
|
23
|
+
*/
|
24
|
+
value: null,
|
25
|
+
|
26
|
+
/**
|
27
|
+
* @cfg {Object} spinnerCfg
|
28
|
+
* number input config
|
29
|
+
*/
|
30
|
+
|
31
|
+
/** Override. */
|
32
|
+
initComponent: function () {
|
33
|
+
var me = this;
|
34
|
+
|
35
|
+
me.spinnerCfg = me.spinnerCfg || {
|
36
|
+
columnWidth: .333
|
37
|
+
};
|
38
|
+
|
39
|
+
me.value = me.value || '00:00:00';
|
40
|
+
|
41
|
+
me.callParent();// called setValue
|
42
|
+
|
43
|
+
me.spinners = [];
|
44
|
+
var cfg = Ext.apply({}, me.spinnerCfg, {
|
45
|
+
readOnly: me.readOnly,
|
46
|
+
disabled: me.disabled,
|
47
|
+
style: 'float: left',
|
48
|
+
listeners: {
|
49
|
+
change: {
|
50
|
+
fn: me.onSpinnerChange,
|
51
|
+
scope: me
|
52
|
+
}
|
53
|
+
}
|
54
|
+
});
|
55
|
+
|
56
|
+
me.hoursSpinner = Ext.create('Ext.form.field.Number', Ext.apply({}, cfg, {
|
57
|
+
minValue: 0,
|
58
|
+
maxValue: 23
|
59
|
+
}));
|
60
|
+
me.minutesSpinner = Ext.create('Ext.form.field.Number', Ext.apply({}, cfg, {
|
61
|
+
minValue: 0,
|
62
|
+
maxValue: 59
|
63
|
+
}));
|
64
|
+
// TODO 使用timeformat 判断是否创建秒输入框, maybe second field is not always need.
|
65
|
+
me.secondsSpinner = Ext.create('Ext.form.field.Number', Ext.apply({}, cfg, {
|
66
|
+
minValue: 0,
|
67
|
+
maxValue: 59
|
68
|
+
}));
|
69
|
+
|
70
|
+
me.spinners.push(me.hoursSpinner, me.minutesSpinner, me.secondsSpinner);
|
71
|
+
|
72
|
+
me.on('render', me.addSpinners, me);
|
73
|
+
},
|
74
|
+
addSpinners: function () {
|
75
|
+
var me = this, spinnerWrapDom, spinnerWrap;
|
76
|
+
// me.callParent(arguments);
|
77
|
+
|
78
|
+
// render to original BaseField input td
|
79
|
+
// spinnerWrap = Ext.get(Ext.DomQuery.selectNode('div', this.el.dom)); // 4.0.2
|
80
|
+
spinnerWrapDom = Ext.dom.Query.select('td', this.getEl().dom)[1]; // 4.0 ->4.1 div->td
|
81
|
+
spinnerWrap = Ext.get(spinnerWrapDom);
|
82
|
+
// me.callSpinnersFunction('render', spinnerWrap); // use wrap
|
83
|
+
Ext.create('Ext.container.Container', {
|
84
|
+
layout: 'column',
|
85
|
+
border: false,
|
86
|
+
frame: false,
|
87
|
+
items: me.spinners,
|
88
|
+
renderTo: spinnerWrap
|
89
|
+
});
|
90
|
+
|
91
|
+
Ext.core.DomHelper.append(spinnerWrap, {
|
92
|
+
tag: 'div',
|
93
|
+
cls: 'x-form-clear-left'
|
94
|
+
});
|
95
|
+
|
96
|
+
this.setRawValue(this.value);
|
97
|
+
},
|
98
|
+
|
99
|
+
_valueSplit: function (v) {
|
100
|
+
if (Ext.isDate(v)) {
|
101
|
+
v = Ext.Date.format(v, 'H:i:s');
|
102
|
+
}
|
103
|
+
var split = v.split(':');
|
104
|
+
return {
|
105
|
+
h: split.length > 0 ? split[0] : 0,
|
106
|
+
m: split.length > 1 ? split[1] : 0,
|
107
|
+
s: split.length > 2 ? split[2] : 0
|
108
|
+
};
|
109
|
+
},
|
110
|
+
onSpinnerChange: function () {
|
111
|
+
if (!this.rendered) {
|
112
|
+
return;
|
113
|
+
}
|
114
|
+
this.fireEvent('change', this, this.getValue(), this.getRawValue());
|
115
|
+
},
|
116
|
+
// 依次调用各输入框函数, call each spinner's function
|
117
|
+
callSpinnersFunction: function (funName, args) {
|
118
|
+
for (var i = 0; i < this.spinners.length; i++) {
|
119
|
+
this.spinners[i][funName](args);
|
120
|
+
}
|
121
|
+
},
|
122
|
+
// @private get time as object,
|
123
|
+
getRawValue: function () {
|
124
|
+
if (!this.rendered) {
|
125
|
+
var date = this.value || new Date();
|
126
|
+
return this._valueSplit(date);
|
127
|
+
} else {
|
128
|
+
return {
|
129
|
+
h: this.hoursSpinner.getValue(),
|
130
|
+
m: this.minutesSpinner.getValue(),
|
131
|
+
s: this.secondsSpinner.getValue()
|
132
|
+
};
|
133
|
+
}
|
134
|
+
},
|
135
|
+
|
136
|
+
// private
|
137
|
+
setRawValue: function (value) {
|
138
|
+
value = this._valueSplit(value);
|
139
|
+
if (this.hoursSpinner) {
|
140
|
+
this.hoursSpinner.setValue(value.h);
|
141
|
+
this.minutesSpinner.setValue(value.m);
|
142
|
+
this.secondsSpinner.setValue(value.s);
|
143
|
+
}
|
144
|
+
},
|
145
|
+
// overwrite
|
146
|
+
getValue: function () {
|
147
|
+
var v = this.getRawValue();
|
148
|
+
return Ext.String.leftPad(v.h, 2, '0') + ':' + Ext.String.leftPad(v.m, 2, '0') + ':'
|
149
|
+
+ Ext.String.leftPad(v.s, 2, '0');
|
150
|
+
},
|
151
|
+
// overwrite
|
152
|
+
setValue: function (value) {
|
153
|
+
this.value = Ext.isDate(value) ? Ext.Date.format(value, 'H:i:s') : value;
|
154
|
+
if (!this.rendered) {
|
155
|
+
return;
|
156
|
+
}
|
157
|
+
this.setRawValue(this.value);
|
158
|
+
this.validate();
|
159
|
+
},
|
160
|
+
// overwrite
|
161
|
+
disable: function () {
|
162
|
+
this.callParent(arguments);
|
163
|
+
this.callSpinnersFunction('disable', arguments);
|
164
|
+
},
|
165
|
+
// overwrite
|
166
|
+
enable: function () {
|
167
|
+
this.callParent(arguments);
|
168
|
+
this.callSpinnersFunction('enable', arguments);
|
169
|
+
},
|
170
|
+
// overwrite
|
171
|
+
setReadOnly: function () {
|
172
|
+
this.callParent(arguments);
|
173
|
+
this.callSpinnersFunction('setReadOnly', arguments);
|
174
|
+
},
|
175
|
+
// overwrite
|
176
|
+
clearInvalid: function () {
|
177
|
+
this.callParent(arguments);
|
178
|
+
this.callSpinnersFunction('clearInvalid', arguments);
|
179
|
+
},
|
180
|
+
// overwrite
|
181
|
+
isValid: function (preventMark) {
|
182
|
+
return this.hoursSpinner.isValid(preventMark) && this.minutesSpinner.isValid(preventMark)
|
183
|
+
&& this.secondsSpinner.isValid(preventMark);
|
184
|
+
},
|
185
|
+
// overwrite
|
186
|
+
validate: function () {
|
187
|
+
return this.hoursSpinner.validate() && this.minutesSpinner.validate() && this.secondsSpinner.validate();
|
188
|
+
}
|
189
|
+
});
|
File without changes
|
@@ -0,0 +1,510 @@
|
|
1
|
+
Ext.define('Compass.ErpApp.Shared.TypeSelectionModel', {
|
2
|
+
extend: 'Ext.data.Model',
|
3
|
+
fields: [
|
4
|
+
// ExtJs node fields
|
5
|
+
{
|
6
|
+
name: 'text',
|
7
|
+
type: 'string'
|
8
|
+
}, {
|
9
|
+
name: 'leaf',
|
10
|
+
type: 'boolean'
|
11
|
+
}, {
|
12
|
+
name: 'checked',
|
13
|
+
type: 'boolean'
|
14
|
+
}, {
|
15
|
+
name: 'children'
|
16
|
+
},
|
17
|
+
// Custom fields
|
18
|
+
{
|
19
|
+
name: 'internalIdentifier',
|
20
|
+
type: 'string',
|
21
|
+
mapping: 'internal_identifier'
|
22
|
+
}
|
23
|
+
]
|
24
|
+
});
|
25
|
+
|
26
|
+
Ext.define("Compass.ErpApp.Shared.TypeSelectionTree", {
|
27
|
+
extend: "Ext.tree.Panel",
|
28
|
+
alias: 'widget.typeselectiontree',
|
29
|
+
|
30
|
+
title: 'Select Types',
|
31
|
+
width: '100%',
|
32
|
+
minHeight: 200,
|
33
|
+
height: 200,
|
34
|
+
rootVisible: false,
|
35
|
+
cascadeSelectionUp: false,
|
36
|
+
cascadeSelectionDown: false,
|
37
|
+
canCreate: false,
|
38
|
+
mixins: {
|
39
|
+
field: 'Ext.form.field.Field'
|
40
|
+
},
|
41
|
+
|
42
|
+
createNewText: 'Create New',
|
43
|
+
|
44
|
+
/**
|
45
|
+
* @cfg {Array} availableTypes
|
46
|
+
* Array of types that can be selected
|
47
|
+
*/
|
48
|
+
availableTypes: null,
|
49
|
+
|
50
|
+
/**
|
51
|
+
* @cfg {Array} selectedTypes
|
52
|
+
* Array of currently selected types
|
53
|
+
*/
|
54
|
+
selectedTypes: [],
|
55
|
+
|
56
|
+
/**
|
57
|
+
* @cfg {String} typesUrl
|
58
|
+
* Url to load types from.
|
59
|
+
*/
|
60
|
+
typesUrl: null,
|
61
|
+
|
62
|
+
/**
|
63
|
+
* @cfg {String} typesRoot
|
64
|
+
* Root attribute for types returned from the server.
|
65
|
+
*/
|
66
|
+
typesRoot: null,
|
67
|
+
|
68
|
+
/**
|
69
|
+
* @cfg {Boolean} defaultParentType
|
70
|
+
* default parent type if no parent is selected
|
71
|
+
*/
|
72
|
+
defaultParentType: null,
|
73
|
+
|
74
|
+
/**
|
75
|
+
* @cfg {String} disabledNodeMessage
|
76
|
+
* Message to display when a disabled type is clicked
|
77
|
+
*/
|
78
|
+
disabledNodeMessage: 'This item can not be unselected',
|
79
|
+
|
80
|
+
/**
|
81
|
+
* @cfg {Array} unSelectableTypes
|
82
|
+
* Array of types that can not be selected
|
83
|
+
*/
|
84
|
+
unSelectableTypes: null,
|
85
|
+
|
86
|
+
initComponent: function() {
|
87
|
+
var me = this;
|
88
|
+
|
89
|
+
if (me.availableTypes && me.availableTypes.length > 0 && me.availableTypes.first()['text']) {
|
90
|
+
me.store = Ext.create('Ext.data.TreeStore', {
|
91
|
+
model: 'Compass.ErpApp.Shared.TypeSelectionModel',
|
92
|
+
folderSort: true,
|
93
|
+
sorters: [{
|
94
|
+
property: 'text',
|
95
|
+
direction: 'ASC'
|
96
|
+
}]
|
97
|
+
});
|
98
|
+
|
99
|
+
me.store.setRootNode({
|
100
|
+
text: '',
|
101
|
+
children: me.availableTypes
|
102
|
+
});
|
103
|
+
|
104
|
+
if (me.selectedTypes) {
|
105
|
+
me.setSelectedTypes(me.selectedTypes);
|
106
|
+
}
|
107
|
+
} else {
|
108
|
+
var params = {};
|
109
|
+
|
110
|
+
if (!Ext.isEmpty(me.parentType)) {
|
111
|
+
params['parent'] = me.parentType;
|
112
|
+
} else if (!Ext.isEmpty(me.parentType)) {
|
113
|
+
params['parent'] = me.defaultParentType;
|
114
|
+
}
|
115
|
+
|
116
|
+
me.store = Ext.create('Ext.data.TreeStore', {
|
117
|
+
model: 'Compass.ErpApp.Shared.TypeSelectionModel',
|
118
|
+
tree: me,
|
119
|
+
folderSort: true,
|
120
|
+
proxy: {
|
121
|
+
type: 'ajax',
|
122
|
+
url: me.typesUrl + '.tree',
|
123
|
+
reader: {
|
124
|
+
type: 'treereader',
|
125
|
+
root: me.typesRoot
|
126
|
+
}
|
127
|
+
},
|
128
|
+
sorters: [{
|
129
|
+
property: 'text',
|
130
|
+
direction: 'ASC'
|
131
|
+
}]
|
132
|
+
});
|
133
|
+
|
134
|
+
if (me.availableTypes) {
|
135
|
+
me.store.load({
|
136
|
+
params: {
|
137
|
+
ids: me.availableTypes.join(',')
|
138
|
+
},
|
139
|
+
callback: function() {
|
140
|
+
if (me.selectedTypes) {
|
141
|
+
me.setSelectedTypes(me.selectedTypes);
|
142
|
+
}
|
143
|
+
}
|
144
|
+
});
|
145
|
+
} else {
|
146
|
+
me.store.load({
|
147
|
+
params: params,
|
148
|
+
callback: function() {
|
149
|
+
if (me.selectedTypes) {
|
150
|
+
me.setSelectedTypes(me.selectedTypes);
|
151
|
+
}
|
152
|
+
}
|
153
|
+
});
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
toolbarItems = [{
|
158
|
+
xtype: 'button',
|
159
|
+
text: 'Select All',
|
160
|
+
iconCls: 'icon-info',
|
161
|
+
handler: function(btn) {
|
162
|
+
btn.up('typeselectiontree').toggleChecked(btn, true);
|
163
|
+
}
|
164
|
+
}];
|
165
|
+
|
166
|
+
if (me.canCreate) {
|
167
|
+
toolbarItems.push({
|
168
|
+
xtype: 'button',
|
169
|
+
text: me.createNewText,
|
170
|
+
iconCls: 'icon-add',
|
171
|
+
handler: function() {
|
172
|
+
me.showCreateType();
|
173
|
+
}
|
174
|
+
});
|
175
|
+
}
|
176
|
+
|
177
|
+
me.dockedItems = [{
|
178
|
+
xtype: 'toolbar',
|
179
|
+
items: toolbarItems
|
180
|
+
}];
|
181
|
+
|
182
|
+
me.callParent(arguments);
|
183
|
+
|
184
|
+
me.addListener('beforecellclick', function(grid) {
|
185
|
+
grid.ownerCt.suspendLayouts();
|
186
|
+
});
|
187
|
+
|
188
|
+
me.addListener('checkchange', function(node, checked) {
|
189
|
+
var me = this;
|
190
|
+
|
191
|
+
if (me.unSelectableTypes && Ext.Array.contains(me.unSelectableTypes.split(','), node.get('internalIdentifier'))) {
|
192
|
+
Ext.Msg.warning('Warning', me.disabledNodeMessage);
|
193
|
+
|
194
|
+
node.set('checked', !checked);
|
195
|
+
|
196
|
+
return false;
|
197
|
+
}
|
198
|
+
|
199
|
+
if (me.cascadeSelectionUp) {
|
200
|
+
var rootNode = me.getRootNode();
|
201
|
+
var parentNode = node;
|
202
|
+
var childChecked = false;
|
203
|
+
|
204
|
+
while (parentNode != rootNode) {
|
205
|
+
childChecked = false;
|
206
|
+
|
207
|
+
parentNode.eachChild(function(child) {
|
208
|
+
if (child.get('checked')) {
|
209
|
+
childChecked = true;
|
210
|
+
}
|
211
|
+
});
|
212
|
+
|
213
|
+
if (!checked && !childChecked) {
|
214
|
+
parentNode.set('checked', checked);
|
215
|
+
}
|
216
|
+
|
217
|
+
if (!checked && childChecked) {
|
218
|
+
parentNode.set('checked', !checked);
|
219
|
+
}
|
220
|
+
|
221
|
+
if (checked && childChecked) {
|
222
|
+
parentNode.set('checked', checked);
|
223
|
+
}
|
224
|
+
|
225
|
+
parentNode = parentNode.parentNode;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
if (me.cascadeSelectionDown) {
|
230
|
+
if (node.get('checked')) {
|
231
|
+
node.cascadeBy(function(childNode) {
|
232
|
+
childNode.set('checked', true);
|
233
|
+
});
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
node.getOwnerTree().resumeLayouts();
|
238
|
+
node.getOwnerTree().fireEvent('typesselected', node.getOwnerTree());
|
239
|
+
});
|
240
|
+
|
241
|
+
me.collapseAll();
|
242
|
+
},
|
243
|
+
|
244
|
+
showCreateType: function() {
|
245
|
+
var me = this;
|
246
|
+
|
247
|
+
var window = Ext.widget('window', {
|
248
|
+
title: me.createNewText,
|
249
|
+
modal: true,
|
250
|
+
layout: 'fit',
|
251
|
+
plain: true,
|
252
|
+
buttonAlign: 'center',
|
253
|
+
items: [{
|
254
|
+
xtype: 'form',
|
255
|
+
url: me.typesUrl,
|
256
|
+
defaults: {
|
257
|
+
width: 375,
|
258
|
+
xtype: 'textfield'
|
259
|
+
},
|
260
|
+
bodyStyle: 'padding:5px 5px 0',
|
261
|
+
items: [{
|
262
|
+
xtype: 'combo',
|
263
|
+
name: 'parent',
|
264
|
+
itemId: 'parentType',
|
265
|
+
emptyText: 'No Parent',
|
266
|
+
width: 320,
|
267
|
+
loadingText: 'Retrieving Types...',
|
268
|
+
store: Ext.create("Ext.data.Store", {
|
269
|
+
proxy: {
|
270
|
+
type: 'ajax',
|
271
|
+
url: me.typesUrl + '.json',
|
272
|
+
reader: {
|
273
|
+
type: 'json',
|
274
|
+
root: me.typesRoot
|
275
|
+
},
|
276
|
+
extraParams: {
|
277
|
+
parent: me.defaultParentType
|
278
|
+
}
|
279
|
+
},
|
280
|
+
fields: [{
|
281
|
+
name: 'internal_identifier'
|
282
|
+
}, {
|
283
|
+
name: 'description'
|
284
|
+
|
285
|
+
}]
|
286
|
+
}),
|
287
|
+
forceSelection: true,
|
288
|
+
allowBlank: true,
|
289
|
+
editable: false,
|
290
|
+
fieldLabel: 'Parent',
|
291
|
+
mode: 'remote',
|
292
|
+
displayField: 'description',
|
293
|
+
valueField: 'internal_identifier',
|
294
|
+
triggerAction: 'all',
|
295
|
+
listConfig: {
|
296
|
+
tpl: '<div class="my-boundlist-item-menu">No Parent</div><tpl for="."><div class="x-boundlist-item">{description}</div></tpl>',
|
297
|
+
listeners: {
|
298
|
+
el: {
|
299
|
+
delegate: '.my-boundlist-item-menu',
|
300
|
+
click: function() {
|
301
|
+
window.down('#parentType').clearValue();
|
302
|
+
}
|
303
|
+
}
|
304
|
+
}
|
305
|
+
}
|
306
|
+
}, {
|
307
|
+
fieldLabel: 'Name',
|
308
|
+
allowBlank: false,
|
309
|
+
name: 'description'
|
310
|
+
}]
|
311
|
+
}],
|
312
|
+
buttons: [{
|
313
|
+
text: 'Submit',
|
314
|
+
listeners: {
|
315
|
+
'click': function(button) {
|
316
|
+
var window = button.findParentByType('window');
|
317
|
+
var formPanel = window.down('form');
|
318
|
+
|
319
|
+
if (formPanel.isValid()) {
|
320
|
+
formPanel.getForm().submit({
|
321
|
+
timeout: 30000,
|
322
|
+
waitMsg: 'Creating type...',
|
323
|
+
params: {
|
324
|
+
default_parent: me.defaultParentType
|
325
|
+
},
|
326
|
+
success: function(form, action) {
|
327
|
+
var responseObj = Ext.decode(action.response.responseText);
|
328
|
+
|
329
|
+
if (responseObj.success) {
|
330
|
+
var values = formPanel.getValues();
|
331
|
+
var parentNode = me.getRootNode();
|
332
|
+
|
333
|
+
if (!Ext.isEmpty(values.parent)) {
|
334
|
+
parentNode = parentNode.findChildBy(function(node) {
|
335
|
+
if (node.data.internalIdentifier == values.parent) {
|
336
|
+
return true;
|
337
|
+
}
|
338
|
+
}, this, true);
|
339
|
+
}
|
340
|
+
|
341
|
+
parentNode.set('leaf', false);
|
342
|
+
parentNode.appendChild({
|
343
|
+
text: responseObj[me.typesRoot.singularize()].description,
|
344
|
+
internalIdentifier: responseObj[me.typesRoot.singularize()].internal_identifier,
|
345
|
+
checked: true,
|
346
|
+
leaf: true,
|
347
|
+
children: []
|
348
|
+
});
|
349
|
+
|
350
|
+
window.close();
|
351
|
+
} else {
|
352
|
+
Ext.Msg.alert("Error", responseObj.message);
|
353
|
+
}
|
354
|
+
},
|
355
|
+
failure: function(form, action) {
|
356
|
+
Compass.ErpApp.Utility.handleFormFailure(action);
|
357
|
+
}
|
358
|
+
});
|
359
|
+
}
|
360
|
+
}
|
361
|
+
}
|
362
|
+
}, {
|
363
|
+
text: 'Close',
|
364
|
+
handler: function(btn) {
|
365
|
+
btn.up('window').close();
|
366
|
+
}
|
367
|
+
}]
|
368
|
+
});
|
369
|
+
window.show();
|
370
|
+
},
|
371
|
+
|
372
|
+
getSelectedRecords: function() {
|
373
|
+
var me = this;
|
374
|
+
var records = [];
|
375
|
+
|
376
|
+
me.getRootNode().cascadeBy(function(node) {
|
377
|
+
if (me.cascadeSelectionUp) {
|
378
|
+
var childChecked = false;
|
379
|
+
node.eachChild(function(child) {
|
380
|
+
if (child.get('checked')) {
|
381
|
+
childChecked = true;
|
382
|
+
}
|
383
|
+
});
|
384
|
+
if (node.get('checked') && !childChecked) {
|
385
|
+
records.push(node);
|
386
|
+
}
|
387
|
+
} else {
|
388
|
+
if (node.get('checked')) {
|
389
|
+
records.push(node);
|
390
|
+
}
|
391
|
+
}
|
392
|
+
});
|
393
|
+
return Ext.Array.clean(records);
|
394
|
+
},
|
395
|
+
|
396
|
+
getSelectedTypes: function() {
|
397
|
+
var me = this;
|
398
|
+
var types = [];
|
399
|
+
|
400
|
+
Ext.Array.forEach(me.getSelectedRecords(), function(record) {
|
401
|
+
types.push(record.get('internalIdentifier'));
|
402
|
+
});
|
403
|
+
|
404
|
+
return Ext.Array.clean(types);
|
405
|
+
},
|
406
|
+
|
407
|
+
setAvailableTypes: function(types) {
|
408
|
+
var me = this;
|
409
|
+
|
410
|
+
me.store.setRootNode({
|
411
|
+
text: '',
|
412
|
+
children: types
|
413
|
+
});
|
414
|
+
},
|
415
|
+
|
416
|
+
setSelectedTypes: function(types) {
|
417
|
+
var me = this;
|
418
|
+
|
419
|
+
types = Ext.Array.clean(types.split(','));
|
420
|
+
|
421
|
+
me.getRootNode().cascadeBy(function(node) {
|
422
|
+
if (Ext.Array.contains(types, node.get('internalIdentifier'))) {
|
423
|
+
node.set('checked', true);
|
424
|
+
var parentNode = node.parentNode;
|
425
|
+
|
426
|
+
if (me.cascadeSelectionUp) {
|
427
|
+
while (parentNode != me.getRootNode()) {
|
428
|
+
parentNode.set('checked', true);
|
429
|
+
parentNode.expand();
|
430
|
+
parentNode = parentNode.parentNode;
|
431
|
+
}
|
432
|
+
}
|
433
|
+
|
434
|
+
// expand nodes
|
435
|
+
while (parentNode != me.getRootNode()) {
|
436
|
+
parentNode.expand();
|
437
|
+
parentNode = parentNode.parentNode;
|
438
|
+
}
|
439
|
+
}
|
440
|
+
});
|
441
|
+
},
|
442
|
+
|
443
|
+
setUnSelectableTypes: function(types) {
|
444
|
+
var me = this;
|
445
|
+
|
446
|
+
me.unSelectableTypes = types;
|
447
|
+
},
|
448
|
+
|
449
|
+
toggleChecked: function(btn, checked) {
|
450
|
+
var me = this;
|
451
|
+
|
452
|
+
me.getRootNode().cascadeBy(function(node) {
|
453
|
+
if (!me.unSelectableTypes || !Ext.Array.contains(me.unSelectableTypes.split(','), node.get('internalIdentifier'))) {
|
454
|
+
node.set('checked', checked);
|
455
|
+
}
|
456
|
+
});
|
457
|
+
|
458
|
+
if (checked) {
|
459
|
+
btn.setText('Unselect All');
|
460
|
+
} else {
|
461
|
+
btn.setText('Select All');
|
462
|
+
}
|
463
|
+
|
464
|
+
btn.setHandler(function() {
|
465
|
+
me.toggleChecked(btn, !checked);
|
466
|
+
});
|
467
|
+
},
|
468
|
+
|
469
|
+
/*
|
470
|
+
* Field methods
|
471
|
+
*/
|
472
|
+
|
473
|
+
getValue: function() {
|
474
|
+
var me = this;
|
475
|
+
|
476
|
+
return me.getSelectedTypes().join(',');
|
477
|
+
},
|
478
|
+
|
479
|
+
setValue: function(value) {
|
480
|
+
var me = this;
|
481
|
+
|
482
|
+
if (value) {
|
483
|
+
me.setSelectedTypes(value);
|
484
|
+
}
|
485
|
+
},
|
486
|
+
|
487
|
+
getSubmitData: function() {
|
488
|
+
var me = this,
|
489
|
+
data = null;
|
490
|
+
if (!me.disabled && me.submitValue) {
|
491
|
+
data = {};
|
492
|
+
data[me.getName()] = me.getValue();
|
493
|
+
}
|
494
|
+
return data;
|
495
|
+
},
|
496
|
+
|
497
|
+
validate: function() {
|
498
|
+
if (this.initialConfig.allowBlank !== true && Ext.isEmpty(this.getSelectedTypes())) {
|
499
|
+
if (this.getEl())
|
500
|
+
this.getEl().setStyle('border', 'solid 1px red');
|
501
|
+
|
502
|
+
return false;
|
503
|
+
} else {
|
504
|
+
if (this.getEl())
|
505
|
+
this.getEl().setStyle('border', '');
|
506
|
+
|
507
|
+
return true;
|
508
|
+
}
|
509
|
+
}
|
510
|
+
});
|