@pubinfo-pr/module-rbac 0.223.1 → 0.225.1

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 (76) hide show
  1. package/dist/breadcrumb_setting-BbYhO74F.js +108 -0
  2. package/dist/index.js +14 -14
  3. package/dist/lottie-03f0a035.json +1 -0
  4. package/dist/lottie-0ee63e7f.json +1 -0
  5. package/dist/lottie-10eef4fe.json +1 -0
  6. package/dist/lottie-13f452f1.json +1 -0
  7. package/dist/lottie-14b7b290.json +1 -0
  8. package/dist/lottie-15b8cef1.json +1 -0
  9. package/dist/lottie-15f77960.json +1 -0
  10. package/dist/lottie-1ae9b726.json +1 -0
  11. package/dist/lottie-1b02359f.json +1 -0
  12. package/dist/lottie-1ef286cd.json +1 -0
  13. package/dist/lottie-23cfd18c.json +1 -0
  14. package/dist/lottie-265a0a5d.json +1 -0
  15. package/dist/lottie-28d57c49.json +1 -0
  16. package/dist/lottie-2b54ed10.json +1 -0
  17. package/dist/lottie-2bb6f642.json +1 -0
  18. package/dist/lottie-2cdc07bd.json +1 -0
  19. package/dist/lottie-31c58607.json +1 -0
  20. package/dist/lottie-32884f23.json +1 -0
  21. package/dist/lottie-32fca43a.json +1 -0
  22. package/dist/lottie-3a75445b.json +1 -0
  23. package/dist/lottie-3f27d67c.json +1 -0
  24. package/dist/lottie-4189453f.json +1 -0
  25. package/dist/lottie-4702b37c.json +1 -0
  26. package/dist/lottie-520a5c68.json +1 -0
  27. package/dist/lottie-56bea508.json +1 -0
  28. package/dist/lottie-57c732a3.json +1 -0
  29. package/dist/lottie-5be4a28f.json +1 -0
  30. package/dist/lottie-5e6d7cfa.json +1 -0
  31. package/dist/lottie-64e176c9.json +1 -0
  32. package/dist/lottie-6583dca6.json +1 -0
  33. package/dist/lottie-66c640c6.json +1 -0
  34. package/dist/lottie-68393156.json +1 -0
  35. package/dist/lottie-688465aa.json +1 -0
  36. package/dist/lottie-6bf334f4.json +1 -0
  37. package/dist/lottie-7b4f72ce.json +1 -0
  38. package/dist/lottie-837ec087.json +1 -0
  39. package/dist/lottie-838ac1ba.json +1 -0
  40. package/dist/lottie-8465c2cf.json +1 -0
  41. package/dist/lottie-9e9f04a4.json +1 -0
  42. package/dist/lottie-a13964cb.json +1 -0
  43. package/dist/lottie-ab93a057.json +1 -0
  44. package/dist/lottie-abe308fc.json +1 -0
  45. package/dist/lottie-b24f2cd3.json +1 -0
  46. package/dist/lottie-bf00eaed.json +1 -0
  47. package/dist/lottie-cb22efd7.json +1 -0
  48. package/dist/lottie-cb953f20.json +1 -0
  49. package/dist/lottie-cc209e34.json +1 -0
  50. package/dist/lottie-cfdffceb.json +1 -0
  51. package/dist/lottie-d33c0299.json +1 -0
  52. package/dist/lottie-d430c8ca.json +1 -0
  53. package/dist/lottie-d8cfa560.json +1 -0
  54. package/dist/lottie-da91beb6.json +1 -0
  55. package/dist/lottie-e2bdf85c.json +1 -0
  56. package/dist/lottie-e34ad826.json +1 -0
  57. package/dist/lottie-e80720aa.json +1 -0
  58. package/dist/lottie-e894bc92.json +1 -0
  59. package/dist/lottie-f28020f2.json +1 -0
  60. package/dist/lottie-f71ebbf4.json +1 -0
  61. package/dist/lottie-fb1f4917.json +1 -0
  62. package/dist/lottie-ff2e97c4.json +1 -0
  63. package/dist/menu_setting-CiLR0vkM.js +155 -0
  64. package/dist/other_setting-eDXoBjJm.js +213 -0
  65. package/dist/page_animation_setting-D1L1pmXk.js +108 -0
  66. package/dist/tabbar_setting-CfE94AAt.js +139 -0
  67. package/dist/toolbar_setting-CwfUnZ1j.js +140 -0
  68. package/dist/watermark_setting-DGSDikAC.js +191 -0
  69. package/package.json +3 -3
  70. package/dist/breadcrumb_setting-Dx2Li6xt.js +0 -108
  71. package/dist/menu_setting-ChueWHs4.js +0 -155
  72. package/dist/other_setting-BEV_UK0g.js +0 -213
  73. package/dist/page_animation_setting-Cp5OnFpd.js +0 -108
  74. package/dist/tabbar_setting-kbuTvrLB.js +0 -139
  75. package/dist/toolbar_setting-BG-k2UFc.js +0 -140
  76. package/dist/watermark_setting-Cl2EtPAa.js +0 -191
