@canonical/yui 3.18.2-pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1485) hide show
  1. package/AGENTS.md +50 -0
  2. package/BUILD.md +54 -0
  3. package/CONTRIBUTING.md +85 -0
  4. package/CONTRIBUTORS.md +30 -0
  5. package/Gruntfile.js +122 -0
  6. package/HISTORY.md +12 -0
  7. package/LICENSE.md +145 -0
  8. package/README.md +133 -0
  9. package/build/align-plugin/align-plugin-debug.js +193 -0
  10. package/build/align-plugin/align-plugin-min.js +1 -0
  11. package/build/align-plugin/align-plugin.js +193 -0
  12. package/build/anim-base/anim-base-debug.js +686 -0
  13. package/build/anim-base/anim-base-min.js +1 -0
  14. package/build/anim-base/anim-base.js +685 -0
  15. package/build/anim-color/anim-color-debug.js +53 -0
  16. package/build/anim-color/anim-color-min.js +1 -0
  17. package/build/anim-color/anim-color.js +53 -0
  18. package/build/anim-curve/anim-curve-debug.js +59 -0
  19. package/build/anim-curve/anim-curve-min.js +1 -0
  20. package/build/anim-curve/anim-curve.js +59 -0
  21. package/build/anim-easing/anim-easing-debug.js +365 -0
  22. package/build/anim-easing/anim-easing-min.js +1 -0
  23. package/build/anim-easing/anim-easing.js +365 -0
  24. package/build/anim-node-plugin/anim-node-plugin-debug.js +26 -0
  25. package/build/anim-node-plugin/anim-node-plugin-min.js +1 -0
  26. package/build/anim-node-plugin/anim-node-plugin.js +26 -0
  27. package/build/anim-scroll/anim-scroll-debug.js +38 -0
  28. package/build/anim-scroll/anim-scroll-min.js +1 -0
  29. package/build/anim-scroll/anim-scroll.js +38 -0
  30. package/build/anim-shape/anim-shape-debug.js +185 -0
  31. package/build/anim-shape/anim-shape-min.js +1 -0
  32. package/build/anim-shape/anim-shape.js +185 -0
  33. package/build/anim-xy/anim-xy-debug.js +26 -0
  34. package/build/anim-xy/anim-xy-min.js +1 -0
  35. package/build/anim-xy/anim-xy.js +26 -0
  36. package/build/app-base/app-base-debug.js +1116 -0
  37. package/build/app-base/app-base-min.js +1 -0
  38. package/build/app-base/app-base.js +1116 -0
  39. package/build/app-content/app-content-debug.js +235 -0
  40. package/build/app-content/app-content-min.js +1 -0
  41. package/build/app-content/app-content.js +235 -0
  42. package/build/app-transitions/app-transitions-debug.js +242 -0
  43. package/build/app-transitions/app-transitions-min.js +1 -0
  44. package/build/app-transitions/app-transitions.js +242 -0
  45. package/build/app-transitions-css/app-transitions-css-min.css +1 -0
  46. package/build/app-transitions-css/app-transitions-css.css +33 -0
  47. package/build/app-transitions-native/app-transitions-native-debug.js +353 -0
  48. package/build/app-transitions-native/app-transitions-native-min.js +1 -0
  49. package/build/app-transitions-native/app-transitions-native.js +353 -0
  50. package/build/array-extras/array-extras-debug.js +400 -0
  51. package/build/array-extras/array-extras-min.js +1 -0
  52. package/build/array-extras/array-extras.js +400 -0
  53. package/build/array-invoke/array-invoke-debug.js +40 -0
  54. package/build/array-invoke/array-invoke-min.js +1 -0
  55. package/build/array-invoke/array-invoke.js +40 -0
  56. package/build/arraylist/arraylist-debug.js +214 -0
  57. package/build/arraylist/arraylist-min.js +1 -0
  58. package/build/arraylist/arraylist.js +214 -0
  59. package/build/arraylist-add/arraylist-add-debug.js +87 -0
  60. package/build/arraylist-add/arraylist-add-min.js +1 -0
  61. package/build/arraylist-add/arraylist-add.js +87 -0
  62. package/build/arraylist-filter/arraylist-filter-debug.js +45 -0
  63. package/build/arraylist-filter/arraylist-filter-min.js +1 -0
  64. package/build/arraylist-filter/arraylist-filter.js +45 -0
  65. package/build/arraysort/arraysort-debug.js +181 -0
  66. package/build/arraysort/arraysort-min.js +1 -0
  67. package/build/arraysort/arraysort.js +181 -0
  68. package/build/async-queue/async-queue-debug.js +554 -0
  69. package/build/async-queue/async-queue-min.js +1 -0
  70. package/build/async-queue/async-queue.js +554 -0
  71. package/build/attribute-base/attribute-base-debug.js +110 -0
  72. package/build/attribute-base/attribute-base-min.js +1 -0
  73. package/build/attribute-base/attribute-base.js +110 -0
  74. package/build/attribute-complex/attribute-complex-debug.js +56 -0
  75. package/build/attribute-complex/attribute-complex-min.js +1 -0
  76. package/build/attribute-complex/attribute-complex.js +56 -0
  77. package/build/attribute-core/attribute-core-debug.js +1208 -0
  78. package/build/attribute-core/attribute-core-min.js +1 -0
  79. package/build/attribute-core/attribute-core.js +1196 -0
  80. package/build/attribute-extras/attribute-extras-debug.js +157 -0
  81. package/build/attribute-extras/attribute-extras-min.js +1 -0
  82. package/build/attribute-extras/attribute-extras.js +156 -0
  83. package/build/attribute-observable/attribute-observable-debug.js +237 -0
  84. package/build/attribute-observable/attribute-observable-min.js +1 -0
  85. package/build/attribute-observable/attribute-observable.js +236 -0
  86. package/build/autocomplete-base/autocomplete-base-debug.js +1557 -0
  87. package/build/autocomplete-base/autocomplete-base-min.js +2 -0
  88. package/build/autocomplete-base/autocomplete-base.js +1549 -0
  89. package/build/autocomplete-filters/autocomplete-filters-debug.js +239 -0
  90. package/build/autocomplete-filters/autocomplete-filters-min.js +1 -0
  91. package/build/autocomplete-filters/autocomplete-filters.js +239 -0
  92. package/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js +136 -0
  93. package/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js +1 -0
  94. package/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js +136 -0
  95. package/build/autocomplete-highlighters/autocomplete-highlighters-debug.js +199 -0
  96. package/build/autocomplete-highlighters/autocomplete-highlighters-min.js +1 -0
  97. package/build/autocomplete-highlighters/autocomplete-highlighters.js +199 -0
  98. package/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js +107 -0
  99. package/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js +1 -0
  100. package/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js +107 -0
  101. package/build/autocomplete-list/assets/autocomplete-list-core.css +27 -0
  102. package/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css +51 -0
  103. package/build/autocomplete-list/assets/skins/night/autocomplete-list.css +1 -0
  104. package/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css +17 -0
  105. package/build/autocomplete-list/assets/skins/sam/autocomplete-list.css +1 -0
  106. package/build/autocomplete-list/autocomplete-list-debug.js +906 -0
  107. package/build/autocomplete-list/autocomplete-list-min.js +2 -0
  108. package/build/autocomplete-list/autocomplete-list.js +906 -0
  109. package/build/autocomplete-list/lang/autocomplete-list.js +1 -0
  110. package/build/autocomplete-list/lang/autocomplete-list_en.js +1 -0
  111. package/build/autocomplete-list/lang/autocomplete-list_es.js +1 -0
  112. package/build/autocomplete-list/lang/autocomplete-list_hu.js +1 -0
  113. package/build/autocomplete-list/lang/autocomplete-list_it.js +1 -0
  114. package/build/autocomplete-list-keys/autocomplete-list-keys-debug.js +186 -0
  115. package/build/autocomplete-list-keys/autocomplete-list-keys-min.js +1 -0
  116. package/build/autocomplete-list-keys/autocomplete-list-keys.js +186 -0
  117. package/build/autocomplete-plugin/autocomplete-plugin-debug.js +48 -0
  118. package/build/autocomplete-plugin/autocomplete-plugin-min.js +1 -0
  119. package/build/autocomplete-plugin/autocomplete-plugin.js +48 -0
  120. package/build/autocomplete-sources/autocomplete-sources-debug.js +475 -0
  121. package/build/autocomplete-sources/autocomplete-sources-min.js +1 -0
  122. package/build/autocomplete-sources/autocomplete-sources.js +475 -0
  123. package/build/axis/axis-debug.js +3173 -0
  124. package/build/axis/axis-min.js +5 -0
  125. package/build/axis/axis.js +3173 -0
  126. package/build/axis-base/axis-base-debug.js +901 -0
  127. package/build/axis-base/axis-base-min.js +1 -0
  128. package/build/axis-base/axis-base.js +901 -0
  129. package/build/axis-category/axis-category-debug.js +119 -0
  130. package/build/axis-category/axis-category-min.js +1 -0
  131. package/build/axis-category/axis-category.js +119 -0
  132. package/build/axis-category-base/axis-category-base-debug.js +247 -0
  133. package/build/axis-category-base/axis-category-base-min.js +1 -0
  134. package/build/axis-category-base/axis-category-base.js +247 -0
  135. package/build/axis-numeric/axis-numeric-debug.js +140 -0
  136. package/build/axis-numeric/axis-numeric-min.js +1 -0
  137. package/build/axis-numeric/axis-numeric.js +140 -0
  138. package/build/axis-numeric-base/axis-numeric-base-debug.js +721 -0
  139. package/build/axis-numeric-base/axis-numeric-base-min.js +1 -0
  140. package/build/axis-numeric-base/axis-numeric-base.js +721 -0
  141. package/build/axis-stacked/axis-stacked-debug.js +23 -0
  142. package/build/axis-stacked/axis-stacked-min.js +1 -0
  143. package/build/axis-stacked/axis-stacked.js +23 -0
  144. package/build/axis-stacked-base/axis-stacked-base-debug.js +133 -0
  145. package/build/axis-stacked-base/axis-stacked-base-min.js +1 -0
  146. package/build/axis-stacked-base/axis-stacked-base.js +133 -0
  147. package/build/axis-time/axis-time-debug.js +91 -0
  148. package/build/axis-time/axis-time-min.js +1 -0
  149. package/build/axis-time/axis-time.js +91 -0
  150. package/build/axis-time-base/axis-time-base-debug.js +352 -0
  151. package/build/axis-time-base/axis-time-base-min.js +1 -0
  152. package/build/axis-time-base/axis-time-base.js +352 -0
  153. package/build/base-base/base-base-debug.js +184 -0
  154. package/build/base-base/base-base-min.js +1 -0
  155. package/build/base-base/base-base.js +184 -0
  156. package/build/base-build/base-build-debug.js +453 -0
  157. package/build/base-build/base-build-min.js +1 -0
  158. package/build/base-build/base-build.js +453 -0
  159. package/build/base-core/base-core-debug.js +838 -0
  160. package/build/base-core/base-core-min.js +1 -0
  161. package/build/base-core/base-core.js +832 -0
  162. package/build/base-observable/base-observable-debug.js +221 -0
  163. package/build/base-observable/base-observable-min.js +1 -0
  164. package/build/base-observable/base-observable.js +220 -0
  165. package/build/base-pluginhost/base-pluginhost-debug.js +36 -0
  166. package/build/base-pluginhost/base-pluginhost-min.js +1 -0
  167. package/build/base-pluginhost/base-pluginhost.js +36 -0
  168. package/build/button/button-debug.js +332 -0
  169. package/build/button/button-min.js +1 -0
  170. package/build/button/button.js +332 -0
  171. package/build/button-core/button-core-debug.js +399 -0
  172. package/build/button-core/button-core-min.js +1 -0
  173. package/build/button-core/button-core.js +399 -0
  174. package/build/button-group/button-group-debug.js +194 -0
  175. package/build/button-group/button-group-min.js +1 -0
  176. package/build/button-group/button-group.js +194 -0
  177. package/build/button-plugin/button-plugin-debug.js +134 -0
  178. package/build/button-plugin/button-plugin-min.js +1 -0
  179. package/build/button-plugin/button-plugin.js +134 -0
  180. package/build/cache-base/cache-base-debug.js +442 -0
  181. package/build/cache-base/cache-base-min.js +1 -0
  182. package/build/cache-base/cache-base.js +432 -0
  183. package/build/cache-offline/cache-offline-debug.js +341 -0
  184. package/build/cache-offline/cache-offline-min.js +1 -0
  185. package/build/cache-offline/cache-offline.js +333 -0
  186. package/build/cache-plugin/cache-plugin-debug.js +53 -0
  187. package/build/cache-plugin/cache-plugin-min.js +1 -0
  188. package/build/cache-plugin/cache-plugin.js +53 -0
  189. package/build/calendar/assets/calendar-core.css +31 -0
  190. package/build/calendar/assets/skins/night/calendar-skin.css +7 -0
  191. package/build/calendar/assets/skins/night/calendar.css +1 -0
  192. package/build/calendar/assets/skins/sam/calendar-skin.css +7 -0
  193. package/build/calendar/assets/skins/sam/calendar.css +1 -0
  194. package/build/calendar/calendar-debug.js +610 -0
  195. package/build/calendar/calendar-min.js +2 -0
  196. package/build/calendar/calendar.js +610 -0
  197. package/build/calendar-base/assets/calendar-base-core.css +21 -0
  198. package/build/calendar-base/assets/skins/night/calendar-base-skin.css +92 -0
  199. package/build/calendar-base/assets/skins/night/calendar-base.css +1 -0
  200. package/build/calendar-base/assets/skins/sam/calendar-base-skin.css +98 -0
  201. package/build/calendar-base/assets/skins/sam/calendar-base.css +1 -0
  202. package/build/calendar-base/calendar-base-debug.js +1719 -0
  203. package/build/calendar-base/calendar-base-min.js +3 -0
  204. package/build/calendar-base/calendar-base.js +1719 -0
  205. package/build/calendar-base/lang/calendar-base.js +1 -0
  206. package/build/calendar-base/lang/calendar-base_de.js +1 -0
  207. package/build/calendar-base/lang/calendar-base_en.js +1 -0
  208. package/build/calendar-base/lang/calendar-base_es-AR.js +1 -0
  209. package/build/calendar-base/lang/calendar-base_es.js +1 -0
  210. package/build/calendar-base/lang/calendar-base_fr.js +1 -0
  211. package/build/calendar-base/lang/calendar-base_hu.js +1 -0
  212. package/build/calendar-base/lang/calendar-base_it.js +1 -0
  213. package/build/calendar-base/lang/calendar-base_ja.js +1 -0
  214. package/build/calendar-base/lang/calendar-base_nb-NO.js +1 -0
  215. package/build/calendar-base/lang/calendar-base_nl.js +1 -0
  216. package/build/calendar-base/lang/calendar-base_pt-BR.js +1 -0
  217. package/build/calendar-base/lang/calendar-base_ru.js +1 -0
  218. package/build/calendar-base/lang/calendar-base_zh-HANT-TW.js +1 -0
  219. package/build/calendar-base/lang/calendar-base_zh-Hans-CN.js +1 -0
  220. package/build/calendar-base/lang/calendar-base_zh-Hans.js +1 -0
  221. package/build/calendar-base/lang/calendar-base_zh-Hant-HK.js +1 -0
  222. package/build/calendar-base/lang/calendar-base_zh-Hant.js +1 -0
  223. package/build/calendarnavigator/assets/calendarnavigator-core.css +18 -0
  224. package/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css +78 -0
  225. package/build/calendarnavigator/assets/skins/night/calendarnavigator.css +1 -0
  226. package/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css +78 -0
  227. package/build/calendarnavigator/assets/skins/sam/calendarnavigator.css +1 -0
  228. package/build/calendarnavigator/calendarnavigator-debug.js +297 -0
  229. package/build/calendarnavigator/calendarnavigator-min.js +1 -0
  230. package/build/calendarnavigator/calendarnavigator.js +297 -0
  231. package/build/charts-base/charts-base-debug.js +5181 -0
  232. package/build/charts-base/charts-base-min.js +8 -0
  233. package/build/charts-base/charts-base.js +5181 -0
  234. package/build/charts-legend/charts-legend-debug.js +1703 -0
  235. package/build/charts-legend/charts-legend-min.js +3 -0
  236. package/build/charts-legend/charts-legend.js +1703 -0
  237. package/build/classnamemanager/classnamemanager-debug.js +84 -0
  238. package/build/classnamemanager/classnamemanager-min.js +1 -0
  239. package/build/classnamemanager/classnamemanager.js +84 -0
  240. package/build/clickable-rail/clickable-rail-debug.js +212 -0
  241. package/build/clickable-rail/clickable-rail-min.js +1 -0
  242. package/build/clickable-rail/clickable-rail.js +212 -0
  243. package/build/color-base/color-base-debug.js +492 -0
  244. package/build/color-base/color-base-min.js +1 -0
  245. package/build/color-base/color-base.js +492 -0
  246. package/build/color-harmony/color-harmony-debug.js +569 -0
  247. package/build/color-harmony/color-harmony-min.js +1 -0
  248. package/build/color-harmony/color-harmony.js +568 -0
  249. package/build/color-hsl/color-hsl-debug.js +218 -0
  250. package/build/color-hsl/color-hsl-min.js +1 -0
  251. package/build/color-hsl/color-hsl.js +218 -0
  252. package/build/color-hsv/color-hsv-debug.js +182 -0
  253. package/build/color-hsv/color-hsv-min.js +1 -0
  254. package/build/color-hsv/color-hsv.js +182 -0
  255. package/build/console/assets/console-core.css +0 -0
  256. package/build/console/assets/skins/sam/bg.png +0 -0
  257. package/build/console/assets/skins/sam/console-skin.css +185 -0
  258. package/build/console/assets/skins/sam/console.css +1 -0
  259. package/build/console/assets/skins/sam/warn_error.png +0 -0
  260. package/build/console/assets/warn_error.png +0 -0
  261. package/build/console/console-debug.js +1517 -0
  262. package/build/console/console-min.js +2 -0
  263. package/build/console/console.js +1517 -0
  264. package/build/console/lang/console.js +1 -0
  265. package/build/console/lang/console_en.js +1 -0
  266. package/build/console/lang/console_es.js +1 -0
  267. package/build/console/lang/console_hu.js +1 -0
  268. package/build/console/lang/console_it.js +1 -0
  269. package/build/console/lang/console_ja.js +1 -0
  270. package/build/console-filters/assets/console-filters-core.css +0 -0
  271. package/build/console-filters/assets/skins/sam/console-filters-skin.css +27 -0
  272. package/build/console-filters/assets/skins/sam/console-filters.css +1 -0
  273. package/build/console-filters/console-filters-debug.js +723 -0
  274. package/build/console-filters/console-filters-min.js +1 -0
  275. package/build/console-filters/console-filters.js +723 -0
  276. package/build/content-editable/content-editable-debug.js +808 -0
  277. package/build/content-editable/content-editable-min.js +1 -0
  278. package/build/content-editable/content-editable.js +797 -0
  279. package/build/cookie/cookie-debug.js +508 -0
  280. package/build/cookie/cookie-min.js +1 -0
  281. package/build/cookie/cookie.js +508 -0
  282. package/build/createlink-base/createlink-base-debug.js +86 -0
  283. package/build/createlink-base/createlink-base-min.js +1 -0
  284. package/build/createlink-base/createlink-base.js +85 -0
  285. package/build/cssbase/cssbase-min.css +1 -0
  286. package/build/cssbase/cssbase.css +77 -0
  287. package/build/cssbase-context/cssbase-context-min.css +1 -0
  288. package/build/cssbase-context/cssbase-context.css +76 -0
  289. package/build/cssbutton/cssbutton-min.css +1 -0
  290. package/build/cssbutton/cssbutton.css +147 -0
  291. package/build/cssfonts/cssfonts-min.css +1 -0
  292. package/build/cssfonts/cssfonts.css +43 -0
  293. package/build/cssfonts-context/cssfonts-context-min.css +1 -0
  294. package/build/cssfonts-context/cssfonts-context.css +43 -0
  295. package/build/cssgrids/cssgrids-min.css +11 -0
  296. package/build/cssgrids/cssgrids.css +298 -0
  297. package/build/cssgrids-base/cssgrids-base-min.css +6 -0
  298. package/build/cssgrids-base/cssgrids-base.css +80 -0
  299. package/build/cssgrids-responsive/cssgrids-responsive-min.css +6 -0
  300. package/build/cssgrids-responsive/cssgrids-responsive.css +398 -0
  301. package/build/cssgrids-units/cssgrids-units-min.css +6 -0
  302. package/build/cssgrids-units/cssgrids-units.css +221 -0
  303. package/build/cssnormalize/cssnormalize-min.css +9 -0
  304. package/build/cssnormalize/cssnormalize.css +584 -0
  305. package/build/cssnormalize-context/cssnormalize-context-min.css +9 -0
  306. package/build/cssnormalize-context/cssnormalize-context.css +584 -0
  307. package/build/cssreset/cssreset-min.css +1 -0
  308. package/build/cssreset/cssreset.css +116 -0
  309. package/build/cssreset-context/cssreset-context-min.css +1 -0
  310. package/build/cssreset-context/cssreset-context.css +121 -0
  311. package/build/dataschema-array/dataschema-array-debug.js +189 -0
  312. package/build/dataschema-array/dataschema-array-min.js +1 -0
  313. package/build/dataschema-array/dataschema-array.js +186 -0
  314. package/build/dataschema-base/dataschema-base-debug.js +67 -0
  315. package/build/dataschema-base/dataschema-base-min.js +1 -0
  316. package/build/dataschema-base/dataschema-base.js +66 -0
  317. package/build/dataschema-json/dataschema-json-debug.js +443 -0
  318. package/build/dataschema-json/dataschema-json-min.js +1 -0
  319. package/build/dataschema-json/dataschema-json.js +439 -0
  320. package/build/dataschema-text/dataschema-text-debug.js +183 -0
  321. package/build/dataschema-text/dataschema-text-min.js +1 -0
  322. package/build/dataschema-text/dataschema-text.js +182 -0
  323. package/build/dataschema-xml/dataschema-xml-debug.js +385 -0
  324. package/build/dataschema-xml/dataschema-xml-min.js +1 -0
  325. package/build/dataschema-xml/dataschema-xml.js +383 -0
  326. package/build/datasource-arrayschema/datasource-arrayschema-debug.js +106 -0
  327. package/build/datasource-arrayschema/datasource-arrayschema-min.js +1 -0
  328. package/build/datasource-arrayschema/datasource-arrayschema.js +106 -0
  329. package/build/datasource-cache/datasource-cache-debug.js +166 -0
  330. package/build/datasource-cache/datasource-cache-min.js +1 -0
  331. package/build/datasource-cache/datasource-cache.js +166 -0
  332. package/build/datasource-function/datasource-function-debug.js +108 -0
  333. package/build/datasource-function/datasource-function-min.js +1 -0
  334. package/build/datasource-function/datasource-function.js +106 -0
  335. package/build/datasource-get/datasource-get-debug.js +213 -0
  336. package/build/datasource-get/datasource-get-min.js +1 -0
  337. package/build/datasource-get/datasource-get.js +209 -0
  338. package/build/datasource-io/datasource-io-debug.js +204 -0
  339. package/build/datasource-io/datasource-io-min.js +1 -0
  340. package/build/datasource-io/datasource-io.js +201 -0
  341. package/build/datasource-jsonschema/datasource-jsonschema-debug.js +103 -0
  342. package/build/datasource-jsonschema/datasource-jsonschema-min.js +1 -0
  343. package/build/datasource-jsonschema/datasource-jsonschema.js +103 -0
  344. package/build/datasource-local/datasource-local-debug.js +402 -0
  345. package/build/datasource-local/datasource-local-min.js +1 -0
  346. package/build/datasource-local/datasource-local.js +398 -0
  347. package/build/datasource-polling/datasource-polling-debug.js +93 -0
  348. package/build/datasource-polling/datasource-polling-min.js +1 -0
  349. package/build/datasource-polling/datasource-polling.js +93 -0
  350. package/build/datasource-textschema/datasource-textschema-debug.js +102 -0
  351. package/build/datasource-textschema/datasource-textschema-min.js +1 -0
  352. package/build/datasource-textschema/datasource-textschema.js +102 -0
  353. package/build/datasource-xmlschema/datasource-xmlschema-debug.js +102 -0
  354. package/build/datasource-xmlschema/datasource-xmlschema-min.js +1 -0
  355. package/build/datasource-xmlschema/datasource-xmlschema.js +102 -0
  356. package/build/datatable-base/assets/datatable-base-core.css +4 -0
  357. package/build/datatable-base/assets/skins/night/datatable-base-skin.css +74 -0
  358. package/build/datatable-base/assets/skins/night/datatable-base.css +1 -0
  359. package/build/datatable-base/assets/skins/sam/datatable-base-skin.css +69 -0
  360. package/build/datatable-base/assets/skins/sam/datatable-base.css +1 -0
  361. package/build/datatable-base/datatable-base-debug.js +694 -0
  362. package/build/datatable-base/datatable-base-min.js +1 -0
  363. package/build/datatable-base/datatable-base.js +694 -0
  364. package/build/datatable-body/datatable-body-debug.js +1211 -0
  365. package/build/datatable-body/datatable-body-min.js +2 -0
  366. package/build/datatable-body/datatable-body.js +1211 -0
  367. package/build/datatable-column-widths/datatable-column-widths-debug.js +323 -0
  368. package/build/datatable-column-widths/datatable-column-widths-min.js +1 -0
  369. package/build/datatable-column-widths/datatable-column-widths.js +323 -0
  370. package/build/datatable-core/datatable-core-debug.js +1321 -0
  371. package/build/datatable-core/datatable-core-min.js +1 -0
  372. package/build/datatable-core/datatable-core.js +1319 -0
  373. package/build/datatable-datasource/datatable-datasource-debug.js +180 -0
  374. package/build/datatable-datasource/datatable-datasource-min.js +1 -0
  375. package/build/datatable-datasource/datatable-datasource.js +180 -0
  376. package/build/datatable-foot/datatable-foot-debug.js +112 -0
  377. package/build/datatable-foot/datatable-foot-min.js +1 -0
  378. package/build/datatable-foot/datatable-foot.js +112 -0
  379. package/build/datatable-formatters/datatable-formatters-debug.js +563 -0
  380. package/build/datatable-formatters/datatable-formatters-min.js +1 -0
  381. package/build/datatable-formatters/datatable-formatters.js +563 -0
  382. package/build/datatable-head/datatable-head-debug.js +532 -0
  383. package/build/datatable-head/datatable-head-min.js +1 -0
  384. package/build/datatable-head/datatable-head.js +532 -0
  385. package/build/datatable-highlight/assets/datatable-highlight-core.css +26 -0
  386. package/build/datatable-highlight/assets/skins/night/datatable-highlight-skin.css +11 -0
  387. package/build/datatable-highlight/assets/skins/night/datatable-highlight.css +1 -0
  388. package/build/datatable-highlight/assets/skins/sam/datatable-highlight-skin.css +11 -0
  389. package/build/datatable-highlight/assets/skins/sam/datatable-highlight.css +1 -0
  390. package/build/datatable-highlight/datatable-highlight-debug.js +282 -0
  391. package/build/datatable-highlight/datatable-highlight-min.js +1 -0
  392. package/build/datatable-highlight/datatable-highlight.js +282 -0
  393. package/build/datatable-keynav/datatable-keynav-debug.js +706 -0
  394. package/build/datatable-keynav/datatable-keynav-min.js +2 -0
  395. package/build/datatable-keynav/datatable-keynav.js +706 -0
  396. package/build/datatable-message/assets/datatable-message-core.css +8 -0
  397. package/build/datatable-message/assets/skins/night/datatable-message-skin.css +6 -0
  398. package/build/datatable-message/assets/skins/night/datatable-message.css +1 -0
  399. package/build/datatable-message/assets/skins/sam/datatable-message-skin.css +5 -0
  400. package/build/datatable-message/assets/skins/sam/datatable-message.css +1 -0
  401. package/build/datatable-message/datatable-message-debug.js +290 -0
  402. package/build/datatable-message/datatable-message-min.js +1 -0
  403. package/build/datatable-message/datatable-message.js +290 -0
  404. package/build/datatable-message/lang/datatable-message.js +1 -0
  405. package/build/datatable-message/lang/datatable-message_en.js +1 -0
  406. package/build/datatable-message/lang/datatable-message_es.js +1 -0
  407. package/build/datatable-message/lang/datatable-message_fr.js +1 -0
  408. package/build/datatable-message/lang/datatable-message_hu.js +1 -0
  409. package/build/datatable-message/lang/datatable-message_it.js +1 -0
  410. package/build/datatable-mutable/datatable-mutable-debug.js +635 -0
  411. package/build/datatable-mutable/datatable-mutable-min.js +1 -0
  412. package/build/datatable-mutable/datatable-mutable.js +630 -0
  413. package/build/datatable-paginator/assets/datatable-paginator-core.css +58 -0
  414. package/build/datatable-paginator/assets/skins/night/datatable-paginator-skin.css +35 -0
  415. package/build/datatable-paginator/assets/skins/night/datatable-paginator.css +1 -0
  416. package/build/datatable-paginator/assets/skins/sam/datatable-paginator-skin.css +36 -0
  417. package/build/datatable-paginator/assets/skins/sam/datatable-paginator.css +1 -0
  418. package/build/datatable-paginator/datatable-paginator-debug.js +995 -0
  419. package/build/datatable-paginator/datatable-paginator-min.js +2 -0
  420. package/build/datatable-paginator/datatable-paginator.js +995 -0
  421. package/build/datatable-paginator/lang/datatable-paginator.js +1 -0
  422. package/build/datatable-paginator/lang/datatable-paginator_en.js +1 -0
  423. package/build/datatable-paginator/lang/datatable-paginator_fr.js +1 -0
  424. package/build/datatable-paginator-templates/datatable-paginator-templates-debug.js +87 -0
  425. package/build/datatable-paginator-templates/datatable-paginator-templates-min.js +1 -0
  426. package/build/datatable-paginator-templates/datatable-paginator-templates.js +87 -0
  427. package/build/datatable-scroll/assets/datatable-scroll-core.css +71 -0
  428. package/build/datatable-scroll/assets/skins/night/datatable-scroll-skin.css +25 -0
  429. package/build/datatable-scroll/assets/skins/night/datatable-scroll.css +1 -0
  430. package/build/datatable-scroll/assets/skins/sam/datatable-scroll-skin.css +24 -0
  431. package/build/datatable-scroll/assets/skins/sam/datatable-scroll.css +1 -0
  432. package/build/datatable-scroll/datatable-scroll-debug.js +1386 -0
  433. package/build/datatable-scroll/datatable-scroll-min.js +2 -0
  434. package/build/datatable-scroll/datatable-scroll.js +1386 -0
  435. package/build/datatable-sort/assets/datatable-sort-core.css +17 -0
  436. package/build/datatable-sort/assets/skins/night/datatable-sort-skin.css +85 -0
  437. package/build/datatable-sort/assets/skins/night/datatable-sort.css +1 -0
  438. package/build/datatable-sort/assets/skins/night/sort-arrow-sprite-ie.png +0 -0
  439. package/build/datatable-sort/assets/skins/night/sort-arrow-sprite.png +0 -0
  440. package/build/datatable-sort/assets/skins/sam/datatable-sort-skin.css +43 -0
  441. package/build/datatable-sort/assets/skins/sam/datatable-sort.css +1 -0
  442. package/build/datatable-sort/assets/skins/sam/sort-arrow-sprite-ie.png +0 -0
  443. package/build/datatable-sort/assets/skins/sam/sort-arrow-sprite.png +0 -0
  444. package/build/datatable-sort/datatable-sort-debug.js +979 -0
  445. package/build/datatable-sort/datatable-sort-min.js +1 -0
  446. package/build/datatable-sort/datatable-sort.js +979 -0
  447. package/build/datatable-sort/lang/datatable-sort.js +1 -0
  448. package/build/datatable-sort/lang/datatable-sort_en.js +1 -0
  449. package/build/datatable-sort/lang/datatable-sort_es.js +1 -0
  450. package/build/datatable-sort/lang/datatable-sort_fr.js +1 -0
  451. package/build/datatable-sort/lang/datatable-sort_hu.js +1 -0
  452. package/build/datatable-table/datatable-table-debug.js +755 -0
  453. package/build/datatable-table/datatable-table-min.js +1 -0
  454. package/build/datatable-table/datatable-table.js +755 -0
  455. package/build/datatype-date-format/datatype-date-format-debug.js +387 -0
  456. package/build/datatype-date-format/datatype-date-format-min.js +1 -0
  457. package/build/datatype-date-format/datatype-date-format.js +385 -0
  458. package/build/datatype-date-format/lang/datatype-date-format.js +1 -0
  459. package/build/datatype-date-format/lang/datatype-date-format_ar-JO.js +1 -0
  460. package/build/datatype-date-format/lang/datatype-date-format_ar.js +1 -0
  461. package/build/datatype-date-format/lang/datatype-date-format_ca-ES.js +1 -0
  462. package/build/datatype-date-format/lang/datatype-date-format_ca.js +1 -0
  463. package/build/datatype-date-format/lang/datatype-date-format_da-DK.js +1 -0
  464. package/build/datatype-date-format/lang/datatype-date-format_da.js +1 -0
  465. package/build/datatype-date-format/lang/datatype-date-format_de-AT.js +1 -0
  466. package/build/datatype-date-format/lang/datatype-date-format_de-DE.js +1 -0
  467. package/build/datatype-date-format/lang/datatype-date-format_de.js +1 -0
  468. package/build/datatype-date-format/lang/datatype-date-format_el-GR.js +1 -0
  469. package/build/datatype-date-format/lang/datatype-date-format_el.js +1 -0
  470. package/build/datatype-date-format/lang/datatype-date-format_en-AU.js +1 -0
  471. package/build/datatype-date-format/lang/datatype-date-format_en-CA.js +1 -0
  472. package/build/datatype-date-format/lang/datatype-date-format_en-GB.js +1 -0
  473. package/build/datatype-date-format/lang/datatype-date-format_en-IE.js +1 -0
  474. package/build/datatype-date-format/lang/datatype-date-format_en-IN.js +1 -0
  475. package/build/datatype-date-format/lang/datatype-date-format_en-JO.js +1 -0
  476. package/build/datatype-date-format/lang/datatype-date-format_en-MY.js +1 -0
  477. package/build/datatype-date-format/lang/datatype-date-format_en-NZ.js +1 -0
  478. package/build/datatype-date-format/lang/datatype-date-format_en-PH.js +1 -0
  479. package/build/datatype-date-format/lang/datatype-date-format_en-SG.js +1 -0
  480. package/build/datatype-date-format/lang/datatype-date-format_en-US.js +1 -0
  481. package/build/datatype-date-format/lang/datatype-date-format_en.js +1 -0
  482. package/build/datatype-date-format/lang/datatype-date-format_es-AR.js +1 -0
  483. package/build/datatype-date-format/lang/datatype-date-format_es-BO.js +1 -0
  484. package/build/datatype-date-format/lang/datatype-date-format_es-CL.js +1 -0
  485. package/build/datatype-date-format/lang/datatype-date-format_es-CO.js +1 -0
  486. package/build/datatype-date-format/lang/datatype-date-format_es-EC.js +1 -0
  487. package/build/datatype-date-format/lang/datatype-date-format_es-ES.js +1 -0
  488. package/build/datatype-date-format/lang/datatype-date-format_es-MX.js +1 -0
  489. package/build/datatype-date-format/lang/datatype-date-format_es-PE.js +1 -0
  490. package/build/datatype-date-format/lang/datatype-date-format_es-PY.js +1 -0
  491. package/build/datatype-date-format/lang/datatype-date-format_es-US.js +1 -0
  492. package/build/datatype-date-format/lang/datatype-date-format_es-UY.js +1 -0
  493. package/build/datatype-date-format/lang/datatype-date-format_es-VE.js +1 -0
  494. package/build/datatype-date-format/lang/datatype-date-format_es.js +1 -0
  495. package/build/datatype-date-format/lang/datatype-date-format_fi-FI.js +1 -0
  496. package/build/datatype-date-format/lang/datatype-date-format_fi.js +1 -0
  497. package/build/datatype-date-format/lang/datatype-date-format_fr-BE.js +1 -0
  498. package/build/datatype-date-format/lang/datatype-date-format_fr-CA.js +1 -0
  499. package/build/datatype-date-format/lang/datatype-date-format_fr-FR.js +1 -0
  500. package/build/datatype-date-format/lang/datatype-date-format_fr.js +1 -0
  501. package/build/datatype-date-format/lang/datatype-date-format_hi-IN.js +1 -0
  502. package/build/datatype-date-format/lang/datatype-date-format_hi.js +1 -0
  503. package/build/datatype-date-format/lang/datatype-date-format_hu.js +1 -0
  504. package/build/datatype-date-format/lang/datatype-date-format_id-ID.js +1 -0
  505. package/build/datatype-date-format/lang/datatype-date-format_id.js +1 -0
  506. package/build/datatype-date-format/lang/datatype-date-format_it-IT.js +1 -0
  507. package/build/datatype-date-format/lang/datatype-date-format_it.js +1 -0
  508. package/build/datatype-date-format/lang/datatype-date-format_ja-JP.js +1 -0
  509. package/build/datatype-date-format/lang/datatype-date-format_ja.js +1 -0
  510. package/build/datatype-date-format/lang/datatype-date-format_ko-KR.js +1 -0
  511. package/build/datatype-date-format/lang/datatype-date-format_ko.js +1 -0
  512. package/build/datatype-date-format/lang/datatype-date-format_ms-MY.js +1 -0
  513. package/build/datatype-date-format/lang/datatype-date-format_ms.js +1 -0
  514. package/build/datatype-date-format/lang/datatype-date-format_nb-NO.js +1 -0
  515. package/build/datatype-date-format/lang/datatype-date-format_nb.js +1 -0
  516. package/build/datatype-date-format/lang/datatype-date-format_nl-BE.js +1 -0
  517. package/build/datatype-date-format/lang/datatype-date-format_nl-NL.js +1 -0
  518. package/build/datatype-date-format/lang/datatype-date-format_nl.js +1 -0
  519. package/build/datatype-date-format/lang/datatype-date-format_pl-PL.js +1 -0
  520. package/build/datatype-date-format/lang/datatype-date-format_pl.js +1 -0
  521. package/build/datatype-date-format/lang/datatype-date-format_pt-BR.js +1 -0
  522. package/build/datatype-date-format/lang/datatype-date-format_pt.js +1 -0
  523. package/build/datatype-date-format/lang/datatype-date-format_ro-RO.js +1 -0
  524. package/build/datatype-date-format/lang/datatype-date-format_ro.js +1 -0
  525. package/build/datatype-date-format/lang/datatype-date-format_ru-RU.js +1 -0
  526. package/build/datatype-date-format/lang/datatype-date-format_ru.js +1 -0
  527. package/build/datatype-date-format/lang/datatype-date-format_sv-SE.js +1 -0
  528. package/build/datatype-date-format/lang/datatype-date-format_sv.js +1 -0
  529. package/build/datatype-date-format/lang/datatype-date-format_th-TH.js +1 -0
  530. package/build/datatype-date-format/lang/datatype-date-format_th.js +1 -0
  531. package/build/datatype-date-format/lang/datatype-date-format_tr-TR.js +1 -0
  532. package/build/datatype-date-format/lang/datatype-date-format_tr.js +1 -0
  533. package/build/datatype-date-format/lang/datatype-date-format_vi-VN.js +1 -0
  534. package/build/datatype-date-format/lang/datatype-date-format_vi.js +1 -0
  535. package/build/datatype-date-format/lang/datatype-date-format_zh-Hans-CN.js +1 -0
  536. package/build/datatype-date-format/lang/datatype-date-format_zh-Hans.js +1 -0
  537. package/build/datatype-date-format/lang/datatype-date-format_zh-Hant-HK.js +1 -0
  538. package/build/datatype-date-format/lang/datatype-date-format_zh-Hant-TW.js +1 -0
  539. package/build/datatype-date-format/lang/datatype-date-format_zh-Hant.js +1 -0
  540. package/build/datatype-date-math/datatype-date-math-debug.js +208 -0
  541. package/build/datatype-date-math/datatype-date-math-min.js +1 -0
  542. package/build/datatype-date-math/datatype-date-math.js +207 -0
  543. package/build/datatype-date-parse/datatype-date-parse-debug.js +36 -0
  544. package/build/datatype-date-parse/datatype-date-parse-min.js +1 -0
  545. package/build/datatype-date-parse/datatype-date-parse.js +35 -0
  546. package/build/datatype-number-format/datatype-number-format-debug.js +109 -0
  547. package/build/datatype-number-format/datatype-number-format-min.js +1 -0
  548. package/build/datatype-number-format/datatype-number-format.js +108 -0
  549. package/build/datatype-number-parse/datatype-number-parse-debug.js +105 -0
  550. package/build/datatype-number-parse/datatype-number-parse-min.js +1 -0
  551. package/build/datatype-number-parse/datatype-number-parse.js +104 -0
  552. package/build/datatype-xml-format/datatype-xml-format-debug.js +53 -0
  553. package/build/datatype-xml-format/datatype-xml-format-min.js +1 -0
  554. package/build/datatype-xml-format/datatype-xml-format.js +52 -0
  555. package/build/datatype-xml-parse/datatype-xml-parse-debug.js +50 -0
  556. package/build/datatype-xml-parse/datatype-xml-parse-min.js +1 -0
  557. package/build/datatype-xml-parse/datatype-xml-parse.js +49 -0
  558. package/build/dd-constrain/dd-constrain-debug.js +562 -0
  559. package/build/dd-constrain/dd-constrain-min.js +1 -0
  560. package/build/dd-constrain/dd-constrain.js +562 -0
  561. package/build/dd-ddm/dd-ddm-debug.js +126 -0
  562. package/build/dd-ddm/dd-ddm-min.js +1 -0
  563. package/build/dd-ddm/dd-ddm.js +126 -0
  564. package/build/dd-ddm-base/dd-ddm-base-debug.js +374 -0
  565. package/build/dd-ddm-base/dd-ddm-base-min.js +1 -0
  566. package/build/dd-ddm-base/dd-ddm-base.js +374 -0
  567. package/build/dd-ddm-drop/dd-ddm-drop-debug.js +399 -0
  568. package/build/dd-ddm-drop/dd-ddm-drop-min.js +1 -0
  569. package/build/dd-ddm-drop/dd-ddm-drop.js +399 -0
  570. package/build/dd-delegate/dd-delegate-debug.js +337 -0
  571. package/build/dd-delegate/dd-delegate-min.js +1 -0
  572. package/build/dd-delegate/dd-delegate.js +337 -0
  573. package/build/dd-drag/dd-drag-debug.js +1270 -0
  574. package/build/dd-drag/dd-drag-min.js +2 -0
  575. package/build/dd-drag/dd-drag.js +1267 -0
  576. package/build/dd-drop/dd-drop-debug.js +553 -0
  577. package/build/dd-drop/dd-drop-min.js +1 -0
  578. package/build/dd-drop/dd-drop.js +552 -0
  579. package/build/dd-drop-plugin/dd-drop-plugin-debug.js +44 -0
  580. package/build/dd-drop-plugin/dd-drop-plugin-min.js +1 -0
  581. package/build/dd-drop-plugin/dd-drop-plugin.js +44 -0
  582. package/build/dd-gestures/dd-gestures-debug.js +56 -0
  583. package/build/dd-gestures/dd-gestures-min.js +1 -0
  584. package/build/dd-gestures/dd-gestures.js +54 -0
  585. package/build/dd-plugin/dd-plugin-debug.js +205 -0
  586. package/build/dd-plugin/dd-plugin-min.js +1 -0
  587. package/build/dd-plugin/dd-plugin.js +200 -0
  588. package/build/dd-proxy/dd-proxy-debug.js +251 -0
  589. package/build/dd-proxy/dd-proxy-min.js +1 -0
  590. package/build/dd-proxy/dd-proxy.js +251 -0
  591. package/build/dd-scroll/dd-scroll-debug.js +423 -0
  592. package/build/dd-scroll/dd-scroll-min.js +1 -0
  593. package/build/dd-scroll/dd-scroll.js +423 -0
  594. package/build/dial/assets/dial-core.css +42 -0
  595. package/build/dial/assets/skins/night/dial-skin.css +89 -0
  596. package/build/dial/assets/skins/night/dial.css +1 -0
  597. package/build/dial/assets/skins/sam/dial-skin.css +75 -0
  598. package/build/dial/assets/skins/sam/dial.css +1 -0
  599. package/build/dial/dial-debug.js +1327 -0
  600. package/build/dial/dial-min.js +3 -0
  601. package/build/dial/dial.js +1327 -0
  602. package/build/dial/lang/dial.js +1 -0
  603. package/build/dial/lang/dial_en.js +1 -0
  604. package/build/dial/lang/dial_es.js +1 -0
  605. package/build/dial/lang/dial_hu.js +1 -0
  606. package/build/dom-base/dom-base-debug.js +699 -0
  607. package/build/dom-base/dom-base-min.js +2 -0
  608. package/build/dom-base/dom-base.js +695 -0
  609. package/build/dom-core/dom-core-debug.js +390 -0
  610. package/build/dom-core/dom-core-min.js +1 -0
  611. package/build/dom-core/dom-core.js +390 -0
  612. package/build/dom-screen/dom-screen-debug.js +611 -0
  613. package/build/dom-screen/dom-screen-min.js +1 -0
  614. package/build/dom-screen/dom-screen.js +605 -0
  615. package/build/dom-style/dom-style-debug.js +249 -0
  616. package/build/dom-style/dom-style-min.js +1 -0
  617. package/build/dom-style/dom-style.js +249 -0
  618. package/build/dom-style-ie/dom-style-ie-debug.js +300 -0
  619. package/build/dom-style-ie/dom-style-ie-min.js +1 -0
  620. package/build/dom-style-ie/dom-style-ie.js +297 -0
  621. package/build/dump/dump-debug.js +105 -0
  622. package/build/dump/dump-min.js +1 -0
  623. package/build/dump/dump.js +105 -0
  624. package/build/editor-base/editor-base-debug.js +946 -0
  625. package/build/editor-base/editor-base-min.js +2 -0
  626. package/build/editor-base/editor-base.js +943 -0
  627. package/build/editor-bidi/editor-bidi-debug.js +340 -0
  628. package/build/editor-bidi/editor-bidi-min.js +1 -0
  629. package/build/editor-bidi/editor-bidi.js +340 -0
  630. package/build/editor-br/editor-br-debug.js +137 -0
  631. package/build/editor-br/editor-br-min.js +1 -0
  632. package/build/editor-br/editor-br.js +137 -0
  633. package/build/editor-inline/editor-inline-debug.js +32 -0
  634. package/build/editor-inline/editor-inline-min.js +1 -0
  635. package/build/editor-inline/editor-inline.js +32 -0
  636. package/build/editor-lists/editor-lists-debug.js +127 -0
  637. package/build/editor-lists/editor-lists-min.js +1 -0
  638. package/build/editor-lists/editor-lists.js +122 -0
  639. package/build/editor-para/editor-para-debug.js +356 -0
  640. package/build/editor-para/editor-para-min.js +1 -0
  641. package/build/editor-para/editor-para.js +355 -0
  642. package/build/editor-para-base/editor-para-base-debug.js +132 -0
  643. package/build/editor-para-base/editor-para-base-min.js +1 -0
  644. package/build/editor-para-base/editor-para-base.js +131 -0
  645. package/build/editor-para-ie/editor-para-ie-debug.js +134 -0
  646. package/build/editor-para-ie/editor-para-ie-min.js +1 -0
  647. package/build/editor-para-ie/editor-para-ie.js +134 -0
  648. package/build/editor-selection/editor-selection-debug.js +1042 -0
  649. package/build/editor-selection/editor-selection-min.js +2 -0
  650. package/build/editor-selection/editor-selection.js +1026 -0
  651. package/build/editor-tab/editor-tab-debug.js +69 -0
  652. package/build/editor-tab/editor-tab-min.js +1 -0
  653. package/build/editor-tab/editor-tab.js +68 -0
  654. package/build/escape/escape-debug.js +92 -0
  655. package/build/escape/escape-min.js +1 -0
  656. package/build/escape/escape.js +92 -0
  657. package/build/event-base/event-base-debug.js +1368 -0
  658. package/build/event-base/event-base-min.js +2 -0
  659. package/build/event-base/event-base.js +1363 -0
  660. package/build/event-base-ie/event-base-ie-debug.js +303 -0
  661. package/build/event-base-ie/event-base-ie-min.js +3 -0
  662. package/build/event-base-ie/event-base-ie.js +303 -0
  663. package/build/event-contextmenu/event-contextmenu-debug.js +192 -0
  664. package/build/event-contextmenu/event-contextmenu-min.js +1 -0
  665. package/build/event-contextmenu/event-contextmenu.js +192 -0
  666. package/build/event-custom-base/event-custom-base-debug.js +2464 -0
  667. package/build/event-custom-base/event-custom-base-min.js +3 -0
  668. package/build/event-custom-base/event-custom-base.js +2449 -0
  669. package/build/event-custom-complex/event-custom-complex-debug.js +673 -0
  670. package/build/event-custom-complex/event-custom-complex-min.js +1 -0
  671. package/build/event-custom-complex/event-custom-complex.js +670 -0
  672. package/build/event-delegate/event-delegate-debug.js +348 -0
  673. package/build/event-delegate/event-delegate-min.js +1 -0
  674. package/build/event-delegate/event-delegate.js +347 -0
  675. package/build/event-flick/event-flick-debug.js +272 -0
  676. package/build/event-flick/event-flick-min.js +1 -0
  677. package/build/event-flick/event-flick.js +271 -0
  678. package/build/event-focus/event-focus-debug.js +280 -0
  679. package/build/event-focus/event-focus-min.js +1 -0
  680. package/build/event-focus/event-focus.js +280 -0
  681. package/build/event-hover/event-hover-debug.js +70 -0
  682. package/build/event-hover/event-hover-min.js +1 -0
  683. package/build/event-hover/event-hover.js +70 -0
  684. package/build/event-key/event-key-debug.js +172 -0
  685. package/build/event-key/event-key-min.js +1 -0
  686. package/build/event-key/event-key.js +172 -0
  687. package/build/event-mouseenter/event-mouseenter-debug.js +129 -0
  688. package/build/event-mouseenter/event-mouseenter-min.js +1 -0
  689. package/build/event-mouseenter/event-mouseenter.js +129 -0
  690. package/build/event-mousewheel/event-mousewheel-debug.js +50 -0
  691. package/build/event-mousewheel/event-mousewheel-min.js +1 -0
  692. package/build/event-mousewheel/event-mousewheel.js +50 -0
  693. package/build/event-move/event-move-debug.js +639 -0
  694. package/build/event-move/event-move-min.js +1 -0
  695. package/build/event-move/event-move.js +626 -0
  696. package/build/event-outside/event-outside-debug.js +107 -0
  697. package/build/event-outside/event-outside-min.js +1 -0
  698. package/build/event-outside/event-outside.js +107 -0
  699. package/build/event-resize/event-resize-debug.js +53 -0
  700. package/build/event-resize/event-resize-min.js +1 -0
  701. package/build/event-resize/event-resize.js +53 -0
  702. package/build/event-simulate/event-simulate-debug.js +957 -0
  703. package/build/event-simulate/event-simulate-min.js +2 -0
  704. package/build/event-simulate/event-simulate.js +957 -0
  705. package/build/event-synthetic/event-synthetic-debug.js +845 -0
  706. package/build/event-synthetic/event-synthetic-min.js +1 -0
  707. package/build/event-synthetic/event-synthetic.js +845 -0
  708. package/build/event-tap/event-tap-debug.js +299 -0
  709. package/build/event-tap/event-tap-min.js +1 -0
  710. package/build/event-tap/event-tap.js +296 -0
  711. package/build/event-touch/event-touch-debug.js +187 -0
  712. package/build/event-touch/event-touch-min.js +1 -0
  713. package/build/event-touch/event-touch.js +181 -0
  714. package/build/event-valuechange/event-valuechange-debug.js +568 -0
  715. package/build/event-valuechange/event-valuechange-min.js +1 -0
  716. package/build/event-valuechange/event-valuechange.js +554 -0
  717. package/build/exec-command/exec-command-debug.js +721 -0
  718. package/build/exec-command/exec-command-min.js +2 -0
  719. package/build/exec-command/exec-command.js +717 -0
  720. package/build/features/features-debug.js +406 -0
  721. package/build/features/features-min.js +1 -0
  722. package/build/features/features.js +405 -0
  723. package/build/file/file-debug.js +31 -0
  724. package/build/file/file-min.js +1 -0
  725. package/build/file/file.js +31 -0
  726. package/build/file-flash/file-flash-debug.js +341 -0
  727. package/build/file-flash/file-flash-min.js +1 -0
  728. package/build/file-flash/file-flash.js +341 -0
  729. package/build/file-html5/file-html5-debug.js +503 -0
  730. package/build/file-html5/file-html5-min.js +1 -0
  731. package/build/file-html5/file-html5.js +503 -0
  732. package/build/frame/frame-debug.js +1076 -0
  733. package/build/frame/frame-min.js +2 -0
  734. package/build/frame/frame.js +1047 -0
  735. package/build/gesture-simulate/gesture-simulate-debug.js +1321 -0
  736. package/build/gesture-simulate/gesture-simulate-min.js +2 -0
  737. package/build/gesture-simulate/gesture-simulate.js +1321 -0
  738. package/build/get/get-debug.js +1292 -0
  739. package/build/get/get-min.js +2 -0
  740. package/build/get/get.js +1275 -0
  741. package/build/get-nodejs/get-nodejs-debug.js +225 -0
  742. package/build/get-nodejs/get-nodejs-min.js +107 -0
  743. package/build/get-nodejs/get-nodejs.js +204 -0
  744. package/build/graphics/graphics-debug.js +1270 -0
  745. package/build/graphics/graphics-min.js +1 -0
  746. package/build/graphics/graphics.js +1270 -0
  747. package/build/graphics-canvas/graphics-canvas-debug.js +3691 -0
  748. package/build/graphics-canvas/graphics-canvas-min.js +5 -0
  749. package/build/graphics-canvas/graphics-canvas.js +3691 -0
  750. package/build/graphics-canvas-default/graphics-canvas-default-debug.js +12 -0
  751. package/build/graphics-canvas-default/graphics-canvas-default-min.js +1 -0
  752. package/build/graphics-canvas-default/graphics-canvas-default.js +12 -0
  753. package/build/graphics-group/graphics-group-debug.js +310 -0
  754. package/build/graphics-group/graphics-group-min.js +1 -0
  755. package/build/graphics-group/graphics-group.js +310 -0
  756. package/build/graphics-svg/graphics-svg-debug.js +3557 -0
  757. package/build/graphics-svg/graphics-svg-min.js +5 -0
  758. package/build/graphics-svg/graphics-svg.js +3557 -0
  759. package/build/graphics-svg-default/graphics-svg-default-debug.js +12 -0
  760. package/build/graphics-svg-default/graphics-svg-default-min.js +1 -0
  761. package/build/graphics-svg-default/graphics-svg-default.js +12 -0
  762. package/build/graphics-vml/graphics-vml-debug.js +3753 -0
  763. package/build/graphics-vml/graphics-vml-min.js +5 -0
  764. package/build/graphics-vml/graphics-vml.js +3753 -0
  765. package/build/graphics-vml-default/graphics-vml-default-debug.js +12 -0
  766. package/build/graphics-vml-default/graphics-vml-default-min.js +1 -0
  767. package/build/graphics-vml-default/graphics-vml-default.js +12 -0
  768. package/build/handlebars-base/handlebars-base-debug.js +693 -0
  769. package/build/handlebars-base/handlebars-base-min.js +7 -0
  770. package/build/handlebars-base/handlebars-base.js +693 -0
  771. package/build/handlebars-compiler/handlebars-compiler-debug.js +2519 -0
  772. package/build/handlebars-compiler/handlebars-compiler-min.js +12 -0
  773. package/build/handlebars-compiler/handlebars-compiler.js +2519 -0
  774. package/build/highlight-accentfold/highlight-accentfold-debug.js +144 -0
  775. package/build/highlight-accentfold/highlight-accentfold-min.js +1 -0
  776. package/build/highlight-accentfold/highlight-accentfold.js +144 -0
  777. package/build/highlight-base/highlight-base-debug.js +312 -0
  778. package/build/highlight-base/highlight-base-min.js +1 -0
  779. package/build/highlight-base/highlight-base.js +312 -0
  780. package/build/history-base/history-base-debug.js +639 -0
  781. package/build/history-base/history-base-min.js +1 -0
  782. package/build/history-base/history-base.js +639 -0
  783. package/build/history-hash/history-hash-debug.js +475 -0
  784. package/build/history-hash/history-hash-min.js +1 -0
  785. package/build/history-hash/history-hash.js +475 -0
  786. package/build/history-hash-ie/history-hash-ie-debug.js +138 -0
  787. package/build/history-hash-ie/history-hash-ie-min.js +1 -0
  788. package/build/history-hash-ie/history-hash-ie.js +134 -0
  789. package/build/history-html5/history-html5-debug.js +189 -0
  790. package/build/history-html5/history-html5-min.js +1 -0
  791. package/build/history-html5/history-html5.js +189 -0
  792. package/build/imageloader/imageloader-debug.js +665 -0
  793. package/build/imageloader/imageloader-min.js +1 -0
  794. package/build/imageloader/imageloader.js +653 -0
  795. package/build/intl/intl-debug.js +150 -0
  796. package/build/intl/intl-min.js +1 -0
  797. package/build/intl/intl.js +150 -0
  798. package/build/intl-base/intl-base-debug.js +88 -0
  799. package/build/intl-base/intl-base-min.js +1 -0
  800. package/build/intl-base/intl-base.js +88 -0
  801. package/build/io-base/io-base-debug.js +1059 -0
  802. package/build/io-base/io-base-min.js +1 -0
  803. package/build/io-base/io-base.js +1053 -0
  804. package/build/io-form/io-form-debug.js +130 -0
  805. package/build/io-form/io-form-min.js +1 -0
  806. package/build/io-form/io-form.js +129 -0
  807. package/build/io-nodejs/io-nodejs-debug.js +215 -0
  808. package/build/io-nodejs/io-nodejs-min.js +108 -0
  809. package/build/io-nodejs/io-nodejs.js +199 -0
  810. package/build/io-queue/io-queue-debug.js +173 -0
  811. package/build/io-queue/io-queue-min.js +1 -0
  812. package/build/io-queue/io-queue.js +170 -0
  813. package/build/io-upload-iframe/io-upload-iframe-debug.js +313 -0
  814. package/build/io-upload-iframe/io-upload-iframe-min.js +1 -0
  815. package/build/io-upload-iframe/io-upload-iframe.js +305 -0
  816. package/build/io-xdr/io-xdr-debug.js +318 -0
  817. package/build/io-xdr/io-xdr-min.js +1 -0
  818. package/build/io-xdr/io-xdr.js +318 -0
  819. package/build/json-parse/json-parse-debug.js +10 -0
  820. package/build/json-parse/json-parse-min.js +1 -0
  821. package/build/json-parse/json-parse.js +10 -0
  822. package/build/json-parse-shim/json-parse-shim-debug.js +183 -0
  823. package/build/json-parse-shim/json-parse-shim-min.js +1 -0
  824. package/build/json-parse-shim/json-parse-shim.js +183 -0
  825. package/build/json-stringify/json-stringify-debug.js +99 -0
  826. package/build/json-stringify/json-stringify-min.js +1 -0
  827. package/build/json-stringify/json-stringify.js +99 -0
  828. package/build/json-stringify-shim/json-stringify-shim-debug.js +233 -0
  829. package/build/json-stringify-shim/json-stringify-shim-min.js +1 -0
  830. package/build/json-stringify-shim/json-stringify-shim.js +233 -0
  831. package/build/jsonp/jsonp-debug.js +274 -0
  832. package/build/jsonp/jsonp-min.js +1 -0
  833. package/build/jsonp/jsonp.js +268 -0
  834. package/build/jsonp-url/jsonp-url-debug.js +133 -0
  835. package/build/jsonp-url/jsonp-url-min.js +1 -0
  836. package/build/jsonp-url/jsonp-url.js +133 -0
  837. package/build/lazy-model-list/lazy-model-list-debug.js +518 -0
  838. package/build/lazy-model-list/lazy-model-list-min.js +1 -0
  839. package/build/lazy-model-list/lazy-model-list.js +518 -0
  840. package/build/loader/loader-debug.js +6053 -0
  841. package/build/loader/loader-min.js +9 -0
  842. package/build/loader/loader.js +6010 -0
  843. package/build/loader-base/loader-base-debug.js +2955 -0
  844. package/build/loader-base/loader-base-min.js +4 -0
  845. package/build/loader-base/loader-base.js +2915 -0
  846. package/build/loader-pathogen-combohandler/loader-pathogen-combohandler-debug.js +320 -0
  847. package/build/loader-pathogen-combohandler/loader-pathogen-combohandler-min.js +1 -0
  848. package/build/loader-pathogen-combohandler/loader-pathogen-combohandler.js +316 -0
  849. package/build/loader-pathogen-encoder/loader-pathogen-encoder-debug.js +6373 -0
  850. package/build/loader-pathogen-encoder/loader-pathogen-encoder-min.js +10 -0
  851. package/build/loader-pathogen-encoder/loader-pathogen-encoder.js +6326 -0
  852. package/build/loader-rollup/loader-rollup-debug.js +102 -0
  853. package/build/loader-rollup/loader-rollup-min.js +1 -0
  854. package/build/loader-rollup/loader-rollup.js +99 -0
  855. package/build/loader-yui3/loader-yui3-debug.js +2995 -0
  856. package/build/loader-yui3/loader-yui3-min.js +6 -0
  857. package/build/loader-yui3/loader-yui3.js +2995 -0
  858. package/build/matrix/matrix-debug.js +932 -0
  859. package/build/matrix/matrix-min.js +2 -0
  860. package/build/matrix/matrix.js +932 -0
  861. package/build/model/model-debug.js +1008 -0
  862. package/build/model/model-min.js +1 -0
  863. package/build/model/model.js +1007 -0
  864. package/build/model-list/model-list-debug.js +1269 -0
  865. package/build/model-list/model-list-min.js +1 -0
  866. package/build/model-list/model-list.js +1269 -0
  867. package/build/model-sync-local/model-sync-local-debug.js +360 -0
  868. package/build/model-sync-local/model-sync-local-min.js +1 -0
  869. package/build/model-sync-local/model-sync-local.js +359 -0
  870. package/build/model-sync-rest/model-sync-rest-debug.js +733 -0
  871. package/build/model-sync-rest/model-sync-rest-min.js +1 -0
  872. package/build/model-sync-rest/model-sync-rest.js +733 -0
  873. package/build/node-base/node-base-debug.js +1003 -0
  874. package/build/node-base/node-base-min.js +1 -0
  875. package/build/node-base/node-base.js +1001 -0
  876. package/build/node-core/node-core-debug.js +1626 -0
  877. package/build/node-core/node-core-min.js +2 -0
  878. package/build/node-core/node-core.js +1622 -0
  879. package/build/node-event-delegate/node-event-delegate-debug.js +54 -0
  880. package/build/node-event-delegate/node-event-delegate-min.js +1 -0
  881. package/build/node-event-delegate/node-event-delegate.js +54 -0
  882. package/build/node-event-html5/node-event-html5-debug.js +52 -0
  883. package/build/node-event-html5/node-event-html5-min.js +1 -0
  884. package/build/node-event-html5/node-event-html5.js +52 -0
  885. package/build/node-event-simulate/node-event-simulate-debug.js +187 -0
  886. package/build/node-event-simulate/node-event-simulate-min.js +1 -0
  887. package/build/node-event-simulate/node-event-simulate.js +187 -0
  888. package/build/node-flick/assets/node-flick-core.css +8 -0
  889. package/build/node-flick/assets/skins/sam/node-flick-skin.css +1 -0
  890. package/build/node-flick/assets/skins/sam/node-flick.css +1 -0
  891. package/build/node-flick/node-flick-debug.js +524 -0
  892. package/build/node-flick/node-flick-min.js +1 -0
  893. package/build/node-flick/node-flick.js +523 -0
  894. package/build/node-focusmanager/node-focusmanager-debug.js +1073 -0
  895. package/build/node-focusmanager/node-focusmanager-min.js +1 -0
  896. package/build/node-focusmanager/node-focusmanager.js +1069 -0
  897. package/build/node-load/node-load-debug.js +65 -0
  898. package/build/node-load/node-load-min.js +1 -0
  899. package/build/node-load/node-load.js +65 -0
  900. package/build/node-menunav/assets/node-menunav-core.css +169 -0
  901. package/build/node-menunav/assets/skins/night/horizontal-menu-submenu-indicator.png +0 -0
  902. package/build/node-menunav/assets/skins/night/node-menunav-skin.css +312 -0
  903. package/build/node-menunav/assets/skins/night/node-menunav.css +1 -0
  904. package/build/node-menunav/assets/skins/night/vertical-menu-submenu-indicator.png +0 -0
  905. package/build/node-menunav/assets/skins/sam/horizontal-menu-submenu-indicator.png +0 -0
  906. package/build/node-menunav/assets/skins/sam/horizontal-menu-submenu-toggle.png +0 -0
  907. package/build/node-menunav/assets/skins/sam/node-menunav-skin.css +266 -0
  908. package/build/node-menunav/assets/skins/sam/node-menunav.css +1 -0
  909. package/build/node-menunav/assets/skins/sam/vertical-menu-submenu-indicator.png +0 -0
  910. package/build/node-menunav/node-menunav-debug.js +2189 -0
  911. package/build/node-menunav/node-menunav-min.js +2 -0
  912. package/build/node-menunav/node-menunav.js +2188 -0
  913. package/build/node-pluginhost/node-pluginhost-debug.js +91 -0
  914. package/build/node-pluginhost/node-pluginhost-min.js +1 -0
  915. package/build/node-pluginhost/node-pluginhost.js +91 -0
  916. package/build/node-screen/node-screen-debug.js +240 -0
  917. package/build/node-screen/node-screen-min.js +1 -0
  918. package/build/node-screen/node-screen.js +238 -0
  919. package/build/node-scroll-info/node-scroll-info-debug.js +656 -0
  920. package/build/node-scroll-info/node-scroll-info-min.js +1 -0
  921. package/build/node-scroll-info/node-scroll-info.js +656 -0
  922. package/build/node-style/node-style-debug.js +271 -0
  923. package/build/node-style/node-style-min.js +1 -0
  924. package/build/node-style/node-style.js +271 -0
  925. package/build/oop/oop-debug.js +432 -0
  926. package/build/oop/oop-min.js +1 -0
  927. package/build/oop/oop.js +432 -0
  928. package/build/overlay/assets/overlay-core.css +11 -0
  929. package/build/overlay/assets/skins/night/overlay-skin.css +175 -0
  930. package/build/overlay/assets/skins/night/overlay.css +1 -0
  931. package/build/overlay/assets/skins/sam/overlay-skin.css +0 -0
  932. package/build/overlay/assets/skins/sam/overlay.css +1 -0
  933. package/build/overlay/overlay-debug.js +39 -0
  934. package/build/overlay/overlay-min.js +1 -0
  935. package/build/overlay/overlay.js +39 -0
  936. package/build/paginator/paginator-debug.js +75 -0
  937. package/build/paginator/paginator-min.js +1 -0
  938. package/build/paginator/paginator.js +75 -0
  939. package/build/paginator-core/paginator-core-debug.js +146 -0
  940. package/build/paginator-core/paginator-core-min.js +1 -0
  941. package/build/paginator-core/paginator-core.js +146 -0
  942. package/build/paginator-url/paginator-url-debug.js +67 -0
  943. package/build/paginator-url/paginator-url-min.js +1 -0
  944. package/build/paginator-url/paginator-url.js +67 -0
  945. package/build/panel/assets/panel-core.css +22 -0
  946. package/build/panel/assets/skins/night/panel-skin.css +123 -0
  947. package/build/panel/assets/skins/night/panel.css +1 -0
  948. package/build/panel/assets/skins/night/sprite_icons.png +0 -0
  949. package/build/panel/assets/skins/sam/panel-skin.css +95 -0
  950. package/build/panel/assets/skins/sam/panel.css +1 -0
  951. package/build/panel/assets/skins/sam/sprite_icons.png +0 -0
  952. package/build/panel/panel-debug.js +112 -0
  953. package/build/panel/panel-min.js +1 -0
  954. package/build/panel/panel.js +112 -0
  955. package/build/parallel/parallel-debug.js +109 -0
  956. package/build/parallel/parallel-min.js +1 -0
  957. package/build/parallel/parallel.js +107 -0
  958. package/build/pjax/pjax-debug.js +170 -0
  959. package/build/pjax/pjax-min.js +1 -0
  960. package/build/pjax/pjax.js +170 -0
  961. package/build/pjax-base/pjax-base-debug.js +443 -0
  962. package/build/pjax-base/pjax-base-min.js +1 -0
  963. package/build/pjax-base/pjax-base.js +442 -0
  964. package/build/pjax-content/pjax-content-debug.js +281 -0
  965. package/build/pjax-content/pjax-content-min.js +1 -0
  966. package/build/pjax-content/pjax-content.js +281 -0
  967. package/build/pjax-plugin/pjax-plugin-debug.js +29 -0
  968. package/build/pjax-plugin/pjax-plugin-min.js +1 -0
  969. package/build/pjax-plugin/pjax-plugin.js +29 -0
  970. package/build/plugin/plugin-debug.js +265 -0
  971. package/build/plugin/plugin-min.js +1 -0
  972. package/build/plugin/plugin.js +263 -0
  973. package/build/pluginhost-base/pluginhost-base-debug.js +187 -0
  974. package/build/pluginhost-base/pluginhost-base-min.js +1 -0
  975. package/build/pluginhost-base/pluginhost-base.js +185 -0
  976. package/build/pluginhost-config/pluginhost-config-debug.js +130 -0
  977. package/build/pluginhost-config/pluginhost-config-min.js +1 -0
  978. package/build/pluginhost-config/pluginhost-config.js +130 -0
  979. package/build/promise/promise-debug.js +624 -0
  980. package/build/promise/promise-min.js +1 -0
  981. package/build/promise/promise.js +620 -0
  982. package/build/querystring-parse/querystring-parse-debug.js +162 -0
  983. package/build/querystring-parse/querystring-parse-min.js +1 -0
  984. package/build/querystring-parse/querystring-parse.js +162 -0
  985. package/build/querystring-parse-simple/querystring-parse-simple-debug.js +49 -0
  986. package/build/querystring-parse-simple/querystring-parse-simple-min.js +1 -0
  987. package/build/querystring-parse-simple/querystring-parse-simple.js +49 -0
  988. package/build/querystring-stringify/querystring-stringify-debug.js +111 -0
  989. package/build/querystring-stringify/querystring-stringify-min.js +1 -0
  990. package/build/querystring-stringify/querystring-stringify.js +106 -0
  991. package/build/querystring-stringify-simple/querystring-stringify-simple-debug.js +44 -0
  992. package/build/querystring-stringify-simple/querystring-stringify-simple-min.js +1 -0
  993. package/build/querystring-stringify-simple/querystring-stringify-simple.js +44 -0
  994. package/build/queue-promote/queue-promote-debug.js +53 -0
  995. package/build/queue-promote/queue-promote-min.js +1 -0
  996. package/build/queue-promote/queue-promote.js +53 -0
  997. package/build/range-slider/range-slider-debug.js +28 -0
  998. package/build/range-slider/range-slider-min.js +1 -0
  999. package/build/range-slider/range-slider.js +28 -0
  1000. package/build/recordset-base/recordset-base-debug.js +651 -0
  1001. package/build/recordset-base/recordset-base-min.js +1 -0
  1002. package/build/recordset-base/recordset-base.js +650 -0
  1003. package/build/recordset-filter/recordset-filter-debug.js +105 -0
  1004. package/build/recordset-filter/recordset-filter-min.js +1 -0
  1005. package/build/recordset-filter/recordset-filter.js +105 -0
  1006. package/build/recordset-indexer/recordset-indexer-debug.js +227 -0
  1007. package/build/recordset-indexer/recordset-indexer-min.js +1 -0
  1008. package/build/recordset-indexer/recordset-indexer.js +227 -0
  1009. package/build/recordset-sort/recordset-sort-debug.js +206 -0
  1010. package/build/recordset-sort/recordset-sort-min.js +1 -0
  1011. package/build/recordset-sort/recordset-sort.js +205 -0
  1012. package/build/resize-base/assets/resize-base-core.css +241 -0
  1013. package/build/resize-base/assets/skins/night/arrows.png +0 -0
  1014. package/build/resize-base/assets/skins/night/resize-base-skin.css +46 -0
  1015. package/build/resize-base/assets/skins/night/resize-base.css +1 -0
  1016. package/build/resize-base/assets/skins/sam/arrows.png +0 -0
  1017. package/build/resize-base/assets/skins/sam/resize-base-skin.css +46 -0
  1018. package/build/resize-base/assets/skins/sam/resize-base.css +1 -0
  1019. package/build/resize-base/resize-base-debug.js +1644 -0
  1020. package/build/resize-base/resize-base-min.js +2 -0
  1021. package/build/resize-base/resize-base.js +1643 -0
  1022. package/build/resize-constrain/resize-constrain-debug.js +455 -0
  1023. package/build/resize-constrain/resize-constrain-min.js +1 -0
  1024. package/build/resize-constrain/resize-constrain.js +455 -0
  1025. package/build/resize-plugin/resize-plugin-debug.js +208 -0
  1026. package/build/resize-plugin/resize-plugin-min.js +1 -0
  1027. package/build/resize-plugin/resize-plugin.js +208 -0
  1028. package/build/resize-proxy/resize-proxy-debug.js +166 -0
  1029. package/build/resize-proxy/resize-proxy-min.js +1 -0
  1030. package/build/resize-proxy/resize-proxy.js +166 -0
  1031. package/build/router/router-debug.js +1818 -0
  1032. package/build/router/router-min.js +2 -0
  1033. package/build/router/router.js +1810 -0
  1034. package/build/scrollview/scrollview-debug.js +21 -0
  1035. package/build/scrollview/scrollview-min.js +1 -0
  1036. package/build/scrollview/scrollview.js +21 -0
  1037. package/build/scrollview-base/assets/scrollview-base-core.css +14 -0
  1038. package/build/scrollview-base/assets/skins/night/scrollview-base-skin.css +0 -0
  1039. package/build/scrollview-base/assets/skins/night/scrollview-base.css +1 -0
  1040. package/build/scrollview-base/assets/skins/sam/scrollview-base-skin.css +3 -0
  1041. package/build/scrollview-base/assets/skins/sam/scrollview-base.css +1 -0
  1042. package/build/scrollview-base/scrollview-base-debug.js +1457 -0
  1043. package/build/scrollview-base/scrollview-base-min.js +2 -0
  1044. package/build/scrollview-base/scrollview-base.js +1457 -0
  1045. package/build/scrollview-base-ie/scrollview-base-ie-debug.js +55 -0
  1046. package/build/scrollview-base-ie/scrollview-base-ie-min.js +1 -0
  1047. package/build/scrollview-base-ie/scrollview-base-ie.js +55 -0
  1048. package/build/scrollview-list/assets/scrollview-list-core.css +0 -0
  1049. package/build/scrollview-list/assets/skins/night/scrollview-list-skin.css +57 -0
  1050. package/build/scrollview-list/assets/skins/night/scrollview-list.css +1 -0
  1051. package/build/scrollview-list/assets/skins/sam/scrollview-list-skin.css +37 -0
  1052. package/build/scrollview-list/assets/skins/sam/scrollview-list.css +1 -0
  1053. package/build/scrollview-list/scrollview-list-debug.js +130 -0
  1054. package/build/scrollview-list/scrollview-list-min.js +1 -0
  1055. package/build/scrollview-list/scrollview-list.js +130 -0
  1056. package/build/scrollview-paginator/scrollview-paginator-debug.js +746 -0
  1057. package/build/scrollview-paginator/scrollview-paginator-min.js +1 -0
  1058. package/build/scrollview-paginator/scrollview-paginator.js +746 -0
  1059. package/build/scrollview-scrollbars/assets/scrollview-scrollbars-core.css +95 -0
  1060. package/build/scrollview-scrollbars/assets/skins/night/scrollview-scrollbars-skin.css +96 -0
  1061. package/build/scrollview-scrollbars/assets/skins/night/scrollview-scrollbars.css +1 -0
  1062. package/build/scrollview-scrollbars/assets/skins/sam/scrollview-scrollbars-skin.css +90 -0
  1063. package/build/scrollview-scrollbars/assets/skins/sam/scrollview-scrollbars.css +1 -0
  1064. package/build/scrollview-scrollbars/scrollview-scrollbars-debug.js +563 -0
  1065. package/build/scrollview-scrollbars/scrollview-scrollbars-min.js +1 -0
  1066. package/build/scrollview-scrollbars/scrollview-scrollbars.js +563 -0
  1067. package/build/selector/selector-debug.js +5 -0
  1068. package/build/selector/selector-min.js +1 -0
  1069. package/build/selector/selector.js +5 -0
  1070. package/build/selector-css2/selector-css2-debug.js +460 -0
  1071. package/build/selector-css2/selector-css2-min.js +1 -0
  1072. package/build/selector-css2/selector-css2.js +459 -0
  1073. package/build/selector-css3/selector-css3-debug.js +152 -0
  1074. package/build/selector-css3/selector-css3-min.js +1 -0
  1075. package/build/selector-css3/selector-css3.js +152 -0
  1076. package/build/selector-native/selector-native-debug.js +405 -0
  1077. package/build/selector-native/selector-native-min.js +1 -0
  1078. package/build/selector-native/selector-native.js +400 -0
  1079. package/build/series-area/series-area-debug.js +103 -0
  1080. package/build/series-area/series-area-min.js +1 -0
  1081. package/build/series-area/series-area.js +103 -0
  1082. package/build/series-area-stacked/series-area-stacked-debug.js +60 -0
  1083. package/build/series-area-stacked/series-area-stacked-min.js +1 -0
  1084. package/build/series-area-stacked/series-area-stacked.js +60 -0
  1085. package/build/series-areaspline/series-areaspline-debug.js +63 -0
  1086. package/build/series-areaspline/series-areaspline-min.js +1 -0
  1087. package/build/series-areaspline/series-areaspline.js +63 -0
  1088. package/build/series-areaspline-stacked/series-areaspline-stacked-debug.js +50 -0
  1089. package/build/series-areaspline-stacked/series-areaspline-stacked-min.js +1 -0
  1090. package/build/series-areaspline-stacked/series-areaspline-stacked.js +50 -0
  1091. package/build/series-bar/series-bar-debug.js +169 -0
  1092. package/build/series-bar/series-bar-min.js +1 -0
  1093. package/build/series-bar/series-bar.js +169 -0
  1094. package/build/series-bar-stacked/series-bar-stacked-debug.js +364 -0
  1095. package/build/series-bar-stacked/series-bar-stacked-min.js +1 -0
  1096. package/build/series-bar-stacked/series-bar-stacked.js +364 -0
  1097. package/build/series-base/series-base-debug.js +408 -0
  1098. package/build/series-base/series-base-min.js +1 -0
  1099. package/build/series-base/series-base.js +408 -0
  1100. package/build/series-candlestick/series-candlestick-debug.js +314 -0
  1101. package/build/series-candlestick/series-candlestick-min.js +1 -0
  1102. package/build/series-candlestick/series-candlestick.js +314 -0
  1103. package/build/series-cartesian/series-cartesian-debug.js +947 -0
  1104. package/build/series-cartesian/series-cartesian-min.js +2 -0
  1105. package/build/series-cartesian/series-cartesian.js +947 -0
  1106. package/build/series-column/series-column-debug.js +160 -0
  1107. package/build/series-column/series-column-min.js +1 -0
  1108. package/build/series-column/series-column.js +160 -0
  1109. package/build/series-column-stacked/series-column-stacked-debug.js +351 -0
  1110. package/build/series-column-stacked/series-column-stacked-min.js +1 -0
  1111. package/build/series-column-stacked/series-column-stacked.js +351 -0
  1112. package/build/series-combo/series-combo-debug.js +283 -0
  1113. package/build/series-combo/series-combo-min.js +1 -0
  1114. package/build/series-combo/series-combo.js +283 -0
  1115. package/build/series-combo-stacked/series-combo-stacked-debug.js +86 -0
  1116. package/build/series-combo-stacked/series-combo-stacked-min.js +1 -0
  1117. package/build/series-combo-stacked/series-combo-stacked.js +86 -0
  1118. package/build/series-combospline/series-combospline-debug.js +60 -0
  1119. package/build/series-combospline/series-combospline-min.js +1 -0
  1120. package/build/series-combospline/series-combospline.js +60 -0
  1121. package/build/series-combospline-stacked/series-combospline-stacked-debug.js +72 -0
  1122. package/build/series-combospline-stacked/series-combospline-stacked-min.js +1 -0
  1123. package/build/series-combospline-stacked/series-combospline-stacked.js +72 -0
  1124. package/build/series-curve-util/series-curve-util-debug.js +135 -0
  1125. package/build/series-curve-util/series-curve-util-min.js +1 -0
  1126. package/build/series-curve-util/series-curve-util.js +135 -0
  1127. package/build/series-fill-util/series-fill-util-debug.js +517 -0
  1128. package/build/series-fill-util/series-fill-util-min.js +1 -0
  1129. package/build/series-fill-util/series-fill-util.js +517 -0
  1130. package/build/series-histogram-base/series-histogram-base-debug.js +245 -0
  1131. package/build/series-histogram-base/series-histogram-base-min.js +1 -0
  1132. package/build/series-histogram-base/series-histogram-base.js +245 -0
  1133. package/build/series-line/series-line-debug.js +113 -0
  1134. package/build/series-line/series-line-min.js +1 -0
  1135. package/build/series-line/series-line.js +113 -0
  1136. package/build/series-line-stacked/series-line-stacked-debug.js +49 -0
  1137. package/build/series-line-stacked/series-line-stacked-min.js +1 -0
  1138. package/build/series-line-stacked/series-line-stacked.js +49 -0
  1139. package/build/series-line-util/series-line-util-debug.js +287 -0
  1140. package/build/series-line-util/series-line-util-min.js +1 -0
  1141. package/build/series-line-util/series-line-util.js +287 -0
  1142. package/build/series-marker/series-marker-debug.js +89 -0
  1143. package/build/series-marker/series-marker-min.js +1 -0
  1144. package/build/series-marker/series-marker.js +89 -0
  1145. package/build/series-marker-stacked/series-marker-stacked-debug.js +50 -0
  1146. package/build/series-marker-stacked/series-marker-stacked-min.js +1 -0
  1147. package/build/series-marker-stacked/series-marker-stacked.js +50 -0
  1148. package/build/series-ohlc/series-ohlc-debug.js +237 -0
  1149. package/build/series-ohlc/series-ohlc-min.js +1 -0
  1150. package/build/series-ohlc/series-ohlc.js +237 -0
  1151. package/build/series-pie/series-pie-debug.js +724 -0
  1152. package/build/series-pie/series-pie-min.js +2 -0
  1153. package/build/series-pie/series-pie.js +724 -0
  1154. package/build/series-plot-util/series-plot-util-debug.js +552 -0
  1155. package/build/series-plot-util/series-plot-util-min.js +1 -0
  1156. package/build/series-plot-util/series-plot-util.js +552 -0
  1157. package/build/series-range/series-range-debug.js +132 -0
  1158. package/build/series-range/series-range-min.js +1 -0
  1159. package/build/series-range/series-range.js +132 -0
  1160. package/build/series-spline/series-spline-debug.js +82 -0
  1161. package/build/series-spline/series-spline-min.js +1 -0
  1162. package/build/series-spline/series-spline.js +82 -0
  1163. package/build/series-spline-stacked/series-spline-stacked-debug.js +50 -0
  1164. package/build/series-spline-stacked/series-spline-stacked-min.js +1 -0
  1165. package/build/series-spline-stacked/series-spline-stacked.js +50 -0
  1166. package/build/series-stacked/series-stacked-debug.js +356 -0
  1167. package/build/series-stacked/series-stacked-min.js +1 -0
  1168. package/build/series-stacked/series-stacked.js +356 -0
  1169. package/build/shim-plugin/shim-plugin-debug.js +106 -0
  1170. package/build/shim-plugin/shim-plugin-min.js +1 -0
  1171. package/build/shim-plugin/shim-plugin.js +106 -0
  1172. package/build/slider-base/assets/skins/audio/rail-x.png +0 -0
  1173. package/build/slider-base/assets/skins/audio/rail-y.png +0 -0
  1174. package/build/slider-base/assets/skins/audio/slider-base-skin.css +91 -0
  1175. package/build/slider-base/assets/skins/audio/slider-base.css +1 -0
  1176. package/build/slider-base/assets/skins/audio/slider-skin.css +91 -0
  1177. package/build/slider-base/assets/skins/audio/thumb-x.png +0 -0
  1178. package/build/slider-base/assets/skins/audio/thumb-y.png +0 -0
  1179. package/build/slider-base/assets/skins/audio-light/rail-x.png +0 -0
  1180. package/build/slider-base/assets/skins/audio-light/rail-y.png +0 -0
  1181. package/build/slider-base/assets/skins/audio-light/slider-base-skin.css +91 -0
  1182. package/build/slider-base/assets/skins/audio-light/slider-base.css +1 -0
  1183. package/build/slider-base/assets/skins/audio-light/slider-skin.css +91 -0
  1184. package/build/slider-base/assets/skins/audio-light/thumb-x.png +0 -0
  1185. package/build/slider-base/assets/skins/audio-light/thumb-y.png +0 -0
  1186. package/build/slider-base/assets/skins/capsule/rail-x-dots.png +0 -0
  1187. package/build/slider-base/assets/skins/capsule/rail-x-lines.png +0 -0
  1188. package/build/slider-base/assets/skins/capsule/rail-x.png +0 -0
  1189. package/build/slider-base/assets/skins/capsule/rail-y-dots.png +0 -0
  1190. package/build/slider-base/assets/skins/capsule/rail-y-lines.png +0 -0
  1191. package/build/slider-base/assets/skins/capsule/rail-y.png +0 -0
  1192. package/build/slider-base/assets/skins/capsule/slider-base-skin.css +93 -0
  1193. package/build/slider-base/assets/skins/capsule/slider-base.css +1 -0
  1194. package/build/slider-base/assets/skins/capsule/slider-skin.css +93 -0
  1195. package/build/slider-base/assets/skins/capsule/thumb-x-line.png +0 -0
  1196. package/build/slider-base/assets/skins/capsule/thumb-x.png +0 -0
  1197. package/build/slider-base/assets/skins/capsule/thumb-y-line.png +0 -0
  1198. package/build/slider-base/assets/skins/capsule/thumb-y-lines.png +0 -0
  1199. package/build/slider-base/assets/skins/capsule/thumb-y.png +0 -0
  1200. package/build/slider-base/assets/skins/capsule-dark/rail-x-dots.png +0 -0
  1201. package/build/slider-base/assets/skins/capsule-dark/rail-x-lines.png +0 -0
  1202. package/build/slider-base/assets/skins/capsule-dark/rail-x.png +0 -0
  1203. package/build/slider-base/assets/skins/capsule-dark/rail-y-dots.png +0 -0
  1204. package/build/slider-base/assets/skins/capsule-dark/rail-y-lines.png +0 -0
  1205. package/build/slider-base/assets/skins/capsule-dark/rail-y.png +0 -0
  1206. package/build/slider-base/assets/skins/capsule-dark/slider-base-skin.css +91 -0
  1207. package/build/slider-base/assets/skins/capsule-dark/slider-base.css +1 -0
  1208. package/build/slider-base/assets/skins/capsule-dark/slider-skin.css +91 -0
  1209. package/build/slider-base/assets/skins/capsule-dark/thumb-x-line.png +0 -0
  1210. package/build/slider-base/assets/skins/capsule-dark/thumb-x.png +0 -0
  1211. package/build/slider-base/assets/skins/capsule-dark/thumb-y-line.png +0 -0
  1212. package/build/slider-base/assets/skins/capsule-dark/thumb-y.png +0 -0
  1213. package/build/slider-base/assets/skins/night/rail-x-lines.png +0 -0
  1214. package/build/slider-base/assets/skins/night/rail-x.png +0 -0
  1215. package/build/slider-base/assets/skins/night/rail-y-lines.png +0 -0
  1216. package/build/slider-base/assets/skins/night/rail-y.png +0 -0
  1217. package/build/slider-base/assets/skins/night/slider-base-skin.css +87 -0
  1218. package/build/slider-base/assets/skins/night/slider-base.css +1 -0
  1219. package/build/slider-base/assets/skins/night/slider-skin.css +87 -0
  1220. package/build/slider-base/assets/skins/night/thumb-x.png +0 -0
  1221. package/build/slider-base/assets/skins/night/thumb-y.png +0 -0
  1222. package/build/slider-base/assets/skins/round/rail-x.png +0 -0
  1223. package/build/slider-base/assets/skins/round/rail-y.png +0 -0
  1224. package/build/slider-base/assets/skins/round/slider-base-skin.css +89 -0
  1225. package/build/slider-base/assets/skins/round/slider-base.css +1 -0
  1226. package/build/slider-base/assets/skins/round/slider-skin.css +89 -0
  1227. package/build/slider-base/assets/skins/round/thumb-x-grip.png +0 -0
  1228. package/build/slider-base/assets/skins/round/thumb-x.png +0 -0
  1229. package/build/slider-base/assets/skins/round/thumb-y-grip.png +0 -0
  1230. package/build/slider-base/assets/skins/round/thumb-y.png +0 -0
  1231. package/build/slider-base/assets/skins/round-dark/rail-x.png +0 -0
  1232. package/build/slider-base/assets/skins/round-dark/rail-y.png +0 -0
  1233. package/build/slider-base/assets/skins/round-dark/slider-base-skin.css +89 -0
  1234. package/build/slider-base/assets/skins/round-dark/slider-base.css +1 -0
  1235. package/build/slider-base/assets/skins/round-dark/slider-skin.css +89 -0
  1236. package/build/slider-base/assets/skins/round-dark/thumb-x-grip.png +0 -0
  1237. package/build/slider-base/assets/skins/round-dark/thumb-x.png +0 -0
  1238. package/build/slider-base/assets/skins/round-dark/thumb-y-grip.png +0 -0
  1239. package/build/slider-base/assets/skins/round-dark/thumb-y.png +0 -0
  1240. package/build/slider-base/assets/skins/sam/rail-x-lines.png +0 -0
  1241. package/build/slider-base/assets/skins/sam/rail-x.png +0 -0
  1242. package/build/slider-base/assets/skins/sam/rail-y-lines.png +0 -0
  1243. package/build/slider-base/assets/skins/sam/rail-y.png +0 -0
  1244. package/build/slider-base/assets/skins/sam/slider-base-skin.css +87 -0
  1245. package/build/slider-base/assets/skins/sam/slider-base.css +1 -0
  1246. package/build/slider-base/assets/skins/sam/slider-skin.css +87 -0
  1247. package/build/slider-base/assets/skins/sam/thumb-x.png +0 -0
  1248. package/build/slider-base/assets/skins/sam/thumb-y.png +0 -0
  1249. package/build/slider-base/assets/skins/sam-dark/rail-x-lines.png +0 -0
  1250. package/build/slider-base/assets/skins/sam-dark/rail-x.png +0 -0
  1251. package/build/slider-base/assets/skins/sam-dark/rail-y-lines.png +0 -0
  1252. package/build/slider-base/assets/skins/sam-dark/rail-y.png +0 -0
  1253. package/build/slider-base/assets/skins/sam-dark/slider-base-skin.css +87 -0
  1254. package/build/slider-base/assets/skins/sam-dark/slider-base.css +1 -0
  1255. package/build/slider-base/assets/skins/sam-dark/slider-skin.css +87 -0
  1256. package/build/slider-base/assets/skins/sam-dark/thumb-x.png +0 -0
  1257. package/build/slider-base/assets/skins/sam-dark/thumb-y.png +0 -0
  1258. package/build/slider-base/assets/slider-base-core.css +31 -0
  1259. package/build/slider-base/assets/slider-core.css +31 -0
  1260. package/build/slider-base/assets/thumb-x-oblong-dark.png +0 -0
  1261. package/build/slider-base/assets/thumb-x-oblong.png +0 -0
  1262. package/build/slider-base/assets/thumb-x-oblong2-dark.png +0 -0
  1263. package/build/slider-base/assets/thumb-x-oblong2.png +0 -0
  1264. package/build/slider-base/assets/thumb-y-oblong-dark.png +0 -0
  1265. package/build/slider-base/assets/thumb-y-oblong.png +0 -0
  1266. package/build/slider-base/assets/thumb-y-oblong2-dark.png +0 -0
  1267. package/build/slider-base/assets/thumb-y-oblong2.png +0 -0
  1268. package/build/slider-base/slider-base-debug.js +762 -0
  1269. package/build/slider-base/slider-base-min.js +1 -0
  1270. package/build/slider-base/slider-base.js +760 -0
  1271. package/build/slider-value-range/slider-value-range-debug.js +422 -0
  1272. package/build/slider-value-range/slider-value-range-min.js +1 -0
  1273. package/build/slider-value-range/slider-value-range.js +418 -0
  1274. package/build/sortable/sortable-debug.js +528 -0
  1275. package/build/sortable/sortable-min.js +1 -0
  1276. package/build/sortable/sortable.js +527 -0
  1277. package/build/sortable-scroll/sortable-scroll-debug.js +67 -0
  1278. package/build/sortable-scroll/sortable-scroll-min.js +1 -0
  1279. package/build/sortable-scroll/sortable-scroll.js +67 -0
  1280. package/build/stylesheet/stylesheet-debug.js +642 -0
  1281. package/build/stylesheet/stylesheet-min.js +1 -0
  1282. package/build/stylesheet/stylesheet.js +638 -0
  1283. package/build/substitute/substitute-debug.js +170 -0
  1284. package/build/substitute/substitute-min.js +1 -0
  1285. package/build/substitute/substitute.js +170 -0
  1286. package/build/swf/swf-debug.js +206 -0
  1287. package/build/swf/swf-min.js +1 -0
  1288. package/build/swf/swf.js +204 -0
  1289. package/build/swfdetect/swfdetect-debug.js +116 -0
  1290. package/build/swfdetect/swfdetect-min.js +1 -0
  1291. package/build/swfdetect/swfdetect.js +115 -0
  1292. package/build/tabview/assets/skins/night/tabview-skin.css +89 -0
  1293. package/build/tabview/assets/skins/night/tabview.css +1 -0
  1294. package/build/tabview/assets/skins/sam/tabview-skin.css +58 -0
  1295. package/build/tabview/assets/skins/sam/tabview.css +1 -0
  1296. package/build/tabview/assets/tabview-core.css +42 -0
  1297. package/build/tabview/tabview-debug.js +436 -0
  1298. package/build/tabview/tabview-min.js +1 -0
  1299. package/build/tabview/tabview.js +436 -0
  1300. package/build/tabview-base/tabview-base-debug.js +144 -0
  1301. package/build/tabview-base/tabview-base-min.js +1 -0
  1302. package/build/tabview-base/tabview-base.js +144 -0
  1303. package/build/tabview-plugin/tabview-plugin-debug.js +16 -0
  1304. package/build/tabview-plugin/tabview-plugin-min.js +1 -0
  1305. package/build/tabview-plugin/tabview-plugin.js +16 -0
  1306. package/build/template-base/template-base-debug.js +272 -0
  1307. package/build/template-base/template-base-min.js +1 -0
  1308. package/build/template-base/template-base.js +272 -0
  1309. package/build/template-micro/template-micro-debug.js +249 -0
  1310. package/build/template-micro/template-micro-min.js +1 -0
  1311. package/build/template-micro/template-micro.js +249 -0
  1312. package/build/test/test-debug.js +3869 -0
  1313. package/build/test/test-min.js +6 -0
  1314. package/build/test/test.js +3869 -0
  1315. package/build/test-console/assets/skins/sam/test-console-skin.css +58 -0
  1316. package/build/test-console/assets/skins/sam/test-console.css +1 -0
  1317. package/build/test-console/assets/test-console-core.css +8 -0
  1318. package/build/test-console/test-console-debug.js +307 -0
  1319. package/build/test-console/test-console-min.js +1 -0
  1320. package/build/test-console/test-console.js +307 -0
  1321. package/build/text-accentfold/text-accentfold-debug.js +162 -0
  1322. package/build/text-accentfold/text-accentfold-min.js +1 -0
  1323. package/build/text-accentfold/text-accentfold.js +162 -0
  1324. package/build/text-data-accentfold/text-data-accentfold-debug.js +46 -0
  1325. package/build/text-data-accentfold/text-data-accentfold-min.js +1 -0
  1326. package/build/text-data-accentfold/text-data-accentfold.js +46 -0
  1327. package/build/text-data-wordbreak/text-data-wordbreak-debug.js +29 -0
  1328. package/build/text-data-wordbreak/text-data-wordbreak-min.js +2 -0
  1329. package/build/text-data-wordbreak/text-data-wordbreak.js +29 -0
  1330. package/build/text-wordbreak/text-wordbreak-debug.js +363 -0
  1331. package/build/text-wordbreak/text-wordbreak-min.js +1 -0
  1332. package/build/text-wordbreak/text-wordbreak.js +362 -0
  1333. package/build/timers/timers-debug.js +314 -0
  1334. package/build/timers/timers-min.js +1 -0
  1335. package/build/timers/timers.js +314 -0
  1336. package/build/transition/transition-debug.js +760 -0
  1337. package/build/transition/transition-min.js +2 -0
  1338. package/build/transition/transition.js +758 -0
  1339. package/build/transition-timer/transition-timer-debug.js +334 -0
  1340. package/build/transition-timer/transition-timer-min.js +1 -0
  1341. package/build/transition-timer/transition-timer.js +334 -0
  1342. package/build/tree/tree-debug.js +940 -0
  1343. package/build/tree/tree-min.js +1 -0
  1344. package/build/tree/tree.js +940 -0
  1345. package/build/tree-labelable/tree-labelable-debug.js +79 -0
  1346. package/build/tree-labelable/tree-labelable-min.js +1 -0
  1347. package/build/tree-labelable/tree-labelable.js +79 -0
  1348. package/build/tree-lazy/tree-lazy-debug.js +176 -0
  1349. package/build/tree-lazy/tree-lazy-min.js +1 -0
  1350. package/build/tree-lazy/tree-lazy.js +175 -0
  1351. package/build/tree-node/tree-node-debug.js +555 -0
  1352. package/build/tree-node/tree-node-min.js +1 -0
  1353. package/build/tree-node/tree-node.js +555 -0
  1354. package/build/tree-openable/tree-openable-debug.js +241 -0
  1355. package/build/tree-openable/tree-openable-min.js +1 -0
  1356. package/build/tree-openable/tree-openable.js +241 -0
  1357. package/build/tree-selectable/tree-selectable-debug.js +289 -0
  1358. package/build/tree-selectable/tree-selectable-min.js +1 -0
  1359. package/build/tree-selectable/tree-selectable.js +289 -0
  1360. package/build/tree-sortable/tree-sortable-debug.js +377 -0
  1361. package/build/tree-sortable/tree-sortable-min.js +1 -0
  1362. package/build/tree-sortable/tree-sortable.js +377 -0
  1363. package/build/uploader/assets/uploader-flash-core.css +4 -0
  1364. package/build/uploader/uploader-debug.js +53 -0
  1365. package/build/uploader/uploader-min.js +1 -0
  1366. package/build/uploader/uploader.js +53 -0
  1367. package/build/uploader-flash/assets/uploader-flash-core.css +4 -0
  1368. package/build/uploader-flash/uploader-flash-debug.js +1612 -0
  1369. package/build/uploader-flash/uploader-flash-min.js +3 -0
  1370. package/build/uploader-flash/uploader-flash.js +1611 -0
  1371. package/build/uploader-html5/assets/uploader-flash-core.css +4 -0
  1372. package/build/uploader-html5/uploader-html5-debug.js +1006 -0
  1373. package/build/uploader-html5/uploader-html5-min.js +2 -0
  1374. package/build/uploader-html5/uploader-html5.js +1006 -0
  1375. package/build/uploader-queue/assets/uploader-flash-core.css +4 -0
  1376. package/build/uploader-queue/uploader-queue-debug.js +656 -0
  1377. package/build/uploader-queue/uploader-queue-min.js +1 -0
  1378. package/build/uploader-queue/uploader-queue.js +656 -0
  1379. package/build/view/view-debug.js +434 -0
  1380. package/build/view/view-min.js +1 -0
  1381. package/build/view/view.js +433 -0
  1382. package/build/view-node-map/view-node-map-debug.js +84 -0
  1383. package/build/view-node-map/view-node-map-min.js +1 -0
  1384. package/build/view-node-map/view-node-map.js +84 -0
  1385. package/build/widget-anim/widget-anim-debug.js +257 -0
  1386. package/build/widget-anim/widget-anim-min.js +1 -0
  1387. package/build/widget-anim/widget-anim.js +257 -0
  1388. package/build/widget-autohide/widget-autohide-debug.js +238 -0
  1389. package/build/widget-autohide/widget-autohide-min.js +1 -0
  1390. package/build/widget-autohide/widget-autohide.js +237 -0
  1391. package/build/widget-base/assets/skins/night/widget-base-skin.css +0 -0
  1392. package/build/widget-base/assets/skins/night/widget-base.css +1 -0
  1393. package/build/widget-base/assets/skins/sam/widget-base-skin.css +0 -0
  1394. package/build/widget-base/assets/skins/sam/widget-base.css +1 -0
  1395. package/build/widget-base/assets/widget-base-core.css +20 -0
  1396. package/build/widget-base/widget-base-debug.js +1293 -0
  1397. package/build/widget-base/widget-base-min.js +2 -0
  1398. package/build/widget-base/widget-base.js +1289 -0
  1399. package/build/widget-base-ie/widget-base-ie-debug.js +49 -0
  1400. package/build/widget-base-ie/widget-base-ie-min.js +1 -0
  1401. package/build/widget-base-ie/widget-base-ie.js +49 -0
  1402. package/build/widget-buttons/widget-buttons-debug.js +1294 -0
  1403. package/build/widget-buttons/widget-buttons-min.js +2 -0
  1404. package/build/widget-buttons/widget-buttons.js +1294 -0
  1405. package/build/widget-child/widget-child-debug.js +377 -0
  1406. package/build/widget-child/widget-child-min.js +1 -0
  1407. package/build/widget-child/widget-child.js +377 -0
  1408. package/build/widget-htmlparser/widget-htmlparser-debug.js +215 -0
  1409. package/build/widget-htmlparser/widget-htmlparser-min.js +1 -0
  1410. package/build/widget-htmlparser/widget-htmlparser.js +215 -0
  1411. package/build/widget-modality/assets/skins/night/widget-modality-skin.css +7 -0
  1412. package/build/widget-modality/assets/skins/night/widget-modality.css +1 -0
  1413. package/build/widget-modality/assets/skins/sam/widget-modality-skin.css +7 -0
  1414. package/build/widget-modality/assets/skins/sam/widget-modality.css +1 -0
  1415. package/build/widget-modality/assets/widget-modality-core.css +1 -0
  1416. package/build/widget-modality/widget-modality-debug.js +566 -0
  1417. package/build/widget-modality/widget-modality-min.js +3 -0
  1418. package/build/widget-modality/widget-modality.js +565 -0
  1419. package/build/widget-parent/widget-parent-debug.js +866 -0
  1420. package/build/widget-parent/widget-parent-min.js +1 -0
  1421. package/build/widget-parent/widget-parent.js +865 -0
  1422. package/build/widget-position/widget-position-debug.js +276 -0
  1423. package/build/widget-position/widget-position-min.js +1 -0
  1424. package/build/widget-position/widget-position.js +276 -0
  1425. package/build/widget-position-align/widget-position-align-debug.js +656 -0
  1426. package/build/widget-position-align/widget-position-align-min.js +1 -0
  1427. package/build/widget-position-align/widget-position-align.js +652 -0
  1428. package/build/widget-position-constrain/widget-position-constrain-debug.js +348 -0
  1429. package/build/widget-position-constrain/widget-position-constrain-min.js +1 -0
  1430. package/build/widget-position-constrain/widget-position-constrain.js +348 -0
  1431. package/build/widget-skin/widget-skin-debug.js +59 -0
  1432. package/build/widget-skin/widget-skin-min.js +1 -0
  1433. package/build/widget-skin/widget-skin.js +59 -0
  1434. package/build/widget-stack/assets/skins/night/widget-stack-skin.css +0 -0
  1435. package/build/widget-stack/assets/skins/night/widget-stack.css +1 -0
  1436. package/build/widget-stack/assets/skins/sam/widget-stack-skin.css +0 -0
  1437. package/build/widget-stack/assets/skins/sam/widget-stack.css +1 -0
  1438. package/build/widget-stack/assets/widget-stack-core.css +19 -0
  1439. package/build/widget-stack/widget-stack-debug.js +440 -0
  1440. package/build/widget-stack/widget-stack-min.js +1 -0
  1441. package/build/widget-stack/widget-stack.js +440 -0
  1442. package/build/widget-stdmod/widget-stdmod-debug.js +780 -0
  1443. package/build/widget-stdmod/widget-stdmod-min.js +1 -0
  1444. package/build/widget-stdmod/widget-stdmod.js +780 -0
  1445. package/build/widget-uievents/widget-uievents-debug.js +227 -0
  1446. package/build/widget-uievents/widget-uievents-min.js +1 -0
  1447. package/build/widget-uievents/widget-uievents.js +226 -0
  1448. package/build/yql/yql-debug.js +168 -0
  1449. package/build/yql/yql-min.js +1 -0
  1450. package/build/yql/yql.js +167 -0
  1451. package/build/yql-jsonp/yql-jsonp-debug.js +29 -0
  1452. package/build/yql-jsonp/yql-jsonp-min.js +1 -0
  1453. package/build/yql-jsonp/yql-jsonp.js +29 -0
  1454. package/build/yql-nodejs/yql-nodejs-debug.js +33 -0
  1455. package/build/yql-nodejs/yql-nodejs-min.js +22 -0
  1456. package/build/yql-nodejs/yql-nodejs.js +33 -0
  1457. package/build/yql-winjs/yql-winjs-debug.js +34 -0
  1458. package/build/yql-winjs/yql-winjs-min.js +1 -0
  1459. package/build/yql-winjs/yql-winjs.js +34 -0
  1460. package/build/yui/yui-debug.js +12330 -0
  1461. package/build/yui/yui-min.js +16 -0
  1462. package/build/yui/yui.js +12022 -0
  1463. package/build/yui-base/yui-base-debug.js +6254 -0
  1464. package/build/yui-base/yui-base-min.js +7 -0
  1465. package/build/yui-base/yui-base.js +5989 -0
  1466. package/build/yui-core/yui-core-debug.js +4264 -0
  1467. package/build/yui-core/yui-core-min.js +5 -0
  1468. package/build/yui-core/yui-core.js +4017 -0
  1469. package/build/yui-later/yui-later-debug.js +78 -0
  1470. package/build/yui-later/yui-later-min.js +1 -0
  1471. package/build/yui-later/yui-later.js +78 -0
  1472. package/build/yui-log/yui-log-debug.js +125 -0
  1473. package/build/yui-log/yui-log-min.js +1 -0
  1474. package/build/yui-log/yui-log.js +125 -0
  1475. package/build/yui-log-nodejs/yui-log-nodejs-debug.js +81 -0
  1476. package/build/yui-log-nodejs/yui-log-nodejs-min.js +1 -0
  1477. package/build/yui-log-nodejs/yui-log-nodejs.js +81 -0
  1478. package/build/yui-nodejs/yui-nodejs-debug.js +11418 -0
  1479. package/build/yui-nodejs/yui-nodejs-min.js +15 -0
  1480. package/build/yui-nodejs/yui-nodejs.js +10969 -0
  1481. package/build/yui-throttle/yui-throttle-debug.js +54 -0
  1482. package/build/yui-throttle/yui-throttle-min.js +3 -0
  1483. package/build/yui-throttle/yui-throttle.js +54 -0
  1484. package/index.js +3 -0
  1485. package/package.json +36 -0
