dlzn-ui 2.0.6 → 2.0.8

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 (187) hide show
  1. package/assets/$loading-D_Zs2VgL.css +1 -0
  2. package/assets/LoginBg-XqWOv7dJ.css +1 -0
  3. package/assets/main-CxSb5Gqw.css +2 -0
  4. package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
  5. package/chunks/$loading-Df3COGfW.mjs +241 -0
  6. package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
  7. package/chunks/{Common-DQbblaTl.mjs → Common-CnrITpXz.mjs} +7 -7
  8. package/chunks/{Day-9BKmHuZl.mjs → Day-tjS-0iDA.mjs} +13 -13
  9. package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-CcohOVfN.mjs} +7 -7
  10. package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
  11. package/chunks/{Hour-CrFFADzT.mjs → Hour-B9fx59cM.mjs} +1 -1
  12. package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
  13. package/chunks/{Index-QUCWrT4d.mjs → Index-BTEVAXbg.mjs} +2 -2
  14. package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
  15. package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
  16. package/chunks/{Index-ChH8kYUs.mjs → Index-D-gi1OVy.mjs} +2 -2
  17. package/chunks/{Index-DloA1g7z.mjs → Index-DlrNiiDp.mjs} +5 -5
  18. package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
  19. package/chunks/{Index-CZ0ICyCx.mjs → Index-z9vUMzmS.mjs} +2 -2
  20. package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-rt5wZA39.mjs} +7 -7
  21. package/chunks/{Log-DdemNjDW.mjs → Log-DK5aduPG.mjs} +8 -8
  22. package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
  23. package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
  24. package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-DEBSfNz9.mjs} +3 -3
  25. package/chunks/{Minute-xZNOCy8Q.mjs → Minute-hPwzkaCM.mjs} +1 -1
  26. package/chunks/{Month-CvWOcD_9.mjs → Month-Cnjhbs28.mjs} +1 -1
  27. package/chunks/{Second-BvMnEOms.mjs → Second-DAYKul2s.mjs} +1 -1
  28. package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
  29. package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
  30. package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
  31. package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
  32. package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-BUlPdKge.mjs} +11 -11
  33. package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
  34. package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
  35. package/chunks/{app-CggLqjRQ.mjs → app-Dk-mybzX.mjs} +5 -5
  36. package/chunks/auto-animate-FPySn19g.mjs +341 -0
  37. package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
  38. package/chunks/css-Cw_qlmlv.mjs +521 -0
  39. package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
  40. package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
  41. package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
  42. package/chunks/icon-jnCbW4iu.mjs +1013 -0
  43. package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
  44. package/chunks/{overview-BEtKbidZ.mjs → overview-D9YB44O0.mjs} +1 -1
  45. package/chunks/{page-list-C3nqGnnX.mjs → page-list-BnGVTcad.mjs} +36 -36
  46. package/chunks/{page-query-C6oSW1je.mjs → page-query-QCT-mat_.mjs} +5 -5
  47. package/chunks/{page-table-3DTiPP9H.mjs → page-table-DMOjg44G.mjs} +9 -9
  48. package/chunks/{pagination-C6-VAj4W.mjs → pagination-BNAZYVJk.mjs} +1 -1
  49. package/chunks/{button-Dk3CiB69.mjs → provider-DQIMA4mE.mjs} +840 -809
  50. package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
  51. package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
  52. package/chunks/store-C46_JI7q.mjs +112 -0
  53. package/chunks/{table-Cp9NQHjQ.mjs → table-BFP90EA0.mjs} +11 -11
  54. package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
  55. package/components/app/index.mjs +1 -1
  56. package/components/app/src/app.mjs +1 -1
  57. package/components/button/index.mjs +1 -1
  58. package/components/button/src/button.mjs +1 -1
  59. package/components/checkbox-group/index.mjs +1 -1
  60. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  61. package/components/cron/index.mjs +1 -1
  62. package/components/cron/src/Common.mjs +1 -1
  63. package/components/cron/src/Day.mjs +1 -1
  64. package/components/cron/src/Hour.mjs +1 -1
  65. package/components/cron/src/Minute.mjs +1 -1
  66. package/components/cron/src/Month.mjs +1 -1
  67. package/components/cron/src/Picker.mjs +6206 -103
  68. package/components/cron/src/Second.mjs +1 -1
  69. package/components/cron/src/cron.mjs +1 -1
  70. package/components/custom-page-list/index.mjs +1 -1
  71. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  72. package/components/custom-page-table/index.mjs +1 -1
  73. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  74. package/components/date-picker/index.mjs +1 -1
  75. package/components/date-picker/src/date-picker.mjs +1 -1
  76. package/components/form/index.mjs +1 -1
  77. package/components/form/src/form.mjs +1 -1
  78. package/components/icon/index.mjs +1 -1
  79. package/components/icon/src/icon.mjs +1 -1
  80. package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  81. package/components/index.mjs +19 -19
  82. package/components/overview/index.mjs +1 -1
  83. package/components/overview/src/DicLabel/Index.mjs +1 -1
  84. package/components/overview/src/IndexItem.mjs +1 -1
  85. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  86. package/components/overview/src/overview.mjs +1 -1
  87. package/components/page-list/index.mjs +1 -1
  88. package/components/page-list/src/page-list.d.ts +3 -3
  89. package/components/page-list/src/page-list.mjs +1 -1
  90. package/components/page-query/index.mjs +1 -1
  91. package/components/page-query/src/page-query.mjs +1 -1
  92. package/components/page-table/index.mjs +1 -1
  93. package/components/page-table/src/page-table.mjs +1 -1
  94. package/components/page-table/src/page-table.vue.d.ts +1 -1
  95. package/components/pagination/index.mjs +1 -1
  96. package/components/pagination/src/pagination.mjs +1 -1
  97. package/components/provider/index.mjs +1 -1
  98. package/components/provider/src/Provider.mjs +1 -1
  99. package/components/radio-group/index.mjs +1 -1
  100. package/components/radio-group/src/radio-group.mjs +1 -1
  101. package/components/scrollbar/index.mjs +1 -1
  102. package/components/scrollbar/src/scrollbar.mjs +1 -1
  103. package/components/select/index.mjs +2 -2
  104. package/components/select/src/select.mjs +1 -1
  105. package/components/select-sys-user/index.mjs +1 -1
  106. package/components/select-sys-user/src/Picker.mjs +2 -2
  107. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  108. package/components/table/index.mjs +1 -1
  109. package/components/table/src/table.mjs +1 -1
  110. package/components/table/src/table.vue.d.ts +1 -1
  111. package/components/tag/index.mjs +1 -1
  112. package/components/tag/src/tag.mjs +1 -1
  113. package/components/tree/index.mjs +2 -2
  114. package/components/tree/src/tree.mjs +1 -1
  115. package/components/tree-select/index.mjs +1 -1
  116. package/components/tree-select/src/tree-select.mjs +1 -1
  117. package/components/upload/index.mjs +2 -2
  118. package/components/upload/src/upload.mjs +1 -1
  119. package/hooks/useAnimateAuto/index.mjs +6 -6
  120. package/hooks/useContextMenu/menu/index.mjs +1 -1
  121. package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
  122. package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
  123. package/hooks/useDicOptions/index.mjs +2 -2
  124. package/hooks/useSysUser/index.mjs +2 -2
  125. package/index.d.ts +3 -0
  126. package/layout/Entry.mjs +1 -1
  127. package/layout/Login.mjs +6 -6
  128. package/layout/NotFound.mjs +1 -1
  129. package/layout/modules/Aside.mjs +1 -1
  130. package/layout/modules/Breadcrumb.mjs +1 -1
  131. package/layout/modules/Header.mjs +1 -1
  132. package/layout/modules/LoginBg.mjs +1 -1
  133. package/layout/modules/MenuNode.mjs +1 -1
  134. package/layout/profile/Index.mjs +4 -4
  135. package/layout/profile/ResetPwd.mjs +1 -1
  136. package/layout/profile/UserInfo.mjs +1 -1
  137. package/layout/vueBits/LightRays.mjs +47 -47
  138. package/layout/vueBits/Plasma.mjs +29 -29
  139. package/layout/vueBits/Prism.mjs +51 -51
  140. package/main.d.ts +2 -0
  141. package/main.mjs +41 -0
  142. package/package.json +17 -11
  143. package/plugins/autoImport/$alova/index.mjs +2 -2
  144. package/plugins/autoImport/$confirm/index.mjs +1 -1
  145. package/plugins/autoImport/$dialog/index.mjs +1 -1
  146. package/plugins/autoImport/$drawer/index.mjs +1 -1
  147. package/plugins/autoImport/$loading/index.mjs +2 -38
  148. package/plugins/captcha/captcha.mjs +13 -13
  149. package/plugins/captcha/index.mjs +1 -1
  150. package/plugins/echarts/index.mjs +705 -25
  151. package/plugins/initialize/index.mjs +1 -1
  152. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  153. package/plugins/tableRenders/Wrapper.mjs +1 -1
  154. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  155. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  156. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  157. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
  158. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  159. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  160. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  161. package/plugins/tableRenders/cell/index.mjs +7 -7
  162. package/plugins/tableRenders/title/index.mjs +1 -1
  163. package/router/index.mjs +1 -1
  164. package/store/index.mjs +2 -7
  165. package/store/modules/common.mjs +1 -1
  166. package/store/modules/login.mjs +1 -1
  167. package/store/modules/recentRouters.mjs +1 -1
  168. package/store/modules/router.mjs +1 -1
  169. package/store/modules/user.mjs +2 -2
  170. package/utils/tool.mjs +16 -15
  171. package/views/system/dept/index.mjs +10 -10
  172. package/views/system/dept/utils.mjs +1 -1
  173. package/views/system/dict/index.mjs +18 -18
  174. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  175. package/views/system/menu/index.mjs +11 -11
  176. package/views/system/post/index.mjs +6 -6
  177. package/views/system/role/index.mjs +42 -42
  178. package/views/system/role/modules/AssignUser.mjs +1 -1
  179. package/views/system/role/modules/SelectDept.mjs +1 -1
  180. package/views/system/role/modules/SelectMenu.mjs +1 -1
  181. package/views/system/role/modules/SelectUser.mjs +1 -1
  182. package/views/system/user/index.mjs +49 -49
  183. package/views/tool/job/index.mjs +31 -31
  184. package/views/tool/job/modules/Log.mjs +1 -1
  185. package/assets/LoginBg-BTrRjkK7.css +0 -1
  186. package/chunks/date-picker-DtbDIFUH.mjs +0 -378
  187. package/chunks/icon-COjp1yrx.mjs +0 -21
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/UserInfo-qrNR9tve.mjs";
1
+ import { t as e } from "../../chunks/UserInfo-BUlPdKge.mjs";
2
2
  export { e as default };
