@oracle/oraclejet-webdriver 10.1.7
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/LICENSE +21 -0
- package/README.md +16 -0
- package/bin/generate +509 -0
- package/bin/generate-jet +163 -0
- package/bin/templates/baseclass.ts-template +13 -0
- package/bin/templates/class.ts-template +12 -0
- package/bin/templates/element-test.spec.ts-template +28 -0
- package/bin/templates/index.ts-template +27 -0
- package/bin/templates/jetcomponents.json +71 -0
- package/bin/templates/package.json-template +15 -0
- package/bin/templates/tsconfig.json-template +19 -0
- package/elements/OjWebElement.js +232 -0
- package/elements/OjWebElement.js.map +1 -0
- package/elements/OjWebElement.ts +674 -0
- package/elements/index.js +214 -0
- package/elements/index.js.map +1 -0
- package/elements/index.ts +75 -0
- package/elements/oj-accordion/OjAccordion.js +8 -0
- package/elements/oj-accordion/OjAccordion.js.map +1 -0
- package/elements/oj-accordion/OjAccordion.ts +12 -0
- package/elements/oj-accordion/OjAccordionBase.js +20 -0
- package/elements/oj-accordion/OjAccordionBase.js.map +1 -0
- package/elements/oj-accordion/OjAccordionBase.ts +48 -0
- package/elements/oj-accordion/index.js +17 -0
- package/elements/oj-accordion/index.js.map +1 -0
- package/elements/oj-accordion/index.ts +27 -0
- package/elements/oj-button/OjButton.js +20 -0
- package/elements/oj-button/OjButton.js.map +1 -0
- package/elements/oj-button/OjButton.ts +35 -0
- package/elements/oj-button/OjButtonBase.js +23 -0
- package/elements/oj-button/OjButtonBase.js.map +1 -0
- package/elements/oj-button/OjButtonBase.ts +57 -0
- package/elements/oj-button/index.js +17 -0
- package/elements/oj-button/index.js.map +1 -0
- package/elements/oj-button/index.ts +27 -0
- package/elements/oj-buttonset-many/OjButtonsetMany.js +8 -0
- package/elements/oj-buttonset-many/OjButtonsetMany.js.map +1 -0
- package/elements/oj-buttonset-many/OjButtonsetMany.ts +11 -0
- package/elements/oj-buttonset-many/OjButtonsetManyBase.js +35 -0
- package/elements/oj-buttonset-many/OjButtonsetManyBase.js.map +1 -0
- package/elements/oj-buttonset-many/OjButtonsetManyBase.ts +93 -0
- package/elements/oj-buttonset-many/index.js +17 -0
- package/elements/oj-buttonset-many/index.js.map +1 -0
- package/elements/oj-buttonset-many/index.ts +27 -0
- package/elements/oj-buttonset-one/OjButtonsetOne.js +8 -0
- package/elements/oj-buttonset-one/OjButtonsetOne.js.map +1 -0
- package/elements/oj-buttonset-one/OjButtonsetOne.ts +11 -0
- package/elements/oj-buttonset-one/OjButtonsetOneBase.js +35 -0
- package/elements/oj-buttonset-one/OjButtonsetOneBase.js.map +1 -0
- package/elements/oj-buttonset-one/OjButtonsetOneBase.ts +93 -0
- package/elements/oj-buttonset-one/index.js +17 -0
- package/elements/oj-buttonset-one/index.js.map +1 -0
- package/elements/oj-buttonset-one/index.ts +27 -0
- package/elements/oj-chart/OjChart.js +8 -0
- package/elements/oj-chart/OjChart.js.map +1 -0
- package/elements/oj-chart/OjChart.ts +12 -0
- package/elements/oj-chart/OjChartBase.js +170 -0
- package/elements/oj-chart/OjChartBase.js.map +1 -0
- package/elements/oj-chart/OjChartBase.ts +2468 -0
- package/elements/oj-chart/index.js +17 -0
- package/elements/oj-chart/index.js.map +1 -0
- package/elements/oj-chart/index.ts +27 -0
- package/elements/oj-checkboxset/OjCheckboxset.js +39 -0
- package/elements/oj-checkboxset/OjCheckboxset.js.map +1 -0
- package/elements/oj-checkboxset/OjCheckboxset.ts +74 -0
- package/elements/oj-checkboxset/OjCheckboxsetBase.js +68 -0
- package/elements/oj-checkboxset/OjCheckboxsetBase.js.map +1 -0
- package/elements/oj-checkboxset/OjCheckboxsetBase.ts +262 -0
- package/elements/oj-checkboxset/index.js +17 -0
- package/elements/oj-checkboxset/index.js.map +1 -0
- package/elements/oj-checkboxset/index.ts +27 -0
- package/elements/oj-collapsible/OjCollapsible.js +23 -0
- package/elements/oj-collapsible/OjCollapsible.js.map +1 -0
- package/elements/oj-collapsible/OjCollapsible.ts +36 -0
- package/elements/oj-collapsible/OjCollapsibleBase.js +23 -0
- package/elements/oj-collapsible/OjCollapsibleBase.js.map +1 -0
- package/elements/oj-collapsible/OjCollapsibleBase.ts +57 -0
- package/elements/oj-collapsible/index.js +17 -0
- package/elements/oj-collapsible/index.js.map +1 -0
- package/elements/oj-collapsible/index.ts +27 -0
- package/elements/oj-color-palette/OjColorPalette.js +8 -0
- package/elements/oj-color-palette/OjColorPalette.js.map +1 -0
- package/elements/oj-color-palette/OjColorPalette.ts +12 -0
- package/elements/oj-color-palette/OjColorPaletteBase.js +65 -0
- package/elements/oj-color-palette/OjColorPaletteBase.js.map +1 -0
- package/elements/oj-color-palette/OjColorPaletteBase.ts +235 -0
- package/elements/oj-color-palette/index.js +17 -0
- package/elements/oj-color-palette/index.js.map +1 -0
- package/elements/oj-color-palette/index.ts +27 -0
- package/elements/oj-color-spectrum/OjColorSpectrum.js +8 -0
- package/elements/oj-color-spectrum/OjColorSpectrum.js.map +1 -0
- package/elements/oj-color-spectrum/OjColorSpectrum.ts +12 -0
- package/elements/oj-color-spectrum/OjColorSpectrumBase.js +56 -0
- package/elements/oj-color-spectrum/OjColorSpectrumBase.js.map +1 -0
- package/elements/oj-color-spectrum/OjColorSpectrumBase.ts +210 -0
- package/elements/oj-color-spectrum/index.js +17 -0
- package/elements/oj-color-spectrum/index.js.map +1 -0
- package/elements/oj-color-spectrum/index.ts +27 -0
- package/elements/oj-combobox-many/OjComboboxMany.js +51 -0
- package/elements/oj-combobox-many/OjComboboxMany.js.map +1 -0
- package/elements/oj-combobox-many/OjComboboxMany.ts +80 -0
- package/elements/oj-combobox-many/OjComboboxManyBase.js +98 -0
- package/elements/oj-combobox-many/OjComboboxManyBase.js.map +1 -0
- package/elements/oj-combobox-many/OjComboboxManyBase.ts +428 -0
- package/elements/oj-combobox-many/index.js +17 -0
- package/elements/oj-combobox-many/index.js.map +1 -0
- package/elements/oj-combobox-many/index.ts +27 -0
- package/elements/oj-combobox-one/OjComboboxOne.js +49 -0
- package/elements/oj-combobox-one/OjComboboxOne.js.map +1 -0
- package/elements/oj-combobox-one/OjComboboxOne.ts +74 -0
- package/elements/oj-combobox-one/OjComboboxOneBase.js +101 -0
- package/elements/oj-combobox-one/OjComboboxOneBase.js.map +1 -0
- package/elements/oj-combobox-one/OjComboboxOneBase.ts +437 -0
- package/elements/oj-combobox-one/index.js +17 -0
- package/elements/oj-combobox-one/index.js.map +1 -0
- package/elements/oj-combobox-one/index.ts +27 -0
- package/elements/oj-conveyor-belt/OjConveyorBelt.js +16 -0
- package/elements/oj-conveyor-belt/OjConveyorBelt.js.map +1 -0
- package/elements/oj-conveyor-belt/OjConveyorBelt.ts +30 -0
- package/elements/oj-conveyor-belt/OjConveyorBeltBase.js +29 -0
- package/elements/oj-conveyor-belt/OjConveyorBeltBase.js.map +1 -0
- package/elements/oj-conveyor-belt/OjConveyorBeltBase.ts +87 -0
- package/elements/oj-conveyor-belt/index.js +17 -0
- package/elements/oj-conveyor-belt/index.js.map +1 -0
- package/elements/oj-conveyor-belt/index.ts +27 -0
- package/elements/oj-data-grid/OjDataGrid.js +198 -0
- package/elements/oj-data-grid/OjDataGrid.js.map +1 -0
- package/elements/oj-data-grid/OjDataGrid.ts +279 -0
- package/elements/oj-data-grid/OjDataGridBase.js +65 -0
- package/elements/oj-data-grid/OjDataGridBase.js.map +1 -0
- package/elements/oj-data-grid/OjDataGridBase.ts +705 -0
- package/elements/oj-data-grid/index.js +17 -0
- package/elements/oj-data-grid/index.js.map +1 -0
- package/elements/oj-data-grid/index.ts +27 -0
- package/elements/oj-date-picker/OjDatePicker.js +8 -0
- package/elements/oj-date-picker/OjDatePicker.js.map +1 -0
- package/elements/oj-date-picker/OjDatePicker.ts +12 -0
- package/elements/oj-date-picker/OjDatePickerBase.js +104 -0
- package/elements/oj-date-picker/OjDatePickerBase.js.map +1 -0
- package/elements/oj-date-picker/OjDatePickerBase.ts +536 -0
- package/elements/oj-date-picker/index.js +17 -0
- package/elements/oj-date-picker/index.js.map +1 -0
- package/elements/oj-date-picker/index.ts +27 -0
- package/elements/oj-date-time-picker/OjDateTimePicker.js +8 -0
- package/elements/oj-date-time-picker/OjDateTimePicker.js.map +1 -0
- package/elements/oj-date-time-picker/OjDateTimePicker.ts +32 -0
- package/elements/oj-date-time-picker/OjDateTimePickerBase.js +107 -0
- package/elements/oj-date-time-picker/OjDateTimePickerBase.js.map +1 -0
- package/elements/oj-date-time-picker/OjDateTimePickerBase.ts +567 -0
- package/elements/oj-date-time-picker/index.js +17 -0
- package/elements/oj-date-time-picker/index.js.map +1 -0
- package/elements/oj-date-time-picker/index.ts +27 -0
- package/elements/oj-diagram/OjDiagram.js +8 -0
- package/elements/oj-diagram/OjDiagram.js.map +1 -0
- package/elements/oj-diagram/OjDiagram.ts +12 -0
- package/elements/oj-diagram/OjDiagramBase.js +128 -0
- package/elements/oj-diagram/OjDiagramBase.js.map +1 -0
- package/elements/oj-diagram/OjDiagramBase.ts +740 -0
- package/elements/oj-diagram/index.js +17 -0
- package/elements/oj-diagram/index.js.map +1 -0
- package/elements/oj-diagram/index.ts +27 -0
- package/elements/oj-dialog/OjDialog.js +13 -0
- package/elements/oj-dialog/OjDialog.js.map +1 -0
- package/elements/oj-dialog/OjDialog.ts +21 -0
- package/elements/oj-dialog/OjDialogBase.js +32 -0
- package/elements/oj-dialog/OjDialogBase.js.map +1 -0
- package/elements/oj-dialog/OjDialogBase.ts +144 -0
- package/elements/oj-dialog/index.js +17 -0
- package/elements/oj-dialog/index.js.map +1 -0
- package/elements/oj-dialog/index.ts +27 -0
- package/elements/oj-file-picker/OjFilePicker.js +36 -0
- package/elements/oj-file-picker/OjFilePicker.js.map +1 -0
- package/elements/oj-file-picker/OjFilePicker.ts +49 -0
- package/elements/oj-file-picker/OjFilePickerBase.js +29 -0
- package/elements/oj-file-picker/OjFilePickerBase.js.map +1 -0
- package/elements/oj-file-picker/OjFilePickerBase.ts +75 -0
- package/elements/oj-file-picker/index.js +17 -0
- package/elements/oj-file-picker/index.js.map +1 -0
- package/elements/oj-file-picker/index.ts +27 -0
- package/elements/oj-film-strip/OjFilmStrip.js +8 -0
- package/elements/oj-film-strip/OjFilmStrip.js.map +1 -0
- package/elements/oj-film-strip/OjFilmStrip.ts +12 -0
- package/elements/oj-film-strip/OjFilmStripBase.js +32 -0
- package/elements/oj-film-strip/OjFilmStripBase.js.map +1 -0
- package/elements/oj-film-strip/OjFilmStripBase.ts +118 -0
- package/elements/oj-film-strip/index.js +17 -0
- package/elements/oj-film-strip/index.js.map +1 -0
- package/elements/oj-film-strip/index.ts +27 -0
- package/elements/oj-gantt/OjGantt.js +8 -0
- package/elements/oj-gantt/OjGantt.js.map +1 -0
- package/elements/oj-gantt/OjGantt.ts +12 -0
- package/elements/oj-gantt/OjGanttBase.js +98 -0
- package/elements/oj-gantt/OjGanttBase.js.map +1 -0
- package/elements/oj-gantt/OjGanttBase.ts +996 -0
- package/elements/oj-gantt/index.js +17 -0
- package/elements/oj-gantt/index.js.map +1 -0
- package/elements/oj-gantt/index.ts +27 -0
- package/elements/oj-indexer/OjIndexer.js +8 -0
- package/elements/oj-indexer/OjIndexer.js.map +1 -0
- package/elements/oj-indexer/OjIndexer.ts +12 -0
- package/elements/oj-indexer/OjIndexerBase.js +14 -0
- package/elements/oj-indexer/OjIndexerBase.js.map +1 -0
- package/elements/oj-indexer/OjIndexerBase.ts +62 -0
- package/elements/oj-indexer/index.js +17 -0
- package/elements/oj-indexer/index.js.map +1 -0
- package/elements/oj-indexer/index.ts +27 -0
- package/elements/oj-input-date/OjInputDate.js +10 -0
- package/elements/oj-input-date/OjInputDate.js.map +1 -0
- package/elements/oj-input-date/OjInputDate.ts +14 -0
- package/elements/oj-input-date/OjInputDateBase.js +107 -0
- package/elements/oj-input-date/OjInputDateBase.js.map +1 -0
- package/elements/oj-input-date/OjInputDateBase.ts +545 -0
- package/elements/oj-input-date/index.js +17 -0
- package/elements/oj-input-date/index.js.map +1 -0
- package/elements/oj-input-date/index.ts +27 -0
- package/elements/oj-input-date-time/OjInputDateTime.js +10 -0
- package/elements/oj-input-date-time/OjInputDateTime.js.map +1 -0
- package/elements/oj-input-date-time/OjInputDateTime.ts +14 -0
- package/elements/oj-input-date-time/OjInputDateTimeBase.js +110 -0
- package/elements/oj-input-date-time/OjInputDateTimeBase.js.map +1 -0
- package/elements/oj-input-date-time/OjInputDateTimeBase.ts +576 -0
- package/elements/oj-input-date-time/index.js +17 -0
- package/elements/oj-input-date-time/index.js.map +1 -0
- package/elements/oj-input-date-time/index.ts +27 -0
- package/elements/oj-input-number/OjInputNumber.js +10 -0
- package/elements/oj-input-number/OjInputNumber.js.map +1 -0
- package/elements/oj-input-number/OjInputNumber.ts +14 -0
- package/elements/oj-input-number/OjInputNumberBase.js +98 -0
- package/elements/oj-input-number/OjInputNumberBase.js.map +1 -0
- package/elements/oj-input-number/OjInputNumberBase.ts +406 -0
- package/elements/oj-input-number/index.js +17 -0
- package/elements/oj-input-number/index.js.map +1 -0
- package/elements/oj-input-number/index.ts +27 -0
- package/elements/oj-input-password/OjInputPassword.js +10 -0
- package/elements/oj-input-password/OjInputPassword.js.map +1 -0
- package/elements/oj-input-password/OjInputPassword.ts +14 -0
- package/elements/oj-input-password/OjInputPasswordBase.js +83 -0
- package/elements/oj-input-password/OjInputPasswordBase.js.map +1 -0
- package/elements/oj-input-password/OjInputPasswordBase.ts +323 -0
- package/elements/oj-input-password/index.js +17 -0
- package/elements/oj-input-password/index.js.map +1 -0
- package/elements/oj-input-password/index.ts +27 -0
- package/elements/oj-input-search/OjInputSearch.js +41 -0
- package/elements/oj-input-search/OjInputSearch.js.map +1 -0
- package/elements/oj-input-search/OjInputSearch.ts +64 -0
- package/elements/oj-input-search/OjInputSearchBase.js +26 -0
- package/elements/oj-input-search/OjInputSearchBase.js.map +1 -0
- package/elements/oj-input-search/OjInputSearchBase.ts +66 -0
- package/elements/oj-input-search/index.js +17 -0
- package/elements/oj-input-search/index.js.map +1 -0
- package/elements/oj-input-search/index.ts +27 -0
- package/elements/oj-input-text/OjInputText.js +10 -0
- package/elements/oj-input-text/OjInputText.js.map +1 -0
- package/elements/oj-input-text/OjInputText.ts +15 -0
- package/elements/oj-input-text/OjInputTextBase.js +95 -0
- package/elements/oj-input-text/OjInputTextBase.js.map +1 -0
- package/elements/oj-input-text/OjInputTextBase.ts +361 -0
- package/elements/oj-input-text/index.js +17 -0
- package/elements/oj-input-text/index.js.map +1 -0
- package/elements/oj-input-text/index.ts +27 -0
- package/elements/oj-input-time/OjInputTime.js +10 -0
- package/elements/oj-input-time/OjInputTime.js.map +1 -0
- package/elements/oj-input-time/OjInputTime.ts +14 -0
- package/elements/oj-input-time/OjInputTimeBase.js +101 -0
- package/elements/oj-input-time/OjInputTimeBase.js.map +1 -0
- package/elements/oj-input-time/OjInputTimeBase.ts +477 -0
- package/elements/oj-input-time/index.js +17 -0
- package/elements/oj-input-time/index.js.map +1 -0
- package/elements/oj-input-time/index.ts +27 -0
- package/elements/oj-label/OjLabel.js +8 -0
- package/elements/oj-label/OjLabel.js.map +1 -0
- package/elements/oj-label/OjLabel.ts +12 -0
- package/elements/oj-label/OjLabelBase.js +23 -0
- package/elements/oj-label/OjLabelBase.js.map +1 -0
- package/elements/oj-label/OjLabelBase.ts +79 -0
- package/elements/oj-label/index.js +17 -0
- package/elements/oj-label/index.js.map +1 -0
- package/elements/oj-label/index.ts +27 -0
- package/elements/oj-led-gauge/OjLedGauge.js +8 -0
- package/elements/oj-led-gauge/OjLedGauge.js.map +1 -0
- package/elements/oj-led-gauge/OjLedGauge.ts +12 -0
- package/elements/oj-led-gauge/OjLedGaugeBase.js +62 -0
- package/elements/oj-led-gauge/OjLedGaugeBase.js.map +1 -0
- package/elements/oj-led-gauge/OjLedGaugeBase.ts +302 -0
- package/elements/oj-led-gauge/index.js +17 -0
- package/elements/oj-led-gauge/index.js.map +1 -0
- package/elements/oj-led-gauge/index.ts +27 -0
- package/elements/oj-legend/OjLegend.js +8 -0
- package/elements/oj-legend/OjLegend.js.map +1 -0
- package/elements/oj-legend/OjLegend.ts +12 -0
- package/elements/oj-legend/OjLegendBase.js +74 -0
- package/elements/oj-legend/OjLegendBase.js.map +1 -0
- package/elements/oj-legend/OjLegendBase.ts +324 -0
- package/elements/oj-legend/index.js +17 -0
- package/elements/oj-legend/index.js.map +1 -0
- package/elements/oj-legend/index.ts +27 -0
- package/elements/oj-list-view/OjListView.js +25 -0
- package/elements/oj-list-view/OjListView.js.map +1 -0
- package/elements/oj-list-view/OjListView.ts +36 -0
- package/elements/oj-list-view/OjListViewBase.js +71 -0
- package/elements/oj-list-view/OjListViewBase.js.map +1 -0
- package/elements/oj-list-view/OjListViewBase.ts +355 -0
- package/elements/oj-list-view/index.js +17 -0
- package/elements/oj-list-view/index.js.map +1 -0
- package/elements/oj-list-view/index.ts +27 -0
- package/elements/oj-masonry-layout/OjMasonryLayout.js +8 -0
- package/elements/oj-masonry-layout/OjMasonryLayout.js.map +1 -0
- package/elements/oj-masonry-layout/OjMasonryLayout.ts +12 -0
- package/elements/oj-masonry-layout/OjMasonryLayoutBase.js +14 -0
- package/elements/oj-masonry-layout/OjMasonryLayoutBase.js.map +1 -0
- package/elements/oj-masonry-layout/OjMasonryLayoutBase.ts +46 -0
- package/elements/oj-masonry-layout/index.js +17 -0
- package/elements/oj-masonry-layout/index.js.map +1 -0
- package/elements/oj-masonry-layout/index.ts +27 -0
- package/elements/oj-menu/OjMenu.js +28 -0
- package/elements/oj-menu/OjMenu.js.map +1 -0
- package/elements/oj-menu/OjMenu.ts +42 -0
- package/elements/oj-menu/OjMenuBase.js +17 -0
- package/elements/oj-menu/OjMenuBase.js.map +1 -0
- package/elements/oj-menu/OjMenuBase.ts +121 -0
- package/elements/oj-menu/index.js +17 -0
- package/elements/oj-menu/index.js.map +1 -0
- package/elements/oj-menu/index.ts +27 -0
- package/elements/oj-menu-button/OjMenuButton.js +14 -0
- package/elements/oj-menu-button/OjMenuButton.js.map +1 -0
- package/elements/oj-menu-button/OjMenuButton.ts +20 -0
- package/elements/oj-menu-button/OjMenuButtonBase.js +20 -0
- package/elements/oj-menu-button/OjMenuButtonBase.js.map +1 -0
- package/elements/oj-menu-button/OjMenuButtonBase.ts +48 -0
- package/elements/oj-menu-button/index.js +17 -0
- package/elements/oj-menu-button/index.js.map +1 -0
- package/elements/oj-menu-button/index.ts +27 -0
- package/elements/oj-message/OjMessage.js +13 -0
- package/elements/oj-message/OjMessage.js.map +1 -0
- package/elements/oj-message/OjMessage.ts +19 -0
- package/elements/oj-message/OjMessageBase.js +17 -0
- package/elements/oj-message/OjMessageBase.js.map +1 -0
- package/elements/oj-message/OjMessageBase.ts +113 -0
- package/elements/oj-message/index.js +17 -0
- package/elements/oj-message/index.js.map +1 -0
- package/elements/oj-message/index.ts +27 -0
- package/elements/oj-n-box/OjNBox.js +8 -0
- package/elements/oj-n-box/OjNBox.js.map +1 -0
- package/elements/oj-n-box/OjNBox.ts +12 -0
- package/elements/oj-n-box/OjNBoxBase.js +116 -0
- package/elements/oj-n-box/OjNBoxBase.js.map +1 -0
- package/elements/oj-n-box/OjNBoxBase.ts +880 -0
- package/elements/oj-n-box/index.js +17 -0
- package/elements/oj-n-box/index.js.map +1 -0
- package/elements/oj-n-box/index.ts +27 -0
- package/elements/oj-navigation-list/OjNavigationList.js +186 -0
- package/elements/oj-navigation-list/OjNavigationList.js.map +1 -0
- package/elements/oj-navigation-list/OjNavigationList.ts +250 -0
- package/elements/oj-navigation-list/OjNavigationListBase.js +50 -0
- package/elements/oj-navigation-list/OjNavigationListBase.js.map +1 -0
- package/elements/oj-navigation-list/OjNavigationListBase.ts +164 -0
- package/elements/oj-navigation-list/index.js +17 -0
- package/elements/oj-navigation-list/index.js.map +1 -0
- package/elements/oj-navigation-list/index.ts +27 -0
- package/elements/oj-paging-control/OjPagingControl.js +13 -0
- package/elements/oj-paging-control/OjPagingControl.js.map +1 -0
- package/elements/oj-paging-control/OjPagingControl.ts +26 -0
- package/elements/oj-paging-control/OjPagingControlBase.js +29 -0
- package/elements/oj-paging-control/OjPagingControlBase.js.map +1 -0
- package/elements/oj-paging-control/OjPagingControlBase.ts +235 -0
- package/elements/oj-paging-control/index.js +17 -0
- package/elements/oj-paging-control/index.js.map +1 -0
- package/elements/oj-paging-control/index.ts +27 -0
- package/elements/oj-picto-chart/OjPictoChart.js +8 -0
- package/elements/oj-picto-chart/OjPictoChart.js.map +1 -0
- package/elements/oj-picto-chart/OjPictoChart.ts +12 -0
- package/elements/oj-picto-chart/OjPictoChartBase.js +86 -0
- package/elements/oj-picto-chart/OjPictoChartBase.js.map +1 -0
- package/elements/oj-picto-chart/OjPictoChartBase.ts +394 -0
- package/elements/oj-picto-chart/index.js +17 -0
- package/elements/oj-picto-chart/index.js.map +1 -0
- package/elements/oj-picto-chart/index.ts +27 -0
- package/elements/oj-popup/OjPopup.js +8 -0
- package/elements/oj-popup/OjPopup.js.map +1 -0
- package/elements/oj-popup/OjPopup.ts +11 -0
- package/elements/oj-popup/OjPopupBase.js +29 -0
- package/elements/oj-popup/OjPopupBase.js.map +1 -0
- package/elements/oj-popup/OjPopupBase.ts +155 -0
- package/elements/oj-popup/index.js +17 -0
- package/elements/oj-popup/index.js.map +1 -0
- package/elements/oj-popup/index.ts +27 -0
- package/elements/oj-progress/OjProgress.js +8 -0
- package/elements/oj-progress/OjProgress.js.map +1 -0
- package/elements/oj-progress/OjProgress.ts +12 -0
- package/elements/oj-progress/OjProgressBase.js +23 -0
- package/elements/oj-progress/OjProgressBase.js.map +1 -0
- package/elements/oj-progress/OjProgressBase.ts +65 -0
- package/elements/oj-progress/index.js +17 -0
- package/elements/oj-progress/index.js.map +1 -0
- package/elements/oj-progress/index.ts +27 -0
- package/elements/oj-progress-list/OjProgressList.js +8 -0
- package/elements/oj-progress-list/OjProgressList.js.map +1 -0
- package/elements/oj-progress-list/OjProgressList.ts +12 -0
- package/elements/oj-progress-list/OjProgressListBase.js +11 -0
- package/elements/oj-progress-list/OjProgressListBase.js.map +1 -0
- package/elements/oj-progress-list/OjProgressListBase.ts +21 -0
- package/elements/oj-progress-list/index.js +17 -0
- package/elements/oj-progress-list/index.js.map +1 -0
- package/elements/oj-progress-list/index.ts +27 -0
- package/elements/oj-radioset/OjRadioset.js +32 -0
- package/elements/oj-radioset/OjRadioset.js.map +1 -0
- package/elements/oj-radioset/OjRadioset.ts +63 -0
- package/elements/oj-radioset/OjRadiosetBase.js +68 -0
- package/elements/oj-radioset/OjRadiosetBase.js.map +1 -0
- package/elements/oj-radioset/OjRadiosetBase.ts +262 -0
- package/elements/oj-radioset/index.js +17 -0
- package/elements/oj-radioset/index.js.map +1 -0
- package/elements/oj-radioset/index.ts +27 -0
- package/elements/oj-rating-gauge/OjRatingGauge.js +8 -0
- package/elements/oj-rating-gauge/OjRatingGauge.js.map +1 -0
- package/elements/oj-rating-gauge/OjRatingGauge.ts +12 -0
- package/elements/oj-rating-gauge/OjRatingGaugeBase.js +80 -0
- package/elements/oj-rating-gauge/OjRatingGaugeBase.js.map +1 -0
- package/elements/oj-rating-gauge/OjRatingGaugeBase.ts +424 -0
- package/elements/oj-rating-gauge/index.js +17 -0
- package/elements/oj-rating-gauge/index.js.map +1 -0
- package/elements/oj-rating-gauge/index.ts +27 -0
- package/elements/oj-refresher/OjRefresher.js +8 -0
- package/elements/oj-refresher/OjRefresher.js.map +1 -0
- package/elements/oj-refresher/OjRefresher.ts +12 -0
- package/elements/oj-refresher/OjRefresherBase.js +20 -0
- package/elements/oj-refresher/OjRefresherBase.js.map +1 -0
- package/elements/oj-refresher/OjRefresherBase.ts +64 -0
- package/elements/oj-refresher/index.js +17 -0
- package/elements/oj-refresher/index.js.map +1 -0
- package/elements/oj-refresher/index.ts +27 -0
- package/elements/oj-row-expander/OjRowExpander.js +8 -0
- package/elements/oj-row-expander/OjRowExpander.js.map +1 -0
- package/elements/oj-row-expander/OjRowExpander.ts +12 -0
- package/elements/oj-row-expander/OjRowExpanderBase.js +20 -0
- package/elements/oj-row-expander/OjRowExpanderBase.js.map +1 -0
- package/elements/oj-row-expander/OjRowExpanderBase.ts +76 -0
- package/elements/oj-row-expander/index.js +17 -0
- package/elements/oj-row-expander/index.js.map +1 -0
- package/elements/oj-row-expander/index.ts +27 -0
- package/elements/oj-select-many/OjSelectMany.js +51 -0
- package/elements/oj-select-many/OjSelectMany.js.map +1 -0
- package/elements/oj-select-many/OjSelectMany.ts +80 -0
- package/elements/oj-select-many/OjSelectManyBase.js +89 -0
- package/elements/oj-select-many/OjSelectManyBase.js.map +1 -0
- package/elements/oj-select-many/OjSelectManyBase.ts +387 -0
- package/elements/oj-select-many/index.js +17 -0
- package/elements/oj-select-many/index.js.map +1 -0
- package/elements/oj-select-many/index.ts +27 -0
- package/elements/oj-select-one/OjSelectOne.js +45 -0
- package/elements/oj-select-one/OjSelectOne.js.map +1 -0
- package/elements/oj-select-one/OjSelectOne.ts +70 -0
- package/elements/oj-select-one/OjSelectOneBase.js +89 -0
- package/elements/oj-select-one/OjSelectOneBase.js.map +1 -0
- package/elements/oj-select-one/OjSelectOneBase.ts +387 -0
- package/elements/oj-select-one/index.js +17 -0
- package/elements/oj-select-one/index.js.map +1 -0
- package/elements/oj-select-one/index.ts +27 -0
- package/elements/oj-select-single/OjSelectSingle.js +35 -0
- package/elements/oj-select-single/OjSelectSingle.js.map +1 -0
- package/elements/oj-select-single/OjSelectSingle.ts +51 -0
- package/elements/oj-select-single/OjSelectSingleBase.js +77 -0
- package/elements/oj-select-single/OjSelectSingleBase.js.map +1 -0
- package/elements/oj-select-single/OjSelectSingleBase.ts +303 -0
- package/elements/oj-select-single/index.js +17 -0
- package/elements/oj-select-single/index.js.map +1 -0
- package/elements/oj-select-single/index.ts +27 -0
- package/elements/oj-selector/OjSelector.js +13 -0
- package/elements/oj-selector/OjSelector.js.map +1 -0
- package/elements/oj-selector/OjSelector.ts +20 -0
- package/elements/oj-selector/OjSelectorBase.js +26 -0
- package/elements/oj-selector/OjSelectorBase.js.map +1 -0
- package/elements/oj-selector/OjSelectorBase.ts +66 -0
- package/elements/oj-selector/index.js +17 -0
- package/elements/oj-selector/index.js.map +1 -0
- package/elements/oj-selector/index.ts +27 -0
- package/elements/oj-slider/OjSlider.js +15 -0
- package/elements/oj-slider/OjSlider.js.map +1 -0
- package/elements/oj-slider/OjSlider.ts +25 -0
- package/elements/oj-slider/OjSliderBase.js +71 -0
- package/elements/oj-slider/OjSliderBase.js.map +1 -0
- package/elements/oj-slider/OjSliderBase.ts +259 -0
- package/elements/oj-slider/index.js +17 -0
- package/elements/oj-slider/index.js.map +1 -0
- package/elements/oj-slider/index.ts +27 -0
- package/elements/oj-spark-chart/OjSparkChart.js +8 -0
- package/elements/oj-spark-chart/OjSparkChart.js.map +1 -0
- package/elements/oj-spark-chart/OjSparkChart.ts +12 -0
- package/elements/oj-spark-chart/OjSparkChartBase.js +95 -0
- package/elements/oj-spark-chart/OjSparkChartBase.js.map +1 -0
- package/elements/oj-spark-chart/OjSparkChartBase.ts +431 -0
- package/elements/oj-spark-chart/index.js +17 -0
- package/elements/oj-spark-chart/index.js.map +1 -0
- package/elements/oj-spark-chart/index.ts +27 -0
- package/elements/oj-status-meter-gauge/OjStatusMeterGauge.js +8 -0
- package/elements/oj-status-meter-gauge/OjStatusMeterGauge.js.map +1 -0
- package/elements/oj-status-meter-gauge/OjStatusMeterGauge.ts +12 -0
- package/elements/oj-status-meter-gauge/OjStatusMeterGaugeBase.js +107 -0
- package/elements/oj-status-meter-gauge/OjStatusMeterGaugeBase.js.map +1 -0
- package/elements/oj-status-meter-gauge/OjStatusMeterGaugeBase.ts +491 -0
- package/elements/oj-status-meter-gauge/index.js +17 -0
- package/elements/oj-status-meter-gauge/index.js.map +1 -0
- package/elements/oj-status-meter-gauge/index.ts +27 -0
- package/elements/oj-stream-list/OjStreamList.js +70 -0
- package/elements/oj-stream-list/OjStreamList.js.map +1 -0
- package/elements/oj-stream-list/OjStreamList.ts +79 -0
- package/elements/oj-stream-list/OjStreamListBase.js +29 -0
- package/elements/oj-stream-list/OjStreamListBase.js.map +1 -0
- package/elements/oj-stream-list/OjStreamListBase.ts +109 -0
- package/elements/oj-stream-list/index.js +17 -0
- package/elements/oj-stream-list/index.js.map +1 -0
- package/elements/oj-stream-list/index.ts +27 -0
- package/elements/oj-sunburst/OjSunburst.js +8 -0
- package/elements/oj-sunburst/OjSunburst.js.map +1 -0
- package/elements/oj-sunburst/OjSunburst.ts +12 -0
- package/elements/oj-sunburst/OjSunburstBase.js +104 -0
- package/elements/oj-sunburst/OjSunburstBase.js.map +1 -0
- package/elements/oj-sunburst/OjSunburstBase.ts +512 -0
- package/elements/oj-sunburst/index.js +17 -0
- package/elements/oj-sunburst/index.js.map +1 -0
- package/elements/oj-sunburst/index.ts +27 -0
- package/elements/oj-swipe-actions/OjSwipeActions.js +19 -0
- package/elements/oj-swipe-actions/OjSwipeActions.js.map +1 -0
- package/elements/oj-swipe-actions/OjSwipeActions.ts +30 -0
- package/elements/oj-swipe-actions/OjSwipeActionsBase.js +11 -0
- package/elements/oj-swipe-actions/OjSwipeActionsBase.js.map +1 -0
- package/elements/oj-swipe-actions/OjSwipeActionsBase.ts +37 -0
- package/elements/oj-swipe-actions/index.js +17 -0
- package/elements/oj-swipe-actions/index.js.map +1 -0
- package/elements/oj-swipe-actions/index.ts +27 -0
- package/elements/oj-switch/OjSwitch.js +16 -0
- package/elements/oj-switch/OjSwitch.js.map +1 -0
- package/elements/oj-switch/OjSwitch.ts +26 -0
- package/elements/oj-switch/OjSwitchBase.js +56 -0
- package/elements/oj-switch/OjSwitchBase.js.map +1 -0
- package/elements/oj-switch/OjSwitchBase.ts +192 -0
- package/elements/oj-switch/index.js +17 -0
- package/elements/oj-switch/index.js.map +1 -0
- package/elements/oj-switch/index.ts +27 -0
- package/elements/oj-tab-bar/OjTabBar.js +8 -0
- package/elements/oj-tab-bar/OjTabBar.js.map +1 -0
- package/elements/oj-tab-bar/OjTabBar.ts +12 -0
- package/elements/oj-tab-bar/OjTabBarBase.js +50 -0
- package/elements/oj-tab-bar/OjTabBarBase.js.map +1 -0
- package/elements/oj-tab-bar/OjTabBarBase.ts +200 -0
- package/elements/oj-tab-bar/index.js +17 -0
- package/elements/oj-tab-bar/index.js.map +1 -0
- package/elements/oj-tab-bar/index.ts +27 -0
- package/elements/oj-table/OjTable.js +33 -0
- package/elements/oj-table/OjTable.js.map +1 -0
- package/elements/oj-table/OjTable.ts +52 -0
- package/elements/oj-table/OjTableBase.js +98 -0
- package/elements/oj-table/OjTableBase.js.map +1 -0
- package/elements/oj-table/OjTableBase.ts +702 -0
- package/elements/oj-table/index.js +17 -0
- package/elements/oj-table/index.js.map +1 -0
- package/elements/oj-table/index.ts +27 -0
- package/elements/oj-tag-cloud/OjTagCloud.js +8 -0
- package/elements/oj-tag-cloud/OjTagCloud.js.map +1 -0
- package/elements/oj-tag-cloud/OjTagCloud.ts +12 -0
- package/elements/oj-tag-cloud/OjTagCloudBase.js +68 -0
- package/elements/oj-tag-cloud/OjTagCloudBase.js.map +1 -0
- package/elements/oj-tag-cloud/OjTagCloudBase.ts +318 -0
- package/elements/oj-tag-cloud/index.js +17 -0
- package/elements/oj-tag-cloud/index.js.map +1 -0
- package/elements/oj-tag-cloud/index.ts +27 -0
- package/elements/oj-text-area/OjTextArea.js +10 -0
- package/elements/oj-text-area/OjTextArea.js.map +1 -0
- package/elements/oj-text-area/OjTextArea.ts +14 -0
- package/elements/oj-text-area/OjTextAreaBase.js +95 -0
- package/elements/oj-text-area/OjTextAreaBase.js.map +1 -0
- package/elements/oj-text-area/OjTextAreaBase.ts +365 -0
- package/elements/oj-text-area/index.js +17 -0
- package/elements/oj-text-area/index.js.map +1 -0
- package/elements/oj-text-area/index.ts +27 -0
- package/elements/oj-thematic-map/OjThematicMap.js +8 -0
- package/elements/oj-thematic-map/OjThematicMap.js.map +1 -0
- package/elements/oj-thematic-map/OjThematicMap.ts +12 -0
- package/elements/oj-thematic-map/OjThematicMapBase.js +119 -0
- package/elements/oj-thematic-map/OjThematicMapBase.js.map +1 -0
- package/elements/oj-thematic-map/OjThematicMapBase.ts +777 -0
- package/elements/oj-thematic-map/index.js +17 -0
- package/elements/oj-thematic-map/index.js.map +1 -0
- package/elements/oj-thematic-map/index.ts +27 -0
- package/elements/oj-time-axis/OjTimeAxis.js +8 -0
- package/elements/oj-time-axis/OjTimeAxis.js.map +1 -0
- package/elements/oj-time-axis/OjTimeAxis.ts +12 -0
- package/elements/oj-time-axis/OjTimeAxisBase.js +26 -0
- package/elements/oj-time-axis/OjTimeAxisBase.js.map +1 -0
- package/elements/oj-time-axis/OjTimeAxisBase.ts +176 -0
- package/elements/oj-time-axis/index.js +17 -0
- package/elements/oj-time-axis/index.js.map +1 -0
- package/elements/oj-time-axis/index.ts +27 -0
- package/elements/oj-timeline/OjTimeline.js +8 -0
- package/elements/oj-timeline/OjTimeline.js.map +1 -0
- package/elements/oj-timeline/OjTimeline.ts +12 -0
- package/elements/oj-timeline/OjTimelineBase.js +71 -0
- package/elements/oj-timeline/OjTimelineBase.js.map +1 -0
- package/elements/oj-timeline/OjTimelineBase.ts +715 -0
- package/elements/oj-timeline/index.js +17 -0
- package/elements/oj-timeline/index.js.map +1 -0
- package/elements/oj-timeline/index.ts +27 -0
- package/elements/oj-train/OjTrain.js +8 -0
- package/elements/oj-train/OjTrain.js.map +1 -0
- package/elements/oj-train/OjTrain.ts +12 -0
- package/elements/oj-train/OjTrainBase.js +20 -0
- package/elements/oj-train/OjTrainBase.js.map +1 -0
- package/elements/oj-train/OjTrainBase.ts +72 -0
- package/elements/oj-train/index.js +17 -0
- package/elements/oj-train/index.js.map +1 -0
- package/elements/oj-train/index.ts +27 -0
- package/elements/oj-tree-view/OjTreeView.js +80 -0
- package/elements/oj-tree-view/OjTreeView.js.map +1 -0
- package/elements/oj-tree-view/OjTreeView.ts +117 -0
- package/elements/oj-tree-view/OjTreeViewBase.js +35 -0
- package/elements/oj-tree-view/OjTreeViewBase.js.map +1 -0
- package/elements/oj-tree-view/OjTreeViewBase.ts +131 -0
- package/elements/oj-tree-view/index.js +17 -0
- package/elements/oj-tree-view/index.js.map +1 -0
- package/elements/oj-tree-view/index.ts +27 -0
- package/elements/oj-treemap/OjTreemap.js +8 -0
- package/elements/oj-treemap/OjTreemap.js.map +1 -0
- package/elements/oj-treemap/OjTreemap.ts +12 -0
- package/elements/oj-treemap/OjTreemapBase.js +110 -0
- package/elements/oj-treemap/OjTreemapBase.js.map +1 -0
- package/elements/oj-treemap/OjTreemapBase.ts +594 -0
- package/elements/oj-treemap/index.js +17 -0
- package/elements/oj-treemap/index.js.map +1 -0
- package/elements/oj-treemap/index.ts +27 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayout.js +8 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayout.js.map +1 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayout.ts +12 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.js +23 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.js.map +1 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.ts +87 -0
- package/elements/oj-waterfall-layout/index.js +17 -0
- package/elements/oj-waterfall-layout/index.js.map +1 -0
- package/elements/oj-waterfall-layout/index.ts +27 -0
- package/index.js +164 -0
- package/index.js.map +1 -0
- package/index.ts +440 -0
- package/lib/Expectation.js +189 -0
- package/lib/Expectation.js.map +1 -0
- package/lib/Expectation.ts +272 -0
- package/lib/OjFetch.js +83 -0
- package/lib/OjFetch.js.map +1 -0
- package/lib/OjFetch.ts +158 -0
- package/lib/ScreenshotManager.js +113 -0
- package/lib/ScreenshotManager.js.map +1 -0
- package/lib/ScreenshotManager.ts +195 -0
- package/lib/driver-manager.js +89 -0
- package/lib/driver-manager.js.map +1 -0
- package/lib/driver-manager.ts +330 -0
- package/lib/driver-override.js +120 -0
- package/lib/driver-override.js.map +1 -0
- package/lib/driver-override.ts +255 -0
- package/lib/input-utils.js +24 -0
- package/lib/input-utils.js.map +1 -0
- package/lib/input-utils.ts +50 -0
- package/lib/slot-proxy.js +25 -0
- package/lib/slot-proxy.js.map +1 -0
- package/lib/slot-proxy.ts +61 -0
- package/lib/stale-element.js +29 -0
- package/lib/stale-element.js.map +1 -0
- package/lib/stale-element.ts +44 -0
- package/package.json +19 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OjInputPasswordBase = void 0;
|
|
4
|
+
const __1 = require("../");
|
|
5
|
+
class OjInputPasswordBase extends __1.OjWebElement {
|
|
6
|
+
getAsyncValidators() {
|
|
7
|
+
return this.getProperty("asyncValidators");
|
|
8
|
+
}
|
|
9
|
+
getAutocomplete() {
|
|
10
|
+
return this.getProperty("autocomplete");
|
|
11
|
+
}
|
|
12
|
+
getAutofocus() {
|
|
13
|
+
return this.getProperty("autofocus");
|
|
14
|
+
}
|
|
15
|
+
getDescribedBy() {
|
|
16
|
+
return this.getProperty("describedBy");
|
|
17
|
+
}
|
|
18
|
+
getDisabled() {
|
|
19
|
+
return this.getProperty("disabled");
|
|
20
|
+
}
|
|
21
|
+
getDisplayOptions() {
|
|
22
|
+
return this.getProperty("displayOptions");
|
|
23
|
+
}
|
|
24
|
+
getHelp() {
|
|
25
|
+
return this.getProperty("help");
|
|
26
|
+
}
|
|
27
|
+
getHelpHints() {
|
|
28
|
+
return this.getProperty("helpHints");
|
|
29
|
+
}
|
|
30
|
+
getLabelEdge() {
|
|
31
|
+
return this.getProperty("labelEdge");
|
|
32
|
+
}
|
|
33
|
+
getLabelHint() {
|
|
34
|
+
return this.getProperty("labelHint");
|
|
35
|
+
}
|
|
36
|
+
getLabelledBy() {
|
|
37
|
+
return this.getProperty("labelledBy");
|
|
38
|
+
}
|
|
39
|
+
getMaskIcon() {
|
|
40
|
+
return this.getProperty("maskIcon");
|
|
41
|
+
}
|
|
42
|
+
changeMessagesCustom(messagesCustom) {
|
|
43
|
+
return this.setProperty("messagesCustom", messagesCustom);
|
|
44
|
+
}
|
|
45
|
+
getMessagesCustom() {
|
|
46
|
+
return this.getProperty("messagesCustom");
|
|
47
|
+
}
|
|
48
|
+
getName() {
|
|
49
|
+
return this.getProperty("name");
|
|
50
|
+
}
|
|
51
|
+
getPlaceholder() {
|
|
52
|
+
return this.getProperty("placeholder");
|
|
53
|
+
}
|
|
54
|
+
getRawValue() {
|
|
55
|
+
return this.getProperty("rawValue");
|
|
56
|
+
}
|
|
57
|
+
getReadonly() {
|
|
58
|
+
return this.getProperty("readonly");
|
|
59
|
+
}
|
|
60
|
+
getRequired() {
|
|
61
|
+
return this.getProperty("required");
|
|
62
|
+
}
|
|
63
|
+
getTranslations() {
|
|
64
|
+
return this.getProperty("translations");
|
|
65
|
+
}
|
|
66
|
+
getUserAssistanceDensity() {
|
|
67
|
+
return this.getProperty("userAssistanceDensity");
|
|
68
|
+
}
|
|
69
|
+
getValid() {
|
|
70
|
+
return this.getProperty("valid");
|
|
71
|
+
}
|
|
72
|
+
getValidators() {
|
|
73
|
+
return this.getProperty("validators");
|
|
74
|
+
}
|
|
75
|
+
changeValue(value) {
|
|
76
|
+
return this.setProperty("value", value);
|
|
77
|
+
}
|
|
78
|
+
getValue() {
|
|
79
|
+
return this.getProperty("value");
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.OjInputPasswordBase = OjInputPasswordBase;
|
|
83
|
+
//# sourceMappingURL=OjInputPasswordBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OjInputPasswordBase.js","sourceRoot":"","sources":["../../../../rt/src/test/webdriverjs/oraclejet-webdriver/elements/oj-input-password/OjInputPasswordBase.ts"],"names":[],"mappings":";;;AAAA,2BAAiC;AASjC,MAAa,mBAAoB,SAAQ,gBAAY;IAM5C,kBAAkB;QACvB,OAAO,IAAI,CAAC,WAAW,CAAgB,iBAAiB,CAAC,CAAC;IAC5D,CAAC;IAOM,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAS,cAAc,CAAC,CAAC;IAClD,CAAC;IAOM,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAU,WAAW,CAAC,CAAC;IAChD,CAAC;IAOM,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAOM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAOM,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAqC,gBAAgB,CAAC,CAAC;IAChF,CAAC;IAOM,OAAO;QACZ,OAAO,IAAI,CAAC,WAAW,CAA2B,MAAM,CAAC,CAAC;IAC5D,CAAC;IAOM,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAgC,WAAW,CAAC,CAAC;IACtE,CAAC;IAOM,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAAC;IAOM,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAAC;IAOM,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAc,YAAY,CAAC,CAAC;IACrD,CAAC;IAOM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAOM,oBAAoB,CAAC,cAA6B;QACvD,OAAO,IAAI,CAAC,WAAW,CAAgB,gBAAgB,EAAE,cAAc,CAAC,CAAC;IAC3E,CAAC;IAOM,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAgB,gBAAgB,CAAC,CAAC;IAC3D,CAAC;IAOM,OAAO;QACZ,OAAO,IAAI,CAAC,WAAW,CAAS,MAAM,CAAC,CAAC;IAC1C,CAAC;IAOM,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAOM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAOM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAOM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAOM,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAwC,cAAc,CAAC,CAAC;IACjF,CAAC;IAOM,wBAAwB;QAC7B,OAAO,IAAI,CAAC,WAAW,CAAS,uBAAuB,CAAC,CAAC;IAC3D,CAAC;IAOM,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;IAOM,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAgB,YAAY,CAAC,CAAC;IACvD,CAAC;IAOM,WAAW,CAAC,KAAkB;QACnC,OAAO,IAAI,CAAC,WAAW,CAAc,OAAO,EAAE,KAAK,CAAC,CAAC;IACvD,CAAC;IAOM,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAc,OAAO,CAAC,CAAC;IAChD,CAAC;CAEF;AAlOD,kDAkOC"}
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import {OjWebElement} from "../";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This is the base class for OjInputPassword, 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 OjInputPasswordBase extends OjWebElement {
|
|
11
|
+
/**
|
|
12
|
+
* Gets the value of "asyncValidators" property.
|
|
13
|
+
* Specifies a list of asynchronous validators used by the component when performing validation. Use async-validators when you need to perform some validation work on the server. See the Help documentation for more information.
|
|
14
|
+
* @return The value of "asyncValidators" property.
|
|
15
|
+
*/
|
|
16
|
+
public getAsyncValidators(): Promise<Array<object>> {
|
|
17
|
+
return this.getProperty<Array<object>>("asyncValidators");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Gets the value of "autocomplete" property.
|
|
22
|
+
* Specifies a component's autocomplete state. See the Help documentation for more information.
|
|
23
|
+
* @return The value of "autocomplete" property.
|
|
24
|
+
*/
|
|
25
|
+
public getAutocomplete(): Promise<string> {
|
|
26
|
+
return this.getProperty<string>("autocomplete");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Gets the value of "autofocus" property.
|
|
31
|
+
* Specifies whether the component will get input focus when the page is loaded. See the Help documentation for more information.
|
|
32
|
+
* @return The value of "autofocus" property.
|
|
33
|
+
*/
|
|
34
|
+
public getAutofocus(): Promise<boolean> {
|
|
35
|
+
return this.getProperty<boolean>("autofocus");
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Gets the value of "describedBy" property.
|
|
40
|
+
* The form component's oj-label automatically sets described-by to make it accessible. It is not meant to be set by application developer.
|
|
41
|
+
* @return The value of "describedBy" property.
|
|
42
|
+
*/
|
|
43
|
+
public getDescribedBy(): Promise<string> {
|
|
44
|
+
return this.getProperty<string>("describedBy");
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Gets the value of "disabled" property.
|
|
49
|
+
* Specifies whether the component is disabled. The default is false.
|
|
50
|
+
* @return The value of "disabled" property.
|
|
51
|
+
*/
|
|
52
|
+
public getDisabled(): Promise<boolean> {
|
|
53
|
+
return this.getProperty<boolean>("disabled");
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Gets the value of "displayOptions" property.
|
|
58
|
+
* Display options for auxiliary content that determines whether or not it should be displayed.
|
|
59
|
+
* @return The value of "displayOptions" property.
|
|
60
|
+
*/
|
|
61
|
+
public getDisplayOptions(): Promise<OjInputPasswordBase.DisplayOptions> {
|
|
62
|
+
return this.getProperty<OjInputPasswordBase.DisplayOptions>("displayOptions");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Gets the value of "help" property.
|
|
67
|
+
* Form component help information.
|
|
68
|
+
* @return The value of "help" property.
|
|
69
|
+
*/
|
|
70
|
+
public getHelp(): Promise<OjInputPasswordBase.Help> {
|
|
71
|
+
return this.getProperty<OjInputPasswordBase.Help>("help");
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Gets the value of "helpHints" property.
|
|
76
|
+
* Represents hints for an oj-form-layout element to render help information on the label of the editable component.
|
|
77
|
+
* @return The value of "helpHints" property.
|
|
78
|
+
*/
|
|
79
|
+
public getHelpHints(): Promise<OjInputPasswordBase.HelpHints> {
|
|
80
|
+
return this.getProperty<OjInputPasswordBase.HelpHints>("helpHints");
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Gets the value of "labelEdge" property.
|
|
85
|
+
* Defines how the label of a component is created. See the Help documentation for more information.
|
|
86
|
+
* @return The value of "labelEdge" property.
|
|
87
|
+
*/
|
|
88
|
+
public getLabelEdge(): Promise<string> {
|
|
89
|
+
return this.getProperty<string>("labelEdge");
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Gets the value of "labelHint" property.
|
|
94
|
+
* Represents a hint for oj-form-layout element to render a label on the editable component.
|
|
95
|
+
* @return The value of "labelHint" property.
|
|
96
|
+
*/
|
|
97
|
+
public getLabelHint(): Promise<string> {
|
|
98
|
+
return this.getProperty<string>("labelHint");
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Gets the value of "labelledBy" property.
|
|
103
|
+
* The oj-label sets the labelledBy property programmatically on the form component. See the Help documentation for more information.
|
|
104
|
+
* @return The value of "labelledBy" property.
|
|
105
|
+
*/
|
|
106
|
+
public getLabelledBy(): Promise<string|null> {
|
|
107
|
+
return this.getProperty<string|null>("labelledBy");
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Gets the value of "maskIcon" property.
|
|
112
|
+
* The mask icon is used to mask or unmask the visibility of the password. The password always starts out masked, but using the mask icon the user can toggle the visibility of the password so that it can be read. The mask-icon attribute is used to make the mask icon visible or hidden. If it is hidden, then the user has no way to toggle the visibility of the password.
|
|
113
|
+
* @return The value of "maskIcon" property.
|
|
114
|
+
*/
|
|
115
|
+
public getMaskIcon(): Promise<string> {
|
|
116
|
+
return this.getProperty<string>("maskIcon");
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Sets the value of "messagesCustom" property.
|
|
121
|
+
* A list of messages added by an application to the component. See the Help documentation for more information.
|
|
122
|
+
* @param messagesCustom The value to set for "messagesCustom"
|
|
123
|
+
*/
|
|
124
|
+
public changeMessagesCustom(messagesCustom: Array<object>): Promise<void> {
|
|
125
|
+
return this.setProperty<Array<object>>("messagesCustom", messagesCustom);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Gets the value of "messagesCustom" property.
|
|
130
|
+
* A list of messages added by an application to the component. See the Help documentation for more information.
|
|
131
|
+
* @return The value of "messagesCustom" property.
|
|
132
|
+
*/
|
|
133
|
+
public getMessagesCustom(): Promise<Array<object>> {
|
|
134
|
+
return this.getProperty<Array<object>>("messagesCustom");
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Gets the value of "name" property.
|
|
139
|
+
* Specifies the name of the component.
|
|
140
|
+
* @return The value of "name" property.
|
|
141
|
+
*/
|
|
142
|
+
public getName(): Promise<string> {
|
|
143
|
+
return this.getProperty<string>("name");
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Gets the value of "placeholder" property.
|
|
148
|
+
* The placeholder text to set on the element.
|
|
149
|
+
* @return The value of "placeholder" property.
|
|
150
|
+
*/
|
|
151
|
+
public getPlaceholder(): Promise<string> {
|
|
152
|
+
return this.getProperty<string>("placeholder");
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Gets the value of "rawValue" property.
|
|
157
|
+
* Read-only property used for retrieving the current value from the input field in string form. See the Help documentation for more information.
|
|
158
|
+
* @return The value of "rawValue" property.
|
|
159
|
+
*/
|
|
160
|
+
public getRawValue(): Promise<string> {
|
|
161
|
+
return this.getProperty<string>("rawValue");
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Gets the value of "readonly" property.
|
|
166
|
+
* Specifies whether the component is read-only. A read-only element cannot be modified, but user interaction is allowed. See the Help documentation for more information.
|
|
167
|
+
* @return The value of "readonly" property.
|
|
168
|
+
*/
|
|
169
|
+
public getReadonly(): Promise<boolean> {
|
|
170
|
+
return this.getProperty<boolean>("readonly");
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Gets the value of "required" property.
|
|
175
|
+
* Specifies whether the component is required or optional. See the Help documentation for more information.
|
|
176
|
+
* @return The value of "required" property.
|
|
177
|
+
*/
|
|
178
|
+
public getRequired(): Promise<boolean> {
|
|
179
|
+
return this.getProperty<boolean>("required");
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Gets the value of "translations" property.
|
|
184
|
+
* A collection of translated resources from the translation bundle, or null if this component has no resources.
|
|
185
|
+
* @return The value of "translations" property.
|
|
186
|
+
*/
|
|
187
|
+
public getTranslations(): Promise<OjInputPasswordBase.Translations|null> {
|
|
188
|
+
return this.getProperty<OjInputPasswordBase.Translations|null>("translations");
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Gets the value of "userAssistanceDensity" property.
|
|
193
|
+
* Specifies the density of the form component's user assistance presentation.
|
|
194
|
+
* @return The value of "userAssistanceDensity" property.
|
|
195
|
+
*/
|
|
196
|
+
public getUserAssistanceDensity(): Promise<string> {
|
|
197
|
+
return this.getProperty<string>("userAssistanceDensity");
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Gets the value of "valid" property.
|
|
202
|
+
* The validity state of the component
|
|
203
|
+
* @return The value of "valid" property.
|
|
204
|
+
*/
|
|
205
|
+
public getValid(): Promise<string> {
|
|
206
|
+
return this.getProperty<string>("valid");
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Gets the value of "validators" property.
|
|
211
|
+
* Specifies a list of synchronous validators for performing validation by the element. See the Help documentation for more information.
|
|
212
|
+
* @return The value of "validators" property.
|
|
213
|
+
*/
|
|
214
|
+
public getValidators(): Promise<Array<object>> {
|
|
215
|
+
return this.getProperty<Array<object>>("validators");
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Sets the value of "value" property.
|
|
220
|
+
* The value of the component. Value must be a string or null.
|
|
221
|
+
* @param value The value to set for "value"
|
|
222
|
+
*/
|
|
223
|
+
public changeValue(value: string|null): Promise<void> {
|
|
224
|
+
return this.setProperty<string|null>("value", value);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Gets the value of "value" property.
|
|
229
|
+
* The value of the component. Value must be a string or null.
|
|
230
|
+
* @return The value of "value" property.
|
|
231
|
+
*/
|
|
232
|
+
public getValue(): Promise<string|null> {
|
|
233
|
+
return this.getProperty<string|null>("value");
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
namespace OjInputPasswordBase {
|
|
239
|
+
export interface DisplayOptions {
|
|
240
|
+
/**
|
|
241
|
+
* Display options for auxiliary converter hint text that determines whether it should be displayed.
|
|
242
|
+
*/
|
|
243
|
+
"converterHint": Array<string>|string;
|
|
244
|
+
/**
|
|
245
|
+
* Display options for auxiliary help instruction text that determines whether it should be displayed.
|
|
246
|
+
*/
|
|
247
|
+
"helpInstruction": Array<string>|string;
|
|
248
|
+
/**
|
|
249
|
+
* Display options for auxiliary message text that determines whether it should be displayed.
|
|
250
|
+
*/
|
|
251
|
+
"messages": Array<string>|string;
|
|
252
|
+
/**
|
|
253
|
+
* Display options for auxiliary validator hint text that determines whether it should be displayed.
|
|
254
|
+
*/
|
|
255
|
+
"validatorHint": Array<string>|string;
|
|
256
|
+
}
|
|
257
|
+
export interface Help {
|
|
258
|
+
/**
|
|
259
|
+
* Represents advisory information for the component, such as would be appropriate for a tooltip.
|
|
260
|
+
*/
|
|
261
|
+
"instruction": string;
|
|
262
|
+
}
|
|
263
|
+
export interface HelpHints {
|
|
264
|
+
/**
|
|
265
|
+
* Hint for help definition text associated with the label.
|
|
266
|
+
*/
|
|
267
|
+
"definition": string;
|
|
268
|
+
/**
|
|
269
|
+
* Help source URL associated with the component.
|
|
270
|
+
*/
|
|
271
|
+
"source": string;
|
|
272
|
+
}
|
|
273
|
+
export interface Translations {
|
|
274
|
+
/**
|
|
275
|
+
* Label for the 'view-hide' mask visibility icon.
|
|
276
|
+
*/
|
|
277
|
+
"accessibleHidePassword": string;
|
|
278
|
+
/**
|
|
279
|
+
* Message to announce to AT via aria-live when the length.max is exceeded.
|
|
280
|
+
*/
|
|
281
|
+
"accessibleMaxLengthExceeded": string;
|
|
282
|
+
/**
|
|
283
|
+
* Message to annnouce to AT via aria-live for the remaining character count.
|
|
284
|
+
*/
|
|
285
|
+
"accessibleMaxLengthRemaining": string;
|
|
286
|
+
/**
|
|
287
|
+
* Label for the 'view' mask visibility icon.
|
|
288
|
+
*/
|
|
289
|
+
"accessibleShowPassword": string;
|
|
290
|
+
/**
|
|
291
|
+
* Provides properties to customize the message text used by the implicit regexp validator associated to the InputPassword component.
|
|
292
|
+
*/
|
|
293
|
+
"regexp": OjInputPasswordBase.TranslationsRegexp;
|
|
294
|
+
/**
|
|
295
|
+
* Provides properties to customize the summary, detail and hint text used by the implicit required validator associated to any editable component that supports the required option.
|
|
296
|
+
*/
|
|
297
|
+
"required": OjInputPasswordBase.TranslationsRequired;
|
|
298
|
+
}
|
|
299
|
+
export interface TranslationsRegexp {
|
|
300
|
+
/**
|
|
301
|
+
* Provides properties to customize the error message detail used by the implicit regexp validator associated to the InputPassword component.
|
|
302
|
+
*/
|
|
303
|
+
"messageDetail": string;
|
|
304
|
+
/**
|
|
305
|
+
* Provides properties to customize the error message summary used by the implicit regexp validator associated to the InputText and TextArea components.
|
|
306
|
+
*/
|
|
307
|
+
"messageSummary": string;
|
|
308
|
+
}
|
|
309
|
+
export interface TranslationsRequired {
|
|
310
|
+
/**
|
|
311
|
+
* Hint text used by required validation error.
|
|
312
|
+
*/
|
|
313
|
+
"hint": string;
|
|
314
|
+
/**
|
|
315
|
+
* Message text that describes the details of the required validation error.
|
|
316
|
+
*/
|
|
317
|
+
"messageDetail": string;
|
|
318
|
+
/**
|
|
319
|
+
* Message text for summarizing a required validation error.
|
|
320
|
+
*/
|
|
321
|
+
"messageSummary": string;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ojInputPassword = exports.OjInputPassword = void 0;
|
|
4
|
+
const __1 = require("../../");
|
|
5
|
+
const OjInputPassword_1 = require("./OjInputPassword");
|
|
6
|
+
Object.defineProperty(exports, "OjInputPassword", { enumerable: true, get: function () { return OjInputPassword_1.OjInputPassword; } });
|
|
7
|
+
async function ojInputPassword(driver, by) {
|
|
8
|
+
const webEl = await __1.default.waitAndFindElement(driver, by);
|
|
9
|
+
if (!(webEl instanceof OjInputPassword_1.OjInputPassword)) {
|
|
10
|
+
const tagName = await webEl.getTagName();
|
|
11
|
+
throw Error(`Locator '${by}' located a <${tagName}>, but expected <oj-input-password>`);
|
|
12
|
+
}
|
|
13
|
+
return webEl;
|
|
14
|
+
}
|
|
15
|
+
exports.ojInputPassword = ojInputPassword;
|
|
16
|
+
__1.register("oj-input-password", OjInputPassword_1.OjInputPassword);
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../rt/src/test/webdriverjs/oraclejet-webdriver/elements/oj-input-password/index.ts"],"names":[],"mappings":";;;AACA,8BAAkD;AAClD,uDAAkD;AACvB,gGADnB,iCAAe,OACmB;AAanC,KAAK,UAAU,eAAe,CAAC,MAAkB,EAAE,EAAM;IAC9D,MAAM,KAAK,GAAe,MAAM,WAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE,EAAE,CAAoB,CAAC;IAEvF,IAAI,CAAC,CAAC,KAAK,YAAY,iCAAe,CAAC,EAAE;QACvC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,YAAY,EAAE,gBAAgB,OAAO,qCAAqC,CAAC,CAAC;KACzF;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AARD,0CAQC;AAED,YAAQ,CAAC,mBAAmB,EAAE,iCAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {By, WebElement} from "selenium-webdriver";
|
|
2
|
+
import ojwd, {DriverLike, register} from "../../";
|
|
3
|
+
import {OjInputPassword} from "./OjInputPassword";
|
|
4
|
+
export {OjInputPassword as OjInputPassword};
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Create an instance of [[OjInputPassword]]. This function will first wait for
|
|
8
|
+
* the element to appear in the DOM before trying to locate it.
|
|
9
|
+
* @example
|
|
10
|
+
* <code>
|
|
11
|
+
* const el = await ojInputPassword(driver, By.id('my-oj-input-password'))
|
|
12
|
+
* </code>
|
|
13
|
+
* @param driver A WebDriver/WebElement instance used to locate the component
|
|
14
|
+
* element.
|
|
15
|
+
* @param by The By locator with which to find the element
|
|
16
|
+
*/
|
|
17
|
+
export async function ojInputPassword(driver: DriverLike, by: By): Promise<OjInputPassword> {
|
|
18
|
+
const webEl: WebElement = await ojwd.waitAndFindElement(driver, by) as OjInputPassword;
|
|
19
|
+
// Check that the element is of type OjInputPassword
|
|
20
|
+
if (!(webEl instanceof OjInputPassword)) {
|
|
21
|
+
const tagName = await webEl.getTagName();
|
|
22
|
+
throw Error(`Locator '${by}' located a <${tagName}>, but expected <oj-input-password>`);
|
|
23
|
+
}
|
|
24
|
+
return webEl;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
register("oj-input-password", OjInputPassword);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OjInputSearch = void 0;
|
|
4
|
+
const OjInputSearchBase_1 = require("./OjInputSearchBase");
|
|
5
|
+
class OjInputSearch extends OjInputSearchBase_1.OjInputSearchBase {
|
|
6
|
+
async changeValue(value) {
|
|
7
|
+
await this.getDriver().executeScript("arguments[0].focus()", this);
|
|
8
|
+
await this.whenBusyContextReady();
|
|
9
|
+
await this.getDriver().executeAsyncScript(`
|
|
10
|
+
var element = arguments[0];
|
|
11
|
+
var value = arguments[1];
|
|
12
|
+
|
|
13
|
+
// Last argument will the done function
|
|
14
|
+
var doneFunc = arguments[arguments.length - 1];
|
|
15
|
+
|
|
16
|
+
element._testChangeValue(value)
|
|
17
|
+
.then(doneFunc, doneFunc)
|
|
18
|
+
.catch(doneFunc);
|
|
19
|
+
`, this, value);
|
|
20
|
+
}
|
|
21
|
+
async changeValueByKey(key) {
|
|
22
|
+
await this.getDriver().executeScript("arguments[0].focus()", this);
|
|
23
|
+
await this.whenBusyContextReady();
|
|
24
|
+
await this.getDriver().executeAsyncScript(`
|
|
25
|
+
var element = arguments[0];
|
|
26
|
+
var key = arguments[1];
|
|
27
|
+
|
|
28
|
+
// Last argument will the done function
|
|
29
|
+
var doneFunc = arguments[arguments.length - 1];
|
|
30
|
+
|
|
31
|
+
element._testChangeValueByKey(key)
|
|
32
|
+
.then(doneFunc, doneFunc)
|
|
33
|
+
.catch(doneFunc);
|
|
34
|
+
`, this, key);
|
|
35
|
+
}
|
|
36
|
+
clear() {
|
|
37
|
+
return this.changeValue('');
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.OjInputSearch = OjInputSearch;
|
|
41
|
+
//# sourceMappingURL=OjInputSearch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OjInputSearch.js","sourceRoot":"","sources":["../../../../rt/src/test/webdriverjs/oraclejet-webdriver/elements/oj-input-search/OjInputSearch.ts"],"names":[],"mappings":";;;AACA,2DAAsD;AAStD,MAAa,aAAc,SAAQ,qCAAiB;IAOlD,KAAK,CAAC,WAAW,CAAC,KAAa;QAE7B,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAClC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,kBAAkB,CAAC;;;;;;;;;;KAUzC,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAClB,CAAC;IAOD,KAAK,CAAC,gBAAgB,CAAC,GAAQ;QAE7B,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAClC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,kBAAkB,CAAC;;;;;;;;;;KAUzC,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;IAChB,CAAC;IAMD,KAAK;QACH,OAAO,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC9B,CAAC;CACF;AArDD,sCAqDC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { By, Key } from "selenium-webdriver";
|
|
2
|
+
import {OjInputSearchBase} from "./OjInputSearchBase";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This is the component WebElement for oj-input-search. Retrieve an instance of the class
|
|
6
|
+
* using its convenience function:
|
|
7
|
+
* ```javascript
|
|
8
|
+
* await ojInputSearch(driver, By.css("oj-input-search"))
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export class OjInputSearch extends OjInputSearchBase {
|
|
12
|
+
/**
|
|
13
|
+
* Sets the value of "value" property.
|
|
14
|
+
* The value of the element.
|
|
15
|
+
* @param value The value to set for "value"
|
|
16
|
+
* @override
|
|
17
|
+
*/
|
|
18
|
+
async changeValue(value: string) {
|
|
19
|
+
// Call focus() on the root element
|
|
20
|
+
await this.getDriver().executeScript("arguments[0].focus()", this);
|
|
21
|
+
await this.whenBusyContextReady();
|
|
22
|
+
await this.getDriver().executeAsyncScript(`
|
|
23
|
+
var element = arguments[0];
|
|
24
|
+
var value = arguments[1];
|
|
25
|
+
|
|
26
|
+
// Last argument will the done function
|
|
27
|
+
var doneFunc = arguments[arguments.length - 1];
|
|
28
|
+
|
|
29
|
+
element._testChangeValue(value)
|
|
30
|
+
.then(doneFunc, doneFunc)
|
|
31
|
+
.catch(doneFunc);
|
|
32
|
+
`, this, value);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Sets the value of "value" property based on data for the given key from the data provider.
|
|
37
|
+
* The value of the element.
|
|
38
|
+
* @param key The data provider key for which to set the "value"
|
|
39
|
+
*/
|
|
40
|
+
async changeValueByKey(key: any) {
|
|
41
|
+
// Call focus() on the root element
|
|
42
|
+
await this.getDriver().executeScript("arguments[0].focus()", this);
|
|
43
|
+
await this.whenBusyContextReady();
|
|
44
|
+
await this.getDriver().executeAsyncScript(`
|
|
45
|
+
var element = arguments[0];
|
|
46
|
+
var key = arguments[1];
|
|
47
|
+
|
|
48
|
+
// Last argument will the done function
|
|
49
|
+
var doneFunc = arguments[arguments.length - 1];
|
|
50
|
+
|
|
51
|
+
element._testChangeValueByKey(key)
|
|
52
|
+
.then(doneFunc, doneFunc)
|
|
53
|
+
.catch(doneFunc);
|
|
54
|
+
`, this, key);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Clears the value
|
|
59
|
+
* @override
|
|
60
|
+
*/
|
|
61
|
+
clear(): Promise<void> {
|
|
62
|
+
return this.changeValue('');
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OjInputSearchBase = void 0;
|
|
4
|
+
const __1 = require("../");
|
|
5
|
+
class OjInputSearchBase extends __1.OjWebElement {
|
|
6
|
+
getSuggestions() {
|
|
7
|
+
return this.getProperty("suggestions");
|
|
8
|
+
}
|
|
9
|
+
getSuggestionItemText() {
|
|
10
|
+
return this.getProperty("suggestionItemText");
|
|
11
|
+
}
|
|
12
|
+
getPlaceholder() {
|
|
13
|
+
return this.getProperty("placeholder");
|
|
14
|
+
}
|
|
15
|
+
getRawValue() {
|
|
16
|
+
return this.getProperty("rawValue");
|
|
17
|
+
}
|
|
18
|
+
changeValue(value) {
|
|
19
|
+
return this.setProperty("value", value);
|
|
20
|
+
}
|
|
21
|
+
getValue() {
|
|
22
|
+
return this.getProperty("value");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.OjInputSearchBase = OjInputSearchBase;
|
|
26
|
+
//# sourceMappingURL=OjInputSearchBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OjInputSearchBase.js","sourceRoot":"","sources":["../../../../rt/src/test/webdriverjs/oraclejet-webdriver/elements/oj-input-search/OjInputSearchBase.ts"],"names":[],"mappings":";;;AAAA,2BAAiC;AASjC,MAAa,iBAAkB,SAAQ,gBAAY;IAM1C,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAc,aAAa,CAAC,CAAC;IACtD,CAAC;IAOM,qBAAqB;QAC1B,OAAO,IAAI,CAAC,WAAW,CAAO,oBAAoB,CAAC,CAAC;IACtD,CAAC;IAOM,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAOM,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAc,UAAU,CAAC,CAAC;IACnD,CAAC;IAOM,WAAW,CAAC,KAAkB;QACnC,OAAO,IAAI,CAAC,WAAW,CAAc,OAAO,EAAE,KAAK,CAAC,CAAC;IACvD,CAAC;IAOM,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAc,OAAO,CAAC,CAAC;IAChD,CAAC;CAEF;AAvDD,8CAuDC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {OjWebElement} from "../";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This is the base class for OjInputSearch, 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 OjInputSearchBase extends OjWebElement {
|
|
11
|
+
/**
|
|
12
|
+
* Gets the value of "suggestions" property.
|
|
13
|
+
* Data for the InputSearch suggestions.
|
|
14
|
+
* @return The value of "suggestions" property.
|
|
15
|
+
*/
|
|
16
|
+
public getSuggestions(): Promise<object|null> {
|
|
17
|
+
return this.getProperty<object|null>("suggestions");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Gets the value of "suggestionItemText" property.
|
|
22
|
+
* Specifies the text string to render for a suggestion.
|
|
23
|
+
* @return The value of "suggestionItemText" property.
|
|
24
|
+
*/
|
|
25
|
+
public getSuggestionItemText(): Promise<null> {
|
|
26
|
+
return this.getProperty<null>("suggestionItemText");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Gets the value of "placeholder" property.
|
|
31
|
+
* A short hint that can be displayed before user selects or enters a value.
|
|
32
|
+
* @return The value of "placeholder" property.
|
|
33
|
+
*/
|
|
34
|
+
public getPlaceholder(): Promise<string> {
|
|
35
|
+
return this.getProperty<string>("placeholder");
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Gets the value of "rawValue" property.
|
|
40
|
+
* Read-only property used for retrieving the current value from the input field in string form.
|
|
41
|
+
* @return The value of "rawValue" property.
|
|
42
|
+
*/
|
|
43
|
+
public getRawValue(): Promise<string|null> {
|
|
44
|
+
return this.getProperty<string|null>("rawValue");
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Sets the value of "value" property.
|
|
49
|
+
* The value of the element.
|
|
50
|
+
* @param value The value to set for "value"
|
|
51
|
+
*/
|
|
52
|
+
public changeValue(value: string|null): Promise<void> {
|
|
53
|
+
return this.setProperty<string|null>("value", value);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Gets the value of "value" property.
|
|
58
|
+
* The value of the element.
|
|
59
|
+
* @return The value of "value" property.
|
|
60
|
+
*/
|
|
61
|
+
public getValue(): Promise<string|null> {
|
|
62
|
+
return this.getProperty<string|null>("value");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|