@jackuait/blok 0.10.3 → 0.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist/blok.mjs +2 -2
  2. package/dist/chunks/{blok-3wc3aInM.mjs → blok-DSP5zC_s.mjs} +2374 -2159
  3. package/dist/chunks/{constants-Bp622jic.mjs → constants-B0Tns0mh.mjs} +318 -227
  4. package/dist/chunks/{i18next-loader-CDnSPae_.mjs → i18next-loader-D_v0EmDP.mjs} +1 -1
  5. package/dist/chunks/{lightweight-i18n-DZmo8dAI.mjs → lightweight-i18n-DTYoSr_o.mjs} +21 -0
  6. package/dist/{messages-bkGniiaz.mjs → chunks/messages--X-ZzYSb.mjs} +24 -3
  7. package/dist/chunks/{messages-DrfRYiM32.mjs → messages--tSqMtkx2.mjs} +24 -3
  8. package/dist/chunks/{messages-CW35K1pq.mjs → messages-3w1e16T2.mjs} +25 -4
  9. package/dist/chunks/{messages-BHMiK51R.mjs → messages-B5BaA6AV.mjs} +24 -3
  10. package/dist/{messages-DKHbt-7l2.mjs → chunks/messages-B5ZVSxG4.mjs} +25 -4
  11. package/dist/chunks/{messages-kGmxkeFH.mjs → messages-B9PUHq4t.mjs} +24 -3
  12. package/dist/chunks/{messages-BlxwW7M6.mjs → messages-BAxCMQgm.mjs} +24 -3
  13. package/dist/chunks/{messages-BRAoJpOu.mjs → messages-BDhWRN6Y.mjs} +25 -4
  14. package/dist/{messages-CdEASHDp2.mjs → chunks/messages-BGpx2ecP2.mjs} +24 -3
  15. package/dist/{messages-C6ONf71u2.mjs → chunks/messages-BHUQs6402.mjs} +24 -3
  16. package/dist/{messages-BrOWqNCu2.mjs → chunks/messages-BIXCvkbG.mjs} +24 -3
  17. package/dist/chunks/{messages-DMoERagV2.mjs → messages-BKeL1zk-2.mjs} +24 -3
  18. package/dist/chunks/{messages-DjvaiALg2.mjs → messages-Bedied602.mjs} +24 -3
  19. package/dist/chunks/{messages-oMc7qugU2.mjs → messages-Bg8uBETk2.mjs} +24 -3
  20. package/dist/{messages-CRNogopy2.mjs → chunks/messages-Blg1X6YL.mjs} +24 -3
  21. package/dist/chunks/{messages-euM2m3wQ.mjs → messages-BmDMK9Dg.mjs} +24 -3
  22. package/dist/{messages-D3rwCtKn.mjs → chunks/messages-BmDw1fZF2.mjs} +24 -3
  23. package/dist/{messages-qfvXgPpu2.mjs → chunks/messages-BqKIunt0.mjs} +24 -3
  24. package/dist/chunks/{messages-BfAcUavP.mjs → messages-BszGK0ox.mjs} +26 -5
  25. package/dist/{messages-BckDk9aq2.mjs → chunks/messages-Buwm8xrX2.mjs} +24 -3
  26. package/dist/chunks/{messages-CC_noR8y.mjs → messages-BvoElEE_.mjs} +24 -3
  27. package/dist/chunks/{messages-zt6zdYWh.mjs → messages-ByHXyVi6.mjs} +23 -2
  28. package/dist/chunks/{messages-DBMaLL8b2.mjs → messages-C9HPruJj2.mjs} +24 -3
  29. package/dist/{messages-DQORja0D.mjs → chunks/messages-CDtmVcBc.mjs} +26 -5
  30. package/dist/chunks/{messages-wl8YrvGG.mjs → messages-CEWKcK-Q.mjs} +23 -2
  31. package/dist/chunks/{messages-CZSlfnkO2.mjs → messages-CRLvJfNU2.mjs} +22 -1
  32. package/dist/chunks/{messages-BRoa9tGl.mjs → messages-CXjSY5Fy.mjs} +24 -3
  33. package/dist/{messages-BesJaI6A.mjs → chunks/messages-CdWS0hvw.mjs} +29 -8
  34. package/dist/{messages-JNrYldAa2.mjs → chunks/messages-Cic0Y1z6.mjs} +24 -3
  35. package/dist/chunks/{messages-CTCe595D2.mjs → messages-CmGixnBb2.mjs} +24 -3
  36. package/dist/chunks/{messages-JSQjKQ8I.mjs → messages-CrCalcxK.mjs} +24 -3
  37. package/dist/chunks/{messages-DUr9WAkD.mjs → messages-D3wlt9eE.mjs} +22 -1
  38. package/dist/{messages-CdduYw-q.mjs → chunks/messages-D5NWb-B9.mjs} +23 -2
  39. package/dist/chunks/{messages-CRF7nNrO.mjs → messages-D5lY22F4.mjs} +24 -3
  40. package/dist/{messages-_PLyRfVw.mjs → chunks/messages-DGYjioKM.mjs} +26 -5
  41. package/dist/{messages-Che99vKP.mjs → chunks/messages-DIH2U0ZD.mjs} +24 -3
  42. package/dist/chunks/{messages-BJ-vT1SU2.mjs → messages-DIUegdwv2.mjs} +24 -3
  43. package/dist/chunks/{messages-BgM91Lxm2.mjs → messages-DKZHsfXy2.mjs} +25 -4
  44. package/dist/chunks/{messages-1_6UkKLS.mjs → messages-DKjUcEfs.mjs} +24 -3
  45. package/dist/{messages-C1vc5584.mjs → chunks/messages-DOPK-Xif2.mjs} +24 -3
  46. package/dist/chunks/{messages-DB_-5Xln.mjs → messages-DSMFg80t.mjs} +25 -4
  47. package/dist/{messages-A96tMxeU.mjs → chunks/messages-DT6eM0I22.mjs} +22 -1
  48. package/dist/chunks/{messages-DUeiPraX.mjs → messages-DZTQIS9F.mjs} +24 -3
  49. package/dist/{messages-apA6BStA.mjs → chunks/messages-DalLfJNC.mjs} +24 -3
  50. package/dist/chunks/{messages-QilfinOn2.mjs → messages-DggaAu362.mjs} +24 -3
  51. package/dist/chunks/{messages-CxxyR4vY.mjs → messages-DgoJDjHm.mjs} +24 -3
  52. package/dist/chunks/{messages-ElIGUi0O2.mjs → messages-DhgEjOjw2.mjs} +25 -4
  53. package/dist/chunks/{messages-sDdNf8O9.mjs → messages-Dk-d3mmM.mjs} +22 -1
  54. package/dist/{messages-BE_z-zrb.mjs → chunks/messages-DlTG06-j.mjs} +25 -4
  55. package/dist/chunks/{messages-C0IFfhnp.mjs → messages-Dle6Hv30.mjs} +22 -1
  56. package/dist/{messages-DBhvm8NK.mjs → chunks/messages-DoD9yWMu2.mjs} +22 -1
  57. package/dist/{messages-D0lLw9KM.mjs → chunks/messages-DpnhbDoK2.mjs} +24 -3
  58. package/dist/{messages-DODrhcop.mjs → chunks/messages-DqGv-lj6.mjs} +24 -3
  59. package/dist/{messages-CZbcxlZt2.mjs → chunks/messages-DslnYTHU2.mjs} +24 -3
  60. package/dist/chunks/{messages-Du2BffA7.mjs → messages-IjEU7XAq.mjs} +24 -3
  61. package/dist/chunks/{messages-BK8Cp2d0.mjs → messages-JRjsu_bC.mjs} +24 -3
  62. package/dist/chunks/{messages-CszmHAvQ.mjs → messages-PkO_43Eb.mjs} +24 -3
  63. package/dist/chunks/{messages-CQBo3lmL2.mjs → messages-W2zpf0Mu2.mjs} +24 -3
  64. package/dist/{messages-Do7Xjy0n.mjs → chunks/messages-adEATsLK.mjs} +23 -2
  65. package/dist/{messages-E8NjqzWq2.mjs → chunks/messages-b8XGiuAa2.mjs} +23 -2
  66. package/dist/{messages-CisR4PNV.mjs → chunks/messages-bteFpBer.mjs} +24 -3
  67. package/dist/chunks/{messages-DVr1sqfI2.mjs → messages-cR48x2Aq2.mjs} +24 -3
  68. package/dist/chunks/{messages-4Ck88DYZ2.mjs → messages-f-YBthdd2.mjs} +24 -3
  69. package/dist/{messages-Xc0KUbYl.mjs → chunks/messages-fUpUvsRN.mjs} +25 -4
  70. package/dist/{messages-Be_2RHZD.mjs → chunks/messages-gNK1EolD.mjs} +25 -4
  71. package/dist/{messages-DfFZ6Yj5.mjs → chunks/messages-vqR3RAU4.mjs} +24 -3
  72. package/dist/{messages-BbJ7ZXY8.mjs → chunks/messages-wSX_4fK1.mjs} +24 -3
  73. package/dist/chunks/{tools-BC1jRfoS.mjs → tools-KZmhOKEo.mjs} +3407 -1299
  74. package/dist/full.mjs +10 -10
  75. package/dist/locales.mjs +88 -67
  76. package/dist/{chunks/messages-D22e9h7V2.mjs → messages--zgIPYtb.mjs} +22 -1
  77. package/dist/{chunks/messages-EDMC5ukV.mjs → messages-4jULpVvw.mjs} +24 -3
  78. package/dist/{messages-DK6dA0O2.mjs → messages-AbwSlRf_.mjs} +26 -5
  79. package/dist/{messages-Ddq3Ce3E2.mjs → messages-B-dl7Pwb2.mjs} +25 -4
  80. package/dist/{chunks/messages-BAlZjPcl.mjs → messages-B3rCRhb1.mjs} +24 -3
  81. package/dist/{chunks/messages-DSrdy9Nw2.mjs → messages-B73L8nKc2.mjs} +24 -3
  82. package/dist/{messages-ClGvlFcH2.mjs → messages-BAjsD2Vm2.mjs} +24 -3
  83. package/dist/{chunks/messages-BbEW9bQz.mjs → messages-BBodSb5B2.mjs} +24 -3
  84. package/dist/{messages-DopaMHC42.mjs → messages-BTpn6H9x2.mjs} +22 -1
  85. package/dist/{messages-D0005ti32.mjs → messages-BWb0GjTj2.mjs} +24 -3
  86. package/dist/{messages-Q5sQeVap2.mjs → messages-BbCgnri12.mjs} +24 -3
  87. package/dist/{chunks/messages-BeGZqQwz.mjs → messages-Bfon_Y3q.mjs} +25 -4
  88. package/dist/{messages-CTTmWn4Y2.mjs → messages-BhOtow9J2.mjs} +24 -3
  89. package/dist/{messages-98nQiC7t2.mjs → messages-BoB7m0uu2.mjs} +25 -4
  90. package/dist/{messages-CT-Kdas6.mjs → messages-BsOZPjeg.mjs} +24 -3
  91. package/dist/{messages-D6VIFnSW.mjs → messages-BuzKUYPV.mjs} +24 -3
  92. package/dist/{chunks/messages-DEBy3nuJ2.mjs → messages-BzOKMdMQ.mjs} +22 -1
  93. package/dist/{messages-DOGbHYv-2.mjs → messages-C2H3PeQW2.mjs} +24 -3
  94. package/dist/{chunks/messages-DxHh0O8j2.mjs → messages-C5KNzSTk.mjs} +24 -3
  95. package/dist/{chunks/messages-eFd4YYzt.mjs → messages-CIDYjE6l.mjs} +24 -3
  96. package/dist/{messages-Dqu4aX9s.mjs → messages-CJmyF5ye.mjs} +23 -2
  97. package/dist/{messages-qbKjjvgd2.mjs → messages-CTwiYb2a2.mjs} +22 -1
  98. package/dist/{chunks/messages-CPBN4zWc.mjs → messages-CUHoJaDO.mjs} +24 -3
  99. package/dist/{messages-D05jqBIa2.mjs → messages-CVeuqUjQ2.mjs} +24 -3
  100. package/dist/{chunks/messages-BMD37y3q2.mjs → messages-CW75b4sz.mjs} +24 -3
  101. package/dist/{chunks/messages-CD_MnBln.mjs → messages-CXd7YeWV.mjs} +24 -3
  102. package/dist/{messages-DVL0KZE5.mjs → messages-CjlYkunD.mjs} +24 -3
  103. package/dist/{chunks/messages-BKN3YVIj.mjs → messages-CrGx64yd.mjs} +25 -4
  104. package/dist/{messages-BK_LsgY4.mjs → messages-Ct0jbgHd.mjs} +24 -3
  105. package/dist/{messages-BmH2cQHQ.mjs → messages-CtKrCYD1.mjs} +24 -3
  106. package/dist/{messages-neGD3WGq.mjs → messages-Cu2eLjfJ.mjs} +24 -3
  107. package/dist/{messages-Brd5R-da2.mjs → messages-CvwQ-fK_2.mjs} +24 -3
  108. package/dist/{messages-uwK7ktqk.mjs → messages-Cy6UYN9b.mjs} +22 -1
  109. package/dist/{chunks/messages-ChK7v1PV.mjs → messages-D01vnfA9.mjs} +24 -3
  110. package/dist/{messages-DpwMKDV0.mjs → messages-D0BAV45W.mjs} +24 -3
  111. package/dist/{messages-LMaR2_bE.mjs → messages-D5LGpdga.mjs} +24 -3
  112. package/dist/{messages-BcVB3osF.mjs → messages-DATK4ftv.mjs} +25 -4
  113. package/dist/{chunks/messages-Bz0-KNEB.mjs → messages-DEl77Urv2.mjs} +25 -4
  114. package/dist/{messages-DSmxJWju2.mjs → messages-DHNjM2nv2.mjs} +22 -1
  115. package/dist/{messages-DYuD5-rO.mjs → messages-DMW8b_sO.mjs} +24 -3
  116. package/dist/{chunks/messages-DPzHD51Y.mjs → messages-DNmgANKr.mjs} +23 -2
  117. package/dist/{chunks/messages-C1S9ztpF.mjs → messages-DQaa3cEM.mjs} +25 -4
  118. package/dist/{chunks/messages-a07QVz8U.mjs → messages-DSlD4bV9.mjs} +24 -3
  119. package/dist/{messages-DM4Gjc9h.mjs → messages-DTzbkXFt.mjs} +24 -3
  120. package/dist/{messages-LYJbLq_F.mjs → messages-DbZihxtV.mjs} +24 -3
  121. package/dist/{messages-C_Qn9SbQ.mjs → messages-DeE8fyKQ.mjs} +24 -3
  122. package/dist/{chunks/messages-Q7-4ZJLB2.mjs → messages-Dg-TpO2S2.mjs} +24 -3
  123. package/dist/{messages-BiTMwiKH.mjs → messages-DgP82LzF.mjs} +23 -2
  124. package/dist/{chunks/messages-QMOmwcZb.mjs → messages-Dh3Vt7WC.mjs} +23 -2
  125. package/dist/{messages-C0GSBBCo2.mjs → messages-DiVVyZD22.mjs} +25 -4
  126. package/dist/{chunks/messages-BONyZroH.mjs → messages-DpRnGjoe.mjs} +26 -5
  127. package/dist/{chunks/messages-8Ld7P_9j2.mjs → messages-DqZmrFaa2.mjs} +24 -3
  128. package/dist/{chunks/messages-CxiURE2X.mjs → messages-Dra9Fz5Q.mjs} +26 -5
  129. package/dist/{chunks/messages-Clku7Cf-2.mjs → messages-DuPBRgEF2.mjs} +23 -2
  130. package/dist/{messages-53w0fPZS2.mjs → messages-DuxEyAY-2.mjs} +25 -4
  131. package/dist/{chunks/messages-D7dx_6k8.mjs → messages-FmJD6lHR2.mjs} +24 -3
  132. package/dist/{chunks/messages-DTN1XGll.mjs → messages-ONielGl92.mjs} +24 -3
  133. package/dist/{chunks/messages-CIfUm1Oa.mjs → messages-RzgUqCGb2.mjs} +24 -3
  134. package/dist/{messages-DpJGbx3q.mjs → messages-U22AKGKs.mjs} +24 -3
  135. package/dist/{messages-2ZWBTerL.mjs → messages-XufeeRfO.mjs} +24 -3
  136. package/dist/{messages-CnuH-BZK2.mjs → messages-fprUm7SO2.mjs} +24 -3
  137. package/dist/{messages-C7lJg8fy2.mjs → messages-gFNdz3Tn2.mjs} +24 -3
  138. package/dist/{chunks/messages-C15z2r5U.mjs → messages-h_n5GBm6.mjs} +29 -8
  139. package/dist/{chunks/messages-CvANwuht2.mjs → messages-oOogIpsL2.mjs} +24 -3
  140. package/dist/{chunks/messages-DtoId_bw2.mjs → messages-otwg3KcK.mjs} +24 -3
  141. package/dist/{messages-D81w6AmW.mjs → messages-rDDoBMWb.mjs} +24 -3
  142. package/dist/{messages-Dnd5YSWv.mjs → messages-trQPxZIu.mjs} +24 -3
  143. package/dist/react.mjs +2 -2
  144. package/dist/tools.mjs +3 -3
  145. package/dist/vendor.LICENSE.txt +135 -0
  146. package/package.json +2 -1
  147. package/src/blok.ts +103 -0
  148. package/src/components/block/index.ts +21 -2
  149. package/src/components/block-tunes/block-tune-copy-link.ts +82 -0
  150. package/src/components/i18n/locales/am/messages.json +24 -3
  151. package/src/components/i18n/locales/ar/messages.json +24 -3
  152. package/src/components/i18n/locales/az/messages.json +24 -3
  153. package/src/components/i18n/locales/bg/messages.json +23 -2
  154. package/src/components/i18n/locales/bn/messages.json +24 -3
  155. package/src/components/i18n/locales/bs/messages.json +26 -5
  156. package/src/components/i18n/locales/cs/messages.json +25 -4
  157. package/src/components/i18n/locales/da/messages.json +25 -4
  158. package/src/components/i18n/locales/de/messages.json +24 -3
  159. package/src/components/i18n/locales/dv/messages.json +24 -3
  160. package/src/components/i18n/locales/el/messages.json +24 -3
  161. package/src/components/i18n/locales/en/messages.json +21 -0
  162. package/src/components/i18n/locales/es/messages.json +25 -4
  163. package/src/components/i18n/locales/et/messages.json +23 -2
  164. package/src/components/i18n/locales/fa/messages.json +24 -3
  165. package/src/components/i18n/locales/fi/messages.json +24 -3
  166. package/src/components/i18n/locales/fil/messages.json +29 -8
  167. package/src/components/i18n/locales/fr/messages.json +24 -3
  168. package/src/components/i18n/locales/gu/messages.json +24 -3
  169. package/src/components/i18n/locales/he/messages.json +24 -3
  170. package/src/components/i18n/locales/hi/messages.json +24 -3
  171. package/src/components/i18n/locales/hr/messages.json +26 -5
  172. package/src/components/i18n/locales/hu/messages.json +25 -4
  173. package/src/components/i18n/locales/hy/messages.json +24 -3
  174. package/src/components/i18n/locales/id/messages.json +23 -2
  175. package/src/components/i18n/locales/it/messages.json +26 -5
  176. package/src/components/i18n/locales/ja/messages.json +24 -3
  177. package/src/components/i18n/locales/ka/messages.json +24 -3
  178. package/src/components/i18n/locales/km/messages.json +22 -1
  179. package/src/components/i18n/locales/kn/messages.json +24 -3
  180. package/src/components/i18n/locales/ko/messages.json +24 -3
  181. package/src/components/i18n/locales/ku/messages.json +24 -3
  182. package/src/components/i18n/locales/lo/messages.json +22 -1
  183. package/src/components/i18n/locales/lt/messages.json +24 -3
  184. package/src/components/i18n/locales/lv/messages.json +24 -3
  185. package/src/components/i18n/locales/mk/messages.json +24 -3
  186. package/src/components/i18n/locales/ml/messages.json +24 -3
  187. package/src/components/i18n/locales/mn/messages.json +24 -3
  188. package/src/components/i18n/locales/mr/messages.json +24 -3
  189. package/src/components/i18n/locales/ms/messages.json +22 -1
  190. package/src/components/i18n/locales/my/messages.json +24 -3
  191. package/src/components/i18n/locales/ne/messages.json +24 -3
  192. package/src/components/i18n/locales/nl/messages.json +24 -3
  193. package/src/components/i18n/locales/no/messages.json +25 -4
  194. package/src/components/i18n/locales/pa/messages.json +24 -3
  195. package/src/components/i18n/locales/pl/messages.json +25 -4
  196. package/src/components/i18n/locales/ps/messages.json +24 -3
  197. package/src/components/i18n/locales/pt/messages.json +24 -3
  198. package/src/components/i18n/locales/ro/messages.json +24 -3
  199. package/src/components/i18n/locales/ru/messages.json +23 -2
  200. package/src/components/i18n/locales/sd/messages.json +24 -3
  201. package/src/components/i18n/locales/si/messages.json +24 -3
  202. package/src/components/i18n/locales/sk/messages.json +25 -4
  203. package/src/components/i18n/locales/sl/messages.json +25 -4
  204. package/src/components/i18n/locales/sq/messages.json +25 -4
  205. package/src/components/i18n/locales/sr/messages.json +24 -3
  206. package/src/components/i18n/locales/sv/messages.json +24 -3
  207. package/src/components/i18n/locales/sw/messages.json +22 -1
  208. package/src/components/i18n/locales/ta/messages.json +24 -3
  209. package/src/components/i18n/locales/te/messages.json +24 -3
  210. package/src/components/i18n/locales/th/messages.json +22 -1
  211. package/src/components/i18n/locales/tr/messages.json +24 -3
  212. package/src/components/i18n/locales/ug/messages.json +24 -3
  213. package/src/components/i18n/locales/uk/messages.json +23 -2
  214. package/src/components/i18n/locales/ur/messages.json +24 -3
  215. package/src/components/i18n/locales/vi/messages.json +22 -1
  216. package/src/components/i18n/locales/yi/messages.json +24 -3
  217. package/src/components/i18n/locales/zh/messages.json +24 -3
  218. package/src/components/icons/index.ts +65 -0
  219. package/src/components/inline-tools/inline-tool-bold.ts +10 -0
  220. package/src/components/inline-tools/inline-tool-code.ts +35 -1
  221. package/src/components/inline-tools/inline-tool-italic.ts +37 -1
  222. package/src/components/inline-tools/inline-tool-strikethrough.ts +35 -1
  223. package/src/components/inline-tools/inline-tool-underline.ts +35 -1
  224. package/src/components/inline-tools/services/bold-normalization-pass.ts +2 -4
  225. package/src/components/inline-tools/utils/formatting-range-utils.ts +83 -0
  226. package/src/components/modules/api/tools.ts +19 -0
  227. package/src/components/modules/blockEvents/composers/keyboardNavigation.ts +7 -1
  228. package/src/components/modules/blockManager/blockManager.ts +22 -0
  229. package/src/components/modules/blockManager/event-binder.ts +12 -1
  230. package/src/components/modules/blockManager/factory.ts +4 -0
  231. package/src/components/modules/blockManager/types.ts +4 -0
  232. package/src/components/modules/blockManager/yjs-sync.ts +16 -2
  233. package/src/components/modules/paste/google-docs-preprocessor.ts +49 -3
  234. package/src/components/modules/paste/handlers/table-cells-handler.ts +12 -2
  235. package/src/components/modules/paste/index.ts +8 -4
  236. package/src/components/modules/paste/types.ts +2 -0
  237. package/src/components/modules/renderer.ts +22 -2
  238. package/src/components/modules/saver.ts +19 -1
  239. package/src/components/modules/themeManager.ts +3 -1
  240. package/src/components/modules/toolbar/blockSettings.ts +51 -1
  241. package/src/components/modules/toolbar/inline/index.ts +0 -3
  242. package/src/components/modules/tools.ts +5 -0
  243. package/src/components/modules/ui.ts +1 -0
  244. package/src/components/modules/uiControllers/controllers/keyboard.ts +79 -0
  245. package/src/components/modules/uiControllers/controllers/selection.ts +14 -2
  246. package/src/components/modules/yjs/document-store.ts +22 -0
  247. package/src/components/modules/yjs/index.ts +10 -0
  248. package/src/components/modules/yjs/serializer.ts +20 -0
  249. package/src/components/ui/toolbox.ts +0 -1
  250. package/src/components/utils/id-generator.ts +11 -0
  251. package/src/components/utils/key-icon.ts +187 -0
  252. package/src/components/utils/popover/components/hint/hint.ts +3 -1
  253. package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.ts +18 -5
  254. package/src/components/utils/popover/popover-abstract.ts +45 -0
  255. package/src/components/utils/popover/popover-desktop.ts +1 -0
  256. package/src/components/utils/popover/popover-position.ts +4 -2
  257. package/src/components/utils/popover/popover.const.ts +2 -0
  258. package/src/components/utils.ts +1 -0
  259. package/src/styles/main.css +1272 -0
  260. package/src/tools/code/index.ts +4 -0
  261. package/src/tools/database/database-backend-sync.ts +132 -0
  262. package/src/tools/database/database-board-view.ts +410 -0
  263. package/src/tools/database/database-card-drag.ts +306 -0
  264. package/src/tools/database/database-card-drawer.ts +546 -0
  265. package/src/tools/database/database-column-controls.ts +141 -0
  266. package/src/tools/database/database-column-drag.ts +262 -0
  267. package/src/tools/database/database-keyboard.ts +35 -0
  268. package/src/tools/database/database-list-row-drag.ts +245 -0
  269. package/src/tools/database/database-list-view.ts +333 -0
  270. package/src/tools/database/database-model.ts +214 -0
  271. package/src/tools/database/database-property-type-popover.ts +108 -0
  272. package/src/tools/database/database-tab-bar.ts +558 -0
  273. package/src/tools/database/database-view-popover.ts +129 -0
  274. package/src/tools/database/database-view-renderer.ts +25 -0
  275. package/src/tools/database/database-view.ts +269 -0
  276. package/src/tools/database/index.ts +1223 -0
  277. package/src/tools/database/types.ts +168 -0
  278. package/src/tools/database-row/index.ts +74 -0
  279. package/src/tools/index.ts +4 -0
  280. package/types/api/tools.d.ts +18 -0
  281. package/types/configs/blok-config.d.ts +27 -0
  282. package/types/data-formats/output-data.d.ts +13 -0
  283. package/types/index.d.ts +17 -0
  284. package/types/tools/database.d.ts +152 -0
  285. package/types/tools-entry.d.ts +7 -4
  286. package/types/utils/popover/popover.d.ts +6 -0
