@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.
Files changed (354) hide show
  1. package/oj-c/Avatar.json +10 -10
  2. package/oj-c/Button.json +19 -19
  3. package/oj-c/Collapsible.json +14 -14
  4. package/oj-c/FilePicker.json +19 -19
  5. package/oj-c/HighlightText.json +6 -6
  6. package/oj-c/InputDateText.json +43 -43
  7. package/oj-c/InputNumber.json +49 -49
  8. package/oj-c/InputPassword.json +40 -40
  9. package/oj-c/InputText.json +47 -47
  10. package/oj-c/Legend.json +34 -34
  11. package/oj-c/LegendItem.json +15 -15
  12. package/oj-c/LegendSection.json +5 -5
  13. package/oj-c/ListItemLayout.json +16 -16
  14. package/oj-c/ListView.json +18 -18
  15. package/oj-c/MessageToast.json +36 -16
  16. package/oj-c/MeterBar.json +26 -26
  17. package/oj-c/MeterCircle.json +30 -30
  18. package/oj-c/ProgressBar.json +7 -7
  19. package/oj-c/ProgressCircle.json +7 -7
  20. package/oj-c/RatingGauge.json +21 -21
  21. package/oj-c/SelectMultiple.json +39 -39
  22. package/oj-c/SelectSingle.json +39 -39
  23. package/oj-c/Selector.json +8 -8
  24. package/oj-c/SelectorAll.json +5 -5
  25. package/oj-c/SplitMenuButton.json +17 -17
  26. package/oj-c/TagCloud.json +18 -18
  27. package/oj-c/TagCloudItem.json +10 -10
  28. package/oj-c/TextArea.json +44 -44
  29. package/oj-c/avatar/__webdriver__/AvatarWebElement.d.ts +8 -0
  30. package/oj-c/avatar/__webdriver__/AvatarWebElement.js +3 -22
  31. package/oj-c/avatar/__webdriver__/AvatarWebElement.js.map +1 -0
  32. package/oj-c/avatar/__webdriver__/AvatarWebElementBase.d.ts +51 -0
  33. package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js +15 -34
  34. package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js.map +1 -0
  35. package/oj-c/avatar/__webdriver__/index.d.ts +17 -0
  36. package/oj-c/avatar/__webdriver__/index.js +9 -53
  37. package/oj-c/avatar/__webdriver__/index.js.map +1 -0
  38. package/oj-c/avatar/component.json +2 -2
  39. package/oj-c/button/__webdriver__/ButtonWebElement.d.ts +65 -0
  40. package/oj-c/button/__webdriver__/ButtonWebElement.js +32 -36
  41. package/oj-c/button/__webdriver__/ButtonWebElement.js.map +1 -0
  42. package/oj-c/button/__webdriver__/ButtonWebElementBase.d.ts +65 -0
  43. package/oj-c/button/__webdriver__/ButtonWebElementBase.js +19 -38
  44. package/oj-c/button/__webdriver__/ButtonWebElementBase.js.map +1 -0
  45. package/oj-c/button/__webdriver__/index.d.ts +17 -0
  46. package/oj-c/button/__webdriver__/index.js +9 -53
  47. package/oj-c/button/__webdriver__/index.js.map +1 -0
  48. package/oj-c/button/component.json +2 -2
  49. package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.d.ts +21 -0
  50. package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js +17 -90
  51. package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js.map +1 -0
  52. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.d.ts +30 -0
  53. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js +9 -28
  54. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js.map +1 -0
  55. package/oj-c/collapsible/__webdriver__/index.d.ts +17 -0
  56. package/oj-c/collapsible/__webdriver__/index.js +9 -53
  57. package/oj-c/collapsible/__webdriver__/index.js.map +1 -0
  58. package/oj-c/collapsible/component.json +2 -2
  59. package/oj-c/component.json +3 -3
  60. package/oj-c/corepackbundle.js +7 -4
  61. package/oj-c/docs/avatar.html +3 -3
  62. package/oj-c/docs/button.html +3 -3
  63. package/oj-c/docs/collapsible.html +3 -3
  64. package/oj-c/docs/file-picker.html +3 -3
  65. package/oj-c/docs/highlight-text.html +3 -3
  66. package/oj-c/docs/index.html +3 -3
  67. package/oj-c/docs/input-date-text.html +3 -3
  68. package/oj-c/docs/input-number.html +3 -3
  69. package/oj-c/docs/input-password.html +3 -3
  70. package/oj-c/docs/input-text.html +3 -3
  71. package/oj-c/docs/legend-item.html +3 -3
  72. package/oj-c/docs/legend-section.html +3 -3
  73. package/oj-c/docs/legend.html +3 -3
  74. package/oj-c/docs/list-item-layout.html +3 -3
  75. package/oj-c/docs/list-view.html +3 -3
  76. package/oj-c/docs/message-toast.html +3 -3
  77. package/oj-c/docs/meter-bar.html +3 -3
  78. package/oj-c/docs/meter-circle.html +3 -3
  79. package/oj-c/docs/oj-c.Avatar.html +3 -3
  80. package/oj-c/docs/oj-c.Button.html +3 -3
  81. package/oj-c/docs/oj-c.Collapsible.html +3 -3
  82. package/oj-c/docs/oj-c.FilePicker.html +3 -3
  83. package/oj-c/docs/oj-c.HighlightText.html +3 -3
  84. package/oj-c/docs/oj-c.InputDateText.html +3 -3
  85. package/oj-c/docs/oj-c.InputNumber.html +3 -3
  86. package/oj-c/docs/oj-c.InputPassword.html +3 -3
  87. package/oj-c/docs/oj-c.InputText.html +3 -3
  88. package/oj-c/docs/oj-c.Legend.html +3 -3
  89. package/oj-c/docs/oj-c.LegendItem.html +3 -3
  90. package/oj-c/docs/oj-c.LegendSection.html +3 -3
  91. package/oj-c/docs/oj-c.ListItemLayout.html +3 -3
  92. package/oj-c/docs/oj-c.ListView.html +3 -3
  93. package/oj-c/docs/oj-c.MessageToast.html +11 -6
  94. package/oj-c/docs/oj-c.MeterBar.html +3 -3
  95. package/oj-c/docs/oj-c.MeterCircle.html +3 -3
  96. package/oj-c/docs/oj-c.ProgressBar.html +3 -3
  97. package/oj-c/docs/oj-c.ProgressCircle.html +3 -3
  98. package/oj-c/docs/oj-c.RatingGauge.html +3 -3
  99. package/oj-c/docs/oj-c.SelectMultiple.html +3 -3
  100. package/oj-c/docs/oj-c.SelectSingle.html +3 -3
  101. package/oj-c/docs/oj-c.Selector.html +3 -3
  102. package/oj-c/docs/oj-c.SelectorAll.html +3 -3
  103. package/oj-c/docs/oj-c.SplitMenuButton.html +3 -3
  104. package/oj-c/docs/oj-c.TagCloud.html +3 -3
  105. package/oj-c/docs/oj-c.TagCloudItem.html +3 -3
  106. package/oj-c/docs/oj-c.TextArea.html +3 -3
  107. package/oj-c/docs/progress-bar.html +3 -3
  108. package/oj-c/docs/progress-circle.html +3 -3
  109. package/oj-c/docs/rating-gauge.html +3 -3
  110. package/oj-c/docs/select-multiple.html +3 -3
  111. package/oj-c/docs/select-single.html +3 -3
  112. package/oj-c/docs/selector-all.html +3 -3
  113. package/oj-c/docs/selector.html +3 -3
  114. package/oj-c/docs/split-menu-button.html +3 -3
  115. package/oj-c/docs/tag-cloud-item.html +3 -3
  116. package/oj-c/docs/tag-cloud.html +3 -3
  117. package/oj-c/docs/text-area.html +3 -3
  118. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.d.ts +8 -0
  119. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +3 -22
  120. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -0
  121. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.d.ts +51 -0
  122. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js +15 -34
  123. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js.map +1 -0
  124. package/oj-c/file-picker/__webdriver__/index.d.ts +17 -0
  125. package/oj-c/file-picker/__webdriver__/index.js +9 -53
  126. package/oj-c/file-picker/__webdriver__/index.js.map +1 -0
  127. package/oj-c/file-picker/component.json +2 -2
  128. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.d.ts +8 -0
  129. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js +3 -22
  130. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js.map +1 -0
  131. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.d.ts +23 -0
  132. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js +7 -26
  133. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js.map +1 -0
  134. package/oj-c/highlight-text/__webdriver__/index.d.ts +17 -0
  135. package/oj-c/highlight-text/__webdriver__/index.js +9 -53
  136. package/oj-c/highlight-text/__webdriver__/index.js.map +1 -0
  137. package/oj-c/highlight-text/component.json +2 -2
  138. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.d.ts +8 -0
  139. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js +3 -22
  140. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js.map +1 -0
  141. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.d.ts +246 -0
  142. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js +57 -76
  143. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js.map +1 -0
  144. package/oj-c/input-date-text/__webdriver__/index.d.ts +17 -0
  145. package/oj-c/input-date-text/__webdriver__/index.js +9 -53
  146. package/oj-c/input-date-text/__webdriver__/index.js.map +1 -0
  147. package/oj-c/input-date-text/component.json +2 -2
  148. package/oj-c/input-number/__webdriver__/InputNumberWebElement.d.ts +8 -0
  149. package/oj-c/input-number/__webdriver__/InputNumberWebElement.js +3 -22
  150. package/oj-c/input-number/__webdriver__/InputNumberWebElement.js.map +1 -0
  151. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +302 -0
  152. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +73 -92
  153. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -0
  154. package/oj-c/input-number/__webdriver__/index.d.ts +17 -0
  155. package/oj-c/input-number/__webdriver__/index.js +9 -53
  156. package/oj-c/input-number/__webdriver__/index.js.map +1 -0
  157. package/oj-c/input-number/component.json +2 -2
  158. package/oj-c/input-password/__webdriver__/InputPasswordWebElement.d.ts +8 -0
  159. package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js +3 -22
  160. package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js.map +1 -0
  161. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +239 -0
  162. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +55 -74
  163. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -0
  164. package/oj-c/input-password/__webdriver__/index.d.ts +17 -0
  165. package/oj-c/input-password/__webdriver__/index.js +9 -53
  166. package/oj-c/input-password/__webdriver__/index.js.map +1 -0
  167. package/oj-c/input-password/component.json +2 -2
  168. package/oj-c/input-text/__webdriver__/InputTextWebElement.d.ts +8 -0
  169. package/oj-c/input-text/__webdriver__/InputTextWebElement.js +3 -22
  170. package/oj-c/input-text/__webdriver__/InputTextWebElement.js.map +1 -0
  171. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.d.ts +277 -0
  172. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js +63 -82
  173. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js.map +1 -0
  174. package/oj-c/input-text/__webdriver__/index.d.ts +17 -0
  175. package/oj-c/input-text/__webdriver__/index.js +9 -53
  176. package/oj-c/input-text/__webdriver__/index.js.map +1 -0
  177. package/oj-c/input-text/component.json +2 -2
  178. package/oj-c/legend/__webdriver__/LegendWebElement.d.ts +8 -0
  179. package/oj-c/legend/__webdriver__/LegendWebElement.js +3 -22
  180. package/oj-c/legend/__webdriver__/LegendWebElement.js.map +1 -0
  181. package/oj-c/legend/__webdriver__/LegendWebElementBase.d.ts +173 -0
  182. package/oj-c/legend/__webdriver__/LegendWebElementBase.js +35 -54
  183. package/oj-c/legend/__webdriver__/LegendWebElementBase.js.map +1 -0
  184. package/oj-c/legend/__webdriver__/index.d.ts +17 -0
  185. package/oj-c/legend/__webdriver__/index.js +9 -53
  186. package/oj-c/legend/__webdriver__/index.js.map +1 -0
  187. package/oj-c/legend/component.json +2 -2
  188. package/oj-c/legend-item/component.json +2 -2
  189. package/oj-c/legend-section/component.json +2 -2
  190. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.d.ts +8 -0
  191. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js +3 -22
  192. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js.map +1 -0
  193. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.d.ts +16 -0
  194. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js +5 -24
  195. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js.map +1 -0
  196. package/oj-c/list-item-layout/__webdriver__/index.d.ts +17 -0
  197. package/oj-c/list-item-layout/__webdriver__/index.js +9 -53
  198. package/oj-c/list-item-layout/__webdriver__/index.js.map +1 -0
  199. package/oj-c/list-item-layout/component.json +2 -2
  200. package/oj-c/list-view/__webdriver__/ListViewWebElement.d.ts +8 -0
  201. package/oj-c/list-view/__webdriver__/ListViewWebElement.js +3 -22
  202. package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -0
  203. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.d.ts +75 -0
  204. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js +15 -34
  205. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js.map +1 -0
  206. package/oj-c/list-view/__webdriver__/index.d.ts +17 -0
  207. package/oj-c/list-view/__webdriver__/index.js +9 -53
  208. package/oj-c/list-view/__webdriver__/index.js.map +1 -0
  209. package/oj-c/list-view/component.json +2 -2
  210. package/oj-c/message-toast/__webdriver__/MessageToastWebElement.d.ts +52 -0
  211. package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js +87 -21
  212. package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js.map +1 -0
  213. package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.d.ts +44 -0
  214. package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js +13 -32
  215. package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js.map +1 -0
  216. package/oj-c/message-toast/__webdriver__/index.d.ts +17 -0
  217. package/oj-c/message-toast/__webdriver__/index.js +9 -53
  218. package/oj-c/message-toast/__webdriver__/index.js.map +1 -0
  219. package/oj-c/message-toast/component.json +2 -2
  220. package/oj-c/message-toast/message-toast.js +7 -4
  221. package/oj-c/metadata/allComponents.json +57 -57
  222. package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.d.ts +8 -0
  223. package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js +3 -22
  224. package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js.map +1 -0
  225. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.d.ts +173 -0
  226. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js +39 -58
  227. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js.map +1 -0
  228. package/oj-c/meter-bar/__webdriver__/index.d.ts +17 -0
  229. package/oj-c/meter-bar/__webdriver__/index.js +9 -53
  230. package/oj-c/meter-bar/__webdriver__/index.js.map +1 -0
  231. package/oj-c/meter-bar/component.json +2 -2
  232. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.d.ts +8 -0
  233. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js +3 -22
  234. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js.map +1 -0
  235. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.d.ts +183 -0
  236. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js +43 -62
  237. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js.map +1 -0
  238. package/oj-c/meter-circle/__webdriver__/index.d.ts +17 -0
  239. package/oj-c/meter-circle/__webdriver__/index.js +9 -53
  240. package/oj-c/meter-circle/__webdriver__/index.js.map +1 -0
  241. package/oj-c/meter-circle/component.json +2 -2
  242. package/oj-c/min/corepackbundle.js +4 -4
  243. package/oj-c/min/corepackbundle.js.map +1 -1
  244. package/oj-c/min/message-toast.js +1 -1
  245. package/oj-c/min/message-toast.js.map +1 -1
  246. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.d.ts +8 -0
  247. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js +3 -22
  248. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js.map +1 -0
  249. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.d.ts +30 -0
  250. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js +9 -28
  251. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js.map +1 -0
  252. package/oj-c/progress-bar/__webdriver__/index.d.ts +17 -0
  253. package/oj-c/progress-bar/__webdriver__/index.js +9 -53
  254. package/oj-c/progress-bar/__webdriver__/index.js.map +1 -0
  255. package/oj-c/progress-bar/component.json +2 -2
  256. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.d.ts +8 -0
  257. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js +3 -22
  258. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js.map +1 -0
  259. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.d.ts +30 -0
  260. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js +9 -28
  261. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js.map +1 -0
  262. package/oj-c/progress-circle/__webdriver__/index.d.ts +17 -0
  263. package/oj-c/progress-circle/__webdriver__/index.js +9 -53
  264. package/oj-c/progress-circle/__webdriver__/index.js.map +1 -0
  265. package/oj-c/progress-circle/component.json +2 -2
  266. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.d.ts +8 -0
  267. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js +3 -22
  268. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js.map +1 -0
  269. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.d.ts +135 -0
  270. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js +35 -54
  271. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js.map +1 -0
  272. package/oj-c/rating-gauge/__webdriver__/index.d.ts +17 -0
  273. package/oj-c/rating-gauge/__webdriver__/index.js +9 -53
  274. package/oj-c/rating-gauge/__webdriver__/index.js.map +1 -0
  275. package/oj-c/rating-gauge/component.json +2 -2
  276. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.d.ts +8 -0
  277. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js +3 -22
  278. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js.map +1 -0
  279. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.d.ts +231 -0
  280. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js +55 -74
  281. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js.map +1 -0
  282. package/oj-c/select-multiple/__webdriver__/index.d.ts +17 -0
  283. package/oj-c/select-multiple/__webdriver__/index.js +9 -53
  284. package/oj-c/select-multiple/__webdriver__/index.js.map +1 -0
  285. package/oj-c/select-multiple/component.json +2 -2
  286. package/oj-c/select-single/__webdriver__/SelectSingleWebElement.d.ts +8 -0
  287. package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js +3 -22
  288. package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js.map +1 -0
  289. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.d.ts +289 -0
  290. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js +55 -74
  291. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js.map +1 -0
  292. package/oj-c/select-single/__webdriver__/index.d.ts +17 -0
  293. package/oj-c/select-single/__webdriver__/index.js +9 -53
  294. package/oj-c/select-single/__webdriver__/index.js.map +1 -0
  295. package/oj-c/select-single/component.json +2 -2
  296. package/oj-c/selector/__webdriver__/SelectorWebElement.d.ts +8 -0
  297. package/oj-c/selector/__webdriver__/SelectorWebElement.js +3 -22
  298. package/oj-c/selector/__webdriver__/SelectorWebElement.js.map +1 -0
  299. package/oj-c/selector/__webdriver__/SelectorWebElementBase.d.ts +44 -0
  300. package/oj-c/selector/__webdriver__/SelectorWebElementBase.js +13 -32
  301. package/oj-c/selector/__webdriver__/SelectorWebElementBase.js.map +1 -0
  302. package/oj-c/selector/__webdriver__/index.d.ts +17 -0
  303. package/oj-c/selector/__webdriver__/index.js +9 -53
  304. package/oj-c/selector/__webdriver__/index.js.map +1 -0
  305. package/oj-c/selector/component.json +2 -2
  306. package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.d.ts +8 -0
  307. package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js +3 -22
  308. package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js.map +1 -0
  309. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.d.ts +23 -0
  310. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +7 -26
  311. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -0
  312. package/oj-c/selector-all/__webdriver__/index.d.ts +17 -0
  313. package/oj-c/selector-all/__webdriver__/index.js +9 -53
  314. package/oj-c/selector-all/__webdriver__/index.js.map +1 -0
  315. package/oj-c/selector-all/component.json +2 -2
  316. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.d.ts +8 -0
  317. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +3 -22
  318. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -0
  319. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.d.ts +65 -0
  320. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +15 -34
  321. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -0
  322. package/oj-c/split-menu-button/__webdriver__/index.d.ts +17 -0
  323. package/oj-c/split-menu-button/__webdriver__/index.js +9 -53
  324. package/oj-c/split-menu-button/__webdriver__/index.js.map +1 -0
  325. package/oj-c/split-menu-button/component.json +2 -2
  326. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.d.ts +8 -0
  327. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js +3 -22
  328. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js.map +1 -0
  329. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.d.ts +100 -0
  330. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js +29 -48
  331. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js.map +1 -0
  332. package/oj-c/tag-cloud/__webdriver__/index.d.ts +17 -0
  333. package/oj-c/tag-cloud/__webdriver__/index.js +9 -53
  334. package/oj-c/tag-cloud/__webdriver__/index.js.map +1 -0
  335. package/oj-c/tag-cloud/component.json +2 -2
  336. package/oj-c/tag-cloud-item/component.json +2 -2
  337. package/oj-c/text-area/__webdriver__/TextAreaWebElement.d.ts +8 -0
  338. package/oj-c/text-area/__webdriver__/TextAreaWebElement.js +3 -22
  339. package/oj-c/text-area/__webdriver__/TextAreaWebElement.js.map +1 -0
  340. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.d.ts +274 -0
  341. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js +61 -80
  342. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js.map +1 -0
  343. package/oj-c/text-area/__webdriver__/index.d.ts +17 -0
  344. package/oj-c/text-area/__webdriver__/index.js +9 -53
  345. package/oj-c/text-area/__webdriver__/index.js.map +1 -0
  346. package/oj-c/text-area/component.json +2 -2
  347. package/oj-c/types/message-toast/message-toast.d.ts +44 -44
  348. package/package.json +3 -3
  349. package/webdriver/docs/assets/search.js +1 -1
  350. package/webdriver/docs/classes/ButtonWebElement.html +17 -7
  351. package/webdriver/docs/classes/MessageToastWebElement.html +89 -0
  352. package/webdriver/index.d.ts +25 -0
  353. package/webdriver/index.js +1 -0
  354. package/webdriver/index.js.map +1 -0
