orion-design 0.1.16 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. package/README.md +5 -5
  2. package/dist/components/Form/FileInput/FileInput.vue.d.ts +1 -1
  3. package/dist/components/Form/index.js +247 -238
  4. package/dist/components/Form/index.js.map +1 -1
  5. package/dist/components/LovTable/LovPagetable.vue.d.ts +310 -2
  6. package/dist/components/LovTable/LovQuerytable.vue.d.ts +198 -2
  7. package/dist/components/LovTable/index.d.ts +295 -6
  8. package/dist/components/LovTable/index.js +114 -29
  9. package/dist/components/LovTable/index.js.map +1 -1
  10. package/dist/components/Pagetable/Pagetable.d.ts +13 -0
  11. package/dist/components/Pagetable/index.d.ts +9 -0
  12. package/dist/components/Pagetable/index.js +167 -161
  13. package/dist/components/Pagetable/index.js.map +1 -1
  14. package/dist/components/Querytable/Querytable.d.ts +13 -0
  15. package/dist/components/Querytable/index.d.ts +9 -0
  16. package/dist/components/Querytable/index.js +130 -125
  17. package/dist/components/Querytable/index.js.map +1 -1
  18. package/dist/components/RichTextEditor/RichTextEditor.d.ts +13 -0
  19. package/dist/components/RichTextEditor/index.d.ts +9 -0
  20. package/dist/components/RichTextEditor/index.js +20761 -0
  21. package/dist/components/RichTextEditor/index.js.map +1 -0
  22. package/dist/components/Tabs/index.js +371 -263
  23. package/dist/components/Tabs/index.js.map +1 -1
  24. package/dist/components/_util/arrays.js.map +1 -1
  25. package/dist/components/_util/browser.js +2 -2
  26. package/dist/components/_util/browser.js.map +1 -1
  27. package/dist/components/_util/dom/aria.js.map +1 -1
  28. package/dist/components/_util/dom/element.js +1 -1
  29. package/dist/components/_util/dom/element.js.map +1 -1
  30. package/dist/components/_util/dom/event.js.map +1 -1
  31. package/dist/components/_util/dom/position.js +1 -1
  32. package/dist/components/_util/dom/position.js.map +1 -1
  33. package/dist/components/_util/dom/scroll.js +1 -1
  34. package/dist/components/_util/dom/scroll.js.map +1 -1
  35. package/dist/components/_util/dom/style.js +1 -1
  36. package/dist/components/_util/dom/style.js.map +1 -1
  37. package/dist/components/_util/easings.js.map +1 -1
  38. package/dist/components/_util/error.js.map +1 -1
  39. package/dist/components/_util/i18n.js.map +1 -1
  40. package/dist/components/_util/index.js +1 -1
  41. package/dist/components/_util/objects.js.map +1 -1
  42. package/dist/components/_util/raf.js +1 -1
  43. package/dist/components/_util/raf.js.map +1 -1
  44. package/dist/components/_util/rand.js.map +1 -1
  45. package/dist/components/_util/strings.js.map +1 -1
  46. package/dist/components/_util/throttleByRaf.js.map +1 -1
  47. package/dist/components/_util/types.js.map +1 -1
  48. package/dist/components/_util/typescript.js.map +1 -1
  49. package/dist/components/_util/vue/global-node.js +1 -1
  50. package/dist/components/_util/vue/global-node.js.map +1 -1
  51. package/dist/components/_util/vue/icon.js.map +1 -1
  52. package/dist/components/_util/vue/install.js.map +1 -1
  53. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  54. package/dist/components/_util/vue/refs.js.map +1 -1
  55. package/dist/components/_util/vue/size.js.map +1 -1
  56. package/dist/components/_util/vue/validator.js.map +1 -1
  57. package/dist/components/_util/vue/vnode.js.map +1 -1
  58. package/dist/components/components.d.ts +2 -0
  59. package/dist/components/components.js +12 -10
  60. package/dist/components/components.js.map +1 -1
  61. package/dist/components/index.js +16 -14
  62. package/dist/components/index.js.map +1 -1
  63. package/dist/components-Cx2JsH63.js +74 -0
  64. package/dist/{components-0PErqPHo.js.map → components-Cx2JsH63.js.map} +1 -1
  65. package/dist/{index-DG_8kbAs.js → index-C9tCD90X.js} +6 -6
  66. package/dist/{index-DG_8kbAs.js.map → index-C9tCD90X.js.map} +1 -1
  67. package/dist/index.css +1 -1
  68. package/dist/index.js +22 -20
  69. package/dist/index.js.map +1 -1
  70. package/dist/version/version.d.ts +1 -1
  71. package/dist/version/version.js +1 -1
  72. package/dist/version/version.js.map +1 -1
  73. package/global.d.ts +2 -0
  74. package/package.json +3 -1
  75. package/dist/components-0PErqPHo.js +0 -72
  76. package/dist/index-DLvlyWAh.js +0 -127
  77. package/dist/index-DLvlyWAh.js.map +0 -1
