@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,1818 @@
1
+ YUI.add('router', function (Y, NAME) {
2
+
3
+ /**
4
+ Provides URL-based routing using HTML5 `pushState()` or the location hash.
5
+
6
+ @module app
7
+ @submodule router
8
+ @since 3.4.0
9
+ **/
10
+
11
+ var HistoryHash = Y.HistoryHash,
12
+ QS = Y.QueryString,
13
+ YArray = Y.Array,
14
+ YLang = Y.Lang,
15
+ YObject = Y.Object,
16
+
17
+ win = Y.config.win,
18
+
19
+ // Holds all the active router instances. This supports the static
20
+ // `dispatch()` method which causes all routers to dispatch.
21
+ instances = [],
22
+
23
+ // We have to queue up pushState calls to avoid race conditions, since the
24
+ // popstate event doesn't actually provide any info on what URL it's
25
+ // associated with.
26
+ saveQueue = [],
27
+
28
+ /**
29
+ Fired when the router is ready to begin dispatching to route handlers.
30
+
31
+ You shouldn't need to wait for this event unless you plan to implement some
32
+ kind of custom dispatching logic. It's used internally in order to avoid
33
+ dispatching to an initial route if a browser history change occurs first.
34
+
35
+ @event ready
36
+ @param {Boolean} dispatched `true` if routes have already been dispatched
37
+ (most likely due to a history change).
38
+ @fireOnce
39
+ **/
40
+ EVT_READY = 'ready';
41
+
42
+ /**
43
+ Provides URL-based routing using HTML5 `pushState()` or the location hash.
44
+
45
+ This makes it easy to wire up route handlers for different application states
46
+ while providing full back/forward navigation support and bookmarkable, shareable
47
+ URLs.
48
+
49
+ @class Router
50
+ @param {Object} [config] Config properties.
51
+ @param {Boolean} [config.html5] Overrides the default capability detection
52
+ and forces this router to use (`true`) or not use (`false`) HTML5
53
+ history.
54
+ @param {String} [config.root=''] Root path from which all routes should be
55
+ evaluated.
56
+ @param {Array} [config.routes=[]] Array of route definition objects.
57
+ @constructor
58
+ @extends Base
59
+ @since 3.4.0
60
+ **/
61
+ function Router() {
62
+ Router.superclass.constructor.apply(this, arguments);
63
+ }
64
+
65
+ Y.Router = Y.extend(Router, Y.Base, {
66
+ // -- Protected Properties -------------------------------------------------
67
+
68
+ /**
69
+ Whether or not `_dispatch()` has been called since this router was
70
+ instantiated.
71
+
72
+ @property _dispatched
73
+ @type Boolean
74
+ @default undefined
75
+ @protected
76
+ **/
77
+
78
+ /**
79
+ Whether or not we're currently in the process of dispatching to routes.
80
+
81
+ @property _dispatching
82
+ @type Boolean
83
+ @default undefined
84
+ @protected
85
+ **/
86
+
87
+ /**
88
+ History event handle for the `history:change` or `hashchange` event
89
+ subscription.
90
+
91
+ @property _historyEvents
92
+ @type EventHandle
93
+ @protected
94
+ **/
95
+
96
+ /**
97
+ Cached copy of the `html5` attribute for internal use.
98
+
99
+ @property _html5
100
+ @type Boolean
101
+ @protected
102
+ **/
103
+
104
+ /**
105
+ Map which holds the registered param handlers in the form:
106
+ `name` -> RegExp | Function.
107
+
108
+ @property _params
109
+ @type Object
110
+ @protected
111
+ @since 3.12.0
112
+ **/
113
+
114
+ /**
115
+ Whether or not the `ready` event has fired yet.
116
+
117
+ @property _ready
118
+ @type Boolean
119
+ @default undefined
120
+ @protected
121
+ **/
122
+
123
+ /**
124
+ Regex used to break up a URL string around the URL's path.
125
+
126
+ Subpattern captures:
127
+
128
+ 1. Origin, everything before the URL's path-part.
129
+ 2. The URL's path-part.
130
+ 3. The URL's query.
131
+ 4. The URL's hash fragment.
132
+
133
+ @property _regexURL
134
+ @type RegExp
135
+ @protected
136
+ @since 3.5.0
137
+ **/
138
+ _regexURL: /^((?:[^\/#?:]+:\/\/|\/\/)[^\/]*)?([^?#]*)(\?[^#]*)?(#.*)?$/,
139
+
140
+ /**
141
+ Regex used to match parameter placeholders in route paths.
142
+
143
+ Subpattern captures:
144
+
145
+ 1. Parameter prefix character. Either a `:` for subpath parameters that
146
+ should only match a single level of a path, or `*` for splat parameters
147
+ that should match any number of path levels.
148
+
149
+ 2. Parameter name, if specified, otherwise it is a wildcard match.
150
+
151
+ @property _regexPathParam
152
+ @type RegExp
153
+ @protected
154
+ **/
155
+ _regexPathParam: /([:*])([\w\-]+)?/g,
156
+
157
+ /**
158
+ Regex that matches and captures the query portion of a URL, minus the
159
+ preceding `?` character, and discarding the hash portion of the URL if any.
160
+
161
+ @property _regexUrlQuery
162
+ @type RegExp
163
+ @protected
164
+ **/
165
+ _regexUrlQuery: /\?([^#]*).*$/,
166
+
167
+ /**
168
+ Regex that matches everything before the path portion of a URL (the origin).
169
+ This will be used to strip this part of the URL from a string when we
170
+ only want the path.
171
+
172
+ @property _regexUrlOrigin
173
+ @type RegExp
174
+ @protected
175
+ **/
176
+ _regexUrlOrigin: /^(?:[^\/#?:]+:\/\/|\/\/)[^\/]*/,
177
+
178
+ /**
179
+ Collection of registered routes.
180
+
181
+ @property _routes
182
+ @type Array
183
+ @protected
184
+ **/
185
+
186
+ // -- Lifecycle Methods ----------------------------------------------------
187
+ initializer: function (config) {
188
+ var self = this;
189
+
190
+ self._html5 = self.get('html5');
191
+ self._params = {};
192
+ self._routes = [];
193
+ self._url = self._getURL();
194
+
195
+ // Necessary because setters don't run on init.
196
+ self._setRoutes(config && config.routes ? config.routes :
197
+ self.get('routes'));
198
+
199
+ // Set up a history instance or hashchange listener.
200
+ if (self._html5) {
201
+ self._history = new Y.HistoryHTML5({force: true});
202
+ self._historyEvents =
203
+ Y.after('history:change', self._afterHistoryChange, self);
204
+ } else {
205
+ self._historyEvents =
206
+ Y.on('hashchange', self._afterHistoryChange, win, self);
207
+ }
208
+
209
+ // Fire a `ready` event once we're ready to route. We wait first for all
210
+ // subclass initializers to finish, then for window.onload, and then an
211
+ // additional 20ms to allow the browser to fire a useless initial
212
+ // `popstate` event if it wants to (and Chrome always wants to).
213
+ self.publish(EVT_READY, {
214
+ defaultFn : self._defReadyFn,
215
+ fireOnce : true,
216
+ preventable: false
217
+ });
218
+
219
+ self.once('initializedChange', function () {
220
+ Y.once('load', function () {
221
+ setTimeout(function () {
222
+ self.fire(EVT_READY, {dispatched: !!self._dispatched});
223
+ }, 20);
224
+ });
225
+ });
226
+
227
+ // Store this router in the collection of all active router instances.
228
+ instances.push(this);
229
+ },
230
+
231
+ destructor: function () {
232
+ var instanceIndex = YArray.indexOf(instances, this);
233
+
234
+ // Remove this router from the collection of active router instances.
235
+ if (instanceIndex > -1) {
236
+ instances.splice(instanceIndex, 1);
237
+ }
238
+
239
+ if (this._historyEvents) {
240
+ this._historyEvents.detach();
241
+ }
242
+ },
243
+
244
+ // -- Public Methods -------------------------------------------------------
245
+
246
+ /**
247
+ Dispatches to the first route handler that matches the current URL, if any.
248
+
249
+ If `dispatch()` is called before the `ready` event has fired, it will
250
+ automatically wait for the `ready` event before dispatching. Otherwise it
251
+ will dispatch immediately.
252
+
253
+ @method dispatch
254
+ @chainable
255
+ **/
256
+ dispatch: function () {
257
+ this.once(EVT_READY, function () {
258
+ var req, res;
259
+
260
+ this._ready = true;
261
+
262
+ if (!this.upgrade()) {
263
+ req = this._getRequest('dispatch');
264
+ res = this._getResponse(req);
265
+
266
+ this._dispatch(req, res);
267
+ }
268
+ });
269
+
270
+ return this;
271
+ },
272
+
273
+ /**
274
+ Gets the current route path.
275
+
276
+ @method getPath
277
+ @return {String} Current route path.
278
+ **/
279
+ getPath: function () {
280
+ return this._getPath();
281
+ },
282
+
283
+ /**
284
+ Returns `true` if this router has at least one route that matches the
285
+ specified URL, `false` otherwise. This also checks that any named `param`
286
+ handlers also accept app param values in the `url`.
287
+
288
+ This method enforces the same-origin security constraint on the specified
289
+ `url`; any URL which is not from the same origin as the current URL will
290
+ always return `false`.
291
+
292
+ @method hasRoute
293
+ @param {String} url URL to match.
294
+ @return {Boolean} `true` if there's at least one matching route, `false`
295
+ otherwise.
296
+ **/
297
+ hasRoute: function (url) {
298
+ var path, routePath, routes;
299
+
300
+ if (!this._hasSameOrigin(url)) {
301
+ return false;
302
+ }
303
+
304
+ if (!this._html5) {
305
+ url = this._upgradeURL(url);
306
+ }
307
+
308
+ // Get just the path portion of the specified `url`. The `match()`
309
+ // method does some special checking that the `path` is within the root.
310
+ path = this.removeQuery(url.replace(this._regexUrlOrigin, ''));
311
+ routes = this.match(path);
312
+
313
+ if (!routes.length) {
314
+ return false;
315
+ }
316
+
317
+ routePath = this.removeRoot(path);
318
+
319
+ // Check that there's at least one route whose param handlers also
320
+ // accept all the param values.
321
+ return !!YArray.filter(routes, function (route) {
322
+ // Get the param values for the route and path to see whether the
323
+ // param handlers accept or reject the param values. Include any
324
+ // route whose named param handlers accept *all* param values. This
325
+ // will return `false` if a param handler rejects a param value.
326
+ return this._getParamValues(route, routePath);
327
+ }, this).length;
328
+ },
329
+
330
+ /**
331
+ Returns an array of route objects that match the specified URL path.
332
+
333
+ If this router has a `root`, then the specified `path` _must_ be
334
+ semantically within the `root` path to match any routes.
335
+
336
+ This method is called internally to determine which routes match the current
337
+ path whenever the URL changes. You may override it if you want to customize
338
+ the route matching logic, although this usually shouldn't be necessary.
339
+
340
+ Each returned route object has the following properties:
341
+
342
+ * `callback`: A function or a string representing the name of a function
343
+ this router that should be executed when the route is triggered.
344
+
345
+ * `keys`: An array of strings representing the named parameters defined in
346
+ the route's path specification, if any.
347
+
348
+ * `path`: The route's path specification, which may be either a string or
349
+ a regex.
350
+
351
+ * `regex`: A regular expression version of the route's path specification.
352
+ This regex is used to determine whether the route matches a given path.
353
+
354
+ @example
355
+ router.route('/foo', function () {});
356
+ router.match('/foo');
357
+ // => [{callback: ..., keys: [], path: '/foo', regex: ...}]
358
+
359
+ @method match
360
+ @param {String} path URL path to match. This should be an absolute path that
361
+ starts with a slash: "/".
362
+ @return {Object[]} Array of route objects that match the specified path.
363
+ **/
364
+ match: function (path) {
365
+ var root = this.get('root');
366
+
367
+ if (root) {
368
+ // The `path` must be semantically within this router's `root` path
369
+ // or mount point, if it's not then no routes should be considered a
370
+ // match.
371
+ if (!this._pathHasRoot(root, path)) {
372
+ return [];
373
+ }
374
+
375
+ // Remove this router's `root` from the `path` before checking the
376
+ // routes for any matches.
377
+ path = this.removeRoot(path);
378
+ }
379
+
380
+ return YArray.filter(this._routes, function (route) {
381
+ return path.search(route.regex) > -1;
382
+ });
383
+ },
384
+
385
+ /**
386
+ Adds a handler for a route param specified by _name_.
387
+
388
+ Param handlers can be registered via this method and are used to
389
+ validate/format values of named params in routes before dispatching to the
390
+ route's handler functions. Using param handlers allows routes to defined
391
+ using string paths which allows for `req.params` to use named params, but
392
+ still applying extra validation or formatting to the param values parsed
393
+ from the URL.
394
+
395
+ If a param handler regex or function returns a value of `false`, `null`,
396
+ `undefined`, or `NaN`, the current route will not match and be skipped. All
397
+ other return values will be used in place of the original param value parsed
398
+ from the URL.
399
+
400
+ @example
401
+ router.param('postId', function (value) {
402
+ return parseInt(value, 10);
403
+ });
404
+
405
+ router.param('username', /^\w+$/);
406
+
407
+ router.route('/posts/:postId', function (req) {
408
+ Y.log('Post: ' + req.params.id);
409
+ });
410
+
411
+ router.route('/users/:username', function (req) {
412
+ // `req.params.username` is an array because the result of calling
413
+ // `exec()` on the regex is assigned as the param's value.
414
+ Y.log('User: ' + req.params.username[0]);
415
+ });
416
+
417
+ router.route('*', function () {
418
+ Y.log('Catch-all no routes matched!');
419
+ });
420
+
421
+ // URLs which match routes:
422
+ router.save('/posts/1'); // => "Post: 1"
423
+ router.save('/users/ericf'); // => "User: ericf"
424
+
425
+ // URLs which do not match routes because params fail validation:
426
+ router.save('/posts/a'); // => "Catch-all no routes matched!"
427
+ router.save('/users/ericf,rgrove'); // => "Catch-all no routes matched!"
428
+
429
+ @method param
430
+ @param {String} name Name of the param used in route paths.
431
+ @param {Function|RegExp} handler Function to invoke or regular expression to
432
+ `exec()` during route dispatching whose return value is used as the new
433
+ param value. Values of `false`, `null`, `undefined`, or `NaN` will cause
434
+ the current route to not match and be skipped. When a function is
435
+ specified, it will be invoked in the context of this instance with the
436
+ following parameters:
437
+ @param {String} handler.value The current param value parsed from the URL.
438
+ @param {String} handler.name The name of the param.
439
+ @chainable
440
+ @since 3.12.0
441
+ **/
442
+ param: function (name, handler) {
443
+ this._params[name] = handler;
444
+ return this;
445
+ },
446
+
447
+ /**
448
+ Removes the `root` URL from the front of _url_ (if it's there) and returns
449
+ the result. The returned path will always have a leading `/`.
450
+
451
+ @method removeRoot
452
+ @param {String} url URL.
453
+ @return {String} Rootless path.
454
+ **/
455
+ removeRoot: function (url) {
456
+ var root = this.get('root'),
457
+ path;
458
+
459
+ // Strip out the non-path part of the URL, if any (e.g.
460
+ // "http://foo.com"), so that we're left with just the path.
461
+ url = url.replace(this._regexUrlOrigin, '');
462
+
463
+ // Return the host-less URL if there's no `root` path to further remove.
464
+ if (!root) {
465
+ return url;
466
+ }
467
+
468
+ path = this.removeQuery(url);
469
+
470
+ // Remove the `root` from the `url` if it's the same or its path is
471
+ // semantically within the root path.
472
+ if (path === root || this._pathHasRoot(root, path)) {
473
+ url = url.substring(root.length);
474
+ }
475
+
476
+ return url.charAt(0) === '/' ? url : '/' + url;
477
+ },
478
+
479
+ /**
480
+ Removes a query string from the end of the _url_ (if one exists) and returns
481
+ the result.
482
+
483
+ @method removeQuery
484
+ @param {String} url URL.
485
+ @return {String} Queryless path.
486
+ **/
487
+ removeQuery: function (url) {
488
+ return url.replace(/\?.*$/, '');
489
+ },
490
+
491
+ /**
492
+ Replaces the current browser history entry with a new one, and dispatches to
493
+ the first matching route handler, if any.
494
+
495
+ Behind the scenes, this method uses HTML5 `pushState()` in browsers that
496
+ support it (or the location hash in older browsers and IE) to change the
497
+ URL.
498
+
499
+ The specified URL must share the same origin (i.e., protocol, host, and
500
+ port) as the current page, or an error will occur.
501
+
502
+ @example
503
+ // Starting URL: http://example.com/
504
+
505
+ router.replace('/path/');
506
+ // New URL: http://example.com/path/
507
+
508
+ router.replace('/path?foo=bar');
509
+ // New URL: http://example.com/path?foo=bar
510
+
511
+ router.replace('/');
512
+ // New URL: http://example.com/
513
+
514
+ @method replace
515
+ @param {String} [url] URL to set. This URL needs to be of the same origin as
516
+ the current URL. This can be a URL relative to the router's `root`
517
+ attribute. If no URL is specified, the page's current URL will be used.
518
+ @chainable
519
+ @see save()
520
+ **/
521
+ replace: function (url) {
522
+ return this._queue(url, true);
523
+ },
524
+
525
+ /**
526
+ Adds a route handler for the specified `route`.
527
+
528
+ The `route` parameter may be a string or regular expression to represent a
529
+ URL path, or a route object. If it's a string (which is most common), it may
530
+ contain named parameters: `:param` will match any single part of a URL path
531
+ (not including `/` characters), and `*param` will match any number of parts
532
+ of a URL path (including `/` characters). These named parameters will be
533
+ made available as keys on the `req.params` object that's passed to route
534
+ handlers.
535
+
536
+ If the `route` parameter is a regex, all pattern matches will be made
537
+ available as numbered keys on `req.params`, starting with `0` for the full
538
+ match, then `1` for the first subpattern match, and so on.
539
+
540
+ Alternatively, an object can be provided to represent the route and it may
541
+ contain a `path` property which is a string or regular expression which
542
+ causes the route to be process as described above. If the route object
543
+ already contains a `regex` or `regexp` property, the route will be
544
+ considered fully-processed and will be associated with any `callacks`
545
+ specified on the object and those specified as parameters to this method.
546
+ **Note:** Any additional data contained on the route object will be
547
+ preserved.
548
+
549
+ Here's a set of sample routes along with URL paths that they match:
550
+
551
+ * Route: `/photos/:tag/:page`
552
+ * URL: `/photos/kittens/1`, params: `{tag: 'kittens', page: '1'}`
553
+ * URL: `/photos/puppies/2`, params: `{tag: 'puppies', page: '2'}`
554
+
555
+ * Route: `/file/*path`
556
+ * URL: `/file/foo/bar/baz.txt`, params: `{path: 'foo/bar/baz.txt'}`
557
+ * URL: `/file/foo`, params: `{path: 'foo'}`
558
+
559
+ **Middleware**: Routes also support an arbitrary number of callback
560
+ functions. This allows you to easily reuse parts of your route-handling code
561
+ with different route. This method is liberal in how it processes the
562
+ specified `callbacks`, you can specify them as separate arguments, or as
563
+ arrays, or both.
564
+
565
+ If multiple route match a given URL, they will be executed in the order they
566
+ were added. The first route that was added will be the first to be executed.
567
+
568
+ **Passing Control**: Invoking the `next()` function within a route callback
569
+ will pass control to the next callback function (if any) or route handler
570
+ (if any). If a value is passed to `next()`, it's assumed to be an error,
571
+ therefore stopping the dispatch chain, unless that value is: `"route"`,
572
+ which is special case and dispatching will skip to the next route handler.
573
+ This allows middleware to skip any remaining middleware for a particular
574
+ route.
575
+
576
+ @example
577
+ router.route('/photos/:tag/:page', function (req, res, next) {
578
+ Y.log('Current tag: ' + req.params.tag);
579
+ Y.log('Current page number: ' + req.params.page);
580
+ });
581
+
582
+ // Using middleware.
583
+
584
+ router.findUser = function (req, res, next) {
585
+ req.user = this.get('users').findById(req.params.user);
586
+ next();
587
+ };
588
+
589
+ router.route('/users/:user', 'findUser', function (req, res, next) {
590
+ // The `findUser` middleware puts the `user` object on the `req`.
591
+ Y.log('Current user:' req.user.get('name'));
592
+ });
593
+
594
+ @method route
595
+ @param {String|RegExp|Object} route Route to match. May be a string or a
596
+ regular expression, or a route object.
597
+ @param {Array|Function|String} callbacks* Callback functions to call
598
+ whenever this route is triggered. These can be specified as separate
599
+ arguments, or in arrays, or both. If a callback is specified as a
600
+ string, the named function will be called on this router instance.
601
+
602
+ @param {Object} callbacks.req Request object containing information about
603
+ the request. It contains the following properties.
604
+
605
+ @param {Array|Object} callbacks.req.params Captured parameters matched
606
+ by the route path specification. If a string path was used and
607
+ contained named parameters, then this will be a key/value hash mapping
608
+ parameter names to their matched values. If a regex path was used,
609
+ this will be an array of subpattern matches starting at index 0 for
610
+ the full match, then 1 for the first subpattern match, and so on.
611
+ @param {String} callbacks.req.path The current URL path.
612
+ @param {Number} callbacks.req.pendingCallbacks Number of remaining
613
+ callbacks the route handler has after this one in the dispatch chain.
614
+ @param {Number} callbacks.req.pendingRoutes Number of matching routes
615
+ after this one in the dispatch chain.
616
+ @param {Object} callbacks.req.query Query hash representing the URL
617
+ query string, if any. Parameter names are keys, and are mapped to
618
+ parameter values.
619
+ @param {Object} callbacks.req.route Reference to the current route
620
+ object whose callbacks are being dispatched.
621
+ @param {Object} callbacks.req.router Reference to this router instance.
622
+ @param {String} callbacks.req.src What initiated the dispatch. In an
623
+ HTML5 browser, when the back/forward buttons are used, this property
624
+ will have a value of "popstate". When the `dispath()` method is
625
+ called, the `src` will be `"dispatch"`.
626
+ @param {String} callbacks.req.url The full URL.
627
+
628
+ @param {Object} callbacks.res Response object containing methods and
629
+ information that relate to responding to a request. It contains the
630
+ following properties.
631
+ @param {Object} callbacks.res.req Reference to the request object.
632
+
633
+ @param {Function} callbacks.next Function to pass control to the next
634
+ callback or the next matching route if no more callbacks (middleware)
635
+ exist for the current route handler. If you don't call this function,
636
+ then no further callbacks or route handlers will be executed, even if
637
+ there are more that match. If you do call this function, then the next
638
+ callback (if any) or matching route handler (if any) will be called.
639
+ All of these functions will receive the same `req` and `res` objects
640
+ that were passed to this route (so you can use these objects to pass
641
+ data along to subsequent callbacks and routes).
642
+ @param {String} [callbacks.next.err] Optional error which will stop the
643
+ dispatch chaining for this `req`, unless the value is `"route"`, which
644
+ is special cased to jump skip past any callbacks for the current route
645
+ and pass control the next route handler.
646
+ @chainable
647
+ **/
648
+ route: function (route, callbacks) {
649
+ // Grab callback functions from var-args.
650
+ callbacks = YArray(arguments, 1, true);
651
+
652
+ var keys, regex;
653
+
654
+ // Supports both the `route(path, callbacks)` and `route(config)` call
655
+ // signatures, allowing for fully-processed route configs to be passed.
656
+ if (typeof route === 'string' || YLang.isRegExp(route)) {
657
+ // Flatten `callbacks` into a single dimension array.
658
+ callbacks = YArray.flatten(callbacks);
659
+
660
+ keys = [];
661
+ regex = this._getRegex(route, keys);
662
+
663
+ route = {
664
+ callbacks: callbacks,
665
+ keys : keys,
666
+ path : route,
667
+ regex : regex
668
+ };
669
+ } else {
670
+ // Look for any configured `route.callbacks` and fallback to
671
+ // `route.callback` for back-compat, append var-arg `callbacks`,
672
+ // then flatten the entire collection to a single dimension array.
673
+ callbacks = YArray.flatten(
674
+ [route.callbacks || route.callback || []].concat(callbacks)
675
+ );
676
+
677
+ // Check for previously generated regex, also fallback to `regexp`
678
+ // for greater interop.
679
+ keys = route.keys;
680
+ regex = route.regex || route.regexp;
681
+
682
+ // Generates the route's regex if it doesn't already have one.
683
+ if (!regex) {
684
+ keys = [];
685
+ regex = this._getRegex(route.path, keys);
686
+ }
687
+
688
+ // Merge specified `route` config object with processed data.
689
+ route = Y.merge(route, {
690
+ callbacks: callbacks,
691
+ keys : keys,
692
+ path : route.path || regex,
693
+ regex : regex
694
+ });
695
+ }
696
+
697
+ this._routes.push(route);
698
+ return this;
699
+ },
700
+
701
+ /**
702
+ Saves a new browser history entry and dispatches to the first matching route
703
+ handler, if any.
704
+
705
+ Behind the scenes, this method uses HTML5 `pushState()` in browsers that
706
+ support it (or the location hash in older browsers and IE) to change the
707
+ URL and create a history entry.
708
+
709
+ The specified URL must share the same origin (i.e., protocol, host, and
710
+ port) as the current page, or an error will occur.
711
+
712
+ @example
713
+ // Starting URL: http://example.com/
714
+
715
+ router.save('/path/');
716
+ // New URL: http://example.com/path/
717
+
718
+ router.save('/path?foo=bar');
719
+ // New URL: http://example.com/path?foo=bar
720
+
721
+ router.save('/');
722
+ // New URL: http://example.com/
723
+
724
+ @method save
725
+ @param {String} [url] URL to set. This URL needs to be of the same origin as
726
+ the current URL. This can be a URL relative to the router's `root`
727
+ attribute. If no URL is specified, the page's current URL will be used.
728
+ @chainable
729
+ @see replace()
730
+ **/
731
+ save: function (url) {
732
+ return this._queue(url);
733
+ },
734
+
735
+ /**
736
+ Upgrades a hash-based URL to an HTML5 URL if necessary. In non-HTML5
737
+ browsers, this method is a noop.
738
+
739
+ @method upgrade
740
+ @return {Boolean} `true` if the URL was upgraded, `false` otherwise.
741
+ **/
742
+ upgrade: function () {
743
+ if (!this._html5) {
744
+ return false;
745
+ }
746
+
747
+ // Get the resolve hash path.
748
+ var hashPath = this._getHashPath();
749
+
750
+ if (hashPath) {
751
+ // This is an HTML5 browser and we have a hash-based path in the
752
+ // URL, so we need to upgrade the URL to a non-hash URL. This
753
+ // will trigger a `history:change` event, which will in turn
754
+ // trigger a dispatch.
755
+ this.once(EVT_READY, function () {
756
+ this.replace(hashPath);
757
+ });
758
+
759
+ return true;
760
+ }
761
+
762
+ return false;
763
+ },
764
+
765
+ // -- Protected Methods ----------------------------------------------------
766
+
767
+ /**
768
+ Wrapper around `decodeURIComponent` that also converts `+` chars into
769
+ spaces.
770
+
771
+ @method _decode
772
+ @param {String} string String to decode.
773
+ @return {String} Decoded string.
774
+ @protected
775
+ **/
776
+ _decode: function (string) {
777
+ return decodeURIComponent(string.replace(/\+/g, ' '));
778
+ },
779
+
780
+ /**
781
+ Shifts the topmost `_save()` call off the queue and executes it. Does
782
+ nothing if the queue is empty.
783
+
784
+ @method _dequeue
785
+ @chainable
786
+ @see _queue
787
+ @protected
788
+ **/
789
+ _dequeue: function () {
790
+ var self = this,
791
+ fn;
792
+
793
+ // If window.onload hasn't yet fired, wait until it has before
794
+ // dequeueing. This will ensure that we don't call pushState() before an
795
+ // initial popstate event has fired.
796
+ if (!YUI.Env.windowLoaded) {
797
+ Y.once('load', function () {
798
+ self._dequeue();
799
+ });
800
+
801
+ return this;
802
+ }
803
+
804
+ fn = saveQueue.shift();
805
+ return fn ? fn() : this;
806
+ },
807
+
808
+ /**
809
+ Dispatches to the first route handler that matches the specified _path_.
810
+
811
+ If called before the `ready` event has fired, the dispatch will be aborted.
812
+ This ensures normalized behavior between Chrome (which fires a `popstate`
813
+ event on every pageview) and other browsers (which do not).
814
+
815
+ @method _dispatch
816
+ @param {object} req Request object.
817
+ @param {String} res Response object.
818
+ @chainable
819
+ @protected
820
+ **/
821
+ _dispatch: function (req, res) {
822
+ var self = this,
823
+ routes = self.match(req.path),
824
+ callbacks = [],
825
+ routePath, paramValues;
826
+
827
+ self._dispatching = self._dispatched = true;
828
+
829
+ if (!routes || !routes.length) {
830
+ self._dispatching = false;
831
+ return self;
832
+ }
833
+
834
+ routePath = self.removeRoot(req.path);
835
+
836
+ function next(err) {
837
+ var callback, name, route;
838
+
839
+ if (err) {
840
+ // Special case "route" to skip to the next route handler
841
+ // avoiding any additional callbacks for the current route.
842
+ if (err === 'route') {
843
+ callbacks = [];
844
+ next();
845
+ } else {
846
+ Y.error(err);
847
+ }
848
+
849
+ } else if ((callback = callbacks.shift())) {
850
+ if (typeof callback === 'string') {
851
+ name = callback;
852
+ callback = self[name];
853
+
854
+ if (!callback) {
855
+ Y.error('Router: Callback not found: ' + name, null, 'router');
856
+ }
857
+ }
858
+
859
+ // Allow access to the number of remaining callbacks for the
860
+ // route.
861
+ req.pendingCallbacks = callbacks.length;
862
+
863
+ callback.call(self, req, res, next);
864
+
865
+ } else if ((route = routes.shift())) {
866
+ paramValues = self._getParamValues(route, routePath);
867
+
868
+ if (!paramValues) {
869
+ // Skip this route because one of the param handlers
870
+ // rejected a param value in the `routePath`.
871
+ next('route');
872
+ return;
873
+ }
874
+
875
+ // Expose the processed param values.
876
+ req.params = paramValues;
877
+
878
+ // Allow access to current route and the number of remaining
879
+ // routes for this request.
880
+ req.route = route;
881
+ req.pendingRoutes = routes.length;
882
+
883
+ // Make a copy of this route's `callbacks` so the original array
884
+ // is preserved.
885
+ callbacks = route.callbacks.concat();
886
+
887
+ // Execute this route's `callbacks`.
888
+ next();
889
+ }
890
+ }
891
+
892
+ next();
893
+
894
+ self._dispatching = false;
895
+ return self._dequeue();
896
+ },
897
+
898
+ /**
899
+ Returns the resolved path from the hash fragment, or an empty string if the
900
+ hash is not path-like.
901
+
902
+ @method _getHashPath
903
+ @param {String} [hash] Hash fragment to resolve into a path. By default this
904
+ will be the hash from the current URL.
905
+ @return {String} Current hash path, or an empty string if the hash is empty.
906
+ @protected
907
+ **/
908
+ _getHashPath: function (hash) {
909
+ hash || (hash = HistoryHash.getHash());
910
+
911
+ // Make sure the `hash` is path-like.
912
+ if (hash && hash.charAt(0) === '/') {
913
+ return this._joinURL(hash);
914
+ }
915
+
916
+ return '';
917
+ },
918
+
919
+ /**
920
+ Gets the location origin (i.e., protocol, host, and port) as a URL.
921
+
922
+ @example
923
+ http://example.com
924
+
925
+ @method _getOrigin
926
+ @return {String} Location origin (i.e., protocol, host, and port).
927
+ @protected
928
+ **/
929
+ _getOrigin: function () {
930
+ var location = Y.getLocation();
931
+ return location.origin || (location.protocol + '//' + location.host);
932
+ },
933
+
934
+ /**
935
+ Getter for the `params` attribute.
936
+
937
+ @method _getParams
938
+ @return {Object} Mapping of param handlers: `name` -> RegExp | Function.
939
+ @protected
940
+ @since 3.12.0
941
+ **/
942
+ _getParams: function () {
943
+ return Y.merge(this._params);
944
+ },
945
+
946
+ /**
947
+ Gets the param values for the specified `route` and `path`, suitable to use
948
+ form `req.params`.
949
+
950
+ **Note:** This method will return `false` if a named param handler rejects a
951
+ param value.
952
+
953
+ @method _getParamValues
954
+ @param {Object} route The route to get param values for.
955
+ @param {String} path The route path (root removed) that provides the param
956
+ values.
957
+ @return {Boolean|Array|Object} The collection of processed param values.
958
+ Either a hash of `name` -> `value` for named params processed by this
959
+ router's param handlers, or an array of matches for a route with unnamed
960
+ params. If a named param handler rejects a value, then `false` will be
961
+ returned.
962
+ @protected
963
+ @since 3.16.0
964
+ **/
965
+ _getParamValues: function (route, path) {
966
+ var matches, paramsMatch, paramValues;
967
+
968
+ // Decode each of the path params so that the any URL-encoded path
969
+ // segments are decoded in the `req.params` object.
970
+ matches = YArray.map(route.regex.exec(path) || [], function (match) {
971
+ // Decode matches, or coerce `undefined` matches to an empty
972
+ // string to match expectations of working with `req.params`
973
+ // in the context of route dispatching, and normalize
974
+ // browser differences in their handling of regex NPCGs:
975
+ // https://github.com/yui/yui3/issues/1076
976
+ return (match && this._decode(match)) || '';
977
+ }, this);
978
+
979
+ // Simply return the array of decoded values when the route does *not*
980
+ // use named parameters.
981
+ if (matches.length - 1 !== route.keys.length) {
982
+ return matches;
983
+ }
984
+
985
+ // Remove the first "match" from the param values, because it's just the
986
+ // `path` processed by the route's regex, and map the values to the keys
987
+ // to create the name params collection.
988
+ paramValues = YArray.hash(route.keys, matches.slice(1));
989
+
990
+ // Pass each named param value to its handler, if there is one, for
991
+ // validation/processing. If a param value is rejected by a handler,
992
+ // then the params don't match and a falsy value is returned.
993
+ paramsMatch = YArray.every(route.keys, function (name) {
994
+ var paramHandler = this._params[name],
995
+ value = paramValues[name];
996
+
997
+ if (paramHandler && value && typeof value === 'string') {
998
+ // Check if `paramHandler` is a RegExp, because this
999
+ // is true in Android 2.3 and other browsers!
1000
+ // `typeof /.*/ === 'function'`
1001
+ value = YLang.isRegExp(paramHandler) ?
1002
+ paramHandler.exec(value) :
1003
+ paramHandler.call(this, value, name);
1004
+
1005
+ if (value !== false && YLang.isValue(value)) {
1006
+ // Update the named param to the value from the handler.
1007
+ paramValues[name] = value;
1008
+ return true;
1009
+ }
1010
+
1011
+ // Consider the param value as rejected by the handler.
1012
+ return false;
1013
+ }
1014
+
1015
+ return true;
1016
+ }, this);
1017
+
1018
+ if (paramsMatch) {
1019
+ return paramValues;
1020
+ }
1021
+
1022
+ // Signal that a param value was rejected by a named param handler.
1023
+ return false;
1024
+ },
1025
+
1026
+ /**
1027
+ Gets the current route path.
1028
+
1029
+ @method _getPath
1030
+ @return {String} Current route path.
1031
+ @protected
1032
+ **/
1033
+ _getPath: function () {
1034
+ var path = (!this._html5 && this._getHashPath()) ||
1035
+ Y.getLocation().pathname;
1036
+
1037
+ return this.removeQuery(path);
1038
+ },
1039
+
1040
+ /**
1041
+ Returns the current path root after popping off the last path segment,
1042
+ making it useful for resolving other URL paths against.
1043
+
1044
+ The path root will always begin and end with a '/'.
1045
+
1046
+ @method _getPathRoot
1047
+ @return {String} The URL's path root.
1048
+ @protected
1049
+ @since 3.5.0
1050
+ **/
1051
+ _getPathRoot: function () {
1052
+ var slash = '/',
1053
+ path = Y.getLocation().pathname,
1054
+ segments;
1055
+
1056
+ if (path.charAt(path.length - 1) === slash) {
1057
+ return path;
1058
+ }
1059
+
1060
+ segments = path.split(slash);
1061
+ segments.pop();
1062
+
1063
+ return segments.join(slash) + slash;
1064
+ },
1065
+
1066
+ /**
1067
+ Gets the current route query string.
1068
+
1069
+ @method _getQuery
1070
+ @return {String} Current route query string.
1071
+ @protected
1072
+ **/
1073
+ _getQuery: function () {
1074
+ var location = Y.getLocation(),
1075
+ hash, matches;
1076
+
1077
+ if (this._html5) {
1078
+ return location.search.substring(1);
1079
+ }
1080
+
1081
+ hash = HistoryHash.getHash();
1082
+ matches = hash.match(this._regexUrlQuery);
1083
+
1084
+ return hash && matches ? matches[1] : location.search.substring(1);
1085
+ },
1086
+
1087
+ /**
1088
+ Creates a regular expression from the given route specification. If _path_
1089
+ is already a regex, it will be returned unmodified.
1090
+
1091
+ @method _getRegex
1092
+ @param {String|RegExp} path Route path specification.
1093
+ @param {Array} keys Array reference to which route parameter names will be
1094
+ added.
1095
+ @return {RegExp} Route regex.
1096
+ @protected
1097
+ **/
1098
+ _getRegex: function (path, keys) {
1099
+ if (YLang.isRegExp(path)) {
1100
+ return path;
1101
+ }
1102
+
1103
+ // Special case for catchall paths.
1104
+ if (path === '*') {
1105
+ return (/.*/);
1106
+ }
1107
+
1108
+ path = path.replace(this._regexPathParam, function (match, operator, key) {
1109
+ // Only `*` operators are supported for key-less matches to allowing
1110
+ // in-path wildcards like: '/foo/*'.
1111
+ if (!key) {
1112
+ return operator === '*' ? '.*' : match;
1113
+ }
1114
+
1115
+ keys.push(key);
1116
+ return operator === '*' ? '(.*?)' : '([^/#?]+)';
1117
+ });
1118
+
1119
+ return new RegExp('^' + path + '$');
1120
+ },
1121
+
1122
+ /**
1123
+ Gets a request object that can be passed to a route handler.
1124
+
1125
+ @method _getRequest
1126
+ @param {String} src What initiated the URL change and need for the request.
1127
+ @return {Object} Request object.
1128
+ @protected
1129
+ **/
1130
+ _getRequest: function (src) {
1131
+ return {
1132
+ path : this._getPath(),
1133
+ query : this._parseQuery(this._getQuery()),
1134
+ url : this._getURL(),
1135
+ router: this,
1136
+ src : src
1137
+ };
1138
+ },
1139
+
1140
+ /**
1141
+ Gets a response object that can be passed to a route handler.
1142
+
1143
+ @method _getResponse
1144
+ @param {Object} req Request object.
1145
+ @return {Object} Response Object.
1146
+ @protected
1147
+ **/
1148
+ _getResponse: function (req) {
1149
+ return {req: req};
1150
+ },
1151
+
1152
+ /**
1153
+ Getter for the `routes` attribute.
1154
+
1155
+ @method _getRoutes
1156
+ @return {Object[]} Array of route objects.
1157
+ @protected
1158
+ **/
1159
+ _getRoutes: function () {
1160
+ return this._routes.concat();
1161
+ },
1162
+
1163
+ /**
1164
+ Gets the current full URL.
1165
+
1166
+ @method _getURL
1167
+ @return {String} URL.
1168
+ @protected
1169
+ **/
1170
+ _getURL: function () {
1171
+ var url = Y.getLocation().toString();
1172
+
1173
+ if (!this._html5) {
1174
+ url = this._upgradeURL(url);
1175
+ }
1176
+
1177
+ return url;
1178
+ },
1179
+
1180
+ /**
1181
+ Returns `true` when the specified `url` is from the same origin as the
1182
+ current URL; i.e., the protocol, host, and port of the URLs are the same.
1183
+
1184
+ All host or path relative URLs are of the same origin. A scheme-relative URL
1185
+ is first prefixed with the current scheme before being evaluated.
1186
+
1187
+ @method _hasSameOrigin
1188
+ @param {String} url URL to compare origin with the current URL.
1189
+ @return {Boolean} Whether the URL has the same origin of the current URL.
1190
+ @protected
1191
+ **/
1192
+ _hasSameOrigin: function (url) {
1193
+ var origin = ((url && url.match(this._regexUrlOrigin)) || [])[0];
1194
+
1195
+ // Prepend current scheme to scheme-relative URLs.
1196
+ if (origin && origin.indexOf('//') === 0) {
1197
+ origin = Y.getLocation().protocol + origin;
1198
+ }
1199
+
1200
+ return !origin || origin === this._getOrigin();
1201
+ },
1202
+
1203
+ /**
1204
+ Joins the `root` URL to the specified _url_, normalizing leading/trailing
1205
+ `/` characters.
1206
+
1207
+ @example
1208
+ router.set('root', '/foo');
1209
+ router._joinURL('bar'); // => '/foo/bar'
1210
+ router._joinURL('/bar'); // => '/foo/bar'
1211
+
1212
+ router.set('root', '/foo/');
1213
+ router._joinURL('bar'); // => '/foo/bar'
1214
+ router._joinURL('/bar'); // => '/foo/bar'
1215
+
1216
+ @method _joinURL
1217
+ @param {String} url URL to append to the `root` URL.
1218
+ @return {String} Joined URL.
1219
+ @protected
1220
+ **/
1221
+ _joinURL: function (url) {
1222
+ var root = this.get('root');
1223
+
1224
+ // Causes `url` to _always_ begin with a "/".
1225
+ url = this.removeRoot(url);
1226
+
1227
+ if (url.charAt(0) === '/') {
1228
+ url = url.substring(1);
1229
+ }
1230
+
1231
+ return root && root.charAt(root.length - 1) === '/' ?
1232
+ root + url :
1233
+ root + '/' + url;
1234
+ },
1235
+
1236
+ /**
1237
+ Returns a normalized path, ridding it of any '..' segments and properly
1238
+ handling leading and trailing slashes.
1239
+
1240
+ @method _normalizePath
1241
+ @param {String} path URL path to normalize.
1242
+ @return {String} Normalized path.
1243
+ @protected
1244
+ @since 3.5.0
1245
+ **/
1246
+ _normalizePath: function (path) {
1247
+ var dots = '..',
1248
+ slash = '/',
1249
+ i, len, normalized, segments, segment, stack;
1250
+
1251
+ if (!path || path === slash) {
1252
+ return slash;
1253
+ }
1254
+
1255
+ segments = path.split(slash);
1256
+ stack = [];
1257
+
1258
+ for (i = 0, len = segments.length; i < len; ++i) {
1259
+ segment = segments[i];
1260
+
1261
+ if (segment === dots) {
1262
+ stack.pop();
1263
+ } else if (segment) {
1264
+ stack.push(segment);
1265
+ }
1266
+ }
1267
+
1268
+ normalized = slash + stack.join(slash);
1269
+
1270
+ // Append trailing slash if necessary.
1271
+ if (normalized !== slash && path.charAt(path.length - 1) === slash) {
1272
+ normalized += slash;
1273
+ }
1274
+
1275
+ return normalized;
1276
+ },
1277
+
1278
+ /**
1279
+ Parses a URL query string into a key/value hash. If `Y.QueryString.parse` is
1280
+ available, this method will be an alias to that.
1281
+
1282
+ @method _parseQuery
1283
+ @param {String} query Query string to parse.
1284
+ @return {Object} Hash of key/value pairs for query parameters.
1285
+ @protected
1286
+ **/
1287
+ _parseQuery: QS && QS.parse ? QS.parse : function (query) {
1288
+ var decode = this._decode,
1289
+ params = query.split('&'),
1290
+ i = 0,
1291
+ len = params.length,
1292
+ result = {},
1293
+ param;
1294
+
1295
+ for (; i < len; ++i) {
1296
+ param = params[i].split('=');
1297
+
1298
+ if (param[0]) {
1299
+ result[decode(param[0])] = decode(param[1] || '');
1300
+ }
1301
+ }
1302
+
1303
+ return result;
1304
+ },
1305
+
1306
+ /**
1307
+ Returns `true` when the specified `path` is semantically within the
1308
+ specified `root` path.
1309
+
1310
+ If the `root` does not end with a trailing slash ("/"), one will be added
1311
+ before the `path` is evaluated against the root path.
1312
+
1313
+ @example
1314
+ this._pathHasRoot('/app', '/app/foo'); // => true
1315
+ this._pathHasRoot('/app/', '/app/foo'); // => true
1316
+ this._pathHasRoot('/app/', '/app/'); // => true
1317
+
1318
+ this._pathHasRoot('/app', '/foo/bar'); // => false
1319
+ this._pathHasRoot('/app/', '/foo/bar'); // => false
1320
+ this._pathHasRoot('/app/', '/app'); // => false
1321
+ this._pathHasRoot('/app', '/app'); // => false
1322
+
1323
+ @method _pathHasRoot
1324
+ @param {String} root Root path used to evaluate whether the specificed
1325
+ `path` is semantically within. A trailing slash ("/") will be added if
1326
+ it does not already end with one.
1327
+ @param {String} path Path to evaluate for containing the specified `root`.
1328
+ @return {Boolean} Whether or not the `path` is semantically within the
1329
+ `root` path.
1330
+ @protected
1331
+ @since 3.13.0
1332
+ **/
1333
+ _pathHasRoot: function (root, path) {
1334
+ var rootPath = root.charAt(root.length - 1) === '/' ? root : root + '/';
1335
+ return path.indexOf(rootPath) === 0;
1336
+ },
1337
+
1338
+ /**
1339
+ Queues up a `_save()` call to run after all previously-queued calls have
1340
+ finished.
1341
+
1342
+ This is necessary because if we make multiple `_save()` calls before the
1343
+ first call gets dispatched, then both calls will dispatch to the last call's
1344
+ URL.
1345
+
1346
+ All arguments passed to `_queue()` will be passed on to `_save()` when the
1347
+ queued function is executed.
1348
+
1349
+ @method _queue
1350
+ @chainable
1351
+ @see _dequeue
1352
+ @protected
1353
+ **/
1354
+ _queue: function () {
1355
+ var args = arguments,
1356
+ self = this;
1357
+
1358
+ saveQueue.push(function () {
1359
+ if (self._html5) {
1360
+ if (Y.UA.ios && Y.UA.ios < 5) {
1361
+ // iOS <5 has buggy HTML5 history support, and needs to be
1362
+ // synchronous.
1363
+ self._save.apply(self, args);
1364
+ } else {
1365
+ // Wrapped in a timeout to ensure that _save() calls are
1366
+ // always processed asynchronously. This ensures consistency
1367
+ // between HTML5- and hash-based history.
1368
+ setTimeout(function () {
1369
+ self._save.apply(self, args);
1370
+ }, 1);
1371
+ }
1372
+ } else {
1373
+ self._dispatching = true; // otherwise we'll dequeue too quickly
1374
+ self._save.apply(self, args);
1375
+ }
1376
+
1377
+ return self;
1378
+ });
1379
+
1380
+ return !this._dispatching ? this._dequeue() : this;
1381
+ },
1382
+
1383
+ /**
1384
+ Returns the normalized result of resolving the `path` against the current
1385
+ path. Falsy values for `path` will return just the current path.
1386
+
1387
+ @method _resolvePath
1388
+ @param {String} path URL path to resolve.
1389
+ @return {String} Resolved path.
1390
+ @protected
1391
+ @since 3.5.0
1392
+ **/
1393
+ _resolvePath: function (path) {
1394
+ if (!path) {
1395
+ return Y.getLocation().pathname;
1396
+ }
1397
+
1398
+ if (path.charAt(0) !== '/') {
1399
+ path = this._getPathRoot() + path;
1400
+ }
1401
+
1402
+ return this._normalizePath(path);
1403
+ },
1404
+
1405
+ /**
1406
+ Resolves the specified URL against the current URL.
1407
+
1408
+ This method resolves URLs like a browser does and will always return an
1409
+ absolute URL. When the specified URL is already absolute, it is assumed to
1410
+ be fully resolved and is simply returned as is. Scheme-relative URLs are
1411
+ prefixed with the current protocol. Relative URLs are giving the current
1412
+ URL's origin and are resolved and normalized against the current path root.
1413
+
1414
+ @method _resolveURL
1415
+ @param {String} url URL to resolve.
1416
+ @return {String} Resolved URL.
1417
+ @protected
1418
+ @since 3.5.0
1419
+ **/
1420
+ _resolveURL: function (url) {
1421
+ var parts = url && url.match(this._regexURL),
1422
+ origin, path, query, hash, resolved;
1423
+
1424
+ if (!parts) {
1425
+ return Y.getLocation().toString();
1426
+ }
1427
+
1428
+ origin = parts[1];
1429
+ path = parts[2];
1430
+ query = parts[3];
1431
+ hash = parts[4];
1432
+
1433
+ // Absolute and scheme-relative URLs are assumed to be fully-resolved.
1434
+ if (origin) {
1435
+ // Prepend the current scheme for scheme-relative URLs.
1436
+ if (origin.indexOf('//') === 0) {
1437
+ origin = Y.getLocation().protocol + origin;
1438
+ }
1439
+
1440
+ return origin + (path || '/') + (query || '') + (hash || '');
1441
+ }
1442
+
1443
+ // Will default to the current origin and current path.
1444
+ resolved = this._getOrigin() + this._resolvePath(path);
1445
+
1446
+ // A path or query for the specified URL trumps the current URL's.
1447
+ if (path || query) {
1448
+ return resolved + (query || '') + (hash || '');
1449
+ }
1450
+
1451
+ query = this._getQuery();
1452
+
1453
+ return resolved + (query ? ('?' + query) : '') + (hash || '');
1454
+ },
1455
+
1456
+ /**
1457
+ Saves a history entry using either `pushState()` or the location hash.
1458
+
1459
+ This method enforces the same-origin security constraint; attempting to save
1460
+ a `url` that is not from the same origin as the current URL will result in
1461
+ an error.
1462
+
1463
+ @method _save
1464
+ @param {String} [url] URL for the history entry.
1465
+ @param {Boolean} [replace=false] If `true`, the current history entry will
1466
+ be replaced instead of a new one being added.
1467
+ @chainable
1468
+ @protected
1469
+ **/
1470
+ _save: function (url, replace) {
1471
+ var urlIsString = typeof url === 'string',
1472
+ currentPath, root, hash;
1473
+
1474
+ // Perform same-origin check on the specified URL.
1475
+ if (urlIsString && !this._hasSameOrigin(url)) {
1476
+ Y.error('Security error: The new URL must be of the same origin as the current URL.');
1477
+ return this;
1478
+ }
1479
+
1480
+ // Joins the `url` with the `root`.
1481
+ if (urlIsString) {
1482
+ url = this._joinURL(url);
1483
+ }
1484
+
1485
+ // Force _ready to true to ensure that the history change is handled
1486
+ // even if _save is called before the `ready` event fires.
1487
+ this._ready = true;
1488
+
1489
+ if (this._html5) {
1490
+ this._history[replace ? 'replace' : 'add'](null, {url: url});
1491
+ } else {
1492
+ currentPath = Y.getLocation().pathname;
1493
+ root = this.get('root');
1494
+ hash = HistoryHash.getHash();
1495
+
1496
+ if (!urlIsString) {
1497
+ url = hash;
1498
+ }
1499
+
1500
+ // Determine if the `root` already exists in the current location's
1501
+ // `pathname`, and if it does then we can exclude it from the
1502
+ // hash-based path. No need to duplicate the info in the URL.
1503
+ if (root === currentPath || root === this._getPathRoot()) {
1504
+ url = this.removeRoot(url);
1505
+ }
1506
+
1507
+ // The `hashchange` event only fires when the new hash is actually
1508
+ // different. This makes sure we'll always dequeue and dispatch
1509
+ // _all_ router instances, mimicking the HTML5 behavior.
1510
+ if (url === hash) {
1511
+ Y.Router.dispatch();
1512
+ } else {
1513
+ HistoryHash[replace ? 'replaceHash' : 'setHash'](url);
1514
+ }
1515
+ }
1516
+
1517
+ return this;
1518
+ },
1519
+
1520
+ /**
1521
+ Setter for the `params` attribute.
1522
+
1523
+ @method _setParams
1524
+ @param {Object} params Map in the form: `name` -> RegExp | Function.
1525
+ @return {Object} The map of params: `name` -> RegExp | Function.
1526
+ @protected
1527
+ @since 3.12.0
1528
+ **/
1529
+ _setParams: function (params) {
1530
+ this._params = {};
1531
+
1532
+ YObject.each(params, function (regex, name) {
1533
+ this.param(name, regex);
1534
+ }, this);
1535
+
1536
+ return Y.merge(this._params);
1537
+ },
1538
+
1539
+ /**
1540
+ Setter for the `routes` attribute.
1541
+
1542
+ @method _setRoutes
1543
+ @param {Object[]} routes Array of route objects.
1544
+ @return {Object[]} Array of route objects.
1545
+ @protected
1546
+ **/
1547
+ _setRoutes: function (routes) {
1548
+ this._routes = [];
1549
+
1550
+ YArray.each(routes, function (route) {
1551
+ this.route(route);
1552
+ }, this);
1553
+
1554
+ return this._routes.concat();
1555
+ },
1556
+
1557
+ /**
1558
+ Upgrades a hash-based URL to a full-path URL, if necessary.
1559
+
1560
+ The specified `url` will be upgraded if its of the same origin as the
1561
+ current URL and has a path-like hash. URLs that don't need upgrading will be
1562
+ returned as-is.
1563
+
1564
+ @example
1565
+ app._upgradeURL('http://example.com/#/foo/'); // => 'http://example.com/foo/';
1566
+
1567
+ @method _upgradeURL
1568
+ @param {String} url The URL to upgrade from hash-based to full-path.
1569
+ @return {String} The upgraded URL, or the specified URL untouched.
1570
+ @protected
1571
+ @since 3.5.0
1572
+ **/
1573
+ _upgradeURL: function (url) {
1574
+ // We should not try to upgrade paths for external URLs.
1575
+ if (!this._hasSameOrigin(url)) {
1576
+ return url;
1577
+ }
1578
+
1579
+ var hash = (url.match(/#(.*)$/) || [])[1] || '',
1580
+ hashPrefix = Y.HistoryHash.hashPrefix,
1581
+ hashPath;
1582
+
1583
+ // Strip any hash prefix, like hash-bangs.
1584
+ if (hashPrefix && hash.indexOf(hashPrefix) === 0) {
1585
+ hash = hash.replace(hashPrefix, '');
1586
+ }
1587
+
1588
+ // If the hash looks like a URL path, assume it is, and upgrade it!
1589
+ if (hash) {
1590
+ hashPath = this._getHashPath(hash);
1591
+
1592
+ if (hashPath) {
1593
+ return this._resolveURL(hashPath);
1594
+ }
1595
+ }
1596
+
1597
+ return url;
1598
+ },
1599
+
1600
+ // -- Protected Event Handlers ---------------------------------------------
1601
+
1602
+ /**
1603
+ Handles `history:change` and `hashchange` events.
1604
+
1605
+ @method _afterHistoryChange
1606
+ @param {EventFacade} e
1607
+ @protected
1608
+ **/
1609
+ _afterHistoryChange: function (e) {
1610
+ var self = this,
1611
+ src = e.src,
1612
+ prevURL = self._url,
1613
+ currentURL = self._getURL(),
1614
+ req, res;
1615
+
1616
+ self._url = currentURL;
1617
+
1618
+ // Handles the awkwardness that is the `popstate` event. HTML5 browsers
1619
+ // fire `popstate` right before they fire `hashchange`, and Chrome fires
1620
+ // `popstate` on page load. If this router is not ready or the previous
1621
+ // and current URLs only differ by their hash, then we want to ignore
1622
+ // this `popstate` event.
1623
+ if (src === 'popstate' &&
1624
+ (!self._ready || prevURL.replace(/#.*$/, '') === currentURL.replace(/#.*$/, ''))) {
1625
+
1626
+ return;
1627
+ }
1628
+
1629
+ req = self._getRequest(src);
1630
+ res = self._getResponse(req);
1631
+
1632
+ self._dispatch(req, res);
1633
+ },
1634
+
1635
+ // -- Default Event Handlers -----------------------------------------------
1636
+
1637
+ /**
1638
+ Default handler for the `ready` event.
1639
+
1640
+ @method _defReadyFn
1641
+ @param {EventFacade} e
1642
+ @protected
1643
+ **/
1644
+ _defReadyFn: function (e) {
1645
+ this._ready = true;
1646
+ }
1647
+ }, {
1648
+ // -- Static Properties ----------------------------------------------------
1649
+ NAME: 'router',
1650
+
1651
+ ATTRS: {
1652
+ /**
1653
+ Whether or not this browser is capable of using HTML5 history.
1654
+
1655
+ Setting this to `false` will force the use of hash-based history even on
1656
+ HTML5 browsers, but please don't do this unless you understand the
1657
+ consequences.
1658
+
1659
+ @attribute html5
1660
+ @type Boolean
1661
+ @initOnly
1662
+ **/
1663
+ html5: {
1664
+ // Android versions lower than 3.0 are buggy and don't update
1665
+ // window.location after a pushState() call, so we fall back to
1666
+ // hash-based history for them.
1667
+ //
1668
+ // See http://code.google.com/p/android/issues/detail?id=17471
1669
+ valueFn: function () { return Y.Router.html5; },
1670
+ writeOnce: 'initOnly'
1671
+ },
1672
+
1673
+ /**
1674
+ Map of params handlers in the form: `name` -> RegExp | Function.
1675
+
1676
+ If a param handler regex or function returns a value of `false`, `null`,
1677
+ `undefined`, or `NaN`, the current route will not match and be skipped.
1678
+ All other return values will be used in place of the original param
1679
+ value parsed from the URL.
1680
+
1681
+ This attribute is intended to be used to set params at init time, or to
1682
+ completely reset all params after init. To add params after init without
1683
+ resetting all existing params, use the `param()` method.
1684
+
1685
+ @attribute params
1686
+ @type Object
1687
+ @default `{}`
1688
+ @see param
1689
+ @since 3.12.0
1690
+ **/
1691
+ params: {
1692
+ value : {},
1693
+ getter: '_getParams',
1694
+ setter: '_setParams'
1695
+ },
1696
+
1697
+ /**
1698
+ Absolute root path from which all routes should be evaluated.
1699
+
1700
+ For example, if your router is running on a page at
1701
+ `http://example.com/myapp/` and you add a route with the path `/`, your
1702
+ route will never execute, because the path will always be preceded by
1703
+ `/myapp`. Setting `root` to `/myapp` would cause all routes to be
1704
+ evaluated relative to that root URL, so the `/` route would then execute
1705
+ when the user browses to `http://example.com/myapp/`.
1706
+
1707
+ @example
1708
+ router.set('root', '/myapp');
1709
+ router.route('/foo', function () { ... });
1710
+
1711
+ Y.log(router.hasRoute('/foo')); // => false
1712
+ Y.log(router.hasRoute('/myapp/foo')); // => true
1713
+
1714
+ // Updates the URL to: "/myapp/foo"
1715
+ router.save('/foo');
1716
+
1717
+ @attribute root
1718
+ @type String
1719
+ @default `''`
1720
+ **/
1721
+ root: {
1722
+ value: ''
1723
+ },
1724
+
1725
+ /**
1726
+ Array of route objects.
1727
+
1728
+ Each item in the array must be an object with the following properties
1729
+ in order to be processed by the router:
1730
+
1731
+ * `path`: String or regex representing the path to match. See the docs
1732
+ for the `route()` method for more details.
1733
+
1734
+ * `callbacks`: Function or a string representing the name of a
1735
+ function on this router instance that should be called when the
1736
+ route is triggered. An array of functions and/or strings may also be
1737
+ provided. See the docs for the `route()` method for more details.
1738
+
1739
+ If a route object contains a `regex` or `regexp` property, or if its
1740
+ `path` is a regular express, then the route will be considered to be
1741
+ fully-processed. Any fully-processed routes may contain the following
1742
+ properties:
1743
+
1744
+ * `regex`: The regular expression representing the path to match, this
1745
+ property may also be named `regexp` for greater compatibility.
1746
+
1747
+ * `keys`: Array of named path parameters used to populate `req.params`
1748
+ objects when dispatching to route handlers.
1749
+
1750
+ Any additional data contained on these route objects will be retained.
1751
+ This is useful to store extra metadata about a route; e.g., a `name` to
1752
+ give routes logical names.
1753
+
1754
+ This attribute is intended to be used to set routes at init time, or to
1755
+ completely reset all routes after init. To add routes after init without
1756
+ resetting all existing routes, use the `route()` method.
1757
+
1758
+ @attribute routes
1759
+ @type Object[]
1760
+ @default `[]`
1761
+ @see route
1762
+ **/
1763
+ routes: {
1764
+ value : [],
1765
+ getter: '_getRoutes',
1766
+ setter: '_setRoutes'
1767
+ }
1768
+ },
1769
+
1770
+ // Used as the default value for the `html5` attribute, and for testing.
1771
+ html5: Y.HistoryBase.html5 && (!Y.UA.android || Y.UA.android >= 3),
1772
+
1773
+ // To make this testable.
1774
+ _instances: instances,
1775
+
1776
+ /**
1777
+ Dispatches to the first route handler that matches the specified `path` for
1778
+ all active router instances.
1779
+
1780
+ This provides a mechanism to cause all active router instances to dispatch
1781
+ to their route handlers without needing to change the URL or fire the
1782
+ `history:change` or `hashchange` event.
1783
+
1784
+ @method dispatch
1785
+ @static
1786
+ @since 3.6.0
1787
+ **/
1788
+ dispatch: function () {
1789
+ var i, len, router, req, res;
1790
+
1791
+ for (i = 0, len = instances.length; i < len; i += 1) {
1792
+ router = instances[i];
1793
+
1794
+ if (router) {
1795
+ req = router._getRequest('dispatch');
1796
+ res = router._getResponse(req);
1797
+
1798
+ router._dispatch(req, res);
1799
+ }
1800
+ }
1801
+ }
1802
+ });
1803
+
1804
+ /**
1805
+ The `Controller` class was deprecated in YUI 3.5.0 and is now an alias for the
1806
+ `Router` class. Use that class instead. This alias will be removed in a future
1807
+ version of YUI.
1808
+
1809
+ @class Controller
1810
+ @constructor
1811
+ @extends Base
1812
+ @deprecated Use `Router` instead.
1813
+ @see Router
1814
+ **/
1815
+ Y.Controller = Y.Router;
1816
+
1817
+
1818
+ }, '@VERSION@', {"optional": ["querystring-parse"], "requires": ["array-extras", "base-build", "history"]});