@leav/ui 1.9.0-1 → 1.9.0-3dd39b32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_gqlTypes/index.d.ts +3 -11
- package/dist/_gqlTypes/index.js +3 -3
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/createRecordMutation.js +2 -2
- package/dist/_queries/records/createRecordMutation.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.js +2 -1
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +27 -16
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +28 -16
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/ErrorComponent.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordPage/ErrorComponent.js +11 -0
- package/dist/components/RecordEdition/EditRecordPage/ErrorComponent.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordPage/getInitialRecordValues.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordPage/getInitialRecordValues.js +35 -0
- package/dist/components/RecordEdition/EditRecordPage/getInitialRecordValues.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +5 -0
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/package.json +4 -4
|
@@ -246,16 +246,6 @@ export declare enum AvailableLanguage {
|
|
|
246
246
|
en = "en",
|
|
247
247
|
fr = "fr"
|
|
248
248
|
}
|
|
249
|
-
export type CampaignToRenew = {
|
|
250
|
-
endDate: Scalars['String']['input'];
|
|
251
|
-
id: Scalars['String']['input'];
|
|
252
|
-
startDate: Scalars['String']['input'];
|
|
253
|
-
};
|
|
254
|
-
export type CampaignToUpdateDates = {
|
|
255
|
-
endDate: Scalars['String']['input'];
|
|
256
|
-
id: Scalars['String']['input'];
|
|
257
|
-
startDate: Scalars['String']['input'];
|
|
258
|
-
};
|
|
259
249
|
export type ChildrenAsRecordValuePermissionFilterInput = {
|
|
260
250
|
action: RecordPermissionsActions;
|
|
261
251
|
attributeId: Scalars['ID']['input'];
|
|
@@ -761,7 +751,6 @@ export declare enum TaskType {
|
|
|
761
751
|
IMPORT_CONFIG = "IMPORT_CONFIG",
|
|
762
752
|
IMPORT_DATA = "IMPORT_DATA",
|
|
763
753
|
INDEXATION = "INDEXATION",
|
|
764
|
-
RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
|
|
765
754
|
SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
|
|
766
755
|
}
|
|
767
756
|
export declare enum TreeBehavior {
|
|
@@ -4669,6 +4658,7 @@ export type CreateEmptyRecordMutation = {
|
|
|
4669
4658
|
};
|
|
4670
4659
|
export type CreateRecordMutationVariables = Exact<{
|
|
4671
4660
|
library: Scalars['ID']['input'];
|
|
4661
|
+
skipActivate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4672
4662
|
data?: InputMaybe<CreateRecordDataInput>;
|
|
4673
4663
|
}>;
|
|
4674
4664
|
export type CreateRecordMutation = {
|
|
@@ -9130,12 +9120,14 @@ export type CreateRecordMutationFn = Apollo.MutationFunction<CreateRecordMutatio
|
|
|
9130
9120
|
* const [createRecordMutation, { data, loading, error }] = useCreateRecordMutation({
|
|
9131
9121
|
* variables: {
|
|
9132
9122
|
* library: // value for 'library'
|
|
9123
|
+
* skipActivate: // value for 'skipActivate'
|
|
9133
9124
|
* data: // value for 'data'
|
|
9134
9125
|
* },
|
|
9135
9126
|
* });
|
|
9136
9127
|
*/
|
|
9137
9128
|
export declare function useCreateRecordMutation(baseOptions?: Apollo.MutationHookOptions<CreateRecordMutation, CreateRecordMutationVariables>): Apollo.MutationTuple<CreateRecordMutation, Exact<{
|
|
9138
9129
|
library: Scalars["ID"]["input"];
|
|
9130
|
+
skipActivate?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
9139
9131
|
data?: InputMaybe<CreateRecordDataInput>;
|
|
9140
9132
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9141
9133
|
export type CreateRecordMutationHookResult = ReturnType<typeof useCreateRecordMutation>;
|
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -310,7 +310,6 @@ export var TaskType;
|
|
|
310
310
|
TaskType["IMPORT_CONFIG"] = "IMPORT_CONFIG";
|
|
311
311
|
TaskType["IMPORT_DATA"] = "IMPORT_DATA";
|
|
312
312
|
TaskType["INDEXATION"] = "INDEXATION";
|
|
313
|
-
TaskType["RENEW_CAMPAIGNS"] = "RENEW_CAMPAIGNS";
|
|
314
313
|
TaskType["SAVE_VALUE_BULK"] = "SAVE_VALUE_BULK";
|
|
315
314
|
})(TaskType || (TaskType = {}));
|
|
316
315
|
export var TreeBehavior;
|
|
@@ -2336,8 +2335,8 @@ export function useCreateEmptyRecordMutation(baseOptions) {
|
|
|
2336
2335
|
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2337
2336
|
}
|
|
2338
2337
|
export const CreateRecordDocument = gql `
|
|
2339
|
-
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
2340
|
-
createRecord(library: $library, data: $data) {
|
|
2338
|
+
mutation CREATE_RECORD($library: ID!, $skipActivate: Boolean, $data: CreateRecordDataInput) {
|
|
2339
|
+
createRecord(library: $library, skipActivate: $skipActivate, data: $data) {
|
|
2341
2340
|
record {
|
|
2342
2341
|
...RecordIdentity
|
|
2343
2342
|
}
|
|
@@ -2364,6 +2363,7 @@ export const CreateRecordDocument = gql `
|
|
|
2364
2363
|
* const [createRecordMutation, { data, loading, error }] = useCreateRecordMutation({
|
|
2365
2364
|
* variables: {
|
|
2366
2365
|
* library: // value for 'library'
|
|
2366
|
+
* skipActivate: // value for 'skipActivate'
|
|
2367
2367
|
* data: // value for 'data'
|
|
2368
2368
|
* },
|
|
2369
2369
|
* });
|