@robot-admin/naive-ui-components 0.13.2 → 0.13.6

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 (292) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +25 -5
  3. package/README_EN.md +17 -5
  4. package/dist/C_ActionBar.css +75 -63
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_AntV.css +249 -79
  8. package/dist/C_AntV2.cjs +3 -3
  9. package/dist/C_AntV2.js +2 -2
  10. package/dist/C_AudioPlayer.css +88 -76
  11. package/dist/C_AudioPlayer2.cjs +1 -1
  12. package/dist/C_AudioPlayer2.js +1 -1
  13. package/dist/C_AvatarGroup.css +32 -28
  14. package/dist/C_AvatarGroup2.cjs +1 -1
  15. package/dist/C_AvatarGroup2.js +1 -1
  16. package/dist/C_Breadcrumb.css +35 -17
  17. package/dist/C_Breadcrumb2.cjs +1 -1
  18. package/dist/C_Breadcrumb2.js +1 -1
  19. package/dist/C_Captcha.css +66 -53
  20. package/dist/C_Captcha2.cjs +1 -1
  21. package/dist/C_Captcha2.js +1 -1
  22. package/dist/C_Cascade.css +6 -2
  23. package/dist/C_Cascade2.cjs +1 -1
  24. package/dist/C_Cascade2.js +1 -1
  25. package/dist/C_Chat.css +40 -33
  26. package/dist/C_City.css +37 -32
  27. package/dist/C_City2.cjs +1 -1
  28. package/dist/C_City2.js +1 -1
  29. package/dist/C_Code.css +53 -40
  30. package/dist/C_Code2.cjs +1 -1
  31. package/dist/C_Code2.js +1 -1
  32. package/dist/C_CollapsePanel.css +68 -55
  33. package/dist/C_CollapsePanel2.cjs +1 -1
  34. package/dist/C_CollapsePanel2.js +1 -1
  35. package/dist/C_ContextMenu.css +68 -26
  36. package/dist/C_ContextMenu2.cjs +1 -1
  37. package/dist/C_ContextMenu2.js +1 -1
  38. package/dist/C_Cron.css +95 -68
  39. package/dist/C_Cron2.cjs +1 -1
  40. package/dist/C_Cron2.js +1 -1
  41. package/dist/C_Date.css +8 -1
  42. package/dist/C_Date2.cjs +1 -1
  43. package/dist/C_Date2.js +1 -1
  44. package/dist/C_Draggable.css +60 -51
  45. package/dist/C_Draggable2.cjs +1 -1
  46. package/dist/C_Draggable2.js +1 -1
  47. package/dist/C_Editor.css +23 -15
  48. package/dist/C_Editor2.cjs +1 -1
  49. package/dist/C_Editor2.js +1 -1
  50. package/dist/C_FilePreview.css +200 -90
  51. package/dist/C_FilePreview2.cjs +1 -1
  52. package/dist/C_FilePreview2.js +1 -1
  53. package/dist/C_Form.base.css +284 -224
  54. package/dist/C_Form.css +307 -239
  55. package/dist/C_Form2.cjs +1 -1
  56. package/dist/C_Form2.js +1 -1
  57. package/dist/C_FormModal.css +18 -8
  58. package/dist/C_FormModal2.cjs +1 -1
  59. package/dist/C_FormModal2.js +1 -1
  60. package/dist/C_FormSearch.css +58 -45
  61. package/dist/C_FormSearch2.cjs +1 -1
  62. package/dist/C_FormSearch2.js +1 -1
  63. package/dist/C_FormulaEditor.css +62 -37
  64. package/dist/C_FormulaEditor2.cjs +1 -1
  65. package/dist/C_FormulaEditor2.js +1 -1
  66. package/dist/C_FullCalendar.css +16 -3
  67. package/dist/C_FullCalendar2.cjs +1 -1
  68. package/dist/C_FullCalendar2.js +1 -1
  69. package/dist/C_GlobalSearch.css +121 -112
  70. package/dist/C_GlobalSearch2.cjs +1 -1
  71. package/dist/C_GlobalSearch2.js +1 -1
  72. package/dist/C_Guide.css +30 -18
  73. package/dist/C_Guide2.cjs +1 -1
  74. package/dist/C_Guide2.js +1 -1
  75. package/dist/C_Icon.css +24 -17
  76. package/dist/C_Icon2.cjs +1 -1
  77. package/dist/C_Icon2.js +1 -1
  78. package/dist/C_ImageCropper.css +39 -22
  79. package/dist/C_ImageCropper2.cjs +1 -1
  80. package/dist/C_ImageCropper2.js +1 -1
  81. package/dist/C_Language.css +30 -17
  82. package/dist/C_Language2.cjs +1 -1
  83. package/dist/C_Language2.js +1 -1
  84. package/dist/C_Loading.cjs +1 -0
  85. package/dist/C_Loading.css +119 -0
  86. package/dist/C_Loading.d.cts +2 -0
  87. package/dist/C_Loading.d.ts +2 -0
  88. package/dist/C_Loading.js +1 -0
  89. package/dist/C_Loading2.cjs +1 -0
  90. package/dist/C_Loading2.js +1 -0
  91. package/dist/C_Login.css +162 -137
  92. package/dist/C_Login.d.cts +1 -1
  93. package/dist/C_Login.d.ts +1 -1
  94. package/dist/C_Login2.cjs +1 -1
  95. package/dist/C_Login2.js +1 -1
  96. package/dist/C_Map.css +25 -4
  97. package/dist/C_Map2.cjs +1 -1
  98. package/dist/C_Map2.js +1 -1
  99. package/dist/C_Markdown.css +47 -42
  100. package/dist/C_Markdown.d.cts +1 -1
  101. package/dist/C_Markdown.d.ts +1 -1
  102. package/dist/C_Markdown2.cjs +1 -1
  103. package/dist/C_Markdown2.js +1 -1
  104. package/dist/C_Menu.css +7 -1
  105. package/dist/C_Menu.d.ts +1 -1
  106. package/dist/C_Menu2.cjs +1 -1
  107. package/dist/C_Menu2.js +1 -1
  108. package/dist/C_NotificationCenter.css +134 -90
  109. package/dist/C_NotificationCenter2.cjs +1 -1
  110. package/dist/C_NotificationCenter2.js +1 -1
  111. package/dist/C_OrgChart.css +10 -0
  112. package/dist/C_OrgChart.d.cts +1 -1
  113. package/dist/C_OrgChart.d.ts +1 -1
  114. package/dist/C_OrgChart2.cjs +1 -1
  115. package/dist/C_OrgChart2.js +1 -1
  116. package/dist/C_Progress.d.cts +1 -1
  117. package/dist/C_Progress.d.ts +1 -1
  118. package/dist/C_QRCode.css +12 -8
  119. package/dist/C_QRCode2.cjs +1 -1
  120. package/dist/C_QRCode2.js +1 -1
  121. package/dist/C_Signature.css +18 -14
  122. package/dist/C_Signature2.cjs +1 -1
  123. package/dist/C_Signature2.js +1 -1
  124. package/dist/C_Skeleton.css +5 -0
  125. package/dist/C_Skeleton.d.cts +1 -1
  126. package/dist/C_Skeleton.d.ts +1 -1
  127. package/dist/C_Skeleton2.cjs +1 -1
  128. package/dist/C_Skeleton2.js +1 -1
  129. package/dist/C_SplitPane.css +61 -39
  130. package/dist/C_SplitPane2.cjs +1 -1
  131. package/dist/C_SplitPane2.js +1 -1
  132. package/dist/C_Steps.css +42 -38
  133. package/dist/C_Steps.d.cts +1 -1
  134. package/dist/C_Steps.d.ts +1 -1
  135. package/dist/C_Steps2.cjs +1 -1
  136. package/dist/C_Steps2.js +1 -1
  137. package/dist/C_Table.base.css +585 -352
  138. package/dist/C_Table.cjs +1 -1
  139. package/dist/C_Table.css +608 -367
  140. package/dist/C_Table.d.ts +2 -2
  141. package/dist/C_Table.js +1 -1
  142. package/dist/C_TagsView.css +93 -55
  143. package/dist/C_TagsView.d.cts +1 -1
  144. package/dist/C_TagsView.d.ts +1 -1
  145. package/dist/C_TagsView2.cjs +1 -1
  146. package/dist/C_TagsView2.js +1 -1
  147. package/dist/C_Theme.css +24 -17
  148. package/dist/C_Theme.d.cts +1 -1
  149. package/dist/C_Theme.d.ts +1 -1
  150. package/dist/C_Timeline.css +47 -36
  151. package/dist/C_Timeline.d.cts +1 -1
  152. package/dist/C_Timeline.d.ts +1 -1
  153. package/dist/C_Transfer.css +86 -67
  154. package/dist/C_Transfer.d.cts +1 -1
  155. package/dist/C_Transfer.d.ts +1 -1
  156. package/dist/C_Transfer2.cjs +1 -1
  157. package/dist/C_Transfer2.js +1 -1
  158. package/dist/C_Tree.css +48 -33
  159. package/dist/C_Tree2.cjs +1 -1
  160. package/dist/C_Tree2.js +1 -1
  161. package/dist/C_Upload.css +104 -51
  162. package/dist/C_Upload2.cjs +1 -1
  163. package/dist/C_Upload2.js +1 -1
  164. package/dist/C_VideoPlayer.css +140 -69
  165. package/dist/C_VideoPlayer2.cjs +1 -1
  166. package/dist/C_VideoPlayer2.js +1 -1
  167. package/dist/C_VtableGantt.css +42 -19
  168. package/dist/C_VtableGantt.d.cts +1 -1
  169. package/dist/C_VtableGantt.d.ts +1 -1
  170. package/dist/C_VtableGantt2.cjs +1 -1
  171. package/dist/C_VtableGantt2.js +1 -1
  172. package/dist/C_WaterFall.css +32 -16
  173. package/dist/C_WaterFall2.cjs +1 -1
  174. package/dist/C_WaterFall2.js +1 -1
  175. package/dist/C_WorkFlow.css +332 -221
  176. package/dist/C_WorkFlow2.cjs +1 -1
  177. package/dist/C_WorkFlow2.js +1 -1
  178. package/dist/config.cjs +1 -1
  179. package/dist/config.js +1 -1
  180. package/dist/constants.d.cts +4 -4
  181. package/dist/constants.d.ts +4 -4
  182. package/dist/constants2.d.cts +4 -4
  183. package/dist/constants2.d.ts +4 -4
  184. package/dist/constants3.d.cts +3 -3
  185. package/dist/constants3.d.ts +3 -3
  186. package/dist/constants4.d.cts +6 -6
  187. package/dist/constants4.d.ts +6 -6
  188. package/dist/constants5.d.cts +2 -2
  189. package/dist/constants5.d.ts +2 -2
  190. package/dist/data.d.cts +8 -8
  191. package/dist/data.d.ts +8 -8
  192. package/dist/data2.cjs +1 -1
  193. package/dist/data2.js +1 -1
  194. package/dist/index.cjs +1 -1
  195. package/dist/index.d.cts +28 -27
  196. package/dist/index.d.ts +28 -27
  197. package/dist/index.js +1 -1
  198. package/dist/index.vue.d.cts +1 -1
  199. package/dist/index.vue.d.ts +1 -1
  200. package/dist/index10.vue.d.cts +5 -5
  201. package/dist/index10.vue.d.ts +3 -3
  202. package/dist/index11.vue.d.cts +3 -3
  203. package/dist/index11.vue.d.ts +2 -2
  204. package/dist/index12.vue.d.cts +2 -2
  205. package/dist/index13.vue.d.ts +1 -1
  206. package/dist/index14.vue.d.cts +1 -1
  207. package/dist/index14.vue.d.ts +11 -9
  208. package/dist/index15.vue.d.cts +11 -9
  209. package/dist/index15.vue.d.ts +3 -3
  210. package/dist/index16.vue.d.cts +3 -3
  211. package/dist/index16.vue.d.ts +13 -129
  212. package/dist/index17.vue.d.cts +13 -129
  213. package/dist/index17.vue.d.ts +129 -76
  214. package/dist/index18.vue.d.cts +129 -76
  215. package/dist/index18.vue.d.ts +75 -71
  216. package/dist/index19.vue.d.cts +75 -93
  217. package/dist/index19.vue.d.ts +68 -90
  218. package/dist/index2.vue.d.cts +2 -2
  219. package/dist/index2.vue.d.ts +2 -2
  220. package/dist/index20.vue.d.cts +87 -40
  221. package/dist/index20.vue.d.ts +87 -40
  222. package/dist/index21.vue.d.cts +40 -89
  223. package/dist/index21.vue.d.ts +40 -89
  224. package/dist/index22.vue.d.cts +95 -37
  225. package/dist/index22.vue.d.ts +95 -37
  226. package/dist/index23.vue.d.cts +34 -8
  227. package/dist/index23.vue.d.ts +34 -8
  228. package/dist/index24.vue.d.cts +12 -654
  229. package/dist/index24.vue.d.ts +12 -654
  230. package/dist/index25.vue.d.cts +650 -85
  231. package/dist/index25.vue.d.ts +650 -85
  232. package/dist/index26.vue.d.cts +85 -100
  233. package/dist/index26.vue.d.ts +85 -100
  234. package/dist/index27.vue.d.cts +92 -61
  235. package/dist/index27.vue.d.ts +92 -61
  236. package/dist/index28.vue.d.cts +80 -0
  237. package/dist/index28.vue.d.ts +80 -0
  238. package/dist/index3.vue.d.cts +5 -5
  239. package/dist/index3.vue.d.ts +5 -5
  240. package/dist/index5.vue.d.ts +2 -2
  241. package/dist/index6.vue.d.cts +2 -2
  242. package/dist/index6.vue.d.ts +1 -1
  243. package/dist/index7.vue.d.cts +1 -1
  244. package/dist/index7.vue.d.ts +2 -2
  245. package/dist/index8.vue.d.cts +2 -2
  246. package/dist/index8.vue.d.ts +3 -3
  247. package/dist/index9.vue.d.cts +3 -3
  248. package/dist/index9.vue.d.ts +5 -5
  249. package/dist/mapUtils.d.cts +2 -2
  250. package/dist/mapUtils.d.ts +2 -2
  251. package/dist/presets.d.cts +1 -1
  252. package/dist/presets.d.ts +1 -1
  253. package/dist/resolver.cjs +1 -1
  254. package/dist/resolver.d.cts +1 -1
  255. package/dist/resolver.d.ts +1 -1
  256. package/dist/resolver.js +1 -1
  257. package/dist/style.css +3205 -1982
  258. package/dist/useCollapsePanel.d.cts +2 -2
  259. package/dist/useCollapsePanel.d.ts +2 -2
  260. package/dist/useCropperCore.d.cts +8 -8
  261. package/dist/useCropperCore.d.ts +8 -8
  262. package/dist/useDraggableLayout.d.cts +5 -5
  263. package/dist/useDraggableLayout.d.ts +5 -5
  264. package/dist/useDynamicFormState.d.cts +2 -2
  265. package/dist/useDynamicFormState.d.ts +2 -2
  266. package/dist/useEdgeInteraction.d.cts +1 -1
  267. package/dist/useEdgeInteraction.d.ts +1 -1
  268. package/dist/useFullscreen.d.cts +2 -2
  269. package/dist/useFullscreen.d.ts +2 -2
  270. package/dist/useInfiniteScroll.d.cts +3 -3
  271. package/dist/useInfiniteScroll.d.ts +3 -3
  272. package/dist/useQRCode.d.cts +2 -2
  273. package/dist/useQRCode.d.ts +2 -2
  274. package/dist/useSearchState.d.cts +6 -6
  275. package/dist/useSearchState.d.ts +6 -6
  276. package/dist/useSignatureHistory.d.cts +6 -6
  277. package/dist/useSignatureHistory.d.ts +6 -6
  278. package/dist/useSplitResize.d.cts +4 -4
  279. package/dist/useSplitResize.d.ts +4 -4
  280. package/dist/useTableQuery.cjs +3 -3
  281. package/dist/useTableQuery.d.cts +3 -1
  282. package/dist/useTableQuery.d.ts +3 -1
  283. package/dist/useTableQuery.js +3 -3
  284. package/dist/useTimeSelection.d.cts +4 -4
  285. package/dist/useTimeSelection.d.ts +4 -4
  286. package/dist/useTreeOperations.d.cts +6 -6
  287. package/dist/useTreeOperations.d.ts +6 -6
  288. package/dist/useWorkflowValidation.d.cts +6 -6
  289. package/dist/useWorkflowValidation.d.ts +6 -6
  290. package/dist/verification.d.cts +2 -2
  291. package/dist/verification.d.ts +2 -2
  292. package/package.json +10 -3
