@fewangsit/wangsvue 1.5.219-alpha.0 → 1.5.219-alpha.2

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 (598) hide show
  1. package/animation/index.es.js +54 -37
  2. package/assets/lottiejs/loading-page.es.js +14 -9
  3. package/assets/lottiejs/loading-plane.es.js +2 -2
  4. package/assets/lottiejs/loading-table.es.js +14 -9
  5. package/assets/lottiejs/no-data.es.js +14 -9
  6. package/backgroundimagecropper/index.es.js +61 -37
  7. package/badge/index.es.js +77 -67
  8. package/badgegroup/index.es.js +62 -50
  9. package/basecalendar/index.es.js +1258 -735
  10. package/basetree/index.es.js +213 -113
  11. package/breadcrumb/index.es.js +46 -38
  12. package/button/index.es.js +60 -54
  13. package/buttonbulkaction/index.es.js +168 -117
  14. package/buttoncopy/index.es.js +25 -22
  15. package/buttondownload/index.es.js +125 -76
  16. package/buttonfilter/index.es.js +21 -15
  17. package/buttonradio/index.es.js +91 -67
  18. package/buttonsearch/index.es.js +62 -46
  19. package/buttonselecttree/index.es.js +233 -172
  20. package/buttontoggle/index.es.js +8 -6
  21. package/calendar/index.es.js +113 -58
  22. package/card/index.es.js +44 -42
  23. package/checkbox/index.es.js +105 -74
  24. package/codesnippet/index.es.js +91 -71
  25. package/codesnippetadapter/index.es.js +25 -21
  26. package/columnlist/index.es.js +249 -171
  27. package/components.d.ts +0 -21
  28. package/config/defaultProps.es.js +9 -9
  29. package/config/index.es.js +11 -10
  30. package/config/locale.es.js +2 -2
  31. package/customcolumn/index.es.js +95 -78
  32. package/datatable/index.es.js +1071 -732
  33. package/dialog/index.es.js +54 -54
  34. package/dialogconfirm/index.es.js +90 -75
  35. package/dialogform/index.es.js +170 -133
  36. package/dialogselecttree/index.es.js +242 -194
  37. package/directives/focus.es.js +13 -8
  38. package/dropdown/index.es.js +250 -196
  39. package/editor/index.es.js +694 -498
  40. package/editorbutton/index.es.js +21 -19
  41. package/event-bus/index.es.js +3 -3
  42. package/event-bus/mitt.es.js +37 -20
  43. package/fieldwrapper/index.es.js +30 -25
  44. package/fileupload/index.es.js +230 -140
  45. package/filtercontainer/index.es.js +299 -222
  46. package/form/index.es.js +176 -126
  47. package/gallerypreview/index.es.js +138 -101
  48. package/icon/index.es.js +38 -36
  49. package/image/index.es.js +161 -108
  50. package/imagecompressor/index.es.js +616 -449
  51. package/imageinputinfo/index.es.js +26 -22
  52. package/inlinemessage/index.es.js +77 -65
  53. package/inputbadge/index.es.js +230 -156
  54. package/inputcurrency/index.es.js +146 -109
  55. package/inputemail/index.es.js +18 -16
  56. package/inputgroup/index.es.js +19 -16
  57. package/inputnumber/index.es.js +252 -182
  58. package/inputpassword/index.es.js +120 -94
  59. package/inputphonenumber/index.es.js +1017 -550
  60. package/inputrangenumber/index.es.js +129 -98
  61. package/inputtext/index.es.js +264 -189
  62. package/inputurl/index.es.js +31 -29
  63. package/invisiblefield/index.es.js +24 -16
  64. package/litedropdown/index.es.js +87 -81
  65. package/loading/index.es.js +21 -19
  66. package/loading-page-BXZ4fLOS.js +8 -0
  67. package/loading-page-BuLpsb_1.js +8 -0
  68. package/loading-page-CNqVBg__.js +4 -0
  69. package/loading-page-DbhhZih2.js +4 -0
  70. package/loading-page-DjfWXoOy.js +8 -0
  71. package/loading-page-S-KRY5zm.js +4 -0
  72. package/loading-plane-C1mi7Whv.js +4 -0
  73. package/loading-plane-CWq1hz_l.js +8 -0
  74. package/loading-table-B7LAXzAp.js +4 -0
  75. package/loading-table-BLmgKUsR.js +4 -0
  76. package/loading-table-CG7-cuhv.js +8 -0
  77. package/loading-table-CUPS49ta.js +4 -0
  78. package/loading-table-CuWWrTbv.js +8 -0
  79. package/loading-table-DbBzVwaZ.js +8 -0
  80. package/mentionlist/index.es.js +77 -44
  81. package/mentionsection/index.es.js +53 -43
  82. package/menu/index.es.js +65 -51
  83. package/menuitem/index.es.js +39 -37
  84. package/multirow/index.es.js +29 -28
  85. package/multiselect/index.es.js +184 -152
  86. package/no-data-B781skt3.js +4 -0
  87. package/no-data-CAksOnDl.js +4 -0
  88. package/no-data-DCsjBXQR.js +4 -0
  89. package/no-data-Dz0QOe7Q.js +8 -0
  90. package/no-data-_Huxiv9q.js +8 -0
  91. package/no-data-ybRQontJ.js +8 -0
  92. package/overlaypanel/index.es.js +49 -36
  93. package/package.json +1 -1
  94. package/paginator/index.es.js +36 -33
  95. package/plugins/WangsVue.es.js +63 -45
  96. package/plugins/formValidation.es.js +15 -11
  97. package/progressbar/index.es.js +39 -32
  98. package/quickfilter/index.es.js +94 -81
  99. package/stats.html +1 -1
  100. package/style.css +2 -2
  101. package/tabmenu/index.es.js +18 -16
  102. package/textarea/index.es.js +94 -72
  103. package/timeline/index.es.js +124 -102
  104. package/timelinecontentbytype/index.es.js +114 -92
  105. package/toast/index.es.js +67 -54
  106. package/toggleswitch/index.es.js +83 -66
  107. package/tree/index.es.js +306 -198
  108. package/treenode/index.es.js +464 -339
  109. package/treesearchinput/index.es.js +32 -26
  110. package/usergroup/index.es.js +83 -67
  111. package/username/index.es.js +99 -85
  112. package/utils/addAttachment.util.es.js +47 -21
  113. package/utils/baseToast.util.es.js +41 -33
  114. package/utils/convertJsonImage.util.es.js +24 -24
  115. package/utils/date.util.es.js +131 -106
  116. package/utils/exportToExcel.util.es.js +81 -47
  117. package/utils/filterOptions.util.es.js +8 -2
  118. package/utils/genPlaceholder.util.es.js +30 -16
  119. package/utils/getProjectPermission.util.es.js +15 -12
  120. package/utils/getSalesRole.util.es.js +4 -4
  121. package/utils/getUser.util.es.js +2 -2
  122. package/utils/getUserType.util.es.js +13 -8
  123. package/utils/isIntersect.es.js +4 -2
  124. package/utils/mergePropsWithDefaults.util.es.js +7 -6
  125. package/utils/object.util.es.js +88 -54
  126. package/utils/queryParamsStringfy.util.es.js +19 -11
  127. package/utils/role.util.es.js +5 -4
  128. package/utils/statusSeverity.util.es.js +20 -5
  129. package/utils/textFormatter.util.es.js +28 -50
  130. package/utils/toast.util.es.js +8 -5
  131. package/utils/xlsx.util.es.js +12 -6
  132. package/validatormessage/index.es.js +9 -9
  133. package/vendor/@popperjs/core/lib/createPopper.es.js +110 -83
  134. package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +14 -13
  135. package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +33 -18
  136. package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +55 -31
  137. package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +43 -22
  138. package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +4 -4
  139. package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +5 -5
  140. package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +23 -13
  141. package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +4 -4
  142. package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +17 -9
  143. package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +3 -3
  144. package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +11 -7
  145. package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +42 -26
  146. package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +13 -10
  147. package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +13 -7
  148. package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +25 -15
  149. package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +8 -7
  150. package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +8 -6
  151. package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +6 -6
  152. package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +16 -15
  153. package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +4 -4
  154. package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +5 -5
  155. package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +4 -4
  156. package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +17 -11
  157. package/vendor/@popperjs/core/lib/enums.es.js +43 -20
  158. package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +49 -25
  159. package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +61 -26
  160. package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +101 -69
  161. package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +30 -16
  162. package/vendor/@popperjs/core/lib/modifiers/flip.es.js +99 -60
  163. package/vendor/@popperjs/core/lib/modifiers/hide.es.js +44 -31
  164. package/vendor/@popperjs/core/lib/modifiers/offset.es.js +32 -20
  165. package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +11 -11
  166. package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +91 -40
  167. package/vendor/@popperjs/core/lib/popper.es.js +14 -13
  168. package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +29 -21
  169. package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +41 -36
  170. package/vendor/@popperjs/core/lib/utils/debounce.es.js +11 -7
  171. package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +42 -28
  172. package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +5 -4
  173. package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +3 -3
  174. package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +3 -3
  175. package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +2 -2
  176. package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +3 -3
  177. package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +5 -5
  178. package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +5 -5
  179. package/vendor/@popperjs/core/lib/utils/getVariation.es.js +3 -3
  180. package/vendor/@popperjs/core/lib/utils/math.es.js +6 -4
  181. package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +11 -10
  182. package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +4 -4
  183. package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +30 -22
  184. package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +7 -7
  185. package/vendor/@popperjs/core/lib/utils/userAgent.es.js +9 -6
  186. package/vendor/@popperjs/core/lib/utils/within.es.js +8 -8
  187. package/vendor/@tiptap/core/dist/index.es.js +3494 -2000
  188. package/vendor/@tiptap/extension-bold/dist/index.es.js +29 -19
  189. package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +145 -71
  190. package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +32 -19
  191. package/vendor/@tiptap/extension-code/dist/index.es.js +22 -14
  192. package/vendor/@tiptap/extension-document/dist/index.es.js +4 -4
  193. package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +106 -51
  194. package/vendor/@tiptap/extension-heading/dist/index.es.js +38 -22
  195. package/vendor/@tiptap/extension-history/dist/index.es.js +11 -7
  196. package/vendor/@tiptap/extension-image/dist/index.es.js +20 -17
  197. package/vendor/@tiptap/extension-italic/dist/index.es.js +28 -18
  198. package/vendor/@tiptap/extension-link/dist/index.es.js +236 -147
  199. package/vendor/@tiptap/extension-list-item/dist/index.es.js +6 -6
  200. package/vendor/@tiptap/extension-mention/dist/index.es.js +98 -63
  201. package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +38 -25
  202. package/vendor/@tiptap/extension-paragraph/dist/index.es.js +8 -6
  203. package/vendor/@tiptap/extension-placeholder/dist/index.es.js +34 -27
  204. package/vendor/@tiptap/extension-text/dist/index.es.js +3 -3
  205. package/vendor/@tiptap/extension-underline/dist/index.es.js +16 -10
  206. package/vendor/@tiptap/suggestion/dist/index.es.js +174 -90
  207. package/vendor/@tiptap/vue-3/dist/index.es.js +287 -188
  208. package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +17 -14
  209. package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +69 -55
  210. package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +26 -22
  211. package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +147 -102
  212. package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +102 -77
  213. package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +1298 -551
  214. package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +60 -49
  215. package/vendor/@wangs-ui/core/components/wangs-button.es.js +19 -15
  216. package/vendor/@wangs-ui/core/components/wangs-icon.es.js +3 -3
  217. package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +3 -3
  218. package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +3 -3
  219. package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +116 -102
  220. package/vendor/@wangs-ui/vue/dist/index.es.js +77 -77
  221. package/vendor/base64toblob/base64toblob.es.js +31 -15
  222. package/vendor/highlight.js/es/core.es.js +5 -5
  223. package/vendor/highlight.js/es/languages/javascript.es.js +237 -193
  224. package/vendor/highlight.js/es/languages/json.es.js +18 -15
  225. package/vendor/highlight.js/es/languages/typescript.es.js +288 -228
  226. package/vendor/highlight.js/es/languages/vbscript-html.es.js +2 -2
  227. package/vendor/highlight.js/lib/core.es.js +1144 -666
  228. package/vendor/linkifyjs/dist/linkify.es.es.js +858 -405
  229. package/vendor/lodash/_Symbol.es.js +11 -8
  230. package/vendor/lodash/_baseGetTag.es.js +19 -12
  231. package/vendor/lodash/_baseTrim.es.js +13 -10
  232. package/vendor/lodash/_freeGlobal.es.js +10 -8
  233. package/vendor/lodash/_getRawTag.es.js +28 -15
  234. package/vendor/lodash/_objectToString.es.js +12 -9
  235. package/vendor/lodash/_root.es.js +12 -8
  236. package/vendor/lodash/_trimmedEndIndex.es.js +14 -11
  237. package/vendor/lodash/debounce.es.js +92 -54
  238. package/vendor/lodash/isObject.es.js +11 -9
  239. package/vendor/lodash/isObjectLike.es.js +10 -8
  240. package/vendor/lodash/isSymbol.es.js +14 -11
  241. package/vendor/lodash/now.es.js +12 -9
  242. package/vendor/lodash/throttle.es.js +25 -17
  243. package/vendor/lodash/toNumber.es.js +33 -23
  244. package/vendor/lodash-es/_DataView.es.js +4 -4
  245. package/vendor/lodash-es/_Hash.es.js +17 -16
  246. package/vendor/lodash-es/_ListCache.es.js +17 -16
  247. package/vendor/lodash-es/_Map.es.js +4 -4
  248. package/vendor/lodash-es/_MapCache.es.js +17 -16
  249. package/vendor/lodash-es/_Promise.es.js +4 -4
  250. package/vendor/lodash-es/_Set.es.js +4 -4
  251. package/vendor/lodash-es/_SetCache.es.js +12 -10
  252. package/vendor/lodash-es/_Stack.es.js +15 -15
  253. package/vendor/lodash-es/_Symbol.es.js +3 -3
  254. package/vendor/lodash-es/_Uint8Array.es.js +3 -3
  255. package/vendor/lodash-es/_WeakMap.es.js +4 -4
  256. package/vendor/lodash-es/_arrayEach.es.js +9 -5
  257. package/vendor/lodash-es/_arrayFilter.es.js +9 -6
  258. package/vendor/lodash-es/_arrayLikeKeys.es.js +21 -17
  259. package/vendor/lodash-es/_arrayPush.es.js +7 -5
  260. package/vendor/lodash-es/_arraySome.es.js +9 -6
  261. package/vendor/lodash-es/_assignValue.es.js +10 -7
  262. package/vendor/lodash-es/_assocIndexOf.es.js +9 -6
  263. package/vendor/lodash-es/_baseAssignValue.es.js +13 -9
  264. package/vendor/lodash-es/_baseClone.es.js +67 -49
  265. package/vendor/lodash-es/_baseCreate.es.js +15 -11
  266. package/vendor/lodash-es/_baseGetAllKeys.es.js +6 -6
  267. package/vendor/lodash-es/_baseGetTag.es.js +11 -7
  268. package/vendor/lodash-es/_baseIsArguments.es.js +6 -6
  269. package/vendor/lodash-es/_baseIsEqual.es.js +11 -5
  270. package/vendor/lodash-es/_baseIsEqualDeep.es.js +39 -26
  271. package/vendor/lodash-es/_baseIsMap.es.js +6 -6
  272. package/vendor/lodash-es/_baseIsNative.es.js +18 -12
  273. package/vendor/lodash-es/_baseIsSet.es.js +6 -6
  274. package/vendor/lodash-es/_baseIsTypedArray.es.js +11 -9
  275. package/vendor/lodash-es/_baseKeys.es.js +16 -11
  276. package/vendor/lodash-es/_baseTimes.es.js +7 -5
  277. package/vendor/lodash-es/_baseTrim.es.js +5 -5
  278. package/vendor/lodash-es/_baseUnary.es.js +4 -4
  279. package/vendor/lodash-es/_cacheHas.es.js +3 -3
  280. package/vendor/lodash-es/_cloneArrayBuffer.es.js +6 -5
  281. package/vendor/lodash-es/_cloneBuffer.es.js +11 -6
  282. package/vendor/lodash-es/_cloneDataView.es.js +5 -5
  283. package/vendor/lodash-es/_cloneRegExp.es.js +6 -5
  284. package/vendor/lodash-es/_cloneSymbol.es.js +5 -5
  285. package/vendor/lodash-es/_cloneTypedArray.es.js +5 -5
  286. package/vendor/lodash-es/_coreJsData.es.js +3 -3
  287. package/vendor/lodash-es/_defineProperty.es.js +7 -6
  288. package/vendor/lodash-es/_equalArrays.es.js +38 -28
  289. package/vendor/lodash-es/_equalByTag.es.js +55 -41
  290. package/vendor/lodash-es/_equalObjects.es.js +42 -28
  291. package/vendor/lodash-es/_freeGlobal.es.js +2 -2
  292. package/vendor/lodash-es/_getAllKeys.es.js +6 -6
  293. package/vendor/lodash-es/_getMapData.es.js +5 -5
  294. package/vendor/lodash-es/_getNative.es.js +6 -6
  295. package/vendor/lodash-es/_getPrototype.es.js +3 -3
  296. package/vendor/lodash-es/_getRawTag.es.js +20 -10
  297. package/vendor/lodash-es/_getSymbols.es.js +15 -8
  298. package/vendor/lodash-es/_getTag.es.js +31 -25
  299. package/vendor/lodash-es/_getValue.es.js +3 -3
  300. package/vendor/lodash-es/_hashClear.es.js +5 -4
  301. package/vendor/lodash-es/_hashDelete.es.js +5 -4
  302. package/vendor/lodash-es/_hashGet.es.js +11 -9
  303. package/vendor/lodash-es/_hashHas.es.js +7 -6
  304. package/vendor/lodash-es/_hashSet.es.js +8 -6
  305. package/vendor/lodash-es/_initCloneArray.es.js +10 -5
  306. package/vendor/lodash-es/_initCloneByTag.es.js +39 -38
  307. package/vendor/lodash-es/_initCloneObject.es.js +6 -6
  308. package/vendor/lodash-es/_isIndex.es.js +7 -5
  309. package/vendor/lodash-es/_isKeyable.es.js +4 -4
  310. package/vendor/lodash-es/_isMasked.es.js +7 -7
  311. package/vendor/lodash-es/_isPrototype.es.js +5 -5
  312. package/vendor/lodash-es/_listCacheClear.es.js +4 -3
  313. package/vendor/lodash-es/_listCacheDelete.es.js +17 -9
  314. package/vendor/lodash-es/_listCacheGet.es.js +5 -5
  315. package/vendor/lodash-es/_listCacheHas.es.js +4 -4
  316. package/vendor/lodash-es/_listCacheSet.es.js +11 -5
  317. package/vendor/lodash-es/_mapCacheClear.es.js +10 -9
  318. package/vendor/lodash-es/_mapCacheDelete.es.js +6 -5
  319. package/vendor/lodash-es/_mapCacheGet.es.js +4 -4
  320. package/vendor/lodash-es/_mapCacheHas.es.js +4 -4
  321. package/vendor/lodash-es/_mapCacheSet.es.js +7 -5
  322. package/vendor/lodash-es/_mapToArray.es.js +7 -6
  323. package/vendor/lodash-es/_nativeCreate.es.js +3 -3
  324. package/vendor/lodash-es/_nativeKeys.es.js +3 -3
  325. package/vendor/lodash-es/_nodeUtil.es.js +13 -6
  326. package/vendor/lodash-es/_objectToString.es.js +5 -4
  327. package/vendor/lodash-es/_overArg.es.js +4 -4
  328. package/vendor/lodash-es/_root.es.js +4 -3
  329. package/vendor/lodash-es/_setCacheAdd.es.js +5 -4
  330. package/vendor/lodash-es/_setCacheHas.es.js +3 -3
  331. package/vendor/lodash-es/_setToArray.es.js +7 -6
  332. package/vendor/lodash-es/_stackClear.es.js +5 -4
  333. package/vendor/lodash-es/_stackDelete.es.js +5 -4
  334. package/vendor/lodash-es/_stackGet.es.js +3 -3
  335. package/vendor/lodash-es/_stackHas.es.js +3 -3
  336. package/vendor/lodash-es/_stackSet.es.js +18 -13
  337. package/vendor/lodash-es/_toSource.es.js +9 -8
  338. package/vendor/lodash-es/_trimmedEndIndex.es.js +7 -6
  339. package/vendor/lodash-es/cloneDeep.es.js +5 -5
  340. package/vendor/lodash-es/debounce.es.js +84 -49
  341. package/vendor/lodash-es/eq.es.js +3 -3
  342. package/vendor/lodash-es/isArguments.es.js +9 -6
  343. package/vendor/lodash-es/isArray.es.js +2 -2
  344. package/vendor/lodash-es/isArrayLike.es.js +5 -5
  345. package/vendor/lodash-es/isBuffer.es.js +9 -4
  346. package/vendor/lodash-es/isEqual.es.js +4 -4
  347. package/vendor/lodash-es/isFunction.es.js +10 -9
  348. package/vendor/lodash-es/isLength.es.js +4 -4
  349. package/vendor/lodash-es/isMap.es.js +6 -5
  350. package/vendor/lodash-es/isObject.es.js +4 -4
  351. package/vendor/lodash-es/isObjectLike.es.js +3 -3
  352. package/vendor/lodash-es/isSet.es.js +6 -5
  353. package/vendor/lodash-es/isSymbol.es.js +6 -6
  354. package/vendor/lodash-es/isTypedArray.es.js +6 -5
  355. package/vendor/lodash-es/keys.es.js +6 -6
  356. package/vendor/lodash-es/now.es.js +4 -4
  357. package/vendor/lodash-es/stubArray.es.js +2 -2
  358. package/vendor/lodash-es/stubFalse.es.js +3 -3
  359. package/vendor/lodash-es/toNumber.es.js +25 -18
  360. package/vendor/lodash-es/toString.es.js +2 -2
  361. package/vendor/lodash-es/uniqueId.es.js +6 -6
  362. package/vendor/orderedmap/dist/index.es.js +65 -49
  363. package/vendor/primevue/api/api.esm.es.js +214 -121
  364. package/vendor/primevue/avatar/avatar.esm.es.js +44 -41
  365. package/vendor/primevue/avatar/style/avatarstyle.esm.es.js +12 -11
  366. package/vendor/primevue/avatargroup/avatargroup.esm.es.js +17 -16
  367. package/vendor/primevue/avatargroup/style/avatargroupstyle.esm.es.js +6 -5
  368. package/vendor/primevue/badge/badge.esm.es.js +21 -20
  369. package/vendor/primevue/badge/style/badgestyle.esm.es.js +19 -18
  370. package/vendor/primevue/base/style/basestyle.esm.es.js +88 -99
  371. package/vendor/primevue/basecomponent/basecomponent.esm.es.js +327 -261
  372. package/vendor/primevue/basedirective/basedirective.esm.es.js +257 -186
  373. package/vendor/primevue/baseicon/baseicon.esm.es.js +55 -49
  374. package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +5 -35
  375. package/vendor/primevue/button/button.esm.es.js +76 -72
  376. package/vendor/primevue/button/style/buttonstyle.esm.es.js +46 -39
  377. package/vendor/primevue/card/card.esm.es.js +30 -29
  378. package/vendor/primevue/card/style/cardstyle.esm.es.js +6 -5
  379. package/vendor/primevue/checkbox/checkbox.esm.es.js +109 -101
  380. package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +12 -11
  381. package/vendor/primevue/config/config.esm.es.js +76 -58
  382. package/vendor/primevue/dialog/dialog.esm.es.js +421 -281
  383. package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +26 -22
  384. package/vendor/primevue/dropdown/dropdown.esm.es.js +956 -742
  385. package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +33 -31
  386. package/vendor/primevue/fileupload/fileupload.esm.es.js +559 -450
  387. package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +14 -13
  388. package/vendor/primevue/focustrap/focustrap.esm.es.js +128 -90
  389. package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +2 -2
  390. package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +13 -11
  391. package/vendor/primevue/icons/angledoubleright/index.esm.es.js +13 -11
  392. package/vendor/primevue/icons/angledown/index.esm.es.js +13 -11
  393. package/vendor/primevue/icons/angleleft/index.esm.es.js +13 -11
  394. package/vendor/primevue/icons/angleright/index.esm.es.js +13 -11
  395. package/vendor/primevue/icons/angleup/index.esm.es.js +13 -11
  396. package/vendor/primevue/icons/blank/index.esm.es.js +13 -11
  397. package/vendor/primevue/icons/check/index.esm.es.js +13 -11
  398. package/vendor/primevue/icons/chevrondown/index.esm.es.js +13 -11
  399. package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +17 -13
  400. package/vendor/primevue/icons/eye/index.esm.es.js +13 -11
  401. package/vendor/primevue/icons/eyeslash/index.esm.es.js +13 -11
  402. package/vendor/primevue/icons/infocircle/index.esm.es.js +13 -11
  403. package/vendor/primevue/icons/plus/index.esm.es.js +13 -11
  404. package/vendor/primevue/icons/refresh/index.esm.es.js +13 -11
  405. package/vendor/primevue/icons/search/index.esm.es.js +13 -11
  406. package/vendor/primevue/icons/searchminus/index.esm.es.js +13 -11
  407. package/vendor/primevue/icons/searchplus/index.esm.es.js +13 -11
  408. package/vendor/primevue/icons/spinner/index.esm.es.js +13 -11
  409. package/vendor/primevue/icons/times/index.esm.es.js +13 -11
  410. package/vendor/primevue/icons/timescircle/index.esm.es.js +13 -11
  411. package/vendor/primevue/icons/undo/index.esm.es.js +13 -11
  412. package/vendor/primevue/icons/upload/index.esm.es.js +13 -11
  413. package/vendor/primevue/icons/windowmaximize/index.esm.es.js +13 -11
  414. package/vendor/primevue/icons/windowminimize/index.esm.es.js +13 -11
  415. package/vendor/primevue/image/image.esm.es.js +280 -235
  416. package/vendor/primevue/image/style/imagestyle.esm.es.js +18 -17
  417. package/vendor/primevue/inputgroup/inputgroup.esm.es.js +17 -16
  418. package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +6 -5
  419. package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +17 -16
  420. package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +6 -5
  421. package/vendor/primevue/inputnumber/inputnumber.esm.es.js +834 -566
  422. package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +23 -22
  423. package/vendor/primevue/inputtext/inputtext.esm.es.js +32 -30
  424. package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +13 -12
  425. package/vendor/primevue/menu/menu.esm.es.js +402 -304
  426. package/vendor/primevue/menu/style/menustyle.esm.es.js +14 -13
  427. package/vendor/primevue/message/message.esm.es.js +126 -112
  428. package/vendor/primevue/message/style/messagestyle.esm.es.js +9 -8
  429. package/vendor/primevue/multiselect/multiselect.esm.es.js +1083 -835
  430. package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +38 -36
  431. package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +3 -3
  432. package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +275 -169
  433. package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +9 -8
  434. package/vendor/primevue/paginator/paginator.esm.es.js +513 -469
  435. package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +50 -43
  436. package/vendor/primevue/password/password.esm.es.js +306 -233
  437. package/vendor/primevue/password/style/passwordstyle.esm.es.js +26 -24
  438. package/vendor/primevue/portal/portal.esm.es.js +17 -17
  439. package/vendor/primevue/progressbar/progressbar.esm.es.js +37 -35
  440. package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +10 -9
  441. package/vendor/primevue/ripple/ripple.esm.es.js +90 -62
  442. package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +6 -5
  443. package/vendor/primevue/selectbutton/selectbutton.esm.es.js +213 -167
  444. package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +14 -13
  445. package/vendor/primevue/skeleton/skeleton.esm.es.js +28 -26
  446. package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +13 -11
  447. package/vendor/primevue/textarea/style/textareastyle.esm.es.js +12 -11
  448. package/vendor/primevue/textarea/textarea.esm.es.js +49 -33
  449. package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +9 -8
  450. package/vendor/primevue/timeline/timeline.esm.es.js +53 -52
  451. package/vendor/primevue/toast/style/toaststyle.esm.es.js +54 -46
  452. package/vendor/primevue/toast/toast.esm.es.js +309 -260
  453. package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +3 -3
  454. package/vendor/primevue/toastservice/toastservice.esm.es.js +16 -15
  455. package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +6 -5
  456. package/vendor/primevue/tooltip/tooltip.esm.es.js +383 -186
  457. package/vendor/primevue/usestyle/usestyle.esm.es.js +94 -64
  458. package/vendor/primevue/usetoast/usetoast.esm.es.js +9 -8
  459. package/vendor/primevue/utils/utils.esm.es.js +1078 -772
  460. package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +5 -67
  461. package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +655 -428
  462. package/vendor/prosemirror-commands/dist/index.es.js +454 -316
  463. package/vendor/prosemirror-history/dist/index.es.js +286 -178
  464. package/vendor/prosemirror-keymap/dist/index.es.js +68 -48
  465. package/vendor/prosemirror-model/dist/index.es.js +1905 -1436
  466. package/vendor/prosemirror-schema-list/dist/index.es.js +115 -73
  467. package/vendor/prosemirror-state/dist/index.es.js +467 -353
  468. package/vendor/prosemirror-transform/dist/index.es.js +1146 -829
  469. package/vendor/prosemirror-view/dist/index.es.js +4127 -2719
  470. package/vendor/rope-sequence/dist/index.es.js +165 -82
  471. package/vendor/simplebar-core/dist/index.es.js +670 -242
  472. package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +73 -60
  473. package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +511 -510
  474. package/vendor/tippy.js/dist/tippy.esm.es.js +971 -525
  475. package/vendor/vee-validate/dist/vee-validate.esm.es.js +1830 -1097
  476. package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +740 -738
  477. package/vendor/w3c-keyname/index.es.js +25 -13
  478. package/wangsvue.es.js +167 -208
  479. package/wangsvue.esm.browser.js +49417 -48026
  480. package/wangsvue.system.js +67600 -234
  481. package/api/index.es.js +0 -149
  482. package/apiitem/index.es.js +0 -611
  483. package/assignmember/index.es.js +0 -434
  484. package/attachment/index.es.js +0 -118
  485. package/attachmentchangelog/index.es.js +0 -79
  486. package/attachmentitem/index.es.js +0 -231
  487. package/attachmentthumbnail/index.es.js +0 -83
  488. package/changelog/index.d.ts +0 -164
  489. package/changelog/index.es.js +0 -85
  490. package/changelogfilter/index.es.js +0 -113
  491. package/changelogpage/index.d.ts +0 -184
  492. package/changelogpage/index.es.js +0 -176
  493. package/checklist/index.es.js +0 -571
  494. package/checklistchangelog/index.es.js +0 -85
  495. package/comment/index.d.ts +0 -187
  496. package/comment/index.es.js +0 -267
  497. package/commentblock/index.es.js +0 -337
  498. package/confirmdeploy/index.es.js +0 -64
  499. package/dependencycol/index.es.js +0 -32
  500. package/description/index.es.js +0 -135
  501. package/descriptiontab/index.es.js +0 -30
  502. package/detailmember/index.d.ts +0 -77
  503. package/detailmember/index.es.js +0 -32
  504. package/detailmemberadmin/index.es.js +0 -210
  505. package/detailmemberleader/index.es.js +0 -164
  506. package/detailmemberlog/index.es.js +0 -117
  507. package/detailsprint/index.d.ts +0 -86
  508. package/detailsprint/index.es.js +0 -414
  509. package/dialogaddattachment/index.es.js +0 -273
  510. package/dialogaddchecklist/index.es.js +0 -120
  511. package/dialogaddeditapi/index.es.js +0 -87
  512. package/dialogaddpbi/index.es.js +0 -197
  513. package/dialogadjustmenttask/index.es.js +0 -484
  514. package/dialogadjustmenttaskheader/index.es.js +0 -193
  515. package/dialogapichangelog/index.es.js +0 -83
  516. package/dialogassignmember/index.es.js +0 -171
  517. package/dialogconfirmapproval/index.es.js +0 -54
  518. package/dialogconfirmchecklist/index.es.js +0 -189
  519. package/dialogconfirmdeletetask/index.es.js +0 -70
  520. package/dialogconfirmdeletetaskpermanently/index.es.js +0 -50
  521. package/dialogconfirmedit/index.es.js +0 -50
  522. package/dialogconfirmfinishtask/index.es.js +0 -50
  523. package/dialogconfirmrestoretask/index.es.js +0 -46
  524. package/dialogconfirmsprint/index.es.js +0 -42
  525. package/dialogcopyapi/index.es.js +0 -130
  526. package/dialogcustomdependency/index.es.js +0 -55
  527. package/dialogdetailchecklisttemplate/index.es.js +0 -214
  528. package/dialogdetailcomponent/index.es.js +0 -121
  529. package/dialogdetailpbi/index.es.js +0 -192
  530. package/dialogfinishreview/index.es.js +0 -126
  531. package/dialogimprovementtask/index.es.js +0 -191
  532. package/dialogmemberadmin/index.es.js +0 -93
  533. package/dialogpreparepbi/index.es.js +0 -93
  534. package/dialogpriorityvalue/index.es.js +0 -85
  535. package/dialogreportbug/index.es.js +0 -207
  536. package/dialogreviewleader/index.es.js +0 -280
  537. package/dialogsavechecklisttemplate/index.es.js +0 -127
  538. package/dialogselectproject/index.es.js +0 -69
  539. package/dialogsetduration/index.es.js +0 -109
  540. package/dialogsettasklink/index.es.js +0 -153
  541. package/dialogtestapi/index.es.js +0 -389
  542. package/eventlogtab/index.es.js +0 -50
  543. package/infotasktab/index.es.js +0 -186
  544. package/inputadditional/index.es.js +0 -62
  545. package/inputinitialname/index.d.ts +0 -118
  546. package/inputinitialname/index.es.js +0 -95
  547. package/inputrepositoryname/index.d.ts +0 -86
  548. package/inputrepositoryname/index.es.js +0 -41
  549. package/isrequiredtext/index.es.js +0 -16
  550. package/legend/index.es.js +0 -727
  551. package/legendlist/index.es.js +0 -33
  552. package/loading-page-BrQattYE.js +0 -1
  553. package/loading-page-CgfbWppy.js +0 -1
  554. package/loading-page-CoC9UhfC.js +0 -4
  555. package/loading-page-CoXtqoc9.js +0 -4
  556. package/loading-page-DbLuqCHa.js +0 -1
  557. package/loading-page-f8D03l3G.js +0 -4
  558. package/loading-plane-CgfbWppy.js +0 -1
  559. package/loading-plane-CoXtqoc9.js +0 -4
  560. package/loading-table-Bdr9ZhtP.js +0 -1
  561. package/loading-table-ByUoWqUo.js +0 -4
  562. package/loading-table-BygEMzFM.js +0 -4
  563. package/loading-table-BzrSQlA0.js +0 -1
  564. package/loading-table-D9bw9OcI.js +0 -4
  565. package/loading-table-chOgXi94.js +0 -1
  566. package/no-data-CTKux8RI.js +0 -4
  567. package/no-data-Cgze_Rvp.js +0 -1
  568. package/no-data-DLHO1L_u.js +0 -4
  569. package/no-data-Dep79CBh.js +0 -1
  570. package/no-data-g0dJCy2p.js +0 -4
  571. package/no-data-y1X5WtcQ.js +0 -1
  572. package/notificationitem/index.d.ts +0 -107
  573. package/notificationitem/index.es.js +0 -333
  574. package/reviewitem/index.es.js +0 -65
  575. package/reviewtab/index.es.js +0 -44
  576. package/services/calendar.service.es.js +0 -32
  577. package/sonarqubesummary/index.es.js +0 -234
  578. package/sprintsummary/index.es.js +0 -73
  579. package/summaryaccordion/index.d.ts +0 -121
  580. package/summaryaccordion/index.es.js +0 -365
  581. package/taskdependency/index.es.js +0 -686
  582. package/taskdetail/index.d.ts +0 -82
  583. package/taskdetail/index.es.js +0 -491
  584. package/taskdetailpbi/index.d.ts +0 -35
  585. package/taskdetailpbi/index.es.js +0 -172
  586. package/taskdetailunassignedpbi/index.es.js +0 -261
  587. package/tasklink/index.es.js +0 -257
  588. package/tasklinkchangelog/index.es.js +0 -93
  589. package/tasklist/index.es.js +0 -92
  590. package/taskmore/index.es.js +0 -52
  591. package/taskstatusbadge/index.es.js +0 -18
  592. package/tasktable/index.d.ts +0 -87
  593. package/tasktable/index.es.js +0 -832
  594. package/ticket/index.es.js +0 -151
  595. package/tooltipspan/index.es.js +0 -30
  596. package/utils/updateSprintStatus.util.es.js +0 -17
  597. package/valueformdatainput/index.es.js +0 -70
  598. package/workcalendar/index.es.js +0 -351