@@ -0,0 +1,108 @@
1
+ import { h as _plugin_vue_export_helper_default, l as postSysconfigAddOrEidtSysThemeStyleConfig } from "./index.js";
2
+ import { t as useSettingsStore } from "./stores-DPQF8JRt.js";
3
+ import "./animation_item-DBOz2rcX.js";
4
+ import "./HCheckList-ODQHidN8.js";
5
+ import { t as setItem_default } from "./setItem-Vkcwkj-O.js";
6
+ import { PubinfoIcon } from "pubinfo-pr";
7
+ import { Fragment, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, reactive, renderList, resolveComponent, unref } from "vue";
8
+ import { message } from "ant-design-vue";
9
+ import './breadcrumb_setting.css';var enable_default$1 = new URL("lottie-2bb6f642.json", import.meta.url).href, enableMainMenu_default$1 = new URL("lottie-b24f2cd3.json", import.meta.url).href, style_default$1 = new URL("lottie-7b4f72ce.json", import.meta.url).href, enable_default = new URL("lottie-2cdc07bd.json", import.meta.url).href, enableMainMenu_default = new URL("lottie-fb1f4917.json", import.meta.url).href, style_default = new URL("lottie-03f0a035.json", import.meta.url).href, _hoisted_1 = {
10
+ "w-full": "",
11
+ "h-full": "",
12
+ "p-10px": ""
13
+ }, _hoisted_2 = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, _hoisted_3 = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, _hoisted_4 = {
14
+ class: "mt-[22px] grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
15
+ aspect: "[3/2] "
16
+ }, breadcrumb_setting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
17
+ name: "BreadcrumbSetting",
18
+ __name: "index",
19
+ setup(e) {
20
+ let r = useSettingsStore(), i = reactive([
21
+ {
22
+ name: "是否启用",
23
+ type: "switch",
24
+ descripe: "",
25
+ open: r.globalSettings.breadcrumb.enable,
26
+ activeStyle: "",
27
+ lightData: enable_default,
28
+ darkData: enable_default$1
29
+ },
30
+ {
31
+ name: "风格",
32
+ type: "check",
33
+ descripe: "",
34
+ open: !0,
35
+ activeStyle: r.globalSettings.breadcrumb.style,
36
+ styleOptions: [{
37
+ label: "默认",
38
+ value: ""
39
+ }, {
40
+ label: "现代",
41
+ value: "modern"
42
+ }],
43
+ lightData: style_default,
44
+ darkData: style_default$1
45
+ },
46
+ {
47
+ name: "是否显示主导航",
48
+ type: "switch",
49
+ descripe: "",
50
+ open: r.globalSettings.breadcrumb.enableMainMenu,
51
+ activeStyle: "",
52
+ lightData: enableMainMenu_default,
53
+ darkData: enableMainMenu_default$1
54
+ }
55
+ ]), a = "";
56
+ function o(e, t) {
57
+ switch (e) {
58
+ case 0:
59
+ r.globalSettings.breadcrumb.enable = t, a = JSON.stringify({ breadcrumb: { enable: t } });
60
+ break;
61
+ case 1:
62
+ r.globalSettings.breadcrumb.style = t, a = JSON.stringify({ breadcrumb: { style: t } });
63
+ break;
64
+ case 2:
65
+ r.globalSettings.breadcrumb.enableMainMenu = t, a = JSON.stringify({ breadcrumb: { enableMainMenu: t } });
66
+ break;
67
+ }
68
+ s(a);
69
+ }
70
+ function s(e) {
71
+ postSysconfigAddOrEidtSysThemeStyleConfig({ content: e }).then((e) => {
72
+ e.success && message.success("设置成功");
73
+ });
74
+ }
75
+ return (e, t) => {
76
+ let n = PubinfoIcon;
77
+ return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(n, {
78
+ name: "icon_breadcrumb",
79
+ class: "text-base mr-[6px]",
80
+ size: 22
81
+ }), t[0] ||= createElementVNode("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "面包屑导航", -1)]), createElementVNode("div", _hoisted_4, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(i), (e, t) => (openBlock(), createBlock(setItem_default, {
82
+ key: e.name,
83
+ class: "mb-20px",
84
+ aspect: "[9/6]",
85
+ name: e.name,
86
+ descripe: e.descripe,
87
+ open: e.open,
88
+ type: e.type,
89
+ "active-style": e.activeStyle,
90
+ "style-options": e.styleOptions,
91
+ "light-animation-data": e.lightData,
92
+ "dark-animation-data": e.darkData,
93
+ onChange: (e) => o(t, e)
94
+ }, null, 8, [
95
+ "name",
96
+ "descripe",
97
+ "open",
98
+ "type",
99
+ "active-style",
100
+ "style-options",
101
+ "light-animation-data",
102
+ "dark-animation-data",
103
+ "onChange"
104
+ ]))), 128))])])]);
105
+ };
106
+ }
107
+ }), [["__scopeId", "data-v-b756993c"]]);
108
+ export { breadcrumb_setting_default as default };
package/dist/index.js CHANGED
@@ -59,7 +59,7 @@ import './index.css';var _virtual_pubinfo_resolver_default = {
59
59
  layouts: {},
60
60
  pages: {
61
61
  "src/views/blackWhiteList/index.vue": () => import("./blackWhiteList-DbG7JH8n.js"),
62
- "src/views/breadcrumb_setting/index.vue": () => import("./breadcrumb_setting-Dx2Li6xt.js"),
62
+ "src/views/breadcrumb_setting/index.vue": () => import("./breadcrumb_setting-BbYhO74F.js"),
63
63
  "src/views/components/HCheckList.vue": () => import("./HCheckList-ODQHidN8.js").then((t) => t.n),
64
64
  "src/views/components/animation_item.vue": () => import("./animation_item-DBOz2rcX.js").then((t) => t.n),
65
65
  "src/views/components/setItem.vue": () => import("./setItem-Vkcwkj-O.js").then((t) => t.n),
@@ -70,10 +70,10 @@ import './index.css';var _virtual_pubinfo_resolver_default = {
70
70
  "src/views/layout_setting/index.vue": () => import("./layout_setting-79srmFgJ.js"),
71
71
  "src/views/log_center/login_history.vue": () => import("./login_history-BiwaLpxA.js"),
72
72
  "src/views/log_center/operate_history.vue": () => import("./operate_history-sPd9IHMV.js"),
73
- "src/views/menu_setting/index.vue": () => import("./menu_setting-ChueWHs4.js"),
73
+ "src/views/menu_setting/index.vue": () => import("./menu_setting-CiLR0vkM.js"),
74
74
  "src/views/organization/index.vue": () => import("./organization-Dv3FbKke.js"),
75
- "src/views/other_setting/index.vue": () => import("./other_setting-BEV_UK0g.js"),
76
- "src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-Cp5OnFpd.js"),
75
+ "src/views/other_setting/index.vue": () => import("./other_setting-eDXoBjJm.js"),
76
+ "src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-D1L1pmXk.js"),
77
77
  "src/views/page_w_setting/index.vue": () => import("./page_w_setting-Q--ct16C.js"),
78
78
  "src/views/position/index.vue": () => import("./position-CCZ2MSMP.js"),
79
79
  "src/views/region/index.vue": () => import("./region-D3mjqB8H.js"),
@@ -81,12 +81,12 @@ import './index.css';var _virtual_pubinfo_resolver_default = {
81
81
  "src/views/role/index.vue": () => import("./role-4UgEw3nH.js"),
82
82
  "src/views/role_group/index.vue": () => import("./role_group-hkRlCnyl.js"),
83
83
  "src/views/safe_setting/index.vue": () => import("./safe_setting-4fv3qNRZ.js"),
84
- "src/views/tabbar_setting/index.vue": () => import("./tabbar_setting-kbuTvrLB.js"),
84
+ "src/views/tabbar_setting/index.vue": () => import("./tabbar_setting-CfE94AAt.js"),
85
85
  "src/views/tenant/index.vue": () => import("./tenant-lWfGw2u1.js"),
86
86
  "src/views/theme_setting/index.vue": () => import("./theme_setting-CEb7UYQO.js"),
87
- "src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-BG-k2UFc.js"),
87
+ "src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-CwfUnZ1j.js"),
88
88
  "src/views/user/index.vue": () => import("./user-BkUpcQC8.js"),
