@stokr/components-library 2.3.64 → 2.3.65-beta.10
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/2FA/main-flow.stories.js +144 -15
- package/dist/components/AdminDashboard/Table/ReactTable.js +123 -7
- package/dist/components/AdminDashboard/Table/ReactTable.stories.js +509 -2
- package/dist/components/Chips/Chip.js +1 -2
- package/dist/components/Icon/Icon.stories.js +108 -0
- package/dist/components/InfoIcon/InfoIcon.js +9 -4
- package/dist/components/InfoIcon/InfoIcon.styles.js +3 -3
- package/dist/components/Input/Input.js +33 -33
- package/dist/components/Input/Input.stories.js +83 -8
- package/dist/components/Input/MultiSelect.js +319 -0
- package/dist/components/Input/MultiSelect.stories.js +264 -0
- package/dist/components/Input/SearchInput.js +78 -0
- package/dist/components/Input/SearchInput.stories.js +366 -0
- package/dist/components/Input/SearchInput.styles.js +25 -0
- package/dist/components/Input/Select.js +51 -28
- package/dist/components/Input/Select.stories.js +345 -6
- package/dist/components/Modal/SideModal.js +82 -0
- package/dist/components/Modal/SideModal.stories.js +342 -0
- package/dist/components/Modal/SideModal.styles.js +21 -0
- package/dist/components/Payment/PaymentDetailsCard.js +189 -0
- package/dist/components/Payment/PaymentDetailsCard.stories.js +198 -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.stories.js +292 -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.stories.js +262 -0
- package/dist/components/StatusTag/StatusTag.styles.js +37 -0
- package/dist/components/StepsProgress/StepIndicator.js +59 -0
- package/dist/components/StepsProgress/StepIndicator.stories.js +153 -0
- package/dist/components/StepsProgress/StepIndicator.styles.js +30 -0
- package/dist/components/TextLink/TextLink.stories.js +35 -0
- package/dist/components/TextLink/TextLink.styles.js +1 -1
- package/dist/components/Timeline/Timeline.js +0 -2
- package/dist/components/Timeline/TimelineStep.js +2 -2
- package/dist/components/logo/Logo.stories.js +260 -0
- package/dist/constants/globalVariables.js +41 -2
- package/dist/context/Checkbox/CheckboxContext.js +80 -7
- 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 +1 -1
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.WithoutLabels = exports.SecondStep = exports.ManySteps = exports.LastStep = exports.Interactive = exports.Default = exports.CustomMargin = exports.AllCompleted = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _StepIndicator = _interopRequireDefault(require("./StepIndicator"));
|
|
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
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
|
+
var _default = exports.default = {
|
|
14
|
+
title: 'Components Library/StepIndicator',
|
|
15
|
+
component: _StepIndicator.default,
|
|
16
|
+
decorators: [Story => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(Story, null))],
|
|
17
|
+
argTypes: {
|
|
18
|
+
currentStep: {
|
|
19
|
+
control: {
|
|
20
|
+
type: 'number',
|
|
21
|
+
min: 0,
|
|
22
|
+
max: 3
|
|
23
|
+
},
|
|
24
|
+
description: 'Current active step (0-indexed)'
|
|
25
|
+
},
|
|
26
|
+
showLabels: {
|
|
27
|
+
control: 'boolean',
|
|
28
|
+
description: 'Show or hide step labels'
|
|
29
|
+
},
|
|
30
|
+
marginBottom: {
|
|
31
|
+
control: 'text',
|
|
32
|
+
description: 'Bottom margin of the component'
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const sampleSteps = [{
|
|
37
|
+
id: 'step1',
|
|
38
|
+
label: 'Details'
|
|
39
|
+
}, {
|
|
40
|
+
id: 'step2',
|
|
41
|
+
label: 'Review'
|
|
42
|
+
}, {
|
|
43
|
+
id: 'step3',
|
|
44
|
+
label: 'Confirm'
|
|
45
|
+
}];
|
|
46
|
+
|
|
47
|
+
// Default - first step active
|
|
48
|
+
const Default = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
49
|
+
steps: sampleSteps,
|
|
50
|
+
currentStep: 0
|
|
51
|
+
}));
|
|
52
|
+
|
|
53
|
+
// Second step active (first completed)
|
|
54
|
+
exports.Default = Default;
|
|
55
|
+
const SecondStep = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
56
|
+
steps: sampleSteps,
|
|
57
|
+
currentStep: 1
|
|
58
|
+
}));
|
|
59
|
+
|
|
60
|
+
// Last step active (all previous completed)
|
|
61
|
+
exports.SecondStep = SecondStep;
|
|
62
|
+
const LastStep = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
63
|
+
steps: sampleSteps,
|
|
64
|
+
currentStep: 2
|
|
65
|
+
}));
|
|
66
|
+
|
|
67
|
+
// All steps completed
|
|
68
|
+
exports.LastStep = LastStep;
|
|
69
|
+
const AllCompleted = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
70
|
+
steps: sampleSteps,
|
|
71
|
+
currentStep: 3
|
|
72
|
+
}));
|
|
73
|
+
|
|
74
|
+
// Interactive example
|
|
75
|
+
exports.AllCompleted = AllCompleted;
|
|
76
|
+
const Interactive = () => {
|
|
77
|
+
const [currentStep, setCurrentStep] = (0, _react.useState)(0);
|
|
78
|
+
return /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
79
|
+
steps: sampleSteps,
|
|
80
|
+
currentStep: currentStep,
|
|
81
|
+
onStepClick: index => setCurrentStep(index)
|
|
82
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
83
|
+
style: {
|
|
84
|
+
marginTop: '24px'
|
|
85
|
+
}
|
|
86
|
+
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
87
|
+
onClick: () => setCurrentStep(prev => Math.max(0, prev - 1)),
|
|
88
|
+
disabled: currentStep === 0,
|
|
89
|
+
style: {
|
|
90
|
+
marginRight: '8px',
|
|
91
|
+
padding: '8px 16px'
|
|
92
|
+
}
|
|
93
|
+
}, "Previous"), /*#__PURE__*/_react.default.createElement("button", {
|
|
94
|
+
onClick: () => setCurrentStep(prev => Math.min(sampleSteps.length, prev + 1)),
|
|
95
|
+
disabled: currentStep >= sampleSteps.length,
|
|
96
|
+
style: {
|
|
97
|
+
padding: '8px 16px'
|
|
98
|
+
}
|
|
99
|
+
}, "Next")), /*#__PURE__*/_react.default.createElement("p", {
|
|
100
|
+
style: {
|
|
101
|
+
marginTop: '16px',
|
|
102
|
+
fontSize: '14px',
|
|
103
|
+
color: '#666'
|
|
104
|
+
}
|
|
105
|
+
}, "Current step: ", currentStep, " (click on steps to navigate)"));
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// Without labels
|
|
109
|
+
exports.Interactive = Interactive;
|
|
110
|
+
const WithoutLabels = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
111
|
+
steps: sampleSteps,
|
|
112
|
+
currentStep: 1,
|
|
113
|
+
showLabels: false
|
|
114
|
+
}));
|
|
115
|
+
|
|
116
|
+
// More steps
|
|
117
|
+
exports.WithoutLabels = WithoutLabels;
|
|
118
|
+
const ManySteps = () => {
|
|
119
|
+
const manySteps = [{
|
|
120
|
+
id: 'step1',
|
|
121
|
+
label: 'Account'
|
|
122
|
+
}, {
|
|
123
|
+
id: 'step2',
|
|
124
|
+
label: 'Personal'
|
|
125
|
+
}, {
|
|
126
|
+
id: 'step3',
|
|
127
|
+
label: 'Documents'
|
|
128
|
+
}, {
|
|
129
|
+
id: 'step4',
|
|
130
|
+
label: 'Review'
|
|
131
|
+
}, {
|
|
132
|
+
id: 'step5',
|
|
133
|
+
label: 'Complete'
|
|
134
|
+
}];
|
|
135
|
+
return /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
136
|
+
steps: manySteps,
|
|
137
|
+
currentStep: 2
|
|
138
|
+
}));
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
// Custom margin
|
|
142
|
+
exports.ManySteps = ManySteps;
|
|
143
|
+
const CustomMargin = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_StepIndicator.default, {
|
|
144
|
+
steps: sampleSteps,
|
|
145
|
+
currentStep: 1,
|
|
146
|
+
marginBottom: "0"
|
|
147
|
+
}), /*#__PURE__*/_react.default.createElement("p", {
|
|
148
|
+
style: {
|
|
149
|
+
margin: 0,
|
|
150
|
+
fontSize: '14px'
|
|
151
|
+
}
|
|
152
|
+
}, "Content immediately below (no margin)"));
|
|
153
|
+
exports.CustomMargin = CustomMargin;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StepLabel = exports.StepItem = exports.StepIndicatorContainer = exports.StepConnector = exports.StepCircle = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
8
|
+
var _colors = _interopRequireDefault(require("../../styles/colors"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
11
|
+
const StepIndicatorContainer = exports.StepIndicatorContainer = _styledComponents.default.div.withConfig({
|
|
12
|
+
displayName: "StepIndicatorstyles__StepIndicatorContainer",
|
|
13
|
+
componentId: "sc-ywoddn-0"
|
|
14
|
+
})(["display:flex;align-items:center;gap:16px;margin-bottom:", ";"], props => props.marginBottom || '32px');
|
|
15
|
+
const StepItem = exports.StepItem = _styledComponents.default.div.withConfig({
|
|
16
|
+
displayName: "StepIndicatorstyles__StepItem",
|
|
17
|
+
componentId: "sc-ywoddn-1"
|
|
18
|
+
})(["display:flex;align-items:center;gap:12px;"]);
|
|
19
|
+
const StepCircle = exports.StepCircle = _styledComponents.default.div.withConfig({
|
|
20
|
+
displayName: "StepIndicatorstyles__StepCircle",
|
|
21
|
+
componentId: "sc-ywoddn-2"
|
|
22
|
+
})(["width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;transition:all 0.2s ease;", " ", " ", ""], props => props.isCompleted && (0, _styledComponents.css)(["background-color:", ";color:", ";svg path{stroke:", ";}"], _colors.default.progressGreen, _colors.default.white, _colors.default.white), props => props.isActive && !props.isCompleted && (0, _styledComponents.css)(["background-color:", ";color:", ";"], _colors.default.black, _colors.default.white), props => !props.isActive && !props.isCompleted && (0, _styledComponents.css)(["background-color:", ";color:", ";"], _colors.default.grey, _colors.default.black));
|
|
23
|
+
const StepLabel = exports.StepLabel = _styledComponents.default.span.withConfig({
|
|
24
|
+
displayName: "StepIndicatorstyles__StepLabel",
|
|
25
|
+
componentId: "sc-ywoddn-3"
|
|
26
|
+
})(["font-size:16px;font-weight:600;line-height:24px;letter-spacing:0.6px;word-wrap:break-word;"]);
|
|
27
|
+
const StepConnector = exports.StepConnector = _styledComponents.default.div.withConfig({
|
|
28
|
+
displayName: "StepIndicatorstyles__StepConnector",
|
|
29
|
+
componentId: "sc-ywoddn-4"
|
|
30
|
+
})(["flex:1;height:2px;max-width:80px;background-color:", ";"], props => props.isCompleted ? _colors.default.progressGreen : _colors.default.grey);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.IconReversed = exports.Default = exports.ButtonIconReversed = exports.AsButton = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactRouterDom = require("react-router-dom");
|
|
9
|
+
var _TextLink = require("./TextLink.styles");
|
|
10
|
+
var _ComponentWrapper = require("../ComponentWrapper/ComponentWrapper.styles");
|
|
11
|
+
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
var _default = exports.default = {
|
|
14
|
+
title: 'Components Library/TextLink',
|
|
15
|
+
component: _TextLink.TextLink,
|
|
16
|
+
decorators: [Story => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_global.default, null), /*#__PURE__*/_react.default.createElement(_reactRouterDom.BrowserRouter, null, /*#__PURE__*/_react.default.createElement(Story, null)))]
|
|
17
|
+
};
|
|
18
|
+
const Default = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_TextLink.TextLink, {
|
|
19
|
+
to: "/example"
|
|
20
|
+
}, "View Details"));
|
|
21
|
+
exports.Default = Default;
|
|
22
|
+
const AsButton = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_TextLink.TextButton, {
|
|
23
|
+
onClick: () => alert('Clicked!')
|
|
24
|
+
}, "Click Me"));
|
|
25
|
+
exports.AsButton = AsButton;
|
|
26
|
+
const IconReversed = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_TextLink.TextLink, {
|
|
27
|
+
to: "/example",
|
|
28
|
+
reverse: true
|
|
29
|
+
}, "Go Back"));
|
|
30
|
+
exports.IconReversed = IconReversed;
|
|
31
|
+
const ButtonIconReversed = () => /*#__PURE__*/_react.default.createElement(_ComponentWrapper.ComponentWrapper, null, /*#__PURE__*/_react.default.createElement(_TextLink.TextButton, {
|
|
32
|
+
onClick: () => alert('Clicked!'),
|
|
33
|
+
reverse: true
|
|
34
|
+
}, "Previous"));
|
|
35
|
+
exports.ButtonIconReversed = ButtonIconReversed;
|
|
@@ -9,7 +9,7 @@ var _reactRouterDom = require("react-router-dom");
|
|
|
9
9
|
var _theme = _interopRequireDefault(require("../../styles/theme"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
12
|
-
const styles = (0, _styledComponents.css)(["background:#fff;border:none;cursor:pointer;position:relative;font-family:'Open Sans';font-weight:bold;font-size:11px;line-height:14px;text-transform:uppercase;display:inline-block;padding-left:18px;padding-right:6px;transition:padding 0.2s;&:before{content:'\\f3d1';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:12px;line-height:8px;display:block;width:8px;height:8px;position:absolute;top:50%;left:0;margin-top:-4px;color:", ";}&:hover{padding-left:24px;padding-right:0;}", ""], props => _theme.default.cWarning, props => props.disabled && (0, _styledComponents.css)(["opacity:0.5;pointer-events:none;"]));
|
|
12
|
+
const styles = (0, _styledComponents.css)(["background:#fff;border:none;cursor:pointer;position:relative;font-family:'Open Sans';font-weight:bold;font-size:11px;line-height:14px;text-transform:uppercase;display:inline-block;padding-left:18px;padding-right:6px;transition:padding 0.2s;&:before{content:'\\f3d1';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:12px;line-height:8px;display:block;width:8px;height:8px;position:absolute;top:50%;left:0;margin-top:-4px;color:", ";transform:", ";}&:hover{padding-left:24px;padding-right:0;}", ""], props => _theme.default.cWarning, props => props.reverse ? 'rotate(180deg)' : 'none', props => props.disabled && (0, _styledComponents.css)(["opacity:0.5;pointer-events:none;"]));
|
|
13
13
|
const TextLink = exports.TextLink = (0, _styledComponents.default)(_reactRouterDom.Link).withConfig({
|
|
14
14
|
displayName: "TextLinkstyles__TextLink",
|
|
15
15
|
componentId: "sc-h1k34v-0"
|
|
@@ -12,7 +12,6 @@ const Timeline = _ref => {
|
|
|
12
12
|
let {
|
|
13
13
|
steps = [],
|
|
14
14
|
maxWidth,
|
|
15
|
-
dateFormat,
|
|
16
15
|
showInfoIcons = true,
|
|
17
16
|
infoIconPosition = 'right',
|
|
18
17
|
// Style props
|
|
@@ -41,7 +40,6 @@ const Timeline = _ref => {
|
|
|
41
40
|
customIcon: step.customIcon,
|
|
42
41
|
showInfoIcon: showInfoIcons,
|
|
43
42
|
infoIconPosition: infoIconPosition,
|
|
44
|
-
dateFormat: dateFormat,
|
|
45
43
|
stepStyle: step.stepStyle || stepStyle,
|
|
46
44
|
iconStyle: step.iconStyle || iconStyle,
|
|
47
45
|
contentStyle: step.contentStyle || contentStyle,
|
|
@@ -8,8 +8,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _Icon = require("../Icon/Icon.style");
|
|
9
9
|
var _InfoIcon = require("../InfoIcon/InfoIcon");
|
|
10
10
|
var _Timeline = require("./Timeline.styles");
|
|
11
|
-
var _crossIcon = require("static/images/cross-icon.svg");
|
|
12
|
-
var _checkIcon = require("static/images/check-icon.svg");
|
|
11
|
+
var _crossIcon = require("../../static/images/cross-icon.svg");
|
|
12
|
+
var _checkIcon = require("../../static/images/check-icon.svg");
|
|
13
13
|
var _moment = _interopRequireDefault(require("moment"));
|
|
14
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
15
|
const TimelineStep = _ref => {
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.SvgFile = exports.Small = exports.OnDifferentBackgrounds = exports.Medium = exports.LogoSvgComponent = exports.Large = exports.Default = exports.AllVersions = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _Logo = require("./Logo");
|
|
9
|
+
var _LogoSvg = _interopRequireDefault(require("../SvgIcons/LogoSvg"));
|
|
10
|
+
var _ComponentWrapper = require("../ComponentWrapper/ComponentWrapper.styles");
|
|
11
|
+
var _global = _interopRequireDefault(require("../../styles/global"));
|
|
12
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
|
+
var _logo = _interopRequireDefault(require("../../static/images/logo.svg"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
// Import the SVG file as an image
|
|
16
|
+
|
|
17
|
+
const ComparisonContainer = _styledComponents.default.div.withConfig({
|
|
18
|
+
displayName: "Logostories__ComparisonContainer",
|
|
19
|
+
componentId: "sc-e8wyjz-0"
|
|
20
|
+
})(["display:flex;flex-direction:column;gap:32px;padding:24px;"]);
|
|
21
|
+
const LogoSection = _styledComponents.default.div.withConfig({
|
|
22
|
+
displayName: "Logostories__LogoSection",
|
|
23
|
+
componentId: "sc-e8wyjz-1"
|
|
24
|
+
})(["display:flex;flex-direction:column;gap:16px;padding:20px;border:1px solid #e1e1e1;border-radius:8px;background-color:#f8f8f8;"]);
|
|
25
|
+
const LogoTitle = _styledComponents.default.h3.withConfig({
|
|
26
|
+
displayName: "Logostories__LogoTitle",
|
|
27
|
+
componentId: "sc-e8wyjz-2"
|
|
28
|
+
})(["font-size:18px;font-weight:600;margin:0 0 8px 0;color:#202020;"]);
|
|
29
|
+
const LogoDescription = _styledComponents.default.p.withConfig({
|
|
30
|
+
displayName: "Logostories__LogoDescription",
|
|
31
|
+
componentId: "sc-e8wyjz-3"
|
|
32
|
+
})(["font-size:14px;color:#666;margin:0 0 16px 0;"]);
|
|
33
|
+
const LogoDisplay = _styledComponents.default.div.withConfig({
|
|
34
|
+
displayName: "Logostories__LogoDisplay",
|
|
35
|
+
componentId: "sc-e8wyjz-4"
|
|
36
|
+
})(["display:flex;align-items:center;gap:24px;padding:16px;background-color:white;border-radius:4px;min-height:60px;"]);
|
|
37
|
+
const SizeLabel = _styledComponents.default.span.withConfig({
|
|
38
|
+
displayName: "Logostories__SizeLabel",
|
|
39
|
+
componentId: "sc-e8wyjz-5"
|
|
40
|
+
})(["font-size:12px;color:#999;min-width:100px;"]);
|
|
41
|
+
var _default = exports.default = {
|
|
42
|
+
title: 'Components Library/Logo',
|
|
43
|
+
component: _Logo.Logo,
|
|
44
|
+
argTypes: {
|
|
45
|
+
width: {
|
|
46
|
+
control: 'number',
|
|
47
|
+
description: 'Width of the logo in pixels'
|
|
48
|
+
},
|
|
49
|
+
height: {
|
|
50
|
+
control: 'number',
|
|
51
|
+
description: 'Height of the logo in pixels'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
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)))]
|
|
55
|
+
}; // Logo.jsx component template
|
|
56
|
+
const LogoTemplate = args => /*#__PURE__*/_react.default.createElement(_Logo.Logo, args);
|
|
57
|
+
|
|
58
|
+
// Comparison view showing all versions
|
|
59
|
+
const AllVersions = () => /*#__PURE__*/_react.default.createElement(ComparisonContainer, null, /*#__PURE__*/_react.default.createElement(LogoSection, null, /*#__PURE__*/_react.default.createElement(LogoTitle, null, "Logo.jsx (Class Component)"), /*#__PURE__*/_react.default.createElement(LogoDescription, null, "Class component with customizable width and height props. Default: 70x17"), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "Default (70x17):"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, null)), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "Custom (100x24):"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, {
|
|
60
|
+
width: 100,
|
|
61
|
+
height: 24
|
|
62
|
+
})), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "Small (50x12):"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, {
|
|
63
|
+
width: 50,
|
|
64
|
+
height: 12
|
|
65
|
+
})), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "Large (140x34):"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, {
|
|
66
|
+
width: 140,
|
|
67
|
+
height: 34
|
|
68
|
+
}))), /*#__PURE__*/_react.default.createElement(LogoSection, null, /*#__PURE__*/_react.default.createElement(LogoTitle, null, "LogoSvg.js (Functional Component)"), /*#__PURE__*/_react.default.createElement(LogoDescription, null, "Functional component with fixed size: 66px x 16px"), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "Fixed Size:"), /*#__PURE__*/_react.default.createElement(_LogoSvg.default, null))), /*#__PURE__*/_react.default.createElement(LogoSection, null, /*#__PURE__*/_react.default.createElement(LogoTitle, null, "logo.svg (Image File)"), /*#__PURE__*/_react.default.createElement(LogoDescription, null, "SVG file imported as an image. Can be used with img tag or as background"), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "As img tag:"), /*#__PURE__*/_react.default.createElement("img", {
|
|
69
|
+
src: _logo.default,
|
|
70
|
+
alt: "STOKR Logo",
|
|
71
|
+
style: {
|
|
72
|
+
height: '17px'
|
|
73
|
+
}
|
|
74
|
+
})), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "Larger size:"), /*#__PURE__*/_react.default.createElement("img", {
|
|
75
|
+
src: _logo.default,
|
|
76
|
+
alt: "STOKR Logo",
|
|
77
|
+
style: {
|
|
78
|
+
height: '34px'
|
|
79
|
+
}
|
|
80
|
+
})), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "As background:"), /*#__PURE__*/_react.default.createElement("div", {
|
|
81
|
+
style: {
|
|
82
|
+
width: '70px',
|
|
83
|
+
height: '17px',
|
|
84
|
+
backgroundImage: "url(".concat(_logo.default, ")"),
|
|
85
|
+
backgroundSize: 'contain',
|
|
86
|
+
backgroundRepeat: 'no-repeat',
|
|
87
|
+
backgroundPosition: 'center'
|
|
88
|
+
}
|
|
89
|
+
}))), /*#__PURE__*/_react.default.createElement(LogoSection, null, /*#__PURE__*/_react.default.createElement(LogoTitle, null, "Side by Side Comparison"), /*#__PURE__*/_react.default.createElement(LogoDescription, null, "All three versions at similar sizes for direct comparison"), /*#__PURE__*/_react.default.createElement(LogoDisplay, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
90
|
+
style: {
|
|
91
|
+
display: 'flex',
|
|
92
|
+
flexDirection: 'column',
|
|
93
|
+
gap: '16px'
|
|
94
|
+
}
|
|
95
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
96
|
+
style: {
|
|
97
|
+
display: 'flex',
|
|
98
|
+
alignItems: 'center',
|
|
99
|
+
gap: '16px'
|
|
100
|
+
}
|
|
101
|
+
}, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "Logo.jsx:"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, {
|
|
102
|
+
width: 70,
|
|
103
|
+
height: 17
|
|
104
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
105
|
+
style: {
|
|
106
|
+
display: 'flex',
|
|
107
|
+
alignItems: 'center',
|
|
108
|
+
gap: '16px'
|
|
109
|
+
}
|
|
110
|
+
}, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "LogoSvg.js:"), /*#__PURE__*/_react.default.createElement(_LogoSvg.default, null)), /*#__PURE__*/_react.default.createElement("div", {
|
|
111
|
+
style: {
|
|
112
|
+
display: 'flex',
|
|
113
|
+
alignItems: 'center',
|
|
114
|
+
gap: '16px'
|
|
115
|
+
}
|
|
116
|
+
}, /*#__PURE__*/_react.default.createElement(SizeLabel, null, "logo.svg:"), /*#__PURE__*/_react.default.createElement("img", {
|
|
117
|
+
src: _logo.default,
|
|
118
|
+
alt: "STOKR Logo",
|
|
119
|
+
style: {
|
|
120
|
+
height: '17px'
|
|
121
|
+
}
|
|
122
|
+
}))))));
|
|
123
|
+
|
|
124
|
+
// Default Logo.jsx
|
|
125
|
+
exports.AllVersions = AllVersions;
|
|
126
|
+
const Default = exports.Default = LogoTemplate.bind({});
|
|
127
|
+
Default.args = {
|
|
128
|
+
width: 70,
|
|
129
|
+
height: 17
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// Small size
|
|
133
|
+
const Small = exports.Small = LogoTemplate.bind({});
|
|
134
|
+
Small.args = {
|
|
135
|
+
width: 50,
|
|
136
|
+
height: 12
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
// Medium size
|
|
140
|
+
const Medium = exports.Medium = LogoTemplate.bind({});
|
|
141
|
+
Medium.args = {
|
|
142
|
+
width: 100,
|
|
143
|
+
height: 24
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// Large size
|
|
147
|
+
const Large = exports.Large = LogoTemplate.bind({});
|
|
148
|
+
Large.args = {
|
|
149
|
+
width: 140,
|
|
150
|
+
height: 34
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
// LogoSvg component
|
|
154
|
+
const LogoSvgComponent = () => /*#__PURE__*/_react.default.createElement("div", {
|
|
155
|
+
style: {
|
|
156
|
+
padding: '20px'
|
|
157
|
+
}
|
|
158
|
+
}, /*#__PURE__*/_react.default.createElement(_LogoSvg.default, null));
|
|
159
|
+
|
|
160
|
+
// SVG file as image
|
|
161
|
+
exports.LogoSvgComponent = LogoSvgComponent;
|
|
162
|
+
const SvgFile = () => /*#__PURE__*/_react.default.createElement("div", {
|
|
163
|
+
style: {
|
|
164
|
+
padding: '20px',
|
|
165
|
+
display: 'flex',
|
|
166
|
+
flexDirection: 'column',
|
|
167
|
+
gap: '16px'
|
|
168
|
+
}
|
|
169
|
+
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("p", {
|
|
170
|
+
style: {
|
|
171
|
+
marginBottom: '8px',
|
|
172
|
+
fontSize: '14px',
|
|
173
|
+
color: '#666'
|
|
174
|
+
}
|
|
175
|
+
}, "Default size:"), /*#__PURE__*/_react.default.createElement("img", {
|
|
176
|
+
src: _logo.default,
|
|
177
|
+
alt: "STOKR Logo"
|
|
178
|
+
})), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("p", {
|
|
179
|
+
style: {
|
|
180
|
+
marginBottom: '8px',
|
|
181
|
+
fontSize: '14px',
|
|
182
|
+
color: '#666'
|
|
183
|
+
}
|
|
184
|
+
}, "Custom height (34px):"), /*#__PURE__*/_react.default.createElement("img", {
|
|
185
|
+
src: _logo.default,
|
|
186
|
+
alt: "STOKR Logo",
|
|
187
|
+
style: {
|
|
188
|
+
height: '34px'
|
|
189
|
+
}
|
|
190
|
+
})), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("p", {
|
|
191
|
+
style: {
|
|
192
|
+
marginBottom: '8px',
|
|
193
|
+
fontSize: '14px',
|
|
194
|
+
color: '#666'
|
|
195
|
+
}
|
|
196
|
+
}, "Custom height (50px):"), /*#__PURE__*/_react.default.createElement("img", {
|
|
197
|
+
src: _logo.default,
|
|
198
|
+
alt: "STOKR Logo",
|
|
199
|
+
style: {
|
|
200
|
+
height: '50px'
|
|
201
|
+
}
|
|
202
|
+
})));
|
|
203
|
+
|
|
204
|
+
// Different backgrounds for testing visibility
|
|
205
|
+
exports.SvgFile = SvgFile;
|
|
206
|
+
const OnDifferentBackgrounds = () => /*#__PURE__*/_react.default.createElement("div", {
|
|
207
|
+
style: {
|
|
208
|
+
display: 'flex',
|
|
209
|
+
flexDirection: 'column',
|
|
210
|
+
gap: '24px',
|
|
211
|
+
padding: '20px'
|
|
212
|
+
}
|
|
213
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
214
|
+
style: {
|
|
215
|
+
padding: '20px',
|
|
216
|
+
backgroundColor: '#ffffff',
|
|
217
|
+
borderRadius: '8px'
|
|
218
|
+
}
|
|
219
|
+
}, /*#__PURE__*/_react.default.createElement("p", {
|
|
220
|
+
style: {
|
|
221
|
+
marginBottom: '12px',
|
|
222
|
+
fontSize: '14px',
|
|
223
|
+
fontWeight: '600'
|
|
224
|
+
}
|
|
225
|
+
}, "White Background:"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, {
|
|
226
|
+
width: 70,
|
|
227
|
+
height: 17
|
|
228
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
229
|
+
style: {
|
|
230
|
+
padding: '20px',
|
|
231
|
+
backgroundColor: '#f8f8f8',
|
|
232
|
+
borderRadius: '8px'
|
|
233
|
+
}
|
|
234
|
+
}, /*#__PURE__*/_react.default.createElement("p", {
|
|
235
|
+
style: {
|
|
236
|
+
marginBottom: '12px',
|
|
237
|
+
fontSize: '14px',
|
|
238
|
+
fontWeight: '600'
|
|
239
|
+
}
|
|
240
|
+
}, "Light Grey Background:"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, {
|
|
241
|
+
width: 70,
|
|
242
|
+
height: 17
|
|
243
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
244
|
+
style: {
|
|
245
|
+
padding: '20px',
|
|
246
|
+
backgroundColor: '#202020',
|
|
247
|
+
borderRadius: '8px'
|
|
248
|
+
}
|
|
249
|
+
}, /*#__PURE__*/_react.default.createElement("p", {
|
|
250
|
+
style: {
|
|
251
|
+
marginBottom: '12px',
|
|
252
|
+
fontSize: '14px',
|
|
253
|
+
fontWeight: '600',
|
|
254
|
+
color: 'white'
|
|
255
|
+
}
|
|
256
|
+
}, "Dark Background (Logo should be visible):"), /*#__PURE__*/_react.default.createElement(_Logo.Logo, {
|
|
257
|
+
width: 70,
|
|
258
|
+
height: 17
|
|
259
|
+
})));
|
|
260
|
+
exports.OnDifferentBackgrounds = OnDifferentBackgrounds;
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.walletTypes = exports.platformURL = exports.platformDomain = exports.emailRegex = exports.UserTypes = exports.USInvestorAcreditationStatuses = exports.ProjectTypes = exports.ProjectStatus = exports.ProjectStates = exports.ProfessionalInvestorStatuses = void 0;
|
|
6
|
+
exports.walletTypes = exports.transactionTypeDisplayNames = exports.platformURL = exports.platformDomain = exports.emailRegex = exports.UserTypes = exports.USInvestorAcreditationStatuses = exports.TransactionTypes = exports.ProjectTypes = exports.ProjectStatus = exports.ProjectStates = exports.ProfessionalInvestorStatuses = exports.LoanActivityTypes = void 0;
|
|
7
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
11
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
12
|
const platformDomain = exports.platformDomain = process.env.REACT_APP_WEBSITE_DOMAIN;
|
|
8
13
|
const platformURL = exports.platformURL = 'https://' + platformDomain;
|
|
9
14
|
const walletTypes = exports.walletTypes = {
|
|
@@ -44,4 +49,38 @@ const USInvestorAcreditationStatuses = exports.USInvestorAcreditationStatuses =
|
|
|
44
49
|
};
|
|
45
50
|
|
|
46
51
|
// should be used for all email form validation globally
|
|
47
|
-
const emailRegex = exports.emailRegex = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i;
|
|
52
|
+
const emailRegex = exports.emailRegex = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i;
|
|
53
|
+
const LoanActivityTypes = exports.LoanActivityTypes = {
|
|
54
|
+
PRINCIPAL_DEPOSIT: 'principal_deposit',
|
|
55
|
+
PRINCIPAL_RELEASE: 'principal_release',
|
|
56
|
+
INTEREST_PAYMENT: 'interest_payment',
|
|
57
|
+
COLLATERAL_DEPOSIT: 'collateral_deposit',
|
|
58
|
+
COLLATERAL_RELEASE: 'collateral_release',
|
|
59
|
+
COLLATERAL_PARTIAL_DEPOSIT: 'collateral_partial_deposit',
|
|
60
|
+
COLLATERAL_PARTIAL_RELEASE: 'collateral_partial_release',
|
|
61
|
+
LIQUIDATION: 'liquidation'
|
|
62
|
+
};
|
|
63
|
+
const TransactionTypes = exports.TransactionTypes = _objectSpread({
|
|
64
|
+
SUBSCRIPTION: 'subscription',
|
|
65
|
+
REFUND: 'refund',
|
|
66
|
+
REDEMPTION: 'redemption',
|
|
67
|
+
VENTURE_PAYOUT: 'issuer_payout',
|
|
68
|
+
AGGREGATION: 'aggregation'
|
|
69
|
+
}, LoanActivityTypes);
|
|
70
|
+
|
|
71
|
+
// Display names for transaction types (matching the spreadsheet)
|
|
72
|
+
const transactionTypeDisplayNames = exports.transactionTypeDisplayNames = {
|
|
73
|
+
[TransactionTypes.INTEREST_PAYMENT]: 'Interest',
|
|
74
|
+
[TransactionTypes.COLLATERAL_DEPOSIT]: 'Collateral Deposit',
|
|
75
|
+
[TransactionTypes.COLLATERAL_RELEASE]: 'Collateral Release',
|
|
76
|
+
[TransactionTypes.COLLATERAL_PARTIAL_DEPOSIT]: 'Collateral Shift (Deposit)',
|
|
77
|
+
[TransactionTypes.COLLATERAL_PARTIAL_RELEASE]: 'Collateral Shift (Release)',
|
|
78
|
+
[TransactionTypes.PRINCIPAL_DEPOSIT]: 'Principal Increase',
|
|
79
|
+
[TransactionTypes.PRINCIPAL_RELEASE]: 'Principal Decrease',
|
|
80
|
+
[TransactionTypes.LIQUIDATION]: 'Liquidation',
|
|
81
|
+
[TransactionTypes.REDEMPTION]: 'Redemption',
|
|
82
|
+
[TransactionTypes.REFUND]: 'Refund',
|
|
83
|
+
[TransactionTypes.AGGREGATION]: 'Aggregation',
|
|
84
|
+
[TransactionTypes.VENTURE_PAYOUT]: 'Issuer Payout',
|
|
85
|
+
[TransactionTypes.SUBSCRIPTION]: 'Issuance'
|
|
86
|
+
};
|