@nmorph/nmorph-ui-kit 2.2.7 → 2.2.10

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 (492) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/assets/icons/add-location.svg.js +35 -0
  3. package/dist/assets/icons/aim.svg.js +28 -0
  4. package/dist/assets/icons/alarm-clock.svg.js +28 -0
  5. package/dist/assets/icons/apple.svg.js +21 -0
  6. package/dist/assets/icons/archive.svg.js +28 -0
  7. package/dist/assets/icons/arrow-down.svg.js +21 -0
  8. package/dist/assets/icons/arrow-left.svg.js +21 -0
  9. package/dist/assets/icons/arrow-right.svg.js +21 -0
  10. package/dist/assets/icons/arrow-up.svg.js +21 -0
  11. package/dist/assets/icons/audio.svg.js +21 -0
  12. package/dist/assets/icons/avatar.svg.js +21 -0
  13. package/dist/assets/icons/back.svg.js +28 -0
  14. package/dist/assets/icons/bell-filled.svg.js +21 -0
  15. package/dist/assets/icons/bell.svg.js +35 -0
  16. package/dist/assets/icons/bicycle.svg.js +15 -0
  17. package/dist/assets/icons/bottom-left.svg.js +28 -0
  18. package/dist/assets/icons/bottom-right.svg.js +28 -0
  19. package/dist/assets/icons/bottom.svg.js +21 -0
  20. package/dist/assets/icons/burger.svg.js +21 -0
  21. package/dist/assets/icons/calendar.svg.js +21 -0
  22. package/dist/assets/icons/camera.svg.js +21 -0
  23. package/dist/assets/icons/caret-bottom.svg.js +21 -0
  24. package/dist/assets/icons/caret-left.svg.js +21 -0
  25. package/dist/assets/icons/caret-right.svg.js +21 -0
  26. package/dist/assets/icons/caret-top.svg.js +21 -0
  27. package/dist/assets/icons/cellphone.svg.js +21 -0
  28. package/dist/assets/icons/chat-dot-round.svg.js +28 -0
  29. package/dist/assets/icons/chat-dot-square.svg.js +28 -0
  30. package/dist/assets/icons/chat-line-round.svg.js +28 -0
  31. package/dist/assets/icons/chat-line-square.svg.js +28 -0
  32. package/dist/assets/icons/chat-round.svg.js +21 -0
  33. package/dist/assets/icons/chat-square.svg.js +21 -0
  34. package/dist/assets/icons/check.svg.js +21 -0
  35. package/dist/assets/icons/checked.svg.js +21 -0
  36. package/dist/assets/icons/cherry.svg.js +21 -0
  37. package/dist/assets/icons/chevron-double-down.svg.js +21 -0
  38. package/dist/assets/icons/chevron-down.svg.js +21 -0
  39. package/dist/assets/icons/chrome-filled.svg.js +36 -0
  40. package/dist/assets/icons/circle-check-filled.svg.js +21 -0
  41. package/dist/assets/icons/circle-check.svg.js +28 -0
  42. package/dist/assets/icons/circle-close-filled.svg.js +21 -0
  43. package/dist/assets/icons/circle-close.svg.js +28 -0
  44. package/dist/assets/icons/circle-plus-filled.svg.js +21 -0
  45. package/dist/assets/icons/circle-plus.svg.js +35 -0
  46. package/dist/assets/icons/clock.svg.js +35 -0
  47. package/dist/assets/icons/close.svg.js +21 -0
  48. package/dist/assets/icons/cloudy.svg.js +21 -0
  49. package/dist/assets/icons/code.svg.js +21 -0
  50. package/dist/assets/icons/coffee-cup.svg.js +21 -0
  51. package/dist/assets/icons/coffee.svg.js +21 -0
  52. package/dist/assets/icons/coin.svg.js +35 -0
  53. package/dist/assets/icons/collection-tag.svg.js +21 -0
  54. package/dist/assets/icons/collection.svg.js +28 -0
  55. package/dist/assets/icons/compass.svg.js +28 -0
  56. package/dist/assets/icons/connection.svg.js +28 -0
  57. package/dist/assets/icons/coordinate.svg.js +28 -0
  58. package/dist/assets/icons/copy-document.svg.js +28 -0
  59. package/dist/assets/icons/copy.svg.js +21 -0
  60. package/dist/assets/icons/cpu.svg.js +28 -0
  61. package/dist/assets/icons/credit-card.svg.js +28 -0
  62. package/dist/assets/icons/crop.svg.js +28 -0
  63. package/dist/assets/icons/cross.svg.js +21 -0
  64. package/dist/assets/icons/delete-filled.svg.js +21 -0
  65. package/dist/assets/icons/delete.svg.js +21 -0
  66. package/dist/assets/icons/dessert.svg.js +21 -0
  67. package/dist/assets/icons/discount.svg.js +28 -0
  68. package/dist/assets/icons/doc.svg.js +21 -0
  69. package/dist/assets/icons/document-add.svg.js +21 -0
  70. package/dist/assets/icons/document-checked.svg.js +21 -0
  71. package/dist/assets/icons/document-copy.svg.js +21 -0
  72. package/dist/assets/icons/document-delete.svg.js +21 -0
  73. package/dist/assets/icons/document-remove.svg.js +21 -0
  74. package/dist/assets/icons/document.svg.js +21 -0
  75. package/dist/assets/icons/download.svg.js +21 -0
  76. package/dist/assets/icons/edit-pen.svg.js +21 -0
  77. package/dist/assets/icons/edit.svg.js +28 -0
  78. package/dist/assets/icons/enlarge.svg.js +18 -0
  79. package/dist/assets/icons/error.svg.js +28 -0
  80. package/dist/assets/icons/exit-square.svg.js +31 -0
  81. package/dist/assets/icons/exit.svg.js +28 -0
  82. package/dist/assets/icons/expand.svg.js +21 -0
  83. package/dist/assets/icons/eye-blocked.svg.js +28 -0
  84. package/dist/assets/icons/eye.svg.js +21 -0
  85. package/dist/assets/icons/failed.svg.js +21 -0
  86. package/dist/assets/icons/files.svg.js +21 -0
  87. package/dist/assets/icons/film.svg.js +28 -0
  88. package/dist/assets/icons/filter.svg.js +21 -0
  89. package/dist/assets/icons/finished.svg.js +21 -0
  90. package/dist/assets/icons/flag.svg.js +21 -0
  91. package/dist/assets/icons/fold.svg.js +21 -0
  92. package/dist/assets/icons/folder-add.svg.js +21 -0
  93. package/dist/assets/icons/folder-checked.svg.js +21 -0
  94. package/dist/assets/icons/folder-delete.svg.js +21 -0
  95. package/dist/assets/icons/folder-opened.svg.js +21 -0
  96. package/dist/assets/icons/folder.svg.js +21 -0
  97. package/dist/assets/icons/food.svg.js +21 -0
  98. package/dist/assets/icons/fork-spoon.svg.js +21 -0
  99. package/dist/assets/icons/full-screen.svg.js +21 -0
  100. package/dist/assets/icons/goblet-full.svg.js +21 -0
  101. package/dist/assets/icons/gold-medal.svg.js +29 -0
  102. package/dist/assets/icons/goods-filled.svg.js +21 -0
  103. package/dist/assets/icons/goods.svg.js +21 -0
  104. package/dist/assets/icons/google.svg.js +42 -0
  105. package/dist/assets/icons/grape.svg.js +21 -0
  106. package/dist/assets/icons/grid.svg.js +21 -0
  107. package/dist/assets/icons/guide.svg.js +28 -0
  108. package/dist/assets/icons/handbag.svg.js +22 -0
  109. package/dist/assets/icons/headset.svg.js +21 -0
  110. package/dist/assets/icons/histogram.svg.js +21 -0
  111. package/dist/assets/icons/hot-water.svg.js +21 -0
  112. package/dist/assets/icons/house.svg.js +21 -0
  113. package/dist/assets/icons/ice-cream-round.svg.js +21 -0
  114. package/dist/assets/icons/ice-drink.svg.js +21 -0
  115. package/dist/assets/icons/image.svg.js +33 -0
  116. package/dist/assets/icons/info-filled.svg.js +21 -0
  117. package/dist/assets/icons/info.svg.js +28 -0
  118. package/dist/assets/icons/key.svg.js +21 -0
  119. package/dist/assets/icons/knife-fork.svg.js +21 -0
  120. package/dist/assets/icons/lightning.svg.js +28 -0
  121. package/dist/assets/icons/link.svg.js +21 -0
  122. package/dist/assets/icons/list.svg.js +21 -0
  123. package/dist/assets/icons/loader.svg.js +16 -0
  124. package/dist/assets/icons/loading.svg.js +32 -0
  125. package/dist/assets/icons/location-filled.svg.js +21 -0
  126. package/dist/assets/icons/location-information.svg.js +35 -0
  127. package/dist/assets/icons/location.svg.js +28 -0
  128. package/dist/assets/icons/lock.svg.js +28 -0
  129. package/dist/assets/icons/logo.svg.js +49 -0
  130. package/dist/assets/icons/lollipop.svg.js +21 -0
  131. package/dist/assets/icons/magic-stick.svg.js +21 -0
  132. package/dist/assets/icons/magnet.svg.js +21 -0
  133. package/dist/assets/icons/male.svg.js +35 -0
  134. package/dist/assets/icons/management.svg.js +21 -0
  135. package/dist/assets/icons/map-location.svg.js +28 -0
  136. package/dist/assets/icons/medal.svg.js +28 -0
  137. package/dist/assets/icons/memo.svg.js +36 -0
  138. package/dist/assets/icons/menu.svg.js +21 -0
  139. package/dist/assets/icons/message-box.svg.js +21 -0
  140. package/dist/assets/icons/message.svg.js +28 -0
  141. package/dist/assets/icons/mic.svg.js +21 -0
  142. package/dist/assets/icons/microphone.svg.js +21 -0
  143. package/dist/assets/icons/minus-thin.svg.js +25 -0
  144. package/dist/assets/icons/minus.svg.js +21 -0
  145. package/dist/assets/icons/money.svg.js +35 -0
  146. package/dist/assets/icons/monitor.svg.js +21 -0
  147. package/dist/assets/icons/moon.svg.js +21 -0
  148. package/dist/assets/icons/more-filled.svg.js +21 -0
  149. package/dist/assets/icons/more.svg.js +21 -0
  150. package/dist/assets/icons/mostly-cloudy.svg.js +21 -0
  151. package/dist/assets/icons/mouse.svg.js +28 -0
  152. package/dist/assets/icons/mug.svg.js +21 -0
  153. package/dist/assets/icons/mute-notification.svg.js +28 -0
  154. package/dist/assets/icons/mute.svg.js +28 -0
  155. package/dist/assets/icons/no-smoking.svg.js +21 -0
  156. package/dist/assets/icons/notebook.svg.js +28 -0
  157. package/dist/assets/icons/notification.svg.js +28 -0
  158. package/dist/assets/icons/office-building.svg.js +35 -0
  159. package/dist/assets/icons/operation.svg.js +21 -0
  160. package/dist/assets/icons/opportunity.svg.js +21 -0
  161. package/dist/assets/icons/orange.svg.js +21 -0
  162. package/dist/assets/icons/paperclip.svg.js +21 -0
  163. package/dist/assets/icons/partly-cloudy.svg.js +28 -0
  164. package/dist/assets/icons/pause.svg.js +21 -0
  165. package/dist/assets/icons/pear.svg.js +21 -0
  166. package/dist/assets/icons/phone-filled.svg.js +21 -0
  167. package/dist/assets/icons/phone.svg.js +21 -0
  168. package/dist/assets/icons/picture.svg.js +28 -0
  169. package/dist/assets/icons/pie-chart.svg.js +28 -0
  170. package/dist/assets/icons/place.svg.js +35 -0
  171. package/dist/assets/icons/platform.svg.js +21 -0
  172. package/dist/assets/icons/play.svg.js +21 -0
  173. package/dist/assets/icons/plus-thin.svg.js +25 -0
  174. package/dist/assets/icons/plus.svg.js +21 -0
  175. package/dist/assets/icons/pointer.svg.js +21 -0
  176. package/dist/assets/icons/position.svg.js +21 -0
  177. package/dist/assets/icons/postcard.svg.js +28 -0
  178. package/dist/assets/icons/pouring.svg.js +21 -0
  179. package/dist/assets/icons/present.svg.js +42 -0
  180. package/dist/assets/icons/price-tag.svg.js +28 -0
  181. package/dist/assets/icons/printer.svg.js +21 -0
  182. package/dist/assets/icons/promotion.svg.js +21 -0
  183. package/dist/assets/icons/quartz-watch.svg.js +36 -0
  184. package/dist/assets/icons/question-filled.svg.js +21 -0
  185. package/dist/assets/icons/rank.svg.js +21 -0
  186. package/dist/assets/icons/reading-lamp.svg.js +28 -0
  187. package/dist/assets/icons/reading.svg.js +28 -0
  188. package/dist/assets/icons/record.svg.js +21 -0
  189. package/dist/assets/icons/refresh-left.svg.js +21 -0
  190. package/dist/assets/icons/refresh-right.svg.js +21 -0
  191. package/dist/assets/icons/refresh.svg.js +21 -0
  192. package/dist/assets/icons/refrigerator.svg.js +21 -0
  193. package/dist/assets/icons/remove-filled.svg.js +21 -0
  194. package/dist/assets/icons/remove.svg.js +28 -0
  195. package/dist/assets/icons/right.svg.js +21 -0
  196. package/dist/assets/icons/rotate-left.svg.js +18 -0
  197. package/dist/assets/icons/rotate-right.svg.js +18 -0
  198. package/dist/assets/icons/scale-to-original.svg.js +21 -0
  199. package/dist/assets/icons/school.svg.js +35 -0
  200. package/dist/assets/icons/scissor.svg.js +21 -0
  201. package/dist/assets/icons/search.svg.js +21 -0
  202. package/dist/assets/icons/select.svg.js +21 -0
  203. package/dist/assets/icons/sell.svg.js +21 -0
  204. package/dist/assets/icons/semi-select.svg.js +21 -0
  205. package/dist/assets/icons/service.svg.js +21 -0
  206. package/dist/assets/icons/setting.svg.js +21 -0
  207. package/dist/assets/icons/share.svg.js +21 -0
  208. package/dist/assets/icons/ship.svg.js +21 -0
  209. package/dist/assets/icons/shop.svg.js +21 -0
  210. package/dist/assets/icons/shopping-bag.svg.js +28 -0
  211. package/dist/assets/icons/shopping-cart-full.svg.js +28 -0
  212. package/dist/assets/icons/shopping-cart.svg.js +21 -0
  213. package/dist/assets/icons/shrink.svg.js +18 -0
  214. package/dist/assets/icons/smoking.svg.js +28 -0
  215. package/dist/assets/icons/soccer.svg.js +21 -0
  216. package/dist/assets/icons/sold-out.svg.js +21 -0
  217. package/dist/assets/icons/sort-down.svg.js +21 -0
  218. package/dist/assets/icons/sort-up.svg.js +21 -0
  219. package/dist/assets/icons/sort.svg.js +21 -0
  220. package/dist/assets/icons/stamp.svg.js +21 -0
  221. package/dist/assets/icons/star-filled.svg.js +21 -0
  222. package/dist/assets/icons/star.svg.js +21 -0
  223. package/dist/assets/icons/stop.svg.js +21 -0
  224. package/dist/assets/icons/success-filled.svg.js +21 -0
  225. package/dist/assets/icons/success.svg.js +21 -0
  226. package/dist/assets/icons/sugar.svg.js +21 -0
  227. package/dist/assets/icons/sunny.svg.js +21 -0
  228. package/dist/assets/icons/sunrise.svg.js +21 -0
  229. package/dist/assets/icons/sunset.svg.js +21 -0
  230. package/dist/assets/icons/switch-button.svg.js +28 -0
  231. package/dist/assets/icons/switch-filled.svg.js +29 -0
  232. package/dist/assets/icons/switch.svg.js +21 -0
  233. package/dist/assets/icons/takeaway-box.svg.js +21 -0
  234. package/dist/assets/icons/ticket.svg.js +21 -0
  235. package/dist/assets/icons/tickets.svg.js +21 -0
  236. package/dist/assets/icons/time.svg.js +18 -0
  237. package/dist/assets/icons/timer.svg.js +35 -0
  238. package/dist/assets/icons/toilet-paper.svg.js +28 -0
  239. package/dist/assets/icons/tools.svg.js +21 -0
  240. package/dist/assets/icons/top-left.svg.js +28 -0
  241. package/dist/assets/icons/top-right.svg.js +28 -0
  242. package/dist/assets/icons/top.svg.js +21 -0
  243. package/dist/assets/icons/trend-charts.svg.js +21 -0
  244. package/dist/assets/icons/triangle-down.svg.js +21 -0
  245. package/dist/assets/icons/trophy-base.svg.js +22 -0
  246. package/dist/assets/icons/trophy.svg.js +21 -0
  247. package/dist/assets/icons/turn-off.svg.js +28 -0
  248. package/dist/assets/icons/umbrella.svg.js +21 -0
  249. package/dist/assets/icons/unlock.svg.js +28 -0
  250. package/dist/assets/icons/upload-filled.svg.js +21 -0
  251. package/dist/assets/icons/upload.svg.js +21 -0
  252. package/dist/assets/icons/user-filled.svg.js +21 -0
  253. package/dist/assets/icons/user.svg.js +21 -0
  254. package/dist/assets/icons/users.svg.js +28 -0
  255. package/dist/assets/icons/van.svg.js +21 -0
  256. package/dist/assets/icons/video-pause.svg.js +21 -0
  257. package/dist/assets/icons/video-play.svg.js +21 -0
  258. package/dist/assets/icons/video.svg.js +28 -0
  259. package/dist/assets/icons/view.svg.js +21 -0
  260. package/dist/assets/icons/wallet-filled.svg.js +21 -0
  261. package/dist/assets/icons/wallet.svg.js +35 -0
  262. package/dist/assets/icons/warn-triangle-filled.svg.js +22 -0
  263. package/dist/assets/icons/warning.svg.js +28 -0
  264. package/dist/assets/icons/watch.svg.js +35 -0
  265. package/dist/assets/icons/wind-power.svg.js +21 -0
  266. package/dist/assets/icons/zoom-in.svg.js +18 -0
  267. package/dist/assets/icons/zoom-out.svg.js +18 -0
  268. package/dist/components/basic/nmorph-button/NmorphButton.css +1 -0
  269. package/dist/components/basic/nmorph-button/NmorphButton.vue.js +71 -0
  270. package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +57 -0
  271. package/dist/components/basic/nmorph-button/types.js +6 -0
  272. package/dist/components/basic/nmorph-icon/NmorphIcon.css +1 -0
  273. package/dist/components/basic/nmorph-icon/NmorphIcon.vue.js +26 -0
  274. package/dist/components/basic/nmorph-icon/NmorphIcon.vue2.js +31 -0
  275. package/dist/components/basic/nmorph-icon/types.js +4 -0
  276. package/dist/components/basic/nmorph-link/NmorphLink.css +1 -0
  277. package/dist/components/basic/nmorph-link/NmorphLink.vue.js +46 -0
  278. package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +30 -0
  279. package/dist/components/basic/nmorph-link/types.js +4 -0
  280. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.js +38 -0
  281. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue2.js +95 -0
  282. package/dist/components/basic/nmorph-scroll/types.js +5 -0
  283. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.js +92 -0
  284. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue2.js +69 -0
  285. package/dist/components/data/nmorph-badge/NmorphBadge.css +1 -0
  286. package/dist/components/data/nmorph-badge/NmorphBadge.vue.js +69 -0
  287. package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +51 -0
  288. package/dist/components/data/nmorph-calendar/NmorphCalendar.css +1 -0
  289. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.js +105 -0
  290. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue2.js +133 -0
  291. package/dist/components/data/nmorph-calendar/hooks/use-calendar-texts.js +11 -0
  292. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.css +1 -0
  293. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.js +73 -0
  294. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue2.js +41 -0
  295. package/dist/components/data/nmorph-calendar/utils.js +83 -0
  296. package/dist/components/data/nmorph-card/NmorphCard.css +1 -0
  297. package/dist/components/data/nmorph-card/NmorphCard.vue.js +35 -0
  298. package/dist/components/data/nmorph-card/NmorphCard.vue2.js +24 -0
  299. package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.js +93 -0
  300. package/dist/components/data/nmorph-carousel/NmorphCarousel.vue2.js +52 -0
  301. package/dist/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.js +25 -0
  302. package/dist/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue2.js +24 -0
  303. package/dist/components/data/nmorph-collapse/NmorphCollapse.vue.js +20 -0
  304. package/dist/components/data/nmorph-collapse/NmorphCollapse.vue2.js +40 -0
  305. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.css +1 -0
  306. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.js +63 -0
  307. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue2.js +45 -0
  308. package/dist/components/data/nmorph-image/NmorphImage.vue.js +52 -0
  309. package/dist/components/data/nmorph-image/NmorphImage.vue2.js +36 -0
  310. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.css +1 -0
  311. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.js +158 -0
  312. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue2.js +103 -0
  313. package/dist/components/data/nmorph-pagination/NmorphPagination.css +1 -0
  314. package/dist/components/data/nmorph-pagination/NmorphPagination.vue.js +91 -0
  315. package/dist/components/data/nmorph-pagination/NmorphPagination.vue2.js +72 -0
  316. package/dist/components/data/nmorph-progress/NmorphProgress.css +1 -0
  317. package/dist/components/data/nmorph-progress/NmorphProgress.vue.js +89 -0
  318. package/dist/components/data/nmorph-progress/NmorphProgress.vue2.js +31 -0
  319. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.css +1 -0
  320. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue.js +61 -0
  321. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue2.js +26 -0
  322. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.css +1 -0
  323. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.js +36 -0
  324. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue2.js +30 -0
  325. package/dist/components/data/nmorph-skeleton/types.js +4 -0
  326. package/dist/components/data/nmorph-table/NmorphTable.css +1 -0
  327. package/dist/components/data/nmorph-table/NmorphTable.vue.js +176 -0
  328. package/dist/components/data/nmorph-table/NmorphTable.vue2.js +52 -0
  329. package/dist/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.js +23 -0
  330. package/dist/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue2.js +26 -0
  331. package/dist/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.js +19 -0
  332. package/dist/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue2.js +31 -0
  333. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.css +1 -0
  334. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.js +53 -0
  335. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue2.js +34 -0
  336. package/dist/components/data/nmorph-tag-list/NmorphTagList.vue.js +35 -0
  337. package/dist/components/data/nmorph-tag-list/NmorphTagList.vue2.js +32 -0
  338. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.css +1 -0
  339. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.js +42 -0
  340. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue2.js +36 -0
  341. package/dist/components/feedback/nmorph-alert/NmorphAlert.css +1 -0
  342. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue.js +85 -0
  343. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue2.js +49 -0
  344. package/dist/components/feedback/nmorph-alert/types.js +4 -0
  345. package/dist/components/feedback/nmorph-callout/NmorphCallout.css +1 -0
  346. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue.js +36 -0
  347. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +18 -0
  348. package/dist/components/feedback/nmorph-dialog/NmorphDialog.css +1 -0
  349. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.js +60 -0
  350. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +66 -0
  351. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.css +1 -0
  352. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue.js +111 -0
  353. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +37 -0
  354. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.css +1 -0
  355. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.js +97 -0
  356. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue2.js +65 -0
  357. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.css +1 -0
  358. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue.js +94 -0
  359. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue2.js +55 -0
  360. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.css +1 -0
  361. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.js +42 -0
  362. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue2.js +38 -0
  363. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.css +1 -0
  364. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue.js +61 -0
  365. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue2.js +66 -0
  366. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.css +1 -0
  367. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue.js +88 -0
  368. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue2.js +70 -0
  369. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.js +28 -0
  370. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue2.js +24 -0
  371. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.js +56 -0
  372. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue2.js +52 -0
  373. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.css +1 -0
  374. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.js +114 -0
  375. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue2.js +38 -0
  376. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.css +1 -0
  377. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.js +74 -0
  378. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue2.js +74 -0
  379. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.css +1 -0
  380. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.js +104 -0
  381. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue2.js +78 -0
  382. package/dist/components/form/nmorph-file-upload/types.js +16 -0
  383. package/dist/components/form/nmorph-form/NmorphForm.vue.js +23 -0
  384. package/dist/components/form/nmorph-form/NmorphForm.vue2.js +23 -0
  385. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.css +1 -0
  386. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.js +39 -0
  387. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue2.js +45 -0
  388. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.css +1 -0
  389. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.js +46 -0
  390. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +28 -0
  391. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.css +1 -0
  392. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.js +34 -0
  393. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue2.js +27 -0
  394. package/dist/components/form/nmorph-form/use-form-item-input.js +15 -0
  395. package/dist/components/form/nmorph-number-input/NmorphNumberInput.css +1 -0
  396. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.js +140 -0
  397. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue2.js +79 -0
  398. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.css +1 -0
  399. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue.js +71 -0
  400. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue2.js +139 -0
  401. package/dist/components/form/nmorph-radio/NmorphRadio.css +1 -0
  402. package/dist/components/form/nmorph-radio/NmorphRadio.vue.js +92 -0
  403. package/dist/components/form/nmorph-radio/NmorphRadio.vue2.js +38 -0
  404. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.css +1 -0
  405. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue.js +42 -0
  406. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue2.js +41 -0
  407. package/dist/components/form/nmorph-select/NmorphSelect.css +1 -0
  408. package/dist/components/form/nmorph-select/NmorphSelect.vue.js +157 -0
  409. package/dist/components/form/nmorph-select/NmorphSelect.vue2.js +128 -0
  410. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.css +1 -0
  411. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.js +38 -0
  412. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue2.js +43 -0
  413. package/dist/components/form/nmorph-select-button/NmorphSelectButton.css +1 -0
  414. package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue.js +43 -0
  415. package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue2.js +44 -0
  416. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.css +1 -0
  417. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.js +32 -0
  418. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue2.js +35 -0
  419. package/dist/components/form/nmorph-slider/NmorphSlider.css +1 -0
  420. package/dist/components/form/nmorph-slider/NmorphSlider.vue.js +73 -0
  421. package/dist/components/form/nmorph-slider/NmorphSlider.vue2.js +83 -0
  422. package/dist/components/form/nmorph-switch/NmorphSwitch.css +1 -0
  423. package/dist/components/form/nmorph-switch/NmorphSwitch.vue.js +63 -0
  424. package/dist/components/form/nmorph-switch/NmorphSwitch.vue2.js +57 -0
  425. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.js +67 -0
  426. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue2.js +63 -0
  427. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.css +1 -0
  428. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.js +56 -0
  429. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue2.js +50 -0
  430. package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.css +1 -0
  431. package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.js +48 -0
  432. package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue2.js +24 -0
  433. package/dist/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.js +36 -0
  434. package/dist/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue2.js +26 -0
  435. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.css +1 -0
  436. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue.js +49 -0
  437. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +42 -0
  438. package/dist/components/navigation/nmorph-tabs/NmorphTabs.css +1 -0
  439. package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue.js +73 -0
  440. package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue2.js +39 -0
  441. package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.js +30 -0
  442. package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue2.js +32 -0
  443. package/dist/components/navigation/nmorph-tabs/utils.js +11 -0
  444. package/dist/components/others/nmorph-divider/NmorphDivider.css +1 -0
  445. package/dist/components/others/nmorph-divider/NmorphDivider.vue.js +20 -0
  446. package/dist/components/others/nmorph-divider/NmorphDivider.vue2.js +21 -0
  447. package/dist/components/others/nmorph-overlay/NmorphOverlay.css +1 -0
  448. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.js +30 -0
  449. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue2.js +30 -0
  450. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.css +1 -0
  451. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.js +56 -0
  452. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue2.js +55 -0
  453. package/dist/components/providers/nmorph-notification-provider/types.js +4 -0
  454. package/dist/hooks/use-common-styles.js +539 -0
  455. package/dist/hooks/use-field-validation.js +74 -0
  456. package/dist/hooks/use-form-validation.js +30 -0
  457. package/dist/hooks/use-nmorph-translation.js +15 -0
  458. package/dist/hooks/use-placement.js +57 -0
  459. package/dist/hooks/use-z-index.js +14 -0
  460. package/dist/index.es.js +711 -16333
  461. package/dist/index.umd.js +213 -2982
  462. package/dist/locales/en.js +29 -0
  463. package/dist/locales/ru.js +29 -0
  464. package/dist/locales/zh.js +29 -0
  465. package/dist/nuxt.mjs +56 -0
  466. package/dist/outside-hooks/use-nmorph-browser.js +21 -0
  467. package/dist/outside-hooks/use-nmorph-notification.js +29 -0
  468. package/dist/outside-hooks/use-nmorph-theme.js +147 -0
  469. package/dist/outside-hooks/use-nmorph-z-index.js +8 -0
  470. package/dist/outside-hooks/use-nmorph.js +9 -0
  471. package/dist/outside-utils/index.js +23 -0
  472. package/dist/package.json.js +7 -0
  473. package/dist/plugin.d.ts +2 -0
  474. package/dist/plugin.js +47 -0
  475. package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +2 -2
  476. package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +1 -1
  477. package/dist/src/components/data/nmorph-image-preview/types.d.ts +2 -2
  478. package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +3 -3
  479. package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -1
  480. package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +1 -1
  481. package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +1 -1
  482. package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +1 -1
  483. package/dist/src/main.d.ts +1 -8
  484. package/dist/src/nuxt/module.d.ts +6 -0
  485. package/dist/src/plugin.d.ts +8 -0
  486. package/dist/style.css +1 -0
  487. package/dist/types/index.js +14 -0
  488. package/dist/utils/case-transformers.js +4 -0
  489. package/dist/utils/common.js +8 -0
  490. package/dist/utils/create-modifiers.js +8 -0
  491. package/dist/utils/theme-style.js +71 -0
  492. package/package.json +25 -4
