spina 2.11.0 → 2.13.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

Files changed (1219) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/Rakefile +17 -17
  4. data/app/assets/builds/spina/tailwind.css +533 -148
  5. data/app/assets/icons/heroicons/mini/academic-cap.svg +3 -0
  6. data/app/assets/icons/heroicons/mini/adjustments-horizontal.svg +3 -0
  7. data/app/assets/icons/heroicons/mini/adjustments-vertical.svg +3 -0
  8. data/app/assets/icons/heroicons/mini/archive-box-arrow-down.svg +3 -0
  9. data/app/assets/icons/heroicons/mini/archive-box-x-mark.svg +4 -0
  10. data/app/assets/icons/heroicons/mini/archive-box.svg +4 -0
  11. data/app/assets/icons/heroicons/mini/arrow-down-circle.svg +3 -0
  12. data/app/assets/icons/heroicons/mini/arrow-down-left.svg +3 -0
  13. data/app/assets/icons/heroicons/mini/arrow-down-on-square-stack.svg +3 -0
  14. data/app/assets/icons/heroicons/mini/arrow-down-on-square.svg +3 -0
  15. data/app/assets/icons/heroicons/mini/arrow-down-right.svg +3 -0
  16. data/app/assets/icons/heroicons/mini/arrow-down-tray.svg +4 -0
  17. data/app/assets/icons/heroicons/mini/arrow-down.svg +3 -0
  18. data/app/assets/icons/heroicons/mini/arrow-left-circle.svg +10 -0
  19. data/app/assets/icons/heroicons/mini/arrow-left-on-rectangle.svg +4 -0
  20. data/app/assets/icons/heroicons/mini/arrow-left.svg +3 -0
  21. data/app/assets/icons/heroicons/mini/arrow-long-down.svg +3 -0
  22. data/app/assets/icons/heroicons/mini/arrow-long-left.svg +3 -0
  23. data/app/assets/icons/heroicons/mini/arrow-long-right.svg +3 -0
  24. data/app/assets/icons/heroicons/mini/arrow-long-up.svg +3 -0
  25. data/app/assets/icons/heroicons/mini/arrow-path.svg +3 -0
  26. data/app/assets/icons/heroicons/mini/arrow-right-circle.svg +3 -0
  27. data/app/assets/icons/heroicons/mini/arrow-right-on-rectangle.svg +4 -0
  28. data/app/assets/icons/heroicons/mini/arrow-right.svg +3 -0
  29. data/app/assets/icons/heroicons/mini/arrow-top-right-on-square.svg +4 -0
  30. data/app/assets/icons/heroicons/mini/arrow-trending-down.svg +3 -0
  31. data/app/assets/icons/heroicons/mini/arrow-trending-up.svg +3 -0
  32. data/app/assets/icons/heroicons/mini/arrow-up-circle.svg +3 -0
  33. data/app/assets/icons/heroicons/mini/arrow-up-left.svg +3 -0
  34. data/app/assets/icons/heroicons/mini/arrow-up-on-square-stack.svg +3 -0
  35. data/app/assets/icons/heroicons/mini/arrow-up-on-square.svg +3 -0
  36. data/app/assets/icons/heroicons/mini/arrow-up-right.svg +3 -0
  37. data/app/assets/icons/heroicons/mini/arrow-up-tray.svg +4 -0
  38. data/app/assets/icons/heroicons/mini/arrow-up.svg +3 -0
  39. data/app/assets/icons/heroicons/mini/arrow-uturn-down.svg +3 -0
  40. data/app/assets/icons/heroicons/mini/arrow-uturn-left.svg +3 -0
  41. data/app/assets/icons/heroicons/mini/arrow-uturn-right.svg +3 -0
  42. data/app/assets/icons/heroicons/mini/arrow-uturn-up.svg +3 -0
  43. data/app/assets/icons/heroicons/mini/arrows-pointing-in.svg +3 -0
  44. data/app/assets/icons/heroicons/mini/arrows-pointing-out.svg +3 -0
  45. data/app/assets/icons/heroicons/mini/arrows-right-left.svg +3 -0
  46. data/app/assets/icons/heroicons/mini/arrows-up-down.svg +3 -0
  47. data/app/assets/icons/heroicons/mini/at-symbol.svg +3 -0
  48. data/app/assets/icons/heroicons/mini/backspace.svg +3 -0
  49. data/app/assets/icons/heroicons/mini/backward.svg +3 -0
  50. data/app/assets/icons/heroicons/mini/banknotes.svg +3 -0
  51. data/app/assets/icons/heroicons/mini/bars-2.svg +3 -0
  52. data/app/assets/icons/heroicons/mini/bars-3-bottom-left.svg +3 -0
  53. data/app/assets/icons/heroicons/mini/bars-3-bottom-right.svg +3 -0
  54. data/app/assets/icons/heroicons/mini/bars-3-center-left.svg +3 -0
  55. data/app/assets/icons/heroicons/mini/bars-3.svg +3 -0
  56. data/app/assets/icons/heroicons/mini/bars-4.svg +3 -0
  57. data/app/assets/icons/heroicons/mini/bars-arrow-down.svg +3 -0
  58. data/app/assets/icons/heroicons/mini/bars-arrow-up.svg +3 -0
  59. data/app/assets/icons/heroicons/mini/beaker.svg +3 -0
  60. data/app/assets/icons/heroicons/mini/bell-alert.svg +4 -0
  61. data/app/assets/icons/heroicons/mini/bell-slash.svg +3 -0
  62. data/app/assets/icons/heroicons/mini/bell-snooze.svg +3 -0
  63. data/app/assets/icons/heroicons/mini/bell.svg +3 -0
  64. data/app/assets/icons/heroicons/mini/bolt-slash.svg +4 -0
  65. data/app/assets/icons/heroicons/mini/bolt.svg +3 -0
  66. data/app/assets/icons/heroicons/mini/book-open.svg +3 -0
  67. data/app/assets/icons/heroicons/mini/bookmark-slash.svg +3 -0
  68. data/app/assets/icons/heroicons/mini/bookmark-square.svg +3 -0
  69. data/app/assets/icons/heroicons/mini/bookmark.svg +3 -0
  70. data/app/assets/icons/heroicons/mini/briefcase.svg +4 -0
  71. data/app/assets/icons/heroicons/mini/building-library.svg +3 -0
  72. data/app/assets/icons/heroicons/mini/building-office-2.svg +3 -0
  73. data/app/assets/icons/heroicons/mini/building-office.svg +3 -0
  74. data/app/assets/icons/heroicons/mini/building-storefront.svg +3 -0
  75. data/app/assets/icons/heroicons/mini/cake.svg +3 -0
  76. data/app/assets/icons/heroicons/mini/calculator.svg +3 -0
  77. data/app/assets/icons/heroicons/mini/calendar-days.svg +4 -0
  78. data/app/assets/icons/heroicons/mini/calendar.svg +3 -0
  79. data/app/assets/icons/heroicons/mini/camera.svg +3 -0
  80. data/app/assets/icons/heroicons/mini/chart-bar-square.svg +3 -0
  81. data/app/assets/icons/heroicons/mini/chart-bar.svg +3 -0
  82. data/app/assets/icons/heroicons/mini/chart-pie.svg +4 -0
  83. data/app/assets/icons/heroicons/mini/chat-bubble-bottom-center-text.svg +3 -0
  84. data/app/assets/icons/heroicons/mini/chat-bubble-bottom-center.svg +3 -0
  85. data/app/assets/icons/heroicons/mini/chat-bubble-left-ellipsis.svg +3 -0
  86. data/app/assets/icons/heroicons/mini/chat-bubble-left-right.svg +4 -0
  87. data/app/assets/icons/heroicons/mini/chat-bubble-left.svg +3 -0
  88. data/app/assets/icons/heroicons/mini/chat-bubble-oval-left-ellipsis.svg +3 -0
  89. data/app/assets/icons/heroicons/mini/chat-bubble-oval-left.svg +3 -0
  90. data/app/assets/icons/heroicons/mini/check-badge.svg +3 -0
  91. data/app/assets/icons/heroicons/mini/check-circle.svg +3 -0
  92. data/app/assets/icons/heroicons/mini/check.svg +3 -0
  93. data/app/assets/icons/heroicons/mini/chevron-double-down.svg +3 -0
  94. data/app/assets/icons/heroicons/mini/chevron-double-left.svg +3 -0
  95. data/app/assets/icons/heroicons/mini/chevron-double-right.svg +4 -0
  96. data/app/assets/icons/heroicons/mini/chevron-double-up.svg +3 -0
  97. data/app/assets/icons/heroicons/mini/chevron-down.svg +3 -0
  98. data/app/assets/icons/heroicons/mini/chevron-left.svg +3 -0
  99. data/app/assets/icons/heroicons/mini/chevron-right.svg +3 -0
  100. data/app/assets/icons/heroicons/mini/chevron-up-down.svg +3 -0
  101. data/app/assets/icons/heroicons/mini/chevron-up.svg +3 -0
  102. data/app/assets/icons/heroicons/mini/circle-stack.svg +3 -0
  103. data/app/assets/icons/heroicons/mini/clipboard-document-check.svg +4 -0
  104. data/app/assets/icons/heroicons/mini/clipboard-document-list.svg +4 -0
  105. data/app/assets/icons/heroicons/mini/clipboard-document.svg +4 -0
  106. data/app/assets/icons/heroicons/mini/clipboard.svg +3 -0
  107. data/app/assets/icons/heroicons/mini/clock.svg +3 -0
  108. data/app/assets/icons/heroicons/mini/cloud-arrow-down.svg +3 -0
  109. data/app/assets/icons/heroicons/mini/cloud-arrow-up.svg +3 -0
  110. data/app/assets/icons/heroicons/mini/cloud.svg +3 -0
  111. data/app/assets/icons/heroicons/mini/code-bracket-square.svg +3 -0
  112. data/app/assets/icons/heroicons/mini/code-bracket.svg +3 -0
  113. data/app/assets/icons/heroicons/mini/cog-6-tooth.svg +3 -0
  114. data/app/assets/icons/heroicons/mini/cog-8-tooth.svg +3 -0
  115. data/app/assets/icons/heroicons/mini/cog.svg +4 -0
  116. data/app/assets/icons/heroicons/mini/command-line.svg +3 -0
  117. data/app/assets/icons/heroicons/mini/computer-desktop.svg +3 -0
  118. data/app/assets/icons/heroicons/mini/cpu-chip.svg +4 -0
  119. data/app/assets/icons/heroicons/mini/credit-card.svg +3 -0
  120. data/app/assets/icons/heroicons/mini/cube.svg +3 -0
  121. data/app/assets/icons/heroicons/mini/currency-dollar.svg +4 -0
  122. data/app/assets/icons/heroicons/mini/currency-euro.svg +3 -0
  123. data/app/assets/icons/heroicons/mini/currency-pound.svg +3 -0
  124. data/app/assets/icons/heroicons/mini/currency-rupee.svg +3 -0
  125. data/app/assets/icons/heroicons/mini/currency-yen.svg +3 -0
  126. data/app/assets/icons/heroicons/mini/cursor-arrow-rays.svg +3 -0
  127. data/app/assets/icons/heroicons/mini/cursor-arrow-ripple.svg +3 -0
  128. data/app/assets/icons/heroicons/mini/device-phone-mobile.svg +4 -0
  129. data/app/assets/icons/heroicons/mini/device-tablet.svg +3 -0
  130. data/app/assets/icons/heroicons/mini/document-arrow-down.svg +3 -0
  131. data/app/assets/icons/heroicons/mini/document-arrow-up.svg +3 -0
  132. data/app/assets/icons/heroicons/mini/document-chart-bar.svg +3 -0
  133. data/app/assets/icons/heroicons/mini/document-check.svg +3 -0
  134. data/app/assets/icons/heroicons/mini/document-duplicate.svg +4 -0
  135. data/app/assets/icons/heroicons/mini/document-magnifying-glass.svg +4 -0
  136. data/app/assets/icons/heroicons/mini/document-minus.svg +3 -0
  137. data/app/assets/icons/heroicons/mini/document-plus.svg +3 -0
  138. data/app/assets/icons/heroicons/mini/document-text.svg +3 -0
  139. data/app/assets/icons/heroicons/mini/document.svg +3 -0
  140. data/app/assets/icons/heroicons/mini/ellipsis-horizontal-circle.svg +3 -0
  141. data/app/assets/icons/heroicons/mini/ellipsis-horizontal.svg +3 -0
  142. data/app/assets/icons/heroicons/mini/ellipsis-vertical.svg +3 -0
  143. data/app/assets/icons/heroicons/mini/envelope-open.svg +3 -0
  144. data/app/assets/icons/heroicons/mini/envelope.svg +4 -0
  145. data/app/assets/icons/heroicons/mini/exclaimation-circle.svg +3 -0
  146. data/app/assets/icons/heroicons/mini/exclaimation-triangle.svg +3 -0
  147. data/app/assets/icons/heroicons/mini/exclamation-circle.svg +3 -0
  148. data/app/assets/icons/heroicons/mini/exclamation-triangle.svg +3 -0
  149. data/app/assets/icons/heroicons/mini/eye-slash.svg +4 -0
  150. data/app/assets/icons/heroicons/mini/eye.svg +4 -0
  151. data/app/assets/icons/heroicons/mini/face-frown.svg +3 -0
  152. data/app/assets/icons/heroicons/mini/face-smile.svg +3 -0
  153. data/app/assets/icons/heroicons/mini/film.svg +3 -0
  154. data/app/assets/icons/heroicons/mini/finger-print.svg +3 -0
  155. data/app/assets/icons/heroicons/mini/fire.svg +3 -0
  156. data/app/assets/icons/heroicons/mini/flag.svg +3 -0
  157. data/app/assets/icons/heroicons/mini/folder-arrow-down.svg +3 -0
  158. data/app/assets/icons/heroicons/mini/folder-minus.svg +3 -0
  159. data/app/assets/icons/heroicons/mini/folder-open.svg +3 -0
  160. data/app/assets/icons/heroicons/mini/folder-plus.svg +3 -0
  161. data/app/assets/icons/heroicons/mini/folder.svg +3 -0
  162. data/app/assets/icons/heroicons/mini/forward.svg +3 -0
  163. data/app/assets/icons/heroicons/mini/funnel.svg +3 -0
  164. data/app/assets/icons/heroicons/mini/gif.svg +3 -0
  165. data/app/assets/icons/heroicons/mini/gift-top.svg +3 -0
  166. data/app/assets/icons/heroicons/mini/gift.svg +4 -0
  167. data/app/assets/icons/heroicons/mini/globe-alt.svg +3 -0
  168. data/app/assets/icons/heroicons/mini/globe-americas.svg +3 -0
  169. data/app/assets/icons/heroicons/mini/globe-asia-australia.svg +3 -0
  170. data/app/assets/icons/heroicons/mini/globe-europe-africa.svg +3 -0
  171. data/app/assets/icons/heroicons/mini/hand-raised.svg +3 -0
  172. data/app/assets/icons/heroicons/mini/hand-thumb-down.svg +3 -0
  173. data/app/assets/icons/heroicons/mini/hand-thumb-up.svg +3 -0
  174. data/app/assets/icons/heroicons/mini/hashtag.svg +3 -0
  175. data/app/assets/icons/heroicons/mini/heart.svg +3 -0
  176. data/app/assets/icons/heroicons/mini/home-modern.svg +3 -0
  177. data/app/assets/icons/heroicons/mini/home.svg +3 -0
  178. data/app/assets/icons/heroicons/mini/identification.svg +3 -0
  179. data/app/assets/icons/heroicons/mini/inbox-arrow-down.svg +4 -0
  180. data/app/assets/icons/heroicons/mini/inbox-stack.svg +4 -0
  181. data/app/assets/icons/heroicons/mini/inbox.svg +3 -0
  182. data/app/assets/icons/heroicons/mini/information-circle.svg +3 -0
  183. data/app/assets/icons/heroicons/mini/key.svg +3 -0
  184. data/app/assets/icons/heroicons/mini/language.svg +4 -0
  185. data/app/assets/icons/heroicons/mini/lifebuoy.svg +3 -0
  186. data/app/assets/icons/heroicons/mini/light-bulb.svg +3 -0
  187. data/app/assets/icons/heroicons/mini/link.svg +4 -0
  188. data/app/assets/icons/heroicons/mini/list-bullet.svg +3 -0
  189. data/app/assets/icons/heroicons/mini/lock-closed.svg +3 -0
  190. data/app/assets/icons/heroicons/mini/lock-open.svg +3 -0
  191. data/app/assets/icons/heroicons/mini/magnifying-glass-circle.svg +4 -0
  192. data/app/assets/icons/heroicons/mini/magnifying-glass-minus.svg +4 -0
  193. data/app/assets/icons/heroicons/mini/magnifying-glass-plus.svg +4 -0
  194. data/app/assets/icons/heroicons/mini/magnifying-glass.svg +3 -0
  195. data/app/assets/icons/heroicons/mini/map-pin.svg +3 -0
  196. data/app/assets/icons/heroicons/mini/map.svg +3 -0
  197. data/app/assets/icons/heroicons/mini/megaphone.svg +3 -0
  198. data/app/assets/icons/heroicons/mini/microphone.svg +4 -0
  199. data/app/assets/icons/heroicons/{solid/dots-circle-horizontal.svg → mini/minus-circle.svg} +2 -2
  200. data/app/assets/icons/heroicons/mini/minus.svg +3 -0
  201. data/app/assets/icons/heroicons/mini/moon.svg +3 -0
  202. data/app/assets/icons/heroicons/mini/musical-note.svg +3 -0
  203. data/app/assets/icons/heroicons/mini/newspaper.svg +4 -0
  204. data/app/assets/icons/heroicons/mini/no-symbol.svg +3 -0
  205. data/app/assets/icons/heroicons/mini/paper-airplane.svg +3 -0
  206. data/app/assets/icons/heroicons/mini/paper-clip.svg +3 -0
  207. data/app/assets/icons/heroicons/mini/pause.svg +3 -0
  208. data/app/assets/icons/heroicons/mini/pencil-square.svg +3 -0
  209. data/app/assets/icons/heroicons/mini/pencil.svg +3 -0
  210. data/app/assets/icons/heroicons/mini/phone-arrow-down-left.svg +3 -0
  211. data/app/assets/icons/heroicons/mini/phone-arrow-up-right.svg +3 -0
  212. data/app/assets/icons/heroicons/mini/phone-x-mark.svg +3 -0
  213. data/app/assets/icons/heroicons/mini/phone.svg +3 -0
  214. data/app/assets/icons/heroicons/mini/photo.svg +3 -0
  215. data/app/assets/icons/heroicons/mini/play-pause.svg +3 -0
  216. data/app/assets/icons/heroicons/mini/play.svg +3 -0
  217. data/app/assets/icons/heroicons/mini/plus-circle.svg +3 -0
  218. data/app/assets/icons/heroicons/mini/plus.svg +3 -0
  219. data/app/assets/icons/heroicons/mini/presentation-chart-bar.svg +3 -0
  220. data/app/assets/icons/heroicons/mini/presentation-chart-line.svg +3 -0
  221. data/app/assets/icons/heroicons/mini/printer.svg +3 -0
  222. data/app/assets/icons/heroicons/mini/puzzle-piece.svg +3 -0
  223. data/app/assets/icons/heroicons/mini/qr-code.svg +3 -0
  224. data/app/assets/icons/heroicons/mini/question-mark-circle.svg +3 -0
  225. data/app/assets/icons/heroicons/mini/queue-list.svg +3 -0
  226. data/app/assets/icons/heroicons/mini/radio.svg +3 -0
  227. data/app/assets/icons/heroicons/mini/receipt-percent.svg +3 -0
  228. data/app/assets/icons/heroicons/mini/receipt-refund.svg +3 -0
  229. data/app/assets/icons/heroicons/mini/rectangle-group.svg +3 -0
  230. data/app/assets/icons/heroicons/mini/rectangle-stack.svg +3 -0
  231. data/app/assets/icons/heroicons/mini/rss.svg +4 -0
  232. data/app/assets/icons/heroicons/mini/scale.svg +3 -0
  233. data/app/assets/icons/heroicons/mini/scissors.svg +4 -0
  234. data/app/assets/icons/heroicons/mini/server-stack.svg +4 -0
  235. data/app/assets/icons/heroicons/mini/server.svg +4 -0
  236. data/app/assets/icons/heroicons/mini/share.svg +3 -0
  237. data/app/assets/icons/heroicons/mini/shield-check.svg +3 -0
  238. data/app/assets/icons/heroicons/mini/shield-exclamation.svg +3 -0
  239. data/app/assets/icons/heroicons/mini/shopping-bag.svg +3 -0
  240. data/app/assets/icons/heroicons/mini/shopping-cart.svg +3 -0
  241. data/app/assets/icons/heroicons/mini/signal-slash.svg +3 -0
  242. data/app/assets/icons/heroicons/mini/signal.svg +4 -0
  243. data/app/assets/icons/heroicons/mini/sparkles.svg +3 -0
  244. data/app/assets/icons/heroicons/mini/speaker-wave.svg +4 -0
  245. data/app/assets/icons/heroicons/mini/speaker-x-mark.svg +3 -0
  246. data/app/assets/icons/heroicons/mini/square-2-stack.svg +4 -0
  247. data/app/assets/icons/heroicons/mini/squares-2x2.svg +3 -0
  248. data/app/assets/icons/heroicons/mini/squares-plus.svg +3 -0
  249. data/app/assets/icons/heroicons/mini/star.svg +3 -0
  250. data/app/assets/icons/heroicons/mini/stop.svg +3 -0
  251. data/app/assets/icons/heroicons/mini/sun.svg +3 -0
  252. data/app/assets/icons/heroicons/mini/swatch.svg +3 -0
  253. data/app/assets/icons/heroicons/mini/table-cells.svg +3 -0
  254. data/app/assets/icons/heroicons/mini/tag.svg +3 -0
  255. data/app/assets/icons/heroicons/mini/ticket.svg +3 -0
  256. data/app/assets/icons/heroicons/mini/trash.svg +3 -0
  257. data/app/assets/icons/heroicons/mini/truck.svg +4 -0
  258. data/app/assets/icons/heroicons/mini/user-circle.svg +3 -0
  259. data/app/assets/icons/heroicons/mini/user-group.svg +3 -0
  260. data/app/assets/icons/heroicons/mini/user-plus.svg +3 -0
  261. data/app/assets/icons/heroicons/mini/user.svg +3 -0
  262. data/app/assets/icons/heroicons/mini/users.svg +3 -0
  263. data/app/assets/icons/heroicons/mini/video-camera-slash.svg +3 -0
  264. data/app/assets/icons/heroicons/mini/video-camera.svg +3 -0
  265. data/app/assets/icons/heroicons/mini/view-columns.svg +3 -0
  266. data/app/assets/icons/heroicons/mini/wifi.svg +3 -0
  267. data/app/assets/icons/heroicons/mini/wrench-screwdriver.svg +4 -0
  268. data/app/assets/icons/heroicons/mini/wrench.svg +3 -0
  269. data/app/assets/icons/heroicons/mini/x-circle.svg +3 -0
  270. data/app/assets/icons/heroicons/mini/x-mark.svg +3 -0
  271. data/app/assets/icons/heroicons/outline/academic-cap.svg +2 -4
  272. data/app/assets/icons/heroicons/outline/adjustments-horizontal.svg +3 -0
  273. data/app/assets/icons/heroicons/outline/adjustments-vertical.svg +3 -0
  274. data/app/assets/icons/heroicons/outline/archive-box-arrow-down.svg +3 -0
  275. data/app/assets/icons/heroicons/outline/archive-box-x-mark.svg +3 -0
  276. data/app/assets/icons/heroicons/outline/archive-box.svg +3 -0
  277. data/app/assets/icons/heroicons/outline/arrow-down-circle.svg +3 -0
  278. data/app/assets/icons/heroicons/outline/arrow-down-left.svg +3 -0
  279. data/app/assets/icons/heroicons/outline/arrow-down-on-square-stack.svg +3 -0
  280. data/app/assets/icons/heroicons/outline/arrow-down-on-square.svg +3 -0
  281. data/app/assets/icons/heroicons/outline/arrow-down-right.svg +3 -0
  282. data/app/assets/icons/heroicons/outline/arrow-down-tray.svg +3 -0
  283. data/app/assets/icons/heroicons/outline/arrow-down.svg +2 -2
  284. data/app/assets/icons/heroicons/outline/arrow-left-circle.svg +3 -0
  285. data/app/assets/icons/heroicons/outline/arrow-left-on-rectangle.svg +3 -0
  286. data/app/assets/icons/heroicons/outline/arrow-left.svg +2 -2
  287. data/app/assets/icons/heroicons/outline/arrow-long-down.svg +3 -0
  288. data/app/assets/icons/heroicons/outline/arrow-long-left.svg +3 -0
  289. data/app/assets/icons/heroicons/outline/arrow-long-right.svg +3 -0
  290. data/app/assets/icons/heroicons/outline/arrow-long-up.svg +3 -0
  291. data/app/assets/icons/heroicons/outline/arrow-path.svg +3 -0
  292. data/app/assets/icons/heroicons/outline/arrow-right-circle.svg +3 -0
  293. data/app/assets/icons/heroicons/outline/arrow-right-on-rectangle.svg +3 -0
  294. data/app/assets/icons/heroicons/outline/arrow-right.svg +2 -2
  295. data/app/assets/icons/heroicons/outline/arrow-top-right-on-square.svg +3 -0
  296. data/app/assets/icons/heroicons/outline/arrow-trending-down.svg +3 -0
  297. data/app/assets/icons/heroicons/outline/arrow-trending-up.svg +3 -0
  298. data/app/assets/icons/heroicons/outline/arrow-up-circle.svg +3 -0
  299. data/app/assets/icons/heroicons/outline/arrow-up-left.svg +3 -0
  300. data/app/assets/icons/heroicons/outline/arrow-up-on-square-stack.svg +3 -0
  301. data/app/assets/icons/heroicons/outline/arrow-up-on-square.svg +3 -0
  302. data/app/assets/icons/heroicons/outline/arrow-up-right.svg +3 -0
  303. data/app/assets/icons/heroicons/outline/arrow-up-tray.svg +3 -0
  304. data/app/assets/icons/heroicons/outline/arrow-up.svg +2 -2
  305. data/app/assets/icons/heroicons/outline/arrow-uturn-down.svg +3 -0
  306. data/app/assets/icons/heroicons/outline/arrow-uturn-left.svg +3 -0
  307. data/app/assets/icons/heroicons/outline/arrow-uturn-right.svg +3 -0
  308. data/app/assets/icons/heroicons/outline/arrow-uturn-up.svg +3 -0
  309. data/app/assets/icons/heroicons/outline/arrows-pointing-in.svg +3 -0
  310. data/app/assets/icons/heroicons/outline/arrows-pointing-out.svg +3 -0
  311. data/app/assets/icons/heroicons/outline/arrows-right-left.svg +3 -0
  312. data/app/assets/icons/heroicons/outline/arrows-up-down.svg +3 -0
  313. data/app/assets/icons/heroicons/outline/at-symbol.svg +2 -2
  314. data/app/assets/icons/heroicons/outline/backspace.svg +2 -2
  315. data/app/assets/icons/heroicons/outline/backward.svg +3 -0
  316. data/app/assets/icons/heroicons/outline/banknotes.svg +3 -0
  317. data/app/assets/icons/heroicons/outline/bars-2.svg +3 -0
  318. data/app/assets/icons/heroicons/outline/bars-3-bottom-left.svg +3 -0
  319. data/app/assets/icons/heroicons/outline/bars-3-bottom-right.svg +3 -0
  320. data/app/assets/icons/heroicons/outline/bars-3-center-left.svg +3 -0
  321. data/app/assets/icons/heroicons/outline/bars-3.svg +3 -0
  322. data/app/assets/icons/heroicons/outline/bars-4.svg +3 -0
  323. data/app/assets/icons/heroicons/outline/bars-arrow-down.svg +3 -0
  324. data/app/assets/icons/heroicons/outline/bars-arrow-up.svg +3 -0
  325. data/app/assets/icons/heroicons/outline/beaker.svg +2 -2
  326. data/app/assets/icons/heroicons/outline/bell-alert.svg +3 -0
  327. data/app/assets/icons/heroicons/outline/bell-slash.svg +3 -0
  328. data/app/assets/icons/heroicons/outline/bell-snooze.svg +3 -0
  329. data/app/assets/icons/heroicons/outline/bell.svg +2 -2
  330. data/app/assets/icons/heroicons/outline/bolt-slash.svg +3 -0
  331. data/app/assets/icons/heroicons/outline/bolt.svg +3 -0
  332. data/app/assets/icons/heroicons/outline/book-open.svg +2 -2
  333. data/app/assets/icons/heroicons/outline/bookmark-slash.svg +3 -0
  334. data/app/assets/icons/heroicons/outline/bookmark-square.svg +3 -0
  335. data/app/assets/icons/heroicons/outline/bookmark.svg +2 -2
  336. data/app/assets/icons/heroicons/outline/briefcase.svg +2 -2
  337. data/app/assets/icons/heroicons/outline/building-library.svg +3 -0
  338. data/app/assets/icons/heroicons/outline/building-office-2.svg +3 -0
  339. data/app/assets/icons/heroicons/outline/building-office.svg +3 -0
  340. data/app/assets/icons/heroicons/outline/building-storefront.svg +3 -0
  341. data/app/assets/icons/heroicons/outline/cake.svg +2 -2
  342. data/app/assets/icons/heroicons/outline/calculator.svg +2 -2
  343. data/app/assets/icons/heroicons/outline/calendar-days.svg +3 -0
  344. data/app/assets/icons/heroicons/outline/calendar.svg +2 -2
  345. data/app/assets/icons/heroicons/outline/camera.svg +3 -3
  346. data/app/assets/icons/heroicons/outline/chart-bar-square.svg +3 -0
  347. data/app/assets/icons/heroicons/outline/chart-bar.svg +2 -2
  348. data/app/assets/icons/heroicons/outline/chart-pie.svg +3 -3
  349. data/app/assets/icons/heroicons/outline/chat-bubble-bottom-center-text.svg +3 -0
  350. data/app/assets/icons/heroicons/outline/chat-bubble-bottom-center.svg +3 -0
  351. data/app/assets/icons/heroicons/outline/chat-bubble-left-ellipsis.svg +3 -0
  352. data/app/assets/icons/heroicons/outline/chat-bubble-left-right.svg +3 -0
  353. data/app/assets/icons/heroicons/outline/chat-bubble-left.svg +3 -0
  354. data/app/assets/icons/heroicons/outline/chat-bubble-oval-left-ellipsis.svg +3 -0
  355. data/app/assets/icons/heroicons/outline/chat-bubble-oval-left.svg +3 -0
  356. data/app/assets/icons/heroicons/outline/check-badge.svg +3 -0
  357. data/app/assets/icons/heroicons/outline/check-circle.svg +2 -2
  358. data/app/assets/icons/heroicons/outline/check.svg +2 -2
  359. data/app/assets/icons/heroicons/outline/chevron-double-down.svg +2 -2
  360. data/app/assets/icons/heroicons/outline/chevron-double-left.svg +2 -2
  361. data/app/assets/icons/heroicons/outline/chevron-double-right.svg +2 -2
  362. data/app/assets/icons/heroicons/outline/chevron-double-up.svg +2 -2
  363. data/app/assets/icons/heroicons/outline/chevron-down.svg +2 -2
  364. data/app/assets/icons/heroicons/outline/chevron-left.svg +2 -2
  365. data/app/assets/icons/heroicons/outline/chevron-right.svg +2 -2
  366. data/app/assets/icons/heroicons/outline/chevron-up-down.svg +3 -0
  367. data/app/assets/icons/heroicons/outline/chevron-up.svg +2 -2
  368. data/app/assets/icons/heroicons/outline/circle-stack.svg +3 -0
  369. data/app/assets/icons/heroicons/outline/clipboard-document-check.svg +3 -0
  370. data/app/assets/icons/heroicons/outline/clipboard-document-list.svg +3 -0
  371. data/app/assets/icons/heroicons/outline/clipboard-document.svg +3 -0
  372. data/app/assets/icons/heroicons/outline/clipboard.svg +2 -2
  373. data/app/assets/icons/heroicons/outline/clock.svg +2 -2
  374. data/app/assets/icons/heroicons/outline/cloud-arrow-down.svg +3 -0
  375. data/app/assets/icons/heroicons/outline/cloud-arrow-up.svg +3 -0
  376. data/app/assets/icons/heroicons/outline/cloud.svg +2 -2
  377. data/app/assets/icons/heroicons/outline/code-bracket-square.svg +3 -0
  378. data/app/assets/icons/heroicons/outline/code-bracket.svg +3 -0
  379. data/app/assets/icons/heroicons/outline/cog-6-tooth.svg +4 -0
  380. data/app/assets/icons/heroicons/outline/cog-8-tooth.svg +4 -0
  381. data/app/assets/icons/heroicons/outline/cog.svg +2 -3
  382. data/app/assets/icons/heroicons/outline/command-line.svg +3 -0
  383. data/app/assets/icons/heroicons/outline/computer-desktop.svg +3 -0
  384. data/app/assets/icons/heroicons/outline/cpu-chip.svg +3 -0
  385. data/app/assets/icons/heroicons/outline/credit-card.svg +2 -2
  386. data/app/assets/icons/heroicons/outline/cube.svg +2 -2
  387. data/app/assets/icons/heroicons/outline/currency-dollar.svg +2 -2
  388. data/app/assets/icons/heroicons/outline/currency-euro.svg +2 -2
  389. data/app/assets/icons/heroicons/outline/currency-pound.svg +2 -2
  390. data/app/assets/icons/heroicons/outline/currency-rupee.svg +2 -2
  391. data/app/assets/icons/heroicons/outline/currency-yen.svg +2 -2
  392. data/app/assets/icons/heroicons/outline/cursor-arrow-rays.svg +3 -0
  393. data/app/assets/icons/heroicons/outline/cursor-arrow-ripple.svg +3 -0
  394. data/app/assets/icons/heroicons/outline/device-phone-mobile.svg +3 -0
  395. data/app/assets/icons/heroicons/outline/device-tablet.svg +2 -2
  396. data/app/assets/icons/heroicons/outline/document-arrow-down.svg +3 -0
  397. data/app/assets/icons/heroicons/outline/document-arrow-up.svg +3 -0
  398. data/app/assets/icons/heroicons/outline/document-chart-bar.svg +3 -0
  399. data/app/assets/icons/heroicons/outline/document-check.svg +3 -0
  400. data/app/assets/icons/heroicons/outline/document-duplicate.svg +2 -2
  401. data/app/assets/icons/heroicons/outline/document-magnifying-glass.svg +3 -0
  402. data/app/assets/icons/heroicons/outline/document-minus.svg +3 -0
  403. data/app/assets/icons/heroicons/outline/document-plus.svg +3 -0
  404. data/app/assets/icons/heroicons/outline/document-text.svg +2 -2
  405. data/app/assets/icons/heroicons/outline/document.svg +2 -2
  406. data/app/assets/icons/heroicons/outline/ellipsis-horizontal-circle.svg +3 -0
  407. data/app/assets/icons/heroicons/outline/ellipsis-horizontal.svg +3 -0
  408. data/app/assets/icons/heroicons/outline/ellipsis-vertical.svg +3 -0
  409. data/app/assets/icons/heroicons/outline/envelope-open.svg +3 -0
  410. data/app/assets/icons/heroicons/outline/envelope.svg +3 -0
  411. data/app/assets/icons/heroicons/outline/exclaimation-circle.svg +3 -0
  412. data/app/assets/icons/heroicons/outline/exclaimation-triangle.svg +3 -0
  413. data/app/assets/icons/heroicons/outline/exclamation-circle.svg +2 -2
  414. data/app/assets/icons/heroicons/outline/exclamation-triangle.svg +3 -0
  415. data/app/assets/icons/heroicons/outline/eye-slash.svg +3 -0
  416. data/app/assets/icons/heroicons/outline/eye.svg +3 -3
  417. data/app/assets/icons/heroicons/outline/face-frown.svg +3 -0
  418. data/app/assets/icons/heroicons/outline/face-smile.svg +3 -0
  419. data/app/assets/icons/heroicons/outline/film.svg +2 -2
  420. data/app/assets/icons/heroicons/outline/finger-print.svg +2 -2
  421. data/app/assets/icons/heroicons/outline/fire.svg +3 -3
  422. data/app/assets/icons/heroicons/outline/flag.svg +2 -2
  423. data/app/assets/icons/heroicons/outline/folder-arrow-down.svg +3 -0
  424. data/app/assets/icons/heroicons/outline/folder-minus.svg +3 -0
  425. data/app/assets/icons/heroicons/outline/folder-open.svg +2 -2
  426. data/app/assets/icons/heroicons/outline/folder-plus.svg +3 -0
  427. data/app/assets/icons/heroicons/outline/folder.svg +2 -2
  428. data/app/assets/icons/heroicons/outline/forward.svg +3 -0
  429. data/app/assets/icons/heroicons/outline/funnel.svg +3 -0
  430. data/app/assets/icons/heroicons/outline/gif.svg +3 -0
  431. data/app/assets/icons/heroicons/outline/gift-top.svg +3 -0
  432. data/app/assets/icons/heroicons/outline/gift.svg +2 -2
  433. data/app/assets/icons/heroicons/outline/globe-alt.svg +2 -2
  434. data/app/assets/icons/heroicons/outline/globe-americas.svg +3 -0
  435. data/app/assets/icons/heroicons/outline/globe-asia-australia.svg +3 -0
  436. data/app/assets/icons/heroicons/outline/globe-europe-africa.svg +3 -0
  437. data/app/assets/icons/heroicons/outline/hand-raised.svg +3 -0
  438. data/app/assets/icons/heroicons/outline/hand-thumb-down.svg +3 -0
  439. data/app/assets/icons/heroicons/outline/hand-thumb-up.svg +3 -0
  440. data/app/assets/icons/heroicons/outline/hashtag.svg +2 -2
  441. data/app/assets/icons/heroicons/outline/heart.svg +2 -2
  442. data/app/assets/icons/heroicons/outline/home-modern.svg +3 -0
  443. data/app/assets/icons/heroicons/outline/home.svg +2 -2
  444. data/app/assets/icons/heroicons/outline/identification.svg +2 -2
  445. data/app/assets/icons/heroicons/outline/inbox-arrow-down.svg +3 -0
  446. data/app/assets/icons/heroicons/outline/inbox-stack.svg +3 -0
  447. data/app/assets/icons/heroicons/outline/inbox.svg +2 -2
  448. data/app/assets/icons/heroicons/outline/information-circle.svg +2 -2
  449. data/app/assets/icons/heroicons/outline/key.svg +2 -2
  450. data/app/assets/icons/heroicons/outline/language.svg +3 -0
  451. data/app/assets/icons/heroicons/outline/lifebuoy.svg +3 -0
  452. data/app/assets/icons/heroicons/outline/light-bulb.svg +2 -2
  453. data/app/assets/icons/heroicons/outline/link.svg +2 -2
  454. data/app/assets/icons/heroicons/outline/list-bullet.svg +3 -0
  455. data/app/assets/icons/heroicons/outline/lock-closed.svg +2 -2
  456. data/app/assets/icons/heroicons/outline/lock-open.svg +2 -2
  457. data/app/assets/icons/heroicons/outline/magnifying-glass-circle.svg +3 -0
  458. data/app/assets/icons/heroicons/outline/magnifying-glass-minus.svg +3 -0
  459. data/app/assets/icons/heroicons/outline/magnifying-glass-plus.svg +3 -0
  460. data/app/assets/icons/heroicons/outline/magnifying-glass.svg +3 -0
  461. data/app/assets/icons/heroicons/outline/map-pin.svg +4 -0
  462. data/app/assets/icons/heroicons/outline/map.svg +2 -2
  463. data/app/assets/icons/heroicons/outline/megaphone.svg +3 -0
  464. data/app/assets/icons/heroicons/outline/microphone.svg +2 -2
  465. data/app/assets/icons/heroicons/outline/minus-circle.svg +2 -2
  466. data/app/assets/icons/heroicons/outline/minus.svg +2 -2
  467. data/app/assets/icons/heroicons/outline/moon.svg +2 -2
  468. data/app/assets/icons/heroicons/outline/musical-note.svg +3 -0
  469. data/app/assets/icons/heroicons/outline/newspaper.svg +2 -2
  470. data/app/assets/icons/heroicons/outline/no-symbol.svg +3 -0
  471. data/app/assets/icons/heroicons/outline/paper-airplane.svg +2 -2
  472. data/app/assets/icons/heroicons/outline/paper-clip.svg +2 -2
  473. data/app/assets/icons/heroicons/outline/pause.svg +2 -2
  474. data/app/assets/icons/heroicons/outline/pencil-square.svg +3 -0
  475. data/app/assets/icons/heroicons/outline/pencil.svg +2 -2
  476. data/app/assets/icons/heroicons/outline/phone-arrow-down-left.svg +3 -0
  477. data/app/assets/icons/heroicons/outline/phone-arrow-up-right.svg +3 -0
  478. data/app/assets/icons/heroicons/outline/phone-x-mark.svg +3 -0
  479. data/app/assets/icons/heroicons/outline/phone.svg +2 -2
  480. data/app/assets/icons/heroicons/outline/photo.svg +3 -0
  481. data/app/assets/icons/heroicons/outline/play-pause.svg +3 -0
  482. data/app/assets/icons/heroicons/outline/play.svg +2 -3
  483. data/app/assets/icons/heroicons/outline/plus-circle.svg +2 -2
  484. data/app/assets/icons/heroicons/outline/plus.svg +2 -2
  485. data/app/assets/icons/heroicons/outline/presentation-chart-bar.svg +2 -2
  486. data/app/assets/icons/heroicons/outline/presentation-chart-line.svg +2 -2
  487. data/app/assets/icons/heroicons/outline/printer.svg +2 -2
  488. data/app/assets/icons/heroicons/outline/puzzle-piece.svg +3 -0
  489. data/app/assets/icons/heroicons/outline/qr-code.svg +4 -0
  490. data/app/assets/icons/heroicons/outline/question-mark-circle.svg +2 -2
  491. data/app/assets/icons/heroicons/outline/queue-list.svg +3 -0
  492. data/app/assets/icons/heroicons/outline/radio.svg +3 -0
  493. data/app/assets/icons/heroicons/outline/receipt-percent.svg +3 -0
  494. data/app/assets/icons/heroicons/outline/receipt-refund.svg +2 -2
  495. data/app/assets/icons/heroicons/outline/rectangle-group.svg +3 -0
  496. data/app/assets/icons/heroicons/outline/rectangle-stack.svg +3 -0
  497. data/app/assets/icons/heroicons/outline/rss.svg +2 -2
  498. data/app/assets/icons/heroicons/outline/scale.svg +2 -2
  499. data/app/assets/icons/heroicons/outline/scissors.svg +2 -2
  500. data/app/assets/icons/heroicons/outline/server-stack.svg +3 -0
  501. data/app/assets/icons/heroicons/outline/server.svg +2 -2
  502. data/app/assets/icons/heroicons/outline/share.svg +2 -2
  503. data/app/assets/icons/heroicons/outline/shield-check.svg +2 -2
  504. data/app/assets/icons/heroicons/outline/shield-exclamation.svg +2 -2
  505. data/app/assets/icons/heroicons/outline/shopping-bag.svg +2 -2
  506. data/app/assets/icons/heroicons/outline/shopping-cart.svg +2 -2
  507. data/app/assets/icons/heroicons/outline/signal-slash.svg +3 -0
  508. data/app/assets/icons/heroicons/outline/signal.svg +3 -0
  509. data/app/assets/icons/heroicons/outline/sparkles.svg +2 -2
  510. data/app/assets/icons/heroicons/outline/speaker-wave.svg +3 -0
  511. data/app/assets/icons/heroicons/outline/speaker-x-mark.svg +3 -0
  512. data/app/assets/icons/heroicons/outline/square-2-stack.svg +3 -0
  513. data/app/assets/icons/heroicons/outline/squares-2x2.svg +3 -0
  514. data/app/assets/icons/heroicons/outline/squares-plus.svg +3 -0
  515. data/app/assets/icons/heroicons/outline/star.svg +2 -2
  516. data/app/assets/icons/heroicons/outline/stop.svg +2 -3
  517. data/app/assets/icons/heroicons/outline/sun.svg +2 -2
  518. data/app/assets/icons/heroicons/outline/swatch.svg +3 -0
  519. data/app/assets/icons/heroicons/outline/table-cells.svg +3 -0
  520. data/app/assets/icons/heroicons/outline/tag.svg +3 -2
  521. data/app/assets/icons/heroicons/outline/ticket.svg +2 -2
  522. data/app/assets/icons/heroicons/outline/trash.svg +2 -2
  523. data/app/assets/icons/heroicons/outline/truck.svg +2 -3
  524. data/app/assets/icons/heroicons/outline/user-circle.svg +2 -2
  525. data/app/assets/icons/heroicons/outline/user-group.svg +2 -2
  526. data/app/assets/icons/heroicons/outline/user-plus.svg +3 -0
  527. data/app/assets/icons/heroicons/outline/user.svg +2 -2
  528. data/app/assets/icons/heroicons/outline/users.svg +2 -2
  529. data/app/assets/icons/heroicons/outline/video-camera-slash.svg +3 -0
  530. data/app/assets/icons/heroicons/outline/video-camera.svg +2 -2
  531. data/app/assets/icons/heroicons/outline/view-columns.svg +3 -0
  532. data/app/assets/icons/heroicons/outline/wifi.svg +2 -2
  533. data/app/assets/icons/heroicons/outline/wrench-screwdriver.svg +3 -0
  534. data/app/assets/icons/heroicons/outline/wrench.svg +4 -0
  535. data/app/assets/icons/heroicons/outline/x-circle.svg +2 -2
  536. data/app/assets/icons/heroicons/outline/x-mark.svg +3 -0
  537. data/app/assets/icons/heroicons/solid/academic-cap.svg +4 -2
  538. data/app/assets/icons/heroicons/solid/adjustments-horizontal.svg +3 -0
  539. data/app/assets/icons/heroicons/solid/adjustments-vertical.svg +3 -0
  540. data/app/assets/icons/heroicons/solid/archive-box-arrow-down.svg +4 -0
  541. data/app/assets/icons/heroicons/solid/archive-box-x-mark.svg +4 -0
  542. data/app/assets/icons/heroicons/solid/archive-box.svg +4 -0
  543. data/app/assets/icons/heroicons/solid/arrow-down-circle.svg +3 -0
  544. data/app/assets/icons/heroicons/solid/arrow-down-left.svg +3 -0
  545. data/app/assets/icons/heroicons/solid/arrow-down-on-square-stack.svg +4 -0
  546. data/app/assets/icons/heroicons/solid/arrow-down-on-square.svg +3 -0
  547. data/app/assets/icons/heroicons/solid/arrow-down-right.svg +3 -0
  548. data/app/assets/icons/heroicons/solid/arrow-down-tray.svg +3 -0
  549. data/app/assets/icons/heroicons/solid/arrow-down.svg +2 -2
  550. data/app/assets/icons/heroicons/solid/arrow-left-circle.svg +3 -0
  551. data/app/assets/icons/heroicons/solid/arrow-left-on-rectangle.svg +3 -0
  552. data/app/assets/icons/heroicons/solid/arrow-left.svg +2 -2
  553. data/app/assets/icons/heroicons/solid/arrow-long-down.svg +3 -0
  554. data/app/assets/icons/heroicons/solid/arrow-long-left.svg +3 -0
  555. data/app/assets/icons/heroicons/solid/arrow-long-right.svg +3 -0
  556. data/app/assets/icons/heroicons/solid/arrow-long-up.svg +3 -0
  557. data/app/assets/icons/heroicons/solid/arrow-path.svg +3 -0
  558. data/app/assets/icons/heroicons/solid/arrow-right-circle.svg +3 -0
  559. data/app/assets/icons/heroicons/solid/arrow-right-on-rectangle.svg +3 -0
  560. data/app/assets/icons/heroicons/solid/arrow-right.svg +2 -2
  561. data/app/assets/icons/heroicons/solid/arrow-top-right-on-square.svg +3 -0
  562. data/app/assets/icons/heroicons/solid/arrow-trending-down.svg +3 -0
  563. data/app/assets/icons/heroicons/solid/arrow-trending-up.svg +3 -0
  564. data/app/assets/icons/heroicons/solid/arrow-up-circle.svg +3 -0
  565. data/app/assets/icons/heroicons/solid/arrow-up-left.svg +3 -0
  566. data/app/assets/icons/heroicons/solid/arrow-up-on-square-stack.svg +4 -0
  567. data/app/assets/icons/heroicons/solid/arrow-up-on-square.svg +3 -0
  568. data/app/assets/icons/heroicons/solid/arrow-up-right.svg +3 -0
  569. data/app/assets/icons/heroicons/solid/arrow-up-tray.svg +3 -0
  570. data/app/assets/icons/heroicons/solid/arrow-up.svg +2 -2
  571. data/app/assets/icons/heroicons/solid/arrow-uturn-down.svg +3 -0
  572. data/app/assets/icons/heroicons/solid/arrow-uturn-left.svg +3 -0
  573. data/app/assets/icons/heroicons/solid/arrow-uturn-right.svg +3 -0
  574. data/app/assets/icons/heroicons/solid/arrow-uturn-up.svg +3 -0
  575. data/app/assets/icons/heroicons/solid/arrows-pointing-in.svg +3 -0
  576. data/app/assets/icons/heroicons/solid/arrows-pointing-out.svg +3 -0
  577. data/app/assets/icons/heroicons/solid/arrows-right-left.svg +3 -0
  578. data/app/assets/icons/heroicons/solid/arrows-up-down.svg +3 -0
  579. data/app/assets/icons/heroicons/solid/at-symbol.svg +2 -2
  580. data/app/assets/icons/heroicons/solid/backspace.svg +2 -2
  581. data/app/assets/icons/heroicons/solid/backward.svg +3 -0
  582. data/app/assets/icons/heroicons/solid/banknotes.svg +5 -0
  583. data/app/assets/icons/heroicons/solid/bars-2.svg +3 -0
  584. data/app/assets/icons/heroicons/solid/bars-3-bottom-left.svg +3 -0
  585. data/app/assets/icons/heroicons/solid/bars-3-bottom-right.svg +3 -0
  586. data/app/assets/icons/heroicons/solid/bars-3-center-left.svg +3 -0
  587. data/app/assets/icons/heroicons/solid/bars-3.svg +3 -0
  588. data/app/assets/icons/heroicons/solid/bars-4.svg +3 -0
  589. data/app/assets/icons/heroicons/solid/bars-arrow-down.svg +3 -0
  590. data/app/assets/icons/heroicons/solid/bars-arrow-up.svg +3 -0
  591. data/app/assets/icons/heroicons/solid/beaker.svg +2 -2
  592. data/app/assets/icons/heroicons/solid/bell-alert.svg +4 -0
  593. data/app/assets/icons/heroicons/solid/bell-slash.svg +4 -0
  594. data/app/assets/icons/heroicons/solid/bell-snooze.svg +3 -0
  595. data/app/assets/icons/heroicons/solid/bell.svg +2 -2
  596. data/app/assets/icons/heroicons/solid/bolt-slash.svg +3 -0
  597. data/app/assets/icons/heroicons/solid/bolt.svg +3 -0
  598. data/app/assets/icons/heroicons/solid/book-open.svg +2 -2
  599. data/app/assets/icons/heroicons/solid/bookmark-slash.svg +3 -0
  600. data/app/assets/icons/heroicons/solid/bookmark-square.svg +3 -0
  601. data/app/assets/icons/heroicons/solid/bookmark.svg +2 -2
  602. data/app/assets/icons/heroicons/solid/briefcase.svg +3 -3
  603. data/app/assets/icons/heroicons/solid/building-library.svg +5 -0
  604. data/app/assets/icons/heroicons/solid/building-office-2.svg +3 -0
  605. data/app/assets/icons/heroicons/solid/building-office.svg +3 -0
  606. data/app/assets/icons/heroicons/solid/building-storefront.svg +4 -0
  607. data/app/assets/icons/heroicons/solid/cake.svg +2 -2
  608. data/app/assets/icons/heroicons/solid/calculator.svg +2 -2
  609. data/app/assets/icons/heroicons/solid/calendar-days.svg +4 -0
  610. data/app/assets/icons/heroicons/solid/calendar.svg +2 -2
  611. data/app/assets/icons/heroicons/solid/camera.svg +3 -2
  612. data/app/assets/icons/heroicons/solid/chart-bar-square.svg +3 -0
  613. data/app/assets/icons/heroicons/solid/chart-bar.svg +2 -2
  614. data/app/assets/icons/heroicons/solid/chart-pie.svg +3 -3
  615. data/app/assets/icons/heroicons/solid/chat-bubble-bottom-center-text.svg +3 -0
  616. data/app/assets/icons/heroicons/solid/chat-bubble-bottom-center.svg +3 -0
  617. data/app/assets/icons/heroicons/solid/chat-bubble-left-ellipsis.svg +3 -0
  618. data/app/assets/icons/heroicons/solid/chat-bubble-left-right.svg +4 -0
  619. data/app/assets/icons/heroicons/solid/chat-bubble-left.svg +3 -0
  620. data/app/assets/icons/heroicons/solid/chat-bubble-oval-left-ellipsis.svg +3 -0
  621. data/app/assets/icons/heroicons/solid/chat-bubble-oval-left.svg +3 -0
  622. data/app/assets/icons/heroicons/solid/check-badge.svg +3 -0
  623. data/app/assets/icons/heroicons/solid/check-circle.svg +2 -2
  624. data/app/assets/icons/heroicons/solid/check.svg +2 -2
  625. data/app/assets/icons/heroicons/solid/chevron-double-down.svg +2 -2
  626. data/app/assets/icons/heroicons/solid/chevron-double-left.svg +2 -2
  627. data/app/assets/icons/heroicons/solid/chevron-double-right.svg +2 -3
  628. data/app/assets/icons/heroicons/solid/chevron-double-up.svg +2 -2
  629. data/app/assets/icons/heroicons/solid/chevron-down.svg +2 -2
  630. data/app/assets/icons/heroicons/solid/chevron-left.svg +2 -2
  631. data/app/assets/icons/heroicons/solid/chevron-right.svg +2 -2
  632. data/app/assets/icons/heroicons/solid/chevron-up-down.svg +3 -0
  633. data/app/assets/icons/heroicons/solid/chevron-up.svg +2 -2
  634. data/app/assets/icons/heroicons/solid/circle-stack.svg +6 -0
  635. data/app/assets/icons/heroicons/solid/clipboard-document-check.svg +4 -0
  636. data/app/assets/icons/heroicons/solid/clipboard-document-list.svg +4 -0
  637. data/app/assets/icons/heroicons/solid/clipboard-document.svg +5 -0
  638. data/app/assets/icons/heroicons/solid/clipboard.svg +2 -3
  639. data/app/assets/icons/heroicons/solid/clock.svg +2 -2
  640. data/app/assets/icons/heroicons/solid/cloud-arrow-down.svg +3 -0
  641. data/app/assets/icons/heroicons/solid/cloud-arrow-up.svg +3 -0
  642. data/app/assets/icons/heroicons/solid/cloud.svg +2 -2
  643. data/app/assets/icons/heroicons/solid/code-bracket-square.svg +3 -0
  644. data/app/assets/icons/heroicons/solid/code-bracket.svg +3 -0
  645. data/app/assets/icons/heroicons/solid/code-square.svg +3 -0
  646. data/app/assets/icons/heroicons/solid/code.svg +2 -2
  647. data/app/assets/icons/heroicons/solid/cog-6-tooth.svg +3 -0
  648. data/app/assets/icons/heroicons/solid/cog-8-tooth.svg +3 -0
  649. data/app/assets/icons/heroicons/solid/cog.svg +3 -2
  650. data/app/assets/icons/heroicons/solid/command-line.svg +3 -0
  651. data/app/assets/icons/heroicons/solid/computer-desktop.svg +3 -0
  652. data/app/assets/icons/heroicons/solid/cpu-chip.svg +4 -0
  653. data/app/assets/icons/heroicons/solid/credit-card.svg +3 -3
  654. data/app/assets/icons/heroicons/solid/cube.svg +2 -2
  655. data/app/assets/icons/heroicons/solid/currency-dollar.svg +3 -3
  656. data/app/assets/icons/heroicons/solid/currency-euro.svg +2 -2
  657. data/app/assets/icons/heroicons/solid/currency-pound.svg +2 -2
  658. data/app/assets/icons/heroicons/solid/currency-rupee.svg +2 -2
  659. data/app/assets/icons/heroicons/solid/currency-yen.svg +2 -2
  660. data/app/assets/icons/heroicons/solid/cursor-arrow-rays.svg +3 -0
  661. data/app/assets/icons/heroicons/solid/cursor-arrow-ripple.svg +3 -0
  662. data/app/assets/icons/heroicons/solid/device-phone-mobile.svg +4 -0
  663. data/app/assets/icons/heroicons/solid/device-tablet.svg +3 -2
  664. data/app/assets/icons/heroicons/solid/document-arrow-down.svg +4 -0
  665. data/app/assets/icons/heroicons/solid/document-arrow-up.svg +4 -0
  666. data/app/assets/icons/heroicons/solid/document-chart-bar.svg +4 -0
  667. data/app/assets/icons/heroicons/solid/document-check.svg +4 -0
  668. data/app/assets/icons/heroicons/solid/document-duplicate.svg +3 -3
  669. data/app/assets/icons/heroicons/solid/document-magnifying-glass.svg +5 -0
  670. data/app/assets/icons/heroicons/solid/document-minus.svg +4 -0
  671. data/app/assets/icons/heroicons/solid/document-plus.svg +4 -0
  672. data/app/assets/icons/heroicons/solid/document-text.svg +3 -2
  673. data/app/assets/icons/heroicons/solid/document.svg +3 -2
  674. data/app/assets/icons/heroicons/solid/ellipsis-horizontal-circle.svg +3 -0
  675. data/app/assets/icons/heroicons/solid/ellipsis-horizontal.svg +3 -0
  676. data/app/assets/icons/heroicons/solid/ellipsis-vertical.svg +3 -0
  677. data/app/assets/icons/heroicons/solid/envelope-open.svg +4 -0
  678. data/app/assets/icons/heroicons/solid/envelope.svg +4 -0
  679. data/app/assets/icons/heroicons/solid/exclaimation-circle.svg +3 -0
  680. data/app/assets/icons/heroicons/solid/exclaimation-triangle.svg +3 -0
  681. data/app/assets/icons/heroicons/solid/exclamation-circle.svg +2 -2
  682. data/app/assets/icons/heroicons/solid/exclamation-triangle.svg +3 -0
  683. data/app/assets/icons/heroicons/solid/eye-slash.svg +5 -0
  684. data/app/assets/icons/heroicons/solid/eye.svg +3 -3
  685. data/app/assets/icons/heroicons/solid/face-frown.svg +3 -0
  686. data/app/assets/icons/heroicons/solid/face-smile.svg +3 -0
  687. data/app/assets/icons/heroicons/solid/film.svg +2 -2
  688. data/app/assets/icons/heroicons/solid/finger-print.svg +2 -4
  689. data/app/assets/icons/heroicons/solid/fire.svg +2 -2
  690. data/app/assets/icons/heroicons/solid/flag.svg +2 -2
  691. data/app/assets/icons/heroicons/solid/folder-arrow-down.svg +3 -0
  692. data/app/assets/icons/heroicons/solid/folder-minus.svg +3 -0
  693. data/app/assets/icons/heroicons/solid/folder-open.svg +2 -3
  694. data/app/assets/icons/heroicons/solid/folder-plus.svg +3 -0
  695. data/app/assets/icons/heroicons/solid/folder.svg +2 -2
  696. data/app/assets/icons/heroicons/solid/forward.svg +3 -0
  697. data/app/assets/icons/heroicons/solid/funnel.svg +3 -0
  698. data/app/assets/icons/heroicons/solid/gif.svg +3 -0
  699. data/app/assets/icons/heroicons/solid/gift-top.svg +4 -0
  700. data/app/assets/icons/heroicons/solid/gift.svg +2 -3
  701. data/app/assets/icons/heroicons/solid/globe-alt.svg +2 -2
  702. data/app/assets/icons/heroicons/solid/globe-americas.svg +3 -0
  703. data/app/assets/icons/heroicons/solid/globe-asia-australia.svg +4 -0
  704. data/app/assets/icons/heroicons/solid/globe-europe-africa.svg +3 -0
  705. data/app/assets/icons/heroicons/solid/hand-raised.svg +3 -0
  706. data/app/assets/icons/heroicons/solid/hand-thumb-down.svg +3 -0
  707. data/app/assets/icons/heroicons/solid/hand-thumb-up.svg +3 -0
  708. data/app/assets/icons/heroicons/solid/hashtag.svg +2 -2
  709. data/app/assets/icons/heroicons/solid/heart.svg +2 -2
  710. data/app/assets/icons/heroicons/solid/home-modern.svg +4 -0
  711. data/app/assets/icons/heroicons/solid/home.svg +3 -2
  712. data/app/assets/icons/heroicons/solid/identification.svg +2 -2
  713. data/app/assets/icons/heroicons/solid/inbox-arrow-down.svg +4 -0
  714. data/app/assets/icons/heroicons/solid/inbox-stack.svg +4 -0
  715. data/app/assets/icons/heroicons/solid/inbox.svg +2 -2
  716. data/app/assets/icons/heroicons/solid/information-circle.svg +2 -2
  717. data/app/assets/icons/heroicons/solid/key.svg +2 -2
  718. data/app/assets/icons/heroicons/solid/language.svg +3 -0
  719. data/app/assets/icons/heroicons/solid/lifebuoy.svg +3 -0
  720. data/app/assets/icons/heroicons/solid/light-bulb.svg +3 -2
  721. data/app/assets/icons/heroicons/solid/link.svg +2 -2
  722. data/app/assets/icons/heroicons/solid/list-bullet.svg +3 -0
  723. data/app/assets/icons/heroicons/solid/lock-closed.svg +2 -2
  724. data/app/assets/icons/heroicons/solid/lock-open.svg +2 -2
  725. data/app/assets/icons/heroicons/solid/magnifying-glass-circle.svg +4 -0
  726. data/app/assets/icons/heroicons/solid/magnifying-glass-minus.svg +3 -0
  727. data/app/assets/icons/heroicons/solid/magnifying-glass-plus.svg +3 -0
  728. data/app/assets/icons/heroicons/solid/magnifying-glass.svg +3 -0
  729. data/app/assets/icons/heroicons/solid/map-pin.svg +3 -0
  730. data/app/assets/icons/heroicons/solid/map.svg +2 -2
  731. data/app/assets/icons/heroicons/solid/megaphone.svg +3 -0
  732. data/app/assets/icons/heroicons/solid/microphone.svg +3 -2
  733. data/app/assets/icons/heroicons/solid/minus-circle.svg +2 -2
  734. data/app/assets/icons/heroicons/solid/minus.svg +2 -2
  735. data/app/assets/icons/heroicons/solid/moon.svg +2 -2
  736. data/app/assets/icons/heroicons/solid/musical-note.svg +3 -0
  737. data/app/assets/icons/heroicons/solid/newspaper.svg +3 -3
  738. data/app/assets/icons/heroicons/solid/no-symbol.svg +3 -0
  739. data/app/assets/icons/heroicons/solid/paper-airplane.svg +2 -2
  740. data/app/assets/icons/heroicons/solid/paper-clip.svg +2 -2
  741. data/app/assets/icons/heroicons/solid/pause.svg +2 -2
  742. data/app/assets/icons/heroicons/solid/pencil-square.svg +4 -0
  743. data/app/assets/icons/heroicons/solid/pencil.svg +2 -2
  744. data/app/assets/icons/heroicons/solid/phone-arrow-down-left.svg +4 -0
  745. data/app/assets/icons/heroicons/solid/phone-arrow-up-right.svg +4 -0
  746. data/app/assets/icons/heroicons/solid/phone-x-mark.svg +3 -0
  747. data/app/assets/icons/heroicons/solid/phone.svg +2 -2
  748. data/app/assets/icons/heroicons/solid/photo.svg +3 -0
  749. data/app/assets/icons/heroicons/solid/play-pause.svg +3 -0
  750. data/app/assets/icons/heroicons/solid/play.svg +2 -2
  751. data/app/assets/icons/heroicons/solid/plus-circle.svg +2 -2
  752. data/app/assets/icons/heroicons/solid/plus.svg +2 -2
  753. data/app/assets/icons/heroicons/solid/presentation-chart-bar.svg +2 -2
  754. data/app/assets/icons/heroicons/solid/presentation-chart-line.svg +2 -2
  755. data/app/assets/icons/heroicons/solid/printer.svg +2 -2
  756. data/app/assets/icons/heroicons/solid/puzzle-piece.svg +3 -0
  757. data/app/assets/icons/heroicons/solid/qr-code.svg +3 -0
  758. data/app/assets/icons/heroicons/solid/question-mark-circle.svg +2 -2
  759. data/app/assets/icons/heroicons/solid/queue-list.svg +3 -0
  760. data/app/assets/icons/heroicons/solid/radio.svg +3 -0
  761. data/app/assets/icons/heroicons/solid/receipt-percent.svg +3 -0
  762. data/app/assets/icons/heroicons/solid/receipt-refund.svg +2 -2
  763. data/app/assets/icons/heroicons/solid/rectangle-group.svg +3 -0
  764. data/app/assets/icons/heroicons/solid/rectangle-stack.svg +3 -0
  765. data/app/assets/icons/heroicons/solid/rss.svg +2 -3
  766. data/app/assets/icons/heroicons/solid/scale.svg +2 -2
  767. data/app/assets/icons/heroicons/solid/scissors.svg +3 -3
  768. data/app/assets/icons/heroicons/solid/server-stack.svg +4 -0
  769. data/app/assets/icons/heroicons/solid/server.svg +3 -2
  770. data/app/assets/icons/heroicons/solid/share.svg +2 -2
  771. data/app/assets/icons/heroicons/solid/shield-check.svg +2 -2
  772. data/app/assets/icons/heroicons/solid/shield-exclamation.svg +2 -2
  773. data/app/assets/icons/heroicons/solid/shopping-bag.svg +2 -2
  774. data/app/assets/icons/heroicons/solid/shopping-cart.svg +2 -2
  775. data/app/assets/icons/heroicons/solid/signal-slash.svg +3 -0
  776. data/app/assets/icons/heroicons/solid/signal.svg +3 -0
  777. data/app/assets/icons/heroicons/solid/sparkles.svg +2 -2
  778. data/app/assets/icons/heroicons/solid/speaker-wave.svg +4 -0
  779. data/app/assets/icons/heroicons/solid/speaker-x-mark.svg +3 -0
  780. data/app/assets/icons/heroicons/solid/square-2-stack.svg +4 -0
  781. data/app/assets/icons/heroicons/solid/squares-2x2.svg +3 -0
  782. data/app/assets/icons/heroicons/solid/squares-plus.svg +3 -0
  783. data/app/assets/icons/heroicons/solid/star.svg +2 -2
  784. data/app/assets/icons/heroicons/solid/stop.svg +2 -2
  785. data/app/assets/icons/heroicons/solid/sun.svg +2 -2
  786. data/app/assets/icons/heroicons/solid/swatch.svg +4 -0
  787. data/app/assets/icons/heroicons/solid/table-cells.svg +3 -0
  788. data/app/assets/icons/heroicons/solid/tag.svg +2 -2
  789. data/app/assets/icons/heroicons/solid/ticket.svg +2 -2
  790. data/app/assets/icons/heroicons/solid/trash.svg +2 -2
  791. data/app/assets/icons/heroicons/solid/truck.svg +4 -3
  792. data/app/assets/icons/heroicons/solid/user-circle.svg +2 -2
  793. data/app/assets/icons/heroicons/solid/user-group.svg +3 -2
  794. data/app/assets/icons/heroicons/solid/user-plus.svg +3 -0
  795. data/app/assets/icons/heroicons/solid/user.svg +2 -2
  796. data/app/assets/icons/heroicons/solid/users.svg +2 -2
  797. data/app/assets/icons/heroicons/solid/video-camera-slash.svg +3 -0
  798. data/app/assets/icons/heroicons/solid/video-camera.svg +2 -2
  799. data/app/assets/icons/heroicons/solid/view-columns.svg +3 -0
  800. data/app/assets/icons/heroicons/solid/wifi.svg +2 -2
  801. data/app/assets/icons/heroicons/solid/wrench-screwdriver.svg +5 -0
  802. data/app/assets/icons/heroicons/solid/wrench.svg +3 -0
  803. data/app/assets/icons/heroicons/solid/x-circle.svg +2 -2
  804. data/app/assets/icons/heroicons/solid/x-mark.svg +3 -0
  805. data/app/assets/stylesheets/spina/application.tailwind.css +1 -1
  806. data/app/components/spina/application_component.rb +1 -1
  807. data/app/components/spina/forms/group_component.rb +2 -3
  808. data/app/components/spina/forms/label_component.rb +2 -3
  809. data/app/components/spina/forms/password_field_component.rb +1 -1
  810. data/app/components/spina/forms/switch_component.rb +2 -3
  811. data/app/components/spina/forms/text_field_component.rb +8 -9
  812. data/app/components/spina/forms/trix_toolbar_component.rb +1 -3
  813. data/app/components/spina/hooks/hook_component.rb +3 -5
  814. data/app/components/spina/hooks/partial_component.rb +4 -5
  815. data/app/components/spina/main_navigation/link_component.rb +1 -3
  816. data/app/components/spina/main_navigation/sub_nav_component.rb +6 -7
  817. data/app/components/spina/media_picker/image_component.rb +1 -3
  818. data/app/components/spina/media_picker/modal_component.html.erb +1 -1
  819. data/app/components/spina/media_picker/modal_component.rb +4 -6
  820. data/app/components/spina/pages/actions_component.html.erb +3 -5
  821. data/app/components/spina/pages/actions_component.rb +1 -3
  822. data/app/components/spina/pages/list_component.html.erb +19 -3
  823. data/app/components/spina/pages/list_component.rb +9 -5
  824. data/app/components/spina/pages/location_component.rb +10 -11
  825. data/app/components/spina/pages/new_page_button_component.html.erb +3 -3
  826. data/app/components/spina/pages/new_page_button_component.rb +4 -5
  827. data/app/components/spina/pages/page_component.html.erb +19 -7
  828. data/app/components/spina/pages/page_component.rb +14 -10
  829. data/app/components/spina/pages/page_select_component.rb +3 -4
  830. data/app/components/spina/pages/tab_button_component.rb +1 -3
  831. data/app/components/spina/pages/translations_component.html.erb +2 -2
  832. data/app/components/spina/pages/translations_component.rb +9 -11
  833. data/app/components/spina/user_interface/dropdown_button_component.rb +4 -4
  834. data/app/components/spina/user_interface/dropdown_component.rb +8 -9
  835. data/app/components/spina/user_interface/flash_message_component.rb +3 -5
  836. data/app/components/spina/user_interface/header_component.rb +2 -2
  837. data/app/components/spina/user_interface/modal_component.rb +1 -3
  838. data/app/components/spina/user_interface/tab_link_component.rb +1 -3
  839. data/app/components/spina/user_interface/translations_component.rb +8 -10
  840. data/app/controllers/concerns/spina/api/paginable.rb +36 -37
  841. data/app/controllers/concerns/spina/current_spina_account.rb +27 -0
  842. data/app/controllers/concerns/spina/current_theme.rb +6 -7
  843. data/app/controllers/concerns/spina/frontend.rb +59 -45
  844. data/app/controllers/spina/admin/accounts_controller.rb +10 -11
  845. data/app/controllers/spina/admin/admin_controller.rb +18 -18
  846. data/app/controllers/spina/admin/attachments_controller.rb +15 -10
  847. data/app/controllers/spina/admin/embeds_controller.rb +17 -19
  848. data/app/controllers/spina/admin/images_controller.rb +24 -25
  849. data/app/controllers/spina/admin/layout_controller.rb +19 -20
  850. data/app/controllers/spina/admin/media_folders_controller.rb +4 -5
  851. data/app/controllers/spina/admin/media_picker_controller.rb +2 -4
  852. data/app/controllers/spina/admin/move_pages_controller.rb +8 -10
  853. data/app/controllers/spina/admin/navigation_items_controller.rb +13 -14
  854. data/app/controllers/spina/admin/navigations_controller.rb +26 -26
  855. data/app/controllers/spina/admin/page_translations_controller.rb +1 -3
  856. data/app/controllers/spina/admin/pages_controller.rb +55 -33
  857. data/app/controllers/spina/admin/parent_pages_controller.rb +1 -3
  858. data/app/controllers/spina/admin/password_resets_controller.rb +8 -9
  859. data/app/controllers/spina/admin/resources_controller.rb +14 -15
  860. data/app/controllers/spina/admin/sessions_controller.rb +2 -2
  861. data/app/controllers/spina/admin/settings_controller.rb +28 -29
  862. data/app/controllers/spina/admin/theme_controller.rb +10 -11
  863. data/app/controllers/spina/admin/users_controller.rb +28 -29
  864. data/app/controllers/spina/api/api_controller.rb +17 -17
  865. data/app/controllers/spina/api/images_controller.rb +1 -3
  866. data/app/controllers/spina/api/navigations_controller.rb +2 -4
  867. data/app/controllers/spina/api/pages_controller.rb +8 -9
  868. data/app/controllers/spina/api/resources_controller.rb +2 -4
  869. data/app/controllers/spina/application_controller.rb +4 -3
  870. data/app/controllers/spina/pages_controller.rb +4 -5
  871. data/app/controllers/spina/sitemaps_controller.rb +0 -2
  872. data/app/helpers/spina/admin/icons_helper.rb +151 -23
  873. data/app/helpers/spina/admin/images_helper.rb +0 -2
  874. data/app/helpers/spina/admin/pages_helper.rb +3 -5
  875. data/app/helpers/spina/attachments_helper.rb +1 -3
  876. data/app/helpers/spina/images_helper.rb +5 -7
  877. data/app/helpers/spina/pages_helper.rb +1 -3
  878. data/app/helpers/spina/spina_helper.rb +1 -3
  879. data/app/jobs/spina/replace_signed_id_job.rb +10 -11
  880. data/app/jobs/spina/resource_pages_update_job.rb +1 -1
  881. data/app/mailers/spina/application_mailer.rb +2 -2
  882. data/app/mailers/spina/user_mailer.rb +4 -6
  883. data/app/models/concerns/spina/gravatar.rb +11 -12
  884. data/app/models/concerns/spina/partable.rb +4 -6
  885. data/app/models/concerns/spina/translated_content.rb +5 -5
  886. data/app/models/spina/account.rb +9 -10
  887. data/app/models/spina/application_record.rb +2 -3
  888. data/app/models/spina/attachment.rb +3 -4
  889. data/app/models/spina/current.rb +1 -1
  890. data/app/models/spina/embeds/base.rb +2 -2
  891. data/app/models/spina/embeds/button.rb +4 -4
  892. data/app/models/spina/embeds/vimeo.rb +17 -18
  893. data/app/models/spina/embeds/youtube.rb +18 -19
  894. data/app/models/spina/image.rb +4 -4
  895. data/app/models/spina/media_folder.rb +1 -1
  896. data/app/models/spina/navigation.rb +1 -2
  897. data/app/models/spina/navigation_item.rb +2 -2
  898. data/app/models/spina/page.rb +32 -38
  899. data/app/models/spina/parts/attachment.rb +1 -2
  900. data/app/models/spina/parts/base.rb +5 -4
  901. data/app/models/spina/parts/image.rb +3 -4
  902. data/app/models/spina/parts/image_collection.rb +2 -3
  903. data/app/models/spina/parts/image_variant.rb +3 -4
  904. data/app/models/spina/parts/repeater_content.rb +2 -2
  905. data/app/models/spina/resource.rb +3 -4
  906. data/app/models/spina/rewrite_rule.rb +1 -1
  907. data/app/models/spina/setting.rb +0 -2
  908. data/app/models/spina/user.rb +3 -4
  909. data/app/presenters/spina/content_presenter.rb +11 -12
  910. data/app/presenters/spina/menu_presenter.rb +55 -55
  911. data/app/presenters/spina/rich_text_presenter.rb +28 -29
  912. data/app/serializers/spina/api/base_serializer.rb +1 -1
  913. data/app/serializers/spina/api/image_serializer.rb +6 -6
  914. data/app/serializers/spina/api/navigation_serializer.rb +4 -7
  915. data/app/serializers/spina/api/page_serializer.rb +9 -12
  916. data/app/serializers/spina/api/resource_serializer.rb +5 -5
  917. data/app/views/layouts/spina/admin/application.html.erb +1 -0
  918. data/app/views/spina/admin/accounts/edit.html.erb +5 -2
  919. data/app/views/spina/admin/attachments/_attachment.html.erb +3 -3
  920. data/app/views/spina/admin/attachments/edit.html.erb +1 -1
  921. data/app/views/spina/admin/embeds/new.html.erb +1 -1
  922. data/app/views/spina/admin/images/_image.html.erb +3 -3
  923. data/app/views/spina/admin/images/edit.html.erb +1 -1
  924. data/app/views/spina/admin/layout/edit.html.erb +1 -1
  925. data/app/views/spina/admin/media_folders/_media_folder.html.erb +1 -1
  926. data/app/views/spina/admin/navigation_items/_navigation_item.html.erb +1 -1
  927. data/app/views/spina/admin/navigations/edit.html.erb +2 -3
  928. data/app/views/spina/admin/pages/_button_advanced.html.erb +1 -1
  929. data/app/views/spina/admin/pages/_button_search_engines.html.erb +1 -1
  930. data/app/views/spina/admin/pages/_form.html.erb +1 -1
  931. data/app/views/spina/admin/pages/index.html.erb +2 -2
  932. data/app/views/spina/admin/pages/sort_one.turbo_stream.erb +9 -0
  933. data/app/views/spina/admin/parts/attachments/_attachment.html.erb +3 -0
  934. data/app/views/spina/admin/parts/attachments/_form.html.erb +22 -1
  935. data/app/views/spina/admin/parts/repeaters/_fields.html.erb +2 -2
  936. data/app/views/spina/admin/parts/repeaters/_form.html.erb +5 -5
  937. data/app/views/spina/admin/resources/edit.html.erb +0 -1
  938. data/app/views/spina/admin/shared/_navigation.html.erb +4 -2
  939. data/app/views/spina/admin/shared/_version.html.erb +18 -0
  940. data/app/views/spina/admin/theme/edit.html.erb +4 -1
  941. data/app/views/spina/admin/users/_form.html.erb +1 -1
  942. data/app/views/spina/admin/users/_user.html.erb +1 -1
  943. data/app/views/spina/admin/users/index.html.erb +1 -1
  944. data/app/views/spina/sitemaps/show.xml.builder +1 -1
  945. data/config/initializers/importmap.rb +3 -3
  946. data/config/initializers/yaml_column_permitted_classes.rb +3 -3
  947. data/config/locales/de.yml +1 -0
  948. data/config/locales/en.yml +3 -0
  949. data/config/locales/nl.yml +4 -1
  950. data/config/routes.rb +11 -17
  951. data/db/migrate/1_create_spina_tables.rb +57 -57
  952. data/db/migrate/3_create_spina_navigations.rb +1 -1
  953. data/db/seeds.rb +0 -1
  954. data/lib/generators/spina/embed_generator.rb +5 -6
  955. data/lib/generators/spina/install_generator.rb +48 -41
  956. data/lib/generators/spina/tailwind_config_generator.rb +3 -4
  957. data/lib/generators/spina/templates/app/models/spina/embeds/embed.rb.tt +20 -18
  958. data/lib/generators/spina/templates/app/views/demo/pages/demo.html.erb +2 -2
  959. data/lib/generators/spina/templates/app/views/layouts/default/application.html.erb +1 -1
  960. data/lib/generators/spina/templates/app/views/layouts/demo/application.html.erb +1 -1
  961. data/lib/generators/spina/templates/config/initializers/spina.rb +20 -14
  962. data/lib/generators/spina/templates/config/initializers/themes/default.rb +17 -17
  963. data/lib/generators/spina/templates/config/initializers/themes/demo.rb +22 -22
  964. data/lib/spina/admin_sectionable.rb +5 -8
  965. data/lib/spina/attr_json_monkeypatch.rb +4 -7
  966. data/lib/spina/attr_json_spina_parts_model.rb +1 -3
  967. data/lib/spina/authentication/basic.rb +9 -10
  968. data/lib/spina/authentication/sessions.rb +10 -11
  969. data/lib/spina/embeddable.rb +14 -17
  970. data/lib/spina/embeds/trix_conversion.rb +25 -26
  971. data/lib/spina/embeds.rb +1 -3
  972. data/lib/spina/engine.rb +18 -19
  973. data/lib/spina/part.rb +1 -6
  974. data/lib/spina/plugin.rb +9 -13
  975. data/lib/spina/railtie.rb +5 -7
  976. data/lib/spina/theme.rb +13 -17
  977. data/lib/spina/theme_reloader.rb +12 -13
  978. data/lib/spina/version.rb +1 -1
  979. data/lib/spina.rb +41 -38
  980. data/lib/tasks/install.rake +8 -14
  981. data/lib/tasks/tailwind.rake +10 -8
  982. metadata +605 -240
  983. data/app/assets/icons/heroicons/outline/adjustments.svg +0 -3
  984. data/app/assets/icons/heroicons/outline/annotation.svg +0 -3
  985. data/app/assets/icons/heroicons/outline/archive.svg +0 -3
  986. data/app/assets/icons/heroicons/outline/arrow-circle-down.svg +0 -3
  987. data/app/assets/icons/heroicons/outline/arrow-circle-left.svg +0 -3
  988. data/app/assets/icons/heroicons/outline/arrow-circle-right.svg +0 -3
  989. data/app/assets/icons/heroicons/outline/arrow-circle-up.svg +0 -3
  990. data/app/assets/icons/heroicons/outline/arrow-narrow-down.svg +0 -3
  991. data/app/assets/icons/heroicons/outline/arrow-narrow-left.svg +0 -3
  992. data/app/assets/icons/heroicons/outline/arrow-narrow-right.svg +0 -3
  993. data/app/assets/icons/heroicons/outline/arrow-narrow-up.svg +0 -3
  994. data/app/assets/icons/heroicons/outline/arrows-expand.svg +0 -3
  995. data/app/assets/icons/heroicons/outline/badge-check.svg +0 -3
  996. data/app/assets/icons/heroicons/outline/ban.svg +0 -3
  997. data/app/assets/icons/heroicons/outline/bookmark-alt.svg +0 -3
  998. data/app/assets/icons/heroicons/outline/cash.svg +0 -3
  999. data/app/assets/icons/heroicons/outline/chart-square-bar.svg +0 -3
  1000. data/app/assets/icons/heroicons/outline/chat-alt-2.svg +0 -3
  1001. data/app/assets/icons/heroicons/outline/chat-alt.svg +0 -3
  1002. data/app/assets/icons/heroicons/outline/chat.svg +0 -3
  1003. data/app/assets/icons/heroicons/outline/chip.svg +0 -3
  1004. data/app/assets/icons/heroicons/outline/clipboard-check.svg +0 -3
  1005. data/app/assets/icons/heroicons/outline/clipboard-copy.svg +0 -3
  1006. data/app/assets/icons/heroicons/outline/clipboard-list.svg +0 -3
  1007. data/app/assets/icons/heroicons/outline/cloud-download.svg +0 -3
  1008. data/app/assets/icons/heroicons/outline/cloud-upload.svg +0 -3
  1009. data/app/assets/icons/heroicons/outline/code.svg +0 -3
  1010. data/app/assets/icons/heroicons/outline/collection.svg +0 -3
  1011. data/app/assets/icons/heroicons/outline/color-swatch.svg +0 -3
  1012. data/app/assets/icons/heroicons/outline/cube-transparent.svg +0 -3
  1013. data/app/assets/icons/heroicons/outline/currency-bangladeshi.svg +0 -3
  1014. data/app/assets/icons/heroicons/outline/cursor-click.svg +0 -3
  1015. data/app/assets/icons/heroicons/outline/database.svg +0 -3
  1016. data/app/assets/icons/heroicons/outline/desktop-computer.svg +0 -3
  1017. data/app/assets/icons/heroicons/outline/device-mobile.svg +0 -3
  1018. data/app/assets/icons/heroicons/outline/document-add.svg +0 -3
  1019. data/app/assets/icons/heroicons/outline/document-download.svg +0 -3
  1020. data/app/assets/icons/heroicons/outline/document-remove.svg +0 -3
  1021. data/app/assets/icons/heroicons/outline/document-report.svg +0 -3
  1022. data/app/assets/icons/heroicons/outline/document-search.svg +0 -3
  1023. data/app/assets/icons/heroicons/outline/dots-circle-horizontal.svg +0 -3
  1024. data/app/assets/icons/heroicons/outline/dots-horizontal.svg +0 -3
  1025. data/app/assets/icons/heroicons/outline/dots-vertical.svg +0 -3
  1026. data/app/assets/icons/heroicons/outline/download.svg +0 -3
  1027. data/app/assets/icons/heroicons/outline/duplicate.svg +0 -3
  1028. data/app/assets/icons/heroicons/outline/emoji-happy.svg +0 -3
  1029. data/app/assets/icons/heroicons/outline/emoji-sad.svg +0 -3
  1030. data/app/assets/icons/heroicons/outline/exclamation.svg +0 -3
  1031. data/app/assets/icons/heroicons/outline/external-link.svg +0 -3
  1032. data/app/assets/icons/heroicons/outline/eye-off.svg +0 -3
  1033. data/app/assets/icons/heroicons/outline/fast-forward.svg +0 -3
  1034. data/app/assets/icons/heroicons/outline/filter.svg +0 -3
  1035. data/app/assets/icons/heroicons/outline/folder-add.svg +0 -3
  1036. data/app/assets/icons/heroicons/outline/folder-download.svg +0 -3
  1037. data/app/assets/icons/heroicons/outline/folder-remove.svg +0 -3
  1038. data/app/assets/icons/heroicons/outline/globe.svg +0 -3
  1039. data/app/assets/icons/heroicons/outline/hand.svg +0 -3
  1040. data/app/assets/icons/heroicons/outline/inbox-in.svg +0 -3
  1041. data/app/assets/icons/heroicons/outline/library.svg +0 -3
  1042. data/app/assets/icons/heroicons/outline/lightning-bolt.svg +0 -3
  1043. data/app/assets/icons/heroicons/outline/location-marker.svg +0 -4
  1044. data/app/assets/icons/heroicons/outline/login.svg +0 -3
  1045. data/app/assets/icons/heroicons/outline/logout.svg +0 -3
  1046. data/app/assets/icons/heroicons/outline/mail-open.svg +0 -3
  1047. data/app/assets/icons/heroicons/outline/mail.svg +0 -3
  1048. data/app/assets/icons/heroicons/outline/menu-alt-1.svg +0 -3
  1049. data/app/assets/icons/heroicons/outline/menu-alt-2.svg +0 -3
  1050. data/app/assets/icons/heroicons/outline/menu-alt-3.svg +0 -3
  1051. data/app/assets/icons/heroicons/outline/menu-alt-4.svg +0 -3
  1052. data/app/assets/icons/heroicons/outline/menu.svg +0 -3
  1053. data/app/assets/icons/heroicons/outline/minus-sm.svg +0 -3
  1054. data/app/assets/icons/heroicons/outline/music-note.svg +0 -3
  1055. data/app/assets/icons/heroicons/outline/office-building.svg +0 -3
  1056. data/app/assets/icons/heroicons/outline/pencil-alt.svg +0 -3
  1057. data/app/assets/icons/heroicons/outline/phone-incoming.svg +0 -3
  1058. data/app/assets/icons/heroicons/outline/phone-missed-call.svg +0 -3
  1059. data/app/assets/icons/heroicons/outline/phone-outgoing.svg +0 -3
  1060. data/app/assets/icons/heroicons/outline/photograph.svg +0 -3
  1061. data/app/assets/icons/heroicons/outline/plus-sm.svg +0 -3
  1062. data/app/assets/icons/heroicons/outline/puzzle.svg +0 -3
  1063. data/app/assets/icons/heroicons/outline/qrcode.svg +0 -3
  1064. data/app/assets/icons/heroicons/outline/receipt-tax.svg +0 -3
  1065. data/app/assets/icons/heroicons/outline/refresh.svg +0 -3
  1066. data/app/assets/icons/heroicons/outline/reply.svg +0 -3
  1067. data/app/assets/icons/heroicons/outline/rewind.svg +0 -3
  1068. data/app/assets/icons/heroicons/outline/save-as.svg +0 -3
  1069. data/app/assets/icons/heroicons/outline/save.svg +0 -3
  1070. data/app/assets/icons/heroicons/outline/search-circle.svg +0 -3
  1071. data/app/assets/icons/heroicons/outline/search.svg +0 -3
  1072. data/app/assets/icons/heroicons/outline/selector.svg +0 -3
  1073. data/app/assets/icons/heroicons/outline/sort-ascending.svg +0 -3
  1074. data/app/assets/icons/heroicons/outline/sort-descending.svg +0 -3
  1075. data/app/assets/icons/heroicons/outline/speakerphone.svg +0 -3
  1076. data/app/assets/icons/heroicons/outline/status-offline.svg +0 -3
  1077. data/app/assets/icons/heroicons/outline/status-online.svg +0 -3
  1078. data/app/assets/icons/heroicons/outline/support.svg +0 -3
  1079. data/app/assets/icons/heroicons/outline/switch-horizontal.svg +0 -3
  1080. data/app/assets/icons/heroicons/outline/switch-vertical.svg +0 -3
  1081. data/app/assets/icons/heroicons/outline/table.svg +0 -3
  1082. data/app/assets/icons/heroicons/outline/template.svg +0 -3
  1083. data/app/assets/icons/heroicons/outline/terminal.svg +0 -3
  1084. data/app/assets/icons/heroicons/outline/thumb-down.svg +0 -3
  1085. data/app/assets/icons/heroicons/outline/thumb-up.svg +0 -3
  1086. data/app/assets/icons/heroicons/outline/translate.svg +0 -3
  1087. data/app/assets/icons/heroicons/outline/trending-down.svg +0 -3
  1088. data/app/assets/icons/heroicons/outline/trending-up.svg +0 -3
  1089. data/app/assets/icons/heroicons/outline/upload.svg +0 -3
  1090. data/app/assets/icons/heroicons/outline/user-add.svg +0 -3
  1091. data/app/assets/icons/heroicons/outline/user-remove.svg +0 -3
  1092. data/app/assets/icons/heroicons/outline/variable.svg +0 -3
  1093. data/app/assets/icons/heroicons/outline/view-boards.svg +0 -3
  1094. data/app/assets/icons/heroicons/outline/view-grid-add.svg +0 -3
  1095. data/app/assets/icons/heroicons/outline/view-grid.svg +0 -3
  1096. data/app/assets/icons/heroicons/outline/view-list.svg +0 -3
  1097. data/app/assets/icons/heroicons/outline/volume-off.svg +0 -4
  1098. data/app/assets/icons/heroicons/outline/volume-up.svg +0 -3
  1099. data/app/assets/icons/heroicons/outline/x.svg +0 -3
  1100. data/app/assets/icons/heroicons/outline/zoom-in.svg +0 -3
  1101. data/app/assets/icons/heroicons/outline/zoom-out.svg +0 -3
  1102. data/app/assets/icons/heroicons/solid/adjustments.svg +0 -3
  1103. data/app/assets/icons/heroicons/solid/annotation.svg +0 -3
  1104. data/app/assets/icons/heroicons/solid/archive.svg +0 -4
  1105. data/app/assets/icons/heroicons/solid/arrow-circle-down.svg +0 -3
  1106. data/app/assets/icons/heroicons/solid/arrow-circle-left.svg +0 -3
  1107. data/app/assets/icons/heroicons/solid/arrow-circle-right.svg +0 -3
  1108. data/app/assets/icons/heroicons/solid/arrow-circle-up.svg +0 -3
  1109. data/app/assets/icons/heroicons/solid/arrow-narrow-down.svg +0 -3
  1110. data/app/assets/icons/heroicons/solid/arrow-narrow-left.svg +0 -3
  1111. data/app/assets/icons/heroicons/solid/arrow-narrow-right.svg +0 -3
  1112. data/app/assets/icons/heroicons/solid/arrow-narrow-up.svg +0 -3
  1113. data/app/assets/icons/heroicons/solid/arrows-expand.svg +0 -3
  1114. data/app/assets/icons/heroicons/solid/badge-check.svg +0 -3
  1115. data/app/assets/icons/heroicons/solid/ban.svg +0 -3
  1116. data/app/assets/icons/heroicons/solid/bookmark-alt.svg +0 -3
  1117. data/app/assets/icons/heroicons/solid/cash.svg +0 -3
  1118. data/app/assets/icons/heroicons/solid/chart-square-bar.svg +0 -3
  1119. data/app/assets/icons/heroicons/solid/chat-alt-2.svg +0 -4
  1120. data/app/assets/icons/heroicons/solid/chat-alt.svg +0 -3
  1121. data/app/assets/icons/heroicons/solid/chat.svg +0 -3
  1122. data/app/assets/icons/heroicons/solid/chip.svg +0 -4
  1123. data/app/assets/icons/heroicons/solid/clipboard-check.svg +0 -4
  1124. data/app/assets/icons/heroicons/solid/clipboard-copy.svg +0 -4
  1125. data/app/assets/icons/heroicons/solid/clipboard-list.svg +0 -4
  1126. data/app/assets/icons/heroicons/solid/cloud-download.svg +0 -3
  1127. data/app/assets/icons/heroicons/solid/cloud-upload.svg +0 -4
  1128. data/app/assets/icons/heroicons/solid/collection.svg +0 -3
  1129. data/app/assets/icons/heroicons/solid/color-swatch.svg +0 -3
  1130. data/app/assets/icons/heroicons/solid/cube-transparent.svg +0 -3
  1131. data/app/assets/icons/heroicons/solid/currency-bangladeshi.svg +0 -3
  1132. data/app/assets/icons/heroicons/solid/cursor-click.svg +0 -3
  1133. data/app/assets/icons/heroicons/solid/database.svg +0 -5
  1134. data/app/assets/icons/heroicons/solid/desktop-computer.svg +0 -3
  1135. data/app/assets/icons/heroicons/solid/device-mobile.svg +0 -3
  1136. data/app/assets/icons/heroicons/solid/document-add.svg +0 -3
  1137. data/app/assets/icons/heroicons/solid/document-download.svg +0 -3
  1138. data/app/assets/icons/heroicons/solid/document-remove.svg +0 -3
  1139. data/app/assets/icons/heroicons/solid/document-report.svg +0 -3
  1140. data/app/assets/icons/heroicons/solid/document-search.svg +0 -4
  1141. data/app/assets/icons/heroicons/solid/dots-horizontal.svg +0 -3
  1142. data/app/assets/icons/heroicons/solid/dots-vertical.svg +0 -3
  1143. data/app/assets/icons/heroicons/solid/download.svg +0 -3
  1144. data/app/assets/icons/heroicons/solid/duplicate.svg +0 -4
  1145. data/app/assets/icons/heroicons/solid/emoji-happy.svg +0 -3
  1146. data/app/assets/icons/heroicons/solid/emoji-sad.svg +0 -3
  1147. data/app/assets/icons/heroicons/solid/exclamation.svg +0 -3
  1148. data/app/assets/icons/heroicons/solid/external-link.svg +0 -4
  1149. data/app/assets/icons/heroicons/solid/eye-off.svg +0 -4
  1150. data/app/assets/icons/heroicons/solid/fast-forward.svg +0 -3
  1151. data/app/assets/icons/heroicons/solid/filter.svg +0 -3
  1152. data/app/assets/icons/heroicons/solid/folder-add.svg +0 -4
  1153. data/app/assets/icons/heroicons/solid/folder-download.svg +0 -4
  1154. data/app/assets/icons/heroicons/solid/folder-remove.svg +0 -4
  1155. data/app/assets/icons/heroicons/solid/globe.svg +0 -3
  1156. data/app/assets/icons/heroicons/solid/hand.svg +0 -3
  1157. data/app/assets/icons/heroicons/solid/inbox-in.svg +0 -4
  1158. data/app/assets/icons/heroicons/solid/library.svg +0 -3
  1159. data/app/assets/icons/heroicons/solid/lightning-bolt.svg +0 -3
  1160. data/app/assets/icons/heroicons/solid/location-marker.svg +0 -3
  1161. data/app/assets/icons/heroicons/solid/login.svg +0 -3
  1162. data/app/assets/icons/heroicons/solid/logout.svg +0 -3
  1163. data/app/assets/icons/heroicons/solid/mail-open.svg +0 -3
  1164. data/app/assets/icons/heroicons/solid/mail.svg +0 -4
  1165. data/app/assets/icons/heroicons/solid/menu-alt-1.svg +0 -3
  1166. data/app/assets/icons/heroicons/solid/menu-alt-2.svg +0 -3
  1167. data/app/assets/icons/heroicons/solid/menu-alt-3.svg +0 -3
  1168. data/app/assets/icons/heroicons/solid/menu-alt-4.svg +0 -3
  1169. data/app/assets/icons/heroicons/solid/menu.svg +0 -3
  1170. data/app/assets/icons/heroicons/solid/minus-sm.svg +0 -3
  1171. data/app/assets/icons/heroicons/solid/music-note.svg +0 -3
  1172. data/app/assets/icons/heroicons/solid/office-building.svg +0 -3
  1173. data/app/assets/icons/heroicons/solid/pencil-alt.svg +0 -4
  1174. data/app/assets/icons/heroicons/solid/phone-incoming.svg +0 -4
  1175. data/app/assets/icons/heroicons/solid/phone-missed-call.svg +0 -4
  1176. data/app/assets/icons/heroicons/solid/phone-outgoing.svg +0 -4
  1177. data/app/assets/icons/heroicons/solid/photograph.svg +0 -3
  1178. data/app/assets/icons/heroicons/solid/plus-sm.svg +0 -3
  1179. data/app/assets/icons/heroicons/solid/puzzle.svg +0 -3
  1180. data/app/assets/icons/heroicons/solid/qrcode.svg +0 -4
  1181. data/app/assets/icons/heroicons/solid/receipt-tax.svg +0 -3
  1182. data/app/assets/icons/heroicons/solid/refresh.svg +0 -3
  1183. data/app/assets/icons/heroicons/solid/reply.svg +0 -3
  1184. data/app/assets/icons/heroicons/solid/rewind.svg +0 -3
  1185. data/app/assets/icons/heroicons/solid/save-as.svg +0 -4
  1186. data/app/assets/icons/heroicons/solid/save.svg +0 -3
  1187. data/app/assets/icons/heroicons/solid/search-circle.svg +0 -4
  1188. data/app/assets/icons/heroicons/solid/search.svg +0 -3
  1189. data/app/assets/icons/heroicons/solid/selector.svg +0 -3
  1190. data/app/assets/icons/heroicons/solid/sort-ascending.svg +0 -3
  1191. data/app/assets/icons/heroicons/solid/sort-descending.svg +0 -3
  1192. data/app/assets/icons/heroicons/solid/speakerphone.svg +0 -3
  1193. data/app/assets/icons/heroicons/solid/status-offline.svg +0 -3
  1194. data/app/assets/icons/heroicons/solid/status-online.svg +0 -3
  1195. data/app/assets/icons/heroicons/solid/support.svg +0 -3
  1196. data/app/assets/icons/heroicons/solid/switch-horizontal.svg +0 -3
  1197. data/app/assets/icons/heroicons/solid/switch-vertical.svg +0 -3
  1198. data/app/assets/icons/heroicons/solid/table.svg +0 -3
  1199. data/app/assets/icons/heroicons/solid/template.svg +0 -3
  1200. data/app/assets/icons/heroicons/solid/terminal.svg +0 -3
  1201. data/app/assets/icons/heroicons/solid/thumb-down.svg +0 -3
  1202. data/app/assets/icons/heroicons/solid/thumb-up.svg +0 -3
  1203. data/app/assets/icons/heroicons/solid/translate.svg +0 -3
  1204. data/app/assets/icons/heroicons/solid/trending-down.svg +0 -3
  1205. data/app/assets/icons/heroicons/solid/trending-up.svg +0 -3
  1206. data/app/assets/icons/heroicons/solid/upload.svg +0 -3
  1207. data/app/assets/icons/heroicons/solid/user-add.svg +0 -3
  1208. data/app/assets/icons/heroicons/solid/user-remove.svg +0 -3
  1209. data/app/assets/icons/heroicons/solid/variable.svg +0 -3
  1210. data/app/assets/icons/heroicons/solid/view-boards.svg +0 -3
  1211. data/app/assets/icons/heroicons/solid/view-grid-add.svg +0 -3
  1212. data/app/assets/icons/heroicons/solid/view-grid.svg +0 -3
  1213. data/app/assets/icons/heroicons/solid/view-list.svg +0 -3
  1214. data/app/assets/icons/heroicons/solid/volume-off.svg +0 -3
  1215. data/app/assets/icons/heroicons/solid/volume-up.svg +0 -3
  1216. data/app/assets/icons/heroicons/solid/x.svg +0 -3
  1217. data/app/assets/icons/heroicons/solid/zoom-in.svg +0 -4
  1218. data/app/assets/icons/heroicons/solid/zoom-out.svg +0 -4
  1219. data/app/controllers/concerns/spina/current_account.rb +0 -17
