@epam/uui 5.8.1-alpha.0 → 5.8.1-y.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.map +1 -1
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +3 -2
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/buttons/TabButton.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/datePickers/types.d.ts +17 -9
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +8 -4
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/NumericInput.d.ts.map +1 -1
- package/components/inputs/RadioInput.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePicker.d.ts +2 -47
- package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePickerBody.d.ts +2 -13
- package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -1
- package/components/inputs/timePicker/index.d.ts +1 -0
- package/components/inputs/timePicker/index.d.ts.map +1 -1
- package/components/inputs/timePicker/types.d.ts +63 -0
- package/components/inputs/timePicker/types.d.ts.map +1 -0
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +8 -3
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts +3 -3
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +6 -2
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts.map +1 -1
- package/components/pickers/DataPickerRow.d.ts +9 -4
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/MobileDropdownWrapper.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +7 -2
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts +7 -2
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerList.d.ts +7 -2
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +2 -0
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +8 -2
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/pickers/types.d.ts +2 -0
- package/components/pickers/types.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +1 -1
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts +3 -2
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +2 -2
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/components/widgets/Tag.d.ts +5 -5
- package/components/widgets/Tag.d.ts.map +1 -1
- package/helpers/textLayout.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +455 -323
- package/index.esm.js.map +1 -1
- package/index.js +454 -321
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +6 -1
- package/settings.d.ts +3 -0
- package/settings.d.ts.map +1 -0
- package/settings.types.d.ts +139 -0
- package/settings.types.d.ts.map +1 -0
- package/stats.html +1 -1
- package/styles.css +3085 -4054
- 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, useDocumentDir, 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,226 @@ const systemIcons = {
|
|
|
281
281
|
info: ForwardRef$L,
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
-
|
|
284
|
+
const settings = {
|
|
285
|
+
sizes: {
|
|
286
|
+
defaults: {
|
|
287
|
+
badge: '36',
|
|
288
|
+
button: '36',
|
|
289
|
+
checkbox: '18',
|
|
290
|
+
countIndicator: '24',
|
|
291
|
+
dataPickerCell: '36',
|
|
292
|
+
linkButton: '36',
|
|
293
|
+
numericInput: '36',
|
|
294
|
+
pickerToggler: '36',
|
|
295
|
+
pickerItem: '36',
|
|
296
|
+
radioInput: '18',
|
|
297
|
+
switch: '18',
|
|
298
|
+
tabButton: '48',
|
|
299
|
+
tag: '36',
|
|
300
|
+
text: '36',
|
|
301
|
+
textArea: '36',
|
|
302
|
+
textInput: '36',
|
|
303
|
+
rangeDatePicker: '36',
|
|
304
|
+
datePicker: '36',
|
|
305
|
+
labeledInput: '36',
|
|
306
|
+
statusIndicator: '24',
|
|
307
|
+
},
|
|
308
|
+
tag: {
|
|
309
|
+
countIndicator: {
|
|
310
|
+
18: '12',
|
|
311
|
+
24: '18',
|
|
312
|
+
30: '18',
|
|
313
|
+
36: '18',
|
|
314
|
+
42: '24',
|
|
315
|
+
48: '24',
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
mobileDropdownWrapper: {
|
|
319
|
+
linkButton: '48',
|
|
320
|
+
},
|
|
321
|
+
pickerInput: {
|
|
322
|
+
height: 300,
|
|
323
|
+
width: 360,
|
|
324
|
+
rowSize: {
|
|
325
|
+
mobile: '48',
|
|
326
|
+
modal: '36',
|
|
327
|
+
padding: {
|
|
328
|
+
modal: '24',
|
|
329
|
+
default: '12',
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
pickerToggler: {
|
|
334
|
+
tag: {
|
|
335
|
+
24: '18',
|
|
336
|
+
30: '24',
|
|
337
|
+
36: '30',
|
|
338
|
+
42: '36',
|
|
339
|
+
48: '42',
|
|
340
|
+
60: '48',
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
dataPickerHeader: {
|
|
344
|
+
text: {
|
|
345
|
+
fontWeight: '600',
|
|
346
|
+
size: '48',
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
dataPickerBody: {
|
|
350
|
+
flexCell: {
|
|
351
|
+
default: '36',
|
|
352
|
+
},
|
|
353
|
+
searchInput: {
|
|
354
|
+
mobile: '48',
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
pickerItem: {
|
|
358
|
+
avatar: {
|
|
359
|
+
rest: {
|
|
360
|
+
24: '18',
|
|
361
|
+
30: '24',
|
|
362
|
+
36: '30',
|
|
363
|
+
42: '36',
|
|
364
|
+
48: '36', // no design
|
|
365
|
+
},
|
|
366
|
+
multiline: {
|
|
367
|
+
24: '30',
|
|
368
|
+
30: '30',
|
|
369
|
+
36: '36',
|
|
370
|
+
42: '42',
|
|
371
|
+
48: '48', // no design
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
dataPickerCell: {
|
|
376
|
+
isBoldIcon: {
|
|
377
|
+
24: true,
|
|
378
|
+
},
|
|
379
|
+
padding: {
|
|
380
|
+
default: '12',
|
|
381
|
+
},
|
|
382
|
+
paddingLeft: {
|
|
383
|
+
default: '24',
|
|
384
|
+
},
|
|
385
|
+
text: {
|
|
386
|
+
24: '24',
|
|
387
|
+
30: '30',
|
|
388
|
+
36: '36',
|
|
389
|
+
42: '42',
|
|
390
|
+
48: '48',
|
|
391
|
+
60: '48',
|
|
392
|
+
},
|
|
393
|
+
icon: {
|
|
394
|
+
24: '12',
|
|
395
|
+
30: '18',
|
|
396
|
+
36: '18',
|
|
397
|
+
42: '24',
|
|
398
|
+
48: '24',
|
|
399
|
+
60: '24',
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
dataPickerRow: {
|
|
403
|
+
padding: {
|
|
404
|
+
default: '24',
|
|
405
|
+
},
|
|
406
|
+
dataPickerCell: {
|
|
407
|
+
default: '36',
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
dataPickerFooter: {
|
|
411
|
+
flexRowPadding: '12',
|
|
412
|
+
switch: {
|
|
413
|
+
24: '12',
|
|
414
|
+
30: '18',
|
|
415
|
+
36: '36',
|
|
416
|
+
42: '24',
|
|
417
|
+
48: '24',
|
|
418
|
+
},
|
|
419
|
+
linkButton: {
|
|
420
|
+
24: '24',
|
|
421
|
+
30: '30',
|
|
422
|
+
36: '36',
|
|
423
|
+
42: '42',
|
|
424
|
+
48: '48',
|
|
425
|
+
mobile: '48',
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
rowAddons: {
|
|
429
|
+
checkbox: {
|
|
430
|
+
24: '12',
|
|
431
|
+
30: '18',
|
|
432
|
+
36: '18',
|
|
433
|
+
42: '18',
|
|
434
|
+
48: '18',
|
|
435
|
+
60: '18',
|
|
436
|
+
},
|
|
437
|
+
icon: {
|
|
438
|
+
24: '12',
|
|
439
|
+
30: '18',
|
|
440
|
+
36: '18',
|
|
441
|
+
42: '24',
|
|
442
|
+
48: '24',
|
|
443
|
+
60: '24',
|
|
444
|
+
},
|
|
445
|
+
indentUnit: {
|
|
446
|
+
24: 6,
|
|
447
|
+
30: 12,
|
|
448
|
+
36: 12,
|
|
449
|
+
42: 24,
|
|
450
|
+
48: 24,
|
|
451
|
+
60: 24,
|
|
452
|
+
default: 24,
|
|
453
|
+
},
|
|
454
|
+
indentWidth: {
|
|
455
|
+
24: 12,
|
|
456
|
+
30: 18,
|
|
457
|
+
36: 18,
|
|
458
|
+
42: 24,
|
|
459
|
+
48: 24,
|
|
460
|
+
60: 24,
|
|
461
|
+
default: 12,
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
text: {
|
|
465
|
+
18: { lineHeight: 12, fontSize: 10 },
|
|
466
|
+
24: { lineHeight: 18, fontSize: 12 },
|
|
467
|
+
30: { lineHeight: 18, fontSize: 14 },
|
|
468
|
+
36: { lineHeight: 18, fontSize: 14 },
|
|
469
|
+
42: { lineHeight: 24, fontSize: 16 },
|
|
470
|
+
48: { lineHeight: 24, fontSize: 16 },
|
|
471
|
+
60: { lineHeight: 30, fontSize: 24 },
|
|
472
|
+
},
|
|
473
|
+
filterPickerBody: {
|
|
474
|
+
pickerItem: '36',
|
|
475
|
+
dataPickerRow: '36',
|
|
476
|
+
dataPickerFooter: '36',
|
|
477
|
+
searchSize: '36',
|
|
478
|
+
},
|
|
479
|
+
labeledInput: {
|
|
480
|
+
fillIcon: ['24', '30'],
|
|
481
|
+
},
|
|
482
|
+
badge: {
|
|
483
|
+
countIndicator: {
|
|
484
|
+
18: '12',
|
|
485
|
+
24: '18',
|
|
486
|
+
30: '18',
|
|
487
|
+
36: '18',
|
|
488
|
+
42: '24',
|
|
489
|
+
48: '24',
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
var css$1s = {"uui-typography":"_7rwaF-","hero-header":"FNQS-7","promo-header":"S-YEtF","uui-critical":"Zoda-c","uui-info":"rxWuVc","uui-success":"VPent4","uui-warning":"Lz-qyz","uui-highlight":"wwfwhQ","uui-typography-size-12":"e9tAkl","uui-typography-size-14":"kzTrZf","uui-typography-size-16":"_6UrGbu","root":"t2sjl9","uuiTypography":"_7rwaF-","heroHeader":"FNQS-7","promoHeader":"S-YEtF","uuiCritical":"Zoda-c","uuiInfo":"rxWuVc","uuiSuccess":"VPent4","uuiWarning":"Lz-qyz","uuiHighlight":"wwfwhQ","uuiTypographySize12":"e9tAkl","uuiTypographySize14":"kzTrZf","uuiTypographySize16":"_6UrGbu"};
|
|
285
496
|
|
|
286
|
-
const DEFAULT_SIZE$8 = '36';
|
|
287
497
|
function applyButtonMods(mods) {
|
|
288
498
|
return [
|
|
289
499
|
css$1s.root,
|
|
290
500
|
'uui-button',
|
|
291
501
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
292
502
|
`uui-color-${mods.color || 'primary'}`,
|
|
293
|
-
`uui-size-${mods.size ||
|
|
503
|
+
`uui-size-${mods.size || settings.sizes.defaults.button}`,
|
|
294
504
|
];
|
|
295
505
|
}
|
|
296
506
|
const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, () => {
|
|
@@ -300,7 +510,7 @@ const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, ()
|
|
|
300
510
|
};
|
|
301
511
|
});
|
|
302
512
|
|
|
303
|
-
var css$1r = {"root":"
|
|
513
|
+
var css$1r = {"root":"_2DZVcI"};
|
|
304
514
|
|
|
305
515
|
function applyIconButtonMods(props) {
|
|
306
516
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
|
|
@@ -317,7 +527,6 @@ const IconButton = /* @__PURE__ */withMods(uuiComponents.IconButton, applyIconBu
|
|
|
317
527
|
}
|
|
318
528
|
return {
|
|
319
529
|
dropdownIcon: props.dropdownIcon || systemIcons.foldingArrow,
|
|
320
|
-
size: props.size && Number(props.size),
|
|
321
530
|
};
|
|
322
531
|
});
|
|
323
532
|
|
|
@@ -338,15 +547,14 @@ function getIconClass(props) {
|
|
|
338
547
|
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
548
|
}
|
|
340
549
|
|
|
341
|
-
var css$1q = {"uui-typography":"
|
|
550
|
+
var css$1q = {"uui-typography":"P9kjmu","hero-header":"VILt-X","promo-header":"_7kMeX3","uui-critical":"wzvdPG","uui-info":"ya7Eao","uui-success":"UV-hmw","uui-warning":"_8SYYiZ","uui-highlight":"wJsw9t","uui-typography-size-12":"cMY2Ng","uui-typography-size-14":"ASE4Wf","uui-typography-size-16":"vVKPae","root":"iM9ba4","uuiTypography":"P9kjmu","heroHeader":"VILt-X","promoHeader":"_7kMeX3","uuiCritical":"wzvdPG","uuiInfo":"ya7Eao","uuiSuccess":"UV-hmw","uuiWarning":"_8SYYiZ","uuiHighlight":"wJsw9t","uuiTypographySize12":"cMY2Ng","uuiTypographySize14":"ASE4Wf","uuiTypographySize16":"vVKPae"};
|
|
342
551
|
|
|
343
|
-
const DEFAULT_SIZE$7 = '36';
|
|
344
552
|
const DEFAULT_COLOR = 'primary';
|
|
345
553
|
function applyLinkButtonMods(mods) {
|
|
346
554
|
return [
|
|
347
555
|
'uui-link_button',
|
|
348
556
|
css$1q.root,
|
|
349
|
-
`uui-size-${mods.size ||
|
|
557
|
+
`uui-size-${mods.size || settings.sizes.defaults.linkButton}`,
|
|
350
558
|
...getIconClass(mods),
|
|
351
559
|
`uui-color-${mods.color || DEFAULT_COLOR}`,
|
|
352
560
|
];
|
|
@@ -370,25 +578,25 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
370
578
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
371
579
|
});
|
|
372
580
|
|
|
373
|
-
var css$1p = {"root":"
|
|
581
|
+
var css$1p = {"root":"TL8nGm"};
|
|
374
582
|
|
|
375
583
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
376
584
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
377
585
|
css$1p.root,
|
|
378
586
|
'uui-count_indicator',
|
|
379
|
-
|
|
587
|
+
`uui-size-${props.size || settings.sizes.defaults.countIndicator}`,
|
|
380
588
|
props.color && `uui-color-${props.color}`,
|
|
381
589
|
props.cx,
|
|
382
590
|
]) }, props.caption));
|
|
383
591
|
});
|
|
384
592
|
|
|
385
|
-
var css$1o = {"uui-typography":"
|
|
593
|
+
var css$1o = {"uui-typography":"_76lWT6","hero-header":"n-BEEj","promo-header":"flKp2R","uui-critical":"vTbgOd","uui-info":"Sr9-5M","uui-success":"hz8iJ-","uui-warning":"cRs5KD","uui-highlight":"ejerCU","uui-typography-size-12":"kOPHom","uui-typography-size-14":"dId06L","uui-typography-size-16":"_4c1AbK","root":"_5H2MmO","withNotify":"iH0jvN","uuiTypography":"_76lWT6","heroHeader":"n-BEEj","promoHeader":"flKp2R","uuiCritical":"vTbgOd","uuiInfo":"Sr9-5M","uuiSuccess":"hz8iJ-","uuiWarning":"cRs5KD","uuiHighlight":"ejerCU","uuiTypographySize12":"kOPHom","uuiTypographySize14":"dId06L","uuiTypographySize16":"_4c1AbK"};
|
|
386
594
|
|
|
387
595
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
388
596
|
const styles = [
|
|
389
597
|
css$1o.root,
|
|
390
598
|
'uui-tab-button',
|
|
391
|
-
|
|
599
|
+
`uui-size-${props.size || settings.sizes.defaults.tabButton}`,
|
|
392
600
|
props.withNotify && css$1o.withNotify,
|
|
393
601
|
...getIconClass(props),
|
|
394
602
|
props.cx,
|
|
@@ -397,14 +605,14 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
397
605
|
const ClearIcon = props.clearIcon ? props.clearIcon : systemIcons.clear;
|
|
398
606
|
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
607
|
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
|
|
401
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color:
|
|
608
|
+
props.caption && (React__default.createElement("div", { className: cx$1(uuiElement.caption) }, props.caption)),
|
|
609
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: "18", caption: props.count })),
|
|
402
610
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
403
611
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
404
612
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
405
613
|
});
|
|
406
614
|
|
|
407
|
-
var css$1n = {"uui-typography":"
|
|
615
|
+
var css$1n = {"uui-typography":"diAuIc","hero-header":"GJZx-T","promo-header":"ru3U2Z","uui-critical":"EJRadU","uui-info":"QLYYXT","uui-success":"_7-vyhO","uui-warning":"BtzqQZ","uui-highlight":"_16SmIY","uui-typography-size-12":"z4AAjm","uui-typography-size-14":"fcNWck","uui-typography-size-16":"eVxO-B","root":"atgwbU","uuiTypography":"diAuIc","heroHeader":"GJZx-T","promoHeader":"ru3U2Z","uuiCritical":"EJRadU","uuiInfo":"QLYYXT","uuiSuccess":"_7-vyhO","uuiWarning":"BtzqQZ","uuiHighlight":"_16SmIY","uuiTypographySize12":"z4AAjm","uuiTypographySize14":"fcNWck","uuiTypographySize16":"eVxO-B"};
|
|
408
616
|
|
|
409
617
|
function applyVerticalTabButtonMods() {
|
|
410
618
|
return [css$1n.root];
|
|
@@ -426,12 +634,12 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
426
634
|
};
|
|
427
635
|
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
428
636
|
|
|
429
|
-
var css$1m = {"uui-typography":"
|
|
637
|
+
var css$1m = {"uui-typography":"Xj5nOi","hero-header":"v6RMJ-","promo-header":"_10PYYx","uui-critical":"_51bSu4","uui-info":"yATSIf","uui-success":"uGVMwm","uui-warning":"JcDguu","uui-highlight":"_9iMSLp","uui-typography-size-12":"X9NEbI","uui-typography-size-14":"gf9DZy","uui-typography-size-16":"_0c-H7C","root":"i5mYQp","mode-cell":"koTYxz","uuiTypography":"Xj5nOi","heroHeader":"v6RMJ-","promoHeader":"_10PYYx","uuiCritical":"_51bSu4","uuiInfo":"yATSIf","uuiSuccess":"uGVMwm","uuiWarning":"JcDguu","uuiHighlight":"_9iMSLp","uuiTypographySize12":"X9NEbI","uuiTypographySize14":"gf9DZy","uuiTypographySize16":"_0c-H7C","modeCell":"koTYxz"};
|
|
430
638
|
|
|
431
639
|
function applyCheckboxMods(mods) {
|
|
432
640
|
return [
|
|
433
641
|
css$1m.root,
|
|
434
|
-
|
|
642
|
+
`uui-size-${mods.size || settings.sizes.defaults.checkbox}`,
|
|
435
643
|
css$1m['mode-' + (mods.mode || 'form')],
|
|
436
644
|
'uui-color-primary',
|
|
437
645
|
];
|
|
@@ -446,8 +654,6 @@ const applyUUICheckboxProps = (props) => {
|
|
|
446
654
|
};
|
|
447
655
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
448
656
|
|
|
449
|
-
var css$1l = {"uui-typography":"-GXMPm","hero-header":"cq2j2i","promo-header":"Vn0zAT","uui-critical":"_4mrGCp","uui-info":"ptl3yO","uui-success":"GiPYju","uui-warning":"_8hFv8-","uui-highlight":"_3XIzcs","uui-typography-size-12":"hcFiI6","uui-typography-size-14":"rZM0uR","uui-typography-size-16":"Xb4g7j","root":"OHLcHq","size-18":"oWlII4","size-12":"AE7sK1","uuiTypography":"-GXMPm","heroHeader":"cq2j2i","promoHeader":"Vn0zAT","uuiCritical":"_4mrGCp","uuiInfo":"ptl3yO","uuiSuccess":"GiPYju","uuiWarning":"_8hFv8-","uuiHighlight":"_3XIzcs","uuiTypographySize12":"hcFiI6","uuiTypographySize14":"rZM0uR","uuiTypographySize16":"Xb4g7j","size18":"oWlII4","size12":"AE7sK1"};
|
|
450
|
-
|
|
451
657
|
var _path$A;
|
|
452
658
|
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
659
|
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
@@ -463,21 +669,25 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
463
669
|
};
|
|
464
670
|
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
465
671
|
|
|
672
|
+
var css$1l = {"uui-typography":"-FwvY8","hero-header":"QcLMHw","promo-header":"NZ3830","uui-critical":"ICDKGC","uui-info":"nj2eph","uui-success":"_6SwtGr","uui-warning":"ooVXxY","uui-highlight":"NjajSy","uui-typography-size-12":"bjgNtD","uui-typography-size-14":"k0jysk","uui-typography-size-16":"gGhouu","root":"DKSEjy","uuiTypography":"-FwvY8","heroHeader":"QcLMHw","promoHeader":"NZ3830","uuiCritical":"ICDKGC","uuiInfo":"nj2eph","uuiSuccess":"_6SwtGr","uuiWarning":"ooVXxY","uuiHighlight":"NjajSy","uuiTypographySize12":"bjgNtD","uuiTypographySize14":"k0jysk","uuiTypographySize16":"gGhouu"};
|
|
673
|
+
|
|
466
674
|
function applyRadioInputMods(mods) {
|
|
467
675
|
return [
|
|
468
676
|
css$1l.root,
|
|
469
|
-
|
|
677
|
+
`uui-size-${mods.size || settings.sizes.defaults.radioInput}`,
|
|
470
678
|
'uui-radio-input-container',
|
|
471
679
|
'uui-color-primary',
|
|
472
680
|
];
|
|
473
681
|
}
|
|
474
682
|
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$A }));
|
|
475
683
|
|
|
476
|
-
var css$1k = {"root":"
|
|
684
|
+
var css$1k = {"root":"_9JUdEE"};
|
|
477
685
|
|
|
478
686
|
function applySwitchMods(mods) {
|
|
479
687
|
return [
|
|
480
|
-
css$1k.root,
|
|
688
|
+
css$1k.root,
|
|
689
|
+
`uui-size-${mods.size || settings.sizes.defaults.switch}`,
|
|
690
|
+
'uui-color-primary',
|
|
481
691
|
];
|
|
482
692
|
}
|
|
483
693
|
const Switch = /* @__PURE__ */withMods(uuiComponents.Switch, applySwitchMods);
|
|
@@ -539,14 +749,13 @@ var EditMode;
|
|
|
539
749
|
EditMode["INLINE"] = "inline";
|
|
540
750
|
})(EditMode || (EditMode = {}));
|
|
541
751
|
|
|
542
|
-
var textInputCss = {"uui-typography":"
|
|
752
|
+
var textInputCss = {"uui-typography":"qnDC16","hero-header":"i8Z-B1","promo-header":"dRy5eh","uui-critical":"s8NCkW","uui-info":"-UhjTp","uui-success":"_7P5l5e","uui-warning":"XUMICz","uui-highlight":"O7kZtV","uui-typography-size-12":"Fh-4PI","uui-typography-size-14":"jNNMis","uui-typography-size-16":"ruNIqR","root":"_8FbZ1l","mode-form":"_2-npZf","mode-inline":"LY71Kn","mode-cell":"n3MWHk","uuiTypography":"qnDC16","heroHeader":"i8Z-B1","promoHeader":"dRy5eh","uuiCritical":"s8NCkW","uuiInfo":"-UhjTp","uuiSuccess":"_7P5l5e","uuiWarning":"XUMICz","uuiHighlight":"O7kZtV","uuiTypographySize12":"Fh-4PI","uuiTypographySize14":"jNNMis","uuiTypographySize16":"ruNIqR","modeForm":"_2-npZf","modeInline":"LY71Kn","modeCell":"n3MWHk"};
|
|
543
753
|
|
|
544
|
-
const DEFAULT_SIZE$6 = '36';
|
|
545
754
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
546
755
|
function applyTextInputMods(mods) {
|
|
547
756
|
return [
|
|
548
757
|
textInputCss.root,
|
|
549
|
-
|
|
758
|
+
`uui-size-${mods.size || settings.sizes.defaults.textInput}`,
|
|
550
759
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$3)],
|
|
551
760
|
];
|
|
552
761
|
}
|
|
@@ -566,7 +775,7 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
566
775
|
} })));
|
|
567
776
|
});
|
|
568
777
|
|
|
569
|
-
var css$1j = {"root":"
|
|
778
|
+
var css$1j = {"root":"LaZ5dM"};
|
|
570
779
|
|
|
571
780
|
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1j.root]);
|
|
572
781
|
|
|
@@ -575,16 +784,14 @@ function MultiSwitchComponent(props, ref) {
|
|
|
575
784
|
}
|
|
576
785
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
577
786
|
|
|
578
|
-
var css$1i = {"uui-typography":"
|
|
787
|
+
var css$1i = {"uui-typography":"PuF0PW","hero-header":"knoCf8","promo-header":"gjyv1B","uui-critical":"mgvJz-","uui-info":"nU8CMb","uui-success":"RwZsKp","uui-warning":"uFTN8x","uui-highlight":"Q9O5MQ","uui-typography-size-12":"sFXq5q","uui-typography-size-14":"z-spp3","uui-typography-size-16":"_6qZvTQ","root":"jsy6Qp","mode-form":"VHHNNJ","mode-cell":"NIv8NA","uuiTypography":"PuF0PW","heroHeader":"knoCf8","promoHeader":"gjyv1B","uuiCritical":"mgvJz-","uuiInfo":"nU8CMb","uuiSuccess":"RwZsKp","uuiWarning":"uFTN8x","uuiHighlight":"Q9O5MQ","uuiTypographySize12":"sFXq5q","uuiTypographySize14":"z-spp3","uuiTypographySize16":"_6qZvTQ","modeForm":"VHHNNJ","modeCell":"NIv8NA"};
|
|
579
788
|
|
|
580
|
-
const DEFAULT_SIZE$5 = '36';
|
|
581
789
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
582
790
|
function applyNumericInputMods(mods) {
|
|
583
791
|
return [
|
|
584
792
|
textInputCss.root,
|
|
585
793
|
css$1i.root,
|
|
586
|
-
|
|
587
|
-
textInputCss['size-' + (mods.size || DEFAULT_SIZE$5)],
|
|
794
|
+
`uui-size-${mods.size || settings.sizes.defaults.numericInput}`,
|
|
588
795
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
589
796
|
];
|
|
590
797
|
}
|
|
@@ -598,21 +805,20 @@ const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMo
|
|
|
598
805
|
};
|
|
599
806
|
});
|
|
600
807
|
|
|
601
|
-
var css$1h = {"uui-typography":"
|
|
808
|
+
var css$1h = {"uui-typography":"rZHFXJ","hero-header":"kAibCL","promo-header":"rRENv2","uui-critical":"_9CKrKE","uui-info":"fblsjF","uui-success":"rAOAaQ","uui-warning":"qUkskq","uui-highlight":"T4ek7K","uui-typography-size-12":"bHEFiX","uui-typography-size-14":"Ox2-AY","uui-typography-size-16":"RVi-RJ","root":"j3ycuU","mode-form":"IU3cZx","mode-cell":"EX3Q49","mode-inline":"ObK7tn","uuiTypography":"rZHFXJ","heroHeader":"kAibCL","promoHeader":"rRENv2","uuiCritical":"_9CKrKE","uuiInfo":"fblsjF","uuiSuccess":"rAOAaQ","uuiWarning":"qUkskq","uuiHighlight":"T4ek7K","uuiTypographySize12":"bHEFiX","uuiTypographySize14":"Ox2-AY","uuiTypographySize16":"RVi-RJ","modeForm":"IU3cZx","modeCell":"EX3Q49","modeInline":"ObK7tn"};
|
|
602
809
|
|
|
603
|
-
const DEFAULT_SIZE$4 = '36';
|
|
604
810
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
605
811
|
function applyTextAreaMods(mods) {
|
|
606
812
|
return [
|
|
607
813
|
css$1h.root,
|
|
608
|
-
|
|
814
|
+
'uui-textarea',
|
|
815
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.textArea),
|
|
609
816
|
css$1h['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
610
817
|
];
|
|
611
818
|
}
|
|
612
819
|
const TextArea = /* @__PURE__ */withMods(TextArea$1, applyTextAreaMods, (props) => {
|
|
613
820
|
return {
|
|
614
821
|
autoSize: props.mode === EditMode.CELL ? true : props.autoSize,
|
|
615
|
-
maxLength: props.mode === EditMode.CELL ? undefined : props.maxLength,
|
|
616
822
|
};
|
|
617
823
|
});
|
|
618
824
|
|
|
@@ -700,7 +906,7 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
700
906
|
};
|
|
701
907
|
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
702
908
|
|
|
703
|
-
var css$1g = {"uui-typography":"
|
|
909
|
+
var css$1g = {"uui-typography":"sDxnnu","hero-header":"uDae6S","promo-header":"_201SKJ","uui-critical":"iuBxK8","uui-info":"myQByi","uui-success":"vMlxnE","uui-warning":"Lg-BjO","uui-highlight":"kGhW18","uui-typography-size-12":"P0I-b3","uui-typography-size-14":"gim--N","uui-typography-size-16":"awv1DN","root":"_69ahqo","icon-wrapper":"FgN2oP","alert-wrapper":"j1se1G","size-48":"hKwHMS","size-36":"IDKouJ","action-wrapper":"ZEYX3M","action-icon":"AocEwW","action-link":"qgRxVv","close-icon":"gwpdsI","main-path":"Lwak0A","content":"zw99cr","uuiTypography":"sDxnnu","heroHeader":"uDae6S","promoHeader":"_201SKJ","uuiCritical":"iuBxK8","uuiInfo":"myQByi","uuiSuccess":"vMlxnE","uuiWarning":"Lg-BjO","uuiHighlight":"kGhW18","uuiTypographySize12":"P0I-b3","uuiTypographySize14":"gim--N","uuiTypographySize16":"awv1DN","iconWrapper":"FgN2oP","alertWrapper":"j1se1G","size48":"hKwHMS","size36":"IDKouJ","actionWrapper":"ZEYX3M","actionIcon":"AocEwW","actionLink":"qgRxVv","closeIcon":"gwpdsI","mainPath":"Lwak0A"};
|
|
704
910
|
|
|
705
911
|
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
912
|
React.createElement("div", { className: css$1g.mainPath },
|
|
@@ -717,7 +923,7 @@ const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createE
|
|
|
717
923
|
|
|
718
924
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
719
925
|
|
|
720
|
-
var css$1f = {"root":"
|
|
926
|
+
var css$1f = {"root":"yA-hwk"};
|
|
721
927
|
|
|
722
928
|
function applyDropdownContainerMods(mods) {
|
|
723
929
|
return [
|
|
@@ -728,7 +934,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
728
934
|
}
|
|
729
935
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
730
936
|
|
|
731
|
-
var css$1e = {"uui-typography":"
|
|
937
|
+
var css$1e = {"uui-typography":"_7klDf1","hero-header":"uVgqv-","promo-header":"UPIUYk","uui-critical":"aKwo1Y","uui-info":"_40p0ph","uui-success":"lJB0o9","uui-warning":"Oj7MmR","uui-highlight":"OtKRZf","uui-typography-size-12":"gqOkq-","uui-typography-size-14":"N-orbL","uui-typography-size-16":"tnL5YC","submenu-root-item":"HhbGHg","icon-after":"BLAY31","icon-check":"lQ9Zrk","splitter-root":"qC5-xu","splitter":"a-5CqL","header-root":"-WkqQG","item-root":"-bZo14","icon":"SIrZ89","link":"_-18MAm","indent":"QSZSy3","selected-mark":"_3MCi8m","uuiTypography":"_7klDf1","heroHeader":"uVgqv-","promoHeader":"UPIUYk","uuiCritical":"aKwo1Y","uuiInfo":"_40p0ph","uuiSuccess":"lJB0o9","uuiWarning":"Oj7MmR","uuiHighlight":"OtKRZf","uuiTypographySize12":"gqOkq-","uuiTypographySize14":"N-orbL","uuiTypographySize16":"tnL5YC","submenuRootItem":"HhbGHg","iconAfter":"BLAY31","iconCheck":"lQ9Zrk","splitterRoot":"qC5-xu","headerRoot":"-WkqQG","itemRoot":"-bZo14","selectedMark":"_3MCi8m"};
|
|
732
938
|
|
|
733
939
|
var IDropdownControlKeys;
|
|
734
940
|
(function (IDropdownControlKeys) {
|
|
@@ -833,7 +1039,8 @@ function DropdownSubMenu(props) {
|
|
|
833
1039
|
},
|
|
834
1040
|
},
|
|
835
1041
|
];
|
|
836
|
-
|
|
1042
|
+
const dir = useDocumentDir();
|
|
1043
|
+
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
1044
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
838
1045
|
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
1046
|
} }));
|
|
@@ -859,7 +1066,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
859
1066
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
860
1067
|
}
|
|
861
1068
|
|
|
862
|
-
var css$1d = {"uui-typography":"
|
|
1069
|
+
var css$1d = {"uui-typography":"VmObqY","hero-header":"SymwaR","promo-header":"BhkSHQ","uui-critical":"_0uVICO","uui-info":"CXbTbQ","uui-success":"_6Fpb9a","uui-warning":"_4cxtCF","uui-highlight":"dYOVC9","uui-typography-size-12":"nGaSIK","uui-typography-size-14":"CWXJv9","uui-typography-size-16":"JXjBHZ","root":"qMMtFg","mode-block":"nZwghV","mode-inline":"NMVMyy","padding-0":"Mi2xaZ","padding-6":"j3mvDa","padding-12":"Hhw8x7","padding-18":"dw650j","uuiTypography":"VmObqY","heroHeader":"SymwaR","promoHeader":"BhkSHQ","uuiCritical":"_0uVICO","uuiInfo":"CXbTbQ","uuiSuccess":"_6Fpb9a","uuiWarning":"_4cxtCF","uuiHighlight":"dYOVC9","uuiTypographySize12":"nGaSIK","uuiTypographySize14":"CWXJv9","uuiTypographySize16":"JXjBHZ","modeBlock":"nZwghV","modeInline":"NMVMyy","padding0":"Mi2xaZ","padding6":"j3mvDa","padding12":"Hhw8x7","padding18":"dw650j"};
|
|
863
1070
|
|
|
864
1071
|
const getMode = (mode) => {
|
|
865
1072
|
return mode || 'block';
|
|
@@ -875,7 +1082,7 @@ const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordio
|
|
|
875
1082
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
876
1083
|
}));
|
|
877
1084
|
|
|
878
|
-
var css$1c = {"uui-typography":"
|
|
1085
|
+
var css$1c = {"uui-typography":"zs10u8","hero-header":"XGNL1O","promo-header":"NE4nUZ","uui-critical":"alD4M1","uui-info":"cte2og","uui-success":"X1F-Yo","uui-warning":"p28UQ2","uui-highlight":"LisMK0","uui-typography-size-12":"mL2IFD","uui-typography-size-14":"MJXM0u","uui-typography-size-16":"x4zSP-","root":"kA3Aed","border-top":"qT9Jvl","border-bottom":"mIqW5M","top-shadow":"jHyejA","size-24":"Cz82wh","size-30":"p05y62","size-36":"QYajVt","size-42":"agGoFV","size-48":"cCzFTG","padding-6":"ntr3A3","padding-12":"nnYW9Y","padding-18":"vGOGmF","padding-24":"O8wNUt","margin-24":"bgpzDn","margin-12":"a5seFv","vPadding-12":"_1C3TmD","vPadding-18":"V-MDKw","vPadding-24":"_4m-E9G","vPadding-36":"YIk-zT","vPadding-48":"zZtJiL","spacing-6":"xXm9-4","spacing-12":"mP1OPQ","spacing-18":"lzQGNQ","uui-surface-main":"xZl6h5","uuiTypography":"zs10u8","heroHeader":"XGNL1O","promoHeader":"NE4nUZ","uuiCritical":"alD4M1","uuiInfo":"cte2og","uuiSuccess":"X1F-Yo","uuiWarning":"p28UQ2","uuiHighlight":"LisMK0","uuiTypographySize12":"mL2IFD","uuiTypographySize14":"MJXM0u","uuiTypographySize16":"x4zSP-","borderTop":"qT9Jvl","borderBottom":"mIqW5M","topShadow":"jHyejA","size24":"Cz82wh","size30":"p05y62","size36":"QYajVt","size42":"agGoFV","size48":"cCzFTG","padding6":"ntr3A3","padding12":"nnYW9Y","padding18":"vGOGmF","padding24":"O8wNUt","margin24":"bgpzDn","margin12":"a5seFv","vPadding12":"_1C3TmD","vPadding18":"V-MDKw","vPadding24":"_4m-E9G","vPadding36":"YIk-zT","vPadding48":"zZtJiL","spacing6":"xXm9-4","spacing12":"mP1OPQ","spacing18":"lzQGNQ","uuiSurfaceMain":"xZl6h5"};
|
|
879
1086
|
|
|
880
1087
|
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1c.flexCell]);
|
|
881
1088
|
|
|
@@ -899,7 +1106,7 @@ const FlexRow = /* @__PURE__ */withMods(FlexRow$1, (props) => {
|
|
|
899
1106
|
];
|
|
900
1107
|
});
|
|
901
1108
|
|
|
902
|
-
var css$1b = {"root":"
|
|
1109
|
+
var css$1b = {"root":"ixBdLk","margin-24":"bsMVNb","padding-12":"_8sEW-V","padding-24":"yihCac","shadow":"IDcbgX","uui-surface-main":"SsMxs6","margin24":"bsMVNb","padding12":"_8sEW-V","padding24":"yihCac","uuiSurfaceMain":"SsMxs6"};
|
|
903
1110
|
|
|
904
1111
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
905
1112
|
'uui-panel',
|
|
@@ -909,7 +1116,7 @@ const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
|
909
1116
|
props.background && css$1b[`uui-${props.background}`],
|
|
910
1117
|
]);
|
|
911
1118
|
|
|
912
|
-
var css$1a = {"root":"
|
|
1119
|
+
var css$1a = {"root":"qtNTr-"};
|
|
913
1120
|
|
|
914
1121
|
function applyTooltipMods(mods) {
|
|
915
1122
|
return [
|
|
@@ -919,18 +1126,21 @@ function applyTooltipMods(mods) {
|
|
|
919
1126
|
}
|
|
920
1127
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
921
1128
|
|
|
922
|
-
var css$19 = {"uui-typography":"
|
|
1129
|
+
var css$19 = {"uui-typography":"_1f-SHf","hero-header":"_4WB2MZ","promo-header":"czpszq","uui-critical":"_4kc-3f","uui-info":"-PdTOL","uui-success":"_5R3-MY","uui-warning":"GIzpe-","uui-highlight":"G8G22u","uui-typography-size-12":"_9oLl37","uui-typography-size-14":"O-nkOt","uui-typography-size-16":"_7gt9o0","root":"iKJUmO","uuiTypography":"_1f-SHf","heroHeader":"_4WB2MZ","promoHeader":"czpszq","uuiCritical":"_4kc-3f","uuiInfo":"-PdTOL","uuiSuccess":"_5R3-MY","uuiWarning":"GIzpe-","uuiHighlight":"G8G22u","uuiTypographySize12":"_9oLl37","uuiTypographySize14":"O-nkOt","uuiTypographySize16":"_7gt9o0"};
|
|
923
1130
|
|
|
924
|
-
const DEFAULT_SIZE$3 = '36';
|
|
925
1131
|
function applyLabeledInputMods(mods) {
|
|
926
|
-
return [
|
|
1132
|
+
return [
|
|
1133
|
+
'uui-labeled-input',
|
|
1134
|
+
css$19.root,
|
|
1135
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.labeledInput),
|
|
1136
|
+
];
|
|
927
1137
|
}
|
|
928
1138
|
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
929
1139
|
Tooltip: props.Tooltip || Tooltip,
|
|
930
|
-
infoIcon: props.infoIcon || (
|
|
1140
|
+
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$w : ForwardRef$L),
|
|
931
1141
|
}));
|
|
932
1142
|
|
|
933
|
-
var css$18 = {"root":"
|
|
1143
|
+
var css$18 = {"root":"X-xO3k"};
|
|
934
1144
|
|
|
935
1145
|
function RadioGroup(props) {
|
|
936
1146
|
const direction = props.direction || 'vertical';
|
|
@@ -945,7 +1155,7 @@ function RadioGroup(props) {
|
|
|
945
1155
|
})));
|
|
946
1156
|
}
|
|
947
1157
|
|
|
948
|
-
var css$17 = {"root":"
|
|
1158
|
+
var css$17 = {"root":"StUcZs"};
|
|
949
1159
|
|
|
950
1160
|
function applyScrollBarsMods() {
|
|
951
1161
|
return [
|
|
@@ -954,60 +1164,42 @@ function applyScrollBarsMods() {
|
|
|
954
1164
|
}
|
|
955
1165
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
956
1166
|
|
|
957
|
-
var css$16 = {"scroll-container":"
|
|
1167
|
+
var css$16 = {"scroll-container":"xvqW-R","list-container":"GAR6Qy","scrollContainer":"xvqW-R","listContainer":"GAR6Qy"};
|
|
958
1168
|
|
|
959
|
-
var css$15 = {"root":"
|
|
1169
|
+
var css$15 = {"root":"zdFur0"};
|
|
960
1170
|
|
|
961
1171
|
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$15.root]);
|
|
962
1172
|
|
|
963
|
-
var css$14 = {"uui-typography":"
|
|
1173
|
+
var css$14 = {"uui-typography":"cVrxHE","hero-header":"rGwKf-","promo-header":"Cr3Vfq","uui-critical":"vmVoYK","uui-info":"Vi7Mhl","uui-success":"mSMaf5","uui-warning":"_14Sx9n","uui-highlight":"_2pQgoM","uui-typography-size-12":"YHpt3l","uui-typography-size-14":"S5qCc9","uui-typography-size-16":"y4WPMz","root":"_9R5YoA","uuiTypography":"cVrxHE","heroHeader":"rGwKf-","promoHeader":"Cr3Vfq","uuiCritical":"vmVoYK","uuiInfo":"Vi7Mhl","uuiSuccess":"mSMaf5","uuiWarning":"_14Sx9n","uuiHighlight":"_2pQgoM","uuiTypographySize12":"YHpt3l","uuiTypographySize14":"S5qCc9","uuiTypographySize16":"y4WPMz"};
|
|
964
1174
|
|
|
965
|
-
const DEFAULT_SIZE$2 = '36';
|
|
966
1175
|
const DEFAULT_FILL = 'solid';
|
|
967
1176
|
function applyBadgeMods(mods) {
|
|
968
1177
|
return [
|
|
969
1178
|
'uui-badge',
|
|
970
1179
|
css$14.root,
|
|
971
|
-
|
|
1180
|
+
`uui-size-${mods.size || settings.sizes.defaults.badge}`,
|
|
972
1181
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
973
1182
|
`uui-color-${mods.color || 'info'}`,
|
|
974
1183
|
mods.indicator && mods.fill === 'outline' && 'uui-indicator',
|
|
975
1184
|
];
|
|
976
1185
|
}
|
|
977
|
-
const mapCountIndicatorSizes$1 = {
|
|
978
|
-
18: '12',
|
|
979
|
-
24: '18',
|
|
980
|
-
30: '18',
|
|
981
|
-
36: '18',
|
|
982
|
-
42: '24',
|
|
983
|
-
48: '24',
|
|
984
|
-
};
|
|
985
1186
|
const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
986
1187
|
const styles = [applyBadgeMods(props), props.cx];
|
|
987
1188
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
988
1189
|
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
1190
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
990
1191
|
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:
|
|
1192
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.sizes.badge.countIndicator[props.size || settings.sizes.defaults.badge], caption: props.count })),
|
|
992
1193
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
993
1194
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
994
1195
|
});
|
|
995
1196
|
|
|
996
|
-
var css$13 = {"uui-typography":"
|
|
1197
|
+
var css$13 = {"uui-typography":"BpgLrF","hero-header":"cHq2gM","promo-header":"KEmDSU","uui-critical":"fkWLUN","uui-info":"omGr8l","uui-success":"_4TgKux","uui-warning":"V0BStV","uui-highlight":"Fa-ngw","uui-typography-size-12":"v2FsGm","uui-typography-size-14":"-SyPgJ","uui-typography-size-16":"UEZ0HV","root":"EZzE-P","uuiTypography":"BpgLrF","heroHeader":"cHq2gM","promoHeader":"KEmDSU","uuiCritical":"fkWLUN","uuiInfo":"omGr8l","uuiSuccess":"_4TgKux","uuiWarning":"V0BStV","uuiHighlight":"Fa-ngw","uuiTypographySize12":"v2FsGm","uuiTypographySize14":"-SyPgJ","uuiTypographySize16":"UEZ0HV"};
|
|
997
1198
|
|
|
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
1199
|
function applyTagMods(props) {
|
|
1008
1200
|
return [
|
|
1009
|
-
css$13['size-' + (props.size || DEFAULT_SIZE$1)],
|
|
1010
1201
|
css$13.root,
|
|
1202
|
+
`uui-size-${props.size || settings.sizes.defaults.tag}`,
|
|
1011
1203
|
`uui-color-${props.color || 'neutral'}`,
|
|
1012
1204
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1013
1205
|
'uui-tag',
|
|
@@ -1020,20 +1212,20 @@ const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1020
1212
|
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
1213
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1022
1214
|
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:
|
|
1215
|
+
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
1216
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1025
1217
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1026
1218
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1027
1219
|
});
|
|
1028
1220
|
|
|
1029
|
-
var css$12 = {"root":"
|
|
1221
|
+
var css$12 = {"root":"Nu33Ir","uui-spinner":"XJpjUP","uuiSpinner":"XJpjUP"};
|
|
1030
1222
|
|
|
1031
1223
|
function applySpinnerMods() {
|
|
1032
1224
|
return [css$12.root, 'uui-spinner'];
|
|
1033
1225
|
}
|
|
1034
1226
|
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1035
1227
|
|
|
1036
|
-
var css$11 = {"root":"
|
|
1228
|
+
var css$11 = {"root":"-yLNim","spacer":"lsiizj","mode-ghost":"Yl-eXr","size-24":"DIrayb","size-30":"iR3aov","navigation-size-24":"upnzt7","navigation-size-30":"W1a61M","modeGhost":"Yl-eXr","size24":"DIrayb","size30":"iR3aov","navigationSize24":"upnzt7","navigationSize30":"W1a61M"};
|
|
1037
1229
|
|
|
1038
1230
|
var _path$v;
|
|
1039
1231
|
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 +1276,14 @@ function Paginator(props) {
|
|
|
1084
1276
|
return React__default.createElement(Paginator$1, Object.assign({}, props, { render: renderPaginator }));
|
|
1085
1277
|
}
|
|
1086
1278
|
|
|
1087
|
-
var css$10 = {"root":"
|
|
1279
|
+
var css$10 = {"root":"b7N-tX","progress-bar":"NDHVJ4","progressBar-indeterminate":"CzrnDA","size-12":"ZeMXzd","size-18":"o7J8rX","size-24":"-X-C5k","progressBar":"NDHVJ4","progressBarIndeterminate":"CzrnDA","size12":"ZeMXzd","size18":"o7J8rX","size24":"-X-C5k"};
|
|
1088
1280
|
|
|
1089
1281
|
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1090
1282
|
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$10.root, css$10[`size-${props.size || 12}`]) },
|
|
1091
1283
|
React.createElement("div", { className: cx(css$10.progressBar) })));
|
|
1092
1284
|
});
|
|
1093
1285
|
|
|
1094
|
-
var css$$ = {"root":"
|
|
1286
|
+
var css$$ = {"root":"fmHHpv","striped":"k-deMu","animate-stripes":"lFH1t8","size-12":"_3txpws","size-18":"-ExaFw","size-24":"L9uot-","animateStripes":"lFH1t8","size12":"_3txpws","size18":"-ExaFw","size24":"L9uot-"};
|
|
1095
1287
|
|
|
1096
1288
|
const DEFAULT_SIZE = '12';
|
|
1097
1289
|
function applyProgressBarMods(mods) {
|
|
@@ -1106,76 +1298,51 @@ const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProg
|
|
|
1106
1298
|
hideLabel: props.hideLabel || props.striped,
|
|
1107
1299
|
}));
|
|
1108
1300
|
|
|
1109
|
-
var css$_ = {"root":"
|
|
1301
|
+
var css$_ = {"root":"Zrp-ki"};
|
|
1110
1302
|
|
|
1111
1303
|
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1112
1304
|
const { progress } = props;
|
|
1113
1305
|
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
1306
|
});
|
|
1115
1307
|
|
|
1116
|
-
var css$Z = {"root":"
|
|
1308
|
+
var css$Z = {"root":"BmN8oo"};
|
|
1117
1309
|
|
|
1118
1310
|
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1119
1311
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1120
1312
|
css$Z.root,
|
|
1121
|
-
|
|
1313
|
+
`uui-size-${props.size || settings.sizes.defaults.statusIndicator}`,
|
|
1122
1314
|
'uui-status_indicator',
|
|
1123
1315
|
`uui-color-${props.color || 'neutral'}`,
|
|
1124
1316
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1125
1317
|
props.cx,
|
|
1126
1318
|
]) },
|
|
1127
|
-
React__default.createElement("div", { className: "uui-
|
|
1128
|
-
React__default.createElement("p", { className: "uui-
|
|
1319
|
+
React__default.createElement("div", { className: "uui-status_indicator-dot" }),
|
|
1320
|
+
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1129
1321
|
});
|
|
1130
1322
|
|
|
1131
|
-
var css$Y = {"drag-handle":"
|
|
1323
|
+
var css$Y = {"drag-handle":"kGBa5m","icon-container":"T0jAuf","dragHandle":"kGBa5m","iconContainer":"T0jAuf"};
|
|
1132
1324
|
|
|
1133
1325
|
function DataRowAddons(props) {
|
|
1134
1326
|
var _a, _b;
|
|
1135
1327
|
const row = props.rowProps;
|
|
1136
|
-
const additionalItemSize = +props.size < 30 ? '12' : '18';
|
|
1137
1328
|
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
|
-
}
|
|
1329
|
+
return (row.indent - 1) * settings.sizes.rowAddons.indentUnit[props.size || 'default'];
|
|
1151
1330
|
};
|
|
1152
1331
|
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
|
-
}
|
|
1332
|
+
return settings.sizes.rowAddons.indentWidth[props.size || 'default'];
|
|
1166
1333
|
};
|
|
1167
1334
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1168
1335
|
((_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:
|
|
1336
|
+
((_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 })),
|
|
1337
|
+
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: cx('uui-dr_addons-indent', `uui-size-${props.size}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
1171
1338
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1172
1339
|
role: 'button',
|
|
1173
1340
|
}, key: "icon", icon: ForwardRef$P, cx: [
|
|
1174
1341
|
uuiElement.foldingArrow, uuiMarkers.clickable, css$Y.iconContainer,
|
|
1175
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1342
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.rowAddons.icon[props.size] }))))));
|
|
1176
1343
|
}
|
|
1177
1344
|
|
|
1178
|
-
var css$X = {"root":"
|
|
1345
|
+
var css$X = {"root":"vizobG"};
|
|
1179
1346
|
|
|
1180
1347
|
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$X.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1181
1348
|
|
|
@@ -1211,13 +1378,12 @@ const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1211
1378
|
}), onScroll: handleScroll, renderView: renderView, ref: scrollBarsRef }, renderRows()));
|
|
1212
1379
|
});
|
|
1213
1380
|
const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1214
|
-
console.log(props);
|
|
1215
1381
|
return (React.createElement(React.Fragment, null,
|
|
1216
1382
|
React.createElement("div", Object.assign({}, props.rawProps, { style: Object.assign(Object.assign({}, props.style), { position: 'relative', flex: '1 1 auto', display: 'flex', flexDirection: 'column', overflow: props.isLoading ? 'hidden' : 'scroll', marginRight: props.isLoading ? 0 : props.style.marginRight, marginBottom: props.isLoading ? 0 : props.style.marginBottom }), ref: ref }), props.children),
|
|
1217
1383
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1218
1384
|
});
|
|
1219
1385
|
|
|
1220
|
-
var css$W = {"root":"
|
|
1386
|
+
var css$W = {"root":"_5dWB1d"};
|
|
1221
1387
|
|
|
1222
1388
|
function CheckboxGroup(props) {
|
|
1223
1389
|
const currentValue = props.value || [];
|
|
@@ -1379,7 +1545,7 @@ const TREE_SHAKEABLE_INIT = () => (Object.assign(Object.assign({}, i18n$1), { da
|
|
|
1379
1545
|
} }));
|
|
1380
1546
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1381
1547
|
|
|
1382
|
-
var css$V = {"uui-typography":"
|
|
1548
|
+
var css$V = {"uui-typography":"e2w165","hero-header":"A3C4z8","promo-header":"_-9zbfK","uui-critical":"e2-Vmi","uui-info":"lw7sOd","uui-success":"BXXvAi","uui-warning":"YSFBES","uui-highlight":"_03FNp7","uui-typography-size-12":"R0r8Cn","uui-typography-size-14":"-R2BTV","uui-typography-size-16":"r8dO7v","modal":"XOcmOK","search-wrapper":"cvoTJi","checkbox":"IoJd8D","no-found-size-24":"R9xbOp","no-found-size-30":"wMO9W6","no-found-size-36":"r0Ktq3","no-found-size-42":"QBRPIZ","uuiTypography":"e2w165","heroHeader":"A3C4z8","promoHeader":"_-9zbfK","uuiCritical":"e2-Vmi","uuiInfo":"lw7sOd","uuiSuccess":"BXXvAi","uuiWarning":"YSFBES","uuiHighlight":"_03FNp7","uuiTypographySize12":"R0r8Cn","uuiTypographySize14":"-R2BTV","uuiTypographySize16":"r8dO7v","searchWrapper":"cvoTJi","noFoundSize24":"R9xbOp","noFoundSize30":"wMO9W6","noFoundSize36":"r0Ktq3","noFoundSize42":"QBRPIZ"};
|
|
1383
1549
|
|
|
1384
1550
|
class DataPickerBody extends PickerBodyBase {
|
|
1385
1551
|
constructor() {
|
|
@@ -1391,29 +1557,23 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
1391
1557
|
if (this.props.renderNotFound) {
|
|
1392
1558
|
return this.props.renderNotFound();
|
|
1393
1559
|
}
|
|
1394
|
-
|
|
1395
|
-
|
|
1560
|
+
// TODO: need fix sizes, how to use variables
|
|
1561
|
+
return (React__default.createElement(FlexCell$1, { cx: css$V[`no-found-size-${this.props.searchSize || settings.sizes.dataPickerBody.flexCell.default}`], grow: 1, textAlign: "center" },
|
|
1562
|
+
React__default.createElement(Text, { size: this.props.searchSize }, i18n.dataPickerBody.noRecordsMessage)));
|
|
1396
1563
|
}
|
|
1397
1564
|
render() {
|
|
1398
|
-
const searchSize = isMobile() ? '
|
|
1565
|
+
const searchSize = (isMobile() ? settings.sizes.dataPickerBody.searchInput['mobile'] : this.props.searchSize);
|
|
1399
1566
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1400
1567
|
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$V.searchWrapper },
|
|
1401
1568
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
1402
|
-
React__default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay }))))),
|
|
1403
|
-
React__default.createElement(FlexRow, { key: "body", cx: cx$1('uui-
|
|
1569
|
+
React__default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay, rawProps: { dir: 'auto' } }))))),
|
|
1570
|
+
React__default.createElement(FlexRow, { key: "body", cx: cx$1('uui-picker_input-body', css$V[this.props.editMode], css$V[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight, maxWidth: this.props.maxWidth } } }, this.props.rowsCount > 0 ? (React__default.createElement(VirtualList, Object.assign({}, this.lens.toProps(), { rows: this.props.rows, rawProps: this.props.rawProps, rowsCount: this.props.rowsCount, isLoading: this.props.isReloading }))) : (this.renderNotFound()))));
|
|
1404
1571
|
}
|
|
1405
1572
|
}
|
|
1406
1573
|
|
|
1407
|
-
const switchSizes = {
|
|
1408
|
-
24: '12',
|
|
1409
|
-
36: '18',
|
|
1410
|
-
42: '24',
|
|
1411
|
-
48: '24',
|
|
1412
|
-
};
|
|
1413
1574
|
function DataPickerFooterImpl(props) {
|
|
1414
1575
|
const { clearSelection, view, showSelected, selectionMode, } = props;
|
|
1415
|
-
const size = isMobile() ? '
|
|
1416
|
-
const switchSize = switchSizes[size];
|
|
1576
|
+
const size = settings.sizes.dataPickerFooter.linkButton[isMobile() ? 'mobile' : props.size];
|
|
1417
1577
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
1418
1578
|
const rowsCount = view.getListProps().rowsCount;
|
|
1419
1579
|
const isEmptyRowsAndHasNoSelection = (rowsCount === 0 && !hasSelection);
|
|
@@ -1423,8 +1583,8 @@ function DataPickerFooterImpl(props) {
|
|
|
1423
1583
|
const selectAllText = i18n.pickerInput.selectAllButton;
|
|
1424
1584
|
// show always for multi picker and for single only in case if search not disabled.
|
|
1425
1585
|
const shouldShowFooter = isSinglePicker ? !props.disableClear : true;
|
|
1426
|
-
return shouldShowFooter && (React__default.createElement(FlexRow, { padding:
|
|
1427
|
-
!isSinglePicker && (React__default.createElement(Switch, { size:
|
|
1586
|
+
return shouldShowFooter && (React__default.createElement(FlexRow, { padding: settings.sizes.dataPickerFooter.flexRowPadding },
|
|
1587
|
+
!isSinglePicker && (React__default.createElement(Switch, { size: settings.sizes.dataPickerFooter.switch[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
1428
1588
|
React__default.createElement(FlexSpacer, null),
|
|
1429
1589
|
React__default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
1430
1590
|
view.selectAll && (React__default.createElement(LinkButton, { size: size, caption: hasSelection ? clearAllText : selectAllText, onClick: hasSelection ? clearSelection : () => view.selectAll.onValueChange(true), rawProps: {
|
|
@@ -1436,12 +1596,12 @@ function DataPickerFooterImpl(props) {
|
|
|
1436
1596
|
}
|
|
1437
1597
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
1438
1598
|
|
|
1439
|
-
var css$U = {"header":"
|
|
1599
|
+
var css$U = {"header":"-NyBV1","close":"Kv1z8J"};
|
|
1440
1600
|
|
|
1441
1601
|
const DataPickerHeaderImpl = (props) => {
|
|
1442
1602
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1443
1603
|
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$U.header },
|
|
1444
|
-
React__default.createElement(Text, { size:
|
|
1604
|
+
React__default.createElement(Text, { size: settings.sizes.dataPickerHeader.text.size, fontWeight: settings.sizes.dataPickerHeader.text.fontWeight }, title),
|
|
1445
1605
|
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 })));
|
|
1446
1606
|
};
|
|
1447
1607
|
const DataPickerHeader = /* @__PURE__ */React__default.memo(DataPickerHeaderImpl);
|
|
@@ -1461,7 +1621,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
1461
1621
|
};
|
|
1462
1622
|
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
1463
1623
|
|
|
1464
|
-
var css$T = {"uui-typography":"
|
|
1624
|
+
var css$T = {"uui-typography":"Do4uRT","hero-header":"SMO6mD","promo-header":"NYfhmh","uui-critical":"_6m1JlD","uui-info":"gzdV89","uui-success":"M-4Fte","uui-warning":"g7eFtl","uui-highlight":"fmsKtK","uui-typography-size-12":"_9QnF5f","uui-typography-size-14":"-LkguN","uui-typography-size-16":"FHHnJb","root":"lM6L32","align-widgets-top":"DkzjgB","align-widgets-center":"SqojH2","padding-12":"mY1CEk","padding-24":"SuL2Vr","padding-left-12":"eTqVBW","padding-left-24":"eJJCQE","icon-container":"ikqKi9","loading-cell":"_5AMLYi","content-wrapper":"pBPZNN","render-item":"vZk1NU","icon-wrapper":"p41ATJ","icon-default":"ClpXIT","selected-mark":"XpoPzH","uuiTypography":"Do4uRT","heroHeader":"SMO6mD","promoHeader":"NYfhmh","uuiCritical":"_6m1JlD","uuiInfo":"gzdV89","uuiSuccess":"M-4Fte","uuiWarning":"g7eFtl","uuiHighlight":"fmsKtK","uuiTypographySize12":"_9QnF5f","uuiTypographySize14":"-LkguN","uuiTypographySize16":"FHHnJb","alignWidgetsTop":"DkzjgB","alignWidgetsCenter":"SqojH2","padding12":"mY1CEk","padding24":"SuL2Vr","paddingLeft12":"eTqVBW","paddingLeft24":"eJJCQE","iconContainer":"ikqKi9","loadingCell":"_5AMLYi","contentWrapper":"pBPZNN","renderItem":"vZk1NU","iconWrapper":"p41ATJ","iconDefault":"ClpXIT","selectedMark":"XpoPzH"};
|
|
1465
1625
|
|
|
1466
1626
|
function DataPickerCell(props) {
|
|
1467
1627
|
const ref = React.useRef();
|
|
@@ -1469,18 +1629,18 @@ function DataPickerCell(props) {
|
|
|
1469
1629
|
if (props.rowProps.isLoading) {
|
|
1470
1630
|
content = (
|
|
1471
1631
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
1472
|
-
React.createElement(Text, { key: "t", size:
|
|
1632
|
+
React.createElement(Text, { key: "t", size: settings.sizes.dataPickerCell.text[props.size], cx: css$T.loadingCell },
|
|
1473
1633
|
React.createElement(TextPlaceholder, null)));
|
|
1474
1634
|
}
|
|
1475
1635
|
else if (props.rowProps.isUnknown) {
|
|
1476
|
-
content = (React.createElement(Text, { key: "t", size:
|
|
1636
|
+
content = (React.createElement(Text, { key: "t", size: settings.sizes.dataPickerCell.text[props.size] }, "Unknown"));
|
|
1477
1637
|
}
|
|
1478
1638
|
else {
|
|
1479
1639
|
content = (React.createElement("div", { key: `${props.rowProps.id}`, className: css$T.renderItem },
|
|
1480
1640
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
1481
1641
|
React.createElement(FlexSpacer, null),
|
|
1482
1642
|
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$T.iconWrapper, uuiMod.selected) },
|
|
1483
|
-
React.createElement(IconContainer, {
|
|
1643
|
+
React.createElement(IconContainer, { size: settings.sizes.dataPickerCell.icon[props.size], 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
|
|
1484
1644
|
? 'Child is selected'
|
|
1485
1645
|
: 'Selected' } })))));
|
|
1486
1646
|
}
|
|
@@ -1489,22 +1649,22 @@ function DataPickerCell(props) {
|
|
|
1489
1649
|
css$T.root,
|
|
1490
1650
|
props.cx,
|
|
1491
1651
|
'data-picker-cell',
|
|
1492
|
-
|
|
1493
|
-
css$T[`padding-${props.padding ||
|
|
1494
|
-
css$T[`padding-left-${props.padding ||
|
|
1652
|
+
'uui-size-' + (props.size || settings.sizes.defaults.dataPickerCell),
|
|
1653
|
+
css$T[`padding-${props.padding || settings.sizes.dataPickerCell.padding.default}`],
|
|
1654
|
+
css$T[`padding-left-${props.padding || settings.sizes.dataPickerCell.paddingLeft.default}`],
|
|
1495
1655
|
css$T[`align-widgets-${props.alignActions || 'top'}`],
|
|
1496
1656
|
] },
|
|
1497
|
-
React.createElement(DataRowAddons, Object.assign({}, props)),
|
|
1657
|
+
React.createElement(DataRowAddons, Object.assign({ size: props.size || settings.sizes.defaults.dataPickerCell }, props)),
|
|
1498
1658
|
getWrappedContent()));
|
|
1499
1659
|
}
|
|
1500
1660
|
|
|
1501
|
-
var css$S = {"uui-typography":"
|
|
1661
|
+
var css$S = {"uui-typography":"_2SePCq","hero-header":"nfhGWq","promo-header":"z4gMCD","uui-critical":"z-ebub","uui-info":"ldMtWn","uui-success":"hMDRaU","uui-warning":"DW8Bp2","uui-highlight":"_9KlZnT","uui-typography-size-12":"_8zAm3A","uui-typography-size-14":"pDGoE6","uui-typography-size-16":"GWOP9u","picker-row":"XmrQqy","uuiTypography":"_2SePCq","heroHeader":"nfhGWq","promoHeader":"z4gMCD","uuiCritical":"z-ebub","uuiInfo":"ldMtWn","uuiSuccess":"hMDRaU","uuiWarning":"DW8Bp2","uuiHighlight":"_9KlZnT","uuiTypographySize12":"_8zAm3A","uuiTypographySize14":"pDGoE6","uuiTypographySize16":"GWOP9u","pickerRow":"XmrQqy"};
|
|
1502
1662
|
|
|
1503
1663
|
class DataPickerRow extends React.Component {
|
|
1504
1664
|
constructor() {
|
|
1505
1665
|
super(...arguments);
|
|
1506
1666
|
this.renderContent = () => {
|
|
1507
|
-
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size ||
|
|
1667
|
+
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 }));
|
|
1508
1668
|
};
|
|
1509
1669
|
}
|
|
1510
1670
|
render() {
|
|
@@ -1512,7 +1672,7 @@ class DataPickerRow extends React.Component {
|
|
|
1512
1672
|
}
|
|
1513
1673
|
}
|
|
1514
1674
|
|
|
1515
|
-
var css$R = {"uui-typography":"
|
|
1675
|
+
var css$R = {"uui-typography":"DxPR41","hero-header":"ddf9pA","promo-header":"YjCbp2","uui-critical":"anz51B","uui-info":"rIX13a","uui-success":"iuCyKB","uui-warning":"ZvJgve","uui-highlight":"V5jliH","uui-typography-size-12":"UElBuh","uui-typography-size-14":"ZM9FTt","uui-typography-size-16":"_6-Ll-y","done":"RfQcL7","container":"VHgCqT","uuiTypography":"DxPR41","heroHeader":"ddf9pA","promoHeader":"YjCbp2","uuiCritical":"anz51B","uuiInfo":"rIX13a","uuiSuccess":"iuCyKB","uuiWarning":"ZvJgve","uuiHighlight":"V5jliH","uuiTypographySize12":"UElBuh","uuiTypographySize14":"ZM9FTt","uuiTypographySize16":"_6-Ll-y"};
|
|
1516
1676
|
|
|
1517
1677
|
const MobileDropdownWrapper = (props) => {
|
|
1518
1678
|
const isMobileView = isMobile();
|
|
@@ -1521,7 +1681,7 @@ const MobileDropdownWrapper = (props) => {
|
|
|
1521
1681
|
return (React__default.createElement(DropdownContainer, Object.assign({}, props, { maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$R.container, props.cx] }),
|
|
1522
1682
|
isMobileView && React__default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
1523
1683
|
props.children,
|
|
1524
|
-
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:
|
|
1684
|
+
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 })));
|
|
1525
1685
|
};
|
|
1526
1686
|
|
|
1527
1687
|
var _path$s, _path2$4;
|
|
@@ -1546,9 +1706,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
1546
1706
|
};
|
|
1547
1707
|
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
1548
1708
|
|
|
1549
|
-
var css$Q = {"uui-typography":"
|
|
1550
|
-
|
|
1551
|
-
var css$P = {"root":"vQW2K8","multiline":"GAbiqs","vertical-padding-24":"WFUGy-","vertical-padding-30":"_9JUwEf","vertical-padding-36":"H6BVtP","vertical-padding-42":"nf-1Pf","vertical-padding-48":"Nftw4J","text":"xyMYHW","verticalPadding24":"WFUGy-","verticalPadding30":"_9JUwEf","verticalPadding36":"H6BVtP","verticalPadding42":"nf-1Pf","verticalPadding48":"Nftw4J"};
|
|
1709
|
+
var css$Q = {"uui-typography":"LafbQU","hero-header":"_5P6jSv","promo-header":"f5VjFN","uui-critical":"HfXLBw","uui-info":"Z-vIXV","uui-success":"lDNzjK","uui-warning":"FCGTX0","uui-highlight":"Kq-i4s","uui-typography-size-12":"tNGF-4","uui-typography-size-14":"xtXpgd","uui-typography-size-16":"ttDBN5","sub-header-wrapper":"HNRZ5V","switch":"LY0uX-","no-found-modal-container":"J5PE-B","no-found-modal-container-icon":"eBm8Rz","no-found-modal-container-text":"myCkzN","uuiTypography":"LafbQU","heroHeader":"_5P6jSv","promoHeader":"f5VjFN","uuiCritical":"HfXLBw","uuiInfo":"Z-vIXV","uuiSuccess":"lDNzjK","uuiWarning":"FCGTX0","uuiHighlight":"Kq-i4s","uuiTypographySize12":"tNGF-4","uuiTypographySize14":"xtXpgd","uuiTypographySize16":"ttDBN5","subHeaderWrapper":"HNRZ5V","$switch$":"LY0uX-","noFoundModalContainer":"J5PE-B","noFoundModalContainerIcon":"eBm8Rz","noFoundModalContainerText":"myCkzN"};
|
|
1552
1710
|
|
|
1553
1711
|
const mergeHighlightRanges = (ranges) => {
|
|
1554
1712
|
const mergedRanges = [];
|
|
@@ -1615,11 +1773,12 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
1615
1773
|
return getDecoratedText(str, ranges);
|
|
1616
1774
|
};
|
|
1617
1775
|
|
|
1618
|
-
|
|
1776
|
+
var css$P = {"root":"U9tsYa","multiline":"DVWTHU","vertical-padding-24":"_1SGcfI","vertical-padding-30":"wEh8Dr","vertical-padding-36":"NbFHAl","vertical-padding-42":"BG7pzq","vertical-padding-48":"bPzYz-","text":"E072MA","verticalPadding24":"_1SGcfI","verticalPadding30":"wEh8Dr","verticalPadding36":"NbFHAl","verticalPadding42":"BG7pzq","verticalPadding48":"bPzYz-"};
|
|
1777
|
+
|
|
1619
1778
|
function PickerItem(props) {
|
|
1620
1779
|
var _a;
|
|
1621
1780
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, cx, } = props;
|
|
1622
|
-
const itemSize = size ||
|
|
1781
|
+
const itemSize = size || settings.sizes.defaults.pickerItem;
|
|
1623
1782
|
const isMultiline = !!(props.title && props.subtitle);
|
|
1624
1783
|
const { search } = (_a = props.dataSourceState) !== null && _a !== void 0 ? _a : {};
|
|
1625
1784
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
@@ -1633,7 +1792,7 @@ function PickerItem(props) {
|
|
|
1633
1792
|
subtitle && (React.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$P.text }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
1634
1793
|
}
|
|
1635
1794
|
function getAvatarSize(size, isMultiline) {
|
|
1636
|
-
return isMultiline ?
|
|
1795
|
+
return settings.sizes.pickerItem.avatar[isMultiline ? 'multiline' : 'rest'][size];
|
|
1637
1796
|
}
|
|
1638
1797
|
|
|
1639
1798
|
function PickerModal(props) {
|
|
@@ -1682,34 +1841,18 @@ function PickerModal(props) {
|
|
|
1682
1841
|
listView: view,
|
|
1683
1842
|
rows: dataRows,
|
|
1684
1843
|
searchPosition: 'body',
|
|
1685
|
-
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder }))),
|
|
1844
|
+
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } }))),
|
|
1686
1845
|
!isSingleSelect() && (React__default.createElement(Switch, Object.assign({ cx: css$Q.switch, size: "18" }, getFooterProps().showSelected, { isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" }))),
|
|
1687
1846
|
props.renderFilter && React__default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
1688
1847
|
React__default.createElement(DataPickerBody, Object.assign({}, getListProps(), { value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" })),
|
|
1689
1848
|
React__default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
1690
1849
|
}
|
|
1691
1850
|
|
|
1692
|
-
var css$O = {"tooltip":"
|
|
1693
|
-
|
|
1694
|
-
const getPickerTogglerButtonSize = (propSize) => {
|
|
1695
|
-
switch (propSize) {
|
|
1696
|
-
case '48':
|
|
1697
|
-
return '42';
|
|
1698
|
-
case '42':
|
|
1699
|
-
return '36';
|
|
1700
|
-
case '36':
|
|
1701
|
-
return '30';
|
|
1702
|
-
case '30':
|
|
1703
|
-
return '24';
|
|
1704
|
-
case '24':
|
|
1705
|
-
return '18';
|
|
1706
|
-
default:
|
|
1707
|
-
return '30';
|
|
1708
|
-
}
|
|
1709
|
-
};
|
|
1851
|
+
var css$O = {"tooltip":"-iDFMj"};
|
|
1852
|
+
|
|
1710
1853
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1711
1854
|
var _a;
|
|
1712
|
-
const tagProps = Object.assign(Object.assign({}, props), { tabIndex: -1, size:
|
|
1855
|
+
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 });
|
|
1713
1856
|
if (props.isCollapsed) {
|
|
1714
1857
|
const collapsedRows = props.collapsedRows.map((row) => { var _a; return (_a = row.value) === null || _a === void 0 ? void 0 : _a.name; }).join(', ');
|
|
1715
1858
|
return (React.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$O.tooltip },
|
|
@@ -1720,20 +1863,20 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1720
1863
|
}
|
|
1721
1864
|
});
|
|
1722
1865
|
|
|
1723
|
-
var css$N = {"uui-typography":"
|
|
1866
|
+
var css$N = {"uui-typography":"OYoA2g","hero-header":"-wIath","promo-header":"_1lMWM1","uui-critical":"_0ecCIZ","uui-info":"blczXq","uui-success":"Gg6v4l","uui-warning":"AeY9cf","uui-highlight":"RIgBaU","uui-typography-size-12":"_8k9559","uui-typography-size-14":"Orp-bF","uui-typography-size-16":"gx4C7U","root":"vlHl37","mode-form":"Ex6BK2","mode-cell":"_2Lssnz","mode-inline":"EBFllY","uuiTypography":"OYoA2g","heroHeader":"-wIath","promoHeader":"_1lMWM1","uuiCritical":"_0ecCIZ","uuiInfo":"blczXq","uuiSuccess":"Gg6v4l","uuiWarning":"AeY9cf","uuiHighlight":"RIgBaU","uuiTypographySize12":"_8k9559","uuiTypographySize14":"Orp-bF","uuiTypographySize16":"gx4C7U","modeForm":"Ex6BK2","modeCell":"_2Lssnz","modeInline":"EBFllY"};
|
|
1724
1867
|
|
|
1725
|
-
const defaultSize$1 = '36';
|
|
1726
1868
|
const defaultMode$1 = EditMode.FORM;
|
|
1727
1869
|
function applyPickerTogglerMods(mods) {
|
|
1728
1870
|
return [
|
|
1729
1871
|
css$N.root,
|
|
1730
|
-
|
|
1872
|
+
'uui-picker_toggler',
|
|
1873
|
+
`uui-size-${mods.size || settings.sizes.defaults.pickerToggler}`,
|
|
1731
1874
|
css$N['mode-' + (mods.mode || defaultMode$1)],
|
|
1732
1875
|
];
|
|
1733
1876
|
}
|
|
1734
1877
|
function PickerTogglerComponent(props, ref) {
|
|
1735
1878
|
const renderItem = (itemProps) => {
|
|
1736
|
-
const itemPropsWithSize = Object.assign(Object.assign({}, itemProps), { size: props.size });
|
|
1879
|
+
const itemPropsWithSize = Object.assign(Object.assign({}, itemProps), { size: (props.size || settings.sizes.defaults.pickerToggler) });
|
|
1737
1880
|
if (!!props.renderItem) {
|
|
1738
1881
|
return props.renderItem(itemPropsWithSize);
|
|
1739
1882
|
}
|
|
@@ -1743,8 +1886,6 @@ function PickerTogglerComponent(props, ref) {
|
|
|
1743
1886
|
}
|
|
1744
1887
|
const PickerToggler = /* @__PURE__ */React.forwardRef(PickerTogglerComponent);
|
|
1745
1888
|
|
|
1746
|
-
const pickerHeight$1 = 300;
|
|
1747
|
-
const pickerWidth = 360;
|
|
1748
1889
|
function PickerInputComponent(_a, ref) {
|
|
1749
1890
|
var { highlightSearchMatches = true } = _a, props = __rest(_a, ["highlightSearchMatches"]);
|
|
1750
1891
|
const toggleModalOpening = () => {
|
|
@@ -1781,9 +1922,9 @@ function PickerInputComponent(_a, ref) {
|
|
|
1781
1922
|
};
|
|
1782
1923
|
const getRowSize = () => {
|
|
1783
1924
|
if (isMobile()) {
|
|
1784
|
-
return
|
|
1925
|
+
return settings.sizes.pickerInput.rowSize.mobile;
|
|
1785
1926
|
}
|
|
1786
|
-
return props.editMode === 'modal' ?
|
|
1927
|
+
return props.editMode === 'modal' ? settings.sizes.pickerInput.rowSize.modal : props.size;
|
|
1787
1928
|
};
|
|
1788
1929
|
const getSubtitle = ({ path }, { search }) => {
|
|
1789
1930
|
if (!search)
|
|
@@ -1798,12 +1939,12 @@ function PickerInputComponent(_a, ref) {
|
|
|
1798
1939
|
return (React__default.createElement(PickerItem, Object.assign({ title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), rowProps)));
|
|
1799
1940
|
};
|
|
1800
1941
|
const renderRow = (rowProps, dsState) => {
|
|
1801
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === 'modal' ?
|
|
1942
|
+
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) })));
|
|
1802
1943
|
};
|
|
1803
1944
|
const renderBody = (bodyProps, rows) => {
|
|
1804
1945
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
1805
|
-
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight ||
|
|
1806
|
-
const minBodyWidth = props.minBodyWidth ||
|
|
1946
|
+
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.sizes.pickerInput.height;
|
|
1947
|
+
const minBodyWidth = props.minBodyWidth || settings.sizes.pickerInput.width;
|
|
1807
1948
|
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' },
|
|
1808
1949
|
React__default.createElement(DataPickerBody, Object.assign({}, bodyProps, { rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode, renderNotFound: props.renderNotFound
|
|
1809
1950
|
? () => props.renderNotFound({
|
|
@@ -1822,7 +1963,7 @@ function PickerInputComponent(_a, ref) {
|
|
|
1822
1963
|
}
|
|
1823
1964
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
1824
1965
|
|
|
1825
|
-
var css$M = {"row":"
|
|
1966
|
+
var css$M = {"row":"DBnujB"};
|
|
1826
1967
|
|
|
1827
1968
|
function PickerListItem(props) {
|
|
1828
1969
|
var _a;
|
|
@@ -1843,7 +1984,7 @@ function PickerListItem(props) {
|
|
|
1843
1984
|
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));
|
|
1844
1985
|
}
|
|
1845
1986
|
|
|
1846
|
-
var css$L = {"root":"
|
|
1987
|
+
var css$L = {"root":"GJOlH9"};
|
|
1847
1988
|
|
|
1848
1989
|
function PickerList(props) {
|
|
1849
1990
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -1883,7 +2024,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
1883
2024
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
1884
2025
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
1885
2026
|
|
|
1886
|
-
var css$K = {"uui-typography":"
|
|
2027
|
+
var css$K = {"uui-typography":"Iw3vKX","hero-header":"Dn8Iiz","promo-header":"WKzb1F","uui-critical":"_0-VgP0","uui-info":"fbsunz","uui-success":"_4uEl2r","uui-warning":"CgsB4o","uui-highlight":"TPh1Sc","uui-typography-size-12":"r4lXM9","uui-typography-size-14":"M78LJF","uui-typography-size-16":"VQw-TW","root":"d-W7ox","title-wrapper":"dwEcNJ","title":"a9fEF8","text-wrapper":"EHkPub","selection":"CXSUH2","postfix":"htvRZV","selected":"rjjxES","uuiTypography":"Iw3vKX","heroHeader":"Dn8Iiz","promoHeader":"WKzb1F","uuiCritical":"_0-VgP0","uuiInfo":"fbsunz","uuiSuccess":"_4uEl2r","uuiWarning":"CgsB4o","uuiHighlight":"TPh1Sc","uuiTypographySize12":"r4lXM9","uuiTypographySize14":"M78LJF","uuiTypographySize16":"VQw-TW","titleWrapper":"dwEcNJ","textWrapper":"EHkPub"};
|
|
1887
2028
|
|
|
1888
2029
|
const defaultSize = '36';
|
|
1889
2030
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
@@ -1950,7 +2091,7 @@ function FilterPickerBody(_a) {
|
|
|
1950
2091
|
};
|
|
1951
2092
|
const renderItem = (item, rowProps, dsState) => {
|
|
1952
2093
|
const { flattenSearchResults } = view.getConfig();
|
|
1953
|
-
return (React.createElement(PickerItem, Object.assign({ title: getName(item), highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), { dataSourceState: dsState, size:
|
|
2094
|
+
return (React.createElement(PickerItem, Object.assign({ title: getName(item), highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), { dataSourceState: dsState, size: settings.sizes.filterPickerBody.pickerItem }, rowProps)));
|
|
1954
2095
|
};
|
|
1955
2096
|
const onSelect = (row) => {
|
|
1956
2097
|
handleDataSourceValueChange((currentDataSourceState) => (Object.assign(Object.assign({}, currentDataSourceState), { search: '', selectedId: row.id })));
|
|
@@ -1959,24 +2100,24 @@ function FilterPickerBody(_a) {
|
|
|
1959
2100
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
1960
2101
|
rowProps.onSelect = onSelect;
|
|
1961
2102
|
}
|
|
1962
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size:
|
|
2103
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: settings.sizes.filterPickerBody.dataPickerRow, padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) })));
|
|
1963
2104
|
};
|
|
1964
2105
|
const renderFooter = () => {
|
|
1965
|
-
return React.createElement(DataPickerFooter, Object.assign({}, getFooterProps(), { size:
|
|
2106
|
+
return React.createElement(DataPickerFooter, Object.assign({}, getFooterProps(), { size: settings.sizes.filterPickerBody.dataPickerFooter }));
|
|
1966
2107
|
};
|
|
1967
2108
|
const renderBody = (bodyProps, rows) => {
|
|
1968
2109
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
1969
2110
|
const maxHeight = isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
1970
2111
|
const maxWidth = isMobile() ? undefined : 360;
|
|
1971
2112
|
return (React.createElement(React.Fragment, null,
|
|
1972
|
-
React.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize:
|
|
2113
|
+
React.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.sizes.filterPickerBody.searchSize, editMode: "dropdown" })),
|
|
1973
2114
|
renderFooter()));
|
|
1974
2115
|
};
|
|
1975
2116
|
const rows = getRows();
|
|
1976
2117
|
return renderBody(Object.assign(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), { showSearch: (_b = props.showSearch) !== null && _b !== void 0 ? _b : true }), rows);
|
|
1977
2118
|
}
|
|
1978
2119
|
|
|
1979
|
-
var css$J = {"container":"
|
|
2120
|
+
var css$J = {"container":"YY6FWB"};
|
|
1980
2121
|
|
|
1981
2122
|
const defaultFormat = 'MMM D, YYYY';
|
|
1982
2123
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2185,14 +2326,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2185
2326
|
React.createElement(Button, { icon: navIconRight || ForwardRef$u, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow(), isDisabled: disableNext }))));
|
|
2186
2327
|
}
|
|
2187
2328
|
|
|
2188
|
-
var css$I = {"uui-typography":"
|
|
2329
|
+
var css$I = {"uui-typography":"mYpFF0","hero-header":"E9p9C0","promo-header":"YxrFY-","uui-critical":"_54QOT5","uui-info":"AAJRoA","uui-success":"fx9rl-","uui-warning":"wCMdWn","uui-highlight":"uC6Ty5","uui-typography-size-12":"bALD--","uui-typography-size-14":"nJag6u","uui-typography-size-16":"zKqoEm","root":"X8UNw9","uuiTypography":"mYpFF0","heroHeader":"E9p9C0","promoHeader":"YxrFY-","uuiCritical":"_54QOT5","uuiInfo":"AAJRoA","uuiSuccess":"fx9rl-","uuiWarning":"wCMdWn","uuiHighlight":"uC6Ty5","uuiTypographySize12":"bALD--","uuiTypographySize14":"nJag6u","uuiTypographySize16":"zKqoEm"};
|
|
2189
2330
|
|
|
2190
2331
|
function applyDateSelectionMods() {
|
|
2191
2332
|
return [css$I.root];
|
|
2192
2333
|
}
|
|
2193
2334
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2194
2335
|
|
|
2195
|
-
var css$H = {"uui-typography":"
|
|
2336
|
+
var css$H = {"uui-typography":"_3N-4G1","hero-header":"X0V9Xu","promo-header":"lY8iar","uui-critical":"jF531I","uui-info":"zai5Wm","uui-success":"SfGI7C","uui-warning":"uS5HYX","uui-highlight":"Zeiofa","uui-typography-size-12":"_3lnhYX","uui-typography-size-14":"t-roNO","uui-typography-size-16":"fWTrCG","root":"xk2a44","uuiTypography":"_3N-4G1","heroHeader":"X0V9Xu","promoHeader":"lY8iar","uuiCritical":"jF531I","uuiInfo":"zai5Wm","uuiSuccess":"SfGI7C","uuiWarning":"uS5HYX","uuiHighlight":"Zeiofa","uuiTypographySize12":"_3lnhYX","uuiTypographySize14":"t-roNO","uuiTypographySize16":"fWTrCG"};
|
|
2196
2337
|
|
|
2197
2338
|
const uuiDatePickerBody = {
|
|
2198
2339
|
wrapper: 'uui-datepickerBody-wrapper',
|
|
@@ -2280,7 +2421,7 @@ function FilterDatePickerBody(props) {
|
|
|
2280
2421
|
} })))));
|
|
2281
2422
|
}
|
|
2282
2423
|
|
|
2283
|
-
var css$G = {"uui-typography":"
|
|
2424
|
+
var css$G = {"uui-typography":"_9zK6d6","hero-header":"xOYY-D","promo-header":"XfGycM","uui-critical":"w26Lb9","uui-info":"Ofj472","uui-success":"DAWvzG","uui-warning":"_5aulQK","uui-highlight":"eH2zCX","uui-typography-size-12":"rUNHan","uui-typography-size-14":"x31K4w","uui-typography-size-16":"_6iNphr","dropdown-container":"men63l","date-input":"oAfTgr","date-input-group":"_4pl4y-","separator":"Bun8vo","mode-form":"_11S8wM","mode-cell":"KUTHqh","uuiTypography":"_9zK6d6","heroHeader":"xOYY-D","promoHeader":"XfGycM","uuiCritical":"w26Lb9","uuiInfo":"Ofj472","uuiSuccess":"DAWvzG","uuiWarning":"_5aulQK","uuiHighlight":"eH2zCX","uuiTypographySize12":"rUNHan","uuiTypographySize14":"x31K4w","uuiTypographySize16":"_6iNphr","dropdownContainer":"men63l","dateInput":"oAfTgr","dateInputGroup":"_4pl4y-","modeForm":"_11S8wM","modeCell":"KUTHqh"};
|
|
2284
2425
|
|
|
2285
2426
|
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onBlur, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, id, cx: classes, }, ref) => {
|
|
2286
2427
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2306,14 +2447,14 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
2306
2447
|
}
|
|
2307
2448
|
};
|
|
2308
2449
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2309
|
-
return (React__default.createElement("div", { ref: ref, className: cx$1(classes, css$G.dateInputGroup, isDisabled && uuiMod.disabled, isReadonly && uuiMod.readonly, isInvalid && uuiMod.invalid, inFocus && uuiMod.focus), onClick: (event) => {
|
|
2450
|
+
return (React__default.createElement("div", { ref: ref, className: cx$1(classes, css$G.dateInputGroup, 'uui-range-date-picker', isDisabled && uuiMod.disabled, isReadonly && uuiMod.readonly, isInvalid && uuiMod.invalid, inFocus && uuiMod.focus), onClick: (event) => {
|
|
2310
2451
|
if (!isDisabled) {
|
|
2311
2452
|
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
2312
2453
|
}
|
|
2313
2454
|
}, onBlur: onBlur },
|
|
2314
|
-
React__default.createElement(TextInput, { icon: systemIcons.calendar, cx: cx$1(css$G.dateInput,
|
|
2455
|
+
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 }),
|
|
2315
2456
|
React__default.createElement("div", { className: css$G.separator }),
|
|
2316
|
-
React__default.createElement(TextInput, { cx: cx$1(css$G.dateInput,
|
|
2457
|
+
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 ? () => {
|
|
2317
2458
|
onValueChange(defaultRangeValue);
|
|
2318
2459
|
} : 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 })));
|
|
2319
2460
|
});
|
|
@@ -2371,7 +2512,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
2371
2512
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
2372
2513
|
}
|
|
2373
2514
|
|
|
2374
|
-
var css$F = {"container":"
|
|
2515
|
+
var css$F = {"container":"eORk5q"};
|
|
2375
2516
|
|
|
2376
2517
|
function FilterNumericBody(props) {
|
|
2377
2518
|
var _a, _b;
|
|
@@ -2471,7 +2612,7 @@ var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref)
|
|
|
2471
2612
|
};
|
|
2472
2613
|
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgActionDeleteForeverFill);
|
|
2473
2614
|
|
|
2474
|
-
var css$E = {"uui-typography":"
|
|
2615
|
+
var css$E = {"uui-typography":"fwvtXp","hero-header":"Gu96dI","promo-header":"veXf69","uui-critical":"lCf5iL","uui-info":"_2DvYfA","uui-success":"X-HYxX","uui-warning":"NaMgCF","uui-highlight":"aDwDVl","uui-typography-size-12":"UlSYY6","uui-typography-size-14":"TytSgT","uui-typography-size-16":"_8NEiwW","header":"erctQB","removeButton":"OCjHFS","with-search":"fCvkZz","uuiTypography":"fwvtXp","heroHeader":"Gu96dI","promoHeader":"veXf69","uuiCritical":"lCf5iL","uuiInfo":"_2DvYfA","uuiSuccess":"X-HYxX","uuiWarning":"NaMgCF","uuiHighlight":"aDwDVl","uuiTypographySize12":"UlSYY6","uuiTypographySize14":"TytSgT","uuiTypographySize16":"_8NEiwW","withSearch":"fCvkZz"};
|
|
2475
2616
|
|
|
2476
2617
|
function useView(props, value) {
|
|
2477
2618
|
const forceUpdate = useForceUpdate();
|
|
@@ -2759,8 +2900,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2759
2900
|
return orderBy(selectedFilters, (f) => { var _a, _b; return (_b = (_a = tableState.filtersConfig) === null || _a === void 0 ? void 0 : _a[f.field]) === null || _b === void 0 ? void 0 : _b.order; });
|
|
2760
2901
|
}, [filters, tableState.filtersConfig]);
|
|
2761
2902
|
const renderAddFilterToggler = useCallback((togglerProps) => {
|
|
2762
|
-
|
|
2763
|
-
return (React__default.createElement(Button, { size: (_a = props.size) !== null && _a !== void 0 ? _a : '36', onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$q, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
2903
|
+
return (React__default.createElement(Button, { size: props.size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$q, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
2764
2904
|
}, []);
|
|
2765
2905
|
const getRowOptions = useCallback((item) => ({
|
|
2766
2906
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -2793,7 +2933,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2793
2933
|
}
|
|
2794
2934
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
2795
2935
|
|
|
2796
|
-
var css$D = {"divider":"
|
|
2936
|
+
var css$D = {"divider":"XsVmbi","dropdownDeleteIcon":"rhDOxJ","presetsWrapper":"TFlngs","addPresetContainer":"x7aMqS","dropContainer":"FRyAy6"};
|
|
2797
2937
|
|
|
2798
2938
|
var _path$p;
|
|
2799
2939
|
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); }
|
|
@@ -2921,7 +3061,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
2921
3061
|
};
|
|
2922
3062
|
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
2923
3063
|
|
|
2924
|
-
var css$C = {"delete-button":"
|
|
3064
|
+
var css$C = {"delete-button":"q2wfpv","tab-button":"KA7Wdr","targetOpen":"jaaOf-","deleteButton":"q2wfpv","tabButton":"KA7Wdr"};
|
|
2925
3065
|
|
|
2926
3066
|
function PresetActionsDropdown(props) {
|
|
2927
3067
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -2979,7 +3119,7 @@ function PresetActionsDropdown(props) {
|
|
|
2979
3119
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
2980
3120
|
}
|
|
2981
3121
|
|
|
2982
|
-
var css$B = {"preset-input-cell":"
|
|
3122
|
+
var css$B = {"preset-input-cell":"ciwz-C","preset-input":"XhElaS","presetInputCell":"ciwz-C","presetInput":"XhElaS"};
|
|
2983
3123
|
|
|
2984
3124
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
2985
3125
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -3012,7 +3152,7 @@ function PresetInput(props) {
|
|
|
3012
3152
|
React__default.createElement(TextInput, { cx: css$B.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
3013
3153
|
}
|
|
3014
3154
|
|
|
3015
|
-
var css$A = {"preset":"
|
|
3155
|
+
var css$A = {"preset":"fZRNvn","activePreset":"_4RMRm1"};
|
|
3016
3156
|
|
|
3017
3157
|
function Preset(props) {
|
|
3018
3158
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -3114,25 +3254,16 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3114
3254
|
return columns;
|
|
3115
3255
|
};
|
|
3116
3256
|
|
|
3117
|
-
var css$z = {"line-height-12":"
|
|
3257
|
+
var css$z = {"line-height-12":"YEodeC","line-height-18":"QUkk6f","line-height-24":"-r7znJ","line-height-30":"tLna8K","font-size-10":"EP3At9","font-size-12":"fW9s1r","font-size-14":"eZWH2m","font-size-16":"EGxoRl","font-size-18":"Hy5wX9","font-size-24":"oN8u7Y","v-padding-2":"vYvxlN","v-padding-3":"GVX0nT","v-padding-5":"JIoXaW","v-padding-6":"zrLB5m","v-padding-8":"ibjyun","v-padding-9":"NEd-D2","v-padding-11":"VDosF0","v-padding-12":"gDJpG9","v-padding-14":"_55EJIS","v-padding-15":"CGQ-DD","v-padding-17":"_5gpbum","v-padding-18":"_1vrY-v","v-padding-23":"ee6VgB","v-padding-24":"FYMWhj","lineHeight12":"YEodeC","lineHeight18":"QUkk6f","lineHeight24":"-r7znJ","lineHeight30":"tLna8K","fontSize10":"EP3At9","fontSize12":"fW9s1r","fontSize14":"eZWH2m","fontSize16":"EGxoRl","fontSize18":"Hy5wX9","fontSize24":"oN8u7Y","vPadding2":"vYvxlN","vPadding3":"GVX0nT","vPadding5":"JIoXaW","vPadding6":"zrLB5m","vPadding8":"ibjyun","vPadding9":"NEd-D2","vPadding11":"VDosF0","vPadding12":"gDJpG9","vPadding14":"_55EJIS","vPadding15":"CGQ-DD","vPadding17":"_5gpbum","vPadding18":"_1vrY-v","vPadding23":"ee6VgB","vPadding24":"FYMWhj"};
|
|
3118
3258
|
|
|
3119
|
-
const defaultTextSettings = {
|
|
3120
|
-
18: { lineHeight: 12, fontSize: 10 },
|
|
3121
|
-
24: { lineHeight: 18, fontSize: 12 },
|
|
3122
|
-
30: { lineHeight: 18, fontSize: 14 },
|
|
3123
|
-
36: { lineHeight: 18, fontSize: 14 },
|
|
3124
|
-
42: { lineHeight: 24, fontSize: 16 },
|
|
3125
|
-
48: { lineHeight: 24, fontSize: 16 },
|
|
3126
|
-
60: { lineHeight: 30, fontSize: 24 },
|
|
3127
|
-
};
|
|
3128
3259
|
function getTextClasses(props, border) {
|
|
3129
3260
|
if (props.size === 'none') {
|
|
3130
3261
|
return [css$z['line-height-' + props.lineHeight], css$z['font-size-' + props.fontSize]];
|
|
3131
3262
|
}
|
|
3132
3263
|
const setting = {
|
|
3133
3264
|
size: props.size,
|
|
3134
|
-
lineHeight: props.lineHeight ||
|
|
3135
|
-
fontSize: props.fontSize ||
|
|
3265
|
+
lineHeight: props.lineHeight || settings.sizes.text[props.size].lineHeight,
|
|
3266
|
+
fontSize: props.fontSize || settings.sizes.text[props.size].fontSize,
|
|
3136
3267
|
};
|
|
3137
3268
|
const vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3138
3269
|
return [
|
|
@@ -3140,11 +3271,11 @@ function getTextClasses(props, border) {
|
|
|
3140
3271
|
];
|
|
3141
3272
|
}
|
|
3142
3273
|
|
|
3143
|
-
var css$y = {"root":"
|
|
3274
|
+
var css$y = {"root":"Ex052M"};
|
|
3144
3275
|
|
|
3145
3276
|
function applyTextMods(mods) {
|
|
3146
3277
|
const textClasses = getTextClasses({
|
|
3147
|
-
size: mods.size ||
|
|
3278
|
+
size: mods.size || settings.sizes.defaults.text,
|
|
3148
3279
|
lineHeight: mods.lineHeight,
|
|
3149
3280
|
fontSize: mods.fontSize,
|
|
3150
3281
|
}, false);
|
|
@@ -3159,7 +3290,7 @@ function applyTextMods(mods) {
|
|
|
3159
3290
|
}
|
|
3160
3291
|
const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods);
|
|
3161
3292
|
|
|
3162
|
-
var css$x = {"root":"
|
|
3293
|
+
var css$x = {"root":"QvjJV3","loading-word":"-I41jW","animated-loading":"ez1pCS","skeleton_loading":"cC3lIN","loadingWord":"-I41jW","animatedLoading":"ez1pCS","skeletonLoading":"cC3lIN"};
|
|
3163
3294
|
|
|
3164
3295
|
const TextPlaceholder = (props) => {
|
|
3165
3296
|
const pattern = ' ';
|
|
@@ -3178,7 +3309,7 @@ const TextPlaceholder = (props) => {
|
|
|
3178
3309
|
|
|
3179
3310
|
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
3180
3311
|
|
|
3181
|
-
var css$w = {"uui-typography":"
|
|
3312
|
+
var css$w = {"uui-typography":"msaTeg","hero-header":"OfLVhW","promo-header":"WjbyHh","uui-critical":"C7Qq3t","uui-info":"TkPJio","uui-success":"_8V80js","uui-warning":"snUFWE","uui-highlight":"PBBSNm","uui-typography-size-12":"-QrHJm","uui-typography-size-14":"-EU-Ne","uui-typography-size-16":"lBhYfa","root":"wo6czA","modal-blocker":"GPxzTo","animateModalBlocker":"_7RsBVy","modal":"QHEeUj","modal-footer":"gE4m8Q","modal-header":"ouXVe6","uuiTypography":"msaTeg","heroHeader":"OfLVhW","promoHeader":"WjbyHh","uuiCritical":"C7Qq3t","uuiInfo":"TkPJio","uuiSuccess":"_8V80js","uuiWarning":"snUFWE","uuiHighlight":"PBBSNm","uuiTypographySize12":"-QrHJm","uuiTypographySize14":"-EU-Ne","uuiTypographySize16":"lBhYfa","modalBlocker":"GPxzTo","modalFooter":"gE4m8Q","modalHeader":"ouXVe6"};
|
|
3182
3313
|
|
|
3183
3314
|
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$w.modalBlocker]);
|
|
3184
3315
|
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$w.root, css$w.modal], (props) => {
|
|
@@ -3232,7 +3363,7 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
3232
3363
|
};
|
|
3233
3364
|
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
3234
3365
|
|
|
3235
|
-
var css$v = {"uui-typography":"
|
|
3366
|
+
var css$v = {"uui-typography":"c-tluJ","hero-header":"_7pjCao","promo-header":"_7mpOno","uui-critical":"D-B57-","uui-info":"tQ0y0E","uui-success":"wFiknd","uui-warning":"HzvMOs","uui-highlight":"uSedEa","uui-typography-size-12":"Vz5k62","uui-typography-size-14":"qiMcL1","uui-typography-size-16":"_7t95fA","root":"-XKeCg","icon-wrapper":"_1QHiEr","action-wrapper":"fXcv9v","action-link":"ZP-9Lk","close-icon":"oXm6a4","main-path":"jzKYfQ","content":"Pma8RR","close-wrapper":"Umpnwp","notification-wrapper":"x3GRyr","clear-button":"mC4riz","uuiTypography":"c-tluJ","heroHeader":"_7pjCao","promoHeader":"_7mpOno","uuiCritical":"D-B57-","uuiInfo":"tQ0y0E","uuiSuccess":"wFiknd","uuiWarning":"HzvMOs","uuiHighlight":"uSedEa","uuiTypographySize12":"Vz5k62","uuiTypographySize14":"qiMcL1","uuiTypographySize16":"_7t95fA","iconWrapper":"_1QHiEr","actionWrapper":"fXcv9v","actionLink":"ZP-9Lk","closeIcon":"oXm6a4","mainPath":"jzKYfQ","closeWrapper":"Umpnwp","notificationWrapper":"x3GRyr","clearButton":"mC4riz"};
|
|
3236
3367
|
|
|
3237
3368
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
3238
3369
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -3308,6 +3439,64 @@ function useReliableForceUpdate() {
|
|
|
3308
3439
|
return red[1];
|
|
3309
3440
|
}
|
|
3310
3441
|
|
|
3442
|
+
var css$u = {"root":"euOpMy","timepicker-input":"_00LnhS","ltr-always":"mop4br","timepickerInput":"_00LnhS","ltrAlways":"mop4br"};
|
|
3443
|
+
|
|
3444
|
+
const uuiTimePicker = {
|
|
3445
|
+
container: 'uui-timepicker-container',
|
|
3446
|
+
iconUp: 'uui-timepicker-icon-up',
|
|
3447
|
+
iconDown: 'uui-timepicker-icon-down',
|
|
3448
|
+
input: 'uui-timepicker-input',
|
|
3449
|
+
elementContainer: 'uui-timepicker-item',
|
|
3450
|
+
};
|
|
3451
|
+
const MIN_MINUTES = 0;
|
|
3452
|
+
const MAX_MINUTES = 59;
|
|
3453
|
+
const FORMAT_12H = 12;
|
|
3454
|
+
function TimePickerBody(props) {
|
|
3455
|
+
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
3456
|
+
const MAX_HOURS = props.format || FORMAT_12H;
|
|
3457
|
+
const setValue = (newTime) => {
|
|
3458
|
+
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
3459
|
+
};
|
|
3460
|
+
const onHoursChange = (newHours) => {
|
|
3461
|
+
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
3462
|
+
};
|
|
3463
|
+
const onMinutesChange = (newMinutes) => {
|
|
3464
|
+
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
3465
|
+
};
|
|
3466
|
+
const onTimeTypeChange = () => {
|
|
3467
|
+
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
3468
|
+
};
|
|
3469
|
+
const handleMinutesUpClick = () => {
|
|
3470
|
+
const minutesStep = props.minutesStep || 5;
|
|
3471
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
3472
|
+
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
3473
|
+
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
3474
|
+
};
|
|
3475
|
+
const handleMinutesDownClick = () => {
|
|
3476
|
+
const minutesStep = props.minutesStep || 5;
|
|
3477
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
3478
|
+
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
3479
|
+
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
3480
|
+
};
|
|
3481
|
+
return (React.createElement("div", Object.assign({ className: cx$1(css$u.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef }, props.rawProps),
|
|
3482
|
+
React.createElement("div", { className: css$u.ltrAlways },
|
|
3483
|
+
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3484
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
3485
|
+
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
3486
|
+
.set(props.value)
|
|
3487
|
+
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
3488
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
3489
|
+
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3490
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
|
|
3491
|
+
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
3492
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick }))),
|
|
3493
|
+
MAX_HOURS === FORMAT_12H && (React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3494
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
|
|
3495
|
+
React.createElement(TextInput$1, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
3496
|
+
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
3497
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3311
3500
|
const getMeridian = (newValue, format) => {
|
|
3312
3501
|
if (format === 'hh:mm A') {
|
|
3313
3502
|
if (newValue.toLowerCase().includes('p') && newValue.toLowerCase().includes('a')) {
|
|
@@ -3354,8 +3543,6 @@ const formatTime = (hours, minutes, meridian, format) => {
|
|
|
3354
3543
|
return meridianResult ? time.concat(` ${meridianResult}`) : time;
|
|
3355
3544
|
};
|
|
3356
3545
|
|
|
3357
|
-
var css$u = {"root":"Rc7FnZ","timepicker-input":"OUmwGb","timepickerInput":"OUmwGb"};
|
|
3358
|
-
|
|
3359
3546
|
const DEFAULT_MODE = EditMode.FORM;
|
|
3360
3547
|
const valueToTimeString = (value, format) => {
|
|
3361
3548
|
if (value === null)
|
|
@@ -3445,62 +3632,7 @@ function TimePicker(props) {
|
|
|
3445
3632
|
return (React__default.createElement(Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, modifiers: [{ name: 'offset', options: { offset: [0, 6] } }], forwardedRef: props.forwardedRef }));
|
|
3446
3633
|
}
|
|
3447
3634
|
|
|
3448
|
-
|
|
3449
|
-
container: 'uui-timepicker-container',
|
|
3450
|
-
iconUp: 'uui-timepicker-icon-up',
|
|
3451
|
-
iconDown: 'uui-timepicker-icon-down',
|
|
3452
|
-
input: 'uui-timepicker-input',
|
|
3453
|
-
elementContainer: 'uui-timepicker-item',
|
|
3454
|
-
};
|
|
3455
|
-
const MIN_MINUTES = 0;
|
|
3456
|
-
const MAX_MINUTES = 59;
|
|
3457
|
-
const FORMAT_12H = 12;
|
|
3458
|
-
function TimePickerBody(props) {
|
|
3459
|
-
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
3460
|
-
const MAX_HOURS = props.format || FORMAT_12H;
|
|
3461
|
-
const setValue = (newTime) => {
|
|
3462
|
-
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
3463
|
-
};
|
|
3464
|
-
const onHoursChange = (newHours) => {
|
|
3465
|
-
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
3466
|
-
};
|
|
3467
|
-
const onMinutesChange = (newMinutes) => {
|
|
3468
|
-
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
3469
|
-
};
|
|
3470
|
-
const onTimeTypeChange = () => {
|
|
3471
|
-
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
3472
|
-
};
|
|
3473
|
-
const handleMinutesUpClick = () => {
|
|
3474
|
-
const minutesStep = props.minutesStep || 5;
|
|
3475
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
3476
|
-
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
3477
|
-
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
3478
|
-
};
|
|
3479
|
-
const handleMinutesDownClick = () => {
|
|
3480
|
-
const minutesStep = props.minutesStep || 5;
|
|
3481
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
3482
|
-
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
3483
|
-
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
3484
|
-
};
|
|
3485
|
-
return (React.createElement("div", Object.assign({ className: cx$1(css$u.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef }, props.rawProps),
|
|
3486
|
-
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3487
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
3488
|
-
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
3489
|
-
.set(props.value)
|
|
3490
|
-
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
3491
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
3492
|
-
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3493
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
|
|
3494
|
-
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
3495
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick })),
|
|
3496
|
-
MAX_HOURS === FORMAT_12H && (React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3497
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
|
|
3498
|
-
React.createElement(TextInput$1, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
3499
|
-
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
3500
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
3501
|
-
}
|
|
3502
|
-
|
|
3503
|
-
var css$t = {"root":"BCnb2b"};
|
|
3635
|
+
var css$t = {"root":"qus0-K"};
|
|
3504
3636
|
|
|
3505
3637
|
function applyInputAddonMods() {
|
|
3506
3638
|
return [
|
|
@@ -3509,7 +3641,7 @@ function applyInputAddonMods() {
|
|
|
3509
3641
|
}
|
|
3510
3642
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
3511
3643
|
|
|
3512
|
-
var css$s = {"root":"
|
|
3644
|
+
var css$s = {"root":"caNXQc"};
|
|
3513
3645
|
|
|
3514
3646
|
function applySliderMods() {
|
|
3515
3647
|
return [css$s.root, 'uui-color-neutral'];
|
|
@@ -3563,7 +3695,7 @@ function DatePickerComponent(props, ref) {
|
|
|
3563
3695
|
const allowClear = !props.disableClear && !!inputValue;
|
|
3564
3696
|
return (React__default.createElement(TextInput, Object.assign({}, renderProps, {
|
|
3565
3697
|
// fixes a bug with body open, it skips unwanted prevent default
|
|
3566
|
-
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 ||
|
|
3698
|
+
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) => {
|
|
3567
3699
|
setInputValue(v || '');
|
|
3568
3700
|
}, onCancel: allowClear ? () => {
|
|
3569
3701
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -3592,14 +3724,14 @@ function DatePickerComponent(props, ref) {
|
|
|
3592
3724
|
}
|
|
3593
3725
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
3594
3726
|
|
|
3595
|
-
var css$r = {"uui-typography":"
|
|
3727
|
+
var css$r = {"uui-typography":"OqC--u","hero-header":"maSz0J","promo-header":"_0Wf2zx","uui-critical":"jjTx4d","uui-info":"T8rB8Y","uui-success":"cIpk0Q","uui-warning":"_3k018I","uui-highlight":"PB7ks0","uui-typography-size-12":"ZSfEYb","uui-typography-size-14":"aeWFVY","uui-typography-size-16":"qSgwUK","root":"OKYv-a","uuiTypography":"OqC--u","heroHeader":"maSz0J","promoHeader":"_0Wf2zx","uuiCritical":"jjTx4d","uuiInfo":"T8rB8Y","uuiSuccess":"cIpk0Q","uuiWarning":"_3k018I","uuiHighlight":"PB7ks0","uuiTypographySize12":"ZSfEYb","uuiTypographySize14":"aeWFVY","uuiTypographySize16":"qSgwUK"};
|
|
3596
3728
|
|
|
3597
3729
|
function applyCalendarPresetsMods() {
|
|
3598
3730
|
return [css$r.root];
|
|
3599
3731
|
}
|
|
3600
3732
|
const CalendarPresets = /* @__PURE__ */withMods(CalendarPresets$1, applyCalendarPresetsMods, () => ({}));
|
|
3601
3733
|
|
|
3602
|
-
var css$q = {"uui-typography":"
|
|
3734
|
+
var css$q = {"uui-typography":"_4P8nEW","hero-header":"_4j8bxM","promo-header":"DL4aQw","uui-critical":"KFs27L","uui-info":"iwBeQL","uui-success":"PN7xF7","uui-warning":"AzBAS2","uui-highlight":"KgQOFL","uui-typography-size-12":"iVbRK4","uui-typography-size-14":"bVyJ7q","uui-typography-size-16":"vIPwll","root":"V0ecbR","container":"mBQ9zT","day-selection":"z2owM2","from-picker":"N5YJi6","to-picker":"ZcbMth","bodes-wrapper":"VGklND","blocker":"Ap-HcE","uuiTypography":"_4P8nEW","heroHeader":"_4j8bxM","promoHeader":"DL4aQw","uuiCritical":"KFs27L","uuiInfo":"iwBeQL","uuiSuccess":"PN7xF7","uuiWarning":"AzBAS2","uuiHighlight":"KgQOFL","uuiTypographySize12":"iVbRK4","uuiTypographySize14":"bVyJ7q","uuiTypographySize16":"vIPwll","daySelection":"z2owM2","fromPicker":"N5YJi6","toPicker":"ZcbMth","bodesWrapper":"VGklND"};
|
|
3603
3735
|
|
|
3604
3736
|
const uuiRangeDatePickerBody = {
|
|
3605
3737
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3843,7 +3975,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3843
3975
|
}
|
|
3844
3976
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
3845
3977
|
|
|
3846
|
-
var css$p = {"root":"
|
|
3978
|
+
var css$p = {"root":"hTFVc1","blocker":"_58b3NI","marker":"kjxe6P","top":"hoRQso","bottom":"UZ4Di0","left":"XqTO-o","right":"CToWmG","inside":"_3Hq4pF"};
|
|
3847
3979
|
|
|
3848
3980
|
function DropMarker(props) {
|
|
3849
3981
|
return props.isDndInProgress
|
|
@@ -3858,12 +3990,12 @@ function DropMarker(props) {
|
|
|
3858
3990
|
: null;
|
|
3859
3991
|
}
|
|
3860
3992
|
|
|
3861
|
-
var css$o = {"uui-typography":"
|
|
3993
|
+
var css$o = {"uui-typography":"LFrsZ2","hero-header":"UE2tJt","promo-header":"H0qxR6","uui-critical":"nlUgN0","uui-info":"EA5nfP","uui-success":"YbM0MA","uui-warning":"mOZ4u7","uui-highlight":"daWrim","uui-typography-size-12":"GLkQ-e","uui-typography-size-14":"qEGVpL","uui-typography-size-16":"Uz0tOS","cell":"_5RRyjJ","wrapper":"DVojKb","align-widgets-top":"sCXK0q","align-widgets-center":"YI0eBQ","padding-6":"C8S3AO","padding-12":"j81rii","padding-24":"Scj1zJ","padding-left-12":"BwGuK7","padding-left-24":"CipppK","padding-right-12":"m46OyU","padding-right-24":"DXVVYY","loading-cell":"txRl3a","uuiTypography":"LFrsZ2","heroHeader":"UE2tJt","promoHeader":"H0qxR6","uuiCritical":"nlUgN0","uuiInfo":"EA5nfP","uuiSuccess":"YbM0MA","uuiWarning":"mOZ4u7","uuiHighlight":"daWrim","uuiTypographySize12":"GLkQ-e","uuiTypographySize14":"qEGVpL","uuiTypographySize16":"Uz0tOS","alignWidgetsTop":"sCXK0q","alignWidgetsCenter":"YI0eBQ","padding6":"C8S3AO","padding12":"j81rii","padding24":"Scj1zJ","paddingLeft12":"BwGuK7","paddingLeft24":"CipppK","paddingRight12":"m46OyU","paddingRight24":"DXVVYY","loadingCell":"txRl3a"};
|
|
3862
3994
|
|
|
3863
|
-
function DataTableCell(
|
|
3864
|
-
props = Object.assign({},
|
|
3995
|
+
function DataTableCell(initialProps) {
|
|
3996
|
+
const props = Object.assign({}, initialProps);
|
|
3865
3997
|
if (props.isFirstColumn) {
|
|
3866
|
-
props.addons = React.createElement(DataRowAddons, Object.assign({}, props));
|
|
3998
|
+
props.addons = React.createElement(DataRowAddons, Object.assign({ size: props.size }, props));
|
|
3867
3999
|
}
|
|
3868
4000
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3869
4001
|
|| (() => (
|
|
@@ -3896,7 +4028,7 @@ function DataTableCell(props) {
|
|
|
3896
4028
|
'data-table-cell',
|
|
3897
4029
|
props.cx,
|
|
3898
4030
|
css$o.cell,
|
|
3899
|
-
|
|
4031
|
+
'uui-size-' + (props.size || '36'),
|
|
3900
4032
|
css$o[`padding-${getPaddings().padding}`],
|
|
3901
4033
|
props.isFirstColumn && css$o[`padding-left-${getPaddings().sidePadding}`],
|
|
3902
4034
|
props.isLastColumn && css$o[`padding-right-${getPaddings().sidePadding}`],
|
|
@@ -3906,7 +4038,7 @@ function DataTableCell(props) {
|
|
|
3906
4038
|
return React.createElement(DataTableCell$1, Object.assign({}, props));
|
|
3907
4039
|
}
|
|
3908
4040
|
|
|
3909
|
-
var css$n = {"uui-typography":"
|
|
4041
|
+
var css$n = {"uui-typography":"x0-ZU5","hero-header":"eYaclr","promo-header":"raxlWV","uui-critical":"u24tlY","uui-info":"pS7iPQ","uui-success":"_0-wQDB","uui-warning":"QBDNCn","uui-highlight":"oBFveF","uui-typography-size-12":"QEV01W","uui-typography-size-14":"n-b576","uui-typography-size-16":"YPfnY1","root":"WhT2lW","size-24":"_19wlpy","size-30":"PGd1OL","size-36":"wg3b3O","size-48":"O88NXC","size-60":"dKfh-J","uuiTypography":"x0-ZU5","heroHeader":"eYaclr","promoHeader":"raxlWV","uuiCritical":"u24tlY","uuiInfo":"pS7iPQ","uuiSuccess":"_0-wQDB","uuiWarning":"QBDNCn","uuiHighlight":"oBFveF","uuiTypographySize12":"QEV01W","uuiTypographySize14":"n-b576","uuiTypographySize16":"YPfnY1","size24":"_19wlpy","size30":"PGd1OL","size36":"wg3b3O","size48":"O88NXC","size60":"dKfh-J"};
|
|
3910
4042
|
|
|
3911
4043
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3912
4044
|
// 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.
|
|
@@ -3922,7 +4054,7 @@ const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = t
|
|
|
3922
4054
|
];
|
|
3923
4055
|
}, () => propsMods);
|
|
3924
4056
|
|
|
3925
|
-
var css$m = {"uui-typography":"
|
|
4057
|
+
var css$m = {"uui-typography":"_1ebN1c","hero-header":"OSjvgy","promo-header":"MGScrF","uui-critical":"_7g8yLH","uui-info":"_3PZHIv","uui-success":"nQ39tq","uui-warning":"Ei3Fiw","uui-highlight":"S460zC","uui-typography-size-12":"ZdSjEq","uui-typography-size-14":"n74LLf","uui-typography-size-16":"ZTAWLU","sorting-panel-container":"G-0kTq","sort-active":"_67JR7x","uuiTypography":"_1ebN1c","heroHeader":"OSjvgy","promoHeader":"MGScrF","uuiCritical":"_7g8yLH","uuiInfo":"_3PZHIv","uuiSuccess":"nQ39tq","uuiWarning":"Ei3Fiw","uuiHighlight":"S460zC","uuiTypographySize12":"ZdSjEq","uuiTypographySize14":"n74LLf","uuiTypographySize16":"ZTAWLU","sortingPanelContainer":"G-0kTq","sortActive":"_67JR7x"};
|
|
3926
4058
|
|
|
3927
4059
|
var _path$g;
|
|
3928
4060
|
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); }
|
|
@@ -4052,7 +4184,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
4052
4184
|
};
|
|
4053
4185
|
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
4054
4186
|
|
|
4055
|
-
var css$l = {"uui-typography":"
|
|
4187
|
+
var css$l = {"uui-typography":"YNx-RB","hero-header":"CgZezX","promo-header":"xv-IyU","uui-critical":"bQ5adb","uui-info":"ZBeUBR","uui-success":"eAG33j","uui-warning":"rZAute","uui-highlight":"oewfuU","uui-typography-size-12":"rVYk-D","uui-typography-size-14":"pNJu0W","uui-typography-size-16":"NJb73G","cell":"lLaIu1","column-gap-12":"GeevGQ","caption-wrapper":"OyBftH","column-gap-24":"ac-l5i","first-column-12":"eYyeJG","last-column-12":"_2-dMyi","first-column-24":"pNEUlo","last-column-24":"_5Baytd","sort-icon":"Y7hNgB","dropdown-icon":"_5CbJ-x","infoIcon":"ySsQiV","resizable":"_3A5qlR","size-24":"klA7mD","size-30":"JBej3-","size-36":"kfjKi1","size-42":"eEtn3W","size-48":"iSWzbw","padding-left-24":"WcNhS0","padding-right-24":"sjYIdS","align-right":"K20vV1","align-center":"iW9TAT","caption":"DmDqbQ","checkbox":"yUryse","icon":"YRc5jG","fold-all-icon":"IkGFma","cell-tooltip":"mDd6St","upper-case":"_1nwwcW","font-size-14":"OJbWnd","resize-mark":"GTZFp5","resize-mark-6":"daj1o9","resize-mark-12":"w3FhoM","pinned-right":"WFFLtF","draggable":"cHidwE","ghost":"HzS3Aq","is-dragged-out":"zhXRof","dnd-marker-left":"VsRZC2","dnd-marker-right":"_3oL0ZY","cell-tooltip-wrapper":"piD0yR","cell-tooltip-text":"F65KKG","uuiTypography":"YNx-RB","heroHeader":"CgZezX","promoHeader":"xv-IyU","uuiCritical":"bQ5adb","uuiInfo":"ZBeUBR","uuiSuccess":"eAG33j","uuiWarning":"rZAute","uuiHighlight":"oewfuU","uuiTypographySize12":"rVYk-D","uuiTypographySize14":"pNJu0W","uuiTypographySize16":"NJb73G","columnGap12":"GeevGQ","captionWrapper":"OyBftH","columnGap24":"ac-l5i","firstColumn12":"eYyeJG","lastColumn12":"_2-dMyi","firstColumn24":"pNEUlo","lastColumn24":"_5Baytd","sortIcon":"Y7hNgB","dropdownIcon":"_5CbJ-x","size24":"klA7mD","size30":"JBej3-","size36":"kfjKi1","size42":"eEtn3W","size48":"iSWzbw","paddingLeft24":"WcNhS0","paddingRight24":"sjYIdS","alignRight":"K20vV1","alignCenter":"iW9TAT","foldAllIcon":"IkGFma","cellTooltip":"mDd6St","upperCase":"_1nwwcW","fontSize14":"OJbWnd","resizeMark":"GTZFp5","resizeMark6":"daj1o9","resizeMark12":"w3FhoM","pinnedRight":"WFFLtF","isDraggedOut":"zhXRof","dndMarkerLeft":"VsRZC2","dndMarkerRight":"_3oL0ZY","cellTooltipWrapper":"piD0yR","cellTooltipText":"F65KKG"};
|
|
4056
4188
|
|
|
4057
4189
|
class DataTableHeaderCell extends React.Component {
|
|
4058
4190
|
constructor() {
|
|
@@ -4134,14 +4266,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
4134
4266
|
};
|
|
4135
4267
|
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
4136
4268
|
|
|
4137
|
-
var css$k = {"uui-typography":"
|
|
4269
|
+
var css$k = {"uui-typography":"RubMPw","hero-header":"NDoMq6","promo-header":"TGV0BM","uui-critical":"ojkuv6","uui-info":"ncQCMy","uui-success":"_2W6Uds","uui-warning":"DCv6F1","uui-highlight":"DsU0IP","uui-typography-size-12":"w298gd","uui-typography-size-14":"cXoSW6","uui-typography-size-16":"UsiIYG","header-cell":"pNNzHd","truncate":"_2uR9p-","uuiTypography":"RubMPw","heroHeader":"NDoMq6","promoHeader":"TGV0BM","uuiCritical":"ojkuv6","uuiInfo":"ncQCMy","uuiSuccess":"_2W6Uds","uuiWarning":"DCv6F1","uuiHighlight":"DsU0IP","uuiTypographySize12":"w298gd","uuiTypographySize14":"cXoSW6","uuiTypographySize16":"UsiIYG","headerCell":"pNNzHd"};
|
|
4138
4270
|
|
|
4139
4271
|
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, (props) => [css$k.root, 'uui-dt-vars', props.size === '48' && css$k.truncate], (mods) => ({
|
|
4140
4272
|
renderCell: (props) => React.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
4141
4273
|
renderConfigButton: () => React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: "config-icon", color: "neutral", icon: ForwardRef$9 }),
|
|
4142
4274
|
}));
|
|
4143
4275
|
|
|
4144
|
-
var styles$1 = {"uui-typography":"
|
|
4276
|
+
var styles$1 = {"uui-typography":"ppdsKp","hero-header":"IaxmKt","promo-header":"cH-A2c","uui-critical":"jf0EjZ","uui-info":"JhWg0p","uui-success":"IfirKQ","uui-warning":"Tldmwc","uui-highlight":"s7e-SY","uui-typography-size-12":"WQoxp9","uui-typography-size-14":"x-MRv0","uui-typography-size-16":"y7plF1","main-panel":"ngiQgt","group-title":"iNC1fg","group-title-text":"cJcy1y","group-title-badge":"SEh-ra","group-items":"LkyW-E","no-data":"VMRcgL","h-divider":"gdJ-jI","search-area":"vJeN33","subgroup-accordion":"GO8nS7","subgroup-title":"dZuhoH","uuiTypography":"ppdsKp","heroHeader":"IaxmKt","promoHeader":"cH-A2c","uuiCritical":"jf0EjZ","uuiInfo":"JhWg0p","uuiSuccess":"IfirKQ","uuiWarning":"Tldmwc","uuiHighlight":"s7e-SY","uuiTypographySize12":"WQoxp9","uuiTypographySize14":"x-MRv0","uuiTypographySize16":"y7plF1","mainPanel":"ngiQgt","groupTitle":"iNC1fg","groupTitleText":"cJcy1y","groupTitleBadge":"SEh-ra","groupItems":"LkyW-E","noData":"VMRcgL","hDivider":"gdJ-jI","searchArea":"vJeN33","subgroupAccordion":"GO8nS7","subgroupTitle":"dZuhoH"};
|
|
4145
4277
|
|
|
4146
4278
|
var _path$8;
|
|
4147
4279
|
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); }
|
|
@@ -4198,7 +4330,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4198
4330
|
};
|
|
4199
4331
|
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
4200
4332
|
|
|
4201
|
-
var css$j = {"unpin-icon":"
|
|
4333
|
+
var css$j = {"unpin-icon":"uDxCyV","pin-toggler-icon":"_2uBM-S","unpinIcon":"uDxCyV","pinTogglerIcon":"_2uBM-S"};
|
|
4202
4334
|
|
|
4203
4335
|
function PinIconButton(props) {
|
|
4204
4336
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4257,7 +4389,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4257
4389
|
};
|
|
4258
4390
|
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgActionDragIndicator18);
|
|
4259
4391
|
|
|
4260
|
-
var styles = {"uui-typography":"
|
|
4392
|
+
var styles = {"uui-typography":"_8rhmsb","hero-header":"yTeFiF","promo-header":"nGsf-6","uui-critical":"O9-MYj","uui-info":"brmnMw","uui-success":"kxjLyp","uui-warning":"mCAd74","uui-highlight":"s83Gzp","uui-typography-size-12":"WI1J-v","uui-typography-size-14":"cBSdfF","uui-typography-size-16":"zDzSM4","row-wrapper":"Kg8cMp","not-pinned":"_8uVYPy","pin-icon-button":"d9wUat","checkbox":"lqH6sC","drag-handle":"bF0MYU","dnd-disabled":"Ux33se","uuiTypography":"_8rhmsb","heroHeader":"yTeFiF","promoHeader":"nGsf-6","uuiCritical":"O9-MYj","uuiInfo":"brmnMw","uuiSuccess":"kxjLyp","uuiWarning":"mCAd74","uuiHighlight":"s83Gzp","uuiTypographySize12":"WI1J-v","uuiTypographySize14":"cBSdfF","uuiTypographySize16":"zDzSM4","rowWrapper":"Kg8cMp","notPinned":"_8uVYPy","pinIconButton":"d9wUat","dragHandle":"bF0MYU","dndDisabled":"Ux33se"};
|
|
4261
4393
|
|
|
4262
4394
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4263
4395
|
const { column } = props;
|
|
@@ -4366,7 +4498,7 @@ function SubGroup(props) {
|
|
|
4366
4498
|
return null;
|
|
4367
4499
|
}
|
|
4368
4500
|
|
|
4369
|
-
var css$i = {"listContainer":"-
|
|
4501
|
+
var css$i = {"listContainer":"-oRSGt","header":"GNaB-h","group":"f0An1X","stickyHeader":"VkBcZo"};
|
|
4370
4502
|
|
|
4371
4503
|
const getChildrenAndRest = (row, rows) => {
|
|
4372
4504
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4432,7 +4564,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4432
4564
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4433
4565
|
ref: ref
|
|
4434
4566
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
4435
|
-
clipPath: "url(#
|
|
4567
|
+
clipPath: "url(#ec1iu0xsvfmtmttbq_a)"
|
|
4436
4568
|
}, _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4437
4569
|
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",
|
|
4438
4570
|
fill: "#F5F6FA"
|
|
@@ -4453,7 +4585,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4453
4585
|
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",
|
|
4454
4586
|
fill: "#1D1E26"
|
|
4455
4587
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
4456
|
-
id: "
|
|
4588
|
+
id: "ec1iu045t7ure16b5_b",
|
|
4457
4589
|
style: {
|
|
4458
4590
|
maskType: "alpha"
|
|
4459
4591
|
},
|
|
@@ -4466,7 +4598,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4466
4598
|
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",
|
|
4467
4599
|
fill: "#9BDEFF"
|
|
4468
4600
|
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
4469
|
-
mask: "url(#
|
|
4601
|
+
mask: "url(#ec1iu045t7ure16b5_b)",
|
|
4470
4602
|
fillRule: "evenodd",
|
|
4471
4603
|
clipRule: "evenodd"
|
|
4472
4604
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -4552,7 +4684,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4552
4684
|
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",
|
|
4553
4685
|
fill: "#fff"
|
|
4554
4686
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
4555
|
-
id: "
|
|
4687
|
+
id: "ec1iu0xsvfmtmttbq_a"
|
|
4556
4688
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4557
4689
|
fill: "#fff",
|
|
4558
4690
|
transform: "translate(.552)",
|
|
@@ -4561,7 +4693,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4561
4693
|
};
|
|
4562
4694
|
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
4563
4695
|
|
|
4564
|
-
var css$h = {"sticky-header":"
|
|
4696
|
+
var css$h = {"sticky-header":"rL-2A0","table":"ffpxsw","no-results":"-wSJRv","no-results-icon":"XTw807","no-results-title":"oRE7cY","stickyHeader":"rL-2A0","noResults":"-wSJRv","noResultsIcon":"XTw807","noResultsTitle":"oRE7cY"};
|
|
4565
4697
|
|
|
4566
4698
|
const DEFAULT_HEADER_SIZE = '36';
|
|
4567
4699
|
const DEFAULT_COLUMN_GAP = '24';
|
|
@@ -4614,9 +4746,9 @@ function DataTable(props) {
|
|
|
4614
4746
|
} }))));
|
|
4615
4747
|
}
|
|
4616
4748
|
|
|
4617
|
-
var css$g = {"root":"
|
|
4749
|
+
var css$g = {"root":"iRyQPw"};
|
|
4618
4750
|
|
|
4619
|
-
var css$f = {"root":"
|
|
4751
|
+
var css$f = {"root":"XFfnJT","burger-content":"iCwwLb","burgerContent":"iCwwLb"};
|
|
4620
4752
|
|
|
4621
4753
|
var _path$3;
|
|
4622
4754
|
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); }
|
|
@@ -4659,7 +4791,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
4659
4791
|
};
|
|
4660
4792
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
4661
4793
|
|
|
4662
|
-
var css$e = {"uui-typography":"
|
|
4794
|
+
var css$e = {"uui-typography":"_0ph5UW","hero-header":"civFTU","promo-header":"RC7jB2","uui-critical":"ey2Y8f","uui-info":"_0py-ua","uui-success":"tHOu6r","uui-warning":"E2KyaT","uui-highlight":"pwNjE8","uui-typography-size-12":"vZADUO","uui-typography-size-14":"zo92MG","uui-typography-size-16":"TVmWdn","root":"ZkJa7j","button-primary":"_6q8Kfb","button-secondary":"MysDJc","hasIcon":"zZ-QsQ","dropdown":"KoajAq","uuiTypography":"_0ph5UW","heroHeader":"civFTU","promoHeader":"RC7jB2","uuiCritical":"ey2Y8f","uuiInfo":"_0py-ua","uuiSuccess":"tHOu6r","uuiWarning":"E2KyaT","uuiHighlight":"pwNjE8","uuiTypographySize12":"vZADUO","uuiTypographySize14":"zo92MG","uuiTypographySize16":"TVmWdn","buttonPrimary":"_6q8Kfb","buttonSecondary":"MysDJc"};
|
|
4663
4795
|
|
|
4664
4796
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
4665
4797
|
css$e.root,
|
|
@@ -4670,13 +4802,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
4670
4802
|
props.icon && css$e.hasIcon,
|
|
4671
4803
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
4672
4804
|
|
|
4673
|
-
var css$d = {"search-input":"
|
|
4805
|
+
var css$d = {"search-input":"W4zbG8","searchInput":"W4zbG8"};
|
|
4674
4806
|
|
|
4675
4807
|
function BurgerSearch(props) {
|
|
4676
4808
|
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 }));
|
|
4677
4809
|
}
|
|
4678
4810
|
|
|
4679
|
-
var css$c = {"root":"
|
|
4811
|
+
var css$c = {"root":"neQehg","group-header":"QjE70n","group-name":"QoV-Y2","line":"Imc2IN","groupHeader":"QjE70n","groupName":"QoV-Y2"};
|
|
4680
4812
|
|
|
4681
4813
|
function BurgerGroupHeader(props) {
|
|
4682
4814
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4684,7 +4816,7 @@ function BurgerGroupHeader(props) {
|
|
|
4684
4816
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
4685
4817
|
}
|
|
4686
4818
|
|
|
4687
|
-
var css$b = {"uui-typography":"
|
|
4819
|
+
var css$b = {"uui-typography":"KtsdHt","hero-header":"s-UoH3","promo-header":"_65q2x7","uui-critical":"VVNCTU","uui-info":"qqBO2o","uui-success":"ARcAsE","uui-warning":"DonP0p","uui-highlight":"_97G3Dh","uui-typography-size-12":"_6yjrqn","uui-typography-size-14":"_3tconB","uui-typography-size-16":"u6m-y-","root":"PvrJ2o","type-primary":"fdcc4j","type-secondary":"OcNaEs","uuiTypography":"KtsdHt","heroHeader":"s-UoH3","promoHeader":"_65q2x7","uuiCritical":"VVNCTU","uuiInfo":"qqBO2o","uuiSuccess":"ARcAsE","uuiWarning":"DonP0p","uuiHighlight":"_97G3Dh","uuiTypographySize12":"_6yjrqn","uuiTypographySize14":"_3tconB","uuiTypographySize16":"u6m-y-","typePrimary":"fdcc4j","typeSecondary":"OcNaEs"};
|
|
4688
4820
|
|
|
4689
4821
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
4690
4822
|
const { type } = props, clickableProps = __rest(props, ["type"]);
|
|
@@ -4700,7 +4832,7 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
4700
4832
|
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
4701
4833
|
});
|
|
4702
4834
|
|
|
4703
|
-
var css$a = {"dropdown-body":"
|
|
4835
|
+
var css$a = {"dropdown-body":"G9ourU","dropdownBody":"G9ourU"};
|
|
4704
4836
|
|
|
4705
4837
|
class MainMenuDropdown extends React.Component {
|
|
4706
4838
|
render() {
|
|
@@ -4755,12 +4887,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
4755
4887
|
};
|
|
4756
4888
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
4757
4889
|
|
|
4758
|
-
var css$9 = {"global-menu-btn":"
|
|
4890
|
+
var css$9 = {"global-menu-btn":"_78gdNJ","global-menu-icon":"e5MXcT","globalMenuBtn":"_78gdNJ","globalMenuIcon":"e5MXcT"};
|
|
4759
4891
|
|
|
4760
4892
|
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),
|
|
4761
4893
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
4762
4894
|
|
|
4763
|
-
var css$8 = {"container":"
|
|
4895
|
+
var css$8 = {"container":"_8OJkAa","open":"il1Lkz"};
|
|
4764
4896
|
|
|
4765
4897
|
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 },
|
|
4766
4898
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -4768,18 +4900,18 @@ const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.cr
|
|
|
4768
4900
|
props.isDropdown && (React.createElement("div", null,
|
|
4769
4901
|
React.createElement(IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen }))))));
|
|
4770
4902
|
|
|
4771
|
-
var css$7 = {"search-input":"
|
|
4903
|
+
var css$7 = {"search-input":"_0-JdNc","searchInput":"_0-JdNc"};
|
|
4772
4904
|
|
|
4773
4905
|
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4774
4906
|
var _a;
|
|
4775
4907
|
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)));
|
|
4776
4908
|
} }))));
|
|
4777
4909
|
|
|
4778
|
-
var css$6 = {"container":"
|
|
4910
|
+
var css$6 = {"container":"wraXmE"};
|
|
4779
4911
|
|
|
4780
4912
|
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))));
|
|
4781
4913
|
|
|
4782
|
-
var css$5 = {"root":"
|
|
4914
|
+
var css$5 = {"root":"HhUSt4"};
|
|
4783
4915
|
|
|
4784
4916
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
4785
4917
|
|
|
@@ -4837,7 +4969,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
4837
4969
|
};
|
|
4838
4970
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
4839
4971
|
|
|
4840
|
-
var css$4 = {"root":"
|
|
4972
|
+
var css$4 = {"root":"q7TCK-","drop-start":"_7kiITh","drop-over":"sZxfKE","link":"_1sDWt-","drop-area":"aa-jAz","drop-caption":"LgGOmt","icon-blue":"-fT3vF","dropStart":"_7kiITh","dropOver":"sZxfKE","dropArea":"aa-jAz","dropCaption":"LgGOmt","iconBlue":"-fT3vF"};
|
|
4841
4973
|
|
|
4842
4974
|
function DropSpot(props) {
|
|
4843
4975
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -4855,9 +4987,9 @@ function DropSpot(props) {
|
|
|
4855
4987
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
4856
4988
|
}
|
|
4857
4989
|
|
|
4858
|
-
var css$3 = {"uui-typography":"
|
|
4990
|
+
var css$3 = {"uui-typography":"Usr-16","hero-header":"gMOFjb","promo-header":"KTJ4-R","uui-critical":"G-x3N5","uui-info":"ywsD-0","uui-success":"eSnD3R","uui-warning":"PbepV3","uui-highlight":"nWbPSh","uui-typography-size-12":"lPytQh","uui-typography-size-14":"Va8CV2","uui-typography-size-16":"YhvGQH","root":"Ygw-qn","file-name":"BYKusM","default-color":"iubIWw","doc-color":"ywUMp0","xls-color":"_5oHosN","pdf-color":"xz9kR6","movie-color":"NL4F5P","img-color":"_6-Pq7s","mov-color":"e3xFcC","error-block":"S1JgWD","icons-block":"YQKFdM","uuiTypography":"Usr-16","heroHeader":"gMOFjb","promoHeader":"KTJ4-R","uuiCritical":"G-x3N5","uuiInfo":"ywsD-0","uuiSuccess":"eSnD3R","uuiWarning":"PbepV3","uuiHighlight":"nWbPSh","uuiTypographySize12":"lPytQh","uuiTypographySize14":"Va8CV2","uuiTypographySize16":"YhvGQH","fileName":"BYKusM","defaultColor":"iubIWw","docColor":"ywUMp0","xlsColor":"_5oHosN","pdfColor":"xz9kR6","movieColor":"NL4F5P","imgColor":"_6-Pq7s","movColor":"e3xFcC","errorBlock":"S1JgWD","iconsBlock":"YQKFdM"};
|
|
4859
4991
|
|
|
4860
|
-
var css$2 = {"root":"
|
|
4992
|
+
var css$2 = {"root":"yiFvv8"};
|
|
4861
4993
|
|
|
4862
4994
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
4863
4995
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -4982,7 +5114,7 @@ const getErrorPageConfig = () => ({
|
|
|
4982
5114
|
},
|
|
4983
5115
|
});
|
|
4984
5116
|
|
|
4985
|
-
var css$1 = {"container":"
|
|
5117
|
+
var css$1 = {"container":"h3yn2d"};
|
|
4986
5118
|
|
|
4987
5119
|
const ErrorPage = (props) => {
|
|
4988
5120
|
const isMobileScreen = isMobile();
|
|
@@ -4993,7 +5125,7 @@ const ErrorPage = (props) => {
|
|
|
4993
5125
|
React__default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle))));
|
|
4994
5126
|
};
|
|
4995
5127
|
|
|
4996
|
-
var css = {"recovery-spinner":"
|
|
5128
|
+
var css = {"recovery-spinner":"e8Bc4I","recovery-message":"BB6Ize","modal-blocker":"_2d-UrS","modalFadeIn":"_4LXGl4","recoverySpinner":"e8Bc4I","recoveryMessage":"BB6Ize","modalBlocker":"_2d-UrS"};
|
|
4997
5129
|
|
|
4998
5130
|
function ErrorHandler(props) {
|
|
4999
5131
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5044,5 +5176,5 @@ function ErrorHandler(props) {
|
|
|
5044
5176
|
errorType === 'recovery' && renderRecoveryBlocker(errorInfo)));
|
|
5045
5177
|
}
|
|
5046
5178
|
|
|
5047
|
-
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 };
|
|
5179
|
+
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 };
|
|
5048
5180
|
//# sourceMappingURL=index.esm.js.map
|