@@ -0,0 +1,1321 @@
1
+ YUI.add('gesture-simulate', function (Y, NAME) {
2
+
3
+ /**
4
+ * Simulate high-level user gestures by generating a set of native DOM events.
5
+ *
6
+ * @module gesture-simulate
7
+ * @requires event-simulate, async-queue, node-screen
8
+ */
9
+
10
+ var NAME = "gesture-simulate",
11
+
12
+ // phantomjs check may be temporary, until we determine if it really support touch all the way through, like it claims to (http://code.google.com/p/phantomjs/issues/detail?id=375)
13
+ SUPPORTS_TOUCH = ((Y.config.win && ("ontouchstart" in Y.config.win)) && !(Y.UA.phantomjs) && !(Y.UA.chrome && Y.UA.chrome < 6)),
14
+
15
+ gestureNames = {
16
+ tap: 1,
17
+ doubletap: 1,
18
+ press: 1,
19
+ move: 1,
20
+ flick: 1,
21
+ pinch: 1,
22
+ rotate: 1
23
+ },
24
+
25
+ touchEvents = {
26
+ touchstart: 1,
27
+ touchmove: 1,
28
+ touchend: 1,
29
+ touchcancel: 1
30
+ },
31
+
32
+ document = Y.config.doc,
33
+ emptyTouchList,
34
+
35
+ EVENT_INTERVAL = 20, // 20ms
36
+ START_PAGEX, // will be adjusted to the node element center
37
+ START_PAGEY, // will be adjusted to the node element center
38
+
39
+ // defaults that user can override.
40
+ DEFAULTS = {
41
+ // tap gestures
42
+ HOLD_TAP: 10, // 10ms
43
+ DELAY_TAP: 10, // 10ms
44
+
45
+ // press gesture
46
+ HOLD_PRESS: 3000, // 3sec
47
+ MIN_HOLD_PRESS: 1000, // 1sec
48
+ MAX_HOLD_PRESS: 60000, // 1min
49
+
50
+ // move gesture
51
+ DISTANCE_MOVE: 200, // 200 pixels
52
+ DURATION_MOVE: 1000, // 1sec
53
+ MAX_DURATION_MOVE: 5000,// 5sec
54
+
55
+ // flick gesture
56
+ MIN_VELOCITY_FLICK: 1.3,
57
+ DISTANCE_FLICK: 200, // 200 pixels
58
+ DURATION_FLICK: 1000, // 1sec
59
+ MAX_DURATION_FLICK: 5000,// 5sec
60
+
61
+ // pinch/rotation
62
+ DURATION_PINCH: 1000 // 1sec
63
+ },
64
+
65
+ TOUCH_START = 'touchstart',
66
+ TOUCH_MOVE = 'touchmove',
67
+ TOUCH_END = 'touchend',
68
+
69
+ GESTURE_START = 'gesturestart',
70
+ GESTURE_CHANGE = 'gesturechange',
71
+ GESTURE_END = 'gestureend',
72
+
73
+ MOUSE_UP = 'mouseup',
74
+ MOUSE_MOVE = 'mousemove',
75
+ MOUSE_DOWN = 'mousedown',
76
+ MOUSE_CLICK = 'click',
77
+ MOUSE_DBLCLICK = 'dblclick',
78
+
79
+ X_AXIS = 'x',
80
+ Y_AXIS = 'y';
81
+
82
+
83
+ function Simulations(node) {
84
+ if(!node) {
85
+ Y.error(NAME+': invalid target node');
86
+ }
87
+ this.node = node;
88
+ this.target = Y.Node.getDOMNode(node);
89
+
90
+ var startXY = this.node.getXY(),
91
+ dims = this._getDims();
92
+
93
+ START_PAGEX = startXY[0] + (dims[0])/2;
94
+ START_PAGEY = startXY[1] + (dims[1])/2;
95
+ }
96
+
97
+ Simulations.prototype = {
98
+
99
+ /**
100
+ * Helper method to convert a degree to a radian.
101
+ *
102
+ * @method _toRadian
103
+ * @private
104
+ * @param {Number} deg A degree to be converted to a radian.
105
+ * @return {Number} The degree in radian.
106
+ */
107
+ _toRadian: function(deg) {
108
+ return deg * (Math.PI/180);
109
+ },
110
+
111
+ /**
112
+ * Helper method to get height/width while accounting for
113
+ * rotation/scale transforms where possible by using the
114
+ * bounding client rectangle height/width instead of the
115
+ * offsetWidth/Height which region uses.
116
+ * @method _getDims
117
+ * @private
118
+ * @return {Array} Array with [height, width]
119
+ */
120
+ _getDims : function() {
121
+ var region,
122
+ width,
123
+ height;
124
+
125
+ // Ideally, this should be in DOM somewhere.
126
+ if (this.target.getBoundingClientRect) {
127
+ region = this.target.getBoundingClientRect();
128
+
129
+ if ("height" in region) {
130
+ height = region.height;
131
+ } else {
132
+ // IE7,8 has getBCR, but no height.
133
+ height = Math.abs(region.bottom - region.top);
134
+ }
135
+
136
+ if ("width" in region) {
137
+ width = region.width;
138
+ } else {
139
+ // IE7,8 has getBCR, but no width.
140
+ width = Math.abs(region.right - region.left);
141
+ }
142
+ } else {
143
+ region = this.node.get("region");
144
+ width = region.width;
145
+ height = region.height;
146
+ }
147
+
148
+ return [width, height];
149
+ },
150
+
151
+ /**
152
+ * Helper method to convert a point relative to the node element into
153
+ * the point in the page coordination.
154
+ *
155
+ * @method _calculateDefaultPoint
156
+ * @private
157
+ * @param {Array} point A point relative to the node element.
158
+ * @return {Array} The same point in the page coordination.
159
+ */
160
+ _calculateDefaultPoint: function(point) {
161
+
162
+ var height;
163
+
164
+ if(!Y.Lang.isArray(point) || point.length === 0) {
165
+ point = [START_PAGEX, START_PAGEY];
166
+ } else {
167
+ if(point.length == 1) {
168
+ height = this._getDims[1];
169
+ point[1] = height/2;
170
+ }
171
+ // convert to page(viewport) coordination
172
+ point[0] = this.node.getX() + point[0];
173
+ point[1] = this.node.getY() + point[1];
174
+ }
175
+
176
+ return point;
177
+ },
178
+
179
+ /**
180
+ * The "rotate" and "pinch" methods are essencially same with the exact same
181
+ * arguments. Only difference is the required parameters. The rotate method
182
+ * requires "rotation" parameter while the pinch method requires "startRadius"
183
+ * and "endRadius" parameters.
184
+ *
185
+ * @method rotate
186
+ * @param {Function} cb The callback to execute when the gesture simulation
187
+ * is completed.
188
+ * @param {Array} center A center point where the pinch gesture of two fingers
189
+ * should happen. It is relative to the top left corner of the target
190
+ * node element.
191
+ * @param {Number} startRadius A radius of start circle where 2 fingers are
192
+ * on when the gesture starts. This is optional. The default is a fourth of
193
+ * either target node width or height whichever is smaller.
194
+ * @param {Number} endRadius A radius of end circle where 2 fingers will be on when
195
+ * the pinch or spread gestures are completed. This is optional.
196
+ * The default is a fourth of either target node width or height whichever is less.
197
+ * @param {Number} duration A duration of the gesture in millisecond.
198
+ * @param {Number} start A start angle(0 degree at 12 o'clock) where the
199
+ * gesture should start. Default is 0.
200
+ * @param {Number} rotation A rotation in degree. It is required.
201
+ */
202
+ rotate: function(cb, center, startRadius, endRadius, duration, start, rotation) {
203
+ var radius,
204
+ r1 = startRadius, // optional
205
+ r2 = endRadius; // optional
206
+
207
+ if(!Y.Lang.isNumber(r1) || !Y.Lang.isNumber(r2) || r1<0 || r2<0) {
208
+ radius = (this.target.offsetWidth < this.target.offsetHeight)?
209
+ this.target.offsetWidth/4 : this.target.offsetHeight/4;
210
+ r1 = radius;
211
+ r2 = radius;
212
+ }
213
+
214
+ // required
215
+ if(!Y.Lang.isNumber(rotation)) {
216
+ Y.error(NAME+'Invalid rotation detected.');
217
+ }
218
+
219
+ this.pinch(cb, center, r1, r2, duration, start, rotation);
220
+ },
221
+
222
+ /**
223
+ * The "rotate" and "pinch" methods are essencially same with the exact same
224
+ * arguments. Only difference is the required parameters. The rotate method
225
+ * requires "rotation" parameter while the pinch method requires "startRadius"
226
+ * and "endRadius" parameters.
227
+ *
228
+ * The "pinch" gesture can simulate various 2 finger gestures such as pinch,
229
+ * spread and/or rotation. The "startRadius" and "endRadius" are required.
230
+ * If endRadius is larger than startRadius, it becomes a spread gesture
231
+ * otherwise a pinch gesture.
232
+ *
233
+ * @method pinch
234
+ * @param {Function} cb The callback to execute when the gesture simulation
235
+ * is completed.
236
+ * @param {Array} center A center point where the pinch gesture of two fingers
237
+ * should happen. It is relative to the top left corner of the target
238
+ * node element.
239
+ * @param {Number} startRadius A radius of start circle where 2 fingers are
240
+ * on when the gesture starts. This paramenter is required.
241
+ * @param {Number} endRadius A radius of end circle where 2 fingers will be on when
242
+ * the pinch or spread gestures are completed. This parameter is required.
243
+ * @param {Number} duration A duration of the gesture in millisecond.
244
+ * @param {Number} start A start angle(0 degree at 12 o'clock) where the
245
+ * gesture should start. Default is 0.
246
+ * @param {Number} rotation If rotation is desired during the pinch or
247
+ * spread gestures, this parameter can be used. Default is 0 degree.
248
+ */
249
+ pinch: function(cb, center, startRadius, endRadius, duration, start, rotation) {
250
+ var eventQueue,
251
+ i,
252
+ interval = EVENT_INTERVAL,
253
+ touches,
254
+ id = 0,
255
+ r1 = startRadius, // required
256
+ r2 = endRadius, // required
257
+ radiusPerStep,
258
+ centerX, centerY,
259
+ startScale, endScale, scalePerStep,
260
+ startRot, endRot, rotPerStep,
261
+ path1 = {start: [], end: []}, // paths for 1st and 2nd fingers.
262
+ path2 = {start: [], end: []},
263
+ steps,
264
+ touchMove;
265
+
266
+ center = this._calculateDefaultPoint(center);
267
+
268
+ if(!Y.Lang.isNumber(r1) || !Y.Lang.isNumber(r2) || r1<0 || r2<0) {
269
+ Y.error(NAME+'Invalid startRadius and endRadius detected.');
270
+ }
271
+
272
+ if(!Y.Lang.isNumber(duration) || duration <= 0) {
273
+ duration = DEFAULTS.DURATION_PINCH;
274
+ }
275
+
276
+ if(!Y.Lang.isNumber(start)) {
277
+ start = 0.0;
278
+ } else {
279
+ start = start%360;
280
+ while(start < 0) {
281
+ start += 360;
282
+ }
283
+ }
284
+
285
+ if(!Y.Lang.isNumber(rotation)) {
286
+ rotation = 0.0;
287
+ }
288
+
289
+ Y.AsyncQueue.defaults.timeout = interval;
290
+ eventQueue = new Y.AsyncQueue();
291
+
292
+ // range determination
293
+ centerX = center[0];
294
+ centerY = center[1];
295
+
296
+ startRot = start;
297
+ endRot = start + rotation;
298
+
299
+ // 1st finger path
300
+ path1.start = [
301
+ centerX + r1*Math.sin(this._toRadian(startRot)),
302
+ centerY - r1*Math.cos(this._toRadian(startRot))
303
+ ];
304
+ path1.end = [
305
+ centerX + r2*Math.sin(this._toRadian(endRot)),
306
+ centerY - r2*Math.cos(this._toRadian(endRot))
307
+ ];
308
+
309
+ // 2nd finger path
310
+ path2.start = [
311
+ centerX - r1*Math.sin(this._toRadian(startRot)),
312
+ centerY + r1*Math.cos(this._toRadian(startRot))
313
+ ];
314
+ path2.end = [
315
+ centerX - r2*Math.sin(this._toRadian(endRot)),
316
+ centerY + r2*Math.cos(this._toRadian(endRot))
317
+ ];
318
+
319
+ startScale = 1.0;
320
+ endScale = endRadius/startRadius;
321
+
322
+ // touch/gesture start
323
+ eventQueue.add({
324
+ fn: function() {
325
+ var coord1, coord2, coord, touches;
326
+
327
+ // coordinate for each touch object.
328
+ coord1 = {
329
+ pageX: path1.start[0],
330
+ pageY: path1.start[1],
331
+ clientX: path1.start[0],
332
+ clientY: path1.start[1]
333
+ };
334
+ coord2 = {
335
+ pageX: path2.start[0],
336
+ pageY: path2.start[1],
337
+ clientX: path2.start[0],
338
+ clientY: path2.start[1]
339
+ };
340
+ touches = this._createTouchList([Y.merge({
341
+ identifier: (id++)
342
+ }, coord1), Y.merge({
343
+ identifier: (id++)
344
+ }, coord2)]);
345
+
346
+ // coordinate for top level event
347
+ coord = {
348
+ pageX: (path1.start[0] + path2.start[0])/2,
349
+ pageY: (path1.start[0] + path2.start[1])/2,
350
+ clientX: (path1.start[0] + path2.start[0])/2,
351
+ clientY: (path1.start[0] + path2.start[1])/2
352
+ };
353
+
354
+ this._simulateEvent(this.target, TOUCH_START, Y.merge({
355
+ touches: touches,
356
+ targetTouches: touches,
357
+ changedTouches: touches,
358
+ scale: startScale,
359
+ rotation: startRot
360
+ }, coord));
361
+
362
+ if(Y.UA.ios >= 2.0) {
363
+ /* gesture starts when the 2nd finger touch starts.
364
+ * The implementation will fire 1 touch start event for both fingers,
365
+ * simulating 2 fingers touched on the screen at the same time.
366
+ */
367
+ this._simulateEvent(this.target, GESTURE_START, Y.merge({
368
+ scale: startScale,
369
+ rotation: startRot
370
+ }, coord));
371
+ }
372
+ },
373
+ timeout: 0,
374
+ context: this
375
+ });
376
+
377
+ // gesture change
378
+ steps = Math.floor(duration/interval);
379
+ radiusPerStep = (r2 - r1)/steps;
380
+ scalePerStep = (endScale - startScale)/steps;
381
+ rotPerStep = (endRot - startRot)/steps;
382
+
383
+ touchMove = function(step) {
384
+ var radius = r1 + (radiusPerStep)*step,
385
+ px1 = centerX + radius*Math.sin(this._toRadian(startRot + rotPerStep*step)),
386
+ py1 = centerY - radius*Math.cos(this._toRadian(startRot + rotPerStep*step)),
387
+ px2 = centerX - radius*Math.sin(this._toRadian(startRot + rotPerStep*step)),
388
+ py2 = centerY + radius*Math.cos(this._toRadian(startRot + rotPerStep*step)),
389
+ px = (px1+px2)/2,
390
+ py = (py1+py2)/2,
391
+ coord1, coord2, coord, touches;
392
+
393
+ // coordinate for each touch object.
394
+ coord1 = {
395
+ pageX: px1,
396
+ pageY: py1,
397
+ clientX: px1,
398
+ clientY: py1
399
+ };
400
+ coord2 = {
401
+ pageX: px2,
402
+ pageY: py2,
403
+ clientX: px2,
404
+ clientY: py2
405
+ };
406
+ touches = this._createTouchList([Y.merge({
407
+ identifier: (id++)
408
+ }, coord1), Y.merge({
409
+ identifier: (id++)
410
+ }, coord2)]);
411
+
412
+ // coordinate for top level event
413
+ coord = {
414
+ pageX: px,
415
+ pageY: py,
416
+ clientX: px,
417
+ clientY: py
418
+ };
419
+
420
+ this._simulateEvent(this.target, TOUCH_MOVE, Y.merge({
421
+ touches: touches,
422
+ targetTouches: touches,
423
+ changedTouches: touches,
424
+ scale: startScale + scalePerStep*step,
425
+ rotation: startRot + rotPerStep*step
426
+ }, coord));
427
+
428
+ if(Y.UA.ios >= 2.0) {
429
+ this._simulateEvent(this.target, GESTURE_CHANGE, Y.merge({
430
+ scale: startScale + scalePerStep*step,
431
+ rotation: startRot + rotPerStep*step
432
+ }, coord));
433
+ }
434
+ };
435
+
436
+ for (i=0; i < steps; i++) {
437
+ eventQueue.add({
438
+ fn: touchMove,
439
+ args: [i],
440
+ context: this
441
+ });
442
+ }
443
+
444
+ // gesture end
445
+ eventQueue.add({
446
+ fn: function() {
447
+ var emptyTouchList = this._getEmptyTouchList(),
448
+ coord1, coord2, coord, touches;
449
+
450
+ // coordinate for each touch object.
451
+ coord1 = {
452
+ pageX: path1.end[0],
453
+ pageY: path1.end[1],
454
+ clientX: path1.end[0],
455
+ clientY: path1.end[1]
456
+ };
457
+ coord2 = {
458
+ pageX: path2.end[0],
459
+ pageY: path2.end[1],
460
+ clientX: path2.end[0],
461
+ clientY: path2.end[1]
462
+ };
463
+ touches = this._createTouchList([Y.merge({
464
+ identifier: (id++)
465
+ }, coord1), Y.merge({
466
+ identifier: (id++)
467
+ }, coord2)]);
468
+
469
+ // coordinate for top level event
470
+ coord = {
471
+ pageX: (path1.end[0] + path2.end[0])/2,
472
+ pageY: (path1.end[0] + path2.end[1])/2,
473
+ clientX: (path1.end[0] + path2.end[0])/2,
474
+ clientY: (path1.end[0] + path2.end[1])/2
475
+ };
476
+
477
+ if(Y.UA.ios >= 2.0) {
478
+ this._simulateEvent(this.target, GESTURE_END, Y.merge({
479
+ scale: endScale,
480
+ rotation: endRot
481
+ }, coord));
482
+ }
483
+
484
+ this._simulateEvent(this.target, TOUCH_END, Y.merge({
485
+ touches: emptyTouchList,
486
+ targetTouches: emptyTouchList,
487
+ changedTouches: touches,
488
+ scale: endScale,
489
+ rotation: endRot
490
+ }, coord));
491
+ },
492
+ context: this
493
+ });
494
+
495
+ if(cb && Y.Lang.isFunction(cb)) {
496
+ eventQueue.add({
497
+ fn: cb,
498
+
499
+ // by default, the callback runs the node context where
500
+ // simulateGesture method is called.
501
+ context: this.node
502
+
503
+ //TODO: Use args to pass error object as 1st param if there is an error.
504
+ //args:
505
+ });
506
+ }
507
+
508
+ eventQueue.run();
509
+ },
510
+
511
+ /**
512
+ * The "tap" gesture can be used for various single touch point gestures
513
+ * such as single tap, N number of taps, long press. The default is a single
514
+ * tap.
515
+ *
516
+ * @method tap
517
+ * @param {Function} cb The callback to execute when the gesture simulation
518
+ * is completed.
519
+ * @param {Array} point A point(relative to the top left corner of the
520
+ * target node element) where the tap gesture should start. The default
521
+ * is the center of the taget node.
522
+ * @param {Number} times The number of taps. Default is 1.
523
+ * @param {Number} hold The hold time in milliseconds between "touchstart" and
524
+ * "touchend" event generation. Default is 10ms.
525
+ * @param {Number} delay The time gap in millisecond between taps if this
526
+ * gesture has more than 1 tap. Default is 10ms.
527
+ */
528
+ tap: function(cb, point, times, hold, delay) {
529
+ var eventQueue = new Y.AsyncQueue(),
530
+ emptyTouchList = this._getEmptyTouchList(),
531
+ touches,
532
+ coord,
533
+ i,
534
+ touchStart,
535
+ touchEnd;
536
+
537
+ point = this._calculateDefaultPoint(point);
538
+
539
+ if(!Y.Lang.isNumber(times) || times < 1) {
540
+ times = 1;
541
+ }
542
+
543
+ if(!Y.Lang.isNumber(hold)) {
544
+ hold = DEFAULTS.HOLD_TAP;
545
+ }
546
+
547
+ if(!Y.Lang.isNumber(delay)) {
548
+ delay = DEFAULTS.DELAY_TAP;
549
+ }
550
+
551
+ coord = {
552
+ pageX: point[0],
553
+ pageY: point[1],
554
+ clientX: point[0],
555
+ clientY: point[1]
556
+ };
557
+
558
+ touches = this._createTouchList([Y.merge({identifier: 0}, coord)]);
559
+
560
+ touchStart = function() {
561
+ this._simulateEvent(this.target, TOUCH_START, Y.merge({
562
+ touches: touches,
563
+ targetTouches: touches,
564
+ changedTouches: touches
565
+ }, coord));
566
+ };
567
+
568
+ touchEnd = function() {
569
+ this._simulateEvent(this.target, TOUCH_END, Y.merge({
570
+ touches: emptyTouchList,
571
+ targetTouches: emptyTouchList,
572
+ changedTouches: touches
573
+ }, coord));
574
+ };
575
+
576
+ for (i=0; i < times; i++) {
577
+ eventQueue.add({
578
+ fn: touchStart,
579
+ context: this,
580
+ timeout: (i === 0)? 0 : delay
581
+ });
582
+
583
+ eventQueue.add({
584
+ fn: touchEnd,
585
+ context: this,
586
+ timeout: hold
587
+ });
588
+ }
589
+
590
+ if(times > 1 && !SUPPORTS_TOUCH) {
591
+ eventQueue.add({
592
+ fn: function() {
593
+ this._simulateEvent(this.target, MOUSE_DBLCLICK, coord);
594
+ },
595
+ context: this
596
+ });
597
+ }
598
+
599
+ if(cb && Y.Lang.isFunction(cb)) {
600
+ eventQueue.add({
601
+ fn: cb,
602
+
603
+ // by default, the callback runs the node context where
604
+ // simulateGesture method is called.
605
+ context: this.node
606
+
607
+ //TODO: Use args to pass error object as 1st param if there is an error.
608
+ //args:
609
+ });
610
+ }
611
+
612
+ eventQueue.run();
613
+ },
614
+
615
+ /**
616
+ * The "flick" gesture is a specialized "move" that has some velocity
617
+ * and the movement always runs either x or y axis. The velocity is calculated
618
+ * with "distance" and "duration" arguments. If the calculated velocity is
619
+ * below than the minimum velocity, the given duration will be ignored and
620
+ * new duration will be created to make a valid flick gesture.
621
+ *
622
+ * @method flick
623
+ * @param {Function} cb The callback to execute when the gesture simulation
624
+ * is completed.
625
+ * @param {Array} point A point(relative to the top left corner of the
626
+ * target node element) where the flick gesture should start. The default
627
+ * is the center of the taget node.
628
+ * @param {String} axis Either "x" or "y".
629
+ * @param {Number} distance A distance in pixels to flick.
630
+ * @param {Number} duration A duration of the gesture in millisecond.
631
+ *
632
+ */
633
+ flick: function(cb, point, axis, distance, duration) {
634
+ var path;
635
+
636
+ point = this._calculateDefaultPoint(point);
637
+
638
+ if(!Y.Lang.isString(axis)) {
639
+ axis = X_AXIS;
640
+ } else {
641
+ axis = axis.toLowerCase();
642
+ if(axis !== X_AXIS && axis !== Y_AXIS) {
643
+ Y.error(NAME+'(flick): Only x or y axis allowed');
644
+ }
645
+ }
646
+
647
+ if(!Y.Lang.isNumber(distance)) {
648
+ distance = DEFAULTS.DISTANCE_FLICK;
649
+ }
650
+
651
+ if(!Y.Lang.isNumber(duration)){
652
+ duration = DEFAULTS.DURATION_FLICK; // ms
653
+ } else {
654
+ if(duration > DEFAULTS.MAX_DURATION_FLICK) {
655
+ duration = DEFAULTS.MAX_DURATION_FLICK;
656
+ }
657
+ }
658
+
659
+ /*
660
+ * Check if too slow for a flick.
661
+ * Adjust duration if the calculated velocity is less than
662
+ * the minimum velcocity to be claimed as a flick.
663
+ */
664
+ if(Math.abs(distance)/duration < DEFAULTS.MIN_VELOCITY_FLICK) {
665
+ duration = Math.abs(distance)/DEFAULTS.MIN_VELOCITY_FLICK;
666
+ }
667
+
668
+ path = {
669
+ start: Y.clone(point),
670
+ end: [
671
+ (axis === X_AXIS) ? point[0]+distance : point[0],
672
+ (axis === Y_AXIS) ? point[1]+distance : point[1]
673
+ ]
674
+ };
675
+
676
+ this._move(cb, path, duration);
677
+ },
678
+
679
+ /**
680
+ * The "move" gesture simulate the movement of any direction between
681
+ * the straight line of start and end point for the given duration.
682
+ * The path argument is an object with "point", "xdist" and "ydist" properties.
683
+ * The "point" property is an array with x and y coordinations(relative to the
684
+ * top left corner of the target node element) while "xdist" and "ydist"
685
+ * properties are used for the distance along the x and y axis. A negative
686
+ * distance number can be used to drag either left or up direction.
687
+ *
688
+ * If no arguments are given, it will simulate the default move, which
689
+ * is moving 200 pixels from the center of the element to the positive X-axis
690
+ * direction for 1 sec.
691
+ *
692
+ * @method move
693
+ * @param {Function} cb The callback to execute when the gesture simulation
694
+ * is completed.
695
+ * @param {Object} path An object with "point", "xdist" and "ydist".
696
+ * @param {Number} duration A duration of the gesture in millisecond.
697
+ */
698
+ move: function(cb, path, duration) {
699
+ var convertedPath;
700
+
701
+ if(!Y.Lang.isObject(path)) {
702
+ path = {
703
+ point: this._calculateDefaultPoint([]),
704
+ xdist: DEFAULTS.DISTANCE_MOVE,
705
+ ydist: 0
706
+ };
707
+ } else {
708
+ // convert to the page coordination
709
+ if(!Y.Lang.isArray(path.point)) {
710
+ path.point = this._calculateDefaultPoint([]);
711
+ } else {
712
+ path.point = this._calculateDefaultPoint(path.point);
713
+ }
714
+
715
+ if(!Y.Lang.isNumber(path.xdist)) {
716
+ path.xdist = DEFAULTS.DISTANCE_MOVE;
717
+ }
718
+
719
+ if(!Y.Lang.isNumber(path.ydist)) {
720
+ path.ydist = 0;
721
+ }
722
+ }
723
+
724
+ if(!Y.Lang.isNumber(duration)){
725
+ duration = DEFAULTS.DURATION_MOVE; // ms
726
+ } else {
727
+ if(duration > DEFAULTS.MAX_DURATION_MOVE) {
728
+ duration = DEFAULTS.MAX_DURATION_MOVE;
729
+ }
730
+ }
731
+
732
+ convertedPath = {
733
+ start: Y.clone(path.point),
734
+ end: [path.point[0]+path.xdist, path.point[1]+path.ydist]
735
+ };
736
+
737
+ this._move(cb, convertedPath, duration);
738
+ },
739
+
740
+ /**
741
+ * A base method on top of "move" and "flick" methods. The method takes
742
+ * the path with start/end properties and duration to generate a set of
743
+ * touch events for the movement gesture.
744
+ *
745
+ * @method _move
746
+ * @private
747
+ * @param {Function} cb The callback to execute when the gesture simulation
748
+ * is completed.
749
+ * @param {Object} path An object with "start" and "end" properties. Each
750
+ * property should be an array with x and y coordination (e.g. start: [100, 50])
751
+ * @param {Number} duration A duration of the gesture in millisecond.
752
+ */
753
+ _move: function(cb, path, duration) {
754
+ var eventQueue,
755
+ i,
756
+ interval = EVENT_INTERVAL,
757
+ steps, stepX, stepY,
758
+ id = 0,
759
+ touchMove;
760
+
761
+ if(!Y.Lang.isNumber(duration)){
762
+ duration = DEFAULTS.DURATION_MOVE; // ms
763
+ } else {
764
+ if(duration > DEFAULTS.MAX_DURATION_MOVE) {
765
+ duration = DEFAULTS.MAX_DURATION_MOVE;
766
+ }
767
+ }
768
+
769
+ if(!Y.Lang.isObject(path)) {
770
+ path = {
771
+ start: [
772
+ START_PAGEX,
773
+ START_PAGEY
774
+ ],
775
+ end: [
776
+ START_PAGEX + DEFAULTS.DISTANCE_MOVE,
777
+ START_PAGEY
778
+ ]
779
+ };
780
+ } else {
781
+ if(!Y.Lang.isArray(path.start)) {
782
+ path.start = [
783
+ START_PAGEX,
784
+ START_PAGEY
785
+ ];
786
+ }
787
+ if(!Y.Lang.isArray(path.end)) {
788
+ path.end = [
789
+ START_PAGEX + DEFAULTS.DISTANCE_MOVE,
790
+ START_PAGEY
791
+ ];
792
+ }
793
+ }
794
+
795
+ Y.AsyncQueue.defaults.timeout = interval;
796
+ eventQueue = new Y.AsyncQueue();
797
+
798
+ // start
799
+ eventQueue.add({
800
+ fn: function() {
801
+ var coord = {
802
+ pageX: path.start[0],
803
+ pageY: path.start[1],
804
+ clientX: path.start[0],
805
+ clientY: path.start[1]
806
+ },
807
+ touches = this._createTouchList([
808
+ Y.merge({identifier: (id++)}, coord)
809
+ ]);
810
+
811
+ this._simulateEvent(this.target, TOUCH_START, Y.merge({
812
+ touches: touches,
813
+ targetTouches: touches,
814
+ changedTouches: touches
815
+ }, coord));
816
+ },
817
+ timeout: 0,
818
+ context: this
819
+ });
820
+
821
+ // move
822
+ steps = Math.floor(duration/interval);
823
+ stepX = (path.end[0] - path.start[0])/steps;
824
+ stepY = (path.end[1] - path.start[1])/steps;
825
+
826
+ touchMove = function(step) {
827
+ var px = path.start[0]+(stepX * step),
828
+ py = path.start[1]+(stepY * step),
829
+ coord = {
830
+ pageX: px,
831
+ pageY: py,
832
+ clientX: px,
833
+ clientY: py
834
+ },
835
+ touches = this._createTouchList([
836
+ Y.merge({identifier: (id++)}, coord)
837
+ ]);
838
+
839
+ this._simulateEvent(this.target, TOUCH_MOVE, Y.merge({
840
+ touches: touches,
841
+ targetTouches: touches,
842
+ changedTouches: touches
843
+ }, coord));
844
+ };
845
+
846
+ for (i=0; i < steps; i++) {
847
+ eventQueue.add({
848
+ fn: touchMove,
849
+ args: [i],
850
+ context: this
851
+ });
852
+ }
853
+
854
+ // last move
855
+ eventQueue.add({
856
+ fn: function() {
857
+ var coord = {
858
+ pageX: path.end[0],
859
+ pageY: path.end[1],
860
+ clientX: path.end[0],
861
+ clientY: path.end[1]
862
+ },
863
+ touches = this._createTouchList([
864
+ Y.merge({identifier: id}, coord)
865
+ ]);
866
+
867
+ this._simulateEvent(this.target, TOUCH_MOVE, Y.merge({
868
+ touches: touches,
869
+ targetTouches: touches,
870
+ changedTouches: touches
871
+ }, coord));
872
+ },
873
+ timeout: 0,
874
+ context: this
875
+ });
876
+
877
+ // end
878
+ eventQueue.add({
879
+ fn: function() {
880
+ var coord = {
881
+ pageX: path.end[0],
882
+ pageY: path.end[1],
883
+ clientX: path.end[0],
884
+ clientY: path.end[1]
885
+ },
886
+ emptyTouchList = this._getEmptyTouchList(),
887
+ touches = this._createTouchList([
888
+ Y.merge({identifier: id}, coord)
889
+ ]);
890
+
891
+ this._simulateEvent(this.target, TOUCH_END, Y.merge({
892
+ touches: emptyTouchList,
893
+ targetTouches: emptyTouchList,
894
+ changedTouches: touches
895
+ }, coord));
896
+ },
897
+ context: this
898
+ });
899
+
900
+ if(cb && Y.Lang.isFunction(cb)) {
901
+ eventQueue.add({
902
+ fn: cb,
903
+
904
+ // by default, the callback runs the node context where
905
+ // simulateGesture method is called.
906
+ context: this.node
907
+
908
+ //TODO: Use args to pass error object as 1st param if there is an error.
909
+ //args:
910
+ });
911
+ }
912
+
913
+ eventQueue.run();
914
+ },
915
+
916
+ /**
917
+ * Helper method to return a singleton instance of empty touch list.
918
+ *
919
+ * @method _getEmptyTouchList
920
+ * @private
921
+ * @return {TouchList | Array} An empty touch list object.
922
+ */
923
+ _getEmptyTouchList: function() {
924
+ if(!emptyTouchList) {
925
+ emptyTouchList = this._createTouchList([]);
926
+ }
927
+
928
+ return emptyTouchList;
929
+ },
930
+
931
+ /**
932
+ * Helper method to convert an array with touch points to TouchList object as
933
+ * defined in http://www.w3.org/TR/touch-events/
934
+ *
935
+ * @method _createTouchList
936
+ * @private
937
+ * @param {Array} touchPoints
938
+ * @return {TouchList | Array} If underlaying platform support creating touch list
939
+ * a TouchList object will be returned otherwise a fake Array object
940
+ * will be returned.
941
+ */
942
+ _createTouchList: function(touchPoints) {
943
+ /*
944
+ * Android 4.0.3 emulator:
945
+ * Native touch api supported starting in version 4.0 (Ice Cream Sandwich).
946
+ * However the support seems limited. In Android 4.0.3 emulator, I got
947
+ * "TouchList is not defined".
948
+ */
949
+ var touches = [],
950
+ touchList,
951
+ self = this;
952
+
953
+ if(!!touchPoints && Y.Lang.isArray(touchPoints)) {
954
+ if(Y.UA.android && Y.UA.android >= 4.0 || Y.UA.ios && Y.UA.ios >= 2.0) {
955
+ Y.each(touchPoints, function(point) {
956
+ if(!point.identifier) {point.identifier = 0;}
957
+ if(!point.pageX) {point.pageX = 0;}
958
+ if(!point.pageY) {point.pageY = 0;}
959
+ if(!point.screenX) {point.screenX = 0;}
960
+ if(!point.screenY) {point.screenY = 0;}
961
+
962
+ touches.push(document.createTouch(Y.config.win,
963
+ self.target,
964
+ point.identifier,
965
+ point.pageX, point.pageY,
966
+ point.screenX, point.screenY));
967
+ });
968
+
969
+ touchList = document.createTouchList.apply(document, touches);
970
+ } else if(Y.UA.ios && Y.UA.ios < 2.0) {
971
+ Y.error(NAME+': No touch event simulation framework present.');
972
+ } else {
973
+ // this will inclide android(Y.UA.android && Y.UA.android < 4.0)
974
+ // and desktops among all others.
975
+
976
+ /*
977
+ * Touch APIs are broken in androids older than 4.0. We will use
978
+ * simulated touch apis for these versions.
979
+ */
980
+ touchList = [];
981
+ Y.each(touchPoints, function(point) {
982
+ if(!point.identifier) {point.identifier = 0;}
983
+ if(!point.clientX) {point.clientX = 0;}
984
+ if(!point.clientY) {point.clientY = 0;}
985
+ if(!point.pageX) {point.pageX = 0;}
986
+ if(!point.pageY) {point.pageY = 0;}
987
+ if(!point.screenX) {point.screenX = 0;}
988
+ if(!point.screenY) {point.screenY = 0;}
989
+
990
+ touchList.push({
991
+ target: self.target,
992
+ identifier: point.identifier,
993
+ clientX: point.clientX,
994
+ clientY: point.clientY,
995
+ pageX: point.pageX,
996
+ pageY: point.pageY,
997
+ screenX: point.screenX,
998
+ screenY: point.screenY
999
+ });
1000
+ });
1001
+
1002
+ touchList.item = function(i) {
1003
+ return touchList[i];
1004
+ };
1005
+ }
1006
+ } else {
1007
+ Y.error(NAME+': Invalid touchPoints passed');
1008
+ }
1009
+
1010
+ return touchList;
1011
+ },
1012
+
1013
+ /**
1014
+ * @method _simulateEvent
1015
+ * @private
1016
+ * @param {HTMLElement} target The DOM element that's the target of the event.
1017
+ * @param {String} type The type of event or name of the supported gesture to simulate
1018
+ * (i.e., "click", "doubletap", "flick").
1019
+ * @param {Object} options (Optional) Extra options to copy onto the event object.
1020
+ * For gestures, options are used to refine the gesture behavior.
1021
+ */
1022
+ _simulateEvent: function(target, type, options) {
1023
+ var touches;
1024
+
1025
+ if (touchEvents[type]) {
1026
+ if(SUPPORTS_TOUCH) {
1027
+ Y.Event.simulate(target, type, options);
1028
+ } else {
1029
+ // simulate using mouse events if touch is not applicable on this platform.
1030
+ // but only single touch event can be simulated.
1031
+ if(this._isSingleTouch(options.touches, options.targetTouches, options.changedTouches)) {
1032
+ type = {
1033
+ touchstart: MOUSE_DOWN,
1034
+ touchmove: MOUSE_MOVE,
1035
+ touchend: MOUSE_UP
1036
+ }[type];
1037
+
1038
+ options.button = 0;
1039
+ options.relatedTarget = null; // since we are not using mouseover event.
1040
+
1041
+ // touchend has none in options.touches.
1042
+ touches = (type === MOUSE_UP)? options.changedTouches : options.touches;
1043
+
1044
+ options = Y.mix(options, {
1045
+ screenX: touches.item(0).screenX,
1046
+ screenY: touches.item(0).screenY,
1047
+ clientX: touches.item(0).clientX,
1048
+ clientY: touches.item(0).clientY
1049
+ }, true);
1050
+
1051
+ Y.Event.simulate(target, type, options);
1052
+
1053
+ if(type == MOUSE_UP) {
1054
+ Y.Event.simulate(target, MOUSE_CLICK, options);
1055
+ }
1056
+ } else {
1057
+ Y.error("_simulateEvent(): Event '" + type + "' has multi touch objects that can't be simulated in your platform.");
1058
+ }
1059
+ }
1060
+ } else {
1061
+ // pass thru for all non touch events
1062
+ Y.Event.simulate(target, type, options);
1063
+ }
1064
+ },
1065
+
1066
+ /**
1067
+ * Helper method to check the single touch.
1068
+ * @method _isSingleTouch
1069
+ * @private
1070
+ * @param {TouchList} touches
1071
+ * @param {TouchList} targetTouches
1072
+ * @param {TouchList} changedTouches
1073
+ */
1074
+ _isSingleTouch: function(touches, targetTouches, changedTouches) {
1075
+ return (touches && (touches.length <= 1)) &&
1076
+ (targetTouches && (targetTouches.length <= 1)) &&
1077
+ (changedTouches && (changedTouches.length <= 1));
1078
+ }
1079
+ };
1080
+
1081
+ /*
1082
+ * A gesture simulation class.
1083
+ */
1084
+ Y.GestureSimulation = Simulations;
1085
+
1086
+ /*
1087
+ * Various simulation default behavior properties. If user override
1088
+ * Y.GestureSimulation.defaults, overriden values will be used and this
1089
+ * should be done before the gesture simulation.
1090
+ */
1091
+ Y.GestureSimulation.defaults = DEFAULTS;
1092
+
1093
+ /*
1094
+ * The high level gesture names that YUI knows how to simulate.
1095
+ */
1096
+ Y.GestureSimulation.GESTURES = gestureNames;
1097
+
1098
+ /**
1099
+ * Simulates the higher user level gesture of the given name on a target.
1100
+ * This method generates a set of low level touch events(Apple specific gesture
1101
+ * events as well for the iOS platforms) asynchronously. Note that gesture
1102
+ * simulation is relying on `Y.Event.simulate()` method to generate
1103
+ * the touch events under the hood. The `Y.Event.simulate()` method
1104
+ * itself is a synchronous method.
1105
+ *
1106
+ * Users are suggested to use `Node.simulateGesture()` method which
1107
+ * basically calls this method internally. Supported gestures are `tap`,
1108
+ * `doubletap`, `press`, `move`, `flick`, `pinch` and `rotate`.
1109
+ *
1110
+ * The `pinch` gesture is used to simulate the pinching and spreading of two
1111
+ * fingers. During a pinch simulation, rotation is also possible. Essentially
1112
+ * `pinch` and `rotate` simulations share the same base implementation to allow
1113
+ * both pinching and rotation at the same time. The only difference is `pinch`
1114
+ * requires `start` and `end` option properties while `rotate` requires `rotation`
1115
+ * option property.
1116
+ *
1117
+ * The `pinch` and `rotate` gestures can be described as placing 2 fingers along a
1118
+ * circle. Pinching and spreading can be described by start and end circles while
1119
+ * rotation occurs on a single circle. If the radius of the start circle is greater
1120
+ * than the end circle, the gesture becomes a pinch, otherwise it is a spread spread.
1121
+ *
1122
+ * @example
1123
+ *
1124
+ * var node = Y.one("#target");
1125
+ *
1126
+ * // double tap example
1127
+ * node.simulateGesture("doubletap", function() {
1128
+ * // my callback function
1129
+ * });
1130
+ *
1131
+ * // flick example from the center of the node, move 50 pixels down for 50ms)
1132
+ * node.simulateGesture("flick", {
1133
+ * axis: y,
1134
+ * distance: -100
1135
+ * duration: 50
1136
+ * }, function() {
1137
+ * // my callback function
1138
+ * });
1139
+ *
1140
+ * // simulate rotating a node 75 degrees counter-clockwise
1141
+ * node.simulateGesture("rotate", {
1142
+ * rotation: -75
1143
+ * });
1144
+ *
1145
+ * // simulate a pinch and a rotation at the same time.
1146
+ * // fingers start on a circle of radius 100 px, placed at top/bottom
1147
+ * // fingers end on a circle of radius 50px, placed at right/left
1148
+ * node.simulateGesture("pinch", {
1149
+ * r1: 100,
1150
+ * r2: 50,
1151
+ * start: 0
1152
+ * rotation: 90
1153
+ * });
1154
+ *
1155
+ * @method simulateGesture
1156
+ * @param {HTMLElement|Node} node The YUI node or HTML element that's the target
1157
+ * of the event.
1158
+ * @param {String} name The name of the supported gesture to simulate. The
1159
+ * supported gesture name is one of "tap", "doubletap", "press", "move",
1160
+ * "flick", "pinch" and "rotate".
1161
+ * @param {Object} [options] Extra options used to define the gesture behavior:
1162
+ *
1163
+ * Valid options properties for the `tap` gesture:
1164
+ *
1165
+ * @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates
1166
+ * where the tap should be simulated. Default is the center of the node
1167
+ * element.
1168
+ * @param {Number} [options.hold=10] (Optional) The hold time in milliseconds.
1169
+ * This is the time between `touchstart` and `touchend` event generation.
1170
+ * @param {Number} [options.times=1] (Optional) Indicates the number of taps.
1171
+ * @param {Number} [options.delay=10] (Optional) The number of milliseconds
1172
+ * before the next tap simulation happens. This is valid only when `times`
1173
+ * is more than 1.
1174
+ *
1175
+ * Valid options properties for the `doubletap` gesture:
1176
+ *
1177
+ * @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates
1178
+ * where the doubletap should be simulated. Default is the center of the
1179
+ * node element.
1180
+ *
1181
+ * Valid options properties for the `press` gesture:
1182
+ *
1183
+ * @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates
1184
+ * where the press should be simulated. Default is the center of the node
1185
+ * element.
1186
+ * @param {Number} [options.hold=3000] (Optional) The hold time in milliseconds.
1187
+ * This is the time between `touchstart` and `touchend` event generation.
1188
+ * Default is 3000ms (3 seconds).
1189
+ *
1190
+ * Valid options properties for the `move` gesture:
1191
+ *
1192
+ * @param {Object} [options.path] (Optional) Indicates the path of the finger
1193
+ * movement. It's an object with three optional properties: `point`,
1194
+ * `xdist` and `ydist`.
1195
+ * @param {Array} [options.path.point] A starting point of the gesture.
1196
+ * Default is the center of the node element.
1197
+ * @param {Number} [options.path.xdist=200] A distance to move in pixels
1198
+ * along the X axis. A negative distance value indicates moving left.
1199
+ * @param {Number} [options.path.ydist=0] A distance to move in pixels
1200
+ * along the Y axis. A negative distance value indicates moving up.
1201
+ * @param {Number} [options.duration=1000] (Optional) The duration of the
1202
+ * gesture in milliseconds.
1203
+ *
1204
+ * Valid options properties for the `flick` gesture:
1205
+ *
1206
+ * @param {Array} [options.point] (Optional) Indicates the [x, y] coordinates
1207
+ * where the flick should be simulated. Default is the center of the
1208
+ * node element.
1209
+ * @param {String} [options.axis='x'] (Optional) Valid values are either
1210
+ * "x" or "y". Indicates axis to move along. The flick can move to one of
1211
+ * 4 directions(left, right, up and down).
1212
+ * @param {Number} [options.distance=200] (Optional) Distance to move in pixels
1213
+ * @param {Number} [options.duration=1000] (Optional) The duration of the
1214
+ * gesture in milliseconds. User given value could be automatically
1215
+ * adjusted by the framework if it is below the minimum velocity to be
1216
+ * a flick gesture.
1217
+ *
1218
+ * Valid options properties for the `pinch` gesture:
1219
+ *
1220
+ * @param {Array} [options.center] (Optional) The center of the circle where
1221
+ * two fingers are placed. Default is the center of the node element.
1222
+ * @param {Number} [options.r1] (Required) Pixel radius of the start circle
1223
+ * where 2 fingers will be on when the gesture starts. The circles are
1224
+ * centered at the center of the element.
1225
+ * @param {Number} [options.r2] (Required) Pixel radius of the end circle
1226
+ * when this gesture ends.
1227
+ * @param {Number} [options.duration=1000] (Optional) The duration of the
1228
+ * gesture in milliseconds.
1229
+ * @param {Number} [options.start=0] (Optional) Starting degree of the first
1230
+ * finger. The value is relative to the path of the north. Default is 0
1231
+ * (i.e., 12:00 on a clock).
1232
+ * @param {Number} [options.rotation=0] (Optional) Degrees to rotate from
1233
+ * the starting degree. A negative value means rotation to the
1234
+ * counter-clockwise direction.
1235
+ *
1236
+ * Valid options properties for the `rotate` gesture:
1237
+ *
1238
+ * @param {Array} [options.center] (Optional) The center of the circle where
1239
+ * two fingers are placed. Default is the center of the node element.
1240
+ * @param {Number} [options.r1] (Optional) Pixel radius of the start circle
1241
+ * where 2 fingers will be on when the gesture starts. The circles are
1242
+ * centered at the center of the element. Default is a fourth of the node
1243
+ * element width or height, whichever is smaller.
1244
+ * @param {Number} [options.r2] (Optional) Pixel radius of the end circle
1245
+ * when this gesture ends. Default is a fourth of the node element width or
1246
+ * height, whichever is smaller.
1247
+ * @param {Number} [options.duration=1000] (Optional) The duration of the
1248
+ * gesture in milliseconds.
1249
+ * @param {Number} [options.start=0] (Optional) Starting degree of the first
1250
+ * finger. The value is relative to the path of the north. Default is 0
1251
+ * (i.e., 12:00 on a clock).
1252
+ * @param {Number} [options.rotation] (Required) Degrees to rotate from
1253
+ * the starting degree. A negative value means rotation to the
1254
+ * counter-clockwise direction.
1255
+ *
1256
+ * @param {Function} [cb] The callback to execute when the asynchronouse gesture
1257
+ * simulation is completed.
1258
+ * @param {Error} cb.err An error object if the simulation is failed.
1259
+ * @for Event
1260
+ * @static
1261
+ */
1262
+ Y.Event.simulateGesture = function(node, name, options, cb) {
1263
+
1264
+ node = Y.one(node);
1265
+
1266
+ var sim = new Y.GestureSimulation(node);
1267
+ name = name.toLowerCase();
1268
+
1269
+ if(!cb && Y.Lang.isFunction(options)) {
1270
+ cb = options;
1271
+ options = {};
1272
+ }
1273
+
1274
+ options = options || {};
1275
+
1276
+ if (gestureNames[name]) {
1277
+ switch(name) {
1278
+ // single-touch: point gestures
1279
+ case 'tap':
1280
+ sim.tap(cb, options.point, options.times, options.hold, options.delay);
1281
+ break;
1282
+ case 'doubletap':
1283
+ sim.tap(cb, options.point, 2);
1284
+ break;
1285
+ case 'press':
1286
+ if(!Y.Lang.isNumber(options.hold)) {
1287
+ options.hold = DEFAULTS.HOLD_PRESS;
1288
+ } else if(options.hold < DEFAULTS.MIN_HOLD_PRESS) {
1289
+ options.hold = DEFAULTS.MIN_HOLD_PRESS;
1290
+ } else if(options.hold > DEFAULTS.MAX_HOLD_PRESS) {
1291
+ options.hold = DEFAULTS.MAX_HOLD_PRESS;
1292
+ }
1293
+ sim.tap(cb, options.point, 1, options.hold);
1294
+ break;
1295
+
1296
+ // single-touch: move gestures
1297
+ case 'move':
1298
+ sim.move(cb, options.path, options.duration);
1299
+ break;
1300
+ case 'flick':
1301
+ sim.flick(cb, options.point, options.axis, options.distance,
1302
+ options.duration);
1303
+ break;
1304
+
1305
+ // multi-touch: pinch/rotation gestures
1306
+ case 'pinch':
1307
+ sim.pinch(cb, options.center, options.r1, options.r2,
1308
+ options.duration, options.start, options.rotation);
1309
+ break;
1310
+ case 'rotate':
1311
+ sim.rotate(cb, options.center, options.r1, options.r2,
1312
+ options.duration, options.start, options.rotation);
1313
+ break;
1314
+ }
1315
+ } else {
1316
+ Y.error(NAME+': Not a supported gesture simulation: '+name);
1317
+ }
1318
+ };
1319
+
1320
+
1321
+ }, '@VERSION@', {"requires": ["async-queue", "event-simulate", "node-screen"]});