@oracle/oraclejet-core-pack 16.0.6 → 16.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/oj-c/ActionCard.json +6 -6
  2. package/oj-c/AreaChart.json +458 -1546
  3. package/oj-c/AreaChartGroup.json +8 -7
  4. package/oj-c/AreaChartItem.json +35 -16
  5. package/oj-c/AreaChartSeries.json +15 -14
  6. package/oj-c/Avatar.json +10 -10
  7. package/oj-c/Button.json +19 -19
  8. package/oj-c/Checkbox.json +29 -29
  9. package/oj-c/Checkboxset.json +35 -35
  10. package/oj-c/Collapsible.json +14 -14
  11. package/oj-c/DrawerPopup.json +12 -12
  12. package/oj-c/FilePicker.json +20 -20
  13. package/oj-c/FormLayout.json +15 -15
  14. package/oj-c/HighlightText.json +6 -6
  15. package/oj-c/InputDateMask.json +75 -75
  16. package/oj-c/InputDateText.json +44 -44
  17. package/oj-c/InputMonthMask.json +1402 -0
  18. package/oj-c/InputNumber.json +51 -51
  19. package/oj-c/InputPassword.json +42 -42
  20. package/oj-c/InputSensitiveText.json +1420 -0
  21. package/oj-c/InputText.json +48 -48
  22. package/oj-c/LabelledLink.json +21 -21
  23. package/oj-c/Legend.json +36 -36
  24. package/oj-c/LegendItem.json +20 -15
  25. package/oj-c/LegendSection.json +6 -5
  26. package/oj-c/LineChart.json +459 -1546
  27. package/oj-c/LineChartGroup.json +8 -7
  28. package/oj-c/LineChartItem.json +35 -16
  29. package/oj-c/LineChartSeries.json +17 -16
  30. package/oj-c/ListItemLayout.json +16 -16
  31. package/oj-c/ListView.json +18 -18
  32. package/oj-c/MenuButton.json +21 -21
  33. package/oj-c/MessageBanner.json +11 -11
  34. package/oj-c/MessageToast.json +13 -13
  35. package/oj-c/MeterBar.json +26 -26
  36. package/oj-c/MeterCircle.json +30 -30
  37. package/oj-c/ProgressBar.json +7 -7
  38. package/oj-c/ProgressCircle.json +7 -7
  39. package/oj-c/Radioset.json +35 -35
  40. package/oj-c/RatingGauge.json +21 -21
  41. package/oj-c/SelectMultiple.json +41 -41
  42. package/oj-c/SelectSingle.json +45 -45
  43. package/oj-c/SelectionCard.json +6 -6
  44. package/oj-c/Selector.json +8 -8
  45. package/oj-c/SelectorAll.json +25 -5
  46. package/oj-c/SplitMenuButton.json +60 -17
  47. package/oj-c/TabBarMixed.json +606 -0
  48. package/oj-c/TagCloud.json +18 -18
  49. package/oj-c/TagCloudItem.json +11 -10
  50. package/oj-c/TextArea.json +45 -45
  51. package/oj-c/action-card/component.json +2 -2
  52. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +175 -38
  53. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +16 -7
  54. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
  55. package/oj-c/area-chart/area-chart.js +4 -4
  56. package/oj-c/area-chart/component.json +552 -770
  57. package/oj-c/area-chart-group/area-chart-group.js +1 -1
  58. package/oj-c/area-chart-group/component.json +4 -3
  59. package/oj-c/area-chart-item/area-chart-item.js +1 -1
  60. package/oj-c/area-chart-item/component.json +10 -4
  61. package/oj-c/area-chart-series/area-chart-series.js +1 -1
  62. package/oj-c/area-chart-series/component.json +4 -3
  63. package/oj-c/avatar/component.json +2 -2
  64. package/oj-c/button/button.js +7 -7
  65. package/oj-c/button/component.json +2 -2
  66. package/oj-c/checkbox/component.json +2 -2
  67. package/oj-c/checkboxset/component.json +2 -2
  68. package/oj-c/collapsible/component.json +2 -2
  69. package/oj-c/component.json +15 -3
  70. package/oj-c/corepackbundle.js +883 -353
  71. package/oj-c/docs/action-card.html +59 -50
  72. package/oj-c/docs/area-chart-group.html +59 -50
  73. package/oj-c/docs/area-chart-item.html +59 -50
  74. package/oj-c/docs/area-chart-series.html +59 -50
  75. package/oj-c/docs/area-chart.html +59 -50
  76. package/oj-c/docs/avatar.html +59 -50
  77. package/oj-c/docs/button.html +59 -50
  78. package/oj-c/docs/checkbox.html +59 -50
  79. package/oj-c/docs/checkboxset.html +59 -50
  80. package/oj-c/docs/collapsible.html +59 -50
  81. package/oj-c/docs/drawer-popup.html +59 -50
  82. package/oj-c/docs/file-picker.html +59 -50
  83. package/oj-c/docs/form-layout.html +59 -50
  84. package/oj-c/docs/highlight-text.html +59 -50
  85. package/oj-c/docs/index.html +59 -50
  86. package/oj-c/docs/input-date-mask.html +59 -50
  87. package/oj-c/docs/input-date-text.html +59 -50
  88. package/oj-c/docs/input-month-mask.html +249 -0
  89. package/oj-c/docs/input-number.html +59 -50
  90. package/oj-c/docs/input-password.html +59 -50
  91. package/oj-c/docs/input-sensitive-text.html +249 -0
  92. package/oj-c/docs/input-text.html +59 -50
  93. package/oj-c/docs/jsDocMd.json +1 -1
  94. package/oj-c/docs/labelled-link.html +59 -50
  95. package/oj-c/docs/legend-item.html +59 -50
  96. package/oj-c/docs/legend-section.html +59 -50
  97. package/oj-c/docs/legend.html +59 -50
  98. package/oj-c/docs/line-chart-group.html +59 -50
  99. package/oj-c/docs/line-chart-item.html +59 -50
  100. package/oj-c/docs/line-chart-series.html +59 -50
  101. package/oj-c/docs/line-chart.html +59 -50
  102. package/oj-c/docs/list-item-layout.html +59 -50
  103. package/oj-c/docs/list-view.html +59 -50
  104. package/oj-c/docs/menu-button.html +59 -50
  105. package/oj-c/docs/message-banner.html +59 -50
  106. package/oj-c/docs/message-toast.html +59 -50
  107. package/oj-c/docs/meter-bar.html +59 -50
  108. package/oj-c/docs/meter-circle.html +59 -50
  109. package/oj-c/docs/oj-c.ActionCard.html +60 -51
  110. package/oj-c/docs/oj-c.AreaChart.html +1452 -214
  111. package/oj-c/docs/oj-c.AreaChartGroup.html +63 -51
  112. package/oj-c/docs/oj-c.AreaChartItem.html +125 -54
  113. package/oj-c/docs/oj-c.AreaChartSeries.html +63 -51
  114. package/oj-c/docs/oj-c.Avatar.html +60 -51
  115. package/oj-c/docs/oj-c.Button.html +60 -51
  116. package/oj-c/docs/oj-c.Checkbox.html +60 -51
  117. package/oj-c/docs/oj-c.Checkboxset.html +60 -51
  118. package/oj-c/docs/oj-c.Collapsible.html +60 -51
  119. package/oj-c/docs/oj-c.DrawerPopup.html +60 -51
  120. package/oj-c/docs/oj-c.FilePicker.html +60 -51
  121. package/oj-c/docs/oj-c.FormLayout.html +60 -51
  122. package/oj-c/docs/oj-c.HighlightText.html +60 -51
  123. package/oj-c/docs/oj-c.InputDateMask.html +81 -64
  124. package/oj-c/docs/oj-c.InputDateText.html +60 -51
  125. package/oj-c/docs/oj-c.InputMonthMask.html +5940 -0
  126. package/oj-c/docs/oj-c.InputNumber.html +60 -51
  127. package/oj-c/docs/oj-c.InputPassword.html +80 -62
  128. package/oj-c/docs/oj-c.InputSensitiveText.html +5723 -0
  129. package/oj-c/docs/oj-c.InputText.html +60 -51
  130. package/oj-c/docs/oj-c.LabelledLink.html +60 -51
  131. package/oj-c/docs/oj-c.Legend.html +60 -51
  132. package/oj-c/docs/oj-c.LegendItem.html +75 -51
  133. package/oj-c/docs/oj-c.LegendSection.html +63 -51
  134. package/oj-c/docs/oj-c.LineChart.html +1455 -217
  135. package/oj-c/docs/oj-c.LineChartGroup.html +63 -51
  136. package/oj-c/docs/oj-c.LineChartItem.html +125 -54
  137. package/oj-c/docs/oj-c.LineChartSeries.html +63 -51
  138. package/oj-c/docs/oj-c.ListItemLayout.html +60 -51
  139. package/oj-c/docs/oj-c.ListView.html +60 -51
  140. package/oj-c/docs/oj-c.MenuButton.html +60 -51
  141. package/oj-c/docs/oj-c.MessageBanner.html +60 -51
  142. package/oj-c/docs/oj-c.MessageToast.html +60 -51
  143. package/oj-c/docs/oj-c.MeterBar.html +60 -51
  144. package/oj-c/docs/oj-c.MeterCircle.html +60 -51
  145. package/oj-c/docs/oj-c.ProgressBar.html +60 -51
  146. package/oj-c/docs/oj-c.ProgressCircle.html +60 -51
  147. package/oj-c/docs/oj-c.Radioset.html +60 -51
  148. package/oj-c/docs/oj-c.RatingGauge.html +60 -51
  149. package/oj-c/docs/oj-c.SelectMultiple.html +60 -51
  150. package/oj-c/docs/oj-c.SelectSingle.html +60 -51
  151. package/oj-c/docs/oj-c.Selector.html +60 -51
  152. package/oj-c/docs/oj-c.SelectorAll.html +149 -52
  153. package/oj-c/docs/oj-c.SplitMenuButton.html +299 -52
  154. package/oj-c/docs/oj-c.TabBarMixed.html +2660 -0
  155. package/oj-c/docs/oj-c.TagCloud.html +60 -51
  156. package/oj-c/docs/oj-c.TagCloudItem.html +63 -51
  157. package/oj-c/docs/oj-c.TextArea.html +60 -51
  158. package/oj-c/docs/progress-bar.html +59 -50
  159. package/oj-c/docs/progress-circle.html +59 -50
  160. package/oj-c/docs/radioset.html +59 -50
  161. package/oj-c/docs/rating-gauge.html +59 -50
  162. package/oj-c/docs/select-multiple.html +59 -50
  163. package/oj-c/docs/select-single.html +59 -50
  164. package/oj-c/docs/selection-card.html +59 -50
  165. package/oj-c/docs/selector-all.html +59 -50
  166. package/oj-c/docs/selector.html +59 -50
  167. package/oj-c/docs/split-menu-button.html +59 -50
  168. package/oj-c/docs/tab-bar-mixed.html +249 -0
  169. package/oj-c/docs/tag-cloud-item.html +59 -50
  170. package/oj-c/docs/tag-cloud.html +59 -50
  171. package/oj-c/docs/text-area.html +59 -50
  172. package/oj-c/drawer-popup/component.json +2 -2
  173. package/oj-c/file-picker/component.json +2 -2
  174. package/oj-c/form-layout/component.json +2 -2
  175. package/oj-c/highlight-text/component.json +2 -2
  176. package/oj-c/hooks/UNSAFE_useListData/useListData.js +5 -2
  177. package/oj-c/input-date-mask/component.json +17 -15
  178. package/oj-c/input-date-mask/input-date-mask.js +45 -88
  179. package/oj-c/input-date-text/component.json +3 -6
  180. package/oj-c/input-month-mask/CalendarMonthConverter.js +32 -0
  181. package/oj-c/input-month-mask/CalendarMonthRangeValidator.js +56 -0
  182. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.d.ts +16 -0
  183. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js +23 -0
  184. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js.map +1 -0
  185. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.d.ts +275 -0
  186. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js +248 -0
  187. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js.map +1 -0
  188. package/oj-c/input-month-mask/__webdriver__/index.d.ts +17 -0
  189. package/oj-c/input-month-mask/__webdriver__/index.js +34 -0
  190. package/oj-c/input-month-mask/__webdriver__/index.js.map +1 -0
  191. package/oj-c/input-month-mask/component.json +493 -0
  192. package/oj-c/input-month-mask/index.js +6 -0
  193. package/oj-c/input-month-mask/input-month-mask-styles.css +14 -0
  194. package/oj-c/input-month-mask/input-month-mask.js +69 -0
  195. package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +26 -0
  196. package/oj-c/input-month-mask/useInputMonthMaskPreact.js +88 -0
  197. package/oj-c/input-month-mask.js +6 -0
  198. package/oj-c/input-number/component.json +2 -2
  199. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +1 -1
  200. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +1 -1
  201. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
  202. package/oj-c/input-password/component.json +5 -5
  203. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.d.ts +17 -0
  204. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js +50 -0
  205. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js.map +1 -0
  206. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.d.ts +259 -0
  207. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js +266 -0
  208. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js.map +1 -0
  209. package/oj-c/input-sensitive-text/__webdriver__/index.d.ts +17 -0
  210. package/oj-c/input-sensitive-text/__webdriver__/index.js +34 -0
  211. package/oj-c/input-sensitive-text/__webdriver__/index.js.map +1 -0
  212. package/oj-c/input-sensitive-text/component.json +574 -0
  213. package/oj-c/input-sensitive-text/index.js +6 -0
  214. package/oj-c/input-sensitive-text/input-sensitive-text-styles.css +13 -0
  215. package/oj-c/input-sensitive-text/input-sensitive-text.js +74 -0
  216. package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +52 -0
  217. package/oj-c/input-sensitive-text.js +6 -0
  218. package/oj-c/input-text/component.json +2 -2
  219. package/oj-c/labelled-link/component.json +2 -2
  220. package/oj-c/legend/component.json +2 -2
  221. package/oj-c/legend/legend-styles.css +1 -0
  222. package/oj-c/legend-item/component.json +12 -7
  223. package/oj-c/legend-item/legend-item.js +1 -1
  224. package/oj-c/legend-section/component.json +4 -3
  225. package/oj-c/legend-section/legend-section.js +1 -1
  226. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +172 -35
  227. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +13 -4
  228. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
  229. package/oj-c/line-chart/component.json +558 -775
  230. package/oj-c/line-chart/line-chart.js +4 -4
  231. package/oj-c/line-chart-group/component.json +4 -3
  232. package/oj-c/line-chart-group/line-chart-group.js +1 -1
  233. package/oj-c/line-chart-item/component.json +11 -5
  234. package/oj-c/line-chart-item/line-chart-item.js +1 -1
  235. package/oj-c/line-chart-series/component.json +4 -3
  236. package/oj-c/line-chart-series/line-chart-series.js +1 -1
  237. package/oj-c/list-item-layout/component.json +2 -2
  238. package/oj-c/list-view/component.json +2 -2
  239. package/oj-c/menu-button/component.json +2 -2
  240. package/oj-c/menu-button/menu-button.js +2 -2
  241. package/oj-c/message-banner/component.json +2 -2
  242. package/oj-c/message-toast/component.json +2 -2
  243. package/oj-c/metadata/allComponents.json +3619 -2700
  244. package/oj-c/meter-bar/component.json +2 -2
  245. package/oj-c/meter-circle/component.json +2 -2
  246. package/oj-c/min/area-chart-group.js +1 -1
  247. package/oj-c/min/area-chart-group.js.map +1 -1
  248. package/oj-c/min/area-chart-item.js +1 -1
  249. package/oj-c/min/area-chart-item.js.map +1 -1
  250. package/oj-c/min/area-chart-series.js +1 -1
  251. package/oj-c/min/area-chart-series.js.map +1 -1
  252. package/oj-c/min/area-chart.js +1 -1
  253. package/oj-c/min/area-chart.js.map +1 -1
  254. package/oj-c/min/button.js +1 -1
  255. package/oj-c/min/button.js.map +1 -1
  256. package/oj-c/min/corepackbundle.css +28 -1
  257. package/oj-c/min/corepackbundle.js +1 -1
  258. package/oj-c/min/corepackbundle.js.map +1 -1
  259. package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +5 -2
  260. package/oj-c/min/input-date-mask.js +1 -1
  261. package/oj-c/min/input-date-mask.js.map +1 -1
  262. package/oj-c/min/input-month-mask/input-month-mask-styles.css +14 -0
  263. package/oj-c/min/input-month-mask.js +2 -0
  264. package/oj-c/min/input-month-mask.js.map +1 -0
  265. package/oj-c/min/input-sensitive-text/input-sensitive-text-styles.css +13 -0
  266. package/oj-c/min/input-sensitive-text.js +2 -0
  267. package/oj-c/min/input-sensitive-text.js.map +1 -0
  268. package/oj-c/min/legend/legend-styles.css +1 -0
  269. package/oj-c/min/legend-item.js +1 -1
  270. package/oj-c/min/legend-item.js.map +1 -1
  271. package/oj-c/min/legend-section.js +1 -1
  272. package/oj-c/min/legend-section.js.map +1 -1
  273. package/oj-c/min/legend.js +1 -1
  274. package/oj-c/min/legend.js.map +1 -1
  275. package/oj-c/min/line-chart-group.js +1 -1
  276. package/oj-c/min/line-chart-group.js.map +1 -1
  277. package/oj-c/min/line-chart-item.js +1 -1
  278. package/oj-c/min/line-chart-item.js.map +1 -1
  279. package/oj-c/min/line-chart-series.js +1 -1
  280. package/oj-c/min/line-chart-series.js.map +1 -1
  281. package/oj-c/min/line-chart.js +1 -1
  282. package/oj-c/min/line-chart.js.map +1 -1
  283. package/oj-c/min/list-view.js +1 -1
  284. package/oj-c/min/list-view.js.map +1 -1
  285. package/oj-c/min/menu-button.js +1 -1
  286. package/oj-c/min/menu-button.js.map +1 -1
  287. package/oj-c/min/select-multiple.js +2 -2
  288. package/oj-c/min/select-multiple.js.map +1 -1
  289. package/oj-c/min/select-single.js +2 -2
  290. package/oj-c/min/select-single.js.map +1 -1
  291. package/oj-c/min/selector-all.js +1 -1
  292. package/oj-c/min/selector-all.js.map +1 -1
  293. package/oj-c/min/split-menu-button.js +1 -1
  294. package/oj-c/min/split-menu-button.js.map +1 -1
  295. package/oj-c/min/tab-bar-mixed/tab-bar-mixed-styles.css +11 -0
  296. package/oj-c/min/tab-bar-mixed.js +2 -0
  297. package/oj-c/min/tab-bar-mixed.js.map +1 -0
  298. package/oj-c/min/tag-cloud-item.js +1 -1
  299. package/oj-c/min/tag-cloud-item.js.map +1 -1
  300. package/oj-c/min/tag-cloud.js +1 -1
  301. package/oj-c/min/tag-cloud.js.map +1 -1
  302. package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
  303. package/oj-c/min/utils/PRIVATE_chartUtils/axisUtils.js +24 -0
  304. package/oj-c/progress-bar/component.json +2 -2
  305. package/oj-c/progress-circle/component.json +2 -2
  306. package/oj-c/radioset/component.json +2 -2
  307. package/oj-c/rating-gauge/component.json +2 -2
  308. package/oj-c/select-multiple/component.json +2 -2
  309. package/oj-c/select-single/component.json +2 -2
  310. package/oj-c/selection-card/component.json +2 -2
  311. package/oj-c/selector/component.json +2 -2
  312. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.d.ts +7 -0
  313. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +9 -0
  314. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -1
  315. package/oj-c/selector-all/component.json +12 -2
  316. package/oj-c/selector-all/selector-all.js +3 -3
  317. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.d.ts +1 -1
  318. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +1 -1
  319. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
  320. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.d.ts +7 -0
  321. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +9 -0
  322. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
  323. package/oj-c/split-menu-button/component.json +21 -2
  324. package/oj-c/split-menu-button/split-menu-button.js +18 -27
  325. package/oj-c/tab-bar-mixed/DataTabBarMixed.js +43 -0
  326. package/oj-c/tab-bar-mixed/DataTabBarMixed.types.js +4 -0
  327. package/oj-c/tab-bar-mixed/DataTabBarMixedIcon.js +16 -0
  328. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_ConveyorBelt.js +10 -0
  329. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_TabBarMixed.js +34 -0
  330. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.d.ts +8 -0
  331. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +13 -0
  332. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -0
  333. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.d.ts +116 -0
  334. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js +95 -0
  335. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js.map +1 -0
  336. package/oj-c/tab-bar-mixed/__webdriver__/index.d.ts +17 -0
  337. package/oj-c/tab-bar-mixed/__webdriver__/index.js +34 -0
  338. package/oj-c/tab-bar-mixed/__webdriver__/index.js.map +1 -0
  339. package/oj-c/tab-bar-mixed/component.json +236 -0
  340. package/oj-c/tab-bar-mixed/environment.js +13 -0
  341. package/oj-c/tab-bar-mixed/index.js +6 -0
  342. package/oj-c/tab-bar-mixed/sumBadge.js +23 -0
  343. package/oj-c/tab-bar-mixed/tab-bar-mixed-styles.css +11 -0
  344. package/oj-c/tab-bar-mixed/tab-bar-mixed.js +39 -0
  345. package/oj-c/tab-bar-mixed.js +6 -0
  346. package/oj-c/tag-cloud/component.json +2 -2
  347. package/oj-c/tag-cloud-item/component.json +4 -3
  348. package/oj-c/tag-cloud-item/tag-cloud-item.js +1 -1
  349. package/oj-c/text-area/component.json +2 -2
  350. package/oj-c/types/area-chart/area-chart.d.ts +7 -2
  351. package/oj-c/types/area-chart-item/area-chart-item.d.ts +5 -0
  352. package/oj-c/types/input-date-mask/input-date-mask.d.ts +15 -20
  353. package/oj-c/types/input-month-mask/CalendarMonthConverter.d.ts +19 -0
  354. package/oj-c/types/input-month-mask/CalendarMonthRangeValidator.d.ts +34 -0
  355. package/oj-c/types/input-month-mask/index.d.ts +2 -0
  356. package/oj-c/types/input-month-mask/input-month-mask.d.ts +184 -0
  357. package/oj-c/types/input-month-mask/useImplicitCalendarMonthRangeValidator.d.ts +13 -0
  358. package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +39 -0
  359. package/oj-c/types/input-number/useImplicitNumberConverter.d.ts +1 -1
  360. package/oj-c/types/input-sensitive-text/index.d.ts +2 -0
  361. package/oj-c/types/input-sensitive-text/input-sensitive-text.d.ts +199 -0
  362. package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +41 -0
  363. package/oj-c/types/line-chart/line-chart.d.ts +7 -2
  364. package/oj-c/types/line-chart-item/line-chart-item.d.ts +5 -0
  365. package/oj-c/types/selector-all/selector-all.d.ts +10 -3
  366. package/oj-c/types/split-menu-button/index.d.ts +1 -1
  367. package/oj-c/types/split-menu-button/split-menu-button.d.ts +18 -14
  368. package/oj-c/types/tab-bar-mixed/DataTabBarMixed.d.ts +2 -0
  369. package/oj-c/types/tab-bar-mixed/DataTabBarMixed.types.d.ts +27 -0
  370. package/oj-c/types/tab-bar-mixed/DataTabBarMixedIcon.d.ts +12 -0
  371. package/oj-c/types/tab-bar-mixed/environment.d.ts +1 -0
  372. package/oj-c/types/tab-bar-mixed/index.d.ts +2 -0
  373. package/oj-c/types/tab-bar-mixed/sumBadge.d.ts +6 -0
  374. package/oj-c/types/tab-bar-mixed/tab-bar-mixed.d.ts +104 -0
  375. package/oj-c/types/utils/PRIVATE_ItemsMenu/index.d.ts +1 -1
  376. package/oj-c/types/utils/PRIVATE_ItemsMenu/items-menu.d.ts +3 -2
  377. package/oj-c/types/utils/PRIVATE_chartUtils/axisUtils.d.ts +3 -0
  378. package/oj-c/types/utils/UNSAFE_vizTypes/chartTypes.d.ts +55 -19
  379. package/oj-c/types/utils/UNSAFE_vizTypes/index.d.ts +1 -0
  380. package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
  381. package/oj-c/utils/PRIVATE_chartUtils/axisUtils.js +24 -0
  382. package/package.json +4 -4
  383. package/webdriver/docs/assets/navigation.js +1 -1
  384. package/webdriver/docs/assets/search.js +1 -1
  385. package/webdriver/docs/classes/ActionCardWebElement.html +1 -1
  386. package/webdriver/docs/classes/AreaChartWebElement.html +19 -8
  387. package/webdriver/docs/classes/AvatarWebElement.html +1 -1
  388. package/webdriver/docs/classes/ButtonWebElement.html +1 -1
  389. package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
  390. package/webdriver/docs/classes/CheckboxsetWebElement.html +1 -1
  391. package/webdriver/docs/classes/CollapsibleWebElement.html +1 -1
  392. package/webdriver/docs/classes/DrawerPopupWebElement.html +1 -1
  393. package/webdriver/docs/classes/FilePickerWebElement.html +1 -1
  394. package/webdriver/docs/classes/FormLayoutWebElement.html +1 -1
  395. package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
  396. package/webdriver/docs/classes/InputDateMaskWebElement.html +1 -1
  397. package/webdriver/docs/classes/InputDateTextWebElement.html +1 -1
  398. package/webdriver/docs/classes/InputMonthMaskWebElement.html +211 -0
  399. package/webdriver/docs/classes/InputNumberWebElement.html +1 -1
  400. package/webdriver/docs/classes/InputPasswordWebElement.html +2 -2
  401. package/webdriver/docs/classes/InputSensitiveTextWebElement.html +215 -0
  402. package/webdriver/docs/classes/InputTextWebElement.html +1 -1
  403. package/webdriver/docs/classes/LabelledLinkWebElement.html +1 -1
  404. package/webdriver/docs/classes/LegendWebElement.html +1 -1
  405. package/webdriver/docs/classes/LineChartWebElement.html +12 -6
  406. package/webdriver/docs/classes/ListItemLayoutWebElement.html +1 -1
  407. package/webdriver/docs/classes/ListViewWebElement.html +1 -1
  408. package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
  409. package/webdriver/docs/classes/MessageBannerWebElement.html +1 -1
  410. package/webdriver/docs/classes/MessageToastWebElement.html +1 -1
  411. package/webdriver/docs/classes/MeterBarWebElement.html +1 -1
  412. package/webdriver/docs/classes/MeterCircleWebElement.html +1 -1
  413. package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
  414. package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
  415. package/webdriver/docs/classes/RadiosetWebElement.html +1 -1
  416. package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
  417. package/webdriver/docs/classes/SelectMultipleWebElement.html +1 -1
  418. package/webdriver/docs/classes/SelectSingleWebElement.html +1 -1
  419. package/webdriver/docs/classes/SelectionCardWebElement.html +1 -1
  420. package/webdriver/docs/classes/SelectorAllWebElement.html +6 -2
  421. package/webdriver/docs/classes/SelectorWebElement.html +1 -1
  422. package/webdriver/docs/classes/SplitMenuButtonWebElement.html +7 -3
  423. package/webdriver/docs/classes/TabBarMixedWebElement.html +139 -0
  424. package/webdriver/docs/classes/TagCloudWebElement.html +1 -1
  425. package/webdriver/docs/classes/TextAreaWebElement.html +1 -1
  426. package/webdriver/docs/functions/findActionCard.html +1 -1
  427. package/webdriver/docs/functions/findAreaChart.html +1 -1
  428. package/webdriver/docs/functions/findAvatar.html +1 -1
  429. package/webdriver/docs/functions/findButton.html +1 -1
  430. package/webdriver/docs/functions/findCheckbox.html +1 -1
  431. package/webdriver/docs/functions/findCheckboxset.html +1 -1
  432. package/webdriver/docs/functions/findCollapsible.html +1 -1
  433. package/webdriver/docs/functions/findDrawerPopup.html +1 -1
  434. package/webdriver/docs/functions/findFilePicker.html +1 -1
  435. package/webdriver/docs/functions/findFormLayout.html +1 -1
  436. package/webdriver/docs/functions/findHighlightText.html +1 -1
  437. package/webdriver/docs/functions/findInputDateMask.html +1 -1
  438. package/webdriver/docs/functions/findInputDateText.html +1 -1
  439. package/webdriver/docs/functions/findInputMonthMask.html +8 -0
  440. package/webdriver/docs/functions/findInputNumber.html +1 -1
  441. package/webdriver/docs/functions/findInputPassword.html +1 -1
  442. package/webdriver/docs/functions/findInputSensitiveText.html +8 -0
  443. package/webdriver/docs/functions/findInputText.html +1 -1
  444. package/webdriver/docs/functions/findLabelledLink.html +1 -1
  445. package/webdriver/docs/functions/findLegend.html +1 -1
  446. package/webdriver/docs/functions/findLineChart.html +1 -1
  447. package/webdriver/docs/functions/findListItemLayout.html +1 -1
  448. package/webdriver/docs/functions/findListView.html +1 -1
  449. package/webdriver/docs/functions/findMenuButton.html +1 -1
  450. package/webdriver/docs/functions/findMessageBanner.html +1 -1
  451. package/webdriver/docs/functions/findMessageToast.html +1 -1
  452. package/webdriver/docs/functions/findMeterBar.html +1 -1
  453. package/webdriver/docs/functions/findMeterCircle.html +1 -1
  454. package/webdriver/docs/functions/findProgressBar.html +1 -1
  455. package/webdriver/docs/functions/findProgressCircle.html +1 -1
  456. package/webdriver/docs/functions/findRadioset.html +1 -1
  457. package/webdriver/docs/functions/findRatingGauge.html +1 -1
  458. package/webdriver/docs/functions/findSelectMultiple.html +1 -1
  459. package/webdriver/docs/functions/findSelectSingle.html +1 -1
  460. package/webdriver/docs/functions/findSelectionCard.html +1 -1
  461. package/webdriver/docs/functions/findSelector.html +1 -1
  462. package/webdriver/docs/functions/findSelectorAll.html +1 -1
  463. package/webdriver/docs/functions/findSplitMenuButton.html +1 -1
  464. package/webdriver/docs/functions/findTabBarMixed.html +8 -0
  465. package/webdriver/docs/functions/findTagCloud.html +1 -1
  466. package/webdriver/docs/functions/findTextArea.html +1 -1
  467. package/webdriver/docs/index.html +1 -1
  468. package/webdriver/docs/modules.html +7 -1
  469. package/webdriver/index.d.ts +3 -0
  470. package/webdriver/index.js +3 -0
  471. package/webdriver/index.js.map +1 -1
  472. package/webdriver/index.ts +3 -0
