primary_care_admin_binder 0.1.111 → 0.1.112
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 +3 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -23415,7 +23415,7 @@ var getAttributes = function getAttributes(data, attri) {
|
|
|
23415
23415
|
winlabelName: attri,
|
|
23416
23416
|
AttribComponents: [{
|
|
23417
23417
|
attribSeq: i + 1,
|
|
23418
|
-
attribCode: v.Attcode.
|
|
23418
|
+
attribCode: v.Attcode.value,
|
|
23419
23419
|
attribdefaultVal: v.defaultValue.label,
|
|
23420
23420
|
attribType: v.type,
|
|
23421
23421
|
attribLabel: v.label
|
|
@@ -23601,7 +23601,7 @@ var generateAttribute = function generateAttribute(data, state) {
|
|
|
23601
23601
|
var arr = data.map(function (v) {
|
|
23602
23602
|
return {
|
|
23603
23603
|
Attcode: state.order_catalog_masters.data.attrcode.find(function (sys) {
|
|
23604
|
-
return v.AttribComponents[0].attribCode.indexOf(sys.
|
|
23604
|
+
return v.AttribComponents[0].attribCode.indexOf(sys.value) > -1;
|
|
23605
23605
|
}),
|
|
23606
23606
|
label: v.AttribComponents[0].attribLabel,
|
|
23607
23607
|
type: v.AttribComponents[0].attribType,
|
|
@@ -23615,7 +23615,7 @@ var generateAttribute = function generateAttribute(data, state) {
|
|
|
23615
23615
|
};
|
|
23616
23616
|
var getDefautlValue = function getDefautlValue(v, attr) {
|
|
23617
23617
|
var obj = attr.find(function (sys) {
|
|
23618
|
-
return v.AttribComponents[0].attribCode.indexOf(sys.
|
|
23618
|
+
return v.AttribComponents[0].attribCode.indexOf(sys.value) > -1;
|
|
23619
23619
|
});
|
|
23620
23620
|
var value = obj.AttribValidValues.find(function (sys) {
|
|
23621
23621
|
return v.AttribComponents[0].attribdefaultVal.indexOf(sys.label) > -1;
|