@oliasoft-open-source/react-ui-library 4.18.2-beta-1 → 4.18.3-beta-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 +13 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +402 -394
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -186,7 +186,7 @@ var InputType = /* @__PURE__ */ ((InputType2) => {
|
|
|
186
186
|
})(InputType || {});
|
|
187
187
|
const chevron = "_chevron_1kw4m_1";
|
|
188
188
|
const expanded$2 = "_expanded_1kw4m_9";
|
|
189
|
-
const styles$
|
|
189
|
+
const styles$V = {
|
|
190
190
|
chevron,
|
|
191
191
|
expanded: expanded$2
|
|
192
192
|
};
|
|
@@ -869,7 +869,7 @@ const wrapper$5 = "_wrapper_18jt2_1";
|
|
|
869
869
|
const customSvg = "_customSvg_18jt2_8";
|
|
870
870
|
const customPng = "_customPng_18jt2_11";
|
|
871
871
|
const clickable$2 = "_clickable_18jt2_16";
|
|
872
|
-
const styles$
|
|
872
|
+
const styles$U = {
|
|
873
873
|
wrapper: wrapper$5,
|
|
874
874
|
customSvg,
|
|
875
875
|
customPng,
|
|
@@ -1544,8 +1544,8 @@ const Icon = ({
|
|
|
1544
1544
|
"div",
|
|
1545
1545
|
{
|
|
1546
1546
|
className: cx$2(
|
|
1547
|
-
styles$
|
|
1548
|
-
(clickable2 || onClick) && !disabledContext ? styles$
|
|
1547
|
+
styles$U.wrapper,
|
|
1548
|
+
(clickable2 || onClick) && !disabledContext ? styles$U.clickable : ""
|
|
1549
1549
|
),
|
|
1550
1550
|
style,
|
|
1551
1551
|
onClick: (evt) => onClick && !disabledContext ? onClick(evt) : void 0,
|
|
@@ -1553,7 +1553,7 @@ const Icon = ({
|
|
|
1553
1553
|
children: isValidElement(icon2) ? icon2 : typeof icon2 === "string" && (icon2.includes(".svg") || icon2.includes("image/svg")) ? /* @__PURE__ */ jsx(
|
|
1554
1554
|
ReactSVG,
|
|
1555
1555
|
{
|
|
1556
|
-
className: styles$
|
|
1556
|
+
className: styles$U.customSvg,
|
|
1557
1557
|
beforeInjection: (svg) => {
|
|
1558
1558
|
if (size2) {
|
|
1559
1559
|
svg.setAttribute("width", String(size2));
|
|
@@ -1562,12 +1562,12 @@ const Icon = ({
|
|
|
1562
1562
|
},
|
|
1563
1563
|
src: icon2
|
|
1564
1564
|
}
|
|
1565
|
-
) : typeof icon2 === "string" && (icon2.includes(".png") || icon2.includes("image/png")) ? /* @__PURE__ */ jsx("img", { alt: "icon", className: styles$
|
|
1565
|
+
) : typeof icon2 === "string" && (icon2.includes(".png") || icon2.includes("image/png")) ? /* @__PURE__ */ jsx("img", { alt: "icon", className: styles$U.customPng, src: icon2 }) : typeof icon2 === "string" ? /* @__PURE__ */ jsx(NamedIcon, { icon: icon2 }) : null
|
|
1566
1566
|
}
|
|
1567
1567
|
);
|
|
1568
1568
|
};
|
|
1569
1569
|
const Chevron = ({ expanded: expanded2 }) => {
|
|
1570
|
-
return /* @__PURE__ */ jsx("span", { className: cx$2(styles$
|
|
1570
|
+
return /* @__PURE__ */ jsx("span", { className: cx$2(styles$V.chevron, expanded2 ? styles$V.expanded : ""), children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_RIGHT }) });
|
|
1571
1571
|
};
|
|
1572
1572
|
const accordion = "_accordion_15p8j_1";
|
|
1573
1573
|
const accordionHeader = "_accordionHeader_15p8j_5";
|
|
@@ -1578,7 +1578,7 @@ const accordionContent = "_accordionContent_15p8j_18";
|
|
|
1578
1578
|
const expanded$1 = "_expanded_15p8j_36";
|
|
1579
1579
|
const padding$3 = "_padding_15p8j_44";
|
|
1580
1580
|
const squareBottom = "_squareBottom_15p8j_47";
|
|
1581
|
-
const styles$
|
|
1581
|
+
const styles$T = {
|
|
1582
1582
|
accordion,
|
|
1583
1583
|
accordionHeader,
|
|
1584
1584
|
heading: heading$6,
|
|
@@ -1603,21 +1603,21 @@ const AccordionBase = ({
|
|
|
1603
1603
|
"div",
|
|
1604
1604
|
{
|
|
1605
1605
|
className: cx$2(
|
|
1606
|
-
styles$
|
|
1607
|
-
bordered2 ? styles$
|
|
1608
|
-
expanded2 ? styles$
|
|
1609
|
-
squareBottom2 ? styles$
|
|
1606
|
+
styles$T.accordion,
|
|
1607
|
+
bordered2 ? styles$T.bordered : "",
|
|
1608
|
+
expanded2 ? styles$T.expanded : "",
|
|
1609
|
+
squareBottom2 ? styles$T.squareBottom : ""
|
|
1610
1610
|
),
|
|
1611
1611
|
children: [
|
|
1612
1612
|
/* @__PURE__ */ jsxs(
|
|
1613
1613
|
"div",
|
|
1614
1614
|
{
|
|
1615
|
-
className: cx$2(styles$
|
|
1615
|
+
className: cx$2(styles$T.accordionHeader, onClick ? styles$T.clickable : ""),
|
|
1616
1616
|
onClick,
|
|
1617
1617
|
"data-testid": testId,
|
|
1618
1618
|
children: [
|
|
1619
1619
|
/* @__PURE__ */ jsx(Chevron, { expanded: expanded2 }),
|
|
1620
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
1620
|
+
/* @__PURE__ */ jsx("div", { className: styles$T.heading, children: heading2 })
|
|
1621
1621
|
]
|
|
1622
1622
|
}
|
|
1623
1623
|
),
|
|
@@ -1625,8 +1625,8 @@ const AccordionBase = ({
|
|
|
1625
1625
|
"div",
|
|
1626
1626
|
{
|
|
1627
1627
|
className: cx$2(
|
|
1628
|
-
styles$
|
|
1629
|
-
bordered2 && padding2 ? styles$
|
|
1628
|
+
styles$T.accordionContent,
|
|
1629
|
+
bordered2 && padding2 ? styles$T.padding : ""
|
|
1630
1630
|
),
|
|
1631
1631
|
children
|
|
1632
1632
|
}
|
|
@@ -1704,7 +1704,7 @@ const disabled$a = "_disabled_1ybyr_67";
|
|
|
1704
1704
|
const noMargin$2 = "_noMargin_1ybyr_81";
|
|
1705
1705
|
const isInTable$4 = "_isInTable_1ybyr_84";
|
|
1706
1706
|
const helpIconEnabled$2 = "_helpIconEnabled_1ybyr_87";
|
|
1707
|
-
const styles$
|
|
1707
|
+
const styles$S = {
|
|
1708
1708
|
checkbox,
|
|
1709
1709
|
noLabel,
|
|
1710
1710
|
small: small$d,
|
|
@@ -3711,7 +3711,7 @@ function useHover(_temp) {
|
|
|
3711
3711
|
const tooltip = "_tooltip_wli9z_1";
|
|
3712
3712
|
const error$2 = "_error_wli9z_15";
|
|
3713
3713
|
const warning$4 = "_warning_wli9z_19";
|
|
3714
|
-
const styles$
|
|
3714
|
+
const styles$R = {
|
|
3715
3715
|
tooltip,
|
|
3716
3716
|
error: error$2,
|
|
3717
3717
|
warning: warning$4
|
|
@@ -3742,8 +3742,8 @@ const TooltipLayer = ({
|
|
|
3742
3742
|
"div",
|
|
3743
3743
|
{
|
|
3744
3744
|
className: cx$2(
|
|
3745
|
-
styles$
|
|
3746
|
-
error2 ? styles$
|
|
3745
|
+
styles$R.tooltip,
|
|
3746
|
+
error2 ? styles$R.error : warning2 ? styles$R.warning : ""
|
|
3747
3747
|
),
|
|
3748
3748
|
...layerProps,
|
|
3749
3749
|
children: [
|
|
@@ -3812,7 +3812,7 @@ const Tooltip = ({
|
|
|
3812
3812
|
const helpIcon = "_helpIcon_hd0z2_1";
|
|
3813
3813
|
const active$9 = "_active_hd0z2_9";
|
|
3814
3814
|
const clickable = "_clickable_hd0z2_12";
|
|
3815
|
-
const styles$
|
|
3815
|
+
const styles$Q = {
|
|
3816
3816
|
helpIcon,
|
|
3817
3817
|
active: active$9,
|
|
3818
3818
|
clickable
|
|
@@ -3843,9 +3843,9 @@ const HelpIcon = ({
|
|
|
3843
3843
|
"div",
|
|
3844
3844
|
{
|
|
3845
3845
|
className: cx$2(
|
|
3846
|
-
styles$
|
|
3847
|
-
onClick ? styles$
|
|
3848
|
-
active2 ? styles$
|
|
3846
|
+
styles$Q.helpIcon,
|
|
3847
|
+
onClick ? styles$Q.clickable : "",
|
|
3848
|
+
active2 ? styles$Q.active : ""
|
|
3849
3849
|
),
|
|
3850
3850
|
onClick: onClickHelpIcon,
|
|
3851
3851
|
"data-testid": testId,
|
|
@@ -3876,12 +3876,12 @@ const CheckBox = ({
|
|
|
3876
3876
|
"div",
|
|
3877
3877
|
{
|
|
3878
3878
|
className: cx$2(
|
|
3879
|
-
styles$
|
|
3880
|
-
noMargin2 && styles$
|
|
3881
|
-
isInTable2 && styles$
|
|
3882
|
-
isDisabled && styles$
|
|
3883
|
-
small2 && styles$
|
|
3884
|
-
!label2 && styles$
|
|
3879
|
+
styles$S.checkbox,
|
|
3880
|
+
noMargin2 && styles$S.noMargin,
|
|
3881
|
+
isInTable2 && styles$S.isInTable,
|
|
3882
|
+
isDisabled && styles$S.disabled,
|
|
3883
|
+
small2 && styles$S.small,
|
|
3884
|
+
!label2 && styles$S.noLabel
|
|
3885
3885
|
),
|
|
3886
3886
|
"data-ix": dataix,
|
|
3887
3887
|
onClick: (evt) => {
|
|
@@ -3913,10 +3913,10 @@ const CheckBox = ({
|
|
|
3913
3913
|
}
|
|
3914
3914
|
),
|
|
3915
3915
|
/* @__PURE__ */ jsxs("label", { htmlFor: name2, children: [
|
|
3916
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
3916
|
+
/* @__PURE__ */ jsx("span", { className: styles$S.checkmark, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) }),
|
|
3917
3917
|
label2
|
|
3918
3918
|
] }),
|
|
3919
|
-
showHelp && /* @__PURE__ */ jsx("div", { className: styles$
|
|
3919
|
+
showHelp && /* @__PURE__ */ jsx("div", { className: styles$S.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
|
|
3920
3920
|
]
|
|
3921
3921
|
}
|
|
3922
3922
|
);
|
|
@@ -3925,7 +3925,7 @@ const bordered$3 = "_bordered_1cgsf_1";
|
|
|
3925
3925
|
const checkboxWrapper = "_checkboxWrapper_1cgsf_7";
|
|
3926
3926
|
const padding$2 = "_padding_1cgsf_13";
|
|
3927
3927
|
const contentWrapper = "_contentWrapper_1cgsf_16";
|
|
3928
|
-
const styles$
|
|
3928
|
+
const styles$P = {
|
|
3929
3929
|
bordered: bordered$3,
|
|
3930
3930
|
checkboxWrapper,
|
|
3931
3931
|
padding: padding$2,
|
|
@@ -3967,7 +3967,7 @@ const AccordionWithDefaultToggle = ({
|
|
|
3967
3967
|
defaultEnabled
|
|
3968
3968
|
});
|
|
3969
3969
|
const content2 = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3970
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
3970
|
+
/* @__PURE__ */ jsx("div", { className: styles$P.checkboxWrapper, children: /* @__PURE__ */ jsx(
|
|
3971
3971
|
CheckBox,
|
|
3972
3972
|
{
|
|
3973
3973
|
label: toggleLabel,
|
|
@@ -3978,7 +3978,7 @@ const AccordionWithDefaultToggle = ({
|
|
|
3978
3978
|
checked: state.defaultEnabled
|
|
3979
3979
|
}
|
|
3980
3980
|
) }),
|
|
3981
|
-
state.accordionExpanded && /* @__PURE__ */ jsx("div", { className: styles$
|
|
3981
|
+
state.accordionExpanded && /* @__PURE__ */ jsx("div", { className: styles$P.contentWrapper, children })
|
|
3982
3982
|
] });
|
|
3983
3983
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3984
3984
|
/* @__PURE__ */ jsx(
|
|
@@ -3991,7 +3991,7 @@ const AccordionWithDefaultToggle = ({
|
|
|
3991
3991
|
onClick: () => dispatch({ type: AccordionActionType.TOGGLE_ACCORDION })
|
|
3992
3992
|
}
|
|
3993
3993
|
),
|
|
3994
|
-
/* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
3994
|
+
/* @__PURE__ */ jsx("div", { className: cx$2(styles$P.bordered, padding2 ? styles$P.padding : ""), children: content2 })
|
|
3995
3995
|
] });
|
|
3996
3996
|
};
|
|
3997
3997
|
const inputInTable$b = "_inputInTable_1m45a_1";
|
|
@@ -4045,7 +4045,7 @@ const buttonStyles = {
|
|
|
4045
4045
|
groupOrderLast: groupOrderLast$4
|
|
4046
4046
|
};
|
|
4047
4047
|
const spinner = "_spinner_156m4_1";
|
|
4048
|
-
const styles$
|
|
4048
|
+
const styles$O = {
|
|
4049
4049
|
spinner
|
|
4050
4050
|
};
|
|
4051
4051
|
const Spinner$1 = ({
|
|
@@ -4056,7 +4056,7 @@ const Spinner$1 = ({
|
|
|
4056
4056
|
}) => {
|
|
4057
4057
|
const color2 = colored2 ? "var(--color-text-primary)" : dark2 ? "var(--color-text-muted)" : "white";
|
|
4058
4058
|
const fontSize = small2 ? "var(--font-size)" : tiny ? "var(--font-size-xs)" : "var(--size)";
|
|
4059
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
4059
|
+
return /* @__PURE__ */ jsx("div", { className: styles$O.spinner, style: { color: color2, fontSize } });
|
|
4060
4060
|
};
|
|
4061
4061
|
var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
|
|
4062
4062
|
ButtonType2["SUBMIT"] = "submit";
|
|
@@ -4182,7 +4182,7 @@ const actions$2 = "_actions_1t7vd_1";
|
|
|
4182
4182
|
const childComponent = "_childComponent_1t7vd_11";
|
|
4183
4183
|
const actionComponentContainer = "_actionComponentContainer_1t7vd_14";
|
|
4184
4184
|
const active$7 = "_active_1t7vd_36";
|
|
4185
|
-
const styles$
|
|
4185
|
+
const styles$N = {
|
|
4186
4186
|
actions: actions$2,
|
|
4187
4187
|
childComponent,
|
|
4188
4188
|
actionComponentContainer,
|
|
@@ -4216,7 +4216,7 @@ const buttonCaret = "_buttonCaret_8cxhw_184";
|
|
|
4216
4216
|
const component = "_component_8cxhw_188";
|
|
4217
4217
|
const right$7 = "_right_8cxhw_194";
|
|
4218
4218
|
const actions$1 = "_actions_8cxhw_199";
|
|
4219
|
-
const styles$
|
|
4219
|
+
const styles$M = {
|
|
4220
4220
|
wrapper: wrapper$4,
|
|
4221
4221
|
layer: layer$1,
|
|
4222
4222
|
layerContainer: layerContainer$1,
|
|
@@ -4250,15 +4250,15 @@ const Heading$3 = ({ label: label2, onClick, icon: icon2, testId }) => /* @__PUR
|
|
|
4250
4250
|
"div",
|
|
4251
4251
|
{
|
|
4252
4252
|
onClick: (evt) => evt.stopPropagation(),
|
|
4253
|
-
className: styles$
|
|
4253
|
+
className: styles$M.heading,
|
|
4254
4254
|
"data-testid": testId,
|
|
4255
4255
|
children: [
|
|
4256
4256
|
label2,
|
|
4257
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
4257
|
+
/* @__PURE__ */ jsx("span", { className: styles$M.headingIcon, onClick, children: icon2 })
|
|
4258
4258
|
]
|
|
4259
4259
|
}
|
|
4260
4260
|
);
|
|
4261
|
-
const Divider$1 = () => /* @__PURE__ */ jsx("hr", { className: styles$
|
|
4261
|
+
const Divider$1 = () => /* @__PURE__ */ jsx("hr", { className: styles$M.divider });
|
|
4262
4262
|
const Option$2 = ({
|
|
4263
4263
|
actions: actions2,
|
|
4264
4264
|
label: label2,
|
|
@@ -4311,30 +4311,30 @@ const Option$2 = ({
|
|
|
4311
4311
|
href: url,
|
|
4312
4312
|
to: url,
|
|
4313
4313
|
className: cx$2(
|
|
4314
|
-
styles$
|
|
4315
|
-
disabled2 ? styles$
|
|
4316
|
-
inline2 ? styles$
|
|
4317
|
-
selected2 ? styles$
|
|
4314
|
+
styles$M.option,
|
|
4315
|
+
disabled2 ? styles$M.disabled : "",
|
|
4316
|
+
inline2 ? styles$M.inline : "",
|
|
4317
|
+
selected2 ? styles$M == null ? void 0 : styles$M.selected : ""
|
|
4318
4318
|
),
|
|
4319
4319
|
onClick: handleClick2,
|
|
4320
4320
|
"data-testid": testId,
|
|
4321
4321
|
children: [
|
|
4322
|
-
icon2 ? /* @__PURE__ */ jsx("span", { className: styles$
|
|
4323
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
4322
|
+
icon2 ? /* @__PURE__ */ jsx("span", { className: styles$M.icon, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }) : null,
|
|
4323
|
+
/* @__PURE__ */ jsxs("div", { className: styles$M.optionContent, children: [
|
|
4324
4324
|
upload && /* @__PURE__ */ jsx(
|
|
4325
4325
|
"input",
|
|
4326
4326
|
{
|
|
4327
4327
|
type: "file",
|
|
4328
|
-
className: styles$
|
|
4328
|
+
className: styles$M.fileInput,
|
|
4329
4329
|
onChange: handleFileChange
|
|
4330
4330
|
}
|
|
4331
4331
|
),
|
|
4332
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
4333
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
4332
|
+
/* @__PURE__ */ jsx("span", { className: styles$M.label, title: `${title2 || label2}`, children: label2 }),
|
|
4333
|
+
/* @__PURE__ */ jsx("span", { className: styles$M.description, children: description2 })
|
|
4334
4334
|
] }),
|
|
4335
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
4336
|
-
selected2 && /* @__PURE__ */ jsx("span", { className: styles$
|
|
4337
|
-
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: styles$
|
|
4335
|
+
/* @__PURE__ */ jsxs("div", { className: styles$M.right, children: [
|
|
4336
|
+
selected2 && /* @__PURE__ */ jsx("span", { className: styles$M.check, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) }),
|
|
4337
|
+
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: styles$M.actions, children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
|
|
4338
4338
|
] })
|
|
4339
4339
|
]
|
|
4340
4340
|
}
|
|
@@ -4472,7 +4472,7 @@ const Layer$2 = ({
|
|
|
4472
4472
|
return /* @__PURE__ */ jsx(
|
|
4473
4473
|
"div",
|
|
4474
4474
|
{
|
|
4475
|
-
className: cx$2(styles$
|
|
4475
|
+
className: cx$2(styles$M.layer, isNested ? styles$M.nested : null),
|
|
4476
4476
|
style: { maxWidth: width2, maxHeight },
|
|
4477
4477
|
"data-testid": testId,
|
|
4478
4478
|
children: /* @__PURE__ */ jsx("ul", { children: localSections.map((section2, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
@@ -4509,7 +4509,7 @@ const light = "_light_nwprz_26";
|
|
|
4509
4509
|
const small$b = "_small_nwprz_29";
|
|
4510
4510
|
const dot$1 = "_dot_nwprz_33";
|
|
4511
4511
|
const hasChildren = "_hasChildren_nwprz_39";
|
|
4512
|
-
const styles$
|
|
4512
|
+
const styles$L = {
|
|
4513
4513
|
wrapper: wrapper$3,
|
|
4514
4514
|
badge,
|
|
4515
4515
|
label: label$9,
|
|
@@ -4537,16 +4537,16 @@ const Badge = ({
|
|
|
4537
4537
|
small: small2 = false
|
|
4538
4538
|
}) => {
|
|
4539
4539
|
const visible = !(title2 === null && dot2 === false);
|
|
4540
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
4540
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$L.wrapper, children: [
|
|
4541
4541
|
visible && /* @__PURE__ */ jsx(
|
|
4542
4542
|
"sup",
|
|
4543
4543
|
{
|
|
4544
4544
|
className: cx$2(
|
|
4545
|
-
styles$
|
|
4546
|
-
isDark(color2) ? styles$
|
|
4547
|
-
title2 !== null ? styles$
|
|
4548
|
-
small2 ? styles$
|
|
4549
|
-
children ? styles$
|
|
4545
|
+
styles$L.badge,
|
|
4546
|
+
isDark(color2) ? styles$L.dark : styles$L.light,
|
|
4547
|
+
title2 !== null ? styles$L.label : styles$L.dot,
|
|
4548
|
+
small2 ? styles$L.small : "",
|
|
4549
|
+
children ? styles$L.hasChildren : ""
|
|
4550
4550
|
),
|
|
4551
4551
|
style: {
|
|
4552
4552
|
background: color2 || void 0,
|
|
@@ -4572,16 +4572,16 @@ const Button = ({
|
|
|
4572
4572
|
active: active2
|
|
4573
4573
|
}) => {
|
|
4574
4574
|
const disabledContext = useContext(DisabledContext);
|
|
4575
|
-
const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxs("span", { className: styles$
|
|
4576
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
4577
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
4575
|
+
const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxs("span", { className: styles$M.middleAlignedInline, children: [
|
|
4576
|
+
/* @__PURE__ */ jsx("span", { className: styles$M.buttonLabel, children: label2 }),
|
|
4577
|
+
/* @__PURE__ */ jsx("span", { className: styles$M.buttonCaret, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN }) })
|
|
4578
4578
|
] }) : null;
|
|
4579
4579
|
return /* @__PURE__ */ jsx(
|
|
4580
4580
|
"div",
|
|
4581
4581
|
{
|
|
4582
4582
|
className: cx$2(
|
|
4583
|
-
styles$
|
|
4584
|
-
disabled2 || disabledContext ? styles$
|
|
4583
|
+
styles$M.trigger,
|
|
4584
|
+
disabled2 || disabledContext ? styles$M.disabled : null
|
|
4585
4585
|
),
|
|
4586
4586
|
style: { width: width2 },
|
|
4587
4587
|
children: /* @__PURE__ */ jsx(
|
|
@@ -4622,14 +4622,14 @@ const Text$1 = ({
|
|
|
4622
4622
|
"div",
|
|
4623
4623
|
{
|
|
4624
4624
|
className: cx$2(
|
|
4625
|
-
styles$
|
|
4626
|
-
disabled2 ? styles$
|
|
4627
|
-
isOpen2 ? styles$
|
|
4628
|
-
selected2 ? styles$
|
|
4625
|
+
styles$M.trigger,
|
|
4626
|
+
disabled2 ? styles$M.disabled : null,
|
|
4627
|
+
isOpen2 ? styles$M.active : null,
|
|
4628
|
+
selected2 ? styles$M == null ? void 0 : styles$M.selected : null
|
|
4629
4629
|
),
|
|
4630
4630
|
children: [
|
|
4631
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
4632
|
-
carat && carat === MenuCarat.RIGHT ? /* @__PURE__ */ jsx("span", { className: styles$
|
|
4631
|
+
/* @__PURE__ */ jsx("span", { className: styles$M.label, title: titleText, children: label2 }),
|
|
4632
|
+
carat && carat === MenuCarat.RIGHT ? /* @__PURE__ */ jsx("span", { className: styles$M.arrow, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_RIGHT }) }) : carat && carat === MenuCarat.DOWN ? /* @__PURE__ */ jsx("span", { className: styles$M.arrow, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN }) }) : null
|
|
4633
4633
|
]
|
|
4634
4634
|
}
|
|
4635
4635
|
);
|
|
@@ -4642,7 +4642,7 @@ const Component = ({
|
|
|
4642
4642
|
return /* @__PURE__ */ jsx(
|
|
4643
4643
|
"div",
|
|
4644
4644
|
{
|
|
4645
|
-
className: cx$2(styles$
|
|
4645
|
+
className: cx$2(styles$M.component, disabled2 ? styles$M.disabled : null),
|
|
4646
4646
|
"data-testid": testId,
|
|
4647
4647
|
children: component2
|
|
4648
4648
|
}
|
|
@@ -4725,7 +4725,7 @@ const Trigger$1 = React__default.forwardRef(
|
|
|
4725
4725
|
"div",
|
|
4726
4726
|
{
|
|
4727
4727
|
ref,
|
|
4728
|
-
className: styles$
|
|
4728
|
+
className: styles$M.wrapper,
|
|
4729
4729
|
style: width2 ? { width: width2 } : {
|
|
4730
4730
|
...fullHeight && {
|
|
4731
4731
|
height: "100%",
|
|
@@ -4951,7 +4951,7 @@ const DropDownMenu = ({
|
|
|
4951
4951
|
"div",
|
|
4952
4952
|
{
|
|
4953
4953
|
...layerProps,
|
|
4954
|
-
className: styles$
|
|
4954
|
+
className: styles$M.layerContainer,
|
|
4955
4955
|
"data-testid": menu2.testId,
|
|
4956
4956
|
onClick: (evt) => evt.stopPropagation(),
|
|
4957
4957
|
children: /* @__PURE__ */ jsx(
|
|
@@ -5020,7 +5020,7 @@ const SubmenuActions = (props) => {
|
|
|
5020
5020
|
const Actions = (props) => {
|
|
5021
5021
|
const disabledContext = useContext(DisabledContext);
|
|
5022
5022
|
const { actions: actions2 = [], closeLayer } = props;
|
|
5023
|
-
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
5023
|
+
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$N.actions), children: actions2.map((action2, index2) => {
|
|
5024
5024
|
const hidden2 = (action2 == null ? void 0 : action2.hidden) || !action2 || !Object.keys(action2).length;
|
|
5025
5025
|
if (!hidden2) {
|
|
5026
5026
|
if (action2.childComponent && React__default.isValidElement(action2.childComponent)) {
|
|
@@ -5028,7 +5028,7 @@ const Actions = (props) => {
|
|
|
5028
5028
|
"div",
|
|
5029
5029
|
{
|
|
5030
5030
|
"data-testid": action2.testId,
|
|
5031
|
-
className: styles$
|
|
5031
|
+
className: styles$N.childComponent,
|
|
5032
5032
|
children: action2.childComponent
|
|
5033
5033
|
},
|
|
5034
5034
|
index2
|
|
@@ -5082,7 +5082,7 @@ const labelContainer = "_labelContainer_2k0cd_7";
|
|
|
5082
5082
|
const active$5 = "_active_2k0cd_17";
|
|
5083
5083
|
const disabled$7 = "_disabled_2k0cd_22";
|
|
5084
5084
|
const separator = "_separator_2k0cd_27";
|
|
5085
|
-
const styles$
|
|
5085
|
+
const styles$K = {
|
|
5086
5086
|
breadcrumb,
|
|
5087
5087
|
small: small$a,
|
|
5088
5088
|
labelContainer,
|
|
@@ -5113,16 +5113,16 @@ const Link$2 = ({
|
|
|
5113
5113
|
{
|
|
5114
5114
|
onClick,
|
|
5115
5115
|
className: cx$2(
|
|
5116
|
-
styles$
|
|
5117
|
-
active2 && styles$
|
|
5118
|
-
(disabled2 || disabledContext) && styles$
|
|
5116
|
+
styles$K.labelContainer,
|
|
5117
|
+
active2 && styles$K.active,
|
|
5118
|
+
(disabled2 || disabledContext) && styles$K.disabled
|
|
5119
5119
|
),
|
|
5120
5120
|
children: isLink ? /* @__PURE__ */ jsx("a", { href: url, children: label2 }) : isCustom ? element : label2
|
|
5121
5121
|
}
|
|
5122
5122
|
);
|
|
5123
5123
|
};
|
|
5124
5124
|
const Breadcrumb = ({ links, small: small2 = false }) => {
|
|
5125
|
-
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
5125
|
+
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$K.breadcrumb, small2 && styles$K.small), children: links.map((link2, i) => {
|
|
5126
5126
|
const isFinal = links.length === i + 1;
|
|
5127
5127
|
const { type, label: label2, url, onClick, active: active2, disabled: disabled2, element } = link2;
|
|
5128
5128
|
return /* @__PURE__ */ jsxs("span", { children: [
|
|
@@ -5138,13 +5138,13 @@ const Breadcrumb = ({ links, small: small2 = false }) => {
|
|
|
5138
5138
|
element
|
|
5139
5139
|
}
|
|
5140
5140
|
),
|
|
5141
|
-
!isFinal && /* @__PURE__ */ jsx("span", { className: styles$
|
|
5141
|
+
!isFinal && /* @__PURE__ */ jsx("span", { className: styles$K.separator, children: "/" })
|
|
5142
5142
|
] }, i);
|
|
5143
5143
|
}) });
|
|
5144
5144
|
};
|
|
5145
5145
|
const label$8 = "_label_iu2wi_1";
|
|
5146
5146
|
const buttonGroup = "_buttonGroup_iu2wi_11";
|
|
5147
|
-
const styles$
|
|
5147
|
+
const styles$J = {
|
|
5148
5148
|
label: label$8,
|
|
5149
5149
|
buttonGroup
|
|
5150
5150
|
};
|
|
@@ -5198,7 +5198,7 @@ const ButtonGroup = (props) => {
|
|
|
5198
5198
|
};
|
|
5199
5199
|
const renderHeader = () => {
|
|
5200
5200
|
if (header2) {
|
|
5201
|
-
return /* @__PURE__ */ jsx("label", { className: styles$
|
|
5201
|
+
return /* @__PURE__ */ jsx("label", { className: styles$J.label, children: header2 });
|
|
5202
5202
|
}
|
|
5203
5203
|
};
|
|
5204
5204
|
const renderButtons = () => {
|
|
@@ -5255,7 +5255,7 @@ const ButtonGroup = (props) => {
|
|
|
5255
5255
|
};
|
|
5256
5256
|
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { children: [
|
|
5257
5257
|
renderHeader(),
|
|
5258
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
5258
|
+
/* @__PURE__ */ jsx("div", { className: styles$J.buttonGroup, "data-testid": testId, children: renderButtons() })
|
|
5259
5259
|
] }) });
|
|
5260
5260
|
};
|
|
5261
5261
|
const card = "_card_ucdeu_1";
|
|
@@ -5265,7 +5265,7 @@ const cardHeader = "_cardHeader_ucdeu_13";
|
|
|
5265
5265
|
const cardContentBorderTop = "_cardContentBorderTop_ucdeu_19";
|
|
5266
5266
|
const padding$1 = "_padding_ucdeu_22";
|
|
5267
5267
|
const cardContent = "_cardContent_ucdeu_19";
|
|
5268
|
-
const styles$
|
|
5268
|
+
const styles$I = {
|
|
5269
5269
|
card,
|
|
5270
5270
|
bordered: bordered$2,
|
|
5271
5271
|
raised,
|
|
@@ -5286,20 +5286,20 @@ const Card = ({
|
|
|
5286
5286
|
"div",
|
|
5287
5287
|
{
|
|
5288
5288
|
className: cx$2(
|
|
5289
|
-
styles$
|
|
5290
|
-
bordered2 ? styles$
|
|
5291
|
-
raised2 ? styles$
|
|
5289
|
+
styles$I.card,
|
|
5290
|
+
bordered2 ? styles$I.bordered : "",
|
|
5291
|
+
raised2 ? styles$I.raised : ""
|
|
5292
5292
|
),
|
|
5293
5293
|
style: { margin: margin2 },
|
|
5294
5294
|
children: [
|
|
5295
|
-
heading2 ? /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
5295
|
+
heading2 ? /* @__PURE__ */ jsx("div", { className: cx$2(styles$I.cardHeader), children: heading2 }) : null,
|
|
5296
5296
|
/* @__PURE__ */ jsx(
|
|
5297
5297
|
"div",
|
|
5298
5298
|
{
|
|
5299
5299
|
className: cx$2(
|
|
5300
|
-
styles$
|
|
5301
|
-
heading2 ? styles$
|
|
5302
|
-
padding2 ? styles$
|
|
5300
|
+
styles$I.cardContent,
|
|
5301
|
+
heading2 ? styles$I.cardContentBorderTop : "",
|
|
5302
|
+
padding2 ? styles$I.padding : ""
|
|
5303
5303
|
),
|
|
5304
5304
|
children
|
|
5305
5305
|
}
|
|
@@ -6499,7 +6499,7 @@ const Column = ({
|
|
|
6499
6499
|
const divider = "_divider_2bfzh_1";
|
|
6500
6500
|
const alignLeft = "_alignLeft_2bfzh_12";
|
|
6501
6501
|
const alignRight = "_alignRight_2bfzh_15";
|
|
6502
|
-
const styles$
|
|
6502
|
+
const styles$H = {
|
|
6503
6503
|
divider,
|
|
6504
6504
|
alignLeft,
|
|
6505
6505
|
alignRight
|
|
@@ -6513,7 +6513,7 @@ const warning$3 = "_warning_11ofj_16";
|
|
|
6513
6513
|
const error$1 = "_error_11ofj_19";
|
|
6514
6514
|
const small$9 = "_small_11ofj_22";
|
|
6515
6515
|
const link$1 = "_link_11ofj_25";
|
|
6516
|
-
const styles$
|
|
6516
|
+
const styles$G = {
|
|
6517
6517
|
bold: bold$1,
|
|
6518
6518
|
center,
|
|
6519
6519
|
muted: muted$1,
|
|
@@ -6541,16 +6541,16 @@ const Text = ({
|
|
|
6541
6541
|
"span",
|
|
6542
6542
|
{
|
|
6543
6543
|
className: cx$2(
|
|
6544
|
-
bold2 && styles$
|
|
6545
|
-
center2 && styles$
|
|
6546
|
-
error2 && styles$
|
|
6547
|
-
faint2 && styles$
|
|
6548
|
-
link2 && styles$
|
|
6549
|
-
muted2 && styles$
|
|
6550
|
-
onClick && styles$
|
|
6551
|
-
small2 && styles$
|
|
6552
|
-
success2 && styles$
|
|
6553
|
-
warning2 && styles$
|
|
6544
|
+
bold2 && styles$G.bold,
|
|
6545
|
+
center2 && styles$G.center,
|
|
6546
|
+
error2 && styles$G.error,
|
|
6547
|
+
faint2 && styles$G.faint,
|
|
6548
|
+
link2 && styles$G.link,
|
|
6549
|
+
muted2 && styles$G.muted,
|
|
6550
|
+
onClick && styles$G.clickable,
|
|
6551
|
+
small2 && styles$G.small,
|
|
6552
|
+
success2 && styles$G.success,
|
|
6553
|
+
warning2 && styles$G.warning
|
|
6554
6554
|
),
|
|
6555
6555
|
onClick,
|
|
6556
6556
|
children
|
|
@@ -6560,9 +6560,9 @@ const Text = ({
|
|
|
6560
6560
|
const cssAlignClass = (align) => {
|
|
6561
6561
|
switch (align) {
|
|
6562
6562
|
case Align.LEFT:
|
|
6563
|
-
return styles$
|
|
6563
|
+
return styles$H.alignLeft;
|
|
6564
6564
|
case Align.RIGHT:
|
|
6565
|
-
return styles$
|
|
6565
|
+
return styles$H.alignRight;
|
|
6566
6566
|
default:
|
|
6567
6567
|
return "";
|
|
6568
6568
|
}
|
|
@@ -6575,7 +6575,7 @@ const Divider = ({
|
|
|
6575
6575
|
}) => /* @__PURE__ */ jsx(
|
|
6576
6576
|
"div",
|
|
6577
6577
|
{
|
|
6578
|
-
className: `${styles$
|
|
6578
|
+
className: `${styles$H.divider} ${cssAlignClass(align)}`,
|
|
6579
6579
|
style: {
|
|
6580
6580
|
marginTop: margin2,
|
|
6581
6581
|
marginBottom: margin2,
|
|
@@ -6587,7 +6587,7 @@ const Divider = ({
|
|
|
6587
6587
|
const heading$4 = "_heading_yhdiy_1";
|
|
6588
6588
|
const top$1 = "_top_yhdiy_10";
|
|
6589
6589
|
const icons$2 = "_icons_yhdiy_20";
|
|
6590
|
-
const styles$
|
|
6590
|
+
const styles$F = {
|
|
6591
6591
|
heading: heading$4,
|
|
6592
6592
|
top: top$1,
|
|
6593
6593
|
icons: icons$2
|
|
@@ -6608,13 +6608,13 @@ const Heading$2 = ({
|
|
|
6608
6608
|
return /* @__PURE__ */ jsxs(
|
|
6609
6609
|
"div",
|
|
6610
6610
|
{
|
|
6611
|
-
className: cx$2(styles$
|
|
6611
|
+
className: cx$2(styles$F.heading, top2 ? styles$F.top : ""),
|
|
6612
6612
|
style: { marginBottom },
|
|
6613
6613
|
onClick,
|
|
6614
6614
|
"data-testid": testId,
|
|
6615
6615
|
children: [
|
|
6616
6616
|
children,
|
|
6617
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
6617
|
+
/* @__PURE__ */ jsxs("div", { className: styles$F.icons, children: [
|
|
6618
6618
|
icon2 && /* @__PURE__ */ jsx(HelpIcon, { onClick: onIconClick, icon: icon2 }),
|
|
6619
6619
|
isHelpIconDisplayed && /* @__PURE__ */ jsx(HelpIcon, { text: helpText, onClick: onClickHelp }),
|
|
6620
6620
|
libraryIcon && /* @__PURE__ */ jsx(
|
|
@@ -6637,7 +6637,7 @@ const header$2 = "_header_18g0k_24";
|
|
|
6637
6637
|
const dismiss$2 = "_dismiss_18g0k_33";
|
|
6638
6638
|
const content$3 = "_content_18g0k_38";
|
|
6639
6639
|
const footer$2 = "_footer_18g0k_47";
|
|
6640
|
-
const styles$
|
|
6640
|
+
const styles$E = {
|
|
6641
6641
|
dialog,
|
|
6642
6642
|
inline: inline$3,
|
|
6643
6643
|
scroll: scroll$2,
|
|
@@ -6672,16 +6672,16 @@ const Dialog = ({ dialog: dialog2 }) => {
|
|
|
6672
6672
|
"div",
|
|
6673
6673
|
{
|
|
6674
6674
|
className: cx$2(
|
|
6675
|
-
styles$
|
|
6676
|
-
width2 ? styles$
|
|
6677
|
-
scroll2 ? styles$
|
|
6675
|
+
styles$E.dialog,
|
|
6676
|
+
width2 ? styles$E.inline : null,
|
|
6677
|
+
scroll2 ? styles$E.scroll : null
|
|
6678
6678
|
),
|
|
6679
6679
|
style: { width: width2, height: height2 },
|
|
6680
6680
|
"data-testid": testId ?? null,
|
|
6681
6681
|
children: [
|
|
6682
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
6682
|
+
/* @__PURE__ */ jsxs("div", { className: styles$E.header, children: [
|
|
6683
6683
|
/* @__PURE__ */ jsx(Heading$2, { testId: testId && `${testId}-heading`, top: true, marginBottom: 0, children: heading2 }),
|
|
6684
|
-
onClose ? /* @__PURE__ */ jsx("div", { className: styles$
|
|
6684
|
+
onClose ? /* @__PURE__ */ jsx("div", { className: styles$E.dismiss, children: /* @__PURE__ */ jsx(
|
|
6685
6685
|
Button$1,
|
|
6686
6686
|
{
|
|
6687
6687
|
icon: IconType.CLOSE,
|
|
@@ -6699,7 +6699,7 @@ const Dialog = ({ dialog: dialog2 }) => {
|
|
|
6699
6699
|
"div",
|
|
6700
6700
|
{
|
|
6701
6701
|
"data-testid": testId && `${testId}-content`,
|
|
6702
|
-
className: styles$
|
|
6702
|
+
className: styles$E.content,
|
|
6703
6703
|
style: { padding: contentPadding2 },
|
|
6704
6704
|
children: convertStringToJsx(content2)
|
|
6705
6705
|
}
|
|
@@ -6708,7 +6708,7 @@ const Dialog = ({ dialog: dialog2 }) => {
|
|
|
6708
6708
|
"div",
|
|
6709
6709
|
{
|
|
6710
6710
|
"data-testid": testId && `${testId}-footer`,
|
|
6711
|
-
className: styles$
|
|
6711
|
+
className: styles$E.footer,
|
|
6712
6712
|
children: footer2
|
|
6713
6713
|
}
|
|
6714
6714
|
)
|
|
@@ -6741,7 +6741,7 @@ const active$4 = "_active_1f40p_197";
|
|
|
6741
6741
|
const disabled$6 = "_disabled_1f40p_222";
|
|
6742
6742
|
const tabsContent = "_tabsContent_1f40p_229";
|
|
6743
6743
|
const resizeHandle = "_resizeHandle_1f40p_235";
|
|
6744
|
-
const styles$
|
|
6744
|
+
const styles$D = {
|
|
6745
6745
|
inputInTable: inputInTable$a,
|
|
6746
6746
|
inputHover: inputHover$a,
|
|
6747
6747
|
inputFocus: inputFocus$a,
|
|
@@ -6782,13 +6782,13 @@ const DrawerTabs = ({
|
|
|
6782
6782
|
testId
|
|
6783
6783
|
}) => {
|
|
6784
6784
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
6785
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
6785
|
+
/* @__PURE__ */ jsx("div", { className: styles$D.tabs, children: tabs2.map((tab2, index2) => /* @__PURE__ */ jsx(
|
|
6786
6786
|
"div",
|
|
6787
6787
|
{
|
|
6788
6788
|
className: cx$2(
|
|
6789
|
-
styles$
|
|
6790
|
-
activeTab === index2 && open ? styles$
|
|
6791
|
-
tab2.disabled ? styles$
|
|
6789
|
+
styles$D.tab,
|
|
6790
|
+
activeTab === index2 && open ? styles$D.active : "",
|
|
6791
|
+
tab2.disabled ? styles$D.disabled : ""
|
|
6792
6792
|
),
|
|
6793
6793
|
style: { background: background2 },
|
|
6794
6794
|
onClick: !tab2.disabled ? () => handleTabClick(index2) : void 0,
|
|
@@ -6803,7 +6803,7 @@ const DrawerTabs = ({
|
|
|
6803
6803
|
"div",
|
|
6804
6804
|
{
|
|
6805
6805
|
style: { width: typeof width2 === "number" ? `${width2}px` : width2 },
|
|
6806
|
-
className: styles$
|
|
6806
|
+
className: styles$D.tabsContent,
|
|
6807
6807
|
"data-testid": testId && `${testId}-content-${index2}`,
|
|
6808
6808
|
children: active2 && open && tab2.content
|
|
6809
6809
|
},
|
|
@@ -8724,7 +8724,7 @@ const MIN_OPEN_WIDTH = 240;
|
|
|
8724
8724
|
const ResizeHandle = forwardRef(
|
|
8725
8725
|
(props, ref) => {
|
|
8726
8726
|
const { handleAxis, ...rest } = props;
|
|
8727
|
-
return /* @__PURE__ */ jsx("div", { ref, className: styles$
|
|
8727
|
+
return /* @__PURE__ */ jsx("div", { ref, className: styles$D.resizeHandle, ...rest, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.DRAG }) });
|
|
8728
8728
|
}
|
|
8729
8729
|
);
|
|
8730
8730
|
const DrawerResizeWrapper = ({
|
|
@@ -8750,7 +8750,7 @@ const DrawerResizeWrapper = ({
|
|
|
8750
8750
|
handle: /* @__PURE__ */ jsx(ResizeHandle, {}),
|
|
8751
8751
|
resizeHandles: right2 ? ["w"] : ["e"],
|
|
8752
8752
|
axis: "x",
|
|
8753
|
-
className: isResizing2 ? styles$
|
|
8753
|
+
className: isResizing2 ? styles$D.isResizing : "",
|
|
8754
8754
|
onResizeStart: () => {
|
|
8755
8755
|
if (setOpen) setOpen(true);
|
|
8756
8756
|
if (onResize) onResize(width2);
|
|
@@ -8848,17 +8848,17 @@ const Drawer = ({
|
|
|
8848
8848
|
"div",
|
|
8849
8849
|
{
|
|
8850
8850
|
className: cx$2(
|
|
8851
|
-
styles$
|
|
8852
|
-
shadow4 ? styles$
|
|
8853
|
-
fixed2 ? styles$
|
|
8854
|
-
right2 ? styles$
|
|
8851
|
+
styles$D.drawer,
|
|
8852
|
+
shadow4 ? styles$D.shadow : "",
|
|
8853
|
+
fixed2 ? styles$D.fixed : styles$D.inline,
|
|
8854
|
+
right2 ? styles$D.right : styles$D.left
|
|
8855
8855
|
),
|
|
8856
8856
|
style: { top: top2 },
|
|
8857
8857
|
children: [
|
|
8858
8858
|
/* @__PURE__ */ jsx(
|
|
8859
8859
|
"div",
|
|
8860
8860
|
{
|
|
8861
|
-
className: cx$2(styles$
|
|
8861
|
+
className: cx$2(styles$D.drawerContent, border2 && styles$D.border),
|
|
8862
8862
|
style: {
|
|
8863
8863
|
background: background2,
|
|
8864
8864
|
borderColor: typeof border2 === "string" ? border2 : void 0,
|
|
@@ -8884,9 +8884,9 @@ const Drawer = ({
|
|
|
8884
8884
|
"span",
|
|
8885
8885
|
{
|
|
8886
8886
|
className: cx$2(
|
|
8887
|
-
styles$
|
|
8888
|
-
localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$
|
|
8889
|
-
buttonPosition === "top" ? styles$
|
|
8887
|
+
styles$D.toggleButton,
|
|
8888
|
+
localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$D.toggleButtonOpen : "",
|
|
8889
|
+
buttonPosition === "top" ? styles$D.top : styles$D.bottom
|
|
8890
8890
|
),
|
|
8891
8891
|
children: isCustomButton ? button2 : /* @__PURE__ */ jsx(
|
|
8892
8892
|
Button$1,
|
|
@@ -8906,7 +8906,7 @@ const Drawer = ({
|
|
|
8906
8906
|
};
|
|
8907
8907
|
const empty$1 = "_empty_fe425_1";
|
|
8908
8908
|
const text$2 = "_text_fe425_11";
|
|
8909
|
-
const styles$
|
|
8909
|
+
const styles$C = {
|
|
8910
8910
|
empty: empty$1,
|
|
8911
8911
|
text: text$2
|
|
8912
8912
|
};
|
|
@@ -8920,7 +8920,7 @@ const Empty = ({
|
|
|
8920
8920
|
return /* @__PURE__ */ jsxs(
|
|
8921
8921
|
"div",
|
|
8922
8922
|
{
|
|
8923
|
-
className: styles$
|
|
8923
|
+
className: styles$C.empty,
|
|
8924
8924
|
style: { width: width2, height: height2 },
|
|
8925
8925
|
"data-testid": testId,
|
|
8926
8926
|
children: [
|
|
@@ -8952,7 +8952,7 @@ const Empty = ({
|
|
|
8952
8952
|
)
|
|
8953
8953
|
] })
|
|
8954
8954
|
] }) }),
|
|
8955
|
-
text2 !== "" && /* @__PURE__ */ jsx("div", { className: styles$
|
|
8955
|
+
text2 !== "" && /* @__PURE__ */ jsx("div", { className: styles$C.text, children: /* @__PURE__ */ jsx(Text, { faint: true, children: text2 }) }),
|
|
8956
8956
|
children
|
|
8957
8957
|
]
|
|
8958
8958
|
}
|
|
@@ -9006,7 +9006,7 @@ const FileButton = ({
|
|
|
9006
9006
|
] });
|
|
9007
9007
|
};
|
|
9008
9008
|
const inputGroup = "_inputGroup_biuoa_1";
|
|
9009
|
-
const styles$
|
|
9009
|
+
const styles$B = {
|
|
9010
9010
|
inputGroup
|
|
9011
9011
|
};
|
|
9012
9012
|
const isDOMTypeElement = (element) => {
|
|
@@ -9031,7 +9031,7 @@ const InputGroup = ({
|
|
|
9031
9031
|
return /* @__PURE__ */ jsx(
|
|
9032
9032
|
"div",
|
|
9033
9033
|
{
|
|
9034
|
-
className: cx$2(styles$
|
|
9034
|
+
className: cx$2(styles$B.inputGroup),
|
|
9035
9035
|
style: { width: width2 },
|
|
9036
9036
|
children: elements
|
|
9037
9037
|
}
|
|
@@ -9051,7 +9051,7 @@ const right$5 = "_right_1285q_170";
|
|
|
9051
9051
|
const groupOrderFirst$3 = "_groupOrderFirst_1285q_173";
|
|
9052
9052
|
const groupOrderMiddle$3 = "_groupOrderMiddle_1285q_174";
|
|
9053
9053
|
const groupOrderLast$3 = "_groupOrderLast_1285q_175";
|
|
9054
|
-
const styles$
|
|
9054
|
+
const styles$A = {
|
|
9055
9055
|
inputInTable: inputInTable$9,
|
|
9056
9056
|
inputHover: inputHover$9,
|
|
9057
9057
|
inputFocus: inputFocus$9,
|
|
@@ -9104,11 +9104,11 @@ const Input$1 = forwardRef(
|
|
|
9104
9104
|
if (groupOrder) {
|
|
9105
9105
|
switch (groupOrder) {
|
|
9106
9106
|
case "first":
|
|
9107
|
-
return styles$
|
|
9107
|
+
return styles$A.groupOrderFirst;
|
|
9108
9108
|
case "last":
|
|
9109
|
-
return styles$
|
|
9109
|
+
return styles$A.groupOrderLast;
|
|
9110
9110
|
default:
|
|
9111
|
-
return styles$
|
|
9111
|
+
return styles$A.groupOrderMiddle;
|
|
9112
9112
|
}
|
|
9113
9113
|
}
|
|
9114
9114
|
return "";
|
|
@@ -9148,10 +9148,10 @@ const Input$1 = forwardRef(
|
|
|
9148
9148
|
autoComplete: "off",
|
|
9149
9149
|
disabled: disabled2 || disabledContext,
|
|
9150
9150
|
className: cx$2(
|
|
9151
|
-
styles$
|
|
9152
|
-
right2 ? styles$
|
|
9153
|
-
small2 ? styles$
|
|
9154
|
-
isInTable2 ? styles$
|
|
9151
|
+
styles$A.input,
|
|
9152
|
+
right2 ? styles$A.right : "",
|
|
9153
|
+
small2 ? styles$A.small : "",
|
|
9154
|
+
isInTable2 ? styles$A.isInTable : ""
|
|
9155
9155
|
),
|
|
9156
9156
|
style: { width: width2 },
|
|
9157
9157
|
"data-error": error2 || null,
|
|
@@ -9164,7 +9164,7 @@ const Input$1 = forwardRef(
|
|
|
9164
9164
|
}
|
|
9165
9165
|
);
|
|
9166
9166
|
const fileInput = "_fileInput_1elar_1";
|
|
9167
|
-
const styles$
|
|
9167
|
+
const styles$z = {
|
|
9168
9168
|
fileInput
|
|
9169
9169
|
};
|
|
9170
9170
|
var InputReaderMethods = /* @__PURE__ */ ((InputReaderMethods2) => {
|
|
@@ -9258,7 +9258,7 @@ const FileInput = ({
|
|
|
9258
9258
|
{
|
|
9259
9259
|
name: name2,
|
|
9260
9260
|
ref: inputRef,
|
|
9261
|
-
className: styles$
|
|
9261
|
+
className: styles$z.fileInput,
|
|
9262
9262
|
type: "file",
|
|
9263
9263
|
accept,
|
|
9264
9264
|
multiple: multi,
|
|
@@ -9271,7 +9271,7 @@ const FileInput = ({
|
|
|
9271
9271
|
const label$7 = "_label_18pfe_1";
|
|
9272
9272
|
const labelLeft$1 = "_labelLeft_18pfe_5";
|
|
9273
9273
|
const icons$1 = "_icons_18pfe_13";
|
|
9274
|
-
const styles$
|
|
9274
|
+
const styles$y = {
|
|
9275
9275
|
label: label$7,
|
|
9276
9276
|
labelLeft: labelLeft$1,
|
|
9277
9277
|
icons: icons$1
|
|
@@ -9294,9 +9294,9 @@ const Label$2 = ({
|
|
|
9294
9294
|
libraryIcon,
|
|
9295
9295
|
labelLeft: labelLeft2 = false
|
|
9296
9296
|
}) => {
|
|
9297
|
-
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
9297
|
+
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$y.label, labelLeft2 ? styles$y.labelLeft : ""), children: /* @__PURE__ */ jsxs("label", { style: { width: width2 || "" }, children: [
|
|
9298
9298
|
label2,
|
|
9299
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
9299
|
+
/* @__PURE__ */ jsxs("div", { className: styles$y.icons, children: [
|
|
9300
9300
|
(helpText || onClickHelp) && /* @__PURE__ */ jsx(
|
|
9301
9301
|
HelpIcon,
|
|
9302
9302
|
{
|
|
@@ -9331,7 +9331,7 @@ const labelLeft = "_labelLeft_1xoss_5";
|
|
|
9331
9331
|
const fieldInput = "_fieldInput_1xoss_9";
|
|
9332
9332
|
const formRow$1 = "_formRow_1xoss_12";
|
|
9333
9333
|
const button$2 = "_button_1xoss_22";
|
|
9334
|
-
const styles$
|
|
9334
|
+
const styles$x = {
|
|
9335
9335
|
field,
|
|
9336
9336
|
labelLeft,
|
|
9337
9337
|
fieldInput,
|
|
@@ -9362,7 +9362,7 @@ const Field = ({
|
|
|
9362
9362
|
return /* @__PURE__ */ jsxs(
|
|
9363
9363
|
"div",
|
|
9364
9364
|
{
|
|
9365
|
-
className: cx$2(styles$
|
|
9365
|
+
className: cx$2(styles$x.field, labelLeft2 ? styles$x.labelLeft : ""),
|
|
9366
9366
|
"data-testid": testId,
|
|
9367
9367
|
children: [
|
|
9368
9368
|
(label2 || labelLeft2) && /* @__PURE__ */ jsx(
|
|
@@ -9379,7 +9379,7 @@ const Field = ({
|
|
|
9379
9379
|
labelLeft: labelLeft2
|
|
9380
9380
|
}
|
|
9381
9381
|
),
|
|
9382
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
9382
|
+
/* @__PURE__ */ jsx("div", { className: styles$x.fieldInput, children })
|
|
9383
9383
|
]
|
|
9384
9384
|
}
|
|
9385
9385
|
);
|
|
@@ -9410,11 +9410,11 @@ const Flex = ({
|
|
|
9410
9410
|
);
|
|
9411
9411
|
};
|
|
9412
9412
|
const formRow = "_formRow_odewu_1";
|
|
9413
|
-
const styles$
|
|
9413
|
+
const styles$w = {
|
|
9414
9414
|
formRow
|
|
9415
9415
|
};
|
|
9416
9416
|
const FormRow = ({ children }) => {
|
|
9417
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
9417
|
+
return /* @__PURE__ */ jsx("div", { className: styles$w.formRow, children });
|
|
9418
9418
|
};
|
|
9419
9419
|
const getGapValue = (gap) => {
|
|
9420
9420
|
if (typeof gap === "boolean") {
|
|
@@ -9474,7 +9474,7 @@ const small$7 = "_small_b4w53_12";
|
|
|
9474
9474
|
const groupOrderFirst$2 = "_groupOrderFirst_b4w53_16";
|
|
9475
9475
|
const groupOrderMiddle$2 = "_groupOrderMiddle_b4w53_17";
|
|
9476
9476
|
const groupOrderLast$2 = "_groupOrderLast_b4w53_21";
|
|
9477
|
-
const styles$
|
|
9477
|
+
const styles$v = {
|
|
9478
9478
|
addon,
|
|
9479
9479
|
small: small$7,
|
|
9480
9480
|
groupOrderFirst: groupOrderFirst$2,
|
|
@@ -9490,16 +9490,16 @@ const InputGroupAddon = ({
|
|
|
9490
9490
|
if (groupOrder) {
|
|
9491
9491
|
switch (groupOrder) {
|
|
9492
9492
|
case GroupOrder.FIRST:
|
|
9493
|
-
return styles$
|
|
9493
|
+
return styles$v.groupOrderFirst;
|
|
9494
9494
|
case GroupOrder.LAST:
|
|
9495
|
-
return styles$
|
|
9495
|
+
return styles$v.groupOrderLast;
|
|
9496
9496
|
default:
|
|
9497
|
-
return styles$
|
|
9497
|
+
return styles$v.groupOrderMiddle;
|
|
9498
9498
|
}
|
|
9499
9499
|
}
|
|
9500
9500
|
return "";
|
|
9501
9501
|
})();
|
|
9502
|
-
return /* @__PURE__ */ jsx("span", { className: cx$2(styles$
|
|
9502
|
+
return /* @__PURE__ */ jsx("span", { className: cx$2(styles$v.addon, order2, small2 ? styles$v.small : ""), children });
|
|
9503
9503
|
};
|
|
9504
9504
|
/*! *****************************************************************************
|
|
9505
9505
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -14208,7 +14208,7 @@ const dimmer = "_dimmer_477i5_21";
|
|
|
14208
14208
|
const content$2 = "_content_477i5_44";
|
|
14209
14209
|
const text$1 = "_text_477i5_49";
|
|
14210
14210
|
const details$1 = "_details_477i5_53";
|
|
14211
|
-
const styles$
|
|
14211
|
+
const styles$u = {
|
|
14212
14212
|
loader,
|
|
14213
14213
|
fullViewPortSize,
|
|
14214
14214
|
cover,
|
|
@@ -14233,22 +14233,22 @@ const Loader = ({
|
|
|
14233
14233
|
return /* @__PURE__ */ jsx(
|
|
14234
14234
|
"div",
|
|
14235
14235
|
{
|
|
14236
|
-
className: cx$2(styles$
|
|
14237
|
-
[styles$
|
|
14236
|
+
className: cx$2(styles$u.loader, cover2 ? styles$u.cover : "", {
|
|
14237
|
+
[styles$u.fullViewPortSize]: fullViewPortSize2
|
|
14238
14238
|
}),
|
|
14239
14239
|
style: { width: width2, height: height2 },
|
|
14240
14240
|
"data-testid": testId,
|
|
14241
|
-
children: /* @__PURE__ */ jsx("div", { className: styles$
|
|
14241
|
+
children: /* @__PURE__ */ jsx("div", { className: styles$u.dimmer, style: { background: background2, color: color2 }, children: /* @__PURE__ */ jsxs(
|
|
14242
14242
|
"div",
|
|
14243
14243
|
{
|
|
14244
|
-
className: styles$
|
|
14244
|
+
className: styles$u.content,
|
|
14245
14245
|
"data-testid": testId && `${testId}-content`,
|
|
14246
14246
|
children: [
|
|
14247
14247
|
children,
|
|
14248
14248
|
text2 && /* @__PURE__ */ jsx(
|
|
14249
14249
|
"div",
|
|
14250
14250
|
{
|
|
14251
|
-
className: styles$
|
|
14251
|
+
className: styles$u.text,
|
|
14252
14252
|
"data-testid": testId && `${testId}-text`,
|
|
14253
14253
|
children: text2
|
|
14254
14254
|
}
|
|
@@ -14256,7 +14256,7 @@ const Loader = ({
|
|
|
14256
14256
|
details2 && /* @__PURE__ */ jsx(
|
|
14257
14257
|
"div",
|
|
14258
14258
|
{
|
|
14259
|
-
className: styles$
|
|
14259
|
+
className: styles$u.details,
|
|
14260
14260
|
"data-testid": testId && `${testId}-details`,
|
|
14261
14261
|
children: details2
|
|
14262
14262
|
}
|
|
@@ -14493,7 +14493,7 @@ const absolute = "_absolute_1okhq_143";
|
|
|
14493
14493
|
const legendToggle = "_legendToggle_1okhq_155";
|
|
14494
14494
|
const detailsText = "_detailsText_1okhq_165";
|
|
14495
14495
|
const footer$1 = "_footer_1okhq_169";
|
|
14496
|
-
const styles$
|
|
14496
|
+
const styles$t = {
|
|
14497
14497
|
inputInTable: inputInTable$7,
|
|
14498
14498
|
inputHover: inputHover$7,
|
|
14499
14499
|
inputFocus: inputFocus$7,
|
|
@@ -14537,9 +14537,9 @@ const Dismiss = ({
|
|
|
14537
14537
|
"div",
|
|
14538
14538
|
{
|
|
14539
14539
|
className: cx$2(
|
|
14540
|
-
styles$
|
|
14541
|
-
isInToast ? styles$
|
|
14542
|
-
type === MessageType.INFO ? styles$
|
|
14540
|
+
styles$t.dismiss,
|
|
14541
|
+
isInToast ? styles$t.absolute : "",
|
|
14542
|
+
type === MessageType.INFO ? styles$t.info : type === MessageType.SUCCESS ? styles$t.success : type === MessageType.WARNING ? styles$t.warning : type === MessageType.ERROR ? styles$t.error : null
|
|
14543
14543
|
),
|
|
14544
14544
|
children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CLOSE, onClick: onClose, testId })
|
|
14545
14545
|
}
|
|
@@ -14558,8 +14558,8 @@ const reducer$1 = (state, action2) => {
|
|
|
14558
14558
|
};
|
|
14559
14559
|
const Details = ({ details: details2, visible, dispatch }) => {
|
|
14560
14560
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
14561
|
-
/* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
14562
|
-
visible ? /* @__PURE__ */ jsx("div", { className: styles$
|
|
14561
|
+
/* @__PURE__ */ jsx("div", { className: cx$2(styles$t.legendToggle), onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
|
|
14562
|
+
visible ? /* @__PURE__ */ jsx("div", { className: styles$t.detailsText, children: details2 }) : null
|
|
14563
14563
|
] });
|
|
14564
14564
|
};
|
|
14565
14565
|
const DialogIcon = ({ type }) => {
|
|
@@ -14598,15 +14598,15 @@ const Message = ({ message: message2 }) => {
|
|
|
14598
14598
|
"div",
|
|
14599
14599
|
{
|
|
14600
14600
|
className: cx$2(
|
|
14601
|
-
styles$
|
|
14602
|
-
width2 ? styles$
|
|
14603
|
-
type === MessageType.SUCCESS ? styles$
|
|
14601
|
+
styles$t.container,
|
|
14602
|
+
width2 ? styles$t.block : null,
|
|
14603
|
+
type === MessageType.SUCCESS ? styles$t.success : type === MessageType.WARNING ? styles$t.warning : type === MessageType.ERROR ? styles$t.error : styles$t.info
|
|
14604
14604
|
),
|
|
14605
14605
|
style: { width: width2, maxHeight },
|
|
14606
14606
|
children: [
|
|
14607
|
-
/* @__PURE__ */ jsx("div", { children: icon2 ? /* @__PURE__ */ jsx("div", { className: styles$
|
|
14608
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
14609
|
-
heading2 ? /* @__PURE__ */ jsx("div", { className: styles$
|
|
14607
|
+
/* @__PURE__ */ jsx("div", { children: icon2 ? /* @__PURE__ */ jsx("div", { className: styles$t.icon, children: /* @__PURE__ */ jsx(DialogIcon, { type }) }) : null }),
|
|
14608
|
+
/* @__PURE__ */ jsxs("div", { className: styles$t.content, children: [
|
|
14609
|
+
heading2 ? /* @__PURE__ */ jsx("div", { className: styles$t.heading, children: heading2 }) : null,
|
|
14610
14610
|
/* @__PURE__ */ jsx("div", { children: content2 }),
|
|
14611
14611
|
details2 ? /* @__PURE__ */ jsx(
|
|
14612
14612
|
Details,
|
|
@@ -14616,7 +14616,7 @@ const Message = ({ message: message2 }) => {
|
|
|
14616
14616
|
dispatch: () => dispatch({ type: MessageToggle.TOGGLE_DETAILS })
|
|
14617
14617
|
}
|
|
14618
14618
|
) : null,
|
|
14619
|
-
!!footer2 && /* @__PURE__ */ jsx("div", { className: styles$
|
|
14619
|
+
!!footer2 && /* @__PURE__ */ jsx("div", { className: styles$t.footer, children: footer2 })
|
|
14620
14620
|
] }),
|
|
14621
14621
|
withDismiss ? /* @__PURE__ */ jsx(Dismiss, { type, onClose }) : null
|
|
14622
14622
|
]
|
|
@@ -14648,7 +14648,7 @@ const wrapper$2 = "_wrapper_sb0hc_1";
|
|
|
14648
14648
|
const contentContainer = "_contentContainer_sb0hc_15";
|
|
14649
14649
|
const centered = "_centered_sb0hc_24";
|
|
14650
14650
|
const newLine = "_newLine_sb0hc_28";
|
|
14651
|
-
const styles$
|
|
14651
|
+
const styles$s = {
|
|
14652
14652
|
wrapper: wrapper$2,
|
|
14653
14653
|
contentContainer,
|
|
14654
14654
|
centered,
|
|
@@ -14668,12 +14668,12 @@ const Wrapper = ({ children }) => {
|
|
|
14668
14668
|
}
|
|
14669
14669
|
}
|
|
14670
14670
|
}, []);
|
|
14671
|
-
return /* @__PURE__ */ jsx("div", { ref: wrapperRef, tabIndex: -1, className: cx$2(styles$
|
|
14671
|
+
return /* @__PURE__ */ jsx("div", { ref: wrapperRef, tabIndex: -1, className: cx$2(styles$s.wrapper), children });
|
|
14672
14672
|
};
|
|
14673
14673
|
const Content$2 = ({ children, width: width2, centered: centered2 }) => /* @__PURE__ */ jsx(
|
|
14674
14674
|
"div",
|
|
14675
14675
|
{
|
|
14676
|
-
className: cx$2(styles$
|
|
14676
|
+
className: cx$2(styles$s.contentContainer, centered2 ? styles$s.centered : ""),
|
|
14677
14677
|
style: { maxWidth: width2 },
|
|
14678
14678
|
children
|
|
14679
14679
|
}
|
|
@@ -14722,7 +14722,7 @@ const menu$1 = "_menu_12x4u_1";
|
|
|
14722
14722
|
const header = "_header_12x4u_11";
|
|
14723
14723
|
const item$3 = "_item_12x4u_27";
|
|
14724
14724
|
const heading$1 = "_heading_12x4u_32";
|
|
14725
|
-
const styles$
|
|
14725
|
+
const styles$r = {
|
|
14726
14726
|
menu: menu$1,
|
|
14727
14727
|
header,
|
|
14728
14728
|
item: item$3,
|
|
@@ -14733,9 +14733,9 @@ const Option$1 = ({
|
|
|
14733
14733
|
onChange
|
|
14734
14734
|
}) => {
|
|
14735
14735
|
const { key: key2, label: label2, selected: selected2 } = option2 ?? {};
|
|
14736
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
14736
|
+
return /* @__PURE__ */ jsx("div", { className: styles$r.item, children: /* @__PURE__ */ jsx(CheckBox, { label: label2, noMargin: true, checked: selected2, onChange }) }, key2);
|
|
14737
14737
|
};
|
|
14738
|
-
const Heading$1 = ({ label: label2 }) => /* @__PURE__ */ jsx("div", { className: styles$
|
|
14738
|
+
const Heading$1 = ({ label: label2 }) => /* @__PURE__ */ jsx("div", { className: styles$r.heading, children: label2 });
|
|
14739
14739
|
var DropdownType = /* @__PURE__ */ ((DropdownType2) => {
|
|
14740
14740
|
DropdownType2["HEADING"] = "Heading";
|
|
14741
14741
|
DropdownType2["DIVIDER"] = "Divider";
|
|
@@ -14748,9 +14748,9 @@ const Layer$1 = ({
|
|
|
14748
14748
|
showHeader,
|
|
14749
14749
|
maxHeight
|
|
14750
14750
|
}) => {
|
|
14751
|
-
return /* @__PURE__ */ jsxs("div", { className: cx$2("menu", styles$
|
|
14751
|
+
return /* @__PURE__ */ jsxs("div", { className: cx$2("menu", styles$r.menu), style: { maxHeight }, children: [
|
|
14752
14752
|
showHeader && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
14753
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
14753
|
+
/* @__PURE__ */ jsxs("div", { className: styles$r.header, children: [
|
|
14754
14754
|
/* @__PURE__ */ jsx(
|
|
14755
14755
|
"a",
|
|
14756
14756
|
{
|
|
@@ -14854,7 +14854,7 @@ const OptionDropdown = ({
|
|
|
14854
14854
|
};
|
|
14855
14855
|
const page = "_page_beskc_1";
|
|
14856
14856
|
const scroll$1 = "_scroll_beskc_23";
|
|
14857
|
-
const styles$
|
|
14857
|
+
const styles$q = {
|
|
14858
14858
|
page,
|
|
14859
14859
|
scroll: scroll$1
|
|
14860
14860
|
};
|
|
@@ -14869,7 +14869,7 @@ const Page = ({
|
|
|
14869
14869
|
return /* @__PURE__ */ jsx(
|
|
14870
14870
|
"div",
|
|
14871
14871
|
{
|
|
14872
|
-
className: cx$2(styles$
|
|
14872
|
+
className: cx$2(styles$q.page, scroll2 ? styles$q.scroll : ""),
|
|
14873
14873
|
style: { left: left2, padding: padding2, top: top2 },
|
|
14874
14874
|
children
|
|
14875
14875
|
}
|
|
@@ -14890,7 +14890,7 @@ const right$3 = "_right_sl2b5_182";
|
|
|
14890
14890
|
const groupOrderFirst$1 = "_groupOrderFirst_sl2b5_193";
|
|
14891
14891
|
const groupOrderMiddle$1 = "_groupOrderMiddle_sl2b5_194";
|
|
14892
14892
|
const groupOrderLast$1 = "_groupOrderLast_sl2b5_198";
|
|
14893
|
-
const styles$
|
|
14893
|
+
const styles$p = {
|
|
14894
14894
|
inputInTable: inputInTable$6,
|
|
14895
14895
|
inputHover: inputHover$6,
|
|
14896
14896
|
inputFocus: inputFocus$6,
|
|
@@ -14973,11 +14973,11 @@ const NativeSelect = ({
|
|
|
14973
14973
|
if (groupOrder) {
|
|
14974
14974
|
switch (groupOrder) {
|
|
14975
14975
|
case GroupOrder.FIRST:
|
|
14976
|
-
return styles$
|
|
14976
|
+
return styles$p.groupOrderFirst;
|
|
14977
14977
|
case GroupOrder.LAST:
|
|
14978
|
-
return styles$
|
|
14978
|
+
return styles$p.groupOrderLast;
|
|
14979
14979
|
default:
|
|
14980
|
-
return styles$
|
|
14980
|
+
return styles$p.groupOrderMiddle;
|
|
14981
14981
|
}
|
|
14982
14982
|
}
|
|
14983
14983
|
return "";
|
|
@@ -14995,11 +14995,11 @@ const NativeSelect = ({
|
|
|
14995
14995
|
"select",
|
|
14996
14996
|
{
|
|
14997
14997
|
className: cx$2(
|
|
14998
|
-
styles$
|
|
14999
|
-
isUnselected ? styles$
|
|
15000
|
-
right2 ? styles$
|
|
15001
|
-
small2 ? styles$
|
|
15002
|
-
isInTable2 ? styles$
|
|
14998
|
+
styles$p.select,
|
|
14999
|
+
isUnselected ? styles$p.unSelected : "",
|
|
15000
|
+
right2 ? styles$p.right : "",
|
|
15001
|
+
small2 ? styles$p.small : "",
|
|
15002
|
+
isInTable2 ? styles$p.isInTable : "",
|
|
15003
15003
|
order2
|
|
15004
15004
|
),
|
|
15005
15005
|
style: {
|
|
@@ -15813,7 +15813,7 @@ const optionContent = "_optionContent_dw2pp_92";
|
|
|
15813
15813
|
const label$5 = "_label_dw2pp_97";
|
|
15814
15814
|
const icon$2 = "_icon_dw2pp_104";
|
|
15815
15815
|
const details = "_details_dw2pp_109";
|
|
15816
|
-
const styles$
|
|
15816
|
+
const styles$o = {
|
|
15817
15817
|
layerContainer,
|
|
15818
15818
|
layer,
|
|
15819
15819
|
small: small$5,
|
|
@@ -15834,7 +15834,7 @@ const Heading = ({ label: label2 }) => {
|
|
|
15834
15834
|
"div",
|
|
15835
15835
|
{
|
|
15836
15836
|
onClick: (evt) => evt.stopPropagation(),
|
|
15837
|
-
className: styles$
|
|
15837
|
+
className: styles$o.heading,
|
|
15838
15838
|
children: label2
|
|
15839
15839
|
}
|
|
15840
15840
|
);
|
|
@@ -15855,21 +15855,21 @@ const Option = ({
|
|
|
15855
15855
|
"div",
|
|
15856
15856
|
{
|
|
15857
15857
|
className: cx$2(
|
|
15858
|
-
styles$
|
|
15859
|
-
disabled2 ? styles$
|
|
15860
|
-
selected2 ? styles$
|
|
15861
|
-
focused2 ? styles$
|
|
15858
|
+
styles$o.option,
|
|
15859
|
+
disabled2 ? styles$o.disabled : "",
|
|
15860
|
+
selected2 ? styles$o == null ? void 0 : styles$o.selected : "",
|
|
15861
|
+
focused2 ? styles$o.focused : ""
|
|
15862
15862
|
),
|
|
15863
15863
|
onClick: !disabled2 && onSelectOption ? onSelectOption : void 0,
|
|
15864
15864
|
"data-testid": testId,
|
|
15865
15865
|
children: [
|
|
15866
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
15866
|
+
/* @__PURE__ */ jsx("div", { className: styles$o.optionContent, children: /* @__PURE__ */ jsxs("span", { className: styles$o.label, title: label2, children: [
|
|
15867
15867
|
label2,
|
|
15868
|
-
icon2 && /* @__PURE__ */ jsx("span", { className: styles$
|
|
15868
|
+
icon2 && /* @__PURE__ */ jsx("span", { className: styles$o.icon, children: icon2 })
|
|
15869
15869
|
] }) }),
|
|
15870
|
-
details2 && /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
15871
|
-
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
15872
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
15870
|
+
details2 && /* @__PURE__ */ jsx("div", { className: cx$2(styles$o.details), children: /* @__PURE__ */ jsx(Text, { faint: true, children: details2 }) }),
|
|
15871
|
+
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: cx$2(styles$o.actions), children: /* @__PURE__ */ jsx(Actions, { actions: actions2, closeLayer }) }),
|
|
15872
|
+
/* @__PURE__ */ jsx("span", { className: styles$o.check, children: selected2 ? /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) : null })
|
|
15873
15873
|
]
|
|
15874
15874
|
}
|
|
15875
15875
|
);
|
|
@@ -15981,8 +15981,8 @@ const Layer = ({
|
|
|
15981
15981
|
"div",
|
|
15982
15982
|
{
|
|
15983
15983
|
"data-testid": testId,
|
|
15984
|
-
className: cx$2(styles$
|
|
15985
|
-
children: !sections.length ? /* @__PURE__ */ jsx("ul", { children: /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("div", { className: styles$
|
|
15984
|
+
className: cx$2(styles$o.layer, small2 && styles$o.small),
|
|
15985
|
+
children: !sections.length ? /* @__PURE__ */ jsx("ul", { children: /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("div", { className: styles$o.message, style: { width: width2 }, children: "No matches" }) }) }) : /* @__PURE__ */ jsx(
|
|
15986
15986
|
FixedSizeList,
|
|
15987
15987
|
{
|
|
15988
15988
|
ref: listRef,
|
|
@@ -16042,7 +16042,7 @@ const groupOrderFirst = "_groupOrderFirst_7uwhv_297";
|
|
|
16042
16042
|
const groupOrderMiddle = "_groupOrderMiddle_7uwhv_298";
|
|
16043
16043
|
const groupOrderLast = "_groupOrderLast_7uwhv_302";
|
|
16044
16044
|
const detailedLabel = "_detailedLabel_7uwhv_307";
|
|
16045
|
-
const styles$
|
|
16045
|
+
const styles$n = {
|
|
16046
16046
|
inputInTable: inputInTable$5,
|
|
16047
16047
|
inputHover: inputHover$5,
|
|
16048
16048
|
inputFocus: inputFocus$5,
|
|
@@ -16102,13 +16102,13 @@ const MultiSelectedOptions = ({
|
|
|
16102
16102
|
return /* @__PURE__ */ jsxs(
|
|
16103
16103
|
"div",
|
|
16104
16104
|
{
|
|
16105
|
-
className: styles$
|
|
16105
|
+
className: styles$n.multiOptions,
|
|
16106
16106
|
"data-testid": testId && `${testId}-value`,
|
|
16107
16107
|
children: [
|
|
16108
16108
|
displayedOptions.filter((option2) => option2 && option2.label).map((option2, index2) => /* @__PURE__ */ jsx(
|
|
16109
16109
|
"span",
|
|
16110
16110
|
{
|
|
16111
|
-
className: styles$
|
|
16111
|
+
className: styles$n.multiOption,
|
|
16112
16112
|
onClick: (evt) => {
|
|
16113
16113
|
evt.stopPropagation();
|
|
16114
16114
|
},
|
|
@@ -16121,7 +16121,7 @@ const MultiSelectedOptions = ({
|
|
|
16121
16121
|
{
|
|
16122
16122
|
text: overflowOptions.map((option2, index2) => /* @__PURE__ */ jsx("div", { children: option2.label }, index2)),
|
|
16123
16123
|
display: "inline-flex",
|
|
16124
|
-
children: /* @__PURE__ */ jsx("span", { className: styles$
|
|
16124
|
+
children: /* @__PURE__ */ jsx("span", { className: styles$n.multiOption, children: displayedOptions.length ? `+${overflowOptions.length}` : `${overflowOptions.length} items` })
|
|
16125
16125
|
}
|
|
16126
16126
|
)
|
|
16127
16127
|
]
|
|
@@ -16149,8 +16149,8 @@ const Input = ({
|
|
|
16149
16149
|
const inputWidth = ((_b = inputRef.current) == null ? void 0 : _b.offsetWidth) || 0;
|
|
16150
16150
|
return containerWidth - inputWidth;
|
|
16151
16151
|
};
|
|
16152
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
16153
|
-
!hasSelectedValues ? /* @__PURE__ */ jsx("span", { className: styles$
|
|
16152
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$n.triggerInputContainer, ref: containerRef, children: [
|
|
16153
|
+
!hasSelectedValues ? /* @__PURE__ */ jsx("span", { className: styles$n.placeHolder, children: !(searchValue == null ? void 0 : searchValue.length) ? placeholder2 : "" }) : isMulti2 ? /* @__PURE__ */ jsx(
|
|
16154
16154
|
MultiSelectedOptions,
|
|
16155
16155
|
{
|
|
16156
16156
|
selectedOptions,
|
|
@@ -16161,7 +16161,7 @@ const Input = ({
|
|
|
16161
16161
|
) : /* @__PURE__ */ jsx(
|
|
16162
16162
|
"span",
|
|
16163
16163
|
{
|
|
16164
|
-
className: styles$
|
|
16164
|
+
className: styles$n.selectedSingleValue,
|
|
16165
16165
|
"data-testid": testId && `${testId}-value`,
|
|
16166
16166
|
children: !(searchValue == null ? void 0 : searchValue.length) ? selectedOptions == null ? void 0 : selectedOptions.label : ""
|
|
16167
16167
|
}
|
|
@@ -16172,7 +16172,7 @@ const Input = ({
|
|
|
16172
16172
|
tabIndex: -1,
|
|
16173
16173
|
ref: inputRef,
|
|
16174
16174
|
size: inputSize,
|
|
16175
|
-
className: styles$
|
|
16175
|
+
className: styles$n.input,
|
|
16176
16176
|
value: searchValue,
|
|
16177
16177
|
onChange: (evt) => onChange(evt.target.value),
|
|
16178
16178
|
"data-error": error2 || null,
|
|
@@ -16218,18 +16218,18 @@ const Trigger = ({
|
|
|
16218
16218
|
if (groupOrder) {
|
|
16219
16219
|
switch (groupOrder) {
|
|
16220
16220
|
case GroupOrder.FIRST:
|
|
16221
|
-
return styles$
|
|
16221
|
+
return styles$n.groupOrderFirst;
|
|
16222
16222
|
case GroupOrder.LAST:
|
|
16223
|
-
return styles$
|
|
16223
|
+
return styles$n.groupOrderLast;
|
|
16224
16224
|
default:
|
|
16225
|
-
return styles$
|
|
16225
|
+
return styles$n.groupOrderMiddle;
|
|
16226
16226
|
}
|
|
16227
16227
|
}
|
|
16228
16228
|
return "";
|
|
16229
16229
|
})();
|
|
16230
16230
|
const selectedOptionsWithDetails = !Array.isArray(selectedOptions) && (selectedOptions == null ? void 0 : selectedOptions.details) ? {
|
|
16231
16231
|
...selectedOptions,
|
|
16232
|
-
label: /* @__PURE__ */ jsxs("div", { className: cx$2(styles$
|
|
16232
|
+
label: /* @__PURE__ */ jsxs("div", { className: cx$2(styles$n.detailedLabel), children: [
|
|
16233
16233
|
/* @__PURE__ */ jsx(Text, { children: selectedOptions.label }),
|
|
16234
16234
|
/* @__PURE__ */ jsx(Text, { muted: true, children: selectedOptions.details })
|
|
16235
16235
|
] })
|
|
@@ -16242,12 +16242,12 @@ const Trigger = ({
|
|
|
16242
16242
|
ref: triggerRef,
|
|
16243
16243
|
tabIndex,
|
|
16244
16244
|
className: cx$2(
|
|
16245
|
-
styles$
|
|
16246
|
-
isOpen2 ? styles$
|
|
16247
|
-
disabled2 ? styles$
|
|
16248
|
-
small2 ? styles$
|
|
16249
|
-
isInTable2 ? styles$
|
|
16250
|
-
right2 ? styles$
|
|
16245
|
+
styles$n.trigger,
|
|
16246
|
+
isOpen2 ? styles$n.isOpen : "",
|
|
16247
|
+
disabled2 ? styles$n.disabled : "",
|
|
16248
|
+
small2 ? styles$n.small : "",
|
|
16249
|
+
isInTable2 ? styles$n.isInTable : "",
|
|
16250
|
+
right2 ? styles$n.right : "",
|
|
16251
16251
|
order2
|
|
16252
16252
|
),
|
|
16253
16253
|
onClick: (evt) => {
|
|
@@ -16279,12 +16279,12 @@ const Trigger = ({
|
|
|
16279
16279
|
testId
|
|
16280
16280
|
}
|
|
16281
16281
|
),
|
|
16282
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
16282
|
+
/* @__PURE__ */ jsx("span", { className: styles$n.icons, children: canClear ? /* @__PURE__ */ jsx(
|
|
16283
16283
|
"span",
|
|
16284
16284
|
{
|
|
16285
16285
|
className: cx$2(
|
|
16286
|
-
styles$
|
|
16287
|
-
clearAllIsFocused ? styles$
|
|
16286
|
+
styles$n.clearAll,
|
|
16287
|
+
clearAllIsFocused ? styles$n.focus : ""
|
|
16288
16288
|
),
|
|
16289
16289
|
onClick: (evt) => {
|
|
16290
16290
|
evt.stopPropagation();
|
|
@@ -16295,7 +16295,7 @@ const Trigger = ({
|
|
|
16295
16295
|
"data-testid": testId && `${testId}-clear`,
|
|
16296
16296
|
children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CLOSE })
|
|
16297
16297
|
}
|
|
16298
|
-
) : /* @__PURE__ */ jsx("span", { className: cx$2(styles$
|
|
16298
|
+
) : /* @__PURE__ */ jsx("span", { className: cx$2(styles$n.iconOpen), children: /* @__PURE__ */ jsx(Icon, { icon: "chevron down" }) }) })
|
|
16299
16299
|
]
|
|
16300
16300
|
}
|
|
16301
16301
|
)
|
|
@@ -16836,7 +16836,7 @@ const CustomSelect = (props) => {
|
|
|
16836
16836
|
}
|
|
16837
16837
|
),
|
|
16838
16838
|
state.isLayerOpen && renderLayer(
|
|
16839
|
-
/* @__PURE__ */ jsx("div", { ...layerProps, className: styles$
|
|
16839
|
+
/* @__PURE__ */ jsx("div", { ...layerProps, className: styles$o.layerContainer, children: /* @__PURE__ */ jsx(
|
|
16840
16840
|
Layer,
|
|
16841
16841
|
{
|
|
16842
16842
|
listRef,
|
|
@@ -17085,7 +17085,7 @@ const validateSelectedPage = (selectedPage, numPages, errorMessageTemplate = "Se
|
|
|
17085
17085
|
return valid;
|
|
17086
17086
|
};
|
|
17087
17087
|
const paginationContainer = "_paginationContainer_1tmz4_1";
|
|
17088
|
-
const styles$
|
|
17088
|
+
const styles$m = {
|
|
17089
17089
|
paginationContainer
|
|
17090
17090
|
};
|
|
17091
17091
|
const Pagination = ({ pagination }) => {
|
|
@@ -17122,7 +17122,7 @@ const Pagination = ({ pagination }) => {
|
|
|
17122
17122
|
onSelectPage(Number(value));
|
|
17123
17123
|
}
|
|
17124
17124
|
};
|
|
17125
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
17125
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$m.paginationContainer, children: [
|
|
17126
17126
|
rowsPerPage && /* @__PURE__ */ jsx("div", { style: { flexShrink: 0 }, children: /* @__PURE__ */ jsx(
|
|
17127
17127
|
Select,
|
|
17128
17128
|
{
|
|
@@ -17207,7 +17207,7 @@ const Pagination = ({ pagination }) => {
|
|
|
17207
17207
|
const toggleBox = "_toggleBox_lhie5_1";
|
|
17208
17208
|
const fullWidthStyleFix = "_fullWidthStyleFix_lhie5_8";
|
|
17209
17209
|
const dismiss = "_dismiss_lhie5_13";
|
|
17210
|
-
const styles$
|
|
17210
|
+
const styles$l = {
|
|
17211
17211
|
toggleBox,
|
|
17212
17212
|
fullWidthStyleFix,
|
|
17213
17213
|
dismiss
|
|
@@ -17261,7 +17261,7 @@ const Popover = ({
|
|
|
17261
17261
|
/* @__PURE__ */ jsxs(
|
|
17262
17262
|
"div",
|
|
17263
17263
|
{
|
|
17264
|
-
className: fullWidth ? cx$2(styles$
|
|
17264
|
+
className: fullWidth ? cx$2(styles$l.toggleBox, styles$l.fullWidthStyleFix) : cx$2(styles$l.toggleBox),
|
|
17265
17265
|
...layerProps,
|
|
17266
17266
|
children: [
|
|
17267
17267
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -17269,7 +17269,7 @@ const Popover = ({
|
|
|
17269
17269
|
content2,
|
|
17270
17270
|
{ close: close2 }
|
|
17271
17271
|
) : content2,
|
|
17272
|
-
showCloseButton && /* @__PURE__ */ jsx("div", { className: styles$
|
|
17272
|
+
showCloseButton && /* @__PURE__ */ jsx("div", { className: styles$l.dismiss, children: /* @__PURE__ */ jsx(Button$1, { small: true, round: true, onClick: close2, icon: IconType.CLOSE }) })
|
|
17273
17273
|
] }),
|
|
17274
17274
|
/* @__PURE__ */ jsx(
|
|
17275
17275
|
Arrow,
|
|
@@ -17288,7 +17288,7 @@ const Popover = ({
|
|
|
17288
17288
|
] });
|
|
17289
17289
|
};
|
|
17290
17290
|
const printHeader = "_printHeader_o7xxx_1";
|
|
17291
|
-
const styles$
|
|
17291
|
+
const styles$k = {
|
|
17292
17292
|
printHeader
|
|
17293
17293
|
};
|
|
17294
17294
|
const PrintHeader = ({
|
|
@@ -17300,7 +17300,7 @@ const PrintHeader = ({
|
|
|
17300
17300
|
{
|
|
17301
17301
|
src: logo2,
|
|
17302
17302
|
alt,
|
|
17303
|
-
className: styles$
|
|
17303
|
+
className: styles$k.printHeader,
|
|
17304
17304
|
style: { width: logoWidth }
|
|
17305
17305
|
}
|
|
17306
17306
|
);
|
|
@@ -17314,7 +17314,7 @@ const orange = "_orange_23ror_30";
|
|
|
17314
17314
|
const yellow = "_yellow_23ror_33";
|
|
17315
17315
|
const green = "_green_23ror_36";
|
|
17316
17316
|
const label$3 = "_label_23ror_39";
|
|
17317
|
-
const styles$
|
|
17317
|
+
const styles$j = {
|
|
17318
17318
|
progress: progress$1,
|
|
17319
17319
|
inverted,
|
|
17320
17320
|
bar,
|
|
@@ -17327,11 +17327,11 @@ const styles$i = {
|
|
|
17327
17327
|
label: label$3
|
|
17328
17328
|
};
|
|
17329
17329
|
const getColor = (perct) => {
|
|
17330
|
-
if (perct < 20) return styles$
|
|
17331
|
-
if (perct < 40) return styles$
|
|
17332
|
-
if (perct < 60) return styles$
|
|
17333
|
-
if (perct < 80) return styles$
|
|
17334
|
-
return styles$
|
|
17330
|
+
if (perct < 20) return styles$j.grey;
|
|
17331
|
+
if (perct < 40) return styles$j.red;
|
|
17332
|
+
if (perct < 60) return styles$j.orange;
|
|
17333
|
+
if (perct < 80) return styles$j.yellow;
|
|
17334
|
+
return styles$j.green;
|
|
17335
17335
|
};
|
|
17336
17336
|
const ProgressBar$1 = ({
|
|
17337
17337
|
width: width2 = "auto",
|
|
@@ -17344,21 +17344,21 @@ const ProgressBar$1 = ({
|
|
|
17344
17344
|
return /* @__PURE__ */ jsx("div", { style: { width: width2 }, "data-percent": percentage, children: /* @__PURE__ */ jsxs(
|
|
17345
17345
|
"div",
|
|
17346
17346
|
{
|
|
17347
|
-
className: cx$2(styles$
|
|
17347
|
+
className: cx$2(styles$j.progress, inverted2 ? styles$j.inverted : ""),
|
|
17348
17348
|
style: { width: width2 },
|
|
17349
17349
|
children: [
|
|
17350
17350
|
/* @__PURE__ */ jsx(
|
|
17351
17351
|
"div",
|
|
17352
17352
|
{
|
|
17353
17353
|
className: cx$2(
|
|
17354
|
-
styles$
|
|
17355
|
-
showProgressColors ? getColor(percentage) : colored2 ? styles$
|
|
17354
|
+
styles$j.bar,
|
|
17355
|
+
showProgressColors ? getColor(percentage) : colored2 ? styles$j.colored : ""
|
|
17356
17356
|
),
|
|
17357
17357
|
style: { width: `${percentage}%` },
|
|
17358
|
-
children: /* @__PURE__ */ jsx("div", { className: styles$
|
|
17358
|
+
children: /* @__PURE__ */ jsx("div", { className: styles$j.label, children: !noLabel2 && `${percentage}%` })
|
|
17359
17359
|
}
|
|
17360
17360
|
),
|
|
17361
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
17361
|
+
/* @__PURE__ */ jsx("div", { className: styles$j.label, children: !noLabel2 && `${percentage}%` })
|
|
17362
17362
|
]
|
|
17363
17363
|
}
|
|
17364
17364
|
) });
|
|
@@ -17372,7 +17372,7 @@ const noMargin$1 = "_noMargin_1fbik_32";
|
|
|
17372
17372
|
const disabled$2 = "_disabled_1fbik_90";
|
|
17373
17373
|
const isInTable = "_isInTable_1fbik_106";
|
|
17374
17374
|
const helpIconEnabled$1 = "_helpIconEnabled_1fbik_111";
|
|
17375
|
-
const styles$
|
|
17375
|
+
const styles$i = {
|
|
17376
17376
|
wrapper: wrapper$1,
|
|
17377
17377
|
inline: inline$1,
|
|
17378
17378
|
radio,
|
|
@@ -17401,10 +17401,10 @@ const RadioInput = ({
|
|
|
17401
17401
|
"div",
|
|
17402
17402
|
{
|
|
17403
17403
|
className: cx$2(
|
|
17404
|
-
styles$
|
|
17405
|
-
disabled2 ? styles$
|
|
17406
|
-
small2 ? styles$
|
|
17407
|
-
noMargin2 ? styles$
|
|
17404
|
+
styles$i.radio,
|
|
17405
|
+
disabled2 ? styles$i.disabled : null,
|
|
17406
|
+
small2 ? styles$i.small : null,
|
|
17407
|
+
noMargin2 ? styles$i.noMargin : null
|
|
17408
17408
|
),
|
|
17409
17409
|
onClick: onChange,
|
|
17410
17410
|
"data-testid": testId,
|
|
@@ -17421,7 +17421,7 @@ const RadioInput = ({
|
|
|
17421
17421
|
}
|
|
17422
17422
|
),
|
|
17423
17423
|
/* @__PURE__ */ jsx("label", { "data-name": name2, "data-value": value, children: label2 }),
|
|
17424
|
-
showHelp && /* @__PURE__ */ jsx("div", { className: styles$
|
|
17424
|
+
showHelp && /* @__PURE__ */ jsx("div", { className: styles$i.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
|
|
17425
17425
|
]
|
|
17426
17426
|
}
|
|
17427
17427
|
);
|
|
@@ -17461,13 +17461,13 @@ const RadioButton = ({
|
|
|
17461
17461
|
"div",
|
|
17462
17462
|
{
|
|
17463
17463
|
className: cx$2(
|
|
17464
|
-
styles$
|
|
17465
|
-
inline2 ? styles$
|
|
17466
|
-
classForContainer === "inline fields" ? styles$
|
|
17464
|
+
styles$i.wrapper,
|
|
17465
|
+
inline2 ? styles$i.inline : null,
|
|
17466
|
+
classForContainer === "inline fields" ? styles$i.inline : null
|
|
17467
17467
|
//deprecated
|
|
17468
17468
|
),
|
|
17469
17469
|
children: [
|
|
17470
|
-
mainLabel && /* @__PURE__ */ jsx("label", { className: cx$2(inline2 && styles$
|
|
17470
|
+
mainLabel && /* @__PURE__ */ jsx("label", { className: cx$2(inline2 && styles$i.labelMargin), children: label2 }),
|
|
17471
17471
|
options.map(
|
|
17472
17472
|
(option2, index2) => {
|
|
17473
17473
|
const selected2 = (option2 == null ? void 0 : option2.checked) || (option2 == null ? void 0 : option2.value) === selectedValue || false;
|
|
@@ -47715,7 +47715,7 @@ var interopRequireDefaultExports = interopRequireDefault.exports;
|
|
|
47715
47715
|
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(_extends$5);
|
|
47716
47716
|
const richTextToolbar = "_richTextToolbar_1gbkk_1";
|
|
47717
47717
|
const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
|
|
47718
|
-
const styles$
|
|
47718
|
+
const styles$h = {
|
|
47719
47719
|
richTextToolbar,
|
|
47720
47720
|
richTextToolbarContainer
|
|
47721
47721
|
};
|
|
@@ -47767,8 +47767,8 @@ const RichTextToolbar = ({
|
|
|
47767
47767
|
active: active2.orderedList()
|
|
47768
47768
|
}
|
|
47769
47769
|
];
|
|
47770
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
47771
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
47770
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$h.richTextToolbarContainer, children: [
|
|
47771
|
+
/* @__PURE__ */ jsx("div", { className: styles$h.richTextToolbar, children: items.map((item2, index2) => /* @__PURE__ */ jsx(
|
|
47772
47772
|
Button$1,
|
|
47773
47773
|
{
|
|
47774
47774
|
small: true,
|
|
@@ -47796,7 +47796,7 @@ const inputWarning$4 = "_inputWarning_1fb4l_26";
|
|
|
47796
47796
|
const inputDisabled$4 = "_inputDisabled_1fb4l_61";
|
|
47797
47797
|
const hideScrollbars$4 = "_hideScrollbars_1fb4l_67";
|
|
47798
47798
|
const richTextInput = "_richTextInput_1fb4l_77";
|
|
47799
|
-
const styles$
|
|
47799
|
+
const styles$g = {
|
|
47800
47800
|
inputInTable: inputInTable$4,
|
|
47801
47801
|
inputHover: inputHover$4,
|
|
47802
47802
|
inputFocus: inputFocus$4,
|
|
@@ -47832,7 +47832,7 @@ const RichTextInput = forwardRef(
|
|
|
47832
47832
|
}
|
|
47833
47833
|
setState(state2);
|
|
47834
47834
|
};
|
|
47835
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
47835
|
+
return /* @__PURE__ */ jsx("div", { className: styles$g.richTextInput, children: /* @__PURE__ */ jsxs(
|
|
47836
47836
|
Remirror,
|
|
47837
47837
|
{
|
|
47838
47838
|
manager,
|
|
@@ -47855,7 +47855,7 @@ const RichTextInput = forwardRef(
|
|
|
47855
47855
|
}
|
|
47856
47856
|
);
|
|
47857
47857
|
const row = "_row_n16je_1";
|
|
47858
|
-
const styles$
|
|
47858
|
+
const styles$f = {
|
|
47859
47859
|
row
|
|
47860
47860
|
};
|
|
47861
47861
|
const Row$1 = ({
|
|
@@ -47876,7 +47876,7 @@ const Row$1 = ({
|
|
|
47876
47876
|
return /* @__PURE__ */ jsx(
|
|
47877
47877
|
"div",
|
|
47878
47878
|
{
|
|
47879
|
-
className: cx$2(styles$
|
|
47879
|
+
className: cx$2(styles$f.row),
|
|
47880
47880
|
style: {
|
|
47881
47881
|
alignItems,
|
|
47882
47882
|
justifyContent,
|
|
@@ -47984,7 +47984,7 @@ const item$2 = "_item_1oy1z_140";
|
|
|
47984
47984
|
const experimental = "_experimental_1oy1z_155";
|
|
47985
47985
|
const active$2 = "_active_1oy1z_159";
|
|
47986
47986
|
const icon$1 = "_icon_1oy1z_163";
|
|
47987
|
-
const styles$
|
|
47987
|
+
const styles$e = {
|
|
47988
47988
|
inputInTable: inputInTable$3,
|
|
47989
47989
|
inputHover: inputHover$3,
|
|
47990
47990
|
inputFocus: inputFocus$3,
|
|
@@ -48017,10 +48017,10 @@ const TooltipIcon = memo(
|
|
|
48017
48017
|
fontSize: 16,
|
|
48018
48018
|
padding: "var(--padding-sm)",
|
|
48019
48019
|
display: "block",
|
|
48020
|
-
children: /* @__PURE__ */ jsx("span", { className: styles$
|
|
48020
|
+
children: /* @__PURE__ */ jsx("span", { className: styles$e.icon, children: /* @__PURE__ */ jsx(Badge, { small: true, title: invalid ? "!" : void 0, margin: 4, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }) })
|
|
48021
48021
|
}
|
|
48022
48022
|
),
|
|
48023
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
48023
|
+
/* @__PURE__ */ jsx("span", { className: styles$e.label, children: label2 })
|
|
48024
48024
|
] });
|
|
48025
48025
|
},
|
|
48026
48026
|
(prevProps, nextProps) => isEqual$1(prevProps, nextProps)
|
|
@@ -48032,16 +48032,16 @@ const Link$1 = ({
|
|
|
48032
48032
|
onClick,
|
|
48033
48033
|
testId
|
|
48034
48034
|
}) => {
|
|
48035
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
48035
|
+
return /* @__PURE__ */ jsx("div", { className: styles$e.list, children: items.map((link2, i) => {
|
|
48036
48036
|
const key2 = `${sectionIndex}_${i}`;
|
|
48037
48037
|
return /* @__PURE__ */ jsx(
|
|
48038
48038
|
"a",
|
|
48039
48039
|
{
|
|
48040
48040
|
href: link2.value,
|
|
48041
48041
|
className: cx$2(
|
|
48042
|
-
styles$
|
|
48043
|
-
link2.isActive ? styles$
|
|
48044
|
-
link2.isExperimental ? styles$
|
|
48042
|
+
styles$e.item,
|
|
48043
|
+
link2.isActive ? styles$e.active : "",
|
|
48044
|
+
link2.isExperimental ? styles$e.experimental : ""
|
|
48045
48045
|
),
|
|
48046
48046
|
onClick: (evt) => onClick(evt, link2.value, link2.label, link2.onClick),
|
|
48047
48047
|
"data-testid": testId,
|
|
@@ -48066,7 +48066,7 @@ const Sections = ({
|
|
|
48066
48066
|
onClick
|
|
48067
48067
|
}) => {
|
|
48068
48068
|
return /* @__PURE__ */ jsx(Fragment$1, { children: sections.map((section2, i) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
48069
|
-
/* @__PURE__ */ jsx("h5", { className: styles$
|
|
48069
|
+
/* @__PURE__ */ jsx("h5", { className: styles$e.subtitle, children: section2.heading.toUpperCase() }),
|
|
48070
48070
|
/* @__PURE__ */ jsx(
|
|
48071
48071
|
Link$1,
|
|
48072
48072
|
{
|
|
@@ -48122,8 +48122,8 @@ const SideBar = memo(
|
|
|
48122
48122
|
icon: IconType.LEFT
|
|
48123
48123
|
}
|
|
48124
48124
|
),
|
|
48125
|
-
children: /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
48126
|
-
/* @__PURE__ */ jsx("h4", { className: styles$
|
|
48125
|
+
children: /* @__PURE__ */ jsx("div", { className: cx$2(styles$e.sidebar, !isOpen2 ? styles$e.collapsed : ""), children: visible && /* @__PURE__ */ jsxs("div", { className: styles$e.inner, children: [
|
|
48126
|
+
/* @__PURE__ */ jsx("h4", { className: styles$e.title, children: options.title }),
|
|
48127
48127
|
/* @__PURE__ */ jsx(
|
|
48128
48128
|
Sections,
|
|
48129
48129
|
{
|
|
@@ -50560,7 +50560,7 @@ const hasArrows = "_hasArrows_1bhdk_14";
|
|
|
50560
50560
|
const button$1 = "_button_1bhdk_18";
|
|
50561
50561
|
const label$1 = "_label_1bhdk_21";
|
|
50562
50562
|
const dot = "_dot_1bhdk_29";
|
|
50563
|
-
const styles$
|
|
50563
|
+
const styles$d = {
|
|
50564
50564
|
container,
|
|
50565
50565
|
small: small$2,
|
|
50566
50566
|
vertical,
|
|
@@ -50579,7 +50579,7 @@ const formatMarkers = (marks) => {
|
|
|
50579
50579
|
tooltip2 ? ": " : "",
|
|
50580
50580
|
label2 ?? value
|
|
50581
50581
|
] }),
|
|
50582
|
-
children: /* @__PURE__ */ jsx("div", { className: styles$
|
|
50582
|
+
children: /* @__PURE__ */ jsx("div", { className: styles$d.dot })
|
|
50583
50583
|
}
|
|
50584
50584
|
);
|
|
50585
50585
|
return acc;
|
|
@@ -50622,7 +50622,7 @@ const Slider = ({
|
|
|
50622
50622
|
}
|
|
50623
50623
|
});
|
|
50624
50624
|
};
|
|
50625
|
-
const ButtonMin = () => /* @__PURE__ */ jsx("div", { className: styles$
|
|
50625
|
+
const ButtonMin = () => /* @__PURE__ */ jsx("div", { className: styles$d.button, children: /* @__PURE__ */ jsx(
|
|
50626
50626
|
Button$1,
|
|
50627
50627
|
{
|
|
50628
50628
|
basic: true,
|
|
@@ -50633,7 +50633,7 @@ const Slider = ({
|
|
|
50633
50633
|
icon: IconType.FAST_BACKWARD
|
|
50634
50634
|
}
|
|
50635
50635
|
) });
|
|
50636
|
-
const ButtonMax = () => /* @__PURE__ */ jsx("div", { className: styles$
|
|
50636
|
+
const ButtonMax = () => /* @__PURE__ */ jsx("div", { className: styles$d.button, children: /* @__PURE__ */ jsx(
|
|
50637
50637
|
Button$1,
|
|
50638
50638
|
{
|
|
50639
50639
|
basic: true,
|
|
@@ -50656,9 +50656,9 @@ const Slider = ({
|
|
|
50656
50656
|
"div",
|
|
50657
50657
|
{
|
|
50658
50658
|
className: cx$2(
|
|
50659
|
-
styles$
|
|
50660
|
-
small2 ? styles$
|
|
50661
|
-
vertical2.enabled ? styles$
|
|
50659
|
+
styles$d.container,
|
|
50660
|
+
small2 ? styles$d.small : "",
|
|
50661
|
+
vertical2.enabled ? styles$d.vertical : ""
|
|
50662
50662
|
),
|
|
50663
50663
|
style: vertical2.enabled ? { width: vertical2.width, height: vertical2.height } : { width: width2 },
|
|
50664
50664
|
children: [
|
|
@@ -50669,8 +50669,8 @@ const Slider = ({
|
|
|
50669
50669
|
range: range2,
|
|
50670
50670
|
allowCross: false,
|
|
50671
50671
|
className: cx$2(
|
|
50672
|
-
(disabled2 || disabledContext) && styles$
|
|
50673
|
-
showArrows && styles$
|
|
50672
|
+
(disabled2 || disabledContext) && styles$d.rcSliderDisabled,
|
|
50673
|
+
showArrows && styles$d.hasArrows
|
|
50674
50674
|
),
|
|
50675
50675
|
value,
|
|
50676
50676
|
max,
|
|
@@ -50684,7 +50684,7 @@ const Slider = ({
|
|
|
50684
50684
|
}
|
|
50685
50685
|
),
|
|
50686
50686
|
showArrows && (vertical2.enabled ? /* @__PURE__ */ jsx(ButtonMin, {}) : /* @__PURE__ */ jsx(ButtonMax, {})),
|
|
50687
|
-
label2 && /* @__PURE__ */ jsx("label", { className: styles$
|
|
50687
|
+
label2 && /* @__PURE__ */ jsx("label", { className: styles$d.label, style: { width: labelWidth }, children: label2 })
|
|
50688
50688
|
]
|
|
50689
50689
|
}
|
|
50690
50690
|
);
|
|
@@ -50718,7 +50718,7 @@ const scroll = "_scroll_xzacf_98";
|
|
|
50718
50718
|
const table = "_table_xzacf_108";
|
|
50719
50719
|
const dragOverlay = "_dragOverlay_xzacf_145";
|
|
50720
50720
|
const striped = "_striped_xzacf_194";
|
|
50721
|
-
const styles$
|
|
50721
|
+
const styles$c = {
|
|
50722
50722
|
inputInTable: inputInTable$2,
|
|
50723
50723
|
inputHover: inputHover$2,
|
|
50724
50724
|
inputFocus: inputFocus$2,
|
|
@@ -50734,7 +50734,7 @@ const styles$b = {
|
|
|
50734
50734
|
striped
|
|
50735
50735
|
};
|
|
50736
50736
|
const title$1 = "_title_zn5s7_1";
|
|
50737
|
-
const styles$
|
|
50737
|
+
const styles$b = {
|
|
50738
50738
|
title: title$1
|
|
50739
50739
|
};
|
|
50740
50740
|
const Title$1 = ({
|
|
@@ -50758,14 +50758,14 @@ const Title$1 = ({
|
|
|
50758
50758
|
}
|
|
50759
50759
|
return /* @__PURE__ */ jsx("div", { children: actionsComponent });
|
|
50760
50760
|
};
|
|
50761
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
50761
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$b.title, children: [
|
|
50762
50762
|
isNameDefined ? /* @__PURE__ */ jsx(Heading$2, { children: /* @__PURE__ */ jsx("span", { "data-testid": testId, children: name2 }) }) : null,
|
|
50763
50763
|
actionsContainer()
|
|
50764
50764
|
] });
|
|
50765
50765
|
};
|
|
50766
50766
|
const footer = "_footer_4sumy_1";
|
|
50767
50767
|
const section = "_section_4sumy_7";
|
|
50768
|
-
const styles$
|
|
50768
|
+
const styles$a = {
|
|
50769
50769
|
footer,
|
|
50770
50770
|
section
|
|
50771
50771
|
};
|
|
@@ -50791,11 +50791,11 @@ const Footer = ({
|
|
|
50791
50791
|
return showFooter ? /* @__PURE__ */ jsxs(
|
|
50792
50792
|
"div",
|
|
50793
50793
|
{
|
|
50794
|
-
className: styles$
|
|
50794
|
+
className: styles$a.footer,
|
|
50795
50795
|
"data-testid": `${testId ?? "pagination"}-footer`,
|
|
50796
50796
|
children: [
|
|
50797
|
-
hasContent ? /* @__PURE__ */ jsx("div", { className: styles$
|
|
50798
|
-
hasActions2 || hasPagination() ? /* @__PURE__ */ jsxs("div", { className: styles$
|
|
50797
|
+
hasContent ? /* @__PURE__ */ jsx("div", { className: styles$a.section, children: /* @__PURE__ */ jsx("div", { children: content2 }) }) : null,
|
|
50798
|
+
hasActions2 || hasPagination() ? /* @__PURE__ */ jsxs("div", { className: styles$a.section, children: [
|
|
50799
50799
|
hasPagination() ? /* @__PURE__ */ jsx(Pagination, { pagination }) : /* @__PURE__ */ jsx("div", {}),
|
|
50800
50800
|
hasActions2 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
|
|
50801
50801
|
] }) : null
|
|
@@ -50840,7 +50840,7 @@ const TableScrollWrapper = ({
|
|
|
50840
50840
|
setVisibleRows(visibleRows + pageSize);
|
|
50841
50841
|
}
|
|
50842
50842
|
};
|
|
50843
|
-
return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$
|
|
50843
|
+
return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$c.scroll, children: infiniteScroll ? /* @__PURE__ */ jsx(
|
|
50844
50844
|
InfiniteScroll,
|
|
50845
50845
|
{
|
|
50846
50846
|
dataLength: Math.min(rows.length, visibleRows + pageSize),
|
|
@@ -50860,7 +50860,7 @@ const expandableRow = "_expandableRow_10f34_8";
|
|
|
50860
50860
|
const flush = "_flush_10f34_8";
|
|
50861
50861
|
const dragIconCell = "_dragIconCell_10f34_34";
|
|
50862
50862
|
const dragIcon = "_dragIcon_10f34_34";
|
|
50863
|
-
const styles$
|
|
50863
|
+
const styles$9 = {
|
|
50864
50864
|
clickableRow,
|
|
50865
50865
|
hoverableRow,
|
|
50866
50866
|
rowActive,
|
|
@@ -50878,7 +50878,7 @@ const ExpandedContentRow = ({
|
|
|
50878
50878
|
"td",
|
|
50879
50879
|
{
|
|
50880
50880
|
colSpan,
|
|
50881
|
-
className: cx$2(styles$
|
|
50881
|
+
className: cx$2(styles$9.expandableRow, flush2 ? styles$9.flush : ""),
|
|
50882
50882
|
children
|
|
50883
50883
|
}
|
|
50884
50884
|
) });
|
|
@@ -50950,7 +50950,7 @@ const centerAligned = "_centerAligned_ie6ng_199";
|
|
|
50950
50950
|
const leftAligned = "_leftAligned_ie6ng_205";
|
|
50951
50951
|
const popover = "_popover_ie6ng_208";
|
|
50952
50952
|
const disabledPointerEvents = "_disabledPointerEvents_ie6ng_211";
|
|
50953
|
-
const styles$
|
|
50953
|
+
const styles$8 = {
|
|
50954
50954
|
inputInTable: inputInTable$1,
|
|
50955
50955
|
inputHover: inputHover$1,
|
|
50956
50956
|
inputFocus: inputFocus$1,
|
|
@@ -51269,8 +51269,8 @@ const InputCellWrapper = ({
|
|
|
51269
51269
|
"div",
|
|
51270
51270
|
{
|
|
51271
51271
|
className: cx$2(
|
|
51272
|
-
styles$
|
|
51273
|
-
cell2.type === "NumberInput" ? styles$
|
|
51272
|
+
styles$8.inputWrapper,
|
|
51273
|
+
cell2.type === "NumberInput" ? styles$8.numberInputWrapper : ""
|
|
51274
51274
|
),
|
|
51275
51275
|
children: cell2.type === "Input" ? /* @__PURE__ */ jsx(
|
|
51276
51276
|
InputCell,
|
|
@@ -51303,7 +51303,7 @@ const LinkCell = ({ cell: cell2, testId }) => {
|
|
|
51303
51303
|
const isTooltipEnabled = (text2) => {
|
|
51304
51304
|
return isStringNumberOrNode(text2);
|
|
51305
51305
|
};
|
|
51306
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
51306
|
+
return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
|
|
51307
51307
|
Tooltip,
|
|
51308
51308
|
{
|
|
51309
51309
|
error: !!error2,
|
|
@@ -51315,14 +51315,14 @@ const LinkCell = ({ cell: cell2, testId }) => {
|
|
|
51315
51315
|
children: /* @__PURE__ */ jsx(
|
|
51316
51316
|
"div",
|
|
51317
51317
|
{
|
|
51318
|
-
className: styles$
|
|
51318
|
+
className: styles$8.staticCellContent,
|
|
51319
51319
|
"data-error": error2 || null,
|
|
51320
51320
|
"data-warning": warning2 || null,
|
|
51321
51321
|
children: /* @__PURE__ */ jsx(
|
|
51322
51322
|
"a",
|
|
51323
51323
|
{
|
|
51324
51324
|
className: cx$2(
|
|
51325
|
-
(cell2.disabled || disabledContext) && styles$
|
|
51325
|
+
(cell2.disabled || disabledContext) && styles$8.disabledLink
|
|
51326
51326
|
),
|
|
51327
51327
|
onClick: cell2.disabled || disabledContext ? void 0 : (evt) => {
|
|
51328
51328
|
var _a2;
|
|
@@ -51353,7 +51353,7 @@ const CheckBoxCell = ({ cell: cell2, testId }) => {
|
|
|
51353
51353
|
);
|
|
51354
51354
|
};
|
|
51355
51355
|
const SliderCell = ({ cell: cell2 }) => {
|
|
51356
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
51356
|
+
return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
|
|
51357
51357
|
Slider,
|
|
51358
51358
|
{
|
|
51359
51359
|
label: cell2.label,
|
|
@@ -51372,7 +51372,7 @@ const SliderCell = ({ cell: cell2 }) => {
|
|
|
51372
51372
|
};
|
|
51373
51373
|
const IconCell = ({ cell: cell2 }) => {
|
|
51374
51374
|
const { tooltip: tooltip2, icon: icon2 } = cell2;
|
|
51375
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
51375
|
+
return /* @__PURE__ */ jsx("div", { className: styles$8.iconCellWrapper, children: /* @__PURE__ */ jsx(
|
|
51376
51376
|
Tooltip,
|
|
51377
51377
|
{
|
|
51378
51378
|
text: tooltip2,
|
|
@@ -51388,11 +51388,11 @@ const ActionsCell = ({ cell: cell2 }) => {
|
|
|
51388
51388
|
};
|
|
51389
51389
|
const CellHelpIcon = ({ cell: cell2 }) => {
|
|
51390
51390
|
const { helpIcon: helpIcon2 } = cell2;
|
|
51391
|
-
return helpIcon2 ? /* @__PURE__ */ jsx("div", { className: styles$
|
|
51391
|
+
return helpIcon2 ? /* @__PURE__ */ jsx("div", { className: styles$8.icon, children: /* @__PURE__ */ jsx(HelpIcon, { onClick: helpIcon2.onClick, text: helpIcon2.tooltip }) }) : null;
|
|
51392
51392
|
};
|
|
51393
51393
|
const CellLibraryIcon = ({ cell: cell2 }) => {
|
|
51394
51394
|
const { libraryIcon } = cell2;
|
|
51395
|
-
return libraryIcon ? /* @__PURE__ */ jsx("div", { className: styles$
|
|
51395
|
+
return libraryIcon ? /* @__PURE__ */ jsx("div", { className: styles$8.icon, children: /* @__PURE__ */ jsx(
|
|
51396
51396
|
HelpIcon,
|
|
51397
51397
|
{
|
|
51398
51398
|
onClick: libraryIcon.onClick,
|
|
@@ -51403,7 +51403,7 @@ const CellLibraryIcon = ({ cell: cell2 }) => {
|
|
|
51403
51403
|
};
|
|
51404
51404
|
const Sort = ({ cell: cell2 }) => {
|
|
51405
51405
|
const { hasSort, sort: sort2, sortPriority } = cell2;
|
|
51406
|
-
return hasSort ? /* @__PURE__ */ jsxs("span", { className: styles$
|
|
51406
|
+
return hasSort ? /* @__PURE__ */ jsxs("span", { className: styles$8.sortingCellIcon, children: [
|
|
51407
51407
|
sort2 === "down" ? /* @__PURE__ */ jsx(Text, { link: true, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.SORT_ASCENDING }) }) : sort2 === "up" ? /* @__PURE__ */ jsx(Text, { link: true, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.SORT_DESCENDING }) }) : /* @__PURE__ */ jsx(Text, { faint: true, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.SORT_DESCENDING }) }),
|
|
51408
51408
|
sortPriority && sort2 ? /* @__PURE__ */ jsx("sup", { children: sortPriority }) : null
|
|
51409
51409
|
] }) : null;
|
|
@@ -51414,8 +51414,8 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
|
|
|
51414
51414
|
"div",
|
|
51415
51415
|
{
|
|
51416
51416
|
className: cx$2(
|
|
51417
|
-
styles$
|
|
51418
|
-
type === "Unit" ? styles$
|
|
51417
|
+
styles$8.staticCellContent,
|
|
51418
|
+
type === "Unit" ? styles$8.unit : ""
|
|
51419
51419
|
),
|
|
51420
51420
|
onClick: hasSort ? (evt) => onSort && onSort(evt) : () => {
|
|
51421
51421
|
},
|
|
@@ -51432,7 +51432,7 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
|
|
|
51432
51432
|
]
|
|
51433
51433
|
}
|
|
51434
51434
|
);
|
|
51435
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
51435
|
+
return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
|
|
51436
51436
|
Tooltip,
|
|
51437
51437
|
{
|
|
51438
51438
|
error: !!error2,
|
|
@@ -51455,7 +51455,7 @@ const PopoverCell = ({ cell: cell2, testId }) => {
|
|
|
51455
51455
|
fullWidth,
|
|
51456
51456
|
closeOnOutsideClick,
|
|
51457
51457
|
disabled: disabled2,
|
|
51458
|
-
children: /* @__PURE__ */ jsx("div", { className: styles$
|
|
51458
|
+
children: /* @__PURE__ */ jsx("div", { className: styles$8.popover, children: /* @__PURE__ */ jsx(StaticCell, { cell: cell2, testId }) })
|
|
51459
51459
|
}
|
|
51460
51460
|
);
|
|
51461
51461
|
};
|
|
@@ -51522,15 +51522,15 @@ const Cell = ({
|
|
|
51522
51522
|
headerAlignment: columnHeaderAlignment,
|
|
51523
51523
|
isHeader
|
|
51524
51524
|
};
|
|
51525
|
-
const cellAlignmentStyle = getCellAlignment(alignment, styles$
|
|
51526
|
-
const cellAlignmentText = getCellAlignment(alignment, styles$
|
|
51527
|
-
const cellTypeClassName = cell2.type === CellType.INPUT || cell2.type === CellType.NUMBER_INPUT || cell2.type === CellType.SELECT || cell2.type === CellType.POPOVER ? styles$
|
|
51525
|
+
const cellAlignmentStyle = getCellAlignment(alignment, styles$8);
|
|
51526
|
+
const cellAlignmentText = getCellAlignment(alignment, styles$8, true);
|
|
51527
|
+
const cellTypeClassName = cell2.type === CellType.INPUT || cell2.type === CellType.NUMBER_INPUT || cell2.type === CellType.SELECT || cell2.type === CellType.POPOVER ? styles$8.inputCell : cell2.type === CellType.SLIDER ? styles$8.sliderCell : cell2.type === CellType.CHECKBOX ? styles$8.checkBoxCell : cell2.type === CellType.ACTIONS ? styles$8.actionsCell : styles$8.staticCell;
|
|
51528
51528
|
const className = cx$2(
|
|
51529
|
-
styles$
|
|
51529
|
+
styles$8.cell,
|
|
51530
51530
|
cellTypeClassName,
|
|
51531
|
-
cell2.hasSort ? styles$
|
|
51531
|
+
cell2.hasSort ? styles$8.sortingCell : null,
|
|
51532
51532
|
cellAlignmentStyle,
|
|
51533
|
-
cell2.breakWord ? styles$
|
|
51533
|
+
cell2.breakWord ? styles$8.breakWord : ""
|
|
51534
51534
|
);
|
|
51535
51535
|
const width2 = cellWidthProp ?? columnWidthProp ?? void 0;
|
|
51536
51536
|
const style = { width: width2, minWidth: width2, ...styleProp };
|
|
@@ -51630,7 +51630,7 @@ const Row = ({
|
|
|
51630
51630
|
if (row2.noDrag) {
|
|
51631
51631
|
return /* @__PURE__ */ jsx("td", { "aria-labelledby": "unique-label-id" });
|
|
51632
51632
|
}
|
|
51633
|
-
return /* @__PURE__ */ jsx("td", { className: styles$
|
|
51633
|
+
return /* @__PURE__ */ jsx("td", { className: styles$9.dragIconCell, children: /* @__PURE__ */ jsx("div", { className: styles$9.dragIcon, ...attributes, ...listeners, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.DRAG }) }) });
|
|
51634
51634
|
};
|
|
51635
51635
|
return isHeader ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
51636
51636
|
/* @__PURE__ */ jsxs(
|
|
@@ -51641,8 +51641,8 @@ const Row = ({
|
|
|
51641
51641
|
onMouseLeave: onRowMouseLeave,
|
|
51642
51642
|
onFocus: onRowFocus,
|
|
51643
51643
|
className: cx$2(
|
|
51644
|
-
onRowClick ? styles$
|
|
51645
|
-
onRowMouseEnter ? styles$
|
|
51644
|
+
onRowClick ? styles$9.clickableRow : null,
|
|
51645
|
+
onRowMouseEnter ? styles$9.hoverableRow : null
|
|
51646
51646
|
),
|
|
51647
51647
|
children: [
|
|
51648
51648
|
draggableTable ? (
|
|
@@ -51674,9 +51674,9 @@ const Row = ({
|
|
|
51674
51674
|
onMouseLeave: onRowMouseLeave,
|
|
51675
51675
|
onFocus: onRowFocus,
|
|
51676
51676
|
className: cx$2(
|
|
51677
|
-
onRowClick && !onRowClick.noStyle ? styles$
|
|
51678
|
-
onRowMouseEnter && !onRowMouseEnter.noStyle ? styles$
|
|
51679
|
-
active2 ? styles$
|
|
51677
|
+
onRowClick && !onRowClick.noStyle ? styles$9.clickableRow : null,
|
|
51678
|
+
onRowMouseEnter && !onRowMouseEnter.noStyle ? styles$9.hoverableRow : null,
|
|
51679
|
+
active2 ? styles$9.rowActive : null
|
|
51680
51680
|
),
|
|
51681
51681
|
"data-error": error2 || null,
|
|
51682
51682
|
"data-warning": warning2 || null,
|
|
@@ -51752,7 +51752,7 @@ const TableDragWrapper = (props) => {
|
|
|
51752
51752
|
children: [
|
|
51753
51753
|
/* @__PURE__ */ jsx(SortableContext, { items: itemIds, strategy: verticalListSortingStrategy, children }),
|
|
51754
51754
|
!!dragIndex && createPortal(
|
|
51755
|
-
/* @__PURE__ */ jsx(DragOverlay, { dropAnimation: null, children: /* @__PURE__ */ jsx("table", { className: cx$2(styles$
|
|
51755
|
+
/* @__PURE__ */ jsx(DragOverlay, { dropAnimation: null, children: /* @__PURE__ */ jsx("table", { className: cx$2(styles$c.table, styles$c.dragOverlay), children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx(
|
|
51756
51756
|
Row,
|
|
51757
51757
|
{
|
|
51758
51758
|
rowIndex: Number(dragIndex),
|
|
@@ -51837,7 +51837,7 @@ const Table = (props) => {
|
|
|
51837
51837
|
...propTable,
|
|
51838
51838
|
rows
|
|
51839
51839
|
};
|
|
51840
|
-
const wrapperClass = cx$2(styles$
|
|
51840
|
+
const wrapperClass = cx$2(styles$c.wrapper, bordered2 ? styles$c.bordered : "");
|
|
51841
51841
|
const wrapperStyles = {
|
|
51842
51842
|
maxHeight,
|
|
51843
51843
|
width: width2,
|
|
@@ -51868,7 +51868,7 @@ const Table = (props) => {
|
|
|
51868
51868
|
children: /* @__PURE__ */ jsxs(
|
|
51869
51869
|
"table",
|
|
51870
51870
|
{
|
|
51871
|
-
className: cx$2(styles$
|
|
51871
|
+
className: cx$2(styles$c.table, striped2 ? styles$c.striped : ""),
|
|
51872
51872
|
"data-testid": testId,
|
|
51873
51873
|
children: [
|
|
51874
51874
|
/* @__PURE__ */ jsx("thead", { children: headers.map((row2, rowIndex) => {
|
|
@@ -51928,7 +51928,7 @@ const hidden = "_hidden_1y79t_58";
|
|
|
51928
51928
|
const disabled$1 = "_disabled_1y79t_61";
|
|
51929
51929
|
const left$1 = "_left_1y79t_65";
|
|
51930
51930
|
const right$1 = "_right_1y79t_65";
|
|
51931
|
-
const styles$
|
|
51931
|
+
const styles$7 = {
|
|
51932
51932
|
tabs,
|
|
51933
51933
|
padding,
|
|
51934
51934
|
margin,
|
|
@@ -51961,11 +51961,11 @@ const Label = ({
|
|
|
51961
51961
|
id: label2 == null ? void 0 : label2.toString(),
|
|
51962
51962
|
href: url,
|
|
51963
51963
|
className: cx$2(
|
|
51964
|
-
styles$
|
|
51965
|
-
active2 ? styles$
|
|
51966
|
-
disabled2 ? styles$
|
|
51967
|
-
hidden2 && !active2 ? styles$
|
|
51968
|
-
right2 ? styles$
|
|
51964
|
+
styles$7.item,
|
|
51965
|
+
active2 ? styles$7.active : "",
|
|
51966
|
+
disabled2 ? styles$7.disabled : "",
|
|
51967
|
+
hidden2 && !active2 ? styles$7.hidden : "",
|
|
51968
|
+
right2 ? styles$7.right : styles$7.left
|
|
51969
51969
|
),
|
|
51970
51970
|
onClick,
|
|
51971
51971
|
"data-testid": testId,
|
|
@@ -51978,7 +51978,7 @@ const Content$1 = ({
|
|
|
51978
51978
|
activeTabIndex,
|
|
51979
51979
|
contentPadding: contentPadding2
|
|
51980
51980
|
}) => {
|
|
51981
|
-
return Array.isArray(children) ? /* @__PURE__ */ jsx("div", { className: cx$2(contentPadding2 ? styles$
|
|
51981
|
+
return Array.isArray(children) ? /* @__PURE__ */ jsx("div", { className: cx$2(contentPadding2 ? styles$7.contentPadding : ""), children: children.map((child, index2) => activeTabIndex === index2 && child) }) : null;
|
|
51982
51982
|
};
|
|
51983
51983
|
const Tabs = ({
|
|
51984
51984
|
name: name2 = void 0,
|
|
@@ -52068,9 +52068,9 @@ const Tabs = ({
|
|
|
52068
52068
|
"div",
|
|
52069
52069
|
{
|
|
52070
52070
|
className: cx$2(
|
|
52071
|
-
styles$
|
|
52072
|
-
padding2 ? styles$
|
|
52073
|
-
margin2 ? styles$
|
|
52071
|
+
styles$7.tabs,
|
|
52072
|
+
padding2 ? styles$7.padding : "",
|
|
52073
|
+
margin2 ? styles$7.margin : ""
|
|
52074
52074
|
),
|
|
52075
52075
|
"data-testid": testId,
|
|
52076
52076
|
children: tabs2.map(renderTab)
|
|
@@ -52118,7 +52118,7 @@ const hideScrollbars = "_hideScrollbars_q0tl0_67";
|
|
|
52118
52118
|
const textarea = "_textarea_q0tl0_77";
|
|
52119
52119
|
const small$1 = "_small_q0tl0_116";
|
|
52120
52120
|
const monospace = "_monospace_q0tl0_155";
|
|
52121
|
-
const styles$
|
|
52121
|
+
const styles$6 = {
|
|
52122
52122
|
inputInTable,
|
|
52123
52123
|
inputHover,
|
|
52124
52124
|
inputFocus,
|
|
@@ -52155,10 +52155,10 @@ const TextArea = ({
|
|
|
52155
52155
|
"textarea",
|
|
52156
52156
|
{
|
|
52157
52157
|
className: cx$2(
|
|
52158
|
-
styles$
|
|
52159
|
-
error2 ? styles$
|
|
52160
|
-
warning2 ? styles$
|
|
52161
|
-
monospace2 ? styles$
|
|
52158
|
+
styles$6.textarea,
|
|
52159
|
+
error2 ? styles$6.error : "",
|
|
52160
|
+
warning2 ? styles$6.warning : "",
|
|
52161
|
+
monospace2 ? styles$6.monospace : ""
|
|
52162
52162
|
),
|
|
52163
52163
|
name: name2,
|
|
52164
52164
|
value,
|
|
@@ -53283,7 +53283,7 @@ const small = "_small_1mo1i_25";
|
|
|
53283
53283
|
const disabled = "_disabled_1mo1i_102";
|
|
53284
53284
|
const noMargin = "_noMargin_1mo1i_113";
|
|
53285
53285
|
const helpIconEnabled = "_helpIconEnabled_1mo1i_116";
|
|
53286
|
-
const styles$
|
|
53286
|
+
const styles$5 = {
|
|
53287
53287
|
toggle: toggle$1,
|
|
53288
53288
|
small,
|
|
53289
53289
|
disabled,
|
|
@@ -53310,10 +53310,10 @@ const Toggle = ({
|
|
|
53310
53310
|
"div",
|
|
53311
53311
|
{
|
|
53312
53312
|
className: cx$2(
|
|
53313
|
-
styles$
|
|
53314
|
-
isDisabled ? styles$
|
|
53315
|
-
small2 ? styles$
|
|
53316
|
-
noMargin2 ? styles$
|
|
53313
|
+
styles$5.toggle,
|
|
53314
|
+
isDisabled ? styles$5.disabled : null,
|
|
53315
|
+
small2 ? styles$5.small : null,
|
|
53316
|
+
noMargin2 ? styles$5.noMargin : null
|
|
53317
53317
|
),
|
|
53318
53318
|
style: { display },
|
|
53319
53319
|
onClick: (evt) => {
|
|
@@ -53339,7 +53339,7 @@ const Toggle = ({
|
|
|
53339
53339
|
}
|
|
53340
53340
|
),
|
|
53341
53341
|
/* @__PURE__ */ jsx("label", { children: label2 }),
|
|
53342
|
-
showHelp && /* @__PURE__ */ jsx("div", { className: styles$
|
|
53342
|
+
showHelp && /* @__PURE__ */ jsx("div", { className: styles$5.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
|
|
53343
53343
|
]
|
|
53344
53344
|
}
|
|
53345
53345
|
);
|
|
@@ -53360,7 +53360,7 @@ const button = "_button_oyr59_138";
|
|
|
53360
53360
|
const menu = "_menu_oyr59_139";
|
|
53361
53361
|
const active = "_active_oyr59_168";
|
|
53362
53362
|
const alert = "_alert_oyr59_193";
|
|
53363
|
-
const styles$
|
|
53363
|
+
const styles$4 = {
|
|
53364
53364
|
topbar,
|
|
53365
53365
|
fixed,
|
|
53366
53366
|
appSwitcher,
|
|
@@ -53379,7 +53379,7 @@ const styles$3 = {
|
|
|
53379
53379
|
alert
|
|
53380
53380
|
};
|
|
53381
53381
|
const Warning = ({ warning: warning2 }) => {
|
|
53382
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
53382
|
+
return /* @__PURE__ */ jsx("div", { className: styles$4.alert, children: warning2 });
|
|
53383
53383
|
};
|
|
53384
53384
|
const AppSwitcher = ({
|
|
53385
53385
|
icon: icon2,
|
|
@@ -53387,7 +53387,7 @@ const AppSwitcher = ({
|
|
|
53387
53387
|
onClick
|
|
53388
53388
|
}) => {
|
|
53389
53389
|
const content2 = /* @__PURE__ */ jsx(Icon, { icon: icon2 });
|
|
53390
|
-
return url ? /* @__PURE__ */ jsx("a", { href: url, onClick, className: styles$
|
|
53390
|
+
return url ? /* @__PURE__ */ jsx("a", { href: url, onClick, className: styles$4.appSwitcher, children: content2 }) : /* @__PURE__ */ jsx("div", { onClick, className: styles$4.appSwitcher, children: content2 });
|
|
53391
53391
|
};
|
|
53392
53392
|
const Title = ({
|
|
53393
53393
|
label: label2,
|
|
@@ -53396,12 +53396,12 @@ const Title = ({
|
|
|
53396
53396
|
version: version2,
|
|
53397
53397
|
onClick
|
|
53398
53398
|
}) => {
|
|
53399
|
-
const content2 = /* @__PURE__ */ jsxs("div", { className: styles$
|
|
53400
|
-
logo2 && /* @__PURE__ */ jsx("div", { className: styles$
|
|
53401
|
-
label2 && /* @__PURE__ */ jsx("span", { className: styles$
|
|
53402
|
-
version2 && /* @__PURE__ */ jsx("div", { className: styles$
|
|
53399
|
+
const content2 = /* @__PURE__ */ jsxs("div", { className: styles$4.title, children: [
|
|
53400
|
+
logo2 && /* @__PURE__ */ jsx("div", { className: styles$4.logo, children: logo2 }),
|
|
53401
|
+
label2 && /* @__PURE__ */ jsx("span", { className: styles$4.label, children: label2 }),
|
|
53402
|
+
version2 && /* @__PURE__ */ jsx("div", { className: styles$4.version, children: version2 })
|
|
53403
53403
|
] });
|
|
53404
|
-
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
53404
|
+
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$4.item, styles$4.brand), children: url ? /* @__PURE__ */ jsx("a", { href: url, onClick, children: content2 }) : /* @__PURE__ */ jsx("div", { onClick, children: content2 }) });
|
|
53405
53405
|
};
|
|
53406
53406
|
var ElementType = /* @__PURE__ */ ((ElementType2) => {
|
|
53407
53407
|
ElementType2["LINK"] = "Link";
|
|
@@ -53430,7 +53430,7 @@ const Link = ({
|
|
|
53430
53430
|
return /* @__PURE__ */ jsxs(
|
|
53431
53431
|
Component2,
|
|
53432
53432
|
{
|
|
53433
|
-
className: cx$2(styles$
|
|
53433
|
+
className: cx$2(styles$4.link, active2 ? styles$4.active : ""),
|
|
53434
53434
|
href: url || "#",
|
|
53435
53435
|
to: url,
|
|
53436
53436
|
onClick: handleClick2,
|
|
@@ -53439,7 +53439,7 @@ const Link = ({
|
|
|
53439
53439
|
role: onClick && !url ? "button" : void 0,
|
|
53440
53440
|
children: [
|
|
53441
53441
|
icon2,
|
|
53442
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
53442
|
+
/* @__PURE__ */ jsx("span", { className: styles$4.label, children: label2 })
|
|
53443
53443
|
]
|
|
53444
53444
|
}
|
|
53445
53445
|
);
|
|
@@ -53447,7 +53447,7 @@ const Link = ({
|
|
|
53447
53447
|
const Element$1 = ({ element }) => {
|
|
53448
53448
|
switch (element.type) {
|
|
53449
53449
|
case ElementType.LINK:
|
|
53450
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
53450
|
+
return /* @__PURE__ */ jsx("div", { className: styles$4.item, children: /* @__PURE__ */ jsx(
|
|
53451
53451
|
Link,
|
|
53452
53452
|
{
|
|
53453
53453
|
label: element.label,
|
|
@@ -53461,7 +53461,7 @@ const Element$1 = ({ element }) => {
|
|
|
53461
53461
|
}
|
|
53462
53462
|
) });
|
|
53463
53463
|
case ElementType.BUTTON:
|
|
53464
|
-
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
53464
|
+
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$4.item, styles$4.button), children: /* @__PURE__ */ jsx(
|
|
53465
53465
|
Button$1,
|
|
53466
53466
|
{
|
|
53467
53467
|
label: element.label,
|
|
@@ -53474,7 +53474,7 @@ const Element$1 = ({ element }) => {
|
|
|
53474
53474
|
}
|
|
53475
53475
|
) });
|
|
53476
53476
|
case ElementType.MENU:
|
|
53477
|
-
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$
|
|
53477
|
+
return /* @__PURE__ */ jsx("div", { className: cx$2(styles$4.item, styles$4.menu), children: /* @__PURE__ */ jsx(
|
|
53478
53478
|
Menu,
|
|
53479
53479
|
{
|
|
53480
53480
|
maxHeight: "100%",
|
|
@@ -53495,7 +53495,7 @@ const Element$1 = ({ element }) => {
|
|
|
53495
53495
|
}
|
|
53496
53496
|
) });
|
|
53497
53497
|
case ElementType.COMPONENT:
|
|
53498
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
53498
|
+
return /* @__PURE__ */ jsx("div", { className: styles$4.item, children: element.component });
|
|
53499
53499
|
default:
|
|
53500
53500
|
return null;
|
|
53501
53501
|
}
|
|
@@ -53514,7 +53514,7 @@ const TopBar = ({
|
|
|
53514
53514
|
/* @__PURE__ */ jsxs(
|
|
53515
53515
|
"div",
|
|
53516
53516
|
{
|
|
53517
|
-
className: cx$2(styles$
|
|
53517
|
+
className: cx$2(styles$4.topbar, fixedPosition ? styles$4.fixed : ""),
|
|
53518
53518
|
style: { height: height2 },
|
|
53519
53519
|
children: [
|
|
53520
53520
|
!!appSwitcher2 && /* @__PURE__ */ jsx(
|
|
@@ -53525,7 +53525,7 @@ const TopBar = ({
|
|
|
53525
53525
|
onClick: appSwitcher2.onClick
|
|
53526
53526
|
}
|
|
53527
53527
|
),
|
|
53528
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
53528
|
+
/* @__PURE__ */ jsxs("div", { className: styles$4.left, children: [
|
|
53529
53529
|
title2 && /* @__PURE__ */ jsx(
|
|
53530
53530
|
Title,
|
|
53531
53531
|
{
|
|
@@ -53543,7 +53543,7 @@ const TopBar = ({
|
|
|
53543
53543
|
return null;
|
|
53544
53544
|
})
|
|
53545
53545
|
] }),
|
|
53546
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
53546
|
+
/* @__PURE__ */ jsx("div", { className: styles$4.right, children: contentRight.map((element, i) => {
|
|
53547
53547
|
if (element) {
|
|
53548
53548
|
return /* @__PURE__ */ jsx(Element$1, { element }, i);
|
|
53549
53549
|
}
|
|
@@ -53557,7 +53557,7 @@ const TopBar = ({
|
|
|
53557
53557
|
const popConfirm = "_popConfirm_1x6ye_1";
|
|
53558
53558
|
const content = "_content_1x6ye_7";
|
|
53559
53559
|
const buttons = "_buttons_1x6ye_13";
|
|
53560
|
-
const styles$
|
|
53560
|
+
const styles$3 = {
|
|
53561
53561
|
popConfirm,
|
|
53562
53562
|
content,
|
|
53563
53563
|
buttons
|
|
@@ -53571,9 +53571,9 @@ const Content = ({
|
|
|
53571
53571
|
onClickCancel,
|
|
53572
53572
|
close: close2,
|
|
53573
53573
|
testId
|
|
53574
|
-
}) => /* @__PURE__ */ jsxs("div", { className: styles$
|
|
53575
|
-
title2 && /* @__PURE__ */ jsx("div", { className: styles$
|
|
53576
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
53574
|
+
}) => /* @__PURE__ */ jsxs("div", { className: styles$3.popConfirm, children: [
|
|
53575
|
+
title2 && /* @__PURE__ */ jsx("div", { className: styles$3.content, children: /* @__PURE__ */ jsx(Text, { small: true, children: title2 }) }),
|
|
53576
|
+
/* @__PURE__ */ jsxs("div", { className: styles$3.buttons, children: [
|
|
53577
53577
|
/* @__PURE__ */ jsx(
|
|
53578
53578
|
Button$1,
|
|
53579
53579
|
{
|
|
@@ -65454,7 +65454,7 @@ const dropTarget = "_dropTarget_15yn1_11";
|
|
|
65454
65454
|
const draggingSource = "_draggingSource_15yn1_26";
|
|
65455
65455
|
const placeholderContainer = "_placeholderContainer_15yn1_29";
|
|
65456
65456
|
const placeholder = "_placeholder_15yn1_29";
|
|
65457
|
-
const styles$
|
|
65457
|
+
const styles$2 = {
|
|
65458
65458
|
tree,
|
|
65459
65459
|
toggle,
|
|
65460
65460
|
dropTarget,
|
|
@@ -65542,7 +65542,7 @@ const TreeItem = ({
|
|
|
65542
65542
|
isDragOver ? listStyles.noPointerEvents : ""
|
|
65543
65543
|
),
|
|
65544
65544
|
children: [
|
|
65545
|
-
hasChild && /* @__PURE__ */ jsx("div", { className: styles$
|
|
65545
|
+
hasChild && /* @__PURE__ */ jsx("div", { className: styles$2.toggle, children: /* @__PURE__ */ jsx(
|
|
65546
65546
|
Button$1,
|
|
65547
65547
|
{
|
|
65548
65548
|
basic: true,
|
|
@@ -65562,7 +65562,7 @@ const TreeItem = ({
|
|
|
65562
65562
|
}
|
|
65563
65563
|
);
|
|
65564
65564
|
};
|
|
65565
|
-
const TreePlaceholder = ({ depth }) => /* @__PURE__ */ jsx("div", { className: styles$
|
|
65565
|
+
const TreePlaceholder = ({ depth }) => /* @__PURE__ */ jsx("div", { className: styles$2.placeholder, style: { left: depth * 24 } });
|
|
65566
65566
|
const Tree = ({
|
|
65567
65567
|
list: list2,
|
|
65568
65568
|
draggable = false,
|
|
@@ -65704,10 +65704,10 @@ const Tree = ({
|
|
|
65704
65704
|
listComponent: "div",
|
|
65705
65705
|
listItemComponent: "div",
|
|
65706
65706
|
classes: {
|
|
65707
|
-
root: styles$
|
|
65708
|
-
draggingSource: styles$
|
|
65709
|
-
dropTarget: styles$
|
|
65710
|
-
placeholder: styles$
|
|
65707
|
+
root: styles$2.tree,
|
|
65708
|
+
draggingSource: styles$2.draggingSource,
|
|
65709
|
+
dropTarget: styles$2.dropTarget,
|
|
65710
|
+
placeholder: styles$2.placeholderContainer
|
|
65711
65711
|
},
|
|
65712
65712
|
initialOpen: isInitialOpen
|
|
65713
65713
|
}
|
|
@@ -65888,7 +65888,7 @@ const safeRoundNumbers = (value) => {
|
|
|
65888
65888
|
};
|
|
65889
65889
|
const predefinedMenuActive = "_predefinedMenuActive_ye9w9_1";
|
|
65890
65890
|
const inputWrapper = "_inputWrapper_ye9w9_4";
|
|
65891
|
-
const styles = {
|
|
65891
|
+
const styles$1 = {
|
|
65892
65892
|
predefinedMenuActive,
|
|
65893
65893
|
inputWrapper
|
|
65894
65894
|
};
|
|
@@ -66140,7 +66140,7 @@ const UnitInput = ({
|
|
|
66140
66140
|
return /* @__PURE__ */ jsx(
|
|
66141
66141
|
"div",
|
|
66142
66142
|
{
|
|
66143
|
-
className: predefinedOptionsMenuState === PredefinedOptionsMenuState.PREDEFINED ? cx$2(styles.predefinedMenuActive) : "",
|
|
66143
|
+
className: predefinedOptionsMenuState === PredefinedOptionsMenuState.PREDEFINED ? cx$2(styles$1.predefinedMenuActive) : "",
|
|
66144
66144
|
children: /* @__PURE__ */ jsxs(InputGroup, { small: small2, width: width2, children: [
|
|
66145
66145
|
predefinedOptions && /* @__PURE__ */ jsx(
|
|
66146
66146
|
Tooltip,
|
|
@@ -66171,7 +66171,7 @@ const UnitInput = ({
|
|
|
66171
66171
|
)
|
|
66172
66172
|
}
|
|
66173
66173
|
),
|
|
66174
|
-
/* @__PURE__ */ jsx("div", { className: styles.inputWrapper, children: /* @__PURE__ */ jsx(
|
|
66174
|
+
/* @__PURE__ */ jsx("div", { className: styles$1.inputWrapper, children: /* @__PURE__ */ jsx(
|
|
66175
66175
|
NumberInput,
|
|
66176
66176
|
{
|
|
66177
66177
|
name: stringName,
|
|
@@ -66545,9 +66545,17 @@ const SmartUploadModal = ({
|
|
|
66545
66545
|
}
|
|
66546
66546
|
) });
|
|
66547
66547
|
};
|
|
66548
|
+
const settingField = "_settingField_cguvy_1";
|
|
66549
|
+
const settingFieldContent = "_settingFieldContent_cguvy_8";
|
|
66550
|
+
const settingFieldHelpText = "_settingFieldHelpText_cguvy_11";
|
|
66551
|
+
const styles = {
|
|
66552
|
+
settingField,
|
|
66553
|
+
settingFieldContent,
|
|
66554
|
+
settingFieldHelpText
|
|
66555
|
+
};
|
|
66548
66556
|
const SettingField = ({
|
|
66549
66557
|
helpText,
|
|
66550
|
-
|
|
66558
|
+
disabled: disabled2 = false,
|
|
66551
66559
|
children,
|
|
66552
66560
|
noPermission = false,
|
|
66553
66561
|
selectedOption,
|
|
@@ -66557,9 +66565,9 @@ const SettingField = ({
|
|
|
66557
66565
|
{ label: "All users", value: "all_users" },
|
|
66558
66566
|
{ label: "Admin only", value: "superusers_admin" }
|
|
66559
66567
|
];
|
|
66560
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
66561
|
-
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", children: [
|
|
66562
|
-
children,
|
|
66568
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.settingField, children: [
|
|
66569
|
+
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", wrap: false, children: [
|
|
66570
|
+
/* @__PURE__ */ jsx("div", { className: styles.settingFieldContent, children }),
|
|
66563
66571
|
!noPermission && /* @__PURE__ */ jsx(
|
|
66564
66572
|
Select,
|
|
66565
66573
|
{
|
|
@@ -66568,7 +66576,7 @@ const SettingField = ({
|
|
|
66568
66576
|
name: "userType",
|
|
66569
66577
|
options,
|
|
66570
66578
|
value: selectedOption,
|
|
66571
|
-
disabled:
|
|
66579
|
+
disabled: disabled2,
|
|
66572
66580
|
onChange: handleSelectChange ? (e2) => handleSelectChange(
|
|
66573
66581
|
e2.target.value
|
|
66574
66582
|
) : void 0,
|
|
@@ -66577,7 +66585,7 @@ const SettingField = ({
|
|
|
66577
66585
|
}
|
|
66578
66586
|
)
|
|
66579
66587
|
] }),
|
|
66580
|
-
/* @__PURE__ */ jsx(Text, { muted: true, children: helpText })
|
|
66588
|
+
!!helpText && /* @__PURE__ */ jsx("div", { className: styles.settingFieldHelpText, children: /* @__PURE__ */ jsx(Text, { muted: true, children: helpText }) })
|
|
66581
66589
|
] });
|
|
66582
66590
|
};
|
|
66583
66591
|
export {
|