@hexure/ui 1.13.53 → 1.13.54

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 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 { dataItemid, title, children, open, onClick } = _a, accessibleProps = __rest(_a, ["dataItemid", "title", "children", "open", "onClick"]);
@@ -114,21 +114,21 @@ const Accordion = (_a) => {
114
114
  React.createElement(Title$2, { "data-itemid": `${baseId}-title` }, title),
115
115
  React.createElement(Icon, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: open ? js.mdiChevronUp : js.mdiChevronDown, size: '24px' })),
116
116
  open ? React.createElement("div", { "data-itemid": `${baseId}-content` }, children) : null));
117
- };
118
-
119
- const StyledComponent = styled.p `
120
- color: ${props => Colors[props.$color || 'BLACK'].Hex};
121
- font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
122
- line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
123
- letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
124
- font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
125
- font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
126
- text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
127
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
128
- margin: ${props => props.$margin || '0px'};
129
- padding: ${props => props.$padding || '0px'};
130
- text-align: ${props => props.$align || 'left'};
131
- box-sizing: border-box;
117
+ };
118
+
119
+ const StyledComponent = styled.p `
120
+ color: ${props => Colors[props.$color || 'BLACK'].Hex};
121
+ font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
122
+ line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
123
+ letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
124
+ font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
125
+ font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
126
+ text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
127
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
128
+ margin: ${props => props.$margin || '0px'};
129
+ padding: ${props => props.$padding || '0px'};
130
+ text-align: ${props => props.$align || 'left'};
131
+ box-sizing: border-box;
132
132
  `;
133
133
  const Copy = (_a) => {
134
134
  var { children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', dataItemid } = _a, accessibleProps = __rest(_a, ["children", "align", "margin", "padding", "type", "color", "dataItemid"]);
@@ -137,19 +137,19 @@ const Copy = (_a) => {
137
137
  };
138
138
  Copy.defaultProps = {
139
139
  type: 'default',
140
- };
141
-
142
- const Wrapper$h = styled.div `
143
- display: inline-block;
144
- position: relative;
145
- height: 16px;
146
- `;
147
- const StyledIcon$6 = styled(Icon) `
148
- width: 16px;
149
- height: 16px;
150
- margin: 0px 6px;
151
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
152
- cursor: pointer;
140
+ };
141
+
142
+ const Wrapper$h = styled.div `
143
+ display: inline-block;
144
+ position: relative;
145
+ height: 16px;
146
+ `;
147
+ const StyledIcon$6 = styled(Icon) `
148
+ width: 16px;
149
+ height: 16px;
150
+ margin: 0px 6px;
151
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
152
+ cursor: pointer;
153
153
  `;
154
154
  StyledIcon$6.defaultProps = { theme: EditableTheme };
155
155
  const positions = {
@@ -188,13 +188,13 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, d
188
188
  return (React.createElement(Wrapper$h, { "data-itemid": `${baseId}-wrapper`, onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
189
189
  trigger || React.createElement(StyledIcon$6, { "data-itemid": `${baseId}-icon`, path: js.mdiInformationOutline }),
190
190
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width, "data-itemid": `${baseId}-content` }, children && (React.createElement(Copy, { "data-itemid": `${baseId}-copy`, type: 'small' }, children)))) : null));
191
- };
192
-
193
- const StyledButton = styled.button `
194
- height: ${props => (props.$small ? '30px' : '40px')};
195
- line-height: 1em;
196
- border-radius: ${props => (props.$small ? '15px' : '20px')};
197
- margin: ${props => props.$margin || '0px'};
191
+ };
192
+
193
+ const StyledButton = styled.button `
194
+ height: ${props => (props.$small ? '30px' : '40px')};
195
+ line-height: 1em;
196
+ border-radius: ${props => (props.$small ? '15px' : '20px')};
197
+ margin: ${props => props.$margin || '0px'};
198
198
  padding: ${props => {
199
199
  if (props.$hasChildren) {
200
200
  if (props.$small) {
@@ -205,9 +205,9 @@ const StyledButton = styled.button `
205
205
  }
206
206
  }
207
207
  return '0px';
208
- }};
209
- outline: none;
210
- background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
208
+ }};
209
+ outline: none;
210
+ background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
211
211
  width: ${props => {
212
212
  if (props.$hasChildren) {
213
213
  return 'auto';
@@ -216,55 +216,55 @@ const StyledButton = styled.button `
216
216
  return '30px';
217
217
  }
218
218
  return '40px';
219
- }};
220
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
221
- display: flex;
222
- align-items: center;
223
- justify-content: center;
224
- gap: ${props => (props.$iconPosition === 'before' ? '8px' : '0px')};
225
- flex-direction: ${props => (props.$iconPosition === 'before' ? 'row-reverse' : 'row')};
226
- opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
227
- border-width: 1px;
228
- border-style: solid;
229
- border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
230
- box-sizing: border-box;
231
-
232
- &:active,
233
- &:focus,
234
- &:hover {
235
- opacity: ${props => (props.$disabled ? 0.6 : 1)};
236
- }
237
- `;
238
- const Label$5 = styled.span `
239
- color: ${props => props.$content_color || '#fff'};
240
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
241
- font-family: ${FontStyles.DEFAULT};
242
- font-weight: 500;
243
- line-height: 1;
244
- `;
245
- const StyledIcon$5 = styled.span `
246
- margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
247
- margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
248
- display: flex;
249
- align-items: center;
250
- box-sizing: border-box;
251
- `;
252
- const Badge$1 = styled.span `
253
- width: ${props => (props.$small ? '20px' : '24px')};
254
- height: ${props => (props.$small ? '20px' : '24px')};
255
- line-height: 1;
256
- display: flex;
257
- align-items: center;
258
- justify-content: center;
259
- border-radius: 100%;
260
- background-color: ${props => props.$bg_color || '#fff'};
261
- color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
262
- font-size: ${props => (props.$small ? '10px' : '12px')};
263
- font-weight: 600;
264
- font-family: ${FontStyles.DEFAULT};
265
- letter-spacing: -1px;
266
- margin-left: ${props => (props.$small ? '5px' : '10px')};
267
- margin-right: ${props => (props.$small ? '-5px' : '-10px')};
219
+ }};
220
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
221
+ display: flex;
222
+ align-items: center;
223
+ justify-content: center;
224
+ gap: ${props => (props.$iconPosition === 'before' ? '8px' : '0px')};
225
+ flex-direction: ${props => (props.$iconPosition === 'before' ? 'row-reverse' : 'row')};
226
+ opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
227
+ border-width: 1px;
228
+ border-style: solid;
229
+ border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
230
+ box-sizing: border-box;
231
+
232
+ &:active,
233
+ &:focus,
234
+ &:hover {
235
+ opacity: ${props => (props.$disabled ? 0.6 : 1)};
236
+ }
237
+ `;
238
+ const Label$5 = styled.span `
239
+ color: ${props => props.$content_color || '#fff'};
240
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
241
+ font-family: ${FontStyles.DEFAULT};
242
+ font-weight: 500;
243
+ line-height: 1;
244
+ `;
245
+ const StyledIcon$5 = styled.span `
246
+ margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
247
+ margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
248
+ display: flex;
249
+ align-items: center;
250
+ box-sizing: border-box;
251
+ `;
252
+ const Badge$1 = styled.span `
253
+ width: ${props => (props.$small ? '20px' : '24px')};
254
+ height: ${props => (props.$small ? '20px' : '24px')};
255
+ line-height: 1;
256
+ display: flex;
257
+ align-items: center;
258
+ justify-content: center;
259
+ border-radius: 100%;
260
+ background-color: ${props => props.$bg_color || '#fff'};
261
+ color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
262
+ font-size: ${props => (props.$small ? '10px' : '12px')};
263
+ font-weight: 600;
264
+ font-family: ${FontStyles.DEFAULT};
265
+ letter-spacing: -1px;
266
+ margin-left: ${props => (props.$small ? '5px' : '10px')};
267
+ margin-right: ${props => (props.$small ? '-5px' : '-10px')};
268
268
  `;
269
269
  const Button = (_a) => {
270
270
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary', iconPosition = 'after', toolTip, title = '', dataItemid, type = null } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format", "iconPosition", "toolTip", "title", "dataItemid", "type"]);
@@ -311,37 +311,37 @@ const Button = (_a) => {
311
311
  return (React.createElement(Tooltip, Object.assign({}, toolTip, { trigger: (toolTip === null || toolTip === void 0 ? void 0 : toolTip.trigger) || button_view }), toolTip === null || toolTip === void 0 ? void 0 : toolTip.children));
312
312
  }
313
313
  return button_view;
314
- };
315
-
316
- const H1 = styled.h1 `
317
- color: ${Colors.BLACK.Hex};
318
- font-size: 30px;
319
- font-weight: ${props => (props.$bold ? '500' : '400')};
320
- line-height: 1.4em;
321
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
322
- margin: ${props => props.$margin || '0px'};
323
- padding: ${props => props.$padding || '0px'};
324
- box-sizing: border-box;
325
- `;
326
- const H2 = styled.h2 `
327
- color: ${Colors.BLACK.Hex};
328
- font-size: 24px;
329
- font-weight: ${props => (props.$bold ? '500' : '400')};
330
- line-height: 1.33em;
331
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
332
- margin: ${props => props.$margin || '0px'};
333
- padding: ${props => props.$padding || '0px'};
334
- box-sizing: border-box;
335
- `;
336
- const H3 = styled.h3 `
337
- color: ${Colors.BLACK.Hex};
338
- font-size: 18px;
339
- font-weight: ${props => (props.$bold ? '500' : '400')};
340
- line-height: 1.33em;
341
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
342
- margin: ${props => props.$margin || '0px'};
343
- padding: ${props => props.$padding || '0px'};
344
- box-sizing: border-box;
314
+ };
315
+
316
+ const H1 = styled.h1 `
317
+ color: ${Colors.BLACK.Hex};
318
+ font-size: 30px;
319
+ font-weight: ${props => (props.$bold ? '500' : '400')};
320
+ line-height: 1.4em;
321
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
322
+ margin: ${props => props.$margin || '0px'};
323
+ padding: ${props => props.$padding || '0px'};
324
+ box-sizing: border-box;
325
+ `;
326
+ const H2 = styled.h2 `
327
+ color: ${Colors.BLACK.Hex};
328
+ font-size: 24px;
329
+ font-weight: ${props => (props.$bold ? '500' : '400')};
330
+ line-height: 1.33em;
331
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
332
+ margin: ${props => props.$margin || '0px'};
333
+ padding: ${props => props.$padding || '0px'};
334
+ box-sizing: border-box;
335
+ `;
336
+ const H3 = styled.h3 `
337
+ color: ${Colors.BLACK.Hex};
338
+ font-size: 18px;
339
+ font-weight: ${props => (props.$bold ? '500' : '400')};
340
+ line-height: 1.33em;
341
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
342
+ margin: ${props => props.$margin || '0px'};
343
+ padding: ${props => props.$padding || '0px'};
344
+ box-sizing: border-box;
345
345
  `;
