@hexure/ui 1.12.11 → 1.12.13
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/cjs/index.js +838 -839
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ActionDialog/ActionDialog.d.ts +1 -1
- package/dist/cjs/types/components/Input/Input.d.ts +1 -2
- package/dist/cjs/types/components/Modal/Modal.d.ts +1 -0
- package/dist/esm/index.js +790 -791
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ActionDialog/ActionDialog.d.ts +1 -1
- package/dist/esm/types/components/Input/Input.d.ts +1 -2
- package/dist/esm/types/components/Modal/Modal.d.ts +1 -0
- package/dist/index.d.ts +83 -83
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var styled = require('styled-components');
|
|
5
|
-
var Icon = require('@mdi/react');
|
|
6
|
-
var js = require('@mdi/js');
|
|
7
|
-
var dayjs = require('dayjs');
|
|
8
|
-
var Numeral = require('numeral');
|
|
9
|
-
var Moment = require('moment');
|
|
10
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var styled = require('styled-components');
|
|
5
|
+
var Icon = require('@mdi/react');
|
|
6
|
+
var js = require('@mdi/js');
|
|
7
|
+
var dayjs = require('dayjs');
|
|
8
|
+
var Numeral = require('numeral');
|
|
9
|
+
var Moment = require('moment');
|
|
10
|
+
|
|
11
11
|
/******************************************************************************
|
|
12
12
|
Copyright (c) Microsoft Corporation.
|
|
13
13
|
|
|
@@ -21,22 +21,22 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
21
21
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
22
22
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
23
23
|
PERFORMANCE OF THIS SOFTWARE.
|
|
24
|
-
***************************************************************************** */
|
|
25
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
26
|
-
|
|
27
|
-
function __rest(s, e) {
|
|
28
|
-
var t = {};
|
|
29
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
30
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
31
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
32
|
-
}
|
|
33
|
-
return t;
|
|
34
|
-
}
|
|
35
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
36
|
-
var e = new Error(message);
|
|
37
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
38
|
-
};
|
|
39
|
-
|
|
24
|
+
***************************************************************************** */
|
|
25
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
26
|
+
|
|
27
|
+
function __rest(s, e) {
|
|
28
|
+
var t = {};
|
|
29
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
30
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
31
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
32
|
+
}
|
|
33
|
+
return t;
|
|
34
|
+
}
|
|
35
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
36
|
+
var e = new Error(message);
|
|
37
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
40
|
const Colors = {
|
|
41
41
|
PRIMARY: {
|
|
42
42
|
Hex: '#0193D7',
|
|
@@ -85,26 +85,26 @@ const FontSizes = {
|
|
|
85
85
|
};
|
|
86
86
|
const EditableTheme = {
|
|
87
87
|
PRIMARY_COLOR: Colors.PRIMARY,
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
const Header$3 = styled.div `
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
justify-content: space-between;
|
|
94
|
-
box-sizing: border-box;
|
|
95
|
-
background: #f5f5f5;
|
|
96
|
-
border: 1px solid #e5e5e5;
|
|
97
|
-
padding: 14px 20px;
|
|
98
|
-
height: 50px;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
`;
|
|
101
|
-
const Title$2 = styled.div `
|
|
102
|
-
font-size: ${FontSizes.DEFAULT};
|
|
103
|
-
font-weight: 400;
|
|
104
|
-
color: ${Colors.BLACK.Hex};
|
|
105
|
-
line-height: 1.6em;
|
|
106
|
-
font-family: ${FontStyles.DEFAULT};
|
|
107
|
-
box-sizing: border-box;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
const Header$3 = styled.div `
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
background: #f5f5f5;
|
|
96
|
+
border: 1px solid #e5e5e5;
|
|
97
|
+
padding: 14px 20px;
|
|
98
|
+
height: 50px;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
`;
|
|
101
|
+
const Title$2 = styled.div `
|
|
102
|
+
font-size: ${FontSizes.DEFAULT};
|
|
103
|
+
font-weight: 400;
|
|
104
|
+
color: ${Colors.BLACK.Hex};
|
|
105
|
+
line-height: 1.6em;
|
|
106
|
+
font-family: ${FontStyles.DEFAULT};
|
|
107
|
+
box-sizing: border-box;
|
|
108
108
|
`;
|
|
109
109
|
const Accordion = (_a) => {
|
|
110
110
|
var { title, children, open, onClick } = _a, accessibleProps = __rest(_a, ["title", "children", "open", "onClick"]);
|
|
@@ -113,13 +113,13 @@ const Accordion = (_a) => {
|
|
|
113
113
|
React.createElement(Title$2, null, title),
|
|
114
114
|
React.createElement(Icon, { color: Colors.BLACK.Hex, path: open ? js.mdiChevronUp : js.mdiChevronDown, size: '24px' })),
|
|
115
115
|
open ? children : null));
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
const StyledButton = styled.button `
|
|
119
|
-
height: ${props => (props.$small ? '30px' : '40px')};
|
|
120
|
-
line-height: 1em;
|
|
121
|
-
border-radius: ${props => (props.$small ? '15px' : '20px')};
|
|
122
|
-
margin: ${props => props.$margin || '0px'};
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
const StyledButton = styled.button `
|
|
119
|
+
height: ${props => (props.$small ? '30px' : '40px')};
|
|
120
|
+
line-height: 1em;
|
|
121
|
+
border-radius: ${props => (props.$small ? '15px' : '20px')};
|
|
122
|
+
margin: ${props => props.$margin || '0px'};
|
|
123
123
|
padding: ${props => {
|
|
124
124
|
if (props.$hasChildren) {
|
|
125
125
|
if (props.$small) {
|
|
@@ -130,9 +130,9 @@ const StyledButton = styled.button `
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
return '0px';
|
|
133
|
-
}};
|
|
134
|
-
outline: none;
|
|
135
|
-
background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
|
|
133
|
+
}};
|
|
134
|
+
outline: none;
|
|
135
|
+
background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
|
|
136
136
|
width: ${props => {
|
|
137
137
|
if (props.$hasChildren) {
|
|
138
138
|
return 'auto';
|
|
@@ -141,53 +141,53 @@ const StyledButton = styled.button `
|
|
|
141
141
|
return '30px';
|
|
142
142
|
}
|
|
143
143
|
return '40px';
|
|
144
|
-
}};
|
|
145
|
-
cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
|
|
146
|
-
display: flex;
|
|
147
|
-
align-items: center;
|
|
148
|
-
justify-content: center;
|
|
149
|
-
opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
|
|
150
|
-
border-width: 1px;
|
|
151
|
-
border-style: solid;
|
|
152
|
-
border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
|
|
153
|
-
box-sizing: border-box;
|
|
154
|
-
|
|
155
|
-
&:active,
|
|
156
|
-
&:focus,
|
|
157
|
-
&:hover {
|
|
158
|
-
opacity: ${props => (props.$disabled ? 0.6 : 1)};
|
|
159
|
-
}
|
|
160
|
-
`;
|
|
161
|
-
const Label$5 = styled.span `
|
|
162
|
-
color: ${props => props.$content_color || '#fff'};
|
|
163
|
-
font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
|
|
164
|
-
font-family: ${FontStyles.DEFAULT};
|
|
165
|
-
font-weight: 500;
|
|
166
|
-
line-height: 1;
|
|
167
|
-
`;
|
|
168
|
-
const StyledIcon$6 = styled.span `
|
|
169
|
-
margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
|
|
170
|
-
margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
|
|
171
|
-
display: flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
box-sizing: border-box;
|
|
174
|
-
`;
|
|
175
|
-
const Badge$1 = styled.span `
|
|
176
|
-
width: ${props => (props.$small ? '20px' : '24px')};
|
|
177
|
-
height: ${props => (props.$small ? '20px' : '24px')};
|
|
178
|
-
line-height: 1;
|
|
179
|
-
display: flex;
|
|
180
|
-
align-items: center;
|
|
181
|
-
justify-content: center;
|
|
182
|
-
border-radius: 100%;
|
|
183
|
-
background-color: ${props => props.$bg_color || '#fff'};
|
|
184
|
-
color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
|
|
185
|
-
font-size: ${props => (props.$small ? '10px' : '12px')};
|
|
186
|
-
font-weight: 600;
|
|
187
|
-
font-family: ${FontStyles.DEFAULT};
|
|
188
|
-
letter-spacing: -1px;
|
|
189
|
-
margin-left: ${props => (props.$small ? '5px' : '10px')};
|
|
190
|
-
margin-right: ${props => (props.$small ? '-5px' : '-10px')};
|
|
144
|
+
}};
|
|
145
|
+
cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
|
|
146
|
+
display: flex;
|
|
147
|
+
align-items: center;
|
|
148
|
+
justify-content: center;
|
|
149
|
+
opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
|
|
150
|
+
border-width: 1px;
|
|
151
|
+
border-style: solid;
|
|
152
|
+
border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
|
|
153
|
+
box-sizing: border-box;
|
|
154
|
+
|
|
155
|
+
&:active,
|
|
156
|
+
&:focus,
|
|
157
|
+
&:hover {
|
|
158
|
+
opacity: ${props => (props.$disabled ? 0.6 : 1)};
|
|
159
|
+
}
|
|
160
|
+
`;
|
|
161
|
+
const Label$5 = styled.span `
|
|
162
|
+
color: ${props => props.$content_color || '#fff'};
|
|
163
|
+
font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
|
|
164
|
+
font-family: ${FontStyles.DEFAULT};
|
|
165
|
+
font-weight: 500;
|
|
166
|
+
line-height: 1;
|
|
167
|
+
`;
|
|
168
|
+
const StyledIcon$6 = styled.span `
|
|
169
|
+
margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
|
|
170
|
+
margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
box-sizing: border-box;
|
|
174
|
+
`;
|
|
175
|
+
const Badge$1 = styled.span `
|
|
176
|
+
width: ${props => (props.$small ? '20px' : '24px')};
|
|
177
|
+
height: ${props => (props.$small ? '20px' : '24px')};
|
|
178
|
+
line-height: 1;
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
border-radius: 100%;
|
|
183
|
+
background-color: ${props => props.$bg_color || '#fff'};
|
|
184
|
+
color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
|
|
185
|
+
font-size: ${props => (props.$small ? '10px' : '12px')};
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
font-family: ${FontStyles.DEFAULT};
|
|
188
|
+
letter-spacing: -1px;
|
|
189
|
+
margin-left: ${props => (props.$small ? '5px' : '10px')};
|
|
190
|
+
margin-right: ${props => (props.$small ? '-5px' : '-10px')};
|
|
191
191
|
`;
|
|
192
192
|
const Button = (_a) => {
|
|
193
193
|
var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
|
|
@@ -229,29 +229,29 @@ const Button = (_a) => {
|
|
|
229
229
|
icon && !badge ? (React.createElement(StyledIcon$6, { "$hasChildren": !!has_children },
|
|
230
230
|
React.createElement(Icon, { color: format ? format_styles.content_color : '#fff', path: loading ? js.mdiLoading : icon, size: small ? '20px' : '24px', spin: loading }))) : null,
|
|
231
231
|
badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
const StyledComponent = styled.p `
|
|
235
|
-
color: ${props => Colors[props.$color || 'BLACK'].Hex};
|
|
236
|
-
font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
|
|
237
|
-
line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
|
|
238
|
-
letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
|
|
239
|
-
font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
|
|
240
|
-
font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
|
|
241
|
-
text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
|
|
242
|
-
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
243
|
-
margin: ${props => props.$margin || '0px'};
|
|
244
|
-
padding: ${props => props.$padding || '0px'};
|
|
245
|
-
text-align: ${props => props.$align || 'left'};
|
|
246
|
-
box-sizing: border-box;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
const StyledComponent = styled.p `
|
|
235
|
+
color: ${props => Colors[props.$color || 'BLACK'].Hex};
|
|
236
|
+
font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
|
|
237
|
+
line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
|
|
238
|
+
letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
|
|
239
|
+
font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
|
|
240
|
+
font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
|
|
241
|
+
text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
|
|
242
|
+
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
243
|
+
margin: ${props => props.$margin || '0px'};
|
|
244
|
+
padding: ${props => props.$padding || '0px'};
|
|
245
|
+
text-align: ${props => props.$align || 'left'};
|
|
246
|
+
box-sizing: border-box;
|
|
247
247
|
`;
|
|
248
248
|
const Copy = ({ children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', }) => {
|
|
249
249
|
return (React.createElement(StyledComponent, { "$align": align, "$color": color, "$margin": margin, "$padding": padding, "$type": type }, children));
|
|
250
250
|
};
|
|
251
251
|
Copy.defaultProps = {
|
|
252
252
|
type: 'default',
|
|
253
|
-
};
|
|
254
|
-
|
|
253
|
+
};
|
|
254
|
+
|
|
255
255
|
const H1 = styled.h1 `
|
|
256
256
|
color: ${Colors.BLACK.Hex};
|
|
257
257
|
font-size: 30px;
|
|
@@ -299,8 +299,8 @@ const Heading = (_a) => {
|
|
|
299
299
|
Heading.defaultProps = {
|
|
300
300
|
bold: false,
|
|
301
301
|
type: 'primary',
|
|
302
|
-
};
|
|
303
|
-
|
|
302
|
+
};
|
|
303
|
+
|
|
304
304
|
const Wrapper$i = styled.div `
|
|
305
305
|
position: fixed;
|
|
306
306
|
top: 0;
|
|
@@ -314,7 +314,7 @@ const Wrapper$i = styled.div `
|
|
|
314
314
|
justify-content: center;
|
|
315
315
|
box-sizing: border-box;
|
|
316
316
|
`;
|
|
317
|
-
const Container$4 = styled.dialog(props => (Object.assign({ maxWidth: '600px', width: 'auto', borderRadius: '8px', overflow: 'hidden', boxShadow: '0px 10px 30px -15px rgba(0, 0, 0, 0.2)', outline: 'none', border: 'none', position: 'relative', padding: '40px', textAlign: 'center', boxSizing: 'border-box', wordWrap: 'break-word' },
|
|
317
|
+
const Container$4 = styled.dialog(props => (Object.assign({ maxWidth: '600px', width: 'auto', borderRadius: '8px', overflow: 'hidden', boxShadow: '0px 10px 30px -15px rgba(0, 0, 0, 0.2)', outline: 'none', border: 'none', position: 'relative', padding: '40px', textAlign: 'center', boxSizing: 'border-box', wordWrap: 'break-word' }, props.$customStyle)));
|
|
318
318
|
const Buttons$1 = styled.div `
|
|
319
319
|
display: flex;
|
|
320
320
|
gap: 10px;
|
|
@@ -330,32 +330,32 @@ const ActionDialog = (_a) => {
|
|
|
330
330
|
title ? (React.createElement(Heading, { margin: '0px 0px 20px 0px', type: 'secondary' }, title)) : null,
|
|
331
331
|
description ? React.createElement(Copy, { align: 'center' }, description) : null,
|
|
332
332
|
primaryButton || secondaryButton || tertiaryButton ? (React.createElement(Buttons$1, null,
|
|
333
|
-
tertiaryButton ? React.createElement(Button, Object.assign({}, tertiaryButton, { format: 'secondary' })) : null,
|
|
334
|
-
secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: 'secondary' })) : null,
|
|
335
|
-
primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
const Wrapper$h = styled.div `
|
|
339
|
-
border: 1px solid #f1f1f1;
|
|
340
|
-
border-radius: 4px;
|
|
341
|
-
border-left-width: 4px;
|
|
342
|
-
box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
|
|
343
|
-
display: flex;
|
|
344
|
-
align-items: flex-start;
|
|
345
|
-
gap: ${({ $small }) => ($small ? '8px' : '20px')};
|
|
346
|
-
padding: ${({ $small }) => ($small ? '11px' : '20px')};
|
|
347
|
-
box-sizing: border-box;
|
|
348
|
-
`;
|
|
349
|
-
const StyledIcon$5 = styled(Icon) `
|
|
350
|
-
flex-shrink: 0;
|
|
351
|
-
`;
|
|
352
|
-
const Action$1 = styled.div `
|
|
353
|
-
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
354
|
-
font-size: ${FontSizes.DEFAULT};
|
|
355
|
-
font-family: ${FontStyles.DEFAULT};
|
|
356
|
-
font-weight: 500;
|
|
357
|
-
cursor: pointer;
|
|
358
|
-
margin-top: 6px;
|
|
333
|
+
tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
|
|
334
|
+
secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
|
|
335
|
+
primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)));
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
const Wrapper$h = styled.div `
|
|
339
|
+
border: 1px solid #f1f1f1;
|
|
340
|
+
border-radius: 4px;
|
|
341
|
+
border-left-width: 4px;
|
|
342
|
+
box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
|
|
343
|
+
display: flex;
|
|
344
|
+
align-items: flex-start;
|
|
345
|
+
gap: ${({ $small }) => ($small ? '8px' : '20px')};
|
|
346
|
+
padding: ${({ $small }) => ($small ? '11px' : '20px')};
|
|
347
|
+
box-sizing: border-box;
|
|
348
|
+
`;
|
|
349
|
+
const StyledIcon$5 = styled(Icon) `
|
|
350
|
+
flex-shrink: 0;
|
|
351
|
+
`;
|
|
352
|
+
const Action$1 = styled.div `
|
|
353
|
+
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
354
|
+
font-size: ${FontSizes.DEFAULT};
|
|
355
|
+
font-family: ${FontStyles.DEFAULT};
|
|
356
|
+
font-weight: 500;
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
margin-top: 6px;
|
|
359
359
|
`;
|
|
360
360
|
Action$1.defaultProps = { theme: EditableTheme };
|
|
361
361
|
const Alert = (_a) => {
|
|
@@ -385,8 +385,8 @@ const Alert = (_a) => {
|
|
|
385
385
|
title && !small ? (React.createElement(Heading, { bold: true, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
|
|
386
386
|
description ? (React.createElement(Copy, { margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
|
|
387
387
|
action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
|
|
388
|
-
};
|
|
389
|
-
|
|
388
|
+
};
|
|
389
|
+
|
|
390
390
|
const colorMapping = {
|
|
391
391
|
black: {
|
|
392
392
|
fill_1: '#000000',
|
|
@@ -427,61 +427,61 @@ const Logo = (_a) => {
|
|
|
427
427
|
React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
|
|
428
428
|
React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
|
|
429
429
|
}
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
const Container$3 = styled.header `
|
|
433
|
-
width: 100%;
|
|
434
|
-
display: flex;
|
|
435
|
-
padding: 20px;
|
|
436
|
-
box-sizing: border-box;
|
|
437
|
-
border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
438
|
-
background: '#fff';
|
|
439
|
-
justify-content: space-between;
|
|
440
|
-
`;
|
|
441
|
-
const LogoWrapper = styled.div `
|
|
442
|
-
display: flex;
|
|
443
|
-
align-items: center;
|
|
444
|
-
`;
|
|
445
|
-
const Image = styled.img `
|
|
446
|
-
height: 30px !important;
|
|
447
|
-
width: auto !important;
|
|
448
|
-
`;
|
|
449
|
-
const Buttons = styled.div `
|
|
450
|
-
display: flex;
|
|
451
|
-
flex-direction: row;
|
|
452
|
-
column-gap: 10px;
|
|
453
|
-
flex-direction: reverse;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
const Container$3 = styled.header `
|
|
433
|
+
width: 100%;
|
|
434
|
+
display: flex;
|
|
435
|
+
padding: 20px;
|
|
436
|
+
box-sizing: border-box;
|
|
437
|
+
border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
438
|
+
background: '#fff';
|
|
439
|
+
justify-content: space-between;
|
|
440
|
+
`;
|
|
441
|
+
const LogoWrapper = styled.div `
|
|
442
|
+
display: flex;
|
|
443
|
+
align-items: center;
|
|
444
|
+
`;
|
|
445
|
+
const Image = styled.img `
|
|
446
|
+
height: 30px !important;
|
|
447
|
+
width: auto !important;
|
|
448
|
+
`;
|
|
449
|
+
const Buttons = styled.div `
|
|
450
|
+
display: flex;
|
|
451
|
+
flex-direction: row;
|
|
452
|
+
column-gap: 10px;
|
|
453
|
+
flex-direction: reverse;
|
|
454
454
|
`;
|
|
455
455
|
const AppHeader = ({ logoUrl, buttons = [] }) => {
|
|
456
456
|
return (React.createElement(Container$3, null,
|
|
457
457
|
React.createElement(LogoWrapper, null, logoUrl ? React.createElement(Image, { src: logoUrl }) : React.createElement(Logo, { height: '30px' })),
|
|
458
458
|
React.createElement(Buttons, null, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b)))))));
|
|
459
|
-
};
|
|
460
|
-
|
|
461
|
-
const Wrapper$g = styled.div `
|
|
462
|
-
display: inline-block;
|
|
463
|
-
border-radius: 4px;
|
|
464
|
-
padding: 4px 6px;
|
|
465
|
-
background: ${props => Colors[props.$color].Hex};
|
|
466
|
-
color: #ffffff;
|
|
467
|
-
box-sizing: border-box;
|
|
468
|
-
cursor: ${props => (props.$removable ? 'pointer' : 'default')};
|
|
469
|
-
`;
|
|
470
|
-
const Content$3 = styled.div `
|
|
471
|
-
display: flex;
|
|
472
|
-
align-items: center;
|
|
473
|
-
`;
|
|
474
|
-
const Label$4 = styled.div `
|
|
475
|
-
color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
|
|
476
|
-
font-size: ${FontSizes.SMALL};
|
|
477
|
-
font-weight: 500;
|
|
478
|
-
font-family: ${FontStyles.DEFAULT};
|
|
479
|
-
line-height: 1.2em;
|
|
480
|
-
`;
|
|
481
|
-
const Remove$1 = styled.div `
|
|
482
|
-
margin-left: 10px;
|
|
483
|
-
display: flex;
|
|
484
|
-
align-items: center;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
const Wrapper$g = styled.div `
|
|
462
|
+
display: inline-block;
|
|
463
|
+
border-radius: 4px;
|
|
464
|
+
padding: 4px 6px;
|
|
465
|
+
background: ${props => Colors[props.$color].Hex};
|
|
466
|
+
color: #ffffff;
|
|
467
|
+
box-sizing: border-box;
|
|
468
|
+
cursor: ${props => (props.$removable ? 'pointer' : 'default')};
|
|
469
|
+
`;
|
|
470
|
+
const Content$3 = styled.div `
|
|
471
|
+
display: flex;
|
|
472
|
+
align-items: center;
|
|
473
|
+
`;
|
|
474
|
+
const Label$4 = styled.div `
|
|
475
|
+
color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
|
|
476
|
+
font-size: ${FontSizes.SMALL};
|
|
477
|
+
font-weight: 500;
|
|
478
|
+
font-family: ${FontStyles.DEFAULT};
|
|
479
|
+
line-height: 1.2em;
|
|
480
|
+
`;
|
|
481
|
+
const Remove$1 = styled.div `
|
|
482
|
+
margin-left: 10px;
|
|
483
|
+
display: flex;
|
|
484
|
+
align-items: center;
|
|
485
485
|
`;
|
|
486
486
|
const Tag = (_a) => {
|
|
487
487
|
var { children, color = 'PRIMARY', removable, onClick } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick"]);
|
|
@@ -490,91 +490,91 @@ const Tag = (_a) => {
|
|
|
490
490
|
React.createElement(Label$4, { "$color": color }, children),
|
|
491
491
|
removable ? (React.createElement(Remove$1, null,
|
|
492
492
|
React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: js.mdiClose, size: '15px' }))) : null)));
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
const SidebarContainer = styled.div `
|
|
496
|
-
border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
497
|
-
display: flex;
|
|
498
|
-
flex-direction: column;
|
|
499
|
-
height: 100%;
|
|
500
|
-
padding: 12px 0px;
|
|
501
|
-
width: ${props => (props.$isOpen ? props.$width : '60px')};
|
|
502
|
-
`;
|
|
503
|
-
const MenuWrapper = styled.div `
|
|
504
|
-
display: flex;
|
|
505
|
-
align-items: center;
|
|
506
|
-
border-left-width: 4px;
|
|
507
|
-
border-left-style: solid;
|
|
508
|
-
border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
|
|
509
|
-
cursor: pointer;
|
|
510
|
-
height: 40px;
|
|
511
|
-
|
|
512
|
-
&:hover > div {
|
|
513
|
-
color: ${props => props.$color.Hex};
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
&:hover > svg > path {
|
|
517
|
-
fill: ${Colors.BLACK.Hex} !important;
|
|
518
|
-
}
|
|
519
|
-
`;
|
|
520
|
-
const MenuIcon = styled(Icon) `
|
|
521
|
-
width: 20px;
|
|
522
|
-
height: 20px;
|
|
523
|
-
margin: 0px 16px;
|
|
524
|
-
flex-shrink: 0;
|
|
525
|
-
|
|
526
|
-
> path {
|
|
527
|
-
fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
|
|
528
|
-
}
|
|
529
|
-
`;
|
|
530
|
-
const MenuLabel = styled.div `
|
|
531
|
-
color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
|
|
532
|
-
flex: 1;
|
|
533
|
-
font-size: 12px;
|
|
534
|
-
font-style: normal;
|
|
535
|
-
font-weight: 600;
|
|
536
|
-
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
537
|
-
line-height: 16px;
|
|
538
|
-
padding: 12px 0px;
|
|
539
|
-
letter-spacing: 1px;
|
|
540
|
-
`;
|
|
541
|
-
const SubMenu = styled.div `
|
|
542
|
-
overflow-y: auto;
|
|
543
|
-
padding-left: 44px;
|
|
544
|
-
padding-right: 20px;
|
|
545
|
-
padding-bottom: 10px;
|
|
546
|
-
`;
|
|
547
|
-
const SubMenuItem = styled.a `
|
|
548
|
-
display: block;
|
|
549
|
-
padding: 8px 12px;
|
|
550
|
-
border-radius: 8px;
|
|
551
|
-
font-size: 13px;
|
|
552
|
-
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
553
|
-
line-height: 20px;
|
|
554
|
-
text-decoration: none;
|
|
555
|
-
font-weight: ${({ $active }) => ($active ? '500' : '400')};
|
|
556
|
-
color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
|
|
557
|
-
background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
|
|
558
|
-
cursor: pointer;
|
|
559
|
-
|
|
560
|
-
&:hover {
|
|
561
|
-
color: ${props => props.$color.Hex};
|
|
562
|
-
font-weight: 500;
|
|
563
|
-
}
|
|
564
|
-
`;
|
|
565
|
-
const Footer = styled.div `
|
|
566
|
-
padding: 20px 14px 0px;
|
|
567
|
-
display: flex;
|
|
568
|
-
align-items: center;
|
|
569
|
-
`;
|
|
570
|
-
const FooterInfo = styled.div `
|
|
571
|
-
display: flex;
|
|
572
|
-
flex-direction: column;
|
|
573
|
-
flex: 1;
|
|
574
|
-
align-items: flex-start;
|
|
575
|
-
`;
|
|
576
|
-
const SidebarMenuContainer = styled.div `
|
|
577
|
-
flex-grow: 1;
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
const SidebarContainer = styled.div `
|
|
496
|
+
border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
497
|
+
display: flex;
|
|
498
|
+
flex-direction: column;
|
|
499
|
+
height: 100%;
|
|
500
|
+
padding: 12px 0px;
|
|
501
|
+
width: ${props => (props.$isOpen ? props.$width : '60px')};
|
|
502
|
+
`;
|
|
503
|
+
const MenuWrapper = styled.div `
|
|
504
|
+
display: flex;
|
|
505
|
+
align-items: center;
|
|
506
|
+
border-left-width: 4px;
|
|
507
|
+
border-left-style: solid;
|
|
508
|
+
border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
|
|
509
|
+
cursor: pointer;
|
|
510
|
+
height: 40px;
|
|
511
|
+
|
|
512
|
+
&:hover > div {
|
|
513
|
+
color: ${props => props.$color.Hex};
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
&:hover > svg > path {
|
|
517
|
+
fill: ${Colors.BLACK.Hex} !important;
|
|
518
|
+
}
|
|
519
|
+
`;
|
|
520
|
+
const MenuIcon = styled(Icon) `
|
|
521
|
+
width: 20px;
|
|
522
|
+
height: 20px;
|
|
523
|
+
margin: 0px 16px;
|
|
524
|
+
flex-shrink: 0;
|
|
525
|
+
|
|
526
|
+
> path {
|
|
527
|
+
fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
|
|
528
|
+
}
|
|
529
|
+
`;
|
|
530
|
+
const MenuLabel = styled.div `
|
|
531
|
+
color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
|
|
532
|
+
flex: 1;
|
|
533
|
+
font-size: 12px;
|
|
534
|
+
font-style: normal;
|
|
535
|
+
font-weight: 600;
|
|
536
|
+
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
537
|
+
line-height: 16px;
|
|
538
|
+
padding: 12px 0px;
|
|
539
|
+
letter-spacing: 1px;
|
|
540
|
+
`;
|
|
541
|
+
const SubMenu = styled.div `
|
|
542
|
+
overflow-y: auto;
|
|
543
|
+
padding-left: 44px;
|
|
544
|
+
padding-right: 20px;
|
|
545
|
+
padding-bottom: 10px;
|
|
546
|
+
`;
|
|
547
|
+
const SubMenuItem = styled.a `
|
|
548
|
+
display: block;
|
|
549
|
+
padding: 8px 12px;
|
|
550
|
+
border-radius: 8px;
|
|
551
|
+
font-size: 13px;
|
|
552
|
+
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
553
|
+
line-height: 20px;
|
|
554
|
+
text-decoration: none;
|
|
555
|
+
font-weight: ${({ $active }) => ($active ? '500' : '400')};
|
|
556
|
+
color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
|
|
557
|
+
background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
|
|
558
|
+
cursor: pointer;
|
|
559
|
+
|
|
560
|
+
&:hover {
|
|
561
|
+
color: ${props => props.$color.Hex};
|
|
562
|
+
font-weight: 500;
|
|
563
|
+
}
|
|
564
|
+
`;
|
|
565
|
+
const Footer = styled.div `
|
|
566
|
+
padding: 20px 14px 0px;
|
|
567
|
+
display: flex;
|
|
568
|
+
align-items: center;
|
|
569
|
+
`;
|
|
570
|
+
const FooterInfo = styled.div `
|
|
571
|
+
display: flex;
|
|
572
|
+
flex-direction: column;
|
|
573
|
+
flex: 1;
|
|
574
|
+
align-items: flex-start;
|
|
575
|
+
`;
|
|
576
|
+
const SidebarMenuContainer = styled.div `
|
|
577
|
+
flex-grow: 1;
|
|
578
578
|
`;
|
|
579
579
|
const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
|
|
580
580
|
const theme = React.useContext(styled.ThemeContext) || EditableTheme;
|
|
@@ -598,75 +598,75 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
|
|
|
598
598
|
e.preventDefault();
|
|
599
599
|
toggleCollapse(!collapsed);
|
|
600
600
|
}, small: true }))));
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
const Wrapper$f = styled.div `
|
|
604
|
-
border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
605
|
-
border-radius: 8px;
|
|
606
|
-
box-sizing: border-box;
|
|
607
|
-
display: flex;
|
|
608
|
-
align-items: center;
|
|
609
|
-
justify-content: space-between;
|
|
610
|
-
padding: 16px 20px;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
const Wrapper$f = styled.div `
|
|
604
|
+
border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
605
|
+
border-radius: 8px;
|
|
606
|
+
box-sizing: border-box;
|
|
607
|
+
display: flex;
|
|
608
|
+
align-items: center;
|
|
609
|
+
justify-content: space-between;
|
|
610
|
+
padding: 16px 20px;
|
|
611
611
|
`;
|
|
612
612
|
Wrapper$f.defaultProps = { theme: EditableTheme };
|
|
613
|
-
const Left = styled.div `
|
|
614
|
-
box-sizing: border-box;
|
|
615
|
-
display: flex;
|
|
616
|
-
align-items: center;
|
|
617
|
-
justify-content: space-between;
|
|
618
|
-
flex-shrink: 0;
|
|
619
|
-
`;
|
|
620
|
-
const Info$1 = styled.div `
|
|
621
|
-
box-sizing: border-box;
|
|
622
|
-
display: flex;
|
|
623
|
-
align-items: center;
|
|
624
|
-
margin-right: 30px;
|
|
625
|
-
`;
|
|
626
|
-
const Selected = styled.span `
|
|
627
|
-
font-size: 14px;
|
|
628
|
-
font-weight: 400;
|
|
629
|
-
font-family: ${FontStyles.DEFAULT};
|
|
630
|
-
color: ${Colors.BLACK.Hex};
|
|
631
|
-
line-height: 1;
|
|
632
|
-
`;
|
|
633
|
-
const Clear = styled.span `
|
|
634
|
-
font-size: 14px;
|
|
635
|
-
font-weight: 400;
|
|
636
|
-
font-family: ${FontStyles.DEFAULT};
|
|
637
|
-
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
638
|
-
line-height: 1;
|
|
639
|
-
cursor: pointer;
|
|
640
|
-
padding-left: 10px;
|
|
641
|
-
margin-left: 10px;
|
|
642
|
-
border-left: 1px solid #ccc;
|
|
613
|
+
const Left = styled.div `
|
|
614
|
+
box-sizing: border-box;
|
|
615
|
+
display: flex;
|
|
616
|
+
align-items: center;
|
|
617
|
+
justify-content: space-between;
|
|
618
|
+
flex-shrink: 0;
|
|
619
|
+
`;
|
|
620
|
+
const Info$1 = styled.div `
|
|
621
|
+
box-sizing: border-box;
|
|
622
|
+
display: flex;
|
|
623
|
+
align-items: center;
|
|
624
|
+
margin-right: 30px;
|
|
625
|
+
`;
|
|
626
|
+
const Selected = styled.span `
|
|
627
|
+
font-size: 14px;
|
|
628
|
+
font-weight: 400;
|
|
629
|
+
font-family: ${FontStyles.DEFAULT};
|
|
630
|
+
color: ${Colors.BLACK.Hex};
|
|
631
|
+
line-height: 1;
|
|
632
|
+
`;
|
|
633
|
+
const Clear = styled.span `
|
|
634
|
+
font-size: 14px;
|
|
635
|
+
font-weight: 400;
|
|
636
|
+
font-family: ${FontStyles.DEFAULT};
|
|
637
|
+
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
638
|
+
line-height: 1;
|
|
639
|
+
cursor: pointer;
|
|
640
|
+
padding-left: 10px;
|
|
641
|
+
margin-left: 10px;
|
|
642
|
+
border-left: 1px solid #ccc;
|
|
643
643
|
`;
|
|
644
644
|
Clear.defaultProps = { theme: EditableTheme };
|
|
645
|
-
const Actions$1 = styled.div `
|
|
646
|
-
box-sizing: border-box;
|
|
647
|
-
display: flex;
|
|
648
|
-
align-items: center;
|
|
649
|
-
column-gap: 10px;
|
|
650
|
-
`;
|
|
651
|
-
const Error$1 = styled.div `
|
|
652
|
-
box-sizing: border-box;
|
|
653
|
-
display: flex;
|
|
654
|
-
align-items: center;
|
|
655
|
-
background: rgba(${Colors.RED.Rgb}, 0.1);
|
|
656
|
-
border-radius: 4px;
|
|
657
|
-
padding: 6px 8px;
|
|
658
|
-
text-overflow: ellipsis;
|
|
659
|
-
white-space: nowrap;
|
|
660
|
-
overflow: hidden;
|
|
661
|
-
margin-left: 30px;
|
|
662
|
-
`;
|
|
663
|
-
const ErrorMsg = styled.span `
|
|
664
|
-
font-size: 14px;
|
|
665
|
-
font-weight: 500;
|
|
666
|
-
font-family: ${FontStyles.DEFAULT};
|
|
667
|
-
line-height: 1em;
|
|
668
|
-
color: ${Colors.RED.Hex};
|
|
669
|
-
margin-left: 8px;
|
|
645
|
+
const Actions$1 = styled.div `
|
|
646
|
+
box-sizing: border-box;
|
|
647
|
+
display: flex;
|
|
648
|
+
align-items: center;
|
|
649
|
+
column-gap: 10px;
|
|
650
|
+
`;
|
|
651
|
+
const Error$1 = styled.div `
|
|
652
|
+
box-sizing: border-box;
|
|
653
|
+
display: flex;
|
|
654
|
+
align-items: center;
|
|
655
|
+
background: rgba(${Colors.RED.Rgb}, 0.1);
|
|
656
|
+
border-radius: 4px;
|
|
657
|
+
padding: 6px 8px;
|
|
658
|
+
text-overflow: ellipsis;
|
|
659
|
+
white-space: nowrap;
|
|
660
|
+
overflow: hidden;
|
|
661
|
+
margin-left: 30px;
|
|
662
|
+
`;
|
|
663
|
+
const ErrorMsg = styled.span `
|
|
664
|
+
font-size: 14px;
|
|
665
|
+
font-weight: 500;
|
|
666
|
+
font-family: ${FontStyles.DEFAULT};
|
|
667
|
+
line-height: 1em;
|
|
668
|
+
color: ${Colors.RED.Hex};
|
|
669
|
+
margin-left: 8px;
|
|
670
670
|
`;
|
|
671
671
|
const BulkActionBar = (_a) => {
|
|
672
672
|
var { actions = [], errorMsg, onClear, selectedCount = 0 } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
|
|
@@ -681,46 +681,46 @@ const BulkActionBar = (_a) => {
|
|
|
681
681
|
errorMsg ? (React.createElement(Error$1, null,
|
|
682
682
|
React.createElement(Icon, { color: Colors.RED.Hex, path: js.mdiInformationOutline, size: '20px' }),
|
|
683
683
|
React.createElement(ErrorMsg, null, errorMsg))) : null));
|
|
684
|
-
};
|
|
685
|
-
|
|
686
|
-
const Wrapper$e = styled.div `
|
|
687
|
-
background: #fff;
|
|
688
|
-
border-radius: 8px;
|
|
689
|
-
box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
|
|
690
|
-
display: flex;
|
|
691
|
-
flex-direction: column;
|
|
692
|
-
gap: 4px;
|
|
693
|
-
max-height: ${props => props.$maxHeight || '312px'};
|
|
694
|
-
padding: 10px;
|
|
695
|
-
width: 200px;
|
|
696
|
-
`;
|
|
697
|
-
const MenuItem = styled.div `
|
|
698
|
-
align-items: center;
|
|
699
|
-
border-radius: 8px;
|
|
700
|
-
border: 1px solid transparent;
|
|
701
|
-
display: flex;
|
|
702
|
-
gap: 8px;
|
|
703
|
-
height: 38px;
|
|
704
|
-
padding: 8px;
|
|
705
|
-
&:hover {
|
|
706
|
-
background: rgba(1, 147, 215, 0.1);
|
|
707
|
-
cursor: pointer;
|
|
708
|
-
|
|
709
|
-
svg,
|
|
710
|
-
path {
|
|
711
|
-
fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
|
|
712
|
-
}
|
|
713
|
-
}
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
const Wrapper$e = styled.div `
|
|
687
|
+
background: #fff;
|
|
688
|
+
border-radius: 8px;
|
|
689
|
+
box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
|
|
690
|
+
display: flex;
|
|
691
|
+
flex-direction: column;
|
|
692
|
+
gap: 4px;
|
|
693
|
+
max-height: ${props => props.$maxHeight || '312px'};
|
|
694
|
+
padding: 10px;
|
|
695
|
+
width: 200px;
|
|
696
|
+
`;
|
|
697
|
+
const MenuItem = styled.div `
|
|
698
|
+
align-items: center;
|
|
699
|
+
border-radius: 8px;
|
|
700
|
+
border: 1px solid transparent;
|
|
701
|
+
display: flex;
|
|
702
|
+
gap: 8px;
|
|
703
|
+
height: 38px;
|
|
704
|
+
padding: 8px;
|
|
705
|
+
&:hover {
|
|
706
|
+
background: rgba(1, 147, 215, 0.1);
|
|
707
|
+
cursor: pointer;
|
|
708
|
+
|
|
709
|
+
svg,
|
|
710
|
+
path {
|
|
711
|
+
fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
714
|
`;
|
|
715
715
|
MenuItem.defaultProps = { theme: EditableTheme };
|
|
716
|
-
const Title$1 = styled.span `
|
|
717
|
-
font-family: Roboto;
|
|
718
|
-
font-size: 14px;
|
|
719
|
-
font-weight: 400;
|
|
720
|
-
height: auto;
|
|
721
|
-
letter-spacing: 0px;
|
|
722
|
-
line-height: 22px;
|
|
723
|
-
text-align: left;
|
|
716
|
+
const Title$1 = styled.span `
|
|
717
|
+
font-family: Roboto;
|
|
718
|
+
font-size: 14px;
|
|
719
|
+
font-weight: 400;
|
|
720
|
+
height: auto;
|
|
721
|
+
letter-spacing: 0px;
|
|
722
|
+
line-height: 22px;
|
|
723
|
+
text-align: left;
|
|
724
724
|
`;
|
|
725
725
|
const MoreMenu = (_a) => {
|
|
726
726
|
var { maxHeight, menuItems = [] } = _a, accessibleProps = __rest(_a, ["maxHeight", "menuItems"]);
|
|
@@ -729,38 +729,38 @@ const MoreMenu = (_a) => {
|
|
|
729
729
|
item.icon ? (React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
|
|
730
730
|
React.createElement(Title$1, null, item.label)));
|
|
731
731
|
})));
|
|
732
|
-
};
|
|
733
|
-
|
|
734
|
-
const Wrapper$d = styled.div `
|
|
735
|
-
position: relative;
|
|
736
|
-
display: inline-block;
|
|
737
|
-
`;
|
|
738
|
-
const StyledMoreMenu = styled(MoreMenu) `
|
|
739
|
-
position: absolute;
|
|
740
|
-
right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
|
|
741
|
-
left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
|
|
742
|
-
top: ${props => (props.$small ? '30px' : '40px')};
|
|
743
|
-
width: ${props => props.$menuWidth};
|
|
744
|
-
z-index: 10;
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
const Wrapper$d = styled.div `
|
|
735
|
+
position: relative;
|
|
736
|
+
display: inline-block;
|
|
737
|
+
`;
|
|
738
|
+
const StyledMoreMenu = styled(MoreMenu) `
|
|
739
|
+
position: absolute;
|
|
740
|
+
right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
|
|
741
|
+
left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
|
|
742
|
+
top: ${props => (props.$small ? '30px' : '40px')};
|
|
743
|
+
width: ${props => props.$menuWidth};
|
|
744
|
+
z-index: 10;
|
|
745
745
|
`;
|
|
746
746
|
const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'right', format = 'primary', menuWidth = '200px', }) => {
|
|
747
747
|
const [show_menu, toggleMenu] = React.useState(false);
|
|
748
748
|
return (React.createElement(Wrapper$d, { onMouseEnter: disabled ? undefined : toggleMenu.bind(null, true), onMouseLeave: disabled ? undefined : toggleMenu.bind(null, false) },
|
|
749
749
|
React.createElement(Button, { disabled: disabled, format: format, icon: js.mdiDotsHorizontal, small: small }, label),
|
|
750
750
|
show_menu ? (React.createElement(StyledMoreMenu, { "$menuWidth": menuWidth, "$position": position, "$small": small, maxHeight: maxHeight, menuItems: menuItems })) : null));
|
|
751
|
-
};
|
|
752
|
-
|
|
753
|
-
const Wrapper$c = styled.div `
|
|
754
|
-
display: inline-block;
|
|
755
|
-
position: relative;
|
|
756
|
-
height: 16px;
|
|
757
|
-
`;
|
|
758
|
-
const StyledIcon$4 = styled(Icon) `
|
|
759
|
-
width: 16px;
|
|
760
|
-
height: 16px;
|
|
761
|
-
margin: 0px 6px;
|
|
762
|
-
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
763
|
-
cursor: pointer;
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
const Wrapper$c = styled.div `
|
|
754
|
+
display: inline-block;
|
|
755
|
+
position: relative;
|
|
756
|
+
height: 16px;
|
|
757
|
+
`;
|
|
758
|
+
const StyledIcon$4 = styled(Icon) `
|
|
759
|
+
width: 16px;
|
|
760
|
+
height: 16px;
|
|
761
|
+
margin: 0px 6px;
|
|
762
|
+
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
763
|
+
cursor: pointer;
|
|
764
764
|
`;
|
|
765
765
|
StyledIcon$4.defaultProps = { theme: EditableTheme };
|
|
766
766
|
const positions = {
|
|
@@ -798,8 +798,8 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
|
|
|
798
798
|
return (React.createElement(Wrapper$c, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
|
|
799
799
|
trigger || React.createElement(StyledIcon$4, { path: js.mdiInformationOutline }),
|
|
800
800
|
show_content ? (React.createElement(Content$2, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
|
|
801
|
-
};
|
|
802
|
-
|
|
801
|
+
};
|
|
802
|
+
|
|
803
803
|
const Wrapper$b = styled.label `
|
|
804
804
|
border-radius: 4px;
|
|
805
805
|
padding: 4px 0px 4px 6px;
|
|
@@ -885,16 +885,16 @@ const Checkbox = (_a) => {
|
|
|
885
885
|
children ? (React.createElement(Label$3, { color: color },
|
|
886
886
|
children,
|
|
887
887
|
tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
|
|
888
|
-
};
|
|
889
|
-
|
|
890
|
-
const SelectAll = styled.div `
|
|
891
|
-
padding: 8px 12px;
|
|
892
|
-
border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
893
|
-
box-sizing: border-box;
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
const SelectAll = styled.div `
|
|
891
|
+
padding: 8px 12px;
|
|
892
|
+
border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
893
|
+
box-sizing: border-box;
|
|
894
894
|
`;
|
|
895
|
-
const Options$1 = styled.div `
|
|
896
|
-
padding: 12px;
|
|
897
|
-
box-sizing: border-box;
|
|
895
|
+
const Options$1 = styled.div `
|
|
896
|
+
padding: 12px;
|
|
897
|
+
box-sizing: border-box;
|
|
898
898
|
`;
|
|
899
899
|
const Checklist = (_a) => {
|
|
900
900
|
var { disabled, onChange, options, selected = [], showSelectAll } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
|
|
@@ -931,8 +931,8 @@ const Checklist = (_a) => {
|
|
|
931
931
|
const checked = selected.includes(option.value);
|
|
932
932
|
return (React.createElement(Checkbox, Object.assign({ key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
|
|
933
933
|
}))));
|
|
934
|
-
};
|
|
935
|
-
|
|
934
|
+
};
|
|
935
|
+
|
|
936
936
|
const Wrapper$a = styled.div `
|
|
937
937
|
border-radius: 4px;
|
|
938
938
|
height: 40px;
|
|
@@ -1030,15 +1030,15 @@ const Select = (_a) => {
|
|
|
1030
1030
|
return (React.createElement("option", { key: i, value: option.value }, option.label || option.value));
|
|
1031
1031
|
}))),
|
|
1032
1032
|
React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: js.mdiChevronDown, size: '22px' })));
|
|
1033
|
-
};
|
|
1034
|
-
|
|
1035
|
-
const DatePickerWrapper = styled.div `
|
|
1036
|
-
display: flex;
|
|
1037
|
-
width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
const DatePickerWrapper = styled.div `
|
|
1036
|
+
display: flex;
|
|
1037
|
+
width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
|
|
1038
1038
|
`;
|
|
1039
|
-
const Middle = styled.div `
|
|
1040
|
-
margin: 0px -1px;
|
|
1041
|
-
flex-grow: 1;
|
|
1039
|
+
const Middle = styled.div `
|
|
1040
|
+
margin: 0px -1px;
|
|
1041
|
+
flex-grow: 1;
|
|
1042
1042
|
`;
|
|
1043
1043
|
const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date, onChange, style, }) => {
|
|
1044
1044
|
const dMaxDate = maxDate ? dayjs(maxDate) : dayjs();
|
|
@@ -1100,66 +1100,66 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
|
|
|
1100
1100
|
React.createElement(Middle, null,
|
|
1101
1101
|
React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, readOnly: readOnly, style: { borderRadius: '0px' }, value: dDate.format('D') })),
|
|
1102
1102
|
React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: dDate.format('YYYY') }))));
|
|
1103
|
-
};
|
|
1104
|
-
|
|
1105
|
-
const Scrim$1 = styled.div `
|
|
1106
|
-
position: ${({ $position }) => $position};
|
|
1107
|
-
top: 0;
|
|
1108
|
-
right: 0;
|
|
1109
|
-
bottom: 0;
|
|
1110
|
-
left: 0;
|
|
1111
|
-
z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
|
|
1112
|
-
background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
|
|
1113
|
-
`;
|
|
1114
|
-
const Container$2 = styled.div `
|
|
1115
|
-
z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
|
|
1116
|
-
min-width: 400px;
|
|
1117
|
-
width: ${({ $width }) => $width || '400px'};
|
|
1118
|
-
overflow: hidden;
|
|
1119
|
-
box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
|
|
1120
|
-
outline: none;
|
|
1121
|
-
border: none;
|
|
1122
|
-
position: ${({ $position }) => $position};
|
|
1123
|
-
top: 0;
|
|
1124
|
-
right: 0;
|
|
1125
|
-
bottom: 0;
|
|
1126
|
-
padding: 0px;
|
|
1127
|
-
display: flex;
|
|
1128
|
-
flex-direction: column;
|
|
1129
|
-
box-sizing: border-box;
|
|
1130
|
-
background: #fff;
|
|
1131
|
-
`;
|
|
1132
|
-
const Header$2 = styled.div `
|
|
1133
|
-
padding: 30px 20px;
|
|
1134
|
-
display: flex;
|
|
1135
|
-
align-items: flex-start;
|
|
1136
|
-
box-sizing: border-box;
|
|
1137
|
-
flex-shrink: 0;
|
|
1138
|
-
background: #fff;
|
|
1139
|
-
`;
|
|
1140
|
-
const Close$1 = styled.div `
|
|
1141
|
-
margin-left: auto;
|
|
1142
|
-
display: flex;
|
|
1143
|
-
align-items: center;
|
|
1144
|
-
padding-left: 20px;
|
|
1145
|
-
cursor: pointer;
|
|
1146
|
-
`;
|
|
1147
|
-
const ContentWrapper$1 = styled.div `
|
|
1148
|
-
overflow-x: hidden;
|
|
1149
|
-
overflow-y: auto;
|
|
1150
|
-
box-sizing: border-box;
|
|
1151
|
-
flex: 1;
|
|
1152
|
-
background: #fff;
|
|
1153
|
-
`;
|
|
1154
|
-
const ButtonBar$1 = styled.div `
|
|
1155
|
-
padding: 20px;
|
|
1156
|
-
display: flex;
|
|
1157
|
-
align-items: center;
|
|
1158
|
-
justify-content: flex-end;
|
|
1159
|
-
box-sizing: border-box;
|
|
1160
|
-
gap: 10px;
|
|
1161
|
-
flex-shrink: 0;
|
|
1162
|
-
background: #fff;
|
|
1103
|
+
};
|
|
1104
|
+
|
|
1105
|
+
const Scrim$1 = styled.div `
|
|
1106
|
+
position: ${({ $position }) => $position};
|
|
1107
|
+
top: 0;
|
|
1108
|
+
right: 0;
|
|
1109
|
+
bottom: 0;
|
|
1110
|
+
left: 0;
|
|
1111
|
+
z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
|
|
1112
|
+
background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
|
|
1113
|
+
`;
|
|
1114
|
+
const Container$2 = styled.div `
|
|
1115
|
+
z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
|
|
1116
|
+
min-width: 400px;
|
|
1117
|
+
width: ${({ $width }) => $width || '400px'};
|
|
1118
|
+
overflow: hidden;
|
|
1119
|
+
box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
|
|
1120
|
+
outline: none;
|
|
1121
|
+
border: none;
|
|
1122
|
+
position: ${({ $position }) => $position};
|
|
1123
|
+
top: 0;
|
|
1124
|
+
right: 0;
|
|
1125
|
+
bottom: 0;
|
|
1126
|
+
padding: 0px;
|
|
1127
|
+
display: flex;
|
|
1128
|
+
flex-direction: column;
|
|
1129
|
+
box-sizing: border-box;
|
|
1130
|
+
background: #fff;
|
|
1131
|
+
`;
|
|
1132
|
+
const Header$2 = styled.div `
|
|
1133
|
+
padding: 30px 20px;
|
|
1134
|
+
display: flex;
|
|
1135
|
+
align-items: flex-start;
|
|
1136
|
+
box-sizing: border-box;
|
|
1137
|
+
flex-shrink: 0;
|
|
1138
|
+
background: #fff;
|
|
1139
|
+
`;
|
|
1140
|
+
const Close$1 = styled.div `
|
|
1141
|
+
margin-left: auto;
|
|
1142
|
+
display: flex;
|
|
1143
|
+
align-items: center;
|
|
1144
|
+
padding-left: 20px;
|
|
1145
|
+
cursor: pointer;
|
|
1146
|
+
`;
|
|
1147
|
+
const ContentWrapper$1 = styled.div `
|
|
1148
|
+
overflow-x: hidden;
|
|
1149
|
+
overflow-y: auto;
|
|
1150
|
+
box-sizing: border-box;
|
|
1151
|
+
flex: 1;
|
|
1152
|
+
background: #fff;
|
|
1153
|
+
`;
|
|
1154
|
+
const ButtonBar$1 = styled.div `
|
|
1155
|
+
padding: 20px;
|
|
1156
|
+
display: flex;
|
|
1157
|
+
align-items: center;
|
|
1158
|
+
justify-content: flex-end;
|
|
1159
|
+
box-sizing: border-box;
|
|
1160
|
+
gap: 10px;
|
|
1161
|
+
flex-shrink: 0;
|
|
1162
|
+
background: #fff;
|
|
1163
1163
|
`;
|
|
1164
1164
|
const Drawer = (_a) => {
|
|
1165
1165
|
var { children, description, title, onClose, primaryButton, position = 'fixed', secondaryButton, tertiaryButton, scrim = 'dark', width } = _a, accessibleProps = __rest(_a, ["children", "description", "title", "onClose", "primaryButton", "position", "secondaryButton", "tertiaryButton", "scrim", "width"]);
|
|
@@ -1187,8 +1187,8 @@ const Drawer = (_a) => {
|
|
|
1187
1187
|
secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' })) : null,
|
|
1188
1188
|
primaryButton ? React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' })) : null)) : null),
|
|
1189
1189
|
scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
|
|
1190
|
-
};
|
|
1191
|
-
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
1192
|
const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, (props.$customStyle))));
|
|
1193
1193
|
const LabelRow = styled.div `
|
|
1194
1194
|
display: flex;
|
|
@@ -1249,43 +1249,43 @@ const Field = (_a) => {
|
|
|
1249
1249
|
description ? React.createElement(Description, null, description) : null,
|
|
1250
1250
|
children,
|
|
1251
1251
|
validationText ? React.createElement(Validation, null, validationText) : null));
|
|
1252
|
-
};
|
|
1253
|
-
|
|
1254
|
-
const Wrapper$8 = styled.fieldset `
|
|
1255
|
-
margin-inline-start: 0px;
|
|
1256
|
-
margin-inline-end: 0px;
|
|
1257
|
-
padding-block-start: 0px;
|
|
1258
|
-
padding-inline-start: 0px;
|
|
1259
|
-
padding-inline-end: 0px;
|
|
1260
|
-
padding-block-end: 0px;
|
|
1261
|
-
min-inline-size: min-content;
|
|
1262
|
-
border-width: 0px;
|
|
1263
|
-
border-style: none;
|
|
1264
|
-
border-color: transparent;
|
|
1265
|
-
border-image: none;
|
|
1266
|
-
`;
|
|
1267
|
-
const Label$1 = styled.legend `
|
|
1268
|
-
padding-inline-start: 0px;
|
|
1269
|
-
padding-inline-end: 0px;
|
|
1270
|
-
|
|
1271
|
-
color: ${Colors.BLACK.Hex};
|
|
1272
|
-
font-family: ${FontStyles.DEFAULT};
|
|
1273
|
-
font-size: ${FontSizes.DEFAULT};
|
|
1274
|
-
font-weight: 500;
|
|
1275
|
-
line-height: 22px;
|
|
1276
|
-
margin-bottom: 6px;
|
|
1277
|
-
`;
|
|
1278
|
-
const Content$1 = styled.div `
|
|
1279
|
-
padding: 20px;
|
|
1280
|
-
border-radius: 8px;
|
|
1281
|
-
background: #fcfcfc;
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
const Wrapper$8 = styled.fieldset `
|
|
1255
|
+
margin-inline-start: 0px;
|
|
1256
|
+
margin-inline-end: 0px;
|
|
1257
|
+
padding-block-start: 0px;
|
|
1258
|
+
padding-inline-start: 0px;
|
|
1259
|
+
padding-inline-end: 0px;
|
|
1260
|
+
padding-block-end: 0px;
|
|
1261
|
+
min-inline-size: min-content;
|
|
1262
|
+
border-width: 0px;
|
|
1263
|
+
border-style: none;
|
|
1264
|
+
border-color: transparent;
|
|
1265
|
+
border-image: none;
|
|
1266
|
+
`;
|
|
1267
|
+
const Label$1 = styled.legend `
|
|
1268
|
+
padding-inline-start: 0px;
|
|
1269
|
+
padding-inline-end: 0px;
|
|
1270
|
+
|
|
1271
|
+
color: ${Colors.BLACK.Hex};
|
|
1272
|
+
font-family: ${FontStyles.DEFAULT};
|
|
1273
|
+
font-size: ${FontSizes.DEFAULT};
|
|
1274
|
+
font-weight: 500;
|
|
1275
|
+
line-height: 22px;
|
|
1276
|
+
margin-bottom: 6px;
|
|
1277
|
+
`;
|
|
1278
|
+
const Content$1 = styled.div `
|
|
1279
|
+
padding: 20px;
|
|
1280
|
+
border-radius: 8px;
|
|
1281
|
+
background: #fcfcfc;
|
|
1282
1282
|
`;
|
|
1283
1283
|
const FieldGroup = ({ children, label }) => {
|
|
1284
1284
|
return (React.createElement(Wrapper$8, null,
|
|
1285
1285
|
React.createElement(Label$1, null, label),
|
|
1286
1286
|
React.createElement(Content$1, null, children)));
|
|
1287
|
-
};
|
|
1288
|
-
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
1289
|
const Dropzone = styled.div `
|
|
1290
1290
|
border-radius: 8px;
|
|
1291
1291
|
border-width: 1px;
|
|
@@ -1451,7 +1451,7 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
|
|
|
1451
1451
|
}
|
|
1452
1452
|
}, [files]);
|
|
1453
1453
|
return (React.createElement(React.Fragment, null,
|
|
1454
|
-
React.createElement("input", { accept: accept, multiple: true, onChange: allowMoreFiles ? handleChange : undefined, ref: inputRef, style: { display: '
|
|
1454
|
+
React.createElement("input", { accept: accept, multiple: true, onChange: allowMoreFiles ? handleChange : undefined, ref: inputRef, style: { display: 'none' }, type: 'file' }),
|
|
1455
1455
|
React.createElement(Dropzone, { "$dragging": dragging, onDragEnter: allowMoreFiles ? handleDrag : undefined, onDragLeave: allowMoreFiles ? handleDrag : undefined, onDragOver: allowMoreFiles ? handleDrag : undefined, onDrop: allowMoreFiles ? handleDrop : undefined, value: files ? files : [] },
|
|
1456
1456
|
files.length ? (React.createElement(Files, null, files.map(file => {
|
|
1457
1457
|
return (React.createElement(File, { key: file.name },
|
|
@@ -1464,8 +1464,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
|
|
|
1464
1464
|
React.createElement(Content, null,
|
|
1465
1465
|
React.createElement(Copy, { align: 'center', type: 'bold' }, "Drag & drop files here or click to select files"),
|
|
1466
1466
|
message ? (React.createElement(Copy, { align: 'center', color: 'GRAY' }, message)) : null))) : null)));
|
|
1467
|
-
};
|
|
1468
|
-
|
|
1467
|
+
};
|
|
1468
|
+
|
|
1469
1469
|
const getAgesFromDob = (dob) => {
|
|
1470
1470
|
let calculated_current_age = null;
|
|
1471
1471
|
let calculated_nearest_age = null;
|
|
@@ -1538,8 +1538,8 @@ const formatAsSsn = (number) => {
|
|
|
1538
1538
|
formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
|
|
1539
1539
|
}
|
|
1540
1540
|
return formatted_value;
|
|
1541
|
-
};
|
|
1542
|
-
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
1543
|
const StyledInput = styled.input `
|
|
1544
1544
|
border: none !important;
|
|
1545
1545
|
background: none !important;
|
|
@@ -1682,7 +1682,6 @@ const Loader$1 = styled.div `
|
|
|
1682
1682
|
const Input$1 = (_a) => {
|
|
1683
1683
|
var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown, onSuggestedSelect, placeholder, readOnly, showCharCount, step, style, suggestedValues, type = 'text', value = '' } = _a, accessibleProps = __rest(_a, ["format", "suffix", "height", "invalid", "loading", "max", "maxLength", "min", "onBlur", "onChange", "onFocus", "onKeyDown", "onSuggestedSelect", "placeholder", "readOnly", "showCharCount", "step", "style", "suggestedValues", "type", "value"]);
|
|
1684
1684
|
const [show_options, setShowOptions] = React.useState(false);
|
|
1685
|
-
const inputRef = React.useRef(null);
|
|
1686
1685
|
const handleInputChange = (e) => {
|
|
1687
1686
|
if (format === 'currency' || format === 'currency_decimal') {
|
|
1688
1687
|
e.target.value = e.target.value.replace(/[^0-9.]/g, '');
|
|
@@ -1739,7 +1738,7 @@ const Input$1 = (_a) => {
|
|
|
1739
1738
|
React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: js.mdiLoading, size: '20px', spin: true }))) : null,
|
|
1740
1739
|
showCharCount ? (React.createElement(CharacterCount, null,
|
|
1741
1740
|
value.length,
|
|
1742
|
-
maxLength ? ` / ${maxLength}` : null)) : null)) : (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!(suggestedValues === null || suggestedValues === void 0 ? void 0 : suggestedValues.length)
|
|
1741
|
+
maxLength ? ` / ${maxLength}` : null)) : null)) : (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!(suggestedValues === null || suggestedValues === void 0 ? void 0 : suggestedValues.length) },
|
|
1743
1742
|
React.createElement(StyledInput, Object.assign({ "$height": height, "$invalid": invalid, "$readOnly": readOnly, max: max, maxLength: maxLength, min: min, onBlur: readOnly
|
|
1744
1743
|
? e => e.preventDefault()
|
|
1745
1744
|
: e => {
|
|
@@ -1756,7 +1755,7 @@ const Input$1 = (_a) => {
|
|
|
1756
1755
|
setShowOptions(true);
|
|
1757
1756
|
if (onFocus)
|
|
1758
1757
|
onFocus(e);
|
|
1759
|
-
}, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder,
|
|
1758
|
+
}, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder, step: step, type: type, value: formatted_value }, accessibleProps)),
|
|
1760
1759
|
loading ? (React.createElement(Loader$1, null,
|
|
1761
1760
|
React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: js.mdiLoading, size: '20px', spin: true }))) : null,
|
|
1762
1761
|
showCharCount ? (React.createElement(CharacterCount, null,
|
|
@@ -1777,63 +1776,63 @@ const Input$1 = (_a) => {
|
|
|
1777
1776
|
setShowOptions(false);
|
|
1778
1777
|
} }, s_value));
|
|
1779
1778
|
}))) : null));
|
|
1780
|
-
};
|
|
1781
|
-
|
|
1782
|
-
const Wrapper$7 = styled.a `
|
|
1783
|
-
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
1784
|
-
font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
|
|
1785
|
-
line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
|
|
1786
|
-
letter-spacing: ${props => (props.$small ? '1px' : '0px')};
|
|
1787
|
-
font-weight: 500;
|
|
1788
|
-
font-style: normal;
|
|
1789
|
-
text-decoration: 'none';
|
|
1790
|
-
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
1791
|
-
margin: 0px;
|
|
1792
|
-
padding: 0px;
|
|
1793
|
-
box-sizing: border-box;
|
|
1794
|
-
cursor: pointer;
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
const Wrapper$7 = styled.a `
|
|
1782
|
+
color: ${props => props.theme.PRIMARY_COLOR.Hex};
|
|
1783
|
+
font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
|
|
1784
|
+
line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
|
|
1785
|
+
letter-spacing: ${props => (props.$small ? '1px' : '0px')};
|
|
1786
|
+
font-weight: 500;
|
|
1787
|
+
font-style: normal;
|
|
1788
|
+
text-decoration: 'none';
|
|
1789
|
+
font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
1790
|
+
margin: 0px;
|
|
1791
|
+
padding: 0px;
|
|
1792
|
+
box-sizing: border-box;
|
|
1793
|
+
cursor: pointer;
|
|
1795
1794
|
`;
|
|
1796
1795
|
Wrapper$7.defaultProps = { theme: EditableTheme };
|
|
1797
1796
|
const Link = (_a) => {
|
|
1798
1797
|
var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
|
|
1799
1798
|
return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
|
|
1800
|
-
};
|
|
1801
|
-
|
|
1802
|
-
const dash = styled.keyframes `
|
|
1803
|
-
0% {
|
|
1804
|
-
stroke-dasharray: 1, 160;
|
|
1805
|
-
stroke-dashoffset: 0;
|
|
1806
|
-
}
|
|
1807
|
-
50% {
|
|
1808
|
-
stroke-dasharray: 80, 160;
|
|
1809
|
-
stroke-dashoffset: -32;
|
|
1810
|
-
}
|
|
1811
|
-
100% {
|
|
1812
|
-
stroke-dasharray: 80, 160;
|
|
1813
|
-
stroke-dashoffset: -124;
|
|
1814
|
-
}
|
|
1815
|
-
`;
|
|
1816
|
-
const Spinner = styled.svg `
|
|
1817
|
-
z-index: 2;
|
|
1818
|
-
position: absolute;
|
|
1819
|
-
top: 50%;
|
|
1820
|
-
left: 50%;
|
|
1821
|
-
transform: translate(-50%, -50%);
|
|
1822
|
-
margin: 0 auto;
|
|
1823
|
-
width: 40px;
|
|
1824
|
-
height: 40px;
|
|
1825
|
-
`;
|
|
1826
|
-
const Path = styled.path `
|
|
1827
|
-
stroke: #0193d7;
|
|
1828
|
-
stroke-linecap: round;
|
|
1829
|
-
-webkit-animation: ${dash} 1.1s ease-in-out infinite;
|
|
1830
|
-
animation: ${dash} 1.1s ease-in-out infinite;
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
const dash = styled.keyframes `
|
|
1802
|
+
0% {
|
|
1803
|
+
stroke-dasharray: 1, 160;
|
|
1804
|
+
stroke-dashoffset: 0;
|
|
1805
|
+
}
|
|
1806
|
+
50% {
|
|
1807
|
+
stroke-dasharray: 80, 160;
|
|
1808
|
+
stroke-dashoffset: -32;
|
|
1809
|
+
}
|
|
1810
|
+
100% {
|
|
1811
|
+
stroke-dasharray: 80, 160;
|
|
1812
|
+
stroke-dashoffset: -124;
|
|
1813
|
+
}
|
|
1814
|
+
`;
|
|
1815
|
+
const Spinner = styled.svg `
|
|
1816
|
+
z-index: 2;
|
|
1817
|
+
position: absolute;
|
|
1818
|
+
top: 50%;
|
|
1819
|
+
left: 50%;
|
|
1820
|
+
transform: translate(-50%, -50%);
|
|
1821
|
+
margin: 0 auto;
|
|
1822
|
+
width: 40px;
|
|
1823
|
+
height: 40px;
|
|
1824
|
+
`;
|
|
1825
|
+
const Path = styled.path `
|
|
1826
|
+
stroke: #0193d7;
|
|
1827
|
+
stroke-linecap: round;
|
|
1828
|
+
-webkit-animation: ${dash} 1.1s ease-in-out infinite;
|
|
1829
|
+
animation: ${dash} 1.1s ease-in-out infinite;
|
|
1831
1830
|
`;
|
|
1832
1831
|
const Loader = () => {
|
|
1833
1832
|
return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
|
|
1834
1833
|
React.createElement(Path, { d: 'M7.21487 1.2868C7.88431 0.9044 8.73031 0.9044 9.39974 1.2868L9.40283 1.28856L14.4613 4.20761C15.1684 4.598 15.5746 5.33558 15.5746 6.11465V8.99996V11.8853C15.5746 12.6507 15.1632 13.3848 14.4617 13.7721L9.37973 16.7132C8.71029 17.0956 7.86428 17.0956 7.19485 16.7132L7.19088 16.7109L2.11279 13.772C1.40602 13.3816 1 12.6441 1 11.8653V8.98995V6.11465C1 5.31458 1.44381 4.59039 2.10827 4.21051L7.21487 1.2868Z', fill: 'none', strokeWidth: '2' })));
|
|
1835
|
-
};
|
|
1836
|
-
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1837
1836
|
const Steps = styled.div `
|
|
1838
1837
|
padding: 20px;
|
|
1839
1838
|
border-bottom: 1px solid #e7e6e6;
|
|
@@ -1890,8 +1889,8 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
|
|
|
1890
1889
|
step.complete ? (React.createElement(StyledIcon$2, { path: js.mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
|
|
1891
1890
|
React.createElement(StepLabel, null, step.label))));
|
|
1892
1891
|
})));
|
|
1893
|
-
};
|
|
1894
|
-
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1895
1894
|
const Wrapper$6 = styled.div `
|
|
1896
1895
|
position: fixed;
|
|
1897
1896
|
top: 0;
|
|
@@ -1989,10 +1988,10 @@ const Modal = (_a) => {
|
|
|
1989
1988
|
display: 'flex',
|
|
1990
1989
|
alignItems: 'center',
|
|
1991
1990
|
} },
|
|
1992
|
-
secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: 'secondary' })) : null,
|
|
1993
|
-
primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format:
|
|
1994
|
-
};
|
|
1995
|
-
|
|
1991
|
+
secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
|
|
1992
|
+
primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1996
1995
|
const Wrapper$5 = styled.div `
|
|
1997
1996
|
position: relative;
|
|
1998
1997
|
width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
|
|
@@ -2099,37 +2098,37 @@ const MultiSelect = (_a) => {
|
|
|
2099
2098
|
showOptions ? (React.createElement(Options, null,
|
|
2100
2099
|
React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
|
|
2101
2100
|
showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
|
|
2102
|
-
};
|
|
2103
|
-
|
|
2104
|
-
const Wrapper$4 = styled.div `
|
|
2105
|
-
display: flex;
|
|
2106
|
-
padding: 16px 30px;
|
|
2107
|
-
align-items: center;
|
|
2108
|
-
gap: 20px;
|
|
2109
|
-
align-self: stretch;
|
|
2110
|
-
border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
2111
|
-
`;
|
|
2112
|
-
const Title = styled.div `
|
|
2113
|
-
display: flex;
|
|
2114
|
-
align-items: center;
|
|
2115
|
-
gap: 20px;
|
|
2116
|
-
`;
|
|
2117
|
-
const Info = styled.div `
|
|
2118
|
-
display: flex;
|
|
2119
|
-
flex-direction: column;
|
|
2120
|
-
align-items: flex-start;
|
|
2121
|
-
gap: 4px;
|
|
2122
|
-
flex: 1 0 0;
|
|
2123
|
-
`;
|
|
2124
|
-
const Breadcrumbs = styled.div `
|
|
2125
|
-
display: flex;
|
|
2126
|
-
align-items: center;
|
|
2127
|
-
gap: 4px;
|
|
2128
|
-
`;
|
|
2129
|
-
const Actions = styled.div `
|
|
2130
|
-
display: flex;
|
|
2131
|
-
align-items: center;
|
|
2132
|
-
gap: 8px;
|
|
2101
|
+
};
|
|
2102
|
+
|
|
2103
|
+
const Wrapper$4 = styled.div `
|
|
2104
|
+
display: flex;
|
|
2105
|
+
padding: 16px 30px;
|
|
2106
|
+
align-items: center;
|
|
2107
|
+
gap: 20px;
|
|
2108
|
+
align-self: stretch;
|
|
2109
|
+
border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
|
|
2110
|
+
`;
|
|
2111
|
+
const Title = styled.div `
|
|
2112
|
+
display: flex;
|
|
2113
|
+
align-items: center;
|
|
2114
|
+
gap: 20px;
|
|
2115
|
+
`;
|
|
2116
|
+
const Info = styled.div `
|
|
2117
|
+
display: flex;
|
|
2118
|
+
flex-direction: column;
|
|
2119
|
+
align-items: flex-start;
|
|
2120
|
+
gap: 4px;
|
|
2121
|
+
flex: 1 0 0;
|
|
2122
|
+
`;
|
|
2123
|
+
const Breadcrumbs = styled.div `
|
|
2124
|
+
display: flex;
|
|
2125
|
+
align-items: center;
|
|
2126
|
+
gap: 4px;
|
|
2127
|
+
`;
|
|
2128
|
+
const Actions = styled.div `
|
|
2129
|
+
display: flex;
|
|
2130
|
+
align-items: center;
|
|
2131
|
+
gap: 8px;
|
|
2133
2132
|
`;
|
|
2134
2133
|
const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
|
|
2135
2134
|
const { format = 'primary', menuItems = [], label = '', } = buttonMenu || {};
|
|
@@ -2149,13 +2148,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
|
|
|
2149
2148
|
return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
|
|
2150
2149
|
}),
|
|
2151
2150
|
menuItems.length ? (React.createElement(ButtonMenu, { format: format, label: label, menuItems: menuItems, small: true })) : null)) : null));
|
|
2152
|
-
};
|
|
2153
|
-
|
|
2154
|
-
const Wrapper$3 = styled.nav `
|
|
2155
|
-
box-sizing: border-box;
|
|
2156
|
-
display: flex;
|
|
2157
|
-
align-items: center;
|
|
2158
|
-
column-gap: 10px;
|
|
2151
|
+
};
|
|
2152
|
+
|
|
2153
|
+
const Wrapper$3 = styled.nav `
|
|
2154
|
+
box-sizing: border-box;
|
|
2155
|
+
display: flex;
|
|
2156
|
+
align-items: center;
|
|
2157
|
+
column-gap: 10px;
|
|
2159
2158
|
`;
|
|
2160
2159
|
const Pagination = (_a) => {
|
|
2161
2160
|
var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
|
|
@@ -2184,8 +2183,8 @@ const Pagination = (_a) => {
|
|
|
2184
2183
|
value: `${p}`,
|
|
2185
2184
|
})), value: `${currentPage}` }),
|
|
2186
2185
|
React.createElement(Button, { disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true })));
|
|
2187
|
-
};
|
|
2188
|
-
|
|
2186
|
+
};
|
|
2187
|
+
|
|
2189
2188
|
const Wrapper$2 = styled.label `
|
|
2190
2189
|
border-radius: 4px;
|
|
2191
2190
|
padding: 4px 0px 4px 6px;
|
|
@@ -2269,77 +2268,77 @@ const Radio = (_a) => {
|
|
|
2269
2268
|
React.createElement(Label, null,
|
|
2270
2269
|
children,
|
|
2271
2270
|
tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
|
|
2272
|
-
};
|
|
2273
|
-
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2274
2273
|
const RadioList = (_a) => {
|
|
2275
2274
|
var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
|
|
2276
2275
|
return (React.createElement(React.Fragment, null, options.map((option) => {
|
|
2277
2276
|
const label = option.label || option.value;
|
|
2278
2277
|
return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
|
|
2279
2278
|
})));
|
|
2280
|
-
};
|
|
2281
|
-
|
|
2282
|
-
const StyledTable = styled.table `
|
|
2283
|
-
width: 100%;
|
|
2284
|
-
margin-top: 1px;
|
|
2285
|
-
table-layout: ${props => props.$tableLayout || 'auto'};
|
|
2286
|
-
border-collapse: collapse;
|
|
2287
|
-
text-indent: 0px;
|
|
2288
|
-
border-spacing: 0px;
|
|
2289
|
-
border-color: none;
|
|
2290
|
-
box-sizing: border-box;
|
|
2291
|
-
`;
|
|
2292
|
-
const Header = styled.th `
|
|
2293
|
-
padding: 12px !important;
|
|
2294
|
-
text-align: left;
|
|
2295
|
-
font-weight: 500;
|
|
2296
|
-
border-bottom: 1px solid #e5e5e5;
|
|
2297
|
-
border-top: 1px solid #e5e5e5;
|
|
2298
|
-
text-transform: uppercase;
|
|
2299
|
-
font-size: 12px;
|
|
2300
|
-
font-family: ${FontStyles.DEFAULT};
|
|
2301
|
-
letter-spacing: 1px;
|
|
2302
|
-
white-space: nowrap;
|
|
2303
|
-
line-height: 1;
|
|
2304
|
-
position: relative;
|
|
2305
|
-
box-sizing: border-box;
|
|
2306
|
-
width: ${props => props.$width || 'auto'};
|
|
2307
|
-
cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
|
|
2308
|
-
color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
|
|
2279
|
+
};
|
|
2280
|
+
|
|
2281
|
+
const StyledTable = styled.table `
|
|
2282
|
+
width: 100%;
|
|
2283
|
+
margin-top: 1px;
|
|
2284
|
+
table-layout: ${props => props.$tableLayout || 'auto'};
|
|
2285
|
+
border-collapse: collapse;
|
|
2286
|
+
text-indent: 0px;
|
|
2287
|
+
border-spacing: 0px;
|
|
2288
|
+
border-color: none;
|
|
2289
|
+
box-sizing: border-box;
|
|
2290
|
+
`;
|
|
2291
|
+
const Header = styled.th `
|
|
2292
|
+
padding: 12px !important;
|
|
2293
|
+
text-align: left;
|
|
2294
|
+
font-weight: 500;
|
|
2295
|
+
border-bottom: 1px solid #e5e5e5;
|
|
2296
|
+
border-top: 1px solid #e5e5e5;
|
|
2297
|
+
text-transform: uppercase;
|
|
2298
|
+
font-size: 12px;
|
|
2299
|
+
font-family: ${FontStyles.DEFAULT};
|
|
2300
|
+
letter-spacing: 1px;
|
|
2301
|
+
white-space: nowrap;
|
|
2302
|
+
line-height: 1;
|
|
2303
|
+
position: relative;
|
|
2304
|
+
box-sizing: border-box;
|
|
2305
|
+
width: ${props => props.$width || 'auto'};
|
|
2306
|
+
cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
|
|
2307
|
+
color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
|
|
2309
2308
|
`;
|
|
2310
2309
|
Header.defaultProps = { theme: EditableTheme };
|
|
2311
|
-
const Row = styled.tr `
|
|
2312
|
-
cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
|
|
2313
|
-
transition: all 0.2s;
|
|
2314
|
-
background-color: ${props => props.$bgColor};
|
|
2315
|
-
box-sizing: border-box;
|
|
2316
|
-
&:hover {
|
|
2317
|
-
background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
|
|
2318
|
-
}
|
|
2310
|
+
const Row = styled.tr `
|
|
2311
|
+
cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
|
|
2312
|
+
transition: all 0.2s;
|
|
2313
|
+
background-color: ${props => props.$bgColor};
|
|
2314
|
+
box-sizing: border-box;
|
|
2315
|
+
&:hover {
|
|
2316
|
+
background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
|
|
2317
|
+
}
|
|
2319
2318
|
`;
|
|
2320
2319
|
Row.defaultProps = { theme: EditableTheme };
|
|
2321
|
-
const Column = styled.td `
|
|
2322
|
-
padding: 16px 12px !important;
|
|
2323
|
-
font-size: ${FontSizes.DEFAULT} !important;
|
|
2324
|
-
font-weight: 400 !important;
|
|
2325
|
-
font-family: ${FontStyles.DEFAULT};
|
|
2326
|
-
border: none !important;
|
|
2327
|
-
word-break: break-word;
|
|
2328
|
-
line-height: 1.4em;
|
|
2329
|
-
box-sizing: border-box;
|
|
2330
|
-
text-align: ${props => props.$align || 'left'};
|
|
2331
|
-
width: ${props => props.$width || 'auto'};
|
|
2332
|
-
`;
|
|
2333
|
-
const IconWrapper = styled.span `
|
|
2334
|
-
position: absolute;
|
|
2335
|
-
top: 50%;
|
|
2336
|
-
transform: translateY(-50%);
|
|
2337
|
-
margin-left: 2px;
|
|
2338
|
-
`;
|
|
2339
|
-
const StyledIcon$1 = styled(Icon) `
|
|
2340
|
-
> path {
|
|
2341
|
-
fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
|
|
2342
|
-
}
|
|
2320
|
+
const Column = styled.td `
|
|
2321
|
+
padding: 16px 12px !important;
|
|
2322
|
+
font-size: ${FontSizes.DEFAULT} !important;
|
|
2323
|
+
font-weight: 400 !important;
|
|
2324
|
+
font-family: ${FontStyles.DEFAULT};
|
|
2325
|
+
border: none !important;
|
|
2326
|
+
word-break: break-word;
|
|
2327
|
+
line-height: 1.4em;
|
|
2328
|
+
box-sizing: border-box;
|
|
2329
|
+
text-align: ${props => props.$align || 'left'};
|
|
2330
|
+
width: ${props => props.$width || 'auto'};
|
|
2331
|
+
`;
|
|
2332
|
+
const IconWrapper = styled.span `
|
|
2333
|
+
position: absolute;
|
|
2334
|
+
top: 50%;
|
|
2335
|
+
transform: translateY(-50%);
|
|
2336
|
+
margin-left: 2px;
|
|
2337
|
+
`;
|
|
2338
|
+
const StyledIcon$1 = styled(Icon) `
|
|
2339
|
+
> path {
|
|
2340
|
+
fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
|
|
2341
|
+
}
|
|
2343
2342
|
`;
|
|
2344
2343
|
StyledIcon$1.defaultProps = { theme: EditableTheme };
|
|
2345
2344
|
const Table = (_a) => {
|
|
@@ -2357,55 +2356,55 @@ const Table = (_a) => {
|
|
|
2357
2356
|
return (React.createElement(Column, { "$align": columns[i].align, "$width": columns[i].width, key: i }, column.render ? column.render(row) : row[column.id] || 'N/A'));
|
|
2358
2357
|
})));
|
|
2359
2358
|
}))) : null));
|
|
2360
|
-
};
|
|
2361
|
-
|
|
2362
|
-
const Wrapper$1 = styled.div `
|
|
2363
|
-
display: flex;
|
|
2364
|
-
box-sizing: border-box;
|
|
2365
|
-
align-items: flex-end;
|
|
2366
|
-
border-top: 1px solid #e5e5e5;
|
|
2367
|
-
border-bottom: 1px solid #e5e5e5;
|
|
2368
|
-
flex-shrink: 0;
|
|
2369
|
-
align-self: stretch;
|
|
2370
|
-
padding: 0;
|
|
2371
|
-
margin: 0;
|
|
2372
|
-
`;
|
|
2373
|
-
const Tab = styled.div `
|
|
2374
|
-
display: flex;
|
|
2375
|
-
align-items: center;
|
|
2376
|
-
gap: 6px;
|
|
2377
|
-
font-size: ${FontSizes.DEFAULT};
|
|
2378
|
-
font-family: ${FontStyles.DEFAULT};
|
|
2379
|
-
font-weight: ${props => (props.$isActive ? 500 : 400)};
|
|
2380
|
-
color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
|
|
2381
|
-
line-height: 1em;
|
|
2382
|
-
padding: 16px 30px 12px;
|
|
2383
|
-
margin: 0 0 -1px 0;
|
|
2384
|
-
border-bottom-width: 4px;
|
|
2385
|
-
border-bottom-style: solid;
|
|
2386
|
-
border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
|
|
2387
|
-
cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
|
|
2388
|
-
box-sizing: border-box;
|
|
2389
|
-
&:hover {
|
|
2390
|
-
color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
|
|
2391
|
-
font-weight: 500;
|
|
2392
|
-
}
|
|
2359
|
+
};
|
|
2360
|
+
|
|
2361
|
+
const Wrapper$1 = styled.div `
|
|
2362
|
+
display: flex;
|
|
2363
|
+
box-sizing: border-box;
|
|
2364
|
+
align-items: flex-end;
|
|
2365
|
+
border-top: 1px solid #e5e5e5;
|
|
2366
|
+
border-bottom: 1px solid #e5e5e5;
|
|
2367
|
+
flex-shrink: 0;
|
|
2368
|
+
align-self: stretch;
|
|
2369
|
+
padding: 0;
|
|
2370
|
+
margin: 0;
|
|
2371
|
+
`;
|
|
2372
|
+
const Tab = styled.div `
|
|
2373
|
+
display: flex;
|
|
2374
|
+
align-items: center;
|
|
2375
|
+
gap: 6px;
|
|
2376
|
+
font-size: ${FontSizes.DEFAULT};
|
|
2377
|
+
font-family: ${FontStyles.DEFAULT};
|
|
2378
|
+
font-weight: ${props => (props.$isActive ? 500 : 400)};
|
|
2379
|
+
color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
|
|
2380
|
+
line-height: 1em;
|
|
2381
|
+
padding: 16px 30px 12px;
|
|
2382
|
+
margin: 0 0 -1px 0;
|
|
2383
|
+
border-bottom-width: 4px;
|
|
2384
|
+
border-bottom-style: solid;
|
|
2385
|
+
border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
|
|
2386
|
+
cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
|
|
2387
|
+
box-sizing: border-box;
|
|
2388
|
+
&:hover {
|
|
2389
|
+
color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
|
|
2390
|
+
font-weight: 500;
|
|
2391
|
+
}
|
|
2393
2392
|
`;
|
|
2394
2393
|
Tab.defaultProps = { theme: EditableTheme };
|
|
2395
|
-
const Badge = styled.div `
|
|
2396
|
-
display: flex;
|
|
2397
|
-
width: 18px;
|
|
2398
|
-
height: 18px;
|
|
2399
|
-
justify-content: center;
|
|
2400
|
-
align-items: center;
|
|
2401
|
-
border-radius: 9px;
|
|
2402
|
-
background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
|
|
2403
|
-
color: #fff;
|
|
2404
|
-
font-family: ${FontStyles.DEFAULT};
|
|
2405
|
-
font-size: 12px;
|
|
2406
|
-
font-weight: 500;
|
|
2407
|
-
line-height: 1;
|
|
2408
|
-
letter-spacing: 1px;
|
|
2394
|
+
const Badge = styled.div `
|
|
2395
|
+
display: flex;
|
|
2396
|
+
width: 18px;
|
|
2397
|
+
height: 18px;
|
|
2398
|
+
justify-content: center;
|
|
2399
|
+
align-items: center;
|
|
2400
|
+
border-radius: 9px;
|
|
2401
|
+
background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
|
|
2402
|
+
color: #fff;
|
|
2403
|
+
font-family: ${FontStyles.DEFAULT};
|
|
2404
|
+
font-size: 12px;
|
|
2405
|
+
font-weight: 500;
|
|
2406
|
+
line-height: 1;
|
|
2407
|
+
letter-spacing: 1px;
|
|
2409
2408
|
`;
|
|
2410
2409
|
Badge.defaultProps = { theme: EditableTheme };
|
|
2411
2410
|
const Tabs = (_a) => {
|
|
@@ -2417,29 +2416,29 @@ const Tabs = (_a) => {
|
|
|
2417
2416
|
label));
|
|
2418
2417
|
})));
|
|
2419
2418
|
};
|
|
2420
|
-
Tabs.defaultProps = {};
|
|
2421
|
-
|
|
2422
|
-
const Track = styled.div `
|
|
2423
|
-
height: 24px;
|
|
2424
|
-
border-radius: 12px;
|
|
2425
|
-
background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
|
|
2426
|
-
display: flex;
|
|
2427
|
-
align-items: center;
|
|
2428
|
-
cursor: pointer;
|
|
2429
|
-
width: 40px;
|
|
2430
|
-
padding: 2px;
|
|
2431
|
-
box-sizing: border-box;
|
|
2432
|
-
`;
|
|
2433
|
-
const Handle = styled.div `
|
|
2434
|
-
width: 20px;
|
|
2435
|
-
height: 20px;
|
|
2436
|
-
border-radius: 10px;
|
|
2437
|
-
background: #ffffff;
|
|
2438
|
-
margin-left: ${props => (props.$on ? 'auto' : '0px')};
|
|
2439
|
-
display: flex;
|
|
2440
|
-
align-items: center;
|
|
2441
|
-
justify-content: center;
|
|
2442
|
-
box-sizing: border-box;
|
|
2419
|
+
Tabs.defaultProps = {};
|
|
2420
|
+
|
|
2421
|
+
const Track = styled.div `
|
|
2422
|
+
height: 24px;
|
|
2423
|
+
border-radius: 12px;
|
|
2424
|
+
background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
|
|
2425
|
+
display: flex;
|
|
2426
|
+
align-items: center;
|
|
2427
|
+
cursor: pointer;
|
|
2428
|
+
width: 40px;
|
|
2429
|
+
padding: 2px;
|
|
2430
|
+
box-sizing: border-box;
|
|
2431
|
+
`;
|
|
2432
|
+
const Handle = styled.div `
|
|
2433
|
+
width: 20px;
|
|
2434
|
+
height: 20px;
|
|
2435
|
+
border-radius: 10px;
|
|
2436
|
+
background: #ffffff;
|
|
2437
|
+
margin-left: ${props => (props.$on ? 'auto' : '0px')};
|
|
2438
|
+
display: flex;
|
|
2439
|
+
align-items: center;
|
|
2440
|
+
justify-content: center;
|
|
2441
|
+
box-sizing: border-box;
|
|
2443
2442
|
`;
|
|
2444
2443
|
const Toggle = (_a) => {
|
|
2445
2444
|
var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
|
|
@@ -2448,32 +2447,32 @@ const Toggle = (_a) => {
|
|
|
2448
2447
|
React.createElement(Handle, { "$on": on },
|
|
2449
2448
|
React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? js.mdiCheck : js.mdiClose, size: '16px' }))));
|
|
2450
2449
|
};
|
|
2451
|
-
Toggle.defaultProps = {};
|
|
2452
|
-
|
|
2453
|
-
const Container = styled.div `
|
|
2454
|
-
width: 100%;
|
|
2455
|
-
padding: 40px auto;
|
|
2456
|
-
gap: 20px;
|
|
2457
|
-
display: flex;
|
|
2458
|
-
flex-direction: column;
|
|
2459
|
-
justify-items: center;
|
|
2460
|
-
align-items: center;
|
|
2461
|
-
`;
|
|
2462
|
-
const Wrapper = styled.div `
|
|
2463
|
-
gap: 10px;
|
|
2464
|
-
display: flex;
|
|
2465
|
-
flex-direction: column;
|
|
2466
|
-
justify-items: center;
|
|
2467
|
-
align-items: center;
|
|
2468
|
-
`;
|
|
2469
|
-
const StyledIcon = styled.div `
|
|
2470
|
-
display: flex;
|
|
2471
|
-
align-items: center;
|
|
2472
|
-
justify-content: center;
|
|
2473
|
-
width: 80px;
|
|
2474
|
-
height: 80px;
|
|
2475
|
-
border-radius: 40px;
|
|
2476
|
-
background: #f5f5f5;
|
|
2450
|
+
Toggle.defaultProps = {};
|
|
2451
|
+
|
|
2452
|
+
const Container = styled.div `
|
|
2453
|
+
width: 100%;
|
|
2454
|
+
padding: 40px auto;
|
|
2455
|
+
gap: 20px;
|
|
2456
|
+
display: flex;
|
|
2457
|
+
flex-direction: column;
|
|
2458
|
+
justify-items: center;
|
|
2459
|
+
align-items: center;
|
|
2460
|
+
`;
|
|
2461
|
+
const Wrapper = styled.div `
|
|
2462
|
+
gap: 10px;
|
|
2463
|
+
display: flex;
|
|
2464
|
+
flex-direction: column;
|
|
2465
|
+
justify-items: center;
|
|
2466
|
+
align-items: center;
|
|
2467
|
+
`;
|
|
2468
|
+
const StyledIcon = styled.div `
|
|
2469
|
+
display: flex;
|
|
2470
|
+
align-items: center;
|
|
2471
|
+
justify-content: center;
|
|
2472
|
+
width: 80px;
|
|
2473
|
+
height: 80px;
|
|
2474
|
+
border-radius: 40px;
|
|
2475
|
+
background: #f5f5f5;
|
|
2477
2476
|
`;
|
|
2478
2477
|
const ZeroState = (_a) => {
|
|
2479
2478
|
var { icon, title, description, action } = _a, accessibleProps = __rest(_a, ["icon", "title", "description", "action"]);
|
|
@@ -2484,53 +2483,53 @@ const ZeroState = (_a) => {
|
|
|
2484
2483
|
React.createElement(Heading, { children: title, type: 'tertiary' }),
|
|
2485
2484
|
description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
|
|
2486
2485
|
action && (React.createElement(Button, { children: action === null || action === void 0 ? void 0 : action.children, icon: action === null || action === void 0 ? void 0 : action.icon, onClick: action === null || action === void 0 ? void 0 : action.onClick }))));
|
|
2487
|
-
};
|
|
2488
|
-
|
|
2489
|
-
exports.Accordion = Accordion;
|
|
2490
|
-
exports.ActionDialog = ActionDialog;
|
|
2491
|
-
exports.Alert = Alert;
|
|
2492
|
-
exports.AppHeader = AppHeader;
|
|
2493
|
-
exports.AppMenu = AppMenu;
|
|
2494
|
-
exports.BulkActionBar = BulkActionBar;
|
|
2495
|
-
exports.Button = Button;
|
|
2496
|
-
exports.ButtonMenu = ButtonMenu;
|
|
2497
|
-
exports.Checkbox = Checkbox;
|
|
2498
|
-
exports.Checklist = Checklist;
|
|
2499
|
-
exports.Colors = Colors;
|
|
2500
|
-
exports.Copy = Copy;
|
|
2501
|
-
exports.DatePicker = DatePicker;
|
|
2502
|
-
exports.Drawer = Drawer;
|
|
2503
|
-
exports.EditableTheme = EditableTheme;
|
|
2504
|
-
exports.Field = Field;
|
|
2505
|
-
exports.FieldGroup = FieldGroup;
|
|
2506
|
-
exports.FileUpload = FileUpload;
|
|
2507
|
-
exports.FontSizes = FontSizes;
|
|
2508
|
-
exports.FontStyles = FontStyles;
|
|
2509
|
-
exports.Heading = Heading;
|
|
2510
|
-
exports.Input = Input$1;
|
|
2511
|
-
exports.Link = Link;
|
|
2512
|
-
exports.Loader = Loader;
|
|
2513
|
-
exports.Logo = Logo;
|
|
2514
|
-
exports.Modal = Modal;
|
|
2515
|
-
exports.MoreMenu = MoreMenu;
|
|
2516
|
-
exports.MultiSelect = MultiSelect;
|
|
2517
|
-
exports.PageHeader = PageHeader;
|
|
2518
|
-
exports.Pagination = Pagination;
|
|
2519
|
-
exports.ProgressBar = ProgressBar;
|
|
2520
|
-
exports.Radio = Radio;
|
|
2521
|
-
exports.RadioList = RadioList;
|
|
2522
|
-
exports.Select = Select;
|
|
2523
|
-
exports.Table = Table;
|
|
2524
|
-
exports.Tabs = Tabs;
|
|
2525
|
-
exports.Tag = Tag;
|
|
2526
|
-
exports.Toggle = Toggle;
|
|
2527
|
-
exports.Tooltip = Tooltip;
|
|
2528
|
-
exports.ZeroState = ZeroState;
|
|
2529
|
-
exports.formatAsPhone = formatAsPhone;
|
|
2530
|
-
exports.formatAsSsn = formatAsSsn;
|
|
2531
|
-
exports.getAgesFromDob = getAgesFromDob;
|
|
2532
|
-
exports.getDaysForMonth = getDaysForMonth;
|
|
2533
|
-
exports.getYears = getYears;
|
|
2534
|
-
exports.validateEmail = validateEmail;
|
|
2535
|
-
exports.validatePhone = validatePhone;
|
|
2536
|
-
//# sourceMappingURL=index.js.map
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
exports.Accordion = Accordion;
|
|
2489
|
+
exports.ActionDialog = ActionDialog;
|
|
2490
|
+
exports.Alert = Alert;
|
|
2491
|
+
exports.AppHeader = AppHeader;
|
|
2492
|
+
exports.AppMenu = AppMenu;
|
|
2493
|
+
exports.BulkActionBar = BulkActionBar;
|
|
2494
|
+
exports.Button = Button;
|
|
2495
|
+
exports.ButtonMenu = ButtonMenu;
|
|
2496
|
+
exports.Checkbox = Checkbox;
|
|
2497
|
+
exports.Checklist = Checklist;
|
|
2498
|
+
exports.Colors = Colors;
|
|
2499
|
+
exports.Copy = Copy;
|
|
2500
|
+
exports.DatePicker = DatePicker;
|
|
2501
|
+
exports.Drawer = Drawer;
|
|
2502
|
+
exports.EditableTheme = EditableTheme;
|
|
2503
|
+
exports.Field = Field;
|
|
2504
|
+
exports.FieldGroup = FieldGroup;
|
|
2505
|
+
exports.FileUpload = FileUpload;
|
|
2506
|
+
exports.FontSizes = FontSizes;
|
|
2507
|
+
exports.FontStyles = FontStyles;
|
|
2508
|
+
exports.Heading = Heading;
|
|
2509
|
+
exports.Input = Input$1;
|
|
2510
|
+
exports.Link = Link;
|
|
2511
|
+
exports.Loader = Loader;
|
|
2512
|
+
exports.Logo = Logo;
|
|
2513
|
+
exports.Modal = Modal;
|
|
2514
|
+
exports.MoreMenu = MoreMenu;
|
|
2515
|
+
exports.MultiSelect = MultiSelect;
|
|
2516
|
+
exports.PageHeader = PageHeader;
|
|
2517
|
+
exports.Pagination = Pagination;
|
|
2518
|
+
exports.ProgressBar = ProgressBar;
|
|
2519
|
+
exports.Radio = Radio;
|
|
2520
|
+
exports.RadioList = RadioList;
|
|
2521
|
+
exports.Select = Select;
|
|
2522
|
+
exports.Table = Table;
|
|
2523
|
+
exports.Tabs = Tabs;
|
|
2524
|
+
exports.Tag = Tag;
|
|
2525
|
+
exports.Toggle = Toggle;
|
|
2526
|
+
exports.Tooltip = Tooltip;
|
|
2527
|
+
exports.ZeroState = ZeroState;
|
|
2528
|
+
exports.formatAsPhone = formatAsPhone;
|
|
2529
|
+
exports.formatAsSsn = formatAsSsn;
|
|
2530
|
+
exports.getAgesFromDob = getAgesFromDob;
|
|
2531
|
+
exports.getDaysForMonth = getDaysForMonth;
|
|
2532
|
+
exports.getYears = getYears;
|
|
2533
|
+
exports.validateEmail = validateEmail;
|
|
2534
|
+
exports.validatePhone = validatePhone;
|
|
2535
|
+
//# sourceMappingURL=index.js.map
|