@leav/ui 0.3.6-7be4667 → 0.3.6-806e07e

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 (191) hide show
  1. package/dist/__mocks__/common/form.d.ts +10 -5
  2. package/dist/__mocks__/common/record.d.ts +13 -2
  3. package/dist/__mocks__/common/record.js.map +1 -1
  4. package/dist/_gqlTypes/index.d.ts +57 -18
  5. package/dist/_gqlTypes/index.js +1059 -1039
  6. package/dist/_gqlTypes/index.js.map +1 -1
  7. package/dist/components/EditApplication/EditApplication.js +2 -2
  8. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  9. package/dist/components/EditApplication/_types.d.ts +2 -2
  10. package/dist/components/Explorer/DataView.d.ts +2 -1
  11. package/dist/components/Explorer/DataView.js +10 -34
  12. package/dist/components/Explorer/DataView.js.map +1 -1
  13. package/dist/components/Explorer/Explorer.d.ts +8 -4
  14. package/dist/components/Explorer/Explorer.js +24 -10
  15. package/dist/components/Explorer/Explorer.js.map +1 -1
  16. package/dist/components/Explorer/ExplorerTitle.d.ts +7 -0
  17. package/dist/components/Explorer/ExplorerTitle.js +30 -0
  18. package/dist/components/Explorer/ExplorerTitle.js.map +1 -0
  19. package/dist/components/Explorer/IdCard.d.ts +7 -0
  20. package/dist/components/Explorer/IdCard.js +15 -0
  21. package/dist/components/Explorer/IdCard.js.map +1 -0
  22. package/dist/components/Explorer/TableCell.d.ts +8 -0
  23. package/dist/components/Explorer/TableCell.js +110 -0
  24. package/dist/components/Explorer/TableCell.js.map +1 -0
  25. package/dist/components/Explorer/TableTagGroup.d.ts +6 -0
  26. package/dist/components/Explorer/TableTagGroup.js +22 -0
  27. package/dist/components/Explorer/TableTagGroup.js.map +1 -0
  28. package/dist/components/Explorer/_queries/useExplorerData.d.ts +12 -4
  29. package/dist/components/Explorer/_queries/useExplorerData.js +46 -16
  30. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  31. package/dist/components/Explorer/_types.d.ts +16 -3
  32. package/dist/components/Explorer/index.d.ts +1 -3
  33. package/dist/components/Explorer/index.js +1 -3
  34. package/dist/components/Explorer/index.js.map +1 -1
  35. package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.d.ts +1 -0
  36. package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.js +17 -2
  37. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -0
  38. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.d.ts +11 -0
  39. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +61 -0
  40. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -0
  41. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
  42. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +28 -0
  43. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -0
  44. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
  45. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +58 -0
  46. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -0
  47. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
  48. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +12 -0
  49. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -0
  50. package/dist/components/Explorer/manage-view-settings/index.d.ts +8 -0
  51. package/dist/components/Explorer/manage-view-settings/index.js +11 -0
  52. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -0
  53. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.d.ts +1 -0
  54. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.js +1 -0
  55. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -0
  56. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.d.ts +7 -0
  57. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContextProvider.js +2 -1
  58. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
  59. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.js +2 -2
  60. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -0
  61. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -0
  62. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +3 -0
  63. package/dist/components/Explorer/{edit-settings/useOpenSettings.js → manage-view-settings/open-view-settings/useOpenViewSettings.js} +7 -5
  64. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -0
  65. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -0
  66. package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.d.ts +1 -1
  67. package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.js +8 -9
  68. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -0
  69. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +4 -0
  70. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +109 -0
  71. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -0
  72. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
  73. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +32 -0
  74. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -0
  75. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
  76. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +11 -0
  77. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -0
  78. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
  79. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js +7 -0
  80. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -0
  81. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +2 -0
  82. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +6 -0
  83. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -0
  84. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +79 -0
  85. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +92 -0
  86. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -0
  87. package/dist/components/Explorer/{useCreateMainAction.d.ts → useCreateAction.d.ts} +3 -3
  88. package/dist/components/Explorer/{useCreateMainAction.js → useCreateAction.js} +11 -7
  89. package/dist/components/Explorer/useCreateAction.js.map +1 -0
  90. package/dist/components/Explorer/useEditAction.js +1 -1
  91. package/dist/components/Explorer/useEditAction.js.map +1 -1
  92. package/dist/components/Explorer/usePrimaryActions.d.ts +12 -0
  93. package/dist/components/Explorer/usePrimaryActions.js +21 -0
  94. package/dist/components/Explorer/usePrimaryActions.js.map +1 -0
  95. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +5 -5
  96. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  97. package/dist/components/RecordEdition/EditRecord/EditRecord.js +2 -2
  98. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  99. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +4 -4
  100. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +34 -31
  101. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  102. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +2 -2
  103. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +1 -1
  104. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +1 -1
  105. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
  106. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +1 -1
  107. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
  108. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.d.ts +4 -0
  109. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js +25 -0
  110. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +1 -0
  111. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +2 -1
  112. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +191 -35
  113. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  114. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +2 -8
  115. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +6 -25
  116. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  117. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +2 -13
  118. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +18 -31
  119. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  120. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +3 -14
  121. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +15 -38
  122. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  123. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +3 -14
  124. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +9 -77
  125. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  126. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +3 -14
  127. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +20 -43
  128. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  129. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +3 -14
  130. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +22 -45
  131. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  132. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +3 -14
  133. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +32 -50
  134. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  135. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +3 -14
  136. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +23 -46
  137. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  138. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +6 -3
  139. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +61 -19
  140. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  141. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.d.ts +3 -2
  142. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js +17 -43
  143. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +1 -1
  144. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +3 -8
  145. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +9 -0
  146. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js +2 -0
  147. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -0
  148. package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
  149. package/dist/{components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler → hooks/useDebouncedValue}/index.js +1 -1
  150. package/dist/hooks/useDebouncedValue/index.js.map +1 -0
  151. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -0
  152. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  153. package/dist/locales/en/shared.json +29 -10
  154. package/dist/locales/fr/shared.json +29 -10
  155. package/package.json +4 -2
  156. package/dist/components/Explorer/edit-settings/ColumnItem.js.map +0 -1
  157. package/dist/components/Explorer/edit-settings/DisplayMode.d.ts +0 -6
  158. package/dist/components/Explorer/edit-settings/DisplayMode.js +0 -28
  159. package/dist/components/Explorer/edit-settings/DisplayMode.js.map +0 -1
  160. package/dist/components/Explorer/edit-settings/DisplayModeTable.d.ts +0 -6
  161. package/dist/components/Explorer/edit-settings/DisplayModeTable.js +0 -77
  162. package/dist/components/Explorer/edit-settings/DisplayModeTable.js.map +0 -1
  163. package/dist/components/Explorer/edit-settings/EditSettingsContext.js.map +0 -1
  164. package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.d.ts +0 -2
  165. package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js.map +0 -1
  166. package/dist/components/Explorer/edit-settings/SettingItem.js.map +0 -1
  167. package/dist/components/Explorer/edit-settings/SettingsPanel.js.map +0 -1
  168. package/dist/components/Explorer/edit-settings/SidePanel.js.map +0 -1
  169. package/dist/components/Explorer/edit-settings/useEditSettings.js.map +0 -1
  170. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.d.ts +0 -10
  171. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js +0 -24
  172. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js.map +0 -1
  173. package/dist/components/Explorer/edit-settings/useOpenSettings.d.ts +0 -1
  174. package/dist/components/Explorer/edit-settings/useOpenSettings.js.map +0 -1
  175. package/dist/components/Explorer/useCreateMainAction.js.map +0 -1
  176. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +0 -13
  177. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +0 -90
  178. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +0 -1
  179. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.d.ts +0 -7
  180. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js +0 -45
  181. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js.map +0 -1
  182. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.d.ts +0 -9
  183. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +0 -141
  184. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +0 -1
  185. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.d.ts +0 -1
  186. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js.map +0 -1
  187. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.d.ts +0 -0
  188. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.d.ts +0 -0
  189. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.js +0 -0
  190. /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.d.ts +0 -0
  191. /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.js +0 -0
