@oracle/oraclejet-core-pack 17.1.3 → 18.0.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 (1042) hide show
  1. package/oj-c/ActionCard.json +2 -2
  2. package/oj-c/AreaChart.json +174 -6
  3. package/oj-c/Button.json +12 -16
  4. package/oj-c/ButtonsetMultiple.json +17 -14
  5. package/oj-c/ButtonsetSingle.json +17 -14
  6. package/oj-c/CardView.json +31 -4
  7. package/oj-c/Checkboxset.json +9 -2
  8. package/oj-c/Dialog.json +891 -0
  9. package/oj-c/DrawerLayout.json +1 -1
  10. package/oj-c/DrawerPopup.json +20 -1
  11. package/oj-c/Dropdown/Dropdown.js +1 -2
  12. package/oj-c/FilePicker.json +2 -2
  13. package/oj-c/FormControlWrapper/FormControlWrapper.js +1 -2
  14. package/oj-c/FormLayout.json +7 -0
  15. package/oj-c/InputDateMask.json +8 -1
  16. package/oj-c/InputDatePicker.json +7 -0
  17. package/oj-c/InputDateText.json +51 -44
  18. package/oj-c/InputMonthMask.json +8 -1
  19. package/oj-c/InputNumber.json +8 -1
  20. package/oj-c/InputPassword.json +7 -0
  21. package/oj-c/InputSensitiveText.json +8 -1
  22. package/oj-c/InputText.json +7 -0
  23. package/oj-c/LabelledLink.json +8 -1
  24. package/oj-c/Legend.json +203 -2
  25. package/oj-c/LineChart.json +174 -6
  26. package/oj-c/ListView.json +143 -5
  27. package/oj-c/MenuButton.json +80 -9
  28. package/oj-c/MessageBanner.json +3 -3
  29. package/oj-c/MessageToast.json +4 -4
  30. package/oj-c/Popup.json +7 -45
  31. package/oj-c/ProgressBar.json +1 -1
  32. package/oj-c/ProgressCircle.json +1 -1
  33. package/oj-c/Radioset.json +9 -2
  34. package/oj-c/SelectMultiple.json +33 -3
  35. package/oj-c/SelectSingle.json +31 -1
  36. package/oj-c/SelectionCard.json +1 -1
  37. package/oj-c/Selector.json +7 -8
  38. package/oj-c/Sheet/Sheet.js +1 -2
  39. package/oj-c/Skeleton.json +192 -0
  40. package/oj-c/SplitMenuButton.json +15 -19
  41. package/oj-c/TabBar.json +154 -8
  42. package/oj-c/TabBarMixed.json +7 -7
  43. package/oj-c/Table.json +155 -2
  44. package/oj-c/TagCloud.json +171 -3
  45. package/oj-c/TextArea.json +7 -0
  46. package/oj-c/ToggleButton.json +12 -16
  47. package/oj-c/Toolbar.json +2214 -0
  48. package/oj-c/action-card/__webdriver__/ActionCardWebElement.js +2 -2
  49. package/oj-c/action-card/__webdriver__/ActionCardWebElement.js.map +1 -1
  50. package/oj-c/action-card/__webdriver__/ActionCardWebElementBase.js +1 -1
  51. package/oj-c/action-card/__webdriver__/ActionCardWebElementBase.js.map +1 -1
  52. package/oj-c/action-card/__webdriver__/index.js +4 -4
  53. package/oj-c/action-card/__webdriver__/index.js.map +1 -1
  54. package/oj-c/action-card/component.json +6 -6
  55. package/oj-c/area-chart/__webdriver__/AreaChartWebElement.js +1 -1
  56. package/oj-c/area-chart/__webdriver__/AreaChartWebElement.js.map +1 -1
  57. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +13 -0
  58. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +10 -1
  59. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
  60. package/oj-c/area-chart/__webdriver__/index.js +4 -4
  61. package/oj-c/area-chart/__webdriver__/index.js.map +1 -1
  62. package/oj-c/area-chart/area-chart-styles.css +1 -1
  63. package/oj-c/area-chart/area-chart.js +9 -8
  64. package/oj-c/area-chart/component.json +52 -5
  65. package/oj-c/area-chart-group/component.json +2 -2
  66. package/oj-c/area-chart-item/component.json +2 -2
  67. package/oj-c/area-chart-series/component.json +2 -2
  68. package/oj-c/avatar/__webdriver__/AvatarWebElement.js +1 -1
  69. package/oj-c/avatar/__webdriver__/AvatarWebElement.js.map +1 -1
  70. package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js +1 -1
  71. package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js.map +1 -1
  72. package/oj-c/avatar/__webdriver__/index.js +4 -4
  73. package/oj-c/avatar/__webdriver__/index.js.map +1 -1
  74. package/oj-c/avatar/component.json +3 -3
  75. package/oj-c/button/__webdriver__/ButtonWebElement.js +3 -3
  76. package/oj-c/button/__webdriver__/ButtonWebElement.js.map +1 -1
  77. package/oj-c/button/__webdriver__/ButtonWebElementBase.js +1 -1
  78. package/oj-c/button/__webdriver__/ButtonWebElementBase.js.map +1 -1
  79. package/oj-c/button/__webdriver__/index.js +4 -4
  80. package/oj-c/button/__webdriver__/index.js.map +1 -1
  81. package/oj-c/button/button.js +23 -52
  82. package/oj-c/button/component.json +9 -10
  83. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js +1 -1
  84. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js.map +1 -1
  85. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.d.ts +5 -5
  86. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js +1 -1
  87. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js.map +1 -1
  88. package/oj-c/buttonset-multiple/__webdriver__/index.js +4 -4
  89. package/oj-c/buttonset-multiple/__webdriver__/index.js.map +1 -1
  90. package/oj-c/buttonset-multiple/buttonset-multiple.js +17 -42
  91. package/oj-c/buttonset-multiple/component.json +18 -13
  92. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js +1 -1
  93. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js.map +1 -1
  94. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.d.ts +5 -5
  95. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js +1 -1
  96. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js.map +1 -1
  97. package/oj-c/buttonset-single/__webdriver__/index.js +4 -4
  98. package/oj-c/buttonset-single/__webdriver__/index.js.map +1 -1
  99. package/oj-c/buttonset-single/buttonset-single.js +17 -42
  100. package/oj-c/buttonset-single/component.json +18 -13
  101. package/oj-c/card-view/__webdriver__/CardViewWebElement.js +11 -14
  102. package/oj-c/card-view/__webdriver__/CardViewWebElement.js.map +1 -1
  103. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.d.ts +1 -1
  104. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js +1 -1
  105. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js.map +1 -1
  106. package/oj-c/card-view/__webdriver__/index.js +4 -4
  107. package/oj-c/card-view/__webdriver__/index.js.map +1 -1
  108. package/oj-c/card-view/card-view.js +12 -8
  109. package/oj-c/card-view/cardViewItem.js +2 -2
  110. package/oj-c/card-view/component.json +18 -5
  111. package/oj-c/card-view/useCardViewPreact.js +9 -16
  112. package/oj-c/checkbox/__webdriver__/CheckboxWebElement.js +2 -2
  113. package/oj-c/checkbox/__webdriver__/CheckboxWebElement.js.map +1 -1
  114. package/oj-c/checkbox/__webdriver__/CheckboxWebElementBase.js +1 -1
  115. package/oj-c/checkbox/__webdriver__/CheckboxWebElementBase.js.map +1 -1
  116. package/oj-c/checkbox/__webdriver__/index.js +4 -4
  117. package/oj-c/checkbox/__webdriver__/index.js.map +1 -1
  118. package/oj-c/checkbox/component.json +3 -3
  119. package/oj-c/checkbox/useCheckboxPreact.js +1 -2
  120. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElement.js +2 -2
  121. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElement.js.map +1 -1
  122. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.d.ts +3 -3
  123. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.js +2 -2
  124. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.js.map +1 -1
  125. package/oj-c/checkboxset/__webdriver__/index.js +4 -4
  126. package/oj-c/checkboxset/__webdriver__/index.js.map +1 -1
  127. package/oj-c/checkboxset/checkboxset.js +1 -1
  128. package/oj-c/checkboxset/component.json +11 -4
  129. package/oj-c/checkboxset/useCheckboxsetPreact.js +1 -2
  130. package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js +2 -2
  131. package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js.map +1 -1
  132. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js +1 -1
  133. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js.map +1 -1
  134. package/oj-c/collapsible/__webdriver__/index.js +4 -4
  135. package/oj-c/collapsible/__webdriver__/index.js.map +1 -1
  136. package/oj-c/collapsible/collapsible.js +2 -2
  137. package/oj-c/collapsible/component.json +3 -3
  138. package/oj-c/component.json +17 -5
  139. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js +1 -1
  140. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js.map +1 -1
  141. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js +1 -1
  142. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js.map +1 -1
  143. package/oj-c/conveyor-belt/__webdriver__/index.js +4 -4
  144. package/oj-c/conveyor-belt/__webdriver__/index.js.map +1 -1
  145. package/oj-c/conveyor-belt/component.json +3 -3
  146. package/oj-c/corepackbundle.js +1684 -1882
  147. package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js +1 -1
  148. package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js.map +1 -1
  149. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js +1 -1
  150. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js.map +1 -1
  151. package/oj-c/date-picker/__webdriver__/index.js +4 -4
  152. package/oj-c/date-picker/__webdriver__/index.js.map +1 -1
  153. package/oj-c/date-picker/component.json +3 -3
  154. package/oj-c/dialog/__webdriver__/DialogWebElement.d.ts +20 -0
  155. package/oj-c/dialog/__webdriver__/DialogWebElement.js +55 -0
  156. package/oj-c/dialog/__webdriver__/DialogWebElement.js.map +1 -0
  157. package/oj-c/dialog/__webdriver__/DialogWebElementBase.d.ts +128 -0
  158. package/oj-c/dialog/__webdriver__/DialogWebElementBase.js +167 -0
  159. package/oj-c/dialog/__webdriver__/DialogWebElementBase.js.map +1 -0
  160. package/oj-c/dialog/__webdriver__/index.d.ts +17 -0
  161. package/oj-c/dialog/__webdriver__/index.js +34 -0
  162. package/oj-c/dialog/__webdriver__/index.js.map +1 -0
  163. package/oj-c/dialog/component.json +363 -0
  164. package/oj-c/dialog/dialog-styles.css +12 -0
  165. package/oj-c/dialog/dialog.js +148 -0
  166. package/oj-c/dialog/index.js +6 -0
  167. package/oj-c/dialog.js +6 -0
  168. package/oj-c/drag-handle/component.json +3 -3
  169. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js +1 -1
  170. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js.map +1 -1
  171. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js +1 -1
  172. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js.map +1 -1
  173. package/oj-c/drawer-layout/__webdriver__/index.js +4 -4
  174. package/oj-c/drawer-layout/__webdriver__/index.js.map +1 -1
  175. package/oj-c/drawer-layout/component.json +3 -3
  176. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.d.ts +19 -0
  177. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.js +59 -1
  178. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.js.map +1 -1
  179. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.d.ts +7 -0
  180. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.js +10 -1
  181. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.js.map +1 -1
  182. package/oj-c/drawer-popup/__webdriver__/index.js +4 -4
  183. package/oj-c/drawer-popup/__webdriver__/index.js.map +1 -1
  184. package/oj-c/drawer-popup/component.json +9 -3
  185. package/oj-c/drawer-popup/drawer-popup-styles.css +1 -1
  186. package/oj-c/drawer-popup/drawer-popup.js +24 -6
  187. package/oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText.js +1 -2
  188. package/oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.js +1 -2
  189. package/oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity.js +1 -2
  190. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.d.ts +2 -2
  191. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +4 -93
  192. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -1
  193. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.d.ts +2 -2
  194. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js +1 -1
  195. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js.map +1 -1
  196. package/oj-c/file-picker/__webdriver__/index.js +4 -4
  197. package/oj-c/file-picker/__webdriver__/index.js.map +1 -1
  198. package/oj-c/file-picker/component.json +5 -5
  199. package/oj-c/file-picker/file-picker.js +2 -2
  200. package/oj-c/form-layout/__webdriver__/FormLayoutWebElement.js +1 -1
  201. package/oj-c/form-layout/__webdriver__/FormLayoutWebElement.js.map +1 -1
  202. package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.d.ts +1 -1
  203. package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.js +2 -2
  204. package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.js.map +1 -1
  205. package/oj-c/form-layout/__webdriver__/index.js +4 -4
  206. package/oj-c/form-layout/__webdriver__/index.js.map +1 -1
  207. package/oj-c/form-layout/component.json +10 -3
  208. package/oj-c/form-layout/form-layout.js +1 -1
  209. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js +1 -1
  210. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js.map +1 -1
  211. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js +1 -1
  212. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js.map +1 -1
  213. package/oj-c/highlight-text/__webdriver__/index.js +4 -4
  214. package/oj-c/highlight-text/__webdriver__/index.js.map +1 -1
  215. package/oj-c/highlight-text/component.json +3 -3
  216. package/oj-c/hooks/PRIVATE_useSelectionContext/ItemKeyContext.js +6 -0
  217. package/oj-c/hooks/PRIVATE_useSelectionContext/SelectionContext.js +6 -0
  218. package/oj-c/hooks/PRIVATE_useSelectionContext/useItemKeyContext.js +8 -0
  219. package/oj-c/hooks/PRIVATE_useSelectionContext/useSelectionContext.js +8 -0
  220. package/oj-c/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.js +41 -0
  221. package/oj-c/hooks/PRIVATE_useVisData/useVisData.js +1 -2
  222. package/oj-c/hooks/UNSAFE_useChartData/useChartData.js +3 -3
  223. package/oj-c/hooks/UNSAFE_useDataProvider/useDataProvider.js +1 -2
  224. package/oj-c/hooks/UNSAFE_useDataProvider/utils.js +1 -2
  225. package/oj-c/hooks/UNSAFE_useEditableValue/converterUtils.js +5 -5
  226. package/oj-c/hooks/UNSAFE_useEditableValue/index.js +4 -2
  227. package/oj-c/hooks/UNSAFE_useEditableValue/reducer.js +26 -17
  228. package/oj-c/hooks/UNSAFE_useEditableValue/useEditableValue.js +91 -51
  229. package/oj-c/hooks/UNSAFE_useEditableValue/utils.js +13 -1
  230. package/oj-c/hooks/UNSAFE_useEditableValue/validationUtils.js +2 -3
  231. package/oj-c/hooks/UNSAFE_useLegendPosition/useLegendPosition.js +1 -2
  232. package/oj-c/hooks/UNSAFE_useListData/useListData.js +48 -13
  233. package/oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +1 -2
  234. package/oj-c/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +6 -6
  235. package/oj-c/hooks/UNSAFE_useVizCategories/useVizCategories.js +17 -4
  236. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElement.js +1 -1
  237. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElement.js.map +1 -1
  238. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.d.ts +1 -1
  239. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.js +2 -2
  240. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.js.map +1 -1
  241. package/oj-c/input-date-mask/__webdriver__/index.js +4 -4
  242. package/oj-c/input-date-mask/__webdriver__/index.js.map +1 -1
  243. package/oj-c/input-date-mask/component.json +11 -4
  244. package/oj-c/input-date-mask/useInputDateMaskPreact.js +6 -6
  245. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js +4 -4
  246. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js.map +1 -1
  247. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.d.ts +1 -1
  248. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js +2 -2
  249. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js.map +1 -1
  250. package/oj-c/input-date-picker/__webdriver__/index.js +4 -4
  251. package/oj-c/input-date-picker/__webdriver__/index.js.map +1 -1
  252. package/oj-c/input-date-picker/component.json +10 -3
  253. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js +4 -8
  254. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js.map +1 -1
  255. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.d.ts +1 -1
  256. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js +2 -2
  257. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js.map +1 -1
  258. package/oj-c/input-date-text/__webdriver__/index.js +4 -4
  259. package/oj-c/input-date-text/__webdriver__/index.js.map +1 -1
  260. package/oj-c/input-date-text/component.json +11 -4
  261. package/oj-c/input-date-text/useImplicitDateConverter.js +1 -2
  262. package/oj-c/input-date-text/useImplicitDateRangeValidator.js +1 -2
  263. package/oj-c/input-date-text/useInputDateTextPreact.js +5 -6
  264. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js +1 -1
  265. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js.map +1 -1
  266. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.d.ts +1 -1
  267. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js +2 -2
  268. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js.map +1 -1
  269. package/oj-c/input-month-mask/__webdriver__/index.js +4 -4
  270. package/oj-c/input-month-mask/__webdriver__/index.js.map +1 -1
  271. package/oj-c/input-month-mask/component.json +11 -4
  272. package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +1 -2
  273. package/oj-c/input-month-mask/useInputMonthMaskPreact.js +5 -6
  274. package/oj-c/input-number/__webdriver__/InputNumberWebElement.js +4 -8
  275. package/oj-c/input-number/__webdriver__/InputNumberWebElement.js.map +1 -1
  276. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +2 -2
  277. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +2 -2
  278. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -1
  279. package/oj-c/input-number/__webdriver__/index.js +4 -4
  280. package/oj-c/input-number/__webdriver__/index.js.map +1 -1
  281. package/oj-c/input-number/component.json +11 -4
  282. package/oj-c/input-number/input-number.js +1 -1
  283. package/oj-c/input-number/stepBasisUtils.js +1 -2
  284. package/oj-c/input-number/useImplicitNumberConverter.js +1 -2
  285. package/oj-c/input-number/useImplicitNumberRangeValidator.js +9 -3
  286. package/oj-c/input-number/useNumberInputTextPreact.js +96 -56
  287. package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js +4 -8
  288. package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js.map +1 -1
  289. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +1 -1
  290. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +2 -2
  291. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
  292. package/oj-c/input-password/__webdriver__/index.js +4 -4
  293. package/oj-c/input-password/__webdriver__/index.js.map +1 -1
  294. package/oj-c/input-password/component.json +10 -3
  295. package/oj-c/input-password/useInputPasswordPreact.js +3 -4
  296. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js +4 -8
  297. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js.map +1 -1
  298. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.d.ts +1 -1
  299. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js +2 -2
  300. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js.map +1 -1
  301. package/oj-c/input-sensitive-text/__webdriver__/index.js +4 -4
  302. package/oj-c/input-sensitive-text/__webdriver__/index.js.map +1 -1
  303. package/oj-c/input-sensitive-text/component.json +11 -4
  304. package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +4 -5
  305. package/oj-c/input-text/__webdriver__/InputTextWebElement.js +4 -8
  306. package/oj-c/input-text/__webdriver__/InputTextWebElement.js.map +1 -1
  307. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.d.ts +1 -1
  308. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js +2 -2
  309. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js.map +1 -1
  310. package/oj-c/input-text/__webdriver__/index.js +4 -4
  311. package/oj-c/input-text/__webdriver__/index.js.map +1 -1
  312. package/oj-c/input-text/component.json +10 -3
  313. package/oj-c/input-text/useInputTextPreact.js +5 -6
  314. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElement.js +1 -1
  315. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElement.js.map +1 -1
  316. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.d.ts +1 -1
  317. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.js +2 -2
  318. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.js.map +1 -1
  319. package/oj-c/labelled-link/__webdriver__/index.js +4 -4
  320. package/oj-c/labelled-link/__webdriver__/index.js.map +1 -1
  321. package/oj-c/labelled-link/component.json +11 -4
  322. package/oj-c/labelled-link/useLabelledLinkPreact.js +1 -2
  323. package/oj-c/legend/__webdriver__/LegendWebElement.js +1 -1
  324. package/oj-c/legend/__webdriver__/LegendWebElement.js.map +1 -1
  325. package/oj-c/legend/__webdriver__/LegendWebElementBase.d.ts +13 -0
  326. package/oj-c/legend/__webdriver__/LegendWebElementBase.js +10 -1
  327. package/oj-c/legend/__webdriver__/LegendWebElementBase.js.map +1 -1
  328. package/oj-c/legend/__webdriver__/index.js +4 -4
  329. package/oj-c/legend/__webdriver__/index.js.map +1 -1
  330. package/oj-c/legend/component.json +63 -3
  331. package/oj-c/legend/events.js +4 -4
  332. package/oj-c/legend/legend-styles.css +2 -26
  333. package/oj-c/legend/legend.js +82 -35
  334. package/oj-c/legend/useSectionData.js +6 -3
  335. package/oj-c/legend/utils.js +18 -14
  336. package/oj-c/legend-item/component.json +2 -2
  337. package/oj-c/legend-section/component.json +2 -2
  338. package/oj-c/legend-utils/index.js +6 -0
  339. package/oj-c/legend-utils/legendUtils.js +9 -0
  340. package/oj-c/line-chart/__webdriver__/LineChartWebElement.js +1 -1
  341. package/oj-c/line-chart/__webdriver__/LineChartWebElement.js.map +1 -1
  342. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +13 -0
  343. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +10 -1
  344. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
  345. package/oj-c/line-chart/__webdriver__/index.js +4 -4
  346. package/oj-c/line-chart/__webdriver__/index.js.map +1 -1
  347. package/oj-c/line-chart/component.json +52 -5
  348. package/oj-c/line-chart/line-chart-styles.css +1 -1
  349. package/oj-c/line-chart/line-chart.js +9 -8
  350. package/oj-c/line-chart-group/component.json +2 -2
  351. package/oj-c/line-chart-item/component.json +2 -2
  352. package/oj-c/line-chart-series/component.json +2 -2
  353. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js +1 -1
  354. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js.map +1 -1
  355. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js +1 -1
  356. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js.map +1 -1
  357. package/oj-c/list-item-layout/__webdriver__/index.js +4 -4
  358. package/oj-c/list-item-layout/__webdriver__/index.js.map +1 -1
  359. package/oj-c/list-item-layout/component.json +3 -3
  360. package/oj-c/list-view/__webdriver__/ListViewWebElement.d.ts +19 -0
  361. package/oj-c/list-view/__webdriver__/ListViewWebElement.js +43 -13
  362. package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -1
  363. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.d.ts +28 -2
  364. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js +20 -2
  365. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js.map +1 -1
  366. package/oj-c/list-view/__webdriver__/contextMenuUtils.d.ts +33 -0
  367. package/oj-c/list-view/__webdriver__/contextMenuUtils.js +88 -0
  368. package/oj-c/list-view/__webdriver__/contextMenuUtils.js.map +1 -0
  369. package/oj-c/list-view/__webdriver__/index.js +4 -4
  370. package/oj-c/list-view/__webdriver__/index.js.map +1 -1
  371. package/oj-c/list-view/component.json +35 -5
  372. package/oj-c/list-view/list-view-styles.css +2 -1
  373. package/oj-c/list-view/list-view.js +11 -5
  374. package/oj-c/list-view/listViewItem.js +2 -2
  375. package/oj-c/list-view/useCurrentItemOverride.js +23 -0
  376. package/oj-c/list-view/useHandleRemoveCurrentKey.js +8 -9
  377. package/oj-c/list-view/useListViewPreact.js +16 -36
  378. package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js +2 -2
  379. package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js.map +1 -1
  380. package/oj-c/menu-button/__webdriver__/MenuButtonWebElementBase.js +1 -1
  381. package/oj-c/menu-button/__webdriver__/MenuButtonWebElementBase.js.map +1 -1
  382. package/oj-c/menu-button/__webdriver__/index.js +4 -4
  383. package/oj-c/menu-button/__webdriver__/index.js.map +1 -1
  384. package/oj-c/menu-button/component.json +23 -6
  385. package/oj-c/menu-button/menu-button.js +23 -44
  386. package/oj-c/message-banner/__webdriver__/MessageBannerWebElement.js +3 -3
  387. package/oj-c/message-banner/__webdriver__/MessageBannerWebElement.js.map +1 -1
  388. package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js +1 -1
  389. package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js.map +1 -1
  390. package/oj-c/message-banner/__webdriver__/index.js +4 -4
  391. package/oj-c/message-banner/__webdriver__/index.js.map +1 -1
  392. package/oj-c/message-banner/component.json +8 -8
  393. package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js +3 -3
  394. package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js.map +1 -1
  395. package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js +1 -1
  396. package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js.map +1 -1
  397. package/oj-c/message-toast/__webdriver__/index.js +4 -4
  398. package/oj-c/message-toast/__webdriver__/index.js.map +1 -1
  399. package/oj-c/message-toast/component.json +7 -7
  400. package/oj-c/message-toast/message-toast.js +1 -1
  401. package/oj-c/metadata/allComponents.json +3426 -2273
  402. package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js +1 -1
  403. package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js.map +1 -1
  404. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js +1 -1
  405. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js.map +1 -1
  406. package/oj-c/meter-bar/__webdriver__/index.js +4 -4
  407. package/oj-c/meter-bar/__webdriver__/index.js.map +1 -1
  408. package/oj-c/meter-bar/component.json +3 -3
  409. package/oj-c/meter-bar/meter-bar.js +8 -6
  410. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js +1 -1
  411. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js.map +1 -1
  412. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js +1 -1
  413. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js.map +1 -1
  414. package/oj-c/meter-circle/__webdriver__/index.js +4 -4
  415. package/oj-c/meter-circle/__webdriver__/index.js.map +1 -1
  416. package/oj-c/meter-circle/component.json +3 -3
  417. package/oj-c/meter-circle/meter-circle.js +10 -8
  418. package/oj-c/min/Dropdown/Dropdown.js +1 -2
  419. package/oj-c/min/FormControlWrapper/FormControlWrapper.js +1 -2
  420. package/oj-c/min/Sheet/Sheet.js +1 -2
  421. package/oj-c/min/area-chart/area-chart-styles.css +1 -1
  422. package/oj-c/min/area-chart.js +1 -1
  423. package/oj-c/min/area-chart.js.map +1 -1
  424. package/oj-c/min/button.js +1 -1
  425. package/oj-c/min/button.js.map +1 -1
  426. package/oj-c/min/buttonset-multiple.js +1 -1
  427. package/oj-c/min/buttonset-multiple.js.map +1 -1
  428. package/oj-c/min/buttonset-single.js +1 -1
  429. package/oj-c/min/buttonset-single.js.map +1 -1
  430. package/oj-c/min/card-view.js +1 -1
  431. package/oj-c/min/card-view.js.map +1 -1
  432. package/oj-c/min/checkbox.js +1 -1
  433. package/oj-c/min/checkbox.js.map +1 -1
  434. package/oj-c/min/checkboxset.js +1 -1
  435. package/oj-c/min/checkboxset.js.map +1 -1
  436. package/oj-c/min/collapsible.js +1 -1
  437. package/oj-c/min/collapsible.js.map +1 -1
  438. package/oj-c/min/conveyor-belt.js +1 -1
  439. package/oj-c/min/conveyor-belt.js.map +1 -1
  440. package/oj-c/min/corepackbundle.css +40 -53
  441. package/oj-c/min/corepackbundle.js +1 -1
  442. package/oj-c/min/corepackbundle.js.map +1 -1
  443. package/oj-c/min/dialog/dialog-styles.css +12 -0
  444. package/oj-c/min/dialog.js +2 -0
  445. package/oj-c/min/dialog.js.map +1 -0
  446. package/oj-c/min/drawer-popup/drawer-popup-styles.css +1 -1
  447. package/oj-c/min/drawer-popup.js +1 -1
  448. package/oj-c/min/drawer-popup.js.map +1 -1
  449. package/oj-c/min/editable-value/UNSAFE_useAssistiveText/useAssistiveText.js +1 -2
  450. package/oj-c/min/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.js +1 -2
  451. package/oj-c/min/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity.js +1 -2
  452. package/oj-c/min/file-picker.js +1 -1
  453. package/oj-c/min/file-picker.js.map +1 -1
  454. package/oj-c/min/form-layout.js +1 -1
  455. package/oj-c/min/form-layout.js.map +1 -1
  456. package/oj-c/min/hooks/PRIVATE_useSelectionContext/ItemKeyContext.js +6 -0
  457. package/oj-c/min/hooks/PRIVATE_useSelectionContext/SelectionContext.js +6 -0
  458. package/oj-c/min/hooks/PRIVATE_useSelectionContext/useItemKeyContext.js +8 -0
  459. package/oj-c/min/hooks/PRIVATE_useSelectionContext/useSelectionContext.js +8 -0
  460. package/oj-c/min/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.js +41 -0
  461. package/oj-c/min/hooks/PRIVATE_useVisData/useVisData.js +1 -2
  462. package/oj-c/min/hooks/UNSAFE_useChartData/useChartData.js +3 -3
  463. package/oj-c/min/hooks/UNSAFE_useDataProvider/useDataProvider.js +1 -2
  464. package/oj-c/min/hooks/UNSAFE_useDataProvider/utils.js +1 -2
  465. package/oj-c/min/hooks/UNSAFE_useEditableValue/converterUtils.js +5 -5
  466. package/oj-c/min/hooks/UNSAFE_useEditableValue/index.js +4 -2
  467. package/oj-c/min/hooks/UNSAFE_useEditableValue/reducer.js +26 -17
  468. package/oj-c/min/hooks/UNSAFE_useEditableValue/useEditableValue.js +91 -51
  469. package/oj-c/min/hooks/UNSAFE_useEditableValue/utils.js +13 -1
  470. package/oj-c/min/hooks/UNSAFE_useEditableValue/validationUtils.js +2 -3
  471. package/oj-c/min/hooks/UNSAFE_useLegendPosition/useLegendPosition.js +1 -2
  472. package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +48 -13
  473. package/oj-c/min/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +1 -2
  474. package/oj-c/min/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +6 -6
  475. package/oj-c/min/hooks/UNSAFE_useVizCategories/useVizCategories.js +17 -4
  476. package/oj-c/min/input-date-mask.js +1 -1
  477. package/oj-c/min/input-date-mask.js.map +1 -1
  478. package/oj-c/min/input-date-picker.js +2 -2
  479. package/oj-c/min/input-date-picker.js.map +1 -1
  480. package/oj-c/min/input-date-text.js +1 -1
  481. package/oj-c/min/input-date-text.js.map +1 -1
  482. package/oj-c/min/input-month-mask.js +1 -1
  483. package/oj-c/min/input-month-mask.js.map +1 -1
  484. package/oj-c/min/input-number.js +1 -1
  485. package/oj-c/min/input-number.js.map +1 -1
  486. package/oj-c/min/input-password.js +1 -1
  487. package/oj-c/min/input-password.js.map +1 -1
  488. package/oj-c/min/input-sensitive-text.js +1 -1
  489. package/oj-c/min/input-sensitive-text.js.map +1 -1
  490. package/oj-c/min/input-text.js +1 -1
  491. package/oj-c/min/input-text.js.map +1 -1
  492. package/oj-c/min/labelled-link.js +1 -1
  493. package/oj-c/min/labelled-link.js.map +1 -1
  494. package/oj-c/min/legend/legend-styles.css +2 -26
  495. package/oj-c/min/legend-utils/index.js +6 -0
  496. package/oj-c/min/legend-utils/legendUtils.js +9 -0
  497. package/oj-c/min/legend.js +1 -1
  498. package/oj-c/min/legend.js.map +1 -1
  499. package/oj-c/min/line-chart/line-chart-styles.css +1 -1
  500. package/oj-c/min/line-chart.js +1 -1
  501. package/oj-c/min/line-chart.js.map +1 -1
  502. package/oj-c/min/list-view/list-view-styles.css +2 -1
  503. package/oj-c/min/list-view.js +1 -1
  504. package/oj-c/min/list-view.js.map +1 -1
  505. package/oj-c/min/menu-button.js +1 -1
  506. package/oj-c/min/menu-button.js.map +1 -1
  507. package/oj-c/min/message-banner.js +1 -1
  508. package/oj-c/min/message-banner.js.map +1 -1
  509. package/oj-c/min/message-toast.js +1 -1
  510. package/oj-c/min/message-toast.js.map +1 -1
  511. package/oj-c/min/meter-bar.js +1 -1
  512. package/oj-c/min/meter-bar.js.map +1 -1
  513. package/oj-c/min/meter-circle.js +1 -1
  514. package/oj-c/min/meter-circle.js.map +1 -1
  515. package/oj-c/min/popup.js +1 -1
  516. package/oj-c/min/popup.js.map +1 -1
  517. package/oj-c/min/progress-bar.js +1 -1
  518. package/oj-c/min/progress-bar.js.map +1 -1
  519. package/oj-c/min/progress-circle.js +1 -1
  520. package/oj-c/min/progress-circle.js.map +1 -1
  521. package/oj-c/min/radioset.js +1 -1
  522. package/oj-c/min/radioset.js.map +1 -1
  523. package/oj-c/min/select-common/PRIVATE_useCache/useCache.js +1 -2
  524. package/oj-c/min/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +1 -2
  525. package/oj-c/min/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +1 -2
  526. package/oj-c/min/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +1 -2
  527. package/oj-c/min/select-common/utils/utils.js +4 -4
  528. package/oj-c/min/select-multiple.js +2 -2
  529. package/oj-c/min/select-multiple.js.map +1 -1
  530. package/oj-c/min/select-single.js +2 -2
  531. package/oj-c/min/select-single.js.map +1 -1
  532. package/oj-c/min/selector-all.js +1 -1
  533. package/oj-c/min/selector-all.js.map +1 -1
  534. package/oj-c/min/selector.js +1 -1
  535. package/oj-c/min/selector.js.map +1 -1
  536. package/oj-c/min/skeleton.js +2 -0
  537. package/oj-c/min/skeleton.js.map +1 -0
  538. package/oj-c/min/split-menu-button.js +1 -1
  539. package/oj-c/min/split-menu-button.js.map +1 -1
  540. package/oj-c/min/tab-bar-mixed.js +1 -1
  541. package/oj-c/min/tab-bar-mixed.js.map +1 -1
  542. package/oj-c/min/tab-bar.js +1 -1
  543. package/oj-c/min/tab-bar.js.map +1 -1
  544. package/oj-c/min/table/table-styles.css +0 -13
  545. package/oj-c/min/table.js +1 -1
  546. package/oj-c/min/table.js.map +1 -1
  547. package/oj-c/min/tag-cloud/tag-cloud-styles.css +1 -1
  548. package/oj-c/min/tag-cloud.js +1 -1
  549. package/oj-c/min/tag-cloud.js.map +1 -1
  550. package/oj-c/min/text-area.js +1 -1
  551. package/oj-c/min/text-area.js.map +1 -1
  552. package/oj-c/min/toggle-button.js +1 -1
  553. package/oj-c/min/toggle-button.js.map +1 -1
  554. package/oj-c/min/toolbar/toolbar-styles.css +21 -0
  555. package/oj-c/min/toolbar.js +2 -0
  556. package/oj-c/min/toolbar.js.map +1 -0
  557. package/oj-c/min/unsafe/InputGroup/InputGroup.js +1 -2
  558. package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +5 -5
  559. package/oj-c/min/utils/PRIVATE_ItemsMenu/menu-item-icon.js +1 -2
  560. package/oj-c/min/utils/PRIVATE_ItemsMenu/menu-select-items.js +1 -2
  561. package/oj-c/min/utils/PRIVATE_chartUtils/events.js +2 -2
  562. package/oj-c/min/utils/PRIVATE_chartUtils/legendUtils.js +3 -3
  563. package/oj-c/min/utils/PRIVATE_chartUtils/lineAreaUtils.js +4 -5
  564. package/oj-c/min/utils/PRIVATE_chartUtils/plotAreaUtils.js +1 -2
  565. package/oj-c/min/utils/PRIVATE_collectionUtils/collectionUtils.js +31 -0
  566. package/oj-c/min/utils/PRIVATE_collectionUtils/index.js +19 -0
  567. package/oj-c/min/utils/PRIVATE_toggleUtils/toggle-item-icon.js +1 -2
  568. package/oj-c/min/utils/PRIVATE_toggleUtils/widthStyle.js +1 -2
  569. package/oj-c/popup/__webdriver__/PopupWebElement.d.ts +12 -0
  570. package/oj-c/popup/__webdriver__/PopupWebElement.js +43 -1
  571. package/oj-c/popup/__webdriver__/PopupWebElement.js.map +1 -1
  572. package/oj-c/popup/__webdriver__/PopupWebElementBase.d.ts +3 -20
  573. package/oj-c/popup/__webdriver__/PopupWebElementBase.js +3 -12
  574. package/oj-c/popup/__webdriver__/PopupWebElementBase.js.map +1 -1
  575. package/oj-c/popup/__webdriver__/index.js +4 -4
  576. package/oj-c/popup/__webdriver__/index.js.map +1 -1
  577. package/oj-c/popup/component.json +18 -17
  578. package/oj-c/popup/popup.js +77 -36
  579. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js +1 -1
  580. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js.map +1 -1
  581. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js +1 -1
  582. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js.map +1 -1
  583. package/oj-c/progress-bar/__webdriver__/index.js +4 -4
  584. package/oj-c/progress-bar/__webdriver__/index.js.map +1 -1
  585. package/oj-c/progress-bar/component.json +4 -4
  586. package/oj-c/progress-bar/progress-bar.js +2 -2
  587. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js +2 -2
  588. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js.map +1 -1
  589. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js +1 -1
  590. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js.map +1 -1
  591. package/oj-c/progress-button/__webdriver__/index.js +4 -4
  592. package/oj-c/progress-button/__webdriver__/index.js.map +1 -1
  593. package/oj-c/progress-button/component.json +3 -3
  594. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js +1 -1
  595. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js.map +1 -1
  596. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js +1 -1
  597. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js.map +1 -1
  598. package/oj-c/progress-circle/__webdriver__/index.js +4 -4
  599. package/oj-c/progress-circle/__webdriver__/index.js.map +1 -1
  600. package/oj-c/progress-circle/component.json +4 -4
  601. package/oj-c/progress-circle/progress-circle.js +2 -2
  602. package/oj-c/radioset/__webdriver__/RadiosetWebElement.js +6 -9
  603. package/oj-c/radioset/__webdriver__/RadiosetWebElement.js.map +1 -1
  604. package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.d.ts +3 -3
  605. package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.js +2 -2
  606. package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.js.map +1 -1
  607. package/oj-c/radioset/__webdriver__/index.js +4 -4
  608. package/oj-c/radioset/__webdriver__/index.js.map +1 -1
  609. package/oj-c/radioset/component.json +11 -4
  610. package/oj-c/radioset/radioset.js +1 -1
  611. package/oj-c/radioset/useRadiosetPreact.js +1 -2
  612. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js +1 -1
  613. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js.map +1 -1
  614. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js +1 -1
  615. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js.map +1 -1
  616. package/oj-c/rating-gauge/__webdriver__/index.js +4 -4
  617. package/oj-c/rating-gauge/__webdriver__/index.js.map +1 -1
  618. package/oj-c/rating-gauge/component.json +4 -4
  619. package/oj-c/select-common/PRIVATE_useCache/useCache.js +1 -2
  620. package/oj-c/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +1 -2
  621. package/oj-c/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +1 -2
  622. package/oj-c/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +1 -2
  623. package/oj-c/select-common/utils/utils.js +4 -4
  624. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js +7 -16
  625. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js.map +1 -1
  626. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.d.ts +5 -5
  627. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js +2 -2
  628. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js.map +1 -1
  629. package/oj-c/select-multiple/__webdriver__/index.js +4 -4
  630. package/oj-c/select-multiple/__webdriver__/index.js.map +1 -1
  631. package/oj-c/select-multiple/component.json +81 -7
  632. package/oj-c/select-multiple/select-multiple.js +9 -1
  633. package/oj-c/select-multiple/useSelectMultiplePreact.js +24 -21
  634. package/oj-c/select-multiple/useSyncValueAndValueItems.js +4 -5
  635. package/oj-c/select-multiple/useValueItems.js +1 -2
  636. package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js +9 -27
  637. package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js.map +1 -1
  638. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.d.ts +3 -3
  639. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js +2 -2
  640. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js.map +1 -1
  641. package/oj-c/select-single/__webdriver__/index.js +4 -4
  642. package/oj-c/select-single/__webdriver__/index.js.map +1 -1
  643. package/oj-c/select-single/component.json +15 -5
  644. package/oj-c/select-single/select-single.js +9 -1
  645. package/oj-c/select-single/useSelectSinglePreact.js +31 -30
  646. package/oj-c/select-single/useSyncValueAndValueItem.js +4 -5
  647. package/oj-c/select-single/useValueItem.js +1 -2
  648. package/oj-c/selection-card/__webdriver__/SelectionCardWebElement.js +1 -1
  649. package/oj-c/selection-card/__webdriver__/SelectionCardWebElement.js.map +1 -1
  650. package/oj-c/selection-card/__webdriver__/SelectionCardWebElementBase.js +1 -1
  651. package/oj-c/selection-card/__webdriver__/SelectionCardWebElementBase.js.map +1 -1
  652. package/oj-c/selection-card/__webdriver__/index.js +4 -4
  653. package/oj-c/selection-card/__webdriver__/index.js.map +1 -1
  654. package/oj-c/selection-card/component.json +5 -5
  655. package/oj-c/selector/__webdriver__/SelectorWebElement.js +2 -2
  656. package/oj-c/selector/__webdriver__/SelectorWebElement.js.map +1 -1
  657. package/oj-c/selector/__webdriver__/SelectorWebElementBase.d.ts +3 -3
  658. package/oj-c/selector/__webdriver__/SelectorWebElementBase.js +3 -3
  659. package/oj-c/selector/__webdriver__/SelectorWebElementBase.js.map +1 -1
  660. package/oj-c/selector/__webdriver__/index.js +4 -4
  661. package/oj-c/selector/__webdriver__/index.js.map +1 -1
  662. package/oj-c/selector/component.json +6 -8
  663. package/oj-c/selector/selector.js +25 -7
  664. package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js +2 -2
  665. package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js.map +1 -1
  666. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +1 -1
  667. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -1
  668. package/oj-c/selector-all/__webdriver__/index.js +4 -4
  669. package/oj-c/selector-all/__webdriver__/index.js.map +1 -1
  670. package/oj-c/selector-all/component.json +3 -3
  671. package/oj-c/selector-all/selector-all.js +1 -1
  672. package/oj-c/skeleton/__webdriver__/SkeletonWebElement.d.ts +8 -0
  673. package/oj-c/skeleton/__webdriver__/SkeletonWebElement.js +13 -0
  674. package/oj-c/skeleton/__webdriver__/SkeletonWebElement.js.map +1 -0
  675. package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.d.ts +30 -0
  676. package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.js +41 -0
  677. package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.js.map +1 -0
  678. package/oj-c/skeleton/__webdriver__/index.d.ts +17 -0
  679. package/oj-c/skeleton/__webdriver__/index.js +34 -0
  680. package/oj-c/skeleton/__webdriver__/index.js.map +1 -0
  681. package/oj-c/skeleton/component.json +94 -0
  682. package/oj-c/skeleton/index.js +6 -0
  683. package/oj-c/skeleton/skeleton.js +11 -0
  684. package/oj-c/skeleton.js +6 -0
  685. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +2 -2
  686. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
  687. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +1 -1
  688. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
  689. package/oj-c/split-menu-button/__webdriver__/index.js +4 -4
  690. package/oj-c/split-menu-button/__webdriver__/index.js.map +1 -1
  691. package/oj-c/split-menu-button/component.json +15 -11
  692. package/oj-c/split-menu-button/split-menu-button.js +16 -43
  693. package/oj-c/tab-bar/ContentRenderer.js +32 -13
  694. package/oj-c/tab-bar/DataTabBar.js +5 -3
  695. package/oj-c/tab-bar/DataTabBarIcon.js +1 -2
  696. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js +37 -43
  697. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js.map +1 -1
  698. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.d.ts +9 -2
  699. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js +10 -1
  700. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js.map +1 -1
  701. package/oj-c/tab-bar/__webdriver__/index.js +4 -4
  702. package/oj-c/tab-bar/__webdriver__/index.js.map +1 -1
  703. package/oj-c/tab-bar/component.json +19 -9
  704. package/oj-c/tab-bar/tab-bar.js +13 -13
  705. package/oj-c/tab-bar-mixed/DataTabBarMixed.js +1 -2
  706. package/oj-c/tab-bar-mixed/DataTabBarMixedIcon.js +1 -2
  707. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_ConveyorBelt.js +1 -2
  708. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_TabBarMixed.js +5 -5
  709. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +4 -4
  710. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -1
  711. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.d.ts +4 -4
  712. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js +1 -1
  713. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js.map +1 -1
  714. package/oj-c/tab-bar-mixed/__webdriver__/index.js +4 -4
  715. package/oj-c/tab-bar-mixed/__webdriver__/index.js.map +1 -1
  716. package/oj-c/tab-bar-mixed/component.json +11 -11
  717. package/oj-c/tab-bar-mixed/environment.js +1 -2
  718. package/oj-c/tab-bar-mixed/sumBadge.js +1 -2
  719. package/oj-c/tab-bar-mixed/tab-bar-mixed.js +7 -7
  720. package/oj-c/table/__webdriver__/TableWebElement.js +14 -14
  721. package/oj-c/table/__webdriver__/TableWebElement.js.map +1 -1
  722. package/oj-c/table/__webdriver__/TableWebElementBase.d.ts +1 -1
  723. package/oj-c/table/__webdriver__/TableWebElementBase.js +1 -1
  724. package/oj-c/table/__webdriver__/TableWebElementBase.js.map +1 -1
  725. package/oj-c/table/__webdriver__/index.js +4 -4
  726. package/oj-c/table/__webdriver__/index.js.map +1 -1
  727. package/oj-c/table/component.json +52 -4
  728. package/oj-c/table/table-styles.css +0 -13
  729. package/oj-c/table/table.js +45 -24
  730. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js +1 -1
  731. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js.map +1 -1
  732. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.d.ts +13 -0
  733. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js +10 -1
  734. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js.map +1 -1
  735. package/oj-c/tag-cloud/__webdriver__/index.js +4 -4
  736. package/oj-c/tag-cloud/__webdriver__/index.js.map +1 -1
  737. package/oj-c/tag-cloud/component.json +52 -3
  738. package/oj-c/tag-cloud/tag-cloud-styles.css +1 -1
  739. package/oj-c/tag-cloud/tag-cloud.js +8 -6
  740. package/oj-c/tag-cloud/utils.js +2 -3
  741. package/oj-c/tag-cloud-item/component.json +2 -2
  742. package/oj-c/text-area/__webdriver__/TextAreaWebElement.js +4 -8
  743. package/oj-c/text-area/__webdriver__/TextAreaWebElement.js.map +1 -1
  744. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.d.ts +1 -1
  745. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js +2 -2
  746. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js.map +1 -1
  747. package/oj-c/text-area/__webdriver__/index.js +4 -4
  748. package/oj-c/text-area/__webdriver__/index.js.map +1 -1
  749. package/oj-c/text-area/component.json +10 -3
  750. package/oj-c/text-area/useTextAreaAutosizePreact.js +3 -4
  751. package/oj-c/text-area/useTextAreaPreact.js +3 -4
  752. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js +1 -1
  753. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js.map +1 -1
  754. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js +1 -1
  755. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js.map +1 -1
  756. package/oj-c/toggle-button/__webdriver__/index.js +4 -4
  757. package/oj-c/toggle-button/__webdriver__/index.js.map +1 -1
  758. package/oj-c/toggle-button/component.json +9 -10
  759. package/oj-c/toggle-button/toggle-button.js +26 -54
  760. package/oj-c/toolbar/__webdriver__/ToolbarWebElement.d.ts +8 -0
  761. package/oj-c/toolbar/__webdriver__/ToolbarWebElement.js +13 -0
  762. package/oj-c/toolbar/__webdriver__/ToolbarWebElement.js.map +1 -0
  763. package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.d.ts +51 -0
  764. package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.js +68 -0
  765. package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.js.map +1 -0
  766. package/oj-c/toolbar/__webdriver__/index.d.ts +17 -0
  767. package/oj-c/toolbar/__webdriver__/index.js +34 -0
  768. package/oj-c/toolbar/__webdriver__/index.js.map +1 -0
  769. package/oj-c/toolbar/component.json +183 -0
  770. package/oj-c/toolbar/index.js +6 -0
  771. package/oj-c/toolbar/items-toolbar.js +100 -0
  772. package/oj-c/toolbar/itemsTypes.js +4 -0
  773. package/oj-c/toolbar/toolbar-styles.css +21 -0
  774. package/oj-c/toolbar/toolbar.js +10 -0
  775. package/oj-c/toolbar.js +6 -0
  776. package/oj-c/types/area-chart/area-chart.d.ts +37 -2
  777. package/oj-c/types/area-chart/index.d.ts +1 -1
  778. package/oj-c/types/avatar/avatar.d.ts +6 -6
  779. package/oj-c/types/button/button.d.ts +11 -12
  780. package/oj-c/types/buttonset-multiple/buttonset-multiple.d.ts +9 -10
  781. package/oj-c/types/buttonset-single/buttonset-single.d.ts +9 -10
  782. package/oj-c/types/card-view/card-view.d.ts +6 -1
  783. package/oj-c/types/card-view/useCardViewPreact.d.ts +6 -22
  784. package/oj-c/types/checkbox/useCheckboxPreact.d.ts +11 -11
  785. package/oj-c/types/checkboxset/useCheckboxsetPreact.d.ts +6 -23
  786. package/oj-c/types/date-picker/date-picker.d.ts +15 -15
  787. package/oj-c/types/dialog/dialog.d.ts +184 -0
  788. package/oj-c/types/dialog/index.d.ts +2 -0
  789. package/oj-c/types/drawer-popup/drawer-popup.d.ts +5 -0
  790. package/oj-c/types/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.d.ts +3 -1
  791. package/oj-c/types/file-picker/file-picker.d.ts +2 -2
  792. package/oj-c/types/form-layout/form-layout.d.ts +1 -0
  793. package/oj-c/types/hooks/PRIVATE_useSelectionContext/ItemKeyContext.d.ts +3 -0
  794. package/oj-c/types/hooks/PRIVATE_useSelectionContext/SelectionContext.d.ts +11 -0
  795. package/oj-c/types/hooks/PRIVATE_useSelectionContext/useItemKeyContext.d.ts +1 -0
  796. package/oj-c/types/hooks/PRIVATE_useSelectionContext/useSelectionContext.d.ts +1 -0
  797. package/oj-c/types/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.d.ts +24 -0
  798. package/oj-c/types/hooks/PRIVATE_useVisData/useVisData.d.ts +1 -1
  799. package/oj-c/types/hooks/UNSAFE_useChartData/useChartData.d.ts +1 -0
  800. package/oj-c/types/hooks/UNSAFE_useEditableValue/converterUtils.d.ts +3 -3
  801. package/oj-c/types/hooks/UNSAFE_useEditableValue/index.d.ts +2 -1
  802. package/oj-c/types/hooks/UNSAFE_useEditableValue/reducer.d.ts +8 -2
  803. package/oj-c/types/hooks/UNSAFE_useEditableValue/types.d.ts +3 -1
  804. package/oj-c/types/hooks/UNSAFE_useEditableValue/useEditableValue.d.ts +12 -3
  805. package/oj-c/types/hooks/UNSAFE_useEditableValue/utils.d.ts +3 -1
  806. package/oj-c/types/hooks/UNSAFE_useLegendPosition/useLegendPosition.d.ts +2 -2
  807. package/oj-c/types/hooks/UNSAFE_useListData/useListData.d.ts +1 -1
  808. package/oj-c/types/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.d.ts +1 -1
  809. package/oj-c/types/hooks/UNSAFE_useVisBusyState/useVisBusyState.d.ts +3 -1
  810. package/oj-c/types/input-date-mask/useInputDateMaskPreact.d.ts +4 -29
  811. package/oj-c/types/input-date-picker/useInputDatePicker.d.ts +9 -43
  812. package/oj-c/types/input-date-text/useImplicitDateConverter.d.ts +1 -1
  813. package/oj-c/types/input-date-text/useInputDateTextPreact.d.ts +4 -36
  814. package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +4 -28
  815. package/oj-c/types/input-number/input-number.d.ts +2 -2
  816. package/oj-c/types/input-number/useImplicitNumberConverter.d.ts +1 -1
  817. package/oj-c/types/input-number/useNumberInputTextPreact.d.ts +6 -46
  818. package/oj-c/types/input-password/useInputPasswordPreact.d.ts +4 -29
  819. package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +6 -32
  820. package/oj-c/types/input-text/useInputTextPreact.d.ts +6 -36
  821. package/oj-c/types/labelled-link/useLabelledLinkPreact.d.ts +5 -14
  822. package/oj-c/types/legend/events.d.ts +1 -1
  823. package/oj-c/types/legend/legend.d.ts +63 -20
  824. package/oj-c/types/legend/useSectionData.d.ts +4 -1
  825. package/oj-c/types/legend/utils.d.ts +3 -3
  826. package/oj-c/types/legend-utils/index.d.ts +1 -0
  827. package/oj-c/types/legend-utils/legendUtils.d.ts +5 -0
  828. package/oj-c/types/line-chart/index.d.ts +1 -1
  829. package/oj-c/types/line-chart/line-chart.d.ts +38 -2
  830. package/oj-c/types/list-item-layout/list-item-layout.d.ts +2 -2
  831. package/oj-c/types/list-view/list-view.d.ts +16 -2
  832. package/oj-c/types/list-view/useCurrentItemOverride.d.ts +6 -0
  833. package/oj-c/types/list-view/useHandleRemoveCurrentKey.d.ts +2 -2
  834. package/oj-c/types/list-view/useListViewPreact.d.ts +6 -10
  835. package/oj-c/types/menu-button/menu-button.d.ts +19 -13
  836. package/oj-c/types/meter-bar/meter-bar.d.ts +20 -20
  837. package/oj-c/types/meter-circle/meter-circle.d.ts +22 -22
  838. package/oj-c/types/popup/popup.d.ts +3 -7
  839. package/oj-c/types/progress-bar/progress-bar.d.ts +4 -4
  840. package/oj-c/types/progress-circle/progress-circle.d.ts +4 -4
  841. package/oj-c/types/radioset/useRadiosetPreact.d.ts +6 -22
  842. package/oj-c/types/rating-gauge/rating-gauge.d.ts +17 -17
  843. package/oj-c/types/select-multiple/select-multiple.d.ts +1 -0
  844. package/oj-c/types/select-multiple/useSelectMultiplePreact.d.ts +6 -6
  845. package/oj-c/types/select-multiple/useSyncValueAndValueItems.d.ts +3 -4
  846. package/oj-c/types/select-single/select-single.d.ts +1 -0
  847. package/oj-c/types/select-single/useSelectSinglePreact.d.ts +9 -9
  848. package/oj-c/types/select-single/useSyncValueAndValueItem.d.ts +3 -4
  849. package/oj-c/types/selector/selector.d.ts +4 -4
  850. package/oj-c/types/skeleton/index.d.ts +2 -0
  851. package/oj-c/types/skeleton/skeleton.d.ts +53 -0
  852. package/oj-c/types/split-menu-button/split-menu-button.d.ts +11 -12
  853. package/oj-c/types/tab-bar/ContentRenderer.d.ts +1 -2
  854. package/oj-c/types/tab-bar/DataTabBar.types.d.ts +12 -1
  855. package/oj-c/types/tab-bar/tab-bar.d.ts +17 -2
  856. package/oj-c/types/table/table.d.ts +5 -0
  857. package/oj-c/types/tag-cloud/index.d.ts +1 -1
  858. package/oj-c/types/tag-cloud/tag-cloud.d.ts +28 -2
  859. package/oj-c/types/tag-cloud/utils.d.ts +2 -1
  860. package/oj-c/types/text-area/useTextAreaAutosizePreact.d.ts +4 -33
  861. package/oj-c/types/text-area/useTextAreaPreact.d.ts +4 -33
  862. package/oj-c/types/toggle-button/toggle-button.d.ts +11 -12
  863. package/oj-c/types/toolbar/index.d.ts +2 -0
  864. package/oj-c/types/toolbar/items-toolbar.d.ts +15 -0
  865. package/oj-c/types/toolbar/itemsTypes.d.ts +70 -0
  866. package/oj-c/types/toolbar/toolbar.d.ts +74 -0
  867. package/oj-c/types/utils/PRIVATE_ItemsMenu/menuTypes.d.ts +2 -0
  868. package/oj-c/types/utils/PRIVATE_chartUtils/events.d.ts +1 -1
  869. package/oj-c/types/utils/PRIVATE_collectionUtils/collectionUtils.d.ts +17 -0
  870. package/oj-c/types/utils/PRIVATE_collectionUtils/index.d.ts +1 -0
  871. package/oj-c/unsafe/InputGroup/InputGroup.js +1 -2
  872. package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +5 -5
  873. package/oj-c/utils/PRIVATE_ItemsMenu/menu-item-icon.js +1 -2
  874. package/oj-c/utils/PRIVATE_ItemsMenu/menu-select-items.js +1 -2
  875. package/oj-c/utils/PRIVATE_chartUtils/events.js +2 -2
  876. package/oj-c/utils/PRIVATE_chartUtils/legendUtils.js +3 -3
  877. package/oj-c/utils/PRIVATE_chartUtils/lineAreaUtils.js +4 -5
  878. package/oj-c/utils/PRIVATE_chartUtils/plotAreaUtils.js +1 -2
  879. package/oj-c/utils/PRIVATE_collectionUtils/collectionUtils.js +31 -0
  880. package/oj-c/utils/PRIVATE_collectionUtils/index.js +19 -0
  881. package/oj-c/utils/PRIVATE_toggleUtils/toggle-item-icon.js +1 -2
  882. package/oj-c/utils/PRIVATE_toggleUtils/widthStyle.js +1 -2
  883. package/package.json +4 -4
  884. package/webdriver/docs/assets/navigation.js +1 -1
  885. package/webdriver/docs/assets/search.js +1 -1
  886. package/webdriver/docs/classes/ActionCardWebElement.html +1 -1
  887. package/webdriver/docs/classes/AreaChartWebElement.html +6 -2
  888. package/webdriver/docs/classes/AvatarWebElement.html +1 -1
  889. package/webdriver/docs/classes/ButtonWebElement.html +1 -1
  890. package/webdriver/docs/classes/ButtonsetMultipleWebElement.html +1 -1
  891. package/webdriver/docs/classes/ButtonsetSingleWebElement.html +1 -1
  892. package/webdriver/docs/classes/CardViewWebElement.html +3 -3
  893. package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
  894. package/webdriver/docs/classes/CheckboxsetWebElement.html +7 -6
  895. package/webdriver/docs/classes/CollapsibleWebElement.html +1 -1
  896. package/webdriver/docs/classes/ConveyorBeltWebElement.html +1 -1
  897. package/webdriver/docs/classes/DatePickerWebElement.html +1 -1
  898. package/webdriver/docs/classes/DialogWebElement.html +173 -0
  899. package/webdriver/docs/classes/DrawerLayoutWebElement.html +1 -1
  900. package/webdriver/docs/classes/DrawerPopupWebElement.html +22 -15
  901. package/webdriver/docs/classes/FilePickerWebElement.html +6 -6
  902. package/webdriver/docs/classes/FormLayoutWebElement.html +5 -4
  903. package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
  904. package/webdriver/docs/classes/InputDateMaskWebElement.html +5 -4
  905. package/webdriver/docs/classes/InputDatePickerWebElement.html +5 -4
  906. package/webdriver/docs/classes/InputDateTextWebElement.html +5 -4
  907. package/webdriver/docs/classes/InputMonthMaskWebElement.html +5 -4
  908. package/webdriver/docs/classes/InputNumberWebElement.html +7 -6
  909. package/webdriver/docs/classes/InputPasswordWebElement.html +5 -4
  910. package/webdriver/docs/classes/InputSensitiveTextWebElement.html +5 -4
  911. package/webdriver/docs/classes/InputTextWebElement.html +5 -4
  912. package/webdriver/docs/classes/LabelledLinkWebElement.html +5 -4
  913. package/webdriver/docs/classes/LegendWebElement.html +6 -2
  914. package/webdriver/docs/classes/LineChartWebElement.html +6 -2
  915. package/webdriver/docs/classes/ListItemLayoutWebElement.html +1 -1
  916. package/webdriver/docs/classes/ListViewWebElement.html +23 -7
  917. package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
  918. package/webdriver/docs/classes/MessageBannerWebElement.html +1 -1
  919. package/webdriver/docs/classes/MessageToastWebElement.html +1 -1
  920. package/webdriver/docs/classes/MeterBarWebElement.html +1 -1
  921. package/webdriver/docs/classes/MeterCircleWebElement.html +1 -1
  922. package/webdriver/docs/classes/PopupWebElement.html +19 -21
  923. package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
  924. package/webdriver/docs/classes/ProgressButtonWebElement.html +1 -1
  925. package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
  926. package/webdriver/docs/classes/RadiosetWebElement.html +7 -6
  927. package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
  928. package/webdriver/docs/classes/SelectMultipleWebElement.html +10 -9
  929. package/webdriver/docs/classes/SelectSingleWebElement.html +7 -6
  930. package/webdriver/docs/classes/SelectionCardWebElement.html +1 -1
  931. package/webdriver/docs/classes/SelectorAllWebElement.html +1 -1
  932. package/webdriver/docs/classes/SelectorWebElement.html +5 -5
  933. package/webdriver/docs/classes/SkeletonWebElement.html +115 -0
  934. package/webdriver/docs/classes/SplitMenuButtonWebElement.html +1 -1
  935. package/webdriver/docs/classes/TabBarMixedWebElement.html +4 -4
  936. package/webdriver/docs/classes/TabBarWebElement.html +9 -5
  937. package/webdriver/docs/classes/TableWebElement.html +1 -1
  938. package/webdriver/docs/classes/TagCloudWebElement.html +6 -2
  939. package/webdriver/docs/classes/TextAreaWebElement.html +5 -4
  940. package/webdriver/docs/classes/ToggleButtonWebElement.html +1 -1
  941. package/webdriver/docs/classes/ToolbarWebElement.html +127 -0
  942. package/webdriver/docs/functions/findActionCard.html +1 -1
  943. package/webdriver/docs/functions/findAreaChart.html +1 -1
  944. package/webdriver/docs/functions/findAvatar.html +1 -1
  945. package/webdriver/docs/functions/findButton.html +1 -1
  946. package/webdriver/docs/functions/findButtonsetMultiple.html +1 -1
  947. package/webdriver/docs/functions/findButtonsetSingle.html +1 -1
  948. package/webdriver/docs/functions/findCardView.html +1 -1
  949. package/webdriver/docs/functions/findCheckbox.html +1 -1
  950. package/webdriver/docs/functions/findCheckboxset.html +1 -1
  951. package/webdriver/docs/functions/findCollapsible.html +1 -1
  952. package/webdriver/docs/functions/findConveyorBelt.html +1 -1
  953. package/webdriver/docs/functions/findDatePicker.html +1 -1
  954. package/webdriver/docs/functions/findDialog.html +8 -0
  955. package/webdriver/docs/functions/findDrawerLayout.html +1 -1
  956. package/webdriver/docs/functions/findDrawerPopup.html +1 -1
  957. package/webdriver/docs/functions/findFilePicker.html +1 -1
  958. package/webdriver/docs/functions/findFormLayout.html +1 -1
  959. package/webdriver/docs/functions/findHighlightText.html +1 -1
  960. package/webdriver/docs/functions/findInputDateMask.html +1 -1
  961. package/webdriver/docs/functions/findInputDatePicker.html +1 -1
  962. package/webdriver/docs/functions/findInputDateText.html +1 -1
  963. package/webdriver/docs/functions/findInputMonthMask.html +1 -1
  964. package/webdriver/docs/functions/findInputNumber.html +1 -1
  965. package/webdriver/docs/functions/findInputPassword.html +1 -1
  966. package/webdriver/docs/functions/findInputSensitiveText.html +1 -1
  967. package/webdriver/docs/functions/findInputText.html +1 -1
  968. package/webdriver/docs/functions/findLabelledLink.html +1 -1
  969. package/webdriver/docs/functions/findLegend.html +1 -1
  970. package/webdriver/docs/functions/findLineChart.html +1 -1
  971. package/webdriver/docs/functions/findListItemLayout.html +1 -1
  972. package/webdriver/docs/functions/findListView.html +1 -1
  973. package/webdriver/docs/functions/findMenuButton.html +1 -1
  974. package/webdriver/docs/functions/findMessageBanner.html +1 -1
  975. package/webdriver/docs/functions/findMessageToast.html +1 -1
  976. package/webdriver/docs/functions/findMeterBar.html +1 -1
  977. package/webdriver/docs/functions/findMeterCircle.html +1 -1
  978. package/webdriver/docs/functions/findPopup.html +1 -1
  979. package/webdriver/docs/functions/findProgressBar.html +1 -1
  980. package/webdriver/docs/functions/findProgressButton.html +1 -1
  981. package/webdriver/docs/functions/findProgressCircle.html +1 -1
  982. package/webdriver/docs/functions/findRadioset.html +1 -1
  983. package/webdriver/docs/functions/findRatingGauge.html +1 -1
  984. package/webdriver/docs/functions/findSelectMultiple.html +1 -1
  985. package/webdriver/docs/functions/findSelectSingle.html +1 -1
  986. package/webdriver/docs/functions/findSelectionCard.html +1 -1
  987. package/webdriver/docs/functions/findSelector.html +1 -1
  988. package/webdriver/docs/functions/findSelectorAll.html +1 -1
  989. package/webdriver/docs/functions/findSkeleton.html +8 -0
  990. package/webdriver/docs/functions/findSplitMenuButton.html +1 -1
  991. package/webdriver/docs/functions/findTabBar.html +1 -1
  992. package/webdriver/docs/functions/findTabBarMixed.html +1 -1
  993. package/webdriver/docs/functions/findTable.html +1 -1
  994. package/webdriver/docs/functions/findTagCloud.html +1 -1
  995. package/webdriver/docs/functions/findTextArea.html +1 -1
  996. package/webdriver/docs/functions/findToggleButton.html +1 -1
  997. package/webdriver/docs/functions/findToolbar.html +8 -0
  998. package/webdriver/docs/index.html +1 -1
  999. package/webdriver/docs/modules.html +7 -1
  1000. package/webdriver/index.d.ts +3 -0
  1001. package/webdriver/index.js +3 -0
  1002. package/webdriver/index.js.map +1 -1
  1003. package/webdriver/index.ts +4 -1
  1004. package/oj-c/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +0 -80
  1005. package/oj-c/editable-value/UNSAFE_useConverter/useConverter.js +0 -55
  1006. package/oj-c/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +0 -26
  1007. package/oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue.js +0 -152
  1008. package/oj-c/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.js +0 -138
  1009. package/oj-c/editable-value/UNSAFE_useValidators/useValidators.js +0 -168
  1010. package/oj-c/editable-value/UNSAFE_useValue/useValue.js +0 -42
  1011. package/oj-c/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +0 -24
  1012. package/oj-c/editable-value/utils/utils.js +0 -43
  1013. package/oj-c/min/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +0 -80
  1014. package/oj-c/min/editable-value/UNSAFE_useConverter/useConverter.js +0 -55
  1015. package/oj-c/min/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +0 -26
  1016. package/oj-c/min/editable-value/UNSAFE_useEditableValue/useEditableValue.js +0 -152
  1017. package/oj-c/min/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.js +0 -138
  1018. package/oj-c/min/editable-value/UNSAFE_useValidators/useValidators.js +0 -168
  1019. package/oj-c/min/editable-value/UNSAFE_useValue/useValue.js +0 -42
  1020. package/oj-c/min/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +0 -24
  1021. package/oj-c/min/editable-value/utils/utils.js +0 -43
  1022. package/oj-c/min/select-common/UNSAFE_useWrapValueState/index.js +0 -6
  1023. package/oj-c/min/select-common/UNSAFE_useWrapValueState/useWrapValueState.js +0 -27
  1024. package/oj-c/select-common/UNSAFE_useWrapValueState/index.js +0 -6
  1025. package/oj-c/select-common/UNSAFE_useWrapValueState/useWrapValueState.js +0 -27
  1026. package/oj-c/types/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.d.ts +0 -24
  1027. package/oj-c/types/editable-value/UNSAFE_useConverter/useConverter.d.ts +0 -13
  1028. package/oj-c/types/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.d.ts +0 -11
  1029. package/oj-c/types/editable-value/UNSAFE_useEditableValue/useEditableValue.d.ts +0 -50
  1030. package/oj-c/types/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.d.ts +0 -17
  1031. package/oj-c/types/editable-value/UNSAFE_useValidators/useValidators.d.ts +0 -33
  1032. package/oj-c/types/editable-value/UNSAFE_useValue/useValue.d.ts +0 -23
  1033. package/oj-c/types/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.d.ts +0 -9
  1034. package/oj-c/types/editable-value/utils/utils.d.ts +0 -8
  1035. package/oj-c/types/select-common/UNSAFE_useWrapValueState/index.d.ts +0 -1
  1036. package/oj-c/types/select-common/UNSAFE_useWrapValueState/useWrapValueState.d.ts +0 -23
  1037. /package/oj-c/min/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.js +0 -0
  1038. /package/oj-c/min/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.js +0 -0
  1039. /package/oj-c/types/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.d.ts +0 -0
  1040. /package/oj-c/types/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.d.ts +0 -0
  1041. /package/oj-c/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.js +0 -0
  1042. /package/oj-c/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.js +0 -0
