@epam/uui 5.8.0 → 5.8.1-beta.0
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/assets/styles/effects.scss +2 -2
- package/assets/styles/inputs.scss +0 -4
- package/components/buttons/Button.d.ts +3 -6
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/IconButton.d.ts +3 -7
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +5 -12
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/buttons/TabButton.d.ts +3 -12
- package/components/buttons/TabButton.d.ts.map +1 -1
- package/components/buttons/VerticalTabButton.d.ts +1 -9
- package/components/buttons/VerticalTabButton.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts +3 -2
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/NumericInput.d.ts +3 -2
- package/components/inputs/NumericInput.d.ts.map +1 -1
- package/components/inputs/RadioInput.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts +3 -2
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts +3 -2
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +3 -2
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +1 -1
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts.map +1 -1
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/MobileDropdownWrapper.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +1 -1
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/pickers/highlight.d.ts +1 -0
- package/components/pickers/highlight.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/utils.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +3 -2
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts +5 -16
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/Tag.d.ts +3 -21
- package/components/widgets/Tag.d.ts.map +1 -1
- package/helpers/textLayout.d.ts.map +1 -1
- package/helpers/useColumnsWithFilters.d.ts +1 -1
- package/helpers/useColumnsWithFilters.d.ts.map +1 -1
- package/icons/icons.d.ts +1 -0
- package/icons/icons.d.ts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +346 -245
- package/index.esm.js.map +1 -1
- package/index.js +345 -243
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +193 -0
- package/settings.d.ts.map +1 -0
- package/stats.html +1 -1
- package/styles.css +2954 -3556
- package/styles.css.map +1 -1
package/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as uuiComponents from '@epam/uui-components';
|
|
2
|
-
import { Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, Anchor as Anchor$1, FlexRow as FlexRow$1, FlexSpacer, Text as Text$1, FlexCell as FlexCell$1, VPanel, ScrollBars as ScrollBars$1, AvatarStack as AvatarStack$1, Spinner as Spinner$1, Paginator as Paginator$1, DragHandle, Blocker as Blocker$1, PickerBodyBase, DataPickerRow as DataPickerRow$1, Avatar, usePickerModal, handleDataSourceKeyboard, PickerToggler as PickerToggler$1, usePickerInput, usePickerList, Calendar as Calendar$1, YearSelection, MonthSelection, AdaptivePanel, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Snackbar as Snackbar$1, InputAddon as InputAddon$1, Slider as Slider$1, CalendarPresets as CalendarPresets$1, Day, uuiDaySelection, DataTableCell as DataTableCell$1, DataTableRow as DataTableRow$1, DataTableHeaderCell as DataTableHeaderCell$1, DataTableHeaderRow as DataTableHeaderRow$1, useColumnsConfiguration, Accordion as Accordion$1, DataTableSelectionProvider, DataTableFocusProvider, Burger as Burger$1, Button as Button$1, DropSpot as DropSpot$1, UploadFileToggler, ErrorCatch } from '@epam/uui-components';
|
|
2
|
+
import { Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, Anchor as Anchor$1, FlexRow as FlexRow$1, FlexSpacer, getHtmlDir, Text as Text$1, FlexCell as FlexCell$1, VPanel, ScrollBars as ScrollBars$1, AvatarStack as AvatarStack$1, Spinner as Spinner$1, Paginator as Paginator$1, DragHandle, Blocker as Blocker$1, PickerBodyBase, DataPickerRow as DataPickerRow$1, Avatar, usePickerModal, handleDataSourceKeyboard, PickerToggler as PickerToggler$1, usePickerInput, usePickerList, Calendar as Calendar$1, YearSelection, MonthSelection, AdaptivePanel, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Snackbar as Snackbar$1, InputAddon as InputAddon$1, Slider as Slider$1, CalendarPresets as CalendarPresets$1, Day, uuiDaySelection, DataTableCell as DataTableCell$1, DataTableRow as DataTableRow$1, DataTableHeaderCell as DataTableHeaderCell$1, DataTableHeaderRow as DataTableHeaderRow$1, useColumnsConfiguration, Accordion as Accordion$1, DataTableSelectionProvider, DataTableFocusProvider, Burger as Burger$1, Button as Button$1, DropSpot as DropSpot$1, UploadFileToggler, ErrorCatch } from '@epam/uui-components';
|
|
3
3
|
export { Avatar, FlexSpacer, IconContainer } from '@epam/uui-components';
|
|
4
4
|
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, UuiContext, uuiMod, directionMode, useVirtualList, useScrollShadows, i18n as i18n$1, Lens, isMobile, usePrevious, useUuiContext, useForceUpdate, getSeparatedValue, useArrayDataSource, orderBy, getOrderBetween, isFocusReceiverInsideFocusLock, mobilePopperModifier, uuiDataTableHeaderCell, DndActor, useColumnsConfig, uuiScrollShadows, Form as Form$1, useForm as useForm$1, formatBytes, useUuiError } from '@epam/uui-core';
|
|
5
5
|
import * as React from 'react';
|
|
@@ -281,16 +281,187 @@ const systemIcons = {
|
|
|
281
281
|
info: ForwardRef$L,
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
-
|
|
284
|
+
const settings = {
|
|
285
|
+
sizes: {
|
|
286
|
+
defaults: {
|
|
287
|
+
button: '36',
|
|
288
|
+
checkbox: '18',
|
|
289
|
+
countIndicator: '24',
|
|
290
|
+
dataPickerCell: '36',
|
|
291
|
+
linkButton: '36',
|
|
292
|
+
numericInput: '36',
|
|
293
|
+
pickerToggler: '36',
|
|
294
|
+
pickerItem: '36',
|
|
295
|
+
radioInput: '18',
|
|
296
|
+
switch: '18',
|
|
297
|
+
tabButton: '48',
|
|
298
|
+
tag: '36',
|
|
299
|
+
text: '36',
|
|
300
|
+
textInput: '36',
|
|
301
|
+
rangeDatePicker: '36',
|
|
302
|
+
datePicker: '36',
|
|
303
|
+
},
|
|
304
|
+
tag: {
|
|
305
|
+
countIndicator: {
|
|
306
|
+
18: '12',
|
|
307
|
+
24: '18',
|
|
308
|
+
30: '18',
|
|
309
|
+
36: '18',
|
|
310
|
+
42: '24',
|
|
311
|
+
48: '24',
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
mobileDropdownWrapper: {
|
|
315
|
+
linkButton: '48',
|
|
316
|
+
},
|
|
317
|
+
pickerInput: {
|
|
318
|
+
height: 300,
|
|
319
|
+
width: 360,
|
|
320
|
+
rowSize: {
|
|
321
|
+
mobile: '48',
|
|
322
|
+
modal: '36',
|
|
323
|
+
padding: {
|
|
324
|
+
modal: '24',
|
|
325
|
+
default: '12',
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
pickerToggler: {
|
|
330
|
+
tag: {
|
|
331
|
+
24: '18',
|
|
332
|
+
30: '24',
|
|
333
|
+
36: '30',
|
|
334
|
+
42: '36',
|
|
335
|
+
48: '42',
|
|
336
|
+
60: '48',
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
dataPickerHeader: {
|
|
340
|
+
text: {
|
|
341
|
+
fontWeight: '600',
|
|
342
|
+
size: '48',
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
dataPickerBody: {
|
|
346
|
+
flexCell: {
|
|
347
|
+
default: '36',
|
|
348
|
+
},
|
|
349
|
+
searchInput: {
|
|
350
|
+
mobile: '48',
|
|
351
|
+
},
|
|
352
|
+
},
|
|
353
|
+
pickerItem: {
|
|
354
|
+
avatar: {
|
|
355
|
+
rest: {
|
|
356
|
+
24: '18',
|
|
357
|
+
30: '24',
|
|
358
|
+
36: '30',
|
|
359
|
+
42: '36',
|
|
360
|
+
48: '36', // no design
|
|
361
|
+
},
|
|
362
|
+
multiline: {
|
|
363
|
+
24: '30',
|
|
364
|
+
30: '30',
|
|
365
|
+
36: '36',
|
|
366
|
+
42: '42',
|
|
367
|
+
48: '48', // no design
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
dataPickerCell: {
|
|
372
|
+
isBoldIcon: {
|
|
373
|
+
24: true,
|
|
374
|
+
},
|
|
375
|
+
padding: {
|
|
376
|
+
default: '12',
|
|
377
|
+
},
|
|
378
|
+
paddingLeft: {
|
|
379
|
+
default: '24',
|
|
380
|
+
},
|
|
381
|
+
text: {
|
|
382
|
+
24: '24',
|
|
383
|
+
30: '30',
|
|
384
|
+
36: '36',
|
|
385
|
+
42: '42',
|
|
386
|
+
48: '48',
|
|
387
|
+
60: '48',
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
dataPickerRow: {
|
|
391
|
+
padding: {
|
|
392
|
+
default: '24',
|
|
393
|
+
},
|
|
394
|
+
dataPickerCell: {
|
|
395
|
+
default: '36',
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
dataPickerFooter: {
|
|
399
|
+
flexRowPadding: '12',
|
|
400
|
+
switch: {
|
|
401
|
+
24: '12',
|
|
402
|
+
30: '18',
|
|
403
|
+
36: '18',
|
|
404
|
+
42: '24',
|
|
405
|
+
48: '24',
|
|
406
|
+
},
|
|
407
|
+
linkButton: {
|
|
408
|
+
24: '12',
|
|
409
|
+
30: '18',
|
|
410
|
+
36: '18',
|
|
411
|
+
42: '24',
|
|
412
|
+
48: '24',
|
|
413
|
+
mobile: '48',
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
rowAddons: {
|
|
417
|
+
checkbox: {
|
|
418
|
+
24: '12',
|
|
419
|
+
30: '18',
|
|
420
|
+
36: '18',
|
|
421
|
+
42: '18',
|
|
422
|
+
48: '18',
|
|
423
|
+
60: '18',
|
|
424
|
+
},
|
|
425
|
+
indentUnit: {
|
|
426
|
+
24: 6,
|
|
427
|
+
30: 12,
|
|
428
|
+
36: 12,
|
|
429
|
+
42: 24,
|
|
430
|
+
48: 24,
|
|
431
|
+
60: 24,
|
|
432
|
+
default: 24,
|
|
433
|
+
},
|
|
434
|
+
indentWidth: {
|
|
435
|
+
24: 12,
|
|
436
|
+
30: 18,
|
|
437
|
+
36: 18,
|
|
438
|
+
42: 24,
|
|
439
|
+
48: 24,
|
|
440
|
+
60: 24,
|
|
441
|
+
default: 12,
|
|
442
|
+
},
|
|
443
|
+
},
|
|
444
|
+
text: {
|
|
445
|
+
18: { lineHeight: 12, fontSize: 10 },
|
|
446
|
+
24: { lineHeight: 18, fontSize: 12 },
|
|
447
|
+
30: { lineHeight: 18, fontSize: 14 },
|
|
448
|
+
36: { lineHeight: 18, fontSize: 14 },
|
|
449
|
+
42: { lineHeight: 24, fontSize: 16 },
|
|
450
|
+
48: { lineHeight: 24, fontSize: 16 },
|
|
451
|
+
60: { lineHeight: 30, fontSize: 24 },
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
var css$1s = {"uui-typography":"vAOb-p","hero-header":"n9Pi6L","promo-header":"-axDU2","uui-critical":"-JHG1y","uui-info":"sYlNWa","uui-success":"lV1AFN","uui-warning":"FTq9Mi","uui-highlight":"_0DO176","uui-typography-size-12":"f1hI1l","uui-typography-size-14":"nNf9R8","uui-typography-size-16":"_0JBPoc","root":"YrD6ge","uuiTypography":"vAOb-p","heroHeader":"n9Pi6L","promoHeader":"-axDU2","uuiCritical":"-JHG1y","uuiInfo":"sYlNWa","uuiSuccess":"lV1AFN","uuiWarning":"FTq9Mi","uuiHighlight":"_0DO176","uuiTypographySize12":"f1hI1l","uuiTypographySize14":"nNf9R8","uuiTypographySize16":"_0JBPoc"};
|
|
285
457
|
|
|
286
|
-
const DEFAULT_SIZE$8 = '36';
|
|
287
458
|
function applyButtonMods(mods) {
|
|
288
459
|
return [
|
|
289
460
|
css$1s.root,
|
|
290
461
|
'uui-button',
|
|
291
462
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
292
463
|
`uui-color-${mods.color || 'primary'}`,
|
|
293
|
-
`uui-size-${mods.size ||
|
|
464
|
+
`uui-size-${mods.size || settings.sizes.defaults.button}`,
|
|
294
465
|
];
|
|
295
466
|
}
|
|
296
467
|
const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, () => {
|
|
@@ -300,7 +471,7 @@ const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, ()
|
|
|
300
471
|
};
|
|
301
472
|
});
|
|
302
473
|
|
|
303
|
-
var css$1r = {"root":"
|
|
474
|
+
var css$1r = {"root":"erRxEF"};
|
|
304
475
|
|
|
305
476
|
function applyIconButtonMods(props) {
|
|
306
477
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
|
|
@@ -317,7 +488,6 @@ const IconButton = /* @__PURE__ */withMods(uuiComponents.IconButton, applyIconBu
|
|
|
317
488
|
}
|
|
318
489
|
return {
|
|
319
490
|
dropdownIcon: props.dropdownIcon || systemIcons.foldingArrow,
|
|
320
|
-
size: props.size && Number(props.size),
|
|
321
491
|
};
|
|
322
492
|
});
|
|
323
493
|
|
|
@@ -338,15 +508,14 @@ function getIconClass(props) {
|
|
|
338
508
|
return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
|
|
339
509
|
}
|
|
340
510
|
|
|
341
|
-
var css$1q = {"uui-typography":"
|
|
511
|
+
var css$1q = {"uui-typography":"FQQ-bo","hero-header":"_4hhhCS","promo-header":"iC4ZI5","uui-critical":"M34YP-","uui-info":"PnZips","uui-success":"hO5k6z","uui-warning":"zib473","uui-highlight":"R1CVfM","uui-typography-size-12":"lh-v3b","uui-typography-size-14":"_1mN75V","uui-typography-size-16":"CY6CqE","root":"Z0R-il","uuiTypography":"FQQ-bo","heroHeader":"_4hhhCS","promoHeader":"iC4ZI5","uuiCritical":"M34YP-","uuiInfo":"PnZips","uuiSuccess":"hO5k6z","uuiWarning":"zib473","uuiHighlight":"R1CVfM","uuiTypographySize12":"lh-v3b","uuiTypographySize14":"_1mN75V","uuiTypographySize16":"CY6CqE"};
|
|
342
512
|
|
|
343
|
-
const DEFAULT_SIZE$7 = '36';
|
|
344
513
|
const DEFAULT_COLOR = 'primary';
|
|
345
514
|
function applyLinkButtonMods(mods) {
|
|
346
515
|
return [
|
|
347
516
|
'uui-link_button',
|
|
348
517
|
css$1q.root,
|
|
349
|
-
`uui-size-${mods.size ||
|
|
518
|
+
`uui-size-${mods.size || settings.sizes.defaults.linkButton}`,
|
|
350
519
|
...getIconClass(mods),
|
|
351
520
|
`uui-color-${mods.color || DEFAULT_COLOR}`,
|
|
352
521
|
];
|
|
@@ -370,25 +539,25 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
370
539
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
371
540
|
});
|
|
372
541
|
|
|
373
|
-
var css$1p = {"root":"
|
|
542
|
+
var css$1p = {"root":"cIXEL0"};
|
|
374
543
|
|
|
375
544
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
376
545
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
377
546
|
css$1p.root,
|
|
378
547
|
'uui-count_indicator',
|
|
379
|
-
|
|
548
|
+
`uui-size-${props.size || settings.sizes.defaults.countIndicator}`,
|
|
380
549
|
props.color && `uui-color-${props.color}`,
|
|
381
550
|
props.cx,
|
|
382
551
|
]) }, props.caption));
|
|
383
552
|
});
|
|
384
553
|
|
|
385
|
-
var css$1o = {"uui-typography":"
|
|
554
|
+
var css$1o = {"uui-typography":"gKynmo","hero-header":"Eo1Aaj","promo-header":"_2fWei2","uui-critical":"Oy2eHQ","uui-info":"ekNTAP","uui-success":"_5UCsCz","uui-warning":"Q0wlqo","uui-highlight":"khNLru","uui-typography-size-12":"Plls7n","uui-typography-size-14":"e-rQdI","uui-typography-size-16":"_1PSB-0","root":"_85ALOF","withNotify":"s-lvfM","uuiTypography":"gKynmo","heroHeader":"Eo1Aaj","promoHeader":"_2fWei2","uuiCritical":"Oy2eHQ","uuiInfo":"ekNTAP","uuiSuccess":"_5UCsCz","uuiWarning":"Q0wlqo","uuiHighlight":"khNLru","uuiTypographySize12":"Plls7n","uuiTypographySize14":"e-rQdI","uuiTypographySize16":"_1PSB-0"};
|
|
386
555
|
|
|
387
556
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
388
557
|
const styles = [
|
|
389
558
|
css$1o.root,
|
|
390
559
|
'uui-tab-button',
|
|
391
|
-
|
|
560
|
+
`uui-size-${props.size || settings.sizes.defaults.tabButton}`,
|
|
392
561
|
props.withNotify && css$1o.withNotify,
|
|
393
562
|
...getIconClass(props),
|
|
394
563
|
props.cx,
|
|
@@ -397,14 +566,14 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
397
566
|
const ClearIcon = props.clearIcon ? props.clearIcon : systemIcons.clear;
|
|
398
567
|
return (React__default.createElement(Clickable, Object.assign({}, props, { rawProps: Object.assign({ role: 'tab', 'aria-haspopup': props.isDropdown, 'aria-expanded': props.isOpen }, props.rawProps), cx: styles, ref: ref }),
|
|
399
568
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
400
|
-
props.caption && (React__default.createElement("div", { className: cx$1(uuiElement.caption
|
|
569
|
+
props.caption && (React__default.createElement("div", { className: cx$1(uuiElement.caption) }, props.caption)),
|
|
401
570
|
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: props.isLinkActive ? 'info' : 'neutral', size: "18", caption: props.count })),
|
|
402
571
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
403
572
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
404
573
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
405
574
|
});
|
|
406
575
|
|
|
407
|
-
var css$1n = {"uui-typography":"
|
|
576
|
+
var css$1n = {"uui-typography":"gZu7nm","hero-header":"_0u1NDl","promo-header":"nUTjnP","uui-critical":"VvvP6u","uui-info":"b3XT58","uui-success":"i5u-Yq","uui-warning":"czWgUI","uui-highlight":"fEWCYB","uui-typography-size-12":"Hp57uL","uui-typography-size-14":"vrmi34","uui-typography-size-16":"EQuPOA","root":"_86miAd","uuiTypography":"gZu7nm","heroHeader":"_0u1NDl","promoHeader":"nUTjnP","uuiCritical":"VvvP6u","uuiInfo":"b3XT58","uuiSuccess":"i5u-Yq","uuiWarning":"czWgUI","uuiHighlight":"fEWCYB","uuiTypographySize12":"Hp57uL","uuiTypographySize14":"vrmi34","uuiTypographySize16":"EQuPOA"};
|
|
408
577
|
|
|
409
578
|
function applyVerticalTabButtonMods() {
|
|
410
579
|
return [css$1n.root];
|
|
@@ -426,12 +595,12 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
426
595
|
};
|
|
427
596
|
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
428
597
|
|
|
429
|
-
var css$1m = {"uui-typography":"
|
|
598
|
+
var css$1m = {"uui-typography":"OuOUFa","hero-header":"QHniUa","promo-header":"nnQ5CS","uui-critical":"_6Z-xa-","uui-info":"oofXGe","uui-success":"DqtQer","uui-warning":"_9Tv1jD","uui-highlight":"mrNHPj","uui-typography-size-12":"DnWgDu","uui-typography-size-14":"fRDSzu","uui-typography-size-16":"gYUj09","root":"hf-Nez","mode-cell":"IigCnI","uuiTypography":"OuOUFa","heroHeader":"QHniUa","promoHeader":"nnQ5CS","uuiCritical":"_6Z-xa-","uuiInfo":"oofXGe","uuiSuccess":"DqtQer","uuiWarning":"_9Tv1jD","uuiHighlight":"mrNHPj","uuiTypographySize12":"DnWgDu","uuiTypographySize14":"fRDSzu","uuiTypographySize16":"gYUj09","modeCell":"IigCnI"};
|
|
430
599
|
|
|
431
600
|
function applyCheckboxMods(mods) {
|
|
432
601
|
return [
|
|
433
602
|
css$1m.root,
|
|
434
|
-
|
|
603
|
+
`uui-size-${mods.size || settings.sizes.defaults.checkbox}`,
|
|
435
604
|
css$1m['mode-' + (mods.mode || 'form')],
|
|
436
605
|
'uui-color-primary',
|
|
437
606
|
];
|
|
@@ -446,8 +615,6 @@ const applyUUICheckboxProps = (props) => {
|
|
|
446
615
|
};
|
|
447
616
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
448
617
|
|
|
449
|
-
var css$1l = {"uui-typography":"b1WMTS","hero-header":"Fc8yKt","promo-header":"GwkWag","uui-critical":"_3PLlC3","uui-info":"_9H1dTX","uui-success":"wkHT9b","uui-warning":"v6KJqF","uui-highlight":"-qrBvu","uui-typography-size-12":"Lf2uj0","uui-typography-size-14":"dQKq3C","uui-typography-size-16":"n1SbYe","root":"akWS9J","size-18":"_6nHQhL","size-12":"GSu0YG","uuiTypography":"b1WMTS","heroHeader":"Fc8yKt","promoHeader":"GwkWag","uuiCritical":"_3PLlC3","uuiInfo":"_9H1dTX","uuiSuccess":"wkHT9b","uuiWarning":"v6KJqF","uuiHighlight":"-qrBvu","uuiTypographySize12":"Lf2uj0","uuiTypographySize14":"dQKq3C","uuiTypographySize16":"n1SbYe","size18":"_6nHQhL","size12":"GSu0YG"};
|
|
450
|
-
|
|
451
618
|
var _path$A;
|
|
452
619
|
function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
453
620
|
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
@@ -463,21 +630,25 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
463
630
|
};
|
|
464
631
|
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
465
632
|
|
|
633
|
+
var css$1l = {"uui-typography":"YSDnC6","hero-header":"pRufus","promo-header":"jYZL8c","uui-critical":"GL6mM7","uui-info":"BHFIB9","uui-success":"RYeA-q","uui-warning":"rU-sdn","uui-highlight":"AVs1B4","uui-typography-size-12":"VpR1-6","uui-typography-size-14":"JQi8Eu","uui-typography-size-16":"hBfjC3","root":"sMicyC","uuiTypography":"YSDnC6","heroHeader":"pRufus","promoHeader":"jYZL8c","uuiCritical":"GL6mM7","uuiInfo":"BHFIB9","uuiSuccess":"RYeA-q","uuiWarning":"rU-sdn","uuiHighlight":"AVs1B4","uuiTypographySize12":"VpR1-6","uuiTypographySize14":"JQi8Eu","uuiTypographySize16":"hBfjC3"};
|
|
634
|
+
|
|
466
635
|
function applyRadioInputMods(mods) {
|
|
467
636
|
return [
|
|
468
637
|
css$1l.root,
|
|
469
|
-
|
|
638
|
+
`uui-size-${mods.size || settings.sizes.defaults.radioInput}`,
|
|
470
639
|
'uui-radio-input-container',
|
|
471
640
|
'uui-color-primary',
|
|
472
641
|
];
|
|
473
642
|
}
|
|
474
643
|
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$A }));
|
|
475
644
|
|
|
476
|
-
var css$1k = {"root":"
|
|
645
|
+
var css$1k = {"root":"GBwivt"};
|
|
477
646
|
|
|
478
647
|
function applySwitchMods(mods) {
|
|
479
648
|
return [
|
|
480
|
-
css$1k.root,
|
|
649
|
+
css$1k.root,
|
|
650
|
+
`uui-size-${mods.size || settings.sizes.defaults.switch}`,
|
|
651
|
+
'uui-color-primary',
|
|
481
652
|
];
|
|
482
653
|
}
|
|
483
654
|
const Switch = /* @__PURE__ */withMods(uuiComponents.Switch, applySwitchMods);
|
|
@@ -539,14 +710,13 @@ var EditMode;
|
|
|
539
710
|
EditMode["INLINE"] = "inline";
|
|
540
711
|
})(EditMode || (EditMode = {}));
|
|
541
712
|
|
|
542
|
-
var textInputCss = {"uui-typography":"
|
|
713
|
+
var textInputCss = {"uui-typography":"bwTROp","hero-header":"CPcU8h","promo-header":"kJTuvl","uui-critical":"_833VaA","uui-info":"ok6LUr","uui-success":"_8khVzP","uui-warning":"vPDu6c","uui-highlight":"UccU9Z","uui-typography-size-12":"_5hkdTC","uui-typography-size-14":"sX5mVq","uui-typography-size-16":"_42WpRI","root":"-JPIqp","mode-form":"uRWLV0","mode-inline":"kVlbh3","mode-cell":"ARJ-2d","uuiTypography":"bwTROp","heroHeader":"CPcU8h","promoHeader":"kJTuvl","uuiCritical":"_833VaA","uuiInfo":"ok6LUr","uuiSuccess":"_8khVzP","uuiWarning":"vPDu6c","uuiHighlight":"UccU9Z","uuiTypographySize12":"_5hkdTC","uuiTypographySize14":"sX5mVq","uuiTypographySize16":"_42WpRI","modeForm":"uRWLV0","modeInline":"kVlbh3","modeCell":"ARJ-2d"};
|
|
543
714
|
|
|
544
|
-
const DEFAULT_SIZE$6 = '36';
|
|
545
715
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
546
716
|
function applyTextInputMods(mods) {
|
|
547
717
|
return [
|
|
548
718
|
textInputCss.root,
|
|
549
|
-
|
|
719
|
+
`uui-size-${mods.size || settings.sizes.defaults.textInput}`,
|
|
550
720
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$3)],
|
|
551
721
|
];
|
|
552
722
|
}
|
|
@@ -566,7 +736,7 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
566
736
|
} })));
|
|
567
737
|
});
|
|
568
738
|
|
|
569
|
-
var css$1j = {"root":"
|
|
739
|
+
var css$1j = {"root":"_3-rR-7"};
|
|
570
740
|
|
|
571
741
|
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1j.root]);
|
|
572
742
|
|
|
@@ -575,16 +745,14 @@ function MultiSwitchComponent(props, ref) {
|
|
|
575
745
|
}
|
|
576
746
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
577
747
|
|
|
578
|
-
var css$1i = {"uui-typography":"
|
|
748
|
+
var css$1i = {"uui-typography":"_2LNriT","hero-header":"VkEZFy","promo-header":"vY-3mS","uui-critical":"_7hh16q","uui-info":"scpgd5","uui-success":"JHdYef","uui-warning":"_8w0o1b","uui-highlight":"dOpPpc","uui-typography-size-12":"S-e5GO","uui-typography-size-14":"UzhCRd","uui-typography-size-16":"j3NlXv","root":"YFB4WT","mode-form":"CEBfis","mode-cell":"La9bKd","uuiTypography":"_2LNriT","heroHeader":"VkEZFy","promoHeader":"vY-3mS","uuiCritical":"_7hh16q","uuiInfo":"scpgd5","uuiSuccess":"JHdYef","uuiWarning":"_8w0o1b","uuiHighlight":"dOpPpc","uuiTypographySize12":"S-e5GO","uuiTypographySize14":"UzhCRd","uuiTypographySize16":"j3NlXv","modeForm":"CEBfis","modeCell":"La9bKd"};
|
|
579
749
|
|
|
580
|
-
const DEFAULT_SIZE$5 = '36';
|
|
581
750
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
582
751
|
function applyNumericInputMods(mods) {
|
|
583
752
|
return [
|
|
584
753
|
textInputCss.root,
|
|
585
754
|
css$1i.root,
|
|
586
|
-
|
|
587
|
-
textInputCss['size-' + (mods.size || DEFAULT_SIZE$5)],
|
|
755
|
+
`uui-size-${mods.size || settings.sizes.defaults.numericInput}`,
|
|
588
756
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
589
757
|
];
|
|
590
758
|
}
|
|
@@ -598,14 +766,14 @@ const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMo
|
|
|
598
766
|
};
|
|
599
767
|
});
|
|
600
768
|
|
|
601
|
-
var css$1h = {"uui-typography":"
|
|
769
|
+
var css$1h = {"uui-typography":"_69fblh","hero-header":"WmCryB","promo-header":"vNKjs0","uui-critical":"bJX1lr","uui-info":"yTVSFj","uui-success":"SJYMiv","uui-warning":"hPe7SM","uui-highlight":"l7kqmV","uui-typography-size-12":"wo8Udy","uui-typography-size-14":"EO7HeH","uui-typography-size-16":"oOv4m0","root":"RK9bPF","mode-form":"rDVIPS","mode-cell":"L0Ke9Y","mode-inline":"YdH-3n","size-24":"xIvvY9","size-30":"ujcL3-","size-36":"oSD-9m","size-42":"_0kWp0b","size-48":"-gFaO8","uuiTypography":"_69fblh","heroHeader":"WmCryB","promoHeader":"vNKjs0","uuiCritical":"bJX1lr","uuiInfo":"yTVSFj","uuiSuccess":"SJYMiv","uuiWarning":"hPe7SM","uuiHighlight":"l7kqmV","uuiTypographySize12":"wo8Udy","uuiTypographySize14":"EO7HeH","uuiTypographySize16":"oOv4m0","modeForm":"rDVIPS","modeCell":"L0Ke9Y","modeInline":"YdH-3n","size24":"xIvvY9","size30":"ujcL3-","size36":"oSD-9m","size42":"_0kWp0b","size48":"-gFaO8"};
|
|
602
770
|
|
|
603
|
-
const DEFAULT_SIZE$
|
|
771
|
+
const DEFAULT_SIZE$3 = '36';
|
|
604
772
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
605
773
|
function applyTextAreaMods(mods) {
|
|
606
774
|
return [
|
|
607
775
|
css$1h.root,
|
|
608
|
-
css$1h['size-' + (mods.size || DEFAULT_SIZE$
|
|
776
|
+
css$1h['size-' + (mods.size || DEFAULT_SIZE$3)],
|
|
609
777
|
css$1h['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
610
778
|
];
|
|
611
779
|
}
|
|
@@ -700,7 +868,7 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
700
868
|
};
|
|
701
869
|
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
702
870
|
|
|
703
|
-
var css$1g = {"uui-typography":"
|
|
871
|
+
var css$1g = {"uui-typography":"Auz4dr","hero-header":"K31cUB","promo-header":"zidd01","uui-critical":"uCVhgr","uui-info":"quHY-t","uui-success":"r0yY2x","uui-warning":"BlcLnz","uui-highlight":"_4We4D6","uui-typography-size-12":"_2hxRxC","uui-typography-size-14":"zY-Vve","uui-typography-size-16":"_2hlZtd","root":"tGw7Fa","icon-wrapper":"aWNsmN","alert-wrapper":"e3Q8b0","size-48":"_83uooS","size-36":"CbZuxM","action-wrapper":"kC9gDp","action-icon":"oXJIDO","action-link":"aVWBEM","close-icon":"_30tSa7","main-path":"f1XhNV","content":"Lcxft9","uuiTypography":"Auz4dr","heroHeader":"K31cUB","promoHeader":"zidd01","uuiCritical":"uCVhgr","uuiInfo":"quHY-t","uuiSuccess":"r0yY2x","uuiWarning":"BlcLnz","uuiHighlight":"_4We4D6","uuiTypographySize12":"_2hxRxC","uuiTypographySize14":"zY-Vve","uuiTypographySize16":"_2hlZtd","iconWrapper":"aWNsmN","alertWrapper":"e3Q8b0","size48":"_83uooS","size36":"CbZuxM","actionWrapper":"kC9gDp","actionIcon":"oXJIDO","actionLink":"aVWBEM","closeIcon":"_30tSa7","mainPath":"f1XhNV"};
|
|
704
872
|
|
|
705
873
|
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx('uui-alert', css$1g.root, css$1g.alertWrapper, props.color && `uui-color-${props.color}`, props.cx, (props.size === '36' ? css$1g.size36 : css$1g.size48)) }, props.rawProps),
|
|
706
874
|
React.createElement("div", { className: css$1g.mainPath },
|
|
@@ -717,7 +885,7 @@ const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createE
|
|
|
717
885
|
|
|
718
886
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
719
887
|
|
|
720
|
-
var css$1f = {"root":"
|
|
888
|
+
var css$1f = {"root":"m49Jpy"};
|
|
721
889
|
|
|
722
890
|
function applyDropdownContainerMods(mods) {
|
|
723
891
|
return [
|
|
@@ -728,7 +896,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
728
896
|
}
|
|
729
897
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
730
898
|
|
|
731
|
-
var css$1e = {"uui-typography":"
|
|
899
|
+
var css$1e = {"uui-typography":"cVl9gI","hero-header":"S2h-qF","promo-header":"WLhirG","uui-critical":"eRhO-X","uui-info":"at7iwm","uui-success":"_7Tm5nJ","uui-warning":"_8xJPoJ","uui-highlight":"kPbAmZ","uui-typography-size-12":"cWkQD8","uui-typography-size-14":"mRlW9O","uui-typography-size-16":"DU86t-","submenu-root-item":"L-M3cL","icon-after":"xcxQTg","icon-check":"qL7rkm","splitter-root":"MlN3q8","splitter":"EM0Flq","header-root":"J6FAgg","item-root":"Y6Jfsp","icon":"rR0e-r","link":"sJrvwy","indent":"UoUboJ","selected-mark":"_8sIKqz","uuiTypography":"cVl9gI","heroHeader":"S2h-qF","promoHeader":"WLhirG","uuiCritical":"eRhO-X","uuiInfo":"at7iwm","uuiSuccess":"_7Tm5nJ","uuiWarning":"_8xJPoJ","uuiHighlight":"kPbAmZ","uuiTypographySize12":"cWkQD8","uuiTypographySize14":"mRlW9O","uuiTypographySize16":"DU86t-","submenuRootItem":"L-M3cL","iconAfter":"xcxQTg","iconCheck":"qL7rkm","splitterRoot":"MlN3q8","headerRoot":"J6FAgg","itemRoot":"Y6Jfsp","selectedMark":"_8sIKqz"};
|
|
732
900
|
|
|
733
901
|
var IDropdownControlKeys;
|
|
734
902
|
(function (IDropdownControlKeys) {
|
|
@@ -833,7 +1001,8 @@ function DropdownSubMenu(props) {
|
|
|
833
1001
|
},
|
|
834
1002
|
},
|
|
835
1003
|
];
|
|
836
|
-
|
|
1004
|
+
const dir = getHtmlDir();
|
|
1005
|
+
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: dir === 'rtl' ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => React__default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps)), renderTarget: (_a) => {
|
|
837
1006
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
838
1007
|
return (React__default.createElement(DropdownMenuButton, Object.assign({ cx: cx$1(css$1e.submenuRootItem), icon: systemIcons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
839
1008
|
} }));
|
|
@@ -859,7 +1028,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
859
1028
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
860
1029
|
}
|
|
861
1030
|
|
|
862
|
-
var css$1d = {"uui-typography":"
|
|
1031
|
+
var css$1d = {"uui-typography":"UlhQNR","hero-header":"XX-4D1","promo-header":"snBhOY","uui-critical":"K8-4-S","uui-info":"MnaAl9","uui-success":"dQUwcf","uui-warning":"SM26uI","uui-highlight":"_48ToW-","uui-typography-size-12":"MPUziX","uui-typography-size-14":"hlworM","uui-typography-size-16":"SFd88x","root":"sqPncl","mode-block":"zoFdDA","mode-inline":"cMa4Wu","padding-0":"-n33x7","padding-6":"Fn1zBQ","padding-12":"_08tweQ","padding-18":"XqC-DB","uuiTypography":"UlhQNR","heroHeader":"XX-4D1","promoHeader":"snBhOY","uuiCritical":"K8-4-S","uuiInfo":"MnaAl9","uuiSuccess":"dQUwcf","uuiWarning":"SM26uI","uuiHighlight":"_48ToW-","uuiTypographySize12":"MPUziX","uuiTypographySize14":"hlworM","uuiTypographySize16":"SFd88x","modeBlock":"zoFdDA","modeInline":"cMa4Wu","padding0":"-n33x7","padding6":"Fn1zBQ","padding12":"_08tweQ","padding18":"XqC-DB"};
|
|
863
1032
|
|
|
864
1033
|
const getMode = (mode) => {
|
|
865
1034
|
return mode || 'block';
|
|
@@ -875,7 +1044,7 @@ const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordio
|
|
|
875
1044
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
876
1045
|
}));
|
|
877
1046
|
|
|
878
|
-
var css$1c = {"uui-typography":"
|
|
1047
|
+
var css$1c = {"uui-typography":"qVXjrw","hero-header":"_5kB1Rz","promo-header":"jMLhfC","uui-critical":"eglxlB","uui-info":"SCeWIM","uui-success":"PkWZg8","uui-warning":"BNJT-f","uui-highlight":"-TMBYL","uui-typography-size-12":"mXtXIS","uui-typography-size-14":"mYO9Ai","uui-typography-size-16":"xmkiWU","root":"hgLLgb","border-top":"bGRYTz","border-bottom":"yQXHTO","top-shadow":"WKJVHy","size-24":"_5vpcFL","size-30":"iL4a65","size-36":"R4EF8O","size-42":"mQDXl0","size-48":"_0qpK1B","padding-6":"_9JVjw9","padding-12":"uAuZLB","padding-18":"db-Z4A","padding-24":"c-5aQy","margin-24":"INe5ve","margin-12":"jd2W17","vPadding-12":"_0TBmb8","vPadding-18":"rXixxQ","vPadding-24":"ufRRGD","vPadding-36":"GKdUdz","vPadding-48":"fssdeb","spacing-6":"fKDOSo","spacing-12":"_9ypziz","spacing-18":"-zjOiK","uui-surface-main":"BeymDo","uuiTypography":"qVXjrw","heroHeader":"_5kB1Rz","promoHeader":"jMLhfC","uuiCritical":"eglxlB","uuiInfo":"SCeWIM","uuiSuccess":"PkWZg8","uuiWarning":"BNJT-f","uuiHighlight":"-TMBYL","uuiTypographySize12":"mXtXIS","uuiTypographySize14":"mYO9Ai","uuiTypographySize16":"xmkiWU","borderTop":"bGRYTz","borderBottom":"yQXHTO","topShadow":"WKJVHy","size24":"_5vpcFL","size30":"iL4a65","size36":"R4EF8O","size42":"mQDXl0","size48":"_0qpK1B","padding6":"_9JVjw9","padding12":"uAuZLB","padding18":"db-Z4A","padding24":"c-5aQy","margin24":"INe5ve","margin12":"jd2W17","vPadding12":"_0TBmb8","vPadding18":"rXixxQ","vPadding24":"ufRRGD","vPadding36":"GKdUdz","vPadding48":"fssdeb","spacing6":"fKDOSo","spacing12":"_9ypziz","spacing18":"-zjOiK","uuiSurfaceMain":"BeymDo"};
|
|
879
1048
|
|
|
880
1049
|
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1c.flexCell]);
|
|
881
1050
|
|
|
@@ -899,7 +1068,7 @@ const FlexRow = /* @__PURE__ */withMods(FlexRow$1, (props) => {
|
|
|
899
1068
|
];
|
|
900
1069
|
});
|
|
901
1070
|
|
|
902
|
-
var css$1b = {"root":"
|
|
1071
|
+
var css$1b = {"root":"gio4iZ","margin-24":"wD0ASS","padding-12":"_8unl4d","padding-24":"wsLMkk","shadow":"HuAlM1","uui-surface-main":"MALGBk","margin24":"wD0ASS","padding12":"_8unl4d","padding24":"wsLMkk","uuiSurfaceMain":"MALGBk"};
|
|
903
1072
|
|
|
904
1073
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
905
1074
|
'uui-panel',
|
|
@@ -909,7 +1078,7 @@ const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
|
909
1078
|
props.background && css$1b[`uui-${props.background}`],
|
|
910
1079
|
]);
|
|
911
1080
|
|
|
912
|
-
var css$1a = {"root":"
|
|
1081
|
+
var css$1a = {"root":"eMOBAR"};
|
|
913
1082
|
|
|
914
1083
|
function applyTooltipMods(mods) {
|
|
915
1084
|
return [
|
|
@@ -919,18 +1088,18 @@ function applyTooltipMods(mods) {
|
|
|
919
1088
|
}
|
|
920
1089
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
921
1090
|
|
|
922
|
-
var css$19 = {"uui-typography":"
|
|
1091
|
+
var css$19 = {"uui-typography":"MfCZXZ","hero-header":"avK3Xj","promo-header":"f40eoh","uui-critical":"_2MUwWg","uui-info":"aYN0IB","uui-success":"i5AuSB","uui-warning":"Dx2xEI","uui-highlight":"l9m8Fc","uui-typography-size-12":"AyvzZG","uui-typography-size-14":"_3dr-rf","uui-typography-size-16":"mF7m6m","root":"vNkMY-","size-24":"sEh3tG","size-30":"nObZcH","size-36":"EdJY6T","size-42":"kpC-Ck","size-48":"VfjNgk","uuiTypography":"MfCZXZ","heroHeader":"avK3Xj","promoHeader":"f40eoh","uuiCritical":"_2MUwWg","uuiInfo":"aYN0IB","uuiSuccess":"i5AuSB","uuiWarning":"Dx2xEI","uuiHighlight":"l9m8Fc","uuiTypographySize12":"AyvzZG","uuiTypographySize14":"_3dr-rf","uuiTypographySize16":"mF7m6m","size24":"sEh3tG","size30":"nObZcH","size36":"EdJY6T","size42":"kpC-Ck","size48":"VfjNgk"};
|
|
923
1092
|
|
|
924
|
-
const DEFAULT_SIZE$
|
|
1093
|
+
const DEFAULT_SIZE$2 = '36';
|
|
925
1094
|
function applyLabeledInputMods(mods) {
|
|
926
|
-
return [css$19.root, css$19['size-' + (mods.size || DEFAULT_SIZE$
|
|
1095
|
+
return [css$19.root, css$19['size-' + (mods.size || DEFAULT_SIZE$2)]];
|
|
927
1096
|
}
|
|
928
1097
|
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
929
1098
|
Tooltip: props.Tooltip || Tooltip,
|
|
930
1099
|
infoIcon: props.infoIcon || (['24', '30'].includes(props.size) ? ForwardRef$w : ForwardRef$L),
|
|
931
1100
|
}));
|
|
932
1101
|
|
|
933
|
-
var css$18 = {"root":"
|
|
1102
|
+
var css$18 = {"root":"yNMqw9"};
|
|
934
1103
|
|
|
935
1104
|
function RadioGroup(props) {
|
|
936
1105
|
const direction = props.direction || 'vertical';
|
|
@@ -945,7 +1114,7 @@ function RadioGroup(props) {
|
|
|
945
1114
|
})));
|
|
946
1115
|
}
|
|
947
1116
|
|
|
948
|
-
var css$17 = {"root":"
|
|
1117
|
+
var css$17 = {"root":"B2xsQH"};
|
|
949
1118
|
|
|
950
1119
|
function applyScrollBarsMods() {
|
|
951
1120
|
return [
|
|
@@ -954,27 +1123,27 @@ function applyScrollBarsMods() {
|
|
|
954
1123
|
}
|
|
955
1124
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
956
1125
|
|
|
957
|
-
var css$16 = {"scroll-container":"
|
|
1126
|
+
var css$16 = {"scroll-container":"mjE6ax","list-container":"hQrjJt","scrollContainer":"mjE6ax","listContainer":"hQrjJt"};
|
|
958
1127
|
|
|
959
|
-
var css$15 = {"root":"
|
|
1128
|
+
var css$15 = {"root":"Q2RUce"};
|
|
960
1129
|
|
|
961
1130
|
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$15.root]);
|
|
962
1131
|
|
|
963
|
-
var css$14 = {"uui-typography":"
|
|
1132
|
+
var css$14 = {"uui-typography":"_1DLP4v","hero-header":"ZFg16a","promo-header":"Qx-Ewq","uui-critical":"UWDgqt","uui-info":"tfubzO","uui-success":"tSPhGA","uui-warning":"_84nyWy","uui-highlight":"XX1MK4","uui-typography-size-12":"BncAhe","uui-typography-size-14":"plPD43","uui-typography-size-16":"XyeFOu","root":"_3MXhg-","size-18":"Ytxl1G","size-24":"fJA66V","size-30":"ucO5X2","size-36":"e0E9l7","size-42":"yieuav","size-48":"U46oAG","uuiTypography":"_1DLP4v","heroHeader":"ZFg16a","promoHeader":"Qx-Ewq","uuiCritical":"UWDgqt","uuiInfo":"tfubzO","uuiSuccess":"tSPhGA","uuiWarning":"_84nyWy","uuiHighlight":"XX1MK4","uuiTypographySize12":"BncAhe","uuiTypographySize14":"plPD43","uuiTypographySize16":"XyeFOu","size18":"Ytxl1G","size24":"fJA66V","size30":"ucO5X2","size36":"e0E9l7","size42":"yieuav","size48":"U46oAG"};
|
|
964
1133
|
|
|
965
|
-
const DEFAULT_SIZE$
|
|
1134
|
+
const DEFAULT_SIZE$1 = '36';
|
|
966
1135
|
const DEFAULT_FILL = 'solid';
|
|
967
1136
|
function applyBadgeMods(mods) {
|
|
968
1137
|
return [
|
|
969
1138
|
'uui-badge',
|
|
970
1139
|
css$14.root,
|
|
971
|
-
css$14['size-' + (mods.size || DEFAULT_SIZE$
|
|
1140
|
+
css$14['size-' + (mods.size || DEFAULT_SIZE$1)],
|
|
972
1141
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
973
1142
|
`uui-color-${mods.color || 'info'}`,
|
|
974
1143
|
mods.indicator && mods.fill === 'outline' && 'uui-indicator',
|
|
975
1144
|
];
|
|
976
1145
|
}
|
|
977
|
-
const mapCountIndicatorSizes
|
|
1146
|
+
const mapCountIndicatorSizes = {
|
|
978
1147
|
18: '12',
|
|
979
1148
|
24: '18',
|
|
980
1149
|
30: '18',
|
|
@@ -988,26 +1157,17 @@ const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
988
1157
|
return (React__default.createElement(Clickable, Object.assign({}, props, { rawProps: Object.assign({ 'aria-haspopup': props.isDropdown, 'aria-expanded': props.isOpen }, props.rawProps), cx: styles, ref: ref }),
|
|
989
1158
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
990
1159
|
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
991
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: mapCountIndicatorSizes
|
|
1160
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: mapCountIndicatorSizes[props.size || DEFAULT_SIZE$1], caption: props.count })),
|
|
992
1161
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
993
1162
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
994
1163
|
});
|
|
995
1164
|
|
|
996
|
-
var css$13 = {"uui-typography":"
|
|
1165
|
+
var css$13 = {"uui-typography":"Z-pr52","hero-header":"_88D-Cq","promo-header":"-cphLB","uui-critical":"kZ0eQ6","uui-info":"xHVA6G","uui-success":"ls6f1z","uui-warning":"_69wwFR","uui-highlight":"FQoH3q","uui-typography-size-12":"AlZmMm","uui-typography-size-14":"rAu89-","uui-typography-size-16":"fG-Trq","root":"_0dS869","uuiTypography":"Z-pr52","heroHeader":"_88D-Cq","promoHeader":"-cphLB","uuiCritical":"kZ0eQ6","uuiInfo":"xHVA6G","uuiSuccess":"ls6f1z","uuiWarning":"_69wwFR","uuiHighlight":"FQoH3q","uuiTypographySize12":"AlZmMm","uuiTypographySize14":"rAu89-","uuiTypographySize16":"fG-Trq"};
|
|
997
1166
|
|
|
998
|
-
const DEFAULT_SIZE$1 = '36';
|
|
999
|
-
const mapCountIndicatorSizes = {
|
|
1000
|
-
18: '12',
|
|
1001
|
-
24: '18',
|
|
1002
|
-
30: '18',
|
|
1003
|
-
36: '18',
|
|
1004
|
-
42: '24',
|
|
1005
|
-
48: '24',
|
|
1006
|
-
};
|
|
1007
1167
|
function applyTagMods(props) {
|
|
1008
1168
|
return [
|
|
1009
|
-
css$13['size-' + (props.size || DEFAULT_SIZE$1)],
|
|
1010
1169
|
css$13.root,
|
|
1170
|
+
`uui-size-${props.size || settings.sizes.defaults.tag}`,
|
|
1011
1171
|
`uui-color-${props.color || 'neutral'}`,
|
|
1012
1172
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1013
1173
|
'uui-tag',
|
|
@@ -1020,20 +1180,20 @@ const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1020
1180
|
return (React__default.createElement(Clickable, Object.assign({}, props, { rawProps: Object.assign({ 'aria-haspopup': props.isDropdown, 'aria-expanded': props.isOpen }, props.rawProps), cx: styles, ref: ref }),
|
|
1021
1181
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1022
1182
|
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
1023
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size:
|
|
1183
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.sizes.tag.countIndicator[(props.size || settings.sizes.defaults.tag)], caption: props.count })),
|
|
1024
1184
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1025
1185
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1026
1186
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1027
1187
|
});
|
|
1028
1188
|
|
|
1029
|
-
var css$12 = {"root":"
|
|
1189
|
+
var css$12 = {"root":"_3Q-iyF","uui-spinner":"w0wyMy","uuiSpinner":"w0wyMy"};
|
|
1030
1190
|
|
|
1031
1191
|
function applySpinnerMods() {
|
|
1032
1192
|
return [css$12.root, 'uui-spinner'];
|
|
1033
1193
|
}
|
|
1034
1194
|
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1035
1195
|
|
|
1036
|
-
var css$11 = {"root":"
|
|
1196
|
+
var css$11 = {"root":"ZwJtgH","spacer":"FUy--O","mode-ghost":"-WVipS","size-24":"Ix59HY","size-30":"hfXxIZ","navigation-size-24":"ewLI2Q","navigation-size-30":"jTUvOa","modeGhost":"-WVipS","size24":"Ix59HY","size30":"hfXxIZ","navigationSize24":"ewLI2Q","navigationSize30":"jTUvOa"};
|
|
1037
1197
|
|
|
1038
1198
|
var _path$v;
|
|
1039
1199
|
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
@@ -1084,14 +1244,14 @@ function Paginator(props) {
|
|
|
1084
1244
|
return React__default.createElement(Paginator$1, Object.assign({}, props, { render: renderPaginator }));
|
|
1085
1245
|
}
|
|
1086
1246
|
|
|
1087
|
-
var css$10 = {"root":"
|
|
1247
|
+
var css$10 = {"root":"f7UvMX","progress-bar":"PZOrtk","progressBar-indeterminate":"t0YzEa","size-12":"TSegaH","size-18":"r4LYOT","size-24":"yb-xao","progressBar":"PZOrtk","progressBarIndeterminate":"t0YzEa","size12":"TSegaH","size18":"r4LYOT","size24":"yb-xao"};
|
|
1088
1248
|
|
|
1089
1249
|
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1090
1250
|
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$10.root, css$10[`size-${props.size || 12}`]) },
|
|
1091
1251
|
React.createElement("div", { className: cx(css$10.progressBar) })));
|
|
1092
1252
|
});
|
|
1093
1253
|
|
|
1094
|
-
var css$$ = {"root":"
|
|
1254
|
+
var css$$ = {"root":"LSP5VW","striped":"hQ5FbP","animate-stripes":"_3B5bp7","size-12":"rNPc8f","size-18":"mzeda-","size-24":"fOQeEu","animateStripes":"_3B5bp7","size12":"rNPc8f","size18":"mzeda-","size24":"fOQeEu"};
|
|
1095
1255
|
|
|
1096
1256
|
const DEFAULT_SIZE = '12';
|
|
1097
1257
|
function applyProgressBarMods(mods) {
|
|
@@ -1106,14 +1266,14 @@ const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProg
|
|
|
1106
1266
|
hideLabel: props.hideLabel || props.striped,
|
|
1107
1267
|
}));
|
|
1108
1268
|
|
|
1109
|
-
var css$_ = {"root":"
|
|
1269
|
+
var css$_ = {"root":"D4YDzG"};
|
|
1110
1270
|
|
|
1111
1271
|
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1112
1272
|
const { progress } = props;
|
|
1113
1273
|
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$_.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$_.root, props.cx) }));
|
|
1114
1274
|
});
|
|
1115
1275
|
|
|
1116
|
-
var css$Z = {"root":"
|
|
1276
|
+
var css$Z = {"root":"_5OJsXA","size-12":"-MZuwu","size-18":"fHxUQk","size-24":"UW-Ufw","size12":"-MZuwu","size18":"fHxUQk","size24":"UW-Ufw"};
|
|
1117
1277
|
|
|
1118
1278
|
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1119
1279
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
@@ -1128,46 +1288,21 @@ const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1128
1288
|
React__default.createElement("p", { className: "uui-status_indicator_caption" }, props.caption)));
|
|
1129
1289
|
});
|
|
1130
1290
|
|
|
1131
|
-
var css$Y = {"drag-handle":"
|
|
1291
|
+
var css$Y = {"drag-handle":"HcyAXL","icon-container":"amFCZn","dragHandle":"HcyAXL","iconContainer":"amFCZn"};
|
|
1132
1292
|
|
|
1133
1293
|
function DataRowAddons(props) {
|
|
1134
1294
|
var _a, _b;
|
|
1135
1295
|
const row = props.rowProps;
|
|
1136
|
-
const additionalItemSize = +props.size < 30 ? '12' : '18';
|
|
1137
1296
|
const getIndent = () => {
|
|
1138
|
-
|
|
1139
|
-
case '24':
|
|
1140
|
-
return (row.indent - 1) * 6;
|
|
1141
|
-
case '30':
|
|
1142
|
-
case '36':
|
|
1143
|
-
return (row.indent - 1) * 12;
|
|
1144
|
-
case '42':
|
|
1145
|
-
case '48':
|
|
1146
|
-
case '60':
|
|
1147
|
-
return (row.indent - 1) * 24;
|
|
1148
|
-
default:
|
|
1149
|
-
return (row.indent - 1) * 24;
|
|
1150
|
-
}
|
|
1297
|
+
return (row.indent - 1) * settings.sizes.rowAddons.indentUnit[props.size || 'default'];
|
|
1151
1298
|
};
|
|
1152
1299
|
const getWidth = () => {
|
|
1153
|
-
|
|
1154
|
-
case '24':
|
|
1155
|
-
return '12px';
|
|
1156
|
-
case '30':
|
|
1157
|
-
case '36':
|
|
1158
|
-
return '18px';
|
|
1159
|
-
case '42':
|
|
1160
|
-
case '48':
|
|
1161
|
-
case '60':
|
|
1162
|
-
return '24px';
|
|
1163
|
-
default:
|
|
1164
|
-
return '12px';
|
|
1165
|
-
}
|
|
1300
|
+
return settings.sizes.rowAddons.indentWidth[props.size || 'default'];
|
|
1166
1301
|
};
|
|
1167
1302
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1168
1303
|
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__default.createElement(DragHandle, { key: "dh", cx: css$Y.dragHandle }),
|
|
1169
|
-
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size:
|
|
1170
|
-
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: "uui-dr_addons-indent", style: {
|
|
1304
|
+
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.sizes.rowAddons.checkbox[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => { var _a; return (_a = row.onCheck) === null || _a === void 0 ? void 0 : _a.call(row, row); }, isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
1305
|
+
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: "uui-dr_addons-indent", style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
1171
1306
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1172
1307
|
role: 'button',
|
|
1173
1308
|
}, key: "icon", icon: ForwardRef$P, cx: [
|
|
@@ -1175,7 +1310,7 @@ function DataRowAddons(props) {
|
|
|
1175
1310
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1176
1311
|
}
|
|
1177
1312
|
|
|
1178
|
-
var css$X = {"root":"
|
|
1313
|
+
var css$X = {"root":"wq7Umd"};
|
|
1179
1314
|
|
|
1180
1315
|
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$X.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1181
1316
|
|
|
@@ -1216,7 +1351,7 @@ const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1216
1351
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1217
1352
|
});
|
|
1218
1353
|
|
|
1219
|
-
var css$W = {"root":"
|
|
1354
|
+
var css$W = {"root":"VCQmIb"};
|
|
1220
1355
|
|
|
1221
1356
|
function CheckboxGroup(props) {
|
|
1222
1357
|
const currentValue = props.value || [];
|
|
@@ -1378,7 +1513,7 @@ const TREE_SHAKEABLE_INIT = () => (Object.assign(Object.assign({}, i18n$1), { da
|
|
|
1378
1513
|
} }));
|
|
1379
1514
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1380
1515
|
|
|
1381
|
-
var css$V = {"uui-typography":"
|
|
1516
|
+
var css$V = {"uui-typography":"cHosMQ","hero-header":"n-EURO","promo-header":"NZGq89","uui-critical":"Wum0Ru","uui-info":"uHBN8Z","uui-success":"pJj1zm","uui-warning":"gkbjjq","uui-highlight":"A-jAG2","uui-typography-size-12":"W-GKgp","uui-typography-size-14":"_2HWAO2","uui-typography-size-16":"r-ZAL-","modal":"Gj6PQ8","search-wrapper":"KS-msT","body":"ghZYS3","checkbox":"l4XlhV","no-found-size-24":"_8nsVjO","no-found-size-30":"c5c8-j","no-found-size-36":"XLeyBv","no-found-size-42":"aAFpsJ","uuiTypography":"cHosMQ","heroHeader":"n-EURO","promoHeader":"NZGq89","uuiCritical":"Wum0Ru","uuiInfo":"uHBN8Z","uuiSuccess":"pJj1zm","uuiWarning":"gkbjjq","uuiHighlight":"A-jAG2","uuiTypographySize12":"W-GKgp","uuiTypographySize14":"_2HWAO2","uuiTypographySize16":"r-ZAL-","searchWrapper":"KS-msT","noFoundSize24":"_8nsVjO","noFoundSize30":"c5c8-j","noFoundSize36":"XLeyBv","noFoundSize42":"aAFpsJ"};
|
|
1382
1517
|
|
|
1383
1518
|
class DataPickerBody extends PickerBodyBase {
|
|
1384
1519
|
constructor() {
|
|
@@ -1390,11 +1525,12 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
1390
1525
|
if (this.props.renderNotFound) {
|
|
1391
1526
|
return this.props.renderNotFound();
|
|
1392
1527
|
}
|
|
1393
|
-
|
|
1394
|
-
|
|
1528
|
+
// TODO: need fix sizes, how to use variables
|
|
1529
|
+
return (React__default.createElement(FlexCell$1, { cx: css$V[`no-found-size-${this.props.searchSize || settings.sizes.dataPickerBody.flexCell.default}`], grow: 1, textAlign: "center" },
|
|
1530
|
+
React__default.createElement(Text, { size: this.props.searchSize }, i18n.dataPickerBody.noRecordsMessage)));
|
|
1395
1531
|
}
|
|
1396
1532
|
render() {
|
|
1397
|
-
const searchSize = isMobile() ? '
|
|
1533
|
+
const searchSize = (isMobile() ? settings.sizes.dataPickerBody.searchInput['mobile'] : this.props.searchSize);
|
|
1398
1534
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1399
1535
|
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$V.searchWrapper },
|
|
1400
1536
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
@@ -1403,16 +1539,9 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
1403
1539
|
}
|
|
1404
1540
|
}
|
|
1405
1541
|
|
|
1406
|
-
const switchSizes = {
|
|
1407
|
-
24: '12',
|
|
1408
|
-
36: '18',
|
|
1409
|
-
42: '24',
|
|
1410
|
-
48: '24',
|
|
1411
|
-
};
|
|
1412
1542
|
function DataPickerFooterImpl(props) {
|
|
1413
1543
|
const { clearSelection, view, showSelected, selectionMode, } = props;
|
|
1414
|
-
const size = isMobile() ? '
|
|
1415
|
-
const switchSize = switchSizes[size];
|
|
1544
|
+
const size = settings.sizes.dataPickerFooter.linkButton[isMobile() ? 'mobile' : props.size];
|
|
1416
1545
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
1417
1546
|
const rowsCount = view.getListProps().rowsCount;
|
|
1418
1547
|
const isEmptyRowsAndHasNoSelection = (rowsCount === 0 && !hasSelection);
|
|
@@ -1422,8 +1551,8 @@ function DataPickerFooterImpl(props) {
|
|
|
1422
1551
|
const selectAllText = i18n.pickerInput.selectAllButton;
|
|
1423
1552
|
// show always for multi picker and for single only in case if search not disabled.
|
|
1424
1553
|
const shouldShowFooter = isSinglePicker ? !props.disableClear : true;
|
|
1425
|
-
return shouldShowFooter && (React__default.createElement(FlexRow, { padding:
|
|
1426
|
-
!isSinglePicker && (React__default.createElement(Switch, { size:
|
|
1554
|
+
return shouldShowFooter && (React__default.createElement(FlexRow, { padding: settings.sizes.dataPickerFooter.flexRowPadding },
|
|
1555
|
+
!isSinglePicker && (React__default.createElement(Switch, { size: settings.sizes.dataPickerFooter.switch[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
1427
1556
|
React__default.createElement(FlexSpacer, null),
|
|
1428
1557
|
React__default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
1429
1558
|
view.selectAll && (React__default.createElement(LinkButton, { size: size, caption: hasSelection ? clearAllText : selectAllText, onClick: hasSelection ? clearSelection : () => view.selectAll.onValueChange(true), rawProps: {
|
|
@@ -1435,12 +1564,12 @@ function DataPickerFooterImpl(props) {
|
|
|
1435
1564
|
}
|
|
1436
1565
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
1437
1566
|
|
|
1438
|
-
var css$U = {"header":"
|
|
1567
|
+
var css$U = {"header":"m80e7X","close":"nxOsfA"};
|
|
1439
1568
|
|
|
1440
1569
|
const DataPickerHeaderImpl = (props) => {
|
|
1441
1570
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1442
1571
|
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$U.header },
|
|
1443
|
-
React__default.createElement(Text, { size:
|
|
1572
|
+
React__default.createElement(Text, { size: settings.sizes.dataPickerHeader.text.size, fontWeight: settings.sizes.dataPickerHeader.text.fontWeight }, title),
|
|
1444
1573
|
React__default.createElement(IconButton, { icon: ForwardRef$Q, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$U.close })));
|
|
1445
1574
|
};
|
|
1446
1575
|
const DataPickerHeader = /* @__PURE__ */React__default.memo(DataPickerHeaderImpl);
|
|
@@ -1460,7 +1589,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
1460
1589
|
};
|
|
1461
1590
|
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
1462
1591
|
|
|
1463
|
-
var css$T = {"uui-typography":"
|
|
1592
|
+
var css$T = {"uui-typography":"Rru0yE","hero-header":"zYDKFv","promo-header":"A9GHvb","uui-critical":"TXFOzF","uui-info":"_9PbGG-","uui-success":"kY5lDc","uui-warning":"KfECmf","uui-highlight":"_5214tZ","uui-typography-size-12":"wNk9yf","uui-typography-size-14":"st56-1","uui-typography-size-16":"V0oa4t","root":"DxkwOq","align-widgets-top":"odZfGg","size-24":"_-1vBGI","size-30":"U0yvje","size-36":"unJQdD","size-42":"jXGciB","size-48":"AKolNP","size-60":"JXhg7a","align-widgets-center":"Q8MgPj","icon-wrapper":"_2Y3MuS","padding-12":"UMcBFK","padding-24":"DglHZu","padding-left-12":"w-vdf1","padding-left-24":"hbb96D","icon-container":"-ZNYPk","loading-cell":"N7OxEe","content-wrapper":"b4DgDg","render-item":"_4jYh-z","icon-default":"u78y4e","selected-mark":"vYWMoC","uuiTypography":"Rru0yE","heroHeader":"zYDKFv","promoHeader":"A9GHvb","uuiCritical":"TXFOzF","uuiInfo":"_9PbGG-","uuiSuccess":"kY5lDc","uuiWarning":"KfECmf","uuiHighlight":"_5214tZ","uuiTypographySize12":"wNk9yf","uuiTypographySize14":"st56-1","uuiTypographySize16":"V0oa4t","alignWidgetsTop":"odZfGg","size24":"_-1vBGI","size30":"U0yvje","size36":"unJQdD","size42":"jXGciB","size48":"AKolNP","size60":"JXhg7a","alignWidgetsCenter":"Q8MgPj","iconWrapper":"_2Y3MuS","padding12":"UMcBFK","padding24":"DglHZu","paddingLeft12":"w-vdf1","paddingLeft24":"hbb96D","iconContainer":"-ZNYPk","loadingCell":"N7OxEe","contentWrapper":"b4DgDg","renderItem":"_4jYh-z","iconDefault":"u78y4e","selectedMark":"vYWMoC"};
|
|
1464
1593
|
|
|
1465
1594
|
function DataPickerCell(props) {
|
|
1466
1595
|
const ref = React.useRef();
|
|
@@ -1468,18 +1597,18 @@ function DataPickerCell(props) {
|
|
|
1468
1597
|
if (props.rowProps.isLoading) {
|
|
1469
1598
|
content = (
|
|
1470
1599
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
1471
|
-
React.createElement(Text, { key: "t", size:
|
|
1600
|
+
React.createElement(Text, { key: "t", size: settings.sizes.dataPickerCell.text[props.size], cx: css$T.loadingCell },
|
|
1472
1601
|
React.createElement(TextPlaceholder, null)));
|
|
1473
1602
|
}
|
|
1474
1603
|
else if (props.rowProps.isUnknown) {
|
|
1475
|
-
content = (React.createElement(Text, { key: "t", size:
|
|
1604
|
+
content = (React.createElement(Text, { key: "t", size: settings.sizes.dataPickerCell.text[props.size] }, "Unknown"));
|
|
1476
1605
|
}
|
|
1477
1606
|
else {
|
|
1478
1607
|
content = (React.createElement("div", { key: `${props.rowProps.id}`, className: css$T.renderItem },
|
|
1479
1608
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
1480
1609
|
React.createElement(FlexSpacer, null),
|
|
1481
1610
|
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$T.iconWrapper, uuiMod.selected) },
|
|
1482
|
-
React.createElement(IconContainer, { icon: props.size
|
|
1611
|
+
React.createElement(IconContainer, { icon: settings.sizes.dataPickerCell.isBoldIcon[props.size] ? ForwardRef$t : ForwardRef$O, cx: props.rowProps.isChildrenSelected ? css$T.iconDefault : css$T.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
1483
1612
|
? 'Child is selected'
|
|
1484
1613
|
: 'Selected' } })))));
|
|
1485
1614
|
}
|
|
@@ -1488,22 +1617,22 @@ function DataPickerCell(props) {
|
|
|
1488
1617
|
css$T.root,
|
|
1489
1618
|
props.cx,
|
|
1490
1619
|
'data-picker-cell',
|
|
1491
|
-
css$T['size-' + (props.size ||
|
|
1492
|
-
css$T[`padding-${props.padding ||
|
|
1493
|
-
css$T[`padding-left-${props.padding ||
|
|
1620
|
+
css$T['size-' + (props.size || settings.sizes.defaults.dataPickerCell)],
|
|
1621
|
+
css$T[`padding-${props.padding || settings.sizes.dataPickerCell.padding.default}`],
|
|
1622
|
+
css$T[`padding-left-${props.padding || settings.sizes.dataPickerCell.paddingLeft.default}`],
|
|
1494
1623
|
css$T[`align-widgets-${props.alignActions || 'top'}`],
|
|
1495
1624
|
] },
|
|
1496
1625
|
React.createElement(DataRowAddons, Object.assign({}, props)),
|
|
1497
1626
|
getWrappedContent()));
|
|
1498
1627
|
}
|
|
1499
1628
|
|
|
1500
|
-
var css$S = {"uui-typography":"
|
|
1629
|
+
var css$S = {"uui-typography":"sKy-AO","hero-header":"H1reVt","promo-header":"_1JEi8A","uui-critical":"Orn045","uui-info":"js28AB","uui-success":"P0DWSC","uui-warning":"tvnCpP","uui-highlight":"cIKTSl","uui-typography-size-12":"Yulgoe","uui-typography-size-14":"NFRZdS","uui-typography-size-16":"nCQia8","picker-row":"_73hdnS","uuiTypography":"sKy-AO","heroHeader":"H1reVt","promoHeader":"_1JEi8A","uuiCritical":"Orn045","uuiInfo":"js28AB","uuiSuccess":"P0DWSC","uuiWarning":"tvnCpP","uuiHighlight":"cIKTSl","uuiTypographySize12":"Yulgoe","uuiTypographySize14":"NFRZdS","uuiTypographySize16":"nCQia8","pickerRow":"_73hdnS"};
|
|
1501
1630
|
|
|
1502
1631
|
class DataPickerRow extends React.Component {
|
|
1503
1632
|
constructor() {
|
|
1504
1633
|
super(...arguments);
|
|
1505
1634
|
this.renderContent = () => {
|
|
1506
|
-
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size ||
|
|
1635
|
+
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.sizes.dataPickerRow.dataPickerCell.default, padding: this.props.padding || settings.sizes.dataPickerRow.padding.default, rowProps: this.props, alignActions: this.props.alignActions || 'top', renderItem: this.props.renderItem }));
|
|
1507
1636
|
};
|
|
1508
1637
|
}
|
|
1509
1638
|
render() {
|
|
@@ -1511,7 +1640,7 @@ class DataPickerRow extends React.Component {
|
|
|
1511
1640
|
}
|
|
1512
1641
|
}
|
|
1513
1642
|
|
|
1514
|
-
var css$R = {"uui-typography":"
|
|
1643
|
+
var css$R = {"uui-typography":"ssRelx","hero-header":"JQZF8-","promo-header":"_1V-NUb","uui-critical":"_25rd8y","uui-info":"_1Kwm-B","uui-success":"FvLDeE","uui-warning":"ZfGUD5","uui-highlight":"Yxe7Rx","uui-typography-size-12":"DPsoBw","uui-typography-size-14":"E8GZf3","uui-typography-size-16":"iiVmBi","done":"Zl8KL-","container":"lxp5pY","uuiTypography":"ssRelx","heroHeader":"JQZF8-","promoHeader":"_1V-NUb","uuiCritical":"_25rd8y","uuiInfo":"_1Kwm-B","uuiSuccess":"FvLDeE","uuiWarning":"ZfGUD5","uuiHighlight":"Yxe7Rx","uuiTypographySize12":"DPsoBw","uuiTypographySize14":"E8GZf3","uuiTypographySize16":"iiVmBi"};
|
|
1515
1644
|
|
|
1516
1645
|
const MobileDropdownWrapper = (props) => {
|
|
1517
1646
|
const isMobileView = isMobile();
|
|
@@ -1520,7 +1649,7 @@ const MobileDropdownWrapper = (props) => {
|
|
|
1520
1649
|
return (React__default.createElement(DropdownContainer, Object.assign({}, props, { maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$R.container, props.cx] }),
|
|
1521
1650
|
isMobileView && React__default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
1522
1651
|
props.children,
|
|
1523
|
-
isMobileView && React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$R.done, size:
|
|
1652
|
+
isMobileView && React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$R.done, size: settings.sizes.mobileDropdownWrapper.linkButton })));
|
|
1524
1653
|
};
|
|
1525
1654
|
|
|
1526
1655
|
var _path$s, _path2$4;
|
|
@@ -1545,9 +1674,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
1545
1674
|
};
|
|
1546
1675
|
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
1547
1676
|
|
|
1548
|
-
var css$Q = {"uui-typography":"
|
|
1549
|
-
|
|
1550
|
-
var css$P = {"root":"fZvqzr","multiline":"_6LVbIw","vertical-padding-24":"XTS1li","vertical-padding-30":"A0reJC","vertical-padding-36":"QCJWqY","vertical-padding-42":"rKigUl","vertical-padding-48":"Vj3sjs","text":"wdj1vX","verticalPadding24":"XTS1li","verticalPadding30":"A0reJC","verticalPadding36":"QCJWqY","verticalPadding42":"rKigUl","verticalPadding48":"Vj3sjs"};
|
|
1677
|
+
var css$Q = {"uui-typography":"F5FlIe","hero-header":"RF0dDc","promo-header":"vTb1P-","uui-critical":"wYKBcW","uui-info":"mhv4Sv","uui-success":"q2G5Bl","uui-warning":"a19yzE","uui-highlight":"ivVYTz","uui-typography-size-12":"-tucYt","uui-typography-size-14":"CRdUaV","uui-typography-size-16":"WkV8gd","sub-header-wrapper":"_0DwySD","switch":"IIoiDY","no-found-modal-container":"g3vDob","no-found-modal-container-icon":"O5hcq6","no-found-modal-container-text":"NoVivw","uuiTypography":"F5FlIe","heroHeader":"RF0dDc","promoHeader":"vTb1P-","uuiCritical":"wYKBcW","uuiInfo":"mhv4Sv","uuiSuccess":"q2G5Bl","uuiWarning":"a19yzE","uuiHighlight":"ivVYTz","uuiTypographySize12":"-tucYt","uuiTypographySize14":"CRdUaV","uuiTypographySize16":"WkV8gd","subHeaderWrapper":"_0DwySD","$switch$":"IIoiDY","noFoundModalContainer":"g3vDob","noFoundModalContainerIcon":"O5hcq6","noFoundModalContainerText":"NoVivw"};
|
|
1551
1678
|
|
|
1552
1679
|
const mergeHighlightRanges = (ranges) => {
|
|
1553
1680
|
const mergedRanges = [];
|
|
@@ -1614,11 +1741,12 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
1614
1741
|
return getDecoratedText(str, ranges);
|
|
1615
1742
|
};
|
|
1616
1743
|
|
|
1617
|
-
|
|
1744
|
+
var css$P = {"root":"-YWRjl","multiline":"h4JSdY","vertical-padding-24":"ukJkYq","vertical-padding-30":"jXdWg2","vertical-padding-36":"bsh5rb","vertical-padding-42":"cKn3CA","vertical-padding-48":"G1V3SB","text":"_0X7jab","verticalPadding24":"ukJkYq","verticalPadding30":"jXdWg2","verticalPadding36":"bsh5rb","verticalPadding42":"cKn3CA","verticalPadding48":"G1V3SB"};
|
|
1745
|
+
|
|
1618
1746
|
function PickerItem(props) {
|
|
1619
1747
|
var _a;
|
|
1620
1748
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, cx, } = props;
|
|
1621
|
-
const itemSize = size ||
|
|
1749
|
+
const itemSize = size || settings.sizes.defaults.pickerItem;
|
|
1622
1750
|
const isMultiline = !!(props.title && props.subtitle);
|
|
1623
1751
|
const { search } = (_a = props.dataSourceState) !== null && _a !== void 0 ? _a : {};
|
|
1624
1752
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
@@ -1632,7 +1760,7 @@ function PickerItem(props) {
|
|
|
1632
1760
|
subtitle && (React.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$P.text }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
1633
1761
|
}
|
|
1634
1762
|
function getAvatarSize(size, isMultiline) {
|
|
1635
|
-
return isMultiline ?
|
|
1763
|
+
return settings.sizes.pickerItem.avatar[isMultiline ? 'multiline' : 'rest'][size];
|
|
1636
1764
|
}
|
|
1637
1765
|
|
|
1638
1766
|
function PickerModal(props) {
|
|
@@ -1688,27 +1816,11 @@ function PickerModal(props) {
|
|
|
1688
1816
|
React__default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
1689
1817
|
}
|
|
1690
1818
|
|
|
1691
|
-
var css$O = {"tooltip":"
|
|
1692
|
-
|
|
1693
|
-
const getPickerTogglerButtonSize = (propSize) => {
|
|
1694
|
-
switch (propSize) {
|
|
1695
|
-
case '48':
|
|
1696
|
-
return '42';
|
|
1697
|
-
case '42':
|
|
1698
|
-
return '36';
|
|
1699
|
-
case '36':
|
|
1700
|
-
return '30';
|
|
1701
|
-
case '30':
|
|
1702
|
-
return '24';
|
|
1703
|
-
case '24':
|
|
1704
|
-
return '18';
|
|
1705
|
-
default:
|
|
1706
|
-
return '30';
|
|
1707
|
-
}
|
|
1708
|
-
};
|
|
1819
|
+
var css$O = {"tooltip":"HTjac6"};
|
|
1820
|
+
|
|
1709
1821
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1710
1822
|
var _a;
|
|
1711
|
-
const tagProps = Object.assign(Object.assign({}, props), { tabIndex: -1, size:
|
|
1823
|
+
const tagProps = Object.assign(Object.assign({}, props), { tabIndex: -1, size: settings.sizes.pickerToggler.tag[props.size], caption: ((_a = props.rowProps) === null || _a === void 0 ? void 0 : _a.isLoading) ? React.createElement(TextPlaceholder, null) : props.caption });
|
|
1712
1824
|
if (props.isCollapsed) {
|
|
1713
1825
|
const collapsedRows = props.collapsedRows.map((row) => { var _a; return (_a = row.value) === null || _a === void 0 ? void 0 : _a.name; }).join(', ');
|
|
1714
1826
|
return (React.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$O.tooltip },
|
|
@@ -1719,20 +1831,20 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1719
1831
|
}
|
|
1720
1832
|
});
|
|
1721
1833
|
|
|
1722
|
-
var css$N = {"uui-typography":"
|
|
1834
|
+
var css$N = {"uui-typography":"jg2H2x","hero-header":"B6u3Kg","promo-header":"AWJQ8q","uui-critical":"UwwGd9","uui-info":"D4y3jz","uui-success":"keWqJB","uui-warning":"_9AmLXP","uui-highlight":"WA9Fl4","uui-typography-size-12":"KxmPEi","uui-typography-size-14":"R6Q7DZ","uui-typography-size-16":"hV17xX","root":"fXaCsH","mode-form":"G2NU6K","mode-cell":"_483o9J","mode-inline":"LsyLkj","uuiTypography":"jg2H2x","heroHeader":"B6u3Kg","promoHeader":"AWJQ8q","uuiCritical":"UwwGd9","uuiInfo":"D4y3jz","uuiSuccess":"keWqJB","uuiWarning":"_9AmLXP","uuiHighlight":"WA9Fl4","uuiTypographySize12":"KxmPEi","uuiTypographySize14":"R6Q7DZ","uuiTypographySize16":"hV17xX","modeForm":"G2NU6K","modeCell":"_483o9J","modeInline":"LsyLkj"};
|
|
1723
1835
|
|
|
1724
|
-
const defaultSize$1 = '36';
|
|
1725
1836
|
const defaultMode$1 = EditMode.FORM;
|
|
1726
1837
|
function applyPickerTogglerMods(mods) {
|
|
1727
1838
|
return [
|
|
1728
1839
|
css$N.root,
|
|
1729
|
-
|
|
1840
|
+
'uui-picker_toggler',
|
|
1841
|
+
`uui-size-${mods.size || settings.sizes.defaults.pickerToggler}`,
|
|
1730
1842
|
css$N['mode-' + (mods.mode || defaultMode$1)],
|
|
1731
1843
|
];
|
|
1732
1844
|
}
|
|
1733
1845
|
function PickerTogglerComponent(props, ref) {
|
|
1734
1846
|
const renderItem = (itemProps) => {
|
|
1735
|
-
const itemPropsWithSize = Object.assign(Object.assign({}, itemProps), { size: props.size });
|
|
1847
|
+
const itemPropsWithSize = Object.assign(Object.assign({}, itemProps), { size: (props.size || settings.sizes.defaults.pickerToggler) });
|
|
1736
1848
|
if (!!props.renderItem) {
|
|
1737
1849
|
return props.renderItem(itemPropsWithSize);
|
|
1738
1850
|
}
|
|
@@ -1742,8 +1854,6 @@ function PickerTogglerComponent(props, ref) {
|
|
|
1742
1854
|
}
|
|
1743
1855
|
const PickerToggler = /* @__PURE__ */React.forwardRef(PickerTogglerComponent);
|
|
1744
1856
|
|
|
1745
|
-
const pickerHeight$1 = 300;
|
|
1746
|
-
const pickerWidth = 360;
|
|
1747
1857
|
function PickerInputComponent(_a, ref) {
|
|
1748
1858
|
var { highlightSearchMatches = true } = _a, props = __rest(_a, ["highlightSearchMatches"]);
|
|
1749
1859
|
const toggleModalOpening = () => {
|
|
@@ -1780,9 +1890,9 @@ function PickerInputComponent(_a, ref) {
|
|
|
1780
1890
|
};
|
|
1781
1891
|
const getRowSize = () => {
|
|
1782
1892
|
if (isMobile()) {
|
|
1783
|
-
return
|
|
1893
|
+
return settings.sizes.pickerInput.rowSize.mobile;
|
|
1784
1894
|
}
|
|
1785
|
-
return props.editMode === 'modal' ?
|
|
1895
|
+
return props.editMode === 'modal' ? settings.sizes.pickerInput.rowSize.modal : props.size;
|
|
1786
1896
|
};
|
|
1787
1897
|
const getSubtitle = ({ path }, { search }) => {
|
|
1788
1898
|
if (!search)
|
|
@@ -1797,12 +1907,12 @@ function PickerInputComponent(_a, ref) {
|
|
|
1797
1907
|
return (React__default.createElement(PickerItem, Object.assign({ title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), rowProps)));
|
|
1798
1908
|
};
|
|
1799
1909
|
const renderRow = (rowProps, dsState) => {
|
|
1800
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === 'modal' ?
|
|
1910
|
+
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: getRowSize(), padding: (props.editMode === 'modal' ? settings.sizes.pickerInput.rowSize.padding.modal : settings.sizes.pickerInput.rowSize.padding.default), renderItem: (item, itemProps) => renderRowItem(item, itemProps, dsState) })));
|
|
1801
1911
|
};
|
|
1802
1912
|
const renderBody = (bodyProps, rows) => {
|
|
1803
1913
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
1804
|
-
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight ||
|
|
1805
|
-
const minBodyWidth = props.minBodyWidth ||
|
|
1914
|
+
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.sizes.pickerInput.height;
|
|
1915
|
+
const minBodyWidth = props.minBodyWidth || settings.sizes.pickerInput.width;
|
|
1806
1916
|
return (React__default.createElement(MobileDropdownWrapper, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
1807
1917
|
React__default.createElement(DataPickerBody, Object.assign({}, bodyProps, { rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode, renderNotFound: props.renderNotFound
|
|
1808
1918
|
? () => props.renderNotFound({
|
|
@@ -1821,7 +1931,7 @@ function PickerInputComponent(_a, ref) {
|
|
|
1821
1931
|
}
|
|
1822
1932
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
1823
1933
|
|
|
1824
|
-
var css$M = {"row":"
|
|
1934
|
+
var css$M = {"row":"cK69ro"};
|
|
1825
1935
|
|
|
1826
1936
|
function PickerListItem(props) {
|
|
1827
1937
|
var _a;
|
|
@@ -1842,7 +1952,7 @@ function PickerListItem(props) {
|
|
|
1842
1952
|
return (React__default.createElement("div", Object.assign({ role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1 }, (((_a = props.checkbox) === null || _a === void 0 ? void 0 : _a.isVisible) && { 'aria-checked': props.isChecked }), { className: css$M.row }), component));
|
|
1843
1953
|
}
|
|
1844
1954
|
|
|
1845
|
-
var css$L = {"root":"
|
|
1955
|
+
var css$L = {"root":"RlOANk"};
|
|
1846
1956
|
|
|
1847
1957
|
function PickerList(props) {
|
|
1848
1958
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -1882,7 +1992,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
1882
1992
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
1883
1993
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
1884
1994
|
|
|
1885
|
-
var css$K = {"uui-typography":"
|
|
1995
|
+
var css$K = {"uui-typography":"rUXQrN","hero-header":"TNSYpj","promo-header":"SZ78zy","uui-critical":"OQiqNo","uui-info":"xyD-Jy","uui-success":"_8VlGWq","uui-warning":"VPlO7h","uui-highlight":"taHouT","uui-typography-size-12":"pJvEtG","uui-typography-size-14":"P-Igpk","uui-typography-size-16":"pfMs9f","root":"IhmNIU","title-wrapper":"SNrBMg","title":"UwyoQl","text-wrapper":"_1AKtM6","selection":"BHNUmM","postfix":"_8SgBGi","selected":"dLnT3-","uuiTypography":"rUXQrN","heroHeader":"TNSYpj","promoHeader":"SZ78zy","uuiCritical":"OQiqNo","uuiInfo":"xyD-Jy","uuiSuccess":"_8VlGWq","uuiWarning":"VPlO7h","uuiHighlight":"taHouT","uuiTypographySize12":"pJvEtG","uuiTypographySize14":"P-Igpk","uuiTypographySize16":"pfMs9f","titleWrapper":"SNrBMg","textWrapper":"_1AKtM6"};
|
|
1886
1996
|
|
|
1887
1997
|
const defaultSize = '36';
|
|
1888
1998
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
@@ -1975,7 +2085,7 @@ function FilterPickerBody(_a) {
|
|
|
1975
2085
|
return renderBody(Object.assign(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), { showSearch: (_b = props.showSearch) !== null && _b !== void 0 ? _b : true }), rows);
|
|
1976
2086
|
}
|
|
1977
2087
|
|
|
1978
|
-
var css$J = {"container":"
|
|
2088
|
+
var css$J = {"container":"rAkR-s"};
|
|
1979
2089
|
|
|
1980
2090
|
const defaultFormat = 'MMM D, YYYY';
|
|
1981
2091
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2184,14 +2294,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2184
2294
|
React.createElement(Button, { icon: navIconRight || ForwardRef$u, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow(), isDisabled: disableNext }))));
|
|
2185
2295
|
}
|
|
2186
2296
|
|
|
2187
|
-
var css$I = {"uui-typography":"
|
|
2297
|
+
var css$I = {"uui-typography":"tBvdEW","hero-header":"vKFCA2","promo-header":"CathsY","uui-critical":"qPxPuu","uui-info":"MkPn3X","uui-success":"eTGgk0","uui-warning":"QYzrt-","uui-highlight":"Es4wdH","uui-typography-size-12":"d-V5gC","uui-typography-size-14":"xmNjs-","uui-typography-size-16":"_9i-YZZ","root":"_5JzgF1","uuiTypography":"tBvdEW","heroHeader":"vKFCA2","promoHeader":"CathsY","uuiCritical":"qPxPuu","uuiInfo":"MkPn3X","uuiSuccess":"eTGgk0","uuiWarning":"QYzrt-","uuiHighlight":"Es4wdH","uuiTypographySize12":"d-V5gC","uuiTypographySize14":"xmNjs-","uuiTypographySize16":"_9i-YZZ"};
|
|
2188
2298
|
|
|
2189
2299
|
function applyDateSelectionMods() {
|
|
2190
2300
|
return [css$I.root];
|
|
2191
2301
|
}
|
|
2192
2302
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2193
2303
|
|
|
2194
|
-
var css$H = {"uui-typography":"
|
|
2304
|
+
var css$H = {"uui-typography":"I-nxCZ","hero-header":"s9fILC","promo-header":"imJqfh","uui-critical":"c71weT","uui-info":"a7H-pG","uui-success":"uFyP86","uui-warning":"_3Sa9tA","uui-highlight":"ZJOqbV","uui-typography-size-12":"jZvKi8","uui-typography-size-14":"I0N7gH","uui-typography-size-16":"AGNt5t","root":"fJxdse","uuiTypography":"I-nxCZ","heroHeader":"s9fILC","promoHeader":"imJqfh","uuiCritical":"c71weT","uuiInfo":"a7H-pG","uuiSuccess":"uFyP86","uuiWarning":"_3Sa9tA","uuiHighlight":"ZJOqbV","uuiTypographySize12":"jZvKi8","uuiTypographySize14":"I0N7gH","uuiTypographySize16":"AGNt5t"};
|
|
2195
2305
|
|
|
2196
2306
|
const uuiDatePickerBody = {
|
|
2197
2307
|
wrapper: 'uui-datepickerBody-wrapper',
|
|
@@ -2279,7 +2389,7 @@ function FilterDatePickerBody(props) {
|
|
|
2279
2389
|
} })))));
|
|
2280
2390
|
}
|
|
2281
2391
|
|
|
2282
|
-
var css$G = {"uui-typography":"
|
|
2392
|
+
var css$G = {"uui-typography":"-ZQpbj","hero-header":"JWcZgi","promo-header":"_9dAji-","uui-critical":"kF2JQI","uui-info":"Cy0CP0","uui-success":"sX9RLp","uui-warning":"V7Xx-k","uui-highlight":"SwDggq","uui-typography-size-12":"fioJqs","uui-typography-size-14":"_4i31pM","uui-typography-size-16":"_8QI2bF","dropdown-container":"_6lB6fn","date-input":"lh9l8S","date-input-group":"xCZUsw","separator":"rH5QzZ","mode-form":"L-ue8s","mode-cell":"U79zNp","uuiTypography":"-ZQpbj","heroHeader":"JWcZgi","promoHeader":"_9dAji-","uuiCritical":"kF2JQI","uuiInfo":"Cy0CP0","uuiSuccess":"sX9RLp","uuiWarning":"V7Xx-k","uuiHighlight":"SwDggq","uuiTypographySize12":"fioJqs","uuiTypographySize14":"_4i31pM","uuiTypographySize16":"_8QI2bF","dropdownContainer":"_6lB6fn","dateInput":"lh9l8S","dateInputGroup":"xCZUsw","modeForm":"L-ue8s","modeCell":"U79zNp"};
|
|
2283
2393
|
|
|
2284
2394
|
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onBlur, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, id, cx: classes, }, ref) => {
|
|
2285
2395
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2310,9 +2420,9 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
2310
2420
|
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
2311
2421
|
}
|
|
2312
2422
|
}, onBlur: onBlur },
|
|
2313
|
-
React__default.createElement(TextInput, { icon: systemIcons.calendar, cx: cx$1(css$G.dateInput,
|
|
2423
|
+
React__default.createElement(TextInput, { icon: systemIcons.calendar, cx: cx$1(css$G.dateInput, inFocus === 'from' && uuiMod.focus), size: size || settings.sizes.defaults.rangeDatePicker, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps === null || rawProps === void 0 ? void 0 : rawProps.from, id: id }),
|
|
2314
2424
|
React__default.createElement("div", { className: css$G.separator }),
|
|
2315
|
-
React__default.createElement(TextInput, { cx: cx$1(css$G.dateInput,
|
|
2425
|
+
React__default.createElement(TextInput, { cx: cx$1(css$G.dateInput, inFocus === 'to' && uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.sizes.defaults.rangeDatePicker, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2316
2426
|
onValueChange(defaultRangeValue);
|
|
2317
2427
|
} : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps === null || rawProps === void 0 ? void 0 : rawProps.to })));
|
|
2318
2428
|
});
|
|
@@ -2370,7 +2480,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
2370
2480
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
2371
2481
|
}
|
|
2372
2482
|
|
|
2373
|
-
var css$F = {"container":"
|
|
2483
|
+
var css$F = {"container":"xU4lRP"};
|
|
2374
2484
|
|
|
2375
2485
|
function FilterNumericBody(props) {
|
|
2376
2486
|
var _a, _b;
|
|
@@ -2470,7 +2580,7 @@ var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref)
|
|
|
2470
2580
|
};
|
|
2471
2581
|
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgActionDeleteForeverFill);
|
|
2472
2582
|
|
|
2473
|
-
var css$E = {"uui-typography":"
|
|
2583
|
+
var css$E = {"uui-typography":"t99nT2","hero-header":"_1nLTdI","promo-header":"JR8mFl","uui-critical":"_0DTvvP","uui-info":"wWEoob","uui-success":"Yhstq1","uui-warning":"n92nch","uui-highlight":"ulO5nz","uui-typography-size-12":"-je-Ox","uui-typography-size-14":"Jm56mP","uui-typography-size-16":"Mx-TzD","header":"g0d5Eu","removeButton":"X2oJ-7","with-search":"gE50kv","uuiTypography":"t99nT2","heroHeader":"_1nLTdI","promoHeader":"JR8mFl","uuiCritical":"_0DTvvP","uuiInfo":"wWEoob","uuiSuccess":"Yhstq1","uuiWarning":"n92nch","uuiHighlight":"ulO5nz","uuiTypographySize12":"-je-Ox","uuiTypographySize14":"Jm56mP","uuiTypographySize16":"Mx-TzD","withSearch":"gE50kv"};
|
|
2474
2584
|
|
|
2475
2585
|
function useView(props, value) {
|
|
2476
2586
|
const forceUpdate = useForceUpdate();
|
|
@@ -2792,7 +2902,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2792
2902
|
}
|
|
2793
2903
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
2794
2904
|
|
|
2795
|
-
var css$D = {"divider":"
|
|
2905
|
+
var css$D = {"divider":"Y8MenA","dropdownDeleteIcon":"ZaDCzr","presetsWrapper":"jQ82uM","addPresetContainer":"_9k1TKJ","dropContainer":"SU-QjG"};
|
|
2796
2906
|
|
|
2797
2907
|
var _path$p;
|
|
2798
2908
|
function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
|
|
@@ -2920,7 +3030,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
2920
3030
|
};
|
|
2921
3031
|
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
2922
3032
|
|
|
2923
|
-
var css$C = {"delete-button":"
|
|
3033
|
+
var css$C = {"delete-button":"BTnjN-","tab-button":"YIqcZN","targetOpen":"YfYw6Z","deleteButton":"BTnjN-","tabButton":"YIqcZN"};
|
|
2924
3034
|
|
|
2925
3035
|
function PresetActionsDropdown(props) {
|
|
2926
3036
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -2978,7 +3088,7 @@ function PresetActionsDropdown(props) {
|
|
|
2978
3088
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
2979
3089
|
}
|
|
2980
3090
|
|
|
2981
|
-
var css$B = {"preset-input-cell":"
|
|
3091
|
+
var css$B = {"preset-input-cell":"ffict1","preset-input":"kcWtAr","presetInputCell":"ffict1","presetInput":"kcWtAr"};
|
|
2982
3092
|
|
|
2983
3093
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
2984
3094
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -3011,7 +3121,7 @@ function PresetInput(props) {
|
|
|
3011
3121
|
React__default.createElement(TextInput, { cx: css$B.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
3012
3122
|
}
|
|
3013
3123
|
|
|
3014
|
-
var css$A = {"preset":"
|
|
3124
|
+
var css$A = {"preset":"rfSNLs","activePreset":"iFUqcM"};
|
|
3015
3125
|
|
|
3016
3126
|
function Preset(props) {
|
|
3017
3127
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -3113,25 +3223,16 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3113
3223
|
return columns;
|
|
3114
3224
|
};
|
|
3115
3225
|
|
|
3116
|
-
var css$z = {"line-height-12":"
|
|
3226
|
+
var css$z = {"line-height-12":"n6n8AC","line-height-18":"ERTGPR","line-height-24":"XcwZaz","line-height-30":"m-dDFW","font-size-10":"hXaoGY","font-size-12":"_8aTaHu","font-size-14":"mjSX2c","font-size-16":"Rt680o","font-size-18":"Z3OMh4","font-size-24":"YM-wjV","v-padding-2":"ddqYGa","v-padding-3":"W1OEz3","v-padding-5":"NXXMt7","v-padding-6":"_9ou-j9","v-padding-8":"_1LKJHY","v-padding-9":"ddNkDA","v-padding-11":"ny3XYv","v-padding-12":"SPjtr7","v-padding-14":"wCBzvw","v-padding-15":"VLLIwn","v-padding-17":"_3x-O2q","v-padding-18":"zFSUQN","v-padding-23":"_4Jo6Z5","v-padding-24":"A9voxj","lineHeight12":"n6n8AC","lineHeight18":"ERTGPR","lineHeight24":"XcwZaz","lineHeight30":"m-dDFW","fontSize10":"hXaoGY","fontSize12":"_8aTaHu","fontSize14":"mjSX2c","fontSize16":"Rt680o","fontSize18":"Z3OMh4","fontSize24":"YM-wjV","vPadding2":"ddqYGa","vPadding3":"W1OEz3","vPadding5":"NXXMt7","vPadding6":"_9ou-j9","vPadding8":"_1LKJHY","vPadding9":"ddNkDA","vPadding11":"ny3XYv","vPadding12":"SPjtr7","vPadding14":"wCBzvw","vPadding15":"VLLIwn","vPadding17":"_3x-O2q","vPadding18":"zFSUQN","vPadding23":"_4Jo6Z5","vPadding24":"A9voxj"};
|
|
3117
3227
|
|
|
3118
|
-
const defaultTextSettings = {
|
|
3119
|
-
18: { lineHeight: 12, fontSize: 10 },
|
|
3120
|
-
24: { lineHeight: 18, fontSize: 12 },
|
|
3121
|
-
30: { lineHeight: 18, fontSize: 14 },
|
|
3122
|
-
36: { lineHeight: 18, fontSize: 14 },
|
|
3123
|
-
42: { lineHeight: 24, fontSize: 16 },
|
|
3124
|
-
48: { lineHeight: 24, fontSize: 16 },
|
|
3125
|
-
60: { lineHeight: 30, fontSize: 24 },
|
|
3126
|
-
};
|
|
3127
3228
|
function getTextClasses(props, border) {
|
|
3128
3229
|
if (props.size === 'none') {
|
|
3129
3230
|
return [css$z['line-height-' + props.lineHeight], css$z['font-size-' + props.fontSize]];
|
|
3130
3231
|
}
|
|
3131
3232
|
const setting = {
|
|
3132
3233
|
size: props.size,
|
|
3133
|
-
lineHeight: props.lineHeight ||
|
|
3134
|
-
fontSize: props.fontSize ||
|
|
3234
|
+
lineHeight: props.lineHeight || settings.sizes.text[props.size].lineHeight,
|
|
3235
|
+
fontSize: props.fontSize || settings.sizes.text[props.size].fontSize,
|
|
3135
3236
|
};
|
|
3136
3237
|
const vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3137
3238
|
return [
|
|
@@ -3139,11 +3240,11 @@ function getTextClasses(props, border) {
|
|
|
3139
3240
|
];
|
|
3140
3241
|
}
|
|
3141
3242
|
|
|
3142
|
-
var css$y = {"root":"
|
|
3243
|
+
var css$y = {"root":"_4EaCWT"};
|
|
3143
3244
|
|
|
3144
3245
|
function applyTextMods(mods) {
|
|
3145
3246
|
const textClasses = getTextClasses({
|
|
3146
|
-
size: mods.size ||
|
|
3247
|
+
size: mods.size || settings.sizes.defaults.text,
|
|
3147
3248
|
lineHeight: mods.lineHeight,
|
|
3148
3249
|
fontSize: mods.fontSize,
|
|
3149
3250
|
}, false);
|
|
@@ -3158,7 +3259,7 @@ function applyTextMods(mods) {
|
|
|
3158
3259
|
}
|
|
3159
3260
|
const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods);
|
|
3160
3261
|
|
|
3161
|
-
var css$x = {"root":"
|
|
3262
|
+
var css$x = {"root":"TmQBwV","loading-word":"G399vK","animated-loading":"bbIIQA","skeleton_loading":"c2DApI","loadingWord":"G399vK","animatedLoading":"bbIIQA","skeletonLoading":"c2DApI"};
|
|
3162
3263
|
|
|
3163
3264
|
const TextPlaceholder = (props) => {
|
|
3164
3265
|
const pattern = ' ';
|
|
@@ -3177,7 +3278,7 @@ const TextPlaceholder = (props) => {
|
|
|
3177
3278
|
|
|
3178
3279
|
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
3179
3280
|
|
|
3180
|
-
var css$w = {"uui-typography":"
|
|
3281
|
+
var css$w = {"uui-typography":"dCkX9o","hero-header":"vSi-22","promo-header":"kzpDKT","uui-critical":"T--voI","uui-info":"_7iAKLM","uui-success":"zgDfgz","uui-warning":"_2yulXO","uui-highlight":"jpaM4h","uui-typography-size-12":"YNvyUj","uui-typography-size-14":"KDHazZ","uui-typography-size-16":"lSN6uQ","root":"zQBpcB","modal-blocker":"qIP1QV","animateModalBlocker":"Ykg-tr","modal":"_4EyOmJ","modal-footer":"LpQo6p","modal-header":"thmnnA","uuiTypography":"dCkX9o","heroHeader":"vSi-22","promoHeader":"kzpDKT","uuiCritical":"T--voI","uuiInfo":"_7iAKLM","uuiSuccess":"zgDfgz","uuiWarning":"_2yulXO","uuiHighlight":"jpaM4h","uuiTypographySize12":"YNvyUj","uuiTypographySize14":"KDHazZ","uuiTypographySize16":"lSN6uQ","modalBlocker":"qIP1QV","modalFooter":"LpQo6p","modalHeader":"thmnnA"};
|
|
3181
3282
|
|
|
3182
3283
|
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$w.modalBlocker]);
|
|
3183
3284
|
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$w.root, css$w.modal], (props) => {
|
|
@@ -3196,19 +3297,19 @@ const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$w.root, cs
|
|
|
3196
3297
|
maxHeight }),
|
|
3197
3298
|
};
|
|
3198
3299
|
});
|
|
3199
|
-
class ModalHeader extends
|
|
3300
|
+
class ModalHeader extends React__default.Component {
|
|
3200
3301
|
render() {
|
|
3201
|
-
return (
|
|
3202
|
-
this.props.title && (
|
|
3302
|
+
return (React__default.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$w.root, css$w.modalHeader, this.props.cx], columnGap: "12", rawProps: this.props.rawProps },
|
|
3303
|
+
this.props.title && (React__default.createElement(Text, { size: "48", fontSize: "18", fontWeight: "600" }, this.props.title)),
|
|
3203
3304
|
this.props.children,
|
|
3204
|
-
this.props.onClose &&
|
|
3205
|
-
this.props.onClose && (
|
|
3206
|
-
|
|
3305
|
+
this.props.onClose && React__default.createElement(FlexSpacer, null),
|
|
3306
|
+
this.props.onClose && (React__default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
3307
|
+
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$Q, onClick: this.props.onClose })))));
|
|
3207
3308
|
}
|
|
3208
3309
|
}
|
|
3209
|
-
class ModalFooter extends
|
|
3310
|
+
class ModalFooter extends React__default.Component {
|
|
3210
3311
|
render() {
|
|
3211
|
-
return (
|
|
3312
|
+
return (React__default.createElement(FlexRow, { columnGap: this.props.columnGap || '12', cx: [
|
|
3212
3313
|
css$w.root,
|
|
3213
3314
|
css$w.modalFooter,
|
|
3214
3315
|
this.props.cx,
|
|
@@ -3231,7 +3332,7 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
3231
3332
|
};
|
|
3232
3333
|
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
3233
3334
|
|
|
3234
|
-
var css$v = {"uui-typography":"
|
|
3335
|
+
var css$v = {"uui-typography":"uIOHU6","hero-header":"KwU7yQ","promo-header":"_7nk52W","uui-critical":"d7LZPq","uui-info":"Qpn2hh","uui-success":"w2HH34","uui-warning":"q26Ce0","uui-highlight":"cbTUIW","uui-typography-size-12":"QMXRIN","uui-typography-size-14":"LFg2x5","uui-typography-size-16":"ZKICwk","root":"i6QJAP","icon-wrapper":"zzLwf0","action-wrapper":"tF-A0p","action-link":"_02fJCy","close-icon":"d0fz-Y","main-path":"T3FceX","content":"_7x98HO","close-wrapper":"WDo8TR","notification-wrapper":"xt4k0d","clear-button":"-boDcI","uuiTypography":"uIOHU6","heroHeader":"KwU7yQ","promoHeader":"_7nk52W","uuiCritical":"d7LZPq","uuiInfo":"Qpn2hh","uuiSuccess":"w2HH34","uuiWarning":"q26Ce0","uuiHighlight":"cbTUIW","uuiTypographySize12":"QMXRIN","uuiTypographySize14":"LFg2x5","uuiTypographySize16":"ZKICwk","iconWrapper":"zzLwf0","actionWrapper":"tF-A0p","actionLink":"_02fJCy","closeIcon":"d0fz-Y","mainPath":"T3FceX","closeWrapper":"WDo8TR","notificationWrapper":"xt4k0d","clearButton":"-boDcI"};
|
|
3235
3336
|
|
|
3236
3337
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
3237
3338
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -3353,7 +3454,7 @@ const formatTime = (hours, minutes, meridian, format) => {
|
|
|
3353
3454
|
return meridianResult ? time.concat(` ${meridianResult}`) : time;
|
|
3354
3455
|
};
|
|
3355
3456
|
|
|
3356
|
-
var css$u = {"root":"
|
|
3457
|
+
var css$u = {"root":"blqLrF","timepicker-input":"HLE4Gw","timepickerInput":"HLE4Gw"};
|
|
3357
3458
|
|
|
3358
3459
|
const DEFAULT_MODE = EditMode.FORM;
|
|
3359
3460
|
const valueToTimeString = (value, format) => {
|
|
@@ -3499,7 +3600,7 @@ function TimePickerBody(props) {
|
|
|
3499
3600
|
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
3500
3601
|
}
|
|
3501
3602
|
|
|
3502
|
-
var css$t = {"root":"
|
|
3603
|
+
var css$t = {"root":"IzPyWk"};
|
|
3503
3604
|
|
|
3504
3605
|
function applyInputAddonMods() {
|
|
3505
3606
|
return [
|
|
@@ -3508,7 +3609,7 @@ function applyInputAddonMods() {
|
|
|
3508
3609
|
}
|
|
3509
3610
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
3510
3611
|
|
|
3511
|
-
var css$s = {"root":"
|
|
3612
|
+
var css$s = {"root":"_1AUpR9"};
|
|
3512
3613
|
|
|
3513
3614
|
function applySliderMods() {
|
|
3514
3615
|
return [css$s.root, 'uui-color-neutral'];
|
|
@@ -3562,7 +3663,7 @@ function DatePickerComponent(props, ref) {
|
|
|
3562
3663
|
const allowClear = !props.disableClear && !!inputValue;
|
|
3563
3664
|
return (React__default.createElement(TextInput, Object.assign({}, renderProps, {
|
|
3564
3665
|
// fixes a bug with body open, it skips unwanted prevent default
|
|
3565
|
-
onClick: () => { }, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: props.size ||
|
|
3666
|
+
onClick: () => { }, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: props.size || settings.sizes.defaults.datePicker, value: inputValue || undefined, onValueChange: (v) => {
|
|
3566
3667
|
setInputValue(v || '');
|
|
3567
3668
|
}, onCancel: allowClear ? () => {
|
|
3568
3669
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -3591,14 +3692,14 @@ function DatePickerComponent(props, ref) {
|
|
|
3591
3692
|
}
|
|
3592
3693
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
3593
3694
|
|
|
3594
|
-
var css$r = {"uui-typography":"
|
|
3695
|
+
var css$r = {"uui-typography":"RwszU7","hero-header":"hkHmYn","promo-header":"hDrF24","uui-critical":"_6pnJck","uui-info":"q1o5-d","uui-success":"Q-cCT1","uui-warning":"_2AYp5X","uui-highlight":"Tu1oj5","uui-typography-size-12":"lrcp1D","uui-typography-size-14":"nGfuY-","uui-typography-size-16":"aaaUyI","root":"BmDWBR","uuiTypography":"RwszU7","heroHeader":"hkHmYn","promoHeader":"hDrF24","uuiCritical":"_6pnJck","uuiInfo":"q1o5-d","uuiSuccess":"Q-cCT1","uuiWarning":"_2AYp5X","uuiHighlight":"Tu1oj5","uuiTypographySize12":"lrcp1D","uuiTypographySize14":"nGfuY-","uuiTypographySize16":"aaaUyI"};
|
|
3595
3696
|
|
|
3596
3697
|
function applyCalendarPresetsMods() {
|
|
3597
3698
|
return [css$r.root];
|
|
3598
3699
|
}
|
|
3599
3700
|
const CalendarPresets = /* @__PURE__ */withMods(CalendarPresets$1, applyCalendarPresetsMods, () => ({}));
|
|
3600
3701
|
|
|
3601
|
-
var css$q = {"uui-typography":"
|
|
3702
|
+
var css$q = {"uui-typography":"ro5alQ","hero-header":"x3kQoE","promo-header":"zQZkA7","uui-critical":"tM6IKL","uui-info":"_2yLduF","uui-success":"_85MTql","uui-warning":"Sl-7n9","uui-highlight":"_9u1FjT","uui-typography-size-12":"o8VWux","uui-typography-size-14":"DIcZZN","uui-typography-size-16":"EkUjKD","root":"C7Pzc-","container":"OvAlcN","day-selection":"AOTXMK","from-picker":"v-wsey","to-picker":"vJZwv0","bodes-wrapper":"OWx25s","blocker":"krDtKb","uuiTypography":"ro5alQ","heroHeader":"x3kQoE","promoHeader":"zQZkA7","uuiCritical":"tM6IKL","uuiInfo":"_2yLduF","uuiSuccess":"_85MTql","uuiWarning":"Sl-7n9","uuiHighlight":"_9u1FjT","uuiTypographySize12":"o8VWux","uuiTypographySize14":"DIcZZN","uuiTypographySize16":"EkUjKD","daySelection":"AOTXMK","fromPicker":"v-wsey","toPicker":"vJZwv0","bodesWrapper":"OWx25s"};
|
|
3602
3703
|
|
|
3603
3704
|
const uuiRangeDatePickerBody = {
|
|
3604
3705
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3842,7 +3943,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3842
3943
|
}
|
|
3843
3944
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
3844
3945
|
|
|
3845
|
-
var css$p = {"root":"
|
|
3946
|
+
var css$p = {"root":"i0EH40","blocker":"hht29x","marker":"GFEFH2","top":"cQp6r3","bottom":"B-MMqb","left":"MjjmRM","right":"lKl6YG","inside":"TQrvTx"};
|
|
3846
3947
|
|
|
3847
3948
|
function DropMarker(props) {
|
|
3848
3949
|
return props.isDndInProgress
|
|
@@ -3857,7 +3958,7 @@ function DropMarker(props) {
|
|
|
3857
3958
|
: null;
|
|
3858
3959
|
}
|
|
3859
3960
|
|
|
3860
|
-
var css$o = {"uui-typography":"
|
|
3961
|
+
var css$o = {"uui-typography":"gQq95Z","hero-header":"dqDpI2","promo-header":"aa5HYz","uui-critical":"sjBzIm","uui-info":"vrenid","uui-success":"tam7wR","uui-warning":"nH9DXD","uui-highlight":"ddta2R","uui-typography-size-12":"LaFovX","uui-typography-size-14":"tcOxHY","uui-typography-size-16":"s--ozc","cell":"nkFylZ","wrapper":"v5Dhoy","align-widgets-top":"CbbPpT","size-24":"j0hlry","size-30":"CJZ-0H","size-36":"_1rKe8o","size-42":"Hn9QzZ","size-48":"J5FSdk","size-60":"OAZ7b4","align-widgets-center":"rafPGu","padding-6":"DkqUPl","padding-12":"igi945","padding-24":"sT26Qb","padding-left-12":"i6HyWr","padding-left-24":"_5-6UzN","padding-right-12":"G3KVEg","padding-right-24":"oxObhY","loading-cell":"_0hzE0Z","uuiTypography":"gQq95Z","heroHeader":"dqDpI2","promoHeader":"aa5HYz","uuiCritical":"sjBzIm","uuiInfo":"vrenid","uuiSuccess":"tam7wR","uuiWarning":"nH9DXD","uuiHighlight":"ddta2R","uuiTypographySize12":"LaFovX","uuiTypographySize14":"tcOxHY","uuiTypographySize16":"s--ozc","alignWidgetsTop":"CbbPpT","size24":"j0hlry","size30":"CJZ-0H","size36":"_1rKe8o","size42":"Hn9QzZ","size48":"J5FSdk","size60":"OAZ7b4","alignWidgetsCenter":"rafPGu","padding6":"DkqUPl","padding12":"igi945","padding24":"sT26Qb","paddingLeft12":"i6HyWr","paddingLeft24":"_5-6UzN","paddingRight12":"G3KVEg","paddingRight24":"oxObhY","loadingCell":"_0hzE0Z"};
|
|
3861
3962
|
|
|
3862
3963
|
function DataTableCell(props) {
|
|
3863
3964
|
props = Object.assign({}, props);
|
|
@@ -3905,7 +4006,7 @@ function DataTableCell(props) {
|
|
|
3905
4006
|
return React.createElement(DataTableCell$1, Object.assign({}, props));
|
|
3906
4007
|
}
|
|
3907
4008
|
|
|
3908
|
-
var css$n = {"uui-typography":"
|
|
4009
|
+
var css$n = {"uui-typography":"vqj6f1","hero-header":"-DFPc7","promo-header":"J3AaWI","uui-critical":"xyXHHy","uui-info":"Q8rUy7","uui-success":"oy-UfP","uui-warning":"pKOYqB","uui-highlight":"NpC9tt","uui-typography-size-12":"WYMkpX","uui-typography-size-14":"Swn5Tw","uui-typography-size-16":"QgL4kN","root":"H4BnD7","size-24":"_1klxpI","size-30":"mk-9Zz","size-36":"IZQo-M","size-48":"zyYQhm","size-60":"_4JLVdk","uuiTypography":"vqj6f1","heroHeader":"-DFPc7","promoHeader":"J3AaWI","uuiCritical":"xyXHHy","uuiInfo":"Q8rUy7","uuiSuccess":"oy-UfP","uuiWarning":"pKOYqB","uuiHighlight":"NpC9tt","uuiTypographySize12":"WYMkpX","uuiTypographySize14":"Swn5Tw","uuiTypographySize16":"QgL4kN","size24":"_1klxpI","size30":"mk-9Zz","size36":"IZQo-M","size48":"zyYQhm","size60":"_4JLVdk"};
|
|
3909
4010
|
|
|
3910
4011
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3911
4012
|
// As we need our mods to style the cell properly, we extract them from DataTableCellProps.rowProps, which is a hack, but it's reliable enough.
|
|
@@ -3921,7 +4022,7 @@ const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = t
|
|
|
3921
4022
|
];
|
|
3922
4023
|
}, () => propsMods);
|
|
3923
4024
|
|
|
3924
|
-
var css$m = {"uui-typography":"
|
|
4025
|
+
var css$m = {"uui-typography":"_7mERrP","hero-header":"hiO8NF","promo-header":"_-8qRy6","uui-critical":"lVLRQA","uui-info":"E512pu","uui-success":"XLqeMf","uui-warning":"La-tLE","uui-highlight":"M7Tx7K","uui-typography-size-12":"jCCZIU","uui-typography-size-14":"fB5C21","uui-typography-size-16":"H18nIl","sorting-panel-container":"mjM33Y","sort-active":"WhmiG-","uuiTypography":"_7mERrP","heroHeader":"hiO8NF","promoHeader":"_-8qRy6","uuiCritical":"lVLRQA","uuiInfo":"E512pu","uuiSuccess":"XLqeMf","uuiWarning":"La-tLE","uuiHighlight":"M7Tx7K","uuiTypographySize12":"jCCZIU","uuiTypographySize14":"fB5C21","uuiTypographySize16":"H18nIl","sortingPanelContainer":"mjM33Y","sortActive":"WhmiG-"};
|
|
3925
4026
|
|
|
3926
4027
|
var _path$g;
|
|
3927
4028
|
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
@@ -4051,7 +4152,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
4051
4152
|
};
|
|
4052
4153
|
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
4053
4154
|
|
|
4054
|
-
var css$l = {"uui-typography":"
|
|
4155
|
+
var css$l = {"uui-typography":"TsBCZC","hero-header":"-xolIv","promo-header":"_6IWa5c","uui-critical":"tRM3G3","uui-info":"RR9ZhD","uui-success":"ow0su2","uui-warning":"IBnaLu","uui-highlight":"pdmbJ5","uui-typography-size-12":"vKW7WX","uui-typography-size-14":"WW1PXe","uui-typography-size-16":"HUEb56","cell":"_6mM5uY","column-gap-12":"G9gKXu","caption-wrapper":"-bevo5","column-gap-24":"_306Gfl","first-column-12":"_9KwxLS","last-column-12":"ScFclI","first-column-24":"Wemmli","last-column-24":"TIP0p-","sort-icon":"QFXTvt","dropdown-icon":"M6K66i","infoIcon":"_02Ofwx","resizable":"N-W-1j","size-24":"vKV8GL","size-30":"mQwTOg","size-36":"y3AlXm","size-42":"LeM7LQ","size-48":"GsyF3e","padding-left-24":"L7Bfho","padding-right-24":"QFwFZW","align-right":"OwaqGP","align-center":"jMj8hJ","caption":"ihHHHP","checkbox":"jnZfl0","icon":"HABogn","fold-all-icon":"IPly9Q","cell-tooltip":"-fKpKM","upper-case":"J1u-yl","font-size-14":"Ps-yCr","resize-mark":"_0c1-5J","resize-mark-6":"lVHeUI","resize-mark-12":"vIj5jd","pinned-right":"lqdMdJ","draggable":"ZgxKyp","ghost":"UhJw6M","is-dragged-out":"qP24RO","dnd-marker-left":"pZjdQF","dnd-marker-right":"-PFgOr","cell-tooltip-wrapper":"IcvVQn","cell-tooltip-text":"r9pP0H","uuiTypography":"TsBCZC","heroHeader":"-xolIv","promoHeader":"_6IWa5c","uuiCritical":"tRM3G3","uuiInfo":"RR9ZhD","uuiSuccess":"ow0su2","uuiWarning":"IBnaLu","uuiHighlight":"pdmbJ5","uuiTypographySize12":"vKW7WX","uuiTypographySize14":"WW1PXe","uuiTypographySize16":"HUEb56","columnGap12":"G9gKXu","captionWrapper":"-bevo5","columnGap24":"_306Gfl","firstColumn12":"_9KwxLS","lastColumn12":"ScFclI","firstColumn24":"Wemmli","lastColumn24":"TIP0p-","sortIcon":"QFXTvt","dropdownIcon":"M6K66i","size24":"vKV8GL","size30":"mQwTOg","size36":"y3AlXm","size42":"LeM7LQ","size48":"GsyF3e","paddingLeft24":"L7Bfho","paddingRight24":"QFwFZW","alignRight":"OwaqGP","alignCenter":"jMj8hJ","foldAllIcon":"IPly9Q","cellTooltip":"-fKpKM","upperCase":"J1u-yl","fontSize14":"Ps-yCr","resizeMark":"_0c1-5J","resizeMark6":"lVHeUI","resizeMark12":"vIj5jd","pinnedRight":"lqdMdJ","isDraggedOut":"qP24RO","dndMarkerLeft":"pZjdQF","dndMarkerRight":"-PFgOr","cellTooltipWrapper":"IcvVQn","cellTooltipText":"r9pP0H"};
|
|
4055
4156
|
|
|
4056
4157
|
class DataTableHeaderCell extends React.Component {
|
|
4057
4158
|
constructor() {
|
|
@@ -4133,14 +4234,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
4133
4234
|
};
|
|
4134
4235
|
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
4135
4236
|
|
|
4136
|
-
var css$k = {"uui-typography":"
|
|
4237
|
+
var css$k = {"uui-typography":"K29GD0","hero-header":"Nu9diV","promo-header":"oVgIcK","uui-critical":"nMTrn6","uui-info":"_70NqqR","uui-success":"rfR2HW","uui-warning":"lFyOX5","uui-highlight":"llrn8P","uui-typography-size-12":"vDbjG-","uui-typography-size-14":"dUEROG","uui-typography-size-16":"NllYOh","header-cell":"gCbSIj","truncate":"OYL8zt","uuiTypography":"K29GD0","heroHeader":"Nu9diV","promoHeader":"oVgIcK","uuiCritical":"nMTrn6","uuiInfo":"_70NqqR","uuiSuccess":"rfR2HW","uuiWarning":"lFyOX5","uuiHighlight":"llrn8P","uuiTypographySize12":"vDbjG-","uuiTypographySize14":"dUEROG","uuiTypographySize16":"NllYOh","headerCell":"gCbSIj"};
|
|
4137
4238
|
|
|
4138
4239
|
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, (props) => [css$k.root, 'uui-dt-vars', props.size === '48' && css$k.truncate], (mods) => ({
|
|
4139
4240
|
renderCell: (props) => React.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
4140
4241
|
renderConfigButton: () => React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: "config-icon", color: "neutral", icon: ForwardRef$9 }),
|
|
4141
4242
|
}));
|
|
4142
4243
|
|
|
4143
|
-
var styles$1 = {"uui-typography":"
|
|
4244
|
+
var styles$1 = {"uui-typography":"B58szP","hero-header":"VDXNHI","promo-header":"rHy1L1","uui-critical":"RYXSUx","uui-info":"Mjc4Eg","uui-success":"zgVTnn","uui-warning":"_1qX9uf","uui-highlight":"ycEflC","uui-typography-size-12":"ZNAskm","uui-typography-size-14":"C33x9-","uui-typography-size-16":"lZKn09","main-panel":"I7VimD","group-title":"_16seTe","group-title-text":"tHGIVJ","group-title-badge":"_3BVB3q","group-items":"naUxCP","no-data":"Cp3x3a","h-divider":"_-3i4iC","search-area":"_1bQXI9","subgroup-accordion":"gMciAO","subgroup-title":"tp5N8N","uuiTypography":"B58szP","heroHeader":"VDXNHI","promoHeader":"rHy1L1","uuiCritical":"RYXSUx","uuiInfo":"Mjc4Eg","uuiSuccess":"zgVTnn","uuiWarning":"_1qX9uf","uuiHighlight":"ycEflC","uuiTypographySize12":"ZNAskm","uuiTypographySize14":"C33x9-","uuiTypographySize16":"lZKn09","mainPanel":"I7VimD","groupTitle":"_16seTe","groupTitleText":"tHGIVJ","groupTitleBadge":"_3BVB3q","groupItems":"naUxCP","noData":"Cp3x3a","hDivider":"_-3i4iC","searchArea":"_1bQXI9","subgroupAccordion":"gMciAO","subgroupTitle":"tp5N8N"};
|
|
4144
4245
|
|
|
4145
4246
|
var _path$8;
|
|
4146
4247
|
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
@@ -4197,7 +4298,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4197
4298
|
};
|
|
4198
4299
|
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
4199
4300
|
|
|
4200
|
-
var css$j = {"unpin-icon":"
|
|
4301
|
+
var css$j = {"unpin-icon":"_1-E4LA","pin-toggler-icon":"lWl0dl","unpinIcon":"_1-E4LA","pinTogglerIcon":"lWl0dl"};
|
|
4201
4302
|
|
|
4202
4303
|
function PinIconButton(props) {
|
|
4203
4304
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4256,7 +4357,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4256
4357
|
};
|
|
4257
4358
|
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgActionDragIndicator18);
|
|
4258
4359
|
|
|
4259
|
-
var styles = {"uui-typography":"
|
|
4360
|
+
var styles = {"uui-typography":"FONkcc","hero-header":"puRmkH","promo-header":"aL2Skp","uui-critical":"K2XpkK","uui-info":"LKyJTS","uui-success":"deYmFZ","uui-warning":"Q0pCmC","uui-highlight":"zTnvYJ","uui-typography-size-12":"YZUXR3","uui-typography-size-14":"fs1U2q","uui-typography-size-16":"vSvynD","row-wrapper":"EMn0hg","not-pinned":"_3xALIi","pin-icon-button":"YzXR8U","checkbox":"_9l1w2d","drag-handle":"fjFR6D","dnd-disabled":"mcP3YM","uuiTypography":"FONkcc","heroHeader":"puRmkH","promoHeader":"aL2Skp","uuiCritical":"K2XpkK","uuiInfo":"LKyJTS","uuiSuccess":"deYmFZ","uuiWarning":"Q0pCmC","uuiHighlight":"zTnvYJ","uuiTypographySize12":"YZUXR3","uuiTypographySize14":"fs1U2q","uuiTypographySize16":"vSvynD","rowWrapper":"EMn0hg","notPinned":"_3xALIi","pinIconButton":"YzXR8U","dragHandle":"fjFR6D","dndDisabled":"mcP3YM"};
|
|
4260
4361
|
|
|
4261
4362
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4262
4363
|
const { column } = props;
|
|
@@ -4365,7 +4466,7 @@ function SubGroup(props) {
|
|
|
4365
4466
|
return null;
|
|
4366
4467
|
}
|
|
4367
4468
|
|
|
4368
|
-
var css$i = {"listContainer":"
|
|
4469
|
+
var css$i = {"listContainer":"F0fiuq","header":"zmGP07","group":"wf4X3B","stickyHeader":"MUpWCu"};
|
|
4369
4470
|
|
|
4370
4471
|
const getChildrenAndRest = (row, rows) => {
|
|
4371
4472
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4431,7 +4532,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4431
4532
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4432
4533
|
ref: ref
|
|
4433
4534
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
4434
|
-
clipPath: "url(#
|
|
4535
|
+
clipPath: "url(#esdeke43b19eluuq7_a)"
|
|
4435
4536
|
}, _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4436
4537
|
d: "M150.585 1.535C49.483-11.495 27.481 61.805 45.725 97.481c10.581 20.69-39.64 70.792 17.744 81.468 27.538 5.123 36-13.341 62.433-10.655 35.4 3.6 148.167-4.73 88.349-78.915-31.713-39.335 1.026-79.506-63.666-87.844Z",
|
|
4437
4538
|
fill: "#F5F6FA"
|
|
@@ -4452,7 +4553,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4452
4553
|
d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
|
|
4453
4554
|
fill: "#1D1E26"
|
|
4454
4555
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
4455
|
-
id: "
|
|
4556
|
+
id: "esdekekbrjmrcuq3l_b",
|
|
4456
4557
|
style: {
|
|
4457
4558
|
maskType: "alpha"
|
|
4458
4559
|
},
|
|
@@ -4465,7 +4566,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4465
4566
|
d: "M174.887 125.586h-88.1c-2.752 0-5.38-2.234-5.38-4.986V27.534c0-2.752 2.644-4.966 5.38-4.966h88.1c2.752 0 5.4 2.23 5.4 4.966V120.6c0 2.752-2.632 4.986-5.4 4.986Z",
|
|
4466
4567
|
fill: "#9BDEFF"
|
|
4467
4568
|
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
4468
|
-
mask: "url(#
|
|
4569
|
+
mask: "url(#esdekekbrjmrcuq3l_b)",
|
|
4469
4570
|
fillRule: "evenodd",
|
|
4470
4571
|
clipRule: "evenodd"
|
|
4471
4572
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -4551,7 +4652,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4551
4652
|
d: "M24.73 96.184a.414.414 0 0 1 .581.06l48.646 59.751a.413.413 0 1 1-.642.523L24.67 96.766a.414.414 0 0 1 .06-.582Z",
|
|
4552
4653
|
fill: "#fff"
|
|
4553
4654
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
4554
|
-
id: "
|
|
4655
|
+
id: "esdeke43b19eluuq7_a"
|
|
4555
4656
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4556
4657
|
fill: "#fff",
|
|
4557
4658
|
transform: "translate(.552)",
|
|
@@ -4560,7 +4661,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4560
4661
|
};
|
|
4561
4662
|
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
4562
4663
|
|
|
4563
|
-
var css$h = {"sticky-header":"
|
|
4664
|
+
var css$h = {"sticky-header":"JcYgTB","table":"nepd--","no-results":"-XqXIQ","no-results-icon":"PEd92F","no-results-title":"otqGrR","stickyHeader":"JcYgTB","noResults":"-XqXIQ","noResultsIcon":"PEd92F","noResultsTitle":"otqGrR"};
|
|
4564
4665
|
|
|
4565
4666
|
const DEFAULT_HEADER_SIZE = '36';
|
|
4566
4667
|
const DEFAULT_COLUMN_GAP = '24';
|
|
@@ -4613,9 +4714,9 @@ function DataTable(props) {
|
|
|
4613
4714
|
} }))));
|
|
4614
4715
|
}
|
|
4615
4716
|
|
|
4616
|
-
var css$g = {"root":"
|
|
4717
|
+
var css$g = {"root":"otWLCD"};
|
|
4617
4718
|
|
|
4618
|
-
var css$f = {"root":"
|
|
4719
|
+
var css$f = {"root":"-J4Tnn","burger-content":"xx9lPR","burgerContent":"xx9lPR"};
|
|
4619
4720
|
|
|
4620
4721
|
var _path$3;
|
|
4621
4722
|
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
@@ -4658,7 +4759,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
4658
4759
|
};
|
|
4659
4760
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
4660
4761
|
|
|
4661
|
-
var css$e = {"uui-typography":"
|
|
4762
|
+
var css$e = {"uui-typography":"TDj1G6","hero-header":"daV45T","promo-header":"aN8-7e","uui-critical":"Tm9hUC","uui-info":"Pfv-u1","uui-success":"hL1cPx","uui-warning":"jMpmOZ","uui-highlight":"o1IgXz","uui-typography-size-12":"SK7V-5","uui-typography-size-14":"gg1Fov","uui-typography-size-16":"CSP2V2","root":"DofBmi","button-primary":"bcSbCe","button-secondary":"dTcwyP","hasIcon":"apkDn0","dropdown":"wDdYkH","uuiTypography":"TDj1G6","heroHeader":"daV45T","promoHeader":"aN8-7e","uuiCritical":"Tm9hUC","uuiInfo":"Pfv-u1","uuiSuccess":"hL1cPx","uuiWarning":"jMpmOZ","uuiHighlight":"o1IgXz","uuiTypographySize12":"SK7V-5","uuiTypographySize14":"gg1Fov","uuiTypographySize16":"CSP2V2","buttonPrimary":"bcSbCe","buttonSecondary":"dTcwyP"};
|
|
4662
4763
|
|
|
4663
4764
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
4664
4765
|
css$e.root,
|
|
@@ -4669,13 +4770,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
4669
4770
|
props.icon && css$e.hasIcon,
|
|
4670
4771
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
4671
4772
|
|
|
4672
|
-
var css$d = {"search-input":"
|
|
4773
|
+
var css$d = {"search-input":"_7ppRWK","searchInput":"_7ppRWK"};
|
|
4673
4774
|
|
|
4674
4775
|
function BurgerSearch(props) {
|
|
4675
4776
|
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$N, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$Q }));
|
|
4676
4777
|
}
|
|
4677
4778
|
|
|
4678
|
-
var css$c = {"root":"
|
|
4779
|
+
var css$c = {"root":"L6uhEO","group-header":"X1nQZG","group-name":"pnh51f","line":"hUOqPp","groupHeader":"X1nQZG","groupName":"pnh51f"};
|
|
4679
4780
|
|
|
4680
4781
|
function BurgerGroupHeader(props) {
|
|
4681
4782
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4683,7 +4784,7 @@ function BurgerGroupHeader(props) {
|
|
|
4683
4784
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
4684
4785
|
}
|
|
4685
4786
|
|
|
4686
|
-
var css$b = {"uui-typography":"
|
|
4787
|
+
var css$b = {"uui-typography":"FuExj4","hero-header":"oHn-pM","promo-header":"_4kcGyG","uui-critical":"Lvl1Jw","uui-info":"AXfP-L","uui-success":"BBioqw","uui-warning":"zbrATC","uui-highlight":"UHyM6x","uui-typography-size-12":"eJWjlO","uui-typography-size-14":"IsdoDw","uui-typography-size-16":"OsJ2Ub","root":"ELwsSo","type-primary":"xH0SON","type-secondary":"iODMQI","uuiTypography":"FuExj4","heroHeader":"oHn-pM","promoHeader":"_4kcGyG","uuiCritical":"Lvl1Jw","uuiInfo":"AXfP-L","uuiSuccess":"BBioqw","uuiWarning":"zbrATC","uuiHighlight":"UHyM6x","uuiTypographySize12":"eJWjlO","uuiTypographySize14":"IsdoDw","uuiTypographySize16":"OsJ2Ub","typePrimary":"xH0SON","typeSecondary":"iODMQI"};
|
|
4687
4788
|
|
|
4688
4789
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
4689
4790
|
const { type } = props, clickableProps = __rest(props, ["type"]);
|
|
@@ -4699,7 +4800,7 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
4699
4800
|
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
4700
4801
|
});
|
|
4701
4802
|
|
|
4702
|
-
var css$a = {"dropdown-body":"
|
|
4803
|
+
var css$a = {"dropdown-body":"E3MbTV","dropdownBody":"E3MbTV"};
|
|
4703
4804
|
|
|
4704
4805
|
class MainMenuDropdown extends React.Component {
|
|
4705
4806
|
render() {
|
|
@@ -4754,12 +4855,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
4754
4855
|
};
|
|
4755
4856
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
4756
4857
|
|
|
4757
|
-
var css$9 = {"global-menu-btn":"
|
|
4858
|
+
var css$9 = {"global-menu-btn":"X9heht","global-menu-icon":"Fqtizm","globalMenuBtn":"X9heht","globalMenuIcon":"Fqtizm"};
|
|
4758
4859
|
|
|
4759
4860
|
const GlobalMenu = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx(css$9.globalMenuBtn, props.cx) }, props.rawProps),
|
|
4760
4861
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
4761
4862
|
|
|
4762
|
-
var css$8 = {"container":"
|
|
4863
|
+
var css$8 = {"container":"LCyLIc","open":"lnWX1s"};
|
|
4763
4864
|
|
|
4764
4865
|
const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
4765
4866
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -4767,18 +4868,18 @@ const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.cr
|
|
|
4767
4868
|
props.isDropdown && (React.createElement("div", null,
|
|
4768
4869
|
React.createElement(IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen }))))));
|
|
4769
4870
|
|
|
4770
|
-
var css$7 = {"search-input":"
|
|
4871
|
+
var css$7 = {"search-input":"bGo9U1","searchInput":"bGo9U1"};
|
|
4771
4872
|
|
|
4772
4873
|
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4773
4874
|
var _a;
|
|
4774
4875
|
return (React.createElement(TextInput$1, Object.assign({ iconPosition: "left", icon: ForwardRef$N, cancelIcon: ((_a = props.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && ForwardRef$Q }, props, iEditable, { ref: ref, cx: cx$1(css$7.searchInput, props.cx) }, props.rawProps)));
|
|
4775
4876
|
} }))));
|
|
4776
4877
|
|
|
4777
|
-
var css$6 = {"container":"
|
|
4878
|
+
var css$6 = {"container":"uu4pcN"};
|
|
4778
4879
|
|
|
4779
4880
|
const MainMenuIcon = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: cx$1(props.cx, css$6.container) }, props))));
|
|
4780
4881
|
|
|
4781
|
-
var css$5 = {"root":"
|
|
4882
|
+
var css$5 = {"root":"mF8NCi"};
|
|
4782
4883
|
|
|
4783
4884
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
4784
4885
|
|
|
@@ -4836,7 +4937,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
4836
4937
|
};
|
|
4837
4938
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
4838
4939
|
|
|
4839
|
-
var css$4 = {"root":"
|
|
4940
|
+
var css$4 = {"root":"izug49","drop-start":"w0aJtS","drop-over":"xpUg8P","link":"IEyekd","drop-area":"dDSQZa","drop-caption":"_17bd6g","icon-blue":"IJMhlB","dropStart":"w0aJtS","dropOver":"xpUg8P","dropArea":"dDSQZa","dropCaption":"_17bd6g","iconBlue":"IJMhlB"};
|
|
4840
4941
|
|
|
4841
4942
|
function DropSpot(props) {
|
|
4842
4943
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -4854,9 +4955,9 @@ function DropSpot(props) {
|
|
|
4854
4955
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
4855
4956
|
}
|
|
4856
4957
|
|
|
4857
|
-
var css$3 = {"uui-typography":"
|
|
4958
|
+
var css$3 = {"uui-typography":"VBhi32","hero-header":"_3YWKPO","promo-header":"hkioxu","uui-critical":"lUGHTE","uui-info":"ODV4hF","uui-success":"cISo5S","uui-warning":"IAZXED","uui-highlight":"IxJszx","uui-typography-size-12":"lfS4A-","uui-typography-size-14":"a1FSJE","uui-typography-size-16":"_9An-WY","root":"gC5Z1Y","file-name":"PoA8k3","default-color":"_8lNErv","doc-color":"tDc8iY","xls-color":"bOiTJy","pdf-color":"xqqoOE","movie-color":"_4TklMC","img-color":"lA7EHk","mov-color":"CCiUhS","error-block":"-Bk-m9","icons-block":"mDxBSl","uuiTypography":"VBhi32","heroHeader":"_3YWKPO","promoHeader":"hkioxu","uuiCritical":"lUGHTE","uuiInfo":"ODV4hF","uuiSuccess":"cISo5S","uuiWarning":"IAZXED","uuiHighlight":"IxJszx","uuiTypographySize12":"lfS4A-","uuiTypographySize14":"a1FSJE","uuiTypographySize16":"_9An-WY","fileName":"PoA8k3","defaultColor":"_8lNErv","docColor":"tDc8iY","xlsColor":"bOiTJy","pdfColor":"xqqoOE","movieColor":"_4TklMC","imgColor":"lA7EHk","movColor":"CCiUhS","errorBlock":"-Bk-m9","iconsBlock":"mDxBSl"};
|
|
4858
4959
|
|
|
4859
|
-
var css$2 = {"root":"
|
|
4960
|
+
var css$2 = {"root":"ixXlun"};
|
|
4860
4961
|
|
|
4861
4962
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
4862
4963
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -4981,7 +5082,7 @@ const getErrorPageConfig = () => ({
|
|
|
4981
5082
|
},
|
|
4982
5083
|
});
|
|
4983
5084
|
|
|
4984
|
-
var css$1 = {"container":"
|
|
5085
|
+
var css$1 = {"container":"AbKtZD"};
|
|
4985
5086
|
|
|
4986
5087
|
const ErrorPage = (props) => {
|
|
4987
5088
|
const isMobileScreen = isMobile();
|
|
@@ -4992,7 +5093,7 @@ const ErrorPage = (props) => {
|
|
|
4992
5093
|
React__default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle))));
|
|
4993
5094
|
};
|
|
4994
5095
|
|
|
4995
|
-
var css = {"recovery-spinner":"
|
|
5096
|
+
var css = {"recovery-spinner":"a0Q0Hv","recovery-message":"axdvSE","modal-blocker":"_68MC4D","modalFadeIn":"_7iNHQg","recoverySpinner":"a0Q0Hv","recoveryMessage":"axdvSE","modalBlocker":"_68MC4D"};
|
|
4996
5097
|
|
|
4997
5098
|
function ErrorHandler(props) {
|
|
4998
5099
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5043,5 +5144,5 @@ function ErrorHandler(props) {
|
|
|
5043
5144
|
errorType === 'recovery' && renderRecoveryBlocker(errorInfo)));
|
|
5044
5145
|
}
|
|
5045
5146
|
|
|
5046
|
-
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, MobileDropdownWrapper, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, getTextClasses, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5147
|
+
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, MobileDropdownWrapper, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, getTextClasses, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5047
5148
|
//# sourceMappingURL=index.esm.js.map
|