@redneckz/wildless-cms-uni-blocks 0.14.1031 → 0.14.1032

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.
@@ -5,7 +5,6 @@ const TariffsTableRowContainer_1 = require("../../components/TariffsTable/Tariff
5
5
  const UniBlock_1 = require("../../UniBlock/UniBlock");
6
6
  const style_1 = require("../../utils/style");
7
7
  exports.RATES_COLUMN_STYLE = `grid grid-cols-3 gap-s`;
8
- exports.Rate = (0, UniBlock_1.UniBlock)(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('mb-s', exports.RATES_COLUMN_STYLE, TariffsTableRowContainer_1.DIVIDER_STYLE), children: [(0, jsx_runtime_1.jsx)("div", { children: formatCurrencyPair(currencyPair) }), (0, jsx_runtime_1.jsx)("div", { children: formatRate(buyRate) }), (0, jsx_runtime_1.jsx)("div", { children: formatRate(sellRate) })] })));
8
+ exports.Rate = (0, UniBlock_1.UniBlock)(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('mb-s', exports.RATES_COLUMN_STYLE, TariffsTableRowContainer_1.DIVIDER_STYLE), children: [(0, jsx_runtime_1.jsx)("div", { children: formatCurrencyPair(currencyPair) }), (0, jsx_runtime_1.jsx)("div", { children: buyRate }), (0, jsx_runtime_1.jsx)("div", { children: sellRate })] })));
9
9
  const formatCurrencyPair = (currency) => currency.replace('_TOD', '');
10
- const formatRate = (rate) => rate.toFixed(4);
11
10
  //# sourceMappingURL=Rate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rate.js","sourceRoot":"","sources":["../../../src/ui-kit/Rate/Rate.tsx"],"names":[],"mappings":";;;AAAA,qGAAuF;AACvF,sDAAmD;AAEnD,6CAA0C;AAW7B,QAAA,kBAAkB,GAAG,wBAAwB,CAAC;AAE9C,QAAA,IAAI,GAAG,IAAA,mBAAQ,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OfficesAtmsMapLayoutProps<T> extends ComponentType, TitleProps
16
16
  initFilterState?: InitFilterState;
17
17
  descriptionData?: AtmsDef;
18
18
  }
19
- export declare const OfficesAtmsMapLayout: import("@redneckz/uni-jsx").UNIComponent<OfficesAtmsMapLayoutProps<Atm | Branch | RemoteWorkplace>, any, any>;
19
+ export declare const OfficesAtmsMapLayout: import("@redneckz/uni-jsx").UNIComponent<OfficesAtmsMapLayoutProps<Branch | RemoteWorkplace | Atm>, any, any>;
20
20
  export declare const getFiltersWithNonEmptyData: (data: (Branch | Atm | RemoteWorkplace)[]) => string[];
@@ -3,7 +3,6 @@ import { DIVIDER_STYLE } from '../../components/TariffsTable/TariffsTableRowCont
3
3
  import { UniBlock } from '../../UniBlock/UniBlock.js';
4
4
  import { style } from '../../utils/style.js';
5
5
  export const RATES_COLUMN_STYLE = `grid grid-cols-3 gap-s`;
6
- export const Rate = UniBlock(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => (_jsxs("div", { className: style('mb-s', RATES_COLUMN_STYLE, DIVIDER_STYLE), children: [_jsx("div", { children: formatCurrencyPair(currencyPair) }), _jsx("div", { children: formatRate(buyRate) }), _jsx("div", { children: formatRate(sellRate) })] })));
6
+ export const Rate = UniBlock(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => (_jsxs("div", { className: style('mb-s', RATES_COLUMN_STYLE, DIVIDER_STYLE), children: [_jsx("div", { children: formatCurrencyPair(currencyPair) }), _jsx("div", { children: buyRate }), _jsx("div", { children: sellRate })] })));
7
7
  const formatCurrencyPair = (currency) => currency.replace('_TOD', '');
8
- const formatRate = (rate) => rate.toFixed(4);
9
8
  //# sourceMappingURL=Rate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rate.js","sourceRoot":"","sources":["../../../src/ui-kit/Rate/Rate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC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C9D,wBAAM,kBAAkB,CAAC,YAAY,CAAC,GAAO,EAC7C,wBAAM,OAAO,GAAO,EACpB,wBAAM,QAAQ,GAAO,IACjB,CACP,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CAAC,QAAgB,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC"}
@@ -13524,9 +13524,8 @@
13524
13524
  const TariffsTableRowContainer = JSX(({ children, tableInner, onClick }) => (jsxs("div", { className: style('self-start flex flex-col gap-xl', DIVIDER_STYLE), role: "row", children: [jsx("div", { className: style('flex flex-col lg:flex-row gap-x-5xl gap-y-xs'), children: children }), tableInner ? (jsx("div", { className: "origin-top animate-expansion", children: jsx(InnerTable, { ...tableInner, onClick: onClick }) })) : null] })));
13525
13525
 
13526
13526
  const RATES_COLUMN_STYLE = `grid grid-cols-3 gap-s`;
13527
- const Rate = UniBlock(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => (jsxs("div", { className: style('mb-s', RATES_COLUMN_STYLE, DIVIDER_STYLE), children: [jsx("div", { children: formatCurrencyPair(currencyPair) }), jsx("div", { children: formatRate(buyRate) }), jsx("div", { children: formatRate(sellRate) })] })));
13527
+ const Rate = UniBlock(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => (jsxs("div", { className: style('mb-s', RATES_COLUMN_STYLE, DIVIDER_STYLE), children: [jsx("div", { children: formatCurrencyPair(currencyPair) }), jsx("div", { children: buyRate }), jsx("div", { children: sellRate })] })));
13528
13528
  const formatCurrencyPair = (currency) => currency.replace('_TOD', '');
13529
- const formatRate = (rate) => rate.toFixed(4);
13530
13529
 
13531
13530
  const TIMEZONE = 'МСК';
13532
13531
  const renderDate = ({ dateString, isArchive = false }) => {
@@ -14387,7 +14386,7 @@
14387
14386
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
14388
14387
  });
14389
14388
 
14390
- const packageVersion = "0.14.1030";
14389
+ const packageVersion = "0.14.1031";
14391
14390
 
14392
14391
  exports.Blocks = Blocks;
14393
14392
  exports.ContentPage = ContentPage;