@@ -5,14 +5,14 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
5
5
  function isDataProvider(data) {
6
6
  return data && 'fetchFirst' in data;
7
7
  }
8
- exports.TabBar = (0, ojvcomponent_1.registerCustomElement)('oj-c-tab-bar', (0, compat_1.forwardRef)(({ data = [], onOjBeforeSelect, onOjRemove, onOjReorder, onOjSelectionAction, onSelectionChanged, reorderable = 'disabled', overflow = 'hidden', selection, display = 'standard', layout = 'stretch', edge = 'top', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, id }, ref) => {
9
- const rootRef = (0, hooks_1.useRef)();
8
+ exports.TabBar = (0, ojvcomponent_1.registerCustomElement)('oj-c-tab-bar', (0, compat_1.forwardRef)(({ data = [], onOjBeforeSelect, onOjRemove, onOjReorder, onOjSelectionAction, onSelectionChanged, reorderable = 'disabled', overflow = 'hidden', truncation = 'none', selection, display = 'standard', layout = 'stretch', edge = 'top', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, id }, ref) => {
9
+ const rootRef = (0, hooks_1.useRef)(null);
10
10
  const addBusyState = (0, hooks_1.useCallback)((description = 'MessageBanner: busyState') => {
11
11
  return rootRef.current
12
12
  ? Context.getContext(rootRef.current).getBusyContext().addBusyState({ description })
13
13
  : () => { };
14
14
  }, []);
15
- const { data: tabData } = (0, useDataProvider_1.useDataProvider)({
15
+ const { data: dataProviderData } = (0, useDataProvider_1.useDataProvider)({
16
16
  data: !Array.isArray(data) && isDataProvider(data) ? data : undefined,
17
17
  addBusyState
18
18
  });
@@ -23,13 +23,13 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
23
23
  }
24
24
  else {
25
25
  if (isDataProvider(data)) {
26
- retDataArr = tabData.map((item) => {
26
+ retDataArr = dataProviderData.map((item) => {
27
27
  return { ...item.data };
28
28
  });
29
29
  }
30
30
  }
31
31
  return retDataArr;
32
- }, [data, tabData]);
32
+ }, [data, dataProviderData]);
33
33
  const handleRemove = (event) => {
34
34
  if (onOjRemove) {
35
35
  onOjRemove({ key: event.value });
@@ -41,12 +41,6 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
41
41
  }
42
42
  };
43
43
  const handleSelect = (event) => {
44
- if (onOjSelectionAction) {
45
- onOjSelectionAction({ previousValue: selection || '', value: event.value });
46
- }
47
- if (selection === event.value) {
48
- return;
49
- }
50
44
  (async () => {
51
45
  handleOnSelectionChanged: {
52
46
  if (onOjBeforeSelect) {
@@ -57,6 +51,12 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
57
51
  break handleOnSelectionChanged;
58
52
  }
59
53
  }
54
+ if (onOjSelectionAction) {
55
+ onOjSelectionAction({ previousValue: selection || '', value: event.value });
56
+ }
57
+ if (selection === event.value) {
58
+ return;
59
+ }
60
60
  if (onSelectionChanged) {
61
61
  onSelectionChanged(event.value);
62
62
  }
@@ -69,8 +69,8 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
69
69
  return Promise.resolve();
70
70
  }
71
71
  }));
72
- return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { id: id, ref: rootRef, children: (0, jsx_runtime_1.jsx)(DataTabBar_1.DataTabBar, { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, data: dataArr, onRemove: handleRemove, onReorder: handleReorder, onSelect: handleSelect, reorderable: reorderable, selection: selection, display: display, edge: edge, layout: layout, overflow: overflow }) }));
73
- }), "TabBar", { "properties": { "data": { "type": "Array<object>|DataProvider" }, "selection": { "type": "any", "writeback": true }, "reorderable": { "type": "string", "enumValues": ["disabled", "enabled"] }, "overflow": { "type": "string", "enumValues": ["hidden", "popup", "conveyor"] }, "display": { "type": "string", "enumValues": ["standard", "icons", "stacked"] }, "layout": { "type": "string", "enumValues": ["stretch", "condense"] }, "edge": { "type": "string", "enumValues": ["top", "bottom"] } }, "events": { "ojBeforeSelect": { "cancelable": true }, "ojRemove": {}, "ojReorder": {}, "ojSelectionAction": {} }, "extension": { "_WRITEBACK_PROPS": ["selection"], "_READ_ONLY_PROPS": [], "_OBSERVED_GLOBAL_PROPS": ["aria-label", "id", "aria-labelledby"] }, "methods": { "_doReorderHelper": {} } }, { "data": [], "reorderable": "disabled", "overflow": "hidden", "display": "standard", "layout": "stretch", "edge": "top" }, {
72
+ return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { id: id, ref: rootRef, children: (0, jsx_runtime_1.jsx)(DataTabBar_1.DataTabBar, { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, data: dataArr, onRemove: handleRemove, onReorder: handleReorder, onSelect: handleSelect, reorderable: reorderable, selection: selection, display: display, edge: edge, layout: layout, overflow: overflow, truncation: truncation }) }));
73
+ }), "TabBar", { "properties": { "data": { "type": "Array<object>|DataProvider" }, "selection": { "type": "string|number", "writeback": true }, "reorderable": { "type": "string", "enumValues": ["disabled", "enabled"] }, "overflow": { "type": "string", "enumValues": ["hidden", "popup", "conveyor"] }, "display": { "type": "string", "enumValues": ["standard", "icons", "stacked"] }, "layout": { "type": "string", "enumValues": ["stretch", "condense"] }, "edge": { "type": "string", "enumValues": ["top", "bottom"] }, "truncation": { "type": "string", "enumValues": ["none", "progressive"] } }, "events": { "ojBeforeSelect": { "cancelable": true }, "ojRemove": {}, "ojReorder": {}, "ojSelectionAction": {} }, "extension": { "_WRITEBACK_PROPS": ["selection"], "_READ_ONLY_PROPS": [], "_OBSERVED_GLOBAL_PROPS": ["aria-label", "id", "aria-labelledby"] }, "methods": { "_doReorderHelper": {} } }, { "data": [], "reorderable": "disabled", "overflow": "hidden", "truncation": "none", "display": "standard", "layout": "stretch", "edge": "top" }, {
74
74
  '@oracle/oraclejet-preact': translationBundle_1.default
75
75
  });
