@redneckz/wildless-cms-uni-blocks 0.14.889 → 0.14.890
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 +5 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/DebitForm/DebitFormProgress.js +3 -3
- package/dist/components/DebitForm/DebitFormProgress.js.map +1 -1
- package/dist/components/DebitForm/PendingStatusContent.js +1 -1
- package/dist/components/DebitForm/PendingStatusContent.js.map +1 -1
- package/lib/components/DebitForm/DebitFormProgress.js +4 -4
- package/lib/components/DebitForm/DebitFormProgress.js.map +1 -1
- package/lib/components/DebitForm/PendingStatusContent.js +1 -1
- package/lib/components/DebitForm/PendingStatusContent.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +5 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/DebitForm/DebitFormProgress.js +3 -3
- package/mobile/dist/components/DebitForm/DebitFormProgress.js.map +1 -1
- package/mobile/dist/components/DebitForm/PendingStatusContent.js +1 -1
- package/mobile/dist/components/DebitForm/PendingStatusContent.js.map +1 -1
- package/mobile/lib/components/DebitForm/DebitFormProgress.js +4 -4
- package/mobile/lib/components/DebitForm/DebitFormProgress.js.map +1 -1
- package/mobile/lib/components/DebitForm/PendingStatusContent.js +1 -1
- package/mobile/lib/components/DebitForm/PendingStatusContent.js.map +1 -1
- package/mobile/src/components/DebitForm/DebitFormProgress.tsx +4 -9
- package/mobile/src/components/DebitForm/PendingStatusContent.tsx +1 -1
- package/package.json +1 -1
- package/src/components/DebitForm/DebitFormProgress.tsx +4 -9
- package/src/components/DebitForm/PendingStatusContent.tsx +1 -1
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.DebitFormProgress = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
5
|
const ProgressBar_1 = require("../../ui-kit/ProgressBar/ProgressBar");
|
|
7
6
|
exports.DebitFormProgress = (0, uni_jsx_1.JSX)(({ step = 1, totalSteps = 2, stepsTitles = [] }) => {
|
|
8
|
-
const
|
|
9
|
-
|
|
7
|
+
const isFinalStep = step === totalSteps;
|
|
8
|
+
const progress = isFinalStep ? 100 : 85;
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "py-lg px-5xl bg-white col-span-12", children: [stepsTitles[step] || null, (0, jsx_runtime_1.jsx)(ProgressBar_1.ProgressBar, { step: progress, showPercentage: false })] }));
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=DebitFormProgress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebitFormProgress.js","sourceRoot":"","sources":["../../../src/components/DebitForm/DebitFormProgress.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"DebitFormProgress.js","sourceRoot":"","sources":["../../../src/components/DebitForm/DebitFormProgress.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,sEAAmE;AAQtD,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,EAAE,WAAW,GAAG,EAAE,EAAE,EAAE,EAAE;IACjD,MAAM,WAAW,GAAG,IAAI,KAAK,UAAU,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAExC,OAAO,CACL,iCAAK,SAAS,EAAC,mCAAmC,aAC/C,WAAW,CAAC,IAAI,CAAC,IAAI,IAAI,EAC1B,uBAAC,yBAAW,IAAC,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,GAAI,IAClD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,5 +3,5 @@ exports.PendingStatusContent = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const DebitFormStatus_1 = require("./DebitFormStatus");
|
|
6
|
-
exports.PendingStatusContent = (0, uni_jsx_1.JSX)(() => ((0, jsx_runtime_1.jsx)(DebitFormStatus_1.DebitFormStatus, { title: "\
|
|
6
|
+
exports.PendingStatusContent = (0, uni_jsx_1.JSX)(() => ((0, jsx_runtime_1.jsx)(DebitFormStatus_1.DebitFormStatus, { title: "\u041D\u0435 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443", description: "\u0418\u0434\u0451\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0434\u0430\u043D\u043D\u044B\u0445" })));
|
|
7
7
|
//# sourceMappingURL=PendingStatusContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PendingStatusContent.js","sourceRoot":"","sources":["../../../src/components/DebitForm/PendingStatusContent.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoD;AAEvC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EAAC,GAAG,EAAE,CAAC,CAC5C,uBAAC,iCAAe,IAAC,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"PendingStatusContent.js","sourceRoot":"","sources":["../../../src/components/DebitForm/PendingStatusContent.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoD;AAEvC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EAAC,GAAG,EAAE,CAAC,CAC5C,uBAAC,iCAAe,IAAC,KAAK,EAAC,gHAAsB,EAAC,WAAW,EAAC,gHAAsB,GAAG,CACpF,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
3
|
import { ProgressBar } from '../../ui-kit/ProgressBar/ProgressBar.js';
|
|
5
4
|
export const DebitFormProgress = JSX(({ step = 1, totalSteps = 2, stepsTitles = [] }) => {
|
|
6
|
-
const
|
|
7
|
-
|
|
5
|
+
const isFinalStep = step === totalSteps;
|
|
6
|
+
const progress = isFinalStep ? 100 : 85;
|
|
7
|
+
return (_jsxs("div", { className: "py-lg px-5xl bg-white col-span-12", children: [stepsTitles[step] || null, _jsx(ProgressBar, { step: progress, showPercentage: false })] }));
|
|
8
8
|
});
|
|
9
9
|
//# sourceMappingURL=DebitFormProgress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebitFormProgress.js","sourceRoot":"","sources":["../../../src/components/DebitForm/DebitFormProgress.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DebitFormProgress.js","sourceRoot":"","sources":["../../../src/components/DebitForm/DebitFormProgress.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAQnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,EAAE,WAAW,GAAG,EAAE,EAAE,EAAE,EAAE;IACjD,MAAM,WAAW,GAAG,IAAI,KAAK,UAAU,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAExC,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAC/C,WAAW,CAAC,IAAI,CAAC,IAAI,IAAI,EAC1B,KAAC,WAAW,IAAC,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,GAAI,IAClD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { DebitFormStatus } from './DebitFormStatus.js';
|
|
4
|
-
export const PendingStatusContent = JSX(() => (_jsx(DebitFormStatus, { title: "\
|
|
4
|
+
export const PendingStatusContent = JSX(() => (_jsx(DebitFormStatus, { title: "\u041D\u0435 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443", description: "\u0418\u0434\u0451\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0434\u0430\u043D\u043D\u044B\u0445" })));
|
|
5
5
|
//# sourceMappingURL=PendingStatusContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PendingStatusContent.js","sourceRoot":"","sources":["../../../src/components/DebitForm/PendingStatusContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAC,GAAG,EAAE,CAAC,CAC5C,KAAC,eAAe,IAAC,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"PendingStatusContent.js","sourceRoot":"","sources":["../../../src/components/DebitForm/PendingStatusContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAC,GAAG,EAAE,CAAC,CAC5C,KAAC,eAAe,IAAC,KAAK,EAAC,gHAAsB,EAAC,WAAW,EAAC,gHAAsB,GAAG,CACpF,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
2
|
import { ProgressBar } from '../../ui-kit/ProgressBar/ProgressBar';
|
|
4
3
|
|
|
5
4
|
export interface DebitFormProgressProps {
|
|
@@ -10,17 +9,13 @@ export interface DebitFormProgressProps {
|
|
|
10
9
|
|
|
11
10
|
export const DebitFormProgress = JSX<DebitFormProgressProps>(
|
|
12
11
|
({ step = 1, totalSteps = 2, stepsTitles = [] }) => {
|
|
13
|
-
const
|
|
12
|
+
const isFinalStep = step === totalSteps;
|
|
13
|
+
const progress = isFinalStep ? 100 : 85;
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
16
|
<div className="py-lg px-5xl bg-white col-span-12">
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Шаг {step} из {totalSteps}.
|
|
20
|
-
</span>
|
|
21
|
-
{stepsTitles[step] || null}
|
|
22
|
-
<ProgressBar step={progress} showPercentage={false} />
|
|
23
|
-
</div>
|
|
17
|
+
{stepsTitles[step] || null}
|
|
18
|
+
<ProgressBar step={progress} showPercentage={false} />
|
|
24
19
|
</div>
|
|
25
20
|
);
|
|
26
21
|
},
|
|
@@ -2,5 +2,5 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { DebitFormStatus } from './DebitFormStatus';
|
|
3
3
|
|
|
4
4
|
export const PendingStatusContent = JSX(() => (
|
|
5
|
-
<DebitFormStatus title="
|
|
5
|
+
<DebitFormStatus title="Не закрывайте заявку" description="Идёт проверка данных" />
|
|
6
6
|
));
|
package/package.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
2
|
import { ProgressBar } from '../../ui-kit/ProgressBar/ProgressBar';
|
|
4
3
|
|
|
5
4
|
export interface DebitFormProgressProps {
|
|
@@ -10,17 +9,13 @@ export interface DebitFormProgressProps {
|
|
|
10
9
|
|
|
11
10
|
export const DebitFormProgress = JSX<DebitFormProgressProps>(
|
|
12
11
|
({ step = 1, totalSteps = 2, stepsTitles = [] }) => {
|
|
13
|
-
const
|
|
12
|
+
const isFinalStep = step === totalSteps;
|
|
13
|
+
const progress = isFinalStep ? 100 : 85;
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
16
|
<div className="py-lg px-5xl bg-white col-span-12">
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Шаг {step} из {totalSteps}.
|
|
20
|
-
</span>
|
|
21
|
-
{stepsTitles[step] || null}
|
|
22
|
-
<ProgressBar step={progress} showPercentage={false} />
|
|
23
|
-
</div>
|
|
17
|
+
{stepsTitles[step] || null}
|
|
18
|
+
<ProgressBar step={progress} showPercentage={false} />
|
|
24
19
|
</div>
|
|
25
20
|
);
|
|
26
21
|
},
|
|
@@ -2,5 +2,5 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { DebitFormStatus } from './DebitFormStatus';
|
|
3
3
|
|
|
4
4
|
export const PendingStatusContent = JSX(() => (
|
|
5
|
-
<DebitFormStatus title="
|
|
5
|
+
<DebitFormStatus title="Не закрывайте заявку" description="Идёт проверка данных" />
|
|
6
6
|
));
|