@leav/ui 1.5.0 → 1.5.1-339c20fb

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 (75) hide show
  1. package/dist/__mocks__/common/library.d.ts +9 -0
  2. package/dist/_gqlTypes/index.d.ts +107 -26
  3. package/dist/_gqlTypes/index.js +64 -12
  4. package/dist/_gqlTypes/index.js.map +1 -1
  5. package/dist/_queries/libraries/libraryDetailsFragment.js +7 -0
  6. package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
  7. package/dist/components/Explorer/DataView.js +4 -3
  8. package/dist/components/Explorer/DataView.js.map +1 -1
  9. package/dist/components/Explorer/Explorer.js +2 -1
  10. package/dist/components/Explorer/Explorer.js.map +1 -1
  11. package/dist/components/Explorer/ExplorerFiltersAndSorts.d.ts +1 -0
  12. package/dist/components/Explorer/ExplorerFiltersAndSorts.js +2 -2
  13. package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
  14. package/dist/components/Explorer/ExplorerToolbar.d.ts +1 -0
  15. package/dist/components/Explorer/ExplorerToolbar.js +2 -2
  16. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  17. package/dist/components/Explorer/IdCard.js +2 -2
  18. package/dist/components/Explorer/IdCard.js.map +1 -1
  19. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  20. package/dist/components/Explorer/actions-mass/useExportMassAction.js +5 -6
  21. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
  22. package/dist/components/Explorer/useLoadView.js +0 -2
  23. package/dist/components/Explorer/useLoadView.js.map +1 -1
  24. package/dist/components/Filters/_types.d.ts +4 -0
  25. package/dist/components/Filters/_types.js.map +1 -1
  26. package/dist/components/Filters/context/filtersReducer.js +20 -11
  27. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  28. package/dist/components/Filters/context/useFiltersReducer.d.ts +2 -1
  29. package/dist/components/Filters/context/useFiltersReducer.js +9 -5
  30. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
  31. package/dist/components/Filters/context/useGetTreeFilters.d.ts +15 -0
  32. package/dist/components/Filters/context/useGetTreeFilters.js +63 -0
  33. package/dist/components/Filters/context/useGetTreeFilters.js.map +1 -0
  34. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +24 -7
  35. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  36. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +15 -17
  37. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
  38. package/dist/components/Filters/index.js.map +1 -1
  39. package/dist/components/Filters/prepareFiltersForRequest.js +14 -5
  40. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  41. package/dist/components/Filters/useFilters.d.ts +4 -0
  42. package/dist/components/Filters/useTransformFilters.d.ts +5 -1
  43. package/dist/components/Filters/useTransformFilters.js +26 -3
  44. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  45. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +1 -1
  46. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  47. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
  48. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  49. package/dist/components/RecordHistory/RecordHistory.js +11 -6
  50. package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
  51. package/dist/components/RecordHistory/RecordHistoryLogEntry.js +13 -7
  52. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  53. package/dist/components/SearchModal/SearchModal.js +1 -1
  54. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  55. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +4 -1
  56. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  57. package/dist/components/TreePicker/TreesList/TreesList.js +1 -1
  58. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  59. package/dist/constants.d.ts +1 -0
  60. package/dist/constants.js +1 -0
  61. package/dist/constants.js.map +1 -1
  62. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +3 -1
  63. package/dist/hooks/useIFrameMessenger/messageHandlers.js +12 -0
  64. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  65. package/dist/hooks/useIFrameMessenger/schema.d.ts +30 -1
  66. package/dist/hooks/useIFrameMessenger/schema.js +5 -4
  67. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  68. package/dist/hooks/useIFrameMessenger/types.d.ts +20 -2
  69. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  70. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +2 -0
  71. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +2 -0
  72. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +2 -0
  73. package/dist/locales/en/shared.json +2 -2
  74. package/dist/locales/fr/shared.json +2 -2
  75. package/package.json +6 -7
@@ -3,7 +3,7 @@ import type * as z from 'zod/v4';
3
3
  import { type KitNotification } from 'aristid-ds';
4
4
  import { type IKitConfirmDialog } from 'aristid-ds/dist/Kit/Feedback/Modal/types';
5
5
  import { type ToastedAlertProps } from 'aristid-ds/dist/Kit/Feedback/Alert/types';
