@stokr/components-library 2.3.65-beta.1 → 2.3.65-beta.11
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/components/2FA/main-flow.js +28 -7
- package/dist/components/AdminDashboard/Table/ReactTable.js +123 -7
- package/dist/components/Chips/Chip.js +1 -2
- package/dist/components/Chips/Chip.styles.js +3 -2
- package/dist/components/Input/Input.js +33 -33
- package/dist/components/Input/MultiSelect.js +319 -0
- package/dist/components/Input/SearchInput.js +78 -0
- package/dist/components/Input/SearchInput.styles.js +25 -0
- package/dist/components/Input/Select.js +51 -28
- package/dist/components/Modal/SideModal.js +82 -0
- package/dist/components/Modal/SideModal.styles.js +21 -0
- package/dist/components/Payment/PaymentDetailsCard.js +189 -0
- package/dist/components/Payment/PaymentDisplay.js +2 -12
- package/dist/components/ProfileBox/ProfileBox.js +2 -1
- package/dist/components/Snackbar/Snackbar.js +193 -0
- package/dist/components/Snackbar/Snackbar.styles.js +97 -0
- package/dist/components/Snackbar/SnackbarProvider.js +81 -0
- package/dist/components/Snackbar/index.js +32 -0
- package/dist/components/Snackbar/useSnackbar.js +43 -0
- package/dist/components/StatusTag/StatusTag.js +175 -0
- package/dist/components/StatusTag/StatusTag.styles.js +37 -0
- package/dist/components/StepsProgress/StepIndicator.js +59 -0
- package/dist/components/StepsProgress/StepIndicator.styles.js +30 -0
- package/dist/components/TextLink/TextLink.styles.js +1 -1
- package/dist/components/Timeline/TimelineStep.js +2 -2
- package/dist/constants/globalVariables.js +41 -2
- package/dist/context/Checkbox/CheckboxContext.js +0 -1
- package/dist/index.js +66 -0
- package/dist/static/images/bmn2-logo.svg +9 -0
- package/dist/static/images/document-icon.svg +3 -0
- package/dist/static/images/plus-icon.svg +4 -0
- package/dist/static/images/search-icon.svg +3 -0
- package/dist/static/images/sent-icon.svg +10 -0
- package/dist/static/images/transfer-icon.svg +10 -0
- package/dist/utils/formatCurrencyValue.js +43 -3
- package/package.json +3 -2
- package/dist/components/2FA/EnterCode.stories.js +0 -35
- package/dist/components/2FA/disable-2fa-flow.stories.js +0 -31
- package/dist/components/2FA/enable-2fa-flow.stories.js +0 -31
- package/dist/components/2FA/login-with-otp-flow.stories.js +0 -31
- package/dist/components/2FA/main-flow.stories.js +0 -33
- package/dist/components/AccountBalance/AccountBalance.stories.js +0 -83
- package/dist/components/AdminDashboard/Table/ReactTable.stories.js +0 -406
- package/dist/components/AgreementItem/AgreementItem.stories.js +0 -105
- package/dist/components/AnalyticGraphs/Analytic.js +0 -541
- package/dist/components/AnalyticGraphs/Analytic.styles.js +0 -25
- package/dist/components/BackButton/BackButton.stories.js +0 -32
- package/dist/components/Background/Background.stories.js +0 -75
- package/dist/components/BarChart/BarChart.js +0 -263
- package/dist/components/BarChart/BarChart.stories.js +0 -66
- package/dist/components/BarChart/BarChart.styles.js +0 -26
- package/dist/components/BarChartLegend/BarChartLegend.js +0 -79
- package/dist/components/BarChartLegend/BarChartLegend.styles.js +0 -21
- package/dist/components/BasicTable/BasicTable.stories.js +0 -59
- package/dist/components/BlogPost/BlogPost.stories.js +0 -160
- package/dist/components/Button/Button.stories.js +0 -146
- package/dist/components/Button/GlareButton.stories.js +0 -132
- package/dist/components/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +0 -42
- package/dist/components/ChartBox/ChartBox.js +0 -41
- package/dist/components/ChartBox/ChartBox.stories.js +0 -17
- package/dist/components/ChartBox/ChartBox.styles.js +0 -27
- package/dist/components/ChartBox/ChartBoxDistribution.js +0 -27
- package/dist/components/ChartBox/ChartBoxDistribution.stories.js +0 -18
- package/dist/components/ChartLegend/ChartLegend.stories.js +0 -90
- package/dist/components/Checkbox/Checkbox.stories.js +0 -88
- package/dist/components/Checklist/ChecklistCard.stories.js +0 -102
- package/dist/components/Checklist/UserChecklist.js +0 -184
- package/dist/components/Checklist/UserChecklist.stories.js +0 -317
- package/dist/components/Chips/Chip.stories.js +0 -36
- package/dist/components/Chips/ChipsWrapper.stories.js +0 -47
- package/dist/components/ComponentScroll/ComponentScroll.stories.js +0 -111
- package/dist/components/CryptoAddress/CryptoAddress.stories.js +0 -205
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.stories.js +0 -70
- package/dist/components/DonutChart/DonutChart.stories.js +0 -54
- package/dist/components/FAQ/FAQ.stories.js +0 -76
- package/dist/components/Footer/Footer.stories.js +0 -49
- package/dist/components/Footer/FooterLayout.stories.js +0 -26
- package/dist/components/Footer/FooterMenu.stories.js +0 -113
- package/dist/components/Footer/mangopay.png +0 -0
- package/dist/components/Footer/mangopay.svg +0 -20
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.stories.js +0 -69
- package/dist/components/Form/Form.stories.js +0 -32
- package/dist/components/FullscreenCard/FullscreenCard.styles.js +0 -27
- package/dist/components/Header/Header.stories.js +0 -192
- package/dist/components/InfoIcon/InfoIcon.stories.js +0 -299
- package/dist/components/InfoPanel/InfoPanel.js +0 -124
- package/dist/components/Input/DatePickerInput.stories.js +0 -87
- package/dist/components/Input/Input.stories.js +0 -142
- package/dist/components/Input/InputPassword.stories.js +0 -80
- package/dist/components/Input/InputWithButton.stories.js +0 -75
- package/dist/components/Input/OtpInput.stories.js +0 -57
- package/dist/components/Input/RangeInput.stories.js +0 -58
- package/dist/components/Input/Select.stories.js +0 -139
- package/dist/components/InvestCalculator/InvestCalculator.stories.js +0 -135
- package/dist/components/InvestmentStat/InvestmentStat.stories.js +0 -52
- package/dist/components/KYCFlow/BasicInfo.js +0 -448
- package/dist/components/KYCFlow/Confirmation.js +0 -46
- package/dist/components/KYCFlow/DocumentFileUpload.js +0 -263
- package/dist/components/KYCFlow/DocumentScan.js +0 -75
- package/dist/components/KYCFlow/DocumentScanUpload.js +0 -251
- package/dist/components/KYCFlow/DocumentSelect.js +0 -118
- package/dist/components/KYCFlow/DocumentSuccess.js +0 -63
- package/dist/components/KYCFlow/DocumentUpload.js +0 -53
- package/dist/components/KYCFlow/DocumentVerificationType.js +0 -131
- package/dist/components/KYCFlow/FaceScan.js +0 -54
- package/dist/components/KYCFlow/FaceScanRecognition.js +0 -61
- package/dist/components/KYCFlow/FaceScanSuccess.js +0 -56
- package/dist/components/KYCFlow/Terms.js +0 -119
- package/dist/components/KYCFlow/_styles.js +0 -111
- package/dist/components/KYCFlow/index.js +0 -97
- package/dist/components/KYCSelectBox/KYCSelectBox.styles.js +0 -29
- package/dist/components/LatestUpdate/LatestUpdate.stories.js +0 -58
- package/dist/components/Layout/Layout.stories.js +0 -60
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.stories.js +0 -66
- package/dist/components/LearnMorePage/LearnMore.stories.js +0 -48
- package/dist/components/LearnMorePage/LearnMoreItem.stories.js +0 -62
- package/dist/components/LearnMoreSection/LearnMore.stories.js +0 -30
- package/dist/components/LearnMoreSection/LearnMoreItem.stories.js +0 -59
- package/dist/components/LoginModal/LoginModal.stories.js +0 -74
- package/dist/components/MatomoConnect/Matomo.js +0 -228
- package/dist/components/MatomoConnect/Matomo_fuckup.js +0 -387
- package/dist/components/Modal/Modal.stories.js +0 -75
- package/dist/components/Modal/NewVentureModal/NewVentureModal.stories.js +0 -150
- package/dist/components/Modal/PaymentModal.stories.js +0 -57
- package/dist/components/MultiProgressBar/MultiProgressBar.stories.js +0 -67
- package/dist/components/Newsletter/Newsletter.stories.js +0 -16
- package/dist/components/NotificationContext/NotificationContext.js +0 -141
- package/dist/components/Number/Number.stories.js +0 -92
- package/dist/components/Pagination/Pagination.stories.js +0 -83
- package/dist/components/Pagination/PaginationControls.stories.js +0 -112
- package/dist/components/Payment/PaymentDisplay.stories.js +0 -302
- package/dist/components/Payment/TimerComponent.stories.js +0 -236
- package/dist/components/Process/Process.stories.js +0 -42
- package/dist/components/ProfileBadge/ProfileBadge.stories.js +0 -45
- package/dist/components/ProfileBox/ProfileBox.stories.js +0 -35
- package/dist/components/ProfileHeader/ProfileHeader.js +0 -252
- package/dist/components/ProfileHeader/ProfileHeader.styles.js +0 -65
- package/dist/components/ProfileStat/ProfileStat.stories.js +0 -66
- package/dist/components/ProofOfAddress/ProofOfAddress.styles.js +0 -53
- package/dist/components/QRCode/QRCode.stories.js +0 -104
- package/dist/components/Radio/Radio.stories.js +0 -73
- package/dist/components/RefreshButton/RefreshButton.stories.js +0 -38
- package/dist/components/RegisterAlgorand/AlgoAddressName.js +0 -138
- package/dist/components/RegisterAlgorand/AlgoAdressSelect.js +0 -443
- package/dist/components/RegisterAlgorand/AlgoConnectWallet.js +0 -47
- package/dist/components/RegisterAlgorand/AlgoSuccess.js +0 -38
- package/dist/components/RegisterAlgorand/Algorand.stories.js +0 -80
- package/dist/components/RegisterAlgorand/ChooseWallet.js +0 -97
- package/dist/components/RegisterAlgorand/SelectProject.js +0 -89
- package/dist/components/RegisterAlgorand/_styles.js +0 -28
- package/dist/components/RegisterAlgorand/flow.js +0 -409
- package/dist/components/RegisterAlgorand/flowWithMemo.js +0 -410
- package/dist/components/RegisterAlgorand/index.js +0 -48
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.stories.js +0 -41
- package/dist/components/RegisterEthereum/EthAddressLedger.js +0 -226
- package/dist/components/RegisterEthereum/EthAddressMetamask.js +0 -204
- package/dist/components/RegisterEthereum/EthAddressName.js +0 -135
- package/dist/components/RegisterEthereum/EthConnectLedger.js +0 -194
- package/dist/components/RegisterEthereum/EthConnectMetamask.js +0 -35
- package/dist/components/RegisterEthereum/EthFinish.js +0 -41
- package/dist/components/RegisterEthereum/EthIntro.js +0 -95
- package/dist/components/RegisterEthereum/_styles.js +0 -28
- package/dist/components/RegisterEthereum/index.js +0 -68
- package/dist/components/RegisterModal/RegisterModal.stories.js +0 -49
- package/dist/components/RequestDataBox/RequestDataBox.stories.js +0 -37
- package/dist/components/RiskQuestionnaire/RiskQuestionnaireContext.js +0 -185
- package/dist/components/RiskQuestionnaire/_styles.js +0 -15
- package/dist/components/SEO/SEO.stories.js +0 -60
- package/dist/components/SideLine/SideLine.stories.js +0 -28
- package/dist/components/SigningSubflow/SignSubAddressMetamask.js +0 -137
- package/dist/components/SigningSubflow/SignSubConnectLedger.js +0 -150
- package/dist/components/SigningSubflow/SignSubConnectMetamask.js +0 -137
- package/dist/components/SigningSubflow/SignSubIntro.js +0 -55
- package/dist/components/SigningSubflow/SignSubSendLedger.js +0 -150
- package/dist/components/SigningSubflow/SignSubSendMetamask.js +0 -62
- package/dist/components/SigningSubflow/SignSubTransactionLedger.js +0 -161
- package/dist/components/SigningSubflow/SignSubTransactionMetamask.js +0 -166
- package/dist/components/SigningSubflow/_styles.js +0 -34
- package/dist/components/SigningSubflow/index.js +0 -32
- package/dist/components/Slider/Slider.stories.js +0 -68
- package/dist/components/StepController/StepController.stories.js +0 -60
- package/dist/components/StepController/StepControllerProgress.stories.js +0 -49
- package/dist/components/StepsProgress/StepsProgress.stories.js +0 -49
- package/dist/components/Switch/Switch.stories.js +0 -81
- package/dist/components/Tabs/Tabs.stories.js +0 -36
- package/dist/components/TabsNav/TabNav.stories.js +0 -40
- package/dist/components/TabsNav/TabsNav.stories.js +0 -37
- package/dist/components/TeamOverview/TeamOverview.stories.js +0 -76
- package/dist/components/TermsModal/TermsModal.stories.js +0 -31
- package/dist/components/Text/Headline.stories.js +0 -48
- package/dist/components/Text/Text.stories.js +0 -70
- package/dist/components/Timeline/Timeline.stories.js +0 -393
- package/dist/components/ToDoList/ToDoList.stories.js +0 -133
- package/dist/components/ToDoList/ToDoListTask.stories.js +0 -70
- package/dist/components/TransactionDetails/TransactionDetails.stories.js +0 -55
- package/dist/components/TransactionDetails/TransactionDetailsTable.stories.js +0 -305
- package/dist/components/TransactionInfo/TransactionInfo.stories.js +0 -61
- package/dist/components/TwoFactorModal/TwoFactorModal.js +0 -100
- package/dist/components/VerifyEmailModal/VerifyEmailModal.stories.js +0 -59
- package/dist/components/headerHo/HeaderHo.stories.js +0 -35
- package/dist/components/icons/Arrow.stories.js +0 -42
- package/dist/components/icons/ArrowSimple.stories.js +0 -48
- package/dist/components/icons/Check.stories.js +0 -22
- package/dist/components/icons/Facebook.stories.js +0 -21
- package/dist/components/icons/Facebook_Logo.png +0 -0
- package/dist/components/icons/Info.stories.js +0 -16
- package/dist/components/icons/Instagram.stories.js +0 -21
- package/dist/components/icons/LI-In-Bug.png +0 -0
- package/dist/components/icons/LinkIcon.stories.js +0 -21
- package/dist/components/icons/LinkedIn.stories.js +0 -16
- package/dist/components/icons/Medium.stories.js +0 -16
- package/dist/components/icons/Reddit.stories.js +0 -21
- package/dist/components/icons/Share.stories.js +0 -16
- package/dist/components/icons/Telegram-Logo.png +0 -0
- package/dist/components/icons/Telegram.stories.js +0 -16
- package/dist/components/icons/Twitter.stories.js +0 -21
- package/dist/components/icons/X-logo-black.png +0 -0
- package/dist/components/icons/X.stories.js +0 -16
- package/dist/components/icons/Youtube.stories.js +0 -21
- package/dist/components/icons/youtube_social_circle_red.png +0 -0
- package/dist/components/taxId/TaxId.stories.js +0 -50
- package/dist/components/video/Video.stories.js +0 -52
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.TabsNavExample = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _TabsNav = require("./TabsNav");
|
|
9
|
-
var _Number = _interopRequireDefault(require("../Number/Number"));
|
|
10
|
-
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
var _default = exports.default = {
|
|
13
|
-
title: 'Components Library/Tabs/TabsNav',
|
|
14
|
-
component: _TabsNav.TabsNav,
|
|
15
|
-
argTypes: {
|
|
16
|
-
children: {
|
|
17
|
-
type: 'node',
|
|
18
|
-
defaultValue: [],
|
|
19
|
-
required: true
|
|
20
|
-
},
|
|
21
|
-
activeTab: {
|
|
22
|
-
type: 'array of numbers',
|
|
23
|
-
defaultValue: []
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// handleItemClick: { type: 'function', action: 'handleItemClick' },
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(_TabsNav.TabsNav, args));
|
|
30
|
-
const TabsNavExample = exports.TabsNavExample = Template.bind({});
|
|
31
|
-
TabsNavExample.args = {
|
|
32
|
-
children: [/*#__PURE__*/_react.default.createElement(_Number.default, null), /*#__PURE__*/_react.default.createElement(_Number.default, null), /*#__PURE__*/_react.default.createElement(_Number.default, null)],
|
|
33
|
-
activeTab: [1]
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
// //doublecheck:
|
|
37
|
-
// // less visible than in TabNav ( activeTab not showing)
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.TeamOverviewOverview = exports.TeamOverviewExample = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _TeamOverview = require("./TeamOverview");
|
|
9
|
-
var _ComponentWrapper = require("../ComponentWrapper/ComponentWrapper.styles");
|
|
10
|
-
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
var _default = exports.default = {
|
|
13
|
-
title: 'Components Library/Team Overview',
|
|
14
|
-
component: _TeamOverview.TeamOverview,
|
|
15
|
-
argTypes: {
|
|
16
|
-
name: {
|
|
17
|
-
type: 'string',
|
|
18
|
-
defaultValue: ''
|
|
19
|
-
},
|
|
20
|
-
memberrole: {
|
|
21
|
-
type: 'string'
|
|
22
|
-
},
|
|
23
|
-
avatar: {
|
|
24
|
-
type: 'string',
|
|
25
|
-
defaultValue: ''
|
|
26
|
-
},
|
|
27
|
-
email: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
defaultValue: ''
|
|
30
|
-
},
|
|
31
|
-
position: {
|
|
32
|
-
type: 'string',
|
|
33
|
-
defaultValue: ''
|
|
34
|
-
},
|
|
35
|
-
projectName: {
|
|
36
|
-
type: 'string',
|
|
37
|
-
defaultValue: ''
|
|
38
|
-
},
|
|
39
|
-
stats: {
|
|
40
|
-
type: 'array of shape',
|
|
41
|
-
defaultValue: [{
|
|
42
|
-
name: ''
|
|
43
|
-
}, {
|
|
44
|
-
count: 0
|
|
45
|
-
}],
|
|
46
|
-
required: true
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_TeamOverview.TeamOverview, args)));
|
|
51
|
-
const TeamOverviewExample = exports.TeamOverviewExample = Template.bind({});
|
|
52
|
-
TeamOverviewExample.args = {
|
|
53
|
-
name: 'John Doe',
|
|
54
|
-
memberrole: 'Memberrole',
|
|
55
|
-
avatar: 'Avatar',
|
|
56
|
-
email: 'john@doe.com',
|
|
57
|
-
position: 'Chief',
|
|
58
|
-
projectName: 'Aquarius is Raising',
|
|
59
|
-
stats: [{
|
|
60
|
-
count: 15,
|
|
61
|
-
name: 'Stat Name'
|
|
62
|
-
}]
|
|
63
|
-
};
|
|
64
|
-
const TeamOverviewOverview = exports.TeamOverviewOverview = Template.bind({});
|
|
65
|
-
TeamOverviewOverview.args = {
|
|
66
|
-
name: 'Name',
|
|
67
|
-
memberrole: 'Memberrole ',
|
|
68
|
-
avatar: 'Avatar',
|
|
69
|
-
email: 'Email',
|
|
70
|
-
position: 'Position',
|
|
71
|
-
projectName: 'Project Name',
|
|
72
|
-
stats: [{
|
|
73
|
-
count: 1,
|
|
74
|
-
name: 'Stat Name'
|
|
75
|
-
}]
|
|
76
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.TermsModalDefault = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _TermsModal = require("./TermsModal");
|
|
9
|
-
var _ComponentWrapper = require("../ComponentWrapper/ComponentWrapper.styles");
|
|
10
|
-
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
11
|
-
var _reactRouterDom = require("react-router-dom");
|
|
12
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
var _default = exports.default = {
|
|
14
|
-
title: 'Components Library/Terms Modal',
|
|
15
|
-
component: _TermsModal.TermsModal,
|
|
16
|
-
argTypes: {
|
|
17
|
-
isModalOpen: {
|
|
18
|
-
type: 'boolean',
|
|
19
|
-
defaultValue: true,
|
|
20
|
-
required: true
|
|
21
|
-
},
|
|
22
|
-
onModalClose: {
|
|
23
|
-
type: 'function',
|
|
24
|
-
action: 'onModalClose',
|
|
25
|
-
required: true
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactRouterDom.BrowserRouter, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_TermsModal.TermsModal, args))));
|
|
30
|
-
const TermsModalDefault = exports.TermsModalDefault = Template.bind({});
|
|
31
|
-
TermsModalDefault.args = {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.headline = exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _Headline = _interopRequireDefault(require("./Headline"));
|
|
9
|
-
var _Text = _interopRequireDefault(require("./Text.styles"));
|
|
10
|
-
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
var _default = exports.default = {
|
|
13
|
-
title: 'Components Library/Headline',
|
|
14
|
-
component: _Headline.default,
|
|
15
|
-
argTypes: {
|
|
16
|
-
h1: {
|
|
17
|
-
type: 'style'
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(_Headline.default, args));
|
|
22
|
-
const headline = exports.headline = Template.bind({});
|
|
23
|
-
headline.args = {};
|
|
24
|
-
|
|
25
|
-
//doublecheck:
|
|
26
|
-
|
|
27
|
-
//maybe its only style and I don't need it
|
|
28
|
-
//
|
|
29
|
-
//maybe only Text.stories.js?
|
|
30
|
-
//
|
|
31
|
-
//put css into template?
|
|
32
|
-
// export default {
|
|
33
|
-
// title: 'Components Library/Headline',
|
|
34
|
-
// component: Headline,
|
|
35
|
-
// argTypes: {
|
|
36
|
-
// headline: { type: 'string', defaultValue: 'HEADLINE' },
|
|
37
|
-
// style: {
|
|
38
|
-
// defaultValue: { marginBottom: 10 },
|
|
39
|
-
// },
|
|
40
|
-
// },
|
|
41
|
-
// }
|
|
42
|
-
|
|
43
|
-
//Helpers?
|
|
44
|
-
|
|
45
|
-
//Basically make all the headline options here,
|
|
46
|
-
//controlled styles for h1-5 etc
|
|
47
|
-
//and then import the story into where headlines are used?
|
|
48
|
-
//or just don't make it and only use it where used
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.headline = exports.default = exports.caption = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _Text = _interopRequireDefault(require("./Text.styles"));
|
|
9
|
-
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
var _default = exports.default = {
|
|
12
|
-
title: 'Components Library/Text',
|
|
13
|
-
component: _Text.default,
|
|
14
|
-
argTypes: {
|
|
15
|
-
h1: {
|
|
16
|
-
type: 'style'
|
|
17
|
-
},
|
|
18
|
-
h2: {
|
|
19
|
-
type: 'style'
|
|
20
|
-
},
|
|
21
|
-
h3: {
|
|
22
|
-
type: 'style'
|
|
23
|
-
},
|
|
24
|
-
h4: {
|
|
25
|
-
type: 'style'
|
|
26
|
-
},
|
|
27
|
-
h5: {
|
|
28
|
-
type: 'style'
|
|
29
|
-
},
|
|
30
|
-
p: {
|
|
31
|
-
type: 'style'
|
|
32
|
-
},
|
|
33
|
-
a: {
|
|
34
|
-
type: 'style'
|
|
35
|
-
},
|
|
36
|
-
ul: {
|
|
37
|
-
type: 'style'
|
|
38
|
-
},
|
|
39
|
-
li: {
|
|
40
|
-
type: 'style'
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(_Text.default, args));
|
|
45
|
-
const headline = exports.headline = Template.bind({});
|
|
46
|
-
headline.args = {
|
|
47
|
-
children: 'hahha',
|
|
48
|
-
as: 'h1'
|
|
49
|
-
};
|
|
50
|
-
const caption = exports.caption = Template.bind({});
|
|
51
|
-
caption.args = {};
|
|
52
|
-
|
|
53
|
-
//doublecheck:
|
|
54
|
-
//maybe its only style and I don't need it
|
|
55
|
-
//
|
|
56
|
-
//maybe only StyledText.stories.js?
|
|
57
|
-
//
|
|
58
|
-
//put css into template?
|
|
59
|
-
// export default {
|
|
60
|
-
// title: 'Components Library/Headline',
|
|
61
|
-
// component: Headline,
|
|
62
|
-
// argTypes: {
|
|
63
|
-
// headline: { type: 'string', defaultValue: 'HEADLINE' },
|
|
64
|
-
// style: {
|
|
65
|
-
// defaultValue: { marginBottom: 10 },
|
|
66
|
-
// },
|
|
67
|
-
// },
|
|
68
|
-
// }
|
|
69
|
-
|
|
70
|
-
//Helpers?
|
|
@@ -1,393 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.WithoutTooltips = exports.SimpleTimeline = exports.PendingState = exports.PayoutDeclined = exports.PayoutConfirmed = exports.LongCaptions = exports.InitiatedState = exports.DeclinedState = exports.CustomWidth = exports.CustomStyling = exports.CancelledState = exports.AllStates = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _Timeline = require("./Timeline");
|
|
9
|
-
var _ComponentWrapper = require("../ComponentWrapper/ComponentWrapper.styles");
|
|
10
|
-
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
11
|
-
var _moment = require("../../utils/moment");
|
|
12
|
-
var _colors = _interopRequireDefault(require("../../styles/colors"));
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
var _default = exports.default = {
|
|
15
|
-
title: 'Components Library/Timeline',
|
|
16
|
-
component: _Timeline.Timeline,
|
|
17
|
-
argTypes: {
|
|
18
|
-
steps: {
|
|
19
|
-
control: 'object',
|
|
20
|
-
description: 'Array of step objects with state, date, title, tooltip, and caption'
|
|
21
|
-
},
|
|
22
|
-
maxWidth: {
|
|
23
|
-
control: 'text',
|
|
24
|
-
description: 'Maximum width of the timeline container'
|
|
25
|
-
},
|
|
26
|
-
showInfoIcons: {
|
|
27
|
-
control: 'boolean',
|
|
28
|
-
description: 'Show/hide info icons for tooltips',
|
|
29
|
-
defaultValue: true
|
|
30
|
-
},
|
|
31
|
-
infoIconPosition: {
|
|
32
|
-
control: 'select',
|
|
33
|
-
options: ['top', 'bottom', 'left', 'right'],
|
|
34
|
-
description: 'Position of tooltip relative to info icon'
|
|
35
|
-
},
|
|
36
|
-
containerStyle: {
|
|
37
|
-
control: 'object',
|
|
38
|
-
description: 'Style object for the timeline container'
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
decorators: [Story => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(Story, null)))]
|
|
42
|
-
};
|
|
43
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_Timeline.Timeline, args);
|
|
44
|
-
|
|
45
|
-
// Pending state (first step active)
|
|
46
|
-
const PendingState = exports.PendingState = Template.bind({});
|
|
47
|
-
PendingState.args = {
|
|
48
|
-
steps: [{
|
|
49
|
-
id: 'pending',
|
|
50
|
-
date: '2025-08-10T11:57:00',
|
|
51
|
-
title: 'Pending',
|
|
52
|
-
tooltip: 'Payout is pending your confirmation',
|
|
53
|
-
caption: 'Payout is pending your confirmation.'
|
|
54
|
-
}, {
|
|
55
|
-
id: 'initiated',
|
|
56
|
-
state: 'inactive',
|
|
57
|
-
title: 'Initiated',
|
|
58
|
-
tooltip: 'Payout initiation information'
|
|
59
|
-
}, {
|
|
60
|
-
id: 'payout-confirmed',
|
|
61
|
-
state: 'inactive',
|
|
62
|
-
title: 'Payout Confirmed',
|
|
63
|
-
tooltip: 'Payout confirmation information'
|
|
64
|
-
}, {
|
|
65
|
-
id: 'paid-out',
|
|
66
|
-
state: 'inactive',
|
|
67
|
-
title: 'Paid out',
|
|
68
|
-
tooltip: 'Payout completion information'
|
|
69
|
-
}]
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
// Initiated state (first two steps completed/active)
|
|
73
|
-
const InitiatedState = exports.InitiatedState = Template.bind({});
|
|
74
|
-
InitiatedState.args = {
|
|
75
|
-
steps: [{
|
|
76
|
-
id: 'pending',
|
|
77
|
-
state: 'completed',
|
|
78
|
-
date: '2025-08-10T11:57:00',
|
|
79
|
-
title: 'Pending',
|
|
80
|
-
tooltip: 'Payout was pending'
|
|
81
|
-
}, {
|
|
82
|
-
id: 'initiated',
|
|
83
|
-
date: '2025-08-12T11:57:00',
|
|
84
|
-
title: 'Initiated',
|
|
85
|
-
tooltip: 'Awaiting your confirmation',
|
|
86
|
-
caption: 'Awaiting your confirmation.'
|
|
87
|
-
}, {
|
|
88
|
-
id: 'transferee-notified',
|
|
89
|
-
state: 'inactive',
|
|
90
|
-
title: 'Transferee notified',
|
|
91
|
-
tooltip: 'Transferee notification information'
|
|
92
|
-
}, {
|
|
93
|
-
id: 'payout-confirmed',
|
|
94
|
-
state: 'inactive',
|
|
95
|
-
title: 'Payout Confirmed',
|
|
96
|
-
tooltip: 'Payout confirmation information'
|
|
97
|
-
}, {
|
|
98
|
-
id: 'paid-out',
|
|
99
|
-
state: 'inactive',
|
|
100
|
-
title: 'Paid out',
|
|
101
|
-
tooltip: 'Payout completion information'
|
|
102
|
-
}]
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
// Payout Declined (failed state)
|
|
106
|
-
const PayoutDeclined = exports.PayoutDeclined = Template.bind({});
|
|
107
|
-
PayoutDeclined.args = {
|
|
108
|
-
steps: [{
|
|
109
|
-
id: 'pending',
|
|
110
|
-
state: 'completed',
|
|
111
|
-
date: '2025-08-10T11:57:00',
|
|
112
|
-
title: 'Pending',
|
|
113
|
-
tooltip: 'Payout was pending'
|
|
114
|
-
}, {
|
|
115
|
-
id: 'initiated',
|
|
116
|
-
state: 'completed',
|
|
117
|
-
date: '2025-08-12T11:57:00',
|
|
118
|
-
title: 'Initiated',
|
|
119
|
-
tooltip: 'Payout was initiated'
|
|
120
|
-
}, {
|
|
121
|
-
id: 'transferee-notified',
|
|
122
|
-
state: 'completed',
|
|
123
|
-
date: '2025-08-14T07:12:00',
|
|
124
|
-
title: 'Transferee notified',
|
|
125
|
-
tooltip: 'Transferee was notified',
|
|
126
|
-
caption: 'Change text'
|
|
127
|
-
}, {
|
|
128
|
-
id: 'payout-declined',
|
|
129
|
-
state: 'failed',
|
|
130
|
-
date: '2025-08-16T21:39:00',
|
|
131
|
-
title: 'Payout Declined',
|
|
132
|
-
tooltip: 'Payout was declined',
|
|
133
|
-
caption: 'Transferee declined the payout.'
|
|
134
|
-
}, {
|
|
135
|
-
id: 'paid-out',
|
|
136
|
-
state: 'inactive',
|
|
137
|
-
title: 'Paid out',
|
|
138
|
-
tooltip: 'Payout completion information'
|
|
139
|
-
}]
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
// Payout Confirmed (successful flow)
|
|
143
|
-
const PayoutConfirmed = exports.PayoutConfirmed = Template.bind({});
|
|
144
|
-
PayoutConfirmed.args = {
|
|
145
|
-
steps: [{
|
|
146
|
-
id: 'pending',
|
|
147
|
-
state: 'completed',
|
|
148
|
-
date: '2025-08-10T11:57:00',
|
|
149
|
-
title: 'Pending',
|
|
150
|
-
tooltip: 'Payout was pending'
|
|
151
|
-
}, {
|
|
152
|
-
id: 'initiated',
|
|
153
|
-
state: 'completed',
|
|
154
|
-
date: '2025-08-12T11:57:00',
|
|
155
|
-
title: 'Initiated',
|
|
156
|
-
tooltip: 'Payout was initiated'
|
|
157
|
-
}, {
|
|
158
|
-
id: 'transferee-notified',
|
|
159
|
-
state: 'completed',
|
|
160
|
-
date: '2025-08-14T07:12:00',
|
|
161
|
-
title: 'Transferee notified',
|
|
162
|
-
tooltip: 'Transferee was notified',
|
|
163
|
-
caption: 'Change text'
|
|
164
|
-
}, {
|
|
165
|
-
id: 'payout-confirmed',
|
|
166
|
-
state: 'completed',
|
|
167
|
-
date: '2025-08-16T21:39:00',
|
|
168
|
-
title: 'Payout Confirmed',
|
|
169
|
-
tooltip: 'Payout was confirmed',
|
|
170
|
-
caption: 'Transferee has confirmed the payout.'
|
|
171
|
-
}, {
|
|
172
|
-
id: 'paid-out',
|
|
173
|
-
state: 'inactive',
|
|
174
|
-
title: 'Paid out',
|
|
175
|
-
tooltip: 'Payout completion information'
|
|
176
|
-
}]
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
// All states example
|
|
180
|
-
const AllStates = exports.AllStates = Template.bind({});
|
|
181
|
-
AllStates.args = {
|
|
182
|
-
steps: [{
|
|
183
|
-
id: 'completed',
|
|
184
|
-
state: 'completed',
|
|
185
|
-
date: '2025-08-10T11:57:00',
|
|
186
|
-
title: 'Completed Step',
|
|
187
|
-
tooltip: 'This step is completed',
|
|
188
|
-
caption: 'This step has been successfully completed.'
|
|
189
|
-
}, {
|
|
190
|
-
id: 'active',
|
|
191
|
-
date: '2025-08-12T11:57:00',
|
|
192
|
-
title: 'Active Step',
|
|
193
|
-
tooltip: 'This step is currently active',
|
|
194
|
-
caption: 'This step is currently in progress.'
|
|
195
|
-
}, {
|
|
196
|
-
id: 'pending',
|
|
197
|
-
state: 'pending',
|
|
198
|
-
date: '2025-08-14T07:12:00',
|
|
199
|
-
title: 'Pending Step',
|
|
200
|
-
tooltip: 'This step is pending',
|
|
201
|
-
caption: 'This step is waiting to be processed.'
|
|
202
|
-
}, {
|
|
203
|
-
id: 'failed',
|
|
204
|
-
state: 'failed',
|
|
205
|
-
date: '2025-08-16T21:39:00',
|
|
206
|
-
title: 'Failed Step',
|
|
207
|
-
tooltip: 'This step has failed',
|
|
208
|
-
caption: 'This step encountered an error.'
|
|
209
|
-
}, {
|
|
210
|
-
id: 'inactive',
|
|
211
|
-
state: 'inactive',
|
|
212
|
-
title: 'Inactive Step',
|
|
213
|
-
tooltip: 'This step is not yet started'
|
|
214
|
-
}]
|
|
215
|
-
};
|
|
216
|
-
|
|
217
|
-
// Simple timeline without dates
|
|
218
|
-
const SimpleTimeline = exports.SimpleTimeline = Template.bind({});
|
|
219
|
-
SimpleTimeline.args = {
|
|
220
|
-
steps: [{
|
|
221
|
-
id: 'step1',
|
|
222
|
-
state: 'completed',
|
|
223
|
-
title: 'Step 1',
|
|
224
|
-
tooltip: 'First step completed'
|
|
225
|
-
}, {
|
|
226
|
-
id: 'step2',
|
|
227
|
-
title: 'Step 2',
|
|
228
|
-
tooltip: 'Second step in progress',
|
|
229
|
-
caption: 'Currently working on this step.'
|
|
230
|
-
}, {
|
|
231
|
-
id: 'step3',
|
|
232
|
-
state: 'inactive',
|
|
233
|
-
title: 'Step 3',
|
|
234
|
-
tooltip: 'Third step not started'
|
|
235
|
-
}]
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
// Without tooltips
|
|
239
|
-
const WithoutTooltips = exports.WithoutTooltips = Template.bind({});
|
|
240
|
-
WithoutTooltips.args = {
|
|
241
|
-
steps: [{
|
|
242
|
-
id: 'step1',
|
|
243
|
-
state: 'completed',
|
|
244
|
-
date: '2025-08-10T11:57:00',
|
|
245
|
-
title: 'Completed',
|
|
246
|
-
caption: 'This step is done.'
|
|
247
|
-
}, {
|
|
248
|
-
id: 'step2',
|
|
249
|
-
date: '2025-08-12T11:57:00',
|
|
250
|
-
title: 'Active',
|
|
251
|
-
caption: 'This step is in progress.'
|
|
252
|
-
}, {
|
|
253
|
-
id: 'step3',
|
|
254
|
-
state: 'inactive',
|
|
255
|
-
title: 'Upcoming'
|
|
256
|
-
}],
|
|
257
|
-
showInfoIcons: false
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
// Custom width
|
|
261
|
-
const CustomWidth = exports.CustomWidth = Template.bind({});
|
|
262
|
-
CustomWidth.args = {
|
|
263
|
-
steps: [{
|
|
264
|
-
id: 'step1',
|
|
265
|
-
state: 'completed',
|
|
266
|
-
date: '2025-08-10T11:57:00',
|
|
267
|
-
title: 'Step 1',
|
|
268
|
-
tooltip: 'First step'
|
|
269
|
-
}, {
|
|
270
|
-
id: 'step2',
|
|
271
|
-
date: '2025-08-12T11:57:00',
|
|
272
|
-
title: 'Step 2',
|
|
273
|
-
tooltip: 'Second step'
|
|
274
|
-
}, {
|
|
275
|
-
id: 'step3',
|
|
276
|
-
state: 'inactive',
|
|
277
|
-
title: 'Step 3',
|
|
278
|
-
tooltip: 'Third step'
|
|
279
|
-
}],
|
|
280
|
-
maxWidth: '600px'
|
|
281
|
-
};
|
|
282
|
-
|
|
283
|
-
// Long captions
|
|
284
|
-
const LongCaptions = exports.LongCaptions = Template.bind({});
|
|
285
|
-
LongCaptions.args = {
|
|
286
|
-
steps: [{
|
|
287
|
-
id: 'step1',
|
|
288
|
-
state: 'completed',
|
|
289
|
-
date: '2025-08-10T11:57:00',
|
|
290
|
-
title: 'Document Upload',
|
|
291
|
-
tooltip: 'Document upload information',
|
|
292
|
-
caption: 'All required documents have been successfully uploaded and verified by our team. The verification process took approximately 2 business days.'
|
|
293
|
-
}, {
|
|
294
|
-
id: 'step2',
|
|
295
|
-
date: '2025-08-12T11:57:00',
|
|
296
|
-
title: 'Review Process',
|
|
297
|
-
tooltip: 'Review process information',
|
|
298
|
-
caption: 'Your application is currently under review. Our compliance team is examining all submitted documents to ensure they meet our requirements. This typically takes 3-5 business days.'
|
|
299
|
-
}, {
|
|
300
|
-
id: 'step3',
|
|
301
|
-
state: 'inactive',
|
|
302
|
-
title: 'Approval',
|
|
303
|
-
tooltip: 'Approval information',
|
|
304
|
-
caption: 'Once the review is complete, you will receive a notification about the approval status of your application.'
|
|
305
|
-
}]
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
// Custom styling
|
|
309
|
-
const CustomStyling = exports.CustomStyling = Template.bind({});
|
|
310
|
-
CustomStyling.args = {
|
|
311
|
-
steps: [{
|
|
312
|
-
id: 'step1',
|
|
313
|
-
state: 'completed',
|
|
314
|
-
date: '2025-08-10T11:57:00',
|
|
315
|
-
title: 'Step 1',
|
|
316
|
-
tooltip: 'First step'
|
|
317
|
-
}, {
|
|
318
|
-
id: 'step2',
|
|
319
|
-
date: '2025-08-12T11:57:00',
|
|
320
|
-
title: 'Step 2',
|
|
321
|
-
tooltip: 'Second step'
|
|
322
|
-
}, {
|
|
323
|
-
id: 'step3',
|
|
324
|
-
state: 'inactive',
|
|
325
|
-
title: 'Step 3',
|
|
326
|
-
tooltip: 'Third step'
|
|
327
|
-
}],
|
|
328
|
-
containerStyle: {
|
|
329
|
-
padding: '20px',
|
|
330
|
-
backgroundColor: _colors.default.grey3,
|
|
331
|
-
borderRadius: '8px'
|
|
332
|
-
}
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
// Cancelled state
|
|
336
|
-
const CancelledState = exports.CancelledState = Template.bind({});
|
|
337
|
-
CancelledState.args = {
|
|
338
|
-
steps: [{
|
|
339
|
-
id: 'step1',
|
|
340
|
-
state: 'completed',
|
|
341
|
-
date: '2025-08-10T11:57:00',
|
|
342
|
-
title: 'Started',
|
|
343
|
-
tooltip: 'Process started'
|
|
344
|
-
}, {
|
|
345
|
-
id: 'step2',
|
|
346
|
-
state: 'completed',
|
|
347
|
-
date: '2025-08-12T11:57:00',
|
|
348
|
-
title: 'In Progress',
|
|
349
|
-
tooltip: 'Process in progress'
|
|
350
|
-
}, {
|
|
351
|
-
id: 'step3',
|
|
352
|
-
state: 'cancelled',
|
|
353
|
-
date: '2025-08-14T07:12:00',
|
|
354
|
-
title: 'Cancelled',
|
|
355
|
-
tooltip: 'Process was cancelled',
|
|
356
|
-
caption: 'The process was cancelled by the user.'
|
|
357
|
-
}, {
|
|
358
|
-
id: 'step4',
|
|
359
|
-
state: 'inactive',
|
|
360
|
-
title: 'Completed',
|
|
361
|
-
tooltip: 'Completion information'
|
|
362
|
-
}]
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
// Declined state
|
|
366
|
-
const DeclinedState = exports.DeclinedState = Template.bind({});
|
|
367
|
-
DeclinedState.args = {
|
|
368
|
-
steps: [{
|
|
369
|
-
id: 'step1',
|
|
370
|
-
state: 'completed',
|
|
371
|
-
date: '2025-08-10T11:57:00',
|
|
372
|
-
title: 'Submitted',
|
|
373
|
-
tooltip: 'Application submitted'
|
|
374
|
-
}, {
|
|
375
|
-
id: 'step2',
|
|
376
|
-
state: 'completed',
|
|
377
|
-
date: '2025-08-12T11:57:00',
|
|
378
|
-
title: 'Under Review',
|
|
379
|
-
tooltip: 'Application under review'
|
|
380
|
-
}, {
|
|
381
|
-
id: 'step3',
|
|
382
|
-
state: 'declined',
|
|
383
|
-
date: '2025-08-14T07:12:00',
|
|
384
|
-
title: 'Declined',
|
|
385
|
-
tooltip: 'Application declined',
|
|
386
|
-
caption: 'Your application was declined due to incomplete information.'
|
|
387
|
-
}, {
|
|
388
|
-
id: 'step4',
|
|
389
|
-
state: 'inactive',
|
|
390
|
-
title: 'Approved',
|
|
391
|
-
tooltip: 'Approval information'
|
|
392
|
-
}]
|
|
393
|
-
};
|