@pubinfo/module-rbac 2.0.12 → 2.0.14

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.
Files changed (97) hide show
  1. package/dist/{DynamicRoutesForm-DzOGoyf3.js → DynamicRoutesForm-BU4EAISs.js} +1 -1
  2. package/dist/{DynamicRoutesForm.vue_vue_type_script_setup_true_lang-lpCaLpPL.js → DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js} +6 -6
  3. package/dist/{IconSelect-CkqLR5Dg.js → IconSelect-DtNpk3Rj.js} +1 -1
  4. package/dist/IconSelect.css +1 -1
  5. package/dist/IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js +757 -0
  6. package/dist/{ImportExport-BD8o7IvB.js → ImportExport-DAe_Sl13.js} +1 -1
  7. package/dist/{ImportExport.vue_vue_type_script_setup_true_lang-BzdP0ADd.js → ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js} +1 -1
  8. package/dist/LayoutForm-C-vNwp3q.js +173 -0
  9. package/dist/LayoutForm.css +1 -0
  10. package/dist/{MetaForm-DtlyvzoM.js → MetaForm-13JASu7v.js} +142 -105
  11. package/dist/MetaForm.css +1 -1
  12. package/dist/{ResourceEdit-WpEdbzaw.js → ResourceEdit-D2YFu-Gk.js} +1 -1
  13. package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-Cb0mKIlJ.js +429 -0
  14. package/dist/{ResourceRelation-DGiGYy6V.js → ResourceRelation-CeM9Eq39.js} +10 -11
  15. package/dist/{ResourceRelation-26FnHEfU.js → ResourceRelation-qhIdXLAy.js} +12 -13
  16. package/dist/{TenantEdit-B24X5nND.js → TenantEdit-C61O1pSu.js} +1 -1
  17. package/dist/{TenantEdit.vue_vue_type_script_setup_true_lang-Bu5HcJJv.js → TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js} +39 -40
  18. package/dist/{UserAuthorization-Co6JV0py.js → UserAuthorization-rqttVub5.js} +9 -10
  19. package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +1 -1
  20. package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +1 -1
  21. package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +3 -0
  22. package/dist/components/ResourceIcones/Select.vue.d.ts +3 -0
  23. package/dist/{createAndEditDataPermission-BhOLGGna.js → createAndEditDataPermission-DPeFulie.js} +1 -1
  24. package/dist/{createAndEditDataPermission.vue_vue_type_script_setup_true_lang-D5wInKwO.js → createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js} +98 -101
  25. package/dist/{drawerRole-DHLv47_z.js → drawerRole-CXGVqxPX.js} +1 -1
  26. package/dist/{drawerRole-DUWRM43j.js → drawerRole-CfJjf3v_.js} +1 -1
  27. package/dist/{drawerRole.vue_vue_type_script_setup_true_lang-BET5ukoo.js → drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js} +42 -43
  28. package/dist/{drawerRole.vue_vue_type_script_setup_true_lang-BK3zjhop.js → drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js} +1 -1
  29. package/dist/{enum-CjyX3J0o.js → enum-D5iPiZiT.js} +0 -1
  30. package/dist/{index-Csfu3kAr.js → index-B5aP0re3.js} +6 -7
  31. package/dist/{index-DwpOyfRe.js → index-BEB4liGe.js} +8 -9
  32. package/dist/{index-DfuGXjYh.js → index-BNwGLzXe.js} +21 -22
  33. package/dist/{index-DdoOaWs-.js → index-BPkJOFXE.js} +3 -3
  34. package/dist/{index-ioZh8Qom.js → index-BXvJhqJD.js} +6 -7
  35. package/dist/{index-BFx8F5lO.js → index-C2G4xRrJ.js} +8 -9
  36. package/dist/{index-x9Iim2eD.js → index-C5WD-YUu.js} +7 -8
  37. package/dist/{index-rNYtJ7Om.js → index-CbVJdR5M.js} +6 -7
  38. package/dist/{index-DECno0gv.js → index-ChWnVs6j.js} +2 -2
  39. package/dist/{index-C9hHp4Iw.js → index-CoZM8pyH.js} +1 -1
  40. package/dist/{index-B2tTTlBE.js → index-Copy5kiW.js} +276 -273
  41. package/dist/index-D3Xw_aOi.js +144 -0
  42. package/dist/{index-CCw3ZJgQ.js → index-DHVEXch0.js} +8 -9
  43. package/dist/{index-COWUocfL.js → index-Dl0hWfIE.js} +7 -8
  44. package/dist/{index-BIpmC999.js → index-En8oOf9e.js} +8 -9
  45. package/dist/{index-ZQuRR9fG.js → index-VZuizuKs.js} +1 -1
  46. package/dist/{index-BwWrE3dY.js → index-XhYtVVT9.js} +6 -7
  47. package/dist/{index-BUmMaC21.js → index-nAPHtTM7.js} +5 -6
  48. package/dist/{index-y9CQTo95.js → index-qn7U9T51.js} +9 -10
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.js +2578 -2303
  51. package/dist/index10.css +1 -1
  52. package/dist/index11.css +1 -1
  53. package/dist/index12.css +1 -1
  54. package/dist/index13.css +1 -1
  55. package/dist/index14.css +1 -1
  56. package/dist/index15.css +1 -1
  57. package/dist/index16.css +1 -1
  58. package/dist/index17.css +1 -1
  59. package/dist/index4.css +1 -1
  60. package/dist/index5.css +1 -1
  61. package/dist/index6.css +1 -1
  62. package/dist/index7.css +1 -1
  63. package/dist/index8.css +1 -1
  64. package/dist/index9.css +1 -1
  65. package/dist/{loginHistoryDetail-B6eI-TmJ.js → loginHistoryDetail-BZVwG8m2.js} +1 -1
  66. package/dist/{login_history-B4Q1NCJn.js → login_history-CMZGS2PN.js} +5 -6
  67. package/dist/{operateHistoryDetail-CLZ9lyua.js → operateHistoryDetail-Badx3zl-.js} +1 -1
  68. package/dist/{operate_history-KASZ7_JO.js → operate_history-B42WNY1u.js} +5 -6
  69. package/dist/{setItem-BwMHXOUm.js → setItem-Blb3dox4.js} +1 -1
  70. package/dist/{useAppAndResource-38HCqYKa.js → useAppAndResource-DDywX2iz.js} +11 -12
  71. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +3 -3
  72. package/dist/views/data-permission/index.vue.d.ts +3 -3
  73. package/dist/views/resource/components/LayoutForm.vue.d.ts +10 -0
  74. package/dist/views/resource/hooks/useLayoutForm.d.ts +12 -0
  75. package/dist/views/resource/model.d.ts +13 -0
  76. package/package.json +7 -7
  77. package/src/components/ResourceIcones/BoxColorPicker.vue +64 -8
  78. package/src/components/ResourceIcones/Select.vue +13 -5
  79. package/src/index.ts +1 -0
  80. package/src/views/organization/index.vue +17 -10
  81. package/src/views/resource/components/DynamicRoutesForm.vue +1 -1
  82. package/src/views/resource/components/IconSelect.vue +7 -3
  83. package/src/views/resource/components/LayoutForm.vue +92 -0
  84. package/src/views/resource/components/MetaForm.vue +11 -0
  85. package/src/views/resource/components/ResourceEdit.vue +26 -8
  86. package/src/views/resource/enum.ts +0 -1
  87. package/src/views/resource/hooks/useLayoutForm.ts +57 -0
  88. package/src/views/resource/hooks/useMetaForm.ts +4 -0
  89. package/src/views/resource/index.vue +0 -3
  90. package/src/views/resource/model.ts +23 -1
  91. package/dist/IconSelect.vue_vue_type_script_setup_true_lang-BoGxAoNd.js +0 -703
  92. package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-id6jZAko.js +0 -392
  93. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  94. package/dist/enum-CTUzwCYG.js +0 -4
  95. package/dist/index-53oBz1jp.js +0 -299
  96. package/dist/index-DVt5k9xh.js +0 -145
  97. package/dist/index18.css +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./ImportExport.vue_vue_type_script_setup_true_lang-BzdP0ADd.js";