package/dist/react.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as e } from "./chunks/blok-3wc3aInM.mjs";
2
- import "./chunks/constants-Bp622jic.mjs";
1
+ import { t as e } from "./chunks/blok-DSP5zC_s.mjs";
2
+ import "./chunks/constants-B0Tns0mh.mjs";
3
3
  import { t } from "./chunks/objectSpread2-CWwMYL_U.mjs";
4
4
  import { t as n } from "./chunks/objectWithoutProperties-D0XxKB4n.mjs";
5
5
  import { forwardRef as r, useEffect as i, useMemo as a, useRef as o, useState as s } from "react";
package/dist/tools.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { m as e } from "./chunks/constants-Bp622jic.mjs";
2
- import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v } from "./chunks/tools-BC1jRfoS.mjs";
3
- export { l as Bold, p as Callout, _ as Code, e as Convert, a as Divider, t as Header, m as InlineCode, r as Italic, h as Link, o as List, f as Marker, v as Paragraph, i as Quote, c as Strikethrough, s as Table, u as Toggle, n as Underline, g as defaultBlockTools, d as defaultInlineTools };
1
+ import { m as e } from "./chunks/constants-B0Tns0mh.mjs";
2
+ import { _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, y as b } from "./chunks/tools-KZmhOKEo.mjs";
3
+ export { u as Bold, c as Callout, v as Code, e as Convert, d as Database, m as DatabaseRow, o as Divider, b as Header, h as InlineCode, i as Italic, g as Link, y as List, p as Marker, r as Paragraph, a as Quote, l as Strikethrough, t as Table, s as Toggle, n as Underline, _ as defaultBlockTools, f as defaultInlineTools };
@@ -3419,6 +3419,141 @@ Apache License
3419
3419
 
