@evlop/commons 1.0.246 → 1.0.248

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/data-sources/collection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAwC,MAAM,aAAa,CAAC;AAchF,QAAA,MAAM,oBAAoB,EAAE,WAgC3B,CAAA;AAuCD,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/data-sources/collection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAwC,MAAM,aAAa,CAAC;AAchF,QAAA,MAAM,oBAAoB,EAAE,WAiC3B,CAAA;AAwCD,eAAe,oBAAoB,CAAC"}
@@ -35,7 +35,8 @@ const collectionDataSource = async (options, { dispatch }) => {
35
35
  const filter = lodash_1.get(reqOptions, 'filter', options.filter) || {};
36
36
  const search = lodash_1.get(reqOptions, 'search', options.search) || '';
37
37
  const sort = lodash_1.get(reqOptions, 'sort', options.sort) || {};
38
- const { response } = await dispatch(reducers_1.getCollection(collectionName, { page, key, pageSize, sort, search }, filter));
38
+ const populate = lodash_1.get(reqOptions, 'populate', options.populate);
39
+ const { response } = await dispatch(reducers_1.getCollection(collectionName, { page, key, pageSize, sort, search, populate }, filter));
39
40
  const _Model = getModel(collectionName, dispatch);
40
41
  return {
41
42
  items: lodash_1.map(lodash_1.get(response, 'data'), item => new _Model(item)),
@@ -68,14 +69,16 @@ collectionDataSource.keyExtractor = (options) => {
68
69
  const filter = lodash_1.get(requestOptions, 'filter', options.filter) || {};
69
70
  const search = lodash_1.get(requestOptions, 'search', options.search) || '';
70
71
  const sort = lodash_1.get(requestOptions, 'sort', options.sort) || {};
72
+ const populate = lodash_1.get(requestOptions, 'populate', options.populate);
71
73
  return uuid_1.v5([
72
74
  lodash_1.get(requestOptions, 'key', ''),
73
75
  collectionName,
74
76
  search,
75
77
  page,
76
78
  pageSize,
79
+ populate,
77
80
  JSON.stringify(sort),
78
- ...lodash_1.map(filter, (v, k) => `${k}=${JSON.stringify(v)}`)
81
+ ...lodash_1.map(filter, (v, k) => `${k}=${JSON.stringify(v)}`),
79
82
  ].join(':'), constants_1.DATA_SOURCE_KEY_NAMESPACE);
80
83
  };
81
84
  exports.default = collectionDataSource;
@@ -1 +1 @@
1
- {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../src/data-sources/collection.ts"],"names":[],"mappings":";;AAAA,mCAAiE;AACjE,wCAAmC;AACnC,0CAAgF;AAChF,+BAAkC;AAClC,4CAAyD;AAGzD,SAAS,SAAS,CAAE,cAAc,EAAE,QAAQ;IACxC,IAAG,CAAC,cAAc;QAAE,OAAO,eAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAC5D,MAAM,KAAK,GAAG,QAAQ,CAAC,gCAAqB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC7D,IAAG,KAAK;QAAE,OAAO,KAAK,CAAC;IACvB,OAAO,eAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,QAAQ,GAAG,gBAAO,CAAC,SAAS,CAAC,CAAC;AAEpC,MAAM,oBAAoB,GAAgB,KAAK,EAAE,OAAO,EAAE,EAAC,QAAQ,EAAC,EAAC,EAAE;IACnE,MAAM,EAAC,GAAG,EAAE,QAAQ,EAAE,cAAc,GAAG,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAC,GAAG,OAAO,CAAC;IAEnF,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,IAAG,cAAc,EAAC;QACd,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAC;YACnC,IAAG;gBACC,eAAM,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;aAClD;YAAC,OAAM,CAAC,EAAC;gBACN,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;aAChC;SACJ;aAAM,IAAI,OAAO,cAAc,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AAC;KACtD,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,qCAAyB,CAAC,CAAA;AAC3C,CAAC,CAAC;AAGF,kBAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"collectionRecord.d.ts","sourceRoot":"","sources":["../../../src/data-sources/collectionRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAA8C,MAAM,aAAa,CAAC;AAYtF,QAAA,MAAM,0BAA0B,EAAE,WAOjC,CAAA;AAuBD,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"collectionRecord.d.ts","sourceRoot":"","sources":["../../../src/data-sources/collectionRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAA8C,MAAM,aAAa,CAAC;AAYtF,QAAA,MAAM,0BAA0B,EAAE,WAOjC,CAAA;AAyBD,eAAe,0BAA0B,CAAC"}
@@ -15,8 +15,8 @@ function _getModel(collectionName, dispatch) {
15
15
  }
16
16
  const getModel = lodash_1.memoize(_getModel);
17
17
  const collectionRecordDataSource = async (options, { dispatch }) => {
18
- const { collectionName, id } = options;
19
- const { response } = await dispatch(reducers_1.collectionGetRecord(collectionName, id));
18
+ const { collectionName, id, recordId = id, populate } = options;
19
+ const { response } = await dispatch(reducers_1.collectionGetRecord(collectionName, recordId, populate));
20
20
  const _Model = getModel(collectionName, dispatch);
21
21
  return response ? new _Model(response) : null;
22
22
  };
@@ -26,15 +26,17 @@ collectionRecordDataSource.type = 'Object';
26
26
  collectionRecordDataSource.configurationOptions = [
27
27
  { type: 'text', key: 'collection-name', label: 'Collection Name', name: 'collectionName' },
28
28
  { type: 'text', key: 'collection-record-id', label: 'Record ID/Handle', name: 'id' },
29
+ { type: 'code', key: 'collection-populate', label: 'Populate', name: 'populate', minHeight: 100 },
29
30
  ];
30
31
  collectionRecordDataSource.defaultValues = {
31
32
  collectionName: '',
32
33
  };
33
34
  collectionRecordDataSource.keyExtractor = (options) => {
34
- const { collectionName, id } = options;
35
+ const { collectionName, id, recordId = id, populate } = options;
35
36
  return uuid_1.v5([
36
37
  collectionName,
37
- id,
38
+ recordId,
39
+ populate,
38
40
  ].join(':'), constants_1.DATA_SOURCE_KEY_NAMESPACE);
39
41
  };
40
42
  exports.default = collectionRecordDataSource;
@@ -1 +1 @@
1
- {"version":3,"file":"collectionRecord.js","sourceRoot":"","sources":["../../../src/data-sources/collectionRecord.ts"],"names":[],"mappings":";;AAAA,mCAAiC;AACjC,+BAAoC;AACpC,wCAAmC;AACnC,4CAAyD;AACzD,0CAAsF;AAGtF,SAAS,SAAS,CAAE,cAAsB,EAAE,QAAkB;IAC1D,IAAG,CAAC,cAAc;QAAE,OAAO,eAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAC5D,MAAM,KAAK,GAAG,QAAQ,CAAC,gCAAqB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC7D,IAAG,KAAK;QAAE,OAAO,KAAK,CAAC;IACvB,OAAO,eAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,QAAQ,GAAG,gBAAO,CAAC,SAAS,CAAC,CAAC;AAEpC,MAAM,0BAA0B,GAAgB,KAAK,EAAE,OAAO,EAAE,EAAC,QAAQ,EAAC,EAAC,EAAE;IACzE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvC,MAAM,EAAC,QAAQ,EAAC,GAAG,MAAM,QAAQ,CAAC,8BAAmB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC;IAC3E,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IAElD,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClD,CAAC,CAAA;AAGD,0BAA0B,CAAC,WAAW,GAAG,mBAAmB,CAAC;AAC7D,0BAA0B,CAAC,UAAU,GAAG,kBAAk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IAEhE,OAAO,SAAM,CAAC;QACV,cAAc;QACd,QAAQ;QACR,QAAQ;KACX,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,qCAAyB,CAAC,CAAA;AAC3C,CAAC,CAAC;AAGF,kBAAe,0BAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAkB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAsB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -57,6 +57,10 @@ const platformEventsMiddleware = (store) => {
57
57
  }
58
58
  catch (e) { }
59
59
  });
60
+ // Send LOAD_COMPLETED message to parent window if it exists
61
+ if (window.parent !== window) {
62
+ window.parent.postMessage({ type: 'LOAD_COMPLETED' }, '*');
63
+ }
60
64
  }
61
65
  return (next) => (action) => next(action);
62
66
  };
