adminizer 4.2.0-build.50 → 4.2.0-build.52

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 (523) hide show
  1. package/assets/{VanillaJSONEditor-XGIlS4LL.js → VanillaJSONEditor-x8tDbio1.js} +3 -3
  2. package/assets/add-DOaZgoTz.js +1 -0
  3. package/assets/add-form-BjackXJe.js +1 -0
  4. package/assets/add-group-Br44s2D6.js +1 -0
  5. package/assets/{add-group-form-_VEBFz_S.js → add-group-form-YI6KS37x.js} +1 -1
  6. package/assets/add-user-DWcH0s9-.js +1 -0
  7. package/assets/{add-user-form-BFAFyXuz.js → add-user-form-bv5BNX5A.js} +1 -1
  8. package/assets/{app-CXlohNEv.css → app-CVnUv8s_.css} +10 -2
  9. package/assets/{app-layout-NMKA6xAa.js → app-layout-DecN527i.js} +1 -1
  10. package/assets/{app-shell-Dd-kA5uc.js → app-shell-DHzMWA1L.js} +1 -1
  11. package/assets/{app-sidebar-C4Y6TSY3.js → app-sidebar-4JFP8UdU.js} +1 -1
  12. package/assets/app-sidebar-header-CIKLfLsF.js +1 -0
  13. package/assets/app.js +2 -2
  14. package/assets/breadcrumbs-Bo2z-LNC.js +1 -0
  15. package/assets/catalog-C71LuRag.css +1 -0
  16. package/assets/{catalog-CEVSwmj8.js → catalog-DVyrGTNR.js} +4 -4
  17. package/assets/{dashboard-jLbWzL7K.js → dashboard-Dy3pk9t7.js} +2 -2
  18. package/assets/date-picker-B2z-aeuv.js +1 -0
  19. package/assets/debounce-D6eaSoDg.js +1 -0
  20. package/assets/del-modal-l3LxJWCN.js +1 -0
  21. package/assets/{field-renderer-C7qCVvAC.js → field-renderer-BHo944Cn.js} +133 -133
  22. package/assets/{field-renderer-BlBZuSiD.css → field-renderer-CsBa_tMB.css} +1 -1
  23. package/assets/form-BXfnz6h5.js +1 -0
  24. package/assets/{form-CYsLdORv.js → form-hP8sjbND.js} +1 -1
  25. package/assets/{geo-json-XGenv_Sy.js → geo-json-CVaNUZbb.js} +1 -1
  26. package/assets/{handsontable-Dxb-hF7-.js → handsontable-CZQ5Ietj.js} +1 -1
  27. package/assets/home-BD4MWmm9.js +2 -0
  28. package/assets/{icon-DQL8h8HI.js → icon-C_X2cQ6W.js} +1 -1
  29. package/assets/index-C148XJoK.js +1 -0
  30. package/assets/{init-user-DZtnQ7VL.js → init-user-DgCD4ZN1.js} +1 -1
  31. package/assets/input-error-Bab-HPbn.js +1 -0
  32. package/assets/list-C-27EH39.js +1 -0
  33. package/assets/{list-table-Du8TTXit.js → list-table-_OiQmr2A.js} +3 -3
  34. package/assets/{login-2THGmUHc.js → login-jzvVXgAV.js} +1 -1
  35. package/assets/manifest.json +160 -112
  36. package/assets/{material-icon-CPvFwV5P.js → material-icon-DsiW0iQG.js} +1 -1
  37. package/assets/media-manager-BZPjl98I.css +1 -0
  38. package/assets/media-manager-CSB_XRcE.js +14 -0
  39. package/assets/module-Ceq6vuwa.js +1 -0
  40. package/assets/{monaco-editor-9fDiyfuW.js → monaco-editor-XX8Hz76f.js} +3 -3
  41. package/assets/multi-select-BbKSrMw2.js +1 -0
  42. package/assets/nav-footer-B8gMV6Wp.js +1 -0
  43. package/assets/nav-main-BUp9qA8R.js +1 -0
  44. package/assets/nav-user-DeF3SDRj.js +1 -0
  45. package/assets/{pagination-render-D6MBqi0B.js → pagination-render-B9U_hVbB.js} +1 -1
  46. package/assets/{register-Dks3YdiZ.js → register-C6acWsLe.js} +1 -1
  47. package/assets/theme-switcher-D8T9NgWG.js +1 -0
  48. package/assets/{toast-editor-1Pul3oMs.js → toast-editor-C0550yms.js} +1 -1
  49. package/assets/use-appearance-CXP5cHaQ.js +1 -0
  50. package/assets/{user-info-DTsggabP.js → user-info-CAgkqARx.js} +1 -1
  51. package/assets/{user-menu-content-Dnh2qpwQ.js → user-menu-content-BxL0QMC9.js} +1 -1
  52. package/assets/welcome-Dk7GoS5R.js +1 -0
  53. package/controllers/edit.js +4 -10
  54. package/controllers/media-manager/mediaManagerAdapter.d.ts +15 -1
  55. package/controllers/media-manager/mediaManagerAdapter.js +126 -85
  56. package/controllers/media-manager/mediaManagerApi.js +10 -4
  57. package/controllers/view.js +10 -0
  58. package/fileicons/3g2.svg +1 -0
  59. package/fileicons/3ga.svg +1 -0
  60. package/fileicons/3gp.svg +1 -0
  61. package/fileicons/7z.svg +1 -0
  62. package/fileicons/aa.svg +1 -0
  63. package/fileicons/aac.svg +1 -0
  64. package/fileicons/ac.svg +1 -0
  65. package/fileicons/accdb.svg +1 -0
  66. package/fileicons/accdt.svg +1 -0
  67. package/fileicons/ace.svg +1 -0
  68. package/fileicons/adn.svg +1 -0
  69. package/fileicons/ai.svg +1 -0
  70. package/fileicons/aif.svg +1 -0
  71. package/fileicons/aifc.svg +1 -0
  72. package/fileicons/aiff.svg +1 -0
  73. package/fileicons/ait.svg +1 -0
  74. package/fileicons/amr.svg +1 -0
  75. package/fileicons/ani.svg +1 -0
  76. package/fileicons/apk.svg +1 -0
  77. package/fileicons/app.svg +1 -0
  78. package/fileicons/applescript.svg +1 -0
  79. package/fileicons/asax.svg +1 -0
  80. package/fileicons/asc.svg +1 -0
  81. package/fileicons/ascx.svg +1 -0
  82. package/fileicons/asf.svg +1 -0
  83. package/fileicons/ash.svg +1 -0
  84. package/fileicons/ashx.svg +1 -0
  85. package/fileicons/asm.svg +1 -0
  86. package/fileicons/asmx.svg +1 -0
  87. package/fileicons/asp.svg +1 -0
  88. package/fileicons/aspx.svg +1 -0
  89. package/fileicons/asx.svg +1 -0
  90. package/fileicons/au.svg +1 -0
  91. package/fileicons/aup.svg +1 -0
  92. package/fileicons/avi.svg +1 -0
  93. package/fileicons/axd.svg +1 -0
  94. package/fileicons/aze.svg +1 -0
  95. package/fileicons/bak.svg +1 -0
  96. package/fileicons/bash.svg +1 -0
  97. package/fileicons/bat.svg +1 -0
  98. package/fileicons/bin.svg +1 -0
  99. package/fileicons/blank.svg +1 -0
  100. package/fileicons/bmp.svg +1 -0
  101. package/fileicons/bowerrc.svg +1 -0
  102. package/fileicons/bpg.svg +1 -0
  103. package/fileicons/browser.svg +1 -0
  104. package/fileicons/bz2.svg +1 -0
  105. package/fileicons/bzempty.svg +1 -0
  106. package/fileicons/c.svg +1 -0
  107. package/fileicons/cab.svg +1 -0
  108. package/fileicons/cad.svg +1 -0
  109. package/fileicons/caf.svg +1 -0
  110. package/fileicons/cal.svg +1 -0
  111. package/fileicons/catalog.json +1 -0
  112. package/fileicons/cd.svg +1 -0
  113. package/fileicons/cdda.svg +1 -0
  114. package/fileicons/cer.svg +1 -0
  115. package/fileicons/cfg.svg +1 -0
  116. package/fileicons/cfm.svg +1 -0
  117. package/fileicons/cfml.svg +1 -0
  118. package/fileicons/cgi.svg +1 -0
  119. package/fileicons/chm.svg +1 -0
  120. package/fileicons/class.svg +1 -0
  121. package/fileicons/cmd.svg +1 -0
  122. package/fileicons/code-workspace.svg +1 -0
  123. package/fileicons/codekit.svg +1 -0
  124. package/fileicons/coffee.svg +1 -0
  125. package/fileicons/coffeelintignore.svg +1 -0
  126. package/fileicons/com.svg +1 -0
  127. package/fileicons/compile.svg +1 -0
  128. package/fileicons/conf.svg +1 -0
  129. package/fileicons/config.svg +1 -0
  130. package/fileicons/cpp.svg +1 -0
  131. package/fileicons/cptx.svg +1 -0
  132. package/fileicons/cr2.svg +1 -0
  133. package/fileicons/crdownload.svg +1 -0
  134. package/fileicons/crt.svg +1 -0
  135. package/fileicons/crypt.svg +1 -0
  136. package/fileicons/cs.svg +1 -0
  137. package/fileicons/csh.svg +1 -0
  138. package/fileicons/cson.svg +1 -0
  139. package/fileicons/csproj.svg +1 -0
  140. package/fileicons/css.svg +1 -0
  141. package/fileicons/csv.svg +1 -0
  142. package/fileicons/cue.svg +1 -0
  143. package/fileicons/cur.svg +1 -0
  144. package/fileicons/dart.svg +1 -0
  145. package/fileicons/dat.svg +1 -0
  146. package/fileicons/data.svg +1 -0
  147. package/fileicons/db.svg +1 -0
  148. package/fileicons/dbf.svg +1 -0
  149. package/fileicons/deb.svg +1 -0
  150. package/fileicons/default.svg +1 -0
  151. package/fileicons/dgn.svg +1 -0
  152. package/fileicons/dist.svg +1 -0
  153. package/fileicons/diz.svg +1 -0
  154. package/fileicons/dll.svg +1 -0
  155. package/fileicons/dmg.svg +1 -0
  156. package/fileicons/dng.svg +1 -0
  157. package/fileicons/doc.svg +1 -0
  158. package/fileicons/docb.svg +1 -0
  159. package/fileicons/docm.svg +1 -0
  160. package/fileicons/docx.svg +1 -0
  161. package/fileicons/dot.svg +1 -0
  162. package/fileicons/dotm.svg +1 -0
  163. package/fileicons/dotx.svg +1 -0
  164. package/fileicons/download.svg +1 -0
  165. package/fileicons/dpj.svg +1 -0
  166. package/fileicons/ds_store.svg +1 -0
  167. package/fileicons/dsn.svg +1 -0
  168. package/fileicons/dtd.svg +1 -0
  169. package/fileicons/dwg.svg +1 -0
  170. package/fileicons/dxf.svg +1 -0
  171. package/fileicons/editorconfig.svg +1 -0
  172. package/fileicons/el.svg +1 -0
  173. package/fileicons/elf.svg +1 -0
  174. package/fileicons/eml.svg +1 -0
  175. package/fileicons/enc.svg +1 -0
  176. package/fileicons/eot.svg +1 -0
  177. package/fileicons/eps.svg +1 -0
  178. package/fileicons/epub.svg +1 -0
  179. package/fileicons/eslintignore.svg +1 -0
  180. package/fileicons/exe.svg +1 -0
  181. package/fileicons/f4v.svg +1 -0
  182. package/fileicons/fax.svg +1 -0
  183. package/fileicons/fb2.svg +1 -0
  184. package/fileicons/fla.svg +1 -0
  185. package/fileicons/flac.svg +1 -0
  186. package/fileicons/flv.svg +1 -0
  187. package/fileicons/fnt.svg +1 -0
  188. package/fileicons/folder.svg +1 -0
  189. package/fileicons/fon.svg +1 -0
  190. package/fileicons/gadget.svg +1 -0
  191. package/fileicons/gdp.svg +1 -0
  192. package/fileicons/gem.svg +1 -0
  193. package/fileicons/gif.svg +1 -0
  194. package/fileicons/gitattributes.svg +1 -0
  195. package/fileicons/gitignore.svg +1 -0
  196. package/fileicons/go.svg +1 -0
  197. package/fileicons/gpg.svg +1 -0
  198. package/fileicons/gpl.svg +1 -0
  199. package/fileicons/gradle.svg +1 -0
  200. package/fileicons/gz.svg +1 -0
  201. package/fileicons/h.svg +1 -0
  202. package/fileicons/handlebars.svg +1 -0
  203. package/fileicons/hbs.svg +1 -0
  204. package/fileicons/heic.svg +1 -0
  205. package/fileicons/hlp.svg +1 -0
  206. package/fileicons/hs.svg +1 -0
  207. package/fileicons/hsl.svg +1 -0
  208. package/fileicons/htm.svg +1 -0
  209. package/fileicons/html.svg +1 -0
  210. package/fileicons/ibooks.svg +1 -0
  211. package/fileicons/icns.svg +1 -0
  212. package/fileicons/ico.svg +1 -0
  213. package/fileicons/ics.svg +1 -0
  214. package/fileicons/idx.svg +1 -0
  215. package/fileicons/iff.svg +1 -0
  216. package/fileicons/ifo.svg +1 -0
  217. package/fileicons/image.svg +1 -0
  218. package/fileicons/img.svg +1 -0
  219. package/fileicons/iml.svg +1 -0
  220. package/fileicons/in.svg +1 -0
  221. package/fileicons/inc.svg +1 -0
  222. package/fileicons/indd.svg +1 -0
  223. package/fileicons/inf.svg +1 -0
  224. package/fileicons/info.svg +1 -0
  225. package/fileicons/ini.svg +1 -0
  226. package/fileicons/inv.svg +1 -0
  227. package/fileicons/iso.svg +1 -0
  228. package/fileicons/j2.svg +1 -0
  229. package/fileicons/jar.svg +1 -0
  230. package/fileicons/java.svg +1 -0
  231. package/fileicons/jpe.svg +1 -0
  232. package/fileicons/jpeg.svg +1 -0
  233. package/fileicons/jpg.svg +1 -0
  234. package/fileicons/js.svg +1 -0
  235. package/fileicons/json.svg +1 -0
  236. package/fileicons/jsp.svg +1 -0
  237. package/fileicons/jsx.svg +1 -0
  238. package/fileicons/key.svg +1 -0
  239. package/fileicons/kf8.svg +1 -0
  240. package/fileicons/kmk.svg +1 -0
  241. package/fileicons/ksh.svg +1 -0
  242. package/fileicons/kt.svg +1 -0
  243. package/fileicons/kts.svg +1 -0
  244. package/fileicons/kup.svg +1 -0
  245. package/fileicons/less.svg +1 -0
  246. package/fileicons/lex.svg +1 -0
  247. package/fileicons/licx.svg +1 -0
  248. package/fileicons/lisp.svg +1 -0
  249. package/fileicons/lit.svg +1 -0
  250. package/fileicons/lnk.svg +1 -0
  251. package/fileicons/lock.svg +1 -0
  252. package/fileicons/log.svg +1 -0
  253. package/fileicons/lua.svg +1 -0
  254. package/fileicons/m.svg +1 -0
  255. package/fileicons/m2v.svg +1 -0
  256. package/fileicons/m3u.svg +1 -0
  257. package/fileicons/m3u8.svg +1 -0
  258. package/fileicons/m4.svg +1 -0
  259. package/fileicons/m4a.svg +1 -0
  260. package/fileicons/m4r.svg +1 -0
  261. package/fileicons/m4v.svg +1 -0
  262. package/fileicons/map.svg +1 -0
  263. package/fileicons/master.svg +1 -0
  264. package/fileicons/mc.svg +1 -0
  265. package/fileicons/md.svg +1 -0
  266. package/fileicons/mdb.svg +1 -0
  267. package/fileicons/mdf.svg +1 -0
  268. package/fileicons/me.svg +1 -0
  269. package/fileicons/mi.svg +1 -0
  270. package/fileicons/mid.svg +1 -0
  271. package/fileicons/midi.svg +1 -0
  272. package/fileicons/mk.svg +1 -0
  273. package/fileicons/mkv.svg +1 -0
  274. package/fileicons/mm.svg +1 -0
  275. package/fileicons/mng.svg +1 -0
  276. package/fileicons/mo.svg +1 -0
  277. package/fileicons/mobi.svg +1 -0
  278. package/fileicons/mod.svg +1 -0
  279. package/fileicons/mov.svg +1 -0
  280. package/fileicons/mp2.svg +1 -0
  281. package/fileicons/mp3.svg +1 -0
  282. package/fileicons/mp4.svg +1 -0
  283. package/fileicons/mpa.svg +1 -0
  284. package/fileicons/mpd.svg +1 -0
  285. package/fileicons/mpe.svg +1 -0
  286. package/fileicons/mpeg.svg +1 -0
  287. package/fileicons/mpg.svg +1 -0
  288. package/fileicons/mpga.svg +1 -0
  289. package/fileicons/mpp.svg +1 -0
  290. package/fileicons/mpt.svg +1 -0
  291. package/fileicons/msg.svg +1 -0
  292. package/fileicons/msi.svg +1 -0
  293. package/fileicons/msu.svg +1 -0
  294. package/fileicons/nef.svg +1 -0
  295. package/fileicons/nes.svg +1 -0
  296. package/fileicons/nfo.svg +1 -0
  297. package/fileicons/nix.svg +1 -0
  298. package/fileicons/npmignore.svg +1 -0
  299. package/fileicons/ocx.svg +1 -0
  300. package/fileicons/odb.svg +1 -0
  301. package/fileicons/ods.svg +1 -0
  302. package/fileicons/odt.svg +1 -0
  303. package/fileicons/ogg.svg +1 -0
  304. package/fileicons/ogv.svg +1 -0
  305. package/fileicons/ost.svg +1 -0
  306. package/fileicons/otf.svg +1 -0
  307. package/fileicons/ott.svg +1 -0
  308. package/fileicons/ova.svg +1 -0
  309. package/fileicons/ovf.svg +1 -0
  310. package/fileicons/p12.svg +1 -0
  311. package/fileicons/p7b.svg +1 -0
  312. package/fileicons/pages.svg +1 -0
  313. package/fileicons/part.svg +1 -0
  314. package/fileicons/partial.svg +1 -0
  315. package/fileicons/pcd.svg +1 -0
  316. package/fileicons/pdb.svg +1 -0
  317. package/fileicons/pdf.svg +1 -0
  318. package/fileicons/pem.svg +1 -0
  319. package/fileicons/pfx.svg +1 -0
  320. package/fileicons/pgp.svg +1 -0
  321. package/fileicons/ph.svg +1 -0
  322. package/fileicons/phar.svg +1 -0
  323. package/fileicons/php.svg +1 -0
  324. package/fileicons/pid.svg +1 -0
  325. package/fileicons/pkg.svg +1 -0
  326. package/fileicons/pl.svg +1 -0
  327. package/fileicons/plist.svg +1 -0
  328. package/fileicons/pm.svg +1 -0
  329. package/fileicons/png.svg +1 -0
  330. package/fileicons/po.svg +1 -0
  331. package/fileicons/pom.svg +1 -0
  332. package/fileicons/pot.svg +1 -0
  333. package/fileicons/potx.svg +1 -0
  334. package/fileicons/pps.svg +1 -0
  335. package/fileicons/ppsx.svg +1 -0
  336. package/fileicons/ppt.svg +1 -0
  337. package/fileicons/pptm.svg +1 -0
  338. package/fileicons/pptx.svg +1 -0
  339. package/fileicons/prop.svg +1 -0
  340. package/fileicons/ps.svg +1 -0
  341. package/fileicons/ps1.svg +1 -0
  342. package/fileicons/psd.svg +1 -0
  343. package/fileicons/psp.svg +1 -0
  344. package/fileicons/pst.svg +1 -0
  345. package/fileicons/pub.svg +1 -0
  346. package/fileicons/py.svg +1 -0
  347. package/fileicons/pyc.svg +1 -0
  348. package/fileicons/qt.svg +1 -0
  349. package/fileicons/ra.svg +1 -0
  350. package/fileicons/ram.svg +1 -0
  351. package/fileicons/rar.svg +1 -0
  352. package/fileicons/raw.svg +1 -0
  353. package/fileicons/rb.svg +1 -0
  354. package/fileicons/rdf.svg +1 -0
  355. package/fileicons/rdl.svg +1 -0
  356. package/fileicons/reg.svg +1 -0
  357. package/fileicons/resx.svg +1 -0
  358. package/fileicons/retry.svg +1 -0
  359. package/fileicons/rm.svg +1 -0
  360. package/fileicons/rom.svg +1 -0
  361. package/fileicons/rpm.svg +1 -0
  362. package/fileicons/rpt.svg +1 -0
  363. package/fileicons/rsa.svg +1 -0
  364. package/fileicons/rss.svg +1 -0
  365. package/fileicons/rst.svg +1 -0
  366. package/fileicons/rtf.svg +1 -0
  367. package/fileicons/ru.svg +1 -0
  368. package/fileicons/rub.svg +1 -0
  369. package/fileicons/sass.svg +1 -0
  370. package/fileicons/scss.svg +1 -0
  371. package/fileicons/sdf.svg +1 -0
  372. package/fileicons/sed.svg +1 -0
  373. package/fileicons/sh.svg +1 -0
  374. package/fileicons/sit.svg +1 -0
  375. package/fileicons/sitemap.svg +1 -0
  376. package/fileicons/skin.svg +1 -0
  377. package/fileicons/sldm.svg +1 -0
  378. package/fileicons/sldx.svg +1 -0
  379. package/fileicons/sln.svg +1 -0
  380. package/fileicons/sol.svg +1 -0
  381. package/fileicons/sphinx.svg +1 -0
  382. package/fileicons/sql.svg +1 -0
  383. package/fileicons/sqlite.svg +1 -0
  384. package/fileicons/step.svg +1 -0
  385. package/fileicons/stl.svg +1 -0
  386. package/fileicons/svg.svg +1 -0
  387. package/fileicons/swd.svg +1 -0
  388. package/fileicons/swf.svg +1 -0
  389. package/fileicons/swift.svg +1 -0
  390. package/fileicons/swp.svg +1 -0
  391. package/fileicons/sys.svg +1 -0
  392. package/fileicons/tar.svg +1 -0
  393. package/fileicons/tax.svg +1 -0
  394. package/fileicons/tcsh.svg +1 -0
  395. package/fileicons/tex.svg +1 -0
  396. package/fileicons/tfignore.svg +1 -0
  397. package/fileicons/tga.svg +1 -0
  398. package/fileicons/tgz.svg +1 -0
  399. package/fileicons/tif.svg +1 -0
  400. package/fileicons/tiff.svg +1 -0
  401. package/fileicons/tmp.svg +1 -0
  402. package/fileicons/tmx.svg +1 -0
  403. package/fileicons/torrent.svg +1 -0
  404. package/fileicons/tpl.svg +1 -0
  405. package/fileicons/ts.svg +1 -0
  406. package/fileicons/tsv.svg +1 -0
  407. package/fileicons/ttf.svg +1 -0
  408. package/fileicons/twig.svg +1 -0
  409. package/fileicons/txt.svg +1 -0
  410. package/fileicons/udf.svg +1 -0
  411. package/fileicons/vb.svg +1 -0
  412. package/fileicons/vbproj.svg +1 -0
  413. package/fileicons/vbs.svg +1 -0
  414. package/fileicons/vcd.svg +1 -0
  415. package/fileicons/vcf.svg +1 -0
  416. package/fileicons/vcs.svg +1 -0
  417. package/fileicons/vdi.svg +1 -0
  418. package/fileicons/vdx.svg +1 -0
  419. package/fileicons/vmdk.svg +1 -0
  420. package/fileicons/vob.svg +1 -0
  421. package/fileicons/vox.svg +1 -0
  422. package/fileicons/vscodeignore.svg +1 -0
  423. package/fileicons/vsd.svg +1 -0
  424. package/fileicons/vss.svg +1 -0
  425. package/fileicons/vst.svg +1 -0
  426. package/fileicons/vsx.svg +1 -0
  427. package/fileicons/vtx.svg +1 -0
  428. package/fileicons/war.svg +1 -0
  429. package/fileicons/wav.svg +1 -0
  430. package/fileicons/wbk.svg +1 -0
  431. package/fileicons/webinfo.svg +1 -0
  432. package/fileicons/webm.svg +1 -0
  433. package/fileicons/webp.svg +1 -0
  434. package/fileicons/wma.svg +1 -0
  435. package/fileicons/wmf.svg +1 -0
  436. package/fileicons/wmv.svg +1 -0
  437. package/fileicons/woff.svg +1 -0
  438. package/fileicons/woff2.svg +1 -0
  439. package/fileicons/wps.svg +1 -0
  440. package/fileicons/wsf.svg +1 -0
  441. package/fileicons/xaml.svg +1 -0
  442. package/fileicons/xcf.svg +1 -0
  443. package/fileicons/xfl.svg +1 -0
  444. package/fileicons/xlm.svg +1 -0
  445. package/fileicons/xls.svg +1 -0
  446. package/fileicons/xlsm.svg +1 -0
  447. package/fileicons/xlsx.svg +1 -0
  448. package/fileicons/xlt.svg +1 -0
  449. package/fileicons/xltm.svg +1 -0
  450. package/fileicons/xltx.svg +1 -0
  451. package/fileicons/xml.svg +1 -0
  452. package/fileicons/xpi.svg +1 -0
  453. package/fileicons/xps.svg +1 -0
  454. package/fileicons/xrb.svg +1 -0
  455. package/fileicons/xsd.svg +1 -0
  456. package/fileicons/xsl.svg +1 -0
  457. package/fileicons/xspf.svg +1 -0
  458. package/fileicons/xz.svg +1 -0
  459. package/fileicons/yaml.svg +1 -0
  460. package/fileicons/yml.svg +1 -0
  461. package/fileicons/z.svg +1 -0
  462. package/fileicons/zip.svg +1 -0
  463. package/fileicons/zsh.svg +1 -0
  464. package/helpers/inertiaAddHelper.d.ts +1 -1
  465. package/helpers/inertiaAddHelper.js +4 -0
  466. package/interfaces/adminpanelConfig.d.ts +3 -0
  467. package/interfaces/global.d.ts +2 -0
  468. package/lib/Adminizer.js +2 -2
  469. package/lib/media-manager/AbstractMediaManager.d.ts +19 -19
  470. package/lib/media-manager/AbstractMediaManager.js +13 -11
  471. package/lib/media-manager/DefaultMediaManager.d.ts +17 -0
  472. package/lib/media-manager/DefaultMediaManager.js +98 -125
  473. package/lib/media-manager/Items.d.ts +45 -0
  474. package/lib/media-manager/Items.js +279 -334
  475. package/lib/media-manager/Thumb.js +1 -2
  476. package/lib/media-manager/helpers/MediaManagerHelper.js +4 -6
  477. package/lib/v4/DataAccessor.d.ts +1 -0
  478. package/lib/v4/DataAccessor.js +15 -8
  479. package/lib/v4/model/adapter/sequelize.js +56 -34
  480. package/lib/v4/model/adapter/waterline.js +12 -4
  481. package/lib/v4/widgets/abstractCustom.d.ts +1 -1
  482. package/models/MediaManagerAP.d.ts +62 -0
  483. package/models/MediaManagerAP.js +45 -0
  484. package/models/MediaManagerAssociationsAP.d.ts +38 -0
  485. package/models/MediaManagerAssociationsAP.js +27 -0
  486. package/models/MediaManagerMetaAP.d.ts +30 -0
  487. package/models/MediaManagerMetaAP.js +21 -0
  488. package/package.json +14 -5
  489. package/system/Router.js +4 -2
  490. package/system/bindExpressUtils.js +1 -1
  491. package/system/bindMediaManager.d.ts +2 -0
  492. package/system/bindMediaManager.js +19 -20
  493. package/system/bindModels.js +3 -3
  494. package/system/bindReqFunctions.js +15 -14
  495. package/translations/en.json +73 -3
  496. package/translations/ru.json +120 -71
  497. package/ui/components/ui/dialog-stack.js +3 -3
  498. package/ui/components/ui/dialog.js +1 -1
  499. package/ui/components/ui/table.d.ts +3 -1
  500. package/ui/components/ui/table.js +2 -2
  501. package/ui/components/ui/tabs.d.ts +7 -0
  502. package/ui/components/ui/tabs.js +16 -0
  503. package/assets/add-BzeOQ-DB.js +0 -1
  504. package/assets/add-form-BLdLojfl.js +0 -1
  505. package/assets/add-group-Bx2s4UXM.js +0 -1
  506. package/assets/add-user-C3BY-sey.js +0 -1
  507. package/assets/app-sidebar-header-DQnbMxfM.js +0 -1
  508. package/assets/breadcrumbs-D0gGjNVI.js +0 -1
  509. package/assets/catalog-Cc6Mk9sX.css +0 -1
  510. package/assets/date-picker-SAfAWPoh.js +0 -1
  511. package/assets/debounce-qdyXyOeG.js +0 -1
  512. package/assets/del-modal-Dj3n8iVJ.js +0 -1
  513. package/assets/form-DjAQC5zI.js +0 -1
  514. package/assets/home-DfUM0yKC.js +0 -2
  515. package/assets/input-error-BztTAmHq.js +0 -1
  516. package/assets/list-B1FodBkq.js +0 -1
  517. package/assets/module-D55s6p7N.js +0 -1
  518. package/assets/multi-select-e4PqgWYn.js +0 -1
  519. package/assets/nav-footer-B7wjmsPb.js +0 -1
  520. package/assets/nav-main-Cx1BkIzi.js +0 -1
  521. package/assets/nav-user-BWl2j-y-.js +0 -1
  522. package/assets/use-appearance-J8J2w43p.js +0 -1
  523. package/assets/welcome-HFROxPwP.js +0 -1
