@oliasoft-open-source/react-ui-library 4.0.0-beta-36 → 4.0.0-beta-38
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 +48 -47
- package/dist/index.js +63 -38
- package/dist/index.js.map +1 -1
- package/package.json +13 -11
package/dist/global.css
CHANGED
|
@@ -777,49 +777,49 @@ a {
|
|
|
777
777
|
color: var(--color-text-primary-active) !important;
|
|
778
778
|
fill: var(--color-text-primary-active) !important;
|
|
779
779
|
}
|
|
780
|
-
.
|
|
780
|
+
._accordion_1erh7_1 {
|
|
781
781
|
position: relative;
|
|
782
782
|
color: var(--color-text);
|
|
783
783
|
}
|
|
784
|
-
.
|
|
784
|
+
._accordion_1erh7_1 ._accordionHeader_1erh7_5 {
|
|
785
785
|
display: flex;
|
|
786
786
|
align-items: center;
|
|
787
787
|
}
|
|
788
|
-
.
|
|
788
|
+
._accordion_1erh7_1 ._accordionHeader_1erh7_5 ._heading_1erh7_9 {
|
|
789
789
|
flex-grow: 1;
|
|
790
790
|
}
|
|
791
|
-
.
|
|
791
|
+
._accordion_1erh7_1 ._accordionHeader_1erh7_5._clickable_1erh7_12:hover {
|
|
792
792
|
cursor: pointer;
|
|
793
793
|
}
|
|
794
|
-
.
|
|
794
|
+
._accordion_1erh7_1 ._accordionHeader_1erh7_5._clickable_1erh7_12:hover > * {
|
|
795
795
|
color: var(--color-text) !important;
|
|
796
796
|
}
|
|
797
|
-
.
|
|
797
|
+
._accordion_1erh7_1:not(._bordered_1erh7_18) ._accordionContent_1erh7_18 {
|
|
798
798
|
margin-top: var(--margin);
|
|
799
799
|
}
|
|
800
|
-
.
|
|
801
|
-
.
|
|
800
|
+
._accordion_1erh7_1._bordered_1erh7_18 ._accordionHeader_1erh7_5,
|
|
801
|
+
._accordion_1erh7_1._bordered_1erh7_18 ._accordionContent_1erh7_18 {
|
|
802
802
|
border: 1px solid var(--color-border);
|
|
803
803
|
line-height: var(--line-height);
|
|
804
804
|
}
|
|
805
|
-
.
|
|
806
|
-
padding: var(--
|
|
805
|
+
._accordion_1erh7_1._bordered_1erh7_18 ._accordionHeader_1erh7_5 {
|
|
806
|
+
padding: var(--space-1) var(--padding-sm);
|
|
807
807
|
border-radius: var(--border-radius);
|
|
808
808
|
background-color: var(--color-background);
|
|
809
809
|
}
|
|
810
|
-
.
|
|
810
|
+
._accordion_1erh7_1._bordered_1erh7_18._expanded_1erh7_31 ._accordionHeader_1erh7_5 {
|
|
811
811
|
border-bottom-left-radius: 0;
|
|
812
812
|
border-bottom-right-radius: 0;
|
|
813
813
|
}
|
|
814
|
-
.
|
|
814
|
+
._accordion_1erh7_1._bordered_1erh7_18 ._accordionContent_1erh7_18 {
|
|
815
815
|
border-top: none;
|
|
816
816
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
817
817
|
background-color: var(--color-background-raised);
|
|
818
818
|
}
|
|
819
|
-
.
|
|
819
|
+
._accordion_1erh7_1._bordered_1erh7_18 ._accordionContent_1erh7_18._padding_1erh7_40 {
|
|
820
820
|
padding: var(--padding-sm);
|
|
821
821
|
}
|
|
822
|
-
.
|
|
822
|
+
._accordion_1erh7_1._bordered_1erh7_18._squareBottom_1erh7_43 ._accordionHeader_1erh7_5 {
|
|
823
823
|
border-bottom-left-radius: 0;
|
|
824
824
|
border-bottom-right-radius: 0;
|
|
825
825
|
}
|
|
@@ -952,22 +952,22 @@ a {
|
|
|
952
952
|
._clickable_hd0z2_12:active {
|
|
953
953
|
color: var(--color-text-primary-active);
|
|
954
954
|
}
|
|
955
|
-
.
|
|
955
|
+
._bordered_3972c_1 {
|
|
956
956
|
border: 1px solid var(--color-border);
|
|
957
957
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
958
958
|
border-top: none;
|
|
959
959
|
background-color: var(--color-background-raised);
|
|
960
960
|
}
|
|
961
|
-
.
|
|
962
|
-
padding: var(--
|
|
961
|
+
._checkboxWrapper_3972c_7 {
|
|
962
|
+
padding: var(--space-1) var(--padding-sm);
|
|
963
963
|
}
|
|
964
|
-
.
|
|
964
|
+
._checkboxWrapper_3972c_7:last-child {
|
|
965
965
|
border-radius: 0 0 inherit inherit;
|
|
966
966
|
}
|
|
967
|
-
.
|
|
967
|
+
._padding_3972c_13 {
|
|
968
968
|
padding: var(--padding-sm);
|
|
969
969
|
}
|
|
970
|
-
.
|
|
970
|
+
._contentWrapper_3972c_16 {
|
|
971
971
|
border-radius: inherit;
|
|
972
972
|
}
|
|
973
973
|
._wrapper_aulte_1 {
|
|
@@ -1674,42 +1674,42 @@ html[data-theme='dark'] {
|
|
|
1674
1674
|
._buttonGroup_iu2wi_11 > *:not(:last-child) {
|
|
1675
1675
|
margin-right: -1px;
|
|
1676
1676
|
}
|
|
1677
|
-
.
|
|
1677
|
+
._card_1atmq_1 {
|
|
1678
1678
|
color: var(--color-text);
|
|
1679
1679
|
}
|
|
1680
|
-
.
|
|
1680
|
+
._card_1atmq_1._bordered_1atmq_4 {
|
|
1681
1681
|
background: var(--color-background-raised);
|
|
1682
1682
|
border: 1px solid var(--color-border);
|
|
1683
1683
|
box-shadow: var(--shadow-button);
|
|
1684
1684
|
border-radius: var(--border-radius);
|
|
1685
1685
|
}
|
|
1686
|
-
.
|
|
1686
|
+
._card_1atmq_1._bordered_1atmq_4._raised_1atmq_10 {
|
|
1687
1687
|
box-shadow: var(--shadow-layer);
|
|
1688
1688
|
}
|
|
1689
|
-
.
|
|
1689
|
+
._card_1atmq_1._bordered_1atmq_4 ._cardHeader_1atmq_13 {
|
|
1690
1690
|
background: var(--color-background);
|
|
1691
|
-
padding: var(--margin-xs) var(--padding-sm
|
|
1691
|
+
padding: var(--margin-xs) var(--padding-sm);
|
|
1692
1692
|
border-top-left-radius: inherit;
|
|
1693
1693
|
border-top-right-radius: inherit;
|
|
1694
1694
|
}
|
|
1695
|
-
.
|
|
1695
|
+
._card_1atmq_1._bordered_1atmq_4 ._cardContentBorderTop_1atmq_19 {
|
|
1696
1696
|
border-top: 1px solid var(--color-border);
|
|
1697
1697
|
}
|
|
1698
|
-
.
|
|
1698
|
+
._card_1atmq_1._bordered_1atmq_4 ._padding_1atmq_22 {
|
|
1699
1699
|
padding: var(--padding-sm);
|
|
1700
1700
|
}
|
|
1701
|
-
.
|
|
1701
|
+
._cardContent_1atmq_19:first-child {
|
|
1702
1702
|
border-top-left-radius: inherit;
|
|
1703
1703
|
border-top-right-radius: inherit;
|
|
1704
1704
|
}
|
|
1705
|
-
.
|
|
1705
|
+
._cardContent_1atmq_19:last-child {
|
|
1706
1706
|
border-bottom-left-radius: inherit;
|
|
1707
1707
|
border-bottom-right-radius: inherit;
|
|
1708
1708
|
}
|
|
1709
|
-
.
|
|
1709
|
+
._cardHeader_1atmq_13 {
|
|
1710
1710
|
display: flex;
|
|
1711
1711
|
align-items: center;
|
|
1712
|
-
padding: var(--padding-sm
|
|
1712
|
+
padding: var(--padding-sm) 0;
|
|
1713
1713
|
}
|
|
1714
1714
|
._divider_2bfzh_1 {
|
|
1715
1715
|
display: flex;
|
|
@@ -2942,7 +2942,7 @@ html[data-theme='dark'] {
|
|
|
2942
2942
|
._newLine_1haxe_31 {
|
|
2943
2943
|
white-space: 'pre-wrap';
|
|
2944
2944
|
}
|
|
2945
|
-
.
|
|
2945
|
+
._menu_1gmgb_1 {
|
|
2946
2946
|
overflow-y: auto;
|
|
2947
2947
|
position: relative;
|
|
2948
2948
|
min-width: 160px;
|
|
@@ -2952,33 +2952,33 @@ html[data-theme='dark'] {
|
|
|
2952
2952
|
background-color: var(--color-background-raised);
|
|
2953
2953
|
margin-top: 2px;
|
|
2954
2954
|
}
|
|
2955
|
-
.
|
|
2956
|
-
padding: var(--space-2) var(--padding-sm
|
|
2955
|
+
._header_1gmgb_11 {
|
|
2956
|
+
padding: var(--space-2) var(--padding-sm);
|
|
2957
2957
|
display: flex;
|
|
2958
2958
|
justify-content: space-between;
|
|
2959
2959
|
}
|
|
2960
|
-
.
|
|
2960
|
+
._header_1gmgb_11 a {
|
|
2961
2961
|
color: var(--color-text-primary);
|
|
2962
2962
|
font-weight: normal;
|
|
2963
2963
|
cursor: pointer;
|
|
2964
2964
|
}
|
|
2965
|
-
.
|
|
2965
|
+
._header_1gmgb_11 a:hover {
|
|
2966
2966
|
color: var(--color-text-primary-hover);
|
|
2967
2967
|
}
|
|
2968
|
-
.
|
|
2968
|
+
._header_1gmgb_11 a:active {
|
|
2969
2969
|
color: var(--color-text-primary-active);
|
|
2970
2970
|
}
|
|
2971
|
-
.
|
|
2972
|
-
padding: var(--space-2) var(--padding-sm
|
|
2971
|
+
._item_1gmgb_27 {
|
|
2972
|
+
padding: var(--space-2) var(--padding-sm);
|
|
2973
2973
|
background: transparent;
|
|
2974
2974
|
cursor: default;
|
|
2975
2975
|
}
|
|
2976
|
-
.
|
|
2976
|
+
._heading_1gmgb_32 {
|
|
2977
2977
|
color: var(--color-text-muted);
|
|
2978
2978
|
letter-spacing: 0.1em;
|
|
2979
2979
|
text-transform: uppercase;
|
|
2980
2980
|
font-size: var(--font-size-sm);
|
|
2981
|
-
padding: var(--space-2) var(--padding-sm
|
|
2981
|
+
padding: var(--space-2) var(--padding-sm);
|
|
2982
2982
|
max-width: 100%;
|
|
2983
2983
|
display: block;
|
|
2984
2984
|
overflow: hidden;
|
|
@@ -9196,10 +9196,10 @@ tbody tr {
|
|
|
9196
9196
|
._striped_1ssxi_188 tbody tr:nth-child(even) {
|
|
9197
9197
|
background-color: var(--color-background-table-row-tinted);
|
|
9198
9198
|
}
|
|
9199
|
-
.
|
|
9199
|
+
._title_q9c26_1 {
|
|
9200
9200
|
background-color: var(--color-background);
|
|
9201
9201
|
border-bottom: 1px solid var(--color-border-table);
|
|
9202
|
-
padding: var(--margin-xs) var(--padding-sm
|
|
9202
|
+
padding: var(--margin-xs) var(--padding-sm);
|
|
9203
9203
|
display: flex;
|
|
9204
9204
|
align-items: center;
|
|
9205
9205
|
justify-content: space-between;
|
|
@@ -10387,7 +10387,7 @@ tbody ._staticCell_1diro_116 ._staticCellContent_1diro_119 {
|
|
|
10387
10387
|
}
|
|
10388
10388
|
|
|
10389
10389
|
.Toastify__toast .Toastify__toast-body > div > div {
|
|
10390
|
-
padding-right: calc(var(--size-sm) + var(--padding-sm
|
|
10390
|
+
padding-right: calc(var(--size-sm) + var(--padding-sm) + var(--margin-xs));
|
|
10391
10391
|
}
|
|
10392
10392
|
|
|
10393
10393
|
/*# sourceMappingURL=toaster.less.map */:root {
|
|
@@ -10683,18 +10683,19 @@ tbody ._staticCell_1diro_116 ._staticCellContent_1diro_119 {
|
|
|
10683
10683
|
z-index: var(--zindex-topbar-alert);
|
|
10684
10684
|
padding: var(--padding-sm);
|
|
10685
10685
|
}
|
|
10686
|
-
.
|
|
10686
|
+
._popConfirm_1sz2n_1 {
|
|
10687
10687
|
max-width: 350px;
|
|
10688
10688
|
display: flex;
|
|
10689
10689
|
flex-direction: column;
|
|
10690
10690
|
gap: var(--margin);
|
|
10691
10691
|
}
|
|
10692
|
-
.
|
|
10692
|
+
._content_1sz2n_7 {
|
|
10693
10693
|
max-height: 200px;
|
|
10694
10694
|
word-wrap: break-word;
|
|
10695
10695
|
overflow-y: auto;
|
|
10696
|
+
text-align: center;
|
|
10696
10697
|
}
|
|
10697
|
-
.
|
|
10698
|
+
._buttons_1sz2n_13 {
|
|
10698
10699
|
display: flex;
|
|
10699
10700
|
gap: var(--margin);
|
|
10700
10701
|
justify-content: center;
|
package/dist/index.js
CHANGED
|
@@ -3279,15 +3279,15 @@ const Chevron = ({ expanded: expanded2 }) => {
|
|
|
3279
3279
|
})
|
|
3280
3280
|
});
|
|
3281
3281
|
};
|
|
3282
|
-
const accordion = "
|
|
3283
|
-
const accordionHeader = "
|
|
3284
|
-
const heading$6 = "
|
|
3285
|
-
const clickable$1 = "
|
|
3286
|
-
const bordered$4 = "
|
|
3287
|
-
const accordionContent = "
|
|
3288
|
-
const expanded$1 = "
|
|
3289
|
-
const padding$3 = "
|
|
3290
|
-
const squareBottom = "
|
|
3282
|
+
const accordion = "_accordion_1erh7_1";
|
|
3283
|
+
const accordionHeader = "_accordionHeader_1erh7_5";
|
|
3284
|
+
const heading$6 = "_heading_1erh7_9";
|
|
3285
|
+
const clickable$1 = "_clickable_1erh7_12";
|
|
3286
|
+
const bordered$4 = "_bordered_1erh7_18";
|
|
3287
|
+
const accordionContent = "_accordionContent_1erh7_18";
|
|
3288
|
+
const expanded$1 = "_expanded_1erh7_31";
|
|
3289
|
+
const padding$3 = "_padding_1erh7_40";
|
|
3290
|
+
const squareBottom = "_squareBottom_1erh7_43";
|
|
3291
3291
|
const styles$R = {
|
|
3292
3292
|
accordion,
|
|
3293
3293
|
accordionHeader,
|
|
@@ -5735,10 +5735,10 @@ CheckBox.propTypes = {
|
|
|
5735
5735
|
helpText: propTypes$1.exports.string,
|
|
5736
5736
|
onClickHelp: propTypes$1.exports.func
|
|
5737
5737
|
};
|
|
5738
|
-
const bordered$3 = "
|
|
5739
|
-
const checkboxWrapper = "
|
|
5740
|
-
const padding$2 = "
|
|
5741
|
-
const contentWrapper = "
|
|
5738
|
+
const bordered$3 = "_bordered_3972c_1";
|
|
5739
|
+
const checkboxWrapper = "_checkboxWrapper_3972c_7";
|
|
5740
|
+
const padding$2 = "_padding_3972c_13";
|
|
5741
|
+
const contentWrapper = "_contentWrapper_3972c_16";
|
|
5742
5742
|
const styles$N = {
|
|
5743
5743
|
bordered: bordered$3,
|
|
5744
5744
|
checkboxWrapper,
|
|
@@ -12661,13 +12661,13 @@ ButtonGroup.propTypes = {
|
|
|
12661
12661
|
value: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
12662
12662
|
testId: propTypes$1.exports.string
|
|
12663
12663
|
};
|
|
12664
|
-
const card = "
|
|
12665
|
-
const bordered$2 = "
|
|
12666
|
-
const raised = "
|
|
12667
|
-
const cardHeader = "
|
|
12668
|
-
const cardContentBorderTop = "
|
|
12669
|
-
const padding$1 = "
|
|
12670
|
-
const cardContent = "
|
|
12664
|
+
const card = "_card_1atmq_1";
|
|
12665
|
+
const bordered$2 = "_bordered_1atmq_4";
|
|
12666
|
+
const raised = "_raised_1atmq_10";
|
|
12667
|
+
const cardHeader = "_cardHeader_1atmq_13";
|
|
12668
|
+
const cardContentBorderTop = "_cardContentBorderTop_1atmq_19";
|
|
12669
|
+
const padding$1 = "_padding_1atmq_22";
|
|
12670
|
+
const cardContent = "_cardContent_1atmq_19";
|
|
12671
12671
|
const styles$G = {
|
|
12672
12672
|
card,
|
|
12673
12673
|
bordered: bordered$2,
|
|
@@ -16663,10 +16663,11 @@ const styles$A = {
|
|
|
16663
16663
|
empty: empty$2,
|
|
16664
16664
|
text: text$2
|
|
16665
16665
|
};
|
|
16666
|
-
const Empty = ({ width, height, text: text2, children }) => {
|
|
16666
|
+
const Empty = ({ width, height, text: text2, children, testId }) => {
|
|
16667
16667
|
return /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
16668
16668
|
className: styles$A.empty,
|
|
16669
16669
|
style: { width, height },
|
|
16670
|
+
"data-testId": testId,
|
|
16670
16671
|
children: [
|
|
16671
16672
|
/* @__PURE__ */ jsxRuntime.exports.jsx("svg", {
|
|
16672
16673
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -16717,13 +16718,15 @@ Empty.defaultProps = {
|
|
|
16717
16718
|
width: "auto",
|
|
16718
16719
|
height: "auto",
|
|
16719
16720
|
text: "No data",
|
|
16720
|
-
children: null
|
|
16721
|
+
children: null,
|
|
16722
|
+
testId: null
|
|
16721
16723
|
};
|
|
16722
16724
|
Empty.propTypes = {
|
|
16723
16725
|
width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
16724
16726
|
height: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
16725
16727
|
text: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.node]),
|
|
16726
|
-
children: propTypes$1.exports.node
|
|
16728
|
+
children: propTypes$1.exports.node,
|
|
16729
|
+
testId: propTypes$1.exports.string
|
|
16727
16730
|
};
|
|
16728
16731
|
const inputGroup = "_inputGroup_biuoa_1";
|
|
16729
16732
|
const styles$z = {
|
|
@@ -16808,6 +16811,7 @@ const Input$1 = forwardRef(
|
|
|
16808
16811
|
width: propWidth,
|
|
16809
16812
|
small: small2,
|
|
16810
16813
|
onChange,
|
|
16814
|
+
onPaste,
|
|
16811
16815
|
size: size2,
|
|
16812
16816
|
placeholder: placeholder3,
|
|
16813
16817
|
value,
|
|
@@ -16856,6 +16860,7 @@ const Input$1 = forwardRef(
|
|
|
16856
16860
|
placeholder: placeholder3,
|
|
16857
16861
|
value,
|
|
16858
16862
|
onChange,
|
|
16863
|
+
onPaste,
|
|
16859
16864
|
onKeyPress,
|
|
16860
16865
|
onFocus,
|
|
16861
16866
|
onBlur,
|
|
@@ -16886,6 +16891,8 @@ Input$1.defaultProps = {
|
|
|
16886
16891
|
type: "text",
|
|
16887
16892
|
onChange: () => {
|
|
16888
16893
|
},
|
|
16894
|
+
onPaste: () => {
|
|
16895
|
+
},
|
|
16889
16896
|
onKeyPress: () => {
|
|
16890
16897
|
},
|
|
16891
16898
|
onFocus: () => {
|
|
@@ -16923,6 +16930,7 @@ Input$1.propTypes = {
|
|
|
16923
16930
|
name: propTypes$1.exports.string,
|
|
16924
16931
|
type: propTypes$1.exports.string,
|
|
16925
16932
|
onChange: propTypes$1.exports.func,
|
|
16933
|
+
onPaste: propTypes$1.exports.func,
|
|
16926
16934
|
onKeyPress: propTypes$1.exports.func,
|
|
16927
16935
|
onFocus: propTypes$1.exports.func,
|
|
16928
16936
|
onBlur: propTypes$1.exports.func,
|
|
@@ -27272,10 +27280,10 @@ Modal.propTypes = {
|
|
|
27272
27280
|
centered: propTypes$1.exports.bool,
|
|
27273
27281
|
width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number])
|
|
27274
27282
|
};
|
|
27275
|
-
const menu$1 = "
|
|
27276
|
-
const header = "
|
|
27277
|
-
const item$3 = "
|
|
27278
|
-
const heading$1 = "
|
|
27283
|
+
const menu$1 = "_menu_1gmgb_1";
|
|
27284
|
+
const header = "_header_1gmgb_11";
|
|
27285
|
+
const item$3 = "_item_1gmgb_27";
|
|
27286
|
+
const heading$1 = "_heading_1gmgb_32";
|
|
27279
27287
|
const styles$p = {
|
|
27280
27288
|
menu: menu$1,
|
|
27281
27289
|
header,
|
|
@@ -59499,7 +59507,7 @@ const styles$a = {
|
|
|
59499
59507
|
table,
|
|
59500
59508
|
striped
|
|
59501
59509
|
};
|
|
59502
|
-
const title$1 = "
|
|
59510
|
+
const title$1 = "_title_q9c26_1";
|
|
59503
59511
|
const styles$9 = {
|
|
59504
59512
|
title: title$1
|
|
59505
59513
|
};
|
|
@@ -59857,6 +59865,7 @@ const InputCell = (props) => {
|
|
|
59857
59865
|
name: cell2.name,
|
|
59858
59866
|
value: cell2.value,
|
|
59859
59867
|
onChange: (ev) => cell2.onChange(ev),
|
|
59868
|
+
onPaste: (ev) => cell2.onPaste(ev),
|
|
59860
59869
|
placeholder: cell2.placeholder,
|
|
59861
59870
|
error: cell2.error,
|
|
59862
59871
|
warning: cell2.warning,
|
|
@@ -60306,6 +60315,7 @@ const cellShape = propTypes$1.exports.oneOfType([
|
|
|
60306
60315
|
value: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
60307
60316
|
type: cellType.isRequired,
|
|
60308
60317
|
onChange: propTypes$1.exports.func,
|
|
60318
|
+
onPaste: propTypes$1.exports.func,
|
|
60309
60319
|
placeholder: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
60310
60320
|
error: propTypes$1.exports.oneOfType([
|
|
60311
60321
|
propTypes$1.exports.string,
|
|
@@ -62711,9 +62721,9 @@ TopBar.propTypes = {
|
|
|
62711
62721
|
height: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
62712
62722
|
fixedPosition: propTypes$1.exports.bool
|
|
62713
62723
|
};
|
|
62714
|
-
const popConfirm = "
|
|
62715
|
-
const content = "
|
|
62716
|
-
const buttons = "
|
|
62724
|
+
const popConfirm = "_popConfirm_1sz2n_1";
|
|
62725
|
+
const content = "_content_1sz2n_7";
|
|
62726
|
+
const buttons = "_buttons_1sz2n_13";
|
|
62717
62727
|
const styles$1 = {
|
|
62718
62728
|
popConfirm,
|
|
62719
62729
|
content,
|
|
@@ -62725,13 +62735,15 @@ const Content = ({
|
|
|
62725
62735
|
onClickOk,
|
|
62726
62736
|
cancelText,
|
|
62727
62737
|
onClickCancel,
|
|
62728
|
-
close: close2
|
|
62738
|
+
close: close2,
|
|
62739
|
+
testId
|
|
62729
62740
|
}) => /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
62730
62741
|
className: styles$1.popConfirm,
|
|
62731
62742
|
children: [
|
|
62732
62743
|
title2 && /* @__PURE__ */ jsxRuntime.exports.jsx("div", {
|
|
62733
62744
|
className: styles$1.content,
|
|
62734
62745
|
children: /* @__PURE__ */ jsxRuntime.exports.jsx(Text, {
|
|
62746
|
+
small: true,
|
|
62735
62747
|
children: title2
|
|
62736
62748
|
})
|
|
62737
62749
|
}),
|
|
@@ -62739,13 +62751,17 @@ const Content = ({
|
|
|
62739
62751
|
className: styles$1.buttons,
|
|
62740
62752
|
children: [
|
|
62741
62753
|
/* @__PURE__ */ jsxRuntime.exports.jsx(Button$1, {
|
|
62754
|
+
small: true,
|
|
62742
62755
|
colored: true,
|
|
62743
62756
|
label: okText,
|
|
62744
|
-
onClick: () => onClickOk(close2)
|
|
62757
|
+
onClick: () => onClickOk(close2),
|
|
62758
|
+
testId: `${testId}-ok-button`
|
|
62745
62759
|
}),
|
|
62746
62760
|
/* @__PURE__ */ jsxRuntime.exports.jsx(Button$1, {
|
|
62761
|
+
small: true,
|
|
62747
62762
|
label: cancelText,
|
|
62748
|
-
onClick: () => onClickCancel(close2)
|
|
62763
|
+
onClick: () => onClickCancel(close2),
|
|
62764
|
+
testId: `${testId}-cancel-button`
|
|
62749
62765
|
})
|
|
62750
62766
|
]
|
|
62751
62767
|
})
|
|
@@ -62760,20 +62776,25 @@ const PopConfirm = ({
|
|
|
62760
62776
|
cancelText,
|
|
62761
62777
|
onClickCancel,
|
|
62762
62778
|
okText,
|
|
62763
|
-
onClickOk
|
|
62779
|
+
onClickOk,
|
|
62780
|
+
overflowContainer,
|
|
62781
|
+
testId
|
|
62764
62782
|
}) => {
|
|
62765
62783
|
const content2 = /* @__PURE__ */ jsxRuntime.exports.jsx(Content, {
|
|
62766
62784
|
title: title2,
|
|
62767
62785
|
okText,
|
|
62768
62786
|
onClickOk,
|
|
62769
62787
|
cancelText,
|
|
62770
|
-
onClickCancel
|
|
62788
|
+
onClickCancel,
|
|
62789
|
+
testId
|
|
62771
62790
|
});
|
|
62772
62791
|
return /* @__PURE__ */ jsxRuntime.exports.jsx(Popover, {
|
|
62773
62792
|
content: content2,
|
|
62774
62793
|
placement,
|
|
62775
62794
|
closeOnOutsideClick,
|
|
62776
62795
|
fullWidth,
|
|
62796
|
+
overflowContainer,
|
|
62797
|
+
testId,
|
|
62777
62798
|
children
|
|
62778
62799
|
});
|
|
62779
62800
|
};
|
|
@@ -62786,7 +62807,9 @@ PopConfirm.propTypes = {
|
|
|
62786
62807
|
cancelText: propTypes$1.exports.string,
|
|
62787
62808
|
onClickCancel: propTypes$1.exports.func,
|
|
62788
62809
|
okText: propTypes$1.exports.string,
|
|
62789
|
-
onClickOk: propTypes$1.exports.func
|
|
62810
|
+
onClickOk: propTypes$1.exports.func,
|
|
62811
|
+
overflowContainer: propTypes$1.exports.bool,
|
|
62812
|
+
testId: propTypes$1.exports.string
|
|
62790
62813
|
};
|
|
62791
62814
|
PopConfirm.defaultProps = {
|
|
62792
62815
|
children: null,
|
|
@@ -62798,7 +62821,9 @@ PopConfirm.defaultProps = {
|
|
|
62798
62821
|
onClickCancel: (close2) => close2(),
|
|
62799
62822
|
okText: "Ok",
|
|
62800
62823
|
onClickOk: (close2) => {
|
|
62801
|
-
}
|
|
62824
|
+
},
|
|
62825
|
+
overflowContainer: false,
|
|
62826
|
+
testId: void 0
|
|
62802
62827
|
};
|
|
62803
62828
|
const DndContext = createContext({
|
|
62804
62829
|
dragDropManager: void 0
|