@@ -0,0 +1,48 @@
1
+ import './NmorphBreadcrumb.css';
2
+ import a from "./NmorphBreadcrumb.vue2.js";
3
+ import { openBlock as e, createElementBlock as o, normalizeClass as c, renderSlot as d, Fragment as s, renderList as i, createElementVNode as l, toDisplayString as b, createCommentVNode as p } from "vue";
4
+ /* empty css */
5
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const u = ["id"], f = {
7
+ key: 0,
8
+ class: "nmorph-breadcrumb__separator"
9
+ };
10
+ function h(m, v, k, r, g, y) {
11
+ return e(), o(
12
+ "div",
13
+ {
14
+ class: c(r.modifiers)
15
+ },
16
+ [
17
+ d(m.$slots, "default"),
18
+ (e(!0), o(
19
+ s,
20
+ null,
21
+ i(r.breadcrumbs, (n, t) => (e(), o("div", {
22
+ key: t,
23
+ class: "nmorph-breadcrumb__content"
24
+ }, [
25
+ l("div", {
26
+ id: `nmorph-breadcrumb-${r.breadcrumbId}-${n.itemId}-element`,
27
+ class: "nmorph-breadcrumb__element"
28
+ }, null, 8, u),
29
+ t < r.breadcrumbs.length - 1 ? (e(), o(
30
+ "div",
31
+ f,
32
+ b(r.props.separator),
33
+ 1
34
+ /* TEXT */
35
+ )) : p("v-if", !0)
36
+ ]))),
37
+ 128
38
+ /* KEYED_FRAGMENT */
39
+ ))
40
+ ],
41
+ 2
42
+ /* CLASS */
43
+ );
44
+ }
45
+ const I = /* @__PURE__ */ _(a, [["render", h], ["__file", "/builds/ketjo/nmorph/library/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue"]]);
46
+ export {
47
+ I as default
48
+ };
@@ -0,0 +1,24 @@
1
+ import './NmorphBreadcrumb.css';
2
+ import { defineComponent as m, ref as n, provide as d, computed as u } from "vue";
3
+ import { useModifiers as c } from "../../../utils/create-modifiers.js";
4
+ import { generateUUID as i } from "../../../utils/common.js";
5
+ const l = /* @__PURE__ */ m({
6
+ __name: "NmorphBreadcrumb",
7
+ props: {
8
+ separator: { type: String, required: !1, default: "/" }
9
+ },
10
+ setup(o, { expose: p }) {
11
+ p();
12
+ const s = o, e = n([]), r = i();
13
+ d("breadcrumb-data", { breadcrumbs: e, breadcrumbId: r });
14
+ const a = u(
15
+ () => c({
16
+ "nmorph-breadcrumb": []
17
+ })
18
+ ), t = { props: s, breadcrumbs: e, breadcrumbId: r, modifiers: a };
19
+ return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
20
+ }
21
+ });
22
+ export {
23
+ l as default
24
+ };
@@ -0,0 +1,36 @@
1
+ import n from "./NmorphBreadcrumbItem.vue2.js";
2
+ import { resolveComponent as a, openBlock as o, createElementBlock as c, normalizeClass as l, createBlock as i, Teleport as d, createVNode as s, withCtx as p, renderSlot as b, createCommentVNode as f } from "vue";
3
+ import u from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ function _(t, h, r, e, k, v) {
5
+ const m = a("router-link");
6
+ return e.isMounted && e.itemId ? (o(), c(
7
+ "div",
8
+ {
9
+ key: 0,
10
+ class: l(e.modifiers)
11
+ },
12
+ [
13
+ (o(), i(d, {
14
+ to: `#nmorph-breadcrumb-${e.breadcrumbData?.breadcrumbId}-${e.itemId}-element`
15
+ }, [
16
+ s(m, {
17
+ to: r.to,
18
+ replace: r.replace,
19
+ class: "fill-height"
20
+ }, {
21
+ default: p(() => [
22
+ b(t.$slots, "default")
23
+ ]),
24
+ _: 3
25
+ /* FORWARDED */
26
+ }, 8, ["to", "replace"])
27
+ ], 8, ["to"]))
28
+ ],
29
+ 2
30
+ /* CLASS */
31
+ )) : f("v-if", !0);
32
+ }
33
+ const N = /* @__PURE__ */ u(n, [["render", _], ["__file", "/builds/ketjo/nmorph/library/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue"]]);
34
+ export {
35
+ N as default
36
+ };
@@ -0,0 +1,26 @@
1
+ import { defineComponent as m, computed as p, inject as d, ref as c, onMounted as i } from "vue";
2
+ import { useModifiers as f } from "../../../../../utils/create-modifiers.js";
3
+ import { generateUUID as l } from "../../../../../utils/common.js";
4
+ const v = /* @__PURE__ */ m({
5
+ __name: "NmorphBreadcrumbItem",
6
+ props: {
7
+ to: { type: null, required: !1, default: "" },
8
+ replace: { type: Boolean, required: !1, default: !1 }
9
+ },
10
+ setup(u, { expose: s }) {
11
+ s();
12
+ const e = u, n = p(
13
+ () => f({
14
+ "nmorph-breadcrumb-item": []
15
+ })
16
+ ), r = d("breadcrumb-data"), t = c(!1), o = l();
17
+ i(() => {
18
+ t.value = !0;
19
+ }), r.breadcrumbs.value.push({ ...e, itemId: o });
20
+ const a = { props: e, modifiers: n, breadcrumbData: r, isMounted: t, itemId: o };
21
+ return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
22
+ }
23
+ });
24
+ export {
25
+ v as default
26
+ };
@@ -0,0 +1 @@
1
+ .nmorph-dropdown{position:fixed;border-radius:var(--default-border-radius);background:var(--nmorph-main-color);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-dropdown--closed{z-index:-1000;opacity:0}.nmorph-dropdown{width:var(--nmorph-dropdown-width);min-width:var(--nmorph-dropdown-min-width);max-width:var(--nmorph-dropdown-max-width)}
@@ -0,0 +1,49 @@
1
+ import './NmorphDropdown.css';
2
+ import n from "./NmorphDropdown.vue2.js";
3
+ import { openBlock as d, createElementBlock as i, normalizeStyle as r, createVNode as t, withCtx as m, createElementVNode as p, normalizeClass as a, renderSlot as l } from "vue";
4
+ /* empty css */
5
+ import s from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ function c(e, h, f, o, w, _) {
7
+ return d(), i(
8
+ "div",
9
+ {
10
+ style: r({
11
+ "--nmorph-dropdown-width": o.width,
12
+ "--nmorph-dropdown-min-width": o.getCssSize(o.props.minWidth) || "auto",
13
+ "--nmorph-dropdown-max-width": o.getCssSize(o.props.maxWidth) || "none"
14
+ })
15
+ },
16
+ [
17
+ t(o.NmorphOverlay, {
18
+ show: o.props.open,
19
+ transparent: "",
20
+ "z-index": o.props.zIndex,
21
+ onOnOutsideClick: o.outsideClickHandler
22
+ }, {
23
+ default: m(() => [
24
+ p(
25
+ "div",
26
+ {
27
+ ref: "dropdownDOMRef",
28
+ class: a(o.modifiers),
29
+ style: r({ left: `${o.placementCoords.x}`, top: `${o.placementCoords.y}` })
30
+ },
31
+ [
32
+ l(e.$slots, "default")
33
+ ],
34
+ 6
35
+ /* CLASS, STYLE */
36
+ )
37
+ ]),
38
+ _: 3
39
+ /* FORWARDED */
40
+ }, 8, ["show", "z-index"])
41
+ ],
42
+ 4
43
+ /* STYLE */
44
+ );
45
+ }
46
+ const k = /* @__PURE__ */ s(n, [["render", c], ["__file", "/builds/ketjo/nmorph/library/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue"]]);
47
+ export {
48
+ k as default
49
+ };
@@ -0,0 +1,42 @@
1
+ import './NmorphDropdown.css';
2
+ import { defineComponent as a, ref as c, computed as l } from "vue";
3
+ import { useModifiers as y } from "../../../utils/create-modifiers.js";
4
+ import { usePlacement as h } from "../../../hooks/use-placement.js";
5
+ import O from "../../others/nmorph-overlay/NmorphOverlay.vue.js";
6
+ const w = /* @__PURE__ */ a({
7
+ __name: "NmorphDropdown",
8
+ props: {
9
+ open: { type: Boolean, required: !0 },
10
+ relativeElement: { type: null, required: !0 },
11
+ width: { type: [Number, String], required: !1, default: 160 },
12
+ minWidth: { type: [Number, String], required: !1 },
13
+ maxWidth: { type: [Number, String], required: !1 },
14
+ xOffset: { type: Number, required: !1, default: 0 },
15
+ yOffset: { type: Number, required: !1, default: 0 },
16
+ fillWidth: { type: Boolean, required: !1, default: !0 },
17
+ zIndex: { type: Number, required: !1 }
18
+ },
19
+ emits: ["on-outside-click"],
20
+ setup(s, { expose: d, emit: f }) {
21
+ d();
22
+ const e = s, r = f, o = c(null), { placementCoords: m } = h({
23
+ initialPlacement: "bottom",
24
+ contentDOMElement: o,
25
+ relativeElement: e.relativeElement,
26
+ yOffset: e.yOffset,
27
+ xOffset: e.xOffset
28
+ }), u = l(
29
+ () => y({
30
+ "nmorph-dropdown": [`${!e.open && "closed"}`]
31
+ })
32
+ ), i = (t) => typeof t == "number" ? `${t}px` : t, p = l(() => e.fillWidth ? `${e.relativeElement?.clientWidth}px` : i(e.width)), n = { props: e, emit: r, dropdownDOMRef: o, placementCoords: m, modifiers: u, getCssSize: i, width: p, outsideClickHandler: () => {
33
+ r("on-outside-click");
34
+ }, get NmorphOverlay() {
35
+ return O;
36
+ } };
37
+ return Object.defineProperty(n, "__isScriptSetup", { enumerable: !1, value: !0 }), n;
38
+ }
39
+ });
40
+ export {
41
+ w as default
42
+ };
@@ -0,0 +1 @@
1
+ .nmorph-tabs{border-radius:var(--default-border-radius)}.nmorph-tabs .nmorph-tabs__label-list{display:flex;padding:var(--indentation-02);border-top-left-radius:var(--default-border-radius);border-top-right-radius:var(--default-border-radius);background:var(--nmorph-main-color);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-tabs .nmorph-tabs__label{margin-right:var(--indentation-02);padding:var(--indentation-03);border-radius:var(--default-border-radius);cursor:pointer;background:var(--nmorph-main-color);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-tabs .nmorph-tabs__label.nmorph-tabs__label--disabled{cursor:not-allowed;opacity:.6}.nmorph-tabs .nmorph-tabs__label.nmorph-tabs__label--selected{background:var(--nmorph-main-color);box-shadow:inset var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),inset calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-tabs .nmorph-tabs__content__wrapper{padding:var(--indentation-02);border-bottom-right-radius:var(--default-border-radius);border-bottom-left-radius:var(--default-border-radius);background:var(--nmorph-main-color);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-tabs .nmorph-tabs__content{padding:var(--indentation-03);border-radius:var(--default-border-radius);background:var(--nmorph-main-color);box-shadow:inset var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),inset calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-tabs.nmorph-tabs--stretch .nmorph-tabs__label{width:100%}
@@ -0,0 +1,73 @@
1
+ import './NmorphTabs.css';
2
+ import m from "./NmorphTabs.vue2.js";
3
+ import { openBlock as n, createElementBlock as s, normalizeClass as t, renderSlot as a, createElementVNode as r, Fragment as i, renderList as d, toDisplayString as l, createCommentVNode as _, withDirectives as h, vShow as p } from "vue";
4
+ /* empty css */
5
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const b = { class: "nmorph-tabs__label-list" }, v = ["id", "onClick", "custom"], u = { key: 0 }, k = { class: "nmorph-tabs__content__wrapper" }, g = { class: "nmorph-tabs__content" }, y = ["id"], C = { key: 0 };
7
+ function T(c, I, N, e, V, w) {
8
+ return n(), s(
9
+ "div",
10
+ {
11
+ class: t(e.modifiers)
12
+ },
13
+ [
14
+ a(c.$slots, "default"),
15
+ r("div", b, [
16
+ (n(!0), s(
17
+ i,
18
+ null,
19
+ d(e.updatedPanes, (o) => (n(), s("div", {
20
+ id: e.getTabLabelId(e.tabsIdentifier, o.name),
21
+ key: o.name,
22
+ class: t(["nmorph-tabs__label", [
23
+ { "nmorph-tabs__label--selected": o.name === e.props.modelValue },
24
+ { "nmorph-tabs__label--disabled": o.disabled }
25
+ ]]),
26
+ onClick: (S) => e.changeTab(o),
27
+ custom: o.disabled
28
+ }, [
29
+ e.slots.default ? _("v-if", !0) : (n(), s(
30
+ "div",
31
+ u,
32
+ l(o.label),
33
+ 1
34
+ /* TEXT */
35
+ ))
36
+ ], 10, v))),
37
+ 128
38
+ /* KEYED_FRAGMENT */
39
+ ))
40
+ ]),
41
+ r("div", k, [
42
+ r("div", g, [
43
+ (n(!0), s(
44
+ i,
45
+ null,
46
+ d(e.updatedPanes, (o) => h((n(), s("div", {
47
+ id: e.getTabContentId(e.tabsIdentifier, o.name),
48
+ key: o.name
49
+ }, [
50
+ e.slots.default ? _("v-if", !0) : (n(), s(
51
+ "div",
52
+ C,
53
+ l(o.content),
54
+ 1
55
+ /* TEXT */
56
+ ))
57
+ ], 8, y)), [
58
+ [p, o.name === e.props.modelValue]
59
+ ])),
60
+ 128
61
+ /* KEYED_FRAGMENT */
62
+ ))
63
+ ])
64
+ ])
65
+ ],
66
+ 2
67
+ /* CLASS */
68
+ );
69
+ }
70
+ const P = /* @__PURE__ */ f(m, [["render", T], ["__file", "/builds/ketjo/nmorph/library/src/components/navigation/nmorph-tabs/NmorphTabs.vue"]]);
71
+ export {
72
+ P as default
73
+ };
@@ -0,0 +1,39 @@
1
+ import './NmorphTabs.css';
2
+ import { defineComponent as b, computed as p, ref as g, provide as h, useSlots as _ } from "vue";
3
+ import { useModifiers as I } from "../../../utils/create-modifiers.js";
4
+ import { generateUUID as T } from "../../../utils/common.js";
5
+ import { getTabContentId as v, getTabLabelId as y } from "./utils.js";
6
+ const D = /* @__PURE__ */ b({
7
+ __name: "NmorphTabs",
8
+ props: {
9
+ modelValue: { type: [String, Number], required: !1, default: 0 },
10
+ stretch: { type: Boolean, required: !1, default: !1 },
11
+ panes: { type: Array, required: !1, default: () => [] }
12
+ },
13
+ emits: ["update:model-value", "tab-change"],
14
+ setup(u, { expose: d, emit: i }) {
15
+ d();
16
+ const e = u, t = i, l = p(
17
+ () => I({
18
+ "nmorph-tabs": [`${e.stretch && "stretch"}`]
19
+ })
20
+ ), m = (n) => {
21
+ if (n.disabled) return;
22
+ const { name: o } = n;
23
+ t("update:model-value", o), t("tab-change", o);
24
+ }, r = g([]), a = T();
25
+ h("nmorph-tabs-data", {
26
+ tabsData: r,
27
+ tabsIdentifier: a
28
+ });
29
+ const c = p(() => e.panes.length > 0 ? e.panes : r.value), f = _(), s = { props: e, emit: t, modifiers: l, changeTab: m, tabsData: r, tabsIdentifier: a, updatedPanes: c, slots: f, get getTabLabelId() {
30
+ return y;
31
+ }, get getTabContentId() {
32
+ return v;
33
+ } };
34
+ return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
35
+ }
36
+ });
37
+ export {
38
+ D as default
39
+ };
@@ -0,0 +1,30 @@
1
+ import i from "./NmorphTabPane.vue2.js";
2
+ import { openBlock as e, createElementBlock as s, normalizeClass as m, createBlock as a, Teleport as t, renderSlot as n, createCommentVNode as p } from "vue";
3
+ import c from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ function d(r, l, f, o, b, _) {
5
+ return o.isMounted ? (e(), s(
6
+ "div",
7
+ {
8
+ key: 0,
9
+ class: m(o.modifiers)
10
+ },
11
+ [
12
+ (e(), a(t, {
13
+ to: `#${o.getTabLabelId(o.providedData?.tabsIdentifier, o.props.name)}`
14
+ }, [
15
+ n(r.$slots, "label", { scope: o.scopeProperties })
16
+ ], 8, ["to"])),
17
+ (e(), a(t, {
18
+ to: `#${o.getTabContentId(o.providedData?.tabsIdentifier, o.props.name)}`
19
+ }, [
20
+ n(r.$slots, "default", { scope: o.scopeProperties })
21
+ ], 8, ["to"]))
22
+ ],
23
+ 2
24
+ /* CLASS */
25
+ )) : p("v-if", !0);
26
+ }
27
+ const T = /* @__PURE__ */ c(i, [["render", d], ["__file", "/builds/ketjo/nmorph/library/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue"]]);
28
+ export {
29
+ T as default
30
+ };
@@ -0,0 +1,32 @@
1
+ import { defineComponent as p, computed as u, inject as d, ref as i, onMounted as l } from "vue";
2
+ import { useModifiers as f } from "../../../../../utils/create-modifiers.js";
3
+ import { getTabLabelId as m, getTabContentId as c } from "../../utils.js";
4
+ const S = /* @__PURE__ */ p({
5
+ __name: "NmorphTabPane",
6
+ props: {
7
+ label: { type: String, required: !1, default: "" },
8
+ name: { type: String, required: !0 },
9
+ disabled: { type: Boolean, required: !1, default: !1 },
10
+ content: { type: String, required: !1, default: "" }
11
+ },
12
+ setup(o, { expose: n }) {
13
+ n();
14
+ const e = o, s = u(
15
+ () => f({
16
+ "nmorph-tab-pane": []
17
+ })
18
+ ), t = d("nmorph-tabs-data"), r = i(!1);
19
+ l(() => {
20
+ r.value = !0;
21
+ }), t.tabsData.value.push(e);
22
+ const a = { props: e, modifiers: s, providedData: t, isMounted: r, scopeProperties: e, get getTabContentId() {
23
+ return c;
24
+ }, get getTabLabelId() {
25
+ return m;
26
+ } };
27
+ return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
28
+ }
29
+ });
30
+ export {
31
+ S as default
32
+ };
@@ -0,0 +1,11 @@
1
+ const r = (t, n) => {
2
+ if (t)
3
+ return `nmorph-tabs-label-${t}-${n}`;
4
+ }, e = (t, n) => {
5
+ if (t)
6
+ return `nmorph-tabs-content-${t}-${n}`;
7
+ };
8
+ export {
9
+ e as getTabContentId,
10
+ r as getTabLabelId
11
+ };
@@ -0,0 +1 @@
1
+ .nmorph-divider{background:var(--nmorph-main-color);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-divider.nmorph-divider--horizontal{width:100%;height:2px}.nmorph-divider.nmorph-divider--vertical{width:2px;height:auto}
@@ -0,0 +1,20 @@
1
+ import './NmorphDivider.css';
2
+ import o from "./NmorphDivider.vue2.js";
3
+ import { openBlock as e, createElementBlock as i, normalizeClass as t } from "vue";
4
+ /* empty css */
5
+ import m from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ function n(s, p, c, r, l, a) {
7
+ return e(), i(
8
+ "div",
9
+ {
10
+ class: t(r.modifiers)
11
+ },
12
+ null,
13
+ 2
14
+ /* CLASS */
15
+ );
16
+ }
17
+ const u = /* @__PURE__ */ m(o, [["render", n], ["__file", "/builds/ketjo/nmorph/library/src/components/others/nmorph-divider/NmorphDivider.vue"]]);
18
+ export {
19
+ u as default
20
+ };
@@ -0,0 +1,21 @@
1
+ import './NmorphDivider.css';
2
+ import { defineComponent as n, computed as p } from "vue";
3
+ import { useModifiers as s } from "../../../utils/create-modifiers.js";
4
+ const u = /* @__PURE__ */ n({
5
+ __name: "NmorphDivider",
6
+ props: {
7
+ direction: { type: String, required: !1, default: "horizontal" }
8
+ },
9
+ setup(o, { expose: t }) {
10
+ t();
11
+ const e = o, i = p(
12
+ () => s({
13
+ "nmorph-divider": [e.direction]
14
+ })
15
+ ), r = { props: e, modifiers: i };
16
+ return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
17
+ }
18
+ });
19
+ export {
20
+ u as default
21
+ };
@@ -0,0 +1 @@
1
+ .nmorph-overlay{opacity:0;pointer-events:none;position:fixed;top:0;left:0;width:100vw;height:100vh;overflow:hidden;background:var(--nmorph-overlay-color);transition:ease-in-out var(--transition-02) opacity;z-index:var(--nmorph-overlay-z-index)}.nmorph-overlay.nmorph-overlay--transparent{background:transparent}.nmorph-overlay.nmorph-overlay--show{opacity:1;pointer-events:auto}
@@ -0,0 +1,30 @@
1
+ import './NmorphOverlay.css';
2
+ import t from "./NmorphOverlay.vue2.js";
3
+ import { openBlock as n, createElementBlock as i, withModifiers as e, normalizeStyle as s, normalizeClass as m, createElementVNode as a, renderSlot as p } from "vue";
4
+ /* empty css */
5
+ import c from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ function d(l, r, f, o, _, v) {
7
+ return n(), i(
8
+ "div",
9
+ {
10
+ class: m(o.modifiers),
11
+ style: s({ "--nmorph-overlay-z-index": o.zIndex }),
12
+ onClick: e(o.clickHandler, ["stop"])
13
+ },
14
+ [
15
+ a("div", {
16
+ class: "nmorph-overlay__slot",
17
+ onClick: r[0] || (r[0] = e(() => {
18
+ }, ["stop"]))
19
+ }, [
20
+ p(l.$slots, "default")
21
+ ])
22
+ ],
23
+ 6
24
+ /* CLASS, STYLE */
25
+ );
26
+ }
27
+ const x = /* @__PURE__ */ c(t, [["render", d], ["__file", "/builds/ketjo/nmorph/library/src/components/others/nmorph-overlay/NmorphOverlay.vue"]]);
28
+ export {
29
+ x as default
30
+ };
@@ -0,0 +1,30 @@
1
+ import './NmorphOverlay.css';
2
+ import { defineComponent as d, computed as t } from "vue";
3
+ import { useModifiers as m } from "../../../utils/create-modifiers.js";
4
+ import { useZIndex as c } from "../../../hooks/use-z-index.js";
5
+ const h = /* @__PURE__ */ d({
6
+ __name: "NmorphOverlay",
7
+ props: {
8
+ show: { type: Boolean, required: !0 },
9
+ transparent: { type: Boolean, required: !1, default: !1 },
10
+ zIndex: { type: Number, required: !1 }
11
+ },
12
+ emits: ["on-outside-click"],
13
+ setup(n, { expose: s, emit: i }) {
14
+ s();
15
+ const e = n, p = c(
16
+ t(() => e.show),
17
+ () => e.zIndex
18
+ ), a = t(
19
+ () => m({
20
+ "nmorph-overlay": [`${e.show && "show"}`, `${e.transparent && "transparent"}`]
21
+ })
22
+ ), u = () => {
23
+ r("on-outside-click");
24
+ }, r = i, o = { props: e, zIndex: p, modifiers: a, clickHandler: u, emit: r };
25
+ return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
26
+ }
27
+ });
28
+ export {
29
+ h as default
30
+ };
@@ -0,0 +1 @@
1
+ .nmorph-notification-provider{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none}.nmorph-notification-provider .nmorph-notification-provider__notification{width:fit-content;height:fit-content;margin:1rem;pointer-events:all;transition:transform .5s ease,opacity .5s ease-in-out}.nmorph-notification-provider .nmorph-notification-provider__list{display:flex;flex-direction:column;width:fit-content;max-width:100vw;position:fixed;pointer-events:none}.nmorph-notification-provider .nmorph-notification-move{transition:transform .5s ease}.nmorph-notification-provider .nmorph-notification-provider__list--top-left{top:0;left:0;align-items:flex-start}.nmorph-notification-provider .nmorph-notification-provider__list--top-right{top:0;right:0;align-items:flex-end}.nmorph-notification-provider .nmorph-notification-provider__list--bottom-left{bottom:0;left:0;align-items:flex-start}.nmorph-notification-provider .nmorph-notification-provider__list--bottom-right{right:0;bottom:0;align-items:flex-end}.nmorph-notification-provider .nmorph-notification-provider__list--top-center{top:0;left:50%;align-items:center;transform:translate(-50%)}.nmorph-notification-provider .nmorph-notification-provider__list--bottom-center{bottom:0;left:50%;align-items:center;transform:translate(-50%)}.nmorph-notification-provider .nmorph-notification-provider__list--top-left .nmorph-notification-enter-active,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-left .nmorph-notification-enter-active,.nmorph-notification-provider .nmorph-notification-provider__list--top-right .nmorph-notification-enter-active,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-right .nmorph-notification-enter-active,.nmorph-notification-provider .nmorph-notification-provider__list--top-center .nmorph-notification-enter-active,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-center .nmorph-notification-enter-active,.nmorph-notification-provider .nmorph-notification-provider__list--top-left .nmorph-notification-leave-active,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-left .nmorph-notification-leave-active,.nmorph-notification-provider .nmorph-notification-provider__list--top-right .nmorph-notification-leave-active,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-right .nmorph-notification-leave-active,.nmorph-notification-provider .nmorph-notification-provider__list--top-center .nmorph-notification-leave-active,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-center .nmorph-notification-leave-active{transition:transform .5s ease,opacity .5s ease-in-out}.nmorph-notification-provider .nmorph-notification-provider__list--top-left .nmorph-notification-enter-from,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-left .nmorph-notification-enter-from{transform:translate(-100%)}.nmorph-notification-provider .nmorph-notification-provider__list--top-right .nmorph-notification-enter-from,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-right .nmorph-notification-enter-from{transform:translate(100%)}.nmorph-notification-provider .nmorph-notification-provider__list--top-center .nmorph-notification-enter-from{transform:translateY(-100%)}.nmorph-notification-provider .nmorph-notification-provider__list--bottom-center .nmorph-notification-enter-from{transform:translateY(100%)}.nmorph-notification-provider .nmorph-notification-provider__list--top-left .nmorph-notification-leave-to,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-left .nmorph-notification-leave-to{transform:translate(-100%)}.nmorph-notification-provider .nmorph-notification-provider__list--top-right .nmorph-notification-leave-to,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-right .nmorph-notification-leave-to{transform:translate(100%)}.nmorph-notification-provider .nmorph-notification-provider__list--top-center .nmorph-notification-leave-to{transform:translateY(-100%)}.nmorph-notification-provider .nmorph-notification-provider__list--bottom-center .nmorph-notification-leave-to{transform:translateY(100%)}.nmorph-notification-provider .nmorph-notification-enter-from{opacity:0}.nmorph-notification-provider .nmorph-notification-enter-to{transform:translate(0);opacity:1}.nmorph-notification-provider .nmorph-notification-leave-active{overflow:hidden}.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-icon{--color: var(--nmorph-text-color);display:flex;align-items:center;width:var(--width);min-width:var(--width);height:var(--height);min-height:var(--height)}.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-icon--small{--width: 14px;--height: 14px}.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-icon--medium{--width: 20px;--height: 20px}.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-icon--large{--width: 32px;--height: 32px}.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-icon__content{display:flex;align-items:center;justify-content:center;width:var(--width);min-width:var(--width);height:var(--height);min-height:var(--height);overflow:hidden}.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-alert__close .nmorph-icon,.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-alert__content,.nmorph-notification-provider .nmorph-notification-leave-active .nmorph-alert__content-title{--color: var(--nmorph-white-color)}.nmorph-notification-provider .nmorph-notification-leave-active.nmorph-alert--success .nmorph-alert__icon .nmorph-icon{--color: var(--nmorph-success-color)}.nmorph-notification-provider .nmorph-notification-leave-active.nmorph-alert--error .nmorph-alert__icon .nmorph-icon{--color: var(--nmorph-error-color)}.nmorph-notification-provider .nmorph-notification-leave-active.nmorph-alert--warning .nmorph-alert__icon .nmorph-icon{--color: var(--nmorph-warn-color)}.nmorph-notification-provider .nmorph-notification-leave-active.nmorph-alert--info .nmorph-alert__icon .nmorph-icon{--color: var(--nmorph-info-color)}.nmorph-notification-provider .nmorph-notification-leave-active svg{width:100%;height:100%;fill:var(--color);stroke-width:0}.nmorph-notification-provider .nmorph-notification-leave-active path{stroke:var(--color)}.nmorph-notification-provider .nmorph-notification-leave-to{opacity:0;pointer-events:none}.nmorph-notification-provider .nmorph-notification-provider__list--top-left .nmorph-notification-provider__notification--closing,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-left .nmorph-notification-provider__notification--closing{position:absolute;transform:translate(-100%);opacity:0;pointer-events:none}.nmorph-notification-provider .nmorph-notification-provider__list--top-right .nmorph-notification-provider__notification--closing,.nmorph-notification-provider .nmorph-notification-provider__list--bottom-right .nmorph-notification-provider__notification--closing{position:absolute;transform:translate(100%);opacity:0;pointer-events:none}.nmorph-notification-provider .nmorph-notification-provider__list--top-center .nmorph-notification-provider__notification--closing{position:absolute;transform:translateY(-100%);opacity:0;pointer-events:none}.nmorph-notification-provider .nmorph-notification-provider__list--bottom-center .nmorph-notification-provider__notification--closing{position:absolute;transform:translateY(100%);opacity:0;pointer-events:none}
@@ -0,0 +1,56 @@
1
+ import './NmorphNotificationProvider.css';
2
+ import c from "./NmorphNotificationProvider.vue2.js";
3
+ import { openBlock as i, createElementBlock as n, normalizeStyle as a, Fragment as t, renderList as l, createBlock as s, TransitionGroup as d, normalizeClass as m, withCtx as p, mergeProps as f } from "vue";
4
+ /* empty css */
5
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ function h(v, u, y, o, k, x) {
7
+ return i(), n(
8
+ "div",
9
+ {
10
+ class: "nmorph-notification-provider",
11
+ style: a({ zIndex: o.zIndex })
12
+ },
13
+ [
14
+ (i(!0), n(
15
+ t,
16
+ null,
17
+ l(o.notificationGroups, (e) => (i(), s(d, {
18
+ key: e.placement,
19
+ name: "nmorph-notification",
20
+ tag: "div",
21
+ class: m(`nmorph-notification-provider__list nmorph-notification-provider__list--${e.placement}`)
22
+ }, {
23
+ default: p(() => [
24
+ (i(!0), n(
25
+ t,
26
+ null,
27
+ l(e.notifications, (r) => (i(), s(o.NmorphAlert, f({
28
+ key: r.id,
29
+ style: { width: r.width },
30
+ class: [
31
+ "nmorph-notification-provider__notification",
32
+ o.closingIds.includes(r.id) && "nmorph-notification-provider__notification--closing"
33
+ ],
34
+ ref_for: !0
35
+ }, r, {
36
+ onClose: () => o.closeHandler(r.id)
37
+ }), null, 16, ["style", "class", "onClose"]))),
38
+ 128
39
+ /* KEYED_FRAGMENT */
40
+ ))
41
+ ]),
42
+ _: 2
43
+ /* DYNAMIC */
44
+ }, 1032, ["class"]))),
45
+ 128
46
+ /* KEYED_FRAGMENT */
47
+ ))
48
+ ],
49
+ 4
50
+ /* STYLE */
51
+ );
52
+ }
53
+ const w = /* @__PURE__ */ _(c, [["render", h], ["__file", "/builds/ketjo/nmorph/library/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue"]]);
54
+ export {
55
+ w as default
56
+ };