@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,196 @@
|
|
|
1
|
+
define("dojox/color/_base", ["../main", "dojo/_base/lang", "dojo/_base/Color", "dojo/colors"],
|
|
2
|
+
function(dojox, lang, Color, colors){
|
|
3
|
+
|
|
4
|
+
var cx = lang.getObject("color", true, dojox);
|
|
5
|
+
/*===== cx = dojox.color =====*/
|
|
6
|
+
|
|
7
|
+
// alias all the dojo.Color mechanisms
|
|
8
|
+
cx.Color=Color;
|
|
9
|
+
cx.blend=Color.blendColors;
|
|
10
|
+
cx.fromRgb=Color.fromRgb;
|
|
11
|
+
cx.fromHex=Color.fromHex;
|
|
12
|
+
cx.fromArray=Color.fromArray;
|
|
13
|
+
cx.fromString=Color.fromString;
|
|
14
|
+
|
|
15
|
+
// alias the dojo.colors mechanisms
|
|
16
|
+
cx.greyscale=colors.makeGrey;
|
|
17
|
+
|
|
18
|
+
lang.mixin(cx,{
|
|
19
|
+
fromCmy: function(/* Object|Array|int */cyan, /*int*/magenta, /*int*/yellow){
|
|
20
|
+
// summary:
|
|
21
|
+
// Create a dojox.color.Color from a CMY defined color.
|
|
22
|
+
// All colors should be expressed as 0-100 (percentage)
|
|
23
|
+
|
|
24
|
+
if(lang.isArray(cyan)){
|
|
25
|
+
magenta=cyan[1], yellow=cyan[2], cyan=cyan[0];
|
|
26
|
+
} else if(lang.isObject(cyan)){
|
|
27
|
+
magenta=cyan.m, yellow=cyan.y, cyan=cyan.c;
|
|
28
|
+
}
|
|
29
|
+
cyan/=100, magenta/=100, yellow/=100;
|
|
30
|
+
|
|
31
|
+
var r=1-cyan, g=1-magenta, b=1-yellow;
|
|
32
|
+
return new Color({ r:Math.round(r*255), g:Math.round(g*255), b:Math.round(b*255) }); // dojox.color.Color
|
|
33
|
+
},
|
|
34
|
+
|
|
35
|
+
fromCmyk: function(/* Object|Array|int */cyan, /*int*/magenta, /*int*/yellow, /*int*/black){
|
|
36
|
+
// summary:
|
|
37
|
+
// Create a dojox.color.Color from a CMYK defined color.
|
|
38
|
+
// All colors should be expressed as 0-100 (percentage)
|
|
39
|
+
|
|
40
|
+
if(lang.isArray(cyan)){
|
|
41
|
+
magenta=cyan[1], yellow=cyan[2], black=cyan[3], cyan=cyan[0];
|
|
42
|
+
} else if(lang.isObject(cyan)){
|
|
43
|
+
magenta=cyan.m, yellow=cyan.y, black=cyan.b, cyan=cyan.c;
|
|
44
|
+
}
|
|
45
|
+
cyan/=100, magenta/=100, yellow/=100, black/=100;
|
|
46
|
+
var r,g,b;
|
|
47
|
+
r = 1-Math.min(1, cyan*(1-black)+black);
|
|
48
|
+
g = 1-Math.min(1, magenta*(1-black)+black);
|
|
49
|
+
b = 1-Math.min(1, yellow*(1-black)+black);
|
|
50
|
+
return new Color({ r:Math.round(r*255), g:Math.round(g*255), b:Math.round(b*255) }); // dojox.color.Color
|
|
51
|
+
},
|
|
52
|
+
|
|
53
|
+
fromHsl: function(/* Object|Array|int */hue, /* int */saturation, /* int */luminosity){
|
|
54
|
+
// summary:
|
|
55
|
+
// Create a dojox.color.Color from an HSL defined color.
|
|
56
|
+
// hue from 0-359 (degrees), saturation and luminosity 0-100.
|
|
57
|
+
|
|
58
|
+
if(lang.isArray(hue)){
|
|
59
|
+
saturation=hue[1], luminosity=hue[2], hue=hue[0];
|
|
60
|
+
} else if(lang.isObject(hue)){
|
|
61
|
+
saturation=hue.s, luminosity=hue.l, hue=hue.h;
|
|
62
|
+
}
|
|
63
|
+
saturation/=100;
|
|
64
|
+
luminosity/=100;
|
|
65
|
+
|
|
66
|
+
while(hue<0){ hue+=360; }
|
|
67
|
+
while(hue>=360){ hue-=360; }
|
|
68
|
+
|
|
69
|
+
var r, g, b;
|
|
70
|
+
if(hue<120){
|
|
71
|
+
r=(120-hue)/60, g=hue/60, b=0;
|
|
72
|
+
} else if (hue<240){
|
|
73
|
+
r=0, g=(240-hue)/60, b=(hue-120)/60;
|
|
74
|
+
} else {
|
|
75
|
+
r=(hue-240)/60, g=0, b=(360-hue)/60;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
r=2*saturation*Math.min(r, 1)+(1-saturation);
|
|
79
|
+
g=2*saturation*Math.min(g, 1)+(1-saturation);
|
|
80
|
+
b=2*saturation*Math.min(b, 1)+(1-saturation);
|
|
81
|
+
if(luminosity<0.5){
|
|
82
|
+
r*=luminosity, g*=luminosity, b*=luminosity;
|
|
83
|
+
}else{
|
|
84
|
+
r=(1-luminosity)*r+2*luminosity-1;
|
|
85
|
+
g=(1-luminosity)*g+2*luminosity-1;
|
|
86
|
+
b=(1-luminosity)*b+2*luminosity-1;
|
|
87
|
+
}
|
|
88
|
+
return new Color({ r:Math.round(r*255), g:Math.round(g*255), b:Math.round(b*255) }); // dojox.color.Color
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
cx.fromHsv = function(/* Object|Array|int */hue, /* int */saturation, /* int */value){
|
|
93
|
+
// summary:
|
|
94
|
+
// Create a dojox.color.Color from an HSV defined color.
|
|
95
|
+
// hue from 0-359 (degrees), saturation and value 0-100.
|
|
96
|
+
|
|
97
|
+
if(lang.isArray(hue)){
|
|
98
|
+
saturation=hue[1], value=hue[2], hue=hue[0];
|
|
99
|
+
} else if (lang.isObject(hue)){
|
|
100
|
+
saturation=hue.s, value=hue.v, hue=hue.h;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if(hue==360){ hue=0; }
|
|
104
|
+
saturation/=100;
|
|
105
|
+
value/=100;
|
|
106
|
+
|
|
107
|
+
var r, g, b;
|
|
108
|
+
if(saturation==0){
|
|
109
|
+
r=value, b=value, g=value;
|
|
110
|
+
}else{
|
|
111
|
+
var hTemp=hue/60, i=Math.floor(hTemp), f=hTemp-i;
|
|
112
|
+
var p=value*(1-saturation);
|
|
113
|
+
var q=value*(1-(saturation*f));
|
|
114
|
+
var t=value*(1-(saturation*(1-f)));
|
|
115
|
+
switch(i){
|
|
116
|
+
case 0:{ r=value, g=t, b=p; break; }
|
|
117
|
+
case 1:{ r=q, g=value, b=p; break; }
|
|
118
|
+
case 2:{ r=p, g=value, b=t; break; }
|
|
119
|
+
case 3:{ r=p, g=q, b=value; break; }
|
|
120
|
+
case 4:{ r=t, g=p, b=value; break; }
|
|
121
|
+
case 5:{ r=value, g=p, b=q; break; }
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return new Color({ r:Math.round(r*255), g:Math.round(g*255), b:Math.round(b*255) }); // dojox.color.Color
|
|
125
|
+
};
|
|
126
|
+
lang.extend(Color,{
|
|
127
|
+
toCmy: function(){
|
|
128
|
+
// summary:
|
|
129
|
+
// Convert this Color to a CMY definition.
|
|
130
|
+
var cyan=1-(this.r/255), magenta=1-(this.g/255), yellow=1-(this.b/255);
|
|
131
|
+
return { c:Math.round(cyan*100), m:Math.round(magenta*100), y:Math.round(yellow*100) }; // Object
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
toCmyk: function(){
|
|
135
|
+
// summary:
|
|
136
|
+
// Convert this Color to a CMYK definition.
|
|
137
|
+
var cyan, magenta, yellow, black;
|
|
138
|
+
var r=this.r/255, g=this.g/255, b=this.b/255;
|
|
139
|
+
black = Math.min(1-r, 1-g, 1-b);
|
|
140
|
+
cyan = (1-r-black)/(1-black);
|
|
141
|
+
magenta = (1-g-black)/(1-black);
|
|
142
|
+
yellow = (1-b-black)/(1-black);
|
|
143
|
+
return { c:Math.round(cyan*100), m:Math.round(magenta*100), y:Math.round(yellow*100), b:Math.round(black*100) }; // Object
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
toHsl: function(){
|
|
147
|
+
// summary:
|
|
148
|
+
// Convert this Color to an HSL definition.
|
|
149
|
+
var r=this.r/255, g=this.g/255, b=this.b/255;
|
|
150
|
+
var min = Math.min(r, b, g), max = Math.max(r, g, b);
|
|
151
|
+
var delta = max-min;
|
|
152
|
+
var h=0, s=0, l=(min+max)/2;
|
|
153
|
+
if(l>0 && l<1){
|
|
154
|
+
s = delta/((l<0.5)?(2*l):(2-2*l));
|
|
155
|
+
}
|
|
156
|
+
if(delta>0){
|
|
157
|
+
if(max==r && max!=g){
|
|
158
|
+
h+=(g-b)/delta;
|
|
159
|
+
}
|
|
160
|
+
if(max==g && max!=b){
|
|
161
|
+
h+=(2+(b-r)/delta);
|
|
162
|
+
}
|
|
163
|
+
if(max==b && max!=r){
|
|
164
|
+
h+=(4+(r-g)/delta);
|
|
165
|
+
}
|
|
166
|
+
h*=60;
|
|
167
|
+
}
|
|
168
|
+
return { h:h, s:Math.round(s*100), l:Math.round(l*100) }; // Object
|
|
169
|
+
},
|
|
170
|
+
|
|
171
|
+
toHsv: function(){
|
|
172
|
+
// summary:
|
|
173
|
+
// Convert this Color to an HSV definition.
|
|
174
|
+
var r=this.r/255, g=this.g/255, b=this.b/255;
|
|
175
|
+
var min = Math.min(r, b, g), max = Math.max(r, g, b);
|
|
176
|
+
var delta = max-min;
|
|
177
|
+
var h = null, s = (max==0)?0:(delta/max);
|
|
178
|
+
if(s==0){
|
|
179
|
+
h = 0;
|
|
180
|
+
}else{
|
|
181
|
+
if(r==max){
|
|
182
|
+
h = 60*(g-b)/delta;
|
|
183
|
+
}else if(g==max){
|
|
184
|
+
h = 120 + 60*(b-r)/delta;
|
|
185
|
+
}else{
|
|
186
|
+
h = 240 + 60*(r-g)/delta;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if(h<0){ h+=360; }
|
|
190
|
+
}
|
|
191
|
+
return { h:h, s:Math.round(s*100), v:Math.round(max*100) }; // Object
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
return cx;
|
|
196
|
+
});
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
//>>built
|
|
2
|
+
define("dojox/gfx/fx",["dojo/_base/lang","./_base","./matrix","dojo/_base/Color","dojo/_base/array","dojo/_base/fx","dojo/_base/connect","dojo/sniff"],function(_1,g,m,_2,_3,fx,_4,_5){
|
|
3
|
+
var _6=g.fx={};
|
|
4
|
+
function _7(_8,_9){
|
|
5
|
+
this.start=_8,this.end=_9;
|
|
6
|
+
};
|
|
7
|
+
_7.prototype.getValue=function(r){
|
|
8
|
+
return (this.end-this.start)*r+this.start;
|
|
9
|
+
};
|
|
10
|
+
function _a(_b,_c,_d){
|
|
11
|
+
this.start=_b,this.end=_c;
|
|
12
|
+
this.units=_d;
|
|
13
|
+
};
|
|
14
|
+
_a.prototype.getValue=function(r){
|
|
15
|
+
return (this.end-this.start)*r+this.start+this.units;
|
|
16
|
+
};
|
|
17
|
+
function _e(_f,end){
|
|
18
|
+
this.start=_f,this.end=end;
|
|
19
|
+
this.temp=new _2();
|
|
20
|
+
};
|
|
21
|
+
_e.prototype.getValue=function(r){
|
|
22
|
+
return _2.blendColors(this.start,this.end,r,this.temp);
|
|
23
|
+
};
|
|
24
|
+
function _10(_11){
|
|
25
|
+
this.values=_11;
|
|
26
|
+
this.length=_11.length;
|
|
27
|
+
};
|
|
28
|
+
_10.prototype.getValue=function(r){
|
|
29
|
+
return this.values[Math.min(Math.floor(r*this.length),this.length-1)];
|
|
30
|
+
};
|
|
31
|
+
function _12(_13,def){
|
|
32
|
+
this.values=_13;
|
|
33
|
+
this.def=def?def:{};
|
|
34
|
+
};
|
|
35
|
+
_12.prototype.getValue=function(r){
|
|
36
|
+
var ret=_1.clone(this.def);
|
|
37
|
+
for(var i in this.values){
|
|
38
|
+
ret[i]=this.values[i].getValue(r);
|
|
39
|
+
}
|
|
40
|
+
return ret;
|
|
41
|
+
};
|
|
42
|
+
function _14(_15,_16){
|
|
43
|
+
this.stack=_15;
|
|
44
|
+
this.original=_16;
|
|
45
|
+
};
|
|
46
|
+
_14.prototype.getValue=function(r){
|
|
47
|
+
var ret=[];
|
|
48
|
+
_3.forEach(this.stack,function(t){
|
|
49
|
+
if(t instanceof m.Matrix2D){
|
|
50
|
+
ret.push(t);
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if(t.name=="original"&&this.original){
|
|
54
|
+
ret.push(this.original);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
if(t.name=="matrix"){
|
|
58
|
+
if((t.start instanceof m.Matrix2D)&&(t.end instanceof m.Matrix2D)){
|
|
59
|
+
var _17=new m.Matrix2D();
|
|
60
|
+
for(var p in t.start){
|
|
61
|
+
_17[p]=(t.end[p]-t.start[p])*r+t.start[p];
|
|
62
|
+
}
|
|
63
|
+
ret.push(_17);
|
|
64
|
+
}
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
if(!(t.name in m)){
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
var f=m[t.name];
|
|
71
|
+
if(typeof f!="function"){
|
|
72
|
+
ret.push(f);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
var val=_3.map(t.start,function(v,i){
|
|
76
|
+
return (t.end[i]-v)*r+v;
|
|
77
|
+
}),_18=f.apply(m,val);
|
|
78
|
+
if(_18 instanceof m.Matrix2D){
|
|
79
|
+
ret.push(_18);
|
|
80
|
+
}
|
|
81
|
+
},this);
|
|
82
|
+
return ret;
|
|
83
|
+
};
|
|
84
|
+
var _19=new _2(0,0,0,0);
|
|
85
|
+
function _1a(_1b,obj,_1c,def){
|
|
86
|
+
if(_1b.values){
|
|
87
|
+
return new _10(_1b.values);
|
|
88
|
+
}
|
|
89
|
+
var _1d,_1e,end;
|
|
90
|
+
if(_1b.start){
|
|
91
|
+
_1e=g.normalizeColor(_1b.start);
|
|
92
|
+
}else{
|
|
93
|
+
_1e=_1d=obj?(_1c?obj[_1c]:obj):def;
|
|
94
|
+
}
|
|
95
|
+
if(_1b.end){
|
|
96
|
+
end=g.normalizeColor(_1b.end);
|
|
97
|
+
}else{
|
|
98
|
+
if(!_1d){
|
|
99
|
+
_1d=obj?(_1c?obj[_1c]:obj):def;
|
|
100
|
+
}
|
|
101
|
+
end=_1d;
|
|
102
|
+
}
|
|
103
|
+
return new _e(_1e,end);
|
|
104
|
+
};
|
|
105
|
+
function _1f(_20,obj,_21,def){
|
|
106
|
+
if(_20.values){
|
|
107
|
+
return new _10(_20.values);
|
|
108
|
+
}
|
|
109
|
+
var _22,_23,end;
|
|
110
|
+
if(_20.start){
|
|
111
|
+
_23=_20.start;
|
|
112
|
+
}else{
|
|
113
|
+
_23=_22=obj?obj[_21]:def;
|
|
114
|
+
}
|
|
115
|
+
if(_20.end){
|
|
116
|
+
end=_20.end;
|
|
117
|
+
}else{
|
|
118
|
+
if(typeof _22!="number"){
|
|
119
|
+
_22=obj?obj[_21]:def;
|
|
120
|
+
}
|
|
121
|
+
end=_22;
|
|
122
|
+
}
|
|
123
|
+
return new _7(_23,end);
|
|
124
|
+
};
|
|
125
|
+
_6.animateStroke=function(_24){
|
|
126
|
+
if(!_24.easing){
|
|
127
|
+
_24.easing=fx._defaultEasing;
|
|
128
|
+
}
|
|
129
|
+
var _25=new fx.Animation(_24),_26=_24.shape,_27;
|
|
130
|
+
_4.connect(_25,"beforeBegin",_25,function(){
|
|
131
|
+
_27=_26.getStroke();
|
|
132
|
+
var _28=_24.color,_29={},_2a,_2b,end;
|
|
133
|
+
if(_28){
|
|
134
|
+
_29.color=_1a(_28,_27,"color",_19);
|
|
135
|
+
}
|
|
136
|
+
_28=_24.style;
|
|
137
|
+
if(_28&&_28.values){
|
|
138
|
+
_29.style=new _10(_28.values);
|
|
139
|
+
}
|
|
140
|
+
_28=_24.width;
|
|
141
|
+
if(_28){
|
|
142
|
+
_29.width=_1f(_28,_27,"width",1);
|
|
143
|
+
}
|
|
144
|
+
_28=_24.cap;
|
|
145
|
+
if(_28&&_28.values){
|
|
146
|
+
_29.cap=new _10(_28.values);
|
|
147
|
+
}
|
|
148
|
+
_28=_24.join;
|
|
149
|
+
if(_28){
|
|
150
|
+
if(_28.values){
|
|
151
|
+
_29.join=new _10(_28.values);
|
|
152
|
+
}else{
|
|
153
|
+
_2b=_28.start?_28.start:(_27&&_27.join||0);
|
|
154
|
+
end=_28.end?_28.end:(_27&&_27.join||0);
|
|
155
|
+
if(typeof _2b=="number"&&typeof end=="number"){
|
|
156
|
+
_29.join=new _7(_2b,end);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
this.curve=new _12(_29,_27);
|
|
161
|
+
});
|
|
162
|
+
_4.connect(_25,"onAnimate",_26,"setStroke");
|
|
163
|
+
return _25;
|
|
164
|
+
};
|
|
165
|
+
_6.animateFill=function(_2c){
|
|
166
|
+
if(!_2c.easing){
|
|
167
|
+
_2c.easing=fx._defaultEasing;
|
|
168
|
+
}
|
|
169
|
+
var _2d=new fx.Animation(_2c),_2e=_2c.shape,_2f;
|
|
170
|
+
_4.connect(_2d,"beforeBegin",_2d,function(){
|
|
171
|
+
_2f=_2e.getFill();
|
|
172
|
+
var _30=_2c.color,_31={};
|
|
173
|
+
if(_30){
|
|
174
|
+
this.curve=_1a(_30,_2f,"",_19);
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
_4.connect(_2d,"onAnimate",_2e,"setFill");
|
|
178
|
+
return _2d;
|
|
179
|
+
};
|
|
180
|
+
_6.animateFont=function(_32){
|
|
181
|
+
if(!_32.easing){
|
|
182
|
+
_32.easing=fx._defaultEasing;
|
|
183
|
+
}
|
|
184
|
+
var _33=new fx.Animation(_32),_34=_32.shape,_35;
|
|
185
|
+
_4.connect(_33,"beforeBegin",_33,function(){
|
|
186
|
+
_35=_34.getFont();
|
|
187
|
+
var _36=_32.style,_37={},_38,_39,end;
|
|
188
|
+
if(_36&&_36.values){
|
|
189
|
+
_37.style=new _10(_36.values);
|
|
190
|
+
}
|
|
191
|
+
_36=_32.variant;
|
|
192
|
+
if(_36&&_36.values){
|
|
193
|
+
_37.variant=new _10(_36.values);
|
|
194
|
+
}
|
|
195
|
+
_36=_32.weight;
|
|
196
|
+
if(_36&&_36.values){
|
|
197
|
+
_37.weight=new _10(_36.values);
|
|
198
|
+
}
|
|
199
|
+
_36=_32.family;
|
|
200
|
+
if(_36&&_36.values){
|
|
201
|
+
_37.family=new _10(_36.values);
|
|
202
|
+
}
|
|
203
|
+
_36=_32.size;
|
|
204
|
+
if(_36&&_36.units){
|
|
205
|
+
_39=parseFloat(_36.start?_36.start:(_34.font&&_34.font.size||"0"));
|
|
206
|
+
end=parseFloat(_36.end?_36.end:(_34.font&&_34.font.size||"0"));
|
|
207
|
+
_37.size=new _a(_39,end,_36.units);
|
|
208
|
+
}
|
|
209
|
+
this.curve=new _12(_37,_35);
|
|
210
|
+
});
|
|
211
|
+
_4.connect(_33,"onAnimate",_34,"setFont");
|
|
212
|
+
return _33;
|
|
213
|
+
};
|
|
214
|
+
_6.animateTransform=function(_3a){
|
|
215
|
+
if(!_3a.easing){
|
|
216
|
+
_3a.easing=fx._defaultEasing;
|
|
217
|
+
}
|
|
218
|
+
var _3b=new fx.Animation(_3a),_3c=_3a.shape,_3d;
|
|
219
|
+
_4.connect(_3b,"beforeBegin",_3b,function(){
|
|
220
|
+
_3d=_3c.getTransform();
|
|
221
|
+
this.curve=new _14(_3a.transform,_3d);
|
|
222
|
+
});
|
|
223
|
+
_4.connect(_3b,"onAnimate",_3c,"setTransform");
|
|
224
|
+
if(g.renderer==="svg"&&(_5("ie")>=9||_5("ff"))){
|
|
225
|
+
var _3e=[_4.connect(_3b,"onBegin",_3b,function(){
|
|
226
|
+
var _3f=_3c.getParent();
|
|
227
|
+
while(_3f&&_3f.getParent){
|
|
228
|
+
_3f=_3f.getParent();
|
|
229
|
+
}
|
|
230
|
+
if(_3f){
|
|
231
|
+
_3c.__svgContainer=_3f.rawNode.parentNode;
|
|
232
|
+
_3c.__svgRoot=_3f.rawNode;
|
|
233
|
+
if(_3c.__svgRoot&&_3c.__svgRoot.getAttribute){
|
|
234
|
+
_3c.__svgWidth=parseInt(_3c.__svgRoot.getAttribute("width"),10);
|
|
235
|
+
if(isNaN(_3c.__svgWidth)){
|
|
236
|
+
delete _3c.__svgWidth;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}),_4.connect(_3b,"onAnimate",_3b,function(){
|
|
241
|
+
try{
|
|
242
|
+
if(_3c.__svgContainer){
|
|
243
|
+
var ov=_3c.__svgContainer.style.visibility;
|
|
244
|
+
_3c.__svgContainer.style.visibility="visible";
|
|
245
|
+
var _40=_3c.__svgContainer.offsetHeight;
|
|
246
|
+
_3c.__svgContainer.style.visibility=ov;
|
|
247
|
+
var _41=_3c.__svgWidth;
|
|
248
|
+
if(!isNaN(_41)){
|
|
249
|
+
try{
|
|
250
|
+
_3c.__svgRoot.setAttribute("width",_41-0.000005);
|
|
251
|
+
_3c.__svgRoot.setAttribute("width",_41);
|
|
252
|
+
}
|
|
253
|
+
catch(ignore){
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
catch(e){
|
|
259
|
+
}
|
|
260
|
+
}),_4.connect(_3b,"onEnd",_3b,function(){
|
|
261
|
+
_3.forEach(_3e,_4.disconnect);
|
|
262
|
+
if(_3c.__svgContainer){
|
|
263
|
+
var sn=_3c.__svgContainer;
|
|
264
|
+
if(sn.getAttribute("__gotVis")==null){
|
|
265
|
+
sn.setAttribute("__gotVis",true);
|
|
266
|
+
var ov=_3c.__svgContainer.style.visibility;
|
|
267
|
+
var _42=_3c.__svgRoot;
|
|
268
|
+
var _43=_3c.__svgWidth;
|
|
269
|
+
sn.style.visibility="visible";
|
|
270
|
+
setTimeout(function(){
|
|
271
|
+
try{
|
|
272
|
+
sn.style.visibility=ov;
|
|
273
|
+
sn.removeAttribute("__gotVis");
|
|
274
|
+
sn=null;
|
|
275
|
+
try{
|
|
276
|
+
if(!isNaN(_43)){
|
|
277
|
+
_42.setAttribute("width",_43-0.000005);
|
|
278
|
+
_42.setAttribute("width",_43);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
catch(ignore){
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
catch(e){
|
|
285
|
+
}
|
|
286
|
+
},100);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
delete _3c.__svgContainer;
|
|
290
|
+
delete _3c.__svgRoot;
|
|
291
|
+
delete _3c.__svgWidth;
|
|
292
|
+
})];
|
|
293
|
+
}
|
|
294
|
+
return _3b;
|
|
295
|
+
};
|
|
296
|
+
return _6;
|
|
297
|
+
});
|