@ostack.tech/ui-kform 0.14.2 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/chunks/en-CaLvO1z0.js +133 -0
  2. package/dist/chunks/en-CaLvO1z0.js.map +1 -0
  3. package/dist/locales/en-GB.js +10 -8
  4. package/dist/locales/en-GB.js.map +1 -1
  5. package/dist/locales/en-US.js +10 -8
  6. package/dist/locales/en-US.js.map +1 -1
  7. package/dist/locales/fr-FR.js +133 -145
  8. package/dist/locales/fr-FR.js.map +1 -1
  9. package/dist/locales/pt-PT.js +133 -145
  10. package/dist/locales/pt-PT.js.map +1 -1
  11. package/dist/ostack-ui-kform.js +5559 -7867
  12. package/dist/ostack-ui-kform.js.map +1 -1
  13. package/dist/types/components/Annexes/Annex.d.ts +5 -5
  14. package/dist/types/components/Annexes/AnnexRegistrar.d.ts +1 -1
  15. package/dist/types/components/Annexes/AnnexTab.d.ts +2 -2
  16. package/dist/types/components/Annexes/Annexes.d.ts +4 -4
  17. package/dist/types/components/Annexes/AnnexesContext.d.ts +5 -5
  18. package/dist/types/components/Annexes/AnnexesManager.d.ts +3 -3
  19. package/dist/types/components/Annexes/AnnexesMenu.d.ts +4 -4
  20. package/dist/types/components/Annexes/AnnexesTabList.d.ts +3 -3
  21. package/dist/types/components/Annexes/RepetitiveAnnexRegistrar.d.ts +2 -2
  22. package/dist/types/components/Annexes/index.d.ts +5 -5
  23. package/dist/types/components/CheckboxControl/CheckboxControl.d.ts +6 -6
  24. package/dist/types/components/CheckboxControl/index.d.ts +1 -1
  25. package/dist/types/components/CheckboxGroupControl/CheckboxGroupControl.d.ts +6 -6
  26. package/dist/types/components/CheckboxGroupControl/index.d.ts +1 -1
  27. package/dist/types/components/ControlField/ControlField.d.ts +4 -4
  28. package/dist/types/components/ControlField/ControlFieldContext.d.ts +4 -4
  29. package/dist/types/components/ControlField/index.d.ts +2 -2
  30. package/dist/types/components/DateControl/DateControl.d.ts +6 -6
  31. package/dist/types/components/DateControl/index.d.ts +1 -1
  32. package/dist/types/components/DateRangeControl/DateRangeControl.d.ts +6 -6
  33. package/dist/types/components/DateRangeControl/index.d.ts +1 -1
  34. package/dist/types/components/FileControl/FileControl.d.ts +6 -6
  35. package/dist/types/components/FileControl/index.d.ts +1 -1
  36. package/dist/types/components/FormApp/FormApp.d.ts +9 -9
  37. package/dist/types/components/FormApp/FormAppContext.d.ts +7 -7
  38. package/dist/types/components/FormApp/FormAppElement.d.ts +3 -3
  39. package/dist/types/components/FormApp/FormAppIssueMessages.d.ts +3 -3
  40. package/dist/types/components/FormApp/FormAppStatus.d.ts +2 -2
  41. package/dist/types/components/FormApp/index.d.ts +4 -4
  42. package/dist/types/components/FormPages/FormPage.d.ts +6 -6
  43. package/dist/types/components/FormPages/FormPageHeader.d.ts +3 -3
  44. package/dist/types/components/FormPages/FormPageRegistrar.d.ts +1 -1
  45. package/dist/types/components/FormPages/FormPageSidebarItem.d.ts +2 -2
  46. package/dist/types/components/FormPages/FormPages.d.ts +3 -3
  47. package/dist/types/components/FormPages/FormPagesContext.d.ts +5 -5
  48. package/dist/types/components/FormPages/FormPagesNavigation.d.ts +4 -4
  49. package/dist/types/components/FormPages/FormPagesSelect.d.ts +2 -2
  50. package/dist/types/components/FormPages/FormPagesSelectOption.d.ts +2 -2
  51. package/dist/types/components/FormPages/FormPagesSidebar.d.ts +2 -2
  52. package/dist/types/components/FormPages/index.d.ts +4 -4
  53. package/dist/types/components/FormStepper/FormStep.d.ts +6 -6
  54. package/dist/types/components/FormStepper/FormStepButton.d.ts +2 -2
  55. package/dist/types/components/FormStepper/FormStepList.d.ts +3 -3
  56. package/dist/types/components/FormStepper/FormStepRegistrar.d.ts +1 -1
  57. package/dist/types/components/FormStepper/FormStepper.d.ts +4 -4
  58. package/dist/types/components/FormStepper/FormStepperContext.d.ts +5 -5
  59. package/dist/types/components/FormStepper/FormStepperFinishTrigger.d.ts +1 -1
  60. package/dist/types/components/FormStepper/FormStepperNextTrigger.d.ts +1 -1
  61. package/dist/types/components/FormStepper/FormStepperPreviousTrigger.d.ts +1 -1
  62. package/dist/types/components/FormStepper/FormStepperState.d.ts +1 -1
  63. package/dist/types/components/FormStepper/index.d.ts +7 -7
  64. package/dist/types/components/IssueMessage/IssueMessage.d.ts +4 -4
  65. package/dist/types/components/IssueMessage/index.d.ts +1 -1
  66. package/dist/types/components/IssueMessages/IssueMessages.d.ts +4 -4
  67. package/dist/types/components/IssueMessages/index.d.ts +1 -1
  68. package/dist/types/components/IssuesAlert/IssuesAlert.d.ts +4 -4
  69. package/dist/types/components/IssuesAlert/index.d.ts +1 -1
  70. package/dist/types/components/IssuesPanel/IssuesPanel.d.ts +4 -4
  71. package/dist/types/components/IssuesPanel/IssuesPanelControls.d.ts +5 -5
  72. package/dist/types/components/IssuesPanel/IssuesPanelMessagesCard.d.ts +6 -6
  73. package/dist/types/components/IssuesPanel/IssuesPanelSummaryCard.d.ts +5 -5
  74. package/dist/types/components/IssuesPanel/index.d.ts +1 -1
  75. package/dist/types/components/IssuesPopover/IssuesPopover.d.ts +4 -4
  76. package/dist/types/components/IssuesPopover/index.d.ts +1 -1
  77. package/dist/types/components/LoadAction/LoadAction.d.ts +4 -4
  78. package/dist/types/components/LoadAction/index.d.ts +1 -1
  79. package/dist/types/components/NumericControl/NumericControl.d.ts +6 -6
  80. package/dist/types/components/NumericControl/index.d.ts +1 -1
  81. package/dist/types/components/PathLink/PathLink.d.ts +2 -2
  82. package/dist/types/components/PathLink/index.d.ts +1 -1
  83. package/dist/types/components/PrintAction/PrintAction.d.ts +3 -3
  84. package/dist/types/components/PrintAction/index.d.ts +1 -1
  85. package/dist/types/components/RadioGroupControl/RadioGroupControl.d.ts +6 -6
  86. package/dist/types/components/RadioGroupControl/index.d.ts +1 -1
  87. package/dist/types/components/SaveAction/SaveAction.d.ts +4 -4
  88. package/dist/types/components/SaveAction/index.d.ts +1 -1
  89. package/dist/types/components/SelectControl/SelectControl.d.ts +7 -7
  90. package/dist/types/components/SelectControl/index.d.ts +1 -1
  91. package/dist/types/components/SelectMultipleControl/SelectMultipleControl.d.ts +7 -7
  92. package/dist/types/components/SelectMultipleControl/index.d.ts +1 -1
  93. package/dist/types/components/SubmitAction/SubmitAction.d.ts +5 -5
  94. package/dist/types/components/SubmitAction/index.d.ts +1 -1
  95. package/dist/types/components/TableControl/TableControl.d.ts +9 -9
  96. package/dist/types/components/TableControl/TableControlAddRowTrigger.d.ts +3 -3
  97. package/dist/types/components/TableControl/TableControlApi.d.ts +4 -4
  98. package/dist/types/components/TableControl/TableControlCell.d.ts +3 -3
  99. package/dist/types/components/TableControl/TableControlColumn.d.ts +4 -4
  100. package/dist/types/components/TableControl/TableControlContent.d.ts +3 -3
  101. package/dist/types/components/TableControl/TableControlContext.d.ts +7 -7
  102. package/dist/types/components/TableControl/TableControlPagination.d.ts +1 -1
  103. package/dist/types/components/TableControl/TableControlRemoveRowTrigger.d.ts +3 -3
  104. package/dist/types/components/TableControl/TableControlRow.d.ts +3 -3
  105. package/dist/types/components/TableControl/TableControlRowsPerPage.d.ts +1 -1
  106. package/dist/types/components/TableControl/index.d.ts +8 -8
  107. package/dist/types/components/TextControl/TextControl.d.ts +6 -6
  108. package/dist/types/components/TextControl/index.d.ts +1 -1
  109. package/dist/types/components/TopBar/TopBar.d.ts +2 -2
  110. package/dist/types/components/TopBar/TopBarActions.d.ts +3 -3
  111. package/dist/types/components/TopBar/TopBarContext.d.ts +1 -1
  112. package/dist/types/components/TopBar/index.d.ts +3 -3
  113. package/dist/types/components/UnknownValue/UnknownValue.d.ts +2 -2
  114. package/dist/types/components/UnknownValue/index.d.ts +1 -1
  115. package/dist/types/components/ValidateAction/ValidateAction.d.ts +3 -3
  116. package/dist/types/components/ValidateAction/index.d.ts +1 -1
  117. package/dist/types/index.d.ts +39 -39
  118. package/dist/types/locales/en-GB.d.ts +1 -1
  119. package/dist/types/locales/en-US.d.ts +1 -1
  120. package/dist/types/locales/en.d.ts +1 -1
  121. package/dist/types/locales/fr-FR.d.ts +1 -1
  122. package/dist/types/locales/index.d.ts +4 -4
  123. package/dist/types/locales/pt-PT.d.ts +1 -1
  124. package/dist/types/providers/ActivePathProvider/ActivePathContext.d.ts +2 -2
  125. package/dist/types/providers/ActivePathProvider/ActivePathProvider.d.ts +3 -3
  126. package/dist/types/providers/ActivePathProvider/index.d.ts +2 -2
  127. package/dist/types/providers/LocalizationProvider/LocalizationContext.d.ts +2 -2
  128. package/dist/types/providers/LocalizationProvider/LocalizationObject.d.ts +20 -20
  129. package/dist/types/providers/LocalizationProvider/LocalizationProvider.d.ts +3 -3
  130. package/dist/types/providers/LocalizationProvider/index.d.ts +4 -4
  131. package/dist/types/providers/LocalizationProvider/useLocale.d.ts +1 -1
  132. package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixContext.d.ts +1 -1
  133. package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixProvider.d.ts +2 -2
  134. package/dist/types/providers/PrefixSuffixProvider/defaultPrefixSuffix.d.ts +1 -1
  135. package/dist/types/providers/PrefixSuffixProvider/index.d.ts +4 -4
  136. package/dist/types/providers/PrefixSuffixProvider/usePrefix.d.ts +1 -1
  137. package/dist/types/utils/dateRestrictions.d.ts +2 -2
  138. package/dist/types/utils/displayStatusConversions.d.ts +2 -2
  139. package/dist/types/utils/mostSpecificPath.d.ts +1 -1
  140. package/dist/types/utils/options.d.ts +2 -2
  141. package/dist/types/utils/pathSpecificity.d.ts +1 -1
  142. package/dist/types/utils/selectionTransformations.d.ts +4 -4
  143. package/dist/types/utils/useControlAutofocus.d.ts +2 -2
  144. package/dist/types/utils/useControlIssues.d.ts +3 -3
  145. package/dist/types/utils/useFormLoader.d.ts +3 -3
  146. package/dist/types/utils/useFormSaver.d.ts +3 -3
  147. package/dist/types/utils/useRegisterControl.d.ts +3 -3
  148. package/dist/types/utils/useReportValidationFailures.d.ts +1 -1
  149. package/dist/types/utils/useResetOnChange.d.ts +3 -3
  150. package/dist/types/utils/useTemporalStringTransformer.d.ts +3 -3
  151. package/package.json +5 -5
  152. package/dist/chunks/en-Cb79GQnj.js +0 -145
  153. package/dist/chunks/en-Cb79GQnj.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { Button } from '@ostack.tech/ui';