76
76
  });
@@ -1,7 +1,7 @@
1
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
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DataTabBarMixed = void 0;
4
+ exports.DataTabBarMixed = DataTabBarMixed;
5
5
  function DataTabBarMixed(props) {
6
6
  const { dynamicTabs = [], dynamicTabsOverflowIcon, dynamicTabsOverflow, onRemove, onSelect, selection, separatorPadding, size = 'lg', staticTabs = [], staticTabsDisplay, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby } = props;
7
7
  const [isOverflowMenuOpen, setIsOverflowMenuOpen] = (0, hooks_1.useState)(false);
@@ -39,5 +39,4 @@ define(["require", "exports", "preact/jsx-runtime", "preact/hooks", "@oracle/ora
39
39
  isRemovable: true
40
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, { "aria-controls": tab.tabPanelId, badge: tab.badge ? tab.badge.toString() : undefined, itemKey: tab.itemKey, label: tab.label }))) }) })] }))] }));
41
41
  }
42
- exports.DataTabBarMixed = DataTabBarMixed;
43
42
  });
@@ -1,7 +1,7 @@
1
1
  define(["require", "exports", "preact/jsx-runtime"], function (require, exports, jsx_runtime_1) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DataTabBarMixedIcon = void 0;
4
+ exports.DataTabBarMixedIcon = DataTabBarMixedIcon;
5
5
  function DataTabBarMixedIcon(props) {
6
6
  const { icon } = props;
7
7
  if (!icon) {
@@ -12,5 +12,4 @@ define(["require", "exports", "preact/jsx-runtime"], function (require, exports,
12
12
  }
13
13
  return null;
14
14
  }
15
- exports.DataTabBarMixedIcon = DataTabBarMixedIcon;
16
15
  });
@@ -1,10 +1,9 @@
1
1
  define(["require", "exports", "preact/jsx-runtime"], function (require, exports, jsx_runtime_1) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ConveyorBelt = void 0;
4
+ exports.ConveyorBelt = ConveyorBelt;
5
5
  function ConveyorBelt(props) {
6
6
  const { children } = props;
7
7
  return (0, jsx_runtime_1.jsx)("div", { "data-testid": "conveyor", children: children });
8
8
  }
9
- exports.ConveyorBelt = ConveyorBelt;
10
9
  });
