@oliasoft-open-source/react-ui-library 4.10.10 → 4.10.11-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/assets/{index-BpSdrNXy.css → index-BZ_1OskN.css} +37 -5
- package/dist/assets/{index-DoFa61ar.js → index-Bhr62dTr.js} +170 -146
- package/dist/global.css +15 -14
- package/dist/index.html +1 -1
- package/dist/index.js +23 -16
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-KGDBMAHA-B1XEiCiZ.js → Color-KGDBMAHA-CrUT8gD8.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-PKQXORMH-jOdRXajj.js → DocsRenderer-PKQXORMH-BzB9_E_q.js} +1 -1
- package/dist/storybook/assets/{accordion.stories-BSRBp5Mg.js → accordion.stories-sL7fmYRp.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-DqU30Pjh.js → buttons-and-links-DrqMSmC4.js} +1 -1
- package/dist/storybook/assets/{casing-loads.stories-CE6GJ021.js → casing-loads.stories-DFWgGmuy.js} +1 -1
- package/dist/storybook/assets/{cell.stories-BkZwSf40.js → cell.stories-C-ZgnpYV.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-Cjlis2W_.js → chunk-HLWAVYOI-DGoHQlso.js} +1 -1
- package/dist/storybook/assets/{color-f9NJQk4F.js → color-COCfy2nn.js} +1 -1
- package/dist/storybook/assets/{footer.stories-C1SojIiD.js → footer.stories-Clx4UErN.js} +1 -1
- package/dist/storybook/assets/{form.stories-BLcmnfy8.js → form.stories-DDTx2Pak.js} +1 -1
- package/dist/storybook/assets/{formation.stories-DZ9-Ct5F.js → formation.stories-6qTvkxLP.js} +1 -1
- package/dist/storybook/assets/{iframe-DfLK4xoJ.js → iframe-CXKSNwpH.js} +2 -2
- package/dist/storybook/assets/{index-DrftH-bj.js → index-BqzMWyFW.js} +88 -88
- package/dist/storybook/assets/{index-CFnPlu74.js → index-DLDHfXoS.js} +1 -1
- package/dist/storybook/assets/{input-validation-ELZZpvME.js → input-validation-BO03BxfX.js} +1 -1
- package/dist/storybook/assets/{inputs-DJXDW2oN.js → inputs-CktmLC-9.js} +1 -1
- package/dist/storybook/assets/{layout-forms-BXTvHa4t.js → layout-forms-BXex9HMG.js} +1 -1
- package/dist/storybook/assets/{layout-general-DV9YMUtE.js → layout-general-CDrQhCyX.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-CSqpN9mn.js → padding-and-spacing-BtvYAGdb.js} +1 -1
- package/dist/storybook/assets/{preview-C0L5ZMHJ.js → preview-D-U6gdhc.js} +2 -2
- package/dist/storybook/assets/{preview-B4oXSEH0.js → preview-WmBgvVVV.js} +1 -1
- package/dist/storybook/assets/{row.stories-D11wLSt6.js → row.stories-bAE51sQq.js} +1 -1
- package/dist/storybook/assets/{slider-C7vnj_3M.js → slider-CIhvf9vR.js} +4 -4
- package/dist/storybook/assets/{slider-DnRddBCy.css → slider-z_xSRxpD.css} +1 -1
- package/dist/storybook/assets/slider.stories-oNTsMNiE.js +134 -0
- package/dist/storybook/assets/{table-DyOsClUv.js → table-DiB_Z8rN.js} +1 -1
- package/dist/storybook/assets/{table.stories-C1GgZCCR.js → table.stories-BdZK3K4y.js} +1 -1
- package/dist/storybook/assets/{title.stories-jatDyjoM.js → title.stories-Bz7w0Q6M.js} +1 -1
- package/dist/storybook/assets/unit-input-CooRJQnF.js +10 -0
- package/dist/storybook/assets/{unit-input.stories-CZBOk2N9.js → unit-input.stories-zmSrl6iW.js} +1 -1
- package/dist/storybook/assets/{unit-input.test-case.stories-DQIpam5Y.js → unit-input.test-case.stories-C1xRJ1EZ.js} +1 -1
- package/dist/storybook/assets/{unit-table.stories-Bl2gHPKG.js → unit-table.stories-B6jvT87D.js} +1 -1
- package/dist/storybook/assets/{unit-table.test-case.stories-DpSewGv4.js → unit-table.test-case.stories-ScvvBo0u.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/package.json +1 -1
- package/dist/404.html +0 -1
- package/dist/storybook/assets/slider.stories-BzBb3PkP.js +0 -171
- package/dist/storybook/assets/unit-input-maDNevEK.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$q = "_error_wli9z_15";
|
|
11891
11891
|
const warning$7 = "_warning_wli9z_19";
|
|
11892
|
-
const styles$
|
|
11892
|
+
const styles$j = {
|
|
11893
11893
|
tooltip,
|
|
11894
11894
|
error: error$q,
|
|
11895
11895
|
warning: warning$7
|
|
@@ -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,
|
|
@@ -17522,7 +17522,7 @@ const inputError$5 = "_inputError_1k3a0_25";
|
|
|
17522
17522
|
const inputWarning$5 = "_inputWarning_1k3a0_26";
|
|
17523
17523
|
const inputDisabled$5 = "_inputDisabled_1k3a0_61";
|
|
17524
17524
|
const hideScrollbars$5 = "_hideScrollbars_1k3a0_67";
|
|
17525
|
-
const button$
|
|
17525
|
+
const button$2 = "_button_1k3a0_100";
|
|
17526
17526
|
const active$6 = "_active_1k3a0_135";
|
|
17527
17527
|
const green = "_green_1k3a0_135";
|
|
17528
17528
|
const red = "_red_1k3a0_135";
|
|
@@ -17532,7 +17532,7 @@ const iconOnly = "_iconOnly_1k3a0_153";
|
|
|
17532
17532
|
const basic = "_basic_1k3a0_163";
|
|
17533
17533
|
const muted$2 = "_muted_1k3a0_169";
|
|
17534
17534
|
const disabled$3 = "_disabled_1k3a0_188";
|
|
17535
|
-
const small$
|
|
17535
|
+
const small$4 = "_small_1k3a0_198";
|
|
17536
17536
|
const pill = "_pill_1k3a0_203";
|
|
17537
17537
|
const round = "_round_1k3a0_204";
|
|
17538
17538
|
const inverted = "_inverted_1k3a0_310";
|
|
@@ -17549,7 +17549,7 @@ const buttonStyles = {
|
|
|
17549
17549
|
inputWarning: inputWarning$5,
|
|
17550
17550
|
inputDisabled: inputDisabled$5,
|
|
17551
17551
|
hideScrollbars: hideScrollbars$5,
|
|
17552
|
-
button: button$
|
|
17552
|
+
button: button$2,
|
|
17553
17553
|
active: active$6,
|
|
17554
17554
|
green,
|
|
17555
17555
|
red,
|
|
@@ -17559,7 +17559,7 @@ const buttonStyles = {
|
|
|
17559
17559
|
basic,
|
|
17560
17560
|
muted: muted$2,
|
|
17561
17561
|
disabled: disabled$3,
|
|
17562
|
-
small: small$
|
|
17562
|
+
small: small$4,
|
|
17563
17563
|
pill,
|
|
17564
17564
|
round,
|
|
17565
17565
|
inverted,
|
|
@@ -17568,7 +17568,7 @@ const buttonStyles = {
|
|
|
17568
17568
|
groupOrderLast: groupOrderLast$1
|
|
17569
17569
|
};
|
|
17570
17570
|
const spinner = "_spinner_156m4_1";
|
|
17571
|
-
const styles$
|
|
17571
|
+
const styles$h = {
|
|
17572
17572
|
spinner
|
|
17573
17573
|
};
|
|
17574
17574
|
const Spinner = ({
|
|
@@ -17579,7 +17579,7 @@ const Spinner = ({
|
|
|
17579
17579
|
}) => {
|
|
17580
17580
|
const color2 = colored ? "var(--color-text-primary)" : dark2 ? "var(--color-text-muted)" : "white";
|
|
17581
17581
|
const fontSize = small2 ? "var(--font-size)" : tiny ? "var(--font-size-xs)" : "var(--size)";
|
|
17582
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
17582
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$h.spinner, style: { color: color2, fontSize } });
|
|
17583
17583
|
};
|
|
17584
17584
|
var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
|
|
17585
17585
|
ButtonType2["SUBMIT"] = "submit";
|
|
@@ -17702,7 +17702,7 @@ const actions$2 = "_actions_1t7vd_1";
|
|
|
17702
17702
|
const childComponent = "_childComponent_1t7vd_11";
|
|
17703
17703
|
const actionComponentContainer = "_actionComponentContainer_1t7vd_14";
|
|
17704
17704
|
const active$5 = "_active_1t7vd_36";
|
|
17705
|
-
const styles$
|
|
17705
|
+
const styles$g = {
|
|
17706
17706
|
actions: actions$2,
|
|
17707
17707
|
childComponent,
|
|
17708
17708
|
actionComponentContainer,
|
|
@@ -17725,7 +17725,7 @@ const inline$2 = "_inline_1iw97_108";
|
|
|
17725
17725
|
const icon$1 = "_icon_1iw97_113";
|
|
17726
17726
|
const check = "_check_1iw97_114";
|
|
17727
17727
|
const text$1 = "_text_1iw97_136";
|
|
17728
|
-
const label$
|
|
17728
|
+
const label$5 = "_label_1iw97_141";
|
|
17729
17729
|
const description$2 = "_description_1iw97_152";
|
|
17730
17730
|
const arrow$1 = "_arrow_1iw97_156";
|
|
17731
17731
|
const divider$1 = "_divider_1iw97_160";
|
|
@@ -17736,7 +17736,7 @@ const buttonCaret = "_buttonCaret_1iw97_179";
|
|
|
17736
17736
|
const component = "_component_1iw97_183";
|
|
17737
17737
|
const right$4 = "_right_1iw97_189";
|
|
17738
17738
|
const actions$1 = "_actions_1iw97_194";
|
|
17739
|
-
const styles$
|
|
17739
|
+
const styles$f = {
|
|
17740
17740
|
wrapper: wrapper$1,
|
|
17741
17741
|
layer,
|
|
17742
17742
|
layerContainer,
|
|
@@ -17754,7 +17754,7 @@ const styles$e = {
|
|
|
17754
17754
|
icon: icon$1,
|
|
17755
17755
|
check,
|
|
17756
17756
|
text: text$1,
|
|
17757
|
-
label: label$
|
|
17757
|
+
label: label$5,
|
|
17758
17758
|
description: description$2,
|
|
17759
17759
|
arrow: arrow$1,
|
|
17760
17760
|
divider: divider$1,
|
|
@@ -17770,15 +17770,15 @@ const Heading$1 = ({ label: label2, onClick, icon: icon2, testId }) => /* @__PUR
|
|
|
17770
17770
|
"div",
|
|
17771
17771
|
{
|
|
17772
17772
|
onClick: (evt) => evt.stopPropagation(),
|
|
17773
|
-
className: styles$
|
|
17773
|
+
className: styles$f.heading,
|
|
17774
17774
|
"data-testid": testId,
|
|
17775
17775
|
children: [
|
|
17776
17776
|
label2,
|
|
17777
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17777
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.headingIcon, onClick, children: icon2 })
|
|
17778
17778
|
]
|
|
17779
17779
|
}
|
|
17780
17780
|
);
|
|
17781
|
-
const Divider$1 = () => /* @__PURE__ */ jsxRuntimeExports.jsx("hr", { className: styles$
|
|
17781
|
+
const Divider$1 = () => /* @__PURE__ */ jsxRuntimeExports.jsx("hr", { className: styles$f.divider });
|
|
17782
17782
|
const Option = ({
|
|
17783
17783
|
actions: actions2,
|
|
17784
17784
|
label: label2,
|
|
@@ -17831,28 +17831,28 @@ const Option = ({
|
|
|
17831
17831
|
href: url,
|
|
17832
17832
|
to: url,
|
|
17833
17833
|
className: cx$2(
|
|
17834
|
-
styles$
|
|
17835
|
-
disabled2 ? styles$
|
|
17836
|
-
inline2 ? styles$
|
|
17837
|
-
selected2 ? styles$
|
|
17834
|
+
styles$f.option,
|
|
17835
|
+
disabled2 ? styles$f.disabled : "",
|
|
17836
|
+
inline2 ? styles$f.inline : "",
|
|
17837
|
+
selected2 ? styles$f.selected : ""
|
|
17838
17838
|
),
|
|
17839
17839
|
onClick: handleClick2,
|
|
17840
17840
|
"data-testid": testId,
|
|
17841
17841
|
children: [
|
|
17842
|
-
icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17843
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
17842
|
+
icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.icon, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: icon2 }) }) : null,
|
|
17843
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.optionContent, children: [
|
|
17844
17844
|
upload && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
17845
17845
|
"input",
|
|
17846
17846
|
{
|
|
17847
17847
|
type: "file",
|
|
17848
|
-
className: styles$
|
|
17848
|
+
className: styles$f.fileInput,
|
|
17849
17849
|
onChange: handleFileChange
|
|
17850
17850
|
}
|
|
17851
17851
|
),
|
|
17852
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17853
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
17854
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
17855
|
-
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
17852
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.label, title: `${title2 || label2}`, children: label2 }),
|
|
17853
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.right, children: [
|
|
17854
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.description, children: description2 }),
|
|
17855
|
+
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.actions, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Actions, { actions: actions2 }) })
|
|
17856
17856
|
] })
|
|
17857
17857
|
] })
|
|
17858
17858
|
]
|
|
@@ -17986,7 +17986,7 @@ const Layer = ({
|
|
|
17986
17986
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
17987
17987
|
"div",
|
|
17988
17988
|
{
|
|
17989
|
-
className: cx$2(styles$
|
|
17989
|
+
className: cx$2(styles$f.layer, isNested ? styles$f.nested : null),
|
|
17990
17990
|
style: { maxWidth: width2, maxHeight },
|
|
17991
17991
|
"data-testid": testId,
|
|
17992
17992
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: localSections.map((section, i) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -18014,20 +18014,20 @@ const isStringNumberOrNode = (value) => {
|
|
|
18014
18014
|
};
|
|
18015
18015
|
const wrapper = "_wrapper_nwprz_1";
|
|
18016
18016
|
const badge = "_badge_nwprz_5";
|
|
18017
|
-
const label$
|
|
18017
|
+
const label$4 = "_label_nwprz_11";
|
|
18018
18018
|
const dark = "_dark_nwprz_23";
|
|
18019
18019
|
const light = "_light_nwprz_26";
|
|
18020
|
-
const small$
|
|
18021
|
-
const dot = "_dot_nwprz_33";
|
|
18020
|
+
const small$3 = "_small_nwprz_29";
|
|
18021
|
+
const dot$1 = "_dot_nwprz_33";
|
|
18022
18022
|
const hasChildren = "_hasChildren_nwprz_39";
|
|
18023
|
-
const styles$
|
|
18023
|
+
const styles$e = {
|
|
18024
18024
|
wrapper,
|
|
18025
18025
|
badge,
|
|
18026
|
-
label: label$
|
|
18026
|
+
label: label$4,
|
|
18027
18027
|
dark,
|
|
18028
18028
|
light,
|
|
18029
|
-
small: small$
|
|
18030
|
-
dot,
|
|
18029
|
+
small: small$3,
|
|
18030
|
+
dot: dot$1,
|
|
18031
18031
|
hasChildren
|
|
18032
18032
|
};
|
|
18033
18033
|
const isDark = (hexColor) => {
|
|
@@ -18048,16 +18048,16 @@ const Badge = ({
|
|
|
18048
18048
|
small: small2 = false
|
|
18049
18049
|
}) => {
|
|
18050
18050
|
const visible = !(title2 === null && dot2 === false);
|
|
18051
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
18051
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$e.wrapper, children: [
|
|
18052
18052
|
visible && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18053
18053
|
"sup",
|
|
18054
18054
|
{
|
|
18055
18055
|
className: cx$2(
|
|
18056
|
-
styles$
|
|
18057
|
-
isDark(color2) ? styles$
|
|
18058
|
-
title2 !== null ? styles$
|
|
18059
|
-
small2 ? styles$
|
|
18060
|
-
children ? styles$
|
|
18056
|
+
styles$e.badge,
|
|
18057
|
+
isDark(color2) ? styles$e.dark : styles$e.light,
|
|
18058
|
+
title2 !== null ? styles$e.label : styles$e.dot,
|
|
18059
|
+
small2 ? styles$e.small : "",
|
|
18060
|
+
children ? styles$e.hasChildren : ""
|
|
18061
18061
|
),
|
|
18062
18062
|
style: {
|
|
18063
18063
|
background: color2 || void 0,
|
|
@@ -18083,16 +18083,16 @@ const Button = ({
|
|
|
18083
18083
|
active: active2
|
|
18084
18084
|
}) => {
|
|
18085
18085
|
const disabledContext = reactExports.useContext(DisabledContext);
|
|
18086
|
-
const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$
|
|
18087
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18088
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18086
|
+
const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$f.middleAlignedInline, children: [
|
|
18087
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.buttonLabel, children: label2 }),
|
|
18088
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.buttonCaret, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.CHEVRON_DOWN }) })
|
|
18089
18089
|
] }) : null;
|
|
18090
18090
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18091
18091
|
"div",
|
|
18092
18092
|
{
|
|
18093
18093
|
className: cx$2(
|
|
18094
|
-
styles$
|
|
18095
|
-
disabled2 || disabledContext ? styles$
|
|
18094
|
+
styles$f.trigger,
|
|
18095
|
+
disabled2 || disabledContext ? styles$f.disabled : null
|
|
18096
18096
|
),
|
|
18097
18097
|
style: { width: width2 },
|
|
18098
18098
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -18132,13 +18132,13 @@ const Text$1 = ({
|
|
|
18132
18132
|
"div",
|
|
18133
18133
|
{
|
|
18134
18134
|
className: cx$2(
|
|
18135
|
-
styles$
|
|
18136
|
-
disabled2 ? styles$
|
|
18137
|
-
isOpen ? styles$
|
|
18135
|
+
styles$f.trigger,
|
|
18136
|
+
disabled2 ? styles$f.disabled : null,
|
|
18137
|
+
isOpen ? styles$f.active : null
|
|
18138
18138
|
),
|
|
18139
18139
|
children: [
|
|
18140
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18141
|
-
carat && carat === MenuCarat.RIGHT ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
18140
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.label, title: titleText, children: label2 }),
|
|
18141
|
+
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
|
|
18142
18142
|
]
|
|
18143
18143
|
}
|
|
18144
18144
|
);
|
|
@@ -18151,7 +18151,7 @@ const Component = ({
|
|
|
18151
18151
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18152
18152
|
"div",
|
|
18153
18153
|
{
|
|
18154
|
-
className: cx$2(styles$
|
|
18154
|
+
className: cx$2(styles$f.component, disabled2 ? styles$f.disabled : null),
|
|
18155
18155
|
"data-testid": testId,
|
|
18156
18156
|
children: component2
|
|
18157
18157
|
}
|
|
@@ -18232,7 +18232,7 @@ const Trigger = React$4.forwardRef(
|
|
|
18232
18232
|
"div",
|
|
18233
18233
|
{
|
|
18234
18234
|
ref: ref2,
|
|
18235
|
-
className: styles$
|
|
18235
|
+
className: styles$f.wrapper,
|
|
18236
18236
|
style: width2 ? { width: width2 } : {
|
|
18237
18237
|
...fullHeight && {
|
|
18238
18238
|
height: "100%",
|
|
@@ -18454,7 +18454,7 @@ const DropDownMenu = ({
|
|
|
18454
18454
|
"div",
|
|
18455
18455
|
{
|
|
18456
18456
|
...layerProps,
|
|
18457
|
-
className: styles$
|
|
18457
|
+
className: styles$f.layerContainer,
|
|
18458
18458
|
"data-testid": menu2.testId,
|
|
18459
18459
|
onClick: (evt) => evt.stopPropagation(),
|
|
18460
18460
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -18523,7 +18523,7 @@ const SubmenuActions = (props) => {
|
|
|
18523
18523
|
const Actions = (props) => {
|
|
18524
18524
|
const disabledContext = reactExports.useContext(DisabledContext);
|
|
18525
18525
|
const { actions: actions2 = [], closeLayer } = props;
|
|
18526
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$
|
|
18526
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$g.actions), children: actions2.map((action2, index2) => {
|
|
18527
18527
|
const hidden = (action2 == null ? void 0 : action2.hidden) || !action2 || !Object.keys(action2).length;
|
|
18528
18528
|
if (!hidden) {
|
|
18529
18529
|
if (action2.childComponent && React$4.isValidElement(action2.childComponent)) {
|
|
@@ -18531,7 +18531,7 @@ const Actions = (props) => {
|
|
|
18531
18531
|
"div",
|
|
18532
18532
|
{
|
|
18533
18533
|
"data-testid": action2.testId,
|
|
18534
|
-
className: styles$
|
|
18534
|
+
className: styles$g.childComponent,
|
|
18535
18535
|
children: action2.childComponent
|
|
18536
18536
|
},
|
|
18537
18537
|
index2
|
|
@@ -18586,7 +18586,7 @@ const cardHeader = "_cardHeader_ucdeu_13";
|
|
|
18586
18586
|
const cardContentBorderTop = "_cardContentBorderTop_ucdeu_19";
|
|
18587
18587
|
const padding = "_padding_ucdeu_22";
|
|
18588
18588
|
const cardContent = "_cardContent_ucdeu_19";
|
|
18589
|
-
const styles$
|
|
18589
|
+
const styles$d = {
|
|
18590
18590
|
card,
|
|
18591
18591
|
bordered: bordered$1,
|
|
18592
18592
|
raised,
|
|
@@ -18607,20 +18607,20 @@ const Card = ({
|
|
|
18607
18607
|
"div",
|
|
18608
18608
|
{
|
|
18609
18609
|
className: cx$2(
|
|
18610
|
-
styles$
|
|
18611
|
-
bordered2 ? styles$
|
|
18612
|
-
raised2 ? styles$
|
|
18610
|
+
styles$d.card,
|
|
18611
|
+
bordered2 ? styles$d.bordered : "",
|
|
18612
|
+
raised2 ? styles$d.raised : ""
|
|
18613
18613
|
),
|
|
18614
18614
|
style: { margin },
|
|
18615
18615
|
children: [
|
|
18616
|
-
heading2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$
|
|
18616
|
+
heading2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$d.cardHeader), children: heading2 }) : null,
|
|
18617
18617
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18618
18618
|
"div",
|
|
18619
18619
|
{
|
|
18620
18620
|
className: cx$2(
|
|
18621
|
-
styles$
|
|
18622
|
-
heading2 ? styles$
|
|
18623
|
-
padding2 ? styles$
|
|
18621
|
+
styles$d.cardContent,
|
|
18622
|
+
heading2 ? styles$d.cardContentBorderTop : "",
|
|
18623
|
+
padding2 ? styles$d.padding : ""
|
|
18624
18624
|
),
|
|
18625
18625
|
children
|
|
18626
18626
|
}
|
|
@@ -19731,7 +19731,7 @@ dt.div`
|
|
|
19731
19731
|
const divider = "_divider_2bfzh_1";
|
|
19732
19732
|
const alignLeft = "_alignLeft_2bfzh_12";
|
|
19733
19733
|
const alignRight = "_alignRight_2bfzh_15";
|
|
19734
|
-
const styles$
|
|
19734
|
+
const styles$c = {
|
|
19735
19735
|
divider,
|
|
19736
19736
|
alignLeft,
|
|
19737
19737
|
alignRight
|
|
@@ -19743,9 +19743,9 @@ const faint = "_faint_11ofj_10";
|
|
|
19743
19743
|
const success = "_success_11ofj_13";
|
|
19744
19744
|
const warning$5 = "_warning_11ofj_16";
|
|
19745
19745
|
const error$o = "_error_11ofj_19";
|
|
19746
|
-
const small$
|
|
19746
|
+
const small$2 = "_small_11ofj_22";
|
|
19747
19747
|
const link$2 = "_link_11ofj_25";
|
|
19748
|
-
const styles$
|
|
19748
|
+
const styles$b = {
|
|
19749
19749
|
bold: bold$1,
|
|
19750
19750
|
center,
|
|
19751
19751
|
muted: muted$1,
|
|
@@ -19753,7 +19753,7 @@ const styles$a = {
|
|
|
19753
19753
|
success,
|
|
19754
19754
|
warning: warning$5,
|
|
19755
19755
|
error: error$o,
|
|
19756
|
-
small: small$
|
|
19756
|
+
small: small$2,
|
|
19757
19757
|
link: link$2
|
|
19758
19758
|
};
|
|
19759
19759
|
const Text = ({
|
|
@@ -19773,16 +19773,16 @@ const Text = ({
|
|
|
19773
19773
|
"span",
|
|
19774
19774
|
{
|
|
19775
19775
|
className: cx$2(
|
|
19776
|
-
bold2 && styles$
|
|
19777
|
-
center2 && styles$
|
|
19778
|
-
error2 && styles$
|
|
19779
|
-
faint2 && styles$
|
|
19780
|
-
link2 && styles$
|
|
19781
|
-
muted2 && styles$
|
|
19782
|
-
onClick && styles$
|
|
19783
|
-
small2 && styles$
|
|
19784
|
-
success2 && styles$
|
|
19785
|
-
warning2 && styles$
|
|
19776
|
+
bold2 && styles$b.bold,
|
|
19777
|
+
center2 && styles$b.center,
|
|
19778
|
+
error2 && styles$b.error,
|
|
19779
|
+
faint2 && styles$b.faint,
|
|
19780
|
+
link2 && styles$b.link,
|
|
19781
|
+
muted2 && styles$b.muted,
|
|
19782
|
+
onClick && styles$b.clickable,
|
|
19783
|
+
small2 && styles$b.small,
|
|
19784
|
+
success2 && styles$b.success,
|
|
19785
|
+
warning2 && styles$b.warning
|
|
19786
19786
|
),
|
|
19787
19787
|
onClick,
|
|
19788
19788
|
children
|
|
@@ -19792,9 +19792,9 @@ const Text = ({
|
|
|
19792
19792
|
const cssAlignClass = (align) => {
|
|
19793
19793
|
switch (align) {
|
|
19794
19794
|
case Align.LEFT:
|
|
19795
|
-
return styles$
|
|
19795
|
+
return styles$c.alignLeft;
|
|
19796
19796
|
case Align.RIGHT:
|
|
19797
|
-
return styles$
|
|
19797
|
+
return styles$c.alignRight;
|
|
19798
19798
|
default:
|
|
19799
19799
|
return "";
|
|
19800
19800
|
}
|
|
@@ -19807,7 +19807,7 @@ const Divider = ({
|
|
|
19807
19807
|
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19808
19808
|
"div",
|
|
19809
19809
|
{
|
|
19810
|
-
className: `${styles$
|
|
19810
|
+
className: `${styles$c.divider} ${cssAlignClass(align)}`,
|
|
19811
19811
|
style: {
|
|
19812
19812
|
marginTop: margin,
|
|
19813
19813
|
marginBottom: margin,
|
|
@@ -19819,7 +19819,7 @@ const Divider = ({
|
|
|
19819
19819
|
const heading$1 = "_heading_yhdiy_1";
|
|
19820
19820
|
const top$1 = "_top_yhdiy_10";
|
|
19821
19821
|
const icons = "_icons_yhdiy_20";
|
|
19822
|
-
const styles$
|
|
19822
|
+
const styles$a = {
|
|
19823
19823
|
heading: heading$1,
|
|
19824
19824
|
top: top$1,
|
|
19825
19825
|
icons
|
|
@@ -19840,13 +19840,13 @@ const Heading = ({
|
|
|
19840
19840
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
19841
19841
|
"div",
|
|
19842
19842
|
{
|
|
19843
|
-
className: cx$2(styles$
|
|
19843
|
+
className: cx$2(styles$a.heading, top2 ? styles$a.top : ""),
|
|
19844
19844
|
style: { marginBottom },
|
|
19845
19845
|
onClick,
|
|
19846
19846
|
"data-testid": testId,
|
|
19847
19847
|
children: [
|
|
19848
19848
|
children,
|
|
19849
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
19849
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$a.icons, children: [
|
|
19850
19850
|
icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx(HelpIcon, { onClick: onIconClick, icon: icon2 }),
|
|
19851
19851
|
isHelpIconDisplayed && /* @__PURE__ */ jsxRuntimeExports.jsx(HelpIcon, { text: helpText, onClick: onClickHelp }),
|
|
19852
19852
|
libraryIcon && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -19889,7 +19889,7 @@ const active$3 = "_active_13n8n_197";
|
|
|
19889
19889
|
const disabled$1 = "_disabled_13n8n_222";
|
|
19890
19890
|
const tabsContent = "_tabsContent_13n8n_229";
|
|
19891
19891
|
const resizeHandle = "_resizeHandle_13n8n_235";
|
|
19892
|
-
const styles$
|
|
19892
|
+
const styles$9 = {
|
|
19893
19893
|
inputInTable: inputInTable$4,
|
|
19894
19894
|
error: error$n,
|
|
19895
19895
|
warning: warning$4,
|
|
@@ -19932,13 +19932,13 @@ const DrawerTabs = ({
|
|
|
19932
19932
|
testId
|
|
19933
19933
|
}) => {
|
|
19934
19934
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
19935
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
19935
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$9.tabs, children: tabs2.map((tab2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19936
19936
|
"div",
|
|
19937
19937
|
{
|
|
19938
19938
|
className: cx$2(
|
|
19939
|
-
styles$
|
|
19940
|
-
activeTab === index2 && open ? styles$
|
|
19941
|
-
tab2.disabled ? styles$
|
|
19939
|
+
styles$9.tab,
|
|
19940
|
+
activeTab === index2 && open ? styles$9.active : "",
|
|
19941
|
+
tab2.disabled ? styles$9.disabled : ""
|
|
19942
19942
|
),
|
|
19943
19943
|
style: { background: background2 },
|
|
19944
19944
|
onClick: !tab2.disabled ? () => handleTabClick(index2) : void 0,
|
|
@@ -19953,7 +19953,7 @@ const DrawerTabs = ({
|
|
|
19953
19953
|
"div",
|
|
19954
19954
|
{
|
|
19955
19955
|
style: { width: typeof width2 === "number" ? `${width2}px` : width2 },
|
|
19956
|
-
className: styles$
|
|
19956
|
+
className: styles$9.tabsContent,
|
|
19957
19957
|
"data-testid": testId && `${testId}-content-${index2}`,
|
|
19958
19958
|
children: active2 && open && tab2.content
|
|
19959
19959
|
},
|
|
@@ -21874,7 +21874,7 @@ const MIN_OPEN_WIDTH = 240;
|
|
|
21874
21874
|
const ResizeHandle = reactExports.forwardRef(
|
|
21875
21875
|
(props, ref2) => {
|
|
21876
21876
|
const { handleAxis, ...rest } = props;
|
|
21877
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className: styles$
|
|
21877
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className: styles$9.resizeHandle, ...rest, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.DRAG }) });
|
|
21878
21878
|
}
|
|
21879
21879
|
);
|
|
21880
21880
|
const DrawerResizeWrapper = ({
|
|
@@ -21900,7 +21900,7 @@ const DrawerResizeWrapper = ({
|
|
|
21900
21900
|
handle: /* @__PURE__ */ jsxRuntimeExports.jsx(ResizeHandle, {}),
|
|
21901
21901
|
resizeHandles: right2 ? ["w"] : ["e"],
|
|
21902
21902
|
axis: "x",
|
|
21903
|
-
className: isResizing2 ? styles$
|
|
21903
|
+
className: isResizing2 ? styles$9.isResizing : "",
|
|
21904
21904
|
onResizeStart: () => {
|
|
21905
21905
|
if (setOpen) setOpen(true);
|
|
21906
21906
|
if (onResize) onResize(width2);
|
|
@@ -21998,17 +21998,17 @@ const Drawer = ({
|
|
|
21998
21998
|
"div",
|
|
21999
21999
|
{
|
|
22000
22000
|
className: cx$2(
|
|
22001
|
-
styles$
|
|
22002
|
-
shadow4 ? styles$
|
|
22003
|
-
fixed2 ? styles$
|
|
22004
|
-
right2 ? styles$
|
|
22001
|
+
styles$9.drawer,
|
|
22002
|
+
shadow4 ? styles$9.shadow : "",
|
|
22003
|
+
fixed2 ? styles$9.fixed : styles$9.inline,
|
|
22004
|
+
right2 ? styles$9.right : styles$9.left
|
|
22005
22005
|
),
|
|
22006
22006
|
style: { top: top2 },
|
|
22007
22007
|
children: [
|
|
22008
22008
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22009
22009
|
"div",
|
|
22010
22010
|
{
|
|
22011
|
-
className: cx$2(styles$
|
|
22011
|
+
className: cx$2(styles$9.drawerContent, border2 && styles$9.border),
|
|
22012
22012
|
style: {
|
|
22013
22013
|
background: background2,
|
|
22014
22014
|
borderColor: typeof border2 === "string" ? border2 : void 0,
|
|
@@ -22034,9 +22034,9 @@ const Drawer = ({
|
|
|
22034
22034
|
"span",
|
|
22035
22035
|
{
|
|
22036
22036
|
className: cx$2(
|
|
22037
|
-
styles$
|
|
22038
|
-
localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$
|
|
22039
|
-
buttonPosition === "top" ? styles$
|
|
22037
|
+
styles$9.toggleButton,
|
|
22038
|
+
localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$9.toggleButtonOpen : "",
|
|
22039
|
+
buttonPosition === "top" ? styles$9.top : styles$9.bottom
|
|
22040
22040
|
),
|
|
22041
22041
|
children: isCustomButton ? button2 : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22042
22042
|
Button$1,
|
|
@@ -22065,12 +22065,12 @@ const inputDisabled$3 = "_inputDisabled_rhzw6_61";
|
|
|
22065
22065
|
const hideScrollbars$3 = "_hideScrollbars_rhzw6_67";
|
|
22066
22066
|
const input = "_input_rhzw6_1";
|
|
22067
22067
|
const isInTable = "_isInTable_rhzw6_100";
|
|
22068
|
-
const small = "_small_rhzw6_124";
|
|
22068
|
+
const small$1 = "_small_rhzw6_124";
|
|
22069
22069
|
const right$2 = "_right_rhzw6_170";
|
|
22070
22070
|
const groupOrderFirst = "_groupOrderFirst_rhzw6_173";
|
|
22071
22071
|
const groupOrderMiddle = "_groupOrderMiddle_rhzw6_174";
|
|
22072
22072
|
const groupOrderLast = "_groupOrderLast_rhzw6_175";
|
|
22073
|
-
const styles$
|
|
22073
|
+
const styles$8 = {
|
|
22074
22074
|
inputInTable: inputInTable$3,
|
|
22075
22075
|
error: error$m,
|
|
22076
22076
|
warning: warning$3,
|
|
@@ -22082,7 +22082,7 @@ const styles$7 = {
|
|
|
22082
22082
|
hideScrollbars: hideScrollbars$3,
|
|
22083
22083
|
input,
|
|
22084
22084
|
isInTable,
|
|
22085
|
-
small,
|
|
22085
|
+
small: small$1,
|
|
22086
22086
|
right: right$2,
|
|
22087
22087
|
groupOrderFirst,
|
|
22088
22088
|
groupOrderMiddle,
|
|
@@ -22124,11 +22124,11 @@ reactExports.forwardRef(
|
|
|
22124
22124
|
if (groupOrder) {
|
|
22125
22125
|
switch (groupOrder) {
|
|
22126
22126
|
case "first":
|
|
22127
|
-
return styles$
|
|
22127
|
+
return styles$8.groupOrderFirst;
|
|
22128
22128
|
case "last":
|
|
22129
|
-
return styles$
|
|
22129
|
+
return styles$8.groupOrderLast;
|
|
22130
22130
|
default:
|
|
22131
|
-
return styles$
|
|
22131
|
+
return styles$8.groupOrderMiddle;
|
|
22132
22132
|
}
|
|
22133
22133
|
}
|
|
22134
22134
|
return "";
|
|
@@ -22162,11 +22162,11 @@ reactExports.forwardRef(
|
|
|
22162
22162
|
autoComplete: "off",
|
|
22163
22163
|
disabled: disabled2 || disabledContext,
|
|
22164
22164
|
className: cx$2(
|
|
22165
|
-
styles$
|
|
22166
|
-
error2 ? styles$
|
|
22167
|
-
right2 ? styles$
|
|
22168
|
-
small2 ? styles$
|
|
22169
|
-
isInTable2 ? styles$
|
|
22165
|
+
styles$8.input,
|
|
22166
|
+
error2 ? styles$8.error : warning2 ? styles$8.warning : "",
|
|
22167
|
+
right2 ? styles$8.right : "",
|
|
22168
|
+
small2 ? styles$8.small : "",
|
|
22169
|
+
isInTable2 ? styles$8.isInTable : ""
|
|
22170
22170
|
),
|
|
22171
22171
|
style: { width: width2 },
|
|
22172
22172
|
"data-testid": testId
|
|
@@ -23384,7 +23384,7 @@ memoizeOne(function(remove2, list2) {
|
|
|
23384
23384
|
return item2.descriptor.id !== remove2.descriptor.id;
|
|
23385
23385
|
});
|
|
23386
23386
|
});
|
|
23387
|
-
var vertical = {
|
|
23387
|
+
var vertical$1 = {
|
|
23388
23388
|
direction: "vertical",
|
|
23389
23389
|
line: "y",
|
|
23390
23390
|
crossAxisLine: "x",
|
|
@@ -23670,7 +23670,7 @@ var getDroppableDimension = function(_ref) {
|
|
|
23670
23670
|
}
|
|
23671
23671
|
};
|
|
23672
23672
|
}();
|
|
23673
|
-
var axis = direction === "vertical" ? vertical : horizontal;
|
|
23673
|
+
var axis = direction === "vertical" ? vertical$1 : horizontal;
|
|
23674
23674
|
var subject = getSubject({
|
|
23675
23675
|
page: page2,
|
|
23676
23676
|
withPlaceholder: null,
|
|
@@ -25091,7 +25091,7 @@ const action = "_action_dlqxe_192";
|
|
|
25091
25091
|
const active$2 = "_active_dlqxe_195";
|
|
25092
25092
|
const indented = "_indented_dlqxe_202";
|
|
25093
25093
|
const disabled = "_disabled_dlqxe_215";
|
|
25094
|
-
const label$
|
|
25094
|
+
const label$3 = "_label_dlqxe_226";
|
|
25095
25095
|
const details = "_details_dlqxe_237";
|
|
25096
25096
|
const metadata$1 = "_metadata_dlqxe_238";
|
|
25097
25097
|
const itemContent = "_itemContent_dlqxe_246";
|
|
@@ -25133,7 +25133,7 @@ const listStyles = {
|
|
|
25133
25133
|
active: active$2,
|
|
25134
25134
|
indented,
|
|
25135
25135
|
disabled,
|
|
25136
|
-
label: label$
|
|
25136
|
+
label: label$3,
|
|
25137
25137
|
details,
|
|
25138
25138
|
metadata: metadata$1,
|
|
25139
25139
|
itemContent,
|
|
@@ -25362,7 +25362,7 @@ reactExports.forwardRef(
|
|
|
25362
25362
|
);
|
|
25363
25363
|
const page = "_page_beskc_1";
|
|
25364
25364
|
const scroll = "_scroll_beskc_23";
|
|
25365
|
-
const styles$
|
|
25365
|
+
const styles$7 = {
|
|
25366
25366
|
page,
|
|
25367
25367
|
scroll
|
|
25368
25368
|
};
|
|
@@ -25377,7 +25377,7 @@ const Page$1 = ({
|
|
|
25377
25377
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25378
25378
|
"div",
|
|
25379
25379
|
{
|
|
25380
|
-
className: cx$2(styles$
|
|
25380
|
+
className: cx$2(styles$7.page, scroll3 ? styles$7.scroll : ""),
|
|
25381
25381
|
style: { left: left2, padding: padding2, top: top2 },
|
|
25382
25382
|
children
|
|
25383
25383
|
}
|
|
@@ -54856,7 +54856,7 @@ var interopRequireDefaultExports = interopRequireDefault.exports;
|
|
|
54856
54856
|
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(_extends$5);
|
|
54857
54857
|
const richTextToolbar = "_richTextToolbar_1gbkk_1";
|
|
54858
54858
|
const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
|
|
54859
|
-
const styles$
|
|
54859
|
+
const styles$6 = {
|
|
54860
54860
|
richTextToolbar,
|
|
54861
54861
|
richTextToolbarContainer
|
|
54862
54862
|
};
|
|
@@ -54908,8 +54908,8 @@ const RichTextToolbar = ({
|
|
|
54908
54908
|
active: active2.orderedList()
|
|
54909
54909
|
}
|
|
54910
54910
|
];
|
|
54911
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
54912
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
54911
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.richTextToolbarContainer, children: [
|
|
54912
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6.richTextToolbar, children: items2.map((item2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
54913
54913
|
Button$1,
|
|
54914
54914
|
{
|
|
54915
54915
|
small: true,
|
|
@@ -54939,7 +54939,7 @@ const inputWarning$1 = "_inputWarning_19adc_26";
|
|
|
54939
54939
|
const inputDisabled$1 = "_inputDisabled_19adc_61";
|
|
54940
54940
|
const hideScrollbars$1 = "_hideScrollbars_19adc_67";
|
|
54941
54941
|
const richTextInput = "_richTextInput_19adc_77";
|
|
54942
|
-
const styles$
|
|
54942
|
+
const styles$5 = {
|
|
54943
54943
|
inputInTable: inputInTable$1,
|
|
54944
54944
|
error: error$k,
|
|
54945
54945
|
warning: warning$1,
|
|
@@ -54977,7 +54977,7 @@ reactExports.forwardRef(
|
|
|
54977
54977
|
}
|
|
54978
54978
|
setState(state2);
|
|
54979
54979
|
};
|
|
54980
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
54980
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$5.richTextInput, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
54981
54981
|
Remirror,
|
|
54982
54982
|
{
|
|
54983
54983
|
manager,
|
|
@@ -55084,14 +55084,14 @@ const sidebar = "_sidebar_16jgo_82";
|
|
|
55084
55084
|
const inner = "_inner_16jgo_93";
|
|
55085
55085
|
const title$2 = "_title_16jgo_103";
|
|
55086
55086
|
const subtitle = "_subtitle_16jgo_104";
|
|
55087
|
-
const label$
|
|
55087
|
+
const label$2 = "_label_16jgo_105";
|
|
55088
55088
|
const collapsed = "_collapsed_16jgo_109";
|
|
55089
55089
|
const list = "_list_16jgo_134";
|
|
55090
55090
|
const item$1 = "_item_16jgo_140";
|
|
55091
55091
|
const experimental = "_experimental_16jgo_155";
|
|
55092
55092
|
const active$1 = "_active_16jgo_159";
|
|
55093
55093
|
const icon = "_icon_16jgo_163";
|
|
55094
|
-
const styles$
|
|
55094
|
+
const styles$4 = {
|
|
55095
55095
|
inputInTable,
|
|
55096
55096
|
error: error$j,
|
|
55097
55097
|
warning,
|
|
@@ -55105,7 +55105,7 @@ const styles$3 = {
|
|
|
55105
55105
|
inner,
|
|
55106
55106
|
title: title$2,
|
|
55107
55107
|
subtitle,
|
|
55108
|
-
label: label$
|
|
55108
|
+
label: label$2,
|
|
55109
55109
|
collapsed,
|
|
55110
55110
|
list,
|
|
55111
55111
|
item: item$1,
|
|
@@ -55126,10 +55126,10 @@ const TooltipIcon = reactExports.memo(
|
|
|
55126
55126
|
fontSize: 16,
|
|
55127
55127
|
padding: "var(--padding-sm)",
|
|
55128
55128
|
display: "block",
|
|
55129
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
55129
|
+
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 }) }) })
|
|
55130
55130
|
}
|
|
55131
55131
|
),
|
|
55132
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
55132
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$4.label, children: label2 })
|
|
55133
55133
|
] });
|
|
55134
55134
|
},
|
|
55135
55135
|
(prevProps, nextProps) => isEqual4(prevProps, nextProps)
|
|
@@ -55141,16 +55141,16 @@ const Link$1 = ({
|
|
|
55141
55141
|
onClick,
|
|
55142
55142
|
testId
|
|
55143
55143
|
}) => {
|
|
55144
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
55144
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$4.list, children: items2.map((link2, i) => {
|
|
55145
55145
|
const key2 = `${sectionIndex}_${i}`;
|
|
55146
55146
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55147
55147
|
"a",
|
|
55148
55148
|
{
|
|
55149
55149
|
href: link2.value,
|
|
55150
55150
|
className: cx$2(
|
|
55151
|
-
styles$
|
|
55152
|
-
link2.isActive ? styles$
|
|
55153
|
-
link2.isExperimental ? styles$
|
|
55151
|
+
styles$4.item,
|
|
55152
|
+
link2.isActive ? styles$4.active : "",
|
|
55153
|
+
link2.isExperimental ? styles$4.experimental : ""
|
|
55154
55154
|
),
|
|
55155
55155
|
onClick: (evt) => onClick(evt, link2.value, link2.label, link2.onClick),
|
|
55156
55156
|
"data-testid": testId,
|
|
@@ -55175,7 +55175,7 @@ const Sections = ({
|
|
|
55175
55175
|
onClick
|
|
55176
55176
|
}) => {
|
|
55177
55177
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: sections.map((section, i) => /* @__PURE__ */ jsxRuntimeExports.jsxs(React$4.Fragment, { children: [
|
|
55178
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h5", { className: styles$
|
|
55178
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h5", { className: styles$4.subtitle, children: section.heading.toUpperCase() }),
|
|
55179
55179
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55180
55180
|
Link$1,
|
|
55181
55181
|
{
|
|
@@ -55231,8 +55231,8 @@ reactExports.memo(
|
|
|
55231
55231
|
icon: IconType.LEFT
|
|
55232
55232
|
}
|
|
55233
55233
|
),
|
|
55234
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$
|
|
55235
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { className: styles$
|
|
55234
|
+
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: [
|
|
55235
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { className: styles$4.title, children: options2.title }),
|
|
55236
55236
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55237
55237
|
Sections,
|
|
55238
55238
|
{
|
|
@@ -56018,11 +56018,35 @@ var Handle = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
56018
56018
|
});
|
|
56019
56019
|
var _default = Handle;
|
|
56020
56020
|
Handle$1.default = _default;
|
|
56021
|
+
const container$1 = "_container_1ipn9_1";
|
|
56022
|
+
const small = "_small_1ipn9_7";
|
|
56023
|
+
const vertical = "_vertical_1ipn9_10";
|
|
56024
|
+
const hasArrows = "_hasArrows_1ipn9_14";
|
|
56025
|
+
const button$1 = "_button_1ipn9_18";
|
|
56026
|
+
const label$1 = "_label_1ipn9_21";
|
|
56027
|
+
const dot = "_dot_1ipn9_29";
|
|
56028
|
+
const styles$3 = {
|
|
56029
|
+
container: container$1,
|
|
56030
|
+
small,
|
|
56031
|
+
vertical,
|
|
56032
|
+
hasArrows,
|
|
56033
|
+
button: button$1,
|
|
56034
|
+
label: label$1,
|
|
56035
|
+
dot
|
|
56036
|
+
};
|
|
56021
56037
|
const formatMarkers = (marks) => {
|
|
56022
56038
|
return marks.reduce((acc, { label: label2, tooltip: tooltip2, value }) => {
|
|
56023
|
-
|
|
56024
|
-
|
|
56025
|
-
|
|
56039
|
+
acc[value] = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
56040
|
+
Tooltip,
|
|
56041
|
+
{
|
|
56042
|
+
text: /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
56043
|
+
tooltip2,
|
|
56044
|
+
tooltip2 ? ": " : "",
|
|
56045
|
+
label2 ?? value
|
|
56046
|
+
] }),
|
|
56047
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$3.dot })
|
|
56048
|
+
}
|
|
56049
|
+
);
|
|
56026
56050
|
return acc;
|
|
56027
56051
|
}, {});
|
|
56028
56052
|
};
|