@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,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 2004-2017, The JS Foundation All Rights Reserved.
|
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
4
|
+
see: http://dojotoolkit.org/license for details
|
|
5
|
+
*/
|
|
6
|
+
//>>built
|
|
7
|
+
define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array","./when"],function(_1,_2,_3,_4){
|
|
8
|
+
return _1("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(_5){
|
|
9
|
+
var _6=this._attrPairNames;
|
|
10
|
+
if(_6[_5]){
|
|
11
|
+
return _6[_5];
|
|
12
|
+
}
|
|
13
|
+
return (_6[_5]={s:"_"+_5+"Setter",g:"_"+_5+"Getter"});
|
|
14
|
+
},postscript:function(_7){
|
|
15
|
+
if(_7){
|
|
16
|
+
this.set(_7);
|
|
17
|
+
}
|
|
18
|
+
},_get:function(_8,_9){
|
|
19
|
+
return typeof this[_9.g]==="function"?this[_9.g]():this[_8];
|
|
20
|
+
},get:function(_a){
|
|
21
|
+
return this._get(_a,this._getAttrNames(_a));
|
|
22
|
+
},set:function(_b,_c){
|
|
23
|
+
if(typeof _b==="object"){
|
|
24
|
+
for(var x in _b){
|
|
25
|
+
if(_b.hasOwnProperty(x)&&x!="_watchCallbacks"){
|
|
26
|
+
this.set(x,_b[x]);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
var _d=this._getAttrNames(_b),_e=this._get(_b,_d),_f=this[_d.s],_10;
|
|
32
|
+
if(typeof _f==="function"){
|
|
33
|
+
_10=_f.apply(this,Array.prototype.slice.call(arguments,1));
|
|
34
|
+
}else{
|
|
35
|
+
this[_b]=_c;
|
|
36
|
+
}
|
|
37
|
+
if(this._watchCallbacks){
|
|
38
|
+
var _11=this;
|
|
39
|
+
_4(_10,function(){
|
|
40
|
+
_11._watchCallbacks(_b,_e,_c);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return this;
|
|
44
|
+
},_changeAttrValue:function(_12,_13){
|
|
45
|
+
var _14=this.get(_12);
|
|
46
|
+
this[_12]=_13;
|
|
47
|
+
if(this._watchCallbacks){
|
|
48
|
+
this._watchCallbacks(_12,_14,_13);
|
|
49
|
+
}
|
|
50
|
+
return this;
|
|
51
|
+
},watch:function(_15,_16){
|
|
52
|
+
var _17=this._watchCallbacks;
|
|
53
|
+
if(!_17){
|
|
54
|
+
var _18=this;
|
|
55
|
+
_17=this._watchCallbacks=function(_19,_1a,_1b,_1c){
|
|
56
|
+
var _1d=function(_1e){
|
|
57
|
+
if(_1e){
|
|
58
|
+
_1e=_1e.slice();
|
|
59
|
+
for(var i=0,l=_1e.length;i<l;i++){
|
|
60
|
+
_1e[i].call(_18,_19,_1a,_1b);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
_1d(_17["_"+_19]);
|
|
65
|
+
if(!_1c){
|
|
66
|
+
_1d(_17["*"]);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
if(!_16&&typeof _15==="function"){
|
|
71
|
+
_16=_15;
|
|
72
|
+
_15="*";
|
|
73
|
+
}else{
|
|
74
|
+
_15="_"+_15;
|
|
75
|
+
}
|
|
76
|
+
var _1f=_17[_15];
|
|
77
|
+
if(typeof _1f!=="object"){
|
|
78
|
+
_1f=_17[_15]=[];
|
|
79
|
+
}
|
|
80
|
+
_1f.push(_16);
|
|
81
|
+
var _20={};
|
|
82
|
+
_20.unwatch=_20.remove=function(){
|
|
83
|
+
var _21=_3.indexOf(_1f,_16);
|
|
84
|
+
if(_21>-1){
|
|
85
|
+
_1f.splice(_21,1);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
return _20;
|
|
89
|
+
}});
|
|
90
|
+
});
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
define("dojo/Stateful", ["./_base/declare", "./_base/lang", "./_base/array", "./when"], function(declare, lang, array, when){
|
|
2
|
+
// module:
|
|
3
|
+
// dojo/Stateful
|
|
4
|
+
|
|
5
|
+
return declare("dojo.Stateful", null, {
|
|
6
|
+
// summary:
|
|
7
|
+
// Base class for objects that provide named properties with optional getter/setter
|
|
8
|
+
// control and the ability to watch for property changes
|
|
9
|
+
//
|
|
10
|
+
// The class also provides the functionality to auto-magically manage getters
|
|
11
|
+
// and setters for object attributes/properties.
|
|
12
|
+
//
|
|
13
|
+
// Getters and Setters should follow the format of _xxxGetter or _xxxSetter where
|
|
14
|
+
// the xxx is a name of the attribute to handle. So an attribute of "foo"
|
|
15
|
+
// would have a custom getter of _fooGetter and a custom setter of _fooSetter.
|
|
16
|
+
//
|
|
17
|
+
// example:
|
|
18
|
+
// | require(["dojo/Stateful", function(Stateful) {
|
|
19
|
+
// | var obj = new Stateful();
|
|
20
|
+
// | obj.watch("foo", function(){
|
|
21
|
+
// | console.log("foo changed to " + this.get("foo"));
|
|
22
|
+
// | });
|
|
23
|
+
// | obj.set("foo","bar");
|
|
24
|
+
// | });
|
|
25
|
+
|
|
26
|
+
// _attrPairNames: Hash
|
|
27
|
+
// Used across all instances a hash to cache attribute names and their getter
|
|
28
|
+
// and setter names.
|
|
29
|
+
_attrPairNames: {},
|
|
30
|
+
|
|
31
|
+
_getAttrNames: function(name){
|
|
32
|
+
// summary:
|
|
33
|
+
// Helper function for get() and set().
|
|
34
|
+
// Caches attribute name values so we don't do the string ops every time.
|
|
35
|
+
// tags:
|
|
36
|
+
// private
|
|
37
|
+
|
|
38
|
+
var apn = this._attrPairNames;
|
|
39
|
+
if(apn[name]){ return apn[name]; }
|
|
40
|
+
return (apn[name] = {
|
|
41
|
+
s: "_" + name + "Setter",
|
|
42
|
+
g: "_" + name + "Getter"
|
|
43
|
+
});
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
postscript: function(/*Object?*/ params){
|
|
47
|
+
// Automatic setting of params during construction
|
|
48
|
+
if (params){ this.set(params); }
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
_get: function(name, names){
|
|
52
|
+
// summary:
|
|
53
|
+
// Private function that does a get based off a hash of names
|
|
54
|
+
// names:
|
|
55
|
+
// Hash of names of custom attributes
|
|
56
|
+
return typeof this[names.g] === "function" ? this[names.g]() : this[name];
|
|
57
|
+
},
|
|
58
|
+
get: function(/*String*/name){
|
|
59
|
+
// summary:
|
|
60
|
+
// Get a property on a Stateful instance.
|
|
61
|
+
// name:
|
|
62
|
+
// The property to get.
|
|
63
|
+
// returns:
|
|
64
|
+
// The property value on this Stateful instance.
|
|
65
|
+
// description:
|
|
66
|
+
// Get a named property on a Stateful object. The property may
|
|
67
|
+
// potentially be retrieved via a getter method in subclasses. In the base class
|
|
68
|
+
// this just retrieves the object's property.
|
|
69
|
+
// example:
|
|
70
|
+
// | require(["dojo/Stateful", function(Stateful) {
|
|
71
|
+
// | var stateful = new Stateful({foo: 3});
|
|
72
|
+
// | stateful.get("foo") // returns 3
|
|
73
|
+
// | stateful.foo // returns 3
|
|
74
|
+
// | });
|
|
75
|
+
|
|
76
|
+
return this._get(name, this._getAttrNames(name)); //Any
|
|
77
|
+
},
|
|
78
|
+
set: function(/*String*/name, /*Object*/value){
|
|
79
|
+
// summary:
|
|
80
|
+
// Set a property on a Stateful instance
|
|
81
|
+
// name:
|
|
82
|
+
// The property to set.
|
|
83
|
+
// value:
|
|
84
|
+
// The value to set in the property.
|
|
85
|
+
// returns:
|
|
86
|
+
// The function returns this dojo.Stateful instance.
|
|
87
|
+
// description:
|
|
88
|
+
// Sets named properties on a stateful object and notifies any watchers of
|
|
89
|
+
// the property. A programmatic setter may be defined in subclasses.
|
|
90
|
+
// example:
|
|
91
|
+
// | require(["dojo/Stateful", function(Stateful) {
|
|
92
|
+
// | var stateful = new Stateful();
|
|
93
|
+
// | stateful.watch(function(name, oldValue, value){
|
|
94
|
+
// | // this will be called on the set below
|
|
95
|
+
// | }
|
|
96
|
+
// | stateful.set(foo, 5);
|
|
97
|
+
// set() may also be called with a hash of name/value pairs, ex:
|
|
98
|
+
// | stateful.set({
|
|
99
|
+
// | foo: "Howdy",
|
|
100
|
+
// | bar: 3
|
|
101
|
+
// | });
|
|
102
|
+
// | });
|
|
103
|
+
// This is equivalent to calling set(foo, "Howdy") and set(bar, 3)
|
|
104
|
+
|
|
105
|
+
// If an object is used, iterate through object
|
|
106
|
+
if(typeof name === "object"){
|
|
107
|
+
for(var x in name){
|
|
108
|
+
if(name.hasOwnProperty(x) && x !="_watchCallbacks"){
|
|
109
|
+
this.set(x, name[x]);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
var names = this._getAttrNames(name),
|
|
116
|
+
oldValue = this._get(name, names),
|
|
117
|
+
setter = this[names.s],
|
|
118
|
+
result;
|
|
119
|
+
if(typeof setter === "function"){
|
|
120
|
+
// use the explicit setter
|
|
121
|
+
result = setter.apply(this, Array.prototype.slice.call(arguments, 1));
|
|
122
|
+
}else{
|
|
123
|
+
// no setter so set attribute directly
|
|
124
|
+
this[name] = value;
|
|
125
|
+
}
|
|
126
|
+
if(this._watchCallbacks){
|
|
127
|
+
var self = this;
|
|
128
|
+
// If setter returned a promise, wait for it to complete, otherwise call watches immediately
|
|
129
|
+
when(result, function(){
|
|
130
|
+
self._watchCallbacks(name, oldValue, value);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
return this; // dojo/Stateful
|
|
134
|
+
},
|
|
135
|
+
_changeAttrValue: function(name, value){
|
|
136
|
+
// summary:
|
|
137
|
+
// Internal helper for directly changing an attribute value.
|
|
138
|
+
//
|
|
139
|
+
// name: String
|
|
140
|
+
// The property to set.
|
|
141
|
+
// value: Mixed
|
|
142
|
+
// The value to set in the property.
|
|
143
|
+
//
|
|
144
|
+
// description:
|
|
145
|
+
// Directly change the value of an attribute on an object, bypassing any
|
|
146
|
+
// accessor setter. Also handles the calling of watch and emitting events.
|
|
147
|
+
// It is designed to be used by descendant class when there are two values
|
|
148
|
+
// of attributes that are linked, but calling .set() is not appropriate.
|
|
149
|
+
|
|
150
|
+
var oldValue = this.get(name);
|
|
151
|
+
this[name] = value;
|
|
152
|
+
if(this._watchCallbacks){
|
|
153
|
+
this._watchCallbacks(name, oldValue, value);
|
|
154
|
+
}
|
|
155
|
+
return this; // dojo/Stateful
|
|
156
|
+
},
|
|
157
|
+
watch: function(/*String?*/name, /*Function*/callback){
|
|
158
|
+
// summary:
|
|
159
|
+
// Watches a property for changes
|
|
160
|
+
// name:
|
|
161
|
+
// Indicates the property to watch. This is optional (the callback may be the
|
|
162
|
+
// only parameter), and if omitted, all the properties will be watched
|
|
163
|
+
// returns:
|
|
164
|
+
// An object handle for the watch. The unwatch method of this object
|
|
165
|
+
// can be used to discontinue watching this property:
|
|
166
|
+
// | var watchHandle = obj.watch("foo", callback);
|
|
167
|
+
// | watchHandle.unwatch(); // callback won't be called now
|
|
168
|
+
// callback:
|
|
169
|
+
// The function to execute when the property changes. This will be called after
|
|
170
|
+
// the property has been changed. The callback will be called with the |this|
|
|
171
|
+
// set to the instance, the first argument as the name of the property, the
|
|
172
|
+
// second argument as the old value and the third argument as the new value.
|
|
173
|
+
|
|
174
|
+
var callbacks = this._watchCallbacks;
|
|
175
|
+
if(!callbacks){
|
|
176
|
+
var self = this;
|
|
177
|
+
callbacks = this._watchCallbacks = function(name, oldValue, value, ignoreCatchall){
|
|
178
|
+
var notify = function(propertyCallbacks){
|
|
179
|
+
if(propertyCallbacks){
|
|
180
|
+
propertyCallbacks = propertyCallbacks.slice();
|
|
181
|
+
for(var i = 0, l = propertyCallbacks.length; i < l; i++){
|
|
182
|
+
propertyCallbacks[i].call(self, name, oldValue, value);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
notify(callbacks['_' + name]);
|
|
187
|
+
if(!ignoreCatchall){
|
|
188
|
+
notify(callbacks["*"]); // the catch-all
|
|
189
|
+
}
|
|
190
|
+
}; // we use a function instead of an object so it will be ignored by JSON conversion
|
|
191
|
+
}
|
|
192
|
+
if(!callback && typeof name === "function"){
|
|
193
|
+
callback = name;
|
|
194
|
+
name = "*";
|
|
195
|
+
}else{
|
|
196
|
+
// prepend with dash to prevent name conflicts with function (like "name" property)
|
|
197
|
+
name = '_' + name;
|
|
198
|
+
}
|
|
199
|
+
var propertyCallbacks = callbacks[name];
|
|
200
|
+
if(typeof propertyCallbacks !== "object"){
|
|
201
|
+
propertyCallbacks = callbacks[name] = [];
|
|
202
|
+
}
|
|
203
|
+
propertyCallbacks.push(callback);
|
|
204
|
+
|
|
205
|
+
// TODO: Remove unwatch in 2.0
|
|
206
|
+
var handle = {};
|
|
207
|
+
handle.unwatch = handle.remove = function(){
|
|
208
|
+
var index = array.indexOf(propertyCallbacks, callback);
|
|
209
|
+
if(index > -1){
|
|
210
|
+
propertyCallbacks.splice(index, 1);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
return handle; //Object
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
});
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 2004-2017, The JS Foundation All Rights Reserved.
|
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
4
|
+
see: http://dojotoolkit.org/license for details
|
|
5
|
+
*/
|
|
6
|
+
//>>built
|
|
7
|
+
define("dojo/_base/url",["./kernel"],function(_1){
|
|
8
|
+
var _2=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),_3=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4=function(){
|
|
9
|
+
var n=null,_5=arguments,_6=[_5[0]];
|
|
10
|
+
for(var i=1;i<_5.length;i++){
|
|
11
|
+
if(!_5[i]){
|
|
12
|
+
continue;
|
|
13
|
+
}
|
|
14
|
+
var _7=new _4(_5[i]+""),_8=new _4(_6[0]+"");
|
|
15
|
+
if(_7.path==""&&!_7.scheme&&!_7.authority&&!_7.query){
|
|
16
|
+
if(_7.fragment!=n){
|
|
17
|
+
_8.fragment=_7.fragment;
|
|
18
|
+
}
|
|
19
|
+
_7=_8;
|
|
20
|
+
}else{
|
|
21
|
+
if(!_7.scheme){
|
|
22
|
+
_7.scheme=_8.scheme;
|
|
23
|
+
if(!_7.authority){
|
|
24
|
+
_7.authority=_8.authority;
|
|
25
|
+
if(_7.path.charAt(0)!="/"){
|
|
26
|
+
var _9=_8.path.substring(0,_8.path.lastIndexOf("/")+1)+_7.path;
|
|
27
|
+
var _a=_9.split("/");
|
|
28
|
+
for(var j=0;j<_a.length;j++){
|
|
29
|
+
if(_a[j]=="."){
|
|
30
|
+
if(j==_a.length-1){
|
|
31
|
+
_a[j]="";
|
|
32
|
+
}else{
|
|
33
|
+
_a.splice(j,1);
|
|
34
|
+
j--;
|
|
35
|
+
}
|
|
36
|
+
}else{
|
|
37
|
+
if(j>0&&!(j==1&&_a[0]=="")&&_a[j]==".."&&_a[j-1]!=".."){
|
|
38
|
+
if(j==(_a.length-1)){
|
|
39
|
+
_a.splice(j,1);
|
|
40
|
+
_a[j-1]="";
|
|
41
|
+
}else{
|
|
42
|
+
_a.splice(j-1,2);
|
|
43
|
+
j-=2;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
_7.path=_a.join("/");
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
_6=[];
|
|
54
|
+
if(_7.scheme){
|
|
55
|
+
_6.push(_7.scheme,":");
|
|
56
|
+
}
|
|
57
|
+
if(_7.authority){
|
|
58
|
+
_6.push("//",_7.authority);
|
|
59
|
+
}
|
|
60
|
+
_6.push(_7.path);
|
|
61
|
+
if(_7.query){
|
|
62
|
+
_6.push("?",_7.query);
|
|
63
|
+
}
|
|
64
|
+
if(_7.fragment){
|
|
65
|
+
_6.push("#",_7.fragment);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
this.uri=_6.join("");
|
|
69
|
+
var r=this.uri.match(_2);
|
|
70
|
+
this.scheme=r[2]||(r[1]?"":n);
|
|
71
|
+
this.authority=r[4]||(r[3]?"":n);
|
|
72
|
+
this.path=r[5];
|
|
73
|
+
this.query=r[7]||(r[6]?"":n);
|
|
74
|
+
this.fragment=r[9]||(r[8]?"":n);
|
|
75
|
+
if(this.authority!=n){
|
|
76
|
+
r=this.authority.match(_3);
|
|
77
|
+
this.user=r[3]||n;
|
|
78
|
+
this.password=r[4]||n;
|
|
79
|
+
this.host=r[6]||r[7];
|
|
80
|
+
this.port=r[9]||n;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
_4.prototype.toString=function(){
|
|
84
|
+
return this.uri;
|
|
85
|
+
};
|
|
86
|
+
return _1._Url=_4;
|
|
87
|
+
});
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
define("dojo/_base/url", ["./kernel"], function(dojo){
|
|
2
|
+
// module:
|
|
3
|
+
// dojo/url
|
|
4
|
+
|
|
5
|
+
var
|
|
6
|
+
ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),
|
|
7
|
+
ire = new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),
|
|
8
|
+
_Url = function(){
|
|
9
|
+
var n = null,
|
|
10
|
+
_a = arguments,
|
|
11
|
+
uri = [_a[0]];
|
|
12
|
+
// resolve uri components relative to each other
|
|
13
|
+
for(var i = 1; i<_a.length; i++){
|
|
14
|
+
if(!_a[i]){ continue; }
|
|
15
|
+
|
|
16
|
+
// Safari doesn't support this.constructor so we have to be explicit
|
|
17
|
+
// FIXME: Tracked (and fixed) in Webkit bug 3537.
|
|
18
|
+
// http://bugs.webkit.org/show_bug.cgi?id=3537
|
|
19
|
+
var relobj = new _Url(_a[i]+""),
|
|
20
|
+
uriobj = new _Url(uri[0]+"");
|
|
21
|
+
|
|
22
|
+
if(
|
|
23
|
+
relobj.path == "" &&
|
|
24
|
+
!relobj.scheme &&
|
|
25
|
+
!relobj.authority &&
|
|
26
|
+
!relobj.query
|
|
27
|
+
){
|
|
28
|
+
if(relobj.fragment != n){
|
|
29
|
+
uriobj.fragment = relobj.fragment;
|
|
30
|
+
}
|
|
31
|
+
relobj = uriobj;
|
|
32
|
+
}else if(!relobj.scheme){
|
|
33
|
+
relobj.scheme = uriobj.scheme;
|
|
34
|
+
|
|
35
|
+
if(!relobj.authority){
|
|
36
|
+
relobj.authority = uriobj.authority;
|
|
37
|
+
|
|
38
|
+
if(relobj.path.charAt(0) != "/"){
|
|
39
|
+
var path = uriobj.path.substring(0,
|
|
40
|
+
uriobj.path.lastIndexOf("/") + 1) + relobj.path;
|
|
41
|
+
|
|
42
|
+
var segs = path.split("/");
|
|
43
|
+
for(var j = 0; j < segs.length; j++){
|
|
44
|
+
if(segs[j] == "."){
|
|
45
|
+
// flatten "./" references
|
|
46
|
+
if(j == segs.length - 1){
|
|
47
|
+
segs[j] = "";
|
|
48
|
+
}else{
|
|
49
|
+
segs.splice(j, 1);
|
|
50
|
+
j--;
|
|
51
|
+
}
|
|
52
|
+
}else if(j > 0 && !(j == 1 && segs[0] == "") &&
|
|
53
|
+
segs[j] == ".." && segs[j-1] != ".."){
|
|
54
|
+
// flatten "../" references
|
|
55
|
+
if(j == (segs.length - 1)){
|
|
56
|
+
segs.splice(j, 1);
|
|
57
|
+
segs[j - 1] = "";
|
|
58
|
+
}else{
|
|
59
|
+
segs.splice(j - 1, 2);
|
|
60
|
+
j -= 2;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
relobj.path = segs.join("/");
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
uri = [];
|
|
70
|
+
if(relobj.scheme){
|
|
71
|
+
uri.push(relobj.scheme, ":");
|
|
72
|
+
}
|
|
73
|
+
if(relobj.authority){
|
|
74
|
+
uri.push("//", relobj.authority);
|
|
75
|
+
}
|
|
76
|
+
uri.push(relobj.path);
|
|
77
|
+
if(relobj.query){
|
|
78
|
+
uri.push("?", relobj.query);
|
|
79
|
+
}
|
|
80
|
+
if(relobj.fragment){
|
|
81
|
+
uri.push("#", relobj.fragment);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
this.uri = uri.join("");
|
|
86
|
+
|
|
87
|
+
// break the uri into its main components
|
|
88
|
+
var r = this.uri.match(ore);
|
|
89
|
+
|
|
90
|
+
this.scheme = r[2] || (r[1] ? "" : n);
|
|
91
|
+
this.authority = r[4] || (r[3] ? "" : n);
|
|
92
|
+
this.path = r[5]; // can never be undefined
|
|
93
|
+
this.query = r[7] || (r[6] ? "" : n);
|
|
94
|
+
this.fragment = r[9] || (r[8] ? "" : n);
|
|
95
|
+
|
|
96
|
+
if(this.authority != n){
|
|
97
|
+
// server based naming authority
|
|
98
|
+
r = this.authority.match(ire);
|
|
99
|
+
|
|
100
|
+
this.user = r[3] || n;
|
|
101
|
+
this.password = r[4] || n;
|
|
102
|
+
this.host = r[6] || r[7]; // ipv6 || ipv4
|
|
103
|
+
this.port = r[9] || n;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
_Url.prototype.toString = function(){ return this.uri; };
|
|
107
|
+
|
|
108
|
+
return dojo._Url = _Url;
|
|
109
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 2004-2017, The JS Foundation All Rights Reserved.
|
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
4
|
+
see: http://dojotoolkit.org/license for details
|
|
5
|
+
*/
|
|
6
|
+
//>>built
|
|
7
|
+
define("dojo/cache",["./_base/kernel","./text"],function(_1){
|
|
8
|
+
return _1.cache;
|
|
9
|
+
});
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 2004-2017, The JS Foundation All Rights Reserved.
|
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
4
|
+
see: http://dojotoolkit.org/license for details
|
|
5
|
+
*/
|
|
6
|
+
//>>built
|
|
7
|
+
define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(_1,_2,_3,_4){
|
|
8
|
+
var _5={};
|
|
9
|
+
_2.setObject("dojo.colors",_5);
|
|
10
|
+
var _6=function(m1,m2,h){
|
|
11
|
+
if(h<0){
|
|
12
|
+
++h;
|
|
13
|
+
}
|
|
14
|
+
if(h>1){
|
|
15
|
+
--h;
|
|
16
|
+
}
|
|
17
|
+
var h6=6*h;
|
|
18
|
+
if(h6<1){
|
|
19
|
+
return m1+(m2-m1)*h6;
|
|
20
|
+
}
|
|
21
|
+
if(2*h<1){
|
|
22
|
+
return m2;
|
|
23
|
+
}
|
|
24
|
+
if(3*h<2){
|
|
25
|
+
return m1+(m2-m1)*(2/3-h)*6;
|
|
26
|
+
}
|
|
27
|
+
return m1;
|
|
28
|
+
};
|
|
29
|
+
_1.colorFromRgb=_3.fromRgb=function(_7,_8){
|
|
30
|
+
var m=_7.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);
|
|
31
|
+
if(m){
|
|
32
|
+
var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;
|
|
33
|
+
if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){
|
|
34
|
+
var r=c[0];
|
|
35
|
+
if(r.charAt(r.length-1)=="%"){
|
|
36
|
+
a=_4.map(c,function(x){
|
|
37
|
+
return parseFloat(x)*2.56;
|
|
38
|
+
});
|
|
39
|
+
if(l==4){
|
|
40
|
+
a[3]=c[3];
|
|
41
|
+
}
|
|
42
|
+
return _3.fromArray(a,_8);
|
|
43
|
+
}
|
|
44
|
+
return _3.fromArray(c,_8);
|
|
45
|
+
}
|
|
46
|
+
if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){
|
|
47
|
+
var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;
|
|
48
|
+
a=[_6(m1,m2,H+1/3)*256,_6(m1,m2,H)*256,_6(m1,m2,H-1/3)*256,1];
|
|
49
|
+
if(l==4){
|
|
50
|
+
a[3]=c[3];
|
|
51
|
+
}
|
|
52
|
+
return _3.fromArray(a,_8);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
};
|
|
57
|
+
var _9=function(c,_a,_b){
|
|
58
|
+
c=Number(c);
|
|
59
|
+
return isNaN(c)?_b:c<_a?_a:c>_b?_b:c;
|
|
60
|
+
};
|
|
61
|
+
_3.prototype.sanitize=function(){
|
|
62
|
+
var t=this;
|
|
63
|
+
t.r=Math.round(_9(t.r,0,255));
|
|
64
|
+
t.g=Math.round(_9(t.g,0,255));
|
|
65
|
+
t.b=Math.round(_9(t.b,0,255));
|
|
66
|
+
t.a=_9(t.a,0,1);
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
_5.makeGrey=_3.makeGrey=function(g,a){
|
|
70
|
+
return _3.fromArray([g,g,g,a]);
|
|
71
|
+
};
|
|
72
|
+
_2.mixin(_3.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});
|
|
73
|
+
return _3;
|
|
74
|
+
});
|