@@ -1,13 +1,16 @@
1
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
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.TabBarMixed = exports.TabBarLayout = exports.OverflowTabBarItem = exports.RemovableTabBarItem = exports.TabBarItem = exports.TabBarMixedSeparator = void 0;
4
+ exports.TabBarMixed = exports.TabBarLayout = void 0;
5
+ exports.TabBarMixedSeparator = TabBarMixedSeparator;
6
+ exports.TabBarItem = TabBarItem;
7
+ exports.RemovableTabBarItem = RemovableTabBarItem;
8
+ exports.OverflowTabBarItem = OverflowTabBarItem;
5
9
  Object.defineProperty(exports, "TabBarLayout", { enumerable: true, get: function () { return UNSAFE_TabBarMixed_1.TabBarLayout; } });
6
10
  Object.defineProperty(exports, "TabBarMixed", { enumerable: true, get: function () { return UNSAFE_TabBarMixed_1.TabBarMixed; } });
7
11
  function TabBarMixedSeparator() {
8
12
  return (0, jsx_runtime_1.jsx)("div", { role: "separator" });
9
13
  }
10
- exports.TabBarMixedSeparator = TabBarMixedSeparator;
11
14
  function TabBarItem(props) {
12
15
  const { badge, itemKey, label } = props;
13
16
  const { onSelect } = (0, hooks_1.useContext)(UNSAFE_TabBarCommon_1.TabBarContext);
@@ -15,7 +18,6 @@ define(["require", "exports", "preact/jsx-runtime", "preact/hooks", "@oracle/ora
15
18
  onSelect && onSelect({ value: itemKey });
16
19
  }, children: [label, badge && (0, jsx_runtime_1.jsx)("span", { "data-testid": "badge", children: badge })] }));