346
346
  const Heading = (_a) => {
347
347
  var { bold, children, margin, padding, type, dataItemid } = _a, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type", "dataItemid"]);
@@ -361,29 +361,29 @@ const Heading = (_a) => {
361
361
  Heading.defaultProps = {
362
362
  bold: false,
363
363
  type: 'primary',
364
- };
365
-
366
- const Wrapper$g = styled.div `
367
- position: fixed;
368
- top: 0;
369
- right: 0;
370
- bottom: 0;
371
- left: 0;
372
- z-index: 9999;
373
- background: rgba(0, 0, 0, 0.8);
374
- display: flex;
375
- align-items: center;
376
- justify-content: center;
377
- box-sizing: border-box;
364
+ };
365
+
366
+ const Wrapper$g = styled.div `
367
+ position: fixed;
368
+ top: 0;
369
+ right: 0;
370
+ bottom: 0;
371
+ left: 0;
372
+ z-index: 9999;
373
+ background: rgba(0, 0, 0, 0.8);
374
+ display: flex;
375
+ align-items: center;
376
+ justify-content: center;
377
+ box-sizing: border-box;
378
378
  `;
379
379
  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)));
380
- const Buttons$1 = styled.div `
381
- display: flex;
382
- gap: 10px;
383
- align-items: center;
384
- justify-content: center;
385
- margin-top: 30px;
386
- box-sizing: border-box;
380
+ const Buttons$1 = styled.div `
381
+ display: flex;
382
+ gap: 10px;
383
+ align-items: center;
384
+ justify-content: center;
385
+ margin-top: 30px;
386
+ box-sizing: border-box;
387
387
  `;
388
388
  const ActionDialog = (_a) => {
389
389
  var { description, title, primaryButton, secondaryButton, tertiaryButton, style = {}, dataItemid } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton", "style", "dataItemid"]);
@@ -396,29 +396,29 @@ const ActionDialog = (_a) => {
396
396
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { "data-itemid": `${baseId}-tertiary-button`, format: tertiaryButton.format || 'secondary' }))) : null,
397
397
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' }))) : null,
398
398
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null)));
399
- };
400
-
401
- const Wrapper$f = styled.div `
402
- border: 1px solid #f1f1f1;
403
- border-radius: 4px;
404
- border-left-width: 4px;
405
- box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
406
- display: flex;
407
- align-items: flex-start;
408
- gap: ${({ $small }) => ($small ? '8px' : '20px')};
409
- padding: ${({ $small }) => ($small ? '11px' : '20px')};
410
- box-sizing: border-box;
411
- `;
412
- const StyledIcon$4 = styled(Icon) `
413
- flex-shrink: 0;
414
- `;
415
- const Action$1 = styled.div `
416
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
417
- font-size: ${FontSizes.DEFAULT};
418
- font-family: ${FontStyles.DEFAULT};
419
- font-weight: 500;
420
- cursor: pointer;
421
- margin-top: 6px;
399
+ };
400
+
401
+ const Wrapper$f = styled.div `
402
+ border: 1px solid #f1f1f1;
403
+ border-radius: 4px;
404
+ border-left-width: 4px;
405
+ box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
406
+ display: flex;
407
+ align-items: flex-start;
408
+ gap: ${({ $small }) => ($small ? '8px' : '20px')};
409
+ padding: ${({ $small }) => ($small ? '11px' : '20px')};
410
+ box-sizing: border-box;
411
+ `;
412
+ const StyledIcon$4 = styled(Icon) `
413
+ flex-shrink: 0;
414
+ `;
415
+ const Action$1 = styled.div `
416
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
417
+ font-size: ${FontSizes.DEFAULT};
418
+ font-family: ${FontStyles.DEFAULT};
419
+ font-weight: 500;
420
+ cursor: pointer;
421
+ margin-top: 6px;
422
422
  `;
423
423
  Action$1.defaultProps = { theme: EditableTheme };
424
424
  const Alert = (_a) => {
@@ -449,8 +449,8 @@ const Alert = (_a) => {
449
449
  title && !small ? (React.createElement(Heading, { bold: true, "data-itemid": `${baseId}-title`, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
450
450
  description ? (React.createElement(Copy, { "data-itemid": `${baseId}-description`, margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
451
451
  action && !small ? (React.createElement(Action$1, { "data-itemid": `${baseId}-action`, onClick: action.onClick }, action.label)) : null)));
452
- };
453
-
452
+ };
453
+
454
454
  const colorMapping = {
455
455
  black: {
456
456
  fill_1: '#000000',
@@ -492,62 +492,62 @@ const Logo = (_a) => {
492
492
  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', "data-itemid": `${baseId}-path-7`, fill: colorMapping[type_parts[1]].fill_1 }),
493
493
  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', "data-itemid": `${baseId}-path-8`, fill: colorMapping[type_parts[1]].fill_1 })));
494
494
  }
495
- };
496
-
497
- const Container$3 = styled.header `
498
- width: 100%;
499
- display: flex;
500
- padding: 20px;
501
- box-sizing: border-box;
502
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
503
- background: '#fff';
504
- justify-content: space-between;
505
- `;
506
- const LogoWrapper = styled.div `
507
- display: flex;
508
- align-items: center;
509
- `;
510
- const Image = styled.img `
511
- height: 30px !important;
512
- width: auto !important;
513
- `;
514
- const Buttons = styled.div `
515
- display: flex;
516
- flex-direction: row;
517
- column-gap: 10px;
518
- flex-direction: reverse;
495
+ };
496
+
497
+ const Container$3 = styled.header `
498
+ width: 100%;
499
+ display: flex;
500
+ padding: 20px;
501
+ box-sizing: border-box;
502
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
503
+ background: '#fff';
504
+ justify-content: space-between;
505
+ `;
506
+ const LogoWrapper = styled.div `
507
+ display: flex;
508
+ align-items: center;
509
+ `;
510
+ const Image = styled.img `
511
+ height: 30px !important;
512
+ width: auto !important;
513
+ `;
514
+ const Buttons = styled.div `
515
+ display: flex;
516
+ flex-direction: row;
517
+ column-gap: 10px;
518
+ flex-direction: reverse;
519
519
  `;
520
520
  const AppHeader = ({ logoUrl, buttons = [], dataItemid }) => {
521
521
  const baseId = dataItemid || 'app-header';
522
522
  return (React.createElement(Container$3, { "data-itemid": `${baseId}-container` },
523
523
  React.createElement(LogoWrapper, { "data-itemid": `${baseId}-logo-wrapper` }, logoUrl ? (React.createElement(Image, { "data-itemid": `${baseId}-logo`, src: logoUrl })) : (React.createElement(Logo, { "data-itemid": `${baseId}-default-logo`, height: '30px' }))),
524
524
  React.createElement(Buttons, { "data-itemid": `${baseId}-buttons` }, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b, { "data-itemid": `${baseId}-button-${i}` })))))));
525
- };
526
-
527
- const Wrapper$e = styled.div `
528
- display: inline-block;
529
- border-radius: 4px;
530
- padding: 4px 6px;
531
- background: ${props => Colors[props.$color].Hex};
532
- color: #ffffff;
533
- box-sizing: border-box;
534
- cursor: ${props => (props.$removable ? 'pointer' : 'default')};
535
- `;
536
- const Content$2 = styled.div `
537
- display: flex;
538
- align-items: center;
539
- `;
540
- const Label$4 = styled.div `
541
- color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
542
- font-size: ${FontSizes.SMALL};
543
- font-weight: 500;
544
- font-family: ${FontStyles.DEFAULT};
545
- line-height: 1.2em;
546
- `;
547
- const Remove$1 = styled.div `
548
- margin-left: 10px;
549
- display: flex;
550
- align-items: center;
525
+ };
526
+
527
+ const Wrapper$e = styled.div `
528
+ display: inline-block;
529
+ border-radius: 4px;
530
+ padding: 4px 6px;
531
+ background: ${props => Colors[props.$color].Hex};
532
+ color: #ffffff;
533
+ box-sizing: border-box;
534
+ cursor: ${props => (props.$removable ? 'pointer' : 'default')};
535
+ `;
536
+ const Content$2 = styled.div `
537
+ display: flex;
538
+ align-items: center;
539
+ `;
540
+ const Label$4 = styled.div `
541
+ color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
542
+ font-size: ${FontSizes.SMALL};
543
+ font-weight: 500;
544
+ font-family: ${FontStyles.DEFAULT};
545
+ line-height: 1.2em;
546
+ `;
547
+ const Remove$1 = styled.div `
548
+ margin-left: 10px;
549
+ display: flex;
550
+ align-items: center;
551
551
  `;
552
552
  const Tag = (_a) => {
553
553
  var { children, color = 'PRIMARY', removable, onClick, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick", "dataItemid"]);
@@ -557,94 +557,94 @@ const Tag = (_a) => {
557
557
  React.createElement(Label$4, { "$color": color, "data-itemid": `${baseId}-label` }, children),
558
558
  removable ? (React.createElement(Remove$1, { "data-itemid": `${baseId}-remove` },
559
559
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', "data-itemid": `${baseId}-icon`, path: js.mdiClose, size: '15px' }))) : null)));
560
- };
561
-
562
- const SidebarContainer = styled.div `
563
- border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
564
- display: flex;
565
- flex-direction: column;
566
- height: 100%;
567
- padding: 12px 0px;
568
- width: ${props => (props.$isOpen ? props.$width : '60px')};
569
- `;
570
- const MenuWrapper$1 = styled.button `
571
- display: flex;
572
- align-items: center;
573
- border: 0px;
574
- background-color: transparent;
575
- padding-left: 0px;
576
- border-left-width: 4px;
577
- border-left-style: solid;
578
- border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
579
- cursor: pointer;
580
- height: 40px;
581
-
582
- &:hover > div {
583
- color: ${props => props.$color.Hex};
584
- }
585
-
586
- &:hover > svg > path {
587
- fill: ${Colors.BLACK.Hex} !important;
588
- }
589
- `;
590
- const MenuIcon = styled(Icon) `
591
- width: 20px;
592
- height: 20px;
593
- margin: 0px 16px;
594
- flex-shrink: 0;
595
-
596
- > path {
597
- fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
598
- }
599
- `;
600
- const MenuLabel = styled.div `
601
- color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
602
- flex: 1;
603
- font-size: 12px;
604
- font-style: normal;
605
- font-weight: 600;
606
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
607
- line-height: 16px;
608
- padding: 12px 0px;
609
- letter-spacing: 1px;
610
- `;
611
- const SubMenu = styled.div `
612
- overflow-y: auto;
613
- padding-left: 44px;
614
- padding-right: 20px;
615
- padding-bottom: 10px;
616
- `;
617
- const SubMenuItem = styled.a `
618
- display: block;
619
- padding: 8px 12px;
620
- border-radius: 8px;
621
- font-size: 13px;
622
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
623
- line-height: 20px;
624
- text-decoration: none;
625
- font-weight: ${({ $active }) => ($active ? '500' : '400')};
626
- color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
627
- background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
628
- cursor: pointer;
629
-
630
- &:hover {
631
- color: ${props => props.$color.Hex};
632
- font-weight: 500;
633
- }
634
- `;
635
- const Footer = styled.div `
636
- padding: 20px 14px 0px;
637
- display: flex;
638
- align-items: center;
639
- `;
640
- const FooterInfo = styled.div `
641
- display: flex;
642
- flex-direction: column;
643
- flex: 1;
644
- align-items: flex-start;
645
- `;
646
- const SidebarMenuContainer = styled.div `
647
- flex-grow: 1;
560
+ };
561
+
562
+ const SidebarContainer = styled.div `
563
+ border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
564
+ display: flex;
565
+ flex-direction: column;
566
+ height: 100%;
567
+ padding: 12px 0px;
568
+ width: ${props => (props.$isOpen ? props.$width : '60px')};
569
+ `;
570
+ const MenuWrapper$1 = styled.button `
571
+ display: flex;
572
+ align-items: center;
573
+ border: 0px;
574
+ background-color: transparent;
575
+ padding-left: 0px;
576
+ border-left-width: 4px;
577
+ border-left-style: solid;
578
+ border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
579
+ cursor: pointer;
580
+ height: 40px;
581
+
582
+ &:hover > div {
583
+ color: ${props => props.$color.Hex};
584
+ }
585
+
586
+ &:hover > svg > path {
587
+ fill: ${Colors.BLACK.Hex} !important;
588
+ }
589
+ `;
590
+ const MenuIcon = styled(Icon) `
591
+ width: 20px;
592
+ height: 20px;
593
+ margin: 0px 16px;
594
+ flex-shrink: 0;
595
+
596
+ > path {
597
+ fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
598
+ }
599
+ `;
600
+ const MenuLabel = styled.div `
601
+ color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
602
+ flex: 1;
603
+ font-size: 12px;
604
+ font-style: normal;
605
+ font-weight: 600;
606
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
607
+ line-height: 16px;
608
+ padding: 12px 0px;
609
+ letter-spacing: 1px;
610
+ `;
611
+ const SubMenu = styled.div `
612
+ overflow-y: auto;
613
+ padding-left: 44px;
614
+ padding-right: 20px;
615
+ padding-bottom: 10px;
616
+ `;
617
+ const SubMenuItem = styled.a `
618
+ display: block;
619
+ padding: 8px 12px;
620
+ border-radius: 8px;
621
+ font-size: 13px;
622
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
623
+ line-height: 20px;
624
+ text-decoration: none;
625
+ font-weight: ${({ $active }) => ($active ? '500' : '400')};
626
+ color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
627
+ background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
628
+ cursor: pointer;
629
+
630
+ &:hover {
631
+ color: ${props => props.$color.Hex};
632
+ font-weight: 500;
633
+ }
634
+ `;
635
+ const Footer = styled.div `
636
+ padding: 20px 14px 0px;
637
+ display: flex;
638
+ align-items: center;
639
+ `;
640
+ const FooterInfo = styled.div `
641
+ display: flex;
642
+ flex-direction: column;
643
+ flex: 1;
644
+ align-items: flex-start;
645
+ `;
646
+ const SidebarMenuContainer = styled.div `
647
+ flex-grow: 1;
648
648
  `;
649
649
  const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px', dataItemid, }) => {
650
650
  const theme = React.useContext(styled.ThemeContext) || EditableTheme;
@@ -669,79 +669,79 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px', dataIte
669
669
  "\u00A9 ",
670
670
  new Date().getFullYear(),
671
671
  " Hexure"))),
672
- React.createElement(Button, { "data-itemid": `${baseId}-collapse-button`, icon: collapsed ? js.mdiChevronRight : js.mdiChevronLeft, onClick: (e) => {
672
+ React.createElement(Button, { dataItemid: `${baseId}-collapse-button`, icon: collapsed ? js.mdiChevronRight : js.mdiChevronLeft, onClick: (e) => {
673
673
  e.preventDefault();
674
674
  toggleCollapse(!collapsed);
675
675
  }, small: true, type: 'button' }))));
