@leav/ui 1.5.0 → 1.5.1-170d77cc

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 (101) hide show
  1. package/dist/__mocks__/common/attribute.js +1 -0
  2. package/dist/__mocks__/common/attribute.js.map +1 -1
  3. package/dist/__mocks__/common/library.d.ts +9 -0
  4. package/dist/_gqlTypes/index.d.ts +222 -27
  5. package/dist/_gqlTypes/index.js +150 -12
  6. package/dist/_gqlTypes/index.js.map +1 -1
  7. package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
  8. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  9. package/dist/_queries/libraries/libraryDetailsFragment.js +7 -0
  10. package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
  11. package/dist/components/Explorer/DataView.js +4 -3
  12. package/dist/components/Explorer/DataView.js.map +1 -1
  13. package/dist/components/Explorer/Explorer.d.ts +1 -1
  14. package/dist/components/Explorer/Explorer.js +17 -4
  15. package/dist/components/Explorer/Explorer.js.map +1 -1
  16. package/dist/components/Explorer/ExplorerFiltersAndSorts.d.ts +1 -0
  17. package/dist/components/Explorer/ExplorerFiltersAndSorts.js +2 -2
  18. package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
  19. package/dist/components/Explorer/ExplorerToolbar.d.ts +1 -0
  20. package/dist/components/Explorer/ExplorerToolbar.js +2 -2
  21. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  22. package/dist/components/Explorer/IdCard.js +2 -2
  23. package/dist/components/Explorer/IdCard.js.map +1 -1
  24. package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.d.ts +13 -0
  25. package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js +20 -0
  26. package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js.map +1 -0
  27. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.d.ts +10 -0
  28. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js +38 -0
  29. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js.map +1 -0
  30. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.d.ts +8 -0
  31. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +16 -0
  32. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -0
  33. package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.d.ts +10 -0
  34. package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js +28 -0
  35. package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js.map +1 -0
  36. package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.d.ts +5 -0
  37. package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js +12 -0
  38. package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js.map +1 -0
  39. package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.d.ts +5 -0
  40. package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js +20 -0
  41. package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js.map +1 -0
  42. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  43. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.d.ts +11 -0
  44. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +106 -0
  45. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -0
  46. package/dist/components/Explorer/actions-mass/useExportMassAction.js +5 -6
  47. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
  48. package/dist/components/Explorer/useLoadView.js +0 -2
  49. package/dist/components/Explorer/useLoadView.js.map +1 -1
  50. package/dist/components/Filters/_types.d.ts +4 -0
  51. package/dist/components/Filters/_types.js.map +1 -1
  52. package/dist/components/Filters/context/filtersReducer.js +20 -11
  53. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  54. package/dist/components/Filters/context/useFiltersReducer.d.ts +2 -1
  55. package/dist/components/Filters/context/useFiltersReducer.js +9 -5
  56. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
  57. package/dist/components/Filters/context/useGetTreeFilters.d.ts +15 -0
  58. package/dist/components/Filters/context/useGetTreeFilters.js +63 -0
  59. package/dist/components/Filters/context/useGetTreeFilters.js.map +1 -0
  60. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +24 -7
  61. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  62. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +15 -17
  63. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
  64. package/dist/components/Filters/index.js.map +1 -1
  65. package/dist/components/Filters/prepareFiltersForRequest.js +14 -5
  66. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  67. package/dist/components/Filters/useFilters.d.ts +4 -0
  68. package/dist/components/Filters/useTransformFilters.d.ts +5 -1
  69. package/dist/components/Filters/useTransformFilters.js +26 -3
  70. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  71. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +1 -1
  72. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  73. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
  74. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  75. package/dist/components/RecordHistory/RecordHistory.js +11 -6
  76. package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
  77. package/dist/components/RecordHistory/RecordHistoryLogEntry.js +13 -7
  78. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  79. package/dist/components/SearchModal/SearchModal.js +1 -1
  80. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  81. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +4 -1
  82. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  83. package/dist/components/TreePicker/TreesList/TreesList.js +1 -1
  84. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  85. package/dist/constants.d.ts +1 -0
  86. package/dist/constants.js +1 -0
  87. package/dist/constants.js.map +1 -1
  88. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +3 -1
  89. package/dist/hooks/useIFrameMessenger/messageHandlers.js +12 -0
  90. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  91. package/dist/hooks/useIFrameMessenger/schema.d.ts +38 -4
  92. package/dist/hooks/useIFrameMessenger/schema.js +10 -5
  93. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  94. package/dist/hooks/useIFrameMessenger/types.d.ts +20 -2
  95. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  96. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +2 -0
  97. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +2 -0
  98. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +2 -0
  99. package/dist/locales/en/shared.json +14 -2
  100. package/dist/locales/fr/shared.json +14 -2
  101. package/package.json +6 -7
