@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.
- package/AGENTS.md +50 -0
- package/BUILD.md +54 -0
- package/CONTRIBUTING.md +85 -0
- package/CONTRIBUTORS.md +30 -0
- package/Gruntfile.js +122 -0
- package/HISTORY.md +12 -0
- package/LICENSE.md +145 -0
- package/README.md +133 -0
- package/build/align-plugin/align-plugin-debug.js +193 -0
- package/build/align-plugin/align-plugin-min.js +1 -0
- package/build/align-plugin/align-plugin.js +193 -0
- package/build/anim-base/anim-base-debug.js +686 -0
- package/build/anim-base/anim-base-min.js +1 -0
- package/build/anim-base/anim-base.js +685 -0
- package/build/anim-color/anim-color-debug.js +53 -0
- package/build/anim-color/anim-color-min.js +1 -0
- package/build/anim-color/anim-color.js +53 -0
- package/build/anim-curve/anim-curve-debug.js +59 -0
- package/build/anim-curve/anim-curve-min.js +1 -0
- package/build/anim-curve/anim-curve.js +59 -0
- package/build/anim-easing/anim-easing-debug.js +365 -0
- package/build/anim-easing/anim-easing-min.js +1 -0
- package/build/anim-easing/anim-easing.js +365 -0
- package/build/anim-node-plugin/anim-node-plugin-debug.js +26 -0
- package/build/anim-node-plugin/anim-node-plugin-min.js +1 -0
- package/build/anim-node-plugin/anim-node-plugin.js +26 -0
- package/build/anim-scroll/anim-scroll-debug.js +38 -0
- package/build/anim-scroll/anim-scroll-min.js +1 -0
- package/build/anim-scroll/anim-scroll.js +38 -0
- package/build/anim-shape/anim-shape-debug.js +185 -0
- package/build/anim-shape/anim-shape-min.js +1 -0
- package/build/anim-shape/anim-shape.js +185 -0
- package/build/anim-xy/anim-xy-debug.js +26 -0
- package/build/anim-xy/anim-xy-min.js +1 -0
- package/build/anim-xy/anim-xy.js +26 -0
- package/build/app-base/app-base-debug.js +1116 -0
- package/build/app-base/app-base-min.js +1 -0
- package/build/app-base/app-base.js +1116 -0
- package/build/app-content/app-content-debug.js +235 -0
- package/build/app-content/app-content-min.js +1 -0
- package/build/app-content/app-content.js +235 -0
- package/build/app-transitions/app-transitions-debug.js +242 -0
- package/build/app-transitions/app-transitions-min.js +1 -0
- package/build/app-transitions/app-transitions.js +242 -0
- package/build/app-transitions-css/app-transitions-css-min.css +1 -0
- package/build/app-transitions-css/app-transitions-css.css +33 -0
- package/build/app-transitions-native/app-transitions-native-debug.js +353 -0
- package/build/app-transitions-native/app-transitions-native-min.js +1 -0
- package/build/app-transitions-native/app-transitions-native.js +353 -0
- package/build/array-extras/array-extras-debug.js +400 -0
- package/build/array-extras/array-extras-min.js +1 -0
- package/build/array-extras/array-extras.js +400 -0
- package/build/array-invoke/array-invoke-debug.js +40 -0
- package/build/array-invoke/array-invoke-min.js +1 -0
- package/build/array-invoke/array-invoke.js +40 -0
- package/build/arraylist/arraylist-debug.js +214 -0
- package/build/arraylist/arraylist-min.js +1 -0
- package/build/arraylist/arraylist.js +214 -0
- package/build/arraylist-add/arraylist-add-debug.js +87 -0
- package/build/arraylist-add/arraylist-add-min.js +1 -0
- package/build/arraylist-add/arraylist-add.js +87 -0
- package/build/arraylist-filter/arraylist-filter-debug.js +45 -0
- package/build/arraylist-filter/arraylist-filter-min.js +1 -0
- package/build/arraylist-filter/arraylist-filter.js +45 -0
- package/build/arraysort/arraysort-debug.js +181 -0
- package/build/arraysort/arraysort-min.js +1 -0
- package/build/arraysort/arraysort.js +181 -0
- package/build/async-queue/async-queue-debug.js +554 -0
- package/build/async-queue/async-queue-min.js +1 -0
- package/build/async-queue/async-queue.js +554 -0
- package/build/attribute-base/attribute-base-debug.js +110 -0
- package/build/attribute-base/attribute-base-min.js +1 -0
- package/build/attribute-base/attribute-base.js +110 -0
- package/build/attribute-complex/attribute-complex-debug.js +56 -0
- package/build/attribute-complex/attribute-complex-min.js +1 -0
- package/build/attribute-complex/attribute-complex.js +56 -0
- package/build/attribute-core/attribute-core-debug.js +1208 -0
- package/build/attribute-core/attribute-core-min.js +1 -0
- package/build/attribute-core/attribute-core.js +1196 -0
- package/build/attribute-extras/attribute-extras-debug.js +157 -0
- package/build/attribute-extras/attribute-extras-min.js +1 -0
- package/build/attribute-extras/attribute-extras.js +156 -0
- package/build/attribute-observable/attribute-observable-debug.js +237 -0
- package/build/attribute-observable/attribute-observable-min.js +1 -0
- package/build/attribute-observable/attribute-observable.js +236 -0
- package/build/autocomplete-base/autocomplete-base-debug.js +1557 -0
- package/build/autocomplete-base/autocomplete-base-min.js +2 -0
- package/build/autocomplete-base/autocomplete-base.js +1549 -0
- package/build/autocomplete-filters/autocomplete-filters-debug.js +239 -0
- package/build/autocomplete-filters/autocomplete-filters-min.js +1 -0
- package/build/autocomplete-filters/autocomplete-filters.js +239 -0
- package/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js +136 -0
- package/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js +1 -0
- package/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js +136 -0
- package/build/autocomplete-highlighters/autocomplete-highlighters-debug.js +199 -0
- package/build/autocomplete-highlighters/autocomplete-highlighters-min.js +1 -0
- package/build/autocomplete-highlighters/autocomplete-highlighters.js +199 -0
- package/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js +107 -0
- package/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js +1 -0
- package/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js +107 -0
- package/build/autocomplete-list/assets/autocomplete-list-core.css +27 -0
- package/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css +51 -0
- package/build/autocomplete-list/assets/skins/night/autocomplete-list.css +1 -0
- package/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css +17 -0
- package/build/autocomplete-list/assets/skins/sam/autocomplete-list.css +1 -0
- package/build/autocomplete-list/autocomplete-list-debug.js +906 -0
- package/build/autocomplete-list/autocomplete-list-min.js +2 -0
- package/build/autocomplete-list/autocomplete-list.js +906 -0
- package/build/autocomplete-list/lang/autocomplete-list.js +1 -0
- package/build/autocomplete-list/lang/autocomplete-list_en.js +1 -0
- package/build/autocomplete-list/lang/autocomplete-list_es.js +1 -0
- package/build/autocomplete-list/lang/autocomplete-list_hu.js +1 -0
- package/build/autocomplete-list/lang/autocomplete-list_it.js +1 -0
- package/build/autocomplete-list-keys/autocomplete-list-keys-debug.js +186 -0
- package/build/autocomplete-list-keys/autocomplete-list-keys-min.js +1 -0
- package/build/autocomplete-list-keys/autocomplete-list-keys.js +186 -0
- package/build/autocomplete-plugin/autocomplete-plugin-debug.js +48 -0
- package/build/autocomplete-plugin/autocomplete-plugin-min.js +1 -0
- package/build/autocomplete-plugin/autocomplete-plugin.js +48 -0
- package/build/autocomplete-sources/autocomplete-sources-debug.js +475 -0
- package/build/autocomplete-sources/autocomplete-sources-min.js +1 -0
- package/build/autocomplete-sources/autocomplete-sources.js +475 -0
- package/build/axis/axis-debug.js +3173 -0
- package/build/axis/axis-min.js +5 -0
- package/build/axis/axis.js +3173 -0
- package/build/axis-base/axis-base-debug.js +901 -0
- package/build/axis-base/axis-base-min.js +1 -0
- package/build/axis-base/axis-base.js +901 -0
- package/build/axis-category/axis-category-debug.js +119 -0
- package/build/axis-category/axis-category-min.js +1 -0
- package/build/axis-category/axis-category.js +119 -0
- package/build/axis-category-base/axis-category-base-debug.js +247 -0
- package/build/axis-category-base/axis-category-base-min.js +1 -0
- package/build/axis-category-base/axis-category-base.js +247 -0
- package/build/axis-numeric/axis-numeric-debug.js +140 -0
- package/build/axis-numeric/axis-numeric-min.js +1 -0
- package/build/axis-numeric/axis-numeric.js +140 -0
- package/build/axis-numeric-base/axis-numeric-base-debug.js +721 -0
- package/build/axis-numeric-base/axis-numeric-base-min.js +1 -0
- package/build/axis-numeric-base/axis-numeric-base.js +721 -0
- package/build/axis-stacked/axis-stacked-debug.js +23 -0
- package/build/axis-stacked/axis-stacked-min.js +1 -0
- package/build/axis-stacked/axis-stacked.js +23 -0
- package/build/axis-stacked-base/axis-stacked-base-debug.js +133 -0
- package/build/axis-stacked-base/axis-stacked-base-min.js +1 -0
- package/build/axis-stacked-base/axis-stacked-base.js +133 -0
- package/build/axis-time/axis-time-debug.js +91 -0
- package/build/axis-time/axis-time-min.js +1 -0
- package/build/axis-time/axis-time.js +91 -0
- package/build/axis-time-base/axis-time-base-debug.js +352 -0
- package/build/axis-time-base/axis-time-base-min.js +1 -0
- package/build/axis-time-base/axis-time-base.js +352 -0
- package/build/base-base/base-base-debug.js +184 -0
- package/build/base-base/base-base-min.js +1 -0
- package/build/base-base/base-base.js +184 -0
- package/build/base-build/base-build-debug.js +453 -0
- package/build/base-build/base-build-min.js +1 -0
- package/build/base-build/base-build.js +453 -0
- package/build/base-core/base-core-debug.js +838 -0
- package/build/base-core/base-core-min.js +1 -0
- package/build/base-core/base-core.js +832 -0
- package/build/base-observable/base-observable-debug.js +221 -0
- package/build/base-observable/base-observable-min.js +1 -0
- package/build/base-observable/base-observable.js +220 -0
- package/build/base-pluginhost/base-pluginhost-debug.js +36 -0
- package/build/base-pluginhost/base-pluginhost-min.js +1 -0
- package/build/base-pluginhost/base-pluginhost.js +36 -0
- package/build/button/button-debug.js +332 -0
- package/build/button/button-min.js +1 -0
- package/build/button/button.js +332 -0
- package/build/button-core/button-core-debug.js +399 -0
- package/build/button-core/button-core-min.js +1 -0
- package/build/button-core/button-core.js +399 -0
- package/build/button-group/button-group-debug.js +194 -0
- package/build/button-group/button-group-min.js +1 -0
- package/build/button-group/button-group.js +194 -0
- package/build/button-plugin/button-plugin-debug.js +134 -0
- package/build/button-plugin/button-plugin-min.js +1 -0
- package/build/button-plugin/button-plugin.js +134 -0
- package/build/cache-base/cache-base-debug.js +442 -0
- package/build/cache-base/cache-base-min.js +1 -0
- package/build/cache-base/cache-base.js +432 -0
- package/build/cache-offline/cache-offline-debug.js +341 -0
- package/build/cache-offline/cache-offline-min.js +1 -0
- package/build/cache-offline/cache-offline.js +333 -0
- package/build/cache-plugin/cache-plugin-debug.js +53 -0
- package/build/cache-plugin/cache-plugin-min.js +1 -0
- package/build/cache-plugin/cache-plugin.js +53 -0
- package/build/calendar/assets/calendar-core.css +31 -0
- package/build/calendar/assets/skins/night/calendar-skin.css +7 -0
- package/build/calendar/assets/skins/night/calendar.css +1 -0
- package/build/calendar/assets/skins/sam/calendar-skin.css +7 -0
- package/build/calendar/assets/skins/sam/calendar.css +1 -0
- package/build/calendar/calendar-debug.js +610 -0
- package/build/calendar/calendar-min.js +2 -0
- package/build/calendar/calendar.js +610 -0
- package/build/calendar-base/assets/calendar-base-core.css +21 -0
- package/build/calendar-base/assets/skins/night/calendar-base-skin.css +92 -0
- package/build/calendar-base/assets/skins/night/calendar-base.css +1 -0
- package/build/calendar-base/assets/skins/sam/calendar-base-skin.css +98 -0
- package/build/calendar-base/assets/skins/sam/calendar-base.css +1 -0
- package/build/calendar-base/calendar-base-debug.js +1719 -0
- package/build/calendar-base/calendar-base-min.js +3 -0
- package/build/calendar-base/calendar-base.js +1719 -0
- package/build/calendar-base/lang/calendar-base.js +1 -0
- package/build/calendar-base/lang/calendar-base_de.js +1 -0
- package/build/calendar-base/lang/calendar-base_en.js +1 -0
- package/build/calendar-base/lang/calendar-base_es-AR.js +1 -0
- package/build/calendar-base/lang/calendar-base_es.js +1 -0
- package/build/calendar-base/lang/calendar-base_fr.js +1 -0
- package/build/calendar-base/lang/calendar-base_hu.js +1 -0
- package/build/calendar-base/lang/calendar-base_it.js +1 -0
- package/build/calendar-base/lang/calendar-base_ja.js +1 -0
- package/build/calendar-base/lang/calendar-base_nb-NO.js +1 -0
- package/build/calendar-base/lang/calendar-base_nl.js +1 -0
- package/build/calendar-base/lang/calendar-base_pt-BR.js +1 -0
- package/build/calendar-base/lang/calendar-base_ru.js +1 -0
- package/build/calendar-base/lang/calendar-base_zh-HANT-TW.js +1 -0
- package/build/calendar-base/lang/calendar-base_zh-Hans-CN.js +1 -0
- package/build/calendar-base/lang/calendar-base_zh-Hans.js +1 -0
- package/build/calendar-base/lang/calendar-base_zh-Hant-HK.js +1 -0
- package/build/calendar-base/lang/calendar-base_zh-Hant.js +1 -0
- package/build/calendarnavigator/assets/calendarnavigator-core.css +18 -0
- package/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css +78 -0
- package/build/calendarnavigator/assets/skins/night/calendarnavigator.css +1 -0
- package/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css +78 -0
- package/build/calendarnavigator/assets/skins/sam/calendarnavigator.css +1 -0
- package/build/calendarnavigator/calendarnavigator-debug.js +297 -0
- package/build/calendarnavigator/calendarnavigator-min.js +1 -0
- package/build/calendarnavigator/calendarnavigator.js +297 -0
- package/build/charts-base/charts-base-debug.js +5181 -0
- package/build/charts-base/charts-base-min.js +8 -0
- package/build/charts-base/charts-base.js +5181 -0
- package/build/charts-legend/charts-legend-debug.js +1703 -0
- package/build/charts-legend/charts-legend-min.js +3 -0
- package/build/charts-legend/charts-legend.js +1703 -0
- package/build/classnamemanager/classnamemanager-debug.js +84 -0
- package/build/classnamemanager/classnamemanager-min.js +1 -0
- package/build/classnamemanager/classnamemanager.js +84 -0
- package/build/clickable-rail/clickable-rail-debug.js +212 -0
- package/build/clickable-rail/clickable-rail-min.js +1 -0
- package/build/clickable-rail/clickable-rail.js +212 -0
- package/build/color-base/color-base-debug.js +492 -0
- package/build/color-base/color-base-min.js +1 -0
- package/build/color-base/color-base.js +492 -0
- package/build/color-harmony/color-harmony-debug.js +569 -0
- package/build/color-harmony/color-harmony-min.js +1 -0
- package/build/color-harmony/color-harmony.js +568 -0
- package/build/color-hsl/color-hsl-debug.js +218 -0
- package/build/color-hsl/color-hsl-min.js +1 -0
- package/build/color-hsl/color-hsl.js +218 -0
- package/build/color-hsv/color-hsv-debug.js +182 -0
- package/build/color-hsv/color-hsv-min.js +1 -0
- package/build/color-hsv/color-hsv.js +182 -0
- package/build/console/assets/console-core.css +0 -0
- package/build/console/assets/skins/sam/bg.png +0 -0
- package/build/console/assets/skins/sam/console-skin.css +185 -0
- package/build/console/assets/skins/sam/console.css +1 -0
- package/build/console/assets/skins/sam/warn_error.png +0 -0
- package/build/console/assets/warn_error.png +0 -0
- package/build/console/console-debug.js +1517 -0
- package/build/console/console-min.js +2 -0
- package/build/console/console.js +1517 -0
- package/build/console/lang/console.js +1 -0
- package/build/console/lang/console_en.js +1 -0
- package/build/console/lang/console_es.js +1 -0
- package/build/console/lang/console_hu.js +1 -0
- package/build/console/lang/console_it.js +1 -0
- package/build/console/lang/console_ja.js +1 -0
- package/build/console-filters/assets/console-filters-core.css +0 -0
- package/build/console-filters/assets/skins/sam/console-filters-skin.css +27 -0
- package/build/console-filters/assets/skins/sam/console-filters.css +1 -0
- package/build/console-filters/console-filters-debug.js +723 -0
- package/build/console-filters/console-filters-min.js +1 -0
- package/build/console-filters/console-filters.js +723 -0
- package/build/content-editable/content-editable-debug.js +808 -0
- package/build/content-editable/content-editable-min.js +1 -0
- package/build/content-editable/content-editable.js +797 -0
- package/build/cookie/cookie-debug.js +508 -0
- package/build/cookie/cookie-min.js +1 -0
- package/build/cookie/cookie.js +508 -0
- package/build/createlink-base/createlink-base-debug.js +86 -0
- package/build/createlink-base/createlink-base-min.js +1 -0
- package/build/createlink-base/createlink-base.js +85 -0
- package/build/cssbase/cssbase-min.css +1 -0
- package/build/cssbase/cssbase.css +77 -0
- package/build/cssbase-context/cssbase-context-min.css +1 -0
- package/build/cssbase-context/cssbase-context.css +76 -0
- package/build/cssbutton/cssbutton-min.css +1 -0
- package/build/cssbutton/cssbutton.css +147 -0
- package/build/cssfonts/cssfonts-min.css +1 -0
- package/build/cssfonts/cssfonts.css +43 -0
- package/build/cssfonts-context/cssfonts-context-min.css +1 -0
- package/build/cssfonts-context/cssfonts-context.css +43 -0
- package/build/cssgrids/cssgrids-min.css +11 -0
- package/build/cssgrids/cssgrids.css +298 -0
- package/build/cssgrids-base/cssgrids-base-min.css +6 -0
- package/build/cssgrids-base/cssgrids-base.css +80 -0
- package/build/cssgrids-responsive/cssgrids-responsive-min.css +6 -0
- package/build/cssgrids-responsive/cssgrids-responsive.css +398 -0
- package/build/cssgrids-units/cssgrids-units-min.css +6 -0
- package/build/cssgrids-units/cssgrids-units.css +221 -0
- package/build/cssnormalize/cssnormalize-min.css +9 -0
- package/build/cssnormalize/cssnormalize.css +584 -0
- package/build/cssnormalize-context/cssnormalize-context-min.css +9 -0
- package/build/cssnormalize-context/cssnormalize-context.css +584 -0
- package/build/cssreset/cssreset-min.css +1 -0
- package/build/cssreset/cssreset.css +116 -0
- package/build/cssreset-context/cssreset-context-min.css +1 -0
- package/build/cssreset-context/cssreset-context.css +121 -0
- package/build/dataschema-array/dataschema-array-debug.js +189 -0
- package/build/dataschema-array/dataschema-array-min.js +1 -0
- package/build/dataschema-array/dataschema-array.js +186 -0
- package/build/dataschema-base/dataschema-base-debug.js +67 -0
- package/build/dataschema-base/dataschema-base-min.js +1 -0
- package/build/dataschema-base/dataschema-base.js +66 -0
- package/build/dataschema-json/dataschema-json-debug.js +443 -0
- package/build/dataschema-json/dataschema-json-min.js +1 -0
- package/build/dataschema-json/dataschema-json.js +439 -0
- package/build/dataschema-text/dataschema-text-debug.js +183 -0
- package/build/dataschema-text/dataschema-text-min.js +1 -0
- package/build/dataschema-text/dataschema-text.js +182 -0
- package/build/dataschema-xml/dataschema-xml-debug.js +385 -0
- package/build/dataschema-xml/dataschema-xml-min.js +1 -0
- package/build/dataschema-xml/dataschema-xml.js +383 -0
- package/build/datasource-arrayschema/datasource-arrayschema-debug.js +106 -0
- package/build/datasource-arrayschema/datasource-arrayschema-min.js +1 -0
- package/build/datasource-arrayschema/datasource-arrayschema.js +106 -0
- package/build/datasource-cache/datasource-cache-debug.js +166 -0
- package/build/datasource-cache/datasource-cache-min.js +1 -0
- package/build/datasource-cache/datasource-cache.js +166 -0
- package/build/datasource-function/datasource-function-debug.js +108 -0
- package/build/datasource-function/datasource-function-min.js +1 -0
- package/build/datasource-function/datasource-function.js +106 -0
- package/build/datasource-get/datasource-get-debug.js +213 -0
- package/build/datasource-get/datasource-get-min.js +1 -0
- package/build/datasource-get/datasource-get.js +209 -0
- package/build/datasource-io/datasource-io-debug.js +204 -0
- package/build/datasource-io/datasource-io-min.js +1 -0
- package/build/datasource-io/datasource-io.js +201 -0
- package/build/datasource-jsonschema/datasource-jsonschema-debug.js +103 -0
- package/build/datasource-jsonschema/datasource-jsonschema-min.js +1 -0
- package/build/datasource-jsonschema/datasource-jsonschema.js +103 -0
- package/build/datasource-local/datasource-local-debug.js +402 -0
- package/build/datasource-local/datasource-local-min.js +1 -0
- package/build/datasource-local/datasource-local.js +398 -0
- package/build/datasource-polling/datasource-polling-debug.js +93 -0
- package/build/datasource-polling/datasource-polling-min.js +1 -0
- package/build/datasource-polling/datasource-polling.js +93 -0
- package/build/datasource-textschema/datasource-textschema-debug.js +102 -0
- package/build/datasource-textschema/datasource-textschema-min.js +1 -0
- package/build/datasource-textschema/datasource-textschema.js +102 -0
- package/build/datasource-xmlschema/datasource-xmlschema-debug.js +102 -0
- package/build/datasource-xmlschema/datasource-xmlschema-min.js +1 -0
- package/build/datasource-xmlschema/datasource-xmlschema.js +102 -0
- package/build/datatable-base/assets/datatable-base-core.css +4 -0
- package/build/datatable-base/assets/skins/night/datatable-base-skin.css +74 -0
- package/build/datatable-base/assets/skins/night/datatable-base.css +1 -0
- package/build/datatable-base/assets/skins/sam/datatable-base-skin.css +69 -0
- package/build/datatable-base/assets/skins/sam/datatable-base.css +1 -0
- package/build/datatable-base/datatable-base-debug.js +694 -0
- package/build/datatable-base/datatable-base-min.js +1 -0
- package/build/datatable-base/datatable-base.js +694 -0
- package/build/datatable-body/datatable-body-debug.js +1211 -0
- package/build/datatable-body/datatable-body-min.js +2 -0
- package/build/datatable-body/datatable-body.js +1211 -0
- package/build/datatable-column-widths/datatable-column-widths-debug.js +323 -0
- package/build/datatable-column-widths/datatable-column-widths-min.js +1 -0
- package/build/datatable-column-widths/datatable-column-widths.js +323 -0
- package/build/datatable-core/datatable-core-debug.js +1321 -0
- package/build/datatable-core/datatable-core-min.js +1 -0
- package/build/datatable-core/datatable-core.js +1319 -0
- package/build/datatable-datasource/datatable-datasource-debug.js +180 -0
- package/build/datatable-datasource/datatable-datasource-min.js +1 -0
- package/build/datatable-datasource/datatable-datasource.js +180 -0
- package/build/datatable-foot/datatable-foot-debug.js +112 -0
- package/build/datatable-foot/datatable-foot-min.js +1 -0
- package/build/datatable-foot/datatable-foot.js +112 -0
- package/build/datatable-formatters/datatable-formatters-debug.js +563 -0
- package/build/datatable-formatters/datatable-formatters-min.js +1 -0
- package/build/datatable-formatters/datatable-formatters.js +563 -0
- package/build/datatable-head/datatable-head-debug.js +532 -0
- package/build/datatable-head/datatable-head-min.js +1 -0
- package/build/datatable-head/datatable-head.js +532 -0
- package/build/datatable-highlight/assets/datatable-highlight-core.css +26 -0
- package/build/datatable-highlight/assets/skins/night/datatable-highlight-skin.css +11 -0
- package/build/datatable-highlight/assets/skins/night/datatable-highlight.css +1 -0
- package/build/datatable-highlight/assets/skins/sam/datatable-highlight-skin.css +11 -0
- package/build/datatable-highlight/assets/skins/sam/datatable-highlight.css +1 -0
- package/build/datatable-highlight/datatable-highlight-debug.js +282 -0
- package/build/datatable-highlight/datatable-highlight-min.js +1 -0
- package/build/datatable-highlight/datatable-highlight.js +282 -0
- package/build/datatable-keynav/datatable-keynav-debug.js +706 -0
- package/build/datatable-keynav/datatable-keynav-min.js +2 -0
- package/build/datatable-keynav/datatable-keynav.js +706 -0
- package/build/datatable-message/assets/datatable-message-core.css +8 -0
- package/build/datatable-message/assets/skins/night/datatable-message-skin.css +6 -0
- package/build/datatable-message/assets/skins/night/datatable-message.css +1 -0
- package/build/datatable-message/assets/skins/sam/datatable-message-skin.css +5 -0
- package/build/datatable-message/assets/skins/sam/datatable-message.css +1 -0
- package/build/datatable-message/datatable-message-debug.js +290 -0
- package/build/datatable-message/datatable-message-min.js +1 -0
- package/build/datatable-message/datatable-message.js +290 -0
- package/build/datatable-message/lang/datatable-message.js +1 -0
- package/build/datatable-message/lang/datatable-message_en.js +1 -0
- package/build/datatable-message/lang/datatable-message_es.js +1 -0
- package/build/datatable-message/lang/datatable-message_fr.js +1 -0
- package/build/datatable-message/lang/datatable-message_hu.js +1 -0
- package/build/datatable-message/lang/datatable-message_it.js +1 -0
- package/build/datatable-mutable/datatable-mutable-debug.js +635 -0
- package/build/datatable-mutable/datatable-mutable-min.js +1 -0
- package/build/datatable-mutable/datatable-mutable.js +630 -0
- package/build/datatable-paginator/assets/datatable-paginator-core.css +58 -0
- package/build/datatable-paginator/assets/skins/night/datatable-paginator-skin.css +35 -0
- package/build/datatable-paginator/assets/skins/night/datatable-paginator.css +1 -0
- package/build/datatable-paginator/assets/skins/sam/datatable-paginator-skin.css +36 -0
- package/build/datatable-paginator/assets/skins/sam/datatable-paginator.css +1 -0
- package/build/datatable-paginator/datatable-paginator-debug.js +995 -0
- package/build/datatable-paginator/datatable-paginator-min.js +2 -0
- package/build/datatable-paginator/datatable-paginator.js +995 -0
- package/build/datatable-paginator/lang/datatable-paginator.js +1 -0
- package/build/datatable-paginator/lang/datatable-paginator_en.js +1 -0
- package/build/datatable-paginator/lang/datatable-paginator_fr.js +1 -0
- package/build/datatable-paginator-templates/datatable-paginator-templates-debug.js +87 -0
- package/build/datatable-paginator-templates/datatable-paginator-templates-min.js +1 -0
- package/build/datatable-paginator-templates/datatable-paginator-templates.js +87 -0
- package/build/datatable-scroll/assets/datatable-scroll-core.css +71 -0
- package/build/datatable-scroll/assets/skins/night/datatable-scroll-skin.css +25 -0
- package/build/datatable-scroll/assets/skins/night/datatable-scroll.css +1 -0
- package/build/datatable-scroll/assets/skins/sam/datatable-scroll-skin.css +24 -0
- package/build/datatable-scroll/assets/skins/sam/datatable-scroll.css +1 -0
- package/build/datatable-scroll/datatable-scroll-debug.js +1386 -0
- package/build/datatable-scroll/datatable-scroll-min.js +2 -0
- package/build/datatable-scroll/datatable-scroll.js +1386 -0
- package/build/datatable-sort/assets/datatable-sort-core.css +17 -0
- package/build/datatable-sort/assets/skins/night/datatable-sort-skin.css +85 -0
- package/build/datatable-sort/assets/skins/night/datatable-sort.css +1 -0
- package/build/datatable-sort/assets/skins/night/sort-arrow-sprite-ie.png +0 -0
- package/build/datatable-sort/assets/skins/night/sort-arrow-sprite.png +0 -0
- package/build/datatable-sort/assets/skins/sam/datatable-sort-skin.css +43 -0
- package/build/datatable-sort/assets/skins/sam/datatable-sort.css +1 -0
- package/build/datatable-sort/assets/skins/sam/sort-arrow-sprite-ie.png +0 -0
- package/build/datatable-sort/assets/skins/sam/sort-arrow-sprite.png +0 -0
- package/build/datatable-sort/datatable-sort-debug.js +979 -0
- package/build/datatable-sort/datatable-sort-min.js +1 -0
- package/build/datatable-sort/datatable-sort.js +979 -0
- package/build/datatable-sort/lang/datatable-sort.js +1 -0
- package/build/datatable-sort/lang/datatable-sort_en.js +1 -0
- package/build/datatable-sort/lang/datatable-sort_es.js +1 -0
- package/build/datatable-sort/lang/datatable-sort_fr.js +1 -0
- package/build/datatable-sort/lang/datatable-sort_hu.js +1 -0
- package/build/datatable-table/datatable-table-debug.js +755 -0
- package/build/datatable-table/datatable-table-min.js +1 -0
- package/build/datatable-table/datatable-table.js +755 -0
- package/build/datatype-date-format/datatype-date-format-debug.js +387 -0
- package/build/datatype-date-format/datatype-date-format-min.js +1 -0
- package/build/datatype-date-format/datatype-date-format.js +385 -0
- package/build/datatype-date-format/lang/datatype-date-format.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ar-JO.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ar.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ca-ES.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ca.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_da-DK.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_da.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_de-AT.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_de-DE.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_de.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_el-GR.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_el.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-AU.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-CA.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-GB.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-IE.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-IN.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-JO.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-MY.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-NZ.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-PH.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-SG.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en-US.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_en.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-AR.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-BO.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-CL.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-CO.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-EC.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-ES.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-MX.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-PE.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-PY.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-US.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-UY.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es-VE.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_es.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_fi-FI.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_fi.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_fr-BE.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_fr-CA.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_fr-FR.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_fr.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_hi-IN.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_hi.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_hu.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_id-ID.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_id.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_it-IT.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_it.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ja-JP.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ja.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ko-KR.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ko.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ms-MY.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ms.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_nb-NO.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_nb.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_nl-BE.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_nl-NL.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_nl.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_pl-PL.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_pl.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_pt-BR.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_pt.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ro-RO.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ro.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ru-RU.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_ru.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_sv-SE.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_sv.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_th-TH.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_th.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_tr-TR.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_tr.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_vi-VN.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_vi.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_zh-Hans-CN.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_zh-Hans.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_zh-Hant-HK.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_zh-Hant-TW.js +1 -0
- package/build/datatype-date-format/lang/datatype-date-format_zh-Hant.js +1 -0
- package/build/datatype-date-math/datatype-date-math-debug.js +208 -0
- package/build/datatype-date-math/datatype-date-math-min.js +1 -0
- package/build/datatype-date-math/datatype-date-math.js +207 -0
- package/build/datatype-date-parse/datatype-date-parse-debug.js +36 -0
- package/build/datatype-date-parse/datatype-date-parse-min.js +1 -0
- package/build/datatype-date-parse/datatype-date-parse.js +35 -0
- package/build/datatype-number-format/datatype-number-format-debug.js +109 -0
- package/build/datatype-number-format/datatype-number-format-min.js +1 -0
- package/build/datatype-number-format/datatype-number-format.js +108 -0
- package/build/datatype-number-parse/datatype-number-parse-debug.js +105 -0
- package/build/datatype-number-parse/datatype-number-parse-min.js +1 -0
- package/build/datatype-number-parse/datatype-number-parse.js +104 -0
- package/build/datatype-xml-format/datatype-xml-format-debug.js +53 -0
- package/build/datatype-xml-format/datatype-xml-format-min.js +1 -0
- package/build/datatype-xml-format/datatype-xml-format.js +52 -0
- package/build/datatype-xml-parse/datatype-xml-parse-debug.js +50 -0
- package/build/datatype-xml-parse/datatype-xml-parse-min.js +1 -0
- package/build/datatype-xml-parse/datatype-xml-parse.js +49 -0
- package/build/dd-constrain/dd-constrain-debug.js +562 -0
- package/build/dd-constrain/dd-constrain-min.js +1 -0
- package/build/dd-constrain/dd-constrain.js +562 -0
- package/build/dd-ddm/dd-ddm-debug.js +126 -0
- package/build/dd-ddm/dd-ddm-min.js +1 -0
- package/build/dd-ddm/dd-ddm.js +126 -0
- package/build/dd-ddm-base/dd-ddm-base-debug.js +374 -0
- package/build/dd-ddm-base/dd-ddm-base-min.js +1 -0
- package/build/dd-ddm-base/dd-ddm-base.js +374 -0
- package/build/dd-ddm-drop/dd-ddm-drop-debug.js +399 -0
- package/build/dd-ddm-drop/dd-ddm-drop-min.js +1 -0
- package/build/dd-ddm-drop/dd-ddm-drop.js +399 -0
- package/build/dd-delegate/dd-delegate-debug.js +337 -0
- package/build/dd-delegate/dd-delegate-min.js +1 -0
- package/build/dd-delegate/dd-delegate.js +337 -0
- package/build/dd-drag/dd-drag-debug.js +1270 -0
- package/build/dd-drag/dd-drag-min.js +2 -0
- package/build/dd-drag/dd-drag.js +1267 -0
- package/build/dd-drop/dd-drop-debug.js +553 -0
- package/build/dd-drop/dd-drop-min.js +1 -0
- package/build/dd-drop/dd-drop.js +552 -0
- package/build/dd-drop-plugin/dd-drop-plugin-debug.js +44 -0
- package/build/dd-drop-plugin/dd-drop-plugin-min.js +1 -0
- package/build/dd-drop-plugin/dd-drop-plugin.js +44 -0
- package/build/dd-gestures/dd-gestures-debug.js +56 -0
- package/build/dd-gestures/dd-gestures-min.js +1 -0
- package/build/dd-gestures/dd-gestures.js +54 -0
- package/build/dd-plugin/dd-plugin-debug.js +205 -0
- package/build/dd-plugin/dd-plugin-min.js +1 -0
- package/build/dd-plugin/dd-plugin.js +200 -0
- package/build/dd-proxy/dd-proxy-debug.js +251 -0
- package/build/dd-proxy/dd-proxy-min.js +1 -0
- package/build/dd-proxy/dd-proxy.js +251 -0
- package/build/dd-scroll/dd-scroll-debug.js +423 -0
- package/build/dd-scroll/dd-scroll-min.js +1 -0
- package/build/dd-scroll/dd-scroll.js +423 -0
- package/build/dial/assets/dial-core.css +42 -0
- package/build/dial/assets/skins/night/dial-skin.css +89 -0
- package/build/dial/assets/skins/night/dial.css +1 -0
- package/build/dial/assets/skins/sam/dial-skin.css +75 -0
- package/build/dial/assets/skins/sam/dial.css +1 -0
- package/build/dial/dial-debug.js +1327 -0
- package/build/dial/dial-min.js +3 -0
- package/build/dial/dial.js +1327 -0
- package/build/dial/lang/dial.js +1 -0
- package/build/dial/lang/dial_en.js +1 -0
- package/build/dial/lang/dial_es.js +1 -0
- package/build/dial/lang/dial_hu.js +1 -0
- package/build/dom-base/dom-base-debug.js +699 -0
- package/build/dom-base/dom-base-min.js +2 -0
- package/build/dom-base/dom-base.js +695 -0
- package/build/dom-core/dom-core-debug.js +390 -0
- package/build/dom-core/dom-core-min.js +1 -0
- package/build/dom-core/dom-core.js +390 -0
- package/build/dom-screen/dom-screen-debug.js +611 -0
- package/build/dom-screen/dom-screen-min.js +1 -0
- package/build/dom-screen/dom-screen.js +605 -0
- package/build/dom-style/dom-style-debug.js +249 -0
- package/build/dom-style/dom-style-min.js +1 -0
- package/build/dom-style/dom-style.js +249 -0
- package/build/dom-style-ie/dom-style-ie-debug.js +300 -0
- package/build/dom-style-ie/dom-style-ie-min.js +1 -0
- package/build/dom-style-ie/dom-style-ie.js +297 -0
- package/build/dump/dump-debug.js +105 -0
- package/build/dump/dump-min.js +1 -0
- package/build/dump/dump.js +105 -0
- package/build/editor-base/editor-base-debug.js +946 -0
- package/build/editor-base/editor-base-min.js +2 -0
- package/build/editor-base/editor-base.js +943 -0
- package/build/editor-bidi/editor-bidi-debug.js +340 -0
- package/build/editor-bidi/editor-bidi-min.js +1 -0
- package/build/editor-bidi/editor-bidi.js +340 -0
- package/build/editor-br/editor-br-debug.js +137 -0
- package/build/editor-br/editor-br-min.js +1 -0
- package/build/editor-br/editor-br.js +137 -0
- package/build/editor-inline/editor-inline-debug.js +32 -0
- package/build/editor-inline/editor-inline-min.js +1 -0
- package/build/editor-inline/editor-inline.js +32 -0
- package/build/editor-lists/editor-lists-debug.js +127 -0
- package/build/editor-lists/editor-lists-min.js +1 -0
- package/build/editor-lists/editor-lists.js +122 -0
- package/build/editor-para/editor-para-debug.js +356 -0
- package/build/editor-para/editor-para-min.js +1 -0
- package/build/editor-para/editor-para.js +355 -0
- package/build/editor-para-base/editor-para-base-debug.js +132 -0
- package/build/editor-para-base/editor-para-base-min.js +1 -0
- package/build/editor-para-base/editor-para-base.js +131 -0
- package/build/editor-para-ie/editor-para-ie-debug.js +134 -0
- package/build/editor-para-ie/editor-para-ie-min.js +1 -0
- package/build/editor-para-ie/editor-para-ie.js +134 -0
- package/build/editor-selection/editor-selection-debug.js +1042 -0
- package/build/editor-selection/editor-selection-min.js +2 -0
- package/build/editor-selection/editor-selection.js +1026 -0
- package/build/editor-tab/editor-tab-debug.js +69 -0
- package/build/editor-tab/editor-tab-min.js +1 -0
- package/build/editor-tab/editor-tab.js +68 -0
- package/build/escape/escape-debug.js +92 -0
- package/build/escape/escape-min.js +1 -0
- package/build/escape/escape.js +92 -0
- package/build/event-base/event-base-debug.js +1368 -0
- package/build/event-base/event-base-min.js +2 -0
- package/build/event-base/event-base.js +1363 -0
- package/build/event-base-ie/event-base-ie-debug.js +303 -0
- package/build/event-base-ie/event-base-ie-min.js +3 -0
- package/build/event-base-ie/event-base-ie.js +303 -0
- package/build/event-contextmenu/event-contextmenu-debug.js +192 -0
- package/build/event-contextmenu/event-contextmenu-min.js +1 -0
- package/build/event-contextmenu/event-contextmenu.js +192 -0
- package/build/event-custom-base/event-custom-base-debug.js +2464 -0
- package/build/event-custom-base/event-custom-base-min.js +3 -0
- package/build/event-custom-base/event-custom-base.js +2449 -0
- package/build/event-custom-complex/event-custom-complex-debug.js +673 -0
- package/build/event-custom-complex/event-custom-complex-min.js +1 -0
- package/build/event-custom-complex/event-custom-complex.js +670 -0
- package/build/event-delegate/event-delegate-debug.js +348 -0
- package/build/event-delegate/event-delegate-min.js +1 -0
- package/build/event-delegate/event-delegate.js +347 -0
- package/build/event-flick/event-flick-debug.js +272 -0
- package/build/event-flick/event-flick-min.js +1 -0
- package/build/event-flick/event-flick.js +271 -0
- package/build/event-focus/event-focus-debug.js +280 -0
- package/build/event-focus/event-focus-min.js +1 -0
- package/build/event-focus/event-focus.js +280 -0
- package/build/event-hover/event-hover-debug.js +70 -0
- package/build/event-hover/event-hover-min.js +1 -0
- package/build/event-hover/event-hover.js +70 -0
- package/build/event-key/event-key-debug.js +172 -0
- package/build/event-key/event-key-min.js +1 -0
- package/build/event-key/event-key.js +172 -0
- package/build/event-mouseenter/event-mouseenter-debug.js +129 -0
- package/build/event-mouseenter/event-mouseenter-min.js +1 -0
- package/build/event-mouseenter/event-mouseenter.js +129 -0
- package/build/event-mousewheel/event-mousewheel-debug.js +50 -0
- package/build/event-mousewheel/event-mousewheel-min.js +1 -0
- package/build/event-mousewheel/event-mousewheel.js +50 -0
- package/build/event-move/event-move-debug.js +639 -0
- package/build/event-move/event-move-min.js +1 -0
- package/build/event-move/event-move.js +626 -0
- package/build/event-outside/event-outside-debug.js +107 -0
- package/build/event-outside/event-outside-min.js +1 -0
- package/build/event-outside/event-outside.js +107 -0
- package/build/event-resize/event-resize-debug.js +53 -0
- package/build/event-resize/event-resize-min.js +1 -0
- package/build/event-resize/event-resize.js +53 -0
- package/build/event-simulate/event-simulate-debug.js +957 -0
- package/build/event-simulate/event-simulate-min.js +2 -0
- package/build/event-simulate/event-simulate.js +957 -0
- package/build/event-synthetic/event-synthetic-debug.js +845 -0
- package/build/event-synthetic/event-synthetic-min.js +1 -0
- package/build/event-synthetic/event-synthetic.js +845 -0
- package/build/event-tap/event-tap-debug.js +299 -0
- package/build/event-tap/event-tap-min.js +1 -0
- package/build/event-tap/event-tap.js +296 -0
- package/build/event-touch/event-touch-debug.js +187 -0
- package/build/event-touch/event-touch-min.js +1 -0
- package/build/event-touch/event-touch.js +181 -0
- package/build/event-valuechange/event-valuechange-debug.js +568 -0
- package/build/event-valuechange/event-valuechange-min.js +1 -0
- package/build/event-valuechange/event-valuechange.js +554 -0
- package/build/exec-command/exec-command-debug.js +721 -0
- package/build/exec-command/exec-command-min.js +2 -0
- package/build/exec-command/exec-command.js +717 -0
- package/build/features/features-debug.js +406 -0
- package/build/features/features-min.js +1 -0
- package/build/features/features.js +405 -0
- package/build/file/file-debug.js +31 -0
- package/build/file/file-min.js +1 -0
- package/build/file/file.js +31 -0
- package/build/file-flash/file-flash-debug.js +341 -0
- package/build/file-flash/file-flash-min.js +1 -0
- package/build/file-flash/file-flash.js +341 -0
- package/build/file-html5/file-html5-debug.js +503 -0
- package/build/file-html5/file-html5-min.js +1 -0
- package/build/file-html5/file-html5.js +503 -0
- package/build/frame/frame-debug.js +1076 -0
- package/build/frame/frame-min.js +2 -0
- package/build/frame/frame.js +1047 -0
- package/build/gesture-simulate/gesture-simulate-debug.js +1321 -0
- package/build/gesture-simulate/gesture-simulate-min.js +2 -0
- package/build/gesture-simulate/gesture-simulate.js +1321 -0
- package/build/get/get-debug.js +1292 -0
- package/build/get/get-min.js +2 -0
- package/build/get/get.js +1275 -0
- package/build/get-nodejs/get-nodejs-debug.js +225 -0
- package/build/get-nodejs/get-nodejs-min.js +107 -0
- package/build/get-nodejs/get-nodejs.js +204 -0
- package/build/graphics/graphics-debug.js +1270 -0
- package/build/graphics/graphics-min.js +1 -0
- package/build/graphics/graphics.js +1270 -0
- package/build/graphics-canvas/graphics-canvas-debug.js +3691 -0
- package/build/graphics-canvas/graphics-canvas-min.js +5 -0
- package/build/graphics-canvas/graphics-canvas.js +3691 -0
- package/build/graphics-canvas-default/graphics-canvas-default-debug.js +12 -0
- package/build/graphics-canvas-default/graphics-canvas-default-min.js +1 -0
- package/build/graphics-canvas-default/graphics-canvas-default.js +12 -0
- package/build/graphics-group/graphics-group-debug.js +310 -0
- package/build/graphics-group/graphics-group-min.js +1 -0
- package/build/graphics-group/graphics-group.js +310 -0
- package/build/graphics-svg/graphics-svg-debug.js +3557 -0
- package/build/graphics-svg/graphics-svg-min.js +5 -0
- package/build/graphics-svg/graphics-svg.js +3557 -0
- package/build/graphics-svg-default/graphics-svg-default-debug.js +12 -0
- package/build/graphics-svg-default/graphics-svg-default-min.js +1 -0
- package/build/graphics-svg-default/graphics-svg-default.js +12 -0
- package/build/graphics-vml/graphics-vml-debug.js +3753 -0
- package/build/graphics-vml/graphics-vml-min.js +5 -0
- package/build/graphics-vml/graphics-vml.js +3753 -0
- package/build/graphics-vml-default/graphics-vml-default-debug.js +12 -0
- package/build/graphics-vml-default/graphics-vml-default-min.js +1 -0
- package/build/graphics-vml-default/graphics-vml-default.js +12 -0
- package/build/handlebars-base/handlebars-base-debug.js +693 -0
- package/build/handlebars-base/handlebars-base-min.js +7 -0
- package/build/handlebars-base/handlebars-base.js +693 -0
- package/build/handlebars-compiler/handlebars-compiler-debug.js +2519 -0
- package/build/handlebars-compiler/handlebars-compiler-min.js +12 -0
- package/build/handlebars-compiler/handlebars-compiler.js +2519 -0
- package/build/highlight-accentfold/highlight-accentfold-debug.js +144 -0
- package/build/highlight-accentfold/highlight-accentfold-min.js +1 -0
- package/build/highlight-accentfold/highlight-accentfold.js +144 -0
- package/build/highlight-base/highlight-base-debug.js +312 -0
- package/build/highlight-base/highlight-base-min.js +1 -0
- package/build/highlight-base/highlight-base.js +312 -0
- package/build/history-base/history-base-debug.js +639 -0
- package/build/history-base/history-base-min.js +1 -0
- package/build/history-base/history-base.js +639 -0
- package/build/history-hash/history-hash-debug.js +475 -0
- package/build/history-hash/history-hash-min.js +1 -0
- package/build/history-hash/history-hash.js +475 -0
- package/build/history-hash-ie/history-hash-ie-debug.js +138 -0
- package/build/history-hash-ie/history-hash-ie-min.js +1 -0
- package/build/history-hash-ie/history-hash-ie.js +134 -0
- package/build/history-html5/history-html5-debug.js +189 -0
- package/build/history-html5/history-html5-min.js +1 -0
- package/build/history-html5/history-html5.js +189 -0
- package/build/imageloader/imageloader-debug.js +665 -0
- package/build/imageloader/imageloader-min.js +1 -0
- package/build/imageloader/imageloader.js +653 -0
- package/build/intl/intl-debug.js +150 -0
- package/build/intl/intl-min.js +1 -0
- package/build/intl/intl.js +150 -0
- package/build/intl-base/intl-base-debug.js +88 -0
- package/build/intl-base/intl-base-min.js +1 -0
- package/build/intl-base/intl-base.js +88 -0
- package/build/io-base/io-base-debug.js +1059 -0
- package/build/io-base/io-base-min.js +1 -0
- package/build/io-base/io-base.js +1053 -0
- package/build/io-form/io-form-debug.js +130 -0
- package/build/io-form/io-form-min.js +1 -0
- package/build/io-form/io-form.js +129 -0
- package/build/io-nodejs/io-nodejs-debug.js +215 -0
- package/build/io-nodejs/io-nodejs-min.js +108 -0
- package/build/io-nodejs/io-nodejs.js +199 -0
- package/build/io-queue/io-queue-debug.js +173 -0
- package/build/io-queue/io-queue-min.js +1 -0
- package/build/io-queue/io-queue.js +170 -0
- package/build/io-upload-iframe/io-upload-iframe-debug.js +313 -0
- package/build/io-upload-iframe/io-upload-iframe-min.js +1 -0
- package/build/io-upload-iframe/io-upload-iframe.js +305 -0
- package/build/io-xdr/io-xdr-debug.js +318 -0
- package/build/io-xdr/io-xdr-min.js +1 -0
- package/build/io-xdr/io-xdr.js +318 -0
- package/build/json-parse/json-parse-debug.js +10 -0
- package/build/json-parse/json-parse-min.js +1 -0
- package/build/json-parse/json-parse.js +10 -0
- package/build/json-parse-shim/json-parse-shim-debug.js +183 -0
- package/build/json-parse-shim/json-parse-shim-min.js +1 -0
- package/build/json-parse-shim/json-parse-shim.js +183 -0
- package/build/json-stringify/json-stringify-debug.js +99 -0
- package/build/json-stringify/json-stringify-min.js +1 -0
- package/build/json-stringify/json-stringify.js +99 -0
- package/build/json-stringify-shim/json-stringify-shim-debug.js +233 -0
- package/build/json-stringify-shim/json-stringify-shim-min.js +1 -0
- package/build/json-stringify-shim/json-stringify-shim.js +233 -0
- package/build/jsonp/jsonp-debug.js +274 -0
- package/build/jsonp/jsonp-min.js +1 -0
- package/build/jsonp/jsonp.js +268 -0
- package/build/jsonp-url/jsonp-url-debug.js +133 -0
- package/build/jsonp-url/jsonp-url-min.js +1 -0
- package/build/jsonp-url/jsonp-url.js +133 -0
- package/build/lazy-model-list/lazy-model-list-debug.js +518 -0
- package/build/lazy-model-list/lazy-model-list-min.js +1 -0
- package/build/lazy-model-list/lazy-model-list.js +518 -0
- package/build/loader/loader-debug.js +6053 -0
- package/build/loader/loader-min.js +9 -0
- package/build/loader/loader.js +6010 -0
- package/build/loader-base/loader-base-debug.js +2955 -0
- package/build/loader-base/loader-base-min.js +4 -0
- package/build/loader-base/loader-base.js +2915 -0
- package/build/loader-pathogen-combohandler/loader-pathogen-combohandler-debug.js +320 -0
- package/build/loader-pathogen-combohandler/loader-pathogen-combohandler-min.js +1 -0
- package/build/loader-pathogen-combohandler/loader-pathogen-combohandler.js +316 -0
- package/build/loader-pathogen-encoder/loader-pathogen-encoder-debug.js +6373 -0
- package/build/loader-pathogen-encoder/loader-pathogen-encoder-min.js +10 -0
- package/build/loader-pathogen-encoder/loader-pathogen-encoder.js +6326 -0
- package/build/loader-rollup/loader-rollup-debug.js +102 -0
- package/build/loader-rollup/loader-rollup-min.js +1 -0
- package/build/loader-rollup/loader-rollup.js +99 -0
- package/build/loader-yui3/loader-yui3-debug.js +2995 -0
- package/build/loader-yui3/loader-yui3-min.js +6 -0
- package/build/loader-yui3/loader-yui3.js +2995 -0
- package/build/matrix/matrix-debug.js +932 -0
- package/build/matrix/matrix-min.js +2 -0
- package/build/matrix/matrix.js +932 -0
- package/build/model/model-debug.js +1008 -0
- package/build/model/model-min.js +1 -0
- package/build/model/model.js +1007 -0
- package/build/model-list/model-list-debug.js +1269 -0
- package/build/model-list/model-list-min.js +1 -0
- package/build/model-list/model-list.js +1269 -0
- package/build/model-sync-local/model-sync-local-debug.js +360 -0
- package/build/model-sync-local/model-sync-local-min.js +1 -0
- package/build/model-sync-local/model-sync-local.js +359 -0
- package/build/model-sync-rest/model-sync-rest-debug.js +733 -0
- package/build/model-sync-rest/model-sync-rest-min.js +1 -0
- package/build/model-sync-rest/model-sync-rest.js +733 -0
- package/build/node-base/node-base-debug.js +1003 -0
- package/build/node-base/node-base-min.js +1 -0
- package/build/node-base/node-base.js +1001 -0
- package/build/node-core/node-core-debug.js +1626 -0
- package/build/node-core/node-core-min.js +2 -0
- package/build/node-core/node-core.js +1622 -0
- package/build/node-event-delegate/node-event-delegate-debug.js +54 -0
- package/build/node-event-delegate/node-event-delegate-min.js +1 -0
- package/build/node-event-delegate/node-event-delegate.js +54 -0
- package/build/node-event-html5/node-event-html5-debug.js +52 -0
- package/build/node-event-html5/node-event-html5-min.js +1 -0
- package/build/node-event-html5/node-event-html5.js +52 -0
- package/build/node-event-simulate/node-event-simulate-debug.js +187 -0
- package/build/node-event-simulate/node-event-simulate-min.js +1 -0
- package/build/node-event-simulate/node-event-simulate.js +187 -0
- package/build/node-flick/assets/node-flick-core.css +8 -0
- package/build/node-flick/assets/skins/sam/node-flick-skin.css +1 -0
- package/build/node-flick/assets/skins/sam/node-flick.css +1 -0
- package/build/node-flick/node-flick-debug.js +524 -0
- package/build/node-flick/node-flick-min.js +1 -0
- package/build/node-flick/node-flick.js +523 -0
- package/build/node-focusmanager/node-focusmanager-debug.js +1073 -0
- package/build/node-focusmanager/node-focusmanager-min.js +1 -0
- package/build/node-focusmanager/node-focusmanager.js +1069 -0
- package/build/node-load/node-load-debug.js +65 -0
- package/build/node-load/node-load-min.js +1 -0
- package/build/node-load/node-load.js +65 -0
- package/build/node-menunav/assets/node-menunav-core.css +169 -0
- package/build/node-menunav/assets/skins/night/horizontal-menu-submenu-indicator.png +0 -0
- package/build/node-menunav/assets/skins/night/node-menunav-skin.css +312 -0
- package/build/node-menunav/assets/skins/night/node-menunav.css +1 -0
- package/build/node-menunav/assets/skins/night/vertical-menu-submenu-indicator.png +0 -0
- package/build/node-menunav/assets/skins/sam/horizontal-menu-submenu-indicator.png +0 -0
- package/build/node-menunav/assets/skins/sam/horizontal-menu-submenu-toggle.png +0 -0
- package/build/node-menunav/assets/skins/sam/node-menunav-skin.css +266 -0
- package/build/node-menunav/assets/skins/sam/node-menunav.css +1 -0
- package/build/node-menunav/assets/skins/sam/vertical-menu-submenu-indicator.png +0 -0
- package/build/node-menunav/node-menunav-debug.js +2189 -0
- package/build/node-menunav/node-menunav-min.js +2 -0
- package/build/node-menunav/node-menunav.js +2188 -0
- package/build/node-pluginhost/node-pluginhost-debug.js +91 -0
- package/build/node-pluginhost/node-pluginhost-min.js +1 -0
- package/build/node-pluginhost/node-pluginhost.js +91 -0
- package/build/node-screen/node-screen-debug.js +240 -0
- package/build/node-screen/node-screen-min.js +1 -0
- package/build/node-screen/node-screen.js +238 -0
- package/build/node-scroll-info/node-scroll-info-debug.js +656 -0
- package/build/node-scroll-info/node-scroll-info-min.js +1 -0
- package/build/node-scroll-info/node-scroll-info.js +656 -0
- package/build/node-style/node-style-debug.js +271 -0
- package/build/node-style/node-style-min.js +1 -0
- package/build/node-style/node-style.js +271 -0
- package/build/oop/oop-debug.js +432 -0
- package/build/oop/oop-min.js +1 -0
- package/build/oop/oop.js +432 -0
- package/build/overlay/assets/overlay-core.css +11 -0
- package/build/overlay/assets/skins/night/overlay-skin.css +175 -0
- package/build/overlay/assets/skins/night/overlay.css +1 -0
- package/build/overlay/assets/skins/sam/overlay-skin.css +0 -0
- package/build/overlay/assets/skins/sam/overlay.css +1 -0
- package/build/overlay/overlay-debug.js +39 -0
- package/build/overlay/overlay-min.js +1 -0
- package/build/overlay/overlay.js +39 -0
- package/build/paginator/paginator-debug.js +75 -0
- package/build/paginator/paginator-min.js +1 -0
- package/build/paginator/paginator.js +75 -0
- package/build/paginator-core/paginator-core-debug.js +146 -0
- package/build/paginator-core/paginator-core-min.js +1 -0
- package/build/paginator-core/paginator-core.js +146 -0
- package/build/paginator-url/paginator-url-debug.js +67 -0
- package/build/paginator-url/paginator-url-min.js +1 -0
- package/build/paginator-url/paginator-url.js +67 -0
- package/build/panel/assets/panel-core.css +22 -0
- package/build/panel/assets/skins/night/panel-skin.css +123 -0
- package/build/panel/assets/skins/night/panel.css +1 -0
- package/build/panel/assets/skins/night/sprite_icons.png +0 -0
- package/build/panel/assets/skins/sam/panel-skin.css +95 -0
- package/build/panel/assets/skins/sam/panel.css +1 -0
- package/build/panel/assets/skins/sam/sprite_icons.png +0 -0
- package/build/panel/panel-debug.js +112 -0
- package/build/panel/panel-min.js +1 -0
- package/build/panel/panel.js +112 -0
- package/build/parallel/parallel-debug.js +109 -0
- package/build/parallel/parallel-min.js +1 -0
- package/build/parallel/parallel.js +107 -0
- package/build/pjax/pjax-debug.js +170 -0
- package/build/pjax/pjax-min.js +1 -0
- package/build/pjax/pjax.js +170 -0
- package/build/pjax-base/pjax-base-debug.js +443 -0
- package/build/pjax-base/pjax-base-min.js +1 -0
- package/build/pjax-base/pjax-base.js +442 -0
- package/build/pjax-content/pjax-content-debug.js +281 -0
- package/build/pjax-content/pjax-content-min.js +1 -0
- package/build/pjax-content/pjax-content.js +281 -0
- package/build/pjax-plugin/pjax-plugin-debug.js +29 -0
- package/build/pjax-plugin/pjax-plugin-min.js +1 -0
- package/build/pjax-plugin/pjax-plugin.js +29 -0
- package/build/plugin/plugin-debug.js +265 -0
- package/build/plugin/plugin-min.js +1 -0
- package/build/plugin/plugin.js +263 -0
- package/build/pluginhost-base/pluginhost-base-debug.js +187 -0
- package/build/pluginhost-base/pluginhost-base-min.js +1 -0
- package/build/pluginhost-base/pluginhost-base.js +185 -0
- package/build/pluginhost-config/pluginhost-config-debug.js +130 -0
- package/build/pluginhost-config/pluginhost-config-min.js +1 -0
- package/build/pluginhost-config/pluginhost-config.js +130 -0
- package/build/promise/promise-debug.js +624 -0
- package/build/promise/promise-min.js +1 -0
- package/build/promise/promise.js +620 -0
- package/build/querystring-parse/querystring-parse-debug.js +162 -0
- package/build/querystring-parse/querystring-parse-min.js +1 -0
- package/build/querystring-parse/querystring-parse.js +162 -0
- package/build/querystring-parse-simple/querystring-parse-simple-debug.js +49 -0
- package/build/querystring-parse-simple/querystring-parse-simple-min.js +1 -0
- package/build/querystring-parse-simple/querystring-parse-simple.js +49 -0
- package/build/querystring-stringify/querystring-stringify-debug.js +111 -0
- package/build/querystring-stringify/querystring-stringify-min.js +1 -0
- package/build/querystring-stringify/querystring-stringify.js +106 -0
- package/build/querystring-stringify-simple/querystring-stringify-simple-debug.js +44 -0
- package/build/querystring-stringify-simple/querystring-stringify-simple-min.js +1 -0
- package/build/querystring-stringify-simple/querystring-stringify-simple.js +44 -0
- package/build/queue-promote/queue-promote-debug.js +53 -0
- package/build/queue-promote/queue-promote-min.js +1 -0
- package/build/queue-promote/queue-promote.js +53 -0
- package/build/range-slider/range-slider-debug.js +28 -0
- package/build/range-slider/range-slider-min.js +1 -0
- package/build/range-slider/range-slider.js +28 -0
- package/build/recordset-base/recordset-base-debug.js +651 -0
- package/build/recordset-base/recordset-base-min.js +1 -0
- package/build/recordset-base/recordset-base.js +650 -0
- package/build/recordset-filter/recordset-filter-debug.js +105 -0
- package/build/recordset-filter/recordset-filter-min.js +1 -0
- package/build/recordset-filter/recordset-filter.js +105 -0
- package/build/recordset-indexer/recordset-indexer-debug.js +227 -0
- package/build/recordset-indexer/recordset-indexer-min.js +1 -0
- package/build/recordset-indexer/recordset-indexer.js +227 -0
- package/build/recordset-sort/recordset-sort-debug.js +206 -0
- package/build/recordset-sort/recordset-sort-min.js +1 -0
- package/build/recordset-sort/recordset-sort.js +205 -0
- package/build/resize-base/assets/resize-base-core.css +241 -0
- package/build/resize-base/assets/skins/night/arrows.png +0 -0
- package/build/resize-base/assets/skins/night/resize-base-skin.css +46 -0
- package/build/resize-base/assets/skins/night/resize-base.css +1 -0
- package/build/resize-base/assets/skins/sam/arrows.png +0 -0
- package/build/resize-base/assets/skins/sam/resize-base-skin.css +46 -0
- package/build/resize-base/assets/skins/sam/resize-base.css +1 -0
- package/build/resize-base/resize-base-debug.js +1644 -0
- package/build/resize-base/resize-base-min.js +2 -0
- package/build/resize-base/resize-base.js +1643 -0
- package/build/resize-constrain/resize-constrain-debug.js +455 -0
- package/build/resize-constrain/resize-constrain-min.js +1 -0
- package/build/resize-constrain/resize-constrain.js +455 -0
- package/build/resize-plugin/resize-plugin-debug.js +208 -0
- package/build/resize-plugin/resize-plugin-min.js +1 -0
- package/build/resize-plugin/resize-plugin.js +208 -0
- package/build/resize-proxy/resize-proxy-debug.js +166 -0
- package/build/resize-proxy/resize-proxy-min.js +1 -0
- package/build/resize-proxy/resize-proxy.js +166 -0
- package/build/router/router-debug.js +1818 -0
- package/build/router/router-min.js +2 -0
- package/build/router/router.js +1810 -0
- package/build/scrollview/scrollview-debug.js +21 -0
- package/build/scrollview/scrollview-min.js +1 -0
- package/build/scrollview/scrollview.js +21 -0
- package/build/scrollview-base/assets/scrollview-base-core.css +14 -0
- package/build/scrollview-base/assets/skins/night/scrollview-base-skin.css +0 -0
- package/build/scrollview-base/assets/skins/night/scrollview-base.css +1 -0
- package/build/scrollview-base/assets/skins/sam/scrollview-base-skin.css +3 -0
- package/build/scrollview-base/assets/skins/sam/scrollview-base.css +1 -0
- package/build/scrollview-base/scrollview-base-debug.js +1457 -0
- package/build/scrollview-base/scrollview-base-min.js +2 -0
- package/build/scrollview-base/scrollview-base.js +1457 -0
- package/build/scrollview-base-ie/scrollview-base-ie-debug.js +55 -0
- package/build/scrollview-base-ie/scrollview-base-ie-min.js +1 -0
- package/build/scrollview-base-ie/scrollview-base-ie.js +55 -0
- package/build/scrollview-list/assets/scrollview-list-core.css +0 -0
- package/build/scrollview-list/assets/skins/night/scrollview-list-skin.css +57 -0
- package/build/scrollview-list/assets/skins/night/scrollview-list.css +1 -0
- package/build/scrollview-list/assets/skins/sam/scrollview-list-skin.css +37 -0
- package/build/scrollview-list/assets/skins/sam/scrollview-list.css +1 -0
- package/build/scrollview-list/scrollview-list-debug.js +130 -0
- package/build/scrollview-list/scrollview-list-min.js +1 -0
- package/build/scrollview-list/scrollview-list.js +130 -0
- package/build/scrollview-paginator/scrollview-paginator-debug.js +746 -0
- package/build/scrollview-paginator/scrollview-paginator-min.js +1 -0
- package/build/scrollview-paginator/scrollview-paginator.js +746 -0
- package/build/scrollview-scrollbars/assets/scrollview-scrollbars-core.css +95 -0
- package/build/scrollview-scrollbars/assets/skins/night/scrollview-scrollbars-skin.css +96 -0
- package/build/scrollview-scrollbars/assets/skins/night/scrollview-scrollbars.css +1 -0
- package/build/scrollview-scrollbars/assets/skins/sam/scrollview-scrollbars-skin.css +90 -0
- package/build/scrollview-scrollbars/assets/skins/sam/scrollview-scrollbars.css +1 -0
- package/build/scrollview-scrollbars/scrollview-scrollbars-debug.js +563 -0
- package/build/scrollview-scrollbars/scrollview-scrollbars-min.js +1 -0
- package/build/scrollview-scrollbars/scrollview-scrollbars.js +563 -0
- package/build/selector/selector-debug.js +5 -0
- package/build/selector/selector-min.js +1 -0
- package/build/selector/selector.js +5 -0
- package/build/selector-css2/selector-css2-debug.js +460 -0
- package/build/selector-css2/selector-css2-min.js +1 -0
- package/build/selector-css2/selector-css2.js +459 -0
- package/build/selector-css3/selector-css3-debug.js +152 -0
- package/build/selector-css3/selector-css3-min.js +1 -0
- package/build/selector-css3/selector-css3.js +152 -0
- package/build/selector-native/selector-native-debug.js +405 -0
- package/build/selector-native/selector-native-min.js +1 -0
- package/build/selector-native/selector-native.js +400 -0
- package/build/series-area/series-area-debug.js +103 -0
- package/build/series-area/series-area-min.js +1 -0
- package/build/series-area/series-area.js +103 -0
- package/build/series-area-stacked/series-area-stacked-debug.js +60 -0
- package/build/series-area-stacked/series-area-stacked-min.js +1 -0
- package/build/series-area-stacked/series-area-stacked.js +60 -0
- package/build/series-areaspline/series-areaspline-debug.js +63 -0
- package/build/series-areaspline/series-areaspline-min.js +1 -0
- package/build/series-areaspline/series-areaspline.js +63 -0
- package/build/series-areaspline-stacked/series-areaspline-stacked-debug.js +50 -0
- package/build/series-areaspline-stacked/series-areaspline-stacked-min.js +1 -0
- package/build/series-areaspline-stacked/series-areaspline-stacked.js +50 -0
- package/build/series-bar/series-bar-debug.js +169 -0
- package/build/series-bar/series-bar-min.js +1 -0
- package/build/series-bar/series-bar.js +169 -0
- package/build/series-bar-stacked/series-bar-stacked-debug.js +364 -0
- package/build/series-bar-stacked/series-bar-stacked-min.js +1 -0
- package/build/series-bar-stacked/series-bar-stacked.js +364 -0
- package/build/series-base/series-base-debug.js +408 -0
- package/build/series-base/series-base-min.js +1 -0
- package/build/series-base/series-base.js +408 -0
- package/build/series-candlestick/series-candlestick-debug.js +314 -0
- package/build/series-candlestick/series-candlestick-min.js +1 -0
- package/build/series-candlestick/series-candlestick.js +314 -0
- package/build/series-cartesian/series-cartesian-debug.js +947 -0
- package/build/series-cartesian/series-cartesian-min.js +2 -0
- package/build/series-cartesian/series-cartesian.js +947 -0
- package/build/series-column/series-column-debug.js +160 -0
- package/build/series-column/series-column-min.js +1 -0
- package/build/series-column/series-column.js +160 -0
- package/build/series-column-stacked/series-column-stacked-debug.js +351 -0
- package/build/series-column-stacked/series-column-stacked-min.js +1 -0
- package/build/series-column-stacked/series-column-stacked.js +351 -0
- package/build/series-combo/series-combo-debug.js +283 -0
- package/build/series-combo/series-combo-min.js +1 -0
- package/build/series-combo/series-combo.js +283 -0
- package/build/series-combo-stacked/series-combo-stacked-debug.js +86 -0
- package/build/series-combo-stacked/series-combo-stacked-min.js +1 -0
- package/build/series-combo-stacked/series-combo-stacked.js +86 -0
- package/build/series-combospline/series-combospline-debug.js +60 -0
- package/build/series-combospline/series-combospline-min.js +1 -0
- package/build/series-combospline/series-combospline.js +60 -0
- package/build/series-combospline-stacked/series-combospline-stacked-debug.js +72 -0
- package/build/series-combospline-stacked/series-combospline-stacked-min.js +1 -0
- package/build/series-combospline-stacked/series-combospline-stacked.js +72 -0
- package/build/series-curve-util/series-curve-util-debug.js +135 -0
- package/build/series-curve-util/series-curve-util-min.js +1 -0
- package/build/series-curve-util/series-curve-util.js +135 -0
- package/build/series-fill-util/series-fill-util-debug.js +517 -0
- package/build/series-fill-util/series-fill-util-min.js +1 -0
- package/build/series-fill-util/series-fill-util.js +517 -0
- package/build/series-histogram-base/series-histogram-base-debug.js +245 -0
- package/build/series-histogram-base/series-histogram-base-min.js +1 -0
- package/build/series-histogram-base/series-histogram-base.js +245 -0
- package/build/series-line/series-line-debug.js +113 -0
- package/build/series-line/series-line-min.js +1 -0
- package/build/series-line/series-line.js +113 -0
- package/build/series-line-stacked/series-line-stacked-debug.js +49 -0
- package/build/series-line-stacked/series-line-stacked-min.js +1 -0
- package/build/series-line-stacked/series-line-stacked.js +49 -0
- package/build/series-line-util/series-line-util-debug.js +287 -0
- package/build/series-line-util/series-line-util-min.js +1 -0
- package/build/series-line-util/series-line-util.js +287 -0
- package/build/series-marker/series-marker-debug.js +89 -0
- package/build/series-marker/series-marker-min.js +1 -0
- package/build/series-marker/series-marker.js +89 -0
- package/build/series-marker-stacked/series-marker-stacked-debug.js +50 -0
- package/build/series-marker-stacked/series-marker-stacked-min.js +1 -0
- package/build/series-marker-stacked/series-marker-stacked.js +50 -0
- package/build/series-ohlc/series-ohlc-debug.js +237 -0
- package/build/series-ohlc/series-ohlc-min.js +1 -0
- package/build/series-ohlc/series-ohlc.js +237 -0
- package/build/series-pie/series-pie-debug.js +724 -0
- package/build/series-pie/series-pie-min.js +2 -0
- package/build/series-pie/series-pie.js +724 -0
- package/build/series-plot-util/series-plot-util-debug.js +552 -0
- package/build/series-plot-util/series-plot-util-min.js +1 -0
- package/build/series-plot-util/series-plot-util.js +552 -0
- package/build/series-range/series-range-debug.js +132 -0
- package/build/series-range/series-range-min.js +1 -0
- package/build/series-range/series-range.js +132 -0
- package/build/series-spline/series-spline-debug.js +82 -0
- package/build/series-spline/series-spline-min.js +1 -0
- package/build/series-spline/series-spline.js +82 -0
- package/build/series-spline-stacked/series-spline-stacked-debug.js +50 -0
- package/build/series-spline-stacked/series-spline-stacked-min.js +1 -0
- package/build/series-spline-stacked/series-spline-stacked.js +50 -0
- package/build/series-stacked/series-stacked-debug.js +356 -0
- package/build/series-stacked/series-stacked-min.js +1 -0
- package/build/series-stacked/series-stacked.js +356 -0
- package/build/shim-plugin/shim-plugin-debug.js +106 -0
- package/build/shim-plugin/shim-plugin-min.js +1 -0
- package/build/shim-plugin/shim-plugin.js +106 -0
- package/build/slider-base/assets/skins/audio/rail-x.png +0 -0
- package/build/slider-base/assets/skins/audio/rail-y.png +0 -0
- package/build/slider-base/assets/skins/audio/slider-base-skin.css +91 -0
- package/build/slider-base/assets/skins/audio/slider-base.css +1 -0
- package/build/slider-base/assets/skins/audio/slider-skin.css +91 -0
- package/build/slider-base/assets/skins/audio/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/audio/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/audio-light/rail-x.png +0 -0
- package/build/slider-base/assets/skins/audio-light/rail-y.png +0 -0
- package/build/slider-base/assets/skins/audio-light/slider-base-skin.css +91 -0
- package/build/slider-base/assets/skins/audio-light/slider-base.css +1 -0
- package/build/slider-base/assets/skins/audio-light/slider-skin.css +91 -0
- package/build/slider-base/assets/skins/audio-light/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/audio-light/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/capsule/rail-x-dots.png +0 -0
- package/build/slider-base/assets/skins/capsule/rail-x-lines.png +0 -0
- package/build/slider-base/assets/skins/capsule/rail-x.png +0 -0
- package/build/slider-base/assets/skins/capsule/rail-y-dots.png +0 -0
- package/build/slider-base/assets/skins/capsule/rail-y-lines.png +0 -0
- package/build/slider-base/assets/skins/capsule/rail-y.png +0 -0
- package/build/slider-base/assets/skins/capsule/slider-base-skin.css +93 -0
- package/build/slider-base/assets/skins/capsule/slider-base.css +1 -0
- package/build/slider-base/assets/skins/capsule/slider-skin.css +93 -0
- package/build/slider-base/assets/skins/capsule/thumb-x-line.png +0 -0
- package/build/slider-base/assets/skins/capsule/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/capsule/thumb-y-line.png +0 -0
- package/build/slider-base/assets/skins/capsule/thumb-y-lines.png +0 -0
- package/build/slider-base/assets/skins/capsule/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/rail-x-dots.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/rail-x-lines.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/rail-x.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/rail-y-dots.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/rail-y-lines.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/rail-y.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/slider-base-skin.css +91 -0
- package/build/slider-base/assets/skins/capsule-dark/slider-base.css +1 -0
- package/build/slider-base/assets/skins/capsule-dark/slider-skin.css +91 -0
- package/build/slider-base/assets/skins/capsule-dark/thumb-x-line.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/thumb-y-line.png +0 -0
- package/build/slider-base/assets/skins/capsule-dark/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/night/rail-x-lines.png +0 -0
- package/build/slider-base/assets/skins/night/rail-x.png +0 -0
- package/build/slider-base/assets/skins/night/rail-y-lines.png +0 -0
- package/build/slider-base/assets/skins/night/rail-y.png +0 -0
- package/build/slider-base/assets/skins/night/slider-base-skin.css +87 -0
- package/build/slider-base/assets/skins/night/slider-base.css +1 -0
- package/build/slider-base/assets/skins/night/slider-skin.css +87 -0
- package/build/slider-base/assets/skins/night/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/night/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/round/rail-x.png +0 -0
- package/build/slider-base/assets/skins/round/rail-y.png +0 -0
- package/build/slider-base/assets/skins/round/slider-base-skin.css +89 -0
- package/build/slider-base/assets/skins/round/slider-base.css +1 -0
- package/build/slider-base/assets/skins/round/slider-skin.css +89 -0
- package/build/slider-base/assets/skins/round/thumb-x-grip.png +0 -0
- package/build/slider-base/assets/skins/round/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/round/thumb-y-grip.png +0 -0
- package/build/slider-base/assets/skins/round/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/round-dark/rail-x.png +0 -0
- package/build/slider-base/assets/skins/round-dark/rail-y.png +0 -0
- package/build/slider-base/assets/skins/round-dark/slider-base-skin.css +89 -0
- package/build/slider-base/assets/skins/round-dark/slider-base.css +1 -0
- package/build/slider-base/assets/skins/round-dark/slider-skin.css +89 -0
- package/build/slider-base/assets/skins/round-dark/thumb-x-grip.png +0 -0
- package/build/slider-base/assets/skins/round-dark/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/round-dark/thumb-y-grip.png +0 -0
- package/build/slider-base/assets/skins/round-dark/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/sam/rail-x-lines.png +0 -0
- package/build/slider-base/assets/skins/sam/rail-x.png +0 -0
- package/build/slider-base/assets/skins/sam/rail-y-lines.png +0 -0
- package/build/slider-base/assets/skins/sam/rail-y.png +0 -0
- package/build/slider-base/assets/skins/sam/slider-base-skin.css +87 -0
- package/build/slider-base/assets/skins/sam/slider-base.css +1 -0
- package/build/slider-base/assets/skins/sam/slider-skin.css +87 -0
- package/build/slider-base/assets/skins/sam/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/sam/thumb-y.png +0 -0
- package/build/slider-base/assets/skins/sam-dark/rail-x-lines.png +0 -0
- package/build/slider-base/assets/skins/sam-dark/rail-x.png +0 -0
- package/build/slider-base/assets/skins/sam-dark/rail-y-lines.png +0 -0
- package/build/slider-base/assets/skins/sam-dark/rail-y.png +0 -0
- package/build/slider-base/assets/skins/sam-dark/slider-base-skin.css +87 -0
- package/build/slider-base/assets/skins/sam-dark/slider-base.css +1 -0
- package/build/slider-base/assets/skins/sam-dark/slider-skin.css +87 -0
- package/build/slider-base/assets/skins/sam-dark/thumb-x.png +0 -0
- package/build/slider-base/assets/skins/sam-dark/thumb-y.png +0 -0
- package/build/slider-base/assets/slider-base-core.css +31 -0
- package/build/slider-base/assets/slider-core.css +31 -0
- package/build/slider-base/assets/thumb-x-oblong-dark.png +0 -0
- package/build/slider-base/assets/thumb-x-oblong.png +0 -0
- package/build/slider-base/assets/thumb-x-oblong2-dark.png +0 -0
- package/build/slider-base/assets/thumb-x-oblong2.png +0 -0
- package/build/slider-base/assets/thumb-y-oblong-dark.png +0 -0
- package/build/slider-base/assets/thumb-y-oblong.png +0 -0
- package/build/slider-base/assets/thumb-y-oblong2-dark.png +0 -0
- package/build/slider-base/assets/thumb-y-oblong2.png +0 -0
- package/build/slider-base/slider-base-debug.js +762 -0
- package/build/slider-base/slider-base-min.js +1 -0
- package/build/slider-base/slider-base.js +760 -0
- package/build/slider-value-range/slider-value-range-debug.js +422 -0
- package/build/slider-value-range/slider-value-range-min.js +1 -0
- package/build/slider-value-range/slider-value-range.js +418 -0
- package/build/sortable/sortable-debug.js +528 -0
- package/build/sortable/sortable-min.js +1 -0
- package/build/sortable/sortable.js +527 -0
- package/build/sortable-scroll/sortable-scroll-debug.js +67 -0
- package/build/sortable-scroll/sortable-scroll-min.js +1 -0
- package/build/sortable-scroll/sortable-scroll.js +67 -0
- package/build/stylesheet/stylesheet-debug.js +642 -0
- package/build/stylesheet/stylesheet-min.js +1 -0
- package/build/stylesheet/stylesheet.js +638 -0
- package/build/substitute/substitute-debug.js +170 -0
- package/build/substitute/substitute-min.js +1 -0
- package/build/substitute/substitute.js +170 -0
- package/build/swf/swf-debug.js +206 -0
- package/build/swf/swf-min.js +1 -0
- package/build/swf/swf.js +204 -0
- package/build/swfdetect/swfdetect-debug.js +116 -0
- package/build/swfdetect/swfdetect-min.js +1 -0
- package/build/swfdetect/swfdetect.js +115 -0
- package/build/tabview/assets/skins/night/tabview-skin.css +89 -0
- package/build/tabview/assets/skins/night/tabview.css +1 -0
- package/build/tabview/assets/skins/sam/tabview-skin.css +58 -0
- package/build/tabview/assets/skins/sam/tabview.css +1 -0
- package/build/tabview/assets/tabview-core.css +42 -0
- package/build/tabview/tabview-debug.js +436 -0
- package/build/tabview/tabview-min.js +1 -0
- package/build/tabview/tabview.js +436 -0
- package/build/tabview-base/tabview-base-debug.js +144 -0
- package/build/tabview-base/tabview-base-min.js +1 -0
- package/build/tabview-base/tabview-base.js +144 -0
- package/build/tabview-plugin/tabview-plugin-debug.js +16 -0
- package/build/tabview-plugin/tabview-plugin-min.js +1 -0
- package/build/tabview-plugin/tabview-plugin.js +16 -0
- package/build/template-base/template-base-debug.js +272 -0
- package/build/template-base/template-base-min.js +1 -0
- package/build/template-base/template-base.js +272 -0
- package/build/template-micro/template-micro-debug.js +249 -0
- package/build/template-micro/template-micro-min.js +1 -0
- package/build/template-micro/template-micro.js +249 -0
- package/build/test/test-debug.js +3869 -0
- package/build/test/test-min.js +6 -0
- package/build/test/test.js +3869 -0
- package/build/test-console/assets/skins/sam/test-console-skin.css +58 -0
- package/build/test-console/assets/skins/sam/test-console.css +1 -0
- package/build/test-console/assets/test-console-core.css +8 -0
- package/build/test-console/test-console-debug.js +307 -0
- package/build/test-console/test-console-min.js +1 -0
- package/build/test-console/test-console.js +307 -0
- package/build/text-accentfold/text-accentfold-debug.js +162 -0
- package/build/text-accentfold/text-accentfold-min.js +1 -0
- package/build/text-accentfold/text-accentfold.js +162 -0
- package/build/text-data-accentfold/text-data-accentfold-debug.js +46 -0
- package/build/text-data-accentfold/text-data-accentfold-min.js +1 -0
- package/build/text-data-accentfold/text-data-accentfold.js +46 -0
- package/build/text-data-wordbreak/text-data-wordbreak-debug.js +29 -0
- package/build/text-data-wordbreak/text-data-wordbreak-min.js +2 -0
- package/build/text-data-wordbreak/text-data-wordbreak.js +29 -0
- package/build/text-wordbreak/text-wordbreak-debug.js +363 -0
- package/build/text-wordbreak/text-wordbreak-min.js +1 -0
- package/build/text-wordbreak/text-wordbreak.js +362 -0
- package/build/timers/timers-debug.js +314 -0
- package/build/timers/timers-min.js +1 -0
- package/build/timers/timers.js +314 -0
- package/build/transition/transition-debug.js +760 -0
- package/build/transition/transition-min.js +2 -0
- package/build/transition/transition.js +758 -0
- package/build/transition-timer/transition-timer-debug.js +334 -0
- package/build/transition-timer/transition-timer-min.js +1 -0
- package/build/transition-timer/transition-timer.js +334 -0
- package/build/tree/tree-debug.js +940 -0
- package/build/tree/tree-min.js +1 -0
- package/build/tree/tree.js +940 -0
- package/build/tree-labelable/tree-labelable-debug.js +79 -0
- package/build/tree-labelable/tree-labelable-min.js +1 -0
- package/build/tree-labelable/tree-labelable.js +79 -0
- package/build/tree-lazy/tree-lazy-debug.js +176 -0
- package/build/tree-lazy/tree-lazy-min.js +1 -0
- package/build/tree-lazy/tree-lazy.js +175 -0
- package/build/tree-node/tree-node-debug.js +555 -0
- package/build/tree-node/tree-node-min.js +1 -0
- package/build/tree-node/tree-node.js +555 -0
- package/build/tree-openable/tree-openable-debug.js +241 -0
- package/build/tree-openable/tree-openable-min.js +1 -0
- package/build/tree-openable/tree-openable.js +241 -0
- package/build/tree-selectable/tree-selectable-debug.js +289 -0
- package/build/tree-selectable/tree-selectable-min.js +1 -0
- package/build/tree-selectable/tree-selectable.js +289 -0
- package/build/tree-sortable/tree-sortable-debug.js +377 -0
- package/build/tree-sortable/tree-sortable-min.js +1 -0
- package/build/tree-sortable/tree-sortable.js +377 -0
- package/build/uploader/assets/uploader-flash-core.css +4 -0
- package/build/uploader/uploader-debug.js +53 -0
- package/build/uploader/uploader-min.js +1 -0
- package/build/uploader/uploader.js +53 -0
- package/build/uploader-flash/assets/uploader-flash-core.css +4 -0
- package/build/uploader-flash/uploader-flash-debug.js +1612 -0
- package/build/uploader-flash/uploader-flash-min.js +3 -0
- package/build/uploader-flash/uploader-flash.js +1611 -0
- package/build/uploader-html5/assets/uploader-flash-core.css +4 -0
- package/build/uploader-html5/uploader-html5-debug.js +1006 -0
- package/build/uploader-html5/uploader-html5-min.js +2 -0
- package/build/uploader-html5/uploader-html5.js +1006 -0
- package/build/uploader-queue/assets/uploader-flash-core.css +4 -0
- package/build/uploader-queue/uploader-queue-debug.js +656 -0
- package/build/uploader-queue/uploader-queue-min.js +1 -0
- package/build/uploader-queue/uploader-queue.js +656 -0
- package/build/view/view-debug.js +434 -0
- package/build/view/view-min.js +1 -0
- package/build/view/view.js +433 -0
- package/build/view-node-map/view-node-map-debug.js +84 -0
- package/build/view-node-map/view-node-map-min.js +1 -0
- package/build/view-node-map/view-node-map.js +84 -0
- package/build/widget-anim/widget-anim-debug.js +257 -0
- package/build/widget-anim/widget-anim-min.js +1 -0
- package/build/widget-anim/widget-anim.js +257 -0
- package/build/widget-autohide/widget-autohide-debug.js +238 -0
- package/build/widget-autohide/widget-autohide-min.js +1 -0
- package/build/widget-autohide/widget-autohide.js +237 -0
- package/build/widget-base/assets/skins/night/widget-base-skin.css +0 -0
- package/build/widget-base/assets/skins/night/widget-base.css +1 -0
- package/build/widget-base/assets/skins/sam/widget-base-skin.css +0 -0
- package/build/widget-base/assets/skins/sam/widget-base.css +1 -0
- package/build/widget-base/assets/widget-base-core.css +20 -0
- package/build/widget-base/widget-base-debug.js +1293 -0
- package/build/widget-base/widget-base-min.js +2 -0
- package/build/widget-base/widget-base.js +1289 -0
- package/build/widget-base-ie/widget-base-ie-debug.js +49 -0
- package/build/widget-base-ie/widget-base-ie-min.js +1 -0
- package/build/widget-base-ie/widget-base-ie.js +49 -0
- package/build/widget-buttons/widget-buttons-debug.js +1294 -0
- package/build/widget-buttons/widget-buttons-min.js +2 -0
- package/build/widget-buttons/widget-buttons.js +1294 -0
- package/build/widget-child/widget-child-debug.js +377 -0
- package/build/widget-child/widget-child-min.js +1 -0
- package/build/widget-child/widget-child.js +377 -0
- package/build/widget-htmlparser/widget-htmlparser-debug.js +215 -0
- package/build/widget-htmlparser/widget-htmlparser-min.js +1 -0
- package/build/widget-htmlparser/widget-htmlparser.js +215 -0
- package/build/widget-modality/assets/skins/night/widget-modality-skin.css +7 -0
- package/build/widget-modality/assets/skins/night/widget-modality.css +1 -0
- package/build/widget-modality/assets/skins/sam/widget-modality-skin.css +7 -0
- package/build/widget-modality/assets/skins/sam/widget-modality.css +1 -0
- package/build/widget-modality/assets/widget-modality-core.css +1 -0
- package/build/widget-modality/widget-modality-debug.js +566 -0
- package/build/widget-modality/widget-modality-min.js +3 -0
- package/build/widget-modality/widget-modality.js +565 -0
- package/build/widget-parent/widget-parent-debug.js +866 -0
- package/build/widget-parent/widget-parent-min.js +1 -0
- package/build/widget-parent/widget-parent.js +865 -0
- package/build/widget-position/widget-position-debug.js +276 -0
- package/build/widget-position/widget-position-min.js +1 -0
- package/build/widget-position/widget-position.js +276 -0
- package/build/widget-position-align/widget-position-align-debug.js +656 -0
- package/build/widget-position-align/widget-position-align-min.js +1 -0
- package/build/widget-position-align/widget-position-align.js +652 -0
- package/build/widget-position-constrain/widget-position-constrain-debug.js +348 -0
- package/build/widget-position-constrain/widget-position-constrain-min.js +1 -0
- package/build/widget-position-constrain/widget-position-constrain.js +348 -0
- package/build/widget-skin/widget-skin-debug.js +59 -0
- package/build/widget-skin/widget-skin-min.js +1 -0
- package/build/widget-skin/widget-skin.js +59 -0
- package/build/widget-stack/assets/skins/night/widget-stack-skin.css +0 -0
- package/build/widget-stack/assets/skins/night/widget-stack.css +1 -0
- package/build/widget-stack/assets/skins/sam/widget-stack-skin.css +0 -0
- package/build/widget-stack/assets/skins/sam/widget-stack.css +1 -0
- package/build/widget-stack/assets/widget-stack-core.css +19 -0
- package/build/widget-stack/widget-stack-debug.js +440 -0
- package/build/widget-stack/widget-stack-min.js +1 -0
- package/build/widget-stack/widget-stack.js +440 -0
- package/build/widget-stdmod/widget-stdmod-debug.js +780 -0
- package/build/widget-stdmod/widget-stdmod-min.js +1 -0
- package/build/widget-stdmod/widget-stdmod.js +780 -0
- package/build/widget-uievents/widget-uievents-debug.js +227 -0
- package/build/widget-uievents/widget-uievents-min.js +1 -0
- package/build/widget-uievents/widget-uievents.js +226 -0
- package/build/yql/yql-debug.js +168 -0
- package/build/yql/yql-min.js +1 -0
- package/build/yql/yql.js +167 -0
- package/build/yql-jsonp/yql-jsonp-debug.js +29 -0
- package/build/yql-jsonp/yql-jsonp-min.js +1 -0
- package/build/yql-jsonp/yql-jsonp.js +29 -0
- package/build/yql-nodejs/yql-nodejs-debug.js +33 -0
- package/build/yql-nodejs/yql-nodejs-min.js +22 -0
- package/build/yql-nodejs/yql-nodejs.js +33 -0
- package/build/yql-winjs/yql-winjs-debug.js +34 -0
- package/build/yql-winjs/yql-winjs-min.js +1 -0
- package/build/yql-winjs/yql-winjs.js +34 -0
- package/build/yui/yui-debug.js +12330 -0
- package/build/yui/yui-min.js +16 -0
- package/build/yui/yui.js +12022 -0
- package/build/yui-base/yui-base-debug.js +6254 -0
- package/build/yui-base/yui-base-min.js +7 -0
- package/build/yui-base/yui-base.js +5989 -0
- package/build/yui-core/yui-core-debug.js +4264 -0
- package/build/yui-core/yui-core-min.js +5 -0
- package/build/yui-core/yui-core.js +4017 -0
- package/build/yui-later/yui-later-debug.js +78 -0
- package/build/yui-later/yui-later-min.js +1 -0
- package/build/yui-later/yui-later.js +78 -0
- package/build/yui-log/yui-log-debug.js +125 -0
- package/build/yui-log/yui-log-min.js +1 -0
- package/build/yui-log/yui-log.js +125 -0
- package/build/yui-log-nodejs/yui-log-nodejs-debug.js +81 -0
- package/build/yui-log-nodejs/yui-log-nodejs-min.js +1 -0
- package/build/yui-log-nodejs/yui-log-nodejs.js +81 -0
- package/build/yui-nodejs/yui-nodejs-debug.js +11418 -0
- package/build/yui-nodejs/yui-nodejs-min.js +15 -0
- package/build/yui-nodejs/yui-nodejs.js +10969 -0
- package/build/yui-throttle/yui-throttle-debug.js +54 -0
- package/build/yui-throttle/yui-throttle-min.js +3 -0
- package/build/yui-throttle/yui-throttle.js +54 -0
- package/index.js +3 -0
- package/package.json +36 -0
|
@@ -0,0 +1,1611 @@
|
|
|
1
|
+
YUI.add('uploader-flash', function (Y, NAME) {
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This module provides a UI for file selection and multiple file upload capability using
|
|
5
|
+
* Flash as a transport engine.
|
|
6
|
+
* The supported features include: automatic upload queue management, upload progress
|
|
7
|
+
* tracking, file filtering, server response retrieval and error reporting.
|
|
8
|
+
*
|
|
9
|
+
* @module uploader-flash
|
|
10
|
+
* @deprecated
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// Shorthands for external modules
|
|
14
|
+
var substitute = Y.Lang.sub,
|
|
15
|
+
UploaderQueue = Y.Uploader.Queue;
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Embed a Flash applications in a standard manner and communicate with it
|
|
20
|
+
* via External Interface.
|
|
21
|
+
* @module swf
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
var Event = Y.Event,
|
|
25
|
+
SWFDetect = Y.SWFDetect,
|
|
26
|
+
Lang = Y.Lang,
|
|
27
|
+
uA = Y.UA,
|
|
28
|
+
Node = Y.Node,
|
|
29
|
+
Escape = Y.Escape,
|
|
30
|
+
|
|
31
|
+
// private
|
|
32
|
+
FLASH_CID = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",
|
|
33
|
+
FLASH_TYPE = "application/x-shockwave-flash",
|
|
34
|
+
FLASH_VER = "10.0.22",
|
|
35
|
+
EXPRESS_INSTALL_URL = "http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?" + Math.random(),
|
|
36
|
+
EVENT_HANDLER = "SWF.eventHandler",
|
|
37
|
+
possibleAttributes = {align:"", allowFullScreen:"", allowNetworking:"", allowScriptAccess:"", base:"", bgcolor:"", loop:"", menu:"", name:"", play: "", quality:"", salign:"", scale:"", tabindex:"", wmode:""};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The SWF utility is a tool for embedding Flash applications in HTML pages.
|
|
41
|
+
* @module swf
|
|
42
|
+
* @title SWF Utility
|
|
43
|
+
* @requires event-custom, node, swfdetect
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Creates the SWF instance and keeps the configuration data
|
|
48
|
+
*
|
|
49
|
+
* @class SWF
|
|
50
|
+
* @uses Y.Event.Target
|
|
51
|
+
* @constructor
|
|
52
|
+
* @param {String|HTMLElement} id The id of the element, or the element itself that the SWF will be inserted into.
|
|
53
|
+
* The width and height of the SWF will be set to the width and height of this container element.
|
|
54
|
+
* @param {String} swfURL The URL of the SWF to be embedded into the page.
|
|
55
|
+
* @param {Object} p_oAttributes (optional) Configuration parameters for the Flash application and values for Flashvars
|
|
56
|
+
* to be passed to the SWF. The p_oAttributes object allows the following additional properties:
|
|
57
|
+
* <dl>
|
|
58
|
+
* <dt>version : String</dt>
|
|
59
|
+
* <dd>The minimum version of Flash required on the user's machine.</dd>
|
|
60
|
+
* <dt>fixedAttributes : Object</dt>
|
|
61
|
+
* <dd>An object literal containing one or more of the following String keys and their values: <code>align,
|
|
62
|
+
* allowFullScreen, allowNetworking, allowScriptAccess, base, bgcolor, menu, name, quality, salign, scale,
|
|
63
|
+
* tabindex, wmode.</code> event from the thumb</dd>
|
|
64
|
+
* </dl>
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
function SWF (p_oElement /*:String*/, swfURL /*:String*/, p_oAttributes /*:Object*/ ) {
|
|
68
|
+
|
|
69
|
+
this._id = Y.guid("yuiswf");
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
var _id = this._id;
|
|
73
|
+
var oElement = Node.one(p_oElement);
|
|
74
|
+
|
|
75
|
+
var p_oAttributes = p_oAttributes || {};
|
|
76
|
+
|
|
77
|
+
var flashVersion = p_oAttributes.version || FLASH_VER;
|
|
78
|
+
|
|
79
|
+
var flashVersionSplit = (flashVersion + '').split(".");
|
|
80
|
+
var isFlashVersionRight = SWFDetect.isFlashVersionAtLeast(parseInt(flashVersionSplit[0], 10), parseInt(flashVersionSplit[1], 10), parseInt(flashVersionSplit[2], 10));
|
|
81
|
+
var canExpressInstall = (SWFDetect.isFlashVersionAtLeast(8,0,0));
|
|
82
|
+
var shouldExpressInstall = canExpressInstall && !isFlashVersionRight && p_oAttributes.useExpressInstall;
|
|
83
|
+
var flashURL = (shouldExpressInstall)?EXPRESS_INSTALL_URL:swfURL;
|
|
84
|
+
var objstring = '<object ';
|
|
85
|
+
var w, h;
|
|
86
|
+
var flashvarstring = "yId=" + Y.id + "&YUISwfId=" + _id + "&YUIBridgeCallback=" + EVENT_HANDLER + "&allowedDomain=" + document.location.hostname;
|
|
87
|
+
|
|
88
|
+
Y.SWF._instances[_id] = this;
|
|
89
|
+
if (oElement && (isFlashVersionRight || shouldExpressInstall) && flashURL) {
|
|
90
|
+
objstring += 'id="' + _id + '" ';
|
|
91
|
+
if (uA.ie) {
|
|
92
|
+
objstring += 'classid="' + FLASH_CID + '" ';
|
|
93
|
+
} else {
|
|
94
|
+
objstring += 'type="' + FLASH_TYPE + '" data="' + Escape.html(flashURL) + '" ';
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
w = "100%";
|
|
98
|
+
h = "100%";
|
|
99
|
+
|
|
100
|
+
objstring += 'width="' + w + '" height="' + h + '">';
|
|
101
|
+
|
|
102
|
+
if (uA.ie) {
|
|
103
|
+
objstring += '<param name="movie" value="' + Escape.html(flashURL) + '"/>';
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
for (var attribute in p_oAttributes.fixedAttributes) {
|
|
107
|
+
if (possibleAttributes.hasOwnProperty(attribute)) {
|
|
108
|
+
objstring += '<param name="' + Escape.html(attribute) + '" value="' + Escape.html(p_oAttributes.fixedAttributes[attribute]) + '"/>';
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
for (var flashvar in p_oAttributes.flashVars) {
|
|
113
|
+
var fvar = p_oAttributes.flashVars[flashvar];
|
|
114
|
+
if (Lang.isString(fvar)) {
|
|
115
|
+
flashvarstring += "&" + Escape.html(flashvar) + "=" + Escape.html(encodeURIComponent(fvar));
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
if (flashvarstring) {
|
|
120
|
+
objstring += '<param name="flashVars" value="' + flashvarstring + '"/>';
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
objstring += "</object>";
|
|
124
|
+
//using innerHTML as setHTML/setContent causes some issues with ExternalInterface for IE versions of the player
|
|
125
|
+
oElement.set("innerHTML", objstring);
|
|
126
|
+
|
|
127
|
+
this._swf = Node.one("#" + _id);
|
|
128
|
+
} else {
|
|
129
|
+
/**
|
|
130
|
+
* Fired when the Flash player version on the user's machine is
|
|
131
|
+
* below the required value.
|
|
132
|
+
*
|
|
133
|
+
* @event wrongflashversion
|
|
134
|
+
*/
|
|
135
|
+
var event = {};
|
|
136
|
+
event.type = "wrongflashversion";
|
|
137
|
+
this.publish("wrongflashversion", {fireOnce:true});
|
|
138
|
+
this.fire("wrongflashversion", event);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @private
|
|
144
|
+
* The static collection of all instances of the SWFs on the page.
|
|
145
|
+
* @property _instances
|
|
146
|
+
* @type Object
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
SWF._instances = SWF._instances || {};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @private
|
|
153
|
+
* Handles an event coming from within the SWF and delegate it
|
|
154
|
+
* to a specific instance of SWF.
|
|
155
|
+
* @method eventHandler
|
|
156
|
+
* @param swfid {String} the id of the SWF dispatching the event
|
|
157
|
+
* @param event {Object} the event being transmitted.
|
|
158
|
+
*/
|
|
159
|
+
SWF.eventHandler = function (swfid, event) {
|
|
160
|
+
SWF._instances[swfid]._eventHandler(event);
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
SWF.prototype = {
|
|
164
|
+
/**
|
|
165
|
+
* @private
|
|
166
|
+
* Propagates a specific event from Flash to JS.
|
|
167
|
+
* @method _eventHandler
|
|
168
|
+
* @param event {Object} The event to be propagated from Flash.
|
|
169
|
+
*/
|
|
170
|
+
_eventHandler: function(event) {
|
|
171
|
+
if (event.type === "swfReady") {
|
|
172
|
+
this.publish("swfReady", {fireOnce:true});
|
|
173
|
+
this.fire("swfReady", event);
|
|
174
|
+
} else if(event.type === "log") {
|
|
175
|
+
} else {
|
|
176
|
+
this.fire(event.type, event);
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Calls a specific function exposed by the SWF's
|
|
182
|
+
* ExternalInterface.
|
|
183
|
+
* @method callSWF
|
|
184
|
+
* @param func {String} the name of the function to call
|
|
185
|
+
* @param args {Array} the set of arguments to pass to the function.
|
|
186
|
+
*/
|
|
187
|
+
|
|
188
|
+
callSWF: function (func, args)
|
|
189
|
+
{
|
|
190
|
+
if (!args) {
|
|
191
|
+
args= [];
|
|
192
|
+
}
|
|
193
|
+
if (this._swf._node[func]) {
|
|
194
|
+
return(this._swf._node[func].apply(this._swf._node, args));
|
|
195
|
+
} else {
|
|
196
|
+
return null;
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Public accessor to the unique name of the SWF instance.
|
|
202
|
+
*
|
|
203
|
+
* @method toString
|
|
204
|
+
* @return {String} Unique name of the SWF instance.
|
|
205
|
+
*/
|
|
206
|
+
toString: function()
|
|
207
|
+
{
|
|
208
|
+
return "SWF " + this._id;
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
Y.augment(SWF, Y.EventTarget);
|
|
213
|
+
|
|
214
|
+
Y.SWF = SWF;
|
|
215
|
+
/**
|
|
216
|
+
* The FileFlash class provides a wrapper for a file pointer stored in Flash. The File wrapper
|
|
217
|
+
* also implements the mechanics for uploading a file and tracking its progress.
|
|
218
|
+
* @module file-flash
|
|
219
|
+
*/
|
|
220
|
+
/**
|
|
221
|
+
* The class provides a wrapper for a file pointer in Flash.
|
|
222
|
+
* @class FileFlash
|
|
223
|
+
* @extends Base
|
|
224
|
+
* @constructor
|
|
225
|
+
* @param {Object} config Configuration object.
|
|
226
|
+
*/
|
|
227
|
+
|
|
228
|
+
var FileFlash = function(o) {
|
|
229
|
+
FileFlash.superclass.constructor.apply(this, arguments);
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
Y.extend(FileFlash, Y.Base, {
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Construction logic executed during FileFlash instantiation.
|
|
236
|
+
*
|
|
237
|
+
* @method initializer
|
|
238
|
+
* @protected
|
|
239
|
+
*/
|
|
240
|
+
initializer : function (cfg) {
|
|
241
|
+
if (!this.get("id")) {
|
|
242
|
+
this._set("id", Y.guid("file"));
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Handler of events dispatched by the Flash player.
|
|
248
|
+
*
|
|
249
|
+
* @method _swfEventHandler
|
|
250
|
+
* @param {Event} event The event object received from the Flash player.
|
|
251
|
+
* @protected
|
|
252
|
+
*/
|
|
253
|
+
_swfEventHandler: function (event) {
|
|
254
|
+
if (event.id === this.get("id")) {
|
|
255
|
+
switch (event.type) {
|
|
256
|
+
/**
|
|
257
|
+
* Signals that this file's upload has started.
|
|
258
|
+
*
|
|
259
|
+
* @event uploadstart
|
|
260
|
+
* @param event {Event} The event object for the `uploadstart` with the
|
|
261
|
+
* following payload:
|
|
262
|
+
* <dl>
|
|
263
|
+
* <dt>uploader</dt>
|
|
264
|
+
* <dd>The Y.SWF instance of Flash uploader that's handling the upload.</dd>
|
|
265
|
+
* </dl>
|
|
266
|
+
*/
|
|
267
|
+
case "uploadstart":
|
|
268
|
+
this.fire("uploadstart", {uploader: this.get("uploader")});
|
|
269
|
+
break;
|
|
270
|
+
case "uploadprogress":
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Signals that progress has been made on the upload of this file.
|
|
274
|
+
*
|
|
275
|
+
* @event uploadprogress
|
|
276
|
+
* @param event {Event} The event object for the `uploadprogress` with the
|
|
277
|
+
* following payload:
|
|
278
|
+
* <dl>
|
|
279
|
+
* <dt>originEvent</dt>
|
|
280
|
+
* <dd>The original event fired by the Flash uploader instance.</dd>
|
|
281
|
+
* <dt>bytesLoaded</dt>
|
|
282
|
+
* <dd>The number of bytes of the file that has been uploaded.</dd>
|
|
283
|
+
* <dt>bytesTotal</dt>
|
|
284
|
+
* <dd>The total number of bytes in the file (the file size)</dd>
|
|
285
|
+
* <dt>percentLoaded</dt>
|
|
286
|
+
* <dd>The fraction of the file that has been uploaded, out of 100.</dd>
|
|
287
|
+
* </dl>
|
|
288
|
+
*/
|
|
289
|
+
this.fire("uploadprogress", {originEvent: event,
|
|
290
|
+
bytesLoaded: event.bytesLoaded,
|
|
291
|
+
bytesTotal: event.bytesTotal,
|
|
292
|
+
percentLoaded: Math.min(100, Math.round(10000*event.bytesLoaded/event.bytesTotal)/100)
|
|
293
|
+
});
|
|
294
|
+
this._set("bytesUploaded", event.bytesLoaded);
|
|
295
|
+
break;
|
|
296
|
+
case "uploadcomplete":
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Signals that this file's upload has completed, but data has not yet been received from the server.
|
|
300
|
+
*
|
|
301
|
+
* @event uploadfinished
|
|
302
|
+
* @param event {Event} The event object for the `uploadfinished` with the
|
|
303
|
+
* following payload:
|
|
304
|
+
* <dl>
|
|
305
|
+
* <dt>originEvent</dt>
|
|
306
|
+
* <dd>The original event fired by the Flash player instance.</dd>
|
|
307
|
+
* </dl>
|
|
308
|
+
*/
|
|
309
|
+
this.fire("uploadfinished", {originEvent: event});
|
|
310
|
+
break;
|
|
311
|
+
case "uploadcompletedata":
|
|
312
|
+
/**
|
|
313
|
+
* Signals that this file's upload has completed and data has been received from the server.
|
|
314
|
+
*
|
|
315
|
+
* @event uploadcomplete
|
|
316
|
+
* @param event {Event} The event object for the `uploadcomplete` with the
|
|
317
|
+
* following payload:
|
|
318
|
+
* <dl>
|
|
319
|
+
* <dt>originEvent</dt>
|
|
320
|
+
* <dd>The original event fired by the Flash player instance.</dd>
|
|
321
|
+
* <dt>data</dt>
|
|
322
|
+
* <dd>The data returned by the server.</dd>
|
|
323
|
+
* </dl>
|
|
324
|
+
*/
|
|
325
|
+
this.fire("uploadcomplete", {originEvent: event,
|
|
326
|
+
data: event.data});
|
|
327
|
+
break;
|
|
328
|
+
case "uploadcancel":
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Signals that this file's upload has been cancelled.
|
|
332
|
+
*
|
|
333
|
+
* @event uploadcancel
|
|
334
|
+
* @param event {Event} The event object for the `uploadcancel` with the
|
|
335
|
+
* following payload:
|
|
336
|
+
* <dl>
|
|
337
|
+
* <dt>originEvent</dt>
|
|
338
|
+
* <dd>The original event fired by the Flash player instance.</dd>
|
|
339
|
+
* </dl>
|
|
340
|
+
*/
|
|
341
|
+
this.fire("uploadcancel", {originEvent: event});
|
|
342
|
+
break;
|
|
343
|
+
case "uploaderror":
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Signals that this file's upload has encountered an error.
|
|
347
|
+
*
|
|
348
|
+
* @event uploaderror
|
|
349
|
+
* @param event {Event} The event object for the `uploaderror` with the
|
|
350
|
+
* following payload:
|
|
351
|
+
* <dl>
|
|
352
|
+
* <dt>originEvent</dt>
|
|
353
|
+
* <dd>The original event fired by the Flash player instance.</dd>
|
|
354
|
+
* <dt>status</dt>
|
|
355
|
+
* <dd>The status code reported by the Flash Player. If it's an HTTP error,
|
|
356
|
+
* then this corresponds to the HTTP status code received by the uploader.</dd>
|
|
357
|
+
* <dt>statusText</dt>
|
|
358
|
+
* <dd>The text of the error event reported by the Flash Player.</dd>
|
|
359
|
+
* <dt>source</dt>
|
|
360
|
+
* <dd>Either "http" (if it's an HTTP error), or "io" (if it's a network transmission
|
|
361
|
+
* error.)</dd>
|
|
362
|
+
* </dl>
|
|
363
|
+
*/
|
|
364
|
+
this.fire("uploaderror", {originEvent: event, status: event.status, statusText: event.message, source: event.source});
|
|
365
|
+
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Starts the upload of a specific file.
|
|
372
|
+
*
|
|
373
|
+
* @method startUpload
|
|
374
|
+
* @param url {String} The URL to upload the file to.
|
|
375
|
+
* @param parameters {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.
|
|
376
|
+
* @param fileFieldName {String} (optional) The name of the POST variable that should contain the uploaded file ('Filedata' by default)
|
|
377
|
+
*/
|
|
378
|
+
startUpload: function(url, parameters, fileFieldName) {
|
|
379
|
+
|
|
380
|
+
if (this.get("uploader")) {
|
|
381
|
+
|
|
382
|
+
var myUploader = this.get("uploader"),
|
|
383
|
+
fileField = fileFieldName || "Filedata",
|
|
384
|
+
id = this.get("id"),
|
|
385
|
+
params = parameters || null;
|
|
386
|
+
|
|
387
|
+
this._set("bytesUploaded", 0);
|
|
388
|
+
|
|
389
|
+
myUploader.on("uploadstart", this._swfEventHandler, this);
|
|
390
|
+
myUploader.on("uploadprogress", this._swfEventHandler, this);
|
|
391
|
+
myUploader.on("uploadcomplete", this._swfEventHandler, this);
|
|
392
|
+
myUploader.on("uploadcompletedata", this._swfEventHandler, this);
|
|
393
|
+
myUploader.on("uploaderror", this._swfEventHandler, this);
|
|
394
|
+
|
|
395
|
+
myUploader.callSWF("upload", [id, url, params, fileField]);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
},
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Cancels the upload of a specific file, if currently in progress.
|
|
402
|
+
*
|
|
403
|
+
* @method cancelUpload
|
|
404
|
+
*/
|
|
405
|
+
cancelUpload: function () {
|
|
406
|
+
if (this.get("uploader")) {
|
|
407
|
+
this.get("uploader").callSWF("cancel", [this.get("id")]);
|
|
408
|
+
this.fire("uploadcancel");
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
}, {
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* The identity of the class.
|
|
416
|
+
*
|
|
417
|
+
* @property NAME
|
|
418
|
+
* @type String
|
|
419
|
+
* @default 'file'
|
|
420
|
+
* @readOnly
|
|
421
|
+
* @protected
|
|
422
|
+
* @static
|
|
423
|
+
*/
|
|
424
|
+
NAME: 'file',
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* The type of transport.
|
|
428
|
+
*
|
|
429
|
+
* @property TYPE
|
|
430
|
+
* @type String
|
|
431
|
+
* @default 'flash'
|
|
432
|
+
* @readOnly
|
|
433
|
+
* @protected
|
|
434
|
+
* @static
|
|
435
|
+
*/
|
|
436
|
+
TYPE: "flash",
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Static property used to define the default attribute configuration of
|
|
440
|
+
* the File.
|
|
441
|
+
*
|
|
442
|
+
* @property ATTRS
|
|
443
|
+
* @type {Object}
|
|
444
|
+
* @protected
|
|
445
|
+
* @static
|
|
446
|
+
*/
|
|
447
|
+
ATTRS: {
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* A String containing the unique id of the file wrapped by the FileFlash instance.
|
|
451
|
+
* The id is supplied by the Flash player uploader.
|
|
452
|
+
*
|
|
453
|
+
* @attribute id
|
|
454
|
+
* @type {String}
|
|
455
|
+
* @initOnly
|
|
456
|
+
*/
|
|
457
|
+
id: {
|
|
458
|
+
writeOnce: "initOnly",
|
|
459
|
+
value: null
|
|
460
|
+
},
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* The size of the file wrapped by FileFlash. This value is supplied by the Flash player uploader.
|
|
464
|
+
*
|
|
465
|
+
* @attribute size
|
|
466
|
+
* @type {Number}
|
|
467
|
+
* @initOnly
|
|
468
|
+
*/
|
|
469
|
+
size: {
|
|
470
|
+
writeOnce: "initOnly",
|
|
471
|
+
value: 0
|
|
472
|
+
},
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* The name of the file wrapped by FileFlash. This value is supplied by the Flash player uploader.
|
|
476
|
+
*
|
|
477
|
+
* @attribute name
|
|
478
|
+
* @type {String}
|
|
479
|
+
* @initOnly
|
|
480
|
+
*/
|
|
481
|
+
name: {
|
|
482
|
+
writeOnce: "initOnly",
|
|
483
|
+
value: null
|
|
484
|
+
},
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The date that the file wrapped by FileFlash was created on. This value is supplied by the Flash player uploader.
|
|
488
|
+
*
|
|
489
|
+
* @attribute dateCreated
|
|
490
|
+
* @type {Date}
|
|
491
|
+
* @initOnly
|
|
492
|
+
*/
|
|
493
|
+
dateCreated: {
|
|
494
|
+
writeOnce: "initOnly",
|
|
495
|
+
value: null
|
|
496
|
+
},
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* The date that the file wrapped by FileFlash was last modified on. This value is supplied by the Flash player uploader.
|
|
500
|
+
*
|
|
501
|
+
* @attribute dateModified
|
|
502
|
+
* @type {Date}
|
|
503
|
+
* @initOnly
|
|
504
|
+
*/
|
|
505
|
+
dateModified: {
|
|
506
|
+
writeOnce: "initOnly",
|
|
507
|
+
value: null
|
|
508
|
+
},
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* The number of bytes of the file that has been uploaded to the server. This value is
|
|
512
|
+
* non-zero only while a file is being uploaded.
|
|
513
|
+
*
|
|
514
|
+
* @attribute bytesUploaded
|
|
515
|
+
* @type {Date}
|
|
516
|
+
* @readOnly
|
|
517
|
+
*/
|
|
518
|
+
bytesUploaded: {
|
|
519
|
+
readOnly: true,
|
|
520
|
+
value: 0
|
|
521
|
+
},
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* The type of the file wrapped by FileFlash. This value is provided by the Flash player
|
|
525
|
+
* uploader.
|
|
526
|
+
*
|
|
527
|
+
* @attribute type
|
|
528
|
+
* @type {String}
|
|
529
|
+
* @initOnly
|
|
530
|
+
*/
|
|
531
|
+
type: {
|
|
532
|
+
writeOnce: "initOnly",
|
|
533
|
+
value: null
|
|
534
|
+
},
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* The instance of Y.SWF wrapping the Flash player uploader associated with this file.
|
|
538
|
+
*
|
|
539
|
+
* @attribute uploder
|
|
540
|
+
* @type {SWF}
|
|
541
|
+
* @initOnly
|
|
542
|
+
*/
|
|
543
|
+
uploader: {
|
|
544
|
+
writeOnce: "initOnly",
|
|
545
|
+
value: null
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
|
|
550
|
+
Y.FileFlash = FileFlash;
|
|
551
|
+
/**
|
|
552
|
+
* This module provides a UI for file selection and multiple file upload capability
|
|
553
|
+
* using Flash as a transport engine.
|
|
554
|
+
* @class UploaderFlash
|
|
555
|
+
* @extends Widget
|
|
556
|
+
* @param {Object} config Configuration object.
|
|
557
|
+
* @constructor
|
|
558
|
+
* @deprecated
|
|
559
|
+
*/
|
|
560
|
+
|
|
561
|
+
function UploaderFlash() {
|
|
562
|
+
UploaderFlash.superclass.constructor.apply ( this, arguments );
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
Y.UploaderFlash = Y.extend(UploaderFlash, Y.Widget, {
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Stored value of the current button state (based on
|
|
571
|
+
* mouse events dispatched by the Flash player)
|
|
572
|
+
* @property _buttonState
|
|
573
|
+
* @type {String}
|
|
574
|
+
* @protected
|
|
575
|
+
*/
|
|
576
|
+
_buttonState: "up",
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Stored value of the current button focus state (based
|
|
580
|
+
* on keyboard and mouse events).
|
|
581
|
+
* @property _buttonFocus
|
|
582
|
+
* @type {Boolean}
|
|
583
|
+
* @protected
|
|
584
|
+
*/
|
|
585
|
+
_buttonFocus: false,
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Stored value of the unique id for the container that holds the
|
|
589
|
+
* Flash uploader.
|
|
590
|
+
*
|
|
591
|
+
* @property _swfContainerId
|
|
592
|
+
* @type {String}
|
|
593
|
+
* @protected
|
|
594
|
+
*/
|
|
595
|
+
_swfContainerId: null,
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Stored reference to the instance of SWF used to host the
|
|
599
|
+
* Flash uploader.
|
|
600
|
+
*
|
|
601
|
+
* @property _swfReference
|
|
602
|
+
* @type {SWF}
|
|
603
|
+
* @protected
|
|
604
|
+
*/
|
|
605
|
+
_swfReference: null,
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Stored reference to the instance of Uploader.Queue used to manage
|
|
609
|
+
* the upload process. This is a read-only property that only exists
|
|
610
|
+
* during an active upload process. Only one queue can be active at
|
|
611
|
+
* a time; if an upload start is attempted while a queue is active,
|
|
612
|
+
* it will be ignored.
|
|
613
|
+
*
|
|
614
|
+
* @property queue
|
|
615
|
+
* @type {Uploader.Queue}
|
|
616
|
+
*/
|
|
617
|
+
queue: null,
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Stored event bindings for keyboard navigation to and from the uploader.
|
|
621
|
+
*
|
|
622
|
+
* @property _tabElementBindings
|
|
623
|
+
* @type {Object}
|
|
624
|
+
* @protected
|
|
625
|
+
*/
|
|
626
|
+
_tabElementBindings: null,
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Construction logic executed during UploaderFlash instantiation.
|
|
631
|
+
*
|
|
632
|
+
* @method initializer
|
|
633
|
+
* @protected
|
|
634
|
+
*/
|
|
635
|
+
initializer : function () {
|
|
636
|
+
|
|
637
|
+
// Assign protected variable values
|
|
638
|
+
this._swfContainerId = Y.guid("uploader");
|
|
639
|
+
this._swfReference = null;
|
|
640
|
+
this.queue = null;
|
|
641
|
+
this._buttonState = "up";
|
|
642
|
+
this._buttonFocus = null;
|
|
643
|
+
this._tabElementBindings = null;
|
|
644
|
+
this._fileList = [];
|
|
645
|
+
|
|
646
|
+
// Publish available events
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Signals that files have been selected.
|
|
650
|
+
*
|
|
651
|
+
* @event fileselect
|
|
652
|
+
* @param event {Event} The event object for the `fileselect` with the
|
|
653
|
+
* following payload:
|
|
654
|
+
* <dl>
|
|
655
|
+
* <dt>fileList</dt>
|
|
656
|
+
* <dd>An `Array` of files selected by the user, encapsulated
|
|
657
|
+
* in Y.FileFlash objects.</dd>
|
|
658
|
+
* </dl>
|
|
659
|
+
*/
|
|
660
|
+
this.publish("fileselect");
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Signals that an upload of multiple files has been started.
|
|
664
|
+
*
|
|
665
|
+
* @event uploadstart
|
|
666
|
+
* @param event {Event} The event object for the `uploadstart`.
|
|
667
|
+
*/
|
|
668
|
+
this.publish("uploadstart");
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Signals that an upload of a specific file has started.
|
|
672
|
+
*
|
|
673
|
+
* @event fileuploadstart
|
|
674
|
+
* @param event {Event} The event object for the `fileuploadstart` with the
|
|
675
|
+
* following payload:
|
|
676
|
+
* <dl>
|
|
677
|
+
* <dt>file</dt>
|
|
678
|
+
* <dd>A reference to the Y.File that dispatched the event.</dd>
|
|
679
|
+
* <dt>originEvent</dt>
|
|
680
|
+
* <dd>The original event dispatched by Y.File.</dd>
|
|
681
|
+
* </dl>
|
|
682
|
+
*/
|
|
683
|
+
this.publish("fileuploadstart");
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Reports on upload progress of a specific file.
|
|
687
|
+
*
|
|
688
|
+
* @event uploadprogress
|
|
689
|
+
* @param event {Event} The event object for the `uploadprogress` with the
|
|
690
|
+
* following payload:
|
|
691
|
+
* <dl>
|
|
692
|
+
* <dt>bytesLoaded</dt>
|
|
693
|
+
* <dd>The number of bytes of the file that has been uploaded</dd>
|
|
694
|
+
* <dt>bytesTotal</dt>
|
|
695
|
+
* <dd>The total number of bytes in the file</dd>
|
|
696
|
+
* <dt>percentLoaded</dt>
|
|
697
|
+
* <dd>The fraction of the file that has been uploaded, out of 100</dd>
|
|
698
|
+
* <dt>originEvent</dt>
|
|
699
|
+
* <dd>The original event dispatched by the SWF uploader</dd>
|
|
700
|
+
* </dl>
|
|
701
|
+
*/
|
|
702
|
+
this.publish("uploadprogress");
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* Reports on the total upload progress of the file list.
|
|
706
|
+
*
|
|
707
|
+
* @event totaluploadprogress
|
|
708
|
+
* @param event {Event} The event object for the `totaluploadprogress` with the
|
|
709
|
+
* following payload:
|
|
710
|
+
* <dl>
|
|
711
|
+
* <dt>bytesLoaded</dt>
|
|
712
|
+
* <dd>The number of bytes of the file list that has been uploaded</dd>
|
|
713
|
+
* <dt>bytesTotal</dt>
|
|
714
|
+
* <dd>The total number of bytes in the file list</dd>
|
|
715
|
+
* <dt>percentLoaded</dt>
|
|
716
|
+
* <dd>The fraction of the file list that has been uploaded, out of 100</dd>
|
|
717
|
+
* </dl>
|
|
718
|
+
*/
|
|
719
|
+
this.publish("totaluploadprogress");
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Signals that a single file upload has been completed.
|
|
723
|
+
*
|
|
724
|
+
* @event uploadcomplete
|
|
725
|
+
* @param event {Event} The event object for the `uploadcomplete` with the
|
|
726
|
+
* following payload:
|
|
727
|
+
* <dl>
|
|
728
|
+
* <dt>file</dt>
|
|
729
|
+
* <dd>The pointer to the instance of `Y.File` whose upload has been completed.</dd>
|
|
730
|
+
* <dt>originEvent</dt>
|
|
731
|
+
* <dd>The original event fired by the SWF Uploader</dd>
|
|
732
|
+
* <dt>data</dt>
|
|
733
|
+
* <dd>Data returned by the server.</dd>
|
|
734
|
+
* </dl>
|
|
735
|
+
*/
|
|
736
|
+
this.publish("uploadcomplete");
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Signals that the upload process of the entire file list has been completed.
|
|
740
|
+
*
|
|
741
|
+
* @event alluploadscomplete
|
|
742
|
+
* @param event {Event} The event object for the `alluploadscomplete`.
|
|
743
|
+
*/
|
|
744
|
+
this.publish("alluploadscomplete");
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* Signals that a error has occurred in a specific file's upload process.
|
|
748
|
+
*
|
|
749
|
+
* @event uploaderror
|
|
750
|
+
* @param event {Event} The event object for the `uploaderror` with the
|
|
751
|
+
* following payload:
|
|
752
|
+
* <dl>
|
|
753
|
+
* <dt>originEvent</dt>
|
|
754
|
+
* <dd>The original error event fired by the SWF Uploader. </dd>
|
|
755
|
+
* <dt>file</dt>
|
|
756
|
+
* <dd>The pointer at the instance of Y.FileFlash that returned the error.</dd>
|
|
757
|
+
* <dt>source</dt>
|
|
758
|
+
* <dd>The source of the upload error, either "io" or "http"</dd>
|
|
759
|
+
* <dt>message</dt>
|
|
760
|
+
* <dd>The message that accompanied the error. Corresponds to the text of
|
|
761
|
+
* the error in cases where source is "io", and to the HTTP status for
|
|
762
|
+
cases where source is "http".</dd>
|
|
763
|
+
* </dl>
|
|
764
|
+
*/
|
|
765
|
+
this.publish("uploaderror");
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Signals that a mouse has begun hovering over the `Select Files` button.
|
|
769
|
+
*
|
|
770
|
+
* @event mouseenter
|
|
771
|
+
* @param event {Event} The event object for the `mouseenter` event.
|
|
772
|
+
*/
|
|
773
|
+
this.publish("mouseenter");
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Signals that a mouse has stopped hovering over the `Select Files` button.
|
|
777
|
+
*
|
|
778
|
+
* @event mouseleave
|
|
779
|
+
* @param event {Event} The event object for the `mouseleave` event.
|
|
780
|
+
*/
|
|
781
|
+
this.publish("mouseleave");
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Signals that a mouse button has been pressed over the `Select Files` button.
|
|
785
|
+
*
|
|
786
|
+
* @event mousedown
|
|
787
|
+
* @param event {Event} The event object for the `mousedown` event.
|
|
788
|
+
*/
|
|
789
|
+
this.publish("mousedown");
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Signals that a mouse button has been released over the `Select Files` button.
|
|
793
|
+
*
|
|
794
|
+
* @event mouseup
|
|
795
|
+
* @param event {Event} The event object for the `mouseup` event.
|
|
796
|
+
*/
|
|
797
|
+
this.publish("mouseup");
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Signals that a mouse has been clicked over the `Select Files` button.
|
|
801
|
+
*
|
|
802
|
+
* @event click
|
|
803
|
+
* @param event {Event} The event object for the `click` event.
|
|
804
|
+
*/
|
|
805
|
+
this.publish("click");
|
|
806
|
+
},
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Creates the DOM structure for the UploaderFlash.
|
|
810
|
+
* UploaderFlash's DOM structure consists of two layers: the base "Select Files"
|
|
811
|
+
* button that can be replaced by the developer's widget of choice; and a transparent
|
|
812
|
+
* Flash overlay positoned above the button that captures all input events.
|
|
813
|
+
* The `position` style attribute of the `boundingBox` of the `Uploader` widget
|
|
814
|
+
* is forced to be `relative`, in order to accommodate the Flash player overlay
|
|
815
|
+
* (which is `position`ed `absolute`ly).
|
|
816
|
+
*
|
|
817
|
+
* @method renderUI
|
|
818
|
+
* @protected
|
|
819
|
+
*/
|
|
820
|
+
renderUI : function () {
|
|
821
|
+
var boundingBox = this.get("boundingBox"),
|
|
822
|
+
contentBox = this.get('contentBox'),
|
|
823
|
+
selFilesButton = this.get("selectFilesButton"),
|
|
824
|
+
flashContainer = Y.Node.create(substitute(UploaderFlash.FLASH_CONTAINER, {
|
|
825
|
+
swfContainerId: this._swfContainerId
|
|
826
|
+
})),
|
|
827
|
+
params = {
|
|
828
|
+
version: "10.0.45",
|
|
829
|
+
fixedAttributes: {
|
|
830
|
+
wmode: "transparent",
|
|
831
|
+
allowScriptAccess:"always",
|
|
832
|
+
allowNetworking:"all",
|
|
833
|
+
scale: "noscale"
|
|
834
|
+
}
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
boundingBox.setStyle("position", "relative");
|
|
838
|
+
selFilesButton.setStyles({width: "100%", height: "100%"});
|
|
839
|
+
contentBox.append(selFilesButton);
|
|
840
|
+
contentBox.append(flashContainer);
|
|
841
|
+
|
|
842
|
+
this._swfReference = new Y.SWF(flashContainer, this.get("swfURL"), params);
|
|
843
|
+
},
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Binds handlers to the UploaderFlash UI events and propagates attribute
|
|
847
|
+
* values to the Flash player.
|
|
848
|
+
* The propagation of initial values is set to occur once the Flash player
|
|
849
|
+
* instance is ready (as indicated by the `swfReady` event.)
|
|
850
|
+
*
|
|
851
|
+
* @method bindUI
|
|
852
|
+
* @protected
|
|
853
|
+
*/
|
|
854
|
+
bindUI : function () {
|
|
855
|
+
|
|
856
|
+
this._swfReference.on("swfReady", function () {
|
|
857
|
+
this._setMultipleFiles();
|
|
858
|
+
this._setFileFilters();
|
|
859
|
+
this._triggerEnabled();
|
|
860
|
+
this._attachTabElements();
|
|
861
|
+
this.after("multipleFilesChange", this._setMultipleFiles, this);
|
|
862
|
+
this.after("fileFiltersChange", this._setFileFilters, this);
|
|
863
|
+
this.after("enabledChange", this._triggerEnabled, this);
|
|
864
|
+
this.after("tabElementsChange", this._attachTabElements);
|
|
865
|
+
}, this);
|
|
866
|
+
|
|
867
|
+
this._swfReference.on("fileselect", this._updateFileList, this);
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
// this._swfReference.on("trace", function (ev) {console.log(ev.message);});
|
|
872
|
+
|
|
873
|
+
this._swfReference.on("mouseenter", function () {
|
|
874
|
+
this.fire("mouseenter");
|
|
875
|
+
this._setButtonClass("hover", true);
|
|
876
|
+
if (this._buttonState === "down") {
|
|
877
|
+
this._setButtonClass("active", true);
|
|
878
|
+
}
|
|
879
|
+
}, this);
|
|
880
|
+
|
|
881
|
+
this._swfReference.on("mouseleave", function () {
|
|
882
|
+
this.fire("mouseleave");
|
|
883
|
+
this._setButtonClass("hover", false);
|
|
884
|
+
this._setButtonClass("active", false);
|
|
885
|
+
}, this);
|
|
886
|
+
|
|
887
|
+
this._swfReference.on("mousedown", function () {
|
|
888
|
+
this.fire("mousedown");
|
|
889
|
+
this._buttonState = "down";
|
|
890
|
+
this._setButtonClass("active", true);
|
|
891
|
+
}, this);
|
|
892
|
+
|
|
893
|
+
this._swfReference.on("mouseup", function () {
|
|
894
|
+
this.fire("mouseup");
|
|
895
|
+
this._buttonState = "up";
|
|
896
|
+
this._setButtonClass("active", false);
|
|
897
|
+
}, this);
|
|
898
|
+
|
|
899
|
+
this._swfReference.on("click", function () {
|
|
900
|
+
this.fire("click");
|
|
901
|
+
this._buttonFocus = true;
|
|
902
|
+
this._setButtonClass("focus", true);
|
|
903
|
+
Y.one("body").focus();
|
|
904
|
+
this._swfReference._swf.focus();
|
|
905
|
+
}, this);
|
|
906
|
+
},
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Attaches keyboard bindings to enabling tabbing to and from the instance of the Flash
|
|
910
|
+
* player in the Uploader widget. If the previous and next elements are specified, the
|
|
911
|
+
* keyboard bindings enable the user to tab from the `tabElements["from"]` node to the
|
|
912
|
+
* Flash-powered "Select Files" button, and to the `tabElements["to"]` node.
|
|
913
|
+
*
|
|
914
|
+
* @method _attachTabElements
|
|
915
|
+
* @protected
|
|
916
|
+
* @param ev {Event} Optional event payload if called as a `tabElementsChange` handler.
|
|
917
|
+
*/
|
|
918
|
+
_attachTabElements : function () {
|
|
919
|
+
if (this.get("tabElements") !== null && this.get("tabElements").from !== null && this.get("tabElements").to !== null) {
|
|
920
|
+
|
|
921
|
+
if (this._tabElementBindings !== null) {
|
|
922
|
+
this._tabElementBindings.from.detach();
|
|
923
|
+
this._tabElementBindings.to.detach();
|
|
924
|
+
this._tabElementBindings.tabback.detach();
|
|
925
|
+
this._tabElementBindings.tabforward.detach();
|
|
926
|
+
this._tabElementBindings.focus.detach();
|
|
927
|
+
this._tabElementBindings.blur.detach();
|
|
928
|
+
}
|
|
929
|
+
else {
|
|
930
|
+
this._tabElementBindings = {};
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
var fromElement = Y.one(this.get("tabElements").from),
|
|
934
|
+
toElement = Y.one(this.get("tabElements").to);
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
this._tabElementBindings.from = fromElement.on("keydown", function (ev) {
|
|
938
|
+
if (ev.keyCode === 9 && !ev.shiftKey) {
|
|
939
|
+
ev.preventDefault();
|
|
940
|
+
this._swfReference._swf.setAttribute("tabindex", 0);
|
|
941
|
+
this._swfReference._swf.setAttribute("role", "button");
|
|
942
|
+
this._swfReference._swf.setAttribute("aria-label", this.get("selectButtonLabel"));
|
|
943
|
+
this._swfReference._swf.focus();
|
|
944
|
+
}
|
|
945
|
+
}, this);
|
|
946
|
+
|
|
947
|
+
this._tabElementBindings.to = toElement.on("keydown", function (ev) {
|
|
948
|
+
if (ev.keyCode === 9 && ev.shiftKey) {
|
|
949
|
+
ev.preventDefault();
|
|
950
|
+
this._swfReference._swf.setAttribute("tabindex", 0);
|
|
951
|
+
this._swfReference._swf.setAttribute("role", "button");
|
|
952
|
+
this._swfReference._swf.setAttribute("aria-label", this.get("selectButtonLabel"));
|
|
953
|
+
this._swfReference._swf.focus();
|
|
954
|
+
}
|
|
955
|
+
}, this);
|
|
956
|
+
|
|
957
|
+
this._tabElementBindings.tabback = this._swfReference.on("tabback", function () {
|
|
958
|
+
this._swfReference._swf.blur();
|
|
959
|
+
setTimeout(function () {
|
|
960
|
+
fromElement.focus();
|
|
961
|
+
}, 30);
|
|
962
|
+
}, this);
|
|
963
|
+
|
|
964
|
+
this._tabElementBindings.tabforward = this._swfReference.on("tabforward", function () {
|
|
965
|
+
this._swfReference._swf.blur();
|
|
966
|
+
setTimeout(function () {
|
|
967
|
+
toElement.focus();
|
|
968
|
+
}, 30);
|
|
969
|
+
}, this);
|
|
970
|
+
|
|
971
|
+
this._tabElementBindings.focus = this._swfReference._swf.on("focus", function () {
|
|
972
|
+
this._buttonFocus = true;
|
|
973
|
+
this._setButtonClass("focus", true);
|
|
974
|
+
}, this);
|
|
975
|
+
|
|
976
|
+
this._tabElementBindings.blur = this._swfReference._swf.on("blur", function () {
|
|
977
|
+
this._buttonFocus = false;
|
|
978
|
+
this._setButtonClass("focus", false);
|
|
979
|
+
}, this);
|
|
980
|
+
}
|
|
981
|
+
else if (this._tabElementBindings !== null) {
|
|
982
|
+
this._tabElementBindings.from.detach();
|
|
983
|
+
this._tabElementBindings.to.detach();
|
|
984
|
+
this._tabElementBindings.tabback.detach();
|
|
985
|
+
this._tabElementBindings.tabforward.detach();
|
|
986
|
+
this._tabElementBindings.focus.detach();
|
|
987
|
+
this._tabElementBindings.blur.detach();
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Adds or removes a specified state CSS class to the underlying uploader button.
|
|
994
|
+
*
|
|
995
|
+
* @method _setButtonClass
|
|
996
|
+
* @protected
|
|
997
|
+
* @param state {String} The name of the state enumerated in `buttonClassNames` attribute
|
|
998
|
+
* from which to derive the needed class name.
|
|
999
|
+
* @param add {Boolean} A Boolean indicating whether to add or remove the class.
|
|
1000
|
+
*/
|
|
1001
|
+
_setButtonClass : function (state, add) {
|
|
1002
|
+
if (add) {
|
|
1003
|
+
this.get("selectFilesButton").addClass(this.get("buttonClassNames")[state]);
|
|
1004
|
+
}
|
|
1005
|
+
else {
|
|
1006
|
+
this.get("selectFilesButton").removeClass(this.get("buttonClassNames")[state]);
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* Syncs the state of the `fileFilters` attribute between the instance of UploaderFlash
|
|
1013
|
+
* and the Flash player.
|
|
1014
|
+
*
|
|
1015
|
+
* @method _setFileFilters
|
|
1016
|
+
* @private
|
|
1017
|
+
*/
|
|
1018
|
+
_setFileFilters : function () {
|
|
1019
|
+
if (this._swfReference && this.get("fileFilters").length > 0) {
|
|
1020
|
+
this._swfReference.callSWF("setFileFilters", [this.get("fileFilters")]);
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Syncs the state of the `multipleFiles` attribute between this class
|
|
1028
|
+
* and the Flash uploader.
|
|
1029
|
+
*
|
|
1030
|
+
* @method _setMultipleFiles
|
|
1031
|
+
* @private
|
|
1032
|
+
*/
|
|
1033
|
+
_setMultipleFiles : function () {
|
|
1034
|
+
if (this._swfReference) {
|
|
1035
|
+
this._swfReference.callSWF("setAllowMultipleFiles", [this.get("multipleFiles")]);
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Syncs the state of the `enabled` attribute between this class
|
|
1041
|
+
* and the Flash uploader.
|
|
1042
|
+
*
|
|
1043
|
+
* @method _triggerEnabled
|
|
1044
|
+
* @private
|
|
1045
|
+
*/
|
|
1046
|
+
_triggerEnabled : function () {
|
|
1047
|
+
if (this.get("enabled")) {
|
|
1048
|
+
this._swfReference.callSWF("enable");
|
|
1049
|
+
this._swfReference._swf.setAttribute("aria-disabled", "false");
|
|
1050
|
+
this._setButtonClass("disabled", false);
|
|
1051
|
+
}
|
|
1052
|
+
else {
|
|
1053
|
+
this._swfReference.callSWF("disable");
|
|
1054
|
+
this._swfReference._swf.setAttribute("aria-disabled", "true");
|
|
1055
|
+
this._setButtonClass("disabled", true);
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Getter for the `fileList` attribute
|
|
1061
|
+
*
|
|
1062
|
+
* @method _getFileList
|
|
1063
|
+
* @private
|
|
1064
|
+
*/
|
|
1065
|
+
_getFileList : function () {
|
|
1066
|
+
return this._fileList.concat();
|
|
1067
|
+
},
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* Setter for the `fileList` attribute
|
|
1071
|
+
*
|
|
1072
|
+
* @method _setFileList
|
|
1073
|
+
* @private
|
|
1074
|
+
*/
|
|
1075
|
+
_setFileList : function (val) {
|
|
1076
|
+
this._fileList = val.concat();
|
|
1077
|
+
return this._fileList.concat();
|
|
1078
|
+
},
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Adjusts the content of the `fileList` based on the results of file selection
|
|
1082
|
+
* and the `appendNewFiles` attribute. If the `appendNewFiles` attribute is true,
|
|
1083
|
+
* then selected files are appended to the existing list; otherwise, the list is
|
|
1084
|
+
* cleared and populated with the newly selected files.
|
|
1085
|
+
*
|
|
1086
|
+
* @method _updateFileList
|
|
1087
|
+
* @param ev {Event} The file selection event received from the uploader.
|
|
1088
|
+
* @private
|
|
1089
|
+
*/
|
|
1090
|
+
_updateFileList : function (ev) {
|
|
1091
|
+
|
|
1092
|
+
Y.one("body").focus();
|
|
1093
|
+
this._swfReference._swf.focus();
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
var newfiles = ev.fileList,
|
|
1097
|
+
fileConfObjects = [],
|
|
1098
|
+
parsedFiles = [],
|
|
1099
|
+
swfRef = this._swfReference,
|
|
1100
|
+
filterFunc = this.get("fileFilterFunction"),
|
|
1101
|
+
oldfiles;
|
|
1102
|
+
|
|
1103
|
+
Y.each(newfiles, function (value) {
|
|
1104
|
+
var newFileConf = {};
|
|
1105
|
+
newFileConf.id = value.fileId;
|
|
1106
|
+
newFileConf.name = value.fileReference.name;
|
|
1107
|
+
newFileConf.size = value.fileReference.size;
|
|
1108
|
+
newFileConf.type = value.fileReference.type;
|
|
1109
|
+
newFileConf.dateCreated = value.fileReference.creationDate;
|
|
1110
|
+
newFileConf.dateModified = value.fileReference.modificationDate;
|
|
1111
|
+
newFileConf.uploader = swfRef;
|
|
1112
|
+
|
|
1113
|
+
fileConfObjects.push(newFileConf);
|
|
1114
|
+
});
|
|
1115
|
+
|
|
1116
|
+
if (filterFunc) {
|
|
1117
|
+
Y.each(fileConfObjects, function (value) {
|
|
1118
|
+
var newfile = new Y.FileFlash(value);
|
|
1119
|
+
if (filterFunc(newfile)) {
|
|
1120
|
+
parsedFiles.push(newfile);
|
|
1121
|
+
}
|
|
1122
|
+
});
|
|
1123
|
+
}
|
|
1124
|
+
else {
|
|
1125
|
+
Y.each(fileConfObjects, function (value) {
|
|
1126
|
+
parsedFiles.push(new Y.FileFlash(value));
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
if (parsedFiles.length > 0) {
|
|
1131
|
+
oldfiles = this.get("fileList");
|
|
1132
|
+
|
|
1133
|
+
this.set("fileList",
|
|
1134
|
+
this.get("appendNewFiles") ? oldfiles.concat(parsedFiles) : parsedFiles );
|
|
1135
|
+
|
|
1136
|
+
this.fire("fileselect", { fileList: parsedFiles });
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
},
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Handles and retransmits events fired by `Y.FileFlash` and `Y.Uploader.Queue`.
|
|
1145
|
+
*
|
|
1146
|
+
* @method _uploadEventHandler
|
|
1147
|
+
* @param event The event dispatched during the upload process.
|
|
1148
|
+
* @private
|
|
1149
|
+
*/
|
|
1150
|
+
_uploadEventHandler : function (event) {
|
|
1151
|
+
|
|
1152
|
+
switch (event.type) {
|
|
1153
|
+
case "file:uploadstart":
|
|
1154
|
+
this.fire("fileuploadstart", event);
|
|
1155
|
+
break;
|
|
1156
|
+
case "file:uploadprogress":
|
|
1157
|
+
this.fire("uploadprogress", event);
|
|
1158
|
+
break;
|
|
1159
|
+
case "uploaderqueue:totaluploadprogress":
|
|
1160
|
+
this.fire("totaluploadprogress", event);
|
|
1161
|
+
break;
|
|
1162
|
+
case "file:uploadcomplete":
|
|
1163
|
+
this.fire("uploadcomplete", event);
|
|
1164
|
+
break;
|
|
1165
|
+
case "uploaderqueue:alluploadscomplete":
|
|
1166
|
+
this.queue = null;
|
|
1167
|
+
this.fire("alluploadscomplete", event);
|
|
1168
|
+
break;
|
|
1169
|
+
case "file:uploaderror": //overflow intentional
|
|
1170
|
+
case "uploaderqueue:uploaderror":
|
|
1171
|
+
this.fire("uploaderror", event);
|
|
1172
|
+
break;
|
|
1173
|
+
case "file:uploadcancel": // overflow intentional
|
|
1174
|
+
case "uploaderqueue:uploadcancel":
|
|
1175
|
+
this.fire("uploadcancel", event);
|
|
1176
|
+
break;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
},
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* Starts the upload of a specific file.
|
|
1185
|
+
*
|
|
1186
|
+
* @method upload
|
|
1187
|
+
* @param file {FileFlash} Reference to the instance of the file to be uploaded.
|
|
1188
|
+
* @param url {String} The URL to upload the file to.
|
|
1189
|
+
* @param [postVars] {Object} A set of key-value pairs to send as variables along with the file upload HTTP request.
|
|
1190
|
+
* If not specified, the values from the attribute `postVarsPerFile` are used instead.
|
|
1191
|
+
*/
|
|
1192
|
+
upload : function (file, url, postvars) {
|
|
1193
|
+
|
|
1194
|
+
var uploadURL = url || this.get("uploadURL"),
|
|
1195
|
+
postVars = postvars || this.get("postVarsPerFile"),
|
|
1196
|
+
fileId = file.get("id");
|
|
1197
|
+
|
|
1198
|
+
postVars = postVars.hasOwnProperty(fileId) ? postVars[fileId] : postVars;
|
|
1199
|
+
|
|
1200
|
+
if (file instanceof Y.FileFlash) {
|
|
1201
|
+
|
|
1202
|
+
file.on("uploadstart", this._uploadEventHandler, this);
|
|
1203
|
+
file.on("uploadprogress", this._uploadEventHandler, this);
|
|
1204
|
+
file.on("uploadcomplete", this._uploadEventHandler, this);
|
|
1205
|
+
file.on("uploaderror", this._uploadEventHandler, this);
|
|
1206
|
+
file.on("uploadcancel", this._uploadEventHandler, this);
|
|
1207
|
+
|
|
1208
|
+
file.startUpload(uploadURL, postVars, this.get("fileFieldName"));
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Starts the upload of all files on the file list, using an automated queue.
|
|
1214
|
+
*
|
|
1215
|
+
* @method uploadAll
|
|
1216
|
+
* @param url {String} The URL to upload the files to.
|
|
1217
|
+
* @param [postVars] {Object} A set of key-value pairs to send as variables along with the file upload HTTP request.
|
|
1218
|
+
* If not specified, the values from the attribute `postVarsPerFile` are used instead.
|
|
1219
|
+
*/
|
|
1220
|
+
uploadAll : function (url, postvars) {
|
|
1221
|
+
this.uploadThese(this.get("fileList"), url, postvars);
|
|
1222
|
+
},
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Starts the upload of the files specified in the first argument, using an automated queue.
|
|
1226
|
+
*
|
|
1227
|
+
* @method uploadThese
|
|
1228
|
+
* @param files {Array} The list of files to upload.
|
|
1229
|
+
* @param url {String} The URL to upload the files to.
|
|
1230
|
+
* @param [postVars] {Object} A set of key-value pairs to send as variables along with the file upload HTTP request.
|
|
1231
|
+
* If not specified, the values from the attribute `postVarsPerFile` are used instead.
|
|
1232
|
+
*/
|
|
1233
|
+
uploadThese : function (files, url, postvars) {
|
|
1234
|
+
if (!this.queue) {
|
|
1235
|
+
var uploadURL = url || this.get("uploadURL"),
|
|
1236
|
+
postVars = postvars || this.get("postVarsPerFile");
|
|
1237
|
+
|
|
1238
|
+
this.queue = new UploaderQueue({
|
|
1239
|
+
simUploads: this.get("simLimit"),
|
|
1240
|
+
errorAction: this.get("errorAction"),
|
|
1241
|
+
fileFieldName: this.get("fileFieldName"),
|
|
1242
|
+
fileList: files,
|
|
1243
|
+
uploadURL: uploadURL,
|
|
1244
|
+
perFileParameters: postVars,
|
|
1245
|
+
retryCount: this.get("retryCount")
|
|
1246
|
+
});
|
|
1247
|
+
|
|
1248
|
+
this.queue.on("uploadstart", this._uploadEventHandler, this);
|
|
1249
|
+
this.queue.on("uploadprogress", this._uploadEventHandler, this);
|
|
1250
|
+
this.queue.on("totaluploadprogress", this._uploadEventHandler, this);
|
|
1251
|
+
this.queue.on("uploadcomplete", this._uploadEventHandler, this);
|
|
1252
|
+
this.queue.on("alluploadscomplete", this._uploadEventHandler, this);
|
|
1253
|
+
this.queue.on("alluploadscancelled", function () {this.queue = null;}, this);
|
|
1254
|
+
this.queue.on("uploaderror", this._uploadEventHandler, this);
|
|
1255
|
+
this.queue.startUpload();
|
|
1256
|
+
|
|
1257
|
+
this.fire("uploadstart");
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
|
|
1262
|
+
{
|
|
1263
|
+
/**
|
|
1264
|
+
* The template for the Flash player container. Since the Flash player container needs
|
|
1265
|
+
* to completely overlay the &lquot;Select Files&rqot; control, it's positioned absolutely,
|
|
1266
|
+
* with width and height set to 100% of the parent.
|
|
1267
|
+
*
|
|
1268
|
+
* @property FLASH_CONTAINER
|
|
1269
|
+
* @type {String}
|
|
1270
|
+
* @static
|
|
1271
|
+
* @default '<div id="{swfContainerId}" style="position:absolute; top:0px; left: 0px; margin: 0; padding: 0;
|
|
1272
|
+
* border: 0; width:100%; height:100%"></div>'
|
|
1273
|
+
*/
|
|
1274
|
+
FLASH_CONTAINER: '<div id="{swfContainerId}" style="position:absolute; top:0px; left: 0px; margin: 0; ' +
|
|
1275
|
+
'padding: 0; border: 0; width:100%; height:100%"></div>',
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* The template for the "Select Files" button.
|
|
1279
|
+
*
|
|
1280
|
+
* @property SELECT_FILES_BUTTON
|
|
1281
|
+
* @type {String}
|
|
1282
|
+
* @static
|
|
1283
|
+
* @default "<button type='button' class='yui3-button' tabindex='-1'>{selectButtonLabel}</button>"
|
|
1284
|
+
*/
|
|
1285
|
+
SELECT_FILES_BUTTON: "<button type='button' class='yui3-button' tabindex='-1'>{selectButtonLabel}</button>",
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* The static property reflecting the type of uploader that `Y.Uploader`
|
|
1289
|
+
* aliases. The UploaderFlash value is `"flash"`.
|
|
1290
|
+
*
|
|
1291
|
+
* @property TYPE
|
|
1292
|
+
* @type {String}
|
|
1293
|
+
* @static
|
|
1294
|
+
*/
|
|
1295
|
+
TYPE: "flash",
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* The identity of the widget.
|
|
1299
|
+
*
|
|
1300
|
+
* @property NAME
|
|
1301
|
+
* @type String
|
|
1302
|
+
* @default 'uploader'
|
|
1303
|
+
* @readOnly
|
|
1304
|
+
* @protected
|
|
1305
|
+
* @static
|
|
1306
|
+
*/
|
|
1307
|
+
NAME: "uploader",
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Static property used to define the default attribute configuration of
|
|
1311
|
+
* the Widget.
|
|
1312
|
+
*
|
|
1313
|
+
* @property ATTRS
|
|
1314
|
+
* @type {Object}
|
|
1315
|
+
* @protected
|
|
1316
|
+
* @static
|
|
1317
|
+
*/
|
|
1318
|
+
ATTRS: {
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* A Boolean indicating whether newly selected files should be appended
|
|
1322
|
+
* to the existing file list, or whether they should replace it.
|
|
1323
|
+
*
|
|
1324
|
+
* @attribute appendNewFiles
|
|
1325
|
+
* @type {Boolean}
|
|
1326
|
+
* @default true
|
|
1327
|
+
*/
|
|
1328
|
+
appendNewFiles : {
|
|
1329
|
+
value: true
|
|
1330
|
+
},
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* The names of CSS classes that correspond to different button states
|
|
1334
|
+
* of the "Select Files" control. These classes are assigned to the
|
|
1335
|
+
* "Select Files" control based on the mouse states reported by the
|
|
1336
|
+
* Flash player. The keys for the class names are:
|
|
1337
|
+
* <ul>
|
|
1338
|
+
* <li> <strong>`hover`</strong>: the class corresponding to mouse hovering over
|
|
1339
|
+
* the "Select Files" button.</li>
|
|
1340
|
+
* <li> <strong>`active`</strong>: the class corresponding to mouse down state of
|
|
1341
|
+
* the "Select Files" button.</li>
|
|
1342
|
+
* <li> <strong>`disabled`</strong>: the class corresponding to the disabled state
|
|
1343
|
+
* of the "Select Files" button.</li>
|
|
1344
|
+
* <li> <strong>`focus`</strong>: the class corresponding to the focused state of
|
|
1345
|
+
* the "Select Files" button.</li>
|
|
1346
|
+
* </ul>
|
|
1347
|
+
* @attribute buttonClassNames
|
|
1348
|
+
* @type {Object}
|
|
1349
|
+
* @default { hover: "yui3-button-hover",
|
|
1350
|
+
* active: "yui3-button-active",
|
|
1351
|
+
* disabled: "yui3-button-disabled",
|
|
1352
|
+
* focus: "yui3-button-selected"
|
|
1353
|
+
* }
|
|
1354
|
+
*/
|
|
1355
|
+
buttonClassNames: {
|
|
1356
|
+
value: {
|
|
1357
|
+
"hover": "yui3-button-hover",
|
|
1358
|
+
"active": "yui3-button-active",
|
|
1359
|
+
"disabled": "yui3-button-disabled",
|
|
1360
|
+
"focus": "yui3-button-selected"
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* A Boolean indicating whether the uploader is enabled or disabled for user input.
|
|
1366
|
+
*
|
|
1367
|
+
* @attribute enabled
|
|
1368
|
+
* @type {Boolean}
|
|
1369
|
+
* @default true
|
|
1370
|
+
*/
|
|
1371
|
+
enabled : {
|
|
1372
|
+
value: true
|
|
1373
|
+
},
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* The action performed when an upload error occurs for a specific file being uploaded.
|
|
1377
|
+
* The possible values are:
|
|
1378
|
+
* <ul>
|
|
1379
|
+
* <li> <strong>`UploaderQueue.CONTINUE`</strong>: the error is ignored and the upload process is continued.</li>
|
|
1380
|
+
* <li> <strong>`UploaderQueue.STOP`</strong>: the upload process is stopped as soon as any other parallel file
|
|
1381
|
+
* uploads are finished.</li>
|
|
1382
|
+
* <li> <strong>`UploaderQueue.RESTART_ASAP`</strong>: the file is added back to the front of the queue.</li>
|
|
1383
|
+
* <li> <strong>`UploaderQueue.RESTART_AFTER`</strong>: the file is added to the back of the queue.</li>
|
|
1384
|
+
* </ul>
|
|
1385
|
+
* @attribute errorAction
|
|
1386
|
+
* @type {String}
|
|
1387
|
+
* @default UploaderQueue.CONTINUE
|
|
1388
|
+
*/
|
|
1389
|
+
errorAction: {
|
|
1390
|
+
value: "continue",
|
|
1391
|
+
validator: function (val) {
|
|
1392
|
+
return (
|
|
1393
|
+
val === UploaderQueue.CONTINUE ||
|
|
1394
|
+
val === UploaderQueue.STOP ||
|
|
1395
|
+
val === UploaderQueue.RESTART_ASAP ||
|
|
1396
|
+
val === UploaderQueue.RESTART_AFTER
|
|
1397
|
+
);
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* An array indicating what fileFilters should be applied to the file
|
|
1403
|
+
* selection dialog. Each element in the array should be an object with
|
|
1404
|
+
* the following key-value pairs:
|
|
1405
|
+
* {
|
|
1406
|
+
* description : String
|
|
1407
|
+
extensions: String of the form &lquot;*.ext1;*.ext2;*.ext3;...&rquot;
|
|
1408
|
+
* }
|
|
1409
|
+
* @attribute fileFilters
|
|
1410
|
+
* @type {Array}
|
|
1411
|
+
* @default []
|
|
1412
|
+
*/
|
|
1413
|
+
fileFilters: {
|
|
1414
|
+
value: []
|
|
1415
|
+
},
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* A filtering function that is applied to every file selected by the user.
|
|
1419
|
+
* The function receives the `Y.File` object and must return a Boolean value.
|
|
1420
|
+
* If a `false` value is returned, the file in question is not added to the
|
|
1421
|
+
* list of files to be uploaded.
|
|
1422
|
+
* Use this function to put limits on file sizes or check the file names for
|
|
1423
|
+
* correct extension, but make sure that a server-side check is also performed,
|
|
1424
|
+
* since any client-side restrictions are only advisory and can be circumvented.
|
|
1425
|
+
*
|
|
1426
|
+
* @attribute fileFilterFunction
|
|
1427
|
+
* @type {Function}
|
|
1428
|
+
* @default null
|
|
1429
|
+
*/
|
|
1430
|
+
fileFilterFunction: {
|
|
1431
|
+
value: null
|
|
1432
|
+
},
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* A String specifying what should be the POST field name for the file
|
|
1436
|
+
* content in the upload request.
|
|
1437
|
+
*
|
|
1438
|
+
* @attribute fileFieldName
|
|
1439
|
+
* @type {String}
|
|
1440
|
+
* @default Filedata
|
|
1441
|
+
*/
|
|
1442
|
+
fileFieldName: {
|
|
1443
|
+
value: "Filedata"
|
|
1444
|
+
},
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* The array of files to be uploaded. All elements in the array
|
|
1448
|
+
* must be instances of `Y.FileFlash` and be instantiated with a `fileId`
|
|
1449
|
+
* retrieved from an instance of the uploader.
|
|
1450
|
+
*
|
|
1451
|
+
* @attribute fileList
|
|
1452
|
+
* @type {Array}
|
|
1453
|
+
* @default []
|
|
1454
|
+
*/
|
|
1455
|
+
fileList: {
|
|
1456
|
+
value: [],
|
|
1457
|
+
getter: "_getFileList",
|
|
1458
|
+
setter: "_setFileList"
|
|
1459
|
+
},
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* A Boolean indicating whether multiple file selection is enabled.
|
|
1463
|
+
*
|
|
1464
|
+
* @attribute multipleFiles
|
|
1465
|
+
* @type {Boolean}
|
|
1466
|
+
* @default false
|
|
1467
|
+
*/
|
|
1468
|
+
multipleFiles: {
|
|
1469
|
+
value: false
|
|
1470
|
+
},
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* An object, keyed by `fileId`, containing sets of key-value pairs
|
|
1474
|
+
* that should be passed as POST variables along with each corresponding
|
|
1475
|
+
* file. This attribute is only used if no POST variables are specifed
|
|
1476
|
+
* in the upload method call.
|
|
1477
|
+
*
|
|
1478
|
+
* @attribute postVarsPerFile
|
|
1479
|
+
* @type {Object}
|
|
1480
|
+
* @default {}
|
|
1481
|
+
*/
|
|
1482
|
+
postVarsPerFile: {
|
|
1483
|
+
value: {}
|
|
1484
|
+
},
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* The label for the "Select Files" widget. This is the value that replaces the
|
|
1488
|
+
* `{selectButtonLabel}` token in the `SELECT_FILES_BUTTON` template.
|
|
1489
|
+
*
|
|
1490
|
+
* @attribute selectButtonLabel
|
|
1491
|
+
* @type {String}
|
|
1492
|
+
* @default "Select Files"
|
|
1493
|
+
*/
|
|
1494
|
+
selectButtonLabel: {
|
|
1495
|
+
value: "Select Files"
|
|
1496
|
+
},
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* The widget that serves as the "Select Files" control for the file uploader
|
|
1500
|
+
*
|
|
1501
|
+
*
|
|
1502
|
+
* @attribute selectFilesButton
|
|
1503
|
+
* @type {Node | Widget}
|
|
1504
|
+
* @default A standard HTML button with YUI CSS Button skin.
|
|
1505
|
+
*/
|
|
1506
|
+
selectFilesButton : {
|
|
1507
|
+
valueFn: function () {
|
|
1508
|
+
return Y.Node.create(substitute(Y.UploaderFlash.SELECT_FILES_BUTTON, {selectButtonLabel: this.get("selectButtonLabel")}));
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* The number of files that can be uploaded
|
|
1514
|
+
* simultaneously if the automatic queue management
|
|
1515
|
+
* is used. This value can be in the range between 2
|
|
1516
|
+
* and 5.
|
|
1517
|
+
*
|
|
1518
|
+
* @attribute simLimit
|
|
1519
|
+
* @type {Number}
|
|
1520
|
+
* @default 2
|
|
1521
|
+
*/
|
|
1522
|
+
simLimit: {
|
|
1523
|
+
value: 2,
|
|
1524
|
+
validator: function (val) {
|
|
1525
|
+
return (val >= 2 && val <= 5);
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* The URL to the SWF file of the flash uploader. A copy local to
|
|
1531
|
+
* the server that hosts the page on which the uploader appears is
|
|
1532
|
+
* recommended.
|
|
1533
|
+
*
|
|
1534
|
+
* @attribute swfURL
|
|
1535
|
+
* @type {String}
|
|
1536
|
+
* @default "flashuploader.swf" with a
|
|
1537
|
+
* random GET parameter for IE (to prevent buggy behavior when the SWF
|
|
1538
|
+
* is cached).
|
|
1539
|
+
*/
|
|
1540
|
+
swfURL: {
|
|
1541
|
+
valueFn: function () {
|
|
1542
|
+
var prefix = "flashuploader.swf";
|
|
1543
|
+
|
|
1544
|
+
if (Y.UA.ie > 0) {
|
|
1545
|
+
return (prefix + "?t=" + Y.guid("uploader"));
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
return prefix;
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* The id's or `Node` references of the DOM elements that precede
|
|
1554
|
+
* and follow the `Select Files` button in the tab order. Specifying
|
|
1555
|
+
* these allows keyboard navigation to and from the Flash player
|
|
1556
|
+
* layer of the uploader.
|
|
1557
|
+
* The two keys corresponding to the DOM elements are:
|
|
1558
|
+
<ul>
|
|
1559
|
+
* <li> `from`: the id or the `Node` reference corresponding to the
|
|
1560
|
+
* DOM element that precedes the `Select Files` button in the tab order.</li>
|
|
1561
|
+
* <li> `to`: the id or the `Node` reference corresponding to the
|
|
1562
|
+
* DOM element that follows the `Select Files` button in the tab order.</li>
|
|
1563
|
+
* </ul>
|
|
1564
|
+
* @attribute tabElements
|
|
1565
|
+
* @type {Object}
|
|
1566
|
+
* @default null
|
|
1567
|
+
*/
|
|
1568
|
+
tabElements: {
|
|
1569
|
+
value: null
|
|
1570
|
+
},
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* The URL to which file upload requested are POSTed. Only used if a different url is not passed to the upload method call.
|
|
1574
|
+
*
|
|
1575
|
+
* @attribute uploadURL
|
|
1576
|
+
* @type {String}
|
|
1577
|
+
* @default ""
|
|
1578
|
+
*/
|
|
1579
|
+
uploadURL: {
|
|
1580
|
+
value: ""
|
|
1581
|
+
},
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* The number of times to try re-uploading a file that failed to upload before
|
|
1585
|
+
* cancelling its upload.
|
|
1586
|
+
*
|
|
1587
|
+
* @attribute retryCount
|
|
1588
|
+
* @type {Number}
|
|
1589
|
+
* @default 3
|
|
1590
|
+
*/
|
|
1591
|
+
retryCount: {
|
|
1592
|
+
value: 3
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
});
|
|
1596
|
+
|
|
1597
|
+
Y.UploaderFlash.Queue = UploaderQueue;
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
}, '@VERSION@', {
|
|
1601
|
+
"requires": [
|
|
1602
|
+
"swfdetect",
|
|
1603
|
+
"escape",
|
|
1604
|
+
"widget",
|
|
1605
|
+
"base",
|
|
1606
|
+
"cssbutton",
|
|
1607
|
+
"node",
|
|
1608
|
+
"event-custom",
|
|
1609
|
+
"uploader-queue"
|
|
1610
|
+
]
|
|
1611
|
+
});
|