tabexseriescomponents 0.2.1332 → 0.2.1333
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 +20 -1
- package/dist/index.esm.js +20 -1
- package/dist/index.umd.js +20 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22284,6 +22284,20 @@ var Filter$1 = function Filter(props) {
|
|
|
22284
22284
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
22285
22285
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
22286
22286
|
};
|
|
22287
|
+
var setCollectionFilterFunc_onecoll = function setCollectionFilterFunc_onecoll(collectionid) {
|
|
22288
|
+
var _tempfetchproductsfil5;
|
|
22289
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2m({}, ProductFilterObjContext);
|
|
22290
|
+
|
|
22291
|
+
// always keep only one collection selected
|
|
22292
|
+
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
22293
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
22294
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil5 === void 0 ? void 0 : _tempfetchproductsfil5.length) != 0) {
|
|
22295
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
22296
|
+
}
|
|
22297
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
22298
|
+
setProductFilterObjContext(_objectSpread$2m({}, tempfetchproductsfilerobjcontext));
|
|
22299
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
22300
|
+
};
|
|
22287
22301
|
React.useEffect(function () {
|
|
22288
22302
|
var _FetchAllVendorsQuery, _FetchAllVendorsQuery2, _FetchVendors_byprodu, _FetchVendors_byprodu2;
|
|
22289
22303
|
if (FetchAllVendorsQuery !== null && FetchAllVendorsQuery !== void 0 && FetchAllVendorsQuery.isSuccess && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = _FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 ? void 0 : _FetchAllVendorsQuery.vendors) != undefined && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery2 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.vendors) === null || _FetchAllVendorsQuery2 === void 0 ? void 0 : _FetchAllVendorsQuery2.length) != 0 && FetchVendors_byproductsQuery !== null && FetchVendors_byproductsQuery !== void 0 && FetchVendors_byproductsQuery.isSuccess && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu === void 0 || (_FetchVendors_byprodu = _FetchVendors_byprodu.data) === null || _FetchVendors_byprodu === void 0 ? void 0 : _FetchVendors_byprodu.vendors) != undefined && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu2 = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.vendors) === null || _FetchVendors_byprodu2 === void 0 ? void 0 : _FetchVendors_byprodu2.length) != 0) {
|
|
@@ -23610,7 +23624,12 @@ var Filter$1 = function Filter(props) {
|
|
|
23610
23624
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23611
23625
|
className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
|
|
23612
23626
|
onClick: function onClick() {
|
|
23613
|
-
|
|
23627
|
+
if (authdetailsContext.instinfo.instid == '690b53825ac09') {
|
|
23628
|
+
setCollectionFilterFunc_onecoll(item.collectionid);
|
|
23629
|
+
} else {
|
|
23630
|
+
setCollectionFilterFunc(item.collectionid);
|
|
23631
|
+
}
|
|
23632
|
+
// setCollectionFilterFunc(item.collectionid);
|
|
23614
23633
|
},
|
|
23615
23634
|
style: {
|
|
23616
23635
|
color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
|
package/dist/index.esm.js
CHANGED
|
@@ -22233,6 +22233,20 @@ var Filter$1 = function Filter(props) {
|
|
|
22233
22233
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
22234
22234
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
22235
22235
|
};
|
|
22236
|
+
var setCollectionFilterFunc_onecoll = function setCollectionFilterFunc_onecoll(collectionid) {
|
|
22237
|
+
var _tempfetchproductsfil5;
|
|
22238
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2m({}, ProductFilterObjContext);
|
|
22239
|
+
|
|
22240
|
+
// always keep only one collection selected
|
|
22241
|
+
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
22242
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
22243
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil5 === void 0 ? void 0 : _tempfetchproductsfil5.length) != 0) {
|
|
22244
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
22245
|
+
}
|
|
22246
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
22247
|
+
setProductFilterObjContext(_objectSpread$2m({}, tempfetchproductsfilerobjcontext));
|
|
22248
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
22249
|
+
};
|
|
22236
22250
|
useEffect(function () {
|
|
22237
22251
|
var _FetchAllVendorsQuery, _FetchAllVendorsQuery2, _FetchVendors_byprodu, _FetchVendors_byprodu2;
|
|
22238
22252
|
if (FetchAllVendorsQuery !== null && FetchAllVendorsQuery !== void 0 && FetchAllVendorsQuery.isSuccess && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = _FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 ? void 0 : _FetchAllVendorsQuery.vendors) != undefined && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery2 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.vendors) === null || _FetchAllVendorsQuery2 === void 0 ? void 0 : _FetchAllVendorsQuery2.length) != 0 && FetchVendors_byproductsQuery !== null && FetchVendors_byproductsQuery !== void 0 && FetchVendors_byproductsQuery.isSuccess && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu === void 0 || (_FetchVendors_byprodu = _FetchVendors_byprodu.data) === null || _FetchVendors_byprodu === void 0 ? void 0 : _FetchVendors_byprodu.vendors) != undefined && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu2 = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.vendors) === null || _FetchVendors_byprodu2 === void 0 ? void 0 : _FetchVendors_byprodu2.length) != 0) {
|
|
@@ -23559,7 +23573,12 @@ var Filter$1 = function Filter(props) {
|
|
|
23559
23573
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23560
23574
|
className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
|
|
23561
23575
|
onClick: function onClick() {
|
|
23562
|
-
|
|
23576
|
+
if (authdetailsContext.instinfo.instid == '690b53825ac09') {
|
|
23577
|
+
setCollectionFilterFunc_onecoll(item.collectionid);
|
|
23578
|
+
} else {
|
|
23579
|
+
setCollectionFilterFunc(item.collectionid);
|
|
23580
|
+
}
|
|
23581
|
+
// setCollectionFilterFunc(item.collectionid);
|
|
23563
23582
|
},
|
|
23564
23583
|
style: {
|
|
23565
23584
|
color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
|
package/dist/index.umd.js
CHANGED
|
@@ -22090,6 +22090,20 @@
|
|
|
22090
22090
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
22091
22091
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
22092
22092
|
};
|
|
22093
|
+
var setCollectionFilterFunc_onecoll = function setCollectionFilterFunc_onecoll(collectionid) {
|
|
22094
|
+
var _tempfetchproductsfil5;
|
|
22095
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2m({}, ProductFilterObjContext);
|
|
22096
|
+
|
|
22097
|
+
// always keep only one collection selected
|
|
22098
|
+
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
22099
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
22100
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil5 === void 0 ? void 0 : _tempfetchproductsfil5.length) != 0) {
|
|
22101
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
22102
|
+
}
|
|
22103
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
22104
|
+
setProductFilterObjContext(_objectSpread$2m({}, tempfetchproductsfilerobjcontext));
|
|
22105
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
22106
|
+
};
|
|
22093
22107
|
React.useEffect(function () {
|
|
22094
22108
|
var _FetchAllVendorsQuery, _FetchAllVendorsQuery2, _FetchVendors_byprodu, _FetchVendors_byprodu2;
|
|
22095
22109
|
if (FetchAllVendorsQuery !== null && FetchAllVendorsQuery !== void 0 && FetchAllVendorsQuery.isSuccess && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = _FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 ? void 0 : _FetchAllVendorsQuery.vendors) != undefined && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery2 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.vendors) === null || _FetchAllVendorsQuery2 === void 0 ? void 0 : _FetchAllVendorsQuery2.length) != 0 && FetchVendors_byproductsQuery !== null && FetchVendors_byproductsQuery !== void 0 && FetchVendors_byproductsQuery.isSuccess && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu === void 0 || (_FetchVendors_byprodu = _FetchVendors_byprodu.data) === null || _FetchVendors_byprodu === void 0 ? void 0 : _FetchVendors_byprodu.vendors) != undefined && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu2 = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.vendors) === null || _FetchVendors_byprodu2 === void 0 ? void 0 : _FetchVendors_byprodu2.length) != 0) {
|
|
@@ -23416,7 +23430,12 @@
|
|
|
23416
23430
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23417
23431
|
className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
|
|
23418
23432
|
onClick: function onClick() {
|
|
23419
|
-
|
|
23433
|
+
if (authdetailsContext.instinfo.instid == '690b53825ac09') {
|
|
23434
|
+
setCollectionFilterFunc_onecoll(item.collectionid);
|
|
23435
|
+
} else {
|
|
23436
|
+
setCollectionFilterFunc(item.collectionid);
|
|
23437
|
+
}
|
|
23438
|
+
// setCollectionFilterFunc(item.collectionid);
|
|
23420
23439
|
},
|
|
23421
23440
|
style: {
|
|
23422
23441
|
color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
|