89
- "src/views/watermark_setting/index.vue": () => import("./watermark_setting-Cl2EtPAa.js"),
89
+ "src/views/watermark_setting/index.vue": () => import("./watermark_setting-DGSDikAC.js"),
90
90
  "src/views/blackWhiteList/components/drawerBlackWhiteList.vue": () => import("./drawerBlackWhiteList-DXLdWurZ.js").then((t) => t.n),
91
91
  "src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-8_KNLzJT.js").then((t) => t.n),
92
92
  "src/views/dictionary/components/drawerDictionary.vue": () => import("./drawerDictionary-DYJTAZr6.js").then((t) => t.n),
@@ -1512,7 +1512,7 @@ var unionBy = baseRest(function(t) {
1512
1512
  },
1513
1513
  {
1514
1514
  path: "page-animation-setting",
1515
- component: () => import("./page_animation_setting-Cp5OnFpd.js"),
1515
+ component: () => import("./page_animation_setting-D1L1pmXk.js"),
1516
1516
  name: "PageAnimationSetting",
1517
1517
  meta: {
1518
1518
  title: "页面动画配置",
@@ -1534,7 +1534,7 @@ var unionBy = baseRest(function(t) {
1534
1534
  },
1535
1535
  {
1536
1536
  path: "menu-setting",
1537
- component: () => import("./menu_setting-ChueWHs4.js"),
1537
+ component: () => import("./menu_setting-CiLR0vkM.js"),
1538
1538
  name: "MenuSetting",
1539
1539
  meta: {
1540
1540
  title: "导航栏配置",
@@ -1545,7 +1545,7 @@ var unionBy = baseRest(function(t) {
1545
1545
  },
1546
1546
  {
1547
1547
  path: "tabbar-setting",
1548
- component: () => import("./tabbar_setting-kbuTvrLB.js"),
1548
+ component: () => import("./tabbar_setting-CfE94AAt.js"),
1549
1549
  name: "TabbarSetting",
1550
1550
  meta: {
1551
1551
  title: "标签栏配置",
@@ -1556,7 +1556,7 @@ var unionBy = baseRest(function(t) {
1556
1556
  },
1557
1557
  {
1558
1558
  path: "toolbar-setting",
1559
- component: () => import("./toolbar_setting-BG-k2UFc.js"),
1559
+ component: () => import("./toolbar_setting-CwfUnZ1j.js"),
1560
1560
  name: "ToolbarSetting",
1561
1561
  meta: {
1562
1562
  title: "工具栏配置",
@@ -1567,7 +1567,7 @@ var unionBy = baseRest(function(t) {
1567
1567
  },
1568
1568
  {
1569
1569
  path: "breadcrumb-setting",
1570
- component: () => import("./breadcrumb_setting-Dx2Li6xt.js"),
1570
+ component: () => import("./breadcrumb_setting-BbYhO74F.js"),
1571
1571
  name: "BreadcrumbSetting",
1572
1572
  meta: {
1573
1573
  title: "面包屑配置",
@@ -1578,7 +1578,7 @@ var unionBy = baseRest(function(t) {
1578
1578
  },
1579
1579
  {
1580
1580
  path: "other-setting",
1581
- component: () => import("./other_setting-BEV_UK0g.js"),
1581
+ component: () => import("./other_setting-eDXoBjJm.js"),
1582
1582
  name: "OtherSetting",
1583
1583
  meta: {
1584
1584
  title: "其他配置",
@@ -1633,7 +1633,7 @@ var unionBy = baseRest(function(t) {
1633
1633
  },
1634
1634
  {
1635
1635
  path: "watermark-setting",
1636
- component: () => import("./watermark_setting-Cl2EtPAa.js"),
1636
+ component: () => import("./watermark_setting-DGSDikAC.js"),
1637
1637
  name: "WatermarkSetting",
1638
1638
  meta: {
1639
1639
  title: "页面水印配置",