@oracle/oraclejet 11.0.6 → 11.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/THIRDPARTYLICENSE.txt +7 -7
- package/dist/css/alta/oj-alta-min.css +1 -1
- package/dist/css/alta/oj-alta-notag-min.css +1 -1
- package/dist/css/alta/oj-alta-notag.css +5 -3
- package/dist/css/alta/oj-alta.css +5 -3
- package/dist/css/alta-android/oj-alta-min.css +1 -1
- package/dist/css/alta-android/oj-alta.css +5 -3
- package/dist/css/alta-ios/oj-alta-min.css +1 -1
- package/dist/css/alta-ios/oj-alta.css +5 -3
- package/dist/css/alta-windows/oj-alta-min.css +1 -1
- package/dist/css/alta-windows/oj-alta.css +5 -3
- package/dist/css/redwood/images/texture-dialog-144x20-opacity-08.png +0 -0
- package/dist/css/redwood/oj-redwood-min.css +1 -1
- package/dist/css/redwood/oj-redwood-notag-min.css +1 -1
- package/dist/css/redwood/oj-redwood-notag-novars-min.css +1 -1
- package/dist/css/redwood/oj-redwood-notag-novars.css +95 -58
- package/dist/css/redwood/oj-redwood-notag.css +109 -64
- package/dist/css/redwood/oj-redwood-novars-min.css +1 -1
- package/dist/css/redwood/oj-redwood-novars.css +95 -58
- package/dist/css/redwood/oj-redwood.css +109 -64
- package/dist/css/stable/oj-stable-min.css +1 -1
- package/dist/css/stable/oj-stable.css +103 -58
- package/dist/custom-tsc/JetTypeGenerator.js +14 -1
- package/dist/custom-tsc/metadataTransformer.js +14 -0
- package/dist/custom-tsc/templates/container.tmpl +14 -2
- package/dist/custom-tsc/templates/properties.tmpl +3 -3
- package/dist/custom-tsc/utils/MetadataEventUtils.js +28 -16
- package/dist/custom-tsc/utils/MetadataPropertyUtils.js +37 -10
- package/dist/custom-tsc/utils/MetadataSlotUtils.js +4 -5
- package/dist/custom-tsc/utils/MetadataTypeUtils.js +21 -14
- package/dist/custom-tsc/utils/MetadataTypes.d.ts +12 -0
- package/dist/custom-tsc/utils/MetadataUtils.d.ts +7 -2
- package/dist/custom-tsc/utils/MetadataUtils.js +214 -28
- package/dist/js/libs/oj/debug/ojarraydataprovider.js +58 -1
- package/dist/js/libs/oj/debug/ojbufferingdataprovider.js +19 -20
- package/dist/js/libs/oj/debug/ojchart-toolkit.js +7 -1
- package/dist/js/libs/oj/debug/ojchart.js +22 -16
- package/dist/js/libs/oj/debug/ojcheckboxset.js +10 -2
- package/dist/js/libs/oj/debug/ojcomponentcore.js +15 -2
- package/dist/js/libs/oj/debug/ojconfig.js +1 -1
- package/dist/js/libs/oj/debug/ojcontext.js +27 -10
- package/dist/js/libs/oj/debug/ojcore-base.js +16 -5
- package/dist/js/libs/oj/debug/ojdatagrid.js +99 -39
- package/dist/js/libs/oj/debug/ojdataprovider.js +18 -0
- package/dist/js/libs/oj/debug/ojdiagram.js +6 -6
- package/dist/js/libs/oj/debug/ojdrawerlayout.js +17 -8
- package/dist/js/libs/oj/debug/ojdrawerpopup.js +13 -2
- package/dist/js/libs/oj/debug/ojdvt-toolkit.js +11 -3
- package/dist/js/libs/oj/debug/ojdvttimecomponentscale.js +16 -0
- package/dist/js/libs/oj/debug/ojeditablevalue.js +48 -2
- package/dist/js/libs/oj/debug/ojgantt-toolkit.js +324 -142
- package/dist/js/libs/oj/debug/ojgantt.js +21 -11
- package/dist/js/libs/oj/debug/ojgauge.js +11 -11
- package/dist/js/libs/oj/debug/ojinputsearch.js +12 -0
- package/dist/js/libs/oj/debug/ojinputtext.js +16 -2
- package/dist/js/libs/oj/debug/ojlegend.js +12 -7
- package/dist/js/libs/oj/debug/ojlistview.js +13 -4
- package/dist/js/libs/oj/debug/ojmenu.js +5 -2
- package/dist/js/libs/oj/debug/ojmutablearraydataprovider.js +76 -19
- package/dist/js/libs/oj/debug/ojnbox.js +22 -22
- package/dist/js/libs/oj/debug/ojpictochart.js +2 -2
- package/dist/js/libs/oj/debug/ojpopupcore.js +3 -1
- package/dist/js/libs/oj/debug/ojpulltorefresh.js +7 -3
- package/dist/js/libs/oj/debug/ojradioset.js +11 -2
- package/dist/js/libs/oj/debug/ojrestdataprovider.js +41 -19
- package/dist/js/libs/oj/debug/ojresttreedataprovider.js +268 -0
- package/dist/js/libs/oj/debug/ojselectbase.js +65 -13
- package/dist/js/libs/oj/debug/ojselectcombobox.js +1 -1
- package/dist/js/libs/oj/debug/ojselectsingle.js +56 -31
- package/dist/js/libs/oj/debug/ojslider.js +3 -3
- package/dist/js/libs/oj/debug/ojstreamlist.js +2 -2
- package/dist/js/libs/oj/debug/ojsunburst.js +5 -5
- package/dist/js/libs/oj/debug/ojsuppressnodetreedataprovider.js +7 -0
- package/dist/js/libs/oj/debug/ojswitch.js +12 -2
- package/dist/js/libs/oj/debug/ojtable.js +369 -55
- package/dist/js/libs/oj/debug/ojtagcloud.js +3 -3
- package/dist/js/libs/oj/debug/ojtemplateengine.js +37 -10
- package/dist/js/libs/oj/debug/ojthematicmap.js +13 -13
- package/dist/js/libs/oj/debug/ojtimeaxis-toolkit.js +106 -22
- package/dist/js/libs/oj/debug/ojtimeaxis.js +13 -0
- package/dist/js/libs/oj/debug/ojtimeline-toolkit.js +1602 -361
- package/dist/js/libs/oj/debug/ojtimeline.js +131 -27
- package/dist/js/libs/oj/debug/ojtrace-event.js +10 -20
- package/dist/js/libs/oj/debug/ojtracer.js +96 -0
- package/dist/js/libs/oj/debug/ojtreemap.js +8 -9
- package/dist/js/libs/oj/debug/ojtreeview.js +45 -12
- package/dist/js/libs/oj/debug/ojvcomponent-template.js +64 -55
- package/dist/js/libs/oj/debug/ojwaterfalllayout.js +3 -3
- package/dist/js/libs/oj/debug_esm/ojarraydataprovider.js +58 -1
- package/dist/js/libs/oj/debug_esm/ojbufferingdataprovider.js +18 -19
- package/dist/js/libs/oj/debug_esm/ojchart-toolkit.js +7 -1
- package/dist/js/libs/oj/debug_esm/ojchart.js +22 -16
- package/dist/js/libs/oj/debug_esm/ojcheckboxset.js +10 -2
- package/dist/js/libs/oj/debug_esm/ojcomponentcore.js +15 -2
- package/dist/js/libs/oj/debug_esm/ojconfig.js +1 -1
- package/dist/js/libs/oj/debug_esm/ojcontext.js +27 -10
- package/dist/js/libs/oj/debug_esm/ojcore-base.js +17 -6
- package/dist/js/libs/oj/debug_esm/ojdatagrid.js +100 -40
- package/dist/js/libs/oj/debug_esm/ojdataprovider.js +18 -0
- package/dist/js/libs/oj/debug_esm/ojdiagram.js +6 -6
- package/dist/js/libs/oj/debug_esm/ojdrawerlayout.js +17 -8
- package/dist/js/libs/oj/debug_esm/ojdrawerpopup.js +13 -2
- package/dist/js/libs/oj/debug_esm/ojdvt-toolkit.js +11 -3
- package/dist/js/libs/oj/debug_esm/ojdvttimecomponentscale.js +16 -0
- package/dist/js/libs/oj/debug_esm/ojeditablevalue.js +48 -2
- package/dist/js/libs/oj/debug_esm/ojgantt-toolkit.js +324 -142
- package/dist/js/libs/oj/debug_esm/ojgantt.js +21 -11
- package/dist/js/libs/oj/debug_esm/ojgauge.js +11 -11
- package/dist/js/libs/oj/debug_esm/ojinputsearch.js +12 -0
- package/dist/js/libs/oj/debug_esm/ojinputtext.js +16 -2
- package/dist/js/libs/oj/debug_esm/ojlegend.js +12 -7
- package/dist/js/libs/oj/debug_esm/ojlistview.js +13 -4
- package/dist/js/libs/oj/debug_esm/ojmenu.js +5 -2
- package/dist/js/libs/oj/debug_esm/ojmutablearraydataprovider.js +76 -19
- package/dist/js/libs/oj/debug_esm/ojnbox.js +22 -22
- package/dist/js/libs/oj/debug_esm/ojpictochart.js +2 -2
- package/dist/js/libs/oj/debug_esm/ojpopupcore.js +3 -1
- package/dist/js/libs/oj/debug_esm/ojpulltorefresh.js +7 -3
- package/dist/js/libs/oj/debug_esm/ojradioset.js +11 -2
- package/dist/js/libs/oj/debug_esm/ojrestdataprovider.js +41 -19
- package/dist/js/libs/oj/debug_esm/ojresttreedataprovider.js +267 -0
- package/dist/js/libs/oj/debug_esm/ojselectbase.js +65 -13
- package/dist/js/libs/oj/debug_esm/ojselectcombobox.js +1 -1
- package/dist/js/libs/oj/debug_esm/ojselectsingle.js +56 -31
- package/dist/js/libs/oj/debug_esm/ojslider.js +3 -3
- package/dist/js/libs/oj/debug_esm/ojstreamlist.js +2 -2
- package/dist/js/libs/oj/debug_esm/ojsunburst.js +5 -5
- package/dist/js/libs/oj/debug_esm/ojsuppressnodetreedataprovider.js +7 -0
- package/dist/js/libs/oj/debug_esm/ojswitch.js +12 -2
- package/dist/js/libs/oj/debug_esm/ojtable.js +370 -55
- package/dist/js/libs/oj/debug_esm/ojtagcloud.js +3 -3
- package/dist/js/libs/oj/debug_esm/ojtemplateengine.js +36 -9
- package/dist/js/libs/oj/debug_esm/ojthematicmap.js +13 -13
- package/dist/js/libs/oj/debug_esm/ojtimeaxis-toolkit.js +106 -22
- package/dist/js/libs/oj/debug_esm/ojtimeaxis.js +13 -0
- package/dist/js/libs/oj/debug_esm/ojtimeline-toolkit.js +1603 -362
- package/dist/js/libs/oj/debug_esm/ojtimeline.js +131 -27
- package/dist/js/libs/oj/debug_esm/ojtrace-event.js +11 -19
- package/dist/js/libs/oj/debug_esm/ojtracer.js +95 -1
- package/dist/js/libs/oj/debug_esm/ojtreemap.js +8 -9
- package/dist/js/libs/oj/debug_esm/ojtreeview.js +46 -13
- package/dist/js/libs/oj/debug_esm/ojvcomponent-template.js +63 -55
- package/dist/js/libs/oj/debug_esm/ojwaterfalllayout.js +3 -3
- package/dist/js/libs/oj/main-template.js +3 -3
- package/dist/js/libs/oj/min/ojarraydataprovider.js.map +1 -1
- package/dist/js/libs/oj/min/ojbufferingdataprovider.js +2 -2
- package/dist/js/libs/oj/min/ojbufferingdataprovider.js.map +1 -1
- package/dist/js/libs/oj/min/ojchart-toolkit.js +1 -1
- package/dist/js/libs/oj/min/ojchart-toolkit.js.map +1 -1
- package/dist/js/libs/oj/min/ojchart.js.map +1 -1
- package/dist/js/libs/oj/min/ojcheckboxset.js +1 -1
- package/dist/js/libs/oj/min/ojcheckboxset.js.map +1 -1
- package/dist/js/libs/oj/min/ojcomponentcore.js +1 -1
- package/dist/js/libs/oj/min/ojcomponentcore.js.map +1 -1
- package/dist/js/libs/oj/min/ojcontext.js +1 -1
- package/dist/js/libs/oj/min/ojcontext.js.map +1 -1
- package/dist/js/libs/oj/min/ojcore-base.js +2 -2
- package/dist/js/libs/oj/min/ojcore-base.js.map +1 -1
- package/dist/js/libs/oj/min/ojdatagrid.js +1 -1
- package/dist/js/libs/oj/min/ojdatagrid.js.map +1 -1
- package/dist/js/libs/oj/min/ojdataprovider.js.map +1 -1
- package/dist/js/libs/oj/min/ojdrawerlayout.js +1 -1
- package/dist/js/libs/oj/min/ojdrawerlayout.js.map +1 -1
- package/dist/js/libs/oj/min/ojdrawerpopup.js +1 -1
- package/dist/js/libs/oj/min/ojdrawerpopup.js.map +1 -1
- package/dist/js/libs/oj/min/ojdvt-toolkit.js +1 -1
- package/dist/js/libs/oj/min/ojdvt-toolkit.js.map +1 -1
- package/dist/js/libs/oj/min/ojeditablevalue.js +1 -1
- package/dist/js/libs/oj/min/ojeditablevalue.js.map +1 -1
- package/dist/js/libs/oj/min/ojgantt-toolkit.js +1 -1
- package/dist/js/libs/oj/min/ojgantt-toolkit.js.map +1 -1
- package/dist/js/libs/oj/min/ojgantt.js +1 -1
- package/dist/js/libs/oj/min/ojgantt.js.map +1 -1
- package/dist/js/libs/oj/min/ojinputsearch.js +1 -1
- package/dist/js/libs/oj/min/ojinputsearch.js.map +1 -1
- package/dist/js/libs/oj/min/ojinputtext.js +1 -1
- package/dist/js/libs/oj/min/ojinputtext.js.map +1 -1
- package/dist/js/libs/oj/min/ojlegend.js.map +1 -1
- package/dist/js/libs/oj/min/ojlistview.js +1 -1
- package/dist/js/libs/oj/min/ojlistview.js.map +1 -1
- package/dist/js/libs/oj/min/ojmenu.js +1 -1
- package/dist/js/libs/oj/min/ojmenu.js.map +1 -1
- package/dist/js/libs/oj/min/ojmutablearraydataprovider.js.map +1 -1
- package/dist/js/libs/oj/min/ojpopupcore.js +1 -1
- package/dist/js/libs/oj/min/ojpopupcore.js.map +1 -1
- package/dist/js/libs/oj/min/ojpulltorefresh.js +1 -1
- package/dist/js/libs/oj/min/ojpulltorefresh.js.map +1 -1
- package/dist/js/libs/oj/min/ojradioset.js +1 -1
- package/dist/js/libs/oj/min/ojradioset.js.map +1 -1
- package/dist/js/libs/oj/min/ojrestdataprovider.js +1 -1
- package/dist/js/libs/oj/min/ojrestdataprovider.js.map +1 -1
- package/dist/js/libs/oj/min/ojresttreedataprovider.js +9 -0
- package/dist/js/libs/oj/min/ojresttreedataprovider.js.map +1 -0
- package/dist/js/libs/oj/min/ojselectbase.js +1 -1
- package/dist/js/libs/oj/min/ojselectbase.js.map +1 -1
- package/dist/js/libs/oj/min/ojselectcombobox.js +1 -1
- package/dist/js/libs/oj/min/ojselectcombobox.js.map +1 -1
- package/dist/js/libs/oj/min/ojselectsingle.js +1 -1
- package/dist/js/libs/oj/min/ojselectsingle.js.map +1 -1
- package/dist/js/libs/oj/min/ojslider.js +1 -1
- package/dist/js/libs/oj/min/ojslider.js.map +1 -1
- package/dist/js/libs/oj/min/ojstreamlist.js +1 -1
- package/dist/js/libs/oj/min/ojstreamlist.js.map +1 -1
- package/dist/js/libs/oj/min/ojsuppressnodetreedataprovider.js +1 -1
- package/dist/js/libs/oj/min/ojsuppressnodetreedataprovider.js.map +1 -1
- package/dist/js/libs/oj/min/ojswitch.js +1 -1
- package/dist/js/libs/oj/min/ojswitch.js.map +1 -1
- package/dist/js/libs/oj/min/ojtable.js +1 -1
- package/dist/js/libs/oj/min/ojtable.js.map +1 -1
- package/dist/js/libs/oj/min/ojtemplateengine.js +1 -1
- package/dist/js/libs/oj/min/ojtemplateengine.js.map +1 -1
- package/dist/js/libs/oj/min/ojtimeaxis-toolkit.js +1 -1
- package/dist/js/libs/oj/min/ojtimeaxis-toolkit.js.map +1 -1
- package/dist/js/libs/oj/min/ojtimeaxis.js +1 -1
- package/dist/js/libs/oj/min/ojtimeaxis.js.map +1 -1
- package/dist/js/libs/oj/min/ojtimeline-toolkit.js +1 -1
- package/dist/js/libs/oj/min/ojtimeline-toolkit.js.map +1 -1
- package/dist/js/libs/oj/min/ojtimeline.js +1 -1
- package/dist/js/libs/oj/min/ojtimeline.js.map +1 -1
- package/dist/js/libs/oj/min/ojtrace-event.js +1 -1
- package/dist/js/libs/oj/min/ojtrace-event.js.map +1 -1
- package/dist/js/libs/oj/min/ojtracer.js +1 -1
- package/dist/js/libs/oj/min/ojtracer.js.map +1 -1
- package/dist/js/libs/oj/min/ojtreeview.js +1 -1
- package/dist/js/libs/oj/min/ojtreeview.js.map +1 -1
- package/dist/js/libs/oj/min/ojvcomponent-template.js +1 -1
- package/dist/js/libs/oj/min/ojvcomponent-template.js.map +1 -1
- package/dist/js/libs/oj/min/ojwaterfalllayout.js +1 -1
- package/dist/js/libs/oj/min/ojwaterfalllayout.js.map +1 -1
- package/dist/js/libs/oj/resources/nls/ar/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/ar-XB/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/bg/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/bs/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/bs-Cyrl/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/cs/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/da/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/de/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/el/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/en-XA/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/en-XC/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/es/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/et/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/fi/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/fr/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/fr-CA/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/he/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/hr/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/hu/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/is/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/it/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/ja/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/ko/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/lt/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/lv/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/ms/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/nl/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/no/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/pl/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/pseudo/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/pt/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/pt-PT/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/ro/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/ru/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/sk/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/sl/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/sr/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/sr-Latn/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/sv/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/th/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/tr/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/uk/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/vi/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/zh-Hans/ojtranslations.js +1 -1
- package/dist/js/libs/oj/resources/nls/zh-Hant/ojtranslations.js +1 -1
- package/dist/js/libs/persist/debug/{offline-persistence-toolkit-arraystore-1.5.4.js → offline-persistence-toolkit-arraystore-1.5.5.js} +0 -0
- package/dist/js/libs/persist/debug/{offline-persistence-toolkit-core-1.5.4.js → offline-persistence-toolkit-core-1.5.5.js} +116 -22
- package/dist/js/libs/persist/debug/{offline-persistence-toolkit-filesystemstore-1.5.4.js → offline-persistence-toolkit-filesystemstore-1.5.5.js} +0 -0
- package/dist/js/libs/persist/debug/{offline-persistence-toolkit-localstore-1.5.4.js → offline-persistence-toolkit-localstore-1.5.5.js} +0 -0
- package/dist/js/libs/persist/debug/{offline-persistence-toolkit-pouchdbstore-1.5.4.js → offline-persistence-toolkit-pouchdbstore-1.5.5.js} +0 -0
- package/dist/js/libs/persist/debug/{offline-persistence-toolkit-responseproxy-1.5.4.js → offline-persistence-toolkit-responseproxy-1.5.5.js} +0 -0
- package/dist/js/libs/persist/debug/persistenceManager.js +114 -21
- package/dist/js/libs/persist/debug/persistenceUtils.js +2 -1
- package/dist/js/libs/persist/min/impl/PersistenceSyncManager.js +1 -1
- package/dist/js/libs/persist/min/impl/PersistenceXMLHttpRequest.js +1 -1
- package/dist/js/libs/persist/min/impl/sql-where-parser.min.js +1 -1
- package/dist/js/libs/persist/min/{offline-persistence-toolkit-arraystore-1.5.4.js → offline-persistence-toolkit-arraystore-1.5.5.js} +0 -0
- package/dist/js/libs/persist/min/{offline-persistence-toolkit-core-1.5.4.js → offline-persistence-toolkit-core-1.5.5.js} +330 -330
- package/dist/js/libs/persist/min/{offline-persistence-toolkit-filesystemstore-1.5.4.js → offline-persistence-toolkit-filesystemstore-1.5.5.js} +330 -330
- package/dist/js/libs/persist/min/{offline-persistence-toolkit-localstore-1.5.4.js → offline-persistence-toolkit-localstore-1.5.5.js} +0 -0
- package/dist/js/libs/persist/min/{offline-persistence-toolkit-pouchdbstore-1.5.4.js → offline-persistence-toolkit-pouchdbstore-1.5.5.js} +330 -330
- package/dist/js/libs/persist/min/{offline-persistence-toolkit-responseproxy-1.5.4.js → offline-persistence-toolkit-responseproxy-1.5.5.js} +331 -331
- package/dist/js/libs/persist/min/persistenceManager.js +1 -1
- package/dist/js/libs/persist/min/persistenceUtils.js +1 -1
- package/dist/js/libs/persist/min/pouchdb-browser-7.2.2.js +330 -330
- package/dist/js/libs/persist/min/pouchdb.find.js +1 -1
- package/dist/js/libs/persist/min/queryHandlers.js +1 -1
- package/dist/metadata/components/allComponents.json +1019 -905
- package/dist/metadata/components/schemas/component-schema.json +10 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/accordion/themes/base/_oj-accordion.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/accordion/themes/redwood/_oj-accordion.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/accordion/themes/redwood/oj-accordion.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/accordion/themes/stable/_oj-accordion.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/accordion/themes/stable/oj-accordion.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/action-card/themes/base/_oj-action-card.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/action-card/themes/redwood/_oj-action-card.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/action-card/themes/redwood/oj-action-card.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/action-card/themes/stable/_oj-action-card.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/action-card/themes/stable/oj-action-card.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/base/_oj.common.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/base/oj.common.settings.cssvariables.css +0 -1
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/redwood/_oj-all-components-common.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/redwood/_oj-all-components-notag.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/redwood/_oj-all-components.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/redwood/_oj.redwood.settings.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/redwood/oj.redwood.cssvars.settings.css +0 -1
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/stable/_oj-all-components-common.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/stable/_oj-all-components-notag.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/stable/_oj-all-components.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/stable/_oj.stable.settings.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/all-components/themes/stable/oj.stable.cssvars.settings.css +0 -1
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/animation/themes/base/_oj-animation.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/animation/themes/redwood/_oj-animation.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/animation/themes/redwood/_oj-animation.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/animation/themes/redwood/oj-animation.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/animation/themes/stable/_oj-animation.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/animation/themes/stable/_oj-animation.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/animation/themes/stable/oj-animation.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout/themes/base/_oj-app-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout/themes/redwood/_oj-app-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout/themes/redwood/_oj-app-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout/themes/stable/_oj-app-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout/themes/stable/_oj-app-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-hybrid/themes/base/_oj-app-layout-hybrid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-hybrid/themes/redwood/_oj-app-layout-hybrid.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-hybrid/themes/redwood/oj-app-layout-hybrid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-hybrid/themes/stable/_oj-app-layout-hybrid.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-hybrid/themes/stable/oj-app-layout-hybrid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-web/themes/base/_oj-app-layout-web.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-web/themes/redwood/_oj-app-layout-web.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-web/themes/redwood/oj-app-layout-web.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-web/themes/stable/_oj-app-layout-web.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/app-layout-web/themes/stable/oj-app-layout-web.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/avatar/themes/base/_oj-avatar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/avatar/themes/redwood/_oj-avatar-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/avatar/themes/redwood/_oj-avatar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/avatar/themes/redwood/oj-avatar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/avatar/themes/stable/_oj-avatar-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/avatar/themes/stable/_oj-avatar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/avatar/themes/stable/oj-avatar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/badge/themes/base/_oj-badge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/badge/themes/redwood/_oj-badge-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/badge/themes/redwood/_oj-badge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/badge/themes/redwood/oj-badge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/badge/themes/stable/_oj-badge-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/badge/themes/stable/_oj-badge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/badge/themes/stable/oj-badge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/base/_oj-button.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/redwood/_oj-button-ignore.scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/redwood/_oj-button-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/redwood/_oj-button.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/redwood/oj-button.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/stable/_oj-button-ignore.scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/stable/_oj-button.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/button/themes/stable/oj-button.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset/themes/base/_oj-buttonset.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset/themes/redwood/_oj-buttonset-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset/themes/redwood/_oj-buttonset.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset/themes/redwood/_oj-buttonset.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset/themes/stable/_oj-buttonset-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset/themes/stable/_oj-buttonset.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset/themes/stable/_oj-buttonset.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset-many/themes/redwood/oj-buttonset-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset-many/themes/stable/oj-buttonset-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset-one/themes/redwood/oj-buttonset-one.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/buttonset-one/themes/stable/oj-buttonset-one.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/chart/themes/base/_oj-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/chart/themes/redwood/_oj-chart.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/chart/themes/redwood/oj-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/chart/themes/stable/_oj-chart.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/chart/themes/stable/oj-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/checkboxset/themes/redwood/_oj-checkboxset.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/checkboxset/themes/redwood/oj-checkboxset.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/checkboxset/themes/stable/_oj-checkboxset.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/checkboxset/themes/stable/oj-checkboxset.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/collapsible/themes/base/_oj-collapsible.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/collapsible/themes/redwood/_oj-collapsible.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/collapsible/themes/redwood/oj-collapsible.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/collapsible/themes/stable/_oj-collapsible.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/collapsible/themes/stable/oj-collapsible.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/collection/themes/redwood/_oj-collection.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/collection/themes/stable/_oj-collection.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-palette/themes/base/_oj-color-palette.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-palette/themes/redwood/_oj-color-palette.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-palette/themes/redwood/oj-color-palette.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-palette/themes/stable/_oj-color-palette.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-palette/themes/stable/oj-color-palette.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-spectrum/themes/base/_oj-color-spectrum.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-spectrum/themes/redwood/_oj-color-spectrum.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-spectrum/themes/redwood/oj-color-spectrum.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-spectrum/themes/stable/_oj-color-spectrum.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/color-spectrum/themes/stable/oj-color-spectrum.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox/themes/base/_oj-combobox.scss +2 -2
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox/themes/redwood/_oj-combobox.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox/themes/redwood/_oj-combobox.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox/themes/stable/_oj-combobox.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox/themes/stable/_oj-combobox.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox-many/themes/redwood/oj-combobox-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox-many/themes/stable/oj-combobox-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox-one/themes/redwood/oj-combobox-one.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/combobox-one/themes/stable/oj-combobox-one.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/conveyor-belt/themes/base/_oj-conveyor-belt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/conveyor-belt/themes/redwood/_oj-conveyor-belt.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/conveyor-belt/themes/redwood/oj-conveyor-belt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/conveyor-belt/themes/stable/_oj-conveyor-belt.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/conveyor-belt/themes/stable/oj-conveyor-belt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/core/themes/redwood/_oj-core-ignore.scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/core/themes/redwood/_oj-core-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/core/themes/redwood/_oj-core.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/core/themes/stable/_oj-core.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/data-grid/themes/base/_oj-data-grid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/data-grid/themes/redwood/_oj-data-grid.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/data-grid/themes/redwood/oj-data-grid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/data-grid/themes/stable/_oj-data-grid.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/data-grid/themes/stable/oj-data-grid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-picker/themes/redwood/oj-date-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-picker/themes/stable/oj-date-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-time-picker/themes/base/_oj-date-time-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-time-picker/themes/redwood/_oj-date-time-picker.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-time-picker/themes/redwood/_oj-date-time-picker.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-time-picker/themes/redwood/oj-date-time-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-time-picker/themes/stable/_oj-date-time-picker.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-time-picker/themes/stable/_oj-date-time-picker.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/date-time-picker/themes/stable/oj-date-time-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/diagram/themes/base/_oj-diagram.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/diagram/themes/redwood/_oj-diagram.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/diagram/themes/redwood/oj-diagram.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/diagram/themes/stable/_oj-diagram.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/diagram/themes/stable/oj-diagram.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/base/_oj-dialog.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/redwood/_oj-dialog-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/redwood/_oj-dialog.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/redwood/_oj-dialog.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/redwood/oj-dialog.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/stable/_oj-dialog-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/stable/_oj-dialog.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/stable/_oj-dialog.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dialog/themes/stable/oj-dialog.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-layout/themes/base/_oj-drawer-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-layout/themes/redwood/_oj-drawer-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-layout/themes/redwood/oj-drawer-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-layout/themes/stable/_oj-drawer-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-layout/themes/stable/oj-drawer-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-popup/themes/base/_oj-drawer-popup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-popup/themes/redwood/_oj-drawer-popup.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-popup/themes/redwood/oj-drawer-popup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-popup/themes/stable/_oj-drawer-popup.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/drawer-popup/themes/stable/oj-drawer-popup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dvt/themes/base/_oj-dvt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dvt/themes/redwood/_oj-dvt.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dvt/themes/redwood/_oj-dvt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dvt/themes/stable/_oj-dvt.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/dvt/themes/stable/_oj-dvt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/file-picker/themes/base/_oj-file-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/file-picker/themes/redwood/_oj-file-picker.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/file-picker/themes/redwood/oj-file-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/file-picker/themes/stable/_oj-file-picker.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/file-picker/themes/stable/oj-file-picker.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/film-strip/themes/base/_oj-film-strip.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/film-strip/themes/redwood/_oj-film-strip.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/film-strip/themes/redwood/oj-film-strip.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/film-strip/themes/stable/_oj-film-strip.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/film-strip/themes/stable/oj-film-strip.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/flex/themes/base/_oj-flex.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/flex/themes/redwood/oj-flex.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/flex/themes/stable/oj-flex.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/base/_oj-form-control.mixins.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/base/_oj-form-control.scss +17 -13
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/base/_oj-messaging.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/redwood/_oj-form-control.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/redwood/_oj-form-control.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/redwood/_oj-messaging.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/redwood/_oj-messaging.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/stable/_oj-form-control.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/stable/_oj-form-control.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/stable/_oj-messaging.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-control/themes/stable/_oj-messaging.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-layout/themes/base/_oj-form-layout.scss +4 -5
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-layout/themes/redwood/_oj-form-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-layout/themes/redwood/_oj-form-layout.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-layout/themes/redwood/oj-form-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-layout/themes/stable/_oj-form-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-layout/themes/stable/_oj-form-layout.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/form-layout/themes/stable/oj-form-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gantt/themes/base/_oj-gantt.scss +37 -15
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gantt/themes/redwood/_oj-gantt.cssvars.scss +14 -7
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gantt/themes/redwood/oj-gantt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gantt/themes/stable/_oj-gantt.cssvars.scss +12 -5
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gantt/themes/stable/oj-gantt.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gauge/themes/base/_oj-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gauge/themes/redwood/_oj-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gauge/themes/redwood/oj-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gauge/themes/stable/_oj-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/gauge/themes/stable/oj-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/grid/themes/base/_oj-grid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/grid/themes/redwood/oj-grid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/grid/themes/stable/oj-grid.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/base/_oj-helpers.scss +1 -1
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/base/_oj-responsive-helpers.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/redwood/_oj-theme.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/redwood/oj-helpers.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/redwood/oj-responsive.helpers.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/stable/_oj-theme.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/stable/oj-helpers.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/helpers/themes/stable/oj-responsive.helpers.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/highlight-text/themes/base/_oj-highlight-text.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/highlight-text/themes/redwood/oj-highlight-text.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/highlight-text/themes/stable/oj-highlight-text.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icon-circle/themes/base/_oj-icon-circle.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icon-circle/themes/redwood/_oj-icon-circle-ignore.scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icon-circle/themes/redwood/_oj-icon-circle.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icon-circle/themes/redwood/oj-icon-circle.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/base/_oj-icons.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/redwood/_oj-icon-font.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/redwood/_oj-icons-ignore.scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/redwood/_oj-icons.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/redwood/oj-icons.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/stable/_oj-icon-font.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/stable/_oj-icons.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/icons/themes/stable/oj-icons.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/indexer/themes/base/_oj-indexer.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/indexer/themes/redwood/_oj-indexer.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/indexer/themes/redwood/oj-indexer.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/indexer/themes/stable/_oj-indexer.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/indexer/themes/stable/oj-indexer.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-date/themes/redwood/oj-input-date.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-date/themes/stable/oj-input-date.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-date-time/themes/redwood/oj-input-date-time.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-date-time/themes/stable/oj-input-date-time.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-number/themes/base/_oj-input-number.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-number/themes/redwood/_oj-input-number.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-number/themes/redwood/oj-input-number.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-number/themes/stable/_oj-input-number.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-number/themes/stable/oj-input-number.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-password/themes/redwood/oj-input-password.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-password/themes/stable/oj-input-password.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-search/themes/base/_oj-input-search.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-search/themes/redwood/_oj-input-search-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-search/themes/redwood/_oj-input-search.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-search/themes/redwood/_oj-input-search.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-search/themes/stable/_oj-input-search-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-search/themes/stable/_oj-input-search.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-search/themes/stable/_oj-input-search.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-text/themes/base/_oj-input-text.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-text/themes/redwood/_oj-input-text.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-text/themes/redwood/oj-input-text.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-text/themes/stable/_oj-input-text.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-text/themes/stable/oj-input-text.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-time/themes/redwood/oj-input-time.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/input-time/themes/stable/oj-input-time.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label/themes/base/_oj-label.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label/themes/redwood/_oj-label-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label/themes/redwood/_oj-label.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label/themes/redwood/oj-label.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label/themes/stable/_oj-label.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label/themes/stable/oj-label.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label-value/themes/base/_oj-label-value.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label-value/themes/redwood/_oj-label-value.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/label-value/themes/stable/_oj-label-value.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/led-gauge/themes/base/_oj-led-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/led-gauge/themes/redwood/_oj-led-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/led-gauge/themes/redwood/oj-led-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/led-gauge/themes/stable/_oj-led-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/led-gauge/themes/stable/oj-led-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/legend/themes/base/_oj-legend.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/legend/themes/redwood/_oj-legend.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/legend/themes/redwood/oj-legend.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/legend/themes/stable/_oj-legend.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/legend/themes/stable/oj-legend.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-box/themes/base/_oj-list-box.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-box/themes/redwood/_oj-list-box.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-box/themes/redwood/_oj-list-box.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-box/themes/stable/_oj-list-box.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-box/themes/stable/_oj-list-box.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-item-layout/themes/base/_oj-list-item-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-item-layout/themes/redwood/_oj-list-item-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-item-layout/themes/redwood/oj-list-item-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-item-layout/themes/stable/_oj-list-item-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-item-layout/themes/stable/oj-list-item-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-view/themes/base/_oj-list-view.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-view/themes/redwood/_oj-list-view.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-view/themes/redwood/oj-list-view.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-view/themes/stable/_oj-list-view.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/list-view/themes/stable/oj-list-view.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/masonry-layout/themes/base/_oj-masonry-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/masonry-layout/themes/redwood/_oj-masonry-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/masonry-layout/themes/redwood/_oj-masonry-layout.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/masonry-layout/themes/redwood/oj-masonry-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/masonry-layout/themes/stable/_oj-masonry-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/masonry-layout/themes/stable/_oj-masonry-layout.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/masonry-layout/themes/stable/oj-masonry-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu/themes/base/_oj-menu.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu/themes/redwood/_oj-menu.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu/themes/redwood/oj-menu.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu/themes/stable/_oj-menu.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu/themes/stable/oj-menu.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-button/themes/base/_oj-menu-button.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-button/themes/redwood/_oj-menu-button.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-button/themes/redwood/_oj-menu-button.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-button/themes/redwood/oj-menu-button.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-button/themes/stable/_oj-menu-button.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-button/themes/stable/_oj-menu-button.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-button/themes/stable/oj-menu-button.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-select-many/themes/base/_oj-menu-select-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-select-many/themes/redwood/_oj-menu-select-many.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-select-many/themes/redwood/oj-menu-select-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-select-many/themes/stable/_oj-menu-select-many.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/menu-select-many/themes/stable/oj-menu-select-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/base/_oj-message.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/redwood/_oj-message-ignore.scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/redwood/_oj-message.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/redwood/_oj-message.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/redwood/oj-message.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/stable/_oj-message.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/stable/_oj-message.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/message/themes/stable/oj-message.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/messages/themes/base/_oj-messages.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/messages/themes/redwood/_oj-messages.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/messages/themes/redwood/_oj-messages.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/messages/themes/redwood/oj-messages.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/messages/themes/stable/_oj-messages.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/messages/themes/stable/_oj-messages.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/messages/themes/stable/oj-messages.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/module/themes/base/_oj-module.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/module/themes/redwood/oj-module.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/module/themes/stable/oj-module.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/n-box/themes/base/_oj-n-box.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/n-box/themes/redwood/_oj-n-box.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/n-box/themes/redwood/oj-n-box.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/n-box/themes/stable/_oj-n-box.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/n-box/themes/stable/oj-n-box.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/navigation-list/themes/base/_oj-navigation-list.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/navigation-list/themes/redwood/_oj-navigation-list-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/navigation-list/themes/redwood/_oj-navigation-list.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/navigation-list/themes/redwood/oj-navigation-list.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/navigation-list/themes/stable/_oj-navigation-list-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/navigation-list/themes/stable/_oj-navigation-list.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/navigation-list/themes/stable/oj-navigation-list.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/off-canvas/themes/base/_oj-off-canvas.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/off-canvas/themes/redwood/_oj-off-canvas.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/off-canvas/themes/redwood/oj-off-canvas.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/off-canvas/themes/stable/_oj-off-canvas.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/off-canvas/themes/stable/oj-off-canvas.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/optgroup/themes/base/_oj-optgroup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/optgroup/themes/redwood/oj-optgroup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/optgroup/themes/stable/oj-optgroup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/option/themes/base/_oj-option.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/option/themes/redwood/oj-option.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/option/themes/stable/oj-option.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/paging-control/themes/base/_oj-paging-control.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/paging-control/themes/redwood/_oj-paging-control.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/paging-control/themes/redwood/oj-paging-control.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/paging-control/themes/stable/_oj-paging-control.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/paging-control/themes/stable/oj-paging-control.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/palette/themes/redwood/_oj-palette-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/palette/themes/redwood/_oj-palette.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/palette/themes/stable/_oj-palette.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/panel/themes/base/_oj-panel.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/panel/themes/redwood/_oj-panel-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/panel/themes/redwood/_oj-panel.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/panel/themes/redwood/oj-panel.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/panel/themes/stable/_oj-panel.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/panel/themes/stable/oj-panel.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/picto-chart/themes/base/_oj-picto-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/picto-chart/themes/redwood/_oj-picto-chart.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/picto-chart/themes/redwood/oj-picto-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/picto-chart/themes/stable/_oj-picto-chart.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/picto-chart/themes/stable/oj-picto-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/base/_oj-layer.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/base/_oj-popup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/redwood/_oj-layer.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/redwood/_oj-popup.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/redwood/oj-popup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/stable/_oj-layer.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/stable/_oj-popup.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/popup/themes/stable/oj-popup.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/base/_oj-progress-bar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/redwood/_oj-progress-bar-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/redwood/_oj-progress-bar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/redwood/_oj-progress-bar.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/redwood/oj-progress-bar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/stable/_oj-progress-bar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/stable/_oj-progress-bar.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-bar/themes/stable/oj-progress-bar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/base/_oj-progress-circle.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/redwood/_oj-progress-circle-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/redwood/_oj-progress-circle.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/redwood/_oj-progress-circle.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/redwood/oj-progress-circle.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/stable/_oj-progress-circle.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/stable/_oj-progress-circle.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/progress-circle/themes/stable/oj-progress-circle.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radio-checkbox/themes/base/_oj-radiocheckbox.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radio-checkbox/themes/redwood/_oj-radiocheckbox-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radio-checkbox/themes/redwood/_oj-radiocheckbox.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radio-checkbox/themes/redwood/_oj-radiocheckbox.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radio-checkbox/themes/stable/_oj-radiocheckbox.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radio-checkbox/themes/stable/_oj-radiocheckbox.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radioset/themes/redwood/_oj-radioset.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radioset/themes/redwood/oj-radioset.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radioset/themes/stable/_oj-radioset.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/radioset/themes/stable/oj-radioset.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rangeslider/themes/redwood/_oj-rangeslider.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rangeslider/themes/redwood/oj-rangeslider.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rangeslider/themes/stable/_oj-rangeslider.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rangeslider/themes/stable/oj-rangeslider.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rating-gauge/themes/base/_oj-rating-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rating-gauge/themes/redwood/_oj-rating-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rating-gauge/themes/redwood/oj-rating-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rating-gauge/themes/stable/_oj-rating-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/rating-gauge/themes/stable/oj-rating-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/refresher/themes/base/_oj-refresher.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/refresher/themes/redwood/_oj-refresher.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/refresher/themes/redwood/_oj-refresher.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/refresher/themes/redwood/oj-refresher.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/refresher/themes/stable/_oj-refresher.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/refresher/themes/stable/_oj-refresher.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/refresher/themes/stable/oj-refresher.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/resizable/themes/base/_oj-resizable.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/resizable/themes/redwood/_oj-resizable.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/resizable/themes/stable/_oj-resizable.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/row-expander/themes/base/_oj-row-expander.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/row-expander/themes/redwood/_oj-row-expander.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/row-expander/themes/redwood/oj-row-expander.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/row-expander/themes/stable/_oj-row-expander.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/row-expander/themes/stable/oj-row-expander.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/scrollbar/themes/base/_oj-scrollbar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/scrollbar/themes/redwood/_oj-scrollbar-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/scrollbar/themes/redwood/_oj-scrollbar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/scrollbar/themes/redwood/_oj-scrollbar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/scrollbar/themes/stable/_oj-scrollbar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/scrollbar/themes/stable/_oj-scrollbar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select/themes/base/_oj-select.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select/themes/redwood/_oj-select.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select/themes/redwood/_oj-select.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select/themes/stable/_oj-select.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select/themes/stable/_oj-select.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-many/themes/redwood/oj-select-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-many/themes/stable/oj-select-many.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-one/themes/redwood/oj-select-one.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-original/themes/base/_oj-select-original.scss +5 -5
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-original/themes/redwood/_oj-select-original.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-original/themes/redwood/_oj-select-original.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-original/themes/stable/_oj-select-original.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-original/themes/stable/_oj-select-original.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-single/themes/base/_oj-select-single.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-single/themes/redwood/oj-select-single.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/select-single/themes/stable/oj-select-single.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/selector/themes/base/_oj-selector.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/selector/themes/redwood/_oj-selector.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/selector/themes/redwood/oj-selector.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/selector/themes/stable/_oj-selector.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/selector/themes/stable/oj-selector.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/slider/themes/base/_oj-slider.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/slider/themes/redwood/_oj-slider.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/slider/themes/redwood/oj-slider.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/slider/themes/stable/_oj-slider.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/slider/themes/stable/oj-slider.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/spark-chart/themes/base/_oj-spark-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/spark-chart/themes/redwood/oj-spark-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/spark-chart/themes/stable/oj-spark-chart.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/status-meter-gauge/themes/base/_oj-status-meter-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/status-meter-gauge/themes/redwood/_oj-status-meter-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/status-meter-gauge/themes/redwood/oj-status-meter-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/status-meter-gauge/themes/stable/_oj-status-meter-gauge.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/status-meter-gauge/themes/stable/oj-status-meter-gauge.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/stream-list/themes/base/_oj-stream-list.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/stream-list/themes/redwood/_oj-stream-list.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/stream-list/themes/redwood/_oj-stream-list.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/stream-list/themes/redwood/oj-stream-list.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/stream-list/themes/stable/_oj-stream-list.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/stream-list/themes/stable/_oj-stream-list.servervars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/stream-list/themes/stable/oj-stream-list.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/sunburst/themes/base/_oj-sunburst.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/sunburst/themes/redwood/_oj-sunburst.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/sunburst/themes/redwood/oj-sunburst.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/sunburst/themes/stable/_oj-sunburst.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/sunburst/themes/stable/oj-sunburst.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/swipe-actions/themes/base/_oj-swipe-actions.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/swipe-actions/themes/redwood/_oj-swipe-actions.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/swipe-actions/themes/redwood/oj-swipe-actions.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/swipe-actions/themes/stable/_oj-swipe-actions.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/swipe-actions/themes/stable/oj-swipe-actions.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switch/themes/base/_oj-switch.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switch/themes/redwood/_oj-switch.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switch/themes/redwood/oj-switch.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switch/themes/stable/_oj-switch.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switch/themes/stable/oj-switch.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switcher/themes/base/_oj-switcher.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switcher/themes/redwood/oj-switcher.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/switcher/themes/stable/oj-switcher.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tab-bar/themes/base/_oj-tab-bar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tab-bar/themes/redwood/_oj-tab-bar-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tab-bar/themes/redwood/_oj-tab-bar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tab-bar/themes/redwood/oj-tab-bar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tab-bar/themes/stable/_oj-tab-bar-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tab-bar/themes/stable/_oj-tab-bar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tab-bar/themes/stable/oj-tab-bar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/table/themes/base/_oj-table.scss +12 -1
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/table/themes/redwood/_oj-table.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/table/themes/redwood/oj-table.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/table/themes/stable/_oj-table.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/table/themes/stable/oj-table.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tag-cloud/themes/base/_oj-tag-cloud.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tag-cloud/themes/redwood/_oj-tag-cloud.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tag-cloud/themes/redwood/oj-tag-cloud.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tag-cloud/themes/stable/_oj-tag-cloud.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tag-cloud/themes/stable/oj-tag-cloud.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/base/_oj-notags.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/base/_oj-tags.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/redwood/_oj-tags-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/redwood/_oj-tags.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/redwood/oj-notags.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/redwood/oj-tags.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/stable/_oj-tags.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/stable/oj-notags.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tags/themes/stable/oj-tags.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-area/themes/base/_oj-text-area.scss +2 -2
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-area/themes/redwood/_oj-text-area.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-area/themes/redwood/oj-text-area.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-area/themes/stable/_oj-text-area.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-area/themes/stable/oj-text-area.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-field/themes/base/_oj-text-field.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-field/themes/redwood/_oj-text-field-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-field/themes/redwood/_oj-text-field.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/text-field/themes/stable/_oj-text-field.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/thematic-map/themes/base/_oj-thematic-map.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/thematic-map/themes/redwood/_oj-thematic-map.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/thematic-map/themes/redwood/oj-thematic-map.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/thematic-map/themes/stable/_oj-thematic-map.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/thematic-map/themes/stable/oj-thematic-map.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/time-axis/themes/base/_oj-time-axis.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/time-axis/themes/redwood/_oj-time-axis.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/time-axis/themes/redwood/oj-time-axis.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/time-axis/themes/stable/_oj-time-axis.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/time-axis/themes/stable/oj-time-axis.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/timeline/themes/base/_oj-timeline.scss +15 -7
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/timeline/themes/redwood/_oj-timeline.cssvars.scss +8 -5
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/timeline/themes/redwood/oj-timeline.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/timeline/themes/stable/_oj-timeline.cssvars.scss +5 -2
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/timeline/themes/stable/oj-timeline.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/toolbar/themes/base/_oj-toolbar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/toolbar/themes/redwood/_oj-toolbar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/toolbar/themes/redwood/oj-toolbar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/toolbar/themes/stable/_oj-toolbar.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/toolbar/themes/stable/oj-toolbar.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tooltip/themes/base/_oj-tooltip.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tooltip/themes/redwood/_oj-tooltip.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tooltip/themes/redwood/oj-tooltip.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tooltip/themes/stable/_oj-tooltip.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tooltip/themes/stable/oj-tooltip.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/train/themes/base/_oj-train.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/train/themes/redwood/_oj-train.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/train/themes/redwood/oj-train.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/train/themes/stable/_oj-train.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/train/themes/stable/oj-train.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tree-view/themes/base/_oj-tree-view.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tree-view/themes/redwood/_oj-tree-view.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tree-view/themes/redwood/oj-tree-view.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tree-view/themes/stable/_oj-tree-view.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/tree-view/themes/stable/oj-tree-view.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/treemap/themes/base/_oj-treemap.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/treemap/themes/redwood/_oj-treemap.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/treemap/themes/redwood/oj-treemap.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/treemap/themes/stable/_oj-treemap.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/treemap/themes/stable/oj-treemap.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/typography/themes/base/_oj-typography.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/typography/themes/redwood/_oj-typography-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/typography/themes/redwood/_oj-typography.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/typography/themes/redwood/oj-typography.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/typography/themes/stable/_oj-typography-scoped.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/typography/themes/stable/_oj-typography.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/typography/themes/stable/oj-typography.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/utilities/_oj.utilities.bidi.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/utilities/_oj.utilities.icons.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/utilities/_oj.utilities.json.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/utilities/_oj.utilities.masonrylayout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/utilities/_oj.utilities.modules.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/validation-group/themes/base/_oj-validation-group.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/validation-group/themes/redwood/oj-validation-group.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/validation-group/themes/stable/oj-validation-group.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/waterfall-layout/themes/base/_oj-waterfall-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/waterfall-layout/themes/redwood/_oj-waterfall-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/waterfall-layout/themes/redwood/oj-waterfall-layout.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/waterfall-layout/themes/stable/_oj-waterfall-layout.cssvars.scss +0 -0
- package/dist/pcss/oj/{v11.0.6 → v11.1.1}/oj/waterfall-layout/themes/stable/oj-waterfall-layout.scss +0 -0
- package/dist/scss/alta/_oj.alta.reset.deprecated.vars.scss +0 -1
- package/dist/scss/alta/_oj.alta.settings.scss +0 -1
- package/dist/scss/alta-android/_oj.alta.android.reset.deprecated.vars.scss +0 -1
- package/dist/scss/alta-android/_oj.alta.android.settings.scss +0 -1
- package/dist/scss/alta-ios/_oj.alta.ios.reset.deprecated.vars.scss +0 -1
- package/dist/scss/alta-ios/_oj.alta.ios.settings.scss +0 -1
- package/dist/scss/alta-windows/_oj.alta.windows.reset.deprecated.vars.scss +0 -1
- package/dist/scss/alta-windows/_oj.alta.windows.settings.scss +0 -1
- package/dist/scss/common/_oj.common.variables.scss +0 -1
- package/dist/scss/common/helpers/_oj.common.helpers.scss +1 -1
- package/dist/scss/common/widgets/_oj.common.dvt.gantt.scss +3 -5
- package/dist/scss/common/widgets/_oj.common.dvt.timeline.scss +1 -1
- package/dist/scss/common/widgets/_oj.common.table.scss +2 -2
- package/dist/types/ojchart/index.d.ts +81 -81
- package/dist/types/ojconfig/index.d.ts +1 -1
- package/dist/types/ojdiagram/index.d.ts +30 -30
- package/dist/types/ojdrawerlayout/ojdrawerlayout.d.ts +1 -1
- package/dist/types/ojdrawerpopup/ojdrawerpopup.d.ts +2 -0
- package/dist/types/ojdvttimecomponentscale/index.d.ts +1 -0
- package/dist/types/ojgantt/index.d.ts +34 -34
- package/dist/types/ojgauge/index.d.ts +22 -22
- package/dist/types/ojinputsearch/ojinputsearch.d.ts +2 -0
- package/dist/types/ojlegend/index.d.ts +19 -19
- package/dist/types/ojnbox/index.d.ts +44 -44
- package/dist/types/ojpictochart/index.d.ts +4 -4
- package/dist/types/ojrestdataprovider/index.d.ts +2 -1
- package/dist/types/ojresttreedataprovider/index.d.ts +93 -0
- package/dist/types/ojsunburst/index.d.ts +8 -8
- package/dist/types/ojtable/index.d.ts +8 -0
- package/dist/types/ojtagcloud/index.d.ts +6 -6
- package/dist/types/ojthematicmap/index.d.ts +24 -24
- package/dist/types/ojtimeline/index.d.ts +55 -29
- package/dist/types/ojtracer/index.d.ts +3 -0
- package/dist/types/ojtreemap/index.d.ts +13 -13
- package/dist/webpack-tools/4.x/webpack.config.js +3 -3
- package/dist/webpack-tools/webpack.config.js +3 -3
- package/package.json +1 -1
|
@@ -21,6 +21,30 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
21
21
|
|
|
22
22
|
dvt.Obj.createSubclass(DvtTimelineKeyboardHandler, ojdvtTimecomponent.TimeComponentKeyboardHandler);
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* @override
|
|
26
|
+
*/
|
|
27
|
+
DvtTimelineKeyboardHandler.prototype.processKeyDown = function(event)
|
|
28
|
+
{
|
|
29
|
+
if (this._eventManager._component.isDiscreteNavigationMode()) {
|
|
30
|
+
if (event.keyCode && (event.keyCode == dvt.KeyboardEvent.SPACE) || (event.keyCode == dvt.KeyboardEvent.ENTER)){
|
|
31
|
+
return this._eventManager.handleArrowPress(event);
|
|
32
|
+
} else if (dvt.KeyboardEvent.isPlus(event) || dvt.KeyboardEvent.isEquals(event) ||
|
|
33
|
+
dvt.KeyboardEvent.isMinus(event) || dvt.KeyboardEvent.isUnderscore(event)) {
|
|
34
|
+
// block zooming and horizontal panning.
|
|
35
|
+
dvt.EventManager.consumeEvent(event);
|
|
36
|
+
} else if (event.keyCode === dvt.KeyboardEvent.PAGE_UP && event.shiftKey) {
|
|
37
|
+
this._eventManager.prevPage();
|
|
38
|
+
} else if (event.keyCode === dvt.KeyboardEvent.PAGE_DOWN && event.shiftKey) {
|
|
39
|
+
this._eventManager.nextPage();
|
|
40
|
+
} else {
|
|
41
|
+
return DvtTimelineKeyboardHandler.superclass.processKeyDown.call(this, event);
|
|
42
|
+
}
|
|
43
|
+
} else {
|
|
44
|
+
return DvtTimelineKeyboardHandler.superclass.processKeyDown.call(this, event);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
|
|
24
48
|
/**
|
|
25
49
|
* Finds the next navigable item based on direction.
|
|
26
50
|
* @param {DvtTimelineSeriesNode} currentNavigable The item with current focus.
|
|
@@ -78,10 +102,16 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
78
102
|
DvtTimelineKeyboardHandler.getNextItem = function(item, navigableItems, isNext)
|
|
79
103
|
{
|
|
80
104
|
var nextIndex = navigableItems.indexOf(item) + (isNext ? 1 : -1);
|
|
81
|
-
if (nextIndex >= 0 && nextIndex < navigableItems.length)
|
|
105
|
+
if (nextIndex >= 0 && nextIndex < navigableItems.length) {
|
|
82
106
|
return navigableItems[nextIndex];
|
|
83
|
-
|
|
107
|
+
/* Remove keyboard nav arrow navigation
|
|
108
|
+
} else if (nextIndex === -1 && item._timeline.isDiscreteNavigationMode()){
|
|
109
|
+
// go back to next arrow if already at first item before
|
|
110
|
+
return item._timeline._nextArrow;
|
|
111
|
+
*/
|
|
112
|
+
} else {
|
|
84
113
|
return null;
|
|
114
|
+
}
|
|
85
115
|
};
|
|
86
116
|
|
|
87
117
|
/**
|
|
@@ -356,6 +386,11 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
356
386
|
|
|
357
387
|
dvt.Obj.createSubclass(DvtTimelineSeriesNode, dvt.Obj);
|
|
358
388
|
|
|
389
|
+
// item-type defs
|
|
390
|
+
DvtTimelineSeriesNode.DURATION_EVENT = 'duration-event';
|
|
391
|
+
DvtTimelineSeriesNode.DURATION_BAR = 'duration-bar';
|
|
392
|
+
DvtTimelineSeriesNode.EVENT = 'event';
|
|
393
|
+
DvtTimelineSeriesNode.AUTO = 'auto';
|
|
359
394
|
|
|
360
395
|
/**
|
|
361
396
|
* @param {object} props The properties for the node.
|
|
@@ -488,6 +523,16 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
488
523
|
this._displayable = displayable;
|
|
489
524
|
};
|
|
490
525
|
|
|
526
|
+
DvtTimelineSeriesNode.prototype.getContentBubble = function()
|
|
527
|
+
{
|
|
528
|
+
return this._displayableContent;
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
DvtTimelineSeriesNode.prototype.setContentBubble = function(displayableContent)
|
|
532
|
+
{
|
|
533
|
+
this._displayableContent = displayableContent;
|
|
534
|
+
};
|
|
535
|
+
|
|
491
536
|
DvtTimelineSeriesNode.prototype.getFeeler = function()
|
|
492
537
|
{
|
|
493
538
|
return this._feeler;
|
|
@@ -528,6 +573,16 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
528
573
|
this._spacing = spacing;
|
|
529
574
|
};
|
|
530
575
|
|
|
576
|
+
DvtTimelineSeriesNode.prototype.getEndViewportCollision = function()
|
|
577
|
+
{
|
|
578
|
+
return this._endViewportCollision;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
DvtTimelineSeriesNode.prototype.setEndViewportCollision = function(endViewportCollision)
|
|
582
|
+
{
|
|
583
|
+
this._endViewportCollision = endViewportCollision;
|
|
584
|
+
};
|
|
585
|
+
|
|
531
586
|
DvtTimelineSeriesNode.prototype.getDurationLevel = function()
|
|
532
587
|
{
|
|
533
588
|
return this._durationLevel;
|
|
@@ -592,6 +647,26 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
592
647
|
this._w = w;
|
|
593
648
|
};
|
|
594
649
|
|
|
650
|
+
DvtTimelineSeriesNode.prototype.getContentWidth = function()
|
|
651
|
+
{
|
|
652
|
+
return this._cw;
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
DvtTimelineSeriesNode.prototype.setContentWidth = function(cw)
|
|
656
|
+
{
|
|
657
|
+
this._cw = cw;
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
DvtTimelineSeriesNode.prototype.getDurationWidth = function()
|
|
661
|
+
{
|
|
662
|
+
return this._dw;
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
DvtTimelineSeriesNode.prototype.setDurationWidth = function(dw)
|
|
666
|
+
{
|
|
667
|
+
this._dw = dw;
|
|
668
|
+
};
|
|
669
|
+
|
|
595
670
|
DvtTimelineSeriesNode.prototype.getHeight = function()
|
|
596
671
|
{
|
|
597
672
|
return this._h;
|
|
@@ -778,6 +853,41 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
778
853
|
return this._data;
|
|
779
854
|
};
|
|
780
855
|
|
|
856
|
+
/**
|
|
857
|
+
* Gets the item type associated with this series node
|
|
858
|
+
* event: item bubble using only the start date
|
|
859
|
+
* duration-bar: item bubble with a bar on the time-axis that matches the duration of the event using the start/end dates
|
|
860
|
+
* duration-event: item bubble with width equal to the duration and edges of the event matching the start/end date (only available on horizontal timeline)
|
|
861
|
+
* auto (default behavior): event item-type if end date not specified, duration-bar if end date specified.
|
|
862
|
+
*
|
|
863
|
+
* @return {string} The string value of the item type
|
|
864
|
+
*/
|
|
865
|
+
DvtTimelineSeriesNode.prototype.getItemType = function()
|
|
866
|
+
{
|
|
867
|
+
var itemType = this._data.itemType;
|
|
868
|
+
|
|
869
|
+
// Default to auto if not specified
|
|
870
|
+
if (!itemType || itemType === DvtTimelineSeriesNode.AUTO) {
|
|
871
|
+
if (!this._endTime) {
|
|
872
|
+
// no end time so use event
|
|
873
|
+
return DvtTimelineSeriesNode.EVENT;
|
|
874
|
+
} else {
|
|
875
|
+
return DvtTimelineSeriesNode.DURATION_BAR;
|
|
876
|
+
}
|
|
877
|
+
} else {
|
|
878
|
+
if (!this._endTime) {
|
|
879
|
+
// if no end time, just use event
|
|
880
|
+
return DvtTimelineSeriesNode.EVENT;
|
|
881
|
+
}
|
|
882
|
+
if (itemType !== DvtTimelineSeriesNode.EVENT && (this._series.isVertical() || this._timeline.getCtx().getThemeBehavior() === 'alta')) {
|
|
883
|
+
// duration-event not supported in vertical mode or alta
|
|
884
|
+
return DvtTimelineSeriesNode.DURATION_BAR;
|
|
885
|
+
} else {
|
|
886
|
+
return itemType;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
};
|
|
890
|
+
|
|
781
891
|
/**
|
|
782
892
|
* Gets the context to be passed into custom renderer callbacks
|
|
783
893
|
* @return {object} The renderer context
|
|
@@ -805,6 +915,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
805
915
|
var data = this.getData();
|
|
806
916
|
var itemData = data['_itemData'];
|
|
807
917
|
return {
|
|
918
|
+
'itemType': this.getItemType(),
|
|
808
919
|
'data': this.getData(true),
|
|
809
920
|
'seriesData': this._series.getData(true),
|
|
810
921
|
'itemData': itemData ? itemData : null,
|
|
@@ -1073,207 +1184,6 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
1073
1184
|
};
|
|
1074
1185
|
};
|
|
1075
1186
|
|
|
1076
|
-
/**
|
|
1077
|
-
* Timeline event manager.
|
|
1078
|
-
* @param {Timeline} timeline The owning Timeline.
|
|
1079
|
-
* @extends {TimeComponentEventManager}
|
|
1080
|
-
* @constructor
|
|
1081
|
-
*/
|
|
1082
|
-
var DvtTimelineEventManager = function(timeline)
|
|
1083
|
-
{
|
|
1084
|
-
DvtTimelineEventManager.superclass.constructor.call(this, timeline);
|
|
1085
|
-
};
|
|
1086
|
-
|
|
1087
|
-
dvt.Obj.createSubclass(DvtTimelineEventManager, ojdvtTimecomponent.TimeComponentEventManager);
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* @override
|
|
1091
|
-
*/
|
|
1092
|
-
DvtTimelineEventManager.prototype.addListeners = function(displayable)
|
|
1093
|
-
{
|
|
1094
|
-
DvtTimelineEventManager.superclass.addListeners.call(this, displayable);
|
|
1095
|
-
if (!dvt.Agent.isTouchDevice())
|
|
1096
|
-
{
|
|
1097
|
-
// IE does not always fire the appropriate mouseover and mouseout events, so use mouseenter instead
|
|
1098
|
-
if ((dvt.Agent.browser === 'ie' || dvt.Agent.browser === 'edge'))
|
|
1099
|
-
{
|
|
1100
|
-
var stage = this.getCtx().getStage();
|
|
1101
|
-
stage.addEvtListener('mouseenter', this.OnMouseEnter, false, this);
|
|
1102
|
-
stage.addEvtListener('mouseleave', this.OnMouseLeave, false, this);
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
};
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* @override
|
|
1109
|
-
*/
|
|
1110
|
-
DvtTimelineEventManager.prototype.RemoveListeners = function(displayable)
|
|
1111
|
-
{
|
|
1112
|
-
DvtTimelineEventManager.superclass.RemoveListeners.call(this, displayable);
|
|
1113
|
-
if (!dvt.Agent.isTouchDevice())
|
|
1114
|
-
{
|
|
1115
|
-
// IE does not always fire the appropriate mouseover and mouseout events, so use mouseenter instead
|
|
1116
|
-
if ((dvt.Agent.browser === 'ie' || dvt.Agent.browser === 'edge'))
|
|
1117
|
-
{
|
|
1118
|
-
var stage = this.getCtx().getStage();
|
|
1119
|
-
stage.removeEvtListener('mouseenter', this.OnMouseEnter, false, this);
|
|
1120
|
-
stage.removeEvtListener('mouseleave', this.OnMouseLeave, false, this);
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
};
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* @override
|
|
1127
|
-
*/
|
|
1128
|
-
DvtTimelineEventManager.prototype.PreOnMouseOver = function(event)
|
|
1129
|
-
{
|
|
1130
|
-
if (this._mouseOutTimer && this._mouseOutTimer.isRunning())
|
|
1131
|
-
this._mouseOutTimer.stop();
|
|
1132
|
-
DvtTimelineEventManager.superclass.PreOnMouseOver.call(this, event);
|
|
1133
|
-
|
|
1134
|
-
if (dvt.Agent.browser !== 'ie' && dvt.Agent.browser !== 'edge' && !this.isMouseOver)
|
|
1135
|
-
this.isMouseOver = true;
|
|
1136
|
-
};
|
|
1137
|
-
|
|
1138
|
-
/**
|
|
1139
|
-
* Handler for the mouseenter event.
|
|
1140
|
-
* @param {dvt.MouseEvent} event The mouseenter event.
|
|
1141
|
-
*/
|
|
1142
|
-
DvtTimelineEventManager.prototype.OnMouseEnter = function(event)
|
|
1143
|
-
{
|
|
1144
|
-
if (this._mouseOutTimer && this._mouseOutTimer.isRunning())
|
|
1145
|
-
this._mouseOutTimer.stop();
|
|
1146
|
-
|
|
1147
|
-
if (!this.isMouseOver)
|
|
1148
|
-
this.isMouseOver = true;
|
|
1149
|
-
};
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* Handler for the mouseleave event.
|
|
1153
|
-
* @param {dvt.MouseEvent} event The mouseleave event.
|
|
1154
|
-
*/
|
|
1155
|
-
DvtTimelineEventManager.prototype.OnMouseLeave = function(event)
|
|
1156
|
-
{
|
|
1157
|
-
if (!this._mouseOutTimer)
|
|
1158
|
-
this._mouseOutTimer = new dvt.Timer(this.getCtx(), 10, this._onMouseOutTimerEnd, this, 1);
|
|
1159
|
-
|
|
1160
|
-
this._mouseOutTimer.reset();
|
|
1161
|
-
this._mouseOutTimer.start();
|
|
1162
|
-
};
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* @override
|
|
1166
|
-
*/
|
|
1167
|
-
DvtTimelineEventManager.prototype.PreOnMouseOut = function(event)
|
|
1168
|
-
{
|
|
1169
|
-
DvtTimelineEventManager.superclass.PreOnMouseOut.call(this, event);
|
|
1170
|
-
if (dvt.Agent.browser !== 'ie' && dvt.Agent.browser !== 'edge')
|
|
1171
|
-
{
|
|
1172
|
-
if (!this._mouseOutTimer)
|
|
1173
|
-
this._mouseOutTimer = new dvt.Timer(this.getCtx(), 10, this._onMouseOutTimerEnd, this, 1);
|
|
1174
|
-
|
|
1175
|
-
this._mouseOutTimer.reset();
|
|
1176
|
-
this._mouseOutTimer.start();
|
|
1177
|
-
}
|
|
1178
|
-
};
|
|
1179
|
-
|
|
1180
|
-
/**
|
|
1181
|
-
* Mouse out timer callback function.
|
|
1182
|
-
* @private
|
|
1183
|
-
*/
|
|
1184
|
-
DvtTimelineEventManager.prototype._onMouseOutTimerEnd = function()
|
|
1185
|
-
{
|
|
1186
|
-
this.isMouseOver = false;
|
|
1187
|
-
};
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* Pans by the specified amount.
|
|
1191
|
-
* @param {number} dx A number from specifying the pan ratio in the x direction, e.g. dx = 0.5 means pan end by 50%..
|
|
1192
|
-
* @param {number} dy A number from specifying the pan ratio in the y direction, e.g. dy = 0.5 means pan down by 50%.
|
|
1193
|
-
*/
|
|
1194
|
-
DvtTimelineEventManager.prototype.panBy = function(dx, dy)
|
|
1195
|
-
{
|
|
1196
|
-
var focusObj = this.getFocus();
|
|
1197
|
-
if (focusObj)
|
|
1198
|
-
this._comp._dragPanSeries = focusObj._series;
|
|
1199
|
-
|
|
1200
|
-
DvtTimelineEventManager.superclass.panBy.call(this, dx, dy);
|
|
1201
|
-
};
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* Timeline JSON Parser
|
|
1205
|
-
* @class
|
|
1206
|
-
* @constructor
|
|
1207
|
-
* @extends {dvt.Obj}
|
|
1208
|
-
*/
|
|
1209
|
-
var DvtTimelineParser = function() {
|
|
1210
|
-
|
|
1211
|
-
};
|
|
1212
|
-
|
|
1213
|
-
dvt.Obj.createSubclass(DvtTimelineParser, dvt.Obj);
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* Parses the specified data options and returns the root node of the timeline
|
|
1217
|
-
* @param {object} options The data options describing the component.
|
|
1218
|
-
* @return {object} An object containing the parsed properties
|
|
1219
|
-
*/
|
|
1220
|
-
DvtTimelineParser.prototype.parse = function(options)
|
|
1221
|
-
{
|
|
1222
|
-
var ret = new Object();
|
|
1223
|
-
ret.start = new Date(options['start']).getTime();
|
|
1224
|
-
ret.end = new Date(options['end']).getTime();
|
|
1225
|
-
|
|
1226
|
-
if (options['viewportStart'])
|
|
1227
|
-
ret.viewStart = new Date(options['viewportStart']).getTime();
|
|
1228
|
-
if (options['viewportEnd'])
|
|
1229
|
-
ret.viewEnd = new Date(options['viewportEnd']).getTime();
|
|
1230
|
-
if (options['selectionMode'])
|
|
1231
|
-
ret.selectionMode = options['selectionMode'];
|
|
1232
|
-
else
|
|
1233
|
-
ret.selectionMode = 'none';
|
|
1234
|
-
ret.inlineStyle = options['style'];
|
|
1235
|
-
if (options['svgStyle'])
|
|
1236
|
-
ret.inlineStyle = options['svgStyle'];
|
|
1237
|
-
|
|
1238
|
-
var minorAxis = options['minorAxis'];
|
|
1239
|
-
if (minorAxis)
|
|
1240
|
-
{
|
|
1241
|
-
var scale = minorAxis['scale'];
|
|
1242
|
-
ret.scale = scale;
|
|
1243
|
-
ret.customFormatScales = minorAxis['_cfs'];
|
|
1244
|
-
}
|
|
1245
|
-
var majorAxis = options['majorAxis'];
|
|
1246
|
-
if (majorAxis)
|
|
1247
|
-
{
|
|
1248
|
-
ret.seriesScale = majorAxis['scale'];
|
|
1249
|
-
ret.seriesConverter = majorAxis['converter'];
|
|
1250
|
-
ret.seriesCustomFormatScales = majorAxis['_cfs'];
|
|
1251
|
-
}
|
|
1252
|
-
ret.shortDesc = options['shortDesc'];
|
|
1253
|
-
ret.orientation = options['orientation'];
|
|
1254
|
-
var referenceObjects = options['referenceObjects'];
|
|
1255
|
-
if (referenceObjects && referenceObjects.length > 0)
|
|
1256
|
-
{
|
|
1257
|
-
var referenceObjectsValueArray = [];
|
|
1258
|
-
for (var i = 0; i < referenceObjects.length; i++)
|
|
1259
|
-
{
|
|
1260
|
-
referenceObjectsValueArray.push(new Date(referenceObjects[i]['value']));
|
|
1261
|
-
}
|
|
1262
|
-
ret.referenceObjects = referenceObjectsValueArray;
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
var overview = options['overview'];
|
|
1266
|
-
if (overview != null && overview['rendered'] === 'on')
|
|
1267
|
-
ret.hasOverview = true;
|
|
1268
|
-
else
|
|
1269
|
-
ret.hasOverview = false;
|
|
1270
|
-
|
|
1271
|
-
ret.itemPosition = options['_ip'];
|
|
1272
|
-
ret.customTimeScales = options['_cts'];
|
|
1273
|
-
|
|
1274
|
-
return ret;
|
|
1275
|
-
};
|
|
1276
|
-
|
|
1277
1187
|
/**
|
|
1278
1188
|
* Default values and utility functions for component versioning.
|
|
1279
1189
|
* @class
|
|
@@ -2960,18 +2870,39 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
2960
2870
|
DvtTimelineStyleUtils._DEFAULT_SERIES_AXIS_LABEL_PADDING = 1;
|
|
2961
2871
|
|
|
2962
2872
|
/**
|
|
2963
|
-
* The default
|
|
2873
|
+
* The default duration event width
|
|
2964
2874
|
* @const
|
|
2965
2875
|
* @private
|
|
2966
2876
|
*/
|
|
2967
|
-
DvtTimelineStyleUtils.
|
|
2877
|
+
DvtTimelineStyleUtils._DEFAULT_DURATION_EVENT_WIDTH = 8;
|
|
2968
2878
|
|
|
2969
2879
|
/**
|
|
2970
|
-
* The default Overview
|
|
2880
|
+
* The default Overview width.
|
|
2971
2881
|
* @const
|
|
2972
2882
|
* @private
|
|
2973
2883
|
*/
|
|
2974
|
-
DvtTimelineStyleUtils.
|
|
2884
|
+
DvtTimelineStyleUtils._DEFAULT_OVERVIEW_WIDTH = 60;
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* The default nav button background width.
|
|
2888
|
+
* @const
|
|
2889
|
+
* @private
|
|
2890
|
+
*/
|
|
2891
|
+
DvtTimelineStyleUtils._DEFAULT_NAV_BUTTON_BACKGROUND_WIDTH = 60;
|
|
2892
|
+
|
|
2893
|
+
/**
|
|
2894
|
+
* The default nav button width.
|
|
2895
|
+
* @const
|
|
2896
|
+
* @private
|
|
2897
|
+
*/
|
|
2898
|
+
DvtTimelineStyleUtils._DEFAULT_NAV_BUTTON_WIDTH = 36;
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* The default Overview height.
|
|
2902
|
+
* @const
|
|
2903
|
+
* @private
|
|
2904
|
+
*/
|
|
2905
|
+
DvtTimelineStyleUtils._DEFAULT_OVERVIEW_HEIGHT = 100;
|
|
2975
2906
|
|
|
2976
2907
|
/**
|
|
2977
2908
|
* The default Item enabled stroke width.
|
|
@@ -3029,6 +2960,20 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3029
2960
|
*/
|
|
3030
2961
|
DvtTimelineStyleUtils._DEFAULT_BUBBLE_OFFSET = 20;
|
|
3031
2962
|
|
|
2963
|
+
/**
|
|
2964
|
+
* The default content bubble arrow size.
|
|
2965
|
+
* @const
|
|
2966
|
+
* @private
|
|
2967
|
+
*/
|
|
2968
|
+
DvtTimelineStyleUtils._DEFAULT_CONTENT_BUBBLE_ARROW = 7.5;
|
|
2969
|
+
|
|
2970
|
+
/**
|
|
2971
|
+
* The default content bubble arrow size.
|
|
2972
|
+
* @const
|
|
2973
|
+
* @private
|
|
2974
|
+
*/
|
|
2975
|
+
DvtTimelineStyleUtils._DEFAULT_CONTENT_BUBBLE_SPACING = 15.5;
|
|
2976
|
+
|
|
3032
2977
|
/**
|
|
3033
2978
|
* The default Item bubble spacing.
|
|
3034
2979
|
* @const
|
|
@@ -3085,6 +3030,20 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3085
3030
|
*/
|
|
3086
3031
|
DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_SPACING = 9;
|
|
3087
3032
|
|
|
3033
|
+
/**
|
|
3034
|
+
* The default navigation arrow width.
|
|
3035
|
+
* @const
|
|
3036
|
+
* @private
|
|
3037
|
+
*/
|
|
3038
|
+
DvtTimelineStyleUtils._DEFAULT_NAVIGATION_ARROW_WIDTH = 32;
|
|
3039
|
+
|
|
3040
|
+
/**
|
|
3041
|
+
* The default navigation arrow padding.
|
|
3042
|
+
* @const
|
|
3043
|
+
* @private
|
|
3044
|
+
*/
|
|
3045
|
+
DvtTimelineStyleUtils._DEFAULT_NAVIGATION_ARROW_PADDING = 8;
|
|
3046
|
+
|
|
3088
3047
|
/**
|
|
3089
3048
|
* Gets the item description style.
|
|
3090
3049
|
* @param {DvtTimelineSeriesNode} item The item to be styled.
|
|
@@ -3207,6 +3166,26 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3207
3166
|
return DvtTimelineStyleUtils._DEFAULT_BUBBLE_SPACING;
|
|
3208
3167
|
};
|
|
3209
3168
|
|
|
3169
|
+
/**
|
|
3170
|
+
* Gets the item bubble padding.
|
|
3171
|
+
* @param {object} options The object containing data and specifications for the component.
|
|
3172
|
+
* @return {number} The bubble padding.
|
|
3173
|
+
*/
|
|
3174
|
+
DvtTimelineStyleUtils.getBubblePadding = function(options)
|
|
3175
|
+
{
|
|
3176
|
+
return DvtTimelineStyleUtils.getNumberFromString(options['styleDefaults']['item']['padding']);
|
|
3177
|
+
};
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* Gets the item bubble margin.
|
|
3181
|
+
* @param {object} options The object containing data and specifications for the component.
|
|
3182
|
+
* @return {number} The bubble margin.
|
|
3183
|
+
*/
|
|
3184
|
+
DvtTimelineStyleUtils.getBubbleRadius = function(options)
|
|
3185
|
+
{
|
|
3186
|
+
return DvtTimelineStyleUtils.getNumberFromString(options['styleDefaults']['item']['borderRadius']);
|
|
3187
|
+
};
|
|
3188
|
+
|
|
3210
3189
|
/**
|
|
3211
3190
|
* Gets the item content spacing.
|
|
3212
3191
|
* @return {number} The item content spacing.
|
|
@@ -3295,11 +3274,12 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3295
3274
|
|
|
3296
3275
|
/**
|
|
3297
3276
|
* Gets the item hover stroke width.
|
|
3277
|
+
* @param {object} options The object containing data and specifications for the component.
|
|
3298
3278
|
* @return {number} The item hover stroke width.
|
|
3299
3279
|
*/
|
|
3300
|
-
DvtTimelineStyleUtils.getItemHoverStrokeWidth = function()
|
|
3280
|
+
DvtTimelineStyleUtils.getItemHoverStrokeWidth = function(options)
|
|
3301
3281
|
{
|
|
3302
|
-
return DvtTimelineStyleUtils.
|
|
3282
|
+
return DvtTimelineStyleUtils.getNumberFromString(options['styleDefaults']['item']['hoverStrokeWidth']);
|
|
3303
3283
|
};
|
|
3304
3284
|
|
|
3305
3285
|
/**
|
|
@@ -3460,6 +3440,24 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3460
3440
|
return DvtTimelineStyleUtils._DEFAULT_OVERVIEW_HEIGHT;
|
|
3461
3441
|
};
|
|
3462
3442
|
|
|
3443
|
+
/**
|
|
3444
|
+
* Gets the fixed viewport navigation arrow width.
|
|
3445
|
+
* @return {number} The overview height.
|
|
3446
|
+
*/
|
|
3447
|
+
DvtTimelineStyleUtils.getNavigationArrowWidth = function()
|
|
3448
|
+
{
|
|
3449
|
+
return DvtTimelineStyleUtils._DEFAULT_NAVIGATION_ARROW_WIDTH;
|
|
3450
|
+
};
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* Gets the fixed viewport navigation arrow padding.
|
|
3454
|
+
* @return {number} The overview height.
|
|
3455
|
+
*/
|
|
3456
|
+
DvtTimelineStyleUtils.getNavigationArrowPadding = function()
|
|
3457
|
+
{
|
|
3458
|
+
return DvtTimelineStyleUtils._DEFAULT_NAVIGATION_ARROW_PADDING;
|
|
3459
|
+
};
|
|
3460
|
+
|
|
3463
3461
|
/**
|
|
3464
3462
|
* Gets the overview window background color.
|
|
3465
3463
|
* @param {object} options The object containing data and specifications for the component.
|
|
@@ -3571,6 +3569,199 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3571
3569
|
return style;
|
|
3572
3570
|
};
|
|
3573
3571
|
|
|
3572
|
+
/**
|
|
3573
|
+
* Returns a number parsed from the string css value
|
|
3574
|
+
* @param {string} cssString
|
|
3575
|
+
* @return {number} The parsed css number value or null if no string provided
|
|
3576
|
+
*/
|
|
3577
|
+
DvtTimelineStyleUtils.getNumberFromString = function(cssString)
|
|
3578
|
+
{
|
|
3579
|
+
if (cssString) {
|
|
3580
|
+
var numVal = cssString.match(/(\d+)/)[0];
|
|
3581
|
+
return numVal;
|
|
3582
|
+
}
|
|
3583
|
+
return null;
|
|
3584
|
+
};
|
|
3585
|
+
|
|
3586
|
+
/**
|
|
3587
|
+
* Returns min width for duration event bubble
|
|
3588
|
+
* @return {number} The minimum width of the duration event bubble
|
|
3589
|
+
*/
|
|
3590
|
+
DvtTimelineStyleUtils.getMinDurationEvent = function()
|
|
3591
|
+
{
|
|
3592
|
+
return DvtTimelineStyleUtils._DEFAULT_DURATION_EVENT_WIDTH;
|
|
3593
|
+
};
|
|
3594
|
+
|
|
3595
|
+
/**
|
|
3596
|
+
* Returns size for content bubble arrow
|
|
3597
|
+
* @return {number} The size of the content bubble arrow
|
|
3598
|
+
*/
|
|
3599
|
+
DvtTimelineStyleUtils.getContentBubbleArrow = function()
|
|
3600
|
+
{
|
|
3601
|
+
return DvtTimelineStyleUtils._DEFAULT_CONTENT_BUBBLE_ARROW;
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3604
|
+
/**
|
|
3605
|
+
* Returns size for content bubble spacing
|
|
3606
|
+
* @return {number} The size of the content bubble space
|
|
3607
|
+
*/
|
|
3608
|
+
DvtTimelineStyleUtils.getContentBubbleSpacing = function()
|
|
3609
|
+
{
|
|
3610
|
+
return DvtTimelineStyleUtils._DEFAULT_CONTENT_BUBBLE_SPACING;
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
/**
|
|
3614
|
+
* Returns width/height for the nav arrow button background
|
|
3615
|
+
* @return {number} The width/height of the nav arrow button background
|
|
3616
|
+
*/
|
|
3617
|
+
DvtTimelineStyleUtils.getNavButtonBackgroundWidth = function()
|
|
3618
|
+
{
|
|
3619
|
+
return DvtTimelineStyleUtils._DEFAULT_NAV_BUTTON_BACKGROUND_WIDTH;
|
|
3620
|
+
};
|
|
3621
|
+
|
|
3622
|
+
/**
|
|
3623
|
+
* Returns width/height for the nav arrow button
|
|
3624
|
+
* @return {number} The width/height of the nav arrow button
|
|
3625
|
+
*/
|
|
3626
|
+
DvtTimelineStyleUtils.getNavButtonWidth = function()
|
|
3627
|
+
{
|
|
3628
|
+
return DvtTimelineStyleUtils._DEFAULT_NAV_BUTTON_WIDTH;
|
|
3629
|
+
};
|
|
3630
|
+
|
|
3631
|
+
/**
|
|
3632
|
+
* Returns bgcolor for content bubble
|
|
3633
|
+
* @return {string} The bgcolor of the content bubble
|
|
3634
|
+
*/
|
|
3635
|
+
DvtTimelineStyleUtils.getContentBubbleBackgroundColor = function(options)
|
|
3636
|
+
{
|
|
3637
|
+
return options['styleDefaults']['durationEventOverflow']['backgroundColor'];
|
|
3638
|
+
};
|
|
3639
|
+
|
|
3640
|
+
/**
|
|
3641
|
+
* DvtTimelineNavigationButton subclass of IconButton
|
|
3642
|
+
* @param {Timeline} timeline The parent timeline.
|
|
3643
|
+
* @param {dvt.Context} context
|
|
3644
|
+
* @param {'outlined'|'borderless'} chroming
|
|
3645
|
+
* @param {object} iconOptions supports keys style, size, pos
|
|
3646
|
+
* @param {dvt.Shape} background (optional)
|
|
3647
|
+
* @param {string} id
|
|
3648
|
+
* @param {object=} callback
|
|
3649
|
+
* @param {object=} callbackObj
|
|
3650
|
+
* @extends {dvt.Path}
|
|
3651
|
+
* @constructor
|
|
3652
|
+
*
|
|
3653
|
+
*/
|
|
3654
|
+
const DvtTimelineNavigationButton = function (
|
|
3655
|
+
timeline,
|
|
3656
|
+
context,
|
|
3657
|
+
chroming,
|
|
3658
|
+
iconOptions,
|
|
3659
|
+
background,
|
|
3660
|
+
id,
|
|
3661
|
+
callback,
|
|
3662
|
+
callbackObj
|
|
3663
|
+
) {
|
|
3664
|
+
this.Init(timeline, context, chroming, iconOptions, background, id, callback, callbackObj);
|
|
3665
|
+
};
|
|
3666
|
+
dvt.Obj.createSubclass(DvtTimelineNavigationButton, dvt.IconButton);
|
|
3667
|
+
DvtTimelineNavigationButton.prototype.Init = function(
|
|
3668
|
+
timeline,
|
|
3669
|
+
context,
|
|
3670
|
+
chroming,
|
|
3671
|
+
iconOptions,
|
|
3672
|
+
background,
|
|
3673
|
+
id,
|
|
3674
|
+
callback,
|
|
3675
|
+
callbackObj
|
|
3676
|
+
) {
|
|
3677
|
+
this._id = id;
|
|
3678
|
+
this._timeline = timeline;
|
|
3679
|
+
this._enabledState = true;
|
|
3680
|
+
DvtTimelineNavigationButton.superclass.Init.call(this, context, chroming, iconOptions, background, id, callback, callbackObj);
|
|
3681
|
+
this.setAriaRole('button');
|
|
3682
|
+
};
|
|
3683
|
+
DvtTimelineNavigationButton.prototype.getNextNavigable = function (event) {
|
|
3684
|
+
var keyboardHandler = this._timeline.EventManager.getKeyboardHandler();
|
|
3685
|
+
var isRTL = dvt.Agent.isRightToLeft(this._timeline.getCtx());
|
|
3686
|
+
|
|
3687
|
+
if (event.type === dvt.MouseEvent.CLICK || keyboardHandler.isMultiSelectEvent(event)) {
|
|
3688
|
+
return this;
|
|
3689
|
+
}
|
|
3690
|
+
else if (keyboardHandler.isNavigationEvent(event)) {
|
|
3691
|
+
if ((!isRTL && dvt.KeyboardEvent.RIGHT_ARROW === event.keyCode) || (isRTL && dvt.KeyboardEvent.LEFT_ARROW === event.keyCode)) {
|
|
3692
|
+
// go forward
|
|
3693
|
+
if (this._id === 'prevNavArrow') {
|
|
3694
|
+
return this._timeline._nextArrow;
|
|
3695
|
+
} else {
|
|
3696
|
+
for (var i = 0; i < this._timeline._series.length; i++)
|
|
3697
|
+
{
|
|
3698
|
+
var series = this._timeline._series[i];
|
|
3699
|
+
if (series._items && series._items.length > 0)
|
|
3700
|
+
{
|
|
3701
|
+
return series._items[0];
|
|
3702
|
+
}
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
} else if ((!isRTL && dvt.KeyboardEvent.LEFT_ARROW === event.keyCode) || (isRTL && dvt.KeyboardEvent.RIGHT_ARROW === event.keyCode)) {
|
|
3706
|
+
// go backwards
|
|
3707
|
+
if (this._id === 'nextNavArrow') {
|
|
3708
|
+
return this._timeline._prevArrow;
|
|
3709
|
+
} else {
|
|
3710
|
+
// don't do anything since you can only go forwards if already prevArrow
|
|
3711
|
+
return this;
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
else {
|
|
3716
|
+
return null;
|
|
3717
|
+
}
|
|
3718
|
+
};
|
|
3719
|
+
DvtTimelineNavigationButton.prototype.getAriaLabel = function ()
|
|
3720
|
+
{
|
|
3721
|
+
var translations = this._timeline.getOptions().translations;
|
|
3722
|
+
var states = !this._enabledState ? [translations['navArrowDisabledState']] : [];
|
|
3723
|
+
var label = dvt.Displayable.generateAriaLabel(this.getAriaString(), states);
|
|
3724
|
+
return label;
|
|
3725
|
+
};
|
|
3726
|
+
|
|
3727
|
+
DvtTimelineNavigationButton.prototype.getAriaString = function()
|
|
3728
|
+
{
|
|
3729
|
+
var translations = this._timeline.getOptions().translations;
|
|
3730
|
+
if (this._id === 'prevNavArrow')
|
|
3731
|
+
return translations['labelAccNavPreviousPage'];
|
|
3732
|
+
else if (this._id === 'nextNavArrow')
|
|
3733
|
+
return translations['labelAccNavNextPage'];
|
|
3734
|
+
};
|
|
3735
|
+
|
|
3736
|
+
/**
|
|
3737
|
+
* Implemented for DvtKeyboardNavigable
|
|
3738
|
+
* @override
|
|
3739
|
+
*/
|
|
3740
|
+
DvtTimelineNavigationButton.prototype.getKeyboardBoundingBox = function(targetCoordinateSpace)
|
|
3741
|
+
{
|
|
3742
|
+
return this.getDimensions(targetCoordinateSpace);
|
|
3743
|
+
};
|
|
3744
|
+
|
|
3745
|
+
/**
|
|
3746
|
+
* Catch the state
|
|
3747
|
+
* @override
|
|
3748
|
+
*/
|
|
3749
|
+
DvtTimelineNavigationButton.prototype.setEnabled = function(enabledState)
|
|
3750
|
+
{
|
|
3751
|
+
this._enabledState = enabledState;
|
|
3752
|
+
this.setAriaProperty('label', this.getAriaLabel());
|
|
3753
|
+
DvtTimelineNavigationButton.superclass.setEnabled.call(this, enabledState);
|
|
3754
|
+
};
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* Implemented for DvtKeyboardNavigable
|
|
3758
|
+
* @override
|
|
3759
|
+
*/
|
|
3760
|
+
DvtTimelineNavigationButton.prototype.getTargetElem = function()
|
|
3761
|
+
{
|
|
3762
|
+
return this.getElem();
|
|
3763
|
+
};
|
|
3764
|
+
|
|
3574
3765
|
/**
|
|
3575
3766
|
* Renderer for Timeline.
|
|
3576
3767
|
* @class
|
|
@@ -3596,6 +3787,10 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3596
3787
|
DvtTimelineRenderer._renderSeries(timeline, timeZoomCanvas);
|
|
3597
3788
|
DvtTimelineRenderer._renderSeriesLabels(timeline);
|
|
3598
3789
|
DvtTimelineRenderer._renderAxis(timeline, timeZoomCanvas);
|
|
3790
|
+
if (timeline.isDiscreteNavigationMode())
|
|
3791
|
+
DvtTimelineRenderer._renderNavigationArrows(timeline, timeZoomCanvas);
|
|
3792
|
+
else
|
|
3793
|
+
DvtTimelineRenderer._hideNavigationArrows(timeline, timeZoomCanvas);
|
|
3599
3794
|
|
|
3600
3795
|
if (timeline._hasOverview)
|
|
3601
3796
|
DvtTimelineRenderer._renderOverview(timeline);
|
|
@@ -3605,6 +3800,12 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3605
3800
|
// just use the first object as the focus
|
|
3606
3801
|
if (timeline._keyboardHandler)
|
|
3607
3802
|
{
|
|
3803
|
+
// if navigation mode set focus to prev arrow (removed for now)
|
|
3804
|
+
/*
|
|
3805
|
+
if (timeline.isDiscreteNavigationMode()) {
|
|
3806
|
+
timeline.EventManager.setFocusObj(timeline._prevArrow);
|
|
3807
|
+
}
|
|
3808
|
+
*/
|
|
3608
3809
|
for (var i = 0; i < timeline._series.length; i++)
|
|
3609
3810
|
{
|
|
3610
3811
|
series = timeline._series[i];
|
|
@@ -3614,6 +3815,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3614
3815
|
break;
|
|
3615
3816
|
}
|
|
3616
3817
|
}
|
|
3818
|
+
|
|
3617
3819
|
}
|
|
3618
3820
|
if (timeline.isTimeDirScrollbarOn() || timeline.isContentDirScrollbarOn())
|
|
3619
3821
|
DvtTimelineRenderer._renderScrollbars(timeline);
|
|
@@ -3864,6 +4066,130 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3864
4066
|
}
|
|
3865
4067
|
};
|
|
3866
4068
|
|
|
4069
|
+
/**
|
|
4070
|
+
* Renders the navigation arrows of the timeline
|
|
4071
|
+
* @param {Timeline} timeline The timeline being rendered.
|
|
4072
|
+
* @param {dvt.Container} container The container to render into.
|
|
4073
|
+
* @private
|
|
4074
|
+
*/
|
|
4075
|
+
DvtTimelineRenderer._renderNavigationArrows = function(timeline, container)
|
|
4076
|
+
{
|
|
4077
|
+
var context = timeline.getCtx();
|
|
4078
|
+
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
4079
|
+
var length = timeline.getContentLength() * timeline._timeAxisRatio;
|
|
4080
|
+
var seriesCount = timeline._series.length;
|
|
4081
|
+
var axisVisibleSize = timeline.getTimeAxisVisibleSize(seriesCount);
|
|
4082
|
+
var navButtonBackgroundWidth = DvtTimelineStyleUtils.getNavButtonBackgroundWidth();
|
|
4083
|
+
var navButtonWidth = DvtTimelineStyleUtils.getNavButtonWidth();
|
|
4084
|
+
var axisStart = seriesCount === 1 ? (timeline._canvasSize - axisVisibleSize) : (timeline._canvasSize / seriesCount - (axisVisibleSize / 2));
|
|
4085
|
+
var timeAxisOffset = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(timeline._start, timeline._end, timeline._viewStartTime, length) + timeline._discreteOffset - navButtonBackgroundWidth;
|
|
4086
|
+
var nextTimeAxisOffset = timeline._backgroundWidth + timeAxisOffset - navButtonBackgroundWidth;
|
|
4087
|
+
if (isRTL) {
|
|
4088
|
+
nextTimeAxisOffset = length - nextTimeAxisOffset - navButtonBackgroundWidth - timeline.getScrollbarPadding() + timeline._discreteOffset * 2;
|
|
4089
|
+
timeAxisOffset = length - timeAxisOffset - navButtonBackgroundWidth + timeline._discreteOffset * 2;
|
|
4090
|
+
}
|
|
4091
|
+
var buttonBorderColor = timeline.Options['styleDefaults']['item']['borderColor'];
|
|
4092
|
+
var buttonStroke = new dvt.Stroke(buttonBorderColor, 1, 1);
|
|
4093
|
+
var arrowContainerBackFillColor = timeline.Options['styleDefaults']['series']['backgroundColor'];
|
|
4094
|
+
var translations = timeline.getOptions().translations;
|
|
4095
|
+
|
|
4096
|
+
if (timeline._prevArrowContainer == null) {
|
|
4097
|
+
var prevArrowContainer = new dvt.Container(context);
|
|
4098
|
+
var prevContainerBackground = new dvt.Rect(context, 0, 0, navButtonBackgroundWidth, navButtonBackgroundWidth, 'prevNavContainer');
|
|
4099
|
+
var prevArrowButton = new dvt.Rect(context, 0, 0, navButtonWidth, navButtonWidth, 'prevNavContainer_i');
|
|
4100
|
+
prevArrowButton.setCornerRadius(4);
|
|
4101
|
+
prevArrowButton.setTranslate(8, 8);
|
|
4102
|
+
prevContainerBackground.addChild(prevArrowButton);
|
|
4103
|
+
prevArrowContainer.addChild(prevContainerBackground);
|
|
4104
|
+
prevArrowContainer.setTranslate(timeAxisOffset, axisStart - navButtonWidth);
|
|
4105
|
+
prevArrowContainer.setClassName('oj-timeline-nav-arrow oj-timeline-nav-arrow-previous');
|
|
4106
|
+
prevArrowButton.setStroke(buttonStroke);
|
|
4107
|
+
prevArrowContainer.setSolidFill(arrowContainerBackFillColor);
|
|
4108
|
+
var iconStyle = dvt.ToolkitUtils.getIconStyle(context, timeline._resources.prev);
|
|
4109
|
+
var prevButtonIcon = new DvtTimelineNavigationButton(timeline, context, 'outlined', {style: iconStyle, size: 28}, null, 'prevNavArrow', timeline.EventManager.prevPage, timeline.EventManager);
|
|
4110
|
+
prevButtonIcon.setTranslate(4, 4);
|
|
4111
|
+
prevArrowButton.addChild(prevButtonIcon);
|
|
4112
|
+
container.addChild(prevArrowContainer);
|
|
4113
|
+
timeline._prevArrowContainer = prevArrowContainer;
|
|
4114
|
+
timeline._prevArrow = prevButtonIcon;
|
|
4115
|
+
} else {
|
|
4116
|
+
timeline._prevArrowContainer.setVisible('visible');
|
|
4117
|
+
timeline._prevArrowContainer.setTranslate(timeAxisOffset, axisStart - navButtonWidth);
|
|
4118
|
+
container.removeChild(timeline._prevArrowContainer);
|
|
4119
|
+
container.addChild(timeline._prevArrowContainer);
|
|
4120
|
+
}
|
|
4121
|
+
|
|
4122
|
+
if (timeline._nextArrowContainer == null) {
|
|
4123
|
+
var nextArrowContainer = new dvt.Container(context);
|
|
4124
|
+
var nextContainerBackground = new dvt.Rect(context, 0, 0, navButtonBackgroundWidth, navButtonBackgroundWidth, 'nextNavContainer');
|
|
4125
|
+
var nextArrowButton = new dvt.Rect(context, 0, 0, navButtonWidth, navButtonWidth, 'nextNavContainer_i');
|
|
4126
|
+
nextArrowButton.setCornerRadius(4);
|
|
4127
|
+
nextArrowButton.setTranslate(16, 8);
|
|
4128
|
+
nextContainerBackground.addChild(nextArrowButton);
|
|
4129
|
+
nextArrowContainer.addChild(nextContainerBackground);
|
|
4130
|
+
nextArrowContainer.setTranslate(nextTimeAxisOffset, axisStart - navButtonWidth);
|
|
4131
|
+
nextArrowContainer.setClassName('oj-timeline-nav-arrow oj-timeline-nav-arrow-next');
|
|
4132
|
+
nextArrowButton.setStroke(buttonStroke);
|
|
4133
|
+
nextArrowContainer.setSolidFill(arrowContainerBackFillColor);
|
|
4134
|
+
var iconStyle = dvt.ToolkitUtils.getIconStyle(context, timeline._resources.next);
|
|
4135
|
+
var nextButtonIcon = new DvtTimelineNavigationButton(timeline, context, 'outlined', {style: iconStyle, size: 28}, null, 'nextNavArrow', timeline.EventManager.nextPage, timeline.EventManager);
|
|
4136
|
+
nextButtonIcon.setTranslate(4, 4);
|
|
4137
|
+
nextArrowButton.addChild(nextButtonIcon);
|
|
4138
|
+
container.addChild(nextArrowContainer);
|
|
4139
|
+
timeline._nextArrowContainer = nextArrowContainer;
|
|
4140
|
+
timeline._nextArrow = nextButtonIcon;
|
|
4141
|
+
} else {
|
|
4142
|
+
timeline._nextArrowContainer.setVisible('visible');
|
|
4143
|
+
timeline._nextArrowContainer.setTranslate(nextTimeAxisOffset, axisStart - navButtonWidth);
|
|
4144
|
+
container.removeChild(timeline._nextArrowContainer);
|
|
4145
|
+
container.addChild(timeline._nextArrowContainer);
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4148
|
+
DvtTimelineRenderer._checkDisabledArrows(timeline);
|
|
4149
|
+
};
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* Hides the navigation arrows of the timeline if they exist
|
|
4153
|
+
* @param {Timeline} timeline The timeline being rendered.
|
|
4154
|
+
* @private
|
|
4155
|
+
*/
|
|
4156
|
+
DvtTimelineRenderer._hideNavigationArrows = function(timeline)
|
|
4157
|
+
{
|
|
4158
|
+
if (timeline._prevArrowContainer != null) {
|
|
4159
|
+
timeline._prevArrowContainer.setVisible();
|
|
4160
|
+
}
|
|
4161
|
+
if (timeline._nextArrowContainer != null) {
|
|
4162
|
+
timeline._nextArrowContainer.setVisible();
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
};
|
|
4166
|
+
|
|
4167
|
+
/**
|
|
4168
|
+
* Adds disabled state to the arrows if they are at the end of the available range.
|
|
4169
|
+
* @param {Timeline} timeline The timeline being rendered.
|
|
4170
|
+
* @private
|
|
4171
|
+
*/
|
|
4172
|
+
DvtTimelineRenderer._checkDisabledArrows = function(timeline)
|
|
4173
|
+
{
|
|
4174
|
+
var earlierDates = timeline.getDiscreteViewportDatePosition(timeline._discreteViewportCurrentIndexOffset - 1);
|
|
4175
|
+
var laterDates = timeline.getDiscreteViewportDatePosition(timeline._discreteViewportCurrentIndexOffset + 1);
|
|
4176
|
+
if (earlierDates.startDate < timeline._start) {
|
|
4177
|
+
timeline._prevArrowContainer.addClassName('oj-timeline-nav-arrow-disabled');
|
|
4178
|
+
timeline._prevArrow.setEnabled(false);
|
|
4179
|
+
} else {
|
|
4180
|
+
timeline._prevArrowContainer.removeClassName('oj-timeline-nav-arrow-disabled');
|
|
4181
|
+
timeline._prevArrow.setEnabled(true);
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
if (laterDates.endDate > timeline._end) {
|
|
4185
|
+
timeline._nextArrowContainer.addClassName('oj-timeline-nav-arrow-disabled');
|
|
4186
|
+
timeline._nextArrow.setEnabled(false);
|
|
4187
|
+
} else {
|
|
4188
|
+
timeline._nextArrowContainer.removeClassName('oj-timeline-nav-arrow-disabled');
|
|
4189
|
+
timeline._nextArrow.setEnabled(true);
|
|
4190
|
+
}
|
|
4191
|
+
};
|
|
4192
|
+
|
|
3867
4193
|
/**
|
|
3868
4194
|
* Renders the minor time axis of a timeline.
|
|
3869
4195
|
* @param {Timeline} timeline The timeline being rendered.
|
|
@@ -3882,6 +4208,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3882
4208
|
var axisSize = timeline.getTimeAxisSize();
|
|
3883
4209
|
var axisVisibleSize = timeline.getTimeAxisVisibleSize(seriesCount);
|
|
3884
4210
|
var axisStart = seriesCount === 1 ? (timeline._canvasSize - axisVisibleSize) : (timeline._canvasSize / seriesCount - (axisVisibleSize / 2));
|
|
4211
|
+
var length = timeline.getContentLength();
|
|
3885
4212
|
if (isRTL && timeline.isVertical() && timeline._series.length === 1)
|
|
3886
4213
|
axisStart = 0;
|
|
3887
4214
|
|
|
@@ -3895,21 +4222,34 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3895
4222
|
_viewStartTime: timeline._viewStartTime,
|
|
3896
4223
|
_viewEndTime: timeline._viewEndTime,
|
|
3897
4224
|
_throttle: throttle
|
|
3898
|
-
}, axisSize,
|
|
4225
|
+
}, axisSize, length);
|
|
3899
4226
|
}
|
|
3900
4227
|
else
|
|
3901
4228
|
{
|
|
3902
|
-
|
|
4229
|
+
var isDiscreteNavMode = timeline.isDiscreteNavigationMode();
|
|
4230
|
+
var navButtonBackgroundWidth = DvtTimelineStyleUtils.getNavButtonBackgroundWidth();
|
|
4231
|
+
|
|
4232
|
+
length = isDiscreteNavMode ? length * timeline._timeAxisRatio : length;
|
|
4233
|
+
|
|
4234
|
+
// in navigation mode, grab +/- 60 px extra for beginning and end.
|
|
4235
|
+
var startDatePos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(timeline._start, timeline._end, timeline._viewStartTime, length);
|
|
4236
|
+
var startDate = Math.max(ojtimeaxisToolkit.TimeAxisUtils.getPositionDate(timeline._start, timeline._end, startDatePos - navButtonBackgroundWidth, length), timeline._start);
|
|
4237
|
+
var endDatePos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(timeline._start, timeline._end, timeline._viewEndTime, length);
|
|
4238
|
+
var endDate = Math.min(ojtimeaxisToolkit.TimeAxisUtils.getPositionDate(timeline._start, timeline._end, endDatePos + navButtonBackgroundWidth, length), timeline._end);
|
|
4239
|
+
|
|
4240
|
+
var startTime = isDiscreteNavMode ? startDate : timeline._viewStartTime;
|
|
4241
|
+
var endTime = isDiscreteNavMode ? endDate : timeline._viewEndTime;
|
|
4242
|
+
posMatrix = new dvt.Matrix(1, 0, 0, 1, timeline._discreteOffset, axisStart);
|
|
3903
4243
|
timeAxis.render({
|
|
3904
|
-
_viewStartTime:
|
|
3905
|
-
_viewEndTime:
|
|
4244
|
+
_viewStartTime: startTime,
|
|
4245
|
+
_viewEndTime: endTime,
|
|
3906
4246
|
_throttle: throttle
|
|
3907
|
-
},
|
|
4247
|
+
}, length, axisSize);
|
|
3908
4248
|
}
|
|
3909
4249
|
|
|
3910
4250
|
timeAxis.setMatrix(posMatrix);
|
|
3911
4251
|
|
|
3912
|
-
DvtTimelineRenderer._renderSeriesTimeAxis(timeline, timeline._fetchStartPos, timeline._fetchEndPos, timeline.getTimeZoomCanvas(),
|
|
4252
|
+
DvtTimelineRenderer._renderSeriesTimeAxis(timeline, timeline._fetchStartPos, timeline._fetchEndPos, timeline.getTimeZoomCanvas(), length);
|
|
3913
4253
|
};
|
|
3914
4254
|
|
|
3915
4255
|
/**
|
|
@@ -3925,6 +4265,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3925
4265
|
{
|
|
3926
4266
|
var context = timeline.getCtx();
|
|
3927
4267
|
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
4268
|
+
var offset = (timeline.isDiscreteNavigationMode() ? timeline._discreteOffset : 0) * (isRTL ? -1 : 1);
|
|
3928
4269
|
|
|
3929
4270
|
if (timeline._majorAxisLabels)
|
|
3930
4271
|
{
|
|
@@ -3986,9 +4327,9 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
3986
4327
|
{
|
|
3987
4328
|
var label = labels[i];
|
|
3988
4329
|
var currentTime = dates[i];
|
|
3989
|
-
currentPos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(start, end, currentTime, length);
|
|
4330
|
+
currentPos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(start, end, currentTime, length) + offset;
|
|
3990
4331
|
|
|
3991
|
-
var next_time_pos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(start, end, dates[i + 1], length);
|
|
4332
|
+
var next_time_pos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(start, end, dates[i + 1], length) + offset;
|
|
3992
4333
|
var maxLength = next_time_pos - currentPos;
|
|
3993
4334
|
|
|
3994
4335
|
if (!isRTL)
|
|
@@ -4069,6 +4410,14 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4069
4410
|
|
|
4070
4411
|
var overviewObject = timeline._getOverviewObject();
|
|
4071
4412
|
timeline._overview.render(overviewObject, width, height);
|
|
4413
|
+
|
|
4414
|
+
// turn off overview dragging when in discrete viewport navigation mode
|
|
4415
|
+
// turn off handle affordances;
|
|
4416
|
+
if (timeline.isDiscreteNavigationMode()) {
|
|
4417
|
+
timeline._overview.setMouseEnabled(false);
|
|
4418
|
+
timeline._overview._windowLeftGrippy.setVisible();
|
|
4419
|
+
timeline._overview._windowRightGrippy.setVisible();
|
|
4420
|
+
}
|
|
4072
4421
|
};
|
|
4073
4422
|
|
|
4074
4423
|
/**
|
|
@@ -4293,38 +4642,50 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4293
4642
|
var resources = timeline._resources;
|
|
4294
4643
|
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
4295
4644
|
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
'
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
'
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4645
|
+
if (!timeline.isDiscreteNavigationMode()) {
|
|
4646
|
+
var zoomControlProperties = {
|
|
4647
|
+
'zoomInProps': {
|
|
4648
|
+
'imageSize': 16,
|
|
4649
|
+
'class': resources['zoomIn']
|
|
4650
|
+
},
|
|
4651
|
+
'zoomOutProps': {
|
|
4652
|
+
'imageSize': 16,
|
|
4653
|
+
'class': resources['zoomOut']
|
|
4654
|
+
}
|
|
4655
|
+
};
|
|
4306
4656
|
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4657
|
+
var xOffset = timeline.getStartXOffset() + DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_PADDING;
|
|
4658
|
+
if (isRTL)
|
|
4659
|
+
{
|
|
4660
|
+
// startXOffset includes the overview size when vertical, and the scrollbar region when not
|
|
4661
|
+
if (timeline._isVertical && timeline._hasOverview)
|
|
4662
|
+
xOffset = xOffset - timeline._overviewSize;
|
|
4663
|
+
else
|
|
4664
|
+
xOffset = xOffset - timeline.getBackgroundXOffset();
|
|
4315
4665
|
|
|
4316
|
-
|
|
4317
|
-
|
|
4666
|
+
xOffset = timeline._backgroundWidth - xOffset - DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_DIAMETER;
|
|
4667
|
+
}
|
|
4668
|
+
|
|
4669
|
+
zoomControlProperties['zoomInProps']['posX'] = xOffset;
|
|
4670
|
+
zoomControlProperties['zoomOutProps']['posX'] = xOffset;
|
|
4318
4671
|
|
|
4319
|
-
|
|
4320
|
-
zoomControlProperties['zoomOutProps']['posX'] = xOffset;
|
|
4672
|
+
var yOffset = timeline._startY + DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_PADDING;
|
|
4321
4673
|
|
|
4322
|
-
|
|
4674
|
+
zoomControlProperties['zoomInProps']['posY'] = yOffset;
|
|
4675
|
+
zoomControlProperties['zoomOutProps']['posY'] = yOffset + DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_DIAMETER + DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_SPACING;
|
|
4323
4676
|
|
|
4324
|
-
|
|
4325
|
-
zoomControlProperties['zoomOutProps']['posY'] = yOffset + DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_DIAMETER + DvtTimelineStyleUtils._DEFAULT_ZOOM_CONTROL_SPACING;
|
|
4677
|
+
timeline.renderZoomControls(zoomControlProperties);
|
|
4326
4678
|
|
|
4327
|
-
|
|
4679
|
+
// turn them visible if they may be hidden
|
|
4680
|
+
timeline.zoomin.setVisible('visible');
|
|
4681
|
+
timeline.zoomout.setVisible('visible');
|
|
4682
|
+
} else {
|
|
4683
|
+
// hide zoom controls if changing from different mode that uses zoom controls.
|
|
4684
|
+
if (timeline.zoomin) {
|
|
4685
|
+
timeline.zoomin.setVisible();
|
|
4686
|
+
timeline.zoomout.setVisible();
|
|
4687
|
+
}
|
|
4688
|
+
}
|
|
4328
4689
|
};
|
|
4329
4690
|
|
|
4330
4691
|
/**
|
|
@@ -4347,7 +4708,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4347
4708
|
};
|
|
4348
4709
|
|
|
4349
4710
|
/**
|
|
4350
|
-
* Adds a time
|
|
4711
|
+
* Adds a time interval label.
|
|
4351
4712
|
* @param {type} context
|
|
4352
4713
|
* @param {type} container
|
|
4353
4714
|
* @param {type} pos
|
|
@@ -4400,6 +4761,252 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4400
4761
|
return label;
|
|
4401
4762
|
};
|
|
4402
4763
|
|
|
4764
|
+
/**
|
|
4765
|
+
* Timeline event manager.
|
|
4766
|
+
* @param {Timeline} timeline The owning Timeline.
|
|
4767
|
+
* @extends {TimeComponentEventManager}
|
|
4768
|
+
* @constructor
|
|
4769
|
+
*/
|
|
4770
|
+
var DvtTimelineEventManager = function(timeline)
|
|
4771
|
+
{
|
|
4772
|
+
DvtTimelineEventManager.superclass.constructor.call(this, timeline);
|
|
4773
|
+
};
|
|
4774
|
+
|
|
4775
|
+
dvt.Obj.createSubclass(DvtTimelineEventManager, ojdvtTimecomponent.TimeComponentEventManager);
|
|
4776
|
+
|
|
4777
|
+
/**
|
|
4778
|
+
* @override
|
|
4779
|
+
*/
|
|
4780
|
+
DvtTimelineEventManager.prototype.addListeners = function(displayable)
|
|
4781
|
+
{
|
|
4782
|
+
DvtTimelineEventManager.superclass.addListeners.call(this, displayable);
|
|
4783
|
+
if (!dvt.Agent.isTouchDevice())
|
|
4784
|
+
{
|
|
4785
|
+
// IE does not always fire the appropriate mouseover and mouseout events, so use mouseenter instead
|
|
4786
|
+
if ((dvt.Agent.browser === 'ie' || dvt.Agent.browser === 'edge'))
|
|
4787
|
+
{
|
|
4788
|
+
var stage = this.getCtx().getStage();
|
|
4789
|
+
stage.addEvtListener('mouseenter', this.OnMouseEnter, false, this);
|
|
4790
|
+
stage.addEvtListener('mouseleave', this.OnMouseLeave, false, this);
|
|
4791
|
+
}
|
|
4792
|
+
}
|
|
4793
|
+
};
|
|
4794
|
+
|
|
4795
|
+
/**
|
|
4796
|
+
* @override
|
|
4797
|
+
*/
|
|
4798
|
+
DvtTimelineEventManager.prototype.RemoveListeners = function(displayable)
|
|
4799
|
+
{
|
|
4800
|
+
DvtTimelineEventManager.superclass.RemoveListeners.call(this, displayable);
|
|
4801
|
+
if (!dvt.Agent.isTouchDevice())
|
|
4802
|
+
{
|
|
4803
|
+
// IE does not always fire the appropriate mouseover and mouseout events, so use mouseenter instead
|
|
4804
|
+
if ((dvt.Agent.browser === 'ie' || dvt.Agent.browser === 'edge'))
|
|
4805
|
+
{
|
|
4806
|
+
var stage = this.getCtx().getStage();
|
|
4807
|
+
stage.removeEvtListener('mouseenter', this.OnMouseEnter, false, this);
|
|
4808
|
+
stage.removeEvtListener('mouseleave', this.OnMouseLeave, false, this);
|
|
4809
|
+
}
|
|
4810
|
+
}
|
|
4811
|
+
};
|
|
4812
|
+
|
|
4813
|
+
/**
|
|
4814
|
+
* @override
|
|
4815
|
+
*/
|
|
4816
|
+
DvtTimelineEventManager.prototype.PreOnMouseOver = function(event)
|
|
4817
|
+
{
|
|
4818
|
+
if (this._mouseOutTimer && this._mouseOutTimer.isRunning())
|
|
4819
|
+
this._mouseOutTimer.stop();
|
|
4820
|
+
DvtTimelineEventManager.superclass.PreOnMouseOver.call(this, event);
|
|
4821
|
+
|
|
4822
|
+
if (dvt.Agent.browser !== 'ie' && dvt.Agent.browser !== 'edge' && !this.isMouseOver)
|
|
4823
|
+
this.isMouseOver = true;
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
/**
|
|
4827
|
+
* Handler for the mouseenter event.
|
|
4828
|
+
* @param {dvt.MouseEvent} event The mouseenter event.
|
|
4829
|
+
*/
|
|
4830
|
+
DvtTimelineEventManager.prototype.OnMouseEnter = function(event)
|
|
4831
|
+
{
|
|
4832
|
+
if (this._mouseOutTimer && this._mouseOutTimer.isRunning())
|
|
4833
|
+
this._mouseOutTimer.stop();
|
|
4834
|
+
|
|
4835
|
+
if (!this.isMouseOver)
|
|
4836
|
+
this.isMouseOver = true;
|
|
4837
|
+
};
|
|
4838
|
+
|
|
4839
|
+
/**
|
|
4840
|
+
* Handler for the mouseleave event.
|
|
4841
|
+
* @param {dvt.MouseEvent} event The mouseleave event.
|
|
4842
|
+
*/
|
|
4843
|
+
DvtTimelineEventManager.prototype.OnMouseLeave = function(event)
|
|
4844
|
+
{
|
|
4845
|
+
if (!this._mouseOutTimer)
|
|
4846
|
+
this._mouseOutTimer = new dvt.Timer(this.getCtx(), 10, this._onMouseOutTimerEnd, this, 1);
|
|
4847
|
+
|
|
4848
|
+
this._mouseOutTimer.reset();
|
|
4849
|
+
this._mouseOutTimer.start();
|
|
4850
|
+
};
|
|
4851
|
+
|
|
4852
|
+
/**
|
|
4853
|
+
* @override
|
|
4854
|
+
*/
|
|
4855
|
+
DvtTimelineEventManager.prototype.PreOnMouseOut = function(event)
|
|
4856
|
+
{
|
|
4857
|
+
DvtTimelineEventManager.superclass.PreOnMouseOut.call(this, event);
|
|
4858
|
+
if (dvt.Agent.browser !== 'ie' && dvt.Agent.browser !== 'edge')
|
|
4859
|
+
{
|
|
4860
|
+
if (!this._mouseOutTimer)
|
|
4861
|
+
this._mouseOutTimer = new dvt.Timer(this.getCtx(), 10, this._onMouseOutTimerEnd, this, 1);
|
|
4862
|
+
|
|
4863
|
+
this._mouseOutTimer.reset();
|
|
4864
|
+
this._mouseOutTimer.start();
|
|
4865
|
+
}
|
|
4866
|
+
};
|
|
4867
|
+
|
|
4868
|
+
/**
|
|
4869
|
+
* Mouse out timer callback function.
|
|
4870
|
+
* @private
|
|
4871
|
+
*/
|
|
4872
|
+
DvtTimelineEventManager.prototype._onMouseOutTimerEnd = function()
|
|
4873
|
+
{
|
|
4874
|
+
this.isMouseOver = false;
|
|
4875
|
+
};
|
|
4876
|
+
|
|
4877
|
+
/**
|
|
4878
|
+
* Discrete viewport navigation mode previous page callback
|
|
4879
|
+
* @private
|
|
4880
|
+
*/
|
|
4881
|
+
DvtTimelineEventManager.prototype.prevPage = function()
|
|
4882
|
+
{
|
|
4883
|
+
var timeline = this._component;
|
|
4884
|
+
var elClass = timeline._prevArrowContainer.getClassName();
|
|
4885
|
+
|
|
4886
|
+
if (elClass.indexOf('oj-timeline-nav-arrow-disabled') === -1) {
|
|
4887
|
+
timeline._discreteViewportCurrentIndexOffset --;
|
|
4888
|
+
timeline.handlePageChangeDiscreteViewport();
|
|
4889
|
+
}
|
|
4890
|
+
};
|
|
4891
|
+
|
|
4892
|
+
/**
|
|
4893
|
+
* Discrete viewport navigation mode next page callback
|
|
4894
|
+
* @private
|
|
4895
|
+
*/
|
|
4896
|
+
DvtTimelineEventManager.prototype.nextPage = function()
|
|
4897
|
+
{
|
|
4898
|
+
var timeline = this._component;
|
|
4899
|
+
var elClass = timeline._nextArrowContainer.getClassName();
|
|
4900
|
+
|
|
4901
|
+
if (elClass.indexOf('oj-timeline-nav-arrow-disabled') === -1) {
|
|
4902
|
+
timeline._discreteViewportCurrentIndexOffset ++;
|
|
4903
|
+
timeline.handlePageChangeDiscreteViewport();
|
|
4904
|
+
}
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
/**
|
|
4908
|
+
* Discrete viewport navigation mode next/prev page event handle callback
|
|
4909
|
+
* @private
|
|
4910
|
+
*/
|
|
4911
|
+
DvtTimelineEventManager.prototype.handleArrowPress = function(event)
|
|
4912
|
+
{
|
|
4913
|
+
var focusObj = this.getFocus();
|
|
4914
|
+
if (focusObj._id === 'prevNavArrow') {
|
|
4915
|
+
this.prevPage();
|
|
4916
|
+
} else if (focusObj._id === 'nextNavArrow') {
|
|
4917
|
+
this.nextPage();
|
|
4918
|
+
}
|
|
4919
|
+
return focusObj;
|
|
4920
|
+
};
|
|
4921
|
+
|
|
4922
|
+
/**
|
|
4923
|
+
* Pans by the specified amount.
|
|
4924
|
+
* @param {number} dx A number from specifying the pan ratio in the x direction, e.g. dx = 0.5 means pan end by 50%..
|
|
4925
|
+
* @param {number} dy A number from specifying the pan ratio in the y direction, e.g. dy = 0.5 means pan down by 50%.
|
|
4926
|
+
*/
|
|
4927
|
+
DvtTimelineEventManager.prototype.panBy = function(dx, dy)
|
|
4928
|
+
{
|
|
4929
|
+
var focusObj = this.getFocus();
|
|
4930
|
+
if (focusObj)
|
|
4931
|
+
this._comp._dragPanSeries = focusObj._series;
|
|
4932
|
+
|
|
4933
|
+
DvtTimelineEventManager.superclass.panBy.call(this, dx, dy);
|
|
4934
|
+
};
|
|
4935
|
+
|
|
4936
|
+
/**
|
|
4937
|
+
* Timeline JSON Parser
|
|
4938
|
+
* @class
|
|
4939
|
+
* @constructor
|
|
4940
|
+
* @extends {dvt.Obj}
|
|
4941
|
+
*/
|
|
4942
|
+
var DvtTimelineParser = function() {
|
|
4943
|
+
|
|
4944
|
+
};
|
|
4945
|
+
|
|
4946
|
+
dvt.Obj.createSubclass(DvtTimelineParser, dvt.Obj);
|
|
4947
|
+
|
|
4948
|
+
/**
|
|
4949
|
+
* Parses the specified data options and returns the root node of the timeline
|
|
4950
|
+
* @param {object} options The data options describing the component.
|
|
4951
|
+
* @return {object} An object containing the parsed properties
|
|
4952
|
+
*/
|
|
4953
|
+
DvtTimelineParser.prototype.parse = function(options)
|
|
4954
|
+
{
|
|
4955
|
+
var ret = new Object();
|
|
4956
|
+
ret.start = new Date(options['start']).getTime();
|
|
4957
|
+
ret.end = new Date(options['end']).getTime();
|
|
4958
|
+
|
|
4959
|
+
if (options['viewportStart'])
|
|
4960
|
+
ret.viewStart = new Date(options['viewportStart']).getTime();
|
|
4961
|
+
if (options['viewportEnd'])
|
|
4962
|
+
ret.viewEnd = new Date(options['viewportEnd']).getTime();
|
|
4963
|
+
if (options['selectionMode'])
|
|
4964
|
+
ret.selectionMode = options['selectionMode'];
|
|
4965
|
+
else
|
|
4966
|
+
ret.selectionMode = 'none';
|
|
4967
|
+
ret.inlineStyle = options['style'];
|
|
4968
|
+
if (options['svgStyle'])
|
|
4969
|
+
ret.inlineStyle = options['svgStyle'];
|
|
4970
|
+
|
|
4971
|
+
var minorAxis = options['minorAxis'];
|
|
4972
|
+
if (minorAxis)
|
|
4973
|
+
{
|
|
4974
|
+
var scale = minorAxis['scale'];
|
|
4975
|
+
ret.scale = scale;
|
|
4976
|
+
ret.customFormatScales = minorAxis['_cfs'];
|
|
4977
|
+
}
|
|
4978
|
+
var majorAxis = options['majorAxis'];
|
|
4979
|
+
if (majorAxis)
|
|
4980
|
+
{
|
|
4981
|
+
ret.seriesScale = majorAxis['scale'];
|
|
4982
|
+
ret.seriesConverter = majorAxis['converter'];
|
|
4983
|
+
ret.seriesCustomFormatScales = majorAxis['_cfs'];
|
|
4984
|
+
}
|
|
4985
|
+
ret.shortDesc = options['shortDesc'];
|
|
4986
|
+
ret.orientation = options['orientation'];
|
|
4987
|
+
var referenceObjects = options['referenceObjects'];
|
|
4988
|
+
if (referenceObjects && referenceObjects.length > 0)
|
|
4989
|
+
{
|
|
4990
|
+
var referenceObjectsValueArray = [];
|
|
4991
|
+
for (var i = 0; i < referenceObjects.length; i++)
|
|
4992
|
+
{
|
|
4993
|
+
referenceObjectsValueArray.push(new Date(referenceObjects[i]['value']));
|
|
4994
|
+
}
|
|
4995
|
+
ret.referenceObjects = referenceObjectsValueArray;
|
|
4996
|
+
}
|
|
4997
|
+
|
|
4998
|
+
var overview = options['overview'];
|
|
4999
|
+
if (overview != null && overview['rendered'] === 'on')
|
|
5000
|
+
ret.hasOverview = true;
|
|
5001
|
+
else
|
|
5002
|
+
ret.hasOverview = false;
|
|
5003
|
+
|
|
5004
|
+
ret.itemPosition = options['_ip'];
|
|
5005
|
+
ret.customTimeScales = options['_cts'];
|
|
5006
|
+
|
|
5007
|
+
return ret;
|
|
5008
|
+
};
|
|
5009
|
+
|
|
4403
5010
|
/**
|
|
4404
5011
|
* Creates an instance of DvtTimelineSeriesItem which extends dvt.Container with hover and selection feedback.
|
|
4405
5012
|
* @extends {dvt.Container}
|
|
@@ -4515,7 +5122,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4515
5122
|
{
|
|
4516
5123
|
bubbleFillColor = DvtTimelineStyleUtils.getItemHoverFillColor(item);
|
|
4517
5124
|
bubbleStrokeColor = DvtTimelineStyleUtils.getItemHoverStrokeColor(item);
|
|
4518
|
-
bubbleStrokeWidth = DvtTimelineStyleUtils.getItemHoverStrokeWidth();
|
|
5125
|
+
bubbleStrokeWidth = DvtTimelineStyleUtils.getItemHoverStrokeWidth(item._timeline.Options);
|
|
4519
5126
|
bubbleInnerStrokeColor = DvtTimelineStyleUtils.getItemInnerActiveStrokeColor();
|
|
4520
5127
|
}
|
|
4521
5128
|
else
|
|
@@ -4530,10 +5137,18 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4530
5137
|
var bubbleStroke = new dvt.Stroke(bubbleStrokeColor, 1, bubbleStrokeWidth);
|
|
4531
5138
|
var bubbleInnerStroke = new dvt.Stroke(bubbleInnerStrokeColor, 1, bubbleInnerStrokeWidth);
|
|
4532
5139
|
|
|
4533
|
-
bubble.setSolidFill(bubbleFillColor);
|
|
4534
5140
|
bubble.setStroke(bubbleStroke);
|
|
4535
5141
|
bubbleInner.setStroke(bubbleInnerStroke);
|
|
4536
5142
|
|
|
5143
|
+
if (state === DvtTimelineSeriesItem.HOVER_STATE_KEY) {
|
|
5144
|
+
var bubbleBackFillColor = item._timeline.Options['styleDefaults']['series']['backgroundColor'];
|
|
5145
|
+
bubble.setSolidFill(bubbleBackFillColor);
|
|
5146
|
+
bubbleInner.setSolidFill(bubbleFillColor);
|
|
5147
|
+
} else {
|
|
5148
|
+
bubble.setSolidFill(bubbleFillColor);
|
|
5149
|
+
bubbleInner.setSolidFill(DvtTimelineStyleUtils.getItemInnerFillColor());
|
|
5150
|
+
}
|
|
5151
|
+
|
|
4537
5152
|
var feeler = item.getFeeler();
|
|
4538
5153
|
if (feeler)
|
|
4539
5154
|
feeler.setStroke(bubbleStroke);
|
|
@@ -4605,25 +5220,52 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4605
5220
|
*/
|
|
4606
5221
|
DvtTimelineSeriesItemRenderer._createBubble = function(item, series, index)
|
|
4607
5222
|
{
|
|
4608
|
-
var width, height;
|
|
4609
|
-
var
|
|
4610
|
-
var
|
|
4611
|
-
var content = DvtTimelineSeriesItemRenderer._getBubbleContent(item, series);
|
|
5223
|
+
var width, height, durationWidth, renderEnd;
|
|
5224
|
+
var context = series.getCtx();
|
|
5225
|
+
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
4612
5226
|
|
|
4613
|
-
//
|
|
5227
|
+
// if padding is specified, use that value. otherwise default to 5.
|
|
5228
|
+
var padding = Number(DvtTimelineStyleUtils.getBubblePadding(item._timeline.Options));
|
|
5229
|
+
var content = DvtTimelineSeriesItemRenderer._getBubbleContent(item, series);
|
|
4614
5230
|
var customRenderer = item._timeline.getOptions().itemBubbleContentRenderer;
|
|
4615
5231
|
|
|
4616
5232
|
if (customRenderer) {
|
|
4617
5233
|
// Ensure width is positive
|
|
4618
|
-
width = Math.max(0, content._w + content._x +
|
|
4619
|
-
height = content._h + content._y +
|
|
5234
|
+
width = Math.max(0, content._w + content._x + padding * 2);
|
|
5235
|
+
height = content._h + content._y + padding * 2;
|
|
4620
5236
|
} else {
|
|
4621
|
-
width = content._w +
|
|
4622
|
-
height = content._h +
|
|
5237
|
+
width = content._w + padding * 2;
|
|
5238
|
+
height = content._h + padding * 2;
|
|
4623
5239
|
}
|
|
4624
5240
|
|
|
5241
|
+
item.setContentWidth(width);
|
|
5242
|
+
|
|
5243
|
+
var startTime = item.getStartTime();
|
|
5244
|
+
var endTime = item.getEndTime();
|
|
5245
|
+
var loc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, startTime, series._length);
|
|
5246
|
+
var endLoc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, endTime, series._length);
|
|
5247
|
+
|
|
5248
|
+
if (item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT) {
|
|
5249
|
+
// special duration-event bubble width matches the duration length with min width applied
|
|
5250
|
+
durationWidth = Math.max(endLoc - loc, DvtTimelineStyleUtils.getMinDurationEvent());
|
|
5251
|
+
|
|
5252
|
+
if (durationWidth < width) {
|
|
5253
|
+
width = durationWidth + width + DvtTimelineStyleUtils.getContentBubbleSpacing();
|
|
5254
|
+
} else {
|
|
5255
|
+
width = durationWidth;
|
|
5256
|
+
}
|
|
5257
|
+
}
|
|
5258
|
+
|
|
5259
|
+
// check viewport collision
|
|
5260
|
+
DvtTimelineSeriesItemRenderer.checkEndViewportCollision(item, series, isRTL, width);
|
|
5261
|
+
|
|
5262
|
+
// for collision, need the start position to be -contentWidth
|
|
5263
|
+
if (item.getEndViewportCollision() && durationWidth === null) {
|
|
5264
|
+
width = 2 * width + DvtTimelineStyleUtils.getContentBubbleSpacing();
|
|
5265
|
+
}
|
|
4625
5266
|
item.setWidth(width);
|
|
4626
5267
|
item.setHeight(height);
|
|
5268
|
+
item.setDurationWidth(durationWidth);
|
|
4627
5269
|
item._content = content;
|
|
4628
5270
|
|
|
4629
5271
|
var spacing = series.calculateSpacing(item, index);
|
|
@@ -4640,103 +5282,137 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4640
5282
|
*/
|
|
4641
5283
|
DvtTimelineSeriesItemRenderer._renderBubble = function(item, series, container, animationElems)
|
|
4642
5284
|
{
|
|
5285
|
+
var bubble, innerBubble, contentBubble, endViewportCollision, flipContentBubble;
|
|
5286
|
+
var bubbleArray, innerBubbleArray, contentBubbleArray;
|
|
4643
5287
|
var context = series.getCtx();
|
|
4644
5288
|
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
4645
5289
|
|
|
4646
5290
|
var id = item.getId();
|
|
4647
|
-
|
|
4648
|
-
|
|
5291
|
+
|
|
5292
|
+
// if padding is specified, use that value. otherwise default to 5.
|
|
5293
|
+
var padding = Number(DvtTimelineStyleUtils.getBubblePadding(item._timeline.Options));
|
|
5294
|
+
var borderRadius = Number(DvtTimelineStyleUtils.getBubbleRadius(item._timeline.Options));
|
|
4649
5295
|
var content = item._content;
|
|
5296
|
+
|
|
5297
|
+
var overflowContent = DvtTimelineSeriesItemRenderer._isOverflow(item);
|
|
4650
5298
|
item._content = null;
|
|
4651
5299
|
|
|
4652
5300
|
var nodeWidth = item.getWidth();
|
|
5301
|
+
var nodeContentWidth = item.getContentWidth();
|
|
5302
|
+
var nodeDurationWidth = item.getDurationWidth();
|
|
4653
5303
|
var nodeHeight = item.getHeight();
|
|
4654
5304
|
|
|
4655
5305
|
// draw the bubble
|
|
4656
5306
|
var bubbleId = '_bubble_' + id;
|
|
4657
|
-
if (
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
2, nodeWidth - 2, 2, nodeWidth - 2, nodeHeight - 2, 2, nodeHeight - 2, 2, 2];
|
|
5307
|
+
if (item._timeline.getCtx().getThemeBehavior() === 'alta') {
|
|
5308
|
+
// Keep the Alta bubble behavior until we can remove
|
|
5309
|
+
if (series.isVertical()) {
|
|
5310
|
+
var offset = nodeHeight / 2;
|
|
5311
|
+
var startOffset = offset - 6;
|
|
5312
|
+
var endOffset = offset + 6;
|
|
5313
|
+
if (!isRTL && series.isInverted() || isRTL && !series.isInverted()) {
|
|
5314
|
+
bubbleArray = [0, 0, 0, startOffset, -6, offset, 0, endOffset, 0, nodeHeight, nodeWidth, nodeHeight, nodeWidth, 0, 0, 0];
|
|
5315
|
+
innerBubbleArray = [2, 2, 2, startOffset, -4, offset, 2, endOffset,
|
|
5316
|
+
2, nodeHeight - 2, nodeWidth - 2, nodeHeight - 2, nodeWidth - 2, 2, 2, 2];
|
|
5317
|
+
} else {
|
|
5318
|
+
bubbleArray = [0, 0, 0, nodeHeight, nodeWidth, nodeHeight, nodeWidth, endOffset, nodeWidth + 6, offset, nodeWidth, startOffset, nodeWidth, 0, 0, 0];
|
|
5319
|
+
innerBubbleArray = [2, 2, 2, nodeHeight - 2, nodeWidth - 2, nodeHeight - 2, nodeWidth - 2, endOffset,
|
|
5320
|
+
nodeWidth + 4, offset, nodeWidth - 2, startOffset, nodeWidth - 2, 2, 2, 2];
|
|
5321
|
+
}
|
|
5322
|
+
} else {
|
|
5323
|
+
if (!isRTL) {
|
|
5324
|
+
offset = DvtTimelineStyleUtils.getBubbleOffset();
|
|
5325
|
+
} else {
|
|
5326
|
+
offset = nodeWidth - DvtTimelineStyleUtils.getBubbleOffset();
|
|
5327
|
+
}
|
|
5328
|
+
startOffset = offset - 6;
|
|
5329
|
+
endOffset = offset + 6;
|
|
5330
|
+
if (series.isInverted()) {
|
|
5331
|
+
bubbleArray = [0, 0, startOffset, 0, offset, -6, endOffset, 0, nodeWidth, 0, nodeWidth, nodeHeight, 0, nodeHeight, 0, 0];
|
|
5332
|
+
innerBubbleArray = [2, 2, startOffset, 2, offset, -4, endOffset,
|
|
5333
|
+
2, nodeWidth - 2, 2, nodeWidth - 2, nodeHeight - 2, 2, nodeHeight - 2, 2, 2];
|
|
5334
|
+
} else {
|
|
5335
|
+
bubbleArray = [0, 0, 0, nodeHeight, startOffset, nodeHeight, offset, nodeHeight + 6, endOffset, nodeHeight, nodeWidth, nodeHeight, nodeWidth, 0, 0, 0];
|
|
5336
|
+
innerBubbleArray = [2, 2, 2, nodeHeight - 2, startOffset, nodeHeight - 2, offset, nodeHeight + 4, endOffset,
|
|
5337
|
+
nodeHeight - 2, nodeWidth - 2, nodeHeight - 2, nodeWidth - 2, 2, 2, 2];
|
|
5338
|
+
}
|
|
4690
5339
|
}
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
5340
|
+
bubble = new dvt.Polygon(context, bubbleArray, bubbleId);
|
|
5341
|
+
innerBubble = new dvt.Polygon(context, innerBubbleArray, bubbleId + '_i');
|
|
5342
|
+
} else {
|
|
5343
|
+
var triangleIconSize = DvtTimelineStyleUtils.getContentBubbleArrow();
|
|
5344
|
+
endViewportCollision = item.getEndViewportCollision();
|
|
5345
|
+
flipContentBubble = (isRTL && !endViewportCollision) || (!isRTL && endViewportCollision);
|
|
5346
|
+
// Invert not required as top vs bottom priority stacking does not affect bubble point array
|
|
5347
|
+
if (flipContentBubble) {
|
|
5348
|
+
contentBubbleArray = [0, 0, nodeContentWidth, 0, nodeContentWidth, nodeHeight/2 - triangleIconSize, nodeContentWidth + triangleIconSize, nodeHeight/2, nodeContentWidth, nodeHeight/2 + triangleIconSize, nodeContentWidth, nodeHeight, 0, nodeHeight, 0, 0];
|
|
5349
|
+
} else {
|
|
5350
|
+
contentBubbleArray = [0, 0, 0, nodeHeight/2 - triangleIconSize, -triangleIconSize, nodeHeight/2, 0, nodeHeight/2 + triangleIconSize, 0, nodeHeight, nodeContentWidth, nodeHeight, nodeContentWidth, 0, 0, 0];
|
|
4696
5351
|
}
|
|
4697
|
-
}
|
|
4698
|
-
var bubble = new dvt.Polygon(context, bubbleArray, bubbleId);
|
|
4699
|
-
var innerBubble = new dvt.Polygon(context, innerBubbleArray, bubbleId + '_i');
|
|
4700
|
-
|
|
4701
|
-
innerBubble.setSolidFill(DvtTimelineStyleUtils.getItemInnerFillColor());
|
|
4702
5352
|
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
content.setTranslate(marginStart, marginTop);
|
|
4706
|
-
} else {
|
|
4707
|
-
var customRenderer = item._timeline.getOptions().itemBubbleContentRenderer;
|
|
5353
|
+
contentBubble = new dvt.Polygon(context, contentBubbleArray, bubbleId + '_ct');
|
|
5354
|
+
contentBubble.setSolidFill(DvtTimelineStyleUtils.getContentBubbleBackgroundColor(item._timeline.getOptions()));
|
|
4708
5355
|
|
|
4709
|
-
if (
|
|
4710
|
-
|
|
4711
|
-
} else {
|
|
4712
|
-
content.setTranslate(marginStart, marginTop);
|
|
5356
|
+
if (nodeDurationWidth) {
|
|
5357
|
+
nodeWidth = nodeDurationWidth;
|
|
4713
5358
|
}
|
|
5359
|
+
bubble = new dvt.Rect(context, 0, 0, nodeWidth, nodeHeight, bubbleId);
|
|
5360
|
+
innerBubble = new dvt.Rect(context, 2, 2, nodeWidth - 4, nodeHeight - 4, bubbleId + '_i');
|
|
5361
|
+
bubble.setCornerRadius(borderRadius);
|
|
5362
|
+
innerBubble.setCornerRadius(borderRadius);
|
|
4714
5363
|
}
|
|
5364
|
+
|
|
5365
|
+
innerBubble.setSolidFill(DvtTimelineStyleUtils.getItemInnerFillColor());
|
|
4715
5366
|
bubble.addChild(innerBubble);
|
|
4716
|
-
bubble.addChild(content);
|
|
4717
5367
|
|
|
5368
|
+
// set up bubbleContainer
|
|
4718
5369
|
var bubbleContainerId = '_bt_' + id;
|
|
4719
5370
|
var bubbleContainer = new DvtTimelineSeriesItem(context, bubbleContainerId);
|
|
5371
|
+
|
|
5372
|
+
// associate the node with the marker
|
|
5373
|
+
bubbleContainer._node = item;
|
|
5374
|
+
|
|
5375
|
+
// associate the displayable with the node
|
|
5376
|
+
item.setBubble(bubbleContainer);
|
|
5377
|
+
item.setContentBubble(contentBubble);
|
|
5378
|
+
|
|
4720
5379
|
if (animationElems)
|
|
4721
5380
|
{
|
|
4722
5381
|
bubbleContainer.setAlpha(0);
|
|
4723
5382
|
animationElems.push(bubbleContainer);
|
|
4724
5383
|
}
|
|
4725
|
-
|
|
5384
|
+
|
|
5385
|
+
// set up padding around content and add to container
|
|
5386
|
+
var contentPadding = DvtTimelineSeriesItemRenderer.calcPadding(item, isRTL, padding, nodeWidth, overflowContent, content);
|
|
5387
|
+
if (overflowContent && (item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT || item._timeline.isDiscreteNavigationMode())) {
|
|
5388
|
+
endViewportCollision = item.getEndViewportCollision();
|
|
5389
|
+
flipContentBubble = (isRTL && !endViewportCollision) || (!isRTL && endViewportCollision);
|
|
5390
|
+
|
|
5391
|
+
var contentBubbleAdjust = (contentPadding + 15.5) * (flipContentBubble ? -1 : 1);
|
|
5392
|
+
// if overflow, use the contentBubble to hold content. Otherwise, use the bubble
|
|
5393
|
+
contentBubble.setTranslateX(contentBubbleAdjust);
|
|
5394
|
+
contentBubble.addChild(content);
|
|
5395
|
+
content.setTranslate(padding, padding);
|
|
5396
|
+
bubbleContainer.addChild(bubble);
|
|
5397
|
+
bubbleContainer.addChild(contentBubble);
|
|
5398
|
+
} else {
|
|
5399
|
+
// if not in viewport and in navMode using duration event, hide content to prevent overflowing into viewport
|
|
5400
|
+
var notInViewport = item._timeline._viewStartTime > item.getEndTime() || item._timeline._viewEndTime < item.getStartTime();
|
|
5401
|
+
if (item._timeline.isDiscreteNavigationMode() && notInViewport && item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT) {
|
|
5402
|
+
content.setVisible();
|
|
5403
|
+
}
|
|
5404
|
+
content.setTranslate(contentPadding, padding);
|
|
5405
|
+
bubble.addChild(content);
|
|
5406
|
+
bubbleContainer.addChild(bubble);
|
|
5407
|
+
}
|
|
4726
5408
|
if (ojtimeaxisToolkit.TimeAxisUtils.supportsTouch())
|
|
4727
5409
|
dvt.ToolkitUtils.setAttrNullNS(bubbleContainer._elem, 'id', bubbleContainer._id);
|
|
4728
5410
|
|
|
4729
|
-
// associate the node with the marker
|
|
4730
|
-
bubbleContainer._node = item;
|
|
4731
|
-
|
|
4732
|
-
// associate the displayable with the node
|
|
4733
|
-
item.setBubble(bubbleContainer);
|
|
4734
5411
|
bubbleContainer.applyState(DvtTimelineSeriesItem.ENABLED_STATE_KEY);
|
|
4735
5412
|
bubbleContainer.setClassName('oj-timeline-item-bubble');
|
|
4736
5413
|
|
|
4737
5414
|
if (item.getLoc() >= 0)
|
|
4738
5415
|
container.addChild(bubbleContainer);
|
|
4739
|
-
|
|
4740
5416
|
bubbleContainer.setAriaRole('img');
|
|
4741
5417
|
series._callbackObj.EventManager.associate(bubbleContainer, item);
|
|
4742
5418
|
};
|
|
@@ -4778,10 +5454,15 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4778
5454
|
}
|
|
4779
5455
|
else
|
|
4780
5456
|
{
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
5457
|
+
var bubbleOffsetVal = item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT ? 0 : DvtTimelineStyleUtils.getBubbleOffset();
|
|
5458
|
+
if (!isRTL){
|
|
5459
|
+
transX = loc - bubbleOffsetVal;
|
|
5460
|
+
} else {
|
|
5461
|
+
transX = series._length - loc - nodeWidth + bubbleOffsetVal;
|
|
5462
|
+
if (DvtTimelineSeriesItemRenderer._isOverflow(item)) {
|
|
5463
|
+
transX += item.getContentWidth();
|
|
5464
|
+
}
|
|
5465
|
+
}
|
|
4785
5466
|
if (!series.isInverted())
|
|
4786
5467
|
{
|
|
4787
5468
|
if (!series.isTopToBottom())
|
|
@@ -4974,6 +5655,11 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4974
5655
|
*/
|
|
4975
5656
|
DvtTimelineSeriesItemRenderer._updateBubble = function(item, series, index)
|
|
4976
5657
|
{
|
|
5658
|
+
// Need to update the bubble widths before spacing if applicable
|
|
5659
|
+
if (item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT) {
|
|
5660
|
+
DvtTimelineSeriesItemRenderer._updateDurationEvent(item, series);
|
|
5661
|
+
}
|
|
5662
|
+
|
|
4977
5663
|
var spacing = series.calculateSpacing(item, index);
|
|
4978
5664
|
item.setSpacing(spacing);
|
|
4979
5665
|
};
|
|
@@ -4996,11 +5682,18 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
4996
5682
|
var loc = item.getLoc();
|
|
4997
5683
|
var spacing = item.getSpacing();
|
|
4998
5684
|
|
|
5685
|
+
// clear feeler if duration-event
|
|
5686
|
+
if (item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT) {
|
|
5687
|
+
item.setFeeler(null);
|
|
5688
|
+
return;
|
|
5689
|
+
}
|
|
5690
|
+
|
|
4999
5691
|
// draw the feeler
|
|
5000
5692
|
var feelerId = '_feeler_' + id;
|
|
5693
|
+
var durationSize = item.getItemType() === DvtTimelineSeriesNode.DURATION_BAR ? item.getDurationSize() : 0;
|
|
5001
5694
|
if (!series.isInverted())
|
|
5002
5695
|
{
|
|
5003
|
-
var feelerY = series.Height + overflowOffset -
|
|
5696
|
+
var feelerY = series.Height + overflowOffset - durationSize;
|
|
5004
5697
|
if (!series.isTopToBottom())
|
|
5005
5698
|
var feelerHeight = series.Height - spacing + overflowOffset;
|
|
5006
5699
|
else
|
|
@@ -5008,7 +5701,8 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5008
5701
|
}
|
|
5009
5702
|
else
|
|
5010
5703
|
{
|
|
5011
|
-
feelerY
|
|
5704
|
+
// only shorten feelerY if duration bar
|
|
5705
|
+
feelerY = durationSize;
|
|
5012
5706
|
if (series.isTopToBottom())
|
|
5013
5707
|
feelerHeight = spacing;
|
|
5014
5708
|
else
|
|
@@ -5045,7 +5739,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5045
5739
|
*/
|
|
5046
5740
|
DvtTimelineSeriesItemRenderer._updateFeeler = function(item, series, overflowOffset, animator)
|
|
5047
5741
|
{
|
|
5048
|
-
if (series.isVertical())
|
|
5742
|
+
if (series.isVertical() || item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT)
|
|
5049
5743
|
{
|
|
5050
5744
|
item.setFeeler(null);
|
|
5051
5745
|
return;
|
|
@@ -5055,9 +5749,10 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5055
5749
|
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
5056
5750
|
|
|
5057
5751
|
var feeler = item.getFeeler();
|
|
5752
|
+
var durationSize = item.getItemType() === DvtTimelineSeriesNode.DURATION_BAR ? item.getDurationSize() : 0;
|
|
5058
5753
|
if (!series.isInverted())
|
|
5059
5754
|
{
|
|
5060
|
-
var feelerY = series.Height + overflowOffset -
|
|
5755
|
+
var feelerY = series.Height + overflowOffset - durationSize;
|
|
5061
5756
|
if (!series.isTopToBottom())
|
|
5062
5757
|
var feelerHeight = series.Height - item.getSpacing() + overflowOffset;
|
|
5063
5758
|
else
|
|
@@ -5065,7 +5760,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5065
5760
|
}
|
|
5066
5761
|
else
|
|
5067
5762
|
{
|
|
5068
|
-
feelerY =
|
|
5763
|
+
feelerY = durationSize;
|
|
5069
5764
|
if (series.isTopToBottom())
|
|
5070
5765
|
feelerHeight = item.getSpacing();
|
|
5071
5766
|
else
|
|
@@ -5194,15 +5889,16 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5194
5889
|
*/
|
|
5195
5890
|
DvtTimelineSeriesItemRenderer._updateDuration = function(item, series, overflowOffset, animator)
|
|
5196
5891
|
{
|
|
5892
|
+
var loc, endLoc;
|
|
5197
5893
|
var context = series.getCtx();
|
|
5198
5894
|
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
5199
5895
|
|
|
5200
5896
|
var duration = item.getDurationBar();
|
|
5201
5897
|
if (duration != null)
|
|
5202
5898
|
{
|
|
5203
|
-
|
|
5899
|
+
loc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, item.getStartTime(), series._length);
|
|
5204
5900
|
var durationSize = 22 + 10 * item.getDurationLevel();
|
|
5205
|
-
|
|
5901
|
+
endLoc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, item.getEndTime(), series._length);
|
|
5206
5902
|
if (series.isVertical())
|
|
5207
5903
|
{
|
|
5208
5904
|
var durationTransY = 0;
|
|
@@ -5267,6 +5963,253 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5267
5963
|
}
|
|
5268
5964
|
};
|
|
5269
5965
|
|
|
5966
|
+
|
|
5967
|
+
/**
|
|
5968
|
+
* Updates the rendering of a timeline series item duration event.
|
|
5969
|
+
* @param {DvtTimelineSeriesItem} item The item being updated.
|
|
5970
|
+
* @param {DvtTimelineSeries} series The series containing this item.
|
|
5971
|
+
* @private
|
|
5972
|
+
*/
|
|
5973
|
+
DvtTimelineSeriesItemRenderer._updateDurationEvent = function(item, series)
|
|
5974
|
+
{
|
|
5975
|
+
var nodeWidth, content, contentBubbleArray;
|
|
5976
|
+
var context = series.getCtx();
|
|
5977
|
+
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
5978
|
+
var loc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, item.getStartTime(), series._length);
|
|
5979
|
+
var endLoc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, item.getEndTime(), series._length);
|
|
5980
|
+
var bubble = item.getBubble();
|
|
5981
|
+
var durationBubble = bubble.getChildAt(0);
|
|
5982
|
+
var durationInnerBubble = durationBubble.getChildAt(0);
|
|
5983
|
+
var contentBubble = item.getContentBubble();
|
|
5984
|
+
var contentWidth = item.getContentWidth();
|
|
5985
|
+
var nodeHeight = item.getHeight();
|
|
5986
|
+
var durationWidth = Math.max(endLoc - loc, DvtTimelineStyleUtils.getMinDurationEvent());
|
|
5987
|
+
var contentWidth = item.getContentWidth();
|
|
5988
|
+
var triangleIconSize = DvtTimelineStyleUtils.getContentBubbleArrow();
|
|
5989
|
+
var navMode = item._timeline.isDiscreteNavigationMode();
|
|
5990
|
+
|
|
5991
|
+
// resize the bubble and address overflow content if needed
|
|
5992
|
+
durationBubble.setWidth(durationWidth);
|
|
5993
|
+
durationInnerBubble.setWidth(durationWidth - 4);
|
|
5994
|
+
|
|
5995
|
+
// Check viewport collision
|
|
5996
|
+
var previousCollision = item.getEndViewportCollision();
|
|
5997
|
+
|
|
5998
|
+
// check to use durationWidth or overflow width
|
|
5999
|
+
var checkWidth = contentWidth < durationWidth ? durationWidth : durationWidth + contentWidth;
|
|
6000
|
+
DvtTimelineSeriesItemRenderer.checkEndViewportCollision(item, series, isRTL, checkWidth);
|
|
6001
|
+
var endViewportCollision = item.getEndViewportCollision();
|
|
6002
|
+
var flipContentBubble = (isRTL && !endViewportCollision) || (!isRTL && endViewportCollision);
|
|
6003
|
+
|
|
6004
|
+
if (previousCollision !== endViewportCollision) {
|
|
6005
|
+
// if collision state changed, need to flip the item bubble
|
|
6006
|
+
if (flipContentBubble) {
|
|
6007
|
+
contentBubbleArray = [0, 0, contentWidth, 0, contentWidth, nodeHeight/2 - triangleIconSize, contentWidth + triangleIconSize, nodeHeight/2, contentWidth, nodeHeight/2 + triangleIconSize, contentWidth, nodeHeight, 0, nodeHeight, 0, 0];
|
|
6008
|
+
} else {
|
|
6009
|
+
contentBubbleArray = [0, 0, 0, nodeHeight/2 - triangleIconSize, -triangleIconSize, nodeHeight/2, 0, nodeHeight/2 + triangleIconSize, 0, nodeHeight, contentWidth, nodeHeight, contentWidth, 0, 0, 0];
|
|
6010
|
+
}
|
|
6011
|
+
contentBubble.setPoints(contentBubbleArray);
|
|
6012
|
+
}
|
|
6013
|
+
|
|
6014
|
+
// Check overflow is true.
|
|
6015
|
+
// If overflow false, then this is discrete viewport navigation mode and we need to avoid showing
|
|
6016
|
+
// overflow to prevent it from layering into the current viewport.
|
|
6017
|
+
if (DvtTimelineSeriesItemRenderer._isOverflow(item)) {
|
|
6018
|
+
nodeWidth = durationWidth + contentWidth + DvtTimelineStyleUtils.getContentBubbleSpacing();
|
|
6019
|
+
|
|
6020
|
+
// need to enable overflow if content is still in durationEventBubble
|
|
6021
|
+
if (durationBubble.getNumChildren() > 1) {
|
|
6022
|
+
content = durationBubble.getChildAt(1);
|
|
6023
|
+
contentBubble.addChild(content);
|
|
6024
|
+
bubble.addChild(contentBubble);
|
|
6025
|
+
}
|
|
6026
|
+
var padding = Number(DvtTimelineStyleUtils.getBubblePadding(item._timeline.Options));
|
|
6027
|
+
var contentPadding = DvtTimelineSeriesItemRenderer.calcPadding(item, isRTL, padding, durationWidth, true, content);
|
|
6028
|
+
|
|
6029
|
+
var contentBubbleAdjust = (contentPadding + 15.5) * (flipContentBubble ? -1 : 1);
|
|
6030
|
+
contentBubble.setTranslateX(contentBubbleAdjust);
|
|
6031
|
+
|
|
6032
|
+
// set content to visible if in discrete viewport navigation mode since it may have been hidden outside of viewport
|
|
6033
|
+
if (navMode) {
|
|
6034
|
+
if (!content) {
|
|
6035
|
+
content = contentBubble.getChildAt(0);
|
|
6036
|
+
}
|
|
6037
|
+
content.setVisible('visible');
|
|
6038
|
+
}
|
|
6039
|
+
} else {
|
|
6040
|
+
nodeWidth = durationWidth;
|
|
6041
|
+
|
|
6042
|
+
// need to disable overflow if content is still in contentBubble
|
|
6043
|
+
if (contentBubble.getNumChildren() > 0) {
|
|
6044
|
+
content = contentBubble.getChildAt(0);
|
|
6045
|
+
durationBubble.addChild(content);
|
|
6046
|
+
bubble.removeChild(contentBubble);
|
|
6047
|
+
}
|
|
6048
|
+
var padding = Number(DvtTimelineStyleUtils.getBubblePadding(item._timeline.Options));
|
|
6049
|
+
var contentPadding = DvtTimelineSeriesItemRenderer.calcPadding(item, isRTL, padding, durationWidth, false, content);
|
|
6050
|
+
|
|
6051
|
+
// hide content if it's not in viewport for discrete viewport navigation mode to prevent layering into current viewport
|
|
6052
|
+
if (!content) {
|
|
6053
|
+
content = durationBubble.getChildAt(1);
|
|
6054
|
+
}
|
|
6055
|
+
var notInViewport = item._timeline._viewStartTime > item.getEndTime() || item._timeline._viewEndTime < item.getStartTime();
|
|
6056
|
+
if (navMode && notInViewport) {
|
|
6057
|
+
content.setVisible();
|
|
6058
|
+
} else {
|
|
6059
|
+
content.setVisible('visible');
|
|
6060
|
+
content.setTranslateX(contentPadding);
|
|
6061
|
+
}
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6064
|
+
// update the item with the new widths;
|
|
6065
|
+
item.setWidth(nodeWidth);
|
|
6066
|
+
item.setDurationWidth(Math.max(durationWidth, DvtTimelineStyleUtils.getMinDurationEvent()));
|
|
6067
|
+
};
|
|
6068
|
+
|
|
6069
|
+
/**
|
|
6070
|
+
* Checks if the content is in overflow mode
|
|
6071
|
+
* @param {DvtTimelineSeriesItem} item The item being updated.
|
|
6072
|
+
* @return {boolean} true if overflow, false otherwise
|
|
6073
|
+
* @private
|
|
6074
|
+
*/
|
|
6075
|
+
DvtTimelineSeriesItemRenderer._isOverflow = function (item)
|
|
6076
|
+
{
|
|
6077
|
+
var contentWidth = item.getContentWidth();
|
|
6078
|
+
var durationWidth = item.getDurationWidth();
|
|
6079
|
+
var endViewportCollision = item.getEndViewportCollision();
|
|
6080
|
+
var navMode = item._timeline.isDiscreteNavigationMode();
|
|
6081
|
+
// no overflow behavior if not duration-event right now
|
|
6082
|
+
if (item.getItemType() !== DvtTimelineSeriesNode.DURATION_EVENT) {
|
|
6083
|
+
return false;
|
|
6084
|
+
}
|
|
6085
|
+
|
|
6086
|
+
// ignore items not in current viewport
|
|
6087
|
+
var notInViewport = item._timeline._viewStartTime > item.getEndTime() || item._timeline._viewEndTime < item.getStartTime();
|
|
6088
|
+
if (navMode && notInViewport) {
|
|
6089
|
+
return false;
|
|
6090
|
+
}
|
|
6091
|
+
|
|
6092
|
+
// edge case in nav mode where the item bubble breaks start viewport edge
|
|
6093
|
+
if (navMode && DvtTimelineSeriesItemRenderer.checkStartViewportCollision(item)) {
|
|
6094
|
+
var loc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(item._timeline._start, item._timeline._end, item._timeline._viewStartTime, item._timeline.getContentLength());
|
|
6095
|
+
var endLoc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(item._timeline._start, item._timeline._end, item.getEndTime(), item._timeline.getContentLength());
|
|
6096
|
+
durationWidth = endLoc - loc;
|
|
6097
|
+
}
|
|
6098
|
+
|
|
6099
|
+
// if content is larger than the item, use overflow
|
|
6100
|
+
// if item is at viewport edge also use overflow
|
|
6101
|
+
if (durationWidth < contentWidth || endViewportCollision) {
|
|
6102
|
+
return true;
|
|
6103
|
+
}
|
|
6104
|
+
return false;
|
|
6105
|
+
};
|
|
6106
|
+
|
|
6107
|
+
/**
|
|
6108
|
+
* Calculate the padding for the content
|
|
6109
|
+
* @param {DvtTimelineSeriesItem} item The item being updated.
|
|
6110
|
+
* @param {boolean} isRTL RTL boolean value
|
|
6111
|
+
* @param {Number} padding default value for the bubble padding from the css
|
|
6112
|
+
* @param {Number} nodeWidth width of the event bubble (either duration or item)
|
|
6113
|
+
* @param {boolean} isOverflow boolean if overflow padding should be calculated
|
|
6114
|
+
* @param {Container} content content to grab x position
|
|
6115
|
+
* @return {Number} padding value for the content
|
|
6116
|
+
* @private
|
|
6117
|
+
*/
|
|
6118
|
+
DvtTimelineSeriesItemRenderer.calcPadding = function (item, isRTL, padding, nodeWidth, isOverflow, content)
|
|
6119
|
+
{
|
|
6120
|
+
var contentPadding = padding;
|
|
6121
|
+
var customRenderer = item._timeline.getOptions().itemBubbleContentRenderer;
|
|
6122
|
+
|
|
6123
|
+
if (isRTL && customRenderer) {
|
|
6124
|
+
contentPadding = nodeWidth - padding - 2 * content._x;
|
|
6125
|
+
}
|
|
6126
|
+
|
|
6127
|
+
var endViewportCollision = item.getEndViewportCollision();
|
|
6128
|
+
// check using isOverflow to determine padding
|
|
6129
|
+
if (isOverflow) {
|
|
6130
|
+
var flipContentPadding = (isRTL && !endViewportCollision) || (!isRTL && endViewportCollision);
|
|
6131
|
+
if (flipContentPadding) {
|
|
6132
|
+
nodeWidth = item.getContentWidth();
|
|
6133
|
+
}
|
|
6134
|
+
contentPadding = contentPadding + (nodeWidth - padding);
|
|
6135
|
+
}
|
|
6136
|
+
|
|
6137
|
+
// if viewport start collision and in discrete nav mode, adjust content to start in the viewport
|
|
6138
|
+
if (item._timeline.isDiscreteNavigationMode() && !isOverflow && item.getItemType() === DvtTimelineSeriesNode.DURATION_EVENT) {
|
|
6139
|
+
var viewStartCollision = DvtTimelineSeriesItemRenderer.checkStartViewportCollision(item);
|
|
6140
|
+
if (viewStartCollision) {
|
|
6141
|
+
var endLoc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(item._timeline._start, item._timeline._end, item._timeline._viewStartTime, item._timeline.getContentLength());
|
|
6142
|
+
var loc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(item._timeline._start, item._timeline._end, item.getStartTime(), item._timeline.getContentLength());
|
|
6143
|
+
var paddingAdjustment = endLoc - loc;
|
|
6144
|
+
if (isRTL) {
|
|
6145
|
+
contentPadding += paddingAdjustment;
|
|
6146
|
+
} else {
|
|
6147
|
+
contentPadding -= paddingAdjustment;
|
|
6148
|
+
}
|
|
6149
|
+
}
|
|
6150
|
+
}
|
|
6151
|
+
|
|
6152
|
+
return contentPadding;
|
|
6153
|
+
};
|
|
6154
|
+
|
|
6155
|
+
/**
|
|
6156
|
+
* Checks the start viewport collision parameter.
|
|
6157
|
+
* @param {DvtTimelineSeriesItem} item The item being updated.
|
|
6158
|
+
* @return {boolean} true if overflow, false otherwise
|
|
6159
|
+
* @private
|
|
6160
|
+
*/
|
|
6161
|
+
DvtTimelineSeriesItemRenderer.checkStartViewportCollision = function (item)
|
|
6162
|
+
{
|
|
6163
|
+
return item._timeline._viewStartTime >= item.getStartTime() && item._timeline._viewStartTime <= item.getEndTime()
|
|
6164
|
+
};
|
|
6165
|
+
|
|
6166
|
+
/**
|
|
6167
|
+
* Sets the end viewport collision parameter. Will be used to set the flipped overflow container
|
|
6168
|
+
* @param {DvtTimelineSeriesItem} item The item being updated.
|
|
6169
|
+
* @param {DvtTimelineSeries} series The series containing this item.
|
|
6170
|
+
* @param {boolean} isRTL RTL boolean value
|
|
6171
|
+
* @param {Number} width width of the event bubble (either duration or item)
|
|
6172
|
+
* @private
|
|
6173
|
+
*/
|
|
6174
|
+
DvtTimelineSeriesItemRenderer.checkEndViewportCollision = function (item, series, isRTL, width)
|
|
6175
|
+
{
|
|
6176
|
+
var renderEnd;
|
|
6177
|
+
var navButtonBackgroundWidth = DvtTimelineStyleUtils.getNavButtonBackgroundWidth();
|
|
6178
|
+
var startTime = item.getStartTime();
|
|
6179
|
+
var loc = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, startTime, series._length);
|
|
6180
|
+
var navMode = item._timeline.isDiscreteNavigationMode();
|
|
6181
|
+
// use viewport end time vs timeline end time if in discrete navigation mode
|
|
6182
|
+
var endViewportPos = navMode ? ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(series._start, series._end, item._timeline._viewEndTime, series._length) :
|
|
6183
|
+
item._timeline._contentLength;
|
|
6184
|
+
item.setEndViewportCollision(false);
|
|
6185
|
+
|
|
6186
|
+
// no collision behavior if not duration-event
|
|
6187
|
+
if (item.getItemType() !== DvtTimelineSeriesNode.DURATION_EVENT) {
|
|
6188
|
+
return;
|
|
6189
|
+
}
|
|
6190
|
+
|
|
6191
|
+
// add half the preview wings to make it look more natural if it would be slightly too long
|
|
6192
|
+
var collisionAdjustment = DvtTimelineStyleUtils.getNavButtonBackgroundWidth()/2;
|
|
6193
|
+
if (!isRTL) {
|
|
6194
|
+
renderEnd = loc + DvtTimelineStyleUtils.getContentBubbleSpacing() + width;
|
|
6195
|
+
|
|
6196
|
+
if (renderEnd > endViewportPos + collisionAdjustment) {
|
|
6197
|
+
// need to use overflow
|
|
6198
|
+
item.setEndViewportCollision(true);
|
|
6199
|
+
}
|
|
6200
|
+
} else {
|
|
6201
|
+
renderEnd = series._length - loc - width - DvtTimelineStyleUtils.getContentBubbleSpacing();
|
|
6202
|
+
var startViewportPos = item._timeline._startPos;
|
|
6203
|
+
if (navMode) {
|
|
6204
|
+
var adjustedViewEndTime = ojtimeaxisToolkit.TimeAxisUtils.getPositionDate(series._start, series._end, endViewportPos + navButtonBackgroundWidth, series._length);
|
|
6205
|
+
startViewportPos = series._length + item._timeline.getDiscreteViewportPanningLength(series._start, adjustedViewEndTime) + item._timeline._discreteOffset;
|
|
6206
|
+
}
|
|
6207
|
+
if (startViewportPos + collisionAdjustment > renderEnd) {
|
|
6208
|
+
item.setEndViewportCollision(true);
|
|
6209
|
+
}
|
|
6210
|
+
}
|
|
6211
|
+
};
|
|
6212
|
+
|
|
5270
6213
|
/**
|
|
5271
6214
|
* TimelineSeries JSON Parser
|
|
5272
6215
|
* @param {DvtTimelineSeries} timelineSeries The owning timelineSeries component.
|
|
@@ -5681,11 +6624,12 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5681
6624
|
{
|
|
5682
6625
|
series._canvasOffsetX = series._canvas.getTranslateX();
|
|
5683
6626
|
series._canvasOffsetY = series._canvas.getTranslateY();
|
|
5684
|
-
series._canvas.setTranslateX(
|
|
6627
|
+
series._canvas.setTranslateX(series._offset);
|
|
5685
6628
|
series._canvas.setTranslateY(0);
|
|
5686
6629
|
return;
|
|
5687
6630
|
}
|
|
5688
6631
|
series._canvas = new dvt.Container(series.getCtx(), 'canvas');
|
|
6632
|
+
series._canvas.setTranslateX(series._offset);
|
|
5689
6633
|
series.addChild(series._canvas);
|
|
5690
6634
|
};
|
|
5691
6635
|
|
|
@@ -5811,7 +6755,8 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
5811
6755
|
var item = items[j];
|
|
5812
6756
|
var startTime = item.getStartTime();
|
|
5813
6757
|
var endTime = item.getEndTime();
|
|
5814
|
-
|
|
6758
|
+
// Hide duration event if duration-event mode
|
|
6759
|
+
if (endTime && endTime !== startTime && i === item.getDurationLevel() && item.getItemType() === DvtTimelineSeriesNode.DURATION_BAR)
|
|
5815
6760
|
DvtTimelineSeriesItemRenderer.renderDuration(item, series, durationBlock, overflowOffset, frAnimationElems, mvAnimator);
|
|
5816
6761
|
}
|
|
5817
6762
|
}
|
|
@@ -6321,12 +7266,21 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6321
7266
|
this._maxOverflowValue = width;
|
|
6322
7267
|
this._length = height;
|
|
6323
7268
|
this._size = width;
|
|
7269
|
+
this._offset = 0;
|
|
6324
7270
|
}
|
|
6325
7271
|
else
|
|
6326
7272
|
{
|
|
6327
|
-
this._fetchEndPos = width;
|
|
6328
7273
|
this._maxOverflowValue = height;
|
|
6329
|
-
|
|
7274
|
+
// need to adjust for nav arrows
|
|
7275
|
+
if (this._callbackObj.isDiscreteNavigationMode()) {
|
|
7276
|
+
this._offset = this._callbackObj._discreteOffset;
|
|
7277
|
+
this._length = width - 2 * this._offset;
|
|
7278
|
+
this._fetchEndPos = width - 2 * this._offset;
|
|
7279
|
+
} else {
|
|
7280
|
+
this._length = width;
|
|
7281
|
+
this._fetchEndPos = width;
|
|
7282
|
+
this._offset = 0;
|
|
7283
|
+
}
|
|
6330
7284
|
this._size = height;
|
|
6331
7285
|
}
|
|
6332
7286
|
|
|
@@ -6374,8 +7328,9 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6374
7328
|
DvtTimelineSeries.prototype._handleResize = function(width, height)
|
|
6375
7329
|
{
|
|
6376
7330
|
this._canvas.setTranslateY(0);
|
|
6377
|
-
this.
|
|
6378
|
-
|
|
7331
|
+
if (!this._callbackObj.isDiscreteNavigationMode()) {
|
|
7332
|
+
this._canvas.setTranslateX(0);
|
|
7333
|
+
}
|
|
6379
7334
|
this.Width = width;
|
|
6380
7335
|
this.Height = height;
|
|
6381
7336
|
|
|
@@ -6386,12 +7341,22 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6386
7341
|
this._maxOverflowValue = width;
|
|
6387
7342
|
this._length = height;
|
|
6388
7343
|
this._size = width;
|
|
7344
|
+
this._offset = 0;
|
|
6389
7345
|
}
|
|
6390
7346
|
else
|
|
6391
7347
|
{
|
|
6392
|
-
this._fetchEndPos = width;
|
|
6393
7348
|
this._maxOverflowValue = height;
|
|
6394
|
-
|
|
7349
|
+
// need to adjust for nav arrows
|
|
7350
|
+
if (this._callbackObj.isDiscreteNavigationMode()) {
|
|
7351
|
+
this._offset = this._callbackObj._discreteOffset;
|
|
7352
|
+
this._length = width - 2 * this._offset;
|
|
7353
|
+
this._fetchEndPos = width - 2 * this._offset;
|
|
7354
|
+
this._canvas.setTranslateX(this._offset);
|
|
7355
|
+
} else {
|
|
7356
|
+
this._length = width;
|
|
7357
|
+
this._fetchEndPos = width;
|
|
7358
|
+
this._offset = 0;
|
|
7359
|
+
}
|
|
6395
7360
|
this._size = height;
|
|
6396
7361
|
}
|
|
6397
7362
|
|
|
@@ -6518,15 +7483,17 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6518
7483
|
|
|
6519
7484
|
if (!this._isVertical)
|
|
6520
7485
|
{
|
|
6521
|
-
var
|
|
6522
|
-
var
|
|
7486
|
+
var endViewportCollisionOffset = item.getEndViewportCollision() ? item.getContentWidth() : 0;
|
|
7487
|
+
var x = item.getLoc() - endViewportCollisionOffset;
|
|
7488
|
+
var width = item.getWidth() + 16;
|
|
6523
7489
|
var hOffset = DvtTimelineStyleUtils.getBubbleSpacing();
|
|
6524
7490
|
var overlappingItems = [];
|
|
6525
7491
|
for (i = 0; i < index; i++)
|
|
6526
7492
|
{
|
|
6527
7493
|
currItem = this._items[i];
|
|
6528
|
-
currWidth = currItem.getWidth() +
|
|
6529
|
-
|
|
7494
|
+
currWidth = currItem.getWidth() + 16;
|
|
7495
|
+
endViewportCollisionOffset = currItem.getEndViewportCollision() ? currItem.getContentWidth() : 0;
|
|
7496
|
+
var currX = currItem.getLoc() - endViewportCollisionOffset;
|
|
6530
7497
|
|
|
6531
7498
|
if ((x >= currX && x <= currX + currWidth) || (currX >= x && currX <= x + width))
|
|
6532
7499
|
overlappingItems.push(currItem);
|
|
@@ -6580,8 +7547,9 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6580
7547
|
DvtTimelineSeries.prototype.calculateDurationSize = function(item, index)
|
|
6581
7548
|
{
|
|
6582
7549
|
var i, currItem;
|
|
6583
|
-
if
|
|
6584
|
-
|
|
7550
|
+
// if not in duration-bar, skip this step
|
|
7551
|
+
if (this._items == null || this._items.length === 0 || item.getItemType() !== 'duration-bar')
|
|
7552
|
+
return null;
|
|
6585
7553
|
|
|
6586
7554
|
var initialY = 1;
|
|
6587
7555
|
var startTime = item.getStartTime();
|
|
@@ -6675,7 +7643,10 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6675
7643
|
if (endTime && endTime !== item.getStartTime())
|
|
6676
7644
|
{
|
|
6677
7645
|
var span = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(this._start, this._end, endTime, this._length) - loc;
|
|
6678
|
-
|
|
7646
|
+
// don't adjust if duration-event
|
|
7647
|
+
if (item.getItemType() !== DvtTimelineSeriesNode.DURATION_EVENT ) {
|
|
7648
|
+
loc = loc + Math.min(DvtTimelineStyleUtils.getDurationFeelerOffset(), span / 2);
|
|
7649
|
+
}
|
|
6679
7650
|
}
|
|
6680
7651
|
item.setLoc(loc);
|
|
6681
7652
|
}
|
|
@@ -6769,7 +7740,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6769
7740
|
DvtTimelineSeries.prototype.setHScrollPos = function(pos)
|
|
6770
7741
|
{
|
|
6771
7742
|
if (this._canvas != null)
|
|
6772
|
-
this._canvas.setTranslateX(
|
|
7743
|
+
this._canvas.setTranslateX(this._offset - pos);
|
|
6773
7744
|
};
|
|
6774
7745
|
|
|
6775
7746
|
/**
|
|
@@ -6840,9 +7811,12 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6840
7811
|
else
|
|
6841
7812
|
this._isVertical = false;
|
|
6842
7813
|
|
|
7814
|
+
this._viewportNavigationMode = this.Options['viewportNavigationMode'];
|
|
6843
7815
|
this._hasOverview = props.hasOverview;
|
|
6844
7816
|
this._viewStartTime = props.viewStart;
|
|
6845
7817
|
this._viewEndTime = props.viewEnd;
|
|
7818
|
+
|
|
7819
|
+
this._initialViewportTimeDuration = this._viewEndTime - this._viewStartTime;
|
|
6846
7820
|
this._selectionMode = props.selectionMode;
|
|
6847
7821
|
if (this._selectionMode === 'single')
|
|
6848
7822
|
this.SelectionHandler = new dvt.SelectionHandler(this.getCtx(), dvt.SelectionHandler.TYPE_SINGLE);
|
|
@@ -6958,7 +7932,51 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
6958
7932
|
var minorAxisOptions = options['minorAxis'];
|
|
6959
7933
|
this._timeAxisOptions['scale'] = minorAxisOptions['scale'];
|
|
6960
7934
|
this._timeAxisOptions['converter'] = minorAxisOptions['converter'];
|
|
6961
|
-
this._timeAxisOptions['zoomOrder'] = minorAxisOptions['zoomOrder'];
|
|
7935
|
+
this._timeAxisOptions['zoomOrder'] = minorAxisOptions['zoomOrder'] || [minorAxisOptions['scale']];
|
|
7936
|
+
// Default scales label position
|
|
7937
|
+
this._timeAxisOptions['_scaleLabelPosition'] = {
|
|
7938
|
+
seconds: 'center',
|
|
7939
|
+
minutes: 'center',
|
|
7940
|
+
hours: 'center',
|
|
7941
|
+
days: 'center',
|
|
7942
|
+
weeks: 'center',
|
|
7943
|
+
months: 'center',
|
|
7944
|
+
quarters: 'center',
|
|
7945
|
+
years: 'center',
|
|
7946
|
+
};
|
|
7947
|
+
const isAlta = this.getCtx().getThemeBehavior() === 'alta';
|
|
7948
|
+
// Default scales label position
|
|
7949
|
+
if (isAlta) {
|
|
7950
|
+
this._timeAxisOptions['_scaleLabelPosition'] = {
|
|
7951
|
+
seconds: 'center',
|
|
7952
|
+
minutes: 'center',
|
|
7953
|
+
hours: 'center',
|
|
7954
|
+
days: 'center',
|
|
7955
|
+
weeks: 'center',
|
|
7956
|
+
months: 'center',
|
|
7957
|
+
quarters: 'center',
|
|
7958
|
+
years: 'center',
|
|
7959
|
+
};
|
|
7960
|
+
} else {
|
|
7961
|
+
this._timeAxisOptions['_scaleLabelPosition'] = {
|
|
7962
|
+
seconds: 'start',
|
|
7963
|
+
minutes: 'start',
|
|
7964
|
+
hours: 'start',
|
|
7965
|
+
days: 'center',
|
|
7966
|
+
weeks: 'start',
|
|
7967
|
+
months: 'start',
|
|
7968
|
+
quarters: 'start',
|
|
7969
|
+
years: 'start'
|
|
7970
|
+
};
|
|
7971
|
+
}
|
|
7972
|
+
// Custom scales label position
|
|
7973
|
+
this._timeAxisOptions['zoomOrder'].forEach((scale) => {
|
|
7974
|
+
if (scale && scale.name) {
|
|
7975
|
+
const labelPosition = scale.labelPosition || 'auto';
|
|
7976
|
+
const effectiveLabelPosition = labelPosition === 'auto' ? 'start' : labelPosition;
|
|
7977
|
+
this._timeAxisOptions['_scaleLabelPosition'][scale.name] = effectiveLabelPosition;
|
|
7978
|
+
}
|
|
7979
|
+
});
|
|
6962
7980
|
this._timeAxisOptions['style'] = minorAxisOptions['style'];
|
|
6963
7981
|
if (minorAxisOptions['svgStyle'])
|
|
6964
7982
|
this._timeAxisOptions['style'] = minorAxisOptions['svgStyle'];
|
|
@@ -7037,9 +8055,26 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7037
8055
|
if (this._timeAxis.hasValidOptions())
|
|
7038
8056
|
this.prepareViewportLength();
|
|
7039
8057
|
}
|
|
8058
|
+
|
|
8059
|
+
// calc discrete offset that we need to shift scrollable Canvas and time axis to align them in discrete
|
|
8060
|
+
// viewport navigation mode.
|
|
8061
|
+
if (this.isDiscreteNavigationMode()) {
|
|
8062
|
+
// Grab initial start and end times.
|
|
8063
|
+
this._discreteViewportDatePositions = [this._viewStartTime, this._viewEndTime];
|
|
8064
|
+
this._discreteViewportStartIndex = 0;
|
|
8065
|
+
this._discreteViewportCurrentIndexOffset= 0;
|
|
8066
|
+
var navButtonBackgroundWidth = DvtTimelineStyleUtils.getNavButtonBackgroundWidth();
|
|
8067
|
+
|
|
8068
|
+
this._timeAxisRatio = (this._canvasLength - (2 * navButtonBackgroundWidth))/this._canvasLength;
|
|
8069
|
+
this._discreteOffset = (this.getContentLength() - this.getContentLength() * this._timeAxisRatio)/2;
|
|
8070
|
+
}
|
|
8071
|
+
|
|
7040
8072
|
this._populateSeries();
|
|
7041
8073
|
|
|
7042
8074
|
DvtTimelineRenderer.renderTimeline(this);
|
|
8075
|
+
if (this.isDiscreteNavigationMode()) {
|
|
8076
|
+
this.doInitialPan();
|
|
8077
|
+
}
|
|
7043
8078
|
this.UpdateAriaAttributes();
|
|
7044
8079
|
|
|
7045
8080
|
// Set the timeline as the only keyboard listener
|
|
@@ -7067,7 +8102,8 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7067
8102
|
{
|
|
7068
8103
|
var item = seriesOptions.items[j];
|
|
7069
8104
|
var start = (new Date(item.start)).getTime();
|
|
7070
|
-
|
|
8105
|
+
// JET-46818 fixing issue where start = 0 (1970 - 1 - 1) also returned false
|
|
8106
|
+
if (start == null || item.start == null)
|
|
7071
8107
|
return false;
|
|
7072
8108
|
if (item.hasOwnProperty('end'))
|
|
7073
8109
|
{
|
|
@@ -7251,6 +8287,15 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7251
8287
|
this._timeZoomCanvas.removeChild(this._series[i]);
|
|
7252
8288
|
}
|
|
7253
8289
|
this._series = [];
|
|
8290
|
+
} else {
|
|
8291
|
+
// check each series to make sure the item-type is consistent
|
|
8292
|
+
for (i = 0; i < this._series.length; i++)
|
|
8293
|
+
{
|
|
8294
|
+
if (this._series[i]._items && series[i].items && this._series[i]._items[0]._data.itemType !== series[i].items[0].itemType) {
|
|
8295
|
+
this._timeZoomCanvas.removeChild(this._series[i]);
|
|
8296
|
+
this._series[i] = null;
|
|
8297
|
+
}
|
|
8298
|
+
}
|
|
7254
8299
|
}
|
|
7255
8300
|
}
|
|
7256
8301
|
else
|
|
@@ -7294,7 +8339,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7294
8339
|
if (this._series[i] == null)
|
|
7295
8340
|
{
|
|
7296
8341
|
var s = new DvtTimelineSeries(this.getCtx(), this.HandleEvent, this);
|
|
7297
|
-
this._series
|
|
8342
|
+
this._series[i] = s;
|
|
7298
8343
|
}
|
|
7299
8344
|
}
|
|
7300
8345
|
}
|
|
@@ -7476,7 +8521,8 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7476
8521
|
{
|
|
7477
8522
|
itemOption['et'] = endTime;
|
|
7478
8523
|
var durationFillColor = item.getDurationFillColor();
|
|
7479
|
-
if
|
|
8524
|
+
// only set duration fill color if duration bar
|
|
8525
|
+
if (durationFillColor && item.getItemType() === DvtTimelineSeriesNode.DURATION_BAR)
|
|
7480
8526
|
itemOption['dfc'] = durationFillColor;
|
|
7481
8527
|
}
|
|
7482
8528
|
overviewMarkers.push(itemOption);
|
|
@@ -7503,12 +8549,15 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7503
8549
|
Timeline.prototype.HandleTouchStart = function(event)
|
|
7504
8550
|
{
|
|
7505
8551
|
var touches = event.touches;
|
|
7506
|
-
|
|
8552
|
+
var elClass = event.target.getClassName();
|
|
8553
|
+
// block pan event if target element has class (currently just nav arrows)
|
|
8554
|
+
if (touches.length === 1 && !elClass)
|
|
7507
8555
|
this._dragPanSeries = this._findSeries(event.target);
|
|
7508
8556
|
};
|
|
7509
8557
|
|
|
7510
8558
|
/**
|
|
7511
8559
|
* Handles mouse wheel event.
|
|
8560
|
+
* Disabled in discrete viewport navigation mode
|
|
7512
8561
|
* @param {event} event The mouse wheel event
|
|
7513
8562
|
* @protected
|
|
7514
8563
|
* @override
|
|
@@ -7516,7 +8565,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7516
8565
|
Timeline.prototype.HandleMouseWheel = function(event)
|
|
7517
8566
|
{
|
|
7518
8567
|
Timeline.superclass.HandleMouseWheel.call(this, event);
|
|
7519
|
-
if (this.hasValidOptions())
|
|
8568
|
+
if (this.hasValidOptions() && !this.isDiscreteNavigationMode())
|
|
7520
8569
|
{
|
|
7521
8570
|
if (event.zoomWheelDelta)
|
|
7522
8571
|
{
|
|
@@ -7673,6 +8722,14 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7673
8722
|
this.prepareViewportLength();
|
|
7674
8723
|
DvtTimelineRenderer._renderBackground(this);
|
|
7675
8724
|
|
|
8725
|
+
// need to recalculate the discrete offset
|
|
8726
|
+
if (this.isDiscreteNavigationMode()) {
|
|
8727
|
+
var navButtonBackgroundWidth = DvtTimelineStyleUtils.getNavButtonBackgroundWidth();
|
|
8728
|
+
|
|
8729
|
+
this._timeAxisRatio = (this._canvasLength - (2 * navButtonBackgroundWidth))/this._canvasLength;
|
|
8730
|
+
this._discreteOffset = (this.getContentLength() - this.getContentLength() * this._timeAxisRatio)/2;
|
|
8731
|
+
}
|
|
8732
|
+
|
|
7676
8733
|
if (this.hasValidOptions())
|
|
7677
8734
|
{
|
|
7678
8735
|
this.renderTimeZoomCanvas(this._canvas);
|
|
@@ -7681,7 +8738,10 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7681
8738
|
DvtTimelineRenderer._renderAxis(this, this._timeZoomCanvas);
|
|
7682
8739
|
DvtTimelineRenderer._renderSeriesLabels(this);
|
|
7683
8740
|
DvtTimelineRenderer._renderZoomControls(this);
|
|
7684
|
-
|
|
8741
|
+
if (this.isDiscreteNavigationMode()){
|
|
8742
|
+
DvtTimelineRenderer._renderNavigationArrows(this, this._timeZoomCanvas);
|
|
8743
|
+
this.doInitialPan();
|
|
8744
|
+
}
|
|
7685
8745
|
if (this._hasOverview)
|
|
7686
8746
|
{
|
|
7687
8747
|
DvtTimelineRenderer._renderOverview(this);
|
|
@@ -7719,7 +8779,11 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7719
8779
|
|
|
7720
8780
|
Timeline.prototype.HandleMouseDown = function(event)
|
|
7721
8781
|
{
|
|
7722
|
-
|
|
8782
|
+
var elClass = event.target.getClassName();
|
|
8783
|
+
// block pan event if target element has class (currently just nav arrows)
|
|
8784
|
+
if (!elClass) {
|
|
8785
|
+
this._dragPanSeries = this._findSeries(event.target);
|
|
8786
|
+
}
|
|
7723
8787
|
};
|
|
7724
8788
|
|
|
7725
8789
|
Timeline.prototype.endDragPan = function()
|
|
@@ -7816,15 +8880,18 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
7816
8880
|
}
|
|
7817
8881
|
else
|
|
7818
8882
|
{
|
|
7819
|
-
|
|
7820
|
-
if (this.
|
|
7821
|
-
this.
|
|
8883
|
+
// no horizontal pan in nav mode.
|
|
8884
|
+
if (!this.isDiscreteNavigationMode()) {
|
|
8885
|
+
this.panZoomCanvasBy(deltaX);
|
|
8886
|
+
if (this._hasOverview)
|
|
8887
|
+
this._overview.setViewportRange(this._viewStartTime, this._viewEndTime, null, null);
|
|
7822
8888
|
|
|
7823
|
-
|
|
7824
|
-
|
|
8889
|
+
if (this.isTimeDirScrollbarOn())
|
|
8890
|
+
this.timeDirScrollbar.setViewportRange(this._viewStartTime, this._viewEndTime);
|
|
7825
8891
|
|
|
7826
|
-
|
|
7827
|
-
|
|
8892
|
+
// Update time axis due to viewport change
|
|
8893
|
+
DvtTimelineRenderer._renderAxis(this, this._timeZoomCanvas, true);
|
|
8894
|
+
}
|
|
7828
8895
|
|
|
7829
8896
|
if (this._dragPanSeries)
|
|
7830
8897
|
{
|
|
@@ -8052,8 +9119,25 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
8052
9119
|
}
|
|
8053
9120
|
};
|
|
8054
9121
|
|
|
9122
|
+
Timeline.prototype.discreteScrollIntoViewport = function(item)
|
|
9123
|
+
{
|
|
9124
|
+
if (!this.isDiscreteNavigationMode()) {
|
|
9125
|
+
return;
|
|
9126
|
+
}
|
|
9127
|
+
var itemStartTime = item.getStartTime();
|
|
9128
|
+
var viewportIndexScroll = Math.floor((itemStartTime - this._viewStartTime)/this._initialViewportTimeDuration);
|
|
9129
|
+
if (viewportIndexScroll !== 0) {
|
|
9130
|
+
this._discreteViewportCurrentIndexOffset += viewportIndexScroll;
|
|
9131
|
+
this.handlePageChangeDiscreteViewport();
|
|
9132
|
+
}
|
|
9133
|
+
};
|
|
9134
|
+
|
|
8055
9135
|
Timeline.prototype.updateScrollForItemSelection = function(item)
|
|
8056
9136
|
{
|
|
9137
|
+
if (this.isDiscreteNavigationMode()) {
|
|
9138
|
+
this.discreteScrollIntoViewport(item);
|
|
9139
|
+
return;
|
|
9140
|
+
}
|
|
8057
9141
|
var viewSize = this._viewEndTime - this._viewStartTime;
|
|
8058
9142
|
this._viewStartTime = item.getStartTime() - (viewSize / 2);
|
|
8059
9143
|
if (this._viewStartTime < this._start)
|
|
@@ -8073,8 +9157,17 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
8073
9157
|
|
|
8074
9158
|
Timeline.prototype.updateScrollForItemNavigation = function(item)
|
|
8075
9159
|
{
|
|
9160
|
+
if (!(item instanceof DvtTimelineSeriesNode)) {
|
|
9161
|
+
return;
|
|
9162
|
+
}
|
|
9163
|
+
|
|
9164
|
+
if (this.isDiscreteNavigationMode()) {
|
|
9165
|
+
this.discreteScrollIntoViewport(item);
|
|
9166
|
+
return;
|
|
9167
|
+
}
|
|
9168
|
+
|
|
8076
9169
|
var itemSize = this._isVertical ? item.getHeight() : item.getWidth();
|
|
8077
|
-
var itemHoverStrokeWidth = DvtTimelineStyleUtils.getItemHoverStrokeWidth();
|
|
9170
|
+
var itemHoverStrokeWidth = DvtTimelineStyleUtils.getItemHoverStrokeWidth(item._timeline.Options);
|
|
8078
9171
|
var itemStart = item.getLoc() - (this._isVertical ? (itemSize / 2) + itemHoverStrokeWidth : DvtTimelineStyleUtils.getBubbleOffset() + itemHoverStrokeWidth);
|
|
8079
9172
|
var startPos = this.getRelativeStartPos();
|
|
8080
9173
|
if (this.isRTL() && !this._isVertical)
|
|
@@ -8226,7 +9319,7 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
8226
9319
|
*/
|
|
8227
9320
|
Timeline.prototype.isTimeDirScrollbarOn = function()
|
|
8228
9321
|
{
|
|
8229
|
-
return !this._hasOverview;
|
|
9322
|
+
return !this._hasOverview && !this.isDiscreteNavigationMode();
|
|
8230
9323
|
};
|
|
8231
9324
|
|
|
8232
9325
|
/**
|
|
@@ -8237,6 +9330,14 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
8237
9330
|
return true;
|
|
8238
9331
|
};
|
|
8239
9332
|
|
|
9333
|
+
/**
|
|
9334
|
+
* @override
|
|
9335
|
+
*/
|
|
9336
|
+
Timeline.prototype.isDiscreteNavigationMode = function()
|
|
9337
|
+
{
|
|
9338
|
+
return this._viewportNavigationMode === 'discrete' && this.getCtx().getThemeBehavior() === 'redwood' && !this.isVertical();
|
|
9339
|
+
};
|
|
9340
|
+
|
|
8240
9341
|
/**
|
|
8241
9342
|
* Returns the background offset value of this component in the x direction.
|
|
8242
9343
|
* @return {number} The background offset value of this component in the x direction.
|
|
@@ -8255,6 +9356,146 @@ define(['exports', 'ojs/ojdvt-toolkit', 'ojs/ojdvt-timecomponent', 'ojs/ojtimeax
|
|
|
8255
9356
|
this._backgroundX = backgroundX;
|
|
8256
9357
|
};
|
|
8257
9358
|
|
|
9359
|
+
/**
|
|
9360
|
+
* Gets the date position for viewport boundary at given offset when using discrete viewport navigation mode.
|
|
9361
|
+
* @param {number} targetOffset The offset to check against
|
|
9362
|
+
* @return {Object} the viewport date positions in Object {startDate: viewportStart, endDate: viewportEnd}
|
|
9363
|
+
*/
|
|
9364
|
+
Timeline.prototype.getDiscreteViewportDatePosition = function(targetOffset)
|
|
9365
|
+
{
|
|
9366
|
+
var startDate, endDate, newStartDate, newEndDate;
|
|
9367
|
+
var newStartIndex = this._discreteViewportStartIndex + targetOffset;
|
|
9368
|
+
|
|
9369
|
+
if (newStartIndex < 0) {
|
|
9370
|
+
startDate = this._discreteViewportDatePositions[0];
|
|
9371
|
+
endDate = this._discreteViewportDatePositions[1];
|
|
9372
|
+
while (newStartIndex < 0) {
|
|
9373
|
+
// the start index is before the earliest currently stored start date.
|
|
9374
|
+
// need to loop to generate previous dates until we have enough
|
|
9375
|
+
var newStartDate = this.getClosestDate(startDate - this._initialViewportTimeDuration);
|
|
9376
|
+
this._discreteViewportDatePositions.unshift(newStartDate);
|
|
9377
|
+
endDate = startDate;
|
|
9378
|
+
startDate = newStartDate;
|
|
9379
|
+
|
|
9380
|
+
// update start index and current offset
|
|
9381
|
+
this._discreteViewportStartIndex ++;
|
|
9382
|
+
|
|
9383
|
+
newStartIndex ++;
|
|
9384
|
+
}
|
|
9385
|
+
} else if (newStartIndex > this._discreteViewportDatePositions.length - 2) {
|
|
9386
|
+
startDate = this._discreteViewportDatePositions[this._discreteViewportDatePositions.length - 2];
|
|
9387
|
+
endDate = this._discreteViewportDatePositions[this._discreteViewportDatePositions.length - 1];
|
|
9388
|
+
while (newStartIndex > this._discreteViewportDatePositions.length - 2) {
|
|
9389
|
+
var newEndDate = this.getClosestDate(endDate + this._initialViewportTimeDuration);
|
|
9390
|
+
this._discreteViewportDatePositions.push(newEndDate);
|
|
9391
|
+
startDate = endDate;
|
|
9392
|
+
endDate = newEndDate;
|
|
9393
|
+
}
|
|
9394
|
+
} else {
|
|
9395
|
+
startDate = this._discreteViewportDatePositions[newStartIndex];
|
|
9396
|
+
endDate = this._discreteViewportDatePositions[newStartIndex + 1];
|
|
9397
|
+
}
|
|
9398
|
+
return {startDate: startDate, endDate: endDate};
|
|
9399
|
+
};
|
|
9400
|
+
|
|
9401
|
+
/**
|
|
9402
|
+
* Gets closest date to target date given the current time axis scale.
|
|
9403
|
+
* @param {number} date The date to check against
|
|
9404
|
+
*/
|
|
9405
|
+
Timeline.prototype.getClosestDate = function(date)
|
|
9406
|
+
{
|
|
9407
|
+
var getClosestDate = (date, scale) => {
|
|
9408
|
+
var dateBehind = this._timeAxis.adjustDate(date, scale);
|
|
9409
|
+
var dateAhead = this._timeAxis.getNextDate(dateBehind, scale);
|
|
9410
|
+
var closestDate = Date.parse(date - dateBehind > dateAhead - date ? dateAhead : dateBehind);
|
|
9411
|
+
return closestDate;
|
|
9412
|
+
};
|
|
9413
|
+
var closestMinorDate = getClosestDate(date);
|
|
9414
|
+
var closestMajorDate = getClosestDate(date, this.Options['majorAxis']['scale']);
|
|
9415
|
+
if (closestMajorDate != null) {
|
|
9416
|
+
return Math.abs(date - closestMinorDate) > Math.abs(date - closestMajorDate) ? closestMajorDate : closestMinorDate;
|
|
9417
|
+
}
|
|
9418
|
+
};
|
|
9419
|
+
|
|
9420
|
+
/**
|
|
9421
|
+
* Gets the current viewport panning length when in discrete viewport navigation mode.
|
|
9422
|
+
* This length is shorter than the actual viewport length due to "preview wings"
|
|
9423
|
+
* @param {number} oldStartTime the old startTime
|
|
9424
|
+
* @param {number} newStartTime the new startTime
|
|
9425
|
+
* @return {number} the value: newStartTime - oldStartTime as distance in terms of the viewport
|
|
9426
|
+
*/
|
|
9427
|
+
Timeline.prototype.getDiscreteViewportPanningLength = function(oldStartTime, newStartTime)
|
|
9428
|
+
{
|
|
9429
|
+
var context = this.getCtx();
|
|
9430
|
+
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
9431
|
+
var length = this.getContentLength() * this._timeAxisRatio;
|
|
9432
|
+
var startDatePos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(this._start, this._end, oldStartTime, length);
|
|
9433
|
+
var endDatePos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(this._start, this._end, newStartTime, length);
|
|
9434
|
+
return (endDatePos - startDatePos) * (isRTL ? -1 : 1)
|
|
9435
|
+
};
|
|
9436
|
+
|
|
9437
|
+
/**
|
|
9438
|
+
* Update the viewport when in discrete viewport navigation mode.
|
|
9439
|
+
*/
|
|
9440
|
+
Timeline.prototype.updateDiscreteViewport = function()
|
|
9441
|
+
{
|
|
9442
|
+
DvtTimelineRenderer._renderAxis(this, this.getTimeZoomCanvas(), true);
|
|
9443
|
+
DvtTimelineRenderer._renderNavigationArrows(this, this.getTimeZoomCanvas());
|
|
9444
|
+
if (this._hasOverview) {
|
|
9445
|
+
DvtTimelineRenderer._renderOverview(this);
|
|
9446
|
+
}
|
|
9447
|
+
this.updateSeries();
|
|
9448
|
+
};
|
|
9449
|
+
|
|
9450
|
+
/**
|
|
9451
|
+
* Handles page change event
|
|
9452
|
+
*/
|
|
9453
|
+
Timeline.prototype.handlePageChangeDiscreteViewport = function()
|
|
9454
|
+
{
|
|
9455
|
+
// calculate new start/end times
|
|
9456
|
+
var newDates = this.getDiscreteViewportDatePosition(this._discreteViewportCurrentIndexOffset);
|
|
9457
|
+
|
|
9458
|
+
// calculate panning length amount
|
|
9459
|
+
var timeAxisLength = this.getDiscreteViewportPanningLength(this._viewStartTime, newDates.startDate);
|
|
9460
|
+
this.panZoomCanvasBy(timeAxisLength);
|
|
9461
|
+
|
|
9462
|
+
// fix view start/end times since panZoomCanvasBy messes it up
|
|
9463
|
+
this._viewStartTime = newDates.startDate;
|
|
9464
|
+
this._viewEndTime = newDates.endDate;
|
|
9465
|
+
|
|
9466
|
+
// update timeline with new viewport
|
|
9467
|
+
this.updateDiscreteViewport();
|
|
9468
|
+
|
|
9469
|
+
// fire event
|
|
9470
|
+
this.dispatchEvent(this.createViewportChangeEvent());
|
|
9471
|
+
};
|
|
9472
|
+
|
|
9473
|
+
/**
|
|
9474
|
+
* Perform initial panning
|
|
9475
|
+
*/
|
|
9476
|
+
Timeline.prototype.doInitialPan = function()
|
|
9477
|
+
{
|
|
9478
|
+
var context = this.getCtx();
|
|
9479
|
+
var isRTL = dvt.Agent.isRightToLeft(context);
|
|
9480
|
+
// do initial pan since it's calculated incorrectly using the original width
|
|
9481
|
+
var tempStart = this._viewStartTime;
|
|
9482
|
+
var tempEnd = this._viewEndTime;
|
|
9483
|
+
var length = this.getContentLength() * this._timeAxisRatio;
|
|
9484
|
+
var navButtonWidth = DvtTimelineStyleUtils.getNavButtonBackgroundWidth();
|
|
9485
|
+
var startDatePos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(this._start, this._end, this._viewStartTime, length);
|
|
9486
|
+
var adjustedViewStartTime = ojtimeaxisToolkit.TimeAxisUtils.getPositionDate(this._start, this._end, startDatePos - navButtonWidth, length);
|
|
9487
|
+
var initialPanOffset = this.getDiscreteViewportPanningLength(this._start, adjustedViewStartTime);
|
|
9488
|
+
if (isRTL) {
|
|
9489
|
+
var endDatePos = ojtimeaxisToolkit.TimeAxisUtils.getDatePosition(this._start, this._end, this._viewEndTime, length);
|
|
9490
|
+
var adjustedViewEndTime = ojtimeaxisToolkit.TimeAxisUtils.getPositionDate(this._start, this._end, endDatePos + navButtonWidth, length);
|
|
9491
|
+
initialPanOffset = length + this.getDiscreteViewportPanningLength(this._start, adjustedViewEndTime);
|
|
9492
|
+
}
|
|
9493
|
+
var adjustedOffset = initialPanOffset + this._discreteOffset + this._startPos;
|
|
9494
|
+
this.panZoomCanvasBy(adjustedOffset);
|
|
9495
|
+
this._viewStartTime = tempStart;
|
|
9496
|
+
this._viewEndTime = tempEnd;
|
|
9497
|
+
};
|
|
9498
|
+
|
|
8258
9499
|
exports.Timeline = Timeline;
|
|
8259
9500
|
exports.TimelineOverview = TimelineOverview;
|
|
8260
9501
|
|