676
- };
677
-
678
- const Wrapper$d = styled.div `
679
- border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
680
- border-radius: 8px;
681
- box-sizing: border-box;
682
- display: flex;
683
- align-items: center;
684
- justify-content: space-between;
685
- padding: 16px 20px;
676
+ };
677
+
678
+ const Wrapper$d = styled.div `
679
+ border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
680
+ border-radius: 8px;
681
+ box-sizing: border-box;
682
+ display: flex;
683
+ align-items: center;
684
+ justify-content: space-between;
685
+ padding: 16px 20px;
686
686
  `;
687
687
  Wrapper$d.defaultProps = { theme: EditableTheme };
688
- const Left = styled.div `
689
- box-sizing: border-box;
690
- display: flex;
691
- align-items: center;
692
- justify-content: space-between;
693
- flex-shrink: 0;
694
- `;
695
- const Info$1 = styled.div `
696
- box-sizing: border-box;
697
- display: flex;
698
- align-items: center;
699
- margin-right: 30px;
700
- `;
701
- const Selected = styled.span `
702
- font-size: 14px;
703
- font-weight: 400;
704
- font-family: ${FontStyles.DEFAULT};
705
- color: ${Colors.BLACK.Hex};
706
- line-height: 1;
707
- `;
708
- const Clear = styled.span `
709
- font-size: 14px;
710
- font-weight: 400;
711
- font-family: ${FontStyles.DEFAULT};
712
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
713
- line-height: 1;
714
- cursor: pointer;
715
- padding-left: 10px;
716
- margin-left: 10px;
717
- border-left: 1px solid #ccc;
688
+ const Left = styled.div `
689
+ box-sizing: border-box;
690
+ display: flex;
691
+ align-items: center;
692
+ justify-content: space-between;
693
+ flex-shrink: 0;
694
+ `;
695
+ const Info$1 = styled.div `
696
+ box-sizing: border-box;
697
+ display: flex;
698
+ align-items: center;
699
+ margin-right: 30px;
700
+ `;
701
+ const Selected = styled.span `
702
+ font-size: 14px;
703
+ font-weight: 400;
704
+ font-family: ${FontStyles.DEFAULT};
705
+ color: ${Colors.BLACK.Hex};
706
+ line-height: 1;
707
+ `;
708
+ const Clear = styled.span `
709
+ font-size: 14px;
710
+ font-weight: 400;
711
+ font-family: ${FontStyles.DEFAULT};
712
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
713
+ line-height: 1;
714
+ cursor: pointer;
715
+ padding-left: 10px;
716
+ margin-left: 10px;
717
+ border-left: 1px solid #ccc;
718
718
  `;
719
719
  Clear.defaultProps = { theme: EditableTheme };
720
- const Actions$1 = styled.div `
721
- box-sizing: border-box;
722
- display: flex;
723
- align-items: center;
724
- column-gap: 10px;
725
- `;
726
- const Error$1 = styled.div `
727
- box-sizing: border-box;
728
- display: flex;
729
- align-items: center;
730
- background: rgba(${Colors.RED.Rgb}, 0.1);
731
- border-radius: 4px;
732
- padding: 6px 8px;
733
- text-overflow: ellipsis;
734
- white-space: nowrap;
735
- overflow: hidden;
736
- margin-left: 30px;
737
- `;
738
- const ErrorMsg = styled.span `
739
- font-size: 14px;
740
- font-weight: 500;
741
- font-family: ${FontStyles.DEFAULT};
742
- line-height: 1em;
743
- color: ${Colors.RED.Hex};
744
- margin-left: 8px;
720
+ const Actions$1 = styled.div `
721
+ box-sizing: border-box;
722
+ display: flex;
723
+ align-items: center;
724
+ column-gap: 10px;
725
+ `;
726
+ const Error$1 = styled.div `
727
+ box-sizing: border-box;
728
+ display: flex;
729
+ align-items: center;
730
+ background: rgba(${Colors.RED.Rgb}, 0.1);
731
+ border-radius: 4px;
732
+ padding: 6px 8px;
733
+ text-overflow: ellipsis;
734
+ white-space: nowrap;
735
+ overflow: hidden;
736
+ margin-left: 30px;
737
+ `;
738
+ const ErrorMsg = styled.span `
739
+ font-size: 14px;
740
+ font-weight: 500;
741
+ font-family: ${FontStyles.DEFAULT};
742
+ line-height: 1em;
743
+ color: ${Colors.RED.Hex};
744
+ margin-left: 8px;
745
745
  `;
746
746
  const BulkActionBar = (_a) => {
747
747
  var { actions = [], errorMsg, onClear, selectedCount = 0, dataItemid } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount", "dataItemid"]);
@@ -757,48 +757,48 @@ const BulkActionBar = (_a) => {
757
757
  errorMsg ? (React.createElement(Error$1, { "data-itemid": `${baseId}-error` },
758
758
  React.createElement(Icon, { color: Colors.RED.Hex, "data-itemid": `${baseId}-error-icon`, path: js.mdiInformationOutline, size: '20px' }),
759
759
  React.createElement(ErrorMsg, { "data-itemid": `${baseId}-error-msg` }, errorMsg))) : null));
760
- };
761
-
762
- const Wrapper$c = styled.div `
763
- background: #fff;
764
- border-radius: 8px;
765
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
766
- display: flex;
767
- flex-direction: column;
768
- gap: 4px;
769
- max-height: ${props => props.$maxHeight || '312px'};
770
- padding: 10px;
771
- width: 200px;
772
- `;
773
- const MenuItem = styled.div `
774
- align-items: center;
775
- border-radius: 8px;
776
- border: 1px solid transparent;
777
- display: flex;
778
- gap: 8px;
779
- height: 38px;
780
- padding: 8px;
781
- &:hover {
782
- background: rgba(1, 147, 215, 0.1);
783
- cursor: pointer;
784
-
785
- svg,
786
- path {
787
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
788
- }
789
- }
760
+ };
761
+
762
+ const Wrapper$c = styled.div `
763
+ background: #fff;
764
+ border-radius: 8px;
765
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
766
+ display: flex;
767
+ flex-direction: column;
768
+ gap: 4px;
769
+ max-height: ${props => props.$maxHeight || '312px'};
770
+ padding: 10px;
771
+ width: 200px;
772
+ `;
773
+ const MenuItem = styled.div `
774
+ align-items: center;
775
+ border-radius: 8px;
776
+ border: 1px solid transparent;
777
+ display: flex;
778
+ gap: 8px;
779
+ height: 38px;
780
+ padding: 8px;
781
+ &:hover {
782
+ background: rgba(1, 147, 215, 0.1);
783
+ cursor: pointer;
784
+
785
+ svg,
786
+ path {
787
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
788
+ }
789
+ }
790
790
  `;
791
791
  MenuItem.defaultProps = { theme: EditableTheme };
792
- const Title$1 = styled.span `
793
- font-family: Roboto;
794
- font-size: 14px;
795
- font-weight: 400;
796
- height: auto;
797
- letter-spacing: 0px;
798
- line-height: 22px;
799
- text-align: left;
800
- color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
801
- pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
792
+ const Title$1 = styled.span `
793
+ font-family: Roboto;
794
+ font-size: 14px;
795
+ font-weight: 400;
796
+ height: auto;
797
+ letter-spacing: 0px;
798
+ line-height: 22px;
799
+ text-align: left;
800
+ color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
801
+ pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
802
802
  `;
803
803
  Title$1.defaultProps = {
804
804
  disabled: false,
@@ -813,19 +813,19 @@ const MoreMenu = (_a) => {
813
813
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, "data-itemid": `${itemId}-icon`, path: item.icon, size: '20px' })) : null,
814
814
  React.createElement(Title$1, { "data-itemid": `${itemId}-title`, disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
815
815
  })));
816
- };
817
-
818
- const MenuWrapper = styled.div `
819
- position: relative;
820
- display: inline-block;
821
- `;
822
- const StyledMoreMenu = styled(MoreMenu) `
823
- position: absolute;
824
- top: ${props => props.$top};
825
- left: ${props => props.$left};
826
- width: ${props => props.$menuWidth};
827
- max-height: ${props => props.maxHeight};
828
- z-index: 10;
816
+ };
817
+
818
+ const MenuWrapper = styled.div `
819
+ position: relative;
820
+ display: inline-block;
821
+ `;
822
+ const StyledMoreMenu = styled(MoreMenu) `
823
+ position: absolute;
824
+ top: ${props => props.$top};
825
+ left: ${props => props.$left};
826
+ width: ${props => props.$menuWidth};
827
+ max-height: ${props => props.maxHeight};
828
+ z-index: 10;
829
829
  `;
830
830
  const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'bottomLeft', format = 'primary', menuWidth = '200px', enableHover = true, enableClick = false, show = false, dataItemid, }) => {
831
831
  const [showMenu, toggleMenu] = React.useState(false);
@@ -900,85 +900,85 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
900
900
  return (React.createElement(MenuWrapper, { "data-itemid": `${baseId}-menu-wrapper`, onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
901
901
  React.createElement(Button, { "data-itemid": `${baseId}-button`, disabled: disabled, format: format, icon: js.mdiDotsHorizontal, small: small }, label),
902
902
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, "data-itemid": `${baseId}-more-menu`, maxHeight: maxHeight, menuItems: menuItems }))));
903
- };
904
-
905
- const Wrapper$b = styled.label `
906
- border-radius: 4px;
907
- padding: 4px 0px 4px 6px;
908
- margin-left: -6px;
909
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
910
- display: flex;
911
- align-items: center;
912
- font-size: ${FontSizes.DEFAULT};
913
- line-height: 1.6em;
914
- box-sizing: border-box;
915
- position: relative;
916
-
917
- &:focus-within {
918
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
919
- }
903
+ };
904
+
905
+ const Wrapper$b = styled.label `
906
+ border-radius: 4px;
907
+ padding: 4px 0px 4px 6px;
908
+ margin-left: -6px;
909
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
910
+ display: flex;
911
+ align-items: center;
912
+ font-size: ${FontSizes.DEFAULT};
913
+ line-height: 1.6em;
914
+ box-sizing: border-box;
915
+ position: relative;
916
+
917
+ &:focus-within {
918
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
919
+ }
920
920
  `;
921
921
  Wrapper$b.defaultProps = { theme: EditableTheme };
922
- const Input$2 = styled.input `
923
- font-size: 20px;
924
- margin: 0px;
925
- line-height: 1.1em;
926
- box-sizing: border-box;
927
- position: absolute;
928
- opacity: 0;
929
- cursor: pointer;
930
- height: 0;
931
- width: 0;
932
- &:checked + span {
933
- background-color: ${Colors.PRIMARY.Hex};
934
- border-color: ${Colors.PRIMARY.Hex};
935
- }
936
- &:checked:disabled + span {
937
- background-color: ${Colors.MEDIUM_GRAY.Hex};
938
- border-color: ${Colors.MEDIUM_GRAY.Hex};
939
- }
940
- &:disabled + span {
941
- background-color: #d3d3d3;
942
- border-color: #d3d3d3;
943
- }
944
- &:checked + span:after {
945
- display: block;
946
- }
947
- `;
948
- const Check$1 = styled.span `
949
- height: 17px;
950
- width: 17px;
951
- min-width: 17px;
952
- background-color: #fff;
953
- border-width: 2px;
954
- border-style: solid;
955
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
956
- box-sizing: border-box;
957
- position: relative;
958
- &:after {
959
- content: '';
960
- position: absolute;
961
- left: 3px;
962
- top: 0px;
963
- width: 7px;
964
- height: 12px;
965
- border: solid white;
966
- border-width: 0 3px 3px 0;
967
- -webkit-transform: rotate(45deg);
968
- -ms-transform: rotate(45deg);
969
- transform: rotate(45deg);
970
- box-sizing: border-box;
971
- display: none;
972
- }
973
- `;
974
- const Label$3 = styled.span `
975
- font-family: ${FontStyles.DEFAULT};
976
- font-size: ${FontSizes.DEFAULT};
977
- font-weight: 400;
978
- line-height: 1.6em;
979
- color: ${props => props.color || Colors.BLACK.Hex};
980
- margin-left: 6px;
981
- box-sizing: border-box;
922
+ const Input$2 = styled.input `
923
+ font-size: 20px;
924
+ margin: 0px;
925
+ line-height: 1.1em;
926
+ box-sizing: border-box;
927
+ position: absolute;
928
+ opacity: 0;
929
+ cursor: pointer;
930
+ height: 0;
931
+ width: 0;
932
+ &:checked + span {
933
+ background-color: ${Colors.PRIMARY.Hex};
934
+ border-color: ${Colors.PRIMARY.Hex};
935
+ }
936
+ &:checked:disabled + span {
937
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
938
+ border-color: ${Colors.MEDIUM_GRAY.Hex};
939
+ }
940
+ &:disabled + span {
941
+ background-color: #d3d3d3;
942
+ border-color: #d3d3d3;
943
+ }
944
+ &:checked + span:after {
945
+ display: block;
946
+ }
947
+ `;
948
+ const Check$1 = styled.span `
949
+ height: 17px;
950
+ width: 17px;
951
+ min-width: 17px;
952
+ background-color: #fff;
953
+ border-width: 2px;
954
+ border-style: solid;
955
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
956
+ box-sizing: border-box;
957
+ position: relative;
958
+ &:after {
959
+ content: '';
960
+ position: absolute;
961
+ left: 3px;
962
+ top: 0px;
963
+ width: 7px;
964
+ height: 12px;
965
+ border: solid white;
966
+ border-width: 0 3px 3px 0;
967
+ -webkit-transform: rotate(45deg);
968
+ -ms-transform: rotate(45deg);
969
+ transform: rotate(45deg);
970
+ box-sizing: border-box;
971
+ display: none;
972
+ }
973
+ `;
974
+ const Label$3 = styled.span `
975
+ font-family: ${FontStyles.DEFAULT};
976
+ font-size: ${FontSizes.DEFAULT};
977
+ font-weight: 400;
978
+ line-height: 1.6em;
979
+ color: ${props => props.color || Colors.BLACK.Hex};
980
+ margin-left: 6px;
981
+ box-sizing: border-box;
982
982
  `;
