@redneckz/wildless-cms-uni-blocks 0.14.237 → 0.14.239

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.
Files changed (33) hide show
  1. package/bundle/bundle.umd.js +20 -9
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +7 -7
  4. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +7 -7
  5. package/dist/components/OfficesAtmsMap/OfficesMap.js +7 -7
  6. package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  7. package/dist/hooks/useNavigateHandler.js +13 -1
  8. package/dist/hooks/useNavigateHandler.js.map +1 -1
  9. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +7 -7
  10. package/lib/components/OfficesAtmsMap/OfficesMap.js +7 -7
  11. package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  12. package/lib/hooks/useNavigateHandler.js +13 -1
  13. package/lib/hooks/useNavigateHandler.js.map +1 -1
  14. package/mobile/bundle/bundle.umd.js +20 -9
  15. package/mobile/bundle/bundle.umd.min.js +1 -1
  16. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +7 -7
  17. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +7 -7
  18. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js +7 -7
  19. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  20. package/mobile/dist/hooks/useNavigateHandler.js +13 -1
  21. package/mobile/dist/hooks/useNavigateHandler.js.map +1 -1
  22. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +7 -7
  23. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js +7 -7
  24. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  25. package/mobile/lib/hooks/useNavigateHandler.js +13 -1
  26. package/mobile/lib/hooks/useNavigateHandler.js.map +1 -1
  27. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +7 -7
  28. package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +7 -7
  29. package/mobile/src/hooks/useNavigateHandler.ts +15 -1
  30. package/package.json +2 -2
  31. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +7 -7
  32. package/src/components/OfficesAtmsMap/OfficesMap.tsx +7 -7
  33. package/src/hooks/useNavigateHandler.ts +15 -1
@@ -5124,13 +5124,13 @@
5124
5124
  };
5125
5125
  const FILTRATION_PREDICATES = {
5126
5126
  workingSaturday: (item) => Boolean(item.workSchedule?.workingSaturday),
5127
- premiumService: (item) => Boolean(item.workSchedule?.premiumService),
5128
- privateBanking: (item) => Boolean(item.workSchedule?.privateBanking),
5129
- sellingCoins: (item) => Boolean(item.workSchedule?.sellingCoins),
5130
- buyingCoins: (item) => Boolean(item.workSchedule?.buyingCoins),
5131
- bullionOperations: (item) => Boolean(item.workSchedule?.bullionOperations),
5132
- preciousMetalsOperations: (item) => Boolean(item.workSchedule?.preciousMetalsOperations),
5133
- transferringDataToBiometricSystem: (item) => Boolean(item.workSchedule?.transferringDataToBiometricSystem),
5127
+ premiumService: (item) => Boolean(item.premiumService),
5128
+ privateBanking: (item) => Boolean(item.privateBanking),
5129
+ sellingCoins: (item) => Boolean(item.sellingCoins),
5130
+ buyingCoins: (item) => Boolean(item.buyingCoins),
5131
+ bullionOperations: (item) => Boolean(item.bullionOperations),
5132
+ preciousMetalsOperations: (item) => Boolean(item.preciousMetalsOperations),
5133
+ transferringDataToBiometricSystem: (item) => Boolean(item.transferringDataToBiometricSystem),
5134
5134
  };
5135
5135
  const OfficesMap = JSX(({ className }) => {
5136
5136
  const [currentLocation] = useLocation();
@@ -5862,7 +5862,7 @@
5862
5862
  ev.stopPropagation();
5863
5863
  const url = adjustSessionQuery(element?.href) || element?.href;
5864
5864
  if (url) {
5865
- globalThis.location.href = url;
5865
+ goTransition(element?.target)?.(url);
5866
5866
  }
5867
5867
  }
5868
5868
  };
@@ -5873,6 +5873,17 @@
5873
5873
  }
5874
5874
  return _target;
5875
5875
  };
5876
+ const goTransition = tableFunc([
5877
+ [(_) => _ === '_blank', (url) => globalThis.open(url, '_blank')],
5878
+ [(_) => _ === '_parent', (url) => globalThis.parent && (globalThis.parent.location.href = url)],
5879
+ [
5880
+ (_) => _ === '_top',
5881
+ (url) => {
5882
+ globalThis.top && (globalThis.top.location.href = url);
5883
+ },
5884
+ ],
5885
+ [() => true, (url) => globalThis.location && (globalThis.location.href = url)],
5886
+ ]);
5876
5887
 
5877
5888
  const COOKIE_DIALOG_ID = 'cookie';
5878
5889
  const DIALOG_INITIAL_DELAY = 3 * 1000;
@@ -6024,7 +6035,7 @@
6024
6035
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6025
6036
  });
6026
6037
 
6027
- const packageVersion = "0.14.236";
6038
+ const packageVersion = "0.14.238";
6028
6039
 
6029
6040
  exports.Blocks = Blocks;
6030
6041
  exports.ContentPage = ContentPage;