@oliasoft-open-source/react-ui-library 4.11.2 → 4.11.3-beta-2
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/assets/{index-BVCFmQTa.js → index-BMWyiwz3.js} +169 -145
- package/dist/assets/{index-BU9wzZv9.css → index-BaYhOc6M.css} +37 -5
- package/dist/index.html +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-KGDBMAHA-DX793BVg.js → Color-KGDBMAHA-Bnj89L-A.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-PKQXORMH-CaajuS1x.js → DocsRenderer-PKQXORMH-QUJl5DIT.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-BBI2j2NQ.js → buttons-and-links-CzMplQyX.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-CMOqkjap.js → chunk-HLWAVYOI-BzjfwAFt.js} +1 -1
- package/dist/storybook/assets/{color-ClSYef1s.js → color-DMI_LL9Y.js} +1 -1
- package/dist/storybook/assets/{iframe-DoiQVlDm.js → iframe-D7uA6LlZ.js} +2 -2
- package/dist/storybook/assets/{index-C7wMBNKk.js → index-BL00YxVv.js} +1 -1
- package/dist/storybook/assets/{index-DR_rkfUM.js → index-CDbixbhF.js} +88 -88
- package/dist/storybook/assets/{input-validation-DP5gVriP.js → input-validation-D-Ft5BCF.js} +1 -1
- package/dist/storybook/assets/{inputs-pjdW6Iyv.js → inputs-cQ55JAoI.js} +1 -1
- package/dist/storybook/assets/{layout-forms-Bu6pFVA8.js → layout-forms-Bvrdok9B.js} +1 -1
- package/dist/storybook/assets/{layout-general-B0LrW-Ux.js → layout-general-Cg0gSZB3.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-Ro5zno4Z.js → padding-and-spacing-DDAtfb-b.js} +1 -1
- package/dist/storybook/assets/{preview-DxVss8pC.js → preview-CUJNe5HT.js} +1 -1
- package/dist/storybook/assets/{preview-D81P9wUG.js → preview-Rrrgw5d3.js} +2 -2
- package/dist/storybook/assets/unit-input-C07ZKMj5.js +10 -0
- package/dist/storybook/assets/{unit-input.stories-Btz2M_TP.js → unit-input.stories-BP03WTYV.js} +1 -1
- package/dist/storybook/assets/{unit-input.test-case.stories-CZD1jf36.js → unit-input.test-case.stories-D9PyN8YI.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/project.json +1 -1
- package/package.json +1 -1
- package/dist/404.html +0 -1
- package/dist/storybook/assets/unit-input-BXg4VphV.js +0 -10
|
@@ -9285,7 +9285,7 @@ const wrapper$2 = "_wrapper_18jt2_1";
|
|
|
9285
9285
|
const customSvg = "_customSvg_18jt2_8";
|
|
9286
9286
|
const customPng = "_customPng_18jt2_11";
|
|
9287
9287
|
const clickable$1 = "_clickable_18jt2_16";
|
|
9288
|
-
const styles$
|
|
9288
|
+
const styles$k = {
|
|
9289
9289
|
wrapper: wrapper$2,
|
|
9290
9290
|
customSvg,
|
|
9291
9291
|
customPng,
|
|
@@ -9889,8 +9889,8 @@ const Icon = ({
|
|
|
9889
9889
|
"div",
|
|
9890
9890
|
{
|
|
9891
9891
|
className: cx$2(
|
|
9892
|
-
styles$
|
|
9893
|
-
(clickable2 || onClick) && !disabledContext ? styles$
|
|
9892
|
+
styles$k.wrapper,
|
|
9893
|
+
(clickable2 || onClick) && !disabledContext ? styles$k.clickable : ""
|
|
9894
9894
|
),
|
|
9895
9895
|
style,
|
|
9896
9896
|
onClick: (evt) => onClick && !disabledContext ? onClick(evt) : void 0,
|
|
@@ -9898,7 +9898,7 @@ const Icon = ({
|
|
|
9898
9898
|
children: reactExports.isValidElement(icon2) ? icon2 : typeof icon2 === "string" && (icon2.includes(".svg") || icon2.includes("image/svg")) ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9899
9899
|
ReactSVG,
|
|
9900
9900
|
{
|
|
9901
|
-
className: styles$
|
|
9901
|
+
className: styles$k.customSvg,
|
|
9902
9902
|
beforeInjection: (svg) => {
|
|
9903
9903
|
if (size2) {
|
|
9904
9904
|
svg.setAttribute("width", String(size2));
|
|
@@ -9907,7 +9907,7 @@ const Icon = ({
|
|
|
9907
9907
|
},
|
|
9908
9908
|
src: icon2
|
|
9909
9909
|
}
|
|
9910
|
-
) : typeof icon2 === "string" && (icon2.includes(".png") || icon2.includes("image/png")) ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { alt: "icon", className: styles$
|
|
9910
|
+
) : typeof icon2 === "string" && (icon2.includes(".png") || icon2.includes("image/png")) ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { alt: "icon", className: styles$k.customPng, src: icon2 }) : typeof icon2 === "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(NamedIcon, { icon: icon2 }) : null
|
|
9911
9911
|
}
|
|
9912
9912
|
);
|
|
9913
9913
|
};
|
|
@@ -11889,7 +11889,7 @@ function useHover(_temp) {
|
|
|
11889
11889
|
const tooltip = "_tooltip_wli9z_1";
|
|
11890
11890
|
const error$k = "_error_wli9z_15";
|
|
11891
11891
|
const warning$1 = "_warning_wli9z_19";
|
|
11892
|
-
const styles$
|
|
11892
|
+
const styles$j = {
|
|
11893
11893
|
tooltip,
|
|
11894
11894
|
error: error$k,
|
|
11895
11895
|
warning: warning$1
|
|
@@ -11920,8 +11920,8 @@ const TooltipLayer = ({
|
|
|
11920
11920
|
"div",
|
|
11921
11921
|
{
|
|
11922
11922
|
className: cx$2(
|
|
11923
|
-
styles$
|
|
11924
|
-
error2 ? styles$
|
|
11923
|
+
styles$j.tooltip,
|
|
11924
|
+
error2 ? styles$j.error : warning2 ? styles$j.warning : ""
|
|
11925
11925
|
),
|
|
11926
11926
|
...layerProps,
|
|
11927
11927
|
children: [
|
|
@@ -11990,7 +11990,7 @@ const Tooltip = ({
|
|
|
11990
11990
|
const helpIcon = "_helpIcon_hd0z2_1";
|
|
11991
11991
|
const active$7 = "_active_hd0z2_9";
|
|
11992
11992
|
const clickable = "_clickable_hd0z2_12";
|
|
11993
|
-
const styles$
|
|
11993
|
+
const styles$i = {
|
|
11994
11994
|
helpIcon,
|
|
11995
11995
|
active: active$7,
|
|
11996
11996
|
clickable
|
|
@@ -12021,9 +12021,9 @@ const HelpIcon = ({
|
|
|
12021
12021
|
"div",
|
|
12022
12022
|
{
|
|
12023
12023
|
className: cx$2(
|
|
12024
|
-
styles$
|
|
12025
|
-
onClick ? styles$
|
|
12026
|
-
active2 ? styles$
|
|
12024
|
+
styles$i.helpIcon,
|
|
12025
|
+
onClick ? styles$i.clickable : "",
|
|
12026
|
+
active2 ? styles$i.active : ""
|
|
12027
12027
|
),
|
|
12028
12028
|
onClick: onClickHelpIcon,
|
|
12029
12029
|
"data-testid": testId,
|
|
@@ -17520,7 +17520,7 @@ const inputError$5 = "_inputError_1m45a_25";
|
|
|
17520
17520
|
const inputWarning$5 = "_inputWarning_1m45a_26";
|
|
17521
17521
|
const inputDisabled$5 = "_inputDisabled_1m45a_61";
|
|
17522
17522
|
const hideScrollbars$5 = "_hideScrollbars_1m45a_67";
|
|
17523
|
-
const button$
|
|
17523
|
+
const button$2 = "_button_1m45a_100";
|
|
17524
17524
|
const active$6 = "_active_1m45a_135";
|
|
17525
17525
|
const green = "_green_1m45a_135";
|
|
17526
17526
|
const red = "_red_1m45a_135";
|
|
@@ -17530,7 +17530,7 @@ const iconOnly = "_iconOnly_1m45a_153";
|
|
|
17530
17530
|
const basic = "_basic_1m45a_163";
|
|
17531
17531
|
const muted$2 = "_muted_1m45a_169";
|
|
17532
17532
|
const disabled$3 = "_disabled_1m45a_188";
|
|
17533
|
-
const small$
|
|
17533
|
+
const small$4 = "_small_1m45a_198";
|
|
17534
17534
|
const pill = "_pill_1m45a_203";
|
|
17535
17535
|
const round = "_round_1m45a_204";
|
|
17536
17536
|
const inverted = "_inverted_1m45a_310";
|
|
@@ -17545,7 +17545,7 @@ const buttonStyles = {
|
|
|
17545
17545
|
inputWarning: inputWarning$5,
|
|
17546
17546
|
inputDisabled: inputDisabled$5,
|
|
17547
17547
|
hideScrollbars: hideScrollbars$5,
|
|
17548
|
-
button: button$
|
|
17548
|
+
button: button$2,
|
|
17549
17549
|
active: active$6,
|
|
17550
17550
|
green,
|
|
17551
17551
|
red,
|
|
@@ -17555,7 +17555,7 @@ const buttonStyles = {
|
|
|
17555
17555
|
basic,
|
|
17556
17556
|
muted: muted$2,
|
|
17557
17557
|
disabled: disabled$3,
|
|
17558
|
-
small: small$
|
|
17558
|
+
small: small$4,
|
|
17559
17559
|
pill,
|
|
17560
17560
|
round,
|
|
17561
17561
|
inverted,
|
|
@@ -17564,7 +17564,7 @@ const buttonStyles = {
|
|
|
17564
17564
|
groupOrderLast: groupOrderLast$1
|
|
17565
17565
|
};
|
|
17566
17566
|
const spinner = "_spinner_156m4_1";
|
|
17567
|
-
const styles$
|
|
17567
|
+
const styles$h = {
|
|
17568
17568
|
spinner
|
|
17569
17569
|
};
|
|
17570
17570
|
const Spinner = ({
|
|
@@ -17575,7 +17575,7 @@ const Spinner = ({
|
|
|
17575
17575
|
}) => {
|
|
17576
17576
|
const color2 = colored ? "var(--color-text-primary)" : dark2 ? "var(--color-text-muted)" : "white";
|
|
17577
17577
|
const fontSize = small2 ? "var(--font-size)" : tiny ? "var(--font-size-xs)" : "var(--size)";
|
|
17578
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
17578
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$h.spinner, style: { color: color2, fontSize } });
|
|
17579
17579
|
};
|
|
17580
17580
|
var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
|
|
17581
17581
|
ButtonType2["SUBMIT"] = "submit";
|
|
@@ -17699,7 +17699,7 @@ const actions$2 = "_actions_1t7vd_1";
|
|
|
17699
17699
|
const childComponent = "_childComponent_1t7vd_11";
|
|
17700
17700
|
const actionComponentContainer = "_actionComponentContainer_1t7vd_14";
|
|
17701
17701
|
const active$5 = "_active_1t7vd_36";
|
|
17702
|
-
const styles$
|
|
17702
|
+
const styles$g = {
|
|
17703
17703
|
actions: actions$2,
|
|
17704
17704
|
childComponent,
|
|
17705
17705
|
actionComponentContainer,
|
|
@@ -17722,7 +17722,7 @@ const inline$2 = "_inline_1iw97_108";
|
|
|
17722
17722
|
const icon$1 = "_icon_1iw97_113";
|
|
17723
17723
|
const check = "_check_1iw97_114";
|
|
17724
17724
|
const text$1 = "_text_1iw97_136";
|
|
17725
|
-
const label$
|
|
17725
|
+
const label$5 = "_label_1iw97_141";
|
|
17726
17726
|
const description$2 = "_description_1iw97_152";
|
|
17727
17727
|
const arrow$1 = "_arrow_1iw97_156";
|
|
17728
17728
|
const divider$1 = "_divider_1iw97_160";
|
|
@@ -17733,7 +17733,7 @@ const buttonCaret = "_buttonCaret_1iw97_179";
|
|
|
17733
17733
|
const component = "_component_1iw97_183";
|
|
17734
17734
|
const right$4 = "_right_1iw97_189";
|
|
17735
17735
|
const actions$1 = "_actions_1iw97_194";
|
|
17736
|
-
const styles$
|
|
17736
|
+
const styles$f = {
|
|
17737
17737
|
wrapper: wrapper$1,
|
|
17738
17738
|
layer,
|
|
17739
17739
|
layerContainer,
|
|
@@ -17751,7 +17751,7 @@ const styles$e = {
|
|
|
17751
17751
|
icon: icon$1,
|
|
17752
17752
|
check,
|
|
17753
17753
|
text: text$1,
|
|
17754
|
-
label: label$
|
|
17754
|
+
label: label$5,
|
|
17755
17755
|
description: description$2,
|
|
17756
17756
|
arrow: arrow$1,
|
|
17757
17757
|
divider: divider$1,
|
|
@@ -17767,15 +17767,15 @@ const Heading$1 = ({ label: label2, onClick, icon: icon2, testId }) => /* @__PUR
|
|
|
17767
17767
|
"div",
|
|
17768
17768
|
{
|
|
17769
17769
|
onClick: (evt) => evt.stopPropagation(),
|
|
17770
|
-
className: styles$
|
|
17770
|
+
className: styles$f.heading,
|
|
17771
17771
|
"data-testid": testId,
|
|
17772
17772
|
children: [
|
|
17773
17773
|
label2,
|
|
17774
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17774
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.headingIcon, onClick, children: icon2 })
|
|
17775
17775
|
]
|
|
17776
17776
|
}
|
|
17777
17777
|
);
|
|
17778
|
-
const Divider$1 = () => /* @__PURE__ */ jsxRuntimeExports.jsx("hr", { className: styles$
|
|
17778
|
+
const Divider$1 = () => /* @__PURE__ */ jsxRuntimeExports.jsx("hr", { className: styles$f.divider });
|
|
17779
17779
|
const Option = ({
|
|
17780
17780
|
actions: actions2,
|
|
17781
17781
|
label: label2,
|
|
@@ -17828,28 +17828,28 @@ const Option = ({
|
|
|
17828
17828
|
href: url,
|
|
17829
17829
|
to: url,
|
|
17830
17830
|
className: cx$2(
|
|
17831
|
-
styles$
|
|
17832
|
-
disabled2 ? styles$
|
|
17833
|
-
inline2 ? styles$
|
|
17834
|
-
selected2 ? styles$
|
|
17831
|
+
styles$f.option,
|
|
17832
|
+
disabled2 ? styles$f.disabled : "",
|
|
17833
|
+
inline2 ? styles$f.inline : "",
|
|
17834
|
+
selected2 ? styles$f.selected : ""
|
|
17835
17835
|
),
|
|
17836
17836
|
onClick: handleClick2,
|
|
17837
17837
|
"data-testid": testId,
|
|
17838
17838
|
children: [
|
|
17839
|
-
icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17840
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
17839
|
+
icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.icon, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: icon2 }) }) : null,
|
|
17840
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.optionContent, children: [
|
|
17841
17841
|
upload && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
17842
17842
|
"input",
|
|
17843
17843
|
{
|
|
17844
17844
|
type: "file",
|
|
17845
|
-
className: styles$
|
|
17845
|
+
className: styles$f.fileInput,
|
|
17846
17846
|
onChange: handleFileChange
|
|
17847
17847
|
}
|
|
17848
17848
|
),
|
|
17849
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17850
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
17851
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17852
|
-
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
17849
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.label, title: `${title2 || label2}`, children: label2 }),
|
|
17850
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.right, children: [
|
|
17851
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.description, children: description2 }),
|
|
17852
|
+
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.actions, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Actions, { actions: actions2 }) })
|
|
17853
17853
|
] })
|
|
17854
17854
|
] })
|
|
17855
17855
|
]
|
|
@@ -17983,7 +17983,7 @@ const Layer = ({
|
|
|
17983
17983
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
17984
17984
|
"div",
|
|
17985
17985
|
{
|
|
17986
|
-
className: cx$2(styles$
|
|
17986
|
+
className: cx$2(styles$f.layer, isNested ? styles$f.nested : null),
|
|
17987
17987
|
style: { maxWidth: width2, maxHeight },
|
|
17988
17988
|
"data-testid": testId,
|
|
17989
17989
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: localSections.map((section, i) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -18011,20 +18011,20 @@ const isStringNumberOrNode = (value) => {
|
|
|
18011
18011
|
};
|
|
18012
18012
|
const wrapper = "_wrapper_nwprz_1";
|
|
18013
18013
|
const badge = "_badge_nwprz_5";
|
|
18014
|
-
const label$
|
|
18014
|
+
const label$4 = "_label_nwprz_11";
|
|
18015
18015
|
const dark = "_dark_nwprz_23";
|
|
18016
18016
|
const light = "_light_nwprz_26";
|
|
18017
|
-
const small$
|
|
18018
|
-
const dot = "_dot_nwprz_33";
|
|
18017
|
+
const small$3 = "_small_nwprz_29";
|
|
18018
|
+
const dot$1 = "_dot_nwprz_33";
|
|
18019
18019
|
const hasChildren = "_hasChildren_nwprz_39";
|
|
18020
|
-
const styles$
|
|
18020
|
+
const styles$e = {
|
|
18021
18021
|
wrapper,
|
|
18022
18022
|
badge,
|
|
18023
|
-
label: label$
|
|
18023
|
+
label: label$4,
|
|
18024
18024
|
dark,
|
|
18025
18025
|
light,
|
|
18026
|
-
small: small$
|
|
18027
|
-
dot,
|
|
18026
|
+
small: small$3,
|
|
18027
|
+
dot: dot$1,
|
|
18028
18028
|
hasChildren
|
|
18029
18029
|
};
|
|
18030
18030
|
const isDark = (hexColor) => {
|
|
@@ -18045,16 +18045,16 @@ const Badge = ({
|
|
|
18045
18045
|
small: small2 = false
|
|
18046
18046
|
}) => {
|
|
18047
18047
|
const visible = !(title2 === null && dot2 === false);
|
|
18048
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
18048
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$e.wrapper, children: [
|
|
18049
18049
|
visible && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18050
18050
|
"sup",
|
|
18051
18051
|
{
|
|
18052
18052
|
className: cx$2(
|
|
18053
|
-
styles$
|
|
18054
|
-
isDark(color2) ? styles$
|
|
18055
|
-
title2 !== null ? styles$
|
|
18056
|
-
small2 ? styles$
|
|
18057
|
-
children ? styles$
|
|
18053
|
+
styles$e.badge,
|
|
18054
|
+
isDark(color2) ? styles$e.dark : styles$e.light,
|
|
18055
|
+
title2 !== null ? styles$e.label : styles$e.dot,
|
|
18056
|
+
small2 ? styles$e.small : "",
|
|
18057
|
+
children ? styles$e.hasChildren : ""
|
|
18058
18058
|
),
|
|
18059
18059
|
style: {
|
|
18060
18060
|
background: color2 || void 0,
|
|
@@ -18080,16 +18080,16 @@ const Button = ({
|
|
|
18080
18080
|
active: active2
|
|
18081
18081
|
}) => {
|
|
18082
18082
|
const disabledContext = reactExports.useContext(DisabledContext);
|
|
18083
|
-
const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$
|
|
18084
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18085
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18083
|
+
const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$f.middleAlignedInline, children: [
|
|
18084
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.buttonLabel, children: label2 }),
|
|
18085
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.buttonCaret, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.CHEVRON_DOWN }) })
|
|
18086
18086
|
] }) : null;
|
|
18087
18087
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18088
18088
|
"div",
|
|
18089
18089
|
{
|
|
18090
18090
|
className: cx$2(
|
|
18091
|
-
styles$
|
|
18092
|
-
disabled2 || disabledContext ? styles$
|
|
18091
|
+
styles$f.trigger,
|
|
18092
|
+
disabled2 || disabledContext ? styles$f.disabled : null
|
|
18093
18093
|
),
|
|
18094
18094
|
style: { width: width2 },
|
|
18095
18095
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -18129,13 +18129,13 @@ const Text$1 = ({
|
|
|
18129
18129
|
"div",
|
|
18130
18130
|
{
|
|
18131
18131
|
className: cx$2(
|
|
18132
|
-
styles$
|
|
18133
|
-
disabled2 ? styles$
|
|
18134
|
-
isOpen ? styles$
|
|
18132
|
+
styles$f.trigger,
|
|
18133
|
+
disabled2 ? styles$f.disabled : null,
|
|
18134
|
+
isOpen ? styles$f.active : null
|
|
18135
18135
|
),
|
|
18136
18136
|
children: [
|
|
18137
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18138
|
-
carat && carat === MenuCarat.RIGHT ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18137
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.label, title: titleText, children: label2 }),
|
|
18138
|
+
carat && carat === MenuCarat.RIGHT ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.arrow, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.CHEVRON_RIGHT }) }) : carat && carat === MenuCarat.DOWN ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.arrow, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.CHEVRON_DOWN }) }) : null
|
|
18139
18139
|
]
|
|
18140
18140
|
}
|
|
18141
18141
|
);
|
|
@@ -18148,7 +18148,7 @@ const Component = ({
|
|
|
18148
18148
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18149
18149
|
"div",
|
|
18150
18150
|
{
|
|
18151
|
-
className: cx$2(styles$
|
|
18151
|
+
className: cx$2(styles$f.component, disabled2 ? styles$f.disabled : null),
|
|
18152
18152
|
"data-testid": testId,
|
|
18153
18153
|
children: component2
|
|
18154
18154
|
}
|
|
@@ -18229,7 +18229,7 @@ const Trigger = React$4.forwardRef(
|
|
|
18229
18229
|
"div",
|
|
18230
18230
|
{
|
|
18231
18231
|
ref: ref2,
|
|
18232
|
-
className: styles$
|
|
18232
|
+
className: styles$f.wrapper,
|
|
18233
18233
|
style: width2 ? { width: width2 } : {
|
|
18234
18234
|
...fullHeight && {
|
|
18235
18235
|
height: "100%",
|
|
@@ -18453,7 +18453,7 @@ const DropDownMenu = ({
|
|
|
18453
18453
|
"div",
|
|
18454
18454
|
{
|
|
18455
18455
|
...layerProps,
|
|
18456
|
-
className: styles$
|
|
18456
|
+
className: styles$f.layerContainer,
|
|
18457
18457
|
"data-testid": menu2.testId,
|
|
18458
18458
|
onClick: (evt) => evt.stopPropagation(),
|
|
18459
18459
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -18522,7 +18522,7 @@ const SubmenuActions = (props) => {
|
|
|
18522
18522
|
const Actions = (props) => {
|
|
18523
18523
|
const disabledContext = reactExports.useContext(DisabledContext);
|
|
18524
18524
|
const { actions: actions2 = [], closeLayer } = props;
|
|
18525
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$
|
|
18525
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$g.actions), children: actions2.map((action2, index2) => {
|
|
18526
18526
|
const hidden = (action2 == null ? void 0 : action2.hidden) || !action2 || !Object.keys(action2).length;
|
|
18527
18527
|
if (!hidden) {
|
|
18528
18528
|
if (action2.childComponent && React$4.isValidElement(action2.childComponent)) {
|
|
@@ -18530,7 +18530,7 @@ const Actions = (props) => {
|
|
|
18530
18530
|
"div",
|
|
18531
18531
|
{
|
|
18532
18532
|
"data-testid": action2.testId,
|
|
18533
|
-
className: styles$
|
|
18533
|
+
className: styles$g.childComponent,
|
|
18534
18534
|
children: action2.childComponent
|
|
18535
18535
|
},
|
|
18536
18536
|
index2
|
|
@@ -18585,7 +18585,7 @@ const cardHeader = "_cardHeader_ucdeu_13";
|
|
|
18585
18585
|
const cardContentBorderTop = "_cardContentBorderTop_ucdeu_19";
|
|
18586
18586
|
const padding = "_padding_ucdeu_22";
|
|
18587
18587
|
const cardContent = "_cardContent_ucdeu_19";
|
|
18588
|
-
const styles$
|
|
18588
|
+
const styles$d = {
|
|
18589
18589
|
card,
|
|
18590
18590
|
bordered: bordered$1,
|
|
18591
18591
|
raised,
|
|
@@ -18606,20 +18606,20 @@ const Card = ({
|
|
|
18606
18606
|
"div",
|
|
18607
18607
|
{
|
|
18608
18608
|
className: cx$2(
|
|
18609
|
-
styles$
|
|
18610
|
-
bordered2 ? styles$
|
|
18611
|
-
raised2 ? styles$
|
|
18609
|
+
styles$d.card,
|
|
18610
|
+
bordered2 ? styles$d.bordered : "",
|
|
18611
|
+
raised2 ? styles$d.raised : ""
|
|
18612
18612
|
),
|
|
18613
18613
|
style: { margin },
|
|
18614
18614
|
children: [
|
|
18615
|
-
heading2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$
|
|
18615
|
+
heading2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$d.cardHeader), children: heading2 }) : null,
|
|
18616
18616
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18617
18617
|
"div",
|
|
18618
18618
|
{
|
|
18619
18619
|
className: cx$2(
|
|
18620
|
-
styles$
|
|
18621
|
-
heading2 ? styles$
|
|
18622
|
-
padding2 ? styles$
|
|
18620
|
+
styles$d.cardContent,
|
|
18621
|
+
heading2 ? styles$d.cardContentBorderTop : "",
|
|
18622
|
+
padding2 ? styles$d.padding : ""
|
|
18623
18623
|
),
|
|
18624
18624
|
children
|
|
18625
18625
|
}
|
|
@@ -19730,7 +19730,7 @@ dt.div`
|
|
|
19730
19730
|
const divider = "_divider_2bfzh_1";
|
|
19731
19731
|
const alignLeft = "_alignLeft_2bfzh_12";
|
|
19732
19732
|
const alignRight = "_alignRight_2bfzh_15";
|
|
19733
|
-
const styles$
|
|
19733
|
+
const styles$c = {
|
|
19734
19734
|
divider,
|
|
19735
19735
|
alignLeft,
|
|
19736
19736
|
alignRight
|
|
@@ -19742,9 +19742,9 @@ const faint = "_faint_11ofj_10";
|
|
|
19742
19742
|
const success = "_success_11ofj_13";
|
|
19743
19743
|
const warning = "_warning_11ofj_16";
|
|
19744
19744
|
const error$j = "_error_11ofj_19";
|
|
19745
|
-
const small$
|
|
19745
|
+
const small$2 = "_small_11ofj_22";
|
|
19746
19746
|
const link$2 = "_link_11ofj_25";
|
|
19747
|
-
const styles$
|
|
19747
|
+
const styles$b = {
|
|
19748
19748
|
bold: bold$1,
|
|
19749
19749
|
center,
|
|
19750
19750
|
muted: muted$1,
|
|
@@ -19752,7 +19752,7 @@ const styles$a = {
|
|
|
19752
19752
|
success,
|
|
19753
19753
|
warning,
|
|
19754
19754
|
error: error$j,
|
|
19755
|
-
small: small$
|
|
19755
|
+
small: small$2,
|
|
19756
19756
|
link: link$2
|
|
19757
19757
|
};
|
|
19758
19758
|
const Text = ({
|
|
@@ -19772,16 +19772,16 @@ const Text = ({
|
|
|
19772
19772
|
"span",
|
|
19773
19773
|
{
|
|
19774
19774
|
className: cx$2(
|
|
19775
|
-
bold2 && styles$
|
|
19776
|
-
center2 && styles$
|
|
19777
|
-
error2 && styles$
|
|
19778
|
-
faint2 && styles$
|
|
19779
|
-
link2 && styles$
|
|
19780
|
-
muted2 && styles$
|
|
19781
|
-
onClick && styles$
|
|
19782
|
-
small2 && styles$
|
|
19783
|
-
success2 && styles$
|
|
19784
|
-
warning2 && styles$
|
|
19775
|
+
bold2 && styles$b.bold,
|
|
19776
|
+
center2 && styles$b.center,
|
|
19777
|
+
error2 && styles$b.error,
|
|
19778
|
+
faint2 && styles$b.faint,
|
|
19779
|
+
link2 && styles$b.link,
|
|
19780
|
+
muted2 && styles$b.muted,
|
|
19781
|
+
onClick && styles$b.clickable,
|
|
19782
|
+
small2 && styles$b.small,
|
|
19783
|
+
success2 && styles$b.success,
|
|
19784
|
+
warning2 && styles$b.warning
|
|
19785
19785
|
),
|
|
19786
19786
|
onClick,
|
|
19787
19787
|
children
|
|
@@ -19791,9 +19791,9 @@ const Text = ({
|
|
|
19791
19791
|
const cssAlignClass = (align) => {
|
|
19792
19792
|
switch (align) {
|
|
19793
19793
|
case Align.LEFT:
|
|
19794
|
-
return styles$
|
|
19794
|
+
return styles$c.alignLeft;
|
|
19795
19795
|
case Align.RIGHT:
|
|
19796
|
-
return styles$
|
|
19796
|
+
return styles$c.alignRight;
|
|
19797
19797
|
default:
|
|
19798
19798
|
return "";
|
|
19799
19799
|
}
|
|
@@ -19806,7 +19806,7 @@ const Divider = ({
|
|
|
19806
19806
|
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19807
19807
|
"div",
|
|
19808
19808
|
{
|
|
19809
|
-
className: `${styles$
|
|
19809
|
+
className: `${styles$c.divider} ${cssAlignClass(align)}`,
|
|
19810
19810
|
style: {
|
|
19811
19811
|
marginTop: margin,
|
|
19812
19812
|
marginBottom: margin,
|
|
@@ -19818,7 +19818,7 @@ const Divider = ({
|
|
|
19818
19818
|
const heading$1 = "_heading_yhdiy_1";
|
|
19819
19819
|
const top$1 = "_top_yhdiy_10";
|
|
19820
19820
|
const icons = "_icons_yhdiy_20";
|
|
19821
|
-
const styles$
|
|
19821
|
+
const styles$a = {
|
|
19822
19822
|
heading: heading$1,
|
|
19823
19823
|
top: top$1,
|
|
19824
19824
|
icons
|
|
@@ -19839,13 +19839,13 @@ const Heading = ({
|
|
|
19839
19839
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
19840
19840
|
"div",
|
|
19841
19841
|
{
|
|
19842
|
-
className: cx$2(styles$
|
|
19842
|
+
className: cx$2(styles$a.heading, top2 ? styles$a.top : ""),
|
|
19843
19843
|
style: { marginBottom },
|
|
19844
19844
|
onClick,
|
|
19845
19845
|
"data-testid": testId,
|
|
19846
19846
|
children: [
|
|
19847
19847
|
children,
|
|
19848
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
19848
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$a.icons, children: [
|
|
19849
19849
|
icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx(HelpIcon, { onClick: onIconClick, icon: icon2 }),
|
|
19850
19850
|
isHelpIconDisplayed && /* @__PURE__ */ jsxRuntimeExports.jsx(HelpIcon, { text: helpText, onClick: onClickHelp }),
|
|
19851
19851
|
libraryIcon && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -19886,7 +19886,7 @@ const active$3 = "_active_1f40p_197";
|
|
|
19886
19886
|
const disabled$1 = "_disabled_1f40p_222";
|
|
19887
19887
|
const tabsContent = "_tabsContent_1f40p_229";
|
|
19888
19888
|
const resizeHandle = "_resizeHandle_1f40p_235";
|
|
19889
|
-
const styles$
|
|
19889
|
+
const styles$9 = {
|
|
19890
19890
|
inputInTable: inputInTable$4,
|
|
19891
19891
|
inputHover: inputHover$4,
|
|
19892
19892
|
inputFocus: inputFocus$4,
|
|
@@ -19927,13 +19927,13 @@ const DrawerTabs = ({
|
|
|
19927
19927
|
testId
|
|
19928
19928
|
}) => {
|
|
19929
19929
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
19930
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
19930
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$9.tabs, children: tabs2.map((tab2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19931
19931
|
"div",
|
|
19932
19932
|
{
|
|
19933
19933
|
className: cx$2(
|
|
19934
|
-
styles$
|
|
19935
|
-
activeTab === index2 && open ? styles$
|
|
19936
|
-
tab2.disabled ? styles$
|
|
19934
|
+
styles$9.tab,
|
|
19935
|
+
activeTab === index2 && open ? styles$9.active : "",
|
|
19936
|
+
tab2.disabled ? styles$9.disabled : ""
|
|
19937
19937
|
),
|
|
19938
19938
|
style: { background: background2 },
|
|
19939
19939
|
onClick: !tab2.disabled ? () => handleTabClick(index2) : void 0,
|
|
@@ -19948,7 +19948,7 @@ const DrawerTabs = ({
|
|
|
19948
19948
|
"div",
|
|
19949
19949
|
{
|
|
19950
19950
|
style: { width: typeof width2 === "number" ? `${width2}px` : width2 },
|
|
19951
|
-
className: styles$
|
|
19951
|
+
className: styles$9.tabsContent,
|
|
19952
19952
|
"data-testid": testId && `${testId}-content-${index2}`,
|
|
19953
19953
|
children: active2 && open && tab2.content
|
|
19954
19954
|
},
|
|
@@ -21869,7 +21869,7 @@ const MIN_OPEN_WIDTH = 240;
|
|
|
21869
21869
|
const ResizeHandle = reactExports.forwardRef(
|
|
21870
21870
|
(props, ref2) => {
|
|
21871
21871
|
const { handleAxis, ...rest } = props;
|
|
21872
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className: styles$
|
|
21872
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className: styles$9.resizeHandle, ...rest, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.DRAG }) });
|
|
21873
21873
|
}
|
|
21874
21874
|
);
|
|
21875
21875
|
const DrawerResizeWrapper = ({
|
|
@@ -21895,7 +21895,7 @@ const DrawerResizeWrapper = ({
|
|
|
21895
21895
|
handle: /* @__PURE__ */ jsxRuntimeExports.jsx(ResizeHandle, {}),
|
|
21896
21896
|
resizeHandles: right2 ? ["w"] : ["e"],
|
|
21897
21897
|
axis: "x",
|
|
21898
|
-
className: isResizing2 ? styles$
|
|
21898
|
+
className: isResizing2 ? styles$9.isResizing : "",
|
|
21899
21899
|
onResizeStart: () => {
|
|
21900
21900
|
if (setOpen) setOpen(true);
|
|
21901
21901
|
if (onResize) onResize(width2);
|
|
@@ -21993,17 +21993,17 @@ const Drawer = ({
|
|
|
21993
21993
|
"div",
|
|
21994
21994
|
{
|
|
21995
21995
|
className: cx$2(
|
|
21996
|
-
styles$
|
|
21997
|
-
shadow4 ? styles$
|
|
21998
|
-
fixed2 ? styles$
|
|
21999
|
-
right2 ? styles$
|
|
21996
|
+
styles$9.drawer,
|
|
21997
|
+
shadow4 ? styles$9.shadow : "",
|
|
21998
|
+
fixed2 ? styles$9.fixed : styles$9.inline,
|
|
21999
|
+
right2 ? styles$9.right : styles$9.left
|
|
22000
22000
|
),
|
|
22001
22001
|
style: { top: top2 },
|
|
22002
22002
|
children: [
|
|
22003
22003
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22004
22004
|
"div",
|
|
22005
22005
|
{
|
|
22006
|
-
className: cx$2(styles$
|
|
22006
|
+
className: cx$2(styles$9.drawerContent, border2 && styles$9.border),
|
|
22007
22007
|
style: {
|
|
22008
22008
|
background: background2,
|
|
22009
22009
|
borderColor: typeof border2 === "string" ? border2 : void 0,
|
|
@@ -22029,9 +22029,9 @@ const Drawer = ({
|
|
|
22029
22029
|
"span",
|
|
22030
22030
|
{
|
|
22031
22031
|
className: cx$2(
|
|
22032
|
-
styles$
|
|
22033
|
-
localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$
|
|
22034
|
-
buttonPosition === "top" ? styles$
|
|
22032
|
+
styles$9.toggleButton,
|
|
22033
|
+
localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$9.toggleButtonOpen : "",
|
|
22034
|
+
buttonPosition === "top" ? styles$9.top : styles$9.bottom
|
|
22035
22035
|
),
|
|
22036
22036
|
children: isCustomButton ? button2 : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22037
22037
|
Button$1,
|
|
@@ -22058,12 +22058,12 @@ const inputDisabled$3 = "_inputDisabled_1285q_61";
|
|
|
22058
22058
|
const hideScrollbars$3 = "_hideScrollbars_1285q_67";
|
|
22059
22059
|
const input = "_input_1285q_1";
|
|
22060
22060
|
const isInTable = "_isInTable_1285q_100";
|
|
22061
|
-
const small = "_small_1285q_124";
|
|
22061
|
+
const small$1 = "_small_1285q_124";
|
|
22062
22062
|
const right$2 = "_right_1285q_170";
|
|
22063
22063
|
const groupOrderFirst = "_groupOrderFirst_1285q_173";
|
|
22064
22064
|
const groupOrderMiddle = "_groupOrderMiddle_1285q_174";
|
|
22065
22065
|
const groupOrderLast = "_groupOrderLast_1285q_175";
|
|
22066
|
-
const styles$
|
|
22066
|
+
const styles$8 = {
|
|
22067
22067
|
inputInTable: inputInTable$3,
|
|
22068
22068
|
inputHover: inputHover$3,
|
|
22069
22069
|
inputFocus: inputFocus$3,
|
|
@@ -22073,7 +22073,7 @@ const styles$7 = {
|
|
|
22073
22073
|
hideScrollbars: hideScrollbars$3,
|
|
22074
22074
|
input,
|
|
22075
22075
|
isInTable,
|
|
22076
|
-
small,
|
|
22076
|
+
small: small$1,
|
|
22077
22077
|
right: right$2,
|
|
22078
22078
|
groupOrderFirst,
|
|
22079
22079
|
groupOrderMiddle,
|
|
@@ -22115,11 +22115,11 @@ reactExports.forwardRef(
|
|
|
22115
22115
|
if (groupOrder) {
|
|
22116
22116
|
switch (groupOrder) {
|
|
22117
22117
|
case "first":
|
|
22118
|
-
return styles$
|
|
22118
|
+
return styles$8.groupOrderFirst;
|
|
22119
22119
|
case "last":
|
|
22120
|
-
return styles$
|
|
22120
|
+
return styles$8.groupOrderLast;
|
|
22121
22121
|
default:
|
|
22122
|
-
return styles$
|
|
22122
|
+
return styles$8.groupOrderMiddle;
|
|
22123
22123
|
}
|
|
22124
22124
|
}
|
|
22125
22125
|
return "";
|
|
@@ -22153,10 +22153,10 @@ reactExports.forwardRef(
|
|
|
22153
22153
|
autoComplete: "off",
|
|
22154
22154
|
disabled: disabled2 || disabledContext,
|
|
22155
22155
|
className: cx$2(
|
|
22156
|
-
styles$
|
|
22157
|
-
right2 ? styles$
|
|
22158
|
-
small2 ? styles$
|
|
22159
|
-
isInTable2 ? styles$
|
|
22156
|
+
styles$8.input,
|
|
22157
|
+
right2 ? styles$8.right : "",
|
|
22158
|
+
small2 ? styles$8.small : "",
|
|
22159
|
+
isInTable2 ? styles$8.isInTable : ""
|
|
22160
22160
|
),
|
|
22161
22161
|
style: { width: width2 },
|
|
22162
22162
|
"data-error": error2 || null,
|
|
@@ -23376,7 +23376,7 @@ memoizeOne(function(remove2, list2) {
|
|
|
23376
23376
|
return item2.descriptor.id !== remove2.descriptor.id;
|
|
23377
23377
|
});
|
|
23378
23378
|
});
|
|
23379
|
-
var vertical = {
|
|
23379
|
+
var vertical$1 = {
|
|
23380
23380
|
direction: "vertical",
|
|
23381
23381
|
line: "y",
|
|
23382
23382
|
crossAxisLine: "x",
|
|
@@ -23662,7 +23662,7 @@ var getDroppableDimension = function(_ref) {
|
|
|
23662
23662
|
}
|
|
23663
23663
|
};
|
|
23664
23664
|
}();
|
|
23665
|
-
var axis = direction === "vertical" ? vertical : horizontal;
|
|
23665
|
+
var axis = direction === "vertical" ? vertical$1 : horizontal;
|
|
23666
23666
|
var subject = getSubject({
|
|
23667
23667
|
page: page2,
|
|
23668
23668
|
withPlaceholder: null,
|
|
@@ -25081,7 +25081,7 @@ const action = "_action_1llou_192";
|
|
|
25081
25081
|
const active$2 = "_active_1llou_195";
|
|
25082
25082
|
const indented = "_indented_1llou_202";
|
|
25083
25083
|
const disabled = "_disabled_1llou_215";
|
|
25084
|
-
const label$
|
|
25084
|
+
const label$3 = "_label_1llou_226";
|
|
25085
25085
|
const details = "_details_1llou_237";
|
|
25086
25086
|
const metadata$1 = "_metadata_1llou_238";
|
|
25087
25087
|
const itemContent = "_itemContent_1llou_246";
|
|
@@ -25121,7 +25121,7 @@ const listStyles = {
|
|
|
25121
25121
|
active: active$2,
|
|
25122
25122
|
indented,
|
|
25123
25123
|
disabled,
|
|
25124
|
-
label: label$
|
|
25124
|
+
label: label$3,
|
|
25125
25125
|
details,
|
|
25126
25126
|
metadata: metadata$1,
|
|
25127
25127
|
itemContent,
|
|
@@ -25350,7 +25350,7 @@ reactExports.forwardRef(
|
|
|
25350
25350
|
);
|
|
25351
25351
|
const page = "_page_beskc_1";
|
|
25352
25352
|
const scroll = "_scroll_beskc_23";
|
|
25353
|
-
const styles$
|
|
25353
|
+
const styles$7 = {
|
|
25354
25354
|
page,
|
|
25355
25355
|
scroll
|
|
25356
25356
|
};
|
|
@@ -25365,7 +25365,7 @@ const Page$1 = ({
|
|
|
25365
25365
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25366
25366
|
"div",
|
|
25367
25367
|
{
|
|
25368
|
-
className: cx$2(styles$
|
|
25368
|
+
className: cx$2(styles$7.page, scroll3 ? styles$7.scroll : ""),
|
|
25369
25369
|
style: { left: left2, padding: padding2, top: top2 },
|
|
25370
25370
|
children
|
|
25371
25371
|
}
|
|
@@ -54844,7 +54844,7 @@ var interopRequireDefaultExports = interopRequireDefault.exports;
|
|
|
54844
54844
|
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(_extends$5);
|
|
54845
54845
|
const richTextToolbar = "_richTextToolbar_1gbkk_1";
|
|
54846
54846
|
const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
|
|
54847
|
-
const styles$
|
|
54847
|
+
const styles$6 = {
|
|
54848
54848
|
richTextToolbar,
|
|
54849
54849
|
richTextToolbarContainer
|
|
54850
54850
|
};
|
|
@@ -54896,8 +54896,8 @@ const RichTextToolbar = ({
|
|
|
54896
54896
|
active: active2.orderedList()
|
|
54897
54897
|
}
|
|
54898
54898
|
];
|
|
54899
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
54900
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
54899
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.richTextToolbarContainer, children: [
|
|
54900
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6.richTextToolbar, children: items2.map((item2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
54901
54901
|
Button$1,
|
|
54902
54902
|
{
|
|
54903
54903
|
small: true,
|
|
@@ -54925,7 +54925,7 @@ const inputWarning$1 = "_inputWarning_1fb4l_26";
|
|
|
54925
54925
|
const inputDisabled$1 = "_inputDisabled_1fb4l_61";
|
|
54926
54926
|
const hideScrollbars$1 = "_hideScrollbars_1fb4l_67";
|
|
54927
54927
|
const richTextInput = "_richTextInput_1fb4l_77";
|
|
54928
|
-
const styles$
|
|
54928
|
+
const styles$5 = {
|
|
54929
54929
|
inputInTable: inputInTable$1,
|
|
54930
54930
|
inputHover: inputHover$1,
|
|
54931
54931
|
inputFocus: inputFocus$1,
|
|
@@ -54961,7 +54961,7 @@ reactExports.forwardRef(
|
|
|
54961
54961
|
}
|
|
54962
54962
|
setState(state2);
|
|
54963
54963
|
};
|
|
54964
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
54964
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$5.richTextInput, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
54965
54965
|
Remirror,
|
|
54966
54966
|
{
|
|
54967
54967
|
manager,
|
|
@@ -55066,14 +55066,14 @@ const sidebar = "_sidebar_1oy1z_82";
|
|
|
55066
55066
|
const inner = "_inner_1oy1z_93";
|
|
55067
55067
|
const title$2 = "_title_1oy1z_103";
|
|
55068
55068
|
const subtitle = "_subtitle_1oy1z_104";
|
|
55069
|
-
const label$
|
|
55069
|
+
const label$2 = "_label_1oy1z_105";
|
|
55070
55070
|
const collapsed = "_collapsed_1oy1z_109";
|
|
55071
55071
|
const list = "_list_1oy1z_134";
|
|
55072
55072
|
const item$1 = "_item_1oy1z_140";
|
|
55073
55073
|
const experimental = "_experimental_1oy1z_155";
|
|
55074
55074
|
const active$1 = "_active_1oy1z_159";
|
|
55075
55075
|
const icon = "_icon_1oy1z_163";
|
|
55076
|
-
const styles$
|
|
55076
|
+
const styles$4 = {
|
|
55077
55077
|
inputInTable,
|
|
55078
55078
|
inputHover,
|
|
55079
55079
|
inputFocus,
|
|
@@ -55085,7 +55085,7 @@ const styles$3 = {
|
|
|
55085
55085
|
inner,
|
|
55086
55086
|
title: title$2,
|
|
55087
55087
|
subtitle,
|
|
55088
|
-
label: label$
|
|
55088
|
+
label: label$2,
|
|
55089
55089
|
collapsed,
|
|
55090
55090
|
list,
|
|
55091
55091
|
item: item$1,
|
|
@@ -55106,10 +55106,10 @@ const TooltipIcon = reactExports.memo(
|
|
|
55106
55106
|
fontSize: 16,
|
|
55107
55107
|
padding: "var(--padding-sm)",
|
|
55108
55108
|
display: "block",
|
|
55109
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
55109
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$4.icon, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Badge, { small: true, title: invalid ? "!" : void 0, margin: 4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: icon2 }) }) })
|
|
55110
55110
|
}
|
|
55111
55111
|
),
|
|
55112
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
55112
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$4.label, children: label2 })
|
|
55113
55113
|
] });
|
|
55114
55114
|
},
|
|
55115
55115
|
(prevProps, nextProps) => isEqual4(prevProps, nextProps)
|
|
@@ -55121,16 +55121,16 @@ const Link$1 = ({
|
|
|
55121
55121
|
onClick,
|
|
55122
55122
|
testId
|
|
55123
55123
|
}) => {
|
|
55124
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
55124
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$4.list, children: items2.map((link2, i) => {
|
|
55125
55125
|
const key2 = `${sectionIndex}_${i}`;
|
|
55126
55126
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55127
55127
|
"a",
|
|
55128
55128
|
{
|
|
55129
55129
|
href: link2.value,
|
|
55130
55130
|
className: cx$2(
|
|
55131
|
-
styles$
|
|
55132
|
-
link2.isActive ? styles$
|
|
55133
|
-
link2.isExperimental ? styles$
|
|
55131
|
+
styles$4.item,
|
|
55132
|
+
link2.isActive ? styles$4.active : "",
|
|
55133
|
+
link2.isExperimental ? styles$4.experimental : ""
|
|
55134
55134
|
),
|
|
55135
55135
|
onClick: (evt) => onClick(evt, link2.value, link2.label, link2.onClick),
|
|
55136
55136
|
"data-testid": testId,
|
|
@@ -55155,7 +55155,7 @@ const Sections = ({
|
|
|
55155
55155
|
onClick
|
|
55156
55156
|
}) => {
|
|
55157
55157
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: sections.map((section, i) => /* @__PURE__ */ jsxRuntimeExports.jsxs(React$4.Fragment, { children: [
|
|
55158
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h5", { className: styles$
|
|
55158
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h5", { className: styles$4.subtitle, children: section.heading.toUpperCase() }),
|
|
55159
55159
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55160
55160
|
Link$1,
|
|
55161
55161
|
{
|
|
@@ -55211,8 +55211,8 @@ reactExports.memo(
|
|
|
55211
55211
|
icon: IconType.LEFT
|
|
55212
55212
|
}
|
|
55213
55213
|
),
|
|
55214
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$
|
|
55215
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { className: styles$
|
|
55214
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$4.sidebar, !isOpen ? styles$4.collapsed : ""), children: visible && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$4.inner, children: [
|
|
55215
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { className: styles$4.title, children: options2.title }),
|
|
55216
55216
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55217
55217
|
Sections,
|
|
55218
55218
|
{
|
|
@@ -55998,11 +55998,35 @@ var Handle = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
55998
55998
|
});
|
|
55999
55999
|
var _default = Handle;
|
|
56000
56000
|
Handle$1.default = _default;
|
|
56001
|
+
const container$1 = "_container_1bhdk_1";
|
|
56002
|
+
const small = "_small_1bhdk_7";
|
|
56003
|
+
const vertical = "_vertical_1bhdk_10";
|
|
56004
|
+
const hasArrows = "_hasArrows_1bhdk_14";
|
|
56005
|
+
const button$1 = "_button_1bhdk_18";
|
|
56006
|
+
const label$1 = "_label_1bhdk_21";
|
|
56007
|
+
const dot = "_dot_1bhdk_29";
|
|
56008
|
+
const styles$3 = {
|
|
56009
|
+
container: container$1,
|
|
56010
|
+
small,
|
|
56011
|
+
vertical,
|
|
56012
|
+
hasArrows,
|
|
56013
|
+
button: button$1,
|
|
56014
|
+
label: label$1,
|
|
56015
|
+
dot
|
|
56016
|
+
};
|
|
56001
56017
|
const formatMarkers = (marks) => {
|
|
56002
56018
|
return marks.reduce((acc, { label: label2, tooltip: tooltip2, value }) => {
|
|
56003
|
-
|
|
56004
|
-
|
|
56005
|
-
|
|
56019
|
+
acc[value] = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
56020
|
+
Tooltip,
|
|
56021
|
+
{
|
|
56022
|
+
text: /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
56023
|
+
tooltip2,
|
|
56024
|
+
tooltip2 ? ": " : "",
|
|
56025
|
+
label2 ?? value
|
|
56026
|
+
] }),
|
|
56027
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$3.dot })
|
|
56028
|
+
}
|
|
56029
|
+
);
|
|
56006
56030
|
return acc;
|
|
56007
56031
|
}, {});
|
|
56008
56032
|
};
|