@@ -0,0 +1,88 @@
1
+ define(["require", "exports", "oj-c/editable-value/UNSAFE_useEditableValueRawValueObject/useEditableValueRawValueObject", "./CalendarMonthConverter", "preact/hooks", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle", "ojs/ojconverter-preferences", "@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils", "./useImplicitCalendarMonthRangeValidator", "oj-c/editable-value/utils/utils", "ojs/ojconfig"], function (require, exports, useEditableValueRawValueObject_1, CalendarMonthConverter_1, hooks_1, UNSAFE_useTranslationBundle_1, ojconverter_preferences_1, UNSAFE_calendarDateUtils_1, useImplicitCalendarMonthRangeValidator_1, utils_1, ojconfig_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.useInputMonthMaskPreact = void 0;
5
+ function useInputMonthMaskPreact({ dateRangeOverflowMessageDetail, dateRangeUnderflowMessageDetail, disabled, displayOptions, labelEdge, labelHint, labelStartWidth, max, messagesCustom, min, readonly, required, requiredMessageDetail, textAlign, userAssistanceDensity, validators, value: propValue, onMessagesCustomChanged, onRawValueChanged, onValidChanged, onValueChanged, ...otherProps }, addBusyState) {
6
+ const minTreatNull = (0, utils_1.treatNull)(min);
7
+ const maxTreatNull = (0, utils_1.treatNull)(max);
8
+ const translations = (0, UNSAFE_useTranslationBundle_1.useTranslationBundle)('@oracle/oraclejet-preact');
9
+ const calendarMonthConverter_parseErrorFn = translations.calendarMonthConverter_parseError;
10
+ const masksFromUserPref = (0, hooks_1.useMemo)(() => {
11
+ return getMasksFromDatePatternPreferences();
12
+ }, []);
13
+ const implicitConverter = (0, hooks_1.useMemo)(() => {
14
+ return new CalendarMonthConverter_1.CalendarMonthConverter({
15
+ calendarMonthConverter_parseErrorFn,
16
+ customMask: masksFromUserPref
17
+ });
18
+ }, [calendarMonthConverter_parseErrorFn, masksFromUserPref]);
19
+ const exampleFormatter = (0, hooks_1.useMemo)(() => {
20
+ return {
21
+ format: (value) => {
22
+ return (0, UNSAFE_calendarDateUtils_1.formatCalendarMonthRequiredAsExample)((0, ojconfig_1.getLocale)(), value, masksFromUserPref);
23
+ }
24
+ };
25
+ }, [masksFromUserPref]);
26
+ const implicitComponentValidator = (0, useImplicitCalendarMonthRangeValidator_1.useImplicitCalendarMonthRangeValidator)({
27
+ formatObj: exampleFormatter,
28
+ dateRangeOverflowMessageDetail,
29
+ dateRangeUnderflowMessageDetail,
30
+ max: maxTreatNull,
31
+ min: minTreatNull
32
+ });
33
+ const { methods, textFieldProps, value, setValue } = (0, useEditableValueRawValueObject_1.useEditableValueRawValueObject)({
34
+ ariaDescribedBy: otherProps['aria-describedby'],
35
+ converter: implicitConverter,
36
+ disabled,
37
+ displayOptions,
38
+ implicitComponentValidator,
39
+ labelHint,
40
+ messagesCustom,
41
+ readonly,
42
+ required,
43
+ requiredMessageDetail,
44
+ validators,
45
+ value: propValue,
46
+ addBusyState,
47
+ onMessagesCustomChanged,
48
+ onRawValueChanged,
49
+ onValidChanged,
50
+ onValueChanged
51
+ });
52
+ const hasNoValue = value === undefined || !isPartialDate(textFieldProps.value);
53
+ return {
54
+ value,
55
+ setValue,
56
+ methods,
57
+ inputMonthMaskProps: {
58
+ isDisabled: disabled,
59
+ isReadonly: readonly,
60
+ isRequired: required,
61
+ isRequiredShown: required && (userAssistanceDensity === 'compact' || hasNoValue),
62
+ label: labelHint,
63
+ labelEdge,
64
+ labelStartWidth,
65
+ masks: masksFromUserPref,
66
+ textAlign,
67
+ userAssistanceDensity,
68
+ ...textFieldProps
69
+ }
70
+ };
71
+ }
72
+ exports.useInputMonthMaskPreact = useInputMonthMaskPreact;
73
+ const isPartialDate = (value) => {
74
+ if (value === undefined)
75
+ return false;
76
+ return value.year !== undefined || value.month !== undefined;
77
+ };
78
+ const getMasksFromDatePatternPreferences = () => {
79
+ const prefs = (0, ojconverter_preferences_1.getDateTimePreferences)();
80
+ const pattern = prefs.dateStyle?.short?.pattern;
81
+ if (!pattern || pattern.toUpperCase().includes('MMM')) {
82
+ return undefined;
83
+ }
84
+ const datePlaceholders = (0, UNSAFE_calendarDateUtils_1.getDatePlaceholdersFromPattern)(pattern);
85
+ const monthDatePlaceholder = (0, UNSAFE_calendarDateUtils_1.getMonthYearPlaceholdersFromDatePlaceholders)(datePlaceholders);
86
+ return monthDatePlaceholder;
87
+ };
88
+ });
@@ -0,0 +1,6 @@
1
+ define(["require", "exports", "./input-month-mask/input-month-mask"], function (require, exports, input_month_mask_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputMonthMask = void 0;
5
+ Object.defineProperty(exports, "InputMonthMask", { enumerable: true, get: function () { return input_month_mask_1.InputMonthMask; } });
6
+ });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "input-number",
3
- "version": "16.0.6",
4
- "jetVersion": "^16.0.6",
3
+ "version": "16.1.1",
4
+ "jetVersion": "^16.1.1",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "dependencyScope": "runtime",
@@ -190,7 +190,7 @@ export declare class InputPasswordWebElementBase extends OjWebElement {
190
190
  getRawValue(): Promise<string>;
191
191
  /**
192
192
  * Gets the value of <code>valid</code> property.
193
- * Specifies how the raw value of the component
193
+ * Specifies how the valid state of the component
194
194
  * @return The value of <code>valid</code> property.
195
195
  *
196
196
  */
@@ -245,7 +245,7 @@ class InputPasswordWebElementBase extends elements_1.OjWebElement {
245
245
  }
246
246
  /**
247
247
  * Gets the value of <code>valid</code> property.
248
- * Specifies how the raw value of the component
248
+ * Specifies how the valid state of the component
249
249
  * @return The value of <code>valid</code> property.
250
250
  *
251
251
  */
@@ -1 +1 @@
1
- {"version":3,"file":"InputPasswordWebElementBase.js","sourceRoot":"","sources":["InputPasswordWebElementBase.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-password 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, InputPasswordWebElement.ts.\n */\nexport class InputPasswordWebElementBase 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>clearIcon</code> property.\n * Specifies if an icon to clear the input field should be visible.\n * @return The value of <code>clearIcon</code> property.\n *\n */\n public getClearIcon(): Promise<string> {\n return this.getProperty<string>('clearIcon');\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>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>maskIcon</code> property.\n * Represents the mask icon.\n * @return The value of <code>maskIcon</code> property.\n *\n */\n public getMaskIcon(): Promise<string> {\n return this.getProperty<string>('maskIcon');\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>placeholder</code> property.\n * The placeholder text to set on the element.\n * @return The value of <code>placeholder</code> property.\n *\n */\n public getPlaceholder(): Promise<string> {\n return this.getProperty<string>('placeholder');\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 raw value 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":"InputPasswordWebElementBase.js","sourceRoot":"","sources":["InputPasswordWebElementBase.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-password 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, InputPasswordWebElement.ts.\n */\nexport class InputPasswordWebElementBase 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>clearIcon</code> property.\n * Specifies if an icon to clear the input field should be visible.\n * @return The value of <code>clearIcon</code> property.\n *\n */\n public getClearIcon(): Promise<string> {\n return this.getProperty<string>('clearIcon');\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>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>maskIcon</code> property.\n * Represents the mask icon.\n * @return The value of <code>maskIcon</code> property.\n *\n */\n public getMaskIcon(): Promise<string> {\n return this.getProperty<string>('maskIcon');\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>placeholder</code> property.\n * The placeholder text to set on the element.\n * @return The value of <code>placeholder</code> property.\n *\n */\n public getPlaceholder(): Promise<string> {\n return this.getProperty<string>('placeholder');\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,7 +1,7 @@
1
1
  {
2
2
  "name": "input-password",
3
- "version": "16.0.6",
4
- "jetVersion": "^16.0.6",
3
+ "version": "16.1.1",
4
+ "jetVersion": "^16.1.1",
5
5
  "pack": "oj-c",
6
6
  "type": "composite",
7
7
  "dependencyScope": "runtime",
@@ -425,9 +425,9 @@
425
425
  },
426
426
  "valid": {
427
427
  "type": "string",
428
- "description": "Specifies how the raw value of the component",
429
- "displayName": "Raw Value",
430
- "help": "#rawValue",
428
+ "description": "Specifies how the valid state of the component",
429
+ "displayName": "Valid",
430
+ "help": "#valid",
431
431
  "propertyEditorValues": {
432
432
  "valid": {
433
433
  "description": "The component is valid",
@@ -0,0 +1,17 @@
1
+ import { InputSensitiveTextWebElementBase } from './InputSensitiveTextWebElementBase';
2
+ /**
3
+ * The component WebElement for [oj-c-input-sensitive-text](../../../oj-c/docs/oj.InputSensitiveText.html).
4
+ * Do not instantiate this class directly, instead, use
5
+ * [findInputSensitiveText](../functions/findInputSensitiveText.html).
6
+ */
7
+ export declare class InputSensitiveTextWebElement extends InputSensitiveTextWebElementBase {
8
+ /**
9
+ * Sets the value of the "value" property of the input component.
10
+ * @param value The value to set for the <code>value</code>
11
+ */
12
+ changeValue(value: string | null): Promise<void>;
13
+ /**
14
+ * Clears the value of the component.
15
+ */
16
+ clear(): Promise<void>;
17
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InputSensitiveTextWebElement = void 0;
4
+ var InputSensitiveTextWebElementBase_1 = require("./InputSensitiveTextWebElementBase");
5
+ var selenium_webdriver_1 = require("selenium-webdriver");
6
+ /**
7
+ * The component WebElement for [oj-c-input-sensitive-text](../../../oj-c/docs/oj.InputSensitiveText.html).
8
+ * Do not instantiate this class directly, instead, use
9
+ * [findInputSensitiveText](../functions/findInputSensitiveText.html).
10
+ */
11
+ class InputSensitiveTextWebElement extends InputSensitiveTextWebElementBase_1.InputSensitiveTextWebElementBase {
12
+ /**
13
+ * Sets the value of the "value" property of the input component.
14
+ * @param value The value to set for the <code>value</code>
15
+ */
16
+ async changeValue(value) {
17
+ await this.getDriver().executeScript('arguments[0].focus()', this);
18
+ const readonly = await this.getReadonly();
19
+ const disabled = await this.getDisabled();
20
+ if (!(disabled || readonly)) {
21
+ await this.whenBusyContextReady();
22
+ // Note that using element.clear() will blur, which commits the change and
23
+ // calls onValueChanged, which we don't want until we're done updating the value.
24
+ // Instead, we simulate the user clearing the text in the field and typing
25
+ // in a new value. We mock committing the value by calling validate().
26
+ let currValue = await this.getProperty('rawValue');
27
+ while (currValue) {
28
+ const backspaces = new Array(currValue.length + 1).join(selenium_webdriver_1.Key.BACK_SPACE);
29
+ // First move the cursor to the end, then backspaces.
30
+ await this.sendKeys([selenium_webdriver_1.Key.END, backspaces].join(''));
31
+ currValue = await this.getProperty('rawValue');
32
+ }
33
+ const input = await this.findElement(selenium_webdriver_1.By.css('input'));
34
+ value && (await input.sendKeys(value));
35
+ return this.getDriver().executeAsyncScript(`
36
+ let el = arguments[0];
37
+ let done = arguments[1];
38
+ el.validate().then(done).catch(done);
39
+ `, this);
40
+ }
41
+ }
42
+ /**
43
+ * Clears the value of the component.
44
+ */
45
+ clear() {
46
+ return this.changeValue(null);
47
+ }
48
+ }
49
+ exports.InputSensitiveTextWebElement = InputSensitiveTextWebElement;
50
+ //# sourceMappingURL=InputSensitiveTextWebElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputSensitiveTextWebElement.js","sourceRoot":"","sources":["InputSensitiveTextWebElement.ts"],"names":[],"mappings":";;;AAAA,uFAAsF;AACtF,yDAA6C;AAE7C;;;;GAIG;AACH,MAAa,4BAA6B,SAAQ,mEAAgC;IAChF;;;OAGG;IACI,KAAK,CAAC,WAAW,CAAC,KAAoB;QAC3C,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QAC1C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QAC1C,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAElC,0EAA0E;YAC1E,iFAAiF;YACjF,0EAA0E;YAC1E,sEAAsE;YACtE,IAAI,SAAS,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;YACnD,OAAO,SAAS,EAAE,CAAC;gBACjB,MAAM,UAAU,GAAG,IAAI,KAAK,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAG,CAAC,UAAU,CAAC,CAAC;gBACxE,qDAAqD;gBACrD,MAAM,IAAI,CAAC,QAAQ,CAAC,CAAC,wBAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;gBACpD,SAAS,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;YACjD,CAAC;YAED,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;YACtD,KAAK,IAAI,CAAC,MAAM,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;YAEvC,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC,kBAAkB,CACxC;;;;OAID,EACC,IAAI,CACL,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACF;AA5CD,oEA4CC","sourcesContent":["import { InputSensitiveTextWebElementBase } from './InputSensitiveTextWebElementBase';\nimport { By, Key } from 'selenium-webdriver';\n\n/**\n * The component WebElement for [oj-c-input-sensitive-text](../../../oj-c/docs/oj.InputSensitiveText.html).\n * Do not instantiate this class directly, instead, use\n * [findInputSensitiveText](../functions/findInputSensitiveText.html).\n */\nexport class InputSensitiveTextWebElement extends InputSensitiveTextWebElementBase {\n /**\n * Sets the value of the \"value\" property of the input component.\n * @param value The value to set for the <code>value</code>\n */\n public async changeValue(value: string | null): Promise<void> {\n await this.getDriver().executeScript('arguments[0].focus()', this);\n const readonly = await this.getReadonly();\n const disabled = await this.getDisabled();\n if (!(disabled || readonly)) {\n await this.whenBusyContextReady();\n\n // Note that using element.clear() will blur, which commits the change and\n // calls onValueChanged, which we don't want until we're done updating the value.\n // Instead, we simulate the user clearing the text in the field and typing\n // in a new value. We mock committing the value by calling validate().\n let currValue = await this.getProperty('rawValue');\n while (currValue) {\n const backspaces = new Array(currValue.length + 1).join(Key.BACK_SPACE);\n // First move the cursor to the end, then backspaces.\n await this.sendKeys([Key.END, backspaces].join(''));\n currValue = await this.getProperty('rawValue');\n }\n\n const input = await this.findElement(By.css('input'));\n value && (await input.sendKeys(value));\n\n return this.getDriver().executeAsyncScript(\n `\n let el = arguments[0];\n let done = arguments[1];\n el.validate().then(done).catch(done);\n `,\n this\n );\n }\n }\n\n /**\n * Clears the value of the component.\n */\n clear(): Promise<void> {\n return this.changeValue(null);\n }\n}\n"]}
@@ -0,0 +1,259 @@
1
+ import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';
2
+ /**
3
+ * This is the base class for oj-c-input-sensitive-text WebElement, and is generated from the
4
+ * component's metadata. Do not modify these contents since they'll be replaced
5
+ * during the next generation.
6
+ * Put overrides into the WebElements's subclass, InputSensitiveTextWebElement.ts.
7
+ */
8
+ export declare class InputSensitiveTextWebElementBase extends OjWebElement {
9
+ /**
10
+ * Gets the value of <code>clearIcon</code> property.
11
+ * Specifies if an icon to clear the input field should be visible.
12
+ * @return The value of <code>clearIcon</code> property.
13
+ *
14
+ */
15
+ getClearIcon(): Promise<string>;
16
+ /**
17
+ * Gets the value of <code>columnSpan</code> property.
18
+ * Specifies how many columns this component should span.
19
+ * @return The value of <code>columnSpan</code> property.
20
+ *
21
+ */
22
+ getColumnSpan(): Promise<number>;
23
+ /**
24
+ * Gets the value of <code>containerReadonly</code> property.
25
+ * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.
26
+ * @return The value of <code>containerReadonly</code> property.
27
+ *
28
+ */
29
+ getContainerReadonly(): Promise<boolean>;
30
+ /**
31
+ * Gets the value of <code>disabled</code> property.
32
+ * Specifies whether the component is disabled.
33
+ * @return The value of <code>disabled</code> property.
34
+ *
35
+ */
36
+ getDisabled(): Promise<boolean>;
37
+ /**
38
+ * Gets the value of <code>displayOptions</code> property.
39
+ * Display options for auxiliary content that determines whether or not it should be displayed.
40
+ * @return The value of <code>displayOptions</code> property.
41
+ *
42
+ */
43
+ getDisplayOptions(): Promise<DisplayOptions>;
44
+ /**
45
+ * Gets the value of <code>help</code> property.
46
+ * Form component help information.
47
+ * @return The value of <code>help</code> property.
48
+ *
49
+ */
50
+ getHelp(): Promise<Help>;
51
+ /**
52
+ * Gets the value of <code>helpHints</code> property.
53
+ * The helpHints object contains a definition property and a source property.
54
+ * @return The value of <code>helpHints</code> property.
55
+ *
56
+ */
57
+ getHelpHints(): Promise<HelpHints>;
58
+ /**
59
+ * Gets the value of <code>labelEdge</code> property.
60
+ * Specifies how the label is positioned for the component
61
+ * @return The value of <code>labelEdge</code> property.
62
+ *
63
+ */
64
+ getLabelEdge(): Promise<string>;
65
+ /**
66
+ * Gets the value of <code>labelHint</code> property.
67
+ * Represents a hint for rendering a label on the component.
68
+ * @return The value of <code>labelHint</code> property.
69
+ *
70
+ */
71
+ getLabelHint(): Promise<string>;
72
+ /**
73
+ * Gets the value of <code>labelStartWidth</code> property.
74
+ * The width of the label when labelEdge is 'start'.
75
+ * @return The value of <code>labelStartWidth</code> property.
76
+ *
77
+ */
78
+ getLabelStartWidth(): Promise<number | string>;
79
+ /**
80
+ * Gets the value of <code>labelWrapping</code> property.
81
+ * Should the labels wrap or truncate when there is not enough available space.
82
+ * @return The value of <code>labelWrapping</code> property.
83
+ *
84
+ */
85
+ getLabelWrapping(): Promise<string>;
86
+ /**
87
+ * Gets the value of <code>length</code> property.
88
+ * Defines the length limit for the field
89
+ * @return The value of <code>length</code> property.
90
+ *
91
+ */
92
+ getLength(): Promise<Length>;
93
+ /**
94
+ * Gets the value of <code>maskIcon</code> property.
95
+ * Represents the mask icon.
96
+ * @return The value of <code>maskIcon</code> property.
97
+ *
98
+ */
99
+ getMaskIcon(): Promise<string>;
100
+ /**
101
+ * Gets the value of <code>maskIconLabel</code> property.
102
+ * The text used for the screen reader to describe the mask icon toggle.
103
+ * @return The value of <code>maskIconLabel</code> property.
104
+ *
105
+ */
106
+ getMaskIconLabel(): Promise<string>;
107
+ /**
108
+ * Sets the value of <code>messagesCustom</code> property.
109
+ * List of custom component messages
110
+ * @param messagesCustom The value to set for <code>messagesCustom</code>
111
+ *
112
+ */
113
+ changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void>;
114
+ /**
115
+ * Gets the value of <code>messagesCustom</code> property.
116
+ * List of custom component messages
117
+ * @return The value of <code>messagesCustom</code> property.
118
+ *
119
+ */
120
+ getMessagesCustom(): Promise<Array<MessagesCustom>>;
121
+ /**
122
+ * Gets the value of <code>placeholder</code> property.
123
+ * The placeholder text to set on the element.
124
+ * @return The value of <code>placeholder</code> property.
125
+ *
126
+ */
127
+ getPlaceholder(): Promise<string>;
128
+ /**
129
+ * Gets the value of <code>readonly</code> property.
130
+ * Whether the component is readonly
131
+ * @return The value of <code>readonly</code> property.
132
+ *
133
+ */
134
+ getReadonly(): Promise<boolean>;
135
+ /**
136
+ * Gets the value of <code>required</code> property.
137
+ * Specifies whether or not the component is required.
138
+ * @return The value of <code>required</code> property.
139
+ *
140
+ */
141
+ getRequired(): Promise<boolean>;
142
+ /**
143
+ * Gets the value of <code>requiredMessageDetail</code> property.
144
+ * Overrides the default Required error message.
145
+ * @return The value of <code>requiredMessageDetail</code> property.
146
+ *
147
+ */
148
+ getRequiredMessageDetail(): Promise<string>;
149
+ /**
150
+ * Gets the value of <code>textAlign</code> property.
151
+ * Specifies how the text is aligned within the text field
152
+ * @return The value of <code>textAlign</code> property.
153
+ *
154
+ */
155
+ getTextAlign(): Promise<string>;
156
+ /**
157
+ * Gets the value of <code>userAssistanceDensity</code> property.
158
+ * Specifies the density of the form component's user assistance presentation.
159
+ * @return The value of <code>userAssistanceDensity</code> property.
160
+ *
161
+ */
162
+ getUserAssistanceDensity(): Promise<string>;
163
+ /**
164
+ * Gets the value of <code>validators</code> property.
165
+ * Specifies the validators for the component.
166
+ * @return The value of <code>validators</code> property.
167
+ *
168
+ */
169
+ getValidators(): Promise<Array<object> | null>;
170
+ /**
171
+ * Sets the value of <code>value</code> property.
172
+ * The value of the component.
173
+ * @param value The value to set for <code>value</code>
174
+ *
175
+ */
176
+ changeValue(value: any): Promise<void>;
177
+ /**
178
+ * Gets the value of <code>value</code> property.
179
+ * The value of the component.
180
+ * @return The value of <code>value</code> property.
181
+ *
182
+ */
183
+ getValue(): Promise<any>;
184
+ /**
185
+ * Gets the value of <code>virtualKeyboard</code> property.
186
+ * The type of virtual keyboard to display for entering a value on mobile browsers
187
+ * @return The value of <code>virtualKeyboard</code> property.
188
+ *
189
+ */
190
+ getVirtualKeyboard(): Promise<string>;
191
+ /**
192
+ * Gets the value of <code>rawValue</code> property.
193
+ * Specifies how the raw value of the component
194
+ * @return The value of <code>rawValue</code> property.
195
+ *
196
+ */
197
+ getRawValue(): Promise<string>;
198
+ /**
199
+ * Gets the value of <code>valid</code> property.
200
+ * Specifies the current valid state of the component
201
+ * @return The value of <code>valid</code> property.
202
+ *
203
+ */
204
+ getValid(): Promise<string>;
205
+ }
206
+ export interface DisplayOptions {
207
+ /**
208
+ *
209
+ */
210
+ messages: string;
211
+ /**
212
+ *
213
+ */
214
+ validatorHint: string;
215
+ }
216
+ export interface Help {
217
+ /**
218
+ *
219
+ */
220
+ instruction: string;
221
+ }
222
+ export interface HelpHints {
223
+ /**
224
+ *
225
+ */
226
+ definition: string;
227
+ /**
228
+ *
229
+ */
230
+ source: string;
231
+ /**
232
+ *
233
+ */
234
+ sourceText: string;
235
+ }
236
+ export interface Length {
237
+ /**
238
+ *
239
+ */
240
+ countBy: string;
241
+ /**
242
+ *
243
+ */
244
+ max: number | null;
245
+ }
246
+ export interface MessagesCustom {
247
+ /**
248
+ *
249
+ */
250
+ summary: string;
251
+ /**
252
+ *
253
+ */
254
+ detail: string;
255
+ /**
256
+ *
257
+ */
258
+ severity: string;
259
+ }