@oracle/oraclejet-core-pack 16.0.6 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/oj-c/ActionCard.json +6 -6
  2. package/oj-c/AreaChart.json +458 -1546
  3. package/oj-c/AreaChartGroup.json +8 -7
  4. package/oj-c/AreaChartItem.json +35 -16
  5. package/oj-c/AreaChartSeries.json +15 -14
  6. package/oj-c/Avatar.json +10 -10
  7. package/oj-c/Button.json +19 -19
  8. package/oj-c/Checkbox.json +29 -29
  9. package/oj-c/Checkboxset.json +35 -35
  10. package/oj-c/Collapsible.json +14 -14
  11. package/oj-c/DrawerPopup.json +12 -12
  12. package/oj-c/FilePicker.json +20 -20
  13. package/oj-c/FormLayout.json +15 -15
  14. package/oj-c/HighlightText.json +6 -6
  15. package/oj-c/InputDateMask.json +75 -75
  16. package/oj-c/InputDateText.json +44 -44
  17. package/oj-c/InputMonthMask.json +1402 -0
  18. package/oj-c/InputNumber.json +51 -51
  19. package/oj-c/InputPassword.json +42 -42
  20. package/oj-c/InputSensitiveText.json +1420 -0
  21. package/oj-c/InputText.json +48 -48
  22. package/oj-c/LabelledLink.json +21 -21
  23. package/oj-c/Legend.json +36 -36
  24. package/oj-c/LegendItem.json +20 -15
  25. package/oj-c/LegendSection.json +6 -5
  26. package/oj-c/LineChart.json +459 -1546
  27. package/oj-c/LineChartGroup.json +8 -7
  28. package/oj-c/LineChartItem.json +35 -16
  29. package/oj-c/LineChartSeries.json +17 -16
  30. package/oj-c/ListItemLayout.json +16 -16
  31. package/oj-c/ListView.json +18 -18
  32. package/oj-c/MenuButton.json +21 -21
  33. package/oj-c/MessageBanner.json +11 -11
  34. package/oj-c/MessageToast.json +13 -13
  35. package/oj-c/MeterBar.json +26 -26
  36. package/oj-c/MeterCircle.json +30 -30
  37. package/oj-c/ProgressBar.json +7 -7
  38. package/oj-c/ProgressCircle.json +7 -7
  39. package/oj-c/Radioset.json +35 -35
  40. package/oj-c/RatingGauge.json +21 -21
  41. package/oj-c/SelectMultiple.json +41 -41
  42. package/oj-c/SelectSingle.json +45 -45
  43. package/oj-c/SelectionCard.json +6 -6
  44. package/oj-c/Selector.json +8 -8
  45. package/oj-c/SelectorAll.json +25 -5
  46. package/oj-c/SplitMenuButton.json +60 -17
  47. package/oj-c/TabBarMixed.json +606 -0
  48. package/oj-c/TagCloud.json +18 -18
  49. package/oj-c/TagCloudItem.json +11 -10
  50. package/oj-c/TextArea.json +45 -45
  51. package/oj-c/action-card/component.json +2 -2
  52. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +175 -38
  53. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +16 -7
  54. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
  55. package/oj-c/area-chart/area-chart.js +4 -4
  56. package/oj-c/area-chart/component.json +552 -770
  57. package/oj-c/area-chart-group/area-chart-group.js +1 -1
  58. package/oj-c/area-chart-group/component.json +4 -3
  59. package/oj-c/area-chart-item/area-chart-item.js +1 -1
  60. package/oj-c/area-chart-item/component.json +10 -4
  61. package/oj-c/area-chart-series/area-chart-series.js +1 -1
  62. package/oj-c/area-chart-series/component.json +4 -3
  63. package/oj-c/avatar/component.json +2 -2
  64. package/oj-c/button/button.js +7 -7
  65. package/oj-c/button/component.json +2 -2
  66. package/oj-c/checkbox/component.json +2 -2
  67. package/oj-c/checkboxset/component.json +2 -2
  68. package/oj-c/collapsible/component.json +2 -2
  69. package/oj-c/component.json +15 -3
  70. package/oj-c/corepackbundle.js +883 -353
  71. package/oj-c/docs/action-card.html +59 -50
  72. package/oj-c/docs/area-chart-group.html +59 -50
  73. package/oj-c/docs/area-chart-item.html +59 -50
  74. package/oj-c/docs/area-chart-series.html +59 -50
  75. package/oj-c/docs/area-chart.html +59 -50
  76. package/oj-c/docs/avatar.html +59 -50
  77. package/oj-c/docs/button.html +59 -50
  78. package/oj-c/docs/checkbox.html +59 -50
  79. package/oj-c/docs/checkboxset.html +59 -50
  80. package/oj-c/docs/collapsible.html +59 -50
  81. package/oj-c/docs/drawer-popup.html +59 -50
  82. package/oj-c/docs/file-picker.html +59 -50
  83. package/oj-c/docs/form-layout.html +59 -50
  84. package/oj-c/docs/highlight-text.html +59 -50
  85. package/oj-c/docs/index.html +59 -50
  86. package/oj-c/docs/input-date-mask.html +59 -50
  87. package/oj-c/docs/input-date-text.html +59 -50
  88. package/oj-c/docs/input-month-mask.html +249 -0
  89. package/oj-c/docs/input-number.html +59 -50
  90. package/oj-c/docs/input-password.html +59 -50
  91. package/oj-c/docs/input-sensitive-text.html +249 -0
  92. package/oj-c/docs/input-text.html +59 -50
  93. package/oj-c/docs/jsDocMd.json +1 -1
  94. package/oj-c/docs/labelled-link.html +59 -50
  95. package/oj-c/docs/legend-item.html +59 -50
  96. package/oj-c/docs/legend-section.html +59 -50
  97. package/oj-c/docs/legend.html +59 -50
  98. package/oj-c/docs/line-chart-group.html +59 -50
  99. package/oj-c/docs/line-chart-item.html +59 -50
  100. package/oj-c/docs/line-chart-series.html +59 -50
  101. package/oj-c/docs/line-chart.html +59 -50
  102. package/oj-c/docs/list-item-layout.html +59 -50
  103. package/oj-c/docs/list-view.html +59 -50
  104. package/oj-c/docs/menu-button.html +59 -50
  105. package/oj-c/docs/message-banner.html +59 -50
  106. package/oj-c/docs/message-toast.html +59 -50
  107. package/oj-c/docs/meter-bar.html +59 -50
  108. package/oj-c/docs/meter-circle.html +59 -50
  109. package/oj-c/docs/oj-c.ActionCard.html +60 -51
  110. package/oj-c/docs/oj-c.AreaChart.html +1452 -214
  111. package/oj-c/docs/oj-c.AreaChartGroup.html +63 -51
  112. package/oj-c/docs/oj-c.AreaChartItem.html +125 -54
  113. package/oj-c/docs/oj-c.AreaChartSeries.html +63 -51
  114. package/oj-c/docs/oj-c.Avatar.html +60 -51
  115. package/oj-c/docs/oj-c.Button.html +60 -51
  116. package/oj-c/docs/oj-c.Checkbox.html +60 -51
  117. package/oj-c/docs/oj-c.Checkboxset.html +60 -51
  118. package/oj-c/docs/oj-c.Collapsible.html +60 -51
  119. package/oj-c/docs/oj-c.DrawerPopup.html +60 -51
  120. package/oj-c/docs/oj-c.FilePicker.html +60 -51
  121. package/oj-c/docs/oj-c.FormLayout.html +60 -51
  122. package/oj-c/docs/oj-c.HighlightText.html +60 -51
  123. package/oj-c/docs/oj-c.InputDateMask.html +81 -64
  124. package/oj-c/docs/oj-c.InputDateText.html +60 -51
  125. package/oj-c/docs/oj-c.InputMonthMask.html +5940 -0
  126. package/oj-c/docs/oj-c.InputNumber.html +60 -51
  127. package/oj-c/docs/oj-c.InputPassword.html +80 -62
  128. package/oj-c/docs/oj-c.InputSensitiveText.html +5723 -0
  129. package/oj-c/docs/oj-c.InputText.html +60 -51
  130. package/oj-c/docs/oj-c.LabelledLink.html +60 -51
  131. package/oj-c/docs/oj-c.Legend.html +60 -51
  132. package/oj-c/docs/oj-c.LegendItem.html +75 -51
  133. package/oj-c/docs/oj-c.LegendSection.html +63 -51
  134. package/oj-c/docs/oj-c.LineChart.html +1455 -217
  135. package/oj-c/docs/oj-c.LineChartGroup.html +63 -51
  136. package/oj-c/docs/oj-c.LineChartItem.html +125 -54
  137. package/oj-c/docs/oj-c.LineChartSeries.html +63 -51
  138. package/oj-c/docs/oj-c.ListItemLayout.html +60 -51
  139. package/oj-c/docs/oj-c.ListView.html +60 -51
  140. package/oj-c/docs/oj-c.MenuButton.html +60 -51
  141. package/oj-c/docs/oj-c.MessageBanner.html +60 -51
  142. package/oj-c/docs/oj-c.MessageToast.html +60 -51
  143. package/oj-c/docs/oj-c.MeterBar.html +60 -51
  144. package/oj-c/docs/oj-c.MeterCircle.html +60 -51
  145. package/oj-c/docs/oj-c.ProgressBar.html +60 -51
  146. package/oj-c/docs/oj-c.ProgressCircle.html +60 -51
  147. package/oj-c/docs/oj-c.Radioset.html +60 -51
  148. package/oj-c/docs/oj-c.RatingGauge.html +60 -51
  149. package/oj-c/docs/oj-c.SelectMultiple.html +60 -51
  150. package/oj-c/docs/oj-c.SelectSingle.html +60 -51
  151. package/oj-c/docs/oj-c.Selector.html +60 -51
  152. package/oj-c/docs/oj-c.SelectorAll.html +149 -52
  153. package/oj-c/docs/oj-c.SplitMenuButton.html +299 -52
  154. package/oj-c/docs/oj-c.TabBarMixed.html +2660 -0
  155. package/oj-c/docs/oj-c.TagCloud.html +60 -51
  156. package/oj-c/docs/oj-c.TagCloudItem.html +63 -51
  157. package/oj-c/docs/oj-c.TextArea.html +60 -51
  158. package/oj-c/docs/progress-bar.html +59 -50
  159. package/oj-c/docs/progress-circle.html +59 -50
  160. package/oj-c/docs/radioset.html +59 -50
  161. package/oj-c/docs/rating-gauge.html +59 -50
  162. package/oj-c/docs/select-multiple.html +59 -50
  163. package/oj-c/docs/select-single.html +59 -50
  164. package/oj-c/docs/selection-card.html +59 -50
  165. package/oj-c/docs/selector-all.html +59 -50
  166. package/oj-c/docs/selector.html +59 -50
  167. package/oj-c/docs/split-menu-button.html +59 -50
  168. package/oj-c/docs/tab-bar-mixed.html +249 -0
  169. package/oj-c/docs/tag-cloud-item.html +59 -50
  170. package/oj-c/docs/tag-cloud.html +59 -50
  171. package/oj-c/docs/text-area.html +59 -50
  172. package/oj-c/drawer-popup/component.json +2 -2
  173. package/oj-c/file-picker/component.json +2 -2
  174. package/oj-c/form-layout/component.json +2 -2
  175. package/oj-c/highlight-text/component.json +2 -2
  176. package/oj-c/hooks/UNSAFE_useListData/useListData.js +5 -2
  177. package/oj-c/input-date-mask/component.json +17 -15
  178. package/oj-c/input-date-mask/input-date-mask.js +45 -88
  179. package/oj-c/input-date-text/component.json +3 -6
  180. package/oj-c/input-month-mask/CalendarMonthConverter.js +32 -0
  181. package/oj-c/input-month-mask/CalendarMonthRangeValidator.js +56 -0
  182. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.d.ts +16 -0
  183. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js +23 -0
  184. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js.map +1 -0
  185. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.d.ts +275 -0
  186. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js +248 -0
  187. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js.map +1 -0
  188. package/oj-c/input-month-mask/__webdriver__/index.d.ts +17 -0
  189. package/oj-c/input-month-mask/__webdriver__/index.js +34 -0
  190. package/oj-c/input-month-mask/__webdriver__/index.js.map +1 -0
  191. package/oj-c/input-month-mask/component.json +493 -0
  192. package/oj-c/input-month-mask/index.js +6 -0
  193. package/oj-c/input-month-mask/input-month-mask-styles.css +14 -0
  194. package/oj-c/input-month-mask/input-month-mask.js +69 -0
  195. package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +26 -0
  196. package/oj-c/input-month-mask/useInputMonthMaskPreact.js +88 -0
  197. package/oj-c/input-month-mask.js +6 -0
  198. package/oj-c/input-number/component.json +2 -2
  199. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +1 -1
  200. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +1 -1
  201. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
  202. package/oj-c/input-password/component.json +5 -5
  203. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.d.ts +17 -0
  204. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js +50 -0
  205. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js.map +1 -0
  206. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.d.ts +259 -0
  207. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js +266 -0
  208. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js.map +1 -0
  209. package/oj-c/input-sensitive-text/__webdriver__/index.d.ts +17 -0
  210. package/oj-c/input-sensitive-text/__webdriver__/index.js +34 -0
  211. package/oj-c/input-sensitive-text/__webdriver__/index.js.map +1 -0
  212. package/oj-c/input-sensitive-text/component.json +574 -0
  213. package/oj-c/input-sensitive-text/index.js +6 -0
  214. package/oj-c/input-sensitive-text/input-sensitive-text-styles.css +13 -0
  215. package/oj-c/input-sensitive-text/input-sensitive-text.js +74 -0
  216. package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +52 -0
  217. package/oj-c/input-sensitive-text.js +6 -0
  218. package/oj-c/input-text/component.json +2 -2
  219. package/oj-c/labelled-link/component.json +2 -2
  220. package/oj-c/legend/component.json +2 -2
  221. package/oj-c/legend/legend-styles.css +1 -0
  222. package/oj-c/legend-item/component.json +12 -7
  223. package/oj-c/legend-item/legend-item.js +1 -1
  224. package/oj-c/legend-section/component.json +4 -3
  225. package/oj-c/legend-section/legend-section.js +1 -1
  226. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +172 -35
  227. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +13 -4
  228. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
  229. package/oj-c/line-chart/component.json +558 -775
  230. package/oj-c/line-chart/line-chart.js +4 -4
  231. package/oj-c/line-chart-group/component.json +4 -3
  232. package/oj-c/line-chart-group/line-chart-group.js +1 -1
  233. package/oj-c/line-chart-item/component.json +11 -5
  234. package/oj-c/line-chart-item/line-chart-item.js +1 -1
  235. package/oj-c/line-chart-series/component.json +4 -3
  236. package/oj-c/line-chart-series/line-chart-series.js +1 -1
  237. package/oj-c/list-item-layout/component.json +2 -2
  238. package/oj-c/list-view/component.json +2 -2
  239. package/oj-c/menu-button/component.json +2 -2
  240. package/oj-c/menu-button/menu-button.js +2 -2
  241. package/oj-c/message-banner/component.json +2 -2
  242. package/oj-c/message-toast/component.json +2 -2
  243. package/oj-c/metadata/allComponents.json +3619 -2700
  244. package/oj-c/meter-bar/component.json +2 -2
  245. package/oj-c/meter-circle/component.json +2 -2
  246. package/oj-c/min/area-chart-group.js +1 -1
  247. package/oj-c/min/area-chart-group.js.map +1 -1
  248. package/oj-c/min/area-chart-item.js +1 -1
  249. package/oj-c/min/area-chart-item.js.map +1 -1
  250. package/oj-c/min/area-chart-series.js +1 -1
  251. package/oj-c/min/area-chart-series.js.map +1 -1
  252. package/oj-c/min/area-chart.js +1 -1
  253. package/oj-c/min/area-chart.js.map +1 -1
  254. package/oj-c/min/button.js +1 -1
  255. package/oj-c/min/button.js.map +1 -1
  256. package/oj-c/min/corepackbundle.css +28 -1
  257. package/oj-c/min/corepackbundle.js +1 -1
  258. package/oj-c/min/corepackbundle.js.map +1 -1
  259. package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +5 -2
  260. package/oj-c/min/input-date-mask.js +1 -1
  261. package/oj-c/min/input-date-mask.js.map +1 -1
  262. package/oj-c/min/input-month-mask/input-month-mask-styles.css +14 -0
  263. package/oj-c/min/input-month-mask.js +2 -0
  264. package/oj-c/min/input-month-mask.js.map +1 -0
  265. package/oj-c/min/input-sensitive-text/input-sensitive-text-styles.css +13 -0
  266. package/oj-c/min/input-sensitive-text.js +2 -0
  267. package/oj-c/min/input-sensitive-text.js.map +1 -0
  268. package/oj-c/min/legend/legend-styles.css +1 -0
  269. package/oj-c/min/legend-item.js +1 -1
  270. package/oj-c/min/legend-item.js.map +1 -1
  271. package/oj-c/min/legend-section.js +1 -1
  272. package/oj-c/min/legend-section.js.map +1 -1
  273. package/oj-c/min/legend.js +1 -1
  274. package/oj-c/min/legend.js.map +1 -1
  275. package/oj-c/min/line-chart-group.js +1 -1
  276. package/oj-c/min/line-chart-group.js.map +1 -1
  277. package/oj-c/min/line-chart-item.js +1 -1
  278. package/oj-c/min/line-chart-item.js.map +1 -1
  279. package/oj-c/min/line-chart-series.js +1 -1
  280. package/oj-c/min/line-chart-series.js.map +1 -1
  281. package/oj-c/min/line-chart.js +1 -1
  282. package/oj-c/min/line-chart.js.map +1 -1
  283. package/oj-c/min/list-view.js +1 -1
  284. package/oj-c/min/list-view.js.map +1 -1
  285. package/oj-c/min/menu-button.js +1 -1
  286. package/oj-c/min/menu-button.js.map +1 -1
  287. package/oj-c/min/select-multiple.js +2 -2
  288. package/oj-c/min/select-multiple.js.map +1 -1
  289. package/oj-c/min/select-single.js +2 -2
  290. package/oj-c/min/select-single.js.map +1 -1
  291. package/oj-c/min/selector-all.js +1 -1
  292. package/oj-c/min/selector-all.js.map +1 -1
  293. package/oj-c/min/split-menu-button.js +1 -1
  294. package/oj-c/min/split-menu-button.js.map +1 -1
  295. package/oj-c/min/tab-bar-mixed/tab-bar-mixed-styles.css +11 -0
  296. package/oj-c/min/tab-bar-mixed.js +2 -0
  297. package/oj-c/min/tab-bar-mixed.js.map +1 -0
  298. package/oj-c/min/tag-cloud-item.js +1 -1
  299. package/oj-c/min/tag-cloud-item.js.map +1 -1
  300. package/oj-c/min/tag-cloud.js +1 -1
  301. package/oj-c/min/tag-cloud.js.map +1 -1
  302. package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
  303. package/oj-c/min/utils/PRIVATE_chartUtils/axisUtils.js +24 -0
  304. package/oj-c/progress-bar/component.json +2 -2
  305. package/oj-c/progress-circle/component.json +2 -2
  306. package/oj-c/radioset/component.json +2 -2
  307. package/oj-c/rating-gauge/component.json +2 -2
  308. package/oj-c/select-multiple/component.json +2 -2
  309. package/oj-c/select-single/component.json +2 -2
  310. package/oj-c/selection-card/component.json +2 -2
  311. package/oj-c/selector/component.json +2 -2
  312. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.d.ts +7 -0
  313. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +9 -0
  314. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -1
  315. package/oj-c/selector-all/component.json +12 -2
  316. package/oj-c/selector-all/selector-all.js +3 -3
  317. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.d.ts +1 -1
  318. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +1 -1
  319. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
  320. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.d.ts +7 -0
  321. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +9 -0
  322. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
  323. package/oj-c/split-menu-button/component.json +21 -2
  324. package/oj-c/split-menu-button/split-menu-button.js +18 -27
  325. package/oj-c/tab-bar-mixed/DataTabBarMixed.js +43 -0
  326. package/oj-c/tab-bar-mixed/DataTabBarMixed.types.js +4 -0
  327. package/oj-c/tab-bar-mixed/DataTabBarMixedIcon.js +16 -0
  328. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_ConveyorBelt.js +10 -0
  329. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_TabBarMixed.js +34 -0
  330. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.d.ts +8 -0
  331. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +13 -0
  332. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -0
  333. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.d.ts +116 -0
  334. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js +95 -0
  335. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js.map +1 -0
  336. package/oj-c/tab-bar-mixed/__webdriver__/index.d.ts +17 -0
  337. package/oj-c/tab-bar-mixed/__webdriver__/index.js +34 -0
  338. package/oj-c/tab-bar-mixed/__webdriver__/index.js.map +1 -0
  339. package/oj-c/tab-bar-mixed/component.json +236 -0
  340. package/oj-c/tab-bar-mixed/environment.js +13 -0
  341. package/oj-c/tab-bar-mixed/index.js +6 -0
  342. package/oj-c/tab-bar-mixed/sumBadge.js +23 -0
  343. package/oj-c/tab-bar-mixed/tab-bar-mixed-styles.css +11 -0
  344. package/oj-c/tab-bar-mixed/tab-bar-mixed.js +39 -0
  345. package/oj-c/tab-bar-mixed.js +6 -0
  346. package/oj-c/tag-cloud/component.json +2 -2
  347. package/oj-c/tag-cloud-item/component.json +4 -3
  348. package/oj-c/tag-cloud-item/tag-cloud-item.js +1 -1
  349. package/oj-c/text-area/component.json +2 -2
  350. package/oj-c/types/area-chart/area-chart.d.ts +7 -2
  351. package/oj-c/types/area-chart-item/area-chart-item.d.ts +5 -0
  352. package/oj-c/types/input-date-mask/input-date-mask.d.ts +15 -20
  353. package/oj-c/types/input-month-mask/CalendarMonthConverter.d.ts +19 -0
  354. package/oj-c/types/input-month-mask/CalendarMonthRangeValidator.d.ts +34 -0
  355. package/oj-c/types/input-month-mask/index.d.ts +2 -0
  356. package/oj-c/types/input-month-mask/input-month-mask.d.ts +184 -0
  357. package/oj-c/types/input-month-mask/useImplicitCalendarMonthRangeValidator.d.ts +13 -0
  358. package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +39 -0
  359. package/oj-c/types/input-number/useImplicitNumberConverter.d.ts +1 -1
  360. package/oj-c/types/input-sensitive-text/index.d.ts +2 -0
  361. package/oj-c/types/input-sensitive-text/input-sensitive-text.d.ts +199 -0
  362. package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +41 -0
  363. package/oj-c/types/line-chart/line-chart.d.ts +7 -2
  364. package/oj-c/types/line-chart-item/line-chart-item.d.ts +5 -0
  365. package/oj-c/types/selector-all/selector-all.d.ts +10 -3
  366. package/oj-c/types/split-menu-button/index.d.ts +1 -1
  367. package/oj-c/types/split-menu-button/split-menu-button.d.ts +18 -14
  368. package/oj-c/types/tab-bar-mixed/DataTabBarMixed.d.ts +2 -0
  369. package/oj-c/types/tab-bar-mixed/DataTabBarMixed.types.d.ts +27 -0
  370. package/oj-c/types/tab-bar-mixed/DataTabBarMixedIcon.d.ts +12 -0
  371. package/oj-c/types/tab-bar-mixed/environment.d.ts +1 -0
  372. package/oj-c/types/tab-bar-mixed/index.d.ts +2 -0
  373. package/oj-c/types/tab-bar-mixed/sumBadge.d.ts +6 -0
  374. package/oj-c/types/tab-bar-mixed/tab-bar-mixed.d.ts +104 -0
  375. package/oj-c/types/utils/PRIVATE_ItemsMenu/index.d.ts +1 -1
  376. package/oj-c/types/utils/PRIVATE_ItemsMenu/items-menu.d.ts +3 -2
  377. package/oj-c/types/utils/PRIVATE_chartUtils/axisUtils.d.ts +3 -0
  378. package/oj-c/types/utils/UNSAFE_vizTypes/chartTypes.d.ts +55 -19
  379. package/oj-c/types/utils/UNSAFE_vizTypes/index.d.ts +1 -0
  380. package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
  381. package/oj-c/utils/PRIVATE_chartUtils/axisUtils.js +24 -0
  382. package/package.json +4 -4
  383. package/webdriver/docs/assets/navigation.js +1 -1
  384. package/webdriver/docs/assets/search.js +1 -1
  385. package/webdriver/docs/classes/ActionCardWebElement.html +1 -1
  386. package/webdriver/docs/classes/AreaChartWebElement.html +19 -8
  387. package/webdriver/docs/classes/AvatarWebElement.html +1 -1
  388. package/webdriver/docs/classes/ButtonWebElement.html +1 -1
  389. package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
  390. package/webdriver/docs/classes/CheckboxsetWebElement.html +1 -1
  391. package/webdriver/docs/classes/CollapsibleWebElement.html +1 -1
  392. package/webdriver/docs/classes/DrawerPopupWebElement.html +1 -1
  393. package/webdriver/docs/classes/FilePickerWebElement.html +1 -1
  394. package/webdriver/docs/classes/FormLayoutWebElement.html +1 -1
  395. package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
  396. package/webdriver/docs/classes/InputDateMaskWebElement.html +1 -1
  397. package/webdriver/docs/classes/InputDateTextWebElement.html +1 -1
  398. package/webdriver/docs/classes/InputMonthMaskWebElement.html +211 -0
  399. package/webdriver/docs/classes/InputNumberWebElement.html +1 -1
  400. package/webdriver/docs/classes/InputPasswordWebElement.html +2 -2
  401. package/webdriver/docs/classes/InputSensitiveTextWebElement.html +215 -0
  402. package/webdriver/docs/classes/InputTextWebElement.html +1 -1
  403. package/webdriver/docs/classes/LabelledLinkWebElement.html +1 -1
  404. package/webdriver/docs/classes/LegendWebElement.html +1 -1
  405. package/webdriver/docs/classes/LineChartWebElement.html +12 -6
  406. package/webdriver/docs/classes/ListItemLayoutWebElement.html +1 -1
  407. package/webdriver/docs/classes/ListViewWebElement.html +1 -1
  408. package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
  409. package/webdriver/docs/classes/MessageBannerWebElement.html +1 -1
  410. package/webdriver/docs/classes/MessageToastWebElement.html +1 -1
  411. package/webdriver/docs/classes/MeterBarWebElement.html +1 -1
  412. package/webdriver/docs/classes/MeterCircleWebElement.html +1 -1
  413. package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
  414. package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
  415. package/webdriver/docs/classes/RadiosetWebElement.html +1 -1
  416. package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
  417. package/webdriver/docs/classes/SelectMultipleWebElement.html +1 -1
  418. package/webdriver/docs/classes/SelectSingleWebElement.html +1 -1
  419. package/webdriver/docs/classes/SelectionCardWebElement.html +1 -1
  420. package/webdriver/docs/classes/SelectorAllWebElement.html +6 -2
  421. package/webdriver/docs/classes/SelectorWebElement.html +1 -1
  422. package/webdriver/docs/classes/SplitMenuButtonWebElement.html +7 -3
  423. package/webdriver/docs/classes/TabBarMixedWebElement.html +139 -0
  424. package/webdriver/docs/classes/TagCloudWebElement.html +1 -1
  425. package/webdriver/docs/classes/TextAreaWebElement.html +1 -1
  426. package/webdriver/docs/functions/findActionCard.html +1 -1
  427. package/webdriver/docs/functions/findAreaChart.html +1 -1
  428. package/webdriver/docs/functions/findAvatar.html +1 -1
  429. package/webdriver/docs/functions/findButton.html +1 -1
  430. package/webdriver/docs/functions/findCheckbox.html +1 -1
  431. package/webdriver/docs/functions/findCheckboxset.html +1 -1
  432. package/webdriver/docs/functions/findCollapsible.html +1 -1
  433. package/webdriver/docs/functions/findDrawerPopup.html +1 -1
  434. package/webdriver/docs/functions/findFilePicker.html +1 -1
  435. package/webdriver/docs/functions/findFormLayout.html +1 -1
  436. package/webdriver/docs/functions/findHighlightText.html +1 -1
  437. package/webdriver/docs/functions/findInputDateMask.html +1 -1
  438. package/webdriver/docs/functions/findInputDateText.html +1 -1
  439. package/webdriver/docs/functions/findInputMonthMask.html +8 -0
  440. package/webdriver/docs/functions/findInputNumber.html +1 -1
  441. package/webdriver/docs/functions/findInputPassword.html +1 -1
  442. package/webdriver/docs/functions/findInputSensitiveText.html +8 -0
  443. package/webdriver/docs/functions/findInputText.html +1 -1
  444. package/webdriver/docs/functions/findLabelledLink.html +1 -1
  445. package/webdriver/docs/functions/findLegend.html +1 -1
  446. package/webdriver/docs/functions/findLineChart.html +1 -1
  447. package/webdriver/docs/functions/findListItemLayout.html +1 -1
  448. package/webdriver/docs/functions/findListView.html +1 -1
  449. package/webdriver/docs/functions/findMenuButton.html +1 -1
  450. package/webdriver/docs/functions/findMessageBanner.html +1 -1
  451. package/webdriver/docs/functions/findMessageToast.html +1 -1
  452. package/webdriver/docs/functions/findMeterBar.html +1 -1
  453. package/webdriver/docs/functions/findMeterCircle.html +1 -1
  454. package/webdriver/docs/functions/findProgressBar.html +1 -1
  455. package/webdriver/docs/functions/findProgressCircle.html +1 -1
  456. package/webdriver/docs/functions/findRadioset.html +1 -1
  457. package/webdriver/docs/functions/findRatingGauge.html +1 -1
  458. package/webdriver/docs/functions/findSelectMultiple.html +1 -1
  459. package/webdriver/docs/functions/findSelectSingle.html +1 -1
  460. package/webdriver/docs/functions/findSelectionCard.html +1 -1
  461. package/webdriver/docs/functions/findSelector.html +1 -1
  462. package/webdriver/docs/functions/findSelectorAll.html +1 -1
  463. package/webdriver/docs/functions/findSplitMenuButton.html +1 -1
  464. package/webdriver/docs/functions/findTabBarMixed.html +8 -0
  465. package/webdriver/docs/functions/findTagCloud.html +1 -1
  466. package/webdriver/docs/functions/findTextArea.html +1 -1
  467. package/webdriver/docs/index.html +1 -1
  468. package/webdriver/docs/modules.html +7 -1
  469. package/webdriver/index.d.ts +3 -0
  470. package/webdriver/index.js +3 -0
  471. package/webdriver/index.js.map +1 -1
  472. package/webdriver/index.ts +3 -0
