dojo_src 1.4.102 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -3
- data/bin/dojofy +1 -1
- data/dojo/dijit/Calendar.js +62 -24
- data/dojo/dijit/CheckedMenuItem.js +1 -1
- data/dojo/dijit/ColorPalette.js +43 -288
- data/dojo/dijit/Dialog.js +25 -24
- data/dojo/dijit/DialogUnderlay.js +3 -1
- data/dojo/dijit/Editor.js +229 -68
- data/dojo/dijit/InlineEditBox.js +72 -35
- data/dojo/dijit/LICENSE +1 -1
- data/dojo/dijit/Menu.js +75 -76
- data/dojo/dijit/MenuBar.js +5 -10
- data/dojo/dijit/MenuItem.js +18 -11
- data/dojo/dijit/PopupMenuItem.js +1 -0
- data/dojo/dijit/ProgressBar.js +1 -1
- data/dojo/dijit/TitlePane.js +18 -38
- data/dojo/dijit/Toolbar.js +4 -1
- data/dojo/dijit/ToolbarSeparator.js +1 -1
- data/dojo/dijit/Tooltip.js +7 -14
- data/dojo/dijit/Tree.js +116 -64
- data/dojo/dijit/_Container.js +5 -11
- data/dojo/dijit/_CssStateMixin.js +252 -0
- data/dojo/dijit/_DialogMixin.js +3 -1
- data/dojo/dijit/_HasDropDown.js +48 -58
- data/dojo/dijit/_KeyNavContainer.js +4 -4
- data/dojo/dijit/_PaletteMixin.js +313 -0
- data/dojo/dijit/_Templated.js +2 -1
- data/dojo/dijit/_TimePicker.js +11 -6
- data/dojo/dijit/_Widget.js +125 -63
- data/dojo/dijit/_base/focus.js +15 -9
- data/dojo/dijit/_base/manager.js +210 -183
- data/dojo/dijit/_base/place.js +3 -52
- data/dojo/dijit/_base/popup.js +101 -89
- data/dojo/dijit/_base/scroll.js +4 -91
- data/dojo/dijit/_base/sniff.js +3 -66
- data/dojo/dijit/_base/typematic.js +31 -27
- data/dojo/dijit/_base/window.js +3 -23
- data/dojo/dijit/_editor/RichText.js +180 -74
- data/dojo/dijit/_editor/_Plugin.js +17 -16
- data/dojo/dijit/_editor/html.js +1 -1
- data/dojo/dijit/_editor/nls/FontChoice.js +2 -1
- data/dojo/dijit/_editor/nls/ar/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/ar/commands.js +12 -6
- data/dojo/dijit/_editor/nls/ca/LinkDialog.js +8 -3
- data/dojo/dijit/_editor/nls/ca/commands.js +4 -0
- data/dojo/dijit/_editor/nls/da/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/da/commands.js +6 -1
- data/dojo/dijit/_editor/nls/el/LinkDialog.js +8 -2
- data/dojo/dijit/_editor/nls/el/commands.js +7 -2
- data/dojo/dijit/_editor/nls/fi/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/fi/commands.js +7 -2
- data/dojo/dijit/_editor/nls/he/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/he/commands.js +9 -2
- data/dojo/dijit/_editor/nls/ja/commands.js +9 -10
- data/dojo/dijit/_editor/nls/nb/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/nb/commands.js +5 -0
- data/dojo/dijit/_editor/nls/nl/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/nl/commands.js +5 -0
- data/dojo/dijit/_editor/nls/pt-pt/LinkDialog.js +8 -2
- data/dojo/dijit/_editor/nls/pt-pt/commands.js +5 -0
- data/dojo/dijit/_editor/nls/ro/FontChoice.js +27 -0
- data/dojo/dijit/_editor/nls/ro/LinkDialog.js +13 -0
- data/dojo/dijit/_editor/nls/ro/commands.js +48 -0
- data/dojo/dijit/_editor/nls/sk/LinkDialog.js +9 -4
- data/dojo/dijit/_editor/nls/sk/commands.js +4 -0
- data/dojo/dijit/_editor/nls/sl/LinkDialog.js +6 -1
- data/dojo/dijit/_editor/nls/sl/commands.js +12 -8
- data/dojo/dijit/_editor/nls/sv/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/sv/commands.js +8 -2
- data/dojo/dijit/_editor/nls/th/LinkDialog.js +6 -1
- data/dojo/dijit/_editor/nls/th/commands.js +6 -2
- data/dojo/dijit/_editor/nls/tr/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/tr/commands.js +5 -0
- data/dojo/dijit/_editor/nls/zh-tw/LinkDialog.js +1 -1
- data/dojo/dijit/_editor/nls/zh/commands.js +3 -3
- data/dojo/dijit/_editor/plugins/AlwaysShowToolbar.js +2 -2
- data/dojo/dijit/_editor/plugins/EnterKeyHandling.js +85 -4
- data/dojo/dijit/_editor/plugins/FontChoice.js +194 -32
- data/dojo/dijit/_editor/plugins/FullScreen.js +76 -32
- data/dojo/dijit/_editor/plugins/LinkDialog.js +79 -22
- data/dojo/dijit/_editor/plugins/NewPage.js +7 -2
- data/dojo/dijit/_editor/plugins/Print.js +6 -3
- data/dojo/dijit/_editor/plugins/TabIndent.js +2 -2
- data/dojo/dijit/_editor/plugins/TextColor.js +75 -23
- data/dojo/dijit/_editor/plugins/ToggleDir.js +1 -1
- data/dojo/dijit/_editor/plugins/ViewSource.js +53 -28
- data/dojo/dijit/_editor/range.js +22 -19
- data/dojo/dijit/_editor/selection.js +56 -4
- data/dojo/dijit/dijit-all.js +5 -1
- data/dojo/dijit/form/Button.js +24 -58
- data/dojo/dijit/form/CheckBox.js +27 -19
- data/dojo/dijit/form/ComboBox.js +73 -54
- data/dojo/dijit/form/CurrencyTextBox.js +8 -5
- data/dojo/dijit/form/FilteringSelect.js +14 -6
- data/dojo/dijit/form/Form.js +26 -16
- data/dojo/dijit/form/HorizontalRuleLabels.js +2 -2
- data/dojo/dijit/form/HorizontalSlider.js +12 -1
- data/dojo/dijit/form/MultiSelect.js +3 -3
- data/dojo/dijit/form/NumberSpinner.js +4 -5
- data/dojo/dijit/form/NumberTextBox.js +25 -17
- data/dojo/dijit/form/Select.js +24 -18
- data/dojo/dijit/form/SimpleTextarea.js +2 -2
- data/dojo/dijit/form/TextBox.js +72 -12
- data/dojo/dijit/form/Textarea.js +8 -1
- data/dojo/dijit/form/TimeTextBox.js +3 -2
- data/dojo/dijit/form/ValidationTextBox.js +56 -42
- data/dojo/dijit/form/VerticalRuleLabels.js +4 -1
- data/dojo/dijit/form/VerticalSlider.js +0 -30
- data/dojo/dijit/form/_DateTimeTextBox.js +23 -17
- data/dojo/dijit/form/_FormMixin.js +23 -19
- data/dojo/dijit/form/_FormSelectWidget.js +3 -3
- data/dojo/dijit/form/_FormWidget.js +66 -164
- data/dojo/dijit/form/_Spinner.js +18 -37
- data/dojo/dijit/form/nls/ro/ComboBox.js +5 -0
- data/dojo/dijit/form/nls/ro/Textarea.js +8 -0
- data/dojo/dijit/form/nls/ro/validate.js +6 -0
- data/dojo/dijit/form/templates/Button.html +15 -16
- data/dojo/dijit/form/templates/CheckBox.html +3 -3
- data/dojo/dijit/form/templates/ComboBox.html +13 -14
- data/dojo/dijit/form/templates/ComboButton.html +13 -10
- data/dojo/dijit/form/templates/DropDownButton.html +18 -20
- data/dojo/dijit/form/templates/HorizontalSlider.html +7 -7
- data/dojo/dijit/form/templates/Select.html +7 -8
- data/dojo/dijit/form/templates/Spinner.html +23 -24
- data/dojo/dijit/form/templates/TextBox.html +6 -4
- data/dojo/dijit/form/templates/ValidationTextBox.html +8 -10
- data/dojo/dijit/form/templates/VerticalSlider.html +8 -9
- data/dojo/dijit/icons/commonIcons.css +164 -0
- data/dojo/dijit/icons/commonIcons_rtl.css +127 -0
- data/dojo/dijit/icons/editorIcons.css +78 -0
- data/dojo/dijit/icons/editorIcons_rtl.css +23 -0
- data/dojo/dijit/icons/images/commonIconsObjActDisabled.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActDisabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled8bit.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled8bit_rtl.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/editorIconsDisabled.png +0 -0
- data/dojo/dijit/icons/images/editorIconsDisabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/editorIconsEnabled.png +0 -0
- data/dojo/dijit/icons/images/editorIconsEnabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/loadingAnimation_rtl.gif +0 -0
- data/dojo/dijit/layout/AccordionContainer.js +214 -104
- data/dojo/dijit/layout/BorderContainer.js +50 -38
- data/dojo/dijit/layout/ContentPane.js +13 -11
- data/dojo/dijit/layout/ScrollingTabController.js +29 -28
- data/dojo/dijit/layout/SplitContainer.js +0 -1
- data/dojo/dijit/layout/StackContainer.js +15 -22
- data/dojo/dijit/layout/StackController.js +15 -18
- data/dojo/dijit/layout/TabContainer.js +2 -0
- data/dojo/dijit/layout/TabController.js +21 -17
- data/dojo/dijit/layout/_LayoutWidget.js +0 -1
- data/dojo/dijit/layout/templates/AccordionButton.html +5 -3
- data/dojo/dijit/layout/templates/ScrollingTabController.html +13 -8
- data/dojo/dijit/layout/templates/_ScrollingTabControllerButton.html +4 -5
- data/dojo/dijit/layout/templates/_TabButton.html +10 -9
- data/dojo/dijit/nls/ro/common.js +7 -0
- data/dojo/dijit/nls/ro/loading.js +5 -0
- data/dojo/dijit/robot.js +0 -97
- data/dojo/dijit/robotx.js +1 -1
- data/dojo/dijit/templates/Calendar.html +6 -6
- data/dojo/dijit/templates/CheckedMenuItem.html +3 -4
- data/dojo/dijit/templates/ColorPalette.html +4 -3
- data/dojo/dijit/templates/Dialog.html +1 -1
- data/dojo/dijit/templates/Menu.html +1 -1
- data/dojo/dijit/templates/MenuBarItem.html +1 -1
- data/dojo/dijit/templates/MenuItem.html +3 -3
- data/dojo/dijit/templates/MenuSeparator.html +6 -2
- data/dojo/dijit/templates/ProgressBar.html +1 -2
- data/dojo/dijit/templates/TimePicker.html +1 -1
- data/dojo/dijit/templates/TitlePane.html +8 -6
- data/dojo/dijit/templates/TreeNode.html +3 -3
- data/dojo/dijit/tests/Tree.html +16 -30
- data/dojo/dijit/tests/Tree_with_JRS.html +33 -27
- data/dojo/dijit/tests/Widget-placeAt.html +6 -6
- data/dojo/dijit/tests/_Container.html +1 -1
- data/dojo/dijit/tests/_Templated-widgetsInTemplate.html +2 -2
- data/dojo/dijit/tests/_Widget-attr.html +26 -7
- data/dojo/dijit/tests/_Widget-connect-performance.html +1 -1
- data/dojo/dijit/tests/_Widget-deferredConnect.html +1 -1
- data/dojo/dijit/tests/_Widget-lifecycle.html +1 -1
- data/dojo/dijit/tests/_Widget-ondijitclick.html +1 -1
- data/dojo/dijit/tests/_Widget-subscribe.html +1 -1
- data/dojo/dijit/tests/_altCalendar.html +12 -11
- data/dojo/dijit/tests/_base/module.js +5 -9
- data/dojo/dijit/tests/_base/place.html +2 -1
- data/dojo/dijit/tests/_base/robot/FocusManager.html +0 -2
- data/dojo/dijit/tests/_base/robot/focus_mouse.html +0 -1
- data/dojo/dijit/tests/_base/robot/popup.html +0 -1
- data/dojo/dijit/tests/_base/robot/typematic.html +72 -0
- data/dojo/dijit/tests/_base/tabindex.html +1 -1
- data/dojo/dijit/tests/_base/test_FocusManager.html +3 -2
- data/dojo/dijit/tests/_base/test_focusWidget.html +1 -1
- data/dojo/dijit/tests/_base/test_typematic.html +10 -3
- data/dojo/dijit/tests/_testCommon.js +28 -12
- data/dojo/dijit/tests/bidi.html +188 -0
- data/dojo/dijit/tests/editor/BackForwardState.html +2 -2
- data/dojo/dijit/tests/editor/EnterKeyHandling.html +31 -11
- data/dojo/dijit/tests/editor/_Editor.html +5 -4
- data/dojo/dijit/tests/editor/nls_8859-2.html +4 -4
- data/dojo/dijit/tests/editor/nls_sjis.html +5 -5
- data/dojo/dijit/tests/editor/nls_utf8.html +2 -2
- data/dojo/dijit/tests/editor/robot/BackForwardState.html +8 -9
- data/dojo/dijit/tests/editor/robot/Editor_FontChoice.html +282 -757
- data/dojo/dijit/tests/editor/robot/Editor_FullScreen.html +55 -55
- data/dojo/dijit/tests/editor/robot/Editor_LinkDialog.html +502 -123
- data/dojo/dijit/tests/editor/robot/Editor_NewPage.html +11 -11
- data/dojo/dijit/tests/editor/robot/Editor_ViewSource.html +56 -56
- data/dojo/dijit/tests/editor/robot/Editor_a11y.html +14 -14
- data/dojo/dijit/tests/editor/robot/Editor_misc.html +120 -4
- data/dojo/dijit/tests/editor/robot/Editor_mouse.html +4 -4
- data/dojo/dijit/tests/editor/robot/EnterKeyHandling.html +128 -16
- data/dojo/dijit/tests/editor/test_CustomPlugin.html +4 -4
- data/dojo/dijit/tests/editor/test_Editor.html +103 -70
- data/dojo/dijit/tests/editor/test_FontChoice.html +19 -5
- data/dojo/dijit/tests/editor/test_FullScreen.html +2 -2
- data/dojo/dijit/tests/editor/test_LinkDialog.html +2 -2
- data/dojo/dijit/tests/editor/test_NewPage.html +2 -2
- data/dojo/dijit/tests/editor/test_Print.html +2 -2
- data/dojo/dijit/tests/editor/test_TabIndent.html +2 -2
- data/dojo/dijit/tests/editor/test_ToggleDir.html +2 -2
- data/dojo/dijit/tests/editor/test_ToggleDir_rtl.html +2 -2
- data/dojo/dijit/tests/editor/test_ViewSource.html +2 -2
- data/dojo/dijit/tests/editor/test_resize.html +1 -1
- data/dojo/dijit/tests/form/Form.html +30 -16
- data/dojo/dijit/tests/form/FormInvalid.html +4 -4
- data/dojo/dijit/tests/form/TextBox_sizes.html +532 -0
- data/dojo/dijit/tests/form/TextBox_sizes.js +456 -0
- data/dojo/dijit/tests/form/_autoComplete.html +35 -15
- data/dojo/dijit/tests/form/module.js +25 -1
- data/dojo/dijit/tests/form/robot/Button_a11y.html +27 -14
- data/dojo/dijit/tests/form/robot/Button_mouse.html +429 -18
- data/dojo/dijit/tests/form/robot/DateTextBox.html +31 -34
- data/dojo/dijit/tests/form/robot/Form.html +3 -4
- data/dojo/dijit/tests/form/robot/Select.html +410 -0
- data/dojo/dijit/tests/form/robot/Slider_a11y.html +27 -28
- data/dojo/dijit/tests/form/robot/Slider_mouse.html +29 -29
- data/dojo/dijit/tests/form/robot/Spinner_a11y.html +88 -51
- data/dojo/dijit/tests/form/robot/Spinner_mouse.html +36 -37
- data/dojo/dijit/tests/form/robot/Textarea.html +178 -0
- data/dojo/dijit/tests/form/robot/TimeTextBox.html +81 -0
- data/dojo/dijit/tests/form/robot/_autoComplete_a11y.html +128 -47
- data/dojo/dijit/tests/form/robot/_autoComplete_mouse.html +171 -24
- data/dojo/dijit/tests/form/robot/test_validate.html +362 -102
- data/dojo/dijit/tests/form/robot/validationMessages.html +470 -0
- data/dojo/dijit/tests/form/runTests.html +9 -0
- data/dojo/dijit/tests/form/test_Button.html +56 -10
- data/dojo/dijit/tests/form/test_CheckBox.html +212 -61
- data/dojo/dijit/tests/form/test_ComboBox_destroy.html +2 -2
- data/dojo/dijit/tests/form/test_DateTextBox.html +17 -12
- data/dojo/dijit/tests/form/test_Form_onsubmit.html +2 -2
- data/dojo/dijit/tests/form/test_MultiSelect.html +7 -7
- data/dojo/dijit/tests/form/test_Select.html +180 -97
- data/dojo/dijit/tests/form/test_SimpleTextarea.html +16 -11
- data/dojo/dijit/tests/form/test_Slider.html +4 -4
- data/dojo/dijit/tests/form/test_Spinner.html +10 -11
- data/dojo/dijit/tests/form/test_Textarea.html +80 -76
- data/dojo/dijit/tests/form/test_TimeTextBox.html +2 -2
- data/dojo/dijit/tests/form/test_validStatePerformance.html +6 -6
- data/dojo/dijit/tests/form/test_validate.html +34 -23
- data/dojo/dijit/tests/form/test_validationState.html +8 -8
- data/dojo/dijit/tests/general-module.js +1 -0
- data/dojo/dijit/tests/helpers.js +2 -2
- data/dojo/dijit/tests/i18n/calendar.html +2 -2
- data/dojo/dijit/tests/i18n/currency.html +1 -1
- data/dojo/dijit/tests/i18n/date.html +1 -1
- data/dojo/dijit/tests/i18n/digit.html +1 -1
- data/dojo/dijit/tests/i18n/module.js +6 -6
- data/dojo/dijit/tests/i18n/number.html +1 -1
- data/dojo/dijit/tests/i18n/textbox.html +1 -1
- data/dojo/dijit/tests/i18n/time.html +1 -1
- data/dojo/dijit/tests/images/copy.gif +0 -0
- data/dojo/dijit/tests/images/cut.gif +0 -0
- data/dojo/dijit/tests/images/note.gif +0 -0
- data/dojo/dijit/tests/images/paste.gif +0 -0
- data/dojo/dijit/tests/infrastructure-module.js +7 -7
- data/dojo/dijit/tests/layout/AccordionContainer.html +81 -23
- data/dojo/dijit/tests/layout/ContentPane.html +40 -40
- data/dojo/dijit/tests/layout/ContentPaneLayout.html +6 -6
- data/dojo/dijit/tests/layout/TabContainer.html +20 -20
- data/dojo/dijit/tests/layout/getResponse.php +1 -1
- data/dojo/dijit/tests/layout/module.js +9 -2
- data/dojo/dijit/tests/layout/nestedStack.html +1 -1
- data/dojo/dijit/tests/layout/robot/AccordionContainer_a11y.html +68 -0
- data/dojo/dijit/tests/layout/robot/AccordionContainer_mouse.html +53 -0
- data/dojo/dijit/tests/layout/robot/BorderContainer.html +358 -0
- data/dojo/dijit/tests/layout/robot/TabContainer_a11y.html +29 -12
- data/dojo/dijit/tests/layout/robot/TabContainer_mouse.html +19 -13
- data/dojo/dijit/tests/layout/test_AccordionContainer.html +12 -8
- data/dojo/dijit/tests/layout/test_AccordionContainerDestroy.html +3 -3
- data/dojo/dijit/tests/layout/test_BorderContainer.html +21 -19
- data/dojo/dijit/tests/layout/test_BorderContainer_complex.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_experimental.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_full.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_nested.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_prog.html +2 -2
- data/dojo/dijit/tests/layout/test_ContentPane.html +7 -7
- data/dojo/dijit/tests/layout/test_ContentPane_prog.html +4 -4
- data/dojo/dijit/tests/layout/test_Gui.html +2 -2
- data/dojo/dijit/tests/layout/test_LayoutContainer.html +2 -2
- data/dojo/dijit/tests/layout/test_SplitContainer.html +1 -1
- data/dojo/dijit/tests/layout/test_StackContainer.html +6 -6
- data/dojo/dijit/tests/layout/test_StackContainer_code.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer.html +10 -10
- data/dojo/dijit/tests/layout/test_TabContainerTitlePane.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer_noLayout.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer_prog.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer_remote.html +2 -2
- data/dojo/dijit/tests/layout/test_refreshOnShow.html +2 -2
- data/dojo/dijit/tests/robot/Calendar_a11y.html +6 -7
- data/dojo/dijit/tests/robot/ColorPalette.html +38 -21
- data/dojo/dijit/tests/robot/Dialog_a11y.html +58 -17
- data/dojo/dijit/tests/robot/Dialog_mouse.html +0 -1
- data/dojo/dijit/tests/robot/InlineEditBox.html +135 -24
- data/dojo/dijit/tests/robot/Menu_a11y.html +7 -7
- data/dojo/dijit/tests/robot/Menu_mouse.html +2 -11
- data/dojo/dijit/tests/robot/TitlePane.html +20 -20
- data/dojo/dijit/tests/robot/Toolbar.html +3 -4
- data/dojo/dijit/tests/robot/TooltipDialog_a11y.html +233 -110
- data/dojo/dijit/tests/robot/TooltipDialog_mouse.html +121 -0
- data/dojo/dijit/tests/robot/Tooltip_a11y.html +15 -15
- data/dojo/dijit/tests/robot/Tooltip_mouse.html +0 -1
- data/dojo/dijit/tests/robot/Tree_a11y.html +74 -1
- data/dojo/dijit/tests/robot/Tree_dnd.html +5 -5
- data/dojo/dijit/tests/robot/Tree_dnd_multiParent.html +4 -4
- data/dojo/dijit/tests/robot/_Widget-deferredConnect.html +0 -1
- data/dojo/dijit/tests/robot/_Widget-ondijitclick_a11y.html +0 -1
- data/dojo/dijit/tests/robot/_Widget-ondijitclick_mouse.html +0 -1
- data/dojo/dijit/tests/test.html +1 -1
- data/dojo/dijit/tests/test_Calendar.html +4 -4
- data/dojo/dijit/tests/test_ColorPalette.html +3 -3
- data/dojo/dijit/tests/test_ColorPalette_quirks.html +5 -0
- data/dojo/dijit/tests/test_Declaration.html +2 -2
- data/dojo/dijit/tests/test_Dialog.html +65 -4
- data/dojo/dijit/tests/test_Dialog_focusDestroy.html +2 -2
- data/dojo/dijit/tests/test_InlineEditBox.html +14 -5
- data/dojo/dijit/tests/test_Menu.html +10 -8
- data/dojo/dijit/tests/test_Menu_iframe.html +1 -1
- data/dojo/dijit/tests/test_ProgressBar.html +2 -2
- data/dojo/dijit/tests/test_TitlePane.html +18 -18
- data/dojo/dijit/tests/test_Toolbar.html +2 -2
- data/dojo/dijit/tests/test_Tooltip.html +3 -3
- data/dojo/dijit/tests/test_TooltipDialog.html +20 -10
- data/dojo/dijit/tests/test_Tree.html +26 -20
- data/dojo/dijit/tests/test_Tree_Notification_API_Support.html +2 -2
- data/dojo/dijit/tests/test_bgIframe.html +2 -2
- data/dojo/dijit/tests/test_instantiate.html +2 -2
- data/dojo/dijit/tests/tree/module.js +2 -2
- data/dojo/dijit/tests/tree/test_CustomLabel.html +2 -2
- data/dojo/dijit/tests/tree/test_Tree_DnD.html +2 -2
- data/dojo/dijit/tests/tree/test_Tree_Programmatic.html +2 -2
- data/dojo/dijit/tests/tree/test_Tree_v1.html +3 -3
- data/dojo/dijit/themes/a11y/colors3x4-rtl.png +0 -0
- data/dojo/dijit/themes/a11y/colors3x4.png +0 -0
- data/dojo/dijit/themes/a11y/colors7x10-rtl.png +0 -0
- data/dojo/dijit/themes/a11y/colors7x10.png +0 -0
- data/dojo/dijit/themes/claro/Calendar.css +257 -0
- data/dojo/dijit/themes/claro/Calendar_rtl.css +19 -0
- data/dojo/dijit/themes/claro/ColorPalette.css +44 -0
- data/dojo/dijit/themes/claro/Common.css +79 -0
- data/dojo/dijit/themes/claro/Dialog.css +212 -0
- data/dojo/dijit/themes/claro/Dialog_rtl.css +10 -0
- data/dojo/dijit/themes/claro/Editor.css +56 -0
- data/dojo/dijit/themes/claro/Editor_rtl.css +7 -0
- data/dojo/dijit/themes/claro/InlineEditBox.css +23 -0
- data/dojo/dijit/themes/claro/Menu.css +182 -0
- data/dojo/dijit/themes/claro/Menu_rtl.css +9 -0
- data/dojo/dijit/themes/claro/ProgressBar.css +53 -0
- data/dojo/dijit/themes/claro/TimePicker.css +125 -0
- data/dojo/dijit/themes/claro/TimePicker_rtl.css +10 -0
- data/dojo/dijit/themes/claro/TitlePane.css +73 -0
- data/dojo/dijit/themes/claro/TitlePane_rtl.css +4 -0
- data/dojo/dijit/themes/claro/Toolbar.css +170 -0
- data/dojo/dijit/themes/claro/Tree.css +122 -0
- data/dojo/dijit/themes/claro/claro.css +29 -0
- data/dojo/dijit/themes/claro/claro_rtl.css +15 -0
- data/dojo/dijit/themes/claro/document.css +109 -0
- data/dojo/dijit/themes/claro/form/Button.css +168 -0
- data/dojo/dijit/themes/claro/form/Button_rtl.css +22 -0
- data/dojo/dijit/themes/claro/form/Checkbox.css +77 -0
- data/dojo/dijit/themes/claro/form/Common.css +176 -0
- data/dojo/dijit/themes/claro/form/Common_rtl.css +10 -0
- data/dojo/dijit/themes/claro/form/NumberSpinner.css +143 -0
- data/dojo/dijit/themes/claro/form/RadioButton.css +82 -0
- data/dojo/dijit/themes/claro/form/Select.css +124 -0
- data/dojo/dijit/themes/claro/form/Select_rtl.css +4 -0
- data/dojo/dijit/themes/claro/form/Slider.css +359 -0
- data/dojo/dijit/themes/claro/form/Slider_rtl.css +31 -0
- data/dojo/dijit/themes/claro/form/images/button.png +0 -0
- data/dojo/dijit/themes/claro/form/images/buttonArrows.png +0 -0
- data/dojo/dijit/themes/claro/form/images/button_grad_d.png +0 -0
- data/dojo/dijit/themes/claro/form/images/checkboxAndRadioButtons_IE6.png +0 -0
- data/dojo/dijit/themes/claro/form/images/checkboxRadioButtonStates.png +0 -0
- data/dojo/dijit/themes/claro/form/images/commonFormArrows.png +0 -0
- data/dojo/dijit/themes/claro/form/images/error.png +0 -0
- data/dojo/dijit/themes/claro/form/images/formHighlight.png +0 -0
- data/dojo/dijit/themes/claro/form/images/shadow.png +0 -0
- data/dojo/dijit/themes/claro/form/images/sliderHorizontal.png +0 -0
- data/dojo/dijit/themes/claro/form/images/sliderThumbs.png +0 -0
- data/dojo/dijit/themes/claro/form/images/sliderVertical.png +0 -0
- data/dojo/dijit/themes/claro/form/images/textBox_back.png +0 -0
- data/dojo/dijit/themes/claro/images/calendarArrows.png +0 -0
- data/dojo/dijit/themes/claro/images/calendarArrows8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/calendarContainerImages.png +0 -0
- data/dojo/dijit/themes/claro/images/checkmarkNoBorder.gif +0 -0
- data/dojo/dijit/themes/claro/images/checkmarkNoBorder.png +0 -0
- data/dojo/dijit/themes/claro/images/commonHighlight.png +0 -0
- data/dojo/dijit/themes/claro/images/dialogCloseIcon.png +0 -0
- data/dojo/dijit/themes/claro/images/dialogCloseIcon8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/dnd.png +0 -0
- data/dojo/dijit/themes/claro/images/loading.gif +0 -0
- data/dojo/dijit/themes/claro/images/loadingAnimation.gif +0 -0
- data/dojo/dijit/themes/claro/images/menuHighlight.png +0 -0
- data/dojo/dijit/themes/claro/images/progressBarAnim.gif +0 -0
- data/dojo/dijit/themes/claro/images/progressBarEmpty.png +0 -0
- data/dojo/dijit/themes/claro/images/progressBarFull.png +0 -0
- data/dojo/dijit/themes/claro/images/spriteArrows.png +0 -0
- data/dojo/dijit/themes/claro/images/titlebar.png +0 -0
- data/dojo/dijit/themes/claro/images/tooltip.png +0 -0
- data/dojo/dijit/themes/claro/images/tooltip8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/treeExpandImages.png +0 -0
- data/dojo/dijit/themes/claro/images/treeExpandImages8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/treeExpand_loading.gif +0 -0
- data/dojo/dijit/themes/claro/layout/AccordionContainer.css +108 -0
- data/dojo/dijit/themes/claro/layout/BorderContainer.css +134 -0
- data/dojo/dijit/themes/claro/layout/ContentPane.css +40 -0
- data/dojo/dijit/themes/claro/layout/TabContainer.css +439 -0
- data/dojo/dijit/themes/claro/layout/TabContainer_rtl.css +77 -0
- data/dojo/dijit/themes/claro/layout/images/accordion.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/splitterHorizontalHover.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/splitterVerticalHover.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabBottom.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabClose.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabLeft.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabNested.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabRight.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabTop.png +0 -0
- data/dojo/dijit/themes/dijit.css +633 -452
- data/dojo/dijit/themes/dijit_rtl.css +70 -59
- data/dojo/dijit/themes/nihilo/Calendar.css +0 -14
- data/dojo/dijit/themes/nihilo/Dialog.css +2 -5
- data/dojo/dijit/themes/nihilo/Editor.css +3 -58
- data/dojo/dijit/themes/nihilo/Editor_rtl.css +2 -6
- data/dojo/dijit/themes/nihilo/TimePicker.css +1 -11
- data/dojo/dijit/themes/nihilo/TimePicker_rtl.css +4 -0
- data/dojo/dijit/themes/nihilo/TitlePane.css +3 -32
- data/dojo/dijit/themes/nihilo/Toolbar.css +2 -2
- data/dojo/dijit/themes/nihilo/Tree.css +2 -20
- data/dojo/dijit/themes/nihilo/Tree_rtl.css +10 -16
- data/dojo/dijit/themes/nihilo/form/Button.css +36 -20
- data/dojo/dijit/themes/nihilo/form/Common.css +11 -37
- data/dojo/dijit/themes/nihilo/form/Select.css +4 -11
- data/dojo/dijit/themes/nihilo/form/Slider.css +0 -8
- data/dojo/dijit/themes/nihilo/layout/AccordionContainer.css +2 -4
- data/dojo/dijit/themes/nihilo/layout/AccordionContainer_rtl.css +1 -1
- data/dojo/dijit/themes/nihilo/layout/TabContainer.css +12 -23
- data/dojo/dijit/themes/nihilo/nihilo.css +2 -1
- data/dojo/dijit/themes/nihilo/nihilo_rtl.css +3 -2
- data/dojo/dijit/themes/soria/Calendar.css +0 -14
- data/dojo/dijit/themes/soria/Dialog.css +2 -5
- data/dojo/dijit/themes/soria/Editor.css +3 -57
- data/dojo/dijit/themes/soria/Editor_rtl.css +2 -7
- data/dojo/dijit/themes/soria/TimePicker.css +0 -10
- data/dojo/dijit/themes/soria/TimePicker_rtl.css +4 -0
- data/dojo/dijit/themes/soria/TitlePane.css +4 -30
- data/dojo/dijit/themes/soria/Toolbar.css +2 -2
- data/dojo/dijit/themes/soria/Tree.css +3 -20
- data/dojo/dijit/themes/soria/Tree_rtl.css +11 -12
- data/dojo/dijit/themes/soria/form/Button.css +38 -29
- data/dojo/dijit/themes/soria/form/Common.css +10 -36
- data/dojo/dijit/themes/soria/form/Select.css +4 -11
- data/dojo/dijit/themes/soria/form/Slider.css +0 -8
- data/dojo/dijit/themes/soria/layout/AccordionContainer.css +2 -4
- data/dojo/dijit/themes/soria/layout/AccordionContainer_rtl.css +1 -1
- data/dojo/dijit/themes/soria/layout/TabContainer.css +17 -34
- data/dojo/dijit/themes/soria/soria.css +2 -2
- data/dojo/dijit/themes/soria/soria_rtl.css +3 -2
- data/dojo/dijit/themes/themeTester.html +215 -100
- data/dojo/dijit/themes/tundra/Calendar.css +9 -20
- data/dojo/dijit/themes/tundra/Calendar_rtl.css +2 -2
- data/dojo/dijit/themes/tundra/Dialog.css +6 -25
- data/dojo/dijit/themes/tundra/Dialog_rtl.css +1 -1
- data/dojo/dijit/themes/tundra/Editor.css +5 -58
- data/dojo/dijit/themes/tundra/Editor_rtl.css +4 -9
- data/dojo/dijit/themes/tundra/Menu.css +2 -2
- data/dojo/dijit/themes/tundra/Menu_rtl.css +1 -6
- data/dojo/dijit/themes/tundra/TimePicker.css +0 -10
- data/dojo/dijit/themes/tundra/TimePicker_rtl.css +4 -0
- data/dojo/dijit/themes/tundra/TitlePane.css +4 -38
- data/dojo/dijit/themes/tundra/TitlePane_rtl.css +1 -1
- data/dojo/dijit/themes/tundra/Toolbar.css +12 -2
- data/dojo/dijit/themes/tundra/Tree.css +3 -22
- data/dojo/dijit/themes/tundra/Tree_rtl.css +9 -9
- data/dojo/dijit/themes/tundra/form/Button.css +35 -59
- data/dojo/dijit/themes/tundra/form/Common.css +12 -84
- data/dojo/dijit/themes/tundra/form/RadioButton.css +11 -13
- data/dojo/dijit/themes/tundra/form/Select.css +15 -22
- data/dojo/dijit/themes/tundra/form/Slider.css +0 -7
- data/dojo/dijit/themes/tundra/form/Slider_rtl.css +12 -12
- data/dojo/dijit/themes/tundra/layout/AccordionContainer.css +2 -4
- data/dojo/dijit/themes/tundra/layout/SplitContainer.css +0 -4
- data/dojo/dijit/themes/tundra/layout/TabContainer.css +19 -44
- data/dojo/dijit/themes/tundra/layout/TabContainer_rtl.css +21 -9
- data/dojo/dijit/themes/tundra/tundra.css +2 -1
- data/dojo/dijit/themes/tundra/tundra_rtl.css +2 -1
- data/dojo/dijit/tree/TreeStoreModel.js +13 -12
- data/dojo/dojo/DeferredList.js +66 -78
- data/dojo/dojo/LICENSE +1 -1
- data/dojo/dojo/NodeList-fx.js +92 -18
- data/dojo/dojo/Stateful.js +123 -0
- data/dojo/dojo/_base.js +1 -1
- data/dojo/dojo/_base/Deferred.js +211 -301
- data/dojo/dojo/_base/NodeList.js +28 -5
- data/dojo/dojo/_base/_loader/bootstrap.js +5 -16
- data/dojo/dojo/_base/_loader/hostenv_browser.js +42 -24
- data/dojo/dojo/_base/connect.js +13 -13
- data/dojo/dojo/_base/declare.js +81 -17
- data/dojo/dojo/_base/fx.js +75 -77
- data/dojo/dojo/_base/html.js +20 -10
- data/dojo/dojo/_base/json.js +2 -1
- data/dojo/dojo/back.js +7 -0
- data/dojo/dojo/cache.js +7 -8
- data/dojo/dojo/cldr/monetary.js +7 -4
- data/dojo/dojo/cldr/nls/ar/gregorian.js +7 -3
- data/dojo/dojo/cldr/nls/ar/hebrew.js +12 -16
- data/dojo/dojo/cldr/nls/ar/islamic-civil.js +124 -49
- data/dojo/dojo/cldr/nls/ar/islamic.js +61 -70
- data/dojo/dojo/cldr/nls/buddhist.js +236 -0
- data/dojo/dojo/cldr/nls/ca/gregorian.js +152 -148
- data/dojo/dojo/cldr/nls/cs/gregorian.js +110 -100
- data/dojo/dojo/cldr/nls/cs/number.js +1 -1
- data/dojo/dojo/cldr/nls/currency.js +0 -1
- data/dojo/dojo/cldr/nls/da/gregorian.js +144 -145
- data/dojo/dojo/cldr/nls/de/gregorian.js +22 -24
- data/dojo/dojo/cldr/nls/el/gregorian.js +15 -14
- data/dojo/dojo/cldr/nls/en-au/gregorian.js +3 -0
- data/dojo/dojo/cldr/nls/en-ca/gregorian.js +10 -0
- data/dojo/dojo/cldr/nls/en/gregorian.js +12 -10
- data/dojo/dojo/cldr/nls/es/gregorian.js +19 -20
- data/dojo/dojo/cldr/nls/fi/gregorian.js +15 -14
- data/dojo/dojo/cldr/nls/fr/gregorian.js +15 -17
- data/dojo/dojo/cldr/nls/gregorian.js +14 -8
- data/dojo/dojo/cldr/nls/he/gregorian.js +48 -49
- data/dojo/dojo/cldr/nls/he/hebrew.js +23 -56
- data/dojo/dojo/cldr/nls/he/islamic.js +17 -19
- data/dojo/dojo/cldr/nls/hebrew.js +133 -124
- data/dojo/dojo/cldr/nls/hu/gregorian.js +20 -17
- data/dojo/dojo/cldr/nls/islamic.js +132 -129
- data/dojo/dojo/cldr/nls/it/gregorian.js +143 -145
- data/dojo/dojo/cldr/nls/ja/gregorian.js +17 -17
- data/dojo/dojo/cldr/nls/ko/gregorian.js +19 -19
- data/dojo/dojo/cldr/nls/nb/gregorian.js +141 -143
- data/dojo/dojo/cldr/nls/nl/gregorian.js +12 -14
- data/dojo/dojo/cldr/nls/pl/gregorian.js +149 -143
- data/dojo/dojo/cldr/nls/pt-pt/gregorian.js +83 -39
- data/dojo/dojo/cldr/nls/pt/gregorian.js +14 -16
- data/dojo/dojo/cldr/nls/ru/gregorian.js +138 -146
- data/dojo/dojo/cldr/nls/sk/gregorian.js +15 -6
- data/dojo/dojo/cldr/nls/sl/gregorian.js +12 -11
- data/dojo/dojo/cldr/nls/sv/gregorian.js +23 -17
- data/dojo/dojo/cldr/nls/th/buddhist.js +10 -13
- data/dojo/dojo/cldr/nls/th/gregorian.js +140 -136
- data/dojo/dojo/cldr/nls/tr/gregorian.js +13 -13
- data/dojo/dojo/cldr/nls/zh-tw/gregorian.js +15 -2
- data/dojo/dojo/cldr/nls/zh/gregorian.js +17 -14
- data/dojo/dojo/cldr/supplemental.js +10 -10
- data/dojo/dojo/currency.js +27 -14
- data/dojo/dojo/data/ItemFileReadStore.js +22 -21
- data/dojo/dojo/date/locale.js +9 -9
- data/dojo/dojo/date/stamp.js +3 -5
- data/dojo/dojo/dnd/Container.js +3 -1
- data/dojo/dojo/dnd/Manager.js +1 -1
- data/dojo/dojo/dnd/Moveable.js +2 -2
- data/dojo/dojo/dnd/Mover.js +5 -5
- data/dojo/dojo/dnd/Source.js +9 -8
- data/dojo/dojo/dnd/common.js +1 -1
- data/dojo/dojo/dojo.js +6 -18
- data/dojo/dojo/hash.js +20 -15
- data/dojo/dojo/html.js +7 -6
- data/dojo/dojo/nls/ro/colors.js +155 -0
- data/dojo/dojo/number.js +67 -56
- data/dojo/dojo/parser.js +167 -47
- data/dojo/dojo/resources/dojo.css +5 -6
- data/dojo/dojo/robot.js +85 -11
- data/dojo/dojo/tests/NodeList-fx.html +58 -38
- data/dojo/dojo/tests/Stateful.js +36 -0
- data/dojo/dojo/tests/_base/Deferred.js +95 -0
- data/dojo/dojo/tests/_base/NodeList.html +9 -1
- data/dojo/dojo/tests/_base/declare.js +65 -3
- data/dojo/dojo/tests/_base/fx.html +55 -49
- data/dojo/dojo/tests/_base/html.html +7 -0
- data/dojo/dojo/tests/_base/html_rtl.html +1 -0
- data/dojo/dojo/tests/cache.js +7 -0
- data/dojo/dojo/tests/currency.js +3 -2
- data/dojo/dojo/tests/date/locale.js +7 -3
- data/dojo/dojo/tests/date/stamp.js +4 -0
- data/dojo/dojo/tests/dnd/robot/test_dnd.html +1 -1
- data/dojo/dojo/tests/hash.js +26 -1
- data/dojo/dojo/tests/module.js +3 -0
- data/dojo/dojo/tests/number.js +7 -0
- data/dojo/dojo/tests/parser.html +90 -10
- data/dojo/dojo/tests/uacss.js +10 -0
- data/dojo/{dijit/tests/_base → dojo/tests/uacss}/sniffQuirks.html +5 -4
- data/dojo/{dijit/tests/_base → dojo/tests/uacss}/sniffStandards.html +4 -4
- data/dojo/dojo/tests/window.js +11 -0
- data/dojo/{dijit/tests/_base → dojo/tests/window}/test_scroll.html +155 -229
- data/dojo/{dijit/tests/_base/test_scrollStrictDTD.html → dojo/tests/window/test_scrollNoDTD.html} +30 -35
- data/dojo/{dijit/tests/_base/test_scrollNoDTD.html → dojo/tests/window/test_scrollStrictDTD.html} +30 -31
- data/dojo/{dijit/tests/_base → dojo/tests/window}/viewport.html +8 -10
- data/dojo/dojo/tests/window/viewportQuirks.html +5 -0
- data/dojo/dojo/uacss.js +63 -0
- data/dojo/dojo/window.js +132 -0
- data/dojo/dojox/LICENSE +1 -1
- data/dojo/dojox/atom/io/model.js +1 -1
- data/dojo/dojox/atom/widget/nls/ro/FeedEntryEditor.js +7 -0
- data/dojo/dojox/atom/widget/nls/ro/FeedEntryViewer.js +12 -0
- data/dojo/dojox/atom/widget/nls/ro/FeedViewerEntry.js +4 -0
- data/dojo/dojox/atom/widget/nls/ro/PeopleEditor.js +6 -0
- data/dojo/dojox/av/FLAudio.js +62 -49
- data/dojo/dojox/av/resources/audio.swf +0 -0
- data/dojo/dojox/av/tests/test_FLAudio.html +15 -9
- data/dojo/dojox/charting/Chart2D.js +609 -51
- data/dojo/dojox/charting/DataChart.js +72 -63
- data/dojo/dojox/charting/DataSeries.js +183 -0
- data/dojo/dojox/charting/Element.js +201 -3
- data/dojo/dojox/charting/Series.js +47 -4
- data/dojo/dojox/charting/Theme.js +590 -189
- data/dojo/dojox/charting/action2d/Base.js +31 -5
- data/dojo/dojox/charting/action2d/Highlight.js +37 -12
- data/dojo/dojox/charting/action2d/Magnify.js +39 -13
- data/dojo/dojox/charting/action2d/MoveSlice.js +42 -13
- data/dojo/dojox/charting/action2d/Shake.js +36 -12
- data/dojo/dojox/charting/action2d/Tooltip.js +205 -7
- data/dojo/dojox/charting/axis2d/Base.js +46 -7
- data/dojo/dojox/charting/axis2d/Default.js +414 -238
- data/dojo/dojox/charting/axis2d/Invisible.js +290 -0
- data/dojo/dojox/charting/axis2d/common.js +53 -7
- data/dojo/dojox/charting/plot2d/Areas.js +2 -0
- data/dojo/dojox/charting/plot2d/Bars.js +94 -63
- data/dojo/dojox/charting/plot2d/Base.js +143 -53
- data/dojo/dojox/charting/plot2d/Bubble.js +139 -65
- data/dojo/dojox/charting/plot2d/Candlesticks.js +143 -80
- data/dojo/dojox/charting/plot2d/ClusteredBars.js +60 -58
- data/dojo/dojox/charting/plot2d/ClusteredColumns.js +59 -57
- data/dojo/dojox/charting/plot2d/Columns.js +78 -60
- data/dojo/dojox/charting/plot2d/Default.js +280 -121
- data/dojo/dojox/charting/plot2d/Grid.js +181 -19
- data/dojo/dojox/charting/plot2d/Lines.js +4 -0
- data/dojo/dojox/charting/plot2d/Markers.js +4 -0
- data/dojo/dojox/charting/plot2d/MarkersOnly.js +4 -0
- data/dojo/dojox/charting/plot2d/OHLC.js +127 -69
- data/dojo/dojox/charting/plot2d/Pie.js +200 -105
- data/dojo/dojox/charting/plot2d/Scatter.js +194 -8
- data/dojo/dojox/charting/plot2d/Stacked.js +71 -46
- data/dojo/dojox/charting/plot2d/StackedAreas.js +4 -0
- data/dojo/dojox/charting/plot2d/StackedBars.js +75 -64
- data/dojo/dojox/charting/plot2d/StackedColumns.js +75 -64
- data/dojo/dojox/charting/plot2d/StackedLines.js +4 -0
- data/dojo/dojox/charting/plot2d/_PlotEvents.js +123 -0
- data/dojo/dojox/charting/plot2d/common.js +44 -35
- data/dojo/dojox/charting/scaler/primitive.js +6 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars1.html +85 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars2.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars3.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars4.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars5.html +82 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble1.html +71 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble2.html +65 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble3.html +66 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble4.html +65 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble6.html +71 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns1.html +85 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns2.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns3.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns4.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns5.html +82 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie1.html +58 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie2.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie3.html +53 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie4.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie7.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie8.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie9.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pieA.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_scatter1.html +71 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_scatter2.html +65 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_scatterB.html +54 -0
- data/dojo/dojox/charting/tests/stock.json +0 -1
- data/dojo/dojox/charting/tests/test_DataChart.html +3 -1
- data/dojo/dojox/charting/tests/test_DataSeries.html +216 -0
- data/dojo/dojox/charting/tests/test_anim2d.html +2 -0
- data/dojo/dojox/charting/tests/test_axes.html +81 -0
- data/dojo/dojox/charting/tests/test_axisZoomControl.html +91 -0
- data/dojo/dojox/charting/tests/test_bars.html +4 -2
- data/dojo/dojox/charting/tests/test_chart2d.html +14 -8
- data/dojo/dojox/charting/tests/test_chart2d_dynamics.html +4 -2
- data/dojo/dojox/charting/tests/test_chart2d_updating.html +2 -0
- data/dojo/dojox/charting/tests/test_cylinders.html +4 -2
- data/dojo/dojox/charting/tests/test_event2d.html +6 -3
- data/dojo/dojox/charting/tests/test_fireEvent.html +204 -0
- data/dojo/dojox/charting/tests/test_labels2d.html +57 -3
- data/dojo/dojox/charting/tests/test_nulls.html +89 -0
- data/dojo/dojox/charting/tests/test_pie2d.html +7 -4
- data/dojo/dojox/charting/tests/test_plot_order.html +96 -0
- data/dojo/dojox/charting/tests/test_rotatedLabels.html +85 -0
- data/dojo/dojox/charting/tests/test_scaler.html +4 -2
- data/dojo/dojox/charting/tests/test_series_order.html +88 -0
- data/dojo/dojox/charting/tests/test_sparklines.html +2 -0
- data/dojo/dojox/charting/tests/test_tension.html +55 -0
- data/dojo/dojox/charting/tests/test_themes.html +270 -115
- data/dojo/dojox/charting/tests/test_widget2d.html +3 -1
- data/dojo/dojox/charting/tests/test_win2d.html +6 -4
- data/dojo/dojox/charting/tests/theme_preview.html +69 -0
- data/dojo/dojox/charting/themes/Charged.js +91 -0
- data/dojo/dojox/charting/themes/Chris.js +77 -0
- data/dojo/dojox/charting/themes/Electric.js +92 -0
- data/dojo/dojox/charting/themes/Ireland.js +2 -2
- data/dojo/dojox/charting/themes/Julie.js +70 -0
- data/dojo/dojox/charting/themes/PlotKit/base.js +53 -0
- data/dojo/dojox/charting/themes/PlotKit/blue.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/cyan.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/green.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/orange.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/purple.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/red.js +6 -35
- data/dojo/dojox/charting/themes/PrimaryColors.js +14 -0
- data/dojo/dojox/charting/themes/Renkoo.js +85 -0
- data/dojo/dojox/charting/themes/ThreeD.js +49 -0
- data/dojo/dojox/charting/themes/Tom.js +87 -0
- data/dojo/dojox/charting/themes/Tufte.js +45 -50
- data/dojo/dojox/charting/themes/gradientGenerator.js +83 -0
- data/dojo/dojox/charting/widget/Chart2D.js +21 -1
- data/dojo/dojox/charting/widget/Legend.js +10 -1
- data/dojo/dojox/color/Palette.js +124 -17
- data/dojo/dojox/css3/fx.js +183 -0
- data/dojo/dojox/data/AndOrReadStore.js +4 -2
- data/dojo/dojox/data/ClientFilter.js +1 -1
- data/dojo/dojox/data/FlickrRestStore.js +86 -88
- data/dojo/dojox/data/HtmlStore.js +1 -1
- data/dojo/dojox/data/ItemExplorer.js +3 -3
- data/dojo/dojox/data/PersevereStore.js +1 -1
- data/dojo/dojox/data/QueryReadStore.js +6 -9
- data/dojo/dojox/data/ServiceStore.js +9 -2
- data/dojo/dojox/data/StoreExplorer.js +2 -2
- data/dojo/dojox/data/XmlStore.js +1 -1
- data/dojo/dojox/data/demos/stores/LazyLoadJSIStore.js +1 -1
- data/dojo/dojox/data/s3/proxy.example-php +73 -73
- data/dojo/dojox/data/tests/stores/FlickrRestStore.js +1 -1
- data/dojo/dojox/data/util/JsonQuery.js +0 -3
- data/dojo/dojox/date/README +7 -1
- data/dojo/dojox/date/buddhist/locale.js +5 -5
- data/dojo/dojox/date/hebrew/locale.js +41 -18
- data/dojo/dojox/date/hebrew/numerals.js +17 -13
- data/dojo/dojox/date/islamic.js +0 -1
- data/dojo/dojox/date/islamic/Date.js +17 -19
- data/dojo/dojox/date/islamic/locale.js +37 -16
- data/dojo/dojox/date/posix.js +1 -1
- data/dojo/dojox/date/tests/hebrew/Date.js +2 -2
- data/dojo/dojox/date/tests/islamic/Date.js +200 -17
- data/dojo/dojox/date/timezone.js +59 -62
- data/dojo/dojox/dnd/BoundingBoxController.js +130 -0
- data/dojo/dojox/dnd/README +22 -0
- data/dojo/dojox/dnd/Selector.js +159 -0
- data/dojo/dojox/dnd/tests/robot/test_selector.html +71 -0
- data/dojo/dojox/dnd/tests/test_selector.html +57 -0
- data/dojo/dojox/drawing/Drawing.js +24 -17
- data/dojo/dojox/drawing/_base.js +0 -1
- data/dojo/dojox/drawing/annotations/Angle.js +17 -10
- data/dojo/dojox/drawing/annotations/BoxShadow.js +92 -4
- data/dojo/dojox/drawing/annotations/Label.js +6 -6
- data/dojo/dojox/drawing/defaults.js +44 -27
- data/dojo/dojox/drawing/library/icons.js +7 -0
- data/dojo/dojox/drawing/manager/Anchors.js +22 -10
- data/dojo/dojox/drawing/manager/Canvas.js +6 -5
- data/dojo/dojox/drawing/manager/Mouse.js +45 -19
- data/dojo/dojox/drawing/manager/Stencil.js +29 -26
- data/dojo/dojox/drawing/manager/_registry.js +4 -1
- data/dojo/dojox/drawing/manager/keys.js +1 -1
- data/dojo/dojox/drawing/plugins/_Plugin.js +1 -1
- data/dojo/dojox/drawing/plugins/drawing/Grid.js +15 -4
- data/dojo/dojox/drawing/plugins/drawing/Silverlight.js +1 -1
- data/dojo/dojox/drawing/plugins/tools/Pan.js +29 -5
- data/dojo/dojox/drawing/plugins/tools/Zoom.js +4 -4
- data/dojo/dojox/drawing/stencil/Ellipse.js +1 -1
- data/dojo/dojox/drawing/stencil/Line.js +0 -17
- data/dojo/dojox/drawing/stencil/Path.js +17 -13
- data/dojo/dojox/drawing/stencil/Text.js +26 -7
- data/dojo/dojox/drawing/stencil/_Base.js +163 -159
- data/dojo/dojox/drawing/tests/drawing.html +34 -35
- data/dojo/dojox/drawing/tests/test_drawing.html +20 -21
- data/dojo/dojox/drawing/tests/test_shadows.html +18 -18
- data/dojo/dojox/drawing/tools/Ellipse.js +20 -6
- data/dojo/dojox/drawing/tools/Line.js +19 -9
- data/dojo/dojox/drawing/tools/Rect.js +21 -7
- data/dojo/dojox/drawing/tools/TextBlock.js +37 -29
- data/dojo/dojox/drawing/tools/custom/Axes.js +249 -97
- data/dojo/dojox/drawing/tools/custom/Vector.js +298 -6
- data/dojo/dojox/drawing/ui/Button.js +45 -20
- data/dojo/dojox/drawing/ui/Toolbar.js +94 -29
- data/dojo/dojox/drawing/ui/Tooltip.js +3 -3
- data/dojo/dojox/drawing/ui/dom/Pan.js +2 -2
- data/dojo/dojox/drawing/ui/dom/Toolbar.js +4 -4
- data/dojo/dojox/drawing/util/common.js +20 -14
- data/dojo/dojox/drawing/util/oo.js +1 -1
- data/dojo/dojox/dtl/Context.js +8 -7
- data/dojo/dojox/dtl/_DomTemplated.js +5 -1
- data/dojo/dojox/dtl/_Templated.js +38 -3
- data/dojo/dojox/dtl/_base.js +17 -8
- data/dojo/dojox/dtl/tests/context.js +11 -2
- data/dojo/dojox/editor/README +95 -2
- data/dojo/dojox/editor/plugins/Blockquote.js +506 -0
- data/dojo/dojox/editor/plugins/Breadcrumb.js +31 -25
- data/dojo/dojox/editor/plugins/CollapsibleToolbar.js +174 -0
- data/dojo/dojox/editor/plugins/EntityPalette.js +112 -290
- data/dojo/dojox/editor/plugins/FindReplace.js +490 -163
- data/dojo/dojox/editor/plugins/InsertAnchor.js +430 -0
- data/dojo/dojox/editor/plugins/NormalizeIndentOutdent.js +3 -51
- data/dojo/dojox/editor/plugins/NormalizeStyle.js +551 -0
- data/dojo/dojox/editor/plugins/PasteFromWord.js +206 -0
- data/dojo/dojox/editor/plugins/Preview.js +1 -1
- data/dojo/dojox/editor/plugins/Save.js +4 -4
- data/dojo/dojox/editor/plugins/ShowBlockNodes.js +1 -1
- data/dojo/dojox/editor/plugins/Smiley.js +48 -22
- data/dojo/dojox/editor/plugins/StatusBar.js +172 -0
- data/dojo/dojox/editor/plugins/TablePlugins.js +454 -394
- data/dojo/dojox/editor/plugins/TextColor.js +191 -0
- data/dojo/dojox/editor/plugins/ToolbarLineBreak.js +6 -1
- data/dojo/dojox/editor/plugins/_SmileyPalette.js +113 -333
- data/dojo/dojox/editor/plugins/nls/Blockquote.js +3 -0
- data/dojo/dojox/editor/plugins/nls/CollapsibleToolbar.js +4 -0
- data/dojo/dojox/editor/plugins/nls/FindReplace.js +15 -5
- data/dojo/dojox/editor/plugins/nls/InsertAnchor.js +8 -0
- data/dojo/dojox/editor/plugins/nls/PasteFromWord.js +6 -0
- data/dojo/dojox/editor/plugins/nls/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/TextColor.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ar/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ca/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/cs/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/da/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/de/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/el/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/es/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/fi/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/fr/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/he/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/hu/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/it/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ja/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ko/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/nb/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/nl/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/pl/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/pt-pt/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/pt/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ro/Blockquote.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/Breadcrumb.js +10 -0
- data/dojo/dojox/editor/plugins/nls/ro/CollapsibleToolbar.js +5 -0
- data/dojo/dojox/editor/plugins/nls/ro/FindReplace.js +22 -0
- data/dojo/dojox/editor/plugins/nls/ro/InsertAnchor.js +9 -0
- data/dojo/dojox/editor/plugins/nls/ro/InsertEntity.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/PageBreak.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/PasteFromWord.js +7 -0
- data/dojo/dojox/editor/plugins/nls/ro/Preview.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/Save.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/ShowBlockNodes.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/Smiley.js +22 -0
- data/dojo/dojox/editor/plugins/nls/ro/TableDialog.js +30 -0
- data/dojo/dojox/editor/plugins/nls/ro/TextColor.js +5 -0
- data/dojo/dojox/editor/plugins/nls/ro/latinEntities.js +257 -0
- data/dojo/dojox/editor/plugins/nls/ru/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/sk/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/sl/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/sv/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/th/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/tr/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/zh-tw/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/zh/FindReplace.js +14 -4
- data/dojo/dojox/editor/plugins/nls/zh/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/resources/css/Blockquote.css +17 -0
- data/dojo/dojox/editor/plugins/resources/css/CollapsibleToolbar.css +173 -0
- data/dojo/dojox/editor/plugins/resources/css/FindReplace.css +56 -51
- data/dojo/dojox/editor/plugins/resources/css/InsertAnchor.css +17 -0
- data/dojo/dojox/editor/plugins/resources/css/InsertEntity.css +15 -37
- data/dojo/dojox/editor/plugins/resources/css/PasteFromWord.css +30 -0
- data/dojo/dojox/editor/plugins/resources/css/Smiley.css +20 -59
- data/dojo/dojox/editor/plugins/resources/css/StatusBar.css +75 -0
- data/dojo/dojox/editor/plugins/resources/css/TextColor.css +7 -0
- data/dojo/dojox/editor/plugins/resources/editorPlugins.css +1 -1
- data/dojo/dojox/editor/plugins/resources/icons/anchor.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/{findIconDisabled.gif → anchorDisabled.gif} +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/blockquote.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/blockquoteDisabled.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/{replaceIconDisabled.gif → claro/close.gif} +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/editorIconsFindReplaceDisabled.png +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/editorIconsFindReplaceEnabled.png +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/nihilo/close.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/pasteFromWord.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/pasteFromWordDisabled.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/smileyDisabled.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/soria/close.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/tundra/close.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/anchor.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/claro/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/claro/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/nihilo/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/nihilo/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/nihilo/sidebar.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/soria/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/soria/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/soria/sidebar.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/tundra/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/tundra/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/tundra/sidebar.gif +0 -0
- data/dojo/dojox/editor/tests/editorBlockquote.html +118 -0
- data/dojo/dojox/editor/tests/editorCollapsibleToolbar.html +131 -0
- data/dojo/dojox/editor/tests/editorFindReplace.html +7 -3
- data/dojo/dojox/editor/tests/editorInsertAnchor.html +119 -0
- data/dojo/dojox/editor/tests/editorNormalizeStyle.html +163 -0
- data/dojo/dojox/editor/tests/editorPasteFromWord.html +98 -0
- data/dojo/dojox/editor/tests/editorSmileyPlugin.html +66 -8
- data/dojo/dojox/editor/tests/editorStatusBar.html +232 -0
- data/dojo/dojox/editor/tests/editorTablePlugs.html +80 -74
- data/dojo/dojox/editor/tests/editorTextColor.html +97 -0
- data/dojo/dojox/editor/tests/module.js +15 -0
- data/dojo/dojox/editor/tests/robot/Editor_Smiley.html +60 -0
- data/dojo/dojox/editor/tests/runTests.html +9 -0
- data/dojo/dojox/editor/tests/testPluginsAll.html +206 -0
- data/dojo/dojox/embed/Flash.js +94 -77
- data/dojo/dojox/flash/_base.js +3 -3
- data/dojo/dojox/form/BusyButton.js +2 -2
- data/dojo/dojox/form/CheckedMultiSelect.js +3 -16
- data/dojo/dojox/form/FileInput.js +4 -0
- data/dojo/dojox/form/FileInputAuto.js +12 -4
- data/dojo/dojox/form/FilePickerTextBox.js +5 -8
- data/dojo/dojox/form/FileUploader.js +1378 -1331
- data/dojo/dojox/form/ListInput.js +5 -5
- data/dojo/dojox/form/PasswordValidator.js +3 -3
- data/dojo/dojox/form/RangeSlider.js +3 -2
- data/dojo/dojox/form/Rating.js +0 -1
- data/dojo/dojox/form/TimeSpinner.js +1 -2
- data/dojo/dojox/form/manager/_Mixin.js +21 -11
- data/dojo/dojox/form/nls/ro/PasswordValidator.js +5 -0
- data/dojo/dojox/form/resources/CheckedMultiSelect.css +30 -0
- data/dojo/dojox/form/resources/CheckedMultiSelect.html +1 -1
- data/dojo/dojox/form/resources/FileInput.css +30 -0
- data/dojo/dojox/form/resources/FilePickerTextBox.html +2 -2
- data/dojo/dojox/form/resources/FileUploader.css +0 -24
- data/dojo/dojox/form/resources/HorizontalRangeSlider.html +38 -38
- data/dojo/dojox/form/resources/RangeSlider.css +9 -1
- data/dojo/dojox/form/resources/VerticalRangeSlider.html +49 -50
- data/dojo/dojox/form/resources/_CheckedMultiSelectItem.html +1 -1
- data/dojo/dojox/form/resources/uploader.swf +0 -0
- data/dojo/dojox/form/tests/UploadFile.php.disabled +25 -19
- data/dojo/dojox/form/tests/test_FileUploader.html +38 -38
- data/dojo/dojox/form/tests/test_FileUploaderDialog.html +0 -1
- data/dojo/dojox/form/tests/test_FileUploaderForm.html +5 -3
- data/dojo/dojox/form/tests/test_FileUploaderTabs.html +147 -0
- data/dojo/dojox/form/tests/test_MultiComboBox.html +1 -1
- data/dojo/dojox/form/tests/test_RangeSlider.html +1 -2
- data/dojo/dojox/form/tests/test_TimeSpinner.html +3 -30
- data/dojo/dojox/fx/Timeline.js +210 -0
- data/dojo/dojox/fx/ext-dojo/complex.js +169 -0
- data/dojo/dojox/fx/ext-dojo/reverse.js +98 -0
- data/dojo/dojox/fx/scroll.js +13 -6
- data/dojo/dojox/fx/tests/test_Timeline.html +173 -0
- data/dojo/dojox/fx/tests/test_complex.html +87 -0
- data/dojo/dojox/fx/tests/test_reverse.html +100 -0
- data/dojo/dojox/fx/tests/test_transform.html +210 -0
- data/dojo/dojox/fx/text.js +3 -3
- data/dojo/dojox/geo/README +37 -0
- data/dojo/dojox/geo/charting/Map.js +140 -0
- data/dojo/dojox/geo/charting/_Feature.js +169 -0
- data/dojo/dojox/geo/charting/_Marker.js +52 -0
- data/dojo/dojox/geo/charting/_base.js +53 -0
- data/dojo/dojox/geo/charting/resources/Map.css +30 -0
- data/dojo/dojox/geo/charting/resources/data/NOTICES +63 -0
- data/dojo/dojox/geo/charting/resources/data/USStates.json +261 -0
- data/dojo/dojox/geo/charting/resources/img/zoomin.gif +0 -0
- data/dojo/dojox/geo/charting/resources/img/zoomin.png +0 -0
- data/dojo/dojox/geo/charting/resources/img/zoomout.gif +0 -0
- data/dojo/dojox/geo/charting/resources/img/zoomout.png +0 -0
- data/dojo/dojox/geo/charting/resources/markers/USStates.json +1 -0
- data/dojo/dojox/geo/charting/tests/datastore/dataStore.json +1 -0
- data/dojo/dojox/geo/charting/tests/test_mapWithCharting.html +72 -0
- data/dojo/dojox/geo/charting/tests/test_mapWithLegend.html +63 -0
- data/dojo/dojox/geo/charting/tests/test_maps.html +37 -0
- data/dojo/dojox/geo/charting/widget/Legend.js +62 -0
- data/dojo/dojox/gfx/README +9 -2
- data/dojo/dojox/gfx/README-svgweb +98 -0
- data/dojo/dojox/gfx/VectorText.js +3 -3
- data/dojo/dojox/gfx/_base.js +2 -2
- data/dojo/dojox/gfx/arc.js +1 -1
- data/dojo/dojox/gfx/gradient.js +160 -0
- data/dojo/dojox/gfx/gradutils.js +91 -0
- data/dojo/dojox/gfx/path.js +89 -24
- data/dojo/dojox/gfx/resources/svg2gfx.xsl +53 -14
- data/dojo/dojox/gfx/shape.js +14 -7
- data/dojo/dojox/gfx/svg.js +135 -16
- data/dojo/dojox/gfx/tests/svgweb/README +15 -0
- data/dojo/dojox/gfx/tests/svgweb/sample.html +171 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/COPYING.txt +65 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/src/svg.htc +1 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/src/svg.js +1 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/src/svg.swf +0 -0
- data/dojo/dojox/gfx/tests/svgweb/test.roundrect.html +39 -0
- data/dojo/dojox/gfx/tests/svgweb/test_arc.html +66 -0
- data/dojo/dojox/gfx/tests/svgweb/test_bezier.html +81 -0
- data/dojo/dojox/gfx/tests/svgweb/test_destroy.html +58 -0
- data/dojo/dojox/gfx/tests/svgweb/test_fill.html +45 -0
- data/dojo/dojox/gfx/tests/svgweb/test_fx.html +104 -0
- data/dojo/dojox/gfx/tests/svgweb/test_fx_shapes.html +123 -0
- data/dojo/dojox/gfx/tests/svgweb/test_gfx.html +565 -0
- data/dojo/dojox/gfx/tests/svgweb/test_gradient.html +77 -0
- data/dojo/dojox/gfx/tests/svgweb/test_group1.html +70 -0
- data/dojo/dojox/gfx/tests/svgweb/test_group2.html +54 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image1.html +80 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image2.html +52 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image3.html +77 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image4.html +58 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image5.html +67 -0
- data/dojo/dojox/gfx/tests/svgweb/test_linearGradient.html +75 -0
- data/dojo/dojox/gfx/tests/svgweb/test_linestyle.html +43 -0
- data/dojo/dojox/gfx/tests/svgweb/test_pattern.html +43 -0
- data/dojo/dojox/gfx/tests/svgweb/test_poly.html +49 -0
- data/dojo/dojox/gfx/tests/svgweb/test_resize.html +57 -0
- data/dojo/dojox/gfx/tests/svgweb/test_setPath.html +86 -0
- data/dojo/dojox/gfx/tests/svgweb/test_tbbox.html +113 -0
- data/dojo/dojox/gfx/tests/svgweb/test_text.html +80 -0
- data/dojo/dojox/gfx/tests/svgweb/test_textpath.html +77 -0
- data/dojo/dojox/gfx/tests/svgweb/test_transform.html +99 -0
- data/dojo/dojox/gfx/tests/svgweb/test_utils.html +234 -0
- data/dojo/dojox/gfx/tests/svgweb/test_vectortext_draw.html +64 -0
- data/dojo/dojox/gfx/tests/svgweb/test_vectortext_load.html +97 -0
- data/dojo/dojox/gfx/tests/test_image1.html +1 -4
- data/dojo/dojox/gfx/tests/test_image2.html +5 -5
- data/dojo/dojox/gfx/tests/test_image3.html +2 -2
- data/dojo/dojox/gfx/tests/test_image4.html +2 -2
- data/dojo/dojox/gfx/tests/test_linearGradient.html +2 -1
- data/dojo/dojox/gfx/tests/test_pattern.html +4 -3
- data/dojo/dojox/gfx/tests/test_refproj.html +109 -0
- data/dojo/dojox/gfx/vml.js +52 -57
- data/dojo/dojox/grid/DataGrid.js +17 -6
- data/dojo/dojox/grid/EnhancedGrid.js +24 -6
- data/dojo/dojox/grid/README +57 -0
- data/dojo/dojox/grid/_Builder.js +18 -8
- data/dojo/dojox/grid/_Grid.js +10 -20
- data/dojo/dojox/grid/_View.js +5 -2
- data/dojo/dojox/grid/cells/dijit.js +11 -4
- data/dojo/dojox/grid/enhanced/_Events.js +16 -6
- data/dojo/dojox/grid/enhanced/_Plugin.js +15 -20
- data/dojo/dojox/grid/enhanced/dnd/_DndEvents.js +6 -0
- data/dojo/dojox/grid/enhanced/dnd/_DndMovingManager.js +3 -1
- data/dojo/dojox/grid/enhanced/nls/ar/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/ca/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/da/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/el/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/fi/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/he/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/nb/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/nl/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/pt-pt/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/ro/EnhancedGrid.js +9 -0
- data/dojo/dojox/grid/enhanced/nls/sk/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/sl/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/sv/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/th/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/tr/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/plugins/IndirectSelection.js +5 -5
- data/dojo/dojox/grid/enhanced/plugins/Menu.js +22 -6
- data/dojo/dojox/grid/enhanced/plugins/NestedSorting.js +26 -42
- data/dojo/dojox/grid/enhanced/resources/EnhancedGrid.css +31 -32
- data/dojo/dojox/grid/enhanced/resources/EnhancedGrid_rtl.css +16 -7
- data/dojo/dojox/grid/enhanced/resources/claroEnhancedGrid.css +104 -0
- data/dojo/dojox/grid/enhanced/resources/tundraEnhancedGrid.css +8 -17
- data/dojo/dojox/grid/resources/Grid.css +6 -0
- data/dojo/dojox/grid/resources/Grid_rtl.css +10 -2
- data/dojo/dojox/grid/resources/_Grid.html +1 -1
- data/dojo/dojox/grid/resources/claroGrid.css +216 -0
- data/dojo/dojox/grid/resources/images/header.png +0 -0
- data/dojo/dojox/grid/resources/images/header_shadow.png +0 -0
- data/dojo/dojox/grid/resources/images/row_back.png +0 -0
- data/dojo/dojox/grid/resources/images/td_button_down.png +0 -0
- data/dojo/dojox/grid/tests/enhanced/test_enhanced_grid_claro.html +70 -0
- data/dojo/dojox/grid/tests/robot/7815.html +0 -1
- data/dojo/dojox/grid/tests/robot/DataGrid_a11y.html +6 -1
- data/dojo/dojox/grid/tests/robot/DataGrid_mouse.html +50 -18
- data/dojo/dojox/grid/tests/robot/_DataGrid.html +0 -1
- data/dojo/dojox/grid/tests/robot/stores.js +3 -1
- data/dojo/dojox/grid/tests/test_grid_themes.html +27 -2
- data/dojo/dojox/grid/tests/test_treegrid_model.html +6 -6
- data/dojo/dojox/highlight/languages/_dynamic.js +2 -0
- data/dojo/dojox/highlight/languages/_static.js +1 -1
- data/dojo/dojox/highlight/languages/groovy.js +67 -0
- data/dojo/dojox/highlight/languages/java.js +58 -0
- data/dojo/dojox/highlight/languages/xquery.js +56 -0
- data/dojo/dojox/highlight/tests/test_highlight.html +147 -0
- data/dojo/dojox/html/entities.js +7 -7
- data/dojo/dojox/html/ext-dojo/style.js +460 -0
- data/dojo/dojox/html/format.js +5 -0
- data/dojo/dojox/html/metrics.js +31 -12
- data/dojo/dojox/html/tests/test_style-html.html +310 -0
- data/dojo/dojox/html/tests/test_themes.html +2 -2
- data/dojo/dojox/image/Lightbox.js +70 -28
- data/dojo/dojox/image/resources/Lightbox.css +11 -4
- data/dojo/dojox/image/resources/Lightbox.html +3 -3
- data/dojo/dojox/image/tests/Lightbox.html +2 -2
- data/dojo/dojox/image/tests/test_Lightbox.html +36 -2
- data/dojo/dojox/io/proxy/xip_client.html +1 -1
- data/dojo/dojox/io/proxy/xip_server.html +1 -1
- data/dojo/dojox/jq.js +1 -1
- data/dojo/dojox/json/query.js +7 -7
- data/dojo/dojox/json/ref.js +4 -2
- data/dojo/dojox/lang/README +13 -2
- data/dojo/dojox/lang/async.js +199 -0
- data/dojo/dojox/lang/async/event.js +41 -0
- data/dojo/dojox/lang/async/timeout.js +41 -0
- data/dojo/dojox/lang/async/topic.js +41 -0
- data/dojo/dojox/lang/oo/rearrange.js +1 -1
- data/dojo/dojox/lang/tests/async.js +216 -0
- data/dojo/dojox/lang/tests/docs.js +2 -2
- data/dojo/dojox/lang/tests/main.js +1 -1
- data/dojo/dojox/lang/tests/test_oo_decl.html +52 -3
- data/dojo/dojox/lang/utils.js +52 -9
- data/dojo/dojox/layout/ExpandoPane.js +71 -21
- data/dojo/dojox/layout/FloatingPane.js +7 -4
- data/dojo/dojox/layout/GridContainer.js +453 -920
- data/dojo/dojox/layout/GridContainerLite.js +811 -0
- data/dojo/dojox/layout/README +1 -1
- data/dojo/dojox/layout/ResizeHandle.js +6 -3
- data/dojo/dojox/layout/RotatorContainer.js +1 -1
- data/dojo/dojox/layout/TableContainer.js +7 -0
- data/dojo/dojox/layout/ToggleSplitter.js +2 -2
- data/dojo/dojox/layout/resources/ExpandoPane.css +52 -0
- data/dojo/dojox/layout/resources/ExpandoPane.html +2 -2
- data/dojo/dojox/layout/resources/GridContainer.css +49 -69
- data/dojo/dojox/layout/resources/GridContainer.html +9 -5
- data/dojo/dojox/layout/resources/ResizeHandle.css +18 -0
- data/dojo/dojox/layout/resources/icons/gridcontainer_grip.gif +0 -0
- data/dojo/dojox/layout/resources/icons/resizeRtl.png +0 -0
- data/dojo/dojox/layout/tests/resources/script_dnd.js +158 -0
- data/dojo/dojox/layout/tests/resources/set_complete_dnd.css +61 -0
- data/dojo/dojox/layout/tests/test_ExpandoPane.html +7 -1
- data/dojo/dojox/layout/tests/test_ExpandoPane_prog.html +1 -1
- data/dojo/dojox/layout/tests/test_GridContainer.html +24 -76
- data/dojo/dojox/layout/tests/test_GridContainerColWidths.html +31 -19
- data/dojo/dojox/layout/tests/test_GridContainerLite.html +122 -0
- data/dojo/dojox/layout/tests/test_GridContainerLite_doLayout.html +112 -0
- data/dojo/dojox/layout/tests/test_GridContainerLite_dragRestriction.html +148 -0
- data/dojo/dojox/layout/tests/test_GridContainer_ResizableCol.html +93 -0
- data/dojo/dojox/layout/tests/test_GridContainer_TitlePanes.html +85 -0
- data/dojo/dojox/layout/tests/test_GridContainer_complete_solution.html +103 -0
- data/dojo/dojox/layout/tests/test_GridContainer_dragHandle.html +107 -0
- data/dojo/dojox/layout/tests/{test_GridContainerBC.html → test_GridContainer_in_BorderContainer.html} +27 -61
- data/dojo/dojox/layout/tests/{test_GridContainerBC_prog.html → test_GridContainer_in_BorderContainer_prog.html} +142 -50
- data/dojo/dojox/layout/tests/test_TableContainer.html +2 -2
- data/dojo/dojox/math/BigInteger-ext.js +1 -3
- data/dojo/dojox/math/BigInteger.js +3 -3
- data/dojo/dojox/math/README +0 -3
- data/dojo/dojox/math/_base.js +48 -11
- data/dojo/dojox/math/tests/math.js +19 -1
- data/dojo/dojox/mdnd/AreaManager.js +707 -0
- data/dojo/dojox/mdnd/AutoScroll.js +195 -0
- data/dojo/dojox/mdnd/DropIndicator.js +86 -0
- data/dojo/dojox/mdnd/LazyManager.js +68 -0
- data/dojo/dojox/mdnd/Moveable.js +251 -0
- data/dojo/dojox/mdnd/PureSource.js +208 -0
- data/dojo/dojox/mdnd/README +94 -0
- data/dojo/dojox/mdnd/adapter/DndFromDojo.js +366 -0
- data/dojo/dojox/mdnd/adapter/DndToDojo.js +484 -0
- data/dojo/dojox/mdnd/dropMode/DefaultDropMode.js +333 -0
- data/dojo/dojox/mdnd/dropMode/OverDropMode.js +308 -0
- data/dojo/dojox/mdnd/dropMode/VerticalDropMode.js +343 -0
- data/dojo/dojox/mdnd/resources/dnd.css +93 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_acceptance.html +71 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_autoScroll.html +52 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_defaultDropMode.html +55 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_dndFromDojo.html +73 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_dndToDojo.html +93 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_dndToDojo_dndFromDojo.html +70 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_overDropMode.html +57 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_stress.html +83 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_verticalDropMode.html +55 -0
- data/dojo/dojox/mdnd/tests/module.js +16 -0
- data/dojo/dojox/mdnd/tests/resources/test_dnd.css +68 -0
- data/dojo/dojox/mdnd/tests/robot/module.js +16 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_acceptance.html +284 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_defaultDropMode.html +101 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_dndFromDojo.html +322 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_dndToDojo.html +198 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_overDropMode.html +272 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_verticalDropMode.html +101 -0
- data/dojo/dojox/mdnd/tests/runTests.html +9 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/AreaManagerCoverPresence.html +110 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/AreaManagerManagingDragItems.html +149 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/AreaManagerRegistering.html +124 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/module.js +12 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropIndicator/DropIndicatorTest.html +187 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropIndicator/module.js +8 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/DefaultDropModeTest.html +241 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/FixtureLib.js +87 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/OverDropModeTest.html +195 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/VerticalDropModeTest.html +241 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/module.js +10 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/resources/domElement.html +130 -0
- data/dojo/dojox/mdnd/tests/unitTests/module.js +9 -0
- data/dojo/dojox/mobile.js +4 -0
- data/dojo/dojox/mobile/README +55 -0
- data/dojo/dojox/mobile/_base.js +1451 -0
- data/dojo/dojox/mobile/app.js +3 -0
- data/dojo/dojox/mobile/app/AlertDialog.js +182 -0
- data/dojo/dojox/mobile/app/ImageThumbView.js +254 -0
- data/dojo/dojox/mobile/app/ImageView.js +716 -0
- data/dojo/dojox/mobile/app/List.js +577 -0
- data/dojo/dojox/mobile/app/ListSelector.js +218 -0
- data/dojo/dojox/mobile/app/SceneAssistant.js +56 -0
- data/dojo/dojox/mobile/app/SceneController.js +157 -0
- data/dojo/dojox/mobile/app/StageController.js +137 -0
- data/dojo/dojox/mobile/app/TextBox.js +321 -0
- data/dojo/dojox/mobile/app/_FormWidget.js +294 -0
- data/dojo/dojox/mobile/app/_Widget.js +30 -0
- data/dojo/dojox/mobile/app/_base.js +226 -0
- data/dojo/dojox/mobile/app/_event.js +119 -0
- data/dojo/dojox/mobile/app/compat.js +109 -0
- data/dojo/dojox/mobile/build/build.bat +47 -0
- data/dojo/dojox/mobile/build/build.sh +50 -0
- data/dojo/dojox/mobile/build/profiles/mobile-all.profile.js +36 -0
- data/dojo/dojox/mobile/build/profiles/mobile.profile.js +40 -0
- data/dojo/dojox/mobile/compat.js +399 -0
- data/dojo/dojox/mobile/parser.js +80 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/assistants/main-assistant.js +123 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/views/main/emptyTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/views/main/main-scene.html +23 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/views/main/rowTemplate.html +15 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-2.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-3.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-4.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/complexListApp/styles/style.css +38 -0
- data/dojo/dojox/mobile/tests/dialogApp/app/assistants/main-assistant.js +75 -0
- data/dojo/dojox/mobile/tests/dialogApp/app/views/main/main-scene.html +10 -0
- data/dojo/dojox/mobile/tests/dialogApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-image-thumb-view-assistant.js +198 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-image-view-assistant.js +170 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-search-group-assistant.js +123 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-search-selection-assistant.js +54 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-search-text-assistant.js +119 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/image-view-assistant.js +92 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/main-assistant.js +40 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-image-thumb-view/flickr-image-thumb-view-scene.html +17 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-image-view/flickr-image-view-scene.html +10 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-group/emptyTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-group/flickr-search-group-scene.html +19 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-group/rowTemplate.html +8 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-selection/flickr-search-selection-scene.html +7 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-selection/rowTemplate.html +8 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-text/emptyTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-text/flickr-search-group-scene.html +19 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-text/rowTemplate.html +15 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/image-view/image-view-scene.html +23 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/main/main-scene.html +6 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/main/rowTemplate.html +8 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/chris1_lg.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/chris2_lg.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/imageHoriz.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/imageVert.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/square.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/index.html +39 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/styles/styles.css +13 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/view-resources.json +14 -0
- data/dojo/dojox/mobile/tests/images/a-icon-1-41x41.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-10.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-11.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-12.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-13.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-14.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-15.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-16.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-17.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-18.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-2-41x41.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-2.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-3.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-4.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-10.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-2.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-3.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-4.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-5.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-6.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-7.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-8.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-9.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-all.png +0 -0
- data/dojo/dojox/mobile/tests/images/icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/images/not-images.png +0 -0
- data/dojo/dojox/mobile/tests/images/red-button-bg.png +0 -0
- data/dojo/dojox/mobile/tests/images/red-button-sel-bg.png +0 -0
- data/dojo/dojox/mobile/tests/images/widget-bg.png +0 -0
- data/dojo/dojox/mobile/tests/index.html +55 -0
- data/dojo/dojox/mobile/tests/inputApp/app/assistants/text-input-assistant.js +21 -0
- data/dojo/dojox/mobile/tests/inputApp/app/views/text-input/text-input-scene.html +50 -0
- data/dojo/dojox/mobile/tests/inputApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/assistants/main-assistant.js +41 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/assistants/second-assistant.js +32 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/assistants/third-assistant.js +33 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/views/main/main-scene.html +16 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/views/second/second-scene.html +12 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/views/third/third-scene.html +13 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/simpleApp/app/assistants/main-assistant.js +23 -0
- data/dojo/dojox/mobile/tests/simpleApp/app/views/main/main-scene.html +3 -0
- data/dojo/dojox/mobile/tests/simpleApp/index.html +36 -0
- data/dojo/dojox/mobile/tests/simpleListApp/app/assistants/main-assistant.js +66 -0
- data/dojo/dojox/mobile/tests/simpleListApp/app/views/main/main-scene.html +14 -0
- data/dojo/dojox/mobile/tests/simpleListApp/app/views/main/rowTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/simpleListApp/index.html +36 -0
- data/dojo/dojox/mobile/tests/test_Android-ButtonList.html +68 -0
- data/dojo/dojox/mobile/tests/test_Android-EdgeToEdge.html +50 -0
- data/dojo/dojox/mobile/tests/test_Android-EdgeToEdgeCategory.html +46 -0
- data/dojo/dojox/mobile/tests/test_Android-Icon.html +58 -0
- data/dojo/dojox/mobile/tests/test_Android-RoundRectList.html +60 -0
- data/dojo/dojox/mobile/tests/test_Android-Settings.html +104 -0
- data/dojo/dojox/mobile/tests/test_Android-Switch.html +23 -0
- data/dojo/dojox/mobile/tests/test_Android-TabContainer.html +139 -0
- data/dojo/dojox/mobile/tests/test_Android-VariableHeightList.html +100 -0
- data/dojo/dojox/mobile/tests/test_ajax-html.html +34 -0
- data/dojo/dojox/mobile/tests/test_ajax-json.html +34 -0
- data/dojo/dojox/mobile/tests/test_anchor-label.html +74 -0
- data/dojo/dojox/mobile/tests/test_bookmarkable.html +112 -0
- data/dojo/dojox/mobile/tests/test_buttons.html +21 -0
- data/dojo/dojox/mobile/tests/test_dynamic-icons.html +53 -0
- data/dojo/dojox/mobile/tests/test_dynamic-items.html +98 -0
- data/dojo/dojox/mobile/tests/test_dynamic-view.html +58 -0
- data/dojo/dojox/mobile/tests/test_hash-parameter.html +71 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Animation.html +81 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Button.html +41 -0
- data/dojo/dojox/mobile/tests/test_iPhone-ButtonList.html +50 -0
- data/dojo/dojox/mobile/tests/test_iPhone-EdgeToEdge.html +47 -0
- data/dojo/dojox/mobile/tests/test_iPhone-EdgeToEdgeCategory.html +46 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Heading.html +24 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Icon.html +58 -0
- data/dojo/dojox/mobile/tests/test_iPhone-IconMulti.html +36 -0
- data/dojo/dojox/mobile/tests/test_iPhone-IconSingle.html +35 -0
- data/dojo/dojox/mobile/tests/test_iPhone-IconSingleBelow.html +35 -0
- data/dojo/dojox/mobile/tests/test_iPhone-ResultList.html +65 -0
- data/dojo/dojox/mobile/tests/test_iPhone-RoundRect.html +27 -0
- data/dojo/dojox/mobile/tests/test_iPhone-RoundRectList.html +54 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Settings.html +168 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Switch.html +23 -0
- data/dojo/dojox/mobile/tests/test_iPhone-TabContainer.html +169 -0
- data/dojo/dojox/mobile/tests/test_iPhone-VariableHeightList.html +99 -0
- data/dojo/dojox/mobile/tests/test_progress-indicator.html +83 -0
- data/dojo/dojox/mobile/tests/view-sample.html +38 -0
- data/dojo/dojox/mobile/tests/view1.html +14 -0
- data/dojo/dojox/mobile/tests/view1.json +18 -0
- data/dojo/dojox/mobile/tests/view2.html +9 -0
- data/dojo/dojox/mobile/tests/view2.json +31 -0
- data/dojo/dojox/mobile/tests/view3.html +16 -0
- data/dojo/dojox/mobile/tests/view3.json +44 -0
- data/dojo/dojox/mobile/themes/android/android-compat.css +284 -0
- data/dojo/dojox/mobile/themes/android/android.css +738 -0
- data/dojo/dojox/mobile/themes/android/compat/arrow-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/arrow-button-head.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/blue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/blue-button-sel-bg.png +0 -0
- data/dojo/dojox/{editor/plugins/resources/icons/findReplaceDisabled.gif → mobile/themes/android/compat/gray-arrow.png} +0 -0
- data/dojo/dojox/mobile/themes/android/compat/icon-content-heading-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-blue-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-gray-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-green-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-knob-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/tab-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/tab-orange-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/tab-sel-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/buttons-compat.css +30 -0
- data/dojo/dojox/mobile/themes/buttons.css +191 -0
- data/dojo/dojox/mobile/themes/compat/check-off-button.png +0 -0
- data/dojo/dojox/mobile/themes/compat/check-on-button.png +0 -0
- data/dojo/dojox/mobile/themes/compat/small-blue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/compat/small-darkblue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/compat/small-red-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/arrow-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/arrow-button-head.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/blue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/blue-button-sel-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/edge-categ-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/gray-arrow.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/heading-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/icon-content-heading-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/switch-blue-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/switch-gray-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/switch-knob-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/tab-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/tab-sel-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/white-arrow.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/images/thumb-overlay.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/iphone-app-compat.css +24 -0
- data/dojo/dojox/mobile/themes/iphone/iphone-app.css +281 -0
- data/dojo/dojox/mobile/themes/iphone/iphone-compat.css +290 -0
- data/dojo/dojox/mobile/themes/iphone/iphone.css +751 -0
- data/dojo/dojox/rails.js +143 -0
- data/dojo/dojox/rails/README +41 -0
- data/dojo/dojox/rails/tests/module.js +7 -0
- data/dojo/dojox/rails/tests/plugd/trigger.js +187 -0
- data/dojo/dojox/rails/tests/runTests.html +9 -0
- data/dojo/dojox/rails/tests/success_response.html +1 -0
- data/dojo/dojox/rails/tests/test_rails.html +320 -0
- data/dojo/dojox/robot/recorder.js +3 -3
- data/dojo/dojox/rpc/SMDLibrary/wikipedia.smd +49 -49
- data/dojo/dojox/rpc/tests/resources/query +5 -5
- data/dojo/dojox/sketch/Figure.js +2 -2
- data/dojo/dojox/sketch/UndoStack.js +2 -2
- data/dojo/dojox/validate/creditCard.js +1 -1
- data/dojo/dojox/widget/Calendar.js +18 -18
- data/dojo/dojox/widget/CalendarViews.js +2 -2
- data/dojo/dojox/widget/ColorPicker.js +248 -73
- data/dojo/dojox/widget/ColorPicker/ColorPicker.css +32 -19
- data/dojo/dojox/widget/ColorPicker/ColorPicker.html +71 -30
- data/dojo/dojox/widget/ColorPicker/images/hueHandleA11y.png +0 -0
- data/dojo/dojox/widget/DataPresentation.js +126 -60
- data/dojo/dojox/widget/Dialog.js +2 -1
- data/dojo/dojox/widget/Dialog/Dialog.css +7 -0
- data/dojo/dojox/widget/DynamicTooltip.js +3 -3
- data/dojo/dojox/widget/FeedPortlet.js +9 -9
- data/dojo/dojox/widget/FilePicker.js +2 -2
- data/dojo/dojox/widget/Portlet.js +8 -0
- data/dojo/dojox/widget/Portlet/Portlet.css +2 -2
- data/dojo/dojox/widget/RollingList.js +11 -8
- data/dojo/dojox/widget/Rotator.js +7 -1
- data/dojo/dojox/widget/Standby.js +32 -5
- data/dojo/dojox/widget/Toaster.js +3 -1
- data/dojo/dojox/widget/UpgradeBar.js +20 -20
- data/dojo/dojox/widget/Wizard.js +2 -2
- data/dojo/dojox/widget/Wizard/Wizard.css +5 -0
- data/dojo/dojox/widget/gauge/_Gauge.js +2 -2
- data/dojo/dojox/widget/nls/ColorPicker.js +4 -2
- data/dojo/dojox/widget/nls/ar/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/ca/ColorPicker.js +6 -0
- data/dojo/dojox/widget/nls/da/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/el/ColorPicker.js +10 -0
- data/dojo/dojox/widget/nls/fi/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/he/ColorPicker.js +10 -0
- data/dojo/dojox/widget/nls/ko/ColorPicker.js +7 -1
- data/dojo/dojox/widget/nls/nb/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/nl/ColorPicker.js +6 -0
- data/dojo/dojox/widget/nls/pt-pt/ColorPicker.js +8 -0
- data/dojo/dojox/widget/nls/ro/ColorPicker.js +5 -0
- data/dojo/dojox/widget/nls/ro/FilePicker.js +6 -0
- data/dojo/dojox/widget/nls/ro/Wizard.js +6 -0
- data/dojo/dojox/widget/nls/sk/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/sl/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/sv/ColorPicker.js +6 -0
- data/dojo/dojox/widget/nls/tr/ColorPicker.js +10 -0
- data/dojo/dojox/widget/rotator/ThumbnailController.js +96 -0
- data/dojo/dojox/widget/tests/test_ColorPicker.html +10 -1
- data/dojo/dojox/widget/tests/test_DataPresentation.html +7 -3
- data/dojo/dojox/widget/tests/test_PortletInGridContainer.html +27 -37
- data/dojo/dojox/widget/tests/test_PortletInGridContainer.js +2 -1
- data/dojo/dojox/widget/tests/test_PortletInGridContainerColumns.html +10 -8
- data/dojo/dojox/widget/tests/test_Rotator.html +2 -0
- data/dojo/dojox/widget/tests/test_Rotator_ThumbnailController.html +63 -0
- data/dojo/dojox/widget/tests/test_Standby.html +4 -4
- data/dojo/dojox/wire/Wire.js +32 -4
- data/dojo/dojox/wire/demos/markup/demo_ActionChaining.html +1 -1
- data/dojo/dojox/wire/demos/markup/demo_ConditionalActions.html +6 -6
- data/dojo/dojox/wire/demos/markup/demo_TopicWiring.html +1 -1
- data/dojo/dojox/xml/parser.js +2 -2
- data/dojo/util/LICENSE +1 -1
- data/dojo/util/buildscripts/build.bat +3 -3
- data/dojo/util/buildscripts/build.js +4 -2
- data/dojo/util/buildscripts/build_notice.txt +2 -4
- data/dojo/util/buildscripts/build_release.sh +6 -6
- data/dojo/util/buildscripts/cdnBuild.sh +39 -0
- data/dojo/util/buildscripts/cdnBuild.txt +13 -13
- data/dojo/util/buildscripts/cldr/README +1 -1
- data/dojo/util/buildscripts/cldr/build.xml +1 -1
- data/dojo/util/buildscripts/cldr/calendar.xsl +98 -74
- data/dojo/util/buildscripts/cldr/ldml/CatalogManager.properties +16 -16
- data/dojo/util/buildscripts/cldr/ldml/catalog +1 -1
- data/dojo/util/buildscripts/cldr/ldml/core.zip +0 -0
- data/dojo/util/buildscripts/copyright.txt +1 -1
- data/dojo/util/buildscripts/jslib/buildUtil.js +9 -0
- data/dojo/util/buildscripts/jslib/dojoGuardEnd.jsfrag +8 -7
- data/dojo/util/buildscripts/profiles/baseplus.profile.js +21 -0
- data/dojo/util/buildscripts/profiles/demos-all.profile.js +7 -0
- data/dojo/util/buildscripts/tests/conditionalTest.js +1 -1
- data/dojo/util/checkstyle/checkstyle.bat +3 -3
- data/dojo/util/checkstyle/checkstyleUtil.js +68 -4
- data/dojo/util/checkstyle/runCheckstyle.js +24 -2
- data/dojo/util/docscripts/LICENSE +1 -1
- data/dojo/util/docscripts/cheat/lib.js +1 -1
- data/dojo/util/docscripts/lib/parser2/JavaScriptArray.php +2 -2
- data/dojo/util/docscripts/makeCix.php +1 -1
- data/dojo/util/doh/_browserRunner.js +25 -4
- data/dojo/util/doh/_rhinoRunner.js +1 -0
- data/dojo/util/doh/robot/DOHRobot.jar +0 -0
- data/dojo/util/doh/robot/DOHRobot.java +32 -7
- data/dojo/util/doh/runner.html +2 -2
- data/dojo/util/doh/runner.js +14 -5
- data/dojo/util/jsdoc/LICENSE +1 -1
- data/dojo/util/migration/dijitCss14to15.sed +67 -0
- data/dojo/util/shrinksafe/shrinksafe.jar +0 -0
- data/dojo/util/shrinksafe/src/org/dojotoolkit/shrinksafe/resources/Messages.properties +1 -1
- data/dojo/util/shrinksafe/tests/escapeunicode.js +1 -0
- data/dojo/util/shrinksafe/tests/module.js +14 -5
- data/lib/dojo_src.rb +2 -5
- metadata +4940 -4373
- data/dojo/dijit/tests/_base/viewportQuirks.html +0 -5
- data/dojo/dijit/themes/nihilo/form/ComboBox.css +0 -12
- data/dojo/dijit/themes/nihilo/form/Common_rtl.css +0 -7
- data/dojo/dijit/themes/nihilo/images/editor.gif +0 -0
- data/dojo/dijit/themes/nihilo/images/editorDisabled.gif +0 -0
- data/dojo/dijit/themes/nihilo/images/editorDisabled_rtl.gif +0 -0
- data/dojo/dijit/themes/nihilo/images/editor_rtl.gif +0 -0
- data/dojo/dijit/themes/soria/form/ComboBox.css +0 -12
- data/dojo/dijit/themes/soria/form/Common_rtl.css +0 -7
- data/dojo/dijit/themes/soria/images/editor.gif +0 -0
- data/dojo/dijit/themes/soria/images/editorDisabled.gif +0 -0
- data/dojo/dijit/themes/soria/images/editorDisabled_rtl.gif +0 -0
- data/dojo/dijit/themes/soria/images/editor_rtl.gif +0 -0
- data/dojo/dijit/themes/templateThemeTest.html +0 -178
- data/dojo/dijit/themes/tundra/form/Common_rtl.css +0 -6
- data/dojo/dijit/themes/tundra/images/editor.gif +0 -0
- data/dojo/dijit/themes/tundra/images/editorDisabled.gif +0 -0
- data/dojo/dijit/themes/tundra/images/editorDisabled_rtl.gif +0 -0
- data/dojo/dijit/themes/tundra/images/editorMaster.png +0 -0
- data/dojo/dijit/themes/tundra/images/editor_rtl.gif +0 -0
- data/dojo/dojo/cldr/nls/de-de/number.js +0 -4
- data/dojo/dojo/cldr/nls/en-us/currency.js +0 -5
- data/dojo/dojo/cldr/nls/en-us/number.js +0 -4
- data/dojo/dojo/cldr/nls/es-es/gregorian.js +0 -7
- data/dojo/dojo/cldr/nls/es-es/number.js +0 -4
- data/dojo/dojo/cldr/nls/islamic-civil.js +0 -96
- data/dojo/dojo/cldr/nls/it-it/gregorian.js +0 -5
- data/dojo/dojo/cldr/nls/ja-jp/number.js +0 -4
- data/dojo/dojo/cldr/nls/ko-kr/gregorian.js +0 -6
- data/dojo/dojo/cldr/nls/ko-kr/number.js +0 -4
- data/dojo/dojo/cldr/nls/pt-br/gregorian.js +0 -18
- data/dojo/dojo/cldr/nls/zh-cn/gregorian.js +0 -12
- data/dojo/dojo/cldr/nls/zh-cn/number.js +0 -4
- data/dojo/dojo/cldr/nls/zh-tw/number.js +0 -6
- data/dojo/dojox/editor/plugins/resources/icons/findIcon.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/findReplace.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/replaceIcon.gif +0 -0
- data/dojo/dojox/math/LICENSE-BigInteger +0 -40
- data/dojo/util/buildscripts/cldr/ldml/ldml.dtd +0 -1166
- data/dojo/util/docscripts/api.json +0 -202488
- data/dojo/util/docscripts/api.xml +0 -54976
- data/dojo/util/resources/LICENSE +0 -195
- data/dojo/util/resources/api/api.xml +0 -0
- data/dojo/util/resources/api/dojo.cix +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/dojo-styles.css +0 -114
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/bg-content-left.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/bg-content-right.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/body.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/logo.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/mini-dtk.css +0 -34
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/mini-dtk.psd +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/style.css +0 -1092
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/template.html +0 -115
- data/dojo/util/resources/logo/negative/dijit.logo.neg.ai +15 -4118
- data/dojo/util/resources/logo/negative/dijit.logo.neg.eps +0 -5557
- data/dojo/util/resources/logo/negative/dijit.logo.neg.png +0 -0
- data/dojo/util/resources/logo/negative/dijit.logo.neg.svg +0 -987
- data/dojo/util/resources/logo/negative/dojo.logo.neg.ai +0 -0
- data/dojo/util/resources/logo/negative/dojo.logo.neg.big.png +0 -0
- data/dojo/util/resources/logo/negative/dojo.logo.neg.eps +0 -64
- data/dojo/util/resources/logo/negative/dojo.logo.neg.png +0 -0
- data/dojo/util/resources/logo/negative/dojo.logo.neg.svg +0 -36
- data/dojo/util/resources/logo/negative/dojox.logo.neg.ai +8 -4003
- data/dojo/util/resources/logo/negative/dojox.logo.neg.eps +0 -5357
- data/dojo/util/resources/logo/negative/dojox.logo.neg.png +0 -0
- data/dojo/util/resources/logo/negative/dojox.logo.neg.svg +0 -41
- data/dojo/util/resources/logo/positive/dijit.logo.ai +10 -4169
- data/dojo/util/resources/logo/positive/dijit.logo.eps +0 -5562
- data/dojo/util/resources/logo/positive/dijit.logo.png +0 -0
- data/dojo/util/resources/logo/positive/dijit.logo.svg +0 -987
- data/dojo/util/resources/logo/positive/dojo.logo.ai +15 -3719
- data/dojo/util/resources/logo/positive/dojo.logo.big.png +0 -0
- data/dojo/util/resources/logo/positive/dojo.logo.eps +0 -64
- data/dojo/util/resources/logo/positive/dojo.logo.png +0 -0
- data/dojo/util/resources/logo/positive/dojo.logo.svg +0 -36
- data/dojo/util/resources/logo/positive/dojox.logo.ai +13 -4068
- data/dojo/util/resources/logo/positive/dojox.logo.eps +0 -5362
- data/dojo/util/resources/logo/positive/dojox.logo.png +0 -0
- data/dojo/util/resources/logo/positive/dojox.logo.svg +0 -41
- data/dojo/util/resources/themes/nihilo/nihilo.psd +0 -0
- data/dojo/util/resources/themes/soria/soria.psd +0 -0
@@ -0,0 +1,1451 @@
|
|
1
|
+
dojo.provide("dojox.mobile._base");
|
2
|
+
|
3
|
+
dojo.require("dijit._Widget");
|
4
|
+
|
5
|
+
// summary:
|
6
|
+
// Mobile Widgets
|
7
|
+
// description:
|
8
|
+
// This module provides a number of widgets that can be used to build
|
9
|
+
// web-based applications for mobile devices such as iPhone or Android.
|
10
|
+
// These widgets work best with webkit-based browsers, such as Safari or
|
11
|
+
// Chrome, since webkit-specific CSS3 features are used.
|
12
|
+
// However, the widgets should work in a "graceful degradation" manner
|
13
|
+
// even on non-CSS3 browsers, such as IE or Firefox. In that case,
|
14
|
+
// fancy effects, such as animation, gradient color, or round corner
|
15
|
+
// rectangle, may not work, but you can still operate your application.
|
16
|
+
//
|
17
|
+
// Furthermore, as a separate file, a compatibility module,
|
18
|
+
// dojox.mobile.compat, is available that simulates some of CSS3 features
|
19
|
+
// used in this module. If you use the compatibility module, fancy visual
|
20
|
+
// effects work better even on non-CSS3 browsers.
|
21
|
+
//
|
22
|
+
// Note that use of dijit._Container, dijit._Contained, dijit._Templated,
|
23
|
+
// and dojo.query is intentionally avoided to reduce download code size.
|
24
|
+
|
25
|
+
dojo.declare(
|
26
|
+
"dojox.mobile.View",
|
27
|
+
dijit._Widget,
|
28
|
+
{
|
29
|
+
// summary:
|
30
|
+
// A widget that represents a view that occupies the full screen
|
31
|
+
// description:
|
32
|
+
// View acts as a container for any HTML and/or widgets. An entire HTML page
|
33
|
+
// can have multiple View widgets and the user can navigate through
|
34
|
+
// the views back and forth without page transitions.
|
35
|
+
|
36
|
+
// selected: Boolean
|
37
|
+
// If true, the view is displayed at startup time.
|
38
|
+
selected: false,
|
39
|
+
|
40
|
+
// keepScrollPos: Boolean
|
41
|
+
// If true, the scroll position is kept between views.
|
42
|
+
keepScrollPos: true,
|
43
|
+
|
44
|
+
_started: false,
|
45
|
+
|
46
|
+
constructor: function(params, node){
|
47
|
+
if(node){
|
48
|
+
dojo.byId(node).style.visibility = "hidden";
|
49
|
+
}
|
50
|
+
},
|
51
|
+
|
52
|
+
buildRendering: function(){
|
53
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("DIV");
|
54
|
+
this.domNode.className = "mblView";
|
55
|
+
// dojox.mobile.View._pillar = dojo.create("DIV", {className:"mblPillar"});
|
56
|
+
this.connect(this.domNode, "webkitAnimationEnd", "onAnimationEnd");
|
57
|
+
this.connect(this.domNode, "webkitAnimationStart", "onAnimationStart");
|
58
|
+
var id = location.href.match(/#(\w+)([^\w=]|$)/) ? RegExp.$1 : null;
|
59
|
+
|
60
|
+
this._visible = this.selected && !id || this.id == id;
|
61
|
+
|
62
|
+
if(this.selected){
|
63
|
+
dojox.mobile._defaultView = this;
|
64
|
+
}
|
65
|
+
},
|
66
|
+
|
67
|
+
startup: function(){
|
68
|
+
if(this._started){ return; }
|
69
|
+
var _this = this;
|
70
|
+
setTimeout(function(){
|
71
|
+
if(!_this._visible){
|
72
|
+
_this.domNode.style.display = "none";
|
73
|
+
}else{
|
74
|
+
dojox.mobile._currentView = _this;
|
75
|
+
_this.onStartView();
|
76
|
+
}
|
77
|
+
_this.domNode.style.visibility = "visible";
|
78
|
+
}, dojo.isIE?100:0); // give IE a little time to complete drawing
|
79
|
+
this._started = true;
|
80
|
+
},
|
81
|
+
|
82
|
+
onStartView: function(){
|
83
|
+
// Stub function to connect to from your application.
|
84
|
+
// Called only when this view is shown at startup time.
|
85
|
+
},
|
86
|
+
|
87
|
+
onBeforeTransitionIn: function(moveTo, dir, transition, context, method){
|
88
|
+
// Stub function to connect to from your application.
|
89
|
+
},
|
90
|
+
|
91
|
+
onAfterTransitionIn: function(moveTo, dir, transition, context, method){
|
92
|
+
// Stub function to connect to from your application.
|
93
|
+
},
|
94
|
+
|
95
|
+
onBeforeTransitionOut: function(moveTo, dir, transition, context, method){
|
96
|
+
// Stub function to connect to from your application.
|
97
|
+
},
|
98
|
+
|
99
|
+
onAfterTransitionOut: function(moveTo, dir, transition, context, method){
|
100
|
+
// Stub function to connect to from your application.
|
101
|
+
},
|
102
|
+
|
103
|
+
_saveState: function(moveTo, dir, transition, context, method){
|
104
|
+
this._context = context;
|
105
|
+
this._method = method;
|
106
|
+
if(transition == "none" || !dojo.isWebKit){
|
107
|
+
transition = null;
|
108
|
+
}
|
109
|
+
this._moveTo = moveTo;
|
110
|
+
this._dir = dir;
|
111
|
+
this._transition = transition;
|
112
|
+
this._arguments = [];
|
113
|
+
var i;
|
114
|
+
for(i = 0; i < arguments.length; i++){
|
115
|
+
this._arguments.push(arguments[i]);
|
116
|
+
}
|
117
|
+
this._args = [];
|
118
|
+
if(context || method){
|
119
|
+
for(i = 5; i < arguments.length; i++){
|
120
|
+
this._args.push(arguments[i]);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
},
|
124
|
+
|
125
|
+
performTransition: function(/*String*/moveTo, /*Number*/dir, /*String*/transition,
|
126
|
+
/*Object|null*/context, /*String|Function*/method /*optional args*/){
|
127
|
+
// summary:
|
128
|
+
// Function to perform the various types of view transitions, such as fade, slide, and flip.
|
129
|
+
// moveTo: String
|
130
|
+
// The destination view id to transition the current view to.
|
131
|
+
// If null, transitions to a blank view.
|
132
|
+
// dir: Number
|
133
|
+
// The transition direction. If 1, transition forward. If -1, transition backward.
|
134
|
+
// For example, the slide transition slides the view from right to left when dir == 1,
|
135
|
+
// and from left to right when dir == -1.
|
136
|
+
// transision: String
|
137
|
+
// The type of transition to perform. "slide", "fade", or "flip"
|
138
|
+
// context: Object
|
139
|
+
// The object that the callback function will receive as "this".
|
140
|
+
// method: String|Function
|
141
|
+
// A callback function that is called when the transition has been finished.
|
142
|
+
// A function reference, or name of a function in context.
|
143
|
+
// tags:
|
144
|
+
// public
|
145
|
+
// example:
|
146
|
+
// Transitions to the blank view, and then opens another page.
|
147
|
+
// | performTransition(null, 1, "slide", null, function(){location.href = href;});
|
148
|
+
if(dojo.hash){
|
149
|
+
if(typeof(moveTo) == "string" && moveTo.charAt(0) == '#' && !dojox.mobile._params){
|
150
|
+
dojox.mobile._params = [];
|
151
|
+
for(var i = 0; i < arguments.length; i++){
|
152
|
+
dojox.mobile._params.push(arguments[i]);
|
153
|
+
}
|
154
|
+
dojo.hash(moveTo);
|
155
|
+
return;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
this._saveState.apply(this, arguments);
|
159
|
+
var toNode;
|
160
|
+
if(moveTo){
|
161
|
+
if(typeof(moveTo) == "string"){
|
162
|
+
moveTo.match(/(\w+)/);
|
163
|
+
toNode = RegExp.$1;
|
164
|
+
}else{
|
165
|
+
toNode = moveTo;
|
166
|
+
}
|
167
|
+
}else{
|
168
|
+
if(!this._dummyNode){
|
169
|
+
this._dummyNode = dojo.doc.createElement("DIV");
|
170
|
+
dojo.body().appendChild(this._dummyNode);
|
171
|
+
}
|
172
|
+
toNode = this._dummyNode;
|
173
|
+
}
|
174
|
+
var fromNode = this.domNode;
|
175
|
+
toNode = this.toNode = dojo.byId(toNode);
|
176
|
+
if(!toNode){ alert("dojox.mobile.View#performTransition: destination view not found: "+toNode); }
|
177
|
+
toNode.style.visibility = "hidden";
|
178
|
+
toNode.style.display = "";
|
179
|
+
this.onBeforeTransitionOut.apply(this, arguments);
|
180
|
+
var toWidget = dijit.byNode(toNode);
|
181
|
+
if(toWidget && toWidget.onBeforeTransitionIn){
|
182
|
+
// perform view transition keeping the scroll position
|
183
|
+
if(this.keepScrollPos && !dijit.getEnclosingWidget(this.domNode.parentNode)){
|
184
|
+
var scrollTop = dojo.body().scrollTop || dojo.doc.documentElement.scrollTop || window.pageYOffset || 0;
|
185
|
+
if(dir == 1){
|
186
|
+
toNode.style.top = "0px";
|
187
|
+
if(scrollTop > 1){
|
188
|
+
fromNode.style.top = -scrollTop + "px";
|
189
|
+
if(dojo.config["mblHideAddressBar"] !== false){
|
190
|
+
setTimeout(function(){ // iPhone needs setTimeout
|
191
|
+
window.scrollTo(0, 1);
|
192
|
+
}, 0);
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}else{
|
196
|
+
if(scrollTop > 1 || toNode.offsetTop !== 0){
|
197
|
+
var toTop = -toNode.offsetTop;
|
198
|
+
toNode.style.top = "0px";
|
199
|
+
fromNode.style.top = toTop - scrollTop + "px";
|
200
|
+
if(dojo.config["mblHideAddressBar"] !== false && toTop > 0){
|
201
|
+
setTimeout(function(){ // iPhone needs setTimeout
|
202
|
+
window.scrollTo(0, toTop + 1);
|
203
|
+
}, 0);
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}else{
|
208
|
+
toNode.style.top = "0px";
|
209
|
+
}
|
210
|
+
toWidget.onBeforeTransitionIn.apply(this, arguments);
|
211
|
+
}
|
212
|
+
toNode.style.display = "none";
|
213
|
+
toNode.style.visibility = "visible";
|
214
|
+
this._doTransition(fromNode, toNode, transition, dir);
|
215
|
+
},
|
216
|
+
|
217
|
+
_doTransition: function(fromNode, toNode, transition, dir){
|
218
|
+
var rev = (dir == -1) ? " reverse" : "";
|
219
|
+
toNode.style.display = "";
|
220
|
+
if(transition){
|
221
|
+
// var pillar = dojox.mobile.View._pillar;
|
222
|
+
// pillar.style.height = fromNode.offsetHeight+"px";
|
223
|
+
// fromNode.parentNode.appendChild(pillar);
|
224
|
+
dojo.addClass(fromNode, transition + " out" + rev);
|
225
|
+
dojo.addClass(toNode, transition + " in" + rev);
|
226
|
+
}else{
|
227
|
+
this.domNode.style.display = "none";
|
228
|
+
this.invokeCallback();
|
229
|
+
}
|
230
|
+
},
|
231
|
+
|
232
|
+
onAnimationStart: function(e){
|
233
|
+
},
|
234
|
+
|
235
|
+
onAnimationEnd: function(e){
|
236
|
+
var isOut = false;
|
237
|
+
if(dojo.hasClass(this.domNode, "out")){
|
238
|
+
isOut = true;
|
239
|
+
this.domNode.style.display = "none";
|
240
|
+
dojo.forEach([this._transition,"in","out","reverse"], function(s){
|
241
|
+
dojo.removeClass(this.domNode, s);
|
242
|
+
}, this);
|
243
|
+
}
|
244
|
+
if(e.animationName.indexOf("shrink") === 0){
|
245
|
+
var li = e.target;
|
246
|
+
li.style.display = "none";
|
247
|
+
dojo.removeClass(li, "mblCloseContent");
|
248
|
+
}
|
249
|
+
if(isOut){
|
250
|
+
// dojox.mobile.View._pillar.parentNode.removeChild(dojox.mobile.View._pillar);
|
251
|
+
this.invokeCallback();
|
252
|
+
}
|
253
|
+
// this.domNode may be destroyed as a result of invoking the callback,
|
254
|
+
// so check for that before accessing it.
|
255
|
+
this.domNode && (this.domNode.className = "mblView");
|
256
|
+
},
|
257
|
+
|
258
|
+
invokeCallback: function(){
|
259
|
+
this.onAfterTransitionOut.apply(this, this._arguments);
|
260
|
+
var toWidget = dijit.byNode(this.toNode);
|
261
|
+
if(toWidget && toWidget.onAfterTransitionIn){
|
262
|
+
toWidget.onAfterTransitionIn.apply(this, this._arguments);
|
263
|
+
}
|
264
|
+
|
265
|
+
if(dojo.hash){
|
266
|
+
dojox.mobile._currentView = toWidget;
|
267
|
+
}
|
268
|
+
|
269
|
+
var c = this._context, m = this._method;
|
270
|
+
if(!c && !m){ return; }
|
271
|
+
if(!m){
|
272
|
+
m = c;
|
273
|
+
c = null;
|
274
|
+
}
|
275
|
+
c = c || dojo.global;
|
276
|
+
if(typeof(m) == "string"){
|
277
|
+
c[m].apply(c, this._args);
|
278
|
+
}else{
|
279
|
+
m.apply(c, this._args);
|
280
|
+
}
|
281
|
+
},
|
282
|
+
|
283
|
+
addChild: function(widget){
|
284
|
+
this.containerNode.appendChild(widget.domNode);
|
285
|
+
}
|
286
|
+
});
|
287
|
+
|
288
|
+
dojo.declare(
|
289
|
+
"dojox.mobile.Heading",
|
290
|
+
dijit._Widget,
|
291
|
+
{
|
292
|
+
back: "",
|
293
|
+
href: "",
|
294
|
+
moveTo: "",
|
295
|
+
transition: "slide",
|
296
|
+
label: "",
|
297
|
+
|
298
|
+
buildRendering: function(){
|
299
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("H1");
|
300
|
+
this.domNode.className = "mblHeading";
|
301
|
+
this._view = this.domNode.parentNode && dijit.byNode(this.domNode.parentNode); // parentNode is null if created programmatically
|
302
|
+
if(this.label){
|
303
|
+
this.domNode.innerHTML = this.label;
|
304
|
+
}else{
|
305
|
+
this.label = this.domNode.innerHTML;
|
306
|
+
}
|
307
|
+
if(this.back){
|
308
|
+
var head = dojo.doc.createElement("DIV");
|
309
|
+
head.className = "mblArrowButtonHead";
|
310
|
+
var body = this._body = dojo.doc.createElement("DIV");
|
311
|
+
body.className = "mblArrowButtonBody mblArrowButtonText";
|
312
|
+
body.innerHTML = this.back;
|
313
|
+
this.connect(body, "onclick", "onClick");
|
314
|
+
var neck = dojo.doc.createElement("DIV");
|
315
|
+
neck.className = "mblArrowButtonNeck";
|
316
|
+
|
317
|
+
this.domNode.appendChild(head);
|
318
|
+
this.domNode.appendChild(body);
|
319
|
+
this.domNode.appendChild(neck);
|
320
|
+
|
321
|
+
this.setLabel(this.label);
|
322
|
+
}
|
323
|
+
},
|
324
|
+
|
325
|
+
onClick: function(e){
|
326
|
+
var h1 = this.domNode;
|
327
|
+
dojo.addClass(h1, "mblArrowButtonSelected");
|
328
|
+
setTimeout(function(){
|
329
|
+
dojo.removeClass(h1, "mblArrowButtonSelected");
|
330
|
+
}, 1000);
|
331
|
+
this.goTo(this.moveTo, this.href);
|
332
|
+
},
|
333
|
+
|
334
|
+
setLabel: function(label){
|
335
|
+
if(label != this.label){
|
336
|
+
this.label = label;
|
337
|
+
this.domNode.firstChild.nodeValue = label;
|
338
|
+
}
|
339
|
+
var s = this.domNode.style;
|
340
|
+
if(this.label.length > 12){
|
341
|
+
// create a clone to calculate the arrow button width correctly
|
342
|
+
// even when the heading is in the invisible state.
|
343
|
+
var h = this.domNode.cloneNode(true);
|
344
|
+
h.style.visibility = "hidden";
|
345
|
+
dojo.body().appendChild(h);
|
346
|
+
var b = h.childNodes[2];
|
347
|
+
s.paddingLeft = b.offsetWidth + 30 + "px";
|
348
|
+
s.textAlign = "left";
|
349
|
+
dojo.body().removeChild(h);
|
350
|
+
h = null;
|
351
|
+
}else{
|
352
|
+
s.paddingLeft = "";
|
353
|
+
s.textAlign = "";
|
354
|
+
}
|
355
|
+
},
|
356
|
+
|
357
|
+
goTo: function(moveTo, href){
|
358
|
+
if(!this._view){
|
359
|
+
this._view = dijit.byNode(this.domNode.parentNode);
|
360
|
+
}
|
361
|
+
if(href){
|
362
|
+
this._view.performTransition(null, -1, this.transition, this, function(){location.href = href;});
|
363
|
+
}else{
|
364
|
+
if(dojox.mobile.app){
|
365
|
+
// If in a full mobile app, then use its mechanisms to move back a scene
|
366
|
+
dojo.publish("/dojox/mobile/app/goback");
|
367
|
+
}
|
368
|
+
else{
|
369
|
+
this._view.performTransition(moveTo, -1, this.transition);
|
370
|
+
}
|
371
|
+
|
372
|
+
}
|
373
|
+
}
|
374
|
+
});
|
375
|
+
|
376
|
+
dojo.declare(
|
377
|
+
"dojox.mobile.RoundRect",
|
378
|
+
dijit._Widget,
|
379
|
+
{
|
380
|
+
shadow: false,
|
381
|
+
|
382
|
+
buildRendering: function(){
|
383
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("DIV");
|
384
|
+
this.domNode.className = this.shadow ? "mblRoundRect mblShadow" : "mblRoundRect";
|
385
|
+
}
|
386
|
+
});
|
387
|
+
|
388
|
+
dojo.declare(
|
389
|
+
"dojox.mobile.RoundRectCategory",
|
390
|
+
dijit._Widget,
|
391
|
+
{
|
392
|
+
label: "",
|
393
|
+
|
394
|
+
buildRendering: function(){
|
395
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("H2");
|
396
|
+
this.domNode.className = "mblRoundRectCategory";
|
397
|
+
if(this.label){
|
398
|
+
this.domNode.innerHTML = this.label;
|
399
|
+
}else{
|
400
|
+
this.label = this.domNode.innerHTML;
|
401
|
+
}
|
402
|
+
}
|
403
|
+
});
|
404
|
+
|
405
|
+
dojo.declare(
|
406
|
+
"dojox.mobile.EdgeToEdgeCategory",
|
407
|
+
dojox.mobile.RoundRectCategory,
|
408
|
+
{
|
409
|
+
buildRendering: function(){
|
410
|
+
this.inherited(arguments);
|
411
|
+
this.domNode.className = "mblEdgeToEdgeCategory";
|
412
|
+
}
|
413
|
+
});
|
414
|
+
|
415
|
+
dojo.declare(
|
416
|
+
"dojox.mobile.RoundRectList",
|
417
|
+
dijit._Widget,
|
418
|
+
{
|
419
|
+
transition: "slide",
|
420
|
+
iconBase: "",
|
421
|
+
iconPos: "",
|
422
|
+
|
423
|
+
buildRendering: function(){
|
424
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("UL");
|
425
|
+
this.domNode.className = "mblRoundRectList";
|
426
|
+
},
|
427
|
+
|
428
|
+
addChild: function(widget){
|
429
|
+
this.containerNode.appendChild(widget.domNode);
|
430
|
+
widget.inheritParams();
|
431
|
+
widget.setIcon();
|
432
|
+
}
|
433
|
+
});
|
434
|
+
|
435
|
+
dojo.declare(
|
436
|
+
"dojox.mobile.EdgeToEdgeList",
|
437
|
+
dojox.mobile.RoundRectList,
|
438
|
+
{
|
439
|
+
buildRendering: function(){
|
440
|
+
this.inherited(arguments);
|
441
|
+
this.domNode.className = "mblEdgeToEdgeList";
|
442
|
+
}
|
443
|
+
});
|
444
|
+
|
445
|
+
dojo.declare(
|
446
|
+
"dojox.mobile.AbstractItem",
|
447
|
+
dijit._Widget,
|
448
|
+
{
|
449
|
+
icon: "",
|
450
|
+
iconPos: "", // top,left,width,height (ex. "0,0,29,29")
|
451
|
+
href: "",
|
452
|
+
moveTo: "",
|
453
|
+
clickable: false,
|
454
|
+
url: "",
|
455
|
+
transition: "",
|
456
|
+
callback: null,
|
457
|
+
sync: true,
|
458
|
+
label: "",
|
459
|
+
|
460
|
+
inheritParams: function(){
|
461
|
+
var parent = this.getParentWidget();
|
462
|
+
if(parent){
|
463
|
+
if(!this.transition){ this.transition = parent.transition; }
|
464
|
+
if(!this.icon){ this.icon = parent.iconBase; }
|
465
|
+
if(!this.iconPos){ this.iconPos = parent.iconPos; }
|
466
|
+
}
|
467
|
+
},
|
468
|
+
|
469
|
+
transitionTo: function(moveTo, href, url){
|
470
|
+
var n = this.domNode.parentNode;
|
471
|
+
var w; // the current view widget
|
472
|
+
while(true){
|
473
|
+
w = dijit.getEnclosingWidget(n);
|
474
|
+
if(!w){ return; }
|
475
|
+
if(w.performTransition){ break; }
|
476
|
+
n = w.domNode.parentNode;
|
477
|
+
}
|
478
|
+
if(href){
|
479
|
+
w.performTransition(null, 1, this.transition, this, function(){location.href = href;});
|
480
|
+
return;
|
481
|
+
}
|
482
|
+
if(url){
|
483
|
+
var id;
|
484
|
+
if(dojox.mobile._viewMap && dojox.mobile._viewMap[url]){
|
485
|
+
// external view has already been loaded
|
486
|
+
id = dojox.mobile._viewMap[url];
|
487
|
+
}else{
|
488
|
+
// get the specified external view and append it to the <body>
|
489
|
+
var text = this._text;
|
490
|
+
if(!text){
|
491
|
+
if(this.sync){
|
492
|
+
text = dojo.trim(dojo._getText(url));
|
493
|
+
}else{
|
494
|
+
var prog = dojox.mobile.ProgressIndicator.getInstance();
|
495
|
+
dojo.body().appendChild(prog.domNode);
|
496
|
+
prog.start();
|
497
|
+
var xhr = dojo.xhrGet({
|
498
|
+
url: url,
|
499
|
+
handleAs: "text"
|
500
|
+
});
|
501
|
+
xhr.addCallback(dojo.hitch(this, function(response, ioArgs){
|
502
|
+
prog.stop();
|
503
|
+
if(response){
|
504
|
+
this._text = response;
|
505
|
+
this.transitionTo(moveTo, href, url);
|
506
|
+
}
|
507
|
+
}));
|
508
|
+
xhr.addErrback(function(error){
|
509
|
+
prog.stop();
|
510
|
+
alert("Failed to load "+url+"\n"+(error.description||error));
|
511
|
+
});
|
512
|
+
return;
|
513
|
+
}
|
514
|
+
}
|
515
|
+
this._text = null;
|
516
|
+
id = this._parse(text);
|
517
|
+
if(!dojox.mobile._viewMap){
|
518
|
+
dojox.mobile._viewMap = [];
|
519
|
+
}
|
520
|
+
dojox.mobile._viewMap[url] = id;
|
521
|
+
}
|
522
|
+
moveTo = id;
|
523
|
+
}
|
524
|
+
w.performTransition(moveTo, 1, this.transition, this.callback && this, this.callback);
|
525
|
+
},
|
526
|
+
|
527
|
+
_parse: function(text){
|
528
|
+
var container = dojo.create("DIV");
|
529
|
+
var view;
|
530
|
+
if(text.charAt(0) == "<"){ // html markup
|
531
|
+
container.innerHTML = text;
|
532
|
+
view = container.firstChild; // <div dojoType="dojox.mobile.View">
|
533
|
+
if(!view && view.nodeType != 1){
|
534
|
+
alert("dojox.mobile.AbstractItem#transitionTo: invalid view content");
|
535
|
+
return;
|
536
|
+
}
|
537
|
+
view.setAttribute("_started", "true"); // to avoid startup() is called
|
538
|
+
view.style.visibility = "hidden";
|
539
|
+
dojo.body().appendChild(container);
|
540
|
+
(dojox.mobile.parser || dojo.parser).parse(container);
|
541
|
+
}else if(text.charAt(0) == "{"){ // json
|
542
|
+
dojo.body().appendChild(container);
|
543
|
+
this._ws = [];
|
544
|
+
view = this._instantiate(eval('('+text+')'), container);
|
545
|
+
for(var i = 0; i < this._ws.length; i++){
|
546
|
+
var w = this._ws[i];
|
547
|
+
w.startup && !w._started && (!w.getParent || !w.getParent()) && w.startup();
|
548
|
+
}
|
549
|
+
this._ws = null;
|
550
|
+
}
|
551
|
+
view.style.display = "none";
|
552
|
+
view.style.visibility = "visible";
|
553
|
+
var id = view.id;
|
554
|
+
return dojo.hash ? "#" + id : id;
|
555
|
+
},
|
556
|
+
|
557
|
+
_instantiate: function(/*Object*/obj, /*DomNode*/node, /*Widget*/parent){
|
558
|
+
var widget;
|
559
|
+
for(var key in obj){
|
560
|
+
if(key.charAt(0) == "@"){ continue; }
|
561
|
+
var cls = dojo.getObject(key);
|
562
|
+
if(!cls){ continue; }
|
563
|
+
var params = {};
|
564
|
+
var proto = cls.prototype;
|
565
|
+
var objs = dojo.isArray(obj[key]) ? obj[key] : [obj[key]];
|
566
|
+
for(var i = 0; i < objs.length; i++){
|
567
|
+
for(var prop in objs[i]){
|
568
|
+
if(prop.charAt(0) == "@"){
|
569
|
+
var val = objs[i][prop];
|
570
|
+
prop = prop.substring(1);
|
571
|
+
if(typeof proto[prop] == "string"){
|
572
|
+
params[prop] = val;
|
573
|
+
}else if(typeof proto[prop] == "number"){
|
574
|
+
params[prop] = val - 0;
|
575
|
+
}else if(typeof proto[prop] == "boolean"){
|
576
|
+
params[prop] = (val != "false");
|
577
|
+
}else if(typeof proto[prop] == "object"){
|
578
|
+
params[prop] = eval("(" + val + ")");
|
579
|
+
}
|
580
|
+
}
|
581
|
+
}
|
582
|
+
widget = new cls(params, node);
|
583
|
+
if(!node){ // not to call View's startup()
|
584
|
+
this._ws.push(widget);
|
585
|
+
}
|
586
|
+
if(parent && parent.addChild){
|
587
|
+
parent.addChild(widget);
|
588
|
+
}
|
589
|
+
this._instantiate(objs[i], null, widget);
|
590
|
+
}
|
591
|
+
}
|
592
|
+
return widget && widget.domNode;
|
593
|
+
},
|
594
|
+
|
595
|
+
getParentWidget: function(){
|
596
|
+
var ref = this.srcNodeRef || this.domNode;
|
597
|
+
return ref && ref.parentNode ? dijit.getEnclosingWidget(ref.parentNode) : null;
|
598
|
+
}
|
599
|
+
});
|
600
|
+
|
601
|
+
dojo.declare(
|
602
|
+
"dojox.mobile.ListItem",
|
603
|
+
dojox.mobile.AbstractItem,
|
604
|
+
{
|
605
|
+
rightText: "",
|
606
|
+
btnClass: "",
|
607
|
+
anchorLabel: false,
|
608
|
+
|
609
|
+
buildRendering: function(){
|
610
|
+
this.inheritParams();
|
611
|
+
var a = this.anchorNode = dojo.create("A");
|
612
|
+
a.className = "mblListItemAnchor";
|
613
|
+
var box = dojo.create("DIV");
|
614
|
+
box.className = "mblListItemTextBox";
|
615
|
+
if(this.anchorLabel){
|
616
|
+
box.style.cursor = "pointer";
|
617
|
+
}
|
618
|
+
var r = this.srcNodeRef;
|
619
|
+
if(r){
|
620
|
+
for(var i = 0, len = r.childNodes.length; i < len; i++){
|
621
|
+
box.appendChild(r.removeChild(r.firstChild));
|
622
|
+
}
|
623
|
+
}
|
624
|
+
if(this.label){
|
625
|
+
box.appendChild(dojo.doc.createTextNode(this.label));
|
626
|
+
}
|
627
|
+
a.appendChild(box);
|
628
|
+
if(this.rightText){
|
629
|
+
var txt = dojo.create("DIV");
|
630
|
+
txt.className = "mblRightText";
|
631
|
+
txt.innerHTML = this.rightText;
|
632
|
+
a.appendChild(txt);
|
633
|
+
}
|
634
|
+
|
635
|
+
if(this.moveTo || this.href || this.url || this.clickable){
|
636
|
+
var arrow = dojo.create("DIV");
|
637
|
+
arrow.className = "mblArrow";
|
638
|
+
a.appendChild(arrow);
|
639
|
+
this.connect(a, "onclick", "onClick");
|
640
|
+
}else if(this.btnClass){
|
641
|
+
var div = this.btnNode = dojo.create("DIV");
|
642
|
+
div.className = this.btnClass+" mblRightButton";
|
643
|
+
div.appendChild(dojo.create("DIV"));
|
644
|
+
div.appendChild(dojo.create("P"));
|
645
|
+
|
646
|
+
var dummyDiv = dojo.create("DIV");
|
647
|
+
dummyDiv.className = "mblRightButtonContainer";
|
648
|
+
dummyDiv.appendChild(div);
|
649
|
+
a.appendChild(dummyDiv);
|
650
|
+
dojo.addClass(a, "mblListItemAnchorHasRightButton");
|
651
|
+
setTimeout(function(){
|
652
|
+
dummyDiv.style.width = div.offsetWidth + "px";
|
653
|
+
dummyDiv.style.height = div.offsetHeight + "px";
|
654
|
+
if(dojo.isIE){
|
655
|
+
// IE seems to ignore the height of LI without this..
|
656
|
+
a.parentNode.style.height = a.parentNode.offsetHeight + "px";
|
657
|
+
}
|
658
|
+
});
|
659
|
+
}
|
660
|
+
if(this.anchorLabel){
|
661
|
+
box.style.display = "inline"; // to narrow the text region
|
662
|
+
}
|
663
|
+
var li = this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("LI");
|
664
|
+
li.className = "mblListItem";
|
665
|
+
li.appendChild(a);
|
666
|
+
this.setIcon();
|
667
|
+
},
|
668
|
+
|
669
|
+
setIcon: function(){
|
670
|
+
if(this.iconNode){ return; }
|
671
|
+
var a = this.anchorNode;
|
672
|
+
if(this.icon && this.icon != "none"){
|
673
|
+
var img = this.iconNode = dojo.create("IMG");
|
674
|
+
img.className = "mblListItemIcon";
|
675
|
+
img.src = this.icon;
|
676
|
+
this.domNode.insertBefore(img, a);
|
677
|
+
dojox.mobile.setupIcon(this.iconNode, this.iconPos);
|
678
|
+
dojo.removeClass(a, "mblListItemAnchorNoIcon");
|
679
|
+
}else{
|
680
|
+
dojo.addClass(a, "mblListItemAnchorNoIcon");
|
681
|
+
}
|
682
|
+
},
|
683
|
+
|
684
|
+
onClick: function(e){
|
685
|
+
if(this.anchorLabel){
|
686
|
+
for(var p = e.target; p.tagName != "LI"; p = p.parentNode){
|
687
|
+
if(p.className == "mblListItemTextBox"){
|
688
|
+
dojo.addClass(p, "mblListItemTextBoxSelected");
|
689
|
+
setTimeout(function(){
|
690
|
+
dojo.removeClass(p, "mblListItemTextBoxSelected");
|
691
|
+
}, 1000);
|
692
|
+
this.onAnchorLabelClicked(e);
|
693
|
+
return;
|
694
|
+
}
|
695
|
+
}
|
696
|
+
}
|
697
|
+
var a = e.currentTarget;
|
698
|
+
var li = a.parentNode;
|
699
|
+
dojo.addClass(li, "mblItemSelected");
|
700
|
+
setTimeout(function(){
|
701
|
+
dojo.removeClass(li, "mblItemSelected");
|
702
|
+
}, 1000);
|
703
|
+
this.transitionTo(this.moveTo, this.href, this.url);
|
704
|
+
},
|
705
|
+
|
706
|
+
onAnchorLabelClicked: function(e){
|
707
|
+
}
|
708
|
+
});
|
709
|
+
|
710
|
+
dojo.declare(
|
711
|
+
"dojox.mobile.Switch",
|
712
|
+
dijit._Widget,
|
713
|
+
{
|
714
|
+
value: "on",
|
715
|
+
leftLabel: "ON",
|
716
|
+
rightLabel: "OFF",
|
717
|
+
_width: 53,
|
718
|
+
|
719
|
+
buildRendering: function(){
|
720
|
+
this.domNode = this.srcNodeRef || dojo.doc.createElement("DIV");
|
721
|
+
this.domNode.className = "mblSwitch";
|
722
|
+
this.domNode.innerHTML =
|
723
|
+
'<div class="mblSwitchInner">'
|
724
|
+
+ '<div class="mblSwitchBg mblSwitchBgLeft">'
|
725
|
+
+ '<div class="mblSwitchText mblSwitchTextLeft">'+this.leftLabel+'</div>'
|
726
|
+
+ '</div>'
|
727
|
+
+ '<div class="mblSwitchBg mblSwitchBgRight">'
|
728
|
+
+ '<div class="mblSwitchText mblSwitchTextRight">'+this.rightLabel+'</div>'
|
729
|
+
+ '</div>'
|
730
|
+
+ '<div class="mblSwitchKnob"></div>'
|
731
|
+
+ '</div>';
|
732
|
+
var n = this.inner = this.domNode.firstChild;
|
733
|
+
this.left = n.childNodes[0];
|
734
|
+
this.right = n.childNodes[1];
|
735
|
+
this.knob = n.childNodes[2];
|
736
|
+
|
737
|
+
dojo.addClass(this.domNode, (this.value == "on") ? "mblSwitchOn" : "mblSwitchOff");
|
738
|
+
this[this.value == "off" ? "left" : "right"].style.display = "none";
|
739
|
+
},
|
740
|
+
|
741
|
+
postCreate: function(){
|
742
|
+
this.connect(this.knob, "onclick", "onClick");
|
743
|
+
this.connect(this.knob, "touchstart", "onTouchStart");
|
744
|
+
this.connect(this.knob, "mousedown", "onTouchStart");
|
745
|
+
},
|
746
|
+
|
747
|
+
_changeState: function(/*String*/state){
|
748
|
+
this.inner.style.left = "";
|
749
|
+
dojo.addClass(this.domNode, "mblSwitchAnimation");
|
750
|
+
dojo.removeClass(this.domNode, (state == "on") ? "mblSwitchOff" : "mblSwitchOn");
|
751
|
+
dojo.addClass(this.domNode, (state == "on") ? "mblSwitchOn" : "mblSwitchOff");
|
752
|
+
|
753
|
+
var _this = this;
|
754
|
+
setTimeout(function(){
|
755
|
+
_this[state == "off" ? "left" : "right"].style.display = "none";
|
756
|
+
dojo.removeClass(_this.domNode, "mblSwitchAnimation");
|
757
|
+
}, 300);
|
758
|
+
},
|
759
|
+
|
760
|
+
onClick: function(e){
|
761
|
+
if(this._moved){ return; }
|
762
|
+
this.value = (this.value == "on") ? "off" : "on";
|
763
|
+
this._changeState(this.value);
|
764
|
+
this.onStateChanged(this.value);
|
765
|
+
},
|
766
|
+
|
767
|
+
onTouchStart: function(e){
|
768
|
+
this._moved = false;
|
769
|
+
this.innerStartX = this.inner.offsetLeft;
|
770
|
+
if(e.targetTouches){
|
771
|
+
this.touchStartX = e.targetTouches[0].clientX;
|
772
|
+
this._conn1 = dojo.connect(this.inner, "touchmove", this, "onTouchMove");
|
773
|
+
this._conn2 = dojo.connect(this.inner, "touchend", this, "onTouchEnd");
|
774
|
+
}
|
775
|
+
this.left.style.display = "block";
|
776
|
+
this.right.style.display = "block";
|
777
|
+
return false;
|
778
|
+
},
|
779
|
+
|
780
|
+
onTouchMove: function(e){
|
781
|
+
e.preventDefault();
|
782
|
+
var dx;
|
783
|
+
if(e.targetTouches){
|
784
|
+
if(e.targetTouches.length != 1){ return false; }
|
785
|
+
dx = e.targetTouches[0].clientX - this.touchStartX;
|
786
|
+
}else{
|
787
|
+
dx = e.clientX - this.touchStartX;
|
788
|
+
}
|
789
|
+
var pos = this.innerStartX + dx;
|
790
|
+
var d = 10;
|
791
|
+
if(pos <= -(this._width-d)){ pos = -this._width; }
|
792
|
+
if(pos >= -d){ pos = 0; }
|
793
|
+
this.inner.style.left = pos + "px";
|
794
|
+
this._moved = true;
|
795
|
+
return true;
|
796
|
+
},
|
797
|
+
|
798
|
+
onTouchEnd: function(e){
|
799
|
+
dojo.disconnect(this._conn1);
|
800
|
+
dojo.disconnect(this._conn2);
|
801
|
+
if(this.innerStartX == this.inner.offsetLeft){ return; }
|
802
|
+
var newState = (this.inner.offsetLeft < -(this._width/2)) ? "off" : "on";
|
803
|
+
this._changeState(newState);
|
804
|
+
if(newState != this.value){
|
805
|
+
this.value = newState;
|
806
|
+
this.onStateChanged(this.value);
|
807
|
+
}
|
808
|
+
},
|
809
|
+
|
810
|
+
onStateChanged: function(/*String*/newState){
|
811
|
+
}
|
812
|
+
});
|
813
|
+
|
814
|
+
dojo.declare(
|
815
|
+
"dojox.mobile.IconContainer",
|
816
|
+
dijit._Widget,
|
817
|
+
{
|
818
|
+
defaultIcon: "",
|
819
|
+
transition: "below", // slide, flip, or below
|
820
|
+
pressedIconOpacity: 0.4,
|
821
|
+
iconBase: "",
|
822
|
+
iconPos: "",
|
823
|
+
back: "Home",
|
824
|
+
label: "My Application",
|
825
|
+
single: false,
|
826
|
+
|
827
|
+
buildRendering: function(){
|
828
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("UL");
|
829
|
+
this.domNode.className = "mblIconContainer";
|
830
|
+
var t = this._terminator = dojo.create("LI");
|
831
|
+
t.className = "mblIconItemTerminator";
|
832
|
+
t.innerHTML = " ";
|
833
|
+
this.domNode.appendChild(t);
|
834
|
+
},
|
835
|
+
|
836
|
+
_setupSubNodes: function(ul){
|
837
|
+
var len = this.domNode.childNodes.length - 1; // -1 for terminator
|
838
|
+
for(i = 0; i < len; i++){
|
839
|
+
child = this.domNode.childNodes[i];
|
840
|
+
if(child.nodeType != 1){ continue; }
|
841
|
+
w = dijit.byNode(child);
|
842
|
+
if(this.single){
|
843
|
+
w.subNode.firstChild.style.display = "none";
|
844
|
+
}
|
845
|
+
ul.appendChild(w.subNode);
|
846
|
+
}
|
847
|
+
},
|
848
|
+
|
849
|
+
startup: function(){
|
850
|
+
var ul, i, len, child, w;
|
851
|
+
if(this.transition == "below"){
|
852
|
+
this._setupSubNodes(this.domNode);
|
853
|
+
}else{
|
854
|
+
var view = new dojox.mobile.View({id:this.id+"_mblApplView"});
|
855
|
+
var _this = this;
|
856
|
+
view.onAfterTransitionIn = function(moveTo, dir, transition, context, method){
|
857
|
+
_this._opening._open_1();
|
858
|
+
};
|
859
|
+
view.domNode.style.visibility = "hidden";
|
860
|
+
var heading = view._heading = new dojox.mobile.Heading({back:this.back, label:this.label, moveTo:this.domNode.parentNode.id, transition:this.transition});
|
861
|
+
view.addChild(heading);
|
862
|
+
ul = dojo.doc.createElement("UL");
|
863
|
+
ul.className = "mblIconContainer";
|
864
|
+
ul.style.marginTop = "0px";
|
865
|
+
this._setupSubNodes(ul);
|
866
|
+
view.domNode.appendChild(ul);
|
867
|
+
dojo.doc.body.appendChild(view.domNode);
|
868
|
+
}
|
869
|
+
},
|
870
|
+
|
871
|
+
closeAll: function(){
|
872
|
+
var len = this.domNode.childNodes.length;
|
873
|
+
for(var i = 0; i < len; i++){
|
874
|
+
child = this.domNode.childNodes[i];
|
875
|
+
if(child.nodeType != 1){ continue; }
|
876
|
+
if(child == this._terminator){ break; }
|
877
|
+
w = dijit.byNode(child);
|
878
|
+
w.containerNode.parentNode.style.display = "none";
|
879
|
+
w.setOpacity(w.iconNode, 1);
|
880
|
+
}
|
881
|
+
},
|
882
|
+
|
883
|
+
addChild: function(widget){
|
884
|
+
this.domNode.insertBefore(widget.domNode, this._terminator);
|
885
|
+
widget.transition = this.transition;
|
886
|
+
if(this.transition == "below"){
|
887
|
+
this.domNode.appendChild(widget.subNode);
|
888
|
+
}
|
889
|
+
widget.inheritParams();
|
890
|
+
widget.setIcon();
|
891
|
+
}
|
892
|
+
});
|
893
|
+
|
894
|
+
dojo.declare(
|
895
|
+
"dojox.mobile.IconItem",
|
896
|
+
dojox.mobile.AbstractItem,
|
897
|
+
{
|
898
|
+
// description:
|
899
|
+
// Dynamic creation is not supported.
|
900
|
+
lazy: false,
|
901
|
+
requires: "",
|
902
|
+
timeout: 10,
|
903
|
+
|
904
|
+
templateString: '<li class="mblIconItem">'+
|
905
|
+
'<div class="mblIconArea" dojoAttachPoint="iconDivNode">'+
|
906
|
+
'<div><img src="${icon}" dojoAttachPoint="iconNode"></div>${label}'+
|
907
|
+
'</div>'+
|
908
|
+
'</li>',
|
909
|
+
templateStringSub: '<li class="mblIconItemSub" lazy="${lazy}" style="display:none;" dojoAttachPoint="contentNode">'+
|
910
|
+
'<h2 class="mblIconContentHeading" dojoAttachPoint="closeNode">'+
|
911
|
+
'<div class="mblBlueMinusButton" style="position:absolute;left:4px;top:2px;" dojoAttachPoint="closeIconNode"><div></div></div>${label}'+
|
912
|
+
'</h2>'+
|
913
|
+
'<div class="mblContent" dojoAttachPoint="containerNode"></div>'+
|
914
|
+
'</li>',
|
915
|
+
|
916
|
+
createTemplate: function(s){
|
917
|
+
dojo.forEach(["lazy","icon","label"], function(v){
|
918
|
+
while(s.indexOf("${"+v+"}") != -1){
|
919
|
+
s = s.replace("${"+v+"}", this[v]);
|
920
|
+
}
|
921
|
+
}, this);
|
922
|
+
var div = dojo.doc.createElement("DIV");
|
923
|
+
div.innerHTML = s;
|
924
|
+
|
925
|
+
/*
|
926
|
+
dojo.forEach(dojo.query("[dojoAttachPoint]", domNode), function(node){
|
927
|
+
this[node.getAttribute("dojoAttachPoint")] = node;
|
928
|
+
}, this);
|
929
|
+
*/
|
930
|
+
|
931
|
+
var nodes = div.getElementsByTagName("*");
|
932
|
+
var i, len, s1;
|
933
|
+
len = nodes.length;
|
934
|
+
for(i = 0; i < len; i++){
|
935
|
+
s1 = nodes[i].getAttribute("dojoAttachPoint");
|
936
|
+
if(s1){
|
937
|
+
this[s1] = nodes[i];
|
938
|
+
}
|
939
|
+
}
|
940
|
+
var domNode = div.removeChild(div.firstChild);
|
941
|
+
div = null;
|
942
|
+
return domNode;
|
943
|
+
},
|
944
|
+
|
945
|
+
buildRendering: function(){
|
946
|
+
this.inheritParams();
|
947
|
+
this.domNode = this.createTemplate(this.templateString);
|
948
|
+
this.subNode = this.createTemplate(this.templateStringSub);
|
949
|
+
this.subNode._parentNode = this.domNode; // [custom property]
|
950
|
+
|
951
|
+
if(this.srcNodeRef){
|
952
|
+
// reparent
|
953
|
+
for(var i = 0, len = this.srcNodeRef.childNodes.length; i < len; i++){
|
954
|
+
this.containerNode.appendChild(this.srcNodeRef.removeChild(this.srcNodeRef.firstChild));
|
955
|
+
}
|
956
|
+
this.srcNodeRef.parentNode.replaceChild(this.domNode, this.srcNodeRef);
|
957
|
+
this.srcNodeRef = null;
|
958
|
+
}
|
959
|
+
this.setIcon();
|
960
|
+
},
|
961
|
+
|
962
|
+
setIcon: function(){
|
963
|
+
this.iconNode.src = this.icon;
|
964
|
+
dojox.mobile.setupIcon(this.iconNode, this.iconPos);
|
965
|
+
},
|
966
|
+
|
967
|
+
postCreate: function(){
|
968
|
+
this.connect(this.iconNode, "onmousedown", "onMouseDownIcon");
|
969
|
+
this.connect(this.iconNode, "onclick", "iconClicked");
|
970
|
+
this.connect(this.closeIconNode, "onclick", "closeIconClicked");
|
971
|
+
this.connect(this.iconNode, "onerror", "onError");
|
972
|
+
},
|
973
|
+
|
974
|
+
highlight: function(){
|
975
|
+
dojo.addClass(this.iconDivNode, "mblVibrate");
|
976
|
+
if(this.timeout > 0){
|
977
|
+
var _this = this;
|
978
|
+
setTimeout(function(){
|
979
|
+
_this.unhighlight();
|
980
|
+
}, this.timeout*1000);
|
981
|
+
}
|
982
|
+
},
|
983
|
+
|
984
|
+
unhighlight: function(){
|
985
|
+
dojo.removeClass(this.iconDivNode, "mblVibrate");
|
986
|
+
},
|
987
|
+
|
988
|
+
setOpacity: function(node, val){
|
989
|
+
node.style.opacity = val;
|
990
|
+
node.style.mozOpacity = val;
|
991
|
+
node.style.khtmlOpacity = val;
|
992
|
+
node.style.webkitOpacity = val;
|
993
|
+
},
|
994
|
+
|
995
|
+
instantiateWidget: function(e){
|
996
|
+
// avoid use of dojo.query
|
997
|
+
/*
|
998
|
+
var list = dojo.query('[dojoType]', this.containerNode);
|
999
|
+
for(var i = 0, len = list.length; i < len; i++){
|
1000
|
+
dojo["require"](list[i].getAttribute("dojoType"));
|
1001
|
+
}
|
1002
|
+
*/
|
1003
|
+
|
1004
|
+
var nodes = this.containerNode.getElementsByTagName("*");
|
1005
|
+
var len = nodes.length;
|
1006
|
+
var s;
|
1007
|
+
for(var i = 0; i < len; i++){
|
1008
|
+
s = nodes[i].getAttribute("dojoType");
|
1009
|
+
if(s){
|
1010
|
+
dojo["require"](s);
|
1011
|
+
}
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
if(len > 0){
|
1015
|
+
(dojox.mobile.parser || dojo.parser).parse(this.containerNode);
|
1016
|
+
}
|
1017
|
+
this.lazy = false;
|
1018
|
+
},
|
1019
|
+
|
1020
|
+
isOpen: function(e){
|
1021
|
+
return this.containerNode.style.display != "none";
|
1022
|
+
},
|
1023
|
+
|
1024
|
+
onMouseDownIcon: function (e){
|
1025
|
+
this.setOpacity(this.iconNode, this.getParentWidget().pressedIconOpacity);
|
1026
|
+
},
|
1027
|
+
|
1028
|
+
iconClicked: function(e){
|
1029
|
+
if(e){
|
1030
|
+
setTimeout(dojo.hitch(this, function(d){ this.iconClicked(); }), 0);
|
1031
|
+
return;
|
1032
|
+
}
|
1033
|
+
if(this.moveTo || this.href || this.url){
|
1034
|
+
this.transitionTo(this.moveTo, this.href, this.url);
|
1035
|
+
setTimeout(dojo.hitch(this, function(d){
|
1036
|
+
this.setOpacity(this.iconNode, 1);
|
1037
|
+
}), 1500);
|
1038
|
+
}else{
|
1039
|
+
this.open();
|
1040
|
+
}
|
1041
|
+
},
|
1042
|
+
|
1043
|
+
closeIconClicked: function(e){
|
1044
|
+
if(e){
|
1045
|
+
setTimeout(dojo.hitch(this, function(d){ this.closeIconClicked(); }), 0);
|
1046
|
+
return;
|
1047
|
+
}
|
1048
|
+
this.close();
|
1049
|
+
},
|
1050
|
+
|
1051
|
+
open: function(){
|
1052
|
+
var parent = this.getParentWidget(); // IconContainer
|
1053
|
+
if(this.transition == "below"){
|
1054
|
+
if(parent.single){
|
1055
|
+
parent.closeAll();
|
1056
|
+
this.setOpacity(this.iconNode, this.getParentWidget().pressedIconOpacity);
|
1057
|
+
}
|
1058
|
+
this._open_1();
|
1059
|
+
}else{
|
1060
|
+
parent._opening = this;
|
1061
|
+
if(parent.single){
|
1062
|
+
parent.closeAll();
|
1063
|
+
var view = dijit.byId(parent.id+"_mblApplView");
|
1064
|
+
view._heading.setLabel(this.label);
|
1065
|
+
}
|
1066
|
+
this.transitionTo(parent.id+"_mblApplView");
|
1067
|
+
}
|
1068
|
+
},
|
1069
|
+
|
1070
|
+
_open_1: function(){
|
1071
|
+
this.contentNode.style.display = "";
|
1072
|
+
this.unhighlight();
|
1073
|
+
if(this.lazy){
|
1074
|
+
if(this.requires){
|
1075
|
+
dojo.forEach(this.requires.split(/,/), function(c){
|
1076
|
+
dojo["require"](c);
|
1077
|
+
});
|
1078
|
+
}
|
1079
|
+
this.instantiateWidget();
|
1080
|
+
}
|
1081
|
+
this.contentNode.scrollIntoView();
|
1082
|
+
this.onOpen();
|
1083
|
+
},
|
1084
|
+
|
1085
|
+
close: function(){
|
1086
|
+
if(dojo.isWebKit){
|
1087
|
+
var t = this.domNode.parentNode.offsetWidth/8;
|
1088
|
+
var y = this.iconNode.offsetLeft;
|
1089
|
+
var pos = 0;
|
1090
|
+
for(var i = 1; i <= 3; i++){
|
1091
|
+
if(t*(2*i-1) < y && y <= t*(2*(i+1)-1)){
|
1092
|
+
pos = i;
|
1093
|
+
break;
|
1094
|
+
}
|
1095
|
+
}
|
1096
|
+
dojo.addClass(this.containerNode.parentNode, "mblCloseContent mblShrink"+pos);
|
1097
|
+
}else{
|
1098
|
+
this.containerNode.parentNode.style.display = "none";
|
1099
|
+
}
|
1100
|
+
this.setOpacity(this.iconNode, 1);
|
1101
|
+
this.onClose();
|
1102
|
+
},
|
1103
|
+
|
1104
|
+
onOpen: function(){
|
1105
|
+
// stub method to allow the application to connect to.
|
1106
|
+
},
|
1107
|
+
|
1108
|
+
onClose: function(){
|
1109
|
+
// stub method to allow the application to connect to.
|
1110
|
+
},
|
1111
|
+
|
1112
|
+
onError: function(){
|
1113
|
+
this.iconNode.src = this.getParentWidget().defaultIcon;
|
1114
|
+
}
|
1115
|
+
});
|
1116
|
+
|
1117
|
+
dojo.declare(
|
1118
|
+
"dojox.mobile.Button",
|
1119
|
+
dijit._Widget,
|
1120
|
+
{
|
1121
|
+
btnClass: "mblBlueButton",
|
1122
|
+
duration: 1000, // duration of selection, milliseconds
|
1123
|
+
|
1124
|
+
label: null,
|
1125
|
+
|
1126
|
+
buildRendering: function(){
|
1127
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("BUTTON");
|
1128
|
+
this.domNode.className = "mblButton "+this.btnClass;
|
1129
|
+
|
1130
|
+
if(this.label){
|
1131
|
+
this.domNode.innerHTML = this.label;
|
1132
|
+
}
|
1133
|
+
|
1134
|
+
this.connect(this.domNode, "onclick", "onClick");
|
1135
|
+
},
|
1136
|
+
|
1137
|
+
onClick: function(e){
|
1138
|
+
var button = this.domNode;
|
1139
|
+
var c = "mblButtonSelected "+this.btnClass+"Selected";
|
1140
|
+
dojo.addClass(button, c);
|
1141
|
+
setTimeout(function(){
|
1142
|
+
dojo.removeClass(button, c);
|
1143
|
+
}, this.duration);
|
1144
|
+
}
|
1145
|
+
});
|
1146
|
+
|
1147
|
+
dojo.declare(
|
1148
|
+
"dojox.mobile.TabContainer",
|
1149
|
+
dijit._Widget,
|
1150
|
+
{
|
1151
|
+
iconBase: "",
|
1152
|
+
iconPos: "",
|
1153
|
+
|
1154
|
+
buildRendering: function(){
|
1155
|
+
var node = this.domNode = this.srcNodeRef;
|
1156
|
+
node.className = "mblTabContainer";
|
1157
|
+
var headerNode = this.tabHeaderNode = dojo.doc.createElement("DIV");
|
1158
|
+
var paneNode = this.containerNode = dojo.doc.createElement("DIV");
|
1159
|
+
|
1160
|
+
// reparent
|
1161
|
+
for(var i = 0, len = node.childNodes.length; i < len; i++){
|
1162
|
+
paneNode.appendChild(node.removeChild(node.firstChild));
|
1163
|
+
}
|
1164
|
+
|
1165
|
+
headerNode.className = "mblTabPanelHeader";
|
1166
|
+
headerNode.align = "center";
|
1167
|
+
node.appendChild(headerNode);
|
1168
|
+
paneNode.className = "mblTabPanelPane";
|
1169
|
+
node.appendChild(paneNode);
|
1170
|
+
},
|
1171
|
+
|
1172
|
+
startup: function(){
|
1173
|
+
this.createTabButtons();
|
1174
|
+
this.inherited(arguments);
|
1175
|
+
},
|
1176
|
+
|
1177
|
+
createTabButtons: function(){
|
1178
|
+
var div = dojo.doc.createElement("DIV");
|
1179
|
+
div.align = "center";
|
1180
|
+
var tbl = dojo.doc.createElement("TABLE");
|
1181
|
+
var cell = tbl.insertRow(-1).insertCell(-1);
|
1182
|
+
var children = this.containerNode.childNodes;
|
1183
|
+
for(var i = 0; i < children.length; i++){
|
1184
|
+
var pane = children[i];
|
1185
|
+
if(pane.nodeType != 1){ continue; }
|
1186
|
+
var widget = dijit.byNode(pane);
|
1187
|
+
if(widget.selected || !this._selectedPane){
|
1188
|
+
this._selectedPane = widget;
|
1189
|
+
}
|
1190
|
+
pane.style.display = "none";
|
1191
|
+
var tab = dojo.doc.createElement("DIV");
|
1192
|
+
tab.className = "mblTabButton";
|
1193
|
+
if(widget.icon){
|
1194
|
+
var imgDiv = dojo.create("DIV");
|
1195
|
+
var img = dojo.create("IMG");
|
1196
|
+
imgDiv.className = "mblTabButtonImgDiv";
|
1197
|
+
img.src = widget.icon;
|
1198
|
+
dojox.mobile.setupIcon(img, widget.iconPos);
|
1199
|
+
imgDiv.appendChild(img);
|
1200
|
+
tab.appendChild(imgDiv);
|
1201
|
+
}
|
1202
|
+
tab.appendChild(dojo.doc.createTextNode(widget.label));
|
1203
|
+
tab.pane = widget;
|
1204
|
+
widget.tab = tab;
|
1205
|
+
this.connect(tab, "onclick", "onTabClick");
|
1206
|
+
cell.appendChild(tab);
|
1207
|
+
}
|
1208
|
+
div.appendChild(tbl);
|
1209
|
+
this.tabHeaderNode.appendChild(div);
|
1210
|
+
this.selectTab(this._selectedPane.tab);
|
1211
|
+
},
|
1212
|
+
|
1213
|
+
selectTab: function(/*DomNode*/tab){
|
1214
|
+
this._selectedPane.domNode.style.display = "none";
|
1215
|
+
dojo.removeClass(this._selectedPane.tab, "mblTabButtonSelected");
|
1216
|
+
this._selectedPane = tab.pane;
|
1217
|
+
this._selectedPane.domNode.style.display = "";
|
1218
|
+
dojo.addClass(tab, "mblTabButtonSelected");
|
1219
|
+
},
|
1220
|
+
|
1221
|
+
onTabClick: function(e){
|
1222
|
+
var tab = e.currentTarget;
|
1223
|
+
dojo.addClass(tab, "mblTabButtonHighlighted");
|
1224
|
+
setTimeout(function(){
|
1225
|
+
dojo.removeClass(tab, "mblTabButtonHighlighted");
|
1226
|
+
}, 200);
|
1227
|
+
this.selectTab(tab);
|
1228
|
+
}
|
1229
|
+
});
|
1230
|
+
|
1231
|
+
dojo.declare(
|
1232
|
+
"dojox.mobile.TabPane",
|
1233
|
+
dijit._Widget,
|
1234
|
+
{
|
1235
|
+
label: "",
|
1236
|
+
icon: "",
|
1237
|
+
iconPos: "",
|
1238
|
+
selected: false,
|
1239
|
+
|
1240
|
+
inheritParams: function(){
|
1241
|
+
var parent = this.getParentWidget();
|
1242
|
+
if(parent){
|
1243
|
+
if(!this.icon){ this.icon = parent.iconBase; }
|
1244
|
+
if(!this.iconPos){ this.iconPos = parent.iconPos; }
|
1245
|
+
}
|
1246
|
+
},
|
1247
|
+
|
1248
|
+
buildRendering: function(){
|
1249
|
+
this.inheritParams();
|
1250
|
+
this.domNode = this.containerNode = this.srcNodeRef || dojo.doc.createElement("DIV");
|
1251
|
+
this.domNode.className = "mblTabPane";
|
1252
|
+
},
|
1253
|
+
|
1254
|
+
getParentWidget: function(){
|
1255
|
+
var ref = this.srcNodeRef || this.domNode;
|
1256
|
+
return ref && ref.parentNode ? dijit.getEnclosingWidget(ref.parentNode) : null;
|
1257
|
+
}
|
1258
|
+
});
|
1259
|
+
|
1260
|
+
dojo.declare(
|
1261
|
+
"dojox.mobile.ProgressIndicator",
|
1262
|
+
null,
|
1263
|
+
{
|
1264
|
+
interval: 100, // milliseconds
|
1265
|
+
colors: [
|
1266
|
+
"#C0C0C0", "#C0C0C0", "#C0C0C0", "#C0C0C0",
|
1267
|
+
"#C0C0C0", "#C0C0C0", "#B8B9B8", "#AEAFAE",
|
1268
|
+
"#A4A5A4", "#9A9A9A", "#8E8E8E", "#838383"
|
1269
|
+
],
|
1270
|
+
|
1271
|
+
_bars: [],
|
1272
|
+
|
1273
|
+
constructor: function(){
|
1274
|
+
this.domNode = dojo.create("DIV");
|
1275
|
+
this.domNode.className = "mblProgContainer";
|
1276
|
+
for(var i = 0; i < 12; i++){
|
1277
|
+
var div = dojo.create("DIV");
|
1278
|
+
div.className = "mblProg mblProg"+i;
|
1279
|
+
this.domNode.appendChild(div);
|
1280
|
+
this._bars.push(div);
|
1281
|
+
}
|
1282
|
+
},
|
1283
|
+
|
1284
|
+
start: function(){
|
1285
|
+
var cntr = 0;
|
1286
|
+
var _this = this;
|
1287
|
+
this.timer = setInterval(function(){
|
1288
|
+
cntr--;
|
1289
|
+
cntr = cntr < 0 ? 11 : cntr;
|
1290
|
+
var c = _this.colors;
|
1291
|
+
for(var i = 0; i < 12; i++){
|
1292
|
+
var idx = (cntr + i) % 12;
|
1293
|
+
_this._bars[i].style.backgroundColor = c[idx];
|
1294
|
+
}
|
1295
|
+
}, this.interval);
|
1296
|
+
},
|
1297
|
+
|
1298
|
+
stop: function(){
|
1299
|
+
if(this.timer){
|
1300
|
+
clearInterval(this.timer);
|
1301
|
+
}
|
1302
|
+
this.timer = null;
|
1303
|
+
if(this.domNode.parentNode){
|
1304
|
+
this.domNode.parentNode.removeChild(this.domNode);
|
1305
|
+
}
|
1306
|
+
}
|
1307
|
+
});
|
1308
|
+
dojox.mobile.ProgressIndicator._instance = null;
|
1309
|
+
dojox.mobile.ProgressIndicator.getInstance = function(){
|
1310
|
+
if(!dojox.mobile.ProgressIndicator._instance){
|
1311
|
+
dojox.mobile.ProgressIndicator._instance = new dojox.mobile.ProgressIndicator();
|
1312
|
+
}
|
1313
|
+
return dojox.mobile.ProgressIndicator._instance;
|
1314
|
+
};
|
1315
|
+
|
1316
|
+
dojox.mobile.addClass = function(){
|
1317
|
+
// summary:
|
1318
|
+
// Adds a theme class name to <body>.
|
1319
|
+
// description:
|
1320
|
+
// Finds the currently applied theme name, such as 'iphone' or 'android'
|
1321
|
+
// from link elements, and adds it as a class name for the body element.
|
1322
|
+
var elems = document.getElementsByTagName("link");
|
1323
|
+
for(var i = 0, len = elems.length; i < len; i++){
|
1324
|
+
if(elems[i].href.match(/dojox\/mobile\/themes\/(\w+)\//)){
|
1325
|
+
dojox.mobile.theme = RegExp.$1;
|
1326
|
+
dojo.addClass(dojo.body(), dojox.mobile.theme);
|
1327
|
+
break;
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
};
|
1331
|
+
|
1332
|
+
dojox.mobile.setupIcon = function(/*DomNode*/iconNode, /*String*/iconPos){
|
1333
|
+
if(iconNode && iconPos){
|
1334
|
+
var arr = dojo.map(iconPos.split(/[ ,]/),
|
1335
|
+
function(item){ return item - 0; });
|
1336
|
+
var t = arr[0]; // top
|
1337
|
+
var r = arr[1] + arr[2]; // right
|
1338
|
+
var b = arr[0] + arr[3]; // bottom
|
1339
|
+
var l = arr[1]; // left
|
1340
|
+
iconNode.style.clip = "rect("+t+"px "+r+"px "+b+"px "+l+"px)";
|
1341
|
+
iconNode.style.top = -t + "px";
|
1342
|
+
iconNode.style.left = -l + "px";
|
1343
|
+
}
|
1344
|
+
};
|
1345
|
+
|
1346
|
+
dojo._loaders.unshift(function(){
|
1347
|
+
// avoid use of dojo.query
|
1348
|
+
/*
|
1349
|
+
var list = dojo.query('[lazy=true] [dojoType]', null);
|
1350
|
+
list.forEach(function(node, index, nodeList){
|
1351
|
+
node.setAttribute("__dojoType", node.getAttribute("dojoType"));
|
1352
|
+
node.removeAttribute("dojoType");
|
1353
|
+
});
|
1354
|
+
*/
|
1355
|
+
|
1356
|
+
var nodes = dojo.body().getElementsByTagName("*");
|
1357
|
+
var i, len, s;
|
1358
|
+
len = nodes.length;
|
1359
|
+
for(i = 0; i < len; i++){
|
1360
|
+
s = nodes[i].getAttribute("dojoType");
|
1361
|
+
if(s){
|
1362
|
+
if(nodes[i].parentNode.getAttribute("lazy") == "true"){
|
1363
|
+
nodes[i].setAttribute("__dojoType", s);
|
1364
|
+
nodes[i].removeAttribute("dojoType");
|
1365
|
+
}
|
1366
|
+
}
|
1367
|
+
}
|
1368
|
+
});
|
1369
|
+
|
1370
|
+
dojo.addOnLoad(function(){
|
1371
|
+
dojox.mobile.addClass();
|
1372
|
+
if(dojo.config["mblApplyPageStyles"] !== false){
|
1373
|
+
dojo.addClass(dojo.doc.documentElement, "mobile");
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
// You can disable hiding the address bar with the following djConfig.
|
1377
|
+
// var djConfig = { mblHideAddressBar: false };
|
1378
|
+
if(dojo.config["mblHideAddressBar"] !== false){
|
1379
|
+
var hideAddressBar = function(){
|
1380
|
+
setTimeout(function(){ scrollTo(0, 1); }, 100);
|
1381
|
+
};
|
1382
|
+
hideAddressBar();
|
1383
|
+
//dojo.connect(dojo.body(), "onorientationchange", hideAddressBar);
|
1384
|
+
}
|
1385
|
+
|
1386
|
+
// avoid use of dojo.query
|
1387
|
+
/*
|
1388
|
+
var list = dojo.query('[__dojoType]', null);
|
1389
|
+
list.forEach(function(node, index, nodeList){
|
1390
|
+
node.setAttribute("dojoType", node.getAttribute("__dojoType"));
|
1391
|
+
node.removeAttribute("__dojoType");
|
1392
|
+
});
|
1393
|
+
*/
|
1394
|
+
|
1395
|
+
var nodes = dojo.body().getElementsByTagName("*");
|
1396
|
+
var i, len = nodes.length, s;
|
1397
|
+
for(i = 0; i < len; i++){
|
1398
|
+
s = nodes[i].getAttribute("__dojoType");
|
1399
|
+
if(s){
|
1400
|
+
nodes[i].setAttribute("dojoType", s);
|
1401
|
+
nodes[i].removeAttribute("__dojoType");
|
1402
|
+
}
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
if(dojo.hash){
|
1406
|
+
// find widgets under root recursively
|
1407
|
+
var findWidgets = function(root){
|
1408
|
+
var arr;
|
1409
|
+
arr = dijit.findWidgets(root);
|
1410
|
+
var widgets = arr;
|
1411
|
+
for(var i = 0; i < widgets.length; i++){
|
1412
|
+
arr = arr.concat(findWidgets(widgets[i].containerNode));
|
1413
|
+
}
|
1414
|
+
return arr;
|
1415
|
+
};
|
1416
|
+
dojo.subscribe("/dojo/hashchange", null, function(value){
|
1417
|
+
var view = dojox.mobile._currentView;
|
1418
|
+
if(!view){ return; }
|
1419
|
+
var params = dojox.mobile._params;
|
1420
|
+
if(!params){ // browser back/forward button was pressed
|
1421
|
+
var moveTo = value ? value : dojox.mobile._defaultView.id;
|
1422
|
+
var widgets = findWidgets(view.domNode);
|
1423
|
+
var dir = 1, transition = "slide";
|
1424
|
+
for(i = 0; i < widgets.length; i++){
|
1425
|
+
var w = widgets[i];
|
1426
|
+
if("#"+moveTo == w.moveTo){
|
1427
|
+
// found a widget that has the given moveTo
|
1428
|
+
transition = w.transition;
|
1429
|
+
dir = (w instanceof dojox.mobile.Heading) ? -1 : 1;
|
1430
|
+
break;
|
1431
|
+
}
|
1432
|
+
}
|
1433
|
+
params = [ moveTo, dir, transition ];
|
1434
|
+
}
|
1435
|
+
view.performTransition.apply(view, params);
|
1436
|
+
dojox.mobile._params = null;
|
1437
|
+
});
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
dojo.body().style.visibility = "visible";
|
1441
|
+
});
|
1442
|
+
|
1443
|
+
dijit.getEnclosingWidget = function(node){
|
1444
|
+
while(node && node.tagName !== "BODY"){
|
1445
|
+
if(node.getAttribute && node.getAttribute("widgetId")){
|
1446
|
+
return dijit.registry.byId(node.getAttribute("widgetId"));
|
1447
|
+
}
|
1448
|
+
node = node._parentNode || node.parentNode;
|
1449
|
+
}
|
1450
|
+
return null;
|
1451
|
+
};
|