@oracle/oraclejet-core-pack 16.1.4 → 17.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 (993) hide show
  1. package/oj-c/ActionCard.json +82 -7
  2. package/oj-c/AreaChart.json +866 -382
  3. package/oj-c/AreaChartGroup.json +13 -7
  4. package/oj-c/AreaChartItem.json +23 -31
  5. package/oj-c/AreaChartSeries.json +21 -22
  6. package/oj-c/Avatar.json +11 -11
  7. package/oj-c/Button.json +55 -28
  8. package/oj-c/ButtonsetMultiple.json +567 -0
  9. package/oj-c/ButtonsetSingle.json +567 -0
  10. package/oj-c/CardView.json +638 -0
  11. package/oj-c/Checkbox.json +100 -85
  12. package/oj-c/Checkboxset.json +73 -81
  13. package/oj-c/Collapsible.json +70 -32
  14. package/oj-c/ConveyorBelt.json +325 -0
  15. package/oj-c/DatePicker.json +454 -0
  16. package/oj-c/DragHandle.json +135 -0
  17. package/oj-c/DrawerLayout.json +401 -0
  18. package/oj-c/DrawerPopup.json +36 -22
  19. package/oj-c/Dropdown/Dropdown.js +9 -0
  20. package/oj-c/Dropdown/index.js +6 -0
  21. package/oj-c/FilePicker.json +24 -83
  22. package/oj-c/FormLayout.json +27 -32
  23. package/oj-c/HighlightText.json +6 -6
  24. package/oj-c/InputDateMask.json +104 -117
  25. package/oj-c/InputDatePicker.json +1514 -0
  26. package/oj-c/InputDateText.json +104 -117
  27. package/oj-c/InputMonthMask.json +106 -130
  28. package/oj-c/InputNumber.json +87 -130
  29. package/oj-c/InputPassword.json +76 -112
  30. package/oj-c/InputSensitiveText.json +54 -64
  31. package/oj-c/InputText.json +85 -108
  32. package/oj-c/LabelledLink.json +31 -30
  33. package/oj-c/Legend.json +350 -356
  34. package/oj-c/LegendItem.json +79 -26
  35. package/oj-c/LegendSection.json +11 -5
  36. package/oj-c/LineChart.json +869 -385
  37. package/oj-c/LineChartGroup.json +13 -7
  38. package/oj-c/LineChartItem.json +23 -31
  39. package/oj-c/LineChartSeries.json +25 -26
  40. package/oj-c/ListItemLayout.json +16 -16
  41. package/oj-c/ListView.json +393 -33
  42. package/oj-c/MenuButton.json +46 -38
  43. package/oj-c/MessageBanner.json +162 -15
  44. package/oj-c/MessageToast.json +123 -26
  45. package/oj-c/MeterBar.json +40 -29
  46. package/oj-c/MeterCircle.json +44 -33
  47. package/oj-c/Popup.json +628 -0
  48. package/oj-c/ProgressBar.json +7 -7
  49. package/oj-c/ProgressCircle.json +7 -7
  50. package/oj-c/Radioset.json +42 -51
  51. package/oj-c/RatingGauge.json +23 -23
  52. package/oj-c/SelectMultiple.json +100 -117
  53. package/oj-c/SelectSingle.json +109 -112
  54. package/oj-c/SelectionCard.json +12 -6
  55. package/oj-c/Selector.json +9 -16
  56. package/oj-c/SelectorAll.json +7 -14
  57. package/oj-c/Sheet/Sheet.js +9 -0
  58. package/oj-c/Sheet/index.js +6 -0
  59. package/oj-c/SplitMenuButton.json +351 -27
  60. package/oj-c/TabBar.json +553 -0
  61. package/oj-c/TabBarMixed.json +43 -29
  62. package/oj-c/TagCloud.json +36 -36
  63. package/oj-c/TagCloudItem.json +17 -18
  64. package/oj-c/TextArea.json +84 -126
  65. package/oj-c/ToggleButton.json +513 -0
  66. package/oj-c/action-card/__webdriver__/ActionCardWebElement.js +1 -1
  67. package/oj-c/action-card/__webdriver__/ActionCardWebElement.js.map +1 -1
  68. package/oj-c/action-card/action-card.js +41 -4
  69. package/oj-c/action-card/component.json +20 -2
  70. package/oj-c/action-card.js +1 -1
  71. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +11 -0
  72. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +9 -0
  73. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
  74. package/oj-c/area-chart/area-chart.js +7 -13
  75. package/oj-c/area-chart/component.json +51 -12
  76. package/oj-c/area-chart-group/component.json +8 -2
  77. package/oj-c/area-chart-group.js +1 -1
  78. package/oj-c/area-chart-item/component.json +8 -2
  79. package/oj-c/area-chart-item.js +1 -1
  80. package/oj-c/area-chart-series/component.json +8 -2
  81. package/oj-c/area-chart-series.js +1 -1
  82. package/oj-c/area-chart.js +1 -1
  83. package/oj-c/avatar/avatar-styles.css +1 -0
  84. package/oj-c/avatar/component.json +5 -2
  85. package/oj-c/avatar.js +1 -1
  86. package/oj-c/button/button.js +36 -34
  87. package/oj-c/button/component.json +18 -19
  88. package/oj-c/button.js +1 -1
  89. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.d.ts +8 -0
  90. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js +13 -0
  91. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js.map +1 -0
  92. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.d.ts +101 -0
  93. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js +104 -0
  94. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js.map +1 -0
  95. package/oj-c/buttonset-multiple/__webdriver__/index.d.ts +17 -0
  96. package/oj-c/buttonset-multiple/__webdriver__/index.js +34 -0
  97. package/oj-c/buttonset-multiple/__webdriver__/index.js.map +1 -0
  98. package/oj-c/buttonset-multiple/buttonset-multiple-styles.css +12 -0
  99. package/oj-c/buttonset-multiple/buttonset-multiple.js +55 -0
  100. package/oj-c/buttonset-multiple/component.json +228 -0
  101. package/oj-c/buttonset-multiple/index.js +6 -0
  102. package/oj-c/buttonset-multiple.js +6 -0
  103. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.d.ts +8 -0
  104. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js +13 -0
  105. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js.map +1 -0
  106. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.d.ts +101 -0
  107. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js +104 -0
  108. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js.map +1 -0
  109. package/oj-c/buttonset-single/__webdriver__/index.d.ts +17 -0
  110. package/oj-c/buttonset-single/__webdriver__/index.js +34 -0
  111. package/oj-c/buttonset-single/__webdriver__/index.js.map +1 -0
  112. package/oj-c/buttonset-single/buttonset-single-styles.css +12 -0
  113. package/oj-c/buttonset-single/buttonset-single.js +55 -0
  114. package/oj-c/buttonset-single/component.json +228 -0
  115. package/oj-c/buttonset-single/index.js +6 -0
  116. package/oj-c/buttonset-single.js +6 -0
  117. package/oj-c/card-view/__webdriver__/CardViewWebElement.d.ts +33 -0
  118. package/oj-c/card-view/__webdriver__/CardViewWebElement.js +70 -0
  119. package/oj-c/card-view/__webdriver__/CardViewWebElement.js.map +1 -0
  120. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.d.ts +95 -0
  121. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js +104 -0
  122. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js.map +1 -0
  123. package/oj-c/card-view/__webdriver__/index.d.ts +17 -0
  124. package/oj-c/card-view/__webdriver__/index.js +34 -0
  125. package/oj-c/card-view/__webdriver__/index.js.map +1 -0
  126. package/oj-c/card-view/card-view-styles.css +15 -0
  127. package/oj-c/card-view/card-view.js +71 -0
  128. package/oj-c/card-view/cardViewItem.js +15 -0
  129. package/oj-c/card-view/component.json +323 -0
  130. package/oj-c/card-view/index.js +6 -0
  131. package/oj-c/card-view/useCardViewPreact.js +80 -0
  132. package/oj-c/card-view.js +6 -0
  133. package/oj-c/checkbox/checkbox.js +51 -91
  134. package/oj-c/checkbox/component.json +32 -19
  135. package/oj-c/checkbox/useCheckboxPreact.js +2 -4
  136. package/oj-c/checkbox.js +1 -1
  137. package/oj-c/checkboxset/checkboxset.js +38 -77
  138. package/oj-c/checkboxset/component.json +32 -24
  139. package/oj-c/checkboxset/useCheckboxsetPreact.js +1 -1
  140. package/oj-c/checkboxset.js +1 -1
  141. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.d.ts +1 -1
  142. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js +1 -1
  143. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js.map +1 -1
  144. package/oj-c/collapsible/collapsible.js +9 -6
  145. package/oj-c/collapsible/component.json +40 -13
  146. package/oj-c/collapsible.js +1 -1
  147. package/oj-c/component.json +49 -5
  148. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.d.ts +8 -0
  149. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js +13 -0
  150. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js.map +1 -0
  151. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.d.ts +44 -0
  152. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js +59 -0
  153. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js.map +1 -0
  154. package/oj-c/conveyor-belt/__webdriver__/index.d.ts +17 -0
  155. package/oj-c/conveyor-belt/__webdriver__/index.js +34 -0
  156. package/oj-c/conveyor-belt/__webdriver__/index.js.map +1 -0
  157. package/oj-c/conveyor-belt/component.json +181 -0
  158. package/oj-c/conveyor-belt/conveyor-belt-styles.css +20 -0
  159. package/oj-c/conveyor-belt/conveyor-belt.js +125 -0
  160. package/oj-c/conveyor-belt/conveyorBeltItem.js +13 -0
  161. package/oj-c/conveyor-belt/index.js +6 -0
  162. package/oj-c/conveyor-belt.js +6 -0
  163. package/oj-c/corepackbundle.js +6975 -5062
  164. package/oj-c/date-picker/__webdriver__/DatePickerWebElement.d.ts +8 -0
  165. package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js +13 -0
  166. package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js.map +1 -0
  167. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.d.ts +93 -0
  168. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js +122 -0
  169. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js.map +1 -0
  170. package/oj-c/date-picker/__webdriver__/index.d.ts +17 -0
  171. package/oj-c/date-picker/__webdriver__/index.js +34 -0
  172. package/oj-c/date-picker/__webdriver__/index.js.map +1 -0
  173. package/oj-c/date-picker/component.json +179 -0
  174. package/oj-c/date-picker/date-picker-styles.css +14 -0
  175. package/oj-c/date-picker/date-picker.js +34 -0
  176. package/oj-c/date-picker/index.js +6 -0
  177. package/oj-c/date-picker.js +6 -0
  178. package/oj-c/drag-handle/component.json +82 -0
  179. package/oj-c/drag-handle/drag-handle.js +11 -0
  180. package/oj-c/drag-handle/index.js +6 -0
  181. package/oj-c/drag-handle.js +6 -0
  182. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.d.ts +8 -0
  183. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js +13 -0
  184. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js.map +1 -0
  185. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.d.ts +72 -0
  186. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js +95 -0
  187. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js.map +1 -0
  188. package/oj-c/drawer-layout/__webdriver__/index.d.ts +17 -0
  189. package/oj-c/drawer-layout/__webdriver__/index.js +34 -0
  190. package/oj-c/drawer-layout/__webdriver__/index.js.map +1 -0
  191. package/oj-c/drawer-layout/component.json +208 -0
  192. package/oj-c/drawer-layout/drawer-layout-styles.css +11 -0
  193. package/oj-c/drawer-layout/drawer-layout.js +37 -0
  194. package/oj-c/drawer-layout/index.js +6 -0
  195. package/oj-c/drawer-layout.js +6 -0
  196. package/oj-c/drawer-popup/component.json +53 -15
  197. package/oj-c/drawer-popup/drawer-popup.js +33 -5
  198. package/oj-c/drawer-popup.js +1 -1
  199. package/oj-c/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +2 -2
  200. package/oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
  201. package/oj-c/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +2 -5
  202. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.d.ts +15 -0
  203. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +89 -19
  204. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -1
  205. package/oj-c/file-picker/component.json +10 -19
  206. package/oj-c/file-picker/file-picker.js +1 -9
  207. package/oj-c/file-picker.js +1 -1
  208. package/oj-c/form-layout/component.json +16 -11
  209. package/oj-c/form-layout/form-layout.js +11 -43
  210. package/oj-c/form-layout.js +1 -1
  211. package/oj-c/highlight-text/component.json +5 -2
  212. package/oj-c/highlight-text.js +1 -1
  213. package/oj-c/hooks/PRIVATE_useVisData/useVisData.js +44 -0
  214. package/oj-c/hooks/UNSAFE_useChartData/useChartData.js +4 -4
  215. package/oj-c/hooks/UNSAFE_useEditableValue/converterUtils.js +50 -0
  216. package/oj-c/hooks/UNSAFE_useEditableValue/index.js +6 -0
  217. package/oj-c/hooks/UNSAFE_useEditableValue/reducer.js +164 -0
  218. package/oj-c/hooks/UNSAFE_useEditableValue/types.js +4 -0
  219. package/oj-c/hooks/UNSAFE_useEditableValue/useEditableValue.js +336 -0
  220. package/oj-c/hooks/UNSAFE_useEditableValue/utils.js +35 -0
  221. package/oj-c/hooks/UNSAFE_useEditableValue/validationUtils.js +53 -0
  222. package/oj-c/hooks/UNSAFE_useListData/useListData.js +4 -1
  223. package/oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +23 -0
  224. package/oj-c/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +16 -0
  225. package/oj-c/input-date-mask/component.json +17 -7
  226. package/oj-c/input-date-mask/input-date-mask.js +11 -10
  227. package/oj-c/input-date-mask/useInputDateMaskPreact.js +22 -15
  228. package/oj-c/input-date-mask.js +1 -1
  229. package/oj-c/input-date-picker/DateRangeValidator.js +53 -0
  230. package/oj-c/input-date-picker/DateRestrictionValidator.js +35 -0
  231. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.d.ts +17 -0
  232. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js +73 -0
  233. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js.map +1 -0
  234. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.d.ts +291 -0
  235. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js +302 -0
  236. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js.map +1 -0
  237. package/oj-c/input-date-picker/__webdriver__/index.d.ts +17 -0
  238. package/oj-c/input-date-picker/__webdriver__/index.js +34 -0
  239. package/oj-c/input-date-picker/__webdriver__/index.js.map +1 -0
  240. package/oj-c/input-date-picker/component.json +563 -0
  241. package/oj-c/input-date-picker/index.js +6 -0
  242. package/oj-c/input-date-picker/input-date-picker-styles.css +13 -0
  243. package/oj-c/input-date-picker/input-date-picker.js +39 -0
  244. package/oj-c/input-date-picker/useCombinedImplicitValidators.js +13 -0
  245. package/oj-c/input-date-picker/useImplicitCalendarDateConverter.js +17 -0
  246. package/oj-c/input-date-picker/useImplicitDateRangeValidator.js +29 -0
  247. package/oj-c/input-date-picker/useImplicitDateRestrictionValidator.js +16 -0
  248. package/oj-c/input-date-picker/useInputDatePicker.js +141 -0
  249. package/oj-c/input-date-picker/utils.js +23 -0
  250. package/oj-c/input-date-picker.js +6 -0
  251. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.d.ts +0 -7
  252. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js +0 -9
  253. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js.map +1 -1
  254. package/oj-c/input-date-text/component.json +34 -21
  255. package/oj-c/input-date-text/input-date-text.js +52 -94
  256. package/oj-c/input-date-text/useInputDateTextPreact.js +19 -13
  257. package/oj-c/input-date-text.js +1 -1
  258. package/oj-c/input-month-mask/component.json +17 -7
  259. package/oj-c/input-month-mask/input-month-mask.js +11 -10
  260. package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +9 -1
  261. package/oj-c/input-month-mask/useInputMonthMaskPreact.js +19 -13
  262. package/oj-c/input-month-mask.js +1 -1
  263. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +0 -7
  264. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +0 -9
  265. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -1
  266. package/oj-c/input-number/component.json +22 -19
  267. package/oj-c/input-number/input-number.js +52 -96
  268. package/oj-c/input-number.js +1 -1
  269. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +0 -7
  270. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +0 -9
  271. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
  272. package/oj-c/input-password/component.json +22 -19
  273. package/oj-c/input-password/input-password.js +47 -90
  274. package/oj-c/input-password.js +1 -1
  275. package/oj-c/input-sensitive-text/component.json +13 -6
  276. package/oj-c/input-sensitive-text/input-sensitive-text.js +11 -10
  277. package/oj-c/input-sensitive-text.js +1 -1
  278. package/oj-c/input-text/component.json +22 -16
  279. package/oj-c/input-text/input-text.js +57 -96
  280. package/oj-c/input-text/useInputTextPreact.js +15 -12
  281. package/oj-c/input-text.js +1 -1
  282. package/oj-c/labelled-link/component.json +12 -3
  283. package/oj-c/labelled-link.js +1 -1
  284. package/oj-c/legend/component.json +17 -2
  285. package/oj-c/legend/events.js +3 -2
  286. package/oj-c/legend/legend.js +28 -16
  287. package/oj-c/legend/utils.js +28 -6
  288. package/oj-c/legend-item/component.json +41 -6
  289. package/oj-c/legend-item/legend-item.js +4 -3
  290. package/oj-c/legend-item.js +1 -1
  291. package/oj-c/legend-section/component.json +18 -2
  292. package/oj-c/legend-section.js +1 -1
  293. package/oj-c/legend.js +1 -1
  294. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +11 -0
  295. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +9 -0
  296. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
  297. package/oj-c/line-chart/component.json +55 -16
  298. package/oj-c/line-chart/line-chart.js +7 -13
  299. package/oj-c/line-chart-group/component.json +8 -2
  300. package/oj-c/line-chart-group.js +1 -1
  301. package/oj-c/line-chart-item/component.json +8 -2
  302. package/oj-c/line-chart-item.js +1 -1
  303. package/oj-c/line-chart-series/component.json +10 -4
  304. package/oj-c/line-chart-series/line-chart-series.js +1 -1
  305. package/oj-c/line-chart-series.js +1 -1
  306. package/oj-c/line-chart.js +1 -1
  307. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.d.ts +12 -3
  308. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js +12 -3
  309. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js.map +1 -1
  310. package/oj-c/list-item-layout/component.json +10 -14
  311. package/oj-c/list-item-layout/list-item-layout.js +3 -3
  312. package/oj-c/list-item-layout.js +1 -1
  313. package/oj-c/list-view/DataFetchLiveRegion.js +30 -0
  314. package/oj-c/list-view/__webdriver__/ListViewWebElement.d.ts +1 -1
  315. package/oj-c/list-view/__webdriver__/ListViewWebElement.js +4 -7
  316. package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -1
  317. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.d.ts +26 -0
  318. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js +18 -0
  319. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js.map +1 -1
  320. package/oj-c/list-view/component.json +207 -3
  321. package/oj-c/list-view/list-view.js +32 -7
  322. package/oj-c/list-view/useListViewPreact.js +101 -10
  323. package/oj-c/list-view.js +1 -1
  324. package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.d.ts +1 -0
  325. package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js +14 -8
  326. package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js.map +1 -1
  327. package/oj-c/menu-button/component.json +21 -17
  328. package/oj-c/menu-button/menu-button.js +5 -8
  329. package/oj-c/menu-button.js +1 -1
  330. package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.d.ts +7 -0
  331. package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js +9 -0
  332. package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js.map +1 -1
  333. package/oj-c/message-banner/component.json +28 -3
  334. package/oj-c/message-banner/message-banner.js +30 -3
  335. package/oj-c/message-banner.js +1 -1
  336. package/oj-c/message-toast/component.json +9 -4
  337. package/oj-c/message-toast.js +1 -1
  338. package/oj-c/metadata/allComponents.json +4181 -637
  339. package/oj-c/meter-bar/component.json +11 -3
  340. package/oj-c/meter-bar/meter-bar-styles.css +14 -2
  341. package/oj-c/meter-bar/meter-bar.js +2 -2
  342. package/oj-c/meter-bar.js +1 -1
  343. package/oj-c/meter-circle/component.json +11 -3
  344. package/oj-c/meter-circle/meter-circle-styles.css +5 -0
  345. package/oj-c/meter-circle/meter-circle.js +2 -2
  346. package/oj-c/meter-circle.js +1 -1
  347. package/oj-c/min/Dropdown/Dropdown.js +9 -0
  348. package/oj-c/min/Dropdown/index.js +6 -0
  349. package/oj-c/min/Sheet/Sheet.js +9 -0
  350. package/oj-c/min/Sheet/index.js +6 -0
  351. package/oj-c/min/action-card.js +1 -1
  352. package/oj-c/min/action-card.js.map +1 -1
  353. package/oj-c/min/area-chart-group.js +1 -1
  354. package/oj-c/min/area-chart-group.js.map +1 -1
  355. package/oj-c/min/area-chart-item.js +1 -1
  356. package/oj-c/min/area-chart-item.js.map +1 -1
  357. package/oj-c/min/area-chart-series.js +1 -1
  358. package/oj-c/min/area-chart-series.js.map +1 -1
  359. package/oj-c/min/area-chart.js +1 -1
  360. package/oj-c/min/area-chart.js.map +1 -1
  361. package/oj-c/min/avatar/avatar-styles.css +1 -0
  362. package/oj-c/min/avatar.js +1 -1
  363. package/oj-c/min/avatar.js.map +1 -1
  364. package/oj-c/min/button.js +1 -1
  365. package/oj-c/min/button.js.map +1 -1
  366. package/oj-c/min/buttonset-multiple/buttonset-multiple-styles.css +12 -0
  367. package/oj-c/min/buttonset-multiple.js +2 -0
  368. package/oj-c/min/buttonset-multiple.js.map +1 -0
  369. package/oj-c/min/buttonset-single/buttonset-single-styles.css +12 -0
  370. package/oj-c/min/buttonset-single.js +2 -0
  371. package/oj-c/min/buttonset-single.js.map +1 -0
  372. package/oj-c/min/card-view/card-view-styles.css +15 -0
  373. package/oj-c/min/card-view.js +2 -0
  374. package/oj-c/min/card-view.js.map +1 -0
  375. package/oj-c/min/checkbox.js +1 -1
  376. package/oj-c/min/checkbox.js.map +1 -1
  377. package/oj-c/min/checkboxset.js +1 -1
  378. package/oj-c/min/checkboxset.js.map +1 -1
  379. package/oj-c/min/collapsible.js +1 -1
  380. package/oj-c/min/collapsible.js.map +1 -1
  381. package/oj-c/min/conveyor-belt/conveyor-belt-styles.css +20 -0
  382. package/oj-c/min/conveyor-belt.js +2 -0
  383. package/oj-c/min/conveyor-belt.js.map +1 -0
  384. package/oj-c/min/corepackbundle.css +121 -16
  385. package/oj-c/min/corepackbundle.js +1 -1
  386. package/oj-c/min/corepackbundle.js.map +1 -1
  387. package/oj-c/min/date-picker/date-picker-styles.css +14 -0
  388. package/oj-c/min/date-picker.js +2 -0
  389. package/oj-c/min/date-picker.js.map +1 -0
  390. package/oj-c/min/drag-handle.js +2 -0
  391. package/oj-c/min/drag-handle.js.map +1 -0
  392. package/oj-c/min/drawer-layout/drawer-layout-styles.css +11 -0
  393. package/oj-c/min/drawer-layout.js +2 -0
  394. package/oj-c/min/drawer-layout.js.map +1 -0
  395. package/oj-c/min/drawer-popup.js +1 -1
  396. package/oj-c/min/drawer-popup.js.map +1 -1
  397. package/oj-c/min/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +2 -2
  398. package/oj-c/min/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
  399. package/oj-c/min/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +2 -5
  400. package/oj-c/min/file-picker.js +1 -1
  401. package/oj-c/min/file-picker.js.map +1 -1
  402. package/oj-c/min/form-layout.js +1 -1
  403. package/oj-c/min/form-layout.js.map +1 -1
  404. package/oj-c/min/highlight-text.js +1 -1
  405. package/oj-c/min/highlight-text.js.map +1 -1
  406. package/oj-c/min/hooks/PRIVATE_useVisData/useVisData.js +44 -0
  407. package/oj-c/min/hooks/UNSAFE_useChartData/useChartData.js +4 -4
  408. package/oj-c/min/hooks/UNSAFE_useEditableValue/converterUtils.js +50 -0
  409. package/oj-c/min/hooks/UNSAFE_useEditableValue/index.js +6 -0
  410. package/oj-c/min/hooks/UNSAFE_useEditableValue/reducer.js +164 -0
  411. package/oj-c/min/hooks/UNSAFE_useEditableValue/types.js +4 -0
  412. package/oj-c/min/hooks/UNSAFE_useEditableValue/useEditableValue.js +336 -0
  413. package/oj-c/min/hooks/UNSAFE_useEditableValue/utils.js +35 -0
  414. package/oj-c/min/hooks/UNSAFE_useEditableValue/validationUtils.js +53 -0
  415. package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +4 -1
  416. package/oj-c/min/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +23 -0
  417. package/oj-c/min/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +16 -0
  418. package/oj-c/min/input-date-mask.js +1 -1
  419. package/oj-c/min/input-date-mask.js.map +1 -1
  420. package/oj-c/min/input-date-picker/input-date-picker-styles.css +13 -0
  421. package/oj-c/min/input-date-picker.js +3 -0
  422. package/oj-c/min/input-date-picker.js.map +1 -0
  423. package/oj-c/min/input-date-text.js +1 -1
  424. package/oj-c/min/input-date-text.js.map +1 -1
  425. package/oj-c/min/input-month-mask.js +1 -1
  426. package/oj-c/min/input-month-mask.js.map +1 -1
  427. package/oj-c/min/input-number.js +1 -1
  428. package/oj-c/min/input-number.js.map +1 -1
  429. package/oj-c/min/input-password.js +1 -1
  430. package/oj-c/min/input-password.js.map +1 -1
  431. package/oj-c/min/input-sensitive-text.js +1 -1
  432. package/oj-c/min/input-sensitive-text.js.map +1 -1
  433. package/oj-c/min/input-text.js +1 -1
  434. package/oj-c/min/input-text.js.map +1 -1
  435. package/oj-c/min/labelled-link.js +1 -1
  436. package/oj-c/min/labelled-link.js.map +1 -1
  437. package/oj-c/min/legend-item.js +1 -1
  438. package/oj-c/min/legend-item.js.map +1 -1
  439. package/oj-c/min/legend-section.js +1 -1
  440. package/oj-c/min/legend-section.js.map +1 -1
  441. package/oj-c/min/legend.js +1 -1
  442. package/oj-c/min/legend.js.map +1 -1
  443. package/oj-c/min/line-chart-group.js +1 -1
  444. package/oj-c/min/line-chart-group.js.map +1 -1
  445. package/oj-c/min/line-chart-item.js +1 -1
  446. package/oj-c/min/line-chart-item.js.map +1 -1
  447. package/oj-c/min/line-chart-series.js +1 -1
  448. package/oj-c/min/line-chart-series.js.map +1 -1
  449. package/oj-c/min/line-chart.js +1 -1
  450. package/oj-c/min/line-chart.js.map +1 -1
  451. package/oj-c/min/list-item-layout.js +1 -1
  452. package/oj-c/min/list-item-layout.js.map +1 -1
  453. package/oj-c/min/list-view.js +1 -1
  454. package/oj-c/min/list-view.js.map +1 -1
  455. package/oj-c/min/menu-button.js +1 -1
  456. package/oj-c/min/menu-button.js.map +1 -1
  457. package/oj-c/min/message-banner.js +1 -1
  458. package/oj-c/min/message-banner.js.map +1 -1
  459. package/oj-c/min/message-toast.js +1 -1
  460. package/oj-c/min/message-toast.js.map +1 -1
  461. package/oj-c/min/meter-bar/meter-bar-styles.css +14 -2
  462. package/oj-c/min/meter-bar.js +1 -1
  463. package/oj-c/min/meter-bar.js.map +1 -1
  464. package/oj-c/min/meter-circle/meter-circle-styles.css +5 -0
  465. package/oj-c/min/meter-circle.js +1 -1
  466. package/oj-c/min/meter-circle.js.map +1 -1
  467. package/oj-c/min/popup/popup-styles.css +12 -0
  468. package/oj-c/min/popup/resources/nls/popup-strings.d.ts +8 -0
  469. package/oj-c/min/popup/resources/nls/popup-strings.js +10 -0
  470. package/oj-c/min/popup.js +2 -0
  471. package/oj-c/min/popup.js.map +1 -0
  472. package/oj-c/min/progress-bar.js +1 -1
  473. package/oj-c/min/progress-bar.js.map +1 -1
  474. package/oj-c/min/progress-circle.js +1 -1
  475. package/oj-c/min/progress-circle.js.map +1 -1
  476. package/oj-c/min/radioset/radioset-styles.css +5 -6
  477. package/oj-c/min/radioset.js +1 -1
  478. package/oj-c/min/radioset.js.map +1 -1
  479. package/oj-c/min/rating-gauge.js +1 -1
  480. package/oj-c/min/rating-gauge.js.map +1 -1
  481. package/oj-c/min/select-common/utils/utils.js +40 -2
  482. package/oj-c/min/select-multiple.js +2 -2
  483. package/oj-c/min/select-multiple.js.map +1 -1
  484. package/oj-c/min/select-single.js +2 -2
  485. package/oj-c/min/select-single.js.map +1 -1
  486. package/oj-c/min/selection-card.js +1 -1
  487. package/oj-c/min/selection-card.js.map +1 -1
  488. package/oj-c/min/selector-all.js +1 -1
  489. package/oj-c/min/selector-all.js.map +1 -1
  490. package/oj-c/min/selector.js +1 -1
  491. package/oj-c/min/selector.js.map +1 -1
  492. package/oj-c/min/split-menu-button.js +1 -1
  493. package/oj-c/min/split-menu-button.js.map +1 -1
  494. package/oj-c/min/tab-bar/tab-bar-styles.css +11 -0
  495. package/oj-c/min/tab-bar-mixed.js +1 -1
  496. package/oj-c/min/tab-bar-mixed.js.map +1 -1
  497. package/oj-c/min/tab-bar.js +2 -0
  498. package/oj-c/min/tab-bar.js.map +1 -0
  499. package/oj-c/min/tag-cloud-item.js +1 -1
  500. package/oj-c/min/tag-cloud-item.js.map +1 -1
  501. package/oj-c/min/tag-cloud.js +1 -1
  502. package/oj-c/min/tag-cloud.js.map +1 -1
  503. package/oj-c/min/text-area.js +1 -1
  504. package/oj-c/min/text-area.js.map +1 -1
  505. package/oj-c/min/toggle-button/toggle-button-styles.css +12 -0
  506. package/oj-c/min/toggle-button.js +2 -0
  507. package/oj-c/min/toggle-button.js.map +1 -0
  508. package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
  509. package/oj-c/min/utils/PRIVATE_chartUtils/axisUtils.js +1 -0
  510. package/oj-c/min/utils/PRIVATE_toggleUtils/index.js +7 -0
  511. package/oj-c/min/utils/PRIVATE_toggleUtils/toggle-item-icon.js +14 -0
  512. package/oj-c/min/utils/PRIVATE_toggleUtils/toggleTypes.js +4 -0
  513. package/oj-c/min/utils/PRIVATE_toggleUtils/widthStyle.js +19 -0
  514. package/oj-c/min/utils/UNSAFE_keyUtils/keySetUtils.js +21 -1
  515. package/oj-c/min/utils/UNSAFE_vizUtils/TemplateHandler.js +15 -3
  516. package/oj-c/popup/README.md +6 -0
  517. package/oj-c/popup/__webdriver__/PopupWebElement.d.ts +8 -0
  518. package/oj-c/popup/__webdriver__/PopupWebElement.js +13 -0
  519. package/oj-c/popup/__webdriver__/PopupWebElement.js.map +1 -0
  520. package/oj-c/popup/__webdriver__/PopupWebElementBase.d.ts +138 -0
  521. package/oj-c/popup/__webdriver__/PopupWebElementBase.js +167 -0
  522. package/oj-c/popup/__webdriver__/PopupWebElementBase.js.map +1 -0
  523. package/oj-c/popup/__webdriver__/index.d.ts +17 -0
  524. package/oj-c/popup/__webdriver__/index.js +34 -0
  525. package/oj-c/popup/__webdriver__/index.js.map +1 -0
  526. package/oj-c/popup/component.json +310 -0
  527. package/oj-c/popup/index.js +6 -0
  528. package/oj-c/popup/popup-styles.css +12 -0
  529. package/oj-c/popup/popup.js +127 -0
  530. package/oj-c/popup/resources/nls/popup-strings.js +10 -0
  531. package/oj-c/popup/themes/base/_popup.scss +22 -0
  532. package/oj-c/popup/themes/redwood/_popup.scss +19 -0
  533. package/oj-c/popup/themes/stable/_popup.scss +19 -0
  534. package/oj-c/popup.js +6 -0
  535. package/oj-c/progress-bar/component.json +5 -2
  536. package/oj-c/progress-bar.js +1 -1
  537. package/oj-c/progress-circle/component.json +5 -2
  538. package/oj-c/progress-circle.js +1 -1
  539. package/oj-c/radioset/component.json +10 -9
  540. package/oj-c/radioset/radioset-styles.css +5 -6
  541. package/oj-c/radioset/radioset.js +24 -17
  542. package/oj-c/radioset.js +1 -1
  543. package/oj-c/rating-gauge/component.json +5 -2
  544. package/oj-c/rating-gauge.js +1 -1
  545. package/oj-c/select-common/utils/utils.js +40 -2
  546. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.d.ts +7 -7
  547. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js +9 -9
  548. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js.map +1 -1
  549. package/oj-c/select-multiple/component.json +31 -20
  550. package/oj-c/select-multiple/select-multiple.js +44 -91
  551. package/oj-c/select-multiple/useSelectMultiplePreact.js +17 -12
  552. package/oj-c/select-multiple/useSyncValueAndValueItems.js +32 -8
  553. package/oj-c/select-multiple.js +1 -1
  554. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.d.ts +7 -7
  555. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js +9 -9
  556. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js.map +1 -1
  557. package/oj-c/select-single/component.json +39 -21
  558. package/oj-c/select-single/select-single.js +45 -94
  559. package/oj-c/select-single/useSelectSinglePreact.js +25 -12
  560. package/oj-c/select-single/useSyncValueAndValueItem.js +32 -7
  561. package/oj-c/select-single.js +1 -1
  562. package/oj-c/selection-card/component.json +11 -2
  563. package/oj-c/selection-card.js +1 -1
  564. package/oj-c/selector/component.json +5 -2
  565. package/oj-c/selector-all/component.json +5 -2
  566. package/oj-c/selector-all/selector-all.js +1 -1
  567. package/oj-c/selector-all.js +1 -1
  568. package/oj-c/selector.js +1 -1
  569. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.d.ts +1 -0
  570. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +13 -8
  571. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
  572. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.d.ts +59 -1
  573. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
  574. package/oj-c/split-menu-button/component.json +125 -13
  575. package/oj-c/split-menu-button/split-menu-button.js +3 -4
  576. package/oj-c/split-menu-button.js +1 -1
  577. package/oj-c/tab-bar/ContentRenderer.js +41 -0
  578. package/oj-c/tab-bar/DataTabBar.js +54 -0
  579. package/oj-c/tab-bar/DataTabBar.types.js +4 -0
  580. package/oj-c/tab-bar/DataTabBarIcon.js +16 -0
  581. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.d.ts +8 -0
  582. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js +13 -0
  583. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js.map +1 -0
  584. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.d.ts +65 -0
  585. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js +86 -0
  586. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js.map +1 -0
  587. package/oj-c/tab-bar/__webdriver__/index.d.ts +17 -0
  588. package/oj-c/tab-bar/__webdriver__/index.js +34 -0
  589. package/oj-c/tab-bar/__webdriver__/index.js.map +1 -0
  590. package/oj-c/tab-bar/component.json +223 -0
  591. package/oj-c/tab-bar/index.js +6 -0
  592. package/oj-c/tab-bar/tab-bar-styles.css +11 -0
  593. package/oj-c/tab-bar/tab-bar.js +70 -0
  594. package/oj-c/tab-bar-mixed/DataTabBarMixed.js +1 -1
  595. package/oj-c/tab-bar-mixed/component.json +11 -2
  596. package/oj-c/tab-bar-mixed/sumBadge.js +3 -3
  597. package/oj-c/tab-bar-mixed/tab-bar-mixed.js +1 -1
  598. package/oj-c/tab-bar-mixed.js +1 -1
  599. package/oj-c/tab-bar.js +6 -0
  600. package/oj-c/tag-cloud/component.json +11 -2
  601. package/oj-c/tag-cloud/tag-cloud.js +3 -9
  602. package/oj-c/tag-cloud-item/component.json +8 -2
  603. package/oj-c/tag-cloud-item.js +1 -1
  604. package/oj-c/tag-cloud.js +1 -1
  605. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.d.ts +0 -7
  606. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js +0 -9
  607. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js.map +1 -1
  608. package/oj-c/text-area/component.json +24 -20
  609. package/oj-c/text-area/text-area.js +70 -98
  610. package/oj-c/text-area/useTextAreaAutosizePreact.js +12 -9
  611. package/oj-c/text-area/useTextAreaPreact.js +12 -9
  612. package/oj-c/text-area.js +1 -1
  613. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.d.ts +8 -0
  614. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js +13 -0
  615. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js.map +1 -0
  616. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.d.ts +72 -0
  617. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js +95 -0
  618. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js.map +1 -0
  619. package/oj-c/toggle-button/__webdriver__/index.d.ts +17 -0
  620. package/oj-c/toggle-button/__webdriver__/index.js +34 -0
  621. package/oj-c/toggle-button/__webdriver__/index.js.map +1 -0
  622. package/oj-c/toggle-button/component.json +229 -0
  623. package/oj-c/toggle-button/index.js +6 -0
  624. package/oj-c/toggle-button/toggle-button-styles.css +12 -0
  625. package/oj-c/toggle-button/toggle-button.js +83 -0
  626. package/oj-c/toggle-button.js +6 -0
  627. package/oj-c/types/Dropdown/Dropdown.d.ts +5 -0
  628. package/oj-c/types/Dropdown/index.d.ts +1 -0
  629. package/oj-c/types/Sheet/Sheet.d.ts +5 -0
  630. package/oj-c/types/Sheet/index.d.ts +1 -0
  631. package/oj-c/types/action-card/action-card.d.ts +12 -4
  632. package/oj-c/types/area-chart/area-chart.d.ts +12 -4
  633. package/oj-c/types/button/button.d.ts +5 -3
  634. package/oj-c/types/buttonset-multiple/buttonset-multiple.d.ts +95 -0
  635. package/oj-c/types/buttonset-multiple/index.d.ts +2 -0
  636. package/oj-c/types/buttonset-single/buttonset-single.d.ts +95 -0
  637. package/oj-c/types/buttonset-single/index.d.ts +2 -0
  638. package/oj-c/types/card-view/card-view.d.ts +120 -0
  639. package/oj-c/types/card-view/cardViewItem.d.ts +9 -0
  640. package/oj-c/types/card-view/index.d.ts +2 -0
  641. package/oj-c/types/card-view/useCardViewPreact.d.ts +25 -0
  642. package/oj-c/types/checkbox/checkbox.d.ts +23 -39
  643. package/oj-c/types/checkbox/useCheckboxPreact.d.ts +3 -3
  644. package/oj-c/types/checkboxset/checkboxset.d.ts +29 -41
  645. package/oj-c/types/checkboxset/useCheckboxsetPreact.d.ts +2 -2
  646. package/oj-c/types/conveyor-belt/conveyor-belt.d.ts +77 -0
  647. package/oj-c/types/conveyor-belt/conveyorBeltItem.d.ts +24 -0
  648. package/oj-c/types/conveyor-belt/index.d.ts +2 -0
  649. package/oj-c/types/date-picker/date-picker.d.ts +113 -0
  650. package/oj-c/types/date-picker/index.d.ts +2 -0
  651. package/oj-c/types/drag-handle/drag-handle.d.ts +24 -0
  652. package/oj-c/types/drag-handle/index.d.ts +2 -0
  653. package/oj-c/types/drawer-layout/drawer-layout.d.ts +91 -0
  654. package/oj-c/types/drawer-layout/index.d.ts +2 -0
  655. package/oj-c/types/drawer-popup/drawer-popup.d.ts +7 -2
  656. package/oj-c/types/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.d.ts +3 -3
  657. package/oj-c/types/editable-value/UNSAFE_useEditableValue/useEditableValue.d.ts +4 -3
  658. package/oj-c/types/editable-value/UNSAFE_useValidators/useValidators.d.ts +2 -2
  659. package/oj-c/types/editable-value/UNSAFE_useValue/useValue.d.ts +4 -4
  660. package/oj-c/types/file-picker/file-picker.d.ts +0 -1
  661. package/oj-c/types/form-layout/form-layout.d.ts +3 -8
  662. package/oj-c/types/hooks/PRIVATE_useVisData/useVisData.d.ts +10 -0
  663. package/oj-c/types/hooks/UNSAFE_useChartData/dataUtil.d.ts +1 -1
  664. package/oj-c/types/hooks/UNSAFE_useChartData/useChartData.d.ts +1 -0
  665. package/oj-c/types/hooks/UNSAFE_useEditableValue/converterUtils.d.ts +14 -0
  666. package/oj-c/types/hooks/UNSAFE_useEditableValue/index.d.ts +2 -0
  667. package/oj-c/types/hooks/UNSAFE_useEditableValue/reducer.d.ts +106 -0
  668. package/oj-c/types/hooks/UNSAFE_useEditableValue/types.d.ts +7 -0
  669. package/oj-c/types/hooks/UNSAFE_useEditableValue/useEditableValue.d.ts +43 -0
  670. package/oj-c/types/hooks/UNSAFE_useEditableValue/utils.d.ts +8 -0
  671. package/oj-c/types/hooks/UNSAFE_useEditableValue/validationUtils.d.ts +27 -0
  672. package/oj-c/types/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.d.ts +16 -0
  673. package/oj-c/types/hooks/UNSAFE_useVisBusyState/useVisBusyState.d.ts +1 -0
  674. package/oj-c/types/input-date-mask/input-date-mask.d.ts +3 -3
  675. package/oj-c/types/input-date-mask/useInputDateMaskPreact.d.ts +6 -5
  676. package/oj-c/types/input-date-picker/DateRangeValidator.d.ts +31 -0
  677. package/oj-c/types/input-date-picker/DateRestrictionValidator.d.ts +25 -0
  678. package/oj-c/types/input-date-picker/index.d.ts +2 -0
  679. package/oj-c/types/input-date-picker/input-date-picker.d.ts +219 -0
  680. package/oj-c/types/input-date-picker/useCombinedImplicitValidators.d.ts +2 -0
  681. package/oj-c/types/input-date-picker/useImplicitCalendarDateConverter.d.ts +7 -0
  682. package/oj-c/types/input-date-picker/useImplicitDateRangeValidator.d.ts +4 -0
  683. package/oj-c/types/input-date-picker/useImplicitDateRestrictionValidator.d.ts +6 -0
  684. package/oj-c/types/input-date-picker/useInputDatePicker.d.ts +45 -0
  685. package/oj-c/types/input-date-picker/utils.d.ts +3 -0
  686. package/oj-c/types/input-date-text/input-date-text.d.ts +16 -26
  687. package/oj-c/types/input-date-text/useInputDateTextPreact.d.ts +3 -5
  688. package/oj-c/types/input-month-mask/input-month-mask.d.ts +3 -3
  689. package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +5 -6
  690. package/oj-c/types/input-number/input-number.d.ts +15 -25
  691. package/oj-c/types/input-number/useNumberInputTextPreact.d.ts +3 -3
  692. package/oj-c/types/input-password/input-password.d.ts +16 -26
  693. package/oj-c/types/input-password/useInputPasswordPreact.d.ts +3 -3
  694. package/oj-c/types/input-sensitive-text/input-sensitive-text.d.ts +3 -3
  695. package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +3 -3
  696. package/oj-c/types/input-text/input-text.d.ts +16 -21
  697. package/oj-c/types/input-text/useInputTextPreact.d.ts +5 -10
  698. package/oj-c/types/legend/events.d.ts +2 -2
  699. package/oj-c/types/legend/legend.d.ts +4 -2
  700. package/oj-c/types/legend/utils.d.ts +5 -3
  701. package/oj-c/types/legend-item/legend-item.d.ts +6 -1
  702. package/oj-c/types/line-chart/line-chart.d.ts +9 -1
  703. package/oj-c/types/list-view/DataFetchLiveRegion.d.ts +5 -0
  704. package/oj-c/types/list-view/index.d.ts +1 -1
  705. package/oj-c/types/list-view/list-view.d.ts +60 -3
  706. package/oj-c/types/list-view/useListViewPreact.d.ts +5 -2
  707. package/oj-c/types/menu-button/menu-button.d.ts +10 -9
  708. package/oj-c/types/message-banner/message-banner.d.ts +7 -1
  709. package/oj-c/types/message-toast/message-toast.d.ts +2 -0
  710. package/oj-c/types/meter-circle/meter-circle.d.ts +1 -0
  711. package/oj-c/types/popup/index.d.ts +2 -0
  712. package/oj-c/types/popup/popup.d.ts +150 -0
  713. package/oj-c/types/popup/resources/nls/popup-strings.d.ts +8 -0
  714. package/oj-c/types/radioset/useRadiosetPreact.d.ts +2 -2
  715. package/oj-c/types/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.d.ts +4 -4
  716. package/oj-c/types/select-common/UNSAFE_useWrapValueState/useWrapValueState.d.ts +5 -5
  717. package/oj-c/types/select-common/utils/utils.d.ts +2 -0
  718. package/oj-c/types/select-multiple/select-multiple.d.ts +15 -28
  719. package/oj-c/types/select-multiple/useSelectMultiplePreact.d.ts +4 -7
  720. package/oj-c/types/select-multiple/useSyncValueAndValueItems.d.ts +7 -4
  721. package/oj-c/types/select-single/select-single.d.ts +16 -30
  722. package/oj-c/types/select-single/useSelectSinglePreact.d.ts +4 -8
  723. package/oj-c/types/select-single/useSyncValueAndValueItem.d.ts +7 -4
  724. package/oj-c/types/split-menu-button/split-menu-button.d.ts +6 -8
  725. package/oj-c/types/tab-bar/ContentRenderer.d.ts +5 -0
  726. package/oj-c/types/tab-bar/DataTabBar.d.ts +2 -0
  727. package/oj-c/types/tab-bar/DataTabBar.types.d.ts +32 -0
  728. package/oj-c/types/tab-bar/DataTabBarIcon.d.ts +10 -0
  729. package/oj-c/types/tab-bar/index.d.ts +2 -0
  730. package/oj-c/types/tab-bar/tab-bar.d.ts +125 -0
  731. package/oj-c/types/tag-cloud/tag-cloud.d.ts +1 -0
  732. package/oj-c/types/text-area/text-area.d.ts +16 -26
  733. package/oj-c/types/text-area/useTextAreaAutosizePreact.d.ts +3 -5
  734. package/oj-c/types/text-area/useTextAreaPreact.d.ts +3 -5
  735. package/oj-c/types/toggle-button/index.d.ts +2 -0
  736. package/oj-c/types/toggle-button/toggle-button.d.ts +94 -0
  737. package/oj-c/types/utils/PRIVATE_ItemsMenu/index.d.ts +1 -1
  738. package/oj-c/types/utils/PRIVATE_ItemsMenu/items-menu.d.ts +8 -4
  739. package/oj-c/types/utils/PRIVATE_ItemsMenu/menuTypes.d.ts +20 -1
  740. package/oj-c/types/utils/PRIVATE_chartUtils/events.d.ts +4 -5
  741. package/oj-c/types/utils/PRIVATE_chartUtils/lineAreaUtils.d.ts +1 -1
  742. package/oj-c/types/utils/PRIVATE_chartUtils/plotAreaUtils.d.ts +2 -25
  743. package/oj-c/types/utils/PRIVATE_toggleUtils/index.d.ts +3 -0
  744. package/oj-c/types/utils/PRIVATE_toggleUtils/toggle-item-icon.d.ts +6 -0
  745. package/oj-c/types/utils/PRIVATE_toggleUtils/toggleTypes.d.ts +14 -0
  746. package/oj-c/types/utils/PRIVATE_toggleUtils/widthStyle.d.ts +11 -0
  747. package/oj-c/types/utils/UNSAFE_keyUtils/keySetUtils.d.ts +2 -0
  748. package/oj-c/types/utils/UNSAFE_vizTypes/chartTypes.d.ts +1 -0
  749. package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
  750. package/oj-c/utils/PRIVATE_chartUtils/axisUtils.js +1 -0
  751. package/oj-c/utils/PRIVATE_toggleUtils/index.js +7 -0
  752. package/oj-c/utils/PRIVATE_toggleUtils/toggle-item-icon.js +14 -0
  753. package/oj-c/utils/PRIVATE_toggleUtils/toggleTypes.js +4 -0
  754. package/oj-c/utils/PRIVATE_toggleUtils/widthStyle.js +19 -0
  755. package/oj-c/utils/UNSAFE_keyUtils/keySetUtils.js +21 -1
  756. package/oj-c/utils/UNSAFE_vizUtils/TemplateHandler.js +15 -3
  757. package/package.json +4 -4
  758. package/webdriver/docs/assets/navigation.js +1 -1
  759. package/webdriver/docs/assets/search.js +1 -1
  760. package/webdriver/docs/classes/ActionCardWebElement.html +1 -1
  761. package/webdriver/docs/classes/AreaChartWebElement.html +6 -2
  762. package/webdriver/docs/classes/AvatarWebElement.html +1 -1
  763. package/webdriver/docs/classes/ButtonWebElement.html +1 -1
  764. package/webdriver/docs/classes/ButtonsetMultipleWebElement.html +143 -0
  765. package/webdriver/docs/classes/ButtonsetSingleWebElement.html +143 -0
  766. package/webdriver/docs/classes/CardViewWebElement.html +150 -0
  767. package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
  768. package/webdriver/docs/classes/CheckboxsetWebElement.html +1 -1
  769. package/webdriver/docs/classes/CollapsibleWebElement.html +2 -2
  770. package/webdriver/docs/classes/ConveyorBeltWebElement.html +122 -0
  771. package/webdriver/docs/classes/DatePickerWebElement.html +143 -0
  772. package/webdriver/docs/classes/DrawerLayoutWebElement.html +139 -0
  773. package/webdriver/docs/classes/DrawerPopupWebElement.html +1 -1
  774. package/webdriver/docs/classes/FilePickerWebElement.html +10 -1
  775. package/webdriver/docs/classes/FormLayoutWebElement.html +1 -1
  776. package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
  777. package/webdriver/docs/classes/InputDateMaskWebElement.html +1 -1
  778. package/webdriver/docs/classes/InputDatePickerWebElement.html +231 -0
  779. package/webdriver/docs/classes/InputDateTextWebElement.html +2 -5
  780. package/webdriver/docs/classes/InputMonthMaskWebElement.html +1 -1
  781. package/webdriver/docs/classes/InputNumberWebElement.html +2 -5
  782. package/webdriver/docs/classes/InputPasswordWebElement.html +2 -5
  783. package/webdriver/docs/classes/InputSensitiveTextWebElement.html +1 -1
  784. package/webdriver/docs/classes/InputTextWebElement.html +1 -1
  785. package/webdriver/docs/classes/LabelledLinkWebElement.html +1 -1
  786. package/webdriver/docs/classes/LegendWebElement.html +1 -1
  787. package/webdriver/docs/classes/LineChartWebElement.html +6 -2
  788. package/webdriver/docs/classes/ListItemLayoutWebElement.html +13 -9
  789. package/webdriver/docs/classes/ListViewWebElement.html +13 -5
  790. package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
  791. package/webdriver/docs/classes/MessageBannerWebElement.html +6 -2
  792. package/webdriver/docs/classes/MessageToastWebElement.html +1 -1
  793. package/webdriver/docs/classes/MeterBarWebElement.html +1 -1
  794. package/webdriver/docs/classes/MeterCircleWebElement.html +1 -1
  795. package/webdriver/docs/classes/PopupWebElement.html +171 -0
  796. package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
  797. package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
  798. package/webdriver/docs/classes/RadiosetWebElement.html +1 -1
  799. package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
  800. package/webdriver/docs/classes/SelectMultipleWebElement.html +7 -6
  801. package/webdriver/docs/classes/SelectSingleWebElement.html +7 -6
  802. package/webdriver/docs/classes/SelectionCardWebElement.html +1 -1
  803. package/webdriver/docs/classes/SelectorAllWebElement.html +1 -1
  804. package/webdriver/docs/classes/SelectorWebElement.html +1 -1
  805. package/webdriver/docs/classes/SplitMenuButtonWebElement.html +3 -3
  806. package/webdriver/docs/classes/TabBarMixedWebElement.html +1 -1
  807. package/webdriver/docs/classes/TabBarWebElement.html +135 -0
  808. package/webdriver/docs/classes/TagCloudWebElement.html +1 -1
  809. package/webdriver/docs/classes/TextAreaWebElement.html +2 -5
  810. package/webdriver/docs/classes/ToggleButtonWebElement.html +139 -0
  811. package/webdriver/docs/functions/findActionCard.html +1 -1
  812. package/webdriver/docs/functions/findAreaChart.html +1 -1
  813. package/webdriver/docs/functions/findAvatar.html +1 -1
  814. package/webdriver/docs/functions/findButton.html +1 -1
  815. package/webdriver/docs/functions/findButtonsetMultiple.html +8 -0
  816. package/webdriver/docs/functions/findButtonsetSingle.html +8 -0
  817. package/webdriver/docs/functions/findCardView.html +8 -0
  818. package/webdriver/docs/functions/findCheckbox.html +1 -1
  819. package/webdriver/docs/functions/findCheckboxset.html +1 -1
  820. package/webdriver/docs/functions/findCollapsible.html +1 -1
  821. package/webdriver/docs/functions/findConveyorBelt.html +8 -0
  822. package/webdriver/docs/functions/findDatePicker.html +8 -0
  823. package/webdriver/docs/functions/findDrawerLayout.html +8 -0
  824. package/webdriver/docs/functions/findDrawerPopup.html +1 -1
  825. package/webdriver/docs/functions/findFilePicker.html +1 -1
  826. package/webdriver/docs/functions/findFormLayout.html +1 -1
  827. package/webdriver/docs/functions/findHighlightText.html +1 -1
  828. package/webdriver/docs/functions/findInputDateMask.html +1 -1
  829. package/webdriver/docs/functions/findInputDatePicker.html +8 -0
  830. package/webdriver/docs/functions/findInputDateText.html +1 -1
  831. package/webdriver/docs/functions/findInputMonthMask.html +1 -1
  832. package/webdriver/docs/functions/findInputNumber.html +1 -1
  833. package/webdriver/docs/functions/findInputPassword.html +1 -1
  834. package/webdriver/docs/functions/findInputSensitiveText.html +1 -1
  835. package/webdriver/docs/functions/findInputText.html +1 -1
  836. package/webdriver/docs/functions/findLabelledLink.html +1 -1
  837. package/webdriver/docs/functions/findLegend.html +1 -1
  838. package/webdriver/docs/functions/findLineChart.html +1 -1
  839. package/webdriver/docs/functions/findListItemLayout.html +1 -1
  840. package/webdriver/docs/functions/findListView.html +1 -1
  841. package/webdriver/docs/functions/findMenuButton.html +1 -1
  842. package/webdriver/docs/functions/findMessageBanner.html +1 -1
  843. package/webdriver/docs/functions/findMessageToast.html +1 -1
  844. package/webdriver/docs/functions/findMeterBar.html +1 -1
  845. package/webdriver/docs/functions/findMeterCircle.html +1 -1
  846. package/webdriver/docs/functions/findPopup.html +8 -0
  847. package/webdriver/docs/functions/findProgressBar.html +1 -1
  848. package/webdriver/docs/functions/findProgressCircle.html +1 -1
  849. package/webdriver/docs/functions/findRadioset.html +1 -1
  850. package/webdriver/docs/functions/findRatingGauge.html +1 -1
  851. package/webdriver/docs/functions/findSelectMultiple.html +1 -1
  852. package/webdriver/docs/functions/findSelectSingle.html +1 -1
  853. package/webdriver/docs/functions/findSelectionCard.html +1 -1
  854. package/webdriver/docs/functions/findSelector.html +1 -1
  855. package/webdriver/docs/functions/findSelectorAll.html +1 -1
  856. package/webdriver/docs/functions/findSplitMenuButton.html +1 -1
  857. package/webdriver/docs/functions/findTabBar.html +8 -0
  858. package/webdriver/docs/functions/findTabBarMixed.html +1 -1
  859. package/webdriver/docs/functions/findTagCloud.html +1 -1
  860. package/webdriver/docs/functions/findTextArea.html +1 -1
  861. package/webdriver/docs/functions/findToggleButton.html +8 -0
  862. package/webdriver/docs/index.html +1 -1
  863. package/webdriver/docs/modules.html +21 -1
  864. package/webdriver/index.d.ts +10 -0
  865. package/webdriver/index.js +10 -0
  866. package/webdriver/index.js.map +1 -1
  867. package/webdriver/index.ts +11 -1
  868. package/oj-c/docs/action-card.html +0 -249
  869. package/oj-c/docs/area-chart-group.html +0 -249
  870. package/oj-c/docs/area-chart-item.html +0 -249
  871. package/oj-c/docs/area-chart-series.html +0 -249
  872. package/oj-c/docs/area-chart.html +0 -249
  873. package/oj-c/docs/avatar.html +0 -249
  874. package/oj-c/docs/button.html +0 -249
  875. package/oj-c/docs/checkbox.html +0 -249
  876. package/oj-c/docs/checkboxset.html +0 -249
  877. package/oj-c/docs/collapsible.html +0 -249
  878. package/oj-c/docs/drawer-popup.html +0 -249
  879. package/oj-c/docs/file-picker.html +0 -249
  880. package/oj-c/docs/form-layout.html +0 -249
  881. package/oj-c/docs/highlight-text.html +0 -249
  882. package/oj-c/docs/index.html +0 -247
  883. package/oj-c/docs/input-date-mask.html +0 -249
  884. package/oj-c/docs/input-date-text.html +0 -249
  885. package/oj-c/docs/input-month-mask.html +0 -249
  886. package/oj-c/docs/input-number.html +0 -249
  887. package/oj-c/docs/input-password.html +0 -249
  888. package/oj-c/docs/input-sensitive-text.html +0 -249
  889. package/oj-c/docs/input-text.html +0 -249
  890. package/oj-c/docs/jsDocMd.json +0 -1
  891. package/oj-c/docs/labelled-link.html +0 -249
  892. package/oj-c/docs/legend-item.html +0 -249
  893. package/oj-c/docs/legend-section.html +0 -249
  894. package/oj-c/docs/legend.html +0 -249
  895. package/oj-c/docs/line-chart-group.html +0 -249
  896. package/oj-c/docs/line-chart-item.html +0 -249
  897. package/oj-c/docs/line-chart-series.html +0 -249
  898. package/oj-c/docs/line-chart.html +0 -249
  899. package/oj-c/docs/list-item-layout.html +0 -249
  900. package/oj-c/docs/list-view.html +0 -249
  901. package/oj-c/docs/menu-button.html +0 -249
  902. package/oj-c/docs/message-banner.html +0 -249
  903. package/oj-c/docs/message-toast.html +0 -249
  904. package/oj-c/docs/meter-bar.html +0 -249
  905. package/oj-c/docs/meter-circle.html +0 -249
  906. package/oj-c/docs/oj-c.ActionCard.html +0 -1045
  907. package/oj-c/docs/oj-c.AreaChart.html +0 -9396
  908. package/oj-c/docs/oj-c.AreaChartGroup.html +0 -610
  909. package/oj-c/docs/oj-c.AreaChartItem.html +0 -1104
  910. package/oj-c/docs/oj-c.AreaChartSeries.html +0 -1044
  911. package/oj-c/docs/oj-c.Avatar.html +0 -1907
  912. package/oj-c/docs/oj-c.Button.html +0 -2301
  913. package/oj-c/docs/oj-c.Checkbox.html +0 -3493
  914. package/oj-c/docs/oj-c.Checkboxset.html +0 -4589
  915. package/oj-c/docs/oj-c.Collapsible.html +0 -2064
  916. package/oj-c/docs/oj-c.DrawerPopup.html +0 -1631
  917. package/oj-c/docs/oj-c.FilePicker.html +0 -2664
  918. package/oj-c/docs/oj-c.FormLayout.html +0 -2159
  919. package/oj-c/docs/oj-c.HighlightText.html +0 -1078
  920. package/oj-c/docs/oj-c.InputDateMask.html +0 -5271
  921. package/oj-c/docs/oj-c.InputDateText.html +0 -5534
  922. package/oj-c/docs/oj-c.InputMonthMask.html +0 -5940
  923. package/oj-c/docs/oj-c.InputNumber.html +0 -6369
  924. package/oj-c/docs/oj-c.InputPassword.html +0 -5261
  925. package/oj-c/docs/oj-c.InputSensitiveText.html +0 -5723
  926. package/oj-c/docs/oj-c.InputText.html +0 -6124
  927. package/oj-c/docs/oj-c.LabelledLink.html +0 -2552
  928. package/oj-c/docs/oj-c.Legend.html +0 -5146
  929. package/oj-c/docs/oj-c.LegendItem.html +0 -1493
  930. package/oj-c/docs/oj-c.LegendSection.html +0 -460
  931. package/oj-c/docs/oj-c.LineChart.html +0 -9491
  932. package/oj-c/docs/oj-c.LineChartGroup.html +0 -610
  933. package/oj-c/docs/oj-c.LineChartItem.html +0 -1104
  934. package/oj-c/docs/oj-c.LineChartSeries.html +0 -1168
  935. package/oj-c/docs/oj-c.ListItemLayout.html +0 -1680
  936. package/oj-c/docs/oj-c.ListView.html +0 -2733
  937. package/oj-c/docs/oj-c.MenuButton.html +0 -2444
  938. package/oj-c/docs/oj-c.MessageBanner.html +0 -2107
  939. package/oj-c/docs/oj-c.MessageToast.html +0 -2254
  940. package/oj-c/docs/oj-c.MeterBar.html +0 -3308
  941. package/oj-c/docs/oj-c.MeterCircle.html +0 -3845
  942. package/oj-c/docs/oj-c.ProgressBar.html +0 -1250
  943. package/oj-c/docs/oj-c.ProgressCircle.html +0 -1266
  944. package/oj-c/docs/oj-c.Radioset.html +0 -4585
  945. package/oj-c/docs/oj-c.RatingGauge.html +0 -2738
  946. package/oj-c/docs/oj-c.SelectMultiple.html +0 -5381
  947. package/oj-c/docs/oj-c.SelectSingle.html +0 -5691
  948. package/oj-c/docs/oj-c.Selector.html +0 -1363
  949. package/oj-c/docs/oj-c.SelectorAll.html +0 -1128
  950. package/oj-c/docs/oj-c.SplitMenuButton.html +0 -1990
  951. package/oj-c/docs/oj-c.TabBarMixed.html +0 -2660
  952. package/oj-c/docs/oj-c.TagCloud.html +0 -2441
  953. package/oj-c/docs/oj-c.TagCloudItem.html +0 -794
  954. package/oj-c/docs/oj-c.TextArea.html +0 -5809
  955. package/oj-c/docs/progress-bar.html +0 -249
  956. package/oj-c/docs/progress-circle.html +0 -249
  957. package/oj-c/docs/radioset.html +0 -249
  958. package/oj-c/docs/rating-gauge.html +0 -249
  959. package/oj-c/docs/scripts/deprecated.js +0 -268
  960. package/oj-c/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  961. package/oj-c/docs/scripts/prettify/lang-css.js +0 -9
  962. package/oj-c/docs/scripts/prettify/prettify.js +0 -35
  963. package/oj-c/docs/select-multiple.html +0 -249
  964. package/oj-c/docs/select-single.html +0 -249
  965. package/oj-c/docs/selection-card.html +0 -249
  966. package/oj-c/docs/selector-all.html +0 -249
  967. package/oj-c/docs/selector.html +0 -249
  968. package/oj-c/docs/split-menu-button.html +0 -249
  969. package/oj-c/docs/styles/images/bookmark.png +0 -0
  970. package/oj-c/docs/styles/images/linesarrowup.png +0 -0
  971. package/oj-c/docs/styles/images/linesarrowup_blue.png +0 -0
  972. package/oj-c/docs/styles/images/linesarrowup_hov.png +0 -0
  973. package/oj-c/docs/styles/images/linesarrowup_white.png +0 -0
  974. package/oj-c/docs/styles/images/oracle_logo_sm.png +0 -0
  975. package/oj-c/docs/styles/jsdoc-default.css +0 -851
  976. package/oj-c/docs/styles/prettify-jsdoc.css +0 -111
  977. package/oj-c/docs/styles/prettify-tomorrow.css +0 -132
  978. package/oj-c/docs/tab-bar-mixed.html +0 -249
  979. package/oj-c/docs/tag-cloud-item.html +0 -249
  980. package/oj-c/docs/tag-cloud.html +0 -249
  981. package/oj-c/docs/text-area.html +0 -249
  982. package/oj-c/editable-value/UNSAFE_useConverterObject/useConverterObject.js +0 -42
  983. package/oj-c/editable-value/UNSAFE_useEditableValueRawValueObject/useEditableValueRawValueObject.js +0 -147
  984. package/oj-c/editable-value/UNSAFE_useValueRawValueObject/useValueRawValueObject.js +0 -40
  985. package/oj-c/editable-value/UNSAFE_useValueRawValueObjectLifecycle/useValueRawValueObjectLifecycle.js +0 -27
  986. package/oj-c/min/editable-value/UNSAFE_useConverterObject/useConverterObject.js +0 -42
  987. package/oj-c/min/editable-value/UNSAFE_useEditableValueRawValueObject/useEditableValueRawValueObject.js +0 -147
  988. package/oj-c/min/editable-value/UNSAFE_useValueRawValueObject/useValueRawValueObject.js +0 -40
  989. package/oj-c/min/editable-value/UNSAFE_useValueRawValueObjectLifecycle/useValueRawValueObjectLifecycle.js +0 -27
  990. package/oj-c/types/editable-value/UNSAFE_useConverterObject/useConverterObject.d.ts +0 -15
  991. package/oj-c/types/editable-value/UNSAFE_useEditableValueRawValueObject/useEditableValueRawValueObject.d.ts +0 -49
  992. package/oj-c/types/editable-value/UNSAFE_useValueRawValueObject/useValueRawValueObject.d.ts +0 -23
  993. package/oj-c/types/editable-value/UNSAFE_useValueRawValueObjectLifecycle/useValueRawValueObjectLifecycle.d.ts +0 -9
