From 6038936cef1024347c53aa7532fcdf622c067acc Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 27 Oct 2016 18:47:02 +0200 Subject: [PATCH] Fix wodocollabeditor conflicts with other libraries because of global require and define AMD modulation --- api/js/webodf/collab/EditorSession.js | 2 +- api/js/webodf/collab/FullWindowZoomHelper.js | 2 +- api/js/webodf/collab/MemberListView.js | 2 +- api/js/webodf/collab/ServerFactory.js | 2 +- api/js/webodf/collab/SessionListView.js | 2 +- api/js/webodf/collab/Tools.js | 2 +- api/js/webodf/collab/Translator.js | 2 +- .../backend/jsglobal/OperationRouter.js | 2 +- .../webodf/collab/backend/jsglobal/Server.js | 2 +- .../collab/backend/jsglobal/ServerFactory.js | 2 +- .../collab/backend/jsglobal/SessionBackend.js | 2 +- .../collab/backend/jsglobal/SessionList.js | 2 +- .../collab/backend/pullbox/OperationRouter.js | 2 +- .../webodf/collab/backend/pullbox/Server.js | 2 +- .../collab/backend/pullbox/ServerFactory.js | 2 +- .../collab/backend/pullbox/SessionBackend.js | 2 +- .../collab/backend/pullbox/SessionList.js | 2 +- .../collab/dijit/themes/claro/compile.js | 6 +- api/js/webodf/collab/dojo-amalgamation.js | 846 +++++------ .../collab/nbproject/project.properties | 3 + api/js/webodf/collab/webodf.js | 4 +- api/js/webodf/collab/widgets/aboutDialog.js | 2 +- api/js/webodf/collab/widgets/annotation.js | 2 +- .../widgets/dialogWidgets/alignmentPane.js | 4 +- .../dialogWidgets/editHyperlinkPane.js | 2 +- .../widgets/dialogWidgets/fontEffectsPane.js | 4 +- .../collab/widgets/dialogWidgets/idMangler.js | 2 +- .../webodf/collab/widgets/editHyperlinks.js | 2 +- api/js/webodf/collab/widgets/fontPicker.js | 2 +- api/js/webodf/collab/widgets/imageInserter.js | 2 +- .../collab/widgets/paragraphAlignment.js | 2 +- .../webodf/collab/widgets/paragraphStyles.js | 2 +- .../collab/widgets/paragraphStylesDialog.js | 6 +- api/js/webodf/collab/widgets/simpleStyles.js | 2 +- .../widgets/toolbarWidgets/currentStyle.js | 4 +- api/js/webodf/collab/widgets/undoRedoMenu.js | 2 +- api/js/webodf/collab/widgets/zoomSlider.js | 2 +- api/js/webodf/collab/wodocollabtexteditor.js | 2 +- api/js/webodf/collab/wodotexteditor.js | 2 +- api/js/webodf/webodf-debug.js | 4 +- api/js/webodf/webodf.js | 4 +- api/js/webodf/wodotexteditor/docs/files.html | 220 --- api/js/webodf/wodotexteditor/docs/index.html | 226 --- .../docs/symbols/TextEditor.html | 989 ------------- .../wodotexteditor/docs/symbols/Wodo.html | 687 --------- .../wodotexteditor/docs/symbols/_global_.html | 253 ---- .../docs/symbols/src/wodotexteditor.js.html | 865 ----------- .../wodotexteditor/EditorSession.js | 659 --------- .../wodotexteditor/FullWindowZoomHelper.js | 83 -- .../wodotexteditor/wodotexteditor/Tools.js | 317 ---- .../wodotexteditor/Translator.js | 81 -- .../wodotexteditor/app/resources/app.css | 1 - .../wodotexteditor/avatar-joe.png | Bin 31269 -> 0 bytes .../dijit/icons/commonIcons.css | 1 - .../dijit/icons/commonIcons_rtl.css | 1 - .../dijit/icons/editorIcons.css | 1 - .../dijit/icons/editorIcons_rtl.css | 1 - .../images/commonIconsObjActDisabled.png | Bin 4956 -> 0 bytes .../images/commonIconsObjActDisabled_rtl.png | Bin 5820 -> 0 bytes .../icons/images/commonIconsObjActEnabled.png | Bin 12474 -> 0 bytes .../images/commonIconsObjActEnabled8bit.png | Bin 4334 -> 0 bytes .../commonIconsObjActEnabled8bit_rtl.png | Bin 5258 -> 0 bytes .../images/commonIconsObjActEnabled_rtl.png | Bin 10481 -> 0 bytes .../icons/images/editorIconsDisabled.png | Bin 3289 -> 0 bytes .../icons/images/editorIconsDisabled_rtl.png | Bin 6965 -> 0 bytes .../dijit/icons/images/editorIconsEnabled.png | Bin 3846 -> 0 bytes .../icons/images/editorIconsEnabled_rtl.png | Bin 7144 -> 0 bytes .../icons/images/loadingAnimation_rtl.gif | Bin 1513 -> 0 bytes .../dijit/themes/a11y/README.txt | 3 - .../dijit/themes/a11y/colors3x4.png | Bin 282 -> 0 bytes .../dijit/themes/a11y/colors7x10.png | Bin 808 -> 0 bytes .../themes/a11y/indeterminate_progress.gif | Bin 2907 -> 0 bytes .../dijit/themes/claro/Calendar.css | 290 ---- .../dijit/themes/claro/Calendar.less | 277 ---- .../dijit/themes/claro/Calendar_rtl.css | 18 - .../dijit/themes/claro/Calendar_rtl.less | 19 - .../dijit/themes/claro/ColorPalette.css | 41 - .../dijit/themes/claro/ColorPalette.less | 44 - .../dijit/themes/claro/Common.css | 98 -- .../dijit/themes/claro/Common.less | 86 -- .../dijit/themes/claro/Dialog.css | 205 --- .../dijit/themes/claro/Dialog.less | 209 --- .../dijit/themes/claro/Dialog_rtl.css | 9 - .../dijit/themes/claro/Dialog_rtl.less | 13 - .../dijit/themes/claro/Editor.css | 55 - .../dijit/themes/claro/Editor.less | 57 - .../dijit/themes/claro/Editor_rtl.css | 4 - .../dijit/themes/claro/Editor_rtl.less | 9 - .../dijit/themes/claro/InlineEditBox.css | 20 - .../dijit/themes/claro/InlineEditBox.less | 25 - .../dijit/themes/claro/Menu.css | 183 --- .../dijit/themes/claro/Menu.less | 179 --- .../dijit/themes/claro/Menu_rtl.css | 8 - .../dijit/themes/claro/Menu_rtl.less | 11 - .../dijit/themes/claro/ProgressBar.css | 66 - .../dijit/themes/claro/ProgressBar.less | 64 - .../wodotexteditor/dijit/themes/claro/README | 11 - .../dijit/themes/claro/TimePicker.css | 127 -- .../dijit/themes/claro/TimePicker.less | 115 -- .../dijit/themes/claro/TimePicker_rtl.css | 9 - .../dijit/themes/claro/TimePicker_rtl.less | 12 - .../dijit/themes/claro/TitlePane.css | 79 - .../dijit/themes/claro/TitlePane.less | 70 - .../dijit/themes/claro/TitlePane_rtl.css | 4 - .../dijit/themes/claro/TitlePane_rtl.less | 7 - .../dijit/themes/claro/Toolbar.css | 201 --- .../dijit/themes/claro/Toolbar.less | 173 --- .../dijit/themes/claro/Toolbar_rtl.css | 29 - .../dijit/themes/claro/Toolbar_rtl.less | 32 - .../dijit/themes/claro/Tree.css | 143 -- .../dijit/themes/claro/Tree.less | 127 -- .../dijit/themes/claro/claro.css | 1 - .../dijit/themes/claro/claro_rtl.css | 1 - .../dijit/themes/claro/compile.js | 52 - .../dijit/themes/claro/document.css | 43 - .../dijit/themes/claro/document.less | 45 - .../dijit/themes/claro/form/Button.css | 164 --- .../dijit/themes/claro/form/Button.less | 164 --- .../dijit/themes/claro/form/Button_rtl.css | 13 - .../dijit/themes/claro/form/Button_rtl.less | 16 - .../dijit/themes/claro/form/Checkbox.css | 67 - .../dijit/themes/claro/form/Checkbox.less | 79 - .../dijit/themes/claro/form/Common.css | 220 --- .../dijit/themes/claro/form/Common.less | 241 ---- .../dijit/themes/claro/form/Common_rtl.css | 5 - .../dijit/themes/claro/form/Common_rtl.less | 8 - .../dijit/themes/claro/form/NumberSpinner.css | 148 -- .../themes/claro/form/NumberSpinner.less | 150 -- .../dijit/themes/claro/form/RadioButton.css | 74 - .../dijit/themes/claro/form/RadioButton.less | 84 -- .../dijit/themes/claro/form/Select.css | 96 -- .../dijit/themes/claro/form/Select.less | 98 -- .../dijit/themes/claro/form/Slider.css | 345 ----- .../dijit/themes/claro/form/Slider.less | 344 ----- .../dijit/themes/claro/form/Slider_rtl.css | 26 - .../dijit/themes/claro/form/Slider_rtl.less | 33 - .../themes/claro/form/images/buttonArrows.png | Bin 297 -> 0 bytes .../claro/form/images/buttonDisabled.png | Bin 105 -> 0 bytes .../claro/form/images/buttonDisabled.svg | 23 - .../claro/form/images/buttonEnabled.png | Bin 122 -> 0 bytes .../claro/form/images/buttonEnabled.svg | 24 - .../images/checkboxAndRadioButtons_IE6.png | Bin 2160 -> 0 bytes .../form/images/checkboxRadioButtonStates.png | Bin 3438 -> 0 bytes .../claro/form/images/commonFormArrows.png | Bin 314 -> 0 bytes .../dijit/themes/claro/form/images/error.png | Bin 355 -> 0 bytes .../themes/claro/form/images/sliderThumbs.png | Bin 1222 -> 0 bytes .../themes/claro/images/activeGradient.png | Bin 146 -> 0 bytes .../themes/claro/images/activeGradient.svg | 19 - .../dijit/themes/claro/images/calendar.png | Bin 194 -> 0 bytes .../themes/claro/images/calendarArrows.png | Bin 1425 -> 0 bytes .../claro/images/calendarArrows8bit.png | Bin 1053 -> 0 bytes .../themes/claro/images/checkmarkNoBorder.gif | Bin 1658 -> 0 bytes .../themes/claro/images/checkmarkNoBorder.png | Bin 4401 -> 0 bytes .../themes/claro/images/dialogCloseIcon.png | Bin 1660 -> 0 bytes .../claro/images/dialogCloseIcon8bit.png | Bin 705 -> 0 bytes .../dijit/themes/claro/images/dnd.png | Bin 2127 -> 0 bytes .../themes/claro/images/loadingAnimation.gif | Bin 718 -> 0 bytes .../themes/claro/images/progressBarAnim.gif | Bin 4458 -> 0 bytes .../themes/claro/images/progressBarFull.png | Bin 177 -> 0 bytes .../themes/claro/images/spriteArrows.png | Bin 233 -> 0 bytes .../themes/claro/images/standardGradient.png | Bin 153 -> 0 bytes .../themes/claro/images/standardGradient.svg | 18 - .../dijit/themes/claro/images/tooltip.png | Bin 1818 -> 0 bytes .../dijit/themes/claro/images/tooltip8bit.png | Bin 589 -> 0 bytes .../themes/claro/images/treeExpandImages.png | Bin 676 -> 0 bytes .../claro/images/treeExpandImages8bit.png | Bin 799 -> 0 bytes .../claro/layout/AccordionContainer.css | 129 -- .../claro/layout/AccordionContainer.less | 111 -- .../themes/claro/layout/BorderContainer.css | 113 -- .../themes/claro/layout/BorderContainer.less | 124 -- .../dijit/themes/claro/layout/ContentPane.css | 39 - .../themes/claro/layout/ContentPane.less | 43 - .../themes/claro/layout/TabContainer.css | 387 ----- .../themes/claro/layout/TabContainer.less | 366 ----- .../themes/claro/layout/TabContainer_rtl.css | 5 - .../themes/claro/layout/TabContainer_rtl.less | 7 - .../claro/layout/images/tabBottomSelected.png | Bin 118 -> 0 bytes .../claro/layout/images/tabBottomSelected.svg | 18 - .../layout/images/tabBottomUnselected.png | Bin 110 -> 0 bytes .../layout/images/tabBottomUnselected.svg | 19 - .../themes/claro/layout/images/tabClose.png | Bin 1410 -> 0 bytes .../claro/layout/images/tabLeftSelected.png | Bin 213 -> 0 bytes .../claro/layout/images/tabLeftSelected.svg | 17 - .../claro/layout/images/tabLeftUnselected.png | Bin 106 -> 0 bytes .../claro/layout/images/tabLeftUnselected.svg | 16 - .../themes/claro/layout/images/tabNested.png | Bin 272 -> 0 bytes .../claro/layout/images/tabRightSelected.png | Bin 210 -> 0 bytes .../claro/layout/images/tabRightSelected.svg | 17 - .../layout/images/tabRightUnselected.png | Bin 105 -> 0 bytes .../layout/images/tabRightUnselected.svg | 16 - .../claro/layout/images/tabTopSelected.png | Bin 120 -> 0 bytes .../claro/layout/images/tabTopSelected.svg | 18 - .../claro/layout/images/tabTopUnselected.png | Bin 121 -> 0 bytes .../claro/layout/images/tabTopUnselected.svg | 19 - .../dijit/themes/claro/variables.css | 0 .../dijit/themes/claro/variables.less | 384 ----- .../wodotexteditor/dijit/themes/dijit.css | 1 - .../wodotexteditor/dijit/themes/dijit_rtl.css | 1 - .../wodotexteditor/dojo-amalgamation.js | 1269 ----------------- .../wodotexteditor/dojo/resources/LICENSE | 30 - .../wodotexteditor/dojo/resources/blank.gif | Bin 43 -> 0 bytes .../wodotexteditor/dojo/resources/blank.html | 1 - .../wodotexteditor/dojo/resources/dnd.css | 1 - .../wodotexteditor/dojo/resources/dojo.css | 1 - .../dojo/resources/iframe_history.html | 44 - .../dojo/resources/images/dndCopy.png | Bin 814 -> 0 bytes .../dojo/resources/images/dndMove.png | Bin 785 -> 0 bytes .../dojo/resources/images/dndNoCopy.png | Bin 1332 -> 0 bytes .../dojo/resources/images/dndNoMove.png | Bin 991 -> 0 bytes .../layout/resources/DndGridContainer.css | 1 - .../dojox/layout/resources/ExpandoPane.css | 1 - .../dojox/layout/resources/ExpandoPane.html | 9 - .../dojox/layout/resources/FloatingPane.css | 1 - .../dojox/layout/resources/FloatingPane.html | 14 - .../dojox/layout/resources/GridContainer.css | 1 - .../dojox/layout/resources/GridContainer.html | 11 - .../dojox/layout/resources/RadioGroup.css | 1 - .../dojox/layout/resources/ResizeHandle.css | 1 - .../layout/resources/RotatorContainer.css | 1 - .../dojox/layout/resources/ScrollPane.css | 1 - .../dojox/layout/resources/ScrollPane.html | 6 - .../dojox/layout/resources/ToggleSplitter.css | 1 - .../resources/icons/gridcontainer_grip.gif | Bin 80 -> 0 bytes .../dojox/layout/resources/icons/grip_bg.gif | Bin 46 -> 0 bytes .../dojox/layout/resources/icons/pixel.gif | Bin 64 -> 0 bytes .../dojox/layout/resources/icons/resize.png | Bin 319 -> 0 bytes .../layout/resources/icons/resizeRtl.png | Bin 269 -> 0 bytes .../dojox/layout/resources/icons/rotator.png | Bin 1895 -> 0 bytes .../resources/icons/splitterToggleH.png | Bin 2937 -> 0 bytes .../resources/icons/splitterToggleV.png | Bin 2938 -> 0 bytes .../dojox/widget/ColorPicker/ColorPicker.css | 1 - .../dojox/widget/ColorPicker/ColorPicker.html | 72 - .../dojox/widget/ColorPicker/images/hue.png | Bin 1991 -> 0 bytes .../widget/ColorPicker/images/hueHandle.png | Bin 280 -> 0 bytes .../ColorPicker/images/hueHandleA11y.png | Bin 199 -> 0 bytes .../ColorPicker/images/pickerPointer.png | Bin 228 -> 0 bytes .../widget/ColorPicker/images/underlay.png | Bin 10788 -> 0 bytes .../wodotexteditor/images/kogmbh.png | Bin 2835 -> 0 bytes .../wodotexteditor/images/saveas.png | Bin 564 -> 0 bytes .../wodotexteditor/images/webodf.png | Bin 642 -> 0 bytes .../wodotexteditor/resources/fonts/fonts.css | 0 .../wodotexteditor/translations/de-DE.json | 66 - .../wodotexteditor/translations/en-US.json | 2 - .../wodotexteditor/translations/eu.json | 64 - .../wodotexteditor/translations/fr-FR.json | 66 - .../wodotexteditor/translations/it-IT.json | 64 - .../wodotexteditor/translations/nl-NL.json | 66 - .../wodotexteditor/wodotexteditor/webodf.js | 920 ------------ .../wodotexteditor/widgets/aboutDialog.js | 67 - .../wodotexteditor/widgets/annotation.js | 95 -- .../widgets/dialogWidgets/alignmentPane.html | 59 - .../widgets/dialogWidgets/alignmentPane.js | 118 -- .../dialogWidgets/editHyperlinkPane.html | 30 - .../dialogWidgets/editHyperlinkPane.js | 106 -- .../dialogWidgets/fontEffectsPane.html | 58 - .../widgets/dialogWidgets/fontEffectsPane.js | 199 --- .../widgets/dialogWidgets/idMangler.js | 90 -- .../wodotexteditor/widgets/editHyperlinks.js | 202 --- .../wodotexteditor/widgets/fontPicker.js | 133 -- .../wodotexteditor/widgets/imageInserter.js | 179 --- .../widgets/paragraphAlignment.js | 194 --- .../wodotexteditor/widgets/paragraphStyles.js | 185 --- .../widgets/paragraphStylesDialog.js | 358 ----- .../wodotexteditor/widgets/simpleStyles.js | 208 --- .../widgets/toolbarWidgets/currentStyle.js | 89 -- .../wodotexteditor/widgets/undoRedoMenu.js | 112 -- .../wodotexteditor/widgets/zoomSlider.js | 93 -- .../wodotexteditor/wodotexteditor.css | 170 --- .../wodotexteditor/wodotexteditor.js | 857 ----------- filemanager/js/collab.js | 2 +- 270 files changed, 476 insertions(+), 18759 deletions(-) create mode 100644 api/js/webodf/collab/nbproject/project.properties delete mode 100644 api/js/webodf/wodotexteditor/docs/files.html delete mode 100644 api/js/webodf/wodotexteditor/docs/index.html delete mode 100644 api/js/webodf/wodotexteditor/docs/symbols/TextEditor.html delete mode 100644 api/js/webodf/wodotexteditor/docs/symbols/Wodo.html delete mode 100644 api/js/webodf/wodotexteditor/docs/symbols/_global_.html delete mode 100644 api/js/webodf/wodotexteditor/docs/symbols/src/wodotexteditor.js.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/EditorSession.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/FullWindowZoomHelper.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/Tools.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/Translator.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/app/resources/app.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/avatar-joe.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/commonIcons.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/commonIcons_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/editorIcons.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/editorIcons_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/commonIconsObjActDisabled.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/commonIconsObjActDisabled_rtl.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/commonIconsObjActEnabled.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/commonIconsObjActEnabled8bit.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/commonIconsObjActEnabled8bit_rtl.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/commonIconsObjActEnabled_rtl.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/editorIconsDisabled.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/editorIconsDisabled_rtl.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/editorIconsEnabled.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/editorIconsEnabled_rtl.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/icons/images/loadingAnimation_rtl.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/a11y/README.txt delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/a11y/colors3x4.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/a11y/colors7x10.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/a11y/indeterminate_progress.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Calendar.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Calendar.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Calendar_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Calendar_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/ColorPalette.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/ColorPalette.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Common.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Common.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Dialog.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Dialog.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Dialog_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Dialog_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Editor.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Editor.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Editor_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Editor_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/InlineEditBox.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/InlineEditBox.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Menu.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Menu.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Menu_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Menu_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/ProgressBar.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/ProgressBar.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/README delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TimePicker.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TimePicker.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TimePicker_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TimePicker_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TitlePane.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TitlePane.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TitlePane_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/TitlePane_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Toolbar.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Toolbar.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Toolbar_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Toolbar_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Tree.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/Tree.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/claro.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/claro_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/compile.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/document.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/document.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Button.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Button.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Button_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Button_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Checkbox.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Checkbox.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Common.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Common.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Common_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Common_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/NumberSpinner.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/NumberSpinner.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/RadioButton.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/RadioButton.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Select.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Select.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Slider.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Slider.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Slider_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/Slider_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/buttonArrows.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/buttonDisabled.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/buttonDisabled.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/buttonEnabled.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/buttonEnabled.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/checkboxAndRadioButtons_IE6.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/checkboxRadioButtonStates.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/commonFormArrows.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/error.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/form/images/sliderThumbs.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/activeGradient.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/activeGradient.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/calendar.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/calendarArrows.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/calendarArrows8bit.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/checkmarkNoBorder.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/checkmarkNoBorder.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/dialogCloseIcon.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/dialogCloseIcon8bit.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/dnd.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/loadingAnimation.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/progressBarAnim.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/progressBarFull.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/spriteArrows.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/standardGradient.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/standardGradient.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/tooltip.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/tooltip8bit.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/treeExpandImages.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/images/treeExpandImages8bit.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/AccordionContainer.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/AccordionContainer.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/BorderContainer.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/BorderContainer.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/ContentPane.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/ContentPane.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/TabContainer.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/TabContainer.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/TabContainer_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/TabContainer_rtl.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabBottomSelected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabBottomSelected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabBottomUnselected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabBottomUnselected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabClose.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabLeftSelected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabLeftSelected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabLeftUnselected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabLeftUnselected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabNested.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabRightSelected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabRightSelected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabRightUnselected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabRightUnselected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabTopSelected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabTopSelected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabTopUnselected.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/layout/images/tabTopUnselected.svg delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/variables.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/claro/variables.less delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/dijit.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dijit/themes/dijit_rtl.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo-amalgamation.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/LICENSE delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/blank.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/blank.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/dnd.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/dojo.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/iframe_history.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/images/dndCopy.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/images/dndMove.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/images/dndNoCopy.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojo/resources/images/dndNoMove.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/DndGridContainer.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/ExpandoPane.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/ExpandoPane.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/FloatingPane.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/FloatingPane.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/GridContainer.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/GridContainer.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/RadioGroup.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/ResizeHandle.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/RotatorContainer.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/ScrollPane.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/ScrollPane.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/ToggleSplitter.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/gridcontainer_grip.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/grip_bg.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/pixel.gif delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/resize.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/resizeRtl.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/rotator.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/splitterToggleH.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/layout/resources/icons/splitterToggleV.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/widget/ColorPicker/ColorPicker.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/widget/ColorPicker/ColorPicker.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/widget/ColorPicker/images/hue.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/widget/ColorPicker/images/hueHandle.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/widget/ColorPicker/images/hueHandleA11y.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/widget/ColorPicker/images/pickerPointer.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/dojox/widget/ColorPicker/images/underlay.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/images/kogmbh.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/images/saveas.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/images/webodf.png delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/resources/fonts/fonts.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/translations/de-DE.json delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/translations/en-US.json delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/translations/eu.json delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/translations/fr-FR.json delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/translations/it-IT.json delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/translations/nl-NL.json delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/webodf.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/aboutDialog.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/annotation.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/dialogWidgets/alignmentPane.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/dialogWidgets/alignmentPane.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/dialogWidgets/editHyperlinkPane.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/dialogWidgets/editHyperlinkPane.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/dialogWidgets/fontEffectsPane.html delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/dialogWidgets/fontEffectsPane.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/dialogWidgets/idMangler.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/editHyperlinks.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/fontPicker.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/imageInserter.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/paragraphAlignment.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/paragraphStyles.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/paragraphStylesDialog.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/simpleStyles.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/toolbarWidgets/currentStyle.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/undoRedoMenu.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/widgets/zoomSlider.js delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/wodotexteditor.css delete mode 100644 api/js/webodf/wodotexteditor/wodotexteditor/wodotexteditor.js diff --git a/api/js/webodf/collab/EditorSession.js b/api/js/webodf/collab/EditorSession.js index f2e91b695e..ce21283d75 100644 --- a/api/js/webodf/collab/EditorSession.js +++ b/api/js/webodf/collab/EditorSession.js @@ -24,7 +24,7 @@ /*global runtime, define, document, core, odf, gui, ops*/ -define("webodf/editor/EditorSession", [ +webodfModule.define("webodf/editor/EditorSession", [ "dojo/text!resources/fonts/fonts.css" ], function (fontsCSS) { // fontsCSS is retrieved as a string, using dojo's text retrieval AMD plugin "use strict"; diff --git a/api/js/webodf/collab/FullWindowZoomHelper.js b/api/js/webodf/collab/FullWindowZoomHelper.js index b3d88b9288..3d92d71587 100644 --- a/api/js/webodf/collab/FullWindowZoomHelper.js +++ b/api/js/webodf/collab/FullWindowZoomHelper.js @@ -24,7 +24,7 @@ /*global define, document, window */ -define("webodf/editor/FullWindowZoomHelper", [], function () { +webodfModule.define("webodf/editor/FullWindowZoomHelper", [], function () { "use strict"; // fullscreen pinch-zoom adaption diff --git a/api/js/webodf/collab/MemberListView.js b/api/js/webodf/collab/MemberListView.js index c188e2af99..0cd1c11634 100644 --- a/api/js/webodf/collab/MemberListView.js +++ b/api/js/webodf/collab/MemberListView.js @@ -24,7 +24,7 @@ /*global define,runtime */ -define("webodf/editor/MemberListView", +webodfModule.define("webodf/editor/MemberListView", ["webodf/editor/EditorSession"], function (EditorSession) { diff --git a/api/js/webodf/collab/ServerFactory.js b/api/js/webodf/collab/ServerFactory.js index 85003f73fb..4e6fead9c7 100644 --- a/api/js/webodf/collab/ServerFactory.js +++ b/api/js/webodf/collab/ServerFactory.js @@ -1,4 +1,4 @@ -define("egwCollab/ServerFactory", [ +webodfModule.define("egwCollab/ServerFactory", [ "webodf/editor/backend/pullbox/Server", "webodf/editor/backend/pullbox/SessionBackend", "webodf/editor/backend/pullbox/SessionList"], diff --git a/api/js/webodf/collab/SessionListView.js b/api/js/webodf/collab/SessionListView.js index ff32f029e6..10614baa1b 100644 --- a/api/js/webodf/collab/SessionListView.js +++ b/api/js/webodf/collab/SessionListView.js @@ -24,7 +24,7 @@ /*global Node, define, runtime */ -define("webodf/editor/SessionListView", [], function () { +webodfModule.define("webodf/editor/SessionListView", [], function () { "use strict"; return function SessionListView(sessionList, sessionListDiv, cb) { diff --git a/api/js/webodf/collab/Tools.js b/api/js/webodf/collab/Tools.js index f97a97338b..3f354bdb57 100644 --- a/api/js/webodf/collab/Tools.js +++ b/api/js/webodf/collab/Tools.js @@ -24,7 +24,7 @@ /*global define, document, dijit, dojo, runtime, ops*/ -define("webodf/editor/Tools", [ +webodfModule.define("webodf/editor/Tools", [ "dojo/ready", "dijit/MenuItem", "dijit/DropDownMenu", diff --git a/api/js/webodf/collab/Translator.js b/api/js/webodf/collab/Translator.js index 434fb7b924..d2ede78b7b 100644 --- a/api/js/webodf/collab/Translator.js +++ b/api/js/webodf/collab/Translator.js @@ -24,7 +24,7 @@ /*global define, runtime, XMLHttpRequest */ -define("webodf/editor/Translator", [], function () { +webodfModule.define("webodf/editor/Translator", [], function () { "use strict"; return function Translator(translationsPath, locale, callback) { diff --git a/api/js/webodf/collab/backend/jsglobal/OperationRouter.js b/api/js/webodf/collab/backend/jsglobal/OperationRouter.js index 7ee2bb9eb6..e5ef31ccf9 100644 --- a/api/js/webodf/collab/backend/jsglobal/OperationRouter.js +++ b/api/js/webodf/collab/backend/jsglobal/OperationRouter.js @@ -24,7 +24,7 @@ /*global define, runtime, core, ops*/ -define("webodf/editor/backend/jsglobal/OperationRouter", [], function () { +webodfModule.define("webodf/editor/backend/jsglobal/OperationRouter", [], function () { "use strict"; var /**@const @type {!string}*/ diff --git a/api/js/webodf/collab/backend/jsglobal/Server.js b/api/js/webodf/collab/backend/jsglobal/Server.js index c9c51bb235..ede578231a 100644 --- a/api/js/webodf/collab/backend/jsglobal/Server.js +++ b/api/js/webodf/collab/backend/jsglobal/Server.js @@ -24,7 +24,7 @@ /*global define, window, runtime, core*/ -define("webodf/editor/backend/jsglobal/Server", [], function () { +webodfModule.define("webodf/editor/backend/jsglobal/Server", [], function () { "use strict"; /** diff --git a/api/js/webodf/collab/backend/jsglobal/ServerFactory.js b/api/js/webodf/collab/backend/jsglobal/ServerFactory.js index f200f36f53..bd9f2d203e 100644 --- a/api/js/webodf/collab/backend/jsglobal/ServerFactory.js +++ b/api/js/webodf/collab/backend/jsglobal/ServerFactory.js @@ -24,7 +24,7 @@ /*global define, document, require, runtime, ops */ -define("webodf/editor/backend/jsglobal/ServerFactory", [ +webodfModule.define("webodf/editor/backend/jsglobal/ServerFactory", [ "webodf/editor/backend/jsglobal/Server", "webodf/editor/backend/jsglobal/SessionBackend", "webodf/editor/backend/jsglobal/SessionList"], diff --git a/api/js/webodf/collab/backend/jsglobal/SessionBackend.js b/api/js/webodf/collab/backend/jsglobal/SessionBackend.js index 6e93aedcb4..60d24c17e3 100644 --- a/api/js/webodf/collab/backend/jsglobal/SessionBackend.js +++ b/api/js/webodf/collab/backend/jsglobal/SessionBackend.js @@ -25,7 +25,7 @@ /*global define, ops*/ -define("webodf/editor/backend/jsglobal/SessionBackend", [ +webodfModule.define("webodf/editor/backend/jsglobal/SessionBackend", [ "webodf/editor/backend/jsglobal/OperationRouter"], function (JsGlobalOperationRouter) { "use strict"; diff --git a/api/js/webodf/collab/backend/jsglobal/SessionList.js b/api/js/webodf/collab/backend/jsglobal/SessionList.js index 8d6389e499..85a8c66cb4 100644 --- a/api/js/webodf/collab/backend/jsglobal/SessionList.js +++ b/api/js/webodf/collab/backend/jsglobal/SessionList.js @@ -24,7 +24,7 @@ /*global define, ops, runtime, core */ -define("webodf/editor/backend/jsglobal/SessionList", [], function () { +webodfModule.define("webodf/editor/backend/jsglobal/SessionList", [], function () { "use strict"; var /**@const @type {!string}*/ diff --git a/api/js/webodf/collab/backend/pullbox/OperationRouter.js b/api/js/webodf/collab/backend/pullbox/OperationRouter.js index 142979c868..38e291a3bc 100644 --- a/api/js/webodf/collab/backend/pullbox/OperationRouter.js +++ b/api/js/webodf/collab/backend/pullbox/OperationRouter.js @@ -24,7 +24,7 @@ /*global define, runtime, core, ops*/ -define("webodf/editor/backend/pullbox/OperationRouter", [], function () { +webodfModule.define("webodf/editor/backend/pullbox/OperationRouter", [], function () { "use strict"; // TODO: these eventid strings should be defined at OperationRouter interface diff --git a/api/js/webodf/collab/backend/pullbox/Server.js b/api/js/webodf/collab/backend/pullbox/Server.js index a8abd72325..dffca1bb52 100644 --- a/api/js/webodf/collab/backend/pullbox/Server.js +++ b/api/js/webodf/collab/backend/pullbox/Server.js @@ -24,7 +24,7 @@ /*global define, runtime, core, XMLHttpRequest*/ -define("webodf/editor/backend/pullbox/Server", [], function () { +webodfModule.define("webodf/editor/backend/pullbox/Server", [], function () { "use strict"; runtime.loadClass("core.Base64"); diff --git a/api/js/webodf/collab/backend/pullbox/ServerFactory.js b/api/js/webodf/collab/backend/pullbox/ServerFactory.js index 0ceb3a152a..de48fad693 100644 --- a/api/js/webodf/collab/backend/pullbox/ServerFactory.js +++ b/api/js/webodf/collab/backend/pullbox/ServerFactory.js @@ -24,7 +24,7 @@ /*global define, document, require, runtime, ops */ -define("webodf/editor/backend/pullbox/ServerFactory", [ +webodfModule.define("webodf/editor/backend/pullbox/ServerFactory", [ "webodf/editor/backend/pullbox/Server", "webodf/editor/backend/pullbox/SessionBackend", "webodf/editor/backend/pullbox/SessionList"], diff --git a/api/js/webodf/collab/backend/pullbox/SessionBackend.js b/api/js/webodf/collab/backend/pullbox/SessionBackend.js index 1ea866f240..de5ff30d22 100644 --- a/api/js/webodf/collab/backend/pullbox/SessionBackend.js +++ b/api/js/webodf/collab/backend/pullbox/SessionBackend.js @@ -25,7 +25,7 @@ /*global define, ops*/ -define("webodf/editor/backend/pullbox/SessionBackend", [ +webodfModule.define("webodf/editor/backend/pullbox/SessionBackend", [ "webodf/editor/backend/pullbox/OperationRouter"], function (PullBoxOperationRouter) { "use strict"; diff --git a/api/js/webodf/collab/backend/pullbox/SessionList.js b/api/js/webodf/collab/backend/pullbox/SessionList.js index 95874f1e05..dcb8ff2905 100644 --- a/api/js/webodf/collab/backend/pullbox/SessionList.js +++ b/api/js/webodf/collab/backend/pullbox/SessionList.js @@ -24,7 +24,7 @@ /*global define, ops, runtime */ -define("webodf/editor/backend/pullbox/SessionList", [], function () { +webodfModule.define("webodf/editor/backend/pullbox/SessionList", [], function () { "use strict"; return function PullBoxSessionList(server) { diff --git a/api/js/webodf/collab/dijit/themes/claro/compile.js b/api/js/webodf/collab/dijit/themes/claro/compile.js index 08e637561f..38dd07e14a 100644 --- a/api/js/webodf/collab/dijit/themes/claro/compile.js +++ b/api/js/webodf/collab/dijit/themes/claro/compile.js @@ -3,9 +3,9 @@ // // $ node compile.js -var fs = require('fs'), // file system access - path = require('path'), // get directory from file name - less = require('../../../util/less'); // less processor +var fs = webodfModule.require('fs'), // file system access + path = webodfModule.require('path'), // get directory from file name + less = webodfModule.require('../../../util/less'); // less processor var options = { compress: false, diff --git a/api/js/webodf/collab/dojo-amalgamation.js b/api/js/webodf/collab/dojo-amalgamation.js index 11df941b88..8172d84936 100644 --- a/api/js/webodf/collab/dojo-amalgamation.js +++ b/api/js/webodf/collab/dojo-amalgamation.js @@ -19,31 +19,31 @@ a.mid,l]),Sa(Z,a),g()):(o.trace("loader-inject",["script",a.mid,l]),sa=a,o.injec ea.shift(),b&&(c[0]=b.shift()),g=c[0]&&W(c[0])||a,d.push([g,c[1],c[2]]);F(a);l(d,function(a){ba(ua.apply(null,a))})},ia=0,fa=e,za=e;fa=function(){ia&&clearTimeout(ia);ia=0};za=function(){fa();o.waitms&&(ia=window.setTimeout(function(){fa();I("error",p("timeout",R))},o.waitms))};s.add("ie-event-behavior",!!q.attachEvent&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var va=function(a,b,d,l){if(s("ie-event-behavior"))return a.attachEvent(d,l),function(){a.detachEvent(d,l)};a.addEventListener(b, l,!1);return function(){a.removeEventListener(b,l,!1)}},Ua=va(window,"load","onload",function(){o.pageLoaded=1;"complete"!=q.readyState&&(q.readyState="complete");Ua()}),Ha=q.getElementsByTagName("script")[0],Va=Ha.parentNode;o.injectUrl=function(a,b,d){var d=d.node=q.createElement("script"),l=va(d,"load","onreadystatechange",function(a){var a=a||window.event,d=a.target||a.srcElement;if("load"===a.type||/complete|loaded/.test(d.readyState))l(),g(),b&&b()}),g=va(d,"error","onerror",function(b){l(); g();I("error",p("scriptError",[a,b]))});d.type="text/javascript";d.charset="utf-8";d.src=a;Va.insertBefore(d,Ha);return d};o.log=e;o.trace=e;var Ia=function(a,d,l){var c=arguments.length,e=["require","exports","module"],m=[0,a,d];1==c?m=[0,b(a)?e:[],a]:2==c&&g(a)?m=[a,b(d)?e:[],d]:3==c&&(m=[a,d,l]);o.trace("loader-define",m.slice(0,2));if((c=m[0]&&W(m[0]))&&!R[c.mid])ba(ua(c,m[1],m[2]));else if(!s("ie-event-behavior")||ta)ea.push(m);else{c=c||sa;if(!c)for(a in R)if((e=w[a])&&e.node&&"interactive"=== -e.node.readyState){c=e;break}c?(F(c),ba(ua(c,m[1],m[2]))):I("error",p("ieDefineFailed",m[0]));da()}};Ia.amd={vendor:"dojotoolkit.org"};d(d(o,k.loaderPatch),f.loaderPatch);J("error",function(a){try{if(a instanceof Error)for(var b in a);}catch(d){}});d(o,{uid:n,cache:K,packs:Q});if(!r.define){r.define=Ia;r.require=o;l(T,function(a){G(a)});var Ja=C.deps||f.deps||k.deps,Ka=C.callback||f.callback||k.callback;o.boot=Ja||Ka?[Ja||[],Ka]:0}})(this.dojoConfig||this.djConfig||this.require||{},{async:0,hasCache:{"config-selectorEngine":"acme", +e.node.readyState){c=e;break}c?(F(c),ba(ua(c,m[1],m[2]))):I("error",p("ieDefineFailed",m[0]));da()}};Ia.amd={vendor:"dojotoolkit.org"};d(d(o,k.loaderPatch),f.loaderPatch);J("error",function(a){try{if(a instanceof Error)for(var b in a);}catch(d){}});d(o,{uid:n,cache:K,packs:Q});if(!r.webodfModule){r.webodfModule={define:Ia,require:o};l(T,function(a){G(a)});var Ja=C.deps||f.deps||k.deps,Ka=C.callback||f.callback||k.callback;o.boot=Ja||Ka?[Ja||[],Ka]:0}})(this.dojoConfig||this.djConfig||this.require||{},{async:0,hasCache:{"config-selectorEngine":"acme", "config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:".",name:"dojo"},{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:"../app",name:"app"}]}); -require({cache:{"dojo/i18n":function(){define("./_base/kernel,require,./has,./_base/array,./_base/config,./_base/lang,./_base/xhr,./json,module".split(","),function(f,k,h,j,e,c,i,b,g){h.add("dojo-preload-i18n-Api",1);var i=f.i18n={},a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,l=function(a,b,d,l){for(var g=[d+l],b=b.split("-"),c="",e=0;ef.attributes.length); -k.clearElement=function(f){f.innerHTML="";return f};k.normalize=function(f,j){var e=f.match(/[\?:]|[^:\?]*/g),c=0,i=function(b){var g=e[c++];if(":"==g)return 0;if("?"==e[c++]){if(!b&&k(g))return i();i(!0);return i(b)}return g||0};return(f=i())&&j(f)};k.load=function(f,j,e){f?j([f],e):e()};return k})},"dojo/_base/config":function(){define(["../has","require"],function(f,k){var h={},j=k.rawConfig,e;for(e in j)h[e]=j[e];return h})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"], +"/")+(l?"/"+l:"")+"/*.*").replace(/\/\*\.\*/,"")+(l?"":"/"));return d};b._hasResource={};return b})},"dojo/has":function(){webodfModule.define(["require","module"],function(f){var k=f.has||function(){};k.add("dom-addeventlistener",!!document.addEventListener);k.add("touch","ontouchstart"in document);k.add("device-width",screen.availWidth||innerWidth);f=document.createElement("form");k.add("dom-attributes-explicit",0==f.attributes.length);k.add("dom-attributes-specified-flag",0f.attributes.length); +k.clearElement=function(f){f.innerHTML="";return f};k.normalize=function(f,j){var e=f.match(/[\?:]|[^:\?]*/g),c=0,i=function(b){var g=e[c++];if(":"==g)return 0;if("?"==e[c++]){if(!b&&k(g))return i();i(!0);return i(b)}return g||0};return(f=i())&&j(f)};k.load=function(f,j,e){f?j([f],e):e()};return k})},"dojo/_base/config":function(){webodfModule.define(["../has","require"],function(f,k){var h={},j=k.rawConfig,e;for(e in j)h[e]=j[e];return h})},"dojo/_base/array":function(){webodfModule.define(["./kernel","../has","./lang"], function(f,k,h){function j(a){return i[a]=new Function("item","index","array",a)}function e(a){var b=!a;return function(d,g,c){var e=0,f=d&&d.length||0,h;f&&"string"==typeof d&&(d=d.split(""));"string"==typeof g&&(g=i[g]||j(g));if(c)for(;ei? (i=j+i,0>i&&(i=d)):i=i>=j?j+c:i;for(j&&"string"==typeof e&&(e=e.split(""));i!=h;i+=l)if(e[i]==f)return i;return-1}}var i={},b,g={every:e(!1),some:e(!0),indexOf:c(!0),lastIndexOf:c(!1),forEach:function(a,b,d){var g=0,c=a&&a.length||0;c&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=i[b]||j(b));if(d)for(;ga?(c=j(i),i=""):(c=j(i.slice(0,a)),i=j(i.slice(a+1)));"string"==typeof e[c]&&(e[c]=[e[c]]);f.isArray(e[c])?e[c].push(i):e[c]=i}return e}}})},"dojo/dom":function(){define(["./sniff","./_base/lang","./_base/window"],function(f,k,h){if(7>=f("ie"))try{document.execCommand("BackgroundImageCache",!1,!0)}catch(j){}var e={};e.byId=f("ie")?function(c,e){if("string"!=typeof c)return c;var b=e||h.doc,g=c&&b.getElementById(c);if(g&&(g.attributes.id.value==c||g.id==c))return g;b=b.all[c];if(!b|| +_getText:f._getText,get:f.xhrGet,post:f.xhrPost,put:f.xhrPut,del:f.xhrDelete});return f.xhr})},"dojo/_base/sniff":function(){webodfModule.define(["./kernel","./lang","../sniff"],function(f,k,h){f._name="browser";k.mixin(f,{isBrowser:!0,isFF:h("ff"),isIE:h("ie"),isKhtml:h("khtml"),isWebKit:h("webkit"),isMozilla:h("mozilla"),isMoz:h("mozilla"),isOpera:h("opera"),isSafari:h("safari"),isChrome:h("chrome"),isMac:h("mac"),isIos:h("ios"),isAndroid:h("android"),isWii:h("wii"),isQuirks:h("quirks"),isAir:h("air")});f.locale= +f.locale||(h("ie")?navigator.userLanguage:navigator.language).toLowerCase();return h})},"dojo/io-query":function(){webodfModule.define(["./_base/lang"],function(f){var k={};return{objectToQuery:function(h){var j=encodeURIComponent,e=[],c;for(c in h){var i=h[c];if(i!=k[c]){var b=j(c)+"=";if(f.isArray(i))for(var g=0,a=i.length;ga?(c=j(i),i=""):(c=j(i.slice(0,a)),i=j(i.slice(a+1)));"string"==typeof e[c]&&(e[c]=[e[c]]);f.isArray(e[c])?e[c].push(i):e[c]=i}return e}}})},"dojo/dom":function(){webodfModule.define(["./sniff","./_base/lang","./_base/window"],function(f,k,h){if(7>=f("ie"))try{document.execCommand("BackgroundImageCache",!1,!0)}catch(j){}var e={};e.byId=f("ie")?function(c,e){if("string"!=typeof c)return c;var b=e||h.doc,g=c&&b.getElementById(c);if(g&&(g.attributes.id.value==c||g.id==c))return g;b=b.all[c];if(!b|| b.nodeName)b=[b];for(var a=0;g=b[a++];)if(g.attributes&&g.attributes.id&&g.attributes.id.value==c||g.id==c)return g}:function(c,e){return("string"==typeof c?(e||h.doc).getElementById(c):c)||null};e.isDescendant=function(c,f){try{c=e.byId(c);for(f=e.byId(f);c;){if(c==f)return!0;c=c.parentNode}}catch(b){}return!1};e.setSelectable=function(c,i){c=e.byId(c);if(f("mozilla"))c.style.MozUserSelect=i?"":"none";else if(f("khtml")||f("webkit"))c.style.KhtmlUserSelect=i?"auto":"none";else if(f("ie"))for(var b= -c.unselectable=i?"":"on",g=c.getElementsByTagName("*"),a=0,l=g.length;a"file|submit|image|reset|button".indexOf(d)&&!a.disabled){var p=i,m=l,a=e.fieldToObject(a);if(null!==a){var n=p[m];"string"==typeof n?p[m]=[n,a]:f.isArray(n)?n.push(a):p[m]=a}if("image"==d)i[l+".x"]=i[l+".y"]=i[l].x=i[l].y=0}}return i},toQuery:function(c){return h.objectToQuery(e.toObject(c))},toJson:function(c, -f){return j.stringify(e.toObject(c),null,f?4:0)}};return e})},"dojo/json":function(){define(["./has"],function(f){var k="undefined"!=typeof JSON;f.add("json-parse",k);f.add("json-stringify",k&&'{"a":1}'==JSON.stringify({a:0},function(f,e){return e||1}));if(f("json-stringify"))return JSON;var h=function(f){return('"'+f.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:f("json-parse")?JSON.parse: +f){return j.stringify(e.toObject(c),null,f?4:0)}};return e})},"dojo/json":function(){webodfModule.define(["./has"],function(f){var k="undefined"!=typeof JSON;f.add("json-parse",k);f.add("json-stringify",k&&'{"a":1}'==JSON.stringify({a:0},function(f,e){return e||1}));if(f("json-stringify"))return JSON;var h=function(f){return('"'+f.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:f("json-parse")?JSON.parse: function(f,e){if(e&&!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(f))throw new SyntaxError("Invalid characters in JSON");return eval("("+f+")")},stringify:function(f,e,c){function i(g,a,l){e&&(g=e(l,g));var d;d=typeof g;if("number"==d)return isFinite(g)?g+"":"null";if("boolean"==d)return g+"";if(null===g)return"null";if("string"==typeof g)return h(g);if("function"==d||"undefined"==d)return b;if("function"==typeof g.toJSON)return i(g.toJSON(l), a,l);if(g instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(a,b,d){a=g["getUTC"+b]()+(d?1:0);return 10>a?"0"+a:a});if(g.valueOf()!==g)return i(g.valueOf(),a,l);var f=c?a+c:"",m=c?" ":"",n=c?"\n":"";if(g instanceof Array){for(var m=g.length,o=[],l=0;l");}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(f,k,h){function j(f){setTimeout(function(){c.apply(e,f)},0)}var e=new h,c=e.emit; -e.emit=null;k.prototype.trace=function(){var c=f._toArray(arguments);this.then(function(b){j(["resolved",b].concat(c))},function(b){j(["rejected",b].concat(c))},function(b){j(["progress",b].concat(c))});return this};k.prototype.traceRejected=function(){var c=f._toArray(arguments);this.otherwise(function(b){j(["rejected",b].concat(c))});return this};return e})},"dojo/Evented":function(){define("dojo/Evented",["./aspect","./on"],function(f,k){function h(){}var j=f.after;h.prototype={on:function(e,c){return k.parse(this, -e,c,function(e,b){return j(e,"on"+b,c,!0)})},emit:function(e,c){var f=[this];f.push.apply(f,arguments);return k.emit.apply(k,f)}};return h})},"dojo/aspect":function(){define("dojo/aspect",[],function(){function f(b,g,a,c){var d=b[g],e="around"==g,f;if(e){var i=a(function(){return d.advice(this,arguments)});f={remove:function(){f.cancelled=!0},advice:function(a,b){return f.cancelled?d.advice(a,b):i.apply(a,b)}}}else f={remove:function(){var a=f.previous,d=f.next;if(!d&&!a)delete b[g];else if(a?a.next= +f.on("progress",h.hitch(console,"log","progress"));var g=[];"string"===typeof b&&(g=b.split(","),b=g.shift());if("report-rejections"===b)a.instrumentRejected=c;else if("report-unhandled-rejections"===b||!0===b||1===b)a.instrumentRejected=i,l=parseInt(g[0],10)||l;else throw Error("Unsupported instrumentation usage <"+b+">");}}})},"dojo/promise/tracer":function(){webodfModule.define(["../_base/lang","./Promise","../Evented"],function(f,k,h){function j(f){setTimeout(function(){c.apply(e,f)},0)}var e=new h,c=e.emit; +e.emit=null;k.prototype.trace=function(){var c=f._toArray(arguments);this.then(function(b){j(["resolved",b].concat(c))},function(b){j(["rejected",b].concat(c))},function(b){j(["progress",b].concat(c))});return this};k.prototype.traceRejected=function(){var c=f._toArray(arguments);this.otherwise(function(b){j(["rejected",b].concat(c))});return this};return e})},"dojo/Evented":function(){webodfModule.define("dojo/Evented",["./aspect","./on"],function(f,k){function h(){}var j=f.after;h.prototype={on:function(e,c){return k.parse(this, +e,c,function(e,b){return j(e,"on"+b,c,!0)})},emit:function(e,c){var f=[this];f.push.apply(f,arguments);return k.emit.apply(k,f)}};return h})},"dojo/aspect":function(){webodfModule.define("dojo/aspect",[],function(){function f(b,g,a,c){var d=b[g],e="around"==g,f;if(e){var i=a(function(){return d.advice(this,arguments)});f={remove:function(){f.cancelled=!0},advice:function(a,b){return f.cancelled?d.advice(a,b):i.apply(a,b)}}}else f={remove:function(){var a=f.previous,d=f.next;if(!d&&!a)delete b[g];else if(a?a.next= d:b[g]=d,d)d.previous=a},id:j++,advice:a,receiveArguments:c};if(d&&!e)if("after"==g){for(a=d;a;)d=a,a=a.next;d.next=f;f.previous=d}else{if("before"==g)b[g]=f,f.next=d,d.previous=f}else b[g]=f;return f}function k(b){return function(g,a,c,d){var e=g[a],m;if(!e||e.target!=g){g[a]=m=function(){for(var a=j,b=arguments,d=m.before;d;)b=d.advice.apply(this,b)||b,d=d.next;if(m.around)var g=m.around.advice(this,b);for(d=m.after;d&&d.idh("jscript"))&&!h("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var g=a[b];if(!g||!g.listeners){var c=g,g=Function("event","var callee = arguments.callee; for(var i = 0; ia||304===a||1223===a||!a}})},"dojo/errors/RequestError":function(){define(["./create"],function(f){return f("RequestError",function(f,h){this.response=h})})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(f, -k){return f("RequestTimeoutError",null,k,{dojoType:"timeout"})})},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(f,k,h,j,e){function c(a,b){var d=a.xhr;a.status=a.xhr.status;a.text=d.responseText;if("xml"===a.options.handleAs)a.data=d.responseXML;if(!b)try{h(a)}catch(g){b=g}b?this.reject(b):j.checkStatus(d.status)?this.resolve(a):(b=new f("Unable to load "+a.url+" status: "+d.status,a),this.reject(b))}function i(m,h,n){var v=j.parseArgs(m, +(c+=(c?"&":"")+"request.preventCache="+ +new Date)):b.preventCache&&(c="request.preventCache="+ +new Date);a&&c&&(a+=(~a.indexOf("?")?"&":"?")+c);return{url:a,options:b,getHeader:function(){return null}}};f.checkStatus=function(a){a=a||0;return 200<=a&&300>a||304===a||1223===a||!a}})},"dojo/errors/RequestError":function(){webodfModule.define(["./create"],function(f){return f("RequestError",function(f,h){this.response=h})})},"dojo/errors/RequestTimeoutError":function(){webodfModule.define(["./create","./RequestError"],function(f, +k){return f("RequestTimeoutError",null,k,{dojoType:"timeout"})})},"dojo/request/xhr":function(){webodfModule.define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(f,k,h,j,e){function c(a,b){var d=a.xhr;a.status=a.xhr.status;a.text=d.responseText;if("xml"===a.options.handleAs)a.data=d.responseXML;if(!b)try{h(a)}catch(g){b=g}b?this.reject(b):j.checkStatus(d.status)?this.resolve(a):(b=new f("Unable to load "+a.url+" status: "+d.status,a),this.reject(b))}function i(m,h,n){var v=j.parseArgs(m, j.deepCreate(p,h),e("native-formdata")&&h&&h.data&&h.data instanceof FormData),m=v.url,h=v.options,s,t=j.deferred(v,l,b,g,c,function(){s&&s()}),u=v.xhr=i._create();if(!u)return t.cancel(new f("XHR was not created")),n?t:t.promise;v.getHeader=function(a){return this.xhr.getResponseHeader(a)};a&&(s=a(u,t,v));var y=h.data,z=!h.sync,I=h.method;try{u.open(I,m,z,h.user||d,h.password||d);if(h.withCredentials)u.withCredentials=h.withCredentials;var J=h.headers,N;if(J)for(var E in J)"content-type"===E.toLowerCase()? N=J[E]:J[E]&&u.setRequestHeader(E,J[E]);N&&!1!==N&&u.setRequestHeader("Content-Type",N);(!J||!("X-Requested-With"in J))&&u.setRequestHeader("X-Requested-With","XMLHttpRequest");j.notify&&j.notify.emit("send",v,t.promise.cancel);u.send(y)}catch(S){t.reject(S)}k(t);u=null;return n?t:t.promise}e.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});e.add("dojo-force-activex-xhr",function(){return e("activex")&&!document.addEventListener&&"file:"===window.location.protocol});e.add("native-xhr2", function(){if(e("native-xhr")){var a=new XMLHttpRequest;return"undefined"!==typeof a.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof a.upload)}});e.add("native-formdata",function(){return"function"===typeof FormData});var b,g,a,l;e("native-xhr2")?(b=function(){return!this.isFulfilled()},l=function(a,b){b.xhr.abort()},a=function(a,b,d){function g(){b.handleResponse(d)}function c(a){a=new f("Unable to load "+d.url+" status: "+a.target.status,d);b.handleResponse(d,a)}function e(a){if(a.lengthComputable)d.loaded= a.loaded,d.total=a.total,b.progress(d)}a.addEventListener("load",g,!1);a.addEventListener("error",c,!1);a.addEventListener("progress",e,!1);return function(){a.removeEventListener("load",g,!1);a.removeEventListener("error",c,!1);a.removeEventListener("progress",e,!1)}}):(b=function(a){return a.xhr.readyState},g=function(a){return 4===a.xhr.readyState},l=function(a,b){var d=b.xhr,g=typeof d.abort;("function"===g||"object"===g||"unknown"===g)&&d.abort()});var d,p={data:null,query:null,sync:!1,method:"GET", headers:{"Content-Type":"application/x-www-form-urlencoded"}};i._create=function(){throw Error("XMLHTTP not available");};if(e("native-xhr")&&!e("dojo-force-activex-xhr"))i._create=function(){return new XMLHttpRequest};else if(e("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),i._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(m){try{new ActiveXObject("Microsoft.XMLHTTP"),i._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(n){}}j.addCommonMethods(i);return i})}, -"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has"],function(f,k,h,j){function e(g){var a=b[g.options.handleAs];g.data=a?a(g):g.data||g.text;return g}j.add("activex","undefined"!==typeof ActiveXObject);var c;if(j("activex")){var i=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];c=function(b){var a=b.data;if(!a||!a.documentElement){var c=b.text;h.some(i,function(b){try{var g=new ActiveXObject(b);g.async= -!1;g.loadXML(c);a=g}catch(e){return!1}return!0})}return a}}var b={javascript:function(b){return k.eval(b.text||"")},json:function(b){return f.parse(b.text||null)},xml:c};e.register=function(g,a){b[g]=a};return e})},"dojo/main":function(){define("./_base/kernel,./has,require,./sniff,./_base/lang,./_base/array,./_base/config,./ready,./_base/declare,./_base/connect,./_base/Deferred,./_base/json,./_base/Color,./has!dojo-firebug?./_firebug/firebug,./_base/browser,require".split(","),function(f,k,h,j,e, -c,i,b){i.isDebug&&h(["./_firebug/firebug"]);var g=i.require;g&&(g=c.map(e.isArray(g)?g:[g],function(a){return a.replace(/\./g,"/")}),f.isAsync?h(g):b(1,function(){h(g)}));return f})},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(f,k,h,j,e){var c=0,i,b=[],g=0,a=function(){if(c&&!g&&b.length){g=1;var d=b.shift();try{d()}finally{g=0}g=0;b.length&&i(a)}};h.on("idle",a);i=function(){h.idle()&&a()};var k=f.ready=f.addOnLoad=function(a,g,c){var l= -e._toArray(arguments);"number"!=typeof a?(c=g,g=a,a=1E3):l.shift();c=c?e.hitch.apply(f,l):function(){g()};c.priority=a;for(l=0;l=b[l].priority;l++);b.splice(l,0,c);i()},l=f.config.addOnLoad;if(l)k[e.isArray(l)?"apply":"call"](f,l);j(function(){c=1;f._postLoad=f.config.afterOnLoad=!0;b.length&&i(a)});return k})},"dojo/domReady":function(){define(["./has"],function(f){function k(a){i?a(j):b.push(a)}var h=this,j=document,e={loaded:1,complete:1},c="string"!=typeof j.readyState,i=!!e[j.readyState]; +"dojo/request/handlers":function(){webodfModule.define(["../json","../_base/kernel","../_base/array","../has"],function(f,k,h,j){function e(g){var a=b[g.options.handleAs];g.data=a?a(g):g.data||g.text;return g}j.add("activex","undefined"!==typeof ActiveXObject);var c;if(j("activex")){var i=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];c=function(b){var a=b.data;if(!a||!a.documentElement){var c=b.text;h.some(i,function(b){try{var g=new ActiveXObject(b);g.async= +!1;g.loadXML(c);a=g}catch(e){return!1}return!0})}return a}}var b={javascript:function(b){return k.eval(b.text||"")},json:function(b){return f.parse(b.text||null)},xml:c};e.register=function(g,a){b[g]=a};return e})},"dojo/main":function(){webodfModule.define("./_base/kernel,./has,require,./sniff,./_base/lang,./_base/array,./_base/config,./ready,./_base/declare,./_base/connect,./_base/Deferred,./_base/json,./_base/Color,./has!dojo-firebug?./_firebug/firebug,./_base/browser,require".split(","),function(f,k,h,j,e, +c,i,b){i.isDebug&&h(["./_firebug/firebug"]);var g=i.require;g&&(g=c.map(e.isArray(g)?g:[g],function(a){return a.replace(/\./g,"/")}),f.isAsync?h(g):b(1,function(){h(g)}));return f})},"dojo/ready":function(){webodfModule.define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(f,k,h,j,e){var c=0,i,b=[],g=0,a=function(){if(c&&!g&&b.length){g=1;var d=b.shift();try{d()}finally{g=0}g=0;b.length&&i(a)}};h.on("idle",a);i=function(){h.idle()&&a()};var k=f.ready=f.addOnLoad=function(a,g,c){var l= +e._toArray(arguments);"number"!=typeof a?(c=g,g=a,a=1E3):l.shift();c=c?e.hitch.apply(f,l):function(){g()};c.priority=a;for(l=0;l=b[l].priority;l++);b.splice(l,0,c);i()},l=f.config.addOnLoad;if(l)k[e.isArray(l)?"apply":"call"](f,l);j(function(){c=1;f._postLoad=f.config.afterOnLoad=!0;b.length&&i(a)});return k})},"dojo/domReady":function(){webodfModule.define(["./has"],function(f){function k(a){i?a(j):b.push(a)}var h=this,j=document,e={loaded:1,complete:1},c="string"!=typeof j.readyState,i=!!e[j.readyState]; if(c)j.readyState="loading";if(!i){var b=[],g=[],a=function(a){a=a||h.event;if(!(i||"readystatechange"==a.type&&!e[j.readyState])){i=1;if(c)j.readyState="complete";for(;b.length;)b.shift()(j)}},l=function(d,g){d.addEventListener(g,a,!1);b.push(function(){d.removeEventListener(g,a,!1)})};if(!f("dom-addeventlistener")){var l=function(d,g){g="on"+g;d.attachEvent(g,a);b.push(function(){d.detachEvent(g,a)})},d=j.createElement("div");try{d.doScroll&&null===h.frameElement&&g.push(function(){try{return d.doScroll("left"), -1}catch(a){}})}catch(p){}}l(j,"DOMContentLoaded");l(h,"load");"onreadystatechange"in j?l(j,"readystatechange"):c||g.push(function(){return e[j.readyState]});if(g.length){var m=function(){if(!i){for(var b=g.length;b--;)if(g[b]()){a("poller");return}setTimeout(m,30)}};m()}}k.load=function(a,b,d){k(d)};return k})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(f,k,h){function j(a,b){throw Error("declare"+(b?" "+b:"")+": "+a);}function e(a,b,d){var g,c,e,l,f,m,i,h=this._inherited= +1}catch(a){}})}catch(p){}}l(j,"DOMContentLoaded");l(h,"load");"onreadystatechange"in j?l(j,"readystatechange"):c||g.push(function(){return e[j.readyState]});if(g.length){var m=function(){if(!i){for(var b=g.length;b--;)if(g[b]()){a("poller");return}setTimeout(m,30)}};m()}}k.load=function(a,b,d){k(d)};return k})},"dojo/_base/declare":function(){webodfModule.define(["./kernel","../has","./lang"],function(f,k,h){function j(a,b){throw Error("declare"+(b?" "+b:"")+": "+a);}function e(a,b,d){var g,c,e,l,f,m,i,h=this._inherited= this._inherited||{};"string"==typeof a&&(g=a,a=b,b=d);d=0;l=a.callee;(g=g||l.nom)||j("can't deduce a name to call inherited()",this.declaredClass);f=this.constructor._meta;e=f.bases;i=h.p;if(g!=z){if(h.c!==l&&(i=0,m=e[0],f=m._meta,f.hidden[g]!==l)){(c=f.chains)&&"string"==typeof c[g]&&j("calling chained method with inherited: "+g,this.declaredClass);do if(f=m._meta,c=m.prototype,f&&(c[g]===l&&c.hasOwnProperty(g)||f.hidden[g]===l))break;while(m=e[++i]);i=m?i:-1}if(m=e[++i])if(c=m.prototype,m._meta&& c.hasOwnProperty(g))d=c[g];else{l=s[g];do if(c=m.prototype,(d=c[g])&&(m._meta?c.hasOwnProperty(g):d!==l))break;while(m=e[++i])}d=m&&d||s[g]}else{if(h.c!==l&&(i=0,(f=e[0]._meta)&&f.ctor!==l)){c=f.chains;for((!c||"manual"!==c.constructor)&&j("calling chained constructor with inherited",this.declaredClass);(m=e[++i])&&!((f=m._meta)&&f.ctor===l););i=m?i:-1}for(;(m=e[++i])&&!(d=(f=m._meta)?f.ctor:m););d=m&&d}h.c=d;h.p=i;if(d)return!0===b?d:d.apply(this,b||a)}function c(a,b){return"string"==typeof a?this.__inherited(a, b,!0):this.__inherited(a,!0)}function i(a,b,d){var g=this.getInherited(a,b);if(g)return g.apply(this,d||b||a)}function b(a){for(var b=this.constructor._meta.bases,d=0,g=b.length;dd||90d||111d||192d||222g?g-48:!a.shiftKey&&65<=g&&90>=g?g+32:l[g]||g}d=p(a,{type:"keypress",faux:!0,charCode:g});b.call(a.currentTarget,d);if(i("ie"))try{a.keyCode=d.keyCode}catch(c){}}}),g=k(a,"keypress",function(a){var d=a.charCode,a=p(a,{charCode:32<=d?d:0,faux:!0});return b.call(this,a)});return{remove:function(){d.remove();g.remove()}}}:i("opera")?function(a,b){return k(a,"keypress",function(a){var d=a.which;3==d&&(d=99);d=32>d&&!a.shiftKey?0:d;a.ctrlKey&&!a.shiftKey&&65<=d&&90>=d&&(d+=32);return b.call(this,p(a, {charCode:d}))})}:function(b,d){return k(b,"keypress",function(b){a(b);return d.call(this,b)})};var n={_keypress:m,connect:function(a,b,d,c,e){var l=arguments,f=[],i=0;f.push("string"==typeof l[0]?null:l[i++],l[i++]);var m=l[i+1];f.push("string"==typeof m||"function"==typeof m?l[i++]:null,l[i++]);for(m=l.length;if("ie")){var b=a.getBoundingClientRect(),d=b.left,b=b.top;7>f("ie")&&(d+=a.clientLeft,b+=a.clientTop);return{x:0>d?0:d,y:0>b?0:b}}return{x:0,y:0}};b.fixIeBiDiScrollLeft=function(a,g){var g=g||k.doc,d=f("ie");if(d&&!b.isBodyLtr(g)){var c= f("quirks"),e=c?k.body(g):g.documentElement,i=k.global;6==d&&!c&&i.frameElement&&e.scrollHeight>e.clientHeight&&(a+=e.clientLeft);return 8>d||c?a+e.clientWidth-e.scrollWidth:-a}return a};b.position=function(a,g){var a=h.byId(a),d=k.body(a.ownerDocument),c=a.getBoundingClientRect(),c={x:c.left,y:c.top,w:c.right-c.left,h:c.bottom-c.top};if(f("ie")){var e=b.getIeDocumentElementOffset(a.ownerDocument);c.x-=e.x+(f("quirks")?d.clientLeft+d.offsetLeft:0);c.y-=e.y+(f("quirks")?d.clientTop+d.offsetTop:0)}g&& (d=b.docScroll(a.ownerDocument),c.x+=d.x,c.y+=d.y);return c};b.getMarginSize=function(a,g){var a=h.byId(a),d=b.getMarginExtents(a,g||j.getComputedStyle(a)),c=a.getBoundingClientRect();return{w:c.right-c.left+d.w,h:c.bottom-c.top+d.h}};b.normalizeEvent=function(a){if(!("layerX"in a))a.layerX=a.offsetX,a.layerY=a.offsetY;if(!f("dom-addeventlistener")){var g=a.target,g=g&&g.ownerDocument||document,d=f("quirks")?g.body:g.documentElement,c=b.getIeDocumentElementOffset(g);a.pageX=a.clientX+b.fixIeBiDiScrollLeft(d.scrollLeft|| -0,g)-c.x;a.pageY=a.clientY+(d.scrollTop||0)-c.y}};return b})},"dojo/dom-style":function(){define(["./sniff","./dom"],function(f,k){function h(b,d,g){d=d.toLowerCase();if(f("ie")){if("auto"==g){if("height"==d)return b.offsetHeight;if("width"==d)return b.offsetWidth}if("fontweight"==d)switch(g){case 700:return"bold";default:return"normal"}}d in a||(a[d]=l.test(d));return a[d]?c(b,g):g}var j,e={};j=f("webkit")?function(a){var b;if(1==a.nodeType){var d=a.ownerDocument.defaultView;b=d.getComputedStyle(a, +0,g)-c.x;a.pageY=a.clientY+(d.scrollTop||0)-c.y}};return b})},"dojo/dom-style":function(){webodfModule.define(["./sniff","./dom"],function(f,k){function h(b,d,g){d=d.toLowerCase();if(f("ie")){if("auto"==g){if("height"==d)return b.offsetHeight;if("width"==d)return b.offsetWidth}if("fontweight"==d)switch(g){case 700:return"bold";default:return"normal"}}d in a||(a[d]=l.test(d));return a[d]?c(b,g):g}var j,e={};j=f("webkit")?function(a){var b;if(1==a.nodeType){var d=a.ownerDocument.defaultView;b=d.getComputedStyle(a, null);if(!b&&a.style)a.style.display="",b=d.getComputedStyle(a,null)}return b||{}}:f("ie")&&(9>f("ie")||f("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}};e.getComputedStyle=j;var c;c=f("ie")?function(a,b){if(!b)return 0;if("medium"==b)return 4;if(b.slice&&"px"==b.slice(-2))return parseFloat(b);var d=a.style,g=a.runtimeStyle,c=d.left,e=g.left;g.left=a.currentStyle.left;try{d.left= b,b=d.pixelLeft}catch(l){b=0}d.left=c;g.left=e;return b}:function(a,b){return parseFloat(b)||0};e.toPixelValue=c;var i=function(a,b){try{return a.filters.item("DXImageTransform.Microsoft.Alpha")}catch(d){return b?{}:null}},b=9>f("ie")||f("ie")&&f("quirks")?function(a){try{return i(a).Opacity/100}catch(b){return 1}}:function(a){return j(a).opacity},g=9>f("ie")||f("ie")&&f("quirks")?function(a,b){var d=100*b,c=1==b;a.style.zoom=c?"":1;if(i(a))i(a,1).Opacity=d;else{if(c)return b;a.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+ d+")"}i(a,1).Enabled=!c;if("tr"==a.tagName.toLowerCase())for(d=a.firstChild;d;d=d.nextSibling)"td"==d.tagName.toLowerCase()&&g(d,b);return b}:function(a,b){return a.style.opacity=b},a={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,d=f("ie")?"styleFloat":"cssFloat",p={cssFloat:d,styleFloat:d,"float":d};e.get=function(a,d){var g=k.byId(a),c=arguments.length;if(2==c&&"opacity"==d)return b(g);var d=p[d]||d,l=e.getComputedStyle(g);return 1==c?l:h(g,d,l[d]||g.style[d])};e.set=function(a, -b,d){var c=k.byId(a),l=arguments.length,f="opacity"==b,b=p[b]||b;if(3==l)return f?g(c,d):c.style[b]=d;for(var i in b)e.set(a,i,b[i]);return e.getComputedStyle(c)};return e})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(f,k,h,j,e){function c(e,b){var g=function(a,g){return k(a,e,function(d){if(b)return b(d,g);if(!j.isDescendant(d.relatedTarget,a))return g.call(this,d)})};g.bubble=function(a){return c(e,function(b,d){var g=a(b.target),c=b.relatedTarget; +b,d){var c=k.byId(a),l=arguments.length,f="opacity"==b,b=p[b]||b;if(3==l)return f?g(c,d):c.style[b]=d;for(var i in b)e.set(a,i,b[i]);return e.getComputedStyle(c)};return e})},"dojo/mouse":function(){webodfModule.define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(f,k,h,j,e){function c(e,b){var g=function(a,g){return k(a,e,function(d){if(b)return b(d,g);if(!j.isDescendant(d.relatedTarget,a))return g.call(this,d)})};g.bubble=function(a){return c(e,function(b,d){var g=a(b.target),c=b.relatedTarget; if(g&&g!=(c&&1==c.nodeType&&a(c)))return d.call(g,b)})};return g}h.add("dom-quirks",e.doc&&"BackCompat"==e.doc.compatMode);h.add("events-mouseenter",e.doc&&"onmouseenter"in e.doc.createElement("div"));h.add("events-mousewheel",e.doc&&"onmousewheel"in e.doc);e=h("dom-quirks")&&h("ie")||!h("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(c,b){return c.button&b},isLeft:function(c){return c.button&1},isMiddle:function(c){return c.button&4},isRight:function(c){return c.button&2}}:{LEFT:0, -MIDDLE:1,RIGHT:2,isButton:function(c,b){return c.button==b},isLeft:function(c){return 0==c.button},isMiddle:function(c){return 1==c.button},isRight:function(c){return 2==c.button}};f.mouseButtons=e;f=h("events-mousewheel")?"mousewheel":function(c,b){return k(c,"DOMMouseScroll",function(g){g.wheelDelta=-g.detail;b.call(this,g)})};return{_eventHandler:c,enter:c("mouseover"),leave:c("mouseout"),wheel:f,isLeft:e.isLeft,isMiddle:e.isMiddle,isRight:e.isRight}})},"dojo/keys":function(){define(["./_base/kernel", +MIDDLE:1,RIGHT:2,isButton:function(c,b){return c.button==b},isLeft:function(c){return 0==c.button},isMiddle:function(c){return 1==c.button},isRight:function(c){return 2==c.button}};f.mouseButtons=e;f=h("events-mousewheel")?"mousewheel":function(c,b){return k(c,"DOMMouseScroll",function(g){g.wheelDelta=-g.detail;b.call(this,g)})};return{_eventHandler:c,enter:c("mouseover"),leave:c("mouseout"),wheel:f,isLeft:e.isLeft,isMiddle:e.isMiddle,isRight:e.isRight}})},"dojo/keys":function(){webodfModule.define(["./_base/kernel", "./sniff"],function(f,k){return f.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:k("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108, -NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:k("mac")&&!k("air")?k("safari")?91:224:17}})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(f,k,h,j){var e=f.Color=function(c){c&&this.setColor(c)};e.named={black:[0,0,0],silver:[192,192,192],gray:[128, +NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:k("mac")&&!k("air")?k("safari")?91:224:17}})},"dojo/_base/Color":function(){webodfModule.define(["./kernel","./lang","./array","./config"],function(f,k,h,j){var e=f.Color=function(c){c&&this.setColor(c)};e.named={black:[0,0,0],silver:[192,192,192],gray:[128, 128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:j.transparentColor||[0,0,0,0]};k.extend(e,{r:255,g:255,b:255,a:1,_set:function(c,e,b,g){this.r=c;this.g=e;this.b=b;this.a=g},setColor:function(c){k.isString(c)?e.fromString(c,this):k.isArray(c)?e.fromArray(c,this):(this._set(c.r,c.g,c.b,c.a),c instanceof e|| this.sanitize());return this},sanitize:function(){return this},toRgb:function(){return[this.r,this.g,this.b]},toRgba:function(){return[this.r,this.g,this.b,this.a]},toHex:function(){return"#"+h.map(["r","g","b"],function(c){c=this[c].toString(16);return 2>c.length?"0"+c:c},this).join("")},toCss:function(c){var e=this.r+", "+this.g+", "+this.b;return(c?"rgba("+e+", "+this.a:"rgb("+e)+")"},toString:function(){return this.toCss(!0)}});e.blendColors=f.blendColors=function(c,f,b,g){var a=g||new e;h.forEach(["r", "g","b","a"],function(g){a[g]=c[g]+(f[g]-c[g])*b;"a"!=g&&(a[g]=Math.round(a[g]))});return a.sanitize()};e.fromRgb=f.colorFromRgb=function(c,f){var b=c.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return b&&e.fromArray(b[1].split(/\s*,\s*/),f)};e.fromHex=f.colorFromHex=function(c,f){var b=f||new e,g=4==c.length?4:8,a=(1<>=g;b[e]=4==g?17*d:d});b.a=1;return b};e.fromArray=f.colorFromArray=function(c, -f){var b=f||new e;b._set(Number(c[0]),Number(c[1]),Number(c[2]),Number(c[3]));if(isNaN(b.a))b.a=1;return b.sanitize()};e.fromString=f.colorFromString=function(c,f){var b=e.named[c];return b&&e.fromArray(b,f)||e.fromRgb(c,f)||e.fromHex(c,f)};return e})},"dojo/_base/browser":function(){require.has&&require.has.add("config-selectorEngine","acme");define("../ready,./kernel,./connect,./unload,./window,./event,./html,./NodeList,../query,./xhr,./fx".split(","),function(f){return f})},"dojo/_base/unload":function(){define(["./kernel", -"./lang","../on"],function(f,k,h){var j=window,e={addOnWindowUnload:function(c,e){if(!f.windowUnloaded)h(j,"unload",f.windowUnloaded=function(){});h(j,"unload",k.hitch(c,e))},addOnUnload:function(c,e){h(j,"beforeunload",k.hitch(c,e))}};f.addOnWindowUnload=e.addOnWindowUnload;f.addOnUnload=e.addOnUnload;return e})},"dojo/_base/html":function(){define("./kernel,../dom,../dom-style,../dom-attr,../dom-prop,../dom-class,../dom-construct,../dom-geometry".split(","),function(f,k,h,j,e,c,i,b){f.byId=k.byId; +f){var b=f||new e;b._set(Number(c[0]),Number(c[1]),Number(c[2]),Number(c[3]));if(isNaN(b.a))b.a=1;return b.sanitize()};e.fromString=f.colorFromString=function(c,f){var b=e.named[c];return b&&e.fromArray(b,f)||e.fromRgb(c,f)||e.fromHex(c,f)};return e})},"dojo/_base/browser":function(){webodfModule.require.has&&webodfModule.require.has.add("config-selectorEngine","acme");webodfModule.define("../ready,./kernel,./connect,./unload,./window,./event,./html,./NodeList,../query,./xhr,./fx".split(","),function(f){return f})},"dojo/_base/unload":function(){webodfModule.define(["./kernel", +"./lang","../on"],function(f,k,h){var j=window,e={addOnWindowUnload:function(c,e){if(!f.windowUnloaded)h(j,"unload",f.windowUnloaded=function(){});h(j,"unload",k.hitch(c,e))},addOnUnload:function(c,e){h(j,"beforeunload",k.hitch(c,e))}};f.addOnWindowUnload=e.addOnWindowUnload;f.addOnUnload=e.addOnUnload;return e})},"dojo/_base/html":function(){webodfModule.define("./kernel,../dom,../dom-style,../dom-attr,../dom-prop,../dom-class,../dom-construct,../dom-geometry".split(","),function(f,k,h,j,e,c,i,b){f.byId=k.byId; f.isDescendant=k.isDescendant;f.setSelectable=k.setSelectable;f.getAttr=j.get;f.setAttr=j.set;f.hasAttr=j.has;f.removeAttr=j.remove;f.getNodeProp=j.getNodeProp;f.attr=function(b,a,c){return 2==arguments.length?j["string"==typeof a?"get":"set"](b,a):j.set(b,a,c)};f.hasClass=c.contains;f.addClass=c.add;f.removeClass=c.remove;f.toggleClass=c.toggle;f.replaceClass=c.replace;f._toDom=f.toDom=i.toDom;f.place=i.place;f.create=i.create;f.empty=function(b){i.empty(b)};f._destroyElement=f.destroy=function(b){i.destroy(b)}; f._getPadExtents=f.getPadExtents=b.getPadExtents;f._getBorderExtents=f.getBorderExtents=b.getBorderExtents;f._getPadBorderExtents=f.getPadBorderExtents=b.getPadBorderExtents;f._getMarginExtents=f.getMarginExtents=b.getMarginExtents;f._getMarginSize=f.getMarginSize=b.getMarginSize;f._getMarginBox=f.getMarginBox=b.getMarginBox;f.setMarginBox=b.setMarginBox;f._getContentBox=f.getContentBox=b.getContentBox;f.setContentSize=b.setContentSize;f._isBodyLtr=f.isBodyLtr=b.isBodyLtr;f._docScroll=f.docScroll= b.docScroll;f._getIeDocumentElementOffset=f.getIeDocumentElementOffset=b.getIeDocumentElementOffset;f._fixIeBiDiScrollLeft=f.fixIeBiDiScrollLeft=b.fixIeBiDiScrollLeft;f.position=b.position;f.marginBox=function(g,a){return a?b.setMarginBox(g,a):b.getMarginBox(g)};f.contentBox=function(g,a){return a?b.setContentSize(g,a):b.getContentBox(g)};f.coords=function(g,a){f.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");var g=k.byId(g),c=h.getComputedStyle(g),c=b.getMarginBox(g,c),d= -b.position(g,a);c.x=d.x;c.y=d.y;return c};f.getProp=e.get;f.setProp=e.set;f.prop=function(b,a,c){return 2==arguments.length?e["string"==typeof a?"get":"set"](b,a):e.set(b,a,c)};f.getStyle=h.get;f.setStyle=h.set;f.getComputedStyle=h.getComputedStyle;f.__toPixelValue=f.toPixelValue=h.toPixelValue;f.style=function(b,a,c){switch(arguments.length){case 1:return h.get(b);case 2:return h["string"==typeof a?"get":"set"](b,a)}return h.set(b,a,c)};return f})},"dojo/dom-attr":function(){define("exports,./sniff,./_base/lang,./dom,./dom-style,./dom-prop".split(","), +b.position(g,a);c.x=d.x;c.y=d.y;return c};f.getProp=e.get;f.setProp=e.set;f.prop=function(b,a,c){return 2==arguments.length?e["string"==typeof a?"get":"set"](b,a):e.set(b,a,c)};f.getStyle=h.get;f.setStyle=h.set;f.getComputedStyle=h.getComputedStyle;f.__toPixelValue=f.toPixelValue=h.toPixelValue;f.style=function(b,a,c){switch(arguments.length){case 1:return h.get(b);case 2:return h["string"==typeof a?"get":"set"](b,a)}return h.set(b,a,c)};return f})},"dojo/dom-attr":function(){webodfModule.define("exports,./sniff,./_base/lang,./dom,./dom-style,./dom-prop".split(","), function(f,k,h,j,e,c){function i(a,b){var d=a.getAttributeNode&&a.getAttributeNode(b);return d&&d.specified}var b={innerHTML:1,className:1,htmlFor:k("ie"),value:1},g={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};f.has=function(a,e){var d=e.toLowerCase();return b[c.names[d]||e]||i(j.byId(a),g[d]||e)};f.get=function(a,e){var a=j.byId(a),d=e.toLowerCase(),f=c.names[d]||e,m=a[f];if(b[f]&&"undefined"!=typeof m||"href"!=f&&("boolean"==typeof m||h.isFunction(m)))return m;d=g[d]|| e;return i(a,d)?a.getAttribute(d):null};f.set=function(a,l,d){a=j.byId(a);if(2==arguments.length){for(var i in l)f.set(a,i,l[i]);return a}i=l.toLowerCase();var m=c.names[i]||l,k=b[m];if("style"==m&&"string"!=typeof d)return e.set(a,d),a;if(k||"boolean"==typeof d||h.isFunction(d))return c.set(a,l,d);a.setAttribute(g[i]||l,d);return a};f.remove=function(a,b){j.byId(a).removeAttribute(g[b.toLowerCase()]||b)};f.getNodeProp=function(a,b){var a=j.byId(a),d=b.toLowerCase(),e=c.names[d]||b;if(e in a&&"href"!= -e)return a[e];d=g[d]||b;return i(a,d)?a.getAttribute(d):null}})},"dojo/dom-prop":function(){define("exports,./_base/kernel,./sniff,./_base/lang,./dom,./dom-style,./dom-construct,./_base/connect".split(","),function(f,k,h,j,e,c,i,b){var g={},a=0,l=k._scopeName+"attrid";f.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};f.get=function(a,b){var a=e.byId(a),g=b.toLowerCase();return a[f.names[g]|| +e)return a[e];d=g[d]||b;return i(a,d)?a.getAttribute(d):null}})},"dojo/dom-prop":function(){webodfModule.define("exports,./_base/kernel,./sniff,./_base/lang,./dom,./dom-style,./dom-construct,./_base/connect".split(","),function(f,k,h,j,e,c,i,b){var g={},a=0,l=k._scopeName+"attrid";f.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};f.get=function(a,b){var a=e.byId(a),g=b.toLowerCase();return a[f.names[g]|| b]};f.set=function(d,k,m){d=e.byId(d);if(2==arguments.length&&"string"!=typeof k){for(var n in k)f.set(d,n,k[n]);return d}n=k.toLowerCase();n=f.names[n]||k;if("style"==n&&"string"!=typeof m)return c.set(d,m),d;if("innerHTML"==n)return h("ie")&&d.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(i.empty(d),d.appendChild(i.toDom(m,d.ownerDocument))):d[n]=m,d;if(j.isFunction(m)){var o=d[l];o||(o=a++,d[l]=o);g[o]||(g[o]={});var r=g[o][n];if(r)b.disconnect(r);else try{delete d[n]}catch(q){}m? -g[o][n]=b.connect(d,n,m):d[n]=null;return d}d[n]=m;return d}})},"dojo/dom-construct":function(){define("exports,./_base/kernel,./sniff,./_base/window,./dom,./dom-attr,./on".split(","),function(f,k,h,j,e,c,i){function b(a,b){var d=b.parentNode;d&&d.insertBefore(a,b)}var g={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]}, +g[o][n]=b.connect(d,n,m):d[n]=null;return d}d[n]=m;return d}})},"dojo/dom-construct":function(){webodfModule.define("exports,./_base/kernel,./sniff,./_base/window,./dom,./dom-attr,./on".split(","),function(f,k,h,j,e,c,i){function b(a,b){var d=b.parentNode;d&&d.insertBefore(a,b)}var g={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]}, a=/<\s*([\w\:]+)/,l={},d=0,p="__"+k._scopeName+"ToDomId",m;for(m in g)if(g.hasOwnProperty(m))k=g[m],k.pre="option"==m?'',_buttonInputDisabled:c("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var a=this.type.toLowerCase();if(this.templateString&&"input"==this.templateString.toLowerCase()||("hidden"==a||"file"==a)&&this.templateString== this.constructor.prototype.templateString)this.templateString=this._singleNodeTemplate;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);9>c("ie")&&this.defer(function(){try{var a=h.getComputedStyle(this.domNode);if(a){var b=a.fontFamily;if(b){var c=this.domNode.getElementsByTagName("INPUT");if(c)for(a=0;ab?1:aj("ie")||j("ie")&&j("quirks"))){c.preventDefault();var e=c.srcElement,b=e.ownerDocument.createEventObject();b.keyCode=h.ESCAPE;b.shiftKey=c.shiftKey;e.fireEvent("onkeypress",b)}}})})},"dijit/form/_TextBoxMixin":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/on,../main".split(","),function(f,k,h,j,e,c,i,b){var g= +!1;this._setValueAttr(this._resetValue,!0)},_onKeyDown:function(c){if(c.keyCode==h.ESCAPE&&!c.ctrlKey&&!c.altKey&&!c.metaKey&&(9>j("ie")||j("ie")&&j("quirks"))){c.preventDefault();var e=c.srcElement,b=e.ownerDocument.createEventObject();b.keyCode=h.ESCAPE;b.shiftKey=c.shiftKey;e.fireEvent("onkeypress",b)}}})})},"dijit/form/_TextBoxMixin":function(){webodfModule.define("dojo/_base/array,dojo/_base/declare,dojo/dom,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/on,../main".split(","),function(f,k,h,j,e,c,i,b){var g= k("dijit.form._TextBoxMixin",null,{trim:!1,uppercase:!1,lowercase:!1,propercase:!1,maxLength:"",selectOnClick:!1,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints)},_setValueAttr:function(a,b,c){var g;void 0!==a&&(g=this.filter(a),"string"!=typeof c&&(c=null!==g&&("number"!=typeof g||!isNaN(g))?this.filter(this.format(g,this.constraints)):""));if(null!=c&&("number"!=typeof c||!isNaN(c))&&this.textbox.value!=c)this.textbox.value=c,this._set("displayedValue", this.get("displayedValue"));"auto"==this.textDir&&this.applyTextDir(this.focusNode,c);this.inherited(arguments,[g,b])},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value)},_setDisplayedValueAttr:function(a){null==a?a="":"string"!=typeof a&&(a=""+a);this.textbox.value=a;this._setValueAttr(this.get("value"),void 0);this._set("displayedValue",this.get("displayedValue"));"auto"==this.textDir&&this.applyTextDir(this.focusNode,a)},format:function(a){return null==a? "":a.toString?a.toString():a},parse:function(a){return a},_refreshState:function(){},onInput:function(){},__skipInputEvent:!1,_onInput:function(a){"auto"==this.textDir&&this.applyTextDir(this.focusNode,this.focusNode.value);this._processInput(a)},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"))},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);this.own(i(this.textbox,"keydown, keypress, paste, cut, input, compositionend", @@ -387,13 +387,13 @@ b&&90>=b||48<=b&&57>=b||b==e.SPACE)return;b=!1;for(var d in e)if(e[d]===a.keyCod if("string"!=typeof a)return a;this.trim&&(a=c.trim(a));this.uppercase&&(a=a.toUpperCase());this.lowercase&&(a=a.toLowerCase());this.propercase&&(a=a.replace(/[^\s]+/g,function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}));return a},_setBlurValue:function(){this._setValueAttr(this.get("value"),!0)},_onBlur:function(a){this.disabled||(this._setBlurValue(),this.inherited(arguments))},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd},_onFocus:function(a){if(!this.disabled&& !this.readOnly){if(this.selectOnClick&&"mouse"==a)this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;this._isTextSelected()||g.selectInputText(this.textbox)}),this.defer(function(){if(this._selectOnClickHandle)this.disconnect(this._selectOnClickHandle),this._selectOnClickHandle=null},500);this.inherited(arguments);this._refreshState()}},reset:function(){this.textbox.value="";this.inherited(arguments)}, _setTextDirAttr:function(a){if(!this._created||this.textDir!=a)this._set("textDir",a),this.applyTextDir(this.focusNode,this.focusNode.value)}});g._setSelectionRange=b._setSelectionRange=function(a,b,c){a.setSelectionRange&&a.setSelectionRange(b,c)};g.selectInputText=b.selectInputText=function(a,b,c){a=h.byId(a);isNaN(b)&&(b=0);isNaN(c)&&(c=a.value?a.value.length:0);try{a.focus(),g._setSelectionRange(a,b,c)}catch(e){}};return g})},"url:dijit/form/templates/TextBox.html":'