@leav/ui 0.4.0-4e6e650 → 0.4.0-54167beb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/__mocks__/common/form.d.ts +632 -0
- package/dist/__mocks__/common/form.js +27 -22
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +3267 -2315
- package/dist/_gqlTypes/index.js +374 -132
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +10 -5
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/components/Explorer/DataView.js +4 -4
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +4 -2
- package/dist/components/Explorer/Explorer.js +7 -3
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +2 -1
- package/dist/components/Explorer/ExplorerToolbar.js +5 -4
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +2 -3
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +4 -1
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +4 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -20
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +5 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -18
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +3 -0
- package/dist/components/Explorer/link-item/LinkModal.js +5 -10
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +4 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +2 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +72 -224
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +57 -33
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +15 -12
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +7 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +15 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +47 -24
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +113 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +3 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +25 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +13 -36
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.d.ts → link-record/useExplorerLinkRecords.d.ts} +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.js → link-record/useExplorerLinkRecords.js} +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +79 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +62 -79
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +24 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/{useDisplayTreeNode.d.ts → TreeNodeList.d.ts} +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +16 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +12 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +56 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +2 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +22 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +23 -5
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +6 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +5 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +2 -1
- package/dist/components/RecordEdition/index.js +2 -1
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +5 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +3 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +18 -23
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.d.ts +17 -0
- package/dist/components/SelectTreeNode/_types.js +2 -0
- package/dist/components/SelectTreeNode/_types.js.map +1 -0
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +4 -2
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/{LinkSelect → SelectTreeNodeModalOld}/index.js +1 -2
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +2 -13
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +3 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
- package/dist/hooks/useIFrameMessenger/schema.js +76 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +33 -5
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +9 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +55 -20
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/{components/RecordEdition/EditRecord/creationErrorContext.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +2 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/dist/types/attributes.d.ts +2 -1
- package/package.json +22 -6
- package/dist/components/LinkSelect/LinkSelect.d.ts +0 -15
- package/dist/components/LinkSelect/LinkSelect.js +0 -89
- package/dist/components/LinkSelect/LinkSelect.js.map +0 -1
- package/dist/components/LinkSelect/index.d.ts +0 -2
- package/dist/components/LinkSelect/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +0 -7
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.d.ts +0 -121
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +0 -39
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +0 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +0 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +0 -24
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +0 -103
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +0 -104
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +0 -27
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +0 -196
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +0 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
- package/dist/components/SelectTreeNodeModal/index.js +0 -5
- package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ICommonFieldsSettings, IFormDividerSettings, IFormTabsSettings } from '@leav/utils';
|
|
2
2
|
import { IRecordForm } from '../../hooks/useGetRecordForm';
|
|
3
|
+
import { AttributeFormat, AttributeType, FormElementTypes, LibraryBehavior } from '../../_gqlTypes';
|
|
3
4
|
import { FormElement, IFormElementProps } from '../../components/RecordEdition/EditRecordContent/_types';
|
|
4
5
|
import { IRecordPropertyTree } from '../../_queries/records/getRecordPropertiesQuery';
|
|
5
6
|
export declare const mockFormElementContainer: FormElement<{}>;
|
|
@@ -38,8 +39,639 @@ export declare const mockFormElementLinkVersionable: FormElement<{}>;
|
|
|
38
39
|
export declare const mockTreeValueA: IRecordPropertyTree;
|
|
39
40
|
export declare const mockTreeValueB: IRecordPropertyTree;
|
|
40
41
|
export declare const mockFormElementTree: FormElement<ICommonFieldsSettings>;
|
|
42
|
+
export declare const mockFormElementTreeValues: {
|
|
43
|
+
id_value?: string | null;
|
|
44
|
+
modified_at?: number | null;
|
|
45
|
+
created_at?: number | null;
|
|
46
|
+
modified_by?: {
|
|
47
|
+
id: string;
|
|
48
|
+
whoAmI: {
|
|
49
|
+
id: string;
|
|
50
|
+
label?: string | null;
|
|
51
|
+
subLabel?: string | null;
|
|
52
|
+
color?: string | null;
|
|
53
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
54
|
+
library: {
|
|
55
|
+
id: string;
|
|
56
|
+
label?: any | null;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
} | null;
|
|
60
|
+
created_by?: {
|
|
61
|
+
id: string;
|
|
62
|
+
whoAmI: {
|
|
63
|
+
id: string;
|
|
64
|
+
label?: string | null;
|
|
65
|
+
subLabel?: string | null;
|
|
66
|
+
color?: string | null;
|
|
67
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
68
|
+
library: {
|
|
69
|
+
id: string;
|
|
70
|
+
label?: any | null;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
} | null;
|
|
74
|
+
isInherited?: boolean | null;
|
|
75
|
+
isCalculated?: boolean | null;
|
|
76
|
+
treeValue?: {
|
|
77
|
+
id: string;
|
|
78
|
+
record: {
|
|
79
|
+
id: string;
|
|
80
|
+
whoAmI: {
|
|
81
|
+
id: string;
|
|
82
|
+
label?: string | null;
|
|
83
|
+
subLabel?: string | null;
|
|
84
|
+
color?: string | null;
|
|
85
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
86
|
+
library: {
|
|
87
|
+
id: string;
|
|
88
|
+
label?: any | null;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
ancestors?: Array<{
|
|
93
|
+
record: {
|
|
94
|
+
id: string;
|
|
95
|
+
whoAmI: {
|
|
96
|
+
id: string;
|
|
97
|
+
label?: string | null;
|
|
98
|
+
subLabel?: string | null;
|
|
99
|
+
color?: string | null;
|
|
100
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
101
|
+
library: {
|
|
102
|
+
id: string;
|
|
103
|
+
label?: any | null;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}> | null;
|
|
108
|
+
} | null;
|
|
109
|
+
version?: import("../..").IValueVersion;
|
|
110
|
+
metadata?: Array<{
|
|
111
|
+
name: string;
|
|
112
|
+
value: import("@leav/utils").Override<import("../../_gqlTypes").ValueDetailsTreeValueFragment["metadata"][number]["value"], {
|
|
113
|
+
version?: import("../..").IValueVersion;
|
|
114
|
+
}>;
|
|
115
|
+
}>;
|
|
116
|
+
attribute?: import("../../_gqlTypes").ValueDetailsValueFragment["attribute"];
|
|
117
|
+
}[];
|
|
41
118
|
export declare const mockFormElementTextBlock: FormElement<{}>;
|
|
42
119
|
export declare const mockFormElementDivider: FormElement<IFormDividerSettings>;
|
|
43
120
|
export declare const mockFormElementTabs: FormElement<IFormTabsSettings>;
|
|
44
121
|
export declare const mockCommonFormElementProps: Partial<IFormElementProps<any>>;
|
|
45
122
|
export declare const mockRecordForm: IRecordForm;
|
|
123
|
+
export declare const mockElementValues1: {
|
|
124
|
+
id_value: string;
|
|
125
|
+
value: string;
|
|
126
|
+
raw_value: string;
|
|
127
|
+
payload: string;
|
|
128
|
+
raw_payload: string;
|
|
129
|
+
created_at: number;
|
|
130
|
+
modified_at: number;
|
|
131
|
+
created_by: import("../../_queries/records/getRecordPropertiesQuery").IRecordPropertyModifier;
|
|
132
|
+
modified_by: import("../../_queries/records/getRecordPropertiesQuery").IRecordPropertyModifier;
|
|
133
|
+
}[];
|
|
134
|
+
export declare const mockRecordFormWithValues: {
|
|
135
|
+
elements: {
|
|
136
|
+
values: {
|
|
137
|
+
id_value: string;
|
|
138
|
+
value: string;
|
|
139
|
+
raw_value: string;
|
|
140
|
+
payload: string;
|
|
141
|
+
raw_payload: string;
|
|
142
|
+
created_at: number;
|
|
143
|
+
modified_at: number;
|
|
144
|
+
created_by: import("../../_queries/records/getRecordPropertiesQuery").IRecordPropertyModifier;
|
|
145
|
+
modified_by: import("../../_queries/records/getRecordPropertiesQuery").IRecordPropertyModifier;
|
|
146
|
+
}[];
|
|
147
|
+
valueError: any;
|
|
148
|
+
id: string;
|
|
149
|
+
type: FormElementTypes;
|
|
150
|
+
attribute?: {
|
|
151
|
+
id: string;
|
|
152
|
+
label?: any | null;
|
|
153
|
+
description?: any | null;
|
|
154
|
+
type: AttributeType;
|
|
155
|
+
format?: AttributeFormat | null;
|
|
156
|
+
system: boolean;
|
|
157
|
+
readonly: boolean;
|
|
158
|
+
required: boolean;
|
|
159
|
+
multiple_values: boolean;
|
|
160
|
+
compute: boolean;
|
|
161
|
+
linked_library?: {
|
|
162
|
+
id: string;
|
|
163
|
+
label?: any | null;
|
|
164
|
+
behavior: LibraryBehavior;
|
|
165
|
+
permissions?: {
|
|
166
|
+
create_record: boolean;
|
|
167
|
+
} | null;
|
|
168
|
+
} | null;
|
|
169
|
+
linkValuesList?: {
|
|
170
|
+
enable: boolean;
|
|
171
|
+
allowFreeEntry?: boolean | null;
|
|
172
|
+
allowListUpdate?: boolean | null;
|
|
173
|
+
values?: Array<{
|
|
174
|
+
id: string;
|
|
175
|
+
whoAmI: {
|
|
176
|
+
id: string;
|
|
177
|
+
label?: string | null;
|
|
178
|
+
subLabel?: string | null;
|
|
179
|
+
color?: string | null;
|
|
180
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
181
|
+
library: {
|
|
182
|
+
id: string;
|
|
183
|
+
label?: any | null;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
}> | null;
|
|
187
|
+
} | null;
|
|
188
|
+
permissions: {
|
|
189
|
+
access_attribute: boolean;
|
|
190
|
+
edit_value: boolean;
|
|
191
|
+
};
|
|
192
|
+
versions_conf?: {
|
|
193
|
+
versionable: boolean;
|
|
194
|
+
profile?: {
|
|
195
|
+
id: string;
|
|
196
|
+
trees: Array<{
|
|
197
|
+
id: string;
|
|
198
|
+
label?: any | null;
|
|
199
|
+
}>;
|
|
200
|
+
} | null;
|
|
201
|
+
} | null;
|
|
202
|
+
metadata_fields?: Array<{
|
|
203
|
+
id: string;
|
|
204
|
+
label?: any | null;
|
|
205
|
+
description?: any | null;
|
|
206
|
+
type: AttributeType;
|
|
207
|
+
format?: AttributeFormat | null;
|
|
208
|
+
system: boolean;
|
|
209
|
+
readonly: boolean;
|
|
210
|
+
multiple_values: boolean;
|
|
211
|
+
permissions: {
|
|
212
|
+
access_attribute: boolean;
|
|
213
|
+
edit_value: boolean;
|
|
214
|
+
};
|
|
215
|
+
values_list?: {
|
|
216
|
+
enable: boolean;
|
|
217
|
+
allowFreeEntry?: boolean | null;
|
|
218
|
+
allowListUpdate?: boolean | null;
|
|
219
|
+
dateRangeValues?: Array<{
|
|
220
|
+
from?: string | null;
|
|
221
|
+
to?: string | null;
|
|
222
|
+
}> | null;
|
|
223
|
+
} | {
|
|
224
|
+
enable: boolean;
|
|
225
|
+
allowFreeEntry?: boolean | null;
|
|
226
|
+
allowListUpdate?: boolean | null;
|
|
227
|
+
values?: Array<string> | null;
|
|
228
|
+
} | null;
|
|
229
|
+
metadata_fields?: Array<{
|
|
230
|
+
id: string;
|
|
231
|
+
}> | null;
|
|
232
|
+
}> | null;
|
|
233
|
+
} | {
|
|
234
|
+
character_limit?: number | null;
|
|
235
|
+
id: string;
|
|
236
|
+
label?: any | null;
|
|
237
|
+
description?: any | null;
|
|
238
|
+
type: AttributeType;
|
|
239
|
+
format?: AttributeFormat | null;
|
|
240
|
+
system: boolean;
|
|
241
|
+
readonly: boolean;
|
|
242
|
+
required: boolean;
|
|
243
|
+
multiple_values: boolean;
|
|
244
|
+
compute: boolean;
|
|
245
|
+
values_list?: {
|
|
246
|
+
enable: boolean;
|
|
247
|
+
allowFreeEntry?: boolean | null;
|
|
248
|
+
allowListUpdate?: boolean | null;
|
|
249
|
+
dateRangeValues?: Array<{
|
|
250
|
+
from?: string | null;
|
|
251
|
+
to?: string | null;
|
|
252
|
+
}> | null;
|
|
253
|
+
} | {
|
|
254
|
+
enable: boolean;
|
|
255
|
+
allowFreeEntry?: boolean | null;
|
|
256
|
+
allowListUpdate?: boolean | null;
|
|
257
|
+
values?: Array<string> | null;
|
|
258
|
+
} | null;
|
|
259
|
+
permissions: {
|
|
260
|
+
access_attribute: boolean;
|
|
261
|
+
edit_value: boolean;
|
|
262
|
+
};
|
|
263
|
+
versions_conf?: {
|
|
264
|
+
versionable: boolean;
|
|
265
|
+
profile?: {
|
|
266
|
+
id: string;
|
|
267
|
+
trees: Array<{
|
|
268
|
+
id: string;
|
|
269
|
+
label?: any | null;
|
|
270
|
+
}>;
|
|
271
|
+
} | null;
|
|
272
|
+
} | null;
|
|
273
|
+
metadata_fields?: Array<{
|
|
274
|
+
id: string;
|
|
275
|
+
label?: any | null;
|
|
276
|
+
description?: any | null;
|
|
277
|
+
type: AttributeType;
|
|
278
|
+
format?: AttributeFormat | null;
|
|
279
|
+
system: boolean;
|
|
280
|
+
readonly: boolean;
|
|
281
|
+
multiple_values: boolean;
|
|
282
|
+
permissions: {
|
|
283
|
+
access_attribute: boolean;
|
|
284
|
+
edit_value: boolean;
|
|
285
|
+
};
|
|
286
|
+
values_list?: {
|
|
287
|
+
enable: boolean;
|
|
288
|
+
allowFreeEntry?: boolean | null;
|
|
289
|
+
allowListUpdate?: boolean | null;
|
|
290
|
+
dateRangeValues?: Array<{
|
|
291
|
+
from?: string | null;
|
|
292
|
+
to?: string | null;
|
|
293
|
+
}> | null;
|
|
294
|
+
} | {
|
|
295
|
+
enable: boolean;
|
|
296
|
+
allowFreeEntry?: boolean | null;
|
|
297
|
+
allowListUpdate?: boolean | null;
|
|
298
|
+
values?: Array<string> | null;
|
|
299
|
+
} | null;
|
|
300
|
+
metadata_fields?: Array<{
|
|
301
|
+
id: string;
|
|
302
|
+
}> | null;
|
|
303
|
+
}> | null;
|
|
304
|
+
} | {
|
|
305
|
+
id: string;
|
|
306
|
+
label?: any | null;
|
|
307
|
+
description?: any | null;
|
|
308
|
+
type: AttributeType;
|
|
309
|
+
format?: AttributeFormat | null;
|
|
310
|
+
system: boolean;
|
|
311
|
+
readonly: boolean;
|
|
312
|
+
required: boolean;
|
|
313
|
+
multiple_values: boolean;
|
|
314
|
+
compute: boolean;
|
|
315
|
+
linked_tree?: {
|
|
316
|
+
id: string;
|
|
317
|
+
label?: any | null;
|
|
318
|
+
} | null;
|
|
319
|
+
treeValuesList?: {
|
|
320
|
+
enable: boolean;
|
|
321
|
+
allowFreeEntry?: boolean | null;
|
|
322
|
+
allowListUpdate?: boolean | null;
|
|
323
|
+
values?: Array<{
|
|
324
|
+
id: string;
|
|
325
|
+
record: {
|
|
326
|
+
id: string;
|
|
327
|
+
whoAmI: {
|
|
328
|
+
id: string;
|
|
329
|
+
label?: string | null;
|
|
330
|
+
subLabel?: string | null;
|
|
331
|
+
color?: string | null;
|
|
332
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
333
|
+
library: {
|
|
334
|
+
id: string;
|
|
335
|
+
label?: any | null;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
ancestors?: Array<{
|
|
340
|
+
record: {
|
|
341
|
+
id: string;
|
|
342
|
+
whoAmI: {
|
|
343
|
+
id: string;
|
|
344
|
+
label?: string | null;
|
|
345
|
+
subLabel?: string | null;
|
|
346
|
+
color?: string | null;
|
|
347
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
348
|
+
library: {
|
|
349
|
+
id: string;
|
|
350
|
+
label?: any | null;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
}> | null;
|
|
355
|
+
}> | null;
|
|
356
|
+
} | null;
|
|
357
|
+
permissions: {
|
|
358
|
+
access_attribute: boolean;
|
|
359
|
+
edit_value: boolean;
|
|
360
|
+
};
|
|
361
|
+
versions_conf?: {
|
|
362
|
+
versionable: boolean;
|
|
363
|
+
profile?: {
|
|
364
|
+
id: string;
|
|
365
|
+
trees: Array<{
|
|
366
|
+
id: string;
|
|
367
|
+
label?: any | null;
|
|
368
|
+
}>;
|
|
369
|
+
} | null;
|
|
370
|
+
} | null;
|
|
371
|
+
metadata_fields?: Array<{
|
|
372
|
+
id: string;
|
|
373
|
+
label?: any | null;
|
|
374
|
+
description?: any | null;
|
|
375
|
+
type: AttributeType;
|
|
376
|
+
format?: AttributeFormat | null;
|
|
377
|
+
system: boolean;
|
|
378
|
+
readonly: boolean;
|
|
379
|
+
multiple_values: boolean;
|
|
380
|
+
permissions: {
|
|
381
|
+
access_attribute: boolean;
|
|
382
|
+
edit_value: boolean;
|
|
383
|
+
};
|
|
384
|
+
values_list?: {
|
|
385
|
+
enable: boolean;
|
|
386
|
+
allowFreeEntry?: boolean | null;
|
|
387
|
+
allowListUpdate?: boolean | null;
|
|
388
|
+
dateRangeValues?: Array<{
|
|
389
|
+
from?: string | null;
|
|
390
|
+
to?: string | null;
|
|
391
|
+
}> | null;
|
|
392
|
+
} | {
|
|
393
|
+
enable: boolean;
|
|
394
|
+
allowFreeEntry?: boolean | null;
|
|
395
|
+
allowListUpdate?: boolean | null;
|
|
396
|
+
values?: Array<string> | null;
|
|
397
|
+
} | null;
|
|
398
|
+
metadata_fields?: Array<{
|
|
399
|
+
id: string;
|
|
400
|
+
}> | null;
|
|
401
|
+
}> | null;
|
|
402
|
+
} | null;
|
|
403
|
+
containerId: string;
|
|
404
|
+
uiElementType: string;
|
|
405
|
+
settings: Array<{
|
|
406
|
+
key: string;
|
|
407
|
+
value: any;
|
|
408
|
+
}>;
|
|
409
|
+
joinLibraryContext?: {
|
|
410
|
+
mandatoryAttribute: {
|
|
411
|
+
id: string;
|
|
412
|
+
label?: any | null;
|
|
413
|
+
description?: any | null;
|
|
414
|
+
type: AttributeType;
|
|
415
|
+
format?: AttributeFormat | null;
|
|
416
|
+
system: boolean;
|
|
417
|
+
readonly: boolean;
|
|
418
|
+
required: boolean;
|
|
419
|
+
multiple_values: boolean;
|
|
420
|
+
compute: boolean;
|
|
421
|
+
linked_library?: {
|
|
422
|
+
id: string;
|
|
423
|
+
label?: any | null;
|
|
424
|
+
behavior: LibraryBehavior;
|
|
425
|
+
permissions?: {
|
|
426
|
+
create_record: boolean;
|
|
427
|
+
} | null;
|
|
428
|
+
} | null;
|
|
429
|
+
linkValuesList?: {
|
|
430
|
+
enable: boolean;
|
|
431
|
+
allowFreeEntry?: boolean | null;
|
|
432
|
+
allowListUpdate?: boolean | null;
|
|
433
|
+
values?: Array<{
|
|
434
|
+
id: string;
|
|
435
|
+
whoAmI: {
|
|
436
|
+
id: string;
|
|
437
|
+
label?: string | null;
|
|
438
|
+
subLabel?: string | null;
|
|
439
|
+
color?: string | null;
|
|
440
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
441
|
+
library: {
|
|
442
|
+
id: string;
|
|
443
|
+
label?: any | null;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
}> | null;
|
|
447
|
+
} | null;
|
|
448
|
+
permissions: {
|
|
449
|
+
access_attribute: boolean;
|
|
450
|
+
edit_value: boolean;
|
|
451
|
+
};
|
|
452
|
+
versions_conf?: {
|
|
453
|
+
versionable: boolean;
|
|
454
|
+
profile?: {
|
|
455
|
+
id: string;
|
|
456
|
+
trees: Array<{
|
|
457
|
+
id: string;
|
|
458
|
+
label?: any | null;
|
|
459
|
+
}>;
|
|
460
|
+
} | null;
|
|
461
|
+
} | null;
|
|
462
|
+
metadata_fields?: Array<{
|
|
463
|
+
id: string;
|
|
464
|
+
label?: any | null;
|
|
465
|
+
description?: any | null;
|
|
466
|
+
type: AttributeType;
|
|
467
|
+
format?: AttributeFormat | null;
|
|
468
|
+
system: boolean;
|
|
469
|
+
readonly: boolean;
|
|
470
|
+
multiple_values: boolean;
|
|
471
|
+
permissions: {
|
|
472
|
+
access_attribute: boolean;
|
|
473
|
+
edit_value: boolean;
|
|
474
|
+
};
|
|
475
|
+
values_list?: {
|
|
476
|
+
enable: boolean;
|
|
477
|
+
allowFreeEntry?: boolean | null;
|
|
478
|
+
allowListUpdate?: boolean | null;
|
|
479
|
+
dateRangeValues?: Array<{
|
|
480
|
+
from?: string | null;
|
|
481
|
+
to?: string | null;
|
|
482
|
+
}> | null;
|
|
483
|
+
} | {
|
|
484
|
+
enable: boolean;
|
|
485
|
+
allowFreeEntry?: boolean | null;
|
|
486
|
+
allowListUpdate?: boolean | null;
|
|
487
|
+
values?: Array<string> | null;
|
|
488
|
+
} | null;
|
|
489
|
+
metadata_fields?: Array<{
|
|
490
|
+
id: string;
|
|
491
|
+
}> | null;
|
|
492
|
+
}> | null;
|
|
493
|
+
} | {
|
|
494
|
+
character_limit?: number | null;
|
|
495
|
+
id: string;
|
|
496
|
+
label?: any | null;
|
|
497
|
+
description?: any | null;
|
|
498
|
+
type: AttributeType;
|
|
499
|
+
format?: AttributeFormat | null;
|
|
500
|
+
system: boolean;
|
|
501
|
+
readonly: boolean;
|
|
502
|
+
required: boolean;
|
|
503
|
+
multiple_values: boolean;
|
|
504
|
+
compute: boolean;
|
|
505
|
+
values_list?: {
|
|
506
|
+
enable: boolean;
|
|
507
|
+
allowFreeEntry?: boolean | null;
|
|
508
|
+
allowListUpdate?: boolean | null;
|
|
509
|
+
dateRangeValues?: Array<{
|
|
510
|
+
from?: string | null;
|
|
511
|
+
to?: string | null;
|
|
512
|
+
}> | null;
|
|
513
|
+
} | {
|
|
514
|
+
enable: boolean;
|
|
515
|
+
allowFreeEntry?: boolean | null;
|
|
516
|
+
allowListUpdate?: boolean | null;
|
|
517
|
+
values?: Array<string> | null;
|
|
518
|
+
} | null;
|
|
519
|
+
permissions: {
|
|
520
|
+
access_attribute: boolean;
|
|
521
|
+
edit_value: boolean;
|
|
522
|
+
};
|
|
523
|
+
versions_conf?: {
|
|
524
|
+
versionable: boolean;
|
|
525
|
+
profile?: {
|
|
526
|
+
id: string;
|
|
527
|
+
trees: Array<{
|
|
528
|
+
id: string;
|
|
529
|
+
label?: any | null;
|
|
530
|
+
}>;
|
|
531
|
+
} | null;
|
|
532
|
+
} | null;
|
|
533
|
+
metadata_fields?: Array<{
|
|
534
|
+
id: string;
|
|
535
|
+
label?: any | null;
|
|
536
|
+
description?: any | null;
|
|
537
|
+
type: AttributeType;
|
|
538
|
+
format?: AttributeFormat | null;
|
|
539
|
+
system: boolean;
|
|
540
|
+
readonly: boolean;
|
|
541
|
+
multiple_values: boolean;
|
|
542
|
+
permissions: {
|
|
543
|
+
access_attribute: boolean;
|
|
544
|
+
edit_value: boolean;
|
|
545
|
+
};
|
|
546
|
+
values_list?: {
|
|
547
|
+
enable: boolean;
|
|
548
|
+
allowFreeEntry?: boolean | null;
|
|
549
|
+
allowListUpdate?: boolean | null;
|
|
550
|
+
dateRangeValues?: Array<{
|
|
551
|
+
from?: string | null;
|
|
552
|
+
to?: string | null;
|
|
553
|
+
}> | null;
|
|
554
|
+
} | {
|
|
555
|
+
enable: boolean;
|
|
556
|
+
allowFreeEntry?: boolean | null;
|
|
557
|
+
allowListUpdate?: boolean | null;
|
|
558
|
+
values?: Array<string> | null;
|
|
559
|
+
} | null;
|
|
560
|
+
metadata_fields?: Array<{
|
|
561
|
+
id: string;
|
|
562
|
+
}> | null;
|
|
563
|
+
}> | null;
|
|
564
|
+
} | {
|
|
565
|
+
id: string;
|
|
566
|
+
label?: any | null;
|
|
567
|
+
description?: any | null;
|
|
568
|
+
type: AttributeType;
|
|
569
|
+
format?: AttributeFormat | null;
|
|
570
|
+
system: boolean;
|
|
571
|
+
readonly: boolean;
|
|
572
|
+
required: boolean;
|
|
573
|
+
multiple_values: boolean;
|
|
574
|
+
compute: boolean;
|
|
575
|
+
linked_tree?: {
|
|
576
|
+
id: string;
|
|
577
|
+
label?: any | null;
|
|
578
|
+
} | null;
|
|
579
|
+
treeValuesList?: {
|
|
580
|
+
enable: boolean;
|
|
581
|
+
allowFreeEntry?: boolean | null;
|
|
582
|
+
allowListUpdate?: boolean | null;
|
|
583
|
+
values?: Array<{
|
|
584
|
+
id: string;
|
|
585
|
+
record: {
|
|
586
|
+
id: string;
|
|
587
|
+
whoAmI: {
|
|
588
|
+
id: string;
|
|
589
|
+
label?: string | null;
|
|
590
|
+
subLabel?: string | null;
|
|
591
|
+
color?: string | null;
|
|
592
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
593
|
+
library: {
|
|
594
|
+
id: string;
|
|
595
|
+
label?: any | null;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
ancestors?: Array<{
|
|
600
|
+
record: {
|
|
601
|
+
id: string;
|
|
602
|
+
whoAmI: {
|
|
603
|
+
id: string;
|
|
604
|
+
label?: string | null;
|
|
605
|
+
subLabel?: string | null;
|
|
606
|
+
color?: string | null;
|
|
607
|
+
preview?: import("@leav/utils").IPreviewScalar | null;
|
|
608
|
+
library: {
|
|
609
|
+
id: string;
|
|
610
|
+
label?: any | null;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
}> | null;
|
|
615
|
+
}> | null;
|
|
616
|
+
} | null;
|
|
617
|
+
permissions: {
|
|
618
|
+
access_attribute: boolean;
|
|
619
|
+
edit_value: boolean;
|
|
620
|
+
};
|
|
621
|
+
versions_conf?: {
|
|
622
|
+
versionable: boolean;
|
|
623
|
+
profile?: {
|
|
624
|
+
id: string;
|
|
625
|
+
trees: Array<{
|
|
626
|
+
id: string;
|
|
627
|
+
label?: any | null;
|
|
628
|
+
}>;
|
|
629
|
+
} | null;
|
|
630
|
+
} | null;
|
|
631
|
+
metadata_fields?: Array<{
|
|
632
|
+
id: string;
|
|
633
|
+
label?: any | null;
|
|
634
|
+
description?: any | null;
|
|
635
|
+
type: AttributeType;
|
|
636
|
+
format?: AttributeFormat | null;
|
|
637
|
+
system: boolean;
|
|
638
|
+
readonly: boolean;
|
|
639
|
+
multiple_values: boolean;
|
|
640
|
+
permissions: {
|
|
641
|
+
access_attribute: boolean;
|
|
642
|
+
edit_value: boolean;
|
|
643
|
+
};
|
|
644
|
+
values_list?: {
|
|
645
|
+
enable: boolean;
|
|
646
|
+
allowFreeEntry?: boolean | null;
|
|
647
|
+
allowListUpdate?: boolean | null;
|
|
648
|
+
dateRangeValues?: Array<{
|
|
649
|
+
from?: string | null;
|
|
650
|
+
to?: string | null;
|
|
651
|
+
}> | null;
|
|
652
|
+
} | {
|
|
653
|
+
enable: boolean;
|
|
654
|
+
allowFreeEntry?: boolean | null;
|
|
655
|
+
allowListUpdate?: boolean | null;
|
|
656
|
+
values?: Array<string> | null;
|
|
657
|
+
} | null;
|
|
658
|
+
metadata_fields?: Array<{
|
|
659
|
+
id: string;
|
|
660
|
+
}> | null;
|
|
661
|
+
}> | null;
|
|
662
|
+
};
|
|
663
|
+
} | null;
|
|
664
|
+
}[];
|
|
665
|
+
id: string;
|
|
666
|
+
library: {
|
|
667
|
+
id: string;
|
|
668
|
+
};
|
|
669
|
+
recordId?: string | null;
|
|
670
|
+
dependencyAttributes?: Array<{
|
|
671
|
+
id: string;
|
|
672
|
+
}> | null;
|
|
673
|
+
sidePanel?: {
|
|
674
|
+
enable: boolean;
|
|
675
|
+
isOpenByDefault?: boolean | null;
|
|
676
|
+
} | null;
|
|
677
|
+
};
|