983
983
  const Checkbox = (_a) => {
984
984
  var { children, color, disabled, checked, onChange, invalid, tooltip, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip", "tabIndex", "dataItemid"]);
@@ -989,16 +989,16 @@ const Checkbox = (_a) => {
989
989
  children ? (React.createElement(Label$3, { color: color, "data-itemid": `${baseId}-label` },
990
990
  children,
991
991
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
992
- };
993
-
994
- const SelectAll = styled.div `
995
- padding: 8px 12px;
996
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
997
- box-sizing: border-box;
992
+ };
993
+
994
+ const SelectAll = styled.div `
995
+ padding: 8px 12px;
996
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
997
+ box-sizing: border-box;
998
998
  `;
999
- const Options$1 = styled.div `
1000
- padding: 12px;
1001
- box-sizing: border-box;
999
+ const Options$1 = styled.div `
1000
+ padding: 12px;
1001
+ box-sizing: border-box;
1002
1002
  `;
1003
1003
  const Checklist = (_a) => {
1004
1004
  var { disabled, onChange, options, selected = [], showSelectAll, dataItemid } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll", "dataItemid"]);
@@ -1037,70 +1037,70 @@ const Checklist = (_a) => {
1037
1037
  const optionId = `${baseId}-option-${i}`;
1038
1038
  return (React.createElement(Checkbox, Object.assign({ "data-itemid": `${optionId}-checkbox`, key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1039
1039
  }))));
1040
- };
1041
-
1042
- const Wrapper$a = styled.div `
1043
- border-radius: 4px;
1044
- height: 40px;
1045
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1046
- position: relative;
1047
- cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1048
- border-width: 1px;
1049
- border-style: solid;
1050
- border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1051
- border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1052
- flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1053
- box-sizing: border-box;
1054
- padding: 10px 0px;
1055
- display: flex;
1056
- align-items: center;
1057
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1058
-
1059
- &:focus-within {
1060
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1061
- }
1040
+ };
1041
+
1042
+ const Wrapper$a = styled.div `
1043
+ border-radius: 4px;
1044
+ height: 40px;
1045
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1046
+ position: relative;
1047
+ cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1048
+ border-width: 1px;
1049
+ border-style: solid;
1050
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1051
+ border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1052
+ flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1053
+ box-sizing: border-box;
1054
+ padding: 10px 0px;
1055
+ display: flex;
1056
+ align-items: center;
1057
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1058
+
1059
+ &:focus-within {
1060
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1061
+ }
1062
1062
  `;
1063
1063
  Wrapper$a.defaultProps = { theme: EditableTheme };
1064
- const Trigger$1 = styled.select `
1065
- appearance: none;
1066
- box-shadow: none;
1067
- outline: none;
1068
- border: none;
1069
- color: ${Colors.BLACK.Hex};
1070
- font-size: ${FontSizes.DEFAULT};
1071
- font-weight: 400;
1072
- font-family: ${FontStyles.DEFAULT};
1073
- line-height: 3.1em;
1074
- background-color: transparent;
1075
- background-image: none;
1076
- width: 100%;
1077
- box-sizing: border-box;
1078
- padding: 0px 30px 0px 10px;
1079
- box-sizing: border-box;
1080
- position: relative;
1081
- z-index: 2;
1082
- `;
1083
- const IconWrapper$2 = styled(Icon) `
1084
- position: absolute;
1085
- right: 9px;
1086
- z-index: 1;
1087
- `;
1088
- const SearchInput$1 = styled.input `
1089
- position: absolute;
1090
- left: 2px;
1091
- top: 2px;
1092
- z-index: 999;
1093
- width: 90%;
1094
- height: 30px;
1095
- border: none;
1096
- outline: none;
1097
- color: ${Colors.BLACK.Hex};
1098
- font-family: ${FontStyles.DEFAULT};
1099
- font-size: ${FontSizes.DEFAULT};
1100
- font-weight: 400;
1101
- line-height: 2.9em;
1102
- overflow: hidden;
1103
- white-space: nowrap;
1064
+ const Trigger$1 = styled.select `
1065
+ appearance: none;
1066
+ box-shadow: none;
1067
+ outline: none;
1068
+ border: none;
1069
+ color: ${Colors.BLACK.Hex};
1070
+ font-size: ${FontSizes.DEFAULT};
1071
+ font-weight: 400;
1072
+ font-family: ${FontStyles.DEFAULT};
1073
+ line-height: 3.1em;
1074
+ background-color: transparent;
1075
+ background-image: none;
1076
+ width: 100%;
1077
+ box-sizing: border-box;
1078
+ padding: 0px 30px 0px 10px;
1079
+ box-sizing: border-box;
1080
+ position: relative;
1081
+ z-index: 2;
1082
+ `;
1083
+ const IconWrapper$2 = styled(Icon) `
1084
+ position: absolute;
1085
+ right: 9px;
1086
+ z-index: 1;
1087
+ `;
1088
+ const SearchInput$1 = styled.input `
1089
+ position: absolute;
1090
+ left: 2px;
1091
+ top: 2px;
1092
+ z-index: 999;
1093
+ width: 90%;
1094
+ height: 30px;
1095
+ border: none;
1096
+ outline: none;
1097
+ color: ${Colors.BLACK.Hex};
1098
+ font-family: ${FontStyles.DEFAULT};
1099
+ font-size: ${FontSizes.DEFAULT};
1100
+ font-weight: 400;
1101
+ line-height: 2.9em;
1102
+ overflow: hidden;
1103
+ white-space: nowrap;
1104
1104
  `;
1105
1105
  const Select = (_a) => {
1106
1106
  var { options, optionGroups, placeholder = '--Select-One--', readOnly, invalid, searchable = false, value: propValue, onChange, style, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style", "tabIndex", "dataItemid"]);
@@ -1135,15 +1135,15 @@ const Select = (_a) => {
1135
1135
  filteredOptions &&
1136
1136
  filteredOptions.map((option, i) => (React.createElement("option", { "data-itemid": `${baseId}-option-${i}`, key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
1137
1137
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: js.mdiChevronDown, size: '22px' })));
1138
- };
1139
-
1140
- const DatePickerWrapper = styled.div `
1141
- display: flex;
1142
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1138
+ };
1139
+
1140
+ const DatePickerWrapper = styled.div `
1141
+ display: flex;
1142
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1143
1143
  `;
1144
- const Middle = styled.div `
1145
- margin: 0px -1px;
1146
- flex-grow: 1;
1144
+ const Middle = styled.div `
1145
+ margin: 0px -1px;
1146
+ flex-grow: 1;
1147
1147
  `;
1148
1148
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date,
1149
1149
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -1231,66 +1231,66 @@ onChange = () => { }, style, dataItemid, locale, }) => {
1231
1231
  React.createElement(Middle, { "data-itemid": `${baseId}-middle` },
1232
1232
  React.createElement(Select, { "data-itemid": `${baseId}-day-select`, invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: (locale === null || locale === void 0 ? void 0 : locale.SelectDay) ? locale === null || locale === void 0 ? void 0 : locale.SelectDay : 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1233
1233
  React.createElement(Select, { "data-itemid": `${baseId}-year-select`, invalid: invalid, onChange: handleYearChange, options: years, placeholder: (locale === null || locale === void 0 ? void 0 : locale.SelectYear) ? locale === null || locale === void 0 ? void 0 : locale.SelectYear : 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1234
- };
1235
-
1236
- const Scrim$1 = styled.div `
1237
- position: ${({ $position }) => $position};
1238
- top: 0;
1239
- right: 0;
1240
- bottom: 0;
1241
- left: 0;
1242
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1243
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1244
- `;
1245
- const Container$2 = styled.div `
1246
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1247
- min-width: 400px;
1248
- width: ${({ $width }) => $width || '400px'};
1249
- overflow: hidden;
1250
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1251
- outline: none;
1252
- border: none;
1253
- position: ${({ $position }) => $position};
1254
- top: 0;
1255
- right: 0;
1256
- bottom: 0;
1257
- padding: 0px;
1258
- display: flex;
1259
- flex-direction: column;
1260
- box-sizing: border-box;
1261
- background: #fff;
1262
- `;
1263
- const Header$2 = styled.div `
1264
- padding: 30px 20px;
1265
- display: flex;
1266
- align-items: flex-start;
1267
- box-sizing: border-box;
1268
- flex-shrink: 0;
1269
- background: #fff;
1270
- `;
1271
- const Close$1 = styled.div `
1272
- margin-left: auto;
1273
- display: flex;
1274
- align-items: center;
1275
- padding-left: 20px;
1276
- cursor: pointer;
1277
- `;
1278
- const ContentWrapper$1 = styled.div `
1279
- overflow-x: hidden;
1280
- overflow-y: auto;
1281
- box-sizing: border-box;
1282
- flex: 1;
1283
- background: #fff;
1284
- `;
1285
- const ButtonBar$1 = styled.div `
1286
- padding: 20px;
1287
- display: flex;
1288
- align-items: center;
1289
- justify-content: flex-end;
1290
- box-sizing: border-box;
1291
- gap: 10px;
1292
- flex-shrink: 0;
1293
- background: #fff;
1234
+ };
1235
+
1236
+ const Scrim$1 = styled.div `
1237
+ position: ${({ $position }) => $position};
1238
+ top: 0;
1239
+ right: 0;
1240
+ bottom: 0;
1241
+ left: 0;
1242
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1243
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1244
+ `;
1245
+ const Container$2 = styled.div `
1246
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1247
+ min-width: 400px;
1248
+ width: ${({ $width }) => $width || '400px'};
1249
+ overflow: hidden;
1250
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1251
+ outline: none;
1252
+ border: none;
1253
+ position: ${({ $position }) => $position};
1254
+ top: 0;
1255
+ right: 0;
1256
+ bottom: 0;
1257
+ padding: 0px;
1258
+ display: flex;
1259
+ flex-direction: column;
1260
+ box-sizing: border-box;
1261
+ background: #fff;
1262
+ `;
1263
+ const Header$2 = styled.div `
1264
+ padding: 30px 20px;
1265
+ display: flex;
1266
+ align-items: flex-start;
1267
+ box-sizing: border-box;
1268
+ flex-shrink: 0;
1269
+ background: #fff;
1270
+ `;
1271
+ const Close$1 = styled.div `
1272
+ margin-left: auto;
1273
+ display: flex;
1274
+ align-items: center;
1275
+ padding-left: 20px;
1276
+ cursor: pointer;
1277
+ `;
1278
+ const ContentWrapper$1 = styled.div `
1279
+ overflow-x: hidden;
1280
+ overflow-y: auto;
1281
+ box-sizing: border-box;
1282
+ flex: 1;
1283
+ background: #fff;
1284
+ `;
1285
+ const ButtonBar$1 = styled.div `
1286
+ padding: 20px;
1287
+ display: flex;
1288
+ align-items: center;
1289
+ justify-content: flex-end;
1290
+ box-sizing: border-box;
1291
+ gap: 10px;
1292
+ flex-shrink: 0;
1293
+ background: #fff;
1294
1294
  `;
1295
1295
  const Drawer = (_a) => {
1296
1296
  var { children, description, title, onClose, primaryButton, position = 'fixed', secondaryButton, tertiaryButton, scrim = 'dark', width, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "description", "title", "onClose", "primaryButton", "position", "secondaryButton", "tertiaryButton", "scrim", "width", "dataItemid"]);
@@ -1319,8 +1319,8 @@ const Drawer = (_a) => {
1319
1319
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' }))) : null,
1320
1320
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null),
1321
1321
  scrim ? (React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, "data-itemid": `${baseId}-scrim`, onClick: onClose })) : null));
1322
- };
1323
-
1322
+ };
1323
+
1324
1324
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1325
1325
  const LabelRow = styled.div `
1326
1326
  display: flex;
@@ -1405,116 +1405,116 @@ const Field = (_a) => {
1405
1405
  React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation`, title: validationText }, validationText && isNewMessageType
1406
1406
  ? MessageWrapper(validationText)
1407
1407
  : validationText || '\u00A0')));
1408
- };
1409
-
1410
- const Wrapper$8 = styled.fieldset `
1411
- margin-inline-start: 0px;
1412
- margin-inline-end: 0px;
1413
- padding-block-start: 0px;
1414
- padding-inline-start: 0px;
1415
- padding-inline-end: 0px;
1416
- padding-block-end: 0px;
1417
- min-inline-size: min-content;
1418
- border-width: 0px;
1419
- border-style: none;
1420
- border-color: transparent;
1421
- border-image: none;
1422
- `;
1423
- const Label$1 = styled.legend `
1424
- padding-inline-start: 0px;
1425
- padding-inline-end: 0px;
1426
-
1427
- color: ${Colors.BLACK.Hex};
1428
- font-family: ${FontStyles.DEFAULT};
1429
- font-size: ${FontSizes.DEFAULT};
1430
- font-weight: 500;
1431
- line-height: 22px;
1432
- margin-bottom: 6px;
1433
- `;
1434
- const Content$1 = styled.div `
1435
- padding: 20px;
1436
- border-radius: 8px;
1437
- background: #fcfcfc;
1408
+ };
1409
+
1410
+ const Wrapper$8 = styled.fieldset `
1411
+ margin-inline-start: 0px;
1412
+ margin-inline-end: 0px;
1413
+ padding-block-start: 0px;
1414
+ padding-inline-start: 0px;
1415
+ padding-inline-end: 0px;
1416
+ padding-block-end: 0px;
1417
+ min-inline-size: min-content;
1418
+ border-width: 0px;
1419
+ border-style: none;
1420
+ border-color: transparent;
1421
+ border-image: none;
1422
+ `;
1423
+ const Label$1 = styled.legend `
1424
+ padding-inline-start: 0px;
1425
+ padding-inline-end: 0px;
1426
+
1427
+ color: ${Colors.BLACK.Hex};
1428
+ font-family: ${FontStyles.DEFAULT};
1429
+ font-size: ${FontSizes.DEFAULT};
1430
+ font-weight: 500;
1431
+ line-height: 22px;
1432
+ margin-bottom: 6px;
1433
+ `;
1434
+ const Content$1 = styled.div `
1435
+ padding: 20px;
1436
+ border-radius: 8px;
1437
+ background: #fcfcfc;
1438
+ `;
1439
+ const FieldGroup = ({ children, label, dataItemid }) => {
1440
+ const baseId = dataItemid || 'field-group';
1441
+ return (React.createElement(Wrapper$8, { "data-itemid": `${baseId}-wrapper` },
1442
+ React.createElement(Label$1, { "data-itemid": `${baseId}-label` }, label),
1443
+ React.createElement(Content$1, { "data-itemid": `${baseId}-content` }, children)));
1444
+ };
1445
+
1446
+ const Dropzone = styled.div `
1447
+ border-radius: 8px;
1448
+ border-width: 1px;
1449
+ border-style: dashed;
1450
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1451
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1452
+ cursor: ${props => (props.disabled ? 'not-allowed' : 'copy')};
1453
+ opacity: ${props => (props.disabled ? 0.6 : 1)};
1454
+ pointer-events: ${props => (props.disabled ? 'none' : 'auto')};
1455
+ `;
1456
+ Dropzone.defaultProps = { theme: EditableTheme };
1457
+ const IconWrapper$1 = styled.div `
1458
+ width: 80px;
1459
+ height: 80px;
1460
+ border-radius: 40px;
1461
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1462
+ display: flex;
1463
+ align-items: center;
1464
+ justify-content: center;
1465
+ `;
1466
+ const StyledIcon$3 = styled(Icon) `
1467
+ width: 40px !important;
1468
+ height: 40px !important;
1469
+
1470
+ > path {
1471
+ fill: ${Colors.GRAY.Hex} !important;
1472
+ }
1438
1473
  `;
1439
- const FieldGroup = ({ children, label, dataItemid }) => {
1440
- const baseId = dataItemid || 'field-group';
1441
- return (React.createElement(Wrapper$8, { "data-itemid": `${baseId}-wrapper` },
1442
- React.createElement(Label$1, { "data-itemid": `${baseId}-label` }, label),
1443
- React.createElement(Content$1, { "data-itemid": `${baseId}-content` }, children)));
1444
- };
1445
-
1446
- const Dropzone = styled.div `
1447
- border-radius: 8px;
1448
- border-width: 1px;
1449
- border-style: dashed;
1450
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1451
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1452
- cursor: ${props => (props.disabled ? 'not-allowed' : 'copy')};
1453
- opacity: ${props => (props.disabled ? 0.6 : 1)};
1454
- pointer-events: ${props => (props.disabled ? 'none' : 'auto')};
1474
+ const ClickZone = styled.div `
1475
+ margin: 40px 20px;
1476
+ display: flex;
1477
+ flex-direction: column;
1478
+ align-items: center;
1479
+ gap: 16px;
1455
1480
  `;
1456
- Dropzone.defaultProps = { theme: EditableTheme };
1457
- const IconWrapper$1 = styled.div `
1458
- width: 80px;
1459
- height: 80px;
1460
- border-radius: 40px;
1461
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1462
- display: flex;
1463
- align-items: center;
1464
- justify-content: center;
1465
- `;
1466
- const StyledIcon$3 = styled(Icon) `
1467
- width: 40px !important;
1468
- height: 40px !important;
1469
-
1470
- > path {
1471
- fill: ${Colors.GRAY.Hex} !important;
1472
- }
1473
- `;
1474
- const ClickZone = styled.div `
1475
- margin: 40px 20px;
1476
- display: flex;
1477
- flex-direction: column;
1478
- align-items: center;
1479
- gap: 16px;
1480
- `;
1481
- const Content = styled.div `
1482
- display: flex;
1483
- flex-direction: column;
1484
- align-items: center;
1485
- z-index: 99999;
1486
- gap: 2px;
1487
- `;
1488
- const Files = styled.div `
1489
- display: flex;
1490
- flex-direction: column;
1491
- align-self: stretch;
1492
- gap: 10px;
1493
- margin: 20px;
1494
- `;
1495
- const MessageDiv = styled.div `
1496
- display: flex;
1497
- align-items: center;
1498
- justify-content: center;
1499
- `;
1500
- const File = styled.div `
1501
- display: flex;
1502
- padding: 10px;
1503
- align-items: center;
1504
- justify-content: space-between;
1505
- gap: 10px;
1506
- border-radius: 4px;
1507
- border: 1px solid #cccccc;
1508
- background: #ffffff;
1509
- `;
1510
- const Remove = styled(Icon) `
1511
- width: 24px;
1512
- height: 24px;
1513
- cursor: pointer;
1514
-
1515
- > path {
1516
- fill: ${Colors.RED.Hex} !important;
1517
- }
1481
+ const Content = styled.div `
1482
+ display: flex;
1483
+ flex-direction: column;
1484
+ align-items: center;
1485
+ z-index: 99999;
1486
+ gap: 2px;
1487
+ `;
1488
+ const Files = styled.div `
1489
+ display: flex;
1490
+ flex-direction: column;
1491
+ align-self: stretch;
1492
+ gap: 10px;
1493
+ margin: 20px;
1494
+ `;
1495
+ const MessageDiv = styled.div `
1496
+ display: flex;
1497
+ align-items: center;
1498
+ justify-content: center;
1499
+ `;
1500
+ const File = styled.div `
1501
+ display: flex;
1502
+ padding: 10px;
1503
+ align-items: center;
1504
+ justify-content: space-between;
1505
+ gap: 10px;
1506
+ border-radius: 4px;
1507
+ border: 1px solid #cccccc;
1508
+ background: #ffffff;
1509
+ `;
1510
+ const Remove = styled(Icon) `
1511
+ width: 24px;
1512
+ height: 24px;
1513
+ cursor: pointer;
1514
+
1515
+ > path {
1516
+ fill: ${Colors.RED.Hex} !important;
1517
+ }
1518
1518
  `;
1519
1519
  const FileUpload = ({ accept, onChange, disabled = false, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, dataItemid, }) => {
1520
1520
  const inputRef = React.useRef(null);
@@ -1634,8 +1634,8 @@ const FileUpload = ({ accept, onChange, disabled = false, onError, maxFiles = 10
1634
1634
  React.createElement(Copy, { align: 'center', color: 'GRAY', "data-itemid": `${baseId}-message` }, message),
1635
1635
  tooltipInfo && (React.createElement("span", { "data-itemid": `${baseId}-tooltip` },
1636
1636
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1637
- };
1638
-
1637
+ };
1638
+
1639
1639
  const getAgesFromDob = (dob) => {
1640
1640
  let calculated_current_age = null;
1641
1641
  let calculated_nearest_age = null;
@@ -1735,8 +1735,8 @@ const formatAsMask = (number, mask) => {
1735
1735
  result = formatted_value;
1736
1736
  }
1737
1737
  return result;
1738
- };
1739
-
1738
+ };
1739
+
1740
1740
  const StyledInput = styled.input `
1741
1741
  border: none !important;
1742
1742
  background: none !important;
@@ -1816,7 +1816,7 @@ const StyledWrapper = styled.div `
1816
1816
  position: relative;
1817
1817
  border-width: 1px;
1818
1818
  border-style: solid;
1819
- border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1819
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1820
1820
  border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1821
1821
 
1822
1822
  &:focus-within {
@@ -2013,65 +2013,65 @@ const Input$1 = (_a) => {
2013
2013
  onSuggestedSelect();
2014
2014
  setShowOptions(false);
2015
2015
  } }, suggestedValue))))) : null));
2016
- };
2017
-
2018
- const Wrapper$7 = styled.a `
2019
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
2020
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
2021
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
2022
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
2023
- font-weight: 500;
2024
- font-style: normal;
2025
- text-decoration: none;
2026
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
2027
- margin: 0px;
2028
- padding: 0px;
2029
- box-sizing: border-box;
2030
- cursor: pointer;
2016
+ };
2017
+
2018
+ const Wrapper$7 = styled.a `
2019
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
2020
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
2021
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
2022
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
2023
+ font-weight: 500;
2024
+ font-style: normal;
2025
+ text-decoration: none;
2026
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2027
+ margin: 0px;
2028
+ padding: 0px;
2029
+ box-sizing: border-box;
2030
+ cursor: pointer;
2031
2031
  `;
2032
2032
  Wrapper$7.defaultProps = { theme: EditableTheme };
2033
2033
  const Link = (_a) => {
2034
2034
  var { children, onClick, small, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small", "dataItemid"]);
2035
2035
  const baseId = dataItemid || 'link';
2036
2036
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps, { "data-itemid": `${baseId}-wrapper` }), children));
2037
- };
2038
-
2039
- const dash = styled.keyframes `
2040
- 0% {
2041
- stroke-dasharray: 1, 160;
2042
- stroke-dashoffset: 0;
2043
- }
2044
- 50% {
2045
- stroke-dasharray: 80, 160;
2046
- stroke-dashoffset: -32;
2047
- }
2048
- 100% {
2049
- stroke-dasharray: 80, 160;
2050
- stroke-dashoffset: -124;
2051
- }
2052
- `;
2053
- const Spinner = styled.svg `
2054
- z-index: 2;
2055
- position: absolute;
2056
- top: 50%;
2057
- left: 50%;
2058
- transform: translate(-50%, -50%);
2059
- margin: 0 auto;
2060
- width: 40px;
2061
- height: 40px;
2062
- `;
2063
- const Path = styled.path `
2064
- stroke: #0193d7;
2065
- stroke-linecap: round;
2066
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
2067
- animation: ${dash} 1.1s ease-in-out infinite;
2037
+ };
2038
+
2039
+ const dash = styled.keyframes `
2040
+ 0% {
2041
+ stroke-dasharray: 1, 160;
2042
+ stroke-dashoffset: 0;
2043
+ }
2044
+ 50% {
2045
+ stroke-dasharray: 80, 160;
2046
+ stroke-dashoffset: -32;
2047
+ }
2048
+ 100% {
2049
+ stroke-dasharray: 80, 160;
2050
+ stroke-dashoffset: -124;
2051
+ }
2052
+ `;
2053
+ const Spinner = styled.svg `
2054
+ z-index: 2;
2055
+ position: absolute;
2056
+ top: 50%;
2057
+ left: 50%;
2058
+ transform: translate(-50%, -50%);
2059
+ margin: 0 auto;
2060
+ width: 40px;
2061
+ height: 40px;
2062
+ `;
2063
+ const Path = styled.path `
2064
+ stroke: #0193d7;
2065
+ stroke-linecap: round;
2066
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
2067
+ animation: ${dash} 1.1s ease-in-out infinite;
2068
2068
  `;
2069
2069
  const Loader = ({ dataItemid }) => {
2070
2070
  const baseId = dataItemid || 'loader';
2071
2071
  return (React.createElement(Spinner, { "data-itemid": `${baseId}-spinner`, viewBox: '0 0 16 18' },
2072
2072
  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', "data-itemid": `${baseId}-path`, fill: 'none', strokeWidth: '2' })));
2073
- };
2074
-
2073
+ };
2074
+
2075
2075
  const Steps = styled.div `
2076
2076
  padding: 20px;
2077
2077
  border-bottom: 1px solid #e7e6e6;
@@ -2165,78 +2165,78 @@ const ProgressBar = ({ steps, showStepLine = false, dataItemid }) => {
2165
2165
  step.label,
2166
2166
  step.percentComplete !== undefined && (React.createElement(ProgressBarFill, { "$percent": step.percentComplete, "data-itemid": `${stepId}-fill` }))))));
2167
2167
  })));
2168
- };
2169
-
2170
- const Wrapper$6 = styled.div `
2171
- position: fixed;
2172
- top: 0;
2173
- right: 0;
2174
- bottom: 0;
2175
- left: 0;
2176
- z-index: 9999;
2177
- background: rgba(0, 0, 0, 0.8);
2178
- display: flex;
2179
- align-items: center;
2180
- justify-content: center;
2181
- `;
2182
- const Container$1 = styled.dialog `
2183
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2184
- max-width: calc(100vw - 80px);
2185
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2186
- max-height: calc(100vh - 80px);
2187
- border-radius: 8px;
2188
- overflow: hidden;
2189
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2190
- outline: none;
2191
- border: none;
2192
- position: relative;
2193
- padding: 0px;
2194
- box-sizing: border-box;
2195
- display: flex;
2196
- flex-direction: column;
2197
- `;
2198
- const Header$1 = styled.div `
2199
- flex-shrink: 0;
2200
- padding: 20px;
2201
- border-bottom: 1px solid #e7e6e6;
2202
- display: flex;
2203
- align-items: center;
2204
- background: #ffffff;
2205
- box-sizing: border-box;
2206
- `;
2207
- const Close = styled.div `
2208
- margin-left: auto;
2209
- display: flex;
2210
- align-items: center;
2211
- padding-left: 20px;
2212
- cursor: pointer;
2213
- `;
2214
- const CloseMsg = styled.span `
2215
- font-size: ${FontSizes.SMALL};
2216
- font-weight: 400;
2217
- font-family: ${FontStyles.DEFAULT};
2218
- line-height: 1em;
2219
- color: ${Colors.MEDIUM_GRAY.Hex};
2220
- `;
2221
- const ContentWrapper = styled.div `
2222
- overflow-x: hidden;
2223
- overflow-y: auto;
2224
- background: #ffffff;
2225
- flex: 1;
2226
- box-sizing: border-box;
2227
- `;
2228
- const ButtonBar = styled.div `
2229
- flex-shrink: 0;
2230
- background: #ffffff;
2231
- padding: 20px;
2232
- border-top: 1px solid #e7e6e6;
2233
- display: flex;
2234
- align-items: center;
2235
- justify-self: flex-end;
2236
- box-sizing: border-box;
2237
- `;
2238
- const ButtonContainer = styled.div `
2239
- margin: 0 10px;
2168
+ };
2169
+
2170
+ const Wrapper$6 = styled.div `
2171
+ position: fixed;
2172
+ top: 0;
2173
+ right: 0;
2174
+ bottom: 0;
2175
+ left: 0;
2176
+ z-index: 9999;
2177
+ background: rgba(0, 0, 0, 0.8);
2178
+ display: flex;
2179
+ align-items: center;
2180
+ justify-content: center;
2181
+ `;
2182
+ const Container$1 = styled.dialog `
2183
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2184
+ max-width: calc(100vw - 80px);
2185
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2186
+ max-height: calc(100vh - 80px);
2187
+ border-radius: 8px;
2188
+ overflow: hidden;
2189
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2190
+ outline: none;
2191
+ border: none;
2192
+ position: relative;
2193
+ padding: 0px;
2194
+ box-sizing: border-box;
2195
+ display: flex;
2196
+ flex-direction: column;
2197
+ `;
2198
+ const Header$1 = styled.div `
2199
+ flex-shrink: 0;
2200
+ padding: 20px;
2201
+ border-bottom: 1px solid #e7e6e6;
2202
+ display: flex;
2203
+ align-items: center;
2204
+ background: #ffffff;
2205
+ box-sizing: border-box;
2206
+ `;
2207
+ const Close = styled.div `
2208
+ margin-left: auto;
2209
+ display: flex;
2210
+ align-items: center;
2211
+ padding-left: 20px;
2212
+ cursor: pointer;
2213
+ `;
2214
+ const CloseMsg = styled.span `
2215
+ font-size: ${FontSizes.SMALL};
2216
+ font-weight: 400;
2217
+ font-family: ${FontStyles.DEFAULT};
2218
+ line-height: 1em;
2219
+ color: ${Colors.MEDIUM_GRAY.Hex};
2220
+ `;
2221
+ const ContentWrapper = styled.div `
2222
+ overflow-x: hidden;
2223
+ overflow-y: auto;
2224
+ background: #ffffff;
2225
+ flex: 1;
2226
+ box-sizing: border-box;
2227
+ `;
2228
+ const ButtonBar = styled.div `
2229
+ flex-shrink: 0;
2230
+ background: #ffffff;
2231
+ padding: 20px;
2232
+ border-top: 1px solid #e7e6e6;
2233
+ display: flex;
2234
+ align-items: center;
2235
+ justify-self: flex-end;
2236
+ box-sizing: border-box;
2237
+ `;
2238
+ const ButtonContainer = styled.div `
2239
+ margin: 0 10px;
2240
2240
  `;
2241
2241
  const Modal = (_a) => {
2242
2242
  var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton, quarternaryButton, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton", "quarternaryButton", "dataItemid"]);
@@ -2279,21 +2279,21 @@ const Modal = (_a) => {
2279
2279
  secondaryButton ? (React.createElement(ButtonContainer, { "data-itemid": `${baseId}-secondary-button-container` },
2280
2280
  React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' })))) : null,
2281
2281
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2282
- };
2283
-
2284
- const Wrapper$5 = styled.div `
2285
- position: relative;
2286
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2287
- `;
2288
- const Trigger = styled.div `
2289
- box-sizing: border-box;
2290
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2291
- height: 40px;
2292
- padding: 0 10px;
2293
- position: relative;
2294
- cursor: pointer;
2295
- border-width: 1px;
2296
- border-style: solid;
2282
+ };
2283
+
2284
+ const Wrapper$5 = styled.div `
2285
+ position: relative;
2286
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2287
+ `;
2288
+ const Trigger = styled.div `
2289
+ box-sizing: border-box;
2290
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2291
+ height: 40px;
2292
+ padding: 0 10px;
2293
+ position: relative;
2294
+ cursor: pointer;
2295
+ border-width: 1px;
2296
+ border-style: solid;
2297
2297
  border-color: ${props => {
2298
2298
  if (props.$invalid) {
2299
2299
  return Colors.RED.Hex;
@@ -2304,67 +2304,67 @@ const Trigger = styled.div `
2304
2304
  else {
2305
2305
  return '#cccccc';
2306
2306
  }
2307
- }};
2308
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2309
- background-image: none;
2310
- display: flex;
2311
- width: 100%;
2312
- align-items: center;
2313
- justify-content: space-between;
2314
- z-index: 1;
2307
+ }};
2308
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2309
+ background-image: none;
2310
+ display: flex;
2311
+ width: 100%;
2312
+ align-items: center;
2313
+ justify-content: space-between;
2314
+ z-index: 1;
2315
2315
  `;
2316
2316
  Trigger.defaultProps = { theme: EditableTheme };
2317
- const Value = styled.div `
2318
- color: ${Colors.BLACK.Hex};
2319
- font-family: ${FontStyles.DEFAULT};
2320
- font-size: ${FontSizes.DEFAULT};
2321
- font-weight: 400;
2322
- line-height: 2.9em;
2323
- overflow: hidden;
2324
- text-overflow: ellipsis;
2325
- white-space: nowrap;
2326
- width: 100%;
2327
- `;
2328
- const Options = styled.div `
2329
- background: #fff;
2330
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2331
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2332
- border-radius: 0px 0px 4px 4px;
2333
- border-style: solid;
2334
- border-top: none;
2335
- border-width: 1px;
2336
- left: 0;
2337
- position: absolute;
2338
- right: 0;
2339
- z-index: 10;
2340
- max-height: 220px;
2341
- overflow: auto;
2317
+ const Value = styled.div `
2318
+ color: ${Colors.BLACK.Hex};
2319
+ font-family: ${FontStyles.DEFAULT};
2320
+ font-size: ${FontSizes.DEFAULT};
2321
+ font-weight: 400;
2322
+ line-height: 2.9em;
2323
+ overflow: hidden;
2324
+ text-overflow: ellipsis;
2325
+ white-space: nowrap;
2326
+ width: 100%;
2327
+ `;
2328
+ const Options = styled.div `
2329
+ background: #fff;
2330
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2331
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2332
+ border-radius: 0px 0px 4px 4px;
2333
+ border-style: solid;
2334
+ border-top: none;
2335
+ border-width: 1px;
2336
+ left: 0;
2337
+ position: absolute;
2338
+ right: 0;
2339
+ z-index: 10;
2340
+ max-height: 220px;
2341
+ overflow: auto;
2342
2342
  `;
2343
2343
  Options.defaultProps = { theme: EditableTheme };
2344
- const Scrim = styled.div `
2345
- bottom: 0;
2346
- left: 0;
2347
- position: fixed;
2348
- right: 0;
2349
- top: 0;
2350
- z-index: 9;
2351
- `;
2352
- const SearchInput = styled.input `
2353
- position: absolute;
2354
- left: 2px;
2355
- top: 2px;
2356
- z-index: 999;
2357
- width: 90%;
2358
- height: 30px;
2359
- border: none;
2360
- outline: none;
2361
- color: ${Colors.BLACK.Hex};
2362
- font-family: ${FontStyles.DEFAULT};
2363
- font-size: ${FontSizes.DEFAULT};
2364
- font-weight: 400;
2365
- line-height: 2.9em;
2366
- overflow: hidden;
2367
- white-space: nowrap;
2344
+ const Scrim = styled.div `
2345
+ bottom: 0;
2346
+ left: 0;
2347
+ position: fixed;
2348
+ right: 0;
2349
+ top: 0;
2350
+ z-index: 9;
2351
+ `;
2352
+ const SearchInput = styled.input `
2353
+ position: absolute;
2354
+ left: 2px;
2355
+ top: 2px;
2356
+ z-index: 999;
2357
+ width: 90%;
2358
+ height: 30px;
2359
+ border: none;
2360
+ outline: none;
2361
+ color: ${Colors.BLACK.Hex};
2362
+ font-family: ${FontStyles.DEFAULT};
2363
+ font-size: ${FontSizes.DEFAULT};
2364
+ font-weight: 400;
2365
+ line-height: 2.9em;
2366
+ overflow: hidden;
2367
+ white-space: nowrap;
2368
2368
  `;
2369
2369
  const MultiSelect = (_a) => {
2370
2370
  var { readOnly, displayCount = 3, invalid, onChange, options = [], selected = [], showSelectAll, searchable = false, style, dataItemid } = _a, accessibleProps = __rest(_a, ["readOnly", "displayCount", "invalid", "onChange", "options", "selected", "showSelectAll", "searchable", "style", "dataItemid"]);
@@ -2384,37 +2384,37 @@ const MultiSelect = (_a) => {
2384
2384
  showOptions ? (React.createElement(Options, { "data-itemid": `${baseId}-options` },
2385
2385
  React.createElement(Checklist, { "data-itemid": `${baseId}-checklist`, onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2386
2386
  showOptions ? (React.createElement(Scrim, { "data-itemid": `${baseId}-scrim`, onClick: setShowOptions.bind(null, !showOptions) })) : null));
2387
- };
2388
-
2389
- const Wrapper$4 = styled.div `
2390
- display: flex;
2391
- padding: 16px 30px;
2392
- align-items: center;
2393
- gap: 20px;
2394
- align-self: stretch;
2395
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2396
- `;
2397
- const Title = styled.div `
2398
- display: flex;
2399
- align-items: center;
2400
- gap: 20px;
2401
- `;
2402
- const Info = styled.div `
2403
- display: flex;
2404
- flex-direction: column;
2405
- align-items: flex-start;
2406
- gap: 4px;
2407
- flex: 1 0 0;
2408
- `;
2409
- const Breadcrumbs = styled.div `
2410
- display: flex;
2411
- align-items: center;
2412
- gap: 4px;
2413
- `;
2414
- const Actions = styled.div `
2415
- display: flex;
2416
- align-items: center;
2417
- gap: 8px;
2387
+ };
2388
+
2389
+ const Wrapper$4 = styled.div `
2390
+ display: flex;
2391
+ padding: 16px 30px;
2392
+ align-items: center;
2393
+ gap: 20px;
2394
+ align-self: stretch;
2395
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2396
+ `;
2397
+ const Title = styled.div `
2398
+ display: flex;
2399
+ align-items: center;
2400
+ gap: 20px;
2401
+ `;
2402
+ const Info = styled.div `
2403
+ display: flex;
2404
+ flex-direction: column;
2405
+ align-items: flex-start;
2406
+ gap: 4px;
2407
+ flex: 1 0 0;
2408
+ `;
2409
+ const Breadcrumbs = styled.div `
2410
+ display: flex;
2411
+ align-items: center;
2412
+ gap: 4px;
2413
+ `;
2414
+ const Actions = styled.div `
2415
+ display: flex;
2416
+ align-items: center;
2417
+ gap: 8px;
2418
2418
  `;
2419
2419
  const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataItemid, }) => {
2420
2420
  const { format = 'primary', menuItems = [], label = '', enableHover = true, enableClick = false, show = false, maxHeight = '', } = buttonMenu || {};
@@ -2437,13 +2437,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataIte
2437
2437
  return (React.createElement(Button, Object.assign({}, buttonProps, { "data-itemid": `${actionId}-button`, key: i, small: true }), label));
2438
2438
  }),
2439
2439
  menuItems.length ? (React.createElement(ButtonMenu, { "data-itemid": `${baseId}-button-menu`, enableClick: enableClick, enableHover: enableHover, format: format, label: label, maxHeight: maxHeight, menuItems: menuItems, show: show, small: true })) : null)) : null));
2440
- };
2441
-
2442
- const Wrapper$3 = styled.nav `
2443
- box-sizing: border-box;
2444
- display: flex;
2445
- align-items: center;
2446
- column-gap: 10px;
2440
+ };
2441
+
2442
+ const Wrapper$3 = styled.nav `
2443
+ box-sizing: border-box;
2444
+ display: flex;
2445
+ align-items: center;
2446
+ column-gap: 10px;
2447
2447
  `;
2448
2448
  const Pagination = (_a) => {
2449
2449
  var { currentPage = 1, onClick, pageCount = 0, dataItemid, type = null } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount", "dataItemid", "type"]);
@@ -2473,82 +2473,82 @@ const Pagination = (_a) => {
2473
2473
  value: `${p}`,
2474
2474
  })), value: `${currentPage}` }),
2475
2475
  React.createElement(Button, { "data-itemid": `${baseId}-next-button`, disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true, type: type })));
2476
- };
2477
-
2478
- const Wrapper$2 = styled.label `
2479
- border-radius: 4px;
2480
- padding: 4px 0px 4px 6px;
2481
- margin-left: -6px;
2482
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2483
- display: flex;
2484
- align-items: center;
2485
- font-size: ${FontSizes.DEFAULT};
2486
- line-height: 1.6em;
2487
- box-sizing: border-box;
2488
- position: relative;
2489
-
2490
- &:focus-within {
2491
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2492
- }
2476
+ };
2477
+
2478
+ const Wrapper$2 = styled.label `
2479
+ border-radius: 4px;
2480
+ padding: 4px 0px 4px 6px;
2481
+ margin-left: -6px;
2482
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2483
+ display: flex;
2484
+ align-items: center;
2485
+ font-size: ${FontSizes.DEFAULT};
2486
+ line-height: 1.6em;
2487
+ box-sizing: border-box;
2488
+ position: relative;
2489
+
2490
+ &:focus-within {
2491
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2492
+ }
2493
2493
  `;
2494
2494
  Wrapper$2.defaultProps = { theme: EditableTheme };
2495
- const Input = styled.input `
2496
- font-size: 20px;
2497
- margin: 0px;
2498
- line-height: 1.6em;
2499
- box-sizing: border-box;
2500
- position: absolute;
2501
- opacity: 0;
2502
- cursor: pointer;
2503
- height: 0;
2504
- width: 0;
2505
- &:checked + span {
2506
- border-color: ${Colors.PRIMARY.Hex};
2507
- }
2508
- &:checked + span:after {
2509
- background-color: ${Colors.PRIMARY.Hex};
2510
- display: block;
2511
- }
2512
- &:disabled + span {
2513
- background-color: #d3d3d3;
2514
- border-color: #d3d3d3;
2515
- }
2516
- &:disabled + span:after {
2517
- background-color: #fff;
2518
- }
2519
- &:checked:disabled + span:after {
2520
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2521
- }
2522
- `;
2523
- const Check = styled.span `
2524
- height: 17px;
2525
- width: 17px;
2526
- border-radius: 50%;
2527
- background-color: #fff;
2528
- border-width: 2px;
2529
- border-style: solid;
2530
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2531
- box-sizing: border-box;
2532
- position: relative;
2533
- &:after {
2534
- content: '';
2535
- position: absolute;
2536
- top: 2px;
2537
- left: 2px;
2538
- width: 9px;
2539
- height: 9px;
2540
- border-radius: 50%;
2541
- box-sizing: border-box;
2542
- display: none;
2543
- }
2544
- `;
2545
- const Label = styled.span `
2546
- font-family: ${FontStyles.DEFAULT};
2547
- font-size: ${FontSizes.DEFAULT};
2548
- font-weight: 400;
2549
- color: ${Colors.BLACK.Hex};
2550
- line-height: 1.6em;
2551
- margin-left: 6px;
2495
+ const Input = styled.input `
2496
+ font-size: 20px;
2497
+ margin: 0px;
2498
+ line-height: 1.6em;
2499
+ box-sizing: border-box;
2500
+ position: absolute;
2501
+ opacity: 0;
2502
+ cursor: pointer;
2503
+ height: 0;
2504
+ width: 0;
2505
+ &:checked + span {
2506
+ border-color: ${Colors.PRIMARY.Hex};
2507
+ }
2508
+ &:checked + span:after {
2509
+ background-color: ${Colors.PRIMARY.Hex};
2510
+ display: block;
2511
+ }
2512
+ &:disabled + span {
2513
+ background-color: #d3d3d3;
2514
+ border-color: #d3d3d3;
2515
+ }
2516
+ &:disabled + span:after {
2517
+ background-color: #fff;
2518
+ }
2519
+ &:checked:disabled + span:after {
2520
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2521
+ }
2522
+ `;
2523
+ const Check = styled.span `
2524
+ height: 17px;
2525
+ width: 17px;
2526
+ border-radius: 50%;
2527
+ background-color: #fff;
2528
+ border-width: 2px;
2529
+ border-style: solid;
2530
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2531
+ box-sizing: border-box;
2532
+ position: relative;
2533
+ &:after {
2534
+ content: '';
2535
+ position: absolute;
2536
+ top: 2px;
2537
+ left: 2px;
2538
+ width: 9px;
2539
+ height: 9px;
2540
+ border-radius: 50%;
2541
+ box-sizing: border-box;
2542
+ display: none;
2543
+ }
2544
+ `;
2545
+ const Label = styled.span `
2546
+ font-family: ${FontStyles.DEFAULT};
2547
+ font-size: ${FontSizes.DEFAULT};
2548
+ font-weight: 400;
2549
+ color: ${Colors.BLACK.Hex};
2550
+ line-height: 1.6em;
2551
+ margin-left: 6px;
2552
2552
  `;
2553
2553
  const Radio = (_a) => {
2554
2554
  var { children, disabled, checked, onChange, value, invalid, tooltip, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip", "tabIndex", "dataItemid"]);
@@ -2559,8 +2559,8 @@ const Radio = (_a) => {
2559
2559
  React.createElement(Label, { "data-itemid": `${baseId}-label` },
2560
2560
  children,
2561
2561
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2562
- };
2563
-
2562
+ };
2563
+
2564
2564
  const RadioList = (_a) => {
2565
2565
  var { disabled, onChange, options, value, dataItemid } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value", "dataItemid"]);
2566
2566
  const baseId = dataItemid || 'radio-list';
@@ -2569,69 +2569,69 @@ const RadioList = (_a) => {
2569
2569
  const optionId = `${baseId}-option-${index}`;
2570
2570
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, "data-itemid": optionId, disabled: disabled, key: option.value, onChange: onChange, value: option.value }, accessibleProps), label));
2571
2571
  })));