@@ -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
  };
@@ -746,9 +746,21 @@
746
746
  "deactivate": "Deactivate",
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
+ "editAttribute": "Edit an attribute",
750
+ "editAttribute_description_one": "{{count, number}} element will be updated.",
751
+ "editAttribute_description_other": "{{total, number}} elements will be updated.",
752
+ "editAttribute_attribute_select_title": "Attribute to edit",
753
+ "editAttribute_attribute_select_placeholder": "Select an attribute",
754
+ "editAttribute_value_select_placeholder": "Select a value",
755
+ "editAttribute_value_occurrences_to_edit_one": "{{count, number}} element to edit",
756
+ "editAttribute_value_occurrences_to_edit_other": "{{count, number}} elements to edit",
757
+ "editAttribute_value_undefined": "Undefined",
758
+ "editAttribute_submit_notification_title": "Bulk edit request",
759
+ "editAttribute_submit_notification_description": "Your request to edit {{counter, number}} items has been received. You will be notified once the operation is complete.",
760
+ "editAttribute_submit_error": "An error occurred while requesting a bulk edit. Please contact an administrator.",
749
761
  "export": "Export",
750
- "export_message_one": "Element exported",
751
- "export_message_other": "Elements exported",
762
+ "export_message_one": "Export element stated",
763
+ "export_message_other": "Export elements stated",
752
764
  "export_description_one": "{{total, number}} element will be exported.",
753
765
  "export_description_other": "{{total, number}} elements will be exported.",
754
766
  "export_error_description_one": "An error occurred while exporting the selected record.",
@@ -746,9 +746,21 @@
746
746
  "deactivate": "Supprimer",
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
+ "editAttribute": "Modifier un attribut",
750
+ "editAttribute_description_one": "{{count, number}} élément à modifier",
751
+ "editAttribute_description_other": "{{count, number}} éléments à modifier",
752
+ "editAttribute_attribute_select_title": "Attribut à modifier",
753
+ "editAttribute_attribute_select_placeholder": "Sélectionnez un attribut",
754
+ "editAttribute_value_select_placeholder": "Sélectionnez une valeur",
755
+ "editAttribute_value_occurrences_to_edit_one": "{{count, number}} élément à traiter",
756
+ "editAttribute_value_occurrences_to_edit_other": "{{count, number}} éléments à traiter",
757
+ "editAttribute_value_undefined": "Non défini",
758
+ "editAttribute_submit_notification_title": "Demande de modification en masse",
759
+ "editAttribute_submit_notification_description": "Votre demande de modification de {{counter, number}} éléments a bien été prise en compte. Vous serez notifié une fois l'opération terminée.",
760
+ "editAttribute_submit_error": "Une erreur est survenue lors de la demande d'une modification en masse. Veuillez contacter un administrateur.",
749
761
  "export": "Exporter",
750
- "export_message_one": "Élement exporté",
751
- "export_message_other": "Élements exportés",
762
+ "export_message_one": "Export de l'élément en cours",
763
+ "export_message_other": "Export des éléments en cours",
752
764
  "export_description_one": "{{total, number}} éléments va être exporté.",
753
765
  "export_description_other": "{{total, number}} éléments vont être exportés.",
754
766
  "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-170d77cc",
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-5ef4643",
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-5ef4643",
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",