@leav/ui 0.4.0-2c820e6 → 0.4.0-347facc

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 (102) hide show
  1. package/dist/_gqlTypes/index.d.ts +939 -19
  2. package/dist/_gqlTypes/index.js +132 -3
  3. package/dist/_gqlTypes/index.js.map +1 -1
  4. package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
  5. package/dist/_queries/records/activateRecordsMutation.js +15 -0
  6. package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
  7. package/dist/_queries/records/getRecordFormQuery.js +9 -0
  8. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  9. package/dist/components/Explorer/DataView.d.ts +2 -1
  10. package/dist/components/Explorer/DataView.js +13 -10
  11. package/dist/components/Explorer/DataView.js.map +1 -1
  12. package/dist/components/Explorer/Explorer.d.ts +5 -4
  13. package/dist/components/Explorer/Explorer.js +7 -5
  14. package/dist/components/Explorer/Explorer.js.map +1 -1
  15. package/dist/components/Explorer/_queries/useExplorerData.js +7 -3
  16. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  17. package/dist/components/Explorer/_types.d.ts +4 -2
  18. package/dist/components/Explorer/_types.js.map +1 -1
  19. package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +2 -2
  20. package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +71 -24
  21. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
  22. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
  23. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +14 -6
  24. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  25. package/dist/components/Explorer/useViewSettingsReducer.js +6 -2
  26. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  27. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
  28. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  29. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
  30. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -1
  31. package/dist/components/LinkSelect/LinkSelect.d.ts +15 -0
  32. package/dist/components/LinkSelect/LinkSelect.js +88 -0
  33. package/dist/components/LinkSelect/LinkSelect.js.map +1 -0
  34. package/dist/components/LinkSelect/index.d.ts +2 -0
  35. package/dist/components/{SelectTreeNodeModal → LinkSelect}/index.js +2 -1
  36. package/dist/components/LinkSelect/index.js.map +1 -0
  37. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +2 -2
  38. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +7 -4
  39. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  40. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +2 -2
  41. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -1
  42. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +4 -2
  43. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +258 -52
  44. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -1
  45. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +1 -1
  46. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  47. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +3 -3
  48. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  49. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +4 -3
  50. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  51. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +2 -1
  52. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +2 -2
  53. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  54. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.d.ts +2 -1
  55. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +2 -2
  56. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +1 -1
  57. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +21 -2
  58. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +8 -5
  59. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  60. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +1 -0
  61. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +2 -2
  62. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  63. package/dist/components/RecordEdition/index.d.ts +1 -0
  64. package/dist/components/RecordEdition/index.js +1 -0
  65. package/dist/components/RecordEdition/index.js.map +1 -1
  66. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -1
  67. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
  68. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  69. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
  70. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +4 -2
  71. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
  72. package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
  73. package/dist/components/SelectTreeNodeModalOld/index.js +5 -0
  74. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
  75. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  76. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  77. package/dist/components/index.d.ts +1 -2
  78. package/dist/components/index.js +1 -2
  79. package/dist/components/index.js.map +1 -1
  80. package/dist/contexts/LangContext/LangContext.d.ts +1 -2
  81. package/dist/contexts/LangContext/LangContext.js +2 -2
  82. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  83. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +1 -1
  84. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  85. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +3 -2
  86. package/dist/hooks/useIFrameMessenger/messageHandlers.js +12 -5
  87. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  88. package/dist/hooks/useIFrameMessenger/types.d.ts +78 -9
  89. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  90. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +2 -0
  91. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +32 -12
  92. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  93. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  94. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  95. package/dist/locales/en/shared.json +5 -0
  96. package/dist/locales/fr/shared.json +5 -0
  97. package/dist/types/attributes.d.ts +2 -1
  98. package/package.json +1 -2
  99. package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
  100. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
  101. package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
  102. package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
@@ -1,7 +1,8 @@
1
- import { EditRecordPage } from '../../components/RecordEdition/EditRecordPage';
2
- import { type KitNotification, type KitAlert } from 'aristid-ds';
1
+ import { type KitNotification } from 'aristid-ds';
3
2
  import { type IKitConfirmDialog } from 'aristid-ds/dist/Kit/Feedback/Modal/types';
4
3
  import { type RefObject, type ComponentProps, type Key, type JSXElementConstructor } from 'react';