2572
- };
2573
-
2574
- const StyledTable = styled.table `
2575
- width: 100%;
2576
- margin-top: 1px;
2577
- table-layout: ${props => props.$tableLayout || 'auto'};
2578
- border-collapse: collapse;
2579
- text-indent: 0px;
2580
- border-spacing: 0px;
2581
- border-color: none;
2582
- box-sizing: border-box;
2583
- `;
2584
- const Header = styled.th `
2585
- padding: 12px !important;
2586
- text-align: left;
2587
- font-weight: 500;
2588
- border-bottom: 1px solid #e5e5e5;
2589
- border-top: 1px solid #e5e5e5;
2590
- text-transform: uppercase;
2591
- font-size: 12px;
2592
- font-family: ${FontStyles.DEFAULT};
2593
- letter-spacing: 1px;
2594
- white-space: nowrap;
2595
- line-height: 1;
2596
- position: relative;
2597
- box-sizing: border-box;
2598
- width: ${props => props.$width || 'auto'};
2599
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2600
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2572
+ };
2573
+
2574
+ const StyledTable = styled.table `
2575
+ width: 100%;
2576
+ margin-top: 1px;
2577
+ table-layout: ${props => props.$tableLayout || 'auto'};
2578
+ border-collapse: collapse;
2579
+ text-indent: 0px;
2580
+ border-spacing: 0px;
2581
+ border-color: none;
2582
+ box-sizing: border-box;
2583
+ `;
2584
+ const Header = styled.th `
2585
+ padding: 12px !important;
2586
+ text-align: left;
2587
+ font-weight: 500;
2588
+ border-bottom: 1px solid #e5e5e5;
2589
+ border-top: 1px solid #e5e5e5;
2590
+ text-transform: uppercase;
2591
+ font-size: 12px;
2592
+ font-family: ${FontStyles.DEFAULT};
2593
+ letter-spacing: 1px;
2594
+ white-space: nowrap;
2595
+ line-height: 1;
2596
+ position: relative;
2597
+ box-sizing: border-box;
2598
+ width: ${props => props.$width || 'auto'};
2599
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2600
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2601
2601
  `;
2602
2602
  Header.defaultProps = { theme: EditableTheme };
2603
- const Row = styled.tr `
2604
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2605
- transition: all 0.2s;
2606
- background-color: ${props => props.$bgColor};
2607
- box-sizing: border-box;
2608
- &:hover {
2609
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2610
- }
2603
+ const Row = styled.tr `
2604
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2605
+ transition: all 0.2s;
2606
+ background-color: ${props => props.$bgColor};
2607
+ box-sizing: border-box;
2608
+ &:hover {
2609
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2610
+ }
2611
2611
  `;
