@oracle/oraclejet-core-pack 16.0.5 → 16.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "preact/hooks", "@oracle/oraclejet-preact/UNSAFE_LineAreaChart", "ojs/ojcontext", "ojs/ojvcomponent", "../hooks/UNSAFE_useChartData/useChartData", "../utils/PRIVATE_chartUtils/events", "../utils/PRIVATE_chartUtils/legendUtils", "../hooks/UNSAFE_useLegendPosition/useLegendPosition", "../hooks/UNSAFE_useVizCategories/useVizCategories", "@oracle/oraclejet-preact/UNSAFE_Legend", "@oracle/oraclejet-preact/UNSAFE_ChartWithLegend", "../utils/PRIVATE_chartUtils/lineAreaUtils", "oj-c/utils/PRIVATE_chartUtils/plotAreaUtils", "css!oj-c/line-chart/line-chart-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, hooks_1, UNSAFE_LineAreaChart_1, Context, ojvcomponent_1, useChartData_1, events_1, legendUtils_1, useLegendPosition_1, useVizCategories_1, UNSAFE_Legend_1, UNSAFE_ChartWithLegend_1, lineAreaUtils_1, plotAreaUtils_1) {
|
|
1
|
+
define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "preact/hooks", "@oracle/oraclejet-preact/UNSAFE_LineAreaChart", "ojs/ojcontext", "ojs/ojvcomponent", "../hooks/UNSAFE_useChartData/useChartData", "../utils/PRIVATE_chartUtils/events", "../utils/PRIVATE_chartUtils/legendUtils", "../hooks/UNSAFE_useLegendPosition/useLegendPosition", "../hooks/UNSAFE_useVizCategories/useVizCategories", "@oracle/oraclejet-preact/UNSAFE_Legend", "@oracle/oraclejet-preact/UNSAFE_ChartWithLegend", "../utils/PRIVATE_chartUtils/lineAreaUtils", "oj-c/utils/PRIVATE_chartUtils/plotAreaUtils", "../utils/PRIVATE_chartUtils/axisUtils", "css!oj-c/line-chart/line-chart-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, hooks_1, UNSAFE_LineAreaChart_1, Context, ojvcomponent_1, useChartData_1, events_1, legendUtils_1, useLegendPosition_1, useVizCategories_1, UNSAFE_Legend_1, UNSAFE_ChartWithLegend_1, lineAreaUtils_1, plotAreaUtils_1, axisUtils_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LineChart = void 0;
|
|
5
|
-
function LineChartComp({ data, hideAndShowBehavior = 'none', orientation = 'vertical', xAxis, yAxis, hoverBehavior = 'none', valueFormats, plotArea, zoomAndScroll, itemTemplate, seriesTemplate, groupTemplate, seriesComparator, groupComparator, drilling = 'off', hiddenCategories = [], highlightedCategories = [], highlightMatch = 'any', selection = [], selectionMode = 'none', stack = 'off', legend = {
|
|
5
|
+
function LineChartComp({ data, hideAndShowBehavior = 'none', orientation = 'vertical', xAxis, yAxis, hoverBehavior = 'none', valueFormats, plotArea, zoomAndScroll, itemTemplate, seriesTemplate, groupTemplate, seriesComparator, groupComparator, drilling = 'off', hiddenCategories = [], timeAxisType, highlightedCategories = [], highlightMatch = 'any', selection = [], selectionMode = 'none', stack = 'off', legend = {
|
|
6
6
|
rendered: 'on',
|
|
7
7
|
position: 'auto'
|
|
8
8
|
}, ...props }) {
|
|
@@ -48,11 +48,11 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
|
|
|
48
48
|
updateHighlighted(detail.itemId);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
const chart = series.length > 0 && groups.length > 0 ? ((0, jsx_runtime_1.jsx)(UNSAFE_LineAreaChart_1.LineAreaChart, { type: "line", width: "100%", height: "100%", series: series, groups: groups, getDataItem: getDataItem, onItemInput: onItemInput, drilling: drilling !== 'seriesOnly' ? drilling : undefined, onItemDrill: itemDrillHandler, onGroupDrill: groupDrillHandler, onSelectionChange: selectionChangeHandler, selectionMode: selectionMode, selectedIds: selectionMode === 'none' ? undefined : selection, orientation: orientation, xAxis: xAxisRest, yAxis: yAxisRest, highlightedIds: highlightedIds.length === 0 ? undefined : highlightedIds, hiddenIds: hiddenIds, plotArea: (0, plotAreaUtils_1.getPlotArea)(plotArea, yMajorTick, yMinorTick, xMajorTick), hideAndShowBehavior: hideAndShowBehavior, hoverBehavior: hoverBehavior, isStacked: stack === 'on', valueFormats: (0, lineAreaUtils_1.transformValueFormats)(valueFormats), "aria-label": props['aria-label'], "aria-describedBy": props['aria-describedby'], "aria-labelledBy": props['aria-labelledby'] })) : undefined;
|
|
51
|
+
const chart = series.length > 0 && groups.length > 0 ? ((0, jsx_runtime_1.jsx)(UNSAFE_LineAreaChart_1.LineAreaChart, { type: "line", width: "100%", height: "100%", series: series, groups: groups, getDataItem: getDataItem, onItemInput: onItemInput, drilling: drilling !== 'seriesOnly' ? drilling : undefined, onItemDrill: itemDrillHandler, onGroupDrill: groupDrillHandler, onSelectionChange: selectionChangeHandler, selectionMode: selectionMode, selectedIds: selectionMode === 'none' ? undefined : selection, orientation: orientation, xAxis: (0, axisUtils_1.getPreactAxisProps)({ ...xAxisRest, timeAxisType }), yAxis: (0, axisUtils_1.getPreactAxisProps)(yAxisRest), highlightedIds: highlightedIds.length === 0 ? undefined : highlightedIds, hiddenIds: hiddenIds, plotArea: (0, plotAreaUtils_1.getPlotArea)(plotArea, yMajorTick, yMinorTick, xMajorTick), hideAndShowBehavior: hideAndShowBehavior, hoverBehavior: hoverBehavior, isStacked: stack === 'on', valueFormats: (0, lineAreaUtils_1.transformValueFormats)(valueFormats), "aria-label": props['aria-label'], "aria-describedBy": props['aria-describedby'], "aria-labelledBy": props['aria-labelledby'] })) : undefined;
|
|
52
52
|
const chartLegend = isLegendRendered && legendData.length > 0 ? ((0, jsx_runtime_1.jsx)(UNSAFE_Legend_1.Legend, { items: legendData, orientation: legendPosition === 'start' || legendPosition === 'end' ? 'vertical' : 'horizontal', isReadOnly: !isLegendInteractive, highlightedIds: highlightedIds.length === 0 ? undefined : highlightedIds, hiddenIds: hiddenIds.length === 0 ? undefined : hiddenIds, symbolHeight: legend.symbolHeight, symbolWidth: legend.symbolWidth, onItemAction: legendItemActionHandler, onInput: legendItemInputHandler })) : undefined;
|
|
53
53
|
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ref: rootRef, children: (0, jsx_runtime_1.jsx)(UNSAFE_ChartWithLegend_1.ChartWithLegend, { chart: chart, position: legendPosition, maxSize: legend.maxSize, size: legend.size, legend: chartLegend }) }));
|
|
54
54
|
}
|
|
55
|
-
exports.LineChart = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart', LineChartComp, "LineChart", { "properties": { "groupComparator": { "type": "function" }, "stack": { "type": "string", "enumValues": ["off", "on"] }, "drilling": { "type": "string", "enumValues": ["off", "on", "groupsOnly", "seriesOnly"] }, "orientation": { "type": "string", "enumValues": ["horizontal", "vertical"] }, "yAxis": { "type": "object", "properties": { "majorTick": { "type": "object", "properties": { "lineStyle": { "type": "string", "enumValues": ["dashed", "dotted", "solid"] }, "lineWidth": { "type": "number" }, "lineColor": { "type": "string" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "
|
|
55
|
+
exports.LineChart = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart', LineChartComp, "LineChart", { "properties": { "groupComparator": { "type": "function" }, "stack": { "type": "string", "enumValues": ["off", "on"] }, "drilling": { "type": "string", "enumValues": ["off", "on", "groupsOnly", "seriesOnly"] }, "orientation": { "type": "string", "enumValues": ["horizontal", "vertical"] }, "timeAxisType": { "type": "string", "enumValues": ["enabled", "mixedFrequency", "skipGaps"] }, "yAxis": { "type": "object", "properties": { "dataMax": { "type": "number" }, "dataMin": { "type": "number" }, "max": { "type": "number" }, "min": { "type": "number" }, "majorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "dotted", "solid"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "minorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "dotted", "solid"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "tickLabel": { "type": "object", "properties": { "converter": { "type": "object" }, "rendered": { "type": "string", "enumValues": ["off", "on"] }, "style": { "type": "object" } } }, "viewportMin": { "type": "number" }, "viewportMax": { "type": "number" }, "step": { "type": "number" }, "size": { "type": "number" }, "scale": { "type": "string", "enumValues": ["linear", "log"] }, "title": { "type": "string" }, "titleStyle": { "type": "object" } } }, "xAxis": { "type": "object", "properties": { "majorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "dotted", "solid"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "minorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "dotted", "solid"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "tickLabel": { "type": "object", "properties": { "converter": { "type": "object|" }, "rendered": { "type": "string", "enumValues": ["off", "on"] }, "style": { "type": "object" } } }, "viewportMin": { "type": "number" }, "viewportMax": { "type": "number" }, "step": { "type": "number" }, "size": { "type": "number" }, "scale": { "type": "string", "enumValues": ["linear", "log"] }, "title": { "type": "string" }, "titleStyle": { "type": "object" } } }, "plotArea": { "type": "object", "properties": { "backgroundColor": { "type": "string" } } }, "zoomAndScroll": { "type": "string", "enumValues": ["off", "live"] }, "valueFormats": { "type": "object", "properties": { "group": { "type": "object", "properties": { "tooltipLabel": { "type": "string" }, "tooltipDisplay": { "type": "string", "enumValues": ["auto", "off"] } } }, "series": { "type": "object", "properties": { "tooltipLabel": { "type": "string" }, "tooltipDisplay": { "type": "string", "enumValues": ["auto", "off"] } } }, "value": { "type": "object", "properties": { "converter": { "type": "object" }, "tooltipLabel": { "type": "string" }, "tooltipDisplay": { "type": "string", "enumValues": ["auto", "off"] } } } } }, "seriesComparator": { "type": "function" }, "data": { "type": "DataProvider|null" }, "selectionMode": { "type": "string", "enumValues": ["none", "multiple", "single"] }, "selection": { "type": "Array<any>", "writeback": true }, "hiddenCategories": { "type": "Array<string>", "writeback": true }, "highlightedCategories": { "type": "Array<string>", "writeback": true }, "hideAndShowBehavior": { "type": "string", "enumValues": ["none", "withoutRescale", "withRescale"] }, "hoverBehavior": { "type": "string", "enumValues": ["none", "dim"] }, "highlightMatch": { "type": "string", "enumValues": ["all", "any"] }, "legend": { "type": "object", "properties": { "position": { "type": "string", "enumValues": ["auto", "end", "start", "top", "bottom"] }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] }, "maxSize": { "type": "number|string" }, "size": { "type": "number|string" }, "symbolHeight": { "type": "number" }, "symbolWidth": { "type": "number" } } } }, "slots": { "itemTemplate": { "data": {} }, "seriesTemplate": { "data": {} }, "groupTemplate": { "data": {} } }, "events": { "ojItemDrill": {}, "ojSeriesDrill": {}, "ojGroupDrill": {}, "ojViewportChange": {} }, "extension": { "_WRITEBACK_PROPS": ["selection", "hiddenCategories", "highlightedCategories"], "_READ_ONLY_PROPS": [], "_OBSERVED_GLOBAL_PROPS": ["aria-label", "aria-describedby", "aria-labelledby"] } }, { "hideAndShowBehavior": "none", "orientation": "vertical", "hoverBehavior": "none", "drilling": "off", "hiddenCategories": [], "highlightedCategories": [], "highlightMatch": "any", "selection": [], "selectionMode": "none", "stack": "off", "legend": { "rendered": "on", "position": "auto" } }, {
|
|
56
56
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
57
57
|
});
|
|
58
58
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "line-chart-group",
|
|
3
|
-
"version": "16.0
|
|
4
|
-
"jetVersion": "^16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
|
+
"jetVersion": "^16.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"inherit",
|
|
31
31
|
"off",
|
|
32
32
|
"on"
|
|
33
|
-
]
|
|
33
|
+
],
|
|
34
|
+
"value": "inherit"
|
|
34
35
|
},
|
|
35
36
|
"name": {
|
|
36
37
|
"type": "string",
|
|
@@ -7,7 +7,7 @@ define(["require", "exports", '@oracle/oraclejet-preact/translationBundle', "ojs
|
|
|
7
7
|
};
|
|
8
8
|
exports.LineChartGroup = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart-group', ({ drilling = exports.LineChartGroupDefaults.drilling, ...props }) => {
|
|
9
9
|
return null;
|
|
10
|
-
}, "LineChartGroup", { "properties": { "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "name": { "type": "string" }, "shortDesc": { "type": "string" } } },
|
|
10
|
+
}, "LineChartGroup", { "properties": { "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "name": { "type": "string" }, "shortDesc": { "type": "string" } } }, { "drilling": "inherit" }, {
|
|
11
11
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
12
12
|
});
|
|
13
13
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "line-chart-item",
|
|
3
|
-
"version": "16.0
|
|
4
|
-
"jetVersion": "^16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
|
+
"jetVersion": "^16.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -29,16 +29,22 @@
|
|
|
29
29
|
},
|
|
30
30
|
"groupId": {
|
|
31
31
|
"type": "Array<string>",
|
|
32
|
-
"description": "The array of
|
|
32
|
+
"description": "The array of ids for the groups the item belongs to",
|
|
33
33
|
"displayName": "Group Id",
|
|
34
34
|
"help": "#groupId"
|
|
35
35
|
},
|
|
36
36
|
"value": {
|
|
37
37
|
"type": "number",
|
|
38
|
-
"description": "The
|
|
39
|
-
"displayName": "
|
|
38
|
+
"description": "The value of the data item.",
|
|
39
|
+
"displayName": "Value",
|
|
40
40
|
"help": "#value"
|
|
41
41
|
},
|
|
42
|
+
"x": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "The x value of the data item.",
|
|
45
|
+
"displayName": "X",
|
|
46
|
+
"help": "#x"
|
|
47
|
+
},
|
|
42
48
|
"color": {
|
|
43
49
|
"type": "string",
|
|
44
50
|
"description": "The color of the data item.",
|
|
@@ -4,7 +4,7 @@ define(["require", "exports", '@oracle/oraclejet-preact/translationBundle', "ojs
|
|
|
4
4
|
exports.LineChartItem = void 0;
|
|
5
5
|
exports.LineChartItem = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart-item', ({}) => {
|
|
6
6
|
return null;
|
|
7
|
-
}, "LineChartItem", { "properties": { "seriesId": { "type": "string" }, "groupId": { "type": "Array<string>" }, "value": { "type": "number" }, "color": { "type": "string" }, "markerDisplayed": { "type": "string", "enumValues": ["auto", "off", "on"] }, "markerShape": { "type": "string", "enumValues": ["auto", "square", "circle", "diamond", "human", "plus", "star", "triangleDown", "triangleUp"] }, "markerSize": { "type": "number" }, "categories": { "type": "Array<string>" }, "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "shortDesc": { "type": "string" } } }, undefined, {
|
|
7
|
+
}, "LineChartItem", { "properties": { "seriesId": { "type": "string" }, "groupId": { "type": "Array<string>" }, "value": { "type": "number" }, "x": { "type": "string" }, "color": { "type": "string" }, "markerDisplayed": { "type": "string", "enumValues": ["auto", "off", "on"] }, "markerShape": { "type": "string", "enumValues": ["auto", "square", "circle", "diamond", "human", "plus", "star", "triangleDown", "triangleUp"] }, "markerSize": { "type": "number" }, "categories": { "type": "Array<string>" }, "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "shortDesc": { "type": "string" } } }, undefined, {
|
|
8
8
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
9
9
|
});
|
|
10
10
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "line-chart-series",
|
|
3
|
-
"version": "16.0
|
|
4
|
-
"jetVersion": "^16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
|
+
"jetVersion": "^16.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"inherit",
|
|
43
43
|
"off",
|
|
44
44
|
"on"
|
|
45
|
-
]
|
|
45
|
+
],
|
|
46
|
+
"value": "inherit"
|
|
46
47
|
},
|
|
47
48
|
"lineStyle": {
|
|
48
49
|
"type": "string",
|
|
@@ -7,7 +7,7 @@ define(["require", "exports", '@oracle/oraclejet-preact/translationBundle', "ojs
|
|
|
7
7
|
};
|
|
8
8
|
exports.LineChartSeries = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart-series', ({ drilling = exports.LineChartSeriesDefaults.drilling, ...props }) => {
|
|
9
9
|
return null;
|
|
10
|
-
}, "LineChartSeries", { "properties": { "categories": { "type": "Array<string>" }, "color": { "type": "string" }, "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "lineStyle": { "type": "string", "enumValues": ["dashed", "dotted", "solid"] }, "lineType": { "type": "string", "enumValues": ["curved", "straight"] }, "lineWidth": { "type": "number" }, "markerShape": { "type": "string", "enumValues": ["auto", "square", "circle", "diamond", "human", "plus", "star", "triangleDown", "triangleUp"] }, "markerColor": { "type": "string" }, "markerDisplayed": { "type": "string" }, "markerSize": { "type": "number" }, "name": { "type": "string" }, "shortDesc": { "type": "string" } } },
|
|
10
|
+
}, "LineChartSeries", { "properties": { "categories": { "type": "Array<string>" }, "color": { "type": "string" }, "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "lineStyle": { "type": "string", "enumValues": ["dashed", "dotted", "solid"] }, "lineType": { "type": "string", "enumValues": ["curved", "straight"] }, "lineWidth": { "type": "number" }, "markerShape": { "type": "string", "enumValues": ["auto", "square", "circle", "diamond", "human", "plus", "star", "triangleDown", "triangleUp"] }, "markerColor": { "type": "string" }, "markerDisplayed": { "type": "string" }, "markerSize": { "type": "number" }, "name": { "type": "string" }, "shortDesc": { "type": "string" } } }, { "drilling": "inherit" }, {
|
|
11
11
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
12
12
|
});
|
|
13
13
|
});
|
|
@@ -19,8 +19,8 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
|
|
|
19
19
|
render(props) {
|
|
20
20
|
const { chroming, label, disabled, suffix, size, items, display, startIcon, endIcon, selection, onSelectionChanged, onOjMenuAction, 'aria-label': accessibleLabel, 'aria-describedby': ariaDescribedBy, ...otherProps } = { ...props };
|
|
21
21
|
const { bool: isOpen, toggle: toggleOpen } = (0, UNSAFE_useToggle_1.useToggle)();
|
|
22
|
-
const
|
|
23
|
-
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, {
|
|
22
|
+
const widthProps = props.width ? { style: { width: props.width } } : {};
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ...widthProps, children: display !== 'icons' || (startIcon && endIcon) ? ((0, jsx_runtime_1.jsx)(FunctionalMenuButton, { isMenuOpen: isOpen, onToggleMenu: toggleOpen, label: display === 'icons' ? (!startIcon ? label : '') : label, suffix: display === 'icons' ? (!startIcon ? suffix : '') : suffix, ref: this.buttonRef, variant: chroming, size: size, width: '100%', "aria-label": accessibleLabel, "aria-describedby": ariaDescribedBy, icon: display !== 'label' ? props.startIcon : null, isDisabled: disabled, ...otherProps, children: (0, jsx_runtime_1.jsx)(items_menu_1.ItemsMenu, { items: items, selection: selection, onSelectionChanged: onSelectionChanged, onOjMenuAction: onOjMenuAction }) })) : ((0, jsx_runtime_1.jsx)(FunctionalIconMenuButton, { isMenuOpen: isOpen, width: '100%', onToggleMenu: toggleOpen, ref: this.buttonRef, variant: chroming, isDisabled: disabled, tooltip: props.tooltip, accessibleLabel: accessibleLabel && accessibleLabel !== '' ? accessibleLabel : props.label, "aria-describedby": ariaDescribedBy, size: props.size, isIconOnly: (!props.startIcon && props.endIcon) || (!props.startIcon && !props.endIcon)
|
|
24
24
|
? display === 'icons'
|
|
25
25
|
: false, ...otherProps, icon: props.startIcon ?? (props.endIcon ? props.endIcon : (0, jsx_runtime_1.jsx)(this.OverFlowIcon, {})), children: (0, jsx_runtime_1.jsx)(items_menu_1.ItemsMenu, { items: items, selection: selection, onSelectionChanged: onSelectionChanged, onOjMenuAction: onOjMenuAction }) })) }));
|
|
26
26
|
}
|