@@ -11,11 +11,16 @@ export declare const mockLinkValue: {
11
11
  id: string;
12
12
  whoAmI: {
13
13
  id: string;
14
- label?: string | null;
15
- subLabel?: string | null;
16
- color?: string | null;
17
- library: import("../..").IRecordIdentityLibrary;
18
- preview?: import("@leav/utils").IPreviewScalar | null;
14
+ label: string;
15
+ subLabel: string;
16
+ library: {
17
+ id: string;
18
+ label: {
19
+ fr: string;
20
+ };
21
+ };
22
+ preview: import("@leav/utils").IPreviewScalar;
23
+ color: string;
19
24
  };
20
25
  };
21
26
  created_at: number;
@@ -1,4 +1,15 @@
1
1
  import { IPreviewScalar } from '@leav/utils';
2
- import { IRecordIdentityWhoAmI } from '../../types/records';
3
2
  export declare const mockPreviews: IPreviewScalar;
4
- export declare const mockRecord: IRecordIdentityWhoAmI;
3
+ export declare const mockRecord: {
4
+ id: string;
5
+ label: string;
6
+ subLabel: string;
7
+ library: {
8
+ id: string;
9
+ label: {
10
+ fr: string;
11
+ };
12
+ };
13
+ preview: IPreviewScalar;
14
+ color: string;
15
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"record.js","sourceRoot":"","sources":["../../../src/__mocks__/common/record.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,YAAY,GAAmB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC7C,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE;QACL,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,EAAC,EAAE,EAAE,UAAU,EAAC;KAC1B;IACD,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,MAAM;CAChB,CAAC"}
1
+ {"version":3,"file":"record.js","sourceRoot":"","sources":["../../../src/__mocks__/common/record.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,YAAY,GAAmB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE;QACL,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,EAAC,EAAE,EAAE,UAAU,EAAC;KAC1B;IACD,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,MAAM;CACgB,CAAC"}
@@ -160,6 +160,7 @@ export declare enum AttributeType {
160
160
  export type AttributesFiltersInput = {
161
161
  format?: InputMaybe<Array<InputMaybe<AttributeFormat>>>;
162
162
  id?: InputMaybe<Scalars['ID']>;
163
+ ids?: InputMaybe<Array<Scalars['ID']>>;
163
164
  label?: InputMaybe<Scalars['String']>;
164
165
  libraries?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
165
166
  librariesExcluded?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
@@ -2523,6 +2524,13 @@ export type ViewDetailsFragment = {
2523
2524
  value?: any | null;
2524
2525
  }> | null;
2525
2526
  };
2527
+ export type AttributePropertiesFragment = {
2528
+ id: string;
2529
+ label?: any | null;
2530
+ type: AttributeType;
2531
+ format?: AttributeFormat | null;
2532
+ multiple_values: boolean;
2533
+ };
2526
2534
  export type PropertyValueLinkValueFragment = {
2527
2535
  linkPayload?: {
2528
2536
  id: string;
@@ -2538,9 +2546,6 @@ export type PropertyValueLinkValueFragment = {
2538
2546
  };
2539
2547
  };
2540
2548
  } | null;
2541
- attribute: {
2542
- type: AttributeType;
2543
- };
2544
2549
  };
2545
2550
  export type PropertyValueTreeValueFragment = {
2546
2551
  treePayload?: {
@@ -2559,15 +2564,9 @@ export type PropertyValueTreeValueFragment = {
2559
2564
  };
2560
2565
  };
2561
2566
  } | null;
2562
- attribute: {
2563
- type: AttributeType;
2564
- };
2565
2567
  };
2566
2568
  export type PropertyValueValueFragment = {
2567
2569
  valuePayload?: any | null;
2568
- attribute: {
2569
- type: AttributeType;
2570
- };
2571
2570
  };
2572
2571
  export type PropertyValueFragment = PropertyValueLinkValueFragment | PropertyValueTreeValueFragment | PropertyValueValueFragment;
2573
2572
  export type CheckApplicationExistenceQueryVariables = Exact<{
@@ -5942,6 +5941,7 @@ export type ExplorerQueryVariables = Exact<{
5942
5941
  libraryId: Scalars['ID'];
5943
5942
  attributeIds: Array<Scalars['ID']> | Scalars['ID'];
5944
5943
  filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
5944
+ multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
5945
5945
  }>;
5946
5946
  export type ExplorerQuery = {
5947
5947
  records: {
@@ -5960,6 +5960,13 @@ export type ExplorerQuery = {
5960
5960
  };
5961
5961
  properties: Array<{
5962
5962
  attributeId: string;
5963
+ attributeProperties: {
5964
+ id: string;
5965
+ label?: any | null;
5966
+ type: AttributeType;
5967
+ format?: AttributeFormat | null;
5968
+ multiple_values: boolean;
5969
+ };
5963
5970
  values: Array<{
5964
5971
  linkPayload?: {
5965
5972
  id: string;
@@ -5975,9 +5982,6 @@ export type ExplorerQuery = {
5975
5982
  };
5976
5983
  };
5977
5984
  } | null;
5978
- attribute: {
5979
- type: AttributeType;
5980
- };
5981
5985
  } | {
5982
5986
  treePayload?: {
5983
5987
  record: {
@@ -5995,19 +5999,24 @@ export type ExplorerQuery = {
5995
5999
  };
5996
6000
  };
5997
6001
  } | null;
5998
- attribute: {
5999
- type: AttributeType;
6000
- };
6001
6002
  } | {
6002
6003
  valuePayload?: any | null;
6003
- attribute: {
6004
- type: AttributeType;
6005
- };
6006
6004
  }>;
6007
6005
  }>;
6008
6006
  }>;
6009
6007
  };
6010
6008
  };