2612
2612
  Row.defaultProps = { theme: EditableTheme };
2613
- const Column = styled.td `
2614
- padding: 16px 12px !important;
2615
- font-size: ${FontSizes.DEFAULT} !important;
2616
- font-weight: 400 !important;
2617
- font-family: ${FontStyles.DEFAULT};
2618
- border: none !important;
2619
- word-break: break-word;
2620
- line-height: 1.4em;
2621
- box-sizing: border-box;
2622
- text-align: ${props => props.$align || 'left'};
2623
- width: ${props => props.$width || 'auto'};
2624
- `;
2625
- const IconWrapper = styled.span `
2626
- position: absolute;
2627
- top: 50%;
2628
- transform: translateY(-50%);
2629
- margin-left: 2px;
2630
- `;
2631
- const StyledIcon$1 = styled(Icon) `
2632
- > path {
2633
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2634
- }
2613
+ const Column = styled.td `
2614
+ padding: 16px 12px !important;
2615
+ font-size: ${FontSizes.DEFAULT} !important;
2616
+ font-weight: 400 !important;
2617
+ font-family: ${FontStyles.DEFAULT};
2618
+ border: none !important;
2619
+ word-break: break-word;
2620
+ line-height: 1.4em;
2621
+ box-sizing: border-box;
2622
+ text-align: ${props => props.$align || 'left'};
2623
+ width: ${props => props.$width || 'auto'};
2624
+ `;
2625
+ const IconWrapper = styled.span `
2626
+ position: absolute;
2627
+ top: 50%;
2628
+ transform: translateY(-50%);
2629
+ margin-left: 2px;
2630
+ `;
2631
+ const StyledIcon$1 = styled(Icon) `
2632
+ > path {
2633
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2634
+ }
2635
2635
  `;
2636
2636
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2637
2637
  const Table = (_a) => {
@@ -2653,55 +2653,55 @@ const Table = (_a) => {
2653
2653
  return (React.createElement(Column, { "$align": columns[j].align, "$width": columns[j].width, "data-itemid": `${columnId}-column`, key: j }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2654
2654
  })));
2655
2655
  }))) : null));
2656
- };
2657
-
2658
- const Wrapper$1 = styled.div `
2659
- display: flex;
2660
- box-sizing: border-box;
2661
- align-items: flex-end;
2662
- border-top: 1px solid #e5e5e5;
2663
- border-bottom: 1px solid #e5e5e5;
2664
- flex-shrink: 0;
2665
- align-self: stretch;
2666
- padding: 0;
2667
- margin: 0;
2668
- `;
2669
- const Tab = styled.div `
2670
- display: flex;
2671
- align-items: center;
2672
- gap: 6px;
2673
- font-size: ${FontSizes.DEFAULT};
2674
- font-family: ${FontStyles.DEFAULT};
2675
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2676
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2677
- line-height: 1em;
2678
- padding: 16px 30px 12px;
2679
- margin: 0 0 -1px 0;
2680
- border-bottom-width: 4px;
2681
- border-bottom-style: solid;
2682
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2683
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2684
- box-sizing: border-box;
2685
- &:hover {
2686
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2687
- font-weight: 500;
2688
- }
2656
+ };
2657
+
2658
+ const Wrapper$1 = styled.div `
2659
+ display: flex;
2660
+ box-sizing: border-box;
2661
+ align-items: flex-end;
2662
+ border-top: 1px solid #e5e5e5;
2663
+ border-bottom: 1px solid #e5e5e5;
2664
+ flex-shrink: 0;
2665
+ align-self: stretch;
2666
+ padding: 0;
2667
+ margin: 0;
2668
+ `;
2669
+ const Tab = styled.div `
2670
+ display: flex;
2671
+ align-items: center;
2672
+ gap: 6px;
2673
+ font-size: ${FontSizes.DEFAULT};
2674
+ font-family: ${FontStyles.DEFAULT};
2675
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2676
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2677
+ line-height: 1em;
2678
+ padding: 16px 30px 12px;
2679
+ margin: 0 0 -1px 0;
2680
+ border-bottom-width: 4px;
2681
+ border-bottom-style: solid;
2682
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2683
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2684
+ box-sizing: border-box;
2685
+ &:hover {
2686
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2687
+ font-weight: 500;
2688
+ }
2689
2689
  `;
