@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjButtonBase.js","sourceRoot":"","sources":["OjButtonBase.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"OjButtonBase.js","sourceRoot":"","sources":["OjButtonBase.ts"],"names":[],"mappings":";;;AAAA,2BAAmC;AASnC,MAAa,YAAa,SAAQ,gBAAY;IAOrC,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAQM,UAAU;QACf,OAAO,IAAI,CAAC,WAAW,CAAS,SAAS,CAAC,CAAC;IAC7C,CAAC;IAQM,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;IAQM,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAc,cAAc,CAAC,CAAC;IACvD,CAAC;IAQM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;CAEF;AAnDD,oCAmDC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {OjWebElement} from
|
|
1
|
+
import { OjWebElement } from '../';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This is the base class for OjButton, and is generated from
|
|
@@ -9,53 +9,53 @@ import {OjWebElement} from "../";
|
|
|
9
9
|
*/
|
|
10
10
|
export class OjButtonBase extends OjWebElement {
|
|
11
11
|
/**
|
|
12
|
-
* Gets the value of disabled property.
|
|
12
|
+
* Gets the value of <code>disabled</code> property.
|
|
13
13
|
* Specifies that the button element should be disabled.
|
|
14
|
-
* @return The value of disabled property.
|
|
14
|
+
* @return The value of <code>disabled</code> property.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
public getDisabled(): Promise<boolean> {
|
|
18
|
-
return this.getProperty<boolean>(
|
|
18
|
+
return this.getProperty<boolean>('disabled');
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the value of display property.
|
|
22
|
+
* Gets the value of <code>display</code> property.
|
|
23
23
|
* Specifies whether the button displays label and icons, or just icons.
|
|
24
|
-
* @return The value of display property.
|
|
24
|
+
* @return The value of <code>display</code> property.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
public getDisplay(): Promise<string> {
|
|
28
|
-
return this.getProperty<string>(
|
|
28
|
+
return this.getProperty<string>('display');
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Gets the value of label property.
|
|
32
|
+
* Gets the value of <code>label</code> property.
|
|
33
33
|
* Text to show in the button. The default is from the label in the DOM.
|
|
34
|
-
* @return The value of label property.
|
|
34
|
+
* @return The value of <code>label</code> property.
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
public getLabel(): Promise<string> {
|
|
38
|
-
return this.getProperty<string>(
|
|
38
|
+
return this.getProperty<string>('label');
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Gets the value of translations property.
|
|
42
|
+
* Gets the value of <code>translations</code> property.
|
|
43
43
|
* A collection of translated resources from the translation bundle, or null if this component has no resources.
|
|
44
|
-
* @return The value of translations property.
|
|
44
|
+
* @return The value of <code>translations</code> property.
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
public getTranslations(): Promise<object|null> {
|
|
48
|
-
return this.getProperty<object|null>(
|
|
48
|
+
return this.getProperty<object|null>('translations');
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Gets the value of chroming property.
|
|
52
|
+
* Gets the value of <code>chroming</code> property.
|
|
53
53
|
* Indicates in what states the button has chrome (background and border).
|
|
54
|
-
* @return The value of chroming property.
|
|
54
|
+
* @return The value of <code>chroming</code> property.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
public getChroming(): Promise<string> {
|
|
58
|
-
return this.getProperty<string>(
|
|
58
|
+
return this.getProperty<string>('chroming');
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
}
|
|
@@ -8,10 +8,10 @@ async function ojButton(driver, by) {
|
|
|
8
8
|
const webEl = await driver.findElement(by);
|
|
9
9
|
if (!(webEl instanceof OjButton_1.OjButton)) {
|
|
10
10
|
const tagName = await webEl.getTagName();
|
|
11
|
-
throw Error(`
|
|
11
|
+
throw Error(`ojButton(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjButton_1.OjButton.name}`);
|
|
12
12
|
}
|
|
13
13
|
return webEl;
|
|
14
14
|
}
|
|
15
15
|
exports.ojButton = ojButton;
|
|
16
|
-
__1.register(
|
|
16
|
+
__1.register('oj-button', OjButton_1.OjButton);
|
|
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,yCAAsC;AAC7B,yFADA,mBAAQ,OACA;AAcV,KAAK,UAAU,QAAQ,CAAC,MAAkB,EAAE,EAAM;IACvD,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAE3C,IAAI,CAAC,CAAC,KAAK,YAAY,mBAAQ,CAAC,EAAE;QAChC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,YAAY,EAAE,YAAY,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,mBAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;KACjH;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AARD,4BAQC;AAED,YAAQ,CAAC,WAAW,EAAE,mBAAQ,CAAC,CAAC"}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { By } from
|
|
2
|
-
import
|
|
3
|
-
import { OjButton } from
|
|
1
|
+
import { By } from 'selenium-webdriver';
|
|
2
|
+
import { DriverLike, register } from '../../';
|
|
3
|
+
import { OjButton } from './OjButton';
|
|
4
4
|
export { OjButton };
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* the element to appear in the DOM before trying to locate it.
|
|
7
|
+
* Retrieve an instance of [[OjButton]].
|
|
9
8
|
* @example
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* element
|
|
15
|
-
*
|
|
9
|
+
* ```javascript
|
|
10
|
+
* import { ojButton } from '@oracle/oraclejet-webdriver/elements';
|
|
11
|
+
* const el = await ojButton(driver, By.id('my-oj-button'));
|
|
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 ojButton(driver: DriverLike, by: By): Promise<OjButton> {
|
|
18
19
|
const webEl = await driver.findElement(by);
|
|
19
20
|
// Check that the element is of type OjButton
|
|
20
21
|
if (!(webEl instanceof OjButton)) {
|
|
21
22
|
const tagName = await webEl.getTagName();
|
|
22
|
-
throw Error(`
|
|
23
|
+
throw Error(`ojButton(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjButton.name}`);
|
|
23
24
|
}
|
|
24
25
|
return webEl;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
register(
|
|
28
|
+
register('oj-button', OjButton);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjButtonsetMany.js","sourceRoot":"","sources":["OjButtonsetMany.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;
|
|
1
|
+
{"version":3,"file":"OjButtonsetMany.js","sourceRoot":"","sources":["OjButtonsetMany.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;AAO1D,MAAa,eAAgB,SAAQ,yCAAmB;CACvD;AADD,0CACC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {OjButtonsetManyBase} from "./OjButtonsetManyBase";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* await ojButtonsetMany(driver, By.css('oj-buttonset-many'))
|
|
8
|
-
* ```
|
|
4
|
+
* The component WebElement for [oj-buttonset-many](../../jsdocs/oj.ojButtonsetMany.html).
|
|
5
|
+
* Do not instantiate this class directly, instead, use
|
|
6
|
+
* [ojButtonsetMany](../modules/elements.html#ojButtonsetMany).
|
|
9
7
|
*/
|
|
10
8
|
export class OjButtonsetMany extends OjButtonsetManyBase {
|
|
11
9
|
}
|
|
@@ -4,31 +4,31 @@ exports.OjButtonsetManyBase = void 0;
|
|
|
4
4
|
const __1 = require("../");
|
|
5
5
|
class OjButtonsetManyBase extends __1.OjWebElement {
|
|
6
6
|
getChroming() {
|
|
7
|
-
return this.getProperty(
|
|
7
|
+
return this.getProperty('chroming');
|
|
8
8
|
}
|
|
9
9
|
getDescribedBy() {
|
|
10
|
-
return this.getProperty(
|
|
10
|
+
return this.getProperty('describedBy');
|
|
11
11
|
}
|
|
12
12
|
getDisabled() {
|
|
13
|
-
return this.getProperty(
|
|
13
|
+
return this.getProperty('disabled');
|
|
14
14
|
}
|
|
15
15
|
getDisplay() {
|
|
16
|
-
return this.getProperty(
|
|
16
|
+
return this.getProperty('display');
|
|
17
17
|
}
|
|
18
18
|
getFocusManagement() {
|
|
19
|
-
return this.getProperty(
|
|
19
|
+
return this.getProperty('focusManagement');
|
|
20
20
|
}
|
|
21
21
|
getLabelledBy() {
|
|
22
|
-
return this.getProperty(
|
|
22
|
+
return this.getProperty('labelledBy');
|
|
23
23
|
}
|
|
24
24
|
getTranslations() {
|
|
25
|
-
return this.getProperty(
|
|
25
|
+
return this.getProperty('translations');
|
|
26
26
|
}
|
|
27
27
|
changeValue(value) {
|
|
28
|
-
return this.setProperty(
|
|
28
|
+
return this.setProperty('value', value);
|
|
29
29
|
}
|
|
30
30
|
getValue() {
|
|
31
|
-
return this.getProperty(
|
|
31
|
+
return this.getProperty('value');
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.OjButtonsetManyBase = OjButtonsetManyBase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjButtonsetManyBase.js","sourceRoot":"","sources":["OjButtonsetManyBase.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"OjButtonsetManyBase.js","sourceRoot":"","sources":["OjButtonsetManyBase.ts"],"names":[],"mappings":";;;AAAA,2BAAmC;AASnC,MAAa,mBAAoB,SAAQ,gBAAY;IAO5C,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,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,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,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAc,YAAY,CAAC,CAAC;IACrD,CAAC;IAQM,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAc,cAAc,CAAC,CAAC;IACvD,CAAC;IAQM,WAAW,CAAC,KAAsB;QACvC,OAAO,IAAI,CAAC,WAAW,CAAkB,OAAO,EAAE,KAAK,CAAC,CAAC;IAC3D,CAAC;IAQM,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAkB,OAAO,CAAC,CAAC;IACpD,CAAC;CAEF;AA3FD,kDA2FC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {OjWebElement} from
|
|
1
|
+
import { OjWebElement } from '../';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This is the base class for OjButtonsetMany, and is generated from
|
|
@@ -9,93 +9,93 @@ import {OjWebElement} from "../";
|
|
|
9
9
|
*/
|
|
10
10
|
export class OjButtonsetManyBase extends OjWebElement {
|
|
11
11
|
/**
|
|
12
|
-
* Gets the value of chroming property.
|
|
12
|
+
* Gets the value of <code>chroming</code> property.
|
|
13
13
|
* Indicates in what states the buttonset has chrome (background and border).
|
|
14
|
-
* @return The value of chroming property.
|
|
14
|
+
* @return The value of <code>chroming</code> property.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
public getChroming(): Promise<string> {
|
|
18
|
-
return this.getProperty<string>(
|
|
18
|
+
return this.getProperty<string>('chroming');
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the value of describedBy property.
|
|
22
|
+
* Gets the value of <code>describedBy</code> property.
|
|
23
23
|
* buttonset's oj-label automatically sets described-by to make it accessible. It is not meant to be set by application developer.
|
|
24
|
-
* @return The value of describedBy property.
|
|
24
|
+
* @return The value of <code>describedBy</code> property.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
public getDescribedBy(): Promise<string> {
|
|
28
|
-
return this.getProperty<string>(
|
|
28
|
+
return this.getProperty<string>('describedBy');
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Gets the value of disabled property.
|
|
32
|
+
* Gets the value of <code>disabled</code> property.
|
|
33
33
|
* Specifies that the buttonset element should be disabled.
|
|
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 display property.
|
|
42
|
+
* Gets the value of <code>display</code> property.
|
|
43
43
|
* Specifies whether the buttonset displays label and icons, or just icons.
|
|
44
|
-
* @return The value of display property.
|
|
44
|
+
* @return The value of <code>display</code> property.
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
public getDisplay(): Promise<string> {
|
|
48
|
-
return this.getProperty<string>(
|
|
48
|
+
return this.getProperty<string>('display');
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Gets the value of focusManagement property.
|
|
52
|
+
* Gets the value of <code>focusManagement</code> property.
|
|
53
53
|
* Should be set to none when the buttonset is placed within a toolbar.
|
|
54
|
-
* @return The value of focusManagement property.
|
|
54
|
+
* @return The value of <code>focusManagement</code> property.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
public getFocusManagement(): Promise<string> {
|
|
58
|
-
return this.getProperty<string>(
|
|
58
|
+
return this.getProperty<string>('focusManagement');
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Gets the value of labelledBy property.
|
|
62
|
+
* Gets the value of <code>labelledBy</code> property.
|
|
63
63
|
* Establishes a relationship between this component and another element, typically an oj-label custom element. See the Help documentation for more information.
|
|
64
|
-
* @return The value of labelledBy property.
|
|
64
|
+
* @return The value of <code>labelledBy</code> property.
|
|
65
65
|
*
|
|
66
66
|
*/
|
|
67
67
|
public getLabelledBy(): Promise<string|null> {
|
|
68
|
-
return this.getProperty<string|null>(
|
|
68
|
+
return this.getProperty<string|null>('labelledBy');
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Gets the value of translations property.
|
|
72
|
+
* Gets the value of <code>translations</code> property.
|
|
73
73
|
* A collection of translated resources from the translation bundle, or null if this component has no resources.
|
|
74
|
-
* @return The value of translations property.
|
|
74
|
+
* @return The value of <code>translations</code> property.
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
public getTranslations(): Promise<object|null> {
|
|
78
|
-
return this.getProperty<object|null>(
|
|
78
|
+
return this.getProperty<object|null>('translations');
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Sets the value of
|
|
82
|
+
* Sets the value of <code>value</code> property.
|
|
83
83
|
* Indicates which oj-options in the buttonset are selected.
|
|
84
|
-
* @param value The value to set for
|
|
84
|
+
* @param value The value to set for <code>value</code>
|
|
85
85
|
*
|
|
86
86
|
*/
|
|
87
87
|
public changeValue(value: Array<any>|null): Promise<void> {
|
|
88
|
-
return this.setProperty<Array<any>|null>(
|
|
88
|
+
return this.setProperty<Array<any>|null>('value', value);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* Gets the value of value property.
|
|
92
|
+
* Gets the value of <code>value</code> property.
|
|
93
93
|
* Indicates which oj-options in the buttonset are selected.
|
|
94
|
-
* @return The value of value property.
|
|
94
|
+
* @return The value of <code>value</code> property.
|
|
95
95
|
*
|
|
96
96
|
*/
|
|
97
97
|
public getValue(): Promise<Array<any>|null> {
|
|
98
|
-
return this.getProperty<Array<any>|null>(
|
|
98
|
+
return this.getProperty<Array<any>|null>('value');
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
}
|
|
@@ -8,10 +8,10 @@ async function ojButtonsetMany(driver, by) {
|
|
|
8
8
|
const webEl = await driver.findElement(by);
|
|
9
9
|
if (!(webEl instanceof OjButtonsetMany_1.OjButtonsetMany)) {
|
|
10
10
|
const tagName = await webEl.getTagName();
|
|
11
|
-
throw Error(`
|
|
11
|
+
throw Error(`ojButtonsetMany(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjButtonsetMany_1.OjButtonsetMany.name}`);
|
|
12
12
|
}
|
|
13
13
|
return webEl;
|
|
14
14
|
}
|
|
15
15
|
exports.ojButtonsetMany = ojButtonsetMany;
|
|
16
|
-
__1.register(
|
|
16
|
+
__1.register('oj-buttonset-many', OjButtonsetMany_1.OjButtonsetMany);
|
|
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,uDAAoD;AAC3C,gGADA,iCAAe,OACA;AAcjB,KAAK,UAAU,eAAe,CAAC,MAAkB,EAAE,EAAM;IAC9D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAE3C,IAAI,CAAC,CAAC,KAAK,YAAY,iCAAe,CAAC,EAAE;QACvC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,mBAAmB,EAAE,YAAY,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,iCAAe,CAAC,IAAI,EAAE,CAAC,CAAC;KAC/H;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AARD,0CAQC;AAED,YAAQ,CAAC,mBAAmB,EAAE,iCAAe,CAAC,CAAC"}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { By } from
|
|
2
|
-
import
|
|
3
|
-
import { OjButtonsetMany } from
|
|
1
|
+
import { By } from 'selenium-webdriver';
|
|
2
|
+
import { DriverLike, register } from '../../';
|
|
3
|
+
import { OjButtonsetMany } from './OjButtonsetMany';
|
|
4
4
|
export { OjButtonsetMany };
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* the element to appear in the DOM before trying to locate it.
|
|
7
|
+
* Retrieve an instance of [[OjButtonsetMany]].
|
|
9
8
|
* @example
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* element
|
|
15
|
-
*
|
|
9
|
+
* ```javascript
|
|
10
|
+
* import { ojButtonsetMany } from '@oracle/oraclejet-webdriver/elements';
|
|
11
|
+
* const el = await ojButtonsetMany(driver, By.id('my-oj-buttonset-many'));
|
|
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 ojButtonsetMany(driver: DriverLike, by: By): Promise<OjButtonsetMany> {
|
|
18
19
|
const webEl = await driver.findElement(by);
|
|
19
20
|
// Check that the element is of type OjButtonsetMany
|
|
20
21
|
if (!(webEl instanceof OjButtonsetMany)) {
|
|
21
22
|
const tagName = await webEl.getTagName();
|
|
22
|
-
throw Error(`
|
|
23
|
+
throw Error(`ojButtonsetMany(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjButtonsetMany.name}`);
|
|
23
24
|
}
|
|
24
25
|
return webEl;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
register(
|
|
28
|
+
register('oj-buttonset-many', OjButtonsetMany);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjButtonsetOne.js","sourceRoot":"","sources":["OjButtonsetOne.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;
|
|
1
|
+
{"version":3,"file":"OjButtonsetOne.js","sourceRoot":"","sources":["OjButtonsetOne.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAOxD,MAAa,cAAe,SAAQ,uCAAkB;CACrD;AADD,wCACC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {OjButtonsetOneBase} from "./OjButtonsetOneBase";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* await ojButtonsetOne(driver, By.css('oj-buttonset-one'))
|
|
8
|
-
* ```
|
|
4
|
+
* The component WebElement for [oj-buttonset-one](../../jsdocs/oj.ojButtonsetOne.html).
|
|
5
|
+
* Do not instantiate this class directly, instead, use
|
|
6
|
+
* [ojButtonsetOne](../modules/elements.html#ojButtonsetOne).
|
|
9
7
|
*/
|
|
10
8
|
export class OjButtonsetOne extends OjButtonsetOneBase {
|
|
11
9
|
}
|
|
@@ -4,31 +4,31 @@ exports.OjButtonsetOneBase = void 0;
|
|
|
4
4
|
const __1 = require("../");
|
|
5
5
|
class OjButtonsetOneBase extends __1.OjWebElement {
|
|
6
6
|
getChroming() {
|
|
7
|
-
return this.getProperty(
|
|
7
|
+
return this.getProperty('chroming');
|
|
8
8
|
}
|
|
9
9
|
getDescribedBy() {
|
|
10
|
-
return this.getProperty(
|
|
10
|
+
return this.getProperty('describedBy');
|
|
11
11
|
}
|
|
12
12
|
getDisabled() {
|
|
13
|
-
return this.getProperty(
|
|
13
|
+
return this.getProperty('disabled');
|
|
14
14
|
}
|
|
15
15
|
getDisplay() {
|
|
16
|
-
return this.getProperty(
|
|
16
|
+
return this.getProperty('display');
|
|
17
17
|
}
|
|
18
18
|
getFocusManagement() {
|
|
19
|
-
return this.getProperty(
|
|
19
|
+
return this.getProperty('focusManagement');
|
|
20
20
|
}
|
|
21
21
|
getLabelledBy() {
|
|
22
|
-
return this.getProperty(
|
|
22
|
+
return this.getProperty('labelledBy');
|
|
23
23
|
}
|
|
24
24
|
getTranslations() {
|
|
25
|
-
return this.getProperty(
|
|
25
|
+
return this.getProperty('translations');
|
|
26
26
|
}
|
|
27
27
|
changeValue(value) {
|
|
28
|
-
return this.setProperty(
|
|
28
|
+
return this.setProperty('value', value);
|
|
29
29
|
}
|
|
30
30
|
getValue() {
|
|
31
|
-
return this.getProperty(
|
|
31
|
+
return this.getProperty('value');
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.OjButtonsetOneBase = OjButtonsetOneBase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OjButtonsetOneBase.js","sourceRoot":"","sources":["OjButtonsetOneBase.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"OjButtonsetOneBase.js","sourceRoot":"","sources":["OjButtonsetOneBase.ts"],"names":[],"mappings":";;;AAAA,2BAAmC;AASnC,MAAa,kBAAmB,SAAQ,gBAAY;IAO3C,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,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,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,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAc,YAAY,CAAC,CAAC;IACrD,CAAC;IAQM,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAc,cAAc,CAAC,CAAC;IACvD,CAAC;IAQM,WAAW,CAAC,KAAU;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAM,OAAO,EAAE,KAAK,CAAC,CAAC;IAC/C,CAAC;IAQM,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAM,OAAO,CAAC,CAAC;IACxC,CAAC;CAEF;AA3FD,gDA2FC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {OjWebElement} from
|
|
1
|
+
import { OjWebElement } from '../';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This is the base class for OjButtonsetOne, and is generated from
|
|
@@ -9,93 +9,93 @@ import {OjWebElement} from "../";
|
|
|
9
9
|
*/
|
|
10
10
|
export class OjButtonsetOneBase extends OjWebElement {
|
|
11
11
|
/**
|
|
12
|
-
* Gets the value of chroming property.
|
|
12
|
+
* Gets the value of <code>chroming</code> property.
|
|
13
13
|
* Indicates in what states the buttonset has chrome (background and border).
|
|
14
|
-
* @return The value of chroming property.
|
|
14
|
+
* @return The value of <code>chroming</code> property.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
public getChroming(): Promise<string> {
|
|
18
|
-
return this.getProperty<string>(
|
|
18
|
+
return this.getProperty<string>('chroming');
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the value of describedBy property.
|
|
22
|
+
* Gets the value of <code>describedBy</code> property.
|
|
23
23
|
* buttonset's oj-label automatically sets described-by to make it accessible. It is not meant to be set by application developer.
|
|
24
|
-
* @return The value of describedBy property.
|
|
24
|
+
* @return The value of <code>describedBy</code> property.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
public getDescribedBy(): Promise<string> {
|
|
28
|
-
return this.getProperty<string>(
|
|
28
|
+
return this.getProperty<string>('describedBy');
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Gets the value of disabled property.
|
|
32
|
+
* Gets the value of <code>disabled</code> property.
|
|
33
33
|
* Specifies that the buttonset element should be disabled.
|
|
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 display property.
|
|
42
|
+
* Gets the value of <code>display</code> property.
|
|
43
43
|
* Specifies whether the buttonset displays label and icons, or just icons.
|
|
44
|
-
* @return The value of display property.
|
|
44
|
+
* @return The value of <code>display</code> property.
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
public getDisplay(): Promise<string> {
|
|
48
|
-
return this.getProperty<string>(
|
|
48
|
+
return this.getProperty<string>('display');
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Gets the value of focusManagement property.
|
|
52
|
+
* Gets the value of <code>focusManagement</code> property.
|
|
53
53
|
* Should be set to none when the buttonset is placed within a toolbar.
|
|
54
|
-
* @return The value of focusManagement property.
|
|
54
|
+
* @return The value of <code>focusManagement</code> property.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
public getFocusManagement(): Promise<string> {
|
|
58
|
-
return this.getProperty<string>(
|
|
58
|
+
return this.getProperty<string>('focusManagement');
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Gets the value of labelledBy property.
|
|
62
|
+
* Gets the value of <code>labelledBy</code> property.
|
|
63
63
|
* Establishes a relationship between this component and another element, typically an oj-label custom element. See the Help documentation for more information.
|
|
64
|
-
* @return The value of labelledBy property.
|
|
64
|
+
* @return The value of <code>labelledBy</code> property.
|
|
65
65
|
*
|
|
66
66
|
*/
|
|
67
67
|
public getLabelledBy(): Promise<string|null> {
|
|
68
|
-
return this.getProperty<string|null>(
|
|
68
|
+
return this.getProperty<string|null>('labelledBy');
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Gets the value of translations property.
|
|
72
|
+
* Gets the value of <code>translations</code> property.
|
|
73
73
|
* A collection of translated resources from the translation bundle, or null if this component has no resources.
|
|
74
|
-
* @return The value of translations property.
|
|
74
|
+
* @return The value of <code>translations</code> property.
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
public getTranslations(): Promise<object|null> {
|
|
78
|
-
return this.getProperty<object|null>(
|
|
78
|
+
return this.getProperty<object|null>('translations');
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Sets the value of
|
|
82
|
+
* Sets the value of <code>value</code> property.
|
|
83
83
|
* Indicates which oj-option in the buttonset is selected.
|
|
84
|
-
* @param value The value to set for
|
|
84
|
+
* @param value The value to set for <code>value</code>
|
|
85
85
|
*
|
|
86
86
|
*/
|
|
87
87
|
public changeValue(value: any): Promise<void> {
|
|
88
|
-
return this.setProperty<any>(
|
|
88
|
+
return this.setProperty<any>('value', value);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* Gets the value of value property.
|
|
92
|
+
* Gets the value of <code>value</code> property.
|
|
93
93
|
* Indicates which oj-option in the buttonset is selected.
|
|
94
|
-
* @return The value of value property.
|
|
94
|
+
* @return The value of <code>value</code> property.
|
|
95
95
|
*
|
|
96
96
|
*/
|
|
97
97
|
public getValue(): Promise<any> {
|
|
98
|
-
return this.getProperty<any>(
|
|
98
|
+
return this.getProperty<any>('value');
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
}
|
|
@@ -8,10 +8,10 @@ async function ojButtonsetOne(driver, by) {
|
|
|
8
8
|
const webEl = await driver.findElement(by);
|
|
9
9
|
if (!(webEl instanceof OjButtonsetOne_1.OjButtonsetOne)) {
|
|
10
10
|
const tagName = await webEl.getTagName();
|
|
11
|
-
throw Error(`
|
|
11
|
+
throw Error(`ojButtonsetOne(${by}) create ${webEl.constructor.name} for <${tagName}>, but expected ${OjButtonsetOne_1.OjButtonsetOne.name}`);
|
|
12
12
|
}
|
|
13
13
|
return webEl;
|
|
14
14
|
}
|
|
15
15
|
exports.ojButtonsetOne = ojButtonsetOne;
|
|
16
|
-
__1.register(
|
|
16
|
+
__1.register('oj-buttonset-one', OjButtonsetOne_1.OjButtonsetOne);
|
|
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,qDAAkD;AACzC,+FADA,+BAAc,OACA;AAchB,KAAK,UAAU,cAAc,CAAC,MAAkB,EAAE,EAAM;IAC7D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAE3C,IAAI,CAAC,CAAC,KAAK,YAAY,+BAAc,CAAC,EAAE;QACtC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,kBAAkB,EAAE,YAAY,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,+BAAc,CAAC,IAAI,EAAE,CAAC,CAAC;KAC7H;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AARD,wCAQC;AAED,YAAQ,CAAC,kBAAkB,EAAE,+BAAc,CAAC,CAAC"}
|