@@ -4,41 +4,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/UNSAFE_SplitMenuButton", "@oracle/oraclejet-preact/UNSAFE_Menu", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "preact", "preact/hooks", "preact/compat", "ojs/ojvcomponent", "css!oj-c/split-menu-button/split-menu-button-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_SplitMenuButton_1, UNSAFE_Menu_1, UNSAFE_useTabbableMode_1, preact_1, hooks_1, compat_1, ojvcomponent_1) {
7
+ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/UNSAFE_SplitMenuButton", "@oracle/oraclejet-preact/hooks/UNSAFE_useTooltip", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "@oracle/oraclejet-preact/utils/UNSAFE_mergeProps", "preact", "preact/hooks", "preact/compat", "ojs/ojvcomponent", "../utils/PRIVATE_ItemsMenu/items-menu", "css!oj-c/split-menu-button/split-menu-button-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_SplitMenuButton_1, UNSAFE_useTooltip_1, UNSAFE_useTabbableMode_1, UNSAFE_mergeProps_1, preact_1, hooks_1, compat_1, ojvcomponent_1, items_menu_1) {
8
8
  "use strict";
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.SplitMenuButton = void 0;
11
- const FunctionalSplitMenuButton = (0, compat_1.forwardRef)((props, ref) => {
12
- const buttonRef = (0, hooks_1.useRef)(null);
13
- (0, hooks_1.useImperativeHandle)(ref, () => ({
14
- focus: () => buttonRef.current?.focus(),
15
- blur: () => buttonRef.current?.blur(),
16
- doAction: () => buttonRef.current?.dispatchEvent(new Event('ojAction', { bubbles: true }))
17
- }), []);
18
- return (0, jsx_runtime_1.jsx)(UNSAFE_SplitMenuButton_1.SplitMenuButton, { ref: buttonRef, ...props });
19
- });
20
11
  let SplitMenuButton = class SplitMenuButton extends preact_1.Component {
21
12
  constructor() {
22
13
  super(...arguments);
23
14
  this.buttonRef = (0, preact_1.createRef)();
24
- this.renderMenu = (items) => {
25
- return items.map((item) => {
26
- if (item && (item.type === 'divider' || item.type === 'separator')) {
27
- return (0, jsx_runtime_1.jsx)(UNSAFE_Menu_1.MenuSeparator, {});
28
- }
29
- else if ((item.type === 'item' || !item.type) && item.label) {
30
- return ((0, jsx_runtime_1.jsx)(UNSAFE_Menu_1.MenuItem, { label: item.label, isDisabled: item.disabled, onAction: item.onAction }));
31
- }
32
- else {
33
- return;
34
- }
35
- });
36
- };
37
15
  }
38
16
  render(props) {
39
- const { chroming, label, disabled, size, onOjAction: onAction, items } = { ...props };
40
- const widthSize = { width: props.width };
41
- return props.width ? ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { style: widthSize, children: (0, jsx_runtime_1.jsx)(FunctionalSplitMenuButton, { label: label, ref: this.buttonRef, variant: chroming, size: size, width: '100%', isDisabled: disabled, onAction: onAction, children: this.renderMenu(items) }) })) : ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { children: (0, jsx_runtime_1.jsx)(FunctionalSplitMenuButton, { label: label, ref: this.buttonRef, variant: chroming, size: size, width: '100%', isDisabled: disabled, onAction: onAction, children: this.renderMenu(items) }) }));
17
+ const { chroming, label, disabled, size, items, tooltip, onOjMenuAction, 'aria-describedby': ariaDescribedBy, onOjAction: onAction } = { ...props };
18
+ const widthSize = props.width ? { width: props.width } : {};
19
+ return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { style: widthSize, children: (0, jsx_runtime_1.jsx)(FunctionalSplitMenuButton, { tooltip: tooltip, label: label, ref: this.buttonRef, variant: chroming, size: size, width: '100%', "aria-describedby": ariaDescribedBy, isDisabled: disabled, onAction: onAction, children: (0, jsx_runtime_1.jsx)(items_menu_1.ItemsMenu, { isSplitMenu: true, items: items, onOjMenuAction: onOjMenuAction }) }) }));
42
20
  }