2
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
1
+ import { Button } from "@ostack.tech/ui";
2
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
3
3
  /** Properties of the table control add row trigger component. */
4
4
  export type TableControlAddRowTriggerProps = TableControlAddRowTriggerChildlessProps | TableControlAddRowTriggerChildrenProps;
5
5
  /** Base properties of the table control add row trigger component. */
@@ -49,4 +49,4 @@ export interface TableControlAddRowTriggerChildrenProps extends TableControlAddR
49
49
  children: ReactNode;
50
50
  }
51
51
  /** Trigger used to add a new row to a table control. */
52
- export declare const TableControlAddRowTrigger: import('react').ForwardRefExoticComponent<TableControlAddRowTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
52
+ export declare const TableControlAddRowTrigger: import("react").ForwardRefExoticComponent<TableControlAddRowTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,7 +1,7 @@
1
- import { Table, TableRowId } from '@ostack.tech/kform';
2
- import { Controller } from '@ostack.tech/kform-react';
3
- import { DataTableScrollToOptions } from '@ostack.tech/ui';
4
- import { RefObject } from 'react';
1
+ import type { Table, TableRowId } from "@ostack.tech/kform";
2
+ import type { Controller } from "@ostack.tech/kform-react";
3
+ import type { DataTableScrollToOptions } from "@ostack.tech/ui";
4
+ import { type RefObject } from "react";
5
5
  /** Imperative table control API. */
