@oliasoft-open-source/react-ui-library 10.0.0-beta-11 → 10.0.0-beta-12
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/dist/index.d.ts +2480 -202
- package/package.json +2 -1
- package/dist/components/accordion/accordion.d.ts +0 -8
- package/dist/components/accordion/accordion.d.ts.map +0 -1
- package/dist/components/accordion/accordion.interface.d.ts +0 -17
- package/dist/components/accordion/accordion.interface.d.ts.map +0 -1
- package/dist/components/accordion/accordion.stories.d.ts +0 -13
- package/dist/components/accordion/accordion.stories.d.ts.map +0 -1
- package/dist/components/accordion/accordion.test-case.stories.d.ts +0 -6
- package/dist/components/accordion/accordion.test-case.stories.d.ts.map +0 -1
- package/dist/components/accordion/chevron/chevron.d.ts +0 -5
- package/dist/components/accordion/chevron/chevron.d.ts.map +0 -1
- package/dist/components/accordion/enum.d.ts +0 -5
- package/dist/components/accordion/enum.d.ts.map +0 -1
- package/dist/components/accordion/helpers/accordion-with-default-toggle.d.ts +0 -13
- package/dist/components/accordion/helpers/accordion-with-default-toggle.d.ts.map +0 -1
- package/dist/components/actions/actions.d.ts +0 -17
- package/dist/components/actions/actions.d.ts.map +0 -1
- package/dist/components/actions/actions.interface.d.ts +0 -25
- package/dist/components/actions/actions.interface.d.ts.map +0 -1
- package/dist/components/actions/actions.stories.d.ts +0 -26
- package/dist/components/actions/actions.stories.d.ts.map +0 -1
- package/dist/components/audit-log/audit-log.d.ts +0 -55
- package/dist/components/audit-log/audit-log.d.ts.map +0 -1
- package/dist/components/audit-log/audit-log.stories.d.ts +0 -12
- package/dist/components/audit-log/audit-log.stories.d.ts.map +0 -1
- package/dist/components/audit-log/audit-log.test-case.stories.d.ts +0 -5
- package/dist/components/audit-log/audit-log.test-case.stories.d.ts.map +0 -1
- package/dist/components/audit-log/changes-overview.d.ts +0 -9
- package/dist/components/audit-log/changes-overview.d.ts.map +0 -1
- package/dist/components/audit-log/comparison-view-modal.d.ts +0 -26
- package/dist/components/audit-log/comparison-view-modal.d.ts.map +0 -1
- package/dist/components/audit-log/create-diff-patcher.d.ts +0 -7
- package/dist/components/audit-log/create-diff-patcher.d.ts.map +0 -1
- package/dist/components/audit-log/utils.d.ts +0 -31
- package/dist/components/audit-log/utils.d.ts.map +0 -1
- package/dist/components/badge/badge.d.ts +0 -13
- package/dist/components/badge/badge.d.ts.map +0 -1
- package/dist/components/badge/badge.stories.d.ts +0 -14
- package/dist/components/badge/badge.stories.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -7
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +0 -8
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.test-case.stories.d.ts +0 -7
- package/dist/components/breadcrumb/breadcrumb.test-case.stories.d.ts.map +0 -1
- package/dist/components/breadcrumb/link.d.ts +0 -15
- package/dist/components/breadcrumb/link.d.ts.map +0 -1
- package/dist/components/breadcrumb/types.d.ts +0 -7
- package/dist/components/breadcrumb/types.d.ts.map +0 -1
- package/dist/components/button/button.d.ts +0 -39
- package/dist/components/button/button.d.ts.map +0 -1
- package/dist/components/button/button.stories.d.ts +0 -23
- package/dist/components/button/button.stories.d.ts.map +0 -1
- package/dist/components/button/types.d.ts +0 -7
- package/dist/components/button/types.d.ts.map +0 -1
- package/dist/components/button-group/button-group.d.ts +0 -40
- package/dist/components/button-group/button-group.d.ts.map +0 -1
- package/dist/components/button-group/button-group.stories-data.d.ts +0 -7
- package/dist/components/button-group/button-group.stories-data.d.ts.map +0 -1
- package/dist/components/button-group/button-group.stories.d.ts +0 -12
- package/dist/components/button-group/button-group.stories.d.ts.map +0 -1
- package/dist/components/card/card.d.ts +0 -11
- package/dist/components/card/card.d.ts.map +0 -1
- package/dist/components/card/card.stories.d.ts +0 -10
- package/dist/components/card/card.stories.d.ts.map +0 -1
- package/dist/components/check-box/check-box.d.ts +0 -32
- package/dist/components/check-box/check-box.d.ts.map +0 -1
- package/dist/components/check-box/check-box.stories.d.ts +0 -16
- package/dist/components/check-box/check-box.stories.d.ts.map +0 -1
- package/dist/components/check-box/check-box.test-case.stories.d.ts +0 -10
- package/dist/components/check-box/check-box.test-case.stories.d.ts.map +0 -1
- package/dist/components/collapse/collapse.d.ts +0 -7
- package/dist/components/collapse/collapse.d.ts.map +0 -1
- package/dist/components/collapse/collapse.stories.d.ts +0 -7
- package/dist/components/collapse/collapse.stories.d.ts.map +0 -1
- package/dist/components/collapse/collapse.test-case.stories.d.ts +0 -5
- package/dist/components/collapse/collapse.test-case.stories.d.ts.map +0 -1
- package/dist/components/color/color.stories-data.d.ts +0 -16
- package/dist/components/color/color.stories-data.d.ts.map +0 -1
- package/dist/components/color-input/color-input-area-picker.d.ts +0 -5
- package/dist/components/color-input/color-input-area-picker.d.ts.map +0 -1
- package/dist/components/color-input/color-input-popover.d.ts +0 -24
- package/dist/components/color-input/color-input-popover.d.ts.map +0 -1
- package/dist/components/color-input/color-input-swatch-picker.d.ts +0 -12
- package/dist/components/color-input/color-input-swatch-picker.d.ts.map +0 -1
- package/dist/components/color-input/color-input-utils.d.ts +0 -8
- package/dist/components/color-input/color-input-utils.d.ts.map +0 -1
- package/dist/components/color-input/color-input.d.ts +0 -6
- package/dist/components/color-input/color-input.d.ts.map +0 -1
- package/dist/components/color-input/color-input.stories.d.ts +0 -17
- package/dist/components/color-input/color-input.stories.d.ts.map +0 -1
- package/dist/components/color-input/color-input.test-case.stories.d.ts +0 -8
- package/dist/components/color-input/color-input.test-case.stories.d.ts.map +0 -1
- package/dist/components/data-import-export/components/data-import-export-menu.d.ts +0 -9
- package/dist/components/data-import-export/components/data-import-export-menu.d.ts.map +0 -1
- package/dist/components/data-import-export/components/errors/errors.d.ts +0 -16
- package/dist/components/data-import-export/components/errors/errors.d.ts.map +0 -1
- package/dist/components/data-import-export/components/help-modal/help-modal.d.ts +0 -9
- package/dist/components/data-import-export/components/help-modal/help-modal.d.ts.map +0 -1
- package/dist/components/data-import-export/components/help-modal/help.d.ts +0 -7
- package/dist/components/data-import-export/components/help-modal/help.d.ts.map +0 -1
- package/dist/components/data-import-export/components/modals-renderer.d.ts +0 -9
- package/dist/components/data-import-export/components/modals-renderer.d.ts.map +0 -1
- package/dist/components/data-import-export/components/paste-with-review-modal/paste-with-review-modal.d.ts +0 -24
- package/dist/components/data-import-export/components/paste-with-review-modal/paste-with-review-modal.d.ts.map +0 -1
- package/dist/components/data-import-export/components/paste-with-review-modal/table.d.ts +0 -9
- package/dist/components/data-import-export/components/paste-with-review-modal/table.d.ts.map +0 -1
- package/dist/components/data-import-export/components/transition-toast.d.ts +0 -4
- package/dist/components/data-import-export/components/transition-toast.d.ts.map +0 -1
- package/dist/components/data-import-export/constants.d.ts +0 -16
- package/dist/components/data-import-export/constants.d.ts.map +0 -1
- package/dist/components/data-import-export/data-import-export.d.ts +0 -8
- package/dist/components/data-import-export/data-import-export.d.ts.map +0 -1
- package/dist/components/data-import-export/data-import-export.stories-data.d.ts +0 -63
- package/dist/components/data-import-export/data-import-export.stories-data.d.ts.map +0 -1
- package/dist/components/data-import-export/data-import-export.stories.d.ts +0 -7
- package/dist/components/data-import-export/data-import-export.stories.d.ts.map +0 -1
- package/dist/components/data-import-export/data-import-export.test-case.stories.d.ts +0 -5
- package/dist/components/data-import-export/data-import-export.test-case.stories.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/apply-modal-handlers.d.ts +0 -10
- package/dist/components/data-import-export/helpers/apply-modal-handlers.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/download-file.d.ts +0 -6
- package/dist/components/data-import-export/helpers/download-file.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/downsample-rows.d.ts +0 -9
- package/dist/components/data-import-export/helpers/downsample-rows.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/extra-separators.d.ts +0 -2
- package/dist/components/data-import-export/helpers/extra-separators.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/get-data-to-export.d.ts +0 -10
- package/dist/components/data-import-export/helpers/get-data-to-export.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/get-updated-errors.d.ts +0 -5
- package/dist/components/data-import-export/helpers/get-updated-errors.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/has-one-comma.d.ts +0 -2
- package/dist/components/data-import-export/helpers/has-one-comma.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/interpolate-translations.d.ts +0 -2
- package/dist/components/data-import-export/helpers/interpolate-translations.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/normalize-parsed-result.d.ts +0 -3
- package/dist/components/data-import-export/helpers/normalize-parsed-result.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/parse.d.ts +0 -10
- package/dist/components/data-import-export/helpers/parse.d.ts.map +0 -1
- package/dist/components/data-import-export/helpers/validation.d.ts +0 -11
- package/dist/components/data-import-export/helpers/validation.d.ts.map +0 -1
- package/dist/components/data-import-export/hooks/use-data-import-actions.d.ts +0 -27
- package/dist/components/data-import-export/hooks/use-data-import-actions.d.ts.map +0 -1
- package/dist/components/data-import-export/hooks/use-export-data.d.ts +0 -6
- package/dist/components/data-import-export/hooks/use-export-data.d.ts.map +0 -1
- package/dist/components/data-import-export/locale/en.d.ts +0 -2
- package/dist/components/data-import-export/locale/en.d.ts.map +0 -1
- package/dist/components/data-import-export/locale/use-translation-map.d.ts +0 -3
- package/dist/components/data-import-export/locale/use-translation-map.d.ts.map +0 -1
- package/dist/components/data-import-export/types.d.ts +0 -137
- package/dist/components/data-import-export/types.d.ts.map +0 -1
- package/dist/components/datetime/datetime.d.ts +0 -10
- package/dist/components/datetime/datetime.d.ts.map +0 -1
- package/dist/components/datetime/datetime.stories.d.ts +0 -10
- package/dist/components/datetime/datetime.stories.d.ts.map +0 -1
- package/dist/components/dialog/dialog.d.ts +0 -20
- package/dist/components/dialog/dialog.d.ts.map +0 -1
- package/dist/components/diff-viewer/diff-viewer.d.ts +0 -11
- package/dist/components/diff-viewer/diff-viewer.d.ts.map +0 -1
- package/dist/components/diff-viewer/diff-viewer.stories-data.d.ts +0 -72
- package/dist/components/diff-viewer/diff-viewer.stories-data.d.ts.map +0 -1
- package/dist/components/diff-viewer/diff-viewer.stories.d.ts +0 -10
- package/dist/components/diff-viewer/diff-viewer.stories.d.ts.map +0 -1
- package/dist/components/diff-viewer/utils.d.ts +0 -5
- package/dist/components/diff-viewer/utils.d.ts.map +0 -1
- package/dist/components/divider/divider.d.ts +0 -10
- package/dist/components/divider/divider.d.ts.map +0 -1
- package/dist/components/divider/divider.stories.d.ts +0 -9
- package/dist/components/divider/divider.stories.d.ts.map +0 -1
- package/dist/components/drawer/drawer-resize-wrapper.d.ts +0 -3
- package/dist/components/drawer/drawer-resize-wrapper.d.ts.map +0 -1
- package/dist/components/drawer/drawer-tabs.d.ts +0 -3
- package/dist/components/drawer/drawer-tabs.d.ts.map +0 -1
- package/dist/components/drawer/drawer.constants.d.ts +0 -3
- package/dist/components/drawer/drawer.constants.d.ts.map +0 -1
- package/dist/components/drawer/drawer.d.ts +0 -32
- package/dist/components/drawer/drawer.d.ts.map +0 -1
- package/dist/components/drawer/drawer.interface.d.ts +0 -33
- package/dist/components/drawer/drawer.interface.d.ts.map +0 -1
- package/dist/components/drawer/drawer.stories.d.ts +0 -54
- package/dist/components/drawer/drawer.stories.d.ts.map +0 -1
- package/dist/components/drawer/drawer.test-case.stories.d.ts +0 -11
- package/dist/components/drawer/drawer.test-case.stories.d.ts.map +0 -1
- package/dist/components/empty/empty.d.ts +0 -11
- package/dist/components/empty/empty.d.ts.map +0 -1
- package/dist/components/empty/empty.stories.d.ts +0 -7
- package/dist/components/empty/empty.stories.d.ts.map +0 -1
- package/dist/components/error-boundary/error-boundary.d.ts +0 -16
- package/dist/components/error-boundary/error-boundary.d.ts.map +0 -1
- package/dist/components/error-boundary/error-boundary.stories.d.ts +0 -21
- package/dist/components/error-boundary/error-boundary.stories.d.ts.map +0 -1
- package/dist/components/file-button/file-button.d.ts +0 -11
- package/dist/components/file-button/file-button.d.ts.map +0 -1
- package/dist/components/file-button/file-button.stories.d.ts +0 -8
- package/dist/components/file-button/file-button.stories.d.ts.map +0 -1
- package/dist/components/file-button/file-button.test-case.stories.d.ts +0 -6
- package/dist/components/file-button/file-button.test-case.stories.d.ts.map +0 -1
- package/dist/components/file-input/file-input.d.ts +0 -20
- package/dist/components/file-input/file-input.d.ts.map +0 -1
- package/dist/components/file-input/file-input.stories.d.ts +0 -10
- package/dist/components/file-input/file-input.stories.d.ts.map +0 -1
- package/dist/components/file-input/file-input.test-case.stories.d.ts +0 -10
- package/dist/components/file-input/file-input.test-case.stories.d.ts.map +0 -1
- package/dist/components/file-input/types.d.ts +0 -8
- package/dist/components/file-input/types.d.ts.map +0 -1
- package/dist/components/form/field.d.ts +0 -21
- package/dist/components/form/field.d.ts.map +0 -1
- package/dist/components/form/field.stories.d.ts +0 -17
- package/dist/components/form/field.stories.d.ts.map +0 -1
- package/dist/components/form/form.stories.d.ts +0 -29
- package/dist/components/form/form.stories.d.ts.map +0 -1
- package/dist/components/heading/heading.d.ts +0 -22
- package/dist/components/heading/heading.d.ts.map +0 -1
- package/dist/components/heading/heading.stories.d.ts +0 -12
- package/dist/components/heading/heading.stories.d.ts.map +0 -1
- package/dist/components/help-icon/help-icon.d.ts +0 -12
- package/dist/components/help-icon/help-icon.d.ts.map +0 -1
- package/dist/components/help-icon/help-icon.stories.d.ts +0 -12
- package/dist/components/help-icon/help-icon.stories.d.ts.map +0 -1
- package/dist/components/icon/custom-svg-icon.d.ts +0 -8
- package/dist/components/icon/custom-svg-icon.d.ts.map +0 -1
- package/dist/components/icon/icon.d.ts +0 -18
- package/dist/components/icon/icon.d.ts.map +0 -1
- package/dist/components/icon/icon.stories.d.ts +0 -26
- package/dist/components/icon/icon.stories.d.ts.map +0 -1
- package/dist/components/icon/named-icon.d.ts +0 -7
- package/dist/components/icon/named-icon.d.ts.map +0 -1
- package/dist/components/input/date-input.stories.d.ts +0 -7
- package/dist/components/input/date-input.stories.d.ts.map +0 -1
- package/dist/components/input/input.d.ts +0 -33
- package/dist/components/input/input.d.ts.map +0 -1
- package/dist/components/input/input.stories.d.ts +0 -12
- package/dist/components/input/input.stories.d.ts.map +0 -1
- package/dist/components/input/input.test-case.stories.d.ts +0 -9
- package/dist/components/input/input.test-case.stories.d.ts.map +0 -1
- package/dist/components/input-group/input-group-addon/input-group-addon.d.ts +0 -9
- package/dist/components/input-group/input-group-addon/input-group-addon.d.ts.map +0 -1
- package/dist/components/input-group/input-group.d.ts +0 -9
- package/dist/components/input-group/input-group.d.ts.map +0 -1
- package/dist/components/input-group/input-group.stories.d.ts +0 -11
- package/dist/components/input-group/input-group.stories.d.ts.map +0 -1
- package/dist/components/label/label.d.ts +0 -29
- package/dist/components/label/label.d.ts.map +0 -1
- package/dist/components/label/label.stories.d.ts +0 -15
- package/dist/components/label/label.stories.d.ts.map +0 -1
- package/dist/components/layout/column/column.d.ts +0 -19
- package/dist/components/layout/column/column.d.ts.map +0 -1
- package/dist/components/layout/column.stories.d.ts +0 -24
- package/dist/components/layout/column.stories.d.ts.map +0 -1
- package/dist/components/layout/flex/flex.d.ts +0 -15
- package/dist/components/layout/flex/flex.d.ts.map +0 -1
- package/dist/components/layout/flex/flex.stories.d.ts +0 -12
- package/dist/components/layout/flex/flex.stories.d.ts.map +0 -1
- package/dist/components/layout/form-row/form-row.d.ts +0 -6
- package/dist/components/layout/form-row/form-row.d.ts.map +0 -1
- package/dist/components/layout/grid/grid.d.ts +0 -13
- package/dist/components/layout/grid/grid.d.ts.map +0 -1
- package/dist/components/layout/grid/grid.stories.d.ts +0 -11
- package/dist/components/layout/grid/grid.stories.d.ts.map +0 -1
- package/dist/components/layout/page/page.d.ts +0 -11
- package/dist/components/layout/page/page.d.ts.map +0 -1
- package/dist/components/layout/page.stories.d.ts +0 -10
- package/dist/components/layout/page.stories.d.ts.map +0 -1
- package/dist/components/layout/placeholder.d.ts +0 -2
- package/dist/components/layout/placeholder.d.ts.map +0 -1
- package/dist/components/layout/print-header/print-header.d.ts +0 -8
- package/dist/components/layout/print-header/print-header.d.ts.map +0 -1
- package/dist/components/layout/row/row.d.ts +0 -16
- package/dist/components/layout/row/row.d.ts.map +0 -1
- package/dist/components/layout/spacer/spacer.d.ts +0 -8
- package/dist/components/layout/spacer/spacer.d.ts.map +0 -1
- package/dist/components/layout/spacer/spacer.stories.d.ts +0 -8
- package/dist/components/layout/spacer/spacer.stories.d.ts.map +0 -1
- package/dist/components/list/list-drag-wrapper.d.ts +0 -10
- package/dist/components/list/list-drag-wrapper.d.ts.map +0 -1
- package/dist/components/list/list-row/item-content.d.ts +0 -3
- package/dist/components/list/list-row/item-content.d.ts.map +0 -1
- package/dist/components/list/list-row/label.d.ts +0 -3
- package/dist/components/list/list-row/label.d.ts.map +0 -1
- package/dist/components/list/list-row/list-heading.d.ts +0 -12
- package/dist/components/list/list-row/list-heading.d.ts.map +0 -1
- package/dist/components/list/list-row/list-row.d.ts +0 -4
- package/dist/components/list/list-row/list-row.d.ts.map +0 -1
- package/dist/components/list/list-row/list-row.interface.d.ts +0 -99
- package/dist/components/list/list-row/list-row.interface.d.ts.map +0 -1
- package/dist/components/list/list-row/list-subheading.d.ts +0 -8
- package/dist/components/list/list-row/list-subheading.d.ts.map +0 -1
- package/dist/components/list/list-row/meta-content.d.ts +0 -3
- package/dist/components/list/list-row/meta-content.d.ts.map +0 -1
- package/dist/components/list/list-row/meta-count.d.ts +0 -3
- package/dist/components/list/list-row/meta-count.d.ts.map +0 -1
- package/dist/components/list/list-row/name.d.ts +0 -4
- package/dist/components/list/list-row/name.d.ts.map +0 -1
- package/dist/components/list/list-scroll-wrapper.d.ts +0 -13
- package/dist/components/list/list-scroll-wrapper.d.ts.map +0 -1
- package/dist/components/list/list-virtual-scroll-wrapper.d.ts +0 -13
- package/dist/components/list/list-virtual-scroll-wrapper.d.ts.map +0 -1
- package/dist/components/list/list.d.ts +0 -22
- package/dist/components/list/list.d.ts.map +0 -1
- package/dist/components/list/list.interface.d.ts +0 -24
- package/dist/components/list/list.interface.d.ts.map +0 -1
- package/dist/components/list/list.stories-data.d.ts +0 -392
- package/dist/components/list/list.stories-data.d.ts.map +0 -1
- package/dist/components/list/list.stories.d.ts +0 -39
- package/dist/components/list/list.stories.d.ts.map +0 -1
- package/dist/components/list/list.test-case.stories.d.ts +0 -7
- package/dist/components/list/list.test-case.stories.d.ts.map +0 -1
- package/dist/components/list/toggle-narrow.d.ts +0 -3
- package/dist/components/list/toggle-narrow.d.ts.map +0 -1
- package/dist/components/loader/loader.d.ts +0 -16
- package/dist/components/loader/loader.d.ts.map +0 -1
- package/dist/components/loader/loader.stories.d.ts +0 -34
- package/dist/components/loader/loader.stories.d.ts.map +0 -1
- package/dist/components/menu/is-menu-empty.d.ts +0 -3
- package/dist/components/menu/is-menu-empty.d.ts.map +0 -1
- package/dist/components/menu/layer/divider.d.ts +0 -2
- package/dist/components/menu/layer/divider.d.ts.map +0 -1
- package/dist/components/menu/layer/heading.d.ts +0 -9
- package/dist/components/menu/layer/heading.d.ts.map +0 -1
- package/dist/components/menu/layer/layer.d.ts +0 -15
- package/dist/components/menu/layer/layer.d.ts.map +0 -1
- package/dist/components/menu/layer/option.d.ts +0 -23
- package/dist/components/menu/layer/option.d.ts.map +0 -1
- package/dist/components/menu/layer/placementOptions.d.ts +0 -4
- package/dist/components/menu/layer/placementOptions.d.ts.map +0 -1
- package/dist/components/menu/layer/section.d.ts +0 -10
- package/dist/components/menu/layer/section.d.ts.map +0 -1
- package/dist/components/menu/menu.d.ts +0 -4
- package/dist/components/menu/menu.d.ts.map +0 -1
- package/dist/components/menu/menu.interface.d.ts +0 -70
- package/dist/components/menu/menu.interface.d.ts.map +0 -1
- package/dist/components/menu/menu.stories-data.d.ts +0 -137
- package/dist/components/menu/menu.stories-data.d.ts.map +0 -1
- package/dist/components/menu/menu.stories.d.ts +0 -35
- package/dist/components/menu/menu.stories.d.ts.map +0 -1
- package/dist/components/menu/menu.test-case.stories.d.ts +0 -21
- package/dist/components/menu/menu.test-case.stories.d.ts.map +0 -1
- package/dist/components/menu/trigger/button.d.ts +0 -8
- package/dist/components/menu/trigger/button.d.ts.map +0 -1
- package/dist/components/menu/trigger/component.d.ts +0 -14
- package/dist/components/menu/trigger/component.d.ts.map +0 -1
- package/dist/components/menu/trigger/text.d.ts +0 -12
- package/dist/components/menu/trigger/text.d.ts.map +0 -1
- package/dist/components/menu/trigger/trigger.d.ts +0 -35
- package/dist/components/menu/trigger/trigger.d.ts.map +0 -1
- package/dist/components/menu/types.d.ts +0 -14
- package/dist/components/menu/types.d.ts.map +0 -1
- package/dist/components/message/dismiss.d.ts +0 -10
- package/dist/components/message/dismiss.d.ts.map +0 -1
- package/dist/components/message/message.d.ts +0 -22
- package/dist/components/message/message.d.ts.map +0 -1
- package/dist/components/message/message.stories.d.ts +0 -15
- package/dist/components/message/message.stories.d.ts.map +0 -1
- package/dist/components/message/types.d.ts +0 -11
- package/dist/components/message/types.d.ts.map +0 -1
- package/dist/components/modal/modal.d.ts +0 -12
- package/dist/components/modal/modal.d.ts.map +0 -1
- package/dist/components/modal/modal.stories.d.ts +0 -15
- package/dist/components/modal/modal.stories.d.ts.map +0 -1
- package/dist/components/modal/modal.test-case.stories.d.ts +0 -11
- package/dist/components/modal/modal.test-case.stories.d.ts.map +0 -1
- package/dist/components/number-input/number-input.d.ts +0 -36
- package/dist/components/number-input/number-input.d.ts.map +0 -1
- package/dist/components/number-input/number-input.stories.d.ts +0 -18
- package/dist/components/number-input/number-input.stories.d.ts.map +0 -1
- package/dist/components/number-input/number-input.test-case.stories.d.ts +0 -12
- package/dist/components/number-input/number-input.test-case.stories.d.ts.map +0 -1
- package/dist/components/option-dropdown/enum.d.ts +0 -6
- package/dist/components/option-dropdown/enum.d.ts.map +0 -1
- package/dist/components/option-dropdown/heading.d.ts +0 -5
- package/dist/components/option-dropdown/heading.d.ts.map +0 -1
- package/dist/components/option-dropdown/layer.d.ts +0 -12
- package/dist/components/option-dropdown/layer.d.ts.map +0 -1
- package/dist/components/option-dropdown/option-dropdown.d.ts +0 -33
- package/dist/components/option-dropdown/option-dropdown.d.ts.map +0 -1
- package/dist/components/option-dropdown/option-dropdown.stories.d.ts +0 -12
- package/dist/components/option-dropdown/option-dropdown.stories.d.ts.map +0 -1
- package/dist/components/option-dropdown/option-dropdown.test-case.stories.d.ts +0 -7
- package/dist/components/option-dropdown/option-dropdown.test-case.stories.d.ts.map +0 -1
- package/dist/components/option-dropdown/option.d.ts +0 -9
- package/dist/components/option-dropdown/option.d.ts.map +0 -1
- package/dist/components/pagination/pagination.d.ts +0 -18
- package/dist/components/pagination/pagination.d.ts.map +0 -1
- package/dist/components/pagination/pagination.interface.d.ts +0 -16
- package/dist/components/pagination/pagination.interface.d.ts.map +0 -1
- package/dist/components/pagination/pagination.stories.d.ts +0 -8
- package/dist/components/pagination/pagination.stories.d.ts.map +0 -1
- package/dist/components/pagination/pagination.viewdata.d.ts +0 -18
- package/dist/components/pagination/pagination.viewdata.d.ts.map +0 -1
- package/dist/components/pop-confirm/content.d.ts +0 -13
- package/dist/components/pop-confirm/content.d.ts.map +0 -1
- package/dist/components/pop-confirm/pop-confirm.d.ts +0 -18
- package/dist/components/pop-confirm/pop-confirm.d.ts.map +0 -1
- package/dist/components/pop-confirm/pop-confirm.stories.d.ts +0 -9
- package/dist/components/pop-confirm/pop-confirm.stories.d.ts.map +0 -1
- package/dist/components/popover/popover.d.ts +0 -21
- package/dist/components/popover/popover.d.ts.map +0 -1
- package/dist/components/popover/popover.stories.d.ts +0 -12
- package/dist/components/popover/popover.stories.d.ts.map +0 -1
- package/dist/components/popover/popover.test-case.stories.d.ts +0 -20
- package/dist/components/popover/popover.test-case.stories.d.ts.map +0 -1
- package/dist/components/portal/portal.d.ts +0 -7
- package/dist/components/portal/portal.d.ts.map +0 -1
- package/dist/components/portal/portal.stories.d.ts +0 -8
- package/dist/components/portal/portal.stories.d.ts.map +0 -1
- package/dist/components/progress-bar/progress-bar.d.ts +0 -11
- package/dist/components/progress-bar/progress-bar.d.ts.map +0 -1
- package/dist/components/progress-bar/progress-bar.stories.d.ts +0 -6
- package/dist/components/progress-bar/progress-bar.stories.d.ts.map +0 -1
- package/dist/components/radio-button/radio-button.d.ts +0 -26
- package/dist/components/radio-button/radio-button.d.ts.map +0 -1
- package/dist/components/radio-button/radio-button.stories.d.ts +0 -12
- package/dist/components/radio-button/radio-button.stories.d.ts.map +0 -1
- package/dist/components/radio-button/radio-button.test-case.stories.d.ts +0 -8
- package/dist/components/radio-button/radio-button.test-case.stories.d.ts.map +0 -1
- package/dist/components/radio-button/radio-input.d.ts +0 -19
- package/dist/components/radio-button/radio-input.d.ts.map +0 -1
- package/dist/components/rich-text-input/mention/create-mention-extension.d.ts +0 -38
- package/dist/components/rich-text-input/mention/create-mention-extension.d.ts.map +0 -1
- package/dist/components/rich-text-input/mention/mention-suggestions.d.ts +0 -13
- package/dist/components/rich-text-input/mention/mention-suggestions.d.ts.map +0 -1
- package/dist/components/rich-text-input/mention/mention.d.ts +0 -9
- package/dist/components/rich-text-input/mention/mention.d.ts.map +0 -1
- package/dist/components/rich-text-input/mention/mention.interface.d.ts +0 -10
- package/dist/components/rich-text-input/mention/mention.interface.d.ts.map +0 -1
- package/dist/components/rich-text-input/rich-text-input.d.ts +0 -21
- package/dist/components/rich-text-input/rich-text-input.d.ts.map +0 -1
- package/dist/components/rich-text-input/rich-text-input.stories.d.ts +0 -12
- package/dist/components/rich-text-input/rich-text-input.stories.d.ts.map +0 -1
- package/dist/components/rich-text-input/rich-text-input.test-case.stories.d.ts +0 -5
- package/dist/components/rich-text-input/rich-text-input.test-case.stories.d.ts.map +0 -1
- package/dist/components/rich-text-input/rich-text-toolbar/enum.d.ts +0 -9
- package/dist/components/rich-text-input/rich-text-toolbar/enum.d.ts.map +0 -1
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.d.ts +0 -11
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.d.ts.map +0 -1
- package/dist/components/select/custom-select/custom-select.d.ts +0 -3
- package/dist/components/select/custom-select/custom-select.d.ts.map +0 -1
- package/dist/components/select/custom-select/custom-select.interface.d.ts +0 -38
- package/dist/components/select/custom-select/custom-select.interface.d.ts.map +0 -1
- package/dist/components/select/custom-select/helper.d.ts +0 -5
- package/dist/components/select/custom-select/helper.d.ts.map +0 -1
- package/dist/components/select/custom-select/hooks/combo-box-bridges.d.ts +0 -13
- package/dist/components/select/custom-select/hooks/combo-box-bridges.d.ts.map +0 -1
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts +0 -36
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts.map +0 -1
- package/dist/components/select/custom-select/layer/heading.d.ts +0 -5
- package/dist/components/select/custom-select/layer/heading.d.ts.map +0 -1
- package/dist/components/select/custom-select/layer/layer.d.ts +0 -13
- package/dist/components/select/custom-select/layer/layer.d.ts.map +0 -1
- package/dist/components/select/custom-select/layer/option.d.ts +0 -12
- package/dist/components/select/custom-select/layer/option.d.ts.map +0 -1
- package/dist/components/select/custom-select/layer/placementOptions.d.ts +0 -8
- package/dist/components/select/custom-select/layer/placementOptions.d.ts.map +0 -1
- package/dist/components/select/custom-select/layer/section.d.ts +0 -22
- package/dist/components/select/custom-select/layer/section.d.ts.map +0 -1
- package/dist/components/select/custom-select/trigger/input.d.ts +0 -16
- package/dist/components/select/custom-select/trigger/input.d.ts.map +0 -1
- package/dist/components/select/custom-select/trigger/multi-selected-options.d.ts +0 -10
- package/dist/components/select/custom-select/trigger/multi-selected-options.d.ts.map +0 -1
- package/dist/components/select/custom-select/trigger/trigger.d.ts +0 -30
- package/dist/components/select/custom-select/trigger/trigger.d.ts.map +0 -1
- package/dist/components/select/native-select/native-select.d.ts +0 -30
- package/dist/components/select/native-select/native-select.d.ts.map +0 -1
- package/dist/components/select/select.d.ts +0 -40
- package/dist/components/select/select.d.ts.map +0 -1
- package/dist/components/select/select.input.d.ts +0 -21
- package/dist/components/select/select.input.d.ts.map +0 -1
- package/dist/components/select/select.interface.d.ts +0 -13
- package/dist/components/select/select.interface.d.ts.map +0 -1
- package/dist/components/select/select.stories-data.d.ts +0 -28
- package/dist/components/select/select.stories-data.d.ts.map +0 -1
- package/dist/components/select/select.stories.d.ts +0 -35
- package/dist/components/select/select.stories.d.ts.map +0 -1
- package/dist/components/select/select.test-case.stories.d.ts +0 -19
- package/dist/components/select/select.test-case.stories.d.ts.map +0 -1
- package/dist/components/setting-field/setting-field.d.ts +0 -15
- package/dist/components/setting-field/setting-field.d.ts.map +0 -1
- package/dist/components/setting-field/setting-field.stories.d.ts +0 -9
- package/dist/components/setting-field/setting-field.stories.d.ts.map +0 -1
- package/dist/components/setting-field/setting-field.test-case.stories.d.ts +0 -5
- package/dist/components/setting-field/setting-field.test-case.stories.d.ts.map +0 -1
- package/dist/components/side-bar/link.d.ts +0 -11
- package/dist/components/side-bar/link.d.ts.map +0 -1
- package/dist/components/side-bar/sections.d.ts +0 -15
- package/dist/components/side-bar/sections.d.ts.map +0 -1
- package/dist/components/side-bar/side-bar.d.ts +0 -30
- package/dist/components/side-bar/side-bar.d.ts.map +0 -1
- package/dist/components/side-bar/side-bar.stories.d.ts +0 -7
- package/dist/components/side-bar/side-bar.stories.d.ts.map +0 -1
- package/dist/components/side-bar/side-bar.test-case.stories.d.ts +0 -6
- package/dist/components/side-bar/side-bar.test-case.stories.d.ts.map +0 -1
- package/dist/components/skeleton/skeleton.d.ts +0 -7
- package/dist/components/skeleton/skeleton.d.ts.map +0 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +0 -24
- package/dist/components/skeleton/skeleton.stories.d.ts.map +0 -1
- package/dist/components/slider/slider.d.ts +0 -34
- package/dist/components/slider/slider.d.ts.map +0 -1
- package/dist/components/slider/slider.stories.d.ts +0 -21
- package/dist/components/slider/slider.stories.d.ts.map +0 -1
- package/dist/components/slider/slider.test-case.stories.d.ts +0 -10
- package/dist/components/slider/slider.test-case.stories.d.ts.map +0 -1
- package/dist/components/smart-upload-modal/smart-upload-modal.d.ts +0 -21
- package/dist/components/smart-upload-modal/smart-upload-modal.d.ts.map +0 -1
- package/dist/components/smart-upload-modal/smart-upload-modal.stories.d.ts +0 -5
- package/dist/components/smart-upload-modal/smart-upload-modal.stories.d.ts.map +0 -1
- package/dist/components/smart-upload-modal/smart-upload-modal.test-case.stories.d.ts +0 -5
- package/dist/components/smart-upload-modal/smart-upload-modal.test-case.stories.d.ts.map +0 -1
- package/dist/components/spinner/spinner.d.ts +0 -8
- package/dist/components/spinner/spinner.d.ts.map +0 -1
- package/dist/components/spinner/spinner.stories.d.ts +0 -10
- package/dist/components/spinner/spinner.stories.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/action-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/action-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/cell-help-icon.d.ts +0 -6
- package/dist/components/table/cell/cell-types/cell-help-icon.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/cell-library-icon.d.ts +0 -6
- package/dist/components/table/cell/cell-types/cell-library-icon.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/cell-types.interface.d.ts +0 -182
- package/dist/components/table/cell/cell-types/cell-types.interface.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/check-box-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/check-box-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/icon-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/icon-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/input-cell.d.ts +0 -10
- package/dist/components/table/cell/cell-types/input-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/link-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/link-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/number-input-cell.d.ts +0 -10
- package/dist/components/table/cell/cell-types/number-input-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/popover-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/popover-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/radio-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/radio-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/select-cell.d.ts +0 -9
- package/dist/components/table/cell/cell-types/select-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/slider-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/slider-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/sort-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/sort-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-types/static-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/static-cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell-wrapper.d.ts +0 -9
- package/dist/components/table/cell/cell-wrapper.d.ts.map +0 -1
- package/dist/components/table/cell/cell.d.ts +0 -13
- package/dist/components/table/cell/cell.d.ts.map +0 -1
- package/dist/components/table/cell/cell.stories.d.ts +0 -29
- package/dist/components/table/cell/cell.stories.d.ts.map +0 -1
- package/dist/components/table/cell/input-cell-wrapper.d.ts +0 -8
- package/dist/components/table/cell/input-cell-wrapper.d.ts.map +0 -1
- package/dist/components/table/enum.d.ts +0 -14
- package/dist/components/table/enum.d.ts.map +0 -1
- package/dist/components/table/footer/footer.d.ts +0 -12
- package/dist/components/table/footer/footer.d.ts.map +0 -1
- package/dist/components/table/footer/footer.stories.d.ts +0 -5
- package/dist/components/table/footer/footer.stories.d.ts.map +0 -1
- package/dist/components/table/helper.d.ts +0 -25
- package/dist/components/table/helper.d.ts.map +0 -1
- package/dist/components/table/row/expanded-content-row.d.ts +0 -8
- package/dist/components/table/row/expanded-content-row.d.ts.map +0 -1
- package/dist/components/table/row/row.d.ts +0 -48
- package/dist/components/table/row/row.d.ts.map +0 -1
- package/dist/components/table/row/row.stories.d.ts +0 -16
- package/dist/components/table/row/row.stories.d.ts.map +0 -1
- package/dist/components/table/table-drag-wrapper.d.ts +0 -25
- package/dist/components/table/table-drag-wrapper.d.ts.map +0 -1
- package/dist/components/table/table-scroll-wrapper.d.ts +0 -12
- package/dist/components/table/table-scroll-wrapper.d.ts.map +0 -1
- package/dist/components/table/table-virtual-scroll-wrapper.d.ts +0 -12
- package/dist/components/table/table-virtual-scroll-wrapper.d.ts.map +0 -1
- package/dist/components/table/table.d.ts +0 -47
- package/dist/components/table/table.d.ts.map +0 -1
- package/dist/components/table/table.stories-data.d.ts +0 -2174
- package/dist/components/table/table.stories-data.d.ts.map +0 -1
- package/dist/components/table/table.stories.d.ts +0 -23
- package/dist/components/table/table.stories.d.ts.map +0 -1
- package/dist/components/table/table.test-case.stories.d.ts +0 -13
- package/dist/components/table/table.test-case.stories.d.ts.map +0 -1
- package/dist/components/table/table.viewdata.d.ts +0 -14
- package/dist/components/table/table.viewdata.d.ts.map +0 -1
- package/dist/components/table/title/title.d.ts +0 -10
- package/dist/components/table/title/title.d.ts.map +0 -1
- package/dist/components/table/title/title.stories.d.ts +0 -14
- package/dist/components/table/title/title.stories.d.ts.map +0 -1
- package/dist/components/tabs/label.d.ts +0 -8
- package/dist/components/tabs/label.d.ts.map +0 -1
- package/dist/components/tabs/tabs.d.ts +0 -42
- package/dist/components/tabs/tabs.d.ts.map +0 -1
- package/dist/components/tabs/tabs.stories.d.ts +0 -21
- package/dist/components/tabs/tabs.stories.d.ts.map +0 -1
- package/dist/components/tabs/tabs.test-case.stories.d.ts +0 -8
- package/dist/components/tabs/tabs.test-case.stories.d.ts.map +0 -1
- package/dist/components/text/text.d.ts +0 -16
- package/dist/components/text/text.d.ts.map +0 -1
- package/dist/components/text/text.stories.d.ts +0 -13
- package/dist/components/text/text.stories.d.ts.map +0 -1
- package/dist/components/text-link/text-link.d.ts +0 -11
- package/dist/components/text-link/text-link.d.ts.map +0 -1
- package/dist/components/text-link/text-link.stories.d.ts +0 -8
- package/dist/components/text-link/text-link.stories.d.ts.map +0 -1
- package/dist/components/textarea/textarea.d.ts +0 -26
- package/dist/components/textarea/textarea.d.ts.map +0 -1
- package/dist/components/textarea/textarea.stories.d.ts +0 -6
- package/dist/components/textarea/textarea.stories.d.ts.map +0 -1
- package/dist/components/toaster/toaster.d.ts +0 -21
- package/dist/components/toaster/toaster.d.ts.map +0 -1
- package/dist/components/toaster/toaster.stories.d.ts +0 -23
- package/dist/components/toaster/toaster.stories.d.ts.map +0 -1
- package/dist/components/toaster/toaster.test-case.stories.d.ts +0 -6
- package/dist/components/toaster/toaster.test-case.stories.d.ts.map +0 -1
- package/dist/components/toggle/toggle.d.ts +0 -19
- package/dist/components/toggle/toggle.d.ts.map +0 -1
- package/dist/components/toggle/toggle.stories.d.ts +0 -15
- package/dist/components/toggle/toggle.stories.d.ts.map +0 -1
- package/dist/components/toggle/toggle.test-case.stories.d.ts +0 -9
- package/dist/components/toggle/toggle.test-case.stories.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip-layer.d.ts +0 -18
- package/dist/components/tooltip/tooltip-layer.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip.d.ts +0 -23
- package/dist/components/tooltip/tooltip.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip.stories.d.ts +0 -13
- package/dist/components/tooltip/tooltip.stories.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip.test-case.stories.d.ts +0 -9
- package/dist/components/tooltip/tooltip.test-case.stories.d.ts.map +0 -1
- package/dist/components/top-bar/app-switcher.d.ts +0 -8
- package/dist/components/top-bar/app-switcher.d.ts.map +0 -1
- package/dist/components/top-bar/element/element.d.ts +0 -6
- package/dist/components/top-bar/element/element.d.ts.map +0 -1
- package/dist/components/top-bar/element/link.d.ts +0 -13
- package/dist/components/top-bar/element/link.d.ts.map +0 -1
- package/dist/components/top-bar/title.d.ts +0 -11
- package/dist/components/top-bar/title.d.ts.map +0 -1
- package/dist/components/top-bar/top-bar.d.ts +0 -15
- package/dist/components/top-bar/top-bar.d.ts.map +0 -1
- package/dist/components/top-bar/top-bar.stories.d.ts +0 -10
- package/dist/components/top-bar/top-bar.stories.d.ts.map +0 -1
- package/dist/components/top-bar/top-bar.testcase.stories.d.ts +0 -6
- package/dist/components/top-bar/top-bar.testcase.stories.d.ts.map +0 -1
- package/dist/components/top-bar/types.d.ts +0 -36
- package/dist/components/top-bar/types.d.ts.map +0 -1
- package/dist/components/top-bar/warning.d.ts +0 -6
- package/dist/components/top-bar/warning.d.ts.map +0 -1
- package/dist/components/tree/tree-item.d.ts +0 -18
- package/dist/components/tree/tree-item.d.ts.map +0 -1
- package/dist/components/tree/tree-placeholder.d.ts +0 -7
- package/dist/components/tree/tree-placeholder.d.ts.map +0 -1
- package/dist/components/tree/tree.d.ts +0 -56
- package/dist/components/tree/tree.d.ts.map +0 -1
- package/dist/components/tree/tree.stories-data.d.ts +0 -204
- package/dist/components/tree/tree.stories-data.d.ts.map +0 -1
- package/dist/components/tree/tree.stories.d.ts +0 -19
- package/dist/components/tree/tree.stories.d.ts.map +0 -1
- package/dist/components/tree/tree.test-case.stories.d.ts +0 -6
- package/dist/components/tree/tree.test-case.stories.d.ts.map +0 -1
- package/dist/components/tree-table/tree-table-check-context.d.ts +0 -35
- package/dist/components/tree-table/tree-table-check-context.d.ts.map +0 -1
- package/dist/components/tree-table/tree-table-header.d.ts +0 -11
- package/dist/components/tree-table/tree-table-header.d.ts.map +0 -1
- package/dist/components/tree-table/tree-table-row.d.ts +0 -25
- package/dist/components/tree-table/tree-table-row.d.ts.map +0 -1
- package/dist/components/tree-table/tree-table.d.ts +0 -17
- package/dist/components/tree-table/tree-table.d.ts.map +0 -1
- package/dist/components/tree-table/tree-table.stories-data.d.ts +0 -118
- package/dist/components/tree-table/tree-table.stories-data.d.ts.map +0 -1
- package/dist/components/tree-table/tree-table.stories.d.ts +0 -11
- package/dist/components/tree-table/tree-table.stories.d.ts.map +0 -1
- package/dist/components/unit-input/hooks/use-previous.d.ts +0 -2
- package/dist/components/unit-input/hooks/use-previous.d.ts.map +0 -1
- package/dist/components/unit-input/hooks/use-run-after-update.d.ts +0 -2
- package/dist/components/unit-input/hooks/use-run-after-update.d.ts.map +0 -1
- package/dist/components/unit-input/types.d.ts +0 -5
- package/dist/components/unit-input/types.d.ts.map +0 -1
- package/dist/components/unit-input/unit-input.d.ts +0 -59
- package/dist/components/unit-input/unit-input.d.ts.map +0 -1
- package/dist/components/unit-input/unit-input.stories.d.ts +0 -29
- package/dist/components/unit-input/unit-input.stories.d.ts.map +0 -1
- package/dist/components/unit-input/unit-input.test-case.stories.d.ts +0 -51
- package/dist/components/unit-input/unit-input.test-case.stories.d.ts.map +0 -1
- package/dist/components/unit-input/utils/get-string-name.d.ts +0 -4
- package/dist/components/unit-input/utils/get-string-name.d.ts.map +0 -1
- package/dist/components/unit-input/utils/is-known-unit.d.ts +0 -2
- package/dist/components/unit-input/utils/is-known-unit.d.ts.map +0 -1
- package/dist/components/unit-input/utils/is-wrong-value.d.ts +0 -7
- package/dist/components/unit-input/utils/is-wrong-value.d.ts.map +0 -1
- package/dist/components/unit-input/utils/isValueWithUnknownUnit.d.ts +0 -2
- package/dist/components/unit-input/utils/isValueWithUnknownUnit.d.ts.map +0 -1
- package/dist/components/unit-input/utils/safe-convert-value.d.ts +0 -14
- package/dist/components/unit-input/utils/safe-convert-value.d.ts.map +0 -1
- package/dist/components/unit-input/utils/safe-round-numbers.d.ts +0 -2
- package/dist/components/unit-input/utils/safe-round-numbers.d.ts.map +0 -1
- package/dist/components/unit-slider/unit-slider.d.ts +0 -28
- package/dist/components/unit-slider/unit-slider.d.ts.map +0 -1
- package/dist/components/unit-slider/unit-slider.stories.d.ts +0 -8
- package/dist/components/unit-slider/unit-slider.stories.d.ts.map +0 -1
- package/dist/components/unit-slider/unit-slider.test-case.stories.d.ts +0 -15
- package/dist/components/unit-slider/unit-slider.test-case.stories.d.ts.map +0 -1
- package/dist/components/unit-table/unit-table.d.ts +0 -62
- package/dist/components/unit-table/unit-table.d.ts.map +0 -1
- package/dist/components/unit-table/unit-table.stories.d.ts +0 -11
- package/dist/components/unit-table/unit-table.stories.d.ts.map +0 -1
- package/dist/components/unit-table/unit-table.test-case.stories.d.ts +0 -7
- package/dist/components/unit-table/unit-table.test-case.stories.d.ts.map +0 -1
- package/dist/components/usage-tracker/usage-tracker.d.ts +0 -14
- package/dist/components/usage-tracker/usage-tracker.d.ts.map +0 -1
- package/dist/helpers/check-conversion/check-conversion.d.ts +0 -8
- package/dist/helpers/check-conversion/check-conversion.d.ts.map +0 -1
- package/dist/helpers/convert-unit/convert-unit.d.ts +0 -20
- package/dist/helpers/convert-unit/convert-unit.d.ts.map +0 -1
- package/dist/helpers/date.d.ts +0 -10
- package/dist/helpers/date.d.ts.map +0 -1
- package/dist/helpers/disabled-context.d.ts +0 -3
- package/dist/helpers/disabled-context.d.ts.map +0 -1
- package/dist/helpers/floating-layer/components/root.d.ts +0 -5
- package/dist/helpers/floating-layer/components/root.d.ts.map +0 -1
- package/dist/helpers/floating-layer/constants.d.ts +0 -5
- package/dist/helpers/floating-layer/constants.d.ts.map +0 -1
- package/dist/helpers/floating-layer/hooks/use-client-point-trigger.d.ts +0 -11
- package/dist/helpers/floating-layer/hooks/use-client-point-trigger.d.ts.map +0 -1
- package/dist/helpers/floating-layer/hooks/use-floating-layer.d.ts +0 -20
- package/dist/helpers/floating-layer/hooks/use-floating-layer.d.ts.map +0 -1
- package/dist/helpers/floating-layer/index.d.ts +0 -5
- package/dist/helpers/floating-layer/index.d.ts.map +0 -1
- package/dist/helpers/floating-layer/types.d.ts +0 -47
- package/dist/helpers/floating-layer/types.d.ts.map +0 -1
- package/dist/helpers/get-preferred-unit.d.ts +0 -6
- package/dist/helpers/get-preferred-unit.d.ts.map +0 -1
- package/dist/helpers/helpers.d.ts +0 -3
- package/dist/helpers/helpers.d.ts.map +0 -1
- package/dist/helpers/initialize-context.d.ts +0 -6
- package/dist/helpers/initialize-context.d.ts.map +0 -1
- package/dist/helpers/merge-refs.d.ts +0 -6
- package/dist/helpers/merge-refs.d.ts.map +0 -1
- package/dist/helpers/overlay-trigger/aria-overlay-popover.d.ts +0 -20
- package/dist/helpers/overlay-trigger/aria-overlay-popover.d.ts.map +0 -1
- package/dist/helpers/overlay-trigger/index.d.ts +0 -9
- package/dist/helpers/overlay-trigger/index.d.ts.map +0 -1
- package/dist/helpers/overlay-trigger/overlay-trigger-child.d.ts +0 -31
- package/dist/helpers/overlay-trigger/overlay-trigger-child.d.ts.map +0 -1
- package/dist/helpers/overlay-trigger/use-overlay-top-layer-dismiss.d.ts +0 -23
- package/dist/helpers/overlay-trigger/use-overlay-top-layer-dismiss.d.ts.map +0 -1
- package/dist/helpers/overlay-trigger/utils.d.ts +0 -30
- package/dist/helpers/overlay-trigger/utils.d.ts.map +0 -1
- package/dist/helpers/text.d.ts +0 -2
- package/dist/helpers/text.d.ts.map +0 -1
- package/dist/helpers/types.d.ts +0 -5
- package/dist/helpers/types.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/use-focus.d.ts +0 -6
- package/dist/hooks/use-focus.d.ts.map +0 -1
- package/dist/hooks/use-fonts-ready.d.ts +0 -2
- package/dist/hooks/use-fonts-ready.d.ts.map +0 -1
- package/dist/hooks/use-keyboard-event.d.ts +0 -7
- package/dist/hooks/use-keyboard-event.d.ts.map +0 -1
- package/dist/hooks/use-window-width.d.ts +0 -2
- package/dist/hooks/use-window-width.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/translations/config.d.ts +0 -10
- package/dist/translations/config.d.ts.map +0 -1
- package/dist/translations/enums.d.ts +0 -3
- package/dist/translations/enums.d.ts.map +0 -1
- package/dist/translations/get-translations.d.ts +0 -7
- package/dist/translations/get-translations.d.ts.map +0 -1
- package/dist/translations/initialize-gui-library.d.ts +0 -11
- package/dist/translations/initialize-gui-library.d.ts.map +0 -1
- package/dist/translations/translation-fallback.d.ts +0 -27
- package/dist/translations/translation-fallback.d.ts.map +0 -1
- package/dist/translations/types.d.ts +0 -16
- package/dist/translations/types.d.ts.map +0 -1
- package/dist/typings/common-type-definitions.d.ts +0 -34
- package/dist/typings/common-type-definitions.d.ts.map +0 -1
- package/dist/typings/common-types.d.ts +0 -103
- package/dist/typings/common-types.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,202 +1,2480 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
export
|
|
33
|
-
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export type
|
|
57
|
-
|
|
58
|
-
export
|
|
59
|
-
|
|
60
|
-
export
|
|
61
|
-
|
|
62
|
-
export
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
export
|
|
71
|
-
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
export
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
export {
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
|
|
87
|
-
export {
|
|
88
|
-
|
|
89
|
-
export {
|
|
90
|
-
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
export
|
|
101
|
-
|
|
102
|
-
export
|
|
103
|
-
|
|
104
|
-
export
|
|
105
|
-
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
export
|
|
109
|
-
|
|
110
|
-
export
|
|
111
|
-
|
|
112
|
-
export
|
|
113
|
-
|
|
114
|
-
export
|
|
115
|
-
|
|
116
|
-
export
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
export {
|
|
132
|
-
|
|
133
|
-
export {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
export
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
export {
|
|
158
|
-
|
|
159
|
-
export {
|
|
160
|
-
|
|
161
|
-
export {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
export
|
|
177
|
-
|
|
178
|
-
export
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
export {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
export
|
|
201
|
-
|
|
202
|
-
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
import { Color as Color_2 } from 'react-aria-components/ColorPicker';
|
|
3
|
+
import { Context } from 'react';
|
|
4
|
+
import { CSSProperties } from 'react';
|
|
5
|
+
import { default as default_2 } from 'react';
|
|
6
|
+
import { DependencyList } from 'react';
|
|
7
|
+
import { DropOptions } from '@minoru/react-dnd-treeview';
|
|
8
|
+
import { Editor } from '@tiptap/react';
|
|
9
|
+
import { ElementType as ElementType_2 } from 'react';
|
|
10
|
+
import { FC } from 'react';
|
|
11
|
+
import { FocusEvent as FocusEvent_2 } from 'react';
|
|
12
|
+
import { FocusEventHandler } from 'react';
|
|
13
|
+
import { Id } from 'react-toastify';
|
|
14
|
+
import { JSX } from 'react/jsx-runtime';
|
|
15
|
+
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
|
16
|
+
import { KeyboardEventHandler } from 'react';
|
|
17
|
+
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
18
|
+
import { MouseEventHandler } from 'react';
|
|
19
|
+
import { MutableRefObject } from 'react';
|
|
20
|
+
import { NamedExoticComponent } from 'react';
|
|
21
|
+
import { NodeModel } from '@minoru/react-dnd-treeview';
|
|
22
|
+
import { Property } from 'csstype';
|
|
23
|
+
import { ReactElement } from 'react';
|
|
24
|
+
import { ReactNode } from 'react';
|
|
25
|
+
import { ReactPortal } from 'react';
|
|
26
|
+
import { RefAttributes } from 'react';
|
|
27
|
+
import { RefObject } from 'react';
|
|
28
|
+
import { ToastContainer as Toaster } from 'react-toastify';
|
|
29
|
+
|
|
30
|
+
export declare const Accordion: ({ heading, expanded, managed, bordered, flush, padding, children, onClick, squareBottom, testId, }: IAccordionProps) => JSX.Element;
|
|
31
|
+
|
|
32
|
+
export declare const AccordionWithDefaultToggle: ({ heading, toggleLabel, onClickDefaultToggle, expanded, defaultEnabled, padding, children, }: IAccordionWithDefaultToggleProps) => JSX.Element;
|
|
33
|
+
|
|
34
|
+
export declare const Actions: (props: IActionProps) => JSX.Element;
|
|
35
|
+
|
|
36
|
+
export declare enum Align {
|
|
37
|
+
LEFT = "left",
|
|
38
|
+
RIGHT = "right",
|
|
39
|
+
CENTER = "center"
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export declare const AuditLog: React.FC<IAuditLogProps>;
|
|
43
|
+
|
|
44
|
+
export declare interface AuditLogItem {
|
|
45
|
+
id: string;
|
|
46
|
+
userName: string;
|
|
47
|
+
operation: AuditLogOperation;
|
|
48
|
+
source?: string | null;
|
|
49
|
+
createdAt?: string;
|
|
50
|
+
date?: string;
|
|
51
|
+
diffs?: JsonDelta | JsonDelta[] | null;
|
|
52
|
+
operationMetaData?: string | number | null;
|
|
53
|
+
snapshot?: string | null;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export declare type AuditLogOperation = 'Created' | 'Cloned' | 'Reverted' | 'Imported' | 'Updated';
|
|
57
|
+
|
|
58
|
+
export declare const Badge: ({ children, color, textColor: textColorProp, title, dot, margin, small, }: IBadgeProps) => JSX.Element;
|
|
59
|
+
|
|
60
|
+
export declare const Breadcrumb: ({ links, small }: IBreadcrumbProps) => JSX.Element;
|
|
61
|
+
|
|
62
|
+
export declare enum BreadcrumbLinkType {
|
|
63
|
+
LABEL = "label",
|
|
64
|
+
LINK = "link",
|
|
65
|
+
CUSTOM = "custom"
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export declare const Button: default_2.ForwardRefExoticComponent<IButtonProps & default_2.RefAttributes<HTMLElement>>;
|
|
69
|
+
|
|
70
|
+
export declare const ButtonGroup: (props: IButtonGroupProps) => JSX.Element;
|
|
71
|
+
|
|
72
|
+
export declare enum ButtonPosition {
|
|
73
|
+
TOP = "top",
|
|
74
|
+
BOTTOM = "bottom"
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export declare enum ButtonType {
|
|
78
|
+
SUBMIT = "submit",
|
|
79
|
+
BUTTON = "button",
|
|
80
|
+
RESET = "reset"
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export declare const Card: ({ bordered, heading, children, margin, padding, raised, }: ICardProps) => JSX.Element;
|
|
84
|
+
|
|
85
|
+
export declare const CheckBox: ({ noMargin, dataix, isInTable, tabIndex, checked, indeterminate, name, label, disabled, small, onChange, testId, helpText, onClickHelp, textTransform, }: ICheckBoxProps) => JSX.Element;
|
|
86
|
+
|
|
87
|
+
export declare const Chevron: ({ expanded }: IChevronProps) => JSX.Element;
|
|
88
|
+
|
|
89
|
+
export declare const Collapse: ({ children, expanded }: ICollapseProps) => JSX.Element;
|
|
90
|
+
|
|
91
|
+
export declare enum Color {
|
|
92
|
+
DANGER = "danger",
|
|
93
|
+
RED = "red",
|
|
94
|
+
WHITE = "white",
|
|
95
|
+
SUCCESS = "success",
|
|
96
|
+
GREEN = "green",
|
|
97
|
+
MUTED = "muted"
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export declare const ColorInput: ({ adjustColorsInDarkMode, columns, disabled, hideAreaPicker, onChange, onConfirm, options, small, testId, value, }: IColorInputProps) => JSX.Element;
|
|
101
|
+
|
|
102
|
+
export declare const ColorInputPopover: ({ adjustColorsInDarkMode, children, columns, disabled, hideAreaPicker, onChange, onConfirm, options, testId, value, }: IColorInputPopoverProps) => JSX.Element;
|
|
103
|
+
|
|
104
|
+
export declare const Column: ({ background, borderLeft, borderRight, children, flex, flexbox, padding, scroll, showScrollbar, spacing, width, widthMobile, widthTablet, testId, }: ILayoutColumnProps) => JSX.Element;
|
|
105
|
+
|
|
106
|
+
export declare const Dialog: ({ dialog }: IDialogProps) => JSX.Element;
|
|
107
|
+
|
|
108
|
+
export declare const DiffViewer: ({ oldJson, newJson, viewType }: IDiffViewerProps) => JSX.Element;
|
|
109
|
+
|
|
110
|
+
export declare const DisabledContext: default_2.Context<boolean>;
|
|
111
|
+
|
|
112
|
+
export declare const dismissToast: (id: Id) => void;
|
|
113
|
+
|
|
114
|
+
export declare const Divider: ({ children, margin, color, align, }: IDividerProps) => JSX.Element;
|
|
115
|
+
|
|
116
|
+
export declare const Drawer: ({ background, fixed, open: openProp, setOpen: setOpenProp, right, width, closedWidth, shadow, top, button, buttonAnimate, buttonPosition, border, children, tabs, defaultTabIndex, activeTab: activeTabProp, setActiveTab: setActiveTabProp, testId, onResize, getActiveTab, onClose, onOpen, maxOpenWidth, }: IDrawerProps) => JSX.Element;
|
|
117
|
+
|
|
118
|
+
declare enum DropdownType {
|
|
119
|
+
HEADING = "Heading",
|
|
120
|
+
DIVIDER = "Divider",
|
|
121
|
+
DEFAULT = "Default"
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export declare enum ElementType {
|
|
125
|
+
LINK = "Link",
|
|
126
|
+
BUTTON = "Button",
|
|
127
|
+
MENU = "Menu",
|
|
128
|
+
COMPONENT = "Component"
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export declare const Empty: ({ width, height, text, children, testId }: IEmptyProps) => JSX.Element;
|
|
132
|
+
|
|
133
|
+
export declare const ErrorBoundary: ({ children, options }: ErrorBoundaryProps) => JSX.Element;
|
|
134
|
+
|
|
135
|
+
declare type ErrorBoundaryOptions = {
|
|
136
|
+
ErrorComponent?: default_2.ComponentType;
|
|
137
|
+
isSideBar?: boolean;
|
|
138
|
+
isRightSideBar?: boolean;
|
|
139
|
+
isPage?: boolean;
|
|
140
|
+
style?: default_2.CSSProperties;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
declare type ErrorBoundaryProps = default_2.PropsWithChildren<{
|
|
144
|
+
options?: ErrorBoundaryOptions;
|
|
145
|
+
}>;
|
|
146
|
+
|
|
147
|
+
export declare enum EventKey {
|
|
148
|
+
RIGHT = "ArrowRight",
|
|
149
|
+
LEFT = "ArrowLeft",
|
|
150
|
+
UP = "ArrowUp",
|
|
151
|
+
DOWN = "ArrowDown",
|
|
152
|
+
ENTER = "Enter",
|
|
153
|
+
ESC = "Escape",
|
|
154
|
+
TAB = "Tab"
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export declare const Field: ({ label, labelLeft, labelWidth, children, helpText, helpTextMaxWidth, onClickHelp, lock, info, libraryIcon, small, testId, textTransform, }: IFieldProps) => JSX.Element;
|
|
158
|
+
|
|
159
|
+
export declare const FileButton: ({ file: _file, accept, multi, name, disabled, onChange, ...buttonProps }: IFileButtonProps) => JSX.Element;
|
|
160
|
+
|
|
161
|
+
export declare const FileInput: ({ label, loading, placeholder, disabled, file, accept, multi, name, width, onChange, testId, }: IFileInputProps) => ReactElement;
|
|
162
|
+
|
|
163
|
+
declare type FilterToggle = {
|
|
164
|
+
id: string;
|
|
165
|
+
label: string;
|
|
166
|
+
checked: boolean;
|
|
167
|
+
small?: boolean;
|
|
168
|
+
disabled?: boolean;
|
|
169
|
+
onChange: () => void;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export declare const Flex: ({ alignItems, justifyContent, direction, height, width, children, wrap, gap, }: IFlexProps) => JSX.Element;
|
|
173
|
+
|
|
174
|
+
export declare const FormRow: ({ children }: IFormRowProps) => JSX.Element;
|
|
175
|
+
|
|
176
|
+
export declare const Grid: ({ rows, columns, columnsTablet, columnsMobile, gap, height, children, }: IGridProps) => JSX.Element;
|
|
177
|
+
|
|
178
|
+
export declare enum GroupOrder {
|
|
179
|
+
FIRST = "first",
|
|
180
|
+
MIDDLE = "middle",
|
|
181
|
+
LAST = "last"
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export declare const Heading: default_2.ForwardRefExoticComponent<IHeadingProps & default_2.RefAttributes<HTMLHeadingElement>>;
|
|
185
|
+
|
|
186
|
+
export declare const HelpIcon: ({ text, onClick, icon, active, maxWidth, testId, }: IHelpIconProps) => JSX.Element;
|
|
187
|
+
|
|
188
|
+
declare interface IAccordionBaseProps {
|
|
189
|
+
heading: ReactNode;
|
|
190
|
+
expanded?: boolean;
|
|
191
|
+
bordered?: boolean;
|
|
192
|
+
flush?: boolean;
|
|
193
|
+
padding?: boolean;
|
|
194
|
+
children?: ReactNode;
|
|
195
|
+
squareBottom?: boolean;
|
|
196
|
+
onClick?: TEmpty;
|
|
197
|
+
testId?: string;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export declare interface IAccordionProps extends IAccordionBaseProps {
|
|
201
|
+
managed?: boolean;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export declare interface IAccordionWithDefaultToggleProps {
|
|
205
|
+
heading: ReactNode;
|
|
206
|
+
toggleLabel: string;
|
|
207
|
+
expanded?: boolean;
|
|
208
|
+
defaultEnabled?: boolean;
|
|
209
|
+
onClickDefaultToggle?: TCheckBoxClickHandler;
|
|
210
|
+
padding?: boolean;
|
|
211
|
+
children?: ReactNode;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export declare interface IAction {
|
|
215
|
+
label?: ReactNode;
|
|
216
|
+
childComponent?: ReactNode | (() => ReactNode);
|
|
217
|
+
subActions?: ISubAction[];
|
|
218
|
+
primary?: boolean;
|
|
219
|
+
icon?: ReactNode;
|
|
220
|
+
testId?: string;
|
|
221
|
+
hidden?: boolean;
|
|
222
|
+
disabled?: boolean;
|
|
223
|
+
onClick?: (evt: default_2.MouseEvent, id?: TStringOrNumber) => void;
|
|
224
|
+
tooltip?: ReactNode | string;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare interface IActionCell extends TCommonCell {
|
|
228
|
+
type: TCellType;
|
|
229
|
+
actions: any;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export declare interface IActionProps {
|
|
233
|
+
actions: IAction[];
|
|
234
|
+
closeLayer?: TEmpty;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
declare interface IAuditLogProps {
|
|
238
|
+
logs: AuditLogItem[];
|
|
239
|
+
total: number;
|
|
240
|
+
loading?: boolean;
|
|
241
|
+
selectedPage: number;
|
|
242
|
+
rowsPerPage: number;
|
|
243
|
+
filterToggles?: FilterToggle[];
|
|
244
|
+
sectionNames: ISectionName[];
|
|
245
|
+
defaultSectionName?: string;
|
|
246
|
+
transformDiffsConfig?: TransformDiffsConfig;
|
|
247
|
+
onSelectPage: (page: number) => void;
|
|
248
|
+
onChangeRowsPerPage: (n: number) => void;
|
|
249
|
+
data: any;
|
|
250
|
+
onClickSnapshot?: (snapshot: string, log: AuditLogItem) => void;
|
|
251
|
+
snapshotLoading?: boolean;
|
|
252
|
+
getActions?: (log: AuditLogItem) => any[];
|
|
253
|
+
isLogDisabled?: (log: AuditLogItem) => boolean;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export declare interface IBadgeProps {
|
|
257
|
+
children?: ReactNode;
|
|
258
|
+
color?: string;
|
|
259
|
+
textColor?: string;
|
|
260
|
+
title?: TStringOrNumber | ReactNode | null;
|
|
261
|
+
dot?: boolean;
|
|
262
|
+
margin?: TStringOrNumber | null;
|
|
263
|
+
small?: boolean;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export declare interface IBreadcrumbProps {
|
|
267
|
+
links: ILinkProps[];
|
|
268
|
+
small?: boolean;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
declare interface IBtnGroupItemProps {
|
|
272
|
+
label?: string | null;
|
|
273
|
+
value?: string;
|
|
274
|
+
key?: TStringOrNumber;
|
|
275
|
+
hidden?: boolean;
|
|
276
|
+
icon?: any;
|
|
277
|
+
error?: any;
|
|
278
|
+
maxTooltipWidth?: any;
|
|
279
|
+
testId?: string;
|
|
280
|
+
tooltip?: any;
|
|
281
|
+
warning?: any;
|
|
282
|
+
disabled?: boolean;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export declare interface IButtonGroupProps {
|
|
286
|
+
disabled?: boolean;
|
|
287
|
+
basic?: boolean;
|
|
288
|
+
items?: string[] | (string[] | IBtnGroupItemProps)[];
|
|
289
|
+
header?: string;
|
|
290
|
+
onSelected?: TFunction;
|
|
291
|
+
small?: boolean;
|
|
292
|
+
value?: TStringOrNumber;
|
|
293
|
+
testId?: string;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export declare interface IButtonProps {
|
|
297
|
+
active?: boolean;
|
|
298
|
+
basic?: boolean;
|
|
299
|
+
colored?: boolean | string;
|
|
300
|
+
disabled?: boolean;
|
|
301
|
+
ignoreDisabledContext?: boolean;
|
|
302
|
+
groupOrder?: TGroupOrder;
|
|
303
|
+
icon?: ReactNode | string;
|
|
304
|
+
rightIcon?: ReactNode | string;
|
|
305
|
+
label?: ReactNode | string | null;
|
|
306
|
+
loading?: boolean;
|
|
307
|
+
name?: string | null;
|
|
308
|
+
onClick?: (evt: MouseEvent_2<HTMLButtonElement>) => void;
|
|
309
|
+
pill?: boolean;
|
|
310
|
+
round?: boolean;
|
|
311
|
+
small?: boolean;
|
|
312
|
+
styles?: string;
|
|
313
|
+
width?: TStringOrNumber;
|
|
314
|
+
title?: string;
|
|
315
|
+
type?: TButtonType | string;
|
|
316
|
+
error?: string;
|
|
317
|
+
warning?: string;
|
|
318
|
+
testId?: string;
|
|
319
|
+
tooltip?: ReactNode | string;
|
|
320
|
+
inverted?: boolean;
|
|
321
|
+
component?: default_2.ElementType;
|
|
322
|
+
url?: string;
|
|
323
|
+
tabIndex?: number;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export declare interface ICardProps {
|
|
327
|
+
bordered?: boolean;
|
|
328
|
+
heading?: ReactNode;
|
|
329
|
+
margin?: string;
|
|
330
|
+
padding?: boolean;
|
|
331
|
+
raised?: boolean;
|
|
332
|
+
children?: ReactNode;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
declare interface ICheckBoxCell extends TCommonCell {
|
|
336
|
+
label?: string | null;
|
|
337
|
+
checked: boolean;
|
|
338
|
+
type: TCellType;
|
|
339
|
+
onChange: TCheckBoxClickHandler;
|
|
340
|
+
disabled?: boolean;
|
|
341
|
+
indeterminate?: boolean;
|
|
342
|
+
tooltip?: StringNumberOrNode;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export declare interface ICheckBoxClickEvent {
|
|
346
|
+
target: {
|
|
347
|
+
name: string;
|
|
348
|
+
checked: boolean;
|
|
349
|
+
value: boolean;
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare type ICheckboxOption = Pick<ICheckBoxProps, 'label' | 'disabled' | 'testId' | 'helpText' | 'onClickHelp' | 'textTransform'> & {
|
|
354
|
+
key?: string;
|
|
355
|
+
value?: TStringOrNumber;
|
|
356
|
+
type?: DropdownType.DEFAULT;
|
|
357
|
+
selected?: boolean;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
export declare interface ICheckBoxProps {
|
|
361
|
+
checked?: boolean;
|
|
362
|
+
indeterminate?: boolean;
|
|
363
|
+
isInTable?: boolean;
|
|
364
|
+
label?: string | null;
|
|
365
|
+
name?: string;
|
|
366
|
+
noMargin?: boolean;
|
|
367
|
+
onChange: TCheckBoxClickHandler;
|
|
368
|
+
tabIndex?: number;
|
|
369
|
+
disabled?: boolean;
|
|
370
|
+
small?: boolean;
|
|
371
|
+
testId?: string;
|
|
372
|
+
dataix?: number;
|
|
373
|
+
helpText?: string;
|
|
374
|
+
onClickHelp?: TEmpty;
|
|
375
|
+
textTransform?: TTextTransform;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export declare interface IChevronProps {
|
|
379
|
+
expanded: boolean;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export declare interface ICollapseProps {
|
|
383
|
+
children: default_2.ReactNode;
|
|
384
|
+
expanded: boolean;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export declare interface IColorInputPopoverProps {
|
|
388
|
+
adjustColorsInDarkMode?: boolean;
|
|
389
|
+
children: default_2.ReactNode | ((props: IColorInputPopoverTriggerProps) => default_2.ReactNode);
|
|
390
|
+
columns?: number;
|
|
391
|
+
disabled?: boolean;
|
|
392
|
+
hideAreaPicker?: boolean;
|
|
393
|
+
onChange?: (value: string) => void;
|
|
394
|
+
onConfirm?: (value: string) => void;
|
|
395
|
+
options?: {
|
|
396
|
+
value: string;
|
|
397
|
+
label?: string;
|
|
398
|
+
}[];
|
|
399
|
+
testId?: string;
|
|
400
|
+
value?: string;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export declare interface IColorInputPopoverTriggerProps {
|
|
404
|
+
valueColor?: Color_2;
|
|
405
|
+
isOpen: boolean;
|
|
406
|
+
colorName?: string;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export declare interface IColorInputProps extends Omit<IColorInputPopoverProps, 'children'> {
|
|
410
|
+
small?: boolean;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Icon wrapper component to support different icon formats:
|
|
415
|
+
* - string names (default recommendation)
|
|
416
|
+
* - react-icons
|
|
417
|
+
* - SVG (for special cases)
|
|
418
|
+
*/
|
|
419
|
+
export declare const Icon: ({ icon, onClick, clickable, color, size, testId }: IconProps) => JSX.Element;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Configuration object for initializing the React GUI library.
|
|
423
|
+
*
|
|
424
|
+
* @interface
|
|
425
|
+
* @property {Record<TTranslationFallbackKeys, string>} [translations] - Translation strings to be used in the library.
|
|
426
|
+
* @property {string} [languageKey] - Language key to be stored in the config object, indicates language selected by user.
|
|
427
|
+
*/
|
|
428
|
+
declare interface IConfig {
|
|
429
|
+
translations?: Record<TTranslationFallbackKeys, string>;
|
|
430
|
+
languageKey?: string;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export declare interface IconProps {
|
|
434
|
+
icon: ReactNode | string;
|
|
435
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
436
|
+
clickable?: boolean;
|
|
437
|
+
color?: string;
|
|
438
|
+
size?: TStringOrNumber;
|
|
439
|
+
testId?: string;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export declare enum IconType {
|
|
443
|
+
LIBRARY = "library",
|
|
444
|
+
ADD = "add",
|
|
445
|
+
DRAG = "drag",
|
|
446
|
+
HELP = "help",
|
|
447
|
+
NOTIFICATION = "notification",
|
|
448
|
+
MENU = "menu",
|
|
449
|
+
EDIT = "edit",
|
|
450
|
+
FAST_FORWARD = "fast forward",
|
|
451
|
+
INDENT = "indent",
|
|
452
|
+
STAR = "star",
|
|
453
|
+
LIST = "list",
|
|
454
|
+
SETTINGS = "settings",
|
|
455
|
+
CHECK = "check",
|
|
456
|
+
LOCK = "lock",
|
|
457
|
+
UNLOCK = "unlock",
|
|
458
|
+
CLOSE = "close",
|
|
459
|
+
SUCCESS = "success",
|
|
460
|
+
WARNING = "warning",
|
|
461
|
+
ERROR = "error",
|
|
462
|
+
INFO = "info",
|
|
463
|
+
LEFT = "left",
|
|
464
|
+
COLLAPSE = "collapse",
|
|
465
|
+
EXPAND = "expand",
|
|
466
|
+
SORT_ASCENDING = "sort ascending",
|
|
467
|
+
SORT_DESCENDING = "sort descending",
|
|
468
|
+
FAST_BACKWARD = "fast backward",
|
|
469
|
+
CHEVRON_DOWN = "chevron down",
|
|
470
|
+
CHEVRON_RIGHT = "chevron right",
|
|
471
|
+
CHEVRON_LEFT = "chevron left",
|
|
472
|
+
CHEVRON_DOUBLE_LEFT = "chevron double left",
|
|
473
|
+
CHEVRON_DOUBLE_RIGHT = "chevron double right"
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export declare interface ICustomModalConfig {
|
|
477
|
+
name: string;
|
|
478
|
+
component: FC<{
|
|
479
|
+
visible: boolean;
|
|
480
|
+
onClose: () => void;
|
|
481
|
+
} & Record<string, any>>;
|
|
482
|
+
props?: Record<string, any>;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
declare interface IDialog {
|
|
486
|
+
heading?: string | null;
|
|
487
|
+
subheading?: string | null;
|
|
488
|
+
content?: ReactNode | string[];
|
|
489
|
+
contentPadding?: number | string;
|
|
490
|
+
footer?: ReactNode;
|
|
491
|
+
width?: number | string;
|
|
492
|
+
height?: number | string;
|
|
493
|
+
bordered?: boolean;
|
|
494
|
+
onClose?: TEmpty;
|
|
495
|
+
scroll?: boolean;
|
|
496
|
+
testId?: string;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export declare interface IDialogProps {
|
|
500
|
+
dialog: IDialog;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
export declare type IDiffViewerProps = {
|
|
504
|
+
oldJson: string;
|
|
505
|
+
newJson: string;
|
|
506
|
+
viewType?: ViewType;
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
declare type IDividerOption = {
|
|
510
|
+
type: DropdownType.DIVIDER;
|
|
511
|
+
key?: string;
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
export declare interface IDividerProps {
|
|
515
|
+
margin?: number | string;
|
|
516
|
+
color?: string;
|
|
517
|
+
align?: TAlign | string;
|
|
518
|
+
children?: default_2.ReactNode;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export declare interface IDownsampleConfig {
|
|
522
|
+
independentColumnIndex?: number;
|
|
523
|
+
dependentColumnIndexes?: number[];
|
|
524
|
+
tolerance?: number;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export declare interface IDrawerProps {
|
|
528
|
+
background?: string;
|
|
529
|
+
children?: ReactNode;
|
|
530
|
+
fixed?: boolean;
|
|
531
|
+
open?: boolean;
|
|
532
|
+
setOpen?: (openState: boolean) => void;
|
|
533
|
+
right?: boolean;
|
|
534
|
+
shadow?: boolean;
|
|
535
|
+
top?: TStringOrNumber;
|
|
536
|
+
width?: TStringOrNumber | Array<TStringOrNumber>;
|
|
537
|
+
closedWidth?: TStringOrNumber;
|
|
538
|
+
button?: boolean | ReactNode;
|
|
539
|
+
buttonAnimate?: boolean;
|
|
540
|
+
buttonPosition?: TButtonPosition | string;
|
|
541
|
+
border?: boolean | string;
|
|
542
|
+
tabs?: IDrawerTab[];
|
|
543
|
+
defaultTabIndex?: number;
|
|
544
|
+
activeTab?: number;
|
|
545
|
+
setActiveTab?: (index: number) => void;
|
|
546
|
+
testId?: string;
|
|
547
|
+
onResize?: TFunction;
|
|
548
|
+
getActiveTab?: (tab: IDrawerTab) => void;
|
|
549
|
+
onClose?: (tab?: IDrawerTab) => any;
|
|
550
|
+
onOpen?: (tab?: IDrawerTab) => any;
|
|
551
|
+
maxOpenWidth?: number;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
declare interface IDrawerTab {
|
|
555
|
+
icon?: ReactNode | default_2.JSX.Element;
|
|
556
|
+
content?: ReactNode;
|
|
557
|
+
badge?: TStringOrNumber;
|
|
558
|
+
disabled?: boolean;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
declare interface IDynamicOption extends IMenuSection {
|
|
562
|
+
modalKey?: string;
|
|
563
|
+
onClick?: () => void;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export declare interface IEmptyProps {
|
|
567
|
+
width?: TStringOrNumber;
|
|
568
|
+
height?: TStringOrNumber;
|
|
569
|
+
text?: string | ReactNode;
|
|
570
|
+
children?: ReactNode;
|
|
571
|
+
testId?: string;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export declare interface IFieldProps {
|
|
575
|
+
label?: TStringNumberNull | ReactNode;
|
|
576
|
+
labelLeft?: boolean;
|
|
577
|
+
labelWidth?: TStringOrNumber;
|
|
578
|
+
children: ReactNode;
|
|
579
|
+
helpText?: TStringOrNumber | ReactNode;
|
|
580
|
+
helpTextMaxWidth?: TStringOrNumber;
|
|
581
|
+
onClickHelp?: (event?: MouseEvent_2<HTMLDivElement>) => void;
|
|
582
|
+
lock?: ILabelLockProps;
|
|
583
|
+
info?: string;
|
|
584
|
+
libraryIcon?: ILabelIcon;
|
|
585
|
+
small?: boolean;
|
|
586
|
+
testId?: string;
|
|
587
|
+
textTransform?: TTextTransform;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export declare interface IFileButtonProps extends IButtonProps {
|
|
591
|
+
file?: File;
|
|
592
|
+
accept?: string;
|
|
593
|
+
multi?: boolean;
|
|
594
|
+
name?: string;
|
|
595
|
+
onChange?: TChangeEventHandler;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export declare interface IFileInputProps {
|
|
599
|
+
label?: string | null;
|
|
600
|
+
loading?: boolean;
|
|
601
|
+
placeholder?: string;
|
|
602
|
+
disabled?: boolean;
|
|
603
|
+
file?: File;
|
|
604
|
+
accept?: string;
|
|
605
|
+
multi?: boolean;
|
|
606
|
+
name?: string;
|
|
607
|
+
width?: TStringOrNumber;
|
|
608
|
+
onChange?: TChangeEventHandler;
|
|
609
|
+
testId?: string;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
export declare interface IFlexProps {
|
|
613
|
+
alignItems?: string;
|
|
614
|
+
justifyContent?: string;
|
|
615
|
+
direction?: Property.FlexDirection;
|
|
616
|
+
height?: TStringOrNumber;
|
|
617
|
+
width?: TStringOrNumber;
|
|
618
|
+
children?: default_2.ReactNode;
|
|
619
|
+
wrap?: boolean;
|
|
620
|
+
gap?: boolean | TStringOrNumber;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
declare interface IFooterProps {
|
|
624
|
+
colSpan?: number;
|
|
625
|
+
pagination?: IPagination;
|
|
626
|
+
actions?: IAction[];
|
|
627
|
+
content?: ReactNode;
|
|
628
|
+
testId?: string;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export declare interface IFormRowProps {
|
|
632
|
+
children?: ReactNode;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export declare interface IGridProps {
|
|
636
|
+
rows?: string;
|
|
637
|
+
columns?: string;
|
|
638
|
+
columnsTablet?: string | null;
|
|
639
|
+
columnsMobile?: string | null;
|
|
640
|
+
gap?: boolean | TStringOrNumber;
|
|
641
|
+
height?: TStringOrNumber;
|
|
642
|
+
children?: ReactNode;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
declare type IHeadingOption = {
|
|
646
|
+
type: DropdownType.HEADING;
|
|
647
|
+
label: string;
|
|
648
|
+
key?: string;
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
export declare interface IHeadingProps extends Omit<default_2.HTMLAttributes<HTMLHeadingElement>, 'children'> {
|
|
652
|
+
children: ReactNode;
|
|
653
|
+
helpText?: string;
|
|
654
|
+
onClick?: (evt: MouseEvent_2<HTMLHeadingElement>) => void;
|
|
655
|
+
onClickHelp?: TEmpty;
|
|
656
|
+
onIconClick?: TEmpty;
|
|
657
|
+
icon?: ReactNode;
|
|
658
|
+
libraryIcon?: ILibraryIconProps;
|
|
659
|
+
marginBottom?: TStringOrNumber;
|
|
660
|
+
top?: boolean;
|
|
661
|
+
testId?: string;
|
|
662
|
+
slot?: string;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
declare interface IHelpIconCell extends TCommonCell {
|
|
666
|
+
type: TCellType;
|
|
667
|
+
helpIcon?: {
|
|
668
|
+
onClick: TEmpty;
|
|
669
|
+
tooltip: StringNumberOrNode;
|
|
670
|
+
};
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export declare interface IHelpIconProps {
|
|
674
|
+
text?: TStringOrNumber | ReactNode;
|
|
675
|
+
onClick?: (event?: MouseEvent_2<HTMLDivElement>) => void;
|
|
676
|
+
icon?: ReactNode;
|
|
677
|
+
active?: boolean;
|
|
678
|
+
maxWidth?: TStringOrNumber;
|
|
679
|
+
testId?: string;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
declare interface IIconCell extends TCommonCell {
|
|
683
|
+
type: TCellType;
|
|
684
|
+
icon: any;
|
|
685
|
+
tooltip?: StringNumberOrNode;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export declare interface IImportData {
|
|
689
|
+
fields: string[];
|
|
690
|
+
rows: string[][];
|
|
691
|
+
units: string[];
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
declare interface IInputCell extends TCommonCell {
|
|
695
|
+
type: TCellType;
|
|
696
|
+
name?: string;
|
|
697
|
+
value?: TStringOrNumber;
|
|
698
|
+
onChange?: TChangeEventHandler;
|
|
699
|
+
onFocus?: (evt: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
700
|
+
onBlur?: (evt: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
701
|
+
onPaste?: default_2.ClipboardEventHandler<HTMLInputElement>;
|
|
702
|
+
placeholder?: string;
|
|
703
|
+
error?: string;
|
|
704
|
+
warning?: string;
|
|
705
|
+
disabled?: boolean;
|
|
706
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
707
|
+
selectOnFocus?: boolean;
|
|
708
|
+
tooltip?: StringNumberOrNode;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export declare interface IInputGroupAddonProps {
|
|
712
|
+
children: ReactNode;
|
|
713
|
+
groupOrder?: TGroupOrder;
|
|
714
|
+
small?: boolean;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export declare interface IInputGroupProps {
|
|
718
|
+
children: ReactNode;
|
|
719
|
+
small?: boolean;
|
|
720
|
+
width?: TStringOrNumber;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export declare interface IInputProps {
|
|
724
|
+
error?: TStringOrNumber | default_2.ReactNode;
|
|
725
|
+
warning?: TStringOrNumber | default_2.ReactNode;
|
|
726
|
+
tooltip?: TStringOrNumber | default_2.ReactNode;
|
|
727
|
+
name?: string;
|
|
728
|
+
type?: string;
|
|
729
|
+
icon?: ReactNode;
|
|
730
|
+
onChange?: TChangeEventHandler;
|
|
731
|
+
onKeyPress?: KeyboardEventHandler<HTMLInputElement>;
|
|
732
|
+
onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
|
|
733
|
+
onBlur?: (evt: FocusEvent_2<HTMLInputElement>) => void;
|
|
734
|
+
onPaste?: default_2.ClipboardEventHandler<HTMLInputElement>;
|
|
735
|
+
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
736
|
+
selectOnFocus?: boolean;
|
|
737
|
+
small?: boolean;
|
|
738
|
+
placeholder?: string | null;
|
|
739
|
+
tabIndex?: number;
|
|
740
|
+
value?: TStringNumberNull;
|
|
741
|
+
disabled?: boolean;
|
|
742
|
+
right?: boolean;
|
|
743
|
+
groupOrder?: TGroupOrder;
|
|
744
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
745
|
+
width?: TStringOrNumber;
|
|
746
|
+
testId?: string;
|
|
747
|
+
size?: number;
|
|
748
|
+
isInTable?: boolean;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
declare interface ILabel {
|
|
752
|
+
color: string;
|
|
753
|
+
small?: boolean;
|
|
754
|
+
value: TStringOrNumber | ReactNode;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
declare interface ILabelIcon {
|
|
758
|
+
onClick: TEmpty;
|
|
759
|
+
tooltip?: string;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
declare interface ILabelLockProps {
|
|
763
|
+
visible?: boolean;
|
|
764
|
+
active?: boolean;
|
|
765
|
+
onClick?: TEmpty;
|
|
766
|
+
tooltip?: string;
|
|
767
|
+
testId?: string;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export declare interface ILabelProps {
|
|
771
|
+
label?: TStringNumberNull | ReactNode;
|
|
772
|
+
helpText?: TStringOrNumber | ReactNode;
|
|
773
|
+
helpTextMaxWidth?: TStringOrNumber;
|
|
774
|
+
width?: TStringOrNumber;
|
|
775
|
+
info?: string;
|
|
776
|
+
onClickHelp?: (event?: MouseEvent_2<HTMLDivElement>) => void;
|
|
777
|
+
lock?: ILabelLockProps;
|
|
778
|
+
libraryIcon?: ILabelIcon;
|
|
779
|
+
labelLeft?: boolean;
|
|
780
|
+
small?: boolean;
|
|
781
|
+
textTransform?: TTextTransform;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export declare interface ILayoutColumnProps {
|
|
785
|
+
background?: string;
|
|
786
|
+
borderLeft?: boolean | string;
|
|
787
|
+
borderRight?: boolean | string;
|
|
788
|
+
children?: default_2.ReactNode;
|
|
789
|
+
flex?: boolean;
|
|
790
|
+
flexbox?: boolean;
|
|
791
|
+
padding?: boolean | string;
|
|
792
|
+
scroll?: boolean;
|
|
793
|
+
showScrollbar?: boolean;
|
|
794
|
+
spacing?: number | string;
|
|
795
|
+
width?: number | string;
|
|
796
|
+
widthMobile?: number | string;
|
|
797
|
+
widthTablet?: number | string;
|
|
798
|
+
testId?: string;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
export declare interface ILayoutPageProps {
|
|
802
|
+
children?: ReactNode;
|
|
803
|
+
padding?: boolean | TStringOrNumber;
|
|
804
|
+
left?: TStringOrNumber;
|
|
805
|
+
scroll?: boolean;
|
|
806
|
+
top?: TStringOrNumber;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare interface ILibraryIconCell extends TCommonCell {
|
|
810
|
+
type: TCellType;
|
|
811
|
+
libraryIcon?: {
|
|
812
|
+
onClick: TEmpty;
|
|
813
|
+
tooltip: StringNumberOrNode;
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare interface ILibraryIconProps {
|
|
818
|
+
onClick: TEmpty;
|
|
819
|
+
tooltip?: string;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
declare interface ILinkCell extends TCommonCell {
|
|
823
|
+
value?: TStringOrNumber;
|
|
824
|
+
type: TCellType;
|
|
825
|
+
disabled?: boolean;
|
|
826
|
+
onClick?: (evt: default_2.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
827
|
+
error?: StringNumberOrNode;
|
|
828
|
+
warning?: StringNumberOrNode;
|
|
829
|
+
tooltip?: StringNumberOrNode;
|
|
830
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
declare interface ILinkProps {
|
|
834
|
+
type?: TBreadcrumbLinkType | string;
|
|
835
|
+
label?: TStringNumberNull;
|
|
836
|
+
url?: string;
|
|
837
|
+
onClick?: TEmpty;
|
|
838
|
+
active?: boolean;
|
|
839
|
+
disabled?: boolean;
|
|
840
|
+
element?: ReactNode;
|
|
841
|
+
title?: string;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
declare interface IListData {
|
|
845
|
+
name?: ReactNode | string;
|
|
846
|
+
actions?: IAction[];
|
|
847
|
+
items: IListItem[];
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export declare interface IListHeadingProps {
|
|
851
|
+
name: TStringOrNumber | ReactNode;
|
|
852
|
+
actions?: IAction[];
|
|
853
|
+
toggleNarrow?: boolean;
|
|
854
|
+
onToggleNarrow?: TEmpty;
|
|
855
|
+
stickyHeader?: boolean;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
declare interface IListItem {
|
|
859
|
+
name?: string | ReactElement;
|
|
860
|
+
expanded?: boolean;
|
|
861
|
+
cursor?: string;
|
|
862
|
+
url?: string;
|
|
863
|
+
active?: boolean;
|
|
864
|
+
disabled?: boolean;
|
|
865
|
+
onClick?: (evt: any) => void;
|
|
866
|
+
title?: string;
|
|
867
|
+
details?: string | ReactElement;
|
|
868
|
+
metadata?: string | ReactElement;
|
|
869
|
+
testId?: string;
|
|
870
|
+
level?: number;
|
|
871
|
+
label?: ILabel;
|
|
872
|
+
actions?: IAction[];
|
|
873
|
+
id?: TStringOrNumber;
|
|
874
|
+
type?: string;
|
|
875
|
+
metaCount?: number;
|
|
876
|
+
component?: React.ElementType;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
export declare interface IListProps {
|
|
880
|
+
drawer?: boolean;
|
|
881
|
+
list: IListData;
|
|
882
|
+
bordered?: boolean;
|
|
883
|
+
expanding?: boolean;
|
|
884
|
+
narrow?: boolean;
|
|
885
|
+
toggleNarrow?: boolean;
|
|
886
|
+
onToggleNarrow?: TEmpty;
|
|
887
|
+
invokeEditOnRowClick?: boolean;
|
|
888
|
+
noHeader?: boolean;
|
|
889
|
+
stickyHeader?: boolean;
|
|
890
|
+
draggable?: boolean;
|
|
891
|
+
onListReorder?: (args: IReorderData) => void;
|
|
892
|
+
marginBottom?: number | string;
|
|
893
|
+
height?: number | string;
|
|
894
|
+
testId?: string;
|
|
895
|
+
scrollDetails?: IScrollDetails;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
declare interface IListSubheadingItem extends Partial<IMetaContentItem> {
|
|
899
|
+
actions?: IAction[];
|
|
900
|
+
disabled?: boolean;
|
|
901
|
+
expanded?: boolean;
|
|
902
|
+
onClick?: (evt: MouseEvent_2<HTMLDivElement>) => void;
|
|
903
|
+
title?: string;
|
|
904
|
+
testId?: string;
|
|
905
|
+
metaCount?: number;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export declare interface IListSubheadingProps {
|
|
909
|
+
item: IListSubheadingItem;
|
|
910
|
+
index?: number;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export declare interface ILoaderProps {
|
|
914
|
+
fullViewPortSize?: boolean;
|
|
915
|
+
cover?: boolean;
|
|
916
|
+
width?: TStringOrNumber;
|
|
917
|
+
height?: TStringOrNumber;
|
|
918
|
+
text?: string;
|
|
919
|
+
details?: string | ReactNode;
|
|
920
|
+
children?: ReactNode;
|
|
921
|
+
testId?: string | null;
|
|
922
|
+
theme?: TTheme | string;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export declare interface IMentionItem {
|
|
926
|
+
id: string;
|
|
927
|
+
label: string;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export declare interface IMentionsConfig {
|
|
931
|
+
getItems: (query: string) => IMentionItem[] | Promise<IMentionItem[]>;
|
|
932
|
+
maxItems?: number;
|
|
933
|
+
showMentionButton?: boolean;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
/** Top-level `menu` prop. `sections` may be custom ReactNode. */
|
|
937
|
+
export declare interface IMenuMenu {
|
|
938
|
+
trigger: TTriggerType | string;
|
|
939
|
+
title?: string;
|
|
940
|
+
colored?: boolean | string;
|
|
941
|
+
small?: boolean;
|
|
942
|
+
label?: ReactNode | string;
|
|
943
|
+
component?: ReactNode;
|
|
944
|
+
sections?: ReactNode | IMenuSection[];
|
|
945
|
+
placement?: string;
|
|
946
|
+
showAllButton?: IMenuShowAllButton;
|
|
947
|
+
testId?: string;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
export declare interface IMenuProps {
|
|
951
|
+
menu: IMenuMenu;
|
|
952
|
+
active?: boolean;
|
|
953
|
+
width?: TStringOrNumber;
|
|
954
|
+
disabled?: boolean;
|
|
955
|
+
badgeTitle?: string;
|
|
956
|
+
badgeDot?: boolean;
|
|
957
|
+
loading?: boolean;
|
|
958
|
+
closeOnOptionClick?: boolean;
|
|
959
|
+
groupOrder?: TGroupOrder;
|
|
960
|
+
maxHeight?: TStringOrNumber;
|
|
961
|
+
testId?: string;
|
|
962
|
+
open?: boolean;
|
|
963
|
+
setOpen?: (state: boolean) => void;
|
|
964
|
+
tooltip?: TStringOrNumber | ReactNode;
|
|
965
|
+
error?: string;
|
|
966
|
+
warning?: string;
|
|
967
|
+
tabIndex?: number;
|
|
968
|
+
offset?: number;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
export declare interface IMenuSection {
|
|
972
|
+
type: TMenuType | string;
|
|
973
|
+
label?: ReactNode;
|
|
974
|
+
icon?: string | ReactNode;
|
|
975
|
+
onClick?: TMouseEventHandler;
|
|
976
|
+
testId?: string;
|
|
977
|
+
description?: string;
|
|
978
|
+
selected?: boolean;
|
|
979
|
+
disabled?: boolean;
|
|
980
|
+
inline?: boolean;
|
|
981
|
+
title?: string;
|
|
982
|
+
download?: boolean;
|
|
983
|
+
onChange?: TChangeEventHandler;
|
|
984
|
+
menu?: INestedMenu;
|
|
985
|
+
visible?: boolean;
|
|
986
|
+
closeOnOptionClick?: boolean;
|
|
987
|
+
actions?: IAction[];
|
|
988
|
+
url?: string;
|
|
989
|
+
upload?: boolean;
|
|
990
|
+
uploadType?: string;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
declare interface IMenuShowAllButton {
|
|
994
|
+
visible: boolean;
|
|
995
|
+
showAllTitle: string;
|
|
996
|
+
showLessTitle: string;
|
|
997
|
+
additionalSections: IMenuSection[];
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
declare interface IMessage {
|
|
1001
|
+
visible?: boolean;
|
|
1002
|
+
type?: TMessageType | string;
|
|
1003
|
+
icon?: boolean;
|
|
1004
|
+
heading?: ReactNode;
|
|
1005
|
+
content?: ReactNode | string;
|
|
1006
|
+
details?: ReactNode;
|
|
1007
|
+
detailsVisible?: boolean;
|
|
1008
|
+
footer?: ReactNode;
|
|
1009
|
+
withDismiss?: boolean;
|
|
1010
|
+
onClose?: (evt: MouseEvent_2<SVGSVGElement>) => void;
|
|
1011
|
+
width?: TStringOrNumber;
|
|
1012
|
+
maxHeight?: TStringOrNumber;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export declare interface IMessageProps {
|
|
1016
|
+
message: IMessage;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
export declare type IMessageType = {
|
|
1020
|
+
type?: TMessageType | string;
|
|
1021
|
+
icon?: boolean;
|
|
1022
|
+
heading?: string | number;
|
|
1023
|
+
content: ReactNode | string;
|
|
1024
|
+
details?: ReactNode | string | null;
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
declare interface IMetaContentItem {
|
|
1028
|
+
name?: TStringOrNumber | ReactNode;
|
|
1029
|
+
icon?: {
|
|
1030
|
+
icon: ReactNode;
|
|
1031
|
+
color?: string;
|
|
1032
|
+
tooltip?: {
|
|
1033
|
+
text: string | ReactNode;
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
details?: string | ReactNode;
|
|
1037
|
+
metadata?: string | ReactNode;
|
|
1038
|
+
invalid?: boolean;
|
|
1039
|
+
testId?: string;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
export declare interface IModalProps {
|
|
1043
|
+
children: ReactNode;
|
|
1044
|
+
visible?: boolean;
|
|
1045
|
+
centered?: boolean;
|
|
1046
|
+
width?: TStringOrNumber;
|
|
1047
|
+
onEnter?: () => void;
|
|
1048
|
+
onEscape?: () => void;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
export declare interface INativeSelectProps {
|
|
1052
|
+
disabled?: boolean;
|
|
1053
|
+
error?: TStringOrNumber | default_2.ReactNode | null;
|
|
1054
|
+
warning?: TStringOrNumber | default_2.ReactNode | null;
|
|
1055
|
+
tooltip?: TStringOrNumber | default_2.ReactNode | null;
|
|
1056
|
+
options: ISelectSelectedOption[];
|
|
1057
|
+
onChange?: (evt: ChangeEvent<HTMLSelectElement>, value: ISelectSelectedOption | {
|
|
1058
|
+
value: null;
|
|
1059
|
+
}) => void;
|
|
1060
|
+
onFocus?: TEmpty;
|
|
1061
|
+
onBlur?: TEmpty;
|
|
1062
|
+
right?: boolean;
|
|
1063
|
+
small?: boolean;
|
|
1064
|
+
tabIndex?: number;
|
|
1065
|
+
selectedOption?: ISelectSelectedOption;
|
|
1066
|
+
width?: TStringOrNumber | null;
|
|
1067
|
+
groupOrder?: TGroupOrder;
|
|
1068
|
+
testId?: string | undefined;
|
|
1069
|
+
isInTable?: boolean;
|
|
1070
|
+
clearable?: boolean;
|
|
1071
|
+
placeholder?: string | null;
|
|
1072
|
+
hasNonExistentValue?: boolean;
|
|
1073
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
/** Nested submenu — `sections` must be `IMenuSection[]`, not custom ReactNode. */
|
|
1077
|
+
export declare type INestedMenu = Omit<IMenuMenu, 'sections'> & {
|
|
1078
|
+
sections?: IMenuSection[];
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
export declare const initializeContext: (context: Context<UnitContextType | null>) => void;
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* Initialize React GUI library with the provided configurations.
|
|
1085
|
+
* @note function is used to provide translation settings and dictionary from consumer application to React GUI library
|
|
1086
|
+
*/
|
|
1087
|
+
export declare const initializeGuiLibrary: (config: IConfig) => void;
|
|
1088
|
+
|
|
1089
|
+
export declare const Input: default_2.ForwardRefExoticComponent<IInputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
1090
|
+
|
|
1091
|
+
export declare const InputGroup: ({ children, small, width }: IInputGroupProps) => ReactElement;
|
|
1092
|
+
|
|
1093
|
+
export declare const InputGroupAddon: ({ children, groupOrder, small }: IInputGroupAddonProps) => default_2.ReactElement;
|
|
1094
|
+
|
|
1095
|
+
export declare enum InputReaderMethods {
|
|
1096
|
+
READ_AS_TEXT = "readAsText",
|
|
1097
|
+
READ_AS_ARRAY_BUFFER = "readAsArrayBuffer",
|
|
1098
|
+
READ_AS_DATA_URL = "readAsDataURL",
|
|
1099
|
+
READ_AS_BINARY_STRING = "readAsBinaryString"
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
export declare enum InputType {
|
|
1103
|
+
TEXT = "text",
|
|
1104
|
+
RADIO = "radio",
|
|
1105
|
+
CHECKBOX = "checkbox"
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
declare interface INumberInputCell extends TCommonCell {
|
|
1109
|
+
name?: string;
|
|
1110
|
+
value?: TStringOrNumber;
|
|
1111
|
+
type: TCellType;
|
|
1112
|
+
onChange?: TChangeEventHandler;
|
|
1113
|
+
onFocus?: (evt: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
1114
|
+
onBlur?: (evt: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
1115
|
+
placeholder?: string;
|
|
1116
|
+
error?: string | boolean;
|
|
1117
|
+
warning?: string | boolean;
|
|
1118
|
+
disabled?: boolean;
|
|
1119
|
+
tooltip?: StringNumberOrNode;
|
|
1120
|
+
left?: boolean;
|
|
1121
|
+
validationCallback?: TEmpty;
|
|
1122
|
+
allowEmpty?: boolean;
|
|
1123
|
+
enableCosmeticRounding: boolean;
|
|
1124
|
+
enableDisplayRounding: boolean;
|
|
1125
|
+
roundDisplayValue: (value: TStringOrNumber) => TStringOrNumber;
|
|
1126
|
+
selectOnFocus?: boolean;
|
|
1127
|
+
disableValidationOnFocus?: boolean;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
export declare interface INumberInputProps {
|
|
1131
|
+
name?: string | {
|
|
1132
|
+
fieldName: string;
|
|
1133
|
+
};
|
|
1134
|
+
placeholder?: string;
|
|
1135
|
+
disabled?: boolean;
|
|
1136
|
+
error?: string | boolean;
|
|
1137
|
+
left?: boolean;
|
|
1138
|
+
small?: boolean;
|
|
1139
|
+
width?: TStringOrNumber;
|
|
1140
|
+
value?: TStringOrNumber;
|
|
1141
|
+
onChange?: TChangeEventHandler;
|
|
1142
|
+
onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
|
|
1143
|
+
onBlur?: (evt: FocusEvent_2<HTMLInputElement>) => void;
|
|
1144
|
+
selectOnFocus?: boolean;
|
|
1145
|
+
tabIndex?: number;
|
|
1146
|
+
testId?: string;
|
|
1147
|
+
tooltip?: TStringOrNumber | default_2.ReactNode;
|
|
1148
|
+
warning?: string | boolean;
|
|
1149
|
+
validationCallback?: (name: string | {
|
|
1150
|
+
fieldName: string;
|
|
1151
|
+
}, error: string | null) => void;
|
|
1152
|
+
allowEmpty?: boolean;
|
|
1153
|
+
isInTable?: boolean;
|
|
1154
|
+
groupOrder?: TGroupOrder;
|
|
1155
|
+
enableCosmeticRounding?: boolean;
|
|
1156
|
+
enableDisplayRounding?: boolean;
|
|
1157
|
+
roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
|
|
1158
|
+
disableInternalErrorValidationMessages?: boolean;
|
|
1159
|
+
disableValidationOnFocus?: boolean;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
declare interface IOnRowClickFunction {
|
|
1163
|
+
(): any;
|
|
1164
|
+
noStyle?: boolean;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
export declare interface IOptionDropdownProps {
|
|
1168
|
+
name?: string;
|
|
1169
|
+
disabled?: boolean;
|
|
1170
|
+
label: string;
|
|
1171
|
+
options: IOptionType[];
|
|
1172
|
+
onChange: TChangeEventHandler;
|
|
1173
|
+
showHeader?: boolean;
|
|
1174
|
+
maxHeight?: string;
|
|
1175
|
+
small?: boolean;
|
|
1176
|
+
testId?: string;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
declare interface IOptionItem {
|
|
1180
|
+
label: ReactNode;
|
|
1181
|
+
value: string;
|
|
1182
|
+
icon: ReactNode;
|
|
1183
|
+
onClick?: (evt: MouseEvent_2<HTMLAnchorElement, globalThis.MouseEvent>) => void;
|
|
1184
|
+
isActive?: boolean;
|
|
1185
|
+
isExperimental?: boolean;
|
|
1186
|
+
invalid?: boolean;
|
|
1187
|
+
testId?: string;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
declare interface IOptionSection {
|
|
1191
|
+
heading: string;
|
|
1192
|
+
items: IOptionItem[];
|
|
1193
|
+
testId?: string;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
declare type IOptionType = ICheckboxOption | IHeadingOption | IDividerOption;
|
|
1197
|
+
|
|
1198
|
+
declare interface IPagination {
|
|
1199
|
+
rowCount: number;
|
|
1200
|
+
selectedPage: TStringOrNumber;
|
|
1201
|
+
onSelectPage?: (value: number) => void;
|
|
1202
|
+
rowsPerPage?: IPaginationPerPageType;
|
|
1203
|
+
small?: boolean;
|
|
1204
|
+
errorMessageTemplate?: string;
|
|
1205
|
+
testIds?: {
|
|
1206
|
+
doubleRightBtn?: string;
|
|
1207
|
+
};
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
declare interface IPaginationOptionType {
|
|
1211
|
+
label?: string | null;
|
|
1212
|
+
value?: TStringOrNumber;
|
|
1213
|
+
selected?: boolean;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
declare interface IPaginationPerPageType {
|
|
1217
|
+
onChange?: TChangeEventHandler;
|
|
1218
|
+
options?: IPaginationOptionType[];
|
|
1219
|
+
value?: TStringOrNumber;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
export declare interface IPaginationProps {
|
|
1223
|
+
pagination: IPagination;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
declare interface IParsedResult {
|
|
1227
|
+
isValid: boolean;
|
|
1228
|
+
fields: string[];
|
|
1229
|
+
units: string[];
|
|
1230
|
+
rows: string[][];
|
|
1231
|
+
errors: string[];
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
export declare interface IPopConfirmProps {
|
|
1235
|
+
children?: ReactNode;
|
|
1236
|
+
placement?: Placement;
|
|
1237
|
+
closeOnOutsideClick?: boolean;
|
|
1238
|
+
fullWidth?: boolean;
|
|
1239
|
+
title?: string;
|
|
1240
|
+
cancelText?: string;
|
|
1241
|
+
onClickCancel?: (close?: TEmpty) => void;
|
|
1242
|
+
disableConfirmButton?: boolean;
|
|
1243
|
+
okText?: string;
|
|
1244
|
+
onClickOk?: (close?: TEmpty) => void;
|
|
1245
|
+
testId?: string;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
declare interface IPopoverCell extends TCommonCell {
|
|
1249
|
+
content: default_2.ReactNode;
|
|
1250
|
+
fullWidth: boolean;
|
|
1251
|
+
closeOnOutsideClick: boolean;
|
|
1252
|
+
disabled: boolean;
|
|
1253
|
+
value?: StringNumberOrNode;
|
|
1254
|
+
type: TCellType;
|
|
1255
|
+
error?: StringNumberOrNode;
|
|
1256
|
+
warning?: StringNumberOrNode;
|
|
1257
|
+
tooltip?: StringNumberOrNode;
|
|
1258
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
1259
|
+
hasSort?: boolean;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
export declare interface IPopoverProps {
|
|
1263
|
+
children?: ReactNode;
|
|
1264
|
+
content?: ReactNode;
|
|
1265
|
+
placement?: Placement;
|
|
1266
|
+
closeOnOutsideClick?: boolean;
|
|
1267
|
+
fullWidth?: boolean;
|
|
1268
|
+
showCloseButton?: boolean;
|
|
1269
|
+
testId?: string;
|
|
1270
|
+
disabled?: boolean;
|
|
1271
|
+
isOpen?: boolean;
|
|
1272
|
+
onToggle?: (isOpen: boolean) => void;
|
|
1273
|
+
toggleOnTriggerClick?: boolean;
|
|
1274
|
+
/** When true, content outside the popover layer stays interactive (e.g. inline edit fields). */
|
|
1275
|
+
isNonModal?: boolean;
|
|
1276
|
+
/** When false, the trigger does not regain focus on close. Use with inline-edit triggers that open the popover from onFocus (e.g. UnitSlider). */
|
|
1277
|
+
restoreTriggerFocusOnClose?: boolean;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
export declare interface IPortalProps {
|
|
1281
|
+
id: string;
|
|
1282
|
+
children: ReactNode | any;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
declare interface IPredefinedOption {
|
|
1286
|
+
value?: string;
|
|
1287
|
+
label: string;
|
|
1288
|
+
valueKey?: string;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
export declare interface IPrintHeaderProps {
|
|
1292
|
+
logo: string;
|
|
1293
|
+
logoWidth?: TStringOrNumber;
|
|
1294
|
+
alt: string;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export declare interface IProgressBarProps {
|
|
1298
|
+
width?: TStringOrNumber;
|
|
1299
|
+
inverted?: boolean;
|
|
1300
|
+
colored?: boolean;
|
|
1301
|
+
showProgressColors?: boolean;
|
|
1302
|
+
percentage?: number;
|
|
1303
|
+
noLabel?: boolean;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
declare interface IRadioButtonOption {
|
|
1307
|
+
label: TStringOrNumber;
|
|
1308
|
+
value: TStringOrNumber;
|
|
1309
|
+
testId?: string;
|
|
1310
|
+
helpText?: string;
|
|
1311
|
+
onClickHelp?: (evt: MouseEvent_2<HTMLButtonElement>) => void;
|
|
1312
|
+
disabled?: boolean;
|
|
1313
|
+
textTransform?: TTextTransform;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
export declare interface IRadioButtonProps {
|
|
1317
|
+
name?: string;
|
|
1318
|
+
label?: string | null;
|
|
1319
|
+
options: IRadioButtonOption[];
|
|
1320
|
+
value: TStringOrNumber | IRadioButtonOption;
|
|
1321
|
+
inline?: boolean;
|
|
1322
|
+
disabled?: boolean;
|
|
1323
|
+
small?: boolean;
|
|
1324
|
+
onChange?: TChangeEventHandler;
|
|
1325
|
+
noMargin?: boolean;
|
|
1326
|
+
testId?: string;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
declare interface IRadioCell extends TCommonCell {
|
|
1330
|
+
type: TCellType;
|
|
1331
|
+
name: TStringOrNumber;
|
|
1332
|
+
value: TStringOrNumber;
|
|
1333
|
+
selected: boolean;
|
|
1334
|
+
disabled?: boolean;
|
|
1335
|
+
small?: boolean;
|
|
1336
|
+
onChange: (evt: default_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1337
|
+
testId?: string;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
declare interface IReorderData {
|
|
1341
|
+
from?: number;
|
|
1342
|
+
to?: number;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
export declare interface IRichTextInputHandle {
|
|
1346
|
+
clearContent: () => void;
|
|
1347
|
+
editor: Editor | null;
|
|
1348
|
+
getMentionedIds: () => string[];
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export declare interface IRichTextInputProps {
|
|
1352
|
+
disabled?: boolean;
|
|
1353
|
+
mentions?: IMentionsConfig;
|
|
1354
|
+
onChange?: (markdown: string, meta: {
|
|
1355
|
+
mentionedIds: string[];
|
|
1356
|
+
}) => void;
|
|
1357
|
+
placeholder?: string;
|
|
1358
|
+
value?: string;
|
|
1359
|
+
toolbarComponent?: ReactNode;
|
|
1360
|
+
testId?: string;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
export declare interface IRowProps {
|
|
1364
|
+
alignItems?: CSSProperties['alignItems'];
|
|
1365
|
+
justifyContent?: CSSProperties['justifyContent'];
|
|
1366
|
+
children?: ReactNode;
|
|
1367
|
+
flex?: boolean;
|
|
1368
|
+
height?: TStringOrNumber;
|
|
1369
|
+
marginBottom?: TStringOrNumber;
|
|
1370
|
+
marginTop?: TStringOrNumber;
|
|
1371
|
+
spacing?: TStringOrNumber;
|
|
1372
|
+
wrap?: boolean;
|
|
1373
|
+
testId?: string | null;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
declare interface IScrollDetails {
|
|
1377
|
+
scrollable?: boolean;
|
|
1378
|
+
hideScrollbar?: boolean;
|
|
1379
|
+
triggerScrollToActiveItem?: boolean;
|
|
1380
|
+
infiniteScroll?: boolean;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
declare interface ISectionName {
|
|
1384
|
+
sectionKey: string;
|
|
1385
|
+
sectionLabel: string;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
declare interface ISelectCell extends TCommonCell {
|
|
1389
|
+
type: TCellType;
|
|
1390
|
+
name?: string;
|
|
1391
|
+
value?: TStringOrNumber;
|
|
1392
|
+
onChange?: TChangeEventHandler;
|
|
1393
|
+
onCreate?: (ev: any) => void;
|
|
1394
|
+
error?: StringNumberOrNode;
|
|
1395
|
+
warning?: StringNumberOrNode;
|
|
1396
|
+
disabled?: boolean;
|
|
1397
|
+
placeholder?: string;
|
|
1398
|
+
menu?: any;
|
|
1399
|
+
options?: any;
|
|
1400
|
+
native?: boolean;
|
|
1401
|
+
clearable?: boolean;
|
|
1402
|
+
searchable?: boolean;
|
|
1403
|
+
deprecatedEventHandler?: boolean;
|
|
1404
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
1405
|
+
autoLayerWidth?: boolean;
|
|
1406
|
+
multi?: boolean;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
export declare interface ISelectProps {
|
|
1410
|
+
name?: string;
|
|
1411
|
+
multi?: boolean;
|
|
1412
|
+
options?: ISelectSelectedOption[];
|
|
1413
|
+
value?: any;
|
|
1414
|
+
native?: boolean;
|
|
1415
|
+
onChange?: TChangeEventHandler;
|
|
1416
|
+
/** @deprecated Use the standard onChange event shape instead. */
|
|
1417
|
+
deprecatedEventHandler?: boolean;
|
|
1418
|
+
warning?: TStringOrNumber | ReactNode;
|
|
1419
|
+
error?: TStringOrNumber | ReactNode;
|
|
1420
|
+
/** @deprecated Prefer leaving unset (defaults to true). */
|
|
1421
|
+
checkNonExistentValues?: boolean;
|
|
1422
|
+
/** @deprecated Always closes on option action click. */
|
|
1423
|
+
closeOnOptionActionClick?: boolean;
|
|
1424
|
+
small?: boolean;
|
|
1425
|
+
width?: TStringOrNumber | null;
|
|
1426
|
+
onCreate?: (evt: any) => any;
|
|
1427
|
+
disabled?: boolean;
|
|
1428
|
+
placeholder?: string | null;
|
|
1429
|
+
/* Excluded from this release type: isInTable */
|
|
1430
|
+
clearable?: boolean;
|
|
1431
|
+
searchable?: boolean;
|
|
1432
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
1433
|
+
autoLayerWidth?: boolean;
|
|
1434
|
+
/* Excluded from this release type: right */
|
|
1435
|
+
/* Excluded from this release type: groupOrder */
|
|
1436
|
+
tabIndex?: number;
|
|
1437
|
+
testId?: string;
|
|
1438
|
+
tooltip?: ReactNode | string;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
declare interface ISelectSelectedOption {
|
|
1442
|
+
value?: TStringNumberNull | boolean;
|
|
1443
|
+
label?: string | ReactNode;
|
|
1444
|
+
details?: string;
|
|
1445
|
+
actions?: any[];
|
|
1446
|
+
icon?: boolean | ReactNode;
|
|
1447
|
+
type?: string;
|
|
1448
|
+
disabled?: boolean;
|
|
1449
|
+
testId?: string;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
export declare interface ISettingFieldProps {
|
|
1453
|
+
children: ReactNode;
|
|
1454
|
+
helpText?: string;
|
|
1455
|
+
disabled?: boolean;
|
|
1456
|
+
showCustom?: boolean;
|
|
1457
|
+
noPermission?: boolean;
|
|
1458
|
+
selectedOption?: boolean;
|
|
1459
|
+
userValue?: any;
|
|
1460
|
+
companyValue?: any;
|
|
1461
|
+
handleSelectChange?: () => void;
|
|
1462
|
+
testId?: string;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
export declare interface ISideBarProps {
|
|
1466
|
+
options: {
|
|
1467
|
+
title: string;
|
|
1468
|
+
sections: IOptionSection[];
|
|
1469
|
+
};
|
|
1470
|
+
startOpen?: boolean;
|
|
1471
|
+
onShiftClickToggleOpen?: (evt: MouseEvent_2<HTMLButtonElement, globalThis.MouseEvent>) => void;
|
|
1472
|
+
top?: TStringOrNumber;
|
|
1473
|
+
testId?: string;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
declare interface ISimpleCell extends TCommonCell {
|
|
1477
|
+
value: TStringOrNumber | ReactNode;
|
|
1478
|
+
type?: TCellType;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
export declare interface ISkeletonProps {
|
|
1482
|
+
count?: number;
|
|
1483
|
+
width?: string | number;
|
|
1484
|
+
height?: string | number;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
declare interface ISliderCell extends TCommonCell {
|
|
1488
|
+
type: TCellType;
|
|
1489
|
+
label?: string | null;
|
|
1490
|
+
value: number;
|
|
1491
|
+
min: number;
|
|
1492
|
+
max: number;
|
|
1493
|
+
step?: number;
|
|
1494
|
+
marks?: TSliderMark[];
|
|
1495
|
+
onChange: TChangeEventHandler;
|
|
1496
|
+
showArrows?: boolean;
|
|
1497
|
+
showTooltip?: boolean;
|
|
1498
|
+
tooltipFormatter?: (value: any) => any;
|
|
1499
|
+
disabled?: boolean;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
export declare interface ISliderProps {
|
|
1503
|
+
name?: string;
|
|
1504
|
+
label?: TStringNumberNull | ReactNode;
|
|
1505
|
+
width?: TStringOrNumber;
|
|
1506
|
+
labelWidth?: TStringOrNumber;
|
|
1507
|
+
testId?: string;
|
|
1508
|
+
value: number | number[];
|
|
1509
|
+
min: number;
|
|
1510
|
+
max: number;
|
|
1511
|
+
step?: number;
|
|
1512
|
+
marks?: TSliderMark[];
|
|
1513
|
+
showArrows?: boolean;
|
|
1514
|
+
showTooltip?: boolean;
|
|
1515
|
+
tooltipFormatter?: (value: number | number[]) => TStringOrNumber | ReactNode;
|
|
1516
|
+
disabled?: boolean;
|
|
1517
|
+
range?: boolean;
|
|
1518
|
+
small?: boolean;
|
|
1519
|
+
vertical?: {
|
|
1520
|
+
enabled: boolean;
|
|
1521
|
+
width?: string;
|
|
1522
|
+
height?: string;
|
|
1523
|
+
};
|
|
1524
|
+
onChange: TChangeEventHandler;
|
|
1525
|
+
onChangeComplete?: TChangeEventHandler;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
export declare interface ISmartUploadConfig {
|
|
1529
|
+
enabled: boolean;
|
|
1530
|
+
prompt: string;
|
|
1531
|
+
service: (prompt: string, file: File) => Promise<any>;
|
|
1532
|
+
onClose?: () => void;
|
|
1533
|
+
onComplete?: (result: IParsedResult | {
|
|
1534
|
+
errorMessage: string;
|
|
1535
|
+
}) => void;
|
|
1536
|
+
onError?: (error: Error) => void;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
export declare type ISmartUploadModalProps = {
|
|
1540
|
+
visible: boolean;
|
|
1541
|
+
prompt: string;
|
|
1542
|
+
onCloseModal: () => void;
|
|
1543
|
+
onUpload: (prompt: string, file: File) => any;
|
|
1544
|
+
onComplete: (data: {
|
|
1545
|
+
[key: string]: string;
|
|
1546
|
+
}[]) => void;
|
|
1547
|
+
onFailed?: () => void;
|
|
1548
|
+
onError?: (error: any) => void;
|
|
1549
|
+
width?: number;
|
|
1550
|
+
heading?: string;
|
|
1551
|
+
dialogText?: string;
|
|
1552
|
+
fileInputText?: string;
|
|
1553
|
+
fileInputPlaceholder?: string;
|
|
1554
|
+
uploadText?: string;
|
|
1555
|
+
cancelText?: string;
|
|
1556
|
+
testId?: string;
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
declare interface ISortCell extends TCommonCell {
|
|
1560
|
+
type: TCellType;
|
|
1561
|
+
hasSort?: boolean;
|
|
1562
|
+
sort?: 'up' | 'down';
|
|
1563
|
+
sortPriority?: number;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
export declare interface ISpacerProps {
|
|
1567
|
+
height?: TStringOrNumber;
|
|
1568
|
+
width?: TStringNumberNull;
|
|
1569
|
+
flex?: boolean;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
export declare interface ISpinnerProps {
|
|
1573
|
+
small?: boolean;
|
|
1574
|
+
colored?: boolean;
|
|
1575
|
+
dark?: boolean;
|
|
1576
|
+
tiny?: boolean;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
declare interface IStaticCell extends TCommonCell {
|
|
1580
|
+
value?: StringNumberOrNode;
|
|
1581
|
+
type: TCellType;
|
|
1582
|
+
error?: StringNumberOrNode;
|
|
1583
|
+
warning?: StringNumberOrNode;
|
|
1584
|
+
tooltip?: StringNumberOrNode;
|
|
1585
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
1586
|
+
breakWord?: boolean;
|
|
1587
|
+
libraryIcon?: {
|
|
1588
|
+
onClick: TEmpty;
|
|
1589
|
+
tooltip: StringNumberOrNode;
|
|
1590
|
+
};
|
|
1591
|
+
helpIcon?: {
|
|
1592
|
+
onClick: TEmpty;
|
|
1593
|
+
tooltip: StringNumberOrNode;
|
|
1594
|
+
};
|
|
1595
|
+
hasSort?: boolean;
|
|
1596
|
+
onSort?: (evt: default_2.MouseEvent<HTMLDivElement>) => void;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
/** Menu section shape; `type` optional (Actions defaults to Option). */
|
|
1600
|
+
export declare interface ISubAction extends Pick<IMenuSection, 'label' | 'icon' | 'onClick' | 'testId' | 'disabled' | 'menu'> {
|
|
1601
|
+
type?: IMenuSection['type'];
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
export declare interface ITableImportExportConfig {
|
|
1605
|
+
state?: ITableImportExportState;
|
|
1606
|
+
setState?: TUpdateTableImportExportState;
|
|
1607
|
+
title: string;
|
|
1608
|
+
translations?: ITableImportExportTranslations;
|
|
1609
|
+
validationRules?: TValidationRule[];
|
|
1610
|
+
prevalidationConfig?: TPrevalidationConfig;
|
|
1611
|
+
importLimit?: number;
|
|
1612
|
+
/**
|
|
1613
|
+
* Controls which columns participate in Ramer-Douglas-Peucker downsampling. By default, column 0 is the independent
|
|
1614
|
+
* axis and every other numeric column is a dependent series.
|
|
1615
|
+
*/
|
|
1616
|
+
downsampleConfig?: IDownsampleConfig;
|
|
1617
|
+
/**
|
|
1618
|
+
* @deprecated Use `beforeExportData` instead.
|
|
1619
|
+
*/
|
|
1620
|
+
exportData?: TExportData;
|
|
1621
|
+
beforeExportData?: TBeforeExportData;
|
|
1622
|
+
modals?: ICustomModalConfig[];
|
|
1623
|
+
dynamicOptions?: {
|
|
1624
|
+
importOptions?: IDynamicOption[];
|
|
1625
|
+
exportOptions?: IDynamicOption[];
|
|
1626
|
+
deleteOptions?: IDynamicOption[];
|
|
1627
|
+
helpOptions?: IDynamicOption[];
|
|
1628
|
+
};
|
|
1629
|
+
textOnly?: boolean;
|
|
1630
|
+
disablePasteSuccessfulToast?: boolean;
|
|
1631
|
+
showImportOptions?: boolean;
|
|
1632
|
+
copyFromClipBoard?: boolean;
|
|
1633
|
+
showDeleteOptions?: boolean;
|
|
1634
|
+
showHelpOption?: boolean;
|
|
1635
|
+
showUploadFileOption?: boolean;
|
|
1636
|
+
onDeleteRows?: (type: 'all') => void;
|
|
1637
|
+
onImportComplete?: (data: IImportData) => void;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
export declare interface ITableImportExportProps {
|
|
1641
|
+
config: ITableImportExportConfig;
|
|
1642
|
+
smartUploadConfig?: ISmartUploadConfig;
|
|
1643
|
+
testId?: string;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
export declare interface ITableImportExportState {
|
|
1647
|
+
pastedText: string;
|
|
1648
|
+
parsedResult: IParsedResult;
|
|
1649
|
+
pasteModalHelpVisible: boolean;
|
|
1650
|
+
modalVisibility: {
|
|
1651
|
+
smartUploadModal?: boolean;
|
|
1652
|
+
reviewPasteModal?: boolean;
|
|
1653
|
+
helpModal?: boolean;
|
|
1654
|
+
[key: string]: boolean | undefined;
|
|
1655
|
+
};
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
declare interface ITableImportExportTranslations {
|
|
1659
|
+
[key: string]: string;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
declare interface ITableOnChangeEvent extends default_2.ChangeEvent<HTMLInputElement> {
|
|
1663
|
+
target: default_2.ChangeEvent<HTMLInputElement>['target'] & {
|
|
1664
|
+
rowIndex: number;
|
|
1665
|
+
cellIndex: number;
|
|
1666
|
+
};
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
export declare interface ITableProps {
|
|
1670
|
+
onListReorder?: (obj: {
|
|
1671
|
+
from: number;
|
|
1672
|
+
to: number;
|
|
1673
|
+
}) => void;
|
|
1674
|
+
canListReorder?: (obj: {
|
|
1675
|
+
from: number;
|
|
1676
|
+
to: number;
|
|
1677
|
+
}) => boolean;
|
|
1678
|
+
table: ITableTableProps;
|
|
1679
|
+
beforeRenderRow?: ({ row, rowIndex }: {
|
|
1680
|
+
row: TRowType;
|
|
1681
|
+
rowIndex: number;
|
|
1682
|
+
}) => TRowType;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
declare interface ITableTableProps {
|
|
1686
|
+
name?: TStringOrNumber | ReactNode;
|
|
1687
|
+
actionsRight?: boolean;
|
|
1688
|
+
fixedWidth?: TStringOrNumber;
|
|
1689
|
+
maxHeight?: TStringOrNumber;
|
|
1690
|
+
columnWidths?: string[];
|
|
1691
|
+
className?: string;
|
|
1692
|
+
columnHeaderAlignments?: Array<TAlign | string>;
|
|
1693
|
+
columnAlignment?: Array<TAlign | string>;
|
|
1694
|
+
infiniteScroll?: boolean;
|
|
1695
|
+
estimateRowHeight?: (index: number) => number;
|
|
1696
|
+
headers?: any[];
|
|
1697
|
+
rows?: TRowsType;
|
|
1698
|
+
footer?: IFooterProps;
|
|
1699
|
+
draggable?: boolean;
|
|
1700
|
+
bordered?: boolean;
|
|
1701
|
+
striped?: boolean;
|
|
1702
|
+
testId?: string;
|
|
1703
|
+
onAddRow?: any;
|
|
1704
|
+
defaultEmptyRow?: any;
|
|
1705
|
+
stickyHeaders?: string | boolean;
|
|
1706
|
+
actions?: any;
|
|
1707
|
+
rowCount?: number;
|
|
1708
|
+
triggerScrollToActiveRow?: boolean;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
export declare interface ITabOption {
|
|
1712
|
+
key?: string;
|
|
1713
|
+
label: TStringOrNumber;
|
|
1714
|
+
value: TStringOrNumber;
|
|
1715
|
+
url?: string;
|
|
1716
|
+
to?: string;
|
|
1717
|
+
component?: ElementType_2;
|
|
1718
|
+
hidden?: boolean;
|
|
1719
|
+
disabled?: boolean;
|
|
1720
|
+
invalid?: boolean;
|
|
1721
|
+
badge?: TStringOrNumber;
|
|
1722
|
+
right?: boolean;
|
|
1723
|
+
testId?: string;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
export declare interface ITabsChangeEvent {
|
|
1727
|
+
target: {
|
|
1728
|
+
name: string;
|
|
1729
|
+
value: any;
|
|
1730
|
+
label?: string;
|
|
1731
|
+
};
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
declare interface ITabSelectedOption {
|
|
1735
|
+
label: TStringOrNumber;
|
|
1736
|
+
value: TStringOrNumber;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
export declare interface ITabsProps {
|
|
1740
|
+
name?: string;
|
|
1741
|
+
options?: ITabOption[] | null;
|
|
1742
|
+
value?: TStringOrNumber | ITabSelectedOption;
|
|
1743
|
+
onChange?: TTabsChangeEventHandler;
|
|
1744
|
+
padding?: boolean;
|
|
1745
|
+
margin?: boolean;
|
|
1746
|
+
testId?: string;
|
|
1747
|
+
/** Default router link component for tab options with `to`. */
|
|
1748
|
+
linkComponent?: ElementType_2;
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
export declare interface ITextAreaProps {
|
|
1752
|
+
name?: string;
|
|
1753
|
+
value?: TStringOrNumber;
|
|
1754
|
+
placeholder?: string;
|
|
1755
|
+
cols?: number;
|
|
1756
|
+
rows?: number;
|
|
1757
|
+
disabled?: boolean;
|
|
1758
|
+
onChange?: TChangeEventHandler<HTMLTextAreaElement>;
|
|
1759
|
+
onKeyPress?: (evt: KeyboardEvent_2<HTMLTextAreaElement>) => void;
|
|
1760
|
+
onFocus?: (evt: FocusEvent_2<HTMLTextAreaElement>) => void;
|
|
1761
|
+
onBlur?: (evt: FocusEvent_2<HTMLTextAreaElement>) => void;
|
|
1762
|
+
tabIndex?: number;
|
|
1763
|
+
error?: TStringOrNumber | default_2.ReactNode;
|
|
1764
|
+
warning?: TStringOrNumber | default_2.ReactNode;
|
|
1765
|
+
tooltip?: TStringOrNumber | default_2.ReactNode;
|
|
1766
|
+
maxTooltipWidth?: TStringOrNumber;
|
|
1767
|
+
resize?: Property.Resize;
|
|
1768
|
+
monospace?: boolean;
|
|
1769
|
+
small?: boolean;
|
|
1770
|
+
testId?: string;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
export declare interface ITextLinkProps {
|
|
1774
|
+
href?: string;
|
|
1775
|
+
target?: string;
|
|
1776
|
+
testId?: string;
|
|
1777
|
+
onClick?: (e: default_2.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1778
|
+
children?: default_2.ReactNode;
|
|
1779
|
+
component?: default_2.ElementType;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
export declare interface ITextProps {
|
|
1783
|
+
bold?: boolean;
|
|
1784
|
+
center?: boolean;
|
|
1785
|
+
error?: boolean;
|
|
1786
|
+
faint?: boolean;
|
|
1787
|
+
link?: boolean;
|
|
1788
|
+
muted?: boolean;
|
|
1789
|
+
onClick?: (e: default_2.MouseEvent<HTMLSpanElement>) => void;
|
|
1790
|
+
small?: boolean;
|
|
1791
|
+
success?: boolean;
|
|
1792
|
+
warning?: boolean;
|
|
1793
|
+
children?: default_2.ReactNode;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
export declare interface IToastProps {
|
|
1797
|
+
id?: Id;
|
|
1798
|
+
message: IMessageType;
|
|
1799
|
+
autoClose?: number | false;
|
|
1800
|
+
onClose?: TEmpty;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
export declare interface IToggleProps {
|
|
1804
|
+
name?: string;
|
|
1805
|
+
label?: string | default_2.ReactElement | null;
|
|
1806
|
+
checked?: boolean;
|
|
1807
|
+
disabled?: boolean;
|
|
1808
|
+
display?: string;
|
|
1809
|
+
small?: boolean;
|
|
1810
|
+
onChange: TChangeEventHandler;
|
|
1811
|
+
noMargin?: boolean;
|
|
1812
|
+
testId?: string;
|
|
1813
|
+
helpText?: string;
|
|
1814
|
+
onClickHelp?: (evt: any) => void;
|
|
1815
|
+
textTransform?: TTextTransform;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
export declare interface ITooltipProps {
|
|
1819
|
+
text?: TStringOrNumber | ReactNode;
|
|
1820
|
+
error?: boolean;
|
|
1821
|
+
warning?: boolean;
|
|
1822
|
+
placement?: Placement;
|
|
1823
|
+
possiblePlacements?: Placement[];
|
|
1824
|
+
enabled?: boolean;
|
|
1825
|
+
maxWidth?: TStringOrNumber;
|
|
1826
|
+
triggerOffset?: number;
|
|
1827
|
+
fontSize?: TStringOrNumber;
|
|
1828
|
+
padding?: TStringOrNumber;
|
|
1829
|
+
display?: string;
|
|
1830
|
+
flex?: string;
|
|
1831
|
+
triggerStyle?: CSSProperties;
|
|
1832
|
+
forceOpen?: boolean;
|
|
1833
|
+
updateOnAnimationFrame?: boolean;
|
|
1834
|
+
children?: ReactNode;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
declare interface ITopBarAppSwitcherProps {
|
|
1838
|
+
icon?: default_2.ReactNode;
|
|
1839
|
+
url?: string;
|
|
1840
|
+
onClick?: MouseEventHandler<HTMLDivElement | HTMLAnchorElement>;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
export declare interface ITopBarProps {
|
|
1844
|
+
title?: ITopBarTitleProps;
|
|
1845
|
+
appSwitcher?: ITopBarAppSwitcherProps;
|
|
1846
|
+
content?: TTopBarContent[];
|
|
1847
|
+
contentRight?: TTopBarContent[];
|
|
1848
|
+
warning?: string;
|
|
1849
|
+
height?: TStringOrNumber;
|
|
1850
|
+
fixedPosition?: boolean;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
declare interface ITopBarTitleProps {
|
|
1854
|
+
label?: string | null;
|
|
1855
|
+
logo?: default_2.ReactNode;
|
|
1856
|
+
url?: string;
|
|
1857
|
+
version?: TStringOrNumber;
|
|
1858
|
+
onClick?: MouseEventHandler<HTMLDivElement | HTMLAnchorElement>;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
declare interface ITreeListItemProps extends IListItem {
|
|
1862
|
+
id: TStringOrNumber;
|
|
1863
|
+
parent: TStringOrNumber;
|
|
1864
|
+
droppable?: boolean;
|
|
1865
|
+
onDrop?: (event: default_2.DragEvent<HTMLDivElement>) => void;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
declare interface ITreeListProps {
|
|
1869
|
+
name?: string | default_2.ReactNode;
|
|
1870
|
+
noHeader?: boolean;
|
|
1871
|
+
items: ITreeListItemProps[] | ITreeRowItem[];
|
|
1872
|
+
onClick?: TEmpty;
|
|
1873
|
+
actions?: any[];
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
export declare interface ITreeProps {
|
|
1877
|
+
list: ITreeListProps;
|
|
1878
|
+
canDrop?: (tree: NodeModel[], options: DropOptions) => boolean | void;
|
|
1879
|
+
draggable?: boolean;
|
|
1880
|
+
onListReorder?: (newList: any[]) => void;
|
|
1881
|
+
onChangeOpen?: (id: TStringOrNumber[]) => void;
|
|
1882
|
+
testId?: string;
|
|
1883
|
+
isInitialOpen?: boolean | Array<string> | Array<number>;
|
|
1884
|
+
autoOpenActiveItems?: boolean;
|
|
1885
|
+
treeRef?: RefObject<any>;
|
|
1886
|
+
itemHasChild?: (node: NodeModel<any>) => boolean;
|
|
1887
|
+
onItemToggle?: (node: NodeModel<any>, isOpen: boolean) => void;
|
|
1888
|
+
icons?: {
|
|
1889
|
+
expand: default_2.ReactNode;
|
|
1890
|
+
collapse: default_2.ReactNode;
|
|
1891
|
+
};
|
|
1892
|
+
allowParentReassignment?: boolean;
|
|
1893
|
+
stickyHeader?: boolean;
|
|
1894
|
+
height?: number | string;
|
|
1895
|
+
render?: (node: NodeModel<any>, options: {
|
|
1896
|
+
depth: number;
|
|
1897
|
+
draggable: boolean;
|
|
1898
|
+
handleRef: RefObject<HTMLDivElement>;
|
|
1899
|
+
hasChild: boolean;
|
|
1900
|
+
isOpen: boolean;
|
|
1901
|
+
onToggle: (id: TStringOrNumber) => void;
|
|
1902
|
+
}) => ReactElement;
|
|
1903
|
+
placeholderIndent?: TStringOrNumber;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
declare interface ITreeRowItem extends TRowType_2 {
|
|
1907
|
+
id: TStringOrNumber;
|
|
1908
|
+
name?: string;
|
|
1909
|
+
parent: TStringOrNumber;
|
|
1910
|
+
droppable?: boolean;
|
|
1911
|
+
onDrop?: (event: default_2.DragEvent<HTMLDivElement>) => void;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
export declare interface ITreeTableProps extends Omit<ITreeProps, 'list'> {
|
|
1915
|
+
rowCheckboxes?: ITreeTableRowCheckboxes;
|
|
1916
|
+
table: {
|
|
1917
|
+
columnAlignment?: (Align.LEFT | Align.RIGHT | null)[];
|
|
1918
|
+
columnWidths?: string[];
|
|
1919
|
+
fixedWidth?: string;
|
|
1920
|
+
headers?: TRowType_2[];
|
|
1921
|
+
rows: ITreeRowItem[];
|
|
1922
|
+
};
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
export declare interface ITreeTableRowCheckboxes {
|
|
1926
|
+
checkedIds: TStringOrNumber[];
|
|
1927
|
+
disabledIds?: TStringOrNumber[];
|
|
1928
|
+
getTooltip?: (id: TStringOrNumber) => StringNumberOrNode | undefined;
|
|
1929
|
+
onChange: (checkedIds: TStringOrNumber[]) => void;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
declare interface IUnitConfigItem {
|
|
1933
|
+
onChange?: (params: {
|
|
1934
|
+
oldUnit: string;
|
|
1935
|
+
newUnit: string;
|
|
1936
|
+
unitKey: string;
|
|
1937
|
+
}) => void;
|
|
1938
|
+
unitKey: string;
|
|
1939
|
+
storageUnit: string;
|
|
1940
|
+
preferredUnit?: string;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
export declare interface IUnitInputProps {
|
|
1944
|
+
name?: string | {
|
|
1945
|
+
fieldName?: string;
|
|
1946
|
+
};
|
|
1947
|
+
placeholder?: string;
|
|
1948
|
+
disabled?: boolean;
|
|
1949
|
+
disabledUnit?: boolean;
|
|
1950
|
+
error?: string | null | boolean;
|
|
1951
|
+
left?: boolean;
|
|
1952
|
+
small?: boolean;
|
|
1953
|
+
width?: string | number;
|
|
1954
|
+
value?: string;
|
|
1955
|
+
unitkey?: string;
|
|
1956
|
+
initUnit?: string;
|
|
1957
|
+
noConversion?: boolean;
|
|
1958
|
+
testId?: string;
|
|
1959
|
+
warning?: string | boolean | null;
|
|
1960
|
+
predefinedOptions?: IPredefinedOption[] | null;
|
|
1961
|
+
initialPredefinedOption?: boolean;
|
|
1962
|
+
shouldLinkAutomaticly?: boolean;
|
|
1963
|
+
selectedPredefinedOptionKey?: string;
|
|
1964
|
+
validationCallback?: (name: string, error: string | null) => any;
|
|
1965
|
+
disabledValidation?: boolean;
|
|
1966
|
+
allowEmpty?: boolean;
|
|
1967
|
+
onChange?: TOnChangeEventHandler;
|
|
1968
|
+
onSwitchUnit?: (unit: string) => void;
|
|
1969
|
+
onClick?: MouseEventHandler<HTMLInputElement>;
|
|
1970
|
+
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
1971
|
+
unitTemplate?: Record<string, any>;
|
|
1972
|
+
convertBackToStorageUnit?: boolean;
|
|
1973
|
+
enableCosmeticRounding?: boolean;
|
|
1974
|
+
enableDisplayRounding?: boolean;
|
|
1975
|
+
roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
|
|
1976
|
+
selectOnFocus?: boolean;
|
|
1977
|
+
groupOrder?: TGroupOrder;
|
|
1978
|
+
tooltip?: TStringOrNumber | default_2.ReactNode;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
export declare interface IUnitSliderProps {
|
|
1982
|
+
name?: string;
|
|
1983
|
+
value: number;
|
|
1984
|
+
min: number;
|
|
1985
|
+
max: number;
|
|
1986
|
+
label?: ReactNode;
|
|
1987
|
+
step?: number;
|
|
1988
|
+
onChange: TChangeEventHandler;
|
|
1989
|
+
onChangeComplete?: TChangeEventHandler;
|
|
1990
|
+
preferredUnit?: string;
|
|
1991
|
+
onSwitchUnit?: (unit: string) => void;
|
|
1992
|
+
enableEditUnitInput?: boolean;
|
|
1993
|
+
disabled?: boolean;
|
|
1994
|
+
showUnitInput?: boolean;
|
|
1995
|
+
showArrows?: boolean;
|
|
1996
|
+
unitkey?: string;
|
|
1997
|
+
testId?: string;
|
|
1998
|
+
noConversion?: boolean;
|
|
1999
|
+
small?: boolean;
|
|
2000
|
+
marks?: TSliderMark[];
|
|
2001
|
+
minErrorMessage?: (min: number) => string;
|
|
2002
|
+
maxErrorMessage?: (max: number) => string;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
|
|
2006
|
+
rows?: IUnitTableRow[];
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
declare interface IUnitTableCell {
|
|
2010
|
+
autoUnit: boolean;
|
|
2011
|
+
unitKey: string;
|
|
2012
|
+
formatDisplayValue?: (value: TStringNumberNull, selectedUnit: string) => TStringNumberNull;
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
declare interface IUnitTableInputCell extends Omit<IInputCell, 'onChange'>, IUnitTableCell {
|
|
2016
|
+
onChange?: (event: IUnitTableOnChangeEvent) => void;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
declare interface IUnitTableNumberInputCell extends Omit<INumberInputCell, 'onChange'>, IUnitTableCell {
|
|
2020
|
+
onChange?: (event: IUnitTableOnChangeEvent) => void;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
export declare interface IUnitTableOnChangeEvent extends ITableOnChangeEvent {
|
|
2024
|
+
target: ITableOnChangeEvent['target'] & {
|
|
2025
|
+
unit: string;
|
|
2026
|
+
};
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
export declare interface IUnitTableProps extends Omit<ITableProps, 'table'> {
|
|
2030
|
+
table: IUnitTable;
|
|
2031
|
+
unitConfig: IUnitConfigItem[];
|
|
2032
|
+
convertBackToStorageUnit?: boolean;
|
|
2033
|
+
enableCosmeticRounding?: boolean;
|
|
2034
|
+
enableDisplayRounding?: boolean;
|
|
2035
|
+
onListReorder?: (obj: {
|
|
2036
|
+
from: number;
|
|
2037
|
+
to: number;
|
|
2038
|
+
}) => void;
|
|
2039
|
+
canListReorder?: (obj: {
|
|
2040
|
+
from: number;
|
|
2041
|
+
to: number;
|
|
2042
|
+
}) => boolean;
|
|
2043
|
+
beforeRenderRow?: ({ row, rowIndex }: {
|
|
2044
|
+
row: IUnitTableRow;
|
|
2045
|
+
rowIndex: number;
|
|
2046
|
+
}) => IUnitTableRow;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
export declare interface IUnitTableRow extends Omit<TRowType, 'cells'> {
|
|
2050
|
+
cells: TUnitTableCellShape[];
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
declare interface IUnitTableStaticCell extends IStaticCell, IUnitTableCell {
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
export declare interface IUsageTrackerProps {
|
|
2057
|
+
pathName: string;
|
|
2058
|
+
moduleName: string;
|
|
2059
|
+
onNavigate: (args: NavigationEventArgs) => void;
|
|
2060
|
+
onStartTimingEvent?: () => void;
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
declare type JsonDelta = Record<string, any>;
|
|
2064
|
+
|
|
2065
|
+
export declare const Label: ({ label, width, helpText, helpTextMaxWidth, onClickHelp, lock, info, libraryIcon, labelLeft, small, textTransform, }: ILabelProps) => JSX.Element;
|
|
2066
|
+
|
|
2067
|
+
export declare const List: ({ list, bordered, expanding, narrow, toggleNarrow, onToggleNarrow, invokeEditOnRowClick, noHeader, stickyHeader, draggable, onListReorder, marginBottom, height, testId, scrollDetails, }: IListProps) => JSX.Element;
|
|
2068
|
+
|
|
2069
|
+
export declare const ListHeading: default_2.ForwardRefExoticComponent<IListHeadingProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2070
|
+
|
|
2071
|
+
export declare const ListSubheading: default_2.ForwardRefExoticComponent<IListSubheadingProps & default_2.RefAttributes<(HTMLDivElement | null)[]>>;
|
|
2072
|
+
|
|
2073
|
+
export declare const Loader: ({ width, height, text, details, fullViewPortSize, cover, children, theme, testId, }: ILoaderProps) => JSX.Element;
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* A tagged entity shown as a pill, styled as RichTextInput renders it while editing.
|
|
2077
|
+
* @param children The mention's label
|
|
2078
|
+
*/
|
|
2079
|
+
export declare const Mention: ({ children }: {
|
|
2080
|
+
children: ReactNode;
|
|
2081
|
+
}) => JSX.Element;
|
|
2082
|
+
|
|
2083
|
+
export declare const Menu: ({ menu, width, disabled, badgeTitle, badgeDot, loading, closeOnOptionClick, maxHeight, testId, open: openProp, setOpen: setOpenProp, tooltip, error, warning, tabIndex, active, groupOrder, offset, }: IMenuProps) => JSX.Element;
|
|
2084
|
+
|
|
2085
|
+
export declare enum MenuCarat {
|
|
2086
|
+
FALSE = "false",
|
|
2087
|
+
RIGHT = "right",
|
|
2088
|
+
DOWN = "down"
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
export declare enum MenuType {
|
|
2092
|
+
HEADING = "Heading",
|
|
2093
|
+
DIVIDER = "Divider",
|
|
2094
|
+
OPTION = "Option",
|
|
2095
|
+
MENU = "Menu"
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
export declare const Message: ({ message }: IMessageProps) => JSX.Element;
|
|
2099
|
+
|
|
2100
|
+
export declare enum MessageType {
|
|
2101
|
+
INFO = "Info",
|
|
2102
|
+
SUCCESS = "Success",
|
|
2103
|
+
WARNING = "Warning",
|
|
2104
|
+
ERROR = "Error"
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
export declare const Modal: ({ children, visible, centered, width, onEnter, onEscape, }: IModalProps) => JSX.Element;
|
|
2108
|
+
|
|
2109
|
+
export declare const NativeSelect: ({ disabled, error, warning, tooltip, options, onChange, onFocus, onBlur, right, small, tabIndex, selectedOption, width, groupOrder, testId, isInTable, clearable, placeholder, hasNonExistentValue, maxTooltipWidth, }: INativeSelectProps) => JSX.Element;
|
|
2110
|
+
|
|
2111
|
+
declare interface NavigationEventArgs {
|
|
2112
|
+
moduleName: string;
|
|
2113
|
+
moduleUrl: string;
|
|
2114
|
+
startTime: number;
|
|
2115
|
+
endTime: number;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, selectOnFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, disableValidationOnFocus, }: INumberInputProps) => JSX.Element;
|
|
2119
|
+
|
|
2120
|
+
export declare const OptionDropdown: ({ name, disabled, label, options, onChange, small, showHeader, maxHeight, testId, }: IOptionDropdownProps) => ReactElement;
|
|
2121
|
+
|
|
2122
|
+
export declare const Page: ({ children, left, padding: paddingProp, scroll, top, }: ILayoutPageProps) => JSX.Element;
|
|
2123
|
+
|
|
2124
|
+
export declare const Pagination: ({ pagination }: IPaginationProps) => JSX.Element;
|
|
2125
|
+
|
|
2126
|
+
declare type Placement = 'top-start' | 'top-center' | 'top-end' | 'right-start' | 'right-center' | 'right-end' | 'bottom-start' | 'bottom-center' | 'bottom-end' | 'left-start' | 'left-center' | 'left-end' | 'center';
|
|
2127
|
+
|
|
2128
|
+
export declare const PopConfirm: ({ children, placement, closeOnOutsideClick, fullWidth, title, cancelText, onClickCancel, okText, onClickOk, disableConfirmButton, testId, }: IPopConfirmProps) => JSX.Element;
|
|
2129
|
+
|
|
2130
|
+
export declare const Popover: ({ children, content, placement, closeOnOutsideClick, fullWidth, showCloseButton, testId, disabled, isOpen: externalIsOpen, onToggle: externalOnToggle, toggleOnTriggerClick, isNonModal, restoreTriggerFocusOnClose, }: IPopoverProps) => JSX.Element | null;
|
|
2131
|
+
|
|
2132
|
+
export declare const Portal: ({ id, children }: IPortalProps) => ReactPortal | null;
|
|
2133
|
+
|
|
2134
|
+
export declare const PrintHeader: ({ logo, alt, logoWidth }: IPrintHeaderProps) => JSX.Element;
|
|
2135
|
+
|
|
2136
|
+
export declare const ProgressBar: ({ width, inverted, colored, showProgressColors, percentage, noLabel, }: IProgressBarProps) => JSX.Element;
|
|
2137
|
+
|
|
2138
|
+
export declare const RadioButton: ({ name, label, options: rawOptions, value: rawValue, onChange, disabled, small, noMargin, inline, testId, }: IRadioButtonProps) => JSX.Element;
|
|
2139
|
+
|
|
2140
|
+
export declare const readFile: (file?: Blob, method?: TFileReaderMethod) => Promise<string | ArrayBuffer | null>;
|
|
2141
|
+
|
|
2142
|
+
export declare const RichTextInput: NamedExoticComponent<IRichTextInputProps & RefAttributes<IRichTextInputHandle>>;
|
|
2143
|
+
|
|
2144
|
+
export declare const Row: ({ alignItems, justifyContent, children, flex, height, marginBottom, marginTop, spacing: spacingProp, wrap, testId, }: IRowProps) => JSX.Element;
|
|
2145
|
+
|
|
2146
|
+
export declare const Select: (props: ISelectProps) => JSX.Element;
|
|
2147
|
+
|
|
2148
|
+
export declare const SettingField: ({ helpText, disabled, showCustom, children, userValue, companyValue, noPermission, selectedOption, handleSelectChange, testId, }: ISettingFieldProps) => JSX.Element;
|
|
2149
|
+
|
|
2150
|
+
export declare const SideBar: default_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top, testId }: ISideBarProps) => JSX.Element>;
|
|
2151
|
+
|
|
2152
|
+
export declare const Skeleton: ({ count, width, height }: ISkeletonProps) => JSX.Element;
|
|
2153
|
+
|
|
2154
|
+
export declare const Slider: ({ name, label, width, labelWidth, testId, value, min, max, step, marks, showArrows, showTooltip, tooltipFormatter, disabled, range, small, vertical, onChange, onChangeComplete, }: ISliderProps) => JSX.Element;
|
|
2155
|
+
|
|
2156
|
+
export declare const SmartUploadModal: ({ visible, prompt, onCloseModal, onUpload, onComplete, onFailed, onError, width, heading, dialogText, fileInputText, fileInputPlaceholder, uploadText, cancelText, testId, }: ISmartUploadModalProps) => JSX.Element;
|
|
2157
|
+
|
|
2158
|
+
export declare const Spacer: ({ height, width, flex }: ISpacerProps) => JSX.Element;
|
|
2159
|
+
|
|
2160
|
+
export declare const Spinner: ({ small, colored, dark, tiny }: ISpinnerProps) => JSX.Element;
|
|
2161
|
+
|
|
2162
|
+
declare const SPLIT_VIEW = "split";
|
|
2163
|
+
|
|
2164
|
+
declare type StringNumberOrNode = TStringOrNumber | ReactNode;
|
|
2165
|
+
|
|
2166
|
+
export declare const Table: (props: ITableProps) => JSX.Element;
|
|
2167
|
+
|
|
2168
|
+
export declare const TableImportExport: ({ config, smartUploadConfig, testId }: ITableImportExportProps) => JSX.Element;
|
|
2169
|
+
|
|
2170
|
+
export declare const Tabs: ({ name, options: rawOptions, value: rawValue, onChange, padding, margin, testId, linkComponent, }: ITabsProps) => JSX.Element | null;
|
|
2171
|
+
|
|
2172
|
+
export declare type TAlign = 'left' | 'right' | 'center';
|
|
2173
|
+
|
|
2174
|
+
declare type TBaseElementProps = {
|
|
2175
|
+
label?: string | null;
|
|
2176
|
+
icon?: ReactNode;
|
|
2177
|
+
onClick?: TMouseEventHandler;
|
|
2178
|
+
testId?: string;
|
|
2179
|
+
};
|
|
2180
|
+
|
|
2181
|
+
export declare type TBeforeExportData = () => TExportData | Promise<TExportData>;
|
|
2182
|
+
|
|
2183
|
+
export declare type TBreadcrumbLinkType = 'label' | 'link' | 'custom';
|
|
2184
|
+
|
|
2185
|
+
declare type TButtonElement = TBaseElementProps & {
|
|
2186
|
+
type: 'Button';
|
|
2187
|
+
colored?: boolean;
|
|
2188
|
+
disabled?: boolean;
|
|
2189
|
+
};
|
|
2190
|
+
|
|
2191
|
+
export declare type TButtonPosition = 'top' | 'bottom';
|
|
2192
|
+
|
|
2193
|
+
export declare type TButtonType = 'submit' | 'button' | 'reset';
|
|
2194
|
+
|
|
2195
|
+
declare type TCellShape = IPopoverCell | IStaticCell | ISelectCell | IHelpIconCell | ILibraryIconCell | ICheckBoxCell | IIconCell | IInputCell | ILinkCell | INumberInputCell | IActionCell | IRadioCell | ISortCell | ISliderCell | ISimpleCell;
|
|
2196
|
+
|
|
2197
|
+
declare type TCellType = 'Static' | 'Icon' | 'Select' | 'Input' | 'NumberInput' | 'Popover' | 'CheckBox' | 'Radio' | 'Actions' | 'Link' | 'Slider' | 'Unit' | string;
|
|
2198
|
+
|
|
2199
|
+
export declare type TChangeEvent<T extends HTMLElement = HTMLInputElement> = ChangeEvent<T> & {
|
|
2200
|
+
target: T | {
|
|
2201
|
+
name: string;
|
|
2202
|
+
value: any;
|
|
2203
|
+
label?: string;
|
|
2204
|
+
files?: FileList | null;
|
|
2205
|
+
};
|
|
2206
|
+
};
|
|
2207
|
+
|
|
2208
|
+
export declare type TChangeEventHandler<T extends HTMLElement = HTMLInputElement> = (event: TChangeEvent<T>, ...additionalProps: {
|
|
2209
|
+
[key: string]: any;
|
|
2210
|
+
}[]) => void;
|
|
2211
|
+
|
|
2212
|
+
export declare type TCheckBoxClickHandler = (evt: default_2.MouseEvent<HTMLDivElement, MouseEvent> & {
|
|
2213
|
+
target: ICheckBoxClickEvent['target'];
|
|
2214
|
+
}) => void;
|
|
2215
|
+
|
|
2216
|
+
export declare type TColor = 'danger' | 'red' | 'white' | 'success' | 'green' | 'muted';
|
|
2217
|
+
|
|
2218
|
+
declare interface TCommonCell {
|
|
2219
|
+
testId?: string;
|
|
2220
|
+
style?: any;
|
|
2221
|
+
colSpan?: number;
|
|
2222
|
+
rowSpan?: number;
|
|
2223
|
+
width?: number | string;
|
|
2224
|
+
textAlign?: Align.LEFT | Align.RIGHT | Align.CENTER;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
declare type TComponentElement = TBaseElementProps & {
|
|
2228
|
+
type: 'Component';
|
|
2229
|
+
component?: ReactNode;
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2232
|
+
declare type TEmpty = () => void;
|
|
2233
|
+
|
|
2234
|
+
export declare type TExportData = {
|
|
2235
|
+
fields: string[];
|
|
2236
|
+
rows: (string | number)[][];
|
|
2237
|
+
units: string[];
|
|
2238
|
+
};
|
|
2239
|
+
|
|
2240
|
+
declare const Text_2: ({ children, bold, center, error, faint, link, muted, onClick, small, success, warning, }: ITextProps) => JSX.Element;
|
|
2241
|
+
export { Text_2 as Text }
|
|
2242
|
+
|
|
2243
|
+
export declare const TextArea: ({ name, value, placeholder, cols, rows, disabled, onChange, onKeyPress, onFocus, onBlur, tabIndex, error, warning, tooltip, maxTooltipWidth, resize, monospace, small, testId, }: ITextAreaProps) => JSX.Element;
|
|
2244
|
+
|
|
2245
|
+
export declare const TextLink: ({ children, href, target, testId, onClick, component: Component, }: ITextLinkProps) => JSX.Element;
|
|
2246
|
+
|
|
2247
|
+
export declare enum TextTransform {
|
|
2248
|
+
UPPERCASE = "uppercase",
|
|
2249
|
+
LOWERCASE = "lowercase",
|
|
2250
|
+
CAPITALIZE = "capitalize",
|
|
2251
|
+
NONE = "none"
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
declare type TFileReaderMethod = TInputReaderMethods | string;
|
|
2255
|
+
|
|
2256
|
+
declare type TFunction = (...args: any[]) => any;
|
|
2257
|
+
|
|
2258
|
+
export declare type TGroupOrder = 'first' | 'middle' | 'last';
|
|
2259
|
+
|
|
2260
|
+
export declare enum Theme {
|
|
2261
|
+
DARK = "dark",
|
|
2262
|
+
WHITE = "white",
|
|
2263
|
+
LIGHT = "light",
|
|
2264
|
+
INHERIT = "inherit"
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
export declare type TIconType = 'library' | 'add' | 'drag' | 'help' | 'notification' | 'menu' | 'edit' | 'fast forward' | 'indent' | 'star' | 'list' | 'settings' | 'check' | 'lock' | 'unlock' | 'close' | 'success' | 'warning' | 'error' | 'info' | 'left' | 'collapse' | 'expand' | 'sort ascending' | 'sort descending' | 'fast backward' | 'chevron down' | 'chevron right' | 'chevron left' | 'chevron double left' | 'chevron double right';
|
|
2268
|
+
|
|
2269
|
+
export declare type TInputReaderMethods = 'readAsText' | 'readAsArrayBuffer' | 'readAsDataURL' | 'readAsBinaryString';
|
|
2270
|
+
|
|
2271
|
+
export declare type TInputType = 'text' | 'radio' | 'checkbox';
|
|
2272
|
+
|
|
2273
|
+
declare type TLinkElement = TBaseElementProps & {
|
|
2274
|
+
type: 'Link';
|
|
2275
|
+
url?: string;
|
|
2276
|
+
active?: boolean;
|
|
2277
|
+
disabled?: boolean;
|
|
2278
|
+
component?: React.ElementType;
|
|
2279
|
+
};
|
|
2280
|
+
|
|
2281
|
+
export declare type TMenuCarat = 'false' | 'right' | 'down';
|
|
2282
|
+
|
|
2283
|
+
declare type TMenuElement = TBaseElementProps & {
|
|
2284
|
+
type: 'Menu';
|
|
2285
|
+
sections?: any[] | ReactNode;
|
|
2286
|
+
};
|
|
2287
|
+
|
|
2288
|
+
export declare type TMenuType = 'Heading' | 'Divider' | 'Option' | 'Menu';
|
|
2289
|
+
|
|
2290
|
+
export declare type TMessageType = 'Info' | 'Success' | 'Warning' | 'Error';
|
|
2291
|
+
|
|
2292
|
+
declare type TMouseEventHandler = (evt: MouseEvent_2) => void;
|
|
2293
|
+
|
|
2294
|
+
export declare const toast: ({ id, message, autoClose, onClose, }: IToastProps) => void | Id;
|
|
2295
|
+
|
|
2296
|
+
export { Toaster }
|
|
2297
|
+
|
|
2298
|
+
export declare const Toggle: ({ name, label, checked, disabled, display, small, onChange, noMargin, testId, helpText, onClickHelp, textTransform, }: IToggleProps) => JSX.Element;
|
|
2299
|
+
|
|
2300
|
+
export declare type TOnChangeEvent = {
|
|
2301
|
+
target: TOnChangeEventTarget;
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
declare type TOnChangeEventBaseTarget = {
|
|
2305
|
+
name: string;
|
|
2306
|
+
value: string;
|
|
2307
|
+
};
|
|
2308
|
+
|
|
2309
|
+
export declare type TOnChangeEventHandler = (evt: TOnChangeEvent) => void;
|
|
2310
|
+
|
|
2311
|
+
declare type TOnChangeEventTarget = TOnChangeEventBaseTarget | (TOnChangeEventBaseTarget & {
|
|
2312
|
+
predefinedSelected: boolean;
|
|
2313
|
+
predefinedOption: IPredefinedOption;
|
|
2314
|
+
});
|
|
2315
|
+
|
|
2316
|
+
export declare const Tooltip: (props: ITooltipProps) => JSX.Element;
|
|
2317
|
+
|
|
2318
|
+
export declare const TopBar: ({ title, appSwitcher, content, contentRight, warning, height, fixedPosition, }: ITopBarProps) => JSX.Element;
|
|
2319
|
+
|
|
2320
|
+
export declare interface TPrevalidationConfig {
|
|
2321
|
+
warningMessage?: string;
|
|
2322
|
+
actionButtonLabel?: string;
|
|
2323
|
+
changeRulesAction?: () => void;
|
|
2324
|
+
checkPrevalidationNeed: (parsedResult: IParsedResult) => boolean;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
declare type TransformDiffsConfig = {
|
|
2328
|
+
hiddenKeys?: string[];
|
|
2329
|
+
shouldSkip?: (args: {
|
|
2330
|
+
key: string;
|
|
2331
|
+
path: string[];
|
|
2332
|
+
value: unknown;
|
|
2333
|
+
}) => boolean;
|
|
2334
|
+
};
|
|
2335
|
+
|
|
2336
|
+
declare const TRANSLATION_FALLBACK: {
|
|
2337
|
+
unified: string;
|
|
2338
|
+
split: string;
|
|
2339
|
+
changesTooLarge: string;
|
|
2340
|
+
unitIsMissing: string;
|
|
2341
|
+
companySetting: string;
|
|
2342
|
+
companySettingDifferent: string;
|
|
2343
|
+
allUsers: string;
|
|
2344
|
+
adminOnly: string;
|
|
2345
|
+
custom: string;
|
|
2346
|
+
created: string;
|
|
2347
|
+
modified: string;
|
|
2348
|
+
using: string;
|
|
2349
|
+
operation: string;
|
|
2350
|
+
date: string;
|
|
2351
|
+
changes: string;
|
|
2352
|
+
change: string;
|
|
2353
|
+
modifiedBy: string;
|
|
2354
|
+
singularChange: string;
|
|
2355
|
+
pluralChanges: string;
|
|
2356
|
+
showAll: string;
|
|
2357
|
+
unknown: string;
|
|
2358
|
+
unexpectedError: string;
|
|
2359
|
+
};
|
|
2360
|
+
|
|
2361
|
+
export declare const Tree: ({ list, canDrop, draggable, onListReorder, onChangeOpen, testId, isInitialOpen, autoOpenActiveItems, treeRef: treeRefProp, itemHasChild, onItemToggle, icons, allowParentReassignment, stickyHeader, height, render, placeholderIndent, }: ITreeProps) => JSX.Element;
|
|
2362
|
+
|
|
2363
|
+
export declare const TreeTable: ({ allowParentReassignment, autoOpenActiveItems, canDrop, draggable, icons, isInitialOpen, itemHasChild, onItemToggle, onListReorder, onChangeOpen, rowCheckboxes, table, testId, treeRef, }: ITreeTableProps) => JSX.Element;
|
|
2364
|
+
|
|
2365
|
+
export declare enum TriggerType {
|
|
2366
|
+
TEXT = "Text",
|
|
2367
|
+
BUTTON = "Button",
|
|
2368
|
+
DROP_DOWN_BUTTON = "DropDownButton",
|
|
2369
|
+
COMPONENT = "Component"
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
declare type TRowsType = TRowType[];
|
|
2373
|
+
|
|
2374
|
+
declare type TRowType = {
|
|
2375
|
+
cells: TCellShape[];
|
|
2376
|
+
actions?: any[];
|
|
2377
|
+
testId?: string;
|
|
2378
|
+
noDrag?: boolean;
|
|
2379
|
+
onRowMouseEnter?: TEmpty;
|
|
2380
|
+
onRowMouseLeave?: TEmpty;
|
|
2381
|
+
};
|
|
2382
|
+
|
|
2383
|
+
declare type TRowType_2 = {
|
|
2384
|
+
active?: boolean;
|
|
2385
|
+
error?: boolean;
|
|
2386
|
+
warning?: boolean;
|
|
2387
|
+
cells: TCellShape[];
|
|
2388
|
+
noDrag?: boolean;
|
|
2389
|
+
onRowClick?: IOnRowClickFunction;
|
|
2390
|
+
onRowFocus?: IOnRowClickFunction;
|
|
2391
|
+
onRowMouseEnter?: IOnRowClickFunction;
|
|
2392
|
+
onRowMouseLeave?: IOnRowClickFunction;
|
|
2393
|
+
expandedContent?: {
|
|
2394
|
+
content: ReactNode;
|
|
2395
|
+
flush?: boolean;
|
|
2396
|
+
};
|
|
2397
|
+
actions?: any[];
|
|
2398
|
+
};
|
|
2399
|
+
|
|
2400
|
+
declare type TSliderMark = {
|
|
2401
|
+
value: number | string;
|
|
2402
|
+
label?: number | string | ReactNode;
|
|
2403
|
+
tooltip?: number | string | ReactNode;
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
declare type TStringNumberNull = string | number | null;
|
|
2407
|
+
|
|
2408
|
+
declare type TStringOrNumber = string | number;
|
|
2409
|
+
|
|
2410
|
+
export declare type TTabsChangeEventHandler = (evt: ITabsChangeEvent) => void;
|
|
2411
|
+
|
|
2412
|
+
export declare type TTextTransform = 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
2413
|
+
|
|
2414
|
+
export declare type TTheme = 'dark' | 'white' | 'light' | 'inherit';
|
|
2415
|
+
|
|
2416
|
+
declare type TTopBarContent = TLinkElement | TButtonElement | TMenuElement | TComponentElement;
|
|
2417
|
+
|
|
2418
|
+
declare type TTranslationFallbackKeys = keyof typeof TRANSLATION_FALLBACK;
|
|
2419
|
+
|
|
2420
|
+
export declare type TTriggerType = 'Text' | 'Button' | 'DropDownButton' | 'Component';
|
|
2421
|
+
|
|
2422
|
+
declare type TUnitTableCellShape = TCellShape | IUnitTableStaticCell | IUnitTableInputCell | IUnitTableNumberInputCell;
|
|
2423
|
+
|
|
2424
|
+
declare type TUpdateTableImportExportState = (value: ITableImportExportState | ((prev: ITableImportExportState) => ITableImportExportState)) => void;
|
|
2425
|
+
|
|
2426
|
+
export declare interface TValidationRule {
|
|
2427
|
+
fieldName: string;
|
|
2428
|
+
defaultUnit?: string;
|
|
2429
|
+
validUnits?: string[];
|
|
2430
|
+
optionalColumn?: boolean;
|
|
2431
|
+
validator?: (value: string) => string | boolean | undefined | null;
|
|
2432
|
+
fieldNameValidator?: (params: {
|
|
2433
|
+
value: string;
|
|
2434
|
+
defaultAllowedValues: string[];
|
|
2435
|
+
columnIndex: number;
|
|
2436
|
+
fields: string[];
|
|
2437
|
+
units: string[];
|
|
2438
|
+
}) => boolean;
|
|
2439
|
+
unitsValidator?: (params: {
|
|
2440
|
+
value: string;
|
|
2441
|
+
defaultAllowedValues: string[];
|
|
2442
|
+
columnIndex: number;
|
|
2443
|
+
fields: string[];
|
|
2444
|
+
units: string[];
|
|
2445
|
+
}) => boolean;
|
|
2446
|
+
columnMessage?: Record<string, any>;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
declare const UNIFIED_VIEW = "unified";
|
|
2450
|
+
|
|
2451
|
+
declare type UnitContextType = any;
|
|
2452
|
+
|
|
2453
|
+
export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick: _onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, selectOnFocus, groupOrder, tooltip, }: IUnitInputProps) => JSX.Element;
|
|
2454
|
+
|
|
2455
|
+
export declare const UnitSlider: ({ name, value, min, max, label, step, onChange, onChangeComplete, preferredUnit, onSwitchUnit, enableEditUnitInput, disabled, showUnitInput, showArrows, unitkey, testId, noConversion, small, marks, minErrorMessage, maxErrorMessage, }: IUnitSliderProps) => JSX.Element;
|
|
2456
|
+
|
|
2457
|
+
export declare const UnitTable: ({ table, unitConfig, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, onListReorder, canListReorder, beforeRenderRow: beforeRenderRowProp, }: IUnitTableProps) => JSX.Element;
|
|
2458
|
+
|
|
2459
|
+
export declare const UsageTracker: ({ pathName, moduleName, onNavigate, onStartTimingEvent }: IUsageTrackerProps) => null;
|
|
2460
|
+
|
|
2461
|
+
export declare const useFocus: () => UseFocusReturnType;
|
|
2462
|
+
|
|
2463
|
+
declare type UseFocusReturnType = [MutableRefObject<HTMLInputElement | null>, TEmpty];
|
|
2464
|
+
|
|
2465
|
+
export declare const useKeyboardEvent: (key: string, fn: TEmpty, dependencyList?: DependencyList, options?: {
|
|
2466
|
+
ctrl?: boolean;
|
|
2467
|
+
meta?: boolean;
|
|
2468
|
+
}) => void;
|
|
2469
|
+
|
|
2470
|
+
export declare const useWindowWidth: () => number;
|
|
2471
|
+
|
|
2472
|
+
declare type ViewType = typeof SPLIT_VIEW | typeof UNIFIED_VIEW;
|
|
2473
|
+
|
|
2474
|
+
export declare const widthOfCharacters: (characterCount: number) => string;
|
|
2475
|
+
|
|
2476
|
+
export declare const withChainableErrorBoundary: (options?: ErrorBoundaryOptions) => <T extends default_2.JSXElementConstructor<any>>(Component: T) => T;
|
|
2477
|
+
|
|
2478
|
+
export declare const withErrorBoundary: <T extends default_2.JSXElementConstructor<any>>(Component: T, options?: ErrorBoundaryOptions) => T;
|
|
2479
|
+
|
|
2480
|
+
export { }
|