orion-design 0.1.14 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/dist/components/Form/FileInput/FileInput.vue.d.ts +2 -2
  2. package/dist/components/Form/LovInput/LovInput.d.ts +2 -0
  3. package/dist/components/Form/LovInput/LovInput.js.map +1 -1
  4. package/dist/components/Form/index.js +320 -318
  5. package/dist/components/Form/index.js.map +1 -1
  6. package/dist/components/LovTable/LovPagetable.vue.d.ts +16 -0
  7. package/dist/components/LovTable/LovQuerytable.vue.d.ts +16 -0
  8. package/dist/components/LovTable/index.d.ts +35 -3
  9. package/dist/components/LovTable/index.js +40 -42
  10. package/dist/components/LovTable/index.js.map +1 -1
  11. package/dist/components/Tabs/constants.d.ts +19 -0
  12. package/dist/components/Tabs/constants.js +5 -0
  13. package/dist/components/Tabs/constants.js.map +1 -0
  14. package/dist/components/Tabs/index.d.ts +74 -0
  15. package/dist/components/Tabs/index.js +367 -0
  16. package/dist/components/Tabs/index.js.map +1 -0
  17. package/dist/components/Tabs/tab-bar.d.ts +59 -0
  18. package/dist/components/Tabs/tab-bar.js +15 -0
  19. package/dist/components/Tabs/tab-bar.js.map +1 -0
  20. package/dist/components/Tabs/tab-bar.vue.d.ts +131 -0
  21. package/dist/components/Tabs/tab-nav.d.ts +237 -0
  22. package/dist/components/Tabs/tab-pane.d.ts +16 -0
  23. package/dist/components/Tabs/tab-pane.js +35 -0
  24. package/dist/components/Tabs/tab-pane.js.map +1 -0
  25. package/dist/components/Tabs/tab-pane.vue.d.ts +43 -0
  26. package/dist/components/Tabs/tabs.d.ts +101 -0
  27. package/dist/components/_constants/aria.d.ts +17 -0
  28. package/dist/components/_constants/aria.js +25 -0
  29. package/dist/components/_constants/aria.js.map +1 -0
  30. package/dist/components/_constants/event.d.ts +3 -0
  31. package/dist/components/_constants/event.js +7 -0
  32. package/dist/components/_constants/event.js.map +1 -0
  33. package/dist/components/_constants/index.d.ts +2 -0
  34. package/dist/components/_constants/index.js +9 -0
  35. package/dist/components/_constants/index.js.map +1 -0
  36. package/dist/components/_hooks/index.d.ts +2 -0
  37. package/dist/components/_hooks/index.js +10 -0
  38. package/dist/components/_hooks/index.js.map +1 -0
  39. package/dist/components/_hooks/use-namespace/index.d.ts +23 -0
  40. package/dist/components/_hooks/use-namespace/index.js +46 -0
  41. package/dist/components/_hooks/use-namespace/index.js.map +1 -0
  42. package/dist/components/_hooks/use-ordered-children/index.d.ts +8 -0
  43. package/dist/components/_hooks/use-ordered-children/index.js +27 -0
  44. package/dist/components/_hooks/use-ordered-children/index.js.map +1 -0
  45. package/dist/components/_util/browser.js +2 -2
  46. package/dist/components/_util/dom/element.js +1 -1
  47. package/dist/components/_util/dom/position.js +1 -1
  48. package/dist/components/_util/dom/scroll.js +1 -1
  49. package/dist/components/_util/dom/style.js +1 -1
  50. package/dist/components/_util/index.js +1 -1
  51. package/dist/components/_util/raf.js +1 -1
  52. package/dist/components/_util/vue/global-node.js +1 -1
  53. package/dist/components/_util/vue/icon.js +24 -146
  54. package/dist/components/_util/vue/icon.js.map +1 -1
  55. package/dist/components/components.d.ts +2 -2
  56. package/dist/components/components.js +16 -22
  57. package/dist/components/components.js.map +1 -1
  58. package/dist/components/index.d.ts +2 -0
  59. package/dist/components/index.js +29 -27
  60. package/dist/components/index.js.map +1 -1
  61. package/dist/components-0PErqPHo.js +72 -0
  62. package/dist/{components-1bMIJYPN.js.map → components-0PErqPHo.js.map} +1 -1
  63. package/dist/index-BwWeqwHB.js +164 -0
  64. package/dist/index-BwWeqwHB.js.map +1 -0
  65. package/dist/index-DG_8kbAs.js +45 -0
  66. package/dist/{index-C8JNJPWW.js.map → index-DG_8kbAs.js.map} +1 -1
  67. package/dist/index-DLvlyWAh.js +127 -0
  68. package/dist/index-DLvlyWAh.js.map +1 -0
  69. package/dist/index.css +1 -1
  70. package/dist/index.js +21 -19
  71. package/dist/index.js.map +1 -1
  72. package/dist/version/version.d.ts +1 -1
  73. package/dist/version/version.js +1 -1
  74. package/dist/version/version.js.map +1 -1
  75. package/global.d.ts +6 -1
  76. package/package.json +3 -1
  77. package/dist/components/LovTable/LovPagetable.d.ts +0 -2
  78. package/dist/components/LovTable/LovQuerytable.d.ts +0 -2
  79. package/dist/components-1bMIJYPN.js +0 -78
  80. 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 b } from "./index-BbsXWo7C.js";