6
6
  export type TableControlApi<T = unknown, TTable extends Table<T> | null = Table<T> | null> = Controller<TTable> & {
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { DataTableCell } from '@ostack.tech/ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { DataTableCell } from "@ostack.tech/ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the table control cell. */
4
4
  export interface TableControlCellProps extends ComponentPropsWithoutRef<typeof DataTableCell> {
5
5
  }
6
6
  /** Cell of the table control. */
7
- export declare const TableControlCell: import('react').ForwardRefExoticComponent<TableControlCellProps & import('react').RefAttributes<HTMLTableDataCellElement>>;
7
+ export declare const TableControlCell: import("react").ForwardRefExoticComponent<TableControlCellProps & import("react").RefAttributes<HTMLTableDataCellElement>>;
@@ -1,7 +1,7 @@
1
- import { Controller } from '@ostack.tech/kform-react';
2
- import { DataTableColumn } from '@ostack.tech/ui';
3
- import { ComponentPropsWithRef, ReactNode } from 'react';
4
- import { TableControlRemoveRowTrigger } from './TableControlRemoveRowTrigger.tsx';
1
+ import type { Controller } from "@ostack.tech/kform-react";
2
+ import type { DataTableColumn } from "@ostack.tech/ui";
3
+ import type { ComponentPropsWithRef, ReactNode } from "react";
4
+ import { TableControlRemoveRowTrigger } from "./TableControlRemoveRowTrigger.tsx";
5
5
  /** Array of table control columns. */
6
6
  export type TableControlColumns<T = unknown> = (TableControlColumn<T> | ((tableControlStatus: TableControlStatus) => TableControlColumn<T> | false | null | undefined) | false | null | undefined)[];
7
7
  /** Status of the table control. */
@@ -1,7 +1,7 @@
1
- import { DataTableContent } from '@ostack.tech/ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { DataTableContent } from "@ostack.tech/ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the table control content component. */
4
4
  export interface TableControlContentProps extends Omit<ComponentPropsWithoutRef<typeof DataTableContent>, "status"> {
5
5
  }
6
6
  /** Component containing the content of the table control. */
7
- export declare const TableControlContent: import('react').ForwardRefExoticComponent<TableControlContentProps & import('react').RefAttributes<HTMLTableElement>>;
7
+ export declare const TableControlContent: import("react").ForwardRefExoticComponent<TableControlContentProps & import("react").RefAttributes<HTMLTableElement>>;
@@ -1,8 +1,8 @@
1
- import { AbsolutePath, Table, TableRowId } from '@ostack.tech/kform';
2
- import { FormatterController } from '@ostack.tech/kform-react';
3
- import { Ref } from 'react';
4
- import { UseRegisterControlResult } from '../../utils/useRegisterControl.tsx';
5
- import { TableControlRowController } from './TableControlColumn.tsx';
1
+ import type { AbsolutePath, Table, TableRowId } from "@ostack.tech/kform";
2
+ import type { FormatterController } from "@ostack.tech/kform-react";
3
+ import { type Ref } from "react";
4
+ import type { UseRegisterControlResult } from "../../utils/useRegisterControl.tsx";
5
+ import type { TableControlRowController } from "./TableControlColumn.tsx";
6
6
  /** Value of the table control context. */
7
7
  export interface TableControlContextValue<T = any, TTable extends Table<T> | null = Table<T> | null> {
8
8
  controller: TableControlController<T, TTable>;
@@ -17,10 +17,10 @@ export type TableControlController<T = any, TTable extends Table<T> | null = Tab
17
17
  removeRow: (path: AbsolutePath) => PromiseLike<void> | void;
18
18
  };
19
19
  /** Table control context. */
20
- export declare const TableControlContext: import('react').Context<TableControlContextValue<any, Table<any> | null> | null>;
20
+ export declare const TableControlContext: import("react").Context<TableControlContextValue<any, Table<any> | null> | null>;
21
21
  /** Hook providing access to the table control context. */
22
22
  export declare function useTableControlContext<T = unknown, TTable extends Table<T> | null = Table<T> | null>(): TableControlContextValue<T, TTable>;
23
23
  /** Table control row context. */
24
- export declare const TableControlRowContext: import('react').Context<TableControlRowController | null>;
24
+ export declare const TableControlRowContext: import("react").Context<TableControlRowController | null>;
25
25
  /** Hook providing access to the table control row context. */
26
26
  export declare function useTableControlRowContext<T>(): TableControlRowController<T>;
@@ -1,2 +1,2 @@
1
1
  /** Table control pagination. */
2
- export declare const TableControlPagination: import('react').ForwardRefExoticComponent<import('@ostack.tech/ui').DataTablePaginationProps & import('react').RefAttributes<HTMLDivElement>>;
2
+ export declare const TableControlPagination: import("react").ForwardRefExoticComponent<import("@ostack.tech/ui").DataTablePaginationProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { IconButton } from '@ostack.tech/ui';
2
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
1
+ import { IconButton } from "@ostack.tech/ui";
2
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
3
3
  /** Properties of the table control remove row trigger component. */
4
4
  export type TableControlRemoveRowTriggerProps = TableControlRemoveRowTriggerChildlessProps | TableControlRemoveRowTriggerChildrenProps;
5
5
  /** Base properties of the table control remove row trigger component. */
@@ -68,4 +68,4 @@ export interface TableControlRemoveRowTriggerChildrenProps extends TableControlR
68
68
  * By default, it renders an icon button with label `defaultButtonLabel`,
69
69
  * however, this can be overriden by providing `children`.
70
70
  */
71
- export declare const TableControlRemoveRowTrigger: import('react').ForwardRefExoticComponent<TableControlRemoveRowTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
71
+ export declare const TableControlRemoveRowTrigger: import("react").ForwardRefExoticComponent<TableControlRemoveRowTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,7 +1,7 @@
1
- import { DataTableRow } from '@ostack.tech/ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { DataTableRow } from "@ostack.tech/ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the table control row. */
4
4
  export interface TableControlRowProps extends ComponentPropsWithoutRef<typeof DataTableRow> {
5
5
  }
6
6
  /** Row of a table control. */
7
- export declare const TableControlRow: import('react').NamedExoticComponent<TableControlRowProps & import('react').RefAttributes<HTMLTableRowElement>>;
7
+ export declare const TableControlRow: import("react").NamedExoticComponent<TableControlRowProps & import("react").RefAttributes<HTMLTableRowElement>>;
@@ -1,2 +1,2 @@
1
1
  /** Table control rows per page. */
2
- export declare const TableControlRowsPerPage: import('react').ForwardRefExoticComponent<import('@ostack.tech/ui').DataTableRowsPerPageProps & import('react').RefAttributes<HTMLDivElement>>;
2
+ export declare const TableControlRowsPerPage: import("react").ForwardRefExoticComponent<import("@ostack.tech/ui").DataTableRowsPerPageProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,8 +1,8 @@
1
- export * from './TableControl.tsx';
2
- export * from './TableControlAddRowTrigger.tsx';
3
- export * from './TableControlApi.ts';
4
- export * from './TableControlColumn.tsx';
5
- export * from './TableControlContent.tsx';
6
- export * from './TableControlPagination.tsx';
7
- export * from './TableControlRemoveRowTrigger.tsx';
8
- export * from './TableControlRowsPerPage.tsx';
1
+ export * from "./TableControl.tsx";
2
+ export * from "./TableControlAddRowTrigger.tsx";
3
+ export * from "./TableControlApi.ts";
4
+ export * from "./TableControlColumn.tsx";
5
+ export * from "./TableControlContent.tsx";
6
+ export * from "./TableControlPagination.tsx";
7
+ export * from "./TableControlRemoveRowTrigger.tsx";
8
+ export * from "./TableControlRowsPerPage.tsx";
@@ -1,8 +1,8 @@
1
- import { Path } from '@ostack.tech/kform';
2
- import { InputController, InputOptions } from '@ostack.tech/kform-react';
3
- import { Input, TextArea } from '@ostack.tech/ui';
4
- import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, ReactNode, Ref } from 'react';
5
- import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
1
+ import type { Path } from "@ostack.tech/kform";
2
+ import { type InputController, type InputOptions } from "@ostack.tech/kform-react";
3
+ import { Input, TextArea } from "@ostack.tech/ui";
4
+ import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ComponentRef, type ReactNode, type Ref } from "react";
5
+ import type { IssueMessages, IssueMessagesByCode } from "../IssueMessages";
6
6
  /** Properties of the text control component. */
