@ozdao/martyrs 0.2.540 → 0.2.542

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 (290) hide show
  1. package/dist/_virtual/index.cjs +4 -4
  2. package/dist/_virtual/index.js +4 -4
  3. package/dist/_virtual/index2.cjs +3 -6
  4. package/dist/_virtual/index2.cjs.map +1 -1
  5. package/dist/_virtual/index2.js +2 -5
  6. package/dist/_virtual/index2.js.map +1 -1
  7. package/dist/{globals.verifier-CJ1lr-NW.cjs → globals.verifier-Bi-XLEi9.cjs} +24 -23
  8. package/dist/{globals.verifier-BhqUrneb.js → globals.verifier-gPPX_jhf.js} +24 -23
  9. package/dist/inventory.server.cjs +1 -1
  10. package/dist/inventory.server.js +1 -1
  11. package/dist/{main-gOfhekZG.js → main-ByKkD9qa.js} +2857 -3276
  12. package/dist/main-Czyu-VcC.cjs +11 -0
  13. package/dist/martyrs/src/components/Button/{Button.vue2.cjs → Button.vue.cjs} +2 -2
  14. package/dist/martyrs/src/components/Button/{Button.vue2.js.map → Button.vue.cjs.map} +1 -1
  15. package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +2 -2
  16. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
  17. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  18. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
  19. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.cjs +30 -21
  20. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
  21. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js +32 -23
  22. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js.map +1 -1
  23. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs +235 -0
  24. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs.map +1 -0
  25. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.js +235 -0
  26. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.js.map +1 -0
  27. package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs +17 -8
  28. package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs.map +1 -1
  29. package/dist/martyrs/src/components/Marquee/Marquee.vue.js +17 -8
  30. package/dist/martyrs/src/components/Marquee/Marquee.vue.js.map +1 -1
  31. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.cjs +161 -42
  32. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
  33. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +162 -43
  34. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  36. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  38. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
  40. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  42. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +4 -4
  45. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  48. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  49. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  51. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  52. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  53. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  55. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -4
  56. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
  57. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -4
  58. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
  59. package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +2 -2
  60. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  61. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  62. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  63. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  64. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  65. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +21 -21
  66. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  67. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  68. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  69. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  70. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
  71. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
  72. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  73. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  74. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +1 -1
  75. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +1 -1
  76. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  77. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  78. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  79. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  80. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  81. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  82. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  83. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  84. package/dist/martyrs/src/modules/globals/views/store/globals.cjs +2 -2
  85. package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
  86. package/dist/martyrs/src/modules/globals/views/store/globals.js +2 -2
  87. package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
  88. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
  89. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
  90. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.cjs +1 -1
  91. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
  92. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.cjs +1 -1
  93. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  94. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
  95. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
  96. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +1 -1
  97. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
  98. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +1 -1
  99. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
  100. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +1 -1
  101. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
  102. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +1 -1
  103. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
  104. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +1 -1
  105. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
  106. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
  107. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +11 -11
  108. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
  109. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +12 -12
  110. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +1 -1
  111. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +16 -16
  112. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +1 -1
  113. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
  114. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
  115. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +16 -16
  116. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +1 -1
  117. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
  118. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +1 -1
  119. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
  120. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
  121. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  122. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +1 -1
  123. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +1 -1
  124. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +1 -1
  125. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
  126. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +1 -1
  127. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
  128. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +1 -1
  129. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  130. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +1 -1
  131. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
  132. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
  133. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  134. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +1 -1
  135. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
  136. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +1 -1
  137. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
  138. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  139. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  140. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  141. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  142. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  143. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  144. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +1 -1
  145. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
  146. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +1 -1
  147. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
  148. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +3 -4
  149. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
  150. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -4
  151. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
  152. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  153. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  154. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs +1 -1
  155. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
  156. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +1 -1
  157. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +20 -20
  158. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs +1 -1
  159. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  160. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +3 -4
  161. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
  162. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +3 -4
  163. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  164. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +4 -5
  165. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
  166. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +4 -5
  167. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  168. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +2 -3
  169. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  170. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +2 -3
  171. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  172. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  173. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +6 -6
  174. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  175. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  176. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  177. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  178. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  179. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  180. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  181. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  182. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  183. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  184. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  185. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  186. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  187. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +1 -1
  188. package/dist/martyrs/src/modules/products/components/elements/{THC.vue2.cjs → THC.vue.cjs} +2 -2
  189. package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs.map +1 -0
  190. package/dist/martyrs/src/modules/products/components/elements/{THC.vue2.js → THC.vue.js} +2 -2
  191. package/dist/martyrs/src/modules/products/components/elements/THC.vue.js.map +1 -0
  192. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  193. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  194. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +63 -39
  195. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  196. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +69 -45
  197. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  198. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +1 -1
  199. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  200. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  201. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  202. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
  203. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  204. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
  205. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  206. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
  207. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
  208. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  209. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  210. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
  211. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  212. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +2 -2
  213. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  214. package/dist/martyrs/src/modules/products/store/categories.cjs +4 -0
  215. package/dist/martyrs/src/modules/products/store/categories.cjs.map +1 -1
  216. package/dist/martyrs/src/modules/products/store/categories.js +4 -0
  217. package/dist/martyrs/src/modules/products/store/categories.js.map +1 -1
  218. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
  219. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
  220. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  221. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  222. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  223. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  224. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  225. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +11 -11
  226. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
  227. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  228. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  229. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  230. package/dist/martyrs.cjs.js +1 -1
  231. package/dist/martyrs.css +1 -1
  232. package/dist/martyrs.es.js +1 -1
  233. package/dist/music.server.cjs +1 -1
  234. package/dist/music.server.js +1 -1
  235. package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.cjs +1 -1
  236. package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.js +1 -1
  237. package/dist/orders.server.cjs +1 -1
  238. package/dist/orders.server.js +1 -1
  239. package/dist/organizations.server.cjs +1 -1
  240. package/dist/organizations.server.js +1 -1
  241. package/dist/products.server.cjs +10 -2
  242. package/dist/products.server.js +10 -2
  243. package/dist/rents.server.cjs +1 -1
  244. package/dist/rents.server.js +1 -1
  245. package/dist/style.css +129 -129
  246. package/dist/{web-DxxU2bwy.js → web-BklgIiYr.js} +1 -1
  247. package/dist/{web-bMa0DMyG.cjs → web-CQBm7C6L.cjs} +1 -1
  248. package/package.json +1 -1
  249. package/src/components/FieldTags/BlockTags.vue +28 -16
  250. package/src/components/FieldTags/FieldTags.vue +327 -508
  251. package/src/components/Marquee/Marquee.vue +25 -14
  252. package/src/components/UploadImage/UploadImage.vue +192 -18
  253. package/src/modules/community/components/pages/CreateBlogPost.vue +0 -1
  254. package/src/modules/globals/controllers/classes/globals.validator.js +24 -23
  255. package/src/modules/globals/views/store/globals.js +2 -2
  256. package/src/modules/products/components/pages/CategoryEdit.vue +73 -39
  257. package/src/modules/products/middlewares/categories.verifier.js +9 -1
  258. package/src/modules/products/store/categories.js +5 -0
  259. package/dist/_virtual/index3.cjs +0 -5
  260. package/dist/_virtual/index3.cjs.map +0 -1
  261. package/dist/_virtual/index3.js +0 -5
  262. package/dist/_virtual/index3.js.map +0 -1
  263. package/dist/main-Zhs0EqRp.cjs +0 -11
  264. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +0 -1
  265. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +0 -480
  266. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs.map +0 -1
  267. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +0 -480
  268. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js.map +0 -1
  269. package/dist/martyrs/src/components/FieldTags/create-tags.cjs +0 -43
  270. package/dist/martyrs/src/components/FieldTags/create-tags.cjs.map +0 -1
  271. package/dist/martyrs/src/components/FieldTags/create-tags.js +0 -43
  272. package/dist/martyrs/src/components/FieldTags/create-tags.js.map +0 -1
  273. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.cjs +0 -32
  274. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.cjs.map +0 -1
  275. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.js +0 -32
  276. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.js.map +0 -1
  277. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.cjs +0 -329
  278. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.cjs.map +0 -1
  279. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.js +0 -329
  280. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.js.map +0 -1
  281. package/dist/martyrs/src/modules/products/components/elements/THC.vue2.cjs.map +0 -1
  282. package/dist/martyrs/src/modules/products/components/elements/THC.vue2.js.map +0 -1
  283. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.cjs +0 -39
  284. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.cjs.map +0 -1
  285. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +0 -39
  286. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +0 -1
  287. package/src/components/FieldTags/create-tags.js +0 -84
  288. package/src/components/FieldTags/tag-input.vue +0 -55
  289. package/src/components/FieldTags/vue-tags-input.props.js +0 -342
  290. package/src/components/FieldTags/vue-tags-input.scss +0 -149