9
- import { Colflex as C, Flexitem as F, Rowflex as K } from "./components/Flex/index.js";
10
- import { default as M } from "./components/Pagetable/index.js";
11
- import { default as S } from "./components/Querytable/index.js";
12
- import { i as c } from "./components-1bMIJYPN.js";
13
- import { default as h } from "./components/Form/index.js";
14
- import { default as B } from "./components/LovTable/index.js";
15
- import { formContextKey as P } from "./components/Form/Form.js";
16
- import { lovContextKey as R } from "./components/Form/LovInput/LovInput.js";
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
- F as Flexitem,
21
- h as Form,
22
- B as LovTable,
23
- c as Modal,
21
+ T as Flexitem,
22
+ B as Form,
23
+ P as LovTable,
24
+ h as Modal,
24
25
  r as OrionError,
25
- M as Pagetable,
26
- S as Querytable,
27
- K as Rowflex,
28
- b as Space,
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
- P as formContextKey,
32
+ R as formContextKey,
31
33
  l as install,
32
- R as lovContextKey,
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.14";
1
+ declare const _default: "0.1.16";
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- const e = "0.1.14";
1
+ const e = "0.1.16";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.14';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
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.14",
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,78 +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 b, ref as o, shallowRef as M, provide as y, createVNode as f, Fragment as P } 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/Modal/useModal.js";
12
- import F from "./components/Form/index.js";
13
- import E from "./components/LovTable/index.js";
14
- import { formContextKey as K } from "./components/Form/Form.js";
15
- import L from "./components/Form/LovInput/hooks/useLov.js";
16
- import { lovContextKey as R } from "./components/Form/LovInput/LovInput.js";
17
- const T = /* @__PURE__ */ b({
18
- name: "OModal",
19
- setup(k, {
20
- slots: z,
21
- attrs: B,
22
- emit: D,
23
- expose: c
24
- }) {
25
- const l = o(!1), r = o(), n = M(), t = o(), a = o(), s = o(), u = o(), i = o(!0);
26
- c({
27
- open: async (e) => (l.value = !0, r.value = e.title, n.value = e.content, e.contentProps ? t.value = e.contentProps : t.value = {}, e.width && (a.value = e.width), e.height && (s.value = $(e.height)), e.showClose != null && e.showClose == !1 && (i.value = !1), new Promise((v, N) => {
28
- u.value = v;
29
- }))
30
- });
31
- const d = (e) => {
32
- const m = u.value;
33
- l.value = !1, r.value = void 0, n.value = void 0, t.value = void 0, a.value = void 0, s.value = void 0, u.value = void 0, i.value = !0, m && m(e);
34
- };
35
- return y("$$Modal", {
36
- close: d
37
- }), () => {
38
- const e = n.value;
39
- return l.value ? f(O, {
40
- title: r.value,
41
- width: a.value,
42
- modelValue: l.value,
43
- beforeClose: d,
44
- draggable: !0,
45
- closeOnClickModal: !1,
46
- closeOnPressEscape: !1,
47
- showClose: i.value,
48
- alignCenter: !0,
49
- style: {
50
- height: s.value
51
- }
52
- }, {
53
- default: () => [f(e, t.value, null)]
54
- }) : f(P, null, null);
55
- };
56
- }
57
- }), V = S(T), ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
- __proto__: null,
59
- Button: p,
60
- Colflex: w,
61
- Flexitem: g,
62
- Form: F,
63
- LovTable: E,
64
- Modal: V,
65
- Pagetable: x,
66
- Querytable: _,
67
- Rowflex: C,
68
- Space: h,
69
- formContextKey: K,
70
- lovContextKey: R,
71
- useLov: L,
72
- useOModal: j
73
- }, Symbol.toStringTag, { value: "Module" }));
74
- export {
75
- ne as c,
76
- V as i
77
- };
78
- //# sourceMappingURL=components-1bMIJYPN.js.map
@@ -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