@sisense/sdk-shared-ui 2.11.0 → 2.12.0
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/{Breadcrumbs-BPFGyMFx.cjs → Breadcrumbs-COWMgzHt.cjs} +1 -1
- package/dist/{Breadcrumbs-Dx05v0v1.js → Breadcrumbs-Dt3fTNVU.js} +2 -2
- package/dist/CheckableList-B29YBi8r.cjs +1 -0
- package/dist/{lightweight/CheckableList-DTTE9oEw.js → CheckableList-Bxe-xwg9.js} +5 -5
- package/dist/{Checkbox-BsNYaD1B.cjs → Checkbox-BrJa6rXp.cjs} +1 -1
- package/dist/{Checkbox-DZEeQIus.js → Checkbox-DYjiJckg.js} +8 -8
- package/dist/{DEPRECATED_Button-D4Ej5Vhs.js → DEPRECATED_Button-7ecRw8CO.js} +16 -16
- package/dist/DEPRECATED_Button-DfBZ7dAA.cjs +1 -0
- package/dist/DEPRECATED_Checkbox-DknRT4l8.js +63 -0
- package/dist/DEPRECATED_Checkbox-ewUBXFBz.cjs +1 -0
- package/dist/{lightweight/DEPRECATED_Icon-Bgufd-9Q.js → DEPRECATED_Icon-Dgk7vjsh.js} +11 -11
- package/dist/DEPRECATED_Icon-WhkrHLXK.cjs +1 -0
- package/dist/{DEPRECATED_Tooltip-DL3MmzWZ.cjs → DEPRECATED_Tooltip-j06rHlbQ.cjs} +1 -1
- package/dist/{DEPRECATED_Tooltip-C3s_235Q.js → DEPRECATED_Tooltip-z57g1Dds.js} +72 -72
- package/dist/{lightweight/Dropdown-DtISatbx.js → Dropdown-2YrIrxvu.js} +72 -72
- package/dist/Dropdown-B6PGOm1j.cjs +1 -0
- package/dist/{Icon-CJxir64u.js → Icon-BZz3Dwnt.js} +5 -5
- package/dist/{Icon-MnCGEEQV.cjs → Icon-BmdiZYyc.cjs} +1 -1
- package/dist/{lightweight/Input-CNvYE0Er.js → Input-BYv0WSZt.js} +35 -35
- package/dist/Input-CmAWWO-S.cjs +1 -0
- package/dist/LazyLoader-6TX7Ggk6.cjs +1 -0
- package/dist/{LazyLoader-DB86QSSx.js → LazyLoader-D5Wtlj0B.js} +5 -5
- package/dist/{lightweight/Menu-dqrqcZgC.js → Menu-B2cJDLLQ.js} +112 -112
- package/dist/{lightweight/Menu-1NGOC2wt.cjs → Menu-CeLnAuxU.cjs} +1 -1
- package/dist/Popover-Cb2FhRJS.cjs +1 -0
- package/dist/{Popover-KR_Rc69g.js → Popover-dB_aFhmo.js} +3 -3
- package/dist/RadioButton-Dyi6jRjM.cjs +1 -0
- package/dist/{lightweight/RadioButton-BpAksn2s.js → RadioButton-moBdl09d.js} +12 -12
- package/dist/{TablePagination-B9mPoc_j.cjs → TablePagination-B-2AdU-x.cjs} +12 -12
- package/dist/{TablePagination-DVbTwUqR.js → TablePagination-C54bc7St.js} +299 -299
- package/dist/{Tooltip-DNpXhTeO.js → Tooltip-CBFZGU14.js} +100 -100
- package/dist/{Tooltip-CvpZynmo.cjs → Tooltip-CRxCuNLx.cjs} +6 -6
- package/dist/{Typography-DpSJrSkJ.cjs → Typography-D9h5RwwD.cjs} +1 -1
- package/dist/{Typography-BzL8bBVw.js → Typography-zGb2HwNt.js} +19 -19
- package/dist/index.cjs +1 -1
- package/dist/index.js +17 -17
- package/dist/index.umd.js +3 -3
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Button/Button.d.ts +1 -1
- package/dist/lib/Button/Button.d.ts.map +1 -1
- package/dist/lib/CheckableList/CheckableList.cjs +1 -1
- package/dist/lib/CheckableList/CheckableList.js +1 -1
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +1 -1
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -1
- package/dist/lib/Dropdown/types.d.ts +1 -1
- package/dist/lib/Dropdown/types.d.ts.map +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.d.ts +1 -1
- package/dist/lib/Icon/Icon.d.ts.map +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Input/Input.cjs +1 -1
- package/dist/lib/Input/Input.d.ts +1 -1
- package/dist/lib/Input/Input.d.ts.map +1 -1
- package/dist/lib/Input/Input.js +1 -1
- package/dist/lib/LazyLoader/LazyLoader.cjs +1 -1
- package/dist/lib/LazyLoader/LazyLoader.d.ts +1 -0
- package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -1
- package/dist/lib/LazyLoader/LazyLoader.js +1 -1
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.d.ts +1 -1
- package/dist/lib/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts +1 -1
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.cjs +1 -1
- package/dist/lib/Popover/Popover.d.ts +1 -0
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.js +1 -1
- package/dist/lib/RadioButton/RadioButton.cjs +1 -1
- package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/lib/RadioButton/RadioButton.js +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/TablePagination/TablePaginationContext.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.d.ts +1 -1
- package/dist/lib/Typography/Typography.d.ts.map +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lib/common/emotion-cache-provider.d.ts.map +1 -1
- package/dist/lib/themes/themes.cjs +1 -1
- package/dist/lib/themes/themes.js +1 -1
- package/dist/lightweight/{Breadcrumbs-BMR7xumU.js → Breadcrumbs-BQv4eM3C.js} +4 -4
- package/dist/lightweight/Breadcrumbs-vI_njlt6.cjs +1 -0
- package/dist/lightweight/{Button-C0bT7IWv.js → Button-Bk6wnABy.js} +9 -9
- package/dist/lightweight/{Button-O3zEYLfM.cjs → Button-CS3OeIiX.cjs} +1 -1
- package/dist/lightweight/CheckableList-B29YBi8r.cjs +1 -0
- package/dist/{CheckableList-DTTE9oEw.js → lightweight/CheckableList-Bxe-xwg9.js} +5 -5
- package/dist/lightweight/{Checkbox-DqAy-3w-.js → Checkbox-BhA3xLFq.js} +6 -6
- package/dist/lightweight/Checkbox-U1SCXa8R.cjs +1 -0
- package/dist/lightweight/{DEPRECATED_Button-CTtEqID4.cjs → DEPRECATED_Button-30X1Gdvz.cjs} +5 -5
- package/dist/lightweight/{DEPRECATED_Button-CJkh2swh.js → DEPRECATED_Button-VELROi8l.js} +37 -37
- package/dist/lightweight/DEPRECATED_Checkbox-DknRT4l8.js +63 -0
- package/dist/lightweight/DEPRECATED_Checkbox-ewUBXFBz.cjs +1 -0
- package/dist/{DEPRECATED_Icon-Bgufd-9Q.js → lightweight/DEPRECATED_Icon-Dgk7vjsh.js} +11 -11
- package/dist/lightweight/DEPRECATED_Icon-WhkrHLXK.cjs +1 -0
- package/dist/lightweight/{DEPRECATED_Tooltip-DL3MmzWZ.cjs → DEPRECATED_Tooltip-j06rHlbQ.cjs} +1 -1
- package/dist/lightweight/{DEPRECATED_Tooltip-C3s_235Q.js → DEPRECATED_Tooltip-z57g1Dds.js} +72 -72
- package/dist/lightweight/Dropdown-B6PGOm1j.cjs +1 -0
- package/dist/{Dropdown-DHawmEpj.js → lightweight/Dropdown-CPGsO7YH.js} +72 -72
- package/dist/lightweight/{Icon-4kNYAFUz.cjs → Icon-B12xBWjM.cjs} +1 -1
- package/dist/lightweight/{Icon-DQNqONXU.js → Icon-YAwHO80G.js} +7 -7
- package/dist/{Input-CNvYE0Er.js → lightweight/Input-BYv0WSZt.js} +35 -35
- package/dist/lightweight/Input-CmAWWO-S.cjs +1 -0
- package/dist/lightweight/LazyLoader-6TX7Ggk6.cjs +1 -0
- package/dist/lightweight/{LazyLoader-DB86QSSx.js → LazyLoader-D5Wtlj0B.js} +5 -5
- package/dist/{Menu-B79T1mdd.js → lightweight/Menu-BYVC_1r_.js} +112 -112
- package/dist/{Menu-1NGOC2wt.cjs → lightweight/Menu-CeLnAuxU.cjs} +1 -1
- package/dist/lightweight/{Popover-BAehEo3a.js → Popover-BaVsQCLK.js} +8 -8
- package/dist/lightweight/Popover-Cb2FhRJS.cjs +1 -0
- package/dist/lightweight/RadioButton-Dyi6jRjM.cjs +1 -0
- package/dist/{RadioButton-BpAksn2s.js → lightweight/RadioButton-moBdl09d.js} +12 -12
- package/dist/lightweight/{TablePagination-Czpnhvp6.cjs → TablePagination-3Lu3zM8-.cjs} +1 -1
- package/dist/lightweight/{TablePagination-D1tyNTa7.js → TablePagination-Bxtl4Y85.js} +15 -15
- package/dist/lightweight/Tooltip-B6ZG3eHL.cjs +1 -0
- package/dist/lightweight/{Tooltip-DUpknkQW.js → Tooltip-CcdBEZyj.js} +14 -14
- package/dist/lightweight/{Typography-BT1q5az1.cjs → Typography-B1-Tpk6K.cjs} +1 -1
- package/dist/lightweight/{Typography-CvzdielF.js → Typography-BGpUyXAu.js} +6 -6
- package/dist/lightweight/emotion-cache-provider-CsV-1DX2.cjs +1 -0
- package/dist/lightweight/{emotion-cache-provider-CE1QZs6M.js → emotion-cache-provider-DtTJHiXP.js} +6 -6
- package/dist/lightweight/index.cjs +1 -1
- package/dist/lightweight/index.js +18 -18
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lightweight/lib/Button/Button.cjs +1 -1
- package/dist/lightweight/lib/Button/Button.d.ts +1 -1
- package/dist/lightweight/lib/Button/Button.d.ts.map +1 -1
- package/dist/lightweight/lib/Button/Button.js +2 -2
- package/dist/lightweight/lib/CheckableList/CheckableList.cjs +1 -1
- package/dist/lightweight/lib/CheckableList/CheckableList.js +1 -1
- package/dist/lightweight/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts +1 -1
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lightweight/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +1 -1
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -1
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -1
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +1 -1
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -1
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -1
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +1 -1
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -1
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
- package/dist/lightweight/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/lightweight/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -1
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -1
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +1 -1
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -1
- package/dist/lightweight/lib/Dropdown/types.d.ts +1 -1
- package/dist/lightweight/lib/Dropdown/types.d.ts.map +1 -1
- package/dist/lightweight/lib/Icon/Icon.cjs +1 -1
- package/dist/lightweight/lib/Icon/Icon.d.ts +1 -1
- package/dist/lightweight/lib/Icon/Icon.d.ts.map +1 -1
- package/dist/lightweight/lib/Icon/Icon.js +1 -1
- package/dist/lightweight/lib/Input/Input.cjs +1 -1
- package/dist/lightweight/lib/Input/Input.d.ts +1 -1
- package/dist/lightweight/lib/Input/Input.d.ts.map +1 -1
- package/dist/lightweight/lib/Input/Input.js +1 -1
- package/dist/lightweight/lib/LazyLoader/LazyLoader.cjs +1 -1
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts.map +1 -1
- package/dist/lightweight/lib/LazyLoader/LazyLoader.js +1 -1
- package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -1
- package/dist/lightweight/lib/Menu/Menu.cjs +1 -1
- package/dist/lightweight/lib/Menu/Menu.d.ts +1 -1
- package/dist/lightweight/lib/Menu/Menu.d.ts.map +1 -1
- package/dist/lightweight/lib/Menu/Menu.js +2 -2
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts +1 -1
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -1
- package/dist/lightweight/lib/Popover/Popover.cjs +1 -1
- package/dist/lightweight/lib/Popover/Popover.d.ts +1 -0
- package/dist/lightweight/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lightweight/lib/Popover/Popover.js +1 -1
- package/dist/lightweight/lib/RadioButton/RadioButton.cjs +1 -1
- package/dist/lightweight/lib/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/lightweight/lib/RadioButton/RadioButton.js +1 -1
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +1 -1
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -1
- package/dist/lightweight/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts +1 -1
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts.map +1 -1
- package/dist/lightweight/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts.map +1 -1
- package/dist/lightweight/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts +1 -1
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/lightweight/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lightweight/lib/Typography/Typography.cjs +1 -1
- package/dist/lightweight/lib/Typography/Typography.d.ts +1 -1
- package/dist/lightweight/lib/Typography/Typography.d.ts.map +1 -1
- package/dist/lightweight/lib/Typography/Typography.js +2 -2
- package/dist/lightweight/lib/common/emotion-cache-provider.d.ts.map +1 -1
- package/dist/lightweight/lib/themes/themes.cjs +1 -1
- package/dist/lightweight/lib/themes/themes.js +1 -1
- package/dist/lightweight/package.json +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/CheckableList-1Jq4spYu.cjs +0 -1
- package/dist/DEPRECATED_Button-CIjcOy2c.cjs +0 -1
- package/dist/DEPRECATED_Checkbox-Be1l_Vce.js +0 -63
- package/dist/DEPRECATED_Checkbox-BggU0HO5.cjs +0 -1
- package/dist/DEPRECATED_Icon-DC1Hc9iB.cjs +0 -1
- package/dist/Dropdown-C-gB9fcP.cjs +0 -1
- package/dist/Input-_wNCDCdI.cjs +0 -1
- package/dist/LazyLoader-gOLNhxc-.cjs +0 -1
- package/dist/Popover-DHy8NRMc.cjs +0 -1
- package/dist/RadioButton-Ds-0wj0r.cjs +0 -1
- package/dist/lightweight/Breadcrumbs-BgNa_noo.cjs +0 -1
- package/dist/lightweight/CheckableList-1Jq4spYu.cjs +0 -1
- package/dist/lightweight/Checkbox-hyvVpMGp.cjs +0 -1
- package/dist/lightweight/DEPRECATED_Checkbox-Be1l_Vce.js +0 -63
- package/dist/lightweight/DEPRECATED_Checkbox-BggU0HO5.cjs +0 -1
- package/dist/lightweight/DEPRECATED_Icon-DC1Hc9iB.cjs +0 -1
- package/dist/lightweight/Dropdown-C-gB9fcP.cjs +0 -1
- package/dist/lightweight/Input-_wNCDCdI.cjs +0 -1
- package/dist/lightweight/LazyLoader-gOLNhxc-.cjs +0 -1
- package/dist/lightweight/Popover-DHy8NRMc.cjs +0 -1
- package/dist/lightweight/RadioButton-Ds-0wj0r.cjs +0 -1
- package/dist/lightweight/Tooltip-BcjJxRj4.cjs +0 -1
- package/dist/lightweight/emotion-cache-provider-BsnmG_09.cjs +0 -1
|
@@ -141,15 +141,15 @@ function Mo() {
|
|
|
141
141
|
case d:
|
|
142
142
|
return Z;
|
|
143
143
|
default:
|
|
144
|
-
var
|
|
145
|
-
switch (
|
|
144
|
+
var ke = Z && Z.$$typeof;
|
|
145
|
+
switch (ke) {
|
|
146
146
|
case a:
|
|
147
147
|
case f:
|
|
148
148
|
case p:
|
|
149
149
|
case v:
|
|
150
150
|
case m:
|
|
151
151
|
case i:
|
|
152
|
-
return
|
|
152
|
+
return ke;
|
|
153
153
|
default:
|
|
154
154
|
return _e;
|
|
155
155
|
}
|
|
@@ -159,7 +159,7 @@ function Mo() {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
var V = f, W = i, C = e, z = p,
|
|
162
|
+
var V = f, W = i, C = e, z = p, k = t, M = v, H = m, j = n, F = r, T = o, x = h, ue = d, q = !1, fe = !1;
|
|
163
163
|
function G(l) {
|
|
164
164
|
return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
165
165
|
}
|
|
@@ -196,13 +196,13 @@ function Mo() {
|
|
|
196
196
|
function U(l) {
|
|
197
197
|
return S(l) === o;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function D(l) {
|
|
200
200
|
return S(l) === h;
|
|
201
201
|
}
|
|
202
202
|
function Re(l) {
|
|
203
203
|
return S(l) === d;
|
|
204
204
|
}
|
|
205
|
-
O.ContextConsumer = V, O.ContextProvider = W, O.Element = C, O.ForwardRef = z, O.Fragment =
|
|
205
|
+
O.ContextConsumer = V, O.ContextProvider = W, O.Element = C, O.ForwardRef = z, O.Fragment = k, O.Lazy = M, O.Memo = H, O.Portal = j, O.Profiler = F, O.StrictMode = T, O.Suspense = x, O.SuspenseList = ue, O.isAsyncMode = G, O.isConcurrentMode = pe, O.isContextConsumer = K, O.isContextProvider = J, O.isElement = Q, O.isForwardRef = oe, O.isFragment = X, O.isLazy = _, O.isMemo = I, O.isPortal = $, O.isProfiler = ee, O.isStrictMode = U, O.isSuspense = D, O.isSuspenseList = Re, O.isValidElementType = L, O.typeOf = S;
|
|
206
206
|
}()), O;
|
|
207
207
|
}
|
|
208
208
|
process.env.NODE_ENV === "production" ? Gt.exports = Co() : Gt.exports = Mo();
|
|
@@ -263,13 +263,13 @@ function Mt(e, n) {
|
|
|
263
263
|
t && console.error(`Warning: ${t}`);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function ko(e, n) {
|
|
267
267
|
if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
|
|
268
268
|
const t = pn.reduce((o, r) => r(o ?? "", "note"), n);
|
|
269
269
|
t && console.warn(`Note: ${t}`);
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Do() {
|
|
273
273
|
Kt = {};
|
|
274
274
|
}
|
|
275
275
|
function zn(e, n, t) {
|
|
@@ -279,10 +279,10 @@ function Nt(e, n) {
|
|
|
279
279
|
zn(Mt, e, n);
|
|
280
280
|
}
|
|
281
281
|
function Vo(e, n) {
|
|
282
|
-
zn(
|
|
282
|
+
zn(ko, e, n);
|
|
283
283
|
}
|
|
284
284
|
Nt.preMessage = $o;
|
|
285
|
-
Nt.resetWarned =
|
|
285
|
+
Nt.resetWarned = Do;
|
|
286
286
|
Nt.noteOnce = Vo;
|
|
287
287
|
const jn = /* @__PURE__ */ s.createContext(null);
|
|
288
288
|
let Wo = !1;
|
|
@@ -578,10 +578,10 @@ function er(e, n) {
|
|
|
578
578
|
offsetHeight: S
|
|
579
579
|
};
|
|
580
580
|
p.current = C;
|
|
581
|
-
const z = L === Math.round(y) ? y : L,
|
|
581
|
+
const z = L === Math.round(y) ? y : L, k = S === Math.round(w) ? w : S, M = {
|
|
582
582
|
...C,
|
|
583
583
|
offsetWidth: z,
|
|
584
|
-
offsetHeight:
|
|
584
|
+
offsetHeight: k
|
|
585
585
|
};
|
|
586
586
|
i == null || i(M, g, P), c && Promise.resolve().then(() => {
|
|
587
587
|
c(M, g);
|
|
@@ -824,13 +824,13 @@ function yr(e, n, t, {
|
|
|
824
824
|
onLeaveEnd: w,
|
|
825
825
|
onVisibleChanged: L
|
|
826
826
|
}) {
|
|
827
|
-
const [S, V] = sn(), [W, C] = cr(Ce), [z,
|
|
827
|
+
const [S, V] = sn(), [W, C] = cr(Ce), [z, k] = sn(null), M = W(), H = He(!1), j = He(null);
|
|
828
828
|
function F() {
|
|
829
829
|
return t();
|
|
830
830
|
}
|
|
831
831
|
const T = He(!1);
|
|
832
832
|
function x() {
|
|
833
|
-
C(Ce),
|
|
833
|
+
C(Ce), k(null, !0);
|
|
834
834
|
}
|
|
835
835
|
const ue = be((_) => {
|
|
836
836
|
const I = W();
|
|
@@ -871,7 +871,7 @@ function yr(e, n, t, {
|
|
|
871
871
|
const $ = G[ye];
|
|
872
872
|
return $ ? $(F()) : lo;
|
|
873
873
|
}
|
|
874
|
-
return K in G &&
|
|
874
|
+
return K in G && k(((I = G[K]) == null ? void 0 : I.call(G, F(), null)) || null), K === et && M !== Ce && (q(F()), f > 0 && (clearTimeout(j.current), j.current = setTimeout(() => {
|
|
875
875
|
ue({
|
|
876
876
|
deadline: !0
|
|
877
877
|
});
|
|
@@ -934,8 +934,8 @@ function vr(e) {
|
|
|
934
934
|
const [P, y, w, L] = yr(E, f, c, r), S = P(), V = s.useRef(L);
|
|
935
935
|
L && (V.current = !0);
|
|
936
936
|
const W = s.useMemo(() => {
|
|
937
|
-
const
|
|
938
|
-
return Object.defineProperties(
|
|
937
|
+
const k = {};
|
|
938
|
+
return Object.defineProperties(k, {
|
|
939
939
|
nativeElement: {
|
|
940
940
|
enumerable: !0,
|
|
941
941
|
get: c
|
|
@@ -948,7 +948,7 @@ function vr(e) {
|
|
|
948
948
|
enumerable: !0,
|
|
949
949
|
get: () => () => E
|
|
950
950
|
}
|
|
951
|
-
}),
|
|
951
|
+
}), k;
|
|
952
952
|
}, []);
|
|
953
953
|
s.useImperativeHandle(i, () => W, []);
|
|
954
954
|
let C;
|
|
@@ -971,13 +971,13 @@ function vr(e) {
|
|
|
971
971
|
}
|
|
972
972
|
}, g) : C = null;
|
|
973
973
|
else {
|
|
974
|
-
let
|
|
975
|
-
y === ye ?
|
|
976
|
-
const M = On(d, `${S}-${
|
|
974
|
+
let k;
|
|
975
|
+
y === ye ? k = "prepare" : po(y) ? k = "active" : y === Je && (k = "start");
|
|
976
|
+
const M = On(d, `${S}-${k}`);
|
|
977
977
|
C = h({
|
|
978
978
|
...z,
|
|
979
979
|
className: we(On(d, S), {
|
|
980
|
-
[M]: M &&
|
|
980
|
+
[M]: M && k,
|
|
981
981
|
[d]: typeof d == "string"
|
|
982
982
|
}),
|
|
983
983
|
style: w
|
|
@@ -1096,7 +1096,7 @@ const go = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1096
1096
|
onMouseEnter: W,
|
|
1097
1097
|
onMouseLeave: C,
|
|
1098
1098
|
onPointerEnter: z,
|
|
1099
|
-
onPointerDownCapture:
|
|
1099
|
+
onPointerDownCapture: k,
|
|
1100
1100
|
ready: M,
|
|
1101
1101
|
offsetX: H,
|
|
1102
1102
|
offsetY: j,
|
|
@@ -1121,8 +1121,8 @@ const go = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1121
1121
|
if (M || !p) {
|
|
1122
1122
|
const {
|
|
1123
1123
|
points: ee
|
|
1124
|
-
} = g, U = g.dynamicInset || (($ = g._experimental) == null ? void 0 : $.dynamicInset),
|
|
1125
|
-
|
|
1124
|
+
} = g, U = g.dynamicInset || (($ = g._experimental) == null ? void 0 : $.dynamicInset), D = U && ee[0][1] === "r", Re = U && ee[0][0] === "b";
|
|
1125
|
+
D ? (_.right = F, _.left = X) : (_.left = H, _.right = X), Re ? (_.bottom = T, _.top = X) : (_.top = j, _.bottom = X);
|
|
1126
1126
|
}
|
|
1127
1127
|
const I = {};
|
|
1128
1128
|
return q && (q.includes("height") && G ? I.height = G : q.includes("minHeight") && G && (I.minHeight = G), q.includes("width") && fe ? I.width = fe : q.includes("minWidth") && fe && (I.minWidth = fe)), p || (I.pointerEvents = "none"), /* @__PURE__ */ s.createElement(S, {
|
|
@@ -1150,12 +1150,12 @@ const go = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1150
1150
|
onEnterPrepare: ue,
|
|
1151
1151
|
visible: p,
|
|
1152
1152
|
onVisibleChanged: (U) => {
|
|
1153
|
-
var
|
|
1154
|
-
(
|
|
1153
|
+
var D;
|
|
1154
|
+
(D = c == null ? void 0 : c.onVisibleChanged) == null || D.call(c, U), a(U);
|
|
1155
1155
|
}
|
|
1156
1156
|
}), ({
|
|
1157
1157
|
className: U,
|
|
1158
|
-
style:
|
|
1158
|
+
style: D
|
|
1159
1159
|
}, Re) => {
|
|
1160
1160
|
const l = we(r, U, o);
|
|
1161
1161
|
return /* @__PURE__ */ s.createElement("div", {
|
|
@@ -1166,7 +1166,7 @@ const go = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1166
1166
|
"--arrow-y": `${E.y || 0}px`,
|
|
1167
1167
|
..._,
|
|
1168
1168
|
...I,
|
|
1169
|
-
...
|
|
1169
|
+
...D,
|
|
1170
1170
|
boxSizing: "border-box",
|
|
1171
1171
|
zIndex: V,
|
|
1172
1172
|
...i
|
|
@@ -1175,7 +1175,7 @@ const go = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1175
1175
|
onMouseLeave: C,
|
|
1176
1176
|
onPointerEnter: z,
|
|
1177
1177
|
onClick: m,
|
|
1178
|
-
onPointerDownCapture:
|
|
1178
|
+
onPointerDownCapture: k
|
|
1179
1179
|
}, R && /* @__PURE__ */ s.createElement(br, {
|
|
1180
1180
|
prefixCls: r,
|
|
1181
1181
|
arrow: R,
|
|
@@ -1260,7 +1260,7 @@ function lt(e, n = 1) {
|
|
|
1260
1260
|
function ft(e) {
|
|
1261
1261
|
return lt(parseFloat(e), 0);
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1263
|
+
function kn(e, n) {
|
|
1264
1264
|
const t = {
|
|
1265
1265
|
...e
|
|
1266
1266
|
};
|
|
@@ -1279,23 +1279,23 @@ function Dn(e, n) {
|
|
|
1279
1279
|
clientHeight: v,
|
|
1280
1280
|
offsetWidth: R,
|
|
1281
1281
|
clientWidth: E
|
|
1282
|
-
} = o, g = ft(f), c = ft(a), P = ft(p), y = ft(h), w = lt(Math.round(d.width / R * 1e3) / 1e3), L = lt(Math.round(d.height / m * 1e3) / 1e3), S = (R - E - P - y) * w, V = (m - v - g - c) * L, W = g * L, C = c * L, z = P * w,
|
|
1282
|
+
} = o, g = ft(f), c = ft(a), P = ft(p), y = ft(h), w = lt(Math.round(d.width / R * 1e3) / 1e3), L = lt(Math.round(d.height / m * 1e3) / 1e3), S = (R - E - P - y) * w, V = (m - v - g - c) * L, W = g * L, C = c * L, z = P * w, k = y * w;
|
|
1283
1283
|
let M = 0, H = 0;
|
|
1284
1284
|
if (r === "clip") {
|
|
1285
1285
|
const ue = ft(i);
|
|
1286
1286
|
M = ue * w, H = ue * L;
|
|
1287
1287
|
}
|
|
1288
|
-
const j = d.x + z - M, F = d.y + W - H, T = j + d.width + 2 * M - z -
|
|
1288
|
+
const j = d.x + z - M, F = d.y + W - H, T = j + d.width + 2 * M - z - k - S, x = F + d.height + 2 * H - W - C - V;
|
|
1289
1289
|
t.left = Math.max(t.left, j), t.top = Math.max(t.top, F), t.right = Math.min(t.right, T), t.bottom = Math.min(t.bottom, x);
|
|
1290
1290
|
}), t;
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1292
|
+
function Dn(e, n = 0) {
|
|
1293
1293
|
const t = `${n}`, o = t.match(/^(.*)\%$/);
|
|
1294
1294
|
return o ? e * (parseFloat(o[1]) / 100) : parseFloat(t);
|
|
1295
1295
|
}
|
|
1296
1296
|
function Vn(e, n) {
|
|
1297
1297
|
const [t, o] = n || [];
|
|
1298
|
-
return [
|
|
1298
|
+
return [Dn(e.width, t), Dn(e.height, o)];
|
|
1299
1299
|
}
|
|
1300
1300
|
function Wn(e = "") {
|
|
1301
1301
|
return [e[0], e[1]];
|
|
@@ -1346,7 +1346,7 @@ function Pr(e, n, t, o, r, i, f) {
|
|
|
1346
1346
|
width: S,
|
|
1347
1347
|
height: V,
|
|
1348
1348
|
position: W
|
|
1349
|
-
} = L.getComputedStyle(y), C = y.style.left, z = y.style.top,
|
|
1349
|
+
} = L.getComputedStyle(y), C = y.style.left, z = y.style.top, k = y.style.right, M = y.style.bottom, H = y.style.overflow, j = {
|
|
1350
1350
|
...r[o],
|
|
1351
1351
|
...i
|
|
1352
1352
|
}, F = w.createElement("div");
|
|
@@ -1393,10 +1393,10 @@ function Pr(e, n, t, o, r, i, f) {
|
|
|
1393
1393
|
} = j;
|
|
1394
1394
|
const ee = "visible", U = "visibleFirst";
|
|
1395
1395
|
$ !== "scroll" && $ !== U && ($ = ee);
|
|
1396
|
-
const
|
|
1396
|
+
const D = $ === U, Re = kn(I, d), l = kn(_, d), _e = $ === ee ? l : Re, Z = D ? l : _e;
|
|
1397
1397
|
y.style.left = "auto", y.style.top = "auto", y.style.right = "0", y.style.bottom = "0";
|
|
1398
|
-
const
|
|
1399
|
-
y.style.left = C, y.style.top = z, y.style.right =
|
|
1398
|
+
const ke = y.getBoundingClientRect();
|
|
1399
|
+
y.style.left = C, y.style.top = z, y.style.right = k, y.style.bottom = M, y.style.overflow = H, (P = y.parentElement) == null || P.removeChild(F);
|
|
1400
1400
|
const Se = lt(Math.round(Q / parseFloat(S) * 1e3) / 1e3), Ne = lt(Math.round(J / parseFloat(V) * 1e3) / 1e3);
|
|
1401
1401
|
if (Se === 0 || Ne === 0 || at(t) && !Rr(t))
|
|
1402
1402
|
return;
|
|
@@ -1411,12 +1411,12 @@ function Pr(e, n, t, o, r, i, f) {
|
|
|
1411
1411
|
...j
|
|
1412
1412
|
};
|
|
1413
1413
|
let N = tt.x - nt.x + se, B = tt.y - nt.y + ge;
|
|
1414
|
-
const me = le(N, B),
|
|
1415
|
-
adjustX:
|
|
1414
|
+
const me = le(N, B), De = le(N, B, l), je = Ze(T, ["t", "l"]), mt = Ze(x, ["t", "l"]), Ve = Ze(T, ["b", "r"]), ht = Ze(x, ["b", "r"]), kt = j.overflow || {}, {
|
|
1415
|
+
adjustX: Dt,
|
|
1416
1416
|
adjustY: Vt,
|
|
1417
1417
|
shiftX: gt,
|
|
1418
1418
|
shiftY: yt
|
|
1419
|
-
} =
|
|
1419
|
+
} = kt, vt = (b) => typeof b == "boolean" ? b : b >= 0;
|
|
1420
1420
|
let We, Xe, ve, Ae;
|
|
1421
1421
|
Ye();
|
|
1422
1422
|
const Oe = vt(Vt), ot = te[0] === ae[0];
|
|
@@ -1425,33 +1425,33 @@ function Pr(e, n, t, o, r, i, f) {
|
|
|
1425
1425
|
ot ? b -= J - oe : b = je.y - ht.y - ge;
|
|
1426
1426
|
const ce = le(N, b), u = le(N, b, l);
|
|
1427
1427
|
// Of course use larger one
|
|
1428
|
-
ce > me || ce === me && (!
|
|
1429
|
-
u >=
|
|
1428
|
+
ce > me || ce === me && (!D || // Choose recommend one
|
|
1429
|
+
u >= De) ? (m.current.bt = !0, B = b, ge = -ge, xe.points = [$e(te, 0), $e(ae, 0)]) : m.current.bt = !1;
|
|
1430
1430
|
}
|
|
1431
1431
|
if (Oe && te[0] === "b" && (We < Z.top || m.current.tb)) {
|
|
1432
1432
|
let b = B;
|
|
1433
1433
|
ot ? b += J - oe : b = Ve.y - mt.y - ge;
|
|
1434
1434
|
const ce = le(N, b), u = le(N, b, l);
|
|
1435
1435
|
// Of course use larger one
|
|
1436
|
-
ce > me || ce === me && (!
|
|
1437
|
-
u >=
|
|
1436
|
+
ce > me || ce === me && (!D || // Choose recommend one
|
|
1437
|
+
u >= De) ? (m.current.tb = !0, B = b, ge = -ge, xe.points = [$e(te, 0), $e(ae, 0)]) : m.current.tb = !1;
|
|
1438
1438
|
}
|
|
1439
|
-
const Fe = vt(
|
|
1439
|
+
const Fe = vt(Dt), Pe = te[1] === ae[1];
|
|
1440
1440
|
if (Fe && te[1] === "l" && (Ae > Z.right || m.current.rl)) {
|
|
1441
1441
|
let b = N;
|
|
1442
1442
|
Pe ? b -= Q - X : b = je.x - ht.x - se;
|
|
1443
1443
|
const ce = le(b, B), u = le(b, B, l);
|
|
1444
1444
|
// Of course use larger one
|
|
1445
|
-
ce > me || ce === me && (!
|
|
1446
|
-
u >=
|
|
1445
|
+
ce > me || ce === me && (!D || // Choose recommend one
|
|
1446
|
+
u >= De) ? (m.current.rl = !0, N = b, se = -se, xe.points = [$e(te, 1), $e(ae, 1)]) : m.current.rl = !1;
|
|
1447
1447
|
}
|
|
1448
1448
|
if (Fe && te[1] === "r" && (ve < Z.left || m.current.lr)) {
|
|
1449
1449
|
let b = N;
|
|
1450
1450
|
Pe ? b += Q - X : b = Ve.x - mt.x - se;
|
|
1451
1451
|
const ce = le(b, B), u = le(b, B, l);
|
|
1452
1452
|
// Of course use larger one
|
|
1453
|
-
ce > me || ce === me && (!
|
|
1454
|
-
u >=
|
|
1453
|
+
ce > me || ce === me && (!D || // Choose recommend one
|
|
1454
|
+
u >= De) ? (m.current.lr = !0, N = b, se = -se, xe.points = [$e(te, 1), $e(ae, 1)]) : m.current.lr = !1;
|
|
1455
1455
|
}
|
|
1456
1456
|
Ye();
|
|
1457
1457
|
const Ue = gt === !0 ? 0 : gt;
|
|
@@ -1460,7 +1460,7 @@ function Pr(e, n, t, o, r, i, f) {
|
|
|
1460
1460
|
typeof Be == "number" && (We < l.top && (B -= We - l.top - ge, T.y + oe < l.top + Be && (B += T.y - l.top + oe - Be)), Xe > l.bottom && (B -= Xe - l.bottom - ge, T.y > l.bottom - Be && (B += T.y - l.bottom + Be)));
|
|
1461
1461
|
const rt = x.x + N, Wt = rt + Q, st = x.y + B, Yt = st + J, it = T.x, Ft = it + X, bt = T.y, Bt = bt + oe, Le = Math.max(rt, it), Ht = Math.min(Wt, Ft), zt = (Le + Ht) / 2 - rt, ct = Math.max(st, bt), Et = Math.min(Yt, Bt), qe = (ct + Et) / 2 - st;
|
|
1462
1462
|
f == null || f(n, xe);
|
|
1463
|
-
let Qe =
|
|
1463
|
+
let Qe = ke.right - x.x - (N + x.width), wt = ke.bottom - x.y - (B + x.height);
|
|
1464
1464
|
Se === 1 && (N = Math.round(N), Qe = Math.round(Qe)), Ne === 1 && (B = Math.round(B), wt = Math.round(wt));
|
|
1465
1465
|
const jt = {
|
|
1466
1466
|
ready: !0,
|
|
@@ -1573,7 +1573,7 @@ function Mr(e = hn) {
|
|
|
1573
1573
|
// Popup
|
|
1574
1574
|
popup: C,
|
|
1575
1575
|
popupClassName: z,
|
|
1576
|
-
popupStyle:
|
|
1576
|
+
popupStyle: k,
|
|
1577
1577
|
popupPlacement: M,
|
|
1578
1578
|
builtinPlacements: H = {},
|
|
1579
1579
|
popupAlign: j,
|
|
@@ -1598,14 +1598,14 @@ function Mr(e = hn) {
|
|
|
1598
1598
|
registerSubPopup: (u, Y) => {
|
|
1599
1599
|
I.current[u] = Y, $ == null || $.registerSubPopup(u, Y);
|
|
1600
1600
|
}
|
|
1601
|
-
}), [$]), U = to(), [
|
|
1602
|
-
l.current = u, at(u) &&
|
|
1603
|
-
}), [Z,
|
|
1604
|
-
at(u) && Z !== u && (
|
|
1601
|
+
}), [$]), U = to(), [D, Re] = s.useState(null), l = s.useRef(null), _e = be((u) => {
|
|
1602
|
+
l.current = u, at(u) && D !== u && Re(u), $ == null || $.registerSubPopup(U, u);
|
|
1603
|
+
}), [Z, ke] = s.useState(null), Se = s.useRef(null), Ne = be((u) => {
|
|
1604
|
+
at(u) && Z !== u && (ke(u), Se.current = u);
|
|
1605
1605
|
}), ze = s.Children.only(i), re = (ze == null ? void 0 : ze.props) || {}, se = {}, ge = be((u) => {
|
|
1606
1606
|
var ne, Ie;
|
|
1607
1607
|
const Y = Z;
|
|
1608
|
-
return (Y == null ? void 0 : Y.contains(u)) || ((ne = rn(Y)) == null ? void 0 : ne.host) === u || u === Y || (
|
|
1608
|
+
return (Y == null ? void 0 : Y.contains(u)) || ((ne = rn(Y)) == null ? void 0 : ne.host) === u || u === Y || (D == null ? void 0 : D.contains(u)) || ((Ie = rn(D)) == null ? void 0 : Ie.host) === u || u === D || Object.values(I.current).some((Te) => (Te == null ? void 0 : Te.contains(u)) || u === Te);
|
|
1609
1609
|
}), [It, pt] = s.useState(d || !1), ie = h ?? It, $t = be((u) => {
|
|
1610
1610
|
h === void 0 && pt(u);
|
|
1611
1611
|
});
|
|
@@ -1630,12 +1630,12 @@ function Mr(e = hn) {
|
|
|
1630
1630
|
de((u) => {
|
|
1631
1631
|
(!u || ie) && le(!0);
|
|
1632
1632
|
}, [ie]);
|
|
1633
|
-
const [me,
|
|
1633
|
+
const [me, De] = s.useState(null), [je, mt] = s.useState(null), Ve = (u) => {
|
|
1634
1634
|
mt([u.clientX, u.clientY]);
|
|
1635
|
-
}, [ht,
|
|
1635
|
+
}, [ht, kt, Dt, Vt, gt, yt, vt, We, Xe, ve, Ae] = Pr(ie, D, q && je !== null ? je : Z, M, H, j, G), [Ye, Oe] = wr(X, f, a, p), ot = Ye.has("click"), Fe = Oe.has("click") || Oe.has("contextMenu"), Pe = be(() => {
|
|
1636
1636
|
B || Ae();
|
|
1637
1637
|
});
|
|
1638
|
-
Tr(ie, Z,
|
|
1638
|
+
Tr(ie, Z, D, Pe, () => {
|
|
1639
1639
|
ae.current && q && Fe && N(!1);
|
|
1640
1640
|
}), de(() => {
|
|
1641
1641
|
Pe();
|
|
@@ -1661,10 +1661,10 @@ function Mr(e = hn) {
|
|
|
1661
1661
|
}, bt = (u) => {
|
|
1662
1662
|
le(!1), Ae(), v == null || v(u), E == null || E(u);
|
|
1663
1663
|
}, Bt = () => new Promise((u) => {
|
|
1664
|
-
it(),
|
|
1664
|
+
it(), De(() => u);
|
|
1665
1665
|
});
|
|
1666
1666
|
de(() => {
|
|
1667
|
-
me && (Ae(), me(),
|
|
1667
|
+
me && (Ae(), me(), De(null));
|
|
1668
1668
|
}, [me]);
|
|
1669
1669
|
function Le(u, Y, ne, Ie) {
|
|
1670
1670
|
se[u] = (Te, ...Xt) => {
|
|
@@ -1676,14 +1676,14 @@ function Mr(e = hn) {
|
|
|
1676
1676
|
var ne;
|
|
1677
1677
|
ae.current && Fe ? N(!1) : !ae.current && ot && (Ve(u), N(!0)), (ne = re.onClick) == null || ne.call(re, u, ...Y);
|
|
1678
1678
|
});
|
|
1679
|
-
const Ht = Cr(ie, Fe, Z,
|
|
1679
|
+
const Ht = Cr(ie, Fe, Z, D, w, L, ge, N), yn = Ye.has("hover"), zt = Oe.has("hover");
|
|
1680
1680
|
let ct, Et;
|
|
1681
1681
|
yn && (Le("onMouseEnter", !0, g, (u) => {
|
|
1682
1682
|
Ve(u);
|
|
1683
1683
|
}), Le("onPointerEnter", !0, g, (u) => {
|
|
1684
1684
|
Ve(u);
|
|
1685
1685
|
}), ct = (u) => {
|
|
1686
|
-
(ie || B) && (
|
|
1686
|
+
(ie || B) && (D != null && D.contains(u.target)) && N(!0, g);
|
|
1687
1687
|
}, q && (se.onMouseMove = (u) => {
|
|
1688
1688
|
var Y;
|
|
1689
1689
|
(Y = re.onMouseMove) == null || Y.call(re, u);
|
|
@@ -1727,7 +1727,7 @@ function Mr(e = hn) {
|
|
|
1727
1727
|
prefixCls: r,
|
|
1728
1728
|
popup: C,
|
|
1729
1729
|
className: we(z, Be),
|
|
1730
|
-
style:
|
|
1730
|
+
style: k,
|
|
1731
1731
|
target: Z,
|
|
1732
1732
|
onMouseEnter: ct,
|
|
1733
1733
|
onMouseLeave: Et,
|
|
@@ -1750,8 +1750,8 @@ function Mr(e = hn) {
|
|
|
1750
1750
|
arrow: b,
|
|
1751
1751
|
arrowPos: jt,
|
|
1752
1752
|
ready: ht,
|
|
1753
|
-
offsetX:
|
|
1754
|
-
offsetY:
|
|
1753
|
+
offsetX: kt,
|
|
1754
|
+
offsetY: Dt,
|
|
1755
1755
|
offsetR: Vt,
|
|
1756
1756
|
offsetB: gt,
|
|
1757
1757
|
onAlign: Pe,
|
|
@@ -1877,8 +1877,8 @@ const Ar = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1877
1877
|
classNames: V,
|
|
1878
1878
|
styles: W,
|
|
1879
1879
|
...C
|
|
1880
|
-
} = e, z = to(L),
|
|
1881
|
-
So(n, () =>
|
|
1880
|
+
} = e, z = to(L), k = He(null);
|
|
1881
|
+
So(n, () => k.current);
|
|
1882
1882
|
const M = {
|
|
1883
1883
|
...C
|
|
1884
1884
|
};
|
|
@@ -1906,7 +1906,7 @@ const Ar = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1906
1906
|
action: o,
|
|
1907
1907
|
builtinPlacements: Nr,
|
|
1908
1908
|
popupPlacement: v,
|
|
1909
|
-
ref:
|
|
1909
|
+
ref: k,
|
|
1910
1910
|
popupAlign: R,
|
|
1911
1911
|
getPopupContainer: c,
|
|
1912
1912
|
onOpenChange: h,
|
|
@@ -1922,7 +1922,7 @@ const Ar = /* @__PURE__ */ s.forwardRef((e, n) => {
|
|
|
1922
1922
|
mouseEnterDelay: r,
|
|
1923
1923
|
arrow: S
|
|
1924
1924
|
}, M), j());
|
|
1925
|
-
}), Or = "
|
|
1925
|
+
}), Or = "csdk_DEPRECATED_Tooltip-module__breakLongWord___kWwu0", Lr = "csdk_DEPRECATED_Tooltip-module__rcToolTipZoomIn___0ddOq", Ir = "csdk_DEPRECATED_Tooltip-module__rcToolTipZoomOut___kpbOG", Zt = {
|
|
1926
1926
|
breakLongWord: Or,
|
|
1927
1927
|
rcToolTipZoomIn: Lr,
|
|
1928
1928
|
rcToolTipZoomOut: Ir
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),C=require("react"),m=require("classnames"),M=require("./styleguideConstants-CtXkvIZK.cjs"),j=require("./Menu-CeLnAuxU.cjs"),O=require("./Popover-Cb2FhRJS.cjs"),V=require("./Input-CmAWWO-S.cjs"),x=require("./DEPRECATED_Icon-WhkrHLXK.cjs"),F="csdk_Dropdown-module__menu___u8qzp",$={menu:F},z="#2c3342",L="#f4f4f8",U="#dee1e7",G="#fff",J="csdk_DropdownButton-module__dropdownButton___oc3-H",K="csdk_DropdownButton-module__inlineVariant___WSkxA",Q="csdk_DropdownButton-module__open___bh-yG",X="csdk_DropdownButton-module__disabled___I9nuu",Y="csdk_DropdownButton-module__selectedIcon___hIp5j",Z="csdk_DropdownButton-module__chosenTitle___AgQJR",I="csdk_DropdownButton-module__clickIcon___U2low",p={loginDarkColor:z,darkBtnHoverColor:L,greyHoverColor:U,defaultBackgroundColor:G,dropdownButton:J,inlineVariant:K,open:Q,disabled:X,selectedIcon:Y,chosenTitle:Z,clickIcon:I},P=({selectedItem:c,width:o,dropDownButtonClasses:n,selectedShowIcon:e=!0,placeholder:a=""})=>{const{caption:s,iconName:d}=c||{},u=o?{width:o,minWidth:"inherit"}:{};return t.jsxs("div",{className:n,title:s,style:u,children:[e&&d&&t.jsx(x.DEPRECATED_Icon,{className:p.selectedIcon,name:d}),t.jsx("div",{className:p.chosenTitle,children:s||a}),t.jsx("div",{className:p.clickIcon,children:t.jsx(x.DEPRECATED_Icon,{name:"general-arrow-down"})})]})},nn=136,on="csdk_DropdownButtonSearch-module__searchInputWrapper___zKFuM",en={searchInputWrapper:on},y=()=>{},tn=C.forwardRef(({width:c=nn,onClick:o=y,inputProps:n={onChange:y},className:e=""},a)=>{const s=m(e||en.searchInputWrapper),d={width:c};return t.jsx("div",{ref:a,style:d,className:s,"data-testid":"search_input_container",children:t.jsx(V.Input,{onClicked:o,...n})})}),sn=(c,o,n,e)=>{const[a,s]=C.useState({...n,value:o==null?void 0:o.caption}),d=l=>{l.stopPropagation()},u=l=>{n==null||n.onChange(l),s({...n,value:l})},r=C.useCallback(()=>{var _;const l=(_=e==null?void 0:e.current)==null?void 0:_.getElementsByTagName("input")[0];l==null||l.select()},[e]);return C.useEffect(()=>{c?(s({...n,value:o==null?void 0:o.caption}),r()):n==null||n.onChange("")},[c,n,o==null?void 0:o.caption,r]),C.useEffect(()=>{c&&a.value!==(n==null?void 0:n.value)&&r()},[a.value,c,n==null?void 0:n.value,r]),{handlers:{handleOnSearchInputClick:d,handleOnSearchInputChange:u},inputProps:a}},cn=({items:c=[],selectedShowIcon:o=!0,placeholder:n="",disabled:e,selectedItemId:a,width:s,inlineVariant:d,classNameDropdown:u,classNameButton:r,classNameSearch:D,searchInputProps:l,isOpen:_=!1})=>{const f=c.find(B=>B.id===a),k=C.useRef(null),{inputProps:w,handlers:{handleOnSearchInputClick:g,handleOnSearchInputChange:h}}=sn(_,f,l,k),v=m(r,p.dropdownButton,{[p.disabled]:e,[p.open]:_,[p.inlineVariant]:d},u);return t.jsx(t.Fragment,{children:l&&_&&!e?t.jsx(tn,{ref:k,width:s,onClick:g,inputProps:{...w,onChange:h},className:D}):t.jsx(P,{selectedItem:f,width:s,placeholder:n,selectedShowIcon:o,dropDownButtonClasses:v})})},ln=(c,o,n)=>{const[e,a]=C.useState(o),s=()=>{n||a(!e)};return{handlers:{handleOnSelectItem:r=>{c(r),s()},handleDropdownClick:s},isOpen:e}},an=()=>{},dn=C.forwardRef(({bubblePopoverMouseEvents:c=!1,items:o=[],onSelectItem:n=an,popoverOverlayLevel:e=0,selectedShowIcon:a=!0,mask:s=!0,placeholder:d="",placement:u="bottomLeft",disabled:r=!1,selectedItemId:D,width:l,scrollbarProps:_,classNameMenu:f,inlineVariant:k,classNameDropdown:w,classNameButton:g,classNameSearch:h,classNameTooltip:v,zIndex:B,searchInputProps:N,open:b=!1,isLoading:T=!1},R)=>{const q=k?12:0,A=o.map(i=>({id:i.id,caption:i.caption||i.id,type:j.itemTypes.ITEM,iconName:i.iconName,iconClass:i.iconClass,selected:i.id===D,tooltip:i.tooltip,disabled:i.disabled})),{isOpen:S,handlers:{handleOnSelectItem:H,handleDropdownClick:E}}=ln(n,b,r),W=()=>{const i=m($.menu,M.styleguideConstants.SISENSE_NAMESPACE,f);return t.jsx(j.Menu,{items:A,onItemSelected:H,className:i,width:l,scrollbarProps:_,isLoading:T,classNameTooltip:v})};return t.jsx("div",{ref:R,"data-testid":"popover_container",children:t.jsx(O.Popover,{zIndex:B,bubbleMouseEvents:c,trigger:["click"],visible:S,placement:u,overlay:W,level:e,onVisibleChange:E,onRequestClose:E,align:{offset:[0,q]},mask:s,children:t.jsx("div",{children:t.jsx(cn,{isOpen:S,items:o,selectedShowIcon:a,placeholder:d,width:l,disabled:r,classNameButton:g,classNameDropdown:w,classNameSearch:h,inlineVariant:k,searchInputProps:N,selectedItemId:D})})})})});exports.Dropdown=dn;
|