@@ -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.findSplitMenuButton = exports.SplitMenuButtonWebElement = void 0;
40
4
  var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
@@ -52,23 +16,15 @@ Object.defineProperty(exports, "SplitMenuButtonWebElement", { enumerable: true,
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 findSplitMenuButton(driver, by) {
56
- return __awaiter(this, void 0, void 0, function () {
57
- var webEl, tagName;
58
- return __generator(this, function (_a) {
59
- switch (_a.label) {
60
- case 0: return [4 /*yield*/, driver.findElement(by)];
61
- case 1:
62
- webEl = _a.sent();
63
- if (!!(webEl instanceof SplitMenuButtonWebElement_1.SplitMenuButtonWebElement)) return [3 /*break*/, 3];
64
- return [4 /*yield*/, webEl.getTagName()];
65
- case 2:
66
- tagName = _a.sent();
67
- throw Error("findSplitMenuButton(".concat(by, ") created ").concat(webEl.constructor.name, " for <").concat(tagName, ">, but expected ").concat(SplitMenuButtonWebElement_1.SplitMenuButtonWebElement.name));
68
- case 3: return [2 /*return*/, webEl];
69
- }
70
- });
71
- });
19
+ async function findSplitMenuButton(driver, by) {
20
+ const webEl = await driver.findElement(by);
21
+ // Check that the element is of type SplitMenuButtonWebElement
22
+ if (!(webEl instanceof SplitMenuButtonWebElement_1.SplitMenuButtonWebElement)) {
23
+ const tagName = await webEl.getTagName();
24
+ throw Error(`findSplitMenuButton(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${SplitMenuButtonWebElement_1.SplitMenuButtonWebElement.name}`);
25
+ }
26
+ return webEl;
72
27
  }
73
28
  exports.findSplitMenuButton = findSplitMenuButton;
74
29
  (0, oraclejet_webdriver_1.register)('oj-c-split-menu-button', SplitMenuButtonWebElement_1.SplitMenuButtonWebElement);
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,mEAAmE;AACnE,yEAAwE;AAC/D,0GADA,qDAAyB,OACA;AAElC;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,mBAAmB,CACvC,MAAkB,EAClB,EAAM;IAEN,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,8DAA8D;IAC9D,IAAI,CAAC,CAAC,KAAK,YAAY,qDAAyB,CAAC,EAAE;QACjD,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,MAAM,KAAK,CACT,uBAAuB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,qDAAyB,CAAC,IAAI,EAAE,CAChI,CAAC;KACH;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAbD,kDAaC;AAED,IAAA,8BAAQ,EAAC,wBAAwB,EAAE,qDAAyB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { SplitMenuButtonWebElement } from './SplitMenuButtonWebElement';\nexport { SplitMenuButtonWebElement };\n\n/**\n * Retrieve an instance of [[SplitMenuButtonWebElement]].\n * @example\n * ```javascript\n * import { findSplitMenuButton } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findSplitMenuButton(driver, By.id('my-oj-c-split-menu-button'));\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 findSplitMenuButton(\n driver: DriverLike,\n by: By\n): Promise<SplitMenuButtonWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type SplitMenuButtonWebElement\n if (!(webEl instanceof SplitMenuButtonWebElement)) {\n const tagName = await webEl.getTagName();\n throw Error(\n `findSplitMenuButton(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${SplitMenuButtonWebElement.name}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-split-menu-button', SplitMenuButtonWebElement);\n"]}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "split-menu-button",
3
- "version": "15.0.2",
4
- "jetVersion": "^15.0.2",
3
+ "version": "15.0.4",
4
+ "jetVersion": "^15.0.4",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "license": "https://opensource.org/licenses/UPL",
@@ -0,0 +1,8 @@
1
+ import { TagCloudWebElementBase } from './TagCloudWebElementBase';
2
+ /**
3
+ * The component WebElement for [oj-c-tag-cloud](../../../oj-c/docs/oj.TagCloud.html).
4
+ * Do not instantiate this class directly, instead, use
5
+ * [findTagCloud](../modules.html#findTagCloud).
6
+ */
7
+ export declare class TagCloudWebElement extends TagCloudWebElementBase {
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.TagCloudWebElement = void 0;
19
4
  var TagCloudWebElementBase_1 = require("./TagCloudWebElementBase");
@@ -22,11 +7,7 @@ var TagCloudWebElementBase_1 = require("./TagCloudWebElementBase");
22
7
  * Do not instantiate this class directly, instead, use
23
8
  * [findTagCloud](../modules.html#findTagCloud).
24
9
  */
25
- var TagCloudWebElement = /** @class */ (function (_super) {
26
- __extends(TagCloudWebElement, _super);
27
- function TagCloudWebElement() {
28
- return _super !== null && _super.apply(this, arguments) || this;
29
- }
30
- return TagCloudWebElement;
31
- }(TagCloudWebElementBase_1.TagCloudWebElementBase));
10
+ class TagCloudWebElement extends TagCloudWebElementBase_1.TagCloudWebElementBase {
11
+ }
32
12
  exports.TagCloudWebElement = TagCloudWebElement;
13
+ //# sourceMappingURL=TagCloudWebElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagCloudWebElement.js","sourceRoot":"","sources":["TagCloudWebElement.ts"],"names":[],"mappings":";;;AAAA,mEAAkE;AAElE;;;;GAIG;AACH,MAAa,kBAAmB,SAAQ,+CAAsB;CAE7D;AAFD,gDAEC","sourcesContent":["import { TagCloudWebElementBase } from './TagCloudWebElementBase';\n\n/**\n * The component WebElement for [oj-c-tag-cloud](../../../oj-c/docs/oj.TagCloud.html).\n * Do not instantiate this class directly, instead, use\n * [findTagCloud](../modules.html#findTagCloud).\n */\nexport class TagCloudWebElement extends TagCloudWebElementBase {\n // Put overrides here\n}\n"]}
@@ -0,0 +1,100 @@
1
+ import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';
2
+ /**
3
+ * This is the base class for oj-c-tag-cloud 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, TagCloudWebElement.ts.
7
+ */
8
+ export declare class TagCloudWebElementBase extends OjWebElement {
9
+ /**
10
+ * Gets the value of <code>data</code> property.
11
+ * Specifies the DataProvider for the sections and items of the tag-cloud
12
+ * @return The value of <code>data</code> property.
13
+ *
14
+ */
15
+ getData(): Promise<null>;
16
+ /**
17
+ * Gets the value of <code>datatip</code> property.
18
+ *
19
+ * @return The value of <code>datatip</code> property.
20
+ *
21
+ */
22
+ getDatatip(): Promise<null>;
23
+ /**
24
+ * Sets the value of <code>hiddenCategories</code> property.
25
+ * An array of categories that will be hidden.
26
+ * @param hiddenCategories The value to set for <code>hiddenCategories</code>
27
+ *
28
+ */
29
+ changeHiddenCategories(hiddenCategories: Array<string>): Promise<void>;
30
+ /**
31
+ * Gets the value of <code>hiddenCategories</code> property.
32
+ * An array of categories that will be hidden.
33
+ * @return The value of <code>hiddenCategories</code> property.
34
+ *
35
+ */
36
+ getHiddenCategories(): Promise<Array<string>>;
37
+ /**
38
+ * Gets the value of <code>touchResponse</code> property.
39
+ * Data visualizations require a press and hold delay before triggering tooltips and rollover effects on mobile devices to avoid interfering with page panning, but these hold delays can make applications seem slower and less responsive. For a better user experience, the application can remove the touch and hold delay when data visualizations are used within a non scrolling container or if there is sufficient space outside of the visualization for panning. If touchResponse is touchStart the element will instantly trigger the touch gesture and consume the page pan events. If touchResponse is auto, the element will behave like touchStart if it determines that it is not rendered within scrolling content and if element panning is not available for those elements that support the feature.
40
+ * @return The value of <code>touchResponse</code> property.
41
+ *
42
+ */
43
+ getTouchResponse(): Promise<string>;
44
+ /**
45
+ * Gets the value of <code>highlightMatch</code> property.
46
+ * The matching condition for the highlightedCategories option. By default, highlightMatch is 'all' and only items whose categories match all of the values specified in the highlightedCategories array will be highlighted. If highlightMatch is 'any', then items that match at least one of the highlightedCategories values will be highlighted.
47
+ * @return The value of <code>highlightMatch</code> property.
48
+ *
49
+ */
50
+ getHighlightMatch(): Promise<string>;
51
+ /**
52
+ * Sets the value of <code>highlightedCategories</code> property.
53
+ * An array of categories that will be highlighted.
54
+ * @param highlightedCategories The value to set for <code>highlightedCategories</code>
55
+ *
56
+ */
57
+ changeHighlightedCategories(highlightedCategories: Array<string>): Promise<void>;
58
+ /**
59
+ * Gets the value of <code>highlightedCategories</code> property.
60
+ * An array of categories that will be highlighted.
61
+ * @return The value of <code>highlightedCategories</code> property.
62
+ *
63
+ */
64
+ getHighlightedCategories(): Promise<Array<string>>;
65
+ /**
66
+ * Gets the value of <code>hoverBehavior</code> property.
67
+ * Defines the behavior applied when hovering over data items.
68
+ * @return The value of <code>hoverBehavior</code> property.
69
+ *
70
+ */
71
+ getHoverBehavior(): Promise<string>;
72
+ /**
73
+ * Gets the value of <code>layout</code> property.
74
+ * The layout to use for tag display.
75
+ * @return The value of <code>layout</code> property.
76
+ *
77
+ */
78
+ getLayout(): Promise<string>;
79
+ /**
80
+ * Gets the value of <code>selectionMode</code> property.
81
+ * Specifies the selection mode.
82
+ * @return The value of <code>selectionMode</code> property.
83
+ *
84
+ */
85
+ getSelectionMode(): Promise<string>;
86
+ /**
87
+ * Sets the value of <code>selection</code> property.
88
+ * An array containing the ids of the initially selected data items.
89
+ * @param selection The value to set for <code>selection</code>
90
+ *
91
+ */
92
+ changeSelection(selection: Array<any>): Promise<void>;
93
+ /**
94
+ * Gets the value of <code>selection</code> property.
95
+ * An array containing the ids of the initially selected data items.
96
+ * @return The value of <code>selection</code> property.
97
+ *
98
+ */
99
+ getSelection(): Promise<Array<any>>;
100
+ }
@@ -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.TagCloudWebElementBase = void 0;
19
4
  var elements_1 = require("@oracle/oraclejet-webdriver/elements");
@@ -23,128 +8,124 @@ var elements_1 = require("@oracle/oraclejet-webdriver/elements");
23
8
  * during the next generation.
24
9
  * Put overrides into the WebElements's subclass, TagCloudWebElement.ts.
25
10
  */
26
- var TagCloudWebElementBase = /** @class */ (function (_super) {
27
- __extends(TagCloudWebElementBase, _super);
28
- function TagCloudWebElementBase() {
29
- return _super !== null && _super.apply(this, arguments) || this;
30
- }
11
+ class TagCloudWebElementBase extends elements_1.OjWebElement {
31
12
  /**
32
13
  * Gets the value of <code>data</code> property.
33
14
  * Specifies the DataProvider for the sections and items of the tag-cloud
34
15
  * @return The value of <code>data</code> property.
35
16
  *
36
17
  */
37
- TagCloudWebElementBase.prototype.getData = function () {
18
+ getData() {
38
19
  return this.getProperty('data');
39
- };
20
+ }
40
21
  /**
41
22
  * Gets the value of <code>datatip</code> property.
42
23
  *
43
24
  * @return The value of <code>datatip</code> property.
44
25
  *
45
26
  */
46
- TagCloudWebElementBase.prototype.getDatatip = function () {
27
+ getDatatip() {
47
28
  return this.getProperty('datatip');
48
- };
29
+ }
49
30
  /**
50
31
  * Sets the value of <code>hiddenCategories</code> property.
51
32
  * An array of categories that will be hidden.
52
33
  * @param hiddenCategories The value to set for <code>hiddenCategories</code>
53
34
  *
54
35
  */
55
- TagCloudWebElementBase.prototype.changeHiddenCategories = function (hiddenCategories) {
36
+ changeHiddenCategories(hiddenCategories) {
56
37
  return this.setProperty('hiddenCategories', hiddenCategories);
57
- };
38
+ }
58
39
  /**
59
40
  * Gets the value of <code>hiddenCategories</code> property.
60
41
  * An array of categories that will be hidden.
61
42
  * @return The value of <code>hiddenCategories</code> property.
62
43
  *
63
44
  */
64
- TagCloudWebElementBase.prototype.getHiddenCategories = function () {
45
+ getHiddenCategories() {
65
46
  return this.getProperty('hiddenCategories');
66
- };
47
+ }
67
48
  /**
68
49
  * Gets the value of <code>touchResponse</code> property.
69
50
  * Data visualizations require a press and hold delay before triggering tooltips and rollover effects on mobile devices to avoid interfering with page panning, but these hold delays can make applications seem slower and less responsive. For a better user experience, the application can remove the touch and hold delay when data visualizations are used within a non scrolling container or if there is sufficient space outside of the visualization for panning. If touchResponse is touchStart the element will instantly trigger the touch gesture and consume the page pan events. If touchResponse is auto, the element will behave like touchStart if it determines that it is not rendered within scrolling content and if element panning is not available for those elements that support the feature.
70
51
  * @return The value of <code>touchResponse</code> property.
71
52
  *
72
53
  */
73
- TagCloudWebElementBase.prototype.getTouchResponse = function () {
54
+ getTouchResponse() {
74
55
  return this.getProperty('touchResponse');
75
- };
56
+ }
76
57
  /**
77
58
  * Gets the value of <code>highlightMatch</code> property.
78
59
  * The matching condition for the highlightedCategories option. By default, highlightMatch is 'all' and only items whose categories match all of the values specified in the highlightedCategories array will be highlighted. If highlightMatch is 'any', then items that match at least one of the highlightedCategories values will be highlighted.
79
60
  * @return The value of <code>highlightMatch</code> property.
80
61
  *
81
62
  */
82
- TagCloudWebElementBase.prototype.getHighlightMatch = function () {
63
+ getHighlightMatch() {
83
64
  return this.getProperty('highlightMatch');
84
- };
65
+ }
85
66
  /**
86
67
  * Sets the value of <code>highlightedCategories</code> property.
87
68
  * An array of categories that will be highlighted.
88
69
  * @param highlightedCategories The value to set for <code>highlightedCategories</code>
89
70
  *
90
71
  */
91
- TagCloudWebElementBase.prototype.changeHighlightedCategories = function (highlightedCategories) {
72
+ changeHighlightedCategories(highlightedCategories) {
92
73
  return this.setProperty('highlightedCategories', highlightedCategories);
93
- };
74
+ }
94
75
  /**
95
76
  * Gets the value of <code>highlightedCategories</code> property.
96
77
  * An array of categories that will be highlighted.
97
78
  * @return The value of <code>highlightedCategories</code> property.
98
79
  *
99
80
  */
100
- TagCloudWebElementBase.prototype.getHighlightedCategories = function () {
81
+ getHighlightedCategories() {
101
82
  return this.getProperty('highlightedCategories');
102
- };
83
+ }
103
84
  /**
104
85
  * Gets the value of <code>hoverBehavior</code> property.
105
86
  * Defines the behavior applied when hovering over data items.
106
87
  * @return The value of <code>hoverBehavior</code> property.
107
88
  *
108
89
  */
109
- TagCloudWebElementBase.prototype.getHoverBehavior = function () {
90
+ getHoverBehavior() {
110
91
  return this.getProperty('hoverBehavior');
111
- };
92
+ }
112
93
  /**
113
94
  * Gets the value of <code>layout</code> property.
114
95
  * The layout to use for tag display.
115
96
  * @return The value of <code>layout</code> property.
116
97
  *
117
98
  */
118
- TagCloudWebElementBase.prototype.getLayout = function () {
99
+ getLayout() {
119
100
  return this.getProperty('layout');
120
- };
101
+ }
121
102
  /**
122
103
  * Gets the value of <code>selectionMode</code> property.
123
104
  * Specifies the selection mode.
124
105
  * @return The value of <code>selectionMode</code> property.
125
106
  *
126
107
  */
127
- TagCloudWebElementBase.prototype.getSelectionMode = function () {
108
+ getSelectionMode() {
128
109
  return this.getProperty('selectionMode');
129
- };
110
+ }
130
111
  /**
131
112
  * Sets the value of <code>selection</code> property.
132
113
  * An array containing the ids of the initially selected data items.
133
114
  * @param selection The value to set for <code>selection</code>
134
115
  *
135
116
  */
136
- TagCloudWebElementBase.prototype.changeSelection = function (selection) {
117
+ changeSelection(selection) {
137
118
  return this.setProperty('selection', selection);
138
- };
119
+ }
139
120
  /**
140
121
  * Gets the value of <code>selection</code> property.
141
122
  * An array containing the ids of the initially selected data items.
142
123
  * @return The value of <code>selection</code> property.
143
124
  *
144
125
  */
145
- TagCloudWebElementBase.prototype.getSelection = function () {
126
+ getSelection() {
146
127
  return this.getProperty('selection');
147
- };
148
- return TagCloudWebElementBase;
149
- }(elements_1.OjWebElement));
128
+ }
129
+ }
150
130
  exports.TagCloudWebElementBase = TagCloudWebElementBase;
131
+ //# sourceMappingURL=TagCloudWebElementBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagCloudWebElementBase.js","sourceRoot":"","sources":["TagCloudWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,sBAAuB,SAAQ,uBAAY;IACtD;;;;;OAKG;IACI,OAAO;QACZ,OAAO,IAAI,CAAC,WAAW,CAAO,MAAM,CAAC,CAAC;IACxC,CAAC;IAED;;;;;OAKG;IACI,UAAU;QACf,OAAO,IAAI,CAAC,WAAW,CAAO,SAAS,CAAC,CAAC;IAC3C,CAAC;IAED;;;;;OAKG;IACI,sBAAsB,CAAC,gBAA+B;QAC3D,OAAO,IAAI,CAAC,WAAW,CAAgB,kBAAkB,EAAE,gBAAgB,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;OAKG;IACI,mBAAmB;QACxB,OAAO,IAAI,CAAC,WAAW,CAAgB,kBAAkB,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACI,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAS,gBAAgB,CAAC,CAAC;IACpD,CAAC;IAED;;;;;OAKG;IACI,2BAA2B,CAAC,qBAAoC;QACrE,OAAO,IAAI,CAAC,WAAW,CAAgB,uBAAuB,EAAE,qBAAqB,CAAC,CAAC;IACzF,CAAC;IAED;;;;;OAKG;IACI,wBAAwB;QAC7B,OAAO,IAAI,CAAC,WAAW,CAAgB,uBAAuB,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACI,SAAS;QACd,OAAO,IAAI,CAAC,WAAW,CAAS,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACI,eAAe,CAAC,SAAqB;QAC1C,OAAO,IAAI,CAAC,WAAW,CAAa,WAAW,EAAE,SAAS,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAa,WAAW,CAAC,CAAC;IACnD,CAAC;CACF;AAlID,wDAkIC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-tag-cloud 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, TagCloudWebElement.ts.\n */\nexport class TagCloudWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>data</code> property.\n * Specifies the DataProvider for the sections and items of the tag-cloud\n * @return The value of <code>data</code> property.\n *\n */\n public getData(): Promise<null> {\n return this.getProperty<null>('data');\n }\n\n /**\n * Gets the value of <code>datatip</code> property.\n *\n * @return The value of <code>datatip</code> property.\n *\n */\n public getDatatip(): Promise<null> {\n return this.getProperty<null>('datatip');\n }\n\n /**\n * Sets the value of <code>hiddenCategories</code> property.\n * An array of categories that will be hidden.\n * @param hiddenCategories The value to set for <code>hiddenCategories</code>\n *\n */\n public changeHiddenCategories(hiddenCategories: Array<string>): Promise<void> {\n return this.setProperty<Array<string>>('hiddenCategories', hiddenCategories);\n }\n\n /**\n * Gets the value of <code>hiddenCategories</code> property.\n * An array of categories that will be hidden.\n * @return The value of <code>hiddenCategories</code> property.\n *\n */\n public getHiddenCategories(): Promise<Array<string>> {\n return this.getProperty<Array<string>>('hiddenCategories');\n }\n\n /**\n * Gets the value of <code>touchResponse</code> property.\n * Data visualizations require a press and hold delay before triggering tooltips and rollover effects on mobile devices to avoid interfering with page panning, but these hold delays can make applications seem slower and less responsive. For a better user experience, the application can remove the touch and hold delay when data visualizations are used within a non scrolling container or if there is sufficient space outside of the visualization for panning. If touchResponse is touchStart the element will instantly trigger the touch gesture and consume the page pan events. If touchResponse is auto, the element will behave like touchStart if it determines that it is not rendered within scrolling content and if element panning is not available for those elements that support the feature.\n * @return The value of <code>touchResponse</code> property.\n *\n */\n public getTouchResponse(): Promise<string> {\n return this.getProperty<string>('touchResponse');\n }\n\n /**\n * Gets the value of <code>highlightMatch</code> property.\n * The matching condition for the highlightedCategories option. By default, highlightMatch is 'all' and only items whose categories match all of the values specified in the highlightedCategories array will be highlighted. If highlightMatch is 'any', then items that match at least one of the highlightedCategories values will be highlighted.\n * @return The value of <code>highlightMatch</code> property.\n *\n */\n public getHighlightMatch(): Promise<string> {\n return this.getProperty<string>('highlightMatch');\n }\n\n /**\n * Sets the value of <code>highlightedCategories</code> property.\n * An array of categories that will be highlighted.\n * @param highlightedCategories The value to set for <code>highlightedCategories</code>\n *\n */\n public changeHighlightedCategories(highlightedCategories: Array<string>): Promise<void> {\n return this.setProperty<Array<string>>('highlightedCategories', highlightedCategories);\n }\n\n /**\n * Gets the value of <code>highlightedCategories</code> property.\n * An array of categories that will be highlighted.\n * @return The value of <code>highlightedCategories</code> property.\n *\n */\n public getHighlightedCategories(): Promise<Array<string>> {\n return this.getProperty<Array<string>>('highlightedCategories');\n }\n\n /**\n * Gets the value of <code>hoverBehavior</code> property.\n * Defines the behavior applied when hovering over data items.\n * @return The value of <code>hoverBehavior</code> property.\n *\n */\n public getHoverBehavior(): Promise<string> {\n return this.getProperty<string>('hoverBehavior');\n }\n\n /**\n * Gets the value of <code>layout</code> property.\n * The layout to use for tag display.\n * @return The value of <code>layout</code> property.\n *\n */\n public getLayout(): Promise<string> {\n return this.getProperty<string>('layout');\n }\n\n /**\n * Gets the value of <code>selectionMode</code> property.\n * Specifies the selection mode.\n * @return The value of <code>selectionMode</code> property.\n *\n */\n public getSelectionMode(): Promise<string> {\n return this.getProperty<string>('selectionMode');\n }\n\n /**\n * Sets the value of <code>selection</code> property.\n * An array containing the ids of the initially selected data items.\n * @param selection The value to set for <code>selection</code>\n *\n */\n public changeSelection(selection: Array<any>): Promise<void> {\n return this.setProperty<Array<any>>('selection', selection);\n }\n\n /**\n * Gets the value of <code>selection</code> property.\n * An array containing the ids of the initially selected data items.\n * @return The value of <code>selection</code> property.\n *\n */\n public getSelection(): Promise<Array<any>> {\n return this.getProperty<Array<any>>('selection');\n }\n}\n"]}
@@ -0,0 +1,17 @@
1
+ import { By } from 'selenium-webdriver';
2
+ import { DriverLike } from '@oracle/oraclejet-webdriver';
3
+ import { TagCloudWebElement } from './TagCloudWebElement';
4
+ export { TagCloudWebElement };
5
+ /**
6
+ * Retrieve an instance of [[TagCloudWebElement]].
7
+ * @example
8
+ * ```javascript
9
+ * import { findTagCloud } from '@oracle/oraclejet-core-pack/webdriver';
10
+ * const el = await findTagCloud(driver, By.id('my-oj-c-tag-cloud'));
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 findTagCloud(driver: DriverLike, by: By): Promise<TagCloudWebElement>;
@@ -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.findTagCloud = exports.TagCloudWebElement = void 0;
40
4
  var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
@@ -52,23 +16,15 @@ Object.defineProperty(exports, "TagCloudWebElement", { 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 findTagCloud(driver, by) {
56
- return __awaiter(this, void 0, void 0, function () {
57
- var webEl, tagName;
58
- return __generator(this, function (_a) {
59
- switch (_a.label) {
60
- case 0: return [4 /*yield*/, driver.findElement(by)];
61
- case 1:
62
- webEl = _a.sent();
63
- if (!!(webEl instanceof TagCloudWebElement_1.TagCloudWebElement)) return [3 /*break*/, 3];
64
- return [4 /*yield*/, webEl.getTagName()];
65
- case 2:
66
- tagName = _a.sent();
67
- throw Error("findTagCloud(".concat(by, ") created ").concat(webEl.constructor.name, " for <").concat(tagName, ">, but expected ").concat(TagCloudWebElement_1.TagCloudWebElement.name));
68
- case 3: return [2 /*return*/, webEl];
69
- }
70
- });
71
- });
19
+ async function findTagCloud(driver, by) {
20
+ const webEl = await driver.findElement(by);
21
+ // Check that the element is of type TagCloudWebElement
22
+ if (!(webEl instanceof TagCloudWebElement_1.TagCloudWebElement)) {
23
+ const tagName = await webEl.getTagName();
24
+ throw Error(`findTagCloud(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${TagCloudWebElement_1.TagCloudWebElement.name}`);
25
+ }
26
+ return webEl;
72
27
  }