43
21
  blur() {
44
22
  this.buttonRef.current?.blur();
@@ -58,7 +36,7 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
58
36
  size: 'md',
59
37
  items: []
60
38
  };
61
- SplitMenuButton._metadata = { "properties": { "label": { "type": "string" }, "items": { "type": "Array<object>" }, "disabled": { "type": "boolean" }, "size": { "type": "string", "enumValues": ["sm", "md", "lg"] }, "width": { "type": "number|string" }, "chroming": { "type": "string", "enumValues": ["solid", "outlined", "callToAction"] } }, "events": { "ojAction": { "bubbles": true } }, "extension": { "_OBSERVED_GLOBAL_PROPS": ["title"] }, "methods": { "blur": {}, "focus": {}, "doAction": {} } };
39
+ SplitMenuButton._metadata = { "properties": { "label": { "type": "string" }, "items": { "type": "Array<object>" }, "tooltip": { "type": "string" }, "disabled": { "type": "boolean" }, "size": { "type": "string", "enumValues": ["sm", "md", "lg"] }, "width": { "type": "number|string" }, "chroming": { "type": "string", "enumValues": ["solid", "outlined", "callToAction"] } }, "events": { "ojMenuAction": { "bubbles": true }, "ojAction": { "bubbles": true } }, "extension": { "_OBSERVED_GLOBAL_PROPS": ["aria-describedby"] }, "methods": { "blur": {}, "focus": {}, "doAction": {} } };
62
40
  SplitMenuButton._translationBundleMap = {
63
41
  '@oracle/oraclejet-preact': translationBundle_1.default
64
42
  };
