@baishuyun/ui-base 6.24.8 → 6.26.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/Amap/{Amap-BGEbAxHf.js → Amap-DC0ZSpys.js} +1 -1
- package/dist/Amap/index.js +4 -4
- package/dist/Calendar/{Calendar-CFa2J6jE.js → Calendar-DDzn7R81.js} +2 -2
- package/dist/Calendar/index.js +5 -5
- package/dist/Card/index.js +1 -1
- package/dist/CheckBox/{CheckBox-Cc-7FP-b.js → CheckBox-CtOSHKM0.js} +1 -1
- package/dist/CheckBox/{CheckBox-BGbMzNLG.js → CheckBox-DOdRLFKI.js} +2 -2
- package/dist/CheckBox/index.js +3 -3
- package/dist/ColorPicker/{ColorPicker-DCM3izKF.js → ColorPicker-CpvEY9_p.js} +2 -2
- package/dist/ColorPicker/index.js +4 -4
- package/dist/ConfigProvider/index.js +3 -3
- package/dist/DatePicker/{DatePicker-Digb83UQ.js → DatePicker-jrgAcolw.js} +2 -2
- package/dist/DatePicker/{DatePickerPanel-hMDsc-qd.js → DatePickerPanel-Ci4quU-q.js} +3 -3
- package/dist/DatePicker/index.js +4 -4
- package/dist/DropDown/{DropDown-Ds0X5fxe.js → DropDown-B3VFy5GF.js} +2 -2
- package/dist/DropDown/index.js +5 -5
- package/dist/Editor/index.js +18 -18
- package/dist/FieldCard/FieldCard-CcLl0Fix.js +186 -0
- package/dist/FieldCard/index.js +3 -0
- package/dist/Gantt/index.js +6 -6
- package/dist/Icon/index.js +1 -1
- package/dist/InputTag/{InputTag-BT-IXf5k.js → InputTag-C1WA6sDA.js} +1 -1
- package/dist/InputTag/index.js +4 -4
- package/dist/Kanban/index.js +656 -0
- package/dist/Loading/{Loading-Cherk9Ax.js → Loading-Dm4i0lYd.js} +1 -1
- package/dist/Loading/index.js +4 -4
- package/dist/Modal/index.js +1 -1
- package/dist/NotFoundContent/index.js +1 -1
- package/dist/Overlay/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollBar/index.js +1 -1
- package/dist/Segmented/index.js +1 -1
- package/dist/Select/{Select-DFXTqfwb.js → Select-C_g3oAkv.js} +11 -6
- package/dist/Select/{SelectInputSearch-BEYleN-o.js → SelectInputSearch-BMJQw4ll.js} +1 -1
- package/dist/Select/index.js +8 -8
- package/dist/Table/{Table-8ac6xLZv.js → Table-zYD3a8yk.js} +1 -1
- package/dist/Table/index.js +4 -4
- package/dist/Tabs/{Tabs-Db3uC4yK.js → Tabs-DQAgk4py.js} +1 -1
- package/dist/Tabs/index.js +4 -4
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tree/index.js +3 -3
- package/dist/components/CheckBox/interface.d.ts +4 -0
- package/dist/components/Editor/interface.d.ts +4 -0
- package/dist/components/FieldCard/FieldCard.d.ts +8 -0
- package/dist/components/FieldCard/FieldCardSkeleton.d.ts +2 -0
- package/dist/components/FieldCard/index.d.ts +2 -0
- package/dist/components/FieldCard/interface.d.ts +61 -0
- package/dist/components/FieldCard/style/index.d.ts +1 -0
- package/dist/components/FieldCard/style/resolveFieldCardThemeVars.d.ts +5 -0
- package/dist/components/Kanban/Kanban.d.ts +3 -0
- package/dist/components/Kanban/KanbanCardItem.d.ts +32 -0
- package/dist/components/Kanban/KanbanCardList.d.ts +22 -0
- package/dist/components/Kanban/KanbanColumnView.d.ts +25 -0
- package/dist/components/Kanban/KanbanPointerSensor.d.ts +13 -0
- package/dist/components/Kanban/columnListMotion.d.ts +2 -0
- package/dist/components/Kanban/index.d.ts +3 -0
- package/dist/components/Kanban/interface.d.ts +140 -0
- package/dist/components/Kanban/resolveDrop.d.ts +23 -0
- package/dist/components/Kanban/selection.d.ts +5 -0
- package/dist/components/Kanban/style/index.d.ts +1 -0
- package/dist/components/Kanban/style/resolveKanbanThemeVars.d.ts +12 -0
- package/dist/index.js +18 -18
- package/dist/locale/lang/en-US.json.d.ts +7 -0
- package/dist/locale/lang/zh-CN.json.d.ts +7 -0
- package/dist/locale/lang/zh-TW.json.d.ts +7 -0
- package/dist/style.css +1 -1
- package/dist/vendors/{ConfigProvider-DtF-EYRn.js → ConfigProvider-BDmu_0qa.js} +15 -1
- package/dist/vendors/{LocaleContext-DXQoOKM2.js → LocaleContext-CsTLO_Y2.js} +7 -0
- package/dist/vendors/{Tree-BkxKK0Sf.js → Tree-f0FxoFIC.js} +1 -1
- package/dist/vendors/{useLocale-Be4e7Xfn.js → useLocale-3oUjPb-k.js} +1 -1
- package/dist/vendors/{version-BmFHvNYa.js → version-DUd4fmF6.js} +1 -1
- package/package.json +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../vendors/ConfigProvider-
|
|
1
|
+
import { n as e } from "../vendors/ConfigProvider-BDmu_0qa.js";
|
|
2
2
|
import { Fragment as t, jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import { createContext as r, useCallback as i, useContext as a, useEffect as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
4
4
|
import { createRoot as u } from "react-dom/client";
|
package/dist/Amap/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
2
|
-
import "../vendors/LocaleContext-
|
|
3
|
-
import "../vendors/ConfigProvider-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
3
|
+
import "../vendors/ConfigProvider-BDmu_0qa.js";
|
|
4
4
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
5
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./Amap-
|
|
5
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./Amap-DC0ZSpys.js";
|
|
6
6
|
export { r as Amap, i as AmapCircle, n as AmapMarker, o as AmapMarkerCluster, a as AmapProvider, e as useAmap, t as useCurrentLocation };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
2
|
-
import { t } from "../vendors/useLocale-
|
|
2
|
+
import { t } from "../vendors/useLocale-3oUjPb-k.js";
|
|
3
3
|
import { t as n } from "../vendors/cssVars-UpriQzph.js";
|
|
4
4
|
import { t as r } from "../Segmented/Segmented-BMwjhsZw.js";
|
|
5
5
|
import { t as i } from "../Tooltip/Tooltip-N06Os8rG.js";
|
|
6
|
-
import { t as a } from "../DatePicker/DatePicker-
|
|
6
|
+
import { t as a } from "../DatePicker/DatePicker-jrgAcolw.js";
|
|
7
7
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
8
|
import { memo as c, useCallback as l, useEffect as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
9
9
|
import h from "clsx";
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import "../Icon/Icon-CcKDWNGy.js";
|
|
3
|
-
import "../vendors/LocaleContext-
|
|
3
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
4
4
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
5
5
|
import "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
6
|
-
import "../vendors/useLocale-
|
|
6
|
+
import "../vendors/useLocale-3oUjPb-k.js";
|
|
7
7
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
8
8
|
import "../Segmented/Segmented-BMwjhsZw.js";
|
|
9
9
|
import "../Tooltip/Tooltip-N06Os8rG.js";
|
|
10
|
-
import { n as e, r as t, t as n } from "./Calendar-
|
|
11
|
-
import "../DatePicker/DatePicker-
|
|
10
|
+
import { n as e, r as t, t as n } from "./Calendar-DDzn7R81.js";
|
|
11
|
+
import "../DatePicker/DatePicker-jrgAcolw.js";
|
|
12
12
|
import "../DatePicker/pickerLocale-Brf7_Tnd.js";
|
|
13
13
|
export { n as Calendar, n as default, t as resolveCalendarThemeVars, e as resolvePlatformCalendarTheme };
|
package/dist/Card/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./CheckBox-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./CheckBox-DOdRLFKI.js";
|
|
2
2
|
import { jsx as i } from "react/jsx-runtime";
|
|
3
3
|
import a from "clsx";
|
|
4
4
|
import { useControllableValue as o } from "ahooks";
|
|
@@ -42,8 +42,8 @@ var l = a(null), u = "_checkbox_5dsmf_1", d = "_checkbox__inner_5dsmf_35", f = {
|
|
|
42
42
|
"bsy-checkbox__button--left-label": "_bsy-checkbox__button--left-label_dflop_49"
|
|
43
43
|
}, g = (e) => {
|
|
44
44
|
if (!e) return {};
|
|
45
|
-
let n = {};
|
|
46
|
-
return t(n, "--bsy-checkbox-checked-bg", e.checkedBg), t(n, "--bsy-checkbox-checked-border", e.checkedBorder), t(n, "--bsy-checkbox-check-icon-color", e.checkIconColor), t(n, "--bsy-checkbox-unchecked-bg", e.uncheckedBg), t(n, "--bsy-checkbox-color-border", e.colorBorder), t(n, "--bsy-checkbox-color-border-hover", e.colorBorderHover), t(n, "--bsy-checkbox-indeterminate-bg", e.indeterminateBg), t(n, "--bsy-checkbox-indeterminate-border", e.indeterminateBorder), t(n, "--bsy-checkbox-indeterminate-indicator", e.indeterminateIndicator), t(n, "--bsy-checkbox-color-bg-disabled", e.colorBgDisabled), t(n, "--bsy-checkbox-color-border-disabled", e.colorBorderDisabled), t(n, "--bsy-checkbox-check-icon-color-disabled", e.checkIconColorDisabled), t(n, "--bsy-checkbox-indeterminate-indicator-disabled", e.indeterminateIndicatorDisabled), t(n, "--bsy-checkbox-color-text-disabled", e.colorTextDisabled), n;
|
|
45
|
+
let n = {}, r = e.colorPrimary;
|
|
46
|
+
return t(n, "--bsy-checkbox-checked-bg", e.checkedBg ?? r), t(n, "--bsy-checkbox-checked-border", e.checkedBorder ?? r), t(n, "--bsy-checkbox-check-icon-color", e.checkIconColor), t(n, "--bsy-checkbox-unchecked-bg", e.uncheckedBg), t(n, "--bsy-checkbox-color-border", e.colorBorder), t(n, "--bsy-checkbox-color-border-hover", e.colorBorderHover ?? r), t(n, "--bsy-checkbox-indeterminate-bg", e.indeterminateBg), t(n, "--bsy-checkbox-indeterminate-border", e.indeterminateBorder ?? r), t(n, "--bsy-checkbox-indeterminate-indicator", e.indeterminateIndicator ?? r), t(n, "--bsy-checkbox-color-bg-disabled", e.colorBgDisabled), t(n, "--bsy-checkbox-color-border-disabled", e.colorBorderDisabled), t(n, "--bsy-checkbox-check-icon-color-disabled", e.checkIconColorDisabled), t(n, "--bsy-checkbox-indeterminate-indicator-disabled", e.indeterminateIndicatorDisabled), t(n, "--bsy-checkbox-color-text-disabled", e.colorTextDisabled), n;
|
|
47
47
|
}, _ = o((e, t) => {
|
|
48
48
|
let { checked: a, indeterminate: o = !1, onChange: u, value: d = n("checkbox"), disabled: f = !1, children: _, style: v, labelPosition: y = "right", theme: b } = e, x = s(l), S = x ? x.value?.includes(d) : a, C = (e) => {
|
|
49
49
|
if (!(f || x?.disabled)) if (x) {
|
package/dist/CheckBox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import "../Icon/Icon-CcKDWNGy.js";
|
|
3
|
-
import "./CheckBox-
|
|
4
|
-
import { t as e } from "./CheckBox-
|
|
3
|
+
import "./CheckBox-DOdRLFKI.js";
|
|
4
|
+
import { t as e } from "./CheckBox-CtOSHKM0.js";
|
|
5
5
|
export { e as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
2
2
|
import { a as t, i as n } from "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
3
3
|
import { t as r } from "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
4
|
-
import { t as i } from "../vendors/useLocale-
|
|
4
|
+
import { t as i } from "../vendors/useLocale-3oUjPb-k.js";
|
|
5
5
|
import { r as a } from "../vendors/animations-ISccYUE3.js";
|
|
6
6
|
import { t as o } from "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
7
7
|
import { n as s } from "../vendors/mergeRefs-mEH9TBYV.js";
|
|
@@ -116,7 +116,7 @@ var C = {
|
|
|
116
116
|
onChange: j,
|
|
117
117
|
onColorInput: e.onColorInput,
|
|
118
118
|
list: B.current,
|
|
119
|
-
getPopupContainer: () => O.current
|
|
119
|
+
getPopupContainer: () => O.current ?? document.body
|
|
120
120
|
})]
|
|
121
121
|
})
|
|
122
122
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import "../Icon/Icon-CcKDWNGy.js";
|
|
3
|
-
import "../vendors/LocaleContext-
|
|
3
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
4
4
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
5
|
-
import { n as e, t } from "./ColorPicker-
|
|
5
|
+
import { n as e, t } from "./ColorPicker-CpvEY9_p.js";
|
|
6
6
|
import "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
7
|
-
import "../vendors/useLocale-
|
|
7
|
+
import "../vendors/useLocale-3oUjPb-k.js";
|
|
8
8
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
9
9
|
export { e as COLOR_OPTIONS_RGBA, t as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
2
|
-
import "../vendors/LocaleContext-
|
|
3
|
-
import { n as e, t } from "../vendors/ConfigProvider-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
3
|
+
import { n as e, t } from "../vendors/ConfigProvider-BDmu_0qa.js";
|
|
4
4
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
5
5
|
export { t as ConfigProvider, t as default, e as useConfig };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t } from "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
2
2
|
import { t as n } from "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
3
|
-
import { t as r } from "../vendors/useLocale-
|
|
3
|
+
import { t as r } from "../vendors/useLocale-3oUjPb-k.js";
|
|
4
4
|
import { r as i } from "../vendors/animations-ISccYUE3.js";
|
|
5
5
|
import { t as a } from "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
6
6
|
import { t as o } from "../vendors/cssVars-UpriQzph.js";
|
|
@@ -48,7 +48,7 @@ var w = {
|
|
|
48
48
|
"bsy-date-picker__content": "_bsy-date-picker__content_1i2le_33",
|
|
49
49
|
"bsy-date-picker__divider": "_bsy-date-picker__divider_1i2le_43",
|
|
50
50
|
"bsy-date-picker__panel-loading": "_bsy-date-picker__panel-loading_1i2le_49"
|
|
51
|
-
}, j = m(() => import("./DatePickerPanel-
|
|
51
|
+
}, j = m(() => import("./DatePickerPanel-Ci4quU-q.js")), M = (o) => {
|
|
52
52
|
let { children: m, picker: S = "date", theme: w, getPopupContainer: D, triggerActiveClassName: O, zIndex: M } = o, { locale: N } = r(), P = e(M), [F, I] = v(o, {
|
|
53
53
|
defaultValuePropName: "defaultValue",
|
|
54
54
|
valuePropName: "value",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
3
|
-
import "../vendors/LocaleContext-
|
|
4
|
-
import { t } from "../vendors/useLocale-
|
|
3
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
4
|
+
import { t } from "../vendors/useLocale-3oUjPb-k.js";
|
|
5
5
|
import { t as n } from "./pickerLocale-Brf7_Tnd.js";
|
|
6
6
|
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
7
|
import { useCallback as o, useEffect as s, useLayoutEffect as c, useMemo as l, useRef as u, useState as d } from "react";
|
package/dist/DatePicker/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
2
|
-
import "../vendors/LocaleContext-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
3
3
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
4
4
|
import "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
5
|
-
import "../vendors/useLocale-
|
|
5
|
+
import "../vendors/useLocale-3oUjPb-k.js";
|
|
6
6
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
7
|
-
import { t as e } from "./DatePicker-
|
|
7
|
+
import { t as e } from "./DatePicker-jrgAcolw.js";
|
|
8
8
|
import "./pickerLocale-Brf7_Tnd.js";
|
|
9
9
|
export { e as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
2
2
|
import { a as t, i as n } from "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
3
|
-
import { t as r } from "../vendors/useLocale-
|
|
3
|
+
import { t as r } from "../vendors/useLocale-3oUjPb-k.js";
|
|
4
4
|
import { r as i } from "../vendors/animations-ISccYUE3.js";
|
|
5
5
|
import { t as a } from "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
6
6
|
import { t as o } from "../vendors/cssVars-UpriQzph.js";
|
|
7
|
-
import { t as s } from "../Select/SelectInputSearch-
|
|
7
|
+
import { t as s } from "../Select/SelectInputSearch-BMJQw4ll.js";
|
|
8
8
|
import { t as c } from "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
|
|
9
9
|
import { t as l } from "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
10
10
|
import { t as u } from "../vendors/useFloatingPortal-DJ1iKmW-.js";
|
package/dist/DropDown/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import "../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import "../Icon/Icon-CcKDWNGy.js";
|
|
4
|
-
import "../vendors/LocaleContext-
|
|
4
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
5
5
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
6
|
-
import "../vendors/useLocale-
|
|
6
|
+
import "../vendors/useLocale-3oUjPb-k.js";
|
|
7
7
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
8
|
-
import "../Select/SelectInputSearch-
|
|
8
|
+
import "../Select/SelectInputSearch-BMJQw4ll.js";
|
|
9
9
|
import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
|
|
10
10
|
import "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
11
11
|
import "../vendors/useFloatingPortal-DJ1iKmW-.js";
|
|
12
|
-
import { t as e } from "./DropDown-
|
|
12
|
+
import { t as e } from "./DropDown-B3VFy5GF.js";
|
|
13
13
|
export { e as default };
|
package/dist/Editor/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import "../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
4
|
-
import "../vendors/LocaleContext-
|
|
4
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
5
5
|
import { a as t, i as n } from "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
6
6
|
import "../Overlay/index.js";
|
|
7
7
|
import { t as r } from "../Modal/Modal-DXH8hz96.js";
|
|
8
|
-
import { t as i } from "../ColorPicker/ColorPicker-
|
|
8
|
+
import { t as i } from "../ColorPicker/ColorPicker-CpvEY9_p.js";
|
|
9
9
|
import "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
10
|
-
import { t as a } from "../vendors/useLocale-
|
|
10
|
+
import { t as a } from "../vendors/useLocale-3oUjPb-k.js";
|
|
11
11
|
import { r as o } from "../vendors/animations-ISccYUE3.js";
|
|
12
12
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
13
13
|
import { t as s } from "../vendors/cssVars-UpriQzph.js";
|
|
14
14
|
import { t as c } from "../Tooltip/Tooltip-N06Os8rG.js";
|
|
15
|
-
import "../Select/SelectInputSearch-
|
|
16
|
-
import "../CheckBox/CheckBox-
|
|
17
|
-
import { t as l } from "../CheckBox/CheckBox-
|
|
15
|
+
import "../Select/SelectInputSearch-BMJQw4ll.js";
|
|
16
|
+
import "../CheckBox/CheckBox-DOdRLFKI.js";
|
|
17
|
+
import { t as l } from "../CheckBox/CheckBox-CtOSHKM0.js";
|
|
18
18
|
import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
|
|
19
19
|
import { t as u } from "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
20
20
|
import { t as d } from "../vendors/useFloatingPortal-DJ1iKmW-.js";
|
|
21
|
-
import { t as f } from "../DropDown/DropDown-
|
|
21
|
+
import { t as f } from "../DropDown/DropDown-B3VFy5GF.js";
|
|
22
22
|
import { dropRightWhile as p, dropWhile as m, keyBy as h, omit as g, range as _ } from "lodash-es";
|
|
23
23
|
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
24
24
|
import x, { createContext as S, forwardRef as C, memo as w, useCallback as T, useContext as E, useDeferredValue as D, useEffect as O, useId as ee, useImperativeHandle as te, useLayoutEffect as k, useMemo as A, useRef as j, useState as M } from "react";
|
|
@@ -2748,20 +2748,20 @@ var ja = (e, t, n) => {
|
|
|
2748
2748
|
}) }) })
|
|
2749
2749
|
});
|
|
2750
2750
|
}, $ = {
|
|
2751
|
-
"bsy-lexical-editor": "_bsy-lexical-
|
|
2752
|
-
"bsy-lexical-editor--floating": "_bsy-lexical-editor--
|
|
2753
|
-
"bsy-lexical-editor--sticky-toolbar": "_bsy-lexical-editor--sticky-
|
|
2754
|
-
"bsy-lexical-editor__body": "_bsy-lexical-
|
|
2755
|
-
"bsy-lexical-editor__body--fixed": "_bsy-lexical-editor__body--
|
|
2756
|
-
"bsy-lexical-editor__editable-wrap": "_bsy-lexical-editor__editable-
|
|
2757
|
-
"bsy-lexical-editor__content-editable": "_bsy-lexical-editor__content-
|
|
2758
|
-
"bsy-lexical-editor__length-badge": "_bsy-lexical-editor__length-
|
|
2759
|
-
"bsy-lexical-editor__length-badge--exceeded": "_bsy-lexical-editor__length-badge--
|
|
2751
|
+
"bsy-lexical-editor": "_bsy-lexical-editor_1sjhw_2",
|
|
2752
|
+
"bsy-lexical-editor--floating": "_bsy-lexical-editor--floating_1sjhw_10",
|
|
2753
|
+
"bsy-lexical-editor--sticky-toolbar": "_bsy-lexical-editor--sticky-toolbar_1sjhw_10",
|
|
2754
|
+
"bsy-lexical-editor__body": "_bsy-lexical-editor__body_1sjhw_13",
|
|
2755
|
+
"bsy-lexical-editor__body--fixed": "_bsy-lexical-editor__body--fixed_1sjhw_18",
|
|
2756
|
+
"bsy-lexical-editor__editable-wrap": "_bsy-lexical-editor__editable-wrap_1sjhw_21",
|
|
2757
|
+
"bsy-lexical-editor__content-editable": "_bsy-lexical-editor__content-editable_1sjhw_31",
|
|
2758
|
+
"bsy-lexical-editor__length-badge": "_bsy-lexical-editor__length-badge_1sjhw_52",
|
|
2759
|
+
"bsy-lexical-editor__length-badge--exceeded": "_bsy-lexical-editor__length-badge--exceeded_1sjhw_64"
|
|
2760
2760
|
}, za = (e) => {
|
|
2761
2761
|
if (!(e === void 0 || e === "")) return typeof e == "number" ? `${e}px` : e;
|
|
2762
2762
|
}, Ba = (e) => {
|
|
2763
2763
|
let t = {};
|
|
2764
|
-
return e ? (s(t, "--bsy-editor-container-border-color", e.borderColor), s(t, "--bsy-editor-container-border-width", za(e.borderWidth)), s(t, "--bsy-editor-container-border-radius", za(e.borderRadius)), s(t, "--bsy-editor-container-bg", e.bgColor), t) : t;
|
|
2764
|
+
return e ? (s(t, "--bsy-editor-container-border-color", e.borderColor), s(t, "--bsy-editor-container-border-width", za(e.borderWidth)), s(t, "--bsy-editor-container-border-radius", za(e.borderRadius)), s(t, "--bsy-editor-container-bg", e.bgColor), s(t, "--bsy-editor-word-count-color", e.wordCountColor), s(t, "--bsy-editor-word-count-color-exceeded", e.wordCountExceededColor), t) : t;
|
|
2765
2765
|
}, Va = class e extends st {
|
|
2766
2766
|
constructor(e, t) {
|
|
2767
2767
|
super(e, t);
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { t as e } from "../vendors/cssVars-UpriQzph.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import { Children as r, isValidElement as i, useMemo as a } from "react";
|
|
4
|
+
import o from "clsx";
|
|
5
|
+
//#region src/components/FieldCard/style/resolveFieldCardThemeVars.ts
|
|
6
|
+
var s = (e) => {
|
|
7
|
+
if (!(e == null || e === "")) return typeof e == "number" ? `${e}px` : String(e);
|
|
8
|
+
}, c = (t) => {
|
|
9
|
+
if (!t) return {};
|
|
10
|
+
let n = {}, r = t.colorPrimary;
|
|
11
|
+
return e(n, "--bsy-field-card-color-primary", r), e(n, "--bsy-field-card-bg", t.bg), e(n, "--bsy-field-card-title-color", t.titleColor), e(n, "--bsy-field-card-label-color", t.labelColor), e(n, "--bsy-field-card-value-color", t.valueColor), e(n, "--bsy-field-card-hover-border", t.hoverBorderColor ?? r), e(n, "--bsy-field-card-selected-border", t.selectedBorderColor ?? r), e(n, "--bsy-field-card-border-radius", s(t.borderRadius)), n;
|
|
12
|
+
}, l = "_root_1orha_1", u = "_sizeSmall_1orha_17", d = "_main_1orha_17", f = "_fields_1orha_20", p = "_sizeMiddle_1orha_24", m = "_sizeLarge_1orha_31", h = "_positionup_1orha_38", g = "_positionleft_1orha_43", _ = "_positionright_1orha_44", v = "_shapeCover_1orha_56", y = "_cover_1orha_77", b = "_coverShaperect_1orha_94", x = "_coverShapecircle_1orha_98", S = "_coverShapecover_1orha_102", C = "_coverPositionleft_1orha_105", w = "_coverPositionright_1orha_105", T = "_coverPositionup_1orha_111", E = "_coverFitComplete_1orha_116", D = "_selected_1orha_120", O = "_titleRow_1orha_127", ee = "_check_1orha_134", te = "_titleYields_1orha_151", ne = "_hasCheck_1orha_155", k = "_title_1orha_127", A = "_meta_1orha_186", j = "_fieldsvertical_1orha_193", M = "_fieldshorizontal_1orha_197", N = "_label_1orha_203", P = "_icon_1orha_223", F = "_labelText_1orha_229", I = "_value_1orha_237", L = "_footer_1orha_246", R = "_skeleton_1orha_250", z = "_skeletonBody_1orha_274", B = "_skeletonTitle_1orha_280", V = "_skeletonFields_1orha_287", H = "_skeletonField_1orha_287", U = "_skeletonLabel_1orha_299", W = "_skeletonValue_1orha_306", G = "_skeletonWithCover_1orha_313", K = "_skeletonCover_1orha_317", q = {
|
|
13
|
+
root: l,
|
|
14
|
+
sizeSmall: u,
|
|
15
|
+
main: d,
|
|
16
|
+
fields: f,
|
|
17
|
+
sizeMiddle: p,
|
|
18
|
+
sizeLarge: m,
|
|
19
|
+
positionup: h,
|
|
20
|
+
positionleft: g,
|
|
21
|
+
positionright: _,
|
|
22
|
+
shapeCover: v,
|
|
23
|
+
cover: y,
|
|
24
|
+
coverShaperect: b,
|
|
25
|
+
coverShapecircle: x,
|
|
26
|
+
coverShapecover: S,
|
|
27
|
+
coverPositionleft: C,
|
|
28
|
+
coverPositionright: w,
|
|
29
|
+
coverPositionup: T,
|
|
30
|
+
coverFitComplete: E,
|
|
31
|
+
selected: D,
|
|
32
|
+
titleRow: O,
|
|
33
|
+
check: ee,
|
|
34
|
+
titleYields: te,
|
|
35
|
+
hasCheck: ne,
|
|
36
|
+
title: k,
|
|
37
|
+
meta: A,
|
|
38
|
+
fieldsvertical: j,
|
|
39
|
+
fieldshorizontal: M,
|
|
40
|
+
label: N,
|
|
41
|
+
icon: P,
|
|
42
|
+
labelText: F,
|
|
43
|
+
value: I,
|
|
44
|
+
footer: L,
|
|
45
|
+
skeleton: R,
|
|
46
|
+
"field-card-skeleton": "_field-card-skeleton_1orha_1",
|
|
47
|
+
skeletonBody: z,
|
|
48
|
+
skeletonTitle: B,
|
|
49
|
+
skeletonFields: V,
|
|
50
|
+
skeletonField: H,
|
|
51
|
+
skeletonLabel: U,
|
|
52
|
+
skeletonValue: W,
|
|
53
|
+
skeletonWithCover: G,
|
|
54
|
+
skeletonCover: K
|
|
55
|
+
}, J = ({ withCover: e, className: r, style: i }) => /* @__PURE__ */ n("div", {
|
|
56
|
+
className: o(q.root, q.skeleton, q.sizeMiddle, e && q.skeletonWithCover, r),
|
|
57
|
+
style: i,
|
|
58
|
+
"data-loading": "true",
|
|
59
|
+
"data-skeleton": "true",
|
|
60
|
+
children: [e ? /* @__PURE__ */ t("div", {
|
|
61
|
+
className: q.skeletonCover,
|
|
62
|
+
"data-skeleton-cover": ""
|
|
63
|
+
}) : null, /* @__PURE__ */ n("div", {
|
|
64
|
+
className: q.skeletonBody,
|
|
65
|
+
children: [/* @__PURE__ */ t("div", { className: q.skeletonTitle }), /* @__PURE__ */ n("div", {
|
|
66
|
+
className: q.skeletonFields,
|
|
67
|
+
children: [/* @__PURE__ */ n("div", {
|
|
68
|
+
className: q.skeletonField,
|
|
69
|
+
"data-skeleton-field": "",
|
|
70
|
+
children: [/* @__PURE__ */ t("div", { className: q.skeletonLabel }), /* @__PURE__ */ t("div", { className: q.skeletonValue })]
|
|
71
|
+
}), /* @__PURE__ */ n("div", {
|
|
72
|
+
className: q.skeletonField,
|
|
73
|
+
"data-skeleton-field": "",
|
|
74
|
+
children: [/* @__PURE__ */ t("div", { className: q.skeletonLabel }), /* @__PURE__ */ t("div", { className: q.skeletonValue })]
|
|
75
|
+
})]
|
|
76
|
+
})]
|
|
77
|
+
})]
|
|
78
|
+
}), Y = Symbol("FieldCard.slot"), X = (e, t) => (e[Y] = t, e), re = (e) => {
|
|
79
|
+
if (typeof e == "function" && Y in e) return e[Y];
|
|
80
|
+
}, ie = {
|
|
81
|
+
small: q.sizeSmall,
|
|
82
|
+
middle: q.sizeMiddle,
|
|
83
|
+
large: q.sizeLarge
|
|
84
|
+
}, ae = {
|
|
85
|
+
vertical: q.fieldsvertical,
|
|
86
|
+
horizontal: q.fieldshorizontal
|
|
87
|
+
}, Z = ({ label: e, value: r, icon: i }) => {
|
|
88
|
+
let a = e != null || i != null;
|
|
89
|
+
return /* @__PURE__ */ n("div", {
|
|
90
|
+
className: q.meta,
|
|
91
|
+
children: [a ? /* @__PURE__ */ n("div", {
|
|
92
|
+
className: q.label,
|
|
93
|
+
children: [i == null ? null : /* @__PURE__ */ t("span", {
|
|
94
|
+
className: q.icon,
|
|
95
|
+
children: i
|
|
96
|
+
}), e == null ? null : /* @__PURE__ */ t("span", {
|
|
97
|
+
className: q.labelText,
|
|
98
|
+
children: e
|
|
99
|
+
})]
|
|
100
|
+
}) : null, /* @__PURE__ */ t("div", {
|
|
101
|
+
className: q.value,
|
|
102
|
+
children: r
|
|
103
|
+
})]
|
|
104
|
+
});
|
|
105
|
+
}, Q = ({ className: e, children: n, ...r }) => /* @__PURE__ */ t("div", {
|
|
106
|
+
className: o(q.check, e),
|
|
107
|
+
...r,
|
|
108
|
+
children: n
|
|
109
|
+
}), $ = ({ className: e, children: n, onClick: r, onPointerDown: i, ...a }) => /* @__PURE__ */ t("div", {
|
|
110
|
+
className: o(q.footer, e),
|
|
111
|
+
...a,
|
|
112
|
+
onClick: (e) => {
|
|
113
|
+
r?.(e), e.stopPropagation();
|
|
114
|
+
},
|
|
115
|
+
onPointerDown: (e) => {
|
|
116
|
+
i?.(e), e.stopPropagation();
|
|
117
|
+
},
|
|
118
|
+
children: n
|
|
119
|
+
});
|
|
120
|
+
X(Z, "meta"), X(Q, "check"), X($, "footer");
|
|
121
|
+
var oe = Object.assign(({ title: e, selected: s = !1, cover: l, coverLayout: u, size: d = "middle", loading: f = !1, layout: p = "vertical", children: m, className: h, style: g, theme: _ }) => {
|
|
122
|
+
let v = a(() => c(_), [_]);
|
|
123
|
+
if (f) return /* @__PURE__ */ t(J, {
|
|
124
|
+
withCover: !!l,
|
|
125
|
+
className: h,
|
|
126
|
+
style: {
|
|
127
|
+
...v,
|
|
128
|
+
...g
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
let y = l ? u?.position ?? "up" : void 0, b = l ? u?.shape ?? "cover" : void 0, x = l ? u?.fit ?? "full" : void 0, S = [], C = [], w = [];
|
|
132
|
+
r.forEach(m, (e) => {
|
|
133
|
+
if (!i(e)) return;
|
|
134
|
+
let t = re(e.type);
|
|
135
|
+
t === "check" ? S.push(e) : t === "meta" ? C.push(e) : t === "footer" && w.push(e);
|
|
136
|
+
});
|
|
137
|
+
let T = S.length > 0 && (!l || y === "right");
|
|
138
|
+
return /* @__PURE__ */ n("div", {
|
|
139
|
+
className: o(q.root, ie[d], y && q[`position${y}`], b === "cover" && q.shapeCover, s && q.selected, S.length > 0 && q.hasCheck, T && q.titleYields, h),
|
|
140
|
+
style: {
|
|
141
|
+
...v,
|
|
142
|
+
...g
|
|
143
|
+
},
|
|
144
|
+
"data-selected": s ? "true" : "false",
|
|
145
|
+
"data-loading": "false",
|
|
146
|
+
"data-size": d,
|
|
147
|
+
"data-layout": p,
|
|
148
|
+
"data-title-yields": T ? "true" : "false",
|
|
149
|
+
children: [
|
|
150
|
+
S,
|
|
151
|
+
l && y && b && x ? /* @__PURE__ */ t("div", {
|
|
152
|
+
className: o(q.cover, q[`coverPosition${y}`], q[`coverShape${b}`], x === "complete" && q.coverFitComplete),
|
|
153
|
+
"data-cover-position": y,
|
|
154
|
+
"data-cover-shape": b,
|
|
155
|
+
"data-cover-fit": x,
|
|
156
|
+
children: /* @__PURE__ */ t("img", {
|
|
157
|
+
src: l,
|
|
158
|
+
alt: ""
|
|
159
|
+
})
|
|
160
|
+
}) : null,
|
|
161
|
+
/* @__PURE__ */ n("div", {
|
|
162
|
+
className: q.main,
|
|
163
|
+
children: [
|
|
164
|
+
/* @__PURE__ */ t("div", {
|
|
165
|
+
className: q.titleRow,
|
|
166
|
+
children: /* @__PURE__ */ t("div", {
|
|
167
|
+
className: q.title,
|
|
168
|
+
children: e
|
|
169
|
+
})
|
|
170
|
+
}),
|
|
171
|
+
C.length > 0 ? /* @__PURE__ */ t("div", {
|
|
172
|
+
className: o(q.fields, ae[p]),
|
|
173
|
+
children: C
|
|
174
|
+
}) : null,
|
|
175
|
+
w
|
|
176
|
+
]
|
|
177
|
+
})
|
|
178
|
+
]
|
|
179
|
+
});
|
|
180
|
+
}, {
|
|
181
|
+
Meta: Z,
|
|
182
|
+
Check: Q,
|
|
183
|
+
Footer: $
|
|
184
|
+
});
|
|
185
|
+
//#endregion
|
|
186
|
+
export { oe as t };
|
package/dist/Gantt/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import "../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
4
|
-
import "../vendors/LocaleContext-
|
|
4
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
5
5
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
6
|
-
import { t } from "../vendors/useLocale-
|
|
6
|
+
import { t } from "../vendors/useLocale-3oUjPb-k.js";
|
|
7
7
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
8
8
|
import { t as n } from "../vendors/cssVars-UpriQzph.js";
|
|
9
9
|
import { t as r } from "../Tooltip/Tooltip-N06Os8rG.js";
|
|
10
|
-
import "../Select/SelectInputSearch-
|
|
10
|
+
import "../Select/SelectInputSearch-BMJQw4ll.js";
|
|
11
11
|
import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
|
|
12
12
|
import "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
13
13
|
import "../vendors/useFloatingPortal-DJ1iKmW-.js";
|
|
14
|
-
import { t as i } from "../DropDown/DropDown-
|
|
15
|
-
import { t as a } from "../Table/Table-
|
|
14
|
+
import { t as i } from "../DropDown/DropDown-B3VFy5GF.js";
|
|
15
|
+
import { t as a } from "../Table/Table-zYD3a8yk.js";
|
|
16
16
|
import { isFunction as o, isNumber as s, isString as c } from "lodash-es";
|
|
17
17
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
18
18
|
import f, { createContext as p, forwardRef as m, memo as h, useCallback as g, useContext as _, useEffect as v, useImperativeHandle as y, useLayoutEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
package/dist/Icon/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
2
|
-
import { t } from "../vendors/useLocale-
|
|
2
|
+
import { t } from "../vendors/useLocale-3oUjPb-k.js";
|
|
3
3
|
import { t as n } from "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
import { useCallback as a, useEffect as o, useLayoutEffect as s, useRef as c, useState as l } from "react";
|
package/dist/InputTag/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-DUd4fmF6.js";
|
|
2
2
|
import "../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import "../Icon/Icon-CcKDWNGy.js";
|
|
4
|
-
import "../vendors/LocaleContext-
|
|
5
|
-
import "../vendors/useLocale-
|
|
4
|
+
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
5
|
+
import "../vendors/useLocale-3oUjPb-k.js";
|
|
6
6
|
import "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
7
|
-
import { t as e } from "./InputTag-
|
|
7
|
+
import { t as e } from "./InputTag-C1WA6sDA.js";
|
|
8
8
|
export { e as default };
|