@@ -0,0 +1,29 @@
1
+ define(["require", "exports", "preact/hooks", "./DateRangeValidator"], function (require, exports, hooks_1, DateRangeValidator_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.useImplicitDateRangeValidator = void 0;
5
+ const useImplicitDateRangeValidator = ({ converter, defaultRangeOverflowMessageDetailFn, defaultRangeUnderflowMessageDetailFn, dateRangeOverflowMessageDetail, dateRangeUnderflowMessageDetail, formatObj, max, min }) => (0, hooks_1.useMemo)(() => {
6
+ if (!min && !max)
7
+ return undefined;
8
+ return new DateRangeValidator_1.DateRangeValidator({
9
+ converter,
10
+ defaultRangeOverflowMessageDetailFn,
11
+ defaultRangeUnderflowMessageDetailFn,
12
+ dateRangeOverflowMessageDetail,
13
+ dateRangeUnderflowMessageDetail,
14
+ formatObj,
15
+ max,
16
+ min
17
+ });
18
+ }, [
19
+ converter,
20
+ defaultRangeOverflowMessageDetailFn,
21
+ defaultRangeUnderflowMessageDetailFn,
22
+ dateRangeOverflowMessageDetail,
23
+ dateRangeUnderflowMessageDetail,
24
+ formatObj,
25
+ max,
26
+ min
27
+ ]);
28
+ exports.useImplicitDateRangeValidator = useImplicitDateRangeValidator;
29
+ });
@@ -0,0 +1,16 @@
1
+ define(["require", "exports", "preact/hooks", "./DateRestrictionValidator"], function (require, exports, hooks_1, DateRestrictionValidator_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.useImplicitDateRestrictionValidator = void 0;
5
+ const useImplicitDateRestrictionValidator = ({ converter, dateRestrictionMessageDetail, dayFormatter, defaultRestrictionMessageDetail }) => (0, hooks_1.useMemo)(() => {
6
+ if (!dayFormatter)
7
+ return undefined;
8
+ return new DateRestrictionValidator_1.DateRestrictionValidator({
9
+ converter,
10
+ dateRestrictionMessageDetail,
11
+ dayFormatter,
12
+ defaultRestrictionMessageDetail
13
+ });
14
+ }, [converter, dateRestrictionMessageDetail, dayFormatter, defaultRestrictionMessageDetail]);
15
+ exports.useImplicitDateRestrictionValidator = useImplicitDateRestrictionValidator;
16
+ });
@@ -0,0 +1,141 @@
1
+ define(["require", "exports", "@oracle/oraclejet-preact/UNSAFE_IntlDateTime", "@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle", "@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils", "@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout", "oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText", "oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext", "oj-c/input-date-mask/useInputDateMaskPreact", "preact/hooks", "./useCombinedImplicitValidators", "./useImplicitCalendarDateConverter", "./useImplicitDateRangeValidator", "./useImplicitDateRestrictionValidator", "./utils", "ojs/ojcontext", "ojs/ojconfig"], function (require, exports, UNSAFE_IntlDateTime_1, UNSAFE_useFormVariantContext_1, UNSAFE_useTranslationBundle_1, UNSAFE_calendarDateUtils_1, Layout_1, useAssistiveText_1, useMergedFormContext_1, useInputDateMaskPreact_1, hooks_1, useCombinedImplicitValidators_1, useImplicitCalendarDateConverter_1, useImplicitDateRangeValidator_1, useImplicitDateRestrictionValidator_1, utils_1, Context, ojconfig_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.useInputDatePicker = void 0;
5
+ const useInputDatePicker = (props, ref) => {
6
+ assertProps(props);
7
+ const translations = (0, UNSAFE_useTranslationBundle_1.useTranslationBundle)('@oracle/oraclejet-preact');
8
+ const rootRef = (0, hooks_1.useRef)(null);
9
+ const inputDatePickerRef = (0, hooks_1.useRef)();
10
+ const addBusyState = (0, hooks_1.useCallback)((description = 'InputDatePicker: busyState') => {
11
+ return rootRef.current
12
+ ? Context.getContext(rootRef.current).getBusyContext().addBusyState({ description })
13
+ : () => { };
14
+ }, []);
15
+ const { containerProps: formContextValue, readonlyValue: mergedReadonly, uadValue: mergedUserAssistanceDensity } = (0, useMergedFormContext_1.useMergedFormContext)({
16
+ propContainerReadonly: props.containerReadonly,
17
+ propLabelWrapping: props.labelWrapping,
18
+ propReadonly: props.readonly,
19
+ propUserAssistanceDensity: props.userAssistanceDensity
20
+ });
21
+ const variant = (0, UNSAFE_useFormVariantContext_1.useFormVariantContext)();
22
+ const implicitConverter = (0, useImplicitCalendarDateConverter_1.useImplicitCalendarDateConverter)({
23
+ calendarDateConverter_parseErrorFn: translations.calendarDateConverter_parseError
24
+ });
25
+ const { max: maxCalendarDate, min: minCalendarDate } = useMinMax({
26
+ converter: implicitConverter,
27
+ max: props.max,
28
+ min: props.min
29
+ });
30
+ if (maxCalendarDate)
31
+ (0, utils_1.assertCompleteDate)(maxCalendarDate);
32
+ if (minCalendarDate)
33
+ (0, utils_1.assertCompleteDate)(minCalendarDate);
34
+ const masksFromUserPref = (0, hooks_1.useMemo)(() => {
35
+ return (0, useInputDateMaskPreact_1.getMasksFromDatePatternPreferences)();
36
+ }, []);
37
+ const exampleFormatter = (0, hooks_1.useMemo)(() => {
38
+ return {
39
+ format: (value) => {
40
+ return (0, UNSAFE_calendarDateUtils_1.formatIsoDateStrAsExample)((0, ojconfig_1.getLocale)(), value, masksFromUserPref);
41
+ }
42
+ };
43
+ }, [masksFromUserPref]);
44
+ const implicitDateRestrictionValidator = (0, useImplicitDateRestrictionValidator_1.useImplicitDateRestrictionValidator)({
45
+ converter: implicitConverter,
46
+ dateRestrictionMessageDetail: props.dateRestrictionMessageDetail,
47
+ dayFormatter: props.dayFormatter,
48
+ defaultRestrictionMessageDetail: translations.inputDatePicker_dateRestrictionMessageDetail
49
+ });
50
+ const implicitDateRangeValidator = (0, useImplicitDateRangeValidator_1.useImplicitDateRangeValidator)({
51
+ converter: implicitConverter,
52
+ dateRangeOverflowMessageDetail: props.dateRangeOverflowMessageDetail,
53
+ dateRangeUnderflowMessageDetail: props.dateRangeUnderflowMessageDetail,
54
+ defaultRangeOverflowMessageDetailFn: translations.inputDatePicker_dateRangeOverflowMessageDetail,
55
+ defaultRangeUnderflowMessageDetailFn: translations.inputDatePicker_dateRangeUnderflowMessageDetail,
56
+ formatObj: exampleFormatter,
57
+ max: maxCalendarDate,
58
+ min: minCalendarDate
59
+ });
60
+ const implicitValidator = (0, useCombinedImplicitValidators_1.useCombinedImplicitValidators)(implicitDateRangeValidator, implicitDateRestrictionValidator);
61
+ const mergedValidators = (0, hooks_1.useMemo)(() => [implicitValidator, ...(props.validators ?? [])], [implicitValidator, props.validators]);
62
+ const { inputDateMaskProps, methods } = (0, useInputDateMaskPreact_1.useInputDateMaskPreact)({
63
+ ...props,
64
+ readonly: mergedReadonly,
65
+ validators: mergedValidators,
66
+ userAssistanceDensity: mergedUserAssistanceDensity,
67
+ dateRangeOverflowMessageDetail: undefined,
68
+ dateRangeUnderflowMessageDetail: undefined,
69
+ max: undefined,
70
+ min: undefined
71
+ }, addBusyState);
72
+ const { assistiveText, helpSourceLink, helpSourceText } = (0, useAssistiveText_1.useAssistiveText)({
73
+ addBusyState,
74
+ displayOptions: props.displayOptions,
75
+ help: props.help,
76
+ helpHints: props.helpHints,
77
+ userAssistanceDensity: inputDateMaskProps.userAssistanceDensity,
78
+ validators: props.validators ?? []
79
+ });
80
+ (0, hooks_1.useImperativeHandle)(ref, () => ({
81
+ blur: () => inputDatePickerRef.current?.blur(),
82
+ focus: () => inputDatePickerRef.current?.focus(),
83
+ ...methods
84
+ }), [methods]);
85
+ return {
86
+ formContextValue,
87
+ inputDatePickerProps: {
88
+ 'aria-describedby': inputDateMaskProps['aria-describedby'],
89
+ assistiveText: assistiveText,
90
+ dayFormatter: props.dayFormatter,
91
+ daysOutsideMonth: props.daysOutsideMonth,
92
+ helpSourceLink: helpSourceLink,
93
+ helpSourceText: helpSourceText,
94
+ isDisabled: inputDateMaskProps.isDisabled,
95
+ isReadonly: inputDateMaskProps.isReadonly,
96
+ isRequired: inputDateMaskProps.isRequired,
97
+ isRequiredShown: inputDateMaskProps.isRequiredShown,
98
+ label: inputDateMaskProps.label,
99
+ labelEdge: inputDateMaskProps.labelEdge,
100
+ labelStartWidth: inputDateMaskProps.labelStartWidth,
101
+ masks: inputDateMaskProps.masks,
102
+ max: maxCalendarDate,
103
+ messages: inputDateMaskProps.messages,
104
+ min: minCalendarDate,
105
+ monthAndYearPicker: props.monthAndYearPicker,
106
+ onCommit: inputDateMaskProps.onCommit,
107
+ onInput: inputDateMaskProps.onInput,
108
+ ref: inputDatePickerRef,
109
+ textAlign: inputDateMaskProps.textAlign,
110
+ todayTimeZone: props.todayTimeZone,
111
+ todayButton: props.todayButton,
112
+ userAssistanceDensity: inputDateMaskProps.userAssistanceDensity,
113
+ value: inputDateMaskProps.value,
114
+ variant: variant
115
+ },
116
+ rootProps: {
117
+ id: props.id,
118
+ class: Layout_1.layoutSpanStyles.layoutSpanColumn[props.columnSpan ?? 1],
119
+ ref: rootRef
120
+ }
121
+ };
122
+ };
123
+ exports.useInputDatePicker = useInputDatePicker;
124
+ const assertProps = (props) => {
125
+ if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(props.value)) {
126
+ throw new Error(`InputDatePicker - value must be a date-only ISO string: ${props.value}`);
127
+ }
128
+ if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(props.min)) {
129
+ throw new Error(`InputDatePicker - min must be a date-only ISO string: ${props.min}`);
130
+ }
131
+ if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(props.max)) {
132
+ throw new Error(`InputDatePicker - max must be a date-only ISO string: ${props.max}`);
133
+ }
134
+ };
135
+ const useMinMax = ({ converter, max, min }) => {
136
+ return (0, hooks_1.useMemo)(() => ({
137
+ max: max ? converter.format(max) : undefined,
138
+ min: min ? converter.format(min) : undefined
139
+ }), [converter, max, min]);
140
+ };
141
+ });
@@ -0,0 +1,23 @@
1
+ define(["require", "exports", "@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils"], function (require, exports, UNSAFE_calendarDateUtils_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.assertCompleteDate = exports.compareCalendarDates = void 0;
5
+ const compareCalendarDates = (val1, val2) => {
6
+ if (val1.year === val2.year && val1.month === val2.month && val1.day === val2.day) {
7
+ return 0;
8
+ }
9
+ if (val1.year === val2.year) {
10
+ if (val1.month === val2.month) {
11
+ return val1.day > val2.day ? 1 : -1;
12
+ }
13
+ return val1.month > val2.month ? 1 : -1;
14
+ }
15
+ return val1.year > val2.year ? 1 : -1;
16
+ };
17
+ exports.compareCalendarDates = compareCalendarDates;
18
+ const assertCompleteDate = (date) => {
19
+ if (!(0, UNSAFE_calendarDateUtils_1.isCompleteCalendarDate)(date))
20
+ throw new Error('DateRestrictionValidator: Expected full date, but received partial date');
21
+ };
22
+ exports.assertCompleteDate = assertCompleteDate;
23
+ });
@@ -0,0 +1,6 @@
1
+ define(["require", "exports", "oj-c/input-date-picker/input-date-picker"], function (require, exports, input_date_picker_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputDatePicker = void 0;
5
+ Object.defineProperty(exports, "InputDatePicker", { enumerable: true, get: function () { return input_date_picker_1.InputDatePicker; } });
6
+ });
@@ -153,13 +153,6 @@ export declare class InputDateTextWebElementBase extends OjWebElement {
153
153
  *
154
154
  */
155
155
  getTextAlign(): Promise<string>;
156
- /**
157
- * Gets the value of <code>unsafe_labelledBy</code> property.
158
- *
159
- * @return The value of <code>unsafe_labelledBy</code> property.
160
- *
161
- */
162
- getUnsafeLabelledBy(): Promise<string>;
163
156
  /**
164
157
  * Gets the value of <code>userAssistanceDensity</code> property.
165
158
  * Specifies the density of the form component's user assistance presentation.
@@ -198,15 +198,6 @@ class InputDateTextWebElementBase extends elements_1.OjWebElement {
198
198
  getTextAlign() {
199
199
  return this.getProperty('textAlign');
200
200
  }
201
- /**
202
- * Gets the value of <code>unsafe_labelledBy</code> property.
203
- *
204
- * @return The value of <code>unsafe_labelledBy</code> property.
205
- *
206
- */
207
- getUnsafeLabelledBy() {
208
- return this.getProperty('unsafe_labelledBy');
209
- }
210
201
  /**
211
202
  * Gets the value of <code>userAssistanceDensity</code> property.
212
203
  * Specifies the density of the form component's user assistance presentation.
@@ -1 +1 @@
1
- {"version":3,"file":"InputDateTextWebElementBase.js","sourceRoot":"","sources":["InputDateTextWebElementBase.ts"],"names":[],"mappings":"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","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-text 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, InputDateTextWebElement.ts.\n */\nexport class InputDateTextWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>autocomplete</code> property.\n * Dictates component's autocomplete state\n * @return The value of <code>autocomplete</code> property.\n *\n */\n public getAutocomplete(): Promise<string> {\n return this.getProperty<string>('autocomplete');\n }\n\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>unsafe_labelledBy</code> property.\n *\n * @return The value of <code>unsafe_labelledBy</code> property.\n *\n */\n public getUnsafeLabelledBy(): Promise<string> {\n return this.getProperty<string>('unsafe_labelledBy');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<string> {\n return this.getProperty<string>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n converterHint: string;\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\n"]}
1
+ {"version":3,"file":"InputDateTextWebElementBase.js","sourceRoot":"","sources":["InputDateTextWebElementBase.ts"],"names":[],"mappings":"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","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-text 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, InputDateTextWebElement.ts.\n */\nexport class InputDateTextWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>autocomplete</code> property.\n * Dictates component's autocomplete state\n * @return The value of <code>autocomplete</code> property.\n *\n */\n public getAutocomplete(): Promise<string> {\n return this.getProperty<string>('autocomplete');\n }\n\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<string> {\n return this.getProperty<string>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n converterHint: string;\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "input-date-text",
3
- "version": "16.1.4",
4
- "jetVersion": "^16.1.4",
3
+ "version": "17.0.0",
4
+ "jetVersion": "^17.0.0",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "dependencyScope": "runtime",
@@ -10,9 +10,15 @@
10
10
  "CInputDateTextElement"
11
11
  ],
12
12
  "displayName": "InputDateText",
13
- "description": "An input date text field allows a user to enter a date value. Input date text fields should have labels that explicitly identify the input as a date.",
13
+ "description": "An input date text allows the user to enter a date value.",
14
14
  "help": "oj-c.InputDateText.html",
15
15
  "main": "oj-c/input-date-text",
16
+ "status": [
17
+ {
18
+ "type": "candidate",
19
+ "since": "17.0.0"
20
+ }
21
+ ],
16
22
  "extension": {
17
23
  "catalog": {
18
24
  "category": "Forms"
@@ -23,7 +29,13 @@
23
29
  "minColumns": 2
24
30
  },
25
31
  "oracle": {
26
- "icon": "oj-ux-ico-date"
32
+ "icon": "oj-ux-ico-date",
33
+ "uxSpecs": [
34
+ "input-date-text"
35
+ ]
36
+ },
37
+ "webelement": {
38
+ "docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1700/cpwdtsdoc/classes/InputDateTextWebElement.html"
27
39
  }
28
40
  },
29
41
  "propertyLayout": [
@@ -91,7 +103,8 @@
91
103
  "parse": {
92
104
  "type": "function"
93
105
  }
94
- }
106
+ },
107
+ "value": null
95
108
  },
