bj-web-components 0.2.28 → 0.2.29
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/index.js +1 -51
- package/dist/index.mjs +49 -49
- package/dist/style.css +1 -3744
- package/dist/web/BasicInput/BInput.js +1 -208
- package/dist/web/BasicInput/BInput.mjs +132 -164
- package/dist/web/BasicInput/utils.js +1 -47
- package/dist/web/BasicInput/utils.mjs +28 -38
- package/dist/web/CategoryDropdown/CategoryDropdown.js +1 -307
- package/dist/web/CategoryDropdown/CategoryDropdown.mjs +170 -218
- package/dist/web/CheckBox/BCheckBox.js +1 -116
- package/dist/web/CheckBox/BCheckBox.mjs +70 -86
- package/dist/web/CheckBox/Group.js +1 -73
- package/dist/web/CheckBox/Group.mjs +56 -63
- package/dist/web/CheckBox/context.js +1 -5
- package/dist/web/CheckBox/context.mjs +3 -3
- package/dist/web/CheckBox/index.js +1 -8
- package/dist/web/CheckBox/index.mjs +6 -6
- package/dist/web/Dropdown/BDropdown.js +1 -186
- package/dist/web/Dropdown/BDropdown.mjs +106 -132
- package/dist/web/EmptyInputBox/EmptyInputBox.js +1 -77
- package/dist/web/EmptyInputBox/EmptyInputBox.mjs +48 -52
- package/dist/web/FileCard/FileCard.js +1 -157
- package/dist/web/FileCard/FileCard.mjs +82 -112
- package/dist/web/Icon/Icon.js +1 -9
- package/dist/web/Icon/Icon.mjs +6 -6
- package/dist/web/Input/Input.js +1 -181
- package/dist/web/Input/Input.mjs +113 -122
- package/dist/web/InputNumber/BInputNumber.js +1 -311
- package/dist/web/InputNumber/BInputNumber.mjs +167 -275
- package/dist/web/InputNumber/StepHandler.js +1 -69
- package/dist/web/InputNumber/StepHandler.mjs +32 -38
- package/dist/web/InputNumber/hooks/useCursor.js +1 -40
- package/dist/web/InputNumber/hooks/useCursor.mjs +33 -35
- package/dist/web/InputNumber/hooks/useFrame.js +1 -12
- package/dist/web/InputNumber/hooks/useFrame.mjs +6 -9
- package/dist/web/InputNumber/utils/decimal.js +1 -147
- package/dist/web/InputNumber/utils/decimal.mjs +81 -109
- package/dist/web/Modal/Modal.js +1 -84
- package/dist/web/Modal/Modal.mjs +49 -52
- package/dist/web/OverlayScrollbar/BOverlayScrollbar.js +1 -232
- package/dist/web/OverlayScrollbar/BOverlayScrollbar.mjs +125 -206
- package/dist/web/Pagination/Pagination.js +1 -328
- package/dist/web/Pagination/Pagination.mjs +178 -254
- package/dist/web/ProductField/ProductField.js +1 -272
- package/dist/web/ProductField/ProductField.mjs +143 -190
- package/dist/web/ProductField/arrow-up.svg.js +1 -3
- package/dist/web/ProductField/arrow-up.svg.mjs +2 -2
- package/dist/web/ProductField/checkbox-no.svg.js +1 -3
- package/dist/web/ProductField/checkbox-no.svg.mjs +2 -2
- package/dist/web/ProductField/checkbox-ok.svg.js +1 -3
- package/dist/web/ProductField/checkbox-ok.svg.mjs +2 -2
- package/dist/web/ProductField/no_data_light.svg.js +1 -3
- package/dist/web/ProductField/no_data_light.svg.mjs +2 -2
- package/dist/web/ProductField/search.svg.js +1 -3
- package/dist/web/ProductField/search.svg.mjs +2 -2
- package/dist/web/ProductField/sort.svg.js +1 -3
- package/dist/web/ProductField/sort.svg.mjs +2 -2
- package/dist/web/SkuInputCard/SkuInputCard.js +1 -276
- package/dist/web/SkuInputCard/SkuInputCard.mjs +149 -188
- package/dist/web/SkuInputCard/spin_loading_red.gif.js +1 -3
- package/dist/web/SkuInputCard/spin_loading_red.gif.mjs +2 -2
- package/dist/web/Switch/Switch.js +1 -70
- package/dist/web/Switch/Switch.mjs +37 -47
- package/dist/web/Table/BTable.js +1 -950
- package/dist/web/Table/BTable.mjs +521 -767
- package/dist/web/Table/Column.js +1 -5
- package/dist/web/Table/Column.mjs +2 -2
- package/dist/web/Table/ColumnGroup.js +1 -5
- package/dist/web/Table/ColumnGroup.mjs +2 -2
- package/dist/web/Table/utils/columns.js +1 -48
- package/dist/web/Table/utils/columns.mjs +30 -35
- package/dist/web/Table/utils/sortFilter.js +1 -84
- package/dist/web/Table/utils/sortFilter.mjs +52 -73
- package/dist/web/Tabs/BTabs.js +1 -150
- package/dist/web/Tabs/BTabs.mjs +98 -118
- package/dist/web/Tabs/TabPane.js +1 -8
- package/dist/web/Tabs/TabPane.mjs +4 -4
- package/dist/web/Tooltip/ConfirmTooltip.js +1 -26
- package/dist/web/Tooltip/ConfirmTooltip.mjs +19 -20
- package/dist/web/Tooltip/ContentTooltip.js +1 -94
- package/dist/web/Tooltip/ContentTooltip.mjs +62 -72
- package/dist/web/Tooltip/ProgressTooltip.js +1 -36
- package/dist/web/Tooltip/ProgressTooltip.mjs +20 -22
- package/dist/web/Tooltip/TooltipWrapper.js +1 -12
- package/dist/web/Tooltip/TooltipWrapper.mjs +8 -8
- package/dist/web/Tooltip/useAutoPlacement.js +1 -41
- package/dist/web/Tooltip/useAutoPlacement.mjs +25 -34
- package/dist/web.js +1 -51
- package/dist/web.mjs +49 -49
- package/package.json +1 -1
|
@@ -1,36 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
;/* empty css */
|
|
4
|
-
const useAutoPlacement = require("./useAutoPlacement.js");
|
|
5
|
-
function ProgressTooltip({
|
|
6
|
-
placement = "top",
|
|
7
|
-
title = "正在翻译私域数据...",
|
|
8
|
-
progress = 0,
|
|
9
|
-
className,
|
|
10
|
-
style
|
|
11
|
-
}) {
|
|
12
|
-
const [activePlacement, popupRef] = useAutoPlacement.useAutoPlacement(placement);
|
|
13
|
-
const pct = Math.min(100, Math.max(0, Math.round(progress)));
|
|
14
|
-
const popupCls = ["tooltip-popup", `tooltip-popup--${activePlacement}`, className].filter(Boolean).join(" ");
|
|
15
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: popupRef, className: popupCls, style, children: [
|
|
16
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `tooltip-arrow tooltip-arrow--${activePlacement}` }),
|
|
17
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tooltip-progress", children: [
|
|
18
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tooltip-progress__header", children: [
|
|
19
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "tooltip-progress__title", children: title }),
|
|
20
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "tooltip-progress__percent", children: [
|
|
21
|
-
pct,
|
|
22
|
-
"%"
|
|
23
|
-
] })
|
|
24
|
-
] }),
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26
|
-
"div",
|
|
27
|
-
{
|
|
28
|
-
className: "tooltip-progress__track",
|
|
29
|
-
style: { "--tooltip-progress": `${pct}%` },
|
|
30
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tooltip-progress__fill" })
|
|
31
|
-
}
|
|
32
|
-
)
|
|
33
|
-
] })
|
|
34
|
-
] });
|
|
35
|
-
}
|
|
36
|
-
module.exports = ProgressTooltip;
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime");;/* empty css */const n=require("./useAutoPlacement.js");function u({placement:t="top",title:r="正在翻译私域数据...",progress:p=0,className:i,style:l}){const[o,a]=n.useAutoPlacement(t),e=Math.min(100,Math.max(0,Math.round(p))),c=["tooltip-popup",`tooltip-popup--${o}`,i].filter(Boolean).join(" ");return s.jsxs("div",{ref:a,className:c,style:l,children:[s.jsx("div",{className:`tooltip-arrow tooltip-arrow--${o}`}),s.jsxs("div",{className:"tooltip-progress",children:[s.jsxs("div",{className:"tooltip-progress__header",children:[s.jsx("span",{className:"tooltip-progress__title",children:r}),s.jsxs("span",{className:"tooltip-progress__percent",children:[e,"%"]})]}),s.jsx("div",{className:"tooltip-progress__track",style:{"--tooltip-progress":`${e}%`},children:s.jsx("div",{className:"tooltip-progress__fill"})})]})]})}module.exports=u;
|
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { useAutoPlacement } from "./useAutoPlacement.mjs";
|
|
4
|
-
function
|
|
5
|
-
placement = "top",
|
|
6
|
-
title = "正在翻译私域数据...",
|
|
7
|
-
progress = 0,
|
|
8
|
-
className,
|
|
9
|
-
style
|
|
3
|
+
import { useAutoPlacement as m } from "./useAutoPlacement.mjs";
|
|
4
|
+
function _({
|
|
5
|
+
placement: p = "top",
|
|
6
|
+
title: r = "正在翻译私域数据...",
|
|
7
|
+
progress: l = 0,
|
|
8
|
+
className: i,
|
|
9
|
+
style: a
|
|
10
10
|
}) {
|
|
11
|
-
const [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/* @__PURE__ */ jsxs("span", { className: "tooltip-progress__percent", children: [
|
|
20
|
-
pct,
|
|
11
|
+
const [s, c] = m(p), e = Math.min(100, Math.max(0, Math.round(l))), n = ["tooltip-popup", `tooltip-popup--${s}`, i].filter(Boolean).join(" ");
|
|
12
|
+
return /* @__PURE__ */ o("div", { ref: c, className: n, style: a, children: [
|
|
13
|
+
/* @__PURE__ */ t("div", { className: `tooltip-arrow tooltip-arrow--${s}` }),
|
|
14
|
+
/* @__PURE__ */ o("div", { className: "tooltip-progress", children: [
|
|
15
|
+
/* @__PURE__ */ o("div", { className: "tooltip-progress__header", children: [
|
|
16
|
+
/* @__PURE__ */ t("span", { className: "tooltip-progress__title", children: r }),
|
|
17
|
+
/* @__PURE__ */ o("span", { className: "tooltip-progress__percent", children: [
|
|
18
|
+
e,
|
|
21
19
|
"%"
|
|
22
20
|
] })
|
|
23
21
|
] }),
|
|
24
|
-
/* @__PURE__ */
|
|
22
|
+
/* @__PURE__ */ t(
|
|
25
23
|
"div",
|
|
26
24
|
{
|
|
27
25
|
className: "tooltip-progress__track",
|
|
28
|
-
style: { "--tooltip-progress": `${
|
|
29
|
-
children: /* @__PURE__ */
|
|
26
|
+
style: { "--tooltip-progress": `${e}%` },
|
|
27
|
+
children: /* @__PURE__ */ t("div", { className: "tooltip-progress__fill" })
|
|
30
28
|
}
|
|
31
29
|
)
|
|
32
30
|
] })
|
|
33
31
|
] });
|
|
34
32
|
}
|
|
35
33
|
export {
|
|
36
|
-
|
|
34
|
+
_ as default
|
|
37
35
|
};
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const react = require("react");
|
|
4
|
-
;/* empty css */
|
|
5
|
-
const TooltipWrapper = react.forwardRef(
|
|
6
|
-
({ children, style, className }, ref) => {
|
|
7
|
-
const cls = ["tooltip-wrapper", className].filter(Boolean).join(" ");
|
|
8
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cls, style, children });
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
TooltipWrapper.displayName = "TooltipWrapper";
|
|
12
|
-
module.exports = TooltipWrapper;
|
|
1
|
+
"use strict";const p=require("react/jsx-runtime"),a=require("react");;/* empty css */const r=a.forwardRef(({children:e,style:o,className:t},s)=>{const i=["tooltip-wrapper",t].filter(Boolean).join(" ");return p.jsx("div",{ref:s,className:i,style:o,children:e})});r.displayName="TooltipWrapper";module.exports=r;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as i } from "react";
|
|
3
3
|
/* empty css */
|
|
4
|
-
const
|
|
5
|
-
({ children, style, className },
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */
|
|
4
|
+
const l = i(
|
|
5
|
+
({ children: o, style: r, className: p }, t) => {
|
|
6
|
+
const a = ["tooltip-wrapper", p].filter(Boolean).join(" ");
|
|
7
|
+
return /* @__PURE__ */ e("div", { ref: t, className: a, style: r, children: o });
|
|
8
8
|
}
|
|
9
9
|
);
|
|
10
|
-
|
|
10
|
+
l.displayName = "TooltipWrapper";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
l as default
|
|
13
13
|
};
|
|
@@ -1,41 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const react = require("react");
|
|
4
|
-
const CLOCKWISE = ["top", "right", "bottom", "left"];
|
|
5
|
-
function useAutoPlacement(placement) {
|
|
6
|
-
const [resolved, setResolved] = react.useState("top");
|
|
7
|
-
const [popupEl, setPopupEl] = react.useState(null);
|
|
8
|
-
const popupRef = react.useCallback((el) => {
|
|
9
|
-
setPopupEl(el);
|
|
10
|
-
}, []);
|
|
11
|
-
react.useLayoutEffect(() => {
|
|
12
|
-
if (placement !== "auto" || !popupEl) return;
|
|
13
|
-
const parent = popupEl.parentElement;
|
|
14
|
-
if (!parent) return;
|
|
15
|
-
const pr = parent.getBoundingClientRect();
|
|
16
|
-
const pw = popupEl.offsetWidth;
|
|
17
|
-
const ph = popupEl.offsetHeight;
|
|
18
|
-
const gap = 12;
|
|
19
|
-
const space = {
|
|
20
|
-
top: pr.top,
|
|
21
|
-
right: window.innerWidth - pr.right,
|
|
22
|
-
bottom: window.innerHeight - pr.bottom,
|
|
23
|
-
left: pr.left
|
|
24
|
-
};
|
|
25
|
-
const required = {
|
|
26
|
-
top: ph + gap,
|
|
27
|
-
right: pw + gap,
|
|
28
|
-
bottom: ph + gap,
|
|
29
|
-
left: pw + gap
|
|
30
|
-
};
|
|
31
|
-
for (const dir of CLOCKWISE) {
|
|
32
|
-
if (space[dir] >= required[dir]) {
|
|
33
|
-
setResolved(dir);
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
setResolved("top");
|
|
38
|
-
}, [placement, popupEl]);
|
|
39
|
-
return [placement === "auto" ? resolved : placement, popupRef];
|
|
40
|
-
}
|
|
41
|
-
exports.useAutoPlacement = useAutoPlacement;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),h=["top","right","bottom","left"];function b(o){const[f,i]=s.useState("top"),[t,l]=s.useState(null),a=s.useCallback(e=>{l(e)},[]);return s.useLayoutEffect(()=>{if(o!=="auto"||!t)return;const e=t.parentElement;if(!e)return;const n=e.getBoundingClientRect(),c=t.offsetWidth,p=t.offsetHeight,r=12,d={top:n.top,right:window.innerWidth-n.right,bottom:window.innerHeight-n.bottom,left:n.left},g={top:p+r,right:c+r,bottom:p+r,left:c+r};for(const u of h)if(d[u]>=g[u]){i(u);return}i("top")},[o,t]),[o==="auto"?f:o,a]}exports.useAutoPlacement=b;
|
|
@@ -1,41 +1,32 @@
|
|
|
1
|
-
import { useState, useCallback, useLayoutEffect } from "react";
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
const [
|
|
5
|
-
|
|
6
|
-
const popupRef = useCallback((el) => {
|
|
7
|
-
setPopupEl(el);
|
|
1
|
+
import { useState as f, useCallback as a, useLayoutEffect as b } from "react";
|
|
2
|
+
const m = ["top", "right", "bottom", "left"];
|
|
3
|
+
function E(o) {
|
|
4
|
+
const [c, i] = f("top"), [t, l] = f(null), d = a((e) => {
|
|
5
|
+
l(e);
|
|
8
6
|
}, []);
|
|
9
|
-
|
|
10
|
-
if (
|
|
11
|
-
const
|
|
12
|
-
if (!
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
return b(() => {
|
|
8
|
+
if (o !== "auto" || !t) return;
|
|
9
|
+
const e = t.parentElement;
|
|
10
|
+
if (!e) return;
|
|
11
|
+
const n = e.getBoundingClientRect(), p = t.offsetWidth, u = t.offsetHeight, r = 12, g = {
|
|
12
|
+
top: n.top,
|
|
13
|
+
right: window.innerWidth - n.right,
|
|
14
|
+
bottom: window.innerHeight - n.bottom,
|
|
15
|
+
left: n.left
|
|
16
|
+
}, h = {
|
|
17
|
+
top: u + r,
|
|
18
|
+
right: p + r,
|
|
19
|
+
bottom: u + r,
|
|
20
|
+
left: p + r
|
|
22
21
|
};
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
bottom: ph + gap,
|
|
27
|
-
left: pw + gap
|
|
28
|
-
};
|
|
29
|
-
for (const dir of CLOCKWISE) {
|
|
30
|
-
if (space[dir] >= required[dir]) {
|
|
31
|
-
setResolved(dir);
|
|
22
|
+
for (const s of m)
|
|
23
|
+
if (g[s] >= h[s]) {
|
|
24
|
+
i(s);
|
|
32
25
|
return;
|
|
33
26
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}, [placement, popupEl]);
|
|
37
|
-
return [placement === "auto" ? resolved : placement, popupRef];
|
|
27
|
+
i("top");
|
|
28
|
+
}, [o, t]), [o === "auto" ? c : o, d];
|
|
38
29
|
}
|
|
39
30
|
export {
|
|
40
|
-
useAutoPlacement
|
|
31
|
+
E as useAutoPlacement
|
|
41
32
|
};
|
package/dist/web.js
CHANGED
|
@@ -1,51 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Icon = require("./web/Icon/Icon.js");
|
|
4
|
-
const ConfirmTooltip = require("./web/Tooltip/ConfirmTooltip.js");
|
|
5
|
-
const ProgressTooltip = require("./web/Tooltip/ProgressTooltip.js");
|
|
6
|
-
const ContentTooltip = require("./web/Tooltip/ContentTooltip.js");
|
|
7
|
-
const TooltipWrapper = require("./web/Tooltip/TooltipWrapper.js");
|
|
8
|
-
const SkuInputCard = require("./web/SkuInputCard/SkuInputCard.js");
|
|
9
|
-
const Input = require("./web/Input/Input.js");
|
|
10
|
-
const BInput = require("./web/BasicInput/BInput.js");
|
|
11
|
-
const BTabs = require("./web/Tabs/BTabs.js");
|
|
12
|
-
const TabPane = require("./web/Tabs/TabPane.js");
|
|
13
|
-
const EmptyInputBox = require("./web/EmptyInputBox/EmptyInputBox.js");
|
|
14
|
-
const Modal = require("./web/Modal/Modal.js");
|
|
15
|
-
const ProductField = require("./web/ProductField/ProductField.js");
|
|
16
|
-
const CategoryDropdown = require("./web/CategoryDropdown/CategoryDropdown.js");
|
|
17
|
-
const Pagination = require("./web/Pagination/Pagination.js");
|
|
18
|
-
const FileCard = require("./web/FileCard/FileCard.js");
|
|
19
|
-
const Switch = require("./web/Switch/Switch.js");
|
|
20
|
-
const BInputNumber = require("./web/InputNumber/BInputNumber.js");
|
|
21
|
-
const BTable = require("./web/Table/BTable.js");
|
|
22
|
-
const Column = require("./web/Table/Column.js");
|
|
23
|
-
const ColumnGroup = require("./web/Table/ColumnGroup.js");
|
|
24
|
-
const index = require("./web/CheckBox/index.js");
|
|
25
|
-
const BOverlayScrollbar = require("./web/OverlayScrollbar/BOverlayScrollbar.js");
|
|
26
|
-
const BDropdown = require("./web/Dropdown/BDropdown.js");
|
|
27
|
-
exports.BuIcon = Icon;
|
|
28
|
-
exports.ConfirmTooltip = ConfirmTooltip;
|
|
29
|
-
exports.ProgressTooltip = ProgressTooltip;
|
|
30
|
-
exports.BTooltip = ContentTooltip;
|
|
31
|
-
exports.ContentTooltip = ContentTooltip;
|
|
32
|
-
exports.TooltipWrapper = TooltipWrapper;
|
|
33
|
-
exports.SkuInputCard = SkuInputCard;
|
|
34
|
-
exports.BuInput = Input;
|
|
35
|
-
exports.BInput = BInput;
|
|
36
|
-
exports.BTabs = BTabs.default;
|
|
37
|
-
exports.TabPane = TabPane.TabPane;
|
|
38
|
-
exports.BuEmptyInputBox = EmptyInputBox;
|
|
39
|
-
exports.BuModal = Modal;
|
|
40
|
-
exports.BuProductField = ProductField;
|
|
41
|
-
exports.BuCategoryDropdown = CategoryDropdown;
|
|
42
|
-
exports.Pagination = Pagination;
|
|
43
|
-
exports.FileCard = FileCard;
|
|
44
|
-
exports.BuSwitch = Switch;
|
|
45
|
-
exports.BInputNumber = BInputNumber;
|
|
46
|
-
exports.BTable = BTable.BTable;
|
|
47
|
-
exports.Column = Column;
|
|
48
|
-
exports.ColumnGroup = ColumnGroup;
|
|
49
|
-
exports.BCheckBox = index.BCheckBox;
|
|
50
|
-
exports.BOverlayScrollbar = BOverlayScrollbar;
|
|
51
|
-
exports.BDropdown = BDropdown.BDropdown;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./web/Icon/Icon.js"),e=require("./web/Tooltip/ConfirmTooltip.js"),t=require("./web/Tooltip/ProgressTooltip.js"),r=require("./web/Tooltip/ContentTooltip.js"),n=require("./web/Tooltip/TooltipWrapper.js"),u=require("./web/SkuInputCard/SkuInputCard.js"),i=require("./web/Input/Input.js"),c=require("./web/BasicInput/BInput.js"),p=require("./web/Tabs/BTabs.js"),a=require("./web/Tabs/TabPane.js"),l=require("./web/EmptyInputBox/EmptyInputBox.js"),s=require("./web/Modal/Modal.js"),B=require("./web/ProductField/ProductField.js"),q=require("./web/CategoryDropdown/CategoryDropdown.js"),d=require("./web/Pagination/Pagination.js"),T=require("./web/FileCard/FileCard.js"),C=require("./web/Switch/Switch.js"),b=require("./web/InputNumber/BInputNumber.js"),I=require("./web/Table/BTable.js"),m=require("./web/Table/Column.js"),P=require("./web/Table/ColumnGroup.js"),g=require("./web/CheckBox/index.js"),y=require("./web/OverlayScrollbar/BOverlayScrollbar.js"),S=require("./web/Dropdown/BDropdown.js");exports.BuIcon=o;exports.ConfirmTooltip=e;exports.ProgressTooltip=t;exports.BTooltip=r;exports.ContentTooltip=r;exports.TooltipWrapper=n;exports.SkuInputCard=u;exports.BuInput=i;exports.BInput=c;exports.BTabs=p.default;exports.TabPane=a.TabPane;exports.BuEmptyInputBox=l;exports.BuModal=s;exports.BuProductField=B;exports.BuCategoryDropdown=q;exports.Pagination=d;exports.FileCard=T;exports.BuSwitch=C;exports.BInputNumber=b;exports.BTable=I.BTable;exports.Column=m;exports.ColumnGroup=P;exports.BCheckBox=g.BCheckBox;exports.BOverlayScrollbar=y;exports.BDropdown=S.BDropdown;
|
package/dist/web.mjs
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { TabPane } from "./web/Tabs/TabPane.mjs";
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { BTable } from "./web/Table/BTable.mjs";
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { BCheckBox } from "./web/CheckBox/index.mjs";
|
|
23
|
-
import { default as
|
|
24
|
-
import { BDropdown } from "./web/Dropdown/BDropdown.mjs";
|
|
1
|
+
import { default as t } from "./web/Icon/Icon.mjs";
|
|
2
|
+
import { default as a } from "./web/Tooltip/ConfirmTooltip.mjs";
|
|
3
|
+
import { default as p } from "./web/Tooltip/ProgressTooltip.mjs";
|
|
4
|
+
import { default as l, default as m } from "./web/Tooltip/ContentTooltip.mjs";
|
|
5
|
+
import { default as x } from "./web/Tooltip/TooltipWrapper.mjs";
|
|
6
|
+
import { default as B } from "./web/SkuInputCard/SkuInputCard.mjs";
|
|
7
|
+
import { default as i } from "./web/Input/Input.mjs";
|
|
8
|
+
import { default as T } from "./web/BasicInput/BInput.mjs";
|
|
9
|
+
import { default as b } from "./web/Tabs/BTabs.mjs";
|
|
10
|
+
import { TabPane as P } from "./web/Tabs/TabPane.mjs";
|
|
11
|
+
import { default as w } from "./web/EmptyInputBox/EmptyInputBox.mjs";
|
|
12
|
+
import { default as S } from "./web/Modal/Modal.mjs";
|
|
13
|
+
import { default as k } from "./web/ProductField/ProductField.mjs";
|
|
14
|
+
import { default as F } from "./web/CategoryDropdown/CategoryDropdown.mjs";
|
|
15
|
+
import { default as E } from "./web/Pagination/Pagination.mjs";
|
|
16
|
+
import { default as M } from "./web/FileCard/FileCard.mjs";
|
|
17
|
+
import { default as O } from "./web/Switch/Switch.mjs";
|
|
18
|
+
import { default as j } from "./web/InputNumber/BInputNumber.mjs";
|
|
19
|
+
import { BTable as z } from "./web/Table/BTable.mjs";
|
|
20
|
+
import { default as H } from "./web/Table/Column.mjs";
|
|
21
|
+
import { default as K } from "./web/Table/ColumnGroup.mjs";
|
|
22
|
+
import { BCheckBox as Q } from "./web/CheckBox/index.mjs";
|
|
23
|
+
import { default as U } from "./web/OverlayScrollbar/BOverlayScrollbar.mjs";
|
|
24
|
+
import { BDropdown as X } from "./web/Dropdown/BDropdown.mjs";
|
|
25
25
|
export {
|
|
26
|
-
BCheckBox,
|
|
27
|
-
BDropdown,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
BTable,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
TabPane,
|
|
50
|
-
|
|
26
|
+
Q as BCheckBox,
|
|
27
|
+
X as BDropdown,
|
|
28
|
+
T as BInput,
|
|
29
|
+
j as BInputNumber,
|
|
30
|
+
U as BOverlayScrollbar,
|
|
31
|
+
z as BTable,
|
|
32
|
+
b as BTabs,
|
|
33
|
+
l as BTooltip,
|
|
34
|
+
F as BuCategoryDropdown,
|
|
35
|
+
w as BuEmptyInputBox,
|
|
36
|
+
t as BuIcon,
|
|
37
|
+
i as BuInput,
|
|
38
|
+
S as BuModal,
|
|
39
|
+
k as BuProductField,
|
|
40
|
+
O as BuSwitch,
|
|
41
|
+
H as Column,
|
|
42
|
+
K as ColumnGroup,
|
|
43
|
+
a as ConfirmTooltip,
|
|
44
|
+
m as ContentTooltip,
|
|
45
|
+
M as FileCard,
|
|
46
|
+
E as Pagination,
|
|
47
|
+
p as ProgressTooltip,
|
|
48
|
+
B as SkuInputCard,
|
|
49
|
+
P as TabPane,
|
|
50
|
+
x as TooltipWrapper
|
|
51
51
|
};
|