@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,1719 @@
|
|
|
1
|
+
YUI.add('calendar-base', function (Y, NAME) {
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The CalendarBase submodule is a basic UI calendar view that displays
|
|
5
|
+
* a range of dates in a two-dimensional month grid, with one or more
|
|
6
|
+
* months visible at a single time. CalendarBase supports custom date
|
|
7
|
+
* rendering, multiple calendar panes, and selection.
|
|
8
|
+
* @module calendar
|
|
9
|
+
* @submodule calendar-base
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
var getCN = Y.ClassNameManager.getClassName,
|
|
13
|
+
CALENDAR = 'calendar',
|
|
14
|
+
CAL_GRID = getCN(CALENDAR, 'grid'),
|
|
15
|
+
CAL_LEFT_GRID = getCN(CALENDAR, 'left-grid'),
|
|
16
|
+
CAL_RIGHT_GRID = getCN(CALENDAR, 'right-grid'),
|
|
17
|
+
CAL_BODY = getCN(CALENDAR, 'body'),
|
|
18
|
+
CAL_HD = getCN(CALENDAR, 'header'),
|
|
19
|
+
CAL_HD_LABEL = getCN(CALENDAR, 'header-label'),
|
|
20
|
+
CAL_WDAYROW = getCN(CALENDAR, 'weekdayrow'),
|
|
21
|
+
CAL_WDAY = getCN(CALENDAR, 'weekday'),
|
|
22
|
+
CAL_COL_HIDDEN = getCN(CALENDAR, 'column-hidden'),
|
|
23
|
+
CAL_DAY_SELECTED = getCN(CALENDAR, 'day-selected'),
|
|
24
|
+
SELECTION_DISABLED = getCN(CALENDAR, 'selection-disabled'),
|
|
25
|
+
CAL_ROW = getCN(CALENDAR, 'row'),
|
|
26
|
+
CAL_DAY = getCN(CALENDAR, 'day'),
|
|
27
|
+
CAL_PREVMONTH_DAY = getCN(CALENDAR, 'prevmonth-day'),
|
|
28
|
+
CAL_NEXTMONTH_DAY = getCN(CALENDAR, 'nextmonth-day'),
|
|
29
|
+
CAL_ANCHOR = getCN(CALENDAR, 'anchor'),
|
|
30
|
+
CAL_PANE = getCN(CALENDAR, 'pane'),
|
|
31
|
+
CAL_STATUS = getCN(CALENDAR, 'status'),
|
|
32
|
+
L = Y.Lang,
|
|
33
|
+
substitute = L.sub,
|
|
34
|
+
arrayEach = Y.Array.each,
|
|
35
|
+
objEach = Y.Object.each,
|
|
36
|
+
iOf = Y.Array.indexOf,
|
|
37
|
+
hasKey = Y.Object.hasKey,
|
|
38
|
+
setVal = Y.Object.setValue,
|
|
39
|
+
isEmpty = Y.Object.isEmpty,
|
|
40
|
+
ydate = Y.DataType.Date;
|
|
41
|
+
|
|
42
|
+
/** Create a calendar view to represent a single or multiple
|
|
43
|
+
* month range of dates, rendered as a grid with date and
|
|
44
|
+
* weekday labels.
|
|
45
|
+
*
|
|
46
|
+
* @class CalendarBase
|
|
47
|
+
* @extends Widget
|
|
48
|
+
* @param config {Object} Configuration object (see Configuration
|
|
49
|
+
* attributes)
|
|
50
|
+
* @constructor
|
|
51
|
+
*/
|
|
52
|
+
function CalendarBase() {
|
|
53
|
+
CalendarBase.superclass.constructor.apply ( this, arguments );
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
Y.CalendarBase = Y.extend( CalendarBase, Y.Widget, {
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* A storage for various properties of individual month
|
|
62
|
+
* panes.
|
|
63
|
+
*
|
|
64
|
+
* @property _paneProperties
|
|
65
|
+
* @type Object
|
|
66
|
+
* @private
|
|
67
|
+
*/
|
|
68
|
+
_paneProperties : {},
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The number of month panes in the calendar, deduced
|
|
72
|
+
* from the CONTENT_TEMPLATE's number of {calendar_grid}
|
|
73
|
+
* tokens.
|
|
74
|
+
*
|
|
75
|
+
* @property _paneNumber
|
|
76
|
+
* @type Number
|
|
77
|
+
* @private
|
|
78
|
+
*/
|
|
79
|
+
_paneNumber : 1,
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The unique id used to prefix various elements of this
|
|
83
|
+
* calendar instance.
|
|
84
|
+
*
|
|
85
|
+
* @property _calendarId
|
|
86
|
+
* @type String
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
89
|
+
_calendarId : null,
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The hash map of selected dates, populated with
|
|
93
|
+
* selectDates() and deselectDates() methods
|
|
94
|
+
*
|
|
95
|
+
* @property _selectedDates
|
|
96
|
+
* @type Object
|
|
97
|
+
* @private
|
|
98
|
+
*/
|
|
99
|
+
_selectedDates : {},
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* A private copy of the rules object, populated
|
|
103
|
+
* by setting the customRenderer attribute.
|
|
104
|
+
*
|
|
105
|
+
* @property _rules
|
|
106
|
+
* @type Object
|
|
107
|
+
* @private
|
|
108
|
+
*/
|
|
109
|
+
_rules : {},
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* A private copy of the filterFunction, populated
|
|
113
|
+
* by setting the customRenderer attribute.
|
|
114
|
+
*
|
|
115
|
+
* @property _filterFunction
|
|
116
|
+
* @type Function
|
|
117
|
+
* @private
|
|
118
|
+
*/
|
|
119
|
+
_filterFunction : null,
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Storage for calendar cells modified by any custom
|
|
123
|
+
* formatting. The storage is cleared, used to restore
|
|
124
|
+
* cells to the original state, and repopulated accordingly
|
|
125
|
+
* when the calendar is rerendered.
|
|
126
|
+
*
|
|
127
|
+
* @property _storedDateCells
|
|
128
|
+
* @type Object
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
_storedDateCells : {},
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Designated initializer
|
|
135
|
+
* Initializes instance-level properties of
|
|
136
|
+
* calendar.
|
|
137
|
+
*
|
|
138
|
+
* @method initializer
|
|
139
|
+
*/
|
|
140
|
+
initializer : function () {
|
|
141
|
+
this._paneProperties = {};
|
|
142
|
+
this._calendarId = Y.guid('calendar');
|
|
143
|
+
this._selectedDates = {};
|
|
144
|
+
if (isEmpty(this._rules)) {
|
|
145
|
+
this._rules = {};
|
|
146
|
+
}
|
|
147
|
+
this._storedDateCells = {};
|
|
148
|
+
},
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* renderUI implementation
|
|
152
|
+
*
|
|
153
|
+
* Creates a visual representation of the calendar based on existing parameters.
|
|
154
|
+
* @method renderUI
|
|
155
|
+
*/
|
|
156
|
+
renderUI : function () {
|
|
157
|
+
|
|
158
|
+
var contentBox = this.get('contentBox');
|
|
159
|
+
contentBox.appendChild(this._initCalendarHTML(this.get('date')));
|
|
160
|
+
|
|
161
|
+
if (this.get('showPrevMonth')) {
|
|
162
|
+
this._afterShowPrevMonthChange();
|
|
163
|
+
}
|
|
164
|
+
if (this.get('showNextMonth')) {
|
|
165
|
+
this._afterShowNextMonthChange();
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
this._renderCustomRules();
|
|
169
|
+
this._renderSelectedDates();
|
|
170
|
+
|
|
171
|
+
this.get("boundingBox").setAttribute("aria-labelledby", this._calendarId + "_header");
|
|
172
|
+
|
|
173
|
+
},
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* bindUI implementation
|
|
177
|
+
*
|
|
178
|
+
* Assigns listeners to relevant events that change the state
|
|
179
|
+
* of the calendar.
|
|
180
|
+
* @method bindUI
|
|
181
|
+
*/
|
|
182
|
+
bindUI : function () {
|
|
183
|
+
this.after('dateChange', this._afterDateChange);
|
|
184
|
+
this.after('showPrevMonthChange', this._afterShowPrevMonthChange);
|
|
185
|
+
this.after('showNextMonthChange', this._afterShowNextMonthChange);
|
|
186
|
+
this.after('headerRendererChange', this._afterHeaderRendererChange);
|
|
187
|
+
this.after('customRendererChange', this._afterCustomRendererChange);
|
|
188
|
+
this.after('enabledDatesRuleChange', this._afterCustomRendererChange);
|
|
189
|
+
this.after('disabledDatesRuleChange', this._afterCustomRendererChange);
|
|
190
|
+
this.after('focusedChange', this._afterFocusedChange);
|
|
191
|
+
this.after('selectionChange', this._renderSelectedDates);
|
|
192
|
+
this._bindCalendarEvents();
|
|
193
|
+
},
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* An internal utility method that generates a list of selected dates
|
|
198
|
+
* from the hash storage.
|
|
199
|
+
*
|
|
200
|
+
* @method _getSelectedDatesList
|
|
201
|
+
* @protected
|
|
202
|
+
* @return {Array} The array of `Date`s that are currently selected.
|
|
203
|
+
*/
|
|
204
|
+
_getSelectedDatesList : function () {
|
|
205
|
+
var output = [];
|
|
206
|
+
|
|
207
|
+
objEach (this._selectedDates, function (year) {
|
|
208
|
+
objEach (year, function (month) {
|
|
209
|
+
objEach (month, function (day) {
|
|
210
|
+
output.push (day);
|
|
211
|
+
}, this);
|
|
212
|
+
}, this);
|
|
213
|
+
}, this);
|
|
214
|
+
|
|
215
|
+
return output;
|
|
216
|
+
},
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* A utility method that returns all dates selected in a specific month.
|
|
220
|
+
*
|
|
221
|
+
* @method _getSelectedDatesInMonth
|
|
222
|
+
* @param {Date} oDate corresponding to the month for which selected dates
|
|
223
|
+
* are requested.
|
|
224
|
+
* @protected
|
|
225
|
+
* @return {Array} The array of `Date`s in a given month that are currently selected.
|
|
226
|
+
*/
|
|
227
|
+
_getSelectedDatesInMonth : function (oDate) {
|
|
228
|
+
var year = oDate.getFullYear(),
|
|
229
|
+
month = oDate.getMonth();
|
|
230
|
+
|
|
231
|
+
if (hasKey(this._selectedDates, year) && hasKey(this._selectedDates[year], month)) {
|
|
232
|
+
return Y.Object.values(this._selectedDates[year][month]);
|
|
233
|
+
} else {
|
|
234
|
+
return [];
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* An internal parsing method that receives a String list of numbers
|
|
241
|
+
* and number ranges (of the form "1,2,3,4-6,7-9,10,11" etc.) and checks
|
|
242
|
+
* whether a specific number is included in this list. Used for looking
|
|
243
|
+
* up dates in the customRenderer rule set.
|
|
244
|
+
*
|
|
245
|
+
* @method _isNumInList
|
|
246
|
+
* @param {Number} num The number to look for in a list.
|
|
247
|
+
* @param {String} strList The list of numbers of the form "1,2,3,4-6,7-8,9", etc.
|
|
248
|
+
* @private
|
|
249
|
+
* @return {boolean} Returns true if the given number is in the given list.
|
|
250
|
+
*/
|
|
251
|
+
_isNumInList : function (num, strList) {
|
|
252
|
+
if (strList === "all") {
|
|
253
|
+
return true;
|
|
254
|
+
} else {
|
|
255
|
+
var elements = strList.split(","),
|
|
256
|
+
i = elements.length,
|
|
257
|
+
range;
|
|
258
|
+
|
|
259
|
+
while (i--) {
|
|
260
|
+
range = elements[i].split("-");
|
|
261
|
+
if (range.length === 2 && num >= parseInt(range[0], 10) && num <= parseInt(range[1], 10)) {
|
|
262
|
+
return true;
|
|
263
|
+
}
|
|
264
|
+
else if (range.length === 1 && (parseInt(elements[i], 10) === num)) {
|
|
265
|
+
return true;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return false;
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Given a specific date, returns an array of rules (from the customRenderer rule set)
|
|
274
|
+
* that the given date matches.
|
|
275
|
+
*
|
|
276
|
+
* @method _getRulesForDate
|
|
277
|
+
* @param {Date} oDate The date for which an array of rules is needed
|
|
278
|
+
* @private
|
|
279
|
+
* @return {Array} Returns an array of `String`s, each containg the name of
|
|
280
|
+
* a rule that the given date matches.
|
|
281
|
+
*/
|
|
282
|
+
_getRulesForDate : function (oDate) {
|
|
283
|
+
var year = oDate.getFullYear(),
|
|
284
|
+
month = oDate.getMonth(),
|
|
285
|
+
date = oDate.getDate(),
|
|
286
|
+
wday = oDate.getDay(),
|
|
287
|
+
rules = this._rules,
|
|
288
|
+
outputRules = [],
|
|
289
|
+
years, months, dates, days;
|
|
290
|
+
|
|
291
|
+
for (years in rules) {
|
|
292
|
+
if (this._isNumInList(year, years)) {
|
|
293
|
+
if (L.isString(rules[years])) {
|
|
294
|
+
outputRules.push(rules[years]);
|
|
295
|
+
}
|
|
296
|
+
else {
|
|
297
|
+
for (months in rules[years]) {
|
|
298
|
+
if (this._isNumInList(month, months)) {
|
|
299
|
+
if (L.isString(rules[years][months])) {
|
|
300
|
+
outputRules.push(rules[years][months]);
|
|
301
|
+
}
|
|
302
|
+
else {
|
|
303
|
+
for (dates in rules[years][months]) {
|
|
304
|
+
if (this._isNumInList(date, dates)) {
|
|
305
|
+
if (L.isString(rules[years][months][dates])) {
|
|
306
|
+
outputRules.push(rules[years][months][dates]);
|
|
307
|
+
}
|
|
308
|
+
else {
|
|
309
|
+
for (days in rules[years][months][dates]) {
|
|
310
|
+
if (this._isNumInList(wday, days)) {
|
|
311
|
+
if (L.isString(rules[years][months][dates][days])) {
|
|
312
|
+
outputRules.push(rules[years][months][dates][days]);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
return outputRules;
|
|
326
|
+
},
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* A utility method which, given a specific date and a name of the rule,
|
|
330
|
+
* checks whether the date matches the given rule.
|
|
331
|
+
*
|
|
332
|
+
* @method _matchesRule
|
|
333
|
+
* @param {Date} oDate The date to check
|
|
334
|
+
* @param {String} rule The name of the rule that the date should match.
|
|
335
|
+
* @private
|
|
336
|
+
* @return {boolean} Returns true if the date matches the given rule.
|
|
337
|
+
*
|
|
338
|
+
*/
|
|
339
|
+
_matchesRule : function (oDate, rule) {
|
|
340
|
+
return (iOf(this._getRulesForDate(oDate), rule) >= 0);
|
|
341
|
+
},
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* A utility method which checks whether a given date matches the `enabledDatesRule`
|
|
345
|
+
* or does not match the `disabledDatesRule` and therefore whether it can be selected.
|
|
346
|
+
* @method _canBeSelected
|
|
347
|
+
* @param {Date} oDate The date to check
|
|
348
|
+
* @private
|
|
349
|
+
* @return {boolean} Returns true if the date can be selected; false otherwise.
|
|
350
|
+
*/
|
|
351
|
+
_canBeSelected : function (oDate) {
|
|
352
|
+
|
|
353
|
+
var enabledDatesRule = this.get("enabledDatesRule"),
|
|
354
|
+
disabledDatesRule = this.get("disabledDatesRule");
|
|
355
|
+
|
|
356
|
+
if (enabledDatesRule) {
|
|
357
|
+
return this._matchesRule(oDate, enabledDatesRule);
|
|
358
|
+
} else if (disabledDatesRule) {
|
|
359
|
+
return !this._matchesRule(oDate, disabledDatesRule);
|
|
360
|
+
} else {
|
|
361
|
+
return true;
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Selects a given date or array of dates.
|
|
367
|
+
* @method selectDates
|
|
368
|
+
* @param {Date|Array} dates A `Date` or `Array` of `Date`s.
|
|
369
|
+
* @return {CalendarBase} A reference to this object
|
|
370
|
+
* @chainable
|
|
371
|
+
*/
|
|
372
|
+
selectDates : function (dates) {
|
|
373
|
+
if (ydate.isValidDate(dates)) {
|
|
374
|
+
this._addDateToSelection(dates);
|
|
375
|
+
}
|
|
376
|
+
else if (L.isArray(dates)) {
|
|
377
|
+
this._addDatesToSelection(dates);
|
|
378
|
+
}
|
|
379
|
+
return this;
|
|
380
|
+
},
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Deselects a given date or array of dates, or deselects
|
|
384
|
+
* all dates if no argument is specified.
|
|
385
|
+
* @method deselectDates
|
|
386
|
+
* @param {Date|Array} [dates] A `Date` or `Array` of `Date`s, or no
|
|
387
|
+
* argument if all dates should be deselected.
|
|
388
|
+
* @return {CalendarBase} A reference to this object
|
|
389
|
+
* @chainable
|
|
390
|
+
*/
|
|
391
|
+
deselectDates : function (dates) {
|
|
392
|
+
if (!dates) {
|
|
393
|
+
this._clearSelection();
|
|
394
|
+
}
|
|
395
|
+
else if (ydate.isValidDate(dates)) {
|
|
396
|
+
this._removeDateFromSelection(dates);
|
|
397
|
+
}
|
|
398
|
+
else if (L.isArray(dates)) {
|
|
399
|
+
this._removeDatesFromSelection(dates);
|
|
400
|
+
}
|
|
401
|
+
return this;
|
|
402
|
+
},
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* A utility method that adds a given date to selection..
|
|
406
|
+
* @method _addDateToSelection
|
|
407
|
+
* @param {Date} oDate The date to add to selection.
|
|
408
|
+
* @param {Number} [index] An optional parameter that is used
|
|
409
|
+
* to differentiate between individual date selections and multiple
|
|
410
|
+
* date selections.
|
|
411
|
+
* @private
|
|
412
|
+
*/
|
|
413
|
+
_addDateToSelection : function (oDate, index) {
|
|
414
|
+
oDate = this._normalizeTime(oDate);
|
|
415
|
+
|
|
416
|
+
if (this._canBeSelected(oDate)) {
|
|
417
|
+
|
|
418
|
+
var year = oDate.getFullYear(),
|
|
419
|
+
month = oDate.getMonth(),
|
|
420
|
+
day = oDate.getDate();
|
|
421
|
+
|
|
422
|
+
if (hasKey(this._selectedDates, year)) {
|
|
423
|
+
if (hasKey(this._selectedDates[year], month)) {
|
|
424
|
+
this._selectedDates[year][month][day] = oDate;
|
|
425
|
+
} else {
|
|
426
|
+
this._selectedDates[year][month] = {};
|
|
427
|
+
this._selectedDates[year][month][day] = oDate;
|
|
428
|
+
}
|
|
429
|
+
} else {
|
|
430
|
+
this._selectedDates[year] = {};
|
|
431
|
+
this._selectedDates[year][month] = {};
|
|
432
|
+
this._selectedDates[year][month][day] = oDate;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
this._selectedDates = setVal(this._selectedDates, [year, month, day], oDate);
|
|
436
|
+
|
|
437
|
+
if (!index) {
|
|
438
|
+
this._fireSelectionChange();
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* A utility method that adds a given list of dates to selection.
|
|
445
|
+
* @method _addDatesToSelection
|
|
446
|
+
* @param {Array} datesArray The list of dates to add to selection.
|
|
447
|
+
* @private
|
|
448
|
+
*/
|
|
449
|
+
_addDatesToSelection : function (datesArray) {
|
|
450
|
+
arrayEach(datesArray, this._addDateToSelection, this);
|
|
451
|
+
this._fireSelectionChange();
|
|
452
|
+
},
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* A utility method that adds a given range of dates to selection.
|
|
456
|
+
* @method _addDateRangeToSelection
|
|
457
|
+
* @param {Date} startDate The first date of the given range.
|
|
458
|
+
* @param {Date} endDate The last date of the given range.
|
|
459
|
+
* @private
|
|
460
|
+
*/
|
|
461
|
+
_addDateRangeToSelection : function (startDate, endDate) {
|
|
462
|
+
|
|
463
|
+
var timezoneDifference = (endDate.getTimezoneOffset() - startDate.getTimezoneOffset())*60000,
|
|
464
|
+
startTime = startDate.getTime(),
|
|
465
|
+
endTime = endDate.getTime(),
|
|
466
|
+
tempTime,
|
|
467
|
+
time,
|
|
468
|
+
addedDate;
|
|
469
|
+
|
|
470
|
+
if (startTime > endTime) {
|
|
471
|
+
tempTime = startTime;
|
|
472
|
+
startTime = endTime;
|
|
473
|
+
endTime = tempTime + timezoneDifference;
|
|
474
|
+
} else {
|
|
475
|
+
endTime = endTime - timezoneDifference;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
for (time = startTime; time <= endTime; time += 86400000) {
|
|
480
|
+
addedDate = new Date(time);
|
|
481
|
+
addedDate.setHours(12);
|
|
482
|
+
this._addDateToSelection(addedDate, time);
|
|
483
|
+
}
|
|
484
|
+
this._fireSelectionChange();
|
|
485
|
+
},
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* A utility method that removes a given date from selection..
|
|
489
|
+
* @method _removeDateFromSelection
|
|
490
|
+
* @param {Date} oDate The date to remove from selection.
|
|
491
|
+
* @param {Number} [index] An optional parameter that is used
|
|
492
|
+
* to differentiate between individual date selections and multiple
|
|
493
|
+
* date selections.
|
|
494
|
+
* @private
|
|
495
|
+
*/
|
|
496
|
+
_removeDateFromSelection : function (oDate, index) {
|
|
497
|
+
var year = oDate.getFullYear(),
|
|
498
|
+
month = oDate.getMonth(),
|
|
499
|
+
day = oDate.getDate();
|
|
500
|
+
|
|
501
|
+
if (hasKey(this._selectedDates, year) &&
|
|
502
|
+
hasKey(this._selectedDates[year], month) &&
|
|
503
|
+
hasKey(this._selectedDates[year][month], day)
|
|
504
|
+
) {
|
|
505
|
+
delete this._selectedDates[year][month][day];
|
|
506
|
+
if (!index) {
|
|
507
|
+
this._fireSelectionChange();
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* A utility method that removes a given list of dates from selection.
|
|
514
|
+
* @method _removeDatesFromSelection
|
|
515
|
+
* @param {Array} datesArray The list of dates to remove from selection.
|
|
516
|
+
* @private
|
|
517
|
+
*/
|
|
518
|
+
_removeDatesFromSelection : function (datesArray) {
|
|
519
|
+
arrayEach(datesArray, this._removeDateFromSelection, this);
|
|
520
|
+
this._fireSelectionChange();
|
|
521
|
+
},
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* A utility method that removes a given range of dates from selection.
|
|
525
|
+
* @method _removeDateRangeFromSelection
|
|
526
|
+
* @param {Date} startDate The first date of the given range.
|
|
527
|
+
* @param {Date} endDate The last date of the given range.
|
|
528
|
+
* @private
|
|
529
|
+
*/
|
|
530
|
+
_removeDateRangeFromSelection : function (startDate, endDate) {
|
|
531
|
+
var startTime = startDate.getTime(),
|
|
532
|
+
endTime = endDate.getTime(),
|
|
533
|
+
time;
|
|
534
|
+
|
|
535
|
+
for (time = startTime; time <= endTime; time += 86400000) {
|
|
536
|
+
this._removeDateFromSelection(new Date(time), time);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
this._fireSelectionChange();
|
|
540
|
+
},
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* A utility method that removes all dates from selection.
|
|
544
|
+
* @method _clearSelection
|
|
545
|
+
* @param {boolean} noevent A Boolean specifying whether a selectionChange
|
|
546
|
+
* event should be fired. If true, the event is not fired.
|
|
547
|
+
* @private
|
|
548
|
+
*/
|
|
549
|
+
_clearSelection : function (noevent) {
|
|
550
|
+
this._selectedDates = {};
|
|
551
|
+
this.get("contentBox").all("." + CAL_DAY_SELECTED).removeClass(CAL_DAY_SELECTED).setAttribute("aria-selected", false);
|
|
552
|
+
if (!noevent) {
|
|
553
|
+
this._fireSelectionChange();
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* A utility method that fires a selectionChange event.
|
|
559
|
+
* @method _fireSelectionChange
|
|
560
|
+
* @private
|
|
561
|
+
*/
|
|
562
|
+
_fireSelectionChange : function () {
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Fired when the set of selected dates changes. Contains a payload with
|
|
566
|
+
* a `newSelection` property with an array of selected dates.
|
|
567
|
+
*
|
|
568
|
+
* @event selectionChange
|
|
569
|
+
*/
|
|
570
|
+
this.fire("selectionChange", {newSelection: this._getSelectedDatesList()});
|
|
571
|
+
},
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* A utility method that restores cells modified by custom formatting.
|
|
575
|
+
* @method _restoreModifiedCells
|
|
576
|
+
* @private
|
|
577
|
+
*/
|
|
578
|
+
_restoreModifiedCells : function () {
|
|
579
|
+
var contentbox = this.get("contentBox"),
|
|
580
|
+
id;
|
|
581
|
+
for (id in this._storedDateCells) {
|
|
582
|
+
contentbox.one("#" + id).replace(this._storedDateCells[id]);
|
|
583
|
+
delete this._storedDateCells[id];
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* A rendering assist method that renders all cells modified by the customRenderer
|
|
589
|
+
* rules, as well as the enabledDatesRule and disabledDatesRule.
|
|
590
|
+
* @method _renderCustomRules
|
|
591
|
+
* @private
|
|
592
|
+
*/
|
|
593
|
+
_renderCustomRules : function () {
|
|
594
|
+
|
|
595
|
+
this.get("contentBox").all("." + CAL_DAY + ",." + CAL_NEXTMONTH_DAY).removeClass(SELECTION_DISABLED).setAttribute("aria-disabled", false);
|
|
596
|
+
|
|
597
|
+
if (!isEmpty(this._rules)) {
|
|
598
|
+
var paneNum,
|
|
599
|
+
paneDate,
|
|
600
|
+
dateArray;
|
|
601
|
+
|
|
602
|
+
for (paneNum = 0; paneNum < this._paneNumber; paneNum++) {
|
|
603
|
+
paneDate = ydate.addMonths(this.get("date"), paneNum);
|
|
604
|
+
dateArray = ydate.listOfDatesInMonth(paneDate);
|
|
605
|
+
arrayEach(dateArray, Y.bind(this._renderCustomRulesHelper, this));
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* A handler for a date selection event (either a click or a keyboard
|
|
612
|
+
* selection) that adds the appropriate CSS class to a specific DOM
|
|
613
|
+
* node corresponding to the date and sets its aria-selected
|
|
614
|
+
* attribute to true.
|
|
615
|
+
*
|
|
616
|
+
* @method _renderCustomRulesHelper
|
|
617
|
+
* @private
|
|
618
|
+
*/
|
|
619
|
+
_renderCustomRulesHelper: function (date) {
|
|
620
|
+
var enRule = this.get("enabledDatesRule"),
|
|
621
|
+
disRule = this.get("disabledDatesRule"),
|
|
622
|
+
matchingRules,
|
|
623
|
+
dateNode;
|
|
624
|
+
|
|
625
|
+
matchingRules = this._getRulesForDate(date);
|
|
626
|
+
if (matchingRules.length > 0) {
|
|
627
|
+
if ((enRule && iOf(matchingRules, enRule) < 0) || (!enRule && disRule && iOf(matchingRules, disRule) >= 0)) {
|
|
628
|
+
this._disableDate(date);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
if (L.isFunction(this._filterFunction)) {
|
|
632
|
+
dateNode = this._dateToNode(date);
|
|
633
|
+
this._storedDateCells[dateNode.get("id")] = dateNode.cloneNode(true);
|
|
634
|
+
this._filterFunction (date, dateNode, matchingRules);
|
|
635
|
+
}
|
|
636
|
+
} else if (enRule) {
|
|
637
|
+
this._disableDate(date);
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* A rendering assist method that renders all cells that are currently selected.
|
|
643
|
+
* @method _renderSelectedDates
|
|
644
|
+
* @private
|
|
645
|
+
*/
|
|
646
|
+
_renderSelectedDates : function () {
|
|
647
|
+
this.get("contentBox").all("." + CAL_DAY_SELECTED).removeClass(CAL_DAY_SELECTED).setAttribute("aria-selected", false);
|
|
648
|
+
|
|
649
|
+
var paneNum,
|
|
650
|
+
paneDate,
|
|
651
|
+
dateArray;
|
|
652
|
+
|
|
653
|
+
for (paneNum = 0; paneNum < this._paneNumber; paneNum++) {
|
|
654
|
+
paneDate = ydate.addMonths(this.get("date"), paneNum);
|
|
655
|
+
dateArray = this._getSelectedDatesInMonth(paneDate);
|
|
656
|
+
|
|
657
|
+
arrayEach(dateArray, Y.bind(this._renderSelectedDatesHelper, this));
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Takes in a date and determines whether that date has any rules
|
|
663
|
+
* matching it in the customRenderer; then calls the specified
|
|
664
|
+
* filterFunction if that's the case and/or disables the date
|
|
665
|
+
* if the rule is specified as a disabledDatesRule.
|
|
666
|
+
*
|
|
667
|
+
* @method _renderSelectedDatesHelper
|
|
668
|
+
* @private
|
|
669
|
+
*/
|
|
670
|
+
_renderSelectedDatesHelper: function (date) {
|
|
671
|
+
this._dateToNode(date).addClass(CAL_DAY_SELECTED).setAttribute("aria-selected", true);
|
|
672
|
+
},
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Add the selection-disabled class and aria-disabled attribute to a node corresponding
|
|
676
|
+
* to a given date.
|
|
677
|
+
*
|
|
678
|
+
* @method _disableDate
|
|
679
|
+
* @param {Date} date The date to disable
|
|
680
|
+
* @private
|
|
681
|
+
*/
|
|
682
|
+
_disableDate: function (date) {
|
|
683
|
+
this._dateToNode(date).addClass(SELECTION_DISABLED).setAttribute("aria-disabled", true);
|
|
684
|
+
},
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* A utility method that converts a date to the node wrapping the calendar cell
|
|
688
|
+
* the date corresponds to..
|
|
689
|
+
* @method _dateToNode
|
|
690
|
+
* @param {Date} oDate The date to convert to Node
|
|
691
|
+
* @protected
|
|
692
|
+
* @return {Node} The node wrapping the DOM element of the cell the date
|
|
693
|
+
* corresponds to.
|
|
694
|
+
*/
|
|
695
|
+
_dateToNode : function (oDate) {
|
|
696
|
+
var day = oDate.getDate(),
|
|
697
|
+
col = 0,
|
|
698
|
+
daymod = day%7,
|
|
699
|
+
paneNum = (12 + oDate.getMonth() - this.get("date").getMonth()) % 12,
|
|
700
|
+
paneId = this._calendarId + "_pane_" + paneNum,
|
|
701
|
+
cutoffCol = this._paneProperties[paneId].cutoffCol;
|
|
702
|
+
|
|
703
|
+
switch (daymod) {
|
|
704
|
+
case (0):
|
|
705
|
+
if (cutoffCol >= 6) {
|
|
706
|
+
col = 12;
|
|
707
|
+
} else {
|
|
708
|
+
col = 5;
|
|
709
|
+
}
|
|
710
|
+
break;
|
|
711
|
+
case (1):
|
|
712
|
+
col = 6;
|
|
713
|
+
break;
|
|
714
|
+
case (2):
|
|
715
|
+
if (cutoffCol > 0) {
|
|
716
|
+
col = 7;
|
|
717
|
+
} else {
|
|
718
|
+
col = 0;
|
|
719
|
+
}
|
|
720
|
+
break;
|
|
721
|
+
case (3):
|
|
722
|
+
if (cutoffCol > 1) {
|
|
723
|
+
col = 8;
|
|
724
|
+
} else {
|
|
725
|
+
col = 1;
|
|
726
|
+
}
|
|
727
|
+
break;
|
|
728
|
+
case (4):
|
|
729
|
+
if (cutoffCol > 2) {
|
|
730
|
+
col = 9;
|
|
731
|
+
} else {
|
|
732
|
+
col = 2;
|
|
733
|
+
}
|
|
734
|
+
break;
|
|
735
|
+
case (5):
|
|
736
|
+
if (cutoffCol > 3) {
|
|
737
|
+
col = 10;
|
|
738
|
+
} else {
|
|
739
|
+
col = 3;
|
|
740
|
+
}
|
|
741
|
+
break;
|
|
742
|
+
case (6):
|
|
743
|
+
if (cutoffCol > 4) {
|
|
744
|
+
col = 11;
|
|
745
|
+
} else {
|
|
746
|
+
col = 4;
|
|
747
|
+
}
|
|
748
|
+
break;
|
|
749
|
+
}
|
|
750
|
+
return(this.get("contentBox").one("#" + this._calendarId + "_pane_" + paneNum + "_" + col + "_" + day));
|
|
751
|
+
|
|
752
|
+
},
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* A utility method that converts a node corresponding to the DOM element of
|
|
756
|
+
* the cell for a particular date to that date.
|
|
757
|
+
* @method _nodeToDate
|
|
758
|
+
* @param {Node} oNode The Node wrapping the DOM element of a particular date cell.
|
|
759
|
+
* @protected
|
|
760
|
+
* @return {Date} The date corresponding to the DOM element that the given node wraps.
|
|
761
|
+
*/
|
|
762
|
+
_nodeToDate : function (oNode) {
|
|
763
|
+
|
|
764
|
+
var idParts = oNode.get("id").split("_").reverse(),
|
|
765
|
+
paneNum = parseInt(idParts[2], 10),
|
|
766
|
+
day = parseInt(idParts[0], 10),
|
|
767
|
+
shiftedDate = ydate.addMonths(this.get("date"), paneNum),
|
|
768
|
+
year = shiftedDate.getFullYear(),
|
|
769
|
+
month = shiftedDate.getMonth();
|
|
770
|
+
|
|
771
|
+
return new Date(year, month, day, 12, 0, 0, 0);
|
|
772
|
+
},
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* A placeholder method, called from bindUI, to bind the Calendar events.
|
|
776
|
+
* @method _bindCalendarEvents
|
|
777
|
+
* @protected
|
|
778
|
+
*/
|
|
779
|
+
_bindCalendarEvents : function () {},
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* A utility method that normalizes a given date by converting it to the 1st
|
|
783
|
+
* day of the month the date is in, with the time set to noon.
|
|
784
|
+
* @method _normalizeDate
|
|
785
|
+
* @param {Date} oDate The date to normalize
|
|
786
|
+
* @protected
|
|
787
|
+
* @return {Date} The normalized date, set to the first of the month, with time
|
|
788
|
+
* set to noon.
|
|
789
|
+
*/
|
|
790
|
+
_normalizeDate : function (date) {
|
|
791
|
+
if (date) {
|
|
792
|
+
return new Date(date.getFullYear(), date.getMonth(), 1, 12, 0, 0, 0);
|
|
793
|
+
} else {
|
|
794
|
+
return null;
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* A utility method that normalizes a given date by setting its time to noon.
|
|
800
|
+
* @method _normalizeTime
|
|
801
|
+
* @param {Date} oDate The date to normalize
|
|
802
|
+
* @protected
|
|
803
|
+
* @return {Date} The normalized date
|
|
804
|
+
* set to noon.
|
|
805
|
+
*/
|
|
806
|
+
_normalizeTime : function (date) {
|
|
807
|
+
if (date) {
|
|
808
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate(), 12, 0, 0, 0);
|
|
809
|
+
} else {
|
|
810
|
+
return null;
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* A render assist utility method that computes the cutoff column for the calendar
|
|
817
|
+
* rendering mask.
|
|
818
|
+
* @method _getCutoffColumn
|
|
819
|
+
* @param {Date} date The date of the month grid to compute the cutoff column for.
|
|
820
|
+
* @param {Number} firstday The first day of the week (modified by internationalized calendars)
|
|
821
|
+
* @private
|
|
822
|
+
* @return {Number} The number of the cutoff column.
|
|
823
|
+
*/
|
|
824
|
+
_getCutoffColumn : function (date, firstday) {
|
|
825
|
+
var distance = this._normalizeDate(date).getDay() - firstday,
|
|
826
|
+
cutOffColumn = 6 - (distance + 7) % 7;
|
|
827
|
+
return cutOffColumn;
|
|
828
|
+
},
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* A render assist method that turns on the view of the previous month's dates
|
|
832
|
+
* in a given calendar pane.
|
|
833
|
+
* @method _turnPrevMonthOn
|
|
834
|
+
* @param {Node} pane The calendar pane that needs its previous month's dates view
|
|
835
|
+
* modified.
|
|
836
|
+
* @protected
|
|
837
|
+
*/
|
|
838
|
+
_turnPrevMonthOn : function (pane) {
|
|
839
|
+
var pane_id = pane.get("id"),
|
|
840
|
+
pane_date = this._paneProperties[pane_id].paneDate,
|
|
841
|
+
daysInPrevMonth = ydate.daysInMonth(ydate.addMonths(pane_date, -1)),
|
|
842
|
+
cell;
|
|
843
|
+
|
|
844
|
+
if (!this._paneProperties[pane_id].hasOwnProperty("daysInPrevMonth")) {
|
|
845
|
+
this._paneProperties[pane_id].daysInPrevMonth = 0;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
if (daysInPrevMonth !== this._paneProperties[pane_id].daysInPrevMonth) {
|
|
849
|
+
|
|
850
|
+
this._paneProperties[pane_id].daysInPrevMonth = daysInPrevMonth;
|
|
851
|
+
|
|
852
|
+
for (cell = 5; cell >= 0; cell--) {
|
|
853
|
+
pane.one("#" + pane_id + "_" + cell + "_" + (cell-5)).set('text', daysInPrevMonth--);
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* A render assist method that turns off the view of the previous month's dates
|
|
860
|
+
* in a given calendar pane.
|
|
861
|
+
* @method _turnPrevMonthOff
|
|
862
|
+
* @param {Node} pane The calendar pane that needs its previous month's dates view
|
|
863
|
+
* modified.
|
|
864
|
+
* @protected
|
|
865
|
+
*/
|
|
866
|
+
_turnPrevMonthOff : function (pane) {
|
|
867
|
+
var pane_id = pane.get("id"),
|
|
868
|
+
cell;
|
|
869
|
+
|
|
870
|
+
this._paneProperties[pane_id].daysInPrevMonth = 0;
|
|
871
|
+
|
|
872
|
+
for (cell = 5; cell >= 0; cell--) {
|
|
873
|
+
pane.one("#" + pane_id + "_" + cell + "_" + (cell-5)).setContent(" ");
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* A render assist method that cleans up the last few cells in the month grid
|
|
879
|
+
* when the number of days in the month changes.
|
|
880
|
+
* @method _cleanUpNextMonthCells
|
|
881
|
+
* @param {Node} pane The calendar pane that needs the last date cells cleaned up.
|
|
882
|
+
* @private
|
|
883
|
+
*/
|
|
884
|
+
_cleanUpNextMonthCells : function (pane) {
|
|
885
|
+
var pane_id = pane.get("id");
|
|
886
|
+
pane.one("#" + pane_id + "_6_29").removeClass(CAL_NEXTMONTH_DAY);
|
|
887
|
+
pane.one("#" + pane_id + "_7_30").removeClass(CAL_NEXTMONTH_DAY);
|
|
888
|
+
pane.one("#" + pane_id + "_8_31").removeClass(CAL_NEXTMONTH_DAY);
|
|
889
|
+
pane.one("#" + pane_id + "_0_30").removeClass(CAL_NEXTMONTH_DAY);
|
|
890
|
+
pane.one("#" + pane_id + "_1_31").removeClass(CAL_NEXTMONTH_DAY);
|
|
891
|
+
},
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* A render assist method that turns on the view of the next month's dates
|
|
895
|
+
* in a given calendar pane.
|
|
896
|
+
* @method _turnNextMonthOn
|
|
897
|
+
* @param {Node} pane The calendar pane that needs its next month's dates view
|
|
898
|
+
* modified.
|
|
899
|
+
* @protected
|
|
900
|
+
*/
|
|
901
|
+
_turnNextMonthOn : function (pane) {
|
|
902
|
+
var dayCounter = 1,
|
|
903
|
+
pane_id = pane.get("id"),
|
|
904
|
+
daysInMonth = this._paneProperties[pane_id].daysInMonth,
|
|
905
|
+
cutoffCol = this._paneProperties[pane_id].cutoffCol,
|
|
906
|
+
cell,
|
|
907
|
+
startingCell;
|
|
908
|
+
|
|
909
|
+
for (cell = daysInMonth - 22; cell < cutoffCol + 7; cell++) {
|
|
910
|
+
pane.one("#" + pane_id + "_" + cell + "_" + (cell+23)).set("text", dayCounter++).addClass(CAL_NEXTMONTH_DAY);
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
startingCell = cutoffCol;
|
|
914
|
+
|
|
915
|
+
if (daysInMonth === 31 && (cutoffCol <= 1)) {
|
|
916
|
+
startingCell = 2;
|
|
917
|
+
} else if (daysInMonth === 30 && cutoffCol === 0) {
|
|
918
|
+
startingCell = 1;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
for (cell = startingCell ; cell < cutoffCol + 7; cell++) {
|
|
922
|
+
pane.one("#" + pane_id + "_" + cell + "_" + (cell+30)).set("text", dayCounter++).addClass(CAL_NEXTMONTH_DAY);
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* A render assist method that turns off the view of the next month's dates
|
|
928
|
+
* in a given calendar pane.
|
|
929
|
+
* @method _turnNextMonthOff
|
|
930
|
+
* @param {Node} pane The calendar pane that needs its next month's dates view
|
|
931
|
+
* modified.
|
|
932
|
+
* @protected
|
|
933
|
+
*/
|
|
934
|
+
_turnNextMonthOff : function (pane) {
|
|
935
|
+
var pane_id = pane.get("id"),
|
|
936
|
+
daysInMonth = this._paneProperties[pane_id].daysInMonth,
|
|
937
|
+
cutoffCol = this._paneProperties[pane_id].cutoffCol,
|
|
938
|
+
cell,
|
|
939
|
+
startingCell;
|
|
940
|
+
|
|
941
|
+
for (cell = daysInMonth - 22; cell <= 12; cell++) {
|
|
942
|
+
pane.one("#" + pane_id + "_" + cell + "_" + (cell+23)).setContent(" ").addClass(CAL_NEXTMONTH_DAY);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
startingCell = 0;
|
|
946
|
+
|
|
947
|
+
if (daysInMonth === 31 && (cutoffCol <= 1)) {
|
|
948
|
+
startingCell = 2;
|
|
949
|
+
} else if (daysInMonth === 30 && cutoffCol === 0) {
|
|
950
|
+
startingCell = 1;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
for (cell = startingCell ; cell <= 12; cell++) {
|
|
954
|
+
pane.one("#" + pane_id + "_" + cell + "_" + (cell+30)).setContent(" ").addClass(CAL_NEXTMONTH_DAY);
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* The handler for the change in the showNextMonth attribute.
|
|
960
|
+
* @method _afterShowNextMonthChange
|
|
961
|
+
* @private
|
|
962
|
+
*/
|
|
963
|
+
_afterShowNextMonthChange : function () {
|
|
964
|
+
|
|
965
|
+
var contentBox = this.get('contentBox'),
|
|
966
|
+
lastPane = contentBox.one("#" + this._calendarId + "_pane_" + (this._paneNumber - 1));
|
|
967
|
+
|
|
968
|
+
this._cleanUpNextMonthCells(lastPane);
|
|
969
|
+
|
|
970
|
+
if (this.get('showNextMonth')) {
|
|
971
|
+
this._turnNextMonthOn(lastPane);
|
|
972
|
+
} else {
|
|
973
|
+
this._turnNextMonthOff(lastPane);
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
},
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* The handler for the change in the showPrevMonth attribute.
|
|
980
|
+
* @method _afterShowPrevMonthChange
|
|
981
|
+
* @private
|
|
982
|
+
*/
|
|
983
|
+
_afterShowPrevMonthChange : function () {
|
|
984
|
+
var contentBox = this.get('contentBox'),
|
|
985
|
+
firstPane = contentBox.one("#" + this._calendarId + "_pane_" + 0);
|
|
986
|
+
|
|
987
|
+
if (this.get('showPrevMonth')) {
|
|
988
|
+
this._turnPrevMonthOn(firstPane);
|
|
989
|
+
} else {
|
|
990
|
+
this._turnPrevMonthOff(firstPane);
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
},
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* The handler for the change in the headerRenderer attribute.
|
|
997
|
+
* @method _afterHeaderRendererChange
|
|
998
|
+
* @private
|
|
999
|
+
*/
|
|
1000
|
+
_afterHeaderRendererChange : function () {
|
|
1001
|
+
var headerCell = this.get("contentBox").one("." + CAL_HD_LABEL);
|
|
1002
|
+
headerCell.setContent(this._updateCalendarHeader(this.get('date')));
|
|
1003
|
+
},
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* The handler for the change in the customRenderer attribute.
|
|
1007
|
+
* @method _afterCustomRendererChange
|
|
1008
|
+
* @private
|
|
1009
|
+
*/
|
|
1010
|
+
_afterCustomRendererChange : function () {
|
|
1011
|
+
this._restoreModifiedCells();
|
|
1012
|
+
this._renderCustomRules();
|
|
1013
|
+
},
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* The handler for the change in the date attribute. Modifies the calendar
|
|
1017
|
+
* view by shifting the calendar grid mask and running custom rendering and
|
|
1018
|
+
* selection rendering as necessary.
|
|
1019
|
+
* @method _afterDateChange
|
|
1020
|
+
* @private
|
|
1021
|
+
*/
|
|
1022
|
+
_afterDateChange : function () {
|
|
1023
|
+
|
|
1024
|
+
var contentBox = this.get('contentBox'),
|
|
1025
|
+
headerCell = contentBox.one("." + CAL_HD).one("." + CAL_HD_LABEL),
|
|
1026
|
+
calendarPanes = contentBox.all("." + CAL_GRID),
|
|
1027
|
+
currentDate = this.get("date"),
|
|
1028
|
+
counter = 0;
|
|
1029
|
+
|
|
1030
|
+
contentBox.setStyle("visibility", "hidden");
|
|
1031
|
+
headerCell.setContent(this._updateCalendarHeader(currentDate));
|
|
1032
|
+
|
|
1033
|
+
this._restoreModifiedCells();
|
|
1034
|
+
|
|
1035
|
+
calendarPanes.each(function (curNode) {
|
|
1036
|
+
this._rerenderCalendarPane(ydate.addMonths(currentDate, counter++), curNode);
|
|
1037
|
+
}, this);
|
|
1038
|
+
|
|
1039
|
+
this._afterShowPrevMonthChange();
|
|
1040
|
+
this._afterShowNextMonthChange();
|
|
1041
|
+
|
|
1042
|
+
this._renderCustomRules();
|
|
1043
|
+
this._renderSelectedDates();
|
|
1044
|
+
|
|
1045
|
+
contentBox.setStyle("visibility", "inherit");
|
|
1046
|
+
},
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* A rendering assist method that initializes the HTML for a single
|
|
1051
|
+
* calendar pane.
|
|
1052
|
+
* @method _initCalendarPane
|
|
1053
|
+
* @param {Date} baseDate The date corresponding to the month of the given
|
|
1054
|
+
* calendar pane.
|
|
1055
|
+
* @param {String} pane_id The id of the pane, to be used as a prefix for
|
|
1056
|
+
* element ids in the given pane.
|
|
1057
|
+
* @private
|
|
1058
|
+
*/
|
|
1059
|
+
_initCalendarPane : function (baseDate, pane_id) {
|
|
1060
|
+
var dateFormat = Y.Intl.get('datatype-date-format'),
|
|
1061
|
+
weekDays = dateFormat.A,
|
|
1062
|
+
// Get the first day of the week from the internationalization package, or else use Sunday as default.
|
|
1063
|
+
firstday = this.get('strings.first_weekday') || 0,
|
|
1064
|
+
// Compute the cutoff column of the masked calendar table, based on the start date and the first day of week.
|
|
1065
|
+
cutoffCol = this._getCutoffColumn(baseDate, firstday),
|
|
1066
|
+
// Compute the number of days in the month based on starting date
|
|
1067
|
+
daysInMonth = ydate.daysInMonth(baseDate),
|
|
1068
|
+
// Initialize the array of individual row HTML strings
|
|
1069
|
+
row_array = ['','','','','',''],
|
|
1070
|
+
// Initialize the partial templates object
|
|
1071
|
+
partials = {},
|
|
1072
|
+
|
|
1073
|
+
shortWeekDays,
|
|
1074
|
+
day,
|
|
1075
|
+
row,
|
|
1076
|
+
column,
|
|
1077
|
+
date,
|
|
1078
|
+
id_date,
|
|
1079
|
+
calendar_day_class,
|
|
1080
|
+
column_visibility,
|
|
1081
|
+
output;
|
|
1082
|
+
|
|
1083
|
+
if (Y.Intl.getLang('calendar-base')) {
|
|
1084
|
+
shortWeekDays = this.get('strings.very_short_weekdays');
|
|
1085
|
+
} else {
|
|
1086
|
+
shortWeekDays = dateFormat.a;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
// Initialize the partial template for the weekday row cells.
|
|
1090
|
+
partials.weekday_row = '';
|
|
1091
|
+
|
|
1092
|
+
// Populate the partial template for the weekday row cells with weekday names
|
|
1093
|
+
for (day = firstday; day <= firstday + 6; day++) {
|
|
1094
|
+
partials.weekday_row +=
|
|
1095
|
+
substitute(CalendarBase.WEEKDAY_TEMPLATE, {
|
|
1096
|
+
short_weekdayname: shortWeekDays[day%7],
|
|
1097
|
+
weekdayname: weekDays[day%7]
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
// Populate the partial template for the weekday row container with the weekday row cells
|
|
1102
|
+
partials.weekday_row_template = substitute(CalendarBase.WEEKDAY_ROW_TEMPLATE, partials);
|
|
1103
|
+
|
|
1104
|
+
// Populate the array of individual row HTML strings
|
|
1105
|
+
for (row = 0; row <= 5; row++) {
|
|
1106
|
+
|
|
1107
|
+
for (column = 0; column <= 12; column++) {
|
|
1108
|
+
|
|
1109
|
+
// Compute the value of the date that needs to populate the cell
|
|
1110
|
+
date = 7*row - 5 + column;
|
|
1111
|
+
|
|
1112
|
+
// Compose the value of the unique id of the current calendar cell
|
|
1113
|
+
id_date = pane_id + "_" + column + "_" + date;
|
|
1114
|
+
|
|
1115
|
+
// Set the calendar day class to one of three possible values
|
|
1116
|
+
calendar_day_class = CAL_DAY;
|
|
1117
|
+
|
|
1118
|
+
if (date < 1) {
|
|
1119
|
+
calendar_day_class = CAL_PREVMONTH_DAY;
|
|
1120
|
+
} else if (date > daysInMonth) {
|
|
1121
|
+
calendar_day_class = CAL_NEXTMONTH_DAY;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
// Cut off dates that fall before the first and after the last date of the month
|
|
1125
|
+
if (date < 1 || date > daysInMonth) {
|
|
1126
|
+
date = " ";
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
// Decide on whether a column in the masked table is visible or not based on the value of the cutoff column.
|
|
1130
|
+
column_visibility = (column >= cutoffCol && column < (cutoffCol + 7)) ? '' : CAL_COL_HIDDEN;
|
|
1131
|
+
|
|
1132
|
+
// Substitute the values into the partial calendar day template and add it to the current row HTML string
|
|
1133
|
+
row_array[row] += substitute (CalendarBase.CALDAY_TEMPLATE, {
|
|
1134
|
+
day_content: date,
|
|
1135
|
+
calendar_col_class: "calendar_col" + column,
|
|
1136
|
+
calendar_col_visibility_class: column_visibility,
|
|
1137
|
+
calendar_day_class: calendar_day_class,
|
|
1138
|
+
calendar_day_id: id_date
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
// Instantiate the partial calendar pane body template
|
|
1144
|
+
partials.body_template = '';
|
|
1145
|
+
|
|
1146
|
+
// Populate the body template with the rows templates
|
|
1147
|
+
arrayEach (row_array, function (v) {
|
|
1148
|
+
partials.body_template += substitute(CalendarBase.CALDAY_ROW_TEMPLATE, {calday_row: v});
|
|
1149
|
+
});
|
|
1150
|
+
|
|
1151
|
+
// Populate the calendar grid id
|
|
1152
|
+
partials.calendar_pane_id = pane_id;
|
|
1153
|
+
|
|
1154
|
+
// Populate the calendar pane tabindex
|
|
1155
|
+
partials.calendar_pane_tabindex = this.get("tabIndex");
|
|
1156
|
+
partials.pane_arialabel = ydate.format(baseDate, { format: "%B %Y" });
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
// Generate final output by substituting class names.
|
|
1160
|
+
output = substitute(substitute (CalendarBase.CALENDAR_GRID_TEMPLATE, partials),
|
|
1161
|
+
CalendarBase.CALENDAR_STRINGS);
|
|
1162
|
+
|
|
1163
|
+
// Store the initialized pane information
|
|
1164
|
+
this._paneProperties[pane_id] = {cutoffCol: cutoffCol, daysInMonth: daysInMonth, paneDate: baseDate};
|
|
1165
|
+
|
|
1166
|
+
return output;
|
|
1167
|
+
},
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* A rendering assist method that rerenders a specified calendar pane, based
|
|
1171
|
+
* on a new Date.
|
|
1172
|
+
* @method _rerenderCalendarPane
|
|
1173
|
+
* @param {Date} newDate The date corresponding to the month of the given
|
|
1174
|
+
* calendar pane.
|
|
1175
|
+
* @param {Node} pane The node corresponding to the calendar pane to be rerenders.
|
|
1176
|
+
* @private
|
|
1177
|
+
*/
|
|
1178
|
+
_rerenderCalendarPane : function (newDate, pane) {
|
|
1179
|
+
|
|
1180
|
+
// Get the first day of the week from the internationalization package, or else use Sunday as default.
|
|
1181
|
+
var firstday = this.get('strings.first_weekday') || 0,
|
|
1182
|
+
// Compute the cutoff column of the masked calendar table, based on the start date and the first day of week.
|
|
1183
|
+
cutoffCol = this._getCutoffColumn(newDate, firstday),
|
|
1184
|
+
// Compute the number of days in the month based on starting date
|
|
1185
|
+
daysInMonth = ydate.daysInMonth(newDate),
|
|
1186
|
+
// Get pane id for easier reference
|
|
1187
|
+
paneId = pane.get("id"),
|
|
1188
|
+
column,
|
|
1189
|
+
currentColumn,
|
|
1190
|
+
curCell;
|
|
1191
|
+
|
|
1192
|
+
// Hide the pane before making DOM changes to speed them up
|
|
1193
|
+
pane.setStyle("visibility", "hidden");
|
|
1194
|
+
pane.setAttribute("aria-label", ydate.format(newDate, {format:"%B %Y"}));
|
|
1195
|
+
|
|
1196
|
+
// Go through all columns, and flip their visibility setting based on whether they are within the unmasked range.
|
|
1197
|
+
for (column = 0; column <= 12; column++) {
|
|
1198
|
+
currentColumn = pane.all("." + "calendar_col" + column);
|
|
1199
|
+
currentColumn.removeClass(CAL_COL_HIDDEN);
|
|
1200
|
+
|
|
1201
|
+
if (column < cutoffCol || column >= (cutoffCol + 7)) {
|
|
1202
|
+
currentColumn.addClass(CAL_COL_HIDDEN);
|
|
1203
|
+
} else {
|
|
1204
|
+
// Clean up dates in visible columns to account for the correct number of days in a month
|
|
1205
|
+
switch(column) {
|
|
1206
|
+
case 0:
|
|
1207
|
+
curCell = pane.one("#" + paneId + "_0_30");
|
|
1208
|
+
if (daysInMonth >= 30) {
|
|
1209
|
+
curCell.set("text", "30");
|
|
1210
|
+
curCell.removeClass(CAL_NEXTMONTH_DAY).addClass(CAL_DAY);
|
|
1211
|
+
} else {
|
|
1212
|
+
curCell.setContent(" ");
|
|
1213
|
+
curCell.removeClass(CAL_DAY).addClass(CAL_NEXTMONTH_DAY);
|
|
1214
|
+
}
|
|
1215
|
+
break;
|
|
1216
|
+
case 1:
|
|
1217
|
+
curCell = pane.one("#" + paneId + "_1_31");
|
|
1218
|
+
if (daysInMonth >= 31) {
|
|
1219
|
+
curCell.set("text", "31");
|
|
1220
|
+
curCell.removeClass(CAL_NEXTMONTH_DAY).addClass(CAL_DAY);
|
|
1221
|
+
} else {
|
|
1222
|
+
curCell.setContent(" ");
|
|
1223
|
+
curCell.removeClass(CAL_DAY).addClass(CAL_NEXTMONTH_DAY);
|
|
1224
|
+
}
|
|
1225
|
+
break;
|
|
1226
|
+
case 6:
|
|
1227
|
+
curCell = pane.one("#" + paneId + "_6_29");
|
|
1228
|
+
if (daysInMonth >= 29) {
|
|
1229
|
+
curCell.set("text", "29");
|
|
1230
|
+
curCell.removeClass(CAL_NEXTMONTH_DAY).addClass(CAL_DAY);
|
|
1231
|
+
} else {
|
|
1232
|
+
curCell.setContent(" ");
|
|
1233
|
+
curCell.removeClass(CAL_DAY).addClass(CAL_NEXTMONTH_DAY);
|
|
1234
|
+
}
|
|
1235
|
+
break;
|
|
1236
|
+
case 7:
|
|
1237
|
+
curCell = pane.one("#" + paneId + "_7_30");
|
|
1238
|
+
if (daysInMonth >= 30) {
|
|
1239
|
+
curCell.set("text", "30");
|
|
1240
|
+
curCell.removeClass(CAL_NEXTMONTH_DAY).addClass(CAL_DAY);
|
|
1241
|
+
} else {
|
|
1242
|
+
curCell.setContent(" ");
|
|
1243
|
+
curCell.removeClass(CAL_DAY).addClass(CAL_NEXTMONTH_DAY);
|
|
1244
|
+
}
|
|
1245
|
+
break;
|
|
1246
|
+
case 8:
|
|
1247
|
+
curCell = pane.one("#" + paneId + "_8_31");
|
|
1248
|
+
if (daysInMonth >= 31) {
|
|
1249
|
+
curCell.set("text", "31");
|
|
1250
|
+
curCell.removeClass(CAL_NEXTMONTH_DAY).addClass(CAL_DAY);
|
|
1251
|
+
} else {
|
|
1252
|
+
curCell.setContent(" ");
|
|
1253
|
+
curCell.removeClass(CAL_DAY).addClass(CAL_NEXTMONTH_DAY);
|
|
1254
|
+
}
|
|
1255
|
+
break;
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
// Update stored pane properties
|
|
1261
|
+
this._paneProperties[paneId].cutoffCol = cutoffCol;
|
|
1262
|
+
this._paneProperties[paneId].daysInMonth = daysInMonth;
|
|
1263
|
+
this._paneProperties[paneId].paneDate = newDate;
|
|
1264
|
+
|
|
1265
|
+
// Bring the pane visibility back after all DOM changes are done
|
|
1266
|
+
pane.setStyle("visibility", "inherit");
|
|
1267
|
+
|
|
1268
|
+
},
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* A rendering assist method that updates the calendar header based
|
|
1272
|
+
* on a given date and potentially the provided headerRenderer.
|
|
1273
|
+
* @method _updateCalendarHeader
|
|
1274
|
+
* @param {Date} baseDate The date with which to update the calendar header.
|
|
1275
|
+
* @private
|
|
1276
|
+
*/
|
|
1277
|
+
_updateCalendarHeader : function (baseDate) {
|
|
1278
|
+
var headerString = "",
|
|
1279
|
+
headerRenderer = this.get("headerRenderer");
|
|
1280
|
+
|
|
1281
|
+
if (Y.Lang.isString(headerRenderer)) {
|
|
1282
|
+
headerString = ydate.format(baseDate, {format:headerRenderer});
|
|
1283
|
+
} else if (headerRenderer instanceof Function) {
|
|
1284
|
+
headerString = headerRenderer.call(this, baseDate);
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
return headerString;
|
|
1288
|
+
},
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* A rendering assist method that initializes the calendar header HTML
|
|
1292
|
+
* based on a given date and potentially the provided headerRenderer.
|
|
1293
|
+
* @method _initCalendarHeader
|
|
1294
|
+
* @param {Date} baseDate The date with which to initialize the calendar header.
|
|
1295
|
+
* @private
|
|
1296
|
+
*/
|
|
1297
|
+
_initCalendarHeader : function (baseDate) {
|
|
1298
|
+
return substitute(substitute(CalendarBase.HEADER_TEMPLATE, {
|
|
1299
|
+
calheader: this._updateCalendarHeader(baseDate),
|
|
1300
|
+
calendar_id: this._calendarId
|
|
1301
|
+
}), CalendarBase.CALENDAR_STRINGS );
|
|
1302
|
+
},
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* A rendering assist method that initializes the calendar HTML
|
|
1306
|
+
* based on a given date.
|
|
1307
|
+
* @method _initCalendarHTML
|
|
1308
|
+
* @param {Date} baseDate The date with which to initialize the calendar.
|
|
1309
|
+
* @private
|
|
1310
|
+
*/
|
|
1311
|
+
_initCalendarHTML : function (baseDate) {
|
|
1312
|
+
// Instantiate the partials holder
|
|
1313
|
+
var partials = {},
|
|
1314
|
+
// Counter for iterative template replacement.
|
|
1315
|
+
counter = 0,
|
|
1316
|
+
singlePane,
|
|
1317
|
+
output;
|
|
1318
|
+
|
|
1319
|
+
// Generate the template for the header
|
|
1320
|
+
partials.header_template = this._initCalendarHeader(baseDate);
|
|
1321
|
+
partials.calendar_id = this._calendarId;
|
|
1322
|
+
|
|
1323
|
+
partials.body_template = substitute(substitute (CalendarBase.CONTENT_TEMPLATE, partials),
|
|
1324
|
+
CalendarBase.CALENDAR_STRINGS);
|
|
1325
|
+
|
|
1326
|
+
// Instantiate the iterative template replacer function
|
|
1327
|
+
function paneReplacer () {
|
|
1328
|
+
singlePane = this._initCalendarPane(ydate.addMonths(baseDate, counter), partials.calendar_id + "_pane_" + counter);
|
|
1329
|
+
counter++;
|
|
1330
|
+
return singlePane;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
// Go through all occurrences of the calendar_grid_template token and replace it with an appropriate calendar grid.
|
|
1334
|
+
output = partials.body_template.replace(/\{calendar_grid_template\}/g, Y.bind(paneReplacer, this));
|
|
1335
|
+
|
|
1336
|
+
// Update the paneNumber count
|
|
1337
|
+
this._paneNumber = counter;
|
|
1338
|
+
|
|
1339
|
+
return output;
|
|
1340
|
+
}
|
|
1341
|
+
}, {
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* The CSS classnames for the calendar templates.
|
|
1345
|
+
* @property CALENDAR_STRINGS
|
|
1346
|
+
* @type Object
|
|
1347
|
+
* @readOnly
|
|
1348
|
+
* @protected
|
|
1349
|
+
* @static
|
|
1350
|
+
*/
|
|
1351
|
+
CALENDAR_STRINGS: {
|
|
1352
|
+
calendar_grid_class : CAL_GRID,
|
|
1353
|
+
calendar_body_class : CAL_BODY,
|
|
1354
|
+
calendar_hd_class : CAL_HD,
|
|
1355
|
+
calendar_hd_label_class : CAL_HD_LABEL,
|
|
1356
|
+
calendar_weekdayrow_class : CAL_WDAYROW,
|
|
1357
|
+
calendar_weekday_class : CAL_WDAY,
|
|
1358
|
+
calendar_row_class : CAL_ROW,
|
|
1359
|
+
calendar_day_class : CAL_DAY,
|
|
1360
|
+
calendar_dayanchor_class : CAL_ANCHOR,
|
|
1361
|
+
calendar_pane_class : CAL_PANE,
|
|
1362
|
+
calendar_right_grid_class : CAL_RIGHT_GRID,
|
|
1363
|
+
calendar_left_grid_class : CAL_LEFT_GRID,
|
|
1364
|
+
calendar_status_class : CAL_STATUS
|
|
1365
|
+
},
|
|
1366
|
+
|
|
1367
|
+
/*
|
|
1368
|
+
|
|
1369
|
+
ARIA_STATUS_TEMPLATE: '<div role="status" aria-atomic="true" class="{calendar_status_class}"></div>',
|
|
1370
|
+
|
|
1371
|
+
AriaStatus : null,
|
|
1372
|
+
|
|
1373
|
+
updateStatus : function (statusString) {
|
|
1374
|
+
|
|
1375
|
+
if (!CalendarBase.AriaStatus) {
|
|
1376
|
+
CalendarBase.AriaStatus = create(
|
|
1377
|
+
substitute (CalendarBase.ARIA_STATUS_TEMPLATE,
|
|
1378
|
+
CalendarBase.CALENDAR_STRINGS));
|
|
1379
|
+
Y.one("body").append(CalendarBase.AriaStatus);
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
CalendarBase.AriaStatus.set("text", statusString);
|
|
1383
|
+
},
|
|
1384
|
+
|
|
1385
|
+
*/
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* The main content template for calendar.
|
|
1389
|
+
* @property CONTENT_TEMPLATE
|
|
1390
|
+
* @type String
|
|
1391
|
+
* @protected
|
|
1392
|
+
* @static
|
|
1393
|
+
*/
|
|
1394
|
+
CONTENT_TEMPLATE: '<div class="yui3-g {calendar_pane_class}" id="{calendar_id}">' +
|
|
1395
|
+
'{header_template}' +
|
|
1396
|
+
'<div class="yui3-u-1">' +
|
|
1397
|
+
'{calendar_grid_template}' +
|
|
1398
|
+
'</div>' +
|
|
1399
|
+
'</div>',
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* A single pane template for calendar (same as default CONTENT_TEMPLATE)
|
|
1403
|
+
* @property ONE_PANE_TEMPLATE
|
|
1404
|
+
* @type String
|
|
1405
|
+
* @protected
|
|
1406
|
+
* @readOnly
|
|
1407
|
+
* @static
|
|
1408
|
+
*/
|
|
1409
|
+
ONE_PANE_TEMPLATE: '<div class="yui3-g {calendar_pane_class}" id="{calendar_id}">' +
|
|
1410
|
+
'{header_template}' +
|
|
1411
|
+
'<div class="yui3-u-1">' +
|
|
1412
|
+
'{calendar_grid_template}' +
|
|
1413
|
+
'</div>' +
|
|
1414
|
+
'</div>',
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* A two pane template for calendar.
|
|
1418
|
+
* @property TWO_PANE_TEMPLATE
|
|
1419
|
+
* @type String
|
|
1420
|
+
* @protected
|
|
1421
|
+
* @readOnly
|
|
1422
|
+
* @static
|
|
1423
|
+
*/
|
|
1424
|
+
TWO_PANE_TEMPLATE: '<div class="yui3-g {calendar_pane_class}" id="{calendar_id}">' +
|
|
1425
|
+
'{header_template}' +
|
|
1426
|
+
'<div class="yui3-u-1-2">'+
|
|
1427
|
+
'<div class = "{calendar_left_grid_class}">' +
|
|
1428
|
+
'{calendar_grid_template}' +
|
|
1429
|
+
'</div>' +
|
|
1430
|
+
'</div>' +
|
|
1431
|
+
'<div class="yui3-u-1-2">' +
|
|
1432
|
+
'<div class = "{calendar_right_grid_class}">' +
|
|
1433
|
+
'{calendar_grid_template}' +
|
|
1434
|
+
'</div>' +
|
|
1435
|
+
'</div>' +
|
|
1436
|
+
'</div>',
|
|
1437
|
+
/**
|
|
1438
|
+
* A three pane template for calendar.
|
|
1439
|
+
* @property THREE_PANE_TEMPLATE
|
|
1440
|
+
* @type String
|
|
1441
|
+
* @protected
|
|
1442
|
+
* @readOnly
|
|
1443
|
+
* @static
|
|
1444
|
+
*/
|
|
1445
|
+
THREE_PANE_TEMPLATE: '<div class="yui3-g {calendar_pane_class}" id="{calendar_id}">' +
|
|
1446
|
+
'{header_template}' +
|
|
1447
|
+
'<div class="yui3-u-1-3">' +
|
|
1448
|
+
'<div class="{calendar_left_grid_class}">' +
|
|
1449
|
+
'{calendar_grid_template}' +
|
|
1450
|
+
'</div>' +
|
|
1451
|
+
'</div>' +
|
|
1452
|
+
'<div class="yui3-u-1-3">' +
|
|
1453
|
+
'{calendar_grid_template}' +
|
|
1454
|
+
'</div>' +
|
|
1455
|
+
'<div class="yui3-u-1-3">' +
|
|
1456
|
+
'<div class="{calendar_right_grid_class}">' +
|
|
1457
|
+
'{calendar_grid_template}' +
|
|
1458
|
+
'</div>' +
|
|
1459
|
+
'</div>' +
|
|
1460
|
+
'</div>',
|
|
1461
|
+
/**
|
|
1462
|
+
* A template for the calendar grid.
|
|
1463
|
+
* @property CALENDAR_GRID_TEMPLATE
|
|
1464
|
+
* @type String
|
|
1465
|
+
* @protected
|
|
1466
|
+
* @static
|
|
1467
|
+
*/
|
|
1468
|
+
CALENDAR_GRID_TEMPLATE: '<table class="{calendar_grid_class}" id="{calendar_pane_id}" role="grid" aria-readonly="true" ' +
|
|
1469
|
+
'aria-label="{pane_arialabel}" tabindex="{calendar_pane_tabindex}">' +
|
|
1470
|
+
'<thead>' +
|
|
1471
|
+
'{weekday_row_template}' +
|
|
1472
|
+
'</thead>' +
|
|
1473
|
+
'<tbody>' +
|
|
1474
|
+
'{body_template}' +
|
|
1475
|
+
'</tbody>' +
|
|
1476
|
+
'</table>',
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* A template for the calendar header.
|
|
1480
|
+
* @property HEADER_TEMPLATE
|
|
1481
|
+
* @type String
|
|
1482
|
+
* @protected
|
|
1483
|
+
* @static
|
|
1484
|
+
*/
|
|
1485
|
+
HEADER_TEMPLATE: '<div class="yui3-g {calendar_hd_class}">' +
|
|
1486
|
+
'<div class="yui3-u {calendar_hd_label_class}" id="{calendar_id}_header" aria-role="heading">' +
|
|
1487
|
+
'{calheader}' +
|
|
1488
|
+
'</div>' +
|
|
1489
|
+
'</div>',
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* A template for the row of weekday names.
|
|
1493
|
+
* @property WEEKDAY_ROW_TEMPLATE
|
|
1494
|
+
* @type String
|
|
1495
|
+
* @protected
|
|
1496
|
+
* @static
|
|
1497
|
+
*/
|
|
1498
|
+
WEEKDAY_ROW_TEMPLATE: '<tr class="{calendar_weekdayrow_class}" role="row">' +
|
|
1499
|
+
'{weekday_row}' +
|
|
1500
|
+
'</tr>',
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* A template for a single row of calendar days.
|
|
1504
|
+
* @property CALDAY_ROW_TEMPLATE
|
|
1505
|
+
* @type String
|
|
1506
|
+
* @protected
|
|
1507
|
+
* @static
|
|
1508
|
+
*/
|
|
1509
|
+
CALDAY_ROW_TEMPLATE: '<tr class="{calendar_row_class}" role="row">' +
|
|
1510
|
+
'{calday_row}' +
|
|
1511
|
+
'</tr>',
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* A template for a single cell with a weekday name.
|
|
1515
|
+
* @property WEEKDAY_TEMPLATE
|
|
1516
|
+
* @type String
|
|
1517
|
+
* @protected
|
|
1518
|
+
* @static
|
|
1519
|
+
*/
|
|
1520
|
+
WEEKDAY_TEMPLATE: '<th class="{calendar_weekday_class}" role="columnheader" aria-label="{weekdayname}">{short_weekdayname}</th>',
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* A template for a single cell with a calendar day.
|
|
1524
|
+
* @property CALDAY_TEMPLATE
|
|
1525
|
+
* @type String
|
|
1526
|
+
* @protected
|
|
1527
|
+
* @static
|
|
1528
|
+
*/
|
|
1529
|
+
CALDAY_TEMPLATE: '<td class="{calendar_col_class} {calendar_day_class} {calendar_col_visibility_class}" id="{calendar_day_id}" ' +
|
|
1530
|
+
'role="gridcell" tabindex="-1">' +
|
|
1531
|
+
'{day_content}' +
|
|
1532
|
+
'</td>',
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* The identity of the widget.
|
|
1536
|
+
*
|
|
1537
|
+
* @property NAME
|
|
1538
|
+
* @type String
|
|
1539
|
+
* @default 'calendarBase'
|
|
1540
|
+
* @readOnly
|
|
1541
|
+
* @protected
|
|
1542
|
+
* @static
|
|
1543
|
+
*/
|
|
1544
|
+
NAME: 'calendarBase',
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Static property used to define the default attribute configuration of
|
|
1548
|
+
* the Widget.
|
|
1549
|
+
*
|
|
1550
|
+
* @property ATTRS
|
|
1551
|
+
* @type {Object}
|
|
1552
|
+
* @protected
|
|
1553
|
+
* @static
|
|
1554
|
+
*/
|
|
1555
|
+
ATTRS: {
|
|
1556
|
+
tabIndex: {
|
|
1557
|
+
value: 1
|
|
1558
|
+
},
|
|
1559
|
+
/**
|
|
1560
|
+
* The date corresponding to the current calendar view. Always
|
|
1561
|
+
* normalized to the first of the month that contains the date
|
|
1562
|
+
* at assignment time. Used as the first date visible in the
|
|
1563
|
+
* calendar.
|
|
1564
|
+
*
|
|
1565
|
+
* @attribute date
|
|
1566
|
+
* @type Date
|
|
1567
|
+
* @default The first of the month containing today's date, as
|
|
1568
|
+
* set on the end user's system.
|
|
1569
|
+
*/
|
|
1570
|
+
date: {
|
|
1571
|
+
value: new Date(),
|
|
1572
|
+
setter: function (val) {
|
|
1573
|
+
var newDate = this._normalizeDate(val);
|
|
1574
|
+
if (ydate.areEqual(newDate, this.get('date'))) {
|
|
1575
|
+
return this.get('date');
|
|
1576
|
+
} else {
|
|
1577
|
+
return newDate;
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* A setting specifying whether to shows days from the previous
|
|
1584
|
+
* month in the visible month's grid, if there are empty preceding
|
|
1585
|
+
* cells available.
|
|
1586
|
+
*
|
|
1587
|
+
* @attribute showPrevMonth
|
|
1588
|
+
* @type boolean
|
|
1589
|
+
* @default false
|
|
1590
|
+
*/
|
|
1591
|
+
showPrevMonth: {
|
|
1592
|
+
value: false
|
|
1593
|
+
},
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* A setting specifying whether to shows days from the next
|
|
1597
|
+
* month in the visible month's grid, if there are empty
|
|
1598
|
+
* cells available at the end.
|
|
1599
|
+
*
|
|
1600
|
+
* @attribute showNextMonth
|
|
1601
|
+
* @type boolean
|
|
1602
|
+
* @default false
|
|
1603
|
+
*/
|
|
1604
|
+
showNextMonth: {
|
|
1605
|
+
value: false
|
|
1606
|
+
},
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* Strings and properties derived from the internationalization packages
|
|
1610
|
+
* for the calendar.
|
|
1611
|
+
*
|
|
1612
|
+
* @attribute strings
|
|
1613
|
+
* @type Object
|
|
1614
|
+
* @protected
|
|
1615
|
+
*/
|
|
1616
|
+
strings : {
|
|
1617
|
+
valueFn: function() { return Y.Intl.get("calendar-base"); }
|
|
1618
|
+
},
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Custom header renderer for the calendar.
|
|
1622
|
+
*
|
|
1623
|
+
* @attribute headerRenderer
|
|
1624
|
+
* @type String | Function
|
|
1625
|
+
*/
|
|
1626
|
+
headerRenderer: {
|
|
1627
|
+
value: "%B %Y"
|
|
1628
|
+
},
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* The name of the rule which all enabled dates should match.
|
|
1632
|
+
* Either disabledDatesRule or enabledDatesRule should be specified,
|
|
1633
|
+
* or neither, but not both.
|
|
1634
|
+
*
|
|
1635
|
+
* @attribute enabledDatesRule
|
|
1636
|
+
* @type String
|
|
1637
|
+
* @default null
|
|
1638
|
+
*/
|
|
1639
|
+
enabledDatesRule: {
|
|
1640
|
+
value: null
|
|
1641
|
+
},
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* The name of the rule which all disabled dates should match.
|
|
1645
|
+
* Either disabledDatesRule or enabledDatesRule should be specified,
|
|
1646
|
+
* or neither, but not both.
|
|
1647
|
+
*
|
|
1648
|
+
* @attribute disabledDatesRule
|
|
1649
|
+
* @type String
|
|
1650
|
+
* @default null
|
|
1651
|
+
*/
|
|
1652
|
+
disabledDatesRule: {
|
|
1653
|
+
value: null
|
|
1654
|
+
},
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* A read-only attribute providing a list of currently selected dates.
|
|
1658
|
+
*
|
|
1659
|
+
* @attribute selectedDates
|
|
1660
|
+
* @readOnly
|
|
1661
|
+
* @type Array
|
|
1662
|
+
*/
|
|
1663
|
+
selectedDates : {
|
|
1664
|
+
readOnly: true,
|
|
1665
|
+
getter: function () {
|
|
1666
|
+
return (this._getSelectedDatesList());
|
|
1667
|
+
}
|
|
1668
|
+
},
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* An object of the form {rules:Object, filterFunction:Function},
|
|
1672
|
+
* providing set of rules and a custom rendering function for
|
|
1673
|
+
* customizing specific calendar cells.
|
|
1674
|
+
*
|
|
1675
|
+
* @attribute customRenderer
|
|
1676
|
+
* @type Object
|
|
1677
|
+
* @default {}
|
|
1678
|
+
*/
|
|
1679
|
+
customRenderer : {
|
|
1680
|
+
lazyAdd: false,
|
|
1681
|
+
value: {},
|
|
1682
|
+
setter: function (val) {
|
|
1683
|
+
this._rules = val.rules;
|
|
1684
|
+
this._filterFunction = val.filterFunction;
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
});
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
}, '@VERSION@', {
|
|
1693
|
+
"requires": [
|
|
1694
|
+
"widget",
|
|
1695
|
+
"datatype-date",
|
|
1696
|
+
"datatype-date-math",
|
|
1697
|
+
"cssgrids"
|
|
1698
|
+
],
|
|
1699
|
+
"lang": [
|
|
1700
|
+
"de",
|
|
1701
|
+
"en",
|
|
1702
|
+
"es",
|
|
1703
|
+
"es-AR",
|
|
1704
|
+
"fr",
|
|
1705
|
+
"hu",
|
|
1706
|
+
"it",
|
|
1707
|
+
"ja",
|
|
1708
|
+
"nb-NO",
|
|
1709
|
+
"nl",
|
|
1710
|
+
"pt-BR",
|
|
1711
|
+
"ru",
|
|
1712
|
+
"zh-Hans",
|
|
1713
|
+
"zh-Hans-CN",
|
|
1714
|
+
"zh-Hant",
|
|
1715
|
+
"zh-Hant-HK",
|
|
1716
|
+
"zh-HANT-TW"
|
|
1717
|
+
],
|
|
1718
|
+
"skinnable": true
|
|
1719
|
+
});
|