@@ -1 +1 @@
1
- {"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":";;;AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AACzC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAErD,KAAK,UAAU,iBAAiB;IAC5B,qDAAqD;IACrD,IAAI,CAAE,MAAc,CAAC,WAAW,EAAE;QAC9B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAChD,MAAM,CAAC,GAAG,GAAG,yDAAyD,CAAC;QACvE,MA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G,QAAO,aAAa,CAAC,IAAI,EAAC;oBACtB,KAAK,iBAAiB;wBAClB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;wBACrC,MAAM;oBACV,KAAK,uBAAuB;wBACxB,iBAAiB,EAAE,CAAC;wBACpB,MAAM;iBACb;aACJ;YAAC,OAAM,CAAC,EAAC,GAAE;QAChB,CAAC,CAAC,CAAC;QAEH,4DAA4D;QAC5D,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,EAAE;YAC1B,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9D;KACJ;IAED,OAAO,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,MAAW,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACxD,CAAC,CAAC;AAvBW,QAAA,wBAAwB,4BAuBnC;AAEF,kBAAe,gCAAwB,CAAC"}
@@ -27,13 +27,15 @@ export declare function unregisterModel(model: any): {
27
27
  model: any;
28
28
  };
29
29
  export declare const getModelForCollection: (collectionName: any) => (dispatch: any, getState: any) => any;