2690
2690
  Tab.defaultProps = { theme: EditableTheme };
2691
- const Badge = styled.div `
2692
- display: flex;
2693
- width: 18px;
2694
- height: 18px;
2695
- justify-content: center;
2696
- align-items: center;
2697
- border-radius: 9px;
2698
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2699
- color: #fff;
2700
- font-family: ${FontStyles.DEFAULT};
2701
- font-size: 12px;
2702
- font-weight: 500;
2703
- line-height: 1;
2704
- letter-spacing: 1px;
2691
+ const Badge = styled.div `
2692
+ display: flex;
2693
+ width: 18px;
2694
+ height: 18px;
2695
+ justify-content: center;
2696
+ align-items: center;
2697
+ border-radius: 9px;
2698
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2699
+ color: #fff;
2700
+ font-family: ${FontStyles.DEFAULT};
2701
+ font-size: 12px;
2702
+ font-weight: 500;
2703
+ line-height: 1;
2704
+ letter-spacing: 1px;
2705
2705
  `;
2706
2706
  Badge.defaultProps = { theme: EditableTheme };
2707
2707
  const Tabs = (_a) => {
@@ -2715,29 +2715,29 @@ const Tabs = (_a) => {
2715
2715
  label));
2716
2716
  })));
2717
2717
  };
2718
- Tabs.defaultProps = {};
2719
-
2720
- const Track = styled.div `
2721
- height: 24px;
2722
- border-radius: 12px;
2723
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2724
- display: flex;
2725
- align-items: center;
2726
- cursor: pointer;
2727
- width: 40px;
2728
- padding: 2px;
2729
- box-sizing: border-box;
2730
- `;
2731
- const Handle = styled.div `
2732
- width: 20px;
2733
- height: 20px;
2734
- border-radius: 10px;
2735
- background: #ffffff;
2736
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2737
- display: flex;
2738
- align-items: center;
2739
- justify-content: center;
2740
- box-sizing: border-box;
2718
+ Tabs.defaultProps = {};
2719
+
2720
+ const Track = styled.div `
2721
+ height: 24px;
2722
+ border-radius: 12px;
2723
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2724
+ display: flex;
2725
+ align-items: center;
2726
+ cursor: pointer;
2727
+ width: 40px;
2728
+ padding: 2px;
2729
+ box-sizing: border-box;
2730
+ `;
2731
+ const Handle = styled.div `
2732
+ width: 20px;
2733
+ height: 20px;
2734
+ border-radius: 10px;
2735
+ background: #ffffff;
2736
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2737
+ display: flex;
2738
+ align-items: center;
2739
+ justify-content: center;
2740
+ box-sizing: border-box;
2741
2741
  `;