1
+ import { _ as f } from "./ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -5,7 +5,7 @@ import { theme as Me, message as T, Upload as ne } from "ant-design-vue";
5
5
  import { d as Ne } from "./dayjs.min-B2Yn1Frg.js";
6
6
  import { c as F } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  import { b as j, u as B } from "./index.js";
8
- import { R as ae, r as se } from "./enum-CjyX3J0o.js";
8
+ import { R as ae, r as se } from "./enum-D5iPiZiT.js";
9
9
  function Ge(u, _) {
10
10
  return j.Delete(
11
11
  "/rbac/resource-backup/deleteResourceBackup",
@@ -0,0 +1,173 @@
1
+ import { Divider as k, Row as v, Col as x, FormItem as w, Switch as F } from "ant-design-vue/es";
2
+ import { computed as _, defineComponent as V, useModel as h, createElementBlock as C, createCommentVNode as E, unref as l, openBlock as L, createVNode as t, withCtx as o, createTextVNode as N, createElementVNode as i } from "vue";
3
+ import "./enum-D5iPiZiT.js";
4
+ import { RESOURCE_TYPE as p } from "pubinfo";
5
+ import { _ as c } from "./HoverCard.vue_vue_type_script_setup_true_lang-BqEarhzP.js";
6
+ import { _ as P } from "./index.js";
7
+ import './LayoutForm.css';function U(n) {
8
+ const f = _(() => {
9
+ const u = n.value.type;
10
+ return [p.APP, p.DYNAMIC_APP].includes(u);
11
+ }), a = _(() => {
12
+ if (!n.value.meta?.layout)
13
+ return {
14
+ header: !0,
15
+ sidebar: !0,
16
+ tabs: !0,
17
+ toolbar: !0
18
+ };
19
+ const u = {
20
+ header: !0,
21
+ sidebar: !0,
22
+ tabs: !0,
23
+ toolbar: !0
24
+ };
25
+ return n.value.meta.layout = {
26
+ ...u,
27
+ ...n.value.meta.layout
28
+ }, n.value.meta.layout;
29
+ });
30
+ return {
31
+ show: f,
32
+ layoutForm: a
33
+ };
34
+ }
35
+ const j = { key: 0 }, T = /* @__PURE__ */ V({
36
+ name: "LayoutForm",
37
+ __name: "LayoutForm",
38
+ props: {
39
+ modelValue: {
40
+ default: {
41
+ meta: {
42
+ layout: {
43
+ header: !0,
44
+ sidebar: !0,
45
+ tabs: !0,
46
+ toolbar: !0
47
+ }
48
+ }
49
+ }
50
+ },
51
+ modelModifiers: {}
52
+ },
53
+ emits: ["update:modelValue"],
54
+ setup(n) {
55
+ const f = h(n, "modelValue"), { layoutForm: a, show: u } = U(f);
56
+ return (A, e) => {
57
+ const b = k, r = F, d = w, m = x, y = v;
58
+ return l(u) ? (L(), C("div", j, [
59
+ t(b, null, {
60
+ default: o(() => e[4] || (e[4] = [
61
+ N("布局配置")
62
+ ])),
63
+ _: 1,
64
+ __: [4]
65
+ }),
66
+ t(y, { gutter: [8, 8] }, {
67
+ default: o(() => [
68
+ t(m, { span: 12 }, {
69
+ default: o(() => [
70
+ t(d, {
71
+ name: "enable",
72
+ "label-col": { span: 0 }
73
+ }, {
74
+ default: o(() => [
75
+ t(c, { class: "flex items-center justify-between" }, {
76
+ default: o(() => [
77
+ e[5] || (e[5] = i("div", { class: "text-sm font-medium" }, " 显示 Header ", -1)),
78
+ t(r, {
79
+ checked: l(a).header,
80
+ "onUpdate:checked": e[0] || (e[0] = (s) => l(a).header = s)
81
+ }, null, 8, ["checked"])
82
+ ]),
83
+ _: 1,
84
+ __: [5]
85
+ })
86
+ ]),
87
+ _: 1
88
+ })
89
+ ]),
90
+ _: 1
91
+ }),
92
+ t(m, { span: 12 }, {
93
+ default: o(() => [
94
+ t(d, {
95
+ name: "enable",
96
+ "label-col": { span: 0 }
97
+ }, {
98
+ default: o(() => [
99
+ t(c, { class: "flex items-center justify-between" }, {
100
+ default: o(() => [
101
+ e[6] || (e[6] = i("div", { class: "text-sm font-medium" }, " 显示 Sidebar ", -1)),
102
+ t(r, {
103
+ checked: l(a).sidebar,
104
+ "onUpdate:checked": e[1] || (e[1] = (s) => l(a).sidebar = s)
105
+ }, null, 8, ["checked"])
106
+ ]),
107
+ _: 1,
108
+ __: [6]
109
+ })
110
+ ]),
111
+ _: 1
112
+ })
113
+ ]),
114
+ _: 1
115
+ }),
116
+ t(m, { span: 12 }, {
117
+ default: o(() => [
118
+ t(d, {
119
+ name: "enable",
120
+ "label-col": { span: 0 }
121
+ }, {
122
+ default: o(() => [
123
+ t(c, { class: "flex items-center justify-between" }, {
124
+ default: o(() => [
125
+ e[7] || (e[7] = i("div", { class: "text-sm font-medium" }, " 显示 Tabs ", -1)),
126
+ t(r, {
127
+ checked: l(a).tabs,
128
+ "onUpdate:checked": e[2] || (e[2] = (s) => l(a).tabs = s)
129
+ }, null, 8, ["checked"])
130
+ ]),
131
+ _: 1,
132
+ __: [7]
133
+ })
134
+ ]),
135
+ _: 1
136
+ })
137
+ ]),
138
+ _: 1
139
+ }),
140
+ t(m, { span: 12 }, {
141
+ default: o(() => [
142
+ t(d, {
143
+ name: "enable",
144
+ "label-col": { span: 0 }
145
+ }, {
146
+ default: o(() => [
147
+ t(c, { class: "flex items-center justify-between" }, {
148
+ default: o(() => [
149
+ e[8] || (e[8] = i("div", { class: "text-sm font-medium" }, " 显示 Toolbar ", -1)),
150
+ t(r, {
151
+ checked: l(a).toolbar,
152
+ "onUpdate:checked": e[3] || (e[3] = (s) => l(a).toolbar = s)
153
+ }, null, 8, ["checked"])
154
+ ]),
155
+ _: 1,
156
+ __: [8]
157
+ })
158
+ ]),
159
+ _: 1
160
+ })
161
+ ]),
162
+ _: 1
163
+ })
164
+ ]),
165
+ _: 1
166
+ })
167
+ ])) : E("", !0);
168
+ };
169
+ }
170
+ }), Y = /* @__PURE__ */ P(T, [["__scopeId", "data-v-8c0e12f9"]]);
171
+ export {
172
+ Y as default
173
+ };
@@ -0,0 +1 @@
1
+ .form-item-bottom-0[data-v-8c0e12f9],.ant-form-item[data-v-8c0e12f9]{margin-bottom:0}
@@ -1,9 +1,9 @@
1
- import { Divider as w, Row as T, Col as M, FormItem as P, Switch as U, Input as A } from "ant-design-vue/es";
2
- import { computed as C, watch as h, defineComponent as D, useModel as j, createElementBlock as E, openBlock as c, createVNode as l, withCtx as u, createTextVNode as O, createBlock as f, createCommentVNode as p, createElementVNode as o, unref as _ } from "vue";
3
- import "./enum-CjyX3J0o.js";
1
+ import { Divider as w, Row as M, Col as T, FormItem as U, Switch as A, Input as P } from "ant-design-vue/es";
2
+ import { computed as C, watch as h, defineComponent as j, useModel as D, createElementBlock as E, openBlock as c, createVNode as t, withCtx as u, createTextVNode as O, createBlock as f, createCommentVNode as p, createElementVNode as o, unref as _ } from "vue";
3
+ import "./enum-D5iPiZiT.js";
4
4
  import { RESOURCE_TYPE as d } from "pubinfo";
5
5
  import { _ as b } from "./HoverCard.vue_vue_type_script_setup_true_lang-BqEarhzP.js";
6
- import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import { _ as I } from "./index.js";
7
7
  import './MetaForm.css';const x = {
8
8
  url: "",
9
9
  component: "",
@@ -11,7 +11,7 @@ import './MetaForm.css';const x = {
11
11
  scope: "",
12
12
  activeMenu: void 0,
13
13
  isDev: !1,
14
- devText: "该功能暂未上线,敬请期待!",
14
+ devText: "该功能暂未上线,敬请期待!",
15
15
  cache: !1,
16
16
  cacheName: void 0,
17
17
  noCache: void 0,
@@ -20,11 +20,19 @@ import './MetaForm.css';const x = {
20
20
  tabbar: !0,
21
21
  breadcrumb: !0,
22
22
  link: void 0,
23
- iframe: void 0
23
+ iframe: void 0,
24
+ iframeCache: !1,
25
+ layout: {
26
+ header: !0,
27
+ sidebar: !0,
28
+ tabs: !0,
29
+ toolbar: !0
30
+ },
31
+ partyLogin: void 0
24
32
  };
25
- function B(a) {
26
- const t = C(() => {
27
- const n = a.value.type;
33
+ function F(l) {
34
+ const a = C(() => {
35
+ const n = l.value.type;
28
36
  return {
29
37
  dataPermission: [d.BUTTON, d.MENU, d.NON_MENU].includes(n),
30
38
  // 开发模式选项可见性:只在应用或动态应用中显示
@@ -35,35 +43,37 @@ function B(a) {
35
43
  sidebar: ![d.APP, d.DYNAMIC_APP, d.BUTTON, d.NON_MENU].includes(n),
36
44
  // 标签栏显示选项可见性:应用、动态应用和目录不显示此选项
37
45
  tabbar: ![d.APP, d.DYNAMIC_APP, d.INDEX, d.BUTTON].includes(n),
38
- breadcrumb: ![d.BUTTON].includes(n)
46
+ breadcrumb: ![d.BUTTON].includes(n),
47
+ dynamic: [d.IFRAME, d.LINK].includes(n),
48
+ iframe: [d.IFRAME].includes(n)
39
49
  };
40
50
  });
41
51
  h(
42
- () => a.value.type,
52
+ () => l.value.type,
43
53
  (n, e) => {
44
54
  n !== e && n && e && i();
45
55
  },
46
56
  { immediate: !1 }
47
57
  ), h(
48
- () => a.value.meta?.isDev,
58
+ () => l.value.meta?.isDev,
49
59
  (n, e) => {
50
- e === !0 && n === !1 && a.value.meta && (a.value.meta.devText = x.devText), e === !1 && n === !0 && a.value.meta && !a.value.meta.devText && (a.value.meta.devText = x.devText);
60
+ e === !0 && n === !1 && l.value.meta && (l.value.meta.devText = x.devText), e === !1 && n === !0 && l.value.meta && !l.value.meta.devText && (l.value.meta.devText = x.devText);
51
61
  },
52
62
  { immediate: !1 }
53
63
  );
54
64
  function i() {
55
- if (a.value.meta || (a.value.meta = { ...x }), a.value.meta.cache) {
56
- const n = a.value.meta.cache;
57
- typeof n == "boolean" && (a.value.meta.cache = n), typeof n == "string" && (a.value.meta.cacheName = n, a.value.meta.cache = !0), Array.isArray(n) && (a.value.meta.cacheName = n.join(","), a.value.meta.cache = !0);
65
+ if (l.value.meta || (l.value.meta = { ...x }), l.value.meta.cache) {
66
+ const n = l.value.meta.cache;
67
+ typeof n == "boolean" && (l.value.meta.cache = n), typeof n == "string" && (l.value.meta.cacheName = n, l.value.meta.cache = !0), Array.isArray(n) && (l.value.meta.cacheName = n.join(","), l.value.meta.cache = !0);
58
68
  }
59
- a.value.meta.noCache && Array.isArray(a.value.meta.noCache) && (a.value.meta.noCache = a.value.meta.noCache.join(",")), t.value.devMode || (a.value.meta.isDev = !1, a.value.meta.devText = x.devText), a.value.meta.isDev || (a.value.meta.devText = x.devText), t.value.cacheAndPin || (a.value.meta.cache = !1, a.value.meta.pin = !1), t.value.sidebar || (a.value.meta.sidebar = !0), t.value.tabbar || (a.value.meta.tabbar = !0);
69
+ l.value.meta.noCache && Array.isArray(l.value.meta.noCache) && (l.value.meta.noCache = l.value.meta.noCache.join(",")), a.value.devMode || (l.value.meta.isDev = !1, l.value.meta.devText = x.devText), l.value.meta.isDev || (l.value.meta.devText = x.devText), a.value.cacheAndPin || (l.value.meta.cache = !1, l.value.meta.pin = !1), a.value.sidebar || (l.value.meta.sidebar = !0), a.value.tabbar || (l.value.meta.tabbar = !0);
60
70
  }
61
71
  return {
62
- show: t,
72
+ show: a,
63
73
  resetIncompatibleOptions: i
64
74
  };
65
75
  }
66
- const S = { class: "flex items-center justify-between" }, V = { class: "flex items-center justify-between" }, F = /* @__PURE__ */ D({
76
+ const z = { class: "flex items-center justify-between" }, B = { class: "flex items-center justify-between" }, S = /* @__PURE__ */ j({
67
77
  name: "MetaForm",
68
78
  __name: "MetaForm",
69
79
  props: {
@@ -78,37 +88,37 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
78
88
  modelModifiers: {}
79
89
  },
80
90
  emits: ["update:modelValue"],
81
- setup(a) {
82
- const t = j(a, "modelValue"), { show: i } = B(t);
91
+ setup(l) {
92
+ const a = D(l, "modelValue"), { show: i } = F(a);
83
93
  return (n, e) => {
84
- const N = w, v = U, m = P, r = M, k = A, y = T;
94
+ const y = w, r = A, m = U, v = T, k = P, N = M;
85
95
  return c(), E("div", null, [
86
- l(N, null, {
87
- default: u(() => e[10] || (e[10] = [
96
+ t(y, null, {
97
+ default: u(() => e[11] || (e[11] = [
88
98
  O("其他配置")
89
99
  ])),
90
100
  _: 1,
91
- __: [10]
101
+ __: [11]
92
102
  }),
93
- l(y, { gutter: [8, 8] }, {
103
+ t(N, { gutter: [8, 8] }, {
94
104
  default: u(() => [
95
- l(r, { span: 12 }, {
105
+ t(v, { span: 12 }, {
96
106
  default: u(() => [
97
- l(m, {
107
+ t(m, {
98
108
  name: "enable",
99
109
  "label-col": { span: 0 }
100
110
  }, {
101
111
  default: u(() => [
102
- l(b, { class: "flex items-center justify-between" }, {
112
+ t(b, { class: "flex items-center justify-between" }, {
103
113
  default: u(() => [
104
- e[11] || (e[11] = o("div", { class: "text-sm font-medium" }, " 启用 ", -1)),
105
- l(v, {
106
- checked: t.value.enable,
107
- "onUpdate:checked": e[0] || (e[0] = (s) => t.value.enable = s)
114
+ e[12] || (e[12] = o("div", { class: "text-sm font-medium" }, " 启用 ", -1)),
115
+ t(r, {
116
+ checked: a.value.enable,
117
+ "onUpdate:checked": e[0] || (e[0] = (s) => a.value.enable = s)
108
118
  }, null, 8, ["checked"])
109
119
  ]),
110
120
  _: 1,
111
- __: [11]
121
+ __: [12]
112
122
  })
113
123
  ]),
114
124
  _: 1
@@ -116,17 +126,17 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
116
126
  ]),
117
127
  _: 1
118
128
  }),
119
- _(i).devMode ? (c(), f(r, {
129
+ _(i).devMode ? (c(), f(v, {
120
130
  key: 0,
121
131
  span: 12
122
132
  }, {
123
133
  default: u(() => [
124
- l(b, {
125
- more: t.value.meta?.isDev,
134
+ t(b, {
135
+ more: a.value.meta?.isDev,
126
136
  class: "flex flex-wrap items-center"
127
137
  }, {
128
138
  more: u(() => [
129
- t.value.meta?.isDev ? (c(), f(m, {
139
+ a.value.meta?.isDev ? (c(), f(m, {
130
140
  key: 0,
131
141
  label: "提示文本",
132
142
  name: "devText",
@@ -135,9 +145,9 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
135
145
  class: "w-full"
136
146
  }, {
137
147
  default: u(() => [
138
- l(k, {
139
- value: t.value.meta.devText,
140
- "onUpdate:value": e[2] || (e[2] = (s) => t.value.meta.devText = s),
148
+ t(k, {
149
+ value: a.value.meta.devText,
150
+ "onUpdate:value": e[2] || (e[2] = (s) => a.value.meta.devText = s),
141
151
  placeholder: "请输入开发模式下的提示文本",
142
152
  maxlength: 100,
143
153
  "show-count": "",
@@ -148,17 +158,17 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
148
158
  })) : p("", !0)
149
159
  ]),
150
160
  default: u(() => [
151
- l(m, {
161
+ t(m, {
152
162
  name: "isDev",
153
163
  "label-col": { span: 0 },
154
164
  class: "form-item-bottom-0 w-full"
155
165
  }, {
156
166
  default: u(() => [
157
- o("div", S, [
158
- e[12] || (e[12] = o("div", { class: "text-sm font-medium" }, " 开发模式 ", -1)),
159
- l(v, {
160
- checked: t.value.meta.isDev,
161
- "onUpdate:checked": e[1] || (e[1] = (s) => t.value.meta.isDev = s)
167
+ o("div", z, [
168
+ e[13] || (e[13] = o("div", { class: "text-sm font-medium" }, " 开发模式 ", -1)),
169
+ t(r, {
170
+ checked: a.value.meta.isDev,
171
+ "onUpdate:checked": e[1] || (e[1] = (s) => a.value.meta.isDev = s)
162
172
  }, null, 8, ["checked"])
163
173
  ])
164
174
  ]),
@@ -170,17 +180,44 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
170
180
  ]),
171
181
  _: 1
172
182
  })) : p("", !0),
173
- _(i).cacheAndPin ? (c(), f(r, {
183
+ _(i).iframe ? (c(), f(v, {
174
184
  key: 1,
175
185
  span: 12
176
186
  }, {
177
187
  default: u(() => [
178
- l(b, {
179
- more: t.value.meta?.cache,
188
+ t(m, {
189
+ name: "enable",
190
+ "label-col": { span: 0 }
191
+ }, {
192
+ default: u(() => [
193
+ t(b, { class: "flex items-center justify-between" }, {
194
+ default: u(() => [
195
+ e[14] || (e[14] = o("div", { class: "text-sm font-medium" }, " 启用缓存 ", -1)),
196
+ t(r, {
197
+ checked: a.value.meta.iframeCache,
198
+ "onUpdate:checked": e[3] || (e[3] = (s) => a.value.meta.iframeCache = s)
199
+ }, null, 8, ["checked"])
200
+ ]),
201
+ _: 1,
202
+ __: [14]
203
+ })
204
+ ]),
205
+ _: 1
206
+ })
207
+ ]),
208
+ _: 1
209
+ })) : p("", !0),
210
+ _(i).cacheAndPin ? (c(), f(v, {
211
+ key: 2,
212
+ span: 12
213
+ }, {
214
+ default: u(() => [
215
+ t(b, {
216
+ more: a.value.meta?.cache,
180
217
  class: "flex flex-wrap items-center"
181
218
  }, {
182
219
  more: u(() => [
183
- l(m, {
220
+ t(m, {
184
221
  label: "指定页缓存",
185
222
  name: "cacheName",
186
223
  tooltip: "设置页面name值,前往指定页面时,当前页被缓存",
@@ -188,16 +225,16 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
188
225
  class: "w-full"
189
226
  }, {
190
227
  default: u(() => [
191
- l(k, {
192
- value: t.value.meta.cacheName,
193
- "onUpdate:value": e[4] || (e[4] = (s) => t.value.meta.cacheName = s),
228
+ t(k, {
229
+ value: a.value.meta.cacheName,
230
+ "onUpdate:value": e[5] || (e[5] = (s) => a.value.meta.cacheName = s),
194
231
  placeholder: "路由名称(多个用,隔开)",
195
232
  size: "small"
196
233
  }, null, 8, ["value"])
197
234
  ]),
198
235
  _: 1
199
236
  }),
200
- l(m, {
237
+ t(m, {
201
238
  label: "指定页不缓存",
202
239
  name: "cacheName",
203
240
  tooltip: "设置页面name值,前往指定页面时,当前页不缓存",
@@ -205,9 +242,9 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
205
242
  class: "w-full"
206
243
  }, {
207
244
  default: u(() => [
208
- l(k, {
209
- value: t.value.meta.noCache,
210
- "onUpdate:value": e[5] || (e[5] = (s) => t.value.meta.noCache = s),
245
+ t(k, {
246
+ value: a.value.meta.noCache,
247
+ "onUpdate:value": e[6] || (e[6] = (s) => a.value.meta.noCache = s),
211
248
  placeholder: "路由名称(多个用,隔开)",
212
249
  size: "small"
213
250
  }, null, 8, ["value"])
@@ -216,17 +253,17 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
216
253
  })
217
254
  ]),
218
255
  default: u(() => [
219
- l(m, {
256
+ t(m, {
220
257
  name: "cache",
221
258
  "label-col": { span: 0 },
222
259
  class: "form-item-bottom-0 w-full"
223
260
  }, {
224
261
  default: u(() => [
225
- o("div", V, [
226
- e[13] || (e[13] = o("div", { class: "text-sm font-medium" }, " 缓存标签页 ", -1)),
227
- l(v, {
228
- checked: t.value.meta.cache,
229
- "onUpdate:checked": e[3] || (e[3] = (s) => t.value.meta.cache = s)
262
+ o("div", B, [
263
+ e[15] || (e[15] = o("div", { class: "text-sm font-medium" }, " 缓存标签页 ", -1)),
264
+ t(r, {
265
+ checked: a.value.meta.cache,
266
+ "onUpdate:checked": e[4] || (e[4] = (s) => a.value.meta.cache = s)
230
267
  }, null, 8, ["checked"])
231
268
  ])
232
269
  ]),
@@ -238,26 +275,26 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
238
275
  ]),
239
276
  _: 1
240
277
  })) : p("", !0),
241
- _(i).cacheAndPin ? (c(), f(r, {
242
- key: 2,
278
+ _(i).cacheAndPin ? (c(), f(v, {
279
+ key: 3,
243
280
  span: 12
244
281
  }, {
245
282
  default: u(() => [
246
- l(m, {
283
+ t(m, {
247
284
  name: "pin",
248
285
  "label-col": { span: 0 }
249
286
  }, {
250
287
  default: u(() => [
251
- l(b, { class: "flex items-center justify-between" }, {
288
+ t(b, { class: "flex items-center justify-between" }, {
252
289
  default: u(() => [
253
- e[14] || (e[14] = o("div", { class: "text-sm font-medium" }, " 固定在标签页 ", -1)),
254
- l(v, {
255
- checked: t.value.meta.pin,
256
- "onUpdate:checked": e[6] || (e[6] = (s) => t.value.meta.pin = s)
290
+ e[16] || (e[16] = o("div", { class: "text-sm font-medium" }, " 固定在标签页 ", -1)),
291
+ t(r, {
292
+ checked: a.value.meta.pin,
293
+ "onUpdate:checked": e[7] || (e[7] = (s) => a.value.meta.pin = s)
257
294
  }, null, 8, ["checked"])
258
295
  ]),
259
296
  _: 1,
260
- __: [14]
297
+ __: [16]
261
298
  })
262
299
  ]),
263
300
  _: 1
@@ -265,26 +302,26 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
265
302
  ]),
266
303
  _: 1
267
304
  })) : p("", !0),
268
- _(i).sidebar ? (c(), f(r, {
269
- key: 3,
305
+ _(i).sidebar ? (c(), f(v, {
306
+ key: 4,
270
307
  span: 12
271
308
  }, {
272
309
  default: u(() => [
273
- l(m, {
310
+ t(m, {
274
311
  name: "sidebar",
275
312
  "label-col": { span: 0 }
276
313
  }, {
277
314
  default: u(() => [
278
- l(b, { class: "flex items-center justify-between" }, {
315
+ t(b, { class: "flex items-center justify-between" }, {
279
316
  default: u(() => [
280
- e[15] || (e[15] = o("div", { class: "text-sm font-medium" }, " 在侧边栏显示 ", -1)),
281
- l(v, {
282
- checked: t.value.meta.sidebar,
283
- "onUpdate:checked": e[7] || (e[7] = (s) => t.value.meta.sidebar = s)
317
+ e[17] || (e[17] = o("div", { class: "text-sm font-medium" }, " 在侧边栏显示 ", -1)),
318
+ t(r, {
319
+ checked: a.value.meta.sidebar,
320
+ "onUpdate:checked": e[8] || (e[8] = (s) => a.value.meta.sidebar = s)
284
321
  }, null, 8, ["checked"])
285
322
  ]),
286
323
  _: 1,
287
- __: [15]
324
+ __: [17]
288
325
  })
289
326
  ]),
290
327
  _: 1
@@ -292,26 +329,26 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
292
329
  ]),
293
330
  _: 1
294
331
  })) : p("", !0),
295
- _(i).tabbar ? (c(), f(r, {
296
- key: 4,
332
+ _(i).tabbar ? (c(), f(v, {
333
+ key: 5,
297
334
  span: 12
298
335
  }, {
299
336
  default: u(() => [
300
- l(m, {
337
+ t(m, {
301
338
  name: "tabbar",
302
339
  "label-col": { span: 0 }
303
340
  }, {
304
341
  default: u(() => [
305
- l(b, { class: "flex items-center justify-between" }, {
342
+ t(b, { class: "flex items-center justify-between" }, {
306
343
  default: u(() => [
307
- e[16] || (e[16] = o("div", { class: "text-sm font-medium" }, " 在标签栏显示 ", -1)),
308
- l(v, {
309
- checked: t.value.meta.tabbar,
310
- "onUpdate:checked": e[8] || (e[8] = (s) => t.value.meta.tabbar = s)
344
+ e[18] || (e[18] = o("div", { class: "text-sm font-medium" }, " 在标签栏显示 ", -1)),
345
+ t(r, {
346
+ checked: a.value.meta.tabbar,
347
+ "onUpdate:checked": e[9] || (e[9] = (s) => a.value.meta.tabbar = s)
311
348
  }, null, 8, ["checked"])
312
349
  ]),
313
350
  _: 1,
314
- __: [16]
351
+ __: [18]
315
352
  })
316
353
  ]),
317
354
  _: 1
@@ -319,26 +356,26 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
319
356
  ]),
320
357
  _: 1
321
358
  })) : p("", !0),
322
- _(i).breadcrumb ? (c(), f(r, {
323
- key: 5,
359
+ _(i).breadcrumb ? (c(), f(v, {
360
+ key: 6,
324
361
  span: 12
325
362
  }, {
326
363
  default: u(() => [
327
- l(m, {
364
+ t(m, {
328
365
  name: "breadcrumb",
329
366
  "label-col": { span: 0 }
330
367
  }, {
331
368
  default: u(() => [
332
- l(b, { class: "flex items-center justify-between" }, {
369
+ t(b, { class: "flex items-center justify-between" }, {
333
370
  default: u(() => [
334
- e[17] || (e[17] = o("div", { class: "text-sm font-medium" }, " 在面包屑显示 ", -1)),
335
- l(v, {
336
- checked: t.value.meta.breadcrumb,
337
- "onUpdate:checked": e[9] || (e[9] = (s) => t.value.meta.breadcrumb = s)
371
+ e[19] || (e[19] = o("div", { class: "text-sm font-medium" }, " 在面包屑显示 ", -1)),
372
+ t(r, {
373
+ checked: a.value.meta.breadcrumb,
374
+ "onUpdate:checked": e[10] || (e[10] = (s) => a.value.meta.breadcrumb = s)
338
375
  }, null, 8, ["checked"])
339
376
  ]),
340
377
  _: 1,
341
- __: [17]
378
+ __: [19]
342
379
  })
343
380
  ]),
344
381
  _: 1
@@ -352,13 +389,13 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
352
389
  ]);
353
390
  };
354
391
  }
355
- }), I = /* @__PURE__ */ z(F, [["__scopeId", "data-v-4b8d117f"]]), G = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
392
+ }), V = /* @__PURE__ */ I(S, [["__scopeId", "data-v-220e86d6"]]), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
356
393
  __proto__: null,
357
- default: I
394
+ default: V
358
395
  }, Symbol.toStringTag, { value: "Module" }));
359
396
  export {
360
- I as M,
361
- G as a,
397
+ V as M,
398
+ X as a,
362
399
  x as d,
363
- B as u
400
+ F as u
364
401
  };