17
20
  }
18
- exports.TabBarItem = TabBarItem;
19
21
  function RemovableTabBarItem(props) {
20
22
  const { badge, itemKey, label } = props;
21
23
  const { onRemove, onSelect } = (0, hooks_1.useContext)(UNSAFE_TabBarCommon_1.TabBarContext);
@@ -25,10 +27,8 @@ define(["require", "exports", "preact/jsx-runtime", "preact/hooks", "@oracle/ora
25
27
  onRemove && onRemove({ value: itemKey });
26
28
  }, children: "x" })] }));
27
29
  }
28
- exports.RemovableTabBarItem = RemovableTabBarItem;
29
30
  function OverflowTabBarItem(props) {
30
31
  const { badge, overflowItems } = props;
31
32
  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
  }
33
- exports.OverflowTabBarItem = OverflowTabBarItem;
34
34
  });
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TabBarMixedWebElement = void 0;
4
- var selenium_webdriver_1 = require("selenium-webdriver");
5
- var TabBarMixedWebElementBase_1 = require("./TabBarMixedWebElementBase");
4
+ const selenium_webdriver_1 = require("selenium-webdriver");
5
+ const TabBarMixedWebElementBase_1 = require("./TabBarMixedWebElementBase");
6
6
  /**
7
7
  * The component WebElement for [oj-c-tab-bar-mixed](../../../oj-c/docs/oj.TabBarMixed.html).
8
8
  * Do not instantiate this class directly, instead, use
@@ -24,7 +24,7 @@ class TabBarMixedWebElement extends TabBarMixedWebElementBase_1.TabBarMixedWebEl
24
24
  await tab?.click();
25
25
  }
26
26
  catch (e) {
27
- throw new selenium_webdriver_1.error.NoSuchElementError(`Tab with specified key cannot be found`);
27
+ throw new selenium_webdriver_1.error.NoSuchElementError(`Tab with specified key "${key}" cannot be found`);
28
28
  }
29
29
  }
30
30
  /**
@@ -41,7 +41,7 @@ class TabBarMixedWebElement extends TabBarMixedWebElementBase_1.TabBarMixedWebEl
41
41
  await button?.click();
42
42
  }
43
43
  catch (e) {
44
- throw new selenium_webdriver_1.error.NoSuchElementError(`Tab with specified key cannot be found`);
44
+ throw new selenium_webdriver_1.error.NoSuchElementError(`Tab with specified key "${key}" cannot be found`);
45
45
  }
46
46
  }
47
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TabBarMixedWebElement.js","sourceRoot":"","sources":["TabBarMixedWebElement.ts"],"names":[],"mappings":";;;AAAA,yDAA+C;AAC/C,yEAAwE;AAExE;;;;GAIG;AACH,MAAa,qBAAsB,SAAQ,qDAAyB;IAClE,qBAAqB;IACrB;;;;;;OAMG;IACH,KAAK,CAAC,WAAW,CAAI,GAAM;QACzB,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC;YACrE,MAAM,GAAG,EAAE,KAAK,EAAE,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,0BAAK,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAAC;QAC/E,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CAAI,GAAM;QACtB,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC;YACrE,MAAM,MAAM,GAAG,GAAG,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC,CAAC;YACnF,MAAM,MAAM,EAAE,KAAK,EAAE,CAAC;QACxB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,0BAAK,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAAC;QAC/E,CAAC;IACH,CAAC;CACF;AAnCD,sDAmCC","sourcesContent":["import { By, error } from 'selenium-webdriver';\nimport { 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 * Selects tab specified by key.\n * Triggers ojSelectionAction regardless if the key passed is same as the current selection value or not.\n * @param key key of the tab to be selected\n * @override\n * @typeparam K Type of keys\n */\n async doSelection<K>(key: K): Promise<void> {\n await this.whenReady();\n try {\n const tab = await this.findElement(By.css(`[data-oj-key=\"${key}\"]`));\n await tab?.click();\n } catch (e) {\n throw new error.NoSuchElementError(`Tab with specified key cannot be found`);\n }\n }\n\n /**\n * Removes tab specified by key.\n * @param key key of the tab to be removed\n * @override\n * @typeparam K Type of keys\n */\n async doRemove<K>(key: K): Promise<void> {\n await this.whenReady();\n try {\n const tab = await this.findElement(By.css(`[data-oj-key=\"${key}\"]`));\n const button = tab.findElement(By.css('[data-oj-tabbar-item-remove-icon=\"true\"]'));\n await button?.click();\n } catch (e) {\n throw new error.NoSuchElementError(`Tab with specified key cannot be found`);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"TabBarMixedWebElement.js","sourceRoot":"","sources":["TabBarMixedWebElement.ts"],"names":[],"mappings":";;;AAAA,2DAA+C;AAC/C,2EAAwE;AAExE;;;;GAIG;AACH,MAAa,qBAAsB,SAAQ,qDAAyB;IAClE,qBAAqB;IACrB;;;;;;OAMG;IACH,KAAK,CAAC,WAAW,CAAI,GAAM;QACzB,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC;YACrE,MAAM,GAAG,EAAE,KAAK,EAAE,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,0BAAK,CAAC,kBAAkB,CAAC,2BAA2B,GAAG,mBAAmB,CAAC,CAAC;QACxF,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CAAI,GAAM;QACtB,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC;YACrE,MAAM,MAAM,GAAG,GAAG,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC,CAAC;YACnF,MAAM,MAAM,EAAE,KAAK,EAAE,CAAC;QACxB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,0BAAK,CAAC,kBAAkB,CAAC,2BAA2B,GAAG,mBAAmB,CAAC,CAAC;QACxF,CAAC;IACH,CAAC;CACF;AAnCD,sDAmCC","sourcesContent":["import { By, error } from 'selenium-webdriver';\nimport { 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 * Selects tab specified by key.\n * Triggers ojSelectionAction regardless if the key passed is same as the current selection value or not.\n * @param key key of the tab to be selected\n * @override\n * @typeparam K Type of keys\n */\n async doSelection<K>(key: K): Promise<void> {\n await this.whenReady();\n try {\n const tab = await this.findElement(By.css(`[data-oj-key=\"${key}\"]`));\n await tab?.click();\n } catch (e) {\n throw new error.NoSuchElementError(`Tab with specified key \"${key}\" cannot be found`);\n }\n }\n\n /**\n * Removes tab specified by key.\n * @param key key of the tab to be removed\n * @override\n * @typeparam K Type of keys\n */\n async doRemove<K>(key: K): Promise<void> {\n await this.whenReady();\n try {\n const tab = await this.findElement(By.css(`[data-oj-key=\"${key}\"]`));\n const button = tab.findElement(By.css('[data-oj-tabbar-item-remove-icon=\"true\"]'));\n await button?.click();\n } catch (e) {\n throw new error.NoSuchElementError(`Tab with specified key \"${key}\" cannot be found`);\n }\n }\n}\n"]}
@@ -40,14 +40,14 @@ export declare class TabBarMixedWebElementBase extends OjWebElement {
40
40
  * @param selection The value to set for <code>selection</code>
41
41
  *
42
42
  */
43
- changeSelection(selection: any): Promise<void>;
43
+ changeSelection(selection: string | number): Promise<void>;
44
44
  /**
45
45
  * Gets the value of <code>selection</code> property.
46
46
  * The key of the selected tab
47
47
  * @return The value of <code>selection</code> property.
48
48
  *
49
49
  */
50
- getSelection(): Promise<any>;
50
+ getSelection(): Promise<string | number>;
51
51
  /**
52
52
  * Gets the value of <code>separatorPadding</code> property.
53
53
  * The padding around the vertical divider that seperates collections of tabs.
@@ -82,7 +82,7 @@ export interface DynamicTabs {
82
82
  /**
83
83
  *
84
84
  */
85
- itemKey: any;
85
+ itemKey: string | number;
86
86
  /**
87
87
  *
88
88
  */
@@ -104,7 +104,7 @@ export interface StaticTabs {
104
104
  /**
105
105
  *
106
106
  */
107
- itemKey: any;
107
+ itemKey: string | number;
108
108
  /**
109
109
  *
110
110
  */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TabBarMixedWebElementBase = void 0;
4
- var elements_1 = require("@oracle/oraclejet-webdriver/elements");
4
+ const elements_1 = require("@oracle/oraclejet-webdriver/elements");
5
5
  /**
6
6
  * This is the base class for oj-c-tab-bar-mixed WebElement, and is generated from the
7
7
  * component's metadata. Do not modify these contents since they'll be replaced
@@ -1 +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"]}
1
+ {"version":3,"file":"TabBarMixedWebElementBase.js","sourceRoot":"","sources":["TabBarMixedWebElementBase.ts"],"names":[],"mappings":";;;AAAA,mEAAoE;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,SAA0B;QAC/C,OAAO,IAAI,CAAC,WAAW,CAAkB,WAAW,EAAE,SAAS,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAkB,WAAW,CAAC,CAAC;IACxD,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: string | number): Promise<void> {\n return this.setProperty<string | number>('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<string | number> {\n return this.getProperty<string | number>('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: string | number;\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: string | number;\n /**\n *\n */\n label: string;\n /**\n *\n */\n tabPanelId: string;\n}\n"]}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
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");
3
+ exports.TabBarMixedWebElement = void 0;
4
+ exports.findTabBarMixed = findTabBarMixed;
5
+ const oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
6
+ const TabBarMixedWebElement_1 = require("./TabBarMixedWebElement");
6
7
  Object.defineProperty(exports, "TabBarMixedWebElement", { enumerable: true, get: function () { return TabBarMixedWebElement_1.TabBarMixedWebElement; } });
7
8
  /**
8
9
  * Retrieve an instance of [TabBarMixedWebElement](../classes/TabBarMixedWebElement.html).
@@ -29,6 +30,5 @@ async function findTabBarMixed(driver, by) {
29
30
  }
30
31
  return webEl;
31
32
  }
32
- exports.findTabBarMixed = findTabBarMixed;
33
33
  (0, oraclejet_webdriver_1.register)('oj-c-tab-bar-mixed', TabBarMixedWebElement_1.TabBarMixedWebElement);
34
34
  //# sourceMappingURL=index.js.map
@@ -1 +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"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAiBA,0CAcC;AA9BD,qEAAmE;AACnE,mEAAgE;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;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"]}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tab-bar-mixed",
3
- "version": "17.1.3",
4
- "jetVersion": "^17.1.3",
3
+ "version": "18.0.0",
4
+ "jetVersion": "^18.0.0",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "dependencyScope": "runtime",
@@ -15,7 +15,7 @@
15
15
  "main": "oj-c/tab-bar-mixed",
16
16
  "status": [
17
17
  {
18
- "type": "candidate",
18
+ "type": "production",
19
19
  "since": "17.0.0"
20
20
  }
21
21
  ],
@@ -27,7 +27,7 @@
27
27
  "module": "oj-c/tab-bar-mixed"
28
28
  },
29
29
  "webelement": {
30
- "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/TabBarMixedWebElement.html"
30
+ "docUrl": "https://www.oracle.com/webfolder/technetwork/jet/cpwdtsdoc/classes/TabBarMixedWebElement.html"
31
31
  }
32
32
  },
33
33
  "since": "16.1.0",
@@ -46,7 +46,7 @@
46
46
  "type": "object"
47
47
  },
48
48
  "itemKey": {
49
- "type": "any"
49
+ "type": "string|number"
50
50
  },
51
51
  "label": {
52
52
  "type": "string"
@@ -102,7 +102,7 @@
102
102
  ]
103
103
  },
104
104
  "selection": {
105
- "type": "any",
105
+ "type": "string|number",
106
106
  "description": "The key of the selected tab",
107
107
  "displayName": "Selected Tab",
108
108
  "help": "#selection",
@@ -127,7 +127,7 @@
127
127
  "type": "object"
128
128
  },
129
129
  "itemKey": {
130
- "type": "any"
130
+ "type": "string|number"
131
131
  },
132
132
  "label": {
133
133
  "type": "string"
@@ -171,7 +171,7 @@
171
171
  "type": "function"
172
172
  },
173
173
  "key": {
174
- "type": "any"
174
+ "type": "string|number"
175
175
  }
176
176
  }
177
177
  },
@@ -181,7 +181,7 @@
181
181
  "help": "#event:remove",
182
182
  "detail": {
183
183
  "key": {
184
- "type": "any"
184
+ "type": "string|number"
185
185
  }
186
186
  }
187
187
  },
@@ -191,10 +191,10 @@
191
191
  "help": "#event:selectionAction",
192
192
  "detail": {
193
193
  "previousValue": {
194
- "type": "any"
194
+ "type": "string|number"
195
195
  },
196
196
  "value": {
197
- "type": "any"
197
+ "type": "string|number"
198
198
  }
199
199
  }
200
200
  }
@@ -1,7 +1,7 @@
1
1
  define(["require", "exports", "preact/jsx-runtime", "@oracle/oraclejet-preact/resources/nls/bundle", "@oracle/oraclejet-preact/UNSAFE_Environment"], function (require, exports, jsx_runtime_1, bundle_1, UNSAFE_Environment_1) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Environment = void 0;
4
+ exports.Environment = Environment;
5
5
  const defaultEnvironment = {
6
6
  translations: { '@oracle/oraclejet-preact': bundle_1.default }
7
7
  };
@@ -9,5 +9,4 @@ define(["require", "exports", "preact/jsx-runtime", "@oracle/oraclejet-preact/re
9
9
  const { children } = props;
10
10
  return ((0, jsx_runtime_1.jsx)(UNSAFE_Environment_1.RootEnvironmentProvider, { environment: { ...defaultEnvironment }, children: children }));
11
11
  }
12
- exports.Environment = Environment;
13
12
  });
@@ -1,7 +1,7 @@
1
1
  define(["require", "exports", "ojs/ojlogger"], function (require, exports, Logger) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.sumBadge = void 0;
4
+ exports.sumBadge = sumBadge;
5
5
  function sumBadge(items) {
6
6
  return items.reduce((total, item) => {
7
7
  if (!item.badge) {
@@ -19,5 +19,4 @@ define(["require", "exports", "ojs/ojlogger"], function (require, exports, Logge
19
19
  return total + item.badge;
20
20
  }, 0);
21
21
  }
22
- exports.sumBadge = sumBadge;
23
22
  });
@@ -10,12 +10,6 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
10
10
  }
11
11
  };
12
12
  const handleSelect = (event) => {
13
- if (onOjSelectionAction) {
14
- onOjSelectionAction({ previousValue: selection || '', value: event.value });
15
- }
16
- if (selection === event.value) {
17
- return;
18
- }
19
13
  (async () => {
20
14
  handleOnSelectionChanged: {
21
15
  if (onOjBeforeSelect) {
@@ -26,6 +20,12 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
26
20
  break handleOnSelectionChanged;
27
21
  }
28
22
  }
23
+ if (onOjSelectionAction) {
24
+ onOjSelectionAction({ previousValue: selection || '', value: event.value });
25
+ }
26
+ if (selection === event.value) {
27
+ return;
28
+ }
29
29
  if (onSelectionChanged) {
30
30
  onSelectionChanged(event.value);
31
31
  }
@@ -33,7 +33,7 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
33
33
  })();
34
34
  };
35
35
  return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { id: id, children: (0, jsx_runtime_1.jsx)(DataTabBarMixed_1.DataTabBarMixed, { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, dynamicTabs: dynamicTabs, dynamicTabsOverflow: dynamicTabsOverflow, dynamicTabsOverflowIcon: dynamicTabsOverflowIcon, onRemove: handleRemove, onSelect: handleSelect, selection: selection, separatorPadding: separatorPadding, size: size, staticTabs: staticTabs, staticTabsDisplay: staticTabsDisplay }) }));
36
- }, "TabBarMixed", { "properties": { "dynamicTabs": { "type": "Array<object>" }, "dynamicTabsOverflow": { "type": "string", "enumValues": ["popup", "conveyor"] }, "dynamicTabsOverflowIcon": { "type": "object" }, "size": { "type": "string", "enumValues": ["md", "lg"] }, "selection": { "type": "any", "writeback": true }, "separatorPadding": { "type": "string" }, "staticTabs": { "type": "Array<object>" }, "staticTabsDisplay": { "type": "string", "enumValues": ["standard", "icons"] } }, "events": { "ojBeforeSelect": { "cancelable": true }, "ojRemove": {}, "ojSelectionAction": {} }, "extension": { "_WRITEBACK_PROPS": ["selection"], "_READ_ONLY_PROPS": [], "_OBSERVED_GLOBAL_PROPS": ["aria-label", "id", "aria-labelledby"] } }, undefined, {
36
+ }, "TabBarMixed", { "properties": { "dynamicTabs": { "type": "Array<object>" }, "dynamicTabsOverflow": { "type": "string", "enumValues": ["popup", "conveyor"] }, "dynamicTabsOverflowIcon": { "type": "object" }, "size": { "type": "string", "enumValues": ["md", "lg"] }, "selection": { "type": "string|number", "writeback": true }, "separatorPadding": { "type": "string" }, "staticTabs": { "type": "Array<object>" }, "staticTabsDisplay": { "type": "string", "enumValues": ["standard", "icons"] } }, "events": { "ojBeforeSelect": { "cancelable": true }, "ojRemove": {}, "ojSelectionAction": {} }, "extension": { "_WRITEBACK_PROPS": ["selection"], "_READ_ONLY_PROPS": [], "_OBSERVED_GLOBAL_PROPS": ["aria-label", "id", "aria-labelledby"] } }, undefined, {
37
37
  '@oracle/oraclejet-preact': translationBundle_1.default
38
38
  });
39
39
  });
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TableWebElement = void 0;
4
- var TableWebElementBase_1 = require("./TableWebElementBase");
5
- var selenium_webdriver_1 = require("selenium-webdriver");
6
- var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
7
- var oj_module_proxy_1 = require("@oracle/oraclejet-webdriver/lib/oj-module-proxy");
4
+ const TableWebElementBase_1 = require("./TableWebElementBase");
5
+ const selenium_webdriver_1 = require("selenium-webdriver");
6
+ const oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
7
+ const oj_module_proxy_1 = require("@oracle/oraclejet-webdriver/lib/oj-module-proxy");
8
8
  /**
9
9
  * The component WebElement for [oj-c-table](../../../oj-c/docs/oj.Table.html).
10
10
  * Do not instantiate this class directly, instead, use
@@ -23,16 +23,16 @@ class TableWebElement extends TableWebElementBase_1.TableWebElementBase {
23
23
  */
24
24
  async changeSelected(selected) {
25
25
  await this.whenReady();
26
- return (0, oj_module_proxy_1.executeWithModules)(this.getDriver(), ['KeySet'], [this, selected], ` ({ KeySetImpl, AllKeySetImpl }, ele, selected) => {
27
- ele.selected = {
28
- row: selected.row?.all
29
- ? new AllKeySetImpl().delete(selected.row.deletedKeys)
30
- : new KeySetImpl(selected.row?.keys),
31
- column: selected.column?.all
32
- ? new AllKeySetImpl().delete(selected.column.deletedKeys)
33
- : new KeySetImpl(selected.column?.keys)
34
- };
35
- }`);
26
+ return (0, oj_module_proxy_1.executeWithModules)(this.getDriver(), ['KeySet'], [this, selected], ({ KeySetImpl, AllKeySetImpl }, ele, selected) => {
27
+ ele.selected = {
28
+ row: selected.row?.all
29
+ ? new AllKeySetImpl().delete(selected.row.deletedKeys)
30
+ : new KeySetImpl(selected.row?.keys),
31
+ column: selected.column?.all
32
+ ? new AllKeySetImpl().delete(selected.column.deletedKeys)
33
+ : new KeySetImpl(selected.column?.keys)
34
+ };
35
+ });
36
36
  }
37
37
  /**
38
38
  * Gets the value of "selected" property.
@@ -1 +1 @@
1
- {"version":3,"file":"TableWebElement.js","sourceRoot":"","sources":["TableWebElement.ts"],"names":[],"mappings":";;;AAAA,6DAA4D;AAC5D,yDAA2D;AAC3D,mEAAmE;AACnE,mFAAqF;AAErF;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,yCAAmB;IACtD,qBAAqB;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,cAAc,CAAO,QAO1B;QACC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,OAAO,IAAA,oCAAkB,EACvB,IAAI,CAAC,SAAS,EAAE,EAChB,CAAC,QAAQ,CAAC,EACV,CAAC,IAAI,EAAE,QAAQ,CAAC,EAChB;;;;;;;;;QASE,CACH,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,WAAW;QAQf,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,QAAQ,GAOV,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,GAAQ,EAAE,EAAE;YACpD,MAAM,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG;gBACnC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;gBAC3E,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACjE,MAAM,MAAM,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG;gBACzC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;gBAC9E,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACpE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;QACzB,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAW,CAAI,WAA0B;QAC7C,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,iBAAiB,WAAW,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC;YACpF,MAAM,GAAG,EAAE,KAAK,EAAE,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,0BAAK,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAAC;QAC/E,CAAC;IACH,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,QAAQ,CAAO,WAAwC;QAC3D,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7C,CAAC,OAAY,EAAE,SAAY,EAAE,MAAS,EAAE,EAAE;YACxC,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAC1C,MAAM,sBAAsB,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;YACpF,IAAI,MAAM,CAAC,UAAU,CAAC,IAAI,IAAI,IAAI,CAAC,sBAAsB,EAAE,CAAC;gBAC1D,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,iBAAiB,MAAM,IAAI,CAAC,CAAC;YAC/D,IAAI,GAAG,EAAE,CAAC;gBACR,OAAO,GAAG,CAAC,aAAa,CAAC,wBAAwB,SAAS,IAAI,CAAC,CAAC;YAClE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC,EACD,IAAI,EACJ,WAAW,CAAC,SAAS,EACrB,WAAW,CAAC,MAAM,CACnB,CAAC;QAEF,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,UAAU,CAAI,WAA6B;QAC/C,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7C,CAAC,OAAY,EAAE,SAAY,EAAE,EAAE;YAC7B,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAC1C,MAAM,wBAAwB,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;YACtF,IAAI,MAAM,CAAC,gBAAgB,CAAC,IAAI,IAAI,IAAI,CAAC,wBAAwB,EAAE,CAAC;gBAClE,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,OAAO,CAAC,aAAa,CAC1B,oDAAoD,SAAS,IAAI,CAClE,CAAC;QACJ,CAAC,EACD,IAAI,EACJ,WAAW,CAAC,SAAS,CACtB,CAAC;QAEF,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,UAAU,CAAI,WAA6B;QAC/C,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7C,CAAC,OAAY,EAAE,SAAY,EAAE,EAAE;YAC7B,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAC1C,MAAM,wBAAwB,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;YACtF,IAAI,MAAM,CAAC,gBAAgB,CAAC,IAAI,IAAI,IAAI,CAAC,wBAAwB,EAAE,CAAC;gBAClE,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,OAAO,CAAC,aAAa,CAC1B,oDAAoD,SAAS,IAAI,CAClE,CAAC;QACJ,CAAC,EACD,IAAI,EACJ,WAAW,CAAC,SAAS,CACtB,CAAC;QAEF,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU;QACd,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAoB,CAAC,OAAY,EAAE,EAAE;YAClF,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAC;gBAC3D,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,OAAO,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC;QAC/D,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;CACF;AAtMD,0CAsMC","sourcesContent":["import { TableWebElementBase } from './TableWebElementBase';\nimport { By, error, WebElement } from 'selenium-webdriver';\nimport { SlotProxy, slotProxy } from '@oracle/oraclejet-webdriver';\nimport { executeWithModules } from '@oracle/oraclejet-webdriver/lib/oj-module-proxy';\n\n/**\n * The component WebElement for [oj-c-table](../../../oj-c/docs/oj.Table.html).\n * Do not instantiate this class directly, instead, use\n * [findTable](../functions/findTable.html).\n */\nexport class TableWebElement extends TableWebElementBase {\n // Put overrides here\n /**\n * Sets the value of \"selected\" property.\n * If row/column are both unspecified selected for both will be empty.\n * If no object is set on row/column, selected for that axis will be empty.\n * If 'all' is unset for row/column object only 'keys' will be considered, if no 'keys' are specified selected for that axis will be empty.\n * See the Help documentation for more information.\n * @param selected The value to set for \"selected\"\n * @typeparam K Type of keys\n */\n async changeSelected<K, C>(selected: {\n row:\n | { all: true; keys?: never; deletedKeys: Array<K> }\n | { all: false; keys: Array<K>; deletedKeys?: never };\n column:\n | { all: true; keys?: never; deletedKeys: Array<C> }\n | { all: false; keys: Array<C>; deletedKeys?: never };\n }) {\n await this.whenReady();\n return executeWithModules<void>(\n this.getDriver(),\n ['KeySet'],\n [this, selected],\n ` ({ KeySetImpl, AllKeySetImpl }, ele, selected) => {\n ele.selected = {\n row: selected.row?.all\n ? new AllKeySetImpl().delete(selected.row.deletedKeys)\n : new KeySetImpl(selected.row?.keys),\n column: selected.column?.all\n ? new AllKeySetImpl().delete(selected.column.deletedKeys)\n : new KeySetImpl(selected.column?.keys)\n };\n }`\n );\n }\n\n /**\n * Gets the value of \"selected\" property.\n * @typeparam K Type of keys\n * @return The value of \"selected\" property.\n */\n async getSelected<K, C>(): Promise<{\n row:\n | { all: true; keys?: never; deletedKeys: Array<K> }\n | { all: false; keys: Array<K>; deletedKeys?: never };\n column:\n | { all: true; keys?: never; deletedKeys: Array<C> }\n | { all: false; keys: Array<C>; deletedKeys?: never };\n }> {\n await this.whenReady();\n const selected: {\n row:\n | { all: true; keys?: never; deletedKeys: Array<K> }\n | { all: false; keys: Array<K>; deletedKeys?: never };\n column:\n | { all: true; keys?: never; deletedKeys: Array<C> }\n | { all: false; keys: Array<C>; deletedKeys?: never };\n } = await this.getDriver().executeScript((ele: any) => {\n const row = ele.selected.row.keys.all\n ? { all: true, deletedKeys: Array.from(ele.selected.row.keys.deletedKeys) }\n : { all: false, keys: Array.from(ele.selected.row.keys.keys) };\n const column = ele.selected.column.keys.all\n ? { all: true, deletedKeys: Array.from(ele.selected.column.keys.deletedKeys) }\n : { all: false, keys: Array.from(ele.selected.column.keys.keys) };\n return { row, column };\n }, this);\n return selected;\n }\n\n /**\n * Set a given row active. Triggers a ojRowAction Event.\n * @param itemLocator.rowKey The rowKey associated with the row.\n */\n async doRowAction<K>(itemLocator: { rowKey: K }): Promise<void> {\n await this.whenReady();\n try {\n const row = await this.findElement(By.css(`[data-oj-key=\"${itemLocator.rowKey}\"]`));\n await row?.click();\n } catch (e) {\n throw new error.NoSuchElementError(`Row with specified key cannot be found`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents a cell.\n * Cell content is only retrievable if there is a cell template for the cell.\n * Throws if there is no matching cell or if there is not cell template for the cell.\n *\n * @param itemLocator.rowKey The rowKey associated with the cell\n * @param itemLocator.columnKey The columnKey associated with the cell\n */\n async findCell<K, C>(itemLocator: { rowKey: K; columnKey: C }): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>(\n (element: any, columnKey: C, rowKey: K) => {\n const column = element.columns[columnKey];\n const hasDefaultCellTemplate = element.firstElementChild.getAttribute('data-oj-ct');\n if (column['template'] == null && !hasDefaultCellTemplate) {\n return null;\n }\n const row = element.querySelector(`[data-oj-key=\"${rowKey}\"]`);\n if (row) {\n return row.querySelector(`[data-oj-column-key=\"${columnKey}\"]`);\n }\n return null;\n },\n this,\n itemLocator.columnKey,\n itemLocator.rowKey\n );\n\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents a header cell.\n * Header content is only retrievable if there is a header template for the cell.\n * Throws if there is no matching header or if there is not header template for the cell.\n *\n * @param itemLocator.columnKey The columnKey associated with the header cell\n */\n async findHeader<C>(itemLocator: { columnKey: C }): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>(\n (element: any, columnKey: C) => {\n const column = element.columns[columnKey];\n const hasDefaultHeaderTemplate = element.firstElementChild.getAttribute('data-oj-ht');\n if (column['headerTemplate'] == null && !hasDefaultHeaderTemplate) {\n return null;\n }\n return element.querySelector(\n `[data-oj-cell-type=\"header\"][data-oj-column-key=\"${columnKey}\"]`\n );\n },\n this,\n itemLocator.columnKey\n );\n\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents a footer cell.\n * Footer content is only retrievable if there is a footer template for the cell.\n * Throws if there is no matching footer or if there is not footer template for the cell.\n *\n * @param itemLocator.columnKey The columnKey associated with the footer cell\n */\n async findFooter<C>(itemLocator: { columnKey: C }): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>(\n (element: any, columnKey: C) => {\n const column = element.columns[columnKey];\n const hasDefaultFooterTemplate = element.firstElementChild.getAttribute('data-oj-ft');\n if (column['footerTemplate'] == null && !hasDefaultFooterTemplate) {\n return null;\n }\n return element.querySelector(\n `[data-oj-cell-type=\"footer\"][data-oj-column-key=\"${columnKey}\"]`\n );\n },\n this,\n itemLocator.columnKey\n );\n\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents no data content.\n */\n async findNoData(): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>((element: any) => {\n if (!element.firstElementChild.getAttribute('data-oj-ndt')) {\n return null;\n }\n return element.querySelector('[data-oj-cell-type=\"noData\"]');\n }, this);\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"TableWebElement.js","sourceRoot":"","sources":["TableWebElement.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAC5D,2DAA2D;AAC3D,qEAAmE;AACnE,qFAAqF;AAErF;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,yCAAmB;IACtD,qBAAqB;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,cAAc,CAAO,QAO1B;QACC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,OAAO,IAAA,oCAAkB,EACvB,IAAI,CAAC,SAAS,EAAE,EAChB,CAAC,QAAQ,CAAC,EACV,CAAC,IAAI,EAAE,QAAQ,CAAC,EAChB,CAAC,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE;YAC/C,GAAG,CAAC,QAAQ,GAAG;gBACb,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,GAAG;oBACpB,CAAC,CAAC,IAAI,aAAa,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC;oBACtD,CAAC,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;gBACtC,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,GAAG;oBAC1B,CAAC,CAAC,IAAI,aAAa,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC;oBACzD,CAAC,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;aAC1C,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,WAAW;QAQf,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,QAAQ,GAOV,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,GAAQ,EAAE,EAAE;YACpD,MAAM,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG;gBACnC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;gBAC3E,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACjE,MAAM,MAAM,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG;gBACzC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;gBAC9E,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACpE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;QACzB,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAW,CAAI,WAA0B;QAC7C,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,iBAAiB,WAAW,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC;YACpF,MAAM,GAAG,EAAE,KAAK,EAAE,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,0BAAK,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAAC;QAC/E,CAAC;IACH,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,QAAQ,CAAO,WAAwC;QAC3D,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7C,CAAC,OAAY,EAAE,SAAY,EAAE,MAAS,EAAE,EAAE;YACxC,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAC1C,MAAM,sBAAsB,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;YACpF,IAAI,MAAM,CAAC,UAAU,CAAC,IAAI,IAAI,IAAI,CAAC,sBAAsB,EAAE,CAAC;gBAC1D,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,iBAAiB,MAAM,IAAI,CAAC,CAAC;YAC/D,IAAI,GAAG,EAAE,CAAC;gBACR,OAAO,GAAG,CAAC,aAAa,CAAC,wBAAwB,SAAS,IAAI,CAAC,CAAC;YAClE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC,EACD,IAAI,EACJ,WAAW,CAAC,SAAS,EACrB,WAAW,CAAC,MAAM,CACnB,CAAC;QAEF,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,UAAU,CAAI,WAA6B;QAC/C,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7C,CAAC,OAAY,EAAE,SAAY,EAAE,EAAE;YAC7B,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAC1C,MAAM,wBAAwB,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;YACtF,IAAI,MAAM,CAAC,gBAAgB,CAAC,IAAI,IAAI,IAAI,CAAC,wBAAwB,EAAE,CAAC;gBAClE,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,OAAO,CAAC,aAAa,CAC1B,oDAAoD,SAAS,IAAI,CAClE,CAAC;QACJ,CAAC,EACD,IAAI,EACJ,WAAW,CAAC,SAAS,CACtB,CAAC;QAEF,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,UAAU,CAAI,WAA6B;QAC/C,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7C,CAAC,OAAY,EAAE,SAAY,EAAE,EAAE;YAC7B,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAC1C,MAAM,wBAAwB,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;YACtF,IAAI,MAAM,CAAC,gBAAgB,CAAC,IAAI,IAAI,IAAI,CAAC,wBAAwB,EAAE,CAAC;gBAClE,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,OAAO,CAAC,aAAa,CAC1B,oDAAoD,SAAS,IAAI,CAClE,CAAC;QACJ,CAAC,EACD,IAAI,EACJ,WAAW,CAAC,SAAS,CACtB,CAAC;QAEF,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU;QACd,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAoB,CAAC,OAAY,EAAE,EAAE;YAClF,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAC;gBAC3D,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,OAAO,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC;QAC/D,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,IAAI,EAAE,EAAE,CAAC;YACP,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;CACF;AAtMD,0CAsMC","sourcesContent":["import { TableWebElementBase } from './TableWebElementBase';\nimport { By, error, WebElement } from 'selenium-webdriver';\nimport { SlotProxy, slotProxy } from '@oracle/oraclejet-webdriver';\nimport { executeWithModules } from '@oracle/oraclejet-webdriver/lib/oj-module-proxy';\n\n/**\n * The component WebElement for [oj-c-table](../../../oj-c/docs/oj.Table.html).\n * Do not instantiate this class directly, instead, use\n * [findTable](../functions/findTable.html).\n */\nexport class TableWebElement extends TableWebElementBase {\n // Put overrides here\n /**\n * Sets the value of \"selected\" property.\n * If row/column are both unspecified selected for both will be empty.\n * If no object is set on row/column, selected for that axis will be empty.\n * If 'all' is unset for row/column object only 'keys' will be considered, if no 'keys' are specified selected for that axis will be empty.\n * See the Help documentation for more information.\n * @param selected The value to set for \"selected\"\n * @typeparam K Type of keys\n */\n async changeSelected<K, C>(selected: {\n row:\n | { all: true; keys?: never; deletedKeys: Array<K> }\n | { all: false; keys: Array<K>; deletedKeys?: never };\n column:\n | { all: true; keys?: never; deletedKeys: Array<C> }\n | { all: false; keys: Array<C>; deletedKeys?: never };\n }) {\n await this.whenReady();\n return executeWithModules<void>(\n this.getDriver(),\n ['KeySet'],\n [this, selected],\n ({ KeySetImpl, AllKeySetImpl }, ele, selected) => {\n ele.selected = {\n row: selected.row?.all\n ? new AllKeySetImpl().delete(selected.row.deletedKeys)\n : new KeySetImpl(selected.row?.keys),\n column: selected.column?.all\n ? new AllKeySetImpl().delete(selected.column.deletedKeys)\n : new KeySetImpl(selected.column?.keys)\n };\n }\n );\n }\n\n /**\n * Gets the value of \"selected\" property.\n * @typeparam K Type of keys\n * @return The value of \"selected\" property.\n */\n async getSelected<K, C>(): Promise<{\n row:\n | { all: true; keys?: never; deletedKeys: Array<K> }\n | { all: false; keys: Array<K>; deletedKeys?: never };\n column:\n | { all: true; keys?: never; deletedKeys: Array<C> }\n | { all: false; keys: Array<C>; deletedKeys?: never };\n }> {\n await this.whenReady();\n const selected: {\n row:\n | { all: true; keys?: never; deletedKeys: Array<K> }\n | { all: false; keys: Array<K>; deletedKeys?: never };\n column:\n | { all: true; keys?: never; deletedKeys: Array<C> }\n | { all: false; keys: Array<C>; deletedKeys?: never };\n } = await this.getDriver().executeScript((ele: any) => {\n const row = ele.selected.row.keys.all\n ? { all: true, deletedKeys: Array.from(ele.selected.row.keys.deletedKeys) }\n : { all: false, keys: Array.from(ele.selected.row.keys.keys) };\n const column = ele.selected.column.keys.all\n ? { all: true, deletedKeys: Array.from(ele.selected.column.keys.deletedKeys) }\n : { all: false, keys: Array.from(ele.selected.column.keys.keys) };\n return { row, column };\n }, this);\n return selected;\n }\n\n /**\n * Set a given row active. Triggers a ojRowAction Event.\n * @param itemLocator.rowKey The rowKey associated with the row.\n */\n async doRowAction<K>(itemLocator: { rowKey: K }): Promise<void> {\n await this.whenReady();\n try {\n const row = await this.findElement(By.css(`[data-oj-key=\"${itemLocator.rowKey}\"]`));\n await row?.click();\n } catch (e) {\n throw new error.NoSuchElementError(`Row with specified key cannot be found`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents a cell.\n * Cell content is only retrievable if there is a cell template for the cell.\n * Throws if there is no matching cell or if there is not cell template for the cell.\n *\n * @param itemLocator.rowKey The rowKey associated with the cell\n * @param itemLocator.columnKey The columnKey associated with the cell\n */\n async findCell<K, C>(itemLocator: { rowKey: K; columnKey: C }): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>(\n (element: any, columnKey: C, rowKey: K) => {\n const column = element.columns[columnKey];\n const hasDefaultCellTemplate = element.firstElementChild.getAttribute('data-oj-ct');\n if (column['template'] == null && !hasDefaultCellTemplate) {\n return null;\n }\n const row = element.querySelector(`[data-oj-key=\"${rowKey}\"]`);\n if (row) {\n return row.querySelector(`[data-oj-column-key=\"${columnKey}\"]`);\n }\n return null;\n },\n this,\n itemLocator.columnKey,\n itemLocator.rowKey\n );\n\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents a header cell.\n * Header content is only retrievable if there is a header template for the cell.\n * Throws if there is no matching header or if there is not header template for the cell.\n *\n * @param itemLocator.columnKey The columnKey associated with the header cell\n */\n async findHeader<C>(itemLocator: { columnKey: C }): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>(\n (element: any, columnKey: C) => {\n const column = element.columns[columnKey];\n const hasDefaultHeaderTemplate = element.firstElementChild.getAttribute('data-oj-ht');\n if (column['headerTemplate'] == null && !hasDefaultHeaderTemplate) {\n return null;\n }\n return element.querySelector(\n `[data-oj-cell-type=\"header\"][data-oj-column-key=\"${columnKey}\"]`\n );\n },\n this,\n itemLocator.columnKey\n );\n\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents a footer cell.\n * Footer content is only retrievable if there is a footer template for the cell.\n * Throws if there is no matching footer or if there is not footer template for the cell.\n *\n * @param itemLocator.columnKey The columnKey associated with the footer cell\n */\n async findFooter<C>(itemLocator: { columnKey: C }): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>(\n (element: any, columnKey: C) => {\n const column = element.columns[columnKey];\n const hasDefaultFooterTemplate = element.firstElementChild.getAttribute('data-oj-ft');\n if (column['footerTemplate'] == null && !hasDefaultFooterTemplate) {\n return null;\n }\n return element.querySelector(\n `[data-oj-cell-type=\"footer\"][data-oj-column-key=\"${columnKey}\"]`\n );\n },\n this,\n itemLocator.columnKey\n );\n\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n\n /**\n * Retrieve a SlotProxy which represents no data content.\n */\n async findNoData(): Promise<SlotProxy> {\n await this.whenReady();\n const el = await this.getDriver().executeScript<WebElement | null>((element: any) => {\n if (!element.firstElementChild.getAttribute('data-oj-ndt')) {\n return null;\n }\n return element.querySelector('[data-oj-cell-type=\"noData\"]');\n }, this);\n if (el) {\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n}\n"]}
@@ -123,7 +123,7 @@ export interface Row {
123
123
  /**
124
124
  * The column key(s) to be used as the accessible row header(s) for assistive technologies. See the Help documentation for more information.
125
125
  */
126
- accessibleRowHeader: any;
126
+ accessibleRowHeader: string | Array<string> | null;
127
127
  }
128
128
  export interface Selected {
129
129
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TableWebElementBase = void 0;
4
- var elements_1 = require("@oracle/oraclejet-webdriver/elements");
4
+ const elements_1 = require("@oracle/oraclejet-webdriver/elements");
5
5
  /**
6
6
  * This is the base class for oj-c-table WebElement, and is generated from the
7
7
  * component's metadata. Do not modify these contents since they'll be replaced