@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.
- package/bundle/bundle.umd.js +2 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ui-kit/Rate/Rate.js +1 -2
- package/dist/ui-kit/Rate/Rate.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/ui-kit/Rate/Rate.js +1 -2
- package/lib/ui-kit/Rate/Rate.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ui-kit/Rate/Rate.js +1 -2
- package/mobile/dist/ui-kit/Rate/Rate.js.map +1 -1
- package/mobile/lib/ui-kit/Rate/Rate.js +1 -2
- package/mobile/lib/ui-kit/Rate/Rate.js.map +1 -1
- package/mobile/src/ui-kit/Rate/Rate.tsx +2 -4
- package/package.json +1 -1
- package/src/ui-kit/Rate/Rate.tsx +2 -4
package/dist/ui-kit/Rate/Rate.js
CHANGED
|
@@ -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:
|
|
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,EAAY,CAAC,EAAE,YAAY,GAAG,EAAE,EAAE,OAAO,GAAG,CAAC,EAAE,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAC5F,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,MAAM,EAAE,0BAAkB,EAAE,wCAAa,CAAC,aAC9D,0CAAM,kBAAkB,CAAC,YAAY,CAAC,GAAO,EAC7C,0CAAM,
|
|
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,EAAY,CAAC,EAAE,YAAY,GAAG,EAAE,EAAE,OAAO,GAAG,CAAC,EAAE,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAC5F,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,MAAM,EAAE,0BAAkB,EAAE,wCAAa,CAAC,aAC9D,0CAAM,kBAAkB,CAAC,YAAY,CAAC,GAAO,EAC7C,0CAAM,OAAO,GAAO,EACpB,0CAAM,QAAQ,GAAO,IACjB,CACP,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CAAC,QAAgB,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC"}
|
|
@@ -16,5 +16,5 @@ export interface 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<
|
|
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[];
|
package/lib/ui-kit/Rate/Rate.js
CHANGED
|
@@ -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:
|
|
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;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAW1C,MAAM,CAAC,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AAE3D,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAY,CAAC,EAAE,YAAY,GAAG,EAAE,EAAE,OAAO,GAAG,CAAC,EAAE,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAC5F,eAAK,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,kBAAkB,EAAE,aAAa,CAAC,aAC9D,wBAAM,kBAAkB,CAAC,YAAY,CAAC,GAAO,EAC7C,wBAAM,
|
|
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;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAW1C,MAAM,CAAC,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AAE3D,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAY,CAAC,EAAE,YAAY,GAAG,EAAE,EAAE,OAAO,GAAG,CAAC,EAAE,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAC5F,eAAK,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,kBAAkB,EAAE,aAAa,CAAC,aAC9D,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:
|
|
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.
|
|
14389
|
+
const packageVersion = "0.14.1031";
|
|
14391
14390
|
|
|
14392
14391
|
exports.Blocks = Blocks;
|
|
14393
14392
|
exports.ContentPage = ContentPage;
|