@@ -1,7 +1,7 @@
1
- import { computed as e, createElementBlock as t, defineComponent as n, nextTick as r, normalizeClass as i, onMounted as a, onUnmounted as o, openBlock as s, ref as c, useTemplateRef as l, watch as u } from "vue";
2
- import { Mesh as d, Program as f, Renderer as p, Triangle as m } from "ogl";
1
+ import { i as e, n as t, r as n, t as r } from "../../chunks/Triangle-C5ogSVp9.mjs";
2
+ import { computed as i, createElementBlock as a, defineComponent as o, nextTick as s, normalizeClass as c, onMounted as l, onUnmounted as u, openBlock as d, ref as f, useTemplateRef as p, watch as m } from "vue";
3
3
  //#region ../../packages/dlzn-ui/layout/vueBits/LightRays.vue?vue&type=script&setup=true&lang.ts
4
- var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = position * 0.5 + 0.5;\n gl_Position = vec4(position, 0.0, 1.0);\n}", g = "precision highp float;\n\nuniform float iTime;\nuniform vec2 iResolution;\n\nuniform vec2 rayPos;\nuniform vec2 rayDir;\nuniform vec3 raysColor;\nuniform float raysSpeed;\nuniform float lightSpread;\nuniform float rayLength;\nuniform float pulsating;\nuniform float fadeDistance;\nuniform float saturation;\nuniform vec2 mousePos;\nuniform float mouseInfluence;\nuniform float noiseAmount;\nuniform float distortion;\n\nvarying vec2 vUv;\n\nfloat noise(vec2 st) {\n return fract(sin(dot(st.xy, vec2(12.9898,78.233))) * 43758.5453123);\n}\n\nfloat rayStrength(vec2 raySource, vec2 rayRefDirection, vec2 coord,\n float seedA, float seedB, float speed) {\n vec2 sourceToCoord = coord - raySource;\n vec2 dirNorm = normalize(sourceToCoord);\n float cosAngle = dot(dirNorm, rayRefDirection);\n\n float distortedAngle = cosAngle + distortion * sin(iTime * 2.0 + length(sourceToCoord) * 0.01) * 0.2;\n\n float spreadFactor = pow(max(distortedAngle, 0.0), 1.0 / max(lightSpread, 0.001));\n\n float distance = length(sourceToCoord);\n float maxDistance = iResolution.x * rayLength;\n float lengthFalloff = clamp((maxDistance - distance) / maxDistance, 0.0, 1.0);\n\n float fadeFalloff = clamp((iResolution.x * fadeDistance - distance) / (iResolution.x * fadeDistance), 0.5, 1.0);\n float pulse = pulsating > 0.5 ? (0.8 + 0.2 * sin(iTime * speed * 3.0)) : 1.0;\n\n float baseStrength = clamp(\n (0.45 + 0.15 * sin(distortedAngle * seedA + iTime * speed)) +\n (0.3 + 0.2 * cos(-distortedAngle * seedB + iTime * speed)),\n 0.0, 1.0\n );\n\n return baseStrength * lengthFalloff * fadeFalloff * spreadFactor * pulse;\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n vec2 coord = vec2(fragCoord.x, iResolution.y - fragCoord.y);\n\n vec2 finalRayDir = rayDir;\n if (mouseInfluence > 0.0) {\n vec2 mouseScreenPos = mousePos * iResolution.xy;\n vec2 mouseDirection = normalize(mouseScreenPos - rayPos);\n finalRayDir = normalize(mix(rayDir, mouseDirection, mouseInfluence));\n }\n\n vec4 rays1 = vec4(1.0) *\n rayStrength(rayPos, finalRayDir, coord, 36.2214, 21.11349,\n 1.5 * raysSpeed);\n vec4 rays2 = vec4(1.0) *\n rayStrength(rayPos, finalRayDir, coord, 22.3991, 18.0234,\n 1.1 * raysSpeed);\n\n fragColor = rays1 * 0.5 + rays2 * 0.4;\n\n if (noiseAmount > 0.0) {\n float n = noise(coord * 0.01 + iTime * 0.1);\n fragColor.rgb *= (1.0 - noiseAmount + noiseAmount * n);\n }\n\n float brightness = 1.0 - (coord.y / iResolution.y);\n fragColor.x *= 0.1 + brightness * 0.8;\n fragColor.y *= 0.3 + brightness * 0.6;\n fragColor.z *= 0.5 + brightness * 0.5;\n\n if (saturation != 1.0) {\n float gray = dot(fragColor.rgb, vec3(0.299, 0.587, 0.114));\n fragColor.rgb = mix(vec3(gray), fragColor.rgb, saturation);\n }\n\n fragColor.rgb *= raysColor;\n}\n\nvoid main() {\n vec4 color;\n mainImage(color, gl_FragCoord.xy);\n gl_FragColor = color;\n}", _ = /* @__PURE__ */ n({
4
+ var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = position * 0.5 + 0.5;\n gl_Position = vec4(position, 0.0, 1.0);\n}", g = "precision highp float;\n\nuniform float iTime;\nuniform vec2 iResolution;\n\nuniform vec2 rayPos;\nuniform vec2 rayDir;\nuniform vec3 raysColor;\nuniform float raysSpeed;\nuniform float lightSpread;\nuniform float rayLength;\nuniform float pulsating;\nuniform float fadeDistance;\nuniform float saturation;\nuniform vec2 mousePos;\nuniform float mouseInfluence;\nuniform float noiseAmount;\nuniform float distortion;\n\nvarying vec2 vUv;\n\nfloat noise(vec2 st) {\n return fract(sin(dot(st.xy, vec2(12.9898,78.233))) * 43758.5453123);\n}\n\nfloat rayStrength(vec2 raySource, vec2 rayRefDirection, vec2 coord,\n float seedA, float seedB, float speed) {\n vec2 sourceToCoord = coord - raySource;\n vec2 dirNorm = normalize(sourceToCoord);\n float cosAngle = dot(dirNorm, rayRefDirection);\n\n float distortedAngle = cosAngle + distortion * sin(iTime * 2.0 + length(sourceToCoord) * 0.01) * 0.2;\n\n float spreadFactor = pow(max(distortedAngle, 0.0), 1.0 / max(lightSpread, 0.001));\n\n float distance = length(sourceToCoord);\n float maxDistance = iResolution.x * rayLength;\n float lengthFalloff = clamp((maxDistance - distance) / maxDistance, 0.0, 1.0);\n\n float fadeFalloff = clamp((iResolution.x * fadeDistance - distance) / (iResolution.x * fadeDistance), 0.5, 1.0);\n float pulse = pulsating > 0.5 ? (0.8 + 0.2 * sin(iTime * speed * 3.0)) : 1.0;\n\n float baseStrength = clamp(\n (0.45 + 0.15 * sin(distortedAngle * seedA + iTime * speed)) +\n (0.3 + 0.2 * cos(-distortedAngle * seedB + iTime * speed)),\n 0.0, 1.0\n );\n\n return baseStrength * lengthFalloff * fadeFalloff * spreadFactor * pulse;\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n vec2 coord = vec2(fragCoord.x, iResolution.y - fragCoord.y);\n\n vec2 finalRayDir = rayDir;\n if (mouseInfluence > 0.0) {\n vec2 mouseScreenPos = mousePos * iResolution.xy;\n vec2 mouseDirection = normalize(mouseScreenPos - rayPos);\n finalRayDir = normalize(mix(rayDir, mouseDirection, mouseInfluence));\n }\n\n vec4 rays1 = vec4(1.0) *\n rayStrength(rayPos, finalRayDir, coord, 36.2214, 21.11349,\n 1.5 * raysSpeed);\n vec4 rays2 = vec4(1.0) *\n rayStrength(rayPos, finalRayDir, coord, 22.3991, 18.0234,\n 1.1 * raysSpeed);\n\n fragColor = rays1 * 0.5 + rays2 * 0.4;\n\n if (noiseAmount > 0.0) {\n float n = noise(coord * 0.01 + iTime * 0.1);\n fragColor.rgb *= (1.0 - noiseAmount + noiseAmount * n);\n }\n\n float brightness = 1.0 - (coord.y / iResolution.y);\n fragColor.x *= 0.1 + brightness * 0.8;\n fragColor.y *= 0.3 + brightness * 0.6;\n fragColor.z *= 0.5 + brightness * 0.5;\n\n if (saturation != 1.0) {\n float gray = dot(fragColor.rgb, vec3(0.299, 0.587, 0.114));\n fragColor.rgb = mix(vec3(gray), fragColor.rgb, saturation);\n }\n\n fragColor.rgb *= raysColor;\n}\n\nvoid main() {\n vec4 color;\n mainImage(color, gl_FragCoord.xy);\n gl_FragColor = color;\n}", _ = /* @__PURE__ */ o({
5
5
  __name: "LightRays",