@@ -40,11 +40,7 @@ export interface MediaManagerWidgetJSON {
40
40
  mediaManagerId: string;
41
41
  }
42
42
  export interface MediaManagerWidgetData {
43
- list: MediaManagerWidgetItem[];
44
- /**
45
- * @deprecated Apparently this is not needed here since it is in the field config settings
46
- */
47
- mediaManagerId: string;
43
+ id: string;
48
44
  }
49
45
  export type UploaderFile = Express.Multer.File;
50
46
  export interface imageSizes {
@@ -56,22 +52,22 @@ export interface imageSizes {
56
52
  export type MediaFileType = "application" | "audio" | "example" | "image" | "message" | "model" | "multipart" | "text" | "video";
57
53
  export declare abstract class File<T extends MediaManagerItem> {
58
54
  abstract type: MediaFileType;
59
- path: string;
60
- dir: string;
55
+ urlPathPrefix: string;
56
+ fileStoragePath: string;
61
57
  model: string;
62
58
  metaModel: string;
63
59
  /**
64
60
  *
65
- * @param path
66
- * @param dir
61
+ * @param urlPathPrefix
62
+ * @param fileStoragePath
67
63
  */
68
- constructor(urlPathPrefix: string, fileStoragePath: string);
64
+ protected constructor(urlPathPrefix: string, fileStoragePath: string);
69
65
  /**
70
66
  * Upload a file.
71
67
  * @param file
72
68
  * @param filename
73
69
  * @param origFileName
74
- * @param imageSizes
70
+ * @param group
75
71
  */
76
72
  abstract upload(file: UploaderFile, filename: string, origFileName: string, group?: string): Promise<T[]>;
77
73
  /**
@@ -100,7 +96,8 @@ export declare abstract class File<T extends MediaManagerItem> {
100
96
  * @param item
101
97
  * @param file
102
98
  * @param fileName
103
- * @param config
99
+ * @param group
100
+ * @param localeId
104
101
  */
105
102
  abstract uploadVariant(item: MediaManagerItem, file: UploaderFile, fileName: string, group?: string, localeId?: string): Promise<MediaManagerItem>;
106
103
  /**
@@ -141,9 +138,10 @@ export declare abstract class File<T extends MediaManagerItem> {
141
138
  export declare abstract class AbstractMediaManager {
142
139
  uploadMaxBytes: number;
143
140
  uloadAllowedTypes: string[];
144
- dir: string;
141
+ fileStoragePath: string;
142
+ urlPathPrefix: string;
145
143
  /**
146
-
144
+
147
145
  */
148
146
  allowSearch: boolean;
149
147
  /**⚠️ above the settings that need to be implemented*/
@@ -162,7 +160,6 @@ export declare abstract class AbstractMediaManager {
162
160
  * @param file
163
161
  * @param filename
164
162
  * @param origFileName
165
- * @param imageSizes
166
163
  * @param group
167
164
  */
168
165
  upload(file: UploaderFile, filename: string, origFileName: string, group?: string): Promise<MediaManagerItem[]>;
@@ -189,7 +186,7 @@ export declare abstract class AbstractMediaManager {
189
186
  * @param limit
190
187
  * @param skip
191
188
  * @param sort
192
- * @param group?
189
+ * @param group
193
190
  */
194
191
  getItems(type: string, limit: number, skip: number, sort: SortCriteria, group?: string): Promise<{
195
192
  data: MediaManagerItem[];
@@ -200,9 +197,9 @@ export declare abstract class AbstractMediaManager {
200
197
  * @param data
201
198
  * @param model model in which a mediafile connection was added
202
199
  * @param modelId Id in the model in which the mediafile was added
203
- * @param modelAttribute
200
+ * @param widgetName
204
201
  */
205
- abstract setRelations(data: MediaManagerWidgetData,
202
+ abstract setRelations(data: MediaManagerWidgetData[],
206
203
  /**
207
204
  * widget model in which a mediafile connection was added
208
205
  */
@@ -216,12 +213,14 @@ export declare abstract class AbstractMediaManager {
216
213
  * Search all items.
217
214
  * If not this.allowSearch = true then it will not come here
218
215
  * @param s
216
+ * @param group
219
217
  */
220
218
  abstract searchAll(s: string, group?: string): Promise<MediaManagerItem[]>;
221
219
  /**
222
220
  * Search items by type.
223
221
  * @param s
224
222
  * @param type
223
+ * @param group
225
224
  */
226
225
  searchItems(s: string, type: string, group?: string): Promise<MediaManagerItem[]>;
227
226
  /**
@@ -234,7 +233,8 @@ export declare abstract class AbstractMediaManager {
234
233
  * @param item
235
234
  * @param file
236
235
  * @param fileName
237
- * @param config
236
+ * @param group
237
+ * @param localeId
238
238
  */
239
239
  uploadVariant(item: MediaManagerItem, file: UploaderFile, fileName: string, group?: string, localeId?: string): Promise<MediaManagerItem>;
240
240
  /**
@@ -1,16 +1,16 @@
1
1
  export class File {
2
- path;
3
- dir;
2
+ urlPathPrefix;
3
+ fileStoragePath;
4
4
  model;
5
5
  metaModel;
6
6
  /**
7
7
  *
8
- * @param path
9
- * @param dir
8
+ * @param urlPathPrefix
9
+ * @param fileStoragePath
10
10
  */
11
11
  constructor(urlPathPrefix, fileStoragePath) {
12
- this.path = urlPathPrefix;
13
- this.dir = fileStoragePath;
12
+ this.urlPathPrefix = urlPathPrefix;
13
+ this.fileStoragePath = fileStoragePath;
14
14
  }
15
15
  }
16
16
  /**
@@ -32,9 +32,10 @@ export class File {
32
32
  export class AbstractMediaManager {
33
33
  uploadMaxBytes;
34
34
  uloadAllowedTypes;
35
- dir;
35
+ fileStoragePath;
36
+ urlPathPrefix;
36
37
  /**
37
-
38
+
38
39
  */
39
40
  allowSearch;
40
41
  itemTypes = [];
@@ -59,7 +60,6 @@ export class AbstractMediaManager {
59
60
  * @param file
60
61
  * @param filename
61
62
  * @param origFileName
62
- * @param imageSizes
63
63
  * @param group
64
64
  */
65
65
  upload(file, filename, origFileName, group) {
@@ -87,7 +87,7 @@ export class AbstractMediaManager {
87
87
  * @param limit
88
88
  * @param skip
89
89
  * @param sort
90
- * @param group?
90
+ * @param group
91
91
  */
92
92
  getItems(type, limit, skip, sort, group) {
93
93
  return this.getItemType(type)?.getItems(limit, skip, sort, group);
@@ -96,6 +96,7 @@ export class AbstractMediaManager {
96
96
  * Search items by type.
97
97
  * @param s
98
98
  * @param type
99
+ * @param group
99
100
  */
100
101
  searchItems(s, type, group) {
101
102
  return this.getItemType(type)?.search(s, group);
@@ -113,7 +114,8 @@ export class AbstractMediaManager {
113
114
  * @param item
114
115
  * @param file
115
116
  * @param fileName
116
- * @param config
117
+ * @param group
118
+ * @param localeId
117
119
  */
118
120
  uploadVariant(item, file, fileName, group, localeId) {
119
121
  const parts = item.mimeType.split("/");
@@ -0,0 +1,17 @@
1
+ import { AbstractMediaManager, MediaManagerItem, File, MediaManagerWidgetItem, MediaManagerWidgetData, MediaManagerWidgetClientItem, SortCriteria } from "./AbstractMediaManager";
2
+ import { Adminizer } from "../Adminizer";
3
+ export declare class DefaultMediaManager extends AbstractMediaManager {
4
+ readonly itemTypes: File<MediaManagerItem>[];
5
+ model: string;
6
+ modelAssoc: string;
7
+ id: string;
8
+ protected readonly adminizer: Adminizer;
9
+ constructor(adminizer: Adminizer, id: string, urlPathPrefix: string, fileStoragePath: string);
10
+ getAll(limit: number, skip: number, sort: SortCriteria, group: string): Promise<{
11
+ data: MediaManagerItem[];
12
+ next: boolean;
13
+ }>;
14
+ searchAll(s: string, group: string): Promise<MediaManagerItem[]>;
15
+ setRelations(data: MediaManagerWidgetData[], model: string, modelId: string, widgetName: string): Promise<void>;
16
+ getRelations(items: MediaManagerWidgetItem[]): Promise<MediaManagerWidgetClientItem[]>;
17
+ }
@@ -1,125 +1,98 @@
1
- "use strict";
2
- // import {
3
- // AbstractMediaManager,
4
- // MediaManagerItem,
5
- // File,
6
- // MediaManagerWidgetItem,
7
- // MediaManagerWidgetData,
8
- // MediaManagerWidgetClientItem,
9
- // SortCriteria,
10
- // } from "./AbstractMediaManager";
11
- // import {populateVariants} from "./helpers/MediaManagerHelper";
12
- // import {ApplicationItem, ImageItem, TextItem, VideoItem} from "./Items";
13
- // import {Adminizer} from "../Adminizer";
14
- //
15
- //
16
- // export class DefaultMediaManager extends AbstractMediaManager {
17
- // public readonly itemTypes: File<MediaManagerItem>[] = [];
18
- // public model: string = "mediamanagerap";
19
- // public modelAssoc: string = "mediamanagerassociationsap";
20
- // id: string;
21
- // path: string;
22
- // protected readonly adminizer: Adminizer;
23
- //
24
- // constructor(adminizer: Adminizer, id: string, urlPathPrefix: string, fileStoragePath: string) {
25
- // super(adminizer);
26
- // this.id = id;
27
- // this.path = urlPathPrefix;
28
- // this.dir = fileStoragePath;
29
- // this.itemTypes.push(new ImageItem(adminizer, urlPathPrefix, fileStoragePath));
30
- // this.itemTypes.push(new TextItem(adminizer, urlPathPrefix, fileStoragePath));
31
- // this.itemTypes.push(new ApplicationItem(adminizer, urlPathPrefix, fileStoragePath));
32
- // this.itemTypes.push(new VideoItem(adminizer, urlPathPrefix, fileStoragePath));
33
- // this.adminizer = adminizer;
34
- // }
35
- //
36
- // public async getAll(limit: number, skip: number, sort: SortCriteria, group: string): Promise<{
37
- // data: MediaManagerItem[];
38
- // next: boolean
39
- // }> {
40
- // // TODO refactor CRUD functions for DataAccessor usage
41
- // let data: MediaManagerItem[] = await this.adminizer.modelHandler.model.get(this.model)["_find"]({
42
- // where: {parent: null, group: group},
43
- // limit: limit,
44
- // skip: skip,
45
- // sort: sort,
46
- // }, {populate: [["variants", {sort: sort}], ["meta", {}]]})
47
- //
48
- // let next = await this.adminizer.modelHandler.model.get(this.model).count({
49
- // where: {parent: null, group: group},
50
- // limit: limit,
51
- // skip: skip === 0 ? limit : skip + limit,
52
- // sort: sort,
53
- // })
54
- //
55
- // for (let elem of data) {
56
- // elem.variants = await populateVariants(this.adminizer, elem.variants, this.model)
57
- // }
58
- //
59
- // return {
60
- // data: data,
61
- // next: !!next,
62
- // };
63
- // }
64
- //
65
- // public async searchAll(s: string, group: string): Promise<MediaManagerItem[]> {
66
- // // TODO refactor CRUD functions for DataAccessor usage
67
- // let data: MediaManagerItem[] = await this.adminizer.modelHandler.model.get(this.model)["_find"]({
68
- // where: {filename: {contains: s}, parent: null, group: group},
69
- // sort: "createdAt DESC",
70
- // }, {
71
- // populate: [["variants", {sort: "createdAt DESC"}], ["meta", {}]],
72
- // // This limitation is made strictly, if your code solves this please make a PR
73
- // limit: 1000
74
- // })
75
- //
76
- //
77
- // for (let elem of data) {
78
- // elem.variants = await populateVariants(this.adminizer, elem.variants, this.model)
79
- // }
80
- //
81
- // return data;
82
- // }
83
- //
84
- // public async setRelations(data: MediaManagerWidgetData, model: string, modelId: string, widgetName: string,): Promise<void> {
85
- // // TODO refactor CRUD functions for DataAccessor usage
86
- // let modelAssociations = await this.adminizer.modelHandler.model.get(this.modelAssoc)["_find"]({
87
- // where: {modelId: modelId, model: model, widgetName: widgetName},
88
- // });
89
- //
90
- // for (const modelAssociation of modelAssociations) {
91
- // // TODO refactor CRUD functions for DataAccessor usage
92
- // await this.adminizer.modelHandler.model.get(this.modelAssoc)["_destroy"](modelAssociation.id)
93
- // }
94
- //
95
- // for (const [key, widgetItem] of data.list.entries()) {
96
- // // TODO refactor CRUD functions for DataAccessor usage
97
- // await this.adminizer.modelHandler.model.get(this.modelAssoc)["_create"]({
98
- // mediaManagerId: this.id,
99
- // model: model,
100
- // modelId: modelId,
101
- // file: widgetItem.id,
102
- // widgetName: widgetName,
103
- // sortOrder: key + 1,
104
- // });
105
- // }
106
- // }
107
- //
108
- // public async getRelations(items: MediaManagerWidgetItem[],): Promise<MediaManagerWidgetClientItem[]> {
109
- // let widgetItems: MediaManagerWidgetClientItem[] = [];
110
- // for (const item of items) {
111
- // // TODO refactor CRUD functions for DataAccessor usage
112
- // let file: MediaManagerItem = (await this.adminizer.modelHandler.model.get(this.model)["_find"]({
113
- // where: {id: item.id}
114
- // }, {populate: [["variants", {sort: "createdAt DESC"}]]}))[0]
115
- //
116
- // widgetItems.push({
117
- // id: file.id,
118
- // mimeType: file.mimeType,
119
- // url: file.url,
120
- // variants: file.variants,
121
- // });
122
- // }
123
- // return widgetItems;
124
- // }
125
- // }
1
+ import { AbstractMediaManager, } from "./AbstractMediaManager";
2
+ import { populateVariants } from "./helpers/MediaManagerHelper";
3
+ import { ApplicationItem, ImageItem, TextItem, VideoItem } from "./Items";
4
+ export class DefaultMediaManager extends AbstractMediaManager {
5
+ itemTypes = [];
6
+ model = "mediamanagerap";
7
+ modelAssoc = "mediamanagerassociationsap";
8
+ id;
9
+ adminizer;
10
+ constructor(adminizer, id, urlPathPrefix, fileStoragePath) {
11
+ super(adminizer);
12
+ this.id = id;
13
+ this.urlPathPrefix = urlPathPrefix;
14
+ this.fileStoragePath = fileStoragePath;
15
+ this.itemTypes.push(new ImageItem(adminizer, urlPathPrefix, fileStoragePath));
16
+ this.itemTypes.push(new TextItem(adminizer, urlPathPrefix, fileStoragePath));
17
+ this.itemTypes.push(new ApplicationItem(adminizer, urlPathPrefix, fileStoragePath));
18
+ this.itemTypes.push(new VideoItem(adminizer, urlPathPrefix, fileStoragePath));
19
+ this.adminizer = adminizer;
20
+ }
21
+ async getAll(limit, skip, sort, group) {
22
+ // TODO refactor CRUD functions for DataAccessor usage
23
+ let data = await this.adminizer.modelHandler.model.get(this.model)["_find"]({
24
+ where: { parent: null, group: group },
25
+ limit: limit,
26
+ skip: skip,
27
+ sort: sort,
28
+ }, { populate: [["variants", { sort: sort }], ["meta", {}]] });
29
+ let next = await this.adminizer.modelHandler.model.get(this.model)["_find"]({
30
+ where: { parent: null, group: group },
31
+ limit: limit,
32
+ skip: skip === 0 ? limit : skip + limit,
33
+ sort: sort,
34
+ });
35
+ for (let elem of data) {
36
+ elem.variants = await populateVariants(this.adminizer, elem.variants, this.model);
37
+ }
38
+ return {
39
+ data: data,
40
+ next: !!next.length,
41
+ };
42
+ }
43
+ async searchAll(s, group) {
44
+ // TODO refactor CRUD functions for DataAccessor usage
45
+ let data = await this.adminizer.modelHandler.model.get(this.model)["_find"]({
46
+ where: { filename: { contains: s }, parent: null, group: group },
47
+ sort: "createdAt DESC",
48
+ }, {
49
+ populate: [["variants", { sort: "createdAt DESC" }], ["meta", {}]],
50
+ // This limitation is made strictly, if your code solves this please make a PR
51
+ limit: 1000
52
+ });
53
+ for (let elem of data) {
54
+ elem.variants = await populateVariants(this.adminizer, elem.variants, this.model);
55
+ }
56
+ return data;
57
+ }
58
+ async setRelations(data, model, modelId, widgetName) {
59
+ // TODO refactor CRUD functions for DataAccessor usage
60
+ let modelAssociations = await this.adminizer.modelHandler.model.get(this.modelAssoc)["_find"]({
61
+ where: { modelId: modelId, model: model, widgetName: widgetName },
62
+ });
63
+ for (const modelAssociation of modelAssociations) {
64
+ const q = {};
65
+ const pk = this.adminizer.modelHandler.model.get(this.modelAssoc).primaryKey;
66
+ q[pk] = modelAssociation.id;
67
+ // TODO refactor CRUD functions for DataAccessor usage
68
+ await this.adminizer.modelHandler.model.get(this.modelAssoc)["_destroy"](q);
69
+ }
70
+ for (const [key, widgetItem] of data.entries()) {
71
+ // TODO refactor CRUD functions for DataAccessor usage
72
+ await this.adminizer.modelHandler.model.get(this.modelAssoc)["_create"]({
73
+ mediaManagerId: this.id,
74
+ model: model,
75
+ modelId: modelId,
76
+ file: widgetItem.id,
77
+ widgetName: widgetName,
78
+ sortOrder: key + 1,
79
+ });
80
+ }
81
+ }
82
+ async getRelations(items) {
83
+ let widgetItems = [];
84
+ for (const item of items) {
85
+ // TODO refactor CRUD functions for DataAccessor usage
86
+ let file = (await this.adminizer.modelHandler.model.get(this.model)["_find"]({
87
+ where: { id: item.id }
88
+ }, { populate: [["variants", { sort: "createdAt DESC" }]] }))[0];
89
+ widgetItems.push({
90
+ id: file.id,
91
+ mimeType: file.mimeType,
92
+ url: file.url,
93
+ variants: file.variants,
94
+ });
95
+ }
96
+ return widgetItems;
97
+ }
98
+ }
@@ -0,0 +1,45 @@
1
+ import { File, MediaFileType, MediaManagerItem, SortCriteria, UploaderFile } from "./AbstractMediaManager";
2
+ import sharp from "sharp";
3
+ import { Adminizer } from "../Adminizer";
4
+ export declare class ImageItem extends File<MediaManagerItem> {
5
+ type: MediaFileType;
6
+ model: string;
7
+ metaModel: string;
8
+ imageSizes: any;
9
+ protected readonly adminizer: Adminizer;
10
+ constructor(adminizer: Adminizer, urlPathPrefix: string, fileStoragePath: string);
11
+ getItems(limit: number, skip: number, sort: SortCriteria, group: string): Promise<{
12
+ data: MediaManagerItem[];
13
+ next: boolean;
14
+ }>;
15
+ search(s: string, group: string): Promise<MediaManagerItem[]>;
16
+ upload(file: UploaderFile, filename: string, origFileName: string, group: string): Promise<MediaManagerItem[]>;
17
+ getVariants(id: string): Promise<MediaManagerItem[]>;
18
+ protected createVariants(file: UploaderFile, parent: MediaManagerItem, filename: string, group: string): Promise<void>;
19
+ getOrigin(id: string): Promise<string>;
20
+ protected createMeta(id: string): Promise<void>;
21
+ protected addFileMeta(file: string, id: string): Promise<void>;
22
+ getMeta(id: string): Promise<{
23
+ key: string;
24
+ value: string;
25
+ }[]>;
26
+ setMeta(id: string, data: {
27
+ [p: string]: string;
28
+ }): Promise<void>;
29
+ protected resizeImage(input: string, output: string, width: number, height: number): Promise<sharp.OutputInfo>;
30
+ uploadVariant(parent: MediaManagerItem, file: UploaderFile, filename: string, group: string, localeId: string): Promise<MediaManagerItem>;
31
+ delete(id: string): Promise<void>;
32
+ }
33
+ export declare class TextItem extends ImageItem {
34
+ type: MediaFileType;
35
+ upload(file: UploaderFile, filename: string, origFileName: string, group: string): Promise<MediaManagerItem[]>;
36
+ getvariants(): Promise<MediaManagerItem[]>;
37
+ uploadVariant(parent: MediaManagerItem, file: UploaderFile, filename: string, group: string, localeId: string): Promise<MediaManagerItem>;
38
+ getVariants(id: string): Promise<MediaManagerItem[]>;
39
+ }
40
+ export declare class ApplicationItem extends TextItem {
41
+ type: MediaFileType;
42
+ }
43
+ export declare class VideoItem extends TextItem {
44
+ type: MediaFileType;
45
+ }