@widgetic/editor 3.11.4 → 4.0.1

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 (497) hide show
  1. package/README.md +245 -0
  2. package/dist/assets/fonts.json +331 -0
  3. package/dist/assets/icons/ic-browser/audio.svg +7 -0
  4. package/dist/assets/icons/ic-browser/document.svg +11 -0
  5. package/dist/assets/icons/ic-browser/error.svg +5 -0
  6. package/dist/assets/icons/ic-browser/folder.svg +28 -0
  7. package/dist/assets/icons/ic-browser/player-pause.svg +1 -0
  8. package/dist/assets/icons/ic-browser/player-play.svg +1 -0
  9. package/dist/assets/icons/ic-browser/trash.svg +1 -0
  10. package/dist/assets/icons/ic-fixed-position/background-deselected.svg +3 -0
  11. package/dist/assets/icons/ic-fixed-position/background-selected.svg +3 -0
  12. package/dist/assets/icons/ic-fixed-position/bottom-left-background-deselected.svg +3 -0
  13. package/dist/assets/icons/ic-fixed-position/bottom-left-background-selected.svg +3 -0
  14. package/dist/assets/icons/ic-fixed-position/bottom-left-icon.svg +4 -0
  15. package/dist/assets/icons/ic-fixed-position/bottom-right-background-deselected.svg +3 -0
  16. package/dist/assets/icons/ic-fixed-position/bottom-right-background-selected.svg +3 -0
  17. package/dist/assets/icons/ic-fixed-position/bottom-right-icon.svg +4 -0
  18. package/dist/assets/icons/ic-fixed-position/center-bottom-icon.svg +5 -0
  19. package/dist/assets/icons/ic-fixed-position/center-center-icon.svg +3 -0
  20. package/dist/assets/icons/ic-fixed-position/center-left-icon.svg +5 -0
  21. package/dist/assets/icons/ic-fixed-position/center-right-icon.svg +5 -0
  22. package/dist/assets/icons/ic-fixed-position/center-top-icon.svg +5 -0
  23. package/dist/assets/icons/ic-fixed-position/top-left-background-deselected.svg +3 -0
  24. package/dist/assets/icons/ic-fixed-position/top-left-background-selected.svg +3 -0
  25. package/dist/assets/icons/ic-fixed-position/top-left-icon.svg +4 -0
  26. package/dist/assets/icons/ic-fixed-position/top-right-background-deselected.svg +3 -0
  27. package/dist/assets/icons/ic-fixed-position/top-right-background-selected.svg +3 -0
  28. package/dist/assets/icons/ic-fixed-position/top-right-icon.svg +4 -0
  29. package/dist/assets/icons/trash.svg +1 -0
  30. package/dist/components/MockWidget.svelte +108 -0
  31. package/dist/components/MockWidget.svelte.d.ts +22 -0
  32. package/dist/components/WidgetPreview.svelte +852 -0
  33. package/dist/components/WidgetPreview.svelte.d.ts +100 -0
  34. package/dist/components/color-select/ColorSelect.svelte +258 -0
  35. package/dist/components/color-select/ColorSelect.svelte.d.ts +42 -0
  36. package/dist/components/color-select/color.d.ts +25 -0
  37. package/dist/components/color-select/color.js +21 -0
  38. package/dist/components/color-select/constants.d.ts +5 -0
  39. package/dist/components/color-select/constants.js +5 -0
  40. package/dist/components/color-select/render.d.ts +5 -0
  41. package/dist/components/color-select/render.js +77 -0
  42. package/dist/components/color-select/shaders.d.ts +3 -0
  43. package/dist/components/color-select/shaders.js +8 -0
  44. package/dist/components/editors/EmbedEditor.svelte +700 -0
  45. package/dist/components/editors/EmbedEditor.svelte.d.ts +50 -0
  46. package/dist/components/editors/PropsEditor.svelte +3952 -0
  47. package/dist/components/editors/PropsEditor.svelte.d.ts +62 -0
  48. package/dist/components/editors/props-editor.css +73 -0
  49. package/dist/components/ic/AngleInputController.svelte +276 -0
  50. package/dist/components/ic/AngleInputController.svelte.d.ts +26 -0
  51. package/dist/components/ic/BrowserInputController.svelte +724 -0
  52. package/dist/components/ic/BrowserInputController.svelte.d.ts +39 -0
  53. package/dist/components/ic/CheckboxInputController.svelte +203 -0
  54. package/dist/components/ic/CheckboxInputController.svelte.d.ts +41 -0
  55. package/dist/components/ic/ColorPickerInputController.svelte +1584 -0
  56. package/dist/components/ic/ColorPickerInputController.svelte.d.ts +50 -0
  57. package/dist/components/ic/DateFieldInputController.svelte +453 -0
  58. package/dist/components/ic/DateFieldInputController.svelte.d.ts +35 -0
  59. package/dist/components/ic/DatePickerInputController.svelte +364 -0
  60. package/dist/components/ic/DatePickerInputController.svelte.d.ts +28 -0
  61. package/dist/components/ic/DropdownInputController.svelte +226 -0
  62. package/dist/components/ic/DropdownInputController.svelte.d.ts +43 -0
  63. package/dist/components/ic/FixedPositionInputController.svelte +353 -0
  64. package/dist/components/ic/FixedPositionInputController.svelte.d.ts +23 -0
  65. package/dist/components/ic/FontInputController.svelte +2062 -0
  66. package/dist/components/ic/FontInputController.svelte.d.ts +47 -0
  67. package/dist/components/ic/InputControllerHeader.svelte +147 -0
  68. package/dist/components/ic/InputControllerHeader.svelte.d.ts +23 -0
  69. package/dist/components/ic/NumberControls.svelte +299 -0
  70. package/dist/components/ic/NumberControls.svelte.d.ts +30 -0
  71. package/dist/components/ic/NumberInputController.svelte +397 -0
  72. package/dist/components/ic/NumberInputController.svelte.d.ts +30 -0
  73. package/dist/components/ic/PositionInputController.svelte +252 -0
  74. package/dist/components/ic/PositionInputController.svelte.d.ts +37 -0
  75. package/dist/components/ic/RadioGroupInputController.svelte +162 -0
  76. package/dist/components/ic/RadioGroupInputController.svelte.d.ts +38 -0
  77. package/dist/components/ic/RangeCalendarInputController.svelte +262 -0
  78. package/dist/components/ic/RangeCalendarInputController.svelte.d.ts +32 -0
  79. package/dist/components/ic/RoundedCornersInputController.svelte +469 -0
  80. package/dist/components/ic/RoundedCornersInputController.svelte.d.ts +37 -0
  81. package/dist/components/ic/SliderInputController.svelte +411 -0
  82. package/dist/components/ic/SliderInputController.svelte.d.ts +46 -0
  83. package/dist/components/ic/SliderRangeInputController.svelte +155 -0
  84. package/dist/components/ic/SliderRangeInputController.svelte.d.ts +33 -0
  85. package/dist/components/ic/SwitchInputController.svelte +107 -0
  86. package/dist/components/ic/SwitchInputController.svelte.d.ts +24 -0
  87. package/dist/components/ic/TagsInputController.svelte +125 -0
  88. package/dist/components/ic/TagsInputController.svelte.d.ts +27 -0
  89. package/dist/components/ic/TextAreaInputController.svelte +1804 -0
  90. package/dist/components/ic/TextAreaInputController.svelte.d.ts +13 -0
  91. package/dist/components/ic/TextAreaPreviewInputController.svelte +476 -0
  92. package/dist/components/ic/TextAreaPreviewInputController.svelte.d.ts +28 -0
  93. package/dist/components/ic/TextInputController.svelte +70 -0
  94. package/dist/components/ic/TextInputController.svelte.d.ts +30 -0
  95. package/dist/components/ic/TimeInputController.svelte +434 -0
  96. package/dist/components/ic/TimeInputController.svelte.d.ts +25 -0
  97. package/dist/components/ic/VectorInputController.svelte +1826 -0
  98. package/dist/components/ic/VectorInputController.svelte.d.ts +47 -0
  99. package/dist/components/ic/index.d.ts +39 -0
  100. package/dist/components/ic/index.js +24 -0
  101. package/dist/components/ic/shared/CategoryTabs.svelte +40 -0
  102. package/dist/components/ic/shared/CategoryTabs.svelte.d.ts +25 -0
  103. package/dist/components/ic/shared/ItemGrid.svelte +181 -0
  104. package/dist/components/ic/shared/ItemGrid.svelte.d.ts +35 -0
  105. package/dist/components/ic/shared/RecentItemsSection.svelte +260 -0
  106. package/dist/components/ic/shared/RecentItemsSection.svelte.d.ts +35 -0
  107. package/dist/components/ic/shared/index.d.ts +8 -0
  108. package/dist/components/ic/shared/index.js +9 -0
  109. package/dist/components/icons/addnew.svelte +21 -0
  110. package/dist/components/icons/addnew.svelte.d.ts +20 -0
  111. package/dist/components/icons/drag.svelte +29 -0
  112. package/dist/components/icons/drag.svelte.d.ts +20 -0
  113. package/dist/components/icons/drag.svg +1 -0
  114. package/dist/components/icons/locked.svelte +4 -0
  115. package/dist/components/icons/locked.svelte.d.ts +26 -0
  116. package/dist/components/icons/locked.svg +4 -0
  117. package/dist/components/icons/ok.svelte +20 -0
  118. package/dist/components/icons/ok.svelte.d.ts +20 -0
  119. package/dist/components/icons/ok.svg +11 -0
  120. package/dist/components/icons/unlocked.svelte +4 -0
  121. package/dist/components/icons/unlocked.svelte.d.ts +26 -0
  122. package/dist/components/icons/unlocked.svg +4 -0
  123. package/dist/components/icons/x.svelte +14 -0
  124. package/dist/components/icons/x.svelte.d.ts +20 -0
  125. package/dist/components/icons/x.svg +5 -0
  126. package/dist/components/ui/arrows/OpacitySliderArrows.svelte +43 -0
  127. package/dist/components/ui/arrows/OpacitySliderArrows.svelte.d.ts +23 -0
  128. package/dist/components/ui/checkerboard-background/CheckerboardBackground.svelte +15 -0
  129. package/dist/components/ui/checkerboard-background/CheckerboardBackground.svelte.d.ts +20 -0
  130. package/dist/config.d.ts +5 -0
  131. package/dist/config.js +19 -0
  132. package/dist/index.d.ts +4 -0
  133. package/dist/index.js +8 -0
  134. package/dist/stores/userSession.d.ts +7 -0
  135. package/dist/stores/userSession.js +28 -0
  136. package/dist/utils/FontManager.d.ts +276 -0
  137. package/dist/utils/FontManager.js +1283 -0
  138. package/dist/utils/MediaManager.d.ts +35 -0
  139. package/dist/utils/MediaManager.js +59 -0
  140. package/dist/utils/VectorManager.d.ts +190 -0
  141. package/dist/utils/VectorManager.js +754 -0
  142. package/dist/utils/colorAutocomplete.d.ts +10 -0
  143. package/dist/utils/colorAutocomplete.js +28 -0
  144. package/dist/utils/colorNames.d.ts +3 -0
  145. package/dist/utils/colorNames.js +152 -0
  146. package/dist/utils/colorTransparency.d.ts +52 -0
  147. package/dist/utils/colorTransparency.js +114 -0
  148. package/dist/utils/fontUtils.d.ts +34 -0
  149. package/dist/utils/fontUtils.js +132 -0
  150. package/dist/utils/passiveEvents.js +20 -0
  151. package/dist/utils/recentColors.d.ts +10 -0
  152. package/dist/utils/recentColors.js +63 -0
  153. package/dist/utils/skipFonts.d.ts +3 -0
  154. package/dist/utils/skipFonts.js +49 -0
  155. package/dist/utils/vectorUtils.d.ts +34 -0
  156. package/dist/utils/vectorUtils.js +71 -0
  157. package/dist/utils.d.ts +11 -0
  158. package/dist/utils.js +38 -0
  159. package/package.json +134 -74
  160. package/.babelrc +0 -10
  161. package/.bowerrc +0 -4
  162. package/.nvmrc +0 -1
  163. package/Gruntfile.coffee +0 -69
  164. package/bower.json +0 -28
  165. package/css/browser/entries/activateable.styl +0 -29
  166. package/css/browser/entries/audio.styl +0 -39
  167. package/css/browser/entries/folder.styl +0 -79
  168. package/css/browser/entries/image.styl +0 -26
  169. package/css/browser/entries/index.styl +0 -66
  170. package/css/browser/entries/rss.styl +0 -11
  171. package/css/browser/entries/video.styl +0 -11
  172. package/css/browser/index.styl +0 -86
  173. package/css/browser/intent/index.styl +0 -61
  174. package/css/browser/nav/index.styl +0 -73
  175. package/css/browser/social-browser.styl +0 -23
  176. package/css/controls/clock.styl +0 -110
  177. package/css/controls/config.styl +0 -6
  178. package/css/controls/control-audio-details.styl +0 -63
  179. package/css/controls/control-audio.styl +0 -28
  180. package/css/controls/control-browser.styl +0 -48
  181. package/css/controls/control-color.styl +0 -423
  182. package/css/controls/control-date_time.styl +0 -191
  183. package/css/controls/control-dropdown.styl +0 -79
  184. package/css/controls/control-font.styl +0 -147
  185. package/css/controls/control-image-details.styl +0 -35
  186. package/css/controls/control-image.styl +0 -43
  187. package/css/controls/control-order-picker.styl +0 -29
  188. package/css/controls/control-position.styl +0 -390
  189. package/css/controls/control-range.styl +0 -68
  190. package/css/controls/control-scale.styl +0 -30
  191. package/css/controls/control-slider.styl +0 -38
  192. package/css/controls/control-spinner.styl +0 -39
  193. package/css/controls/control-textarea.styl +0 -52
  194. package/css/controls/control-toggle.styl +0 -34
  195. package/css/controls/control-url.styl +0 -32
  196. package/css/controls/control-video-details.styl +0 -85
  197. package/css/controls/control-video.styl +0 -43
  198. package/css/controls/general.styl +0 -98
  199. package/css/controls/index.styl +0 -25
  200. package/css/editor/colors.styl +0 -7
  201. package/css/editor/content/directinput.styl +0 -47
  202. package/css/editor/content/index.styl +0 -111
  203. package/css/editor/content/message.styl +0 -53
  204. package/css/editor/content/tabs.styl +0 -75
  205. package/css/editor/copied-from-old-style.styl +0 -197
  206. package/css/editor/details/bulk-editor.styl +0 -104
  207. package/css/editor/details/index.styl +0 -21
  208. package/css/editor/details/item.styl +0 -153
  209. package/css/editor/embed.styl +0 -106
  210. package/css/editor/footer.styl +0 -180
  211. package/css/editor/full-editor.styl +0 -16
  212. package/css/editor/index.styl +0 -124
  213. package/css/editor/login-popup.styl +0 -13
  214. package/css/editor/preview.styl +0 -257
  215. package/css/editor/skin/editor/index.styl +0 -54
  216. package/css/editor/skin/editor/tabs.styl +0 -111
  217. package/css/editor/skin/index.styl +0 -138
  218. package/css/editor/skin/popup.styl +0 -152
  219. package/css/editor/skin/presets/dropdown.styl +0 -61
  220. package/css/editor/skin/presets/index.styl +0 -86
  221. package/css/editor/skin/presets/list.styl +0 -244
  222. package/css/editor/tooltips.styl +0 -85
  223. package/css/fonts.styl +0 -47
  224. package/css/icons/BlogvioEditor.dev.svg +0 -112
  225. package/css/icons.styl +0 -16
  226. package/css/img/arrow-right-rounded-v-small.png +0 -0
  227. package/css/img/browser-folder-separator.png +0 -0
  228. package/css/img/calendar-input-icons.png +0 -0
  229. package/css/img/check.png +0 -0
  230. package/css/img/close.png +0 -0
  231. package/css/img/composition/edit-icon.png +0 -0
  232. package/css/img/content/audio-icon.png +0 -0
  233. package/css/img/content/folder-icon.png +0 -0
  234. package/css/img/content/messages/error-background.png +0 -0
  235. package/css/img/content/messages/error-icon.png +0 -0
  236. package/css/img/content/messages/notification-background.png +0 -0
  237. package/css/img/content/messages/notification-icon.png +0 -0
  238. package/css/img/content/no-files-audio.png +0 -0
  239. package/css/img/content/no-files-image.png +0 -0
  240. package/css/img/content/no-files-video.png +0 -0
  241. package/css/img/content/no-files.png +0 -0
  242. package/css/img/content/rss-icon.png +0 -0
  243. package/css/img/content/selected.png +0 -0
  244. package/css/img/content/video-icon.png +0 -0
  245. package/css/img/content/with-control-text.png +0 -0
  246. package/css/img/control-dropdown-arrow.png +0 -0
  247. package/css/img/control-image-valid.png +0 -0
  248. package/css/img/control-position-icon.png +0 -0
  249. package/css/img/control-scale-lock-icon.png +0 -0
  250. package/css/img/control-slider-arrows-hover.png +0 -0
  251. package/css/img/control-slider-arrows.png +0 -0
  252. package/css/img/control-spinner-buttons-hover.png +0 -0
  253. package/css/img/control-spinner-buttons.png +0 -0
  254. package/css/img/control-textarea-bold-active.png +0 -0
  255. package/css/img/control-textarea-bold.png +0 -0
  256. package/css/img/control-textarea-italic-active.png +0 -0
  257. package/css/img/control-textarea-italic.png +0 -0
  258. package/css/img/control-textarea-underline-active.png +0 -0
  259. package/css/img/control-textarea-underline.png +0 -0
  260. package/css/img/custom-checkbox-sprite.png +0 -0
  261. package/css/img/details/item-collapse-icon.png +0 -0
  262. package/css/img/details/item-expand-icon.png +0 -0
  263. package/css/img/details/item-sort-icon.png +0 -0
  264. package/css/img/done-arrow.png +0 -0
  265. package/css/img/fb-logo-icon-w.png +0 -0
  266. package/css/img/grid-icons.png +0 -0
  267. package/css/img/icon-reference.png +0 -0
  268. package/css/img/indicator.png +0 -0
  269. package/css/img/loader.gif +0 -0
  270. package/css/img/loaders/audio-white.png +0 -0
  271. package/css/img/loaders/audio.png +0 -0
  272. package/css/img/loaders/photo-white.png +0 -0
  273. package/css/img/loaders/photo.png +0 -0
  274. package/css/img/loaders/util-white.png +0 -0
  275. package/css/img/loaders/util.png +0 -0
  276. package/css/img/loaders/video-white.png +0 -0
  277. package/css/img/loaders/video.png +0 -0
  278. package/css/img/maximize.png +0 -0
  279. package/css/img/minimize.png +0 -0
  280. package/css/img/next-btn.png +0 -0
  281. package/css/img/search-icon-sprite.png +0 -0
  282. package/css/img/services/blogvio.png +0 -0
  283. package/css/img/services/drive.png +0 -0
  284. package/css/img/services/dropbox-login.png +0 -0
  285. package/css/img/services/dropbox.png +0 -0
  286. package/css/img/services/facebook-login.png +0 -0
  287. package/css/img/services/facebook.png +0 -0
  288. package/css/img/services/flickr-login.png +0 -0
  289. package/css/img/services/flickr.png +0 -0
  290. package/css/img/services/instagram-login.png +0 -0
  291. package/css/img/services/instagram.png +0 -0
  292. package/css/img/services/text.png +0 -0
  293. package/css/img/services/uploads.png +0 -0
  294. package/css/img/services/uploads.svg +0 -689
  295. package/css/img/services/webaddress-bw.png +0 -0
  296. package/css/img/services/webaddress.png +0 -0
  297. package/css/img/services/webadress.png +0 -0
  298. package/css/img/services/websearch.png +0 -0
  299. package/css/img/services/wix.png +0 -0
  300. package/css/img/skin/item-active-indicator.png +0 -0
  301. package/css/img/skin/item-hover-icon.png +0 -0
  302. package/css/img/skin/overwrite.png +0 -0
  303. package/css/img/skin/popup-name-icon.png +0 -0
  304. package/css/img/skin/popup-save.png +0 -0
  305. package/css/img/skin/preset.png +0 -0
  306. package/css/img/skin/presets-arrow-purple.png +0 -0
  307. package/css/img/tw-icon-w.png +0 -0
  308. package/css/img/warning.png +0 -0
  309. package/css/img/white-rounded-check.png +0 -0
  310. package/css/index.styl +0 -9
  311. package/css/mixins.styl +0 -62
  312. package/css/scrollable.styl +0 -101
  313. package/karma.conf.js +0 -73
  314. package/lib/control.js +0 -1
  315. package/lib/controls.js +0 -1
  316. package/lib/core.editor.js +0 -4
  317. package/lib/core.js +0 -1
  318. package/lib/core.vendor.js +0 -3
  319. package/lib/dev/control.js +0 -845
  320. package/lib/dev/controls.js +0 -7774
  321. package/lib/dev/core.editor.js +0 -6439
  322. package/lib/dev/core.js +0 -1486
  323. package/lib/dev/core.vendor.js +0 -10708
  324. package/lib/dev/editor.css +0 -166
  325. package/lib/dev/editor.js +0 -29710
  326. package/lib/dev/editor.vendor.js +0 -15119
  327. package/lib/dev/jquery.nanoscroller.js.map +0 -10
  328. package/lib/editor.css +0 -167
  329. package/lib/editor.js +0 -49
  330. package/lib/editor.vendor.js +0 -11
  331. package/src/api/index.coffee +0 -23
  332. package/src/api/mixin.coffee +0 -89
  333. package/src/browser/controller/entry/audio.coffee +0 -38
  334. package/src/browser/controller/entry/button.coffee +0 -16
  335. package/src/browser/controller/entry/file.coffee +0 -35
  336. package/src/browser/controller/entry/folder.coffee +0 -14
  337. package/src/browser/controller/entry/image.coffee +0 -24
  338. package/src/browser/controller/entry/index.coffee +0 -18
  339. package/src/browser/controller/entry/rss.coffee +0 -5
  340. package/src/browser/controller/entry/video.coffee +0 -4
  341. package/src/browser/controller/index.coffee +0 -289
  342. package/src/browser/controller/instagram.coffee +0 -129
  343. package/src/browser/controller/navbar.coffee +0 -48
  344. package/src/browser/controller/social.coffee +0 -213
  345. package/src/browser/model/entry.coffee +0 -18
  346. package/src/browser/model/index.coffee +0 -34
  347. package/src/core/controller/font-loader.coffee +0 -65
  348. package/src/core/controller/lazyload.coffee +0 -14
  349. package/src/core/controller/overlay.coffee +0 -146
  350. package/src/core/controller/popup.coffee +0 -36
  351. package/src/core/controller/scrollable.coffee +0 -68
  352. package/src/core/controls/audio.coffee +0 -56
  353. package/src/core/controls/browser.coffee +0 -271
  354. package/src/core/controls/color.coffee +0 -121
  355. package/src/core/controls/date-time/calendar/index.coffee +0 -99
  356. package/src/core/controls/date-time/calendar/months.coffee +0 -52
  357. package/src/core/controls/date-time/calendar/years.coffee +0 -58
  358. package/src/core/controls/date-time/clock.coffee +0 -62
  359. package/src/core/controls/date-time/helper.coffee +0 -31
  360. package/src/core/controls/date-time/index.coffee +0 -62
  361. package/src/core/controls/date-time/popup.coffee +0 -56
  362. package/src/core/controls/details/audio.coffee +0 -33
  363. package/src/core/controls/details/image.coffee +0 -19
  364. package/src/core/controls/details/video.coffee +0 -14
  365. package/src/core/controls/dropdown.coffee +0 -100
  366. package/src/core/controls/font/font-item.coffee +0 -22
  367. package/src/core/controls/font/font-list.coffee +0 -108
  368. package/src/core/controls/font/fonts-popup.coffee +0 -91
  369. package/src/core/controls/font/index.coffee +0 -66
  370. package/src/core/controls/image.coffee +0 -37
  371. package/src/core/controls/index.coffee +0 -88
  372. package/src/core/controls/orderPicker.coffee +0 -93
  373. package/src/core/controls/position/grid-panel.coffee +0 -75
  374. package/src/core/controls/position/index.coffee +0 -98
  375. package/src/core/controls/position/panel.coffee +0 -68
  376. package/src/core/controls/position/pixel-panel.coffee +0 -54
  377. package/src/core/controls/position/popup.coffee +0 -63
  378. package/src/core/controls/position/reference-panel.coffee +0 -26
  379. package/src/core/controls/range.coffee +0 -191
  380. package/src/core/controls/rss.coffee +0 -16
  381. package/src/core/controls/scale.coffee +0 -78
  382. package/src/core/controls/slider.coffee +0 -122
  383. package/src/core/controls/stepper.coffee +0 -97
  384. package/src/core/controls/text.coffee +0 -54
  385. package/src/core/controls/textarea.coffee +0 -78
  386. package/src/core/controls/toggle.coffee +0 -29
  387. package/src/core/controls/url.coffee +0 -88
  388. package/src/core/controls/video.coffee +0 -9
  389. package/src/core/embed/api.js +0 -178
  390. package/src/core/embed/controller.js +0 -331
  391. package/src/core/models/composition.coffee +0 -178
  392. package/src/core/models/content.coffee +0 -79
  393. package/src/core/models/skin.coffee +0 -91
  394. package/src/core/models/user.coffee +0 -6
  395. package/src/core/models/widget.coffee +0 -88
  396. package/src/core/router/index.coffee +0 -44
  397. package/src/core/services/container/index.js +0 -18
  398. package/src/core/services/container/instance.js +0 -3
  399. package/src/core/services/content.js +0 -80
  400. package/src/core/services/instagram.coffee +0 -47
  401. package/src/core/services/mixin/events.js +0 -17
  402. package/src/core/services/service.js +0 -1
  403. package/src/core/services/sounds.js +0 -81
  404. package/src/core/services/uploads.js +0 -299
  405. package/src/core/utils/popup.coffee +0 -67
  406. package/src/core/utils/should-show.coffee +0 -12
  407. package/src/core/views/audio-details.pug +0 -9
  408. package/src/core/views/audio.pug +0 -7
  409. package/src/core/views/browser.pug +0 -4
  410. package/src/core/views/color.pug +0 -8
  411. package/src/core/views/date-time/calendar.pug +0 -3
  412. package/src/core/views/date-time/clock.pug +0 -12
  413. package/src/core/views/date-time/grid.pug +0 -6
  414. package/src/core/views/date-time/input.pug +0 -4
  415. package/src/core/views/date-time/table.pug +0 -6
  416. package/src/core/views/dropdown.pug +0 -9
  417. package/src/core/views/font/font-item.pug +0 -3
  418. package/src/core/views/font/fonts-list.pug +0 -7
  419. package/src/core/views/font/fonts-popup.pug +0 -5
  420. package/src/core/views/font/index.pug +0 -7
  421. package/src/core/views/image-details.pug +0 -6
  422. package/src/core/views/image.pug +0 -5
  423. package/src/core/views/input-layout.pug +0 -15
  424. package/src/core/views/order-items.pug +0 -7
  425. package/src/core/views/order-picker.pug +0 -7
  426. package/src/core/views/pixelpanel.pug +0 -69
  427. package/src/core/views/position.pug +0 -10
  428. package/src/core/views/range.pug +0 -9
  429. package/src/core/views/scale.pug +0 -7
  430. package/src/core/views/slider.pug +0 -6
  431. package/src/core/views/stepper.pug +0 -6
  432. package/src/core/views/text.pug +0 -4
  433. package/src/core/views/textarea.pug +0 -8
  434. package/src/core/views/toggle.pug +0 -5
  435. package/src/core/views/video-details.pug +0 -7
  436. package/src/core/views/video.pug +0 -4
  437. package/src/core/widget/index.coffee +0 -66
  438. package/src/editor/content/browser/dropzone.html +0 -268
  439. package/src/editor/content/browser/file.html +0 -124
  440. package/src/editor/content/browser/scroll-pane.html +0 -32
  441. package/src/editor/content/browser/service.html +0 -53
  442. package/src/editor/content/browser/upload.coffee +0 -44
  443. package/src/editor/content/browser/upload.html +0 -439
  444. package/src/editor/content/index.coffee +0 -294
  445. package/src/editor/content/input/field.coffee +0 -45
  446. package/src/editor/content/input/index.coffee +0 -115
  447. package/src/editor/content/service/base/photoitem.coffee +0 -49
  448. package/src/editor/content/service/cache.coffee +0 -20
  449. package/src/editor/content/service/default.coffee +0 -59
  450. package/src/editor/content/service/dropbox.coffee +0 -71
  451. package/src/editor/content/service/facebook.coffee +0 -143
  452. package/src/editor/content/service/flickr.coffee +0 -85
  453. package/src/editor/content/service/google-drive-sdk.coffee +0 -18
  454. package/src/editor/content/service/google-drive.coffee +0 -144
  455. package/src/editor/content/service/instagram-social.coffee +0 -84
  456. package/src/editor/content/service/instagram.coffee +0 -168
  457. package/src/editor/content/service/share-popup.coffee +0 -15
  458. package/src/editor/content/service/soundcloud.coffee +0 -163
  459. package/src/editor/content/tab.coffee +0 -27
  460. package/src/editor/details/bulk-editor/attributes-panel.coffee +0 -11
  461. package/src/editor/details/bulk-editor/index.coffee +0 -86
  462. package/src/editor/details/index.coffee +0 -156
  463. package/src/editor/details/item/attributes.coffee +0 -45
  464. package/src/editor/details/item/index.coffee +0 -82
  465. package/src/editor/editor.coffee +0 -274
  466. package/src/editor/footer/breadcrumb.coffee +0 -17
  467. package/src/editor/footer/index.coffee +0 -36
  468. package/src/editor/index.coffee +0 -79
  469. package/src/editor/listeners/embed-listener.coffee +0 -143
  470. package/src/editor/login-popup.coffee +0 -29
  471. package/src/editor/notification-controller.coffee +0 -35
  472. package/src/editor/popup.coffee +0 -68
  473. package/src/editor/remote-preview.coffee +0 -68
  474. package/src/editor/save/index.coffee +0 -62
  475. package/src/editor/skin/delete.coffee +0 -33
  476. package/src/editor/skin/editor/index.coffee +0 -188
  477. package/src/editor/skin/editor/panel.coffee +0 -37
  478. package/src/editor/skin/index.coffee +0 -126
  479. package/src/editor/skin/save.coffee +0 -58
  480. package/src/editor/skin/selector/index.coffee +0 -59
  481. package/src/editor/skin/selector/item.coffee +0 -123
  482. package/src/editor/skin/selector/list.coffee +0 -97
  483. package/src/editor/views/embed.pug +0 -10
  484. package/src/editor/views/loginbutton.pug +0 -8
  485. package/src/editor/views/popup.pug +0 -17
  486. package/src/editor/views/presets.pug +0 -8
  487. package/src/editor/views/presetslist-header.pug +0 -8
  488. package/src/editor/views/skinitem.pug +0 -13
  489. package/src/modules/control.js +0 -3
  490. package/src/modules/controls.js +0 -29
  491. package/src/modules/core.js +0 -19
  492. package/src/modules/editor.js +0 -80
  493. package/test/config.js +0 -3
  494. package/test/core/models/skin-spec.js +0 -209
  495. package/webpack.config.js +0 -46
  496. package/webpack.config.prod.js +0 -9
  497. /package/{src/core/views/date-time/popup.pug → dist/utils/passiveEvents.d.ts} +0 -0