30
- export declare function getCollection(collectionName: string, { page, pageSize, search, sort, key }: {
30
+ declare type GetCollectionOptions = {
31
31
  page: number;
32
32
  pageSize?: number;
33
33
  search?: string;
34
34
  sort?: any;
35
35
  key?: string;
36
- }, filter?: {}): {
36
+ populate?: string | string[];
37
+ };
38
+ export declare function getCollection(collectionName: string, { page, pageSize, search, sort, key, populate }: GetCollectionOptions, filter?: {}): {
37
39
  method: string;
38
40
  types: string[] | ([string, string, string] & {
39
41
  length: 3;
@@ -46,12 +48,7 @@ export declare function getCollection(collectionName: string, { page, pageSize,
46
48
  endpoint: string;
47
49
  data: any;
48
50
  };
49
- export declare function collectionLoadMore(collectionName: string, { page, sort, search, key }: {
50
- page?: number;
51
- sort: any;
52
- search: any;
53
- key?: string;
54
- }, filter?: {}): {
51
+ export declare function collectionLoadMore(collectionName: string, { page, sort, search, key, populate }: GetCollectionOptions, filter?: {}): {
55
52
  method: string;
56
53
  types: string[] | ([string, string, string] & {
57
54
  length: 3;
@@ -64,7 +61,7 @@ export declare function collectionLoadMore(collectionName: string, { page, sort,
64
61
  endpoint: string;
65
62
  data: any;
66
63
  };
67
- export declare function collectionGetRecord(collectionName: string, id: string): {
64
+ export declare function collectionGetRecord(collectionName: string, id: string, populate?: GetCollectionOptions['populate']): {
68
65
  method: string;
69
66
  types: string[] | ([string, string, string] & {
70
67
  length: 3;
@@ -78,7 +75,7 @@ export declare function collectionGetRecord(collectionName: string, id: string):
78
75
  data: any;
79
76
  };
80
77
  export declare const getCollectionRecord: typeof collectionGetRecord;
81
- export declare function collectionAddRecord(collectionName: any, data: any): {
78
+ export declare function collectionAddRecord(collectionName: string, data: any): {
82
79
  method: string;
83
80
  types: string[] | ([string, string, string] & {
84
81
  length: 3;
@@ -92,7 +89,7 @@ export declare function collectionAddRecord(collectionName: any, data: any): {
92
89
  data: any;
93
90
  };
94
91
  export declare const addCollectionRecord: typeof collectionAddRecord;
95
- export declare function collectionDeleteRecord(collectionName: string, id: any): {
92
+ export declare function collectionDeleteRecord(collectionName: string, id: string): {
96
93
  method: string;
97
94
  types: string[] | ([string, string, string] & {
98
95
  length: 3;
@@ -106,7 +103,7 @@ export declare function collectionDeleteRecord(collectionName: string, id: any):
106
103
  data: any;
107
104
  };
108
105
  export declare const deleteCollectionRecord: typeof collectionDeleteRecord;
109
- export declare function collectionUpdateRecord(collectionName: any, id: any, updates: any): {
106
+ export declare function collectionUpdateRecord(collectionName: string, id: string, updates: any): {
110
107
  method: string;
111
108
  types: string[] | ([string, string, string] & {
112
109
  length: 3;
@@ -1 +1 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/reducers/collection.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAC9D,eAAO,MAAM,cAAc,8BAA8B,CAAC;AAE1D,e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AAE,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,oBAAoB,CAAC,UAAU,CAAC;;;;;;;;;;;;EAOlH;AAED,eAAO,MAAM,mBAAmB,4BAAsB,CAAC;AAEvD,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;;;;;;;;;;;;EAOpE;AAED,eAAO,MAAM,mBAAmB,4BAAsB,CAAC;AAEvD,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;EAQxE;AAED,eAAO,MAAM,sBAAsB,+BAAyB,CAAC;AAE7D,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG;;;;;;;;;;;;EAOtF;AAED,eAAO,MAAM,sBAAsB,+BAAyB,CAAC;AAyB7D,QAAA,MAAM,UAAU,kCA2Gf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -44,25 +44,25 @@ const getModelForCollection = (collectionName) => (dispatch, getState) => {
44
44
  return !!models && models.find(m => m && m.collectionName === collectionName);
45
45
  };
46
46
  exports.getModelForCollection = getModelForCollection;
47
- function getCollection(collectionName, { page = 1, pageSize, search, sort, key = `_${collectionName}` }, filter = {}) {
47
+ function getCollection(collectionName, { page = 1, pageSize, search, sort, key = `_${collectionName}`, populate }, filter = {}) {
48
48
  const collectionPath = change_case_1.paramCase(collectionName);
49
- return restApi_1.request(collectionPath, { page, pageSize, search, sort, filter }, {
49
+ return restApi_1.request(collectionPath, { page, pageSize, search, sort, filter, populate }, {
50
50
  key,
51
51
  types: [exports.COLLECTION_LOAD_PAGE_STARTED, exports.COLLECTION_LOAD_PAGE_SUCCESS, exports.COLLECTION_LOAD_PAGE_FAILED],
52
52
  });
53
53
  }
54
54
  exports.getCollection = getCollection;
55
- function collectionLoadMore(collectionName, { page = 1, sort, search, key = `_${collectionName}` }, filter = {}) {
55
+ function collectionLoadMore(collectionName, { page = 1, sort, search, key = `_${collectionName}`, populate }, filter = {}) {
56
56
  const collectionPath = change_case_1.paramCase(collectionName);
57
- return restApi_1.request(collectionPath, { page, sort, search, filter }, {
57
+ return restApi_1.request(collectionPath, { page, sort, search, filter, populate }, {
58
58
  key,
59
59
  types: [exports.COLLECTION_LOAD_MORE_STARTED, exports.COLLECTION_LOAD_MORE_SUCCESS, exports.COLLECTION_LOAD_MORE_FAILED],
60
60
  });
61
61
  }
62
62
  exports.collectionLoadMore = collectionLoadMore;
63
- function collectionGetRecord(collectionName, id) {
63
+ function collectionGetRecord(collectionName, id, populate) {
64
64
  const collectionPath = change_case_1.paramCase(collectionName);
65
- return restApi_1.request(`${collectionPath}/:id`, {}, {
65
+ return restApi_1.request(`${collectionPath}/:id`, { populate }, {
66
66
  pathParams: { id },
67
67
  key: `_${collectionName}`,
68
68
  types: [exports.COLLECTION_GET_RECORD_STARTED, exports.COLLECTION_GET_RECORD_SUCCESS, exports.COLLECTION_GET_RECORD_FAILED],
@@ -1 +1 @@
1
- {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../src/reducers/collection.tsx"],"names":[],"mappings":";;;AAAA,6CAAsD;AACtD,mCAAsD;AACtD,gDAAgE;AAEnD,QAAA,gBAAgB,GAAG,6BAA6B,CAAC;AACjD,QAAA,cAAc,GAAG,2BAA2B,CAAC;AAE7C,QAAA,4BAA4B,GAAG,8BAA8B,CAAC;AAC9D,QAAA,4BAA4B,GAAG,8BAA8B,CAAC;AAC9D,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAE5D,QAAA,4BAA4B,GAAG,8BAA8B,CAAC;AAC9D,QAAA,4BAA4B,GAAG,8BAA8B,CAAC;AAC9D,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAE5D,QAAA,6BAA6B,GAAG,+BAA+B,CAAC;AAChE,QAAA,6BAA6B,GAAG,+BAA+B,CAAC;AAChE,QAAA,4BAA4B,GAAG,8BAA8B,CAAC;AAE9D,QA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.0.248",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "peerDependencies": {