@@ -1,72 +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 b from "./components/Tabs/index.js";
5
- import x from "./components/Pagetable/index.js";
6
- import _ from "./components/Querytable/index.js";
7
- import { defineComponent as P, ref as l, shallowRef as M, provide as $, createVNode as f, Fragment as y } from "vue";
8
- import { ElDialog as O } from "element-plus";
9
- import "lodash-es";
10
- import { addUnit as S } from "./components/_util/dom/style.js";
11
- import { withInstall as j } from "./components/_util/vue/install.js";
12
- import F from "./components/Form/index.js";
13
- import T from "./components/LovTable/index.js";
14
- const E = /* @__PURE__ */ P({
15
- name: "OModal",
16
- setup(V, {
17
- slots: k,
18
- attrs: z,
19
- emit: B,
20
- expose: c
21
- }) {
22
- const o = l(!1), n = l(), r = M(), t = l(), a = l(), s = l(), u = l(), i = l(!0);
23
- c({
24
- open: async (e) => (o.value = !0, n.value = e.title, r.value = e.content, e.contentProps ? t.value = e.contentProps : t.value = {}, e.width && (a.value = e.width), e.height && (s.value = S(e.height)), e.showClose != null && e.showClose == !1 && (i.value = !1), new Promise((v, I) => {
25
- u.value = v;
26
- }))
27
- });
28
- const m = (e) => {
29
- const d = u.value;
30
- o.value = !1, n.value = void 0, r.value = void 0, t.value = void 0, a.value = void 0, s.value = void 0, u.value = void 0, i.value = !0, d && d(e);
31
- };
32
- return $("$$Modal", {
33
- close: m
34
- }), () => {
35
- const e = r.value;
36
- return o.value ? f(O, {
37
- title: n.value,
38
- width: a.value,
39
- modelValue: o.value,
40
- beforeClose: m,
41
- draggable: !0,
42
- closeOnClickModal: !1,
43
- closeOnPressEscape: !1,
44
- showClose: i.value,
45
- alignCenter: !0,
46
- style: {
47
- height: s.value
48
- }
49
- }, {
50
- default: () => [f(e, t.value, null)]
51
- }) : f(y, null, null);
52
- };
53
- }
54
- }), R = j(E), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
55
- __proto__: null,
56
- Button: p,
57
- Colflex: w,
58
- Flexitem: g,
59
- Form: F,
60
- LovTable: T,
61
- Modal: R,
62
- Pagetable: x,
63
- Querytable: _,
64
- Rowflex: C,
65
- Space: h,
66
- Tabs: b
67
- }, Symbol.toStringTag, { value: "Module" }));
68
- export {
69
- Z as c,
70
- R as i
71
- };
72
- //# sourceMappingURL=components-0PErqPHo.js.map
@@ -1,127 +0,0 @@
1
- import { b as A, n as N, r as E, t as P, c as j, i as S, d as C } from "./index-DG_8kbAs.js";
2
- import { watch as g, ref as p } from "vue";
3
- function Q(e) {
4
- var t;
5
- const n = E(e);
6
- return (t = n == null ? void 0 : n.$el) != null ? t : n;
7
- }
8
- const y = S ? window : void 0, T = S ? window.document : void 0;
9
- function O(...e) {
10
- let t, n, r, a;
11
- if (A(e[0]) || Array.isArray(e[0]) ? ([n, r, a] = e, t = y) : [t, n, r, a] = e, !t)
12
- return N;
13
- Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
14
- const i = [], s = () => {
15
- i.forEach((o) => o()), i.length = 0;
16
- }, f = (o, l, d, v) => (o.addEventListener(l, d, v), () => o.removeEventListener(l, d, v)), c = g(() => [Q(t), E(a)], ([o, l]) => {
17
- s(), o && i.push(...n.flatMap((d) => r.map((v) => f(o, d, v, l))));
18
- }, { immediate: !0, flush: "post" }), u = () => {
19
- c(), s();
20
- };
21
- return P(u), u;
22
- }
23
- const R = (e) => typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
24
- function M(...e) {
25
- let t, n, r = {};
26
- e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
27
- const { target: a = y, eventName: i = "keydown", passive: s = !1 } = r, f = R(t);
28
- return O(a, i, (u) => {
29
- f(u) && n(u);
30
- }, s);
31
- }
32
- function W(e, t = !1) {
33
- const n = p(), r = () => n.value = !!e();
34
- return r(), C(r, t), n;
35
- }
36
- const b = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, _ = "__vueuse_ssr_handlers__";
37
- b[_] = b[_] || {};
38
- function V({ document: e = T } = {}) {
39
- if (!e)
40
- return p("visible");
41
- const t = p(e.visibilityState);
42
- return O(e, "visibilitychange", () => {
43
- t.value = e.visibilityState;
44
- }), t;
45
- }
46
- var m = Object.getOwnPropertySymbols, x = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable, $ = (e, t) => {
47
- var n = {};
48
- for (var r in e)
49
- x.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
50
- if (e != null && m)
51
- for (var r of m(e))
52
- t.indexOf(r) < 0 && L.call(e, r) && (n[r] = e[r]);
53
- return n;
54
- };
55
- function k(e, t, n = {}) {
56
- const r = n, { window: a = y } = r, i = $(r, ["window"]);
57
- let s;
58
- const f = W(() => a && "ResizeObserver" in a), c = () => {
59
- s && (s.disconnect(), s = void 0);
60
- }, u = g(() => Q(e), (l) => {
61
- c(), f.value && a && l && (s = new ResizeObserver(t), s.observe(l, i));
62
- }, { immediate: !0, flush: "post" }), o = () => {
63
- c(), u();
64
- };
65
- return P(o), {
66
- isSupported: f,
67
- stop: o
68
- };
69
- }
70
- var I;
71
- (function(e) {
72
- e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
73
- })(I || (I = {}));
74
- var B = Object.defineProperty, h = Object.getOwnPropertySymbols, z = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable, w = (e, t, n) => t in e ? B(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, U = (e, t) => {
75
- for (var n in t || (t = {}))
76
- z.call(t, n) && w(e, n, t[n]);
77
- if (h)
78
- for (var n of h(t))
79
- K.call(t, n) && w(e, n, t[n]);
80
- return e;
81
- };
82
- const D = {
83
- easeInSine: [0.12, 0, 0.39, 0],
84
- easeOutSine: [0.61, 1, 0.88, 1],
85
- easeInOutSine: [0.37, 0, 0.63, 1],
86
- easeInQuad: [0.11, 0, 0.5, 0],
87
- easeOutQuad: [0.5, 1, 0.89, 1],
88
- easeInOutQuad: [0.45, 0, 0.55, 1],
89
- easeInCubic: [0.32, 0, 0.67, 0],
90
- easeOutCubic: [0.33, 1, 0.68, 1],
91
- easeInOutCubic: [0.65, 0, 0.35, 1],
92
- easeInQuart: [0.5, 0, 0.75, 0],
93
- easeOutQuart: [0.25, 1, 0.5, 1],
94
- easeInOutQuart: [0.76, 0, 0.24, 1],
95
- easeInQuint: [0.64, 0, 0.78, 0],
96
- easeOutQuint: [0.22, 1, 0.36, 1],
97
- easeInOutQuint: [0.83, 0, 0.17, 1],
98
- easeInExpo: [0.7, 0, 0.84, 0],
99
- easeOutExpo: [0.16, 1, 0.3, 1],
100
- easeInOutExpo: [0.87, 0, 0.13, 1],
101
- easeInCirc: [0.55, 0, 1, 0.45],
102
- easeOutCirc: [0, 0.55, 0.45, 1],
103
- easeInOutCirc: [0.85, 0, 0.15, 1],
104
- easeInBack: [0.36, 0, 0.66, -0.56],
105
- easeOutBack: [0.34, 1.56, 0.64, 1],
106
- easeInOutBack: [0.68, -0.6, 0.32, 1.6]
107
- };
108
- U({
109
- linear: j
110
- }, D);
111
- function q({ window: e = y } = {}) {
112
- if (!e)
113
- return p(!1);
114
- const t = p(e.document.hasFocus());
115
- return O(e, "blur", () => {
116
- t.value = !1;
117
- }), O(e, "focus", () => {
118
- t.value = !0;
119
- }), t;
120
- }
121
- export {
122
- V as a,
123
- q as b,
124
- M as o,
125
- k as u
126
- };
127
- //# sourceMappingURL=index-DLvlyWAh.js.map