@@ -1,329 +0,0 @@
1
- const propValidatorTag = (value) => {
2
- return !value.some((t) => {
3
- const invalidText = !t.text;
4
- if (invalidText) console.warn('Missing property "text"', t);
5
- let invalidClasses = false;
6
- if (t.classes) invalidClasses = typeof t.classes !== "string";
7
- if (invalidClasses) console.warn('Property "classes" must be type of string', t);
8
- return invalidText || invalidClasses;
9
- });
10
- };
11
- const propValidatorStringNumeric = (value) => {
12
- return !value.some((v) => {
13
- if (typeof v === "number") {
14
- const numeric = isFinite(v) && Math.floor(v) === v;
15
- if (!numeric) console.warn("Only numerics are allowed for this prop. Found:", v);
16
- return !numeric;
17
- } else if (typeof v === "string") {
18
- const string = /\W|[a-z]|!\d/i.test(v);
19
- if (!string) console.warn("Only alpha strings are allowed for this prop. Found:", v);
20
- return !string;
21
- } else {
22
- console.warn("Only numeric and string values are allowed. Found:", v);
23
- return false;
24
- }
25
- });
26
- };
27
- const props = {
28
- /**
29
- * @description Property to bind a model to the input.
30
- If the user changes the input value, the model updates, too.
31
- If the user presses enter with an valid input,
32
- a new tag is created with the value of this model.
33
- After creating the new tag, the model is cleared.
34
- * @property {props}
35
- * @required
36
- * @type {String}
37
- * @model
38
- * @default ''
39
- */
40
- modelValue: {
41
- type: String,
42
- default: "",
43
- required: true
44
- },
45
- /**
46
- * @description Pass an array containing objects like in the example below.
47
- The properties 'style' and 'class' are optional. Of course it is possible to add custom
48
- properties to a tag object. vue-tags-input won't change the key and value.
49
- * @property {props}
50
- * @type {Array}
51
- * @sync
52
- * @default []
53
- * @example
54
- {
55
-  text: 'My tag value', /* The visible text on display */
56
-  style: 'background-color: #ccc', /* Adding inline styles is possible */
57
-  classes: 'custom-class another', /* The value will be added as css classes */
58
- }
59
- */
60
- tags: {
61
- type: Array,
62
- default: () => [],
63
- validator: propValidatorTag
64
- },
65
- /**
66
- * @description Expects an array containing objects inside. The objects
67
- can have the same properties as a tag object.
68
- * @property {props}
69
- * @type {Array}
70
- * @default []
71
- */
72
- autocompleteItems: {
73
- type: Array,
74
- default: () => [],
75
- validator: propValidatorTag
76
- },
77
- /**
78
- * @description Defines whether a tag is editable after creation or not.
79
- * @property {props}
80
- * @type {Boolean}
81
- * @default false
82
- */
83
- allowEditTags: {
84
- type: Boolean,
85
- default: false
86
- },
87
- /**
88
- * @description Defines if duplicate autocomplete items are filtered out from the view or not.
89
- * @property {props}
90
- * @type {Boolean}
91
- * @default true
92
- */
93
- autocompleteFilterDuplicates: {
94
- default: true,
95
- type: Boolean
96
- },
97
- /**
98
- * @description If it's true, the user can add tags only via the autocomplete layer.
99
- * @property {props}
100
- * @type {Boolean}
101
- * @default false
102
- */
103
- addOnlyFromAutocomplete: {
104
- type: Boolean,
105
- default: false
106
- },
107
- /**
108
- * @description The minimum character length which is required
109
- until the autocomplete layer is shown. If set to 0,
110
- then it'll be shown on focus.
111
- * @property {props}
112
- * @type {Number}
113
- * @default 1
114
- */
115
- autocompleteMinLength: {
116
- type: Number,
117
- default: 1
118
- },
119
- /**
120
- * @description If it's true, the autocomplete layer is always shown, regardless if
121
- an input or an autocomplete items exists.
122
- * @property {props}
123
- * @type {Boolean}
124
- * @default false
125
- */
126
- autocompleteAlwaysOpen: {
127
- type: Boolean,
128
- default: false
129
- },
130
- /**
131
- * @description Property to disable vue-tags-input.
132
- * @property {props}
133
- * @type {Boolean}
134
- * @default false
135
- */
136
- disabled: {
137
- type: Boolean,
138
- default: false
139
- },
140
- /**
141
- * @description The placeholder text which is shown in the input, when it's empty.
142
- * @property {props}
143
- * @type {String}
144
- * @default Add Tag
145
- */
146
- placeholder: {
147
- type: String,
148
- default: "Add Tag"
149
- },
150
- /**
151
- * @description Custom trigger key codes can be registrated. If the user presses one of these,
152
- a tag will be generated out of the input value. Can be either a numeric keyCode or the key
153
- as a string.
154
- * @property {props}
155
- * @type {Array}
156
- * @default [13]
157
- * @example add-on-key="[13, ':', ';']"
158
- */
159
- addOnKey: {
160
- type: Array,
161
- default: () => [13],
162
- validator: propValidatorStringNumeric
163
- },
164
- /**
165
- * @description Custom trigger key codes can be registrated. If the user edits a tag
166
- and presses one of these, the edited tag will be saved.
167
- Can be either a numeric keyCode or the key as a string.
168
- * @property {props}
169
- * @type {Array}
170
- * @default [13]
171
- * @example save-on-key="[13, ':', ';']"
172
- */
173
- saveOnKey: {
174
- type: Array,
175
- default: () => [13],
176
- validator: propValidatorStringNumeric
177
- },
178
- /**
179
- * @description The maximum amount the tags array is allowed to hold.
180
- * @property {props}
181
- * @type {Number}
182
- */
183
- maxTags: {
184
- type: Number
185
- },
186
- /**
187
- * @description The maximum amount of characters the input is allowed to hold.
188
- * @property {props}
189
- * @type {Number}
190
- */
191
- maxlength: {
192
- type: Number
193
- },
194
- /**
195
- * @description Pass an array containing objects like in the example below.
196
- The property 'classes' will be added as css classes, if the property 'rule' matches the text
197
- of a tag, an autocomplete item or the input. The property 'rule' can be type of
198
- RegExp or function. If the property 'disableAdd' is 'true', the item can't be added
199
- to the tags array, if the appropriated rule matches.
200
- * @property {props}
201
- * @type {Array}
202
- * @default []
203
- * @example
204
- {
205
-  classes: 'class', /* css class */
206
-  rule: /^([^0-9]*)$/, /* RegExp */
207
- }, {
208
-  classes: 'no-braces', /* css class */
209
-  rule(text) { /* function with text as param */
210
-   return text.indexOf('{') !== -1 || text.indexOf('}') !== -1;
211
-  },
212
-  disableAdd: true, /* if the rule matches, the item cannot be added */,
213
- },
214
- */
215
- validation: {
216
- type: Array,
217
- default: () => [],
218
- validator(value) {
219
- return !value.some((v) => {
220
- const missingRule = !v.rule;
221
- if (missingRule) console.warn('Property "rule" is missing', v);
222
- const validRule = v.rule && (typeof v.rule === "string" || v.rule instanceof RegExp || {}.toString.call(v.rule) === "[object Function]");
223
- if (!validRule) {
224
- console.warn("A rule must be type of string, RegExp or function. Found:", JSON.stringify(v.rule));
225
- }
226
- const missingClasses = !v.classes;
227
- if (missingClasses) console.warn('Property "classes" is missing', v);
228
- const invalidType = v.type && typeof v.type !== "string";
229
- if (invalidType) console.warn('Property "type" must be type of string. Found:', v);
230
- return !validRule || missingRule || missingClasses || invalidType;
231
- });
232
- }
233
- },
234
- /**
235
- * @description Defines the characters which splits a text into different pieces,
236
- to generate tags out of this pieces.
237
- * @property {props}
238
- * @type {Array}
239
- * @default [';']
240
- * @example
241
- separators: [';', ',']
242
- input: some; user input, has random; commas, an,d semicolons
243
- will split into: some - user input - has random - commas - an - d semicolons
244
- */
245
- separators: {
246
- type: Array,
247
- default: () => [";"],
248
- validator(value) {
249
- return !value.some((s) => {
250
- const invalidType = typeof s !== "string";
251
- if (invalidType) console.warn("Separators must be type of string. Found:", s);
252
- return invalidType;
253
- });
254
- }
255
- },
256
- /**
257
- * @description If it's true, the user can't add or save a tag,
258
- if another exists, with the same text value.
259
- * @property {props}
260
- * @type {Boolean}
261
- * @default true
262
- */
263
- avoidAddingDuplicates: {
264
- type: Boolean,
265
- default: true
266
- },
267
- /**
268
- * @description If the input holds a value and loses the focus,
269
- a tag will be generated out of this value, if possible.
270
- * @property {props}
271
- * @type {Boolean}
272
- * @default true
273
- */
274
- addOnBlur: {
275
- type: Boolean,
276
- default: true
277
- },
278
- /**
279
- * @description Custom function to detect duplicates. If the function returns 'true',
280
- the tag will be marked as duplicate.
281
- * @property {props}
282
- * @type {Function}
283
- * @param {Array} tagsarray The Array of tags minus the one which is edited/created.
284
- * @param {Object} tag The tag which is edited or should be added to the tags array.
285
- * @example
286
- // The duplicate function to recreate the default behaviour, would look like this:
287
- isDuplicate(tags, tag) {
288
-  return tags.map(t => t.text).indexOf(tag.text) !== -1;
289
- }
290
- */
291
- isDuplicate: {
292
- type: Function,
293
- default: null
294
- },
295
- /**
296
- * @description If it's true, the user can paste into the input element and
297
- vue-tags-input will create tags out of the incoming text.
298
- * @property {props}
299
- * @type {Boolean}
300
- * @default true
301
- */
302
- addFromPaste: {
303
- type: Boolean,
304
- default: true
305
- },
306
- /**
307
- * @description Defines if it's possible to delete tags by pressing backspace.
308
- If so and the user wants to delete a tag,
309
- the tag gets the css class 'deletion-mark' for 1 second.
310
- If the user presses backspace again in that time period,
311
- the tag is removed from the tags array and the view.
312
- * @property {props}
313
- * @type {Boolean}
314
- * @default true
315
- */
316
- deleteOnBackspace: {
317
- default: true,
318
- type: Boolean
319
- },
320
- // event handlers
321
- onBeforeAddingTag: Function,
322
- onBeforeDeletingTag: Function,
323
- onBeforeEditingTag: Function,
324
- onBeforeSavingTag: Function
325
- };
326
- export {
327
- props as default
328
- };
329
- //# sourceMappingURL=vue-tags-input.props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-tags-input.props.js","sources":["../../../../../src/components/FieldTags/vue-tags-input.props.js"],"sourcesContent":["// The file contains all props and validators which are provided by the component\n\nconst propValidatorTag = value => {\n return !value.some(t => {\n const invalidText = !t.text;\n if (invalidText) console.warn('Missing property \"text\"', t);\n\n let invalidClasses = false;\n if (t.classes) invalidClasses = typeof t.classes !== 'string';\n if (invalidClasses) console.warn('Property \"classes\" must be type of string', t);\n\n return invalidText || invalidClasses;\n });\n};\n\nconst propValidatorStringNumeric = value => {\n return !value.some(v => {\n if (typeof v === 'number') {\n const numeric = isFinite(v) && Math.floor(v) === v;\n if (!numeric) console.warn('Only numerics are allowed for this prop. Found:', v);\n return !numeric;\n } else if (typeof v === 'string') {\n /*\n * Regex: || Not totally fool-proof yet, still matches \"0a\" and such\n * - allow non-word characters (aka symbols e.g. ;, :, ' etc)\n * - allow alpha characters\n * - deny numbers\n */\n const string = /\\W|[a-z]|!\\d/i.test(v);\n if (!string) console.warn('Only alpha strings are allowed for this prop. Found:', v);\n return !string;\n } else {\n console.warn('Only numeric and string values are allowed. Found:', v);\n return false;\n }\n });\n};\n\nexport default {\n /**\n * @description Property to bind a model to the input.\n If the user changes the input value, the model updates, too.\n If the user presses enter with an valid input,\n a new tag is created with the value of this model.\n After creating the new tag, the model is cleared.\n * @property {props}\n * @required\n * @type {String}\n * @model\n * @default ''\n */\n modelValue: {\n type: String,\n default: '',\n required: true,\n },\n /**\n * @description Pass an array containing objects like in the example below.\n The properties 'style' and 'class' are optional. Of course it is possible to add custom\n properties to a tag object. vue-tags-input won't change the key and value.\n * @property {props}\n * @type {Array}\n * @sync\n * @default []\n * @example\n {\n  text: 'My tag value', /* The visible text on display */\n  style: 'background-color: #ccc', /* Adding inline styles is possible */\n  classes: 'custom-class another', /* The value will be added as css classes */\n }\n */\n tags: {\n type: Array,\n default: () => [],\n validator: propValidatorTag,\n },\n /**\n * @description Expects an array containing objects inside. The objects\n can have the same properties as a tag object.\n * @property {props}\n * @type {Array}\n * @default []\n */\n autocompleteItems: {\n type: Array,\n default: () => [],\n validator: propValidatorTag,\n },\n /**\n * @description Defines whether a tag is editable after creation or not.\n * @property {props}\n * @type {Boolean}\n * @default false\n */\n allowEditTags: {\n type: Boolean,\n default: false,\n },\n /**\n * @description Defines if duplicate autocomplete items are filtered out from the view or not.\n * @property {props}\n * @type {Boolean}\n * @default true\n */\n autocompleteFilterDuplicates: {\n default: true,\n type: Boolean,\n },\n /**\n * @description If it's true, the user can add tags only via the autocomplete layer.\n * @property {props}\n * @type {Boolean}\n * @default false\n */\n addOnlyFromAutocomplete: {\n type: Boolean,\n default: false,\n },\n /**\n * @description The minimum character length which is required\n until the autocomplete layer is shown. If set to 0,\n then it'll be shown on focus.\n * @property {props}\n * @type {Number}\n * @default 1\n */\n autocompleteMinLength: {\n type: Number,\n default: 1,\n },\n /**\n * @description If it's true, the autocomplete layer is always shown, regardless if\n an input or an autocomplete items exists.\n * @property {props}\n * @type {Boolean}\n * @default false\n */\n autocompleteAlwaysOpen: {\n type: Boolean,\n default: false,\n },\n /**\n * @description Property to disable vue-tags-input.\n * @property {props}\n * @type {Boolean}\n * @default false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n /**\n * @description The placeholder text which is shown in the input, when it's empty.\n * @property {props}\n * @type {String}\n * @default Add Tag\n */\n placeholder: {\n type: String,\n default: 'Add Tag',\n },\n /**\n * @description Custom trigger key codes can be registrated. If the user presses one of these,\n a tag will be generated out of the input value. Can be either a numeric keyCode or the key\n as a string.\n * @property {props}\n * @type {Array}\n * @default [13]\n * @example add-on-key=\"[13, ':', ';']\"\n */\n addOnKey: {\n type: Array,\n default: () => [13],\n validator: propValidatorStringNumeric,\n },\n /**\n * @description Custom trigger key codes can be registrated. If the user edits a tag\n and presses one of these, the edited tag will be saved.\n Can be either a numeric keyCode or the key as a string.\n * @property {props}\n * @type {Array}\n * @default [13]\n * @example save-on-key=\"[13, ':', ';']\"\n */\n saveOnKey: {\n type: Array,\n default: () => [13],\n validator: propValidatorStringNumeric,\n },\n /**\n * @description The maximum amount the tags array is allowed to hold.\n * @property {props}\n * @type {Number}\n */\n maxTags: {\n type: Number,\n },\n /**\n * @description The maximum amount of characters the input is allowed to hold.\n * @property {props}\n * @type {Number}\n */\n maxlength: {\n type: Number,\n },\n /**\n * @description Pass an array containing objects like in the example below.\n The property 'classes' will be added as css classes, if the property 'rule' matches the text\n of a tag, an autocomplete item or the input. The property 'rule' can be type of\n RegExp or function. If the property 'disableAdd' is 'true', the item can't be added\n to the tags array, if the appropriated rule matches.\n * @property {props}\n * @type {Array}\n * @default []\n * @example\n {\n  classes: 'class', /* css class */\n  rule: /^([^0-9]*)$/, /* RegExp */\n }, {\n  classes: 'no-braces', /* css class */\n  rule(text) { /* function with text as param */\n   return text.indexOf('{') !== -1 || text.indexOf('}') !== -1;\n  },\n  disableAdd: true, /* if the rule matches, the item cannot be added */,\n },\n */\n validation: {\n type: Array,\n default: () => [],\n validator(value) {\n return !value.some(v => {\n const missingRule = !v.rule;\n if (missingRule) console.warn('Property \"rule\" is missing', v);\n\n const validRule = v.rule && (typeof v.rule === 'string' || v.rule instanceof RegExp || {}.toString.call(v.rule) === '[object Function]');\n\n if (!validRule) {\n console.warn('A rule must be type of string, RegExp or function. Found:', JSON.stringify(v.rule));\n }\n\n const missingClasses = !v.classes;\n if (missingClasses) console.warn('Property \"classes\" is missing', v);\n\n const invalidType = v.type && typeof v.type !== 'string';\n if (invalidType) console.warn('Property \"type\" must be type of string. Found:', v);\n\n return !validRule || missingRule || missingClasses || invalidType;\n });\n },\n },\n /**\n * @description Defines the characters which splits a text into different pieces,\n to generate tags out of this pieces.\n * @property {props}\n * @type {Array}\n * @default [';']\n * @example\n separators: [';', ',']\n input: some; user input, has random; commas, an,d semicolons\n will split into: some - user input - has random - commas - an - d semicolons\n */\n separators: {\n type: Array,\n default: () => [';'],\n validator(value) {\n return !value.some(s => {\n const invalidType = typeof s !== 'string';\n if (invalidType) console.warn('Separators must be type of string. Found:', s);\n return invalidType;\n });\n },\n },\n /**\n * @description If it's true, the user can't add or save a tag,\n if another exists, with the same text value.\n * @property {props}\n * @type {Boolean}\n * @default true\n */\n avoidAddingDuplicates: {\n type: Boolean,\n default: true,\n },\n /**\n * @description If the input holds a value and loses the focus,\n a tag will be generated out of this value, if possible.\n * @property {props}\n * @type {Boolean}\n * @default true\n */\n addOnBlur: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Custom function to detect duplicates. If the function returns 'true',\n the tag will be marked as duplicate.\n * @property {props}\n * @type {Function}\n * @param {Array} tagsarray The Array of tags minus the one which is edited/created.\n * @param {Object} tag The tag which is edited or should be added to the tags array.\n * @example\n // The duplicate function to recreate the default behaviour, would look like this:\n isDuplicate(tags, tag) {\n  return tags.map(t => t.text).indexOf(tag.text) !== -1;\n }\n */\n isDuplicate: {\n type: Function,\n default: null,\n },\n /**\n * @description If it's true, the user can paste into the input element and\n vue-tags-input will create tags out of the incoming text.\n * @property {props}\n * @type {Boolean}\n * @default true\n */\n addFromPaste: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Defines if it's possible to delete tags by pressing backspace.\n If so and the user wants to delete a tag,\n the tag gets the css class 'deletion-mark' for 1 second.\n If the user presses backspace again in that time period,\n the tag is removed from the tags array and the view.\n * @property {props}\n * @type {Boolean}\n * @default true\n */\n deleteOnBackspace: {\n default: true,\n type: Boolean,\n },\n // event handlers\n onBeforeAddingTag: Function,\n onBeforeDeletingTag: Function,\n onBeforeEditingTag: Function,\n onBeforeSavingTag: Function,\n};\n"],"names":[],"mappings":"AAEA,MAAM,mBAAmB,WAAS;AAChC,SAAO,CAAC,MAAM,KAAK,OAAK;AACtB,UAAM,cAAc,CAAC,EAAE;AACvB,QAAI,YAAa,SAAQ,KAAK,2BAA2B,CAAC;AAE1D,QAAI,iBAAiB;AACrB,QAAI,EAAE,QAAS,kBAAiB,OAAO,EAAE,YAAY;AACrD,QAAI,eAAgB,SAAQ,KAAK,6CAA6C,CAAC;AAE/E,WAAO,eAAe;AAAA,EACxB,CAAC;AAC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SAAS;AAAA,EACb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWE,mBAAmB;AAAA,IACjB,SAAS;AAAA,IACT,MAAM;AAAA,EACV;AAAA;AAAA,EAEE,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"THC.vue2.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"THC.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var fastDeepEqual;
4
- var hasRequiredFastDeepEqual;
5
- function requireFastDeepEqual() {
6
- if (hasRequiredFastDeepEqual) return fastDeepEqual;
7
- hasRequiredFastDeepEqual = 1;
8
- fastDeepEqual = function equal(a, b) {
9
- if (a === b) return true;
10
- if (a && b && typeof a == "object" && typeof b == "object") {
11
- if (a.constructor !== b.constructor) return false;
12
- var length, i, keys;
13
- if (Array.isArray(a)) {
14
- length = a.length;
15
- if (length != b.length) return false;
16
- for (i = length; i-- !== 0; )
17
- if (!equal(a[i], b[i])) return false;
18
- return true;
19
- }
20
- if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
21
- if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
22
- if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
23
- keys = Object.keys(a);
24
- length = keys.length;
25
- if (length !== Object.keys(b).length) return false;
26
- for (i = length; i-- !== 0; )
27
- if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
28
- for (i = length; i-- !== 0; ) {
29
- var key = keys[i];
30
- if (!equal(a[key], b[key])) return false;
31
- }
32
- return true;
33
- }
34
- return a !== a && b !== b;
35
- };
36
- return fastDeepEqual;
37
- }
38
- exports.__require = requireFastDeepEqual;
39
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"],"sourcesContent":["'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n"],"names":[],"mappings":";;;;;;;AAMA,kBAAiB,SAAS,MAAM,GAAG,GAAG;AACpC,QAAI,MAAM,EAAG,QAAO;AAEpB,QAAI,KAAK,KAAK,OAAO,KAAK,YAAY,OAAO,KAAK,UAAU;AAC1D,UAAI,EAAE,gBAAgB,EAAE,YAAa,QAAO;AAE5C,UAAI,QAAQ,GAAG;AACf,UAAI,MAAM,QAAQ,CAAC,GAAG;AACpB,iBAAS,EAAE;AACX,YAAI,UAAU,EAAE,OAAQ,QAAO;AAC/B,aAAK,IAAI,QAAQ,QAAQ;AACvB,cAAI,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,EAAG,QAAO;AACjC,eAAO;AAAA,MACb;AAII,UAAI,EAAE,gBAAgB,OAAQ,QAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE;AAC5E,UAAI,EAAE,YAAY,OAAO,UAAU,QAAS,QAAO,EAAE,QAAO,MAAO,EAAE,QAAO;AAC5E,UAAI,EAAE,aAAa,OAAO,UAAU,SAAU,QAAO,EAAE,SAAQ,MAAO,EAAE,SAAQ;AAEhF,aAAO,OAAO,KAAK,CAAC;AACpB,eAAS,KAAK;AACd,UAAI,WAAW,OAAO,KAAK,CAAC,EAAE,OAAQ,QAAO;AAE7C,WAAK,IAAI,QAAQ,QAAQ;AACvB,YAAI,CAAC,OAAO,UAAU,eAAe,KAAK,GAAG,KAAK,CAAC,CAAC,EAAG,QAAO;AAEhE,WAAK,IAAI,QAAQ,QAAQ,KAAI;AAC3B,YAAI,MAAM,KAAK,CAAC;AAEhB,YAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,GAAG,CAAC,EAAG,QAAO;AAAA,MACzC;AAEI,aAAO;AAAA,IACX;AAGE,WAAO,MAAI,KAAK,MAAI;AAAA,EACtB;;;;","x_google_ignoreList":[0]}
@@ -1,39 +0,0 @@
1
- var fastDeepEqual;
2
- var hasRequiredFastDeepEqual;
3
- function requireFastDeepEqual() {
4
- if (hasRequiredFastDeepEqual) return fastDeepEqual;
5
- hasRequiredFastDeepEqual = 1;
6
- fastDeepEqual = function equal(a, b) {
7
- if (a === b) return true;
8
- if (a && b && typeof a == "object" && typeof b == "object") {
9
- if (a.constructor !== b.constructor) return false;
10
- var length, i, keys;
11
- if (Array.isArray(a)) {
12
- length = a.length;
13
- if (length != b.length) return false;
14
- for (i = length; i-- !== 0; )
15
- if (!equal(a[i], b[i])) return false;
16
- return true;
17
- }
18
- if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
19
- if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
20
- if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
21
- keys = Object.keys(a);
22
- length = keys.length;
23
- if (length !== Object.keys(b).length) return false;
24
- for (i = length; i-- !== 0; )
25
- if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
26
- for (i = length; i-- !== 0; ) {
27
- var key = keys[i];
28
- if (!equal(a[key], b[key])) return false;
29
- }
30
- return true;
31
- }
32
- return a !== a && b !== b;
33
- };
34
- return fastDeepEqual;
35
- }
36
- export {
37
- requireFastDeepEqual as __require
38
- };
39
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"],"sourcesContent":["'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n"],"names":[],"mappings":";;;;;AAMA,kBAAiB,SAAS,MAAM,GAAG,GAAG;AACpC,QAAI,MAAM,EAAG,QAAO;AAEpB,QAAI,KAAK,KAAK,OAAO,KAAK,YAAY,OAAO,KAAK,UAAU;AAC1D,UAAI,EAAE,gBAAgB,EAAE,YAAa,QAAO;AAE5C,UAAI,QAAQ,GAAG;AACf,UAAI,MAAM,QAAQ,CAAC,GAAG;AACpB,iBAAS,EAAE;AACX,YAAI,UAAU,EAAE,OAAQ,QAAO;AAC/B,aAAK,IAAI,QAAQ,QAAQ;AACvB,cAAI,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,EAAG,QAAO;AACjC,eAAO;AAAA,MACb;AAII,UAAI,EAAE,gBAAgB,OAAQ,QAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE;AAC5E,UAAI,EAAE,YAAY,OAAO,UAAU,QAAS,QAAO,EAAE,QAAO,MAAO,EAAE,QAAO;AAC5E,UAAI,EAAE,aAAa,OAAO,UAAU,SAAU,QAAO,EAAE,SAAQ,MAAO,EAAE,SAAQ;AAEhF,aAAO,OAAO,KAAK,CAAC;AACpB,eAAS,KAAK;AACd,UAAI,WAAW,OAAO,KAAK,CAAC,EAAE,OAAQ,QAAO;AAE7C,WAAK,IAAI,QAAQ,QAAQ;AACvB,YAAI,CAAC,OAAO,UAAU,eAAe,KAAK,GAAG,KAAK,CAAC,CAAC,EAAG,QAAO;AAEhE,WAAK,IAAI,QAAQ,QAAQ,KAAI;AAC3B,YAAI,MAAM,KAAK,CAAC;AAEhB,YAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,GAAG,CAAC,EAAG,QAAO;AAAA,MACzC;AAEI,aAAO;AAAA,IACX;AAGE,WAAO,MAAI,KAAK,MAAI;AAAA,EACtB;;;","x_google_ignoreList":[0]}
@@ -1,84 +0,0 @@
1
- // helper functions
2
-
3
- const validateUserRules = (tag, validation) => {
4
- return validation
5
- .filter(val => {
6
- const { text } = tag;
7
- // if the rule is a string, we convert it to RegExp
8
- if (typeof val.rule === 'string') return !new RegExp(val.rule).test(text);
9
-
10
- if (val.rule instanceof RegExp) return !val.rule.test(text);
11
-
12
- // if we deal with a function, invoke it
13
- const isFunction = {}.toString.call(val.rule) === '[object Function]';
14
- if (isFunction) return val.rule(tag);
15
- })
16
- .map(val => val.classes);
17
- };
18
-
19
- const clone = node => JSON.parse(JSON.stringify(node));
20
-
21
- const findIndex = (arr, callback) => {
22
- let index = 0;
23
- while (index < arr.length) {
24
- if (callback(arr[index], index, arr)) return index;
25
- index++;
26
- }
27
- return -1;
28
- };
29
-
30
- const createClasses = (tag, tags, validation = [], customDuplicateFn) => {
31
- if (tag.text === undefined) tag = { text: tag };
32
-
33
- // create css classes from the user validation array
34
- const classes = validateUserRules(tag, validation);
35
-
36
- // if we find the tag, it's an exsting one which is edited.
37
- // in this case we must splice it out
38
- const index = findIndex(tags, t => t === tag);
39
- const tagsDiff = clone(tags);
40
- const inputTag = index !== -1 ? tagsDiff.splice(index, 1)[0] : clone(tag);
41
-
42
- // check whether the tag is a duplicate or not
43
- const duplicate = customDuplicateFn ? customDuplicateFn(tagsDiff, inputTag) : tagsDiff.map(t => t.text).indexOf(inputTag.text) !== -1;
44
-
45
- // if it's a duplicate, push the class duplicate to the array
46
- if (duplicate) classes.push('ti-duplicate');
47
-
48
- // if we find no classes, the tag is valid → push the class valid
49
- classes.length === 0 ? classes.push('ti-valid') : classes.push('ti-invalid');
50
- return classes;
51
- };
52
-
53
- /**
54
- * @description Create one tag out of a String or validate an existing one
55
- * @property {helpers}
56
- * @param {Object|String} tag A tag which should be validated | A String to create a tag
57
- * @param {Array} tagsarray The tags array
58
- * @param {Array} [validation=[]] The validation Array is optional (pass it if you use one)
59
- * @returns {Object} The created (validated) tag
60
- */
61
- const createTag = (tag, ...rest) => {
62
- // if text is undefined, a string is passed. let's make a tag out of it
63
- if (tag.text === undefined) tag = { text: tag };
64
-
65
- // we better make a clone to not getting reference trouble
66
- const t = clone(tag);
67
-
68
- // create the validation classes
69
- t.tiClasses = createClasses(tag, ...rest);
70
- return t;
71
- };
72
-
73
- /**
74
- * @description Create multiple tags out of Strings or validate existing tags
75
- * @property {helpers}
76
- * @param {Array} tagsarray An Array containing tags or strings. See example below.
77
- * @param {Array} [validation=[]] The validation Array is optional (pass it if you use one)
78
- * @returns {Array} An array containing (validated) tags
79
- * @example &#47;* Example to call the function *&#47;
80
- const validatedTags = createTags(['tag1Text', 'tag2Text'], [{ type: 'length', rule: /[0-9]/ }])
81
- */
82
- const createTags = (tags, ...rest) => tags.map(t => createTag(t, tags, ...rest));
83
-
84
- export { clone, createClasses, createTag, createTags };
@@ -1,55 +0,0 @@
1
- <!-- A helper component used by VueTagsInput and can be put into the tag-center slot -->
2
-
3
- <template>
4
- <input
5
- v-if="scope.edit"
6
- v-model="scope.tag.text"
7
- :maxlength="scope.maxlength"
8
- type="text"
9
- class="ti-tag-input"
10
- size="1"
11
- @input="scope.validateTag(scope.index, $event)"
12
- @blur="scope.performCancelEdit(scope.index)"
13
- @keydown="scope.performSaveEdit(scope.index, $event)"
14
- >
15
- </template>
16
-
17
- <script>
18
-
19
- export default {
20
- name: 'TagInput',
21
- props: {
22
- scope: {
23
- type: Object,
24
- },
25
- },
26
- };
27
-
28
- </script>
29
-
30
- <style lang="css" >
31
- .ti-tag-input {
32
- background-color: transparent;
33
- color: inherit;
34
- border: none;
35
- padding: 0px;
36
- margin: 0px;
37
- display: flex;
38
- top: 0px;
39
- position: absolute;
40
- width: 100%;
41
- line-height: inherit;
42
- }
43
-
44
- .ti-tag-input::-ms-clear {
45
- display: none;
46
- }
47
-
48
- input:focus {
49
- outline: none;
50
- }
51
-
52
- input[disabled] {
53
- background-color: transparent;
54
- }
55
- </style>