@imtf/dms-core 8.0.0 → 8.0.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.
@@ -5,3 +5,9 @@ export type CustomStamps = Core.Tools.RubberStampCreateTool.CustomStampData & {
5
5
  subtitle?: Record<Locale, string | undefined>;
6
6
  };
7
7
  export type ViewerStatus = "viewing" | "editing" | "saving";
8
+ export type PagesEditionContext = {
9
+ /** Whether the viewer can save what the user changes. */
10
+ isEditable: boolean;
11
+ /** Whether the document finished loading, page streaming included. */
12
+ isDocumentLoaded: boolean;
13
+ };
@@ -15,7 +15,6 @@ type AccordionItemProps = {
15
15
  parentInode?: Inode;
16
16
  isDisabled: boolean;
17
17
  isInvalid: boolean;
18
- isDefaultExpanded: boolean;
19
18
  isPropertiesTypeLoading: boolean;
20
19
  properties?: PropertiesComponent[];
21
20
  warningMessage?: string;
@@ -27,5 +26,5 @@ type AccordionItemProps = {
27
26
  } | null) => void;
28
27
  onDelete: (inodeOid: Inode["oid"]) => void;
29
28
  };
30
- declare const AccordionItem: ({ inode, options, currentType, dossierInode, parentInode, properties, isDisabled, isInvalid, isDefaultExpanded, isPropertiesTypeLoading, warningMessage, errorMessages, control, onChange, onDelete, }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
29
+ declare const AccordionItem: ({ inode, options, currentType, dossierInode, parentInode, properties, isDisabled, isInvalid, isPropertiesTypeLoading, warningMessage, errorMessages, control, onChange, onDelete, }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
31
30
  export default AccordionItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imtf/dms-core",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Typings for dms-core plugin system",
5
5
  "nonNpm": true
6
6
  }