@datagrok/helm 2.3.2 → 2.3.4
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/CHANGELOG.md +20 -0
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +4 -4
- package/src/cell-renderer.ts +5 -4
- package/src/helm-helper.ts +6 -6
- package/src/helm-monomer-placer.ts +1 -1
- package/src/helm-web-editor.ts +5 -5
- package/src/package-test.ts +0 -1
- package/src/package-utils.ts +211 -69
- package/src/package.ts +10 -71
- package/src/tests/findMonomers-tests.ts +2 -1
- package/src/tests/get-monomer-tests.ts +1 -49
- package/src/tests/helm-input-tests.ts +31 -20
- package/src/utils/get-monomer.ts +49 -1
- package/src/utils/helm-grid-cell-renderer.ts +8 -9
- package/src/utils/index.ts +2 -3
- package/src/widgets/helm-input.ts +4 -4
- package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +63 -0
- package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +116 -0
- package/vendor/dojo-1.10.10/dijit/Destroyable.js +35 -0
- package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +83 -0
- package/vendor/dojo-1.10.10/dijit/Tooltip.js +240 -0
- package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +612 -0
- package/vendor/dojo-1.10.10/dijit/Viewport.js +44 -0
- package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +87 -0
- package/vendor/dojo-1.10.10/dijit/WidgetSet.js +76 -0
- package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +247 -0
- package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +94 -0
- package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +238 -0
- package/vendor/dojo-1.10.10/dijit/_Contained.js +17 -0
- package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +56 -0
- package/vendor/dojo-1.10.10/dijit/_Container.js +47 -0
- package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +108 -0
- package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +198 -0
- package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +372 -0
- package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +11 -0
- package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +66 -0
- package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +188 -0
- package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +472 -0
- package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +8 -0
- package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +31 -0
- package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +90 -0
- package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +205 -0
- package/vendor/dojo-1.10.10/dijit/_Widget.js +66 -0
- package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +352 -0
- package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +353 -0
- package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +1200 -0
- package/vendor/dojo-1.10.10/dijit/_base/focus.js +68 -0
- package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +207 -0
- package/vendor/dojo-1.10.10/dijit/_base/manager.js +10 -0
- package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +35 -0
- package/vendor/dojo-1.10.10/dijit/_base/place.js +52 -0
- package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +131 -0
- package/vendor/dojo-1.10.10/dijit/_base/popup.js +23 -0
- package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +58 -0
- package/vendor/dojo-1.10.10/dijit/_base/scroll.js +6 -0
- package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +22 -0
- package/vendor/dojo-1.10.10/dijit/_base/sniff.js +3 -0
- package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +12 -0
- package/vendor/dojo-1.10.10/dijit/_base/typematic.js +3 -0
- package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +10 -0
- package/vendor/dojo-1.10.10/dijit/_base/wai.js +32 -0
- package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +109 -0
- package/vendor/dojo-1.10.10/dijit/_base/window.js +6 -0
- package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +18 -0
- package/vendor/dojo-1.10.10/dijit/_base.js +4 -0
- package/vendor/dojo-1.10.10/dijit/a11y.js +109 -0
- package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +191 -0
- package/vendor/dojo-1.10.10/dijit/a11yclick.js +66 -0
- package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +139 -0
- package/vendor/dojo-1.10.10/dijit/focus.js +188 -0
- package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +371 -0
- package/vendor/dojo-1.10.10/dijit/form/Button.js +49 -0
- package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +130 -0
- package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +4 -0
- package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +27 -0
- package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +21 -0
- package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +86 -0
- package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +38 -0
- package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +102 -0
- package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +7 -0
- package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +26 -0
- package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +50 -0
- package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +116 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +26 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +81 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +24 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +51 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +22 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +67 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +111 -0
- package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +254 -0
- package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +32 -0
- package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +69 -0
- package/vendor/dojo-1.10.10/dijit/hccss.js +9 -0
- package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +21 -0
- package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +215 -0
- package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +550 -0
- package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +7 -0
- package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +25 -0
- package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +235 -0
- package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +653 -0
- package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +171 -0
- package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +411 -0
- package/vendor/dojo-1.10.10/dijit/layout/StackController.js +194 -0
- package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +410 -0
- package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +99 -0
- package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +236 -0
- package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +47 -0
- package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +190 -0
- package/vendor/dojo-1.10.10/dijit/layout/utils.js +77 -0
- package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +151 -0
- package/vendor/dojo-1.10.10/dijit/main.js +4 -0
- package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +16 -0
- package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +2 -0
- package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +21 -0
- package/vendor/dojo-1.10.10/dijit/nls/loading.js +2 -0
- package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +47 -0
- package/vendor/dojo-1.10.10/dijit/place.js +142 -0
- package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +407 -0
- package/vendor/dojo-1.10.10/dijit/popup.js +162 -0
- package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +441 -0
- package/vendor/dojo-1.10.10/dijit/registry.js +79 -0
- package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +159 -0
- package/vendor/dojo-1.10.10/dijit/selection.js +364 -0
- package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +525 -0
- package/vendor/dojo-1.10.10/dijit/typematic.js +96 -0
- package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +211 -0
- package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +195 -0
- package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +761 -0
- package/vendor/dojo-1.10.10/dojo/Stateful.js +90 -0
- package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +218 -0
- package/vendor/dojo-1.10.10/dojo/_base/url.js +87 -0
- package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +109 -0
- package/vendor/dojo-1.10.10/dojo/cache.js +9 -0
- package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +7 -0
- package/vendor/dojo-1.10.10/dojo/colors.js +74 -0
- package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +232 -0
- package/vendor/dojo-1.10.10/dojo/cookie.js +48 -0
- package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +98 -0
- package/vendor/dojo-1.10.10/dojo/date/stamp.js +82 -0
- package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +144 -0
- package/vendor/dojo-1.10.10/dojo/dojo.js +7 -0
- package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +18680 -0
- package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +27 -0
- package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +101 -0
- package/vendor/dojo-1.10.10/dojo/fx/easing.js +165 -0
- package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +276 -0
- package/vendor/dojo-1.10.10/dojo/fx.js +271 -0
- package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +443 -0
- package/vendor/dojo-1.10.10/dojo/hccss.js +26 -0
- package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +52 -0
- package/vendor/dojo-1.10.10/dojo/html.js +161 -0
- package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +370 -0
- package/vendor/dojo-1.10.10/dojo/io/iframe.js +71 -0
- package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +190 -0
- package/vendor/dojo-1.10.10/dojo/io/script.js +112 -0
- package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +280 -0
- package/vendor/dojo-1.10.10/dojo/parser.js +437 -0
- package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +915 -0
- package/vendor/dojo-1.10.10/dojo/promise/all.js +59 -0
- package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +77 -0
- package/vendor/dojo-1.10.10/dojo/regexp.js +32 -0
- package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +70 -0
- package/vendor/dojo-1.10.10/dojo/request/iframe.js +291 -0
- package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +438 -0
- package/vendor/dojo-1.10.10/dojo/request/script.js +129 -0
- package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +237 -0
- package/vendor/dojo-1.10.10/dojo/require.js +11 -0
- package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +7 -0
- package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
- package/vendor/dojo-1.10.10/dojo/string.js +67 -0
- package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +181 -0
- package/vendor/dojo-1.10.10/dojo/touch.js +191 -0
- package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +468 -0
- package/vendor/dojo-1.10.10/dojo/uacss.js +36 -0
- package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +85 -0
- package/vendor/dojo-1.10.10/dojo/window.js +141 -0
- package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +241 -0
- package/vendor/dojo-1.10.10/dojox/charting/Chart.js +626 -0
- package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +1220 -0
- package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +5 -0
- package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +16 -0
- package/vendor/dojo-1.10.10/dojox/charting/Element.js +247 -0
- package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +402 -0
- package/vendor/dojo-1.10.10/dojox/charting/Series.js +24 -0
- package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +58 -0
- package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +191 -0
- package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +577 -0
- package/vendor/dojo-1.10.10/dojox/charting/Theme.js +42 -0
- package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +120 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +11 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +36 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +77 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +144 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +58 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +123 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +54 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +124 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +28 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +74 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +116 -0
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +178 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +24 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +83 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +557 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +980 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +65 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +224 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +91 -0
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +164 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +7 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +14 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +168 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +311 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +61 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +161 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +141 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +242 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +126 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +243 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +108 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +290 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +13 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +14 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +13 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +14 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +153 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +249 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +253 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +472 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +182 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +356 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +6 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +12 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +6 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +12 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +7 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +13 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +110 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +208 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +303 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +547 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +134 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +207 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +299 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +537 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +24 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +44 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +7 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +14 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +22 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +33 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +20 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +31 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +6 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +12 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +68 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +120 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +209 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +214 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +76 -0
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +77 -0
- package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +59 -0
- package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +70 -0
- package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +220 -0
- package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +262 -0
- package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +23 -0
- package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +36 -0
- package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +39 -0
- package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +106 -0
- package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +5 -0
- package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +12 -0
- package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +4 -0
- package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +3 -0
- package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +102 -0
- package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +165 -0
- package/vendor/dojo-1.10.10/dojox/color/Palette.js +163 -0
- package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +460 -0
- package/vendor/dojo-1.10.10/dojox/color/_base.js +174 -0
- package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +196 -0
- package/vendor/dojo-1.10.10/dojox/gfx/fx.js +297 -0
- package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +350 -0
- package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +63 -0
- package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +91 -0
- package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +170 -0
- package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +501 -0
- package/vendor/dojo-1.10.10/dojox/gfx/path.js +319 -0
- package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +478 -0
- package/vendor/dojo-1.10.10/dojox/gfx/shape.js +459 -0
- package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +1091 -0
- package/vendor/dojo-1.10.10/dojox/gfx/svg.js +662 -0
- package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +1023 -0
- package/vendor/dojo-1.10.10/dojox/gfx/utils.js +199 -0
- package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +322 -0
- package/vendor/dojo-1.10.10/dojox/gfx.js +2 -0
- package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +1136 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +151 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +169 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +93 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +125 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +81 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +132 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +54 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +78 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +61 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +77 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +87 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +107 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional.js +4 -0
- package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +3 -0
- package/vendor/dojo-1.10.10/dojox/lang/utils.js +86 -0
- package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +121 -0
- package/vendor/dojo-1.10.10/dojox/main.js +4 -0
- package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +14 -0
- package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +112 -0
- package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +208 -0
- package/vendor/dojo-1.10.10/dojox/storage/Provider.js +62 -0
- package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +344 -0
- package/vendor/dojo-1.10.10/dojox/storage/manager.js +110 -0
- package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +263 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 2004-2017, The JS Foundation All Rights Reserved.
|
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
4
|
+
see: http://dojotoolkit.org/license for details
|
|
5
|
+
*/
|
|
6
|
+
//>>built
|
|
7
|
+
define("dojo/fx/Toggler",["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(_1,_2,_3,_4){
|
|
8
|
+
return _2("dojo.fx.Toggler",null,{node:null,showFunc:_3.fadeIn,hideFunc:_3.fadeOut,showDuration:200,hideDuration:200,constructor:function(_5){
|
|
9
|
+
var _6=this;
|
|
10
|
+
_1.mixin(_6,_5);
|
|
11
|
+
_6.node=_5.node;
|
|
12
|
+
_6._showArgs=_1.mixin({},_5);
|
|
13
|
+
_6._showArgs.node=_6.node;
|
|
14
|
+
_6._showArgs.duration=_6.showDuration;
|
|
15
|
+
_6.showAnim=_6.showFunc(_6._showArgs);
|
|
16
|
+
_6._hideArgs=_1.mixin({},_5);
|
|
17
|
+
_6._hideArgs.node=_6.node;
|
|
18
|
+
_6._hideArgs.duration=_6.hideDuration;
|
|
19
|
+
_6.hideAnim=_6.hideFunc(_6._hideArgs);
|
|
20
|
+
_4.after(_6.showAnim,"beforeBegin",_1.hitch(_6.hideAnim,"stop",true),true);
|
|
21
|
+
_4.after(_6.hideAnim,"beforeBegin",_1.hitch(_6.showAnim,"stop",true),true);
|
|
22
|
+
},show:function(_7){
|
|
23
|
+
return this.showAnim.play(_7||0);
|
|
24
|
+
},hide:function(_8){
|
|
25
|
+
return this.hideAnim.play(_8||0);
|
|
26
|
+
}});
|
|
27
|
+
});
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
define("dojo/fx/Toggler", ["../_base/lang","../_base/declare","../_base/fx", "../aspect"],
|
|
2
|
+
function(lang, declare, baseFx, aspect){
|
|
3
|
+
// module:
|
|
4
|
+
// dojo/fx/Toggler
|
|
5
|
+
|
|
6
|
+
return declare("dojo.fx.Toggler", null, {
|
|
7
|
+
// summary:
|
|
8
|
+
// A simple `dojo.Animation` toggler API.
|
|
9
|
+
// description:
|
|
10
|
+
// class constructor for an animation toggler. It accepts a packed
|
|
11
|
+
// set of arguments about what type of animation to use in each
|
|
12
|
+
// direction, duration, etc. All available members are mixed into
|
|
13
|
+
// these animations from the constructor (for example, `node`,
|
|
14
|
+
// `showDuration`, `hideDuration`).
|
|
15
|
+
// example:
|
|
16
|
+
// | var t = new dojo/fx/Toggler({
|
|
17
|
+
// | node: "nodeId",
|
|
18
|
+
// | showDuration: 500,
|
|
19
|
+
// | // hideDuration will default to "200"
|
|
20
|
+
// | showFunc: dojo/fx/wipeIn,
|
|
21
|
+
// | // hideFunc will default to "fadeOut"
|
|
22
|
+
// | });
|
|
23
|
+
// | t.show(100); // delay showing for 100ms
|
|
24
|
+
// | // ...time passes...
|
|
25
|
+
// | t.hide();
|
|
26
|
+
|
|
27
|
+
// node: DomNode
|
|
28
|
+
// the node to target for the showing and hiding animations
|
|
29
|
+
node: null,
|
|
30
|
+
|
|
31
|
+
// showFunc: Function
|
|
32
|
+
// The function that returns the `dojo.Animation` to show the node
|
|
33
|
+
showFunc: baseFx.fadeIn,
|
|
34
|
+
|
|
35
|
+
// hideFunc: Function
|
|
36
|
+
// The function that returns the `dojo.Animation` to hide the node
|
|
37
|
+
hideFunc: baseFx.fadeOut,
|
|
38
|
+
|
|
39
|
+
// showDuration:
|
|
40
|
+
// Time in milliseconds to run the show Animation
|
|
41
|
+
showDuration: 200,
|
|
42
|
+
|
|
43
|
+
// hideDuration:
|
|
44
|
+
// Time in milliseconds to run the hide Animation
|
|
45
|
+
hideDuration: 200,
|
|
46
|
+
|
|
47
|
+
// FIXME: need a policy for where the toggler should "be" the next
|
|
48
|
+
// time show/hide are called if we're stopped somewhere in the
|
|
49
|
+
// middle.
|
|
50
|
+
// FIXME: also would be nice to specify individual showArgs/hideArgs mixed into
|
|
51
|
+
// each animation individually.
|
|
52
|
+
// FIXME: also would be nice to have events from the animations exposed/bridged
|
|
53
|
+
|
|
54
|
+
/*=====
|
|
55
|
+
_showArgs: null,
|
|
56
|
+
_showAnim: null,
|
|
57
|
+
|
|
58
|
+
_hideArgs: null,
|
|
59
|
+
_hideAnim: null,
|
|
60
|
+
|
|
61
|
+
_isShowing: false,
|
|
62
|
+
_isHiding: false,
|
|
63
|
+
=====*/
|
|
64
|
+
|
|
65
|
+
constructor: function(args){
|
|
66
|
+
var _t = this;
|
|
67
|
+
|
|
68
|
+
lang.mixin(_t, args);
|
|
69
|
+
_t.node = args.node;
|
|
70
|
+
_t._showArgs = lang.mixin({}, args);
|
|
71
|
+
_t._showArgs.node = _t.node;
|
|
72
|
+
_t._showArgs.duration = _t.showDuration;
|
|
73
|
+
_t.showAnim = _t.showFunc(_t._showArgs);
|
|
74
|
+
|
|
75
|
+
_t._hideArgs = lang.mixin({}, args);
|
|
76
|
+
_t._hideArgs.node = _t.node;
|
|
77
|
+
_t._hideArgs.duration = _t.hideDuration;
|
|
78
|
+
_t.hideAnim = _t.hideFunc(_t._hideArgs);
|
|
79
|
+
|
|
80
|
+
aspect.after(_t.showAnim, "beforeBegin", lang.hitch(_t.hideAnim, "stop", true), true);
|
|
81
|
+
aspect.after(_t.hideAnim, "beforeBegin", lang.hitch(_t.showAnim, "stop", true), true);
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
show: function(delay){
|
|
85
|
+
// summary:
|
|
86
|
+
// Toggle the node to showing
|
|
87
|
+
// delay: Integer?
|
|
88
|
+
// Amount of time to stall playing the show animation
|
|
89
|
+
return this.showAnim.play(delay || 0);
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
hide: function(delay){
|
|
93
|
+
// summary:
|
|
94
|
+
// Toggle the node to hidden
|
|
95
|
+
// delay: Integer?
|
|
96
|
+
// Amount of time to stall playing the hide animation
|
|
97
|
+
return this.hideAnim.play(delay || 0);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
});
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 2004-2017, The JS Foundation All Rights Reserved.
|
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
4
|
+
see: http://dojotoolkit.org/license for details
|
|
5
|
+
*/
|
|
6
|
+
//>>built
|
|
7
|
+
define("dojo/fx/easing",["../_base/lang"],function(_1){
|
|
8
|
+
var _2={linear:function(n){
|
|
9
|
+
return n;
|
|
10
|
+
},quadIn:function(n){
|
|
11
|
+
return Math.pow(n,2);
|
|
12
|
+
},quadOut:function(n){
|
|
13
|
+
return n*(n-2)*-1;
|
|
14
|
+
},quadInOut:function(n){
|
|
15
|
+
n=n*2;
|
|
16
|
+
if(n<1){
|
|
17
|
+
return Math.pow(n,2)/2;
|
|
18
|
+
}
|
|
19
|
+
return -1*((--n)*(n-2)-1)/2;
|
|
20
|
+
},cubicIn:function(n){
|
|
21
|
+
return Math.pow(n,3);
|
|
22
|
+
},cubicOut:function(n){
|
|
23
|
+
return Math.pow(n-1,3)+1;
|
|
24
|
+
},cubicInOut:function(n){
|
|
25
|
+
n=n*2;
|
|
26
|
+
if(n<1){
|
|
27
|
+
return Math.pow(n,3)/2;
|
|
28
|
+
}
|
|
29
|
+
n-=2;
|
|
30
|
+
return (Math.pow(n,3)+2)/2;
|
|
31
|
+
},quartIn:function(n){
|
|
32
|
+
return Math.pow(n,4);
|
|
33
|
+
},quartOut:function(n){
|
|
34
|
+
return -1*(Math.pow(n-1,4)-1);
|
|
35
|
+
},quartInOut:function(n){
|
|
36
|
+
n=n*2;
|
|
37
|
+
if(n<1){
|
|
38
|
+
return Math.pow(n,4)/2;
|
|
39
|
+
}
|
|
40
|
+
n-=2;
|
|
41
|
+
return -1/2*(Math.pow(n,4)-2);
|
|
42
|
+
},quintIn:function(n){
|
|
43
|
+
return Math.pow(n,5);
|
|
44
|
+
},quintOut:function(n){
|
|
45
|
+
return Math.pow(n-1,5)+1;
|
|
46
|
+
},quintInOut:function(n){
|
|
47
|
+
n=n*2;
|
|
48
|
+
if(n<1){
|
|
49
|
+
return Math.pow(n,5)/2;
|
|
50
|
+
}
|
|
51
|
+
n-=2;
|
|
52
|
+
return (Math.pow(n,5)+2)/2;
|
|
53
|
+
},sineIn:function(n){
|
|
54
|
+
return -1*Math.cos(n*(Math.PI/2))+1;
|
|
55
|
+
},sineOut:function(n){
|
|
56
|
+
return Math.sin(n*(Math.PI/2));
|
|
57
|
+
},sineInOut:function(n){
|
|
58
|
+
return -1*(Math.cos(Math.PI*n)-1)/2;
|
|
59
|
+
},expoIn:function(n){
|
|
60
|
+
return (n==0)?0:Math.pow(2,10*(n-1));
|
|
61
|
+
},expoOut:function(n){
|
|
62
|
+
return (n==1)?1:(-1*Math.pow(2,-10*n)+1);
|
|
63
|
+
},expoInOut:function(n){
|
|
64
|
+
if(n==0){
|
|
65
|
+
return 0;
|
|
66
|
+
}
|
|
67
|
+
if(n==1){
|
|
68
|
+
return 1;
|
|
69
|
+
}
|
|
70
|
+
n=n*2;
|
|
71
|
+
if(n<1){
|
|
72
|
+
return Math.pow(2,10*(n-1))/2;
|
|
73
|
+
}
|
|
74
|
+
--n;
|
|
75
|
+
return (-1*Math.pow(2,-10*n)+2)/2;
|
|
76
|
+
},circIn:function(n){
|
|
77
|
+
return -1*(Math.sqrt(1-Math.pow(n,2))-1);
|
|
78
|
+
},circOut:function(n){
|
|
79
|
+
n=n-1;
|
|
80
|
+
return Math.sqrt(1-Math.pow(n,2));
|
|
81
|
+
},circInOut:function(n){
|
|
82
|
+
n=n*2;
|
|
83
|
+
if(n<1){
|
|
84
|
+
return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);
|
|
85
|
+
}
|
|
86
|
+
n-=2;
|
|
87
|
+
return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);
|
|
88
|
+
},backIn:function(n){
|
|
89
|
+
var s=1.70158;
|
|
90
|
+
return Math.pow(n,2)*((s+1)*n-s);
|
|
91
|
+
},backOut:function(n){
|
|
92
|
+
n=n-1;
|
|
93
|
+
var s=1.70158;
|
|
94
|
+
return Math.pow(n,2)*((s+1)*n+s)+1;
|
|
95
|
+
},backInOut:function(n){
|
|
96
|
+
var s=1.70158*1.525;
|
|
97
|
+
n=n*2;
|
|
98
|
+
if(n<1){
|
|
99
|
+
return (Math.pow(n,2)*((s+1)*n-s))/2;
|
|
100
|
+
}
|
|
101
|
+
n-=2;
|
|
102
|
+
return (Math.pow(n,2)*((s+1)*n+s)+2)/2;
|
|
103
|
+
},elasticIn:function(n){
|
|
104
|
+
if(n==0||n==1){
|
|
105
|
+
return n;
|
|
106
|
+
}
|
|
107
|
+
var p=0.3;
|
|
108
|
+
var s=p/4;
|
|
109
|
+
n=n-1;
|
|
110
|
+
return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);
|
|
111
|
+
},elasticOut:function(n){
|
|
112
|
+
if(n==0||n==1){
|
|
113
|
+
return n;
|
|
114
|
+
}
|
|
115
|
+
var p=0.3;
|
|
116
|
+
var s=p/4;
|
|
117
|
+
return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;
|
|
118
|
+
},elasticInOut:function(n){
|
|
119
|
+
if(n==0){
|
|
120
|
+
return 0;
|
|
121
|
+
}
|
|
122
|
+
n=n*2;
|
|
123
|
+
if(n==2){
|
|
124
|
+
return 1;
|
|
125
|
+
}
|
|
126
|
+
var p=0.3*1.5;
|
|
127
|
+
var s=p/4;
|
|
128
|
+
if(n<1){
|
|
129
|
+
n-=1;
|
|
130
|
+
return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));
|
|
131
|
+
}
|
|
132
|
+
n-=1;
|
|
133
|
+
return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;
|
|
134
|
+
},bounceIn:function(n){
|
|
135
|
+
return (1-_2.bounceOut(1-n));
|
|
136
|
+
},bounceOut:function(n){
|
|
137
|
+
var s=7.5625;
|
|
138
|
+
var p=2.75;
|
|
139
|
+
var l;
|
|
140
|
+
if(n<(1/p)){
|
|
141
|
+
l=s*Math.pow(n,2);
|
|
142
|
+
}else{
|
|
143
|
+
if(n<(2/p)){
|
|
144
|
+
n-=(1.5/p);
|
|
145
|
+
l=s*Math.pow(n,2)+0.75;
|
|
146
|
+
}else{
|
|
147
|
+
if(n<(2.5/p)){
|
|
148
|
+
n-=(2.25/p);
|
|
149
|
+
l=s*Math.pow(n,2)+0.9375;
|
|
150
|
+
}else{
|
|
151
|
+
n-=(2.625/p);
|
|
152
|
+
l=s*Math.pow(n,2)+0.984375;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return l;
|
|
157
|
+
},bounceInOut:function(n){
|
|
158
|
+
if(n<0.5){
|
|
159
|
+
return _2.bounceIn(n*2)/2;
|
|
160
|
+
}
|
|
161
|
+
return (_2.bounceOut(n*2-1)/2)+0.5;
|
|
162
|
+
}};
|
|
163
|
+
_1.setObject("dojo.fx.easing",_2);
|
|
164
|
+
return _2;
|
|
165
|
+
});
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
define("dojo/fx/easing", ["../_base/lang"], function(lang){
|
|
2
|
+
|
|
3
|
+
// module:
|
|
4
|
+
// dojo/fx/easing
|
|
5
|
+
|
|
6
|
+
var easingFuncs = {
|
|
7
|
+
// summary:
|
|
8
|
+
// Collection of easing functions to use beyond the default
|
|
9
|
+
// `dojo._defaultEasing` function.
|
|
10
|
+
// description:
|
|
11
|
+
// Easing functions are used to manipulate the iteration through
|
|
12
|
+
// an `dojo.Animation`s _Line. _Line being the properties of an Animation,
|
|
13
|
+
// and the easing function progresses through that Line determining
|
|
14
|
+
// how quickly (or slowly) it should go. Or more accurately: modify
|
|
15
|
+
// the value of the _Line based on the percentage of animation completed.
|
|
16
|
+
//
|
|
17
|
+
// All functions follow a simple naming convention of "ease type" + "when".
|
|
18
|
+
// If the name of the function ends in Out, the easing described appears
|
|
19
|
+
// towards the end of the animation. "In" means during the beginning,
|
|
20
|
+
// and InOut means both ranges of the Animation will applied, both
|
|
21
|
+
// beginning and end.
|
|
22
|
+
//
|
|
23
|
+
// One does not call the easing function directly, it must be passed to
|
|
24
|
+
// the `easing` property of an animation.
|
|
25
|
+
// example:
|
|
26
|
+
// | dojo.require("dojo.fx.easing");
|
|
27
|
+
// | var anim = dojo.fadeOut({
|
|
28
|
+
// | node: 'node',
|
|
29
|
+
// | duration: 2000,
|
|
30
|
+
// | // note there is no ()
|
|
31
|
+
// | easing: dojo.fx.easing.quadIn
|
|
32
|
+
// | }).play();
|
|
33
|
+
//
|
|
34
|
+
|
|
35
|
+
linear: function(/* Decimal? */n){
|
|
36
|
+
// summary:
|
|
37
|
+
// A linear easing function
|
|
38
|
+
return n;
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
quadIn: function(/* Decimal? */n){
|
|
42
|
+
return Math.pow(n, 2);
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
quadOut: function(/* Decimal? */n){
|
|
46
|
+
return n * (n - 2) * -1;
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
quadInOut: function(/* Decimal? */n){
|
|
50
|
+
n = n * 2;
|
|
51
|
+
if(n < 1){ return Math.pow(n, 2) / 2; }
|
|
52
|
+
return -1 * ((--n) * (n - 2) - 1) / 2;
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
cubicIn: function(/* Decimal? */n){
|
|
56
|
+
return Math.pow(n, 3);
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
cubicOut: function(/* Decimal? */n){
|
|
60
|
+
return Math.pow(n - 1, 3) + 1;
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
cubicInOut: function(/* Decimal? */n){
|
|
64
|
+
n = n * 2;
|
|
65
|
+
if(n < 1){ return Math.pow(n, 3) / 2; }
|
|
66
|
+
n -= 2;
|
|
67
|
+
return (Math.pow(n, 3) + 2) / 2;
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
quartIn: function(/* Decimal? */n){
|
|
71
|
+
return Math.pow(n, 4);
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
quartOut: function(/* Decimal? */n){
|
|
75
|
+
return -1 * (Math.pow(n - 1, 4) - 1);
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
quartInOut: function(/* Decimal? */n){
|
|
79
|
+
n = n * 2;
|
|
80
|
+
if(n < 1){ return Math.pow(n, 4) / 2; }
|
|
81
|
+
n -= 2;
|
|
82
|
+
return -1 / 2 * (Math.pow(n, 4) - 2);
|
|
83
|
+
},
|
|
84
|
+
|
|
85
|
+
quintIn: function(/* Decimal? */n){
|
|
86
|
+
return Math.pow(n, 5);
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
quintOut: function(/* Decimal? */n){
|
|
90
|
+
return Math.pow(n - 1, 5) + 1;
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
quintInOut: function(/* Decimal? */n){
|
|
94
|
+
n = n * 2;
|
|
95
|
+
if(n < 1){ return Math.pow(n, 5) / 2; }
|
|
96
|
+
n -= 2;
|
|
97
|
+
return (Math.pow(n, 5) + 2) / 2;
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
sineIn: function(/* Decimal? */n){
|
|
101
|
+
return -1 * Math.cos(n * (Math.PI / 2)) + 1;
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
sineOut: function(/* Decimal? */n){
|
|
105
|
+
return Math.sin(n * (Math.PI / 2));
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
sineInOut: function(/* Decimal? */n){
|
|
109
|
+
return -1 * (Math.cos(Math.PI * n) - 1) / 2;
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
expoIn: function(/* Decimal? */n){
|
|
113
|
+
return (n == 0) ? 0 : Math.pow(2, 10 * (n - 1));
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
expoOut: function(/* Decimal? */n){
|
|
117
|
+
return (n == 1) ? 1 : (-1 * Math.pow(2, -10 * n) + 1);
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
expoInOut: function(/* Decimal? */n){
|
|
121
|
+
if(n == 0){ return 0; }
|
|
122
|
+
if(n == 1){ return 1; }
|
|
123
|
+
n = n * 2;
|
|
124
|
+
if(n < 1){ return Math.pow(2, 10 * (n - 1)) / 2; }
|
|
125
|
+
--n;
|
|
126
|
+
return (-1 * Math.pow(2, -10 * n) + 2) / 2;
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
circIn: function(/* Decimal? */n){
|
|
130
|
+
return -1 * (Math.sqrt(1 - Math.pow(n, 2)) - 1);
|
|
131
|
+
},
|
|
132
|
+
|
|
133
|
+
circOut: function(/* Decimal? */n){
|
|
134
|
+
n = n - 1;
|
|
135
|
+
return Math.sqrt(1 - Math.pow(n, 2));
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
circInOut: function(/* Decimal? */n){
|
|
139
|
+
n = n * 2;
|
|
140
|
+
if(n < 1){ return -1 / 2 * (Math.sqrt(1 - Math.pow(n, 2)) - 1); }
|
|
141
|
+
n -= 2;
|
|
142
|
+
return 1 / 2 * (Math.sqrt(1 - Math.pow(n, 2)) + 1);
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
backIn: function(/* Decimal? */n){
|
|
146
|
+
// summary:
|
|
147
|
+
// An easing function that starts away from the target,
|
|
148
|
+
// and quickly accelerates towards the end value.
|
|
149
|
+
//
|
|
150
|
+
// Use caution when the easing will cause values to become
|
|
151
|
+
// negative as some properties cannot be set to negative values.
|
|
152
|
+
var s = 1.70158;
|
|
153
|
+
return Math.pow(n, 2) * ((s + 1) * n - s);
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
backOut: function(/* Decimal? */n){
|
|
157
|
+
// summary:
|
|
158
|
+
// An easing function that pops past the range briefly, and slowly comes back.
|
|
159
|
+
// description:
|
|
160
|
+
// An easing function that pops past the range briefly, and slowly comes back.
|
|
161
|
+
//
|
|
162
|
+
// Use caution when the easing will cause values to become negative as some
|
|
163
|
+
// properties cannot be set to negative values.
|
|
164
|
+
|
|
165
|
+
n = n - 1;
|
|
166
|
+
var s = 1.70158;
|
|
167
|
+
return Math.pow(n, 2) * ((s + 1) * n + s) + 1;
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
backInOut: function(/* Decimal? */n){
|
|
171
|
+
// summary:
|
|
172
|
+
// An easing function combining the effects of `backIn` and `backOut`
|
|
173
|
+
// description:
|
|
174
|
+
// An easing function combining the effects of `backIn` and `backOut`.
|
|
175
|
+
// Use caution when the easing will cause values to become negative
|
|
176
|
+
// as some properties cannot be set to negative values.
|
|
177
|
+
var s = 1.70158 * 1.525;
|
|
178
|
+
n = n * 2;
|
|
179
|
+
if(n < 1){ return (Math.pow(n, 2) * ((s + 1) * n - s)) / 2; }
|
|
180
|
+
n-=2;
|
|
181
|
+
return (Math.pow(n, 2) * ((s + 1) * n + s) + 2) / 2;
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
elasticIn: function(/* Decimal? */n){
|
|
185
|
+
// summary:
|
|
186
|
+
// An easing function the elastically snaps from the start value
|
|
187
|
+
// description:
|
|
188
|
+
// An easing function the elastically snaps from the start value
|
|
189
|
+
//
|
|
190
|
+
// Use caution when the elasticity will cause values to become negative
|
|
191
|
+
// as some properties cannot be set to negative values.
|
|
192
|
+
if(n == 0 || n == 1){ return n; }
|
|
193
|
+
var p = .3;
|
|
194
|
+
var s = p / 4;
|
|
195
|
+
n = n - 1;
|
|
196
|
+
return -1 * Math.pow(2, 10 * n) * Math.sin((n - s) * (2 * Math.PI) / p);
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
elasticOut: function(/* Decimal? */n){
|
|
200
|
+
// summary:
|
|
201
|
+
// An easing function that elasticly snaps around the target value,
|
|
202
|
+
// near the end of the Animation
|
|
203
|
+
// description:
|
|
204
|
+
// An easing function that elasticly snaps around the target value,
|
|
205
|
+
// near the end of the Animation
|
|
206
|
+
//
|
|
207
|
+
// Use caution when the elasticity will cause values to become
|
|
208
|
+
// negative as some properties cannot be set to negative values.
|
|
209
|
+
if(n==0 || n == 1){ return n; }
|
|
210
|
+
var p = .3;
|
|
211
|
+
var s = p / 4;
|
|
212
|
+
return Math.pow(2, -10 * n) * Math.sin((n - s) * (2 * Math.PI) / p) + 1;
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
elasticInOut: function(/* Decimal? */n){
|
|
216
|
+
// summary:
|
|
217
|
+
// An easing function that elasticly snaps around the value, near
|
|
218
|
+
// the beginning and end of the Animation.
|
|
219
|
+
// description:
|
|
220
|
+
// An easing function that elasticly snaps around the value, near
|
|
221
|
+
// the beginning and end of the Animation.
|
|
222
|
+
//
|
|
223
|
+
// Use caution when the elasticity will cause values to become
|
|
224
|
+
// negative as some properties cannot be set to negative values.
|
|
225
|
+
if(n == 0) return 0;
|
|
226
|
+
n = n * 2;
|
|
227
|
+
if(n == 2) return 1;
|
|
228
|
+
var p = .3 * 1.5;
|
|
229
|
+
var s = p / 4;
|
|
230
|
+
if(n < 1){
|
|
231
|
+
n -= 1;
|
|
232
|
+
return -.5 * (Math.pow(2, 10 * n) * Math.sin((n - s) * (2 * Math.PI) / p));
|
|
233
|
+
}
|
|
234
|
+
n -= 1;
|
|
235
|
+
return .5 * (Math.pow(2, -10 * n) * Math.sin((n - s) * (2 * Math.PI) / p)) + 1;
|
|
236
|
+
},
|
|
237
|
+
|
|
238
|
+
bounceIn: function(/* Decimal? */n){
|
|
239
|
+
// summary:
|
|
240
|
+
// An easing function that 'bounces' near the beginning of an Animation
|
|
241
|
+
return (1 - easingFuncs.bounceOut(1 - n)); // Decimal
|
|
242
|
+
},
|
|
243
|
+
|
|
244
|
+
bounceOut: function(/* Decimal? */n){
|
|
245
|
+
// summary:
|
|
246
|
+
// An easing function that 'bounces' near the end of an Animation
|
|
247
|
+
var s = 7.5625;
|
|
248
|
+
var p = 2.75;
|
|
249
|
+
var l;
|
|
250
|
+
if(n < (1 / p)){
|
|
251
|
+
l = s * Math.pow(n, 2);
|
|
252
|
+
}else if(n < (2 / p)){
|
|
253
|
+
n -= (1.5 / p);
|
|
254
|
+
l = s * Math.pow(n, 2) + .75;
|
|
255
|
+
}else if(n < (2.5 / p)){
|
|
256
|
+
n -= (2.25 / p);
|
|
257
|
+
l = s * Math.pow(n, 2) + .9375;
|
|
258
|
+
}else{
|
|
259
|
+
n -= (2.625 / p);
|
|
260
|
+
l = s * Math.pow(n, 2) + .984375;
|
|
261
|
+
}
|
|
262
|
+
return l;
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
bounceInOut: function(/* Decimal? */n){
|
|
266
|
+
// summary:
|
|
267
|
+
// An easing function that 'bounces' at the beginning and end of the Animation
|
|
268
|
+
if(n < 0.5){ return easingFuncs.bounceIn(n * 2) / 2; }
|
|
269
|
+
return (easingFuncs.bounceOut(n * 2 - 1) / 2) + 0.5; // Decimal
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
lang.setObject("dojo.fx.easing", easingFuncs);
|
|
274
|
+
|
|
275
|
+
return easingFuncs;
|
|
276
|
+
});
|