satis 1.0.75 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (720) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/gem-push.yml +11 -0
  3. data/.gitignore +15 -0
  4. data/.nvmrc +1 -0
  5. data/.rubocop.yml +18 -0
  6. data/Gemfile +27 -0
  7. data/Procfile +2 -0
  8. data/README.md +47 -25
  9. data/TODO.md +26 -0
  10. data/app/assets/config/satis_manifest.js +8 -1
  11. data/app/assets/fontawesome/brands.js +6 -0
  12. data/app/assets/fontawesome/fontawesome.js +6 -0
  13. data/app/assets/fontawesome/solid.js +6 -0
  14. data/app/assets/images/satis/flags/1x1/ac.svg +81 -0
  15. data/app/assets/images/satis/flags/1x1/ad.svg +148 -0
  16. data/app/assets/images/satis/flags/1x1/ae.svg +6 -0
  17. data/app/assets/images/satis/flags/1x1/af.svg +81 -0
  18. data/app/assets/images/satis/flags/1x1/ag.svg +14 -0
  19. data/app/assets/images/satis/flags/1x1/ai.svg +763 -0
  20. data/app/assets/images/satis/flags/1x1/al.svg +5 -0
  21. data/app/assets/images/satis/flags/1x1/am.svg +5 -0
  22. data/app/assets/images/satis/flags/1x1/ao.svg +13 -0
  23. data/app/assets/images/satis/flags/1x1/aq.svg +5 -0
  24. data/app/assets/images/satis/flags/1x1/ar.svg +31 -0
  25. data/app/assets/images/satis/flags/1x1/as.svg +33 -0
  26. data/app/assets/images/satis/flags/1x1/at.svg +6 -0
  27. data/app/assets/images/satis/flags/1x1/au.svg +11 -0
  28. data/app/assets/images/satis/flags/1x1/aw.svg +186 -0
  29. data/app/assets/images/satis/flags/1x1/ax.svg +18 -0
  30. data/app/assets/images/satis/flags/1x1/az.svg +8 -0
  31. data/app/assets/images/satis/flags/1x1/ba.svg +12 -0
  32. data/app/assets/images/satis/flags/1x1/bb.svg +6 -0
  33. data/app/assets/images/satis/flags/1x1/bd.svg +4 -0
  34. data/app/assets/images/satis/flags/1x1/be.svg +7 -0
  35. data/app/assets/images/satis/flags/1x1/bf.svg +7 -0
  36. data/app/assets/images/satis/flags/1x1/bg.svg +7 -0
  37. data/app/assets/images/satis/flags/1x1/bh.svg +9 -0
  38. data/app/assets/images/satis/flags/1x1/bi.svg +15 -0
  39. data/app/assets/images/satis/flags/1x1/bj.svg +14 -0
  40. data/app/assets/images/satis/flags/1x1/bl.svg +7 -0
  41. data/app/assets/images/satis/flags/1x1/bm.svg +99 -0
  42. data/app/assets/images/satis/flags/1x1/bn.svg +36 -0
  43. data/app/assets/images/satis/flags/1x1/bo.svg +678 -0
  44. data/app/assets/images/satis/flags/1x1/bq.svg +5 -0
  45. data/app/assets/images/satis/flags/1x1/br.svg +45 -0
  46. data/app/assets/images/satis/flags/1x1/bs.svg +13 -0
  47. data/app/assets/images/satis/flags/1x1/bt.svg +89 -0
  48. data/app/assets/images/satis/flags/1x1/bv.svg +13 -0
  49. data/app/assets/images/satis/flags/1x1/bw.svg +7 -0
  50. data/app/assets/images/satis/flags/1x1/by.svg +22 -0
  51. data/app/assets/images/satis/flags/1x1/bz.svg +145 -0
  52. data/app/assets/images/satis/flags/1x1/ca.svg +4 -0
  53. data/app/assets/images/satis/flags/1x1/cc.svg +19 -0
  54. data/app/assets/images/satis/flags/1x1/cd.svg +12 -0
  55. data/app/assets/images/satis/flags/1x1/cf.svg +15 -0
  56. data/app/assets/images/satis/flags/1x1/cg.svg +12 -0
  57. data/app/assets/images/satis/flags/1x1/ch.svg +9 -0
  58. data/app/assets/images/satis/flags/1x1/ci.svg +7 -0
  59. data/app/assets/images/satis/flags/1x1/ck.svg +11 -0
  60. data/app/assets/images/satis/flags/1x1/cl.svg +13 -0
  61. data/app/assets/images/satis/flags/1x1/cm.svg +15 -0
  62. data/app/assets/images/satis/flags/1x1/cn.svg +11 -0
  63. data/app/assets/images/satis/flags/1x1/co.svg +7 -0
  64. data/app/assets/images/satis/flags/1x1/cp.svg +7 -0
  65. data/app/assets/images/satis/flags/1x1/cr.svg +7 -0
  66. data/app/assets/images/satis/flags/1x1/cu.svg +13 -0
  67. data/app/assets/images/satis/flags/1x1/cv.svg +13 -0
  68. data/app/assets/images/satis/flags/1x1/cw.svg +14 -0
  69. data/app/assets/images/satis/flags/1x1/cx.svg +15 -0
  70. data/app/assets/images/satis/flags/1x1/cy.svg +6 -0
  71. data/app/assets/images/satis/flags/1x1/cz.svg +5 -0
  72. data/app/assets/images/satis/flags/1x1/de.svg +5 -0
  73. data/app/assets/images/satis/flags/1x1/dg.svg +140 -0
  74. data/app/assets/images/satis/flags/1x1/dj.svg +13 -0
  75. data/app/assets/images/satis/flags/1x1/dk.svg +5 -0
  76. data/app/assets/images/satis/flags/1x1/dm.svg +152 -0
  77. data/app/assets/images/satis/flags/1x1/do.svg +6745 -0
  78. data/app/assets/images/satis/flags/1x1/dz.svg +5 -0
  79. data/app/assets/images/satis/flags/1x1/ea.svg +547 -0
  80. data/app/assets/images/satis/flags/1x1/ec.svg +138 -0
  81. data/app/assets/images/satis/flags/1x1/ee.svg +7 -0
  82. data/app/assets/images/satis/flags/1x1/eg.svg +38 -0
  83. data/app/assets/images/satis/flags/1x1/eh.svg +16 -0
  84. data/app/assets/images/satis/flags/1x1/er.svg +13 -0
  85. data/app/assets/images/satis/flags/1x1/es-ct.svg +4 -0
  86. data/app/assets/images/satis/flags/1x1/es-ga.svg +189 -0
  87. data/app/assets/images/satis/flags/1x1/es.svg +547 -0
  88. data/app/assets/images/satis/flags/1x1/et.svg +14 -0
  89. data/app/assets/images/satis/flags/1x1/eu.svg +28 -0
  90. data/app/assets/images/satis/flags/1x1/fi.svg +5 -0
  91. data/app/assets/images/satis/flags/1x1/fj.svg +125 -0
  92. data/app/assets/images/satis/flags/1x1/fk.svg +93 -0
  93. data/app/assets/images/satis/flags/1x1/fm.svg +11 -0
  94. data/app/assets/images/satis/flags/1x1/fo.svg +12 -0
  95. data/app/assets/images/satis/flags/1x1/fr.svg +7 -0
  96. data/app/assets/images/satis/flags/1x1/ga.svg +7 -0
  97. data/app/assets/images/satis/flags/1x1/gb-eng.svg +5 -0
  98. data/app/assets/images/satis/flags/1x1/gb-nir.svg +131 -0
  99. data/app/assets/images/satis/flags/1x1/gb-sct.svg +4 -0
  100. data/app/assets/images/satis/flags/1x1/gb-wls.svg +9 -0
  101. data/app/assets/images/satis/flags/1x1/gb.svg +7 -0
  102. data/app/assets/images/satis/flags/1x1/gd.svg +27 -0
  103. data/app/assets/images/satis/flags/1x1/ge.svg +6 -0
  104. data/app/assets/images/satis/flags/1x1/gf.svg +7 -0
  105. data/app/assets/images/satis/flags/1x1/gg.svg +9 -0
  106. data/app/assets/images/satis/flags/1x1/gh.svg +6 -0
  107. data/app/assets/images/satis/flags/1x1/gi.svg +32 -0
  108. data/app/assets/images/satis/flags/1x1/gl.svg +4 -0
  109. data/app/assets/images/satis/flags/1x1/gm.svg +9 -0
  110. data/app/assets/images/satis/flags/1x1/gn.svg +7 -0
  111. data/app/assets/images/satis/flags/1x1/gp.svg +7 -0
  112. data/app/assets/images/satis/flags/1x1/gq.svg +23 -0
  113. data/app/assets/images/satis/flags/1x1/gr.svg +16 -0
  114. data/app/assets/images/satis/flags/1x1/gs.svg +245 -0
  115. data/app/assets/images/satis/flags/1x1/gt.svg +204 -0
  116. data/app/assets/images/satis/flags/1x1/gu.svg +39 -0
  117. data/app/assets/images/satis/flags/1x1/gw.svg +15 -0
  118. data/app/assets/images/satis/flags/1x1/gy.svg +9 -0
  119. data/app/assets/images/satis/flags/1x1/hk.svg +30 -0
  120. data/app/assets/images/satis/flags/1x1/hm.svg +11 -0
  121. data/app/assets/images/satis/flags/1x1/hn.svg +18 -0
  122. data/app/assets/images/satis/flags/1x1/hr.svg +56 -0
  123. data/app/assets/images/satis/flags/1x1/ht.svg +116 -0
  124. data/app/assets/images/satis/flags/1x1/hu.svg +7 -0
  125. data/app/assets/images/satis/flags/1x1/ic.svg +7 -0
  126. data/app/assets/images/satis/flags/1x1/id.svg +6 -0
  127. data/app/assets/images/satis/flags/1x1/ie.svg +7 -0
  128. data/app/assets/images/satis/flags/1x1/il.svg +14 -0
  129. data/app/assets/images/satis/flags/1x1/im.svg +36 -0
  130. data/app/assets/images/satis/flags/1x1/in.svg +25 -0
  131. data/app/assets/images/satis/flags/1x1/io.svg +140 -0
  132. data/app/assets/images/satis/flags/1x1/iq.svg +10 -0
  133. data/app/assets/images/satis/flags/1x1/ir.svg +219 -0
  134. data/app/assets/images/satis/flags/1x1/is.svg +12 -0
  135. data/app/assets/images/satis/flags/1x1/it.svg +7 -0
  136. data/app/assets/images/satis/flags/1x1/je.svg +47 -0
  137. data/app/assets/images/satis/flags/1x1/jm.svg +8 -0
  138. data/app/assets/images/satis/flags/1x1/jo.svg +16 -0
  139. data/app/assets/images/satis/flags/1x1/jp.svg +11 -0
  140. data/app/assets/images/satis/flags/1x1/ke.svg +23 -0
  141. data/app/assets/images/satis/flags/1x1/kg.svg +15 -0
  142. data/app/assets/images/satis/flags/1x1/kh.svg +61 -0
  143. data/app/assets/images/satis/flags/1x1/ki.svg +36 -0
  144. data/app/assets/images/satis/flags/1x1/km.svg +16 -0
  145. data/app/assets/images/satis/flags/1x1/kn.svg +14 -0
  146. data/app/assets/images/satis/flags/1x1/kp.svg +15 -0
  147. data/app/assets/images/satis/flags/1x1/kr.svg +24 -0
  148. data/app/assets/images/satis/flags/1x1/kw.svg +13 -0
  149. data/app/assets/images/satis/flags/1x1/ky.svg +225 -0
  150. data/app/assets/images/satis/flags/1x1/kz.svg +23 -0
  151. data/app/assets/images/satis/flags/1x1/la.svg +12 -0
  152. data/app/assets/images/satis/flags/1x1/lb.svg +15 -0
  153. data/app/assets/images/satis/flags/1x1/lc.svg +8 -0
  154. data/app/assets/images/satis/flags/1x1/li.svg +43 -0
  155. data/app/assets/images/satis/flags/1x1/lk.svg +22 -0
  156. data/app/assets/images/satis/flags/1x1/lr.svg +14 -0
  157. data/app/assets/images/satis/flags/1x1/ls.svg +8 -0
  158. data/app/assets/images/satis/flags/1x1/lt.svg +7 -0
  159. data/app/assets/images/satis/flags/1x1/lu.svg +5 -0
  160. data/app/assets/images/satis/flags/1x1/lv.svg +6 -0
  161. data/app/assets/images/satis/flags/1x1/ly.svg +13 -0
  162. data/app/assets/images/satis/flags/1x1/ma.svg +4 -0
  163. data/app/assets/images/satis/flags/1x1/mc.svg +6 -0
  164. data/app/assets/images/satis/flags/1x1/md.svg +71 -0
  165. data/app/assets/images/satis/flags/1x1/me.svg +118 -0
  166. data/app/assets/images/satis/flags/1x1/mf.svg +7 -0
  167. data/app/assets/images/satis/flags/1x1/mg.svg +7 -0
  168. data/app/assets/images/satis/flags/1x1/mh.svg +8 -0
  169. data/app/assets/images/satis/flags/1x1/mk.svg +5 -0
  170. data/app/assets/images/satis/flags/1x1/ml.svg +7 -0
  171. data/app/assets/images/satis/flags/1x1/mm.svg +16 -0
  172. data/app/assets/images/satis/flags/1x1/mn.svg +13 -0
  173. data/app/assets/images/satis/flags/1x1/mo.svg +9 -0
  174. data/app/assets/images/satis/flags/1x1/mp.svg +86 -0
  175. data/app/assets/images/satis/flags/1x1/mq.svg +7 -0
  176. data/app/assets/images/satis/flags/1x1/mr.svg +6 -0
  177. data/app/assets/images/satis/flags/1x1/ms.svg +70 -0
  178. data/app/assets/images/satis/flags/1x1/mt.svg +50 -0
  179. data/app/assets/images/satis/flags/1x1/mu.svg +8 -0
  180. data/app/assets/images/satis/flags/1x1/mv.svg +6 -0
  181. data/app/assets/images/satis/flags/1x1/mw.svg +15 -0
  182. data/app/assets/images/satis/flags/1x1/mx.svg +378 -0
  183. data/app/assets/images/satis/flags/1x1/my.svg +11 -0
  184. data/app/assets/images/satis/flags/1x1/mz.svg +21 -0
  185. data/app/assets/images/satis/flags/1x1/na.svg +16 -0
  186. data/app/assets/images/satis/flags/1x1/nc.svg +14 -0
  187. data/app/assets/images/satis/flags/1x1/ne.svg +6 -0
  188. data/app/assets/images/satis/flags/1x1/nf.svg +11 -0
  189. data/app/assets/images/satis/flags/1x1/ng.svg +6 -0
  190. data/app/assets/images/satis/flags/1x1/ni.svg +129 -0
  191. data/app/assets/images/satis/flags/1x1/nl.svg +5 -0
  192. data/app/assets/images/satis/flags/1x1/no.svg +7 -0
  193. data/app/assets/images/satis/flags/1x1/np.svg +19 -0
  194. data/app/assets/images/satis/flags/1x1/nr.svg +12 -0
  195. data/app/assets/images/satis/flags/1x1/nu.svg +26 -0
  196. data/app/assets/images/satis/flags/1x1/nz.svg +42 -0
  197. data/app/assets/images/satis/flags/1x1/om.svg +115 -0
  198. data/app/assets/images/satis/flags/1x1/pa.svg +13 -0
  199. data/app/assets/images/satis/flags/1x1/pe.svg +244 -0
  200. data/app/assets/images/satis/flags/1x1/pf.svg +18 -0
  201. data/app/assets/images/satis/flags/1x1/pg.svg +16 -0
  202. data/app/assets/images/satis/flags/1x1/ph.svg +9 -0
  203. data/app/assets/images/satis/flags/1x1/pk.svg +15 -0
  204. data/app/assets/images/satis/flags/1x1/pl.svg +6 -0
  205. data/app/assets/images/satis/flags/1x1/pm.svg +7 -0
  206. data/app/assets/images/satis/flags/1x1/pn.svg +100 -0
  207. data/app/assets/images/satis/flags/1x1/pr.svg +13 -0
  208. data/app/assets/images/satis/flags/1x1/ps.svg +15 -0
  209. data/app/assets/images/satis/flags/1x1/pt.svg +57 -0
  210. data/app/assets/images/satis/flags/1x1/pw.svg +11 -0
  211. data/app/assets/images/satis/flags/1x1/py.svg +156 -0
  212. data/app/assets/images/satis/flags/1x1/qa.svg +4 -0
  213. data/app/assets/images/satis/flags/1x1/re.svg +7 -0
  214. data/app/assets/images/satis/flags/1x1/ro.svg +7 -0
  215. data/app/assets/images/satis/flags/1x1/rs.svg +296 -0
  216. data/app/assets/images/satis/flags/1x1/ru.svg +7 -0
  217. data/app/assets/images/satis/flags/1x1/rw.svg +13 -0
  218. data/app/assets/images/satis/flags/1x1/sa.svg +26 -0
  219. data/app/assets/images/satis/flags/1x1/sb.svg +13 -0
  220. data/app/assets/images/satis/flags/1x1/sc.svg +14 -0
  221. data/app/assets/images/satis/flags/1x1/sd.svg +13 -0
  222. data/app/assets/images/satis/flags/1x1/se.svg +5 -0
  223. data/app/assets/images/satis/flags/1x1/sg.svg +13 -0
  224. data/app/assets/images/satis/flags/1x1/sh.svg +81 -0
  225. data/app/assets/images/satis/flags/1x1/si.svg +18 -0
  226. data/app/assets/images/satis/flags/1x1/sj.svg +7 -0
  227. data/app/assets/images/satis/flags/1x1/sk.svg +9 -0
  228. data/app/assets/images/satis/flags/1x1/sl.svg +12 -0
  229. data/app/assets/images/satis/flags/1x1/sm.svg +89 -0
  230. data/app/assets/images/satis/flags/1x1/sn.svg +8 -0
  231. data/app/assets/images/satis/flags/1x1/so.svg +11 -0
  232. data/app/assets/images/satis/flags/1x1/sr.svg +6 -0
  233. data/app/assets/images/satis/flags/1x1/ss.svg +8 -0
  234. data/app/assets/images/satis/flags/1x1/st.svg +16 -0
  235. data/app/assets/images/satis/flags/1x1/sv.svg +594 -0
  236. data/app/assets/images/satis/flags/1x1/sx.svg +56 -0
  237. data/app/assets/images/satis/flags/1x1/sy.svg +6 -0
  238. data/app/assets/images/satis/flags/1x1/sz.svg +45 -0
  239. data/app/assets/images/satis/flags/1x1/ta.svg +81 -0
  240. data/app/assets/images/satis/flags/1x1/tc.svg +52 -0
  241. data/app/assets/images/satis/flags/1x1/td.svg +7 -0
  242. data/app/assets/images/satis/flags/1x1/tf.svg +15 -0
  243. data/app/assets/images/satis/flags/1x1/tg.svg +14 -0
  244. data/app/assets/images/satis/flags/1x1/th.svg +7 -0
  245. data/app/assets/images/satis/flags/1x1/tj.svg +26 -0
  246. data/app/assets/images/satis/flags/1x1/tk.svg +5 -0
  247. data/app/assets/images/satis/flags/1x1/tl.svg +13 -0
  248. data/app/assets/images/satis/flags/1x1/tm.svg +203 -0
  249. data/app/assets/images/satis/flags/1x1/tn.svg +13 -0
  250. data/app/assets/images/satis/flags/1x1/to.svg +10 -0
  251. data/app/assets/images/satis/flags/1x1/tr.svg +8 -0
  252. data/app/assets/images/satis/flags/1x1/tt.svg +7 -0
  253. data/app/assets/images/satis/flags/1x1/tv.svg +16 -0
  254. data/app/assets/images/satis/flags/1x1/tw.svg +32 -0
  255. data/app/assets/images/satis/flags/1x1/tz.svg +15 -0
  256. data/app/assets/images/satis/flags/1x1/ua.svg +6 -0
  257. data/app/assets/images/satis/flags/1x1/ug.svg +30 -0
  258. data/app/assets/images/satis/flags/1x1/um.svg +15 -0
  259. data/app/assets/images/satis/flags/1x1/un.svg +16 -0
  260. data/app/assets/images/satis/flags/1x1/us.svg +10 -0
  261. data/app/assets/images/satis/flags/1x1/uy.svg +28 -0
  262. data/app/assets/images/satis/flags/1x1/uz.svg +30 -0
  263. data/app/assets/images/satis/flags/1x1/va.svg +479 -0
  264. data/app/assets/images/satis/flags/1x1/vc.svg +8 -0
  265. data/app/assets/images/satis/flags/1x1/ve.svg +26 -0
  266. data/app/assets/images/satis/flags/1x1/vg.svg +127 -0
  267. data/app/assets/images/satis/flags/1x1/vi.svg +28 -0
  268. data/app/assets/images/satis/flags/1x1/vn.svg +11 -0
  269. data/app/assets/images/satis/flags/1x1/vu.svg +18 -0
  270. data/app/assets/images/satis/flags/1x1/wf.svg +7 -0
  271. data/app/assets/images/satis/flags/1x1/ws.svg +7 -0
  272. data/app/assets/images/satis/flags/1x1/xk.svg +16 -0
  273. data/app/assets/images/satis/flags/1x1/xx.svg +5 -0
  274. data/app/assets/images/satis/flags/1x1/ye.svg +7 -0
  275. data/app/assets/images/satis/flags/1x1/yt.svg +7 -0
  276. data/app/assets/images/satis/flags/1x1/za.svg +17 -0
  277. data/app/assets/images/satis/flags/1x1/zm.svg +27 -0
  278. data/app/assets/images/satis/flags/1x1/zw.svg +21 -0
  279. data/app/assets/images/satis/flags/4x3/ac.svg +76 -0
  280. data/app/assets/images/satis/flags/4x3/ad.svg +150 -0
  281. data/app/assets/images/satis/flags/4x3/ae.svg +6 -0
  282. data/app/assets/images/satis/flags/4x3/af.svg +81 -0
  283. data/app/assets/images/satis/flags/4x3/ag.svg +14 -0
  284. data/app/assets/images/satis/flags/4x3/ai.svg +763 -0
  285. data/app/assets/images/satis/flags/4x3/al.svg +5 -0
  286. data/app/assets/images/satis/flags/4x3/am.svg +5 -0
  287. data/app/assets/images/satis/flags/4x3/ao.svg +13 -0
  288. data/app/assets/images/satis/flags/4x3/aq.svg +5 -0
  289. data/app/assets/images/satis/flags/4x3/ar.svg +31 -0
  290. data/app/assets/images/satis/flags/4x3/as.svg +33 -0
  291. data/app/assets/images/satis/flags/4x3/at.svg +6 -0
  292. data/app/assets/images/satis/flags/4x3/au.svg +9 -0
  293. data/app/assets/images/satis/flags/4x3/aw.svg +186 -0
  294. data/app/assets/images/satis/flags/4x3/ax.svg +18 -0
  295. data/app/assets/images/satis/flags/4x3/az.svg +8 -0
  296. data/app/assets/images/satis/flags/4x3/ba.svg +12 -0
  297. data/app/assets/images/satis/flags/4x3/bb.svg +6 -0
  298. data/app/assets/images/satis/flags/4x3/bd.svg +4 -0
  299. data/app/assets/images/satis/flags/4x3/be.svg +7 -0
  300. data/app/assets/images/satis/flags/4x3/bf.svg +7 -0
  301. data/app/assets/images/satis/flags/4x3/bg.svg +7 -0
  302. data/app/assets/images/satis/flags/4x3/bh.svg +9 -0
  303. data/app/assets/images/satis/flags/4x3/bi.svg +15 -0
  304. data/app/assets/images/satis/flags/4x3/bj.svg +14 -0
  305. data/app/assets/images/satis/flags/4x3/bl.svg +7 -0
  306. data/app/assets/images/satis/flags/4x3/bm.svg +99 -0
  307. data/app/assets/images/satis/flags/4x3/bn.svg +36 -0
  308. data/app/assets/images/satis/flags/4x3/bo.svg +676 -0
  309. data/app/assets/images/satis/flags/4x3/bq.svg +5 -0
  310. data/app/assets/images/satis/flags/4x3/br.svg +45 -0
  311. data/app/assets/images/satis/flags/4x3/bs.svg +13 -0
  312. data/app/assets/images/satis/flags/4x3/bt.svg +89 -0
  313. data/app/assets/images/satis/flags/4x3/bv.svg +13 -0
  314. data/app/assets/images/satis/flags/4x3/bw.svg +7 -0
  315. data/app/assets/images/satis/flags/4x3/by.svg +20 -0
  316. data/app/assets/images/satis/flags/4x3/bz.svg +145 -0
  317. data/app/assets/images/satis/flags/4x3/ca.svg +4 -0
  318. data/app/assets/images/satis/flags/4x3/cc.svg +19 -0
  319. data/app/assets/images/satis/flags/4x3/cd.svg +5 -0
  320. data/app/assets/images/satis/flags/4x3/cf.svg +15 -0
  321. data/app/assets/images/satis/flags/4x3/cg.svg +12 -0
  322. data/app/assets/images/satis/flags/4x3/ch.svg +9 -0
  323. data/app/assets/images/satis/flags/4x3/ci.svg +7 -0
  324. data/app/assets/images/satis/flags/4x3/ck.svg +9 -0
  325. data/app/assets/images/satis/flags/4x3/cl.svg +13 -0
  326. data/app/assets/images/satis/flags/4x3/cm.svg +15 -0
  327. data/app/assets/images/satis/flags/4x3/cn.svg +11 -0
  328. data/app/assets/images/satis/flags/4x3/co.svg +7 -0
  329. data/app/assets/images/satis/flags/4x3/cp.svg +7 -0
  330. data/app/assets/images/satis/flags/4x3/cr.svg +7 -0
  331. data/app/assets/images/satis/flags/4x3/cu.svg +13 -0
  332. data/app/assets/images/satis/flags/4x3/cv.svg +13 -0
  333. data/app/assets/images/satis/flags/4x3/cw.svg +14 -0
  334. data/app/assets/images/satis/flags/4x3/cx.svg +15 -0
  335. data/app/assets/images/satis/flags/4x3/cy.svg +6 -0
  336. data/app/assets/images/satis/flags/4x3/cz.svg +5 -0
  337. data/app/assets/images/satis/flags/4x3/de.svg +5 -0
  338. data/app/assets/images/satis/flags/4x3/dg.svg +138 -0
  339. data/app/assets/images/satis/flags/4x3/dj.svg +13 -0
  340. data/app/assets/images/satis/flags/4x3/dk.svg +5 -0
  341. data/app/assets/images/satis/flags/4x3/dm.svg +152 -0
  342. data/app/assets/images/satis/flags/4x3/do.svg +6745 -0
  343. data/app/assets/images/satis/flags/4x3/dz.svg +5 -0
  344. data/app/assets/images/satis/flags/4x3/ea.svg +544 -0
  345. data/app/assets/images/satis/flags/4x3/ec.svg +138 -0
  346. data/app/assets/images/satis/flags/4x3/ee.svg +7 -0
  347. data/app/assets/images/satis/flags/4x3/eg.svg +38 -0
  348. data/app/assets/images/satis/flags/4x3/eh.svg +16 -0
  349. data/app/assets/images/satis/flags/4x3/er.svg +8 -0
  350. data/app/assets/images/satis/flags/4x3/es-ct.svg +4 -0
  351. data/app/assets/images/satis/flags/4x3/es-ga.svg +189 -0
  352. data/app/assets/images/satis/flags/4x3/es.svg +544 -0
  353. data/app/assets/images/satis/flags/4x3/et.svg +14 -0
  354. data/app/assets/images/satis/flags/4x3/eu.svg +28 -0
  355. data/app/assets/images/satis/flags/4x3/fi.svg +5 -0
  356. data/app/assets/images/satis/flags/4x3/fj.svg +122 -0
  357. data/app/assets/images/satis/flags/4x3/fk.svg +90 -0
  358. data/app/assets/images/satis/flags/4x3/fm.svg +11 -0
  359. data/app/assets/images/satis/flags/4x3/fo.svg +12 -0
  360. data/app/assets/images/satis/flags/4x3/fr.svg +7 -0
  361. data/app/assets/images/satis/flags/4x3/ga.svg +7 -0
  362. data/app/assets/images/satis/flags/4x3/gb-eng.svg +5 -0
  363. data/app/assets/images/satis/flags/4x3/gb-nir.svg +132 -0
  364. data/app/assets/images/satis/flags/4x3/gb-sct.svg +4 -0
  365. data/app/assets/images/satis/flags/4x3/gb-wls.svg +9 -0
  366. data/app/assets/images/satis/flags/4x3/gb.svg +7 -0
  367. data/app/assets/images/satis/flags/4x3/gd.svg +27 -0
  368. data/app/assets/images/satis/flags/4x3/ge.svg +6 -0
  369. data/app/assets/images/satis/flags/4x3/gf.svg +7 -0
  370. data/app/assets/images/satis/flags/4x3/gg.svg +9 -0
  371. data/app/assets/images/satis/flags/4x3/gh.svg +6 -0
  372. data/app/assets/images/satis/flags/4x3/gi.svg +32 -0
  373. data/app/assets/images/satis/flags/4x3/gl.svg +4 -0
  374. data/app/assets/images/satis/flags/4x3/gm.svg +14 -0
  375. data/app/assets/images/satis/flags/4x3/gn.svg +7 -0
  376. data/app/assets/images/satis/flags/4x3/gp.svg +7 -0
  377. data/app/assets/images/satis/flags/4x3/gq.svg +23 -0
  378. data/app/assets/images/satis/flags/4x3/gr.svg +16 -0
  379. data/app/assets/images/satis/flags/4x3/gs.svg +242 -0
  380. data/app/assets/images/satis/flags/4x3/gt.svg +204 -0
  381. data/app/assets/images/satis/flags/4x3/gu.svg +39 -0
  382. data/app/assets/images/satis/flags/4x3/gw.svg +13 -0
  383. data/app/assets/images/satis/flags/4x3/gy.svg +9 -0
  384. data/app/assets/images/satis/flags/4x3/hk.svg +30 -0
  385. data/app/assets/images/satis/flags/4x3/hm.svg +9 -0
  386. data/app/assets/images/satis/flags/4x3/hn.svg +18 -0
  387. data/app/assets/images/satis/flags/4x3/hr.svg +58 -0
  388. data/app/assets/images/satis/flags/4x3/ht.svg +116 -0
  389. data/app/assets/images/satis/flags/4x3/hu.svg +7 -0
  390. data/app/assets/images/satis/flags/4x3/ic.svg +7 -0
  391. data/app/assets/images/satis/flags/4x3/id.svg +6 -0
  392. data/app/assets/images/satis/flags/4x3/ie.svg +7 -0
  393. data/app/assets/images/satis/flags/4x3/il.svg +14 -0
  394. data/app/assets/images/satis/flags/4x3/im.svg +36 -0
  395. data/app/assets/images/satis/flags/4x3/in.svg +25 -0
  396. data/app/assets/images/satis/flags/4x3/io.svg +138 -0
  397. data/app/assets/images/satis/flags/4x3/iq.svg +10 -0
  398. data/app/assets/images/satis/flags/4x3/ir.svg +219 -0
  399. data/app/assets/images/satis/flags/4x3/is.svg +12 -0
  400. data/app/assets/images/satis/flags/4x3/it.svg +7 -0
  401. data/app/assets/images/satis/flags/4x3/je.svg +47 -0
  402. data/app/assets/images/satis/flags/4x3/jm.svg +8 -0
  403. data/app/assets/images/satis/flags/4x3/jo.svg +16 -0
  404. data/app/assets/images/satis/flags/4x3/jp.svg +11 -0
  405. data/app/assets/images/satis/flags/4x3/ke.svg +23 -0
  406. data/app/assets/images/satis/flags/4x3/kg.svg +15 -0
  407. data/app/assets/images/satis/flags/4x3/kh.svg +61 -0
  408. data/app/assets/images/satis/flags/4x3/ki.svg +36 -0
  409. data/app/assets/images/satis/flags/4x3/km.svg +16 -0
  410. data/app/assets/images/satis/flags/4x3/kn.svg +14 -0
  411. data/app/assets/images/satis/flags/4x3/kp.svg +15 -0
  412. data/app/assets/images/satis/flags/4x3/kr.svg +24 -0
  413. data/app/assets/images/satis/flags/4x3/kw.svg +13 -0
  414. data/app/assets/images/satis/flags/4x3/ky.svg +225 -0
  415. data/app/assets/images/satis/flags/4x3/kz.svg +23 -0
  416. data/app/assets/images/satis/flags/4x3/la.svg +12 -0
  417. data/app/assets/images/satis/flags/4x3/lb.svg +15 -0
  418. data/app/assets/images/satis/flags/4x3/lc.svg +8 -0
  419. data/app/assets/images/satis/flags/4x3/li.svg +43 -0
  420. data/app/assets/images/satis/flags/4x3/lk.svg +22 -0
  421. data/app/assets/images/satis/flags/4x3/lr.svg +14 -0
  422. data/app/assets/images/satis/flags/4x3/ls.svg +8 -0
  423. data/app/assets/images/satis/flags/4x3/lt.svg +7 -0
  424. data/app/assets/images/satis/flags/4x3/lu.svg +5 -0
  425. data/app/assets/images/satis/flags/4x3/lv.svg +6 -0
  426. data/app/assets/images/satis/flags/4x3/ly.svg +13 -0
  427. data/app/assets/images/satis/flags/4x3/ma.svg +4 -0
  428. data/app/assets/images/satis/flags/4x3/mc.svg +6 -0
  429. data/app/assets/images/satis/flags/4x3/md.svg +70 -0
  430. data/app/assets/images/satis/flags/4x3/me.svg +116 -0
  431. data/app/assets/images/satis/flags/4x3/mf.svg +7 -0
  432. data/app/assets/images/satis/flags/4x3/mg.svg +7 -0
  433. data/app/assets/images/satis/flags/4x3/mh.svg +7 -0
  434. data/app/assets/images/satis/flags/4x3/mk.svg +5 -0
  435. data/app/assets/images/satis/flags/4x3/ml.svg +7 -0
  436. data/app/assets/images/satis/flags/4x3/mm.svg +16 -0
  437. data/app/assets/images/satis/flags/4x3/mn.svg +13 -0
  438. data/app/assets/images/satis/flags/4x3/mo.svg +9 -0
  439. data/app/assets/images/satis/flags/4x3/mp.svg +86 -0
  440. data/app/assets/images/satis/flags/4x3/mq.svg +7 -0
  441. data/app/assets/images/satis/flags/4x3/mr.svg +6 -0
  442. data/app/assets/images/satis/flags/4x3/ms.svg +78 -0
  443. data/app/assets/images/satis/flags/4x3/mt.svg +49 -0
  444. data/app/assets/images/satis/flags/4x3/mu.svg +8 -0
  445. data/app/assets/images/satis/flags/4x3/mv.svg +6 -0
  446. data/app/assets/images/satis/flags/4x3/mw.svg +10 -0
  447. data/app/assets/images/satis/flags/4x3/mx.svg +382 -0
  448. data/app/assets/images/satis/flags/4x3/my.svg +11 -0
  449. data/app/assets/images/satis/flags/4x3/mz.svg +21 -0
  450. data/app/assets/images/satis/flags/4x3/na.svg +16 -0
  451. data/app/assets/images/satis/flags/4x3/nc.svg +14 -0
  452. data/app/assets/images/satis/flags/4x3/ne.svg +6 -0
  453. data/app/assets/images/satis/flags/4x3/nf.svg +9 -0
  454. data/app/assets/images/satis/flags/4x3/ng.svg +6 -0
  455. data/app/assets/images/satis/flags/4x3/ni.svg +129 -0
  456. data/app/assets/images/satis/flags/4x3/nl.svg +5 -0
  457. data/app/assets/images/satis/flags/4x3/no.svg +7 -0
  458. data/app/assets/images/satis/flags/4x3/np.svg +14 -0
  459. data/app/assets/images/satis/flags/4x3/nr.svg +12 -0
  460. data/app/assets/images/satis/flags/4x3/nu.svg +26 -0
  461. data/app/assets/images/satis/flags/4x3/nz.svg +42 -0
  462. data/app/assets/images/satis/flags/4x3/om.svg +115 -0
  463. data/app/assets/images/satis/flags/4x3/pa.svg +14 -0
  464. data/app/assets/images/satis/flags/4x3/pe.svg +244 -0
  465. data/app/assets/images/satis/flags/4x3/pf.svg +19 -0
  466. data/app/assets/images/satis/flags/4x3/pg.svg +9 -0
  467. data/app/assets/images/satis/flags/4x3/ph.svg +9 -0
  468. data/app/assets/images/satis/flags/4x3/pk.svg +15 -0
  469. data/app/assets/images/satis/flags/4x3/pl.svg +6 -0
  470. data/app/assets/images/satis/flags/4x3/pm.svg +7 -0
  471. data/app/assets/images/satis/flags/4x3/pn.svg +97 -0
  472. data/app/assets/images/satis/flags/4x3/pr.svg +13 -0
  473. data/app/assets/images/satis/flags/4x3/ps.svg +15 -0
  474. data/app/assets/images/satis/flags/4x3/pt.svg +57 -0
  475. data/app/assets/images/satis/flags/4x3/pw.svg +11 -0
  476. data/app/assets/images/satis/flags/4x3/py.svg +157 -0
  477. data/app/assets/images/satis/flags/4x3/qa.svg +4 -0
  478. data/app/assets/images/satis/flags/4x3/re.svg +7 -0
  479. data/app/assets/images/satis/flags/4x3/ro.svg +7 -0
  480. data/app/assets/images/satis/flags/4x3/rs.svg +292 -0
  481. data/app/assets/images/satis/flags/4x3/ru.svg +7 -0
  482. data/app/assets/images/satis/flags/4x3/rw.svg +13 -0
  483. data/app/assets/images/satis/flags/4x3/sa.svg +26 -0
  484. data/app/assets/images/satis/flags/4x3/sb.svg +13 -0
  485. data/app/assets/images/satis/flags/4x3/sc.svg +14 -0
  486. data/app/assets/images/satis/flags/4x3/sd.svg +13 -0
  487. data/app/assets/images/satis/flags/4x3/se.svg +5 -0
  488. data/app/assets/images/satis/flags/4x3/sg.svg +13 -0
  489. data/app/assets/images/satis/flags/4x3/sh.svg +76 -0
  490. data/app/assets/images/satis/flags/4x3/si.svg +18 -0
  491. data/app/assets/images/satis/flags/4x3/sj.svg +7 -0
  492. data/app/assets/images/satis/flags/4x3/sk.svg +9 -0
  493. data/app/assets/images/satis/flags/4x3/sl.svg +7 -0
  494. data/app/assets/images/satis/flags/4x3/sm.svg +91 -0
  495. data/app/assets/images/satis/flags/4x3/sn.svg +8 -0
  496. data/app/assets/images/satis/flags/4x3/so.svg +11 -0
  497. data/app/assets/images/satis/flags/4x3/sr.svg +6 -0
  498. data/app/assets/images/satis/flags/4x3/ss.svg +8 -0
  499. data/app/assets/images/satis/flags/4x3/st.svg +16 -0
  500. data/app/assets/images/satis/flags/4x3/sv.svg +594 -0
  501. data/app/assets/images/satis/flags/4x3/sx.svg +56 -0
  502. data/app/assets/images/satis/flags/4x3/sy.svg +6 -0
  503. data/app/assets/images/satis/flags/4x3/sz.svg +45 -0
  504. data/app/assets/images/satis/flags/4x3/ta.svg +76 -0
  505. data/app/assets/images/satis/flags/4x3/tc.svg +52 -0
  506. data/app/assets/images/satis/flags/4x3/td.svg +7 -0
  507. data/app/assets/images/satis/flags/4x3/tf.svg +15 -0
  508. data/app/assets/images/satis/flags/4x3/tg.svg +14 -0
  509. data/app/assets/images/satis/flags/4x3/th.svg +7 -0
  510. data/app/assets/images/satis/flags/4x3/tj.svg +22 -0
  511. data/app/assets/images/satis/flags/4x3/tk.svg +5 -0
  512. data/app/assets/images/satis/flags/4x3/tl.svg +13 -0
  513. data/app/assets/images/satis/flags/4x3/tm.svg +206 -0
  514. data/app/assets/images/satis/flags/4x3/tn.svg +13 -0
  515. data/app/assets/images/satis/flags/4x3/to.svg +10 -0
  516. data/app/assets/images/satis/flags/4x3/tr.svg +8 -0
  517. data/app/assets/images/satis/flags/4x3/tt.svg +5 -0
  518. data/app/assets/images/satis/flags/4x3/tv.svg +16 -0
  519. data/app/assets/images/satis/flags/4x3/tw.svg +34 -0
  520. data/app/assets/images/satis/flags/4x3/tz.svg +13 -0
  521. data/app/assets/images/satis/flags/4x3/ua.svg +6 -0
  522. data/app/assets/images/satis/flags/4x3/ug.svg +30 -0
  523. data/app/assets/images/satis/flags/4x3/um.svg +15 -0
  524. data/app/assets/images/satis/flags/4x3/un.svg +16 -0
  525. data/app/assets/images/satis/flags/4x3/us.svg +10 -0
  526. data/app/assets/images/satis/flags/4x3/uy.svg +28 -0
  527. data/app/assets/images/satis/flags/4x3/uz.svg +30 -0
  528. data/app/assets/images/satis/flags/4x3/va.svg +479 -0
  529. data/app/assets/images/satis/flags/4x3/vc.svg +8 -0
  530. data/app/assets/images/satis/flags/4x3/ve.svg +26 -0
  531. data/app/assets/images/satis/flags/4x3/vg.svg +127 -0
  532. data/app/assets/images/satis/flags/4x3/vi.svg +28 -0
  533. data/app/assets/images/satis/flags/4x3/vn.svg +11 -0
  534. data/app/assets/images/satis/flags/4x3/vu.svg +18 -0
  535. data/app/assets/images/satis/flags/4x3/wf.svg +7 -0
  536. data/app/assets/images/satis/flags/4x3/ws.svg +7 -0
  537. data/app/assets/images/satis/flags/4x3/xk.svg +16 -0
  538. data/app/assets/images/satis/flags/4x3/xx.svg +5 -0
  539. data/app/assets/images/satis/flags/4x3/ye.svg +7 -0
  540. data/app/assets/images/satis/flags/4x3/yt.svg +7 -0
  541. data/app/assets/images/satis/flags/4x3/za.svg +17 -0
  542. data/app/assets/images/satis/flags/4x3/zm.svg +27 -0
  543. data/app/assets/images/satis/flags/4x3/zw.svg +21 -0
  544. data/app/assets/images/satis/intl-tel-input/flags.png +0 -0
  545. data/app/assets/images/satis/intl-tel-input/flags@2x.png +0 -0
  546. data/app/assets/images/satis/leaflet/layers-2x.png +0 -0
  547. data/app/assets/images/satis/leaflet/layers.png +0 -0
  548. data/app/assets/images/satis/leaflet/marker-icon-2x.png +0 -0
  549. data/app/assets/images/satis/leaflet/marker-icon.png +0 -0
  550. data/app/assets/images/satis/leaflet/marker-shadow.png +0 -0
  551. data/app/assets/stylesheets/satis/application.css +68 -15
  552. data/app/assets/stylesheets/satis/components/diffy.css +74 -0
  553. data/app/assets/stylesheets/satis/components/flag-icons.min.css +1 -0
  554. data/app/assets/stylesheets/satis/components/form.css +158 -0
  555. data/app/assets/stylesheets/satis/components/intlTelInput.min.css +1 -0
  556. data/app/assets/stylesheets/satis/components/leaflet.css +661 -0
  557. data/app/assets/stylesheets/satis/components/phone-number.css +30 -0
  558. data/app/assets/stylesheets/satis/components/tippyjs.css +8 -0
  559. data/app/assets/stylesheets/satis/components/trix.css +412 -0
  560. data/app/components/satis/appearance_switcher/{component.scss → component.css} +1 -1
  561. data/app/components/satis/appearance_switcher/component.html.slim +1 -1
  562. data/app/components/satis/appearance_switcher/component_controller.js +3 -4
  563. data/app/components/satis/application_component.rb +8 -42
  564. data/app/components/satis/avatar/component.rb +3 -1
  565. data/app/components/satis/calendar_month/component.html.slim +522 -0
  566. data/app/components/satis/calendar_month/component.rb +9 -0
  567. data/app/components/satis/card/component.css +19 -0
  568. data/app/components/satis/card/component.html.slim +8 -32
  569. data/app/components/satis/card/component.rb +35 -8
  570. data/app/components/satis/date_time_picker/component.rb +10 -10
  571. data/app/components/satis/date_time_picker/component_controller.js +61 -45
  572. data/app/components/satis/dialog/component.css +0 -0
  573. data/app/components/satis/dialog/component.html.slim +26 -0
  574. data/app/components/satis/dialog/component.rb +22 -0
  575. data/app/components/satis/dialog/component_controller.js +16 -0
  576. data/app/components/satis/dropdown/{component.scss → component.css} +5 -1
  577. data/app/components/satis/dropdown/component.html.slim +28 -14
  578. data/app/components/satis/dropdown/component.rb +44 -7
  579. data/app/components/satis/dropdown/component_controller.js +568 -172
  580. data/app/components/satis/editor/component.css +3 -0
  581. data/app/components/satis/editor/component.html.slim +5 -0
  582. data/app/components/satis/editor/component.rb +45 -0
  583. data/app/components/satis/editor/component_controller.js +90 -0
  584. data/app/components/satis/flash_messages/{component.scss → component.css} +5 -4
  585. data/app/components/satis/info_item/component.html.slim +2 -2
  586. data/app/components/satis/info_item/component.rb +10 -2
  587. data/app/components/satis/input/component_controller.js +20 -0
  588. data/app/components/satis/input_array/component.css +3 -0
  589. data/app/components/satis/input_array/component.html.slim +33 -0
  590. data/app/components/satis/input_array/component.rb +18 -0
  591. data/app/components/satis/input_array/component_controller.js +54 -0
  592. data/app/components/satis/map/{component.scss → component.css} +1 -1
  593. data/app/components/satis/map/component.html.slim +1 -1
  594. data/app/components/satis/map/component_controller.js +14 -12
  595. data/app/components/satis/menu/component.html.slim +4 -5
  596. data/app/components/satis/menu/component.rb +8 -3
  597. data/app/components/satis/menu/component_controller.js +139 -17
  598. data/app/components/satis/menu_item/component.html.slim +13 -8
  599. data/app/components/satis/menu_item/component.rb +1 -0
  600. data/app/components/satis/page/component.html.slim +30 -12
  601. data/app/components/satis/page/component_controller.js +2 -2
  602. data/app/components/satis/progress_bar/component.html.slim +4 -0
  603. data/app/components/satis/progress_bar/component.rb +57 -0
  604. data/app/components/satis/sidebar_menu/component.css +0 -0
  605. data/app/components/satis/sidebar_menu/component.html.slim +2 -3
  606. data/app/components/satis/sidebar_menu/component_controller.js +3 -4
  607. data/app/components/satis/sidebar_menu/mobile/component.html.slim +1 -2
  608. data/app/components/satis/sidebar_menu_item/component.html.slim +8 -5
  609. data/app/components/satis/sidebar_menu_item/component.rb +1 -0
  610. data/app/components/satis/sidebar_menu_item/component_controller.js +13 -4
  611. data/app/components/satis/switch/component_controller.js +3 -4
  612. data/app/components/satis/tab/component.rb +41 -17
  613. data/app/components/satis/tabs/{component.scss → component.css} +17 -1
  614. data/app/components/satis/tabs/component.html.slim +23 -9
  615. data/app/components/satis/tabs/component.rb +9 -2
  616. data/app/components/satis/tabs/component_controller.js +34 -19
  617. data/app/controllers/satis/dialogs_controller.rb +20 -0
  618. data/app/controllers/satis/documentation/avatars_controller.rb +7 -0
  619. data/app/controllers/satis/documentation/cards_controller.rb +6 -0
  620. data/app/controllers/satis/documentation/editors_controller.rb +12 -0
  621. data/app/controllers/satis/documentation/forms_controller.rb +14 -0
  622. data/app/controllers/satis/documentation/tabs_controller.rb +7 -0
  623. data/app/controllers/satis/documentation_controller.rb +6 -0
  624. data/app/controllers/satis/user_data_controller.rb +5 -4
  625. data/app/helpers/satis/showcases/avatars_helper.rb +4 -0
  626. data/app/javascript/satis/application.js +8 -0
  627. data/app/javascript/satis/controllers/application.js +12 -0
  628. data/app/javascript/satis/controllers/application_controller.js +71 -0
  629. data/app/javascript/satis/controllers/fields_for_controller.js +74 -0
  630. data/app/javascript/satis/controllers/file_controller.js +26 -0
  631. data/app/javascript/satis/controllers/form_controller.js +77 -0
  632. data/app/javascript/satis/controllers/index.js +70 -0
  633. data/app/javascript/satis/controllers/link_controller.js +34 -0
  634. data/app/javascript/satis/controllers/phone_number_controller.js +30 -0
  635. data/app/javascript/satis/elements/copyable_element.js +57 -0
  636. data/app/javascript/satis/utility_controllers/draggable_controller.js +144 -0
  637. data/app/javascript/satis/utility_controllers/help_controller.js +18 -0
  638. data/app/javascript/satis/utility_controllers/index.js +14 -0
  639. data/app/javascript/satis/utility_controllers/show_hide_controller.js +71 -0
  640. data/app/javascript/satis/utility_controllers/toggle_controller.js +100 -0
  641. data/app/javascript/satis/utils.js +41 -0
  642. data/app/models/satis/user_data.rb +3 -1
  643. data/app/views/satis/documentation/avatars/index.html.slim +39 -0
  644. data/app/views/satis/documentation/cards/index.html.slim +72 -0
  645. data/app/views/satis/documentation/editors/index.html.slim +44 -0
  646. data/app/views/satis/documentation/forms/index.html.slim +109 -0
  647. data/app/views/satis/documentation/forms/select.html.slim +7 -0
  648. data/app/views/satis/documentation/index.html.slim +6 -0
  649. data/app/views/satis/documentation/tabs/index.html.slim +31 -0
  650. data/app/views/shared/_fields_for.html.slim +3 -3
  651. data/bin/importmap +4 -0
  652. data/bin/rails +14 -0
  653. data/config/importmap.rb +49 -0
  654. data/config/locales/en.yml +9 -0
  655. data/config/routes.rb +14 -0
  656. data/db/migrate/20221212083110_change_satis_user_data.rb +2 -2
  657. data/db/migrate/20230918115448_add_type_to_satis_user_data.rb +10 -0
  658. data/lib/generators/satis/install_generator.rb +22 -0
  659. data/lib/generators/satis/tailwind_config_generator.rb +24 -0
  660. data/lib/generators/satis/templates/config/initializers/satis.rb +13 -0
  661. data/lib/satis/concerns/contextual_translations.rb +58 -0
  662. data/lib/satis/configuration.rb +51 -30
  663. data/lib/satis/engine.rb +25 -10
  664. data/lib/satis/forms/builder.rb +130 -87
  665. data/lib/satis/forms/concerns/buttons.rb +2 -2
  666. data/lib/satis/forms/concerns/file.rb +1 -1
  667. data/lib/satis/helpers/container.rb +9 -7
  668. data/lib/satis/menus/item.rb +1 -1
  669. data/lib/satis/menus/menu.rb +3 -2
  670. data/lib/satis/version.rb +1 -1
  671. data/lib/satis.rb +2 -10
  672. data/lib/tasks/satis_tasks.rake +13 -4
  673. data/package.json +9 -0
  674. data/satis.gemspec +39 -0
  675. data/vendor/javascript/@codemirror--autocomplete.js +2 -0
  676. data/vendor/javascript/@codemirror--commands.js +2 -0
  677. data/vendor/javascript/@codemirror--lang-css.js +2 -0
  678. data/vendor/javascript/@codemirror--lang-html.js +2 -0
  679. data/vendor/javascript/@codemirror--lang-javascript.js +2 -0
  680. data/vendor/javascript/@codemirror--lang-json.js +2 -0
  681. data/vendor/javascript/@codemirror--lang-liquid.js +2 -0
  682. data/vendor/javascript/@codemirror--lang-markdown.js +2 -0
  683. data/vendor/javascript/@codemirror--lang-yaml.js +2 -0
  684. data/vendor/javascript/@codemirror--language.js +2 -0
  685. data/vendor/javascript/@codemirror--lint.js +2 -0
  686. data/vendor/javascript/@codemirror--search.js +2 -0
  687. data/vendor/javascript/@codemirror--state.js +2 -0
  688. data/vendor/javascript/@codemirror--view.js +2 -0
  689. data/vendor/javascript/@lezer--common.js +2 -0
  690. data/vendor/javascript/@lezer--css.js +2 -0
  691. data/vendor/javascript/@lezer--highlight.js +2 -0
  692. data/vendor/javascript/@lezer--html.js +2 -0
  693. data/vendor/javascript/@lezer--javascript.js +2 -0
  694. data/vendor/javascript/@lezer--json.js +2 -0
  695. data/vendor/javascript/@lezer--lr.js +2 -0
  696. data/vendor/javascript/@lezer--markdown.js +2 -0
  697. data/vendor/javascript/@lezer--yaml.js +2 -0
  698. data/vendor/javascript/@rails--actiontext.js +2 -0
  699. data/vendor/javascript/codemirror.js +2 -0
  700. data/vendor/javascript/crelt.js +2 -0
  701. data/vendor/javascript/data.min.js +7 -0
  702. data/vendor/javascript/intl-tel-input-utils.js +520 -0
  703. data/vendor/javascript/intl-tel-input.js +1782 -0
  704. data/vendor/javascript/leaflet.js +6 -0
  705. data/vendor/javascript/popper.js.js +1805 -0
  706. data/vendor/javascript/sortablejs.js +134 -0
  707. data/vendor/javascript/style-mod.js +2 -0
  708. data/vendor/javascript/tippy.js.js +2 -0
  709. data/vendor/javascript/trix.js +2 -0
  710. data/vendor/javascript/w3c-keyname.js +2 -0
  711. data/yarn.lock +821 -0
  712. metadata +755 -20
  713. data/app/components/satis/card/component.md +0 -14
  714. data/app/components/satis/card/component.scss +0 -15
  715. /data/app/{components/satis/sidebar_menu/component.scss → assets/images/satis/.keep} +0 -0
  716. /data/app/components/satis/breadcrumbs/{component.scss → component.css} +0 -0
  717. /data/app/components/satis/date_time_picker/{component.scss → component.css} +0 -0
  718. /data/app/components/satis/input/{component.scss → component.css} +0 -0
  719. /data/app/components/satis/menu/{component.scss → component.css} +0 -0
  720. /data/app/components/satis/sidebar_menu_item/{component.scss → component.css} +0 -0