7
7
  export type TextControlProps<T extends string | null = string | null> = TextControlPropsSingleline<T> | TextControlPropsMultiline<T>;
8
8
  export type TextControlPropsSingleline<T extends string | null = string | null> = Omit<ComponentPropsWithoutRef<typeof Input>, "defaultValue" | "value" | "onValueChange" | "status" | "validate" | "validationMode"> & TextControlPropsBase<T> & {
@@ -63,4 +63,4 @@ export type TextControlPropsBase<T extends string | null = string | null> = Omit
63
63
  * The component further supports either single or multiple lines via the
64
64
  * `multiline` prop.
65
65
  */
66
- export declare const TextControl: import('react').ForwardRefExoticComponent<TextControlProps<string | null> & import('react').RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
66
+ export declare const TextControl: import("react").ForwardRefExoticComponent<TextControlProps<string | null> & import("react").RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
@@ -1 +1 @@
1
- export * from './TextControl.tsx';
1
+ export * from "./TextControl.tsx";
@@ -1,6 +1,6 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  /** Properties of the top bar component. */
3
3
  export interface TopBarProps extends ComponentPropsWithoutRef<"div"> {
4
4
  }
5
5
  /** Top bar component. */
6
- export declare const TopBar: import('react').ForwardRefExoticComponent<TopBarProps & import('react').RefAttributes<HTMLDivElement>>;
6
+ export declare const TopBar: import("react").ForwardRefExoticComponent<TopBarProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
- import { Stack } from '@ostack.tech/ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { Stack } from "@ostack.tech/ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the top bar actions component. */
4
4
  export interface TopBarActionsProps extends ComponentPropsWithoutRef<typeof Stack> {
5
5
  }
6
6
  /** Container used to display actions within the top bar. */
7
- export declare const TopBarActions: import('react').ForwardRefExoticComponent<TopBarActionsProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ export declare const TopBarActions: import("react").ForwardRefExoticComponent<TopBarActionsProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -3,6 +3,6 @@ export interface TopBarContextValue {
3
3
  topBarEl: HTMLElement | null;
4
4
  }
5
5
  /** Context of the top bar component. */
6
- export declare const TopBarContext: import('react').Context<TopBarContextValue | null>;
6
+ export declare const TopBarContext: import("react").Context<TopBarContextValue | null>;
7
7
  /** Provides access to the top bar element within the context. */
8
8
  export declare function useTopBarElement(): HTMLElement | null;
@@ -1,3 +1,3 @@
1
- export * from './TopBar.tsx';
2
- export * from './TopBarActions.tsx';
3
- export { useTopBarElement } from './TopBarContext.tsx';
1
+ export * from "./TopBar.tsx";
2
+ export * from "./TopBarActions.tsx";
3
+ export { useTopBarElement } from "./TopBarContext.tsx";
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  /** Properties of the unknown value component. */
3
3
  export interface UnknownValueProps<T = unknown> {
4
4
  value?: T;
@@ -6,4 +6,4 @@ export interface UnknownValueProps<T = unknown> {
6
6
  label?: ReactNode;
7
7
  }
8
8
  /** Representation of an unknown value. */
9
- export declare function UnknownValue<T = unknown>({ value, label, }: UnknownValueProps<T>): import("react/jsx-runtime").JSX.Element;
9
+ export declare function UnknownValue<T = unknown>({ value, label, }: UnknownValueProps<T>): import("react").JSX.Element;
@@ -1 +1 @@
1
- export * from './UnknownValue.tsx';
1
+ export * from "./UnknownValue.tsx";
@@ -1,5 +1,5 @@
1
- import { ButtonProps } from '@ostack.tech/ui';
2
- import { ReactNode } from 'react';
1
+ import { type ButtonProps } from "@ostack.tech/ui";
2
+ import { type ReactNode } from "react";
3
3
  /** Default “validate” keybinds. */
4
4
  export declare const DEFAULT_VALIDATE_KEYBINDS = "Alt+Shift+V";
5
5
  /** Properties of the validate action. */
@@ -21,4 +21,4 @@ export interface ValidateActionProps extends Omit<ButtonProps, "children"> {
21
21
  keybinds?: string | string[] | null;
22
22
  }
23
23
  /** Action used to validate the form. */
24
- export declare function ValidateAction({ label, keybinds, loading, disabled, onClick, ...otherProps }: ValidateActionProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function ValidateAction({ label, keybinds, loading, disabled, onClick, ...otherProps }: ValidateActionProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- export * from './ValidateAction.tsx';
1
+ export * from "./ValidateAction.tsx";
@@ -1,39 +1,39 @@
1
- export * from './locales';
2
- export * from './components/Annexes';
3
- export * from './components/CheckboxControl';
4
- export * from './components/CheckboxGroupControl';
5
- export * from './components/ControlField';
6
- export * from './components/DateControl';
7
- export * from './components/DateRangeControl';
8
- export * from './components/FileControl';
9
- export * from './components/FormApp';
10
- export * from './components/FormPages';
11
- export * from './components/FormStepper';
12
- export * from './components/IssueMessages';
13
- export * from './components/IssuesAlert';
14
- export * from './components/IssuesPanel';
15
- export * from './components/IssuesPopover';
16
- export * from './components/LoadAction';
17
- export * from './components/NumericControl';
18
- export * from './components/PathLink';
19
- export * from './components/PrintAction';
20
- export * from './components/RadioGroupControl';
21
- export * from './components/SaveAction';
22
- export * from './components/SelectControl';
23
- export * from './components/SelectMultipleControl';
24
- export * from './components/SubmitAction';
25
- export * from './components/TableControl';
26
- export * from './components/TextControl';
27
- export * from './components/TopBar';
28
- export * from './components/ValidateAction';
29
- export * from './providers/ActivePathProvider';
30
- export * from './providers/LocalizationProvider';
31
- export * from './providers/PrefixSuffixProvider';
32
- export * from './utils/displayStatusConversions.ts';
33
- export * from './utils/options.ts';
34
- export * from './utils/useControlIssues.tsx';
35
- export * from './utils/useFormLoader.tsx';
36
- export * from './utils/useFormSaver.tsx';
37
- export * from './utils/useFormValidator.ts';
38
- export * from './utils/useRegisterControl.tsx';
39
- export * from './utils/useResetOnChange.tsx';
1
+ export * from "./locales";
2
+ export * from "./components/Annexes";
3
+ export * from "./components/CheckboxControl";
4
+ export * from "./components/CheckboxGroupControl";
5
+ export * from "./components/ControlField";
6
+ export * from "./components/DateControl";
7
+ export * from "./components/DateRangeControl";
8
+ export * from "./components/FileControl";
9
+ export * from "./components/FormApp";
10
+ export * from "./components/FormPages";
11
+ export * from "./components/FormStepper";
12
+ export * from "./components/IssueMessages";
13
+ export * from "./components/IssuesAlert";
14
+ export * from "./components/IssuesPanel";
15
+ export * from "./components/IssuesPopover";
16
+ export * from "./components/LoadAction";
17
+ export * from "./components/NumericControl";
18
+ export * from "./components/PathLink";
19
+ export * from "./components/PrintAction";
20
+ export * from "./components/RadioGroupControl";
21
+ export * from "./components/SaveAction";
22
+ export * from "./components/SelectControl";
23
+ export * from "./components/SelectMultipleControl";
24
+ export * from "./components/SubmitAction";
25
+ export * from "./components/TableControl";
26
+ export * from "./components/TextControl";
27
+ export * from "./components/TopBar";
28
+ export * from "./components/ValidateAction";
29
+ export * from "./providers/ActivePathProvider";
30
+ export * from "./providers/LocalizationProvider";
31
+ export * from "./providers/PrefixSuffixProvider";
32
+ export * from "./utils/displayStatusConversions.ts";
33
+ export * from "./utils/options.ts";
34
+ export * from "./utils/useControlIssues.tsx";
35
+ export * from "./utils/useFormLoader.tsx";
36
+ export * from "./utils/useFormSaver.tsx";
37
+ export * from "./utils/useFormValidator.ts";
38
+ export * from "./utils/useRegisterControl.tsx";
39
+ export * from "./utils/useResetOnChange.tsx";
@@ -1,3 +1,3 @@
1
- import { LocalizationObject } from '../providers/LocalizationProvider';
1
+ import type { LocalizationObject } from "../providers/LocalizationProvider";
2
2
  /** `en-GB` locale. */
3
3
  export declare const locale: LocalizationObject;
@@ -1,3 +1,3 @@
1
- import { LocalizationObject } from '../providers/LocalizationProvider';
1
+ import type { LocalizationObject } from "../providers/LocalizationProvider";
2
2
  /** `en-US` locale. */
3
3
  export declare const locale: LocalizationObject;
@@ -1,3 +1,3 @@
1
- import { LocalizationObject } from '../providers/LocalizationProvider';
1
+ import type { LocalizationObject } from "../providers/LocalizationProvider";
2
2
  /** `en` locale (partial). */
3
3
  export declare const en: Omit<LocalizationObject, "languageTag" | "baseLocale">;
@@ -1,3 +1,3 @@
1
- import { LocalizationObject } from '../providers/LocalizationProvider';
1
+ import type { LocalizationObject } from "../providers/LocalizationProvider";
2
2
  /** `fr-FR` locale. */
3
3
  export declare const locale: LocalizationObject;
@@ -1,4 +1,4 @@
1
- export { locale as enGB } from './en-GB.tsx';
2
- export { locale as enUS } from './en-US.tsx';
3
- export { locale as fr, locale as frFR } from './fr-FR.tsx';
4
- export { locale as pt, locale as ptPT } from './pt-PT.tsx';
1
+ export { locale as enGB } from "./en-GB.tsx";
2
+ export { locale as enUS } from "./en-US.tsx";
3
+ export { locale as fr, locale as frFR } from "./fr-FR.tsx";
4
+ export { locale as pt, locale as ptPT } from "./pt-PT.tsx";
@@ -1,3 +1,3 @@
1
- import { LocalizationObject } from '../providers/LocalizationProvider';
1
+ import type { LocalizationObject } from "../providers/LocalizationProvider";
2
2
  /** `pt-PT` locale. */
3
3
  export declare const locale: LocalizationObject;
@@ -1,10 +1,10 @@
1
- import { AbsolutePath } from '@ostack.tech/kform';
1
+ import type { AbsolutePath } from "@ostack.tech/kform";
2
2
  /** Value of the active path context. */
3
3
  export interface ActivePathContextValue {
4
4
  activePath: AbsolutePath;
5
5
  onActivePathChange: (activePath: AbsolutePath | string | null) => void;
6
6
  }
7
7
  /** Active path context. */
8
- export declare const ActivePathContext: import('react').Context<ActivePathContextValue | null>;
8
+ export declare const ActivePathContext: import("react").Context<ActivePathContextValue | null>;
9
9
  /** Hook providing access to the active path context. */
10
10
  export declare function useActivePathContext(): ActivePathContextValue;
@@ -1,5 +1,5 @@
1
- import { AbsolutePath, Path } from '@ostack.tech/kform';
2
- import { ReactNode } from 'react';
1
+ import { AbsolutePath, type Path } from "@ostack.tech/kform";
2
+ import { type ReactNode } from "react";
3
3
  /**
4
4
  * Navigation options to use when controlling the active path via the browser's
5
5
  * URL.
@@ -25,4 +25,4 @@ export interface ActivePathProviderProps {
25
25
  children?: ReactNode;
26
26
  }
27
27
  /** Provider which controls the active path in a section of a form. */
28
- export declare function ActivePathProvider({ defaultActivePath, activePath: controlledActivePath, onActivePathChange, children, }: ActivePathProviderProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function ActivePathProvider({ defaultActivePath, activePath: controlledActivePath, onActivePathChange, children, }: ActivePathProviderProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- export * from './ActivePathContext.ts';
2
- export * from './ActivePathProvider.tsx';
1
+ export * from "./ActivePathContext.ts";
2
+ export * from "./ActivePathProvider.tsx";
@@ -1,8 +1,8 @@
1
- import { LocalizationObject } from './LocalizationObject.ts';
1
+ import type { LocalizationObject } from "./LocalizationObject.ts";
2
2
  /** Value of the localisation context. */
3
3
  export interface LocalizationContextValue {
4
4
  locale: LocalizationObject;
5
5
  setLocale: (locale: LocalizationObject) => void;
6
6
  }
7
7
  /** Localisation context. */
8
- export declare const LocalizationContext: import('react').Context<LocalizationContextValue | null>;
8
+ export declare const LocalizationContext: import("react").Context<LocalizationContextValue | null>;
@@ -1,23 +1,23 @@
1
- import { LocalizationObject as UiLocalizationObject } from '@ostack.tech/ui';
2
- import { AnnexesManagerProps } from '../../components/Annexes';
3
- import { CheckboxGroupControlProps } from '../../components/CheckboxGroupControl';
4
- import { DateRangeControlProps } from '../../components/DateRangeControl';
5
- import { FileControlProps } from '../../components/FileControl';
6
- import { FormAppProps } from '../../components/FormApp';
7
- import { FormPageProps, FormPagesNavigationProps } from '../../components/FormPages';
8
- import { IssueMessagesProps } from '../../components/IssueMessages';
9
- import { IssuesPanelProps } from '../../components/IssuesPanel';
10
- import { IssuesPopoverProps } from '../../components/IssuesPopover';
11
- import { LoadActionProps } from '../../components/LoadAction';
12
- import { PrintActionProps } from '../../components/PrintAction';
13
- import { RadioGroupControlProps } from '../../components/RadioGroupControl';
14
- import { SaveActionProps } from '../../components/SaveAction';
15
- import { SelectControlProps } from '../../components/SelectControl';
16
- import { SelectMultipleControlProps } from '../../components/SelectMultipleControl';
17
- import { SubmitActionProps } from '../../components/SubmitAction';
18
- import { TableControlAddRowTriggerChildlessProps, TableControlRemoveRowTriggerChildlessProps } from '../../components/TableControl';
19
- import { UnknownValueProps } from '../../components/UnknownValue';
20
- import { ValidateActionProps } from '../../components/ValidateAction';
1
+ import type { LocalizationObject as UiLocalizationObject } from "@ostack.tech/ui";
2
+ import type { AnnexesManagerProps } from "../../components/Annexes";
3
+ import type { CheckboxGroupControlProps } from "../../components/CheckboxGroupControl";
4
+ import type { DateRangeControlProps } from "../../components/DateRangeControl";
5
+ import type { FileControlProps } from "../../components/FileControl";
6
+ import type { FormAppProps } from "../../components/FormApp";
7
+ import type { FormPageProps, FormPagesNavigationProps } from "../../components/FormPages";
8
+ import type { IssueMessagesProps } from "../../components/IssueMessages";
9
+ import type { IssuesPanelProps } from "../../components/IssuesPanel";
10
+ import type { IssuesPopoverProps } from "../../components/IssuesPopover";
11
+ import type { LoadActionProps } from "../../components/LoadAction";
12
+ import type { PrintActionProps } from "../../components/PrintAction";
13
+ import type { RadioGroupControlProps } from "../../components/RadioGroupControl";
14
+ import type { SaveActionProps } from "../../components/SaveAction";
15
+ import type { SelectControlProps } from "../../components/SelectControl";
16
+ import type { SelectMultipleControlProps } from "../../components/SelectMultipleControl";
17
+ import type { SubmitActionProps } from "../../components/SubmitAction";
18
+ import type { TableControlAddRowTriggerChildlessProps, TableControlRemoveRowTriggerChildlessProps } from "../../components/TableControl";
19
+ import type { UnknownValueProps } from "../../components/UnknownValue";
20
+ import type { ValidateActionProps } from "../../components/ValidateAction";
21
21
  /** Localization object representation. */
22
22
  export interface LocalizationObject {
23
23
  baseLocale: UiLocalizationObject;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { LocalizationObject } from './LocalizationObject.ts';
1
+ import type { ReactNode } from "react";
2
+ import type { LocalizationObject } from "./LocalizationObject.ts";
3
3
  /** Properties of the localisation provider. */
4
4
  export interface LocalizationProviderProps {
5
5
  /** Uncontrolled locale to use. */
@@ -18,4 +18,4 @@ export interface LocalizationProviderProps {
18
18
  * Localisation provider (also sets the `@ostack.tech/ui` localisation
19
19
  * provider).
20
20
  */
21
- export declare function LocalizationProvider({ defaultLocale, locale: controlledLocale, onLocaleChange, children, }: LocalizationProviderProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
21
+ export declare function LocalizationProvider({ defaultLocale, locale: controlledLocale, onLocaleChange, children, }: LocalizationProviderProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
@@ -1,4 +1,4 @@
1
- export * from './LocalizationContext.ts';
2
- export * from './LocalizationObject.ts';
3
- export * from './LocalizationProvider.tsx';
4
- export * from './useLocale.ts';
1
+ export * from "./LocalizationContext.ts";
2
+ export * from "./LocalizationObject.ts";
3
+ export * from "./LocalizationProvider.tsx";
4
+ export * from "./useLocale.ts";
@@ -1,4 +1,4 @@
1
- import { LocalizationObject } from './LocalizationObject.ts';
1
+ import type { LocalizationObject } from "./LocalizationObject.ts";
2
2
  /** Hook used to get and set the current locale. */
3
3
  export declare function useLocale(): [
4
4
  LocalizationObject,
@@ -1,2 +1,2 @@
1
1
  /** Prefix-suffix context. */
2
- export declare const PrefixSuffixContext: import('react').Context<string | null>;
2
+ export declare const PrefixSuffixContext: import("react").Context<string | null>;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  /** Properties of the prefix-suffix provider. */
3
3
  export interface PrefixSuffixProviderProps {
4
4
  /** Suffix to add to ostack/UI's prefix. */
@@ -6,4 +6,4 @@ export interface PrefixSuffixProviderProps {
6
6
  children: ReactNode;
7
7
  }
8
8
  /** Prefix-suffix provider. */
9
- export declare function PrefixSuffixProvider({ prefixSuffix, children, }: PrefixSuffixProviderProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
9
+ export declare function PrefixSuffixProvider({ prefixSuffix, children, }: PrefixSuffixProviderProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
@@ -1,5 +1,5 @@
1
1
  /** Store holding the default prefix-suffix. */
2
- export declare const defaultPrefixSuffixStore: import('zustand').StoreApi<{
2
+ export declare const defaultPrefixSuffixStore: import("zustand").StoreApi<{
3
3
  defaultPrefixSuffix: string;
4
4
  }>;
5
5
  /**
@@ -1,4 +1,4 @@
1
- export { setDefaultPrefixSuffix } from './defaultPrefixSuffix.ts';
2
- export * from './PrefixSuffixContext.ts';
3
- export * from './PrefixSuffixProvider.tsx';
4
- export * from './usePrefix.ts';
1
+ export { setDefaultPrefixSuffix } from "./defaultPrefixSuffix.ts";
2
+ export * from "./PrefixSuffixContext.ts";
3
+ export * from "./PrefixSuffixProvider.tsx";
4
+ export * from "./usePrefix.ts";
@@ -1,4 +1,4 @@
1
- import { PrefixFn } from '@ostack.tech/ui';
1
+ import { type PrefixFn } from "@ostack.tech/ui";
2
2
  /**
3
3
  * Hook which returns a function which can be used to prefix a string with the
4
4
  * current prefix.
@@ -1,5 +1,5 @@
1
- import { Schema } from '@ostack.tech/kform';
2
- import { Temporal } from '@ostack.tech/kform-react';
1
+ import type { Schema } from "@ostack.tech/kform";
2
+ import { type Temporal } from "@ostack.tech/kform-react";
3
3
  /** Returns the minimum date allowed based on a temporal schema's restrictions. */
4
4
  export declare function minDateRestriction<T extends Temporal | null>(schema: Schema<T>): Date | undefined;
5
5
  /** Returns the maximum date allowed based on a temporal schema's restrictions. */
@@ -1,5 +1,5 @@
1
- import { DisplayStatus } from '@ostack.tech/kform';
2
- import { ControlStatus } from '@ostack.tech/ui';
1
+ import type { DisplayStatus } from "@ostack.tech/kform";
2
+ import type { ControlStatus } from "@ostack.tech/ui";
3
3
  /** Transforms ostack/KForm's display status into ostack/UI's control status. */
4
4
  export declare function displayStatusToControlStatus(displayStatus: DisplayStatus | undefined): ControlStatus | undefined;
5
5
  /** Transforms ostack/KForm's display status into a "danger" or "warning" colour. */
@@ -1,4 +1,4 @@
1
- import { AbsolutePath } from '@ostack.tech/kform';
1
+ import { AbsolutePath } from "@ostack.tech/kform";
2
2
  /**
3
3
  * Function which selects the most "specific" path from a list of paths, given a
4
4
  * path to match. `currentActivePath` contains the path that is currently
@@ -1,5 +1,5 @@
1
- import { OptionProps, OptionsGroupProps } from '@ostack.tech/ui';
2
- import { Key, ReactNode } from 'react';
1
+ import type { OptionProps, OptionsGroupProps } from "@ostack.tech/ui";
2
+ import type { Key, ReactNode } from "react";
3
3
  /** Object representation of an options group. */
4
4
  export type OptionsGroupObject<T = unknown> = Omit<OptionsGroupProps, "children"> & {
5
5
  /** Group's options. */