@@ -1,29 +1,40 @@
1
- import { defineComponent as B, inject as N, createBlock as p, openBlock as t, unref as a, ref as O, normalizeClass as D, withCtx as b, createElementVNode as n, createElementBlock as l, createCommentVNode as c, mergeProps as u, normalizeProps as x, guardReactiveProps as v, toDisplayString as m, Fragment as g, renderList as j, renderSlot as S, createVNode as V } from "vue";
2
- import { b as A } from "../utils/date.util.es.js";
3
- import { s as P } from "../vendor/primevue/timeline/timeline.esm.es.js";
4
- import { _ as T } from "../icon/index.es.js";
5
- import { _ as F } from "../username/index.es.js";
6
- import { _ as h } from "../timelinecontentbytype/index.es.js";
7
- const H = ["onClick"], L = { class: "flex justify-between items-center" }, z = {
1
+ import { defineComponent, inject, createBlock, openBlock, unref, ref, normalizeClass, withCtx, createElementVNode, createElementBlock, createCommentVNode, mergeProps, normalizeProps, guardReactiveProps, toDisplayString, Fragment, renderList, renderSlot, createVNode } from "vue";
2
+ import { a as formatISODate } from "../utils/date.util.es.js";
3
+ import { s as script } from "../vendor/primevue/timeline/timeline.esm.es.js";
4
+ import { _ as _sfc_main$3 } from "../icon/index.es.js";
5
+ import { _ as _sfc_main$1 } from "../username/index.es.js";
6
+ import { _ as _sfc_main$2 } from "../timelinecontentbytype/index.es.js";
7
+ const _hoisted_1 = ["onClick"];
8
+ const _hoisted_2 = { class: "flex justify-between items-center" };
9
+ const _hoisted_3 = {
8
10
  class: "flex gap-1 py-0.5",
9
11
  "data-wv-section": "itemheader"
10
- }, E = ["innerHTML", "onClick"], M = {
12
+ };
13
+ const _hoisted_4 = ["innerHTML", "onClick"];
14
+ const _hoisted_5 = {
11
15
  key: 1,
12
16
  class: "flex flex-col gap-1",
13
17
  "data-wv-section": "itemdetail"
14
- }, I = {
18
+ };
19
+ const _hoisted_6 = {
15
20
  key: 0,
16
21
  class: "grid grid-cols-[max-content,max-content,auto] gap-2 py-1.5 items-start"
17
- }, K = { class: "font-semibold whitespace-nowrap" }, R = {
22
+ };
23
+ const _hoisted_7 = { class: "font-semibold whitespace-nowrap" };
24
+ const _hoisted_8 = {
18
25
  key: 0,
19
26
  class: "text-xs"
20
- }, U = {
27
+ };
28
+ const _hoisted_9 = {
21
29
  key: 0,
22
30
  class: "grid grid-cols-[max-content,max-content,auto] gap-1 items-start"
23
- }, q = {
31
+ };
32
+ const _hoisted_10 = {
24
33
  key: 1,
25
34
  class: "grid grid-rows-[max-content,auto] gap-1"
26
- }, G = { class: "font-semibold whitespace-nowrap" }, te = /* @__PURE__ */ B({
35
+ };
36
+ const _hoisted_11 = { class: "font-semibold whitespace-nowrap" };
37
+ const _sfc_main = /* @__PURE__ */ defineComponent({
27
38
  __name: "Timeline",
28
39
  props: {
29
40
  value: {},
@@ -31,97 +42,108 @@ const H = ["onClick"], L = { class: "flex justify-between items-center" }, z = {
31
42
  noScroll: { type: Boolean },
32
43
  noFormatDate: { type: Boolean }
33
44
  },
34
- setup(J) {
35
- const i = N("preset", {}).timeline, C = (s) => {
36
- const d = s.user ?? s.username;
37
- return typeof d != "string" ? d : { nickName: d };
38
- }, $ = (s) => s.replace(/`([^`]*)`/g, "<b>$1</b>");
39
- return (s, d) => (t(), p(a(P), {
40
- class: D([{ "overflow-auto": !s.noScroll }]),
41
- value: O(s.value).value,
42
- style: { "scrollbar-width": "none" }
43
- }, {
44
- marker: b(({ item: e }) => {
45
- var f, _, y;
46
- return [
47
- n("div", u({
48
- onClick: (r) => e.showDetail = !e.showDetail
49
- }, (f = a(i)) == null ? void 0 : f.marker, { "data-wv-section": "timelinemarker" }), [
50
- V(T, u((_ = a(i)) == null ? void 0 : _.markerArrow(e), { icon: "arrow-down" }), null, 16),
51
- n("div", x(v((y = a(i)) == null ? void 0 : y.markerDot(e))), null, 16)
52
- ], 16, H)
53
- ];
54
- }),
55
- content: b(({ item: e }) => {
56
- var f, _, y;
57
- return [
58
- n("div", L, [
59
- n("div", z, [
60
- n("h3", u({
61
- innerHTML: $(e.action)
62
- }, (f = a(i)) == null ? void 0 : f.contentHeader, {
63
- onClick: (r) => e.showDetail = !e.showDetail
64
- }), null, 16, E),
65
- e.user || e.username ? (t(), p(F, {
66
- key: 0,
67
- user: C(e),
68
- type: "icon",
69
- "user-name-field": "nickName"
70
- }, null, 8, ["user"])) : c("", !0)
45
+ setup(__props) {
46
+ const Preset = inject("preset", {}).timeline;
47
+ const getUserObject = (item) => {
48
+ const userValue = item.user ?? item.username;
49
+ if (typeof userValue !== "string") return userValue;
50
+ return { nickName: userValue };
51
+ };
52
+ const formatActionTitle = (action) => {
53
+ return action.replace(/`([^`]*)`/g, "<b>$1</b>");
54
+ };
55
+ return (_ctx, _cache) => {
56
+ return openBlock(), createBlock(unref(script), {
57
+ class: normalizeClass([{ "overflow-auto": !_ctx.noScroll }]),
58
+ value: ref(_ctx.value).value,
59
+ style: { "scrollbar-width": "none" }
60
+ }, {
61
+ marker: withCtx(({ item }) => {
62
+ var _a, _b, _c;
63
+ return [
64
+ createElementVNode("div", mergeProps({
65
+ onClick: ($event) => item.showDetail = !item.showDetail
66
+ }, (_a = unref(Preset)) == null ? void 0 : _a.marker, { "data-wv-section": "timelinemarker" }), [
67
+ createVNode(_sfc_main$3, mergeProps((_b = unref(Preset)) == null ? void 0 : _b.markerArrow(item), { icon: "arrow-down" }), null, 16),
68
+ createElementVNode("div", normalizeProps(guardReactiveProps((_c = unref(Preset)) == null ? void 0 : _c.markerDot(item))), null, 16)
69
+ ], 16, _hoisted_1)
70
+ ];
71
+ }),
72
+ content: withCtx(({ item }) => {
73
+ var _a, _b, _c;
74
+ return [
75
+ createElementVNode("div", _hoisted_2, [
76
+ createElementVNode("div", _hoisted_3, [
77
+ createElementVNode("h3", mergeProps({
78
+ innerHTML: formatActionTitle(item.action)
79
+ }, (_a = unref(Preset)) == null ? void 0 : _a.contentHeader, {
80
+ onClick: ($event) => item.showDetail = !item.showDetail
81
+ }), null, 16, _hoisted_4),
82
+ item.user || item.username ? (openBlock(), createBlock(_sfc_main$1, {
83
+ key: 0,
84
+ user: getUserObject(item),
85
+ type: "icon",
86
+ "user-name-field": "nickName"
87
+ }, null, 8, ["user"])) : createCommentVNode("", true)
88
+ ]),
89
+ createElementVNode("span", normalizeProps(guardReactiveProps((_b = unref(Preset)) == null ? void 0 : _b.contentDate)), toDisplayString(_ctx.noFormatDate ? item.createdAt : unref(formatISODate)(item.createdAt)), 17)
71
90
  ]),
72
- n("span", x(v((_ = a(i)) == null ? void 0 : _.contentDate)), m(s.noFormatDate ? e.createdAt : a(A)(e.createdAt)), 17)
73
- ]),
74
- e.showDetail && e.detail ? (t(), l(g, { key: 0 }, [
75
- "type" in e.detail ? (t(), p(h, {
76
- key: 0,
77
- detail: e.detail
78
- }, null, 8, ["detail"])) : (y = Object.keys(e.detail ?? {})) != null && y.length ? (t(), l("div", M, [
79
- s.$props.alignDetail ? (t(), l("div", I, [
80
- (t(!0), l(g, null, j(Object.entries(e.detail), ([r, o]) => (t(), l(g, { key: r }, [
81
- n("span", K, m(r), 1),
82
- d[0] || (d[0] = n("span", { class: "font-semibold whitespace-nowrap" }, " : ", -1)),
83
- typeof o == "string" ? (t(), l("span", R, m(o), 1)) : "type" in o ? (t(), p(h, {
84
- key: 1,
85
- detail: o
86
- }, null, 8, ["detail"])) : c("", !0)
87
- ], 64))), 128))
88
- ])) : (t(!0), l(g, { key: 1 }, j(Object.entries(e.detail), ([r, o]) => S(s.$slots, "detail", u({
89
- key: r,
90
- ref_for: !0
91
- }, { key: r, value: o }), () => {
92
- var k, w;
93
- return [
94
- typeof o == "string" ? (t(), l("div", U, [
95
- n("span", u({ ref_for: !0 }, (k = a(i)) == null ? void 0 : k.contentDetailKey), m(r) + ": ", 17),
96
- n("span", u({ ref_for: !0 }, (w = a(i)) == null ? void 0 : w.contentDetailValue), m(o), 17)
97
- ])) : "type" in o ? (t(), l("div", q, [
98
- n("span", {
99
- class: D([
100
- "flex gap-1",
101
- { "flex-col": o.type === "embed" }
102
- ])
103
- }, [
104
- n("span", G, m(r) + ": ", 1),
105
- o.type !== "json" ? (t(), p(h, {
106
- key: 0,
107
- detail: o
108
- }, null, 8, ["detail"])) : c("", !0)
109
- ], 2),
110
- o.type === "json" ? (t(), p(h, {
111
- key: 0,
112
- detail: o
113
- }, null, 8, ["detail"])) : c("", !0)
114
- ])) : c("", !0)
115
- ];
116
- })), 128))
117
- ])) : c("", !0)
118
- ], 64)) : c("", !0)
119
- ];
120
- }),
121
- _: 3
122
- }, 8, ["class", "value"]));
91
+ item.showDetail && item.detail ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
92
+ "type" in item.detail ? (openBlock(), createBlock(_sfc_main$2, {
93
+ key: 0,
94
+ detail: item.detail
95
+ }, null, 8, ["detail"])) : ((_c = Object.keys(item.detail ?? {})) == null ? void 0 : _c.length) ? (openBlock(), createElementBlock("div", _hoisted_5, [
96
+ _ctx.$props.alignDetail ? (openBlock(), createElementBlock("div", _hoisted_6, [
97
+ (openBlock(true), createElementBlock(Fragment, null, renderList((() => Object.entries(item.detail))(), ([key, value]) => {
98
+ return openBlock(), createElementBlock(Fragment, { key }, [
99
+ createElementVNode("span", _hoisted_7, toDisplayString(key), 1),
100
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "font-semibold whitespace-nowrap" }, " : ", -1)),
101
+ typeof value === "string" ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(value), 1)) : "type" in value ? (openBlock(), createBlock(_sfc_main$2, {
102
+ key: 1,
103
+ detail: value
104
+ }, null, 8, ["detail"])) : createCommentVNode("", true)
105
+ ], 64);
106
+ }), 128))
107
+ ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList((() => Object.entries(item.detail))(), ([key, value]) => {
108
+ return renderSlot(_ctx.$slots, "detail", mergeProps({
109
+ key,
110
+ ref_for: true
111
+ }, { key, value }), () => {
112
+ var _a2, _b2;
113
+ return [
114
+ typeof value === "string" ? (openBlock(), createElementBlock("div", _hoisted_9, [
115
+ createElementVNode("span", mergeProps({ ref_for: true }, (_a2 = unref(Preset)) == null ? void 0 : _a2.contentDetailKey), toDisplayString(key) + ": ", 17),
116
+ createElementVNode("span", mergeProps({ ref_for: true }, (_b2 = unref(Preset)) == null ? void 0 : _b2.contentDetailValue), toDisplayString(value), 17)
117
+ ])) : "type" in value ? (openBlock(), createElementBlock("div", _hoisted_10, [
118
+ createElementVNode("span", {
119
+ class: normalizeClass([
120
+ "flex gap-1",
121
+ { "flex-col": value.type === "embed" }
122
+ ])
123
+ }, [
124
+ createElementVNode("span", _hoisted_11, toDisplayString(key) + ": ", 1),
125
+ value.type !== "json" ? (openBlock(), createBlock(_sfc_main$2, {
126
+ key: 0,
127
+ detail: value
128
+ }, null, 8, ["detail"])) : createCommentVNode("", true)
129
+ ], 2),
130
+ value.type === "json" ? (openBlock(), createBlock(_sfc_main$2, {
131
+ key: 0,
132
+ detail: value
133
+ }, null, 8, ["detail"])) : createCommentVNode("", true)
134
+ ])) : createCommentVNode("", true)
135
+ ];
136
+ });
137
+ }), 128))
138
+ ])) : createCommentVNode("", true)
139
+ ], 64)) : createCommentVNode("", true)
140
+ ];
141
+ }),
142
+ _: 3
143
+ }, 8, ["class", "value"]);
144
+ };
123
145
  }