@@ -0,0 +1,412 @@
1
+ trix-editor {
2
+ border: 1px solid #bbb;
3
+ border-radius: 3px;
4
+ margin: 0;
5
+ padding: 0.4em 0.6em;
6
+ min-height: 5em;
7
+ outline: none; }
8
+
9
+ trix-toolbar * {
10
+ box-sizing: border-box; }
11
+
12
+ trix-toolbar .trix-button-row {
13
+ display: flex;
14
+ flex-wrap: nowrap;
15
+ justify-content: space-between;
16
+ overflow-x: auto; }
17
+
18
+ trix-toolbar .trix-button-group {
19
+ display: flex;
20
+ margin-bottom: 10px;
21
+ border: 1px solid #bbb;
22
+ border-top-color: #ccc;
23
+ border-bottom-color: #888;
24
+ border-radius: 3px; }
25
+ trix-toolbar .trix-button-group:not(:first-child) {
26
+ margin-left: 1.5vw; }
27
+ @media (max-width: 768px) {
28
+ trix-toolbar .trix-button-group:not(:first-child) {
29
+ margin-left: 0; } }
30
+
31
+ trix-toolbar .trix-button-group-spacer {
32
+ flex-grow: 1; }
33
+ @media (max-width: 768px) {
34
+ trix-toolbar .trix-button-group-spacer {
35
+ display: none; } }
36
+
37
+ trix-toolbar .trix-button {
38
+ position: relative;
39
+ float: left;
40
+ color: rgba(0, 0, 0, 0.6);
41
+ font-size: 0.75em;
42
+ font-weight: 600;
43
+ white-space: nowrap;
44
+ padding: 0 0.5em;
45
+ margin: 0;
46
+ outline: none;
47
+ border: none;
48
+ border-bottom: 1px solid #ddd;
49
+ border-radius: 0;
50
+ background: transparent; }
51
+ trix-toolbar .trix-button:not(:first-child) {
52
+ border-left: 1px solid #ccc; }
53
+ trix-toolbar .trix-button.trix-active {
54
+ background: #cbeefa;
55
+ color: black; }
56
+ trix-toolbar .trix-button:not(:disabled) {
57
+ cursor: pointer; }
58
+ trix-toolbar .trix-button:disabled {
59
+ color: rgba(0, 0, 0, 0.125); }
60
+ @media (max-width: 768px) {
61
+ trix-toolbar .trix-button {
62
+ letter-spacing: -0.01em;
63
+ padding: 0 0.3em; } }
64
+
65
+ trix-toolbar .trix-button--icon {
66
+ font-size: inherit;
67
+ width: 2.6em;
68
+ height: 1.6em;
69
+ max-width: calc(0.8em + 4vw);
70
+ text-indent: -9999px; }
71
+ @media (max-width: 768px) {
72
+ trix-toolbar .trix-button--icon {
73
+ height: 2em;
74
+ max-width: calc(0.8em + 3.5vw); } }
75
+ trix-toolbar .trix-button--icon::before {
76
+ display: inline-block;
77
+ position: absolute;
78
+ top: 0;
79
+ right: 0;
80
+ bottom: 0;
81
+ left: 0;
82
+ opacity: 0.6;
83
+ content: "";
84
+ background-position: center;
85
+ background-repeat: no-repeat;
86
+ background-size: contain; }
87
+ @media (max-width: 768px) {
88
+ trix-toolbar .trix-button--icon::before {
89
+ right: 6%;
90
+ left: 6%; } }
91
+ trix-toolbar .trix-button--icon.trix-active::before {
92
+ opacity: 1; }
93
+ trix-toolbar .trix-button--icon:disabled::before {
94
+ opacity: 0.125; }
95
+
96
+ trix-toolbar .trix-button--icon-attach::before {
97
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
98
+ top: 8%;
99
+ bottom: 4%; }
100
+
101
+ trix-toolbar .trix-button--icon-bold::before {
102
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
103
+
104
+ trix-toolbar .trix-button--icon-italic::before {
105
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
106
+
107
+ trix-toolbar .trix-button--icon-link::before {
108
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
109
+
110
+ trix-toolbar .trix-button--icon-strike::before {
111
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
112
+
113
+ trix-toolbar .trix-button--icon-quote::before {
114
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
115
+
116
+ trix-toolbar .trix-button--icon-heading-1::before {
117
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
118
+
119
+ trix-toolbar .trix-button--icon-code::before {
120
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
121
+
122
+ trix-toolbar .trix-button--icon-bullet-list::before {
123
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
124
+
125
+ trix-toolbar .trix-button--icon-number-list::before {
126
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
127
+
128
+ trix-toolbar .trix-button--icon-undo::before {
129
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
130
+
131
+ trix-toolbar .trix-button--icon-redo::before {
132
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
133
+
134
+ trix-toolbar .trix-button--icon-decrease-nesting-level::before {
135
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
136
+
137
+ trix-toolbar .trix-button--icon-increase-nesting-level::before {
138
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }
139
+
140
+ trix-toolbar .trix-dialogs {
141
+ position: relative; }
142
+
143
+ trix-toolbar .trix-dialog {
144
+ position: absolute;
145
+ top: 0;
146
+ left: 0;
147
+ right: 0;
148
+ font-size: 0.75em;
149
+ padding: 15px 10px;
150
+ background: #fff;
151
+ box-shadow: 0 0.3em 1em #ccc;
152
+ border-top: 2px solid #888;
153
+ border-radius: 5px;
154
+ z-index: 5; }
155
+
156
+ trix-toolbar .trix-input--dialog {
157
+ font-size: inherit;
158
+ font-weight: normal;
159
+ padding: 0.5em 0.8em;
160
+ margin: 0 10px 0 0;
161
+ border-radius: 3px;
162
+ border: 1px solid #bbb;
163
+ background-color: #fff;
164
+ box-shadow: none;
165
+ outline: none;
166
+ -webkit-appearance: none;
167
+ -moz-appearance: none; }
168
+ trix-toolbar .trix-input--dialog.validate:invalid {
169
+ box-shadow: #F00 0px 0px 1.5px 1px; }
170
+
171
+ trix-toolbar .trix-button--dialog {
172
+ font-size: inherit;
173
+ padding: 0.5em;
174
+ border-bottom: none; }
175
+
176
+ trix-toolbar .trix-dialog--link {
177
+ max-width: 600px; }
178
+
179
+ trix-toolbar .trix-dialog__link-fields {
180
+ display: flex;
181
+ align-items: baseline; }
182
+ trix-toolbar .trix-dialog__link-fields .trix-input {
183
+ flex: 1; }
184
+ trix-toolbar .trix-dialog__link-fields .trix-button-group {
185
+ flex: 0 0 content;
186
+ margin: 0; }
187
+
188
+ trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
189
+ -webkit-user-select: none;
190
+ -moz-user-select: none;
191
+ -ms-user-select: none;
192
+ user-select: none; }
193
+
194
+ trix-editor [data-trix-mutable]::-moz-selection,
195
+ trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
196
+ background: none; }
197
+
198
+ trix-editor [data-trix-mutable]::selection,
199
+ trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {
200
+ background: none; }
201
+
202
+ trix-editor .attachment__caption-editor:focus[data-trix-mutable]::-moz-selection {
203
+ background: highlight; }
204
+
205
+ trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
206
+ background: highlight; }
207
+
208
+ trix-editor [data-trix-mutable].attachment.attachment--file {
209
+ box-shadow: 0 0 0 2px highlight;
210
+ border-color: transparent; }
211
+
212
+ trix-editor [data-trix-mutable].attachment img {
213
+ box-shadow: 0 0 0 2px highlight; }
214
+
215
+ trix-editor .attachment {
216
+ position: relative; }
217
+ trix-editor .attachment:hover {
218
+ cursor: default; }
219
+
220
+ trix-editor .attachment--preview .attachment__caption:hover {
221
+ cursor: text; }
222
+
223
+ trix-editor .attachment__progress {
224
+ position: absolute;
225
+ z-index: 1;
226
+ height: 20px;
227
+ top: calc(50% - 10px);
228
+ left: 5%;
229
+ width: 90%;
230
+ opacity: 0.9;
231
+ transition: opacity 200ms ease-in; }
232
+ trix-editor .attachment__progress[value="100"] {
233
+ opacity: 0; }
234
+
235
+ trix-editor .attachment__caption-editor {
236
+ display: inline-block;
237
+ width: 100%;
238
+ margin: 0;
239
+ padding: 0;
240
+ font-size: inherit;
241
+ font-family: inherit;
242
+ line-height: inherit;
243
+ color: inherit;
244
+ text-align: center;
245
+ vertical-align: top;
246
+ border: none;
247
+ outline: none;
248
+ -webkit-appearance: none;
249
+ -moz-appearance: none; }
250
+
251
+ trix-editor .attachment__toolbar {
252
+ position: absolute;
253
+ z-index: 1;
254
+ top: -0.9em;
255
+ left: 0;
256
+ width: 100%;
257
+ text-align: center; }
258
+
259
+ trix-editor .trix-button-group {
260
+ display: inline-flex; }
261
+
262
+ trix-editor .trix-button {
263
+ position: relative;
264
+ float: left;
265
+ color: #666;
266
+ white-space: nowrap;
267
+ font-size: 80%;
268
+ padding: 0 0.8em;
269
+ margin: 0;
270
+ outline: none;
271
+ border: none;
272
+ border-radius: 0;
273
+ background: transparent; }
274
+ trix-editor .trix-button:not(:first-child) {
275
+ border-left: 1px solid #ccc; }
276
+ trix-editor .trix-button.trix-active {
277
+ background: #cbeefa; }
278
+ trix-editor .trix-button:not(:disabled) {
279
+ cursor: pointer; }
280
+
281
+ trix-editor .trix-button--remove {
282
+ text-indent: -9999px;
283
+ display: inline-block;
284
+ padding: 0;
285
+ outline: none;
286
+ width: 1.8em;
287
+ height: 1.8em;
288
+ line-height: 1.8em;
289
+ border-radius: 50%;
290
+ background-color: #fff;
291
+ border: 2px solid highlight;
292
+ box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25); }
293
+ trix-editor .trix-button--remove::before {
294
+ display: inline-block;
295
+ position: absolute;
296
+ top: 0;
297
+ right: 0;
298
+ bottom: 0;
299
+ left: 0;
300
+ opacity: 0.7;
301
+ content: "";
302
+ background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
303
+ background-position: center;
304
+ background-repeat: no-repeat;
305
+ background-size: 90%; }
306
+ trix-editor .trix-button--remove:hover {
307
+ border-color: #333; }
308
+ trix-editor .trix-button--remove:hover::before {
309
+ opacity: 1; }
310
+
311
+ trix-editor .attachment__metadata-container {
312
+ position: relative; }
313
+
314
+ trix-editor .attachment__metadata {
315
+ position: absolute;
316
+ left: 50%;
317
+ top: 2em;
318
+ transform: translate(-50%, 0);
319
+ max-width: 90%;
320
+ padding: 0.1em 0.6em;
321
+ font-size: 0.8em;
322
+ color: #fff;
323
+ background-color: rgba(0, 0, 0, 0.7);
324
+ border-radius: 3px; }
325
+ trix-editor .attachment__metadata .attachment__name {
326
+ display: inline-block;
327
+ max-width: 100%;
328
+ vertical-align: bottom;
329
+ overflow: hidden;
330
+ text-overflow: ellipsis;
331
+ white-space: nowrap; }
332
+ trix-editor .attachment__metadata .attachment__size {
333
+ margin-left: 0.2em;
334
+ white-space: nowrap; }
335
+
336
+ .trix-content {
337
+ line-height: 1.5;
338
+ overflow-wrap: break-word;
339
+ word-break: break-word; }
340
+ .trix-content * {
341
+ box-sizing: border-box;
342
+ margin: 0;
343
+ padding: 0; }
344
+ .trix-content h1 {
345
+ font-size: 1.2em;
346
+ line-height: 1.2; }
347
+ .trix-content blockquote {
348
+ border: 0 solid #ccc;
349
+ border-left-width: 0.3em;
350
+ margin-left: 0.3em;
351
+ padding-left: 0.6em; }
352
+ .trix-content [dir=rtl] blockquote,
353
+ .trix-content blockquote[dir=rtl] {
354
+ border-width: 0;
355
+ border-right-width: 0.3em;
356
+ margin-right: 0.3em;
357
+ padding-right: 0.6em; }
358
+ .trix-content li {
359
+ margin-left: 1em; }
360
+ .trix-content [dir=rtl] li {
361
+ margin-right: 1em; }
362
+ .trix-content pre {
363
+ display: inline-block;
364
+ width: 100%;
365
+ vertical-align: top;
366
+ font-family: monospace;
367
+ font-size: 0.9em;
368
+ padding: 0.5em;
369
+ white-space: pre;
370
+ background-color: #eee;
371
+ overflow-x: auto; }
372
+ .trix-content img {
373
+ max-width: 100%;
374
+ height: auto; }
375
+ .trix-content .attachment {
376
+ display: inline-block;
377
+ position: relative;
378
+ max-width: 100%; }
379
+ .trix-content .attachment a {
380
+ color: inherit;
381
+ text-decoration: none; }
382
+ .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
383
+ color: inherit; }
384
+ .trix-content .attachment__caption {
385
+ text-align: center; }
386
+ .trix-content .attachment__caption .attachment__name + .attachment__size::before {
387
+ content: ' \2022 '; }
388
+ .trix-content .attachment--preview {
389
+ width: 100%;
390
+ text-align: center; }
391
+ .trix-content .attachment--preview .attachment__caption {
392
+ color: #666;
393
+ font-size: 0.9em;
394
+ line-height: 1.2; }
395
+ .trix-content .attachment--file {
396
+ color: #333;
397
+ line-height: 1;
398
+ margin: 0 2px 2px 2px;
399
+ padding: 0.4em 1em;
400
+ border: 1px solid #bbb;
401
+ border-radius: 5px; }
402
+ .trix-content .attachment-gallery {
403
+ display: flex;
404
+ flex-wrap: wrap;
405
+ position: relative; }
406
+ .trix-content .attachment-gallery .attachment {
407
+ flex: 1 0 33%;
408
+ padding: 0 0.5em;
409
+ max-width: 33%; }
410
+ .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
411
+ flex-basis: 50%;
412
+ max-width: 50%; }
@@ -1,5 +1,5 @@
1
1
  .sts-appearance-switcher {
2
- @apply w-8 h-8 bg-white rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 dark:bg-gray-900 dark:border-gray-700 overflow-hidden relative;
2
+ @apply w-8 h-8 bg-white rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 dark:bg-gray-800 dark:border-gray-600 overflow-hidden relative;
3
3
  text-align: center;
4
4
 
5
5
  &__theme {
@@ -2,5 +2,5 @@
2
2
  .sts-appearance-switcher__theme.sts-appearance-switcher__theme_light data-satis-appearance-switcher-target="light"
3
3
  i.fa-solid.fa-sun.sts-appearance-switcher__icon.sts-appearance-switcher__icon_light
4
4
  .sts-appearance-switcher__theme.sts-appearance-switcher__theme_dark data-satis-appearance-switcher-target="dark"
5
- i.fa-solid.fa-moon-stars.sts-appearance-switcher__icon.sts-appearance-switcher__icon_dark
5
+ i.fa-solid.fa-moon.sts-appearance-switcher__icon.sts-appearance-switcher__icon_dark
6
6
  .sts-appearance-switcher__label Switch theme
@@ -1,5 +1,5 @@
1
- import ApplicationController from "../../../../frontend/controllers/application_controller"
2
- import { getInitialTheme } from "../../../../frontend/utils"
1
+ import ApplicationController from "satis/controllers/application_controller"
2
+ import { getInitialTheme } from "satis/utils"
3
3
 
4
4
  /*
5
5
  * Theme controller
@@ -9,12 +9,11 @@ import { getInitialTheme } from "../../../../frontend/utils"
9
9
  * i.fal.fa-moon-stars data-satis-appearance-switcher-target="dark"
10
10
  *
11
11
  */
12
- export default class extends ApplicationController {
12
+ export default class AppearanceSwitcherComponentController extends ApplicationController {
13
13
  static targets = ["light", "dark"]
14
14
 
15
15
  connect() {
16
16
  super.connect()
17
-
18
17
  const theme = getInitialTheme()
19
18
  this.rawSetTheme(theme, false)
20
19
  }
@@ -1,54 +1,21 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'satis/concerns/contextual_translations'
4
+
3
5
  module Satis
4
6
  class ApplicationComponent < ViewComponent::Base
5
- include ViewComponent::SlotableV2
7
+ include ViewComponent::Slotable
6
8
  include ActionView::Helpers::TranslationHelper
9
+ include Turbo::FramesHelper
7
10
 
8
11
  attr_accessor :original_view_context
9
12
 
10
13
  delegate :add_helper, to: :class
11
14
 
12
-
13
- #
14
- # This provides us with a translation helper which scopes into the original view
15
- # and thereby conveniently scopes the translations.
16
- #
17
- # In your component.html.slim you can use:
18
- # ```slim
19
- # = ct(".#{tab.name}", scope: [group.to_sym])
20
- # ````
21
- #
22
- # It'll then try and find a translation with scope: en.admin.spaces.edit.tabs.main.admin_versions
23
- #
24
- def ct(key = nil, **options)
25
- scope = Array.wrap(options.delete(:scope))
26
-
27
- scope = if scope
28
- scope.unshift(i18n_scope)
29
- else
30
- [i18n_scope]
31
- end
32
-
33
- scope = original_i18n_scope.concat(scope)
34
-
35
- key = key&.to_s unless key.is_a?(String)
36
- key = "#{scope.join('.')}#{key}" if key.start_with?('.')
37
-
38
- original_view_context.t(key, **options)
39
- end
40
-
41
- def original_virtual_path
42
- original_view_context.instance_variable_get(:@virtual_path)
43
- end
44
-
45
- def original_i18n_scope
46
- original_virtual_path.sub(%r{^/}, '').gsub(%r{/_?}, '.').split('.')
47
- end
48
-
49
- def i18n_scope
50
- self.class.name.split('::').second.underscore.to_sym
51
- end
15
+ include Satis::Concerns::ContextualTranslations
16
+ # def original_view_context
17
+ # @template
18
+ # end
52
19
 
53
20
  def component_name
54
21
  self.class.name.sub(/::Component$/, "").sub(/^Satis::/, "").underscore
@@ -72,6 +39,5 @@ module Satis
72
39
  original_view_context.render(instance, &block)
73
40
  end
74
41
  end
75
-
76
42
  end
77
43
  end
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require 'net/http'
2
3
 
3
4
  module Satis
4
5
  module Avatar
@@ -25,7 +26,8 @@ module Satis
25
26
  def photo_url
26
27
  return unless photo&.attached?
27
28
 
28
- helpers.main_app.url_for(photo)
29
+ #helpers.main_app.url_for(photo)
30
+ Rails.application.routes.url_helpers.rails_blob_path(photo, only_path: true)
29
31
  end
30
32
 
31
33
  def gravatar?