orion-design 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/components/Form/FileInput/FileInput.vue.d.ts +2 -2
- package/dist/components/Form/LovInput/LovInput.d.ts +2 -0
- package/dist/components/Form/LovInput/LovInput.js.map +1 -1
- package/dist/components/Form/index.js +291 -283
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.vue.d.ts +16 -0
- package/dist/components/LovTable/LovQuerytable.vue.d.ts +16 -0
- package/dist/components/LovTable/index.d.ts +34 -2
- package/dist/components/LovTable/index.js +34 -44
- package/dist/components/LovTable/index.js.map +1 -1
- package/dist/components/Tabs/constants.d.ts +19 -0
- package/dist/components/Tabs/constants.js +5 -0
- package/dist/components/Tabs/constants.js.map +1 -0
- package/dist/components/Tabs/index.d.ts +74 -0
- package/dist/components/Tabs/index.js +367 -0
- package/dist/components/Tabs/index.js.map +1 -0
- package/dist/components/Tabs/tab-bar.d.ts +59 -0
- package/dist/components/Tabs/tab-bar.js +15 -0
- package/dist/components/Tabs/tab-bar.js.map +1 -0
- package/dist/components/Tabs/tab-bar.vue.d.ts +131 -0
- package/dist/components/Tabs/tab-nav.d.ts +237 -0
- package/dist/components/Tabs/tab-pane.d.ts +16 -0
- package/dist/components/Tabs/tab-pane.js +35 -0
- package/dist/components/Tabs/tab-pane.js.map +1 -0
- package/dist/components/Tabs/tab-pane.vue.d.ts +43 -0
- package/dist/components/Tabs/tabs.d.ts +101 -0
- package/dist/components/_constants/aria.d.ts +17 -0
- package/dist/components/_constants/aria.js +25 -0
- package/dist/components/_constants/aria.js.map +1 -0
- package/dist/components/_constants/event.d.ts +3 -0
- package/dist/components/_constants/event.js +7 -0
- package/dist/components/_constants/event.js.map +1 -0
- package/dist/components/_constants/index.d.ts +2 -0
- package/dist/components/_constants/index.js +9 -0
- package/dist/components/_constants/index.js.map +1 -0
- package/dist/components/_hooks/index.d.ts +2 -0
- package/dist/components/_hooks/index.js +10 -0
- package/dist/components/_hooks/index.js.map +1 -0
- package/dist/components/_hooks/use-namespace/index.d.ts +23 -0
- package/dist/components/_hooks/use-namespace/index.js +46 -0
- package/dist/components/_hooks/use-namespace/index.js.map +1 -0
- package/dist/components/_hooks/use-ordered-children/index.d.ts +8 -0
- package/dist/components/_hooks/use-ordered-children/index.js +27 -0
- package/dist/components/_hooks/use-ordered-children/index.js.map +1 -0
- package/dist/components/_util/arrays.js.map +1 -1
- package/dist/components/_util/browser.js +2 -2
- package/dist/components/_util/browser.js.map +1 -1
- package/dist/components/_util/dom/aria.js.map +1 -1
- package/dist/components/_util/dom/element.js +1 -1
- package/dist/components/_util/dom/element.js.map +1 -1
- package/dist/components/_util/dom/event.js.map +1 -1
- package/dist/components/_util/dom/position.js +1 -1
- package/dist/components/_util/dom/position.js.map +1 -1
- package/dist/components/_util/dom/scroll.js +1 -1
- package/dist/components/_util/dom/scroll.js.map +1 -1
- package/dist/components/_util/dom/style.js +1 -1
- package/dist/components/_util/dom/style.js.map +1 -1
- package/dist/components/_util/easings.js.map +1 -1
- package/dist/components/_util/error.js.map +1 -1
- package/dist/components/_util/i18n.js.map +1 -1
- package/dist/components/_util/index.js +1 -1
- package/dist/components/_util/objects.js.map +1 -1
- package/dist/components/_util/raf.js +1 -1
- package/dist/components/_util/raf.js.map +1 -1
- package/dist/components/_util/rand.js.map +1 -1
- package/dist/components/_util/strings.js.map +1 -1
- package/dist/components/_util/throttleByRaf.js.map +1 -1
- package/dist/components/_util/types.js.map +1 -1
- package/dist/components/_util/typescript.js.map +1 -1
- package/dist/components/_util/vue/global-node.js +1 -1
- package/dist/components/_util/vue/global-node.js.map +1 -1
- package/dist/components/_util/vue/icon.js +24 -146
- package/dist/components/_util/vue/icon.js.map +1 -1
- package/dist/components/_util/vue/install.js.map +1 -1
- package/dist/components/_util/vue/props/runtime.js.map +1 -1
- package/dist/components/_util/vue/refs.js.map +1 -1
- package/dist/components/_util/vue/size.js.map +1 -1
- package/dist/components/_util/vue/validator.js.map +1 -1
- package/dist/components/_util/vue/vnode.js.map +1 -1
- package/dist/components/components.d.ts +2 -0
- package/dist/components/components.js +13 -11
- package/dist/components/components.js.map +1 -1
- package/dist/components/index.js +21 -19
- package/dist/components/index.js.map +1 -1
- package/dist/components-0PErqPHo.js +72 -0
- package/dist/{components-DXZmD0GT.js.map → components-0PErqPHo.js.map} +1 -1
- package/dist/index-BwWeqwHB.js +164 -0
- package/dist/index-BwWeqwHB.js.map +1 -0
- package/dist/index-DG_8kbAs.js +45 -0
- package/dist/{index-C8JNJPWW.js.map → index-DG_8kbAs.js.map} +1 -1
- package/dist/index-DLvlyWAh.js +127 -0
- package/dist/index-DLvlyWAh.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +21 -19
- package/dist/index.js.map +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/global.d.ts +6 -1
- package/package.json +3 -1
- package/dist/components/LovTable/LovPagetable.d.ts +0 -2
- package/dist/components/LovTable/LovQuerytable.d.ts +0 -2
- package/dist/components-DXZmD0GT.js +0 -70
- package/dist/index-C8JNJPWW.js +0 -8
package/dist/index.js
CHANGED
@@ -5,31 +5,33 @@ import { default as m } from "./version/version.js";
|
|
5
5
|
import { default as s } from "./components/Modal/useModal.js";
|
6
6
|
import { default as d } from "./components/Form/LovInput/hooks/useLov.js";
|
7
7
|
import { default as i } from "./components/Button/index.js";
|
8
|
-
import { S as
|
9
|
-
import { Colflex as C, Flexitem as
|
10
|
-
import { default as
|
11
|
-
import { default as
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import { default as B } from "./components/
|
15
|
-
import {
|
16
|
-
import {
|
8
|
+
import { S as v } from "./index-BbsXWo7C.js";
|
9
|
+
import { Colflex as C, Flexitem as T, Rowflex as F } from "./components/Flex/index.js";
|
10
|
+
import { default as L } from "./components/Tabs/index.js";
|
11
|
+
import { default as O } from "./components/Pagetable/index.js";
|
12
|
+
import { default as c } from "./components/Querytable/index.js";
|
13
|
+
import { i as h } from "./components-0PErqPHo.js";
|
14
|
+
import { default as B } from "./components/Form/index.js";
|
15
|
+
import { default as P } from "./components/LovTable/index.js";
|
16
|
+
import { formContextKey as R } from "./components/Form/Form.js";
|
17
|
+
import { lovContextKey as k } from "./components/Form/LovInput/LovInput.js";
|
17
18
|
export {
|
18
19
|
i as Button,
|
19
20
|
C as Colflex,
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
T as Flexitem,
|
22
|
+
B as Form,
|
23
|
+
P as LovTable,
|
24
|
+
h as Modal,
|
24
25
|
r as OrionError,
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
O as Pagetable,
|
27
|
+
c as Querytable,
|
28
|
+
F as Rowflex,
|
29
|
+
v as Space,
|
30
|
+
L as Tabs,
|
29
31
|
a as Throne,
|
30
|
-
|
32
|
+
R as formContextKey,
|
31
33
|
l as install,
|
32
|
-
|
34
|
+
k as lovContextKey,
|
33
35
|
d as useLov,
|
34
36
|
s as useOModal,
|
35
37
|
m as version
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: "0.1.
|
1
|
+
declare const _default: "0.1.16";
|
2
2
|
export default _default;
|
package/dist/version/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.
|
1
|
+
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.16';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/global.d.ts
CHANGED
@@ -6,6 +6,11 @@ declare module 'vue' {
|
|
6
6
|
OColflex: typeof import('orion-design')['Colflex']
|
7
7
|
OFlexitem: typeof import('orion-design')['Flexitem']
|
8
8
|
|
9
|
+
|
10
|
+
// 导航
|
11
|
+
OTabs: typeof import('orion-design')['Tabs']
|
12
|
+
OTabPane: typeof import('orion-design')['OTabPane']
|
13
|
+
|
9
14
|
// 表格
|
10
15
|
OPageTable: typeof import('orion-design')['PageTable']
|
11
16
|
|
@@ -13,4 +18,4 @@ declare module 'vue' {
|
|
13
18
|
OModal: typeof import('orion-design')['Modal']
|
14
19
|
}
|
15
20
|
}
|
16
|
-
export {}
|
21
|
+
export { }
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "orion-design",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.16",
|
4
4
|
"main": "dist/index.js",
|
5
5
|
"type": "module",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"vue-types": "^5.1.3"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
|
+
"@element-plus/icons-vue": "^2.3.1",
|
27
28
|
"@types/md5": "^2.3.5",
|
28
29
|
"@types/node": "^22.7.4",
|
29
30
|
"@types/uuid": "^10.0.0",
|
@@ -47,6 +48,7 @@
|
|
47
48
|
"vue-tsc": "^2.0.29"
|
48
49
|
},
|
49
50
|
"peerDependencies": {
|
51
|
+
"@element-plus/icons-vue": "^2.3.1",
|
50
52
|
"axios": "^1.7.7",
|
51
53
|
"dayjs": "^1.11.13",
|
52
54
|
"decimal.js": "^10.4.3",
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const LovPagetable: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
-
export default LovPagetable;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const LovQuerytable: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
-
export default LovQuerytable;
|
@@ -1,70 +0,0 @@
|
|
1
|
-
import p from "./components/Button/index.js";
|
2
|
-
import { S as h } from "./index-BbsXWo7C.js";
|
3
|
-
import { Colflex as w, Flexitem as g, Rowflex as C } from "./components/Flex/index.js";
|
4
|
-
import _ from "./components/Pagetable/index.js";
|
5
|
-
import b from "./components/Querytable/index.js";
|
6
|
-
import { defineComponent as x, ref as l, shallowRef as P, provide as M, createVNode as f, Fragment as y } from "vue";
|
7
|
-
import { ElDialog as O } from "element-plus";
|
8
|
-
import "lodash-es";
|
9
|
-
import { addUnit as $ } from "./components/_util/dom/style.js";
|
10
|
-
import { withInstall as S } from "./components/_util/vue/install.js";
|
11
|
-
import j from "./components/Form/index.js";
|
12
|
-
import F from "./components/LovTable/index.js";
|
13
|
-
const E = /* @__PURE__ */ x({
|
14
|
-
name: "OModal",
|
15
|
-
setup(T, {
|
16
|
-
slots: V,
|
17
|
-
attrs: k,
|
18
|
-
emit: z,
|
19
|
-
expose: m
|
20
|
-
}) {
|
21
|
-
const o = l(!1), n = l(), a = P(), t = l(), r = l(), s = l(), u = l(), i = l(!0);
|
22
|
-
m({
|
23
|
-
open: async (e) => (o.value = !0, n.value = e.title, a.value = e.content, e.contentProps ? t.value = e.contentProps : t.value = {}, e.width && (r.value = e.width), e.height && (s.value = $(e.height)), e.showClose != null && e.showClose == !1 && (i.value = !1), new Promise((v, D) => {
|
24
|
-
u.value = v;
|
25
|
-
}))
|
26
|
-
});
|
27
|
-
const c = (e) => {
|
28
|
-
const d = u.value;
|
29
|
-
o.value = !1, n.value = void 0, a.value = void 0, t.value = void 0, r.value = void 0, s.value = void 0, u.value = void 0, i.value = !0, d && d(e);
|
30
|
-
};
|
31
|
-
return M("$$Modal", {
|
32
|
-
close: c
|
33
|
-
}), () => {
|
34
|
-
const e = a.value;
|
35
|
-
return o.value ? f(O, {
|
36
|
-
title: n.value,
|
37
|
-
width: r.value,
|
38
|
-
modelValue: o.value,
|
39
|
-
beforeClose: c,
|
40
|
-
draggable: !0,
|
41
|
-
closeOnClickModal: !1,
|
42
|
-
closeOnPressEscape: !1,
|
43
|
-
showClose: i.value,
|
44
|
-
alignCenter: !0,
|
45
|
-
style: {
|
46
|
-
height: s.value
|
47
|
-
}
|
48
|
-
}, {
|
49
|
-
default: () => [f(e, t.value, null)]
|
50
|
-
}) : f(y, null, null);
|
51
|
-
};
|
52
|
-
}
|
53
|
-
}), R = S(E), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
54
|
-
__proto__: null,
|
55
|
-
Button: p,
|
56
|
-
Colflex: w,
|
57
|
-
Flexitem: g,
|
58
|
-
Form: j,
|
59
|
-
LovTable: F,
|
60
|
-
Modal: R,
|
61
|
-
Pagetable: _,
|
62
|
-
Querytable: b,
|
63
|
-
Rowflex: C,
|
64
|
-
Space: h
|
65
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
66
|
-
export {
|
67
|
-
X as c,
|
68
|
-
R as i
|
69
|
-
};
|
70
|
-
//# sourceMappingURL=components-DXZmD0GT.js.map
|
package/dist/index-C8JNJPWW.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
import "vue";
|
2
|
-
var n;
|
3
|
-
const i = typeof window < "u", t = i && ((n = window == null ? void 0 : window.navigator) == null ? void 0 : n.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
4
|
-
export {
|
5
|
-
t as a,
|
6
|
-
i
|
7
|
-
};
|
8
|
-
//# sourceMappingURL=index-C8JNJPWW.js.map
|