124
146
  });
125
147
  export {
126
- te as _
148
+ _sfc_main as _
127
149
  };
@@ -1,111 +1,133 @@
1
- import { defineComponent as m, createElementBlock as C, createBlock as a, openBlock as l, toDisplayString as i, createElementVNode as s, createTextVNode as o, createVNode as r, Fragment as c, renderList as w, createCommentVNode as n, normalizeClass as h } from "vue";
2
- import { _ as v } from "../badge/index.es.js";
3
- import { _ as g } from "../codesnippet/index.es.js";
4
- import { _ as y } from "../editor/index.es.js";
5
- import { _ as L } from "../icon/index.es.js";
6
- import { _ as V } from "../image/index.es.js";
7
- import { _ as p } from "../username/index.es.js";
8
- const k = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%2353C26F'/%3e%3cpath%20d='M8.38742%2017.7024C8.01617%2017.7024%207.69563%2017.6216%207.42578%2017.46C7.15766%2017.2985%206.95055%2017.0725%206.80445%2016.782C6.66008%2016.4915%206.58789%2016.1538%206.58789%2015.7688C6.58789%2015.3838%206.66008%2015.0461%206.80445%2014.7556C6.95055%2014.4651%207.15766%2014.2391%207.42578%2014.0775C7.69563%2013.916%208.01617%2013.8352%208.38742%2013.8352C8.81367%2013.8352%209.17117%2013.9409%209.45992%2014.1523C9.75039%2014.3637%209.95492%2014.6499%2010.0735%2015.0108L9.36711%2015.2068C9.29836%2014.9816%209.18234%2014.8072%209.01906%2014.6834C8.85578%2014.5579%208.64523%2014.4952%208.38742%2014.4952C8.15195%2014.4952%207.95516%2014.5476%207.79703%2014.6525C7.64062%2014.7573%207.52289%2014.9051%207.44383%2015.0959C7.36477%2015.2867%207.32523%2015.511%207.32523%2015.7688C7.32523%2016.0266%207.36477%2016.2509%207.44383%2016.4417C7.52289%2016.6325%207.64062%2016.7803%207.79703%2016.8851C7.95516%2016.99%208.15195%2017.0424%208.38742%2017.0424C8.64523%2017.0424%208.85578%2016.9797%209.01906%2016.8542C9.18234%2016.7287%209.29836%2016.5543%209.36711%2016.3308L10.0735%2016.5268C9.95492%2016.8877%209.75039%2017.1739%209.45992%2017.3853C9.17117%2017.5967%208.81367%2017.7024%208.38742%2017.7024Z'%20fill='white'/%3e%3cpath%20d='M12.3545%2017.7024C12.0795%2017.7024%2011.8311%2017.6543%2011.6094%2017.558C11.3894%2017.46%2011.2081%2017.3208%2011.0654%2017.1404C10.9245%2016.9582%2010.8351%2016.7416%2010.7973%2016.4907L11.5295%2016.3824C11.581%2016.5955%2011.6876%2016.7597%2011.8492%2016.8748C12.0107%2016.99%2012.1946%2017.0475%2012.4009%2017.0475C12.516%2017.0475%2012.6278%2017.0295%2012.736%2016.9934C12.8443%2016.9573%2012.9328%2016.904%2013.0016%2016.8336C13.072%2016.7631%2013.1073%2016.6763%2013.1073%2016.5732C13.1073%2016.5354%2013.1013%2016.4993%2013.0892%2016.4649C13.0789%2016.4288%2013.0609%2016.3953%2013.0351%2016.3643C13.0093%2016.3334%2012.9724%2016.3042%2012.9242%2016.2767C12.8778%2016.2492%2012.8185%2016.2243%2012.7463%2016.2019L11.7821%2015.9183C11.7099%2015.8977%2011.6257%2015.8685%2011.5295%2015.8307C11.4349%2015.7929%2011.343%2015.7387%2011.2536%2015.6683C11.1642%2015.5978%2011.0895%2015.505%2011.0293%2015.3898C10.9709%2015.2729%2010.9417%2015.126%2010.9417%2014.949C10.9417%2014.6997%2011.0044%2014.4926%2011.1299%2014.3276C11.2553%2014.1626%2011.4229%2014.0397%2011.6326%2013.959C11.8423%2013.8782%2012.0743%2013.8386%2012.3287%2013.8404C12.5848%2013.8438%2012.8134%2013.8876%2013.0145%2013.9718C13.2156%2014.0561%2013.384%2014.179%2013.5198%2014.3405C13.6556%2014.5004%2013.7535%2014.6963%2013.8137%2014.9283L13.0557%2015.0572C13.0282%2014.9369%2012.9775%2014.8355%2012.9036%2014.753C12.8297%2014.6705%2012.7412%2014.6078%2012.6381%2014.5648C12.5367%2014.5218%2012.4301%2014.4986%2012.3184%2014.4952C12.2084%2014.4918%2012.1044%2014.5072%2012.0064%2014.5416C11.9102%2014.5743%2011.8311%2014.6224%2011.7692%2014.686C11.7091%2014.7496%2011.679%2014.8252%2011.679%2014.9129C11.679%2014.9936%2011.7039%2015.0598%2011.7538%2015.1114C11.8036%2015.1612%2011.8663%2015.2016%2011.942%2015.2325C12.0176%2015.2635%2012.0949%2015.2893%2012.174%2015.3099L12.8185%2015.4852C12.9148%2015.511%2013.0213%2015.5454%2013.1382%2015.5883C13.2551%2015.6296%2013.3668%2015.688%2013.4734%2015.7636C13.5817%2015.8375%2013.6702%2015.9355%2013.7389%2016.0575C13.8094%2016.1796%2013.8446%2016.3343%2013.8446%2016.5216C13.8446%2016.721%2013.8025%2016.8954%2013.7183%2017.045C13.6358%2017.1928%2013.5241%2017.3157%2013.3831%2017.4136C13.2422%2017.5099%2013.0824%2017.5821%2012.9036%2017.6302C12.7266%2017.6783%2012.5435%2017.7024%2012.3545%2017.7024Z'%20fill='white'/%3e%3cpath%20d='M15.2645%2017.625L14.1301%2013.9125H14.852L15.7801%2016.965L16.7237%2013.9125H17.4456L16.3112%2017.625H15.2645Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e", M = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%234E4B66'/%3e%3cpath%20d='M5.43604%2017.6251V13.9126H6.63744C6.66666%2013.9126%206.72682%2013.9135%206.81791%2013.9152C6.909%2013.9169%206.99666%2013.9229%207.08088%2013.9332C7.37994%2013.9693%207.63346%2014.0733%207.84143%2014.2452C8.04939%2014.4171%208.20752%2014.6353%208.3158%2014.9C8.42408%2015.1647%208.47822%2015.4543%208.47822%2015.7688C8.47822%2016.0834%208.42408%2016.373%208.3158%2016.6377C8.20752%2016.9024%208.04939%2017.1206%207.84143%2017.2925C7.63346%2017.4644%207.37994%2017.5684%207.08088%2017.6045C6.99666%2017.6148%206.909%2017.6208%206.81791%2017.6225C6.72682%2017.6242%206.66666%2017.6251%206.63744%2017.6251H5.43604ZM6.1476%2016.9651H6.63744C6.68385%2016.9651%206.74658%2016.9642%206.82564%2016.9625C6.90471%2016.9591%206.97604%2016.9513%207.03963%2016.9393C7.20119%2016.9067%207.33268%2016.831%207.43408%2016.7124C7.53721%2016.5938%207.61283%2016.4512%207.66096%2016.2845C7.7108%2016.1178%207.73572%2015.9459%207.73572%2015.7688C7.73572%2015.5832%207.70994%2015.4071%207.65838%2015.2403C7.60854%2015.0736%207.53205%2014.9327%207.42893%2014.8175C7.3258%2014.7024%207.19604%2014.6293%207.03963%2014.5984C6.97604%2014.5846%206.90471%2014.5769%206.82564%2014.5752C6.74658%2014.5735%206.68385%2014.5726%206.63744%2014.5726H6.1476V16.9651Z'%20fill='white'/%3e%3cpath%20d='M8.89294%2017.6251L10.0273%2013.9126H11.074L12.2084%2017.6251H11.4865L10.4759%2014.3509H10.61L9.61481%2017.6251H8.89294ZM9.57356%2016.8517V16.1968H11.5329V16.8517H9.57356Z'%20fill='white'/%3e%3cpath%20d='M13.3791%2017.6251V14.5674H12.2086V13.9126H15.2508V14.5674H14.0804V17.6251H13.3791Z'%20fill='white'/%3e%3cpath%20d='M15.4613%2017.6251L16.5957%2013.9126H17.6424L18.7768%2017.6251H18.0549L17.0443%2014.3509H17.1783L16.1832%2017.6251H15.4613ZM16.1419%2016.8517V16.1968H18.1013V16.8517H16.1419Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e", Z = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%232A61CA'/%3e%3cpath%20d='M6.47522%2017.625V13.9125H7.67663C7.70584%2013.9125%207.766%2013.9134%207.85709%2013.9151C7.94819%2013.9168%208.03584%2013.9229%208.12006%2013.9332C8.41913%2013.9693%208.67264%2014.0733%208.88061%2014.2451C9.08858%2014.417%209.2467%2014.6353%209.35499%2014.9C9.46327%2015.1647%209.51741%2015.4543%209.51741%2015.7688C9.51741%2016.0833%209.46327%2016.3729%209.35499%2016.6376C9.2467%2016.9023%209.08858%2017.1206%208.88061%2017.2925C8.67264%2017.4643%208.41913%2017.5683%208.12006%2017.6044C8.03584%2017.6147%207.94819%2017.6208%207.85709%2017.6225C7.766%2017.6242%207.70584%2017.625%207.67663%2017.625H6.47522ZM7.18678%2016.965H7.67663C7.72303%2016.965%207.78577%2016.9642%207.86483%2016.9625C7.94389%2016.959%208.01522%2016.9513%208.07881%2016.9393C8.24038%2016.9066%208.37186%2016.831%208.47327%2016.7124C8.57639%2016.5938%208.65202%2016.4511%208.70014%2016.2844C8.74999%2016.1177%208.77491%2015.9458%208.77491%2015.7688C8.77491%2015.5832%208.74913%2015.407%208.69756%2015.2403C8.64772%2015.0736%208.57124%2014.9326%208.46811%2014.8175C8.36499%2014.7023%208.23522%2014.6293%208.07881%2014.5983C8.01522%2014.5846%207.94389%2014.5768%207.86483%2014.5751C7.78577%2014.5734%207.72303%2014.5725%207.67663%2014.5725H7.18678V16.965Z'%20fill='white'/%3e%3cpath%20d='M11.8839%2017.7024C11.5127%2017.7024%2011.1921%2017.6216%2010.9223%2017.46C10.6542%2017.2985%2010.447%2017.0725%2010.301%2016.782C10.1566%2016.4915%2010.0844%2016.1538%2010.0844%2015.7688C10.0844%2015.3838%2010.1566%2015.0461%2010.301%2014.7556C10.447%2014.4651%2010.6542%2014.2391%2010.9223%2014.0775C11.1921%2013.916%2011.5127%2013.8352%2011.8839%2013.8352C12.2552%2013.8352%2012.5749%2013.916%2012.843%2014.0775C13.1128%2014.2391%2013.3199%2014.4651%2013.4643%2014.7556C13.6104%2015.0461%2013.6835%2015.3838%2013.6835%2015.7688C13.6835%2016.1538%2013.6104%2016.4915%2013.4643%2016.782C13.3199%2017.0725%2013.1128%2017.2985%2012.843%2017.46C12.5749%2017.6216%2012.2552%2017.7024%2011.8839%2017.7024ZM11.8839%2017.0424C12.1194%2017.0458%2012.3153%2016.9951%2012.4717%2016.8903C12.6281%2016.7854%2012.745%2016.6368%2012.8224%2016.4443C12.9014%2016.2518%2012.941%2016.0266%2012.941%2015.7688C12.941%2015.511%2012.9014%2015.2875%2012.8224%2015.0985C12.745%2014.9094%2012.6281%2014.7625%2012.4717%2014.6576C12.3153%2014.5528%2012.1194%2014.4986%2011.8839%2014.4952C11.6485%2014.4918%2011.4525%2014.5425%2011.2961%2014.6473C11.1397%2014.7522%2011.022%2014.9008%2010.9429%2015.0933C10.8656%2015.2858%2010.8269%2015.511%2010.8269%2015.7688C10.8269%2016.0266%2010.8656%2016.25%2010.9429%2016.4391C11.022%2016.6282%2011.1397%2016.7751%2011.2961%2016.88C11.4525%2016.9848%2011.6485%2017.039%2011.8839%2017.0424Z'%20fill='white'/%3e%3cpath%20d='M15.9461%2017.7024C15.5748%2017.7024%2015.2543%2017.6216%2014.9844%2017.46C14.7163%2017.2985%2014.5092%2017.0725%2014.3631%2016.782C14.2187%2016.4915%2014.1466%2016.1538%2014.1466%2015.7688C14.1466%2015.3838%2014.2187%2015.0461%2014.3631%2014.7556C14.5092%2014.4651%2014.7163%2014.2391%2014.9844%2014.0775C15.2543%2013.916%2015.5748%2013.8352%2015.9461%2013.8352C16.3723%2013.8352%2016.7298%2013.9409%2017.0186%2014.1523C17.3091%2014.3637%2017.5136%2014.6499%2017.6322%2015.0108L16.9258%2015.2068C16.857%2014.9816%2016.741%2014.8072%2016.5777%2014.6834C16.4144%2014.5579%2016.2039%2014.4952%2015.9461%2014.4952C15.7106%2014.4952%2015.5138%2014.5476%2015.3557%2014.6525C15.1993%2014.7573%2015.0816%2014.9051%2015.0025%2015.0959C14.9234%2015.2867%2014.8839%2015.511%2014.8839%2015.7688C14.8839%2016.0266%2014.9234%2016.2509%2015.0025%2016.4417C15.0816%2016.6325%2015.1993%2016.7803%2015.3557%2016.8851C15.5138%2016.99%2015.7106%2017.0424%2015.9461%2017.0424C16.2039%2017.0424%2016.4144%2016.9797%2016.5777%2016.8542C16.741%2016.7287%2016.857%2016.5543%2016.9258%2016.3308L17.6322%2016.5268C17.5136%2016.8877%2017.3091%2017.1739%2017.0186%2017.3853C16.7298%2017.5967%2016.3723%2017.7024%2015.9461%2017.7024Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e", _ = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%23E5252A'/%3e%3cpath%20d='M7.30859%2017.6251V13.9126H8.87609C8.91219%2013.9126%208.96031%2013.9143%209.02047%2013.9178C9.08234%2013.9195%209.13734%2013.9246%209.18547%2013.9332C9.40719%2013.9676%209.58852%2014.0406%209.72945%2014.1524C9.87211%2014.2641%209.97695%2014.405%2010.044%2014.5752C10.111%2014.7436%2010.1445%2014.9318%2010.1445%2015.1398C10.1445%2015.3478%2010.1102%2015.5368%2010.0414%2015.707C9.97438%2015.8754%209.86953%2016.0155%209.72688%2016.1272C9.58594%2016.2389%209.40547%2016.312%209.18547%2016.3463C9.13734%2016.3532%209.08234%2016.3584%209.02047%2016.3618C8.95859%2016.3653%208.91047%2016.367%208.87609%2016.367H8.00984V17.6251H7.30859ZM8.00984%2015.7121H8.84516C8.88125%2015.7121%208.92078%2015.7104%208.96375%2015.707C9.00672%2015.7035%209.04625%2015.6967%209.08234%2015.6863C9.17688%2015.6606%209.24992%2015.6176%209.30148%2015.5574C9.35305%2015.4956%209.38828%2015.4277%209.40719%2015.3538C9.42781%2015.2781%209.43813%2015.2068%209.43813%2015.1398C9.43813%2015.0728%209.42781%2015.0023%209.40719%2014.9284C9.38828%2014.8528%209.35305%2014.7849%209.30148%2014.7247C9.24992%2014.6628%209.17688%2014.619%209.08234%2014.5932C9.04625%2014.5829%209.00672%2014.576%208.96375%2014.5726C8.92078%2014.5692%208.88125%2014.5674%208.84516%2014.5674H8.00984V15.7121Z'%20fill='white'/%3e%3cpath%20d='M10.8169%2017.6251V13.9126H12.0183C12.0475%2013.9126%2012.1076%2013.9135%2012.1987%2013.9152C12.2898%2013.9169%2012.3775%2013.9229%2012.4617%2013.9332C12.7608%2013.9693%2013.0143%2014.0733%2013.2222%2014.2452C13.4302%2014.4171%2013.5883%2014.6353%2013.6966%2014.9C13.8049%2015.1647%2013.859%2015.4543%2013.859%2015.7688C13.859%2016.0834%2013.8049%2016.373%2013.6966%2016.6377C13.5883%2016.9024%2013.4302%2017.1206%2013.2222%2017.2925C13.0143%2017.4644%2012.7608%2017.5684%2012.4617%2017.6045C12.3775%2017.6148%2012.2898%2017.6208%2012.1987%2017.6225C12.1076%2017.6242%2012.0475%2017.6251%2012.0183%2017.6251H10.8169ZM11.5284%2016.9651H12.0183C12.0647%2016.9651%2012.1274%2016.9642%2012.2065%2016.9625C12.2855%2016.9591%2012.3569%2016.9513%2012.4205%2016.9393C12.582%2016.9067%2012.7135%2016.831%2012.8149%2016.7124C12.918%2016.5938%2012.9937%2016.4512%2013.0418%2016.2845C13.0916%2016.1178%2013.1165%2015.9459%2013.1165%2015.7688C13.1165%2015.5832%2013.0908%2015.4071%2013.0392%2015.2403C12.9894%2015.0736%2012.9129%2014.9327%2012.8097%2014.8175C12.7066%2014.7024%2012.5769%2014.6293%2012.4205%2014.5984C12.3569%2014.5846%2012.2855%2014.5769%2012.2065%2014.5752C12.1274%2014.5735%2012.0647%2014.5726%2012.0183%2014.5726H11.5284V16.9651Z'%20fill='white'/%3e%3cpath%20d='M14.6323%2017.6251V13.9126H16.901V14.6138H15.3335V15.4182H16.5917V16.1195H15.3335V17.6251H14.6323Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e", b = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%23317141'/%3e%3cpath%20d='M6.99329%2017.6251L8.2411%2015.7482L7.02938%2013.9126H7.89047L8.67938%2015.1501L9.45797%2013.9126H10.3242L9.1125%2015.7482L10.3552%2017.6251H9.49407L8.67938%2016.3463L7.85954%2017.6251H6.99329Z'%20fill='white'/%3e%3cpath%20d='M10.9733%2017.6251V13.9126H11.6745V16.9702H13.273V17.6251H10.9733Z'%20fill='white'/%3e%3cpath%20d='M15.2685%2017.7024C14.9935%2017.7024%2014.7451%2017.6543%2014.5234%2017.558C14.3034%2017.4601%2014.1221%2017.3209%2013.9794%2017.1404C13.8385%2016.9582%2013.7491%2016.7416%2013.7113%2016.4907L14.4435%2016.3824C14.4951%2016.5955%2014.6016%2016.7597%2014.7632%2016.8748C14.9248%2016.99%2015.1087%2017.0476%2015.3149%2017.0476C15.4301%2017.0476%2015.5418%2017.0295%2015.6501%2016.9934C15.7583%2016.9573%2015.8469%2016.9041%2015.9156%2016.8336C15.9861%2016.7631%2016.0213%2016.6763%2016.0213%2016.5732C16.0213%2016.5354%2016.0153%2016.4993%2016.0033%2016.4649C15.993%2016.4288%2015.9749%2016.3953%2015.9491%2016.3644C15.9233%2016.3334%2015.8864%2016.3042%2015.8383%2016.2767C15.7919%2016.2492%2015.7326%2016.2243%2015.6604%2016.2019L14.6962%2015.9184C14.624%2015.8977%2014.5398%2015.8685%2014.4435%2015.8307C14.349%2015.7929%2014.257%2015.7387%2014.1676%2015.6683C14.0783%2015.5978%2014.0035%2015.505%2013.9433%2015.3898C13.8849%2015.273%2013.8557%2015.126%2013.8557%2014.949C13.8557%2014.6998%2013.9184%2014.4927%2014.0439%2014.3277C14.1694%2014.1627%2014.3369%2014.0398%2014.5466%2013.959C14.7563%2013.8782%2014.9883%2013.8387%2015.2427%2013.8404C15.4988%2013.8438%2015.7274%2013.8877%2015.9285%2013.9719C16.1296%2014.0561%2016.298%2014.179%2016.4338%2014.3405C16.5696%2014.5004%2016.6676%2014.6963%2016.7277%2014.9284L15.9698%2015.0573C15.9423%2014.9369%2015.8916%2014.8355%2015.8176%2014.753C15.7437%2014.6705%2015.6552%2014.6078%2015.5521%2014.5648C15.4507%2014.5219%2015.3441%2014.4987%2015.2324%2014.4952C15.1224%2014.4918%2015.0184%2014.5073%2014.9205%2014.5416C14.8242%2014.5743%2014.7451%2014.6224%2014.6833%2014.686C14.6231%2014.7496%2014.593%2014.8252%2014.593%2014.9129C14.593%2014.9937%2014.618%2015.0598%2014.6678%2015.1114C14.7176%2015.1612%2014.7804%2015.2016%2014.856%2015.2326C14.9316%2015.2635%2015.009%2015.2893%2015.088%2015.3099L15.7326%2015.4852C15.8288%2015.511%2015.9354%2015.5454%2016.0523%2015.5884C16.1691%2015.6296%2016.2808%2015.688%2016.3874%2015.7637C16.4957%2015.8376%2016.5842%2015.9355%2016.653%2016.0576C16.7234%2016.1796%2016.7587%2016.3343%2016.7587%2016.5216C16.7587%2016.721%2016.7165%2016.8955%2016.6323%2017.045C16.5498%2017.1928%2016.4381%2017.3157%2016.2972%2017.4137C16.1562%2017.5099%2015.9964%2017.5821%2015.8176%2017.6302C15.6406%2017.6784%2015.4576%2017.7024%2015.2685%2017.7024Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e", B = { key: 0 }, N = { key: 2 }, E = { class: "flex items-center gap-1" }, T = {
1
+ import { defineComponent, createElementBlock, createBlock, openBlock, toDisplayString, createElementVNode, createTextVNode, createVNode, Fragment, renderList, createCommentVNode, normalizeClass } from "vue";
2
+ import { _ as _sfc_main$1 } from "../badge/index.es.js";
3
+ import { _ as _sfc_main$4 } from "../codesnippet/index.es.js";
4
+ import { _ as _sfc_main$3 } from "../editor/index.es.js";
5
+ import { _ as _sfc_main$6 } from "../icon/index.es.js";
6
+ import { _ as _sfc_main$5 } from "../image/index.es.js";
7
+ import { _ as _sfc_main$2 } from "../username/index.es.js";
8
+ const csv = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%2353C26F'/%3e%3cpath%20d='M8.38742%2017.7024C8.01617%2017.7024%207.69563%2017.6216%207.42578%2017.46C7.15766%2017.2985%206.95055%2017.0725%206.80445%2016.782C6.66008%2016.4915%206.58789%2016.1538%206.58789%2015.7688C6.58789%2015.3838%206.66008%2015.0461%206.80445%2014.7556C6.95055%2014.4651%207.15766%2014.2391%207.42578%2014.0775C7.69563%2013.916%208.01617%2013.8352%208.38742%2013.8352C8.81367%2013.8352%209.17117%2013.9409%209.45992%2014.1523C9.75039%2014.3637%209.95492%2014.6499%2010.0735%2015.0108L9.36711%2015.2068C9.29836%2014.9816%209.18234%2014.8072%209.01906%2014.6834C8.85578%2014.5579%208.64523%2014.4952%208.38742%2014.4952C8.15195%2014.4952%207.95516%2014.5476%207.79703%2014.6525C7.64062%2014.7573%207.52289%2014.9051%207.44383%2015.0959C7.36477%2015.2867%207.32523%2015.511%207.32523%2015.7688C7.32523%2016.0266%207.36477%2016.2509%207.44383%2016.4417C7.52289%2016.6325%207.64062%2016.7803%207.79703%2016.8851C7.95516%2016.99%208.15195%2017.0424%208.38742%2017.0424C8.64523%2017.0424%208.85578%2016.9797%209.01906%2016.8542C9.18234%2016.7287%209.29836%2016.5543%209.36711%2016.3308L10.0735%2016.5268C9.95492%2016.8877%209.75039%2017.1739%209.45992%2017.3853C9.17117%2017.5967%208.81367%2017.7024%208.38742%2017.7024Z'%20fill='white'/%3e%3cpath%20d='M12.3545%2017.7024C12.0795%2017.7024%2011.8311%2017.6543%2011.6094%2017.558C11.3894%2017.46%2011.2081%2017.3208%2011.0654%2017.1404C10.9245%2016.9582%2010.8351%2016.7416%2010.7973%2016.4907L11.5295%2016.3824C11.581%2016.5955%2011.6876%2016.7597%2011.8492%2016.8748C12.0107%2016.99%2012.1946%2017.0475%2012.4009%2017.0475C12.516%2017.0475%2012.6278%2017.0295%2012.736%2016.9934C12.8443%2016.9573%2012.9328%2016.904%2013.0016%2016.8336C13.072%2016.7631%2013.1073%2016.6763%2013.1073%2016.5732C13.1073%2016.5354%2013.1013%2016.4993%2013.0892%2016.4649C13.0789%2016.4288%2013.0609%2016.3953%2013.0351%2016.3643C13.0093%2016.3334%2012.9724%2016.3042%2012.9242%2016.2767C12.8778%2016.2492%2012.8185%2016.2243%2012.7463%2016.2019L11.7821%2015.9183C11.7099%2015.8977%2011.6257%2015.8685%2011.5295%2015.8307C11.4349%2015.7929%2011.343%2015.7387%2011.2536%2015.6683C11.1642%2015.5978%2011.0895%2015.505%2011.0293%2015.3898C10.9709%2015.2729%2010.9417%2015.126%2010.9417%2014.949C10.9417%2014.6997%2011.0044%2014.4926%2011.1299%2014.3276C11.2553%2014.1626%2011.4229%2014.0397%2011.6326%2013.959C11.8423%2013.8782%2012.0743%2013.8386%2012.3287%2013.8404C12.5848%2013.8438%2012.8134%2013.8876%2013.0145%2013.9718C13.2156%2014.0561%2013.384%2014.179%2013.5198%2014.3405C13.6556%2014.5004%2013.7535%2014.6963%2013.8137%2014.9283L13.0557%2015.0572C13.0282%2014.9369%2012.9775%2014.8355%2012.9036%2014.753C12.8297%2014.6705%2012.7412%2014.6078%2012.6381%2014.5648C12.5367%2014.5218%2012.4301%2014.4986%2012.3184%2014.4952C12.2084%2014.4918%2012.1044%2014.5072%2012.0064%2014.5416C11.9102%2014.5743%2011.8311%2014.6224%2011.7692%2014.686C11.7091%2014.7496%2011.679%2014.8252%2011.679%2014.9129C11.679%2014.9936%2011.7039%2015.0598%2011.7538%2015.1114C11.8036%2015.1612%2011.8663%2015.2016%2011.942%2015.2325C12.0176%2015.2635%2012.0949%2015.2893%2012.174%2015.3099L12.8185%2015.4852C12.9148%2015.511%2013.0213%2015.5454%2013.1382%2015.5883C13.2551%2015.6296%2013.3668%2015.688%2013.4734%2015.7636C13.5817%2015.8375%2013.6702%2015.9355%2013.7389%2016.0575C13.8094%2016.1796%2013.8446%2016.3343%2013.8446%2016.5216C13.8446%2016.721%2013.8025%2016.8954%2013.7183%2017.045C13.6358%2017.1928%2013.5241%2017.3157%2013.3831%2017.4136C13.2422%2017.5099%2013.0824%2017.5821%2012.9036%2017.6302C12.7266%2017.6783%2012.5435%2017.7024%2012.3545%2017.7024Z'%20fill='white'/%3e%3cpath%20d='M15.2645%2017.625L14.1301%2013.9125H14.852L15.7801%2016.965L16.7237%2013.9125H17.4456L16.3112%2017.625H15.2645Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e";
9
+ const data = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%234E4B66'/%3e%3cpath%20d='M5.43604%2017.6251V13.9126H6.63744C6.66666%2013.9126%206.72682%2013.9135%206.81791%2013.9152C6.909%2013.9169%206.99666%2013.9229%207.08088%2013.9332C7.37994%2013.9693%207.63346%2014.0733%207.84143%2014.2452C8.04939%2014.4171%208.20752%2014.6353%208.3158%2014.9C8.42408%2015.1647%208.47822%2015.4543%208.47822%2015.7688C8.47822%2016.0834%208.42408%2016.373%208.3158%2016.6377C8.20752%2016.9024%208.04939%2017.1206%207.84143%2017.2925C7.63346%2017.4644%207.37994%2017.5684%207.08088%2017.6045C6.99666%2017.6148%206.909%2017.6208%206.81791%2017.6225C6.72682%2017.6242%206.66666%2017.6251%206.63744%2017.6251H5.43604ZM6.1476%2016.9651H6.63744C6.68385%2016.9651%206.74658%2016.9642%206.82564%2016.9625C6.90471%2016.9591%206.97604%2016.9513%207.03963%2016.9393C7.20119%2016.9067%207.33268%2016.831%207.43408%2016.7124C7.53721%2016.5938%207.61283%2016.4512%207.66096%2016.2845C7.7108%2016.1178%207.73572%2015.9459%207.73572%2015.7688C7.73572%2015.5832%207.70994%2015.4071%207.65838%2015.2403C7.60854%2015.0736%207.53205%2014.9327%207.42893%2014.8175C7.3258%2014.7024%207.19604%2014.6293%207.03963%2014.5984C6.97604%2014.5846%206.90471%2014.5769%206.82564%2014.5752C6.74658%2014.5735%206.68385%2014.5726%206.63744%2014.5726H6.1476V16.9651Z'%20fill='white'/%3e%3cpath%20d='M8.89294%2017.6251L10.0273%2013.9126H11.074L12.2084%2017.6251H11.4865L10.4759%2014.3509H10.61L9.61481%2017.6251H8.89294ZM9.57356%2016.8517V16.1968H11.5329V16.8517H9.57356Z'%20fill='white'/%3e%3cpath%20d='M13.3791%2017.6251V14.5674H12.2086V13.9126H15.2508V14.5674H14.0804V17.6251H13.3791Z'%20fill='white'/%3e%3cpath%20d='M15.4613%2017.6251L16.5957%2013.9126H17.6424L18.7768%2017.6251H18.0549L17.0443%2014.3509H17.1783L16.1832%2017.6251H15.4613ZM16.1419%2016.8517V16.1968H18.1013V16.8517H16.1419Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e";
10
+ const doc = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%232A61CA'/%3e%3cpath%20d='M6.47522%2017.625V13.9125H7.67663C7.70584%2013.9125%207.766%2013.9134%207.85709%2013.9151C7.94819%2013.9168%208.03584%2013.9229%208.12006%2013.9332C8.41913%2013.9693%208.67264%2014.0733%208.88061%2014.2451C9.08858%2014.417%209.2467%2014.6353%209.35499%2014.9C9.46327%2015.1647%209.51741%2015.4543%209.51741%2015.7688C9.51741%2016.0833%209.46327%2016.3729%209.35499%2016.6376C9.2467%2016.9023%209.08858%2017.1206%208.88061%2017.2925C8.67264%2017.4643%208.41913%2017.5683%208.12006%2017.6044C8.03584%2017.6147%207.94819%2017.6208%207.85709%2017.6225C7.766%2017.6242%207.70584%2017.625%207.67663%2017.625H6.47522ZM7.18678%2016.965H7.67663C7.72303%2016.965%207.78577%2016.9642%207.86483%2016.9625C7.94389%2016.959%208.01522%2016.9513%208.07881%2016.9393C8.24038%2016.9066%208.37186%2016.831%208.47327%2016.7124C8.57639%2016.5938%208.65202%2016.4511%208.70014%2016.2844C8.74999%2016.1177%208.77491%2015.9458%208.77491%2015.7688C8.77491%2015.5832%208.74913%2015.407%208.69756%2015.2403C8.64772%2015.0736%208.57124%2014.9326%208.46811%2014.8175C8.36499%2014.7023%208.23522%2014.6293%208.07881%2014.5983C8.01522%2014.5846%207.94389%2014.5768%207.86483%2014.5751C7.78577%2014.5734%207.72303%2014.5725%207.67663%2014.5725H7.18678V16.965Z'%20fill='white'/%3e%3cpath%20d='M11.8839%2017.7024C11.5127%2017.7024%2011.1921%2017.6216%2010.9223%2017.46C10.6542%2017.2985%2010.447%2017.0725%2010.301%2016.782C10.1566%2016.4915%2010.0844%2016.1538%2010.0844%2015.7688C10.0844%2015.3838%2010.1566%2015.0461%2010.301%2014.7556C10.447%2014.4651%2010.6542%2014.2391%2010.9223%2014.0775C11.1921%2013.916%2011.5127%2013.8352%2011.8839%2013.8352C12.2552%2013.8352%2012.5749%2013.916%2012.843%2014.0775C13.1128%2014.2391%2013.3199%2014.4651%2013.4643%2014.7556C13.6104%2015.0461%2013.6835%2015.3838%2013.6835%2015.7688C13.6835%2016.1538%2013.6104%2016.4915%2013.4643%2016.782C13.3199%2017.0725%2013.1128%2017.2985%2012.843%2017.46C12.5749%2017.6216%2012.2552%2017.7024%2011.8839%2017.7024ZM11.8839%2017.0424C12.1194%2017.0458%2012.3153%2016.9951%2012.4717%2016.8903C12.6281%2016.7854%2012.745%2016.6368%2012.8224%2016.4443C12.9014%2016.2518%2012.941%2016.0266%2012.941%2015.7688C12.941%2015.511%2012.9014%2015.2875%2012.8224%2015.0985C12.745%2014.9094%2012.6281%2014.7625%2012.4717%2014.6576C12.3153%2014.5528%2012.1194%2014.4986%2011.8839%2014.4952C11.6485%2014.4918%2011.4525%2014.5425%2011.2961%2014.6473C11.1397%2014.7522%2011.022%2014.9008%2010.9429%2015.0933C10.8656%2015.2858%2010.8269%2015.511%2010.8269%2015.7688C10.8269%2016.0266%2010.8656%2016.25%2010.9429%2016.4391C11.022%2016.6282%2011.1397%2016.7751%2011.2961%2016.88C11.4525%2016.9848%2011.6485%2017.039%2011.8839%2017.0424Z'%20fill='white'/%3e%3cpath%20d='M15.9461%2017.7024C15.5748%2017.7024%2015.2543%2017.6216%2014.9844%2017.46C14.7163%2017.2985%2014.5092%2017.0725%2014.3631%2016.782C14.2187%2016.4915%2014.1466%2016.1538%2014.1466%2015.7688C14.1466%2015.3838%2014.2187%2015.0461%2014.3631%2014.7556C14.5092%2014.4651%2014.7163%2014.2391%2014.9844%2014.0775C15.2543%2013.916%2015.5748%2013.8352%2015.9461%2013.8352C16.3723%2013.8352%2016.7298%2013.9409%2017.0186%2014.1523C17.3091%2014.3637%2017.5136%2014.6499%2017.6322%2015.0108L16.9258%2015.2068C16.857%2014.9816%2016.741%2014.8072%2016.5777%2014.6834C16.4144%2014.5579%2016.2039%2014.4952%2015.9461%2014.4952C15.7106%2014.4952%2015.5138%2014.5476%2015.3557%2014.6525C15.1993%2014.7573%2015.0816%2014.9051%2015.0025%2015.0959C14.9234%2015.2867%2014.8839%2015.511%2014.8839%2015.7688C14.8839%2016.0266%2014.9234%2016.2509%2015.0025%2016.4417C15.0816%2016.6325%2015.1993%2016.7803%2015.3557%2016.8851C15.5138%2016.99%2015.7106%2017.0424%2015.9461%2017.0424C16.2039%2017.0424%2016.4144%2016.9797%2016.5777%2016.8542C16.741%2016.7287%2016.857%2016.5543%2016.9258%2016.3308L17.6322%2016.5268C17.5136%2016.8877%2017.3091%2017.1739%2017.0186%2017.3853C16.7298%2017.5967%2016.3723%2017.7024%2015.9461%2017.7024Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e";
11
+ const pdf = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%23E5252A'/%3e%3cpath%20d='M7.30859%2017.6251V13.9126H8.87609C8.91219%2013.9126%208.96031%2013.9143%209.02047%2013.9178C9.08234%2013.9195%209.13734%2013.9246%209.18547%2013.9332C9.40719%2013.9676%209.58852%2014.0406%209.72945%2014.1524C9.87211%2014.2641%209.97695%2014.405%2010.044%2014.5752C10.111%2014.7436%2010.1445%2014.9318%2010.1445%2015.1398C10.1445%2015.3478%2010.1102%2015.5368%2010.0414%2015.707C9.97438%2015.8754%209.86953%2016.0155%209.72688%2016.1272C9.58594%2016.2389%209.40547%2016.312%209.18547%2016.3463C9.13734%2016.3532%209.08234%2016.3584%209.02047%2016.3618C8.95859%2016.3653%208.91047%2016.367%208.87609%2016.367H8.00984V17.6251H7.30859ZM8.00984%2015.7121H8.84516C8.88125%2015.7121%208.92078%2015.7104%208.96375%2015.707C9.00672%2015.7035%209.04625%2015.6967%209.08234%2015.6863C9.17688%2015.6606%209.24992%2015.6176%209.30148%2015.5574C9.35305%2015.4956%209.38828%2015.4277%209.40719%2015.3538C9.42781%2015.2781%209.43813%2015.2068%209.43813%2015.1398C9.43813%2015.0728%209.42781%2015.0023%209.40719%2014.9284C9.38828%2014.8528%209.35305%2014.7849%209.30148%2014.7247C9.24992%2014.6628%209.17688%2014.619%209.08234%2014.5932C9.04625%2014.5829%209.00672%2014.576%208.96375%2014.5726C8.92078%2014.5692%208.88125%2014.5674%208.84516%2014.5674H8.00984V15.7121Z'%20fill='white'/%3e%3cpath%20d='M10.8169%2017.6251V13.9126H12.0183C12.0475%2013.9126%2012.1076%2013.9135%2012.1987%2013.9152C12.2898%2013.9169%2012.3775%2013.9229%2012.4617%2013.9332C12.7608%2013.9693%2013.0143%2014.0733%2013.2222%2014.2452C13.4302%2014.4171%2013.5883%2014.6353%2013.6966%2014.9C13.8049%2015.1647%2013.859%2015.4543%2013.859%2015.7688C13.859%2016.0834%2013.8049%2016.373%2013.6966%2016.6377C13.5883%2016.9024%2013.4302%2017.1206%2013.2222%2017.2925C13.0143%2017.4644%2012.7608%2017.5684%2012.4617%2017.6045C12.3775%2017.6148%2012.2898%2017.6208%2012.1987%2017.6225C12.1076%2017.6242%2012.0475%2017.6251%2012.0183%2017.6251H10.8169ZM11.5284%2016.9651H12.0183C12.0647%2016.9651%2012.1274%2016.9642%2012.2065%2016.9625C12.2855%2016.9591%2012.3569%2016.9513%2012.4205%2016.9393C12.582%2016.9067%2012.7135%2016.831%2012.8149%2016.7124C12.918%2016.5938%2012.9937%2016.4512%2013.0418%2016.2845C13.0916%2016.1178%2013.1165%2015.9459%2013.1165%2015.7688C13.1165%2015.5832%2013.0908%2015.4071%2013.0392%2015.2403C12.9894%2015.0736%2012.9129%2014.9327%2012.8097%2014.8175C12.7066%2014.7024%2012.5769%2014.6293%2012.4205%2014.5984C12.3569%2014.5846%2012.2855%2014.5769%2012.2065%2014.5752C12.1274%2014.5735%2012.0647%2014.5726%2012.0183%2014.5726H11.5284V16.9651Z'%20fill='white'/%3e%3cpath%20d='M14.6323%2017.6251V13.9126H16.901V14.6138H15.3335V15.4182H16.5917V16.1195H15.3335V17.6251H14.6323Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e";
12
+ const xls = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.14994%200H14.1739L20.9745%207.08846V20.8756C20.9745%2022.6027%2019.5772%2024%2017.8561%2024H6.14994C4.42281%2024%203.02551%2022.6027%203.02551%2020.8756V3.12443C3.02548%201.3973%204.42278%200%206.14994%200Z'%20fill='%23317141'/%3e%3cpath%20d='M6.99329%2017.6251L8.2411%2015.7482L7.02938%2013.9126H7.89047L8.67938%2015.1501L9.45797%2013.9126H10.3242L9.1125%2015.7482L10.3552%2017.6251H9.49407L8.67938%2016.3463L7.85954%2017.6251H6.99329Z'%20fill='white'/%3e%3cpath%20d='M10.9733%2017.6251V13.9126H11.6745V16.9702H13.273V17.6251H10.9733Z'%20fill='white'/%3e%3cpath%20d='M15.2685%2017.7024C14.9935%2017.7024%2014.7451%2017.6543%2014.5234%2017.558C14.3034%2017.4601%2014.1221%2017.3209%2013.9794%2017.1404C13.8385%2016.9582%2013.7491%2016.7416%2013.7113%2016.4907L14.4435%2016.3824C14.4951%2016.5955%2014.6016%2016.7597%2014.7632%2016.8748C14.9248%2016.99%2015.1087%2017.0476%2015.3149%2017.0476C15.4301%2017.0476%2015.5418%2017.0295%2015.6501%2016.9934C15.7583%2016.9573%2015.8469%2016.9041%2015.9156%2016.8336C15.9861%2016.7631%2016.0213%2016.6763%2016.0213%2016.5732C16.0213%2016.5354%2016.0153%2016.4993%2016.0033%2016.4649C15.993%2016.4288%2015.9749%2016.3953%2015.9491%2016.3644C15.9233%2016.3334%2015.8864%2016.3042%2015.8383%2016.2767C15.7919%2016.2492%2015.7326%2016.2243%2015.6604%2016.2019L14.6962%2015.9184C14.624%2015.8977%2014.5398%2015.8685%2014.4435%2015.8307C14.349%2015.7929%2014.257%2015.7387%2014.1676%2015.6683C14.0783%2015.5978%2014.0035%2015.505%2013.9433%2015.3898C13.8849%2015.273%2013.8557%2015.126%2013.8557%2014.949C13.8557%2014.6998%2013.9184%2014.4927%2014.0439%2014.3277C14.1694%2014.1627%2014.3369%2014.0398%2014.5466%2013.959C14.7563%2013.8782%2014.9883%2013.8387%2015.2427%2013.8404C15.4988%2013.8438%2015.7274%2013.8877%2015.9285%2013.9719C16.1296%2014.0561%2016.298%2014.179%2016.4338%2014.3405C16.5696%2014.5004%2016.6676%2014.6963%2016.7277%2014.9284L15.9698%2015.0573C15.9423%2014.9369%2015.8916%2014.8355%2015.8176%2014.753C15.7437%2014.6705%2015.6552%2014.6078%2015.5521%2014.5648C15.4507%2014.5219%2015.3441%2014.4987%2015.2324%2014.4952C15.1224%2014.4918%2015.0184%2014.5073%2014.9205%2014.5416C14.8242%2014.5743%2014.7451%2014.6224%2014.6833%2014.686C14.6231%2014.7496%2014.593%2014.8252%2014.593%2014.9129C14.593%2014.9937%2014.618%2015.0598%2014.6678%2015.1114C14.7176%2015.1612%2014.7804%2015.2016%2014.856%2015.2326C14.9316%2015.2635%2015.009%2015.2893%2015.088%2015.3099L15.7326%2015.4852C15.8288%2015.511%2015.9354%2015.5454%2016.0523%2015.5884C16.1691%2015.6296%2016.2808%2015.688%2016.3874%2015.7637C16.4957%2015.8376%2016.5842%2015.9355%2016.653%2016.0576C16.7234%2016.1796%2016.7587%2016.3343%2016.7587%2016.5216C16.7587%2016.721%2016.7165%2016.8955%2016.6323%2017.045C16.5498%2017.1928%2016.4381%2017.3157%2016.2972%2017.4137C16.1562%2017.5099%2015.9964%2017.5821%2015.8176%2017.6302C15.6406%2017.6784%2015.4576%2017.7024%2015.2685%2017.7024Z'%20fill='white'/%3e%3cpath%20opacity='0.302'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.168%200V7.03449H20.9746L14.168%200Z'%20fill='white'/%3e%3c/svg%3e";
13
+ const _hoisted_1 = { key: 0 };
14
+ const _hoisted_2 = { key: 2 };
15
+ const _hoisted_3 = { class: "flex items-center gap-1" };
16
+ const _hoisted_4 = {
9
17
  key: 3,
10
18
  class: "list-none"
11
- }, $ = {
19
+ };
20
+ const _hoisted_5 = {
12
21
  key: 5,
13
22
  class: "grid"
14
- }, A = ["href"], F = {
23
+ };
24
+ const _hoisted_6 = ["href"];
25
+ const _hoisted_7 = {
15
26
  key: 6,
16
27
  class: "w-[520px] overflow-auto",
17
28
  style: { "scrollbar-width": "none" }
18
- }, j = {
29
+ };
30
+ const _hoisted_8 = {
19
31
  key: 7,
20
32
  class: "grid grid-cols-[max-content,1fr] gap-2 items-center"
21
- }, P = ["alt", "src"], I = ["href"], J = /* @__PURE__ */ m({
33
+ };
34
+ const _hoisted_9 = ["alt", "src"];
35
+ const _hoisted_10 = ["href"];
36
+ const _sfc_main = /* @__PURE__ */ defineComponent({
22
37
  __name: "TimelineContentByType",
23
38
  props: {
24
39
  detail: {}
25
40
  },
26
- setup(x) {
27
- const f = (e) => ({
28
- pdf: _,
29
- csv: k,
30
- doc: Z,
31
- xls: b,
32
- data: M
33
- })[e], u = (e) => {
34
- var d, t;
35
- return (t = e.filePath) == null ? void 0 : t.slice((((d = e.filePath) == null ? void 0 : d.lastIndexOf("/")) ?? 0) + 1);
41
+ setup(__props) {
42
+ const getFileIcon = (type) => {
43
+ return {
44
+ pdf,
45
+ csv,
46
+ doc,
47
+ xls,
48
+ data
49
+ }[type];
36
50
  };
37
- return (e, d) => e.detail.type === "text" ? (l(), C("p", B, i(e.detail.value), 1)) : e.detail.type === "badge" ? (l(), a(v, {
38
- key: 1,
39
- format: e.detail.format,
40
- label: e.detail.label,
41
- tooltip: e.detail.tooltip
42
- }, null, 8, ["format", "label", "tooltip"])) : e.detail.type === "userText" ? (l(), C("span", N, [
43
- s("span", E, [
44
- o(i(e.detail.text) + " ", 1),
45
- r(p, {
46
- user: e.detail.user,
47
- type: "icon",
48
- "user-name-field": "nickName"
49
- }, null, 8, ["user"])
50
- ])
51
- ])) : e.detail.type === "bullet" ? (l(), C("ul", T, [
52
- (l(!0), C(c, null, w(e.detail.value, (t, H) => (l(), C("li", {
53
- key: H,
54
- class: "flex items-center gap-1 before:content-['•'] before:mr-1 before:ml-1"
55
- }, [
56
- o(i(typeof t == "object" ? t.text : t) + " ", 1),
57
- typeof t == "object" ? (l(), a(p, {
58
- key: 0,
59
- user: t.user,
60
- type: "icon",
61
- "user-name-field": "nickName"
62
- }, null, 8, ["user"])) : n("", !0)
63
- ]))), 128))
64
- ])) : e.detail.type === "json" ? (l(), a(y, {
65
- key: 4,
66
- "model-value": e.detail.value,
67
- "editor-state": "readonly"
68
- }, null, 8, ["model-value"])) : e.detail.type === "taskUrl" ? (l(), C("span", $, [
69
- s("a", {
70
- class: h(["w-full truncate hover:underline text-[#0000EE]"]),
71
- href: e.detail.url,
72
- style: { "scrollbar-width": "none" },
73
- target: "_blank",
74
- title: "Buka Link di Tab Baru"
75
- }, i(e.detail.url), 9, A)
76
- ])) : e.detail.type == "embed" ? (l(), C("div", F, [
77
- r(g, {
78
- code: e.detail.code,
79
- readonly: ""
80
- }, null, 8, ["code"])
81
- ])) : (l(), C("div", j, [
82
- e.detail.type === "image" ? (l(), a(V, {
83
- key: 0,
84
- src: e.detail.filePath,
85
- class: "!w-6 !h-6 shrink-0"
86
- }, null, 8, ["src"])) : e.detail.type === "link" ? (l(), a(L, {
51
+ const getAttchmentFileName = (detail) => {
52
+ var _a, _b;
53
+ return (_b = detail.filePath) == null ? void 0 : _b.slice((((_a = detail.filePath) == null ? void 0 : _a.lastIndexOf("/")) ?? 0) + 1);
54
+ };
55
+ return (_ctx, _cache) => {
56
+ return _ctx.detail.type === "text" ? (openBlock(), createElementBlock("p", _hoisted_1, toDisplayString(_ctx.detail.value), 1)) : _ctx.detail.type === "badge" ? (openBlock(), createBlock(_sfc_main$1, {
87
57
  key: 1,
88
- class: "shrink-0 w-6 h-6",
89
- icon: "link"
90
- })) : ["pdf", "csv", "doc", "xls", "data"].includes(e.detail.type) ? (l(), C("img", {
91
- key: 2,
92
- alt: e.detail.type,
93
- src: f(e.detail.type),
94
- class: "shrink-0 w-6 h-6"
95
- }, null, 8, P)) : n("", !0),
96
- e.detail.type === "link" ? (l(), C("a", {
97
- key: 3,
98
- class: h(["w-full truncate hover:underline"]),
99
- href: e.detail.url,
100
- style: { "scrollbar-width": "none" },
101
- target: "_blank",
102
- title: "Buka Link di Tab Baru"
103
- }, i(e.detail.url), 9, I)) : e.detail.type !== "video" ? (l(), C(c, { key: 4 }, [
104
- o(i(u(e.detail)), 1)
105
- ], 64)) : n("", !0)
106
- ]));
58
+ format: _ctx.detail.format,
59
+ label: _ctx.detail.label,
60
+ tooltip: _ctx.detail.tooltip
61
+ }, null, 8, ["format", "label", "tooltip"])) : _ctx.detail.type === "userText" ? (openBlock(), createElementBlock("span", _hoisted_2, [
62
+ createElementVNode("span", _hoisted_3, [
63
+ createTextVNode(toDisplayString(_ctx.detail.text) + " ", 1),
64
+ createVNode(_sfc_main$2, {
65
+ user: _ctx.detail.user,
66
+ type: "icon",
67
+ "user-name-field": "nickName"
68
+ }, null, 8, ["user"])
69
+ ])
70
+ ])) : _ctx.detail.type === "bullet" ? (openBlock(), createElementBlock("ul", _hoisted_4, [
71
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.detail.value, (item, index) => {
72
+ return openBlock(), createElementBlock("li", {
73
+ key: index,
74
+ class: "flex items-center gap-1 before:content-['•'] before:mr-1 before:ml-1"
75
+ }, [
76
+ createTextVNode(toDisplayString(typeof item === "object" ? item.text : item) + " ", 1),
77
+ typeof item === "object" ? (openBlock(), createBlock(_sfc_main$2, {
78
+ key: 0,
79
+ user: item.user,
80
+ type: "icon",
81
+ "user-name-field": "nickName"
82
+ }, null, 8, ["user"])) : createCommentVNode("", true)
83
+ ]);
84
+ }), 128))
85
+ ])) : _ctx.detail.type === "json" ? (openBlock(), createBlock(_sfc_main$3, {
86
+ key: 4,
87
+ "model-value": _ctx.detail.value,
88
+ "editor-state": "readonly"
89
+ }, null, 8, ["model-value"])) : _ctx.detail.type === "taskUrl" ? (openBlock(), createElementBlock("span", _hoisted_5, [
90
+ createElementVNode("a", {
91
+ class: normalizeClass(["w-full truncate hover:underline text-[#0000EE]"]),
92
+ href: _ctx.detail.url,
93
+ style: { "scrollbar-width": "none" },
94
+ target: "_blank",
95
+ title: "Buka Link di Tab Baru"
96
+ }, toDisplayString(_ctx.detail.url), 9, _hoisted_6)
97
+ ])) : _ctx.detail.type == "embed" ? (openBlock(), createElementBlock("div", _hoisted_7, [
98
+ createVNode(_sfc_main$4, {
99
+ code: _ctx.detail.code,
100
+ readonly: ""
101
+ }, null, 8, ["code"])
102
+ ])) : (openBlock(), createElementBlock("div", _hoisted_8, [
103
+ _ctx.detail.type === "image" ? (openBlock(), createBlock(_sfc_main$5, {
104
+ key: 0,
105
+ src: _ctx.detail.filePath,
106
+ class: "!w-6 !h-6 shrink-0"
107
+ }, null, 8, ["src"])) : _ctx.detail.type === "link" ? (openBlock(), createBlock(_sfc_main$6, {
108
+ key: 1,
109
+ class: "shrink-0 w-6 h-6",
110
+ icon: "link"
111
+ })) : ["pdf", "csv", "doc", "xls", "data"].includes(_ctx.detail.type) ? (openBlock(), createElementBlock("img", {
112
+ key: 2,
113
+ alt: _ctx.detail.type,
114
+ src: getFileIcon(_ctx.detail.type),
115
+ class: "shrink-0 w-6 h-6"
116
+ }, null, 8, _hoisted_9)) : createCommentVNode("", true),
117
+ _ctx.detail.type === "link" ? (openBlock(), createElementBlock("a", {
118
+ key: 3,
119
+ class: normalizeClass(["w-full truncate hover:underline"]),
120
+ href: _ctx.detail.url,
121
+ style: { "scrollbar-width": "none" },
122
+ target: "_blank",
123
+ title: "Buka Link di Tab Baru"
124
+ }, toDisplayString(_ctx.detail.url), 9, _hoisted_10)) : _ctx.detail.type !== "video" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
125
+ createTextVNode(toDisplayString(getAttchmentFileName(_ctx.detail)), 1)
126
+ ], 64)) : createCommentVNode("", true)
127
+ ]));
128
+ };
107
129
  }
108
130
  });
109
131
  export {
110
- J as _
132
+ _sfc_main as _
111
133
  };