6
- import { type LibraryIdSchema, type WhereSchema, type PanelIdSchema, type PanelSchema, type PanelIFrameSchema } from '../../hooks/useIFrameMessenger/schema';
6
+ import { type LibraryIdSchema, type WhereSchema, type PanelIdSchema, type PanelSchema, type PanelIFrameSchema, type FlapPanelIdSchema, type attributeExplorerPanelSchema, type baseExplorerPanelSchema } from '../../hooks/useIFrameMessenger/schema';
7
7
  export declare const packetId = "__fromIframeMessenger";
8
8
  export interface IEncodedMessage {
9
9
  payload: string;
@@ -51,10 +51,12 @@ export type UnregisterMessage = IMessageBase & {
51
51
  id: string;
52
52
  };
53
53
  export type Panel = z.infer<typeof PanelSchema>;
54
+ export type AttributeExplorerPanel = Panel & z.infer<typeof baseExplorerPanelSchema> & z.infer<typeof attributeExplorerPanelSchema>;
54
55
  export type LibraryId = z.infer<typeof LibraryIdSchema>;
55
56
  export type PanelId = z.infer<typeof PanelIdSchema>;
56
57
  export type Where = z.infer<typeof WhereSchema>;
57
58
  type PanelIFrame = z.infer<typeof PanelIFrameSchema>;
59
+ type FlapPanelId = z.infer<typeof FlapPanelIdSchema>;
58
60
  export type NavigateToPanelMessage = IMessageBase & {
59
61
  type: 'navigate-to-panel';
60
62
  data: {
@@ -62,6 +64,9 @@ export type NavigateToPanelMessage = IMessageBase & {
62
64
  libraryId: LibraryId;
63
65
  panelId?: PanelId;
64
66
  recordId?: string;
67
+ flapRecordId?: string;
68
+ flapLibraryId?: LibraryId;
69
+ flapPanelId?: FlapPanelId;
65
70
  };
66
71
  };
67
72
  export type ClosePanelMessage = IMessageBase & {
@@ -92,7 +97,18 @@ export type MessageToPanelMessage = IMessageBase & {
92
97
  payload: unknown;
93
98
  };
94
99
  };
95
- export type MessageToParent = ModalConfirmMessage | AlertMessage | NotificationMessage | SimpleMessage | RegisterMessage | UnregisterMessage | NavigateToPanelMessage | ClosePanelMessage | NavigateToIframeMessage | MessageToPanelMessage;
100
+ export type OpenFlapPanelMessage = IMessageBase & {
101
+ type: 'open-flap-panel';
102
+ data: {
103
+ flapRecordId: string;
104
+ flapLibraryId: LibraryId;
105
+ flapPanelId: FlapPanelId;
106
+ };
107
+ };
108
+ export type CloseFlapPanelMessage = IMessageBase & {
109
+ type: 'close-flap-panel';
110
+ };
111
+ export type MessageToParent = ModalConfirmMessage | AlertMessage | NotificationMessage | SimpleMessage | RegisterMessage | UnregisterMessage | NavigateToPanelMessage | ClosePanelMessage | NavigateToIframeMessage | MessageToPanelMessage | OpenFlapPanelMessage | CloseFlapPanelMessage;
96
112
  export type MessageFromParent = (IMessageBase & {
97
113
  type: 'on-call-callback';
98
114
  path: string;
@@ -117,6 +133,8 @@ export interface IUseIFrameMessengerOptions {
117
133
  onNavigateToPanel?: (data: NavigateToPanelMessage['data']) => void;
118
134
  onClosePanel?: (data: ClosePanelMessage['data']) => void;
119
135
  onNavigateToIframe?: (data: NavigateToIframeMessage['data']) => void;
136
+ onOpenFlapPanel?: (data: OpenFlapPanelMessage['data']) => void;
137
+ onCloseFlapPanel?: () => void;
120
138
  };
121
139
  }
122
140
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessenger/types.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,QAAQ,GAAG,uBAAuB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type RefObject, type ComponentProps, type Key, type JSXElementConstructor} from 'react';\nimport type * as z from 'zod/v4';\nimport {type KitNotification} from 'aristid-ds';\nimport {type IKitConfirmDialog} from 'aristid-ds/dist/Kit/Feedback/Modal/types';\nimport {type ToastedAlertProps} from 'aristid-ds/dist/Kit/Feedback/Alert/types';\nimport {\n type LibraryIdSchema,\n type WhereSchema,\n type PanelIdSchema,\n type PanelSchema,\n type PanelIFrameSchema,\n} from '_ui/hooks/useIFrameMessenger/schema';\n\nexport const packetId = '__fromIframeMessenger';\n\nexport interface IEncodedMessage {\n payload: string;\n [packetId]: boolean;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ComponentPropsWithKey<T extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>> =\n ComponentProps<T> & {\n key?: Key;\n };\n\nexport interface IMessageBase {\n __frameId?: string;\n}\n\nexport type ModalConfirmMessage = IMessageBase & {\n type: 'modal-confirm';\n id: string;\n data: IKitConfirmDialog;\n overrides?: string[];\n};\n\nexport type AlertMessage = IMessageBase & {\n type: 'alert';\n id: string;\n data: ToastedAlertProps;\n overrides?: string[];\n};\n\nexport type NotificationMessage = IMessageBase & {\n type: 'notification';\n id: string;\n data: ComponentPropsWithKey<typeof KitNotification>;\n overrides?: string[];\n};\n\nexport type ChangeLanguageMessage = IMessageBase & {\n type: 'change-language';\n language: string;\n};\n\nexport type SimpleMessage = IMessageBase & {\n type: 'message';\n id: string;\n data: unknown;\n};\n\nexport type RegisterMessage = IMessageBase & {\n type: 'register';\n id: string;\n};\n\nexport type UnregisterMessage = IMessageBase & {\n type: 'unregister';\n id: string;\n};\n\nexport type Panel = z.infer<typeof PanelSchema>;\n\nexport type LibraryId = z.infer<typeof LibraryIdSchema>;\n\nexport type PanelId = z.infer<typeof PanelIdSchema>;\n\nexport type Where = z.infer<typeof WhereSchema>;\n\ntype PanelIFrame = z.infer<typeof PanelIFrameSchema>;\n\nexport type NavigateToPanelMessage = IMessageBase & {\n type: 'navigate-to-panel';\n data: {\n where: Where;\n libraryId: LibraryId;\n panelId?: PanelId;\n recordId?: string;\n };\n};\n\nexport type ClosePanelMessage = IMessageBase & {\n type: 'close-panel';\n data: {\n recordId: string;\n where: string;\n recordPanelId: string;\n };\n};\n\nexport type NavigateToIframeMessage = IMessageBase & {\n type: 'navigate-to-iframe';\n data: {\n panel: PanelIFrame;\n destination: {libraryId: LibraryId};\n where: Where;\n recordId: string;\n recordPanelId: string;\n };\n};\n\nexport type MessageToPanelMessage = IMessageBase & {\n type: 'message-to-panel';\n data: {\n type: string;\n target?: string;\n payload: unknown;\n };\n};\n\nexport type MessageToParent =\n | ModalConfirmMessage\n | AlertMessage\n | NotificationMessage\n | SimpleMessage\n | RegisterMessage\n | UnregisterMessage\n | NavigateToPanelMessage\n | ClosePanelMessage\n | NavigateToIframeMessage\n | MessageToPanelMessage;\n\nexport type MessageFromParent =\n | (IMessageBase & {\n type: 'on-call-callback';\n path: string;\n data: unknown;\n })\n | ChangeLanguageMessage;\n\nexport type Message = MessageToParent | MessageFromParent;\n\nexport type MessageHandler<T = Message> = (message: T, dispatch: MessageDispatcher<T>) => void;\nexport type MessageDispatcher<T = Message> = (message: T, frameId?: string) => void;\n\nexport type CallCbFunction = (path: string, data: unknown, frameId: string) => void;\n\nexport type CallbackFunction = (...args: never[]) => void;\nexport type Callbacks = Record<string, Record<string, CallbackFunction>>;\n\nexport type MessageToPanelMessageHandler = (data: MessageToPanelMessage['data']['payload']) => void;\nexport type AddMessageToPanelMessageHandler = (type: string, handler: MessageToPanelMessageHandler) => void;\n\nexport interface IUseIFrameMessengerOptions {\n ref?: RefObject<HTMLIFrameElement>;\n id?: string;\n handlers?: {\n onModalConfirm?: (\n data: ModalConfirmMessage['data'],\n id: string,\n dispatch: MessageDispatcher,\n callCb: CallCbFunction,\n ) => void;\n onAlert?: (data: AlertMessage['data'], id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;\n onNotification?: (\n data: NotificationMessage['data'],\n id: string,\n dispatch: MessageDispatcher,\n callCb: CallCbFunction,\n ) => void;\n onMessage?: (data: unknown, id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;\n onNavigateToPanel?: (data: NavigateToPanelMessage['data']) => void;\n onClosePanel?: (data: ClosePanelMessage['data']) => void;\n onNavigateToIframe?: (data: NavigateToIframeMessage['data']) => void;\n };\n}\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessenger/types.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,QAAQ,GAAG,uBAAuB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type RefObject, type ComponentProps, type Key, type JSXElementConstructor} from 'react';\nimport type * as z from 'zod/v4';\nimport {type KitNotification} from 'aristid-ds';\nimport {type IKitConfirmDialog} from 'aristid-ds/dist/Kit/Feedback/Modal/types';\nimport {type ToastedAlertProps} from 'aristid-ds/dist/Kit/Feedback/Alert/types';\nimport {\n type LibraryIdSchema,\n type WhereSchema,\n type PanelIdSchema,\n type PanelSchema,\n type PanelIFrameSchema,\n type FlapPanelIdSchema,\n type attributeExplorerPanelSchema,\n type baseExplorerPanelSchema,\n} from '_ui/hooks/useIFrameMessenger/schema';\n\nexport const packetId = '__fromIframeMessenger';\n\nexport interface IEncodedMessage {\n payload: string;\n [packetId]: boolean;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ComponentPropsWithKey<T extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>> =\n ComponentProps<T> & {\n key?: Key;\n };\n\nexport interface IMessageBase {\n __frameId?: string;\n}\n\nexport type ModalConfirmMessage = IMessageBase & {\n type: 'modal-confirm';\n id: string;\n data: IKitConfirmDialog;\n overrides?: string[];\n};\n\nexport type AlertMessage = IMessageBase & {\n type: 'alert';\n id: string;\n data: ToastedAlertProps;\n overrides?: string[];\n};\n\nexport type NotificationMessage = IMessageBase & {\n type: 'notification';\n id: string;\n data: ComponentPropsWithKey<typeof KitNotification>;\n overrides?: string[];\n};\n\nexport type ChangeLanguageMessage = IMessageBase & {\n type: 'change-language';\n language: string;\n};\n\nexport type SimpleMessage = IMessageBase & {\n type: 'message';\n id: string;\n data: unknown;\n};\n\nexport type RegisterMessage = IMessageBase & {\n type: 'register';\n id: string;\n};\n\nexport type UnregisterMessage = IMessageBase & {\n type: 'unregister';\n id: string;\n};\n\nexport type Panel = z.infer<typeof PanelSchema>;\n\nexport type AttributeExplorerPanel = Panel &\n z.infer<typeof baseExplorerPanelSchema> &\n z.infer<typeof attributeExplorerPanelSchema>;\n\nexport type LibraryId = z.infer<typeof LibraryIdSchema>;\n\nexport type PanelId = z.infer<typeof PanelIdSchema>;\n\nexport type Where = z.infer<typeof WhereSchema>;\n\ntype PanelIFrame = z.infer<typeof PanelIFrameSchema>;\n\ntype FlapPanelId = z.infer<typeof FlapPanelIdSchema>;\n\nexport type NavigateToPanelMessage = IMessageBase & {\n type: 'navigate-to-panel';\n data: {\n where: Where;\n libraryId: LibraryId;\n panelId?: PanelId;\n recordId?: string;\n flapRecordId?: string;\n flapLibraryId?: LibraryId;\n flapPanelId?: FlapPanelId;\n };\n};\n\nexport type ClosePanelMessage = IMessageBase & {\n type: 'close-panel';\n data: {\n recordId: string;\n where: string;\n recordPanelId: string;\n };\n};\n\nexport type NavigateToIframeMessage = IMessageBase & {\n type: 'navigate-to-iframe';\n data: {\n panel: PanelIFrame;\n destination: {libraryId: LibraryId};\n where: Where;\n recordId: string;\n recordPanelId: string;\n };\n};\n\nexport type MessageToPanelMessage = IMessageBase & {\n type: 'message-to-panel';\n data: {\n type: string;\n target?: string;\n payload: unknown;\n };\n};\n\nexport type OpenFlapPanelMessage = IMessageBase & {\n type: 'open-flap-panel';\n data: {\n flapRecordId: string;\n flapLibraryId: LibraryId;\n flapPanelId: FlapPanelId;\n };\n};\n\nexport type CloseFlapPanelMessage = IMessageBase & {\n type: 'close-flap-panel';\n};\n\nexport type MessageToParent =\n | ModalConfirmMessage\n | AlertMessage\n | NotificationMessage\n | SimpleMessage\n | RegisterMessage\n | UnregisterMessage\n | NavigateToPanelMessage\n | ClosePanelMessage\n | NavigateToIframeMessage\n | MessageToPanelMessage\n | OpenFlapPanelMessage\n | CloseFlapPanelMessage;\n\nexport type MessageFromParent =\n | (IMessageBase & {\n type: 'on-call-callback';\n path: string;\n data: unknown;\n })\n | ChangeLanguageMessage;\n\nexport type Message = MessageToParent | MessageFromParent;\n\nexport type MessageHandler<T = Message> = (message: T, dispatch: MessageDispatcher<T>) => void;\nexport type MessageDispatcher<T = Message> = (message: T, frameId?: string) => void;\n\nexport type CallCbFunction = (path: string, data: unknown, frameId: string) => void;\n\nexport type CallbackFunction = (...args: never[]) => void;\nexport type Callbacks = Record<string, Record<string, CallbackFunction>>;\n\nexport type MessageToPanelMessageHandler = (data: MessageToPanelMessage['data']['payload']) => void;\nexport type AddMessageToPanelMessageHandler = (type: string, handler: MessageToPanelMessageHandler) => void;\n\nexport interface IUseIFrameMessengerOptions {\n ref?: RefObject<HTMLIFrameElement>;\n id?: string;\n handlers?: {\n onModalConfirm?: (\n data: ModalConfirmMessage['data'],\n id: string,\n dispatch: MessageDispatcher,\n callCb: CallCbFunction,\n ) => void;\n onAlert?: (data: AlertMessage['data'], id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;\n onNotification?: (\n data: NotificationMessage['data'],\n id: string,\n dispatch: MessageDispatcher,\n callCb: CallCbFunction,\n ) => void;\n onMessage?: (data: unknown, id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;\n onNavigateToPanel?: (data: NavigateToPanelMessage['data']) => void;\n onClosePanel?: (data: ClosePanelMessage['data']) => void;\n onNavigateToIframe?: (data: NavigateToIframeMessage['data']) => void;\n onOpenFlapPanel?: (data: OpenFlapPanelMessage['data']) => void;\n onCloseFlapPanel?: () => void;\n };\n}\n"]}
@@ -16,4 +16,6 @@ export declare const useIFrameMessenger: (options?: IUseIFrameMessengerOptions)
16
16
  closePanel: (data: import("./types").ClosePanelMessage["data"]) => void;
17
17
  navigateToIframe: (data: import("./types").NavigateToIframeMessage["data"]) => void;
18
18
  messageToPanel: (data: import("./types").MessageToPanelMessage["data"]) => void;
19
+ openFlapPanel: (data: import("./types").OpenFlapPanelMessage["data"]) => void;
20
+ closeFlapPanel: () => void;
19
21
  };
@@ -10,4 +10,6 @@ export declare const IframeMessengerClientContext: import("react").Context<{
10
10
  closePanel: (data: import("../useIFrameMessenger/types").ClosePanelMessage["data"]) => void;
11
11
  navigateToIframe: (data: import("../useIFrameMessenger/types").NavigateToIframeMessage["data"]) => void;
12
12
  messageToPanel: (data: import("../useIFrameMessenger/types").MessageToPanelMessage["data"]) => void;
13
+ openFlapPanel: (data: import("../useIFrameMessenger/types").OpenFlapPanelMessage["data"]) => void;
14
+ closeFlapPanel: () => void;
13
15
  }>;
@@ -10,4 +10,6 @@ export declare const useIFrameMessengerClient: () => {
10
10
  closePanel: (data: import("../useIFrameMessenger/types").ClosePanelMessage["data"]) => void;
11
11
  navigateToIframe: (data: import("../useIFrameMessenger/types").NavigateToIframeMessage["data"]) => void;
12
12
  messageToPanel: (data: import("../useIFrameMessenger/types").MessageToPanelMessage["data"]) => void;
13
+ openFlapPanel: (data: import("../useIFrameMessenger/types").OpenFlapPanelMessage["data"]) => void;
14
+ closeFlapPanel: () => void;
13
15
  };
@@ -747,8 +747,8 @@
747
747
  "deactivate_message": "Elements deleted",
748
748
  "deactivate_description": "{{count, number}}/{{total, number}} element for which you have permissions have been deleted. Others remain unchanged.",
749
749
  "export": "Export",
750
- "export_message_one": "Element exported",
751
- "export_message_other": "Elements exported",
750
+ "export_message_one": "Export element stated",
751
+ "export_message_other": "Export elements stated",
752
752
  "export_description_one": "{{total, number}} element will be exported.",
753
753
  "export_description_other": "{{total, number}} elements will be exported.",
754
754
  "export_error_description_one": "An error occurred while exporting the selected record.",
@@ -747,8 +747,8 @@
747
747
  "deactivate_message": "Élements supprimés",
748
748
  "deactivate_description": "{{count, number}}/{{total, number}} éléments pour lesquels vous disposez des permissions nécessaires ont été supprimés. Les autres éléments restent inchangés.",
749
749
  "export": "Exporter",
750
- "export_message_one": "Élement exporté",
751
- "export_message_other": "Élements exportés",
750
+ "export_message_one": "Export de l'élément en cours",
751
+ "export_message_other": "Export des éléments en cours",
752
752
  "export_description_one": "{{total, number}} éléments va être exporté.",
753
753
  "export_description_other": "{{total, number}} éléments vont être exportés.",
754
754
  "export_error_description_one": "Une erreur s'est produite lors de l'exportation de l'enregistrements sélectionné.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leav/ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.1-339c20fb",
4
4
  "description": "Shared React components and hooks",
5
5
  "scripts": {
6
6
  "prepublishOnly": "yarn build",
@@ -12,7 +12,6 @@
12
12
  "test": "jest",
13
13
  "test:ci": "jest --maxWorkers=2",
14
14
  "test:commit": "jest --maxWorkers=50% --onlyChanged",
15
- "create_comp": "scripts/createComponent.js",
16
15
  "publish-ui": "yarn npm publish --access public",
17
16
  "get-version": "jq -r '.version' package.json",
18
17
  "set-version": "jq --arg v $1 '.version = $v' package.json > package.tmp.json && mv package.tmp.json package.json"
@@ -45,10 +44,10 @@
45
44
  "@types/react-table": "7.7.12",
46
45
  "@types/uuid": "^9",
47
46
  "antd": "5.22.2",
48
- "aristid-ds": "14.0.0-578934e",
47
+ "aristid-ds": "14.0.0-058a8ae",
49
48
  "babel-jest": "29.3.1",
50
49
  "commander": "9.5.0",
51
- "graphql": "16.6.0",
50
+ "graphql": "16.12.0",
52
51
  "i18next": "22.5.0",
53
52
  "jest": "29.0.3",
54
53
  "jest-environment-jsdom": "29.3.1",
@@ -61,13 +60,13 @@
61
60
  "ts-jest": "29.0.1",
62
61
  "tsc-alias": "1.8.8",
63
62
  "typescript": "5.5.3",
64
- "vite": "4.5.14"
63
+ "vite": "7.2.2"
65
64
  },
66
65
  "peerDependencies": {
67
66
  "@ant-design/icons": ">=5.2",
68
67
  "@apollo/client": ">=3.8.1",
69
68
  "antd": "5.22.2",
70
- "aristid-ds": "14.0.0-80c7dc0",
69
+ "aristid-ds": "14.0.0-cb7dc4f",
71
70
  "dayjs": "^1.11.13",
72
71
  "i18next": "22.5",
73
72
  "react": "18.2.0",
@@ -82,7 +81,7 @@
82
81
  "@ckeditor/ckeditor5-react": "6.1.0",
83
82
  "@dnd-kit/core": "6.1.0",
84
83
  "@dnd-kit/sortable": "8.0.0",
85
- "@leav/utils": "1.5.0",
84
+ "@leav/utils": "1.5.1",
86
85
  "@uidotdev/usehooks": "2.4.1",
87
86
  "dompurify": "3.2.4",
88
87
  "html-react-parser": "4.2.2",