@oliasoft-open-source/react-ui-library 3.3.0-beta-3 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/global.css +609 -615
- package/dist/index.js +310 -263
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9866,6 +9866,7 @@ const Section$1 = ({
|
|
|
9866
9866
|
case "Menu":
|
|
9867
9867
|
return /* @__PURE__ */ jsx(DropDownMenu, {
|
|
9868
9868
|
menu: section.menu,
|
|
9869
|
+
title: section.title,
|
|
9869
9870
|
closeOnOptionClick,
|
|
9870
9871
|
isNested: true,
|
|
9871
9872
|
closeParent: close,
|
|
@@ -10252,6 +10253,7 @@ const Button = ({
|
|
|
10252
10253
|
};
|
|
10253
10254
|
const Text$1 = ({
|
|
10254
10255
|
label: label2,
|
|
10256
|
+
title: title2,
|
|
10255
10257
|
carat,
|
|
10256
10258
|
disabled: disabled2,
|
|
10257
10259
|
isOpen: isOpen2
|
|
@@ -10260,7 +10262,7 @@ const Text$1 = ({
|
|
|
10260
10262
|
className: cx(styles$L.trigger, disabled2 ? styles$L.disabled : null, isOpen2 ? styles$L.active : null),
|
|
10261
10263
|
children: [/* @__PURE__ */ jsx("span", {
|
|
10262
10264
|
className: styles$L.label,
|
|
10263
|
-
title: label2,
|
|
10265
|
+
title: title2 || label2,
|
|
10264
10266
|
children: label2
|
|
10265
10267
|
}), carat && carat === "right" ? /* @__PURE__ */ jsx(FaAngleRight, {
|
|
10266
10268
|
className: styles$L.arrow
|
|
@@ -10288,6 +10290,7 @@ const Trigger$2 = React__default.forwardRef(({
|
|
|
10288
10290
|
width,
|
|
10289
10291
|
trigger: trigger2,
|
|
10290
10292
|
label: label2,
|
|
10293
|
+
title: title2,
|
|
10291
10294
|
onClickTrigger,
|
|
10292
10295
|
colored: colored2,
|
|
10293
10296
|
small: small2,
|
|
@@ -10310,6 +10313,7 @@ const Trigger$2 = React__default.forwardRef(({
|
|
|
10310
10313
|
loading
|
|
10311
10314
|
}) : trigger2 === "Text" ? /* @__PURE__ */ jsx(Text$1, {
|
|
10312
10315
|
label: label2,
|
|
10316
|
+
title: title2,
|
|
10313
10317
|
disabled: isDisabled,
|
|
10314
10318
|
carat: !contextMenu && (isNested ? "right" : "down"),
|
|
10315
10319
|
isOpen: isOpen2
|
|
@@ -10478,6 +10482,7 @@ const DropDownMenu = ({
|
|
|
10478
10482
|
const disabledContext = useContext(DisabledContext);
|
|
10479
10483
|
const {
|
|
10480
10484
|
label: label2,
|
|
10485
|
+
title: title2,
|
|
10481
10486
|
trigger: trigger2,
|
|
10482
10487
|
fullHeightTrigger,
|
|
10483
10488
|
colored: colored2,
|
|
@@ -10532,6 +10537,7 @@ const DropDownMenu = ({
|
|
|
10532
10537
|
fullHeight: fullHeightTrigger,
|
|
10533
10538
|
trigger: trigger2,
|
|
10534
10539
|
label: label2,
|
|
10540
|
+
title: title2,
|
|
10535
10541
|
onClickTrigger,
|
|
10536
10542
|
colored: colored2,
|
|
10537
10543
|
small: small2,
|
|
@@ -10585,7 +10591,7 @@ const menuSectionShape = propTypes$1.exports.oneOfType([propTypes$1.exports.shap
|
|
|
10585
10591
|
}), propTypes$1.exports.shape({
|
|
10586
10592
|
actions: actionsShape,
|
|
10587
10593
|
type: propTypes$1.exports.oneOf(["Option"]),
|
|
10588
|
-
label: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]).isRequired,
|
|
10594
|
+
label: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number, propTypes$1.exports.node]).isRequired,
|
|
10589
10595
|
icon: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.node]),
|
|
10590
10596
|
description: propTypes$1.exports.string,
|
|
10591
10597
|
onClick: propTypes$1.exports.func,
|
|
@@ -12658,7 +12664,7 @@ const scroll$2 = "_scroll_11kaj_22";
|
|
|
12658
12664
|
const header$2 = "_header_11kaj_25";
|
|
12659
12665
|
const dismiss$2 = "_dismiss_11kaj_33";
|
|
12660
12666
|
const content$3 = "_content_11kaj_44";
|
|
12661
|
-
const footer$
|
|
12667
|
+
const footer$3 = "_footer_11kaj_53";
|
|
12662
12668
|
const styles$A = {
|
|
12663
12669
|
dialog,
|
|
12664
12670
|
inline: inline$2,
|
|
@@ -12666,7 +12672,7 @@ const styles$A = {
|
|
|
12666
12672
|
header: header$2,
|
|
12667
12673
|
dismiss: dismiss$2,
|
|
12668
12674
|
content: content$3,
|
|
12669
|
-
footer: footer$
|
|
12675
|
+
footer: footer$3
|
|
12670
12676
|
};
|
|
12671
12677
|
const convertStringToJsx = (children) => {
|
|
12672
12678
|
if (lodash.exports.isArray(children)) {
|
|
@@ -12739,31 +12745,33 @@ const dialogShape = propTypes$1.exports.shape({
|
|
|
12739
12745
|
Dialog.propTypes = {
|
|
12740
12746
|
dialog: dialogShape.isRequired
|
|
12741
12747
|
};
|
|
12742
|
-
const inputInTable$9 = "
|
|
12743
|
-
const
|
|
12744
|
-
const
|
|
12745
|
-
const
|
|
12746
|
-
const
|
|
12747
|
-
const
|
|
12748
|
-
const
|
|
12749
|
-
const
|
|
12750
|
-
const
|
|
12751
|
-
const
|
|
12752
|
-
const
|
|
12753
|
-
const
|
|
12754
|
-
const
|
|
12755
|
-
const
|
|
12756
|
-
const
|
|
12757
|
-
const
|
|
12758
|
-
const
|
|
12759
|
-
const
|
|
12760
|
-
const
|
|
12761
|
-
const
|
|
12762
|
-
const
|
|
12763
|
-
const
|
|
12764
|
-
const
|
|
12748
|
+
const inputInTable$9 = "_inputInTable_1ayhn_332";
|
|
12749
|
+
const inputHover$9 = "_inputHover_1ayhn_338";
|
|
12750
|
+
const inputFocus$9 = "_inputFocus_1ayhn_343";
|
|
12751
|
+
const inputError$9 = "_inputError_1ayhn_350";
|
|
12752
|
+
const inputWarning$9 = "_inputWarning_1ayhn_351";
|
|
12753
|
+
const inputDisabled$9 = "_inputDisabled_1ayhn_386";
|
|
12754
|
+
const hideScrollbars$9 = "_hideScrollbars_1ayhn_391";
|
|
12755
|
+
const inline$1 = "_inline_1ayhn_413";
|
|
12756
|
+
const left$2 = "_left_1ayhn_416";
|
|
12757
|
+
const right$6 = "_right_1ayhn_419";
|
|
12758
|
+
const fixed$1 = "_fixed_1ayhn_422";
|
|
12759
|
+
const border = "_border_1ayhn_434";
|
|
12760
|
+
const shadow = "_shadow_1ayhn_440";
|
|
12761
|
+
const drawerContent = "_drawerContent_1ayhn_443";
|
|
12762
|
+
const isResizing = "_isResizing_1ayhn_455";
|
|
12763
|
+
const toggleButton = "_toggleButton_1ayhn_466";
|
|
12764
|
+
const top = "_top_1ayhn_479";
|
|
12765
|
+
const bottom = "_bottom_1ayhn_482";
|
|
12766
|
+
const toggleButtonOpen = "_toggleButtonOpen_1ayhn_485";
|
|
12767
|
+
const tabs$1 = "_tabs_1ayhn_488";
|
|
12768
|
+
const tab$1 = "_tab_1ayhn_488";
|
|
12769
|
+
const active$4 = "_active_1ayhn_519";
|
|
12770
|
+
const tabsContent = "_tabsContent_1ayhn_541";
|
|
12771
|
+
const resizeHandle = "_resizeHandle_1ayhn_547";
|
|
12765
12772
|
const styles$z = {
|
|
12766
12773
|
inputInTable: inputInTable$9,
|
|
12774
|
+
inputHover: inputHover$9,
|
|
12767
12775
|
inputFocus: inputFocus$9,
|
|
12768
12776
|
inputError: inputError$9,
|
|
12769
12777
|
inputWarning: inputWarning$9,
|
|
@@ -14928,6 +14936,7 @@ const Drawer = ({
|
|
|
14928
14936
|
children,
|
|
14929
14937
|
fixed: fixed2,
|
|
14930
14938
|
open: openProp,
|
|
14939
|
+
setOpen: setOpenProp,
|
|
14931
14940
|
right: right2,
|
|
14932
14941
|
shadow: shadow2,
|
|
14933
14942
|
top: top2,
|
|
@@ -14939,14 +14948,16 @@ const Drawer = ({
|
|
|
14939
14948
|
border: border2,
|
|
14940
14949
|
tabs: tabs2,
|
|
14941
14950
|
defaultTabIndex,
|
|
14951
|
+
activeTab: activeTabProp,
|
|
14952
|
+
setActiveTab: setActiveTabProp,
|
|
14942
14953
|
testId,
|
|
14943
14954
|
onResize,
|
|
14944
14955
|
getActiveTab
|
|
14945
14956
|
}) => {
|
|
14946
14957
|
const isStandardButton = button2 === true;
|
|
14947
14958
|
const isCustomButton = !isStandardButton && isValidElement(button2);
|
|
14948
|
-
const [open, setOpen] = isStandardButton || tabs2 ? useState(openProp) : [openProp, null];
|
|
14949
|
-
const [activeTab, setActiveTab] = useState(open ? defaultTabIndex : null);
|
|
14959
|
+
const [open, setOpen] = setOpenProp ? [openProp, setOpenProp] : isStandardButton || tabs2 ? useState(openProp) : [openProp, null];
|
|
14960
|
+
const [activeTab, setActiveTab] = setActiveTabProp ? [activeTabProp, setActiveTabProp] : useState(open ? defaultTabIndex : null);
|
|
14950
14961
|
const openWidth = Array.isArray(width) ? width[activeTab] : width;
|
|
14951
14962
|
const TABS_WIDTH = 37;
|
|
14952
14963
|
const currentWidth = open ? openWidth : tabs2 ? TABS_WIDTH : closedWidth;
|
|
@@ -14982,7 +14993,6 @@ const Drawer = ({
|
|
|
14982
14993
|
children: tabs2 ? /* @__PURE__ */ jsx(DrawerTabs, {
|
|
14983
14994
|
width: openWidth,
|
|
14984
14995
|
testId,
|
|
14985
|
-
open,
|
|
14986
14996
|
tabs: tabs2,
|
|
14987
14997
|
activeTab,
|
|
14988
14998
|
background,
|
|
@@ -15008,6 +15018,7 @@ Drawer.defaultProps = {
|
|
|
15008
15018
|
background: "transparent",
|
|
15009
15019
|
fixed: false,
|
|
15010
15020
|
open: false,
|
|
15021
|
+
setOpen: void 0,
|
|
15011
15022
|
right: false,
|
|
15012
15023
|
width: 400,
|
|
15013
15024
|
closedWidth: 0,
|
|
@@ -15020,6 +15031,8 @@ Drawer.defaultProps = {
|
|
|
15020
15031
|
children: null,
|
|
15021
15032
|
tabs: null,
|
|
15022
15033
|
defaultTabIndex: 0,
|
|
15034
|
+
activeTab: void 0,
|
|
15035
|
+
setActiveTab: void 0,
|
|
15023
15036
|
testId: void 0,
|
|
15024
15037
|
onResize: null,
|
|
15025
15038
|
getActiveTab: null
|
|
@@ -15028,6 +15041,7 @@ Drawer.propTypes = {
|
|
|
15028
15041
|
background: propTypes$1.exports.string,
|
|
15029
15042
|
fixed: propTypes$1.exports.bool,
|
|
15030
15043
|
open: propTypes$1.exports.bool,
|
|
15044
|
+
setOpen: propTypes$1.exports.func,
|
|
15031
15045
|
right: propTypes$1.exports.bool,
|
|
15032
15046
|
width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number, propTypes$1.exports.arrayOf(propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]))]),
|
|
15033
15047
|
closedWidth: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
@@ -15044,6 +15058,8 @@ Drawer.propTypes = {
|
|
|
15044
15058
|
})),
|
|
15045
15059
|
testId: propTypes$1.exports.string,
|
|
15046
15060
|
defaultTabIndex: propTypes$1.exports.number,
|
|
15061
|
+
activeTab: propTypes$1.exports.number,
|
|
15062
|
+
setActiveTab: propTypes$1.exports.func,
|
|
15047
15063
|
onResize: propTypes$1.exports.func,
|
|
15048
15064
|
getActiveTab: propTypes$1.exports.func
|
|
15049
15065
|
};
|
|
@@ -15162,29 +15178,31 @@ InputGroup.propTypes = {
|
|
|
15162
15178
|
small: propTypes$1.exports.bool,
|
|
15163
15179
|
width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number])
|
|
15164
15180
|
};
|
|
15165
|
-
const inputInTable$8 = "
|
|
15166
|
-
const
|
|
15167
|
-
const
|
|
15168
|
-
const
|
|
15169
|
-
const
|
|
15170
|
-
const
|
|
15171
|
-
const
|
|
15172
|
-
const
|
|
15173
|
-
const
|
|
15174
|
-
const
|
|
15175
|
-
const
|
|
15176
|
-
const
|
|
15177
|
-
const
|
|
15178
|
-
const
|
|
15179
|
-
const
|
|
15181
|
+
const inputInTable$8 = "_inputInTable_19y6z_332";
|
|
15182
|
+
const inputHover$8 = "_inputHover_19y6z_338";
|
|
15183
|
+
const inputFocus$8 = "_inputFocus_19y6z_343";
|
|
15184
|
+
const inputError$8 = "_inputError_19y6z_350";
|
|
15185
|
+
const inputWarning$8 = "_inputWarning_19y6z_351";
|
|
15186
|
+
const inputDisabled$8 = "_inputDisabled_19y6z_386";
|
|
15187
|
+
const hideScrollbars$8 = "_hideScrollbars_19y6z_391";
|
|
15188
|
+
const input$1 = "_input_19y6z_332";
|
|
15189
|
+
const isInTable$3 = "_isInTable_19y6z_422";
|
|
15190
|
+
const small$8 = "_small_19y6z_440";
|
|
15191
|
+
const error$6 = "_error_19y6z_446";
|
|
15192
|
+
const warning$9 = "_warning_19y6z_463";
|
|
15193
|
+
const right$5 = "_right_19y6z_485";
|
|
15194
|
+
const groupOrderFirst$3 = "_groupOrderFirst_19y6z_488";
|
|
15195
|
+
const groupOrderMiddle$3 = "_groupOrderMiddle_19y6z_489";
|
|
15196
|
+
const groupOrderLast$3 = "_groupOrderLast_19y6z_490";
|
|
15180
15197
|
const styles$w = {
|
|
15181
15198
|
inputInTable: inputInTable$8,
|
|
15199
|
+
inputHover: inputHover$8,
|
|
15182
15200
|
inputFocus: inputFocus$8,
|
|
15183
15201
|
inputError: inputError$8,
|
|
15184
15202
|
inputWarning: inputWarning$8,
|
|
15185
15203
|
inputDisabled: inputDisabled$8,
|
|
15186
15204
|
hideScrollbars: hideScrollbars$8,
|
|
15187
|
-
input: input$
|
|
15205
|
+
input: input$1,
|
|
15188
15206
|
isInTable: isInTable$3,
|
|
15189
15207
|
small: small$8,
|
|
15190
15208
|
error: error$6,
|
|
@@ -24632,43 +24650,45 @@ var InfiniteScroll = function(_super) {
|
|
|
24632
24650
|
};
|
|
24633
24651
|
return InfiniteScroll2;
|
|
24634
24652
|
}(Component$1);
|
|
24635
|
-
const inputInTable$7 = "
|
|
24636
|
-
const
|
|
24637
|
-
const
|
|
24638
|
-
const
|
|
24639
|
-
const
|
|
24640
|
-
const
|
|
24641
|
-
const
|
|
24642
|
-
const
|
|
24643
|
-
const
|
|
24644
|
-
const
|
|
24645
|
-
const
|
|
24646
|
-
const
|
|
24647
|
-
const
|
|
24648
|
-
const
|
|
24649
|
-
const
|
|
24650
|
-
const
|
|
24651
|
-
const
|
|
24652
|
-
const
|
|
24653
|
-
const
|
|
24654
|
-
const
|
|
24655
|
-
const
|
|
24656
|
-
const
|
|
24657
|
-
const
|
|
24658
|
-
const
|
|
24659
|
-
const
|
|
24660
|
-
const
|
|
24661
|
-
const
|
|
24662
|
-
const
|
|
24663
|
-
const
|
|
24664
|
-
const
|
|
24665
|
-
const
|
|
24666
|
-
const
|
|
24667
|
-
const
|
|
24668
|
-
const
|
|
24669
|
-
const
|
|
24653
|
+
const inputInTable$7 = "_inputInTable_135v4_332";
|
|
24654
|
+
const inputHover$7 = "_inputHover_135v4_338";
|
|
24655
|
+
const inputFocus$7 = "_inputFocus_135v4_343";
|
|
24656
|
+
const inputError$7 = "_inputError_135v4_350";
|
|
24657
|
+
const inputWarning$7 = "_inputWarning_135v4_351";
|
|
24658
|
+
const inputDisabled$7 = "_inputDisabled_135v4_386";
|
|
24659
|
+
const hideScrollbars$7 = "_hideScrollbars_135v4_391";
|
|
24660
|
+
const header$1 = "_header_135v4_401";
|
|
24661
|
+
const headerTitle = "_headerTitle_135v4_401";
|
|
24662
|
+
const heading$3 = "_heading_135v4_402";
|
|
24663
|
+
const itemHeader = "_itemHeader_135v4_402";
|
|
24664
|
+
const narrow = "_narrow_135v4_405";
|
|
24665
|
+
const stickyHeader = "_stickyHeader_135v4_409";
|
|
24666
|
+
const title$4 = "_title_135v4_420";
|
|
24667
|
+
const name = "_name_135v4_426";
|
|
24668
|
+
const iconTooltipMargin = "_iconTooltipMargin_135v4_429";
|
|
24669
|
+
const bold = "_bold_135v4_432";
|
|
24670
|
+
const toggleNarrow = "_toggleNarrow_135v4_441";
|
|
24671
|
+
const drag = "_drag_135v4_459";
|
|
24672
|
+
const list$1 = "_list_135v4_479";
|
|
24673
|
+
const bordered$1 = "_bordered_135v4_483";
|
|
24674
|
+
const item$4 = "_item_135v4_402";
|
|
24675
|
+
const action = "_action_135v4_516";
|
|
24676
|
+
const active$3 = "_active_135v4_519";
|
|
24677
|
+
const disabled$6 = "_disabled_135v4_534";
|
|
24678
|
+
const label$6 = "_label_135v4_545";
|
|
24679
|
+
const details$2 = "_details_135v4_552";
|
|
24680
|
+
const metadata = "_metadata_135v4_553";
|
|
24681
|
+
const itemContent = "_itemContent_135v4_562";
|
|
24682
|
+
const indentIcon = "_indentIcon_135v4_566";
|
|
24683
|
+
const expandIcon = "_expandIcon_135v4_570";
|
|
24684
|
+
const expanded = "_expanded_135v4_576";
|
|
24685
|
+
const right$4 = "_right_135v4_579";
|
|
24686
|
+
const actions = "_actions_135v4_586";
|
|
24687
|
+
const scrollableList = "_scrollableList_135v4_591";
|
|
24688
|
+
const hideScrollbar = "_hideScrollbar_135v4_391";
|
|
24670
24689
|
const listStyles = {
|
|
24671
24690
|
inputInTable: inputInTable$7,
|
|
24691
|
+
inputHover: inputHover$7,
|
|
24672
24692
|
inputFocus: inputFocus$7,
|
|
24673
24693
|
inputError: inputError$7,
|
|
24674
24694
|
inputWarning: inputWarning$7,
|
|
@@ -25342,27 +25362,30 @@ Loader.propTypes = {
|
|
|
25342
25362
|
testId: propTypes$1.exports.string,
|
|
25343
25363
|
theme: propTypes$1.exports.string
|
|
25344
25364
|
};
|
|
25345
|
-
const inputInTable$6 = "
|
|
25346
|
-
const
|
|
25347
|
-
const
|
|
25348
|
-
const
|
|
25349
|
-
const
|
|
25350
|
-
const
|
|
25351
|
-
const
|
|
25352
|
-
const
|
|
25353
|
-
const
|
|
25354
|
-
const
|
|
25355
|
-
const
|
|
25356
|
-
const
|
|
25357
|
-
const
|
|
25358
|
-
const
|
|
25359
|
-
const
|
|
25360
|
-
const
|
|
25361
|
-
const
|
|
25362
|
-
const
|
|
25363
|
-
const
|
|
25365
|
+
const inputInTable$6 = "_inputInTable_orepy_332";
|
|
25366
|
+
const inputHover$6 = "_inputHover_orepy_338";
|
|
25367
|
+
const inputFocus$6 = "_inputFocus_orepy_343";
|
|
25368
|
+
const inputError$6 = "_inputError_orepy_350";
|
|
25369
|
+
const inputWarning$6 = "_inputWarning_orepy_351";
|
|
25370
|
+
const inputDisabled$6 = "_inputDisabled_orepy_386";
|
|
25371
|
+
const hideScrollbars$6 = "_hideScrollbars_orepy_391";
|
|
25372
|
+
const container$1 = "_container_orepy_407";
|
|
25373
|
+
const block = "_block_orepy_425";
|
|
25374
|
+
const info = "_info_orepy_428";
|
|
25375
|
+
const success = "_success_orepy_432";
|
|
25376
|
+
const warning$5 = "_warning_orepy_436";
|
|
25377
|
+
const error$4 = "_error_orepy_440";
|
|
25378
|
+
const content$1 = "_content_orepy_444";
|
|
25379
|
+
const heading$2 = "_heading_orepy_448";
|
|
25380
|
+
const icon$3 = "_icon_orepy_456";
|
|
25381
|
+
const dismiss$1 = "_dismiss_orepy_457";
|
|
25382
|
+
const absolute = "_absolute_orepy_470";
|
|
25383
|
+
const legendToggle = "_legendToggle_orepy_475";
|
|
25384
|
+
const detailsText = "_detailsText_orepy_491";
|
|
25385
|
+
const footer$2 = "_footer_orepy_495";
|
|
25364
25386
|
const styles$p = {
|
|
25365
25387
|
inputInTable: inputInTable$6,
|
|
25388
|
+
inputHover: inputHover$6,
|
|
25366
25389
|
inputFocus: inputFocus$6,
|
|
25367
25390
|
inputError: inputError$6,
|
|
25368
25391
|
inputWarning: inputWarning$6,
|
|
@@ -25380,7 +25403,8 @@ const styles$p = {
|
|
|
25380
25403
|
dismiss: dismiss$1,
|
|
25381
25404
|
absolute,
|
|
25382
25405
|
legendToggle,
|
|
25383
|
-
detailsText
|
|
25406
|
+
detailsText,
|
|
25407
|
+
footer: footer$2
|
|
25384
25408
|
};
|
|
25385
25409
|
const Dismiss = ({
|
|
25386
25410
|
type,
|
|
@@ -25460,6 +25484,7 @@ const Message = ({
|
|
|
25460
25484
|
heading: heading2,
|
|
25461
25485
|
content: content2,
|
|
25462
25486
|
details: details2,
|
|
25487
|
+
footer: footer2,
|
|
25463
25488
|
withDismiss,
|
|
25464
25489
|
onClose,
|
|
25465
25490
|
width,
|
|
@@ -25493,7 +25518,10 @@ const Message = ({
|
|
|
25493
25518
|
dispatch: () => dispatch({
|
|
25494
25519
|
type: "TOGGLE_DETAILS"
|
|
25495
25520
|
})
|
|
25496
|
-
}) : null
|
|
25521
|
+
}) : null, !!footer2 && /* @__PURE__ */ jsx("div", {
|
|
25522
|
+
className: styles$p.footer,
|
|
25523
|
+
children: footer2
|
|
25524
|
+
})]
|
|
25497
25525
|
}), withDismiss ? /* @__PURE__ */ jsx(Dismiss, {
|
|
25498
25526
|
type,
|
|
25499
25527
|
onClose
|
|
@@ -25508,6 +25536,7 @@ const messageShape = propTypes$1.exports.shape({
|
|
|
25508
25536
|
heading: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
25509
25537
|
content: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number, propTypes$1.exports.node]),
|
|
25510
25538
|
details: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number, propTypes$1.exports.node]),
|
|
25539
|
+
footer: propTypes$1.exports.node,
|
|
25511
25540
|
withDismiss: propTypes$1.exports.bool,
|
|
25512
25541
|
onClose: propTypes$1.exports.func,
|
|
25513
25542
|
width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
@@ -25774,25 +25803,26 @@ Page.propTypes = {
|
|
|
25774
25803
|
scroll: propTypes$1.exports.bool,
|
|
25775
25804
|
top: propTypes$1.exports.oneOfType([propTypes$1.exports.number, propTypes$1.exports.string])
|
|
25776
25805
|
};
|
|
25777
|
-
const inputInTable$5 = "
|
|
25778
|
-
const
|
|
25779
|
-
const
|
|
25780
|
-
const
|
|
25781
|
-
const
|
|
25782
|
-
const
|
|
25783
|
-
const
|
|
25784
|
-
const
|
|
25785
|
-
const
|
|
25786
|
-
const
|
|
25787
|
-
const
|
|
25788
|
-
const
|
|
25789
|
-
const
|
|
25790
|
-
const
|
|
25791
|
-
const
|
|
25792
|
-
const groupOrderMiddle$1 = "
|
|
25793
|
-
const groupOrderLast$1 = "
|
|
25806
|
+
const inputInTable$5 = "_inputInTable_quufr_332";
|
|
25807
|
+
const inputHover$5 = "_inputHover_quufr_338";
|
|
25808
|
+
const inputFocus$5 = "_inputFocus_quufr_343";
|
|
25809
|
+
const inputError$5 = "_inputError_quufr_350";
|
|
25810
|
+
const inputWarning$5 = "_inputWarning_quufr_351";
|
|
25811
|
+
const inputDisabled$5 = "_inputDisabled_quufr_386";
|
|
25812
|
+
const hideScrollbars$5 = "_hideScrollbars_quufr_391";
|
|
25813
|
+
const select = "_select_quufr_401";
|
|
25814
|
+
const isInTable$2 = "_isInTable_quufr_442";
|
|
25815
|
+
const unSelected = "_unSelected_quufr_448";
|
|
25816
|
+
const error$3 = "_error_quufr_455";
|
|
25817
|
+
const warning$4 = "_warning_quufr_472";
|
|
25818
|
+
const small$6 = "_small_quufr_489";
|
|
25819
|
+
const right$3 = "_right_quufr_496";
|
|
25820
|
+
const groupOrderFirst$1 = "_groupOrderFirst_quufr_507";
|
|
25821
|
+
const groupOrderMiddle$1 = "_groupOrderMiddle_quufr_508";
|
|
25822
|
+
const groupOrderLast$1 = "_groupOrderLast_quufr_513";
|
|
25794
25823
|
const styles$l = {
|
|
25795
25824
|
inputInTable: inputInTable$5,
|
|
25825
|
+
inputHover: inputHover$5,
|
|
25796
25826
|
inputFocus: inputFocus$5,
|
|
25797
25827
|
inputError: inputError$5,
|
|
25798
25828
|
inputWarning: inputWarning$5,
|
|
@@ -25806,7 +25836,6 @@ const styles$l = {
|
|
|
25806
25836
|
small: small$6,
|
|
25807
25837
|
right: right$3,
|
|
25808
25838
|
groupOrderFirst: groupOrderFirst$1,
|
|
25809
|
-
input: input$1,
|
|
25810
25839
|
groupOrderMiddle: groupOrderMiddle$1,
|
|
25811
25840
|
groupOrderLast: groupOrderLast$1
|
|
25812
25841
|
};
|
|
@@ -26859,38 +26888,40 @@ const Layer = ({
|
|
|
26859
26888
|
})
|
|
26860
26889
|
});
|
|
26861
26890
|
};
|
|
26862
|
-
const inputInTable$4 = "
|
|
26863
|
-
const
|
|
26864
|
-
const
|
|
26865
|
-
const
|
|
26866
|
-
const
|
|
26867
|
-
const
|
|
26868
|
-
const
|
|
26869
|
-
const
|
|
26870
|
-
const
|
|
26871
|
-
const
|
|
26872
|
-
const
|
|
26873
|
-
const
|
|
26874
|
-
const
|
|
26875
|
-
const
|
|
26876
|
-
const
|
|
26877
|
-
const
|
|
26878
|
-
const
|
|
26879
|
-
const
|
|
26880
|
-
const
|
|
26881
|
-
const
|
|
26882
|
-
const
|
|
26883
|
-
const
|
|
26884
|
-
const
|
|
26885
|
-
const
|
|
26886
|
-
const
|
|
26887
|
-
const
|
|
26888
|
-
const
|
|
26889
|
-
const
|
|
26890
|
-
const
|
|
26891
|
-
const
|
|
26891
|
+
const inputInTable$4 = "_inputInTable_3i4tj_332";
|
|
26892
|
+
const inputHover$4 = "_inputHover_3i4tj_338";
|
|
26893
|
+
const inputFocus$4 = "_inputFocus_3i4tj_343";
|
|
26894
|
+
const inputError$4 = "_inputError_3i4tj_350";
|
|
26895
|
+
const inputWarning$4 = "_inputWarning_3i4tj_351";
|
|
26896
|
+
const inputDisabled$4 = "_inputDisabled_3i4tj_386";
|
|
26897
|
+
const hideScrollbars$4 = "_hideScrollbars_3i4tj_391";
|
|
26898
|
+
const trigger = "_trigger_3i4tj_405";
|
|
26899
|
+
const isInTable$1 = "_isInTable_3i4tj_420";
|
|
26900
|
+
const input = "_input_3i4tj_332";
|
|
26901
|
+
const isOpen = "_isOpen_3i4tj_435";
|
|
26902
|
+
const error$2 = "_error_3i4tj_443";
|
|
26903
|
+
const warning$3 = "_warning_3i4tj_460";
|
|
26904
|
+
const disabled$4 = "_disabled_3i4tj_477";
|
|
26905
|
+
const iconOpen = "_iconOpen_3i4tj_482";
|
|
26906
|
+
const icons = "_icons_3i4tj_485";
|
|
26907
|
+
const clearAll = "_clearAll_3i4tj_493";
|
|
26908
|
+
const small$4 = "_small_3i4tj_502";
|
|
26909
|
+
const focus = "_focus_3i4tj_511";
|
|
26910
|
+
const triggerInputContainer = "_triggerInputContainer_3i4tj_525";
|
|
26911
|
+
const right$2 = "_right_3i4tj_534";
|
|
26912
|
+
const multiOptions = "_multiOptions_3i4tj_547";
|
|
26913
|
+
const multiOption = "_multiOption_3i4tj_547";
|
|
26914
|
+
const label$4 = "_label_3i4tj_579";
|
|
26915
|
+
const closeMultiOption = "_closeMultiOption_3i4tj_582";
|
|
26916
|
+
const selectedSingleValue = "_selectedSingleValue_3i4tj_597";
|
|
26917
|
+
const placeHolder = "_placeHolder_3i4tj_598";
|
|
26918
|
+
const groupOrderFirst = "_groupOrderFirst_3i4tj_637";
|
|
26919
|
+
const groupOrderMiddle = "_groupOrderMiddle_3i4tj_638";
|
|
26920
|
+
const groupOrderLast = "_groupOrderLast_3i4tj_643";
|
|
26921
|
+
const detailedLabel = "_detailedLabel_3i4tj_648";
|
|
26892
26922
|
const styles$j = {
|
|
26893
26923
|
inputInTable: inputInTable$4,
|
|
26924
|
+
inputHover: inputHover$4,
|
|
26894
26925
|
inputFocus: inputFocus$4,
|
|
26895
26926
|
inputError: inputError$4,
|
|
26896
26927
|
inputWarning: inputWarning$4,
|
|
@@ -28561,25 +28592,27 @@ var reactFastCompare = function isEqual3(a, b2) {
|
|
|
28561
28592
|
throw error2;
|
|
28562
28593
|
}
|
|
28563
28594
|
};
|
|
28564
|
-
const inputInTable$3 = "
|
|
28565
|
-
const
|
|
28566
|
-
const
|
|
28567
|
-
const
|
|
28568
|
-
const
|
|
28569
|
-
const
|
|
28570
|
-
const
|
|
28571
|
-
const
|
|
28572
|
-
const
|
|
28573
|
-
const
|
|
28574
|
-
const
|
|
28575
|
-
const
|
|
28576
|
-
const
|
|
28577
|
-
const
|
|
28578
|
-
const
|
|
28579
|
-
const
|
|
28580
|
-
const
|
|
28595
|
+
const inputInTable$3 = "_inputInTable_e9nqj_332";
|
|
28596
|
+
const inputHover$3 = "_inputHover_e9nqj_338";
|
|
28597
|
+
const inputFocus$3 = "_inputFocus_e9nqj_343";
|
|
28598
|
+
const inputError$3 = "_inputError_e9nqj_350";
|
|
28599
|
+
const inputWarning$3 = "_inputWarning_e9nqj_351";
|
|
28600
|
+
const inputDisabled$3 = "_inputDisabled_e9nqj_386";
|
|
28601
|
+
const hideScrollbars$3 = "_hideScrollbars_e9nqj_391";
|
|
28602
|
+
const sidebar = "_sidebar_e9nqj_404";
|
|
28603
|
+
const inner = "_inner_e9nqj_414";
|
|
28604
|
+
const title$3 = "_title_e9nqj_425";
|
|
28605
|
+
const subtitle = "_subtitle_e9nqj_426";
|
|
28606
|
+
const label$2 = "_label_e9nqj_427";
|
|
28607
|
+
const collapsed = "_collapsed_e9nqj_431";
|
|
28608
|
+
const list = "_list_e9nqj_454";
|
|
28609
|
+
const item$2 = "_item_e9nqj_460";
|
|
28610
|
+
const active$2 = "_active_e9nqj_481";
|
|
28611
|
+
const experimental = "_experimental_e9nqj_485";
|
|
28612
|
+
const icon$1 = "_icon_e9nqj_488";
|
|
28581
28613
|
const styles$c = {
|
|
28582
28614
|
inputInTable: inputInTable$3,
|
|
28615
|
+
inputHover: inputHover$3,
|
|
28583
28616
|
inputFocus: inputFocus$3,
|
|
28584
28617
|
inputError: inputError$3,
|
|
28585
28618
|
inputWarning: inputWarning$3,
|
|
@@ -34869,24 +34902,26 @@ Spacer.propTypes = {
|
|
|
34869
34902
|
width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
34870
34903
|
flex: propTypes$1.exports.bool
|
|
34871
34904
|
};
|
|
34872
|
-
const inputInTable$2 = "
|
|
34873
|
-
const
|
|
34874
|
-
const
|
|
34875
|
-
const
|
|
34876
|
-
const
|
|
34877
|
-
const
|
|
34878
|
-
const
|
|
34879
|
-
const
|
|
34880
|
-
const
|
|
34881
|
-
const
|
|
34882
|
-
const
|
|
34883
|
-
const
|
|
34884
|
-
const
|
|
34885
|
-
const
|
|
34886
|
-
const
|
|
34887
|
-
const
|
|
34905
|
+
const inputInTable$2 = "_inputInTable_skkdh_332";
|
|
34906
|
+
const inputHover$2 = "_inputHover_skkdh_338";
|
|
34907
|
+
const inputFocus$2 = "_inputFocus_skkdh_343";
|
|
34908
|
+
const inputError$2 = "_inputError_skkdh_350";
|
|
34909
|
+
const inputWarning$2 = "_inputWarning_skkdh_351";
|
|
34910
|
+
const inputDisabled$2 = "_inputDisabled_skkdh_386";
|
|
34911
|
+
const hideScrollbars$2 = "_hideScrollbars_skkdh_391";
|
|
34912
|
+
const cellWrapperPadding$3 = "_cellWrapperPadding_skkdh_401";
|
|
34913
|
+
const flexBlock$3 = "_flexBlock_skkdh_404";
|
|
34914
|
+
const scrollWrapper = "_scrollWrapper_skkdh_417";
|
|
34915
|
+
const bordered = "_bordered_skkdh_417";
|
|
34916
|
+
const maxHeight = "_maxHeight_skkdh_421";
|
|
34917
|
+
const table = "_table_skkdh_430";
|
|
34918
|
+
const cellWrapper$3 = "_cellWrapper_skkdh_401";
|
|
34919
|
+
const title$2 = "_title_skkdh_512";
|
|
34920
|
+
const footer$1 = "_footer_skkdh_513";
|
|
34921
|
+
const striped = "_striped_skkdh_518";
|
|
34888
34922
|
const styles$a = {
|
|
34889
34923
|
inputInTable: inputInTable$2,
|
|
34924
|
+
inputHover: inputHover$2,
|
|
34890
34925
|
inputFocus: inputFocus$2,
|
|
34891
34926
|
inputError: inputError$2,
|
|
34892
34927
|
inputWarning: inputWarning$2,
|
|
@@ -35043,41 +35078,43 @@ function CgSortAz(props) {
|
|
|
35043
35078
|
function CgSortZa(props) {
|
|
35044
35079
|
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none" }, "child": [{ "tag": "path", "attr": { "d": "M6 16C6 16.5523 6.44772 17 7 17H17C17.5523 17 18 16.5523 18 16C18 15.4477 17.5523 15 17 15H7C6.44772 15 6 15.4477 6 16Z", "fill": "currentColor" } }, { "tag": "path", "attr": { "d": "M8 12C8 12.5523 8.44772 13 9 13H15C15.5523 13 16 12.5523 16 12C16 11.4477 15.5523 11 15 11H9C8.44772 11 8 11.4477 8 12Z", "fill": "currentColor" } }, { "tag": "path", "attr": { "d": "M11 9C10.4477 9 10 8.55229 10 8C10 7.44771 10.4477 7 11 7H13C13.5523 7 14 7.44771 14 8C14 8.55229 13.5523 9 13 9H11Z", "fill": "currentColor" } }] })(props);
|
|
35045
35080
|
}
|
|
35046
|
-
const inputInTable$1 = "
|
|
35047
|
-
const
|
|
35048
|
-
const
|
|
35049
|
-
const
|
|
35050
|
-
const
|
|
35051
|
-
const
|
|
35052
|
-
const
|
|
35053
|
-
const
|
|
35054
|
-
const
|
|
35055
|
-
const
|
|
35056
|
-
const
|
|
35057
|
-
const
|
|
35058
|
-
const
|
|
35059
|
-
const
|
|
35060
|
-
const
|
|
35061
|
-
const
|
|
35062
|
-
const
|
|
35063
|
-
const
|
|
35064
|
-
const
|
|
35065
|
-
const
|
|
35066
|
-
const
|
|
35067
|
-
const
|
|
35068
|
-
const
|
|
35069
|
-
const
|
|
35070
|
-
const
|
|
35071
|
-
const
|
|
35072
|
-
const
|
|
35073
|
-
const
|
|
35074
|
-
const
|
|
35075
|
-
const
|
|
35076
|
-
const
|
|
35077
|
-
const
|
|
35078
|
-
const
|
|
35081
|
+
const inputInTable$1 = "_inputInTable_11q83_332";
|
|
35082
|
+
const inputHover$1 = "_inputHover_11q83_338";
|
|
35083
|
+
const inputFocus$1 = "_inputFocus_11q83_343";
|
|
35084
|
+
const inputError$1 = "_inputError_11q83_350";
|
|
35085
|
+
const inputWarning$1 = "_inputWarning_11q83_351";
|
|
35086
|
+
const inputDisabled$1 = "_inputDisabled_11q83_386";
|
|
35087
|
+
const hideScrollbars$1 = "_hideScrollbars_11q83_391";
|
|
35088
|
+
const cellWrapperPadding = "_cellWrapperPadding_11q83_401";
|
|
35089
|
+
const flexBlock = "_flexBlock_11q83_404";
|
|
35090
|
+
const cellWrapper = "_cellWrapper_11q83_401";
|
|
35091
|
+
const disabledLink = "_disabledLink_11q83_422";
|
|
35092
|
+
const inputWrapper = "_inputWrapper_11q83_426";
|
|
35093
|
+
const breakWord = "_breakWord_11q83_442";
|
|
35094
|
+
const inputCell = "_inputCell_11q83_445";
|
|
35095
|
+
const sliderCell = "_sliderCell_11q83_448";
|
|
35096
|
+
const staticCell = "_staticCell_11q83_452";
|
|
35097
|
+
const staticCellContent = "_staticCellContent_11q83_455";
|
|
35098
|
+
const error$1 = "_error_11q83_464";
|
|
35099
|
+
const warning$1 = "_warning_11q83_465";
|
|
35100
|
+
const unit = "_unit_11q83_502";
|
|
35101
|
+
const disabled$2 = "_disabled_11q83_422";
|
|
35102
|
+
const sortingCell = "_sortingCell_11q83_510";
|
|
35103
|
+
const sortingCellIcon = "_sortingCellIcon_11q83_518";
|
|
35104
|
+
const icon = "_icon_11q83_525";
|
|
35105
|
+
const clickable = "_clickable_11q83_536";
|
|
35106
|
+
const checkBoxCell = "_checkBoxCell_11q83_540";
|
|
35107
|
+
const iconCell = "_iconCell_11q83_544";
|
|
35108
|
+
const iconWrapper = "_iconWrapper_11q83_549";
|
|
35109
|
+
const actionsCell = "_actionsCell_11q83_553";
|
|
35110
|
+
const rightAligned = "_rightAligned_11q83_557";
|
|
35111
|
+
const centerAligned = "_centerAligned_11q83_563";
|
|
35112
|
+
const leftAligned = "_leftAligned_11q83_566";
|
|
35113
|
+
const popover = "_popover_11q83_569";
|
|
35114
|
+
const disabledPointerEvents = "_disabledPointerEvents_11q83_572";
|
|
35079
35115
|
const styles$7 = {
|
|
35080
35116
|
inputInTable: inputInTable$1,
|
|
35117
|
+
inputHover: inputHover$1,
|
|
35081
35118
|
inputFocus: inputFocus$1,
|
|
35082
35119
|
inputError: inputError$1,
|
|
35083
35120
|
inputWarning: inputWarning$1,
|
|
@@ -35936,17 +35973,17 @@ const TableScrollWrapper = ({
|
|
|
35936
35973
|
});
|
|
35937
35974
|
};
|
|
35938
35975
|
const Table = (props) => {
|
|
35939
|
-
var _a, _b, _c, _d;
|
|
35976
|
+
var _a, _b, _c, _d, _e2;
|
|
35940
35977
|
const {
|
|
35941
35978
|
onListReorder,
|
|
35942
|
-
table:
|
|
35979
|
+
table: propTable
|
|
35943
35980
|
} = props;
|
|
35944
35981
|
const {
|
|
35945
35982
|
fixedWidth,
|
|
35946
35983
|
columnWidths,
|
|
35947
35984
|
footer: footer2,
|
|
35948
35985
|
name: name2,
|
|
35949
|
-
rows,
|
|
35986
|
+
rows: propRows,
|
|
35950
35987
|
actions: actions2,
|
|
35951
35988
|
actionsRight,
|
|
35952
35989
|
columnHeaderAlignments,
|
|
@@ -35955,8 +35992,9 @@ const Table = (props) => {
|
|
|
35955
35992
|
striped: striped2 = true,
|
|
35956
35993
|
testId,
|
|
35957
35994
|
draggable: draggable2,
|
|
35958
|
-
|
|
35959
|
-
|
|
35995
|
+
defaultEmptyRow = null,
|
|
35996
|
+
onAddRow = null
|
|
35997
|
+
} = propTable;
|
|
35960
35998
|
const targetRef = useRef();
|
|
35961
35999
|
const [dimensions, setDimensions] = useState({
|
|
35962
36000
|
width: 0,
|
|
@@ -35971,40 +36009,47 @@ const Table = (props) => {
|
|
|
35971
36009
|
}
|
|
35972
36010
|
}, []);
|
|
35973
36011
|
const headers = lodash.exports.get(props, "table.headers", []);
|
|
35974
|
-
const columnCount = getColumnCount(
|
|
35975
|
-
const rowActions = hasRowActions(
|
|
36012
|
+
const columnCount = getColumnCount(propRows, headers);
|
|
36013
|
+
const rowActions = hasRowActions(propRows, headers);
|
|
35976
36014
|
const colSpan = columnCount + (rowActions ? 1 : 0);
|
|
35977
36015
|
const [rowsMetaData, setRowsMetaData] = useState([]);
|
|
35978
|
-
const allRows = rows;
|
|
35979
36016
|
const isLastPage = footer2 ? ((_a = footer2 == null ? void 0 : footer2.pagination) == null ? void 0 : _a.selectedPage) >= ((_b = footer2 == null ? void 0 : footer2.pagination) == null ? void 0 : _b.rowCount) / ((_d = (_c = footer2 == null ? void 0 : footer2.pagination) == null ? void 0 : _c.rowsPerPage) == null ? void 0 : _d.value) : true;
|
|
35980
|
-
|
|
35981
|
-
|
|
35982
|
-
|
|
35983
|
-
const newEmptyCells = lastRowCells.map((cell, i) => {
|
|
35984
|
-
if (cell.type === "Input") {
|
|
35985
|
-
return {
|
|
35986
|
-
...cell,
|
|
35987
|
-
value: "",
|
|
35988
|
-
onChange: (evt) => onChangeAutoEmptyRow(evt, newEmptyRowIndex, i),
|
|
35989
|
-
error: void 0,
|
|
35990
|
-
disabled: isLastPage ? i === 0 ? false : cell.disabled : true,
|
|
35991
|
-
tooltip: !isLastPage && "Just allowed in last page"
|
|
35992
|
-
};
|
|
35993
|
-
}
|
|
36017
|
+
const addEmptyTempRow = ((_e2 = defaultEmptyRow == null ? void 0 : defaultEmptyRow.cells) == null ? void 0 : _e2.length) && onAddRow && isLastPage;
|
|
36018
|
+
const tempEmptyCells = addEmptyTempRow ? defaultEmptyRow.cells.map((cell, i) => {
|
|
36019
|
+
if ((cell == null ? void 0 : cell.type) === "Input") {
|
|
35994
36020
|
return {
|
|
35995
36021
|
...cell,
|
|
35996
|
-
|
|
35997
|
-
|
|
35998
|
-
|
|
35999
|
-
|
|
36022
|
+
onChange: (evt) => {
|
|
36023
|
+
var _a2;
|
|
36024
|
+
const value = (_a2 = evt == null ? void 0 : evt.target) == null ? void 0 : _a2.value;
|
|
36025
|
+
const newRow = {
|
|
36026
|
+
...defaultEmptyRow,
|
|
36027
|
+
cells: defaultEmptyRow.cells.map((cell2, cellIndex) => {
|
|
36028
|
+
return {
|
|
36029
|
+
...cell2,
|
|
36030
|
+
value: cellIndex === i ? value : cell2 == null ? void 0 : cell2.value
|
|
36031
|
+
};
|
|
36032
|
+
})
|
|
36033
|
+
};
|
|
36034
|
+
onAddRow({
|
|
36035
|
+
newRow
|
|
36036
|
+
});
|
|
36037
|
+
}
|
|
36000
36038
|
};
|
|
36001
|
-
}
|
|
36002
|
-
|
|
36003
|
-
|
|
36004
|
-
|
|
36039
|
+
}
|
|
36040
|
+
return {
|
|
36041
|
+
...cell,
|
|
36042
|
+
disabled: true
|
|
36005
36043
|
};
|
|
36006
|
-
|
|
36007
|
-
|
|
36044
|
+
}) : null;
|
|
36045
|
+
const rows = addEmptyTempRow ? propRows.concat({
|
|
36046
|
+
cells: tempEmptyCells,
|
|
36047
|
+
testId: testId && `${testId}-last-empty-row`
|
|
36048
|
+
}) : propRows;
|
|
36049
|
+
const table2 = {
|
|
36050
|
+
...propTable,
|
|
36051
|
+
rows
|
|
36052
|
+
};
|
|
36008
36053
|
return draggable2 ? /* @__PURE__ */ jsx("div", {
|
|
36009
36054
|
ref: targetRef,
|
|
36010
36055
|
children: /* @__PURE__ */ jsx(DragDropContext, {
|
|
@@ -36055,7 +36100,7 @@ const Table = (props) => {
|
|
|
36055
36100
|
}, `0_${rowIndex}`);
|
|
36056
36101
|
})]
|
|
36057
36102
|
}), /* @__PURE__ */ jsxs("tbody", {
|
|
36058
|
-
children: [
|
|
36103
|
+
children: [rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsx(PublicDraggable, {
|
|
36059
36104
|
draggableId: rowIndex + "",
|
|
36060
36105
|
index: rowIndex,
|
|
36061
36106
|
isDragDisabled: row2.noDrag,
|
|
@@ -36117,7 +36162,7 @@ const Table = (props) => {
|
|
|
36117
36162
|
}, `0_${rowIndex}`);
|
|
36118
36163
|
})]
|
|
36119
36164
|
}), /* @__PURE__ */ jsx("tbody", {
|
|
36120
|
-
children:
|
|
36165
|
+
children: rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsx(Row, {
|
|
36121
36166
|
rowIndex,
|
|
36122
36167
|
row: row2,
|
|
36123
36168
|
columnCount,
|
|
@@ -36163,8 +36208,8 @@ Table.propTypes = {
|
|
|
36163
36208
|
bordered: propTypes$1.exports.bool,
|
|
36164
36209
|
striped: propTypes$1.exports.bool,
|
|
36165
36210
|
testId: propTypes$1.exports.string,
|
|
36166
|
-
|
|
36167
|
-
|
|
36211
|
+
onAddRow: propTypes$1.exports.func,
|
|
36212
|
+
defaultEmptyRow: propTypes$1.exports.object
|
|
36168
36213
|
}).isRequired,
|
|
36169
36214
|
onListReorder: propTypes$1.exports.func
|
|
36170
36215
|
};
|
|
@@ -36399,19 +36444,21 @@ TextLink.propTypes = {
|
|
|
36399
36444
|
target: propTypes$1.exports.string,
|
|
36400
36445
|
testId: propTypes$1.exports.string
|
|
36401
36446
|
};
|
|
36402
|
-
const inputInTable = "
|
|
36403
|
-
const
|
|
36404
|
-
const
|
|
36405
|
-
const
|
|
36406
|
-
const
|
|
36407
|
-
const
|
|
36408
|
-
const
|
|
36409
|
-
const
|
|
36410
|
-
const
|
|
36411
|
-
const
|
|
36412
|
-
const
|
|
36447
|
+
const inputInTable = "_inputInTable_1t5rh_332";
|
|
36448
|
+
const inputHover = "_inputHover_1t5rh_338";
|
|
36449
|
+
const inputFocus = "_inputFocus_1t5rh_343";
|
|
36450
|
+
const inputError = "_inputError_1t5rh_350";
|
|
36451
|
+
const inputWarning = "_inputWarning_1t5rh_351";
|
|
36452
|
+
const inputDisabled = "_inputDisabled_1t5rh_386";
|
|
36453
|
+
const hideScrollbars = "_hideScrollbars_1t5rh_391";
|
|
36454
|
+
const textarea = "_textarea_1t5rh_401";
|
|
36455
|
+
const small$1 = "_small_1t5rh_438";
|
|
36456
|
+
const error = "_error_1t5rh_444";
|
|
36457
|
+
const warning = "_warning_1t5rh_461";
|
|
36458
|
+
const monospace = "_monospace_1t5rh_478";
|
|
36413
36459
|
const styles$4 = {
|
|
36414
36460
|
inputInTable,
|
|
36461
|
+
inputHover,
|
|
36415
36462
|
inputFocus,
|
|
36416
36463
|
inputError,
|
|
36417
36464
|
inputWarning,
|