diff --git a/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys.xml b/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys.xml new file mode 100644 index 0000000000000000000000000000000000000000..da3ffeb615be3b27fa9f4db61d570d28205039e4 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys.xml @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Folder" module="OFS.Folder"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>hotkeys</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys/README.md.xml b/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys/README.md.xml new file mode 100644 index 0000000000000000000000000000000000000000..086a36fa9b880fe794c9ec51d7568f9dda576239 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys/README.md.xml @@ -0,0 +1,76 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="DTMLMethod" module="OFS.DTMLMethod"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string>README.md</string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>#About\n +**jQuery Hotkeys** is a plug-in that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination. \n +\n +This plugin is based off of the plugin by Tzury Bar Yochay: [jQuery.hotkeys](http://github.com/tzuryby/hotkeys)\n +\n +The syntax is as follows:\n +\n + $(expression).bind(types, keys, handler);\n + $(expression).unbind(types, handler);\n + \n + $(document).bind(\'keydown\', \'ctrl+a\', fn);\n + \n + // e.g. replace \'$\' sign with \'EUR\'\n + $(\'input.foo\').bind(\'keyup\', \'$\', function(){\n + this.value = this.value.replace(\'$\', \'EUR\');\n + });\n +\n +## Types\n +Supported types are `\'keydown\'`, `\'keyup\'` and `\'keypress\'`\n +\n +## Notes\n +\n +If you want to use more than one modifiers (e.g. alt+ctrl+z) you should define them by an alphabetical order e.g. alt+ctrl+shift\n +\n +Hotkeys aren\'t tracked if you\'re inside of an input element (unless you explicitly bind the hotkey directly to the input). This helps to avoid conflict with normal user typing.\n +\n +## jQuery Compatibility\n +\n +Works with jQuery 1.4.2 and newer.\n +\n +It known to be working with all the major browsers on all available platforms (Win/Mac/Linux)\n +\n + * IE 6/7/8\n + * FF 1.5/2/3\n + * Opera-9\n + * Safari-3\n + * Chrome-0.2\n +\n +### Addendum\n +\n +Firefox is the most liberal one in the manner of letting you capture all short-cuts even those that are built-in in the browser such as `Ctrl-t` for new tab, or `Ctrl-a` for selecting all text. You can always bubble them up to the browser by returning `true` in your handler.\n +\n +Others, (IE) either let you handle built-in short-cuts, but will add their functionality after your code has executed. Or (Opera/Safari) will *not* pass those events to the DOM at all.\n +\n +*So, if you bind `Ctrl-Q` or `Alt-F4` and your Safari/Opera window is closed don\'t be surprised.*</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys/jquery.hotkeys.min.js.xml b/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys/jquery.hotkeys.min.js.xml new file mode 100644 index 0000000000000000000000000000000000000000..1bb68bf8351312cec947e0fe4e0577b1c4c8c416 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/PathTemplateItem/portal_skins/erp5_jquery/plugin/hotkeys/jquery.hotkeys.min.js.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="File" module="OFS.Image"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Cacheable__manager_id</string> </key> + <value> <string>http_cache</string> </value> + </item> + <item> + <key> <string>_EtagSupport__etag</string> </key> + <value> <string>ts80003845.65</string> </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>jquery.hotkeys.min.js</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>application/x-javascript</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +锘�/*\n + * jQuery Hotkeys Plugin\n + * Copyright 2010, John Resig\n + * Dual licensed under the MIT or GPL Version 2 licenses.\n + *\n + * http://github.com/jeresig/jquery.hotkeys\n + *\n + * Based upon the plugin by Tzury Bar Yochay:\n + * http://github.com/tzuryby/hotkeys\n + *\n + * Original idea by:\n + * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/\n +*/\n +\n +(function(b){b.hotkeys={version:"0.8",specialKeys:{8:"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",191:"/",224:"meta"},shiftNums:{"`":"~","1":"!","2":"@","3":"#","4":"$","5":"%","6":"^","7":"&","8":"*","9":"(","0":")","-":"_","=":"+",";":": ","\'":\'"\',",":"<",".":">","/":"?","\\\\":"|"}};function a(d){if(typeof d.data!=="string"){return}var c=d.handler,e=d.data.toLowerCase().split(" ");d.handler=function(n){if(this!==n.target&&(/textarea|select/i.test(n.target.nodeName)||n.target.type==="text")){return}var h=n.type!=="keypress"&&b.hotkeys.specialKeys[n.which],o=String.fromCharCode(n.which).toLowerCase(),k,m="",g={};if(n.altKey&&h!=="alt"){m+="alt+"}if(n.ctrlKey&&h!=="ctrl"){m+="ctrl+"}if(n.metaKey&&!n.ctrlKey&&h!=="meta"){m+="meta+"}if(n.shiftKey&&h!=="shift"){m+="shift+"}if(h){g[m+h]=true}else{g[m+o]=true;g[m+b.hotkeys.shiftNums[o]]=true;if(m==="shift+"){g[b.hotkeys.shiftNums[o]]=true}}for(var j=0,f=e.length;j<f;j++){if(g[e[j]]){return c.apply(this,arguments)}}}}b.each(["keydown","keyup","keypress"],function(){b.event.special[this]={add:a}})})(jQuery); + +]]></string> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>1837</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/change_log b/bt5/erp5_jquery_plugin_hotkey/bt/change_log new file mode 100644 index 0000000000000000000000000000000000000000..6c7854e368da35cbd181c6a55953ee2e591ae60f --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/change_log @@ -0,0 +1,2 @@ +2010-11-02 gabriel +* The initial commit \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/copyright_list b/bt5/erp5_jquery_plugin_hotkey/bt/copyright_list new file mode 100644 index 0000000000000000000000000000000000000000..47af9544bf347df9c8e0f9012f1b865e3abba6b3 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/copyright_list @@ -0,0 +1 @@ +2010 (c) Nexedi SA \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/dependency_list b/bt5/erp5_jquery_plugin_hotkey/bt/dependency_list new file mode 100644 index 0000000000000000000000000000000000000000..a3d3a39331b4f672bbc4a7c088691cfaab593b1c --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/dependency_list @@ -0,0 +1 @@ +erp5_jquery \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/description b/bt5/erp5_jquery_plugin_hotkey/bt/description new file mode 100644 index 0000000000000000000000000000000000000000..0425f51725fd9e36cb1f81e1fb9c8d71136708e1 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/description @@ -0,0 +1 @@ +This Business Template contains only static files of JQuery HotKeys Plugin. \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/license b/bt5/erp5_jquery_plugin_hotkey/bt/license new file mode 100644 index 0000000000000000000000000000000000000000..3a3e12bcad97e4b3bdd6a8bb499fd23a4bcb0819 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/license @@ -0,0 +1 @@ +GPL \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/maintainer_list b/bt5/erp5_jquery_plugin_hotkey/bt/maintainer_list new file mode 100644 index 0000000000000000000000000000000000000000..38363f73039fa6118b4a55f85965b90af9fc9384 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/maintainer_list @@ -0,0 +1 @@ +gabriel \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/revision b/bt5/erp5_jquery_plugin_hotkey/bt/revision new file mode 100644 index 0000000000000000000000000000000000000000..d8263ee9860594d2806b0dfd1bfd17528b0ba2a4 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/revision @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/template_format_version b/bt5/erp5_jquery_plugin_hotkey/bt/template_format_version new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/template_path_list b/bt5/erp5_jquery_plugin_hotkey/bt/template_path_list new file mode 100644 index 0000000000000000000000000000000000000000..092c58f8c10112b39ecc8b27c846780096f59267 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/template_path_list @@ -0,0 +1,2 @@ +portal_skins/erp5_jquery/plugin/hotkeys +portal_skins/erp5_jquery/plugin/hotkeys/** \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/title b/bt5/erp5_jquery_plugin_hotkey/bt/title new file mode 100644 index 0000000000000000000000000000000000000000..0366dda55a744dd8d850479fea18ce676d2e1d8d --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/title @@ -0,0 +1 @@ +erp5_jquery_plugin_hotkey \ No newline at end of file diff --git a/bt5/erp5_jquery_plugin_hotkey/bt/version b/bt5/erp5_jquery_plugin_hotkey/bt/version new file mode 100644 index 0000000000000000000000000000000000000000..48360de846a2e022a0b981d250895f20d3480d34 --- /dev/null +++ b/bt5/erp5_jquery_plugin_hotkey/bt/version @@ -0,0 +1 @@ +5.4.7 \ No newline at end of file