@@ -66,4 +44,17 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
66
44
  exports.SplitMenuButton = SplitMenuButton = __decorate([
67
45
  (0, ojvcomponent_1.customElement)('oj-c-split-menu-button')
68
46
  ], SplitMenuButton);
47
+ const FunctionalSplitMenuButton = (0, compat_1.forwardRef)((props, ref) => {
48
+ const buttonRef = (0, hooks_1.useRef)(null);
49
+ (0, hooks_1.useImperativeHandle)(ref, () => ({
50
+ focus: () => buttonRef.current?.focus(),
51
+ blur: () => buttonRef.current?.blur(),
52
+ doAction: () => buttonRef.current?.dispatchEvent(new Event('ojAction', { bubbles: true }))
53
+ }), []);
54
+ const { tooltipContent, tooltipProps } = (0, UNSAFE_useTooltip_1.useTooltip)({
55
+ text: props.tooltip,
56
+ isDisabled: props.isDisabled
57
+ });
58
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(UNSAFE_SplitMenuButton_1.SplitMenuButton, { ref: buttonRef, ...(0, UNSAFE_mergeProps_1.mergeProps)(props, tooltipProps) }), tooltipContent] }));
59
+ });
69
60
  });
@@ -0,0 +1,43 @@
1
+ define(["require", "exports", "preact/jsx-runtime", "preact/hooks", "@oracle/oraclejet-preact/UNSAFE_ConveyorBelt", "@oracle/oraclejet-preact/UNSAFE_TabBarMixed", "./DataTabBarMixedIcon", "./sumBadge", "preact"], function (require, exports, jsx_runtime_1, hooks_1, UNSAFE_ConveyorBelt_1, UNSAFE_TabBarMixed_1, DataTabBarMixedIcon_1, sumBadge_1, preact_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DataTabBarMixed = void 0;
5
+ function DataTabBarMixed(props) {
6
+ const { dynamicTabs = [], dynamicTabsOverflowIcon, dynamicTabsOverflow, onRemove, onSelect, selection, separatorPadding, size = 'lg', staticTabs = [], staticTabsDisplay, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby } = props;
7
+ const [isOverflowMenuOpen, setIsOverflowMenuOpen] = (0, hooks_1.useState)(false);
8
+ const tabBarMixedRef = (0, preact_1.createRef)();
9
+ const isOutsideMouseDown = (0, hooks_1.useRef)(false);
10
+ const handleClose = (e) => {
11
+ if (tabBarMixedRef.current && ['itemAction', 'dismissed'].includes(e.reason)) {
12
+ tabBarMixedRef?.current?.focus();
13
+ }
14
+ if (e.reason === 'outsideMousedown') {
15
+ isOutsideMouseDown.current = true;
16
+ }
17
+ setIsOverflowMenuOpen(false);
18
+ };
19
+ const handleSelect = (event) => {
20
+ if (event.value && event.value === 'overflow') {
21
+ if (isOutsideMouseDown.current) {
22
+ setIsOverflowMenuOpen(false);
23
+ }
24
+ else {
25
+ setIsOverflowMenuOpen(true);
26
+ }
27
+ }
28
+ else if (onSelect) {
29
+ onSelect(event);
30
+ }
31
+ isOutsideMouseDown.current = false;
32
+ };
33
+ const badgeTotal = (0, sumBadge_1.sumBadge)(dynamicTabs);
34
+ const isDividerVisible = staticTabs.length > 0 && dynamicTabs.length > 0;
35
+ return ((0, jsx_runtime_1.jsxs)(UNSAFE_TabBarMixed_1.TabBarMixed, { onRemove: onRemove, onSelect: handleSelect, selection: selection, size: size, ref: tabBarMixedRef, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, children: [(0, jsx_runtime_1.jsxs)(UNSAFE_TabBarMixed_1.TabBarLayout, { layout: "stretch", display: staticTabsDisplay, children: [staticTabs.map((tab) => ((0, jsx_runtime_1.jsx)(UNSAFE_TabBarMixed_1.TabBarItem, { icon: tab.icon ? ((0, jsx_runtime_1.jsx)(DataTabBarMixedIcon_1.DataTabBarMixedIcon, { label: staticTabsDisplay === 'icons' ? tab.label : undefined, icon: tab.icon })) : undefined, itemKey: tab.itemKey, label: tab.label, "aria-controls": tab.tabPanelId }))), dynamicTabsOverflow === 'popup' && ((0, jsx_runtime_1.jsx)(UNSAFE_TabBarMixed_1.OverflowTabBarItem, { badge: badgeTotal > 0 ? badgeTotal.toString() : undefined, icon: (0, jsx_runtime_1.jsx)(DataTabBarMixedIcon_1.DataTabBarMixedIcon, { icon: dynamicTabsOverflowIcon }), isOpen: isOverflowMenuOpen, onClose: handleClose, overflowItemKey: "overflow", overflowItems: dynamicTabs.map((tab) => ({
36
+ itemKey: tab.itemKey,
37
+ badge: tab.badge ? tab.badge.toString() : undefined,
38
+ label: tab.label,
39
+ isRemovable: true
40
+ })) }))] }), dynamicTabsOverflow === 'conveyor' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isDividerVisible && (0, jsx_runtime_1.jsx)(UNSAFE_TabBarMixed_1.TabBarMixedSeparator, { padding: separatorPadding }), (0, jsx_runtime_1.jsx)(UNSAFE_ConveyorBelt_1.ConveyorBelt, { children: (0, jsx_runtime_1.jsx)(UNSAFE_TabBarMixed_1.TabBarLayout, { display: "standard", layout: "condense", children: dynamicTabs.map((tab) => ((0, jsx_runtime_1.jsx)(UNSAFE_TabBarMixed_1.RemovableTabBarItem, { badge: tab.badge ? tab.badge.toString() : undefined, itemKey: tab.itemKey, label: tab.label, "aria-controls": tab.tabPanelId }))) }) })] }))] }));
41
+ }
42
+ exports.DataTabBarMixed = DataTabBarMixed;
43
+ });
@@ -0,0 +1,4 @@
1
+ define(["require", "exports"], function (require, exports) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ });
@@ -0,0 +1,16 @@
1
+ define(["require", "exports", "preact/jsx-runtime"], function (require, exports, jsx_runtime_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DataTabBarMixedIcon = void 0;
5
+ function DataTabBarMixedIcon(props) {
6
+ const { icon } = props;
7
+ if (!icon) {
8
+ return null;
9
+ }
10
+ if (icon.type === 'class') {
11
+ return (0, jsx_runtime_1.jsx)("span", { class: icon.class });
12
+ }
13
+ return null;
14
+ }
15
+ exports.DataTabBarMixedIcon = DataTabBarMixedIcon;
16
+ });
@@ -0,0 +1,10 @@
1
+ define(["require", "exports", "preact/jsx-runtime"], function (require, exports, jsx_runtime_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ConveyorBelt = void 0;
5
+ function ConveyorBelt(props) {
6
+ const { children } = props;
7
+ return (0, jsx_runtime_1.jsx)("div", { "data-testid": "conveyor", children: children });
8
+ }
9
+ exports.ConveyorBelt = ConveyorBelt;
10
+ });
@@ -0,0 +1,34 @@
1
+ define(["require", "exports", "preact/jsx-runtime", "preact/hooks", "@oracle/oraclejet-preact/UNSAFE_TabBarCommon", "@oracle/oraclejet-preact/UNSAFE_TabBarMixed"], function (require, exports, jsx_runtime_1, hooks_1, UNSAFE_TabBarCommon_1, UNSAFE_TabBarMixed_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TabBarMixed = exports.TabBarLayout = exports.OverflowTabBarItem = exports.RemovableTabBarItem = exports.TabBarItem = exports.TabBarMixedSeparator = void 0;
5
+ Object.defineProperty(exports, "TabBarLayout", { enumerable: true, get: function () { return UNSAFE_TabBarMixed_1.TabBarLayout; } });
6
+ Object.defineProperty(exports, "TabBarMixed", { enumerable: true, get: function () { return UNSAFE_TabBarMixed_1.TabBarMixed; } });
7
+ function TabBarMixedSeparator() {
8
+ return (0, jsx_runtime_1.jsx)("div", { role: "separator" });
9
+ }
10
+ exports.TabBarMixedSeparator = TabBarMixedSeparator;
11
+ function TabBarItem(props) {
12
+ const { badge, itemKey, label } = props;
13
+ const { onSelect } = (0, hooks_1.useContext)(UNSAFE_TabBarCommon_1.TabBarContext);
14
+ return ((0, jsx_runtime_1.jsxs)("div", { role: "tab", "data-oj-key": itemKey, onClick: () => {
15
+ onSelect && onSelect({ value: itemKey });
16
+ }, children: [label, badge && (0, jsx_runtime_1.jsx)("span", { "data-testid": "badge", children: badge })] }));
17
+ }
18
+ exports.TabBarItem = TabBarItem;
19
+ function RemovableTabBarItem(props) {
20
+ const { badge, itemKey, label } = props;
21
+ const { onRemove, onSelect } = (0, hooks_1.useContext)(UNSAFE_TabBarCommon_1.TabBarContext);
22
+ return ((0, jsx_runtime_1.jsxs)("div", { role: "tab", "data-oj-key": itemKey, onClick: () => {
23
+ onSelect && onSelect({ value: itemKey });
24
+ }, children: [label, badge && (0, jsx_runtime_1.jsx)("span", { "data-testid": "badge", children: badge }), (0, jsx_runtime_1.jsx)("button", { "aria-label": "Removable", onClick: () => {
25
+ onRemove && onRemove({ value: itemKey });
26
+ }, children: "x" })] }));
27
+ }
28
+ exports.RemovableTabBarItem = RemovableTabBarItem;
29
+ function OverflowTabBarItem(props) {
30
+ const { badge, overflowItems } = props;
31
+ return ((0, jsx_runtime_1.jsxs)("div", { "data-testid": "popup", "data-oj-key": "overflow", children: [badge && (0, jsx_runtime_1.jsx)("span", { "data-testid": "badge-total", children: badge }), overflowItems.map((tab) => ((0, jsx_runtime_1.jsx)(RemovableTabBarItem, { ...tab })))] }));
32
+ }
33
+ exports.OverflowTabBarItem = OverflowTabBarItem;
34
+ });
@@ -0,0 +1,8 @@
1
+ import { TabBarMixedWebElementBase } from './TabBarMixedWebElementBase';
2
+ /**
3
+ * The component WebElement for [oj-c-tab-bar-mixed](../../../oj-c/docs/oj.TabBarMixed.html).
4
+ * Do not instantiate this class directly, instead, use
5
+ * [findTabBarMixed](../modules.html#findTabBarMixed).
6
+ */
7
+ export declare class TabBarMixedWebElement extends TabBarMixedWebElementBase {
8
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabBarMixedWebElement = void 0;
4
+ var TabBarMixedWebElementBase_1 = require("./TabBarMixedWebElementBase");
5
+ /**
6
+ * The component WebElement for [oj-c-tab-bar-mixed](../../../oj-c/docs/oj.TabBarMixed.html).
7
+ * Do not instantiate this class directly, instead, use
8
+ * [findTabBarMixed](../modules.html#findTabBarMixed).
9
+ */
10
+ class TabBarMixedWebElement extends TabBarMixedWebElementBase_1.TabBarMixedWebElementBase {
11
+ }
12
+ exports.TabBarMixedWebElement = TabBarMixedWebElement;
13
+ //# sourceMappingURL=TabBarMixedWebElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabBarMixedWebElement.js","sourceRoot":"","sources":["TabBarMixedWebElement.ts"],"names":[],"mappings":";;;AAAA,yEAAwE;AAExE;;;;GAIG;AACH,MAAa,qBAAsB,SAAQ,qDAAyB;CAEnE;AAFD,sDAEC","sourcesContent":["import { TabBarMixedWebElementBase } from './TabBarMixedWebElementBase';\n\n/**\n * The component WebElement for [oj-c-tab-bar-mixed](../../../oj-c/docs/oj.TabBarMixed.html).\n * Do not instantiate this class directly, instead, use\n * [findTabBarMixed](../modules.html#findTabBarMixed).\n */\nexport class TabBarMixedWebElement extends TabBarMixedWebElementBase {\n // Put overrides here\n}\n"]}
@@ -0,0 +1,116 @@
1
+ import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';
2
+ /**
3
+ * This is the base class for oj-c-tab-bar-mixed 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, TabBarMixedWebElement.ts.
7
+ */
8
+ export declare class TabBarMixedWebElementBase extends OjWebElement {
9
+ /**
10
+ * Gets the value of <code>dynamicTabs</code> property.
11
+ * An array of dynamic tabs
12
+ * @return The value of <code>dynamicTabs</code> property.
13
+ *
14
+ */
15
+ getDynamicTabs(): Promise<Array<DynamicTabs>>;
16
+ /**
17
+ * Gets the value of <code>dynamicTabsOverflow</code> property.
18
+ * Dynamic tabs overflow configurations
19
+ * @return The value of <code>dynamicTabsOverflow</code> property.
20
+ *
21
+ */
22
+ getDynamicTabsOverflow(): Promise<string>;
23
+ /**
24
+ * Gets the value of <code>dynamicTabsOverflowIcon</code> property.
25
+ * The icon used on the overflow tab
26
+ * @return The value of <code>dynamicTabsOverflowIcon</code> property.
27
+ *
28
+ */
29
+ getDynamicTabsOverflowIcon(): Promise<object>;
30
+ /**
31
+ * Gets the value of <code>size</code> property.
32
+ * Size of TabBarMixed
33
+ * @return The value of <code>size</code> property.
34
+ *
35
+ */
36
+ getSizeProperty(): Promise<string>;
37
+ /**
38
+ * Sets the value of <code>selection</code> property.
39
+ * The key of the selected tab
40
+ * @param selection The value to set for <code>selection</code>
41
+ *
42
+ */
43
+ changeSelection(selection: any): Promise<void>;
44
+ /**
45
+ * Gets the value of <code>selection</code> property.
46
+ * The key of the selected tab
47
+ * @return The value of <code>selection</code> property.
48
+ *
49
+ */
50
+ getSelection(): Promise<any>;
51
+ /**
52
+ * Gets the value of <code>separatorPadding</code> property.
53
+ * The padding around the vertical divider that seperates collections of tabs.
54
+ * @return The value of <code>separatorPadding</code> property.
55
+ *
56
+ */
57
+ getSeparatorPadding(): Promise<string>;
58
+ /**
59
+ * Gets the value of <code>staticTabs</code> property.
60
+ * An array of static tabs
61
+ * @return The value of <code>staticTabs</code> property.
62
+ *
63
+ */
64
+ getStaticTabs(): Promise<Array<StaticTabs>>;
65
+ /**
66
+ * Gets the value of <code>staticTabsDisplay</code> property.
67
+ * The display configuration for static tabs.
68
+ * @return The value of <code>staticTabsDisplay</code> property.
69
+ *
70
+ */
71
+ getStaticTabsDisplay(): Promise<string>;
72
+ }
73
+ export interface DynamicTabs {
74
+ /**
75
+ *
76
+ */
77
+ badge: number;
78
+ /**
79
+ *
80
+ */
81
+ icon: object;
82
+ /**
83
+ *
84
+ */
85
+ itemKey: any;
86
+ /**
87
+ *
88
+ */
89
+ label: string;
90
+ /**
91
+ *
92
+ */
93
+ tabPanelId: string;
94
+ }
95
+ export interface StaticTabs {
96
+ /**
97
+ *
98
+ */
99
+ badge: number;
100
+ /**
101
+ *
102
+ */
103
+ icon: object;
104
+ /**
105
+ *
106
+ */
107
+ itemKey: any;
108
+ /**
109
+ *
110
+ */
111
+ label: string;
112
+ /**
113
+ *
114
+ */
115
+ tabPanelId: string;
116
+ }
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabBarMixedWebElementBase = void 0;
4
+ var elements_1 = require("@oracle/oraclejet-webdriver/elements");
5
+ /**
6
+ * This is the base class for oj-c-tab-bar-mixed WebElement, and is generated from the
7
+ * component's metadata. Do not modify these contents since they'll be replaced
8
+ * during the next generation.
9
+ * Put overrides into the WebElements's subclass, TabBarMixedWebElement.ts.
10
+ */
11
+ class TabBarMixedWebElementBase extends elements_1.OjWebElement {
12
+ /**
13
+ * Gets the value of <code>dynamicTabs</code> property.
14
+ * An array of dynamic tabs
15
+ * @return The value of <code>dynamicTabs</code> property.
16
+ *
17
+ */
18
+ getDynamicTabs() {
19
+ return this.getProperty('dynamicTabs');
20
+ }
21
+ /**
22
+ * Gets the value of <code>dynamicTabsOverflow</code> property.
23
+ * Dynamic tabs overflow configurations
24
+ * @return The value of <code>dynamicTabsOverflow</code> property.
25
+ *
26
+ */
27
+ getDynamicTabsOverflow() {
28
+ return this.getProperty('dynamicTabsOverflow');
29
+ }
30
+ /**
31
+ * Gets the value of <code>dynamicTabsOverflowIcon</code> property.
32
+ * The icon used on the overflow tab
33
+ * @return The value of <code>dynamicTabsOverflowIcon</code> property.
34
+ *
35
+ */
36
+ getDynamicTabsOverflowIcon() {
37
+ return this.getProperty('dynamicTabsOverflowIcon');
38
+ }
39
+ /**
40
+ * Gets the value of <code>size</code> property.
41
+ * Size of TabBarMixed
42
+ * @return The value of <code>size</code> property.
43
+ *
44
+ */
45
+ getSizeProperty() {
46
+ return this.getProperty('size');
47
+ }
48
+ /**
49
+ * Sets the value of <code>selection</code> property.
50
+ * The key of the selected tab
51
+ * @param selection The value to set for <code>selection</code>
52
+ *
53
+ */
54
+ changeSelection(selection) {
55
+ return this.setProperty('selection', selection);
56
+ }
57
+ /**
58
+ * Gets the value of <code>selection</code> property.
59
+ * The key of the selected tab
60
+ * @return The value of <code>selection</code> property.
61
+ *
62
+ */
63
+ getSelection() {
64
+ return this.getProperty('selection');
65
+ }
66
+ /**
67
+ * Gets the value of <code>separatorPadding</code> property.
68
+ * The padding around the vertical divider that seperates collections of tabs.
69
+ * @return The value of <code>separatorPadding</code> property.
70
+ *
71
+ */
72
+ getSeparatorPadding() {
73
+ return this.getProperty('separatorPadding');
74
+ }
75
+ /**
76
+ * Gets the value of <code>staticTabs</code> property.
77
+ * An array of static tabs
78
+ * @return The value of <code>staticTabs</code> property.
79
+ *
80
+ */
81
+ getStaticTabs() {
82
+ return this.getProperty('staticTabs');
83
+ }
84
+ /**
85
+ * Gets the value of <code>staticTabsDisplay</code> property.
86
+ * The display configuration for static tabs.
87
+ * @return The value of <code>staticTabsDisplay</code> property.
88
+ *
89
+ */
90
+ getStaticTabsDisplay() {
91
+ return this.getProperty('staticTabsDisplay');
92
+ }
93
+ }
94
+ exports.TabBarMixedWebElementBase = TabBarMixedWebElementBase;
95
+ //# sourceMappingURL=TabBarMixedWebElementBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabBarMixedWebElementBase.js","sourceRoot":"","sources":["TabBarMixedWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,yBAA0B,SAAQ,uBAAY;IACzD;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAqB,aAAa,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;OAKG;IACI,sBAAsB;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAS,qBAAqB,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,0BAA0B;QAC/B,OAAO,IAAI,CAAC,WAAW,CAAS,yBAAyB,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;OAKG;IACI,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAS,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED;;;;;OAKG;IACI,eAAe,CAAC,SAAc;QACnC,OAAO,IAAI,CAAC,WAAW,CAAM,WAAW,EAAE,SAAS,CAAC,CAAC;IACvD,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAM,WAAW,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;OAKG;IACI,mBAAmB;QACxB,OAAO,IAAI,CAAC,WAAW,CAAS,kBAAkB,CAAC,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAoB,YAAY,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAS,mBAAmB,CAAC,CAAC;IACvD,CAAC;CACF;AA1FD,8DA0FC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-tab-bar-mixed 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, TabBarMixedWebElement.ts.\n */\nexport class TabBarMixedWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>dynamicTabs</code> property.\n * An array of dynamic tabs\n * @return The value of <code>dynamicTabs</code> property.\n *\n */\n public getDynamicTabs(): Promise<Array<DynamicTabs>> {\n return this.getProperty<Array<DynamicTabs>>('dynamicTabs');\n }\n\n /**\n * Gets the value of <code>dynamicTabsOverflow</code> property.\n * Dynamic tabs overflow configurations\n * @return The value of <code>dynamicTabsOverflow</code> property.\n *\n */\n public getDynamicTabsOverflow(): Promise<string> {\n return this.getProperty<string>('dynamicTabsOverflow');\n }\n\n /**\n * Gets the value of <code>dynamicTabsOverflowIcon</code> property.\n * The icon used on the overflow tab\n * @return The value of <code>dynamicTabsOverflowIcon</code> property.\n *\n */\n public getDynamicTabsOverflowIcon(): Promise<object> {\n return this.getProperty<object>('dynamicTabsOverflowIcon');\n }\n\n /**\n * Gets the value of <code>size</code> property.\n * Size of TabBarMixed\n * @return The value of <code>size</code> property.\n *\n */\n public getSizeProperty(): Promise<string> {\n return this.getProperty<string>('size');\n }\n\n /**\n * Sets the value of <code>selection</code> property.\n * The key of the selected tab\n * @param selection The value to set for <code>selection</code>\n *\n */\n public changeSelection(selection: any): Promise<void> {\n return this.setProperty<any>('selection', selection);\n }\n\n /**\n * Gets the value of <code>selection</code> property.\n * The key of the selected tab\n * @return The value of <code>selection</code> property.\n *\n */\n public getSelection(): Promise<any> {\n return this.getProperty<any>('selection');\n }\n\n /**\n * Gets the value of <code>separatorPadding</code> property.\n * The padding around the vertical divider that seperates collections of tabs.\n * @return The value of <code>separatorPadding</code> property.\n *\n */\n public getSeparatorPadding(): Promise<string> {\n return this.getProperty<string>('separatorPadding');\n }\n\n /**\n * Gets the value of <code>staticTabs</code> property.\n * An array of static tabs\n * @return The value of <code>staticTabs</code> property.\n *\n */\n public getStaticTabs(): Promise<Array<StaticTabs>> {\n return this.getProperty<Array<StaticTabs>>('staticTabs');\n }\n\n /**\n * Gets the value of <code>staticTabsDisplay</code> property.\n * The display configuration for static tabs.\n * @return The value of <code>staticTabsDisplay</code> property.\n *\n */\n public getStaticTabsDisplay(): Promise<string> {\n return this.getProperty<string>('staticTabsDisplay');\n }\n}\nexport interface DynamicTabs {\n /**\n *\n */\n badge: number;\n /**\n *\n */\n icon: object;\n /**\n *\n */\n itemKey: any;\n /**\n *\n */\n label: string;\n /**\n *\n */\n tabPanelId: string;\n}\nexport interface StaticTabs {\n /**\n *\n */\n badge: number;\n /**\n *\n */\n icon: object;\n /**\n *\n */\n itemKey: any;\n /**\n *\n */\n label: string;\n /**\n *\n */\n tabPanelId: string;\n}\n"]}
@@ -0,0 +1,17 @@
1
+ import { By } from 'selenium-webdriver';
2
+ import { DriverLike } from '@oracle/oraclejet-webdriver';
3
+ import { TabBarMixedWebElement } from './TabBarMixedWebElement';
4
+ export { TabBarMixedWebElement };
5
+ /**
6
+ * Retrieve an instance of [TabBarMixedWebElement](../classes/TabBarMixedWebElement.html).
7
+ * @example
8
+ * ```javascript
9
+ * import { findTabBarMixed } from '@oracle/oraclejet-core-pack/webdriver';
10
+ * const el = await findTabBarMixed(driver, By.id('my-oj-c-tab-bar-mixed'));
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 findTabBarMixed(driver: DriverLike, by: By): Promise<TabBarMixedWebElement>;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.findTabBarMixed = exports.TabBarMixedWebElement = void 0;
4
+ var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
5
+ var TabBarMixedWebElement_1 = require("./TabBarMixedWebElement");
6
+ Object.defineProperty(exports, "TabBarMixedWebElement", { enumerable: true, get: function () { return TabBarMixedWebElement_1.TabBarMixedWebElement; } });
7
+ /**
8
+ * Retrieve an instance of [TabBarMixedWebElement](../classes/TabBarMixedWebElement.html).
9
+ * @example
10
+ * ```javascript
11
+ * import { findTabBarMixed } from '@oracle/oraclejet-core-pack/webdriver';
12
+ * const el = await findTabBarMixed(driver, By.id('my-oj-c-tab-bar-mixed'));
13
+ * ```
14
+ * @param driver A WebDriver/WebElement instance from where the element will be
15
+ * searched. If WebDriver is passed, the element will be searched globally in the
16
+ * document. If WebElement is passed, the search will be relative to this element.
17
+ * @param by The locator with which to find the element
18
+ */
19
+ async function findTabBarMixed(driver, by) {
20
+ const webEl = await driver.findElement(by);
21
+ // Check that the element is of type TabBarMixedWebElement
22
+ if (!(webEl instanceof TabBarMixedWebElement_1.TabBarMixedWebElement)) {
23
+ const tagName = await webEl.getTagName();
24
+ let supplemental = '';
25
+ if (webEl.constructor.name === 'TabBarMixedWebElement') {
26
+ supplemental = 'You likely have multiple installations of this package.';
27
+ }
28
+ throw Error(`findTabBarMixed(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${TabBarMixedWebElement_1.TabBarMixedWebElement.name}. ${supplemental}`);
29
+ }
30
+ return webEl;
31
+ }
32
+ exports.findTabBarMixed = findTabBarMixed;
33
+ (0, oraclejet_webdriver_1.register)('oj-c-tab-bar-mixed', TabBarMixedWebElement_1.TabBarMixedWebElement);
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,mEAAmE;AACnE,iEAAgE;AACvD,sGADA,6CAAqB,OACA;AAE9B;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,eAAe,CAAC,MAAkB,EAAE,EAAM;IAC9D,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,0DAA0D;IAC1D,IAAI,CAAC,CAAC,KAAK,YAAY,6CAAqB,CAAC,EAAE,CAAC;QAC9C,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,IAAI,YAAY,GAAG,EAAE,CAAC;QACtB,IAAI,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,uBAAuB,EAAE,CAAC;YACvD,YAAY,GAAG,yDAAyD,CAAC;QAC3E,CAAC;QACD,MAAM,KAAK,CACT,mBAAmB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,6CAAqB,CAAC,IAAI,KAAK,YAAY,EAAE,CACzI,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAdD,0CAcC;AAED,IAAA,8BAAQ,EAAC,oBAAoB,EAAE,6CAAqB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { TabBarMixedWebElement } from './TabBarMixedWebElement';\nexport { TabBarMixedWebElement };\n\n/**\n * Retrieve an instance of [TabBarMixedWebElement](../classes/TabBarMixedWebElement.html).\n * @example\n * ```javascript\n * import { findTabBarMixed } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findTabBarMixed(driver, By.id('my-oj-c-tab-bar-mixed'));\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 findTabBarMixed(driver: DriverLike, by: By): Promise<TabBarMixedWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type TabBarMixedWebElement\n if (!(webEl instanceof TabBarMixedWebElement)) {\n const tagName = await webEl.getTagName();\n let supplemental = '';\n if (webEl.constructor.name === 'TabBarMixedWebElement') {\n supplemental = 'You likely have multiple installations of this package.';\n }\n throw Error(\n `findTabBarMixed(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${TabBarMixedWebElement.name}. ${supplemental}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-tab-bar-mixed', TabBarMixedWebElement);\n"]}