@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,87 @@
|
|
|
1
|
+
define("dijit/Viewport", [
|
|
2
|
+
"dojo/Evented",
|
|
3
|
+
"dojo/on",
|
|
4
|
+
"dojo/domReady",
|
|
5
|
+
"dojo/sniff", // has("ie"), has("ios")
|
|
6
|
+
"dojo/window" // getBox()
|
|
7
|
+
], function(Evented, on, domReady, has, winUtils){
|
|
8
|
+
|
|
9
|
+
// module:
|
|
10
|
+
// dijit/Viewport
|
|
11
|
+
|
|
12
|
+
/*=====
|
|
13
|
+
return {
|
|
14
|
+
// summary:
|
|
15
|
+
// Utility singleton to watch for viewport resizes, avoiding duplicate notifications
|
|
16
|
+
// which can lead to infinite loops.
|
|
17
|
+
// description:
|
|
18
|
+
// Usage: Viewport.on("resize", myCallback).
|
|
19
|
+
//
|
|
20
|
+
// myCallback() is called without arguments in case it's _WidgetBase.resize(),
|
|
21
|
+
// which would interpret the argument as the size to make the widget.
|
|
22
|
+
};
|
|
23
|
+
=====*/
|
|
24
|
+
|
|
25
|
+
var Viewport = new Evented();
|
|
26
|
+
|
|
27
|
+
var focusedNode;
|
|
28
|
+
|
|
29
|
+
domReady(function(){
|
|
30
|
+
var oldBox = winUtils.getBox();
|
|
31
|
+
Viewport._rlh = on(window, "resize", function(){
|
|
32
|
+
var newBox = winUtils.getBox();
|
|
33
|
+
if(oldBox.h == newBox.h && oldBox.w == newBox.w){ return; }
|
|
34
|
+
oldBox = newBox;
|
|
35
|
+
Viewport.emit("resize");
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
// Also catch zoom changes on IE8, since they don't naturally generate resize events
|
|
39
|
+
if(has("ie") == 8){
|
|
40
|
+
var deviceXDPI = screen.deviceXDPI;
|
|
41
|
+
setInterval(function(){
|
|
42
|
+
if(screen.deviceXDPI != deviceXDPI){
|
|
43
|
+
deviceXDPI = screen.deviceXDPI;
|
|
44
|
+
Viewport.emit("resize");
|
|
45
|
+
}
|
|
46
|
+
}, 500);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// On iOS, keep track of the focused node so we can guess when the keyboard is/isn't being displayed.
|
|
50
|
+
if(has("ios")){
|
|
51
|
+
on(document, "focusin", function(evt){
|
|
52
|
+
focusedNode = evt.target;
|
|
53
|
+
});
|
|
54
|
+
on(document, "focusout", function(evt){
|
|
55
|
+
focusedNode = null;
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
Viewport.getEffectiveBox = function(/*Document*/ doc){
|
|
61
|
+
// summary:
|
|
62
|
+
// Get the size of the viewport, or on mobile devices, the part of the viewport not obscured by the
|
|
63
|
+
// virtual keyboard.
|
|
64
|
+
|
|
65
|
+
var box = winUtils.getBox(doc);
|
|
66
|
+
|
|
67
|
+
// Account for iOS virtual keyboard, if it's being shown. Unfortunately no direct way to check or measure.
|
|
68
|
+
var tag = focusedNode && focusedNode.tagName && focusedNode.tagName.toLowerCase();
|
|
69
|
+
if(has("ios") && focusedNode && !focusedNode.readOnly && (tag == "textarea" || (tag == "input" &&
|
|
70
|
+
/^(color|email|number|password|search|tel|text|url)$/.test(focusedNode.type)))){
|
|
71
|
+
|
|
72
|
+
// Box represents the size of the viewport. Some of the viewport is likely covered by the keyboard.
|
|
73
|
+
// Estimate height of visible viewport assuming viewport goes to bottom of screen, but is covered by keyboard.
|
|
74
|
+
box.h *= (orientation == 0 || orientation == 180 ? 0.66 : 0.40);
|
|
75
|
+
|
|
76
|
+
// Above measurement will be inaccurate if viewport was scrolled up so far that it ends before the bottom
|
|
77
|
+
// of the screen. In this case, keyboard isn't covering as much of the viewport as we thought.
|
|
78
|
+
// We know the visible size is at least the distance from the top of the viewport to the focused node.
|
|
79
|
+
var rect = focusedNode.getBoundingClientRect();
|
|
80
|
+
box.h = Math.max(box.h, rect.top + rect.height);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return box;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
return Viewport;
|
|
87
|
+
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
//>>built
|
|
2
|
+
define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_1,_2,_3,_4){
|
|
3
|
+
var _5=_2("dijit.WidgetSet",null,{constructor:function(){
|
|
4
|
+
this._hash={};
|
|
5
|
+
this.length=0;
|
|
6
|
+
},add:function(_6){
|
|
7
|
+
if(this._hash[_6.id]){
|
|
8
|
+
throw new Error("Tried to register widget with id=="+_6.id+" but that id is already registered");
|
|
9
|
+
}
|
|
10
|
+
this._hash[_6.id]=_6;
|
|
11
|
+
this.length++;
|
|
12
|
+
},remove:function(id){
|
|
13
|
+
if(this._hash[id]){
|
|
14
|
+
delete this._hash[id];
|
|
15
|
+
this.length--;
|
|
16
|
+
}
|
|
17
|
+
},forEach:function(_7,_8){
|
|
18
|
+
_8=_8||_3.global;
|
|
19
|
+
var i=0,id;
|
|
20
|
+
for(id in this._hash){
|
|
21
|
+
_7.call(_8,this._hash[id],i++,this._hash);
|
|
22
|
+
}
|
|
23
|
+
return this;
|
|
24
|
+
},filter:function(_9,_a){
|
|
25
|
+
_a=_a||_3.global;
|
|
26
|
+
var _b=new _5(),i=0,id;
|
|
27
|
+
for(id in this._hash){
|
|
28
|
+
var w=this._hash[id];
|
|
29
|
+
if(_9.call(_a,w,i++,this._hash)){
|
|
30
|
+
_b.add(w);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return _b;
|
|
34
|
+
},byId:function(id){
|
|
35
|
+
return this._hash[id];
|
|
36
|
+
},byClass:function(_c){
|
|
37
|
+
var _d=new _5(),id,_e;
|
|
38
|
+
for(id in this._hash){
|
|
39
|
+
_e=this._hash[id];
|
|
40
|
+
if(_e.declaredClass==_c){
|
|
41
|
+
_d.add(_e);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return _d;
|
|
45
|
+
},toArray:function(){
|
|
46
|
+
var ar=[];
|
|
47
|
+
for(var id in this._hash){
|
|
48
|
+
ar.push(this._hash[id]);
|
|
49
|
+
}
|
|
50
|
+
return ar;
|
|
51
|
+
},map:function(_f,_10){
|
|
52
|
+
return _1.map(this.toArray(),_f,_10);
|
|
53
|
+
},every:function(_11,_12){
|
|
54
|
+
_12=_12||_3.global;
|
|
55
|
+
var x=0,i;
|
|
56
|
+
for(i in this._hash){
|
|
57
|
+
if(!_11.call(_12,this._hash[i],x++,this._hash)){
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return true;
|
|
62
|
+
},some:function(_13,_14){
|
|
63
|
+
_14=_14||_3.global;
|
|
64
|
+
var x=0,i;
|
|
65
|
+
for(i in this._hash){
|
|
66
|
+
if(_13.call(_14,this._hash[i],x++,this._hash)){
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return false;
|
|
71
|
+
}});
|
|
72
|
+
_1.forEach(["forEach","filter","byClass","map","every","some"],function(_15){
|
|
73
|
+
_4[_15]=_5.prototype[_15];
|
|
74
|
+
});
|
|
75
|
+
return _5;
|
|
76
|
+
});
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
define("dijit/WidgetSet", [
|
|
2
|
+
"dojo/_base/array", // array.forEach array.map
|
|
3
|
+
"dojo/_base/declare", // declare
|
|
4
|
+
"dojo/_base/kernel", // kernel.global
|
|
5
|
+
"./registry" // to add functions to dijit.registry
|
|
6
|
+
], function(array, declare, kernel, registry){
|
|
7
|
+
|
|
8
|
+
// module:
|
|
9
|
+
// dijit/WidgetSet
|
|
10
|
+
|
|
11
|
+
var WidgetSet = declare("dijit.WidgetSet", null, {
|
|
12
|
+
// summary:
|
|
13
|
+
// A set of widgets indexed by id.
|
|
14
|
+
// Deprecated, will be removed in 2.0.
|
|
15
|
+
//
|
|
16
|
+
// example:
|
|
17
|
+
// Create a small list of widgets:
|
|
18
|
+
// | require(["dijit/WidgetSet", "dijit/registry"],
|
|
19
|
+
// | function(WidgetSet, registry){
|
|
20
|
+
// | var ws = new WidgetSet();
|
|
21
|
+
// | ws.add(registry.byId("one"));
|
|
22
|
+
// | ws.add(registry.byId("two"));
|
|
23
|
+
// | // destroy both:
|
|
24
|
+
// | ws.forEach(function(w){ w.destroy(); });
|
|
25
|
+
// | });
|
|
26
|
+
|
|
27
|
+
constructor: function(){
|
|
28
|
+
this._hash = {};
|
|
29
|
+
this.length = 0;
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
add: function(/*dijit/_WidgetBase*/ widget){
|
|
33
|
+
// summary:
|
|
34
|
+
// Add a widget to this list. If a duplicate ID is detected, a error is thrown.
|
|
35
|
+
//
|
|
36
|
+
// widget: dijit/_WidgetBase
|
|
37
|
+
// Any dijit/_WidgetBase subclass.
|
|
38
|
+
if(this._hash[widget.id]){
|
|
39
|
+
throw new Error("Tried to register widget with id==" + widget.id + " but that id is already registered");
|
|
40
|
+
}
|
|
41
|
+
this._hash[widget.id] = widget;
|
|
42
|
+
this.length++;
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
remove: function(/*String*/ id){
|
|
46
|
+
// summary:
|
|
47
|
+
// Remove a widget from this WidgetSet. Does not destroy the widget; simply
|
|
48
|
+
// removes the reference.
|
|
49
|
+
if(this._hash[id]){
|
|
50
|
+
delete this._hash[id];
|
|
51
|
+
this.length--;
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
forEach: function(/*Function*/ func, /* Object? */thisObj){
|
|
56
|
+
// summary:
|
|
57
|
+
// Call specified function for each widget in this set.
|
|
58
|
+
//
|
|
59
|
+
// func:
|
|
60
|
+
// A callback function to run for each item. Is passed the widget, the index
|
|
61
|
+
// in the iteration, and the full hash, similar to `array.forEach`.
|
|
62
|
+
//
|
|
63
|
+
// thisObj:
|
|
64
|
+
// An optional scope parameter
|
|
65
|
+
//
|
|
66
|
+
// example:
|
|
67
|
+
// Using the default `dijit.registry` instance:
|
|
68
|
+
// | require(["dijit/WidgetSet", "dijit/registry"],
|
|
69
|
+
// | function(WidgetSet, registry){
|
|
70
|
+
// | registry.forEach(function(widget){
|
|
71
|
+
// | console.log(widget.declaredClass);
|
|
72
|
+
// | });
|
|
73
|
+
// | });
|
|
74
|
+
//
|
|
75
|
+
// returns:
|
|
76
|
+
// Returns self, in order to allow for further chaining.
|
|
77
|
+
|
|
78
|
+
thisObj = thisObj || kernel.global;
|
|
79
|
+
var i = 0, id;
|
|
80
|
+
for(id in this._hash){
|
|
81
|
+
func.call(thisObj, this._hash[id], i++, this._hash);
|
|
82
|
+
}
|
|
83
|
+
return this; // dijit/WidgetSet
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
filter: function(/*Function*/ filter, /* Object? */thisObj){
|
|
87
|
+
// summary:
|
|
88
|
+
// Filter down this WidgetSet to a smaller new WidgetSet
|
|
89
|
+
// Works the same as `array.filter` and `NodeList.filter`
|
|
90
|
+
//
|
|
91
|
+
// filter:
|
|
92
|
+
// Callback function to test truthiness. Is passed the widget
|
|
93
|
+
// reference and the pseudo-index in the object.
|
|
94
|
+
//
|
|
95
|
+
// thisObj: Object?
|
|
96
|
+
// Option scope to use for the filter function.
|
|
97
|
+
//
|
|
98
|
+
// example:
|
|
99
|
+
// Arbitrary: select the odd widgets in this list
|
|
100
|
+
// |
|
|
101
|
+
// |
|
|
102
|
+
// |
|
|
103
|
+
// | require(["dijit/WidgetSet", "dijit/registry"],
|
|
104
|
+
// | function(WidgetSet, registry){
|
|
105
|
+
// | registry.filter(function(w, i){
|
|
106
|
+
// | return i % 2 == 0;
|
|
107
|
+
// | }).forEach(function(w){ /* odd ones */ });
|
|
108
|
+
// | });
|
|
109
|
+
|
|
110
|
+
thisObj = thisObj || kernel.global;
|
|
111
|
+
var res = new WidgetSet(), i = 0, id;
|
|
112
|
+
for(id in this._hash){
|
|
113
|
+
var w = this._hash[id];
|
|
114
|
+
if(filter.call(thisObj, w, i++, this._hash)){
|
|
115
|
+
res.add(w);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return res; // dijit/WidgetSet
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
byId: function(/*String*/ id){
|
|
122
|
+
// summary:
|
|
123
|
+
// Find a widget in this list by it's id.
|
|
124
|
+
// example:
|
|
125
|
+
// Test if an id is in a particular WidgetSet
|
|
126
|
+
// | require(["dijit/WidgetSet", "dijit/registry"],
|
|
127
|
+
// | function(WidgetSet, registry){
|
|
128
|
+
// | var ws = new WidgetSet();
|
|
129
|
+
// | ws.add(registry.byId("bar"));
|
|
130
|
+
// | var t = ws.byId("bar") // returns a widget
|
|
131
|
+
// | var x = ws.byId("foo"); // returns undefined
|
|
132
|
+
// | });
|
|
133
|
+
|
|
134
|
+
return this._hash[id]; // dijit/_WidgetBase
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
byClass: function(/*String*/ cls){
|
|
138
|
+
// summary:
|
|
139
|
+
// Reduce this widgetset to a new WidgetSet of a particular `declaredClass`
|
|
140
|
+
//
|
|
141
|
+
// cls: String
|
|
142
|
+
// The Class to scan for. Full dot-notated string.
|
|
143
|
+
//
|
|
144
|
+
// example:
|
|
145
|
+
// Find all `dijit.TitlePane`s in a page:
|
|
146
|
+
// | require(["dijit/WidgetSet", "dijit/registry"],
|
|
147
|
+
// | function(WidgetSet, registry){
|
|
148
|
+
// | registry.byClass("dijit.TitlePane").forEach(function(tp){ tp.close(); });
|
|
149
|
+
// | });
|
|
150
|
+
|
|
151
|
+
var res = new WidgetSet(), id, widget;
|
|
152
|
+
for(id in this._hash){
|
|
153
|
+
widget = this._hash[id];
|
|
154
|
+
if(widget.declaredClass == cls){
|
|
155
|
+
res.add(widget);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
return res; // dijit/WidgetSet
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
toArray: function(){
|
|
162
|
+
// summary:
|
|
163
|
+
// Convert this WidgetSet into a true Array
|
|
164
|
+
//
|
|
165
|
+
// example:
|
|
166
|
+
// Work with the widget .domNodes in a real Array
|
|
167
|
+
// | require(["dijit/WidgetSet", "dijit/registry"],
|
|
168
|
+
// | function(WidgetSet, registry){
|
|
169
|
+
// | array.map(registry.toArray(), function(w){ return w.domNode; });
|
|
170
|
+
// | });
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
var ar = [];
|
|
174
|
+
for(var id in this._hash){
|
|
175
|
+
ar.push(this._hash[id]);
|
|
176
|
+
}
|
|
177
|
+
return ar; // dijit/_WidgetBase[]
|
|
178
|
+
},
|
|
179
|
+
|
|
180
|
+
map: function(/* Function */func, /* Object? */thisObj){
|
|
181
|
+
// summary:
|
|
182
|
+
// Create a new Array from this WidgetSet, following the same rules as `array.map`
|
|
183
|
+
// example:
|
|
184
|
+
// | require(["dijit/WidgetSet", "dijit/registry"],
|
|
185
|
+
// | function(WidgetSet, registry){
|
|
186
|
+
// | var nodes = registry.map(function(w){ return w.domNode; });
|
|
187
|
+
// | });
|
|
188
|
+
//
|
|
189
|
+
// returns:
|
|
190
|
+
// A new array of the returned values.
|
|
191
|
+
return array.map(this.toArray(), func, thisObj); // Array
|
|
192
|
+
},
|
|
193
|
+
|
|
194
|
+
every: function(func, thisObj){
|
|
195
|
+
// summary:
|
|
196
|
+
// A synthetic clone of `array.every` acting explicitly on this WidgetSet
|
|
197
|
+
//
|
|
198
|
+
// func: Function
|
|
199
|
+
// A callback function run for every widget in this list. Exits loop
|
|
200
|
+
// when the first false return is encountered.
|
|
201
|
+
//
|
|
202
|
+
// thisObj: Object?
|
|
203
|
+
// Optional scope parameter to use for the callback
|
|
204
|
+
|
|
205
|
+
thisObj = thisObj || kernel.global;
|
|
206
|
+
var x = 0, i;
|
|
207
|
+
for(i in this._hash){
|
|
208
|
+
if(!func.call(thisObj, this._hash[i], x++, this._hash)){
|
|
209
|
+
return false; // Boolean
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
return true; // Boolean
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
some: function(func, thisObj){
|
|
216
|
+
// summary:
|
|
217
|
+
// A synthetic clone of `array.some` acting explicitly on this WidgetSet
|
|
218
|
+
//
|
|
219
|
+
// func: Function
|
|
220
|
+
// A callback function run for every widget in this list. Exits loop
|
|
221
|
+
// when the first true return is encountered.
|
|
222
|
+
//
|
|
223
|
+
// thisObj: Object?
|
|
224
|
+
// Optional scope parameter to use for the callback
|
|
225
|
+
|
|
226
|
+
thisObj = thisObj || kernel.global;
|
|
227
|
+
var x = 0, i;
|
|
228
|
+
for(i in this._hash){
|
|
229
|
+
if(func.call(thisObj, this._hash[i], x++, this._hash)){
|
|
230
|
+
return true; // Boolean
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
return false; // Boolean
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
});
|
|
237
|
+
|
|
238
|
+
// Add in 1.x compatibility methods to dijit/registry.
|
|
239
|
+
// These functions won't show up in the API doc but since they are deprecated anyway,
|
|
240
|
+
// that's probably for the best.
|
|
241
|
+
array.forEach(["forEach", "filter", "byClass", "map", "every", "some"], function(func){
|
|
242
|
+
registry[func] = WidgetSet.prototype[func];
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
return WidgetSet;
|
|
247
|
+
});
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
//>>built
|
|
2
|
+
define("dijit/_AttachMixin",["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],function(_1,_2,_3,_4,_5,_6,on,_7,_8){
|
|
3
|
+
var _9=_5.delegate(_7,{"mouseenter":_6.enter,"mouseleave":_6.leave,"keypress":_3._keypress});
|
|
4
|
+
var _a;
|
|
5
|
+
var _b=_4("dijit._AttachMixin",null,{constructor:function(){
|
|
6
|
+
this._attachPoints=[];
|
|
7
|
+
this._attachEvents=[];
|
|
8
|
+
},buildRendering:function(){
|
|
9
|
+
this.inherited(arguments);
|
|
10
|
+
this._attachTemplateNodes(this.domNode);
|
|
11
|
+
this._beforeFillContent();
|
|
12
|
+
},_beforeFillContent:function(){
|
|
13
|
+
},_attachTemplateNodes:function(_c){
|
|
14
|
+
var _d=_c;
|
|
15
|
+
while(true){
|
|
16
|
+
if(_d.nodeType==1&&(this._processTemplateNode(_d,function(n,p){
|
|
17
|
+
return n.getAttribute(p);
|
|
18
|
+
},this._attach)||this.searchContainerNode)&&_d.firstChild){
|
|
19
|
+
_d=_d.firstChild;
|
|
20
|
+
}else{
|
|
21
|
+
if(_d==_c){
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
while(!_d.nextSibling){
|
|
25
|
+
_d=_d.parentNode;
|
|
26
|
+
if(_d==_c){
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
_d=_d.nextSibling;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},_processTemplateNode:function(_e,_f,_10){
|
|
34
|
+
var ret=true;
|
|
35
|
+
var _11=this.attachScope||this,_12=_f(_e,"dojoAttachPoint")||_f(_e,"data-dojo-attach-point");
|
|
36
|
+
if(_12){
|
|
37
|
+
var _13,_14=_12.split(/\s*,\s*/);
|
|
38
|
+
while((_13=_14.shift())){
|
|
39
|
+
if(_5.isArray(_11[_13])){
|
|
40
|
+
_11[_13].push(_e);
|
|
41
|
+
}else{
|
|
42
|
+
_11[_13]=_e;
|
|
43
|
+
}
|
|
44
|
+
ret=(_13!="containerNode");
|
|
45
|
+
this._attachPoints.push(_13);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
var _15=_f(_e,"dojoAttachEvent")||_f(_e,"data-dojo-attach-event");
|
|
49
|
+
if(_15){
|
|
50
|
+
var _16,_17=_15.split(/\s*,\s*/);
|
|
51
|
+
var _18=_5.trim;
|
|
52
|
+
while((_16=_17.shift())){
|
|
53
|
+
if(_16){
|
|
54
|
+
var _19=null;
|
|
55
|
+
if(_16.indexOf(":")!=-1){
|
|
56
|
+
var _1a=_16.split(":");
|
|
57
|
+
_16=_18(_1a[0]);
|
|
58
|
+
_19=_18(_1a[1]);
|
|
59
|
+
}else{
|
|
60
|
+
_16=_18(_16);
|
|
61
|
+
}
|
|
62
|
+
if(!_19){
|
|
63
|
+
_19=_16;
|
|
64
|
+
}
|
|
65
|
+
this._attachEvents.push(_10(_e,_16,_5.hitch(_11,_19)));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return ret;
|
|
70
|
+
},_attach:function(_1b,_1c,_1d){
|
|
71
|
+
_1c=_1c.replace(/^on/,"").toLowerCase();
|
|
72
|
+
if(_1c=="dijitclick"){
|
|
73
|
+
_1c=_a||(_a=_1("./a11yclick"));
|
|
74
|
+
}else{
|
|
75
|
+
_1c=_9[_1c]||_1c;
|
|
76
|
+
}
|
|
77
|
+
return on(_1b,_1c,_1d);
|
|
78
|
+
},_detachTemplateNodes:function(){
|
|
79
|
+
var _1e=this.attachScope||this;
|
|
80
|
+
_2.forEach(this._attachPoints,function(_1f){
|
|
81
|
+
delete _1e[_1f];
|
|
82
|
+
});
|
|
83
|
+
this._attachPoints=[];
|
|
84
|
+
_2.forEach(this._attachEvents,function(_20){
|
|
85
|
+
_20.remove();
|
|
86
|
+
});
|
|
87
|
+
this._attachEvents=[];
|
|
88
|
+
},destroyRendering:function(){
|
|
89
|
+
this._detachTemplateNodes();
|
|
90
|
+
this.inherited(arguments);
|
|
91
|
+
}});
|
|
92
|
+
_5.extend(_8,{dojoAttachEvent:"",dojoAttachPoint:""});
|
|
93
|
+
return _b;
|
|
94
|
+
});
|