3420
3420
  ---
3421
3421
 
3422
+ Name: fractional-indexing
3423
+ Version: 3.2.0
3424
+ License: CC0-1.0
3425
+ Private: false
3426
+ Description: Provides functions for generating ordering strings
3427
+ Repository: https://github.com/rocicorp/fractional-indexing.git
3428
+ Homepage: https://github.com/rocicorp/fractional-indexing#readme
3429
+ Author: arv@rocicorp.dev
3430
+ License Text:
3431
+ ===
3432
+
3433
+ Creative Commons Legal Code
3434
+
3435
+ CC0 1.0 Universal
3436
+
3437
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
3438
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
3439
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
3440
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
3441
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
3442
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
3443
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
3444
+ HEREUNDER.
3445
+
3446
+ Statement of Purpose
3447
+
3448
+ The laws of most jurisdictions throughout the world automatically confer
3449
+ exclusive Copyright and Related Rights (defined below) upon the creator
3450
+ and subsequent owner(s) (each and all, an "owner") of an original work of
3451
+ authorship and/or a database (each, a "Work").
3452
+
3453
+ Certain owners wish to permanently relinquish those rights to a Work for
3454
+ the purpose of contributing to a commons of creative, cultural and
3455
+ scientific works ("Commons") that the public can reliably and without fear
3456
+ of later claims of infringement build upon, modify, incorporate in other
3457
+ works, reuse and redistribute as freely as possible in any form whatsoever
3458
+ and for any purposes, including without limitation commercial purposes.
3459
+ These owners may contribute to the Commons to promote the ideal of a free
3460
+ culture and the further production of creative, cultural and scientific
3461
+ works, or to gain reputation or greater distribution for their Work in
3462
+ part through the use and efforts of others.
3463
+
3464
+ For these and/or other purposes and motivations, and without any
3465
+ expectation of additional consideration or compensation, the person
3466
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
3467
+ is an owner of Copyright and Related Rights in the Work, voluntarily
3468
+ elects to apply CC0 to the Work and publicly distribute the Work under its
3469
+ terms, with knowledge of his or her Copyright and Related Rights in the
3470
+ Work and the meaning and intended legal effect of CC0 on those rights.
3471
+
3472
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
3473
+ protected by copyright and related or neighboring rights ("Copyright and
3474
+ Related Rights"). Copyright and Related Rights include, but are not
3475
+ limited to, the following:
3476
+
3477
+ i. the right to reproduce, adapt, distribute, perform, display,
3478
+ communicate, and translate a Work;
3479
+ ii. moral rights retained by the original author(s) and/or performer(s);
3480
+ iii. publicity and privacy rights pertaining to a person's image or
3481
+ likeness depicted in a Work;
3482
+ iv. rights protecting against unfair competition in regards to a Work,
3483
+ subject to the limitations in paragraph 4(a), below;
3484
+ v. rights protecting the extraction, dissemination, use and reuse of data
3485
+ in a Work;
3486
+ vi. database rights (such as those arising under Directive 96/9/EC of the
3487
+ European Parliament and of the Council of 11 March 1996 on the legal
3488
+ protection of databases, and under any national implementation
3489
+ thereof, including any amended or successor version of such
3490
+ directive); and
3491
+ vii. other similar, equivalent or corresponding rights throughout the
3492
+ world based on applicable law or treaty, and any national
3493
+ implementations thereof.
3494
+
3495
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
3496
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
3497
+ irrevocably and unconditionally waives, abandons, and surrenders all of
3498
+ Affirmer's Copyright and Related Rights and associated claims and causes
3499
+ of action, whether now known or unknown (including existing as well as
3500
+ future claims and causes of action), in the Work (i) in all territories
3501
+ worldwide, (ii) for the maximum duration provided by applicable law or
3502
+ treaty (including future time extensions), (iii) in any current or future
3503
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
3504
+ including without limitation commercial, advertising or promotional
3505
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
3506
+ member of the public at large and to the detriment of Affirmer's heirs and
3507
+ successors, fully intending that such Waiver shall not be subject to
3508
+ revocation, rescission, cancellation, termination, or any other legal or
3509
+ equitable action to disrupt the quiet enjoyment of the Work by the public
3510
+ as contemplated by Affirmer's express Statement of Purpose.
3511
+
3512
+ 3. Public License Fallback. Should any part of the Waiver for any reason
3513
+ be judged legally invalid or ineffective under applicable law, then the
3514
+ Waiver shall be preserved to the maximum extent permitted taking into
3515
+ account Affirmer's express Statement of Purpose. In addition, to the
3516
+ extent the Waiver is so judged Affirmer hereby grants to each affected
3517
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
3518
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
3519
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
3520
+ maximum duration provided by applicable law or treaty (including future
3521
+ time extensions), (iii) in any current or future medium and for any number
3522
+ of copies, and (iv) for any purpose whatsoever, including without
3523
+ limitation commercial, advertising or promotional purposes (the
3524
+ "License"). The License shall be deemed effective as of the date CC0 was
3525
+ applied by Affirmer to the Work. Should any part of the License for any
3526
+ reason be judged legally invalid or ineffective under applicable law, such
3527
+ partial invalidity or ineffectiveness shall not invalidate the remainder
3528
+ of the License, and in such case Affirmer hereby affirms that he or she
3529
+ will not (i) exercise any of his or her remaining Copyright and Related
3530
+ Rights in the Work or (ii) assert any associated claims and causes of
3531
+ action with respect to the Work, in either case contrary to Affirmer's
3532
+ express Statement of Purpose.
3533
+
3534
+ 4. Limitations and Disclaimers.
3535
+
3536
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
3537
+ surrendered, licensed or otherwise affected by this document.
3538
+ b. Affirmer offers the Work as-is and makes no representations or
3539
+ warranties of any kind concerning the Work, express, implied,
3540
+ statutory or otherwise, including without limitation warranties of
3541
+ title, merchantability, fitness for a particular purpose, non
3542
+ infringement, or the absence of latent or other defects, accuracy, or
3543
+ the present or absence of errors, whether or not discoverable, all to
3544
+ the greatest extent permissible under applicable law.
3545
+ c. Affirmer disclaims responsibility for clearing rights of other persons
3546
+ that may apply to the Work or any use thereof, including without
3547
+ limitation any person's Copyright and Related Rights in the Work.
3548
+ Further, Affirmer disclaims responsibility for obtaining any necessary
3549
+ consents, permissions or other rights required for any use of the
3550
+ Work.
3551
+ d. Affirmer understands and acknowledges that Creative Commons is not a
3552
+ party to this document and has no duty or obligation with respect to
3553
+ this CC0 or use of the Work.
3554
+
3555
+ ---
3556
+
3422
3557
  Name: micromark-util-character
3423
3558
  Version: 2.1.1
3424
3559
  License: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackuait/blok",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "description": "Blok — headless, highly extensible rich text editor built for developers who need to implement a block-based editing experience (similar to Notion) without building it from scratch",
5
5
  "module": "dist/blok.mjs",
6
6
  "types": "./types/index.d.ts",
@@ -189,6 +189,7 @@
189
189
  },
