dlzn-ui 2.0.52 → 2.0.54

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 (172) hide show
  1. package/assets/{provider-CwykAGOx.css → provider-BBCGISR5.css} +1 -1
  2. package/chunks/{AssignUser-B11nIqo_.mjs → AssignUser-DFGKVyHA.mjs} +14 -14
  3. package/chunks/{BasicInfo-9WqspD1Z.mjs → BasicInfo-oYAekSwI.mjs} +1 -1
  4. package/chunks/{ColumnInfo-B_lgPqVS.mjs → ColumnInfo-CVSldNXs.mjs} +2 -2
  5. package/chunks/{Common-BVD38hp6.mjs → Common-DDWrIunx.mjs} +1 -1
  6. package/chunks/{Day-CHWBklI0.mjs → Day-Che8kW_B.mjs} +1 -1
  7. package/chunks/{DictTypeDetail-C8SPo0b_.mjs → DictTypeDetail-vPGWHXOl.mjs} +8 -8
  8. package/chunks/{GenInfo-Dxoe_3RM.mjs → GenInfo-BcwpyZSj.mjs} +1 -1
  9. package/chunks/{Hour-NaDEj833.mjs → Hour-BoXdhMMY.mjs} +1 -1
  10. package/chunks/{Import-BZkJuPLC.mjs → Import-BVbnDZt3.mjs} +2 -2
  11. package/chunks/{Index-QeguMHYR.mjs → Index-C1v5EsZk.mjs} +1 -1
  12. package/chunks/{Index-LNJ_79uk.mjs → Index-CnjpeIQL.mjs} +1 -1
  13. package/chunks/{Index-ClKOg-Wu.mjs → Index-CxEYiUa-.mjs} +1 -1
  14. package/chunks/{Index-CQSAs1h6.mjs → Index-xoyD_qOp.mjs} +1 -1
  15. package/chunks/{IndexItem-D7mOSNO6.mjs → IndexItem-BT-IQMY5.mjs} +1 -1
  16. package/chunks/{Log-DSKkWGbI.mjs → Log-DOEaFtk1.mjs} +11 -11
  17. package/chunks/{LoginBg-BharyaPx.mjs → LoginBg-YM4US_NO.mjs} +1 -1
  18. package/chunks/{Minute-CM6f_BSX.mjs → Minute-BJpoCyM8.mjs} +1 -1
  19. package/chunks/{Month-DRWusngF.mjs → Month-UU1z-xQV.mjs} +1 -1
  20. package/chunks/{Preview-hFTldEUR.mjs → Preview-SqQ2UnMr.mjs} +1 -1
  21. package/chunks/{Second-BTRO-iOb.mjs → Second-BOsQlzmK.mjs} +1 -1
  22. package/chunks/{SelectDept-B_9npI--.mjs → SelectDept-DJciskzT.mjs} +1 -1
  23. package/chunks/{SelectMenu-CB0bsNEl.mjs → SelectMenu-7XAtNOza.mjs} +1 -1
  24. package/chunks/{SelectUser-CZ4P-c67.mjs → SelectUser-ChPXL5SD.mjs} +2 -2
  25. package/chunks/{UserInfo-CT_ez2uW.mjs → UserInfo-Bzdeuht7.mjs} +7 -7
  26. package/chunks/{app-DNfYzQDT.mjs → app-CouSbYl9.mjs} +1 -1
  27. package/chunks/auto-complete-WniYblq6.mjs +77 -0
  28. package/chunks/{custom-page-list-v88splrD.mjs → custom-page-list-ijqPjUG8.mjs} +4 -4
  29. package/chunks/{custom-page-table-BheCVTlP.mjs → custom-page-table-CUlGWxoP.mjs} +2 -2
  30. package/chunks/{overview-MLIPTO-D.mjs → overview-ZgCAiVFV.mjs} +1 -1
  31. package/chunks/{page-list-BLDYBbVJ.mjs → page-list-DsgM0XRF.mjs} +3 -3
  32. package/chunks/{page-query-JDsWn-xy.mjs → page-query-D-9Bfc2i.mjs} +1 -1
  33. package/chunks/{page-table-Be4aMLTf.mjs → page-table-BNO8b2RS.mjs} +3 -3
  34. package/chunks/{pagination-Cck2wqel.mjs → pagination-CQP7D64K.mjs} +1 -1
  35. package/chunks/{provider-CDqQoKIA.mjs → provider-Bb25LOJZ.mjs} +483 -470
  36. package/chunks/{table-5y2fT5vf.mjs → table-v44larO2.mjs} +1 -1
  37. package/components/app/index.mjs +1 -1
  38. package/components/app/src/app.mjs +1 -1
  39. package/components/auto-complete/index.d.ts +2 -0
  40. package/components/auto-complete/index.mjs +2 -0
  41. package/components/auto-complete/src/auto-complete.d.ts +12 -0
  42. package/components/auto-complete/src/auto-complete.mjs +2 -0
  43. package/components/auto-complete/src/auto-complete.vue.d.ts +10 -0
  44. package/components/button/index.mjs +1 -1
  45. package/components/button/src/button.mjs +1 -1
  46. package/components/checkbox-group/index.mjs +1 -1
  47. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  48. package/components/cron/index.mjs +1 -1
  49. package/components/cron/src/Common.mjs +1 -1
  50. package/components/cron/src/Day.mjs +1 -1
  51. package/components/cron/src/Hour.mjs +1 -1
  52. package/components/cron/src/Minute.mjs +1 -1
  53. package/components/cron/src/Month.mjs +1 -1
  54. package/components/cron/src/Picker.mjs +6 -6
  55. package/components/cron/src/Second.mjs +1 -1
  56. package/components/cron/src/cron.mjs +1 -1
  57. package/components/custom-page-list/index.mjs +1 -1
  58. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  59. package/components/custom-page-table/index.mjs +1 -1
  60. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  61. package/components/form/index.mjs +1 -1
  62. package/components/form/src/form.mjs +1 -1
  63. package/components/index.mjs +9 -9
  64. package/components/overview/index.mjs +1 -1
  65. package/components/overview/src/DicLabel/Index.mjs +1 -1
  66. package/components/overview/src/IndexItem.mjs +1 -1
  67. package/components/overview/src/overview.mjs +1 -1
  68. package/components/page-list/index.mjs +1 -1
  69. package/components/page-list/src/page-list.d.ts +21 -21
  70. package/components/page-list/src/page-list.mjs +1 -1
  71. package/components/page-query/index.mjs +1 -1
  72. package/components/page-query/src/page-query.mjs +1 -1
  73. package/components/page-table/index.mjs +1 -1
  74. package/components/page-table/src/page-table.mjs +1 -1
  75. package/components/pagination/index.mjs +1 -1
  76. package/components/pagination/src/pagination.mjs +1 -1
  77. package/components/provider/index.mjs +1 -1
  78. package/components/provider/src/Provider.mjs +1 -1
  79. package/components/radio-group/index.mjs +1 -1
  80. package/components/radio-group/src/radio-group.mjs +1 -1
  81. package/components/select/index.mjs +1 -1
  82. package/components/select/src/select.mjs +1 -1
  83. package/components/select-sys-user/index.mjs +1 -1
  84. package/components/select-sys-user/src/Picker.mjs +2 -2
  85. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  86. package/components/table/index.mjs +1 -1
  87. package/components/table/src/table.mjs +1 -1
  88. package/components/tree/index.mjs +1 -1
  89. package/components/tree/src/tree.mjs +1 -1
  90. package/components/tree/src/tree.vue.d.ts +1 -1
  91. package/components/tree-select/index.mjs +1 -1
  92. package/components/tree-select/src/tree-select.mjs +1 -1
  93. package/components/upload/index.mjs +1 -1
  94. package/components/upload/src/upload.mjs +1 -1
  95. package/hooks/useDicOptions/index.mjs +1 -1
  96. package/hooks/useSysUser/index.mjs +1 -1
  97. package/layout/Entry.mjs +1 -1
  98. package/layout/Home.mjs +48 -26
  99. package/layout/Home1.mjs +31 -0
  100. package/layout/Home1.vue.d.ts +3 -0
  101. package/layout/Login.mjs +2 -2
  102. package/layout/NotFound.mjs +1 -1
  103. package/layout/index.mjs +2 -0
  104. package/layout/modules/Aside.mjs +1 -1
  105. package/layout/modules/Breadcrumb.mjs +1 -1
  106. package/layout/modules/Header.mjs +1 -1
  107. package/layout/modules/LoginBg.mjs +1 -1
  108. package/layout/modules/LoginBgBak.mjs +7 -1
  109. package/layout/profile/Index.mjs +2 -2
  110. package/layout/profile/ResetPwd.mjs +1 -1
  111. package/layout/profile/UserInfo.mjs +1 -1
  112. package/layout/vueBits/Grainient.mjs +140 -0
  113. package/layout/vueBits/Grainient.vue.d.ts +52 -0
  114. package/layout/vueBits/LightRays.vue.d.ts +1 -1
  115. package/layout/vueBits/Prism.vue.d.ts +5 -5
  116. package/main.mjs +3 -3
  117. package/package.json +2 -1
  118. package/plugins/autoImport/$alova/index.mjs +1 -1
  119. package/plugins/autoImport/$confirm/index.mjs +1 -1
  120. package/plugins/autoImport/$dialog/index.mjs +1 -1
  121. package/plugins/autoImport/$drawer/index.mjs +1 -1
  122. package/plugins/captcha/captcha.mjs +1 -1
  123. package/plugins/captcha/index.mjs +1 -1
  124. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  125. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  126. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  127. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  128. package/plugins/tableRenders/cell/index.mjs +3 -3
  129. package/proj-template/package.json +37 -0
  130. package/proj-template/pnpm-workspace.yaml +0 -1
  131. package/router/index.mjs +1 -1
  132. package/store/modules/common.mjs +1 -1
  133. package/store/modules/login.mjs +1 -1
  134. package/store/modules/recentRouters.mjs +1 -1
  135. package/store/modules/router.mjs +2 -2
  136. package/store/modules/user.mjs +1 -1
  137. package/utils/index.mjs +3 -3
  138. package/utils/tool.d.ts +2 -0
  139. package/utils/tool.mjs +6 -2
  140. package/utils/tree.d.ts +2 -1
  141. package/utils/tree.mjs +8 -5
  142. package/views/monitor/cache/index.mjs +2 -2
  143. package/views/monitor/cacheList/index.mjs +2 -2
  144. package/views/monitor/logininfor/index.mjs +2 -2
  145. package/views/monitor/online/index.mjs +2 -2
  146. package/views/monitor/operlog/index.mjs +2 -2
  147. package/views/monitor/server/index.mjs +2 -2
  148. package/views/system/config/index.mjs +11 -11
  149. package/views/system/dept/index.mjs +15 -15
  150. package/views/system/dept/utils.mjs +1 -1
  151. package/views/system/dict/index.mjs +16 -16
  152. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  153. package/views/system/menu/index.mjs +19 -19
  154. package/views/system/menu/utils.mjs +1 -1
  155. package/views/system/notice/index.mjs +6 -6
  156. package/views/system/post/index.mjs +6 -6
  157. package/views/system/role/index.mjs +36 -36
  158. package/views/system/role/modules/AssignUser.mjs +1 -1
  159. package/views/system/role/modules/SelectDept.mjs +1 -1
  160. package/views/system/role/modules/SelectMenu.mjs +1 -1
  161. package/views/system/role/modules/SelectUser.mjs +1 -1
  162. package/views/system/user/index.mjs +41 -41
  163. package/views/tool/gen/editTable/index.mjs +13 -13
  164. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  165. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  166. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  167. package/views/tool/gen/index.mjs +15 -15
  168. package/views/tool/gen/modules/Import.mjs +1 -1
  169. package/views/tool/gen/modules/Preview.mjs +1 -1
  170. package/views/tool/job/index.mjs +26 -26
  171. package/views/tool/job/modules/Log.mjs +1 -1
  172. package/proj-template/patches/omi@7.7.13.patch +0 -15
