@oracle/oraclejet-core-pack 17.0.4 → 17.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. package/oj-c/ActionCard.json +1 -1
  2. package/oj-c/AreaChart.json +270 -178
  3. package/oj-c/Button.json +1 -1
  4. package/oj-c/ButtonsetMultiple.json +8 -8
  5. package/oj-c/ButtonsetSingle.json +8 -8
  6. package/oj-c/CardView.json +25 -12
  7. package/oj-c/Checkbox.json +4 -4
  8. package/oj-c/Checkboxset.json +92 -7
  9. package/oj-c/Collapsible.json +8 -8
  10. package/oj-c/ConveyorBelt.json +67 -5
  11. package/oj-c/DatePicker.json +96 -3
  12. package/oj-c/FilePicker.json +6 -6
  13. package/oj-c/FormControlWrapper/FormControlWrapper.js +54 -0
  14. package/oj-c/FormControlWrapper/index.js +6 -0
  15. package/oj-c/InputDateMask.json +16 -5
  16. package/oj-c/InputDatePicker.json +115 -58
  17. package/oj-c/InputDateText.json +62 -51
  18. package/oj-c/InputMonthMask.json +67 -149
  19. package/oj-c/InputNumber.json +25 -4
  20. package/oj-c/InputPassword.json +12 -1
  21. package/oj-c/InputSensitiveText.json +16 -5
  22. package/oj-c/InputText.json +23 -2
  23. package/oj-c/Legend.json +358 -321
  24. package/oj-c/LegendSection.json +1 -1
  25. package/oj-c/LineChart.json +270 -178
  26. package/oj-c/ListItemLayout.json +20 -0
  27. package/oj-c/ListView.json +84 -62
  28. package/oj-c/MenuButton.json +432 -4
  29. package/oj-c/MessageBanner.json +20 -17
  30. package/oj-c/MessageToast.json +21 -18
  31. package/oj-c/MeterBar.json +1627 -35
  32. package/oj-c/MeterCircle.json +1579 -6
  33. package/oj-c/Popup.json +56 -1
  34. package/oj-c/ProgressButton.json +567 -0
  35. package/oj-c/Radioset.json +92 -7
  36. package/oj-c/RatingGauge.json +2 -2
  37. package/oj-c/SelectMultiple.json +156 -10
  38. package/oj-c/SelectSingle.json +140 -11
  39. package/oj-c/SelectionCard.json +1 -2
  40. package/oj-c/Selector.json +11 -1
  41. package/oj-c/SelectorAll.json +11 -1
  42. package/oj-c/SplitMenuButton.json +161 -327
  43. package/oj-c/TabBar.json +169 -12
  44. package/oj-c/TabBarMixed.json +14 -14
  45. package/oj-c/Table.json +2117 -0
  46. package/oj-c/TagCloud.json +114 -8
  47. package/oj-c/TextArea.json +23 -2
  48. package/oj-c/action-card/component.json +4 -4
  49. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +2 -2
  50. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +1 -1
  51. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
  52. package/oj-c/area-chart/area-chart.js +6 -5
  53. package/oj-c/area-chart/component.json +30 -5
  54. package/oj-c/area-chart-group/component.json +2 -2
  55. package/oj-c/area-chart-item/component.json +2 -2
  56. package/oj-c/area-chart-series/component.json +2 -2
  57. package/oj-c/avatar/component.json +3 -3
  58. package/oj-c/button/component.json +4 -4
  59. package/oj-c/buttonset-multiple/component.json +4 -4
  60. package/oj-c/buttonset-single/component.json +4 -4
  61. package/oj-c/card-view/__webdriver__/CardViewWebElement.js +5 -13
  62. package/oj-c/card-view/__webdriver__/CardViewWebElement.js.map +1 -1
  63. package/oj-c/card-view/card-view.js +7 -4
  64. package/oj-c/card-view/component.json +3 -3
  65. package/oj-c/checkbox/checkbox.js +1 -17
  66. package/oj-c/checkbox/component.json +3 -3
  67. package/oj-c/checkbox/useCheckboxPreact.js +26 -13
  68. package/oj-c/checkboxset/component.json +3 -3
  69. package/oj-c/checkboxset/useCheckboxsetPreact.js +17 -13
  70. package/oj-c/collapsible/component.json +3 -3
  71. package/oj-c/component.json +13 -5
  72. package/oj-c/conveyor-belt/component.json +3 -3
  73. package/oj-c/corepackbundle.js +1474 -315
  74. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.d.ts +7 -0
  75. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js +9 -0
  76. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js.map +1 -1
  77. package/oj-c/date-picker/component.json +26 -5
  78. package/oj-c/date-picker/date-picker.js +3 -3
  79. package/oj-c/drag-handle/component.json +3 -3
  80. package/oj-c/drawer-layout/component.json +3 -3
  81. package/oj-c/drawer-popup/component.json +3 -3
  82. package/oj-c/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +3 -3
  83. package/oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
  84. package/oj-c/editable-value/UNSAFE_useValue/useValue.js +3 -3
  85. package/oj-c/editable-value/utils/utils.js +13 -1
  86. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +20 -10
  87. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -1
  88. package/oj-c/file-picker/component.json +3 -3
  89. package/oj-c/form-layout/component.json +3 -3
  90. package/oj-c/highlight-text/component.json +3 -3
  91. package/oj-c/hooks/UNSAFE_useEditableValue/useEditableValue.js +36 -18
  92. package/oj-c/hooks/UNSAFE_useListData/useListData.js +10 -6
  93. package/oj-c/input-date-mask/component.json +3 -3
  94. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.d.ts +7 -0
  95. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js +9 -0
  96. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js.map +1 -1
  97. package/oj-c/input-date-picker/component.json +29 -5
  98. package/oj-c/input-date-picker/input-date-picker.js +3 -2
  99. package/oj-c/input-date-picker/useInputDatePicker.js +2 -1
  100. package/oj-c/input-date-text/component.json +3 -3
  101. package/oj-c/input-month-mask/component.json +3 -3
  102. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +1 -1
  103. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +1 -1
  104. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -1
  105. package/oj-c/input-number/component.json +6 -6
  106. package/oj-c/input-number/useNumberInputTextPreact.js +3 -2
  107. package/oj-c/input-password/component.json +3 -3
  108. package/oj-c/input-password/useInputPasswordPreact.js +14 -11
  109. package/oj-c/input-sensitive-text/component.json +3 -3
  110. package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +14 -11
  111. package/oj-c/input-text/component.json +3 -3
  112. package/oj-c/input-text/useInputTextPreact.js +4 -3
  113. package/oj-c/labelled-link/component.json +3 -3
  114. package/oj-c/legend/__webdriver__/LegendWebElementBase.d.ts +1 -1
  115. package/oj-c/legend/__webdriver__/LegendWebElementBase.js +1 -1
  116. package/oj-c/legend/__webdriver__/LegendWebElementBase.js.map +1 -1
  117. package/oj-c/legend/component.json +14 -3
  118. package/oj-c/legend/legend.js +5 -1
  119. package/oj-c/legend-item/component.json +2 -2
  120. package/oj-c/legend-section/component.json +2 -3
  121. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +2 -2
  122. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +1 -1
  123. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
  124. package/oj-c/line-chart/component.json +30 -5
  125. package/oj-c/line-chart/line-chart.js +6 -5
  126. package/oj-c/line-chart-group/component.json +2 -2
  127. package/oj-c/line-chart-item/component.json +2 -2
  128. package/oj-c/line-chart-series/component.json +2 -2
  129. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.d.ts +7 -0
  130. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js +9 -0
  131. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js.map +1 -1
  132. package/oj-c/list-item-layout/component.json +13 -3
  133. package/oj-c/list-item-layout/list-item-layout.js +4 -4
  134. package/oj-c/list-view/__webdriver__/ListViewWebElement.js +4 -13
  135. package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -1
  136. package/oj-c/list-view/component.json +6 -3
  137. package/oj-c/list-view/list-view-styles.css +4 -0
  138. package/oj-c/list-view/list-view.js +9 -5
  139. package/oj-c/list-view/useHandleRemoveCurrentKey.js +13 -7
  140. package/oj-c/list-view/useListViewPreact.js +10 -6
  141. package/oj-c/menu-button/component.json +50 -5
  142. package/oj-c/message-banner/component.json +3 -3
  143. package/oj-c/message-toast/component.json +3 -3
  144. package/oj-c/metadata/allComponents.json +1967 -319
  145. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.d.ts +33 -0
  146. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js +9 -0
  147. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js.map +1 -1
  148. package/oj-c/meter-bar/component.json +215 -3
  149. package/oj-c/meter-bar/meter-bar.js +7 -5
  150. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.d.ts +26 -0
  151. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js.map +1 -1
  152. package/oj-c/meter-circle/component.json +209 -3
  153. package/oj-c/meter-circle/meter-circle.js +5 -3
  154. package/oj-c/min/FormControlWrapper/FormControlWrapper.js +54 -0
  155. package/oj-c/min/FormControlWrapper/index.js +6 -0
  156. package/oj-c/min/area-chart.js +1 -1
  157. package/oj-c/min/area-chart.js.map +1 -1
  158. package/oj-c/min/card-view.js +1 -1
  159. package/oj-c/min/card-view.js.map +1 -1
  160. package/oj-c/min/checkbox.js +1 -1
  161. package/oj-c/min/checkbox.js.map +1 -1
  162. package/oj-c/min/checkboxset.js +1 -1
  163. package/oj-c/min/checkboxset.js.map +1 -1
  164. package/oj-c/min/corepackbundle.css +54 -1
  165. package/oj-c/min/corepackbundle.js +1 -1
  166. package/oj-c/min/corepackbundle.js.map +1 -1
  167. package/oj-c/min/date-picker.js +1 -1
  168. package/oj-c/min/date-picker.js.map +1 -1
  169. package/oj-c/min/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +3 -3
  170. package/oj-c/min/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
  171. package/oj-c/min/editable-value/UNSAFE_useValue/useValue.js +3 -3
  172. package/oj-c/min/editable-value/utils/utils.js +13 -1
  173. package/oj-c/min/hooks/UNSAFE_useEditableValue/useEditableValue.js +36 -18
  174. package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +10 -6
  175. package/oj-c/min/input-date-mask.js +1 -1
  176. package/oj-c/min/input-date-mask.js.map +1 -1
  177. package/oj-c/min/input-date-picker.js +2 -2
  178. package/oj-c/min/input-date-picker.js.map +1 -1
  179. package/oj-c/min/input-date-text.js +1 -1
  180. package/oj-c/min/input-date-text.js.map +1 -1
  181. package/oj-c/min/input-month-mask.js +1 -1
  182. package/oj-c/min/input-month-mask.js.map +1 -1
  183. package/oj-c/min/input-number.js +1 -1
  184. package/oj-c/min/input-number.js.map +1 -1
  185. package/oj-c/min/input-password.js +1 -1
  186. package/oj-c/min/input-password.js.map +1 -1
  187. package/oj-c/min/input-sensitive-text.js +1 -1
  188. package/oj-c/min/input-sensitive-text.js.map +1 -1
  189. package/oj-c/min/input-text.js +1 -1
  190. package/oj-c/min/input-text.js.map +1 -1
  191. package/oj-c/min/legend.js +1 -1
  192. package/oj-c/min/legend.js.map +1 -1
  193. package/oj-c/min/line-chart.js +1 -1
  194. package/oj-c/min/line-chart.js.map +1 -1
  195. package/oj-c/min/list-item-layout.js +1 -1
  196. package/oj-c/min/list-item-layout.js.map +1 -1
  197. package/oj-c/min/list-view/list-view-styles.css +4 -0
  198. package/oj-c/min/list-view.js +1 -1
  199. package/oj-c/min/list-view.js.map +1 -1
  200. package/oj-c/min/menu-button.js +1 -1
  201. package/oj-c/min/menu-button.js.map +1 -1
  202. package/oj-c/min/meter-bar.js +1 -1
  203. package/oj-c/min/meter-bar.js.map +1 -1
  204. package/oj-c/min/meter-circle.js +1 -1
  205. package/oj-c/min/meter-circle.js.map +1 -1
  206. package/oj-c/min/progress-button/progress-button-styles.css +12 -0
  207. package/oj-c/min/progress-button.js +2 -0
  208. package/oj-c/min/progress-button.js.map +1 -0
  209. package/oj-c/min/radioset.js +1 -1
  210. package/oj-c/min/radioset.js.map +1 -1
  211. package/oj-c/min/rating-gauge.js +1 -1
  212. package/oj-c/min/rating-gauge.js.map +1 -1
  213. package/oj-c/min/select-common/PRIVATE_DebouncingDataProviderView/Debouncer.js +78 -0
  214. package/oj-c/min/select-common/PRIVATE_DebouncingDataProviderView/DebouncingDataProviderView.js +92 -0
  215. package/oj-c/min/select-common/PRIVATE_useCache/index.js +6 -0
  216. package/oj-c/min/select-common/PRIVATE_useCache/useCache.js +30 -0
  217. package/oj-c/min/select-common/PRIVATE_useSelectData/CollectionTemplateDataProviderView.js +208 -0
  218. package/oj-c/min/select-common/PRIVATE_useSelectData/index.js +7 -0
  219. package/oj-c/min/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +98 -0
  220. package/oj-c/min/select-common/PRIVATE_useSelectData/useSelectData.js +24 -0
  221. package/oj-c/min/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +13 -4
  222. package/oj-c/min/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +10 -6
  223. package/oj-c/min/select-multiple.js +2 -2
  224. package/oj-c/min/select-multiple.js.map +1 -1
  225. package/oj-c/min/select-single.js +2 -2
  226. package/oj-c/min/select-single.js.map +1 -1
  227. package/oj-c/min/selector.js +1 -1
  228. package/oj-c/min/selector.js.map +1 -1
  229. package/oj-c/min/split-menu-button.js +1 -1
  230. package/oj-c/min/split-menu-button.js.map +1 -1
  231. package/oj-c/min/tab-bar-mixed.js +1 -1
  232. package/oj-c/min/tab-bar-mixed.js.map +1 -1
  233. package/oj-c/min/tab-bar.js +1 -1
  234. package/oj-c/min/tab-bar.js.map +1 -1
  235. package/oj-c/min/table/table-styles.css +39 -0
  236. package/oj-c/min/table.js +2 -0
  237. package/oj-c/min/table.js.map +1 -0
  238. package/oj-c/min/tag-cloud.js +1 -1
  239. package/oj-c/min/tag-cloud.js.map +1 -1
  240. package/oj-c/min/text-area.js +1 -1
  241. package/oj-c/min/text-area.js.map +1 -1
  242. package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +2 -2
  243. package/oj-c/popup/component.json +3 -3
  244. package/oj-c/progress-bar/component.json +3 -3
  245. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.d.ts +16 -0
  246. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js +29 -0
  247. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js.map +1 -0
  248. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.d.ts +72 -0
  249. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js +95 -0
  250. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js.map +1 -0
  251. package/oj-c/progress-button/__webdriver__/index.d.ts +17 -0
  252. package/oj-c/progress-button/__webdriver__/index.js +34 -0
  253. package/oj-c/progress-button/__webdriver__/index.js.map +1 -0
  254. package/oj-c/progress-button/component.json +258 -0
  255. package/oj-c/progress-button/index.js +6 -0
  256. package/oj-c/progress-button/progress-button-styles.css +12 -0
  257. package/oj-c/progress-button/progress-button.js +50 -0
  258. package/oj-c/progress-button.js +6 -0
  259. package/oj-c/progress-circle/component.json +3 -3
  260. package/oj-c/radioset/component.json +3 -3
  261. package/oj-c/radioset/useRadiosetPreact.js +9 -5
  262. package/oj-c/rating-gauge/component.json +3 -3
  263. package/oj-c/rating-gauge/rating-gauge.js +11 -3
  264. package/oj-c/select-common/PRIVATE_DebouncingDataProviderView/Debouncer.js +78 -0
  265. package/oj-c/select-common/PRIVATE_DebouncingDataProviderView/DebouncingDataProviderView.js +92 -0
  266. package/oj-c/select-common/PRIVATE_useCache/index.js +6 -0
  267. package/oj-c/select-common/PRIVATE_useCache/useCache.js +30 -0
  268. package/oj-c/select-common/PRIVATE_useSelectData/CollectionTemplateDataProviderView.js +208 -0
  269. package/oj-c/select-common/PRIVATE_useSelectData/index.js +7 -0
  270. package/oj-c/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +98 -0
  271. package/oj-c/select-common/PRIVATE_useSelectData/useSelectData.js +24 -0
  272. package/oj-c/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +13 -4
  273. package/oj-c/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +10 -6
  274. package/oj-c/select-multiple/component.json +101 -67
  275. package/oj-c/select-multiple/select-multiple.js +2 -2
  276. package/oj-c/select-multiple/useSelectMultiplePreact.js +68 -27
  277. package/oj-c/select-single/component.json +37 -3
  278. package/oj-c/select-single/select-single.js +2 -2
  279. package/oj-c/select-single/useSelectSinglePreact.js +50 -18
  280. package/oj-c/selection-card/component.json +3 -3
  281. package/oj-c/selector/component.json +3 -3
  282. package/oj-c/selector/selector.js +2 -2
  283. package/oj-c/selector-all/component.json +3 -3
  284. package/oj-c/split-menu-button/component.json +21 -4
  285. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.d.ts +29 -0
  286. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js +89 -0
  287. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js.map +1 -1
  288. package/oj-c/tab-bar/component.json +13 -3
  289. package/oj-c/tab-bar/tab-bar.js +10 -4
  290. package/oj-c/tab-bar-mixed/DataTabBarMixed.js +1 -1
  291. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.d.ts +15 -0
  292. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +36 -0
  293. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -1
  294. package/oj-c/tab-bar-mixed/component.json +3 -3
  295. package/oj-c/tab-bar-mixed/tab-bar-mixed.js +2 -2
  296. package/oj-c/table/__webdriver__/TableWebElement.d.ts +106 -0
  297. package/oj-c/table/__webdriver__/TableWebElement.js +166 -0
  298. package/oj-c/table/__webdriver__/TableWebElement.js.map +1 -0
  299. package/oj-c/table/__webdriver__/TableWebElementBase.d.ts +153 -0
  300. package/oj-c/table/__webdriver__/TableWebElementBase.js +158 -0
  301. package/oj-c/table/__webdriver__/TableWebElementBase.js.map +1 -0
  302. package/oj-c/table/__webdriver__/index.d.ts +17 -0
  303. package/oj-c/table/__webdriver__/index.js +34 -0
  304. package/oj-c/table/__webdriver__/index.js.map +1 -0
  305. package/oj-c/table/component.json +703 -0
  306. package/oj-c/table/index.js +6 -0
  307. package/oj-c/table/table-styles.css +39 -0
  308. package/oj-c/table/table.js +353 -0
  309. package/oj-c/table.js +6 -0
  310. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.d.ts +1 -1
  311. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js +1 -1
  312. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js.map +1 -1
  313. package/oj-c/tag-cloud/component.json +14 -3
  314. package/oj-c/tag-cloud/tag-cloud.js +4 -1
  315. package/oj-c/tag-cloud-item/component.json +2 -2
  316. package/oj-c/text-area/component.json +3 -3
  317. package/oj-c/text-area/useTextAreaAutosizePreact.js +2 -2
  318. package/oj-c/text-area/useTextAreaPreact.js +2 -2
  319. package/oj-c/toggle-button/component.json +3 -3
  320. package/oj-c/types/FormControlWrapper/FormControlWrapper.d.ts +36 -0
  321. package/oj-c/types/FormControlWrapper/index.d.ts +2 -0
  322. package/oj-c/types/checkbox/checkbox.d.ts +2 -1
  323. package/oj-c/types/checkbox/useCheckboxPreact.d.ts +3 -6
  324. package/oj-c/types/checkboxset/checkboxset.d.ts +3 -2
  325. package/oj-c/types/checkboxset/useCheckboxsetPreact.d.ts +3 -6
  326. package/oj-c/types/date-picker/date-picker.d.ts +6 -0
  327. package/oj-c/types/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.d.ts +3 -2
  328. package/oj-c/types/editable-value/UNSAFE_useValue/useValue.d.ts +1 -1
  329. package/oj-c/types/editable-value/utils/utils.d.ts +2 -0
  330. package/oj-c/types/hooks/UNSAFE_useEditableValue/useEditableValue.d.ts +3 -1
  331. package/oj-c/types/hooks/UNSAFE_useListData/useListData.d.ts +2 -1
  332. package/oj-c/types/input-date-mask/input-date-mask.d.ts +2 -1
  333. package/oj-c/types/input-date-picker/input-date-picker.d.ts +8 -2
  334. package/oj-c/types/input-date-picker/useInputDatePicker.d.ts +1 -0
  335. package/oj-c/types/input-date-text/useInputDateTextPreact.d.ts +1 -1
  336. package/oj-c/types/input-month-mask/input-month-mask.d.ts +2 -1
  337. package/oj-c/types/input-number/useNumberInputTextPreact.d.ts +1 -1
  338. package/oj-c/types/input-password/useInputPasswordPreact.d.ts +2 -4
  339. package/oj-c/types/input-sensitive-text/input-sensitive-text.d.ts +2 -1
  340. package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +2 -4
  341. package/oj-c/types/input-text/useInputTextPreact.d.ts +1 -1
  342. package/oj-c/types/legend-section/legend-section.d.ts +2 -2
  343. package/oj-c/types/list-item-layout/list-item-layout.d.ts +5 -0
  344. package/oj-c/types/list-view/list-view.d.ts +6 -4
  345. package/oj-c/types/list-view/useHandleRemoveCurrentKey.d.ts +4 -2
  346. package/oj-c/types/list-view/useListViewPreact.d.ts +1 -1
  347. package/oj-c/types/meter-bar/meter-bar.d.ts +6 -1
  348. package/oj-c/types/meter-circle/meter-circle.d.ts +1 -1
  349. package/oj-c/types/progress-button/index.d.ts +2 -0
  350. package/oj-c/types/progress-button/progress-button.d.ts +101 -0
  351. package/oj-c/types/radioset/radioset.d.ts +3 -2
  352. package/oj-c/types/radioset/useRadiosetPreact.d.ts +3 -6
  353. package/oj-c/types/rating-gauge/rating-gauge.d.ts +1 -1
  354. package/oj-c/types/select-common/PRIVATE_DebouncingDataProviderView/Debouncer.d.ts +11 -0
  355. package/oj-c/types/select-common/PRIVATE_DebouncingDataProviderView/DebouncingDataProviderView.d.ts +16 -0
  356. package/oj-c/types/select-common/PRIVATE_useCache/index.d.ts +1 -0
  357. package/oj-c/types/select-common/PRIVATE_useCache/useCache.d.ts +1 -0
  358. package/oj-c/types/select-common/PRIVATE_useSelectData/CollectionTemplateDataProviderView.d.ts +43 -0
  359. package/oj-c/types/select-common/PRIVATE_useSelectData/index.d.ts +2 -0
  360. package/oj-c/types/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.d.ts +15 -0
  361. package/oj-c/types/select-common/PRIVATE_useSelectData/useSelectData.d.ts +15 -0
  362. package/oj-c/types/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.d.ts +4 -4
  363. package/oj-c/types/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.d.ts +2 -1
  364. package/oj-c/types/select-multiple/select-multiple.d.ts +26 -9
  365. package/oj-c/types/select-multiple/useSelectMultiplePreact.d.ts +28 -36
  366. package/oj-c/types/select-single/select-single.d.ts +26 -8
  367. package/oj-c/types/select-single/useSelectSinglePreact.d.ts +30 -53
  368. package/oj-c/types/tab-bar/tab-bar.d.ts +1 -0
  369. package/oj-c/types/table/index.d.ts +2 -0
  370. package/oj-c/types/table/table.d.ts +239 -0
  371. package/oj-c/types/text-area/useTextAreaAutosizePreact.d.ts +1 -1
  372. package/oj-c/types/text-area/useTextAreaPreact.d.ts +1 -1
  373. package/oj-c/types/utils/PRIVATE_ItemsMenu/items-menu.d.ts +3 -1
  374. package/oj-c/types/utils/UNSAFE_vizTypes/meterTypes.d.ts +2 -0
  375. package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +2 -2
  376. package/package.json +4 -4
  377. package/webdriver/docs/assets/navigation.js +1 -1
  378. package/webdriver/docs/assets/search.js +1 -1
  379. package/webdriver/docs/classes/AreaChartWebElement.html +4 -3
  380. package/webdriver/docs/classes/DatePickerWebElement.html +5 -2
  381. package/webdriver/docs/classes/InputDatePickerWebElement.html +6 -2
  382. package/webdriver/docs/classes/InputNumberWebElement.html +1 -1
  383. package/webdriver/docs/classes/LegendWebElement.html +4 -3
  384. package/webdriver/docs/classes/LineChartWebElement.html +4 -3
  385. package/webdriver/docs/classes/ListItemLayoutWebElement.html +6 -2
  386. package/webdriver/docs/classes/MeterBarWebElement.html +6 -2
  387. package/webdriver/docs/classes/ProgressButtonWebElement.html +142 -0
  388. package/webdriver/docs/classes/TabBarMixedWebElement.html +11 -2
  389. package/webdriver/docs/classes/TabBarWebElement.html +18 -2
  390. package/webdriver/docs/classes/TableWebElement.html +192 -0
  391. package/webdriver/docs/classes/TagCloudWebElement.html +4 -3
  392. package/webdriver/docs/functions/findProgressButton.html +8 -0
  393. package/webdriver/docs/functions/findTable.html +8 -0
  394. package/webdriver/docs/modules.html +4 -0
  395. package/webdriver/index.d.ts +2 -0
  396. package/webdriver/index.js +2 -0
  397. package/webdriver/index.js.map +1 -1
  398. package/webdriver/index.ts +2 -0
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.findProgressButton = exports.ProgressButtonWebElement = void 0;
4
+ var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
5
+ var ProgressButtonWebElement_1 = require("./ProgressButtonWebElement");
6
+ Object.defineProperty(exports, "ProgressButtonWebElement", { enumerable: true, get: function () { return ProgressButtonWebElement_1.ProgressButtonWebElement; } });
7
+ /**
8
+ * Retrieve an instance of [ProgressButtonWebElement](../classes/ProgressButtonWebElement.html).
9
+ * @example
10
+ * ```javascript
11
+ * import { findProgressButton } from '@oracle/oraclejet-core-pack/webdriver';
12
+ * const el = await findProgressButton(driver, By.id('my-oj-c-progress-button'));
13
+ * ```
14
+ * @param driver A WebDriver/WebElement instance from where the element will be
15
+ * searched. If WebDriver is passed, the element will be searched globally in the
16
+ * document. If WebElement is passed, the search will be relative to this element.
17
+ * @param by The locator with which to find the element
18
+ */
19
+ async function findProgressButton(driver, by) {
20
+ const webEl = await driver.findElement(by);
21
+ // Check that the element is of type ProgressButtonWebElement
22
+ if (!(webEl instanceof ProgressButtonWebElement_1.ProgressButtonWebElement)) {
23
+ const tagName = await webEl.getTagName();
24
+ let supplemental = '';
25
+ if (webEl.constructor.name === 'ProgressButtonWebElement') {
26
+ supplemental = 'You likely have multiple installations of this package.';
27
+ }
28
+ throw Error(`findProgressButton(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${ProgressButtonWebElement_1.ProgressButtonWebElement.name}. ${supplemental}`);
29
+ }
30
+ return webEl;
31
+ }
32
+ exports.findProgressButton = findProgressButton;
33
+ (0, oraclejet_webdriver_1.register)('oj-c-progress-button', ProgressButtonWebElement_1.ProgressButtonWebElement);
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,mEAAmE;AACnE,uEAAsE;AAC7D,yGADA,mDAAwB,OACA;AAEjC;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,kBAAkB,CACtC,MAAkB,EAClB,EAAM;IAEN,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,6DAA6D;IAC7D,IAAI,CAAC,CAAC,KAAK,YAAY,mDAAwB,CAAC,EAAE,CAAC;QACjD,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,IAAI,YAAY,GAAG,EAAE,CAAC;QACtB,IAAI,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,0BAA0B,EAAE,CAAC;YAC1D,YAAY,GAAG,yDAAyD,CAAC;QAC3E,CAAC;QACD,MAAM,KAAK,CACT,sBAAsB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,mDAAwB,CAAC,IAAI,KAAK,YAAY,EAAE,CAC/I,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAjBD,gDAiBC;AAED,IAAA,8BAAQ,EAAC,sBAAsB,EAAE,mDAAwB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { ProgressButtonWebElement } from './ProgressButtonWebElement';\nexport { ProgressButtonWebElement };\n\n/**\n * Retrieve an instance of [ProgressButtonWebElement](../classes/ProgressButtonWebElement.html).\n * @example\n * ```javascript\n * import { findProgressButton } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findProgressButton(driver, By.id('my-oj-c-progress-button'));\n * ```\n * @param driver A WebDriver/WebElement instance from where the element will be\n * searched. If WebDriver is passed, the element will be searched globally in the\n * document. If WebElement is passed, the search will be relative to this element.\n * @param by The locator with which to find the element\n */\nexport async function findProgressButton(\n driver: DriverLike,\n by: By\n): Promise<ProgressButtonWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type ProgressButtonWebElement\n if (!(webEl instanceof ProgressButtonWebElement)) {\n const tagName = await webEl.getTagName();\n let supplemental = '';\n if (webEl.constructor.name === 'ProgressButtonWebElement') {\n supplemental = 'You likely have multiple installations of this package.';\n }\n throw Error(\n `findProgressButton(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${ProgressButtonWebElement.name}. ${supplemental}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-progress-button', ProgressButtonWebElement);\n"]}
@@ -0,0 +1,258 @@
1
+ {
2
+ "name": "progress-button",
3
+ "version": "17.1.0",
4
+ "jetVersion": "^17.1.0",
5
+ "pack": "oj-c",
6
+ "type": "composite",
7
+ "dependencyScope": "runtime",
8
+ "license": "https://opensource.org/licenses/UPL",
9
+ "implements": [
10
+ "CProgressButtonElement"
11
+ ],
12
+ "description": "A Progress button represents button-level initiation.",
13
+ "displayName": "Progress Button",
14
+ "help": "oj-c.ProgressButton.html",
15
+ "main": "oj-c/progress-button",
16
+ "since": "17.1.0",
17
+ "status": [
18
+ {
19
+ "type": "production",
20
+ "since": "17.1.0"
21
+ }
22
+ ],
23
+ "extension": {
24
+ "catalog": {
25
+ "category": "Controls"
26
+ },
27
+ "vbdt": {
28
+ "module": "oj-c/progress-button"
29
+ },
30
+ "oracle": {
31
+ "icon": "oj-ux-ico-button",
32
+ "uxSpecs": [
33
+ "button"
34
+ ]
35
+ },
36
+ "webelement": {
37
+ "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/ProgressButtonWebElement.html"
38
+ }
39
+ },
40
+ "propertyLayout": [
41
+ {
42
+ "propertyGroup": "common",
43
+ "items": [
44
+ "label",
45
+ "tooltip",
46
+ "display",
47
+ "chroming",
48
+ "isloading",
49
+ "size",
50
+ "width",
51
+ "edge",
52
+ "disabled"
53
+ ]
54
+ }
55
+ ],
56
+ "properties": {
57
+ "label": {
58
+ "type": "string",
59
+ "description": "Text to show in the button or as tooltip for icon mode.",
60
+ "help": "#label",
61
+ "required": true,
62
+ "translatable": true
63
+ },
64
+ "tooltip": {
65
+ "type": "string",
66
+ "description": "Text to show in the tooltip. This overrides the default tooltip that renders the label when in icon mode.",
67
+ "help": "#tooltip",
68
+ "translatable": true
69
+ },
70
+ "disabled": {
71
+ "type": "boolean",
72
+ "description": "Specifies that the button element should be disabled.",
73
+ "help": "#disabled",
74
+ "value": false
75
+ },
76
+ "isLoading": {
77
+ "type": "boolean",
78
+ "description": "Specifies if progress should be shown.",
79
+ "help": "#isLoading"
80
+ },
81
+ "width": {
82
+ "type": "number|string",
83
+ "description": "Specifies that the button style width",
84
+ "help": "#width"
85
+ },
86
+ "display": {
87
+ "type": "string",
88
+ "description": "Display just the label, the icons, or all. Label is used as tooltip and should be set in all cases.",
89
+ "help": "#display",
90
+ "propertyEditorValues": {
91
+ "all": {
92
+ "description": "Display both the label and icons.",
93
+ "displayName": "All"
94
+ },
95
+ "icons": {
96
+ "description": "Display only the icons.",
97
+ "displayName": "Icons"
98
+ },
99
+ "label": {
100
+ "description": "Display only the text label.",
101
+ "displayName": "label"
102
+ }
103
+ },
104
+ "enumValues": [
105
+ "all",
106
+ "label",
107
+ "icons"
108
+ ],
109
+ "value": "all"
110
+ },
111
+ "size": {
112
+ "type": "string",
113
+ "description": "Size of button",
114
+ "help": "#size",
115
+ "propertyEditorValues": {
116
+ "sm": {
117
+ "description": "Display a small button.",
118
+ "displayName": "Small"
119
+ },
120
+ "md": {
121
+ "description": "Display a default size button.",
122
+ "displayName": "Medium"
123
+ },
124
+ "lg": {
125
+ "description": "Display a large button.",
126
+ "displayName": "Large"
127
+ }
128
+ },
129
+ "enumValues": [
130
+ "sm",
131
+ "md",
132
+ "lg"
133
+ ],
134
+ "value": "md"
135
+ },
136
+ "edge": {
137
+ "type": "string",
138
+ "description": "Specifies whether the button is attached to an edge. For example setting edge='bottom' can be used to attach a button to the bottom of a card. The button is then stretched to 100% width, and borders adjusted.",
139
+ "help": "#edge",
140
+ "propertyEditorValues": {
141
+ "none": {
142
+ "description": "Display a default standalone button.",
143
+ "displayName": "Small"
144
+ },
145
+ "bottom": {
146
+ "description": "Stretch the button to 100% width and adjust borders for usage at bottom of container.",
147
+ "displayName": "Bottom"
148
+ }
149
+ },
150
+ "enumValues": [
151
+ "none",
152
+ "bottom"
153
+ ],
154
+ "value": "none"
155
+ },
156
+ "chroming": {
157
+ "type": "string",
158
+ "description": "Indicates in what states the button has variants in background and border.",
159
+ "help": "#chroming",
160
+ "propertyEditorValues": {
161
+ "borderless": {
162
+ "description": "Borderless buttons are a more prominent variation. Borderless buttons are useful for supplemental actions that require minimal emphasis.",
163
+ "displayName": "Borderless"
164
+ },
165
+ "outlined": {
166
+ "description": "Outlined buttons are salient, but lighter weight than solid buttons. Outlined buttons are useful for secondary actions.",
167
+ "displayName": "Outlined"
168
+ },
169
+ "solid": {
170
+ "description": "Solid buttons stand out, and direct the user's attention to the most important actions in the UI.",
171
+ "displayName": "Solid"
172
+ },
173
+ "callToAction": {
174
+ "description": "A Call To Action (CTA) button guides the user to take or complete the action that is the main goal of the page or page section. There should only be one CTA button on a page at any given time.",
175
+ "displayName": "Call To Action"
176
+ }
177
+ },
178
+ "enumValues": [
179
+ "solid",
180
+ "borderless",
181
+ "outlined",
182
+ "callToAction"
183
+ ],
184
+ "binding": {
185
+ "consume": {
186
+ "name": "containerChroming"
187
+ }
188
+ },
189
+ "value": "outlined"
190
+ }
191
+ },
192
+ "slots": {
193
+ "startIcon": {
194
+ "description": "The startIcon slot is the button's start icon. The oj-c-progress-button element accepts DOM nodes as children with the startIcon slot.",
195
+ "help": "#startIcon"
196
+ }
197
+ },
198
+ "events": {
199
+ "ojAction": {
200
+ "bubbles": true,
201
+ "description": "Triggered when a button is clicked, whether by keyboard, mouse, or touch events. To meet accessibility requirements, the only supported way to react to the click of a button is to listen for this event.",
202
+ "eventGroup": "common",
203
+ "help": "#event:action"
204
+ }
205
+ },
206
+ "methods": {
207
+ "focus": {
208
+ "return": "void"
209
+ },
210
+ "blur": {
211
+ "return": "void"
212
+ },
213
+ "click": {
214
+ "return": "void"
215
+ },
216
+ "setProperty": {
217
+ "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
218
+ "help": "#setProperty",
219
+ "params": [
220
+ {
221
+ "name": "property",
222
+ "description": "The property name to set. Supports dot notation for subproperty access.",
223
+ "type": "string"
224
+ },
225
+ {
226
+ "name": "value",
227
+ "description": "The new value to set the property to.",
228
+ "type": "any"
229
+ }
230
+ ],
231
+ "return": "void"
232
+ },
233
+ "getProperty": {
234
+ "description": "Retrieves the value of a property or a subproperty.",
235
+ "help": "#getProperty",
236
+ "params": [
237
+ {
238
+ "name": "property",
239
+ "description": "The property name to get. Supports dot notation for subproperty access.",
240
+ "type": "string"
241
+ }
242
+ ],
243
+ "return": "any"
244
+ },
245
+ "setProperties": {
246
+ "description": "Performs a batch set of properties.",
247
+ "help": "#setProperties",
248
+ "params": [
249
+ {
250
+ "name": "properties",
251
+ "description": "An object containing the property and value pairs to set.",
252
+ "type": "object"
253
+ }
254
+ ],
255
+ "return": "void"
256
+ }
257
+ }
258
+ }
@@ -0,0 +1,6 @@
1
+ define(["require", "exports", "./progress-button"], function (require, exports, progress_button_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ProgressButton = void 0;
5
+ Object.defineProperty(exports, "ProgressButton", { enumerable: true, get: function () { return progress_button_1.ProgressButton; } });
6
+ });
@@ -0,0 +1,12 @@
1
+ oj-c-progress-button:not(.oj-complete) {
2
+ visibility: hidden;
3
+ }
4
+
5
+ oj-c-progress-button {
6
+ display: inline-flex;
7
+ vertical-align: top;
8
+ }
9
+
10
+ oj-c-progress-button[hidden] {
11
+ display: none;
12
+ }
@@ -0,0 +1,50 @@
1
+ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "ojs/ojvcomponent", "@oracle/oraclejet-preact/UNSAFE_ProgressButton", "@oracle/oraclejet-preact/UNSAFE_IconProgressButton", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "@oracle/oraclejet-preact/hooks/UNSAFE_useTooltip", "@oracle/oraclejet-preact/utils/UNSAFE_mergeProps", "preact/hooks", "preact/compat", "css!oj-c/progress-button/progress-button-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, ojvcomponent_1, UNSAFE_ProgressButton_1, UNSAFE_IconProgressButton_1, UNSAFE_useTabbableMode_1, UNSAFE_useTooltip_1, UNSAFE_mergeProps_1, hooks_1, compat_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ProgressButton = void 0;
5
+ function ProgressButtonImpl({ chroming = 'outlined', disabled = false, size = 'md', display = 'all', startIcon, edge = 'none', tooltip, isLoading, width, label, onOjAction, ...otherProps }, ref) {
6
+ const rootRef = (0, hooks_1.useRef)();
7
+ const buttonRef = (0, hooks_1.useRef)();
8
+ const iconButtonRef = (0, hooks_1.useRef)();
9
+ const isLabelButton = display != 'icons' || (!startIcon && display == 'icons');
10
+ const widthSize = { width: edge === 'bottom' ? '100%' : width };
11
+ const widthProps = width || edge !== 'none' ? { style: widthSize } : {};
12
+ const ariaProps = { 'aria-label': label };
13
+ (0, hooks_1.useImperativeHandle)(ref, () => ({
14
+ blur: () => (isLabelButton ? buttonRef.current?.blur() : iconButtonRef?.current?.blur()),
15
+ focus: () => (isLabelButton ? buttonRef.current?.focus() : iconButtonRef?.current?.focus()),
16
+ click: () => (isLabelButton ? buttonRef.current?.click() : iconButtonRef?.current?.click())
17
+ }), [isLabelButton, buttonRef, iconButtonRef]);
18
+ if (isLabelButton) {
19
+ return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ref: rootRef, ...widthProps, children: (0, jsx_runtime_1.jsx)(FunctionalProgressButton, { ref: buttonRef, type: "submit", variant: chroming, isDisabled: disabled, width: '100%', onAction: onOjAction, startIcon: startIcon, isLoading: isLoading, size: size, label: display == 'icons' ? (!startIcon ? label : '') : label, display: display != 'icons' ? display : 'all', ...otherProps }) }));
20
+ }
21
+ else {
22
+ return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ref: rootRef, ...widthProps, children: (0, jsx_runtime_1.jsx)(FunctionalIconProgressButton, { width: '100%', ref: iconButtonRef, type: "submit", variant: chroming, isDisabled: disabled, isLoading: isLoading, tooltip: label, onAction: onOjAction, size: size, ...ariaProps, ...otherProps, children: startIcon }) }));
23
+ }
24
+ }
25
+ exports.ProgressButton = (0, ojvcomponent_1.registerCustomElement)('oj-c-progress-button', (0, compat_1.forwardRef)(ProgressButtonImpl), "ProgressButton", { "properties": { "label": { "type": "string" }, "tooltip": { "type": "string" }, "disabled": { "type": "boolean" }, "isLoading": { "type": "boolean" }, "width": { "type": "number|string" }, "display": { "type": "string", "enumValues": ["all", "label", "icons"] }, "size": { "type": "string", "enumValues": ["sm", "md", "lg"] }, "edge": { "type": "string", "enumValues": ["none", "bottom"] }, "chroming": { "type": "string", "enumValues": ["solid", "borderless", "outlined", "callToAction"], "binding": { "consume": { "name": "containerChroming" } } } }, "slots": { "startIcon": {} }, "events": { "ojAction": { "bubbles": true } }, "methods": { "focus": {}, "blur": {}, "click": {} } }, { "chroming": "outlined", "disabled": false, "size": "md", "display": "all", "edge": "none" }, {
26
+ '@oracle/oraclejet-preact': translationBundle_1.default
27
+ }, { consume: [UNSAFE_useTabbableMode_1.TabbableModeContext] });
28
+ const FunctionalProgressButton = (0, compat_1.forwardRef)((props, ref) => {
29
+ const buttonRef = (0, hooks_1.useRef)();
30
+ (0, hooks_1.useImperativeHandle)(ref, () => ({
31
+ focus: () => buttonRef.current?.focus(),
32
+ blur: () => buttonRef.current?.blur(),
33
+ click: () => buttonRef.current?.click()
34
+ }), []);
35
+ const { tooltipContent, tooltipProps } = (0, UNSAFE_useTooltip_1.useTooltip)({
36
+ text: props.tooltip,
37
+ isDisabled: props.isDisabled
38
+ });
39
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(UNSAFE_ProgressButton_1.ProgressButton, { ref: buttonRef, ...(0, UNSAFE_mergeProps_1.mergeProps)(props, tooltipProps) }), tooltipContent] }));
40
+ });
41
+ const FunctionalIconProgressButton = (0, compat_1.forwardRef)((props, ref) => {
42
+ const iconButtonRef = (0, hooks_1.useRef)();
43
+ (0, hooks_1.useImperativeHandle)(ref, () => ({
44
+ focus: () => iconButtonRef.current?.focus(),
45
+ blur: () => iconButtonRef.current?.blur(),
46
+ click: () => iconButtonRef.current?.click()
47
+ }), []);
48
+ return (0, jsx_runtime_1.jsx)(UNSAFE_IconProgressButton_1.IconProgressButton, { ref: iconButtonRef, ...props });
49
+ });
50
+ });
@@ -0,0 +1,6 @@
1
+ define(["require", "exports", "oj-c/progress-button/progress-button"], function (require, exports, progress_button_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ProgressButton = void 0;
5
+ Object.defineProperty(exports, "ProgressButton", { enumerable: true, get: function () { return progress_button_1.ProgressButton; } });
6
+ });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "progress-circle",
3
- "version": "17.0.4",
4
- "jetVersion": "^17.0.4",
3
+ "version": "17.1.0",
4
+ "jetVersion": "^17.1.0",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "dependencyScope": "runtime",
@@ -36,7 +36,7 @@
36
36
  ]
37
37
  },
38
38
  "webelement": {
39
- "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1700/cpwdtsdoc/classes/ProgressCircleWebElement.html"
39
+ "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/ProgressCircleWebElement.html"
40
40
  }
41
41
  },
42
42
  "propertyLayout": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "radioset",
3
- "version": "17.0.4",
4
- "jetVersion": "^17.0.4",
3
+ "version": "17.1.0",
4
+ "jetVersion": "^17.1.0",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "dependencyScope": "runtime",
@@ -36,7 +36,7 @@
36
36
  ]
37
37
  },
38
38
  "webelement": {
39
- "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1700/cpwdtsdoc/classes/RadiosetWebElement.html"
39
+ "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/RadiosetWebElement.html"
40
40
  }
41
41
  },
42
42
  "propertyLayout": [
@@ -1,19 +1,23 @@
1
- define(["require", "exports", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle", "oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue"], function (require, exports, UNSAFE_useTranslationBundle_1, useEditableValue_1) {
1
+ define(["require", "exports", "oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators", "oj-c/hooks/UNSAFE_useEditableValue/index", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"], function (require, exports, useDeferredValidators_1, index_1, UNSAFE_useTranslationBundle_1) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.useRadiosetPreact = void 0;
5
5
  function useRadiosetPreact({ direction, disabled, displayOptions, labelEdge, labelHint, labelStartWidth, messagesCustom, readonly, requiredMessageDetail: propRequiredMessageDetail, required, userAssistanceDensity, value: propValue, onMessagesCustomChanged, onValidChanged, onValueChanged, ...otherProps }, addBusyState) {
6
6
  const translations = (0, UNSAFE_useTranslationBundle_1.useTranslationBundle)('@oracle/oraclejet-preact');
7
7
  const requiredMessageDetail = propRequiredMessageDetail || translations.radio_requiredMessageDetail();
8
- const { value, methods, textFieldProps } = (0, useEditableValue_1.useEditableValue)({
8
+ const deferredValidators = (0, useDeferredValidators_1.useDeferredValidators)({
9
+ labelHint,
10
+ required,
11
+ requiredMessageDetail
12
+ });
13
+ const { value, methods, textFieldProps } = (0, index_1.useEditableValue)({
9
14
  ariaDescribedBy: otherProps['aria-describedby'],
15
+ deferredValidators,
16
+ defaultDisplayValue: null,
10
17
  disabled,
11
18
  displayOptions,
12
- labelHint,
13
19
  messagesCustom,
14
20
  readonly,
15
- required,
16
- requiredMessageDetail,
17
21
  value: propValue,
18
22
  addBusyState,
19
23
  onMessagesCustomChanged,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rating-gauge",
3
- "version": "17.0.4",
4
- "jetVersion": "^17.0.4",
3
+ "version": "17.1.0",
4
+ "jetVersion": "^17.1.0",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "dependencyScope": "runtime",
@@ -36,7 +36,7 @@
36
36
  ]
37
37
  },
38
38
  "webelement": {
39
- "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1700/cpwdtsdoc/classes/RatingGaugeWebElement.html"
39
+ "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/RatingGaugeWebElement.html"
40
40
  }
41
41
  },
42
42
  "propertyLayout": [
@@ -1,4 +1,4 @@
1
- define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/UNSAFE_RatingGauge", "ojs/ojvcomponent", "preact/hooks", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "../utils/UNSAFE_meterUtils/meterUtils", "css!oj-c/rating-gauge/rating-gauge-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_RatingGauge_1, ojvcomponent_1, hooks_1, UNSAFE_useTabbableMode_1, meterUtils_1) {
1
+ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/UNSAFE_RatingGauge", "ojs/ojvcomponent", "preact/hooks", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "../utils/UNSAFE_meterUtils/meterUtils", "@oracle/oraclejet-preact/utils/UNSAFE_stringUtils", "css!oj-c/rating-gauge/rating-gauge-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_RatingGauge_1, ojvcomponent_1, hooks_1, UNSAFE_useTabbableMode_1, meterUtils_1, UNSAFE_stringUtils_1) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.RatingGauge = void 0;
@@ -20,10 +20,18 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
20
20
  color: (0, meterUtils_1.getThresholdColorByIndex)(threshold, index)
21
21
  };
22
22
  });
23
+ const preactRatingGaugeAriaLabelledBy = (0, UNSAFE_stringUtils_1.merge)([
24
+ otherProps['aria-labelledby'],
25
+ otherProps.labelledBy
26
+ ]);
27
+ const preactRatingGaugeAriaDescribedBy = (0, UNSAFE_stringUtils_1.merge)([
28
+ otherProps['aria-describedby'],
29
+ otherProps.describedBy
30
+ ]);
23
31
  return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { children: (0, jsx_runtime_1.jsx)(UNSAFE_RatingGauge_1.RatingGauge, { isReadonly: readonly, isDisabled: disabled, value: (hoveredVal != undefined ? hoveredVal : value), step: step, max: max, size: size, color: color, thresholds: thresholds, tooltip: otherProps.tooltip, datatip: otherProps.datatip?.({
24
32
  value: hoveredVal != undefined ? hoveredVal : value
25
- }), onCommit: commitHandler, onInput: inputHandler, "aria-label": otherProps['aria-label'], "aria-labelledby": otherProps.labelledBy ?? undefined, "aria-describedby": otherProps.describedBy ?? undefined }) }));
26
- }, "RatingGauge", { "properties": { "max": { "type": "number" }, "readonly": { "type": "boolean" }, "disabled": { "type": "boolean" }, "changed": { "type": "boolean", "writeback": true }, "value": { "type": "number|null", "writeback": true }, "step": { "type": "number" }, "describedBy": { "type": "string|null" }, "labelledBy": { "type": "string|null" }, "size": { "type": "string", "enumValues": ["sm", "md", "lg"] }, "color": { "type": "string", "enumValues": ["gold", "neutral"] }, "thresholds": { "type": "Array<object>" }, "datatip": { "type": "function" }, "tooltip": { "type": "string" }, "transientValue": { "type": "number", "readOnly": true, "writeback": true } }, "extension": { "_WRITEBACK_PROPS": ["changed", "value", "transientValue"], "_READ_ONLY_PROPS": ["transientValue"], "_OBSERVED_GLOBAL_PROPS": ["aria-label"] } }, { "max": 5, "value": 0, "size": "md", "color": "neutral", "step": 1, "readonly": false, "disabled": false, "changed": false }, {
33
+ }), onCommit: commitHandler, onInput: inputHandler, "aria-label": otherProps['aria-label'], "aria-labelledby": preactRatingGaugeAriaLabelledBy ?? undefined, "aria-describedby": preactRatingGaugeAriaDescribedBy ?? undefined }) }));
34
+ }, "RatingGauge", { "properties": { "max": { "type": "number" }, "readonly": { "type": "boolean" }, "disabled": { "type": "boolean" }, "changed": { "type": "boolean", "writeback": true }, "value": { "type": "number|null", "writeback": true }, "step": { "type": "number" }, "describedBy": { "type": "string|null" }, "labelledBy": { "type": "string|null" }, "size": { "type": "string", "enumValues": ["sm", "md", "lg"] }, "color": { "type": "string", "enumValues": ["gold", "neutral"] }, "thresholds": { "type": "Array<object>" }, "datatip": { "type": "function" }, "tooltip": { "type": "string" }, "transientValue": { "type": "number", "readOnly": true, "writeback": true } }, "extension": { "_WRITEBACK_PROPS": ["changed", "value", "transientValue"], "_READ_ONLY_PROPS": ["transientValue"], "_OBSERVED_GLOBAL_PROPS": ["aria-label", "aria-labelledby", "aria-describedby"] } }, { "max": 5, "value": 0, "size": "md", "color": "neutral", "step": 1, "readonly": false, "disabled": false, "changed": false }, {
27
35
  '@oracle/oraclejet-preact': translationBundle_1.default
28
36
  }, { consume: [UNSAFE_useTabbableMode_1.TabbableModeContext] });
29
37
  });
@@ -0,0 +1,78 @@
1
+ define(["require", "exports"], function (require, exports) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Debouncer = void 0;
5
+ class Debouncer {
6
+ constructor() {
7
+ this._responseTimes = [
8
+ { time: 900, count: 0 },
9
+ { time: 720, count: 0 },
10
+ { time: 600, count: 0 },
11
+ { time: 450, count: 0 },
12
+ { time: 360, count: 0 },
13
+ { time: 300, count: 0 }
14
+ ];
15
+ this._requestTime = { time: 250, count: 0 };
16
+ this._lastRequestTime = 0;
17
+ }
18
+ debounce(callback, filterTextLength) {
19
+ const wait = this.GetDebounceTime(filterTextLength);
20
+ return (...args) => {
21
+ window.setTimeout(() => {
22
+ callback(...args);
23
+ }, wait);
24
+ };
25
+ }
26
+ recordResponseTime(time, filterTextLength) {
27
+ const index = Math.min(filterTextLength, 5);
28
+ const record = this._responseTimes[index];
29
+ if (record.count === 0) {
30
+ record.time = time;
31
+ }
32
+ else {
33
+ record.time = (record.time * record.count + time) / (record.count + 1);
34
+ }
35
+ record.count += 1;
36
+ }
37
+ recordRequestTime() {
38
+ const requestTime = Date.now();
39
+ const lastRequestTime = this._lastRequestTime;
40
+ this._lastRequestTime = requestTime;
41
+ if (lastRequestTime === 0) {
42
+ return;
43
+ }
44
+ const time = requestTime - lastRequestTime;
45
+ if (time > 1000) {
46
+ return;
47
+ }
48
+ const record = this._requestTime;
49
+ if (record.count === 0) {
50
+ record.time = time;
51
+ }
52
+ else {
53
+ record.time = (record.time * record.count + time) / (record.count + 1);
54
+ }
55
+ record.count += 1;
56
+ }
57
+ _getResponseTime(filterTextLength) {
58
+ const index = Math.min(filterTextLength, 5);
59
+ const record = this._responseTimes[index];
60
+ return record.time;
61
+ }
62
+ _getRequestTime() {
63
+ return this._requestTime.time;
64
+ }
65
+ GetDebounceTime(filterTextLength) {
66
+ const responseTime = this._getResponseTime(filterTextLength);
67
+ const requestTime = this._getRequestTime();
68
+ const paddedRequestTime = 1.2 * requestTime;
69
+ if (responseTime < paddedRequestTime) {
70
+ return 0;
71
+ }
72
+ const factor = (responseTime - paddedRequestTime) / responseTime;
73
+ const debounceTime = (1 + factor) * paddedRequestTime;
74
+ return debounceTime;
75
+ }
76
+ }
77
+ exports.Debouncer = Debouncer;
78
+ });