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