73
28
  exports.findTagCloud = findTagCloud;
74
29
  (0, oraclejet_webdriver_1.register)('oj-c-tag-cloud', TagCloudWebElement_1.TagCloudWebElement);
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 { TagCloudWebElement } from './TagCloudWebElement';\nexport { TagCloudWebElement };\n\n/**\n * Retrieve an instance of [[TagCloudWebElement]].\n * @example\n * ```javascript\n * import { findTagCloud } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findTagCloud(driver, By.id('my-oj-c-tag-cloud'));\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 findTagCloud(driver: DriverLike, by: By): Promise<TagCloudWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type TagCloudWebElement\n if (!(webEl instanceof TagCloudWebElement)) {\n const tagName = await webEl.getTagName();\n throw Error(\n `findTagCloud(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${TagCloudWebElement.name}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-tag-cloud', TagCloudWebElement);\n"]}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tag-cloud",
3
- "version": "15.0.2",
4
- "jetVersion": "^15.0.2",
3
+ "version": "15.0.4",
4
+ "jetVersion": "^15.0.4",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "license": "https://opensource.org/licenses/UPL",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tag-cloud-item",
3
- "version": "15.0.2",
4
- "jetVersion": "^15.0.2",
3
+ "version": "15.0.4",
4
+ "jetVersion": "^15.0.4",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "license": "https://opensource.org/licenses/UPL",
@@ -0,0 +1,8 @@
1
+ import { TextAreaWebElementBase } from './TextAreaWebElementBase';
2
+ /**
3
+ * The component WebElement for [oj-c-text-area](../../../oj-c/docs/oj.TextArea.html).
4
+ * Do not instantiate this class directly, instead, use
5
+ * [findTextArea](../modules.html#findTextArea).
6
+ */
7
+ export declare class TextAreaWebElement extends TextAreaWebElementBase {
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.TextAreaWebElement = void 0;
19
4
  var TextAreaWebElementBase_1 = require("./TextAreaWebElementBase");
@@ -22,11 +7,7 @@ var TextAreaWebElementBase_1 = require("./TextAreaWebElementBase");
22
7
  * Do not instantiate this class directly, instead, use
23
8
  * [findTextArea](../modules.html#findTextArea).
24
9
  */
25
- var TextAreaWebElement = /** @class */ (function (_super) {
26
- __extends(TextAreaWebElement, _super);
27
- function TextAreaWebElement() {
28
- return _super !== null && _super.apply(this, arguments) || this;
29
- }
30
- return TextAreaWebElement;
31
- }(TextAreaWebElementBase_1.TextAreaWebElementBase));
10
+ class TextAreaWebElement extends TextAreaWebElementBase_1.TextAreaWebElementBase {
11
+ }
32
12
  exports.TextAreaWebElement = TextAreaWebElement;
13
+ //# sourceMappingURL=TextAreaWebElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextAreaWebElement.js","sourceRoot":"","sources":["TextAreaWebElement.ts"],"names":[],"mappings":";;;AAAA,mEAAkE;AAElE;;;;GAIG;AACH,MAAa,kBAAmB,SAAQ,+CAAsB;CAE7D;AAFD,gDAEC","sourcesContent":["import { TextAreaWebElementBase } from './TextAreaWebElementBase';\n\n/**\n * The component WebElement for [oj-c-text-area](../../../oj-c/docs/oj.TextArea.html).\n * Do not instantiate this class directly, instead, use\n * [findTextArea](../modules.html#findTextArea).\n */\nexport class TextAreaWebElement extends TextAreaWebElementBase {\n // Put overrides here\n}\n"]}