package/dist/C_Menu2.cjs CHANGED
@@ -1 +1 @@
1
- require(`./chunk.cjs`);let e=require(`vue`),t=require(`naive-ui`),n=require(`@iconify/vue`);const r=e=>e.startsWith(`/`)?e:`/${e}`,i=e=>e.path?r(e.path):``,a=e=>e.meta?.title||e.name||``,o=e=>!e.meta?.hidden,s=t=>{if(t){if(typeof t==`string`)return()=>(0,e.h)(`span`,{class:`n-icon`,style:`display: inline-flex; align-items: center;`},[(0,e.h)(n.Icon,{icon:t})]);if(typeof t==`function`)return t}};function c(e,t={}){let{labelFormatter:n=e=>e,getKey:r=i,getLabel:c=a,filter:l=o,renderIcon:u=s,recursive:d=!0}=t,f=e=>e.filter(l).map(e=>{let t=e.meta?.icon||e.icon,i=d&&e.children?.length?f(e.children):void 0;return{key:r(e),label:n(c(e)),disabled:e.disabled||!1,icon:u(t),...e.type&&{type:e.type},...i?.length&&{children:i}}});return f(e)}function l(e,t=o){let n=[],r=e=>{for(let i of e)t(i)&&n.push(i),i.children?.length&&r(i.children)};return r(e),n}const u=(0,e.defineComponent)({name:`C_Menu`,__name:`index`,props:{options:{},routes:{},adapterConfig:{},labelFormatter:{},value:{},modelValue:{},expandedKeys:{},defaultExpandedKeys:{default:()=>[]},mode:{default:`vertical`},collapsed:{type:Boolean,default:!1},collapsedWidth:{default:64},collapsedIconSize:{default:22},inverted:{type:Boolean,default:!1},themeOverrides:{},indent:{default:24},rootIndent:{default:16},dropdownProps:{default:()=>({placement:`right-start`,trigger:`hover`,arrowStyle:{color:`var(--n-color)`}})}},emits:[`select`,`intent`,`update:modelValue`,`update:value`,`update:expandedKeys`],setup(n,{expose:r,emit:i}){let a=n,o=i,s=(0,e.ref)(null),l=(0,e.ref)([...a.defaultExpandedKeys]),u=(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),d=(0,e.computed)({get:()=>a.expandedKeys??l.value,set:e=>{u(d.value,e)||(l.value=e,o(`update:expandedKeys`,e))}}),f=(0,e.computed)(()=>a.modelValue===void 0?a.value??null:a.modelValue),p=(0,e.computed)(()=>{if(a.options)return a.options;if(a.routes){let e={...a.adapterConfig,...a.labelFormatter&&{labelFormatter:a.labelFormatter}};return c(a.routes,e)}return[]}),m=(e,t,n=[])=>{for(let r of e){let e=r.children;if(e?.length){let i=typeof r.key==`string`?[...n,r.key]:n;if(e.some(e=>e.key===t))return i;let a=m(e,t,i);if(a.length>0)return a}}return[]},h=e=>{let t=e.split(`/`).filter(Boolean),n=new Set,r=``;return t.forEach(e=>{r+=`/${e}`,n.add(r)}),m(p.value,e).forEach(e=>n.add(e)),n},g=e=>{e&&(e!==f.value&&(o(`update:modelValue`,e),o(`update:value`,e)),o(`select`,e))},_=e=>{let t=()=>{typeof e.key==`string`&&!e.children?.length&&o(`intent`,e.key)};return{onPointerenter:t,onFocusin:t}},v=e=>{d.value=e};return r({showOption:e=>s.value?.showOption(e),menuRef:s}),(0,e.watch)([f,p],([t])=>{if(!t)return;let n=h(t);d.value=Array.from(new Set([...d.value,...n])),(0,e.nextTick)(()=>s.value?.showOption(t))},{immediate:!0}),(r,i)=>{let a=t.NMenu;return(0,e.openBlock)(),(0,e.createBlock)(a,{ref_key:`menuRef`,ref:s,options:p.value,"expanded-keys":d.value,value:f.value,mode:n.mode,collapsed:n.collapsed,"collapsed-width":n.collapsedWidth,"collapsed-icon-size":n.collapsedIconSize,inverted:n.inverted,"theme-overrides":n.themeOverrides,"dropdown-props":n.dropdownProps,indent:n.indent,"root-indent":n.rootIndent,"node-props":_,"onUpdate:value":g,"onUpdate:expandedKeys":v},null,8,[`options`,`expanded-keys`,`value`,`mode`,`collapsed`,`collapsed-width`,`collapsed-icon-size`,`inverted`,`theme-overrides`,`dropdown-props`,`indent`,`root-indent`])}}});Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
1
+ require(`./chunk.cjs`);const e=require(`./export-helper.cjs`);let t=require(`vue`),n=require(`naive-ui`),r=require(`@iconify/vue`);const i=e=>e.startsWith(`/`)?e:`/${e}`,a=e=>e.path?i(e.path):``,o=e=>e.meta?.title||e.name||``,s=e=>!e.meta?.hidden,c=e=>{if(e){if(typeof e==`string`)return()=>(0,t.h)(`span`,{class:`n-icon`,style:`display: inline-flex; align-items: center;`},[(0,t.h)(r.Icon,{icon:e})]);if(typeof e==`function`)return e}};function l(e,t={}){let{labelFormatter:n=e=>e,getKey:r=a,getLabel:i=o,filter:l=s,renderIcon:u=c,recursive:d=!0}=t,f=e=>e.filter(l).map(e=>{let t=e.meta?.icon||e.icon,a=d&&e.children?.length?f(e.children):void 0;return{key:r(e),label:n(i(e)),disabled:e.disabled||!1,icon:u(t),...e.type&&{type:e.type},...a?.length&&{children:a}}});return f(e)}function u(e,t=s){let n=[],r=e=>{for(let i of e)t(i)&&n.push(i),i.children?.length&&r(i.children)};return r(e),n}const d=(0,t.defineComponent)({name:`C_Menu`,__name:`index`,props:{options:{},routes:{},adapterConfig:{},labelFormatter:{},value:{},modelValue:{},expandedKeys:{},defaultExpandedKeys:{default:()=>[]},mode:{default:`vertical`},collapsed:{type:Boolean,default:!1},collapsedWidth:{default:64},collapsedIconSize:{default:22},inverted:{type:Boolean,default:!1},themeOverrides:{},indent:{default:24},rootIndent:{default:16},dropdownProps:{default:()=>({placement:`right-start`,trigger:`hover`,arrowStyle:{color:`var(--n-color)`}})}},emits:[`select`,`intent`,`update:modelValue`,`update:value`,`update:expandedKeys`],setup(e,{expose:r,emit:i}){let a=e,o=i,s=(0,t.ref)(null),c=(0,t.ref)([...a.defaultExpandedKeys]),u=(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),d=(0,t.computed)({get:()=>a.expandedKeys??c.value,set:e=>{u(d.value,e)||(c.value=e,o(`update:expandedKeys`,e))}}),f=(0,t.computed)(()=>a.modelValue===void 0?a.value??null:a.modelValue),p=(0,t.computed)(()=>{if(a.options)return a.options;if(a.routes){let e={...a.adapterConfig,...a.labelFormatter&&{labelFormatter:a.labelFormatter}};return l(a.routes,e)}return[]}),m=(e,t,n=[])=>{for(let r of e){let e=r.children;if(e?.length){let i=typeof r.key==`string`?[...n,r.key]:n;if(e.some(e=>e.key===t))return i;let a=m(e,t,i);if(a.length>0)return a}}return[]},h=e=>{let t=e.split(`/`).filter(Boolean),n=new Set,r=``;return t.forEach(e=>{r+=`/${e}`,n.add(r)}),m(p.value,e).forEach(e=>n.add(e)),n},g=e=>{e&&(e!==f.value&&(o(`update:modelValue`,e),o(`update:value`,e)),o(`select`,e))},_=e=>{let t=()=>{typeof e.key==`string`&&!e.children?.length&&o(`intent`,e.key)};return{onPointerenter:t,onFocusin:t}},v=e=>{d.value=e};return r({showOption:e=>s.value?.showOption(e),menuRef:s}),(0,t.watch)([f,p],([e])=>{if(!e)return;let n=h(e);d.value=Array.from(new Set([...d.value,...n])),(0,t.nextTick)(()=>s.value?.showOption(e))},{immediate:!0}),(r,i)=>{let a=n.NMenu;return(0,t.openBlock)(),(0,t.createBlock)(a,{ref_key:`menuRef`,ref:s,options:p.value,"expanded-keys":d.value,value:f.value,mode:e.mode,collapsed:e.collapsed,"collapsed-width":e.collapsedWidth,"collapsed-icon-size":e.collapsedIconSize,inverted:e.inverted,"theme-overrides":e.themeOverrides,"dropdown-props":e.dropdownProps,indent:e.indent,"root-indent":e.rootIndent,"node-props":_,"onUpdate:value":g,"onUpdate:expandedKeys":v},null,8,[`options`,`expanded-keys`,`value`,`mode`,`collapsed`,`collapsed-width`,`collapsed-icon-size`,`inverted`,`theme-overrides`,`dropdown-props`,`indent`,`root-indent`])}}});var f=e.t(d,[[`__scopeId`,`data-v-4189f378`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
package/dist/C_Menu2.js CHANGED
@@ -1 +1 @@
1
- import{computed as e,createBlock as t,defineComponent as n,h as r,nextTick as i,openBlock as a,ref as o,resolveComponent as s,watch as c}from"vue";import{NMenu as l}from"naive-ui";import{Icon as u}from"@iconify/vue";const d=e=>e.startsWith(`/`)?e:`/${e}`,f=e=>e.path?d(e.path):``,p=e=>e.meta?.title||e.name||``,m=e=>!e.meta?.hidden,h=e=>{if(e){if(typeof e==`string`)return()=>r(`span`,{class:`n-icon`,style:`display: inline-flex; align-items: center;`},[r(u,{icon:e})]);if(typeof e==`function`)return e}};function g(e,t={}){let{labelFormatter:n=e=>e,getKey:r=f,getLabel:i=p,filter:a=m,renderIcon:o=h,recursive:s=!0}=t,c=e=>e.filter(a).map(e=>{let t=e.meta?.icon||e.icon,a=s&&e.children?.length?c(e.children):void 0;return{key:r(e),label:n(i(e)),disabled:e.disabled||!1,icon:o(t),...e.type&&{type:e.type},...a?.length&&{children:a}}});return c(e)}function _(e,t=m){let n=[],r=e=>{for(let i of e)t(i)&&n.push(i),i.children?.length&&r(i.children)};return r(e),n}const v=n({name:`C_Menu`,__name:`index`,props:{options:{},routes:{},adapterConfig:{},labelFormatter:{},value:{},modelValue:{},expandedKeys:{},defaultExpandedKeys:{default:()=>[]},mode:{default:`vertical`},collapsed:{type:Boolean,default:!1},collapsedWidth:{default:64},collapsedIconSize:{default:22},inverted:{type:Boolean,default:!1},themeOverrides:{},indent:{default:24},rootIndent:{default:16},dropdownProps:{default:()=>({placement:`right-start`,trigger:`hover`,arrowStyle:{color:`var(--n-color)`}})}},emits:[`select`,`intent`,`update:modelValue`,`update:value`,`update:expandedKeys`],setup(n,{expose:r,emit:s}){let u=n,d=s,f=o(null),p=o([...u.defaultExpandedKeys]),m=(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),h=e({get:()=>u.expandedKeys??p.value,set:e=>{m(h.value,e)||(p.value=e,d(`update:expandedKeys`,e))}}),_=e(()=>u.modelValue===void 0?u.value??null:u.modelValue),v=e(()=>{if(u.options)return u.options;if(u.routes){let e={...u.adapterConfig,...u.labelFormatter&&{labelFormatter:u.labelFormatter}};return g(u.routes,e)}return[]}),y=(e,t,n=[])=>{for(let r of e){let e=r.children;if(e?.length){let i=typeof r.key==`string`?[...n,r.key]:n;if(e.some(e=>e.key===t))return i;let a=y(e,t,i);if(a.length>0)return a}}return[]},b=e=>{let t=e.split(`/`).filter(Boolean),n=new Set,r=``;return t.forEach(e=>{r+=`/${e}`,n.add(r)}),y(v.value,e).forEach(e=>n.add(e)),n},x=e=>{e&&(e!==_.value&&(d(`update:modelValue`,e),d(`update:value`,e)),d(`select`,e))},S=e=>{let t=()=>{typeof e.key==`string`&&!e.children?.length&&d(`intent`,e.key)};return{onPointerenter:t,onFocusin:t}},C=e=>{h.value=e};return r({showOption:e=>f.value?.showOption(e),menuRef:f}),c([_,v],([e])=>{if(!e)return;let t=b(e);h.value=Array.from(new Set([...h.value,...t])),i(()=>f.value?.showOption(e))},{immediate:!0}),(e,r)=>{let i=l;return a(),t(i,{ref_key:`menuRef`,ref:f,options:v.value,"expanded-keys":h.value,value:_.value,mode:n.mode,collapsed:n.collapsed,"collapsed-width":n.collapsedWidth,"collapsed-icon-size":n.collapsedIconSize,inverted:n.inverted,"theme-overrides":n.themeOverrides,"dropdown-props":n.dropdownProps,indent:n.indent,"root-indent":n.rootIndent,"node-props":S,"onUpdate:value":x,"onUpdate:expandedKeys":C},null,8,[`options`,`expanded-keys`,`value`,`mode`,`collapsed`,`collapsed-width`,`collapsed-icon-size`,`inverted`,`theme-overrides`,`dropdown-props`,`indent`,`root-indent`])}}});export{g as n,_ as r,v as t};
1
+ import{t as e}from"./export-helper.js";import{computed as t,createBlock as n,defineComponent as r,h as i,nextTick as a,openBlock as o,ref as s,resolveComponent as c,watch as l}from"vue";import{NMenu as u}from"naive-ui";import{Icon as d}from"@iconify/vue";const f=e=>e.startsWith(`/`)?e:`/${e}`,p=e=>e.path?f(e.path):``,m=e=>e.meta?.title||e.name||``,h=e=>!e.meta?.hidden,g=e=>{if(e){if(typeof e==`string`)return()=>i(`span`,{class:`n-icon`,style:`display: inline-flex; align-items: center;`},[i(d,{icon:e})]);if(typeof e==`function`)return e}};function _(e,t={}){let{labelFormatter:n=e=>e,getKey:r=p,getLabel:i=m,filter:a=h,renderIcon:o=g,recursive:s=!0}=t,c=e=>e.filter(a).map(e=>{let t=e.meta?.icon||e.icon,a=s&&e.children?.length?c(e.children):void 0;return{key:r(e),label:n(i(e)),disabled:e.disabled||!1,icon:o(t),...e.type&&{type:e.type},...a?.length&&{children:a}}});return c(e)}function v(e,t=h){let n=[],r=e=>{for(let i of e)t(i)&&n.push(i),i.children?.length&&r(i.children)};return r(e),n}var y=e(r({name:`C_Menu`,__name:`index`,props:{options:{},routes:{},adapterConfig:{},labelFormatter:{},value:{},modelValue:{},expandedKeys:{},defaultExpandedKeys:{default:()=>[]},mode:{default:`vertical`},collapsed:{type:Boolean,default:!1},collapsedWidth:{default:64},collapsedIconSize:{default:22},inverted:{type:Boolean,default:!1},themeOverrides:{},indent:{default:24},rootIndent:{default:16},dropdownProps:{default:()=>({placement:`right-start`,trigger:`hover`,arrowStyle:{color:`var(--n-color)`}})}},emits:[`select`,`intent`,`update:modelValue`,`update:value`,`update:expandedKeys`],setup(e,{expose:r,emit:i}){let c=e,d=i,f=s(null),p=s([...c.defaultExpandedKeys]),m=(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),h=t({get:()=>c.expandedKeys??p.value,set:e=>{m(h.value,e)||(p.value=e,d(`update:expandedKeys`,e))}}),g=t(()=>c.modelValue===void 0?c.value??null:c.modelValue),v=t(()=>{if(c.options)return c.options;if(c.routes){let e={...c.adapterConfig,...c.labelFormatter&&{labelFormatter:c.labelFormatter}};return _(c.routes,e)}return[]}),y=(e,t,n=[])=>{for(let r of e){let e=r.children;if(e?.length){let i=typeof r.key==`string`?[...n,r.key]:n;if(e.some(e=>e.key===t))return i;let a=y(e,t,i);if(a.length>0)return a}}return[]},b=e=>{let t=e.split(`/`).filter(Boolean),n=new Set,r=``;return t.forEach(e=>{r+=`/${e}`,n.add(r)}),y(v.value,e).forEach(e=>n.add(e)),n},x=e=>{e&&(e!==g.value&&(d(`update:modelValue`,e),d(`update:value`,e)),d(`select`,e))},S=e=>{let t=()=>{typeof e.key==`string`&&!e.children?.length&&d(`intent`,e.key)};return{onPointerenter:t,onFocusin:t}},C=e=>{h.value=e};return r({showOption:e=>f.value?.showOption(e),menuRef:f}),l([g,v],([e])=>{if(!e)return;let t=b(e);h.value=Array.from(new Set([...h.value,...t])),a(()=>f.value?.showOption(e))},{immediate:!0}),(t,r)=>{let i=u;return o(),n(i,{ref_key:`menuRef`,ref:f,options:v.value,"expanded-keys":h.value,value:g.value,mode:e.mode,collapsed:e.collapsed,"collapsed-width":e.collapsedWidth,"collapsed-icon-size":e.collapsedIconSize,inverted:e.inverted,"theme-overrides":e.themeOverrides,"dropdown-props":e.dropdownProps,indent:e.indent,"root-indent":e.rootIndent,"node-props":S,"onUpdate:value":x,"onUpdate:expandedKeys":C},null,8,[`options`,`expanded-keys`,`value`,`mode`,`collapsed`,`collapsed-width`,`collapsed-icon-size`,`inverted`,`theme-overrides`,`dropdown-props`,`indent`,`root-indent`])}}}),[[`__scopeId`,`data-v-4189f378`]]);export{_ as n,v as r,y as t};
@@ -1,9 +1,9 @@
1
- /* unplugin-vue-components disabled */.notification-badge[data-v-082ef9da] {
1
+ /* unplugin-vue-components disabled */.notification-badge[data-v-51516250] {
2
2
  position: relative;
3
3
  display: inline-flex;
4
4
  align-items: center;
5
5
  }
6
- .notification-badge__trigger[data-v-082ef9da] {
6
+ .notification-badge__trigger[data-v-51516250] {
7
7
  appearance: none;
8
8
  border: 0;
9
9
  background: transparent;
@@ -18,21 +18,21 @@
18
18
  border-radius: 6px;
19
19
  transition: all var(--c-transition, 0.2s ease);
20
20
  }
21
- .notification-badge__trigger[data-v-082ef9da]:hover {
21
+ .notification-badge__trigger[data-v-51516250]:hover {
22
22
  background-color: var(--c-border);
23
23
  }
24
- .notification-badge__trigger:hover .notification-badge__icon[data-v-082ef9da] {
24
+ .notification-badge__trigger:hover .notification-badge__icon[data-v-51516250] {
25
25
  color: var(--c-primary);
26
26
  }
27
- .notification-badge__trigger[data-v-082ef9da]:focus-visible {
27
+ .notification-badge__trigger[data-v-51516250]:focus-visible {
28
28
  outline: 2px solid var(--c-primary);
29
29
  outline-offset: 2px;
30
30
  }
31
- .notification-badge__icon[data-v-082ef9da] {
31
+ .notification-badge__icon[data-v-51516250] {
32
32
  color: var(--c-text-2);
33
33
  transition: color var(--c-transition, 0.2s ease);
34
34
  }
35
- .notification-badge__count[data-v-082ef9da] {
35
+ .notification-badge__count[data-v-51516250] {
36
36
  position: absolute;
37
37
  top: -2px;
38
38
  right: -4px;
@@ -50,7 +50,7 @@
50
50
  pointer-events: none;
51
51
  box-shadow: 0 0 0 2px var(--c-bg);
52
52
  }
53
- .notification-badge__pulse[data-v-082ef9da] {
53
+ .notification-badge__pulse[data-v-51516250] {
54
54
  position: absolute;
55
55
  top: -2px;
56
56
  right: -4px;
@@ -58,10 +58,10 @@
58
58
  height: 16px;
59
59
  border-radius: 50%;
60
60
  background: rgba(245, 34, 45, 0.4);
61
- animation: pulse-ring-082ef9da 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
61
+ animation: pulse-ring-51516250 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
62
62
  pointer-events: none;
63
63
  }
64
- @keyframes pulse-ring-082ef9da {
64
+ @keyframes pulse-ring-51516250 {
65
65
  0% {
66
66
  transform: scale(0.8);
67
67
  opacity: 1;
@@ -71,13 +71,13 @@
71
71
  opacity: 0;
72
72
  }
73
73
  }
74
- .badge-bounce-enter-active[data-v-082ef9da] {
75
- animation: badge-in-082ef9da 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
74
+ .badge-bounce-enter-active[data-v-51516250] {
75
+ animation: badge-in-51516250 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
76
76
  }
77
- .badge-bounce-leave-active[data-v-082ef9da] {
78
- animation: badge-in-082ef9da 0.2s ease reverse;
77
+ .badge-bounce-leave-active[data-v-51516250] {
78
+ animation: badge-in-51516250 0.2s ease reverse;
79
79
  }
80
- @keyframes badge-in-082ef9da {
80
+ @keyframes badge-in-51516250 {
81
81
  0% {
82
82
  transform: scale(0);
83
83
  opacity: 0;
@@ -87,7 +87,18 @@
87
87
  opacity: 1;
88
88
  }
89
89
  }
90
- /* unplugin-vue-components disabled */.notification-item[data-v-0104dbfc] {
90
+ /* unplugin-vue-components disabled */
91
+ /* layer: default */
92
+ .absolute[data-v-51516250]{position:absolute;}
93
+ .relative[data-v-51516250]{position:relative;}
94
+ .inline-flex[data-v-51516250]{display:inline-flex;}
95
+ .transform[data-v-51516250]{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
96
+ .border[data-v-51516250]{border-width:1px;}
97
+ .outline[data-v-51516250]{outline-style:solid;}
98
+ .transition[data-v-51516250]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
99
+ .ease[data-v-51516250]{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);}
100
+
101
+ /* unplugin-vue-components disabled */.notification-item[data-v-2f1c8e96] {
91
102
  display: flex;
92
103
  align-items: flex-start;
93
104
  gap: 10px;
@@ -96,58 +107,58 @@
96
107
  transition: background-color var(--c-transition, 0.2s ease);
97
108
  border-bottom: 1px solid var(--c-border);
98
109
  }
99
- .notification-item[data-v-0104dbfc]:last-child {
110
+ .notification-item[data-v-2f1c8e96]:last-child {
100
111
  border-bottom: none;
101
112
  }
102
- .notification-item[data-v-0104dbfc]:hover {
113
+ .notification-item[data-v-2f1c8e96]:hover {
103
114
  background-color: var(--c-bg-card);
104
115
  }
105
- .notification-item:hover .notification-item__actions[data-v-0104dbfc] {
116
+ .notification-item:hover .notification-item__actions[data-v-2f1c8e96] {
106
117
  opacity: 1;
107
118
  }
108
- .notification-item--unread[data-v-0104dbfc] {
119
+ .notification-item--unread[data-v-2f1c8e96] {
109
120
  background-color: color-mix(in srgb, var(--c-primary) 4%, transparent);
110
121
  }
111
- .notification-item--unread[data-v-0104dbfc]:hover {
122
+ .notification-item--unread[data-v-2f1c8e96]:hover {
112
123
  background-color: color-mix(in srgb, var(--c-primary) 8%, transparent);
113
124
  }
114
- .notification-item--urgent[data-v-0104dbfc] {
125
+ .notification-item--urgent[data-v-2f1c8e96] {
115
126
  border-left: 3px solid #f5222d;
116
127
  padding-left: 13px;
117
128
  }
118
- .notification-item[data-v-0104dbfc] {
129
+ .notification-item[data-v-2f1c8e96] {
119
130
  /* ─── 子元素 ──────────────────────────── */
120
131
  }
121
- .notification-item__indicator[data-v-0104dbfc] {
132
+ .notification-item__indicator[data-v-2f1c8e96] {
122
133
  flex-shrink: 0;
123
134
  width: 8px;
124
135
  display: flex;
125
136
  align-items: center;
126
137
  padding-top: 14px;
127
138
  }
128
- .notification-item__dot[data-v-0104dbfc] {
139
+ .notification-item__dot[data-v-2f1c8e96] {
129
140
  width: 6px;
130
141
  height: 6px;
131
142
  border-radius: 50%;
132
143
  background: var(--c-primary);
133
144
  }
134
- .notification-item__dot--urgent[data-v-0104dbfc] {
145
+ .notification-item__dot--urgent[data-v-2f1c8e96] {
135
146
  background: #f5222d;
136
147
  box-shadow: 0 0 4px rgba(245, 34, 45, 0.5);
137
148
  }
138
- .notification-item__dot--high[data-v-0104dbfc] {
149
+ .notification-item__dot--high[data-v-2f1c8e96] {
139
150
  background: #fa8c16;
140
151
  }
141
- .notification-item__dot--normal[data-v-0104dbfc] {
152
+ .notification-item__dot--normal[data-v-2f1c8e96] {
142
153
  background: var(--c-primary);
143
154
  }
144
- .notification-item__dot--low[data-v-0104dbfc] {
155
+ .notification-item__dot--low[data-v-2f1c8e96] {
145
156
  background: var(--c-text-4);
146
157
  }
147
- .notification-item__avatar[data-v-0104dbfc] {
158
+ .notification-item__avatar[data-v-2f1c8e96] {
148
159
  flex-shrink: 0;
149
160
  }
150
- .notification-item__avatar-placeholder[data-v-0104dbfc] {
161
+ .notification-item__avatar-placeholder[data-v-2f1c8e96] {
151
162
  width: 36px;
152
163
  height: 36px;
153
164
  border-radius: 50%;
@@ -157,27 +168,27 @@
157
168
  font-size: 16px;
158
169
  color: #fff;
159
170
  }
160
- .notification-item__avatar-placeholder--system[data-v-0104dbfc] {
171
+ .notification-item__avatar-placeholder--system[data-v-2f1c8e96] {
161
172
  background: linear-gradient(135deg, #667eea, #764ba2);
162
173
  }
163
- .notification-item__avatar-placeholder--business[data-v-0104dbfc] {
174
+ .notification-item__avatar-placeholder--business[data-v-2f1c8e96] {
164
175
  background: linear-gradient(135deg, #43e97b, #38f9d7);
165
176
  color: #0d1425;
166
177
  }
167
- .notification-item__avatar-placeholder--alarm[data-v-0104dbfc] {
178
+ .notification-item__avatar-placeholder--alarm[data-v-2f1c8e96] {
168
179
  background: linear-gradient(135deg, #f093fb, #f5576c);
169
180
  }
170
- .notification-item__body[data-v-0104dbfc] {
181
+ .notification-item__body[data-v-2f1c8e96] {
171
182
  flex: 1;
172
183
  min-width: 0;
173
184
  }
174
- .notification-item__header[data-v-0104dbfc] {
185
+ .notification-item__header[data-v-2f1c8e96] {
175
186
  display: flex;
176
187
  align-items: center;
177
188
  gap: 6px;
178
189
  margin-bottom: 4px;
179
190
  }
180
- .notification-item__title[data-v-0104dbfc] {
191
+ .notification-item__title[data-v-2f1c8e96] {
181
192
  font-size: 13px;
182
193
  font-weight: 500;
183
194
  color: var(--c-text-1);
@@ -186,7 +197,7 @@
186
197
  text-overflow: ellipsis;
187
198
  white-space: nowrap;
188
199
  }
189
- .notification-item__summary[data-v-0104dbfc] {
200
+ .notification-item__summary[data-v-2f1c8e96] {
190
201
  font-size: 12px;
191
202
  color: var(--c-text-2);
192
203
  line-height: 1.5;
@@ -196,21 +207,21 @@
196
207
  -webkit-box-orient: vertical;
197
208
  overflow: hidden;
198
209
  }
199
- .notification-item__meta[data-v-0104dbfc] {
210
+ .notification-item__meta[data-v-2f1c8e96] {
200
211
  display: flex;
201
212
  align-items: center;
202
213
  gap: 8px;
203
214
  margin-top: 6px;
204
215
  }
205
- .notification-item__time[data-v-0104dbfc], .notification-item__sender[data-v-0104dbfc] {
216
+ .notification-item__time[data-v-2f1c8e96], .notification-item__sender[data-v-2f1c8e96] {
206
217
  font-size: 11px;
207
218
  color: var(--c-text-4);
208
219
  }
209
- .notification-item__sender[data-v-0104dbfc]::before {
220
+ .notification-item__sender[data-v-2f1c8e96]::before {
210
221
  content: "·";
211
222
  margin-right: 8px;
212
223
  }
213
- .notification-item__actions[data-v-0104dbfc] {
224
+ .notification-item__actions[data-v-2f1c8e96] {
214
225
  flex-shrink: 0;
215
226
  display: flex;
216
227
  align-items: center;
@@ -218,7 +229,7 @@
218
229
  opacity: 0;
219
230
  transition: opacity var(--c-transition, 0.2s ease);
220
231
  }
221
- .notification-item__action[data-v-0104dbfc] {
232
+ .notification-item__action[data-v-2f1c8e96] {
222
233
  display: inline-flex;
223
234
  align-items: center;
224
235
  justify-content: center;
@@ -230,16 +241,24 @@
230
241
  color: var(--c-text-4);
231
242
  transition: all var(--c-transition, 0.2s ease);
232
243
  }
233
- .notification-item__action[data-v-0104dbfc]:hover {
244
+ .notification-item__action[data-v-2f1c8e96]:hover {
234
245
  color: var(--c-primary);
235
246
  background-color: var(--c-border);
236
247
  }
237
- /* unplugin-vue-components disabled */.notification-list__tabs[data-v-47e5497f] {
248
+ /* unplugin-vue-components disabled */
249
+ /* layer: default */
250
+ .hidden[data-v-2f1c8e96]{display:none;}
251
+ .flex[data-v-2f1c8e96]{display:flex;}
252
+ .inline-flex[data-v-2f1c8e96]{display:inline-flex;}
253
+ .flex-shrink[data-v-2f1c8e96]{flex-shrink:1;}
254
+ .transition[data-v-2f1c8e96]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
255
+
256
+ /* unplugin-vue-components disabled */.notification-list__tabs[data-v-d366768f] {
238
257
  display: flex;
239
258
  border-bottom: 1px solid var(--c-border);
240
259
  padding: 0 4px;
241
260
  }
242
- .notification-list__tab[data-v-47e5497f] {
261
+ .notification-list__tab[data-v-d366768f] {
243
262
  position: relative;
244
263
  display: flex;
245
264
  align-items: center;
@@ -251,7 +270,7 @@
251
270
  transition: all var(--c-transition, 0.2s ease);
252
271
  user-select: none;
253
272
  }
254
- .notification-list__tab[data-v-47e5497f]::after {
273
+ .notification-list__tab[data-v-d366768f]::after {
255
274
  content: "";
256
275
  position: absolute;
257
276
  bottom: 0;
@@ -262,17 +281,17 @@
262
281
  border-radius: 1px;
263
282
  transition: background var(--c-transition, 0.2s ease);
264
283
  }
265
- .notification-list__tab[data-v-47e5497f]:hover {
284
+ .notification-list__tab[data-v-d366768f]:hover {
266
285
  color: var(--c-text-1);
267
286
  }
268
- .notification-list__tab--active[data-v-47e5497f] {
287
+ .notification-list__tab--active[data-v-d366768f] {
269
288
  color: var(--c-primary);
270
289
  font-weight: 500;
271
290
  }
272
- .notification-list__tab--active[data-v-47e5497f]::after {
291
+ .notification-list__tab--active[data-v-d366768f]::after {
273
292
  background: var(--c-primary);
274
293
  }
275
- .notification-list__tab-count[data-v-47e5497f] {
294
+ .notification-list__tab-count[data-v-d366768f] {
276
295
  min-width: 16px;
277
296
  height: 16px;
278
297
  padding: 0 4px;
@@ -284,7 +303,7 @@
284
303
  line-height: 16px;
285
304
  text-align: center;
286
305
  }
287
- .notification-list__toolbar[data-v-47e5497f] {
306
+ .notification-list__toolbar[data-v-d366768f] {
288
307
  display: flex;
289
308
  align-items: center;
290
309
  justify-content: flex-end;
@@ -292,22 +311,22 @@
292
311
  padding: 6px 16px;
293
312
  border-bottom: 1px solid var(--c-border);
294
313
  }
295
- .notification-list__scroll[data-v-47e5497f] {
314
+ .notification-list__scroll[data-v-d366768f] {
296
315
  flex: 1;
297
316
  }
298
- .notification-list__skeleton[data-v-47e5497f] {
317
+ .notification-list__skeleton[data-v-d366768f] {
299
318
  display: flex;
300
319
  align-items: flex-start;
301
320
  gap: 12px;
302
321
  padding: 14px 16px;
303
322
  }
304
- .notification-list__skeleton-text[data-v-47e5497f] {
323
+ .notification-list__skeleton-text[data-v-d366768f] {
305
324
  flex: 1;
306
325
  display: flex;
307
326
  flex-direction: column;
308
327
  gap: 8px;
309
328
  }
310
- .notification-list__load-more[data-v-47e5497f] {
329
+ .notification-list__load-more[data-v-d366768f] {
311
330
  display: flex;
312
331
  align-items: center;
313
332
  justify-content: center;
@@ -318,10 +337,10 @@
318
337
  cursor: pointer;
319
338
  transition: color var(--c-transition, 0.2s ease);
320
339
  }
321
- .notification-list__load-more[data-v-47e5497f]:hover {
340
+ .notification-list__load-more[data-v-d366768f]:hover {
322
341
  color: var(--c-primary);
323
342
  }
324
- .notification-list__empty[data-v-47e5497f] {
343
+ .notification-list__empty[data-v-d366768f] {
325
344
  display: flex;
326
345
  flex-direction: column;
327
346
  align-items: center;
@@ -329,45 +348,54 @@
329
348
  padding: 60px 0;
330
349
  gap: 12px;
331
350
  }
332
- .notification-list__empty-icon[data-v-47e5497f] {
351
+ .notification-list__empty-icon[data-v-d366768f] {
333
352
  color: var(--c-text-4);
334
353
  opacity: 0.5;
335
354
  }
336
- .notification-list__empty-text[data-v-47e5497f] {
355
+ .notification-list__empty-text[data-v-d366768f] {
337
356
  font-size: 13px;
338
357
  color: var(--c-text-4);
339
358
  }
340
- /* unplugin-vue-components disabled */.notification-detail[data-v-dd3085a7] {
359
+ /* unplugin-vue-components disabled */
360
+ /* layer: default */
361
+ .absolute[data-v-d366768f]{position:absolute;}
362
+ .relative[data-v-d366768f]{position:relative;}
363
+ .flex[data-v-d366768f]{display:flex;}
364
+ .px[data-v-d366768f]{padding-left:1rem;padding-right:1rem;}
365
+ .tab[data-v-d366768f]{-moz-tab-size:4;-o-tab-size:4;tab-size:4;}
366
+ .transition[data-v-d366768f]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
367
+
368
+ /* unplugin-vue-components disabled */.notification-detail[data-v-8e02b6cd] {
341
369
  display: flex;
342
370
  flex-direction: column;
343
371
  height: 100%;
344
372
  }
345
- .notification-detail__back[data-v-dd3085a7] {
373
+ .notification-detail__back[data-v-8e02b6cd] {
346
374
  padding: 8px 16px;
347
375
  border-bottom: 1px solid var(--c-border);
348
376
  }
349
- .notification-detail__header[data-v-dd3085a7] {
377
+ .notification-detail__header[data-v-8e02b6cd] {
350
378
  padding: 16px;
351
379
  border-bottom: 1px solid var(--c-border);
352
380
  }
353
- .notification-detail__title[data-v-dd3085a7] {
381
+ .notification-detail__title[data-v-8e02b6cd] {
354
382
  font-size: 15px;
355
383
  font-weight: 600;
356
384
  color: var(--c-text-1);
357
385
  line-height: 1.5;
358
386
  margin: 0 0 8px;
359
387
  }
360
- .notification-detail__meta[data-v-dd3085a7] {
388
+ .notification-detail__meta[data-v-8e02b6cd] {
361
389
  display: flex;
362
390
  align-items: center;
363
391
  gap: 8px;
364
392
  flex-wrap: wrap;
365
393
  }
366
- .notification-detail__time[data-v-dd3085a7] {
394
+ .notification-detail__time[data-v-8e02b6cd] {
367
395
  font-size: 11px;
368
396
  color: var(--c-text-4);
369
397
  }
370
- .notification-detail__sender[data-v-dd3085a7] {
398
+ .notification-detail__sender[data-v-8e02b6cd] {
371
399
  display: flex;
372
400
  align-items: center;
373
401
  gap: 6px;
@@ -375,82 +403,88 @@
375
403
  font-size: 12px;
376
404
  color: var(--c-text-2);
377
405
  }
378
- .notification-detail__content[data-v-dd3085a7] {
406
+ .notification-detail__content[data-v-8e02b6cd] {
379
407
  flex: 1;
380
408
  min-height: 0;
381
409
  }
382
- .notification-detail__body[data-v-dd3085a7] {
410
+ .notification-detail__body[data-v-8e02b6cd] {
383
411
  padding: 16px;
384
412
  font-size: 13px;
385
413
  line-height: 1.7;
386
414
  color: var(--c-text-1);
387
415
  word-break: break-word;
388
416
  }
389
- .notification-detail__body[data-v-dd3085a7] p {
417
+ .notification-detail__body[data-v-8e02b6cd] p {
390
418
  margin: 0 0 8px;
391
419
  }
392
- .notification-detail__body[data-v-dd3085a7] ul,
393
- .notification-detail__body[data-v-dd3085a7] ol {
420
+ .notification-detail__body[data-v-8e02b6cd] ul,
421
+ .notification-detail__body[data-v-8e02b6cd] ol {
394
422
  padding-left: 20px;
395
423
  margin: 8px 0;
396
424
  }
397
- .notification-detail__body[data-v-dd3085a7] li {
425
+ .notification-detail__body[data-v-8e02b6cd] li {
398
426
  margin: 4px 0;
399
427
  }
400
- .notification-detail__body[data-v-dd3085a7] strong {
428
+ .notification-detail__body[data-v-8e02b6cd] strong {
401
429
  font-weight: 600;
402
430
  color: var(--c-primary);
403
431
  }
404
- .notification-detail__footer[data-v-dd3085a7] {
432
+ .notification-detail__footer[data-v-8e02b6cd] {
405
433
  padding: 12px 16px;
406
434
  border-top: 1px solid var(--c-border);
407
435
  display: flex;
408
436
  justify-content: flex-end;
409
437
  }
410
- /* unplugin-vue-components disabled */.c-notification-center[data-v-67b5bf1b] {
438
+ /* unplugin-vue-components disabled */
439
+ /* layer: default */
440
+ .flex[data-v-8e02b6cd]{display:flex;}
441
+ .flex-wrap[data-v-8e02b6cd]{flex-wrap:wrap;}
442
+ .px[data-v-8e02b6cd]{padding-left:1rem;padding-right:1rem;}
443
+
444
+ /* unplugin-vue-components disabled */.c-notification-center[data-v-a06c4b3a] {
411
445
  display: inline-flex;
412
446
  align-items: center;
413
447
  }
414
- .c-notification-center__panel[data-v-67b5bf1b] {
448
+ .c-notification-center__panel[data-v-a06c4b3a] {
415
449
  display: flex;
416
450
  flex-direction: column;
417
451
  max-height: 560px;
418
452
  }
419
- .c-notification-center__header[data-v-67b5bf1b] {
453
+ .c-notification-center__header[data-v-a06c4b3a] {
420
454
  display: flex;
421
455
  align-items: center;
422
456
  justify-content: space-between;
423
457
  padding: 14px 16px 10px;
424
458
  border-bottom: 1px solid var(--c-border);
425
459
  }
426
- .c-notification-center__title[data-v-67b5bf1b] {
460
+ .c-notification-center__title[data-v-a06c4b3a] {
427
461
  font-size: 15px;
428
462
  font-weight: 600;
429
463
  color: var(--c-text-1);
430
464
  }
431
- .c-notification-center__header-extra[data-v-67b5bf1b] {
465
+ .c-notification-center__header-extra[data-v-a06c4b3a] {
432
466
  display: flex;
433
467
  align-items: center;
434
468
  gap: 8px;
435
469
  }
436
- .c-notification-center__ws-dot[data-v-67b5bf1b] {
470
+ .c-notification-center__ws-dot[data-v-a06c4b3a] {
437
471
  width: 8px;
438
472
  height: 8px;
439
473
  border-radius: 50%;
440
474
  transition: background-color var(--c-transition, 0.2s ease);
441
475
  }
442
- .c-notification-center__ws-dot--connected[data-v-67b5bf1b] {
476
+ .c-notification-center__ws-dot--connected[data-v-a06c4b3a] {
443
477
  background: #52c41a;
444
478
  box-shadow: 0 0 4px rgba(82, 196, 26, 0.5);
445
479
  }
446
- .c-notification-center__ws-dot--connecting[data-v-67b5bf1b], .c-notification-center__ws-dot--reconnecting[data-v-67b5bf1b] {
480
+ .c-notification-center__ws-dot--connecting[data-v-a06c4b3a], .c-notification-center__ws-dot--reconnecting[data-v-a06c4b3a] {
447
481
  background: #faad14;
448
- animation: status-blink-67b5bf1b 1s ease-in-out infinite;
482
+ animation: status-blink-a06c4b3a 1s ease-in-out infinite;
449
483
  }
450
- .c-notification-center__ws-dot--disconnected[data-v-67b5bf1b] {
484
+ .c-notification-center__ws-dot--disconnected[data-v-a06c4b3a] {
451
485
  background: var(--c-text-4);
452
486
  }
453
- @keyframes status-blink-67b5bf1b {
487
+ @keyframes status-blink-a06c4b3a {
454
488
  0%, 100% {
455
489
  opacity: 1;
456
490
  }
@@ -459,17 +493,17 @@
459
493
  }
460
494
  }
461
495
  /* ─── 切换过渡 ───────────────────────────────── */
462
- .slide-fade-enter-active[data-v-67b5bf1b] {
496
+ .slide-fade-enter-active[data-v-a06c4b3a] {
463
497
  transition: all 0.25s ease-out;
464
498
  }
465
- .slide-fade-leave-active[data-v-67b5bf1b] {
499
+ .slide-fade-leave-active[data-v-a06c4b3a] {
466
500
  transition: all 0.2s ease-in;
467
501
  }
468
- .slide-fade-enter-from[data-v-67b5bf1b] {
502
+ .slide-fade-enter-from[data-v-a06c4b3a] {
469
503
  opacity: 0;
470
504
  transform: translateY(8px);
471
505
  }
472
- .slide-fade-leave-to[data-v-67b5bf1b] {
506
+ .slide-fade-leave-to[data-v-a06c4b3a] {
473
507
  opacity: 0;
474
508
  transform: translateY(-8px);
475
509
  }
@@ -512,3 +546,13 @@
512
546
  overflow: hidden;
513
547
  box-shadow: var(--c-shadow, 0 12px 32px rgba(0, 0, 0, 0.1)) !important;
514
548
  }
549
+ /* unplugin-vue-components disabled */
550
+ /* layer: default */
551
+ .flex[data-v-a06c4b3a]{display:flex;}
552
+ .inline-flex[data-v-a06c4b3a]{display:inline-flex;}
553
+ .transform[data-v-a06c4b3a]{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
554
+ .transition[data-v-a06c4b3a]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
555
+ .ease-in[data-v-a06c4b3a]{transition-timing-function:cubic-bezier(0.4, 0, 1, 1);}
556
+ .ease-in-out[data-v-a06c4b3a]{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);}
557
+ .ease-out[data-v-a06c4b3a]{transition-timing-function:cubic-bezier(0, 0, 0.2, 1);}
558
+