@datagrok/helm 2.13.7 → 3.0.0
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/CREDITS.md +164 -0
- package/dist/489.js +2 -0
- package/dist/489.js.map +1 -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/files/samples/helm-showcase.csv +56 -0
- package/package.json +6 -10
- package/src/helm-helper.ts +61 -413
- package/src/package-api.ts +14 -11
- package/src/package-test.ts +0 -2
- package/src/package-utils.ts +8 -298
- package/src/package.g.ts +2 -8
- package/src/package.ts +11 -31
- package/src/tests/helm-activity-cliffs.ts +2 -2
- package/src/tests/helm-input-tests.ts +83 -0
- package/src/tests/parse-helm-tests.ts +7 -57
- package/src/tests/properties-widget-tests.ts +21 -11
- package/src/utils/helm-grid-cell-renderer.ts +141 -151
- package/src/utils/index.ts +3 -7
- package/src/widgets/helm-input.ts +42 -12
- package/src/widgets/properties-widget.ts +18 -11
- package/test-console-output-1.log +103 -706
- package/test-record-1.mp4 +0 -0
- package/webpack.config.js +1 -12
- package/dist/455.js +0 -2
- package/dist/455.js.map +0 -1
- package/dist/package-dojo.js +0 -2
- package/dist/package-dojo.js.map +0 -1
- package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
- package/helm/JSDraw/ReadMe.txt +0 -8
- package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
- package/helm/dojo/package.ts +0 -41
- package/helm/dojo/types.ts +0 -12
- package/src/helm-web-editor.ts +0 -68
- package/src/tests/get-monomer-tests.ts +0 -214
- package/src/tests/helm-service-tests.ts +0 -98
- package/src/types/dojo.ts +0 -3
- package/src/types/index.ts +0 -5
- package/src/utils/get-monomer.ts +0 -90
- package/src/utils/helm-service.ts +0 -166
- package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
- package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
- package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
- package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
- package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
- package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
- package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
- package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
- package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
- package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
- package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
- package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
- package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
- package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
- package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
- package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
- package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
- package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
- package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
- package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
- package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
- package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
- package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
- package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
- package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
- package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
- package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
- package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
- package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
- package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
- package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
- package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
- package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
- package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
- package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
- package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
- package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
- package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
- package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
- package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
- package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
- package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
- package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
- package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
- package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
- package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
- package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
- package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
- package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
- package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
- package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
- package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
- package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
- package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
- package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
- package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
- package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
- package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
- package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
- package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
- package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
- package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
- package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
- package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
- package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
- package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
- package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
- package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
- package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
- package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
- package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
- package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
- package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
- package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
- package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
- package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
- package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
- package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
- package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
- package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
- package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
- package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
- package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
- package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
- package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
- package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
- package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
- package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
- package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
- package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
- package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
- package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
- package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
- package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
- package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
- package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
- package/vendor/dojo-1.10.10/dijit/main.js +0 -4
- package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
- package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
- package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
- package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
- package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
- package/vendor/dojo-1.10.10/dijit/place.js +0 -142
- package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
- package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
- package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
- package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
- package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
- package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
- package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
- package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
- package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
- package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
- package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
- package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
- package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
- package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
- package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
- package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
- package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
- package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
- package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
- package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
- package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
- package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
- package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
- package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
- package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
- package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
- package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
- package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
- package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
- package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
- package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
- package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
- package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
- package/vendor/dojo-1.10.10/dojo/html.js +0 -161
- package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
- package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
- package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
- package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
- package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
- package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
- package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
- package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
- package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
- package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
- package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
- package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
- package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
- package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
- package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
- package/vendor/dojo-1.10.10/dojo/require.js +0 -11
- package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
- package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
- package/vendor/dojo-1.10.10/dojo/string.js +0 -67
- package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
- package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
- package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
- package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
- package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
- package/vendor/dojo-1.10.10/dojo/window.js +0 -141
- package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
- package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
- package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
- package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
- package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
- package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
- package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
- package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
- package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
- package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
- package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
- package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
- package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
- package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
- package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
- package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
- package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
- package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
- package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
- package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
- package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
- package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
- package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
- package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
- package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
- package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
- package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
- package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
- package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
- package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
- package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
- package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
- package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
- package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
- package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
- package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
- package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
- package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
- package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
- package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
- package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
- package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
- package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
- package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
- package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
- package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
- package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
- package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
- package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
- package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
- package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
- package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
- package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
- package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
- package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
- package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
- package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
- package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
- package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
- package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
- package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
- package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
- package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
- package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
- package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
- package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
- package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
- package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
- package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
- package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
- package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
- package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
- package/vendor/dojo-1.10.10/dojox/main.js +0 -4
- package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
- package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
- package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
- package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
- package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
- package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
- package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
|
@@ -1,90 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,218 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,87 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,109 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,74 +0,0 @@
|
|
|
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
|
-
});
|