4
+ import { EditRecordModal, Explorer } from '../../components';
5
+ import { ToastedAlertProps } from 'aristid-ds/dist/Kit/Feedback/Alert/types';
5
6
  export declare const packetId = "__fromIframeMessenger";
6
7
  export interface IEncodedMessage {
7
8
  payload: string;
@@ -16,7 +17,7 @@ export interface IMessageBase {
16
17
  export type SidePanelFormMessage = IMessageBase & {
17
18
  type: 'sidepanel-form';
18
19
  id: string;
19
- data: ComponentPropsWithKey<typeof EditRecordPage>;
20
+ data: ComponentPropsWithKey<typeof EditRecordModal>;
20
21
  overrides?: string[];
21
22
  };
22
23
  export type ModalConfirmMessage = IMessageBase & {
@@ -28,13 +29,15 @@ export type ModalConfirmMessage = IMessageBase & {
28
29
  export type ModalFormMessage = IMessageBase & {
29
30
  type: 'modal-form';
30
31
  id: string;
31
- data: ComponentPropsWithKey<typeof EditRecordPage>;
32
+ data: ComponentPropsWithKey<typeof EditRecordModal> | {
33
+ open: false;
34
+ };
32
35
  overrides?: string[];
33
36
  };
34
37
  export type AlertMessage = IMessageBase & {
35
38
  type: 'alert';
36
39
  id: string;
37
- data: ComponentPropsWithKey<typeof KitAlert>;
40
+ data: ToastedAlertProps;
38
41
  overrides?: string[];
39
42
  };
40
43
  export type NotificationMessage = IMessageBase & {
@@ -43,6 +46,10 @@ export type NotificationMessage = IMessageBase & {
43
46
  data: ComponentPropsWithKey<typeof KitNotification>;
44
47
  overrides?: string[];
45
48
  };
49
+ export type ChangeLanguageMessage = IMessageBase & {
50
+ type: 'change-language';
51
+ language: string;
52
+ };
46
53
  export type SimpleMessage = IMessageBase & {
47
54
  type: 'message';
48
55
  id: string;
@@ -52,12 +59,72 @@ export type RegisterMessage = IMessageBase & {
52
59
  type: 'register';
53
60
  id: string;
54
61
  };
55
- export type MessageToParent = SidePanelFormMessage | ModalConfirmMessage | ModalFormMessage | AlertMessage | NotificationMessage | SimpleMessage | RegisterMessage;
56
- export type MessageFromParent = IMessageBase & {
62
+ type PanelId = string;
63
+ interface INestedPanel {
64
+ panelId: PanelId;
65
+ panel: Panel;
66
+ }
67
+ export type NavigateToPanelMessage = IMessageBase & {
68
+ type: 'navigate-to-panel';
69
+ data: {
70
+ panelId: PanelId;
71
+ } | INestedPanel;
72
+ };
73
+ export interface ICommonExplorerProps {
74
+ showSearch?: boolean;
75
+ defaultActionsForItem?: ComponentProps<typeof Explorer>['defaultActionsForItem'];
76
+ defaultPrimaryActions?: ComponentProps<typeof Explorer>['defaultPrimaryActions'];
77
+ defaultMassActions?: ComponentProps<typeof Explorer>['defaultMassActions'];
78
+ showFiltersAndSorts?: boolean;
79
+ freezeView?: boolean;
80
+ showAttributeLabels?: boolean;
81
+ creationFormId?: string;
82
+ editionFormId?: string;
83
+ }
84
+ export type LinkExplorerProps = ICommonExplorerProps;
85
+ export type LibraryExplorerProps = {
86
+ noPagination?: true;
87
+ } & ICommonExplorerProps;
88
+ export type ItemActions = Array<{
89
+ what: Panel;
90
+ where: 'popup' | 'slider' | 'fullpage';
91
+ }>;
92
+ export type Panel = {
93
+ id: PanelId;
94
+ name: Record<string, string>;
95
+ } & ({
96
+ content: {
97
+ type: 'explorer';
98
+ attributeSource: string;
99
+ explorerProps?: LinkExplorerProps;
100
+ viewId?: string | null;
101
+ actions: ItemActions;
102
+ } | {
103
+ type: 'explorer';
104
+ libraryId: '<props>' | string;
105
+ explorerProps?: LibraryExplorerProps;
106
+ viewId?: string | null;
107
+ actions: ItemActions;
108
+ } | {
109
+ type: 'custom';
110
+ iframeSource: string;
111
+ child?: Panel;
112
+ } | {
113
+ type: 'editionForm';
114
+ formId: string;
115
+ } | {
116
+ type: 'creationForm';
117
+ formId: string;
118
+ };
119
+ } | {
120
+ children: Panel[];
121
+ });
122
+ export type MessageToParent = SidePanelFormMessage | ModalConfirmMessage | ModalFormMessage | AlertMessage | NotificationMessage | SimpleMessage | RegisterMessage | NavigateToPanelMessage;
123
+ export type MessageFromParent = (IMessageBase & {
57
124
  type: 'on-call-callback';
58
125
  path: string;
59
126
  data: unknown;
60
- };
127
+ }) | ChangeLanguageMessage;
61
128
  export type Message = MessageToParent | MessageFromParent;
62
129
  export type MessageHandler<T = Message> = (message: T, dispatch: MessageDispatcher<T>) => void;
63
130
  export type MessageDispatcher<T = Message> = (message: T, frameId?: string) => void;
@@ -68,11 +135,13 @@ export interface IUseIFrameMessengerOptions {
68
135
  ref?: RefObject<HTMLIFrameElement>;
69
136
  id?: string;
70
137
  handlers?: {
71
- onSidePanelForm?: (data: SidePanelFormMessage['data'], dispatch: MessageDispatcher, callCb: CallCbFunction) => void;
138
+ onSidePanelForm?: (data: SidePanelFormMessage['data'], id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;
72
139
  onModalConfirm?: (data: ModalConfirmMessage['data'], id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;
73
140
  onModalForm?: (data: ModalFormMessage['data'], id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;
74
141
  onAlert?: (data: AlertMessage['data'], id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;
75
142
  onNotification?: (data: NotificationMessage['data'], id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;
76
143
  onMessage?: (data: unknown, id: string, dispatch: MessageDispatcher, callCb: CallCbFunction) => void;
144
+ onNavigateToPanel?: (data: NavigateToPanelMessage['data']) => void;
77
145
  };
78
146
  }
147
+ export {};
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessenger/types.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,QAAQ,GAAG,uBAAuB,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessenger/types.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,MAAM,QAAQ,GAAG,uBAAuB,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { type IUseIFrameMessengerOptions } from './types';
2
2
  export declare const useIFrameMessenger: (options?: IUseIFrameMessengerOptions) => {
3
+ changeLangInAllFrames: (newLanguage: string) => void;
3
4
  showSidePanelForm: (data: import("./types").SidePanelFormMessage["data"]) => void;
4
5
  showModalConfirm: (data: import("./types").ModalConfirmMessage["data"]) => void;
5
6
  showModalForm: (data: import("./types").ModalFormMessage["data"]) => void;
6
7
  showAlert: (data: import("./types").AlertMessage["data"]) => void;
7
8
  showNotification: (data: import("./types").NotificationMessage["data"]) => void;
8
9
  messageToParent: (data: import("./types").SimpleMessage["data"]) => void;
10
+ navigateToPanel: (data: import("./types").NavigateToPanelMessage["data"]) => void;
9
11
  };
@@ -1,9 +1,20 @@
1
- import { useCallback, useEffect, useRef } from 'react';
2
- import { encodeMessage, decodeMessage, getExposedMethods, initClientHandlers } from './messageHandlers';
1
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
+ // This file is released under LGPL V3
3
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
+ import { useCallback, useContext, useEffect, useRef } from 'react';
3
5
  import { v4 as uuid } from 'uuid';
6
+ import { LangContext } from '../../contexts';
7
+ import { encodeMessage, decodeMessage, getExposedMethods, initClientHandlers } from './messageHandlers';
4
8
  export const useIFrameMessenger = (options) => {
5
9
  const registry = useRef({});
6
10
  const selfId = useRef(options?.id ?? uuid());
11
+ const { setLang } = useContext(LangContext);
12
+ const changeLangInAllFrames = (newLanguage) => {
13
+ dispatch({
14
+ type: 'change-language',
15
+ language: newLanguage
16
+ }, 'all');
17
+ };
7
18
  const dispatch = useCallback((message, frameId) => {
8
19
  if (window !== window.top) {
9
20
  window.parent.postMessage(encodeMessage({ ...message, __frameId: selfId.current }), '*');
@@ -11,6 +22,11 @@ export const useIFrameMessenger = (options) => {
11
22
  else if (frameId && registry.current[frameId]) {
12
23
  registry.current[frameId].postMessage(encodeMessage({ ...message, __frameId: selfId.current }), '*');
13
24
  }
25
+ else if (frameId === 'all') {
26
+ Object.values(registry.current).forEach(frame => {
27
+ frame.postMessage(encodeMessage({ ...message, __frameId: selfId.current }), '*');
28
+ });
29
+ }
14
30
  }, [registry.current]);
15
31
  const callCb = useCallback((path, data, frameId) => {
16
32
  dispatch({ type: 'on-call-callback', path, data }, frameId);
@@ -21,22 +37,26 @@ export const useIFrameMessenger = (options) => {
21
37
  const clientHandlers = initClientHandlers(callCb, { ...options, id: selfId.current }, callbacksStore);
22
38
  const onMessage = (event) => {
23
39
  const message = decodeMessage(event.data);
24
- if (!message) {
40
+ if (message === undefined) {
25
41
  return;
26
42
  }
27
- if (message && message.type === 'register') {
43
+ if (message.type === 'register') {
28
44
  const frames = window.frames;
29
- if (window.frames.length) {
30
- // eslint-disable-next-line @typescript-eslint/prefer-for-of
31
- for (let i = 0; i < frames.length; i++) {
32
- if (event.source === frames[i]) {
33
- registry.current[message.id] = frames[i];
34
- }
45
+ // Due to weak typing on Window, we cannot iterate directly on window.frames
46
+ // eslint-disable-next-line @typescript-eslint/prefer-for-of
47
+ for (let i = 0; i < frames.length; i++) {
48
+ if (event.source === frames[i]) {
49
+ registry.current[message.id] = frames[i];
35
50
  }
36
51
  }
37
52
  }
38
53
  else {
39
- clientHandlers(message, dispatch);
54
+ if (message.type === 'change-language') {
55
+ setLang(message.language);
56
+ }
57
+ else {
58
+ clientHandlers(message, dispatch);
59
+ }
40
60
  }
41
61
  };
42
62
  window.addEventListener('message', onMessage);
@@ -48,6 +68,6 @@ export const useIFrameMessenger = (options) => {
48
68
  window.removeEventListener('message', onMessage);
49
69
  };
50
70
  }, []);
51
- return methods.current;
71
+ return { ...methods.current, changeLangInAllFrames };
52
72
  };
53
73
  //# sourceMappingURL=useIFrameMessenger.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIFrameMessenger.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessenger/useIFrameMessenger.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAC,WAAW,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AACtG,OAAO,EAAC,EAAE,IAAI,IAAI,EAAC,MAAM,MAAM,CAAC;AAEhC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,OAAoC,EAAE,EAAE;IACvE,MAAM,QAAQ,GAAG,MAAM,CAAyB,EAAE,CAAC,CAAC;IACpD,MAAM,MAAM,GAAG,MAAM,CAAS,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IAErD,MAAM,QAAQ,GAAG,WAAW,CACxB,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE;QACjB,IAAI,MAAM,KAAK,MAAM,CAAC,GAAG,EAAE,CAAC;YACxB,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,aAAa,CAAC,EAAC,GAAG,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,EAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QAC3F,CAAC;aAAM,IAAI,OAAO,IAAI,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC7C,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAY,CAAC,WAAW,CAC7C,aAAa,CAAC,EAAC,GAAG,OAAO,EAAE,SAA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Q,CAAC,CAAC;gBAC9B,CAAC;qBAAM,CAAC;oBACJ,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;gBACtC,CAAC;YACL,CAAC;QACL,CAAC,CAAC;QAEF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAE9C,IAAI,MAAM,KAAK,MAAM,CAAC,GAAG,EAAE,CAAC;YACxB,qDAAqD;YACrD,QAAQ,CAAC,EAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,OAAO,EAAC,CAAC,CAAC;QACrD,CAAC;QAED,OAAO,GAAG,EAAE;YACR,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QACrD,CAAC,CAAC;IACN,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,EAAC,GAAG,OAAO,CAAC,OAAO,EAAE,qBAAqB,EAAC,CAAC;AACvD,CAAC,CAAC"}
@@ -6,7 +6,7 @@ export default function useRedirectToLogin() {
6
6
  return {
7
7
  redirectToLogin: async () => {
8
8
  if (isDevEnv()) {
9
- return window.location.replace(`${window.location.origin}/app/login/?dest=${window.location.pathname}`);
9
+ return window.location.replace(`${window.location.origin}/app/login/?dest=${encodeURIComponent(window.location.toString())}`);
10
10
  }
11
11
  return window.location.reload();
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useRedirectToLogin.js","sourceRoot":"","sources":["../../../src/hooks/useRedirectToLogin/useRedirectToLogin.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAE7C,MAAM,CAAC,OAAO,UAAU,kBAAkB;IACtC,OAAO;QACH,eAAe,EAAE,KAAK,IAAI,EAAE;YACxB,IAAI,QAAQ,EAAE,EAAE,CAAC;gBACb,OAAO,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,oBAAoB,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC5G,CAAC;YACD,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpC,CAAC;KACJ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"useRedirectToLogin.js","sourceRoot":"","sources":["../../../src/hooks/useRedirectToLogin/useRedirectToLogin.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAE7C,MAAM,CAAC,OAAO,UAAU,kBAAkB;IACtC,OAAO;QACH,eAAe,EAAE,KAAK,IAAI,EAAE;YACxB,IAAI,QAAQ,EAAE,EAAE,CAAC;gBACb,OAAO,MAAM,CAAC,QAAQ,CAAC,OAAO,CAC1B,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,oBAAoB,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,EAAE,CAChG,CAAC;YACN,CAAC;YACD,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpC,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -419,6 +419,7 @@
419
419
  "by": "by",
420
420
  "no_matching_value": "No matching value",
421
421
  "copy_value": "Copy",
422
+ "select": "Select",
422
423
  "new_value": "New value",
423
424
  "advanced_search": "Advanced search",
424
425
  "search_elements": "Search elements",
@@ -581,6 +582,9 @@
581
582
  "applyToAll": "Apply to all"
582
583
  }
583
584
  },
585
+ "records_activation": {
586
+ "confirm_one": "Do you really want to activate this record?"
587
+ },
584
588
  "records_deactivation": {
585
589
  "title": "Deactivate records",
586
590
  "title_one": "Deactivate",
@@ -651,6 +655,7 @@
651
655
  "actions": "Actions",
652
656
  "more-actions": "Show more",
653
657
  "deactivate-item": "Deactivate",
658
+ "activate-item": "Activate",
654
659
  "delete-item": "Delete",
655
660
  "replace-item": "Replace",
656
661
  "edit-item": "Show",
@@ -419,6 +419,7 @@
419
419
  "by": "par",
420
420
  "no_matching_value": "Aucune valeur correspondante",
421
421
  "copy_value": "Copier",
422
+ "select": "Sélectionner",
422
423
  "new_value": "Nouvelle valeur",
423
424
  "advanced_search": "Recherche avancée",
424
425
  "search_elements": "Rechercher des éléments",
@@ -581,6 +582,9 @@
581
582
  "applyToAll": "Appliquer à tous"
582
583
  }
583
584
  },
585
+ "records_activation": {
586
+ "confirm_one": "Êtes-vous sûr de vouloir activer cet élément ?"
587
+ },
584
588
  "records_deactivation": {
585
589
  "title": "Désactiver les éléments",
586
590
  "title_one": "Désactiver",
@@ -651,6 +655,7 @@
651
655
  "actions": "Actions",
652
656
  "more-actions": "Voir plus",
653
657
  "deactivate-item": "Désactiver",
658
+ "activate-item": "Activer",
654
659
  "delete-item": "Supprimer",
655
660
  "replace-item": "Remplacer",
656
661
  "edit-item": "Afficher",
@@ -1,6 +1,6 @@
1
1
  import { AttributeFormat, AttributeType } from '../_gqlTypes';
2
2
  import { SystemTranslation } from './scalars';
3
- import { IParentAttributeData, ITreeData } from './search';
3
+ import { IAttribute, IParentAttributeData, ITreeData } from './search';
4
4
  export interface ISelectedAttribute {
5
5
  id: string;
6
6
  library: string;
@@ -19,3 +19,4 @@ export interface IEmbeddedFields {
19
19
  label: SystemTranslation;
20
20
  embedded_fields: IEmbeddedFields[];
21
21
  }
22
+ export type FullTextAttribute = Pick<IAttribute, 'id' | 'label'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leav/ui",
3
- "version": "0.4.0-2c820e6",
3
+ "version": "0.4.0-347facc",
4
4
  "description": "Shared React components and hooks",
5
5
  "scripts": {
6
6
  "prepublishOnly": "yarn build",
@@ -73,7 +73,6 @@
73
73
  "html-react-parser": "4.2.2",
74
74
  "i18next-resources-to-backend": "1.1.4",
75
75
  "lodash.isequal": "4.5.0",
76
- "moment": "2.30.1",
77
76
  "object-path": "0.11.8",
78
77
  "react-beautiful-dnd": "13.1.1",
79
78
  "react-icons": "4.7.1",
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRemoveItemAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-item/useRemoveItemAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAW,OAAO,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,4BAA4B,EAAE,sBAAsB,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAA0C,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AACzG,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EAChC,SAAS,EACT,mBAAmB,EACnB,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC,EACvB,QAAQ,EACR,UAAU,EASZ,EAAE,EAAE;IACF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,iBAAiB,GAAG,oBAAoB,EAAE,CAAC;IAEjD,MAAM,CAAC,yBAAyB,CAAC,GAAG,4BAA4B,CAAC;QAC7D,MAAM,CAAC,KAAK,EAAE,kBAAkB;YAC5B,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;gBACxD,KAAK,CAAC,KAAK,CAAC;oBACR,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;iBAC7B,CAAC,CAAC;YACP,CAAC,CAAC,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ACf,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC,EACF;QACI,CAAC;QACD,yBAAyB;QACzB,wBAAwB;QACxB,mBAAmB;QACnB,UAAU,CAAC,IAAI;QACf,IAAI,CAAC,aAAa;QAClB,QAAQ;KACX,CACJ,CAAC;IAEF,OAAO;QACH,gBAAgB,EAAE,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI;KACzD,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectTreeNodeModal.js","sourceRoot":"","sources":["../../../src/components/SelectTreeNodeModal/SelectTreeNodeModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAoB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAClD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAW/C,MAAM,CAAC,MAAM,mBAAmB,GAAiD,CAAC,EAC9E,MAAM,EACN,eAAe,EACf,QAAQ,EACR,SAAS,EACT,OAAO,EACP,aAAa,GAAG,KAAK,EACxB,EAAE,EAAE;IACD,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAY;QACxD,EAAE,EAAE,eAAe;QACnB,GAAG,EAAE,eAAe;QACpB,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,EAAE;KACf,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,OAAO,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,GAAG,EAAE;QACtB,QAAQ,CAAC,YAAY,CAAC,CAAC;QACvB,OAAO,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,CAAC,IAAyB,EAAE,QAAiB,EAAE,EAAE;QAC/D,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,QAAQ,IACL,MAAM,EAAE,SAAS,EACjB,aAAa,QACb,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,CAAC,CAAC,2BAA2B,CAAC,EACrC,KAAK,EAAC,OAAO,EACb,MAAM,EAAE,EAAC,IAAI,EAAE,EAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAC,EAAC,EACtD,QAAQ,QACR,MAAM,EAAE;YACJ,KAAC,SAAS,IAAc,OAAO,EAAE,aAAa,YACzC,CAAC,CAAC,eAAe,CAAC,IADR,QAAQ,CAEX;YACZ,KAAC,SAAS,IAAC,IAAI,EAAC,SAAS,EAAW,OAAO,EAAE,YAAY,YACpD,CAAC,CAAC,cAAc,CAAC,IADQ,KAAK,CAEvB;SACf,EACD,cAAc,kBAEd,KAAC,cAAc,IACX,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,SAAS,EACnB,aAAa,EAAE,CAAC,YAAY,EAAE,GAAG,CAAC,EAClC,aAAa,EAAE,aAAa,GAC9B,GACK,CACd,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export { SelectTreeNodeModal } from './SelectTreeNodeModal';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SelectTreeNodeModal/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC"}