package/README.md ADDED
@@ -0,0 +1,245 @@
1
+ ### WIDGET PROPERTIES EDITOR
2
+
3
+
4
+ A Svelte Component Module that will be loaded and used to edit the widget properties: design and content.
5
+
6
+ Based on the Widget's design schema and content schema it generates 2 panels of input controllers for the user to edit the widget's properties.
7
+
8
+ ## How to use the component in your project
9
+
10
+ 1. add the component as a dependency in the npm package of the project
11
+ 2. import the component in the project:
12
+ `import PropsEditor from '@widgetic/props-editor';`
13
+ 3. load the design and content schemas and pass them as props to the component:
14
+ ```js
15
+ let designSchemaUrl = '/design-debug-schema.json';
16
+
17
+ const designResponse = await fetch(designSchemaUrl);
18
+ const designSchema = await designResponse.json();
19
+
20
+ let contentSchemaUrl = '/widget-meta-sample/content.json';
21
+ const contentResponse = await fetch(contentSchemaUrl);
22
+ const contentSchema = await contentResponse.json();
23
+ ```
24
+ 4. use the component in the page layouts:
25
+ ```svelte
26
+ <PropsEditor {designSchema} {contentSchema} />
27
+ ```
28
+ 5. the component will render the 2 panels and the input controllers
29
+ 6. the user can edit the widget properties in the 2 panels
30
+ 7. the changes will be sent from the component with an event to the parent component:
31
+ ```svelte
32
+ dispatch('propertyChange', { schema, property, value});
33
+ ```
34
+ 8. the parent component will catch the event and save the changes in the database:
35
+ ```svelte
36
+ <PropsEditor {designSchema} {contentSchema} on:propertyChange={(event) => {
37
+ console.log('propertyChange event caught in the parent component', event);
38
+ }} />
39
+ ```
40
+
41
+
42
+ ## Input Controllers
43
+
44
+ The component uses the input controllers to edit the widget properties.
45
+ Each input controller is a separate component that is located in the `src/lib/components/ic` folder.
46
+
47
+ The input controllers are responsible for rendering the input elements for the widget properties and handling the user input.
48
+
49
+ The input controllers are dynamically imported from the component based on the the properties from the design and content schemas.
50
+
51
+ Note: components that uses an object as a value type, like `date_input` and `range_calendar_input`, need to handle a conversion of the defaultValue from the schema to the object type they use:
52
+ ```svelte
53
+ $: value && (value = {
54
+ start: new CalendarDate(value.start?.era || 'AD', value.start?.year || 0, value.start?.month || 0, value.start?.day || 0),
55
+ end: new CalendarDate(value.end?.era || 'AD', value.end?.year || 0, value.end?.month || 0, value.end?.day || 0)
56
+ });
57
+ ```
58
+
59
+
60
+
61
+ ### How to develop the component
62
+ ## Initialize the sveltekit project
63
+
64
+ 1. clone the repo
65
+ 2. cd into the project
66
+ 3. install dependencies
67
+
68
+ ```bash
69
+ npm i --legacy-peer-deps
70
+ ```
71
+ Note: use --legacy-peer-deps if you get peer dependency errors
72
+ as our project uses svelte 5 and some of the dependencies are still using svelte 4.
73
+
74
+ ## Start the development server
75
+
76
+ ```bash
77
+ npm run dev
78
+
79
+ # or start the server and open the app in a new browser tab
80
+ npm run dev -- --open
81
+ ```
82
+
83
+ ## Build the project
84
+
85
+ To create a production version of your app:
86
+
87
+ ```bash
88
+ npm run build
89
+ ```
90
+
91
+ ## Preview the project
92
+
93
+ You can preview the production build with `npm run preview`.
94
+
95
+
96
+ ## Deploy the project to a server
97
+ > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment(node in our case on render.com's servers):
98
+
99
+ 1. Install node adapter:
100
+ ```bash
101
+ npm install --save-dev @sveltejs/adapter-node
102
+ ```
103
+ Also add it to the `svelte.config.js` file:
104
+ ```js
105
+ import adapter from '@sveltejs/adapter-node';
106
+ ```
107
+
108
+ 2. Build the project:
109
+ ```bash
110
+ npm run build
111
+ ```
112
+
113
+ 3. Deploy to render.com
114
+
115
+ Because we deploy to render.com, the build command is run automatically if we push a new commit to the main branch.
116
+ But you must connect the gitlab repo of this project to the render.com project before and add there the secret env variables and start command.
117
+
118
+ In the future if you want to deploy a manual build you can run:
119
+ ```bash
120
+ npm run deploy
121
+ ```
122
+ Note that you need to add the right deploy script that copies the dist folder to the root of the project on the server.
123
+
124
+
125
+ ## Deploy the component to the npm package registry
126
+
127
+ ```bash
128
+ npm publish
129
+ ```
130
+
131
+
132
+ ### Font Loading and Batching Strategy
133
+
134
+ The font loading system uses a combination of batching, lazy loading, and scroll-based loading to optimize performance:
135
+
136
+ 1. **Initial Load**:
137
+ - First 12 fonts (initial batch) are loaded when FontManager initializes
138
+ - These fonts are cached and immediately available to all font controllers
139
+ - Initial fonts include most popular Google Fonts and recently used fonts
140
+ - Use subset of the fonts for the initial load, load full fonts only when needed
141
+ - Example:
142
+ ```javascript
143
+ const initialFonts = [
144
+ 'Roboto', 'Open Sans', 'Montserrat', 'Poppins',
145
+ 'Lato', 'Inter', 'Material Icons'
146
+ ];
147
+ ```
148
+
149
+ 2. **Batch Loading**:
150
+ - Remaining fonts are loaded in batches of 100 fonts
151
+ - Each font controller maintains its own batch index
152
+ - Batches are loaded only when scrolling reaches the bottom of the list
153
+ - Example flow:
154
+ ```
155
+ Initial fonts (0-12) → Batch 1 (12-112) → Batch 2 (112-212) → etc.
156
+ ```
157
+
158
+ 3. **Scroll-Based Loading**:
159
+ - Font loading is triggered by scroll events
160
+ - When user scrolls near bottom (100px threshold), next batch is loaded
161
+ - Each batch load updates the controller's batch index
162
+ - Example:
163
+ ```javascript
164
+ if (distanceFromBottom < threshold && !isLoadingBatch) {
165
+ loadNextBatch(); // Loads next 100 fonts
166
+ }
167
+ ```
168
+
169
+ 4. **Font Visibility Optimization**:
170
+ - IntersectionObserver watches for font elements entering viewport
171
+ - Only fonts currently visible are loaded into the browser
172
+ - Prevents unnecessary loading of fonts not in view
173
+ - Example:
174
+ ```javascript
175
+ // Font is loaded only when it becomes visible
176
+ observer.observe(fontElement);
177
+ ```
178
+
179
+ 5. **Caching Strategy**:
180
+ - Font list is cached in localStorage (24 hours duration)
181
+ - Browser caches actual font files (1 year duration)
182
+ - Each controller maintains its own loading state
183
+ - Cache structure:
184
+ ```javascript
185
+ {
186
+ fontList: [...], // Complete list of fonts
187
+ loadedFonts: [...], // Fonts loaded in browser
188
+ batchIndices: Map<controllerId, index> // Track batch position
189
+ }
190
+ ```
191
+
192
+ 6. **Font Loading Flow**:
193
+ - FontManager initializes with API key
194
+ - Checks browser cache for already loaded fonts
195
+ - Loads initial batch of popular fonts
196
+ - Sets up observers for lazy loading
197
+ - Example:
198
+ ```javascript
199
+ // Initialize FontManager
200
+ const fontManager = await FontManager.getInstance(apiKey);
201
+
202
+ // Get cached fonts
203
+ const cachedFonts = await fontManager.getBrowserCachedFonts();
204
+
205
+ // Load initial fonts
206
+ const initialFonts = await fontManager.getInitialFontList();
207
+ ```
208
+
209
+ 7. **Controller-Specific Handling**:
210
+ - Each font controller gets its own batch index
211
+ - Controllers load fonts independently
212
+ - Prevents interference between controllers
213
+ - Example:
214
+ ```javascript
215
+ // Reset batch index for new controller
216
+ fontManager.resetBatchIndex(controllerId);
217
+
218
+ // Get next batch for specific controller
219
+ const batch = fontManager.getNextBatch(controllerId);
220
+ ```
221
+
222
+ This approach ensures:
223
+ - Fast initial load with most popular fonts
224
+ - Smooth scrolling experience
225
+ - Efficient memory usage
226
+ - No unnecessary font loading
227
+ - Proper font caching
228
+ - Independent controller operation
229
+
230
+
231
+
232
+ 8. **Font Upload Format**:
233
+ - The fonts uploaded need to respect the name structure of fonts downloaded from Google Fonts (GeistMono-Black.ttf - FONTFAMILY-VARIANT.FORMAT)
234
+ - The format needs to be .woff2 ideally, otherwise .woff, tiff, or otf.
235
+
236
+ 9. **SVG Upload Format**:
237
+ - The svgs uploaded need respect the name structure (Arrows-ArrowRight.ttf - TAG-NAME.SVG), where "Arrows" will list all SVGs in the group.
238
+
239
+
240
+
241
+ ### Adding a new input controller
242
+
243
+ - Add the new controller to the `Frontend/editor/src/lib/components/ic/index.ts` file.
244
+ - import the new controller to the `Frontend/editor/src/lib/components/PropsEditor.svelte` file.
245
+
@@ -0,0 +1,331 @@
1
+ {
2
+ "id": "custom-fonts-001",
3
+ "name": "Custom Uploaded Fonts",
4
+ "version": "1.0.0",
5
+ "contentType": "FONTS",
6
+ "fontFamilies": [
7
+ {
8
+ "id": "cormorantgaramond-family",
9
+ "family": "Cormorant Garamond",
10
+ "name": "Cormorant Garamond",
11
+ "category": "Mine",
12
+ "variants": [
13
+ {
14
+ "id": "cormorantgaramond-regular",
15
+ "weight": "Regular",
16
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-Regular.ttf"
17
+ },
18
+ {
19
+ "id": "cormorantgaramond-medium",
20
+ "weight": "Medium",
21
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-Medium.ttf"
22
+ },
23
+ {
24
+ "id": "cormorantgaramond-semibold",
25
+ "weight": "SemiBold",
26
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-SemiBold.ttf"
27
+ },
28
+ {
29
+ "id": "cormorantgaramond-bold",
30
+ "weight": "Bold",
31
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-Bold.ttf"
32
+ },
33
+ {
34
+ "id": "cormorantgaramond-light",
35
+ "weight": "Light",
36
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-Light.ttf"
37
+ },
38
+ {
39
+ "id": "cormorantgaramond-italic",
40
+ "weight": "Italic",
41
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-Italic.ttf"
42
+ },
43
+ {
44
+ "id": "cormorantgaramond-mediumitalic",
45
+ "weight": "Medium Italic",
46
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-MediumItalic.ttf"
47
+ },
48
+ {
49
+ "id": "cormorantgaramond-semibolditalic",
50
+ "weight": "SemiBold Italic",
51
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-SemiBoldItalic.ttf"
52
+ },
53
+ {
54
+ "id": "cormorantgaramond-bolditalic",
55
+ "weight": "Bold Italic",
56
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-BoldItalic.ttf"
57
+ },
58
+ {
59
+ "id": "cormorantgaramond-lightitalic",
60
+ "weight": "Light Italic",
61
+ "url": "/fonts/CormorantGaramond/CormorantGaramond-LightItalic.ttf"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "id": "GeistMono-family",
67
+ "family": "GeistMono",
68
+ "name": "Geist Mono",
69
+ "category": "Mine",
70
+ "variants": [
71
+ {
72
+ "id": "geistmono-regular",
73
+ "weight": "Regular",
74
+ "url": "/fonts/GeistMono/GeistMono-Regular.ttf"
75
+ },
76
+ {
77
+ "id": "geistmono-medium",
78
+ "weight": "Medium",
79
+ "url": "/fonts/GeistMono/GeistMono-Medium.ttf"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "id": "cause-family",
85
+ "family": "Cause",
86
+ "name": "Cause",
87
+ "category": "Mine",
88
+ "variants": [
89
+ {
90
+ "id": "cause-thin",
91
+ "weight": "Thin",
92
+ "url": "/fonts/Cause/Cause-Thin.woff2"
93
+ },
94
+ {
95
+ "id": "cause-extralight",
96
+ "weight": "ExtraLight",
97
+ "url": "/fonts/Cause/Cause-ExtraLight.woff2"
98
+ },
99
+ {
100
+ "id": "cause-light",
101
+ "weight": "Light",
102
+ "url": "/fonts/Cause/Cause-Light.woff2"
103
+ },
104
+ {
105
+ "id": "cause-regular",
106
+ "weight": "Regular",
107
+ "url": "/fonts/Cause/Cause-Regular.woff2"
108
+ },
109
+ {
110
+ "id": "cause-medium",
111
+ "weight": "Medium",
112
+ "url": "/fonts/Cause/Cause-Medium.woff2"
113
+ },
114
+ {
115
+ "id": "cause-semibold",
116
+ "weight": "SemiBold",
117
+ "url": "/fonts/Cause/Cause-SemiBold.woff2"
118
+ },
119
+ {
120
+ "id": "cause-bold",
121
+ "weight": "Bold",
122
+ "url": "/fonts/Cause/Cause-Bold.woff2"
123
+ },
124
+ {
125
+ "id": "cause-extrabold",
126
+ "weight": "ExtraBold",
127
+ "url": "/fonts/Cause/Cause-ExtraBold.woff2"
128
+ },
129
+ {
130
+ "id": "cause-black",
131
+ "weight": "Black",
132
+ "url": "/fonts/Cause/Cause-Black.woff2"
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "id": "ojuju-family",
138
+ "family": "Ojuju",
139
+ "name": "Ojuju",
140
+ "category": "Mine",
141
+ "variants": [
142
+ {
143
+ "id": "ojuju-extralight",
144
+ "weight": "ExtraLight",
145
+ "url": "/fonts/Ojuju/Ojuju-ExtraLight.woff2"
146
+ },
147
+ {
148
+ "id": "ojuju-light",
149
+ "weight": "Light",
150
+ "url": "/fonts/Ojuju/Ojuju-Light.woff2"
151
+ },
152
+ {
153
+ "id": "ojuju-regular",
154
+ "weight": "Regular",
155
+ "url": "/fonts/Ojuju/Ojuju-Regular.woff2"
156
+ },
157
+ {
158
+ "id": "ojuju-medium",
159
+ "weight": "Medium",
160
+ "url": "/fonts/Ojuju/Ojuju-Medium.woff2"
161
+ },
162
+ {
163
+ "id": "ojuju-semibold",
164
+ "weight": "SemiBold",
165
+ "url": "/fonts/Ojuju/Ojuju-SemiBold.woff2"
166
+ },
167
+ {
168
+ "id": "ojuju-bold",
169
+ "weight": "Bold",
170
+ "url": "/fonts/Ojuju/Ojuju-Bold.woff2"
171
+ },
172
+ {
173
+ "id": "ojuju-extrabold",
174
+ "weight": "ExtraBold",
175
+ "url": "/fonts/Ojuju/Ojuju-ExtraBold.woff2"
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ "id": "raleway-family",
181
+ "family": "Raleway",
182
+ "name": "Raleway",
183
+ "category": "Mine",
184
+ "variants": [
185
+ {
186
+ "id": "raleway-thin",
187
+ "weight": "Thin",
188
+ "url": "/fonts/Raleway/Raleway-Thin.woff2"
189
+ },
190
+ {
191
+ "id": "raleway-thinitalic",
192
+ "weight": "Thin Italic",
193
+ "url": "/fonts/Raleway/Raleway-ThinItalic.woff2"
194
+ },
195
+ {
196
+ "id": "raleway-extralight",
197
+ "weight": "ExtraLight",
198
+ "url": "/fonts/Raleway/Raleway-ExtraLight.woff2"
199
+ },
200
+ {
201
+ "id": "raleway-extralightitalic",
202
+ "weight": "ExtraLight Italic",
203
+ "url": "/fonts/Raleway/Raleway-ExtraLightItalic.woff2"
204
+ },
205
+ {
206
+ "id": "raleway-light",
207
+ "weight": "Light",
208
+ "url": "/fonts/Raleway/Raleway-Light.woff2"
209
+ },
210
+ {
211
+ "id": "raleway-lightitalic",
212
+ "weight": "Light Italic",
213
+ "url": "/fonts/Raleway/Raleway-LightItalic.woff2"
214
+ },
215
+ {
216
+ "id": "raleway-regular",
217
+ "weight": "Regular",
218
+ "url": "/fonts/Raleway/Raleway-Regular.woff2"
219
+ },
220
+ {
221
+ "id": "raleway-italic",
222
+ "weight": "Italic",
223
+ "url": "/fonts/Raleway/Raleway-Italic.woff2"
224
+ },
225
+ {
226
+ "id": "raleway-medium",
227
+ "weight": "Medium",
228
+ "url": "/fonts/Raleway/Raleway-Medium.woff2"
229
+ },
230
+ {
231
+ "id": "raleway-mediumitalic",
232
+ "weight": "Medium Italic",
233
+ "url": "/fonts/Raleway/Raleway-MediumItalic.woff2"
234
+ },
235
+ {
236
+ "id": "raleway-semibold",
237
+ "weight": "SemiBold",
238
+ "url": "/fonts/Raleway/Raleway-SemiBold.woff2"
239
+ },
240
+ {
241
+ "id": "raleway-semibolditalic",
242
+ "weight": "SemiBold Italic",
243
+ "url": "/fonts/Raleway/Raleway-SemiBoldItalic.woff2"
244
+ },
245
+ {
246
+ "id": "raleway-bold",
247
+ "weight": "Bold",
248
+ "url": "/fonts/Raleway/Raleway-Bold.woff2"
249
+ },
250
+ {
251
+ "id": "raleway-bolditalic",
252
+ "weight": "Bold Italic",
253
+ "url": "/fonts/Raleway/Raleway-BoldItalic.woff2"
254
+ },
255
+ {
256
+ "id": "raleway-extrabold",
257
+ "weight": "ExtraBold",
258
+ "url": "/fonts/Raleway/Raleway-ExtraBold.woff2"
259
+ },
260
+ {
261
+ "id": "raleway-extrabolditalic",
262
+ "weight": "ExtraBold Italic",
263
+ "url": "/fonts/Raleway/Raleway-ExtraBoldItalic.woff2"
264
+ },
265
+ {
266
+ "id": "raleway-black",
267
+ "weight": "Black",
268
+ "url": "/fonts/Raleway/Raleway-Black.woff2"
269
+ },
270
+ {
271
+ "id": "raleway-blackitalic",
272
+ "weight": "Black Italic",
273
+ "url": "/fonts/Raleway/Raleway-BlackItalic.woff2"
274
+ }
275
+ ]
276
+ },
277
+ {
278
+ "id": "worksans-family",
279
+ "family": "WorkSans",
280
+ "name": "Work Sans",
281
+ "category": "Mine",
282
+ "variants": [
283
+ {
284
+ "id": "worksans-thin",
285
+ "weight": "Thin",
286
+ "url": "/fonts/WorkSans/WorkSans-Thin.woff2"
287
+ },
288
+ {
289
+ "id": "worksans-extralight",
290
+ "weight": "ExtraLight",
291
+ "url": "/fonts/WorkSans/WorkSans-ExtraLight.woff2"
292
+ },
293
+ {
294
+ "id": "worksans-light",
295
+ "weight": "Light",
296
+ "url": "/fonts/WorkSans/WorkSans-Light.woff2"
297
+ },
298
+ {
299
+ "id": "worksans-regular",
300
+ "weight": "Regular",
301
+ "url": "/fonts/WorkSans/WorkSans-Regular.woff2"
302
+ },
303
+ {
304
+ "id": "worksans-medium",
305
+ "weight": "Medium",
306
+ "url": "/fonts/WorkSans/WorkSans-Medium.woff2"
307
+ },
308
+ {
309
+ "id": "worksans-semibold",
310
+ "weight": "SemiBold",
311
+ "url": "/fonts/WorkSans/WorkSans-SemiBold.woff2"
312
+ },
313
+ {
314
+ "id": "worksans-bold",
315
+ "weight": "Bold",
316
+ "url": "/fonts/WorkSans/WorkSans-Bold.woff2"
317
+ },
318
+ {
319
+ "id": "worksans-extrabold",
320
+ "weight": "ExtraBold",
321
+ "url": "/fonts/WorkSans/WorkSans-ExtraBold.woff2"
322
+ },
323
+ {
324
+ "id": "worksans-black",
325
+ "weight": "Black",
326
+ "url": "/fonts/WorkSans/WorkSans-Black.woff2"
327
+ }
328
+ ]
329
+ }
330
+ ]
331
+ }
@@ -0,0 +1,7 @@
1
+ <svg width="63" height="55" viewBox="0 0 63 55" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.155518" y="0.736923" width="62" height="54" rx="15" fill="#A7FF68"/>
3
+ <g opacity="0.1">
4
+ <path d="M58.734 26.3555C57.281 25.3053 57.0378 18.7466 56.2021 21.5913C55.582 23.7034 55.3673 26.9532 53.0974 25.9665C51.5323 25.2875 51.5568 19.2978 50.9505 17.9635C50.3457 16.6291 49.7042 24.2231 48.3146 25.5328C47.0427 26.7293 45.5856 25.6079 44.8767 21.3523C44.1756 17.1406 43.5764 12.9982 42.9579 15.4942C42.057 19.1245 41.4804 27.4745 39.4848 26.3351C38.1828 25.5927 37.894 19.9621 37.0963 23.4194C36.4815 26.0744 35.5943 26.8088 34.5451 26.1181C33.5864 25.4878 33.0507 20.5325 32.456 19.5734C31.8135 18.5335 30.9832 23.8614 29.9824 25.5341C29.673 26.0528 29.2778 26.1892 28.9414 26.0688C28.5661 25.9354 28.2743 25.6337 28.0975 25.2738C27.0048 23.0387 26.0166 16.5679 25.9583 16.1491C25.8719 15.5266 25.4777 14.8635 25.1752 16.1491C24.8729 17.4271 23.4319 25.7742 21.8844 25.7524C20.7339 25.7374 19.7319 22.1589 19.3945 19.9976C18.9193 16.9565 18.3721 19.0181 18.3721 19.0181C18.3721 19.0181 17.6053 23.0145 15.4595 24.6815C14.3308 25.5604 13.3449 24.2395 12.6157 22.2392C12.0877 20.5583 11.7016 17.546 11.7016 17.546C11.4976 15.8347 11.1627 13.8568 10.7077 13.9087C10.705 13.9087 10.7023 13.9087 10.6995 13.9087C10.6942 13.9087 10.6873 13.9101 10.6821 13.9114C10.5861 13.9317 10.4984 14.0516 10.4282 14.22C10.2391 14.5894 9.91774 15.4437 9.53149 17.3741C9.52194 17.415 9.51259 17.4588 9.50454 17.5076C9.50314 17.5157 9.50185 17.5226 9.50046 17.531C9.47758 17.6469 9.4545 17.7682 9.43153 17.8924C9.11163 19.4259 8.38917 21.4847 8.3081 21.7143C7.65189 23.163 6.76739 24.5426 5.55344 25.5084C4.47318 26.3666 1.28374 27.4484 0.261475 27.7813H62.1554C61.0969 27.537 59.7681 27.1035 58.734 26.3555Z" fill="black"/>
5
+ <path d="M58.6279 29.1183C57.1749 30.1686 56.9317 36.7272 56.0962 33.8826C55.4759 31.7705 55.2615 28.5206 52.9915 29.5072C51.4266 30.1866 51.4509 36.1764 50.8443 37.5103C50.2396 38.8447 49.5984 31.2507 48.2086 29.941C46.9368 28.7446 45.4795 29.8658 44.7708 34.1217C44.0698 38.3332 43.4703 42.4755 42.8518 39.9797C41.9511 36.3493 41.3746 27.9994 39.3789 29.1386C38.0769 29.881 37.7879 35.5119 36.9901 32.0543C36.3757 29.3995 35.4885 28.665 34.4391 29.3556C33.4806 29.9861 32.9445 34.9413 32.3502 35.9004C31.7075 36.9404 30.8771 31.6124 29.8763 29.9397C29.5669 29.4211 29.1717 29.2846 28.8354 29.4051C28.4599 29.5384 28.1681 29.8401 27.9914 30.1999C26.8987 32.4351 25.9107 38.906 25.8521 39.3248C25.7658 39.9472 25.3716 40.6103 25.0691 39.3248C24.7668 38.0468 23.3257 29.6998 21.7786 29.7214C20.6278 29.7364 19.626 33.315 19.2884 35.4762C18.8132 38.5172 18.2662 36.4556 18.2662 36.4556C18.2662 36.4556 17.4992 32.4593 15.3534 30.7923C14.2247 29.9135 13.239 31.2342 12.5096 33.2346C11.9817 34.9156 11.5955 37.9278 11.5955 37.9278C11.3916 39.6391 11.0567 41.6173 10.6018 41.5651C10.5989 41.5651 10.5962 41.5651 10.5934 41.5651C10.5883 41.5651 10.5814 41.5638 10.576 41.5625C10.4801 41.5421 10.3924 41.4221 10.3222 41.254C10.1332 40.8845 9.81168 40.0301 9.42554 38.0997C9.41599 38.0588 9.40654 38.0151 9.39848 37.9664C9.39709 37.9582 9.39579 37.9512 9.3944 37.943C9.37152 37.8269 9.34845 37.7057 9.32557 37.5813C9.00557 36.0479 8.28321 33.9891 8.20204 33.7595C7.54593 32.3107 6.66133 30.9313 5.44748 29.9655C4.36713 29.1075 1.17768 28.0253 0.155518 27.6925H62.0496C60.9908 27.9368 59.6623 28.3703 58.6279 29.1183Z" fill="black"/>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="63" height="54" viewBox="0 0 63 54" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.42334" width="62" height="54" rx="15" fill="#FFDC68"/>
3
+ <g opacity="0.1">
4
+ <path d="M21.4233 32.0543H46.4233" stroke="black" stroke-width="3.33333" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M46.4233 38.7935H21.4233" stroke="black" stroke-width="3.33333" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M36.4233 25.3152H46.4233" stroke="black" stroke-width="3.33333" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <path d="M46.4233 18.5761H36.4233" stroke="black" stroke-width="3.33333" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path d="M26.4233 21.9456H28.09C28.4196 21.9456 28.7419 22.0444 29.016 22.2296C29.29 22.4147 29.5037 22.6778 29.6298 22.9857C29.756 23.2935 29.789 23.6323 29.7246 23.9591C29.6603 24.2859 29.5016 24.5861 29.2685 24.8217C29.0354 25.0574 28.7385 25.2178 28.4152 25.2828C28.0919 25.3478 27.7567 25.3145 27.4522 25.1869C27.1477 25.0594 26.8874 24.8435 26.7042 24.5664C26.5211 24.2894 26.4233 23.9636 26.4233 23.6304V19.4185C26.4233 18.5248 26.7745 17.6677 27.3997 17.0358C28.0248 16.4039 28.8726 16.0489 29.7567 16.0489" stroke="black" stroke-width="3.33333" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <path d="M16.4233 21.9456H18.09C18.4196 21.9456 18.7419 22.0444 19.016 22.2296C19.29 22.4147 19.5037 22.6778 19.6298 22.9857C19.756 23.2935 19.789 23.6323 19.7246 23.9591C19.6603 24.2859 19.5016 24.5861 19.2685 24.8217C19.0354 25.0574 18.7385 25.2178 18.4152 25.2828C18.0919 25.3478 17.7567 25.3145 17.4522 25.1869C17.1477 25.0594 16.8874 24.8435 16.7042 24.5664C16.5211 24.2894 16.4233 23.9636 16.4233 23.6304V19.4185C16.4233 18.5248 16.7745 17.6677 17.3997 17.0358C18.0248 16.4039 18.8726 16.0489 19.7567 16.0489" stroke="black" stroke-width="3.33333" stroke-linecap="round" stroke-linejoin="round"/>
10
+ </g>
11
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="63" height="54" viewBox="0 0 63 54" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.423828" width="62" height="54" rx="15" fill="#FF4848"/>
3
+ <path d="M31.4238 20.9348V29.0217" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M31.4238 35.087V35.107" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,28 @@
1
+ <svg width="63" height="54" viewBox="0 0 63 54" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M48.2133 0H14.6343C6.78609 0 0.423828 6.36226 0.423828 14.2105V39.7894C0.423828 47.6377 6.78609 53.9999 14.6343 53.9999H48.2133C56.0615 53.9999 62.4238 47.6377 62.4238 39.7894V14.2105C62.4238 6.36226 56.0615 0 48.2133 0Z" fill="url(#paint0_linear_48_184)"/>
3
+ <rect x="7.42383" y="11" width="48" height="36" rx="1" fill="white"/>
4
+ <rect x="7.42383" y="19" width="48" height="0.5" fill="#BFBFBF"/>
5
+ <rect x="7.42383" y="15" width="48" height="0.5" fill="#BFBFBF"/>
6
+ <rect x="7.42383" y="23" width="48" height="0.5" fill="#BFBFBF"/>
7
+ <g filter="url(#filter0_bi_48_184)">
8
+ <path d="M15.1839 15C16.7544 15 18.2112 15.8187 19.0278 17.1602L23.2371 24.0756C23.9248 25.2053 25.1516 25.8947 26.4741 25.8947H57.6865C60.2918 25.8947 62.4233 28.0263 62.4233 30.6316V39.7856C62.4233 47.6338 56.0611 53.9961 48.2128 53.9961H14.6339C6.78567 53.9961 0.42334 47.6338 0.42334 39.7856V19.6962C0.445386 17.1094 2.56855 15 5.16024 15H15.1839Z" fill="#45BCFE" fill-opacity="0.9"/>
9
+ </g>
10
+ <defs>
11
+ <filter id="filter0_bi_48_184" x="-1.94508" y="12.6316" width="66.7368" height="43.7329" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
12
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
13
+ <feGaussianBlur in="BackgroundImageFix" stdDeviation="1.18421"/>
14
+ <feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_48_184"/>
15
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_backgroundBlur_48_184" result="shape"/>
16
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
17
+ <feOffset dy="0.236842"/>
18
+ <feGaussianBlur stdDeviation="0.236842"/>
19
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
20
+ <feColorMatrix type="matrix" values="0 0 0 0 0.478431 0 0 0 0 0.94902 0 0 0 0 1 0 0 0 1 0"/>
21
+ <feBlend mode="normal" in2="shape" result="effect2_innerShadow_48_184"/>
22
+ </filter>
23
+ <linearGradient id="paint0_linear_48_184" x1="27.4238" y1="0" x2="27.4238" y2="53.9999" gradientUnits="userSpaceOnUse">
24
+ <stop stop-color="#0699FF"/>
25
+ <stop offset="1" stop-color="#0171EF"/>
26
+ </linearGradient>
27
+ </defs>
28
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="icon icon-tabler icons-tabler-filled icon-tabler-player-pause"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z" /><path d="M17 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z" /></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="icon icon-tabler icons-tabler-filled icon-tabler-player-play"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z" /></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 7l16 0" /><path d="M10 11l0 6" /><path d="M14 11l0 6" /><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" /><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" /></svg>
@@ -0,0 +1,3 @@
1
+ <svg width="73" height="36" viewBox="0 0 73 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M72.4949 0H0.494865V36H72.4949V0Z" fill="#F3F3F3"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="73" height="36" viewBox="0 0 73 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M72.4949 36H0.494869V0H72.4949V36Z" fill="#0171EF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="73" height="36" viewBox="0 0 73 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M72.4949 36H8.49487C4.07659 36 0.494873 32.4183 0.494873 28V0H72.4949V36Z" fill="#F3F3F3"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="73" height="36" viewBox="0 0 73 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M72.4949 36H8.49487C4.07659 36 0.494873 32.4183 0.494873 28V0H72.4949V36Z" fill="#0171EF"/>
3
+ </svg>