96
109
  "dateRangeOverflowMessageDetail": {
97
110
  "type": "string",
@@ -308,8 +321,7 @@
308
321
  "consume": {
309
322
  "name": "containerReadonly"
310
323
  }
311
- },
312
- "value": false
324
+ }
313
325
  },
314
326
  "required": {
315
327
  "type": "boolean",
@@ -350,9 +362,6 @@
350
362
  "right"
351
363
  ]
352
364
  },
353
- "unsafe_labelledBy": {
354
- "type": "string"
355
- },
356
365
  "userAssistanceDensity": {
357
366
  "type": "string",
358
367
  "description": "Specifies the density of the form component's user assistance presentation.",
@@ -381,8 +390,7 @@
381
390
  "consume": {
382
391
  "name": "containerUserAssistanceDensity"
383
392
  }
384
- },
385
- "value": "reflow"
393
+ }
386
394
  },
387
395
  "validators": {
388
396
  "type": "Array<object>|null",
@@ -442,21 +450,26 @@
442
450
  }
443
451
  },
444
452
  "methods": {
445
- "reset": {
446
- "return": "any"
453
+ "blur": {
454
+ "description": "Blurs the date field.",
455
+ "return": "void"
456
+ },
457
+ "focus": {
458
+ "description": "Focuses the date field.",
459
+ "return": "void"
447
460
  },
448
461
  "showMessages": {
449
- "return": "any"
462
+ "description": "Takes all deferred messages and shows them.",
463
+ "return": "void"
464
+ },
465
+ "reset": {
466
+ "description": "Resets the component by clearing all messages and updating the component's display value using the attribute value.",
467
+ "return": "void"
450
468
  },
451
469
  "validate": {
470
+ "description": "If enabled, validates the component's display value using the converter and all validators registered on the component. The Promise resolves to 'valid' if there were no converter parse errors and the component passed all validations, or if the component is disabled or readonly.",
452
471
  "return": "Promise"
453
472
  },
454
- "blur": {
455
- "return": "any"
456
- },
457
- "focus": {
458
- "return": "any"
459
- },
460
473
  "setProperty": {
461
474
  "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
462
475
  "help": "#setProperty",
@@ -1,22 +1,50 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/hooks/UNSAFE_useAccessibleContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "@oracle/oraclejet-preact/UNSAFE_InputText", "oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText", "ojs/ojcontext", "ojs/ojvcomponent", "ojs/ojvcomponent-binding", "preact", "preact/compat", "preact/hooks", "./useInputDateTextPreact", "@oracle/oraclejet-preact/UNSAFE_IntlDateTime", "@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout", "css!oj-c/input-date-text/input-date-text-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_useAccessibleContext_1, UNSAFE_useFormContext_1, UNSAFE_useFormVariantContext_1, UNSAFE_useTabbableMode_1, UNSAFE_InputText_1, useAssistiveText_1, Context, ojvcomponent_1, ojvcomponent_binding_1, preact_1, compat_1, hooks_1, useInputDateTextPreact_1, UNSAFE_IntlDateTime_1, Layout_1) {
1
+ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext", "oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "@oracle/oraclejet-preact/UNSAFE_InputText", "oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText", "ojs/ojcontext", "ojs/ojvcomponent", "preact/compat", "preact/hooks", "./useInputDateTextPreact", "@oracle/oraclejet-preact/UNSAFE_IntlDateTime", "@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout", "css!oj-c/input-date-text/input-date-text-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_useFormContext_1, useMergedFormContext_1, UNSAFE_useFormVariantContext_1, UNSAFE_useTabbableMode_1, UNSAFE_InputText_1, useAssistiveText_1, Context, ojvcomponent_1, compat_1, hooks_1, useInputDateTextPreact_1, UNSAFE_IntlDateTime_1, Layout_1) {
8
2
  "use strict";
9
3
  Object.defineProperty(exports, "__esModule", { value: true });
10
4
  exports.InputDateText = void 0;
11
- const FunctionalInputDateText = (0, compat_1.forwardRef)((props, ref) => {
12
- const { busyContextRef, converter, displayOptions, help, helpHints, validators } = props;
5
+ const displayOptionsDefault = {
6
+ messages: 'display',
7
+ converterHint: 'display',
8
+ validatorHint: 'display'
9
+ };
10
+ const helpDefault = {
11
+ instruction: ''
12
+ };
13
+ const helpHintsDefault = {
14
+ definition: '',
15
+ source: ''
16
+ };
17
+ const messagesCustomDefault = [];
18
+ const validatorsDefault = [];
19
+ const InputDateTextImpl = ({ autocomplete = 'on', columnSpan = 1, containerReadonly: propContainerReadonly, converter = null, disabled = false, displayOptions = displayOptionsDefault, help = helpDefault, helpHints = helpHintsDefault, id, labelWrapping: propLabelWrapping, messagesCustom = messagesCustomDefault, readonly: propReadonly, required = false, userAssistanceDensity: propUserAssistanceDensity, validators = validatorsDefault, value = null, ...otherProps }, ref) => {
20
+ const rootRef = (0, hooks_1.useRef)();
13
21
  const inputDateTextRef = (0, hooks_1.useRef)();
14
- const addBusyState = (0, hooks_1.useCallback)((desc) => {
15
- return busyContextRef.current?.addBusyState({
16
- description: `oj-c-input-date-text id=${props.id} is ${desc}`
17
- });
18
- }, []);
19
- const { inputTextProps, methods } = (0, useInputDateTextPreact_1.useInputDateTextPreact)(props, addBusyState);
22
+ const addBusyState = (0, hooks_1.useCallback)((desc = 'InputDateText: busyState') => {
23
+ return rootRef.current
24
+ ? Context.getContext(rootRef.current)
25
+ .getBusyContext()
26
+ .addBusyState({ description: `oj-c-input-date-text id=${id} is ${desc}` })
27
+ : () => { };
28
+ }, [id]);
29
+ const { containerProps, uadValue, readonlyValue } = (0, useMergedFormContext_1.useMergedFormContext)({
30
+ propContainerReadonly,
31
+ propLabelWrapping,
32
+ propReadonly,
33
+ propUserAssistanceDensity
34
+ });
35
+ const { inputTextProps, methods } = (0, useInputDateTextPreact_1.useInputDateTextPreact)({
36
+ autocomplete,
37
+ converter,
38
+ disabled,
39
+ displayOptions,
40
+ messagesCustom,
41
+ readonly: readonlyValue,
42
+ required,
43
+ userAssistanceDensity: uadValue,
44
+ validators,
45
+ value,
46
+ ...otherProps
47
+ }, addBusyState);
20
48
  (0, hooks_1.useImperativeHandle)(ref, () => ({
21
49
  blur: () => inputDateTextRef.current?.blur(),
22
50
  focus: () => inputDateTextRef.current?.focus(),
@@ -31,88 +59,18 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
31
59
  validators
32
60
  });
33
61
  const variant = (0, UNSAFE_useFormVariantContext_1.useFormVariantContext)();
34
- return ((0, jsx_runtime_1.jsx)(UNSAFE_InputText_1.InputText, { ref: inputDateTextRef, ...assistiveTextProps, ...inputTextProps, variant: variant }));
35
- });
36
- let InputDateText = class InputDateText extends preact_1.Component {
37
- constructor() {
38
- super(...arguments);
39
- this.busyContextRef = (0, preact_1.createRef)();
40
- this.inputDateTextRef = (0, preact_1.createRef)();
41
- this.rootRef = (0, preact_1.createRef)();
42
- }
43
- componentDidMount() {
44
- this.busyContextRef.current = Context.getContext(this.rootRef.current).getBusyContext();
62
+ if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(value)) {
63
+ throw new Error('value must be a date-only ISO string');
45
64
  }
46
- render({ columnSpan, ...props }) {
47
- const containerProps = {
48
- isFormLayout: props.containerReadonly !== undefined,
49
- isReadonly: props.containerReadonly,
50
- labelWrapping: props.labelWrapping
51
- };
52
- if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(props.value)) {
53
- throw new Error('value must be a date-only ISO string');
54
- }
55
- if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(props.min)) {
56
- throw new Error('min must be a date-only ISO string');
57
- }
58
- if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(props.max)) {
59
- throw new Error('max must be a date-only ISO string');
60
- }
61
- const accessibleProps = {
62
- UNSAFE_ariaLabelledBy: props.unsafe_labelledBy
63
- };
64
- return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { id: props.id, ref: this.rootRef, class: columnSpan ? Layout_1.layoutSpanStyles.layoutSpanColumn[columnSpan] : '', children: (0, jsx_runtime_1.jsx)(UNSAFE_useFormContext_1.FormContext.Provider, { value: containerProps, children: (0, jsx_runtime_1.jsx)(UNSAFE_useAccessibleContext_1.AccessibleContext.Provider, { value: accessibleProps, children: (0, jsx_runtime_1.jsx)(FunctionalInputDateText, { busyContextRef: this.busyContextRef, ref: this.inputDateTextRef, ...props }) }) }) }));
65
+ if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(otherProps.min)) {
66
+ throw new Error('min must be a date-only ISO string');
65
67
  }
66
- componentWillUnmount() {
67
- this.busyContextRef.current = null;
68
+ if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(otherProps.max)) {
69
+ throw new Error('max must be a date-only ISO string');
68
70
  }
69
- reset() {
70
- this.inputDateTextRef.current?.reset();
71
- }
72
- showMessages() {
73
- this.inputDateTextRef.current?.showMessages();
74
- }
75
- validate() {
76
- return this.inputDateTextRef.current?.validate();
77
- }
78
- blur() {
79
- this.inputDateTextRef.current?.blur();
80
- }
81
- focus() {
82
- this.inputDateTextRef.current?.focus();
83
- }
84
- };
85
- exports.InputDateText = InputDateText;
86
- InputDateText.defaultProps = {
87
- autocomplete: 'on',
88
- columnSpan: 1,
89
- disabled: false,
90
- displayOptions: {
91
- converterHint: 'display',
92
- messages: 'display',
93
- validatorHint: 'display'
94
- },
95
- help: {
96
- instruction: ''
97
- },
98
- helpHints: {
99
- definition: '',
100
- source: '',
101
- sourceText: undefined
102
- },
103
- messagesCustom: [],
104
- readonly: false,
105
- required: false,
106
- userAssistanceDensity: 'reflow',
107
- validators: [],
108
- value: null
71
+ return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { id: id, ref: rootRef, class: Layout_1.layoutSpanStyles.layoutSpanColumn[columnSpan], children: (0, jsx_runtime_1.jsx)(UNSAFE_useFormContext_1.FormContext.Provider, { value: containerProps, children: (0, jsx_runtime_1.jsx)(UNSAFE_InputText_1.InputText, { ref: inputDateTextRef, ...assistiveTextProps, ...inputTextProps, variant: variant }) }) }));
109
72
  };
