@antscorp/antsomi-ui 1.3.5-beta.438 → 1.3.5-beta.439

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.
@@ -105,7 +105,7 @@ export const dataTableServices = {
105
105
  const { type = GET_SAVED_FILTER, objType: object, objId } = params || {};
106
106
  const response = yield axios(Object.assign(Object.assign({}, request), { url, method: 'GET', params: Object.assign(Object.assign({ type,
107
107
  object,
108
- objId }, request === null || request === void 0 ? void 0 : request.params), mapAuth(auth)) }));
108
+ objId }, mapAuth(auth)), request === null || request === void 0 ? void 0 : request.params) }));
109
109
  return get(response, 'data.data.filters', []);
110
110
  }
111
111
  catch (error) {
@@ -118,7 +118,7 @@ export const dataTableServices = {
118
118
  const { type = GET_LIST_FILTER, objType: object, objId } = params || {};
119
119
  const response = yield axios(Object.assign(Object.assign({}, request), { url, method: 'GET', params: Object.assign(Object.assign({ type,
120
120
  object,
121
- objId }, request === null || request === void 0 ? void 0 : request.params), mapAuth(auth)) }));
121
+ objId }, mapAuth(auth)), request === null || request === void 0 ? void 0 : request.params) }));
122
122
  return get(response, 'data.data.filters', []);
123
123
  }
124
124
  catch (error) {
@@ -184,7 +184,7 @@ export const dataTableServices = {
184
184
  getTableListing(_a) {
185
185
  return __awaiter(this, arguments, void 0, function* ({ auth, params, request, }) {
186
186
  try {
187
- const response = yield axios(Object.assign(Object.assign({}, request), { url: `${auth === null || auth === void 0 ? void 0 : auth.url}`, method: 'GET', params: Object.assign(Object.assign(Object.assign({}, params), request === null || request === void 0 ? void 0 : request.params), mapAuth(auth)) }));
187
+ const response = yield axios(Object.assign(Object.assign({}, request), { url: `${auth === null || auth === void 0 ? void 0 : auth.url}`, method: 'GET', params: Object.assign(Object.assign(Object.assign({}, params), mapAuth(auth)), request === null || request === void 0 ? void 0 : request.params) }));
188
188
  return mapResponseListingToGeneral(get(response, 'data.data', {}));
189
189
  }
190
190
  catch (error) {
@@ -199,7 +199,7 @@ export const dataTableServices = {
199
199
  const { search } = params || {};
200
200
  const _b = request || {}, { method = 'GET' } = _b, restOfRequest = __rest(_b, ["method"]);
201
201
  try {
202
- const response = yield axios(Object.assign(Object.assign({}, restOfRequest), { method, url: `${auth === null || auth === void 0 ? void 0 : auth.url}`, params: Object.assign(Object.assign({ search }, request === null || request === void 0 ? void 0 : request.params), mapAuth(auth)) }));
202
+ const response = yield axios(Object.assign(Object.assign({}, restOfRequest), { method, url: `${auth === null || auth === void 0 ? void 0 : auth.url}`, params: Object.assign(Object.assign({ search }, mapAuth(auth)), request === null || request === void 0 ? void 0 : request.params) }));
203
203
  return mapResponseSearchToGeneral(get(response, 'data.data', {}));
204
204
  }
205
205
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.438",
3
+ "version": "1.3.5-beta.439",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",