@nmorph/nmorph-ui-kit 2.2.52 → 2.2.53

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 (557) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/assets/icons/add-location.svg.js +21 -3
  3. package/dist/assets/icons/aim.svg.js +14 -2
  4. package/dist/assets/icons/alarm-clock.svg.js +14 -2
  5. package/dist/assets/icons/apple.svg.js +7 -1
  6. package/dist/assets/icons/archive.svg.js +14 -2
  7. package/dist/assets/icons/arrow-down.svg.js +7 -1
  8. package/dist/assets/icons/arrow-left.svg.js +7 -1
  9. package/dist/assets/icons/arrow-right.svg.js +7 -1
  10. package/dist/assets/icons/arrow-up.svg.js +7 -1
  11. package/dist/assets/icons/audio.svg.js +7 -1
  12. package/dist/assets/icons/avatar.svg.js +7 -1
  13. package/dist/assets/icons/back.svg.js +14 -2
  14. package/dist/assets/icons/baseball.svg.js +14 -2
  15. package/dist/assets/icons/basketball.svg.js +7 -1
  16. package/dist/assets/icons/bell-filled.svg.js +7 -1
  17. package/dist/assets/icons/bell.svg.js +21 -3
  18. package/dist/assets/icons/bottom-left.svg.js +14 -2
  19. package/dist/assets/icons/bottom-right.svg.js +14 -2
  20. package/dist/assets/icons/bottom.svg.js +7 -1
  21. package/dist/assets/icons/bowl.svg.js +7 -1
  22. package/dist/assets/icons/box.svg.js +21 -3
  23. package/dist/assets/icons/briefcase.svg.js +7 -1
  24. package/dist/assets/icons/brush-filled.svg.js +7 -1
  25. package/dist/assets/icons/brush.svg.js +7 -1
  26. package/dist/assets/icons/burger.svg.js +7 -1
  27. package/dist/assets/icons/calendar.svg.js +7 -1
  28. package/dist/assets/icons/camera-filled.svg.js +7 -1
  29. package/dist/assets/icons/camera.svg.js +7 -1
  30. package/dist/assets/icons/caret-bottom.svg.js +7 -1
  31. package/dist/assets/icons/caret-left.svg.js +7 -1
  32. package/dist/assets/icons/caret-right.svg.js +7 -1
  33. package/dist/assets/icons/caret-top.svg.js +7 -1
  34. package/dist/assets/icons/cellphone.svg.js +7 -1
  35. package/dist/assets/icons/chat-dot-round.svg.js +14 -2
  36. package/dist/assets/icons/chat-dot-square.svg.js +14 -2
  37. package/dist/assets/icons/chat-line-round.svg.js +14 -2
  38. package/dist/assets/icons/chat-line-square.svg.js +14 -2
  39. package/dist/assets/icons/chat-round.svg.js +7 -1
  40. package/dist/assets/icons/chat-square.svg.js +7 -1
  41. package/dist/assets/icons/check.svg.js +7 -1
  42. package/dist/assets/icons/checked.svg.js +7 -1
  43. package/dist/assets/icons/cherry.svg.js +7 -1
  44. package/dist/assets/icons/chevron-double-down.svg.js +7 -1
  45. package/dist/assets/icons/chevron-double-left.svg.js +14 -2
  46. package/dist/assets/icons/chevron-double-right.svg.js +14 -2
  47. package/dist/assets/icons/chevron-double-up.svg.js +14 -2
  48. package/dist/assets/icons/chevron-down.svg.js +7 -1
  49. package/dist/assets/icons/chevron-left.svg.js +7 -1
  50. package/dist/assets/icons/chevron-right.svg.js +7 -1
  51. package/dist/assets/icons/chevron-up.svg.js +7 -1
  52. package/dist/assets/icons/chicken.svg.js +7 -1
  53. package/dist/assets/icons/chrome-filled.svg.js +21 -3
  54. package/dist/assets/icons/circle-check-filled.svg.js +7 -1
  55. package/dist/assets/icons/circle-check.svg.js +14 -2
  56. package/dist/assets/icons/circle-close-filled.svg.js +7 -1
  57. package/dist/assets/icons/circle-close.svg.js +14 -2
  58. package/dist/assets/icons/circle-plus-filled.svg.js +7 -1
  59. package/dist/assets/icons/circle-plus.svg.js +21 -3
  60. package/dist/assets/icons/clipboard-check.svg.js +11 -5
  61. package/dist/assets/icons/clipboard.svg.js +11 -5
  62. package/dist/assets/icons/clock.svg.js +21 -3
  63. package/dist/assets/icons/close-bold.svg.js +7 -1
  64. package/dist/assets/icons/close.svg.js +7 -1
  65. package/dist/assets/icons/cloudy.svg.js +7 -1
  66. package/dist/assets/icons/code.svg.js +7 -1
  67. package/dist/assets/icons/coffee-cup.svg.js +7 -1
  68. package/dist/assets/icons/coffee.svg.js +7 -1
  69. package/dist/assets/icons/coin.svg.js +21 -3
  70. package/dist/assets/icons/cold-drink.svg.js +7 -1
  71. package/dist/assets/icons/collection-tag.svg.js +7 -1
  72. package/dist/assets/icons/collection.svg.js +14 -2
  73. package/dist/assets/icons/comment.svg.js +7 -1
  74. package/dist/assets/icons/compass.svg.js +14 -2
  75. package/dist/assets/icons/connection.svg.js +14 -2
  76. package/dist/assets/icons/coordinate.svg.js +14 -2
  77. package/dist/assets/icons/copy-document.svg.js +14 -2
  78. package/dist/assets/icons/copy.svg.js +7 -1
  79. package/dist/assets/icons/cpu.svg.js +14 -2
  80. package/dist/assets/icons/credit-card.svg.js +14 -2
  81. package/dist/assets/icons/crop.svg.js +14 -2
  82. package/dist/assets/icons/cross.svg.js +7 -1
  83. package/dist/assets/icons/database.svg.js +11 -5
  84. package/dist/assets/icons/delete-filled.svg.js +7 -1
  85. package/dist/assets/icons/delete.svg.js +7 -1
  86. package/dist/assets/icons/dessert.svg.js +7 -1
  87. package/dist/assets/icons/discount.svg.js +14 -2
  88. package/dist/assets/icons/doc.svg.js +7 -1
  89. package/dist/assets/icons/document-add.svg.js +7 -1
  90. package/dist/assets/icons/document-checked.svg.js +7 -1
  91. package/dist/assets/icons/document-copy.svg.js +7 -1
  92. package/dist/assets/icons/document-delete.svg.js +7 -1
  93. package/dist/assets/icons/document-remove.svg.js +7 -1
  94. package/dist/assets/icons/document.svg.js +7 -1
  95. package/dist/assets/icons/download.svg.js +7 -1
  96. package/dist/assets/icons/drag-handle.svg.js +7 -1
  97. package/dist/assets/icons/edit-pen.svg.js +7 -1
  98. package/dist/assets/icons/edit.svg.js +14 -2
  99. package/dist/assets/icons/enlarge.svg.js +7 -1
  100. package/dist/assets/icons/error.svg.js +14 -2
  101. package/dist/assets/icons/exit-square.svg.js +17 -5
  102. package/dist/assets/icons/exit.svg.js +14 -2
  103. package/dist/assets/icons/expand.svg.js +7 -1
  104. package/dist/assets/icons/external-link.svg.js +14 -2
  105. package/dist/assets/icons/eye-blocked.svg.js +14 -2
  106. package/dist/assets/icons/eye.svg.js +7 -1
  107. package/dist/assets/icons/failed.svg.js +7 -1
  108. package/dist/assets/icons/files.svg.js +7 -1
  109. package/dist/assets/icons/film.svg.js +14 -2
  110. package/dist/assets/icons/filter-off.svg.js +14 -2
  111. package/dist/assets/icons/filter.svg.js +7 -1
  112. package/dist/assets/icons/fingerprint.svg.js +30 -12
  113. package/dist/assets/icons/finished.svg.js +7 -1
  114. package/dist/assets/icons/flag.svg.js +7 -1
  115. package/dist/assets/icons/fold.svg.js +7 -1
  116. package/dist/assets/icons/folder-add.svg.js +7 -1
  117. package/dist/assets/icons/folder-checked.svg.js +7 -1
  118. package/dist/assets/icons/folder-delete.svg.js +7 -1
  119. package/dist/assets/icons/folder-opened.svg.js +7 -1
  120. package/dist/assets/icons/folder-remove.svg.js +7 -1
  121. package/dist/assets/icons/folder.svg.js +7 -1
  122. package/dist/assets/icons/food.svg.js +7 -1
  123. package/dist/assets/icons/fork-spoon.svg.js +7 -1
  124. package/dist/assets/icons/forward-filled.svg.js +7 -1
  125. package/dist/assets/icons/forward.svg.js +14 -8
  126. package/dist/assets/icons/full-screen.svg.js +7 -1
  127. package/dist/assets/icons/goblet-full.svg.js +7 -1
  128. package/dist/assets/icons/goblet.svg.js +7 -1
  129. package/dist/assets/icons/gold-medal.svg.js +14 -2
  130. package/dist/assets/icons/goods-filled.svg.js +7 -1
  131. package/dist/assets/icons/goods.svg.js +7 -1
  132. package/dist/assets/icons/google.svg.js +28 -4
  133. package/dist/assets/icons/grape.svg.js +7 -1
  134. package/dist/assets/icons/grid.svg.js +7 -1
  135. package/dist/assets/icons/guide.svg.js +14 -2
  136. package/dist/assets/icons/handbag.svg.js +7 -1
  137. package/dist/assets/icons/headset.svg.js +7 -1
  138. package/dist/assets/icons/histogram.svg.js +7 -1
  139. package/dist/assets/icons/hot-water.svg.js +7 -1
  140. package/dist/assets/icons/house.svg.js +7 -1
  141. package/dist/assets/icons/ice-cream-round.svg.js +7 -1
  142. package/dist/assets/icons/ice-drink.svg.js +7 -1
  143. package/dist/assets/icons/ice-tea.svg.js +7 -1
  144. package/dist/assets/icons/image.svg.js +19 -7
  145. package/dist/assets/icons/inbox.svg.js +11 -5
  146. package/dist/assets/icons/info-filled.svg.js +7 -1
  147. package/dist/assets/icons/info.svg.js +14 -2
  148. package/dist/assets/icons/key.svg.js +7 -1
  149. package/dist/assets/icons/knife-fork.svg.js +7 -1
  150. package/dist/assets/icons/lightning.svg.js +14 -2
  151. package/dist/assets/icons/link.svg.js +7 -1
  152. package/dist/assets/icons/list.svg.js +7 -1
  153. package/dist/assets/icons/loading.svg.js +16 -10
  154. package/dist/assets/icons/location-filled.svg.js +7 -1
  155. package/dist/assets/icons/location-information.svg.js +21 -3
  156. package/dist/assets/icons/location.svg.js +14 -2
  157. package/dist/assets/icons/lock.svg.js +14 -2
  158. package/dist/assets/icons/logo.svg.js +34 -22
  159. package/dist/assets/icons/lollipop.svg.js +7 -1
  160. package/dist/assets/icons/magic-stick.svg.js +7 -1
  161. package/dist/assets/icons/magnet.svg.js +7 -1
  162. package/dist/assets/icons/mail.svg.js +11 -5
  163. package/dist/assets/icons/male.svg.js +21 -3
  164. package/dist/assets/icons/management.svg.js +7 -1
  165. package/dist/assets/icons/map-location.svg.js +14 -2
  166. package/dist/assets/icons/medal.svg.js +14 -2
  167. package/dist/assets/icons/memo.svg.js +21 -3
  168. package/dist/assets/icons/menu.svg.js +7 -1
  169. package/dist/assets/icons/message-box.svg.js +7 -1
  170. package/dist/assets/icons/message.svg.js +14 -2
  171. package/dist/assets/icons/mic.svg.js +7 -1
  172. package/dist/assets/icons/microphone.svg.js +7 -1
  173. package/dist/assets/icons/minus-thin.svg.js +11 -5
  174. package/dist/assets/icons/minus.svg.js +7 -1
  175. package/dist/assets/icons/money.svg.js +21 -3
  176. package/dist/assets/icons/monitor.svg.js +7 -1
  177. package/dist/assets/icons/moon.svg.js +7 -1
  178. package/dist/assets/icons/more-filled.svg.js +7 -1
  179. package/dist/assets/icons/more.svg.js +7 -1
  180. package/dist/assets/icons/mostly-cloudy.svg.js +7 -1
  181. package/dist/assets/icons/mouse.svg.js +14 -2
  182. package/dist/assets/icons/mug.svg.js +7 -1
  183. package/dist/assets/icons/mute-notification.svg.js +14 -2
  184. package/dist/assets/icons/mute.svg.js +14 -2
  185. package/dist/assets/icons/no-smoking.svg.js +7 -1
  186. package/dist/assets/icons/notebook.svg.js +14 -2
  187. package/dist/assets/icons/notification.svg.js +14 -2
  188. package/dist/assets/icons/odometer.svg.js +21 -3
  189. package/dist/assets/icons/office-building.svg.js +21 -3
  190. package/dist/assets/icons/open.svg.js +14 -2
  191. package/dist/assets/icons/operation.svg.js +7 -1
  192. package/dist/assets/icons/opportunity.svg.js +7 -1
  193. package/dist/assets/icons/orange.svg.js +7 -1
  194. package/dist/assets/icons/paperclip.svg.js +7 -1
  195. package/dist/assets/icons/partly-cloudy.svg.js +14 -2
  196. package/dist/assets/icons/pause.svg.js +7 -1
  197. package/dist/assets/icons/pear.svg.js +7 -1
  198. package/dist/assets/icons/phone-filled.svg.js +7 -1
  199. package/dist/assets/icons/phone.svg.js +7 -1
  200. package/dist/assets/icons/picture.svg.js +14 -2
  201. package/dist/assets/icons/pie-chart.svg.js +14 -2
  202. package/dist/assets/icons/pin.svg.js +7 -1
  203. package/dist/assets/icons/place.svg.js +21 -3
  204. package/dist/assets/icons/platform.svg.js +7 -1
  205. package/dist/assets/icons/play.svg.js +7 -1
  206. package/dist/assets/icons/plus-thin.svg.js +11 -5
  207. package/dist/assets/icons/plus.svg.js +7 -1
  208. package/dist/assets/icons/pointer.svg.js +7 -1
  209. package/dist/assets/icons/position.svg.js +7 -1
  210. package/dist/assets/icons/postcard.svg.js +14 -2
  211. package/dist/assets/icons/pouring.svg.js +7 -1
  212. package/dist/assets/icons/present.svg.js +28 -4
  213. package/dist/assets/icons/price-tag.svg.js +14 -2
  214. package/dist/assets/icons/printer.svg.js +7 -1
  215. package/dist/assets/icons/promotion.svg.js +7 -1
  216. package/dist/assets/icons/quartz-watch.svg.js +21 -3
  217. package/dist/assets/icons/question-filled.svg.js +7 -1
  218. package/dist/assets/icons/rank.svg.js +7 -1
  219. package/dist/assets/icons/reading-lamp.svg.js +14 -2
  220. package/dist/assets/icons/reading.svg.js +14 -2
  221. package/dist/assets/icons/record.svg.js +7 -1
  222. package/dist/assets/icons/redo.svg.js +7 -1
  223. package/dist/assets/icons/refresh-left.svg.js +7 -1
  224. package/dist/assets/icons/refresh-right.svg.js +7 -1
  225. package/dist/assets/icons/refresh.svg.js +7 -1
  226. package/dist/assets/icons/refrigerator.svg.js +7 -1
  227. package/dist/assets/icons/remove-filled.svg.js +7 -1
  228. package/dist/assets/icons/remove.svg.js +14 -2
  229. package/dist/assets/icons/reply-filled.svg.js +7 -1
  230. package/dist/assets/icons/reply.svg.js +14 -8
  231. package/dist/assets/icons/right.svg.js +7 -1
  232. package/dist/assets/icons/rotate-left.svg.js +7 -1
  233. package/dist/assets/icons/rotate-right.svg.js +7 -1
  234. package/dist/assets/icons/save.svg.js +11 -5
  235. package/dist/assets/icons/scale-to-original.svg.js +7 -1
  236. package/dist/assets/icons/school.svg.js +21 -3
  237. package/dist/assets/icons/scissor.svg.js +7 -1
  238. package/dist/assets/icons/search.svg.js +7 -1
  239. package/dist/assets/icons/select.svg.js +7 -1
  240. package/dist/assets/icons/sell.svg.js +7 -1
  241. package/dist/assets/icons/semi-select.svg.js +7 -1
  242. package/dist/assets/icons/send-filled.svg.js +7 -1
  243. package/dist/assets/icons/send.svg.js +7 -1
  244. package/dist/assets/icons/server.svg.js +18 -6
  245. package/dist/assets/icons/service.svg.js +7 -1
  246. package/dist/assets/icons/setting.svg.js +7 -1
  247. package/dist/assets/icons/share.svg.js +7 -1
  248. package/dist/assets/icons/shield-check.svg.js +11 -5
  249. package/dist/assets/icons/shield.svg.js +11 -5
  250. package/dist/assets/icons/ship.svg.js +7 -1
  251. package/dist/assets/icons/shop.svg.js +7 -1
  252. package/dist/assets/icons/shopping-bag.svg.js +14 -2
  253. package/dist/assets/icons/shopping-cart-full.svg.js +14 -2
  254. package/dist/assets/icons/shopping-cart.svg.js +7 -1
  255. package/dist/assets/icons/shrink.svg.js +7 -1
  256. package/dist/assets/icons/sliders.svg.js +17 -5
  257. package/dist/assets/icons/smile.svg.js +14 -2
  258. package/dist/assets/icons/smoking.svg.js +14 -2
  259. package/dist/assets/icons/soccer.svg.js +7 -1
  260. package/dist/assets/icons/sold-out.svg.js +7 -1
  261. package/dist/assets/icons/sort-down.svg.js +7 -1
  262. package/dist/assets/icons/sort-up.svg.js +7 -1
  263. package/dist/assets/icons/sort.svg.js +7 -1
  264. package/dist/assets/icons/stamp.svg.js +7 -1
  265. package/dist/assets/icons/star-filled.svg.js +7 -1
  266. package/dist/assets/icons/star.svg.js +7 -1
  267. package/dist/assets/icons/stop.svg.js +7 -1
  268. package/dist/assets/icons/stopwatch.svg.js +14 -2
  269. package/dist/assets/icons/success-filled.svg.js +7 -1
  270. package/dist/assets/icons/success.svg.js +7 -1
  271. package/dist/assets/icons/sugar.svg.js +7 -1
  272. package/dist/assets/icons/suitcase-line.svg.js +7 -1
  273. package/dist/assets/icons/sunny.svg.js +7 -1
  274. package/dist/assets/icons/sunrise.svg.js +7 -1
  275. package/dist/assets/icons/sunset.svg.js +7 -1
  276. package/dist/assets/icons/switch-button.svg.js +14 -2
  277. package/dist/assets/icons/switch-filled.svg.js +14 -2
  278. package/dist/assets/icons/switch.svg.js +7 -1
  279. package/dist/assets/icons/takeaway-box.svg.js +7 -1
  280. package/dist/assets/icons/ticket.svg.js +7 -1
  281. package/dist/assets/icons/tickets.svg.js +7 -1
  282. package/dist/assets/icons/time.svg.js +7 -1
  283. package/dist/assets/icons/timer.svg.js +21 -3
  284. package/dist/assets/icons/toilet-paper.svg.js +14 -2
  285. package/dist/assets/icons/tools.svg.js +7 -1
  286. package/dist/assets/icons/top-left.svg.js +14 -2
  287. package/dist/assets/icons/top-right.svg.js +14 -2
  288. package/dist/assets/icons/top.svg.js +7 -1
  289. package/dist/assets/icons/trend-charts.svg.js +7 -1
  290. package/dist/assets/icons/triangle-down.svg.js +7 -1
  291. package/dist/assets/icons/trophy-base.svg.js +7 -1
  292. package/dist/assets/icons/trophy.svg.js +7 -1
  293. package/dist/assets/icons/turn-off.svg.js +14 -2
  294. package/dist/assets/icons/umbrella.svg.js +7 -1
  295. package/dist/assets/icons/undo.svg.js +7 -1
  296. package/dist/assets/icons/unlock.svg.js +14 -2
  297. package/dist/assets/icons/upload-filled.svg.js +7 -1
  298. package/dist/assets/icons/upload.svg.js +7 -1
  299. package/dist/assets/icons/user-filled.svg.js +7 -1
  300. package/dist/assets/icons/user.svg.js +7 -1
  301. package/dist/assets/icons/users.svg.js +14 -2
  302. package/dist/assets/icons/van.svg.js +7 -1
  303. package/dist/assets/icons/video-camera.svg.js +7 -1
  304. package/dist/assets/icons/video-pause.svg.js +7 -1
  305. package/dist/assets/icons/video-play.svg.js +7 -1
  306. package/dist/assets/icons/video.svg.js +14 -2
  307. package/dist/assets/icons/view.svg.js +7 -1
  308. package/dist/assets/icons/wallet-filled.svg.js +7 -1
  309. package/dist/assets/icons/wallet.svg.js +21 -3
  310. package/dist/assets/icons/warn-triangle-filled.svg.js +7 -1
  311. package/dist/assets/icons/warning.svg.js +14 -2
  312. package/dist/assets/icons/watch.svg.js +21 -3
  313. package/dist/assets/icons/wind-power.svg.js +7 -1
  314. package/dist/assets/icons/zoom-in.svg.js +7 -1
  315. package/dist/assets/icons/zoom-out.svg.js +7 -1
  316. package/dist/components/basic/nmorph-button/NmorphButton.vue.js +63 -94
  317. package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +69 -0
  318. package/dist/components/basic/nmorph-icon/NmorphIcon.vue.js +21 -32
  319. package/dist/components/basic/nmorph-icon/NmorphIcon.vue2.js +31 -0
  320. package/dist/components/basic/nmorph-layout/NmorphLayout.vue.js +37 -53
  321. package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +31 -0
  322. package/dist/components/basic/nmorph-link/NmorphLink.vue.js +58 -82
  323. package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +56 -0
  324. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.js +84 -217
  325. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue2.js +195 -0
  326. package/dist/components/basic/nmorph-space/NmorphSpace.vue.js +18 -45
  327. package/dist/components/basic/nmorph-space/NmorphSpace.vue2.js +41 -0
  328. package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.vue.js +37 -41
  329. package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.vue2.js +30 -0
  330. package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.vue.js +126 -178
  331. package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.vue2.js +115 -0
  332. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.js +82 -116
  333. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue2.js +74 -0
  334. package/dist/components/data/nmorph-badge/NmorphBadge.vue.js +105 -139
  335. package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +96 -0
  336. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.js +93 -183
  337. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue2.js +139 -0
  338. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.js +49 -52
  339. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue2.js +41 -0
  340. package/dist/components/data/nmorph-card/NmorphCard.vue.js +35 -56
  341. package/dist/components/data/nmorph-card/NmorphCard.vue2.js +42 -0
  342. package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.js +75 -67
  343. package/dist/components/data/nmorph-carousel/NmorphCarousel.vue2.js +39 -2
  344. package/dist/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.js +20 -29
  345. package/dist/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue2.js +26 -2
  346. package/dist/components/data/nmorph-collapse/NmorphCollapse.vue.js +18 -41
  347. package/dist/components/data/nmorph-collapse/NmorphCollapse.vue2.js +38 -2
  348. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.js +61 -73
  349. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue2.js +59 -0
  350. package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.js +211 -386
  351. package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue2.js +254 -0
  352. package/dist/components/data/nmorph-empty/NmorphEmpty.vue.js +54 -74
  353. package/dist/components/data/nmorph-empty/NmorphEmpty.vue2.js +48 -0
  354. package/dist/components/data/nmorph-file-card/NmorphFileCard.vue.js +211 -209
  355. package/dist/components/data/nmorph-file-card/NmorphFileCard.vue2.js +109 -0
  356. package/dist/components/data/nmorph-image/NmorphImage.vue.js +43 -52
  357. package/dist/components/data/nmorph-image/NmorphImage.vue2.js +37 -0
  358. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.js +160 -246
  359. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue2.js +152 -0
  360. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.css +1 -1
  361. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.js +365 -290
  362. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue2.js +223 -0
  363. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue.js +86 -109
  364. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue2.js +78 -0
  365. package/dist/components/data/nmorph-pagination/NmorphPagination.vue.js +72 -113
  366. package/dist/components/data/nmorph-pagination/NmorphPagination.vue2.js +77 -0
  367. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.js +106 -102
  368. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue2.js +49 -0
  369. package/dist/components/data/nmorph-progress/NmorphProgress.vue.js +65 -81
  370. package/dist/components/data/nmorph-progress/NmorphProgress.vue2.js +47 -0
  371. package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue.js +44 -69
  372. package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue2.js +55 -0
  373. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue.js +55 -48
  374. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue2.js +32 -0
  375. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.js +28 -34
  376. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue2.js +30 -0
  377. package/dist/components/data/nmorph-table/NmorphTable.vue.js +282 -219
  378. package/dist/components/data/nmorph-table/NmorphTable.vue2.js +99 -0
  379. package/dist/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.js +19 -26
  380. package/dist/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue2.js +24 -2
  381. package/dist/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.js +17 -37
  382. package/dist/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue2.js +29 -2
  383. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.js +34 -42
  384. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue2.js +34 -0
  385. package/dist/components/data/nmorph-tag-list/NmorphTagList.vue.js +67 -80
  386. package/dist/components/data/nmorph-tag-list/NmorphTagList.vue2.js +58 -0
  387. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.js +37 -103
  388. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue2.js +101 -0
  389. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue.js +196 -260
  390. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue2.js +134 -0
  391. package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue.js +80 -94
  392. package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue2.js +63 -0
  393. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue.js +56 -79
  394. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue2.js +56 -0
  395. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue.js +37 -79
  396. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +61 -0
  397. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.js +59 -98
  398. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +73 -0
  399. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue.js +74 -92
  400. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +50 -0
  401. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue.js +126 -180
  402. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +121 -0
  403. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.js +145 -197
  404. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue2.js +115 -0
  405. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue.js +72 -94
  406. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue2.js +57 -0
  407. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.js +37 -59
  408. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue2.js +51 -0
  409. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue.js +49 -98
  410. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue2.js +77 -0
  411. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue.js +77 -142
  412. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue2.js +102 -0
  413. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.js +22 -25
  414. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue2.js +22 -2
  415. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.js +45 -81
  416. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue2.js +51 -2
  417. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.js +52 -54
  418. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue2.js +38 -0
  419. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.js +46 -93
  420. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue2.js +77 -0
  421. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.js +129 -204
  422. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue2.js +139 -0
  423. package/dist/components/form/nmorph-form/NmorphForm.vue.js +19 -23
  424. package/dist/components/form/nmorph-form/NmorphForm.vue2.js +21 -2
  425. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.js +32 -64
  426. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue2.js +54 -0
  427. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.js +37 -33
  428. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +28 -0
  429. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.js +26 -32
  430. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue2.js +27 -0
  431. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.js +87 -135
  432. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue2.js +82 -0
  433. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue.js +66 -191
  434. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue2.js +151 -0
  435. package/dist/components/form/nmorph-radio/NmorphRadio.vue.js +72 -73
  436. package/dist/components/form/nmorph-radio/NmorphRadio.vue2.js +38 -0
  437. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue.js +37 -51
  438. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue2.js +43 -0
  439. package/dist/components/form/nmorph-select/NmorphSelect.vue.js +194 -276
  440. package/dist/components/form/nmorph-select/NmorphSelect.vue2.js +176 -0
  441. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.js +38 -70
  442. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue2.js +56 -0
  443. package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue.js +41 -66
  444. package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue2.js +58 -0
  445. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.js +29 -52
  446. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue2.js +35 -0
  447. package/dist/components/form/nmorph-slider/NmorphSlider.vue.js +68 -133
  448. package/dist/components/form/nmorph-slider/NmorphSlider.vue2.js +95 -0
  449. package/dist/components/form/nmorph-switch/NmorphSwitch.vue.js +50 -92
  450. package/dist/components/form/nmorph-switch/NmorphSwitch.vue2.js +72 -0
  451. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.js +54 -101
  452. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue2.js +67 -0
  453. package/dist/components/form/nmorph-textarea/NmorphTextarea.vue.js +37 -94
  454. package/dist/components/form/nmorph-textarea/NmorphTextarea.vue2.js +73 -0
  455. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.js +150 -205
  456. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue2.js +124 -0
  457. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.js +55 -92
  458. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue2.js +67 -0
  459. package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.js +43 -35
  460. package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue2.js +24 -0
  461. package/dist/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.js +33 -41
  462. package/dist/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue2.js +24 -2
  463. package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.js +163 -251
  464. package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.vue2.js +164 -0
  465. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue.js +34 -92
  466. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +73 -0
  467. package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue.js +67 -58
  468. package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue2.js +39 -0
  469. package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.js +23 -34
  470. package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue2.js +30 -2
  471. package/dist/components/others/nmorph-divider/NmorphDivider.vue.js +16 -18
  472. package/dist/components/others/nmorph-divider/NmorphDivider.vue2.js +21 -0
  473. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.js +49 -98
  474. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue2.js +79 -0
  475. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.js +89 -131
  476. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue2.js +100 -0
  477. package/dist/icons.js +641 -642
  478. package/dist/index.es.js +865 -928
  479. package/dist/index.umd.js +34 -34
  480. package/dist/package.json.js +1 -1
  481. package/dist/src/components/data/nmorph-file-card/NmorphFileCard.vue.d.ts +3 -2
  482. package/dist/src/components/data/nmorph-file-card/types.d.ts +2 -0
  483. package/dist/src/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.d.ts +5 -0
  484. package/dist/src/components/data/nmorph-media-gallery/types.d.ts +11 -6
  485. package/dist/src/components/data/nmorph-video-preview/NmorphVideoPreview.vue.d.ts +2 -2
  486. package/dist/style.css +1 -1
  487. package/package.json +1 -1
  488. package/dist/components/basic/nmorph-button/NmorphButton.vue3.js +0 -6
  489. package/dist/components/basic/nmorph-icon/NmorphIcon.vue3.js +0 -6
  490. package/dist/components/basic/nmorph-layout/NmorphLayout.vue3.js +0 -6
  491. package/dist/components/basic/nmorph-link/NmorphLink.vue3.js +0 -6
  492. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue3.js +0 -6
  493. package/dist/components/basic/nmorph-space/NmorphSpace.vue3.js +0 -6
  494. package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.vue3.js +0 -6
  495. package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.vue3.js +0 -6
  496. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue3.js +0 -6
  497. package/dist/components/data/nmorph-badge/NmorphBadge.vue3.js +0 -6
  498. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue3.js +0 -6
  499. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue3.js +0 -6
  500. package/dist/components/data/nmorph-card/NmorphCard.vue3.js +0 -6
  501. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue3.js +0 -6
  502. package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue3.js +0 -6
  503. package/dist/components/data/nmorph-empty/NmorphEmpty.vue3.js +0 -6
  504. package/dist/components/data/nmorph-file-card/NmorphFileCard.vue3.js +0 -6
  505. package/dist/components/data/nmorph-image/NmorphImage.vue3.js +0 -6
  506. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue3.js +0 -6
  507. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue3.js +0 -6
  508. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue3.js +0 -6
  509. package/dist/components/data/nmorph-pagination/NmorphPagination.vue3.js +0 -6
  510. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue3.js +0 -6
  511. package/dist/components/data/nmorph-progress/NmorphProgress.vue3.js +0 -6
  512. package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue3.js +0 -6
  513. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue3.js +0 -6
  514. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue3.js +0 -6
  515. package/dist/components/data/nmorph-table/NmorphTable.vue3.js +0 -6
  516. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue3.js +0 -6
  517. package/dist/components/data/nmorph-tag-list/NmorphTagList.vue3.js +0 -6
  518. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue3.js +0 -6
  519. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue3.js +0 -6
  520. package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue3.js +0 -6
  521. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue3.js +0 -6
  522. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue3.js +0 -6
  523. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue3.js +0 -6
  524. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue3.js +0 -6
  525. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue3.js +0 -6
  526. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue3.js +0 -6
  527. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue3.js +0 -6
  528. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue3.js +0 -6
  529. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue3.js +0 -6
  530. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue3.js +0 -6
  531. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue3.js +0 -6
  532. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue3.js +0 -6
  533. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue3.js +0 -6
  534. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue3.js +0 -6
  535. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue3.js +0 -6
  536. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue3.js +0 -6
  537. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue3.js +0 -6
  538. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue3.js +0 -6
  539. package/dist/components/form/nmorph-radio/NmorphRadio.vue3.js +0 -6
  540. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue3.js +0 -6
  541. package/dist/components/form/nmorph-select/NmorphSelect.vue3.js +0 -6
  542. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue3.js +0 -6
  543. package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue3.js +0 -6
  544. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue3.js +0 -6
  545. package/dist/components/form/nmorph-slider/NmorphSlider.vue3.js +0 -6
  546. package/dist/components/form/nmorph-switch/NmorphSwitch.vue3.js +0 -6
  547. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue3.js +0 -6
  548. package/dist/components/form/nmorph-textarea/NmorphTextarea.vue3.js +0 -6
  549. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue3.js +0 -6
  550. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue3.js +0 -6
  551. package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue3.js +0 -6
  552. package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.vue3.js +0 -6
  553. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue3.js +0 -6
  554. package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue3.js +0 -6
  555. package/dist/components/others/nmorph-divider/NmorphDivider.vue3.js +0 -6
  556. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue3.js +0 -6
  557. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue3.js +0 -6
