@datagrok/helm 2.3.2 → 2.3.3
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 +12 -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 +228 -69
- package/src/package.ts +7 -69
- package/src/tests/findMonomers-tests.ts +2 -1
- package/src/tests/get-monomer-tests.ts +1 -49
- 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,364 @@
|
|
|
1
|
+
//>>built
|
|
2
|
+
define("dijit/selection",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_1,_2,_3,_4,_5,_6){
|
|
3
|
+
var _7=function(_8){
|
|
4
|
+
var _9=_8.document;
|
|
5
|
+
this.getType=function(){
|
|
6
|
+
if(_9.getSelection){
|
|
7
|
+
var _a="text";
|
|
8
|
+
var _b;
|
|
9
|
+
try{
|
|
10
|
+
_b=_8.getSelection();
|
|
11
|
+
}
|
|
12
|
+
catch(e){
|
|
13
|
+
}
|
|
14
|
+
if(_b&&_b.rangeCount==1){
|
|
15
|
+
var _c=_b.getRangeAt(0);
|
|
16
|
+
if((_c.startContainer==_c.endContainer)&&((_c.endOffset-_c.startOffset)==1)&&(_c.startContainer.nodeType!=3)){
|
|
17
|
+
_a="control";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return _a;
|
|
21
|
+
}else{
|
|
22
|
+
return _9.selection.type.toLowerCase();
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this.getSelectedText=function(){
|
|
26
|
+
if(_9.getSelection){
|
|
27
|
+
var _d=_8.getSelection();
|
|
28
|
+
return _d?_d.toString():"";
|
|
29
|
+
}else{
|
|
30
|
+
if(this.getType()=="control"){
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return _9.selection.createRange().text;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
this.getSelectedHtml=function(){
|
|
37
|
+
if(_9.getSelection){
|
|
38
|
+
var _e=_8.getSelection();
|
|
39
|
+
if(_e&&_e.rangeCount){
|
|
40
|
+
var i;
|
|
41
|
+
var _f="";
|
|
42
|
+
for(i=0;i<_e.rangeCount;i++){
|
|
43
|
+
var _10=_e.getRangeAt(i).cloneContents();
|
|
44
|
+
var div=_9.createElement("div");
|
|
45
|
+
div.appendChild(_10);
|
|
46
|
+
_f+=div.innerHTML;
|
|
47
|
+
}
|
|
48
|
+
return _f;
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
}else{
|
|
52
|
+
if(this.getType()=="control"){
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
return _9.selection.createRange().htmlText;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
this.getSelectedElement=function(){
|
|
59
|
+
if(this.getType()=="control"){
|
|
60
|
+
if(_9.getSelection){
|
|
61
|
+
var _11=_8.getSelection();
|
|
62
|
+
return _11.anchorNode.childNodes[_11.anchorOffset];
|
|
63
|
+
}else{
|
|
64
|
+
var _12=_9.selection.createRange();
|
|
65
|
+
if(_12&&_12.item){
|
|
66
|
+
return _9.selection.createRange().item(0);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
};
|
|
72
|
+
this.getParentElement=function(){
|
|
73
|
+
if(this.getType()=="control"){
|
|
74
|
+
var p=this.getSelectedElement();
|
|
75
|
+
if(p){
|
|
76
|
+
return p.parentNode;
|
|
77
|
+
}
|
|
78
|
+
}else{
|
|
79
|
+
if(_9.getSelection){
|
|
80
|
+
var _13=_9.getSelection();
|
|
81
|
+
if(_13){
|
|
82
|
+
var _14=_13.anchorNode;
|
|
83
|
+
while(_14&&(_14.nodeType!=1)){
|
|
84
|
+
_14=_14.parentNode;
|
|
85
|
+
}
|
|
86
|
+
return _14;
|
|
87
|
+
}
|
|
88
|
+
}else{
|
|
89
|
+
var r=_9.selection.createRange();
|
|
90
|
+
r.collapse(true);
|
|
91
|
+
return r.parentElement();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return null;
|
|
95
|
+
};
|
|
96
|
+
this.hasAncestorElement=function(_15){
|
|
97
|
+
return this.getAncestorElement.apply(this,arguments)!=null;
|
|
98
|
+
};
|
|
99
|
+
this.getAncestorElement=function(_16){
|
|
100
|
+
var _17=this.getSelectedElement()||this.getParentElement();
|
|
101
|
+
return this.getParentOfType(_17,arguments);
|
|
102
|
+
};
|
|
103
|
+
this.isTag=function(_18,_19){
|
|
104
|
+
if(_18&&_18.tagName){
|
|
105
|
+
var _1a=_18.tagName.toLowerCase();
|
|
106
|
+
for(var i=0;i<_19.length;i++){
|
|
107
|
+
var _1b=String(_19[i]).toLowerCase();
|
|
108
|
+
if(_1a==_1b){
|
|
109
|
+
return _1b;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return "";
|
|
114
|
+
};
|
|
115
|
+
this.getParentOfType=function(_1c,_1d){
|
|
116
|
+
while(_1c){
|
|
117
|
+
if(this.isTag(_1c,_1d).length){
|
|
118
|
+
return _1c;
|
|
119
|
+
}
|
|
120
|
+
_1c=_1c.parentNode;
|
|
121
|
+
}
|
|
122
|
+
return null;
|
|
123
|
+
};
|
|
124
|
+
this.collapse=function(_1e){
|
|
125
|
+
if(_9.getSelection){
|
|
126
|
+
var _1f=_8.getSelection();
|
|
127
|
+
if(_1f.removeAllRanges){
|
|
128
|
+
if(_1e){
|
|
129
|
+
_1f.collapseToStart();
|
|
130
|
+
}else{
|
|
131
|
+
_1f.collapseToEnd();
|
|
132
|
+
}
|
|
133
|
+
}else{
|
|
134
|
+
_1f.collapse(_1e);
|
|
135
|
+
}
|
|
136
|
+
}else{
|
|
137
|
+
var _20=_9.selection.createRange();
|
|
138
|
+
_20.collapse(_1e);
|
|
139
|
+
_20.select();
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
this.remove=function(){
|
|
143
|
+
var sel=_9.selection;
|
|
144
|
+
if(_9.getSelection){
|
|
145
|
+
sel=_8.getSelection();
|
|
146
|
+
sel.deleteFromDocument();
|
|
147
|
+
return sel;
|
|
148
|
+
}else{
|
|
149
|
+
if(sel.type.toLowerCase()!="none"){
|
|
150
|
+
sel.clear();
|
|
151
|
+
}
|
|
152
|
+
return sel;
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
this.selectElementChildren=function(_21,_22){
|
|
156
|
+
var _23;
|
|
157
|
+
_21=_2.byId(_21);
|
|
158
|
+
if(_9.getSelection){
|
|
159
|
+
var _24=_8.getSelection();
|
|
160
|
+
if(_4("opera")){
|
|
161
|
+
if(_24.rangeCount){
|
|
162
|
+
_23=_24.getRangeAt(0);
|
|
163
|
+
}else{
|
|
164
|
+
_23=_9.createRange();
|
|
165
|
+
}
|
|
166
|
+
_23.setStart(_21,0);
|
|
167
|
+
_23.setEnd(_21,(_21.nodeType==3)?_21.length:_21.childNodes.length);
|
|
168
|
+
_24.addRange(_23);
|
|
169
|
+
}else{
|
|
170
|
+
_24.selectAllChildren(_21);
|
|
171
|
+
}
|
|
172
|
+
}else{
|
|
173
|
+
_23=_21.ownerDocument.body.createTextRange();
|
|
174
|
+
_23.moveToElementText(_21);
|
|
175
|
+
if(!_22){
|
|
176
|
+
try{
|
|
177
|
+
_23.select();
|
|
178
|
+
}
|
|
179
|
+
catch(e){
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
this.selectElement=function(_25,_26){
|
|
185
|
+
var _27;
|
|
186
|
+
_25=_2.byId(_25);
|
|
187
|
+
if(_9.getSelection){
|
|
188
|
+
var _28=_9.getSelection();
|
|
189
|
+
_27=_9.createRange();
|
|
190
|
+
if(_28.removeAllRanges){
|
|
191
|
+
if(_4("opera")){
|
|
192
|
+
if(_28.getRangeAt(0)){
|
|
193
|
+
_27=_28.getRangeAt(0);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
_27.selectNode(_25);
|
|
197
|
+
_28.removeAllRanges();
|
|
198
|
+
_28.addRange(_27);
|
|
199
|
+
}
|
|
200
|
+
}else{
|
|
201
|
+
try{
|
|
202
|
+
var tg=_25.tagName?_25.tagName.toLowerCase():"";
|
|
203
|
+
if(tg==="img"||tg==="table"){
|
|
204
|
+
_27=_5.body(_9).createControlRange();
|
|
205
|
+
}else{
|
|
206
|
+
_27=_5.body(_9).createRange();
|
|
207
|
+
}
|
|
208
|
+
_27.addElement(_25);
|
|
209
|
+
if(!_26){
|
|
210
|
+
_27.select();
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
catch(e){
|
|
214
|
+
this.selectElementChildren(_25,_26);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
this.inSelection=function(_29){
|
|
219
|
+
if(_29){
|
|
220
|
+
var _2a;
|
|
221
|
+
var _2b;
|
|
222
|
+
if(_9.getSelection){
|
|
223
|
+
var sel=_8.getSelection();
|
|
224
|
+
if(sel&&sel.rangeCount>0){
|
|
225
|
+
_2b=sel.getRangeAt(0);
|
|
226
|
+
}
|
|
227
|
+
if(_2b&&_2b.compareBoundaryPoints&&_9.createRange){
|
|
228
|
+
try{
|
|
229
|
+
_2a=_9.createRange();
|
|
230
|
+
_2a.setStart(_29,0);
|
|
231
|
+
if(_2b.compareBoundaryPoints(_2b.START_TO_END,_2a)===1){
|
|
232
|
+
return true;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
catch(e){
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}else{
|
|
239
|
+
_2b=_9.selection.createRange();
|
|
240
|
+
try{
|
|
241
|
+
_2a=_29.ownerDocument.body.createTextRange();
|
|
242
|
+
_2a.moveToElementText(_29);
|
|
243
|
+
}
|
|
244
|
+
catch(e2){
|
|
245
|
+
}
|
|
246
|
+
if(_2b&&_2a){
|
|
247
|
+
if(_2b.compareEndPoints("EndToStart",_2a)===1){
|
|
248
|
+
return true;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return false;
|
|
254
|
+
};
|
|
255
|
+
this.getBookmark=function(){
|
|
256
|
+
var bm,rg,tg,sel=_9.selection,cf=_6.curNode;
|
|
257
|
+
if(_9.getSelection){
|
|
258
|
+
sel=_8.getSelection();
|
|
259
|
+
if(sel){
|
|
260
|
+
if(sel.isCollapsed){
|
|
261
|
+
tg=cf?cf.tagName:"";
|
|
262
|
+
if(tg){
|
|
263
|
+
tg=tg.toLowerCase();
|
|
264
|
+
if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){
|
|
265
|
+
sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};
|
|
266
|
+
return {isCollapsed:(sel.end<=sel.start),mark:sel};
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
bm={isCollapsed:true};
|
|
270
|
+
if(sel.rangeCount){
|
|
271
|
+
bm.mark=sel.getRangeAt(0).cloneRange();
|
|
272
|
+
}
|
|
273
|
+
}else{
|
|
274
|
+
rg=sel.getRangeAt(0);
|
|
275
|
+
bm={isCollapsed:false,mark:rg.cloneRange()};
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}else{
|
|
279
|
+
if(sel){
|
|
280
|
+
tg=cf?cf.tagName:"";
|
|
281
|
+
tg=tg.toLowerCase();
|
|
282
|
+
if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){
|
|
283
|
+
if(sel.type&&sel.type.toLowerCase()=="none"){
|
|
284
|
+
return {isCollapsed:true,mark:null};
|
|
285
|
+
}else{
|
|
286
|
+
rg=sel.createRange();
|
|
287
|
+
return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
bm={};
|
|
291
|
+
try{
|
|
292
|
+
rg=sel.createRange();
|
|
293
|
+
bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);
|
|
294
|
+
}
|
|
295
|
+
catch(e){
|
|
296
|
+
bm.isCollapsed=true;
|
|
297
|
+
return bm;
|
|
298
|
+
}
|
|
299
|
+
if(sel.type.toUpperCase()=="CONTROL"){
|
|
300
|
+
if(rg.length){
|
|
301
|
+
bm.mark=[];
|
|
302
|
+
var i=0,len=rg.length;
|
|
303
|
+
while(i<len){
|
|
304
|
+
bm.mark.push(rg.item(i++));
|
|
305
|
+
}
|
|
306
|
+
}else{
|
|
307
|
+
bm.isCollapsed=true;
|
|
308
|
+
bm.mark=null;
|
|
309
|
+
}
|
|
310
|
+
}else{
|
|
311
|
+
bm.mark=rg.getBookmark();
|
|
312
|
+
}
|
|
313
|
+
}else{
|
|
314
|
+
console.warn("No idea how to store the current selection for this browser!");
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return bm;
|
|
318
|
+
};
|
|
319
|
+
this.moveToBookmark=function(_2c){
|
|
320
|
+
var _2d=_2c.mark;
|
|
321
|
+
if(_2d){
|
|
322
|
+
if(_9.getSelection){
|
|
323
|
+
var sel=_8.getSelection();
|
|
324
|
+
if(sel&&sel.removeAllRanges){
|
|
325
|
+
if(_2d.pRange){
|
|
326
|
+
var n=_2d.node;
|
|
327
|
+
n.selectionStart=_2d.start;
|
|
328
|
+
n.selectionEnd=_2d.end;
|
|
329
|
+
}else{
|
|
330
|
+
sel.removeAllRanges();
|
|
331
|
+
sel.addRange(_2d);
|
|
332
|
+
}
|
|
333
|
+
}else{
|
|
334
|
+
console.warn("No idea how to restore selection for this browser!");
|
|
335
|
+
}
|
|
336
|
+
}else{
|
|
337
|
+
if(_9.selection&&_2d){
|
|
338
|
+
var rg;
|
|
339
|
+
if(_2d.pRange){
|
|
340
|
+
rg=_2d.range;
|
|
341
|
+
}else{
|
|
342
|
+
if(_3.isArray(_2d)){
|
|
343
|
+
rg=_9.body.createControlRange();
|
|
344
|
+
_1.forEach(_2d,function(n){
|
|
345
|
+
rg.addElement(n);
|
|
346
|
+
});
|
|
347
|
+
}else{
|
|
348
|
+
rg=_9.body.createTextRange();
|
|
349
|
+
rg.moveToBookmark(_2d);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
rg.select();
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
this.isCollapsed=function(){
|
|
358
|
+
return this.getBookmark().isCollapsed;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
var _2e=new _7(window);
|
|
362
|
+
_2e.SelectionManager=_7;
|
|
363
|
+
return _2e;
|
|
364
|
+
});
|