6009
+ export type ExplorerLibraryDataQueryVariables = Exact<{
6010
+ libraryId: Scalars['ID'];
6011
+ }>;
6012
+ export type ExplorerLibraryDataQuery = {
6013
+ libraries?: {
6014
+ list: Array<{
6015
+ id: string;
6016
+ label?: any | null;
6017
+ }>;
6018
+ } | null;
6019
+ };
6011
6020
  export declare const RecordIdentityFragmentDoc: Apollo.DocumentNode;
6012
6021
  export declare const DetailsApplicationFragmentDoc: Apollo.DocumentNode;
6013
6022
  export declare const AttributeDetailsFragmentDoc: Apollo.DocumentNode;
@@ -6027,6 +6036,7 @@ export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
6027
6036
  export declare const TreeNodeChildFragmentDoc: Apollo.DocumentNode;
6028
6037
  export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
6029
6038
  export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
6039
+ export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
6030
6040
  export declare const CheckApplicationExistenceDocument: Apollo.DocumentNode;
6031
6041
  /**
6032
6042
  * __useCheckApplicationExistenceQuery__
@@ -7453,6 +7463,7 @@ export declare const ExplorerDocument: Apollo.DocumentNode;
7453
7463
  * libraryId: // value for 'libraryId'
7454
7464
  * attributeIds: // value for 'attributeIds'
7455
7465
  * filters: // value for 'filters'
7466
+ * multipleSort: // value for 'multipleSort'
7456
7467
  * },
7457
7468
  * });
7458
7469
  */
