@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,17 @@
|
|
|
1
|
+
import { By } from 'selenium-webdriver';
|
|
2
|
+
import { DriverLike } from '@oracle/oraclejet-webdriver';
|
|
3
|
+
import { ListItemLayoutWebElement } from './ListItemLayoutWebElement';
|
|
4
|
+
export { ListItemLayoutWebElement };
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve an instance of [[ListItemLayoutWebElement]].
|
|
7
|
+
* @example
|
|
8
|
+
* ```javascript
|
|
9
|
+
* import { findListItemLayout } from '@oracle/oraclejet-core-pack/webdriver';
|
|
10
|
+
* const el = await findListItemLayout(driver, By.id('my-oj-c-list-item-layout'));
|
|
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 findListItemLayout(driver: DriverLike, by: By): Promise<ListItemLayoutWebElement>;
|
|
@@ -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.findListItemLayout = exports.ListItemLayoutWebElement = void 0;
|
|
40
4
|
var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
@@ -52,23 +16,15 @@ Object.defineProperty(exports, "ListItemLayoutWebElement", { enumerable: true, g
|
|
|
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 findListItemLayout(driver, by) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
if (!!(webEl instanceof ListItemLayoutWebElement_1.ListItemLayoutWebElement)) return [3 /*break*/, 3];
|
|
64
|
-
return [4 /*yield*/, webEl.getTagName()];
|
|
65
|
-
case 2:
|
|
66
|
-
tagName = _a.sent();
|
|
67
|
-
throw Error("findListItemLayout(".concat(by, ") created ").concat(webEl.constructor.name, " for <").concat(tagName, ">, but expected ").concat(ListItemLayoutWebElement_1.ListItemLayoutWebElement.name));
|
|
68
|
-
case 3: return [2 /*return*/, webEl];
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
19
|
+
async function findListItemLayout(driver, by) {
|
|
20
|
+
const webEl = await driver.findElement(by);
|
|
21
|
+
// Check that the element is of type ListItemLayoutWebElement
|
|
22
|
+
if (!(webEl instanceof ListItemLayoutWebElement_1.ListItemLayoutWebElement)) {
|
|
23
|
+
const tagName = await webEl.getTagName();
|
|
24
|
+
throw Error(`findListItemLayout(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${ListItemLayoutWebElement_1.ListItemLayoutWebElement.name}`);
|
|
25
|
+
}
|
|
26
|
+
return webEl;
|
|
72
27
|
}
|
|
73
28
|
exports.findListItemLayout = findListItemLayout;
|
|
74
29
|
(0, oraclejet_webdriver_1.register)('oj-c-list-item-layout', ListItemLayoutWebElement_1.ListItemLayoutWebElement);
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,mEAAmE;AACnE,uEAAsE;AAC7D,yGADA,mDAAwB,OACA;AAEjC;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,kBAAkB,CACtC,MAAkB,EAClB,EAAM;IAEN,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,6DAA6D;IAC7D,IAAI,CAAC,CAAC,KAAK,YAAY,mDAAwB,CAAC,EAAE;QAChD,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CACT,sBAAsB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,mDAAwB,CAAC,IAAI,EAAE,CAC9H,CAAC;KACH;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAbD,gDAaC;AAED,IAAA,8BAAQ,EAAC,uBAAuB,EAAE,mDAAwB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { ListItemLayoutWebElement } from './ListItemLayoutWebElement';\nexport { ListItemLayoutWebElement };\n\n/**\n * Retrieve an instance of [[ListItemLayoutWebElement]].\n * @example\n * ```javascript\n * import { findListItemLayout } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findListItemLayout(driver, By.id('my-oj-c-list-item-layout'));\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 findListItemLayout(\n driver: DriverLike,\n by: By\n): Promise<ListItemLayoutWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type ListItemLayoutWebElement\n if (!(webEl instanceof ListItemLayoutWebElement)) {\n const tagName = await webEl.getTagName();\n throw Error(\n `findListItemLayout(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${ListItemLayoutWebElement.name}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-list-item-layout', ListItemLayoutWebElement);\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ListViewWebElementBase } from './ListViewWebElementBase';
|
|
2
|
+
/**
|
|
3
|
+
* The component WebElement for [oj-c-list-view](../../../oj-c/docs/oj.ListView.html).
|
|
4
|
+
* Do not instantiate this class directly, instead, use
|
|
5
|
+
* [findListView](../modules.html#findListView).
|
|
6
|
+
*/
|
|
7
|
+
export declare class ListViewWebElement extends ListViewWebElementBase {
|
|
8
|
+
}
|
|
@@ -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.ListViewWebElement = void 0;
|
|
19
4
|
var ListViewWebElementBase_1 = require("./ListViewWebElementBase");
|
|
@@ -22,11 +7,7 @@ var ListViewWebElementBase_1 = require("./ListViewWebElementBase");
|
|
|
22
7
|
* Do not instantiate this class directly, instead, use
|
|
23
8
|
* [findListView](../modules.html#findListView).
|
|
24
9
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
function ListViewWebElement() {
|
|
28
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
-
}
|
|
30
|
-
return ListViewWebElement;
|
|
31
|
-
}(ListViewWebElementBase_1.ListViewWebElementBase));
|
|
10
|
+
class ListViewWebElement extends ListViewWebElementBase_1.ListViewWebElementBase {
|
|
11
|
+
}
|
|
32
12
|
exports.ListViewWebElement = ListViewWebElement;
|
|
13
|
+
//# sourceMappingURL=ListViewWebElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListViewWebElement.js","sourceRoot":"","sources":["ListViewWebElement.ts"],"names":[],"mappings":";;;AAAA,mEAAkE;AAElE;;;;GAIG;AACH,MAAa,kBAAmB,SAAQ,+CAAsB;CAE7D;AAFD,gDAEC","sourcesContent":["import { ListViewWebElementBase } from './ListViewWebElementBase';\n\n/**\n * The component WebElement for [oj-c-list-view](../../../oj-c/docs/oj.ListView.html).\n * Do not instantiate this class directly, instead, use\n * [findListView](../modules.html#findListView).\n */\nexport class ListViewWebElement extends ListViewWebElementBase {\n // Put overrides here\n}\n"]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';
|
|
2
|
+
/**
|
|
3
|
+
* This is the base class for oj-c-list-view 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, ListViewWebElement.ts.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ListViewWebElementBase extends OjWebElement {
|
|
9
|
+
/**
|
|
10
|
+
* Gets the value of <code>currentItem</code> property.
|
|
11
|
+
* The item that currently has keyboard focus
|
|
12
|
+
* @return The value of <code>currentItem</code> property.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
getCurrentItem(): Promise<any>;
|
|
16
|
+
/**
|
|
17
|
+
* Gets the value of <code>gridlines</code> property.
|
|
18
|
+
* Specifies whether the grid lines should be visible.
|
|
19
|
+
* @return The value of <code>gridlines</code> property.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
getGridlines(): Promise<Gridlines>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the value of <code>scrollPolicyOptions</code> property.
|
|
25
|
+
* Specifies fetch options for scrolling behaviors that trigger data fetches.
|
|
26
|
+
* @return The value of <code>scrollPolicyOptions</code> property.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
getScrollPolicyOptions(): Promise<ScrollPolicyOptions>;
|
|
30
|
+
/**
|
|
31
|
+
* Sets the value of <code>selected</code> property.
|
|
32
|
+
* The selected property
|
|
33
|
+
* @param selected The value to set for <code>selected</code>
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
changeSelected(selected: object): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Gets the value of <code>selected</code> property.
|
|
39
|
+
* The selected property
|
|
40
|
+
* @return The value of <code>selected</code> property.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
getSelected(): Promise<object>;
|
|
44
|
+
/**
|
|
45
|
+
* Gets the value of <code>selectionMode</code> property.
|
|
46
|
+
* Type of selection behavior for the ListView
|
|
47
|
+
* @return The value of <code>selectionMode</code> property.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
getSelectionMode(): Promise<string>;
|
|
51
|
+
}
|
|
52
|
+
export interface Gridlines {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
item: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
top: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
bottom: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ScrollPolicyOptions {
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
fetchSize: number;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
scroller: string;
|
|
75
|
+
}
|
|
@@ -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.ListViewWebElementBase = void 0;
|
|
19
4
|
var elements_1 = require("@oracle/oraclejet-webdriver/elements");
|
|
@@ -23,65 +8,61 @@ var elements_1 = require("@oracle/oraclejet-webdriver/elements");
|
|
|
23
8
|
* during the next generation.
|
|
24
9
|
* Put overrides into the WebElements's subclass, ListViewWebElement.ts.
|
|
25
10
|
*/
|
|
26
|
-
|
|
27
|
-
__extends(ListViewWebElementBase, _super);
|
|
28
|
-
function ListViewWebElementBase() {
|
|
29
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
-
}
|
|
11
|
+
class ListViewWebElementBase extends elements_1.OjWebElement {
|
|
31
12
|
/**
|
|
32
13
|
* Gets the value of <code>currentItem</code> property.
|
|
33
14
|
* The item that currently has keyboard focus
|
|
34
15
|
* @return The value of <code>currentItem</code> property.
|
|
35
16
|
*
|
|
36
17
|
*/
|
|
37
|
-
|
|
18
|
+
getCurrentItem() {
|
|
38
19
|
return this.getProperty('currentItem');
|
|
39
|
-
}
|
|
20
|
+
}
|
|
40
21
|
/**
|
|
41
22
|
* Gets the value of <code>gridlines</code> property.
|
|
42
23
|
* Specifies whether the grid lines should be visible.
|
|
43
24
|
* @return The value of <code>gridlines</code> property.
|
|
44
25
|
*
|
|
45
26
|
*/
|
|
46
|
-
|
|
27
|
+
getGridlines() {
|
|
47
28
|
return this.getProperty('gridlines');
|
|
48
|
-
}
|
|
29
|
+
}
|
|
49
30
|
/**
|
|
50
31
|
* Gets the value of <code>scrollPolicyOptions</code> property.
|
|
51
32
|
* Specifies fetch options for scrolling behaviors that trigger data fetches.
|
|
52
33
|
* @return The value of <code>scrollPolicyOptions</code> property.
|
|
53
34
|
*
|
|
54
35
|
*/
|
|
55
|
-
|
|
36
|
+
getScrollPolicyOptions() {
|
|
56
37
|
return this.getProperty('scrollPolicyOptions');
|
|
57
|
-
}
|
|
38
|
+
}
|
|
58
39
|
/**
|
|
59
40
|
* Sets the value of <code>selected</code> property.
|
|
60
41
|
* The selected property
|
|
61
42
|
* @param selected The value to set for <code>selected</code>
|
|
62
43
|
*
|
|
63
44
|
*/
|
|
64
|
-
|
|
45
|
+
changeSelected(selected) {
|
|
65
46
|
return this.setProperty('selected', selected);
|
|
66
|
-
}
|
|
47
|
+
}
|
|
67
48
|
/**
|
|
68
49
|
* Gets the value of <code>selected</code> property.
|
|
69
50
|
* The selected property
|
|
70
51
|
* @return The value of <code>selected</code> property.
|
|
71
52
|
*
|
|
72
53
|
*/
|
|
73
|
-
|
|
54
|
+
getSelected() {
|
|
74
55
|
return this.getProperty('selected');
|
|
75
|
-
}
|
|
56
|
+
}
|
|
76
57
|
/**
|
|
77
58
|
* Gets the value of <code>selectionMode</code> property.
|
|
78
59
|
* Type of selection behavior for the ListView
|
|
79
60
|
* @return The value of <code>selectionMode</code> property.
|
|
80
61
|
*
|
|
81
62
|
*/
|
|
82
|
-
|
|
63
|
+
getSelectionMode() {
|
|
83
64
|
return this.getProperty('selectionMode');
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
}(elements_1.OjWebElement));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
87
67
|
exports.ListViewWebElementBase = ListViewWebElementBase;
|
|
68
|
+
//# sourceMappingURL=ListViewWebElementBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListViewWebElementBase.js","sourceRoot":"","sources":["ListViewWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,sBAAuB,SAAQ,uBAAY;IACtD;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAM,aAAa,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAY,WAAW,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,sBAAsB;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAsB,qBAAqB,CAAC,CAAC;IACtE,CAAC;IAED;;;;;OAKG;IACI,cAAc,CAAC,QAAgB;QACpC,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;CACF;AA5DD,wDA4DC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-list-view 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, ListViewWebElement.ts.\n */\nexport class ListViewWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>currentItem</code> property.\n * The item that currently has keyboard focus\n * @return The value of <code>currentItem</code> property.\n *\n */\n public getCurrentItem(): Promise<any> {\n return this.getProperty<any>('currentItem');\n }\n\n /**\n * Gets the value of <code>gridlines</code> property.\n * Specifies whether the grid lines should be visible.\n * @return The value of <code>gridlines</code> property.\n *\n */\n public getGridlines(): Promise<Gridlines> {\n return this.getProperty<Gridlines>('gridlines');\n }\n\n /**\n * Gets the value of <code>scrollPolicyOptions</code> property.\n * Specifies fetch options for scrolling behaviors that trigger data fetches.\n * @return The value of <code>scrollPolicyOptions</code> property.\n *\n */\n public getScrollPolicyOptions(): Promise<ScrollPolicyOptions> {\n return this.getProperty<ScrollPolicyOptions>('scrollPolicyOptions');\n }\n\n /**\n * Sets the value of <code>selected</code> property.\n * The selected property\n * @param selected The value to set for <code>selected</code>\n *\n */\n public changeSelected(selected: object): Promise<void> {\n return this.setProperty<object>('selected', selected);\n }\n\n /**\n * Gets the value of <code>selected</code> property.\n * The selected property\n * @return The value of <code>selected</code> property.\n *\n */\n public getSelected(): Promise<object> {\n return this.getProperty<object>('selected');\n }\n\n /**\n * Gets the value of <code>selectionMode</code> property.\n * Type of selection behavior for the ListView\n * @return The value of <code>selectionMode</code> property.\n *\n */\n public getSelectionMode(): Promise<string> {\n return this.getProperty<string>('selectionMode');\n }\n}\nexport interface Gridlines {\n /**\n *\n */\n item: string;\n /**\n *\n */\n top: string;\n /**\n *\n */\n bottom: string;\n}\nexport interface ScrollPolicyOptions {\n /**\n *\n */\n fetchSize: number;\n /**\n *\n */\n scroller: string;\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { By } from 'selenium-webdriver';
|
|
2
|
+
import { DriverLike } from '@oracle/oraclejet-webdriver';
|
|
3
|
+
import { ListViewWebElement } from './ListViewWebElement';
|
|
4
|
+
export { ListViewWebElement };
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve an instance of [[ListViewWebElement]].
|
|
7
|
+
* @example
|
|
8
|
+
* ```javascript
|
|
9
|
+
* import { findListView } from '@oracle/oraclejet-core-pack/webdriver';
|
|
10
|
+
* const el = await findListView(driver, By.id('my-oj-c-list-view'));
|
|
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 findListView(driver: DriverLike, by: By): Promise<ListViewWebElement>;
|
|
@@ -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.findListView = exports.ListViewWebElement = void 0;
|
|
40
4
|
var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
@@ -52,23 +16,15 @@ Object.defineProperty(exports, "ListViewWebElement", { enumerable: true, get: fu
|
|
|
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 findListView(driver, by) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
if (!!(webEl instanceof ListViewWebElement_1.ListViewWebElement)) return [3 /*break*/, 3];
|
|
64
|
-
return [4 /*yield*/, webEl.getTagName()];
|
|
65
|
-
case 2:
|
|
66
|
-
tagName = _a.sent();
|
|
67
|
-
throw Error("findListView(".concat(by, ") created ").concat(webEl.constructor.name, " for <").concat(tagName, ">, but expected ").concat(ListViewWebElement_1.ListViewWebElement.name));
|
|
68
|
-
case 3: return [2 /*return*/, webEl];
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
19
|
+
async function findListView(driver, by) {
|
|
20
|
+
const webEl = await driver.findElement(by);
|
|
21
|
+
// Check that the element is of type ListViewWebElement
|
|
22
|
+
if (!(webEl instanceof ListViewWebElement_1.ListViewWebElement)) {
|
|
23
|
+
const tagName = await webEl.getTagName();
|
|
24
|
+
throw Error(`findListView(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${ListViewWebElement_1.ListViewWebElement.name}`);
|
|
25
|
+
}
|
|
26
|
+
return webEl;
|
|
72
27
|
}
|
|
73
28
|
exports.findListView = findListView;
|
|
74
29
|
(0, oraclejet_webdriver_1.register)('oj-c-list-view', ListViewWebElement_1.ListViewWebElement);
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,mEAAmE;AACnE,2DAA0D;AACjD,mGADA,uCAAkB,OACA;AAE3B;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,YAAY,CAAC,MAAkB,EAAE,EAAM;IAC3D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,uDAAuD;IACvD,IAAI,CAAC,CAAC,KAAK,YAAY,uCAAkB,CAAC,EAAE;QAC1C,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CACT,gBAAgB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,uCAAkB,CAAC,IAAI,EAAE,CAClH,CAAC;KACH;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAVD,oCAUC;AAED,IAAA,8BAAQ,EAAC,gBAAgB,EAAE,uCAAkB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { ListViewWebElement } from './ListViewWebElement';\nexport { ListViewWebElement };\n\n/**\n * Retrieve an instance of [[ListViewWebElement]].\n * @example\n * ```javascript\n * import { findListView } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findListView(driver, By.id('my-oj-c-list-view'));\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 findListView(driver: DriverLike, by: By): Promise<ListViewWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type ListViewWebElement\n if (!(webEl instanceof ListViewWebElement)) {\n const tagName = await webEl.getTagName();\n throw Error(\n `findListView(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${ListViewWebElement.name}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-list-view', ListViewWebElement);\n"]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { SlotProxy } from '@oracle/oraclejet-webdriver';
|
|
2
|
+
import { MessageToastWebElementBase } from './MessageToastWebElementBase';
|
|
3
|
+
/**
|
|
4
|
+
* The component WebElement for [oj-c-message-toast](../../../oj-c/docs/oj.MessageToast.html).
|
|
5
|
+
* Do not instantiate this class directly, instead, use
|
|
6
|
+
* [findMessageToast](../modules.html#findMessageToast).
|
|
7
|
+
*/
|
|
8
|
+
export declare class MessageToastWebElement extends MessageToastWebElementBase {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a SlotProxy which represents the custom detail content of a single message.
|
|
11
|
+
* @param messageLocator.key The key within the MessageToast's dataset associated with the individual message.
|
|
12
|
+
* @throws {Error} when the detail content rendered is not provided by the application
|
|
13
|
+
* @returns The detail content of the message rendered by the application
|
|
14
|
+
* @since "15.0.4"
|
|
15
|
+
*/
|
|
16
|
+
findDetail<K>(messageLocator: {
|
|
17
|
+
key: K;
|
|
18
|
+
}): Promise<SlotProxy>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a SlotProxy which represents the custom icon content of a single message.
|
|
21
|
+
* @param messageLocator.key The key within the MessageToast's dataset associated with the individual message.
|
|
22
|
+
* @throws {Error} when the icon content rendered is not provided by the application
|
|
23
|
+
* @returns The icon content of the message rendered by the application
|
|
24
|
+
* @since "15.0.4"
|
|
25
|
+
*/
|
|
26
|
+
findIcon<K>(messageLocator: {
|
|
27
|
+
key: K;
|
|
28
|
+
}): Promise<SlotProxy>;
|
|
29
|
+
/**
|
|
30
|
+
* Closes the message identified by the provided key.
|
|
31
|
+
* @param messageLocator.key The key within the MessageToast's dataset associated with the individual message.
|
|
32
|
+
* @throws {Error} when the specified is not closable (closeAffordance set to "off")
|
|
33
|
+
* @since "15.0.4"
|
|
34
|
+
*/
|
|
35
|
+
doClose<K>(messageLocator: {
|
|
36
|
+
key: K;
|
|
37
|
+
}): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Finds the layered content of this messages instance.
|
|
40
|
+
*
|
|
41
|
+
* @param id The layer id for this instance of the message
|
|
42
|
+
* @returns The layer content
|
|
43
|
+
*/
|
|
44
|
+
private getMessagesContainer;
|
|
45
|
+
/**
|
|
46
|
+
* Creates the CSS selector for the message with the provided key.
|
|
47
|
+
*
|
|
48
|
+
* @param key The key of the message
|
|
49
|
+
* @returns the css selector that can used to fetch the message
|
|
50
|
+
*/
|
|
51
|
+
private getMessageSelector;
|
|
52
|
+
}
|
|
@@ -1,32 +1,98 @@
|
|
|
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.MessageToastWebElement = void 0;
|
|
4
|
+
var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
5
|
+
var selenium_webdriver_1 = require("selenium-webdriver");
|
|
19
6
|
var MessageToastWebElementBase_1 = require("./MessageToastWebElementBase");
|
|
20
7
|
/**
|
|
21
8
|
* The component WebElement for [oj-c-message-toast](../../../oj-c/docs/oj.MessageToast.html).
|
|
22
9
|
* Do not instantiate this class directly, instead, use
|
|
23
10
|
* [findMessageToast](../modules.html#findMessageToast).
|
|
24
11
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
class MessageToastWebElement extends MessageToastWebElementBase_1.MessageToastWebElementBase {
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve a SlotProxy which represents the custom detail content of a single message.
|
|
15
|
+
* @param messageLocator.key The key within the MessageToast's dataset associated with the individual message.
|
|
16
|
+
* @throws {Error} when the detail content rendered is not provided by the application
|
|
17
|
+
* @returns The detail content of the message rendered by the application
|
|
18
|
+
* @since "15.0.4"
|
|
19
|
+
*/
|
|
20
|
+
async findDetail(messageLocator) {
|
|
21
|
+
const key = messageLocator.key;
|
|
22
|
+
const layerId = await this.getAttribute('data-oj-messages-layer-id');
|
|
23
|
+
const messagesContainer = await this.getMessagesContainer(layerId);
|
|
24
|
+
const messageSelector = this.getMessageSelector(key);
|
|
25
|
+
const customDetailContentSelector = '[data-oj-message-custom-detail]';
|
|
26
|
+
try {
|
|
27
|
+
const el = await messagesContainer.findElement(selenium_webdriver_1.By.css(`${messageSelector} ${customDetailContentSelector}`));
|
|
28
|
+
return (0, oraclejet_webdriver_1.slotProxy)(el, this);
|
|
29
|
+
}
|
|
30
|
+
catch (e) {
|
|
31
|
+
throw new selenium_webdriver_1.error.NoSuchElementError('No corresponding detail template or renderer found for the messageLocator.');
|
|
32
|
+
}
|
|
29
33
|
}
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Retrieve a SlotProxy which represents the custom icon content of a single message.
|
|
36
|
+
* @param messageLocator.key The key within the MessageToast's dataset associated with the individual message.
|
|
37
|
+
* @throws {Error} when the icon content rendered is not provided by the application
|
|
38
|
+
* @returns The icon content of the message rendered by the application
|
|
39
|
+
* @since "15.0.4"
|
|
40
|
+
*/
|
|
41
|
+
async findIcon(messageLocator) {
|
|
42
|
+
const key = messageLocator.key;
|
|
43
|
+
const layerId = await this.getAttribute('data-oj-messages-layer-id');
|
|
44
|
+
const messagesContainer = await this.getMessagesContainer(layerId);
|
|
45
|
+
const messageSelector = this.getMessageSelector(key);
|
|
46
|
+
const customIconContentSelector = '[data-oj-message-custom-icon]';
|
|
47
|
+
try {
|
|
48
|
+
const el = await messagesContainer.findElement(selenium_webdriver_1.By.css(`${messageSelector} ${customIconContentSelector}`));
|
|
49
|
+
return (0, oraclejet_webdriver_1.slotProxy)(el, this);
|
|
50
|
+
}
|
|
51
|
+
catch (e) {
|
|
52
|
+
throw new selenium_webdriver_1.error.NoSuchElementError('No corresponding icon template or renderer found for the messageLocator.');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Closes the message identified by the provided key.
|
|
57
|
+
* @param messageLocator.key The key within the MessageToast's dataset associated with the individual message.
|
|
58
|
+
* @throws {Error} when the specified is not closable (closeAffordance set to "off")
|
|
59
|
+
* @since "15.0.4"
|
|
60
|
+
*/
|
|
61
|
+
async doClose(messageLocator) {
|
|
62
|
+
const key = messageLocator.key;
|
|
63
|
+
const layerId = await this.getAttribute('data-oj-messages-layer-id');
|
|
64
|
+
const messagesContainer = await this.getMessagesContainer(layerId);
|
|
65
|
+
const messageSelector = this.getMessageSelector(key);
|
|
66
|
+
const closeButtonSelector = '[data-oj-message-close-button] button';
|
|
67
|
+
try {
|
|
68
|
+
const el = await messagesContainer.findElement(selenium_webdriver_1.By.css(`${messageSelector} ${closeButtonSelector}`));
|
|
69
|
+
await el.click();
|
|
70
|
+
}
|
|
71
|
+
catch (e) {
|
|
72
|
+
throw new selenium_webdriver_1.error.UnsupportedOperationError('The close operation is not applicable for the messageLocator.');
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Finds the layered content of this messages instance.
|
|
77
|
+
*
|
|
78
|
+
* @param id The layer id for this instance of the message
|
|
79
|
+
* @returns The layer content
|
|
80
|
+
*/
|
|
81
|
+
getMessagesContainer(id) {
|
|
82
|
+
const driver = this.getDriver();
|
|
83
|
+
return driver.findElement(selenium_webdriver_1.By.id(id));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Creates the CSS selector for the message with the provided key.
|
|
87
|
+
*
|
|
88
|
+
* @param key The key of the message
|
|
89
|
+
* @returns the css selector that can used to fetch the message
|
|
90
|
+
*/
|
|
91
|
+
getMessageSelector(key) {
|
|
92
|
+
return typeof key === 'number'
|
|
93
|
+
? `[data-oj-key="number-${key}"]`
|
|
94
|
+
: `[data-oj-key="string-${key}"]`;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
32
97
|
exports.MessageToastWebElement = MessageToastWebElement;
|
|
98
|
+
//# sourceMappingURL=MessageToastWebElement.js.map
|