110
- InputDateText._metadata = { "properties": { "autocomplete": { "type": "string" }, "columnSpan": { "type": "number" }, "containerReadonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "converter": { "type": "object|null", "properties": { "format": { "type": "function" }, "parse": { "type": "function" } } }, "dateRangeOverflowMessageDetail": { "type": "string" }, "dateRangeUnderflowMessageDetail": { "type": "string" }, "disabled": { "type": "boolean" }, "displayOptions": { "type": "object", "properties": { "converterHint": { "type": "string", "enumValues": ["none", "display"] }, "messages": { "type": "string", "enumValues": ["none", "display"] }, "validatorHint": { "type": "string", "enumValues": ["none", "display"] } } }, "help": { "type": "object", "properties": { "instruction": { "type": "string" } } }, "helpHints": { "type": "object", "properties": { "definition": { "type": "string" }, "source": { "type": "string" }, "sourceText": { "type": "string" } } }, "labelEdge": { "type": "string", "enumValues": ["none", "start", "top", "inside"], "binding": { "consume": { "name": "containerLabelEdge" } } }, "labelHint": { "type": "string" }, "labelStartWidth": { "type": "number|string", "binding": { "consume": { "name": "labelWidth" } } }, "labelWrapping": { "type": "string", "enumValues": ["truncate", "wrap"], "binding": { "consume": { "name": "labelWrapping" } } }, "max": { "type": "string|null" }, "messagesCustom": { "type": "Array<object>", "writeback": true }, "min": { "type": "string|null" }, "readonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "required": { "type": "boolean" }, "requiredMessageDetail": { "type": "string" }, "textAlign": { "type": "string", "enumValues": ["end", "start", "right"] }, "unsafe_labelledBy": { "type": "string" }, "userAssistanceDensity": { "type": "string", "enumValues": ["compact", "reflow", "efficient"], "binding": { "consume": { "name": "containerUserAssistanceDensity" } } }, "validators": { "type": "Array<object>|null" }, "value": { "type": "string|null", "writeback": true }, "rawValue": { "type": "string", "readOnly": true, "writeback": true }, "valid": { "type": "string", "enumValues": ["pending", "valid", "invalidHidden", "invalidShown"], "readOnly": true, "writeback": true } }, "extension": { "_WRITEBACK_PROPS": ["messagesCustom", "rawValue", "valid", "value"], "_READ_ONLY_PROPS": ["rawValue", "valid"], "_OBSERVED_GLOBAL_PROPS": ["aria-describedby", "id", "autofocus"] }, "methods": { "reset": {}, "showMessages": {}, "validate": {}, "blur": {}, "focus": {} } };
111
- InputDateText._translationBundleMap = {
73
+ exports.InputDateText = (0, ojvcomponent_1.registerCustomElement)('oj-c-input-date-text', (0, compat_1.forwardRef)(InputDateTextImpl), "InputDateText", { "properties": { "autocomplete": { "type": "string" }, "columnSpan": { "type": "number" }, "containerReadonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "converter": { "type": "object|null", "properties": { "format": { "type": "function" }, "parse": { "type": "function" } } }, "dateRangeOverflowMessageDetail": { "type": "string" }, "dateRangeUnderflowMessageDetail": { "type": "string" }, "disabled": { "type": "boolean" }, "displayOptions": { "type": "object", "properties": { "converterHint": { "type": "string", "enumValues": ["none", "display"] }, "messages": { "type": "string", "enumValues": ["none", "display"] }, "validatorHint": { "type": "string", "enumValues": ["none", "display"] } } }, "help": { "type": "object", "properties": { "instruction": { "type": "string" } } }, "helpHints": { "type": "object", "properties": { "definition": { "type": "string" }, "source": { "type": "string" }, "sourceText": { "type": "string" } } }, "labelEdge": { "type": "string", "enumValues": ["none", "start", "top", "inside"], "binding": { "consume": { "name": "containerLabelEdge" } } }, "labelHint": { "type": "string" }, "labelStartWidth": { "type": "number|string", "binding": { "consume": { "name": "labelWidth" } } }, "labelWrapping": { "type": "string", "enumValues": ["truncate", "wrap"], "binding": { "consume": { "name": "labelWrapping" } } }, "max": { "type": "string|null" }, "messagesCustom": { "type": "Array<object>", "writeback": true }, "min": { "type": "string|null" }, "readonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "required": { "type": "boolean" }, "requiredMessageDetail": { "type": "string" }, "textAlign": { "type": "string", "enumValues": ["end", "start", "right"] }, "userAssistanceDensity": { "type": "string", "enumValues": ["compact", "reflow", "efficient"], "binding": { "consume": { "name": "containerUserAssistanceDensity" } } }, "validators": { "type": "Array<object>|null" }, "value": { "type": "string|null", "writeback": true }, "rawValue": { "type": "string", "readOnly": true, "writeback": true }, "valid": { "type": "string", "enumValues": ["pending", "valid", "invalidHidden", "invalidShown"], "readOnly": true, "writeback": true } }, "extension": { "_WRITEBACK_PROPS": ["messagesCustom", "rawValue", "valid", "value"], "_READ_ONLY_PROPS": ["rawValue", "valid"], "_OBSERVED_GLOBAL_PROPS": ["aria-describedby", "id", "autofocus"] }, "methods": { "blur": {}, "focus": {}, "showMessages": {}, "reset": {}, "validate": {} } }, { "autocomplete": "on", "columnSpan": 1, "converter": null, "disabled": false, "displayOptions": { "messages": "display", "converterHint": "display", "validatorHint": "display" }, "help": { "instruction": "" }, "helpHints": { "definition": "", "source": "" }, "messagesCustom": [], "required": false, "validators": [], "value": null }, {
112
74
  '@oracle/oraclejet-preact': translationBundle_1.default
113
- };
114
- InputDateText._consumedContexts = [UNSAFE_useFormVariantContext_1.FormVariantContext, UNSAFE_useTabbableMode_1.TabbableModeContext];
115
- exports.InputDateText = InputDateText = __decorate([
116
- (0, ojvcomponent_1.customElement)('oj-c-input-date-text')
117
- ], InputDateText);
75
+ }, { consume: [UNSAFE_useFormVariantContext_1.FormVariantContext, UNSAFE_useTabbableMode_1.TabbableModeContext] });
118
76
  });