190
190
  "dependencies": {
191
191
  "@emoji-mart/data": "^1.2.1",
192
+ "fractional-indexing": "^3.2.0",
192
193
  "i18next": "25.8.18",
193
194
  "katex": "^0.16.44",
194
195
  "mdast-util-from-markdown": "^2.0.3",
package/src/blok.ts CHANGED
@@ -97,6 +97,49 @@ class Blok {
97
97
  lifecycle.pendingDestroy = true;
98
98
  };
99
99
 
100
+ /**
101
+ * Expose the theme API immediately so callers can set the theme
102
+ * before isReady resolves.
103
+ *
104
+ * Core defers module construction to a microtask, so ThemeManager
105
+ * doesn't exist yet when this code runs. We buffer set() calls and
106
+ * replay the last one after isReady resolves (after ThemeManager.prepare()
107
+ * has already run, so we override the config-based default correctly).
108
+ *
109
+ * Without this, host apps that call instance.theme?.set('dark')
110
+ * before isReady get a silent no-op (theme is undefined), causing
111
+ * dark theme to fail when the host's state arrives after construction.
112
+ */
113
+ type ThemeMode = Parameters<BlokModules['ThemeManager']['setMode']>[0];
114
+
115
+ const themeBuffer = { pendingMode: null as ThemeMode | null };
116
+
117
+ const getThemeManager = (): BlokModules['ThemeManager'] | undefined =>
118
+ (blok.moduleInstances as Partial<BlokModules>).ThemeManager;
119
+
120
+ (this as Record<string, unknown>).theme = {
121
+ get: (): ThemeMode => {
122
+ const tm = getThemeManager();
123
+
124
+ return tm !== undefined ? tm.getMode() : (themeBuffer.pendingMode ?? 'auto');
125
+ },
126
+ set: (mode: ThemeMode): void => {
127
+ themeBuffer.pendingMode = mode;
128
+
129
+ // Also apply immediately if ThemeManager is already prepared
130
+ const tm = getThemeManager();
131
+
132
+ if (tm !== undefined) {
133
+ tm.setMode(mode);
134
+ }
135
+ },
136
+ getResolved: () => {
137
+ const tm = getThemeManager();
138
+
139
+ return tm !== undefined ? tm.getResolved() : 'light';
140
+ },
141
+ };
142
+
100
143
  /**
101
144
  * We need to export isReady promise in the constructor
102
145
  * as it can be used before other API methods are exported
@@ -146,6 +189,40 @@ class Blok {
146
189
  }
147
190
 
148
191
  this.exportAPI(blok);
192
+
193
+ // Apply any theme mode buffered before isReady resolved.
194
+ // ThemeManager.prepare() has already run (sets mode from config),
195
+ // so this overrides the config default with the caller's intent.
196
+ if (themeBuffer.pendingMode !== null) {
197
+ const tm = (blok.moduleInstances as Partial<BlokModules>).ThemeManager;
198
+
199
+ if (tm !== undefined) {
200
+ tm.setMode(themeBuffer.pendingMode);
201
+ }
202
+ themeBuffer.pendingMode = null;
203
+ }
204
+
205
+ // Scroll to the block referenced by the URL hash, if present.
206
+ // isReady resolves only after all blocks are in the DOM (requestIdleCallback fence in Renderer),
207
+ // so no extra polling is needed even on slow connections.
208
+ const rawHash = window.location.hash.slice(1);
209
+ const hash = rawHash ? Blok.safeDecodeHash(rawHash) : '';
210
+
211
+ if (hash) {
212
+ const el = document.querySelector(`[data-blok-id="${CSS.escape(hash)}"]`);
213
+
214
+ if (el) {
215
+ const topOffset = (isObject(this.initialConfiguration)
216
+ ? (this.initialConfiguration as BlokConfig).scrollToBlock?.topOffset
217
+ : undefined) ?? 0;
218
+ const y = el.getBoundingClientRect().top + window.scrollY - topOffset;
219
+
220
+ window.scrollTo({ top: y, behavior: 'smooth' });
221
+
222
+ Blok.selectBlockById(blok, hash);
223
+ }
224
+ }
225
+
149
226
  /**
150
227
  * @todo pass API as an argument. It will allow to use Blok's API when blok is ready
151
228
  */
@@ -331,6 +408,32 @@ class Blok {
331
408
  },
332
409
  });
