@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.
- package/oj-c/ActionCard.json +6 -6
- package/oj-c/AreaChart.json +458 -1546
- package/oj-c/AreaChartGroup.json +8 -7
- package/oj-c/AreaChartItem.json +35 -16
- package/oj-c/AreaChartSeries.json +15 -14
- package/oj-c/Avatar.json +10 -10
- package/oj-c/Button.json +19 -19
- package/oj-c/Checkbox.json +29 -29
- package/oj-c/Checkboxset.json +35 -35
- package/oj-c/Collapsible.json +14 -14
- package/oj-c/DrawerPopup.json +12 -12
- package/oj-c/FilePicker.json +20 -20
- package/oj-c/FormLayout.json +15 -15
- package/oj-c/HighlightText.json +6 -6
- package/oj-c/InputDateMask.json +75 -75
- package/oj-c/InputDateText.json +44 -44
- package/oj-c/InputMonthMask.json +1402 -0
- package/oj-c/InputNumber.json +51 -51
- package/oj-c/InputPassword.json +42 -42
- package/oj-c/InputSensitiveText.json +1420 -0
- package/oj-c/InputText.json +48 -48
- package/oj-c/LabelledLink.json +21 -21
- package/oj-c/Legend.json +36 -36
- package/oj-c/LegendItem.json +20 -15
- package/oj-c/LegendSection.json +6 -5
- package/oj-c/LineChart.json +459 -1546
- package/oj-c/LineChartGroup.json +8 -7
- package/oj-c/LineChartItem.json +35 -16
- package/oj-c/LineChartSeries.json +17 -16
- package/oj-c/ListItemLayout.json +16 -16
- package/oj-c/ListView.json +18 -18
- package/oj-c/MenuButton.json +21 -21
- package/oj-c/MessageBanner.json +11 -11
- package/oj-c/MessageToast.json +13 -13
- package/oj-c/MeterBar.json +26 -26
- package/oj-c/MeterCircle.json +30 -30
- package/oj-c/ProgressBar.json +7 -7
- package/oj-c/ProgressCircle.json +7 -7
- package/oj-c/Radioset.json +35 -35
- package/oj-c/RatingGauge.json +21 -21
- package/oj-c/SelectMultiple.json +41 -41
- package/oj-c/SelectSingle.json +45 -45
- package/oj-c/SelectionCard.json +6 -6
- package/oj-c/Selector.json +8 -8
- package/oj-c/SelectorAll.json +25 -5
- package/oj-c/SplitMenuButton.json +60 -17
- package/oj-c/TabBarMixed.json +606 -0
- package/oj-c/TagCloud.json +18 -18
- package/oj-c/TagCloudItem.json +11 -10
- package/oj-c/TextArea.json +45 -45
- package/oj-c/action-card/component.json +2 -2
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +175 -38
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +16 -7
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
- package/oj-c/area-chart/area-chart.js +4 -4
- package/oj-c/area-chart/component.json +552 -770
- package/oj-c/area-chart-group/area-chart-group.js +1 -1
- package/oj-c/area-chart-group/component.json +4 -3
- package/oj-c/area-chart-item/area-chart-item.js +1 -1
- package/oj-c/area-chart-item/component.json +10 -4
- package/oj-c/area-chart-series/area-chart-series.js +1 -1
- package/oj-c/area-chart-series/component.json +4 -3
- package/oj-c/avatar/component.json +2 -2
- package/oj-c/button/button.js +7 -7
- package/oj-c/button/component.json +2 -2
- package/oj-c/checkbox/component.json +2 -2
- package/oj-c/checkboxset/component.json +2 -2
- package/oj-c/collapsible/component.json +2 -2
- package/oj-c/component.json +15 -3
- package/oj-c/corepackbundle.js +883 -353
- package/oj-c/docs/action-card.html +59 -50
- package/oj-c/docs/area-chart-group.html +59 -50
- package/oj-c/docs/area-chart-item.html +59 -50
- package/oj-c/docs/area-chart-series.html +59 -50
- package/oj-c/docs/area-chart.html +59 -50
- package/oj-c/docs/avatar.html +59 -50
- package/oj-c/docs/button.html +59 -50
- package/oj-c/docs/checkbox.html +59 -50
- package/oj-c/docs/checkboxset.html +59 -50
- package/oj-c/docs/collapsible.html +59 -50
- package/oj-c/docs/drawer-popup.html +59 -50
- package/oj-c/docs/file-picker.html +59 -50
- package/oj-c/docs/form-layout.html +59 -50
- package/oj-c/docs/highlight-text.html +59 -50
- package/oj-c/docs/index.html +59 -50
- package/oj-c/docs/input-date-mask.html +59 -50
- package/oj-c/docs/input-date-text.html +59 -50
- package/oj-c/docs/input-month-mask.html +249 -0
- package/oj-c/docs/input-number.html +59 -50
- package/oj-c/docs/input-password.html +59 -50
- package/oj-c/docs/input-sensitive-text.html +249 -0
- package/oj-c/docs/input-text.html +59 -50
- package/oj-c/docs/jsDocMd.json +1 -1
- package/oj-c/docs/labelled-link.html +59 -50
- package/oj-c/docs/legend-item.html +59 -50
- package/oj-c/docs/legend-section.html +59 -50
- package/oj-c/docs/legend.html +59 -50
- package/oj-c/docs/line-chart-group.html +59 -50
- package/oj-c/docs/line-chart-item.html +59 -50
- package/oj-c/docs/line-chart-series.html +59 -50
- package/oj-c/docs/line-chart.html +59 -50
- package/oj-c/docs/list-item-layout.html +59 -50
- package/oj-c/docs/list-view.html +59 -50
- package/oj-c/docs/menu-button.html +59 -50
- package/oj-c/docs/message-banner.html +59 -50
- package/oj-c/docs/message-toast.html +59 -50
- package/oj-c/docs/meter-bar.html +59 -50
- package/oj-c/docs/meter-circle.html +59 -50
- package/oj-c/docs/oj-c.ActionCard.html +60 -51
- package/oj-c/docs/oj-c.AreaChart.html +1452 -214
- package/oj-c/docs/oj-c.AreaChartGroup.html +63 -51
- package/oj-c/docs/oj-c.AreaChartItem.html +125 -54
- package/oj-c/docs/oj-c.AreaChartSeries.html +63 -51
- package/oj-c/docs/oj-c.Avatar.html +60 -51
- package/oj-c/docs/oj-c.Button.html +60 -51
- package/oj-c/docs/oj-c.Checkbox.html +60 -51
- package/oj-c/docs/oj-c.Checkboxset.html +60 -51
- package/oj-c/docs/oj-c.Collapsible.html +60 -51
- package/oj-c/docs/oj-c.DrawerPopup.html +60 -51
- package/oj-c/docs/oj-c.FilePicker.html +60 -51
- package/oj-c/docs/oj-c.FormLayout.html +60 -51
- package/oj-c/docs/oj-c.HighlightText.html +60 -51
- package/oj-c/docs/oj-c.InputDateMask.html +81 -64
- package/oj-c/docs/oj-c.InputDateText.html +60 -51
- package/oj-c/docs/oj-c.InputMonthMask.html +5940 -0
- package/oj-c/docs/oj-c.InputNumber.html +60 -51
- package/oj-c/docs/oj-c.InputPassword.html +80 -62
- package/oj-c/docs/oj-c.InputSensitiveText.html +5723 -0
- package/oj-c/docs/oj-c.InputText.html +60 -51
- package/oj-c/docs/oj-c.LabelledLink.html +60 -51
- package/oj-c/docs/oj-c.Legend.html +60 -51
- package/oj-c/docs/oj-c.LegendItem.html +75 -51
- package/oj-c/docs/oj-c.LegendSection.html +63 -51
- package/oj-c/docs/oj-c.LineChart.html +1455 -217
- package/oj-c/docs/oj-c.LineChartGroup.html +63 -51
- package/oj-c/docs/oj-c.LineChartItem.html +125 -54
- package/oj-c/docs/oj-c.LineChartSeries.html +63 -51
- package/oj-c/docs/oj-c.ListItemLayout.html +60 -51
- package/oj-c/docs/oj-c.ListView.html +60 -51
- package/oj-c/docs/oj-c.MenuButton.html +60 -51
- package/oj-c/docs/oj-c.MessageBanner.html +60 -51
- package/oj-c/docs/oj-c.MessageToast.html +60 -51
- package/oj-c/docs/oj-c.MeterBar.html +60 -51
- package/oj-c/docs/oj-c.MeterCircle.html +60 -51
- package/oj-c/docs/oj-c.ProgressBar.html +60 -51
- package/oj-c/docs/oj-c.ProgressCircle.html +60 -51
- package/oj-c/docs/oj-c.Radioset.html +60 -51
- package/oj-c/docs/oj-c.RatingGauge.html +60 -51
- package/oj-c/docs/oj-c.SelectMultiple.html +60 -51
- package/oj-c/docs/oj-c.SelectSingle.html +60 -51
- package/oj-c/docs/oj-c.Selector.html +60 -51
- package/oj-c/docs/oj-c.SelectorAll.html +149 -52
- package/oj-c/docs/oj-c.SplitMenuButton.html +299 -52
- package/oj-c/docs/oj-c.TabBarMixed.html +2660 -0
- package/oj-c/docs/oj-c.TagCloud.html +60 -51
- package/oj-c/docs/oj-c.TagCloudItem.html +63 -51
- package/oj-c/docs/oj-c.TextArea.html +60 -51
- package/oj-c/docs/progress-bar.html +59 -50
- package/oj-c/docs/progress-circle.html +59 -50
- package/oj-c/docs/radioset.html +59 -50
- package/oj-c/docs/rating-gauge.html +59 -50
- package/oj-c/docs/select-multiple.html +59 -50
- package/oj-c/docs/select-single.html +59 -50
- package/oj-c/docs/selection-card.html +59 -50
- package/oj-c/docs/selector-all.html +59 -50
- package/oj-c/docs/selector.html +59 -50
- package/oj-c/docs/split-menu-button.html +59 -50
- package/oj-c/docs/tab-bar-mixed.html +249 -0
- package/oj-c/docs/tag-cloud-item.html +59 -50
- package/oj-c/docs/tag-cloud.html +59 -50
- package/oj-c/docs/text-area.html +59 -50
- package/oj-c/drawer-popup/component.json +2 -2
- package/oj-c/file-picker/component.json +2 -2
- package/oj-c/form-layout/component.json +2 -2
- package/oj-c/highlight-text/component.json +2 -2
- package/oj-c/hooks/UNSAFE_useListData/useListData.js +5 -2
- package/oj-c/input-date-mask/component.json +17 -15
- package/oj-c/input-date-mask/input-date-mask.js +45 -88
- package/oj-c/input-date-text/component.json +3 -6
- package/oj-c/input-month-mask/CalendarMonthConverter.js +32 -0
- package/oj-c/input-month-mask/CalendarMonthRangeValidator.js +56 -0
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.d.ts +16 -0
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js +23 -0
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js.map +1 -0
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.d.ts +275 -0
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js +248 -0
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js.map +1 -0
- package/oj-c/input-month-mask/__webdriver__/index.d.ts +17 -0
- package/oj-c/input-month-mask/__webdriver__/index.js +34 -0
- package/oj-c/input-month-mask/__webdriver__/index.js.map +1 -0
- package/oj-c/input-month-mask/component.json +493 -0
- package/oj-c/input-month-mask/index.js +6 -0
- package/oj-c/input-month-mask/input-month-mask-styles.css +14 -0
- package/oj-c/input-month-mask/input-month-mask.js +69 -0
- package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +26 -0
- package/oj-c/input-month-mask/useInputMonthMaskPreact.js +88 -0
- package/oj-c/input-month-mask.js +6 -0
- package/oj-c/input-number/component.json +2 -2
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +1 -1
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +1 -1
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
- package/oj-c/input-password/component.json +5 -5
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.d.ts +17 -0
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js +50 -0
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js.map +1 -0
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.d.ts +259 -0
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js +266 -0
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js.map +1 -0
- package/oj-c/input-sensitive-text/__webdriver__/index.d.ts +17 -0
- package/oj-c/input-sensitive-text/__webdriver__/index.js +34 -0
- package/oj-c/input-sensitive-text/__webdriver__/index.js.map +1 -0
- package/oj-c/input-sensitive-text/component.json +574 -0
- package/oj-c/input-sensitive-text/index.js +6 -0
- package/oj-c/input-sensitive-text/input-sensitive-text-styles.css +13 -0
- package/oj-c/input-sensitive-text/input-sensitive-text.js +74 -0
- package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +52 -0
- package/oj-c/input-sensitive-text.js +6 -0
- package/oj-c/input-text/component.json +2 -2
- package/oj-c/labelled-link/component.json +2 -2
- package/oj-c/legend/component.json +2 -2
- package/oj-c/legend/legend-styles.css +1 -0
- package/oj-c/legend-item/component.json +12 -7
- package/oj-c/legend-item/legend-item.js +1 -1
- package/oj-c/legend-section/component.json +4 -3
- package/oj-c/legend-section/legend-section.js +1 -1
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +172 -35
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +13 -4
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
- package/oj-c/line-chart/component.json +558 -775
- package/oj-c/line-chart/line-chart.js +4 -4
- package/oj-c/line-chart-group/component.json +4 -3
- package/oj-c/line-chart-group/line-chart-group.js +1 -1
- package/oj-c/line-chart-item/component.json +11 -5
- package/oj-c/line-chart-item/line-chart-item.js +1 -1
- package/oj-c/line-chart-series/component.json +4 -3
- package/oj-c/line-chart-series/line-chart-series.js +1 -1
- package/oj-c/list-item-layout/component.json +2 -2
- package/oj-c/list-view/component.json +2 -2
- package/oj-c/menu-button/component.json +2 -2
- package/oj-c/menu-button/menu-button.js +2 -2
- package/oj-c/message-banner/component.json +2 -2
- package/oj-c/message-toast/component.json +2 -2
- package/oj-c/metadata/allComponents.json +3619 -2700
- package/oj-c/meter-bar/component.json +2 -2
- package/oj-c/meter-circle/component.json +2 -2
- package/oj-c/min/area-chart-group.js +1 -1
- package/oj-c/min/area-chart-group.js.map +1 -1
- package/oj-c/min/area-chart-item.js +1 -1
- package/oj-c/min/area-chart-item.js.map +1 -1
- package/oj-c/min/area-chart-series.js +1 -1
- package/oj-c/min/area-chart-series.js.map +1 -1
- package/oj-c/min/area-chart.js +1 -1
- package/oj-c/min/area-chart.js.map +1 -1
- package/oj-c/min/button.js +1 -1
- package/oj-c/min/button.js.map +1 -1
- package/oj-c/min/corepackbundle.css +28 -1
- package/oj-c/min/corepackbundle.js +1 -1
- package/oj-c/min/corepackbundle.js.map +1 -1
- package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +5 -2
- package/oj-c/min/input-date-mask.js +1 -1
- package/oj-c/min/input-date-mask.js.map +1 -1
- package/oj-c/min/input-month-mask/input-month-mask-styles.css +14 -0
- package/oj-c/min/input-month-mask.js +2 -0
- package/oj-c/min/input-month-mask.js.map +1 -0
- package/oj-c/min/input-sensitive-text/input-sensitive-text-styles.css +13 -0
- package/oj-c/min/input-sensitive-text.js +2 -0
- package/oj-c/min/input-sensitive-text.js.map +1 -0
- package/oj-c/min/legend/legend-styles.css +1 -0
- package/oj-c/min/legend-item.js +1 -1
- package/oj-c/min/legend-item.js.map +1 -1
- package/oj-c/min/legend-section.js +1 -1
- package/oj-c/min/legend-section.js.map +1 -1
- package/oj-c/min/legend.js +1 -1
- package/oj-c/min/legend.js.map +1 -1
- package/oj-c/min/line-chart-group.js +1 -1
- package/oj-c/min/line-chart-group.js.map +1 -1
- package/oj-c/min/line-chart-item.js +1 -1
- package/oj-c/min/line-chart-item.js.map +1 -1
- package/oj-c/min/line-chart-series.js +1 -1
- package/oj-c/min/line-chart-series.js.map +1 -1
- package/oj-c/min/line-chart.js +1 -1
- package/oj-c/min/line-chart.js.map +1 -1
- package/oj-c/min/list-view.js +1 -1
- package/oj-c/min/list-view.js.map +1 -1
- package/oj-c/min/menu-button.js +1 -1
- package/oj-c/min/menu-button.js.map +1 -1
- package/oj-c/min/select-multiple.js +2 -2
- package/oj-c/min/select-multiple.js.map +1 -1
- package/oj-c/min/select-single.js +2 -2
- package/oj-c/min/select-single.js.map +1 -1
- package/oj-c/min/selector-all.js +1 -1
- package/oj-c/min/selector-all.js.map +1 -1
- package/oj-c/min/split-menu-button.js +1 -1
- package/oj-c/min/split-menu-button.js.map +1 -1
- package/oj-c/min/tab-bar-mixed/tab-bar-mixed-styles.css +11 -0
- package/oj-c/min/tab-bar-mixed.js +2 -0
- package/oj-c/min/tab-bar-mixed.js.map +1 -0
- package/oj-c/min/tag-cloud-item.js +1 -1
- package/oj-c/min/tag-cloud-item.js.map +1 -1
- package/oj-c/min/tag-cloud.js +1 -1
- package/oj-c/min/tag-cloud.js.map +1 -1
- package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
- package/oj-c/min/utils/PRIVATE_chartUtils/axisUtils.js +24 -0
- package/oj-c/progress-bar/component.json +2 -2
- package/oj-c/progress-circle/component.json +2 -2
- package/oj-c/radioset/component.json +2 -2
- package/oj-c/rating-gauge/component.json +2 -2
- package/oj-c/select-multiple/component.json +2 -2
- package/oj-c/select-single/component.json +2 -2
- package/oj-c/selection-card/component.json +2 -2
- package/oj-c/selector/component.json +2 -2
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.d.ts +7 -0
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +9 -0
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -1
- package/oj-c/selector-all/component.json +12 -2
- package/oj-c/selector-all/selector-all.js +3 -3
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.d.ts +1 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +1 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.d.ts +7 -0
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +9 -0
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
- package/oj-c/split-menu-button/component.json +21 -2
- package/oj-c/split-menu-button/split-menu-button.js +18 -27
- package/oj-c/tab-bar-mixed/DataTabBarMixed.js +43 -0
- package/oj-c/tab-bar-mixed/DataTabBarMixed.types.js +4 -0
- package/oj-c/tab-bar-mixed/DataTabBarMixedIcon.js +16 -0
- package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_ConveyorBelt.js +10 -0
- package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_TabBarMixed.js +34 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.d.ts +8 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +13 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.d.ts +116 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js +95 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js.map +1 -0
- package/oj-c/tab-bar-mixed/__webdriver__/index.d.ts +17 -0
- package/oj-c/tab-bar-mixed/__webdriver__/index.js +34 -0
- package/oj-c/tab-bar-mixed/__webdriver__/index.js.map +1 -0
- package/oj-c/tab-bar-mixed/component.json +236 -0
- package/oj-c/tab-bar-mixed/environment.js +13 -0
- package/oj-c/tab-bar-mixed/index.js +6 -0
- package/oj-c/tab-bar-mixed/sumBadge.js +23 -0
- package/oj-c/tab-bar-mixed/tab-bar-mixed-styles.css +11 -0
- package/oj-c/tab-bar-mixed/tab-bar-mixed.js +39 -0
- package/oj-c/tab-bar-mixed.js +6 -0
- package/oj-c/tag-cloud/component.json +2 -2
- package/oj-c/tag-cloud-item/component.json +4 -3
- package/oj-c/tag-cloud-item/tag-cloud-item.js +1 -1
- package/oj-c/text-area/component.json +2 -2
- package/oj-c/types/area-chart/area-chart.d.ts +7 -2
- package/oj-c/types/area-chart-item/area-chart-item.d.ts +5 -0
- package/oj-c/types/input-date-mask/input-date-mask.d.ts +15 -20
- package/oj-c/types/input-month-mask/CalendarMonthConverter.d.ts +19 -0
- package/oj-c/types/input-month-mask/CalendarMonthRangeValidator.d.ts +34 -0
- package/oj-c/types/input-month-mask/index.d.ts +2 -0
- package/oj-c/types/input-month-mask/input-month-mask.d.ts +184 -0
- package/oj-c/types/input-month-mask/useImplicitCalendarMonthRangeValidator.d.ts +13 -0
- package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +39 -0
- package/oj-c/types/input-number/useImplicitNumberConverter.d.ts +1 -1
- package/oj-c/types/input-sensitive-text/index.d.ts +2 -0
- package/oj-c/types/input-sensitive-text/input-sensitive-text.d.ts +199 -0
- package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +41 -0
- package/oj-c/types/line-chart/line-chart.d.ts +7 -2
- package/oj-c/types/line-chart-item/line-chart-item.d.ts +5 -0
- package/oj-c/types/selector-all/selector-all.d.ts +10 -3
- package/oj-c/types/split-menu-button/index.d.ts +1 -1
- package/oj-c/types/split-menu-button/split-menu-button.d.ts +18 -14
- package/oj-c/types/tab-bar-mixed/DataTabBarMixed.d.ts +2 -0
- package/oj-c/types/tab-bar-mixed/DataTabBarMixed.types.d.ts +27 -0
- package/oj-c/types/tab-bar-mixed/DataTabBarMixedIcon.d.ts +12 -0
- package/oj-c/types/tab-bar-mixed/environment.d.ts +1 -0
- package/oj-c/types/tab-bar-mixed/index.d.ts +2 -0
- package/oj-c/types/tab-bar-mixed/sumBadge.d.ts +6 -0
- package/oj-c/types/tab-bar-mixed/tab-bar-mixed.d.ts +104 -0
- package/oj-c/types/utils/PRIVATE_ItemsMenu/index.d.ts +1 -1
- package/oj-c/types/utils/PRIVATE_ItemsMenu/items-menu.d.ts +3 -2
- package/oj-c/types/utils/PRIVATE_chartUtils/axisUtils.d.ts +3 -0
- package/oj-c/types/utils/UNSAFE_vizTypes/chartTypes.d.ts +55 -19
- package/oj-c/types/utils/UNSAFE_vizTypes/index.d.ts +1 -0
- package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
- package/oj-c/utils/PRIVATE_chartUtils/axisUtils.js +24 -0
- package/package.json +4 -4
- package/webdriver/docs/assets/navigation.js +1 -1
- package/webdriver/docs/assets/search.js +1 -1
- package/webdriver/docs/classes/ActionCardWebElement.html +1 -1
- package/webdriver/docs/classes/AreaChartWebElement.html +19 -8
- package/webdriver/docs/classes/AvatarWebElement.html +1 -1
- package/webdriver/docs/classes/ButtonWebElement.html +1 -1
- package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
- package/webdriver/docs/classes/CheckboxsetWebElement.html +1 -1
- package/webdriver/docs/classes/CollapsibleWebElement.html +1 -1
- package/webdriver/docs/classes/DrawerPopupWebElement.html +1 -1
- package/webdriver/docs/classes/FilePickerWebElement.html +1 -1
- package/webdriver/docs/classes/FormLayoutWebElement.html +1 -1
- package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
- package/webdriver/docs/classes/InputDateMaskWebElement.html +1 -1
- package/webdriver/docs/classes/InputDateTextWebElement.html +1 -1
- package/webdriver/docs/classes/InputMonthMaskWebElement.html +211 -0
- package/webdriver/docs/classes/InputNumberWebElement.html +1 -1
- package/webdriver/docs/classes/InputPasswordWebElement.html +2 -2
- package/webdriver/docs/classes/InputSensitiveTextWebElement.html +215 -0
- package/webdriver/docs/classes/InputTextWebElement.html +1 -1
- package/webdriver/docs/classes/LabelledLinkWebElement.html +1 -1
- package/webdriver/docs/classes/LegendWebElement.html +1 -1
- package/webdriver/docs/classes/LineChartWebElement.html +12 -6
- package/webdriver/docs/classes/ListItemLayoutWebElement.html +1 -1
- package/webdriver/docs/classes/ListViewWebElement.html +1 -1
- package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
- package/webdriver/docs/classes/MessageBannerWebElement.html +1 -1
- package/webdriver/docs/classes/MessageToastWebElement.html +1 -1
- package/webdriver/docs/classes/MeterBarWebElement.html +1 -1
- package/webdriver/docs/classes/MeterCircleWebElement.html +1 -1
- package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
- package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
- package/webdriver/docs/classes/RadiosetWebElement.html +1 -1
- package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
- package/webdriver/docs/classes/SelectMultipleWebElement.html +1 -1
- package/webdriver/docs/classes/SelectSingleWebElement.html +1 -1
- package/webdriver/docs/classes/SelectionCardWebElement.html +1 -1
- package/webdriver/docs/classes/SelectorAllWebElement.html +6 -2
- package/webdriver/docs/classes/SelectorWebElement.html +1 -1
- package/webdriver/docs/classes/SplitMenuButtonWebElement.html +7 -3
- package/webdriver/docs/classes/TabBarMixedWebElement.html +139 -0
- package/webdriver/docs/classes/TagCloudWebElement.html +1 -1
- package/webdriver/docs/classes/TextAreaWebElement.html +1 -1
- package/webdriver/docs/functions/findActionCard.html +1 -1
- package/webdriver/docs/functions/findAreaChart.html +1 -1
- package/webdriver/docs/functions/findAvatar.html +1 -1
- package/webdriver/docs/functions/findButton.html +1 -1
- package/webdriver/docs/functions/findCheckbox.html +1 -1
- package/webdriver/docs/functions/findCheckboxset.html +1 -1
- package/webdriver/docs/functions/findCollapsible.html +1 -1
- package/webdriver/docs/functions/findDrawerPopup.html +1 -1
- package/webdriver/docs/functions/findFilePicker.html +1 -1
- package/webdriver/docs/functions/findFormLayout.html +1 -1
- package/webdriver/docs/functions/findHighlightText.html +1 -1
- package/webdriver/docs/functions/findInputDateMask.html +1 -1
- package/webdriver/docs/functions/findInputDateText.html +1 -1
- package/webdriver/docs/functions/findInputMonthMask.html +8 -0
- package/webdriver/docs/functions/findInputNumber.html +1 -1
- package/webdriver/docs/functions/findInputPassword.html +1 -1
- package/webdriver/docs/functions/findInputSensitiveText.html +8 -0
- package/webdriver/docs/functions/findInputText.html +1 -1
- package/webdriver/docs/functions/findLabelledLink.html +1 -1
- package/webdriver/docs/functions/findLegend.html +1 -1
- package/webdriver/docs/functions/findLineChart.html +1 -1
- package/webdriver/docs/functions/findListItemLayout.html +1 -1
- package/webdriver/docs/functions/findListView.html +1 -1
- package/webdriver/docs/functions/findMenuButton.html +1 -1
- package/webdriver/docs/functions/findMessageBanner.html +1 -1
- package/webdriver/docs/functions/findMessageToast.html +1 -1
- package/webdriver/docs/functions/findMeterBar.html +1 -1
- package/webdriver/docs/functions/findMeterCircle.html +1 -1
- package/webdriver/docs/functions/findProgressBar.html +1 -1
- package/webdriver/docs/functions/findProgressCircle.html +1 -1
- package/webdriver/docs/functions/findRadioset.html +1 -1
- package/webdriver/docs/functions/findRatingGauge.html +1 -1
- package/webdriver/docs/functions/findSelectMultiple.html +1 -1
- package/webdriver/docs/functions/findSelectSingle.html +1 -1
- package/webdriver/docs/functions/findSelectionCard.html +1 -1
- package/webdriver/docs/functions/findSelector.html +1 -1
- package/webdriver/docs/functions/findSelectorAll.html +1 -1
- package/webdriver/docs/functions/findSplitMenuButton.html +1 -1
- package/webdriver/docs/functions/findTabBarMixed.html +8 -0
- package/webdriver/docs/functions/findTagCloud.html +1 -1
- package/webdriver/docs/functions/findTextArea.html +1 -1
- package/webdriver/docs/index.html +1 -1
- package/webdriver/docs/modules.html +7 -1
- package/webdriver/index.d.ts +3 -0
- package/webdriver/index.js +3 -0
- package/webdriver/index.js.map +1 -1
- package/webdriver/index.ts +3 -0
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "input-month-mask",
|
|
3
|
+
"version": "16.1.1",
|
|
4
|
+
"jetVersion": "^16.1.1",
|
|
5
|
+
"pack": "oj-c",
|
|
6
|
+
"type": "composite",
|
|
7
|
+
"dependencyScope": "runtime",
|
|
8
|
+
"license": "https://opensource.org/licenses/UPL",
|
|
9
|
+
"implements": [
|
|
10
|
+
"CInputMonthMaskElement"
|
|
11
|
+
],
|
|
12
|
+
"displayName": "InputMonthMask",
|
|
13
|
+
"description": "An input month mask field allows a user to individually edit, step, or spin the values of the month and year fields.",
|
|
14
|
+
"help": "oj-c.InputMonthMask.html",
|
|
15
|
+
"main": "oj-c/input-month-mask",
|
|
16
|
+
"extension": {
|
|
17
|
+
"catalog": {
|
|
18
|
+
"category": "Forms"
|
|
19
|
+
},
|
|
20
|
+
"vbdt": {
|
|
21
|
+
"module": "oj-c/input-month-mask",
|
|
22
|
+
"defaultColumns": 6,
|
|
23
|
+
"minColumns": 2
|
|
24
|
+
},
|
|
25
|
+
"oracle": {
|
|
26
|
+
"icon": "oj-ux-ico-date"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"propertyLayout": [
|
|
30
|
+
{
|
|
31
|
+
"propertyGroup": "common",
|
|
32
|
+
"items": [
|
|
33
|
+
"disabled",
|
|
34
|
+
"labelHint",
|
|
35
|
+
"readonly",
|
|
36
|
+
"required"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"propertyGroup": "data",
|
|
41
|
+
"items": [
|
|
42
|
+
"value"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"since": "16.1.0",
|
|
47
|
+
"properties": {
|
|
48
|
+
"columnSpan": {
|
|
49
|
+
"type": "number",
|
|
50
|
+
"description": "Specifies how many columns this component should span.",
|
|
51
|
+
"displayName": "Column Span",
|
|
52
|
+
"help": "#columnSpan",
|
|
53
|
+
"value": 1
|
|
54
|
+
},
|
|
55
|
+
"containerReadonly": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"description": "Specifies whether an ancestor container, like oj-c-form-layout, is readonly.",
|
|
58
|
+
"displayName": "Container Readonly",
|
|
59
|
+
"help": "#containerReadonly",
|
|
60
|
+
"binding": {
|
|
61
|
+
"consume": {
|
|
62
|
+
"name": "containerReadonly"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"dateRangeOverflowMessageDetail": {
|
|
67
|
+
"type": "function",
|
|
68
|
+
"description": "Overrides the default validator's rangeOverflow message detail.",
|
|
69
|
+
"displayName": "Date Range Overflow Message Detail",
|
|
70
|
+
"help": "#dateRangeOverflowMessageDetail"
|
|
71
|
+
},
|
|
72
|
+
"dateRangeUnderflowMessageDetail": {
|
|
73
|
+
"type": "function",
|
|
74
|
+
"description": "Overrides the default validator's rangeUnderflow message detail.",
|
|
75
|
+
"displayName": "Date Range Underflow Message Detail",
|
|
76
|
+
"help": "#dateRangeUnderflowMessageDetail"
|
|
77
|
+
},
|
|
78
|
+
"disabled": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "Specifies whether the component is disabled.",
|
|
81
|
+
"displayName": "Disabled",
|
|
82
|
+
"help": "#disabled",
|
|
83
|
+
"value": false
|
|
84
|
+
},
|
|
85
|
+
"displayOptions": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"description": "Display options for auxiliary content that determines whether or not it should be displayed.",
|
|
88
|
+
"displayName": "Display Options",
|
|
89
|
+
"help": "#displayOptions",
|
|
90
|
+
"properties": {
|
|
91
|
+
"messages": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enumValues": [
|
|
94
|
+
"none",
|
|
95
|
+
"display"
|
|
96
|
+
],
|
|
97
|
+
"value": "display"
|
|
98
|
+
},
|
|
99
|
+
"validatorHint": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enumValues": [
|
|
102
|
+
"none",
|
|
103
|
+
"display"
|
|
104
|
+
],
|
|
105
|
+
"value": "display"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"help": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"description": "Form component help information.",
|
|
112
|
+
"displayName": "Help",
|
|
113
|
+
"help": "#help",
|
|
114
|
+
"properties": {
|
|
115
|
+
"instruction": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"value": ""
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"helpHints": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"description": "The helpHints object contains a definition property and a source property.",
|
|
124
|
+
"displayName": "Help Hints",
|
|
125
|
+
"help": "#helpHints",
|
|
126
|
+
"properties": {
|
|
127
|
+
"definition": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"value": ""
|
|
130
|
+
},
|
|
131
|
+
"source": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"value": ""
|
|
134
|
+
},
|
|
135
|
+
"sourceText": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"labelEdge": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "Specifies how the label is positioned for the component",
|
|
143
|
+
"displayName": "Label Edge",
|
|
144
|
+
"help": "#labelEdge",
|
|
145
|
+
"propertyEditorValues": {
|
|
146
|
+
"inside": {
|
|
147
|
+
"description": "The label floats over the input element, but moves up on focus or when the component has a value (default, if unspecified).",
|
|
148
|
+
"displayName": "Inside"
|
|
149
|
+
},
|
|
150
|
+
"none": {
|
|
151
|
+
"description": "The component will not create a label, but instead set the aria-label property on the input element.",
|
|
152
|
+
"displayName": "None"
|
|
153
|
+
},
|
|
154
|
+
"start": {
|
|
155
|
+
"description": "The label will be placed before the start of the component.",
|
|
156
|
+
"displayName": "Start"
|
|
157
|
+
},
|
|
158
|
+
"top": {
|
|
159
|
+
"description": "The label will be placed on top of the component.",
|
|
160
|
+
"displayName": "Top"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"enumValues": [
|
|
164
|
+
"none",
|
|
165
|
+
"start",
|
|
166
|
+
"top",
|
|
167
|
+
"inside"
|
|
168
|
+
],
|
|
169
|
+
"binding": {
|
|
170
|
+
"consume": {
|
|
171
|
+
"name": "containerLabelEdge"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"labelHint": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "Represents a hint for rendering a label on the component.",
|
|
178
|
+
"displayName": "Label Hint",
|
|
179
|
+
"help": "#labelHint",
|
|
180
|
+
"required": true,
|
|
181
|
+
"translatable": true
|
|
182
|
+
},
|
|
183
|
+
"labelStartWidth": {
|
|
184
|
+
"type": "number|string",
|
|
185
|
+
"description": "The width of the label when labelEdge is 'start'.",
|
|
186
|
+
"displayName": "Label Start Width",
|
|
187
|
+
"help": "#labelStartWidth",
|
|
188
|
+
"binding": {
|
|
189
|
+
"consume": {
|
|
190
|
+
"name": "labelWidth"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"labelWrapping": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"description": "Should the labels wrap or truncate when there is not enough available space.",
|
|
197
|
+
"displayName": "Label Wrapping",
|
|
198
|
+
"help": "#labelWrapping",
|
|
199
|
+
"propertyEditorValues": {
|
|
200
|
+
"truncate": {
|
|
201
|
+
"description": "Label will truncate if needed.",
|
|
202
|
+
"displayName": "Truncate"
|
|
203
|
+
},
|
|
204
|
+
"wrap": {
|
|
205
|
+
"description": "Label will wrap if needed.",
|
|
206
|
+
"displayName": "Wrap"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"enumValues": [
|
|
210
|
+
"truncate",
|
|
211
|
+
"wrap"
|
|
212
|
+
],
|
|
213
|
+
"binding": {
|
|
214
|
+
"consume": {
|
|
215
|
+
"name": "labelWrapping"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"max": {
|
|
220
|
+
"type": "object|null",
|
|
221
|
+
"description": "The maximum selectable year and month",
|
|
222
|
+
"displayName": "Max",
|
|
223
|
+
"help": "#max",
|
|
224
|
+
"properties": {
|
|
225
|
+
"year": {
|
|
226
|
+
"type": "number"
|
|
227
|
+
},
|
|
228
|
+
"month": {
|
|
229
|
+
"type": "number"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"messagesCustom": {
|
|
234
|
+
"type": "Array<object>",
|
|
235
|
+
"description": "List of custom component messages",
|
|
236
|
+
"displayName": "Messages Custom",
|
|
237
|
+
"help": "#messagesCustom",
|
|
238
|
+
"extension": {
|
|
239
|
+
"vbdt": {
|
|
240
|
+
"itemProperties": {
|
|
241
|
+
"summary": {
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
"detail": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
"severity": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"enumValues": [
|
|
250
|
+
"error",
|
|
251
|
+
"confirmation",
|
|
252
|
+
"info",
|
|
253
|
+
"warning"
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"writeback": true,
|
|
260
|
+
"value": []
|
|
261
|
+
},
|
|
262
|
+
"min": {
|
|
263
|
+
"type": "object|null",
|
|
264
|
+
"description": "The minimum selectable year and month",
|
|
265
|
+
"displayName": "Min",
|
|
266
|
+
"help": "#min",
|
|
267
|
+
"properties": {
|
|
268
|
+
"year": {
|
|
269
|
+
"type": "number"
|
|
270
|
+
},
|
|
271
|
+
"month": {
|
|
272
|
+
"type": "number"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"readonly": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"description": "Whether the component is readonly",
|
|
279
|
+
"displayName": "Readonly",
|
|
280
|
+
"help": "#readonly",
|
|
281
|
+
"binding": {
|
|
282
|
+
"consume": {
|
|
283
|
+
"name": "containerReadonly"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"value": false
|
|
287
|
+
},
|
|
288
|
+
"required": {
|
|
289
|
+
"type": "boolean",
|
|
290
|
+
"description": "Specifies whether or not the component is required.",
|
|
291
|
+
"displayName": "Required",
|
|
292
|
+
"help": "#required",
|
|
293
|
+
"value": false
|
|
294
|
+
},
|
|
295
|
+
"requiredMessageDetail": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"description": "Overrides the default Required error message.",
|
|
298
|
+
"displayName": "Required Message Detail",
|
|
299
|
+
"help": "#requiredMessageDetail",
|
|
300
|
+
"translatable": true
|
|
301
|
+
},
|
|
302
|
+
"textAlign": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"description": "Specifies how the text is aligned within the text field",
|
|
305
|
+
"displayName": "Text Align",
|
|
306
|
+
"help": "#textAlign",
|
|
307
|
+
"propertyEditorValues": {
|
|
308
|
+
"start": {
|
|
309
|
+
"description": "Aligns text left when reading direction is ltr and right when reading direction is rtl (default, if unspecified).",
|
|
310
|
+
"displayName": "Start"
|
|
311
|
+
},
|
|
312
|
+
"end": {
|
|
313
|
+
"description": "Aligns text right when reading direction is ltr and left when reading direction is rtl.",
|
|
314
|
+
"displayName": "End"
|
|
315
|
+
},
|
|
316
|
+
"right": {
|
|
317
|
+
"description": "Aligns text right regardless of reading direction, often used for numbers.",
|
|
318
|
+
"displayName": "Right"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"enumValues": [
|
|
322
|
+
"end",
|
|
323
|
+
"start",
|
|
324
|
+
"right"
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"userAssistanceDensity": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"description": "Specifies the density of the form component's user assistance presentation.",
|
|
330
|
+
"displayName": "User Assistance Density",
|
|
331
|
+
"help": "#userAssistanceDensity",
|
|
332
|
+
"propertyEditorValues": {
|
|
333
|
+
"reflow": {
|
|
334
|
+
"description": "Messages, help, hints, and required are all shown inline under the field with no reserved space.",
|
|
335
|
+
"displayName": "Reflow"
|
|
336
|
+
},
|
|
337
|
+
"efficient": {
|
|
338
|
+
"description": "Messages, help, hints, and required are all shown inline under the field with reserved space.",
|
|
339
|
+
"displayName": "Efficient"
|
|
340
|
+
},
|
|
341
|
+
"compact": {
|
|
342
|
+
"description": "Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required.",
|
|
343
|
+
"displayName": "Compact"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"enumValues": [
|
|
347
|
+
"compact",
|
|
348
|
+
"reflow",
|
|
349
|
+
"efficient"
|
|
350
|
+
],
|
|
351
|
+
"binding": {
|
|
352
|
+
"consume": {
|
|
353
|
+
"name": "containerUserAssistanceDensity"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"value": "reflow"
|
|
357
|
+
},
|
|
358
|
+
"validators": {
|
|
359
|
+
"type": "Array<object>|null",
|
|
360
|
+
"description": "Specifies the validators for the component.",
|
|
361
|
+
"displayName": "Validators",
|
|
362
|
+
"help": "#validators",
|
|
363
|
+
"value": []
|
|
364
|
+
},
|
|
365
|
+
"value": {
|
|
366
|
+
"type": "object|null",
|
|
367
|
+
"description": "The value of the component.",
|
|
368
|
+
"displayName": "Value",
|
|
369
|
+
"help": "#value",
|
|
370
|
+
"properties": {
|
|
371
|
+
"year": {
|
|
372
|
+
"type": "number"
|
|
373
|
+
},
|
|
374
|
+
"month": {
|
|
375
|
+
"type": "number"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"writeback": true,
|
|
379
|
+
"value": null
|
|
380
|
+
},
|
|
381
|
+
"rawValue": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"description": "Specifies how the raw value of the component",
|
|
384
|
+
"displayName": "Raw Value",
|
|
385
|
+
"help": "#rawValue",
|
|
386
|
+
"properties": {
|
|
387
|
+
"year": {
|
|
388
|
+
"type": "number"
|
|
389
|
+
},
|
|
390
|
+
"month": {
|
|
391
|
+
"type": "number"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"readOnly": true,
|
|
395
|
+
"writeback": true
|
|
396
|
+
},
|
|
397
|
+
"valid": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"description": "Specifies how the valid state of the component",
|
|
400
|
+
"displayName": "Valid",
|
|
401
|
+
"help": "#valid",
|
|
402
|
+
"propertyEditorValues": {
|
|
403
|
+
"valid": {
|
|
404
|
+
"description": "The component is valid",
|
|
405
|
+
"displayName": "Valid"
|
|
406
|
+
},
|
|
407
|
+
"pending": {
|
|
408
|
+
"description": "The component is waiting for the validation state to be determined. The 'pending' state is set at the start of the validation process.",
|
|
409
|
+
"displayName": "Pending"
|
|
410
|
+
},
|
|
411
|
+
"invalidHidden": {
|
|
412
|
+
"description": "The component has invalid messages hidden and no invalid messages showing. An invalid message is one with severity 'error'.",
|
|
413
|
+
"displayName": "Invalid Hidden"
|
|
414
|
+
},
|
|
415
|
+
"invalidShown": {
|
|
416
|
+
"description": "The component has invalid messages showing. An invalid message is one with severity 'error'.",
|
|
417
|
+
"displayName": "Invalid Shown"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"enumValues": [
|
|
421
|
+
"pending",
|
|
422
|
+
"valid",
|
|
423
|
+
"invalidHidden",
|
|
424
|
+
"invalidShown"
|
|
425
|
+
],
|
|
426
|
+
"readOnly": true,
|
|
427
|
+
"writeback": true
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"methods": {
|
|
431
|
+
"blur": {
|
|
432
|
+
"description": "Blurs the field.",
|
|
433
|
+
"return": "void"
|
|
434
|
+
},
|
|
435
|
+
"focus": {
|
|
436
|
+
"description": "Focuses the field.",
|
|
437
|
+
"return": "void"
|
|
438
|
+
},
|
|
439
|
+
"showMessages": {
|
|
440
|
+
"description": "Takes all deferred messages and shows them.",
|
|
441
|
+
"return": "void"
|
|
442
|
+
},
|
|
443
|
+
"reset": {
|
|
444
|
+
"description": "Resets the component by clearing all messages and updating the component's display value using the attribute value.",
|
|
445
|
+
"return": "void"
|
|
446
|
+
},
|
|
447
|
+
"validate": {
|
|
448
|
+
"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.",
|
|
449
|
+
"return": "Promise"
|
|
450
|
+
},
|
|
451
|
+
"setProperty": {
|
|
452
|
+
"description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
|
|
453
|
+
"help": "#setProperty",
|
|
454
|
+
"params": [
|
|
455
|
+
{
|
|
456
|
+
"name": "property",
|
|
457
|
+
"description": "The property name to set. Supports dot notation for subproperty access.",
|
|
458
|
+
"type": "string"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "value",
|
|
462
|
+
"description": "The new value to set the property to.",
|
|
463
|
+
"type": "any"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"return": "void"
|
|
467
|
+
},
|
|
468
|
+
"getProperty": {
|
|
469
|
+
"description": "Retrieves the value of a property or a subproperty.",
|
|
470
|
+
"help": "#getProperty",
|
|
471
|
+
"params": [
|
|
472
|
+
{
|
|
473
|
+
"name": "property",
|
|
474
|
+
"description": "The property name to get. Supports dot notation for subproperty access.",
|
|
475
|
+
"type": "string"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"return": "any"
|
|
479
|
+
},
|
|
480
|
+
"setProperties": {
|
|
481
|
+
"description": "Performs a batch set of properties.",
|
|
482
|
+
"help": "#setProperties",
|
|
483
|
+
"params": [
|
|
484
|
+
{
|
|
485
|
+
"name": "properties",
|
|
486
|
+
"description": "An object containing the property and value pairs to set.",
|
|
487
|
+
"type": "object"
|
|
488
|
+
}
|
|
489
|
+
],
|
|
490
|
+
"return": "void"
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
define(["require", "exports", "./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
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext", "@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode", "@oracle/oraclejet-preact/UNSAFE_InputDateMask", "oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText", "ojs/ojcontext", "ojs/ojvcomponent", "preact/compat", "preact/hooks", "./useInputMonthMaskPreact", "@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout", "@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils", "css!oj-c/input-month-mask/input-month-mask-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_useFormContext_1, UNSAFE_useFormVariantContext_1, UNSAFE_useTabbableMode_1, UNSAFE_InputDateMask_1, useAssistiveText_1, Context, ojvcomponent_1, compat_1, hooks_1, useInputMonthMaskPreact_1, Layout_1, UNSAFE_calendarDateUtils_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.InputMonthMask = void 0;
|
|
5
|
+
const displayOptionsDefault = {
|
|
6
|
+
messages: 'display',
|
|
7
|
+
validatorHint: 'display'
|
|
8
|
+
};
|
|
9
|
+
const helpDefault = {
|
|
10
|
+
instruction: ''
|
|
11
|
+
};
|
|
12
|
+
const helpHintsDefault = {
|
|
13
|
+
definition: '',
|
|
14
|
+
source: ''
|
|
15
|
+
};
|
|
16
|
+
const messagesCustomDefault = [];
|
|
17
|
+
const validatorsDefault = [];
|
|
18
|
+
const InputMonthMaskImpl = ({ columnSpan = 1, disabled = false, displayOptions = displayOptionsDefault, help = helpDefault, helpHints = helpHintsDefault, messagesCustom = messagesCustomDefault, readonly = false, required = false, userAssistanceDensity = 'reflow', validators = validatorsDefault, value = null, ...otherProps }, ref) => {
|
|
19
|
+
const rootRef = (0, hooks_1.useRef)();
|
|
20
|
+
const inputMonthMaskRef = (0, hooks_1.useRef)();
|
|
21
|
+
const addBusyState = (0, hooks_1.useCallback)((description = 'InputMonthMask: busyState') => {
|
|
22
|
+
return rootRef.current
|
|
23
|
+
? Context.getContext(rootRef.current).getBusyContext().addBusyState({ description })
|
|
24
|
+
: () => { };
|
|
25
|
+
}, []);
|
|
26
|
+
const { inputMonthMaskProps, methods } = (0, useInputMonthMaskPreact_1.useInputMonthMaskPreact)({
|
|
27
|
+
disabled,
|
|
28
|
+
displayOptions,
|
|
29
|
+
messagesCustom,
|
|
30
|
+
readonly,
|
|
31
|
+
required,
|
|
32
|
+
userAssistanceDensity,
|
|
33
|
+
validators,
|
|
34
|
+
value,
|
|
35
|
+
...otherProps
|
|
36
|
+
}, addBusyState);
|
|
37
|
+
(0, hooks_1.useImperativeHandle)(ref, () => ({
|
|
38
|
+
blur: () => inputMonthMaskRef.current?.blur(),
|
|
39
|
+
focus: () => inputMonthMaskRef.current?.focus(),
|
|
40
|
+
...methods
|
|
41
|
+
}), [methods]);
|
|
42
|
+
const assistiveTextProps = (0, useAssistiveText_1.useAssistiveText)({
|
|
43
|
+
displayOptions,
|
|
44
|
+
help,
|
|
45
|
+
helpHints,
|
|
46
|
+
userAssistanceDensity: inputMonthMaskProps.userAssistanceDensity,
|
|
47
|
+
validators
|
|
48
|
+
});
|
|
49
|
+
const variant = (0, UNSAFE_useFormVariantContext_1.useFormVariantContext)();
|
|
50
|
+
const containerProps = {
|
|
51
|
+
isFormLayout: otherProps.containerReadonly !== undefined,
|
|
52
|
+
isReadonly: otherProps.containerReadonly,
|
|
53
|
+
labelWrapping: otherProps.labelWrapping
|
|
54
|
+
};
|
|
55
|
+
if (!(0, UNSAFE_calendarDateUtils_1.isValidCalendarMonthRequired)(value)) {
|
|
56
|
+
throw new Error('If the value property is defined, it must be an object with year and month defined.');
|
|
57
|
+
}
|
|
58
|
+
if (!(0, UNSAFE_calendarDateUtils_1.isValidCalendarMonthRequired)(otherProps.min)) {
|
|
59
|
+
throw new Error('If the min property is defined, it must be an object with year and month defined.');
|
|
60
|
+
}
|
|
61
|
+
if (!(0, UNSAFE_calendarDateUtils_1.isValidCalendarMonthRequired)(otherProps.max)) {
|
|
62
|
+
throw new Error('If the max property is defined, it must be an object with year and month defined.');
|
|
63
|
+
}
|
|
64
|
+
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { id: otherProps.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_InputDateMask_1.InputDateMask, { ref: inputMonthMaskRef, ...assistiveTextProps, ...inputMonthMaskProps, variant: variant, granularity: "month" }) }) }));
|
|
65
|
+
};
|
|
66
|
+
exports.InputMonthMask = (0, ojvcomponent_1.registerCustomElement)('oj-c-input-month-mask', (0, compat_1.forwardRef)(InputMonthMaskImpl), "InputMonthMask", { "properties": { "columnSpan": { "type": "number" }, "containerReadonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "dateRangeOverflowMessageDetail": { "type": "function" }, "dateRangeUnderflowMessageDetail": { "type": "function" }, "disabled": { "type": "boolean" }, "displayOptions": { "type": "object", "properties": { "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": "object|null", "properties": { "year": { "type": "number" }, "month": { "type": "number" } } }, "messagesCustom": { "type": "Array<object>", "writeback": true }, "min": { "type": "object|null", "properties": { "year": { "type": "number" }, "month": { "type": "number" } } }, "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": "object|null", "properties": { "year": { "type": "number" }, "month": { "type": "number" } }, "writeback": true }, "rawValue": { "type": "object", "properties": { "year": { "type": "number" }, "month": { "type": "number" } }, "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"] }, "methods": { "blur": {}, "focus": {}, "showMessages": {}, "reset": {}, "validate": {} } }, { "columnSpan": 1, "disabled": false, "displayOptions": { "messages": "display", "validatorHint": "display" }, "help": { "instruction": "" }, "helpHints": { "definition": "", "source": "" }, "messagesCustom": [], "readonly": false, "required": false, "userAssistanceDensity": "reflow", "validators": [], "value": null }, {
|
|
67
|
+
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
68
|
+
}, { consume: [UNSAFE_useFormVariantContext_1.FormVariantContext, UNSAFE_useTabbableMode_1.TabbableModeContext] });
|
|
69
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
define(["require", "exports", "preact/hooks", "./CalendarMonthRangeValidator", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"], function (require, exports, hooks_1, CalendarMonthRangeValidator_1, UNSAFE_useTranslationBundle_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.useImplicitCalendarMonthRangeValidator = void 0;
|
|
5
|
+
function useImplicitCalendarMonthRangeValidator({ formatObj, dateRangeOverflowMessageDetail, dateRangeUnderflowMessageDetail, max, min }) {
|
|
6
|
+
const translations = (0, UNSAFE_useTranslationBundle_1.useTranslationBundle)('@oracle/oraclejet-preact');
|
|
7
|
+
const defaultRangeOverflowMessageDetailFn = translations.inputMonthMask_dateRangeOverflowMessageDetail;
|
|
8
|
+
const defaultRangeUnderflowMessageDetailFn = translations.inputMonthMask_dateRangeUnderflowMessageDetail;
|
|
9
|
+
const calendarMonthRangeValidator = (0, hooks_1.useMemo)(() => {
|
|
10
|
+
if (min !== undefined || max !== undefined) {
|
|
11
|
+
return new CalendarMonthRangeValidator_1.CalendarMonthRangeValidator({
|
|
12
|
+
defaultRangeOverflowMessageDetailFn,
|
|
13
|
+
defaultRangeUnderflowMessageDetailFn,
|
|
14
|
+
formatObj,
|
|
15
|
+
max,
|
|
16
|
+
min,
|
|
17
|
+
dateRangeOverflowMessageDetail,
|
|
18
|
+
dateRangeUnderflowMessageDetail
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return null;
|
|
22
|
+
}, [formatObj, dateRangeOverflowMessageDetail, dateRangeUnderflowMessageDetail, min, max]);
|
|
23
|
+
return calendarMonthRangeValidator;
|
|
24
|
+
}
|
|
25
|
+
exports.useImplicitCalendarMonthRangeValidator = useImplicitCalendarMonthRangeValidator;
|
|
26
|
+
});
|