@@ -2,25 +2,24 @@ module Spina
2
2
  module Api
3
3
  class PagesController < ApiController
4
4
  include Paginable
5
-
5
+
6
6
  before_action :set_resource
7
-
7
+
8
8
  def index
9
9
  pages = Page.live.includes(:translations).where(resource: @resource).order(:created_at)
10
10
  render json: Spina::Api::PageSerializer.new(*pagination(pages)).serializable_hash.to_json
11
11
  end
12
-
12
+
13
13
  def show
14
14
  @page = Page.live.where(resource: @resource).find(params[:id])
15
15
  render json: Spina::Api::PageSerializer.new(@page).serializable_hash.to_json
16
16
  end
17
-
17
+
18
18
  private
19
-
20
- def set_resource
21
- @resource = Spina::Resource.find(params[:resource_id]) if params[:resource_id].present?
22
- end
23
19
 
20
+ def set_resource
21
+ @resource = Spina::Resource.find(params[:resource_id]) if params[:resource_id].present?
22
+ end
24
23
  end
25
24
  end
26
- end
25
+ end
@@ -2,18 +2,16 @@ module Spina
2
2
  module Api
3
3
  class ResourcesController < ApiController
4
4
  include Paginable
5
-
5
+
6
6
  def index
7
7
  resources = Resource.order(:id)