333
410
  }
411
+
412
+ /**
413
+ * Decodes a URL hash fragment, falling back to the raw value on malformed percent-sequences.
414
+ * @param raw - raw hash fragment (without leading #)
415
+ */
416
+ private static safeDecodeHash(raw: string): string {
417
+ try {
418
+ return decodeURIComponent(raw);
419
+ } catch {
420
+ // Malformed percent-sequence (e.g. %ZZ) — return raw so no block is matched
421
+ return raw;
422
+ }
423
+ }
424
+
425
+ /**
426
+ * Selects the block identified by `id` in BlockManager, if it exists.
427
+ * @param blok - Core instance
428
+ * @param id - decoded block id
429
+ */
430
+ private static selectBlockById(blok: Core, id: string): void {
431
+ const block = blok.moduleInstances.BlockManager.getBlockById(id);
432
+
433
+ if (block !== undefined) {
434
+ blok.moduleInstances.BlockSelection.selectBlock(block);
435
+ }
436
+ }
334
437
  }
335
438
 
336
439
  export { Blok };
@@ -84,6 +84,12 @@ interface BlockConstructorOptions {
84
84
  * Module-level events (keyboard handlers) are controlled separately by BlockManager.
85
85
  */
86
86
  bindMutationWatchersImmediately?: boolean;
87
+
88
+ /** Timestamp of the last edit to this block (milliseconds since epoch) */
89
+ lastEditedAt?: number;
90
+
91
+ /** Display name of the user who last edited this block */
92
+ lastEditedBy?: string | null;
87
93
  }