@@ -1,100 +1,86 @@
1
1
  import './NmorphVirtualList.css';
2
- import { defineComponent as V, computed as i, openBlock as l, createElementBlock as r, normalizeStyle as c, normalizeClass as $, createElementVNode as L, Fragment as R, renderList as z, createBlock as E, resolveDynamicComponent as N, withCtx as D, renderSlot as d, createTextVNode as F, toDisplayString as j } from "vue";
3
- import { useVirtualList as w } from "../../../hooks/use-virtual-list.js";
4
- import { useModifiers as I } from "../../../utils/create-modifiers.js";
5
- import { createCssSizeVariables as M } from "../../../utils/common.js";
6
- const Y = {
2
+ import a from "./NmorphVirtualList.vue2.js";
3
+ import { openBlock as t, createElementBlock as o, normalizeStyle as l, normalizeClass as m, createElementVNode as c, Fragment as d, renderList as p, createBlock as _, resolveDynamicComponent as f, withCtx as y, renderSlot as n, createTextVNode as h, toDisplayString as k } from "vue";
4
+ /* empty css */
5
+ import x from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const v = {
7
7
  key: 1,
8
8
  class: "nmorph-virtual-list__empty"
9
- }, O = /* @__PURE__ */ V({
10
- __name: "NmorphVirtualList",
11
- props: {
12
- items: { default: () => [] },
13
- height: { default: "320px" },
14
- maxHeight: { default: "none" },
15
- itemHeight: { default: 40 },
16
- overscan: { default: 5 },
17
- dynamic: { type: Boolean, default: !1 },
18
- disabled: { type: Boolean, default: !1 },
19
- itemKey: { type: [String, Function], default: void 0 },
20
- itemTag: { default: "div" }
21
- },
22
- emits: ["on-scroll"],
23
- setup(u, { expose: f, emit: p }) {
24
- const e = u, h = p, y = i(() => e.items), a = i(() => !e.disabled), v = i(() => e.itemHeight), g = i(() => e.overscan), _ = i(() => e.dynamic), s = w(y, {
25
- enabled: a,
26
- itemHeight: v,
27
- overscan: g,
28
- dynamic: _
29
- }), m = s.containerRef, x = i(
30
- () => I({
31
- "nmorph-virtual-list": [e.disabled && "disabled", e.dynamic && "dynamic"]
32
- })
33
- ), H = i(() => ({
34
- ...M({
35
- "--nmorph-virtual-list-height": e.height,
36
- "--nmorph-virtual-list-max-height": e.maxHeight
37
- }),
38
- "--nmorph-virtual-list-item-height": `${e.itemHeight}px`
39
- })), S = i(() => ({
40
- transform: a.value ? `translateY(${s.offsetTop.value}px)` : void 0
41
- })), b = i(() => ({
42
- height: a.value ? `${s.totalHeight.value}px` : void 0
43
- })), k = i(() => s.virtualItems.value), K = (t, n) => {
44
- if (typeof e.itemKey == "function") return e.itemKey(t, n);
45
- if (typeof e.itemKey == "string" && t && typeof t == "object") {
46
- const o = t[e.itemKey];
47
- return o === void 0 ? n : String(o);
48
- }
49
- return n;
50
- }, T = (t) => {
51
- s.scrollHandler(), h("on-scroll", t);
52
- }, B = (t, n) => {
53
- s.measureElement(n, t);
54
- };
55
- return f({
56
- containerRef: m,
57
- refresh: s.refresh,
58
- scrollToIndex: s.scrollToIndex
59
- }), (t, n) => (l(), r("div", {
60
- ref_key: "containerRef",
61
- ref: m,
62
- class: $(x.value),
63
- style: c(H.value),
64
- onScroll: T
65
- }, [
66
- e.items.length ? (l(), r("div", {
67
- key: 0,
68
- class: "nmorph-virtual-list__spacer",
69
- style: c(b.value)
70
- }, [
71
- L("div", {
72
- class: "nmorph-virtual-list__content",
73
- style: c(S.value)
74
- }, [
75
- (l(!0), r(R, null, z(k.value, (o) => (l(), E(N(e.itemTag), {
76
- key: K(o.item, o.index),
77
- ref_for: !0,
78
- ref: (C) => B(C, o.index),
79
- class: "nmorph-virtual-list__item"
80
- }, {
81
- default: D(() => [
82
- d(t.$slots, "default", {
83
- item: o.item,
84
- index: o.index
85
- }, () => [
86
- F(j(o.item), 1)
87
- ])
88
- ]),
89
- _: 2
90
- }, 1024))), 128))
91
- ], 4)
92
- ], 4)) : (l(), r("div", Y, [
93
- d(t.$slots, "empty")
9
+ };
10
+ function S(i, g, u, e, N, V) {
11
+ return t(), o(
12
+ "div",
13
+ {
14
+ ref: "containerRef",
15
+ class: m(e.modifiers),
16
+ style: l(e.styles),
17
+ onScroll: e.scrollHandler
18
+ },
19
+ [
20
+ e.props.items.length ? (t(), o(
21
+ "div",
22
+ {
23
+ key: 0,
24
+ class: "nmorph-virtual-list__spacer",
25
+ style: l(e.spacerStyle)
26
+ },
27
+ [
28
+ c(
29
+ "div",
30
+ {
31
+ class: "nmorph-virtual-list__content",
32
+ style: l(e.contentStyle)
33
+ },
34
+ [
35
+ (t(!0), o(
36
+ d,
37
+ null,
38
+ p(e.renderedItems, (r) => (t(), _(
39
+ f(e.props.itemTag),
40
+ {
41
+ key: e.getItemKey(r.item, r.index),
42
+ ref_for: !0,
43
+ ref: (s) => e.setItemRef(s, r.index),
44
+ class: "nmorph-virtual-list__item"
45
+ },
46
+ {
47
+ default: y(() => [
48
+ n(i.$slots, "default", {
49
+ item: r.item,
50
+ index: r.index
51
+ }, () => [
52
+ h(
53
+ k(r.item),
54
+ 1
55
+ /* TEXT */
56
+ )
57
+ ])
58
+ ]),
59
+ _: 2
60
+ /* DYNAMIC */
61
+ },
62
+ 1024
63
+ /* DYNAMIC_SLOTS */
64
+ ))),
65
+ 128
66
+ /* KEYED_FRAGMENT */
67
+ ))
68
+ ],
69
+ 4
70
+ /* STYLE */
71
+ )
72
+ ],
73
+ 4
74
+ /* STYLE */
75
+ )) : (t(), o("div", v, [
76
+ n(i.$slots, "empty")
94
77
  ]))
95
- ], 38));
96
- }
97
- });
78
+ ],
79
+ 38
80
+ /* CLASS, STYLE, NEED_HYDRATION */
81
+ );
82
+ }
83
+ const z = /* @__PURE__ */ x(a, [["render", S], ["__file", "/builds/ketjo/nmorph/library/src/components/data/nmorph-virtual-list/NmorphVirtualList.vue"]]);
98
84
  export {
99
- O as default
85
+ z as default
100
86
  };
@@ -0,0 +1,63 @@
1
+ import './NmorphVirtualList.css';
2
+ import { defineComponent as I, computed as t } from "vue";
3
+ import { useVirtualList as K } from "../../../hooks/use-virtual-list.js";
4
+ import { useModifiers as N } from "../../../utils/create-modifiers.js";
5
+ import { createCssSizeVariables as T } from "../../../utils/common.js";
6
+ const j = /* @__PURE__ */ I({
7
+ __name: "NmorphVirtualList",
8
+ props: {
9
+ items: { type: Array, required: !1, default: () => [] },
10
+ height: { type: [Number, String], required: !1, default: "320px" },
11
+ maxHeight: { type: [Number, String], required: !1, default: "none" },
12
+ itemHeight: { type: Number, required: !1, default: 40 },
13
+ overscan: { type: Number, required: !1, default: 5 },
14
+ dynamic: { type: Boolean, required: !1, default: !1 },
15
+ disabled: { type: Boolean, required: !1, default: !1 },
16
+ itemKey: { type: [String, Function], required: !1, default: void 0 },
17
+ itemTag: { type: String, required: !1, default: "div" }
18
+ },
19
+ emits: ["on-scroll"],
20
+ setup(p, { expose: y, emit: h }) {
21
+ const e = p, a = h, n = t(() => e.items), o = t(() => !e.disabled), l = t(() => e.itemHeight), u = t(() => e.overscan), m = t(() => e.dynamic), r = K(n, {
22
+ enabled: o,
23
+ itemHeight: l,
24
+ overscan: u,
25
+ dynamic: m
26
+ }), d = r.containerRef, g = t(
27
+ () => N({
28
+ "nmorph-virtual-list": [e.disabled && "disabled", e.dynamic && "dynamic"]
29
+ })
30
+ ), v = t(() => ({
31
+ ...T({
32
+ "--nmorph-virtual-list-height": e.height,
33
+ "--nmorph-virtual-list-max-height": e.maxHeight
34
+ }),
35
+ "--nmorph-virtual-list-item-height": `${e.itemHeight}px`
36
+ })), b = t(() => ({
37
+ transform: o.value ? `translateY(${r.offsetTop.value}px)` : void 0
38
+ })), S = t(() => ({
39
+ height: o.value ? `${r.totalHeight.value}px` : void 0
40
+ })), _ = t(() => r.virtualItems.value), q = (i, s) => {
41
+ if (typeof e.itemKey == "function") return e.itemKey(i, s);
42
+ if (typeof e.itemKey == "string" && i && typeof i == "object") {
43
+ const f = i[e.itemKey];
44
+ return f === void 0 ? s : String(f);
45
+ }
46
+ return s;
47
+ }, x = (i) => {
48
+ r.scrollHandler(), a("on-scroll", i);
49
+ }, H = (i, s) => {
50
+ r.measureElement(s, i);
51
+ };
52
+ y({
53
+ containerRef: d,
54
+ refresh: r.refresh,
55
+ scrollToIndex: r.scrollToIndex
56
+ });
57
+ const c = { props: e, emit: a, items: n, enabled: o, itemHeight: l, overscan: u, dynamic: m, virtualList: r, containerRef: d, modifiers: g, styles: v, contentStyle: b, spacerStyle: S, renderedItems: _, getItemKey: q, scrollHandler: x, setItemRef: H };
58
+ return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
59
+ }
60
+ });
61
+ export {
62
+ j as default
63
+ };
@@ -1,108 +1,85 @@
1
1
  import './NmorphAlert.css';
2
- import { defineComponent as b, computed as d, useSlots as g, unref as t, openBlock as o, createElementBlock as l, normalizeStyle as w, normalizeClass as B, createElementVNode as r, renderSlot as a, createVNode as c, withCtx as p, createBlock as S, resolveDynamicComponent as T, createCommentVNode as s, createTextVNode as f, toDisplayString as u } from "vue";
3
- import { useModifiers as V } from "../../../utils/create-modifiers.js";
4
- import { createCssVariables as F } from "../../../utils/common.js";
5
- import { NmorphAlertType as n } from "./types.js";
6
- import M from "../../../assets/icons/circle-close-filled.svg.js";
7
- import _ from "../../basic/nmorph-icon/NmorphIcon.vue.js";
8
- /* empty css */
9
- import $ from "../../../assets/icons/info-filled.svg.js";
10
- import x from "../../../assets/icons/warn-triangle-filled.svg.js";
11
- import z from "../../../assets/icons/success-filled.svg.js";
12
- import H from "../../../assets/icons/cross.svg.js";
13
- const A = ["innerHTML"], D = {
2
+ import m from "./NmorphAlert.vue2.js";
3
+ import { openBlock as e, createElementBlock as r, normalizeStyle as _, normalizeClass as d, createElementVNode as t, renderSlot as s, createVNode as i, withCtx as c, createBlock as h, resolveDynamicComponent as f, createCommentVNode as l, createTextVNode as a, toDisplayString as p } from "vue";
4
+ /* empty css */
5
+ import v from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const y = ["innerHTML"], k = {
14
7
  key: 1,
15
8
  class: "nmorph-alert__wrapper"
16
- }, E = { class: "nmorph-alert__left-side" }, L = {
9
+ }, N = { class: "nmorph-alert__left-side" }, w = {
17
10
  key: 0,
18
11
  class: "nmorph-alert__icon"
19
- }, P = { class: "nmorph-alert__content-wrapper" }, W = { class: "nmorph-alert__content-title" }, j = { class: "nmorph-alert__content" }, oe = /* @__PURE__ */ b({
20
- __name: "NmorphAlert",
21
- props: {
22
- id: { default: void 0 },
23
- type: { default: "info" },
24
- closable: { type: Boolean, default: !1 },
25
- title: { default: "" },
26
- content: { default: "" },
27
- fill: { type: Boolean, default: !1 },
28
- showIcon: { type: Boolean, default: !0 },
29
- bordered: { type: Boolean, default: !0 },
30
- html: { default: "" },
31
- closeIconPosition: { default: "center" },
32
- backgroundColor: { default: void 0 }
33
- },
34
- emits: ["close"],
35
- setup(h, { emit: y }) {
36
- const e = h, v = y, k = d(
37
- () => V({
38
- "nmorph-alert": [e.type, e.bordered && "bordered", e.fill && "fill"]
39
- })
40
- ), C = d(() => ({
41
- "--nmorph-alert-close-align": e.closeIconPosition,
42
- ...F({
43
- "--background-color": e.backgroundColor
44
- })
45
- })), N = () => {
46
- v("close");
47
- }, I = {
48
- [n.success]: z,
49
- [n.warning]: x,
50
- [n.info]: $,
51
- [n.error]: M
52
- }, m = g();
53
- return (i, q) => t(m).default || e.title || e.content || e.html ? (o(), l("div", {
12
+ }, C = { class: "nmorph-alert__content-wrapper" }, b = { class: "nmorph-alert__content-title" }, x = { class: "nmorph-alert__content" };
13
+ function I(n, V, z, o, B, H) {
14
+ return o.slots.default || o.props.title || o.props.content || o.props.html ? (e(), r(
15
+ "div",
16
+ {
54
17
  key: 0,
55
- class: B(k.value),
56
- style: w(C.value)
57
- }, [
58
- e.html ? (o(), l("div", {
18
+ class: d(o.modifiers),
19
+ style: _(o.styles)
20
+ },
21
+ [
22
+ o.props.html ? (e(), r("div", {
59
23
  key: 0,
60
24
  class: "nmorph-alert__html-wrapper",
61
- innerHTML: e.html
62
- }, null, 8, A)) : (o(), l("div", D, [
63
- r("div", E, [
64
- e.showIcon ? (o(), l("div", L, [
65
- a(i.$slots, "icon", {}, () => [
66
- c(t(_), { size: "medium" }, {
67
- default: p(() => [
68
- (o(), S(T(I[e.type])))
25
+ innerHTML: o.props.html
26
+ }, null, 8, y)) : (e(), r("div", k, [
27
+ t("div", N, [
28
+ o.props.showIcon ? (e(), r("div", w, [
29
+ s(n.$slots, "icon", {}, () => [
30
+ i(o.NmorphIcon, { size: "medium" }, {
31
+ default: c(() => [
32
+ (e(), h(f(o.iconNameMap[o.props.type])))
69
33
  ]),
70
34
  _: 1
35
+ /* STABLE */
71
36
  })
72
37
  ])
73
- ])) : s("", !0),
74
- r("div", P, [
75
- r("div", W, [
76
- e.title || t(m).title ? a(i.$slots, "title", { key: 0 }, () => [
77
- f(u(e.title), 1)
78
- ]) : s("", !0)
38
+ ])) : l("v-if", !0),
39
+ t("div", C, [
40
+ t("div", b, [
41
+ o.props.title || o.slots.title ? s(n.$slots, "title", { key: 0 }, () => [
42
+ a(
43
+ p(o.props.title),
44
+ 1
45
+ /* TEXT */
46
+ )
47
+ ]) : l("v-if", !0)
79
48
  ]),
80
- r("div", j, [
81
- a(i.$slots, "default", {}, () => [
82
- f(u(e.content), 1)
49
+ t("div", x, [
50
+ s(n.$slots, "default", {}, () => [
51
+ a(
52
+ p(o.props.content),
53
+ 1
54
+ /* TEXT */
55
+ )
83
56
  ])
84
57
  ])
85
58
  ])
86
59
  ]),
87
- e.closable ? (o(), l("div", {
60
+ o.props.closable ? (e(), r("div", {
88
61
  key: 0,
89
62
  class: "nmorph-alert__close",
90
- onClick: N
63
+ onClick: o.closeHandler
91
64
  }, [
92
- c(t(_), {
65
+ i(o.NmorphIcon, {
93
66
  width: "14px",
94
67
  height: "14px"
95
68
  }, {
96
- default: p(() => [
97
- c(t(H))
69
+ default: c(() => [
70
+ i(o.NmorphIconCross)
98
71
  ]),
99
72
  _: 1
73
+ /* STABLE */
100
74
  })
101
- ])) : s("", !0)
75
+ ])) : l("v-if", !0)
102
76
  ]))
103
- ], 6)) : s("", !0);
104
- }
105
- });
77
+ ],
78
+ 6
79
+ /* CLASS, STYLE */
80
+ )) : l("v-if", !0);
81
+ }
82
+ const A = /* @__PURE__ */ v(m, [["render", I], ["__file", "/builds/ketjo/nmorph/library/src/components/feedback/nmorph-alert/NmorphAlert.vue"]]);
106
83
  export {
107
- oe as default
84
+ A as default
108
85
  };
@@ -0,0 +1,56 @@
1
+ import './NmorphAlert.css';
2
+ import { defineComponent as m, computed as l, useSlots as u } from "vue";
3
+ import { useModifiers as y } from "../../../utils/create-modifiers.js";
4
+ import { createCssVariables as g } from "../../../utils/common.js";
5
+ import { NmorphAlertType as r } from "./types.js";
6
+ import h from "../../../assets/icons/circle-close-filled.svg.js";
7
+ import I from "../../../assets/icons/info-filled.svg.js";
8
+ import q from "../../../assets/icons/warn-triangle-filled.svg.js";
9
+ import N from "../../../assets/icons/success-filled.svg.js";
10
+ import b from "../../../assets/icons/cross.svg.js";
11
+ import S from "../../basic/nmorph-icon/NmorphIcon.vue.js";
12
+ const M = /* @__PURE__ */ m({
13
+ __name: "NmorphAlert",
14
+ props: {
15
+ id: { type: String, required: !1, default: void 0 },
16
+ type: { type: null, required: !1, default: "info" },
17
+ closable: { type: Boolean, required: !1, default: !1 },
18
+ title: { type: String, required: !1, default: "" },
19
+ content: { type: String, required: !1, default: "" },
20
+ fill: { type: Boolean, required: !1, default: !1 },
21
+ showIcon: { type: Boolean, required: !1, default: !0 },
22
+ bordered: { type: Boolean, required: !1, default: !0 },
23
+ html: { type: String, required: !1, default: "" },
24
+ closeIconPosition: { type: String, required: !1, default: "center" },
25
+ backgroundColor: { type: String, required: !1, default: void 0 }
26
+ },
27
+ emits: ["close"],
28
+ setup(s, { expose: i, emit: n }) {
29
+ i();
30
+ const e = s, o = n, a = l(
31
+ () => y({
32
+ "nmorph-alert": [e.type, e.bordered && "bordered", e.fill && "fill"]
33
+ })
34
+ ), p = l(() => ({
35
+ "--nmorph-alert-close-align": e.closeIconPosition,
36
+ ...g({
37
+ "--background-color": e.backgroundColor
38
+ })
39
+ })), f = () => {
40
+ o("close");
41
+ }, d = {
42
+ [r.success]: N,
43
+ [r.warning]: q,
44
+ [r.info]: I,
45
+ [r.error]: h
46
+ }, c = u(), t = { props: e, emit: o, modifiers: a, styles: p, closeHandler: f, iconNameMap: d, slots: c, get NmorphIcon() {
47
+ return S;
48
+ }, get NmorphIconCross() {
49
+ return b;
50
+ } };
51
+ return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
52
+ }
53
+ });
54
+ export {
55
+ M as default
56
+ };
@@ -1,87 +1,45 @@
1
1
  import './NmorphCallout.css';
2
- import { defineComponent as v, useSlots as m, computed as t, openBlock as a, createBlock as h, resolveDynamicComponent as _, mergeProps as y, withCtx as g, createElementBlock as r, renderSlot as n, createTextVNode as b, toDisplayString as z, createCommentVNode as S } from "vue";
3
- import { createCssVariables as k, createCssSizeVariables as C } from "../../../utils/common.js";
4
- const w = {
2
+ import n from "./NmorphCallout.vue2.js";
3
+ import { openBlock as t, createBlock as s, resolveDynamicComponent as a, mergeProps as c, withCtx as i, createElementBlock as r, renderSlot as l, createTextVNode as p, toDisplayString as m, createCommentVNode as _ } from "vue";
4
+ /* empty css */
5
+ import d from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const h = {
5
7
  key: 0,
6
8
  class: "nmorph-callout__title"
7
- }, B = {
9
+ }, f = {
8
10
  key: 1,
9
11
  class: "nmorph-callout__content"
10
- }, F = ["innerHTML"], $ = /* @__PURE__ */ v({
11
- __name: "NmorphCallout",
12
- props: {
13
- type: { default: "info" },
14
- title: { default: "" },
15
- content: { default: "" },
16
- as: { default: "div" },
17
- href: { default: void 0 },
18
- target: { default: void 0 },
19
- rel: { default: void 0 },
20
- referrerpolicy: { default: void 0 },
21
- referrerPolicy: { default: void 0 },
22
- download: { type: [String, Boolean], default: void 0 },
23
- ariaLabel: { default: void 0 },
24
- color: { default: void 0 },
25
- padding: { default: "var(--indentation-03) var(--indentation-04)" },
26
- borderRadius: { default: "var(--default-border-radius)" },
27
- accentWidth: { default: "var(--indentation-02)" },
28
- titleGap: { default: "var(--indentation-03)" },
29
- titleFontSize: { default: "var(--font-size-medium)" },
30
- contentFontSize: { default: "var(--font-size-extra-small)" }
31
- },
32
- setup(d) {
33
- const i = {
34
- self: "_self",
35
- blank: "_blank",
36
- parent: "_parent",
37
- top: "_top"
38
- }, e = d, o = m(), s = t(() => ({
39
- ...C({
40
- "--callout-padding": e.padding,
41
- "--callout-border-radius": e.borderRadius,
42
- "--callout-accent-width": e.accentWidth,
43
- "--callout-title-gap": e.titleGap,
44
- "--callout-title-font-size": e.titleFontSize,
45
- "--callout-content-font-size": e.contentFontSize
46
- }),
47
- ...k({
48
- "--callout-color": e.color
49
- })
50
- })), c = t(() => {
51
- if (e.target)
52
- return e.target in i ? i[e.target] : e.target;
53
- }), u = t(() => e.as !== "a" ? {} : {
54
- href: e.href,
55
- target: c.value,
56
- rel: e.rel,
57
- referrerpolicy: e.referrerpolicy ?? e.referrerPolicy,
58
- download: e.download === !0 ? "" : e.download === !1 ? void 0 : e.download,
59
- "aria-label": e.ariaLabel
60
- }), f = t(() => !!(o.header || o.title || e.title)), p = t(() => !!o.default);
61
- return (l, L) => (a(), h(_(e.as), y({
62
- class: ["nmorph-callout", `nmorph-callout--${e.type}`],
63
- style: s.value
64
- }, u.value), {
65
- default: g(() => [
66
- f.value ? (a(), r("div", w, [
67
- n(l.$slots, "header", {}, () => [
68
- n(l.$slots, "title", {}, () => [
69
- b(z(e.title), 1)
70
- ])
12
+ }, u = ["innerHTML"];
13
+ function y(e, k, v, o, C, N) {
14
+ return t(), s(a(o.props.as), c({
15
+ class: ["nmorph-callout", `nmorph-callout--${o.props.type}`],
16
+ style: o.styles
17
+ }, o.rootAttrs), {
18
+ default: i(() => [
19
+ o.hasHeader ? (t(), r("div", h, [
20
+ l(e.$slots, "header", {}, () => [
21
+ l(e.$slots, "title", {}, () => [
22
+ p(
23
+ m(o.props.title),
24
+ 1
25
+ /* TEXT */
26
+ )
71
27
  ])
72
- ])) : S("", !0),
73
- p.value ? (a(), r("div", B, [
74
- n(l.$slots, "default")
75
- ])) : (a(), r("div", {
76
- key: 2,
77
- class: "nmorph-callout__content",
78
- innerHTML: e.content
79
- }, null, 8, F))
80
- ]),
81
- _: 3
82
- }, 16, ["class", "style"]));
83
- }
84
- });
28
+ ])
29
+ ])) : _("v-if", !0),
30
+ o.hasDefaultContent ? (t(), r("div", f, [
31
+ l(e.$slots, "default")
32
+ ])) : (t(), r("div", {
33
+ key: 2,
34
+ class: "nmorph-callout__content",
35
+ innerHTML: o.props.content
36
+ }, null, 8, u))
37
+ ]),
38
+ _: 3
39
+ /* FORWARDED */
40
+ }, 16, ["class", "style"]);
41
+ }
42
+ const T = /* @__PURE__ */ d(n, [["render", y], ["__file", "/builds/ketjo/nmorph/library/src/components/feedback/nmorph-callout/NmorphCallout.vue"]]);
85
43
  export {
86
- $ as default
44
+ T as default
87
45
  };
@@ -0,0 +1,61 @@
1
+ import './NmorphCallout.css';
2
+ import { defineComponent as p, useSlots as c, computed as t } from "vue";
3
+ import { createCssVariables as g, createCssSizeVariables as y } from "../../../utils/common.js";
4
+ const b = /* @__PURE__ */ p({
5
+ __name: "NmorphCallout",
6
+ props: {
7
+ type: { type: String, required: !1, default: "info" },
8
+ title: { type: String, required: !1, default: "" },
9
+ content: { type: String, required: !1, default: "" },
10
+ as: { type: null, required: !1, default: "div" },
11
+ href: { type: String, required: !1, default: void 0 },
12
+ target: { type: String, required: !1, default: void 0 },
13
+ rel: { type: String, required: !1, default: void 0 },
14
+ referrerpolicy: { type: String, required: !1, default: void 0 },
15
+ referrerPolicy: { type: String, required: !1, default: void 0 },
16
+ download: { type: [String, Boolean], required: !1, default: void 0 },
17
+ ariaLabel: { type: String, required: !1, default: void 0 },
18
+ color: { type: String, required: !1, default: void 0 },
19
+ padding: { type: [Number, String], required: !1, default: "var(--indentation-03) var(--indentation-04)" },
20
+ borderRadius: { type: [Number, String], required: !1, default: "var(--default-border-radius)" },
21
+ accentWidth: { type: [Number, String], required: !1, default: "var(--indentation-02)" },
22
+ titleGap: { type: [Number, String], required: !1, default: "var(--indentation-03)" },
23
+ titleFontSize: { type: [Number, String], required: !1, default: "var(--font-size-medium)" },
24
+ contentFontSize: { type: [Number, String], required: !1, default: "var(--font-size-extra-small)" }
25
+ },
26
+ setup(o, { expose: n }) {
27
+ n();
28
+ const a = {
29
+ self: "_self",
30
+ blank: "_blank",
31
+ parent: "_parent",
32
+ top: "_top"
33
+ }, e = o, r = c(), d = t(() => ({
34
+ ...y({
35
+ "--callout-padding": e.padding,
36
+ "--callout-border-radius": e.borderRadius,
37
+ "--callout-accent-width": e.accentWidth,
38
+ "--callout-title-gap": e.titleGap,
39
+ "--callout-title-font-size": e.titleFontSize,
40
+ "--callout-content-font-size": e.contentFontSize
41
+ }),
42
+ ...g({
43
+ "--callout-color": e.color
44
+ })
45
+ })), l = t(() => {
46
+ if (e.target)
47
+ return e.target in a ? a[e.target] : e.target;
48
+ }), u = t(() => e.as !== "a" ? {} : {
49
+ href: e.href,
50
+ target: l.value,
51
+ rel: e.rel,
52
+ referrerpolicy: e.referrerpolicy ?? e.referrerPolicy,
53
+ download: e.download === !0 ? "" : e.download === !1 ? void 0 : e.download,
54
+ "aria-label": e.ariaLabel
55
+ }), s = t(() => !!(r.header || r.title || e.title)), f = t(() => !!r.default), i = { targetMap: a, props: e, slots: r, styles: d, resolvedTarget: l, rootAttrs: u, hasHeader: s, hasDefaultContent: f };
56
+ return Object.defineProperty(i, "__isScriptSetup", { enumerable: !1, value: !0 }), i;
57
+ }
58
+ });
59
+ export {
60
+ b as default
61
+ };