2742
2742
  const Toggle = (_a) => {
2743
2743
  var { onClick, on, dataItemid } = _a, accessibleProps = __rest(_a, ["onClick", "on", "dataItemid"]);
@@ -2747,32 +2747,32 @@ const Toggle = (_a) => {
2747
2747
  React.createElement(Handle, { "$on": on, "data-itemid": `${baseId}-handle` },
2748
2748
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: on ? js.mdiCheck : js.mdiClose, size: '16px' }))));
2749
2749
  };
2750
- Toggle.defaultProps = {};
2751
-
2752
- const Container = styled.div `
2753
- width: 100%;
2754
- padding: 40px auto;
2755
- gap: 20px;
2756
- display: flex;
2757
- flex-direction: column;
2758
- justify-items: center;
2759
- align-items: center;
2760
- `;
2761
- const Wrapper = styled.div `
2762
- gap: 10px;
2763
- display: flex;
2764
- flex-direction: column;
2765
- justify-items: center;
2766
- align-items: center;
2767
- `;
2768
- const StyledIcon = styled.div `
2769
- display: flex;
2770
- align-items: center;
2771
- justify-content: center;
2772
- width: 80px;
2773
- height: 80px;
2774
- border-radius: 40px;
2775
- background: #f5f5f5;
2750
+ Toggle.defaultProps = {};
2751
+
2752
+ const Container = styled.div `
2753
+ width: 100%;
2754
+ padding: 40px auto;
2755
+ gap: 20px;
2756
+ display: flex;
2757
+ flex-direction: column;
2758
+ justify-items: center;
2759
+ align-items: center;
2760
+ `;
2761
+ const Wrapper = styled.div `
2762
+ gap: 10px;
2763
+ display: flex;
2764
+ flex-direction: column;
2765
+ justify-items: center;
2766
+ align-items: center;
2767
+ `;
2768
+ const StyledIcon = styled.div `
2769
+ display: flex;
2770
+ align-items: center;
2771
+ justify-content: center;
2772
+ width: 80px;
2773
+ height: 80px;
2774
+ border-radius: 40px;
2775
+ background: #f5f5f5;
2776
2776
  `;
2777
2777
  const ZeroState = (_a) => {
2778
2778
  var { icon, title, description, action, dataItemid } = _a, accessibleProps = __rest(_a, ["icon", "title", "description", "action", "dataItemid"]);
@@ -2784,54 +2784,54 @@ const ZeroState = (_a) => {
2784
2784
  React.createElement(Heading, { children: title, "data-itemid": `${baseId}-heading`, type: 'tertiary' }),
2785
2785
  description && (React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', "data-itemid": `${baseId}-description`, type: 'default' }))),
2786
2786
  action && (React.createElement(Button, { children: action.children, "data-itemid": `${baseId}-button`, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2787
- };
2788
-
2789
- exports.Accordion = Accordion;
2790
- exports.ActionDialog = ActionDialog;
2791
- exports.Alert = Alert;
2792
- exports.AppHeader = AppHeader;
2793
- exports.AppMenu = AppMenu;
2794
- exports.BulkActionBar = BulkActionBar;
2795
- exports.Button = Button;
2796
- exports.ButtonMenu = ButtonMenu;
2797
- exports.Checkbox = Checkbox;
2798
- exports.Checklist = Checklist;
2799
- exports.Colors = Colors;
2800
- exports.Copy = Copy;
2801
- exports.DatePicker = DatePicker;
2802
- exports.Drawer = Drawer;
2803
- exports.EditableTheme = EditableTheme;
2804
- exports.Field = Field;
2805
- exports.FieldGroup = FieldGroup;
2806
- exports.FileUpload = FileUpload;
2807
- exports.FontSizes = FontSizes;
2808
- exports.FontStyles = FontStyles;
2809
- exports.Heading = Heading;
2810
- exports.Input = Input$1;
2811
- exports.Link = Link;
2812
- exports.Loader = Loader;
2813
- exports.Logo = Logo;
2814
- exports.Modal = Modal;
2815
- exports.MoreMenu = MoreMenu;
2816
- exports.MultiSelect = MultiSelect;
2817
- exports.PageHeader = PageHeader;
2818
- exports.Pagination = Pagination;
2819
- exports.ProgressBar = ProgressBar;
2820
- exports.Radio = Radio;
2821
- exports.RadioList = RadioList;
2822
- exports.Select = Select;
2823
- exports.Table = Table;
2824
- exports.Tabs = Tabs;
2825
- exports.Tag = Tag;
2826
- exports.Toggle = Toggle;
2827
- exports.Tooltip = Tooltip;
2828
- exports.ZeroState = ZeroState;
2829
- exports.formatAsMask = formatAsMask;
2830
- exports.formatAsPhone = formatAsPhone;
2831
- exports.formatAsSsn = formatAsSsn;
2832
- exports.getAgesFromDob = getAgesFromDob;
2833
- exports.getDaysForMonth = getDaysForMonth;
2834
- exports.getYears = getYears;
2835
- exports.validateEmail = validateEmail;
2836
- exports.validatePhone = validatePhone;
2837
- //# sourceMappingURL=index.js.map
2787
+ };
2788
+
2789
+ exports.Accordion = Accordion;
2790
+ exports.ActionDialog = ActionDialog;
2791
+ exports.Alert = Alert;
2792
+ exports.AppHeader = AppHeader;
2793
+ exports.AppMenu = AppMenu;
2794
+ exports.BulkActionBar = BulkActionBar;
2795
+ exports.Button = Button;
2796
+ exports.ButtonMenu = ButtonMenu;
2797
+ exports.Checkbox = Checkbox;
2798
+ exports.Checklist = Checklist;
2799
+ exports.Colors = Colors;
2800
+ exports.Copy = Copy;
2801
+ exports.DatePicker = DatePicker;
2802
+ exports.Drawer = Drawer;
2803
+ exports.EditableTheme = EditableTheme;
2804
+ exports.Field = Field;
2805
+ exports.FieldGroup = FieldGroup;
2806
+ exports.FileUpload = FileUpload;
2807
+ exports.FontSizes = FontSizes;
2808
+ exports.FontStyles = FontStyles;
2809
+ exports.Heading = Heading;
2810
+ exports.Input = Input$1;
2811
+ exports.Link = Link;
2812
+ exports.Loader = Loader;
2813
+ exports.Logo = Logo;
2814
+ exports.Modal = Modal;
2815
+ exports.MoreMenu = MoreMenu;
2816
+ exports.MultiSelect = MultiSelect;
2817
+ exports.PageHeader = PageHeader;
2818
+ exports.Pagination = Pagination;
2819
+ exports.ProgressBar = ProgressBar;
2820
+ exports.Radio = Radio;
2821
+ exports.RadioList = RadioList;
2822
+ exports.Select = Select;
2823
+ exports.Table = Table;
2824
+ exports.Tabs = Tabs;
2825
+ exports.Tag = Tag;
2826
+ exports.Toggle = Toggle;
2827
+ exports.Tooltip = Tooltip;
2828
+ exports.ZeroState = ZeroState;
2829
+ exports.formatAsMask = formatAsMask;
2830
+ exports.formatAsPhone = formatAsPhone;
2831
+ exports.formatAsSsn = formatAsSsn;
2832
+ exports.getAgesFromDob = getAgesFromDob;
2833
+ exports.getDaysForMonth = getDaysForMonth;
2834
+ exports.getYears = getYears;
2835
+ exports.validateEmail = validateEmail;
2836
+ exports.validatePhone = validatePhone;
2837
+ //# sourceMappingURL=index.js.map