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