8
8
  render json: Spina::Api::ResourceSerializer.new(*pagination(resources)).serializable_hash.to_json
9
9
  end
10
-
10
+
11
11
  def show
12
12
  @resource = Resource.find(params[:id])
13
13
  render json: Spina::Api::ResourceSerializer.new(@resource).serializable_hash.to_json
14
14
  end
15
-
16
15
  end
17
16
  end
18
17
  end
19
-
@@ -1,8 +1,9 @@
1
1
  class Spina::ApplicationController < Spina.frontend_parent_controller.constantize
2
2
  include Spina.config.authentication.constantize
3
- include Spina::CurrentAccount, Spina::CurrentTheme
4
-
3
+ include Spina::CurrentTheme
4
+ include Spina::CurrentSpinaAccount
5
+
5
6
  helper Spina::Engine.helpers
6
-
7
+
7
8
  protect_from_forgery with: :exception
8
9
  end
@@ -8,11 +8,10 @@ class Spina::PagesController < Spina::ApplicationController
8
8
  def homepage
9
9
  render_with_template(page)
10
10
  end
11
-
11
+
12
12
  private
13
-
14
- def authorize_page
15
- raise ActiveRecord::RecordNotFound unless page.live? || logged_in?
16
- end
17
13
 
14
+ def authorize_page
15
+ raise ActiveRecord::RecordNotFound unless page.live? || logged_in?
16
+ end
18
17
  end