@@ -7460,12 +7471,40 @@ export declare function useExplorerQuery(baseOptions: Apollo.QueryHookOptions<Ex
7460
7471
  libraryId: Scalars["ID"];
7461
7472
  attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
7462
7473
  filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7474
+ multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
7463
7475
  }>>;
7464
7476
  export declare function useExplorerLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerQuery, Exact<{
7465
7477
  libraryId: Scalars["ID"];
7466
7478
  attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
7467
7479
  filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7480
+ multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
7468
7481
  }>>;
7469
7482
  export type ExplorerQueryHookResult = ReturnType<typeof useExplorerQuery>;
7470
7483
  export type ExplorerLazyQueryHookResult = ReturnType<typeof useExplorerLazyQuery>;
7471
7484
  export type ExplorerQueryResult = Apollo.QueryResult<ExplorerQuery, ExplorerQueryVariables>;
7485
+ export declare const ExplorerLibraryDataDocument: Apollo.DocumentNode;
7486
+ /**
7487
+ * __useExplorerLibraryDataQuery__
7488
+ *
7489
+ * To run a query within a React component, call `useExplorerLibraryDataQuery` and pass it any options that fit your needs.
7490
+ * When your component renders, `useExplorerLibraryDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
7491
+ * you can use to render your UI.
7492
+ *
7493
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
7494
+ *
7495
+ * @example
7496
+ * const { data, loading, error } = useExplorerLibraryDataQuery({
7497
+ * variables: {
7498
+ * libraryId: // value for 'libraryId'
7499
+ * },
7500
+ * });
7501
+ */
7502
+ export declare function useExplorerLibraryDataQuery(baseOptions: Apollo.QueryHookOptions<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>): Apollo.QueryResult<ExplorerLibraryDataQuery, Exact<{
7503
+ libraryId: Scalars["ID"];
7504
+ }>>;
7505
+ export declare function useExplorerLibraryDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerLibraryDataQuery, Exact<{
7506
+ libraryId: Scalars["ID"];
7507
+ }>>;
7508
+ export type ExplorerLibraryDataQueryHookResult = ReturnType<typeof useExplorerLibraryDataQuery>;
7509
+ export type ExplorerLibraryDataLazyQueryHookResult = ReturnType<typeof useExplorerLibraryDataLazyQuery>;
7510
+ export type ExplorerLibraryDataQueryResult = Apollo.QueryResult<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>;