@oracle/oraclejet-core-pack 15.0.2 → 15.0.4
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/oj-c/Avatar.json +10 -10
- package/oj-c/Button.json +19 -19
- package/oj-c/Collapsible.json +14 -14
- package/oj-c/FilePicker.json +19 -19
- package/oj-c/HighlightText.json +6 -6
- package/oj-c/InputDateText.json +43 -43
- package/oj-c/InputNumber.json +49 -49
- package/oj-c/InputPassword.json +40 -40
- package/oj-c/InputText.json +47 -47
- package/oj-c/Legend.json +34 -34
- package/oj-c/LegendItem.json +15 -15
- package/oj-c/LegendSection.json +5 -5
- package/oj-c/ListItemLayout.json +16 -16
- package/oj-c/ListView.json +18 -18
- package/oj-c/MessageToast.json +36 -16
- package/oj-c/MeterBar.json +26 -26
- package/oj-c/MeterCircle.json +30 -30
- package/oj-c/ProgressBar.json +7 -7
- package/oj-c/ProgressCircle.json +7 -7
- package/oj-c/RatingGauge.json +21 -21
- package/oj-c/SelectMultiple.json +39 -39
- package/oj-c/SelectSingle.json +39 -39
- package/oj-c/Selector.json +8 -8
- package/oj-c/SelectorAll.json +5 -5
- package/oj-c/SplitMenuButton.json +17 -17
- package/oj-c/TagCloud.json +18 -18
- package/oj-c/TagCloudItem.json +10 -10
- package/oj-c/TextArea.json +44 -44
- package/oj-c/avatar/__webdriver__/AvatarWebElement.d.ts +8 -0
- package/oj-c/avatar/__webdriver__/AvatarWebElement.js +3 -22
- package/oj-c/avatar/__webdriver__/AvatarWebElement.js.map +1 -0
- package/oj-c/avatar/__webdriver__/AvatarWebElementBase.d.ts +51 -0
- package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js +15 -34
- package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js.map +1 -0
- package/oj-c/avatar/__webdriver__/index.d.ts +17 -0
- package/oj-c/avatar/__webdriver__/index.js +9 -53
- package/oj-c/avatar/__webdriver__/index.js.map +1 -0
- package/oj-c/avatar/component.json +2 -2
- package/oj-c/button/__webdriver__/ButtonWebElement.d.ts +65 -0
- package/oj-c/button/__webdriver__/ButtonWebElement.js +32 -36
- package/oj-c/button/__webdriver__/ButtonWebElement.js.map +1 -0
- package/oj-c/button/__webdriver__/ButtonWebElementBase.d.ts +65 -0
- package/oj-c/button/__webdriver__/ButtonWebElementBase.js +19 -38
- package/oj-c/button/__webdriver__/ButtonWebElementBase.js.map +1 -0
- package/oj-c/button/__webdriver__/index.d.ts +17 -0
- package/oj-c/button/__webdriver__/index.js +9 -53
- package/oj-c/button/__webdriver__/index.js.map +1 -0
- package/oj-c/button/component.json +2 -2
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.d.ts +21 -0
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js +17 -90
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js.map +1 -0
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.d.ts +30 -0
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js +9 -28
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js.map +1 -0
- package/oj-c/collapsible/__webdriver__/index.d.ts +17 -0
- package/oj-c/collapsible/__webdriver__/index.js +9 -53
- package/oj-c/collapsible/__webdriver__/index.js.map +1 -0
- package/oj-c/collapsible/component.json +2 -2
- package/oj-c/component.json +3 -3
- package/oj-c/corepackbundle.js +7 -4
- package/oj-c/docs/avatar.html +3 -3
- package/oj-c/docs/button.html +3 -3
- package/oj-c/docs/collapsible.html +3 -3
- package/oj-c/docs/file-picker.html +3 -3
- package/oj-c/docs/highlight-text.html +3 -3
- package/oj-c/docs/index.html +3 -3
- package/oj-c/docs/input-date-text.html +3 -3
- package/oj-c/docs/input-number.html +3 -3
- package/oj-c/docs/input-password.html +3 -3
- package/oj-c/docs/input-text.html +3 -3
- package/oj-c/docs/legend-item.html +3 -3
- package/oj-c/docs/legend-section.html +3 -3
- package/oj-c/docs/legend.html +3 -3
- package/oj-c/docs/list-item-layout.html +3 -3
- package/oj-c/docs/list-view.html +3 -3
- package/oj-c/docs/message-toast.html +3 -3
- package/oj-c/docs/meter-bar.html +3 -3
- package/oj-c/docs/meter-circle.html +3 -3
- package/oj-c/docs/oj-c.Avatar.html +3 -3
- package/oj-c/docs/oj-c.Button.html +3 -3
- package/oj-c/docs/oj-c.Collapsible.html +3 -3
- package/oj-c/docs/oj-c.FilePicker.html +3 -3
- package/oj-c/docs/oj-c.HighlightText.html +3 -3
- package/oj-c/docs/oj-c.InputDateText.html +3 -3
- package/oj-c/docs/oj-c.InputNumber.html +3 -3
- package/oj-c/docs/oj-c.InputPassword.html +3 -3
- package/oj-c/docs/oj-c.InputText.html +3 -3
- package/oj-c/docs/oj-c.Legend.html +3 -3
- package/oj-c/docs/oj-c.LegendItem.html +3 -3
- package/oj-c/docs/oj-c.LegendSection.html +3 -3
- package/oj-c/docs/oj-c.ListItemLayout.html +3 -3
- package/oj-c/docs/oj-c.ListView.html +3 -3
- package/oj-c/docs/oj-c.MessageToast.html +11 -6
- package/oj-c/docs/oj-c.MeterBar.html +3 -3
- package/oj-c/docs/oj-c.MeterCircle.html +3 -3
- package/oj-c/docs/oj-c.ProgressBar.html +3 -3
- package/oj-c/docs/oj-c.ProgressCircle.html +3 -3
- package/oj-c/docs/oj-c.RatingGauge.html +3 -3
- package/oj-c/docs/oj-c.SelectMultiple.html +3 -3
- package/oj-c/docs/oj-c.SelectSingle.html +3 -3
- package/oj-c/docs/oj-c.Selector.html +3 -3
- package/oj-c/docs/oj-c.SelectorAll.html +3 -3
- package/oj-c/docs/oj-c.SplitMenuButton.html +3 -3
- package/oj-c/docs/oj-c.TagCloud.html +3 -3
- package/oj-c/docs/oj-c.TagCloudItem.html +3 -3
- package/oj-c/docs/oj-c.TextArea.html +3 -3
- package/oj-c/docs/progress-bar.html +3 -3
- package/oj-c/docs/progress-circle.html +3 -3
- package/oj-c/docs/rating-gauge.html +3 -3
- package/oj-c/docs/select-multiple.html +3 -3
- package/oj-c/docs/select-single.html +3 -3
- package/oj-c/docs/selector-all.html +3 -3
- package/oj-c/docs/selector.html +3 -3
- package/oj-c/docs/split-menu-button.html +3 -3
- package/oj-c/docs/tag-cloud-item.html +3 -3
- package/oj-c/docs/tag-cloud.html +3 -3
- package/oj-c/docs/text-area.html +3 -3
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.d.ts +8 -0
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +3 -22
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -0
- package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.d.ts +51 -0
- package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js +15 -34
- package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js.map +1 -0
- package/oj-c/file-picker/__webdriver__/index.d.ts +17 -0
- package/oj-c/file-picker/__webdriver__/index.js +9 -53
- package/oj-c/file-picker/__webdriver__/index.js.map +1 -0
- package/oj-c/file-picker/component.json +2 -2
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.d.ts +8 -0
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js +3 -22
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js.map +1 -0
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.d.ts +23 -0
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js +7 -26
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js.map +1 -0
- package/oj-c/highlight-text/__webdriver__/index.d.ts +17 -0
- package/oj-c/highlight-text/__webdriver__/index.js +9 -53
- package/oj-c/highlight-text/__webdriver__/index.js.map +1 -0
- package/oj-c/highlight-text/component.json +2 -2
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.d.ts +8 -0
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js +3 -22
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js.map +1 -0
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.d.ts +246 -0
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js +57 -76
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js.map +1 -0
- package/oj-c/input-date-text/__webdriver__/index.d.ts +17 -0
- package/oj-c/input-date-text/__webdriver__/index.js +9 -53
- package/oj-c/input-date-text/__webdriver__/index.js.map +1 -0
- package/oj-c/input-date-text/component.json +2 -2
- package/oj-c/input-number/__webdriver__/InputNumberWebElement.d.ts +8 -0
- package/oj-c/input-number/__webdriver__/InputNumberWebElement.js +3 -22
- package/oj-c/input-number/__webdriver__/InputNumberWebElement.js.map +1 -0
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +302 -0
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +73 -92
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -0
- package/oj-c/input-number/__webdriver__/index.d.ts +17 -0
- package/oj-c/input-number/__webdriver__/index.js +9 -53
- package/oj-c/input-number/__webdriver__/index.js.map +1 -0
- package/oj-c/input-number/component.json +2 -2
- package/oj-c/input-password/__webdriver__/InputPasswordWebElement.d.ts +8 -0
- package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js +3 -22
- package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js.map +1 -0
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +239 -0
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +55 -74
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -0
- package/oj-c/input-password/__webdriver__/index.d.ts +17 -0
- package/oj-c/input-password/__webdriver__/index.js +9 -53
- package/oj-c/input-password/__webdriver__/index.js.map +1 -0
- package/oj-c/input-password/component.json +2 -2
- package/oj-c/input-text/__webdriver__/InputTextWebElement.d.ts +8 -0
- package/oj-c/input-text/__webdriver__/InputTextWebElement.js +3 -22
- package/oj-c/input-text/__webdriver__/InputTextWebElement.js.map +1 -0
- package/oj-c/input-text/__webdriver__/InputTextWebElementBase.d.ts +277 -0
- package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js +63 -82
- package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js.map +1 -0
- package/oj-c/input-text/__webdriver__/index.d.ts +17 -0
- package/oj-c/input-text/__webdriver__/index.js +9 -53
- package/oj-c/input-text/__webdriver__/index.js.map +1 -0
- package/oj-c/input-text/component.json +2 -2
- package/oj-c/legend/__webdriver__/LegendWebElement.d.ts +8 -0
- package/oj-c/legend/__webdriver__/LegendWebElement.js +3 -22
- package/oj-c/legend/__webdriver__/LegendWebElement.js.map +1 -0
- package/oj-c/legend/__webdriver__/LegendWebElementBase.d.ts +173 -0
- package/oj-c/legend/__webdriver__/LegendWebElementBase.js +35 -54
- package/oj-c/legend/__webdriver__/LegendWebElementBase.js.map +1 -0
- package/oj-c/legend/__webdriver__/index.d.ts +17 -0
- package/oj-c/legend/__webdriver__/index.js +9 -53
- package/oj-c/legend/__webdriver__/index.js.map +1 -0
- package/oj-c/legend/component.json +2 -2
- package/oj-c/legend-item/component.json +2 -2
- package/oj-c/legend-section/component.json +2 -2
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.d.ts +8 -0
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js +3 -22
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js.map +1 -0
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.d.ts +16 -0
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js +5 -24
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js.map +1 -0
- package/oj-c/list-item-layout/__webdriver__/index.d.ts +17 -0
- package/oj-c/list-item-layout/__webdriver__/index.js +9 -53
- package/oj-c/list-item-layout/__webdriver__/index.js.map +1 -0
- package/oj-c/list-item-layout/component.json +2 -2
- package/oj-c/list-view/__webdriver__/ListViewWebElement.d.ts +8 -0
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js +3 -22
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -0
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.d.ts +75 -0
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js +15 -34
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js.map +1 -0
- package/oj-c/list-view/__webdriver__/index.d.ts +17 -0
- package/oj-c/list-view/__webdriver__/index.js +9 -53
- package/oj-c/list-view/__webdriver__/index.js.map +1 -0
- package/oj-c/list-view/component.json +2 -2
- package/oj-c/message-toast/__webdriver__/MessageToastWebElement.d.ts +52 -0
- package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js +87 -21
- package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js.map +1 -0
- package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.d.ts +44 -0
- package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js +13 -32
- package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js.map +1 -0
- package/oj-c/message-toast/__webdriver__/index.d.ts +17 -0
- package/oj-c/message-toast/__webdriver__/index.js +9 -53
- package/oj-c/message-toast/__webdriver__/index.js.map +1 -0
- package/oj-c/message-toast/component.json +2 -2
- package/oj-c/message-toast/message-toast.js +7 -4
- package/oj-c/metadata/allComponents.json +57 -57
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.d.ts +8 -0
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js +3 -22
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js.map +1 -0
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.d.ts +173 -0
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js +39 -58
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js.map +1 -0
- package/oj-c/meter-bar/__webdriver__/index.d.ts +17 -0
- package/oj-c/meter-bar/__webdriver__/index.js +9 -53
- package/oj-c/meter-bar/__webdriver__/index.js.map +1 -0
- package/oj-c/meter-bar/component.json +2 -2
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.d.ts +8 -0
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js +3 -22
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js.map +1 -0
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.d.ts +183 -0
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js +43 -62
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js.map +1 -0
- package/oj-c/meter-circle/__webdriver__/index.d.ts +17 -0
- package/oj-c/meter-circle/__webdriver__/index.js +9 -53
- package/oj-c/meter-circle/__webdriver__/index.js.map +1 -0
- package/oj-c/meter-circle/component.json +2 -2
- package/oj-c/min/corepackbundle.js +4 -4
- package/oj-c/min/corepackbundle.js.map +1 -1
- package/oj-c/min/message-toast.js +1 -1
- package/oj-c/min/message-toast.js.map +1 -1
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.d.ts +8 -0
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js +3 -22
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js.map +1 -0
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.d.ts +30 -0
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js +9 -28
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js.map +1 -0
- package/oj-c/progress-bar/__webdriver__/index.d.ts +17 -0
- package/oj-c/progress-bar/__webdriver__/index.js +9 -53
- package/oj-c/progress-bar/__webdriver__/index.js.map +1 -0
- package/oj-c/progress-bar/component.json +2 -2
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.d.ts +8 -0
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js +3 -22
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js.map +1 -0
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.d.ts +30 -0
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js +9 -28
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js.map +1 -0
- package/oj-c/progress-circle/__webdriver__/index.d.ts +17 -0
- package/oj-c/progress-circle/__webdriver__/index.js +9 -53
- package/oj-c/progress-circle/__webdriver__/index.js.map +1 -0
- package/oj-c/progress-circle/component.json +2 -2
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.d.ts +8 -0
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js +3 -22
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js.map +1 -0
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.d.ts +135 -0
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js +35 -54
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js.map +1 -0
- package/oj-c/rating-gauge/__webdriver__/index.d.ts +17 -0
- package/oj-c/rating-gauge/__webdriver__/index.js +9 -53
- package/oj-c/rating-gauge/__webdriver__/index.js.map +1 -0
- package/oj-c/rating-gauge/component.json +2 -2
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.d.ts +8 -0
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js +3 -22
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js.map +1 -0
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.d.ts +231 -0
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js +55 -74
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js.map +1 -0
- package/oj-c/select-multiple/__webdriver__/index.d.ts +17 -0
- package/oj-c/select-multiple/__webdriver__/index.js +9 -53
- package/oj-c/select-multiple/__webdriver__/index.js.map +1 -0
- package/oj-c/select-multiple/component.json +2 -2
- package/oj-c/select-single/__webdriver__/SelectSingleWebElement.d.ts +8 -0
- package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js +3 -22
- package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js.map +1 -0
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.d.ts +289 -0
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js +55 -74
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js.map +1 -0
- package/oj-c/select-single/__webdriver__/index.d.ts +17 -0
- package/oj-c/select-single/__webdriver__/index.js +9 -53
- package/oj-c/select-single/__webdriver__/index.js.map +1 -0
- package/oj-c/select-single/component.json +2 -2
- package/oj-c/selector/__webdriver__/SelectorWebElement.d.ts +8 -0
- package/oj-c/selector/__webdriver__/SelectorWebElement.js +3 -22
- package/oj-c/selector/__webdriver__/SelectorWebElement.js.map +1 -0
- package/oj-c/selector/__webdriver__/SelectorWebElementBase.d.ts +44 -0
- package/oj-c/selector/__webdriver__/SelectorWebElementBase.js +13 -32
- package/oj-c/selector/__webdriver__/SelectorWebElementBase.js.map +1 -0
- package/oj-c/selector/__webdriver__/index.d.ts +17 -0
- package/oj-c/selector/__webdriver__/index.js +9 -53
- package/oj-c/selector/__webdriver__/index.js.map +1 -0
- package/oj-c/selector/component.json +2 -2
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.d.ts +8 -0
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js +3 -22
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js.map +1 -0
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.d.ts +23 -0
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +7 -26
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -0
- package/oj-c/selector-all/__webdriver__/index.d.ts +17 -0
- package/oj-c/selector-all/__webdriver__/index.js +9 -53
- package/oj-c/selector-all/__webdriver__/index.js.map +1 -0
- package/oj-c/selector-all/component.json +2 -2
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.d.ts +8 -0
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +3 -22
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -0
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.d.ts +65 -0
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +15 -34
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -0
- package/oj-c/split-menu-button/__webdriver__/index.d.ts +17 -0
- package/oj-c/split-menu-button/__webdriver__/index.js +9 -53
- package/oj-c/split-menu-button/__webdriver__/index.js.map +1 -0
- package/oj-c/split-menu-button/component.json +2 -2
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.d.ts +8 -0
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js +3 -22
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js.map +1 -0
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.d.ts +100 -0
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js +29 -48
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js.map +1 -0
- package/oj-c/tag-cloud/__webdriver__/index.d.ts +17 -0
- package/oj-c/tag-cloud/__webdriver__/index.js +9 -53
- package/oj-c/tag-cloud/__webdriver__/index.js.map +1 -0
- package/oj-c/tag-cloud/component.json +2 -2
- package/oj-c/tag-cloud-item/component.json +2 -2
- package/oj-c/text-area/__webdriver__/TextAreaWebElement.d.ts +8 -0
- package/oj-c/text-area/__webdriver__/TextAreaWebElement.js +3 -22
- package/oj-c/text-area/__webdriver__/TextAreaWebElement.js.map +1 -0
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.d.ts +274 -0
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js +61 -80
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js.map +1 -0
- package/oj-c/text-area/__webdriver__/index.d.ts +17 -0
- package/oj-c/text-area/__webdriver__/index.js +9 -53
- package/oj-c/text-area/__webdriver__/index.js.map +1 -0
- package/oj-c/text-area/component.json +2 -2
- package/oj-c/types/message-toast/message-toast.d.ts +44 -44
- package/package.json +3 -3
- package/webdriver/docs/assets/search.js +1 -1
- package/webdriver/docs/classes/ButtonWebElement.html +17 -7
- package/webdriver/docs/classes/MessageToastWebElement.html +89 -0
- package/webdriver/index.d.ts +25 -0
- package/webdriver/index.js +1 -0
- package/webdriver/index.js.map +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CollapsibleWebElementBase } from './CollapsibleWebElementBase';
|
|
2
|
+
/**
|
|
3
|
+
* The component WebElement for [oj-c-collapsible](../../../oj-c/docs/oj.Collapsible.html).
|
|
4
|
+
* Do not instantiate this class directly, instead, use
|
|
5
|
+
* [findCollapsible](../modules.html#findCollapsible).
|
|
6
|
+
*/
|
|
7
|
+
export declare class CollapsibleWebElement extends CollapsibleWebElementBase {
|
|
8
|
+
private toggleButton;
|
|
9
|
+
/**
|
|
10
|
+
* Collapse the content. If already collapsed, this method will do nothing.
|
|
11
|
+
* @returns Promise<void>
|
|
12
|
+
*/
|
|
13
|
+
doCollapse(): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Expand the content. If already expanded, this method will do nothing.
|
|
16
|
+
* @returns Promise<void>
|
|
17
|
+
*/
|
|
18
|
+
doExpand(): Promise<void>;
|
|
19
|
+
private getToggleButton;
|
|
20
|
+
private isExpanded;
|
|
21
|
+
}
|
|
@@ -1,55 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
3
|
exports.CollapsibleWebElement = void 0;
|
|
55
4
|
var selenium_webdriver_1 = require("selenium-webdriver");
|
|
@@ -59,58 +8,36 @@ var CollapsibleWebElementBase_1 = require("./CollapsibleWebElementBase");
|
|
|
59
8
|
* Do not instantiate this class directly, instead, use
|
|
60
9
|
* [findCollapsible](../modules.html#findCollapsible).
|
|
61
10
|
*/
|
|
62
|
-
|
|
63
|
-
__extends(CollapsibleWebElement, _super);
|
|
64
|
-
function CollapsibleWebElement() {
|
|
65
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
66
|
-
}
|
|
11
|
+
class CollapsibleWebElement extends CollapsibleWebElementBase_1.CollapsibleWebElementBase {
|
|
67
12
|
/**
|
|
68
13
|
* Collapse the content. If already collapsed, this method will do nothing.
|
|
69
14
|
* @returns Promise<void>
|
|
70
15
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
return
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
case 1:
|
|
77
|
-
if (!_a.sent()) return [3 /*break*/, 3];
|
|
78
|
-
return [4 /*yield*/, this.getToggleButton()];
|
|
79
|
-
case 2: return [2 /*return*/, (_a.sent()).click()];
|
|
80
|
-
case 3: return [2 /*return*/];
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
};
|
|
16
|
+
async doCollapse() {
|
|
17
|
+
if (await this.isExpanded()) {
|
|
18
|
+
return (await this.getToggleButton()).click();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
85
21
|
/**
|
|
86
22
|
* Expand the content. If already expanded, this method will do nothing.
|
|
87
23
|
* @returns Promise<void>
|
|
88
24
|
*/
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
return
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
if (!!(_a.sent())) return [3 /*break*/, 3];
|
|
96
|
-
return [4 /*yield*/, this.getToggleButton()];
|
|
97
|
-
case 2: return [2 /*return*/, (_a.sent()).click()];
|
|
98
|
-
case 3: return [2 /*return*/];
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
CollapsibleWebElement.prototype.getToggleButton = function () {
|
|
25
|
+
async doExpand() {
|
|
26
|
+
if (!(await this.isExpanded())) {
|
|
27
|
+
return (await this.getToggleButton()).click();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
getToggleButton() {
|
|
104
31
|
if (!this.toggleButton) {
|
|
105
32
|
this.toggleButton = this.findElement(
|
|
106
33
|
// Need to use Xpath to partial-match header Id
|
|
107
34
|
selenium_webdriver_1.By.xpath('//*[starts-with(@id, "oj-collapsible-header-")]//button'));
|
|
108
35
|
}
|
|
109
36
|
return this.toggleButton;
|
|
110
|
-
}
|
|
111
|
-
|
|
37
|
+
}
|
|
38
|
+
isExpanded() {
|
|
112
39
|
return this.getProperty('expanded');
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
}(CollapsibleWebElementBase_1.CollapsibleWebElementBase));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
116
42
|
exports.CollapsibleWebElement = CollapsibleWebElement;
|
|
43
|
+
//# sourceMappingURL=CollapsibleWebElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollapsibleWebElement.js","sourceRoot":"","sources":["CollapsibleWebElement.ts"],"names":[],"mappings":";;;AAAA,yDAA2D;AAC3D,yEAAwE;AAExE;;;;GAIG;AACH,MAAa,qBAAsB,SAAQ,qDAAyB;IAGlE;;;OAGG;IACH,KAAK,CAAC,UAAU;QACd,IAAI,MAAM,IAAI,CAAC,UAAU,EAAE,EAAE;YAC3B,OAAO,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;SAC/C;IACH,CAAC;IACD;;;OAGG;IACH,KAAK,CAAC,QAAQ;QACZ,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,EAAE;YAC9B,OAAO,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;SAC/C;IACH,CAAC;IAEO,eAAe;QACrB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW;YAClC,+CAA+C;YAC/C,uBAAE,CAAC,KAAK,CAAC,yDAAyD,CAAC,CACpE,CAAC;SACH;QACD,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAEO,UAAU;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;CACF;AAnCD,sDAmCC","sourcesContent":["import { By, WebElementPromise } from 'selenium-webdriver';\nimport { CollapsibleWebElementBase } from './CollapsibleWebElementBase';\n\n/**\n * The component WebElement for [oj-c-collapsible](../../../oj-c/docs/oj.Collapsible.html).\n * Do not instantiate this class directly, instead, use\n * [findCollapsible](../modules.html#findCollapsible).\n */\nexport class CollapsibleWebElement extends CollapsibleWebElementBase {\n private toggleButton: WebElementPromise;\n\n /**\n * Collapse the content. If already collapsed, this method will do nothing.\n * @returns Promise<void>\n */\n async doCollapse() {\n if (await this.isExpanded()) {\n return (await this.getToggleButton()).click();\n }\n }\n /**\n * Expand the content. If already expanded, this method will do nothing.\n * @returns Promise<void>\n */\n async doExpand() {\n if (!(await this.isExpanded())) {\n return (await this.getToggleButton()).click();\n }\n }\n\n private getToggleButton(): WebElementPromise {\n if (!this.toggleButton) {\n this.toggleButton = this.findElement(\n // Need to use Xpath to partial-match header Id\n By.xpath('//*[starts-with(@id, \"oj-collapsible-header-\")]//button')\n );\n }\n return this.toggleButton;\n }\n\n private isExpanded() {\n return this.getProperty<boolean>('expanded');\n }\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';
|
|
2
|
+
/**
|
|
3
|
+
* This is the base class for oj-c-collapsible WebElement, and is generated from the
|
|
4
|
+
* component's metadata. Do not modify these contents since they'll be replaced
|
|
5
|
+
* during the next generation.
|
|
6
|
+
* Put overrides into the WebElements's subclass, CollapsibleWebElement.ts.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CollapsibleWebElementBase extends OjWebElement {
|
|
9
|
+
/**
|
|
10
|
+
* Gets the value of <code>disabled</code> property.
|
|
11
|
+
* Disables the collapsible if set to true
|
|
12
|
+
* @return The value of <code>disabled</code> property.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
getDisabled(): Promise<boolean>;
|
|
16
|
+
/**
|
|
17
|
+
* Gets the value of <code>iconPosition</code> property.
|
|
18
|
+
* Controls placement of the icon in the header.
|
|
19
|
+
* @return The value of <code>iconPosition</code> property.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
getIconPosition(): Promise<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the value of <code>variant</code> property.
|
|
25
|
+
* Controls display of the optional divider below the header.
|
|
26
|
+
* @return The value of <code>variant</code> property.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
getVariant(): Promise<string>;
|
|
30
|
+
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CollapsibleWebElementBase = void 0;
|
|
19
4
|
var elements_1 = require("@oracle/oraclejet-webdriver/elements");
|
|
@@ -23,38 +8,34 @@ var elements_1 = require("@oracle/oraclejet-webdriver/elements");
|
|
|
23
8
|
* during the next generation.
|
|
24
9
|
* Put overrides into the WebElements's subclass, CollapsibleWebElement.ts.
|
|
25
10
|
*/
|
|
26
|
-
|
|
27
|
-
__extends(CollapsibleWebElementBase, _super);
|
|
28
|
-
function CollapsibleWebElementBase() {
|
|
29
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
-
}
|
|
11
|
+
class CollapsibleWebElementBase extends elements_1.OjWebElement {
|
|
31
12
|
/**
|
|
32
13
|
* Gets the value of <code>disabled</code> property.
|
|
33
14
|
* Disables the collapsible if set to true
|
|
34
15
|
* @return The value of <code>disabled</code> property.
|
|
35
16
|
*
|
|
36
17
|
*/
|
|
37
|
-
|
|
18
|
+
getDisabled() {
|
|
38
19
|
return this.getProperty('disabled');
|
|
39
|
-
}
|
|
20
|
+
}
|
|
40
21
|
/**
|
|
41
22
|
* Gets the value of <code>iconPosition</code> property.
|
|
42
23
|
* Controls placement of the icon in the header.
|
|
43
24
|
* @return The value of <code>iconPosition</code> property.
|
|
44
25
|
*
|
|
45
26
|
*/
|
|
46
|
-
|
|
27
|
+
getIconPosition() {
|
|
47
28
|
return this.getProperty('iconPosition');
|
|
48
|
-
}
|
|
29
|
+
}
|
|
49
30
|
/**
|
|
50
31
|
* Gets the value of <code>variant</code> property.
|
|
51
32
|
* Controls display of the optional divider below the header.
|
|
52
33
|
* @return The value of <code>variant</code> property.
|
|
53
34
|
*
|
|
54
35
|
*/
|
|
55
|
-
|
|
36
|
+
getVariant() {
|
|
56
37
|
return this.getProperty('variant');
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}(elements_1.OjWebElement));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
60
40
|
exports.CollapsibleWebElementBase = CollapsibleWebElementBase;
|
|
41
|
+
//# sourceMappingURL=CollapsibleWebElementBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollapsibleWebElementBase.js","sourceRoot":"","sources":["CollapsibleWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,yBAA0B,SAAQ,uBAAY;IACzD;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAS,cAAc,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,UAAU;QACf,OAAO,IAAI,CAAC,WAAW,CAAS,SAAS,CAAC,CAAC;IAC7C,CAAC;CACF;AA9BD,8DA8BC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-collapsible WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, CollapsibleWebElement.ts.\n */\nexport class CollapsibleWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>disabled</code> property.\n * Disables the collapsible if set to true\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>iconPosition</code> property.\n * Controls placement of the icon in the header.\n * @return The value of <code>iconPosition</code> property.\n *\n */\n public getIconPosition(): Promise<string> {\n return this.getProperty<string>('iconPosition');\n }\n\n /**\n * Gets the value of <code>variant</code> property.\n * Controls display of the optional divider below the header.\n * @return The value of <code>variant</code> property.\n *\n */\n public getVariant(): Promise<string> {\n return this.getProperty<string>('variant');\n }\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { By } from 'selenium-webdriver';
|
|
2
|
+
import { DriverLike } from '@oracle/oraclejet-webdriver';
|
|
3
|
+
import { CollapsibleWebElement } from './CollapsibleWebElement';
|
|
4
|
+
export { CollapsibleWebElement };
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve an instance of [[CollapsibleWebElement]].
|
|
7
|
+
* @example
|
|
8
|
+
* ```javascript
|
|
9
|
+
* import { findCollapsible } from '@oracle/oraclejet-core-pack/webdriver';
|
|
10
|
+
* const el = await findCollapsible(driver, By.id('my-oj-c-collapsible'));
|
|
11
|
+
* ```
|
|
12
|
+
* @param driver A WebDriver/WebElement instance from where the element will be
|
|
13
|
+
* searched. If WebDriver is passed, the element will be searched globally in the
|
|
14
|
+
* document. If WebElement is passed, the search will be relative to this element.
|
|
15
|
+
* @param by The locator with which to find the element
|
|
16
|
+
*/
|
|
17
|
+
export declare function findCollapsible(driver: DriverLike, by: By): Promise<CollapsibleWebElement>;
|
|
@@ -1,40 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
3
|
exports.findCollapsible = exports.CollapsibleWebElement = void 0;
|
|
40
4
|
var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
@@ -52,23 +16,15 @@ Object.defineProperty(exports, "CollapsibleWebElement", { enumerable: true, get:
|
|
|
52
16
|
* document. If WebElement is passed, the search will be relative to this element.
|
|
53
17
|
* @param by The locator with which to find the element
|
|
54
18
|
*/
|
|
55
|
-
function findCollapsible(driver, by) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
if (!!(webEl instanceof CollapsibleWebElement_1.CollapsibleWebElement)) return [3 /*break*/, 3];
|
|
64
|
-
return [4 /*yield*/, webEl.getTagName()];
|
|
65
|
-
case 2:
|
|
66
|
-
tagName = _a.sent();
|
|
67
|
-
throw Error("findCollapsible(".concat(by, ") created ").concat(webEl.constructor.name, " for <").concat(tagName, ">, but expected ").concat(CollapsibleWebElement_1.CollapsibleWebElement.name));
|
|
68
|
-
case 3: return [2 /*return*/, webEl];
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
19
|
+
async function findCollapsible(driver, by) {
|
|
20
|
+
const webEl = await driver.findElement(by);
|
|
21
|
+
// Check that the element is of type CollapsibleWebElement
|
|
22
|
+
if (!(webEl instanceof CollapsibleWebElement_1.CollapsibleWebElement)) {
|
|
23
|
+
const tagName = await webEl.getTagName();
|
|
24
|
+
throw Error(`findCollapsible(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${CollapsibleWebElement_1.CollapsibleWebElement.name}`);
|
|
25
|
+
}
|
|
26
|
+
return webEl;
|
|
72
27
|
}
|
|
73
28
|
exports.findCollapsible = findCollapsible;
|
|
74
29
|
(0, oraclejet_webdriver_1.register)('oj-c-collapsible', CollapsibleWebElement_1.CollapsibleWebElement);
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,mEAAmE;AACnE,iEAAgE;AACvD,sGADA,6CAAqB,OACA;AAE9B;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,eAAe,CAAC,MAAkB,EAAE,EAAM;IAC9D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,0DAA0D;IAC1D,IAAI,CAAC,CAAC,KAAK,YAAY,6CAAqB,CAAC,EAAE;QAC7C,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CACT,mBAAmB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,6CAAqB,CAAC,IAAI,EAAE,CACxH,CAAC;KACH;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAVD,0CAUC;AAED,IAAA,8BAAQ,EAAC,kBAAkB,EAAE,6CAAqB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { CollapsibleWebElement } from './CollapsibleWebElement';\nexport { CollapsibleWebElement };\n\n/**\n * Retrieve an instance of [[CollapsibleWebElement]].\n * @example\n * ```javascript\n * import { findCollapsible } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findCollapsible(driver, By.id('my-oj-c-collapsible'));\n * ```\n * @param driver A WebDriver/WebElement instance from where the element will be\n * searched. If WebDriver is passed, the element will be searched globally in the\n * document. If WebElement is passed, the search will be relative to this element.\n * @param by The locator with which to find the element\n */\nexport async function findCollapsible(driver: DriverLike, by: By): Promise<CollapsibleWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type CollapsibleWebElement\n if (!(webEl instanceof CollapsibleWebElement)) {\n const tagName = await webEl.getTagName();\n throw Error(\n `findCollapsible(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${CollapsibleWebElement.name}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-collapsible', CollapsibleWebElement);\n"]}
|
package/oj-c/component.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oj-c",
|
|
3
|
-
"version": "15.0.
|
|
4
|
-
"jetVersion": "^15.0.
|
|
3
|
+
"version": "15.0.4",
|
|
4
|
+
"jetVersion": "^15.0.4",
|
|
5
5
|
"type": "mono-pack",
|
|
6
6
|
"displayName": "Oracle JET Core pack",
|
|
7
7
|
"description": "Core Oracle JET components implemented using virtual DOM technology",
|
|
8
8
|
"help": "docs/index.html",
|
|
9
9
|
"license": "https://opensource.org/licenses/UPL",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"oraclejet-preact": "15.0.
|
|
11
|
+
"oraclejet-preact": "15.0.4"
|
|
12
12
|
},
|
|
13
13
|
"bundles": {
|
|
14
14
|
"oj-c/corepackbundle": [
|
package/oj-c/corepackbundle.js
CHANGED
|
@@ -2112,8 +2112,9 @@ define('oj-c/message-toast/message-toast',["require", "exports", "preact/jsx-run
|
|
|
2112
2112
|
exports.MessageToast = void 0;
|
|
2113
2113
|
translationBundle_1 = __importDefault(translationBundle_1);
|
|
2114
2114
|
ojcontext_1 = __importDefault(ojcontext_1);
|
|
2115
|
-
|
|
2115
|
+
function MessageToastImpl({ data, detailTemplateValue, iconTemplateValue, messageTemplates, offset = 0, position = 'bottom', onOjClose }) {
|
|
2116
2116
|
const initialRender = (0, hooks_1.useRef)(true);
|
|
2117
|
+
const uniqueId = (0, hooks_1.useRef)((0, ojvcomponent_1.getUniqueId)());
|
|
2117
2118
|
const rootRef = (0, hooks_1.useRef)();
|
|
2118
2119
|
const [dpKey, setDpKey] = (0, hooks_1.useState)(Symbol());
|
|
2119
2120
|
const addBusyState = (0, hooks_1.useCallback)((description = 'MessageToast: busyState') => {
|
|
@@ -2132,9 +2133,11 @@ define('oj-c/message-toast/message-toast',["require", "exports", "preact/jsx-run
|
|
|
2132
2133
|
data,
|
|
2133
2134
|
addBusyState
|
|
2134
2135
|
});
|
|
2135
|
-
const
|
|
2136
|
-
|
|
2137
|
-
|
|
2136
|
+
const UNSAFE_messagesLayerId = `messageToastLayer_${uniqueId.current}`;
|
|
2137
|
+
const messagesContext = (0, hooks_1.useMemo)(() => ({ addBusyState, UNSAFE_messagesLayerId }), [addBusyState, UNSAFE_messagesLayerId]);
|
|
2138
|
+
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ref: rootRef, "data-oj-messages-layer-id": UNSAFE_messagesLayerId, children: (0, jsx_runtime_1.jsx)(UNSAFE_useMessagesContext_1.MessagesContext.Provider, { value: messagesContext, children: (0, jsx_runtime_1.jsx)(UNSAFE_MessageToast_1.MessageToast, { data: dataArr, detailRendererKey: detailTemplateValue, iconRendererKey: iconTemplateValue, offset: offset, onClose: onOjClose, position: position, renderers: messageTemplates }, dpKey) }) }));
|
|
2139
|
+
}
|
|
2140
|
+
exports.MessageToast = (0, ojvcomponent_1.registerCustomElement)('oj-c-message-toast', MessageToastImpl, "MessageToast", { "properties": { "data": { "type": "DataProvider" }, "detailTemplateValue": { "type": "string|function" }, "iconTemplateValue": { "type": "string|function" }, "offset": { "type": "number|object" }, "position": { "type": "string", "enumValues": ["bottom", "top", "top-start", "top-end", "bottom-start", "bottom-end", "top-left", "bottom-left", "top-right", "bottom-right"] } }, "extension": { "_DYNAMIC_SLOT": { "prop": "messageTemplates", "isTemplate": 1 } }, "events": { "ojClose": {} } }, { "offset": 0, "position": "bottom" }, {
|
|
2138
2141
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
2139
2142
|
});
|
|
2140
2143
|
});
|
package/oj-c/docs/avatar.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h2>Oracle® JET</h2>
|
|
24
24
|
<h2>Core Pack Components</h2>
|
|
25
|
-
<h3>15.0.
|
|
25
|
+
<h3>15.0.4</h3>
|
|
26
26
|
|
|
27
27
|
<div class="deprecation-checkboxes" style="display: none">
|
|
28
28
|
<ul style="list-style: none; display: none;">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<p class="product-docs-header">
|
|
140
140
|
<span style="font-weight:bold">Oracle® JavaScript Extension Toolkit (JET)<br>
|
|
141
|
-
15.0.
|
|
141
|
+
15.0.4</span><br>
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</section>
|
|
173
173
|
|
|
174
174
|
<footer>
|
|
175
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
|
|
175
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Sep 09 2023 01:36:36 GMT+0000 (Coordinated Universal Time)<br>
|
|
176
176
|
<span class="product-docs-footer">Copyright © 2014, 2023 Oracle. All rights reserved.<span>
|
|
177
177
|
</footer>
|
|
178
178
|
|
package/oj-c/docs/button.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h2>Oracle® JET</h2>
|
|
24
24
|
<h2>Core Pack Components</h2>
|
|
25
|
-
<h3>15.0.
|
|
25
|
+
<h3>15.0.4</h3>
|
|
26
26
|
|
|
27
27
|
<div class="deprecation-checkboxes" style="display: none">
|
|
28
28
|
<ul style="list-style: none; display: none;">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<p class="product-docs-header">
|
|
140
140
|
<span style="font-weight:bold">Oracle® JavaScript Extension Toolkit (JET)<br>
|
|
141
|
-
15.0.
|
|
141
|
+
15.0.4</span><br>
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</section>
|
|
173
173
|
|
|
174
174
|
<footer>
|
|
175
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
|
|
175
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Sep 09 2023 01:36:36 GMT+0000 (Coordinated Universal Time)<br>
|
|
176
176
|
<span class="product-docs-footer">Copyright © 2014, 2023 Oracle. All rights reserved.<span>
|
|
177
177
|
</footer>
|
|
178
178
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h2>Oracle® JET</h2>
|
|
24
24
|
<h2>Core Pack Components</h2>
|
|
25
|
-
<h3>15.0.
|
|
25
|
+
<h3>15.0.4</h3>
|
|
26
26
|
|
|
27
27
|
<div class="deprecation-checkboxes" style="display: none">
|
|
28
28
|
<ul style="list-style: none; display: none;">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<p class="product-docs-header">
|
|
140
140
|
<span style="font-weight:bold">Oracle® JavaScript Extension Toolkit (JET)<br>
|
|
141
|
-
15.0.
|
|
141
|
+
15.0.4</span><br>
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</section>
|
|
173
173
|
|
|
174
174
|
<footer>
|
|
175
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
|
|
175
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Sep 09 2023 01:36:36 GMT+0000 (Coordinated Universal Time)<br>
|
|
176
176
|
<span class="product-docs-footer">Copyright © 2014, 2023 Oracle. All rights reserved.<span>
|
|
177
177
|
</footer>
|
|
178
178
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h2>Oracle® JET</h2>
|
|
24
24
|
<h2>Core Pack Components</h2>
|
|
25
|
-
<h3>15.0.
|
|
25
|
+
<h3>15.0.4</h3>
|
|
26
26
|
|
|
27
27
|
<div class="deprecation-checkboxes" style="display: none">
|
|
28
28
|
<ul style="list-style: none; display: none;">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<p class="product-docs-header">
|
|
140
140
|
<span style="font-weight:bold">Oracle® JavaScript Extension Toolkit (JET)<br>
|
|
141
|
-
15.0.
|
|
141
|
+
15.0.4</span><br>
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</section>
|
|
173
173
|
|
|
174
174
|
<footer>
|
|
175
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
|
|
175
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Sep 09 2023 01:36:36 GMT+0000 (Coordinated Universal Time)<br>
|
|
176
176
|
<span class="product-docs-footer">Copyright © 2014, 2023 Oracle. All rights reserved.<span>
|
|
177
177
|
</footer>
|
|
178
178
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h2>Oracle® JET</h2>
|
|
24
24
|
<h2>Core Pack Components</h2>
|
|
25
|
-
<h3>15.0.
|
|
25
|
+
<h3>15.0.4</h3>
|
|
26
26
|
|
|
27
27
|
<div class="deprecation-checkboxes" style="display: none">
|
|
28
28
|
<ul style="list-style: none; display: none;">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<p class="product-docs-header">
|
|
140
140
|
<span style="font-weight:bold">Oracle® JavaScript Extension Toolkit (JET)<br>
|
|
141
|
-
15.0.
|
|
141
|
+
15.0.4</span><br>
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</section>
|
|
173
173
|
|
|
174
174
|
<footer>
|
|
175
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
|
|
175
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Sep 09 2023 01:36:36 GMT+0000 (Coordinated Universal Time)<br>
|
|
176
176
|
<span class="product-docs-footer">Copyright © 2014, 2023 Oracle. All rights reserved.<span>
|
|
177
177
|
</footer>
|
|
178
178
|
|
package/oj-c/docs/index.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h2>Oracle® JET</h2>
|
|
24
24
|
<h2>Core Pack Components</h2>
|
|
25
|
-
<h3>15.0.
|
|
25
|
+
<h3>15.0.4</h3>
|
|
26
26
|
|
|
27
27
|
<div class="deprecation-checkboxes" style="display: none">
|
|
28
28
|
<ul style="list-style: none; display: none;">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<p class="product-docs-header">
|
|
140
140
|
<span style="font-weight:bold">Oracle® JavaScript Extension Toolkit (JET)<br>
|
|
141
|
-
15.0.
|
|
141
|
+
15.0.4</span><br>
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
<footer>
|
|
173
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
|
|
173
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Sep 09 2023 01:36:36 GMT+0000 (Coordinated Universal Time)<br>
|
|
174
174
|
<span class="product-docs-footer">Copyright © 2014, 2023 Oracle. All rights reserved.<span>
|
|
175
175
|
</footer>
|
|
176
176
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h2>Oracle® JET</h2>
|
|
24
24
|
<h2>Core Pack Components</h2>
|
|
25
|
-
<h3>15.0.
|
|
25
|
+
<h3>15.0.4</h3>
|
|
26
26
|
|
|
27
27
|
<div class="deprecation-checkboxes" style="display: none">
|
|
28
28
|
<ul style="list-style: none; display: none;">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<p class="product-docs-header">
|
|
140
140
|
<span style="font-weight:bold">Oracle® JavaScript Extension Toolkit (JET)<br>
|
|
141
|
-
15.0.
|
|
141
|
+
15.0.4</span><br>
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</section>
|
|
173
173
|
|
|
174
174
|
<footer>
|
|
175
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
|
|
175
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Sep 09 2023 01:36:36 GMT+0000 (Coordinated Universal Time)<br>
|
|
176
176
|
<span class="product-docs-footer">Copyright © 2014, 2023 Oracle. All rights reserved.<span>
|
|
177
177
|
</footer>
|
|
178
178
|
|