@dcs-tech/ui 0.3.0 → 0.6.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/README.md +1 -6
- package/dist/ChartImageMenu-CuuFnW9q.js +1481 -0
- package/dist/ChartView-nS4f4EU_.js +1703 -0
- package/dist/{SummaryChart-D4jcOv-K.js → SummaryChart-CVg6i2mx.js} +8 -10
- package/dist/{SummaryImage-BSbatHym.js → SummaryImage-CoEFzMl6.js} +3 -4
- package/dist/{SummarySeeAll-vnaL3pdy.js → SummarySeeAll-C_OUs3kn.js} +24 -20
- package/dist/assets/fileTask.worker-FQSUtwcz.js +1 -0
- package/dist/columnValue-K98ElfJc.js +610 -0
- package/dist/exportContext-CJaIv8R-.js +166 -0
- package/dist/{exportEngine-C4n1MiOw.js → exportEngine-CDLYHH0d.js} +142 -139
- package/dist/fileActions-KSaVGnaE.js +144 -0
- package/dist/geometry-ChwYB45B.js +1732 -0
- package/dist/index.js +14895 -17391
- package/dist/{defaults-BbLB8QmD.js → labels-CnqqTrne.js} +4 -81
- package/dist/runFileTask-BClLQjmv.js +109 -0
- package/dist/scrollArea-DAlVT5U7.js +214 -0
- package/dist/style.css +1 -1
- package/dist/{summaryChartData-CU_W5ocv.js → summaryChartData-pNvzaEHp.js} +2 -3
- package/dist/types/{shared-web-ui/src → components}/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Button/Button.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Button/ButtonGroup.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Button/ButtonGroupContext.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Button/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Charts/ChartTooltip.d.ts +17 -3
- package/dist/types/{shared-web-ui/src → components}/Charts/geometry.d.ts +5 -3
- package/dist/types/{shared-web-ui/src → components}/Charts/parts.d.ts +2 -1
- package/dist/types/{shared-web-ui/src → components}/Charts/ui.d.ts +1 -1
- package/dist/types/components/Charts/useUiScale.d.ts +1 -0
- package/dist/types/{shared-web-ui/src → components}/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Checkbox/CheckboxGroupContext.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Checkbox/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/ChipInput/ChipInput.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/ChipInput/index.d.ts +2 -2
- package/dist/types/{shared-web-ui/src → components}/ChipInput/useChipSuggestions.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Collapsible/Collapsible.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Collapsible/CollapsibleContext.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Collapsible/CollapsibleItem.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Collapsible/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/ColorSchemeSelect/ColorSchemeSelect.d.ts +2 -2
- package/dist/types/{shared-web-ui/src → components}/DataTable/DataTable.d.ts +1 -1
- package/dist/types/components/DataTable/DataTable.storyData.d.ts +23 -0
- package/dist/types/components/DataTable/PressButton.d.ts +2 -0
- package/dist/types/{shared-web-ui/src → components}/DataTable/cards/cardFields.d.ts +2 -4
- package/dist/types/components/DataTable/columnValue.d.ts +19 -0
- package/dist/types/components/DataTable/export/exportCells.d.ts +13 -0
- package/dist/types/{shared-web-ui/src → components}/DataTable/export/exportEngine.d.ts +2 -0
- package/dist/types/{shared-web-ui/src → components}/DataTable/export/useTableExport.d.ts +2 -0
- package/dist/types/components/DataTable/filters/FilterChips.d.ts +9 -0
- package/dist/types/{shared-web-ui/src → components}/DataTable/host.d.ts +2 -0
- package/dist/types/components/DataTable/index.d.ts +18 -0
- package/dist/types/{shared-web-ui/src → components}/DataTable/labels.d.ts +2 -0
- package/dist/types/components/DataTable/menu/layers.d.ts +1 -0
- package/dist/types/components/DataTable/rows/PressRow.d.ts +7 -0
- package/dist/types/{shared-web-ui/src → components}/DataTable/summary/summaryWidth.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/DataTable/types.d.ts +11 -0
- package/dist/types/components/DataTable/ui-local/scrollLock.d.ts +1 -0
- package/dist/types/{shared-web-ui/src → components}/DataTable/useTable.d.ts +4 -1
- package/dist/types/{shared-web-ui/src → components}/DataTable/vendor/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/DatePicker/Calendar.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/DatePicker/DatePicker.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/DatePicker/TimeField.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/DatePicker/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Dialog/DialogHost.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/EditableTable/EditableTable.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/EditableTable/EditableTableActions.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/EditableTable/EditableTableCell.d.ts +3 -3
- package/dist/types/{shared-web-ui/src → components}/EditableTable/EditableTableRow.d.ts +3 -3
- package/dist/types/{shared-web-ui/src → components}/EditableTable/EditableTableSummary.d.ts +2 -2
- package/dist/types/{shared-web-ui/src → components}/EditableTable/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/EditableTable/useEditableTable.d.ts +3 -3
- package/dist/types/{shared-web-ui/src → components}/FieldContext/FieldContext.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/FieldContext/FieldProvider.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/FieldContext/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/FieldContext/useField.d.ts +2 -2
- package/dist/types/{shared-web-ui/src → components}/FieldContext/useFieldSurface.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/FieldContext/useFormKeyboard.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/FieldWrapper/FieldWrapper.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/FieldWrapper/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/Field.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/FieldButton.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/Fields.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldBlur.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldChange.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldCondition.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldDisabled.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldRender.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldSelect.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldValidation.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/hooks/useFieldValue.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Fields/index.d.ts +1 -1
- package/dist/types/components/FileEngine/FileEngineContext.d.ts +17 -0
- package/dist/types/components/FileEngine/FileEngineProvider.d.ts +12 -0
- package/dist/types/components/FileEngine/FileJobsTray.d.ts +10 -0
- package/dist/types/components/FileEngine/index.d.ts +8 -0
- package/dist/types/components/FileEngine/labels.d.ts +29 -0
- package/dist/types/{shared-web-ui/src → components}/Form/Form.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Form/index.d.ts +1 -1
- package/dist/types/components/Image/ImagePicker.d.ts +23 -0
- package/dist/types/components/Image/ImageStrip.d.ts +13 -0
- package/dist/types/components/Image/ImageViewer.d.ts +16 -0
- package/dist/types/components/Image/index.d.ts +8 -0
- package/dist/types/components/Image/prepareImage.d.ts +19 -0
- package/dist/types/{shared-web-ui/src → components}/Input/Input.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Input/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Popover/Popover.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Popover/floatingPosition.d.ts +1 -1
- package/dist/types/components/Press/index.d.ts +2 -0
- package/dist/types/components/Press/usePress.d.ts +9 -0
- package/dist/types/{shared-web-ui/src → components}/Radio/Radio.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Radio/RadioGroup.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Radio/RadioGroupContext.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Radio/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Select/Select.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Select/index.d.ts +1 -1
- package/dist/types/components/Select/useSelect.d.ts +2 -0
- package/dist/types/{shared-web-ui/src → components}/Sidebar/Sidebar.d.ts +1 -1
- package/dist/types/components/Stepper/Stepper.d.ts +17 -0
- package/dist/types/components/Stepper/index.d.ts +2 -0
- package/dist/types/{shared-web-ui/src → components}/Suggest/Suggest.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Suggest/SuggestionList.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Suggest/index.d.ts +2 -2
- package/dist/types/{shared-web-ui/src → components}/Suggest/searchFilters.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Suggest/useSuggest.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Switch/Switch.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Switch/index.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Toast/ToastHost.d.ts +1 -0
- package/dist/types/{shared-web-ui/src → components}/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Tooltip/useTooltip.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Typography/Typography.d.ts +1 -1
- package/dist/types/{shared-web-ui/src → components}/Typography/index.d.ts +1 -1
- package/dist/types/components/UIProvider/UIFormatContext.d.ts +7 -0
- package/dist/types/components/UIProvider/UILabelsContext.d.ts +116 -0
- package/dist/types/{shared-web-ui/src → components}/UIProvider/UIProvider.d.ts +7 -2
- package/dist/types/{shared-web-ui/src → components}/UIProvider/index.d.ts +4 -0
- package/dist/types/core/hooks/index.d.ts +3 -0
- package/dist/types/core/hooks/useDebounced.d.ts +7 -0
- package/dist/types/core/hooks/usePresence.d.ts +5 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/button.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/cellRules.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/chipinput.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/collapsible.logic.d.ts +6 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/datePicker.logic.d.ts +6 -1
- package/dist/types/core/logic/displayOrder.logic.d.ts +4 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/editableTable.logic.d.ts +5 -1
- package/dist/types/core/logic/exportSafety.logic.d.ts +1 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/fieldControl.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/fieldWrapper.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/fields.logic.d.ts +1 -1
- package/dist/types/core/logic/fileQueue.logic.d.ts +28 -0
- package/dist/types/core/logic/format.logic.d.ts +4 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/index.d.ts +8 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/keyboard.logic.d.ts +1 -1
- package/dist/types/core/logic/motion.logic.d.ts +1 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/navigation.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/popupList.logic.d.ts +1 -1
- package/dist/types/core/logic/press.logic.d.ts +14 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/quickAddGrid.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/select.logic.d.ts +1 -1
- package/dist/types/core/logic/stepper.logic.d.ts +6 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/suggest.logic.d.ts +1 -1
- package/dist/types/core/logic/tableDate.logic.d.ts +7 -0
- package/dist/types/{shared-logic/src/ui → core/logic}/tableLayout.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/tableSummary.logic.d.ts +3 -3
- package/dist/types/{shared-logic/src/ui → core/logic}/tooltip.logic.d.ts +1 -1
- package/dist/types/{shared-logic/src/ui → core/logic}/typography.logic.d.ts +1 -1
- package/dist/types/core/logic/uiScale.logic.d.ts +1 -0
- package/dist/types/{shared-types/src/ui → core/types}/button.types.d.ts +1 -0
- package/dist/types/{shared-types/src/ui → core/types}/collapsible.types.d.ts +4 -16
- package/dist/types/core/types/fileEngine.types.d.ts +65 -0
- package/dist/types/core/types/format.types.d.ts +15 -0
- package/dist/types/{shared-types/src/ui → core/types}/index.d.ts +2 -0
- package/dist/types/{shared-types/src/ui → core/types}/suggest.types.d.ts +1 -0
- package/dist/types/{shared-types/src/ui → core/types}/table.types.d.ts +1 -0
- package/dist/types/{shared-web-ui/src/DataTable/vendor → file}/fileActions.d.ts +17 -7
- package/dist/types/file/fileEngine.d.ts +48 -0
- package/dist/types/file/tasks/fileTask.worker.d.ts +1 -0
- package/dist/types/file/tasks/runFileTask.d.ts +6 -0
- package/dist/types/file/workerPool.d.ts +17 -0
- package/dist/types/index.d.ts +93 -0
- package/package.json +27 -28
- package/dist/ChartImageMenu-gvNAYVkY.js +0 -2938
- package/dist/Charts-COljjy0x.js +0 -1759
- package/dist/exportContext-CAX8VPrP.js +0 -243
- package/dist/fuseSearch-vLQR3O5a.js +0 -37
- package/dist/types/published/dcs-ui/src/index.d.ts +0 -4
- package/dist/types/published/dcs-ui/src/publicLogic.d.ts +0 -2
- package/dist/types/published/dcs-ui/src/publicTypes.d.ts +0 -2
- package/dist/types/shared-logic/src/report/aggregate.d.ts +0 -8
- package/dist/types/shared-logic/src/report/canvas.d.ts +0 -51
- package/dist/types/shared-logic/src/report/conditions.d.ts +0 -4
- package/dist/types/shared-logic/src/report/constants.d.ts +0 -7
- package/dist/types/shared-logic/src/report/dataset.d.ts +0 -23
- package/dist/types/shared-logic/src/report/edit.d.ts +0 -126
- package/dist/types/shared-logic/src/report/fields.d.ts +0 -29
- package/dist/types/shared-logic/src/report/format.d.ts +0 -5
- package/dist/types/shared-logic/src/report/fromColumns.d.ts +0 -31
- package/dist/types/shared-logic/src/report/index.d.ts +0 -19
- package/dist/types/shared-logic/src/report/layout.d.ts +0 -31
- package/dist/types/shared-logic/src/report/metrics.d.ts +0 -17
- package/dist/types/shared-logic/src/report/migrate.d.ts +0 -17
- package/dist/types/shared-logic/src/report/paginate.d.ts +0 -8
- package/dist/types/shared-logic/src/report/renderers/html.d.ts +0 -8
- package/dist/types/shared-logic/src/report/renderers/pdfmake.d.ts +0 -18
- package/dist/types/shared-logic/src/report/resolve.d.ts +0 -11
- package/dist/types/shared-logic/src/report/scope.d.ts +0 -24
- package/dist/types/shared-logic/src/report/storage.d.ts +0 -36
- package/dist/types/shared-logic/src/report/validate.d.ts +0 -10
- package/dist/types/shared-types/src/report/bands.d.ts +0 -12
- package/dist/types/shared-types/src/report/blocks.d.ts +0 -122
- package/dist/types/shared-types/src/report/conditions.d.ts +0 -11
- package/dist/types/shared-types/src/report/dataset.d.ts +0 -53
- package/dist/types/shared-types/src/report/document.d.ts +0 -121
- package/dist/types/shared-types/src/report/index.d.ts +0 -9
- package/dist/types/shared-types/src/report/primitives.d.ts +0 -69
- package/dist/types/shared-types/src/report/registry.d.ts +0 -39
- package/dist/types/shared-types/src/report/storage.d.ts +0 -10
- package/dist/types/shared-types/src/report/template.d.ts +0 -32
- package/dist/types/shared-web-ui/src/DataTable/index.d.ts +0 -18
- package/dist/types/shared-web-ui/src/ReportDesigner/AlignedRowsEditor.d.ts +0 -4
- package/dist/types/shared-web-ui/src/ReportDesigner/BandList.d.ts +0 -18
- package/dist/types/shared-web-ui/src/ReportDesigner/BlockEditor.d.ts +0 -33
- package/dist/types/shared-web-ui/src/ReportDesigner/ColumnEditor.d.ts +0 -2
- package/dist/types/shared-web-ui/src/ReportDesigner/ConditionEditor.d.ts +0 -5
- package/dist/types/shared-web-ui/src/ReportDesigner/FieldPicker.d.ts +0 -12
- package/dist/types/shared-web-ui/src/ReportDesigner/FieldSelect.d.ts +0 -2
- package/dist/types/shared-web-ui/src/ReportDesigner/FormatEditor.d.ts +0 -2
- package/dist/types/shared-web-ui/src/ReportDesigner/Inspector.d.ts +0 -7
- package/dist/types/shared-web-ui/src/ReportDesigner/OptionsEditor.d.ts +0 -2
- package/dist/types/shared-web-ui/src/ReportDesigner/ReportDesigner.d.ts +0 -12
- package/dist/types/shared-web-ui/src/ReportDesigner/StyleEditor.d.ts +0 -2
- package/dist/types/shared-web-ui/src/ReportDesigner/TableEditor.d.ts +0 -2
- package/dist/types/shared-web-ui/src/ReportDesigner/WatermarkEditor.d.ts +0 -2
- package/dist/types/shared-web-ui/src/ReportDesigner/chipSources.d.ts +0 -5
- package/dist/types/shared-web-ui/src/ReportDesigner/icons.d.ts +0 -21
- package/dist/types/shared-web-ui/src/ReportDesigner/index.d.ts +0 -16
- package/dist/types/shared-web-ui/src/ReportDesigner/labels.d.ts +0 -22
- package/dist/types/shared-web-ui/src/ReportDesigner/parts.d.ts +0 -33
- package/dist/types/shared-web-ui/src/ReportDesigner/types.d.ts +0 -67
- package/dist/types/shared-web-ui/src/ReportPreview/ReportPreview.d.ts +0 -20
- package/dist/types/shared-web-ui/src/ReportPreview/index.d.ts +0 -1
- package/dist/types/shared-web-ui/src/Select/useSelect.d.ts +0 -2
- package/dist/types/shared-web-ui/src/index.d.ts +0 -83
- package/dist/ui-DJFwpPdX.js +0 -4997
- /package/dist/types/{shared-web-ui/src → components}/AppBar/AppBar.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/AppBar/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/ArrowKeyFocus/useArrowKeyFocus.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Avatar/Avatar.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Avatar/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Badge/Badge.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Badge/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Breadcrumbs/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Card/Card.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Card/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/AnchoredMenu.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/BarList.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/CalendarHeatmap.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/Chart.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/ChartIcon.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/ChartImageMenu.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/ChartTable.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/ChartView.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/ColumnChart.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/Donut.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/Funnel.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/Gauge.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/Legend.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/LineChart.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/NumberTrend.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/Progress.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/StackedBar.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/Treemap.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/chartData.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/chartImage.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/labels.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/menuPlacement.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/palette.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/pointer.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/types.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/useBoxSize.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Charts/useLegendFit.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/ColorSchemeSelect/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/CommandPalette/CommandPalette.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/CommandPalette/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/DisplayPopover.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/HeaderMenu.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ManageModal.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/SingleRowView.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/SortModal.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/StatusRow.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/TableColumnModal.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/TableControls.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/TablePagination.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/TableScrollStrip.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/TableToolbar.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/TableView.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/bulk/BulkConfirmDialog.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/bulk/TableToast.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/bulk/bulkActions.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/cards/CardFieldsEditor.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/cards/CardView.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/cards/rowParts.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/data/useServerData.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/defaults.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/detail/BuiltInDetail.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/detail/DetailHost.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/ExportPopover.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/ExportPreviewModal.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/ExportSettingsModal.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/ExportTemplateCards.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/exportContext.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/exportRows.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/templateDisplay.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/export/templateOptions.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/ColumnFilterPopover.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/FilterConditionRow.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/FilterGroup.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/FilterModal.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/FilterRow.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/columnFilterModel.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/filterEngine.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/filterRowModel.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/filters/quickFilterMatch.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/grouping/GroupUi.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/grouping/groupModel.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/grouping/useGrouping.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/keyboard/ShortcutsDialog.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/keyboard/shortcuts.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/keyboard/useGridKeyboard.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/layout/LayoutSwitcher.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/layout/layouts.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/layout/scrollArea.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/layout/useFillHeight.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/menu/RowMenu.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/menu/buildRowMenu.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/menu/clipboard.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/menu/valueFilter.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/motion/useRowMotion.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/persistence/adapters.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/persistence/reconcile.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/persistence/useColumnPersistence.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/persistence/useManagePrefs.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/persistence/useOrphanPrefs.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/pinning.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/rows/RowActions.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/rows/rowPress.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/sharing/Sharing.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/split/SplitView.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/ManageSummaryCards.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/SummaryChart.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/SummaryControls.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/SummaryImage.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/SummarySeeAll.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/TableSummary.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/summaryCatalogue.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/summaryChartData.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/summaryModel.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/summary/useTableSummary.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ui-local/AutoHeight.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ui-local/DateRangePicker.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ui-local/DragAndDropList/DragAndDropList.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ui-local/DragAndDropList/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ui-local/DragAndDropList/types.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ui-local/ReactModal.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/ui.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/useDataChangeTracker.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/vendor/columnOrder.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/vendor/diff.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DataTable/virtual/useVirtualLines.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DatePicker/useOneMonthPane.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Dialog/Dialog.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Dialog/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/DropdownMenu/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/EditableTable/useRowAnimation.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Floating/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Floating/layers.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Floating/scrollLock.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Floating/useFloatingLayer.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Popover/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Scroll/ScrollRule.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Scroll/ScrollStrip.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Scroll/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Scroll/labels.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Scroll/scrollActivity.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Scroll/ui.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Sidebar/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Skeleton/Skeleton.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Skeleton/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Suggest/fuseSearch.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Tabs/Tabs.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Tabs/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Toast/ToastItem.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Toast/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Toast/toast.types.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/Tooltip/index.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/UIProvider/UIPortalContext.d.ts +0 -0
- /package/dist/types/{shared-web-ui/src → components}/UIProvider/UIThemeContext.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/checkbox.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/colorScheme.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/columnOrder.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/form.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/input.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/popover.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/radio.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/switch.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/timeField.logic.d.ts +0 -0
- /package/dist/types/{shared-logic/src/ui → core/logic}/useMergeRefs.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/checkbox.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/chipinput.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/common.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/control.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/datePicker.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/editableTable.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/field.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/fieldWrapper.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/fields.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/form.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/input.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/keyboard.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/navigation.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/radio.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/select.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/switch.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/tooltip.types.d.ts +0 -0
- /package/dist/types/{shared-types/src/ui → core/types}/typography.types.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ResolvedTableSummary } from '
|
|
3
|
-
import type { EditableTableProps, EditableTableSummaryContext, SummaryLicenseConfig } from '
|
|
2
|
+
import type { ResolvedTableSummary } from '../../core/logic';
|
|
3
|
+
import type { EditableTableProps, EditableTableSummaryContext, SummaryLicenseConfig } from '../../core/types';
|
|
4
4
|
interface EditableTableSummaryProps<T> {
|
|
5
5
|
summary: NonNullable<EditableTableProps<T>['summary']>;
|
|
6
6
|
resolved: ResolvedTableSummary;
|
|
@@ -5,4 +5,4 @@ export { default as EditableTableActions } from './EditableTableActions';
|
|
|
5
5
|
export { default as EditableTableCell, frameProps, formatReadOnlyValue } from './EditableTableCell';
|
|
6
6
|
export { default as EditableTableSummary } from './EditableTableSummary';
|
|
7
7
|
export { useEditableTable } from './useEditableTable';
|
|
8
|
-
export type { EditableTableProps, EditableTableRowProps, EditableTableActionsProps, EditableTableColumnDefinition, EditableTableFocusState, EditableTableCopyConfig, EditableTableAddConfig, EditableTableDeleteConfig, EditableTableFooterConfig, EditableTableSummaryContext, EditableTableSummaryActions, EditableTableMethods, EditableTableValidity, EditableTableRowValidity, EditableTableRowFailure, EditableTableCellActions, ButtonCellContext, CellRule, TableColumnDisplayProps, TableSummaryConfig, ColumnSummaryConfig, SummaryItem, SummaryGroup, CellStyle, ColumnAlign, ColumnSticky, } from '
|
|
8
|
+
export type { EditableTableProps, EditableTableRowProps, EditableTableActionsProps, EditableTableColumnDefinition, EditableTableFocusState, EditableTableCopyConfig, EditableTableAddConfig, EditableTableDeleteConfig, EditableTableFooterConfig, EditableTableSummaryContext, EditableTableSummaryActions, EditableTableMethods, EditableTableValidity, EditableTableRowValidity, EditableTableRowFailure, EditableTableCellActions, ButtonCellContext, CellRule, TableColumnDisplayProps, TableSummaryConfig, ColumnSummaryConfig, SummaryItem, SummaryGroup, CellStyle, ColumnAlign, ColumnSticky, } from '../../core/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EditableTableProps, FieldHandle } from '
|
|
1
|
+
import type { EditableTableProps, FieldHandle } from '../../core/types';
|
|
2
2
|
interface UseEditableTableParams<T> extends EditableTableProps<T> {
|
|
3
3
|
rootTableId: string;
|
|
4
4
|
}
|
|
@@ -19,14 +19,14 @@ export declare const useEditableTable: <T extends Record<string, any>>({ columns
|
|
|
19
19
|
}>;
|
|
20
20
|
focusCellInRow: (rowIndex: number, cellindex?: number) => boolean;
|
|
21
21
|
isCellDisabled: (rowIndex: number, cellindex: number) => boolean;
|
|
22
|
-
cellRule: (rowIndex: number, cellindex: number) => import("
|
|
22
|
+
cellRule: (rowIndex: number, cellindex: number) => import("../../core/logic").ResolvedRule | {
|
|
23
23
|
readonly valid: true;
|
|
24
24
|
readonly severity: "block";
|
|
25
25
|
};
|
|
26
26
|
rowRules: (rowIndex: number) => {
|
|
27
27
|
valid: boolean;
|
|
28
28
|
blocked: boolean;
|
|
29
|
-
failures: import("
|
|
29
|
+
failures: import("../../core/logic").RowRuleFailure[];
|
|
30
30
|
};
|
|
31
31
|
canLeaveCell: (rowIndex: number, cellindex: number) => boolean;
|
|
32
32
|
addNewRow: (insertIndex?: number, isCopy?: boolean) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FieldContextValue } from '
|
|
1
|
+
import type { FieldContextValue } from '../../core/types';
|
|
2
2
|
export declare const FieldContext: import("react").Context<FieldContextValue>;
|
|
3
3
|
export declare const useFieldContext: () => FieldContextValue;
|
|
@@ -6,4 +6,4 @@ export { useFormKeyboard } from './useFormKeyboard';
|
|
|
6
6
|
export type { UseFormKeyboardOptions } from './useFormKeyboard';
|
|
7
7
|
export type { UseFieldOptions, UseFieldResult } from './useField';
|
|
8
8
|
export type { FieldSurfaceInput, FieldSurfaceDefaults, ResolvedFieldSurface, ResolvedToggleSurface, } from './useFieldSurface';
|
|
9
|
-
export type { FieldContextValue, FieldProviderProps } from '
|
|
9
|
+
export type { FieldContextValue, FieldProviderProps } from '../../core/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { DEFAULT_KEYBOARD_CONFIG } from '
|
|
3
|
-
import type { FieldHandle, FieldKeyboardConfig, FieldWidget, OpenReason } from '
|
|
2
|
+
import { DEFAULT_KEYBOARD_CONFIG } from '../../core/logic';
|
|
3
|
+
import type { FieldHandle, FieldKeyboardConfig, FieldWidget, OpenReason } from '../../core/types';
|
|
4
4
|
import { type FieldSurfaceDefaults, type FieldSurfaceInput, type ResolvedFieldSurface, type ResolvedToggleSurface } from './useFieldSurface';
|
|
5
5
|
export interface UseFieldOptions<E extends HTMLElement = HTMLElement> extends FieldSurfaceInput {
|
|
6
6
|
widget: FieldWidget;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ControlLayout, ControlSize, ControlVariant, ToggleVariant } from '
|
|
1
|
+
import type { ControlLayout, ControlSize, ControlVariant, ToggleVariant } from '../../core/types';
|
|
2
2
|
export interface FieldSurfaceInput {
|
|
3
3
|
size?: ControlSize;
|
|
4
4
|
variant?: ControlVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { FieldKeyboardConfig } from '
|
|
2
|
+
import type { FieldKeyboardConfig } from '../../core/types';
|
|
3
3
|
export interface UseFormKeyboardOptions {
|
|
4
4
|
formRef: React.RefObject<HTMLElement | null>;
|
|
5
5
|
enter?: FieldKeyboardConfig['enter'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { FieldWrapperProps } from '
|
|
2
|
+
import type { FieldWrapperProps } from '../../core/types';
|
|
3
3
|
declare const FieldWrapper: React.ForwardRefExoticComponent<Omit<FieldWrapperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export default FieldWrapper;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as FieldWrapper } from './FieldWrapper';
|
|
2
|
-
export type { FieldWrapperProps, FieldLayout, FieldSize, } from '
|
|
2
|
+
export type { FieldWrapperProps, FieldLayout, FieldSize, } from '../../core/types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { FieldProps } from '
|
|
2
|
+
import type { FieldProps } from '../../core/types';
|
|
3
3
|
export declare function Field<T>({ field, data, defaultData, errors, touched, setTouched, context, cellindex, renderAuthorize, renderTooltip, componentRegistry, }: FieldProps<T>): React.JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonCellContext, ButtonProps, EditableTableCellActions, FieldHandle } from '
|
|
2
|
+
import type { ButtonCellContext, ButtonProps, EditableTableCellActions, FieldHandle } from '../../core/types';
|
|
3
3
|
export interface FieldButtonProps<T> {
|
|
4
4
|
fprop?: Partial<ButtonProps>;
|
|
5
5
|
onColumnClick?: (context: ButtonCellContext<T>) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FieldDefinition } from '
|
|
1
|
+
import type { FieldDefinition } from '../../../core/types';
|
|
2
2
|
export declare function useFieldBlur<T>(field: FieldDefinition<T>, setTouched: ((fn: (prev: Record<string, boolean>) => Record<string, boolean>) => void) | undefined, options?: {
|
|
3
3
|
asColumn?: boolean;
|
|
4
4
|
basePath?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FieldDefinition, ChangeContext } from '
|
|
1
|
+
import type { FieldDefinition, ChangeContext } from '../../../core/types';
|
|
2
2
|
export declare function useFieldChange<T>(field: FieldDefinition<T>, context: ChangeContext<T>, defaultData: T): (e: any, ctx: ChangeContext<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Condition, ConditionContext } from '
|
|
1
|
+
import type { Condition, ConditionContext } from '../../../core/types';
|
|
2
2
|
export declare function useFieldCondition<T>(condition: Condition<T> | undefined, data: T, defaultData: T, context?: ConditionContext): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Condition, ConditionContext } from '
|
|
1
|
+
import type { Condition, ConditionContext } from '../../../core/types';
|
|
2
2
|
export declare function useFieldDisabled<T>(disabledCondition: Condition<T> | undefined, data: T, defaultData: T, context?: ConditionContext): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Condition, ConditionContext } from '
|
|
1
|
+
import type { Condition, ConditionContext } from '../../../core/types';
|
|
2
2
|
export declare function useFieldRender<T>(renderCondition: Condition<T> | undefined, data: T, defaultData: T, context?: ConditionContext): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FieldDefinition, ChangeContext } from '
|
|
1
|
+
import type { FieldDefinition, ChangeContext } from '../../../core/types';
|
|
2
2
|
export declare function useFieldSelect<T>(field: FieldDefinition<T>, context: ChangeContext<T>, defaultData: T): ((selected: any, fieldName: string) => void) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ErrorObject, TouchedObject, NestedKeys } from '
|
|
1
|
+
import type { ErrorObject, TouchedObject, NestedKeys } from '../../../core/types';
|
|
2
2
|
export declare function useFieldValidation<T>(fieldName: NestedKeys<T>, errors?: ErrorObject, touched?: TouchedObject, options?: {
|
|
3
3
|
asColumn?: boolean;
|
|
4
4
|
basePath?: string;
|
|
@@ -9,4 +9,4 @@ export { useFieldChange } from './hooks/useFieldChange';
|
|
|
9
9
|
export { useFieldBlur } from './hooks/useFieldBlur';
|
|
10
10
|
export { useFieldValidation } from './hooks/useFieldValidation';
|
|
11
11
|
export { useFieldSelect } from './hooks/useFieldSelect';
|
|
12
|
-
export type { FieldsProps, FieldProps, FieldsBaseProps, FieldsWithSetState, FieldsWithOnChange, FieldDefinition, FieldsDefinition, FieldAuthorize, FieldTooltipProps, FieldComponentRegistry, FieldEditableTableProps, BaseFieldDefinition, InputFieldDefinition, SwitchFieldDefinition, SelectFieldDefinition, SuggestFieldDefinition, RadioFieldDefinition, CheckboxFieldDefinition, ButtonFieldDefinition, ChildFieldDefinition, EditableTableFieldDefinition, ChipInputFieldDefinition, ConditionOperator, ConditionCompareType, ConditionObject, ConditionRegexObject, ConditionFunction, ConditionSimpleKey, Condition, ConditionContext, NestedKeys, NestedValue, ResetKeyConfig, SelectCopyKeyConfig, ChangeContext, ChangeAdditionalDataContext, SelectAdditionalDataContext, EditableTableCustomPropContext, ErrorObject, TouchedObject, } from '
|
|
12
|
+
export type { FieldsProps, FieldProps, FieldsBaseProps, FieldsWithSetState, FieldsWithOnChange, FieldDefinition, FieldsDefinition, FieldAuthorize, FieldTooltipProps, FieldComponentRegistry, FieldEditableTableProps, BaseFieldDefinition, InputFieldDefinition, SwitchFieldDefinition, SelectFieldDefinition, SuggestFieldDefinition, RadioFieldDefinition, CheckboxFieldDefinition, ButtonFieldDefinition, ChildFieldDefinition, EditableTableFieldDefinition, ChipInputFieldDefinition, ConditionOperator, ConditionCompareType, ConditionObject, ConditionRegexObject, ConditionFunction, ConditionSimpleKey, Condition, ConditionContext, NestedKeys, NestedValue, ResetKeyConfig, SelectCopyKeyConfig, ChangeContext, ChangeAdditionalDataContext, SelectAdditionalDataContext, EditableTableCustomPropContext, ErrorObject, TouchedObject, } from '../../core/types';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FileDeliveryAction, FileJob } from '../../core/types';
|
|
2
|
+
import { type FileEngine, type FileJobRequest } from '../../file/fileEngine';
|
|
3
|
+
export declare const FileEngineContext: import("react").Context<FileEngine | null>;
|
|
4
|
+
export declare function getDefaultFileEngine(): FileEngine;
|
|
5
|
+
export declare function useFileEngineInstance(): FileEngine;
|
|
6
|
+
export interface UseFileEngineResult {
|
|
7
|
+
jobs: readonly FileJob[];
|
|
8
|
+
submit: (request: FileJobRequest) => string;
|
|
9
|
+
cancel: (id: string) => void;
|
|
10
|
+
retry: (id: string) => void;
|
|
11
|
+
deliver: (id: string, action?: FileDeliveryAction) => Promise<void>;
|
|
12
|
+
wait: (id: string) => Promise<FileJob | undefined>;
|
|
13
|
+
clear: (filter?: (job: FileJob) => boolean) => void;
|
|
14
|
+
engine: FileEngine;
|
|
15
|
+
}
|
|
16
|
+
export declare function useFileEngine(): UseFileEngineResult;
|
|
17
|
+
export declare function useFileJob(id: string | null | undefined): FileJob | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type CreateFileEngineOptions, type FileEngine } from '../../file/fileEngine';
|
|
3
|
+
import { type FileEngineLabels, type FileEngineLabelsInput } from './labels';
|
|
4
|
+
export interface FileEngineProviderProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
engine?: FileEngine;
|
|
7
|
+
options?: CreateFileEngineOptions;
|
|
8
|
+
notify?: boolean;
|
|
9
|
+
labels?: FileEngineLabelsInput;
|
|
10
|
+
}
|
|
11
|
+
export declare function useFileEngineLabels(labels?: FileEngineLabelsInput): FileEngineLabels;
|
|
12
|
+
export declare const FileEngineProvider: React.FC<FileEngineProviderProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FileJob } from '../../core/types';
|
|
3
|
+
import type { FileEngineLabelsInput } from './labels';
|
|
4
|
+
export interface FileJobsTrayProps {
|
|
5
|
+
filter?: (job: FileJob) => boolean;
|
|
6
|
+
labels?: FileEngineLabelsInput;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
export declare const FileJobsTray: React.FC<FileJobsTrayProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { FileEngineProvider, useFileEngineLabels } from './FileEngineProvider';
|
|
2
|
+
export type { FileEngineProviderProps } from './FileEngineProvider';
|
|
3
|
+
export { FileJobsTray } from './FileJobsTray';
|
|
4
|
+
export type { FileJobsTrayProps } from './FileJobsTray';
|
|
5
|
+
export { FileEngineContext, useFileEngine, useFileJob, getDefaultFileEngine } from './FileEngineContext';
|
|
6
|
+
export type { UseFileEngineResult } from './FileEngineContext';
|
|
7
|
+
export { DEFAULT_FILE_ENGINE_LABELS } from './labels';
|
|
8
|
+
export type { FileEngineLabels, FileEngineLabelsInput } from './labels';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const DEFAULT_FILE_ENGINE_LABELS: {
|
|
2
|
+
tray: string;
|
|
3
|
+
status: {
|
|
4
|
+
queued: string;
|
|
5
|
+
running: string;
|
|
6
|
+
ready: string;
|
|
7
|
+
delivered: string;
|
|
8
|
+
failed: string;
|
|
9
|
+
cancelled: string;
|
|
10
|
+
};
|
|
11
|
+
actions: {
|
|
12
|
+
download: string;
|
|
13
|
+
share: string;
|
|
14
|
+
preview: string;
|
|
15
|
+
print: string;
|
|
16
|
+
open: string;
|
|
17
|
+
};
|
|
18
|
+
cancel: string;
|
|
19
|
+
retry: string;
|
|
20
|
+
dismiss: string;
|
|
21
|
+
readyToast: (filename: string) => string;
|
|
22
|
+
failedToast: (filename: string) => string;
|
|
23
|
+
};
|
|
24
|
+
export type FileEngineLabels = typeof DEFAULT_FILE_ENGINE_LABELS;
|
|
25
|
+
export type FileEngineLabelsInput = Partial<Omit<FileEngineLabels, 'status' | 'actions'>> & {
|
|
26
|
+
status?: Partial<FileEngineLabels['status']>;
|
|
27
|
+
actions?: Partial<FileEngineLabels['actions']>;
|
|
28
|
+
};
|
|
29
|
+
export declare function resolveFileEngineLabels(labels?: FileEngineLabelsInput): FileEngineLabels;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { FormProps, FormMethods } from '
|
|
2
|
+
import type { FormProps, FormMethods } from '../../core/types';
|
|
3
3
|
declare const Form: <T>(props: FormProps<T> & {
|
|
4
4
|
ref?: React.Ref<FormMethods<T>>;
|
|
5
5
|
}) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Form } from './Form';
|
|
2
|
-
export type { FormProps, FormMethods, FormSection, FormAction, FormValidation, FormHeader, FormFooter, FormCallbacks, FormState, FormLayout, FormSize, FormVariant, } from '
|
|
2
|
+
export type { FormProps, FormMethods, FormSection, FormAction, FormValidation, FormHeader, FormFooter, FormCallbacks, FormState, FormLayout, FormSize, FormVariant, } from '../../core/types';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ImagePickerItem {
|
|
3
|
+
id: string;
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ImagePickerProps {
|
|
8
|
+
label?: React.ReactNode;
|
|
9
|
+
items: ImagePickerItem[];
|
|
10
|
+
onAdd: (files: File[]) => void;
|
|
11
|
+
onRemove: (id: string) => void;
|
|
12
|
+
onOpen?: (index: number) => void;
|
|
13
|
+
max?: number;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
busy?: boolean;
|
|
17
|
+
error?: React.ReactNode;
|
|
18
|
+
hint?: React.ReactNode;
|
|
19
|
+
accept?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const ImagePicker: React.FC<ImagePickerProps>;
|
|
23
|
+
export default ImagePicker;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ViewerImage } from './ImageViewer';
|
|
3
|
+
export interface StripImage extends ViewerImage {
|
|
4
|
+
thumb?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ImageStripProps {
|
|
7
|
+
images: StripImage[];
|
|
8
|
+
visible?: number;
|
|
9
|
+
title?: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const ImageStrip: React.FC<ImageStripProps>;
|
|
13
|
+
export default ImageStrip;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ViewerImage {
|
|
3
|
+
id: string;
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
caption?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface ImageViewerProps {
|
|
9
|
+
images: ViewerImage[];
|
|
10
|
+
index: number | null;
|
|
11
|
+
onIndexChange: (index: number) => void;
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
title?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
declare const ImageViewer: React.FC<ImageViewerProps>;
|
|
16
|
+
export default ImageViewer;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as ImagePicker } from './ImagePicker';
|
|
2
|
+
export type { ImagePickerProps, ImagePickerItem } from './ImagePicker';
|
|
3
|
+
export { default as ImageStrip } from './ImageStrip';
|
|
4
|
+
export type { ImageStripProps, StripImage } from './ImageStrip';
|
|
5
|
+
export { default as ImageViewer } from './ImageViewer';
|
|
6
|
+
export type { ImageViewerProps, ViewerImage } from './ImageViewer';
|
|
7
|
+
export { prepareImage, ImagePrepareError } from './prepareImage';
|
|
8
|
+
export type { PrepareImageOptions, PreparedImage } from './prepareImage';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface PrepareImageOptions {
|
|
2
|
+
maxSide?: number;
|
|
3
|
+
thumbSide?: number;
|
|
4
|
+
quality?: number;
|
|
5
|
+
thumbQuality?: number;
|
|
6
|
+
maxInputBytes?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface PreparedImage {
|
|
9
|
+
full: Blob;
|
|
10
|
+
thumb: Blob;
|
|
11
|
+
type: string;
|
|
12
|
+
ext: 'webp' | 'jpg';
|
|
13
|
+
w: number;
|
|
14
|
+
h: number;
|
|
15
|
+
}
|
|
16
|
+
export declare class ImagePrepareError extends Error {
|
|
17
|
+
constructor(message: string);
|
|
18
|
+
}
|
|
19
|
+
export declare function prepareImage(file: File | Blob, options?: PrepareImageOptions): Promise<PreparedImage>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { InputProps, FieldHandle } from '
|
|
2
|
+
import { InputProps, FieldHandle } from '../../core/types';
|
|
3
3
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<FieldHandle>>;
|
|
4
4
|
export default Input;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Input } from './Input';
|
|
2
|
-
export type { InputProps, InputType, InputVariant, InputSize, InputLayout, ValidationConfig, IconConfig, } from '
|
|
2
|
+
export type { InputProps, InputType, InputVariant, InputSize, InputLayout, ValidationConfig, IconConfig, } from '../../core/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PopoverPlacement } from '
|
|
2
|
+
import type { PopoverPlacement } from '../../core/logic';
|
|
3
3
|
import { type FloatingAnchor } from './floatingPosition';
|
|
4
4
|
export interface PopoverProps {
|
|
5
5
|
open: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComputePopoverPositionInput, type PopoverPosition } from '
|
|
1
|
+
import { type ComputePopoverPositionInput, type PopoverPosition } from '../../core/logic';
|
|
2
2
|
export declare const getFloatingOrigin: (container: Element | null) => {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function usePress({ enabled, ripple, centered, target }?: {
|
|
2
|
+
enabled?: boolean;
|
|
3
|
+
ripple?: boolean;
|
|
4
|
+
centered?: boolean;
|
|
5
|
+
target?: React.RefObject<HTMLElement | null>;
|
|
6
|
+
}): {
|
|
7
|
+
onPointerDown: (event: React.PointerEvent<HTMLElement>) => void;
|
|
8
|
+
onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
9
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { RadioProps, FieldHandle } from '
|
|
2
|
+
import { RadioProps, FieldHandle } from '../../core/types';
|
|
3
3
|
declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<FieldHandle>>;
|
|
4
4
|
export default Radio;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RadioGroupContextValue } from '
|
|
1
|
+
import { RadioGroupContextValue } from '../../core/types';
|
|
2
2
|
export declare const RadioGroupCtx: import("react").Context<RadioGroupContextValue | null>;
|
|
3
3
|
export declare function useRadioGroup(): RadioGroupContextValue | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as Radio } from './Radio';
|
|
2
2
|
export { default as RadioGroup } from './RadioGroup';
|
|
3
|
-
export type { RadioProps, RadioGroupProps, RadioVariant, RadioSize, RadioLabelPosition, RadioColor, RadioGroupContextValue, } from '
|
|
3
|
+
export type { RadioProps, RadioGroupProps, RadioVariant, RadioSize, RadioLabelPosition, RadioColor, RadioGroupContextValue, } from '../../core/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SelectProps, FieldHandle } from '
|
|
2
|
+
import { SelectProps, FieldHandle } from '../../core/types';
|
|
3
3
|
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<FieldHandle>>;
|
|
4
4
|
export default Select;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as Select } from './Select';
|
|
2
2
|
export { useSelect } from './useSelect';
|
|
3
|
-
export type { SelectProps, SelectOption, SelectSize, SelectLayout, SelectState, SelectEvent, SelectAccessibilityConfig, UseSelectReturn, UseSelectConfig, MultiSelectConfig, SearchConfig, SortConfig, ReorderConfig, GroupConfig, VirtualScrollConfig, KeyboardConfig, DropdownPosition, PositionConfig, EmptyStateConfig, LoadingConfig, ChipProps, GroupDisplayProps, OptionItemProps, AutoScrollState, DropdownDimensions, OptionValue, } from '
|
|
3
|
+
export type { SelectProps, SelectOption, SelectSize, SelectLayout, SelectState, SelectEvent, SelectAccessibilityConfig, UseSelectReturn, UseSelectConfig, MultiSelectConfig, SearchConfig, SortConfig, ReorderConfig, GroupConfig, VirtualScrollConfig, KeyboardConfig, DropdownPosition, PositionConfig, EmptyStateConfig, LoadingConfig, ChipProps, GroupDisplayProps, OptionItemProps, AutoScrollState, DropdownDimensions, OptionValue, } from '../../core/types';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface StepperStep {
|
|
3
|
+
key: string;
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface StepperProps {
|
|
9
|
+
steps: StepperStep[];
|
|
10
|
+
active: string;
|
|
11
|
+
onStepClick?: (key: string) => void;
|
|
12
|
+
completedLabel?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
declare const Stepper: React.FC<StepperProps>;
|
|
17
|
+
export default Stepper;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SuggestProps, FieldHandle } from '
|
|
2
|
+
import { SuggestProps, FieldHandle } from '../../core/types';
|
|
3
3
|
declare const Suggest: React.ForwardRefExoticComponent<SuggestProps & React.RefAttributes<FieldHandle>>;
|
|
4
4
|
export default Suggest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as Suggest } from './Suggest';
|
|
2
2
|
export { SuggestionList } from './SuggestionList';
|
|
3
3
|
export { useSuggest } from './useSuggest';
|
|
4
|
-
export type { SuggestProps, SuggestSize, SuggestLayout, SuggestSearchEngine, SuggestSearchMode, RenderKey, SuggestionConfig, SuggestionItemProps, SuggestionListProps, SuggestionGroup, UseSuggestOptions, UseSuggestReturn, SuggestSearchOptions, } from '
|
|
5
|
-
export { FORMATTER_UTILITY_CLASSES, SUGGEST_SEARCH_ENGINE_OPTIONS, SUGGEST_SEARCH_MODE_OPTIONS, } from '
|
|
4
|
+
export type { SuggestProps, SuggestSize, SuggestLayout, SuggestSearchEngine, SuggestSearchMode, RenderKey, SuggestionConfig, SuggestionItemProps, SuggestionListProps, SuggestionGroup, UseSuggestOptions, UseSuggestReturn, SuggestSearchOptions, } from '../../core/types';
|
|
5
|
+
export { FORMATTER_UTILITY_CLASSES, SUGGEST_SEARCH_ENGINE_OPTIONS, SUGGEST_SEARCH_MODE_OPTIONS, } from '../../core/types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UseSuggestOptions, UseSuggestReturn } from '
|
|
1
|
+
import { UseSuggestOptions, UseSuggestReturn } from '../../core/types';
|
|
2
2
|
export declare const useSuggest: ({ data, config, value, minSearchLength, debounceMs, onSelect, selectFirstOnEnter, showAllOnFocus, disabled, }: UseSuggestOptions) => UseSuggestReturn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SwitchProps, FieldHandle } from '
|
|
2
|
+
import { SwitchProps, FieldHandle } from '../../core/types';
|
|
3
3
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<FieldHandle>>;
|
|
4
4
|
export default Switch;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Switch } from './Switch';
|
|
2
|
-
export type { SwitchProps, SwitchSize, SwitchLabelPosition, SwitchColor, } from '
|
|
2
|
+
export type { SwitchProps, SwitchSize, SwitchLabelPosition, SwitchColor, } from '../../core/types';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ToastApi, ToastDefaults } from './toast.types';
|
|
3
3
|
export declare const useToast: () => ToastApi;
|
|
4
|
+
export declare const useOptionalToast: () => ToastApi | null;
|
|
4
5
|
export interface ToastHostProps {
|
|
5
6
|
defaults?: ToastDefaults;
|
|
6
7
|
children?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { TooltipProp, TooltipProps } from '
|
|
2
|
+
import type { TooltipProp, TooltipProps } from '../../core/types';
|
|
3
3
|
export declare const Tooltip: React.FC<TooltipProps>;
|
|
4
4
|
export interface TooltipHelpIconProps {
|
|
5
5
|
tooltip: TooltipProp;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { TooltipProp } from '
|
|
2
|
+
import type { TooltipProp } from '../../core/types';
|
|
3
3
|
export interface UseTooltipResult {
|
|
4
4
|
triggerProps: {
|
|
5
5
|
onPointerEnter: (event: React.PointerEvent<HTMLElement>) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { TypographyProps } from '
|
|
2
|
+
import type { TypographyProps } from '../../core/types';
|
|
3
3
|
declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
|
|
4
4
|
export default Typography;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Typography } from './Typography';
|
|
2
|
-
export type { TypographyProps, TypographyVariant, TypographyColor, TypographyAlign, TypographyWeight, TypographyTransform, TypographyDecoration, TypographyComponent, TruncateConfig, GradientConfig, } from '
|
|
2
|
+
export type { TypographyProps, TypographyVariant, TypographyColor, TypographyAlign, TypographyWeight, TypographyTransform, TypographyDecoration, TypographyComponent, TruncateConfig, GradientConfig, } from '../../core/types';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { UIFormat, UIFormatSettings } from '../../core/types';
|
|
3
|
+
export interface FormatProviderProps extends UIFormatSettings {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const FormatProvider: React.FC<FormatProviderProps>;
|
|
7
|
+
export declare function useFormat(): UIFormat;
|