@@ -0,0 +1,31 @@
1
+ import { o as e } from "../chunks/provider-Bb25LOJZ.mjs";
2
+ import { t } from "../chunks/table-v44larO2.mjs";
3
+ import "../components/table/index.mjs";
4
+ import { createElementBlock as n, createElementVNode as r, createVNode as i, defineComponent as a, openBlock as o, ref as s, unref as c } from "vue";
5
+ //#endregion
6
+ //#region ../../packages/dlzn-ui/layout/Home1.vue
7
+ var l = /* @__PURE__ */ a({
8
+ __name: "Home1",
9
+ setup(a) {
10
+ let l = [{
11
+ component: "TColorPicker",
12
+ model: "color"
13
+ }, {
14
+ component: "TCron",
15
+ model: "model"
16
+ }], u = s([{ color: "#000000" }]), d = [{
17
+ cell: { component: "ColorPicker" },
18
+ colKey: "color",
19
+ title: "Color"
20
+ }];
21
+ return (a, s) => (o(), n("div", null, [r("div", null, [i(c(e), {
22
+ disabled: "",
23
+ items: l
24
+ }), i(c(t), {
25
+ columns: d,
26
+ data: u.value
27
+ }, null, 8, ["data"])])]));
28
+ }
29
+ });
30
+ //#endregion
31
+ export { l as default };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
package/layout/Login.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { H as e, j as t, n, o as r } from "../chunks/provider-CDqQoKIA.mjs";
1
+ import { B as e, j as t, n, o as r } from "../chunks/provider-Bb25LOJZ.mjs";
2
2
  import { t as i } from "../chunks/icon-DcFIQ_yG.mjs";
