@oracle/oraclejet-core-pack 17.0.4 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oj-c/ActionCard.json +1 -1
- package/oj-c/AreaChart.json +270 -178
- package/oj-c/Button.json +1 -1
- package/oj-c/ButtonsetMultiple.json +8 -8
- package/oj-c/ButtonsetSingle.json +8 -8
- package/oj-c/CardView.json +25 -12
- package/oj-c/Checkbox.json +4 -4
- package/oj-c/Checkboxset.json +92 -7
- package/oj-c/Collapsible.json +8 -8
- package/oj-c/ConveyorBelt.json +67 -5
- package/oj-c/DatePicker.json +96 -3
- package/oj-c/FilePicker.json +6 -6
- package/oj-c/FormControlWrapper/FormControlWrapper.js +54 -0
- package/oj-c/FormControlWrapper/index.js +6 -0
- package/oj-c/InputDateMask.json +16 -5
- package/oj-c/InputDatePicker.json +115 -58
- package/oj-c/InputDateText.json +62 -51
- package/oj-c/InputMonthMask.json +67 -149
- package/oj-c/InputNumber.json +25 -4
- package/oj-c/InputPassword.json +12 -1
- package/oj-c/InputSensitiveText.json +16 -5
- package/oj-c/InputText.json +23 -2
- package/oj-c/Legend.json +358 -321
- package/oj-c/LegendSection.json +1 -1
- package/oj-c/LineChart.json +270 -178
- package/oj-c/ListItemLayout.json +20 -0
- package/oj-c/ListView.json +84 -62
- package/oj-c/MenuButton.json +432 -4
- package/oj-c/MessageBanner.json +20 -17
- package/oj-c/MessageToast.json +21 -18
- package/oj-c/MeterBar.json +1627 -35
- package/oj-c/MeterCircle.json +1579 -6
- package/oj-c/Popup.json +56 -1
- package/oj-c/ProgressButton.json +567 -0
- package/oj-c/Radioset.json +92 -7
- package/oj-c/RatingGauge.json +2 -2
- package/oj-c/SelectMultiple.json +156 -10
- package/oj-c/SelectSingle.json +140 -11
- package/oj-c/SelectionCard.json +1 -2
- package/oj-c/Selector.json +11 -1
- package/oj-c/SelectorAll.json +11 -1
- package/oj-c/SplitMenuButton.json +161 -327
- package/oj-c/TabBar.json +169 -12
- package/oj-c/TabBarMixed.json +14 -14
- package/oj-c/Table.json +2117 -0
- package/oj-c/TagCloud.json +114 -8
- package/oj-c/TextArea.json +23 -2
- package/oj-c/action-card/component.json +4 -4
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +2 -2
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +1 -1
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
- package/oj-c/area-chart/area-chart.js +6 -5
- package/oj-c/area-chart/component.json +30 -5
- package/oj-c/area-chart-group/component.json +2 -2
- package/oj-c/area-chart-item/component.json +2 -2
- package/oj-c/area-chart-series/component.json +2 -2
- package/oj-c/avatar/component.json +3 -3
- package/oj-c/button/component.json +4 -4
- package/oj-c/buttonset-multiple/component.json +4 -4
- package/oj-c/buttonset-single/component.json +4 -4
- package/oj-c/card-view/__webdriver__/CardViewWebElement.js +5 -13
- package/oj-c/card-view/__webdriver__/CardViewWebElement.js.map +1 -1
- package/oj-c/card-view/card-view.js +7 -4
- package/oj-c/card-view/component.json +3 -3
- package/oj-c/checkbox/checkbox.js +1 -17
- package/oj-c/checkbox/component.json +3 -3
- package/oj-c/checkbox/useCheckboxPreact.js +26 -13
- package/oj-c/checkboxset/component.json +3 -3
- package/oj-c/checkboxset/useCheckboxsetPreact.js +17 -13
- package/oj-c/collapsible/component.json +3 -3
- package/oj-c/component.json +13 -5
- package/oj-c/conveyor-belt/component.json +3 -3
- package/oj-c/corepackbundle.js +1474 -315
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.d.ts +7 -0
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js +9 -0
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js.map +1 -1
- package/oj-c/date-picker/component.json +26 -5
- package/oj-c/date-picker/date-picker.js +3 -3
- package/oj-c/drag-handle/component.json +3 -3
- package/oj-c/drawer-layout/component.json +3 -3
- package/oj-c/drawer-popup/component.json +3 -3
- package/oj-c/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +3 -3
- package/oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
- package/oj-c/editable-value/UNSAFE_useValue/useValue.js +3 -3
- package/oj-c/editable-value/utils/utils.js +13 -1
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +20 -10
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -1
- package/oj-c/file-picker/component.json +3 -3
- package/oj-c/form-layout/component.json +3 -3
- package/oj-c/highlight-text/component.json +3 -3
- package/oj-c/hooks/UNSAFE_useEditableValue/useEditableValue.js +36 -18
- package/oj-c/hooks/UNSAFE_useListData/useListData.js +10 -6
- package/oj-c/input-date-mask/component.json +3 -3
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.d.ts +7 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js +9 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js.map +1 -1
- package/oj-c/input-date-picker/component.json +29 -5
- package/oj-c/input-date-picker/input-date-picker.js +3 -2
- package/oj-c/input-date-picker/useInputDatePicker.js +2 -1
- package/oj-c/input-date-text/component.json +3 -3
- package/oj-c/input-month-mask/component.json +3 -3
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +1 -1
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +1 -1
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -1
- package/oj-c/input-number/component.json +6 -6
- package/oj-c/input-number/useNumberInputTextPreact.js +3 -2
- package/oj-c/input-password/component.json +3 -3
- package/oj-c/input-password/useInputPasswordPreact.js +14 -11
- package/oj-c/input-sensitive-text/component.json +3 -3
- package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +14 -11
- package/oj-c/input-text/component.json +3 -3
- package/oj-c/input-text/useInputTextPreact.js +4 -3
- package/oj-c/labelled-link/component.json +3 -3
- package/oj-c/legend/__webdriver__/LegendWebElementBase.d.ts +1 -1
- package/oj-c/legend/__webdriver__/LegendWebElementBase.js +1 -1
- package/oj-c/legend/__webdriver__/LegendWebElementBase.js.map +1 -1
- package/oj-c/legend/component.json +14 -3
- package/oj-c/legend/legend.js +5 -1
- package/oj-c/legend-item/component.json +2 -2
- package/oj-c/legend-section/component.json +2 -3
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +2 -2
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +1 -1
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
- package/oj-c/line-chart/component.json +30 -5
- package/oj-c/line-chart/line-chart.js +6 -5
- package/oj-c/line-chart-group/component.json +2 -2
- package/oj-c/line-chart-item/component.json +2 -2
- package/oj-c/line-chart-series/component.json +2 -2
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.d.ts +7 -0
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js +9 -0
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js.map +1 -1
- package/oj-c/list-item-layout/component.json +13 -3
- package/oj-c/list-item-layout/list-item-layout.js +4 -4
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js +4 -13
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -1
- package/oj-c/list-view/component.json +6 -3
- package/oj-c/list-view/list-view-styles.css +4 -0
- package/oj-c/list-view/list-view.js +9 -5
- package/oj-c/list-view/useHandleRemoveCurrentKey.js +13 -7
- package/oj-c/list-view/useListViewPreact.js +10 -6
- package/oj-c/menu-button/component.json +50 -5
- package/oj-c/message-banner/component.json +3 -3
- package/oj-c/message-toast/component.json +3 -3
- package/oj-c/metadata/allComponents.json +1967 -319
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.d.ts +33 -0
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js +9 -0
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js.map +1 -1
- package/oj-c/meter-bar/component.json +215 -3
- package/oj-c/meter-bar/meter-bar.js +7 -5
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.d.ts +26 -0
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js.map +1 -1
- package/oj-c/meter-circle/component.json +209 -3
- package/oj-c/meter-circle/meter-circle.js +5 -3
- package/oj-c/min/FormControlWrapper/FormControlWrapper.js +54 -0
- package/oj-c/min/FormControlWrapper/index.js +6 -0
- package/oj-c/min/area-chart.js +1 -1
- package/oj-c/min/area-chart.js.map +1 -1
- package/oj-c/min/card-view.js +1 -1
- package/oj-c/min/card-view.js.map +1 -1
- package/oj-c/min/checkbox.js +1 -1
- package/oj-c/min/checkbox.js.map +1 -1
- package/oj-c/min/checkboxset.js +1 -1
- package/oj-c/min/checkboxset.js.map +1 -1
- package/oj-c/min/corepackbundle.css +54 -1
- package/oj-c/min/corepackbundle.js +1 -1
- package/oj-c/min/corepackbundle.js.map +1 -1
- package/oj-c/min/date-picker.js +1 -1
- package/oj-c/min/date-picker.js.map +1 -1
- package/oj-c/min/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +3 -3
- package/oj-c/min/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
- package/oj-c/min/editable-value/UNSAFE_useValue/useValue.js +3 -3
- package/oj-c/min/editable-value/utils/utils.js +13 -1
- package/oj-c/min/hooks/UNSAFE_useEditableValue/useEditableValue.js +36 -18
- package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +10 -6
- 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-date-picker.js +2 -2
- package/oj-c/min/input-date-picker.js.map +1 -1
- package/oj-c/min/input-date-text.js +1 -1
- package/oj-c/min/input-date-text.js.map +1 -1
- package/oj-c/min/input-month-mask.js +1 -1
- package/oj-c/min/input-month-mask.js.map +1 -1
- package/oj-c/min/input-number.js +1 -1
- package/oj-c/min/input-number.js.map +1 -1
- package/oj-c/min/input-password.js +1 -1
- package/oj-c/min/input-password.js.map +1 -1
- package/oj-c/min/input-sensitive-text.js +1 -1
- package/oj-c/min/input-sensitive-text.js.map +1 -1
- package/oj-c/min/input-text.js +1 -1
- package/oj-c/min/input-text.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.js +1 -1
- package/oj-c/min/line-chart.js.map +1 -1
- package/oj-c/min/list-item-layout.js +1 -1
- package/oj-c/min/list-item-layout.js.map +1 -1
- package/oj-c/min/list-view/list-view-styles.css +4 -0
- 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/meter-bar.js +1 -1
- package/oj-c/min/meter-bar.js.map +1 -1
- package/oj-c/min/meter-circle.js +1 -1
- package/oj-c/min/meter-circle.js.map +1 -1
- package/oj-c/min/progress-button/progress-button-styles.css +12 -0
- package/oj-c/min/progress-button.js +2 -0
- package/oj-c/min/progress-button.js.map +1 -0
- package/oj-c/min/radioset.js +1 -1
- package/oj-c/min/radioset.js.map +1 -1
- package/oj-c/min/rating-gauge.js +1 -1
- package/oj-c/min/rating-gauge.js.map +1 -1
- package/oj-c/min/select-common/PRIVATE_DebouncingDataProviderView/Debouncer.js +78 -0
- package/oj-c/min/select-common/PRIVATE_DebouncingDataProviderView/DebouncingDataProviderView.js +92 -0
- package/oj-c/min/select-common/PRIVATE_useCache/index.js +6 -0
- package/oj-c/min/select-common/PRIVATE_useCache/useCache.js +30 -0
- package/oj-c/min/select-common/PRIVATE_useSelectData/CollectionTemplateDataProviderView.js +208 -0
- package/oj-c/min/select-common/PRIVATE_useSelectData/index.js +7 -0
- package/oj-c/min/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +98 -0
- package/oj-c/min/select-common/PRIVATE_useSelectData/useSelectData.js +24 -0
- package/oj-c/min/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +13 -4
- package/oj-c/min/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +10 -6
- 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.js +1 -1
- package/oj-c/min/selector.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.js +1 -1
- package/oj-c/min/tab-bar-mixed.js.map +1 -1
- package/oj-c/min/tab-bar.js +1 -1
- package/oj-c/min/tab-bar.js.map +1 -1
- package/oj-c/min/table/table-styles.css +39 -0
- package/oj-c/min/table.js +2 -0
- package/oj-c/min/table.js.map +1 -0
- package/oj-c/min/tag-cloud.js +1 -1
- package/oj-c/min/tag-cloud.js.map +1 -1
- package/oj-c/min/text-area.js +1 -1
- package/oj-c/min/text-area.js.map +1 -1
- package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +2 -2
- package/oj-c/popup/component.json +3 -3
- package/oj-c/progress-bar/component.json +3 -3
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.d.ts +16 -0
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js +29 -0
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js.map +1 -0
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.d.ts +72 -0
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js +95 -0
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js.map +1 -0
- package/oj-c/progress-button/__webdriver__/index.d.ts +17 -0
- package/oj-c/progress-button/__webdriver__/index.js +34 -0
- package/oj-c/progress-button/__webdriver__/index.js.map +1 -0
- package/oj-c/progress-button/component.json +258 -0
- package/oj-c/progress-button/index.js +6 -0
- package/oj-c/progress-button/progress-button-styles.css +12 -0
- package/oj-c/progress-button/progress-button.js +50 -0
- package/oj-c/progress-button.js +6 -0
- package/oj-c/progress-circle/component.json +3 -3
- package/oj-c/radioset/component.json +3 -3
- package/oj-c/radioset/useRadiosetPreact.js +9 -5
- package/oj-c/rating-gauge/component.json +3 -3
- package/oj-c/rating-gauge/rating-gauge.js +11 -3
- package/oj-c/select-common/PRIVATE_DebouncingDataProviderView/Debouncer.js +78 -0
- package/oj-c/select-common/PRIVATE_DebouncingDataProviderView/DebouncingDataProviderView.js +92 -0
- package/oj-c/select-common/PRIVATE_useCache/index.js +6 -0
- package/oj-c/select-common/PRIVATE_useCache/useCache.js +30 -0
- package/oj-c/select-common/PRIVATE_useSelectData/CollectionTemplateDataProviderView.js +208 -0
- package/oj-c/select-common/PRIVATE_useSelectData/index.js +7 -0
- package/oj-c/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +98 -0
- package/oj-c/select-common/PRIVATE_useSelectData/useSelectData.js +24 -0
- package/oj-c/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +13 -4
- package/oj-c/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +10 -6
- package/oj-c/select-multiple/component.json +101 -67
- package/oj-c/select-multiple/select-multiple.js +2 -2
- package/oj-c/select-multiple/useSelectMultiplePreact.js +68 -27
- package/oj-c/select-single/component.json +37 -3
- package/oj-c/select-single/select-single.js +2 -2
- package/oj-c/select-single/useSelectSinglePreact.js +50 -18
- package/oj-c/selection-card/component.json +3 -3
- package/oj-c/selector/component.json +3 -3
- package/oj-c/selector/selector.js +2 -2
- package/oj-c/selector-all/component.json +3 -3
- package/oj-c/split-menu-button/component.json +21 -4
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.d.ts +29 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js +89 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js.map +1 -1
- package/oj-c/tab-bar/component.json +13 -3
- package/oj-c/tab-bar/tab-bar.js +10 -4
- package/oj-c/tab-bar-mixed/DataTabBarMixed.js +1 -1
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.d.ts +15 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +36 -0
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -1
- package/oj-c/tab-bar-mixed/component.json +3 -3
- package/oj-c/tab-bar-mixed/tab-bar-mixed.js +2 -2
- package/oj-c/table/__webdriver__/TableWebElement.d.ts +106 -0
- package/oj-c/table/__webdriver__/TableWebElement.js +166 -0
- package/oj-c/table/__webdriver__/TableWebElement.js.map +1 -0
- package/oj-c/table/__webdriver__/TableWebElementBase.d.ts +153 -0
- package/oj-c/table/__webdriver__/TableWebElementBase.js +158 -0
- package/oj-c/table/__webdriver__/TableWebElementBase.js.map +1 -0
- package/oj-c/table/__webdriver__/index.d.ts +17 -0
- package/oj-c/table/__webdriver__/index.js +34 -0
- package/oj-c/table/__webdriver__/index.js.map +1 -0
- package/oj-c/table/component.json +703 -0
- package/oj-c/table/index.js +6 -0
- package/oj-c/table/table-styles.css +39 -0
- package/oj-c/table/table.js +353 -0
- package/oj-c/table.js +6 -0
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.d.ts +1 -1
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js +1 -1
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js.map +1 -1
- package/oj-c/tag-cloud/component.json +14 -3
- package/oj-c/tag-cloud/tag-cloud.js +4 -1
- package/oj-c/tag-cloud-item/component.json +2 -2
- package/oj-c/text-area/component.json +3 -3
- package/oj-c/text-area/useTextAreaAutosizePreact.js +2 -2
- package/oj-c/text-area/useTextAreaPreact.js +2 -2
- package/oj-c/toggle-button/component.json +3 -3
- package/oj-c/types/FormControlWrapper/FormControlWrapper.d.ts +36 -0
- package/oj-c/types/FormControlWrapper/index.d.ts +2 -0
- package/oj-c/types/checkbox/checkbox.d.ts +2 -1
- package/oj-c/types/checkbox/useCheckboxPreact.d.ts +3 -6
- package/oj-c/types/checkboxset/checkboxset.d.ts +3 -2
- package/oj-c/types/checkboxset/useCheckboxsetPreact.d.ts +3 -6
- package/oj-c/types/date-picker/date-picker.d.ts +6 -0
- package/oj-c/types/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.d.ts +3 -2
- package/oj-c/types/editable-value/UNSAFE_useValue/useValue.d.ts +1 -1
- package/oj-c/types/editable-value/utils/utils.d.ts +2 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/useEditableValue.d.ts +3 -1
- package/oj-c/types/hooks/UNSAFE_useListData/useListData.d.ts +2 -1
- package/oj-c/types/input-date-mask/input-date-mask.d.ts +2 -1
- package/oj-c/types/input-date-picker/input-date-picker.d.ts +8 -2
- package/oj-c/types/input-date-picker/useInputDatePicker.d.ts +1 -0
- package/oj-c/types/input-date-text/useInputDateTextPreact.d.ts +1 -1
- package/oj-c/types/input-month-mask/input-month-mask.d.ts +2 -1
- package/oj-c/types/input-number/useNumberInputTextPreact.d.ts +1 -1
- package/oj-c/types/input-password/useInputPasswordPreact.d.ts +2 -4
- package/oj-c/types/input-sensitive-text/input-sensitive-text.d.ts +2 -1
- package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +2 -4
- package/oj-c/types/input-text/useInputTextPreact.d.ts +1 -1
- package/oj-c/types/legend-section/legend-section.d.ts +2 -2
- package/oj-c/types/list-item-layout/list-item-layout.d.ts +5 -0
- package/oj-c/types/list-view/list-view.d.ts +6 -4
- package/oj-c/types/list-view/useHandleRemoveCurrentKey.d.ts +4 -2
- package/oj-c/types/list-view/useListViewPreact.d.ts +1 -1
- package/oj-c/types/meter-bar/meter-bar.d.ts +6 -1
- package/oj-c/types/meter-circle/meter-circle.d.ts +1 -1
- package/oj-c/types/progress-button/index.d.ts +2 -0
- package/oj-c/types/progress-button/progress-button.d.ts +101 -0
- package/oj-c/types/radioset/radioset.d.ts +3 -2
- package/oj-c/types/radioset/useRadiosetPreact.d.ts +3 -6
- package/oj-c/types/rating-gauge/rating-gauge.d.ts +1 -1
- package/oj-c/types/select-common/PRIVATE_DebouncingDataProviderView/Debouncer.d.ts +11 -0
- package/oj-c/types/select-common/PRIVATE_DebouncingDataProviderView/DebouncingDataProviderView.d.ts +16 -0
- package/oj-c/types/select-common/PRIVATE_useCache/index.d.ts +1 -0
- package/oj-c/types/select-common/PRIVATE_useCache/useCache.d.ts +1 -0
- package/oj-c/types/select-common/PRIVATE_useSelectData/CollectionTemplateDataProviderView.d.ts +43 -0
- package/oj-c/types/select-common/PRIVATE_useSelectData/index.d.ts +2 -0
- package/oj-c/types/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.d.ts +15 -0
- package/oj-c/types/select-common/PRIVATE_useSelectData/useSelectData.d.ts +15 -0
- package/oj-c/types/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.d.ts +4 -4
- package/oj-c/types/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.d.ts +2 -1
- package/oj-c/types/select-multiple/select-multiple.d.ts +26 -9
- package/oj-c/types/select-multiple/useSelectMultiplePreact.d.ts +28 -36
- package/oj-c/types/select-single/select-single.d.ts +26 -8
- package/oj-c/types/select-single/useSelectSinglePreact.d.ts +30 -53
- package/oj-c/types/tab-bar/tab-bar.d.ts +1 -0
- package/oj-c/types/table/index.d.ts +2 -0
- package/oj-c/types/table/table.d.ts +239 -0
- package/oj-c/types/text-area/useTextAreaAutosizePreact.d.ts +1 -1
- package/oj-c/types/text-area/useTextAreaPreact.d.ts +1 -1
- package/oj-c/types/utils/PRIVATE_ItemsMenu/items-menu.d.ts +3 -1
- package/oj-c/types/utils/UNSAFE_vizTypes/meterTypes.d.ts +2 -0
- package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +2 -2
- 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/AreaChartWebElement.html +4 -3
- package/webdriver/docs/classes/DatePickerWebElement.html +5 -2
- package/webdriver/docs/classes/InputDatePickerWebElement.html +6 -2
- package/webdriver/docs/classes/InputNumberWebElement.html +1 -1
- package/webdriver/docs/classes/LegendWebElement.html +4 -3
- package/webdriver/docs/classes/LineChartWebElement.html +4 -3
- package/webdriver/docs/classes/ListItemLayoutWebElement.html +6 -2
- package/webdriver/docs/classes/MeterBarWebElement.html +6 -2
- package/webdriver/docs/classes/ProgressButtonWebElement.html +142 -0
- package/webdriver/docs/classes/TabBarMixedWebElement.html +11 -2
- package/webdriver/docs/classes/TabBarWebElement.html +18 -2
- package/webdriver/docs/classes/TableWebElement.html +192 -0
- package/webdriver/docs/classes/TagCloudWebElement.html +4 -3
- package/webdriver/docs/functions/findProgressButton.html +8 -0
- package/webdriver/docs/functions/findTable.html +8 -0
- package/webdriver/docs/modules.html +4 -0
- package/webdriver/index.d.ts +2 -0
- package/webdriver/index.js +2 -0
- package/webdriver/index.js.map +1 -1
- package/webdriver/index.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
define(["require", "exports", "ojs/ojdataproviderfactory", "preact/hooks"], function (require, exports, ojdataproviderfactory_1, hooks_1) {
|
|
1
|
+
define(["require", "exports", "ojs/ojdatacollection-common", "ojs/ojdataproviderfactory", "preact/hooks"], function (require, exports, ojdatacollection_common_1, ojdataproviderfactory_1, hooks_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.useListData = void 0;
|
|
4
|
+
exports.getEmptyState = exports.useListData = void 0;
|
|
5
5
|
const initialState = Object.freeze({
|
|
6
6
|
status: 'loading',
|
|
7
7
|
data: null
|
|
@@ -18,11 +18,11 @@ define(["require", "exports", "ojs/ojdataproviderfactory", "preact/hooks"], func
|
|
|
18
18
|
const abortControllerRef = (0, hooks_1.useRef)(null);
|
|
19
19
|
const fetchSize = options.fetchSize && options.fetchSize > 0 ? options.fetchSize : DEFAULT_FETCH_SIZE;
|
|
20
20
|
if (!data) {
|
|
21
|
-
const emptyListState = getEmptyState('exact');
|
|
21
|
+
const emptyListState = (0, exports.getEmptyState)('exact');
|
|
22
22
|
return [emptyListState, (_) => Promise.resolve()];
|
|
23
23
|
}
|
|
24
24
|
const dataProvider = (0, hooks_1.useMemo)(() => wrapData(data), [data]);
|
|
25
|
-
const [state, dispatch] = (0, hooks_1.useReducer)(reducer, options.initialRowsFetched === 0 ? getEmptyState('atLeast') : initialState);
|
|
25
|
+
const [state, dispatch] = (0, hooks_1.useReducer)(reducer, options.initialRowsFetched === 0 ? (0, exports.getEmptyState)('atLeast') : initialState);
|
|
26
26
|
const fetchRange = (0, hooks_1.useCallback)(async (range, resultsCallback) => {
|
|
27
27
|
const fetchOptions = {
|
|
28
28
|
attributes: options.attributes,
|
|
@@ -68,6 +68,9 @@ define(["require", "exports", "ojs/ojdataproviderfactory", "preact/hooks"], func
|
|
|
68
68
|
}
|
|
69
69
|
}, [dataProvider, options.attributes, options.filterCriterion, options.sortCriteria]);
|
|
70
70
|
const loadInitial = (0, hooks_1.useCallback)(async () => {
|
|
71
|
+
if (state.status === 'loading') {
|
|
72
|
+
abortControllerRef.current?.abort((0, ojdatacollection_common_1.getAbortReason)());
|
|
73
|
+
}
|
|
71
74
|
dispatch({ status: 'loading', data: null });
|
|
72
75
|
const controller = new AbortController();
|
|
73
76
|
abortControllerRef.current = controller;
|
|
@@ -161,7 +164,7 @@ define(["require", "exports", "ojs/ojdataproviderfactory", "preact/hooks"], func
|
|
|
161
164
|
totalSizeRef.current = 0;
|
|
162
165
|
isDoneRef.current = false;
|
|
163
166
|
if (options.initialRowsFetched === 0) {
|
|
164
|
-
dispatch(getEmptyState('atLeast'));
|
|
167
|
+
dispatch((0, exports.getEmptyState)('atLeast'));
|
|
165
168
|
}
|
|
166
169
|
else if (!options.isInitialFetchDeferred) {
|
|
167
170
|
loadInitial();
|
|
@@ -183,7 +186,7 @@ define(["require", "exports", "ojs/ojdataproviderfactory", "preact/hooks"], func
|
|
|
183
186
|
totalSizeRef.current = totalSizeRef.current + itemsInserted;
|
|
184
187
|
count = count + itemsInserted;
|
|
185
188
|
shouldUpdate = itemsInserted > 0 || dataState.sizePrecision === 'exact';
|
|
186
|
-
if (itemsInserted
|
|
189
|
+
if (itemsInserted < event.detail.add.data.length) {
|
|
187
190
|
isDoneRef.current = false;
|
|
188
191
|
}
|
|
189
192
|
}
|
|
@@ -278,6 +281,7 @@ define(["require", "exports", "ojs/ojdataproviderfactory", "preact/hooks"], func
|
|
|
278
281
|
const getEmptyState = (precision) => {
|
|
279
282
|
return (precision === 'atLeast' ? emptyStateAtLeast : emptyStateExact);
|
|
280
283
|
};
|
|
284
|
+
exports.getEmptyState = getEmptyState;
|
|
281
285
|
const emptyStateAtLeast = Object.freeze({
|
|
282
286
|
status: 'success',
|
|
283
287
|
data: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-date-mask",
|
|
3
|
-
"version": "17.0
|
|
4
|
-
"jetVersion": "^17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
|
+
"jetVersion": "^17.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"webelement": {
|
|
38
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-
|
|
38
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/InputDateMaskWebElement.html"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"propertyLayout": [
|
|
@@ -216,6 +216,13 @@ export declare class InputDatePickerWebElementBase extends OjWebElement {
|
|
|
216
216
|
*
|
|
217
217
|
*/
|
|
218
218
|
getValue(): Promise<string | null>;
|
|
219
|
+
/**
|
|
220
|
+
* Gets the value of <code>weekDisplay</code> property.
|
|
221
|
+
* Whether week of the year will be shown in the DatePicker.
|
|
222
|
+
* @return The value of <code>weekDisplay</code> property.
|
|
223
|
+
*
|
|
224
|
+
*/
|
|
225
|
+
getWeekDisplay(): Promise<string>;
|
|
219
226
|
/**
|
|
220
227
|
* Gets the value of <code>rawValue</code> property.
|
|
221
228
|
* Specifies how the raw value of the component
|
|
@@ -279,6 +279,15 @@ class InputDatePickerWebElementBase extends elements_1.OjWebElement {
|
|
|
279
279
|
getValue() {
|
|
280
280
|
return this.getProperty('value');
|
|
281
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* Gets the value of <code>weekDisplay</code> property.
|
|
284
|
+
* Whether week of the year will be shown in the DatePicker.
|
|
285
|
+
* @return The value of <code>weekDisplay</code> property.
|
|
286
|
+
*
|
|
287
|
+
*/
|
|
288
|
+
getWeekDisplay() {
|
|
289
|
+
return this.getProperty('weekDisplay');
|
|
290
|
+
}
|
|
282
291
|
/**
|
|
283
292
|
* Gets the value of <code>rawValue</code> property.
|
|
284
293
|
* Specifies how the raw value of the component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputDatePickerWebElementBase.js","sourceRoot":"","sources":["InputDatePickerWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,6BAA8B,SAAQ,uBAAY;IAC7D;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,iCAAiC;QACtC,OAAO,IAAI,CAAC,WAAW,CAAO,gCAAgC,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACI,kCAAkC;QACvC,OAAO,IAAI,CAAC,WAAW,CAAO,iCAAiC,CAAC,CAAC;IACnE,CAAC;IAED;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ACb,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAW,UAAU,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AAhUD,sEAgUC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-picker WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDatePickerWebElement.ts.\n */\nexport class InputDatePickerWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRestrictionMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRestrictionMessageDetail</code> property.\n *\n */\n public getDateRestrictionMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRestrictionMessageDetail');\n }\n\n /**\n * Gets the value of <code>dayFormatter</code> property.\n * Provides additional information for rendering a day.\n * @return The value of <code>dayFormatter</code> property.\n *\n */\n public getDayFormatter(): Promise<null> {\n return this.getProperty<null>('dayFormatter');\n }\n\n /**\n * Gets the value of <code>daysOutsideMonth</code> property.\n * Specifies the behavior of days outside of the current month in the Date Picker.\n * @return The value of <code>daysOutsideMonth</code> property.\n *\n */\n public getDaysOutsideMonth(): Promise<string> {\n return this.getProperty<string>('daysOutsideMonth');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>monthAndYearPicker</code> property.\n * Specifies whether or not the DatePicker should show the toggle buttons that toggle the month grid picker and year grid picker.\n * @return The value of <code>monthAndYearPicker</code> property.\n *\n */\n public getMonthAndYearPicker(): Promise<string> {\n return this.getProperty<string>('monthAndYearPicker');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>todayTimeZone</code> property.\n * The time zone used for computing today for the Date Picker.\n * @return The value of <code>todayTimeZone</code> property.\n *\n */\n public getTodayTimeZone(): Promise<string> {\n return this.getProperty<string>('todayTimeZone');\n }\n\n /**\n * Gets the value of <code>todayButton</code> property.\n * Specifies how to render the 'Go to today' button.\n * @return The value of <code>todayButton</code> property.\n *\n */\n public getTodayButton(): Promise<string> {\n return this.getProperty<string>('todayButton');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<RawValue> {\n return this.getProperty<RawValue>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\nexport interface RawValue {\n /**\n *\n */\n year: number;\n /**\n *\n */\n month: number;\n /**\n *\n */\n day: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InputDatePickerWebElementBase.js","sourceRoot":"","sources":["InputDatePickerWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,6BAA8B,SAAQ,uBAAY;IAC7D;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,iCAAiC;QACtC,OAAO,IAAI,CAAC,WAAW,CAAO,gCAAgC,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACI,kCAAkC;QACvC,OAAO,IAAI,CAAC,WAAW,CAAO,iCAAiC,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACI,+BAA+B;QACpC,OAAO,IAAI,CAAC,WAAW,CAAO,8BAA8B,CAAC,CAAC;IAChE,CAAC;IAED;;;;;OAKG;IACI,eAAe;QAC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CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAW,UAAU,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AA1UD,sEA0UC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-picker WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDatePickerWebElement.ts.\n */\nexport class InputDatePickerWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRestrictionMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRestrictionMessageDetail</code> property.\n *\n */\n public getDateRestrictionMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRestrictionMessageDetail');\n }\n\n /**\n * Gets the value of <code>dayFormatter</code> property.\n * Provides additional information for rendering a day.\n * @return The value of <code>dayFormatter</code> property.\n *\n */\n public getDayFormatter(): Promise<null> {\n return this.getProperty<null>('dayFormatter');\n }\n\n /**\n * Gets the value of <code>daysOutsideMonth</code> property.\n * Specifies the behavior of days outside of the current month in the Date Picker.\n * @return The value of <code>daysOutsideMonth</code> property.\n *\n */\n public getDaysOutsideMonth(): Promise<string> {\n return this.getProperty<string>('daysOutsideMonth');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>monthAndYearPicker</code> property.\n * Specifies whether or not the DatePicker should show the toggle buttons that toggle the month grid picker and year grid picker.\n * @return The value of <code>monthAndYearPicker</code> property.\n *\n */\n public getMonthAndYearPicker(): Promise<string> {\n return this.getProperty<string>('monthAndYearPicker');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>todayTimeZone</code> property.\n * The time zone used for computing today for the Date Picker.\n * @return The value of <code>todayTimeZone</code> property.\n *\n */\n public getTodayTimeZone(): Promise<string> {\n return this.getProperty<string>('todayTimeZone');\n }\n\n /**\n * Gets the value of <code>todayButton</code> property.\n * Specifies how to render the 'Go to today' button.\n * @return The value of <code>todayButton</code> property.\n *\n */\n public getTodayButton(): Promise<string> {\n return this.getProperty<string>('todayButton');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>weekDisplay</code> property.\n * Whether week of the year will be shown in the DatePicker.\n * @return The value of <code>weekDisplay</code> property.\n *\n */\n public getWeekDisplay(): Promise<string> {\n return this.getProperty<string>('weekDisplay');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<RawValue> {\n return this.getProperty<RawValue>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\nexport interface RawValue {\n /**\n *\n */\n year: number;\n /**\n *\n */\n month: number;\n /**\n *\n */\n day: number;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-date-picker",
|
|
3
|
-
"version": "17.0
|
|
4
|
-
"jetVersion": "^17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
|
+
"jetVersion": "^17.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -15,8 +15,11 @@
|
|
|
15
15
|
"main": "oj-c/input-date-picker",
|
|
16
16
|
"status": [
|
|
17
17
|
{
|
|
18
|
-
"type": "
|
|
19
|
-
"since": "17.
|
|
18
|
+
"type": "supersedes",
|
|
19
|
+
"since": "17.1.0",
|
|
20
|
+
"value": [
|
|
21
|
+
"oj-input-date"
|
|
22
|
+
]
|
|
20
23
|
}
|
|
21
24
|
],
|
|
22
25
|
"extension": {
|
|
@@ -32,7 +35,7 @@
|
|
|
32
35
|
"icon": "oj-ux-ico-type-date-input"
|
|
33
36
|
},
|
|
34
37
|
"webelement": {
|
|
35
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-
|
|
38
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/InputDatePickerWebElement.html"
|
|
36
39
|
}
|
|
37
40
|
},
|
|
38
41
|
"propertyLayout": [
|
|
@@ -445,6 +448,27 @@
|
|
|
445
448
|
"writeback": true,
|
|
446
449
|
"value": null
|
|
447
450
|
},
|
|
451
|
+
"weekDisplay": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"propertyEditorValues": {
|
|
454
|
+
"none": {
|
|
455
|
+
"description": "The week of the year column will not be shown.",
|
|
456
|
+
"displayName": "None"
|
|
457
|
+
},
|
|
458
|
+
"number": {
|
|
459
|
+
"description": "Will show the week of the year as a number.",
|
|
460
|
+
"displayName": "Number"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"description": "Whether week of the year will be shown in the DatePicker.",
|
|
464
|
+
"displayName": "Week Display",
|
|
465
|
+
"help": "#weekDisplay",
|
|
466
|
+
"enumValues": [
|
|
467
|
+
"number",
|
|
468
|
+
"none"
|
|
469
|
+
],
|
|
470
|
+
"value": "none"
|
|
471
|
+
},
|
|
448
472
|
"rawValue": {
|
|
449
473
|
"type": "object",
|
|
450
474
|
"description": "Specifies how the raw value of the component",
|
|
@@ -15,7 +15,7 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
|
|
|
15
15
|
};
|
|
16
16
|
const messagesCustomDefault = [];
|
|
17
17
|
const validatorsDefault = [];
|
|
18
|
-
function InputDatePickerImpl({ columnSpan = 1, daysOutsideMonth = 'hidden', disabled = false, displayOptions = displayOptionsDefault, help = helpDefault, helpHints = helpHintsDefault, messagesCustom = messagesCustomDefault, monthAndYearPicker = 'on', required = false, todayButton = 'visible', validators = validatorsDefault, value = null, ...otherProps }, ref) {
|
|
18
|
+
function InputDatePickerImpl({ columnSpan = 1, daysOutsideMonth = 'hidden', disabled = false, displayOptions = displayOptionsDefault, help = helpDefault, helpHints = helpHintsDefault, messagesCustom = messagesCustomDefault, monthAndYearPicker = 'on', required = false, todayButton = 'visible', validators = validatorsDefault, value = null, weekDisplay = 'none', ...otherProps }, ref) {
|
|
19
19
|
const { formContextValue, inputDatePickerProps, rootProps } = (0, useInputDatePicker_1.useInputDatePicker)({
|
|
20
20
|
columnSpan,
|
|
21
21
|
daysOutsideMonth,
|
|
@@ -29,11 +29,12 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
|
|
|
29
29
|
todayButton,
|
|
30
30
|
validators,
|
|
31
31
|
value,
|
|
32
|
+
weekDisplay,
|
|
32
33
|
...otherProps
|
|
33
34
|
}, ref);
|
|
34
35
|
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ...rootProps, children: (0, jsx_runtime_1.jsx)(UNSAFE_useFormContext_1.FormContext.Provider, { value: formContextValue, children: (0, jsx_runtime_1.jsx)(UNSAFE_InputDatePicker_1.InputDatePicker, { ...inputDatePickerProps }) }) }));
|
|
35
36
|
}
|
|
36
|
-
exports.InputDatePicker = (0, ojvcomponent_1.registerCustomElement)('oj-c-input-date-picker', (0, compat_1.forwardRef)(InputDatePickerImpl), "InputDatePicker", { "properties": { "columnSpan": { "type": "number" }, "containerReadonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "dateRangeOverflowMessageDetail": { "type": "function" }, "dateRangeUnderflowMessageDetail": { "type": "function" }, "dateRestrictionMessageDetail": { "type": "function" }, "dayFormatter": { "type": "function" }, "daysOutsideMonth": { "type": "string", "enumValues": ["hidden", "selectable"] }, "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": "string|null" }, "messagesCustom": { "type": "Array<object>", "writeback": true }, "min": { "type": "string|null" }, "monthAndYearPicker": { "type": "string", "enumValues": ["off", "on"] }, "readonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "required": { "type": "boolean" }, "requiredMessageDetail": { "type": "string" }, "textAlign": { "type": "string", "enumValues": ["end", "start", "right"] }, "todayTimeZone": { "type": "string" }, "todayButton": { "type": "string", "enumValues": ["hidden", "visible"] }, "userAssistanceDensity": { "type": "string", "enumValues": ["compact", "reflow", "efficient"], "binding": { "consume": { "name": "containerUserAssistanceDensity" } } }, "validators": { "type": "Array<object>|null" }, "value": { "type": "string|null", "writeback": true }, "rawValue": { "type": "object", "properties": { "year": { "type": "number" }, "month": { "type": "number" }, "day": { "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, "daysOutsideMonth": "hidden", "disabled": false, "displayOptions": { "messages": "display", "validatorHint": "display" }, "help": { "instruction": "" }, "helpHints": { "definition": "", "source": "" }, "messagesCustom": [], "monthAndYearPicker": "on", "required": false, "todayButton": "visible", "validators": [], "value": null }, {
|
|
37
|
+
exports.InputDatePicker = (0, ojvcomponent_1.registerCustomElement)('oj-c-input-date-picker', (0, compat_1.forwardRef)(InputDatePickerImpl), "InputDatePicker", { "properties": { "columnSpan": { "type": "number" }, "containerReadonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "dateRangeOverflowMessageDetail": { "type": "function" }, "dateRangeUnderflowMessageDetail": { "type": "function" }, "dateRestrictionMessageDetail": { "type": "function" }, "dayFormatter": { "type": "function" }, "daysOutsideMonth": { "type": "string", "enumValues": ["hidden", "selectable"] }, "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": "string|null" }, "messagesCustom": { "type": "Array<object>", "writeback": true }, "min": { "type": "string|null" }, "monthAndYearPicker": { "type": "string", "enumValues": ["off", "on"] }, "readonly": { "type": "boolean", "binding": { "consume": { "name": "containerReadonly" } } }, "required": { "type": "boolean" }, "requiredMessageDetail": { "type": "string" }, "textAlign": { "type": "string", "enumValues": ["end", "start", "right"] }, "todayTimeZone": { "type": "string" }, "todayButton": { "type": "string", "enumValues": ["hidden", "visible"] }, "userAssistanceDensity": { "type": "string", "enumValues": ["compact", "reflow", "efficient"], "binding": { "consume": { "name": "containerUserAssistanceDensity" } } }, "validators": { "type": "Array<object>|null" }, "value": { "type": "string|null", "writeback": true }, "weekDisplay": { "type": "string", "enumValues": ["number", "none"] }, "rawValue": { "type": "object", "properties": { "year": { "type": "number" }, "month": { "type": "number" }, "day": { "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, "daysOutsideMonth": "hidden", "disabled": false, "displayOptions": { "messages": "display", "validatorHint": "display" }, "help": { "instruction": "" }, "helpHints": { "definition": "", "source": "" }, "messagesCustom": [], "monthAndYearPicker": "on", "required": false, "todayButton": "visible", "validators": [], "value": null, "weekDisplay": "none" }, {
|
|
37
38
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
38
39
|
}, { consume: [UNSAFE_useFormVariantContext_1.FormVariantContext, UNSAFE_useTabbableMode_1.TabbableModeContext] });
|
|
39
40
|
});
|
|
@@ -111,7 +111,8 @@ define(["require", "exports", "@oracle/oraclejet-preact/UNSAFE_IntlDateTime", "@
|
|
|
111
111
|
todayButton: props.todayButton,
|
|
112
112
|
userAssistanceDensity: inputDateMaskProps.userAssistanceDensity,
|
|
113
113
|
value: inputDateMaskProps.value,
|
|
114
|
-
variant: variant
|
|
114
|
+
variant: variant,
|
|
115
|
+
weekDisplay: props.weekDisplay
|
|
115
116
|
},
|
|
116
117
|
rootProps: {
|
|
117
118
|
id: props.id,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-date-text",
|
|
3
|
-
"version": "17.0
|
|
4
|
-
"jetVersion": "^17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
|
+
"jetVersion": "^17.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"webelement": {
|
|
38
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-
|
|
38
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/InputDateTextWebElement.html"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"propertyLayout": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-month-mask",
|
|
3
|
-
"version": "17.0
|
|
4
|
-
"jetVersion": "^17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
|
+
"jetVersion": "^17.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"webelement": {
|
|
38
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-
|
|
38
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/InputMonthMaskWebElement.html"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"propertyLayout": [
|
|
@@ -113,7 +113,7 @@ export declare class InputNumberWebElementBase extends OjWebElement {
|
|
|
113
113
|
getMax(): Promise<number | null>;
|
|
114
114
|
/**
|
|
115
115
|
* Gets the value of <code>min</code> property.
|
|
116
|
-
* The
|
|
116
|
+
* The minimum allowed value
|
|
117
117
|
* @return The value of <code>min</code> property.
|
|
118
118
|
*
|
|
119
119
|
*/
|
|
@@ -146,7 +146,7 @@ class InputNumberWebElementBase extends elements_1.OjWebElement {
|
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
148
|
* Gets the value of <code>min</code> property.
|
|
149
|
-
* The
|
|
149
|
+
* The minimum allowed value
|
|
150
150
|
* @return The value of <code>min</code> property.
|
|
151
151
|
*
|
|
152
152
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputNumberWebElementBase.js","sourceRoot":"","sources":["InputNumberWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,yBAA0B,SAAQ,uBAAY;IACzD;;;;;OAKG;IACI,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAS,cAAc,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAgB,WAAW,CAAC,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAiB,gBAAgB,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACI,OAAO;QACZ,OAAO,IAAI,CAAC,WAAW,CAAO,MAAM,CAAC,CAAC;IACxC,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAY,WAAW,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAED;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACj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/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-number WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputNumberWebElement.ts.\n */\nexport class InputNumberWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>autocomplete</code> property.\n * Dictates component's autocomplete state\n * @return The value of <code>autocomplete</code> property.\n *\n */\n public getAutocomplete(): Promise<string> {\n return this.getProperty<string>('autocomplete');\n }\n\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>converter</code> property.\n * Specifies the converter instance.\n * @return The value of <code>converter</code> property.\n *\n */\n public getConverter(): Promise<object | null> {\n return this.getProperty<object | null>('converter');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>inputPrefix</code> property.\n * The text before the input text.\n * @return The value of <code>inputPrefix</code> property.\n *\n */\n public getInputPrefix(): Promise<string> {\n return this.getProperty<string>('inputPrefix');\n }\n\n /**\n * Gets the value of <code>inputSuffix</code> property.\n * The text after the input text.\n * @return The value of <code>inputSuffix</code> property.\n *\n */\n public getInputSuffix(): Promise<string> {\n return this.getProperty<string>('inputSuffix');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum allowed value\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<number | null> {\n return this.getProperty<number | null>('max');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The maximum allowed value\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<number | null> {\n return this.getProperty<number | null>('min');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>numberRangeExactMessageDetail</code> property.\n * Overrides the default NumberRangeValidator's exact message detail.\n * @return The value of <code>numberRangeExactMessageDetail</code> property.\n *\n */\n public getNumberRangeExactMessageDetail(): Promise<string> {\n return this.getProperty<string>('numberRangeExactMessageDetail');\n }\n\n /**\n * Gets the value of <code>numberRangeOverflowMessageDetail</code> property.\n * Overrides the default NumberRangeValidator's exact message detail.\n * @return The value of <code>numberRangeOverflowMessageDetail</code> property.\n *\n */\n public getNumberRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('numberRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>numberRangeUnderflowMessageDetail</code> property.\n * Overrides the default NumberRangeValidator's exact message detail.\n * @return The value of <code>numberRangeUnderflowMessageDetail</code> property.\n *\n */\n public getNumberRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('numberRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>placeholder</code> property.\n * The placeholder text to set on the element.\n * @return The value of <code>placeholder</code> property.\n *\n */\n public getPlaceholder(): Promise<string> {\n return this.getProperty<string>('placeholder');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>step</code> property.\n * Specifies the amount to increase or decrease the value when moving in step increments. If 0, no step functionality.\n * @return The value of <code>step</code> property.\n *\n */\n public getStep(): Promise<number> {\n return this.getProperty<number>('step');\n }\n\n /**\n * Gets the value of <code>stepperVariant</code> property.\n * Variant style of step buttons. Quantitative is recommended only for non-negative integers where the step value is 1, which is common in ecommerce or procurement cases.\n * @return The value of <code>stepperVariant</code> property.\n *\n */\n public getStepperVariant(): Promise<string> {\n return this.getProperty<string>('stepperVariant');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: number | null): Promise<void> {\n return this.setProperty<number | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<number | null> {\n return this.getProperty<number | null>('value');\n }\n\n /**\n * Gets the value of <code>virtualKeyboard</code> property.\n * The type of virtual keyboard to display for entering a value on mobile browsers\n * @return The value of <code>virtualKeyboard</code> property.\n *\n */\n public getVirtualKeyboard(): Promise<string> {\n return this.getProperty<string>('virtualKeyboard');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<string> {\n return this.getProperty<string>('rawValue');\n }\n\n /**\n * Gets the value of <code>transientValue</code> property.\n * Specifies the transient value of the component\n * @return The value of <code>transientValue</code> property.\n *\n */\n public getTransientValue(): Promise<number> {\n return this.getProperty<number>('transientValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n converterHint: string;\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InputNumberWebElementBase.js","sourceRoot":"","sources":["InputNumberWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,yBAA0B,SAAQ,uBAAY;IACzD;;;;;OAKG;IACI,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAS,cAAc,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAgB,WAAW,CAAC,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QACh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;IAC9D,CAAC;IAED;;;;;OAKG;IACI,WAAW,CAAC,KAAoB;QACrC,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,kBAAkB;QACvB,OAAO,IAAI,CAAC,WAAW,CAAS,iBAAiB,CAAC,CAAC;IACrD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAS,gBAAgB,CAAC,CAAC;IACpD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AAxWD,8DAwWC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-number WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputNumberWebElement.ts.\n */\nexport class InputNumberWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>autocomplete</code> property.\n * Dictates component's autocomplete state\n * @return The value of <code>autocomplete</code> property.\n *\n */\n public getAutocomplete(): Promise<string> {\n return this.getProperty<string>('autocomplete');\n }\n\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>converter</code> property.\n * Specifies the converter instance.\n * @return The value of <code>converter</code> property.\n *\n */\n public getConverter(): Promise<object | null> {\n return this.getProperty<object | null>('converter');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>inputPrefix</code> property.\n * The text before the input text.\n * @return The value of <code>inputPrefix</code> property.\n *\n */\n public getInputPrefix(): Promise<string> {\n return this.getProperty<string>('inputPrefix');\n }\n\n /**\n * Gets the value of <code>inputSuffix</code> property.\n * The text after the input text.\n * @return The value of <code>inputSuffix</code> property.\n *\n */\n public getInputSuffix(): Promise<string> {\n return this.getProperty<string>('inputSuffix');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum allowed value\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<number | null> {\n return this.getProperty<number | null>('max');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum allowed value\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<number | null> {\n return this.getProperty<number | null>('min');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>numberRangeExactMessageDetail</code> property.\n * Overrides the default NumberRangeValidator's exact message detail.\n * @return The value of <code>numberRangeExactMessageDetail</code> property.\n *\n */\n public getNumberRangeExactMessageDetail(): Promise<string> {\n return this.getProperty<string>('numberRangeExactMessageDetail');\n }\n\n /**\n * Gets the value of <code>numberRangeOverflowMessageDetail</code> property.\n * Overrides the default NumberRangeValidator's exact message detail.\n * @return The value of <code>numberRangeOverflowMessageDetail</code> property.\n *\n */\n public getNumberRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('numberRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>numberRangeUnderflowMessageDetail</code> property.\n * Overrides the default NumberRangeValidator's exact message detail.\n * @return The value of <code>numberRangeUnderflowMessageDetail</code> property.\n *\n */\n public getNumberRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('numberRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>placeholder</code> property.\n * The placeholder text to set on the element.\n * @return The value of <code>placeholder</code> property.\n *\n */\n public getPlaceholder(): Promise<string> {\n return this.getProperty<string>('placeholder');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>step</code> property.\n * Specifies the amount to increase or decrease the value when moving in step increments. If 0, no step functionality.\n * @return The value of <code>step</code> property.\n *\n */\n public getStep(): Promise<number> {\n return this.getProperty<number>('step');\n }\n\n /**\n * Gets the value of <code>stepperVariant</code> property.\n * Variant style of step buttons. Quantitative is recommended only for non-negative integers where the step value is 1, which is common in ecommerce or procurement cases.\n * @return The value of <code>stepperVariant</code> property.\n *\n */\n public getStepperVariant(): Promise<string> {\n return this.getProperty<string>('stepperVariant');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: number | null): Promise<void> {\n return this.setProperty<number | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<number | null> {\n return this.getProperty<number | null>('value');\n }\n\n /**\n * Gets the value of <code>virtualKeyboard</code> property.\n * The type of virtual keyboard to display for entering a value on mobile browsers\n * @return The value of <code>virtualKeyboard</code> property.\n *\n */\n public getVirtualKeyboard(): Promise<string> {\n return this.getProperty<string>('virtualKeyboard');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<string> {\n return this.getProperty<string>('rawValue');\n }\n\n /**\n * Gets the value of <code>transientValue</code> property.\n * Specifies the transient value of the component\n * @return The value of <code>transientValue</code> property.\n *\n */\n public getTransientValue(): Promise<number> {\n return this.getProperty<number>('transientValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n converterHint: string;\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-number",
|
|
3
|
-
"version": "17.0
|
|
4
|
-
"jetVersion": "^17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
|
+
"jetVersion": "^17.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"webelement": {
|
|
41
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-
|
|
41
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/InputNumberWebElement.html"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"propertyLayout": [
|
|
@@ -265,9 +265,9 @@
|
|
|
265
265
|
},
|
|
266
266
|
"min": {
|
|
267
267
|
"type": "number|null",
|
|
268
|
-
"description": "The
|
|
269
|
-
"displayName": "
|
|
270
|
-
"help": "#
|
|
268
|
+
"description": "The minimum allowed value",
|
|
269
|
+
"displayName": "Min",
|
|
270
|
+
"help": "#min"
|
|
271
271
|
},
|
|
272
272
|
"messagesCustom": {
|
|
273
273
|
"type": "Array<object>",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(["require", "exports", "oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue", "oj-c/editable-value/UNSAFE_useValidators/useValidators", "./useImplicitNumberConverter", "./useImplicitNumberRangeValidator", "preact/hooks", "oj-c/editable-value/utils/utils", "./stepBasisUtils"], function (require, exports, useEditableValue_1, useValidators_1, useImplicitNumberConverter_1, useImplicitNumberRangeValidator_1, hooks_1, utils_1, stepBasisUtils_1) {
|
|
1
|
+
define(["require", "exports", "oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue", "oj-c/editable-value/UNSAFE_useValidators/useValidators", "./useImplicitNumberConverter", "./useImplicitNumberRangeValidator", "preact/hooks", "oj-c/editable-value/utils/utils", "./stepBasisUtils", "oj-c/editable-value/utils/utils"], function (require, exports, useEditableValue_1, useValidators_1, useImplicitNumberConverter_1, useImplicitNumberRangeValidator_1, hooks_1, utils_1, stepBasisUtils_1, utils_2) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.useNumberInputTextPreact = void 0;
|
|
@@ -137,6 +137,7 @@ define(["require", "exports", "oj-c/editable-value/UNSAFE_useEditableValue/useEd
|
|
|
137
137
|
await onCommitValue(parsedValue);
|
|
138
138
|
}, [onCommitValue, normalizeAndParseValue]);
|
|
139
139
|
const valueText = calculateValueText(hasUncommittedDisplayValue, displayValue, valueNow, format);
|
|
140
|
+
const normalizedVirtualKeyboard = virtualKeyboard === 'auto' ? (0, utils_2.getVirtualKeyboardHintFromConverter)(converter) : virtualKeyboard;
|
|
140
141
|
return {
|
|
141
142
|
value,
|
|
142
143
|
setValue,
|
|
@@ -173,7 +174,7 @@ define(["require", "exports", "oj-c/editable-value/UNSAFE_useEditableValue/useEd
|
|
|
173
174
|
(displayValue === '' && maxTreatNull === 0))),
|
|
174
175
|
textAlign,
|
|
175
176
|
userAssistanceDensity,
|
|
176
|
-
virtualKeyboard,
|
|
177
|
+
virtualKeyboard: normalizedVirtualKeyboard,
|
|
177
178
|
...textFieldPropsWithOverride
|
|
178
179
|
}
|
|
179
180
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-password",
|
|
3
|
-
"version": "17.0
|
|
4
|
-
"jetVersion": "^17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
|
+
"jetVersion": "^17.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
31
|
"webelement": {
|
|
32
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-
|
|
32
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/InputPasswordWebElement.html"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"propertyLayout": [
|
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
define(["require", "exports", "oj-c/editable-value/UNSAFE_useEditableValue/
|
|
1
|
+
define(["require", "exports", "oj-c/editable-value/utils/utils", "oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators", "oj-c/hooks/UNSAFE_useEditableValue/index"], function (require, exports, utils_1, useDeferredValidators_1, index_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.useInputPasswordPreact = void 0;
|
|
5
5
|
function useInputPasswordPreact({ autocomplete = 'on', autofocus, clearIcon = 'never', disabled, displayOptions, labelEdge, labelHint, labelStartWidth, maskIcon, messagesCustom, placeholder, readonly, required, requiredMessageDetail, textAlign, userAssistanceDensity, validators, value: propValue, onMessagesCustomChanged, onRawValueChanged, onValidChanged, onValueChanged, ...otherProps }, addBusyState) {
|
|
6
|
-
const
|
|
6
|
+
const deferredValidators = (0, useDeferredValidators_1.useDeferredValidators)({
|
|
7
|
+
labelHint,
|
|
8
|
+
required,
|
|
9
|
+
requiredMessageDetail
|
|
10
|
+
});
|
|
11
|
+
const { methods, textFieldProps, value } = (0, index_1.useEditableValue)({
|
|
12
|
+
addBusyState,
|
|
7
13
|
ariaDescribedBy: otherProps['aria-describedby'],
|
|
14
|
+
defaultDisplayValue: '',
|
|
15
|
+
deferredValidators,
|
|
8
16
|
disabled,
|
|
9
17
|
displayOptions,
|
|
10
18
|
messagesCustom,
|
|
11
|
-
readonly,
|
|
12
|
-
required,
|
|
13
|
-
requiredMessageDetail,
|
|
14
|
-
validators,
|
|
15
|
-
value: propValue,
|
|
16
|
-
addBusyState,
|
|
17
19
|
onMessagesCustomChanged,
|
|
18
20
|
onRawValueChanged,
|
|
19
21
|
onValidChanged,
|
|
20
|
-
onValueChanged
|
|
22
|
+
onValueChanged,
|
|
23
|
+
readonly,
|
|
24
|
+
validators: (0, utils_1.treatNull)(validators, undefined),
|
|
25
|
+
value: propValue
|
|
21
26
|
});
|
|
22
27
|
const hasNoValue = value === null || (typeof value === 'string' && value === '');
|
|
23
28
|
const hasClearIcon = clearIcon === 'conditional' ? 'conditionally' : clearIcon;
|
|
24
29
|
const hasRevealToggle = maskIcon === 'hidden' ? 'never' : 'always';
|
|
25
30
|
return {
|
|
26
|
-
value,
|
|
27
|
-
setValue,
|
|
28
31
|
methods,
|
|
29
32
|
inputPasswordProps: {
|
|
30
33
|
autoComplete: autocomplete,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-sensitive-text",
|
|
3
|
-
"version": "17.0
|
|
4
|
-
"jetVersion": "^17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
|
+
"jetVersion": "^17.1.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"webelement": {
|
|
38
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-
|
|
38
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1710/cpwdtsdoc/classes/InputSensitiveTextWebElement.html"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"propertyLayout": [
|