orion-design 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Form/index.js +230 -220
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.d.ts +2 -0
- package/dist/components/LovTable/LovQuerytable.d.ts +2 -0
- package/dist/components/LovTable/index.d.ts +5 -0
- package/dist/components/LovTable/index.js +54 -0
- package/dist/components/LovTable/index.js.map +1 -0
- package/dist/components/Pagetable/Pagetable.d.ts +2 -1
- package/dist/components/Pagetable/hooks/useColumns.js +36 -35
- package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
- package/dist/components/Pagetable/index.d.ts +2 -1
- package/dist/components/Pagetable/index.js +130 -128
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Querytable/Querytable.d.ts +2 -1
- package/dist/components/Querytable/hooks/useColumns.js +16 -15
- package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
- package/dist/components/Querytable/index.d.ts +2 -1
- package/dist/components/Querytable/index.js +90 -88
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/components.d.ts +2 -0
- package/dist/components/components.js +18 -10
- package/dist/components/components.js.map +1 -1
- package/dist/components/index.js +21 -13
- package/dist/components/index.js.map +1 -1
- package/dist/components-1bMIJYPN.js +78 -0
- package/dist/{components-OIbu7HLW.js.map → components-1bMIJYPN.js.map} +1 -1
- package/dist/index.js +24 -16
- package/dist/index.js.map +1 -1
- package/dist/request/disivion/index.d.ts +11 -12
- package/dist/request/disivion/index.js +137 -134
- package/dist/request/disivion/index.js.map +1 -1
- package/dist/request/index.d.ts +1 -1
- package/dist/request/index.js +11 -8
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/package.json +4 -2
- package/dist/components-OIbu7HLW.js +0 -70
@@ -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 x from "./components/Pagetable/index.js";
|
5
|
-
import _ from "./components/Querytable/index.js";
|
6
|
-
import { defineComponent as M, ref as l, shallowRef as b, provide as P, createVNode as f, Fragment as O } from "vue";
|
7
|
-
import { ElDialog as $ } from "element-plus";
|
8
|
-
import "lodash-es";
|
9
|
-
import { addUnit as y } from "./components/_util/dom/style.js";
|
10
|
-
import { withInstall as S } from "./components/_util/vue/install.js";
|
11
|
-
import j from "./components/Modal/useModal.js";
|
12
|
-
import F from "./components/Form/index.js";
|
13
|
-
const E = /* @__PURE__ */ M({
|
14
|
-
name: "OModal",
|
15
|
-
setup(V, {
|
16
|
-
slots: k,
|
17
|
-
attrs: z,
|
18
|
-
emit: B,
|
19
|
-
expose: m
|
20
|
-
}) {
|
21
|
-
const o = l(!1), n = l(), a = b(), 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 = y(e.height)), e.showClose != null && e.showClose == !1 && (i.value = !1), new Promise((v, I) => {
|
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 P("$$Modal", {
|
32
|
-
close: c
|
33
|
-
}), () => {
|
34
|
-
const e = a.value;
|
35
|
-
return o.value ? f($, {
|
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(O, 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: F,
|
59
|
-
Modal: R,
|
60
|
-
Pagetable: x,
|
61
|
-
Querytable: _,
|
62
|
-
Rowflex: C,
|
63
|
-
Space: h,
|
64
|
-
useOModal: j
|
65
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
66
|
-
export {
|
67
|
-
X as c,
|
68
|
-
R as i
|
69
|
-
};
|
70
|
-
//# sourceMappingURL=components-OIbu7HLW.js.map
|