@skyfox2000/webui 1.2.1 → 1.2.3

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.
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as i, createBlock as s, openBlock as l, unref as a, withCtx as p, renderSlot as f, createCommentVNode as u, mergeProps as d } from "vue";
2
2
  import { Tooltip as I } from "ant-design-vue";
3
3
  import { SERVER_HOST as r } from "@skyfox2000/fapi";
4
- import { c as S } from "./settingInfo-BZakNKIN.js";
4
+ import { c as S } from "./pinia-8iujwf8y.js";
5
5
  const T = /* @__PURE__ */ i({
6
6
  __name: "index",
7
7
  props: {
@@ -236,8 +236,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
236
236
  clickable: boolean;
237
237
  flip: boolean;
238
238
  fontsize: string;
239
- className: string;
240
239
  autoSwitch: boolean;
240
+ className: string;
241
241
  spin: boolean;
242
242
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
243
243
  export default _default;
@@ -1,5 +1,4 @@
1
- import { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon } from './common';
2
- import { Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree } from './content';
3
- import { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList } from './form';
4
- import { Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs } from './layout';
5
- export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon, Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList, Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs, };
1
+ export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon } from './common';
2
+ export { Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, } from './content';
3
+ export { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList, } from './form';
4
+ export { Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs } from './layout';
@@ -1,15 +1,14 @@
1
1
  import { defineComponent as F, defineAsyncComponent as M, ref as m, watch as V, onMounted as J, createElementBlock as x, openBlock as p, Fragment as K, createElementVNode as v, createVNode as _, toDisplayString as W, unref as i, createBlock as P, withKeys as f, normalizeClass as N, withModifiers as w, withCtx as z, createCommentVNode as L } from "vue";
2
- import { _ as q } from "../../assets/modules/index-Civhd8xG.js";
3
2
  import "ant-design-vue";
4
- import { _ as D } from "../../assets/modules/index-DmWrkTXX.js";
3
+ import { _ as q } from "../../assets/modules/toolIcon-Cwggvppx.js";
5
4
  import "@skyfox2000/fapi";
6
- import "../../assets/modules/settingInfo-BZakNKIN.js";
5
+ import "../../assets/modules/pinia-8iujwf8y.js";
7
6
  import "@skyfox2000/microbase";
8
7
  import "vue-m-message";
9
8
  import "async-validator";
10
9
  import "dayjs";
10
+ import { _ as D } from "../../assets/modules/index-XIk9IJH2.js";
11
11
  import "vue-draggable-next";
12
- import "../../assets/modules/index-DQMdt51R.js";
13
12
  const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
14
13
  const o = document.createElement("script");
15
14
  o.src = `${s}ace/ace.js`, o.async = !0, o.onload = () => {
@@ -44,7 +43,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
44
43
  }, T = { class: "w-full overflow-hidden rounded-md border-1 border-solid border-gray-300" }, G = { class: "w-full h-[30px] bg-[#ccc] relative flex items-center justify-between px-2" }, H = { class: "flex-1 overflow-hidden" }, I = {
45
44
  key: 1,
46
45
  class: "h-[500px] w-[99.3%] flex justify-center items-center border-1 border-solid border-gray-200"
47
- }, $ = "github", ce = /* @__PURE__ */ F({
46
+ }, $ = "github", ie = /* @__PURE__ */ F({
48
47
  __name: "index",
49
48
  props: {
50
49
  value: {},
@@ -108,7 +107,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
108
107
  v("div", T, [
109
108
  v("div", G, [
110
109
  v("div", null, W(i(r).toUpperCase()), 1),
111
- _(i(D), {
110
+ _(i(q), {
112
111
  icon: "icon-fullscreen",
113
112
  clickable: "",
114
113
  class: "w-4 h-4 text-[12px]",
@@ -135,7 +134,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
135
134
  }, "加载编辑器中...", 2))
136
135
  ])
137
136
  ]),
138
- _(i(q), {
137
+ _(i(D), {
139
138
  title: "代码编辑器",
140
139
  open: d.value,
141
140
  "onUpdate:open": e[6] || (e[6] = (u) => d.value = u),
@@ -164,5 +163,5 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
164
163
  }
165
164
  });
166
165
  export {
167
- ce as default
166
+ ie as default
168
167
  };
@@ -1,17 +1,18 @@
1
- import { defineComponent as y, ref as I, watch as C, onMounted as g, resolveComponent as b, createBlock as n, openBlock as o, unref as e, withCtx as a, createCommentVNode as c, createVNode as r, createElementVNode as u, createElementBlock as k, toDisplayString as w, normalizeClass as S, KeepAlive as N, resolveDynamicComponent as $ } from "vue";
1
+ import { defineComponent as y, ref as I, watch as C, onMounted as b, resolveComponent as g, createBlock as n, openBlock as o, unref as e, withCtx as l, createCommentVNode as c, createVNode as r, createElementVNode as u, createElementBlock as k, toDisplayString as w, normalizeClass as S, KeepAlive as N, resolveDynamicComponent as $ } from "vue";
2
2
  import { Layout as f, LayoutSider as E } from "ant-design-vue";
3
- import { a as z } from "../../assets/modules/index-DmWrkTXX.js";
4
- import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-BRYvFWA-.js";
5
- import { d as j, u as K, e as M } from "../../assets/modules/settingInfo-BZakNKIN.js";
6
- import "@skyfox2000/microbase";
3
+ import { a as z } from "../../assets/modules/toolIcon-Cwggvppx.js";
4
+ import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-D2OgHmBc.js";
5
+ import { ab as j, u as K, ad as M } from "../../assets/modules/pinia-8iujwf8y.js";
7
6
  import "@skyfox2000/fapi";
7
+ import "vue-draggable-next";
8
8
  import P from "vue-m-message";
9
- import "async-validator";
10
9
  import "dayjs";
10
+ import "@skyfox2000/microbase";
11
+ import "async-validator";
11
12
  const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-nowrap items-center justify-center text-white font-bold text-lg overflow-hidden text-ellipsis" }, U = {
12
13
  key: 0,
13
14
  class: "ml-[10px]"
14
- }, Y = /* @__PURE__ */ y({
15
+ }, Z = /* @__PURE__ */ y({
15
16
  __name: "basicLayout",
16
17
  props: {
17
18
  routes: {}
@@ -23,29 +24,29 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
23
24
  (i) => {
24
25
  p.value = i ? "h-[calc(100vh-40px)]" : "h-[calc(100vh-80px)]";
25
26
  }
26
- ), g(() => {
27
+ ), b(() => {
27
28
  P.closeAll();
28
29
  }), (i, m) => {
29
- const h = b("router-view");
30
+ const h = g("router-view");
30
31
  return o(), n(e(f), { class: "h-screen" }, {
31
- default: a(() => [
32
+ default: l(() => [
32
33
  e(s).fullscreen ? c("", !0) : (o(), n(e(E), {
33
34
  key: 0,
34
35
  class: "overflow-auto h-screen left-0 top-0 bottom-0",
35
36
  collapsed: e(s).menuCollapse,
36
- "onUpdate:collapsed": m[0] || (m[0] = (l) => e(s).menuCollapse = l),
37
+ "onUpdate:collapsed": m[0] || (m[0] = (a) => e(s).menuCollapse = a),
37
38
  collapsible: ""
38
39
  }, {
39
- default: a(() => [
40
+ default: l(() => [
40
41
  u("div", T, [
41
42
  r(z, {
42
43
  title: e(s).menuCollapse ? e(t).appInfo.Name : "",
43
44
  placement: "right"
44
45
  }, {
45
- default: a(() => {
46
- var l;
46
+ default: l(() => {
47
+ var a;
47
48
  return [
48
- (l = e(t).appInfo.Icon) != null && l.startsWith("sym-") ? (o(), n(A, {
49
+ (a = e(t).appInfo.Icon) != null && a.startsWith("sym-") ? (o(), n(A, {
49
50
  key: 0,
50
51
  icon: e(t).appInfo.Icon,
51
52
  fontsize: "30px",
@@ -68,19 +69,19 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
68
69
  _: 1
69
70
  }, 8, ["collapsed"])),
70
71
  r(e(f), { class: "overflow-y-auto block" }, {
71
- default: a(() => [
72
+ default: l(() => [
72
73
  e(s).fullscreen ? c("", !0) : (o(), n(V, { key: 0 })),
73
74
  e(x).TabEnabled ? (o(), n(D, { key: 1 })) : c("", !0),
74
75
  u("div", {
75
76
  class: S(["relative overflow-y-auto", p.value])
76
77
  }, [
77
78
  r(h, null, {
78
- default: a(({ Component: l, route: v }) => [
79
+ default: l(({ Component: a, route: v }) => [
79
80
  (o(), n(N, {
80
81
  include: e(t).CachedComponents,
81
82
  exclude: e(t).ExcludeComponents
82
83
  }, [
83
- (o(), n($(e(t).cacheComponent(l, v))))
84
+ (o(), n($(e(t).cacheComponent(a, v))))
84
85
  ], 1032, ["include", "exclude"]))
85
86
  ]),
86
87
  _: 1
@@ -96,5 +97,5 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
96
97
  }
97
98
  });
98
99
  export {
99
- Y as default
100
+ Z as default
100
101
  };
@@ -1,12 +1,13 @@
1
1
  import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
2
- import { r as s } from "../../assets/modules/settingInfo-BZakNKIN.js";
3
- import "@skyfox2000/microbase";
2
+ import { r as s } from "../../assets/modules/pinia-8iujwf8y.js";
3
+ import { Result as u, Button as c } from "ant-design-vue";
4
4
  import "@skyfox2000/fapi";
5
+ import "vue-draggable-next";
5
6
  import "vue-m-message";
6
- import "async-validator";
7
7
  import "dayjs";
8
- import { Result as u, Button as c } from "ant-design-vue";
9
- const N = /* @__PURE__ */ i({
8
+ import "@skyfox2000/microbase";
9
+ import "async-validator";
10
+ const V = /* @__PURE__ */ i({
10
11
  __name: "error403",
11
12
  setup(_) {
12
13
  const o = () => {
@@ -34,5 +35,5 @@ const N = /* @__PURE__ */ i({
34
35
  }
35
36
  });
36
37
  export {
37
- N as default
38
+ V as default
38
39
  };
@@ -1,12 +1,13 @@
1
1
  import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
2
- import { r as s } from "../../assets/modules/settingInfo-BZakNKIN.js";
3
- import "@skyfox2000/microbase";
2
+ import { r as s } from "../../assets/modules/pinia-8iujwf8y.js";
3
+ import { Result as u, Button as c } from "ant-design-vue";
4
4
  import "@skyfox2000/fapi";
5
+ import "vue-draggable-next";
5
6
  import "vue-m-message";
6
- import "async-validator";
7
7
  import "dayjs";
8
- import { Result as u, Button as c } from "ant-design-vue";
9
- const N = /* @__PURE__ */ i({
8
+ import "@skyfox2000/microbase";
9
+ import "async-validator";
10
+ const V = /* @__PURE__ */ i({
10
11
  __name: "error404",
11
12
  setup(_) {
12
13
  const o = () => {
@@ -34,5 +35,5 @@ const N = /* @__PURE__ */ i({
34
35
  }
35
36
  });
36
37
  export {
37
- N as default
38
+ V as default
38
39
  };