primary_care_admin_binder 0.1.108 → 0.1.110
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/index.cjs.js +297 -154
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2479,7 +2479,6 @@ var defaultState = {
|
|
|
2479
2479
|
var dbName$1 = process.env.REACT_APP_DATABASE_NAME;
|
|
2480
2480
|
process.env.REACT_APP_NG_DATABASE_NAME;
|
|
2481
2481
|
var ruleDBName = process.env.REACT_APP_RULE_BUILDER_DB || "RuleBuilder";
|
|
2482
|
-
var metadataId = "04ecb73d-f048-44ce-8563-c9be015812dd";
|
|
2483
2482
|
var __baseUrl__$1 = "".concat(process.env.REACT_APP_ARANGO_API, "/api/read_qdmqueries");
|
|
2484
2483
|
var __uspsertUrl__ = "".concat(process.env.REACT_APP_ARANGO_API, "/api/upsert_document");
|
|
2485
2484
|
var __update__ = "".concat(process.env.REACT_APP_ARANGO_API, "/api/updatedocument");
|
|
@@ -2506,6 +2505,10 @@ var __TokenGeneration__ = "".concat(process.env.REACT_APP_TOKEN_URL, "/IDMJWTTok
|
|
|
2506
2505
|
var __holidayEditUrl__ = "".concat(process.env.REACT_APP_APPOINTMENT_API, "/api/editHoliday");
|
|
2507
2506
|
var __holidayAddUrl__ = "".concat(process.env.REACT_APP_APPOINTMENT_API, "/api/addHoliday");
|
|
2508
2507
|
|
|
2508
|
+
// metadata db name & Id
|
|
2509
|
+
var metaDatadbName = process.env.REACT_APP_METADATA_DB_NAME;
|
|
2510
|
+
var metaDataId = process.env.REACT_APP_METADATAID;
|
|
2511
|
+
|
|
2509
2512
|
var moment = createCommonjsModule(function (module, exports) {
|
|
2510
2513
|
(function (global, factory) {
|
|
2511
2514
|
module.exports = factory() ;
|
|
@@ -14246,7 +14249,7 @@ var queries$l = {
|
|
|
14246
14249
|
db_name: dbName$1,
|
|
14247
14250
|
entity: "CodeableConceptMaster",
|
|
14248
14251
|
sort: "CodeableConceptMaster.createddate",
|
|
14249
|
-
filter: "CodeableConceptMaster.Type == 'ORDERNATURE' && (LIKE(CodeableConceptMaster.shortdesc,'%".concat(search, "%',true)|| LIKE(CodeableConceptMaster.longdesc,'%").concat(search, "%',true)) && CodeableConceptMaster.
|
|
14252
|
+
filter: "CodeableConceptMaster.Type == 'ORDERNATURE' && (LIKE(CodeableConceptMaster.shortdesc,'%".concat(search, "%',true)|| LIKE(CodeableConceptMaster.longdesc,'%").concat(search, "%',true)) && CodeableConceptMaster.activestatus == true"),
|
|
14250
14253
|
limit: {
|
|
14251
14254
|
offset: page,
|
|
14252
14255
|
count: perPage
|
|
@@ -14259,7 +14262,9 @@ var queries$l = {
|
|
|
14259
14262
|
db_name: dbName$1,
|
|
14260
14263
|
entity: "CodeableConceptMaster",
|
|
14261
14264
|
is_metadata: true,
|
|
14262
|
-
metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
14265
|
+
// metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
14266
|
+
metadataId: metaDataId,
|
|
14267
|
+
metadata_dbname: metaDatadbName,
|
|
14263
14268
|
doc: {
|
|
14264
14269
|
text: "",
|
|
14265
14270
|
coding: [{
|
|
@@ -14326,7 +14331,9 @@ var queries$l = {
|
|
|
14326
14331
|
db_name: dbName$1,
|
|
14327
14332
|
entity: "CodingMaster",
|
|
14328
14333
|
is_metadata: true,
|
|
14329
|
-
metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
14334
|
+
// metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
14335
|
+
metadataId: metaDataId,
|
|
14336
|
+
metadata_dbname: metaDatadbName,
|
|
14330
14337
|
doc: {
|
|
14331
14338
|
system: "",
|
|
14332
14339
|
version: "1",
|
|
@@ -14604,7 +14611,9 @@ var queries$k = {
|
|
|
14604
14611
|
db_name: dbName$1,
|
|
14605
14612
|
entity: "OrderCategory",
|
|
14606
14613
|
is_metadata: true,
|
|
14607
|
-
|
|
14614
|
+
// metadataId,
|
|
14615
|
+
metadataId: metaDataId,
|
|
14616
|
+
metadata_dbname: metaDatadbName,
|
|
14608
14617
|
doc: {
|
|
14609
14618
|
ordercategory: category,
|
|
14610
14619
|
shortdesc: shortdesc,
|
|
@@ -14632,7 +14641,9 @@ var queries$k = {
|
|
|
14632
14641
|
_key: key
|
|
14633
14642
|
},
|
|
14634
14643
|
is_metadata: true,
|
|
14635
|
-
|
|
14644
|
+
// metadataId,
|
|
14645
|
+
metadataId: metaDataId,
|
|
14646
|
+
metadata_dbname: metaDatadbName,
|
|
14636
14647
|
doc: {
|
|
14637
14648
|
status: status
|
|
14638
14649
|
}
|
|
@@ -14652,7 +14663,7 @@ var queries$k = {
|
|
|
14652
14663
|
var obj = {
|
|
14653
14664
|
db_name: dbName$1,
|
|
14654
14665
|
entity: "CodeableConceptMaster",
|
|
14655
|
-
filter: "CodeableConceptMaster.Type == 'ORDERMODE' && (LIKE(CodeableConceptMaster.shortdesc,'%".concat(search ? search : '', "%',true)|| LIKE(CodeableConceptMaster.longdesc,'%").concat(search ? search : '', "%',true)) && CodeableConceptMaster.
|
|
14666
|
+
filter: "CodeableConceptMaster.Type == 'ORDERMODE' && (LIKE(CodeableConceptMaster.shortdesc,'%".concat(search ? search : '', "%',true)|| LIKE(CodeableConceptMaster.longdesc,'%").concat(search ? search : '', "%',true)) && CodeableConceptMaster.activestatus == true"),
|
|
14656
14667
|
limit: {
|
|
14657
14668
|
offset: page,
|
|
14658
14669
|
count: perPage
|
|
@@ -14685,7 +14696,9 @@ var queries$k = {
|
|
|
14685
14696
|
db_name: dbName$1,
|
|
14686
14697
|
entity: "CodeableConceptMaster",
|
|
14687
14698
|
is_metadata: true,
|
|
14688
|
-
|
|
14699
|
+
// metadataId,
|
|
14700
|
+
metadataId: metaDataId,
|
|
14701
|
+
metadata_dbname: metaDatadbName,
|
|
14689
14702
|
doc: {
|
|
14690
14703
|
text: "",
|
|
14691
14704
|
coding: [{
|
|
@@ -14714,7 +14727,9 @@ var queries$k = {
|
|
|
14714
14727
|
filter: {
|
|
14715
14728
|
_key: key
|
|
14716
14729
|
},
|
|
14717
|
-
metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
14730
|
+
// metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
14731
|
+
metadataId: metaDataId,
|
|
14732
|
+
metadata_dbname: metaDatadbName,
|
|
14718
14733
|
doc: {
|
|
14719
14734
|
system: "",
|
|
14720
14735
|
version: "1",
|
|
@@ -14741,7 +14756,8 @@ var queries$k = {
|
|
|
14741
14756
|
_key: key
|
|
14742
14757
|
},
|
|
14743
14758
|
is_metadata: true,
|
|
14744
|
-
metadataId:
|
|
14759
|
+
metadataId: metaDataId,
|
|
14760
|
+
metadata_dbname: metaDatadbName,
|
|
14745
14761
|
doc: {
|
|
14746
14762
|
status: status
|
|
14747
14763
|
}
|
|
@@ -23277,7 +23293,8 @@ var generateSaveJSON = function generateSaveJSON(data) {
|
|
|
23277
23293
|
db_name: dbName$1,
|
|
23278
23294
|
entity: "OrderCatalog",
|
|
23279
23295
|
is_metadata: true,
|
|
23280
|
-
metadataId:
|
|
23296
|
+
metadataId: metaDataId,
|
|
23297
|
+
metadata_dbname: metaDatadbName
|
|
23281
23298
|
}, filter), {}, {
|
|
23282
23299
|
doc: {
|
|
23283
23300
|
_id: "",
|
|
@@ -23291,6 +23308,7 @@ var generateSaveJSON = function generateSaveJSON(data) {
|
|
|
23291
23308
|
mappedcode: ""
|
|
23292
23309
|
}],
|
|
23293
23310
|
ordercategory: data.orderCategory ? data.orderCategory.value : "",
|
|
23311
|
+
grouporindv: data.groupOrIndividual ? data.groupOrIndividual.value : "",
|
|
23294
23312
|
ordertype: data.orderType ? data.orderType.value : "",
|
|
23295
23313
|
healthcareservicecode: data.healthcareService ? data.healthcareService.value : "",
|
|
23296
23314
|
//reflexonresult: "boolean",
|
|
@@ -23438,7 +23456,8 @@ var generateUpdateJSON = function generateUpdateJSON(editID, Status) {
|
|
|
23438
23456
|
_key: editID
|
|
23439
23457
|
},
|
|
23440
23458
|
is_metadata: true,
|
|
23441
|
-
metadataId:
|
|
23459
|
+
metadataId: metaDataId,
|
|
23460
|
+
metadata_dbname: metaDatadbName,
|
|
23442
23461
|
doc: {
|
|
23443
23462
|
status: Status
|
|
23444
23463
|
}
|
|
@@ -23927,31 +23946,139 @@ var ORDER_CATALOG_MASTERS = createAsyncThunk("orderCatalogApiSlice/order_catalog
|
|
|
23927
23946
|
}
|
|
23928
23947
|
}, _callee4, null, [[2, 10]]);
|
|
23929
23948
|
})));
|
|
23930
|
-
var
|
|
23949
|
+
var ORDER_CATALOG_GRPORIND = createAsyncThunk("orderCatalogApiSlice/order_catalog_grporind", /*#__PURE__*/function () {
|
|
23950
|
+
var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(payload, _ref6) {
|
|
23951
|
+
var rejectWithValue, _data$, _data$$GRPORIND, _data$$GRPORIND$Value, body, data, arry;
|
|
23952
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
23953
|
+
while (1) {
|
|
23954
|
+
switch (_context5.prev = _context5.next) {
|
|
23955
|
+
case 0:
|
|
23956
|
+
rejectWithValue = _ref6.rejectWithValue;
|
|
23957
|
+
_context5.prev = 1;
|
|
23958
|
+
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
23959
|
+
body = {
|
|
23960
|
+
"db_name": process.env.REACT_APP_DATABASE_NAME,
|
|
23961
|
+
"filter": {
|
|
23962
|
+
"type": ["GRPORIND"],
|
|
23963
|
+
"tenantid": "",
|
|
23964
|
+
"facilityid": "",
|
|
23965
|
+
"lang": ""
|
|
23966
|
+
},
|
|
23967
|
+
"queryid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
23968
|
+
};
|
|
23969
|
+
_context5.next = 5;
|
|
23970
|
+
return fetchData({
|
|
23971
|
+
body: JSON.stringify(body)
|
|
23972
|
+
}, __baseUrl__$1);
|
|
23973
|
+
case 5:
|
|
23974
|
+
data = _context5.sent;
|
|
23975
|
+
arry = [];
|
|
23976
|
+
(_data$ = data[0]) === null || _data$ === void 0 ? void 0 : (_data$$GRPORIND = _data$.GRPORIND) === null || _data$$GRPORIND === void 0 ? void 0 : (_data$$GRPORIND$Value = _data$$GRPORIND.Value) === null || _data$$GRPORIND$Value === void 0 ? void 0 : _data$$GRPORIND$Value.map(function (item) {
|
|
23977
|
+
return arry.push({
|
|
23978
|
+
_id: item._id,
|
|
23979
|
+
value: item._id,
|
|
23980
|
+
label: item.display
|
|
23981
|
+
});
|
|
23982
|
+
});
|
|
23983
|
+
return _context5.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.List), {}, {
|
|
23984
|
+
data: arry
|
|
23985
|
+
}));
|
|
23986
|
+
case 11:
|
|
23987
|
+
_context5.prev = 11;
|
|
23988
|
+
_context5.t0 = _context5["catch"](1);
|
|
23989
|
+
return _context5.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
23990
|
+
message: _context5.t0.message
|
|
23991
|
+
})));
|
|
23992
|
+
case 14:
|
|
23993
|
+
case "end":
|
|
23994
|
+
return _context5.stop();
|
|
23995
|
+
}
|
|
23996
|
+
}
|
|
23997
|
+
}, _callee5, null, [[1, 11]]);
|
|
23998
|
+
}));
|
|
23999
|
+
return function (_x6, _x7) {
|
|
24000
|
+
return _ref7.apply(this, arguments);
|
|
24001
|
+
};
|
|
24002
|
+
}());
|
|
24003
|
+
var ORDER_CATALOG_SERVICEITEM = createAsyncThunk("orderCatalogApiSlice/order_catalog_serviceItem", /*#__PURE__*/function () {
|
|
24004
|
+
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(payload, _ref8) {
|
|
24005
|
+
var rejectWithValue, _data$2, _data$2$ORDERITEMSERV, _data$2$ORDERITEMSERV2, body, data, arry;
|
|
24006
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
24007
|
+
while (1) {
|
|
24008
|
+
switch (_context6.prev = _context6.next) {
|
|
24009
|
+
case 0:
|
|
24010
|
+
rejectWithValue = _ref8.rejectWithValue;
|
|
24011
|
+
_context6.prev = 1;
|
|
24012
|
+
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
24013
|
+
body = {
|
|
24014
|
+
"db_name": process.env.REACT_APP_DATABASE_NAME,
|
|
24015
|
+
"filter": {
|
|
24016
|
+
"type": ["ORDERITEMSERVICE"],
|
|
24017
|
+
"tenantid": "",
|
|
24018
|
+
"facilityid": "",
|
|
24019
|
+
"lang": ""
|
|
24020
|
+
},
|
|
24021
|
+
"queryid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
24022
|
+
};
|
|
24023
|
+
_context6.next = 5;
|
|
24024
|
+
return fetchData({
|
|
24025
|
+
body: JSON.stringify(body)
|
|
24026
|
+
}, __baseUrl__$1);
|
|
24027
|
+
case 5:
|
|
24028
|
+
data = _context6.sent;
|
|
24029
|
+
arry = [];
|
|
24030
|
+
(_data$2 = data[0]) === null || _data$2 === void 0 ? void 0 : (_data$2$ORDERITEMSERV = _data$2.ORDERITEMSERVICE) === null || _data$2$ORDERITEMSERV === void 0 ? void 0 : (_data$2$ORDERITEMSERV2 = _data$2$ORDERITEMSERV.Value) === null || _data$2$ORDERITEMSERV2 === void 0 ? void 0 : _data$2$ORDERITEMSERV2.map(function (item) {
|
|
24031
|
+
return arry.push({
|
|
24032
|
+
_id: item._id,
|
|
24033
|
+
value: item._id,
|
|
24034
|
+
label: item.display
|
|
24035
|
+
});
|
|
24036
|
+
});
|
|
24037
|
+
return _context6.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.List), {}, {
|
|
24038
|
+
data: arry
|
|
24039
|
+
}));
|
|
24040
|
+
case 11:
|
|
24041
|
+
_context6.prev = 11;
|
|
24042
|
+
_context6.t0 = _context6["catch"](1);
|
|
24043
|
+
return _context6.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24044
|
+
message: _context6.t0.message
|
|
24045
|
+
})));
|
|
24046
|
+
case 14:
|
|
24047
|
+
case "end":
|
|
24048
|
+
return _context6.stop();
|
|
24049
|
+
}
|
|
24050
|
+
}
|
|
24051
|
+
}, _callee6, null, [[1, 11]]);
|
|
24052
|
+
}));
|
|
24053
|
+
return function (_x8, _x9) {
|
|
24054
|
+
return _ref9.apply(this, arguments);
|
|
24055
|
+
};
|
|
24056
|
+
}());
|
|
24057
|
+
var ENTITY_NAME_DATA = createAsyncThunk("orderCatalogApiSlice/entity_name_data", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
23931
24058
|
var payload,
|
|
23932
|
-
|
|
24059
|
+
_ref11,
|
|
23933
24060
|
rejectWithValue,
|
|
23934
24061
|
type,
|
|
23935
24062
|
queriesjson,
|
|
23936
24063
|
data,
|
|
23937
24064
|
arry,
|
|
23938
|
-
|
|
23939
|
-
return _regeneratorRuntime().wrap(function
|
|
24065
|
+
_args7 = arguments;
|
|
24066
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
23940
24067
|
while (1) {
|
|
23941
|
-
switch (
|
|
24068
|
+
switch (_context7.prev = _context7.next) {
|
|
23942
24069
|
case 0:
|
|
23943
|
-
payload =
|
|
23944
|
-
|
|
23945
|
-
|
|
24070
|
+
payload = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
|
|
24071
|
+
_ref11 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref11.rejectWithValue;
|
|
24072
|
+
_context7.prev = 2;
|
|
23946
24073
|
type = payload.type;
|
|
23947
24074
|
console.log("type", type);
|
|
23948
24075
|
queriesjson = Query.entityTypeName(type);
|
|
23949
|
-
|
|
24076
|
+
_context7.next = 8;
|
|
23950
24077
|
return fetchData({
|
|
23951
24078
|
body: JSON.stringify(queriesjson)
|
|
23952
24079
|
}, __readDocumentUrl__);
|
|
23953
24080
|
case 8:
|
|
23954
|
-
data =
|
|
24081
|
+
data = _context7.sent;
|
|
23955
24082
|
arry = [];
|
|
23956
24083
|
data.result.map(function (val) {
|
|
23957
24084
|
arry.push({
|
|
@@ -23959,47 +24086,47 @@ var ENTITY_NAME_DATA = createAsyncThunk("orderCatalogApiSlice/entity_name_data",
|
|
|
23959
24086
|
value: val._id
|
|
23960
24087
|
});
|
|
23961
24088
|
});
|
|
23962
|
-
return
|
|
24089
|
+
return _context7.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.Info), {}, {
|
|
23963
24090
|
data: arry
|
|
23964
24091
|
}));
|
|
23965
24092
|
case 14:
|
|
23966
|
-
|
|
23967
|
-
|
|
23968
|
-
return
|
|
23969
|
-
message:
|
|
24093
|
+
_context7.prev = 14;
|
|
24094
|
+
_context7.t0 = _context7["catch"](2);
|
|
24095
|
+
return _context7.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24096
|
+
message: _context7.t0.message
|
|
23970
24097
|
})));
|
|
23971
24098
|
case 17:
|
|
23972
24099
|
case "end":
|
|
23973
|
-
return
|
|
24100
|
+
return _context7.stop();
|
|
23974
24101
|
}
|
|
23975
24102
|
}
|
|
23976
|
-
},
|
|
24103
|
+
}, _callee7, null, [[2, 14]]);
|
|
23977
24104
|
})));
|
|
23978
|
-
var ORDER_TYPE_DATA = createAsyncThunk("orderCatalogApiSlice/order_type_data", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
24105
|
+
var ORDER_TYPE_DATA = createAsyncThunk("orderCatalogApiSlice/order_type_data", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
23979
24106
|
var payload,
|
|
23980
|
-
|
|
24107
|
+
_ref13,
|
|
23981
24108
|
rejectWithValue,
|
|
23982
24109
|
type,
|
|
23983
24110
|
queriesjson,
|
|
23984
24111
|
data,
|
|
23985
24112
|
arry,
|
|
23986
|
-
|
|
23987
|
-
return _regeneratorRuntime().wrap(function
|
|
24113
|
+
_args8 = arguments;
|
|
24114
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
23988
24115
|
while (1) {
|
|
23989
|
-
switch (
|
|
24116
|
+
switch (_context8.prev = _context8.next) {
|
|
23990
24117
|
case 0:
|
|
23991
|
-
payload =
|
|
23992
|
-
|
|
23993
|
-
|
|
24118
|
+
payload = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
|
|
24119
|
+
_ref13 = _args8.length > 1 ? _args8[1] : undefined, rejectWithValue = _ref13.rejectWithValue;
|
|
24120
|
+
_context8.prev = 2;
|
|
23994
24121
|
type = payload.type;
|
|
23995
24122
|
console.log("type", type);
|
|
23996
24123
|
queriesjson = orderTypedata.ordertype(type);
|
|
23997
|
-
|
|
24124
|
+
_context8.next = 8;
|
|
23998
24125
|
return fetchData({
|
|
23999
24126
|
body: JSON.stringify(queriesjson)
|
|
24000
24127
|
}, __readDocumentUrl__);
|
|
24001
24128
|
case 8:
|
|
24002
|
-
data =
|
|
24129
|
+
data = _context8.sent;
|
|
24003
24130
|
arry = [];
|
|
24004
24131
|
data.result.map(function (val) {
|
|
24005
24132
|
arry.push({
|
|
@@ -24007,44 +24134,44 @@ var ORDER_TYPE_DATA = createAsyncThunk("orderCatalogApiSlice/order_type_data", /
|
|
|
24007
24134
|
value: val._id
|
|
24008
24135
|
});
|
|
24009
24136
|
});
|
|
24010
|
-
return
|
|
24137
|
+
return _context8.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.Info), {}, {
|
|
24011
24138
|
data: arry
|
|
24012
24139
|
}));
|
|
24013
24140
|
case 14:
|
|
24014
|
-
|
|
24015
|
-
|
|
24016
|
-
return
|
|
24017
|
-
message:
|
|
24141
|
+
_context8.prev = 14;
|
|
24142
|
+
_context8.t0 = _context8["catch"](2);
|
|
24143
|
+
return _context8.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24144
|
+
message: _context8.t0.message
|
|
24018
24145
|
})));
|
|
24019
24146
|
case 17:
|
|
24020
24147
|
case "end":
|
|
24021
|
-
return
|
|
24148
|
+
return _context8.stop();
|
|
24022
24149
|
}
|
|
24023
24150
|
}
|
|
24024
|
-
},
|
|
24151
|
+
}, _callee8, null, [[2, 14]]);
|
|
24025
24152
|
})));
|
|
24026
|
-
var AGE_RANGES_CATEGORY_CATALOG = createAsyncThunk("orderCatalogApiSlice/ageranges_Category", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
24153
|
+
var AGE_RANGES_CATEGORY_CATALOG = createAsyncThunk("orderCatalogApiSlice/ageranges_Category", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
24027
24154
|
var payload,
|
|
24028
|
-
|
|
24155
|
+
_ref15,
|
|
24029
24156
|
rejectWithValue,
|
|
24030
24157
|
ageRangeId,
|
|
24031
24158
|
data,
|
|
24032
24159
|
arr,
|
|
24033
|
-
|
|
24034
|
-
return _regeneratorRuntime().wrap(function
|
|
24160
|
+
_args9 = arguments;
|
|
24161
|
+
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
24035
24162
|
while (1) {
|
|
24036
|
-
switch (
|
|
24163
|
+
switch (_context9.prev = _context9.next) {
|
|
24037
24164
|
case 0:
|
|
24038
|
-
payload =
|
|
24039
|
-
|
|
24040
|
-
|
|
24165
|
+
payload = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
|
|
24166
|
+
_ref15 = _args9.length > 1 ? _args9[1] : undefined, rejectWithValue = _ref15.rejectWithValue;
|
|
24167
|
+
_context9.prev = 2;
|
|
24041
24168
|
ageRangeId = payload.ageRangeId;
|
|
24042
|
-
|
|
24169
|
+
_context9.next = 6;
|
|
24043
24170
|
return fetchData({
|
|
24044
24171
|
body: JSON.stringify(Query.ageCategory(ageRangeId))
|
|
24045
24172
|
}, __readDocumentUrl__);
|
|
24046
24173
|
case 6:
|
|
24047
|
-
data =
|
|
24174
|
+
data = _context9.sent;
|
|
24048
24175
|
arr = [];
|
|
24049
24176
|
data.result[0].map(function (val) {
|
|
24050
24177
|
arr.push({
|
|
@@ -24054,83 +24181,83 @@ var AGE_RANGES_CATEGORY_CATALOG = createAsyncThunk("orderCatalogApiSlice/agerang
|
|
|
24054
24181
|
maxAge: val.age_maximum
|
|
24055
24182
|
});
|
|
24056
24183
|
});
|
|
24057
|
-
return
|
|
24184
|
+
return _context9.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.List), {}, {
|
|
24058
24185
|
data: arr
|
|
24059
24186
|
}));
|
|
24060
24187
|
case 12:
|
|
24061
|
-
|
|
24062
|
-
|
|
24063
|
-
return
|
|
24064
|
-
message:
|
|
24188
|
+
_context9.prev = 12;
|
|
24189
|
+
_context9.t0 = _context9["catch"](2);
|
|
24190
|
+
return _context9.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24191
|
+
message: _context9.t0.message
|
|
24065
24192
|
})));
|
|
24066
24193
|
case 15:
|
|
24067
24194
|
case "end":
|
|
24068
|
-
return
|
|
24195
|
+
return _context9.stop();
|
|
24069
24196
|
}
|
|
24070
24197
|
}
|
|
24071
|
-
},
|
|
24198
|
+
}, _callee9, null, [[2, 12]]);
|
|
24072
24199
|
})));
|
|
24073
|
-
var SAVE_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/saveOrderCatalog", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
24200
|
+
var SAVE_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/saveOrderCatalog", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
24074
24201
|
var payload,
|
|
24075
|
-
|
|
24202
|
+
_ref17,
|
|
24076
24203
|
rejectWithValue,
|
|
24077
24204
|
list,
|
|
24078
24205
|
body,
|
|
24079
24206
|
data,
|
|
24080
|
-
|
|
24081
|
-
return _regeneratorRuntime().wrap(function
|
|
24207
|
+
_args10 = arguments;
|
|
24208
|
+
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
24082
24209
|
while (1) {
|
|
24083
|
-
switch (
|
|
24210
|
+
switch (_context10.prev = _context10.next) {
|
|
24084
24211
|
case 0:
|
|
24085
|
-
payload =
|
|
24086
|
-
|
|
24087
|
-
|
|
24212
|
+
payload = _args10.length > 0 && _args10[0] !== undefined ? _args10[0] : {};
|
|
24213
|
+
_ref17 = _args10.length > 1 ? _args10[1] : undefined, rejectWithValue = _ref17.rejectWithValue;
|
|
24214
|
+
_context10.prev = 2;
|
|
24088
24215
|
list = payload.list;
|
|
24089
24216
|
body = generateSaveJSON(list);
|
|
24090
|
-
|
|
24217
|
+
_context10.next = 7;
|
|
24091
24218
|
return fetchData({
|
|
24092
24219
|
body: JSON.stringify(body)
|
|
24093
24220
|
}, __uspsertUrl__);
|
|
24094
24221
|
case 7:
|
|
24095
|
-
data =
|
|
24096
|
-
return
|
|
24222
|
+
data = _context10.sent;
|
|
24223
|
+
return _context10.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.Info), {}, {
|
|
24097
24224
|
data: data
|
|
24098
24225
|
}));
|
|
24099
24226
|
case 11:
|
|
24100
|
-
|
|
24101
|
-
|
|
24102
|
-
return
|
|
24103
|
-
message:
|
|
24227
|
+
_context10.prev = 11;
|
|
24228
|
+
_context10.t0 = _context10["catch"](2);
|
|
24229
|
+
return _context10.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24230
|
+
message: _context10.t0.message
|
|
24104
24231
|
})));
|
|
24105
24232
|
case 14:
|
|
24106
24233
|
case "end":
|
|
24107
|
-
return
|
|
24234
|
+
return _context10.stop();
|
|
24108
24235
|
}
|
|
24109
24236
|
}
|
|
24110
|
-
},
|
|
24237
|
+
}, _callee10, null, [[2, 11]]);
|
|
24111
24238
|
})));
|
|
24112
|
-
var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
24239
|
+
var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
|
|
24113
24240
|
var payload,
|
|
24114
|
-
|
|
24241
|
+
_ref19,
|
|
24115
24242
|
rejectWithValue,
|
|
24116
24243
|
page,
|
|
24117
24244
|
perPage,
|
|
24118
24245
|
search,
|
|
24119
24246
|
data,
|
|
24120
24247
|
res,
|
|
24121
|
-
|
|
24122
|
-
return _regeneratorRuntime().wrap(function
|
|
24248
|
+
_args11 = arguments;
|
|
24249
|
+
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
24123
24250
|
while (1) {
|
|
24124
|
-
switch (
|
|
24251
|
+
switch (_context11.prev = _context11.next) {
|
|
24125
24252
|
case 0:
|
|
24126
|
-
payload =
|
|
24127
|
-
|
|
24128
|
-
|
|
24253
|
+
payload = _args11.length > 0 && _args11[0] !== undefined ? _args11[0] : {};
|
|
24254
|
+
_ref19 = _args11.length > 1 ? _args11[1] : undefined, rejectWithValue = _ref19.rejectWithValue, _ref19.getState;
|
|
24255
|
+
_context11.prev = 2;
|
|
24129
24256
|
// const { encounter_id } = payload;
|
|
24130
24257
|
// let state = getState();
|
|
24131
24258
|
// let ccState = state.DiagnosisMasterSlice;
|
|
24132
24259
|
page = payload.page, perPage = payload.perPage, search = payload.search;
|
|
24133
|
-
|
|
24260
|
+
_context11.next = 6;
|
|
24134
24261
|
return fetchData({
|
|
24135
24262
|
body: JSON.stringify(search ? Query.order_catalog_read_search({
|
|
24136
24263
|
page: page,
|
|
@@ -24142,67 +24269,67 @@ var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead
|
|
|
24142
24269
|
}))
|
|
24143
24270
|
}, __readDocumentUrl__);
|
|
24144
24271
|
case 6:
|
|
24145
|
-
data =
|
|
24272
|
+
data = _context11.sent;
|
|
24146
24273
|
res = generateResJson(data.result);
|
|
24147
|
-
return
|
|
24274
|
+
return _context11.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.List), {}, {
|
|
24148
24275
|
data: res
|
|
24149
24276
|
}));
|
|
24150
24277
|
case 11:
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
return
|
|
24154
|
-
message:
|
|
24278
|
+
_context11.prev = 11;
|
|
24279
|
+
_context11.t0 = _context11["catch"](2);
|
|
24280
|
+
return _context11.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24281
|
+
message: _context11.t0.message
|
|
24155
24282
|
})));
|
|
24156
24283
|
case 14:
|
|
24157
24284
|
case "end":
|
|
24158
|
-
return
|
|
24285
|
+
return _context11.stop();
|
|
24159
24286
|
}
|
|
24160
24287
|
}
|
|
24161
|
-
},
|
|
24288
|
+
}, _callee11, null, [[2, 11]]);
|
|
24162
24289
|
})));
|
|
24163
|
-
var UPDATE_ORDER_CATALOG_STATUS = createAsyncThunk("orderCatalogApiSlice/orderCatalogUpdate", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
24290
|
+
var UPDATE_ORDER_CATALOG_STATUS = createAsyncThunk("orderCatalogApiSlice/orderCatalogUpdate", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
|
|
24164
24291
|
var payload,
|
|
24165
|
-
|
|
24292
|
+
_ref21,
|
|
24166
24293
|
rejectWithValue,
|
|
24167
24294
|
editId,
|
|
24168
24295
|
status,
|
|
24169
24296
|
body,
|
|
24170
24297
|
data,
|
|
24171
|
-
|
|
24172
|
-
return _regeneratorRuntime().wrap(function
|
|
24298
|
+
_args12 = arguments;
|
|
24299
|
+
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
24173
24300
|
while (1) {
|
|
24174
|
-
switch (
|
|
24301
|
+
switch (_context12.prev = _context12.next) {
|
|
24175
24302
|
case 0:
|
|
24176
|
-
payload =
|
|
24177
|
-
|
|
24178
|
-
|
|
24303
|
+
payload = _args12.length > 0 && _args12[0] !== undefined ? _args12[0] : {};
|
|
24304
|
+
_ref21 = _args12.length > 1 ? _args12[1] : undefined, rejectWithValue = _ref21.rejectWithValue;
|
|
24305
|
+
_context12.prev = 2;
|
|
24179
24306
|
editId = payload.editId, status = payload.status;
|
|
24180
24307
|
body = generateUpdateJSON(editId, status);
|
|
24181
|
-
|
|
24308
|
+
_context12.next = 7;
|
|
24182
24309
|
return fetchData({
|
|
24183
24310
|
body: JSON.stringify(body)
|
|
24184
24311
|
}, __uspsertUrl__);
|
|
24185
24312
|
case 7:
|
|
24186
|
-
data =
|
|
24187
|
-
return
|
|
24313
|
+
data = _context12.sent;
|
|
24314
|
+
return _context12.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.List), {}, {
|
|
24188
24315
|
data: data
|
|
24189
24316
|
}));
|
|
24190
24317
|
case 11:
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
return
|
|
24194
|
-
message:
|
|
24318
|
+
_context12.prev = 11;
|
|
24319
|
+
_context12.t0 = _context12["catch"](2);
|
|
24320
|
+
return _context12.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24321
|
+
message: _context12.t0.message
|
|
24195
24322
|
})));
|
|
24196
24323
|
case 14:
|
|
24197
24324
|
case "end":
|
|
24198
|
-
return
|
|
24325
|
+
return _context12.stop();
|
|
24199
24326
|
}
|
|
24200
24327
|
}
|
|
24201
|
-
},
|
|
24328
|
+
}, _callee12, null, [[2, 11]]);
|
|
24202
24329
|
})));
|
|
24203
|
-
var EDIT_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/editOrderCatalog", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
24330
|
+
var EDIT_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/editOrderCatalog", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
|
|
24204
24331
|
var payload,
|
|
24205
|
-
|
|
24332
|
+
_ref23,
|
|
24206
24333
|
rejectWithValue,
|
|
24207
24334
|
getState,
|
|
24208
24335
|
id,
|
|
@@ -24210,76 +24337,76 @@ var EDIT_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/editOrderCatalog
|
|
|
24210
24337
|
ccState,
|
|
24211
24338
|
data,
|
|
24212
24339
|
res,
|
|
24213
|
-
|
|
24214
|
-
return _regeneratorRuntime().wrap(function
|
|
24340
|
+
_args13 = arguments;
|
|
24341
|
+
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
|
24215
24342
|
while (1) {
|
|
24216
|
-
switch (
|
|
24343
|
+
switch (_context13.prev = _context13.next) {
|
|
24217
24344
|
case 0:
|
|
24218
|
-
payload =
|
|
24219
|
-
|
|
24220
|
-
|
|
24345
|
+
payload = _args13.length > 0 && _args13[0] !== undefined ? _args13[0] : {};
|
|
24346
|
+
_ref23 = _args13.length > 1 ? _args13[1] : undefined, rejectWithValue = _ref23.rejectWithValue, getState = _ref23.getState;
|
|
24347
|
+
_context13.prev = 2;
|
|
24221
24348
|
id = payload.id;
|
|
24222
24349
|
state = getState();
|
|
24223
24350
|
ccState = state.orderCatalogSlice;
|
|
24224
|
-
|
|
24351
|
+
_context13.next = 8;
|
|
24225
24352
|
return fetchData({
|
|
24226
24353
|
body: JSON.stringify(Query.editOrderCatalog(id))
|
|
24227
24354
|
}, __readDocumentUrl__);
|
|
24228
24355
|
case 8:
|
|
24229
|
-
data =
|
|
24356
|
+
data = _context13.sent;
|
|
24230
24357
|
res = generateReadResJson(data.result[0], ccState);
|
|
24231
|
-
return
|
|
24358
|
+
return _context13.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.List), {}, {
|
|
24232
24359
|
data: res
|
|
24233
24360
|
}));
|
|
24234
24361
|
case 13:
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
return
|
|
24238
|
-
message:
|
|
24362
|
+
_context13.prev = 13;
|
|
24363
|
+
_context13.t0 = _context13["catch"](2);
|
|
24364
|
+
return _context13.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24365
|
+
message: _context13.t0.message
|
|
24239
24366
|
})));
|
|
24240
24367
|
case 16:
|
|
24241
24368
|
case "end":
|
|
24242
|
-
return
|
|
24369
|
+
return _context13.stop();
|
|
24243
24370
|
}
|
|
24244
24371
|
}
|
|
24245
|
-
},
|
|
24372
|
+
}, _callee13, null, [[2, 13]]);
|
|
24246
24373
|
})));
|
|
24247
|
-
var DELETE_ATTRIBUTE_DELETE = createAsyncThunk("orderCatalogApiSlice/attributesDelete", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
24374
|
+
var DELETE_ATTRIBUTE_DELETE = createAsyncThunk("orderCatalogApiSlice/attributesDelete", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
|
|
24248
24375
|
var payload,
|
|
24249
|
-
|
|
24376
|
+
_ref25,
|
|
24250
24377
|
rejectWithValue,
|
|
24251
24378
|
id,
|
|
24252
24379
|
data,
|
|
24253
|
-
|
|
24254
|
-
return _regeneratorRuntime().wrap(function
|
|
24380
|
+
_args14 = arguments;
|
|
24381
|
+
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
|
24255
24382
|
while (1) {
|
|
24256
|
-
switch (
|
|
24383
|
+
switch (_context14.prev = _context14.next) {
|
|
24257
24384
|
case 0:
|
|
24258
|
-
payload =
|
|
24259
|
-
|
|
24260
|
-
|
|
24385
|
+
payload = _args14.length > 0 && _args14[0] !== undefined ? _args14[0] : {};
|
|
24386
|
+
_ref25 = _args14.length > 1 ? _args14[1] : undefined, rejectWithValue = _ref25.rejectWithValue;
|
|
24387
|
+
_context14.prev = 2;
|
|
24261
24388
|
id = payload.id;
|
|
24262
|
-
|
|
24389
|
+
_context14.next = 6;
|
|
24263
24390
|
return fetchData({
|
|
24264
24391
|
body: JSON.stringify(Query.attributeDelete(id))
|
|
24265
24392
|
}, __softDelete__);
|
|
24266
24393
|
case 6:
|
|
24267
|
-
data =
|
|
24268
|
-
return
|
|
24394
|
+
data = _context14.sent;
|
|
24395
|
+
return _context14.abrupt("return", _objectSpread2$1(_objectSpread2$1({}, defaultState.List), {}, {
|
|
24269
24396
|
data: data.result
|
|
24270
24397
|
}));
|
|
24271
24398
|
case 10:
|
|
24272
|
-
|
|
24273
|
-
|
|
24274
|
-
return
|
|
24275
|
-
message:
|
|
24399
|
+
_context14.prev = 10;
|
|
24400
|
+
_context14.t0 = _context14["catch"](2);
|
|
24401
|
+
return _context14.abrupt("return", rejectWithValue(_objectSpread2$1(_objectSpread2$1({}, defaultReject), {}, {
|
|
24402
|
+
message: _context14.t0.message
|
|
24276
24403
|
})));
|
|
24277
24404
|
case 13:
|
|
24278
24405
|
case "end":
|
|
24279
|
-
return
|
|
24406
|
+
return _context14.stop();
|
|
24280
24407
|
}
|
|
24281
24408
|
}
|
|
24282
|
-
},
|
|
24409
|
+
}, _callee14, null, [[2, 10]]);
|
|
24283
24410
|
})));
|
|
24284
24411
|
var orderCatalogSlice = createSlice({
|
|
24285
24412
|
name: "orderCatalogApiSlice",
|
|
@@ -24292,7 +24419,9 @@ var orderCatalogSlice = createSlice({
|
|
|
24292
24419
|
edit_order_catalog: _objectSpread2$1({}, defaultState.List),
|
|
24293
24420
|
attribute_delete: _objectSpread2$1({}, defaultState.List),
|
|
24294
24421
|
order_type_data: _objectSpread2$1({}, defaultState.List),
|
|
24295
|
-
entityTypeName: _objectSpread2$1({}, defaultState.List)
|
|
24422
|
+
entityTypeName: _objectSpread2$1({}, defaultState.List),
|
|
24423
|
+
order_catalog_grporind: _objectSpread2$1({}, defaultState.List),
|
|
24424
|
+
order_catalog_serviceItem: _objectSpread2$1({}, defaultState.List)
|
|
24296
24425
|
},
|
|
24297
24426
|
extraReducers: (_extraReducers$t = {}, _defineProperty(_extraReducers$t, ENTITY_NAME_DATA.fulfilled, function (state, action) {
|
|
24298
24427
|
state.entityTypeName.loading = false, state.entityTypeName.error = false, state.entityTypeName = action.payload;
|
|
@@ -24348,6 +24477,18 @@ var orderCatalogSlice = createSlice({
|
|
|
24348
24477
|
state.attribute_delete.loading = true, state.attribute_delete.error = false, state.attribute_delete.loading = true;
|
|
24349
24478
|
}), _defineProperty(_extraReducers$t, DELETE_ATTRIBUTE_DELETE.rejected, function (state, action) {
|
|
24350
24479
|
state.attribute_delete.loading = false, state.attribute_delete.error = true, state.attribute_delete = action.payload;
|
|
24480
|
+
}), _defineProperty(_extraReducers$t, ORDER_CATALOG_GRPORIND.fulfilled, function (state, action) {
|
|
24481
|
+
state.order_catalog_grporind.loading = false, state.order_catalog_grporind.error = false, state.order_catalog_grporind = action.payload;
|
|
24482
|
+
}), _defineProperty(_extraReducers$t, ORDER_CATALOG_GRPORIND.pending, function (state, action) {
|
|
24483
|
+
state.order_catalog_grporind.loading = true, state.order_catalog_grporind.error = false, state.order_catalog_grporind.loading = true;
|
|
24484
|
+
}), _defineProperty(_extraReducers$t, ORDER_CATALOG_GRPORIND.rejected, function (state, action) {
|
|
24485
|
+
state.order_catalog_grporind.loading = false, state.order_catalog_grporind.error = true, state.order_catalog_grporind = action.payload;
|
|
24486
|
+
}), _defineProperty(_extraReducers$t, ORDER_CATALOG_SERVICEITEM.fulfilled, function (state, action) {
|
|
24487
|
+
state.order_catalog_serviceItem.loading = false, state.order_catalog_serviceItem.error = false, state.order_catalog_serviceItem = action.payload;
|
|
24488
|
+
}), _defineProperty(_extraReducers$t, ORDER_CATALOG_SERVICEITEM.pending, function (state, action) {
|
|
24489
|
+
state.order_catalog_serviceItem.loading = true, state.order_catalog_serviceItem.error = false, state.order_catalog_serviceItem.loading = true;
|
|
24490
|
+
}), _defineProperty(_extraReducers$t, ORDER_CATALOG_SERVICEITEM.rejected, function (state, action) {
|
|
24491
|
+
state.order_catalog_serviceItem.loading = false, state.order_catalog_serviceItem.error = true, state.order_catalog_serviceItem = action.payload;
|
|
24351
24492
|
}), _extraReducers$t)
|
|
24352
24493
|
});
|
|
24353
24494
|
var orderCatalogActions = {
|
|
@@ -24359,7 +24500,9 @@ var orderCatalogActions = {
|
|
|
24359
24500
|
EDIT_ORDER_CATALOG: EDIT_ORDER_CATALOG,
|
|
24360
24501
|
DELETE_ATTRIBUTE_DELETE: DELETE_ATTRIBUTE_DELETE,
|
|
24361
24502
|
ORDER_TYPE_DATA: ORDER_TYPE_DATA,
|
|
24362
|
-
ENTITY_NAME_DATA: ENTITY_NAME_DATA
|
|
24503
|
+
ENTITY_NAME_DATA: ENTITY_NAME_DATA,
|
|
24504
|
+
ORDER_CATALOG_GRPORIND: ORDER_CATALOG_GRPORIND,
|
|
24505
|
+
ORDER_CATALOG_SERVICEITEM: ORDER_CATALOG_SERVICEITEM
|
|
24363
24506
|
};
|
|
24364
24507
|
var orderCatalogSlice$1 = orderCatalogSlice.reducer;
|
|
24365
24508
|
|
|
@@ -26631,8 +26774,8 @@ var queries$d = {
|
|
|
26631
26774
|
db_name: dbName$1,
|
|
26632
26775
|
entity: "Organization",
|
|
26633
26776
|
is_metadata: true,
|
|
26634
|
-
metadata_dbname:
|
|
26635
|
-
metadataId:
|
|
26777
|
+
metadata_dbname: metaDatadbName,
|
|
26778
|
+
metadataId: metaDataId,
|
|
26636
26779
|
filter: {
|
|
26637
26780
|
_key: "".concat(key)
|
|
26638
26781
|
},
|
|
@@ -27066,8 +27209,8 @@ var generateJson$8 = {
|
|
|
27066
27209
|
db_name: dbName$1,
|
|
27067
27210
|
entity: "Organization",
|
|
27068
27211
|
is_metadata: true,
|
|
27069
|
-
metadata_dbname:
|
|
27070
|
-
metadataId:
|
|
27212
|
+
metadata_dbname: metaDatadbName,
|
|
27213
|
+
metadataId: metaDataId
|
|
27071
27214
|
}, filter), {}, {
|
|
27072
27215
|
doc: _objectSpread2$1(_objectSpread2$1({
|
|
27073
27216
|
active: true,
|