@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,2449 @@
1
+ YUI.add('event-custom-base', function (Y, NAME) {
2
+
3
+ /**
4
+ * Custom event engine, DOM event listener abstraction layer, synthetic DOM
5
+ * events.
6
+ * @module event-custom
7
+ */
8
+
9
+ Y.Env.evt = {
10
+ handles: {},
11
+ plugins: {}
12
+ };
13
+
14
+ /**
15
+ * Custom event engine, DOM event listener abstraction layer, synthetic DOM
16
+ * events.
17
+ * @module event-custom
18
+ * @submodule event-custom-base
19
+ */
20
+
21
+ /**
22
+ * Allows for the insertion of methods that are executed before or after
23
+ * a specified method
24
+ * @class Do
25
+ * @static
26
+ */
27
+
28
+ var DO_BEFORE = 0,
29
+ DO_AFTER = 1,
30
+
31
+ DO = {
32
+
33
+ /**
34
+ * Cache of objects touched by the utility
35
+ * @property objs
36
+ * @static
37
+ * @deprecated Since 3.6.0. The `_yuiaop` property on the AOP'd object
38
+ * replaces the role of this property, but is considered to be private, and
39
+ * is only mentioned to provide a migration path.
40
+ *
41
+ * If you have a use case which warrants migration to the _yuiaop property,
42
+ * please file a ticket to let us know what it's used for and we can see if
43
+ * we need to expose hooks for that functionality more formally.
44
+ */
45
+ objs: null,
46
+
47
+ /**
48
+ * <p>Execute the supplied method before the specified function. Wrapping
49
+ * function may optionally return an instance of the following classes to
50
+ * further alter runtime behavior:</p>
51
+ * <dl>
52
+ * <dt></code>Y.Do.Halt(message, returnValue)</code></dt>
53
+ * <dd>Immediatly stop execution and return
54
+ * <code>returnValue</code>. No other wrapping functions will be
55
+ * executed.</dd>
56
+ * <dt></code>Y.Do.AlterArgs(message, newArgArray)</code></dt>
57
+ * <dd>Replace the arguments that the original function will be
58
+ * called with.</dd>
59
+ * <dt></code>Y.Do.Prevent(message)</code></dt>
60
+ * <dd>Don't execute the wrapped function. Other before phase
61
+ * wrappers will be executed.</dd>
62
+ * </dl>
63
+ *
64
+ * @method before
65
+ * @param fn {Function} the function to execute
66
+ * @param obj the object hosting the method to displace
67
+ * @param sFn {string} the name of the method to displace
68
+ * @param c The execution context for fn
69
+ * @param arg* {mixed} 0..n additional arguments to supply to the subscriber
70
+ * when the event fires.
71
+ * @return {EventHandle} handle for the subscription
72
+ * @static
73
+ */
74
+ before: function(fn, obj, sFn, c) {
75
+ var f = fn, a;
76
+ if (c) {
77
+ a = [fn, c].concat(Y.Array(arguments, 4, true));
78
+ f = Y.rbind.apply(Y, a);
79
+ }
80
+
81
+ return this._inject(DO_BEFORE, f, obj, sFn);
82
+ },
83
+
84
+ /**
85
+ * <p>Execute the supplied method after the specified function. Wrapping
86
+ * function may optionally return an instance of the following classes to
87
+ * further alter runtime behavior:</p>
88
+ * <dl>
89
+ * <dt></code>Y.Do.Halt(message, returnValue)</code></dt>
90
+ * <dd>Immediatly stop execution and return
91
+ * <code>returnValue</code>. No other wrapping functions will be
92
+ * executed.</dd>
93
+ * <dt></code>Y.Do.AlterReturn(message, returnValue)</code></dt>
94
+ * <dd>Return <code>returnValue</code> instead of the wrapped
95
+ * method's original return value. This can be further altered by
96
+ * other after phase wrappers.</dd>
97
+ * </dl>
98
+ *
99
+ * <p>The static properties <code>Y.Do.originalRetVal</code> and
100
+ * <code>Y.Do.currentRetVal</code> will be populated for reference.</p>
101
+ *
102
+ * @method after
103
+ * @param fn {Function} the function to execute
104
+ * @param obj the object hosting the method to displace
105
+ * @param sFn {string} the name of the method to displace
106
+ * @param c The execution context for fn
107
+ * @param arg* {mixed} 0..n additional arguments to supply to the subscriber
108
+ * @return {EventHandle} handle for the subscription
109
+ * @static
110
+ */
111
+ after: function(fn, obj, sFn, c) {
112
+ var f = fn, a;
113
+ if (c) {
114
+ a = [fn, c].concat(Y.Array(arguments, 4, true));
115
+ f = Y.rbind.apply(Y, a);
116
+ }
117
+
118
+ return this._inject(DO_AFTER, f, obj, sFn);
119
+ },
120
+
121
+ /**
122
+ * Execute the supplied method before or after the specified function.
123
+ * Used by <code>before</code> and <code>after</code>.
124
+ *
125
+ * @method _inject
126
+ * @param when {string} before or after
127
+ * @param fn {Function} the function to execute
128
+ * @param obj the object hosting the method to displace
129
+ * @param sFn {string} the name of the method to displace
130
+ * @param c The execution context for fn
131
+ * @return {EventHandle} handle for the subscription
132
+ * @private
133
+ * @static
134
+ */
135
+ _inject: function(when, fn, obj, sFn) {
136
+ // object id
137
+ var id = Y.stamp(obj), o, sid;
138
+
139
+ if (!obj._yuiaop) {
140
+ // create a map entry for the obj if it doesn't exist, to hold overridden methods
141
+ obj._yuiaop = {};
142
+ }
143
+
144
+ o = obj._yuiaop;
145
+
146
+ if (!o[sFn]) {
147
+ // create a map entry for the method if it doesn't exist
148
+ o[sFn] = new Y.Do.Method(obj, sFn);
149
+
150
+ // re-route the method to our wrapper
151
+ obj[sFn] = function() {
152
+ return o[sFn].exec.apply(o[sFn], arguments);
153
+ };
154
+ }
155
+
156
+ // subscriber id
157
+ sid = id + Y.stamp(fn) + sFn;
158
+
159
+ // register the callback
160
+ o[sFn].register(sid, fn, when);
161
+
162
+ return new Y.EventHandle(o[sFn], sid);
163
+ },
164
+
165
+ /**
166
+ * Detach a before or after subscription.
167
+ *
168
+ * @method detach
169
+ * @param handle {EventHandle} the subscription handle
170
+ * @static
171
+ */
172
+ detach: function(handle) {
173
+ if (handle.detach) {
174
+ handle.detach();
175
+ }
176
+ }
177
+ };
178
+
179
+ Y.Do = DO;
180
+
181
+ //////////////////////////////////////////////////////////////////////////
182
+
183
+ /**
184
+ * Contains the return value from the wrapped method, accessible
185
+ * by 'after' event listeners.
186
+ *
187
+ * @property originalRetVal
188
+ * @static
189
+ * @since 3.2.0
190
+ */
191
+
192
+ /**
193
+ * Contains the current state of the return value, consumable by
194
+ * 'after' event listeners, and updated if an after subscriber
195
+ * changes the return value generated by the wrapped function.
196
+ *
197
+ * @property currentRetVal
198
+ * @static
199
+ * @since 3.2.0
200
+ */
201
+
202
+ //////////////////////////////////////////////////////////////////////////
203
+
204
+ /**
205
+ * Wrapper for a displaced method with aop enabled
206
+ * @class Do.Method
207
+ * @constructor
208
+ * @param obj The object to operate on
209
+ * @param sFn The name of the method to displace
210
+ */
211
+ DO.Method = function(obj, sFn) {
212
+ this.obj = obj;
213
+ this.methodName = sFn;
214
+ this.method = obj[sFn];
215
+ this.before = {};
216
+ this.after = {};
217
+ };
218
+
219
+ /**
220
+ * Register a aop subscriber
221
+ * @method register
222
+ * @param sid {string} the subscriber id
223
+ * @param fn {Function} the function to execute
224
+ * @param when {string} when to execute the function
225
+ */
226
+ DO.Method.prototype.register = function (sid, fn, when) {
227
+ if (when) {
228
+ this.after[sid] = fn;
229
+ } else {
230
+ this.before[sid] = fn;
231
+ }
232
+ };
233
+
234
+ /**
235
+ * Unregister a aop subscriber
236
+ * @method delete
237
+ * @param sid {string} the subscriber id
238
+ * @param fn {Function} the function to execute
239
+ * @param when {string} when to execute the function
240
+ */
241
+ DO.Method.prototype._delete = function (sid) {
242
+ delete this.before[sid];
243
+ delete this.after[sid];
244
+ };
245
+
246
+ /**
247
+ * <p>Execute the wrapped method. All arguments are passed into the wrapping
248
+ * functions. If any of the before wrappers return an instance of
249
+ * <code>Y.Do.Halt</code> or <code>Y.Do.Prevent</code>, neither the wrapped
250
+ * function nor any after phase subscribers will be executed.</p>
251
+ *
252
+ * <p>The return value will be the return value of the wrapped function or one
253
+ * provided by a wrapper function via an instance of <code>Y.Do.Halt</code> or
254
+ * <code>Y.Do.AlterReturn</code>.
255
+ *
256
+ * @method exec
257
+ * @param arg* {any} Arguments are passed to the wrapping and wrapped functions
258
+ * @return {any} Return value of wrapped function unless overwritten (see above)
259
+ */
260
+ DO.Method.prototype.exec = function () {
261
+
262
+ var args = Y.Array(arguments, 0, true),
263
+ i, ret, newRet,
264
+ bf = this.before,
265
+ af = this.after,
266
+ prevented = false;
267
+
268
+ // execute before
269
+ for (i in bf) {
270
+ if (bf.hasOwnProperty(i)) {
271
+ ret = bf[i].apply(this.obj, args);
272
+ if (ret) {
273
+ switch (ret.constructor) {
274
+ case DO.Halt:
275
+ return ret.retVal;
276
+ case DO.AlterArgs:
277
+ args = ret.newArgs;
278
+ break;
279
+ case DO.Prevent:
280
+ prevented = true;
281
+ break;
282
+ default:
283
+ }
284
+ }
285
+ }
286
+ }
287
+
288
+ // execute method
289
+ if (!prevented) {
290
+ ret = this.method.apply(this.obj, args);
291
+ }
292
+
293
+ DO.originalRetVal = ret;
294
+ DO.currentRetVal = ret;
295
+
296
+ // execute after methods.
297
+ for (i in af) {
298
+ if (af.hasOwnProperty(i)) {
299
+ newRet = af[i].apply(this.obj, args);
300
+ // Stop processing if a Halt object is returned
301
+ if (newRet && newRet.constructor === DO.Halt) {
302
+ return newRet.retVal;
303
+ // Check for a new return value
304
+ } else if (newRet && newRet.constructor === DO.AlterReturn) {
305
+ ret = newRet.newRetVal;
306
+ // Update the static retval state
307
+ DO.currentRetVal = ret;
308
+ }
309
+ }
310
+ }
311
+
312
+ return ret;
313
+ };
314
+
315
+ //////////////////////////////////////////////////////////////////////////
316
+
317
+ /**
318
+ * Return an AlterArgs object when you want to change the arguments that
319
+ * were passed into the function. Useful for Do.before subscribers. An
320
+ * example would be a service that scrubs out illegal characters prior to
321
+ * executing the core business logic.
322
+ * @class Do.AlterArgs
323
+ * @constructor
324
+ * @param msg {String} (optional) Explanation of the altered return value
325
+ * @param newArgs {Array} Call parameters to be used for the original method
326
+ * instead of the arguments originally passed in.
327
+ */
328
+ DO.AlterArgs = function(msg, newArgs) {
329
+ this.msg = msg;
330
+ this.newArgs = newArgs;
331
+ };
332
+
333
+ /**
334
+ * Return an AlterReturn object when you want to change the result returned
335
+ * from the core method to the caller. Useful for Do.after subscribers.
336
+ * @class Do.AlterReturn
337
+ * @constructor
338
+ * @param msg {String} (optional) Explanation of the altered return value
339
+ * @param newRetVal {any} Return value passed to code that invoked the wrapped
340
+ * function.
341
+ */
342
+ DO.AlterReturn = function(msg, newRetVal) {
343
+ this.msg = msg;
344
+ this.newRetVal = newRetVal;
345
+ };
346
+
347
+ /**
348
+ * Return a Halt object when you want to terminate the execution
349
+ * of all subsequent subscribers as well as the wrapped method
350
+ * if it has not exectued yet. Useful for Do.before subscribers.
351
+ * @class Do.Halt
352
+ * @constructor
353
+ * @param msg {String} (optional) Explanation of why the termination was done
354
+ * @param retVal {any} Return value passed to code that invoked the wrapped
355
+ * function.
356
+ */
357
+ DO.Halt = function(msg, retVal) {
358
+ this.msg = msg;
359
+ this.retVal = retVal;
360
+ };
361
+
362
+ /**
363
+ * Return a Prevent object when you want to prevent the wrapped function
364
+ * from executing, but want the remaining listeners to execute. Useful
365
+ * for Do.before subscribers.
366
+ * @class Do.Prevent
367
+ * @constructor
368
+ * @param msg {String} (optional) Explanation of why the termination was done
369
+ */
370
+ DO.Prevent = function(msg) {
371
+ this.msg = msg;
372
+ };
373
+
374
+ /**
375
+ * Return an Error object when you want to terminate the execution
376
+ * of all subsequent method calls.
377
+ * @class Do.Error
378
+ * @constructor
379
+ * @param msg {String} (optional) Explanation of the altered return value
380
+ * @param retVal {any} Return value passed to code that invoked the wrapped
381
+ * function.
382
+ * @deprecated use Y.Do.Halt or Y.Do.Prevent
383
+ */
384
+ DO.Error = DO.Halt;
385
+
386
+
387
+ //////////////////////////////////////////////////////////////////////////
388
+
389
+ /**
390
+ * Custom event engine, DOM event listener abstraction layer, synthetic DOM
391
+ * events.
392
+ * @module event-custom
393
+ * @submodule event-custom-base
394
+ */
395
+
396
+
397
+ // var onsubscribeType = "_event:onsub",
398
+ var YArray = Y.Array,
399
+
400
+ AFTER = 'after',
401
+ CONFIGS = [
402
+ 'broadcast',
403
+ 'monitored',
404
+ 'bubbles',
405
+ 'context',
406
+ 'contextFn',
407
+ 'currentTarget',
408
+ 'defaultFn',
409
+ 'defaultTargetOnly',
410
+ 'details',
411
+ 'emitFacade',
412
+ 'fireOnce',
413
+ 'async',
414
+ 'host',
415
+ 'preventable',
416
+ 'preventedFn',
417
+ 'queuable',
418
+ 'silent',
419
+ 'stoppedFn',
420
+ 'target',
421
+ 'type'
422
+ ],
423
+
424
+ CONFIGS_HASH = YArray.hash(CONFIGS),
425
+
426
+ nativeSlice = Array.prototype.slice,
427
+
428
+ YUI3_SIGNATURE = 9,
429
+ YUI_LOG = 'yui:log',
430
+
431
+ mixConfigs = function(r, s, ov) {
432
+ var p;
433
+
434
+ for (p in s) {
435
+ if (CONFIGS_HASH[p] && (ov || !(p in r))) {
436
+ r[p] = s[p];
437
+ }
438
+ }
439
+
440
+ return r;
441
+ };
442
+
443
+ /**
444
+ * The CustomEvent class lets you define events for your application
445
+ * that can be subscribed to by one or more independent component.
446
+ *
447
+ * @param {String} type The type of event, which is passed to the callback
448
+ * when the event fires.
449
+ * @param {object} defaults configuration object.
450
+ * @class CustomEvent
451
+ * @constructor
452
+ */
453
+
454
+ /**
455
+ * The type of event, returned to subscribers when the event fires
456
+ * @property type
457
+ * @type string
458
+ */
459
+
460
+ /**
461
+ * By default all custom events are logged in the debug build, set silent
462
+ * to true to disable debug outpu for this event.
463
+ * @property silent
464
+ * @type boolean
465
+ */
466
+
467
+ Y.CustomEvent = function(type, defaults) {
468
+
469
+ this._kds = Y.CustomEvent.keepDeprecatedSubs;
470
+
471
+ this.id = Y.guid();
472
+
473
+ this.type = type;
474
+ this.silent = this.logSystem = (type === YUI_LOG);
475
+
476
+ if (this._kds) {
477
+ /**
478
+ * The subscribers to this event
479
+ * @property subscribers
480
+ * @type Subscriber {}
481
+ * @deprecated
482
+ */
483
+
484
+ /**
485
+ * 'After' subscribers
486
+ * @property afters
487
+ * @type Subscriber {}
488
+ * @deprecated
489
+ */
490
+ this.subscribers = {};
491
+ this.afters = {};
492
+ }
493
+
494
+ if (defaults) {
495
+ mixConfigs(this, defaults, true);
496
+ }
497
+ };
498
+
499
+ /**
500
+ * Static flag to enable population of the <a href="#property_subscribers">`subscribers`</a>
501
+ * and <a href="#property_subscribers">`afters`</a> properties held on a `CustomEvent` instance.
502
+ *
503
+ * These properties were changed to private properties (`_subscribers` and `_afters`), and
504
+ * converted from objects to arrays for performance reasons.
505
+ *
506
+ * Setting this property to true will populate the deprecated `subscribers` and `afters`
507
+ * properties for people who may be using them (which is expected to be rare). There will
508
+ * be a performance hit, compared to the new array based implementation.
509
+ *
510
+ * If you are using these deprecated properties for a use case which the public API
511
+ * does not support, please file an enhancement request, and we can provide an alternate
512
+ * public implementation which doesn't have the performance cost required to maintiain the
513
+ * properties as objects.
514
+ *
515
+ * @property keepDeprecatedSubs
516
+ * @static
517
+ * @for CustomEvent
518
+ * @type boolean
519
+ * @default false
520
+ * @deprecated
521
+ */
522
+ Y.CustomEvent.keepDeprecatedSubs = false;
523
+
524
+ Y.CustomEvent.mixConfigs = mixConfigs;
525
+
526
+ Y.CustomEvent.prototype = {
527
+
528
+ constructor: Y.CustomEvent,
529
+
530
+ /**
531
+ * Monitor when an event is attached or detached.
532
+ *
533
+ * @property monitored
534
+ * @type boolean
535
+ */
536
+
537
+ /**
538
+ * If 0, this event does not broadcast. If 1, the YUI instance is notified
539
+ * every time this event fires. If 2, the YUI instance and the YUI global
540
+ * (if event is enabled on the global) are notified every time this event
541
+ * fires.
542
+ * @property broadcast
543
+ * @type int
544
+ */
545
+
546
+ /**
547
+ * Specifies whether this event should be queued when the host is actively
548
+ * processing an event. This will effect exectution order of the callbacks
549
+ * for the various events.
550
+ * @property queuable
551
+ * @type boolean
552
+ * @default false
553
+ */
554
+
555
+ /**
556
+ * This event has fired if true
557
+ *
558
+ * @property fired
559
+ * @type boolean
560
+ * @default false;
561
+ */
562
+
563
+ /**
564
+ * An array containing the arguments the custom event
565
+ * was last fired with.
566
+ * @property firedWith
567
+ * @type Array
568
+ */
569
+
570
+ /**
571
+ * This event should only fire one time if true, and if
572
+ * it has fired, any new subscribers should be notified
573
+ * immediately.
574
+ *
575
+ * @property fireOnce
576
+ * @type boolean
577
+ * @default false;
578
+ */
579
+
580
+ /**
581
+ * fireOnce listeners will fire syncronously unless async
582
+ * is set to true
583
+ * @property async
584
+ * @type boolean
585
+ * @default false
586
+ */
587
+
588
+ /**
589
+ * Flag for stopPropagation that is modified during fire()
590
+ * 1 means to stop propagation to bubble targets. 2 means
591
+ * to also stop additional subscribers on this target.
592
+ * @property stopped
593
+ * @type int
594
+ */
595
+
596
+ /**
597
+ * Flag for preventDefault that is modified during fire().
598
+ * if it is not 0, the default behavior for this event
599
+ * @property prevented
600
+ * @type int
601
+ */
602
+
603
+ /**
604
+ * Specifies the host for this custom event. This is used
605
+ * to enable event bubbling
606
+ * @property host
607
+ * @type EventTarget
608
+ */
609
+
610
+ /**
611
+ * The default function to execute after event listeners
612
+ * have fire, but only if the default action was not
613
+ * prevented.
614
+ * @property defaultFn
615
+ * @type Function
616
+ */
617
+
618
+ /**
619
+ * Flag for the default function to execute only if the
620
+ * firing event is the current target. This happens only
621
+ * when using custom event delegation and setting the
622
+ * flag to `true` mimics the behavior of event delegation
623
+ * in the DOM.
624
+ *
625
+ * @property defaultTargetOnly
626
+ * @type Boolean
627
+ * @default false
628
+ */
629
+
630
+ /**
631
+ * The function to execute if a subscriber calls
632
+ * stopPropagation or stopImmediatePropagation
633
+ * @property stoppedFn
634
+ * @type Function
635
+ */
636
+
637
+ /**
638
+ * The function to execute if a subscriber calls
639
+ * preventDefault
640
+ * @property preventedFn
641
+ * @type Function
642
+ */
643
+
644
+ /**
645
+ * The subscribers to this event
646
+ * @property _subscribers
647
+ * @type Subscriber []
648
+ * @private
649
+ */
650
+
651
+ /**
652
+ * 'After' subscribers
653
+ * @property _afters
654
+ * @type Subscriber []
655
+ * @private
656
+ */
657
+
658
+ /**
659
+ * If set to true, the custom event will deliver an EventFacade object
660
+ * that is similar to a DOM event object.
661
+ * @property emitFacade
662
+ * @type boolean
663
+ * @default false
664
+ */
665
+
666
+ /**
667
+ * Supports multiple options for listener signatures in order to
668
+ * port YUI 2 apps.
669
+ * @property signature
670
+ * @type int
671
+ * @default 9
672
+ */
673
+ signature : YUI3_SIGNATURE,
674
+
675
+ /**
676
+ * The context the the event will fire from by default. Defaults to the YUI
677
+ * instance.
678
+ * @property context
679
+ * @type object
680
+ */
681
+ context : Y,
682
+
683
+ /**
684
+ * Specifies whether or not this event's default function
685
+ * can be cancelled by a subscriber by executing preventDefault()
686
+ * on the event facade
687
+ * @property preventable
688
+ * @type boolean
689
+ * @default true
690
+ */
691
+ preventable : true,
692
+
693
+ /**
694
+ * Specifies whether or not a subscriber can stop the event propagation
695
+ * via stopPropagation(), stopImmediatePropagation(), or halt()
696
+ *
697
+ * Events can only bubble if emitFacade is true.
698
+ *
699
+ * @property bubbles
700
+ * @type boolean
701
+ * @default true
702
+ */
703
+ bubbles : true,
704
+
705
+ /**
706
+ * Returns the number of subscribers for this event as the sum of the on()
707
+ * subscribers and after() subscribers.
708
+ *
709
+ * @method hasSubs
710
+ * @return Number
711
+ */
712
+ hasSubs: function(when) {
713
+ var s = 0,
714
+ a = 0,
715
+ subs = this._subscribers,
716
+ afters = this._afters,
717
+ sib = this.sibling;
718
+
719
+ if (subs) {
720
+ s = subs.length;
721
+ }
722
+
723
+ if (afters) {
724
+ a = afters.length;
725
+ }
726
+
727
+ if (sib) {
728
+ subs = sib._subscribers;
729
+ afters = sib._afters;
730
+
731
+ if (subs) {
732
+ s += subs.length;
733
+ }
734
+
735
+ if (afters) {
736
+ a += afters.length;
737
+ }
738
+ }
739
+
740
+ if (when) {
741
+ return (when === 'after') ? a : s;
742
+ }
743
+
744
+ return (s + a);
745
+ },
746
+
747
+ /**
748
+ * Monitor the event state for the subscribed event. The first parameter
749
+ * is what should be monitored, the rest are the normal parameters when
750
+ * subscribing to an event.
751
+ * @method monitor
752
+ * @param what {string} what to monitor ('detach', 'attach', 'publish').
753
+ * @return {EventHandle} return value from the monitor event subscription.
754
+ */
755
+ monitor: function(what) {
756
+ this.monitored = true;
757
+ var type = this.id + '|' + this.type + '_' + what,
758
+ args = nativeSlice.call(arguments, 0);
759
+ args[0] = type;
760
+ return this.host.on.apply(this.host, args);
761
+ },
762
+
763
+ /**
764
+ * Get all of the subscribers to this event and any sibling event
765
+ * @method getSubs
766
+ * @return {Array} first item is the on subscribers, second the after.
767
+ */
768
+ getSubs: function() {
769
+
770
+ var sibling = this.sibling,
771
+ subs = this._subscribers,
772
+ afters = this._afters,
773
+ siblingSubs,
774
+ siblingAfters;
775
+
776
+ if (sibling) {
777
+ siblingSubs = sibling._subscribers;
778
+ siblingAfters = sibling._afters;
779
+ }
780
+
781
+ if (siblingSubs) {
782
+ if (subs) {
783
+ subs = subs.concat(siblingSubs);
784
+ } else {
785
+ subs = siblingSubs.concat();
786
+ }
787
+ } else {
788
+ if (subs) {
789
+ subs = subs.concat();
790
+ } else {
791
+ subs = [];
792
+ }
793
+ }
794
+
795
+ if (siblingAfters) {
796
+ if (afters) {
797
+ afters = afters.concat(siblingAfters);
798
+ } else {
799
+ afters = siblingAfters.concat();
800
+ }
801
+ } else {
802
+ if (afters) {
803
+ afters = afters.concat();
804
+ } else {
805
+ afters = [];
806
+ }
807
+ }
808
+
809
+ return [subs, afters];
810
+ },
811
+
812
+ /**
813
+ * Apply configuration properties. Only applies the CONFIG whitelist
814
+ * @method applyConfig
815
+ * @param o hash of properties to apply.
816
+ * @param force {boolean} if true, properties that exist on the event
817
+ * will be overwritten.
818
+ */
819
+ applyConfig: function(o, force) {
820
+ mixConfigs(this, o, force);
821
+ },
822
+
823
+ /**
824
+ * Create the Subscription for subscribing function, context, and bound
825
+ * arguments. If this is a fireOnce event, the subscriber is immediately
826
+ * notified.
827
+ *
828
+ * @method _on
829
+ * @param fn {Function} Subscription callback
830
+ * @param [context] {Object} Override `this` in the callback
831
+ * @param [args] {Array} bound arguments that will be passed to the callback after the arguments generated by fire()
832
+ * @param [when] {String} "after" to slot into after subscribers
833
+ * @return {EventHandle}
834
+ * @protected
835
+ */
836
+ _on: function(fn, context, args, when) {
837
+
838
+
839
+ var s = new Y.Subscriber(fn, context, args, when),
840
+ firedWith;
841
+
842
+ if (this.fireOnce && this.fired) {
843
+
844
+ firedWith = this.firedWith;
845
+
846
+ // It's a little ugly for this to know about facades,
847
+ // but given the current breakup, not much choice without
848
+ // moving a whole lot of stuff around.
849
+ if (this.emitFacade && this._addFacadeToArgs) {
850
+ this._addFacadeToArgs(firedWith);
851
+ }
852
+
853
+ if (this.async) {
854
+ setTimeout(Y.bind(this._notify, this, s, firedWith), 0);
855
+ } else {
856
+ this._notify(s, firedWith);
857
+ }
858
+ }
859
+
860
+ if (when === AFTER) {
861
+ if (!this._afters) {
862
+ this._afters = [];
863
+ }
864
+ this._afters.push(s);
865
+ } else {
866
+ if (!this._subscribers) {
867
+ this._subscribers = [];
868
+ }
869
+ this._subscribers.push(s);
870
+ }
871
+
872
+ if (this._kds) {
873
+ if (when === AFTER) {
874
+ this.afters[s.id] = s;
875
+ } else {
876
+ this.subscribers[s.id] = s;
877
+ }
878
+ }
879
+
880
+ return new Y.EventHandle(this, s);
881
+ },
882
+
883
+ /**
884
+ * Listen for this event
885
+ * @method subscribe
886
+ * @param {Function} fn The function to execute.
887
+ * @return {EventHandle} Unsubscribe handle.
888
+ * @deprecated use on.
889
+ */
890
+ subscribe: function(fn, context) {
891
+ var a = (arguments.length > 2) ? nativeSlice.call(arguments, 2) : null;
892
+ return this._on(fn, context, a, true);
893
+ },
894
+
895
+ /**
896
+ * Listen for this event
897
+ * @method on
898
+ * @param {Function} fn The function to execute.
899
+ * @param {object} context optional execution context.
900
+ * @param {mixed} arg* 0..n additional arguments to supply to the subscriber
901
+ * when the event fires.
902
+ * @return {EventHandle} An object with a detach method to detch the handler(s).
903
+ */
904
+ on: function(fn, context) {
905
+ var a = (arguments.length > 2) ? nativeSlice.call(arguments, 2) : null;
906
+
907
+ if (this.monitored && this.host) {
908
+ this.host._monitor('attach', this, {
909
+ args: arguments
910
+ });
911
+ }
912
+ return this._on(fn, context, a, true);
913
+ },
914
+
915
+ /**
916
+ * Listen for this event after the normal subscribers have been notified and
917
+ * the default behavior has been applied. If a normal subscriber prevents the
918
+ * default behavior, it also prevents after listeners from firing.
919
+ * @method after
920
+ * @param {Function} fn The function to execute.
921
+ * @param {object} context optional execution context.
922
+ * @param {mixed} arg* 0..n additional arguments to supply to the subscriber
923
+ * when the event fires.
924
+ * @return {EventHandle} handle Unsubscribe handle.
925
+ */
926
+ after: function(fn, context) {
927
+ var a = (arguments.length > 2) ? nativeSlice.call(arguments, 2) : null;
928
+ return this._on(fn, context, a, AFTER);
929
+ },
930
+
931
+ /**
932
+ * Detach listeners.
933
+ * @method detach
934
+ * @param {Function} fn The subscribed function to remove, if not supplied
935
+ * all will be removed.
936
+ * @param {Object} context The context object passed to subscribe.
937
+ * @return {Number} returns the number of subscribers unsubscribed.
938
+ */
939
+ detach: function(fn, context) {
940
+ // unsubscribe handle
941
+ if (fn && fn.detach) {
942
+ return fn.detach();
943
+ }
944
+
945
+ var i, s,
946
+ found = 0,
947
+ subs = this._subscribers,
948
+ afters = this._afters;
949
+
950
+ if (subs) {
951
+ for (i = subs.length; i >= 0; i--) {
952
+ s = subs[i];
953
+ if (s && (!fn || fn === s.fn)) {
954
+ this._delete(s, subs, i);
955
+ found++;
956
+ }
957
+ }
958
+ }
959
+
960
+ if (afters) {
961
+ for (i = afters.length; i >= 0; i--) {
962
+ s = afters[i];
963
+ if (s && (!fn || fn === s.fn)) {
964
+ this._delete(s, afters, i);
965
+ found++;
966
+ }
967
+ }
968
+ }
969
+
970
+ return found;
971
+ },
972
+
973
+ /**
974
+ * Detach listeners.
975
+ * @method unsubscribe
976
+ * @param {Function} fn The subscribed function to remove, if not supplied
977
+ * all will be removed.
978
+ * @param {Object} context The context object passed to subscribe.
979
+ * @return {int|undefined} returns the number of subscribers unsubscribed.
980
+ * @deprecated use detach.
981
+ */
982
+ unsubscribe: function() {
983
+ return this.detach.apply(this, arguments);
984
+ },
985
+
986
+ /**
987
+ * Notify a single subscriber
988
+ * @method _notify
989
+ * @param {Subscriber} s the subscriber.
990
+ * @param {Array} args the arguments array to apply to the listener.
991
+ * @protected
992
+ */
993
+ _notify: function(s, args, ef) {
994
+
995
+
996
+ var ret;
997
+
998
+ ret = s.notify(args, this);
999
+
1000
+ if (false === ret || this.stopped > 1) {
1001
+ return false;
1002
+ }
1003
+
1004
+ return true;
1005
+ },
1006
+
1007
+ /**
1008
+ * Logger abstraction to centralize the application of the silent flag
1009
+ * @method log
1010
+ * @param {string} msg message to log.
1011
+ * @param {string} cat log category.
1012
+ */
1013
+ log: function(msg, cat) {
1014
+ },
1015
+
1016
+ /**
1017
+ * Notifies the subscribers. The callback functions will be executed
1018
+ * from the context specified when the event was created, and with the
1019
+ * following parameters:
1020
+ * <ul>
1021
+ * <li>The type of event</li>
1022
+ * <li>All of the arguments fire() was executed with as an array</li>
1023
+ * <li>The custom object (if any) that was passed into the subscribe()
1024
+ * method</li>
1025
+ * </ul>
1026
+ * @method fire
1027
+ * @param {Object*} arguments an arbitrary set of parameters to pass to
1028
+ * the handler.
1029
+ * @return {boolean} false if one of the subscribers returned false,
1030
+ * true otherwise.
1031
+ *
1032
+ */
1033
+ fire: function() {
1034
+
1035
+ // push is the fastest way to go from arguments to arrays
1036
+ // for most browsers currently
1037
+ // http://jsperf.com/push-vs-concat-vs-slice/2
1038
+
1039
+ var args = [];
1040
+ args.push.apply(args, arguments);
1041
+
1042
+ return this._fire(args);
1043
+ },
1044
+
1045
+ /**
1046
+ * Private internal implementation for `fire`, which is can be used directly by
1047
+ * `EventTarget` and other event module classes which have already converted from
1048
+ * an `arguments` list to an array, to avoid the repeated overhead.
1049
+ *
1050
+ * @method _fire
1051
+ * @private
1052
+ * @param {Array} args The array of arguments passed to be passed to handlers.
1053
+ * @return {boolean} false if one of the subscribers returned false, true otherwise.
1054
+ */
1055
+ _fire: function(args) {
1056
+
1057
+ if (this.fireOnce && this.fired) {
1058
+ return true;
1059
+ } else {
1060
+
1061
+ // this doesn't happen if the event isn't published
1062
+ // this.host._monitor('fire', this.type, args);
1063
+
1064
+ this.fired = true;
1065
+
1066
+ if (this.fireOnce) {
1067
+ this.firedWith = args;
1068
+ }
1069
+
1070
+ if (this.emitFacade) {
1071
+ return this.fireComplex(args);
1072
+ } else {
1073
+ return this.fireSimple(args);
1074
+ }
1075
+ }
1076
+ },
1077
+
1078
+ /**
1079
+ * Set up for notifying subscribers of non-emitFacade events.
1080
+ *
1081
+ * @method fireSimple
1082
+ * @param args {Array} Arguments passed to fire()
1083
+ * @return Boolean false if a subscriber returned false
1084
+ * @protected
1085
+ */
1086
+ fireSimple: function(args) {
1087
+ this.stopped = 0;
1088
+ this.prevented = 0;
1089
+ if (this.hasSubs()) {
1090
+ var subs = this.getSubs();
1091
+ this._procSubs(subs[0], args);
1092
+ this._procSubs(subs[1], args);
1093
+ }
1094
+ if (this.broadcast) {
1095
+ this._broadcast(args);
1096
+ }
1097
+ return this.stopped ? false : true;
1098
+ },
1099
+
1100
+ // Requires the event-custom-complex module for full funcitonality.
1101
+ fireComplex: function(args) {
1102
+ args[0] = args[0] || {};
1103
+ return this.fireSimple(args);
1104
+ },
1105
+
1106
+ /**
1107
+ * Notifies a list of subscribers.
1108
+ *
1109
+ * @method _procSubs
1110
+ * @param subs {Array} List of subscribers
1111
+ * @param args {Array} Arguments passed to fire()
1112
+ * @param ef {}
1113
+ * @return Boolean false if a subscriber returns false or stops the event
1114
+ * propagation via e.stopPropagation(),
1115
+ * e.stopImmediatePropagation(), or e.halt()
1116
+ * @private
1117
+ */
1118
+ _procSubs: function(subs, args, ef) {
1119
+ var s, i, l;
1120
+
1121
+ for (i = 0, l = subs.length; i < l; i++) {
1122
+ s = subs[i];
1123
+ if (s && s.fn) {
1124
+ if (false === this._notify(s, args, ef)) {
1125
+ this.stopped = 2;
1126
+ }
1127
+ if (this.stopped === 2) {
1128
+ return false;
1129
+ }
1130
+ }
1131
+ }
1132
+
1133
+ return true;
1134
+ },
1135
+
1136
+ /**
1137
+ * Notifies the YUI instance if the event is configured with broadcast = 1,
1138
+ * and both the YUI instance and Y.Global if configured with broadcast = 2.
1139
+ *
1140
+ * @method _broadcast
1141
+ * @param args {Array} Arguments sent to fire()
1142
+ * @private
1143
+ */
1144
+ _broadcast: function(args) {
1145
+ if (!this.stopped && this.broadcast) {
1146
+
1147
+ var a = args.concat();
1148
+ a.unshift(this.type);
1149
+
1150
+ if (this.host !== Y) {
1151
+ Y.fire.apply(Y, a);
1152
+ }
1153
+
1154
+ if (this.broadcast === 2) {
1155
+ Y.Global.fire.apply(Y.Global, a);
1156
+ }
1157
+ }
1158
+ },
1159
+
1160
+ /**
1161
+ * Removes all listeners
1162
+ * @method unsubscribeAll
1163
+ * @return {Number} The number of listeners unsubscribed.
1164
+ * @deprecated use detachAll.
1165
+ */
1166
+ unsubscribeAll: function() {
1167
+ return this.detachAll.apply(this, arguments);
1168
+ },
1169
+
1170
+ /**
1171
+ * Removes all listeners
1172
+ * @method detachAll
1173
+ * @return {Number} The number of listeners unsubscribed.
1174
+ */
1175
+ detachAll: function() {
1176
+ return this.detach();
1177
+ },
1178
+
1179
+ /**
1180
+ * Deletes the subscriber from the internal store of on() and after()
1181
+ * subscribers.
1182
+ *
1183
+ * @method _delete
1184
+ * @param s subscriber object.
1185
+ * @param subs (optional) on or after subscriber array
1186
+ * @param index (optional) The index found.
1187
+ * @private
1188
+ */
1189
+ _delete: function(s, subs, i) {
1190
+ var when = s._when;
1191
+
1192
+ if (!subs) {
1193
+ subs = (when === AFTER) ? this._afters : this._subscribers;
1194
+ }
1195
+
1196
+ if (subs) {
1197
+ i = YArray.indexOf(subs, s, 0);
1198
+
1199
+ if (s && subs[i] === s) {
1200
+ subs.splice(i, 1);
1201
+ }
1202
+ }
1203
+
1204
+ if (this._kds) {
1205
+ if (when === AFTER) {
1206
+ delete this.afters[s.id];
1207
+ } else {
1208
+ delete this.subscribers[s.id];
1209
+ }
1210
+ }
1211
+
1212
+ if (this.monitored && this.host) {
1213
+ this.host._monitor('detach', this, {
1214
+ ce: this,
1215
+ sub: s
1216
+ });
1217
+ }
1218
+
1219
+ if (s) {
1220
+ s.deleted = true;
1221
+ }
1222
+ }
1223
+ };
1224
+ /**
1225
+ * Stores the subscriber information to be used when the event fires.
1226
+ * @param {Function} fn The wrapped function to execute.
1227
+ * @param {Object} context The value of the keyword 'this' in the listener.
1228
+ * @param {Array} args* 0..n additional arguments to supply the listener.
1229
+ *
1230
+ * @class Subscriber
1231
+ * @constructor
1232
+ */
1233
+ Y.Subscriber = function(fn, context, args, when) {
1234
+
1235
+ /**
1236
+ * The callback that will be execute when the event fires
1237
+ * This is wrapped by Y.rbind if obj was supplied.
1238
+ * @property fn
1239
+ * @type Function
1240
+ */
1241
+ this.fn = fn;
1242
+
1243
+ /**
1244
+ * Optional 'this' keyword for the listener
1245
+ * @property context
1246
+ * @type Object
1247
+ */
1248
+ this.context = context;
1249
+
1250
+ /**
1251
+ * Unique subscriber id
1252
+ * @property id
1253
+ * @type String
1254
+ */
1255
+ this.id = Y.guid();
1256
+
1257
+ /**
1258
+ * Additional arguments to propagate to the subscriber
1259
+ * @property args
1260
+ * @type Array
1261
+ */
1262
+ this.args = args;
1263
+
1264
+ this._when = when;
1265
+
1266
+ /**
1267
+ * Custom events for a given fire transaction.
1268
+ * @property events
1269
+ * @type {EventTarget}
1270
+ */
1271
+ // this.events = null;
1272
+
1273
+ /**
1274
+ * This listener only reacts to the event once
1275
+ * @property once
1276
+ */
1277
+ // this.once = false;
1278
+
1279
+ };
1280
+
1281
+ Y.Subscriber.prototype = {
1282
+ constructor: Y.Subscriber,
1283
+
1284
+ _notify: function(c, args, ce) {
1285
+ if (this.deleted && !this.postponed) {
1286
+ if (this.postponed) {
1287
+ delete this.fn;
1288
+ delete this.context;
1289
+ } else {
1290
+ delete this.postponed;
1291
+ return null;
1292
+ }
1293
+ }
1294
+ var a = this.args, ret;
1295
+ switch (ce.signature) {
1296
+ case 0:
1297
+ ret = this.fn.call(c, ce.type, args, c);
1298
+ break;
1299
+ case 1:
1300
+ ret = this.fn.call(c, args[0] || null, c);
1301
+ break;
1302
+ default:
1303
+ if (a || args) {
1304
+ args = args || [];
1305
+ a = (a) ? args.concat(a) : args;
1306
+ ret = this.fn.apply(c, a);
1307
+ } else {
1308
+ ret = this.fn.call(c);
1309
+ }
1310
+ }
1311
+
1312
+ if (this.once) {
1313
+ ce._delete(this);
1314
+ }
1315
+
1316
+ return ret;
1317
+ },
1318
+
1319
+ /**
1320
+ * Executes the subscriber.
1321
+ * @method notify
1322
+ * @param args {Array} Arguments array for the subscriber.
1323
+ * @param ce {CustomEvent} The custom event that sent the notification.
1324
+ */
1325
+ notify: function(args, ce) {
1326
+ var c = this.context,
1327
+ ret = true;
1328
+
1329
+ if (!c) {
1330
+ c = (ce.contextFn) ? ce.contextFn() : ce.context;
1331
+ }
1332
+
1333
+ // only catch errors if we will not re-throw them.
1334
+ if (Y.config && Y.config.throwFail) {
1335
+ ret = this._notify(c, args, ce);
1336
+ } else {
1337
+ try {
1338
+ ret = this._notify(c, args, ce);
1339
+ } catch (e) {
1340
+ Y.error(this + ' failed: ' + e.message, e);
1341
+ }
1342
+ }
1343
+
1344
+ return ret;
1345
+ },
1346
+
1347
+ /**
1348
+ * Returns true if the fn and obj match this objects properties.
1349
+ * Used by the unsubscribe method to match the right subscriber.
1350
+ *
1351
+ * @method contains
1352
+ * @param {Function} fn the function to execute.
1353
+ * @param {Object} context optional 'this' keyword for the listener.
1354
+ * @return {boolean} true if the supplied arguments match this
1355
+ * subscriber's signature.
1356
+ */
1357
+ contains: function(fn, context) {
1358
+ if (context) {
1359
+ return ((this.fn === fn) && this.context === context);
1360
+ } else {
1361
+ return (this.fn === fn);
1362
+ }
1363
+ },
1364
+
1365
+ valueOf : function() {
1366
+ return this.id;
1367
+ }
1368
+
1369
+ };
1370
+ /**
1371
+ * Return value from all subscribe operations
1372
+ * @class EventHandle
1373
+ * @constructor
1374
+ * @param {CustomEvent} evt the custom event.
1375
+ * @param {Subscriber} sub the subscriber.
1376
+ */
1377
+ Y.EventHandle = function(evt, sub) {
1378
+
1379
+ /**
1380
+ * The custom event
1381
+ *
1382
+ * @property evt
1383
+ * @type CustomEvent
1384
+ */
1385
+ this.evt = evt;
1386
+
1387
+ /**
1388
+ * The subscriber object
1389
+ *
1390
+ * @property sub
1391
+ * @type Subscriber
1392
+ */
1393
+ this.sub = sub;
1394
+ };
1395
+
1396
+ Y.EventHandle.prototype = {
1397
+ batch: function(f, c) {
1398
+ f.call(c || this, this);
1399
+ if (Y.Lang.isArray(this.evt)) {
1400
+ Y.Array.each(this.evt, function(h) {
1401
+ h.batch.call(c || h, f);
1402
+ });
1403
+ }
1404
+ },
1405
+
1406
+ /**
1407
+ * Detaches this subscriber
1408
+ * @method detach
1409
+ * @return {Number} the number of detached listeners
1410
+ */
1411
+ detach: function() {
1412
+ var evt = this.evt, detached = 0, i;
1413
+ if (evt) {
1414
+ if (Y.Lang.isArray(evt)) {
1415
+ for (i = 0; i < evt.length; i++) {
1416
+ detached += evt[i].detach();
1417
+ }
1418
+ } else {
1419
+ evt._delete(this.sub);
1420
+ detached = 1;
1421
+ }
1422
+
1423
+ }
1424
+
1425
+ return detached;
1426
+ },
1427
+
1428
+ /**
1429
+ * Monitor the event state for the subscribed event. The first parameter
1430
+ * is what should be monitored, the rest are the normal parameters when
1431
+ * subscribing to an event.
1432
+ * @method monitor
1433
+ * @param what {string} what to monitor ('attach', 'detach', 'publish').
1434
+ * @return {EventHandle} return value from the monitor event subscription.
1435
+ */
1436
+ monitor: function(what) {
1437
+ return this.evt.monitor.apply(this.evt, arguments);
1438
+ }
1439
+ };
1440
+
1441
+ /**
1442
+ * Custom event engine, DOM event listener abstraction layer, synthetic DOM
1443
+ * events.
1444
+ * @module event-custom
1445
+ * @submodule event-custom-base
1446
+ */
1447
+
1448
+ /**
1449
+ * EventTarget provides the implementation for any object to
1450
+ * publish, subscribe and fire to custom events, and also
1451
+ * alows other EventTargets to target the object with events
1452
+ * sourced from the other object.
1453
+ * EventTarget is designed to be used with Y.augment to wrap
1454
+ * EventCustom in an interface that allows events to be listened to
1455
+ * and fired by name. This makes it possible for implementing code to
1456
+ * subscribe to an event that either has not been created yet, or will
1457
+ * not be created at all.
1458
+ * @class EventTarget
1459
+ * @param opts a configuration object
1460
+ * @config emitFacade {boolean} if true, all events will emit event
1461
+ * facade payloads by default (default false)
1462
+ * @config prefix {String} the prefix to apply to non-prefixed event names
1463
+ */
1464
+
1465
+ var L = Y.Lang,
1466
+ PREFIX_DELIMITER = ':',
1467
+ CATEGORY_DELIMITER = '|',
1468
+ AFTER_PREFIX = '~AFTER~',
1469
+ WILD_TYPE_RE = /(.*?)(:)(.*?)/,
1470
+
1471
+ _wildType = Y.cached(function(type) {
1472
+ return type.replace(WILD_TYPE_RE, "*$2$3");
1473
+ }),
1474
+
1475
+ /**
1476
+ * If the instance has a prefix attribute and the
1477
+ * event type is not prefixed, the instance prefix is
1478
+ * applied to the supplied type.
1479
+ * @method _getType
1480
+ * @private
1481
+ */
1482
+ _getType = function(type, pre) {
1483
+
1484
+ if (!pre || !type || type.indexOf(PREFIX_DELIMITER) > -1) {
1485
+ return type;
1486
+ }
1487
+
1488
+ return pre + PREFIX_DELIMITER + type;
1489
+ },
1490
+
1491
+ /**
1492
+ * Returns an array with the detach key (if provided),
1493
+ * and the prefixed event name from _getType
1494
+ * Y.on('detachcategory| menu:click', fn)
1495
+ * @method _parseType
1496
+ * @private
1497
+ */
1498
+ _parseType = Y.cached(function(type, pre) {
1499
+
1500
+ var t = type, detachcategory, after, i;
1501
+
1502
+ if (!L.isString(t)) {
1503
+ return t;
1504
+ }
1505
+
1506
+ i = t.indexOf(AFTER_PREFIX);
1507
+
1508
+ if (i > -1) {
1509
+ after = true;
1510
+ t = t.substr(AFTER_PREFIX.length);
1511
+ }
1512
+
1513
+ i = t.indexOf(CATEGORY_DELIMITER);
1514
+
1515
+ if (i > -1) {
1516
+ detachcategory = t.substr(0, (i));
1517
+ t = t.substr(i+1);
1518
+ if (t === '*') {
1519
+ t = null;
1520
+ }
1521
+ }
1522
+
1523
+ // detach category, full type with instance prefix, is this an after listener, short type
1524
+ return [detachcategory, (pre) ? _getType(t, pre) : t, after, t];
1525
+ }),
1526
+
1527
+ ET = function(opts) {
1528
+
1529
+ var etState = this._yuievt,
1530
+ etConfig;
1531
+
1532
+ if (!etState) {
1533
+ etState = this._yuievt = {
1534
+ events: {}, // PERF: Not much point instantiating lazily. We're bound to have events
1535
+ targets: null, // PERF: Instantiate lazily, if user actually adds target,
1536
+ config: {
1537
+ host: this,
1538
+ context: this
1539
+ },
1540
+ chain: Y.config.chain
1541
+ };
1542
+ }
1543
+
1544
+ etConfig = etState.config;
1545
+
1546
+ if (opts) {
1547
+ mixConfigs(etConfig, opts, true);
1548
+
1549
+ if (opts.chain !== undefined) {
1550
+ etState.chain = opts.chain;
1551
+ }
1552
+
1553
+ if (opts.prefix) {
1554
+ etConfig.prefix = opts.prefix;
1555
+ }
1556
+ }
1557
+ };
1558
+
1559
+ ET.prototype = {
1560
+
1561
+ constructor: ET,
1562
+
1563
+ /**
1564
+ * Listen to a custom event hosted by this object one time.
1565
+ * This is the equivalent to <code>on</code> except the
1566
+ * listener is immediatelly detached when it is executed.
1567
+ * @method once
1568
+ * @param {String} type The name of the event
1569
+ * @param {Function} fn The callback to execute in response to the event
1570
+ * @param {Object} [context] Override `this` object in callback
1571
+ * @param {Any} [arg*] 0..n additional arguments to supply to the subscriber
1572
+ * @return {EventHandle} A subscription handle capable of detaching the
1573
+ * subscription
1574
+ */
1575
+ once: function() {
1576
+ var handle = this.on.apply(this, arguments);
1577
+ handle.batch(function(hand) {
1578
+ if (hand.sub) {
1579
+ hand.sub.once = true;
1580
+ }
1581
+ });
1582
+ return handle;
1583
+ },
1584
+
1585
+ /**
1586
+ * Listen to a custom event hosted by this object one time.
1587
+ * This is the equivalent to <code>after</code> except the
1588
+ * listener is immediatelly detached when it is executed.
1589
+ * @method onceAfter
1590
+ * @param {String} type The name of the event
1591
+ * @param {Function} fn The callback to execute in response to the event
1592
+ * @param {Object} [context] Override `this` object in callback
1593
+ * @param {Any} [arg*] 0..n additional arguments to supply to the subscriber
1594
+ * @return {EventHandle} A subscription handle capable of detaching that
1595
+ * subscription
1596
+ */
1597
+ onceAfter: function() {
1598
+ var handle = this.after.apply(this, arguments);
1599
+ handle.batch(function(hand) {
1600
+ if (hand.sub) {
1601
+ hand.sub.once = true;
1602
+ }
1603
+ });
1604
+ return handle;
1605
+ },
1606
+
1607
+ /**
1608
+ * Takes the type parameter passed to 'on' and parses out the
1609
+ * various pieces that could be included in the type. If the
1610
+ * event type is passed without a prefix, it will be expanded
1611
+ * to include the prefix one is supplied or the event target
1612
+ * is configured with a default prefix.
1613
+ * @method parseType
1614
+ * @param {String} type the type
1615
+ * @param {String} [pre] The prefix. Defaults to this._yuievt.config.prefix
1616
+ * @since 3.3.0
1617
+ * @return {Array} an array containing:
1618
+ * * the detach category, if supplied,
1619
+ * * the prefixed event type,
1620
+ * * whether or not this is an after listener,
1621
+ * * the supplied event type
1622
+ */
1623
+ parseType: function(type, pre) {
1624
+ return _parseType(type, pre || this._yuievt.config.prefix);
1625
+ },
1626
+
1627
+ /**
1628
+ * Subscribe a callback function to a custom event fired by this object or
1629
+ * from an object that bubbles its events to this object.
1630
+ *
1631
+ * this.on("change", this._onChange, this);
1632
+ *
1633
+ * Callback functions for events published with `emitFacade = true` will
1634
+ * receive an `EventFacade` as the first argument (typically named "e").
1635
+ * These callbacks can then call `e.preventDefault()` to disable the
1636
+ * behavior published to that event's `defaultFn`. See the `EventFacade`
1637
+ * API for all available properties and methods. Subscribers to
1638
+ * non-`emitFacade` events will receive the arguments passed to `fire()`
1639
+ * after the event name.
1640
+ *
1641
+ * To subscribe to multiple events at once, pass an object as the first
1642
+ * argument, where the key:value pairs correspond to the eventName:callback.
1643
+ *
1644
+ * this.on({
1645
+ * "attrChange" : this._onAttrChange,
1646
+ * "change" : this._onChange
1647
+ * });
1648
+ *
1649
+ * You can also pass an array of event names as the first argument to
1650
+ * subscribe to all listed events with the same callback.
1651
+ *
1652
+ * this.on([ "change", "attrChange" ], this._onChange);
1653
+ *
1654
+ * Returning `false` from a callback is supported as an alternative to
1655
+ * calling `e.preventDefault(); e.stopPropagation();`. However, it is
1656
+ * recommended to use the event methods whenever possible.
1657
+ *
1658
+ * @method on
1659
+ * @param {String} type The name of the event
1660
+ * @param {Function} fn The callback to execute in response to the event
1661
+ * @param {Object} [context] Override `this` object in callback
1662
+ * @param {Any} [arg*] 0..n additional arguments to supply to the subscriber
1663
+ * @return {EventHandle} A subscription handle capable of detaching that
1664
+ * subscription
1665
+ */
1666
+ on: function(type, fn, context) {
1667
+
1668
+ var yuievt = this._yuievt,
1669
+ parts = _parseType(type, yuievt.config.prefix), f, c, args, ret, ce,
1670
+ detachcategory, handle, store = Y.Env.evt.handles, after, adapt, shorttype,
1671
+ Node = Y.Node, n, domevent, isArr;
1672
+
1673
+ // full name, args, detachcategory, after
1674
+ this._monitor('attach', parts[1], {
1675
+ args: arguments,
1676
+ category: parts[0],
1677
+ after: parts[2]
1678
+ });
1679
+
1680
+ if (L.isObject(type)) {
1681
+
1682
+ if (L.isFunction(type)) {
1683
+ return Y.Do.before.apply(Y.Do, arguments);
1684
+ }
1685
+
1686
+ f = fn;
1687
+ c = context;
1688
+ args = nativeSlice.call(arguments, 0);
1689
+ ret = [];
1690
+
1691
+ if (L.isArray(type)) {
1692
+ isArr = true;
1693
+ }
1694
+
1695
+ after = type._after;
1696
+ delete type._after;
1697
+
1698
+ Y.each(type, function(v, k) {
1699
+
1700
+ if (L.isObject(v)) {
1701
+ f = v.fn || ((L.isFunction(v)) ? v : f);
1702
+ c = v.context || c;
1703
+ }
1704
+
1705
+ var nv = (after) ? AFTER_PREFIX : '';
1706
+
1707
+ args[0] = nv + ((isArr) ? v : k);
1708
+ args[1] = f;
1709
+ args[2] = c;
1710
+
1711
+ ret.push(this.on.apply(this, args));
1712
+
1713
+ }, this);
1714
+
1715
+ return (yuievt.chain) ? this : new Y.EventHandle(ret);
1716
+ }
1717
+
1718
+ detachcategory = parts[0];
1719
+ after = parts[2];
1720
+ shorttype = parts[3];
1721
+
1722
+ // extra redirection so we catch adaptor events too. take a look at this.
1723
+ if (Node && Y.instanceOf(this, Node) && (shorttype in Node.DOM_EVENTS)) {
1724
+ args = nativeSlice.call(arguments, 0);
1725
+ args.splice(2, 0, Node.getDOMNode(this));
1726
+ return Y.on.apply(Y, args);
1727
+ }
1728
+
1729
+ type = parts[1];
1730
+
1731
+ if (Y.instanceOf(this, YUI)) {
1732
+
1733
+ adapt = Y.Env.evt.plugins[type];
1734
+ args = nativeSlice.call(arguments, 0);
1735
+ args[0] = shorttype;
1736
+
1737
+ if (Node) {
1738
+ n = args[2];
1739
+
1740
+ if (Y.instanceOf(n, Y.NodeList)) {
1741
+ n = Y.NodeList.getDOMNodes(n);
1742
+ } else if (Y.instanceOf(n, Node)) {
1743
+ n = Node.getDOMNode(n);
1744
+ }
1745
+
1746
+ domevent = (shorttype in Node.DOM_EVENTS);
1747
+
1748
+ // Captures both DOM events and event plugins.
1749
+ if (domevent) {
1750
+ args[2] = n;
1751
+ }
1752
+ }
1753
+
1754
+ // check for the existance of an event adaptor
1755
+ if (adapt) {
1756
+ handle = adapt.on.apply(Y, args);
1757
+ } else if ((!type) || domevent) {
1758
+ handle = Y.Event._attach(args);
1759
+ }
1760
+
1761
+ }
1762
+
1763
+ if (!handle) {
1764
+ ce = yuievt.events[type] || this.publish(type);
1765
+ handle = ce._on(fn, context, (arguments.length > 3) ? nativeSlice.call(arguments, 3) : null, (after) ? 'after' : true);
1766
+
1767
+ // TODO: More robust regex, accounting for category
1768
+ if (type.indexOf("*:") !== -1) {
1769
+ this._hasSiblings = true;
1770
+ }
1771
+ }
1772
+
1773
+ if (detachcategory) {
1774
+ store[detachcategory] = store[detachcategory] || {};
1775
+ store[detachcategory][type] = store[detachcategory][type] || [];
1776
+ store[detachcategory][type].push(handle);
1777
+ }
1778
+
1779
+ return (yuievt.chain) ? this : handle;
1780
+
1781
+ },
1782
+
1783
+ /**
1784
+ * subscribe to an event
1785
+ * @method subscribe
1786
+ * @deprecated use on
1787
+ */
1788
+ subscribe: function() {
1789
+ return this.on.apply(this, arguments);
1790
+ },
1791
+
1792
+ /**
1793
+ * Detach one or more listeners the from the specified event
1794
+ * @method detach
1795
+ * @param type {string|Object} Either the handle to the subscriber or the
1796
+ * type of event. If the type
1797
+ * is not specified, it will attempt to remove
1798
+ * the listener from all hosted events.
1799
+ * @param fn {Function} The subscribed function to unsubscribe, if not
1800
+ * supplied, all subscribers will be removed.
1801
+ * @param context {Object} The custom object passed to subscribe. This is
1802
+ * optional, but if supplied will be used to
1803
+ * disambiguate multiple listeners that are the same
1804
+ * (e.g., you subscribe many object using a function
1805
+ * that lives on the prototype)
1806
+ * @return {EventTarget} the host
1807
+ */
1808
+ detach: function(type, fn, context) {
1809
+
1810
+ var evts = this._yuievt.events,
1811
+ i,
1812
+ Node = Y.Node,
1813
+ isNode = Node && (Y.instanceOf(this, Node));
1814
+
1815
+ // detachAll disabled on the Y instance.
1816
+ if (!type && (this !== Y)) {
1817
+ for (i in evts) {
1818
+ if (evts.hasOwnProperty(i)) {
1819
+ evts[i].detach(fn, context);
1820
+ }
1821
+ }
1822
+ if (isNode) {
1823
+ Y.Event.purgeElement(Node.getDOMNode(this));
1824
+ }
1825
+
1826
+ return this;
1827
+ }
1828
+
1829
+ var parts = _parseType(type, this._yuievt.config.prefix),
1830
+ detachcategory = L.isArray(parts) ? parts[0] : null,
1831
+ shorttype = (parts) ? parts[3] : null,
1832
+ adapt, store = Y.Env.evt.handles, detachhost, cat, args,
1833
+ ce,
1834
+
1835
+ keyDetacher = function(lcat, ltype, host) {
1836
+ var handles = lcat[ltype], ce, i;
1837
+ if (handles) {
1838
+ for (i = handles.length - 1; i >= 0; --i) {
1839
+ ce = handles[i].evt;
1840
+ if (ce.host === host || ce.el === host) {
1841
+ handles[i].detach();
1842
+ }
1843
+ }
1844
+ }
1845
+ };
1846
+
1847
+ if (detachcategory) {
1848
+
1849
+ cat = store[detachcategory];
1850
+ type = parts[1];
1851
+ detachhost = (isNode) ? Y.Node.getDOMNode(this) : this;
1852
+
1853
+ if (cat) {
1854
+ if (type) {
1855
+ keyDetacher(cat, type, detachhost);
1856
+ } else {
1857
+ for (i in cat) {
1858
+ if (cat.hasOwnProperty(i)) {
1859
+ keyDetacher(cat, i, detachhost);
1860
+ }
1861
+ }
1862
+ }
1863
+
1864
+ return this;
1865
+ }
1866
+
1867
+ // If this is an event handle, use it to detach
1868
+ } else if (L.isObject(type) && type.detach) {
1869
+ type.detach();
1870
+ return this;
1871
+ // extra redirection so we catch adaptor events too. take a look at this.
1872
+ } else if (isNode && ((!shorttype) || (shorttype in Node.DOM_EVENTS))) {
1873
+ args = nativeSlice.call(arguments, 0);
1874
+ args[2] = Node.getDOMNode(this);
1875
+ Y.detach.apply(Y, args);
1876
+ return this;
1877
+ }
1878
+
1879
+ adapt = Y.Env.evt.plugins[shorttype];
1880
+
1881
+ // The YUI instance handles DOM events and adaptors
1882
+ if (Y.instanceOf(this, YUI)) {
1883
+ args = nativeSlice.call(arguments, 0);
1884
+ // use the adaptor specific detach code if
1885
+ if (adapt && adapt.detach) {
1886
+ adapt.detach.apply(Y, args);
1887
+ return this;
1888
+ // DOM event fork
1889
+ } else if (!type || (!adapt && Node && (type in Node.DOM_EVENTS))) {
1890
+ args[0] = type;
1891
+ Y.Event.detach.apply(Y.Event, args);
1892
+ return this;
1893
+ }
1894
+ }
1895
+
1896
+ // ce = evts[type];
1897
+ ce = evts[parts[1]];
1898
+ if (ce) {
1899
+ ce.detach(fn, context);
1900
+ }
1901
+
1902
+ return this;
1903
+ },
1904
+
1905
+ /**
1906
+ * detach a listener
1907
+ * @method unsubscribe
1908
+ * @deprecated use detach
1909
+ */
1910
+ unsubscribe: function() {
1911
+ return this.detach.apply(this, arguments);
1912
+ },
1913
+
1914
+ /**
1915
+ * Removes all listeners from the specified event. If the event type
1916
+ * is not specified, all listeners from all hosted custom events will
1917
+ * be removed.
1918
+ * @method detachAll
1919
+ * @param type {String} The type, or name of the event
1920
+ */
1921
+ detachAll: function(type) {
1922
+ return this.detach(type);
1923
+ },
1924
+
1925
+ /**
1926
+ * Removes all listeners from the specified event. If the event type
1927
+ * is not specified, all listeners from all hosted custom events will
1928
+ * be removed.
1929
+ * @method unsubscribeAll
1930
+ * @param type {String} The type, or name of the event
1931
+ * @deprecated use detachAll
1932
+ */
1933
+ unsubscribeAll: function() {
1934
+ return this.detachAll.apply(this, arguments);
1935
+ },
1936
+
1937
+ /**
1938
+ * Creates a new custom event of the specified type. If a custom event
1939
+ * by that name already exists, it will not be re-created. In either
1940
+ * case the custom event is returned.
1941
+ *
1942
+ * @method publish
1943
+ *
1944
+ * @param type {String} the type, or name of the event
1945
+ * @param opts {object} optional config params. Valid properties are:
1946
+ * @param [opts.broadcast=false] {Boolean} whether or not the YUI instance and YUI global
1947
+ * are notified when the event is fired.
1948
+ * @param [opts.bubbles=true] {Boolean} Whether or not this event bubbles. Events can
1949
+ * only bubble if `emitFacade` is true.
1950
+ * @param [opts.context=this] {Object} the default execution context for the listeners.
1951
+ * @param [opts.defaultFn] {Function} the default function to execute when this event
1952
+ * fires if preventDefault was not called.
1953
+ * @param [opts.emitFacade=false] {Boolean} whether or not this event emits a facade.
1954
+ * @param [opts.prefix] {String} the prefix for this targets events, e.g., 'menu' in 'menu:click'.
1955
+ * @param [opts.fireOnce=false] {Boolean} if an event is configured to fire once,
1956
+ * new subscribers after the fire will be notified immediately.
1957
+ * @param [opts.async=false] {Boolean} fireOnce event listeners will fire synchronously
1958
+ * if the event has already fired unless `async` is `true`.
1959
+ * @param [opts.preventable=true] {Boolean} whether or not `preventDefault()` has an effect.
1960
+ * @param [opts.preventedFn] {Function} a function that is executed when `preventDefault()` is called.
1961
+ * @param [opts.queuable=false] {Boolean} whether or not this event can be queued during bubbling.
1962
+ * @param [opts.silent] {Boolean} if silent is true, debug messages are not provided for this event.
1963
+ * @param [opts.stoppedFn] {Function} a function that is executed when stopPropagation is called.
1964
+ * @param [opts.monitored] {Boolean} specifies whether or not this event should send notifications about
1965
+ * when the event has been attached, detached, or published.
1966
+ * @param [opts.type] {String} the event type (valid option if not provided as the first parameter to publish).
1967
+ *
1968
+ * @return {CustomEvent} the custom event
1969
+ *
1970
+ */
1971
+ publish: function(type, opts) {
1972
+
1973
+ var ret,
1974
+ etState = this._yuievt,
1975
+ etConfig = etState.config,
1976
+ pre = etConfig.prefix;
1977
+
1978
+ if (typeof type === "string") {
1979
+ if (pre) {
1980
+ type = _getType(type, pre);
1981
+ }
1982
+ ret = this._publish(type, etConfig, opts);
1983
+ } else {
1984
+ ret = {};
1985
+
1986
+ Y.each(type, function(v, k) {
1987
+ if (pre) {
1988
+ k = _getType(k, pre);
1989
+ }
1990
+ ret[k] = this._publish(k, etConfig, v || opts);
1991
+ }, this);
1992
+
1993
+ }
1994
+
1995
+ return ret;
1996
+ },
1997
+
1998
+ /**
1999
+ * Returns the fully qualified type, given a short type string.
2000
+ * That is, returns "foo:bar" when given "bar" if "foo" is the configured prefix.
2001
+ *
2002
+ * NOTE: This method, unlike _getType, does no checking of the value passed in, and
2003
+ * is designed to be used with the low level _publish() method, for critical path
2004
+ * implementations which need to fast-track publish for performance reasons.
2005
+ *
2006
+ * @method _getFullType
2007
+ * @private
2008
+ * @param {String} type The short type to prefix
2009
+ * @return {String} The prefixed type, if a prefix is set, otherwise the type passed in
2010
+ */
2011
+ _getFullType : function(type) {
2012
+
2013
+ var pre = this._yuievt.config.prefix;
2014
+
2015
+ if (pre) {
2016
+ return pre + PREFIX_DELIMITER + type;
2017
+ } else {
2018
+ return type;
2019
+ }
2020
+ },
2021
+
2022
+ /**
2023
+ * The low level event publish implementation. It expects all the massaging to have been done
2024
+ * outside of this method. e.g. the `type` to `fullType` conversion. It's designed to be a fast
2025
+ * path publish, which can be used by critical code paths to improve performance.
2026
+ *
2027
+ * @method _publish
2028
+ * @private
2029
+ * @param {String} fullType The prefixed type of the event to publish.
2030
+ * @param {Object} etOpts The EventTarget specific configuration to mix into the published event.
2031
+ * @param {Object} ceOpts The publish specific configuration to mix into the published event.
2032
+ * @return {CustomEvent} The published event. If called without `etOpts` or `ceOpts`, this will
2033
+ * be the default `CustomEvent` instance, and can be configured independently.
2034
+ */
2035
+ _publish : function(fullType, etOpts, ceOpts) {
2036
+
2037
+ var ce,
2038
+ etState = this._yuievt,
2039
+ etConfig = etState.config,
2040
+ host = etConfig.host,
2041
+ context = etConfig.context,
2042
+ events = etState.events;
2043
+
2044
+ ce = events[fullType];
2045
+
2046
+ // PERF: Hate to pull the check out of monitor, but trying to keep critical path tight.
2047
+ if ((etConfig.monitored && !ce) || (ce && ce.monitored)) {
2048
+ this._monitor('publish', fullType, {
2049
+ args: arguments
2050
+ });
2051
+ }
2052
+
2053
+ if (!ce) {
2054
+ // Publish event
2055
+ ce = events[fullType] = new Y.CustomEvent(fullType, etOpts);
2056
+
2057
+ if (!etOpts) {
2058
+ ce.host = host;
2059
+ ce.context = context;
2060
+ }
2061
+ }
2062
+
2063
+ if (ceOpts) {
2064
+ mixConfigs(ce, ceOpts, true);
2065
+ }
2066
+
2067
+ return ce;
2068
+ },
2069
+
2070
+ /**
2071
+ * This is the entry point for the event monitoring system.
2072
+ * You can monitor 'attach', 'detach', 'fire', and 'publish'.
2073
+ * When configured, these events generate an event. click ->
2074
+ * click_attach, click_detach, click_publish -- these can
2075
+ * be subscribed to like other events to monitor the event
2076
+ * system. Inividual published events can have monitoring
2077
+ * turned on or off (publish can't be turned off before it
2078
+ * it published) by setting the events 'monitor' config.
2079
+ *
2080
+ * @method _monitor
2081
+ * @param what {String} 'attach', 'detach', 'fire', or 'publish'
2082
+ * @param eventType {String|CustomEvent} The prefixed name of the event being monitored, or the CustomEvent object.
2083
+ * @param o {Object} Information about the event interaction, such as
2084
+ * fire() args, subscription category, publish config
2085
+ * @private
2086
+ */
2087
+ _monitor: function(what, eventType, o) {
2088
+ var monitorevt, ce, type;
2089
+
2090
+ if (eventType) {
2091
+ if (typeof eventType === "string") {
2092
+ type = eventType;
2093
+ ce = this.getEvent(eventType, true);
2094
+ } else {
2095
+ ce = eventType;
2096
+ type = eventType.type;
2097
+ }
2098
+
2099
+ if ((this._yuievt.config.monitored && (!ce || ce.monitored)) || (ce && ce.monitored)) {
2100
+ monitorevt = type + '_' + what;
2101
+ o.monitored = what;
2102
+ this.fire.call(this, monitorevt, o);
2103
+ }
2104
+ }
2105
+ },
2106
+
2107
+ /**
2108
+ * Fire a custom event by name. The callback functions will be executed
2109
+ * from the context specified when the event was created, and with the
2110
+ * following parameters.
2111
+ *
2112
+ * The first argument is the event type, and any additional arguments are
2113
+ * passed to the listeners as parameters. If the first of these is an
2114
+ * object literal, and the event is configured to emit an event facade,
2115
+ * that object is mixed into the event facade and the facade is provided
2116
+ * in place of the original object.
2117
+ *
2118
+ * If the custom event object hasn't been created, then the event hasn't
2119
+ * been published and it has no subscribers. For performance sake, we
2120
+ * immediate exit in this case. This means the event won't bubble, so
2121
+ * if the intention is that a bubble target be notified, the event must
2122
+ * be published on this object first.
2123
+ *
2124
+ * @method fire
2125
+ * @param type {String|Object} The type of the event, or an object that contains
2126
+ * a 'type' property.
2127
+ * @param arguments {Object*} an arbitrary set of parameters to pass to
2128
+ * the handler. If the first of these is an object literal and the event is
2129
+ * configured to emit an event facade, the event facade will replace that
2130
+ * parameter after the properties the object literal contains are copied to
2131
+ * the event facade.
2132
+ * @return {Boolean} True if the whole lifecycle of the event went through,
2133
+ * false if at any point the event propagation was halted.
2134
+ */
2135
+ fire: function(type) {
2136
+
2137
+ var typeIncluded = (typeof type === "string"),
2138
+ argCount = arguments.length,
2139
+ t = type,
2140
+ yuievt = this._yuievt,
2141
+ etConfig = yuievt.config,
2142
+ pre = etConfig.prefix,
2143
+ ret,
2144
+ ce,
2145
+ ce2,
2146
+ args;
2147
+
2148
+ if (typeIncluded && argCount <= 3) {
2149
+
2150
+ // PERF: Try to avoid slice/iteration for the common signatures
2151
+
2152
+ // Most common
2153
+ if (argCount === 2) {
2154
+ args = [arguments[1]]; // fire("foo", {})
2155
+ } else if (argCount === 3) {
2156
+ args = [arguments[1], arguments[2]]; // fire("foo", {}, opts)
2157
+ } else {
2158
+ args = []; // fire("foo")
2159
+ }
2160
+
2161
+ } else {
2162
+ args = nativeSlice.call(arguments, ((typeIncluded) ? 1 : 0));
2163
+ }
2164
+
2165
+ if (!typeIncluded) {
2166
+ t = (type && type.type);
2167
+ }
2168
+
2169
+ if (pre) {
2170
+ t = _getType(t, pre);
2171
+ }
2172
+
2173
+ ce = yuievt.events[t];
2174
+
2175
+ if (this._hasSiblings) {
2176
+ ce2 = this.getSibling(t, ce);
2177
+
2178
+ if (ce2 && !ce) {
2179
+ ce = this.publish(t);
2180
+ }
2181
+ }
2182
+
2183
+ // PERF: trying to avoid function call, since this is a critical path
2184
+ if ((etConfig.monitored && (!ce || ce.monitored)) || (ce && ce.monitored)) {
2185
+ this._monitor('fire', (ce || t), {
2186
+ args: args
2187
+ });
2188
+ }
2189
+
2190
+ // this event has not been published or subscribed to
2191
+ if (!ce) {
2192
+ if (yuievt.hasTargets) {
2193
+ return this.bubble({ type: t }, args, this);
2194
+ }
2195
+
2196
+ // otherwise there is nothing to be done
2197
+ ret = true;
2198
+ } else {
2199
+
2200
+ if (ce2) {
2201
+ ce.sibling = ce2;
2202
+ }
2203
+
2204
+ ret = ce._fire(args);
2205
+ }
2206
+
2207
+ return (yuievt.chain) ? this : ret;
2208
+ },
2209
+
2210
+ getSibling: function(type, ce) {
2211
+ var ce2;
2212
+
2213
+ // delegate to *:type events if there are subscribers
2214
+ if (type.indexOf(PREFIX_DELIMITER) > -1) {
2215
+ type = _wildType(type);
2216
+ ce2 = this.getEvent(type, true);
2217
+ if (ce2) {
2218
+ ce2.applyConfig(ce);
2219
+ ce2.bubbles = false;
2220
+ ce2.broadcast = 0;
2221
+ }
2222
+ }
2223
+
2224
+ return ce2;
2225
+ },
2226
+
2227
+ /**
2228
+ * Returns the custom event of the provided type has been created, a
2229
+ * falsy value otherwise
2230
+ * @method getEvent
2231
+ * @param type {String} the type, or name of the event
2232
+ * @param prefixed {String} if true, the type is prefixed already
2233
+ * @return {CustomEvent} the custom event or null
2234
+ */
2235
+ getEvent: function(type, prefixed) {
2236
+ var pre, e;
2237
+
2238
+ if (!prefixed) {
2239
+ pre = this._yuievt.config.prefix;
2240
+ type = (pre) ? _getType(type, pre) : type;
2241
+ }
2242
+ e = this._yuievt.events;
2243
+ return e[type] || null;
2244
+ },
2245
+
2246
+ /**
2247
+ * Subscribe to a custom event hosted by this object. The
2248
+ * supplied callback will execute after any listeners add
2249
+ * via the subscribe method, and after the default function,
2250
+ * if configured for the event, has executed.
2251
+ *
2252
+ * @method after
2253
+ * @param {String} type The name of the event
2254
+ * @param {Function} fn The callback to execute in response to the event
2255
+ * @param {Object} [context] Override `this` object in callback
2256
+ * @param {Any} [arg*] 0..n additional arguments to supply to the subscriber
2257
+ * @return {EventHandle} A subscription handle capable of detaching the
2258
+ * subscription
2259
+ */
2260
+ after: function(type, fn) {
2261
+
2262
+ var a = nativeSlice.call(arguments, 0);
2263
+
2264
+ switch (L.type(type)) {
2265
+ case 'function':
2266
+ return Y.Do.after.apply(Y.Do, arguments);
2267
+ case 'array':
2268
+ // YArray.each(a[0], function(v) {
2269
+ // v = AFTER_PREFIX + v;
2270
+ // });
2271
+ // break;
2272
+ case 'object':
2273
+ a[0]._after = true;
2274
+ break;
2275
+ default:
2276
+ a[0] = AFTER_PREFIX + type;
2277
+ }
2278
+
2279
+ return this.on.apply(this, a);
2280
+
2281
+ },
2282
+
2283
+ /**
2284
+ * Executes the callback before a DOM event, custom event
2285
+ * or method. If the first argument is a function, it
2286
+ * is assumed the target is a method. For DOM and custom
2287
+ * events, this is an alias for Y.on.
2288
+ *
2289
+ * For DOM and custom events:
2290
+ * type, callback, context, 0-n arguments
2291
+ *
2292
+ * For methods:
2293
+ * callback, object (method host), methodName, context, 0-n arguments
2294
+ *
2295
+ * @method before
2296
+ * @return detach handle
2297
+ */
2298
+ before: function() {
2299
+ return this.on.apply(this, arguments);
2300
+ }
2301
+
2302
+ };
2303
+
2304
+ Y.EventTarget = ET;
2305
+
2306
+ // make Y an event target
2307
+ Y.mix(Y, ET.prototype);
2308
+ ET.call(Y, { bubbles: false });
2309
+
2310
+ YUI.Env.globalEvents = YUI.Env.globalEvents || new ET();
2311
+
2312
+ /**
2313
+ * Hosts YUI page level events. This is where events bubble to
2314
+ * when the broadcast config is set to 2. This property is
2315
+ * only available if the custom event module is loaded.
2316
+ * @property Global
2317
+ * @type EventTarget
2318
+ * @for YUI
2319
+ */
2320
+ Y.Global = YUI.Env.globalEvents;
2321
+
2322
+ // @TODO implement a global namespace function on Y.Global?
2323
+
2324
+ /**
2325
+ `Y.on()` can do many things:
2326
+
2327
+ <ul>
2328
+ <li>Subscribe to custom events `publish`ed and `fire`d from Y</li>
2329
+ <li>Subscribe to custom events `publish`ed with `broadcast` 1 or 2 and
2330
+ `fire`d from any object in the YUI instance sandbox</li>
2331
+ <li>Subscribe to DOM events</li>
2332
+ <li>Subscribe to the execution of a method on any object, effectively
2333
+ treating that method as an event</li>
2334
+ </ul>
2335
+
2336
+ For custom event subscriptions, pass the custom event name as the first argument
2337
+ and callback as the second. The `this` object in the callback will be `Y` unless
2338
+ an override is passed as the third argument.
2339
+
2340
+ Y.on('io:complete', function () {
2341
+ Y.MyApp.updateStatus('Transaction complete');
2342
+ });
2343
+
2344
+ To subscribe to DOM events, pass the name of a DOM event as the first argument
2345
+ and a CSS selector string as the third argument after the callback function.
2346
+ Alternately, the third argument can be a `Node`, `NodeList`, `HTMLElement`,
2347
+ array, or simply omitted (the default is the `window` object).
2348
+
2349
+ Y.on('click', function (e) {
2350
+ e.preventDefault();
2351
+
2352
+ // proceed with ajax form submission
2353
+ var url = this.get('action');
2354
+ ...
2355
+ }, '#my-form');
2356
+
2357
+ The `this` object in DOM event callbacks will be the `Node` targeted by the CSS
2358
+ selector or other identifier.
2359
+
2360
+ `on()` subscribers for DOM events or custom events `publish`ed with a
2361
+ `defaultFn` can prevent the default behavior with `e.preventDefault()` from the
2362
+ event object passed as the first parameter to the subscription callback.
2363
+
2364
+ To subscribe to the execution of an object method, pass arguments corresponding to the call signature for
2365
+ <a href="../classes/Do.html#methods_before">`Y.Do.before(...)`</a>.
2366
+
2367
+ NOTE: The formal parameter list below is for events, not for function
2368
+ injection. See `Y.Do.before` for that signature.
2369
+
2370
+ @method on
2371
+ @param {String} type DOM or custom event name
2372
+ @param {Function} fn The callback to execute in response to the event
2373
+ @param {Object} [context] Override `this` object in callback
2374
+ @param {Any} [arg*] 0..n additional arguments to supply to the subscriber
2375
+ @return {EventHandle} A subscription handle capable of detaching the
2376
+ subscription
2377
+ @see Do.before
2378
+ @for YUI
2379
+ **/
2380
+
2381
+ /**
2382
+ Listen for an event one time. Equivalent to `on()`, except that
2383
+ the listener is immediately detached when executed.
2384
+
2385
+ See the <a href="#methods_on">`on()` method</a> for additional subscription
2386
+ options.
2387
+
2388
+ @see on
2389
+ @method once
2390
+ @param {String} type DOM or custom event name
2391
+ @param {Function} fn The callback to execute in response to the event
2392
+ @param {Object} [context] Override `this` object in callback
2393
+ @param {Any} [arg*] 0..n additional arguments to supply to the subscriber
2394
+ @return {EventHandle} A subscription handle capable of detaching the
2395
+ subscription
2396
+ @for YUI
2397
+ **/
2398
+
2399
+ /**
2400
+ Listen for an event one time. Equivalent to `once()`, except, like `after()`,
2401
+ the subscription callback executes after all `on()` subscribers and the event's
2402
+ `defaultFn` (if configured) have executed. Like `after()` if any `on()` phase
2403
+ subscriber calls `e.preventDefault()`, neither the `defaultFn` nor the `after()`
2404
+ subscribers will execute.
2405
+
2406
+ The listener is immediately detached when executed.
2407
+
2408
+ See the <a href="#methods_on">`on()` method</a> for additional subscription
2409
+ options.
2410
+
2411
+ @see once
2412
+ @method onceAfter
2413
+ @param {String} type The custom event name
2414
+ @param {Function} fn The callback to execute in response to the event
2415
+ @param {Object} [context] Override `this` object in callback
2416
+ @param {Any} [arg*] 0..n additional arguments to supply to the subscriber
2417
+ @return {EventHandle} A subscription handle capable of detaching the
2418
+ subscription
2419
+ @for YUI
2420
+ **/
2421
+
2422
+ /**
2423
+ Like `on()`, this method creates a subscription to a custom event or to the
2424
+ execution of a method on an object.
2425
+
2426
+ For events, `after()` subscribers are executed after the event's
2427
+ `defaultFn` unless `e.preventDefault()` was called from an `on()` subscriber.
2428
+
2429
+ See the <a href="#methods_on">`on()` method</a> for additional subscription
2430
+ options.
2431
+
2432
+ NOTE: The subscription signature shown is for events, not for function
2433
+ injection. See <a href="../classes/Do.html#methods_after">`Y.Do.after`</a>
2434
+ for that signature.
2435
+
2436
+ @see on
2437
+ @see Do.after
2438
+ @method after
2439
+ @param {String} type The custom event name
2440
+ @param {Function} fn The callback to execute in response to the event
2441
+ @param {Object} [context] Override `this` object in callback
2442
+ @param {Any} [args*] 0..n additional arguments to supply to the subscriber
2443
+ @return {EventHandle} A subscription handle capable of detaching the
2444
+ subscription
2445
+ @for YUI
2446
+ **/
2447
+
2448
+
2449
+ }, '@VERSION@', {"requires": ["oop"]});