@@ -1,8 +1,6 @@
1
1
  class Spina::SitemapsController < Spina::ApplicationController
2
-
3
2
  def show
4
3
  I18n.locale = I18n.default_locale
5
4
  @pages = Spina::Page.live.sorted
6
5
  end
7
-
8
6
  end
@@ -1,26 +1,154 @@
1
- require 'nokogiri'
1
+ require "nokogiri"
2
2
 
3
3
  module Spina::Admin
4
- module IconsHelper
5
-
6
- class FileNotFound < StandardError
7
- end
8
-
9
- def heroicon(name, style: :outline, **options)
10
- file = read_file(Spina::Engine.root.join("app/assets/icons/heroicons", style.to_s, "#{name}.svg"))
11
- return "" if file.nil?
12
- doc = Nokogiri::XML(file)
13
- svg = doc.root
14
- svg[:class] = options[:class]
15
- ActiveSupport::SafeBuffer.new(svg.to_s)
16
- end
17
-
18
- private
19
-
20
- def read_file(path)
21
- return nil unless File.exist?(path)
22
- File.read(path)
23
- end
4
+ module IconsHelper
5
+ class FileNotFound < StandardError
6
+ end
24
7
 
25
- end
26
- end
8
+ def heroicon(name, style: :outline, **options)
9
+ name = heroicons_naming_v1_to_v2(name)
10
+ file = read_file(Spina::Engine.root.join("app/assets/icons/heroicons", style.to_s, "#{name}.svg"))
11
+ return "" if file.nil?
12
+ doc = Nokogiri::XML(file)
13
+ svg = doc.root
14
+ svg[:class] = options[:class]
15
+ ActiveSupport::SafeBuffer.new(svg.to_s)
16
+ end
17
+
18
+ private
19
+
20
+ def read_file(path)
21
+ return nil unless File.exist?(path)
22
+ File.read(path)
23
+ end
24
+
25
+ def heroicons_naming_v1_to_v2(name)
26
+ lookup_table = {
27
+ "adjustments" => "adjustments-vertical",
28
+ "annotation" => "chat-bubble-bottom-center-text",
29
+ "archive" => "archive-box",
30
+ "arrow-circle-down" => "arrow-down-circle",
31
+ "arrow-circle-left" => "arrow-left-circle",
32
+ "arrow-circle-right" => "arrow-right-circle",
33
+ "arrow-circle-up" => "arrow-up-circle",
34
+ "arrow-narrow-down" => "arrow-long-down",
35
+ "arrow-narrow-left" => "arrow-long-left",
36
+ "arrow-narrow-right" => "arrow-long-right",
37
+ "arrow-narrow-up" => "arrow-long-up",
38
+ "arrow-sm-left" => nil,
39
+ "arrow-sm-right" => nil,
40
+ "arrow-sm-up" => nil,
41
+ "arrow-sm-down" => nil,
42
+ "arrows-expand" => "arrows-pointing-out",
43
+ "badge-check" => "check-badge",
44
+ "ban" => "no-symbol",
45
+ "bookmark-alt" => "bookmark-square",
46
+ "cash" => "banknotes",
47
+ "chart-square-bar" => "chart-bar-square",
48
+ "chat-alt-2" => "chat-bubble-left-right",
49
+ "chat-alt" => "chat-bubble-left-ellipsis",
50
+ "chat" => "chat-bubble-oval-left-ellipsis",
51
+ "chip" => "cpu-chip",
52
+ "clipboard-check" => "clipboard-document-check",
53
+ "clipboard-copy" => "clipboard-document",
54
+ "clipboard-list" => "clipboard-document-list",
55
+ "cloud-download" => "cloud-arrow-down",
56
+ "cloud-upload" => "cloud-arrow-up",
57
+ "code" => "code-bracket",
58
+ "collection" => "rectangle-stack",
59
+ "color-swatch" => "swatch",
60
+ "cube-transparent" => nil,
61
+ "currency-bangladeshi" => nil,
62
+ "cursor-click" => "cursor-arrow-rays",
63
+ "database" => "circle-stack",
64
+ "desktop-computer" => "computer-desktop",
65
+ "device-mobile" => "device-phone-mobile",
66
+ "document-add" => "document-plus",
67
+ "document-download" => "document-arrow-down",
68
+ "document-remove" => "document-minus",
69
+ "document-report" => "document-chart-bar",
70
+ "document-search" => "document-magnifying-glass",
71
+ "dots-circle-horizontal" => "ellipsis-horizontal-circle",
72
+ "dots-horizontal" => "ellipsis-horizontal",
73
+ "dots-vertical" => "ellipsis-vertical",
74
+ "download" => "arrow-down-tray",
75
+ "duplicate" => "square-2-stack",
76
+ "emoji-happy" => "face-smile",
77
+ "emoji-sad" => "face-frown",
78
+ "exclamation" => "exclamation",
79
+ "external-link" => "arrow-top-right-on-square",
80
+ "eye-off" => "eye-slash",
81
+ "fast-forward" => "forward",
82
+ "filter" => "funnel",
83
+ "folder-add" => "folder-plus",
84
+ "folder-download" => "folder-arrow-down",
85
+ "folder-remove" => "folder-minus",
86
+ "globe" => "globe-europe-africa",
87
+ "hand" => "hand-raised",
88
+ "inbox-in" => "inbox-arrow-down",
89
+ "library" => "building-library",
90
+ "lightning-bolt" => "bolt",
91
+ "location-marker" => "map-pin",
92
+ "login" => "arrow-left-on-rectangle",
93
+ "logout" => "arrow-right-on-rectangle",
94
+ "mail-open" => "envelope-open",
95
+ "mail" => "envelope",
96
+ "menu-alt-1" => "bars-3-center-left",
97
+ "menu-alt-2" => "bars-3-bottom-left",
98
+ "menu-alt-3" => "bars-3-bottom-right",
99
+ "menu-alt-4" => "bars-2",
100
+ "menu" => "bars-3",
101
+ "minus-sm" => nil,
102
+ "music-note" => "musical-note",
103
+ "office-building" => "building-office",
104
+ "pencil-alt" => "pencil-square",
105
+ "phone-incoming" => "phone-arrow-down-left",
106
+ "phone-missed-call" => "phone-x-mark",
107
+ "phone-outgoing" => "phone-arrow-up-right",
108
+ "photograph" => "photo",
109
+ "plus-sm" => nil,
110
+ "puzzle" => "puzzle-piece",
111
+ "qrcode" => "qr-code",
112
+ "receipt-tax" => "receipt-percent",
113
+ "refresh" => "arrow-path",
114
+ "reply" => "arrow-uturn-left",
115
+ "rewind" => "backward",
116
+ "save-as" => "arrow-down-on-square-stack",
117
+ "save" => "arrow-down-on-square",
118
+ "search-circle" => "magnifying-glass-circle",
119
+ "search" => "magnifying-glass",
120
+ "selector" => "chevron-up-down",
121
+ "sort-ascending" => "bars-arrow-up",
122
+ "sort-descending" => "bars-arrow-down",
123
+ "speakerphone" => "megaphone",
124
+ "status-offline" => "signal-slash",
125
+ "status-online" => "signal",
126
+ "support" => "lifebuoy",
127
+ "switch-horizontal" => "arrow-right-left",
128
+ "switch-vertical" => "arrow-up-down",
129
+ "table" => "table-cells",
130
+ "template" => "rectangle-group",
131
+ "terminal" => "command-line",
132
+ "thumb-down" => "hand-thumb-down",
133
+ "thumb-up" => "hand-thumb-up",
134
+ "translate" => "language",
135
+ "trending-down" => "arrow-trending-down",
136
+ "trending-up" => "arrow-trending-up",
137
+ "upload" => "arrow-up-tray",
138
+ "user-add" => "user-plus",
139
+ "user-remove" => nil,
140
+ "variable" => nil,
141
+ "view-boards" => "view-columns",
142
+ "view-grid-add" => "squares-plus",
143
+ "view-grid" => "squares-2x2",
144
+ "view-list" => "bars-4",
145
+ "volume-off" => "speaker-x-mark",
146
+ "volume-up" => "speaker-wave",
147
+ "x" => "x-mark",
148
+ "zoom-in" => "magnifying-glass-plus",
149
+ "zoom-out" => "magnifying-glass-minus"
150
+ }
151
+ lookup_table[name] || name
152
+ end
153
+ end
154
+ end
@@ -1,6 +1,5 @@
1
1
  module Spina::Admin
