@oracle/oraclejet-webdriver 11.0.9 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -11
- package/bin/generate +12 -12
- package/bin/templates/baseclass.ts-template +1 -1
- package/bin/templates/class.ts-template +4 -6
- package/bin/templates/element-test.spec.ts-template +2 -2
- package/bin/templates/index.ts-template +14 -13
- package/bin/templates/property-getter.ts-template +3 -3
- package/bin/templates/property-setter.ts-template +3 -3
- package/elements/index.js +12 -3
- package/elements/index.js.map +1 -1
- package/elements/index.ts +3 -0
- package/elements/oj-accordion/OjAccordion.js.map +1 -1
- package/elements/oj-accordion/OjAccordion.ts +3 -5
- package/elements/oj-accordion/OjAccordionBase.js +4 -4
- package/elements/oj-accordion/OjAccordionBase.js.map +1 -1
- package/elements/oj-accordion/OjAccordionBase.ts +13 -13
- package/elements/oj-accordion/index.js +2 -2
- package/elements/oj-accordion/index.js.map +1 -1
- package/elements/oj-accordion/index.ts +14 -13
- package/elements/oj-action-card/OjActionCard.js +11 -0
- package/elements/oj-action-card/OjActionCard.js.map +1 -0
- package/elements/oj-action-card/OjActionCard.ts +15 -0
- package/elements/oj-action-card/OjActionCardBase.js +8 -0
- package/elements/oj-action-card/OjActionCardBase.js.map +1 -0
- package/elements/oj-action-card/OjActionCardBase.ts +13 -0
- package/elements/oj-action-card/index.js +17 -0
- package/elements/oj-action-card/index.js.map +1 -0
- package/elements/oj-action-card/index.ts +28 -0
- package/elements/oj-button/OjButton.js.map +1 -1
- package/elements/oj-button/OjButton.ts +3 -5
- package/elements/oj-button/OjButtonBase.js +5 -5
- package/elements/oj-button/OjButtonBase.js.map +1 -1
- package/elements/oj-button/OjButtonBase.ts +16 -16
- package/elements/oj-button/index.js +2 -2
- package/elements/oj-button/index.js.map +1 -1
- package/elements/oj-button/index.ts +14 -13
- package/elements/oj-buttonset-many/OjButtonsetMany.js.map +1 -1
- package/elements/oj-buttonset-many/OjButtonsetMany.ts +3 -5
- package/elements/oj-buttonset-many/OjButtonsetManyBase.js +9 -9
- package/elements/oj-buttonset-many/OjButtonsetManyBase.js.map +1 -1
- package/elements/oj-buttonset-many/OjButtonsetManyBase.ts +28 -28
- package/elements/oj-buttonset-many/index.js +2 -2
- package/elements/oj-buttonset-many/index.js.map +1 -1
- package/elements/oj-buttonset-many/index.ts +14 -13
- package/elements/oj-buttonset-one/OjButtonsetOne.js.map +1 -1
- package/elements/oj-buttonset-one/OjButtonsetOne.ts +3 -5
- package/elements/oj-buttonset-one/OjButtonsetOneBase.js +9 -9
- package/elements/oj-buttonset-one/OjButtonsetOneBase.js.map +1 -1
- package/elements/oj-buttonset-one/OjButtonsetOneBase.ts +28 -28
- package/elements/oj-buttonset-one/index.js +2 -2
- package/elements/oj-buttonset-one/index.js.map +1 -1
- package/elements/oj-buttonset-one/index.ts +14 -13
- package/elements/oj-chart/OjChart.js.map +1 -1
- package/elements/oj-chart/OjChart.ts +3 -5
- package/elements/oj-chart/OjChartBase.js +55 -55
- package/elements/oj-chart/OjChartBase.js.map +1 -1
- package/elements/oj-chart/OjChartBase.ts +2149 -2152
- package/elements/oj-chart/index.js +2 -2
- package/elements/oj-chart/index.js.map +1 -1
- package/elements/oj-chart/index.ts +14 -13
- package/elements/oj-checkboxset/OjCheckboxset.js.map +1 -1
- package/elements/oj-checkboxset/OjCheckboxset.ts +3 -5
- package/elements/oj-checkboxset/OjCheckboxsetBase.js +20 -20
- package/elements/oj-checkboxset/OjCheckboxsetBase.js.map +1 -1
- package/elements/oj-checkboxset/OjCheckboxsetBase.ts +133 -136
- package/elements/oj-checkboxset/index.js +2 -2
- package/elements/oj-checkboxset/index.js.map +1 -1
- package/elements/oj-checkboxset/index.ts +14 -13
- package/elements/oj-collapsible/OjCollapsible.js.map +1 -1
- package/elements/oj-collapsible/OjCollapsible.ts +3 -5
- package/elements/oj-collapsible/OjCollapsibleBase.js +5 -5
- package/elements/oj-collapsible/OjCollapsibleBase.js.map +1 -1
- package/elements/oj-collapsible/OjCollapsibleBase.ts +16 -16
- package/elements/oj-collapsible/index.js +2 -2
- package/elements/oj-collapsible/index.js.map +1 -1
- package/elements/oj-collapsible/index.ts +14 -13
- package/elements/oj-color-palette/OjColorPalette.js.map +1 -1
- package/elements/oj-color-palette/OjColorPalette.ts +3 -5
- package/elements/oj-color-palette/OjColorPaletteBase.js +19 -19
- package/elements/oj-color-palette/OjColorPaletteBase.js.map +1 -1
- package/elements/oj-color-palette/OjColorPaletteBase.ts +114 -117
- package/elements/oj-color-palette/index.js +2 -2
- package/elements/oj-color-palette/index.js.map +1 -1
- package/elements/oj-color-palette/index.ts +14 -13
- package/elements/oj-color-spectrum/OjColorSpectrum.js.map +1 -1
- package/elements/oj-color-spectrum/OjColorSpectrum.ts +3 -5
- package/elements/oj-color-spectrum/OjColorSpectrumBase.js +16 -16
- package/elements/oj-color-spectrum/OjColorSpectrumBase.js.map +1 -1
- package/elements/oj-color-spectrum/OjColorSpectrumBase.ts +106 -109
- package/elements/oj-color-spectrum/index.js +2 -2
- package/elements/oj-color-spectrum/index.js.map +1 -1
- package/elements/oj-color-spectrum/index.ts +14 -13
- package/elements/oj-combobox-many/OjComboboxMany.js.map +1 -1
- package/elements/oj-combobox-many/OjComboboxMany.ts +3 -5
- package/elements/oj-combobox-many/OjComboboxManyBase.js +30 -30
- package/elements/oj-combobox-many/OjComboboxManyBase.js.map +1 -1
- package/elements/oj-combobox-many/OjComboboxManyBase.ts +247 -250
- package/elements/oj-combobox-many/index.js +2 -2
- package/elements/oj-combobox-many/index.js.map +1 -1
- package/elements/oj-combobox-many/index.ts +14 -13
- package/elements/oj-combobox-one/OjComboboxOne.js.map +1 -1
- package/elements/oj-combobox-one/OjComboboxOne.ts +3 -5
- package/elements/oj-combobox-one/OjComboboxOneBase.js +31 -31
- package/elements/oj-combobox-one/OjComboboxOneBase.js.map +1 -1
- package/elements/oj-combobox-one/OjComboboxOneBase.ts +246 -249
- package/elements/oj-combobox-one/index.js +2 -2
- package/elements/oj-combobox-one/index.js.map +1 -1
- package/elements/oj-combobox-one/index.ts +14 -13
- package/elements/oj-conveyor-belt/OjConveyorBelt.js.map +1 -1
- package/elements/oj-conveyor-belt/OjConveyorBelt.ts +3 -5
- package/elements/oj-conveyor-belt/OjConveyorBeltBase.js +13 -7
- package/elements/oj-conveyor-belt/OjConveyorBeltBase.js.map +1 -1
- package/elements/oj-conveyor-belt/OjConveyorBeltBase.ts +52 -35
- package/elements/oj-conveyor-belt/index.js +2 -2
- package/elements/oj-conveyor-belt/index.js.map +1 -1
- package/elements/oj-conveyor-belt/index.ts +14 -13
- package/elements/oj-data-grid/OjDataGrid.js +1 -1
- package/elements/oj-data-grid/OjDataGrid.js.map +1 -1
- package/elements/oj-data-grid/OjDataGrid.ts +4 -6
- package/elements/oj-data-grid/OjDataGridBase.js +22 -19
- package/elements/oj-data-grid/OjDataGridBase.js.map +1 -1
- package/elements/oj-data-grid/OjDataGridBase.ts +683 -590
- package/elements/oj-data-grid/index.js +2 -2
- package/elements/oj-data-grid/index.js.map +1 -1
- package/elements/oj-data-grid/index.ts +14 -13
- package/elements/oj-date-picker/OjDatePicker.js.map +1 -1
- package/elements/oj-date-picker/OjDatePicker.ts +3 -5
- package/elements/oj-date-picker/OjDatePickerBase.js +32 -32
- package/elements/oj-date-picker/OjDatePickerBase.js.map +1 -1
- package/elements/oj-date-picker/OjDatePickerBase.ts +338 -341
- package/elements/oj-date-picker/index.js +2 -2
- package/elements/oj-date-picker/index.js.map +1 -1
- package/elements/oj-date-picker/index.ts +14 -13
- package/elements/oj-date-time-picker/OjDateTimePicker.js.map +1 -1
- package/elements/oj-date-time-picker/OjDateTimePicker.ts +3 -5
- package/elements/oj-date-time-picker/OjDateTimePickerBase.js +33 -33
- package/elements/oj-date-time-picker/OjDateTimePickerBase.js.map +1 -1
- package/elements/oj-date-time-picker/OjDateTimePickerBase.ts +366 -365
- package/elements/oj-date-time-picker/index.js +2 -2
- package/elements/oj-date-time-picker/index.js.map +1 -1
- package/elements/oj-date-time-picker/index.ts +14 -13
- package/elements/oj-diagram/OjDiagram.js.map +1 -1
- package/elements/oj-diagram/OjDiagram.ts +3 -5
- package/elements/oj-diagram/OjDiagramBase.js +40 -40
- package/elements/oj-diagram/OjDiagramBase.js.map +1 -1
- package/elements/oj-diagram/OjDiagramBase.ts +505 -508
- package/elements/oj-diagram/index.js +2 -2
- package/elements/oj-diagram/index.js.map +1 -1
- package/elements/oj-diagram/index.ts +14 -13
- package/elements/oj-dialog/OjDialog.js.map +1 -1
- package/elements/oj-dialog/OjDialog.ts +3 -5
- package/elements/oj-dialog/OjDialogBase.js +8 -8
- package/elements/oj-dialog/OjDialogBase.js.map +1 -1
- package/elements/oj-dialog/OjDialogBase.ts +84 -87
- package/elements/oj-dialog/index.js +2 -2
- package/elements/oj-dialog/index.js.map +1 -1
- package/elements/oj-dialog/index.ts +14 -13
- package/elements/oj-drawer-layout/OjDrawerLayout.js +8 -0
- package/elements/oj-drawer-layout/OjDrawerLayout.js.map +1 -0
- package/elements/oj-drawer-layout/OjDrawerLayout.ts +10 -0
- package/elements/oj-drawer-layout/OjDrawerLayoutBase.js +26 -0
- package/elements/oj-drawer-layout/OjDrawerLayoutBase.js.map +1 -0
- package/elements/oj-drawer-layout/OjDrawerLayoutBase.ts +72 -0
- package/elements/oj-drawer-layout/index.js +17 -0
- package/elements/oj-drawer-layout/index.js.map +1 -0
- package/elements/oj-drawer-layout/index.ts +28 -0
- package/elements/oj-drawer-popup/OjDrawerPopup.js +11 -0
- package/elements/oj-drawer-popup/OjDrawerPopup.js.map +1 -0
- package/elements/oj-drawer-popup/OjDrawerPopup.ts +17 -0
- package/elements/oj-drawer-popup/OjDrawerPopupBase.js +23 -0
- package/elements/oj-drawer-popup/OjDrawerPopupBase.js.map +1 -0
- package/elements/oj-drawer-popup/OjDrawerPopupBase.ts +62 -0
- package/elements/oj-drawer-popup/index.js +17 -0
- package/elements/oj-drawer-popup/index.js.map +1 -0
- package/elements/oj-drawer-popup/index.ts +28 -0
- package/elements/oj-file-picker/OjFilePicker.js.map +1 -1
- package/elements/oj-file-picker/OjFilePicker.ts +3 -5
- package/elements/oj-file-picker/OjFilePickerBase.js +7 -7
- package/elements/oj-file-picker/OjFilePickerBase.js.map +1 -1
- package/elements/oj-file-picker/OjFilePickerBase.ts +22 -22
- package/elements/oj-file-picker/index.js +2 -2
- package/elements/oj-file-picker/index.js.map +1 -1
- package/elements/oj-file-picker/index.ts +14 -13
- package/elements/oj-film-strip/OjFilmStrip.js.map +1 -1
- package/elements/oj-film-strip/OjFilmStrip.ts +3 -5
- package/elements/oj-film-strip/OjFilmStripBase.js +8 -8
- package/elements/oj-film-strip/OjFilmStripBase.js.map +1 -1
- package/elements/oj-film-strip/OjFilmStripBase.ts +59 -62
- package/elements/oj-film-strip/index.js +2 -2
- package/elements/oj-film-strip/index.js.map +1 -1
- package/elements/oj-film-strip/index.ts +14 -13
- package/elements/oj-gantt/OjGantt.js.map +1 -1
- package/elements/oj-gantt/OjGantt.ts +3 -5
- package/elements/oj-gantt/OjGanttBase.js +48 -30
- package/elements/oj-gantt/OjGanttBase.js.map +1 -1
- package/elements/oj-gantt/OjGanttBase.ts +1033 -816
- package/elements/oj-gantt/index.js +2 -2
- package/elements/oj-gantt/index.js.map +1 -1
- package/elements/oj-gantt/index.ts +14 -13
- package/elements/oj-indexer/OjIndexer.js.map +1 -1
- package/elements/oj-indexer/OjIndexer.ts +3 -5
- package/elements/oj-indexer/OjIndexerBase.js +2 -2
- package/elements/oj-indexer/OjIndexerBase.js.map +1 -1
- package/elements/oj-indexer/OjIndexerBase.ts +37 -40
- package/elements/oj-indexer/index.js +2 -2
- package/elements/oj-indexer/index.js.map +1 -1
- package/elements/oj-indexer/index.ts +14 -13
- package/elements/oj-input-date/OjInputDate.js.map +1 -1
- package/elements/oj-input-date/OjInputDate.ts +3 -5
- package/elements/oj-input-date/OjInputDateBase.js +33 -33
- package/elements/oj-input-date/OjInputDateBase.js.map +1 -1
- package/elements/oj-input-date/OjInputDateBase.ts +341 -344
- package/elements/oj-input-date/index.js +2 -2
- package/elements/oj-input-date/index.js.map +1 -1
- package/elements/oj-input-date/index.ts +14 -13
- package/elements/oj-input-date-time/OjInputDateTime.js.map +1 -1
- package/elements/oj-input-date-time/OjInputDateTime.ts +3 -5
- package/elements/oj-input-date-time/OjInputDateTimeBase.js +34 -34
- package/elements/oj-input-date-time/OjInputDateTimeBase.js.map +1 -1
- package/elements/oj-input-date-time/OjInputDateTimeBase.ts +369 -368
- package/elements/oj-input-date-time/index.js +2 -2
- package/elements/oj-input-date-time/index.js.map +1 -1
- package/elements/oj-input-date-time/index.ts +14 -13
- package/elements/oj-input-number/OjInputNumber.js.map +1 -1
- package/elements/oj-input-number/OjInputNumber.ts +3 -5
- package/elements/oj-input-number/OjInputNumberBase.js +30 -30
- package/elements/oj-input-number/OjInputNumberBase.js.map +1 -1
- package/elements/oj-input-number/OjInputNumberBase.ts +216 -219
- package/elements/oj-input-number/index.js +2 -2
- package/elements/oj-input-number/index.js.map +1 -1
- package/elements/oj-input-number/index.ts +14 -13
- package/elements/oj-input-password/OjInputPassword.js.map +1 -1
- package/elements/oj-input-password/OjInputPassword.ts +3 -5
- package/elements/oj-input-password/OjInputPasswordBase.js +25 -25
- package/elements/oj-input-password/OjInputPasswordBase.js.map +1 -1
- package/elements/oj-input-password/OjInputPasswordBase.ts +163 -166
- package/elements/oj-input-password/index.js +2 -2
- package/elements/oj-input-password/index.js.map +1 -1
- package/elements/oj-input-password/index.ts +14 -13
- package/elements/oj-input-search/OjInputSearch.js.map +1 -1
- package/elements/oj-input-search/OjInputSearch.ts +3 -5
- package/elements/oj-input-search/OjInputSearchBase.js +6 -6
- package/elements/oj-input-search/OjInputSearchBase.js.map +1 -1
- package/elements/oj-input-search/OjInputSearchBase.ts +19 -19
- package/elements/oj-input-search/index.js +2 -2
- package/elements/oj-input-search/index.js.map +1 -1
- package/elements/oj-input-search/index.ts +14 -13
- package/elements/oj-input-text/OjInputText.js.map +1 -1
- package/elements/oj-input-text/OjInputText.ts +3 -5
- package/elements/oj-input-text/OjInputTextBase.js +29 -29
- package/elements/oj-input-text/OjInputTextBase.js.map +1 -1
- package/elements/oj-input-text/OjInputTextBase.ts +178 -181
- package/elements/oj-input-text/index.js +2 -2
- package/elements/oj-input-text/index.js.map +1 -1
- package/elements/oj-input-text/index.ts +14 -13
- package/elements/oj-input-time/OjInputTime.js.map +1 -1
- package/elements/oj-input-time/OjInputTime.ts +3 -5
- package/elements/oj-input-time/OjInputTimeBase.js +31 -31
- package/elements/oj-input-time/OjInputTimeBase.js.map +1 -1
- package/elements/oj-input-time/OjInputTimeBase.ts +283 -286
- package/elements/oj-input-time/index.js +2 -2
- package/elements/oj-input-time/index.js.map +1 -1
- package/elements/oj-input-time/index.ts +14 -13
- package/elements/oj-label/OjLabel.js.map +1 -1
- package/elements/oj-label/OjLabel.ts +3 -5
- package/elements/oj-label/OjLabelBase.js +5 -5
- package/elements/oj-label/OjLabelBase.js.map +1 -1
- package/elements/oj-label/OjLabelBase.ts +37 -40
- package/elements/oj-label/index.js +2 -2
- package/elements/oj-label/index.js.map +1 -1
- package/elements/oj-label/index.ts +14 -13
- package/elements/oj-led-gauge/OjLedGauge.js.map +1 -1
- package/elements/oj-led-gauge/OjLedGauge.ts +3 -5
- package/elements/oj-led-gauge/OjLedGaugeBase.js +21 -18
- package/elements/oj-led-gauge/OjLedGaugeBase.js.map +1 -1
- package/elements/oj-led-gauge/OjLedGaugeBase.ts +196 -189
- package/elements/oj-led-gauge/index.js +2 -2
- package/elements/oj-led-gauge/index.js.map +1 -1
- package/elements/oj-led-gauge/index.ts +14 -13
- package/elements/oj-legend/OjLegend.js.map +1 -1
- package/elements/oj-legend/OjLegend.ts +3 -5
- package/elements/oj-legend/OjLegendBase.js +22 -22
- package/elements/oj-legend/OjLegendBase.js.map +1 -1
- package/elements/oj-legend/OjLegendBase.ts +180 -183
- package/elements/oj-legend/index.js +2 -2
- package/elements/oj-legend/index.js.map +1 -1
- package/elements/oj-legend/index.ts +14 -13
- package/elements/oj-list-view/OjListView.js +20 -2
- package/elements/oj-list-view/OjListView.js.map +1 -1
- package/elements/oj-list-view/OjListView.ts +39 -7
- package/elements/oj-list-view/OjListViewBase.js +21 -21
- package/elements/oj-list-view/OjListViewBase.js.map +1 -1
- package/elements/oj-list-view/OjListViewBase.ts +221 -224
- package/elements/oj-list-view/index.js +2 -2
- package/elements/oj-list-view/index.js.map +1 -1
- package/elements/oj-list-view/index.ts +14 -13
- package/elements/oj-masonry-layout/OjMasonryLayout.js.map +1 -1
- package/elements/oj-masonry-layout/OjMasonryLayout.ts +3 -5
- package/elements/oj-masonry-layout/OjMasonryLayoutBase.js +2 -2
- package/elements/oj-masonry-layout/OjMasonryLayoutBase.js.map +1 -1
- package/elements/oj-masonry-layout/OjMasonryLayoutBase.ts +21 -24
- package/elements/oj-masonry-layout/index.js +2 -2
- package/elements/oj-masonry-layout/index.js.map +1 -1
- package/elements/oj-masonry-layout/index.ts +14 -13
- package/elements/oj-menu/OjMenu.js +12 -0
- package/elements/oj-menu/OjMenu.js.map +1 -1
- package/elements/oj-menu/OjMenu.ts +21 -5
- package/elements/oj-menu/OjMenuBase.js +3 -3
- package/elements/oj-menu/OjMenuBase.js.map +1 -1
- package/elements/oj-menu/OjMenuBase.ts +91 -94
- package/elements/oj-menu/index.js +2 -2
- package/elements/oj-menu/index.js.map +1 -1
- package/elements/oj-menu/index.ts +14 -13
- package/elements/oj-menu-button/OjMenuButton.js.map +1 -1
- package/elements/oj-menu-button/OjMenuButton.ts +3 -5
- package/elements/oj-menu-button/OjMenuButtonBase.js +5 -5
- package/elements/oj-menu-button/OjMenuButtonBase.js.map +1 -1
- package/elements/oj-menu-button/OjMenuButtonBase.ts +16 -16
- package/elements/oj-menu-button/index.js +2 -2
- package/elements/oj-menu-button/index.js.map +1 -1
- package/elements/oj-menu-button/index.ts +14 -13
- package/elements/oj-message/OjMessage.js.map +1 -1
- package/elements/oj-message/OjMessage.ts +3 -5
- package/elements/oj-message/OjMessageBase.js +3 -3
- package/elements/oj-message/OjMessageBase.js.map +1 -1
- package/elements/oj-message/OjMessageBase.ts +84 -87
- package/elements/oj-message/index.js +2 -2
- package/elements/oj-message/index.js.map +1 -1
- package/elements/oj-message/index.ts +14 -13
- package/elements/oj-n-box/OjNBox.js.map +1 -1
- package/elements/oj-n-box/OjNBox.ts +3 -5
- package/elements/oj-n-box/OjNBoxBase.js +36 -36
- package/elements/oj-n-box/OjNBoxBase.js.map +1 -1
- package/elements/oj-n-box/OjNBoxBase.ts +657 -660
- package/elements/oj-n-box/index.js +2 -2
- package/elements/oj-n-box/index.js.map +1 -1
- package/elements/oj-n-box/index.ts +14 -13
- package/elements/oj-navigation-list/OjNavigationList.js +7 -7
- package/elements/oj-navigation-list/OjNavigationList.js.map +1 -1
- package/elements/oj-navigation-list/OjNavigationList.ts +13 -18
- package/elements/oj-navigation-list/OjNavigationListBase.js +14 -14
- package/elements/oj-navigation-list/OjNavigationListBase.js.map +1 -1
- package/elements/oj-navigation-list/OjNavigationListBase.ts +84 -87
- package/elements/oj-navigation-list/index.js +2 -2
- package/elements/oj-navigation-list/index.js.map +1 -1
- package/elements/oj-navigation-list/index.ts +14 -13
- package/elements/oj-paging-control/OjPagingControl.js.map +1 -1
- package/elements/oj-paging-control/OjPagingControl.ts +3 -5
- package/elements/oj-paging-control/OjPagingControlBase.js +7 -7
- package/elements/oj-paging-control/OjPagingControlBase.js.map +1 -1
- package/elements/oj-paging-control/OjPagingControlBase.ts +182 -185
- package/elements/oj-paging-control/index.js +2 -2
- package/elements/oj-paging-control/index.js.map +1 -1
- package/elements/oj-paging-control/index.ts +14 -13
- package/elements/oj-picto-chart/OjPictoChart.js.map +1 -1
- package/elements/oj-picto-chart/OjPictoChart.ts +3 -5
- package/elements/oj-picto-chart/OjPictoChartBase.js +26 -26
- package/elements/oj-picto-chart/OjPictoChartBase.js.map +1 -1
- package/elements/oj-picto-chart/OjPictoChartBase.ts +227 -230
- package/elements/oj-picto-chart/index.js +2 -2
- package/elements/oj-picto-chart/index.js.map +1 -1
- package/elements/oj-picto-chart/index.ts +14 -13
- package/elements/oj-popup/OjPopup.js.map +1 -1
- package/elements/oj-popup/OjPopup.ts +3 -5
- package/elements/oj-popup/OjPopupBase.js +7 -7
- package/elements/oj-popup/OjPopupBase.js.map +1 -1
- package/elements/oj-popup/OjPopupBase.ts +101 -104
- package/elements/oj-popup/index.js +2 -2
- package/elements/oj-popup/index.js.map +1 -1
- package/elements/oj-popup/index.ts +14 -13
- package/elements/oj-progress/OjProgress.js.map +1 -1
- package/elements/oj-progress/OjProgress.ts +3 -5
- package/elements/oj-progress/OjProgressBase.js +5 -5
- package/elements/oj-progress/OjProgressBase.js.map +1 -1
- package/elements/oj-progress/OjProgressBase.ts +22 -25
- package/elements/oj-progress/index.js +2 -2
- package/elements/oj-progress/index.js.map +1 -1
- package/elements/oj-progress/index.ts +14 -13
- package/elements/oj-progress-list/OjProgressList.js.map +1 -1
- package/elements/oj-progress-list/OjProgressList.ts +3 -5
- package/elements/oj-progress-list/OjProgressListBase.js +1 -1
- package/elements/oj-progress-list/OjProgressListBase.js.map +1 -1
- package/elements/oj-progress-list/OjProgressListBase.ts +4 -4
- package/elements/oj-progress-list/index.js +2 -2
- package/elements/oj-progress-list/index.js.map +1 -1
- package/elements/oj-progress-list/index.ts +14 -13
- package/elements/oj-radioset/OjRadioset.js.map +1 -1
- package/elements/oj-radioset/OjRadioset.ts +3 -5
- package/elements/oj-radioset/OjRadiosetBase.js +20 -20
- package/elements/oj-radioset/OjRadiosetBase.js.map +1 -1
- package/elements/oj-radioset/OjRadiosetBase.ts +133 -136
- package/elements/oj-radioset/index.js +2 -2
- package/elements/oj-radioset/index.js.map +1 -1
- package/elements/oj-radioset/index.ts +14 -13
- package/elements/oj-rating-gauge/OjRatingGauge.js.map +1 -1
- package/elements/oj-rating-gauge/OjRatingGauge.ts +3 -5
- package/elements/oj-rating-gauge/OjRatingGaugeBase.js +24 -24
- package/elements/oj-rating-gauge/OjRatingGaugeBase.js.map +1 -1
- package/elements/oj-rating-gauge/OjRatingGaugeBase.ts +275 -278
- package/elements/oj-rating-gauge/index.js +2 -2
- package/elements/oj-rating-gauge/index.js.map +1 -1
- package/elements/oj-rating-gauge/index.ts +14 -13
- package/elements/oj-refresher/OjRefresher.js.map +1 -1
- package/elements/oj-refresher/OjRefresher.ts +3 -5
- package/elements/oj-refresher/OjRefresherBase.js +4 -4
- package/elements/oj-refresher/OjRefresherBase.js.map +1 -1
- package/elements/oj-refresher/OjRefresherBase.ts +27 -30
- package/elements/oj-refresher/index.js +2 -2
- package/elements/oj-refresher/index.js.map +1 -1
- package/elements/oj-refresher/index.ts +14 -13
- package/elements/oj-row-expander/OjRowExpander.js.map +1 -1
- package/elements/oj-row-expander/OjRowExpander.ts +3 -5
- package/elements/oj-row-expander/OjRowExpanderBase.js +4 -4
- package/elements/oj-row-expander/OjRowExpanderBase.js.map +1 -1
- package/elements/oj-row-expander/OjRowExpanderBase.ts +39 -42
- package/elements/oj-row-expander/index.js +2 -2
- package/elements/oj-row-expander/index.js.map +1 -1
- package/elements/oj-row-expander/index.ts +14 -13
- package/elements/oj-select-many/OjSelectMany.js.map +1 -1
- package/elements/oj-select-many/OjSelectMany.ts +3 -5
- package/elements/oj-select-many/OjSelectManyBase.js +27 -27
- package/elements/oj-select-many/OjSelectManyBase.js.map +1 -1
- package/elements/oj-select-many/OjSelectManyBase.ts +224 -227
- package/elements/oj-select-many/index.js +2 -2
- package/elements/oj-select-many/index.js.map +1 -1
- package/elements/oj-select-many/index.ts +14 -13
- package/elements/oj-select-one/OjSelectOne.js.map +1 -1
- package/elements/oj-select-one/OjSelectOne.ts +3 -5
- package/elements/oj-select-one/OjSelectOneBase.js +27 -27
- package/elements/oj-select-one/OjSelectOneBase.js.map +1 -1
- package/elements/oj-select-one/OjSelectOneBase.ts +220 -223
- package/elements/oj-select-one/index.js +2 -2
- package/elements/oj-select-one/index.js.map +1 -1
- package/elements/oj-select-one/index.ts +14 -13
- package/elements/oj-select-single/OjSelectSingle.js.map +1 -1
- package/elements/oj-select-single/OjSelectSingle.ts +3 -5
- package/elements/oj-select-single/OjSelectSingleBase.js +23 -23
- package/elements/oj-select-single/OjSelectSingleBase.js.map +1 -1
- package/elements/oj-select-single/OjSelectSingleBase.ts +156 -159
- package/elements/oj-select-single/index.js +2 -2
- package/elements/oj-select-single/index.js.map +1 -1
- package/elements/oj-select-single/index.ts +14 -13
- package/elements/oj-selector/OjSelector.js.map +1 -1
- package/elements/oj-selector/OjSelector.ts +3 -5
- package/elements/oj-selector/OjSelectorBase.js +6 -6
- package/elements/oj-selector/OjSelectorBase.js.map +1 -1
- package/elements/oj-selector/OjSelectorBase.ts +19 -19
- package/elements/oj-selector/index.js +2 -2
- package/elements/oj-selector/index.js.map +1 -1
- package/elements/oj-selector/index.ts +14 -13
- package/elements/oj-slider/OjSlider.js.map +1 -1
- package/elements/oj-slider/OjSlider.ts +3 -5
- package/elements/oj-slider/OjSliderBase.js +21 -21
- package/elements/oj-slider/OjSliderBase.js.map +1 -1
- package/elements/oj-slider/OjSliderBase.ts +123 -126
- package/elements/oj-slider/index.js +2 -2
- package/elements/oj-slider/index.js.map +1 -1
- package/elements/oj-slider/index.ts +14 -13
- package/elements/oj-spark-chart/OjSparkChart.js.map +1 -1
- package/elements/oj-spark-chart/OjSparkChart.ts +3 -5
- package/elements/oj-spark-chart/OjSparkChartBase.js +29 -29
- package/elements/oj-spark-chart/OjSparkChartBase.js.map +1 -1
- package/elements/oj-spark-chart/OjSparkChartBase.ts +247 -250
- package/elements/oj-spark-chart/index.js +2 -2
- package/elements/oj-spark-chart/index.js.map +1 -1
- package/elements/oj-spark-chart/index.ts +14 -13
- package/elements/oj-status-meter-gauge/OjStatusMeterGauge.js.map +1 -1
- package/elements/oj-status-meter-gauge/OjStatusMeterGauge.ts +3 -5
- package/elements/oj-status-meter-gauge/OjStatusMeterGaugeBase.js +36 -33
- package/elements/oj-status-meter-gauge/OjStatusMeterGaugeBase.js.map +1 -1
- package/elements/oj-status-meter-gauge/OjStatusMeterGaugeBase.ts +298 -291
- package/elements/oj-status-meter-gauge/index.js +2 -2
- package/elements/oj-status-meter-gauge/index.js.map +1 -1
- package/elements/oj-status-meter-gauge/index.ts +14 -13
- package/elements/oj-stream-list/OjStreamList.js.map +1 -1
- package/elements/oj-stream-list/OjStreamList.ts +3 -5
- package/elements/oj-stream-list/OjStreamListBase.js +7 -7
- package/elements/oj-stream-list/OjStreamListBase.js.map +1 -1
- package/elements/oj-stream-list/OjStreamListBase.ts +56 -59
- package/elements/oj-stream-list/index.js +2 -2
- package/elements/oj-stream-list/index.js.map +1 -1
- package/elements/oj-stream-list/index.ts +14 -13
- package/elements/oj-sunburst/OjSunburst.js.map +1 -1
- package/elements/oj-sunburst/OjSunburst.ts +3 -5
- package/elements/oj-sunburst/OjSunburstBase.js +33 -33
- package/elements/oj-sunburst/OjSunburstBase.js.map +1 -1
- package/elements/oj-sunburst/OjSunburstBase.ts +314 -317
- package/elements/oj-sunburst/index.js +2 -2
- package/elements/oj-sunburst/index.js.map +1 -1
- package/elements/oj-sunburst/index.ts +14 -13
- package/elements/oj-swipe-actions/OjSwipeActions.js.map +1 -1
- package/elements/oj-swipe-actions/OjSwipeActions.ts +3 -5
- package/elements/oj-swipe-actions/OjSwipeActionsBase.js +1 -1
- package/elements/oj-swipe-actions/OjSwipeActionsBase.js.map +1 -1
- package/elements/oj-swipe-actions/OjSwipeActionsBase.ts +18 -21
- package/elements/oj-swipe-actions/index.js +2 -2
- package/elements/oj-swipe-actions/index.js.map +1 -1
- package/elements/oj-swipe-actions/index.ts +14 -13
- package/elements/oj-switch/OjSwitch.js.map +1 -1
- package/elements/oj-switch/OjSwitch.ts +3 -5
- package/elements/oj-switch/OjSwitchBase.js +16 -16
- package/elements/oj-switch/OjSwitchBase.js.map +1 -1
- package/elements/oj-switch/OjSwitchBase.ts +96 -99
- package/elements/oj-switch/index.js +2 -2
- package/elements/oj-switch/index.js.map +1 -1
- package/elements/oj-switch/index.ts +14 -13
- package/elements/oj-tab-bar/OjTabBar.js.map +1 -1
- package/elements/oj-tab-bar/OjTabBar.ts +3 -5
- package/elements/oj-tab-bar/OjTabBarBase.js +14 -14
- package/elements/oj-tab-bar/OjTabBarBase.js.map +1 -1
- package/elements/oj-tab-bar/OjTabBarBase.ts +104 -107
- package/elements/oj-tab-bar/index.js +2 -2
- package/elements/oj-tab-bar/index.js.map +1 -1
- package/elements/oj-tab-bar/index.ts +14 -13
- package/elements/oj-table/OjTable.js +5 -6
- package/elements/oj-table/OjTable.js.map +1 -1
- package/elements/oj-table/OjTable.ts +8 -11
- package/elements/oj-table/OjTableBase.js +36 -30
- package/elements/oj-table/OjTableBase.js.map +1 -1
- package/elements/oj-table/OjTableBase.ts +604 -547
- package/elements/oj-table/index.js +2 -2
- package/elements/oj-table/index.js.map +1 -1
- package/elements/oj-table/index.ts +14 -13
- package/elements/oj-tag-cloud/OjTagCloud.js.map +1 -1
- package/elements/oj-tag-cloud/OjTagCloud.ts +3 -5
- package/elements/oj-tag-cloud/OjTagCloudBase.js +20 -20
- package/elements/oj-tag-cloud/OjTagCloudBase.js.map +1 -1
- package/elements/oj-tag-cloud/OjTagCloudBase.ts +188 -191
- package/elements/oj-tag-cloud/index.js +2 -2
- package/elements/oj-tag-cloud/index.js.map +1 -1
- package/elements/oj-tag-cloud/index.ts +14 -13
- package/elements/oj-text-area/OjTextArea.js.map +1 -1
- package/elements/oj-text-area/OjTextArea.ts +3 -5
- package/elements/oj-text-area/OjTextAreaBase.js +29 -29
- package/elements/oj-text-area/OjTextAreaBase.js.map +1 -1
- package/elements/oj-text-area/OjTextAreaBase.ts +182 -185
- package/elements/oj-text-area/index.js +2 -2
- package/elements/oj-text-area/index.js.map +1 -1
- package/elements/oj-text-area/index.ts +14 -13
- package/elements/oj-thematic-map/OjThematicMap.js.map +1 -1
- package/elements/oj-thematic-map/OjThematicMap.ts +3 -5
- package/elements/oj-thematic-map/OjThematicMapBase.js +37 -37
- package/elements/oj-thematic-map/OjThematicMapBase.js.map +1 -1
- package/elements/oj-thematic-map/OjThematicMapBase.ts +548 -551
- package/elements/oj-thematic-map/index.js +2 -2
- package/elements/oj-thematic-map/index.js.map +1 -1
- package/elements/oj-thematic-map/index.ts +14 -13
- package/elements/oj-time-axis/OjTimeAxis.js.map +1 -1
- package/elements/oj-time-axis/OjTimeAxis.ts +3 -5
- package/elements/oj-time-axis/OjTimeAxisBase.js +6 -6
- package/elements/oj-time-axis/OjTimeAxisBase.js.map +1 -1
- package/elements/oj-time-axis/OjTimeAxisBase.ts +128 -131
- package/elements/oj-time-axis/index.js +2 -2
- package/elements/oj-time-axis/index.js.map +1 -1
- package/elements/oj-time-axis/index.ts +14 -13
- package/elements/oj-timeline/OjTimeline.js.map +1 -1
- package/elements/oj-timeline/OjTimeline.ts +3 -5
- package/elements/oj-timeline/OjTimelineBase.js +30 -21
- package/elements/oj-timeline/OjTimelineBase.js.map +1 -1
- package/elements/oj-timeline/OjTimelineBase.ts +716 -583
- package/elements/oj-timeline/index.js +2 -2
- package/elements/oj-timeline/index.js.map +1 -1
- package/elements/oj-timeline/index.ts +14 -13
- package/elements/oj-train/OjTrain.js.map +1 -1
- package/elements/oj-train/OjTrain.ts +3 -5
- package/elements/oj-train/OjTrainBase.js +4 -4
- package/elements/oj-train/OjTrainBase.js.map +1 -1
- package/elements/oj-train/OjTrainBase.ts +35 -38
- package/elements/oj-train/index.js +2 -2
- package/elements/oj-train/index.js.map +1 -1
- package/elements/oj-train/index.ts +14 -13
- package/elements/oj-tree-view/OjTreeView.js +23 -6
- package/elements/oj-tree-view/OjTreeView.js.map +1 -1
- package/elements/oj-tree-view/OjTreeView.ts +40 -11
- package/elements/oj-tree-view/OjTreeViewBase.js +9 -9
- package/elements/oj-tree-view/OjTreeViewBase.js.map +1 -1
- package/elements/oj-tree-view/OjTreeViewBase.ts +80 -75
- package/elements/oj-tree-view/index.js +2 -2
- package/elements/oj-tree-view/index.js.map +1 -1
- package/elements/oj-tree-view/index.ts +14 -13
- package/elements/oj-treemap/OjTreemap.js.map +1 -1
- package/elements/oj-treemap/OjTreemap.ts +3 -5
- package/elements/oj-treemap/OjTreemapBase.js +35 -35
- package/elements/oj-treemap/OjTreemapBase.js.map +1 -1
- package/elements/oj-treemap/OjTreemapBase.ts +384 -387
- package/elements/oj-treemap/index.js +2 -2
- package/elements/oj-treemap/index.js.map +1 -1
- package/elements/oj-treemap/index.ts +14 -13
- package/elements/oj-waterfall-layout/OjWaterfallLayout.js.map +1 -1
- package/elements/oj-waterfall-layout/OjWaterfallLayout.ts +3 -5
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.js +5 -5
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.js.map +1 -1
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.ts +46 -49
- package/elements/oj-waterfall-layout/index.js +2 -2
- package/elements/oj-waterfall-layout/index.js.map +1 -1
- package/elements/oj-waterfall-layout/index.ts +14 -13
- package/index.ts +2 -2
- package/lib/driver-manager.js +6 -2
- package/lib/driver-manager.js.map +1 -1
- package/lib/driver-manager.ts +12 -8
- package/lib/input-utils.js +11 -1
- package/lib/input-utils.js.map +1 -1
- package/lib/input-utils.ts +18 -5
- package/lib/slot-proxy.js.map +1 -1
- package/lib/slot-proxy.ts +2 -1
- package/package.json +6 -5
- package/tsconfig.json +2 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OjDrawerPopupBase = void 0;
|
|
4
|
+
const __1 = require("../");
|
|
5
|
+
class OjDrawerPopupBase extends __1.OjWebElement {
|
|
6
|
+
getOpened() {
|
|
7
|
+
return this.getProperty('opened');
|
|
8
|
+
}
|
|
9
|
+
getEdge() {
|
|
10
|
+
return this.getProperty('edge');
|
|
11
|
+
}
|
|
12
|
+
getModality() {
|
|
13
|
+
return this.getProperty('modality');
|
|
14
|
+
}
|
|
15
|
+
getAutoDismiss() {
|
|
16
|
+
return this.getProperty('autoDismiss');
|
|
17
|
+
}
|
|
18
|
+
getCloseGesture() {
|
|
19
|
+
return this.getProperty('closeGesture');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.OjDrawerPopupBase = OjDrawerPopupBase;
|
|
23
|
+
//# sourceMappingURL=OjDrawerPopupBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OjDrawerPopupBase.js","sourceRoot":"","sources":["OjDrawerPopupBase.ts"],"names":[],"mappings":";;;AAAA,2BAAmC;AASnC,MAAa,iBAAkB,SAAQ,gBAAY;IAO1C,SAAS;QACd,OAAO,IAAI,CAAC,WAAW,CAAU,QAAQ,CAAC,CAAC;IAC7C,CAAC;IAQM,OAAO;QACZ,OAAO,IAAI,CAAC,WAAW,CAAS,MAAM,CAAC,CAAC;IAC1C,CAAC;IAQM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAQM,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAQM,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAS,cAAc,CAAC,CAAC;IAClD,CAAC;CAEF;AAnDD,8CAmDC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { OjWebElement } from '../';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This is the base class for OjDrawerPopup, and is generated from
|
|
5
|
+
* the component metadata. Do not put overrides in here as the
|
|
6
|
+
* contents are meant to be replaced by the generated functions.
|
|
7
|
+
* Put overrides into the component's default class, found in
|
|
8
|
+
* index.ts.
|
|
9
|
+
*/
|
|
10
|
+
export class OjDrawerPopupBase extends OjWebElement {
|
|
11
|
+
/**
|
|
12
|
+
* Gets the value of <code>opened</code> property.
|
|
13
|
+
* Specifies the 'opened' state of the drawer.
|
|
14
|
+
* @return The value of <code>opened</code> property.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
public getOpened(): Promise<boolean> {
|
|
18
|
+
return this.getProperty<boolean>('opened');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Gets the value of <code>edge</code> property.
|
|
23
|
+
* Specifies at what edge the drawer opens.
|
|
24
|
+
* @return The value of <code>edge</code> property.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
public getEdge(): Promise<string> {
|
|
28
|
+
return this.getProperty<string>('edge');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Gets the value of <code>modality</code> property.
|
|
33
|
+
* Controls the modality of the drawer.
|
|
34
|
+
* @return The value of <code>modality</code> property.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
public getModality(): Promise<string> {
|
|
38
|
+
return this.getProperty<string>('modality');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Gets the value of <code>autoDismiss</code> property.
|
|
43
|
+
* Controls the close auto-dismiss behaviour to close the drawer.
|
|
44
|
+
* @return The value of <code>autoDismiss</code> property.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
public getAutoDismiss(): Promise<string> {
|
|
48
|
+
return this.getProperty<string>('autoDismiss');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Gets the value of <code>closeGesture</code> property.
|
|
53
|
+
* Controls the close gesture to close the drawer.
|
|
54
|
+
* @return The value of <code>closeGesture</code> property.
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
public getCloseGesture(): Promise<string> {
|
|
58
|
+
return this.getProperty<string>('closeGesture');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ojDrawerPopup = exports.OjDrawerPopup = void 0;
|
|
4
|
+
const __1 = require("../../");
|
|
5
|
+
const OjDrawerPopup_1 = require("./OjDrawerPopup");
|
|
6
|
+
Object.defineProperty(exports, "OjDrawerPopup", { enumerable: true, get: function () { return OjDrawerPopup_1.OjDrawerPopup; } });
|
|
7
|
+
async function ojDrawerPopup(driver, by) {
|
|
8
|
+
const webEl = await driver.findElement(by);
|
|
9
|
+
if (!(webEl instanceof OjDrawerPopup_1.OjDrawerPopup)) {
|
|
10
|
+
const tagName = await webEl.getTagName();
|
|
11
|
+
throw Error(`ojDrawerPopup(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjDrawerPopup_1.OjDrawerPopup.name}`);
|
|
12
|
+
}
|
|
13
|
+
return webEl;
|
|
14
|
+
}
|
|
15
|
+
exports.ojDrawerPopup = ojDrawerPopup;
|
|
16
|
+
__1.register('oj-drawer-popup', OjDrawerPopup_1.OjDrawerPopup);
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,8BAA8C;AAC9C,mDAAgD;AACvC,8FADA,6BAAa,OACA;AAcf,KAAK,UAAU,aAAa,CAAC,MAAkB,EAAE,EAAM;IAC5D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAE3C,IAAI,CAAC,CAAC,KAAK,YAAY,6BAAa,CAAC,EAAE;QACrC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,iBAAiB,EAAE,YAAY,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,6BAAa,CAAC,IAAI,EAAE,CAAC,CAAC;KAC3H;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AARD,sCAQC;AAED,YAAQ,CAAC,iBAAiB,EAAE,6BAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { By } from 'selenium-webdriver';
|
|
2
|
+
import { DriverLike, register } from '../../';
|
|
3
|
+
import { OjDrawerPopup } from './OjDrawerPopup';
|
|
4
|
+
export { OjDrawerPopup };
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Retrieve an instance of [[OjDrawerPopup]].
|
|
8
|
+
* @example
|
|
9
|
+
* ```javascript
|
|
10
|
+
* import { ojDrawerPopup } from '@oracle/oraclejet-webdriver/elements';
|
|
11
|
+
* const el = await ojDrawerPopup(driver, By.id('my-oj-drawer-popup'));
|
|
12
|
+
* ```
|
|
13
|
+
* @param driver A WebDriver/WebElement instance from where the element will be
|
|
14
|
+
* searched. If WebDriver is passed, the element will be searched globally in the
|
|
15
|
+
* document. If WebElement is passed, the search will be relative to this element.
|
|
16
|
+
* @param by The locator with which to find the element
|
|
17
|
+
*/
|
|
18
|
+
export async function ojDrawerPopup(driver: DriverLike, by: By): Promise<OjDrawerPopup> {
|
|
19
|
+
const webEl = await driver.findElement(by);
|
|
20
|
+
// Check that the element is of type OjDrawerPopup
|
|
21
|
+
if (!(webEl instanceof OjDrawerPopup)) {
|
|
22
|
+
const tagName = await webEl.getTagName();
|
|
23
|
+
throw Error(`ojDrawerPopup(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjDrawerPopup.name}`);
|
|
24
|
+
}
|
|
25
|
+
return webEl;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
register('oj-drawer-popup', OjDrawerPopup);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjFilePicker.js","sourceRoot":"","sources":["OjFilePicker.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AACpD,yBAAyB;AACzB,6BAA6B;
|
|
1
|
+
{"version":3,"file":"OjFilePicker.js","sourceRoot":"","sources":["OjFilePicker.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AACpD,yBAAyB;AACzB,6BAA6B;AAM7B,MAAa,YAAa,SAAQ,mCAAgB;IAShD,KAAK,CAAC,QAAQ,CAAC,KAA4C;QACzD,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,QAAqB,CAAC;QAC1B,QAAQ,GAAG,EAAE,CAAC;QACd,IAAI,IAAU,CAAC;QACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACrC,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YAC1B,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC;YAC/B,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC;YAC/B,MAAM,IAAI,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YACvC,IAAI,IAAI,EAAE;gBACR,IAAI,GAAG,EAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAC,CAAA;gBAC/E,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;SACF;QACD,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,kBAAkB,CACvC,CAAC,oBAAoB;YACpB,0BAA0B;YAC1B,wCAAwC;YACtC,qBAAqB;YACrB,uFAAuF;YACzF,GAAG;YACH,kDAAkD;YAElD,4DAA4D;SAC9D,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC9B,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;IACpC,CAAC;CACF;AArCD,oCAqCC"}
|
|
@@ -2,11 +2,9 @@ import {OjFilePickerBase} from "./OjFilePickerBase";
|
|
|
2
2
|
import * as fs from 'fs';
|
|
3
3
|
import * as path from 'path';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* await ojFilePicker(driver, By.css('oj-file-picker'))
|
|
9
|
-
* ```
|
|
5
|
+
* The component WebElement for [oj-file-picker](../../jsdocs/oj.ojFilePicker.html).
|
|
6
|
+
* Do not instantiate this class directly, instead, use
|
|
7
|
+
* [ojFilePicker](../modules/elements.html#ojFilePicker).
|
|
10
8
|
*/
|
|
11
9
|
export class OjFilePicker extends OjFilePickerBase {
|
|
12
10
|
/**
|
|
@@ -4,25 +4,25 @@ exports.OjFilePickerBase = void 0;
|
|
|
4
4
|
const __1 = require("../");
|
|
5
5
|
class OjFilePickerBase extends __1.OjWebElement {
|
|
6
6
|
getAccept() {
|
|
7
|
-
return this.getProperty(
|
|
7
|
+
return this.getProperty('accept');
|
|
8
8
|
}
|
|
9
9
|
getCapture() {
|
|
10
|
-
return this.getProperty(
|
|
10
|
+
return this.getProperty('capture');
|
|
11
11
|
}
|
|
12
12
|
getDisabled() {
|
|
13
|
-
return this.getProperty(
|
|
13
|
+
return this.getProperty('disabled');
|
|
14
14
|
}
|
|
15
15
|
getPrimaryText() {
|
|
16
|
-
return this.getProperty(
|
|
16
|
+
return this.getProperty('primaryText');
|
|
17
17
|
}
|
|
18
18
|
getSecondaryText() {
|
|
19
|
-
return this.getProperty(
|
|
19
|
+
return this.getProperty('secondaryText');
|
|
20
20
|
}
|
|
21
21
|
getSelectOn() {
|
|
22
|
-
return this.getProperty(
|
|
22
|
+
return this.getProperty('selectOn');
|
|
23
23
|
}
|
|
24
24
|
getSelectionMode() {
|
|
25
|
-
return this.getProperty(
|
|
25
|
+
return this.getProperty('selectionMode');
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
exports.OjFilePickerBase = OjFilePickerBase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjFilePickerBase.js","sourceRoot":"","sources":["OjFilePickerBase.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"OjFilePickerBase.js","sourceRoot":"","sources":["OjFilePickerBase.ts"],"names":[],"mappings":";;;AAAA,2BAAmC;AASnC,MAAa,gBAAiB,SAAQ,gBAAY;IAOzC,SAAS;QACd,OAAO,IAAI,CAAC,WAAW,CAAqB,QAAQ,CAAC,CAAC;IACxD,CAAC;IAQM,UAAU;QACf,OAAO,IAAI,CAAC,WAAW,CAAc,SAAS,CAAC,CAAC;IAClD,CAAC;IAQM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAQM,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAc,aAAa,CAAC,CAAC;IACtD,CAAC;IAQM,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAc,eAAe,CAAC,CAAC;IACxD,CAAC;IAQM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAQM,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;CAEF;AAvED,4CAuEC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {OjWebElement} from
|
|
1
|
+
import { OjWebElement } from '../';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This is the base class for OjFilePicker, and is generated from
|
|
@@ -9,73 +9,73 @@ import {OjWebElement} from "../";
|
|
|
9
9
|
*/
|
|
10
10
|
export class OjFilePickerBase extends OjWebElement {
|
|
11
11
|
/**
|
|
12
|
-
* Gets the value of accept property.
|
|
12
|
+
* Gets the value of <code>accept</code> property.
|
|
13
13
|
* An array of strings of allowed MIME types or file extensions that can be uploaded. If not specified, accept all file types
|
|
14
|
-
* @return The value of accept property.
|
|
14
|
+
* @return The value of <code>accept</code> property.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
public getAccept(): Promise<Array<string>|null> {
|
|
18
|
-
return this.getProperty<Array<string>|null>(
|
|
18
|
+
return this.getProperty<Array<string>|null>('accept');
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the value of capture property.
|
|
22
|
+
* Gets the value of <code>capture</code> property.
|
|
23
23
|
* Specifies the preferred facing mode for the device's media capture mechanism.
|
|
24
|
-
* @return The value of capture property.
|
|
24
|
+
* @return The value of <code>capture</code> property.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
public getCapture(): Promise<string|null> {
|
|
28
|
-
return this.getProperty<string|null>(
|
|
28
|
+
return this.getProperty<string|null>('capture');
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Gets the value of disabled property.
|
|
32
|
+
* Gets the value of <code>disabled</code> property.
|
|
33
33
|
* Disables the filepicker if set to true
|
|
34
|
-
* @return The value of disabled property.
|
|
34
|
+
* @return The value of <code>disabled</code> property.
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
public getDisabled(): Promise<boolean> {
|
|
38
|
-
return this.getProperty<boolean>(
|
|
38
|
+
return this.getProperty<boolean>('disabled');
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Gets the value of primaryText property.
|
|
42
|
+
* Gets the value of <code>primaryText</code> property.
|
|
43
43
|
* The primary text for the default file picker.
|
|
44
|
-
* @return The value of primaryText property.
|
|
44
|
+
* @return The value of <code>primaryText</code> property.
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
public getPrimaryText(): Promise<string|null> {
|
|
48
|
-
return this.getProperty<string|null>(
|
|
48
|
+
return this.getProperty<string|null>('primaryText');
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Gets the value of secondaryText property.
|
|
52
|
+
* Gets the value of <code>secondaryText</code> property.
|
|
53
53
|
* The secondary text for the default file picker.
|
|
54
|
-
* @return The value of secondaryText property.
|
|
54
|
+
* @return The value of <code>secondaryText</code> property.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
public getSecondaryText(): Promise<string|null> {
|
|
58
|
-
return this.getProperty<string|null>(
|
|
58
|
+
return this.getProperty<string|null>('secondaryText');
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Gets the value of selectOn property.
|
|
62
|
+
* Gets the value of <code>selectOn</code> property.
|
|
63
63
|
* The type of event to select the files.
|
|
64
|
-
* @return The value of selectOn property.
|
|
64
|
+
* @return The value of <code>selectOn</code> property.
|
|
65
65
|
*
|
|
66
66
|
*/
|
|
67
67
|
public getSelectOn(): Promise<string> {
|
|
68
|
-
return this.getProperty<string>(
|
|
68
|
+
return this.getProperty<string>('selectOn');
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Gets the value of selectionMode property.
|
|
72
|
+
* Gets the value of <code>selectionMode</code> property.
|
|
73
73
|
* Whether to allow single or multiple file selection.
|
|
74
|
-
* @return The value of selectionMode property.
|
|
74
|
+
* @return The value of <code>selectionMode</code> property.
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
public getSelectionMode(): Promise<string> {
|
|
78
|
-
return this.getProperty<string>(
|
|
78
|
+
return this.getProperty<string>('selectionMode');
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
}
|
|
@@ -8,10 +8,10 @@ async function ojFilePicker(driver, by) {
|
|
|
8
8
|
const webEl = await driver.findElement(by);
|
|
9
9
|
if (!(webEl instanceof OjFilePicker_1.OjFilePicker)) {
|
|
10
10
|
const tagName = await webEl.getTagName();
|
|
11
|
-
throw Error(`
|
|
11
|
+
throw Error(`ojFilePicker(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjFilePicker_1.OjFilePicker.name}`);
|
|
12
12
|
}
|
|
13
13
|
return webEl;
|
|
14
14
|
}
|
|
15
15
|
exports.ojFilePicker = ojFilePicker;
|
|
16
|
-
__1.register(
|
|
16
|
+
__1.register('oj-file-picker', OjFilePicker_1.OjFilePicker);
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,8BAA8C;AAC9C,iDAA8C;AACrC,6FADA,2BAAY,OACA;AAcd,KAAK,UAAU,YAAY,CAAC,MAAkB,EAAE,EAAM;IAC3D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAE3C,IAAI,CAAC,CAAC,KAAK,YAAY,2BAAY,CAAC,EAAE;QACpC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,gBAAgB,EAAE,YAAY,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,2BAAY,CAAC,IAAI,EAAE,CAAC,CAAC;KACzH;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AARD,oCAQC;AAED,YAAQ,CAAC,gBAAgB,EAAE,2BAAY,CAAC,CAAC"}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { By } from
|
|
2
|
-
import
|
|
3
|
-
import { OjFilePicker } from
|
|
1
|
+
import { By } from 'selenium-webdriver';
|
|
2
|
+
import { DriverLike, register } from '../../';
|
|
3
|
+
import { OjFilePicker } from './OjFilePicker';
|
|
4
4
|
export { OjFilePicker };
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* the element to appear in the DOM before trying to locate it.
|
|
7
|
+
* Retrieve an instance of [[OjFilePicker]].
|
|
9
8
|
* @example
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* element
|
|
15
|
-
*
|
|
9
|
+
* ```javascript
|
|
10
|
+
* import { ojFilePicker } from '@oracle/oraclejet-webdriver/elements';
|
|
11
|
+
* const el = await ojFilePicker(driver, By.id('my-oj-file-picker'));
|
|
12
|
+
* ```
|
|
13
|
+
* @param driver A WebDriver/WebElement instance from where the element will be
|
|
14
|
+
* searched. If WebDriver is passed, the element will be searched globally in the
|
|
15
|
+
* document. If WebElement is passed, the search will be relative to this element.
|
|
16
|
+
* @param by The locator with which to find the element
|
|
16
17
|
*/
|
|
17
18
|
export async function ojFilePicker(driver: DriverLike, by: By): Promise<OjFilePicker> {
|
|
18
19
|
const webEl = await driver.findElement(by);
|
|
19
20
|
// Check that the element is of type OjFilePicker
|
|
20
21
|
if (!(webEl instanceof OjFilePicker)) {
|
|
21
22
|
const tagName = await webEl.getTagName();
|
|
22
|
-
throw Error(`
|
|
23
|
+
throw Error(`ojFilePicker(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjFilePicker.name}`);
|
|
23
24
|
}
|
|
24
25
|
return webEl;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
register(
|
|
28
|
+
register('oj-file-picker', OjFilePicker);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjFilmStrip.js","sourceRoot":"","sources":["OjFilmStrip.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;
|
|
1
|
+
{"version":3,"file":"OjFilmStrip.js","sourceRoot":"","sources":["OjFilmStrip.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAOlD,MAAa,WAAY,SAAQ,iCAAe;CAE/C;AAFD,kCAEC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {OjFilmStripBase} from "./OjFilmStripBase";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* await ojFilmStrip(driver, By.css('oj-film-strip'))
|
|
8
|
-
* ```
|
|
4
|
+
* The component WebElement for [oj-film-strip](../../jsdocs/oj.ojFilmStrip.html).
|
|
5
|
+
* Do not instantiate this class directly, instead, use
|
|
6
|
+
* [ojFilmStrip](../modules/elements.html#ojFilmStrip).
|
|
9
7
|
*/
|
|
10
8
|
export class OjFilmStrip extends OjFilmStripBase {
|
|
11
9
|
// Put overrides here
|
|
@@ -4,28 +4,28 @@ exports.OjFilmStripBase = void 0;
|
|
|
4
4
|
const __1 = require("../");
|
|
5
5
|
class OjFilmStripBase extends __1.OjWebElement {
|
|
6
6
|
getArrowPlacement() {
|
|
7
|
-
return this.getProperty(
|
|
7
|
+
return this.getProperty('arrowPlacement');
|
|
8
8
|
}
|
|
9
9
|
getArrowVisibility() {
|
|
10
|
-
return this.getProperty(
|
|
10
|
+
return this.getProperty('arrowVisibility');
|
|
11
11
|
}
|
|
12
12
|
changeCurrentItem(currentItem) {
|
|
13
|
-
return this.setProperty(
|
|
13
|
+
return this.setProperty('currentItem', currentItem);
|
|
14
14
|
}
|
|
15
15
|
getCurrentItem() {
|
|
16
|
-
return this.getProperty(
|
|
16
|
+
return this.getProperty('currentItem');
|
|
17
17
|
}
|
|
18
18
|
getLooping() {
|
|
19
|
-
return this.getProperty(
|
|
19
|
+
return this.getProperty('looping');
|
|
20
20
|
}
|
|
21
21
|
getMaxItemsPerPage() {
|
|
22
|
-
return this.getProperty(
|
|
22
|
+
return this.getProperty('maxItemsPerPage');
|
|
23
23
|
}
|
|
24
24
|
getOrientation() {
|
|
25
|
-
return this.getProperty(
|
|
25
|
+
return this.getProperty('orientation');
|
|
26
26
|
}
|
|
27
27
|
getTranslations() {
|
|
28
|
-
return this.getProperty(
|
|
28
|
+
return this.getProperty('translations');
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
exports.OjFilmStripBase = OjFilmStripBase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjFilmStripBase.js","sourceRoot":"","sources":["OjFilmStripBase.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"OjFilmStripBase.js","sourceRoot":"","sources":["OjFilmStripBase.ts"],"names":[],"mappings":";;;AAAA,2BAAmC;AASnC,MAAa,eAAgB,SAAQ,gBAAY;IAOxC,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAS,gBAAgB,CAAC,CAAC;IACpD,CAAC;IAQM,kBAAkB;QACvB,OAAO,IAAI,CAAC,WAAW,CAAS,iBAAiB,CAAC,CAAC;IACrD,CAAC;IAQM,iBAAiB,CAAC,WAAwB;QAC/C,OAAO,IAAI,CAAC,WAAW,CAAc,aAAa,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;IAQM,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAc,aAAa,CAAC,CAAC;IACtD,CAAC;IAQM,UAAU;QACf,OAAO,IAAI,CAAC,WAAW,CAAS,SAAS,CAAC,CAAC;IAC7C,CAAC;IAQM,kBAAkB;QACvB,OAAO,IAAI,CAAC,WAAW,CAAS,iBAAiB,CAAC,CAAC;IACrD,CAAC;IAQM,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAQM,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAoB,cAAc,CAAC,CAAC;IAC7D,CAAC;CAEF;AAjFD,0CAiFC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {OjWebElement} from
|
|
1
|
+
import { OjWebElement } from '../';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This is the base class for OjFilmStrip, and is generated from
|
|
@@ -9,118 +9,115 @@ import {OjWebElement} from "../";
|
|
|
9
9
|
*/
|
|
10
10
|
export class OjFilmStripBase extends OjWebElement {
|
|
11
11
|
/**
|
|
12
|
-
* Gets the value of arrowPlacement property.
|
|
12
|
+
* Gets the value of <code>arrowPlacement</code> property.
|
|
13
13
|
* Specifies the placement of the navigation arrows.
|
|
14
|
-
* @return The value of arrowPlacement property.
|
|
14
|
+
* @return The value of <code>arrowPlacement</code> property.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
public getArrowPlacement(): Promise<string> {
|
|
18
|
-
return this.getProperty<string>(
|
|
18
|
+
return this.getProperty<string>('arrowPlacement');
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the value of arrowVisibility property.
|
|
22
|
+
* Gets the value of <code>arrowVisibility</code> property.
|
|
23
23
|
* Specifies the visibility of the navigation arrows.
|
|
24
|
-
* @return The value of arrowVisibility property.
|
|
24
|
+
* @return The value of <code>arrowVisibility</code> property.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
public getArrowVisibility(): Promise<string> {
|
|
28
|
-
return this.getProperty<string>(
|
|
28
|
+
return this.getProperty<string>('arrowVisibility');
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Sets the value of
|
|
32
|
+
* Sets the value of <code>currentItem</code> property.
|
|
33
33
|
* Specifies the child item whose logical page should be displayed.
|
|
34
|
-
* @param currentItem The value to set for
|
|
34
|
+
* @param currentItem The value to set for <code>currentItem</code>
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
|
-
public changeCurrentItem(currentItem:
|
|
38
|
-
return this.setProperty<
|
|
37
|
+
public changeCurrentItem(currentItem: CurrentItem): Promise<void> {
|
|
38
|
+
return this.setProperty<CurrentItem>('currentItem', currentItem);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Gets the value of currentItem property.
|
|
42
|
+
* Gets the value of <code>currentItem</code> property.
|
|
43
43
|
* Specifies the child item whose logical page should be displayed.
|
|
44
|
-
* @return The value of currentItem property.
|
|
44
|
+
* @return The value of <code>currentItem</code> property.
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
|
-
public getCurrentItem(): Promise<
|
|
48
|
-
return this.getProperty<
|
|
47
|
+
public getCurrentItem(): Promise<CurrentItem> {
|
|
48
|
+
return this.getProperty<CurrentItem>('currentItem');
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Gets the value of looping property.
|
|
52
|
+
* Gets the value of <code>looping</code> property.
|
|
53
53
|
* Specifies the navigation looping behavior
|
|
54
|
-
* @return The value of looping property.
|
|
54
|
+
* @return The value of <code>looping</code> property.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
public getLooping(): Promise<string> {
|
|
58
|
-
return this.getProperty<string>(
|
|
58
|
+
return this.getProperty<string>('looping');
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Gets the value of maxItemsPerPage property.
|
|
62
|
+
* Gets the value of <code>maxItemsPerPage</code> property.
|
|
63
63
|
* Specifies the maximum number of child items shown in a logical page.
|
|
64
|
-
* @return The value of maxItemsPerPage property.
|
|
64
|
+
* @return The value of <code>maxItemsPerPage</code> property.
|
|
65
65
|
*
|
|
66
66
|
*/
|
|
67
67
|
public getMaxItemsPerPage(): Promise<number> {
|
|
68
|
-
return this.getProperty<number>(
|
|
68
|
+
return this.getProperty<number>('maxItemsPerPage');
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Gets the value of orientation property.
|
|
72
|
+
* Gets the value of <code>orientation</code> property.
|
|
73
73
|
* Specifies the orientation of the FilmStrip.
|
|
74
|
-
* @return The value of orientation property.
|
|
74
|
+
* @return The value of <code>orientation</code> property.
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
public getOrientation(): Promise<string> {
|
|
78
|
-
return this.getProperty<string>(
|
|
78
|
+
return this.getProperty<string>('orientation');
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Gets the value of translations property.
|
|
82
|
+
* Gets the value of <code>translations</code> property.
|
|
83
83
|
* A collection of translated resources from the translation bundle, or null if this component has no resources.
|
|
84
|
-
* @return The value of translations property.
|
|
84
|
+
* @return The value of <code>translations</code> property.
|
|
85
85
|
*
|
|
86
86
|
*/
|
|
87
|
-
public getTranslations(): Promise<
|
|
88
|
-
return this.getProperty<
|
|
87
|
+
public getTranslations(): Promise<Translations|null> {
|
|
88
|
+
return this.getProperty<Translations|null>('translations');
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
*/
|
|
124
|
-
"tipArrowPreviousPage": string;
|
|
125
|
-
}
|
|
92
|
+
export interface CurrentItem {
|
|
93
|
+
/**
|
|
94
|
+
* string id of the item
|
|
95
|
+
*/
|
|
96
|
+
"id": string;
|
|
97
|
+
/**
|
|
98
|
+
* numeric 0-based index of the item
|
|
99
|
+
*/
|
|
100
|
+
"index": number;
|
|
101
|
+
}
|
|
102
|
+
export interface Translations {
|
|
103
|
+
/**
|
|
104
|
+
* Accessible label for the next page navigation arrow.
|
|
105
|
+
*/
|
|
106
|
+
"labelAccArrowNextPage": string;
|
|
107
|
+
/**
|
|
108
|
+
* Accessible label for the previous page navigation arrow.
|
|
109
|
+
*/
|
|
110
|
+
"labelAccArrowPreviousPage": string;
|
|
111
|
+
/**
|
|
112
|
+
* Accessible page information label for the filmstrip element.
|
|
113
|
+
*/
|
|
114
|
+
"labelAccFilmStrip": string;
|
|
115
|
+
/**
|
|
116
|
+
* Tooltip for the next page navigation arrow.
|
|
117
|
+
*/
|
|
118
|
+
"tipArrowNextPage": string;
|
|
119
|
+
/**
|
|
120
|
+
* Tooltip for the previous page navigation arrow.
|
|
121
|
+
*/
|
|
122
|
+
"tipArrowPreviousPage": string;
|
|
126
123
|
}
|
|
@@ -8,10 +8,10 @@ async function ojFilmStrip(driver, by) {
|
|
|
8
8
|
const webEl = await driver.findElement(by);
|
|
9
9
|
if (!(webEl instanceof OjFilmStrip_1.OjFilmStrip)) {
|
|
10
10
|
const tagName = await webEl.getTagName();
|
|
11
|
-
throw Error(`
|
|
11
|
+
throw Error(`ojFilmStrip(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjFilmStrip_1.OjFilmStrip.name}`);
|
|
12
12
|
}
|
|
13
13
|
return webEl;
|
|
14
14
|
}
|
|
15
15
|
exports.ojFilmStrip = ojFilmStrip;
|
|
16
|
-
__1.register(
|
|
16
|
+
__1.register('oj-film-strip', OjFilmStrip_1.OjFilmStrip);
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,8BAA8C;AAC9C,+CAA4C;AACnC,4FADA,yBAAW,OACA;AAcb,KAAK,UAAU,WAAW,CAAC,MAAkB,EAAE,EAAM;IAC1D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAE3C,IAAI,CAAC,CAAC,KAAK,YAAY,yBAAW,CAAC,EAAE;QACnC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,eAAe,EAAE,YAAY,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,yBAAW,CAAC,IAAI,EAAE,CAAC,CAAC;KACvH;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AARD,kCAQC;AAED,YAAQ,CAAC,eAAe,EAAE,yBAAW,CAAC,CAAC"}
|