@datagrok/helm 2.13.8 → 3.0.1
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 +6 -0
- package/css/helm.css +40 -0
- package/dist/137.js +2 -0
- package/dist/137.js.map +1 -0
- package/dist/323.js +2 -0
- package/dist/323.js.map +1 -0
- package/dist/657.js +2 -0
- package/dist/657.js.map +1 -0
- package/dist/782.js +2 -0
- package/dist/782.js.map +1 -0
- package/dist/884.js +2 -0
- package/dist/884.js.map +1 -0
- package/dist/94.js +2 -0
- package/dist/94.js.map +1 -0
- package/dist/libraries_bio_src_monomer-works_seq-to-molfile-worker_ts.js +16420 -0
- package/dist/libraries_bio_src_monomer-works_seq-to-molfile-worker_ts.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/dist/vendors-HELM_node_modules_lru-cache_dist_esm_index_js.js +1560 -0
- package/dist/vendors-HELM_node_modules_lru-cache_dist_esm_index_js.js.map +1 -0
- package/files/samples/helm-showcase.csv +56 -0
- package/package.json +8 -12
- package/src/helm-helper.ts +134 -410
- 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/webpack.config.js +1 -12
- 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/test-console-output-1.log +0 -919
- package/test-record-1.mp4 +0 -0
- 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,68 +0,0 @@
|
|
|
1
|
-
//>>built
|
|
2
|
-
define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_1,_2,_3,_4,_5,_6,_7,_8){
|
|
3
|
-
var _9={_curFocus:null,_prevFocus:null,isCollapsed:function(){
|
|
4
|
-
return _8.getBookmark().isCollapsed;
|
|
5
|
-
},getBookmark:function(){
|
|
6
|
-
var _a=_5.global==window?_7:new _7.SelectionManager(_5.global);
|
|
7
|
-
return _a.getBookmark();
|
|
8
|
-
},moveToBookmark:function(_b){
|
|
9
|
-
var _c=_5.global==window?_7:new _7.SelectionManager(_5.global);
|
|
10
|
-
return _c.moveToBookmark(_b);
|
|
11
|
-
},getFocus:function(_d,_e){
|
|
12
|
-
var _f=!_6.curNode||(_d&&_2.isDescendant(_6.curNode,_d.domNode))?_8._prevFocus:_6.curNode;
|
|
13
|
-
return {node:_f,bookmark:_f&&(_f==_6.curNode)&&_5.withGlobal(_e||_5.global,_8.getBookmark),openedForWindow:_e};
|
|
14
|
-
},_activeStack:[],registerIframe:function(_10){
|
|
15
|
-
return _6.registerIframe(_10);
|
|
16
|
-
},unregisterIframe:function(_11){
|
|
17
|
-
_11&&_11.remove();
|
|
18
|
-
},registerWin:function(_12,_13){
|
|
19
|
-
return _6.registerWin(_12,_13);
|
|
20
|
-
},unregisterWin:function(_14){
|
|
21
|
-
_14&&_14.remove();
|
|
22
|
-
}};
|
|
23
|
-
_6.focus=function(_15){
|
|
24
|
-
if(!_15){
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
var _16="node" in _15?_15.node:_15,_17=_15.bookmark,_18=_15.openedForWindow,_19=_17?_17.isCollapsed:false;
|
|
28
|
-
if(_16){
|
|
29
|
-
var _1a=(_16.tagName.toLowerCase()=="iframe")?_16.contentWindow:_16;
|
|
30
|
-
if(_1a&&_1a.focus){
|
|
31
|
-
try{
|
|
32
|
-
_1a.focus();
|
|
33
|
-
}
|
|
34
|
-
catch(e){
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
_6._onFocusNode(_16);
|
|
38
|
-
}
|
|
39
|
-
if(_17&&_5.withGlobal(_18||_5.global,_8.isCollapsed)&&!_19){
|
|
40
|
-
if(_18){
|
|
41
|
-
_18.focus();
|
|
42
|
-
}
|
|
43
|
-
try{
|
|
44
|
-
_5.withGlobal(_18||_5.global,_8.moveToBookmark,null,[_17]);
|
|
45
|
-
}
|
|
46
|
-
catch(e2){
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
_6.watch("curNode",function(_1b,_1c,_1d){
|
|
51
|
-
_8._curFocus=_1d;
|
|
52
|
-
_8._prevFocus=_1c;
|
|
53
|
-
if(_1d){
|
|
54
|
-
_4.publish("focusNode",_1d);
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
_6.watch("activeStack",function(_1e,_1f,_20){
|
|
58
|
-
_8._activeStack=_20;
|
|
59
|
-
});
|
|
60
|
-
_6.on("widget-blur",function(_21,by){
|
|
61
|
-
_4.publish("widgetBlur",_21,by);
|
|
62
|
-
});
|
|
63
|
-
_6.on("widget-focus",function(_22,by){
|
|
64
|
-
_4.publish("widgetFocus",_22,by);
|
|
65
|
-
});
|
|
66
|
-
_3.mixin(_8,_9);
|
|
67
|
-
return _8;
|
|
68
|
-
});
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
define("dijit/_base/focus", [
|
|
2
|
-
"dojo/_base/array", // array.forEach
|
|
3
|
-
"dojo/dom", // dom.isDescendant
|
|
4
|
-
"dojo/_base/lang", // lang.isArray
|
|
5
|
-
"dojo/topic", // publish
|
|
6
|
-
"dojo/_base/window", // win.doc win.doc.selection win.global win.global.getSelection win.withGlobal
|
|
7
|
-
"../focus",
|
|
8
|
-
"../selection",
|
|
9
|
-
"../main" // for exporting symbols to dijit
|
|
10
|
-
], function(array, dom, lang, topic, win, focus, selection, dijit){
|
|
11
|
-
|
|
12
|
-
// module:
|
|
13
|
-
// dijit/_base/focus
|
|
14
|
-
|
|
15
|
-
var exports = {
|
|
16
|
-
// summary:
|
|
17
|
-
// Deprecated module to monitor currently focused node and stack of currently focused widgets.
|
|
18
|
-
// New code should access dijit/focus directly.
|
|
19
|
-
|
|
20
|
-
// _curFocus: DomNode
|
|
21
|
-
// Currently focused item on screen
|
|
22
|
-
_curFocus: null,
|
|
23
|
-
|
|
24
|
-
// _prevFocus: DomNode
|
|
25
|
-
// Previously focused item on screen
|
|
26
|
-
_prevFocus: null,
|
|
27
|
-
|
|
28
|
-
isCollapsed: function(){
|
|
29
|
-
// summary:
|
|
30
|
-
// Returns true if there is no text selected
|
|
31
|
-
return dijit.getBookmark().isCollapsed;
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
getBookmark: function(){
|
|
35
|
-
// summary:
|
|
36
|
-
// Retrieves a bookmark that can be used with moveToBookmark to return to the same range
|
|
37
|
-
var sel = win.global == window ? selection : new selection.SelectionManager(win.global);
|
|
38
|
-
return sel.getBookmark();
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
moveToBookmark: function(/*Object*/ bookmark){
|
|
42
|
-
// summary:
|
|
43
|
-
// Moves current selection to a bookmark
|
|
44
|
-
// bookmark:
|
|
45
|
-
// This should be a returned object from dijit.getBookmark()
|
|
46
|
-
|
|
47
|
-
var sel = win.global == window ? selection : new selection.SelectionManager(win.global);
|
|
48
|
-
return sel.moveToBookmark(bookmark);
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
getFocus: function(/*Widget?*/ menu, /*Window?*/ openedForWindow){
|
|
52
|
-
// summary:
|
|
53
|
-
// Called as getFocus(), this returns an Object showing the current focus
|
|
54
|
-
// and selected text.
|
|
55
|
-
//
|
|
56
|
-
// Called as getFocus(widget), where widget is a (widget representing) a button
|
|
57
|
-
// that was just pressed, it returns where focus was before that button
|
|
58
|
-
// was pressed. (Pressing the button may have either shifted focus to the button,
|
|
59
|
-
// or removed focus altogether.) In this case the selected text is not returned,
|
|
60
|
-
// since it can't be accurately determined.
|
|
61
|
-
//
|
|
62
|
-
// menu: dijit/_WidgetBase|{domNode: DomNode} structure
|
|
63
|
-
// The button that was just pressed. If focus has disappeared or moved
|
|
64
|
-
// to this button, returns the previous focus. In this case the bookmark
|
|
65
|
-
// information is already lost, and null is returned.
|
|
66
|
-
//
|
|
67
|
-
// openedForWindow:
|
|
68
|
-
// iframe in which menu was opened
|
|
69
|
-
//
|
|
70
|
-
// returns:
|
|
71
|
-
// A handle to restore focus/selection, to be passed to `dijit.focus`
|
|
72
|
-
var node = !focus.curNode || (menu && dom.isDescendant(focus.curNode, menu.domNode)) ? dijit._prevFocus : focus.curNode;
|
|
73
|
-
return {
|
|
74
|
-
node: node,
|
|
75
|
-
bookmark: node && (node == focus.curNode) && win.withGlobal(openedForWindow || win.global, dijit.getBookmark),
|
|
76
|
-
openedForWindow: openedForWindow
|
|
77
|
-
}; // Object
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
// _activeStack: dijit/_WidgetBase[]
|
|
81
|
-
// List of currently active widgets (focused widget and it's ancestors)
|
|
82
|
-
_activeStack: [],
|
|
83
|
-
|
|
84
|
-
registerIframe: function(/*DomNode*/ iframe){
|
|
85
|
-
// summary:
|
|
86
|
-
// Registers listeners on the specified iframe so that any click
|
|
87
|
-
// or focus event on that iframe (or anything in it) is reported
|
|
88
|
-
// as a focus/click event on the `<iframe>` itself.
|
|
89
|
-
// description:
|
|
90
|
-
// Currently only used by editor.
|
|
91
|
-
// returns:
|
|
92
|
-
// Handle to pass to unregisterIframe()
|
|
93
|
-
return focus.registerIframe(iframe);
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
unregisterIframe: function(/*Object*/ handle){
|
|
97
|
-
// summary:
|
|
98
|
-
// Unregisters listeners on the specified iframe created by registerIframe.
|
|
99
|
-
// After calling be sure to delete or null out the handle itself.
|
|
100
|
-
// handle:
|
|
101
|
-
// Handle returned by registerIframe()
|
|
102
|
-
|
|
103
|
-
handle && handle.remove();
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
registerWin: function(/*Window?*/targetWindow, /*DomNode?*/ effectiveNode){
|
|
107
|
-
// summary:
|
|
108
|
-
// Registers listeners on the specified window (either the main
|
|
109
|
-
// window or an iframe's window) to detect when the user has clicked somewhere
|
|
110
|
-
// or focused somewhere.
|
|
111
|
-
// description:
|
|
112
|
-
// Users should call registerIframe() instead of this method.
|
|
113
|
-
// targetWindow:
|
|
114
|
-
// If specified this is the window associated with the iframe,
|
|
115
|
-
// i.e. iframe.contentWindow.
|
|
116
|
-
// effectiveNode:
|
|
117
|
-
// If specified, report any focus events inside targetWindow as
|
|
118
|
-
// an event on effectiveNode, rather than on evt.target.
|
|
119
|
-
// returns:
|
|
120
|
-
// Handle to pass to unregisterWin()
|
|
121
|
-
|
|
122
|
-
return focus.registerWin(targetWindow, effectiveNode);
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
unregisterWin: function(/*Handle*/ handle){
|
|
126
|
-
// summary:
|
|
127
|
-
// Unregisters listeners on the specified window (either the main
|
|
128
|
-
// window or an iframe's window) according to handle returned from registerWin().
|
|
129
|
-
// After calling be sure to delete or null out the handle itself.
|
|
130
|
-
|
|
131
|
-
handle && handle.remove();
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
// Override focus singleton's focus function so that dijit.focus()
|
|
136
|
-
// has backwards compatible behavior of restoring selection (although
|
|
137
|
-
// probably no one is using that).
|
|
138
|
-
focus.focus = function(/*Object|DomNode */ handle){
|
|
139
|
-
// summary:
|
|
140
|
-
// Sets the focused node and the selection according to argument.
|
|
141
|
-
// To set focus to an iframe's content, pass in the iframe itself.
|
|
142
|
-
// handle:
|
|
143
|
-
// object returned by get(), or a DomNode
|
|
144
|
-
|
|
145
|
-
if(!handle){ return; }
|
|
146
|
-
|
|
147
|
-
var node = "node" in handle ? handle.node : handle, // because handle is either DomNode or a composite object
|
|
148
|
-
bookmark = handle.bookmark,
|
|
149
|
-
openedForWindow = handle.openedForWindow,
|
|
150
|
-
collapsed = bookmark ? bookmark.isCollapsed : false;
|
|
151
|
-
|
|
152
|
-
// Set the focus
|
|
153
|
-
// Note that for iframe's we need to use the <iframe> to follow the parentNode chain,
|
|
154
|
-
// but we need to set focus to iframe.contentWindow
|
|
155
|
-
if(node){
|
|
156
|
-
var focusNode = (node.tagName.toLowerCase() == "iframe") ? node.contentWindow : node;
|
|
157
|
-
if(focusNode && focusNode.focus){
|
|
158
|
-
try{
|
|
159
|
-
// Gecko throws sometimes if setting focus is impossible,
|
|
160
|
-
// node not displayed or something like that
|
|
161
|
-
focusNode.focus();
|
|
162
|
-
}catch(e){/*quiet*/}
|
|
163
|
-
}
|
|
164
|
-
focus._onFocusNode(node);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// set the selection
|
|
168
|
-
// do not need to restore if current selection is not empty
|
|
169
|
-
// (use keyboard to select a menu item) or if previous selection was collapsed
|
|
170
|
-
// as it may cause focus shift (Esp in IE).
|
|
171
|
-
if(bookmark && win.withGlobal(openedForWindow || win.global, dijit.isCollapsed) && !collapsed){
|
|
172
|
-
if(openedForWindow){
|
|
173
|
-
openedForWindow.focus();
|
|
174
|
-
}
|
|
175
|
-
try{
|
|
176
|
-
win.withGlobal(openedForWindow || win.global, dijit.moveToBookmark, null, [bookmark]);
|
|
177
|
-
}catch(e2){
|
|
178
|
-
/*squelch IE internal error, see http://trac.dojotoolkit.org/ticket/1984 */
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
// For back compatibility, monitor changes to focused node and active widget stack,
|
|
184
|
-
// publishing events and copying changes from focus manager variables into dijit (top level) variables
|
|
185
|
-
focus.watch("curNode", function(name, oldVal, newVal){
|
|
186
|
-
dijit._curFocus = newVal;
|
|
187
|
-
dijit._prevFocus = oldVal;
|
|
188
|
-
if(newVal){
|
|
189
|
-
topic.publish("focusNode", newVal); // publish
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
focus.watch("activeStack", function(name, oldVal, newVal){
|
|
193
|
-
dijit._activeStack = newVal;
|
|
194
|
-
});
|
|
195
|
-
|
|
196
|
-
focus.on("widget-blur", function(widget, by){
|
|
197
|
-
topic.publish("widgetBlur", widget, by); // publish
|
|
198
|
-
});
|
|
199
|
-
focus.on("widget-focus", function(widget, by){
|
|
200
|
-
topic.publish("widgetFocus", widget, by); // publish
|
|
201
|
-
});
|
|
202
|
-
|
|
203
|
-
lang.mixin(dijit, exports);
|
|
204
|
-
|
|
205
|
-
/*===== return exports; =====*/
|
|
206
|
-
return dijit; // for back compat :-(
|
|
207
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//>>built
|
|
2
|
-
define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_1,_2,_3,_4,_5){
|
|
3
|
-
var _6={};
|
|
4
|
-
_1.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(_7){
|
|
5
|
-
_6[_7]=_4[_7];
|
|
6
|
-
});
|
|
7
|
-
_3.mixin(_6,{defaultDuration:_2["defaultDuration"]||200});
|
|
8
|
-
_3.mixin(_5,_6);
|
|
9
|
-
return _5;
|
|
10
|
-
});
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
define("dijit/_base/manager", [
|
|
2
|
-
"dojo/_base/array",
|
|
3
|
-
"dojo/_base/config", // defaultDuration
|
|
4
|
-
"dojo/_base/lang",
|
|
5
|
-
"../registry",
|
|
6
|
-
"../main" // for setting exports to dijit namespace
|
|
7
|
-
], function(array, config, lang, registry, dijit){
|
|
8
|
-
|
|
9
|
-
// module:
|
|
10
|
-
// dijit/_base/manager
|
|
11
|
-
|
|
12
|
-
var exports = {
|
|
13
|
-
// summary:
|
|
14
|
-
// Deprecated. Shim to methods on registry, plus a few other declarations.
|
|
15
|
-
// New code should access dijit/registry directly when possible.
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
array.forEach(["byId", "getUniqueId", "findWidgets", "_destroyAll", "byNode", "getEnclosingWidget"], function(name){
|
|
19
|
-
exports[name] = registry[name];
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
lang.mixin(exports, {
|
|
23
|
-
// defaultDuration: Integer
|
|
24
|
-
// The default fx.animation speed (in ms) to use for all Dijit
|
|
25
|
-
// transitional fx.animations, unless otherwise specified
|
|
26
|
-
// on a per-instance basis. Defaults to 200, overrided by
|
|
27
|
-
// `djConfig.defaultDuration`
|
|
28
|
-
defaultDuration: config["defaultDuration"] || 200
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
lang.mixin(dijit, exports);
|
|
32
|
-
|
|
33
|
-
/*===== return exports; =====*/
|
|
34
|
-
return dijit; // for back compat :-(
|
|
35
|
-
});
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
//>>built
|
|
2
|
-
define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_1,_2,_3,_4,_5){
|
|
3
|
-
var _6={};
|
|
4
|
-
_6.getViewport=function(){
|
|
5
|
-
return _3.getBox();
|
|
6
|
-
};
|
|
7
|
-
_6.placeOnScreen=_4.at;
|
|
8
|
-
_6.placeOnScreenAroundElement=function(_7,_8,_9,_a){
|
|
9
|
-
var _b;
|
|
10
|
-
if(_2.isArray(_9)){
|
|
11
|
-
_b=_9;
|
|
12
|
-
}else{
|
|
13
|
-
_b=[];
|
|
14
|
-
for(var _c in _9){
|
|
15
|
-
_b.push({aroundCorner:_c,corner:_9[_c]});
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return _4.around(_7,_8,_b,true,_a);
|
|
19
|
-
};
|
|
20
|
-
_6.placeOnScreenAroundNode=_6.placeOnScreenAroundElement;
|
|
21
|
-
_6.placeOnScreenAroundRectangle=_6.placeOnScreenAroundElement;
|
|
22
|
-
_6.getPopupAroundAlignment=function(_d,_e){
|
|
23
|
-
var _f={};
|
|
24
|
-
_1.forEach(_d,function(pos){
|
|
25
|
-
var ltr=_e;
|
|
26
|
-
switch(pos){
|
|
27
|
-
case "after":
|
|
28
|
-
_f[_e?"BR":"BL"]=_e?"BL":"BR";
|
|
29
|
-
break;
|
|
30
|
-
case "before":
|
|
31
|
-
_f[_e?"BL":"BR"]=_e?"BR":"BL";
|
|
32
|
-
break;
|
|
33
|
-
case "below-alt":
|
|
34
|
-
ltr=!ltr;
|
|
35
|
-
case "below":
|
|
36
|
-
_f[ltr?"BL":"BR"]=ltr?"TL":"TR";
|
|
37
|
-
_f[ltr?"BR":"BL"]=ltr?"TR":"TL";
|
|
38
|
-
break;
|
|
39
|
-
case "above-alt":
|
|
40
|
-
ltr=!ltr;
|
|
41
|
-
case "above":
|
|
42
|
-
default:
|
|
43
|
-
_f[ltr?"TL":"TR"]=ltr?"BL":"BR";
|
|
44
|
-
_f[ltr?"TR":"TL"]=ltr?"BR":"BL";
|
|
45
|
-
break;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
return _f;
|
|
49
|
-
};
|
|
50
|
-
_2.mixin(_5,_6);
|
|
51
|
-
return _5;
|
|
52
|
-
});
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
define("dijit/_base/place", [
|
|
2
|
-
"dojo/_base/array", // array.forEach
|
|
3
|
-
"dojo/_base/lang", // lang.isArray, lang.mixin
|
|
4
|
-
"dojo/window", // windowUtils.getBox
|
|
5
|
-
"../place",
|
|
6
|
-
"../main" // export to dijit namespace
|
|
7
|
-
], function(array, lang, windowUtils, place, dijit){
|
|
8
|
-
|
|
9
|
-
// module:
|
|
10
|
-
// dijit/_base/place
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var exports = {
|
|
14
|
-
// summary:
|
|
15
|
-
// Deprecated back compatibility module, new code should use dijit/place directly instead of using this module.
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.getViewport = function(){
|
|
19
|
-
// summary:
|
|
20
|
-
// Deprecated method to return the dimensions and scroll position of the viewable area of a browser window.
|
|
21
|
-
// New code should use windowUtils.getBox()
|
|
22
|
-
|
|
23
|
-
return windowUtils.getBox();
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
exports.placeOnScreen = place.at;
|
|
27
|
-
|
|
28
|
-
exports.placeOnScreenAroundElement = function(node, aroundNode, aroundCorners, layoutNode){
|
|
29
|
-
// summary:
|
|
30
|
-
// Like dijit.placeOnScreenAroundNode(), except it accepts an arbitrary object
|
|
31
|
-
// for the "around" argument and finds a proper processor to place a node.
|
|
32
|
-
// Deprecated, new code should use dijit/place.around() instead.
|
|
33
|
-
|
|
34
|
-
// Convert old style {"BL": "TL", "BR": "TR"} type argument
|
|
35
|
-
// to style needed by dijit.place code:
|
|
36
|
-
// [
|
|
37
|
-
// {aroundCorner: "BL", corner: "TL" },
|
|
38
|
-
// {aroundCorner: "BR", corner: "TR" }
|
|
39
|
-
// ]
|
|
40
|
-
var positions;
|
|
41
|
-
if(lang.isArray(aroundCorners)){
|
|
42
|
-
positions = aroundCorners;
|
|
43
|
-
}else{
|
|
44
|
-
positions = [];
|
|
45
|
-
for(var key in aroundCorners){
|
|
46
|
-
positions.push({aroundCorner: key, corner: aroundCorners[key]});
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
return place.around(node, aroundNode, positions, true, layoutNode);
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
exports.placeOnScreenAroundNode = exports.placeOnScreenAroundElement;
|
|
54
|
-
/*=====
|
|
55
|
-
exports.placeOnScreenAroundNode = function(node, aroundNode, aroundCorners, layoutNode){
|
|
56
|
-
// summary:
|
|
57
|
-
// Position node adjacent or kitty-corner to aroundNode
|
|
58
|
-
// such that it's fully visible in viewport.
|
|
59
|
-
// Deprecated, new code should use dijit/place.around() instead.
|
|
60
|
-
};
|
|
61
|
-
=====*/
|
|
62
|
-
|
|
63
|
-
exports.placeOnScreenAroundRectangle = exports.placeOnScreenAroundElement;
|
|
64
|
-
/*=====
|
|
65
|
-
exports.placeOnScreenAroundRectangle = function(node, aroundRect, aroundCorners, layoutNode){
|
|
66
|
-
// summary:
|
|
67
|
-
// Like dijit.placeOnScreenAroundNode(), except that the "around"
|
|
68
|
-
// parameter is an arbitrary rectangle on the screen (x, y, width, height)
|
|
69
|
-
// instead of a dom node.
|
|
70
|
-
// Deprecated, new code should use dijit/place.around() instead.
|
|
71
|
-
};
|
|
72
|
-
=====*/
|
|
73
|
-
|
|
74
|
-
exports.getPopupAroundAlignment = function(/*Array*/ position, /*Boolean*/ leftToRight){
|
|
75
|
-
// summary:
|
|
76
|
-
// Deprecated method, unneeded when using dijit/place directly.
|
|
77
|
-
// Transforms the passed array of preferred positions into a format suitable for
|
|
78
|
-
// passing as the aroundCorners argument to dijit/place.placeOnScreenAroundElement.
|
|
79
|
-
// position: String[]
|
|
80
|
-
// This variable controls the position of the drop down.
|
|
81
|
-
// It's an array of strings with the following values:
|
|
82
|
-
//
|
|
83
|
-
// - before: places drop down to the left of the target node/widget, or to the right in
|
|
84
|
-
// the case of RTL scripts like Hebrew and Arabic
|
|
85
|
-
// - after: places drop down to the right of the target node/widget, or to the left in
|
|
86
|
-
// the case of RTL scripts like Hebrew and Arabic
|
|
87
|
-
// - above: drop down goes above target node
|
|
88
|
-
// - below: drop down goes below target node
|
|
89
|
-
//
|
|
90
|
-
// The list is positions is tried, in order, until a position is found where the drop down fits
|
|
91
|
-
// within the viewport.
|
|
92
|
-
// leftToRight: Boolean
|
|
93
|
-
// Whether the popup will be displaying in leftToRight mode.
|
|
94
|
-
|
|
95
|
-
var align = {};
|
|
96
|
-
array.forEach(position, function(pos){
|
|
97
|
-
var ltr = leftToRight;
|
|
98
|
-
switch(pos){
|
|
99
|
-
case "after":
|
|
100
|
-
align[leftToRight ? "BR" : "BL"] = leftToRight ? "BL" : "BR";
|
|
101
|
-
break;
|
|
102
|
-
case "before":
|
|
103
|
-
align[leftToRight ? "BL" : "BR"] = leftToRight ? "BR" : "BL";
|
|
104
|
-
break;
|
|
105
|
-
case "below-alt":
|
|
106
|
-
ltr = !ltr;
|
|
107
|
-
// fall through
|
|
108
|
-
case "below":
|
|
109
|
-
// first try to align left borders, next try to align right borders (or reverse for RTL mode)
|
|
110
|
-
align[ltr ? "BL" : "BR"] = ltr ? "TL" : "TR";
|
|
111
|
-
align[ltr ? "BR" : "BL"] = ltr ? "TR" : "TL";
|
|
112
|
-
break;
|
|
113
|
-
case "above-alt":
|
|
114
|
-
ltr = !ltr;
|
|
115
|
-
// fall through
|
|
116
|
-
case "above":
|
|
117
|
-
default:
|
|
118
|
-
// first try to align left borders, next try to align right borders (or reverse for RTL mode)
|
|
119
|
-
align[ltr ? "TL" : "TR"] = ltr ? "BL" : "BR";
|
|
120
|
-
align[ltr ? "TR" : "TL"] = ltr ? "BR" : "BL";
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
return align;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
lang.mixin(dijit, exports);
|
|
128
|
-
|
|
129
|
-
/*===== return exports; =====*/
|
|
130
|
-
return dijit; // for back compat :-(
|
|
131
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//>>built
|
|
2
|
-
define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_1,_2,_3){
|
|
3
|
-
var _4=_3._createWrapper;
|
|
4
|
-
_3._createWrapper=function(_5){
|
|
5
|
-
if(!_5.declaredClass){
|
|
6
|
-
_5={_popupWrapper:(_5.parentNode&&_1.contains(_5.parentNode,"dijitPopup"))?_5.parentNode:null,domNode:_5,destroy:function(){
|
|
7
|
-
},ownerDocument:_5.ownerDocument,ownerDocumentBody:_2.body(_5.ownerDocument)};
|
|
8
|
-
}
|
|
9
|
-
return _4.call(this,_5);
|
|
10
|
-
};
|
|
11
|
-
var _6=_3.open;
|
|
12
|
-
_3.open=function(_7){
|
|
13
|
-
if(_7.orient&&typeof _7.orient!="string"&&!("length" in _7.orient)){
|
|
14
|
-
var _8=[];
|
|
15
|
-
for(var _9 in _7.orient){
|
|
16
|
-
_8.push({aroundCorner:_9,corner:_7.orient[_9]});
|
|
17
|
-
}
|
|
18
|
-
_7.orient=_8;
|
|
19
|
-
}
|
|
20
|
-
return _6.call(this,_7);
|
|
21
|
-
};
|
|
22
|
-
return _3;
|
|
23
|
-
});
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
define("dijit/_base/popup", [
|
|
2
|
-
"dojo/dom-class", // domClass.contains
|
|
3
|
-
"dojo/_base/window",
|
|
4
|
-
"../popup",
|
|
5
|
-
"../BackgroundIframe" // just loading for back-compat, in case client code is referencing it
|
|
6
|
-
], function(domClass, win, popup){
|
|
7
|
-
|
|
8
|
-
// module:
|
|
9
|
-
// dijit/_base/popup
|
|
10
|
-
|
|
11
|
-
/*=====
|
|
12
|
-
return {
|
|
13
|
-
// summary:
|
|
14
|
-
// Deprecated. Old module for popups, new code should use dijit/popup directly.
|
|
15
|
-
};
|
|
16
|
-
=====*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
// Hack support for old API passing in node instead of a widget (to various methods)
|
|
20
|
-
var origCreateWrapper = popup._createWrapper;
|
|
21
|
-
popup._createWrapper = function(widget){
|
|
22
|
-
if(!widget.declaredClass){
|
|
23
|
-
// make fake widget to pass to new API
|
|
24
|
-
widget = {
|
|
25
|
-
_popupWrapper: (widget.parentNode && domClass.contains(widget.parentNode, "dijitPopup")) ?
|
|
26
|
-
widget.parentNode : null,
|
|
27
|
-
domNode: widget,
|
|
28
|
-
destroy: function(){},
|
|
29
|
-
ownerDocument: widget.ownerDocument,
|
|
30
|
-
ownerDocumentBody: win.body(widget.ownerDocument)
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
return origCreateWrapper.call(this, widget);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
// Support old format of orient parameter
|
|
37
|
-
var origOpen = popup.open;
|
|
38
|
-
popup.open = function(/*__OpenArgs*/ args){
|
|
39
|
-
// Convert old hash structure (ex: {"BL": "TL", ...}) of orient to format compatible w/new popup.open() API.
|
|
40
|
-
// Don't do conversion for:
|
|
41
|
-
// - null parameter (that means to use the default positioning)
|
|
42
|
-
// - "R" or "L" strings used to indicate positioning for context menus (when there is no around node)
|
|
43
|
-
// - new format, ex: ["below", "above"]
|
|
44
|
-
// - return value from deprecated dijit.getPopupAroundAlignment() method,
|
|
45
|
-
// ex: ["below", "above"]
|
|
46
|
-
if(args.orient && typeof args.orient != "string" && !("length" in args.orient)){
|
|
47
|
-
var ary = [];
|
|
48
|
-
for(var key in args.orient){
|
|
49
|
-
ary.push({aroundCorner: key, corner: args.orient[key]});
|
|
50
|
-
}
|
|
51
|
-
args.orient = ary;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return origOpen.call(this, args);
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return popup;
|
|
58
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
define("dijit/_base/scroll", [
|
|
2
|
-
"dojo/window", // windowUtils.scrollIntoView
|
|
3
|
-
"../main" // export symbol to dijit
|
|
4
|
-
], function(windowUtils, dijit){
|
|
5
|
-
// module:
|
|
6
|
-
// dijit/_base/scroll
|
|
7
|
-
|
|
8
|
-
/*=====
|
|
9
|
-
return {
|
|
10
|
-
// summary:
|
|
11
|
-
// Back compatibility module, new code should use windowUtils directly instead of using this module.
|
|
12
|
-
};
|
|
13
|
-
=====*/
|
|
14
|
-
|
|
15
|
-
dijit.scrollIntoView = function(/*DomNode*/ node, /*Object?*/ pos){
|
|
16
|
-
// summary:
|
|
17
|
-
// Scroll the passed node into view, if it is not already.
|
|
18
|
-
// Deprecated, use `windowUtils.scrollIntoView` instead.
|
|
19
|
-
|
|
20
|
-
windowUtils.scrollIntoView(node, pos);
|
|
21
|
-
};
|
|
22
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
define("dijit/_base/sniff", [ "dojo/uacss" ], function(){
|
|
2
|
-
|
|
3
|
-
// module:
|
|
4
|
-
// dijit/_base/sniff
|
|
5
|
-
|
|
6
|
-
/*=====
|
|
7
|
-
return {
|
|
8
|
-
// summary:
|
|
9
|
-
// Deprecated, back compatibility module, new code should require dojo/uacss directly instead of this module.
|
|
10
|
-
};
|
|
11
|
-
=====*/
|
|
12
|
-
});
|