2
2
  module ImagesHelper
3
-
4
3
  def ratio_tailwind_class_for_image_part(image)
5
4
  case image.options.try(:[], :ratio)
6
5
  when "portrait"
@@ -13,6 +12,5 @@ module Spina::Admin
13
12
  "w-36" # Square (default)
14
13
  end
15
14
  end
16
-
17
15
  end
18
16
  end
@@ -1,6 +1,5 @@
1
1
  module Spina::Admin
2
2
  module PagesHelper
3
-
4
3
  def asset_available?(path)
5
4
  if Rails.configuration.assets.compile
6
5
  Rails.application.precompiled_assets.include?(path)
@@ -12,19 +11,18 @@ module Spina::Admin
12
11
  def build_parts(partable, parts)
13
12
  I18n.with_locale(@locale) do
14
13
  parts.map do |part|
15
- part_attributes = current_theme.parts.find{|p|p[:name].to_s == part.to_s}
14
+ part_attributes = current_theme.parts.find { |p| p[:name].to_s == part.to_s }
16
15
  partable.part(part_attributes)
17
16
  end
18
17
  end
19
18
  end
20
19
 
21
20
  def parts_partial_namespace(part_type)
22
- part_type.tableize.sub(/\Aspina\/parts\//, '')
21
+ part_type.tableize.sub(/\Aspina\/parts\//, "")
23
22
  end
24
23
 
25
24
  def option_label(part, value)
26
- t(['options',part.name,value].compact.join('.'))
25
+ t(["options", part.name, value].compact.join("."))
27
26
  end
28
-
29
27
  end
30
28
  end
@@ -1,9 +1,7 @@
1
1
  module Spina
2
2
  module AttachmentsHelper
3
-
4
3
  def file_url(file)
5
4
  main_app.url_for(file)
6
5
  end
7
-
8
6
  end
9
- end
7
+ end
@@ -1,6 +1,5 @@
1
1
  module Spina
2
2
  module ImagesHelper
3
-
4
3
  def original_url(image)
5
4
  return "" if image.nil?
6
5
  main_app.url_for(image.file)
@@ -10,12 +9,12 @@ module Spina
10
9
  return "" if image.nil?
11
10
  main_app.url_for(image.variant(resize_to_fill: [400, 300]))
12
11
  end
13
-
12
+
14
13
  def large_thumbnail_url(image)
15
14
  return "" if image.nil?
16
15
  main_app.url_for(image.variant(resize_to_fit: [800, 600]))
17
16
  end
18
-
17
+
19
18
  def preview_url(image)
20
19
  return "" if image.nil?
21
20
  main_app.url_for(image.variant(resize_to_limit: [1600, 1200]))
@@ -26,9 +25,9 @@ module Spina
26
25
 
27
26
  # support both ImageProcessing gem macro :resize_to_limit and ImageMagick-specific :resize
28
27
  resize_key = Spina.config.embedded_image_size.is_a?(Array) ? :resize_to_limit : :resize
29
- main_app.url_for(image.variant(Hash[resize_key, Spina.config.embedded_image_size]))
28
+ main_app.url_for(image.variant({resize_key => Spina.config.embedded_image_size}))
30
29
  end
31
-
30
+
32
31
  def content_type_color(image)
33
32
  case content_type(image)
34
33
  when "png"
@@ -45,10 +44,9 @@ module Spina
45
44
  "bg-gray-400"
46
45
  end
47
46
  end
48
-
47
+
49
48
  def content_type(image)
50
49
  image.file.content_type&.split("/")&.last || I18n.t("spina.images.missing_image")
51
50
  end
52
-
53
51
  end
54
52
  end
@@ -1,6 +1,5 @@
1
1
  module Spina
2
2
  module PagesHelper
3
-
4
3
  def content(part_name = nil)
5
4
  Current.page.content(part_name)
6
5
  end
@@ -28,9 +27,8 @@ module Spina
28
27
  Current.page
29
28
  end
30
29
 
31
- def current_account
30
+ def current_spina_account
32
31
  Current.account
33
32
  end
34
-
35
33
  end
36
34
  end
@@ -1,5 +1,4 @@
1
1
  module Spina::SpinaHelper
2
-
3
2
  def spina_importmap_tags(entry_point = "application", shim: true)
4
3
  safe_join [
5
4
  javascript_inline_importmap_tag(Spina.config.importmap.to_json(resolver: self)),
@@ -9,5 +8,4 @@ module Spina::SpinaHelper
9
8
  javascript_import_module_tag(entry_point)
10
9
  ], "\n"
11
10
  end
12
-
13
- end
11
+ end
@@ -1,24 +1,23 @@
1
1
  module Spina
2
2
  class ReplaceSignedIdJob < ApplicationJob
3
3
  queue_as { Spina.config.queues[:page_updates] }
4
-
4
+
5
5
  def perform(old_signed_id, new_signed_id)
6
6
  return if old_signed_id.blank? || new_signed_id.blank?
7
-
7
+
8
8
  pages = get_pages(old_signed_id)
9
9
  accounts = Spina::Account.all
10
-
10
+
11
11
  [pages, accounts].each do |records|
12
- records.update_all("json_attributes = REGEXP_REPLACE(json_attributes::text, '#{old_signed_id}', '#{new_signed_id}', 'g')::jsonb")
12
+ records.update_all("json_attributes = REGEXP_REPLACE(json_attributes::text, '#{old_signed_id}', '#{new_signed_id}', 'g')::jsonb")
13
13
  end
14
14
  end
15
-
15
+
16
16
  private
17
-
18
- def get_pages(signed_id)
19
- return Spina::Page.none unless signed_id.present?
20
- Spina::Page.where("json_attributes::text LIKE ?", "%#{signed_id}%")
21
- end
22
-
17
+
18
+ def get_pages(signed_id)
19
+ return Spina::Page.none unless signed_id.present?
20
+ Spina::Page.where("json_attributes::text LIKE ?", "%#{signed_id}%")
21
+ end
23
22
  end
24
23
  end
@@ -1,7 +1,7 @@
1
1
  module Spina
2
2
  class ResourcePagesUpdateJob < ApplicationJob
3
3
  queue_as { Spina.config.queues[:page_updates] }
4
-
4
+
5
5
  def perform(resource_id)
6
6
  Page.where(resource_id: resource_id).roots.find_each(batch_size: 100) do |page|
7
7
  page.save
@@ -1,7 +1,7 @@
1
1
  module Spina
2
2
  class ApplicationMailer < ActionMailer::Base
3
3
  default Spina.config.mailer_defaults
4
-
5
- layout 'spina/mail'
4
+
5
+ layout "spina/mail"
6
6
  end
7
7
  end
@@ -1,13 +1,11 @@
1
1
  module Spina
2
2
  class UserMailer < ApplicationMailer
3
-
4
3
  def forgot_password(user, user_agent_string = nil)
5
4
  @user = user
6
5
  @browser = Browser.new(user_agent_string)
7
-
8
- mail to: @user.email,
9
- subject: t('spina.user_mailer.forgot_password.subject')
10
- end
11
6
 
7
+ mail to: @user.email,
8
+ subject: t("spina.user_mailer.forgot_password.subject")
9
+ end
12
10
  end
13
- end
11
+ end
@@ -1,20 +1,19 @@
1
1
  module Spina
2
2
  module Gravatar
3
3
  extend ActiveSupport::Concern
4
-
4
+
5
5
  def gravatar_url
6
6
  "https://www.gravatar.com/avatar/#{gravatar_hash}?d=#{fallback_url}"
7
7
  end
8
-
8
+
9
9
  private
10
-
11
- def fallback_url
12
- "https://eu.ui-avatars.com/api/#{CGI.escape(name)}/128"
13
- end
14
-
15
- def gravatar_hash
16
- Digest::MD5.hexdigest(email.to_s.strip.downcase)
17
- end
18
-
10
+
11
+ def fallback_url
12
+ "https://eu.ui-avatars.com/api/#{CGI.escape(name)}/128"
13
+ end
14
+
15
+ def gravatar_hash
16
+ Digest::MD5.hexdigest(email.to_s.strip.downcase)
17
+ end
19
18
  end
20
- end
19
+ end
@@ -5,12 +5,11 @@ module Spina
5
5
  attr_accessor :view_context
6
6
 
7
7
  included do
8
-
9
8
  def part(attributes)
10
9
  part = find_part(attributes[:name]) || attributes[:part_type].constantize.new
11
10
 
12
11
  # Copy all attributes to part
13
- %w(name title hint options).each do |attribute|
12
+ %w[name title hint options item_name].each do |attribute|
14
13
  part.public_send("#{attribute}=", attributes[attribute.to_sym]) if part.respond_to?(attribute)
15
14
  end
16
15
 
@@ -27,10 +26,9 @@ module Spina
27
26
 
28
27
  private
29
28
 
30
- def content_presenter
31
- @content_presenter ||= ContentPresenter.new(view_context, self)
32
- end
33
-
29
+ def content_presenter
30
+ @content_presenter ||= ContentPresenter.new(view_context, self)
31
+ end
34
32
  end
35
33
  end
36
34
  end
@@ -1,10 +1,10 @@
1
1
  module Spina
2
2
  module TranslatedContent
3
3
  extend ActiveSupport::Concern
4
-
4
+
5
5
  include Spina::AttrJsonMonkeypatch
6
6
 
7
- included do
7
+ included do
8
8
  # Store each locale's content in [locale]_content as an array of parts
9
9
  Spina.locales.each do |locale|
10
10
  attr_json "#{locale}_content".to_sym, AttrJson::Type::SpinaPartsModel.new, array: true, default: -> { [] }
@@ -12,9 +12,9 @@ module Spina
12
12
  attr_json_accepts_nested_attributes_for "#{locale}_content".to_sym
13
13
  end
14
14
  end
15
-
15
+
16
16
  def find_part(name)
17
- send("#{I18n.locale}_content").find{|part| part.name.to_s == name.to_s}
17
+ send("#{I18n.locale}_content").find { |part| part.name.to_s == name.to_s }
18
18
  end
19
19
  end
20
- end
20
+ end
@@ -8,7 +8,7 @@ module Spina
8
8
  serialize :preferences
9
9
 
10
10
  after_save :bootstrap_website
11
-
11
+
12
12
  validates :name, presence: true
13
13
 
14
14
  def to_s
@@ -22,12 +22,12 @@ module Spina
22
22
  def self.serialized_attr_accessor(*args)
23
23
  args.each do |method_name|
24
24
  define_method method_name do
25
- if self.preferences.try(:[], method_name.to_sym).present?
25
+ if preferences.try(:[], method_name.to_sym).present?
26
26
  ActiveSupport::Deprecation.warn("#{method_name} is stored as a symbol. Please set and save it again using #{method_name}= on your Spina::Account model to store it as a string. You can do this from the UI by saving your account preferences.")
27
27
  end
28
-
29
- self.preferences.try(:[], method_name.to_s) ||
30
- self.preferences.try(:[], method_name.to_sym)
28
+
29
+ preferences.try(:[], method_name.to_s) ||
30
+ preferences.try(:[], method_name.to_sym)
31
31
  end
32
32
 
33
33
  define_method "#{method_name}=" do |value|
@@ -73,18 +73,17 @@ module Spina
73
73
  def find_or_create_custom_pages(theme)
74
74
  theme.custom_pages.each do |page|
75
75
  Page.where(name: page[:name])
76
- .first_or_create(title: page[:title])
77
- .update(view_template: page[:view_template], deletable: page[:deletable])
76
+ .first_or_create(title: page[:title])
77
+ .update(view_template: page[:view_template], deletable: page[:deletable])
78
78
  end
79
79
  end
80
80
 
81
81
  def deactivate_unused_view_templates(theme)
82
- Page.active.where.not(view_template: theme.view_templates.map{|h|h[:name]}).update_all(active: false)
82
+ Page.active.where.not(view_template: theme.view_templates.map { |h| h[:name] }).update_all(active: false)
83
83
  end
84
84
 
85
85
  def activate_used_view_templates(theme)
86
- Page.where(active: false, view_template: theme.view_templates.map{|h|h[:name]}).update_all(active: true)
86
+ Page.where(active: false, view_template: theme.view_templates.map { |h| h[:name] }).update_all(active: true)
87
87
  end
88
-
89
88
  end
90
89
  end
@@ -1,11 +1,10 @@
1
1
  module Spina
2
2
  class ApplicationRecord < ActiveRecord::Base
3
3
  self.abstract_class = true
4
-
4
+
5
5
  # Remove Spina namespace from partial paths
6
6
  def to_partial_path
7
7
  super.gsub(/\Aspina\//, "")
8
8
  end
9
-
10
9
  end
11
- end
10
+ end
@@ -4,7 +4,7 @@ module Spina
4
4
 
5
5
  attr_accessor :_destroy
6
6
 
7
- scope :sorted, -> { order('created_at DESC') }
7
+ scope :sorted, -> { order("created_at DESC") }
8
8
 
9
9
  def name
10
10
  file.filename.to_s
@@ -13,7 +13,7 @@ module Spina
13
13
  def content
14
14
  file if file.attached?
15
15
  end
16
-
16
+
17
17
  def present?
18
18
  signed_blob_id.present?
19
19
  end
@@ -21,11 +21,10 @@ module Spina
21
21
  alias_method :old_update, :update
22
22
  def update(attributes)
23
23
  if attributes["_destroy"] == "1" && attributes["file"].blank?
24
- self.page_part.destroy
24
+ page_part.destroy
25
25
  else
26
26
  old_update(attributes)
27
27
  end
28
28
  end
29
-
30
29
  end
31
30
  end
@@ -5,4 +5,4 @@ module Spina
5
5
  attribute :user
6
6
  attribute :theme
7
7
  end
8
- end
8
+ end