3
3
  import "../components/icon/index.mjs";
4
4
  import a from "../plugins/autoImport/$msg/index.mjs";
5
5
  import { t as o } from "../chunks/gradient-text-BAIl_tKw.mjs";
6
6
  import "../components/gradient-text/index.mjs";
7
7
  import s from "../plugins/captcha/index.mjs";
8
- import { t as c } from "../chunks/LoginBg-BharyaPx.mjs";
8
+ import { t as c } from "../chunks/LoginBg-YM4US_NO.mjs";
9
9
  import { computed as l, createBlock as u, createCommentVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, onMounted as h, openBlock as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
10
10
  import { useRouter as b } from "vue-router";
11
11
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e } from "../chunks/provider-CDqQoKIA.mjs";
1
+ import { n as e } from "../chunks/provider-Bb25LOJZ.mjs";
2
2
  import { createBlock as t, createTextVNode as n, createVNode as r, defineComponent as i, openBlock as a, unref as o, withCtx as s } from "vue";
3
3
  import { Empty as c } from "tdesign-vue-next";
4
4
  import { useRouter as l } from "vue-router";
package/layout/index.mjs CHANGED
@@ -3,6 +3,7 @@ var t = {
3
3
  .../* @__PURE__ */ Object.assign({
4
4
  "./Entry.vue": () => import("./Entry.mjs"),
5
5
  "./Home.vue": () => import("./Home.mjs"),
6
+ "./Home1.vue": () => import("./Home1.mjs"),
6
7
  "./Login.vue": () => import("./Login.mjs"),
7
8
  "./NotFound.vue": () => import("./NotFound.mjs"),
8
9
  "./modules/LoginBg.vue": () => import("./modules/LoginBg.mjs"),
@@ -11,6 +12,7 @@ var t = {
11
12
  "./profile/Index.vue": () => import("./profile/Index.mjs"),
12
13
  "./profile/ResetPwd.vue": () => import("./profile/ResetPwd.mjs"),
13
14
  "./profile/UserInfo.vue": () => import("./profile/UserInfo.mjs"),
15
+ "./vueBits/Grainient.vue": () => import("./vueBits/Grainient.mjs"),
14
16
  "./vueBits/LightRays.vue": () => import("./vueBits/LightRays.mjs"),
15
17
  "./vueBits/Plasma.vue": () => import("./vueBits/Plasma.mjs"),
16
18
  "./vueBits/Prism.vue": () => import("./vueBits/Prism.mjs")
@@ -1,2 +1,2 @@
1
- import { R as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { I as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { L as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { F as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { A as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { A as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/LoginBg-BharyaPx.mjs";
1
+ import { t as e } from "../../chunks/LoginBg-YM4US_NO.mjs";
2
2
  export { e as default };
@@ -1,16 +1,22 @@
1
1
  import e from "../../hooks/usePrimaryColor/index.mjs";
2
2
  import { computed as t, createBlock as n, createElementBlock as r, createElementVNode as i, defineAsyncComponent as a, defineComponent as o, guardReactiveProps as s, h as c, normalizeProps as l, openBlock as u, renderSlot as d, resolveDynamicComponent as f, unref as p } from "vue";
3
3
  //#region ../../packages/dlzn-ui/layout/modules/LoginBgBak.vue?vue&type=script&setup=true&lang.ts
4
- var m = { class: "relative flex h-full items-center justify-center" }, h = { class: "absolute z-4" }, g = "Prism", _ = /* @__PURE__ */ o({
4
+ var m = { class: "relative flex h-full items-center justify-center" }, h = { class: "absolute z-4" }, g = "Grainient", _ = /* @__PURE__ */ o({
5
5
  __name: "LoginBgBak",
6
6
  setup(o) {
7
7
  let _ = /* #__PURE__ */ Object.assign({
8
+ "../vueBits/Grainient.vue": () => import("../vueBits/Grainient.mjs"),
8
9
  "../vueBits/LightRays.vue": () => import("../vueBits/LightRays.mjs"),
9
10
  "../vueBits/Plasma.vue": () => import("../vueBits/Plasma.mjs"),
10
11
  "../vueBits/Prism.vue": () => import("../vueBits/Prism.mjs")
11
12
  }), v = t(() => {
12
13
  let t = e();
13
14
  return {
15
+ Grainient: {
16
+ color1: "#FF9FFC",
17
+ color2: "#5227FF",
18
+ color3: "#B497CF"
19
+ },
14
20
  LightRays: {
15
21
  distortion: .05,
16
22
  followMouse: !0,
@@ -1,11 +1,11 @@
1
- import { S as e, a as t } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { S as e, a as t } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  import { isFalsy as n } from "../../utils/boolean.mjs";
3
3
  import "../../chunks/utils-ag05P503.mjs";
4
4
  import { t as r } from "../../chunks/card-Domqu1Hz.mjs";
5
5
  import "../../components/card/index.mjs";
6
6
  import { t as i } from "../../chunks/tab-panel-yh4fFZ2r.mjs";
7
7
  import "../../components/tab-panel/index.mjs";
8
- import { t as a } from "../../chunks/UserInfo-CT_ez2uW.mjs";
8
+ import { t as a } from "../../chunks/UserInfo-Bzdeuht7.mjs";
9
9
  import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createVNode as u, defineComponent as d, markRaw as f, openBlock as p, provide as m, ref as h, renderList as g, resolveDynamicComponent as _, unref as v, withCtx as y } from "vue";
10
10
  import { List as b, ListItem as x, ListItemMeta as S, Tabs as C } from "tdesign-vue-next";
11
11
  import { useRequest as w } from "alova/client";
@@ -1,2 +1,2 @@
1
- import { a as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { a as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/UserInfo-CT_ez2uW.mjs";
1
+ import { t as e } from "../../chunks/UserInfo-Bzdeuht7.mjs";
2
2
  export { e as default };
@@ -0,0 +1,140 @@
1
+ import { createElementBlock as e, defineComponent as t, normalizeClass as n, onBeforeUnmount as r, onMounted as i, openBlock as a, useTemplateRef as o, watch as s } from "vue";
2
+ import { Mesh as c, Program as l, Renderer as u, Triangle as d } from "ogl";
3
+ //#region ../../packages/dlzn-ui/layout/vueBits/Grainient.vue?vue&type=script&setup=true&lang.ts
4
+ var f = "#version 300 es\nin vec2 position;\nvoid main() {\n gl_Position = vec4(position, 0.0, 1.0);\n}\n", p = "#version 300 es\nprecision highp float;\nuniform vec2 iResolution;\nuniform float iTime;\nuniform float uTimeSpeed;\nuniform float uColorBalance;\nuniform float uWarpStrength;\nuniform float uWarpFrequency;\nuniform float uWarpSpeed;\nuniform float uWarpAmplitude;\nuniform float uBlendAngle;\nuniform float uBlendSoftness;\nuniform float uRotationAmount;\nuniform float uNoiseScale;\nuniform float uGrainAmount;\nuniform float uGrainScale;\nuniform float uGrainAnimated;\nuniform float uContrast;\nuniform float uGamma;\nuniform float uSaturation;\nuniform vec2 uCenterOffset;\nuniform float uZoom;\nuniform vec3 uColor1;\nuniform vec3 uColor2;\nuniform vec3 uColor3;\nout vec4 fragColor;\n#define S(a,b,t) smoothstep(a,b,t)\nmat2 Rot(float a){float s=sin(a),c=cos(a);return mat2(c,-s,s,c);} \nvec2 hash(vec2 p){p=vec2(dot(p,vec2(2127.1,81.17)),dot(p,vec2(1269.5,283.37)));return fract(sin(p)*43758.5453);} \nfloat noise(vec2 p){vec2 i=floor(p),f=fract(p),u=f*f*(3.0-2.0*f);float n=mix(mix(dot(-1.0+2.0*hash(i+vec2(0.0,0.0)),f-vec2(0.0,0.0)),dot(-1.0+2.0*hash(i+vec2(1.0,0.0)),f-vec2(1.0,0.0)),u.x),mix(dot(-1.0+2.0*hash(i+vec2(0.0,1.0)),f-vec2(0.0,1.0)),dot(-1.0+2.0*hash(i+vec2(1.0,1.0)),f-vec2(1.0,1.0)),u.x),u.y);return 0.5+0.5*n;}\nvoid mainImage(out vec4 o, vec2 C){\n float t=iTime*uTimeSpeed;\n vec2 uv=C/iResolution.xy;\n float ratio=iResolution.x/iResolution.y;\n vec2 tuv=uv-0.5+uCenterOffset;\n tuv/=max(uZoom,0.001);\n\n float degree=noise(vec2(t*0.1,tuv.x*tuv.y)*uNoiseScale);\n tuv.y*=1.0/ratio;\n tuv*=Rot(radians((degree-0.5)*uRotationAmount+180.0));\n tuv.y*=ratio;\n\n float frequency=uWarpFrequency;\n float ws=max(uWarpStrength,0.001);\n float amplitude=uWarpAmplitude/ws;\n float warpTime=t*uWarpSpeed;\n tuv.x+=sin(tuv.y*frequency+warpTime)/amplitude;\n tuv.y+=sin(tuv.x*(frequency*1.5)+warpTime)/(amplitude*0.5);\n\n vec3 colLav=uColor1;\n vec3 colOrg=uColor2;\n vec3 colDark=uColor3;\n float b=uColorBalance;\n float s=max(uBlendSoftness,0.0);\n mat2 blendRot=Rot(radians(uBlendAngle));\n float blendX=(tuv*blendRot).x;\n float edge0=-0.3-b-s;\n float edge1=0.2-b+s;\n float v0=0.5-b+s;\n float v1=-0.3-b-s;\n vec3 layer1=mix(colDark,colOrg,S(edge0,edge1,blendX));\n vec3 layer2=mix(colOrg,colLav,S(edge0,edge1,blendX));\n vec3 col=mix(layer1,layer2,S(v0,v1,tuv.y));\n\n vec2 grainUv=uv*max(uGrainScale,0.001);\n if(uGrainAnimated>0.5){grainUv+=vec2(iTime*0.05);} \n float grain=fract(sin(dot(grainUv,vec2(12.9898,78.233)))*43758.5453);\n col+=(grain-0.5)*uGrainAmount;\n\n col=(col-0.5)*uContrast+0.5;\n float luma=dot(col,vec3(0.2126,0.7152,0.0722));\n col=mix(vec3(luma),col,uSaturation);\n col=pow(max(col,0.0),vec3(1.0/max(uGamma,0.001)));\n col=clamp(col,0.0,1.0);\n\n o=vec4(col,1.0);\n}\nvoid main(){\n vec4 o=vec4(0.0);\n mainImage(o,gl_FragCoord.xy);\n fragColor=o;\n}\n", m = /* @__PURE__ */ t({
5
+ __name: "Grainient",
6
+ props: {
7
+ timeSpeed: { default: .25 },
8
+ colorBalance: { default: 0 },
9
+ warpStrength: { default: 1 },
10
+ warpFrequency: { default: 5 },
11
+ warpSpeed: { default: 2 },
12
+ warpAmplitude: { default: 50 },
13
+ blendAngle: { default: 0 },
14
+ blendSoftness: { default: .05 },
15
+ rotationAmount: { default: 500 },
16
+ noiseScale: { default: 2 },
17
+ grainAmount: { default: .1 },
18
+ grainScale: { default: 2 },
19
+ grainAnimated: {
20
+ type: Boolean,
21
+ default: !1
22
+ },
23
+ contrast: { default: 1.5 },
24
+ gamma: { default: 1 },
25
+ saturation: { default: 1 },
26
+ centerX: { default: 0 },
27
+ centerY: { default: 0 },
28
+ zoom: { default: .9 },
29
+ color1: { default: "#48FF28" },
30
+ color2: { default: "#2c3d32" },
31
+ color3: { default: "#65a865" },
32
+ className: { default: "" }
33
+ },
34
+ setup(t) {
35
+ let m = (e) => {
36
+ let t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
37
+ return t ? [
38
+ parseInt(t[1], 16) / 255,
39
+ parseInt(t[2], 16) / 255,
40
+ parseInt(t[3], 16) / 255
41
+ ] : [
42
+ 1,
43
+ 1,
44
+ 1
45
+ ];
46
+ }, h = t, g = o("containerRef"), _ = null, v = () => {
47
+ if (!g.value) return;
48
+ let e = new u({
49
+ webgl: 2,
50
+ alpha: !0,
51
+ antialias: !1,
52
+ dpr: Math.min(window.devicePixelRatio || 1, 2)
53
+ }), t = e.gl, n = t.canvas;
54
+ n.style.width = "100%", n.style.height = "100%", n.style.display = "block";
55
+ let r = g.value;
56
+ r.appendChild(n);
57
+ let i = new d(t), a = new l(t, {
58
+ vertex: f,
59
+ fragment: p,
60
+ uniforms: {
61
+ iTime: { value: 0 },
62
+ iResolution: { value: new Float32Array([1, 1]) },
63
+ uTimeSpeed: { value: h.timeSpeed },
64
+ uColorBalance: { value: h.colorBalance },
65
+ uWarpStrength: { value: h.warpStrength },
66
+ uWarpFrequency: { value: h.warpFrequency },
67
+ uWarpSpeed: { value: h.warpSpeed },
68
+ uWarpAmplitude: { value: h.warpAmplitude },
69
+ uBlendAngle: { value: h.blendAngle },
70
+ uBlendSoftness: { value: h.blendSoftness },
71
+ uRotationAmount: { value: h.rotationAmount },
72
+ uNoiseScale: { value: h.noiseScale },
73
+ uGrainAmount: { value: h.grainAmount },
74
+ uGrainScale: { value: h.grainScale },
75
+ uGrainAnimated: { value: +!!h.grainAnimated },
76
+ uContrast: { value: h.contrast },
77
+ uGamma: { value: h.gamma },
78
+ uSaturation: { value: h.saturation },
79
+ uCenterOffset: { value: new Float32Array([h.centerX, h.centerY]) },
80
+ uZoom: { value: h.zoom },
81
+ uColor1: { value: new Float32Array(m(h.color1)) },
82
+ uColor2: { value: new Float32Array(m(h.color2)) },
83
+ uColor3: { value: new Float32Array(m(h.color3)) }
84
+ }
85
+ }), o = new c(t, {
86
+ geometry: i,
87
+ program: a
88
+ }), s = () => {
89
+ let n = r.getBoundingClientRect(), i = Math.max(1, Math.floor(n.width)), o = Math.max(1, Math.floor(n.height));
90
+ e.setSize(i, o);
91
+ let s = a.uniforms.iResolution.value;
92
+ s[0] = t.drawingBufferWidth, s[1] = t.drawingBufferHeight;
93
+ }, v = new ResizeObserver(s);
94
+ v.observe(r), s();
95
+ let y = 0, b = performance.now(), x = (t) => {
96
+ a.uniforms.iTime.value = (t - b) * .001, e.render({ scene: o }), y = requestAnimationFrame(x);
97
+ };
98
+ y = requestAnimationFrame(x), _ = () => {
99
+ cancelAnimationFrame(y), v.disconnect();
100
+ try {
101
+ r.removeChild(n);
102
+ } catch {}
103
+ };
104
+ };
105
+ return i(v), r(() => {
106
+ _?.();
107
+ }), s(() => [
108
+ h.timeSpeed,
109
+ h.colorBalance,
110
+ h.warpStrength,
111
+ h.warpFrequency,
112
+ h.warpSpeed,
113
+ h.warpAmplitude,
114
+ h.blendAngle,
115
+ h.blendSoftness,
116
+ h.rotationAmount,
117
+ h.noiseScale,
118
+ h.grainAmount,
119
+ h.grainScale,
120
+ h.grainAnimated,
121
+ h.contrast,
122
+ h.gamma,
123
+ h.saturation,
124
+ h.centerX,
125
+ h.centerY,
126
+ h.zoom,
127
+ h.color1,
128
+ h.color2,
129
+ h.color3
130
+ ], () => {
131
+ _?.(), v();
132
+ }, { deep: !0 }), (r, i) => (a(), e("div", {
133
+ ref_key: "containerRef",
134
+ ref: g,
135
+ class: n(["relative h-full w-full overflow-hidden", t.className])
136
+ }, null, 2));
137
+ }
138
+ });
139
+ //#endregion
140
+ export { m as default };
@@ -0,0 +1,52 @@
1
+ interface GrainientProps {
2
+ timeSpeed?: number;
3
+ colorBalance?: number;
4
+ warpStrength?: number;
5
+ warpFrequency?: number;
6
+ warpSpeed?: number;
7
+ warpAmplitude?: number;
8
+ blendAngle?: number;
9
+ blendSoftness?: number;
10
+ rotationAmount?: number;
11
+ noiseScale?: number;
12
+ grainAmount?: number;
13
+ grainScale?: number;
14
+ grainAnimated?: boolean;
15
+ contrast?: number;
16
+ gamma?: number;
17
+ saturation?: number;
18
+ centerX?: number;
19
+ centerY?: number;
20
+ zoom?: number;
21
+ color1?: string;
22
+ color2?: string;
23
+ color3?: string;
24
+ className?: string;
25
+ }
26
+ declare const __VLS_export: import('vue').DefineComponent<GrainientProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GrainientProps> & Readonly<{}>, {
27
+ className: string;
28
+ zoom: number;
29
+ color1: string;
30
+ color2: string;
31
+ color3: string;
32
+ timeSpeed: number;
33
+ colorBalance: number;
34
+ warpStrength: number;
35
+ warpFrequency: number;
36
+ warpSpeed: number;
37
+ warpAmplitude: number;
38
+ blendAngle: number;
39
+ blendSoftness: number;
40
+ rotationAmount: number;
41
+ noiseScale: number;
42
+ grainAmount: number;
43
+ grainScale: number;
44
+ grainAnimated: boolean;
45
+ contrast: number;
46
+ gamma: number;
47
+ saturation: number;
48
+ centerX: number;
49
+ centerY: number;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
51
+ declare const _default: typeof __VLS_export;
52
+ export default _default;
@@ -16,6 +16,7 @@ interface LightRaysProps {
16
16
  }
17
17
  declare const __VLS_export: import('vue').DefineComponent<LightRaysProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LightRaysProps> & Readonly<{}>, {
18
18
  className: string;
19
+ saturation: number;
19
20
  distortion: number;
20
21
  fadeDistance: number;
21
22
  followMouse: boolean;
@@ -27,7 +28,6 @@ declare const __VLS_export: import('vue').DefineComponent<LightRaysProps, {}, {}
27
28
  raysColor: string;
28
29
  raysOrigin: RaysOrigin;
29
30
  raysSpeed: number;
30
- saturation: number;
31
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  export default _default;
@@ -25,18 +25,18 @@ declare const __VLS_export: import('vue').DefineComponent<PrismProps, {}, {}, {}
25
25
  };
26
26
  height: number;
27
27
  transparent: boolean;
28
- animationType: "rotate" | "hover" | "3drotate";
28
+ scale: number;
29
29
  baseWidth: number;
30
- colorFrequency: number;
30
+ animationType: "rotate" | "hover" | "3drotate";
31
31
  glow: number;
32
- hueShift: number;
33
32
  noise: number;
34
- scale: number;
35
- timeScale: number;
33
+ hueShift: number;
34
+ colorFrequency: number;
36
35
  hoverStrength: number;
37
36
  inertia: number;
38
37
  bloom: number;
39
38
  suspendWhenOffscreen: boolean;
39
+ timeScale: number;
40
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
41
  declare const _default: typeof __VLS_export;
42
42
  export default _default;
package/main.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { D as e, H as t } from "./chunks/provider-CDqQoKIA.mjs";
2
- import { t as n } from "./chunks/app-DNfYzQDT.mjs";
1
+ import { B as e, D as t } from "./chunks/provider-Bb25LOJZ.mjs";
2
+ import { t as n } from "./chunks/app-CouSbYl9.mjs";
3
3
  import "./components/app/index.mjs";
4
4
  import r from "./plugins/directive/index.mjs";
5
5
  import i from "./store/index.mjs";
@@ -9,6 +9,6 @@ import { createApp as o } from "vue";
9
9
  import "tdesign-vue-next/es/style/index.css";
10
10
  //#region ../../packages/dlzn-ui/main.ts
11
11
  var s = o(n);
12
- s.config.throwUnhandledErrorInProduction = !0, s.use(i), s.use(e), s.use(r), s.use(a), t().getAppInfo();
12
+ s.config.throwUnhandledErrorInProduction = !0, s.use(i), s.use(t), s.use(r), s.use(a), e().getAppInfo();
13
13
  //#endregion
14
14
  export { s as default };
package/package.json CHANGED
@@ -93,6 +93,7 @@
93
93
  "croner": "^10.0.1",
94
94
  "cronstrue": "^3.24.0",
95
95
  "crypto-js": "^4.2.0",
96
+ "dompurify": "^3.4.16",
96
97
  "element-plus": "^2.14.5",
97
98
  "file-saver": "^2.0.5",
98
99
  "ogl": "^1.0.11",
@@ -108,7 +109,7 @@
108
109
  "> 1%",
109
110
  "not dead"
110
111
  ],
111
- "version": "2.0.52",
112
+ "version": "2.0.54",
112
113
  "scripts": {
113
114
  "dev": "vite --config play/vite.config.ts"
114
115
  }
@@ -1,2 +1,2 @@
1
- import { C as e, S as t, w as n } from "../../../chunks/provider-CDqQoKIA.mjs";
1
+ import { C as e, S as t, w as n } from "../../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { t as default, e as getFilterEmptyParamsObj, n as getParamsString };
@@ -1,2 +1,2 @@
1
- import { F as e } from "../../../chunks/provider-CDqQoKIA.mjs";
1
+ import { V as e } from "../../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { I as e } from "../../../chunks/provider-CDqQoKIA.mjs";
1
+ import { H as e } from "../../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { O as e } from "../../../chunks/provider-CDqQoKIA.mjs";
1
+ import { O as e } from "../../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,4 +1,4 @@
1
- import { S as e, n as t } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { S as e, n as t } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  import { t as n } from "../../chunks/icon-DcFIQ_yG.mjs";
3
3
  import "../../components/icon/index.mjs";
4
4
  import "../../chunks/utils-ag05P503.mjs";
@@ -1,4 +1,4 @@
1
- import { I as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { H as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  import { defineAsyncComponent as t, h as n } from "vue";
3
3
  //#region ../../packages/dlzn-ui/plugins/captcha/index.ts
4
4
  var r = () => new Promise((r) => {
@@ -1,4 +1,4 @@
1
- import { F as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { V as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  import { nextTick as t, ref as n } from "vue";
3
3
  //#region ../../packages/dlzn-ui/plugins/initialize/webUpdateNotify.ts
4
4
  var r = !1;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-ClKOg-Wu.mjs";
1
+ import { t as e } from "../../../../chunks/Index-CxEYiUa-.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-QeguMHYR.mjs";
1
+ import { t as e } from "../../../../chunks/Index-C1v5EsZk.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-CQSAs1h6.mjs";
1
+ import { t as e } from "../../../../chunks/Index-xoyD_qOp.mjs";
2
2
  export { e as default };
@@ -1,10 +1,10 @@
1
1
  import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
2
2
  import { t } from "../../../chunks/Index-DOMlymIc.mjs";
3
- import { t as n } from "../../../chunks/Index-ClKOg-Wu.mjs";
3
+ import { t as n } from "../../../chunks/Index-CxEYiUa-.mjs";
4
4
  import { t as r } from "../../../chunks/Index-BKtK-Ikl.mjs";
5
5
  import { t as i } from "../../../chunks/Index-But4jrnW.mjs";
6
6
  import { t as a } from "../../../chunks/Index-BuqrJDKe.mjs";
7
- import { t as o } from "../../../chunks/Index-QeguMHYR.mjs";
7
+ import { t as o } from "../../../chunks/Index-C1v5EsZk.mjs";
8
8
  import { t as s } from "../../../chunks/Index-DlS664Iz.mjs";
9
9
  import { t as c } from "../../../chunks/Index-BVighfGs.mjs";
10
10
  import { t as l } from "../../../chunks/Index-sYhv1xn9.mjs";
@@ -14,7 +14,7 @@ import { t as f } from "../../../chunks/Index-B-O5KGpr.mjs";
14
14
  import { t as p } from "../../../chunks/Index-B5dltuvs.mjs";
15
15
  import { t as m } from "../../../chunks/Index-DBQnzqsw.mjs";
16
16
  import { t as h } from "../../../chunks/Index-BAwtI6wg.mjs";
17
- import { t as g } from "../../../chunks/Index-CQSAs1h6.mjs";
17
+ import { t as g } from "../../../chunks/Index-xoyD_qOp.mjs";
18
18
  import { t as _ } from "../../../chunks/Index-BOv4n_q9.mjs";
19
19
  import { t as v } from "../../../chunks/Index-DuOAXN6w.mjs";
20
20
  import { t as y } from "../../../chunks/Index-DytUHz5x.mjs";
@@ -0,0 +1,37 @@
1
+ {
2
+ "browserslist": [
3
+ "last 2 version",
4
+ "> 1%",
5
+ "not dead"
6
+ ],
7
+ "type": "module",
8
+ "private": true,
9
+ "engines": {
10
+ "node": "^24.15.0",
11
+ "pnpm": "^11.0.8"
12
+ },
13
+ "scripts": {
14
+ "build": "vite build",
15
+ "check-build": "run-p type-check \"build {@}\" --",
16
+ "dev": "vite",
17
+ "format": "prettier --write src/",
18
+ "inspectEslintConfig": "pnpm dlx @eslint/config-inspector",
19
+ "lint": "eslint . --fix",
20
+ "nodeModulesInspector": "pnpm dlx node-modules-inspector",
21
+ "preview": "vite preview",
22
+ "update:dlzn-ui": "pnpm update dlzn-ui @dlzn-ui/eslint-config @dlzn-ui/stylelint-config @dlzn-ui/prettier-config @dlzn-ui/vite-config",
23
+ "type-check": "vue-tsc --build",
24
+ "build-proj-template": "tsx node_modules/dlzn-ui/proj-template/apply.ts"
25
+ },
26
+ "dependencies": {
27
+ "@dlzn-ui/eslint-config": "^2.0.53",
28
+ "@dlzn-ui/prettier-config": "^2.0.53",
29
+ "@dlzn-ui/stylelint-config": "^2.0.53",
30
+ "@dlzn-ui/vite-config": "^2.0.53",
31
+ "dlzn-ui": "^2.0.53"
32
+ },
33
+ "devDependencies": {
34
+ "jiti": "^2.7.0",
35
+ "npm-run-all2": "^9.0.2"
36
+ }
37
+ }
@@ -62,7 +62,6 @@ verifyDepsBeforeRun: prompt # 在运行前验证依赖
62
62
  engineStrict: true
63
63
 
64
64
  patchedDependencies:
65
- omi@7.7.13: patches/omi@7.7.13.patch
66
65
  tdesign-web-components: patches/tdesign-web-components.patch
67
66
 
68
67
  allowBuilds:
package/router/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { D as e, E as t, T as n } from "../chunks/provider-CDqQoKIA.mjs";
1
+ import { D as e, E as t, T as n } from "../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default, n as getRoute, t as getTopRoute };
@@ -1,2 +1,2 @@
1
- import { H as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { B as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { j as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { j as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { V as e } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { z as e } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { B as e, z as t } from "../../chunks/provider-CDqQoKIA.mjs";
2
- export { e as default, t as getRoutersMethod };
1
+ import { L as e, R as t } from "../../chunks/provider-Bb25LOJZ.mjs";
2
+ export { t as default, e as getRoutersMethod };
@@ -1,2 +1,2 @@
1
- import { i as e, r as t } from "../../chunks/provider-CDqQoKIA.mjs";
1
+ import { i as e, r as t } from "../../chunks/provider-Bb25LOJZ.mjs";
2
2
  export { e as default, t as getUserInfoMethod };
package/utils/index.mjs CHANGED
@@ -3,6 +3,6 @@ import { getDomRangeWidth as n } from "./dom.mjs";
3
3
  import { t as r } from "../chunks/utils-ag05P503.mjs";
4
4
  import { formatNumber as i, formatSecondsToChinese as a } from "./number.mjs";
5
5
  import { getFilenameFromUrl as o, queryStringToObject as s, stringDisplay as c } from "./string.mjs";
6
- import { aesDecrypt as l, aesEncrypt as u, saveAs as d } from "./tool.mjs";
7
- import { flatArrToTree as f, treeToFlatArr as p } from "./tree.mjs";
8
- export { l as aesDecrypt, u as aesEncrypt, r as findLabel, f as flatArrToTree, i as formatNumber, a as formatSecondsToChinese, n as getDomRangeWidth, o as getFilenameFromUrl, e as isFalsy, t as isValidNumberString, s as queryStringToObject, d as saveAs, c as stringDisplay, p as treeToFlatArr };
6
+ import { aesDecrypt as l, aesEncrypt as u, sanitizeHtml as d, saveAs as f } from "./tool.mjs";
7
+ import { flatArrToTree as p, treeToFlatArr as m } from "./tree.mjs";
8
+ export { l as aesDecrypt, u as aesEncrypt, r as findLabel, p as flatArrToTree, i as formatNumber, a as formatSecondsToChinese, n as getDomRangeWidth, o as getFilenameFromUrl, e as isFalsy, t as isValidNumberString, s as queryStringToObject, d as sanitizeHtml, f as saveAs, c as stringDisplay, m as treeToFlatArr };
package/utils/tool.d.ts CHANGED
@@ -1,4 +1,6 @@
1
+ import { Config } from 'dompurify';
1
2
  import { default as FileSaver } from 'file-saver';
2
3
  export declare function aesDecrypt(word: string, keyWord: string): Promise<string>;
3
4
  export declare function aesEncrypt(word: string, keyWord: string): Promise<string>;
5
+ export declare function sanitizeHtml(dirty: Node | string, cfg?: Config): Promise<string>;
4
6
  export declare function saveAs(arg1: Parameters<typeof FileSaver.saveAs>[0], arg2?: Parameters<typeof FileSaver.saveAs>[1], arg3?: FileSaver.FileSaverOptions): Promise<void>;
package/utils/tool.mjs CHANGED
@@ -13,9 +13,13 @@ async function t(e, t) {
13
13
  padding: n.pad.Pkcs7
14
14
  }).toString();
15
15
  }
16
- async function n(e, t, n) {
16
+ async function n(e, t) {
17
+ let { default: n } = await import("dompurify");
18
+ return n.sanitize(e, t);
19
+ }
20
+ async function r(e, t, n) {
17
21
  let { default: r } = await import("file-saver");
18
22
  r(e, t, n);
19
23
  }
20
24
  //#endregion
21
- export { e as aesDecrypt, t as aesEncrypt, n as saveAs };
25
+ export { e as aesDecrypt, t as aesEncrypt, n as sanitizeHtml, r as saveAs };
package/utils/tree.d.ts CHANGED
@@ -19,8 +19,9 @@ export declare function flatArrToTree(data: Record<string, any>[], options?: {
19
19
  rootParentId?: null | string;
20
20
  }): TreeNode[];
21
21
  export declare function treeToFlatArr(tree: TreeNode[], options?: {
22
+ flatCb?: (node: TreeNode, parentNode?: null | TreeNode) => Record<string, any>;
22
23
  idKey?: string;
23
24
  includeLevel?: boolean;
24
- includeParent?: boolean;
25
+ includeParentId?: boolean;
25
26
  }): Record<string, any>[];
26
27
  export {};