6
6
  props: {
7
7
  className: { default: "" },
@@ -24,14 +24,14 @@ var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = p
24
24
  raysSpeed: { default: 1 },
25
25
  saturation: { default: 1 }
26
26
  },
27
- setup(n) {
28
- let _ = n, v = l("containerRef"), y = c(null), b = c(null), x = c({
27
+ setup(o) {
28
+ let _ = o, v = p("containerRef"), y = f(null), b = f(null), x = f({
29
29
  x: .5,
30
30
  y: .5
31
- }), S = c({
31
+ }), S = f({
32
32
  x: .5,
33
33
  y: .5
34
- }), C = c(null), w = c(null), T = c(null), E = c(!1), D = c(null), O = c(null), k = e(() => N(_.raysColor)), A = e(() => +!!_.pulsating), j = e(() => Math.min(window.devicePixelRatio || 1, 2));
34
+ }), C = f(null), w = f(null), T = f(null), E = f(!1), D = f(null), O = f(null), k = i(() => N(_.raysColor)), A = i(() => +!!_.pulsating), j = i(() => Math.min(window.devicePixelRatio || 1, 2));
35
35
  function M(e, t, n) {
36
36
  switch (e) {
37
37
  case "bottom-center": return {
@@ -89,18 +89,18 @@ var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = p
89
89
  };
90
90
  })();
91
91
  async function F() {
92
- if (v.value && (await r(), v.value)) try {
93
- let e = new p({
92
+ if (v.value && (await s(), v.value)) try {
93
+ let i = new n({
94
94
  alpha: !0,
95
95
  antialias: !1,
96
96
  dpr: j.value,
97
97
  powerPreference: "high-performance"
98
98
  });
99
- b.value = e;
100
- let t = e.gl;
101
- for (t.canvas.style.width = "100%", t.canvas.style.height = "100%"; v.value.firstChild;) v.value.removeChild(v.value.firstChild);
102
- v.value.appendChild(t.canvas);
103
- let n = {
99
+ b.value = i;
100
+ let a = i.gl;
101
+ for (a.canvas.style.width = "100%", a.canvas.style.height = "100%"; v.value.firstChild;) v.value.removeChild(v.value.firstChild);
102
+ v.value.appendChild(a.canvas);
103
+ let o = {
104
104
  distortion: { value: _.distortion },
105
105
  fadeDistance: { value: _.fadeDistance },
106
106
  iResolution: { value: [1, 1] },
@@ -117,44 +117,44 @@ var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = p
117
117
  raysSpeed: { value: _.raysSpeed },
118
118
  saturation: { value: _.saturation }
119
119
  };
120
- y.value = n;
121
- let r = new m(t), i = new f(t, {
120
+ y.value = o;
121
+ let s = new r(a), c = new e(a, {
122
122
  fragment: g,
123
- uniforms: n,
123
+ uniforms: o,
124
124
  vertex: h
125
- }), a = new d(t, {
126
- geometry: r,
127
- program: i
125
+ }), l = new t(a, {
126
+ geometry: s,
127
+ program: c
128
128
  });
129
- w.value = a;
130
- let o = () => {
131
- if (!v.value || !e) return;
132
- e.dpr = j.value;
133
- let { clientHeight: t, clientWidth: r } = v.value;
134
- e.setSize(r, t);
135
- let i = e.dpr, a = r * i, o = t * i;
136
- n.iResolution.value = [a, o];
137
- let { anchor: s, dir: c } = M(_.raysOrigin, a, o);
138
- n.rayPos.value = s, n.rayDir.value = c;
139
- }, s = (t) => {
129
+ w.value = l;
130
+ let u = () => {
131
+ if (!v.value || !i) return;
132
+ i.dpr = j.value;
133
+ let { clientHeight: e, clientWidth: t } = v.value;
134
+ i.setSize(t, e);
135
+ let n = i.dpr, r = t * n, a = e * n;
136
+ o.iResolution.value = [r, a];
137
+ let { anchor: s, dir: c } = M(_.raysOrigin, r, a);
138
+ o.rayPos.value = s, o.rayDir.value = c;
139
+ }, d = (e) => {
140
140
  if (!(!b.value || !y.value || !w.value || !E.value)) {
141
- if (n.iTime.value = t * .001, _.followMouse && _.mouseInfluence > 0) {
141
+ if (o.iTime.value = e * .001, _.followMouse && _.mouseInfluence > 0) {
142
142
  let e = .92;
143
- S.value.x = S.value.x * e + x.value.x * .07999999999999996, S.value.y = S.value.y * e + x.value.y * .07999999999999996, n.mousePos.value = [S.value.x, S.value.y];
143
+ S.value.x = S.value.x * e + x.value.x * .07999999999999996, S.value.y = S.value.y * e + x.value.y * .07999999999999996, o.mousePos.value = [S.value.x, S.value.y];
144
144
  }
145
145
  try {
146
- e.render({ scene: a }), C.value = requestAnimationFrame(s);
146
+ i.render({ scene: l }), C.value = requestAnimationFrame(d);
147
147
  } catch (e) {
148
148
  console.warn("WebGL rendering error:", e);
149
149
  }
150
150
  }
151
- }, c = () => {
152
- P(o);
151
+ }, f = () => {
152
+ P(u);
153
153
  };
154
- window.addEventListener("resize", c, { passive: !0 }), o(), C.value = requestAnimationFrame(s), T.value = () => {
155
- if (C.value &&= (cancelAnimationFrame(C.value), null), window.removeEventListener("resize", c), O.value &&= (clearTimeout(O.value), null), e) try {
156
- let t = e.gl.canvas, n = e.gl.getExtension("WEBGL_lose_context");
157
- n && n.loseContext(), t && t.parentNode && t.parentNode.removeChild(t);
154
+ window.addEventListener("resize", f, { passive: !0 }), u(), C.value = requestAnimationFrame(d), T.value = () => {
155
+ if (C.value &&= (cancelAnimationFrame(C.value), null), window.removeEventListener("resize", f), O.value &&= (clearTimeout(O.value), null), i) try {
156
+ let e = i.gl.canvas, t = i.gl.getExtension("WEBGL_lose_context");
157
+ t && t.loseContext(), e && e.parentNode && e.parentNode.removeChild(e);
158
158
  } catch (e) {
159
159
  console.warn("Error during WebGL cleanup:", e);
160
160
  }
@@ -175,7 +175,7 @@ var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = p
175
175
  }, I = null;
176
176
  }));
177
177
  }
178
- return a(() => {
178
+ return l(() => {
179
179
  v.value && (D.value = new IntersectionObserver((e) => {
180
180
  let t = e[0];
181
181
  E.value = t.isIntersecting;
@@ -183,9 +183,9 @@ var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = p
183
183
  rootMargin: "50px",
184
184
  threshold: .1
185
185
  }), D.value.observe(v.value));
186
- }), u(E, (e) => {
186
+ }), m(E, (e) => {
187
187
  e && v.value ? (T.value &&= (T.value(), null), F()) : !e && T.value && (C.value &&= (cancelAnimationFrame(C.value), null));
188
- }), u([
188
+ }), m([
189
189
  () => _.raysColor,
190
190
  () => _.raysSpeed,
191
191
  () => _.lightSpread,
@@ -203,14 +203,14 @@ var h = "\nattribute vec2 position;\nvarying vec2 vUv;\nvoid main() {\n vUv = p
203
203
  e.raysColor.value = k.value, e.raysSpeed.value = _.raysSpeed, e.lightSpread.value = _.lightSpread, e.rayLength.value = _.rayLength, e.pulsating.value = A.value, e.fadeDistance.value = _.fadeDistance, e.saturation.value = _.saturation, e.mouseInfluence.value = _.mouseInfluence, e.noiseAmount.value = _.noiseAmount, e.distortion.value = _.distortion;
204
204
  let { clientHeight: n, clientWidth: r } = v.value, i = t.dpr, { anchor: a, dir: o } = M(_.raysOrigin, r * i, n * i);
205
205
  e.rayPos.value = a, e.rayDir.value = o;
206
- }, { flush: "post" }), u(() => _.followMouse, (e) => {
206
+ }, { flush: "post" }), m(() => _.followMouse, (e) => {
207
207
  e ? window.addEventListener("mousemove", L, { passive: !0 }) : (window.removeEventListener("mousemove", L), I &&= (cancelAnimationFrame(I), null));
208
- }, { immediate: !0 }), o(() => {
208
+ }, { immediate: !0 }), u(() => {
209
209
  D.value &&= (D.value.disconnect(), null), T.value &&= (T.value(), null), I &&= (cancelAnimationFrame(I), null), window.removeEventListener("mousemove", L);
210
- }), (e, r) => (s(), t("div", {
210
+ }), (e, t) => (d(), a("div", {
211
211
  ref_key: "containerRef",
212
212
  ref: v,
213
- class: i(["pointer-events-none relative z-[3] h-full w-full overflow-hidden", [n.className]])
213
+ class: c(["pointer-events-none relative z-[3] h-full w-full overflow-hidden", [o.className]])
214
214
  }, null, 2));
215
215
  }
216
216
  });
@@ -1,7 +1,7 @@
1
- import { createElementBlock as e, defineComponent as t, onBeforeUnmount as n, onMounted as r, openBlock as i, ref 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";
1
+ import { i as e, n as t, r as n, t as r } from "../../chunks/Triangle-C5ogSVp9.mjs";
2
+ import { createElementBlock as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, useTemplateRef as u, watch as d } from "vue";
3
3
  //#region ../../packages/dlzn-ui/layout/vueBits/Plasma.vue?vue&type=script&setup=true&lang.ts
4
- var f = "#version 300 es\nprecision highp float;\nin vec2 position;\nin vec2 uv;\nout vec2 vUv;\nvoid main() {\n vUv = uv;\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 vec3 uCustomColor;\nuniform float uUseCustomColor;\nuniform float uSpeed;\nuniform float uDirection;\nuniform float uScale;\nuniform float uOpacity;\nuniform vec2 uMouse;\nuniform float uMouseInteractive;\nout vec4 fragColor;\n\nvoid mainImage(out vec4 o, vec2 C) {\n vec2 center = iResolution.xy * 0.5;\n C = (C - center) / uScale + center;\n \n vec2 mouseOffset = (uMouse - center) * 0.0002;\n C += mouseOffset * length(C - center) * step(0.5, uMouseInteractive);\n \n float i, d, z, T = iTime * uSpeed * uDirection;\n vec3 O, p, S;\n\n for (vec2 r = iResolution.xy, Q; ++i < 60.; O += o.w/d*o.xyz) {\n p = z*normalize(vec3(C-.5*r,r.y)); \n p.z -= 4.; \n S = p;\n d = p.y-T;\n \n p.x += .4*(1.+p.y)*sin(d + p.x*0.1)*cos(.34*d + p.x*0.05); \n Q = p.xz *= mat2(cos(p.y+vec4(0,11,33,0)-T)); \n z+= d = abs(sqrt(length(Q*Q)) - .25*(5.+S.y))/3.+8e-4; \n o = 1.+sin(S.y+p.z*.5+S.z-length(S-p)+vec4(2,1,0,8));\n }\n \n o.xyz = tanh(O/1e4);\n}\n\nbool finite1(float x){ return !(isnan(x) || isinf(x)); }\nvec3 sanitize(vec3 c){\n return vec3(\n finite1(c.r) ? c.r : 0.0,\n finite1(c.g) ? c.g : 0.0,\n finite1(c.b) ? c.b : 0.0\n );\n}\n\nvoid main() {\n vec4 o = vec4(0.0);\n mainImage(o, gl_FragCoord.xy);\n vec3 rgb = sanitize(o.rgb);\n \n float intensity = (rgb.r + rgb.g + rgb.b) / 3.0;\n vec3 customColor = intensity * uCustomColor;\n vec3 finalColor = mix(rgb, customColor, step(0.5, uUseCustomColor));\n \n float alpha = length(rgb) * uOpacity;\n fragColor = vec4(finalColor, alpha);\n}", m = /* @__PURE__ */ t({
4
+ var f = "#version 300 es\nprecision highp float;\nin vec2 position;\nin vec2 uv;\nout vec2 vUv;\nvoid main() {\n vUv = uv;\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 vec3 uCustomColor;\nuniform float uUseCustomColor;\nuniform float uSpeed;\nuniform float uDirection;\nuniform float uScale;\nuniform float uOpacity;\nuniform vec2 uMouse;\nuniform float uMouseInteractive;\nout vec4 fragColor;\n\nvoid mainImage(out vec4 o, vec2 C) {\n vec2 center = iResolution.xy * 0.5;\n C = (C - center) / uScale + center;\n \n vec2 mouseOffset = (uMouse - center) * 0.0002;\n C += mouseOffset * length(C - center) * step(0.5, uMouseInteractive);\n \n float i, d, z, T = iTime * uSpeed * uDirection;\n vec3 O, p, S;\n\n for (vec2 r = iResolution.xy, Q; ++i < 60.; O += o.w/d*o.xyz) {\n p = z*normalize(vec3(C-.5*r,r.y)); \n p.z -= 4.; \n S = p;\n d = p.y-T;\n \n p.x += .4*(1.+p.y)*sin(d + p.x*0.1)*cos(.34*d + p.x*0.05); \n Q = p.xz *= mat2(cos(p.y+vec4(0,11,33,0)-T)); \n z+= d = abs(sqrt(length(Q*Q)) - .25*(5.+S.y))/3.+8e-4; \n o = 1.+sin(S.y+p.z*.5+S.z-length(S-p)+vec4(2,1,0,8));\n }\n \n o.xyz = tanh(O/1e4);\n}\n\nbool finite1(float x){ return !(isnan(x) || isinf(x)); }\nvec3 sanitize(vec3 c){\n return vec3(\n finite1(c.r) ? c.r : 0.0,\n finite1(c.g) ? c.g : 0.0,\n finite1(c.b) ? c.b : 0.0\n );\n}\n\nvoid main() {\n vec4 o = vec4(0.0);\n mainImage(o, gl_FragCoord.xy);\n vec3 rgb = sanitize(o.rgb);\n \n float intensity = (rgb.r + rgb.g + rgb.b) / 3.0;\n vec3 customColor = intensity * uCustomColor;\n vec3 finalColor = mix(rgb, customColor, step(0.5, uUseCustomColor));\n \n float alpha = length(rgb) * uOpacity;\n fragColor = vec4(finalColor, alpha);\n}", m = /* @__PURE__ */ a({
5
5
  __name: "Plasma",
6
6
  props: {
7
7
  color: { default: "#9EF2BE" },
@@ -14,8 +14,8 @@ var f = "#version 300 es\nprecision highp float;\nin vec2 position;\nin vec2 uv;
14
14
  scale: { default: 1 },
15
15
  speed: { default: 1 }
16
16
  },
17
- setup(t) {
18
- let m = t;
17
+ setup(a) {
18
+ let m = a;
19
19
  function h(e) {
20
20
  let t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
21
21
  return t ? [
@@ -28,78 +28,78 @@ var f = "#version 300 es\nprecision highp float;\nin vec2 position;\nin vec2 uv;
28
28
  .2
29
29
  ];
30
30
  }
31
- let g = o("containerRef"), _ = a({
31
+ let g = u("containerRef"), _ = l({
32
32
  x: 0,
33
33
  y: 0
34
34
  }), v = null;
35
35
  function y() {
36
36
  if (!g.value) return;
37
- let e = +!!m.color, t = m.color ? h(m.color) : [
37
+ let i = +!!m.color, a = m.color ? h(m.color) : [
38
38
  1,
39
39
  1,
40
40
  1
41
- ], n = m.direction === "reverse" ? -1 : 1, r = new u({
41
+ ], o = m.direction === "reverse" ? -1 : 1, s = new n({
42
42
  alpha: !0,
43
43
  antialias: !1,
44
44
  dpr: Math.min(window.devicePixelRatio || 1, 2),
45
45
  webgl: 2
46
- }), i = r.gl, a = i.canvas;
47
- a.style.display = "block", a.style.width = "100%", a.style.height = "100%", g.value.appendChild(a);
48
- let o = new d(i), s = new l(i, {
46
+ }), c = s.gl, l = c.canvas;
47
+ l.style.display = "block", l.style.width = "100%", l.style.height = "100%", g.value.appendChild(l);
48
+ let u = new r(c), d = new e(c, {
49
49
  fragment: p,
50
50
  uniforms: {
51
51
  iResolution: { value: new Float32Array([1, 1]) },
52
52
  iTime: { value: 0 },
53
- uCustomColor: { value: new Float32Array(t) },
54
- uDirection: { value: n },
53
+ uCustomColor: { value: new Float32Array(a) },
54
+ uDirection: { value: o },
55
55
  uMouse: { value: new Float32Array([0, 0]) },
56
56
  uMouseInteractive: { value: +!!m.mouseInteractive },
57
57
  uOpacity: { value: m.opacity },
58
58
  uScale: { value: m.scale },
59
59
  uSpeed: { value: m.speed * .4 },
60
- uUseCustomColor: { value: e }
60
+ uUseCustomColor: { value: i }
61
61
  },
62
62
  vertex: f
63
- }), y = new c(i, {
64
- geometry: o,
65
- program: s
63
+ }), y = new t(c, {
64
+ geometry: u,
65
+ program: d
66
66
  }), b = (e) => {
67
67
  if (!m.mouseInteractive) return;
68
68
  let t = g.value.getBoundingClientRect();
69
69
  _.value.x = e.clientX - t.left, _.value.y = e.clientY - t.top;
70
- let n = s.uniforms.uMouse.value;
70
+ let n = d.uniforms.uMouse.value;
71
71
  n[0] = _.value.x, n[1] = _.value.y;
72
72
  };
73
73
  m.mouseInteractive && g.value.addEventListener("mousemove", b);
74
74
  let x = () => {
75
75
  let e = g.value.getBoundingClientRect(), t = Math.max(1, Math.floor(e.width)), n = Math.max(1, Math.floor(e.height));
76
- r.setSize(t, n);
77
- let a = s.uniforms.iResolution.value;
78
- a[0] = i.drawingBufferWidth, a[1] = i.drawingBufferHeight;
76
+ s.setSize(t, n);
77
+ let r = d.uniforms.iResolution.value;
78
+ r[0] = c.drawingBufferWidth, r[1] = c.drawingBufferHeight;
79
79
  }, S = new ResizeObserver(x);
80
80
  S.observe(g.value), x();
81
81
  let C = 0, w = performance.now(), T = (e) => {
82
82
  let t = (e - w) * .001;
83
83
  if (m.direction === "pingpong") {
84
- let e = Math.sin(t * .5) * n;
85
- s.uniforms.uDirection.value = e;
84
+ let e = Math.sin(t * .5) * o;
85
+ d.uniforms.uDirection.value = e;
86
86
  }
87
- s.uniforms.iTime.value = t, r.render({ scene: y }), C = requestAnimationFrame(T);
87
+ d.uniforms.iTime.value = t, s.render({ scene: y }), C = requestAnimationFrame(T);
88
88
  };
89
89
  C = requestAnimationFrame(T), v = () => {
90
90
  cancelAnimationFrame(C), S.disconnect(), m.mouseInteractive && g.value && g.value.removeEventListener("mousemove", b);
91
91
  try {
92
- g.value?.removeChild(a);
92
+ g.value?.removeChild(l);
93
93
  } catch {}
94
94
  };
95
95
  }
96
- return r(() => {
96
+ return s(() => {
97
97
  y();
98
- }), n(() => {
98
+ }), o(() => {
99
99
  v?.();
100
- }), s(m, () => {
100
+ }), d(m, () => {
101
101
  v?.(), y();
102
- }, { deep: !0 }), (t, n) => (i(), e("div", {
102
+ }, { deep: !0 }), (e, t) => (c(), i("div", {
103
103
  ref_key: "containerRef",
104
104
  ref: g,
105
105
  class: "relative h-full w-full overflow-hidden"
@@ -1,8 +1,8 @@
1
- import { createElementBlock as e, defineComponent as t, onBeforeUnmount as n, onMounted as r, openBlock as i, useTemplateRef as a, watch as o } from "vue";
2
- import { Mesh as s, Program as c, Renderer as l, Triangle as u } from "ogl";
1
+ import { i as e, n as t, r as n, t as r } from "../../chunks/Triangle-C5ogSVp9.mjs";
2
+ import { createElementBlock as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, useTemplateRef as l, watch as u } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/layout/vueBits/Prism.vue
5
- var d = /* @__PURE__ */ t({
5
+ var d = /* @__PURE__ */ a({
6
6
  __name: "Prism",
7
7
  props: {
8
8
  height: { default: 3.5 },
@@ -30,11 +30,11 @@ var d = /* @__PURE__ */ t({
30
30
  },
31
31
  timeScale: { default: .5 }
32
32
  },
33
- setup(t) {
34
- let d = t, f = a("containerRef"), p = null, m = () => {
35
- let e = f.value;
36
- if (!e) return;
37
- let t = Math.max(.001, d.height), n = Math.max(.001, d.baseWidth) * .5, r = Math.max(0, d.glow), i = Math.max(0, d.noise), a = d.offset?.x ?? 0, o = d.offset?.y ?? 0, m = d.transparent ? 1.5 : 1, h = Math.max(.001, d.scale), g = d.hueShift || 0, _ = Math.max(0, d.colorFrequency || 1), v = Math.max(0, d.bloom || 1), y = Math.max(0, d.timeScale || 1), b = Math.max(0, d.hoverStrength || 1), x = Math.max(0, Math.min(1, d.inertia || .12)), S = Math.min(2, window.devicePixelRatio || 1), C = new l({
33
+ setup(a) {
34
+ let d = a, f = l("containerRef"), p = null, m = () => {
35
+ let i = f.value;
36
+ if (!i) return;
37
+ let a = Math.max(.001, d.height), o = Math.max(.001, d.baseWidth) * .5, s = Math.max(0, d.glow), c = Math.max(0, d.noise), l = d.offset?.x ?? 0, u = d.offset?.y ?? 0, m = d.transparent ? 1.5 : 1, h = Math.max(.001, d.scale), g = d.hueShift || 0, _ = Math.max(0, d.colorFrequency || 1), v = Math.max(0, d.bloom || 1), y = Math.max(0, d.timeScale || 1), b = Math.max(0, d.hoverStrength || 1), x = Math.max(0, Math.min(1, d.inertia || .12)), S = Math.min(2, window.devicePixelRatio || 1), C = new n({
38
38
  dpr: S,
39
39
  alpha: d.transparent,
40
40
  antialias: !1
@@ -45,15 +45,15 @@ var d = /* @__PURE__ */ t({
45
45
  width: "100%",
46
46
  height: "100%",
47
47
  display: "block"
48
- }), e.appendChild(w.canvas);
49
- let T = new u(w), E = /* @__PURE__ */ new Float32Array(2), D = /* @__PURE__ */ new Float32Array(2), O = new c(w, {
48
+ }), i.appendChild(w.canvas);
49
+ let ee = new r(w), T = /* @__PURE__ */ new Float32Array(2), E = /* @__PURE__ */ new Float32Array(2), D = new e(w, {
50
50
  vertex: "\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n ",
51
51
  fragment: "\n precision highp float;\n\n uniform vec2 iResolution;\n uniform float iTime;\n\n uniform float uHeight;\n uniform float uBaseHalf;\n uniform mat3 uRot;\n uniform int uUseBaseWobble;\n uniform float uGlow;\n uniform vec2 uOffsetPx;\n uniform float uNoise;\n uniform float uSaturation;\n uniform float uScale;\n uniform float uHueShift;\n uniform float uColorFreq;\n uniform float uBloom;\n uniform float uCenterShift;\n uniform float uInvBaseHalf;\n uniform float uInvHeight;\n uniform float uMinAxis;\n uniform float uPxScale;\n uniform float uTimeScale;\n\n vec4 tanh4(vec4 x){\n vec4 e2x = exp(2.0*x);\n return (e2x - 1.0) / (e2x + 1.0);\n }\n\n float rand(vec2 co){\n return fract(sin(dot(co, vec2(12.9898, 78.233))) * 43758.5453123);\n }\n\n float sdOctaAnisoInv(vec3 p){\n vec3 q = vec3(abs(p.x) * uInvBaseHalf, abs(p.y) * uInvHeight, abs(p.z) * uInvBaseHalf);\n float m = q.x + q.y + q.z - 1.0;\n return m * uMinAxis * 0.5773502691896258;\n }\n\n float sdPyramidUpInv(vec3 p){\n float oct = sdOctaAnisoInv(p);\n float halfSpace = -p.y;\n return max(oct, halfSpace);\n }\n\n mat3 hueRotation(float a){\n float c = cos(a), s = sin(a);\n mat3 W = mat3(\n 0.299, 0.587, 0.114,\n 0.299, 0.587, 0.114,\n 0.299, 0.587, 0.114\n );\n mat3 U = mat3(\n 0.701, -0.587, -0.114,\n -0.299, 0.413, -0.114,\n -0.300, -0.588, 0.886\n );\n mat3 V = mat3(\n 0.168, -0.331, 0.500,\n 0.328, 0.035, -0.500,\n -0.497, 0.296, 0.201\n );\n return W + U * c + V * s;\n }\n\n void main(){\n vec2 f = (gl_FragCoord.xy - 0.5 * iResolution.xy - uOffsetPx) * uPxScale;\n\n float z = 5.0;\n float d = 0.0;\n\n vec3 p;\n vec4 o = vec4(0.0);\n\n float centerShift = uCenterShift;\n float cf = uColorFreq;\n\n mat2 wob = mat2(1.0);\n if (uUseBaseWobble == 1) {\n float t = iTime * uTimeScale;\n float c0 = cos(t + 0.0);\n float c1 = cos(t + 33.0);\n float c2 = cos(t + 11.0);\n wob = mat2(c0, c1, c2, c0);\n }\n\n const int STEPS = 100;\n for (int i = 0; i < STEPS; i++) {\n p = vec3(f, z);\n p.xz = p.xz * wob;\n p = uRot * p;\n vec3 q = p;\n q.y += centerShift;\n d = 0.1 + 0.2 * abs(sdPyramidUpInv(q));\n z -= d;\n o += (sin((p.y + z) * cf + vec4(0.0, 1.0, 2.0, 3.0)) + 1.0) / d;\n }\n\n o = tanh4(o * o * (uGlow * uBloom) / 1e5);\n\n vec3 col = o.rgb;\n float n = rand(gl_FragCoord.xy + vec2(iTime));\n col += (n - 0.5) * uNoise;\n col = clamp(col, 0.0, 1.0);\n\n float L = dot(col, vec3(0.2126, 0.7152, 0.0722));\n col = clamp(mix(vec3(L), col, uSaturation), 0.0, 1.0);\n\n if(abs(uHueShift) > 0.0001){\n col = clamp(hueRotation(uHueShift) * col, 0.0, 1.0);\n }\n\n gl_FragColor = vec4(col, o.a);\n }\n ",
52
52
  uniforms: {
53
- iResolution: { value: E },
53
+ iResolution: { value: T },
54
54
  iTime: { value: 0 },
55
- uHeight: { value: t },
56
- uBaseHalf: { value: n },
55
+ uHeight: { value: a },
56
+ uBaseHalf: { value: o },
57
57
  uUseBaseWobble: { value: 1 },
58
58
  uRot: { value: new Float32Array([
59
59
  1,
@@ -66,37 +66,37 @@ var d = /* @__PURE__ */ t({
66
66
  0,
67
67
  1
68
68
  ]) },
69
- uGlow: { value: r },
70
- uOffsetPx: { value: D },
71
- uNoise: { value: i },
69
+ uGlow: { value: s },
70
+ uOffsetPx: { value: E },
71
+ uNoise: { value: c },
72
72
  uSaturation: { value: m },
73
73
  uScale: { value: h },
74
74
  uHueShift: { value: g },
75
75
  uColorFreq: { value: _ },
76
76
  uBloom: { value: v },
77
- uCenterShift: { value: t * .25 },
78
- uInvBaseHalf: { value: 1 / n },
79
- uInvHeight: { value: 1 / t },
80
- uMinAxis: { value: Math.min(n, t) },
77
+ uCenterShift: { value: a * .25 },
78
+ uInvBaseHalf: { value: 1 / o },
79
+ uInvHeight: { value: 1 / a },
80
+ uMinAxis: { value: Math.min(o, a) },
81
81
  uPxScale: { value: 1 / ((w.drawingBufferHeight || 1) * .1 * h) },
82
82
  uTimeScale: { value: y }
83
83
  }
84
- }), ee = new s(w, {
85
- geometry: T,
86
- program: O
84
+ }), O = new t(w, {
85
+ geometry: ee,
86
+ program: D
87
87
  }), k = () => {
88
- let t = e.clientWidth || 1, n = e.clientHeight || 1;
89
- C.setSize(t, n), E[0] = w.drawingBufferWidth, E[1] = w.drawingBufferHeight, D[0] = a * S, D[1] = o * S, O.uniforms.uPxScale.value = 1 / ((w.drawingBufferHeight || 1) * .1 * h);
88
+ let e = i.clientWidth || 1, t = i.clientHeight || 1;
89
+ C.setSize(e, t), T[0] = w.drawingBufferWidth, T[1] = w.drawingBufferHeight, E[0] = l * S, E[1] = u * S, D.uniforms.uPxScale.value = 1 / ((w.drawingBufferHeight || 1) * .1 * h);
90
90
  }, A = new ResizeObserver(k);
91
- A.observe(e), k();
91
+ A.observe(i), k();
92
92
  let j = /* @__PURE__ */ new Float32Array(9), M = (e, t, n, r) => {
93
93
  let i = Math.cos(e), a = Math.sin(e), o = Math.cos(t), s = Math.sin(t), c = Math.cos(n), l = Math.sin(n), u = i * c + a * s * l, d = -i * l + a * s * c, f = a * o, p = o * l, m = o * c, h = -s, g = -a * c + i * s * l, _ = a * l + i * s * c, v = i * o;
94
94
  return r[0] = u, r[1] = p, r[2] = g, r[3] = d, r[4] = m, r[5] = _, r[6] = f, r[7] = h, r[8] = v, r;
95
- }, te = i < 1e-6, N = 0, P = performance.now(), F = () => {
96
- N ||= requestAnimationFrame($);
97
- }, I = () => {
98
- N &&= (cancelAnimationFrame(N), 0);
99
- }, L = () => Math.random(), R = (.3 + L() * .6) * 1, z = (.2 + L() * .7) * 1, B = (.1 + L() * .5) * 1, V = L() * Math.PI * 2, H = L() * Math.PI * 2, U = 0, W = 0, G = 0, K = 0, q = 0, J = (e, t, n) => e + (t - e) * n, Y = {
95
+ }, N = c < 1e-6, P = 0, F = performance.now(), I = () => {
96
+ P ||= requestAnimationFrame($);
97
+ }, L = () => {
98
+ P &&= (cancelAnimationFrame(P), 0);
99
+ }, R = () => Math.random(), z = (.3 + R() * .6) * 1, B = (.2 + R() * .7) * 1, V = (.1 + R() * .5) * 1, H = R() * Math.PI * 2, te = R() * Math.PI * 2, U = 0, W = 0, G = 0, K = 0, q = 0, J = (e, t, n) => e + (t - e) * n, Y = {
100
100
  x: 0,
101
101
  y: 0,
102
102
  inside: !0
@@ -109,44 +109,44 @@ var d = /* @__PURE__ */ t({
109
109
  Y.inside = !1;
110
110
  }, Q = null;
111
111
  d.animationType === "hover" ? (Q = (e) => {
112
- ne(e), F();
113
- }, window.addEventListener("pointermove", Q, { passive: !0 }), window.addEventListener("mouseleave", X), window.addEventListener("blur", Z), O.uniforms.uUseBaseWobble.value = 0) : d.animationType === "3drotate" ? O.uniforms.uUseBaseWobble.value = 0 : O.uniforms.uUseBaseWobble.value = 1;
112
+ ne(e), I();
113
+ }, window.addEventListener("pointermove", Q, { passive: !0 }), window.addEventListener("mouseleave", X), window.addEventListener("blur", Z), D.uniforms.uUseBaseWobble.value = 0) : d.animationType === "3drotate" ? D.uniforms.uUseBaseWobble.value = 0 : D.uniforms.uUseBaseWobble.value = 1;
114
114
  let $ = (e) => {
115
- let t = (e - P) * .001;
116
- O.uniforms.iTime.value = t;
115
+ let t = (e - F) * .001;
116
+ D.uniforms.iTime.value = t;
117
117
  let n = !0;
118
118
  if (d.animationType === "hover") {
119
119
  let e = .6 * b, t = .6 * b;
120
120
  K = (Y.inside ? -Y.x : 0) * t, q = (Y.inside ? Y.y : 0) * e;
121
121
  let r = U, i = W, a = G;
122
- U = J(r, K, x), W = J(i, q, x), G = J(a, 0, .1), O.uniforms.uRot.value = M(U, W, G, j), te && Math.abs(U - K) < 1e-4 && Math.abs(W - q) < 1e-4 && Math.abs(G) < 1e-4 && (n = !1);
122
+ U = J(r, K, x), W = J(i, q, x), G = J(a, 0, .1), D.uniforms.uRot.value = M(U, W, G, j), N && Math.abs(U - K) < 1e-4 && Math.abs(W - q) < 1e-4 && Math.abs(G) < 1e-4 && (n = !1);
123
123
  } else if (d.animationType === "3drotate") {
124
124
  let e = t * y;
125
- U = e * z, W = Math.sin(e * R + V) * .6, G = Math.sin(e * B + H) * .5, O.uniforms.uRot.value = M(U, W, G, j), y < 1e-6 && (n = !1);
126
- } else j[0] = 1, j[1] = 0, j[2] = 0, j[3] = 0, j[4] = 1, j[5] = 0, j[6] = 0, j[7] = 0, j[8] = 1, O.uniforms.uRot.value = j, y < 1e-6 && (n = !1);
127
- C.render({ scene: ee }), N = n ? requestAnimationFrame($) : 0;
125
+ U = e * B, W = Math.sin(e * z + H) * .6, G = Math.sin(e * V + te) * .5, D.uniforms.uRot.value = M(U, W, G, j), y < 1e-6 && (n = !1);
126
+ } else j[0] = 1, j[1] = 0, j[2] = 0, j[3] = 0, j[4] = 1, j[5] = 0, j[6] = 0, j[7] = 0, j[8] = 1, D.uniforms.uRot.value = j, y < 1e-6 && (n = !1);
127
+ C.render({ scene: O }), P = n ? requestAnimationFrame($) : 0;
128
128
  };
129
129
  if (d.suspendWhenOffscreen) {
130
- let t = new IntersectionObserver((e) => {
131
- e.some((e) => e.isIntersecting) ? F() : I();
130
+ let e = new IntersectionObserver((e) => {
131
+ e.some((e) => e.isIntersecting) ? I() : L();
132
132
  });
133
- t.observe(e), F(), e.__prismIO = t;
134
- } else F();
133
+ e.observe(i), I(), i.__prismIO = e;
134
+ } else I();
135
135
  p = () => {
136
- if (I(), A.disconnect(), d.animationType === "hover" && (Q && window.removeEventListener("pointermove", Q), window.removeEventListener("mouseleave", X), window.removeEventListener("blur", Z)), d.suspendWhenOffscreen) {
137
- let t = e.__prismIO;
138
- t && t.disconnect(), delete e.__prismIO;
136
+ if (L(), A.disconnect(), d.animationType === "hover" && (Q && window.removeEventListener("pointermove", Q), window.removeEventListener("mouseleave", X), window.removeEventListener("blur", Z)), d.suspendWhenOffscreen) {
137
+ let e = i.__prismIO;
138
+ e && e.disconnect(), delete i.__prismIO;
139
139
  }
140
- w.canvas.parentElement === e && e.removeChild(w.canvas);
140
+ w.canvas.parentElement === i && i.removeChild(w.canvas);
141
141
  };
142
142
  };
143
- return r(() => {
143
+ return s(() => {
144
144
  m();
145
- }), n(() => {
145
+ }), o(() => {
146
146
  p?.();
147
- }), o(d, () => {
147
+ }), u(d, () => {
148
148
  p?.(), m();
149
- }, { deep: !0 }), (t, n) => (i(), e("div", {
149
+ }, { deep: !0 }), (e, t) => (c(), i("div", {
150
150
  class: "relative h-full w-full",
151
151
  ref_key: "containerRef",
152
152
  ref: f
package/main.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const app: import('vue').App<Element>;
2
+ export default app;
package/main.mjs ADDED
@@ -0,0 +1,41 @@
1
+ import { t as e } from "./chunks/auto-animate-FPySn19g.mjs";
2
+ import { D as t, H as n } from "./chunks/provider-DQIMA4mE.mjs";
3
+ import { t as r } from "./chunks/app-Dk-mybzX.mjs";
4
+ import "./components/app/index.mjs";
5
+ import i from "./plugins/directive/index.mjs";
6
+ import { t as a } from "./chunks/store-C46_JI7q.mjs";
7
+ import "./plugins/initialize/index.mjs";
8
+ import { createApp as o } from "vue";
9
+ import "tdesign-vue-next/es/style/index.css";
10
+ import './assets/main-CxSb5Gqw.css';//#region ../../node_modules/.pnpm/@formkit+auto-animate@0.10.0/node_modules/@formkit/auto-animate/vue/index.mjs
11
+ function s(t) {
12
+ return {
13
+ mounted(n, r) {
14
+ let i = {}, a = r.value;
15
+ i = typeof a == "function" ? a : typeof t == "function" ? t : {
16
+ ...t || {},
17
+ ...a || {}
18
+ };
19
+ let o = e(n, i);
20
+ Object.defineProperty(n, "__aa_ctl", {
21
+ value: o,
22
+ configurable: !0
23
+ });
24
+ },
25
+ unmounted(e) {
26
+ var t;
27
+ let n = e.__aa_ctl;
28
+ (t = n?.destroy) == null || t.call(n);
29
+ try {
30
+ delete e.__aa_ctl;
31
+ } catch {}
32
+ },
33
+ getSSRProps: () => ({})
34
+ };
35
+ }
36
+ var c = { install(e, t) {
37
+ e.directive("auto-animate", s(t));
38
+ } }, l = o(r);
39
+ l.config.throwUnhandledErrorInProduction = !0, l.use(a), l.use(t), l.use(i), l.use(c), n().getAppInfo();
40
+ //#endregion
41
+ export { l as default };
package/package.json CHANGED
@@ -6,6 +6,10 @@
6
6
  ".": {
7
7
  "types": "./index.d.ts"
8
8
  },
9
+ "./main": {
10
+ "types": "./main.d.ts",
11
+ "import": "./main.mjs"
12
+ },
9
13
  "./components/*": {
10
14
  "types": "./components/*/index.d.ts",
11
15
  "import": "./components/*/index.mjs"
@@ -41,11 +45,11 @@
41
45
  "./index.css": {
42
46
  "import": "./assets/css/index.css"
43
47
  },
44
- "./layout/*.vue": {
48
+ "./layout/*": {
45
49
  "types": "./layout/*.vue.d.ts",
46
50
  "import": "./layout/*.mjs"
47
51
  },
48
- "./views/*.vue": {
52
+ "./views/*": {
49
53
  "types": "./views/*.vue.d.ts",
50
54
  "import": "./views/*.mjs"
51
55
  }
@@ -58,9 +62,18 @@
58
62
  "pnpm": "^11.17.0"
59
63
  },
60
64
  "peerDependencies": {
65
+ "@tdesign-vue-next/chat": "^0.6.0",
61
66
  "@tsconfig/node-lts": "^24.0.0",
62
67
  "@types/node": "^26.1.2",
68
+ "@types/path-browserify": "^1.0.3",
63
69
  "@vue/tsconfig": "^0.9.1",
70
+ "@vueuse/core": "^14.4.0",
71
+ "@vueuse/integrations": "^14.3.0",
72
+ "alova": "^3.5.5",
73
+ "color": "^5.0.3",
74
+ "echarts": "^6.1.0",
75
+ "path-browserify": "^1.0.1",
76
+ "pinia": "^4.0.3",
64
77
  "tailwindcss": "^4.3.3",
65
78
  "tdesign-vue-next": "^1.20.5",
66
79
  "typescript": "^6.0.3",
@@ -75,31 +88,24 @@
75
88
  "@bprogress/core": "^1.3.4",
76
89
  "@formkit/auto-animate": "^0.10.0",
77
90
  "@iconify/vue": "^5.0.1",
78
- "@types/file-saver": "^2.0.7",
79
- "@vueuse/core": "^14.4.0",
80
- "alova": "^3.5.5",
81
- "color": "^5.0.3",
82
91
  "cron-parser": "^5.10.0",
83
92
  "cronstrue": "^3.24.0",
84
93
  "crypto-js": "^4.2.0",
85
- "echarts": "^6.1.0",
86
94
  "element-plus": "^2.14.5",
87
95
  "file-saver": "^2.0.5",
88
96
  "ogl": "^1.0.11",
89
- "path-browserify": "^1.0.1",
90
- "pinia": "^4.0.3",
91
97
  "pinia-plugin-persistedstate": "^4.7.1",
92
98
  "quartzcron": "^0.1.2",
93
99
  "vue-echarts": "^8.3.0"
94
100
  },
95
101
  "devDependencies": {
96
102
  "@types/crypto-js": "^4.2.2",
97
- "@types/path-browserify": "^1.0.3"
103
+ "@types/file-saver": "^2.0.7"
98
104
  },
99
105
  "browserslist": [
100
106
  "last 2 version",
101
107
  "> 1%",
102
108
  "not dead"
103
109
  ],
104
- "version": "2.0.6"
110
+ "version": "2.0.8"
105
111
  }
@@ -1,2 +1,2 @@
1
- import { C as e, S as t, x as n } from "../../../chunks/button-Dk3CiB69.mjs";
2
- export { n as default, t as getFilterEmptyParamsObj, e as getParamsString };
1
+ import { C as e, S as t, w as n } from "../../../chunks/provider-DQIMA4mE.mjs";
2
+ export { t as default, e as getFilterEmptyParamsObj, n as getParamsString };
@@ -1,2 +1,2 @@
1
- import { P as e } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e } from "../../../chunks/provider-DQIMA4mE.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { F as e } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { I as e } from "../../../chunks/provider-DQIMA4mE.mjs";
2
2
  export { e as default };