88
94
 
89
95
  /**
@@ -137,6 +143,12 @@ export class Block extends EventsDispatcher<BlockEvents> {
137
143
  */
138
144
  public contentIds: string[];
139
145
 
146
+ /** Timestamp of the last edit (ms since epoch). Updated by BlockManager on mutation. */
147
+ public lastEditedAt: number | undefined;
148
+
149
+ /** Display name of the user who last edited. Updated by BlockManager on mutation. */
150
+ public lastEditedBy: string | null;
151
+
140
152
  /**
141
153
  * Block Tool`s name
142
154
  */
@@ -244,7 +256,7 @@ export class Block extends EventsDispatcher<BlockEvents> {
244
256
  * @param [options.contentIds] - array of child block ids
245
257
  * @param [eventBus] - Blok common event bus. Allows to subscribe on some Blok events. Could be omitted when "virtual" Block is created. See BlocksAPI@composeBlockData.
246
258
  */
247
- constructor({
259
+ constructor({
248
260
  id = generateBlockId(),
249
261
  data,
250
262
  tool,
@@ -253,14 +265,21 @@ export class Block extends EventsDispatcher<BlockEvents> {
253
265
  parentId,
254
266
  contentIds,
255
267
  bindMutationWatchersImmediately = false,
268
+ lastEditedAt,
269
+ lastEditedBy,
256
270
  }: BlockConstructorOptions, eventBus?: EventsDispatcher<BlokEventMap>) {
257
271
  super();
258
272
 
273
+ // Use the provided id as-is; only generate a new one when the id is empty
274
+ const validatedId = id !== '' ? id : generateBlockId();
275
+
259
276
  // Set basic properties
260
277
  this.name = tool.name;
261
- this.id = id;
278
+ this.id = validatedId;
262
279
  this.parentId = parentId ?? null;
263
280
  this.contentIds = contentIds ?? [];
281
+ this.lastEditedAt = lastEditedAt ?? Date.now();
282
+ this.lastEditedBy = lastEditedBy ?? null;
264
283
  this.settings = tool.settings;
265
284
  this.config = this.settings;
266
285
  this.blokEventBus = eventBus || null;
@@ -0,0 +1,82 @@
1
+ import type { API, BlockAPI, BlockTune } from '../../../types';
2
+ import type { MenuConfig } from '../../../types/tools/menu-config';
3
+ import { IconLink } from '../icons';
4
+
5
+ /**
6
+ * @class CopyLinkTune
7
+ * @classdesc Blok's default tune that copies a direct link to the block to the clipboard
8
+ */
9
+ export class CopyLinkTune implements BlockTune {
10
+ /**
11
+ * Set Tool is Tune
12
+ */
13
+ public static readonly isTune = true;
14
+
15
+ /**
16
+ * Property that contains Blok API methods
17
+ */
18
+ private readonly api: API;
19
+
20
+ /**
21
+ * The block this tune is attached to
22
+ */
23
+ private readonly block: BlockAPI;
24
+
25
+ /**
26
+ * Bound keydown handler for cleanup in destroy()
27
+ */
28
+ private readonly onKeydown: (event: KeyboardEvent) => void;
29
+
30
+ /**
31
+ * @param params - constructor params
32
+ * @param params.api - Blok's API
33
+ * @param params.block - BlockAPI for the current block
34
+ */
35
+ constructor({ api, block }: { api: API; block: BlockAPI }) {
36
+ this.api = api;
37
+ this.block = block;
38
+
39
+ this.onKeydown = (event: KeyboardEvent): void => {
40
+ if (event.metaKey && event.ctrlKey && event.code === 'KeyL' && this.block.selected) {
41
+ void this.handleClick();
42
+ }
43
+ };
44
+
45
+ document.addEventListener('keydown', this.onKeydown);
46
+ }
47
+
48
+ /**
49
+ * Tune's appearance in block settings menu
50
+ */
51
+ public render(): MenuConfig {
52
+ return {
53
+ icon: IconLink,
54
+ title: this.api.i18n.t('blockSettings.copyLink'),
55
+ name: 'copy-link',
56
+ secondaryLabel: '⌃⌘L',
57
+ onActivate: (): Promise<void> => this.handleClick(),
58
+ };
59
+ }
60
+
61
+ /**
62
+ * Remove the keyboard shortcut listener
63
+ */
64
+ public destroy(): void {
65
+ document.removeEventListener('keydown', this.onKeydown);
66
+ }
67
+
68
+ /**
69
+ * Copy block link to clipboard and notify user
70
+ */
71
+ public async handleClick(): Promise<void> {
72
+ const baseUrl = window.location.href.split('#')[0];
73
+ const url = `${baseUrl}#${encodeURIComponent(this.block.id)}`;
74
+
75
+ try {
76
+ await navigator.clipboard.writeText(url);
77
+ this.api.notifier.show({ message: 'Link copied to clipboard', style: 'success', time: 2000 });
78
+ } catch {
79
+ this.api.notifier.show({ message: 'Could not copy link to block', style: 'error', time: 3000 });
80
+ }
81
+ }
82
+ }
@@ -23,8 +23,8 @@
23
23
  "tools.marker.textColor": "ጽሑፍ",
24
24
  "tools.marker.background": "ዳራ",
25
25
  "tools.marker.default": "ነባሪ",
26
- "tools.colorPicker.defaultSwatchLabel": "{default} {mode}",
27
- "tools.colorPicker.colorSwatchLabel": "{color} {mode}",
26
+ "tools.colorPicker.defaultSwatchLabel": "{mode} {default}",
27
+ "tools.colorPicker.colorSwatchLabel": "{mode} {color}",
28
28
  "tools.colorPicker.color.gray": "ግራጫ",
29
29
  "tools.colorPicker.color.brown": "ቡናማ",
30
30
  "tools.colorPicker.color.orange": "ብርቱካናማ",
@@ -53,6 +53,9 @@
53
53
  "tools.toggle.ariaLabelCollapse": "ሰብስብ",
54
54
  "tools.toggle.ariaLabelExpand": "አስፋ",
55
55
  "blockSettings.delete": "ሰርዝ",
56
+ "blockSettings.copyLink": "ወደ ብሎክ አገናኝ ቅዳ",
57
+ "blockSettings.lastEdited": "የመጨረሻ ማስተካከያ",
58
+ "blockSettings.lastEditedBy": "በ{name} የመጨረሻ ማስተካከያ",
56
59
  "a11y.dragHandle": "ብሎኩን ለማንቀሳቀስ ይጎትቱ ወይም ለምናሌ ጠቅ ያድርጉ",
57
60
  "a11y.dragHandleRole": "መጎተቻ",
58
61
  "a11y.dragStarted": "ብሎክ እየተጎተተ ነው",
@@ -89,6 +92,8 @@
89
92
  "toolNames.underline": "ከስር ማስመር",
90
93
  "toolNames.strikethrough": "መሰረዝ መስመር",
91
94
  "toolNames.callout": "ማስታወሻ",
95
+ "toolNames.database": "ዳታቤዝ",
96
+ "toolNames.board": "ቦርድ",
92
97
  "toolNames.divider": "ግድብ",
93
98
  "toolNames.quote": "ጥቅስ",
94
99
  "searchTerms.divider": "ከፋፋይ",
@@ -143,6 +148,22 @@
143
148
  "tools.callout.emojiCategoryObjects": "ዕቃዎች",
144
149
  "tools.callout.emojiCategorySymbols": "ምልክቶች",
145
150
  "tools.callout.emojiCategoryFlags": "ባንዲራዎች",
151
+ "tools.database.addColumn": "አምድ ጨምር",
152
+ "tools.database.renameColumn": "አምድ ዳግም ሰይም",
153
+ "tools.database.deleteColumn": "አምድ ሰርዝ",
154
+ "tools.database.addCard": "ካርድ ጨምር",
155
+ "tools.database.newPage": "አዲስ ገጽ",
156
+ "tools.database.deleteCard": "ካርድ ሰርዝ",
157
+ "tools.database.editCardTitle": "ርዕስ አርትዕ",
158
+ "tools.database.cardMenuLabel": "የካርድ አማራጮች",
159
+ "tools.database.cardTitlePlaceholder": "ባዶ ገጽ",
160
+ "tools.database.columnTitlePlaceholder": "አምድ",
161
+ "tools.database.emptyColumn": "ካርዶች የሉም",
162
+ "tools.database.rowTitlePlaceholder": "ባዶ ገጽ",
163
+ "tools.database.addRow": "ረድፍ ጨምር",
164
+ "tools.database.newRow": "አዲስ ረድፍ",
165
+ "tools.database.openRow": "ረድፍ ክፈት",
166
+ "tools.database.deleteRow": "ረድፍ ሰርዝ",
146
167
  "tools.callout.color": "ቀለም",
147
168
  "tools.callout.colorDefault": "ነባሪ",
148
169
  "tools.callout.colorGray": "ግራጫ",
@@ -184,5 +205,5 @@
184
205
  "searchTerms.code": "ኮድ",
185
206
  "searchTerms.snippet": "ቅንጭብ",
186
207
  "searchTerms.program": "ፕሮግራም",
187
- "searchTerms.pre": "pre"
208
+ "searchTerms.pre": "ቅድመ ቅርጸት"
188
209
  }
@@ -18,13 +18,15 @@
18
18
  "toolNames.numberedList": "قائمة مرقمة",
19
19
  "toolNames.todoList": "قائمة مهام",
20
20
  "toolNames.toggleList": "قائمة قابلة للطي",
21
+ "toolNames.board": "لوحة",
22
+ "toolNames.database": "قاعدة بيانات",
21
23
  "tools.link.addLink": "إضافة رابط",
22
24
  "tools.link.invalidLink": "رابط غير صالح",
23
25
  "tools.marker.textColor": "نص",
24
26
  "tools.marker.background": "خلفية",
25
27
  "tools.marker.default": "افتراضي",
26
- "tools.colorPicker.defaultSwatchLabel": "{default} {mode}",
27
- "tools.colorPicker.colorSwatchLabel": "{color} {mode}",
28
+ "tools.colorPicker.defaultSwatchLabel": "{mode} {default}",
29
+ "tools.colorPicker.colorSwatchLabel": "{mode} {color}",
28
30
  "tools.colorPicker.color.gray": "رمادي",
29
31
  "tools.colorPicker.color.brown": "بني",
30
32
  "tools.colorPicker.color.orange": "برتقالي",
@@ -71,6 +73,9 @@
71
73
  "tools.table.clickToAddColumn": "انقر لإضافة عمود جديد",
72
74
  "tools.table.dragToAddRemoveColumns": "اسحب لإضافة أو إزالة أعمدة",
73
75
  "blockSettings.delete": "حذف",
76
+ "blockSettings.copyLink": "نسخ رابط الكتلة",
77
+ "blockSettings.lastEdited": "آخر تعديل",
78
+ "blockSettings.lastEditedBy": "آخر تعديل بواسطة {name}",
74
79
  "a11y.dragHandle": "اسحب لتحريك الكتلة أو انقر للقائمة",
75
80
  "a11y.dragHandleRole": "مقبض السحب",
76
81
  "a11y.dragStarted": "جارٍ سحب الكتلة",
@@ -143,6 +148,22 @@
143
148
  "tools.callout.emojiCategoryObjects": "أشياء",
144
149
  "tools.callout.emojiCategorySymbols": "رموز",
145
150
  "tools.callout.emojiCategoryFlags": "أعلام",
151
+ "tools.database.addCard": "إضافة بطاقة",
152
+ "tools.database.newPage": "صفحة جديدة",
153
+ "tools.database.addColumn": "إضافة عمود",
154
+ "tools.database.cardTitlePlaceholder": "صفحة فارغة",
155
+ "tools.database.columnTitlePlaceholder": "عمود",
156
+ "tools.database.deleteCard": "حذف البطاقة",
157
+ "tools.database.editCardTitle": "تعديل العنوان",
158
+ "tools.database.cardMenuLabel": "خيارات البطاقة",
159
+ "tools.database.deleteColumn": "حذف العمود",
160
+ "tools.database.renameColumn": "إعادة تسمية العمود",
161
+ "tools.database.emptyColumn": "لا بطاقات",
162
+ "tools.database.rowTitlePlaceholder": "صفحة فارغة",
163
+ "tools.database.addRow": "إضافة صف",
164
+ "tools.database.newRow": "صف جديد",
165
+ "tools.database.openRow": "فتح الصف",
166
+ "tools.database.deleteRow": "حذف الصف",
146
167
  "tools.callout.color": "اللون",
147
168
  "tools.callout.colorDefault": "افتراضي",
148
169
  "tools.callout.colorGray": "رمادي",
@@ -184,5 +205,5 @@
184
205
  "searchTerms.code": "كود",
185
206
  "searchTerms.snippet": "مقتطف",
186
207
  "searchTerms.program": "برنامج",
187
- "searchTerms.pre": "pre"
208
+ "searchTerms.pre": "منسق مسبقاً"
188
209
  }
@@ -23,8 +23,8 @@
23
23
  "tools.marker.textColor": "Mətn",
24
24
  "tools.marker.background": "Arxa fon",
25
25
  "tools.marker.default": "Standart",
26
- "tools.colorPicker.defaultSwatchLabel": "{default} {mode}",
27
- "tools.colorPicker.colorSwatchLabel": "{color} {mode}",
26
+ "tools.colorPicker.defaultSwatchLabel": "{mode} {default}",
27
+ "tools.colorPicker.colorSwatchLabel": "{mode} {color}",
28
28
  "tools.colorPicker.color.gray": "Boz",
29
29
  "tools.colorPicker.color.brown": "Qəhvəyi",
30
30
  "tools.colorPicker.color.orange": "Narıncı",
@@ -71,6 +71,9 @@
71
71
  "tools.table.clickToAddColumn": "Yeni sütun əlavə etmək üçün klikləyin",
72
72
  "tools.table.dragToAddRemoveColumns": "Sütun əlavə etmək və ya silmək üçün dartın",
73
73
  "blockSettings.delete": "Sil",
74
+ "blockSettings.copyLink": "Bloka keçid kopyala",
75
+ "blockSettings.lastEdited": "Son redaktə",
76
+ "blockSettings.lastEditedBy": "{name} tərəfindən son redaktə",
74
77
  "a11y.dragHandle": "Köçürmək üçün dartın və ya menyu üçün klikləyin",
75
78
  "a11y.dragHandleRole": "dartma tutacağı",
76
79
  "a11y.dragStarted": "Blok dartılır",
@@ -89,6 +92,8 @@
89
92
  "toolNames.underline": "Altdan xətt",
90
93
  "toolNames.strikethrough": "Üstü xətli",
91
94
  "toolNames.callout": "Vurğu",
95
+ "toolNames.database": "Verilənlər bazası",
96
+ "toolNames.board": "Lövhə",
92
97
  "toolNames.divider": "Bölücü",
93
98
  "toolNames.quote": "Sitat",
94
99
  "searchTerms.divider": "bölücü",
@@ -143,6 +148,22 @@
143
148
  "tools.callout.emojiCategoryObjects": "Əşyalar",
144
149
  "tools.callout.emojiCategorySymbols": "Simvollar",
145
150
  "tools.callout.emojiCategoryFlags": "Bayraqlar",
151
+ "tools.database.addColumn": "Sütun əlavə et",
152
+ "tools.database.renameColumn": "Sütunu yenidən adlandır",
153
+ "tools.database.deleteColumn": "Sütunu sil",
154
+ "tools.database.addCard": "Kart əlavə et",
155
+ "tools.database.newPage": "Yeni səhifə",
156
+ "tools.database.deleteCard": "Kartı sil",
157
+ "tools.database.editCardTitle": "Başlığı redaktə et",
158
+ "tools.database.cardMenuLabel": "Kart seçimləri",
159
+ "tools.database.cardTitlePlaceholder": "Boş səhifə",
160
+ "tools.database.columnTitlePlaceholder": "Sütun",
161
+ "tools.database.emptyColumn": "Kart yoxdur",
162
+ "tools.database.rowTitlePlaceholder": "Boş səhifə",
163
+ "tools.database.addRow": "Sətir əlavə et",
164
+ "tools.database.newRow": "Yeni sətir",
165
+ "tools.database.openRow": "Sətiri aç",
166
+ "tools.database.deleteRow": "Sətiri sil",
146
167
  "tools.callout.color": "Rəng",
147
168
  "tools.callout.colorDefault": "Standart",
148
169
  "tools.callout.colorGray": "Boz",
@@ -184,5 +205,5 @@
184
205
  "searchTerms.code": "kod",
185
206
  "searchTerms.snippet": "fraqment",
186
207
  "searchTerms.program": "proqram",
187
- "searchTerms.pre": "pre"
208
+ "searchTerms.pre": "əvvəldən formatlanmış"
188
209
  }