@yinuo-ngm/server 1.0.1 → 1.0.3

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 (1735) hide show
  1. package/package.json +7 -4
  2. package/www/3rdpartylicenses.txt +660 -0
  3. package/www/browser/assets/animal/panda.js +16 -0
  4. package/www/browser/assets/animal/panda.svg +10 -0
  5. package/www/browser/assets/fill/.gitkeep +0 -0
  6. package/www/browser/assets/fill/account-book.js +7 -0
  7. package/www/browser/assets/fill/account-book.svg +1 -0
  8. package/www/browser/assets/fill/alert.js +7 -0
  9. package/www/browser/assets/fill/alert.svg +1 -0
  10. package/www/browser/assets/fill/alipay-circle.js +7 -0
  11. package/www/browser/assets/fill/alipay-circle.svg +1 -0
  12. package/www/browser/assets/fill/alipay-square.js +7 -0
  13. package/www/browser/assets/fill/alipay-square.svg +1 -0
  14. package/www/browser/assets/fill/aliwangwang.js +7 -0
  15. package/www/browser/assets/fill/aliwangwang.svg +1 -0
  16. package/www/browser/assets/fill/amazon-circle.js +7 -0
  17. package/www/browser/assets/fill/amazon-circle.svg +1 -0
  18. package/www/browser/assets/fill/amazon-square.js +7 -0
  19. package/www/browser/assets/fill/amazon-square.svg +1 -0
  20. package/www/browser/assets/fill/android.js +7 -0
  21. package/www/browser/assets/fill/android.svg +1 -0
  22. package/www/browser/assets/fill/api.js +7 -0
  23. package/www/browser/assets/fill/api.svg +1 -0
  24. package/www/browser/assets/fill/apple.js +7 -0
  25. package/www/browser/assets/fill/apple.svg +1 -0
  26. package/www/browser/assets/fill/appstore.js +7 -0
  27. package/www/browser/assets/fill/appstore.svg +1 -0
  28. package/www/browser/assets/fill/audio.js +7 -0
  29. package/www/browser/assets/fill/audio.svg +1 -0
  30. package/www/browser/assets/fill/backward.js +7 -0
  31. package/www/browser/assets/fill/backward.svg +1 -0
  32. package/www/browser/assets/fill/bank.js +7 -0
  33. package/www/browser/assets/fill/bank.svg +1 -0
  34. package/www/browser/assets/fill/behance-circle.js +7 -0
  35. package/www/browser/assets/fill/behance-circle.svg +1 -0
  36. package/www/browser/assets/fill/behance-square.js +7 -0
  37. package/www/browser/assets/fill/behance-square.svg +1 -0
  38. package/www/browser/assets/fill/bell.js +7 -0
  39. package/www/browser/assets/fill/bell.svg +1 -0
  40. package/www/browser/assets/fill/bilibili.js +7 -0
  41. package/www/browser/assets/fill/bilibili.svg +1 -0
  42. package/www/browser/assets/fill/book.js +7 -0
  43. package/www/browser/assets/fill/book.svg +1 -0
  44. package/www/browser/assets/fill/box-plot.js +7 -0
  45. package/www/browser/assets/fill/box-plot.svg +1 -0
  46. package/www/browser/assets/fill/bug.js +7 -0
  47. package/www/browser/assets/fill/bug.svg +1 -0
  48. package/www/browser/assets/fill/build.js +7 -0
  49. package/www/browser/assets/fill/build.svg +1 -0
  50. package/www/browser/assets/fill/bulb.js +7 -0
  51. package/www/browser/assets/fill/bulb.svg +1 -0
  52. package/www/browser/assets/fill/calculator.js +7 -0
  53. package/www/browser/assets/fill/calculator.svg +1 -0
  54. package/www/browser/assets/fill/calendar.js +7 -0
  55. package/www/browser/assets/fill/calendar.svg +1 -0
  56. package/www/browser/assets/fill/camera.js +7 -0
  57. package/www/browser/assets/fill/camera.svg +1 -0
  58. package/www/browser/assets/fill/car.js +7 -0
  59. package/www/browser/assets/fill/car.svg +1 -0
  60. package/www/browser/assets/fill/caret-down.js +7 -0
  61. package/www/browser/assets/fill/caret-down.svg +1 -0
  62. package/www/browser/assets/fill/caret-left.js +7 -0
  63. package/www/browser/assets/fill/caret-left.svg +1 -0
  64. package/www/browser/assets/fill/caret-right.js +7 -0
  65. package/www/browser/assets/fill/caret-right.svg +1 -0
  66. package/www/browser/assets/fill/caret-up.js +7 -0
  67. package/www/browser/assets/fill/caret-up.svg +1 -0
  68. package/www/browser/assets/fill/carry-out.js +7 -0
  69. package/www/browser/assets/fill/carry-out.svg +1 -0
  70. package/www/browser/assets/fill/check-circle.js +7 -0
  71. package/www/browser/assets/fill/check-circle.svg +1 -0
  72. package/www/browser/assets/fill/check-square.js +7 -0
  73. package/www/browser/assets/fill/check-square.svg +1 -0
  74. package/www/browser/assets/fill/chrome.js +7 -0
  75. package/www/browser/assets/fill/chrome.svg +1 -0
  76. package/www/browser/assets/fill/ci-circle.js +7 -0
  77. package/www/browser/assets/fill/ci-circle.svg +1 -0
  78. package/www/browser/assets/fill/clock-circle.js +7 -0
  79. package/www/browser/assets/fill/clock-circle.svg +1 -0
  80. package/www/browser/assets/fill/close-circle.js +7 -0
  81. package/www/browser/assets/fill/close-circle.svg +1 -0
  82. package/www/browser/assets/fill/close-square.js +7 -0
  83. package/www/browser/assets/fill/close-square.svg +1 -0
  84. package/www/browser/assets/fill/cloud.js +7 -0
  85. package/www/browser/assets/fill/cloud.svg +1 -0
  86. package/www/browser/assets/fill/code-sandbox-circle.js +7 -0
  87. package/www/browser/assets/fill/code-sandbox-circle.svg +1 -0
  88. package/www/browser/assets/fill/code-sandbox-square.js +7 -0
  89. package/www/browser/assets/fill/code-sandbox-square.svg +1 -0
  90. package/www/browser/assets/fill/code.js +7 -0
  91. package/www/browser/assets/fill/code.svg +1 -0
  92. package/www/browser/assets/fill/codepen-circle.js +7 -0
  93. package/www/browser/assets/fill/codepen-circle.svg +1 -0
  94. package/www/browser/assets/fill/codepen-square.js +7 -0
  95. package/www/browser/assets/fill/codepen-square.svg +1 -0
  96. package/www/browser/assets/fill/compass.js +7 -0
  97. package/www/browser/assets/fill/compass.svg +1 -0
  98. package/www/browser/assets/fill/contacts.js +7 -0
  99. package/www/browser/assets/fill/contacts.svg +1 -0
  100. package/www/browser/assets/fill/container.js +7 -0
  101. package/www/browser/assets/fill/container.svg +1 -0
  102. package/www/browser/assets/fill/control.js +7 -0
  103. package/www/browser/assets/fill/control.svg +1 -0
  104. package/www/browser/assets/fill/copy.js +7 -0
  105. package/www/browser/assets/fill/copy.svg +1 -0
  106. package/www/browser/assets/fill/copyright-circle.js +7 -0
  107. package/www/browser/assets/fill/copyright-circle.svg +1 -0
  108. package/www/browser/assets/fill/credit-card.js +7 -0
  109. package/www/browser/assets/fill/credit-card.svg +1 -0
  110. package/www/browser/assets/fill/crown.js +7 -0
  111. package/www/browser/assets/fill/crown.svg +1 -0
  112. package/www/browser/assets/fill/customer-service.js +7 -0
  113. package/www/browser/assets/fill/customer-service.svg +1 -0
  114. package/www/browser/assets/fill/dashboard.js +7 -0
  115. package/www/browser/assets/fill/dashboard.svg +1 -0
  116. package/www/browser/assets/fill/database.js +7 -0
  117. package/www/browser/assets/fill/database.svg +1 -0
  118. package/www/browser/assets/fill/delete.js +7 -0
  119. package/www/browser/assets/fill/delete.svg +1 -0
  120. package/www/browser/assets/fill/diff.js +7 -0
  121. package/www/browser/assets/fill/diff.svg +1 -0
  122. package/www/browser/assets/fill/dingtalk-circle.js +7 -0
  123. package/www/browser/assets/fill/dingtalk-circle.svg +1 -0
  124. package/www/browser/assets/fill/dingtalk-square.js +7 -0
  125. package/www/browser/assets/fill/dingtalk-square.svg +1 -0
  126. package/www/browser/assets/fill/discord.js +7 -0
  127. package/www/browser/assets/fill/discord.svg +1 -0
  128. package/www/browser/assets/fill/dislike.js +7 -0
  129. package/www/browser/assets/fill/dislike.svg +1 -0
  130. package/www/browser/assets/fill/dollar-circle.js +7 -0
  131. package/www/browser/assets/fill/dollar-circle.svg +1 -0
  132. package/www/browser/assets/fill/down-circle.js +7 -0
  133. package/www/browser/assets/fill/down-circle.svg +1 -0
  134. package/www/browser/assets/fill/down-square.js +7 -0
  135. package/www/browser/assets/fill/down-square.svg +1 -0
  136. package/www/browser/assets/fill/dribbble-circle.js +7 -0
  137. package/www/browser/assets/fill/dribbble-circle.svg +1 -0
  138. package/www/browser/assets/fill/dribbble-square.js +7 -0
  139. package/www/browser/assets/fill/dribbble-square.svg +1 -0
  140. package/www/browser/assets/fill/dropbox-circle.js +7 -0
  141. package/www/browser/assets/fill/dropbox-circle.svg +1 -0
  142. package/www/browser/assets/fill/dropbox-square.js +7 -0
  143. package/www/browser/assets/fill/dropbox-square.svg +1 -0
  144. package/www/browser/assets/fill/edit.js +7 -0
  145. package/www/browser/assets/fill/edit.svg +1 -0
  146. package/www/browser/assets/fill/environment.js +7 -0
  147. package/www/browser/assets/fill/environment.svg +1 -0
  148. package/www/browser/assets/fill/euro-circle.js +7 -0
  149. package/www/browser/assets/fill/euro-circle.svg +1 -0
  150. package/www/browser/assets/fill/exclamation-circle.js +7 -0
  151. package/www/browser/assets/fill/exclamation-circle.svg +1 -0
  152. package/www/browser/assets/fill/experiment.js +7 -0
  153. package/www/browser/assets/fill/experiment.svg +1 -0
  154. package/www/browser/assets/fill/eye-invisible.js +7 -0
  155. package/www/browser/assets/fill/eye-invisible.svg +1 -0
  156. package/www/browser/assets/fill/eye.js +7 -0
  157. package/www/browser/assets/fill/eye.svg +1 -0
  158. package/www/browser/assets/fill/facebook.js +7 -0
  159. package/www/browser/assets/fill/facebook.svg +1 -0
  160. package/www/browser/assets/fill/fast-backward.js +7 -0
  161. package/www/browser/assets/fill/fast-backward.svg +1 -0
  162. package/www/browser/assets/fill/fast-forward.js +7 -0
  163. package/www/browser/assets/fill/fast-forward.svg +1 -0
  164. package/www/browser/assets/fill/file-add.js +7 -0
  165. package/www/browser/assets/fill/file-add.svg +1 -0
  166. package/www/browser/assets/fill/file-excel.js +7 -0
  167. package/www/browser/assets/fill/file-excel.svg +1 -0
  168. package/www/browser/assets/fill/file-exclamation.js +7 -0
  169. package/www/browser/assets/fill/file-exclamation.svg +1 -0
  170. package/www/browser/assets/fill/file-image.js +7 -0
  171. package/www/browser/assets/fill/file-image.svg +1 -0
  172. package/www/browser/assets/fill/file-markdown.js +7 -0
  173. package/www/browser/assets/fill/file-markdown.svg +1 -0
  174. package/www/browser/assets/fill/file-pdf.js +7 -0
  175. package/www/browser/assets/fill/file-pdf.svg +1 -0
  176. package/www/browser/assets/fill/file-ppt.js +7 -0
  177. package/www/browser/assets/fill/file-ppt.svg +1 -0
  178. package/www/browser/assets/fill/file-text.js +7 -0
  179. package/www/browser/assets/fill/file-text.svg +1 -0
  180. package/www/browser/assets/fill/file-unknown.js +7 -0
  181. package/www/browser/assets/fill/file-unknown.svg +1 -0
  182. package/www/browser/assets/fill/file-word.js +7 -0
  183. package/www/browser/assets/fill/file-word.svg +1 -0
  184. package/www/browser/assets/fill/file-zip.js +7 -0
  185. package/www/browser/assets/fill/file-zip.svg +1 -0
  186. package/www/browser/assets/fill/file.js +7 -0
  187. package/www/browser/assets/fill/file.svg +1 -0
  188. package/www/browser/assets/fill/filter.js +7 -0
  189. package/www/browser/assets/fill/filter.svg +1 -0
  190. package/www/browser/assets/fill/fire.js +7 -0
  191. package/www/browser/assets/fill/fire.svg +1 -0
  192. package/www/browser/assets/fill/flag.js +7 -0
  193. package/www/browser/assets/fill/flag.svg +1 -0
  194. package/www/browser/assets/fill/folder-add.js +7 -0
  195. package/www/browser/assets/fill/folder-add.svg +1 -0
  196. package/www/browser/assets/fill/folder-open.js +7 -0
  197. package/www/browser/assets/fill/folder-open.svg +1 -0
  198. package/www/browser/assets/fill/folder.js +7 -0
  199. package/www/browser/assets/fill/folder.svg +1 -0
  200. package/www/browser/assets/fill/format-painter.js +7 -0
  201. package/www/browser/assets/fill/format-painter.svg +1 -0
  202. package/www/browser/assets/fill/forward.js +7 -0
  203. package/www/browser/assets/fill/forward.svg +1 -0
  204. package/www/browser/assets/fill/frown.js +7 -0
  205. package/www/browser/assets/fill/frown.svg +1 -0
  206. package/www/browser/assets/fill/fund.js +7 -0
  207. package/www/browser/assets/fill/fund.svg +1 -0
  208. package/www/browser/assets/fill/funnel-plot.js +7 -0
  209. package/www/browser/assets/fill/funnel-plot.svg +1 -0
  210. package/www/browser/assets/fill/gift.js +7 -0
  211. package/www/browser/assets/fill/gift.svg +1 -0
  212. package/www/browser/assets/fill/github.js +7 -0
  213. package/www/browser/assets/fill/github.svg +1 -0
  214. package/www/browser/assets/fill/gitlab.js +7 -0
  215. package/www/browser/assets/fill/gitlab.svg +1 -0
  216. package/www/browser/assets/fill/gold.js +7 -0
  217. package/www/browser/assets/fill/gold.svg +1 -0
  218. package/www/browser/assets/fill/golden.js +7 -0
  219. package/www/browser/assets/fill/golden.svg +1 -0
  220. package/www/browser/assets/fill/google-circle.js +7 -0
  221. package/www/browser/assets/fill/google-circle.svg +1 -0
  222. package/www/browser/assets/fill/google-plus-circle.js +7 -0
  223. package/www/browser/assets/fill/google-plus-circle.svg +1 -0
  224. package/www/browser/assets/fill/google-plus-square.js +7 -0
  225. package/www/browser/assets/fill/google-plus-square.svg +1 -0
  226. package/www/browser/assets/fill/google-square.js +7 -0
  227. package/www/browser/assets/fill/google-square.svg +1 -0
  228. package/www/browser/assets/fill/hdd.js +7 -0
  229. package/www/browser/assets/fill/hdd.svg +1 -0
  230. package/www/browser/assets/fill/heart.js +7 -0
  231. package/www/browser/assets/fill/heart.svg +1 -0
  232. package/www/browser/assets/fill/highlight.js +7 -0
  233. package/www/browser/assets/fill/highlight.svg +1 -0
  234. package/www/browser/assets/fill/home.js +7 -0
  235. package/www/browser/assets/fill/home.svg +1 -0
  236. package/www/browser/assets/fill/hourglass.js +7 -0
  237. package/www/browser/assets/fill/hourglass.svg +1 -0
  238. package/www/browser/assets/fill/html5.js +7 -0
  239. package/www/browser/assets/fill/html5.svg +1 -0
  240. package/www/browser/assets/fill/idcard.js +7 -0
  241. package/www/browser/assets/fill/idcard.svg +1 -0
  242. package/www/browser/assets/fill/ie-circle.js +7 -0
  243. package/www/browser/assets/fill/ie-circle.svg +1 -0
  244. package/www/browser/assets/fill/ie-square.js +7 -0
  245. package/www/browser/assets/fill/ie-square.svg +1 -0
  246. package/www/browser/assets/fill/info-circle.js +7 -0
  247. package/www/browser/assets/fill/info-circle.svg +1 -0
  248. package/www/browser/assets/fill/instagram.js +7 -0
  249. package/www/browser/assets/fill/instagram.svg +1 -0
  250. package/www/browser/assets/fill/insurance.js +7 -0
  251. package/www/browser/assets/fill/insurance.svg +1 -0
  252. package/www/browser/assets/fill/interaction.js +7 -0
  253. package/www/browser/assets/fill/interaction.svg +1 -0
  254. package/www/browser/assets/fill/layout.js +7 -0
  255. package/www/browser/assets/fill/layout.svg +1 -0
  256. package/www/browser/assets/fill/left-circle.js +7 -0
  257. package/www/browser/assets/fill/left-circle.svg +1 -0
  258. package/www/browser/assets/fill/left-square.js +7 -0
  259. package/www/browser/assets/fill/left-square.svg +1 -0
  260. package/www/browser/assets/fill/like.js +7 -0
  261. package/www/browser/assets/fill/like.svg +1 -0
  262. package/www/browser/assets/fill/linkedin.js +7 -0
  263. package/www/browser/assets/fill/linkedin.svg +1 -0
  264. package/www/browser/assets/fill/lock.js +7 -0
  265. package/www/browser/assets/fill/lock.svg +1 -0
  266. package/www/browser/assets/fill/mac-command.js +7 -0
  267. package/www/browser/assets/fill/mac-command.svg +1 -0
  268. package/www/browser/assets/fill/mail.js +7 -0
  269. package/www/browser/assets/fill/mail.svg +1 -0
  270. package/www/browser/assets/fill/medicine-box.js +7 -0
  271. package/www/browser/assets/fill/medicine-box.svg +1 -0
  272. package/www/browser/assets/fill/medium-circle.js +7 -0
  273. package/www/browser/assets/fill/medium-circle.svg +1 -0
  274. package/www/browser/assets/fill/medium-square.js +7 -0
  275. package/www/browser/assets/fill/medium-square.svg +1 -0
  276. package/www/browser/assets/fill/meh.js +7 -0
  277. package/www/browser/assets/fill/meh.svg +1 -0
  278. package/www/browser/assets/fill/merge.js +7 -0
  279. package/www/browser/assets/fill/merge.svg +1 -0
  280. package/www/browser/assets/fill/message.js +7 -0
  281. package/www/browser/assets/fill/message.svg +1 -0
  282. package/www/browser/assets/fill/minus-circle.js +7 -0
  283. package/www/browser/assets/fill/minus-circle.svg +1 -0
  284. package/www/browser/assets/fill/minus-square.js +7 -0
  285. package/www/browser/assets/fill/minus-square.svg +1 -0
  286. package/www/browser/assets/fill/mobile.js +7 -0
  287. package/www/browser/assets/fill/mobile.svg +1 -0
  288. package/www/browser/assets/fill/money-collect.js +7 -0
  289. package/www/browser/assets/fill/money-collect.svg +1 -0
  290. package/www/browser/assets/fill/moon.js +7 -0
  291. package/www/browser/assets/fill/moon.svg +1 -0
  292. package/www/browser/assets/fill/muted.js +7 -0
  293. package/www/browser/assets/fill/muted.svg +1 -0
  294. package/www/browser/assets/fill/notification.js +7 -0
  295. package/www/browser/assets/fill/notification.svg +1 -0
  296. package/www/browser/assets/fill/open-a-i.js +7 -0
  297. package/www/browser/assets/fill/open-a-i.svg +1 -0
  298. package/www/browser/assets/fill/pause-circle.js +7 -0
  299. package/www/browser/assets/fill/pause-circle.svg +1 -0
  300. package/www/browser/assets/fill/pay-circle.js +7 -0
  301. package/www/browser/assets/fill/pay-circle.svg +1 -0
  302. package/www/browser/assets/fill/phone.js +7 -0
  303. package/www/browser/assets/fill/phone.svg +1 -0
  304. package/www/browser/assets/fill/picture.js +7 -0
  305. package/www/browser/assets/fill/picture.svg +1 -0
  306. package/www/browser/assets/fill/pie-chart.js +7 -0
  307. package/www/browser/assets/fill/pie-chart.svg +1 -0
  308. package/www/browser/assets/fill/pinterest.js +7 -0
  309. package/www/browser/assets/fill/pinterest.svg +1 -0
  310. package/www/browser/assets/fill/play-circle.js +7 -0
  311. package/www/browser/assets/fill/play-circle.svg +1 -0
  312. package/www/browser/assets/fill/play-square.js +7 -0
  313. package/www/browser/assets/fill/play-square.svg +1 -0
  314. package/www/browser/assets/fill/plus-circle.js +7 -0
  315. package/www/browser/assets/fill/plus-circle.svg +1 -0
  316. package/www/browser/assets/fill/plus-square.js +7 -0
  317. package/www/browser/assets/fill/plus-square.svg +1 -0
  318. package/www/browser/assets/fill/pound-circle.js +7 -0
  319. package/www/browser/assets/fill/pound-circle.svg +1 -0
  320. package/www/browser/assets/fill/printer.js +7 -0
  321. package/www/browser/assets/fill/printer.svg +1 -0
  322. package/www/browser/assets/fill/product.js +7 -0
  323. package/www/browser/assets/fill/product.svg +1 -0
  324. package/www/browser/assets/fill/profile.js +7 -0
  325. package/www/browser/assets/fill/profile.svg +1 -0
  326. package/www/browser/assets/fill/project.js +7 -0
  327. package/www/browser/assets/fill/project.svg +1 -0
  328. package/www/browser/assets/fill/property-safety.js +7 -0
  329. package/www/browser/assets/fill/property-safety.svg +1 -0
  330. package/www/browser/assets/fill/pushpin.js +7 -0
  331. package/www/browser/assets/fill/pushpin.svg +1 -0
  332. package/www/browser/assets/fill/qq-circle.js +7 -0
  333. package/www/browser/assets/fill/qq-circle.svg +1 -0
  334. package/www/browser/assets/fill/qq-square.js +7 -0
  335. package/www/browser/assets/fill/qq-square.svg +1 -0
  336. package/www/browser/assets/fill/question-circle.js +7 -0
  337. package/www/browser/assets/fill/question-circle.svg +1 -0
  338. package/www/browser/assets/fill/read.js +7 -0
  339. package/www/browser/assets/fill/read.svg +1 -0
  340. package/www/browser/assets/fill/reconciliation.js +7 -0
  341. package/www/browser/assets/fill/reconciliation.svg +1 -0
  342. package/www/browser/assets/fill/red-envelope.js +7 -0
  343. package/www/browser/assets/fill/red-envelope.svg +1 -0
  344. package/www/browser/assets/fill/reddit-circle.js +7 -0
  345. package/www/browser/assets/fill/reddit-circle.svg +1 -0
  346. package/www/browser/assets/fill/reddit-square.js +7 -0
  347. package/www/browser/assets/fill/reddit-square.svg +1 -0
  348. package/www/browser/assets/fill/rest.js +7 -0
  349. package/www/browser/assets/fill/rest.svg +1 -0
  350. package/www/browser/assets/fill/right-circle.js +7 -0
  351. package/www/browser/assets/fill/right-circle.svg +1 -0
  352. package/www/browser/assets/fill/right-square.js +7 -0
  353. package/www/browser/assets/fill/right-square.svg +1 -0
  354. package/www/browser/assets/fill/robot.js +7 -0
  355. package/www/browser/assets/fill/robot.svg +1 -0
  356. package/www/browser/assets/fill/rocket.js +7 -0
  357. package/www/browser/assets/fill/rocket.svg +1 -0
  358. package/www/browser/assets/fill/safety-certificate.js +7 -0
  359. package/www/browser/assets/fill/safety-certificate.svg +1 -0
  360. package/www/browser/assets/fill/save.js +7 -0
  361. package/www/browser/assets/fill/save.svg +1 -0
  362. package/www/browser/assets/fill/schedule.js +7 -0
  363. package/www/browser/assets/fill/schedule.svg +1 -0
  364. package/www/browser/assets/fill/security-scan.js +7 -0
  365. package/www/browser/assets/fill/security-scan.svg +1 -0
  366. package/www/browser/assets/fill/setting.js +7 -0
  367. package/www/browser/assets/fill/setting.svg +1 -0
  368. package/www/browser/assets/fill/shop.js +7 -0
  369. package/www/browser/assets/fill/shop.svg +1 -0
  370. package/www/browser/assets/fill/shopping.js +7 -0
  371. package/www/browser/assets/fill/shopping.svg +1 -0
  372. package/www/browser/assets/fill/signal.js +7 -0
  373. package/www/browser/assets/fill/signal.svg +1 -0
  374. package/www/browser/assets/fill/signature.js +7 -0
  375. package/www/browser/assets/fill/signature.svg +1 -0
  376. package/www/browser/assets/fill/sketch-circle.js +7 -0
  377. package/www/browser/assets/fill/sketch-circle.svg +1 -0
  378. package/www/browser/assets/fill/sketch-square.js +7 -0
  379. package/www/browser/assets/fill/sketch-square.svg +1 -0
  380. package/www/browser/assets/fill/skin.js +7 -0
  381. package/www/browser/assets/fill/skin.svg +1 -0
  382. package/www/browser/assets/fill/skype.js +7 -0
  383. package/www/browser/assets/fill/skype.svg +1 -0
  384. package/www/browser/assets/fill/slack-circle.js +7 -0
  385. package/www/browser/assets/fill/slack-circle.svg +1 -0
  386. package/www/browser/assets/fill/slack-square.js +7 -0
  387. package/www/browser/assets/fill/slack-square.svg +1 -0
  388. package/www/browser/assets/fill/sliders.js +7 -0
  389. package/www/browser/assets/fill/sliders.svg +1 -0
  390. package/www/browser/assets/fill/smile.js +7 -0
  391. package/www/browser/assets/fill/smile.svg +1 -0
  392. package/www/browser/assets/fill/snippets.js +7 -0
  393. package/www/browser/assets/fill/snippets.svg +1 -0
  394. package/www/browser/assets/fill/sound.js +7 -0
  395. package/www/browser/assets/fill/sound.svg +1 -0
  396. package/www/browser/assets/fill/spotify.js +7 -0
  397. package/www/browser/assets/fill/spotify.svg +1 -0
  398. package/www/browser/assets/fill/star.js +7 -0
  399. package/www/browser/assets/fill/star.svg +1 -0
  400. package/www/browser/assets/fill/step-backward.js +7 -0
  401. package/www/browser/assets/fill/step-backward.svg +1 -0
  402. package/www/browser/assets/fill/step-forward.js +7 -0
  403. package/www/browser/assets/fill/step-forward.svg +1 -0
  404. package/www/browser/assets/fill/stop.js +7 -0
  405. package/www/browser/assets/fill/stop.svg +1 -0
  406. package/www/browser/assets/fill/sun.js +7 -0
  407. package/www/browser/assets/fill/sun.svg +1 -0
  408. package/www/browser/assets/fill/switcher.js +7 -0
  409. package/www/browser/assets/fill/switcher.svg +1 -0
  410. package/www/browser/assets/fill/tablet.js +7 -0
  411. package/www/browser/assets/fill/tablet.svg +1 -0
  412. package/www/browser/assets/fill/tag.js +7 -0
  413. package/www/browser/assets/fill/tag.svg +1 -0
  414. package/www/browser/assets/fill/tags.js +7 -0
  415. package/www/browser/assets/fill/tags.svg +1 -0
  416. package/www/browser/assets/fill/taobao-circle.js +7 -0
  417. package/www/browser/assets/fill/taobao-circle.svg +1 -0
  418. package/www/browser/assets/fill/taobao-square.js +7 -0
  419. package/www/browser/assets/fill/taobao-square.svg +1 -0
  420. package/www/browser/assets/fill/thunderbolt.js +7 -0
  421. package/www/browser/assets/fill/thunderbolt.svg +1 -0
  422. package/www/browser/assets/fill/tik-tok.js +7 -0
  423. package/www/browser/assets/fill/tik-tok.svg +1 -0
  424. package/www/browser/assets/fill/tool.js +7 -0
  425. package/www/browser/assets/fill/tool.svg +1 -0
  426. package/www/browser/assets/fill/trademark-circle.js +7 -0
  427. package/www/browser/assets/fill/trademark-circle.svg +1 -0
  428. package/www/browser/assets/fill/trophy.js +7 -0
  429. package/www/browser/assets/fill/trophy.svg +1 -0
  430. package/www/browser/assets/fill/truck.js +7 -0
  431. package/www/browser/assets/fill/truck.svg +1 -0
  432. package/www/browser/assets/fill/twitch.js +7 -0
  433. package/www/browser/assets/fill/twitch.svg +1 -0
  434. package/www/browser/assets/fill/twitter-circle.js +7 -0
  435. package/www/browser/assets/fill/twitter-circle.svg +1 -0
  436. package/www/browser/assets/fill/twitter-square.js +7 -0
  437. package/www/browser/assets/fill/twitter-square.svg +1 -0
  438. package/www/browser/assets/fill/unlock.js +7 -0
  439. package/www/browser/assets/fill/unlock.svg +1 -0
  440. package/www/browser/assets/fill/up-circle.js +7 -0
  441. package/www/browser/assets/fill/up-circle.svg +1 -0
  442. package/www/browser/assets/fill/up-square.js +7 -0
  443. package/www/browser/assets/fill/up-square.svg +1 -0
  444. package/www/browser/assets/fill/usb.js +7 -0
  445. package/www/browser/assets/fill/usb.svg +1 -0
  446. package/www/browser/assets/fill/video-camera.js +7 -0
  447. package/www/browser/assets/fill/video-camera.svg +1 -0
  448. package/www/browser/assets/fill/wallet.js +7 -0
  449. package/www/browser/assets/fill/wallet.svg +1 -0
  450. package/www/browser/assets/fill/warning.js +7 -0
  451. package/www/browser/assets/fill/warning.svg +1 -0
  452. package/www/browser/assets/fill/wechat-work.js +7 -0
  453. package/www/browser/assets/fill/wechat-work.svg +1 -0
  454. package/www/browser/assets/fill/wechat.js +7 -0
  455. package/www/browser/assets/fill/wechat.svg +1 -0
  456. package/www/browser/assets/fill/weibo-circle.js +7 -0
  457. package/www/browser/assets/fill/weibo-circle.svg +1 -0
  458. package/www/browser/assets/fill/weibo-square.js +7 -0
  459. package/www/browser/assets/fill/weibo-square.svg +1 -0
  460. package/www/browser/assets/fill/windows.js +7 -0
  461. package/www/browser/assets/fill/windows.svg +1 -0
  462. package/www/browser/assets/fill/x.js +7 -0
  463. package/www/browser/assets/fill/x.svg +1 -0
  464. package/www/browser/assets/fill/yahoo.js +7 -0
  465. package/www/browser/assets/fill/yahoo.svg +1 -0
  466. package/www/browser/assets/fill/youtube.js +7 -0
  467. package/www/browser/assets/fill/youtube.svg +1 -0
  468. package/www/browser/assets/fill/yuque.js +7 -0
  469. package/www/browser/assets/fill/yuque.svg +1 -0
  470. package/www/browser/assets/fill/zhihu-circle.js +7 -0
  471. package/www/browser/assets/fill/zhihu-circle.svg +1 -0
  472. package/www/browser/assets/fill/zhihu-square.js +7 -0
  473. package/www/browser/assets/fill/zhihu-square.svg +1 -0
  474. package/www/browser/assets/outline/.gitkeep +0 -0
  475. package/www/browser/assets/outline/account-book.js +7 -0
  476. package/www/browser/assets/outline/account-book.svg +1 -0
  477. package/www/browser/assets/outline/aim.js +7 -0
  478. package/www/browser/assets/outline/aim.svg +1 -0
  479. package/www/browser/assets/outline/alert.js +7 -0
  480. package/www/browser/assets/outline/alert.svg +1 -0
  481. package/www/browser/assets/outline/alibaba.js +7 -0
  482. package/www/browser/assets/outline/alibaba.svg +1 -0
  483. package/www/browser/assets/outline/align-center.js +7 -0
  484. package/www/browser/assets/outline/align-center.svg +1 -0
  485. package/www/browser/assets/outline/align-left.js +7 -0
  486. package/www/browser/assets/outline/align-left.svg +1 -0
  487. package/www/browser/assets/outline/align-right.js +7 -0
  488. package/www/browser/assets/outline/align-right.svg +1 -0
  489. package/www/browser/assets/outline/alipay-circle.js +7 -0
  490. package/www/browser/assets/outline/alipay-circle.svg +1 -0
  491. package/www/browser/assets/outline/alipay.js +7 -0
  492. package/www/browser/assets/outline/alipay.svg +1 -0
  493. package/www/browser/assets/outline/aliwangwang.js +7 -0
  494. package/www/browser/assets/outline/aliwangwang.svg +1 -0
  495. package/www/browser/assets/outline/aliyun.js +7 -0
  496. package/www/browser/assets/outline/aliyun.svg +1 -0
  497. package/www/browser/assets/outline/amazon.js +7 -0
  498. package/www/browser/assets/outline/amazon.svg +1 -0
  499. package/www/browser/assets/outline/android.js +7 -0
  500. package/www/browser/assets/outline/android.svg +1 -0
  501. package/www/browser/assets/outline/ant-cloud.js +7 -0
  502. package/www/browser/assets/outline/ant-cloud.svg +1 -0
  503. package/www/browser/assets/outline/ant-design.js +7 -0
  504. package/www/browser/assets/outline/ant-design.svg +1 -0
  505. package/www/browser/assets/outline/apartment.js +7 -0
  506. package/www/browser/assets/outline/apartment.svg +1 -0
  507. package/www/browser/assets/outline/api.js +7 -0
  508. package/www/browser/assets/outline/api.svg +1 -0
  509. package/www/browser/assets/outline/apple.js +7 -0
  510. package/www/browser/assets/outline/apple.svg +1 -0
  511. package/www/browser/assets/outline/appstore-add.js +7 -0
  512. package/www/browser/assets/outline/appstore-add.svg +1 -0
  513. package/www/browser/assets/outline/appstore.js +7 -0
  514. package/www/browser/assets/outline/appstore.svg +1 -0
  515. package/www/browser/assets/outline/area-chart.js +7 -0
  516. package/www/browser/assets/outline/area-chart.svg +1 -0
  517. package/www/browser/assets/outline/arrow-down.js +7 -0
  518. package/www/browser/assets/outline/arrow-down.svg +1 -0
  519. package/www/browser/assets/outline/arrow-left.js +7 -0
  520. package/www/browser/assets/outline/arrow-left.svg +1 -0
  521. package/www/browser/assets/outline/arrow-right.js +7 -0
  522. package/www/browser/assets/outline/arrow-right.svg +1 -0
  523. package/www/browser/assets/outline/arrow-up.js +7 -0
  524. package/www/browser/assets/outline/arrow-up.svg +1 -0
  525. package/www/browser/assets/outline/arrows-alt.js +7 -0
  526. package/www/browser/assets/outline/arrows-alt.svg +1 -0
  527. package/www/browser/assets/outline/audio-muted.js +7 -0
  528. package/www/browser/assets/outline/audio-muted.svg +1 -0
  529. package/www/browser/assets/outline/audio.js +7 -0
  530. package/www/browser/assets/outline/audio.svg +1 -0
  531. package/www/browser/assets/outline/audit.js +7 -0
  532. package/www/browser/assets/outline/audit.svg +1 -0
  533. package/www/browser/assets/outline/backward.js +7 -0
  534. package/www/browser/assets/outline/backward.svg +1 -0
  535. package/www/browser/assets/outline/baidu.js +7 -0
  536. package/www/browser/assets/outline/baidu.svg +1 -0
  537. package/www/browser/assets/outline/bank.js +7 -0
  538. package/www/browser/assets/outline/bank.svg +1 -0
  539. package/www/browser/assets/outline/bar-chart.js +7 -0
  540. package/www/browser/assets/outline/bar-chart.svg +1 -0
  541. package/www/browser/assets/outline/barcode.js +7 -0
  542. package/www/browser/assets/outline/barcode.svg +1 -0
  543. package/www/browser/assets/outline/bars.js +7 -0
  544. package/www/browser/assets/outline/bars.svg +1 -0
  545. package/www/browser/assets/outline/behance-square.js +7 -0
  546. package/www/browser/assets/outline/behance-square.svg +1 -0
  547. package/www/browser/assets/outline/behance.js +7 -0
  548. package/www/browser/assets/outline/behance.svg +1 -0
  549. package/www/browser/assets/outline/bell.js +7 -0
  550. package/www/browser/assets/outline/bell.svg +1 -0
  551. package/www/browser/assets/outline/bg-colors.js +7 -0
  552. package/www/browser/assets/outline/bg-colors.svg +1 -0
  553. package/www/browser/assets/outline/bilibili.js +7 -0
  554. package/www/browser/assets/outline/bilibili.svg +1 -0
  555. package/www/browser/assets/outline/block.js +7 -0
  556. package/www/browser/assets/outline/block.svg +1 -0
  557. package/www/browser/assets/outline/bold.js +7 -0
  558. package/www/browser/assets/outline/bold.svg +1 -0
  559. package/www/browser/assets/outline/book.js +7 -0
  560. package/www/browser/assets/outline/book.svg +1 -0
  561. package/www/browser/assets/outline/border-bottom.js +7 -0
  562. package/www/browser/assets/outline/border-bottom.svg +1 -0
  563. package/www/browser/assets/outline/border-horizontal.js +7 -0
  564. package/www/browser/assets/outline/border-horizontal.svg +1 -0
  565. package/www/browser/assets/outline/border-inner.js +7 -0
  566. package/www/browser/assets/outline/border-inner.svg +1 -0
  567. package/www/browser/assets/outline/border-left.js +7 -0
  568. package/www/browser/assets/outline/border-left.svg +1 -0
  569. package/www/browser/assets/outline/border-outer.js +7 -0
  570. package/www/browser/assets/outline/border-outer.svg +1 -0
  571. package/www/browser/assets/outline/border-right.js +7 -0
  572. package/www/browser/assets/outline/border-right.svg +1 -0
  573. package/www/browser/assets/outline/border-top.js +7 -0
  574. package/www/browser/assets/outline/border-top.svg +1 -0
  575. package/www/browser/assets/outline/border-verticle.js +7 -0
  576. package/www/browser/assets/outline/border-verticle.svg +1 -0
  577. package/www/browser/assets/outline/border.js +7 -0
  578. package/www/browser/assets/outline/border.svg +1 -0
  579. package/www/browser/assets/outline/borderless-table.js +7 -0
  580. package/www/browser/assets/outline/borderless-table.svg +1 -0
  581. package/www/browser/assets/outline/box-plot.js +7 -0
  582. package/www/browser/assets/outline/box-plot.svg +1 -0
  583. package/www/browser/assets/outline/branches.js +7 -0
  584. package/www/browser/assets/outline/branches.svg +1 -0
  585. package/www/browser/assets/outline/bug.js +7 -0
  586. package/www/browser/assets/outline/bug.svg +1 -0
  587. package/www/browser/assets/outline/build.js +7 -0
  588. package/www/browser/assets/outline/build.svg +1 -0
  589. package/www/browser/assets/outline/bulb.js +7 -0
  590. package/www/browser/assets/outline/bulb.svg +1 -0
  591. package/www/browser/assets/outline/calculator.js +7 -0
  592. package/www/browser/assets/outline/calculator.svg +1 -0
  593. package/www/browser/assets/outline/calendar.js +7 -0
  594. package/www/browser/assets/outline/calendar.svg +1 -0
  595. package/www/browser/assets/outline/camera.js +7 -0
  596. package/www/browser/assets/outline/camera.svg +1 -0
  597. package/www/browser/assets/outline/car.js +7 -0
  598. package/www/browser/assets/outline/car.svg +1 -0
  599. package/www/browser/assets/outline/caret-down.js +7 -0
  600. package/www/browser/assets/outline/caret-down.svg +1 -0
  601. package/www/browser/assets/outline/caret-left.js +7 -0
  602. package/www/browser/assets/outline/caret-left.svg +1 -0
  603. package/www/browser/assets/outline/caret-right.js +7 -0
  604. package/www/browser/assets/outline/caret-right.svg +1 -0
  605. package/www/browser/assets/outline/caret-up.js +7 -0
  606. package/www/browser/assets/outline/caret-up.svg +1 -0
  607. package/www/browser/assets/outline/carry-out.js +7 -0
  608. package/www/browser/assets/outline/carry-out.svg +1 -0
  609. package/www/browser/assets/outline/check-circle.js +7 -0
  610. package/www/browser/assets/outline/check-circle.svg +1 -0
  611. package/www/browser/assets/outline/check-square.js +7 -0
  612. package/www/browser/assets/outline/check-square.svg +1 -0
  613. package/www/browser/assets/outline/check.js +7 -0
  614. package/www/browser/assets/outline/check.svg +1 -0
  615. package/www/browser/assets/outline/chrome.js +7 -0
  616. package/www/browser/assets/outline/chrome.svg +1 -0
  617. package/www/browser/assets/outline/ci-circle.js +7 -0
  618. package/www/browser/assets/outline/ci-circle.svg +1 -0
  619. package/www/browser/assets/outline/ci.js +7 -0
  620. package/www/browser/assets/outline/ci.svg +1 -0
  621. package/www/browser/assets/outline/clear.js +7 -0
  622. package/www/browser/assets/outline/clear.svg +1 -0
  623. package/www/browser/assets/outline/clock-circle.js +7 -0
  624. package/www/browser/assets/outline/clock-circle.svg +1 -0
  625. package/www/browser/assets/outline/close-circle.js +7 -0
  626. package/www/browser/assets/outline/close-circle.svg +1 -0
  627. package/www/browser/assets/outline/close-square.js +7 -0
  628. package/www/browser/assets/outline/close-square.svg +1 -0
  629. package/www/browser/assets/outline/close.js +7 -0
  630. package/www/browser/assets/outline/close.svg +1 -0
  631. package/www/browser/assets/outline/cloud-download.js +7 -0
  632. package/www/browser/assets/outline/cloud-download.svg +1 -0
  633. package/www/browser/assets/outline/cloud-server.js +7 -0
  634. package/www/browser/assets/outline/cloud-server.svg +1 -0
  635. package/www/browser/assets/outline/cloud-sync.js +7 -0
  636. package/www/browser/assets/outline/cloud-sync.svg +1 -0
  637. package/www/browser/assets/outline/cloud-upload.js +7 -0
  638. package/www/browser/assets/outline/cloud-upload.svg +1 -0
  639. package/www/browser/assets/outline/cloud.js +7 -0
  640. package/www/browser/assets/outline/cloud.svg +1 -0
  641. package/www/browser/assets/outline/cluster.js +7 -0
  642. package/www/browser/assets/outline/cluster.svg +1 -0
  643. package/www/browser/assets/outline/code-sandbox.js +7 -0
  644. package/www/browser/assets/outline/code-sandbox.svg +1 -0
  645. package/www/browser/assets/outline/code.js +7 -0
  646. package/www/browser/assets/outline/code.svg +1 -0
  647. package/www/browser/assets/outline/codepen-circle.js +7 -0
  648. package/www/browser/assets/outline/codepen-circle.svg +1 -0
  649. package/www/browser/assets/outline/codepen.js +7 -0
  650. package/www/browser/assets/outline/codepen.svg +1 -0
  651. package/www/browser/assets/outline/coffee.js +7 -0
  652. package/www/browser/assets/outline/coffee.svg +1 -0
  653. package/www/browser/assets/outline/column-height.js +7 -0
  654. package/www/browser/assets/outline/column-height.svg +1 -0
  655. package/www/browser/assets/outline/column-width.js +7 -0
  656. package/www/browser/assets/outline/column-width.svg +1 -0
  657. package/www/browser/assets/outline/comment.js +7 -0
  658. package/www/browser/assets/outline/comment.svg +1 -0
  659. package/www/browser/assets/outline/compass.js +7 -0
  660. package/www/browser/assets/outline/compass.svg +1 -0
  661. package/www/browser/assets/outline/compress.js +7 -0
  662. package/www/browser/assets/outline/compress.svg +1 -0
  663. package/www/browser/assets/outline/console-sql.js +7 -0
  664. package/www/browser/assets/outline/console-sql.svg +1 -0
  665. package/www/browser/assets/outline/contacts.js +7 -0
  666. package/www/browser/assets/outline/contacts.svg +1 -0
  667. package/www/browser/assets/outline/container.js +7 -0
  668. package/www/browser/assets/outline/container.svg +1 -0
  669. package/www/browser/assets/outline/control.js +7 -0
  670. package/www/browser/assets/outline/control.svg +1 -0
  671. package/www/browser/assets/outline/copy.js +7 -0
  672. package/www/browser/assets/outline/copy.svg +1 -0
  673. package/www/browser/assets/outline/copyright-circle.js +7 -0
  674. package/www/browser/assets/outline/copyright-circle.svg +1 -0
  675. package/www/browser/assets/outline/copyright.js +7 -0
  676. package/www/browser/assets/outline/copyright.svg +1 -0
  677. package/www/browser/assets/outline/credit-card.js +7 -0
  678. package/www/browser/assets/outline/credit-card.svg +1 -0
  679. package/www/browser/assets/outline/crown.js +7 -0
  680. package/www/browser/assets/outline/crown.svg +1 -0
  681. package/www/browser/assets/outline/customer-service.js +7 -0
  682. package/www/browser/assets/outline/customer-service.svg +1 -0
  683. package/www/browser/assets/outline/dash.js +7 -0
  684. package/www/browser/assets/outline/dash.svg +1 -0
  685. package/www/browser/assets/outline/dashboard.js +7 -0
  686. package/www/browser/assets/outline/dashboard.svg +1 -0
  687. package/www/browser/assets/outline/database.js +7 -0
  688. package/www/browser/assets/outline/database.svg +1 -0
  689. package/www/browser/assets/outline/delete-column.js +7 -0
  690. package/www/browser/assets/outline/delete-column.svg +1 -0
  691. package/www/browser/assets/outline/delete-row.js +7 -0
  692. package/www/browser/assets/outline/delete-row.svg +1 -0
  693. package/www/browser/assets/outline/delete.js +7 -0
  694. package/www/browser/assets/outline/delete.svg +1 -0
  695. package/www/browser/assets/outline/delivered-procedure.js +7 -0
  696. package/www/browser/assets/outline/delivered-procedure.svg +1 -0
  697. package/www/browser/assets/outline/deployment-unit.js +7 -0
  698. package/www/browser/assets/outline/deployment-unit.svg +1 -0
  699. package/www/browser/assets/outline/desktop.js +7 -0
  700. package/www/browser/assets/outline/desktop.svg +1 -0
  701. package/www/browser/assets/outline/diff.js +7 -0
  702. package/www/browser/assets/outline/diff.svg +1 -0
  703. package/www/browser/assets/outline/dingding.js +7 -0
  704. package/www/browser/assets/outline/dingding.svg +1 -0
  705. package/www/browser/assets/outline/dingtalk.js +7 -0
  706. package/www/browser/assets/outline/dingtalk.svg +1 -0
  707. package/www/browser/assets/outline/disconnect.js +7 -0
  708. package/www/browser/assets/outline/disconnect.svg +1 -0
  709. package/www/browser/assets/outline/discord.js +7 -0
  710. package/www/browser/assets/outline/discord.svg +1 -0
  711. package/www/browser/assets/outline/dislike.js +7 -0
  712. package/www/browser/assets/outline/dislike.svg +1 -0
  713. package/www/browser/assets/outline/docker.js +7 -0
  714. package/www/browser/assets/outline/docker.svg +1 -0
  715. package/www/browser/assets/outline/dollar-circle.js +7 -0
  716. package/www/browser/assets/outline/dollar-circle.svg +1 -0
  717. package/www/browser/assets/outline/dollar.js +7 -0
  718. package/www/browser/assets/outline/dollar.svg +1 -0
  719. package/www/browser/assets/outline/dot-chart.js +7 -0
  720. package/www/browser/assets/outline/dot-chart.svg +1 -0
  721. package/www/browser/assets/outline/dot-net.js +7 -0
  722. package/www/browser/assets/outline/dot-net.svg +1 -0
  723. package/www/browser/assets/outline/double-left.js +7 -0
  724. package/www/browser/assets/outline/double-left.svg +1 -0
  725. package/www/browser/assets/outline/double-right.js +7 -0
  726. package/www/browser/assets/outline/double-right.svg +1 -0
  727. package/www/browser/assets/outline/down-circle.js +7 -0
  728. package/www/browser/assets/outline/down-circle.svg +1 -0
  729. package/www/browser/assets/outline/down-square.js +7 -0
  730. package/www/browser/assets/outline/down-square.svg +1 -0
  731. package/www/browser/assets/outline/down.js +7 -0
  732. package/www/browser/assets/outline/down.svg +1 -0
  733. package/www/browser/assets/outline/download.js +7 -0
  734. package/www/browser/assets/outline/download.svg +1 -0
  735. package/www/browser/assets/outline/drag.js +7 -0
  736. package/www/browser/assets/outline/drag.svg +1 -0
  737. package/www/browser/assets/outline/dribbble-square.js +7 -0
  738. package/www/browser/assets/outline/dribbble-square.svg +1 -0
  739. package/www/browser/assets/outline/dribbble.js +7 -0
  740. package/www/browser/assets/outline/dribbble.svg +1 -0
  741. package/www/browser/assets/outline/dropbox.js +7 -0
  742. package/www/browser/assets/outline/dropbox.svg +1 -0
  743. package/www/browser/assets/outline/edit.js +7 -0
  744. package/www/browser/assets/outline/edit.svg +1 -0
  745. package/www/browser/assets/outline/ellipsis.js +7 -0
  746. package/www/browser/assets/outline/ellipsis.svg +1 -0
  747. package/www/browser/assets/outline/enter.js +7 -0
  748. package/www/browser/assets/outline/enter.svg +1 -0
  749. package/www/browser/assets/outline/environment.js +7 -0
  750. package/www/browser/assets/outline/environment.svg +1 -0
  751. package/www/browser/assets/outline/euro-circle.js +7 -0
  752. package/www/browser/assets/outline/euro-circle.svg +1 -0
  753. package/www/browser/assets/outline/euro.js +7 -0
  754. package/www/browser/assets/outline/euro.svg +1 -0
  755. package/www/browser/assets/outline/exception.js +7 -0
  756. package/www/browser/assets/outline/exception.svg +1 -0
  757. package/www/browser/assets/outline/exclamation-circle.js +7 -0
  758. package/www/browser/assets/outline/exclamation-circle.svg +1 -0
  759. package/www/browser/assets/outline/exclamation.js +7 -0
  760. package/www/browser/assets/outline/exclamation.svg +1 -0
  761. package/www/browser/assets/outline/expand-alt.js +7 -0
  762. package/www/browser/assets/outline/expand-alt.svg +1 -0
  763. package/www/browser/assets/outline/expand.js +7 -0
  764. package/www/browser/assets/outline/expand.svg +1 -0
  765. package/www/browser/assets/outline/experiment.js +7 -0
  766. package/www/browser/assets/outline/experiment.svg +1 -0
  767. package/www/browser/assets/outline/export.js +7 -0
  768. package/www/browser/assets/outline/export.svg +1 -0
  769. package/www/browser/assets/outline/eye-invisible.js +7 -0
  770. package/www/browser/assets/outline/eye-invisible.svg +1 -0
  771. package/www/browser/assets/outline/eye.js +7 -0
  772. package/www/browser/assets/outline/eye.svg +1 -0
  773. package/www/browser/assets/outline/facebook.js +7 -0
  774. package/www/browser/assets/outline/facebook.svg +1 -0
  775. package/www/browser/assets/outline/fall.js +7 -0
  776. package/www/browser/assets/outline/fall.svg +1 -0
  777. package/www/browser/assets/outline/fast-backward.js +7 -0
  778. package/www/browser/assets/outline/fast-backward.svg +1 -0
  779. package/www/browser/assets/outline/fast-forward.js +7 -0
  780. package/www/browser/assets/outline/fast-forward.svg +1 -0
  781. package/www/browser/assets/outline/field-binary.js +7 -0
  782. package/www/browser/assets/outline/field-binary.svg +1 -0
  783. package/www/browser/assets/outline/field-number.js +7 -0
  784. package/www/browser/assets/outline/field-number.svg +1 -0
  785. package/www/browser/assets/outline/field-string.js +7 -0
  786. package/www/browser/assets/outline/field-string.svg +1 -0
  787. package/www/browser/assets/outline/field-time.js +7 -0
  788. package/www/browser/assets/outline/field-time.svg +1 -0
  789. package/www/browser/assets/outline/file-add.js +7 -0
  790. package/www/browser/assets/outline/file-add.svg +1 -0
  791. package/www/browser/assets/outline/file-done.js +7 -0
  792. package/www/browser/assets/outline/file-done.svg +1 -0
  793. package/www/browser/assets/outline/file-excel.js +7 -0
  794. package/www/browser/assets/outline/file-excel.svg +1 -0
  795. package/www/browser/assets/outline/file-exclamation.js +7 -0
  796. package/www/browser/assets/outline/file-exclamation.svg +1 -0
  797. package/www/browser/assets/outline/file-gif.js +7 -0
  798. package/www/browser/assets/outline/file-gif.svg +1 -0
  799. package/www/browser/assets/outline/file-image.js +7 -0
  800. package/www/browser/assets/outline/file-image.svg +1 -0
  801. package/www/browser/assets/outline/file-jpg.js +7 -0
  802. package/www/browser/assets/outline/file-jpg.svg +1 -0
  803. package/www/browser/assets/outline/file-markdown.js +7 -0
  804. package/www/browser/assets/outline/file-markdown.svg +1 -0
  805. package/www/browser/assets/outline/file-pdf.js +7 -0
  806. package/www/browser/assets/outline/file-pdf.svg +1 -0
  807. package/www/browser/assets/outline/file-ppt.js +7 -0
  808. package/www/browser/assets/outline/file-ppt.svg +1 -0
  809. package/www/browser/assets/outline/file-protect.js +7 -0
  810. package/www/browser/assets/outline/file-protect.svg +1 -0
  811. package/www/browser/assets/outline/file-search.js +7 -0
  812. package/www/browser/assets/outline/file-search.svg +1 -0
  813. package/www/browser/assets/outline/file-sync.js +7 -0
  814. package/www/browser/assets/outline/file-sync.svg +1 -0
  815. package/www/browser/assets/outline/file-text.js +7 -0
  816. package/www/browser/assets/outline/file-text.svg +1 -0
  817. package/www/browser/assets/outline/file-unknown.js +7 -0
  818. package/www/browser/assets/outline/file-unknown.svg +1 -0
  819. package/www/browser/assets/outline/file-word.js +7 -0
  820. package/www/browser/assets/outline/file-word.svg +1 -0
  821. package/www/browser/assets/outline/file-zip.js +7 -0
  822. package/www/browser/assets/outline/file-zip.svg +1 -0
  823. package/www/browser/assets/outline/file.js +7 -0
  824. package/www/browser/assets/outline/file.svg +1 -0
  825. package/www/browser/assets/outline/filter.js +7 -0
  826. package/www/browser/assets/outline/filter.svg +1 -0
  827. package/www/browser/assets/outline/fire.js +7 -0
  828. package/www/browser/assets/outline/fire.svg +1 -0
  829. package/www/browser/assets/outline/flag.js +7 -0
  830. package/www/browser/assets/outline/flag.svg +1 -0
  831. package/www/browser/assets/outline/folder-add.js +7 -0
  832. package/www/browser/assets/outline/folder-add.svg +1 -0
  833. package/www/browser/assets/outline/folder-open.js +7 -0
  834. package/www/browser/assets/outline/folder-open.svg +1 -0
  835. package/www/browser/assets/outline/folder-view.js +7 -0
  836. package/www/browser/assets/outline/folder-view.svg +1 -0
  837. package/www/browser/assets/outline/folder.js +7 -0
  838. package/www/browser/assets/outline/folder.svg +1 -0
  839. package/www/browser/assets/outline/font-colors.js +7 -0
  840. package/www/browser/assets/outline/font-colors.svg +1 -0
  841. package/www/browser/assets/outline/font-size.js +7 -0
  842. package/www/browser/assets/outline/font-size.svg +1 -0
  843. package/www/browser/assets/outline/fork.js +7 -0
  844. package/www/browser/assets/outline/fork.svg +1 -0
  845. package/www/browser/assets/outline/form.js +7 -0
  846. package/www/browser/assets/outline/form.svg +1 -0
  847. package/www/browser/assets/outline/format-painter.js +7 -0
  848. package/www/browser/assets/outline/format-painter.svg +1 -0
  849. package/www/browser/assets/outline/forward.js +7 -0
  850. package/www/browser/assets/outline/forward.svg +1 -0
  851. package/www/browser/assets/outline/frown.js +7 -0
  852. package/www/browser/assets/outline/frown.svg +1 -0
  853. package/www/browser/assets/outline/fullscreen-exit.js +7 -0
  854. package/www/browser/assets/outline/fullscreen-exit.svg +1 -0
  855. package/www/browser/assets/outline/fullscreen.js +7 -0
  856. package/www/browser/assets/outline/fullscreen.svg +1 -0
  857. package/www/browser/assets/outline/function.js +7 -0
  858. package/www/browser/assets/outline/function.svg +1 -0
  859. package/www/browser/assets/outline/fund-projection-screen.js +7 -0
  860. package/www/browser/assets/outline/fund-projection-screen.svg +1 -0
  861. package/www/browser/assets/outline/fund-view.js +7 -0
  862. package/www/browser/assets/outline/fund-view.svg +1 -0
  863. package/www/browser/assets/outline/fund.js +7 -0
  864. package/www/browser/assets/outline/fund.svg +1 -0
  865. package/www/browser/assets/outline/funnel-plot.js +7 -0
  866. package/www/browser/assets/outline/funnel-plot.svg +1 -0
  867. package/www/browser/assets/outline/gateway.js +7 -0
  868. package/www/browser/assets/outline/gateway.svg +1 -0
  869. package/www/browser/assets/outline/gif.js +7 -0
  870. package/www/browser/assets/outline/gif.svg +1 -0
  871. package/www/browser/assets/outline/gift.js +7 -0
  872. package/www/browser/assets/outline/gift.svg +1 -0
  873. package/www/browser/assets/outline/github.js +7 -0
  874. package/www/browser/assets/outline/github.svg +1 -0
  875. package/www/browser/assets/outline/gitlab.js +7 -0
  876. package/www/browser/assets/outline/gitlab.svg +1 -0
  877. package/www/browser/assets/outline/global.js +7 -0
  878. package/www/browser/assets/outline/global.svg +1 -0
  879. package/www/browser/assets/outline/gold.js +7 -0
  880. package/www/browser/assets/outline/gold.svg +1 -0
  881. package/www/browser/assets/outline/google-plus.js +7 -0
  882. package/www/browser/assets/outline/google-plus.svg +1 -0
  883. package/www/browser/assets/outline/google.js +7 -0
  884. package/www/browser/assets/outline/google.svg +1 -0
  885. package/www/browser/assets/outline/group.js +7 -0
  886. package/www/browser/assets/outline/group.svg +1 -0
  887. package/www/browser/assets/outline/harmony-o-s.js +7 -0
  888. package/www/browser/assets/outline/harmony-o-s.svg +1 -0
  889. package/www/browser/assets/outline/hdd.js +7 -0
  890. package/www/browser/assets/outline/hdd.svg +1 -0
  891. package/www/browser/assets/outline/heart.js +7 -0
  892. package/www/browser/assets/outline/heart.svg +1 -0
  893. package/www/browser/assets/outline/heat-map.js +7 -0
  894. package/www/browser/assets/outline/heat-map.svg +1 -0
  895. package/www/browser/assets/outline/highlight.js +7 -0
  896. package/www/browser/assets/outline/highlight.svg +1 -0
  897. package/www/browser/assets/outline/history.js +7 -0
  898. package/www/browser/assets/outline/history.svg +1 -0
  899. package/www/browser/assets/outline/holder.js +7 -0
  900. package/www/browser/assets/outline/holder.svg +1 -0
  901. package/www/browser/assets/outline/home.js +7 -0
  902. package/www/browser/assets/outline/home.svg +1 -0
  903. package/www/browser/assets/outline/hourglass.js +7 -0
  904. package/www/browser/assets/outline/hourglass.svg +1 -0
  905. package/www/browser/assets/outline/html5.js +7 -0
  906. package/www/browser/assets/outline/html5.svg +1 -0
  907. package/www/browser/assets/outline/idcard.js +7 -0
  908. package/www/browser/assets/outline/idcard.svg +1 -0
  909. package/www/browser/assets/outline/ie.js +7 -0
  910. package/www/browser/assets/outline/ie.svg +1 -0
  911. package/www/browser/assets/outline/import.js +7 -0
  912. package/www/browser/assets/outline/import.svg +1 -0
  913. package/www/browser/assets/outline/inbox.js +7 -0
  914. package/www/browser/assets/outline/inbox.svg +1 -0
  915. package/www/browser/assets/outline/info-circle.js +7 -0
  916. package/www/browser/assets/outline/info-circle.svg +1 -0
  917. package/www/browser/assets/outline/info.js +7 -0
  918. package/www/browser/assets/outline/info.svg +1 -0
  919. package/www/browser/assets/outline/insert-row-above.js +7 -0
  920. package/www/browser/assets/outline/insert-row-above.svg +1 -0
  921. package/www/browser/assets/outline/insert-row-below.js +7 -0
  922. package/www/browser/assets/outline/insert-row-below.svg +1 -0
  923. package/www/browser/assets/outline/insert-row-left.js +7 -0
  924. package/www/browser/assets/outline/insert-row-left.svg +1 -0
  925. package/www/browser/assets/outline/insert-row-right.js +7 -0
  926. package/www/browser/assets/outline/insert-row-right.svg +1 -0
  927. package/www/browser/assets/outline/instagram.js +7 -0
  928. package/www/browser/assets/outline/instagram.svg +1 -0
  929. package/www/browser/assets/outline/insurance.js +7 -0
  930. package/www/browser/assets/outline/insurance.svg +1 -0
  931. package/www/browser/assets/outline/interaction.js +7 -0
  932. package/www/browser/assets/outline/interaction.svg +1 -0
  933. package/www/browser/assets/outline/issues-close.js +7 -0
  934. package/www/browser/assets/outline/issues-close.svg +1 -0
  935. package/www/browser/assets/outline/italic.js +7 -0
  936. package/www/browser/assets/outline/italic.svg +1 -0
  937. package/www/browser/assets/outline/java-script.js +7 -0
  938. package/www/browser/assets/outline/java-script.svg +1 -0
  939. package/www/browser/assets/outline/java.js +7 -0
  940. package/www/browser/assets/outline/java.svg +1 -0
  941. package/www/browser/assets/outline/key.js +7 -0
  942. package/www/browser/assets/outline/key.svg +1 -0
  943. package/www/browser/assets/outline/kubernetes.js +7 -0
  944. package/www/browser/assets/outline/kubernetes.svg +1 -0
  945. package/www/browser/assets/outline/laptop.js +7 -0
  946. package/www/browser/assets/outline/laptop.svg +1 -0
  947. package/www/browser/assets/outline/layout.js +7 -0
  948. package/www/browser/assets/outline/layout.svg +1 -0
  949. package/www/browser/assets/outline/left-circle.js +7 -0
  950. package/www/browser/assets/outline/left-circle.svg +1 -0
  951. package/www/browser/assets/outline/left-square.js +7 -0
  952. package/www/browser/assets/outline/left-square.svg +1 -0
  953. package/www/browser/assets/outline/left.js +7 -0
  954. package/www/browser/assets/outline/left.svg +1 -0
  955. package/www/browser/assets/outline/like.js +7 -0
  956. package/www/browser/assets/outline/like.svg +1 -0
  957. package/www/browser/assets/outline/line-chart.js +7 -0
  958. package/www/browser/assets/outline/line-chart.svg +1 -0
  959. package/www/browser/assets/outline/line-height.js +7 -0
  960. package/www/browser/assets/outline/line-height.svg +1 -0
  961. package/www/browser/assets/outline/line.js +7 -0
  962. package/www/browser/assets/outline/line.svg +1 -0
  963. package/www/browser/assets/outline/link.js +7 -0
  964. package/www/browser/assets/outline/link.svg +1 -0
  965. package/www/browser/assets/outline/linkedin.js +7 -0
  966. package/www/browser/assets/outline/linkedin.svg +1 -0
  967. package/www/browser/assets/outline/linux.js +7 -0
  968. package/www/browser/assets/outline/linux.svg +1 -0
  969. package/www/browser/assets/outline/loading-3-quarters.js +7 -0
  970. package/www/browser/assets/outline/loading-3-quarters.svg +1 -0
  971. package/www/browser/assets/outline/loading.js +7 -0
  972. package/www/browser/assets/outline/loading.svg +1 -0
  973. package/www/browser/assets/outline/lock.js +7 -0
  974. package/www/browser/assets/outline/lock.svg +1 -0
  975. package/www/browser/assets/outline/login.js +7 -0
  976. package/www/browser/assets/outline/login.svg +1 -0
  977. package/www/browser/assets/outline/logout.js +7 -0
  978. package/www/browser/assets/outline/logout.svg +1 -0
  979. package/www/browser/assets/outline/mac-command.js +7 -0
  980. package/www/browser/assets/outline/mac-command.svg +1 -0
  981. package/www/browser/assets/outline/mail.js +7 -0
  982. package/www/browser/assets/outline/mail.svg +1 -0
  983. package/www/browser/assets/outline/man.js +7 -0
  984. package/www/browser/assets/outline/man.svg +1 -0
  985. package/www/browser/assets/outline/medicine-box.js +7 -0
  986. package/www/browser/assets/outline/medicine-box.svg +1 -0
  987. package/www/browser/assets/outline/medium-workmark.js +7 -0
  988. package/www/browser/assets/outline/medium-workmark.svg +1 -0
  989. package/www/browser/assets/outline/medium.js +7 -0
  990. package/www/browser/assets/outline/medium.svg +1 -0
  991. package/www/browser/assets/outline/meh.js +7 -0
  992. package/www/browser/assets/outline/meh.svg +1 -0
  993. package/www/browser/assets/outline/menu-fold.js +7 -0
  994. package/www/browser/assets/outline/menu-fold.svg +1 -0
  995. package/www/browser/assets/outline/menu-unfold.js +7 -0
  996. package/www/browser/assets/outline/menu-unfold.svg +1 -0
  997. package/www/browser/assets/outline/menu.js +7 -0
  998. package/www/browser/assets/outline/menu.svg +1 -0
  999. package/www/browser/assets/outline/merge-cells.js +7 -0
  1000. package/www/browser/assets/outline/merge-cells.svg +1 -0
  1001. package/www/browser/assets/outline/merge.js +7 -0
  1002. package/www/browser/assets/outline/merge.svg +1 -0
  1003. package/www/browser/assets/outline/message.js +7 -0
  1004. package/www/browser/assets/outline/message.svg +1 -0
  1005. package/www/browser/assets/outline/minus-circle.js +7 -0
  1006. package/www/browser/assets/outline/minus-circle.svg +1 -0
  1007. package/www/browser/assets/outline/minus-square.js +7 -0
  1008. package/www/browser/assets/outline/minus-square.svg +1 -0
  1009. package/www/browser/assets/outline/minus.js +7 -0
  1010. package/www/browser/assets/outline/minus.svg +1 -0
  1011. package/www/browser/assets/outline/mobile.js +7 -0
  1012. package/www/browser/assets/outline/mobile.svg +1 -0
  1013. package/www/browser/assets/outline/money-collect.js +7 -0
  1014. package/www/browser/assets/outline/money-collect.svg +1 -0
  1015. package/www/browser/assets/outline/monitor.js +7 -0
  1016. package/www/browser/assets/outline/monitor.svg +1 -0
  1017. package/www/browser/assets/outline/moon.js +7 -0
  1018. package/www/browser/assets/outline/moon.svg +1 -0
  1019. package/www/browser/assets/outline/more.js +7 -0
  1020. package/www/browser/assets/outline/more.svg +1 -0
  1021. package/www/browser/assets/outline/muted.js +7 -0
  1022. package/www/browser/assets/outline/muted.svg +1 -0
  1023. package/www/browser/assets/outline/node-collapse.js +7 -0
  1024. package/www/browser/assets/outline/node-collapse.svg +1 -0
  1025. package/www/browser/assets/outline/node-expand.js +7 -0
  1026. package/www/browser/assets/outline/node-expand.svg +1 -0
  1027. package/www/browser/assets/outline/node-index.js +7 -0
  1028. package/www/browser/assets/outline/node-index.svg +1 -0
  1029. package/www/browser/assets/outline/notification.js +7 -0
  1030. package/www/browser/assets/outline/notification.svg +1 -0
  1031. package/www/browser/assets/outline/number.js +7 -0
  1032. package/www/browser/assets/outline/number.svg +1 -0
  1033. package/www/browser/assets/outline/one-to-one.js +7 -0
  1034. package/www/browser/assets/outline/one-to-one.svg +1 -0
  1035. package/www/browser/assets/outline/open-a-i.js +7 -0
  1036. package/www/browser/assets/outline/open-a-i.svg +1 -0
  1037. package/www/browser/assets/outline/ordered-list.js +7 -0
  1038. package/www/browser/assets/outline/ordered-list.svg +1 -0
  1039. package/www/browser/assets/outline/paper-clip.js +7 -0
  1040. package/www/browser/assets/outline/paper-clip.svg +1 -0
  1041. package/www/browser/assets/outline/partition.js +7 -0
  1042. package/www/browser/assets/outline/partition.svg +1 -0
  1043. package/www/browser/assets/outline/pause-circle.js +7 -0
  1044. package/www/browser/assets/outline/pause-circle.svg +1 -0
  1045. package/www/browser/assets/outline/pause.js +7 -0
  1046. package/www/browser/assets/outline/pause.svg +1 -0
  1047. package/www/browser/assets/outline/pay-circle.js +7 -0
  1048. package/www/browser/assets/outline/pay-circle.svg +1 -0
  1049. package/www/browser/assets/outline/percentage.js +7 -0
  1050. package/www/browser/assets/outline/percentage.svg +1 -0
  1051. package/www/browser/assets/outline/phone.js +7 -0
  1052. package/www/browser/assets/outline/phone.svg +1 -0
  1053. package/www/browser/assets/outline/pic-center.js +7 -0
  1054. package/www/browser/assets/outline/pic-center.svg +1 -0
  1055. package/www/browser/assets/outline/pic-left.js +7 -0
  1056. package/www/browser/assets/outline/pic-left.svg +1 -0
  1057. package/www/browser/assets/outline/pic-right.js +7 -0
  1058. package/www/browser/assets/outline/pic-right.svg +1 -0
  1059. package/www/browser/assets/outline/picture.js +7 -0
  1060. package/www/browser/assets/outline/picture.svg +1 -0
  1061. package/www/browser/assets/outline/pie-chart.js +7 -0
  1062. package/www/browser/assets/outline/pie-chart.svg +1 -0
  1063. package/www/browser/assets/outline/pinterest.js +7 -0
  1064. package/www/browser/assets/outline/pinterest.svg +1 -0
  1065. package/www/browser/assets/outline/play-circle.js +7 -0
  1066. package/www/browser/assets/outline/play-circle.svg +1 -0
  1067. package/www/browser/assets/outline/play-square.js +7 -0
  1068. package/www/browser/assets/outline/play-square.svg +1 -0
  1069. package/www/browser/assets/outline/plus-circle.js +7 -0
  1070. package/www/browser/assets/outline/plus-circle.svg +1 -0
  1071. package/www/browser/assets/outline/plus-square.js +7 -0
  1072. package/www/browser/assets/outline/plus-square.svg +1 -0
  1073. package/www/browser/assets/outline/plus.js +7 -0
  1074. package/www/browser/assets/outline/plus.svg +1 -0
  1075. package/www/browser/assets/outline/pound-circle.js +7 -0
  1076. package/www/browser/assets/outline/pound-circle.svg +1 -0
  1077. package/www/browser/assets/outline/pound.js +7 -0
  1078. package/www/browser/assets/outline/pound.svg +1 -0
  1079. package/www/browser/assets/outline/poweroff.js +7 -0
  1080. package/www/browser/assets/outline/poweroff.svg +1 -0
  1081. package/www/browser/assets/outline/printer.js +7 -0
  1082. package/www/browser/assets/outline/printer.svg +1 -0
  1083. package/www/browser/assets/outline/product.js +7 -0
  1084. package/www/browser/assets/outline/product.svg +1 -0
  1085. package/www/browser/assets/outline/profile.js +7 -0
  1086. package/www/browser/assets/outline/profile.svg +1 -0
  1087. package/www/browser/assets/outline/project.js +7 -0
  1088. package/www/browser/assets/outline/project.svg +1 -0
  1089. package/www/browser/assets/outline/property-safety.js +7 -0
  1090. package/www/browser/assets/outline/property-safety.svg +1 -0
  1091. package/www/browser/assets/outline/pull-request.js +7 -0
  1092. package/www/browser/assets/outline/pull-request.svg +1 -0
  1093. package/www/browser/assets/outline/pushpin.js +7 -0
  1094. package/www/browser/assets/outline/pushpin.svg +1 -0
  1095. package/www/browser/assets/outline/python.js +7 -0
  1096. package/www/browser/assets/outline/python.svg +1 -0
  1097. package/www/browser/assets/outline/qq.js +7 -0
  1098. package/www/browser/assets/outline/qq.svg +1 -0
  1099. package/www/browser/assets/outline/qrcode.js +7 -0
  1100. package/www/browser/assets/outline/qrcode.svg +1 -0
  1101. package/www/browser/assets/outline/question-circle.js +7 -0
  1102. package/www/browser/assets/outline/question-circle.svg +1 -0
  1103. package/www/browser/assets/outline/question.js +7 -0
  1104. package/www/browser/assets/outline/question.svg +1 -0
  1105. package/www/browser/assets/outline/radar-chart.js +7 -0
  1106. package/www/browser/assets/outline/radar-chart.svg +1 -0
  1107. package/www/browser/assets/outline/radius-bottomleft.js +7 -0
  1108. package/www/browser/assets/outline/radius-bottomleft.svg +1 -0
  1109. package/www/browser/assets/outline/radius-bottomright.js +7 -0
  1110. package/www/browser/assets/outline/radius-bottomright.svg +1 -0
  1111. package/www/browser/assets/outline/radius-setting.js +7 -0
  1112. package/www/browser/assets/outline/radius-setting.svg +1 -0
  1113. package/www/browser/assets/outline/radius-upleft.js +7 -0
  1114. package/www/browser/assets/outline/radius-upleft.svg +1 -0
  1115. package/www/browser/assets/outline/radius-upright.js +7 -0
  1116. package/www/browser/assets/outline/radius-upright.svg +1 -0
  1117. package/www/browser/assets/outline/read.js +7 -0
  1118. package/www/browser/assets/outline/read.svg +1 -0
  1119. package/www/browser/assets/outline/reconciliation.js +7 -0
  1120. package/www/browser/assets/outline/reconciliation.svg +1 -0
  1121. package/www/browser/assets/outline/red-envelope.js +7 -0
  1122. package/www/browser/assets/outline/red-envelope.svg +1 -0
  1123. package/www/browser/assets/outline/reddit.js +7 -0
  1124. package/www/browser/assets/outline/reddit.svg +1 -0
  1125. package/www/browser/assets/outline/redo.js +7 -0
  1126. package/www/browser/assets/outline/redo.svg +1 -0
  1127. package/www/browser/assets/outline/reload.js +7 -0
  1128. package/www/browser/assets/outline/reload.svg +1 -0
  1129. package/www/browser/assets/outline/rest.js +7 -0
  1130. package/www/browser/assets/outline/rest.svg +1 -0
  1131. package/www/browser/assets/outline/retweet.js +7 -0
  1132. package/www/browser/assets/outline/retweet.svg +1 -0
  1133. package/www/browser/assets/outline/right-circle.js +7 -0
  1134. package/www/browser/assets/outline/right-circle.svg +1 -0
  1135. package/www/browser/assets/outline/right-square.js +7 -0
  1136. package/www/browser/assets/outline/right-square.svg +1 -0
  1137. package/www/browser/assets/outline/right.js +7 -0
  1138. package/www/browser/assets/outline/right.svg +1 -0
  1139. package/www/browser/assets/outline/rise.js +7 -0
  1140. package/www/browser/assets/outline/rise.svg +1 -0
  1141. package/www/browser/assets/outline/robot.js +7 -0
  1142. package/www/browser/assets/outline/robot.svg +1 -0
  1143. package/www/browser/assets/outline/rocket.js +7 -0
  1144. package/www/browser/assets/outline/rocket.svg +1 -0
  1145. package/www/browser/assets/outline/rollback.js +7 -0
  1146. package/www/browser/assets/outline/rollback.svg +1 -0
  1147. package/www/browser/assets/outline/rotate-left.js +7 -0
  1148. package/www/browser/assets/outline/rotate-left.svg +1 -0
  1149. package/www/browser/assets/outline/rotate-right.js +7 -0
  1150. package/www/browser/assets/outline/rotate-right.svg +1 -0
  1151. package/www/browser/assets/outline/ruby.js +7 -0
  1152. package/www/browser/assets/outline/ruby.svg +1 -0
  1153. package/www/browser/assets/outline/safety-certificate.js +7 -0
  1154. package/www/browser/assets/outline/safety-certificate.svg +1 -0
  1155. package/www/browser/assets/outline/safety.js +7 -0
  1156. package/www/browser/assets/outline/safety.svg +1 -0
  1157. package/www/browser/assets/outline/save.js +7 -0
  1158. package/www/browser/assets/outline/save.svg +1 -0
  1159. package/www/browser/assets/outline/scan.js +7 -0
  1160. package/www/browser/assets/outline/scan.svg +1 -0
  1161. package/www/browser/assets/outline/schedule.js +7 -0
  1162. package/www/browser/assets/outline/schedule.svg +1 -0
  1163. package/www/browser/assets/outline/scissor.js +7 -0
  1164. package/www/browser/assets/outline/scissor.svg +1 -0
  1165. package/www/browser/assets/outline/search.js +7 -0
  1166. package/www/browser/assets/outline/search.svg +1 -0
  1167. package/www/browser/assets/outline/security-scan.js +7 -0
  1168. package/www/browser/assets/outline/security-scan.svg +1 -0
  1169. package/www/browser/assets/outline/select.js +7 -0
  1170. package/www/browser/assets/outline/select.svg +1 -0
  1171. package/www/browser/assets/outline/send.js +7 -0
  1172. package/www/browser/assets/outline/send.svg +1 -0
  1173. package/www/browser/assets/outline/setting.js +7 -0
  1174. package/www/browser/assets/outline/setting.svg +1 -0
  1175. package/www/browser/assets/outline/shake.js +7 -0
  1176. package/www/browser/assets/outline/shake.svg +1 -0
  1177. package/www/browser/assets/outline/share-alt.js +7 -0
  1178. package/www/browser/assets/outline/share-alt.svg +1 -0
  1179. package/www/browser/assets/outline/shop.js +7 -0
  1180. package/www/browser/assets/outline/shop.svg +1 -0
  1181. package/www/browser/assets/outline/shopping-cart.js +7 -0
  1182. package/www/browser/assets/outline/shopping-cart.svg +1 -0
  1183. package/www/browser/assets/outline/shopping.js +7 -0
  1184. package/www/browser/assets/outline/shopping.svg +1 -0
  1185. package/www/browser/assets/outline/shrink.js +7 -0
  1186. package/www/browser/assets/outline/shrink.svg +1 -0
  1187. package/www/browser/assets/outline/signature.js +7 -0
  1188. package/www/browser/assets/outline/signature.svg +1 -0
  1189. package/www/browser/assets/outline/sisternode.js +7 -0
  1190. package/www/browser/assets/outline/sisternode.svg +1 -0
  1191. package/www/browser/assets/outline/sketch.js +7 -0
  1192. package/www/browser/assets/outline/sketch.svg +1 -0
  1193. package/www/browser/assets/outline/skin.js +7 -0
  1194. package/www/browser/assets/outline/skin.svg +1 -0
  1195. package/www/browser/assets/outline/skype.js +7 -0
  1196. package/www/browser/assets/outline/skype.svg +1 -0
  1197. package/www/browser/assets/outline/slack-square.js +7 -0
  1198. package/www/browser/assets/outline/slack-square.svg +1 -0
  1199. package/www/browser/assets/outline/slack.js +7 -0
  1200. package/www/browser/assets/outline/slack.svg +1 -0
  1201. package/www/browser/assets/outline/sliders.js +7 -0
  1202. package/www/browser/assets/outline/sliders.svg +1 -0
  1203. package/www/browser/assets/outline/small-dash.js +7 -0
  1204. package/www/browser/assets/outline/small-dash.svg +1 -0
  1205. package/www/browser/assets/outline/smile.js +7 -0
  1206. package/www/browser/assets/outline/smile.svg +1 -0
  1207. package/www/browser/assets/outline/snippets.js +7 -0
  1208. package/www/browser/assets/outline/snippets.svg +1 -0
  1209. package/www/browser/assets/outline/solution.js +7 -0
  1210. package/www/browser/assets/outline/solution.svg +1 -0
  1211. package/www/browser/assets/outline/sort-ascending.js +7 -0
  1212. package/www/browser/assets/outline/sort-ascending.svg +1 -0
  1213. package/www/browser/assets/outline/sort-descending.js +7 -0
  1214. package/www/browser/assets/outline/sort-descending.svg +1 -0
  1215. package/www/browser/assets/outline/sound.js +7 -0
  1216. package/www/browser/assets/outline/sound.svg +1 -0
  1217. package/www/browser/assets/outline/split-cells.js +7 -0
  1218. package/www/browser/assets/outline/split-cells.svg +1 -0
  1219. package/www/browser/assets/outline/spotify.js +7 -0
  1220. package/www/browser/assets/outline/spotify.svg +1 -0
  1221. package/www/browser/assets/outline/star.js +7 -0
  1222. package/www/browser/assets/outline/star.svg +1 -0
  1223. package/www/browser/assets/outline/step-backward.js +7 -0
  1224. package/www/browser/assets/outline/step-backward.svg +1 -0
  1225. package/www/browser/assets/outline/step-forward.js +7 -0
  1226. package/www/browser/assets/outline/step-forward.svg +1 -0
  1227. package/www/browser/assets/outline/stock.js +7 -0
  1228. package/www/browser/assets/outline/stock.svg +1 -0
  1229. package/www/browser/assets/outline/stop.js +7 -0
  1230. package/www/browser/assets/outline/stop.svg +1 -0
  1231. package/www/browser/assets/outline/strikethrough.js +7 -0
  1232. package/www/browser/assets/outline/strikethrough.svg +1 -0
  1233. package/www/browser/assets/outline/subnode.js +7 -0
  1234. package/www/browser/assets/outline/subnode.svg +1 -0
  1235. package/www/browser/assets/outline/sun.js +7 -0
  1236. package/www/browser/assets/outline/sun.svg +1 -0
  1237. package/www/browser/assets/outline/swap-left.js +7 -0
  1238. package/www/browser/assets/outline/swap-left.svg +1 -0
  1239. package/www/browser/assets/outline/swap-right.js +7 -0
  1240. package/www/browser/assets/outline/swap-right.svg +1 -0
  1241. package/www/browser/assets/outline/swap.js +7 -0
  1242. package/www/browser/assets/outline/swap.svg +1 -0
  1243. package/www/browser/assets/outline/switcher.js +7 -0
  1244. package/www/browser/assets/outline/switcher.svg +1 -0
  1245. package/www/browser/assets/outline/sync.js +7 -0
  1246. package/www/browser/assets/outline/sync.svg +1 -0
  1247. package/www/browser/assets/outline/table.js +7 -0
  1248. package/www/browser/assets/outline/table.svg +1 -0
  1249. package/www/browser/assets/outline/tablet.js +7 -0
  1250. package/www/browser/assets/outline/tablet.svg +1 -0
  1251. package/www/browser/assets/outline/tag.js +7 -0
  1252. package/www/browser/assets/outline/tag.svg +1 -0
  1253. package/www/browser/assets/outline/tags.js +7 -0
  1254. package/www/browser/assets/outline/tags.svg +1 -0
  1255. package/www/browser/assets/outline/taobao-circle.js +7 -0
  1256. package/www/browser/assets/outline/taobao-circle.svg +1 -0
  1257. package/www/browser/assets/outline/taobao.js +7 -0
  1258. package/www/browser/assets/outline/taobao.svg +1 -0
  1259. package/www/browser/assets/outline/team.js +7 -0
  1260. package/www/browser/assets/outline/team.svg +1 -0
  1261. package/www/browser/assets/outline/thunderbolt.js +7 -0
  1262. package/www/browser/assets/outline/thunderbolt.svg +1 -0
  1263. package/www/browser/assets/outline/tik-tok.js +7 -0
  1264. package/www/browser/assets/outline/tik-tok.svg +1 -0
  1265. package/www/browser/assets/outline/to-top.js +7 -0
  1266. package/www/browser/assets/outline/to-top.svg +1 -0
  1267. package/www/browser/assets/outline/tool.js +7 -0
  1268. package/www/browser/assets/outline/tool.svg +1 -0
  1269. package/www/browser/assets/outline/trademark-circle.js +7 -0
  1270. package/www/browser/assets/outline/trademark-circle.svg +1 -0
  1271. package/www/browser/assets/outline/trademark.js +7 -0
  1272. package/www/browser/assets/outline/trademark.svg +1 -0
  1273. package/www/browser/assets/outline/transaction.js +7 -0
  1274. package/www/browser/assets/outline/transaction.svg +1 -0
  1275. package/www/browser/assets/outline/translation.js +7 -0
  1276. package/www/browser/assets/outline/translation.svg +1 -0
  1277. package/www/browser/assets/outline/trophy.js +7 -0
  1278. package/www/browser/assets/outline/trophy.svg +1 -0
  1279. package/www/browser/assets/outline/truck.js +7 -0
  1280. package/www/browser/assets/outline/truck.svg +1 -0
  1281. package/www/browser/assets/outline/twitch.js +7 -0
  1282. package/www/browser/assets/outline/twitch.svg +1 -0
  1283. package/www/browser/assets/outline/twitter.js +7 -0
  1284. package/www/browser/assets/outline/twitter.svg +1 -0
  1285. package/www/browser/assets/outline/underline.js +7 -0
  1286. package/www/browser/assets/outline/underline.svg +1 -0
  1287. package/www/browser/assets/outline/undo.js +7 -0
  1288. package/www/browser/assets/outline/undo.svg +1 -0
  1289. package/www/browser/assets/outline/ungroup.js +7 -0
  1290. package/www/browser/assets/outline/ungroup.svg +1 -0
  1291. package/www/browser/assets/outline/unlock.js +7 -0
  1292. package/www/browser/assets/outline/unlock.svg +1 -0
  1293. package/www/browser/assets/outline/unordered-list.js +7 -0
  1294. package/www/browser/assets/outline/unordered-list.svg +1 -0
  1295. package/www/browser/assets/outline/up-circle.js +7 -0
  1296. package/www/browser/assets/outline/up-circle.svg +1 -0
  1297. package/www/browser/assets/outline/up-square.js +7 -0
  1298. package/www/browser/assets/outline/up-square.svg +1 -0
  1299. package/www/browser/assets/outline/up.js +7 -0
  1300. package/www/browser/assets/outline/up.svg +1 -0
  1301. package/www/browser/assets/outline/upload.js +7 -0
  1302. package/www/browser/assets/outline/upload.svg +1 -0
  1303. package/www/browser/assets/outline/usb.js +7 -0
  1304. package/www/browser/assets/outline/usb.svg +1 -0
  1305. package/www/browser/assets/outline/user-add.js +7 -0
  1306. package/www/browser/assets/outline/user-add.svg +1 -0
  1307. package/www/browser/assets/outline/user-delete.js +7 -0
  1308. package/www/browser/assets/outline/user-delete.svg +1 -0
  1309. package/www/browser/assets/outline/user-switch.js +7 -0
  1310. package/www/browser/assets/outline/user-switch.svg +1 -0
  1311. package/www/browser/assets/outline/user.js +7 -0
  1312. package/www/browser/assets/outline/user.svg +1 -0
  1313. package/www/browser/assets/outline/usergroup-add.js +7 -0
  1314. package/www/browser/assets/outline/usergroup-add.svg +1 -0
  1315. package/www/browser/assets/outline/usergroup-delete.js +7 -0
  1316. package/www/browser/assets/outline/usergroup-delete.svg +1 -0
  1317. package/www/browser/assets/outline/verified.js +7 -0
  1318. package/www/browser/assets/outline/verified.svg +1 -0
  1319. package/www/browser/assets/outline/vertical-align-bottom.js +7 -0
  1320. package/www/browser/assets/outline/vertical-align-bottom.svg +1 -0
  1321. package/www/browser/assets/outline/vertical-align-middle.js +7 -0
  1322. package/www/browser/assets/outline/vertical-align-middle.svg +1 -0
  1323. package/www/browser/assets/outline/vertical-align-top.js +7 -0
  1324. package/www/browser/assets/outline/vertical-align-top.svg +1 -0
  1325. package/www/browser/assets/outline/vertical-left.js +7 -0
  1326. package/www/browser/assets/outline/vertical-left.svg +1 -0
  1327. package/www/browser/assets/outline/vertical-right.js +7 -0
  1328. package/www/browser/assets/outline/vertical-right.svg +1 -0
  1329. package/www/browser/assets/outline/video-camera-add.js +7 -0
  1330. package/www/browser/assets/outline/video-camera-add.svg +1 -0
  1331. package/www/browser/assets/outline/video-camera.js +7 -0
  1332. package/www/browser/assets/outline/video-camera.svg +1 -0
  1333. package/www/browser/assets/outline/wallet.js +7 -0
  1334. package/www/browser/assets/outline/wallet.svg +1 -0
  1335. package/www/browser/assets/outline/warning.js +7 -0
  1336. package/www/browser/assets/outline/warning.svg +1 -0
  1337. package/www/browser/assets/outline/wechat-work.js +7 -0
  1338. package/www/browser/assets/outline/wechat-work.svg +1 -0
  1339. package/www/browser/assets/outline/wechat.js +7 -0
  1340. package/www/browser/assets/outline/wechat.svg +1 -0
  1341. package/www/browser/assets/outline/weibo-circle.js +7 -0
  1342. package/www/browser/assets/outline/weibo-circle.svg +1 -0
  1343. package/www/browser/assets/outline/weibo-square.js +7 -0
  1344. package/www/browser/assets/outline/weibo-square.svg +1 -0
  1345. package/www/browser/assets/outline/weibo.js +7 -0
  1346. package/www/browser/assets/outline/weibo.svg +1 -0
  1347. package/www/browser/assets/outline/whats-app.js +7 -0
  1348. package/www/browser/assets/outline/whats-app.svg +1 -0
  1349. package/www/browser/assets/outline/wifi.js +7 -0
  1350. package/www/browser/assets/outline/wifi.svg +1 -0
  1351. package/www/browser/assets/outline/windows.js +7 -0
  1352. package/www/browser/assets/outline/windows.svg +1 -0
  1353. package/www/browser/assets/outline/woman.js +7 -0
  1354. package/www/browser/assets/outline/woman.svg +1 -0
  1355. package/www/browser/assets/outline/x.js +7 -0
  1356. package/www/browser/assets/outline/x.svg +1 -0
  1357. package/www/browser/assets/outline/yahoo.js +7 -0
  1358. package/www/browser/assets/outline/yahoo.svg +1 -0
  1359. package/www/browser/assets/outline/youtube.js +7 -0
  1360. package/www/browser/assets/outline/youtube.svg +1 -0
  1361. package/www/browser/assets/outline/yuque.js +7 -0
  1362. package/www/browser/assets/outline/yuque.svg +1 -0
  1363. package/www/browser/assets/outline/zhihu.js +7 -0
  1364. package/www/browser/assets/outline/zhihu.svg +1 -0
  1365. package/www/browser/assets/outline/zoom-in.js +7 -0
  1366. package/www/browser/assets/outline/zoom-in.svg +1 -0
  1367. package/www/browser/assets/outline/zoom-out.js +7 -0
  1368. package/www/browser/assets/outline/zoom-out.svg +1 -0
  1369. package/www/browser/assets/twotone/.gitkeep +0 -0
  1370. package/www/browser/assets/twotone/account-book.js +7 -0
  1371. package/www/browser/assets/twotone/account-book.svg +1 -0
  1372. package/www/browser/assets/twotone/alert.js +7 -0
  1373. package/www/browser/assets/twotone/alert.svg +1 -0
  1374. package/www/browser/assets/twotone/api.js +7 -0
  1375. package/www/browser/assets/twotone/api.svg +1 -0
  1376. package/www/browser/assets/twotone/appstore.js +7 -0
  1377. package/www/browser/assets/twotone/appstore.svg +1 -0
  1378. package/www/browser/assets/twotone/audio.js +7 -0
  1379. package/www/browser/assets/twotone/audio.svg +1 -0
  1380. package/www/browser/assets/twotone/bank.js +7 -0
  1381. package/www/browser/assets/twotone/bank.svg +1 -0
  1382. package/www/browser/assets/twotone/bell.js +7 -0
  1383. package/www/browser/assets/twotone/bell.svg +1 -0
  1384. package/www/browser/assets/twotone/book.js +7 -0
  1385. package/www/browser/assets/twotone/book.svg +1 -0
  1386. package/www/browser/assets/twotone/box-plot.js +7 -0
  1387. package/www/browser/assets/twotone/box-plot.svg +1 -0
  1388. package/www/browser/assets/twotone/bug.js +7 -0
  1389. package/www/browser/assets/twotone/bug.svg +1 -0
  1390. package/www/browser/assets/twotone/build.js +7 -0
  1391. package/www/browser/assets/twotone/build.svg +1 -0
  1392. package/www/browser/assets/twotone/bulb.js +7 -0
  1393. package/www/browser/assets/twotone/bulb.svg +1 -0
  1394. package/www/browser/assets/twotone/calculator.js +7 -0
  1395. package/www/browser/assets/twotone/calculator.svg +1 -0
  1396. package/www/browser/assets/twotone/calendar.js +7 -0
  1397. package/www/browser/assets/twotone/calendar.svg +1 -0
  1398. package/www/browser/assets/twotone/camera.js +7 -0
  1399. package/www/browser/assets/twotone/camera.svg +1 -0
  1400. package/www/browser/assets/twotone/car.js +7 -0
  1401. package/www/browser/assets/twotone/car.svg +1 -0
  1402. package/www/browser/assets/twotone/carry-out.js +7 -0
  1403. package/www/browser/assets/twotone/carry-out.svg +1 -0
  1404. package/www/browser/assets/twotone/check-circle.js +7 -0
  1405. package/www/browser/assets/twotone/check-circle.svg +1 -0
  1406. package/www/browser/assets/twotone/check-square.js +7 -0
  1407. package/www/browser/assets/twotone/check-square.svg +1 -0
  1408. package/www/browser/assets/twotone/ci-circle.js +7 -0
  1409. package/www/browser/assets/twotone/ci-circle.svg +1 -0
  1410. package/www/browser/assets/twotone/ci.js +7 -0
  1411. package/www/browser/assets/twotone/ci.svg +1 -0
  1412. package/www/browser/assets/twotone/clock-circle.js +7 -0
  1413. package/www/browser/assets/twotone/clock-circle.svg +1 -0
  1414. package/www/browser/assets/twotone/close-circle.js +7 -0
  1415. package/www/browser/assets/twotone/close-circle.svg +1 -0
  1416. package/www/browser/assets/twotone/close-square.js +7 -0
  1417. package/www/browser/assets/twotone/close-square.svg +1 -0
  1418. package/www/browser/assets/twotone/cloud.js +7 -0
  1419. package/www/browser/assets/twotone/cloud.svg +1 -0
  1420. package/www/browser/assets/twotone/code.js +7 -0
  1421. package/www/browser/assets/twotone/code.svg +1 -0
  1422. package/www/browser/assets/twotone/compass.js +7 -0
  1423. package/www/browser/assets/twotone/compass.svg +1 -0
  1424. package/www/browser/assets/twotone/contacts.js +7 -0
  1425. package/www/browser/assets/twotone/contacts.svg +1 -0
  1426. package/www/browser/assets/twotone/container.js +7 -0
  1427. package/www/browser/assets/twotone/container.svg +1 -0
  1428. package/www/browser/assets/twotone/control.js +7 -0
  1429. package/www/browser/assets/twotone/control.svg +1 -0
  1430. package/www/browser/assets/twotone/copy.js +7 -0
  1431. package/www/browser/assets/twotone/copy.svg +1 -0
  1432. package/www/browser/assets/twotone/copyright-circle.js +7 -0
  1433. package/www/browser/assets/twotone/copyright-circle.svg +1 -0
  1434. package/www/browser/assets/twotone/copyright.js +7 -0
  1435. package/www/browser/assets/twotone/copyright.svg +1 -0
  1436. package/www/browser/assets/twotone/credit-card.js +7 -0
  1437. package/www/browser/assets/twotone/credit-card.svg +1 -0
  1438. package/www/browser/assets/twotone/crown.js +7 -0
  1439. package/www/browser/assets/twotone/crown.svg +1 -0
  1440. package/www/browser/assets/twotone/customer-service.js +7 -0
  1441. package/www/browser/assets/twotone/customer-service.svg +1 -0
  1442. package/www/browser/assets/twotone/dashboard.js +7 -0
  1443. package/www/browser/assets/twotone/dashboard.svg +1 -0
  1444. package/www/browser/assets/twotone/database.js +7 -0
  1445. package/www/browser/assets/twotone/database.svg +1 -0
  1446. package/www/browser/assets/twotone/delete.js +7 -0
  1447. package/www/browser/assets/twotone/delete.svg +1 -0
  1448. package/www/browser/assets/twotone/diff.js +7 -0
  1449. package/www/browser/assets/twotone/diff.svg +1 -0
  1450. package/www/browser/assets/twotone/dislike.js +7 -0
  1451. package/www/browser/assets/twotone/dislike.svg +1 -0
  1452. package/www/browser/assets/twotone/dollar-circle.js +7 -0
  1453. package/www/browser/assets/twotone/dollar-circle.svg +1 -0
  1454. package/www/browser/assets/twotone/dollar.js +7 -0
  1455. package/www/browser/assets/twotone/dollar.svg +1 -0
  1456. package/www/browser/assets/twotone/down-circle.js +7 -0
  1457. package/www/browser/assets/twotone/down-circle.svg +1 -0
  1458. package/www/browser/assets/twotone/down-square.js +7 -0
  1459. package/www/browser/assets/twotone/down-square.svg +1 -0
  1460. package/www/browser/assets/twotone/edit.js +7 -0
  1461. package/www/browser/assets/twotone/edit.svg +1 -0
  1462. package/www/browser/assets/twotone/environment.js +7 -0
  1463. package/www/browser/assets/twotone/environment.svg +1 -0
  1464. package/www/browser/assets/twotone/euro-circle.js +7 -0
  1465. package/www/browser/assets/twotone/euro-circle.svg +1 -0
  1466. package/www/browser/assets/twotone/euro.js +7 -0
  1467. package/www/browser/assets/twotone/euro.svg +1 -0
  1468. package/www/browser/assets/twotone/exclamation-circle.js +7 -0
  1469. package/www/browser/assets/twotone/exclamation-circle.svg +1 -0
  1470. package/www/browser/assets/twotone/experiment.js +7 -0
  1471. package/www/browser/assets/twotone/experiment.svg +1 -0
  1472. package/www/browser/assets/twotone/eye-invisible.js +7 -0
  1473. package/www/browser/assets/twotone/eye-invisible.svg +1 -0
  1474. package/www/browser/assets/twotone/eye.js +7 -0
  1475. package/www/browser/assets/twotone/eye.svg +1 -0
  1476. package/www/browser/assets/twotone/file-add.js +7 -0
  1477. package/www/browser/assets/twotone/file-add.svg +1 -0
  1478. package/www/browser/assets/twotone/file-excel.js +7 -0
  1479. package/www/browser/assets/twotone/file-excel.svg +1 -0
  1480. package/www/browser/assets/twotone/file-exclamation.js +7 -0
  1481. package/www/browser/assets/twotone/file-exclamation.svg +1 -0
  1482. package/www/browser/assets/twotone/file-image.js +7 -0
  1483. package/www/browser/assets/twotone/file-image.svg +1 -0
  1484. package/www/browser/assets/twotone/file-markdown.js +7 -0
  1485. package/www/browser/assets/twotone/file-markdown.svg +1 -0
  1486. package/www/browser/assets/twotone/file-pdf.js +7 -0
  1487. package/www/browser/assets/twotone/file-pdf.svg +1 -0
  1488. package/www/browser/assets/twotone/file-ppt.js +7 -0
  1489. package/www/browser/assets/twotone/file-ppt.svg +1 -0
  1490. package/www/browser/assets/twotone/file-text.js +7 -0
  1491. package/www/browser/assets/twotone/file-text.svg +1 -0
  1492. package/www/browser/assets/twotone/file-unknown.js +7 -0
  1493. package/www/browser/assets/twotone/file-unknown.svg +1 -0
  1494. package/www/browser/assets/twotone/file-word.js +7 -0
  1495. package/www/browser/assets/twotone/file-word.svg +1 -0
  1496. package/www/browser/assets/twotone/file-zip.js +7 -0
  1497. package/www/browser/assets/twotone/file-zip.svg +1 -0
  1498. package/www/browser/assets/twotone/file.js +7 -0
  1499. package/www/browser/assets/twotone/file.svg +1 -0
  1500. package/www/browser/assets/twotone/filter.js +7 -0
  1501. package/www/browser/assets/twotone/filter.svg +1 -0
  1502. package/www/browser/assets/twotone/fire.js +7 -0
  1503. package/www/browser/assets/twotone/fire.svg +1 -0
  1504. package/www/browser/assets/twotone/flag.js +7 -0
  1505. package/www/browser/assets/twotone/flag.svg +1 -0
  1506. package/www/browser/assets/twotone/folder-add.js +7 -0
  1507. package/www/browser/assets/twotone/folder-add.svg +1 -0
  1508. package/www/browser/assets/twotone/folder-open.js +7 -0
  1509. package/www/browser/assets/twotone/folder-open.svg +1 -0
  1510. package/www/browser/assets/twotone/folder.js +7 -0
  1511. package/www/browser/assets/twotone/folder.svg +1 -0
  1512. package/www/browser/assets/twotone/frown.js +7 -0
  1513. package/www/browser/assets/twotone/frown.svg +1 -0
  1514. package/www/browser/assets/twotone/fund.js +7 -0
  1515. package/www/browser/assets/twotone/fund.svg +1 -0
  1516. package/www/browser/assets/twotone/funnel-plot.js +7 -0
  1517. package/www/browser/assets/twotone/funnel-plot.svg +1 -0
  1518. package/www/browser/assets/twotone/gift.js +7 -0
  1519. package/www/browser/assets/twotone/gift.svg +1 -0
  1520. package/www/browser/assets/twotone/gold.js +7 -0
  1521. package/www/browser/assets/twotone/gold.svg +1 -0
  1522. package/www/browser/assets/twotone/hdd.js +7 -0
  1523. package/www/browser/assets/twotone/hdd.svg +1 -0
  1524. package/www/browser/assets/twotone/heart.js +7 -0
  1525. package/www/browser/assets/twotone/heart.svg +1 -0
  1526. package/www/browser/assets/twotone/highlight.js +7 -0
  1527. package/www/browser/assets/twotone/highlight.svg +1 -0
  1528. package/www/browser/assets/twotone/home.js +7 -0
  1529. package/www/browser/assets/twotone/home.svg +1 -0
  1530. package/www/browser/assets/twotone/hourglass.js +7 -0
  1531. package/www/browser/assets/twotone/hourglass.svg +1 -0
  1532. package/www/browser/assets/twotone/html5.js +7 -0
  1533. package/www/browser/assets/twotone/html5.svg +1 -0
  1534. package/www/browser/assets/twotone/idcard.js +7 -0
  1535. package/www/browser/assets/twotone/idcard.svg +1 -0
  1536. package/www/browser/assets/twotone/info-circle.js +7 -0
  1537. package/www/browser/assets/twotone/info-circle.svg +1 -0
  1538. package/www/browser/assets/twotone/insurance.js +7 -0
  1539. package/www/browser/assets/twotone/insurance.svg +1 -0
  1540. package/www/browser/assets/twotone/interaction.js +7 -0
  1541. package/www/browser/assets/twotone/interaction.svg +1 -0
  1542. package/www/browser/assets/twotone/layout.js +7 -0
  1543. package/www/browser/assets/twotone/layout.svg +1 -0
  1544. package/www/browser/assets/twotone/left-circle.js +7 -0
  1545. package/www/browser/assets/twotone/left-circle.svg +1 -0
  1546. package/www/browser/assets/twotone/left-square.js +7 -0
  1547. package/www/browser/assets/twotone/left-square.svg +1 -0
  1548. package/www/browser/assets/twotone/like.js +7 -0
  1549. package/www/browser/assets/twotone/like.svg +1 -0
  1550. package/www/browser/assets/twotone/lock.js +7 -0
  1551. package/www/browser/assets/twotone/lock.svg +1 -0
  1552. package/www/browser/assets/twotone/mail.js +7 -0
  1553. package/www/browser/assets/twotone/mail.svg +1 -0
  1554. package/www/browser/assets/twotone/medicine-box.js +7 -0
  1555. package/www/browser/assets/twotone/medicine-box.svg +1 -0
  1556. package/www/browser/assets/twotone/meh.js +7 -0
  1557. package/www/browser/assets/twotone/meh.svg +1 -0
  1558. package/www/browser/assets/twotone/message.js +7 -0
  1559. package/www/browser/assets/twotone/message.svg +1 -0
  1560. package/www/browser/assets/twotone/minus-circle.js +7 -0
  1561. package/www/browser/assets/twotone/minus-circle.svg +1 -0
  1562. package/www/browser/assets/twotone/minus-square.js +7 -0
  1563. package/www/browser/assets/twotone/minus-square.svg +1 -0
  1564. package/www/browser/assets/twotone/mobile.js +7 -0
  1565. package/www/browser/assets/twotone/mobile.svg +1 -0
  1566. package/www/browser/assets/twotone/money-collect.js +7 -0
  1567. package/www/browser/assets/twotone/money-collect.svg +1 -0
  1568. package/www/browser/assets/twotone/notification.js +7 -0
  1569. package/www/browser/assets/twotone/notification.svg +1 -0
  1570. package/www/browser/assets/twotone/pause-circle.js +7 -0
  1571. package/www/browser/assets/twotone/pause-circle.svg +1 -0
  1572. package/www/browser/assets/twotone/phone.js +7 -0
  1573. package/www/browser/assets/twotone/phone.svg +1 -0
  1574. package/www/browser/assets/twotone/picture.js +7 -0
  1575. package/www/browser/assets/twotone/picture.svg +1 -0
  1576. package/www/browser/assets/twotone/pie-chart.js +7 -0
  1577. package/www/browser/assets/twotone/pie-chart.svg +1 -0
  1578. package/www/browser/assets/twotone/play-circle.js +7 -0
  1579. package/www/browser/assets/twotone/play-circle.svg +1 -0
  1580. package/www/browser/assets/twotone/play-square.js +7 -0
  1581. package/www/browser/assets/twotone/play-square.svg +1 -0
  1582. package/www/browser/assets/twotone/plus-circle.js +7 -0
  1583. package/www/browser/assets/twotone/plus-circle.svg +1 -0
  1584. package/www/browser/assets/twotone/plus-square.js +7 -0
  1585. package/www/browser/assets/twotone/plus-square.svg +1 -0
  1586. package/www/browser/assets/twotone/pound-circle.js +7 -0
  1587. package/www/browser/assets/twotone/pound-circle.svg +1 -0
  1588. package/www/browser/assets/twotone/printer.js +7 -0
  1589. package/www/browser/assets/twotone/printer.svg +1 -0
  1590. package/www/browser/assets/twotone/profile.js +7 -0
  1591. package/www/browser/assets/twotone/profile.svg +1 -0
  1592. package/www/browser/assets/twotone/project.js +7 -0
  1593. package/www/browser/assets/twotone/project.svg +1 -0
  1594. package/www/browser/assets/twotone/property-safety.js +7 -0
  1595. package/www/browser/assets/twotone/property-safety.svg +1 -0
  1596. package/www/browser/assets/twotone/pushpin.js +7 -0
  1597. package/www/browser/assets/twotone/pushpin.svg +1 -0
  1598. package/www/browser/assets/twotone/question-circle.js +7 -0
  1599. package/www/browser/assets/twotone/question-circle.svg +1 -0
  1600. package/www/browser/assets/twotone/reconciliation.js +7 -0
  1601. package/www/browser/assets/twotone/reconciliation.svg +1 -0
  1602. package/www/browser/assets/twotone/red-envelope.js +7 -0
  1603. package/www/browser/assets/twotone/red-envelope.svg +1 -0
  1604. package/www/browser/assets/twotone/rest.js +7 -0
  1605. package/www/browser/assets/twotone/rest.svg +1 -0
  1606. package/www/browser/assets/twotone/right-circle.js +7 -0
  1607. package/www/browser/assets/twotone/right-circle.svg +1 -0
  1608. package/www/browser/assets/twotone/right-square.js +7 -0
  1609. package/www/browser/assets/twotone/right-square.svg +1 -0
  1610. package/www/browser/assets/twotone/rocket.js +7 -0
  1611. package/www/browser/assets/twotone/rocket.svg +1 -0
  1612. package/www/browser/assets/twotone/safety-certificate.js +7 -0
  1613. package/www/browser/assets/twotone/safety-certificate.svg +1 -0
  1614. package/www/browser/assets/twotone/save.js +7 -0
  1615. package/www/browser/assets/twotone/save.svg +1 -0
  1616. package/www/browser/assets/twotone/schedule.js +7 -0
  1617. package/www/browser/assets/twotone/schedule.svg +1 -0
  1618. package/www/browser/assets/twotone/security-scan.js +7 -0
  1619. package/www/browser/assets/twotone/security-scan.svg +1 -0
  1620. package/www/browser/assets/twotone/setting.js +7 -0
  1621. package/www/browser/assets/twotone/setting.svg +1 -0
  1622. package/www/browser/assets/twotone/shop.js +7 -0
  1623. package/www/browser/assets/twotone/shop.svg +1 -0
  1624. package/www/browser/assets/twotone/shopping.js +7 -0
  1625. package/www/browser/assets/twotone/shopping.svg +1 -0
  1626. package/www/browser/assets/twotone/skin.js +7 -0
  1627. package/www/browser/assets/twotone/skin.svg +1 -0
  1628. package/www/browser/assets/twotone/sliders.js +7 -0
  1629. package/www/browser/assets/twotone/sliders.svg +1 -0
  1630. package/www/browser/assets/twotone/smile.js +7 -0
  1631. package/www/browser/assets/twotone/smile.svg +1 -0
  1632. package/www/browser/assets/twotone/snippets.js +7 -0
  1633. package/www/browser/assets/twotone/snippets.svg +1 -0
  1634. package/www/browser/assets/twotone/sound.js +7 -0
  1635. package/www/browser/assets/twotone/sound.svg +1 -0
  1636. package/www/browser/assets/twotone/star.js +7 -0
  1637. package/www/browser/assets/twotone/star.svg +1 -0
  1638. package/www/browser/assets/twotone/stop.js +7 -0
  1639. package/www/browser/assets/twotone/stop.svg +1 -0
  1640. package/www/browser/assets/twotone/switcher.js +7 -0
  1641. package/www/browser/assets/twotone/switcher.svg +1 -0
  1642. package/www/browser/assets/twotone/tablet.js +7 -0
  1643. package/www/browser/assets/twotone/tablet.svg +1 -0
  1644. package/www/browser/assets/twotone/tag.js +7 -0
  1645. package/www/browser/assets/twotone/tag.svg +1 -0
  1646. package/www/browser/assets/twotone/tags.js +7 -0
  1647. package/www/browser/assets/twotone/tags.svg +1 -0
  1648. package/www/browser/assets/twotone/thunderbolt.js +7 -0
  1649. package/www/browser/assets/twotone/thunderbolt.svg +1 -0
  1650. package/www/browser/assets/twotone/tool.js +7 -0
  1651. package/www/browser/assets/twotone/tool.svg +1 -0
  1652. package/www/browser/assets/twotone/trademark-circle.js +7 -0
  1653. package/www/browser/assets/twotone/trademark-circle.svg +1 -0
  1654. package/www/browser/assets/twotone/trophy.js +7 -0
  1655. package/www/browser/assets/twotone/trophy.svg +1 -0
  1656. package/www/browser/assets/twotone/unlock.js +7 -0
  1657. package/www/browser/assets/twotone/unlock.svg +1 -0
  1658. package/www/browser/assets/twotone/up-circle.js +7 -0
  1659. package/www/browser/assets/twotone/up-circle.svg +1 -0
  1660. package/www/browser/assets/twotone/up-square.js +7 -0
  1661. package/www/browser/assets/twotone/up-square.svg +1 -0
  1662. package/www/browser/assets/twotone/usb.js +7 -0
  1663. package/www/browser/assets/twotone/usb.svg +1 -0
  1664. package/www/browser/assets/twotone/video-camera.js +7 -0
  1665. package/www/browser/assets/twotone/video-camera.svg +1 -0
  1666. package/www/browser/assets/twotone/wallet.js +7 -0
  1667. package/www/browser/assets/twotone/wallet.svg +1 -0
  1668. package/www/browser/assets/twotone/warning.js +7 -0
  1669. package/www/browser/assets/twotone/warning.svg +1 -0
  1670. package/www/browser/chunk-34QRY4VA.js +37 -0
  1671. package/www/browser/chunk-53YRDYLS.js +2 -0
  1672. package/www/browser/chunk-5RKAWOOJ.js +1 -0
  1673. package/www/browser/chunk-6ZXMOHQD.js +1 -0
  1674. package/www/browser/chunk-A6CKMRBS.js +5 -0
  1675. package/www/browser/chunk-ACZLOZZH.js +1 -0
  1676. package/www/browser/chunk-C3KAVW4L.js +1 -0
  1677. package/www/browser/chunk-CF64VPDQ.js +2 -0
  1678. package/www/browser/chunk-CKWTUTVS.js +1 -0
  1679. package/www/browser/chunk-ECWYTW7Q.js +1 -0
  1680. package/www/browser/chunk-GKOCPXFS.js +1 -0
  1681. package/www/browser/chunk-GNFBCMLE.js +1 -0
  1682. package/www/browser/chunk-HEKO7RQP.js +1 -0
  1683. package/www/browser/chunk-HFZLJHYR.js +1 -0
  1684. package/www/browser/chunk-HT3VTKOZ.js +1 -0
  1685. package/www/browser/chunk-HZ73CM45.js +20 -0
  1686. package/www/browser/chunk-IGJYBE5M.js +1 -0
  1687. package/www/browser/chunk-J43J3F2V.js +12 -0
  1688. package/www/browser/chunk-K6ZRTM2Q.js +1 -0
  1689. package/www/browser/chunk-QC33YQSO.js +11 -0
  1690. package/www/browser/chunk-R7E5ZK2M.js +1 -0
  1691. package/www/browser/chunk-SIVPP74B.js +0 -0
  1692. package/www/browser/chunk-SJG2JCPL.js +4 -0
  1693. package/www/browser/chunk-SNCDDYQR.js +1 -0
  1694. package/www/browser/chunk-TN5O5PXP.js +1 -0
  1695. package/www/browser/chunk-U76AMP2X.js +3 -0
  1696. package/www/browser/chunk-UIDFNBD4.js +1 -0
  1697. package/www/browser/chunk-V27A2EK4.js +1 -0
  1698. package/www/browser/chunk-X7DKZB43.js +4 -0
  1699. package/www/browser/chunk-ZGEEPU7F.js +1 -0
  1700. package/www/browser/chunk-ZJKBRM7K.js +1 -0
  1701. package/www/browser/dark.css +1 -0
  1702. package/www/browser/default.css +1 -0
  1703. package/www/browser/devtools.png +0 -0
  1704. package/www/browser/favicon.ico +0 -0
  1705. package/www/browser/index.html +13 -0
  1706. package/www/browser/main-F763G7F7.js +29 -0
  1707. package/www/browser/styles-ROAHD7MY.css +1 -0
  1708. package/www/prerendered-routes.json +3 -0
  1709. package/src/app.ts +0 -76
  1710. package/src/common/api.ts +0 -12
  1711. package/src/common/editor.ts +0 -49
  1712. package/src/env.ts +0 -12
  1713. package/src/index.ts +0 -21
  1714. package/src/plugins/core.plugin.ts +0 -34
  1715. package/src/plugins/error-handler.plugin.ts +0 -168
  1716. package/src/plugins/request-id.plugin.ts +0 -14
  1717. package/src/plugins/routes.plugin.ts +0 -24
  1718. package/src/plugins/static.plugin.ts +0 -30
  1719. package/src/plugins/success-handle.plugin.ts +0 -33
  1720. package/src/plugins/ws/topics/index.ts +0 -1
  1721. package/src/plugins/ws/topics/syslog.ws.ts +0 -36
  1722. package/src/plugins/ws/topics/task.ws.ts +0 -96
  1723. package/src/plugins/ws/ws.context.ts +0 -32
  1724. package/src/plugins/ws/ws.plugin.ts +0 -103
  1725. package/src/plugins/ws/ws.router.ts +0 -79
  1726. package/src/routes/config.routes.ts +0 -86
  1727. package/src/routes/dashboard.routes.ts +0 -43
  1728. package/src/routes/deps.route.ts +0 -51
  1729. package/src/routes/fs.routes.ts +0 -31
  1730. package/src/routes/index.ts +0 -19
  1731. package/src/routes/project.routes.ts +0 -265
  1732. package/src/routes/rss.routes.ts +0 -58
  1733. package/src/routes/system.routes.ts +0 -32
  1734. package/src/routes/task.routes.ts +0 -85
  1735. package/tsconfig.json +0 -13
@@ -0,0 +1,4 @@
1
+ import{a as ai}from"./chunk-HT3VTKOZ.js";import"./chunk-6ZXMOHQD.js";import{c as qe}from"./chunk-GNFBCMLE.js";import{b as Ke,d as ii}from"./chunk-CF64VPDQ.js";import{d as si,e as ni,f as oi}from"./chunk-TN5O5PXP.js";import{e as Je}from"./chunk-34QRY4VA.js";import{c as ri,d as li}from"./chunk-GKOCPXFS.js";import"./chunk-SNCDDYQR.js";import{A as Jt,B as Zt,I as ei,g as Qt,i as Ze,j as ti,y as Kt,z as qt}from"./chunk-A6CKMRBS.js";import{Cb as jt,Eb as Ut,M as L,N as F,T as Ue,U as Qe,V as B,W as X,Y,Z as O,ib as zt,kb as mt,ob as pt,sb as gt,vb as Yt,xb as Mt,yb as Gt,zb as $t}from"./chunk-J43J3F2V.js";import"./chunk-HFZLJHYR.js";import{c as Xe,h as Ye,i as D,o as Ge,y as je}from"./chunk-53YRDYLS.js";import{$b as K,$c as Be,Bc as Oe,Cc as We,Eb as T,Ec as Ne,Fc as xt,Ha as S,Ic as f,J as ke,Jc as A,Kb as At,Kc as _t,Mc as ht,Nc as dt,Oa as nt,Oc as ct,Q as Se,Ra as St,Vb as b,Xb as _,Yb as ge,Zc as Le,_b as Q,a as P,ac as p,b as j,bc as l,cc as h,da as Pe,dc as m,ea as me,ec as V,ed as Ve,fc as N,fd as R,gd as He,hc as tt,ic as et,kb as Re,kc as M,l as Ht,ma as It,mb as d,md as Ae,qc as z,ra as k,rb as ot,rd as Xt,sb as pe,sc as rt,tc as c,ub as Fe,uc as Dt,va as De,vc as bt,wa as Ee,xa as w,xb as Pt,ya as x,yb as U,z as ce}from"./chunk-SJG2JCPL.js";var te=class n{api=k(Qt);getInfo(e){return this.api.get(`/api/dashboard/getInfo/${e}`)}update(e,t){return this.api.post(`/api/dashboard/update/${e}`,t)}widgets(e){return this.api.get(`/api/dashboard/widgets/${e}`)}addWidget(e,t){let{x:i,y:s}=t;return this.api.get(`/api/dashboard/addWidget/${e}/${t.widgetKey}/${i}/${s}`)}removeWidget(e,t){return this.api.delete(`/api/dashboard/removeWidget/${e}/${t}`)}updateItemConfig(e,t,i){return this.api.post(`/api/dashboard/updateItemConfig/${e}/${t}`,i)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=It({token:n,factory:n.\u0275fac,providedIn:"root"})};var it=class n{localKey(e){return`${Ze.dashboard.layout}.${e}`}local=k(ti);api=k(te);_doc=S(null);items=R(()=>this._doc()?.items??[]);updatedAt=R(()=>this._doc()?.updatedAt??0);widgets=S([]);saveTimer=null;async load(e){try{let t=await ce(this.api.getInfo(e));this._doc.set(t),this.local.set(this.localKey(e),t);return}catch{let t=this.local.get(this.localKey(e),null);if(t){this._doc.set(t);return}this._doc.set({version:1,projectId:e,updatedAt:Date.now(),items:[]})}}setItems(e,t){let i=this._doc();i&&(this._doc.set(j(P({},i),{items:t})),this.scheduleAutoSave(e))}scheduleAutoSave(e,t=1e4){this.saveTimer&&clearTimeout(this.saveTimer),this.saveTimer=setTimeout(()=>{this.flushSave(e).catch(()=>{})},t)}async flushSave(e){this.saveTimer&&(clearTimeout(this.saveTimer),this.saveTimer=null);let t=this._doc();if(!t)return;this.local.set(this.localKey(e),t);let i=await ce(this.api.update(e,t));this._doc.set(i),this.local.set(this.localKey(e),i)}add(e){let t=this._doc();t&&setTimeout(()=>{let{x:i,y:s}=e;this.api.addWidget(t.projectId,{widgetKey:e.key,x:i,y:s}).subscribe(o=>{this._doc.set(o),this.local.set(this.localKey(t.projectId),o),this.getWidgets()})},0)}remove(e){let t=this._doc();t&&this.api.removeWidget(t.projectId,e).subscribe(i=>{this._doc.set(i),this.local.set(this.localKey(t.projectId),i),this.getWidgets()})}getWidgets(){let e=this._doc();e&&this.api.widgets(e.projectId).subscribe(t=>{this.widgets.set(t)})}updateConfig(e,t,i){let s=this._doc();s&&this.api.updateItemConfig(e,t,i).subscribe(o=>{this._doc.set(o),this.local.set(this.localKey(s.projectId),o)})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=It({token:n,factory:n.\u0275fac,providedIn:"root"})};var _i=(n,e)=>e.key;function zi(n,e){if(n&1){let t=M();l(0,"div",5)(1,"div",6)(2,"div",7),m(3,"nz-icon",8),h(),l(4,"div",9)(5,"div",10),f(6),h(),l(7,"div",11),f(8),h()(),l(9,"div",12)(10,"button",13),z("click",function(){let s=w(t).$implicit,o=c();return x(o.addWidget(s))}),m(11,"nz-icon",14),h()()()()}if(n&2){let t=e.$implicit;d(3),p("nzType",t.icon||"appstore"),d(3),A(t.title),d(2),A(t.desc)}}var ee=class n{layout=k(it);add=new ot;keyword=S("");widgets=this.layout.widgets;filtered=R(()=>{let e=this.keyword().trim().toLowerCase();return e?this.widgets().filter(t=>(t.title+(t.desc??"")).toLowerCase().includes(e)):this.widgets()});constructor(){}addWidget(e){this.add.emit(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-add-widget-drawer"]],outputs:{add:"add"},decls:8,vars:1,consts:[[1,"list"],[1,"topbar"],["nzInputPrefix","","nzType","search",1,"search-icon"],["nz-input","","placeholder","",3,"ngModelChange","ngModel"],[1,"items"],[1,"item"],[1,"row"],[1,"icon"],["nzTheme","outline",3,"nzType"],[1,"info"],[1,"name"],[1,"description"],[1,"actions"],["nz-button","","nzType","primary","nzSize","small","nzTooltip","\u6DFB\u52A0\u90E8\u4EF6",3,"click"],["nzType","plus"]],template:function(t,i){t&1&&(l(0,"div",0)(1,"div",1)(2,"nz-input-wrapper"),m(3,"nz-icon",2),l(4,"input",3),z("ngModelChange",function(o){return i.keyword.set(o)}),h()()(),l(5,"div",4),Q(6,zi,12,3,"div",5,_i),h()()),t&2&&(d(4),p("ngModel",i.keyword()),d(2),K(i.filtered()))},dependencies:[D,gt,zt,mt,pt,F,L,$t,Mt,Gt,Yt,O,Y,B,X,Ut],styles:[".list[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column}.list[_ngcontent-%COMP%] .topbar[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 16px}.list[_ngcontent-%COMP%] .topbar[_ngcontent-%COMP%] nz-input-wrapper[_ngcontent-%COMP%]{width:100%;border-radius:18px}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{flex:1 1 auto;overflow:auto;height:0;display:flex;flex-direction:column;gap:8px;padding:8px;overflow-x:hidden;overflow-y:auto}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-radius:3px;padding:10px;cursor:pointer}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]:hover, .list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item.active[_ngcontent-%COMP%]{background:var(--app-primary-3)}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;overflow:hidden;justify-content:space-between}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:28px;flex:0 0 auto;position:relative;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--app-primary-1)}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;gap:4px;overflow:hidden}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:13px;color:var(--app-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{flex:0 0 auto}"],changeDetection:0})};var mi=["*"];function Mi(n,e){if(n&1&&m(0,"div",0),n&2){let t=e.$index,i=c();p("ngStyle",i.gridRenderer.getGridColumnStyle(t))}}function $i(n,e){if(n&1&&m(0,"div",1),n&2){let t=e.$index,i=c();p("ngStyle",i.gridRenderer.getGridRowStyle(t))}}function Ti(n,e){if(n&1){let t=M();V(0,"div",8),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function ki(n,e){if(n&1){let t=M();V(0,"div",9),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Si(n,e){if(n&1){let t=M();V(0,"div",10),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Pi(n,e){if(n&1){let t=M();V(0,"div",11),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Di(n,e){if(n&1){let t=M();V(0,"div",12),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Ei(n,e){if(n&1){let t=M();V(0,"div",13),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Ri(n,e){if(n&1){let t=M();V(0,"div",14),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Fi(n,e){if(n&1){let t=M();V(0,"div",15),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}var g=(function(n){return n.Fit="fit",n.ScrollVertical="scrollVertical",n.ScrollHorizontal="scrollHorizontal",n.Fixed="fixed",n.VerticalFixed="verticalFixed",n.HorizontalFixed="horizontalFixed",n})(g||{}),se=(function(n){return n.Always="always",n.OnDragAndResize="onDrag&Resize",n.None="none",n})(se||{}),v=(function(n){return n.None="none",n.CompactUp="compactUp",n.CompactLeft="compactLeft",n.CompactUpAndLeft="compactUp&Left",n.CompactLeftAndUp="compactLeft&Up",n.CompactRight="compactRight",n.CompactUpAndRight="compactUp&Right",n.CompactRightAndUp="compactRight&Up",n.CompactDown="compactDown",n.CompactDownAndLeft="compactDown&Left",n.CompactLeftAndDown="compactLeft&Down",n.CompactDownAndRight="compactDown&Right",n.CompactRightAndDown="compactRight&Down",n.CompactGrid="compactGrid",n})(v||{}),E=(function(n){return n.LTR="ltr",n.RTL="rtl",n})(E||{}),Ce=class{gridster;constructor(e){this.gridster=e}destroy(){this.gridster=null}checkCompact(){this.gridster.$options.compactType!==v.None&&(this.gridster.$options.compactType===v.CompactUp?this.checkCompactMovement("y",-1):this.gridster.$options.compactType===v.CompactLeft?this.checkCompactMovement("x",-1):this.gridster.$options.compactType===v.CompactUpAndLeft?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===v.CompactLeftAndUp?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===v.CompactRight?this.checkCompactMovement("x",1):this.gridster.$options.compactType===v.CompactUpAndRight?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===v.CompactRightAndUp?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===v.CompactDown?this.checkCompactMovement("y",1):this.gridster.$options.compactType===v.CompactDownAndLeft?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===v.CompactDownAndRight?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===v.CompactLeftAndDown?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===v.CompactRightAndDown?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===v.CompactGrid&&this.checkCompactGrid())}checkCompactItem(e){this.gridster.$options.compactType!==v.None&&(this.gridster.$options.compactType===v.CompactUp?this.moveTillCollision(e,"y",-1):this.gridster.$options.compactType===v.CompactLeft?this.moveTillCollision(e,"x",-1):this.gridster.$options.compactType===v.CompactUpAndLeft?(this.moveTillCollision(e,"y",-1),this.moveTillCollision(e,"x",-1)):this.gridster.$options.compactType===v.CompactLeftAndUp?(this.moveTillCollision(e,"x",-1),this.moveTillCollision(e,"y",-1)):this.gridster.$options.compactType===v.CompactUpAndRight?(this.moveTillCollision(e,"y",-1),this.moveTillCollision(e,"x",1)):this.gridster.$options.compactType===v.CompactDown?this.moveTillCollision(e,"y",1):this.gridster.$options.compactType===v.CompactDownAndLeft?(this.moveTillCollision(e,"y",1),this.moveTillCollision(e,"x",-1)):this.gridster.$options.compactType===v.CompactLeftAndDown?(this.moveTillCollision(e,"x",-1),this.moveTillCollision(e,"y",1)):this.gridster.$options.compactType===v.CompactDownAndRight?(this.moveTillCollision(e,"y",1),this.moveTillCollision(e,"x",1)):this.gridster.$options.compactType===v.CompactRightAndDown?(this.moveTillCollision(e,"x",1),this.moveTillCollision(e,"y",1)):this.gridster.$options.compactType===v.CompactGrid&&this.moveToGridPosition(e))}checkCompactMovement(e,t){let i=!1;this.gridster.grid.forEach(s=>{s.$item.compactEnabled!==!1&&this.moveTillCollision(s.$item,e,t)&&(i=!0,s.item[e]=s.$item[e],s.itemChanged())}),i&&this.checkCompact()}moveTillCollision(e,t,i){return e[t]+=i,this.gridster.checkCollision(e)?(e[t]-=i,!1):(this.moveTillCollision(e,t,i),!0)}checkCompactGrid(){let e=this.gridster.grid.filter(o=>o.$item.compactEnabled!==!1).sort((o,r)=>o.$item.y!==r.$item.y?o.$item.y-r.$item.y:o.$item.x-r.$item.x),t=0,i=0,s=0;e.forEach(o=>{let r=o.$item;i+r.cols>this.gridster.columns&&(t=s,i=0,s=t);let a=r.x,C=r.y;r.x=i,r.y=t,(a!==r.x||C!==r.y)&&(o.item.x=r.x,o.item.y=r.y,o.itemChanged()),i+=r.cols,s=Math.max(s,t+r.rows)})}moveToGridPosition(e){let t=0,i=0,s=0,o=this.gridster.grid.filter(r=>r.$item!==e).sort((r,a)=>r.$item.y!==a.$item.y?r.$item.y-a.$item.y:r.$item.x-a.$item.x);for(let r of o){let a=r.$item;i+a.cols>this.gridster.columns&&(t=s,i=0,s=t),t<a.y+a.rows&&t+e.rows>a.y&&i<a.x+a.cols&&i+e.cols>a.x?(i=a.x+a.cols,t=a.y,s=Math.max(s,t+a.rows)):(i+=a.cols,s=Math.max(s,t+a.rows))}i+e.cols>this.gridster.columns&&(t=s,i=0),e.x=i,e.y=t}},Oi={gridType:g.Fit,scale:1,fixedColWidth:250,fixedRowHeight:250,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,setGridSize:!1,compactType:v.None,mobileBreakpoint:640,useBodyForBreakpoint:!1,allowMultiLayer:!1,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:1,minCols:1,maxCols:100,minRows:1,maxRows:100,defaultItemCols:1,defaultItemRows:1,itemAspectRatio:void 0,maxItemCols:50,maxItemRows:50,minItemCols:1,minItemRows:1,minItemArea:1,maxItemArea:2500,addEmptyRowsCount:0,rowHeightRatio:1,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,scrollSensitivity:10,scrollSpeed:20,initCallback:void 0,destroyCallback:void 0,gridSizeChangedCallback:void 0,itemChangeCallback:void 0,itemResizeCallback:void 0,itemInitCallback:void 0,itemRemovedCallback:void 0,itemValidateCallback:void 0,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:void 0,emptyCellContextMenuCallback:void 0,emptyCellDropCallback:void 0,emptyCellDragCallback:void 0,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{delayStart:0,enabled:!1,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:void 0,start:void 0,dropOverItems:!1,dropOverItemsCallback:void 0},resizable:{delayStart:0,enabled:!1,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0},stop:void 0,start:void 0},swap:!0,swapWhileDragging:!1,pushItems:!1,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:se.OnDragAndResize,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,disableScrollHorizontal:!1,disableScrollVertical:!1,enableBoundaryControl:!1,disableAutoPositionOnConflict:!1,dirType:E.LTR},W=class n{static merge(e,t,i){for(let s in t)t[s]!==void 0&&i.hasOwnProperty(s)&&(typeof t[s]=="object"?(s in e||(e[s]={}),e[s]=n.merge(e[s],t[s],i[s])):e[s]=t[s]);return e}static checkTouchEvent(e){e.clientX===void 0&&e.touches&&(e.touches&&e.touches.length?(e.clientX=e.touches[0].clientX,e.clientY=e.touches[0].clientY):e.changedTouches&&e.changedTouches.length&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY))}static checkContentClassForEvent(e,t){if(e.$options.draggable.ignoreContent){if(!n.checkDragHandleClass(t.target,t.currentTarget,e.$options.draggable.dragHandleClass,e.$options.draggable.ignoreContentClass))return!0}else if(n.checkContentClass(t.target,t.currentTarget,e.$options.draggable.ignoreContentClass))return!0;return!1}static checkContentClassForEmptyCellClickEvent(e,t){return n.checkContentClass(t.target,t.currentTarget,e.$options.draggable.ignoreContentClass)||n.checkContentClass(t.target,t.currentTarget,e.$options.draggable.dragHandleClass)}static checkDragHandleClass(e,t,i,s){if(!e||e===t)return!1;if(e.hasAttribute("class")){let o=e.getAttribute("class").split(" ");if(o.indexOf(i)>-1)return!0;if(o.indexOf(s)>-1)return!1}return n.checkDragHandleClass(e.parentNode,t,i,s)}static checkContentClass(e,t,i){return!e||e===t?!1:e.hasAttribute("class")&&e.getAttribute("class").split(" ").indexOf(i)>-1?!0:n.checkContentClass(e.parentNode,t,i)}static compareItems(e,t){return e.y>t.y?-1:e.y<t.y?1:e.x>t.x?-1:1}},ye=class{gridster;initialItem;removeEmptyCellClickListenerFn;removeEmptyCellTouchendListenerFn;removeEmptyCellContextMenuListenerFn;removeEmptyCellDropListenerFn;removeEmptyCellMousedownListenerFn;removeEmptyCellTouchstartListenerFn;removeWindowMousemoveListenerFn;removeWindowTouchmoveListenerFn;removeWindowMouseupListenerFn;removeWindowTouchendListenerFn;removeEmptyCellDragoverListenerFn;removeDocumentDragendListenerFn;constructor(e){this.gridster=e}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(),this.gridster.movingItem=null,this.initialItem=this.gridster=null,this.removeDocumentDragendListenerFn&&(this.removeDocumentDragendListenerFn(),this.removeDocumentDragendListenerFn=null)}updateOptions(){this.gridster.$options.enableEmptyCellClick&&!this.removeEmptyCellClickListenerFn&&this.gridster.options.emptyCellClickCallback?(this.removeEmptyCellClickListenerFn=this.gridster.renderer.listen(this.gridster.el,"click",this.emptyCellClickCb),this.removeEmptyCellTouchendListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchend",this.emptyCellClickCb)):!this.gridster.$options.enableEmptyCellClick&&this.removeEmptyCellClickListenerFn&&this.removeEmptyCellTouchendListenerFn&&(this.removeEmptyCellClickListenerFn(),this.removeEmptyCellTouchendListenerFn(),this.removeEmptyCellClickListenerFn=null,this.removeEmptyCellTouchendListenerFn=null),this.gridster.$options.enableEmptyCellContextMenu&&!this.removeEmptyCellContextMenuListenerFn&&this.gridster.options.emptyCellContextMenuCallback?this.removeEmptyCellContextMenuListenerFn=this.gridster.renderer.listen(this.gridster.el,"contextmenu",this.emptyCellContextMenuCb):!this.gridster.$options.enableEmptyCellContextMenu&&this.removeEmptyCellContextMenuListenerFn&&(this.removeEmptyCellContextMenuListenerFn(),this.removeEmptyCellContextMenuListenerFn=null),this.gridster.$options.enableEmptyCellDrop&&!this.removeEmptyCellDropListenerFn&&this.gridster.options.emptyCellDropCallback?(this.removeEmptyCellDropListenerFn=this.gridster.renderer.listen(this.gridster.el,"drop",this.emptyCellDragDrop),this.gridster.zone.runOutsideAngular(()=>{this.removeEmptyCellDragoverListenerFn=this.gridster.renderer.listen(this.gridster.el,"dragover",this.emptyCellDragOver)}),this.removeDocumentDragendListenerFn=this.gridster.renderer.listen("document","dragend",()=>{this.gridster.movingItem=null,this.gridster.previewStyle()})):!this.gridster.$options.enableEmptyCellDrop&&this.removeEmptyCellDropListenerFn&&this.removeEmptyCellDragoverListenerFn&&this.removeDocumentDragendListenerFn&&(this.removeEmptyCellDropListenerFn(),this.removeEmptyCellDragoverListenerFn(),this.removeDocumentDragendListenerFn(),this.removeEmptyCellDragoverListenerFn=null,this.removeEmptyCellDropListenerFn=null,this.removeDocumentDragendListenerFn=null),this.gridster.$options.enableEmptyCellDrag&&!this.removeEmptyCellMousedownListenerFn&&this.gridster.options.emptyCellDragCallback?(this.removeEmptyCellMousedownListenerFn=this.gridster.renderer.listen(this.gridster.el,"mousedown",this.emptyCellMouseDown),this.removeEmptyCellTouchstartListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchstart",this.emptyCellMouseDown)):!this.gridster.$options.enableEmptyCellDrag&&this.removeEmptyCellMousedownListenerFn&&this.removeEmptyCellTouchstartListenerFn&&(this.removeEmptyCellMousedownListenerFn(),this.removeEmptyCellTouchstartListenerFn(),this.removeEmptyCellMousedownListenerFn=null,this.removeEmptyCellTouchstartListenerFn=null)}emptyCellClickCb=e=>{if(!this.gridster||this.gridster.movingItem||W.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellClickCallback&&this.gridster.options.emptyCellClickCallback(e,t),this.gridster.cdRef.markForCheck())};emptyCellContextMenuCb=e=>{if(this.gridster.movingItem||W.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellContextMenuCallback&&this.gridster.options.emptyCellContextMenuCallback(e,t),this.gridster.cdRef.markForCheck())};emptyCellDragDrop=e=>{let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellDropCallback&&this.gridster.options.emptyCellDropCallback(e,t),this.gridster.cdRef.markForCheck())};emptyCellDragOver=e=>{e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);t?(e.dataTransfer&&(e.dataTransfer.dropEffect="move"),this.gridster.movingItem=t):(e.dataTransfer&&(e.dataTransfer.dropEffect="none"),this.gridster.movingItem=null),this.gridster.previewStyle()};emptyCellMouseDown=e=>{if(W.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);!t||e.buttons!==1&&!(e instanceof TouchEvent)||(this.initialItem=t,this.gridster.movingItem=t,this.gridster.previewStyle(),this.gridster.zone.runOutsideAngular(()=>{this.removeWindowMousemoveListenerFn=this.gridster.renderer.listen("window","mousemove",this.emptyCellMouseMove),this.removeWindowTouchmoveListenerFn=this.gridster.renderer.listen("window","touchmove",this.emptyCellMouseMove)}),this.removeWindowMouseupListenerFn=this.gridster.renderer.listen("window","mouseup",this.emptyCellMouseUp),this.removeWindowTouchendListenerFn=this.gridster.renderer.listen("window","touchend",this.emptyCellMouseUp))};emptyCellMouseMove=e=>{e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e,this.initialItem);t&&(this.gridster.movingItem=t,this.gridster.previewStyle())};emptyCellMouseUp=e=>{this.removeWindowMousemoveListenerFn(),this.removeWindowTouchmoveListenerFn(),this.removeWindowMouseupListenerFn(),this.removeWindowTouchendListenerFn();let t=this.getValidItemFromEvent(e,this.initialItem);t&&(this.gridster.movingItem=t),this.gridster.options.emptyCellDragCallback&&this.gridster.movingItem&&this.gridster.options.emptyCellDragCallback(e,this.gridster.movingItem),setTimeout(()=>{this.initialItem=null,this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())}),this.gridster.cdRef.markForCheck()};getPixelsX(e,t){let i=this.gridster.options.scale;return i?(e.clientX-t.left)/i+this.gridster.el.scrollLeft-this.gridster.gridRenderer.getLeftMargin():e.clientX+this.gridster.el.scrollLeft-t.left-this.gridster.gridRenderer.getLeftMargin()}getPixelsY(e,t){let i=this.gridster.options.scale;return i?(e.clientY-t.top)/i+this.gridster.el.scrollTop-this.gridster.gridRenderer.getTopMargin():e.clientY+this.gridster.el.scrollTop-t.top-this.gridster.gridRenderer.getTopMargin()}getValidItemFromEvent(e,t){e.preventDefault(),e.stopPropagation(),W.checkTouchEvent(e);let i=this.gridster.el.getBoundingClientRect(),s=this.getPixelsX(e,i),o=this.getPixelsY(e,i),r={x:this.gridster.pixelsToPositionX(s,Math.floor,!0),y:this.gridster.pixelsToPositionY(o,Math.floor,!0),cols:this.gridster.$options.defaultItemCols,rows:this.gridster.$options.defaultItemRows};if(t&&(r.cols=Math.min(Math.abs(t.x-r.x)+1,this.gridster.$options.emptyCellDragMaxCols),r.rows=Math.min(Math.abs(t.y-r.y)+1,this.gridster.$options.emptyCellDragMaxRows),t.x<r.x?r.x=t.x:t.x-r.x>this.gridster.$options.emptyCellDragMaxCols-1&&(r.x=this.gridster.movingItem?this.gridster.movingItem.x:0),t.y<r.y?r.y=t.y:t.y-r.y>this.gridster.$options.emptyCellDragMaxRows-1&&(r.y=this.gridster.movingItem?this.gridster.movingItem.y:0)),!(!this.gridster.$options.enableOccupiedCellDrop&&this.gridster.checkCollision(r)))return r}},we=class{gridster;lastGridColumnStyles={};lastGridRowStyles={};constructor(e){this.gridster=e}destroy(){this.gridster=null}updateItem(e,t,i){if(this.gridster.mobile)this.clearCellPosition(i,e),this.gridster.$options.keepFixedHeightInMobile?i.setStyle(e,"height",(t.rows-1)*this.gridster.$options.margin+t.rows*this.gridster.$options.fixedRowHeight+"px"):i.setStyle(e,"height",t.rows*this.gridster.curWidth/t.cols+"px"),this.gridster.$options.keepFixedWidthInMobile?i.setStyle(e,"width",this.gridster.$options.fixedColWidth+"px"):i.setStyle(e,"width",""),i.setStyle(e,"margin-bottom",this.gridster.$options.margin+"px"),i.setStyle(e,E.LTR?"margin-right":"margin-left","");else{let s=Math.round(this.gridster.curColWidth*t.x),o=Math.round(this.gridster.curRowHeight*t.y),r=this.gridster.curColWidth*t.cols-this.gridster.$options.margin,a=this.gridster.curRowHeight*t.rows-this.gridster.$options.margin;this.setCellPosition(i,e,s,o),i.setStyle(e,"width",r+"px"),i.setStyle(e,"height",a+"px");let C=null,u=null;this.gridster.$options.outerMargin&&(this.gridster.rows===t.rows+t.y&&(this.gridster.$options.outerMarginBottom!==null?C=this.gridster.$options.outerMarginBottom+"px":C=this.gridster.$options.margin+"px"),this.gridster.columns===t.cols+t.x&&(this.gridster.$options.outerMarginBottom!==null?u=this.gridster.$options.outerMarginRight+"px":u=this.gridster.$options.margin+"px")),i.setStyle(e,"margin-bottom",C),i.setStyle(e,this.gridster.$options.dirType===E.LTR?"margin-right":"margin-left",u)}}updateGridster(){let e="",t="",i="",s="";if(this.gridster.$options.gridType===g.Fit)e=g.Fit,t=g.ScrollVertical,i=g.ScrollHorizontal,s=g.Fixed;else if(this.gridster.$options.gridType===g.ScrollVertical)this.gridster.curRowHeight=this.gridster.curColWidth*this.gridster.$options.rowHeightRatio,e=g.ScrollVertical,t=g.Fit,i=g.ScrollHorizontal,s=g.Fixed;else if(this.gridster.$options.gridType===g.ScrollHorizontal){let o=this.gridster.$options.rowHeightRatio,r=o>=1?o:o+1;this.gridster.curColWidth=this.gridster.curRowHeight*r,e=g.ScrollHorizontal,t=g.Fit,i=g.ScrollVertical,s=g.Fixed}else this.gridster.$options.gridType===g.Fixed?(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=g.Fixed,t=g.Fit,i=g.ScrollVertical,s=g.ScrollHorizontal):this.gridster.$options.gridType===g.VerticalFixed?(this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=g.ScrollVertical,t=g.Fit,i=g.ScrollHorizontal,s=g.Fixed):this.gridster.$options.gridType===g.HorizontalFixed&&(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=g.ScrollHorizontal,t=g.Fit,i=g.ScrollVertical,s=g.Fixed);this.gridster.mobile||this.gridster.$options.setGridSize&&this.gridster.$options.gridType!==g.Fit?this.gridster.renderer.removeClass(this.gridster.el,e):this.gridster.renderer.addClass(this.gridster.el,e),this.gridster.renderer.removeClass(this.gridster.el,t),this.gridster.renderer.removeClass(this.gridster.el,i),this.gridster.renderer.removeClass(this.gridster.el,s)}getGridColumnStyle(e){let t={left:this.gridster.curColWidth*e,width:this.gridster.curColWidth-this.gridster.$options.margin,height:this.gridster.gridRows.length*this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};t.style=j(P({},this.getLeftPosition(t.left)),{width:t.width+"px",height:t.height+"px"});let i=this.lastGridColumnStyles[e];return i&&i.left===t.left&&i.width===t.width&&i.height===t.height?i.style:(this.lastGridColumnStyles[e]=t,t.style)}getGridRowStyle(e){let t={top:this.gridster.curRowHeight*e,width:this.gridster.gridColumns.length*this.gridster.curColWidth+this.gridster.$options.margin,height:this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};t.style=j(P({},this.getTopPosition(t.top)),{width:t.width+"px",height:t.height+"px"});let i=this.lastGridRowStyles[e];return i&&i.top===t.top&&i.width===t.width&&i.height===t.height?i.style:(this.lastGridRowStyles[e]=t,t.style)}getLeftPosition(e){let t=this.gridster.$options.dirType===E.RTL?-e:e;return this.gridster.$options.useTransformPositioning?{transform:"translateX("+t+"px)"}:{left:this.getLeftMargin()+t+"px"}}getTopPosition(e){return this.gridster.$options.useTransformPositioning?{transform:"translateY("+e+"px)"}:{top:this.getTopMargin()+e+"px"}}clearCellPosition(e,t){this.gridster.$options.useTransformPositioning?e.setStyle(t,"transform",""):(e.setStyle(t,"top",""),e.setStyle(t,"left",""))}setCellPosition(e,t,i,s){let o=this.gridster.$options.dirType===E.RTL?-i:i;if(this.gridster.$options.useTransformPositioning){let r="translate3d("+o+"px, "+s+"px, 0)";e.setStyle(t,"transform",r)}else e.setStyle(t,"left",this.getLeftMargin()+o+"px"),e.setStyle(t,"top",this.getTopMargin()+s+"px")}getLeftMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginLeft!==null?this.gridster.$options.outerMarginLeft:this.gridster.$options.margin:0}getTopMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginTop!==null?this.gridster.$options.outerMarginTop:this.gridster.$options.margin:0}},fe=(()=>{class n{renderer;gridRenderer;el;constructor(t,i){this.renderer=i,this.el=t.nativeElement}previewStyle(t){t?(this.renderer.setStyle(this.el,"display","block"),this.gridRenderer.updateItem(this.el,t,this.renderer)):this.renderer.setStyle(this.el,"display","")}static \u0275fac=function(i){return new(i||n)(U(St),U(Pt))};static \u0275cmp=T({type:n,selectors:[["gridster-preview"]],inputs:{gridRenderer:"gridRenderer"},decls:0,vars:0,template:function(i,s){},styles:[`gridster-preview{position:absolute;display:none;background:#00000026}
2
+ `],encapsulation:2})}return n})(),_e=(()=>{class n{renderer;cdRef;zone;gridsterPreview=Ae.required(fe);options;movingItem;el;$options;mobile;curWidth;curHeight;grid;columns=0;rows=0;curColWidth;curRowHeight;gridColumns=[];gridRows=[];windowResize;dragInProgress;emptyCell;compact;gridRenderer;calculateLayout$=new Ht;resize$=new Ht;destroy$=new Ht;constructor(t,i,s,o){this.renderer=i,this.cdRef=s,this.zone=o,this.el=t.nativeElement,this.$options=JSON.parse(JSON.stringify(Oi)),this.mobile=!1,this.curWidth=0,this.curHeight=0,this.grid=[],this.curColWidth=0,this.curRowHeight=0,this.dragInProgress=!1,this.emptyCell=new ye(this),this.compact=new Ce(this),this.gridRenderer=new we(this)}static checkCollisionTwoItemsForSwaping(t,i){let s=t.cols===1?0:1,o=i.cols===1?0:1,r=t.rows===1?0:1,a=i.rows===1?0:1;return t.x+s<i.x+i.cols&&t.x+t.cols>i.x+o&&t.y+r<i.y+i.rows&&t.y+t.rows>i.y+a}checkCollisionTwoItems(t,i){if(!(t.x<i.x+i.cols&&t.x+t.cols>i.x&&t.y<i.y+i.rows&&t.y+t.rows>i.y))return!1;if(!this.$options.allowMultiLayer)return!0;let o=this.$options.defaultLayerIndex,r=t.layerIndex===void 0?o:t.layerIndex,a=i.layerIndex===void 0?o:i.layerIndex;return r===a}ngOnInit(){this.options.initCallback&&this.options.initCallback(this),this.calculateLayout$.pipe(Se(0),me(this.destroy$)).subscribe(()=>this.calculateLayout()),this.resize$.pipe(Pe(()=>ke(100)),me(this.destroy$)).subscribe(()=>this.resize())}ngOnChanges(t){t.options&&(this.setOptions(),this.options.api={optionsChanged:this.optionsChanged,resize:this.onResize,getNextPossiblePosition:this.getNextPossiblePosition,getFirstPossiblePosition:this.getFirstPossiblePosition,getLastPossiblePosition:this.getLastPossiblePosition,getItemComponent:i=>this.getItemComponent(i)},this.columns=this.$options.minCols,this.rows=this.$options.minRows+this.$options.addEmptyRowsCount,this.setGridSize(),this.calculateLayout())}resize(){let t,i;this.$options.gridType==="fit"&&!this.mobile?(i=this.el.offsetWidth,t=this.el.offsetHeight):(i=this.el.clientWidth,t=this.el.clientHeight),(i!==this.curWidth||t!==this.curHeight)&&this.checkIfToResize()&&this.onResize()}setOptions(){this.$options=W.merge(this.$options,this.options,this.$options),!this.$options.disableWindowResize&&!this.windowResize?this.windowResize=this.renderer.listen("window","resize",this.onResize):this.$options.disableWindowResize&&this.windowResize&&(this.windowResize(),this.windowResize=null),this.emptyCell.updateOptions()}optionsChanged=()=>{this.setOptions();let t=this.grid.length-1,i;for(;t>=0;t--)i=this.grid[t],i.updateOptions();this.calculateLayout()};ngOnDestroy(){this.destroy$.next(),this.windowResize&&this.windowResize(),this.options&&this.options.destroyCallback&&this.options.destroyCallback(this),this.options&&this.options.api&&(this.options.api.resize=void 0,this.options.api.optionsChanged=void 0,this.options.api.getNextPossiblePosition=void 0,this.options.api=void 0),this.emptyCell.destroy(),this.emptyCell=null,this.compact.destroy(),this.compact=null}onResize=()=>{this.el.clientWidth&&(this.options.setGridSize&&(this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.setGridSize(),this.calculateLayout())};checkIfToResize(){let t=this.el.clientWidth,i=this.el.offsetWidth,s=this.el.scrollWidth,o=this.el.clientHeight,r=this.el.offsetHeight,a=this.el.scrollHeight,C=t<i&&a>r&&a-r<i-t,u=o<r&&s>i&&s-i<r-o;return C?!1:!u}checkIfMobile(){return this.$options.useBodyForBreakpoint?this.$options.mobileBreakpoint>document.body.clientWidth:this.$options.mobileBreakpoint>this.curWidth}setGridSize(){let t=this.el,i,s;this.$options.setGridSize||this.$options.gridType===g.Fit&&!this.mobile?(i=t.offsetWidth,s=t.offsetHeight):(i=t.clientWidth,s=t.clientHeight),this.curWidth=i,this.curHeight=s}setGridDimensions(){this.setGridSize(),!this.mobile&&this.checkIfMobile()?(this.mobile=!this.mobile,this.renderer.addClass(this.el,"mobile")):this.mobile&&!this.checkIfMobile()&&(this.mobile=!this.mobile,this.renderer.removeClass(this.el,"mobile"));let t=this.$options.minRows,i=this.$options.minCols,s=this.grid.length-1,o;for(;s>=0;s--)o=this.grid[s],o.notPlaced||(t=Math.max(t,o.$item.y+o.$item.rows),i=Math.max(i,o.$item.x+o.$item.cols));t+=this.$options.addEmptyRowsCount,(this.columns!==i||this.rows!==t)&&(this.columns=i,this.rows=t,this.options.gridSizeChangedCallback&&this.options.gridSizeChangedCallback(this))}calculateLayout(){if(this.compact&&this.compact.checkCompact(),this.setGridDimensions(),this.$options.outerMargin){let s=-this.$options.margin;this.$options.outerMarginLeft!==null?(s+=this.$options.outerMarginLeft,this.renderer.setStyle(this.el,"padding-left",this.$options.outerMarginLeft+"px")):(s+=this.$options.margin,this.renderer.setStyle(this.el,"padding-left",this.$options.margin+"px")),this.$options.outerMarginRight!==null?(s+=this.$options.outerMarginRight,this.renderer.setStyle(this.el,"padding-right",this.$options.outerMarginRight+"px")):(s+=this.$options.margin,this.renderer.setStyle(this.el,"padding-right",this.$options.margin+"px")),this.curColWidth=(this.curWidth-s)/this.columns;let o=-this.$options.margin;this.$options.outerMarginTop!==null?(o+=this.$options.outerMarginTop,this.renderer.setStyle(this.el,"padding-top",this.$options.outerMarginTop+"px")):(o+=this.$options.margin,this.renderer.setStyle(this.el,"padding-top",this.$options.margin+"px")),this.$options.outerMarginBottom!==null?(o+=this.$options.outerMarginBottom,this.renderer.setStyle(this.el,"padding-bottom",this.$options.outerMarginBottom+"px")):(o+=this.$options.margin,this.renderer.setStyle(this.el,"padding-bottom",this.$options.margin+"px")),this.curRowHeight=(this.curHeight-o)/this.rows*this.$options.rowHeightRatio}else this.curColWidth=(this.curWidth+this.$options.margin)/this.columns,this.curRowHeight=(this.curHeight+this.$options.margin)/this.rows*this.$options.rowHeightRatio,this.renderer.setStyle(this.el,"padding-left","0px"),this.renderer.setStyle(this.el,"padding-right","0px"),this.renderer.setStyle(this.el,"padding-top","0px"),this.renderer.setStyle(this.el,"padding-bottom","0px");this.gridRenderer.updateGridster(),this.$options.setGridSize?(this.renderer.addClass(this.el,"gridSize"),this.mobile||(this.renderer.setStyle(this.el,"width",this.columns*this.curColWidth+this.$options.margin+"px"),this.renderer.setStyle(this.el,"height",this.rows*this.curRowHeight+this.$options.margin+"px"))):(this.renderer.removeClass(this.el,"gridSize"),this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.updateGrid();let t=this.grid.length-1,i;for(;t>=0;t--)i=this.grid[t],i.setSize(),i.drag.toggle(),i.resize.toggle();this.resize$.next()}updateGrid(){this.$options.displayGrid==="always"&&!this.mobile?this.renderer.addClass(this.el,"display-grid"):this.$options.displayGrid==="onDrag&Resize"&&this.dragInProgress?this.renderer.addClass(this.el,"display-grid"):(this.$options.displayGrid==="none"||!this.dragInProgress||this.mobile)&&this.renderer.removeClass(this.el,"display-grid"),this.setGridDimensions(),this.gridColumns.length=n.getNewArrayLength(this.columns,this.curWidth,this.curColWidth),this.gridRows.length=n.getNewArrayLength(this.rows,this.curHeight,this.curRowHeight),this.cdRef.markForCheck()}addItem(t){t.$item.cols===void 0&&(t.$item.cols=this.$options.defaultItemCols,t.item.cols=t.$item.cols,t.itemChanged()),t.$item.rows===void 0&&(t.$item.rows=this.$options.defaultItemRows,t.item.rows=t.$item.rows,t.itemChanged()),t.$item.x===-1||t.$item.y===-1?this.autoPositionItem(t):this.checkCollision(t.$item)&&(this.$options.disableWarnings||(t.notPlaced=!0,console.warn("Can't be placed in the bounds of the dashboard, trying to auto position!/n"+JSON.stringify(t.item,["cols","rows","x","y"]))),this.$options.disableAutoPositionOnConflict?t.notPlaced=!0:this.autoPositionItem(t)),this.grid.push(t),this.calculateLayout$.next()}removeItem(t){this.grid.splice(this.grid.indexOf(t),1),this.calculateLayout$.next(),this.options.itemRemovedCallback&&this.options.itemRemovedCallback(t.item,t),this.movingItem&&this.movingItem===t.$item&&(this.movingItem=null,this.previewStyle())}checkCollision(t,i){let s=!1;if(this.options.itemValidateCallback&&(s=!this.options.itemValidateCallback(t)),!s&&this.checkGridCollision(t,i)&&(s=!0),!s){let o=this.findItemWithItem(t);o&&(s=o)}return s}checkGridCollision(t,i=!1){let s=t.y>-1&&t.x>-1,o=t.cols+t.x<=this.$options.maxCols,r=t.rows+t.y<=this.$options.maxRows,a=t.maxItemCols===void 0?this.$options.maxItemCols:t.maxItemCols,C=t.minItemCols===void 0?this.$options.minItemCols:t.minItemCols,u=t.maxItemRows===void 0?this.$options.maxItemRows:t.maxItemRows,$=t.minItemRows===void 0?this.$options.minItemRows:t.minItemRows,y=t.cols<=a&&t.cols>=C,I=t.rows<=u&&t.rows>=$,J=!0;if(i){let yt=t.itemAspectRatio||this.$options.itemAspectRatio;yt&&(J=t.cols/t.rows===yt)}let ft=t.minItemArea===void 0?this.$options.minItemArea:t.minItemArea,Ct=t.maxItemArea===void 0?this.$options.maxItemArea:t.maxItemArea,Z=t.cols*t.rows,at=ft<=Z,vt=Ct>=Z;return!(s&&o&&r&&J&&y&&I&&at&&vt)}findItemWithItem(t){let i=0,s;for(;i<this.grid.length;i++)if(s=this.grid[i],s.$item!==t&&this.checkCollisionTwoItems(s.$item,t))return s;return!1}findItemsWithItem(t){let i=[],s=0,o;for(;s<this.grid.length;s++)o=this.grid[s],o.$item!==t&&this.checkCollisionTwoItems(o.$item,t)&&i.push(o);return i}autoPositionItem(t){this.getNextPossiblePosition(t.$item)?(t.notPlaced=!1,t.item.x=t.$item.x,t.item.y=t.$item.y,t.itemChanged()):(t.notPlaced=!0,this.$options.disableWarnings||console.warn("Can't be placed in the bounds of the dashboard!/n"+JSON.stringify(t.item,["cols","rows","x","y"])))}getNextPossiblePosition=(t,i={})=>{t.cols===-1&&(t.cols=this.$options.defaultItemCols),t.rows===-1&&(t.rows=this.$options.defaultItemRows),this.setGridDimensions();let s=i.y||0,o;for(;s<this.rows;s++)for(t.y=s,o=i.x||0;o<this.columns;o++)if(t.x=o,!this.checkCollision(t))return!0;let r=this.$options.maxRows>=this.rows+t.rows,a=this.$options.maxCols>=this.columns+t.cols;return!(this.rows<=this.columns&&r)&&a?(t.x=this.columns,t.y=0,!0):r?(t.y=this.rows,t.x=0,!0):!1};getFirstPossiblePosition=t=>{let i=Object.assign({},t);return this.getNextPossiblePosition(i),i};getLastPossiblePosition=t=>{let i={y:0,x:0};i=this.grid.reduce((o,r)=>{let a={y:r.$item.y+r.$item.rows-1,x:r.$item.x+r.$item.cols-1};return W.compareItems(o,a)===1?a:o},i);let s=Object.assign({},t);return this.getNextPossiblePosition(s,i),s};pixelsToPositionX(t,i,s){let o=i(t/this.curColWidth);return s?o:Math.max(o,0)}pixelsToPositionY(t,i,s){let o=i(t/this.curRowHeight);return s?o:Math.max(o,0)}positionXToPixels(t){return t*this.curColWidth}positionYToPixels(t){return t*this.curRowHeight}getItemComponent(t){return this.grid.find(i=>i.item===t)}checkCollisionForSwaping(t){let i=!1;if(this.options.itemValidateCallback&&(i=!this.options.itemValidateCallback(t)),!i&&this.checkGridCollision(t)&&(i=!0),!i){let s=this.findItemWithItemForSwapping(t);s&&(i=s)}return i}findItemWithItemForSwapping(t){let i=this.grid.length-1,s;for(;i>-1;i--)if(s=this.grid[i],s.$item!==t&&n.checkCollisionTwoItemsForSwaping(s.$item,t))return s;return!1}previewStyle(t=!1){let i=this.gridsterPreview();this.movingItem?(this.compact&&t&&this.compact.checkCompactItem(this.movingItem),i.previewStyle(this.movingItem)):i.previewStyle(null)}static getNewArrayLength(t,i,s){let o=Math.max(t,Math.floor(i/s));return o<0?0:Number.isFinite(o)?Math.floor(o):0}static \u0275fac=function(i){return new(i||n)(U(St),U(Pt),U(Xt),U(pe))};static \u0275cmp=T({type:n,selectors:[["gridster"]],viewQuery:function(i,s){i&1&&Oe(s.gridsterPreview,fe,5),i&2&&We()},inputs:{options:"options"},features:[nt],ngContentSelectors:mi,decls:6,vars:1,consts:[[1,"gridster-column",3,"ngStyle"],[1,"gridster-row",3,"ngStyle"],[1,"gridster-preview",3,"gridRenderer"]],template:function(i,s){i&1&&(Dt(),Q(0,Mi,1,1,"div",0,ge),Q(2,$i,1,1,"div",1,ge),bt(4),m(5,"gridster-preview",2)),i&2&&(K(s.gridColumns),d(2),K(s.gridRows),d(3),p("gridRenderer",s.gridRenderer))},dependencies:[Xe,fe],styles:[`gridster{position:relative;box-sizing:border-box;background:gray;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white}
3
+ `],encapsulation:2})}return n})(),ie=class{fromSouth;fromNorth;fromEast;fromWest;pushedItems;pushedItemsTemp;pushedItemsTempPath;pushedItemsPath;gridsterItem;gridster;pushedItemsOrder;tryPattern;iteration=0;constructor(e){this.pushedItems=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],this.pushedItemsPath=[],this.gridsterItem=e,this.gridster=e.gridster,this.tryPattern={fromEast:[this.tryWest,this.trySouth,this.tryNorth,this.tryEast],fromWest:[this.tryEast,this.trySouth,this.tryNorth,this.tryWest],fromNorth:[this.trySouth,this.tryEast,this.tryWest,this.tryNorth],fromSouth:[this.tryNorth,this.tryEast,this.tryWest,this.trySouth]},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(e,t){if(this.gridster.$options.pushItems&&!t){this.pushedItemsOrder=[],this.iteration=0;let i=this.push(this.gridsterItem,e);return i||this.restoreTempItems(),this.pushedItemsOrder=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],i}else return!1}restoreTempItems(){let e=this.pushedItemsTemp.length-1;for(;e>-1;e--)this.removeFromTempPushed(this.pushedItemsTemp[e])}restoreItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.$item.x=i.item.x||0,i.$item.y=i.item.y||0,i.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.checkItemChanges(i.$item,i.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let e=this.pushedItems.length-1,t=!1;for(;e>-1;e--)this.checkPushedItem(this.pushedItems[e],e)&&(t=!0);t&&this.checkPushBack()}push(e,t){if(this.iteration>100)return console.warn("max iteration reached"),!1;if(this.gridster.checkGridCollision(e.$item)||t==="")return!1;let i=this.gridster.findItemsWithItem(e.$item),s=t===this.fromNorth||t===this.fromWest;i.sort((u,$)=>s?$.$item.y-u.$item.y||$.$item.x-u.$item.x:u.$item.y-$.$item.y||u.$item.x-$.$item.x);let o=0,r,a=!0,C=[];for(;o<i.length;o++){if(r=i[o],r===this.gridsterItem)continue;if(!r.canBeDragged()){a=!1;break}let u=this.pushedItemsTemp.indexOf(r);if(u>-1&&this.pushedItemsTempPath[u].length>10){a=!1;break}if(this.tryPattern[t][0].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else if(this.tryPattern[t][1].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else if(this.tryPattern[t][2].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else if(this.tryPattern[t][3].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else{a=!1;break}}if(!a&&(o=this.pushedItemsOrder.lastIndexOf(C[0]),o>-1)){let u=this.pushedItemsOrder.length-1;for(;u>=o;u--)r=this.pushedItemsOrder[u],this.pushedItemsOrder.pop(),this.removeFromTempPushed(r),this.removeFromPushedItem(r)}return this.iteration++,a}trySouth(e,t){return this.gridster.$options.pushDirections.south?(this.addToTempPushed(e),e.$item.y=t.$item.y+t.$item.rows,this.push(e,this.fromNorth)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryNorth(e,t){return this.gridster.$options.pushDirections.north?(this.addToTempPushed(e),e.$item.y=t.$item.y-e.$item.rows,this.push(e,this.fromSouth)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryEast(e,t){return this.gridster.$options.pushDirections.east?(this.addToTempPushed(e),e.$item.x=t.$item.x+t.$item.cols,this.push(e,this.fromWest)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryWest(e,t){return this.gridster.$options.pushDirections.west?(this.addToTempPushed(e),e.$item.x=t.$item.x-e.$item.cols,this.push(e,this.fromEast)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}addToTempPushed(e){let t=this.pushedItemsTemp.indexOf(e);t===-1&&(t=this.pushedItemsTemp.push(e)-1,this.pushedItemsTempPath[t]=[]),this.pushedItemsTempPath[t].push({x:e.$item.x,y:e.$item.y})}removeFromTempPushed(e){let t=this.pushedItemsTemp.indexOf(e),i=this.pushedItemsTempPath[t].pop();i&&(e.$item.x=i.x,e.$item.y=i.y,e.setSize(),this.pushedItemsTempPath[t].length||(this.pushedItemsTemp.splice(t,1),this.pushedItemsTempPath.splice(t,1)))}addToPushed(e){if(this.pushedItems.indexOf(e)<0)this.pushedItems.push(e),this.pushedItemsPath.push([{x:e.item.x||0,y:e.item.y||0},{x:e.$item.x,y:e.$item.y}]);else{let t=this.pushedItems.indexOf(e);this.pushedItemsPath[t].push({x:e.$item.x,y:e.$item.y})}}removeFromPushed(e){e>-1&&(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1))}removeFromPushedItem(e){let t=this.pushedItems.indexOf(e);t>-1&&(this.pushedItemsPath[t].pop(),this.pushedItemsPath.length||(this.pushedItems.splice(t,1),this.pushedItemsPath.splice(t,1)))}checkPushedItem(e,t){let i=this.pushedItemsPath[t],s=i.length-2,o,r,a,C=!1;for(;s>-1;s--)o=i[s],r=e.$item.x,a=e.$item.y,e.$item.x=o.x,e.$item.y=o.y,this.gridster.findItemWithItem(e.$item)?(e.$item.x=r,e.$item.y=a):(e.setSize(),i.splice(s+1,i.length-s-1),C=!0);return i.length<2&&this.removeFromPushed(t),C}},Ft,Wt,pi=50,q,Ot,lt,Nt,Lt,Bt,Vt;function gi(n,e,t,i,s,o,r,a,C,u){Ft=n.$options.scrollSensitivity,Wt=n.$options.scrollSpeed,q=n.el,Ot=C,lt=u;let $=q.offsetWidth,y=q.offsetHeight,I=q.scrollLeft,J=q.scrollTop,ft=t-J,Ct=y+J-t-s,{clientX:Z,clientY:at}=o;if(!n.$options.disableScrollVertical)if(r.clientY<at&&Ct<Ft){if(wi(),Ot&&lt&&!lt.south||Vt)return;Vt=di(1,a,r)}else if(r.clientY>at&&J>0&&ft<Ft){if(yi(),Ot&&lt&&!lt.north||Bt)return;Bt=di(-1,a,r)}else r.clientY!==at&&Me();let vt=I+$-e-i,yt=e-I;if(!n.$options.disableScrollHorizontal){let wt=n.$options.dirType===E.RTL,$e=r.clientX<Z,Te=r.clientX>Z,Ii=wt?Te:$e,bi=wt?$e:Te;if(Ii&&vt<=Ft){if(Ci(),Ot&&lt&&!lt.east||Nt)return;Nt=ci(1,a,r,wt)}else if(bi&&I>0&&yt<Ft){if(fi(),Ot&&lt&&!lt.west||Lt)return;Lt=ci(-1,a,r,wt)}else r.clientX!==Z&&ze()}}function di(n,e,t){let i=t.clientY;return window.setInterval(()=>{(!q||n===-1&&q.scrollTop-Wt<0)&&Me(),q.scrollTop+=n*Wt,i+=n*Wt,e({clientX:t.clientX,clientY:i})},pi)}function ci(n,e,t,i){let s=t.clientX;return window.setInterval(()=>{if(!q){ze();return}let o=n*Wt,r=i?-o:o;q.scrollBy({left:r,behavior:"auto"}),s+=r,e({clientX:s,clientY:t.clientY})},pi)}function ui(){ze(),Me(),q=null}function ze(){fi(),Ci()}function Me(){wi(),yi()}function fi(){Nt&&(clearInterval(Nt),Nt=0)}function Ci(){Lt&&(clearInterval(Lt),Lt=0)}function yi(){Vt&&(clearInterval(Vt),Vt=0)}function wi(){Bt&&(clearInterval(Bt),Bt=0)}var xe=class{swapedItem;gridsterItem;gridster;constructor(e){this.gridsterItem=e,this.gridster=e.gridster}destroy(){this.gridster=this.gridsterItem=this.swapedItem=null}swapItems(){this.gridster.$options.swap&&(this.checkSwapBack(),this.checkSwap(this.gridsterItem))}checkSwapBack(){if(this.swapedItem){let e=this.swapedItem.$item.x,t=this.swapedItem.$item.y;this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.gridster.checkCollision(this.swapedItem.$item)?(this.swapedItem.$item.x=e,this.swapedItem.$item.y=t):(this.swapedItem.setSize(),this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.swapedItem=void 0)}}restoreSwapItem(){this.swapedItem&&(this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.swapedItem.setSize(),this.swapedItem=void 0)}setSwapItem(){this.swapedItem&&(this.swapedItem.checkItemChanges(this.swapedItem.$item,this.swapedItem.item),this.swapedItem=void 0)}checkSwap(e){let t;if(this.gridster.$options.swapWhileDragging?t=this.gridster.checkCollisionForSwaping(e.$item):t=this.gridster.checkCollision(e.$item),t&&t!==!0&&t.canBeDragged()){let i=t,s=i.$item.x,o=i.$item.y,r=e.$item.x,a=e.$item.y,C=r-s,u=a-o;i.$item.x=e.item.x-C,i.$item.y=e.item.y-u,e.$item.x=i.item.x+C,e.$item.y=i.item.y+u,this.gridster.checkCollision(i.$item)||this.gridster.checkCollision(e.$item)?(e.$item.x=r,e.$item.y=a,i.$item.x=s,i.$item.y=o):(i.setSize(),this.swapedItem=i,this.gridster.$options.swapWhileDragging&&(this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.setSwapItem()))}}},Wi="gridster-item-resizable-handler",H=(function(n){return n.UP="UP",n.DOWN="DOWN",n.LEFT="LEFT",n.RIGHT="RIGHT",n})(H||{}),ve=class{zone;gridsterItem;gridster;lastMouse;offsetLeft;offsetTop;margin;outerMarginTop;outerMarginRight;outerMarginBottom;outerMarginLeft;diffTop;diffLeft;originalClientX;originalClientY;top;left;height;width;positionX;positionY;positionXBackup;positionYBackup;enabled;mousemove;mouseup;mouseleave;cancelOnBlur;touchmove;touchend;touchcancel;mousedown;touchstart;push;swap;path;collision=!1;constructor(e,t,i){this.zone=i,this.gridsterItem=e,this.gridster=t,this.lastMouse={clientX:0,clientY:0},this.path=[]}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(!0),this.gridsterItem=this.gridster=this.collision=null,this.mousedown&&(this.mousedown(),this.touchstart())}dragStart(e){e.which&&e.which!==1||this.gridster.dragInProgress||(this.gridster.options.draggable&&this.gridster.options.draggable.start&&this.gridster.options.draggable.start(this.gridsterItem.item,this.gridsterItem,e),e.stopPropagation(),e.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-moving"),this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.left=this.gridsterItem.left-this.margin,this.top=this.gridsterItem.top-this.margin,this.originalClientX=e.clientX,this.originalClientY=e.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.gridster.$options.dirType===E.RTL?this.diffLeft=e.clientX-this.gridster.el.scrollWidth+this.gridsterItem.left:this.diffLeft=e.clientX+this.offsetLeft-this.margin-this.left,this.diffTop=e.clientY+this.offsetTop-this.margin-this.top,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(!0),this.push=new ie(this.gridsterItem),this.swap=new xe(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),this.path.push({x:this.gridsterItem.item.x||0,y:this.gridsterItem.item.y||0}))}dragMove=e=>{e.stopPropagation(),e.preventDefault(),W.checkTouchEvent(e);let t=this.getDirections(e);this.gridster.options.enableBoundaryControl&&(t.includes(H.UP)&&this.gridsterItem.el.getBoundingClientRect().top<this.gridster.el.getBoundingClientRect().top+(this.outerMarginTop??this.margin)&&(t=t.filter(i=>i!=H.UP),e=new MouseEvent(e.type,{clientX:e.clientX,clientY:this.lastMouse.clientY})),t.includes(H.LEFT)&&this.gridsterItem.el.getBoundingClientRect().left<this.gridster.el.getBoundingClientRect().left+(this.outerMarginLeft??this.margin)&&(t=t.filter(i=>i!=H.LEFT),e=new MouseEvent(e.type,{clientX:this.lastMouse.clientX,clientY:e.clientY})),t.includes(H.RIGHT)&&this.gridsterItem.el.getBoundingClientRect().right>this.gridster.el.getBoundingClientRect().right-(this.outerMarginRight??this.margin)&&(t=t.filter(i=>i!=H.RIGHT),e=new MouseEvent(e.type,{clientX:this.lastMouse.clientX,clientY:e.clientY})),t.includes(H.DOWN)&&this.gridsterItem.el.getBoundingClientRect().bottom>this.gridster.el.getBoundingClientRect().bottom-(this.outerMarginBottom??this.margin)&&(t=t.filter(i=>i!=H.DOWN),e=new MouseEvent(e.type,{clientX:e.clientX,clientY:this.lastMouse.clientY}))),t.length&&(this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,gi(this.gridster,this.left,this.top,this.width,this.height,e,this.lastMouse,this.calculateItemPositionFromMousePosition),this.calculateItemPositionFromMousePosition(e))};calculateItemPositionFromMousePosition=e=>{this.gridster.options.scale?this.calculateItemPositionWithScale(e,this.gridster.options.scale):this.calculateItemPositionWithoutScale(e),this.calculateItemPosition(),this.lastMouse.clientX=e.clientX,this.lastMouse.clientY=e.clientY,this.zone.run(()=>{this.gridster.updateGrid()})};calculateItemPositionWithScale(e,t){this.gridster.$options.dirType===E.RTL?this.left=this.gridster.el.scrollWidth-this.originalClientX+(e.clientX-this.originalClientX)/t+this.diffLeft:this.left=this.originalClientX+(e.clientX-this.originalClientX)/t+this.offsetLeft-this.diffLeft,this.top=this.originalClientY+(e.clientY-this.originalClientY)/t+this.offsetTop-this.diffTop}calculateItemPositionWithoutScale(e){this.gridster.$options.dirType===E.RTL?this.left=this.gridster.el.offsetWidth-(e.clientX+this.offsetLeft-this.diffLeft):this.left=e.clientX+this.offsetLeft-this.diffLeft,this.top=e.clientY+this.offsetTop-this.diffTop}dragStop=e=>{e.stopPropagation(),e.preventDefault(),ui(),this.cancelOnBlur(),this.mousemove(),this.mouseup(),this.mouseleave(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-moving"),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.path=[],this.gridster.options.draggable&&this.gridster.options.draggable.stop?Promise.resolve(this.gridster.options.draggable.stop(this.gridsterItem.item,this.gridsterItem,e)).then(this.makeDrag,this.cancelDrag):this.makeDrag(),setTimeout(()=>{this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle(!0))})};cancelDrag=()=>{this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push&&this.push.restoreItems(),this.swap&&this.swap.restoreSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)};makeDrag=()=>{this.gridster.$options.draggable.dropOverItems&&this.gridster.options.draggable&&this.gridster.options.draggable.dropOverItemsCallback&&this.collision&&this.collision!==!0&&this.collision.$item&&this.gridster.options.draggable.dropOverItemsCallback(this.gridsterItem.item,this.collision.item,this.gridster),this.collision=!1,this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push&&this.push.setPushedItems(),this.swap&&this.swap.setSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)};calculateItemPosition(){if(this.gridster.movingItem=this.gridsterItem.$item,this.positionX=this.gridster.pixelsToPositionX(this.left,Math.round),this.positionY=this.gridster.pixelsToPositionY(this.top,Math.round),this.positionXBackup=this.gridsterItem.$item.x,this.positionYBackup=this.gridsterItem.$item.y,this.gridsterItem.$item.x=this.positionX,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.x=this.positionXBackup),this.gridsterItem.$item.y=this.positionY,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.y=this.positionYBackup),this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,this.top),this.positionXBackup!==this.gridsterItem.$item.x||this.positionYBackup!==this.gridsterItem.$item.y){let e=this.path[this.path.length-1],t="";e.x<this.gridsterItem.$item.x?t=this.push.fromWest:e.x>this.gridsterItem.$item.x?t=this.push.fromEast:e.y<this.gridsterItem.$item.y?t=this.push.fromNorth:e.y>this.gridsterItem.$item.y&&(t=this.push.fromSouth),this.push.pushItems(t,this.gridster.$options.disablePushOnDrag),this.swap.swapItems(),this.collision=this.gridster.checkCollision(this.gridsterItem.$item),this.collision?(this.gridsterItem.$item.x=this.positionXBackup,this.gridsterItem.$item.y=this.positionYBackup,this.gridster.$options.draggable.dropOverItems&&this.collision!==!0&&this.collision.$item&&(this.gridster.movingItem=null)):this.path.push({x:this.gridsterItem.$item.x,y:this.gridsterItem.$item.y}),this.push.checkPushBack()}else this.collision=!1;this.gridster.previewStyle(!0)}toggle(){let e=this.gridsterItem.canBeDragged();!this.enabled&&e?(this.enabled=!this.enabled,this.mousedown=this.gridsterItem.renderer.listen(this.gridsterItem.el,"mousedown",this.dragStartDelay),this.touchstart=this.gridsterItem.renderer.listen(this.gridsterItem.el,"touchstart",this.dragStartDelay)):this.enabled&&!e&&(this.enabled=!this.enabled,this.mousedown(),this.touchstart())}dragStartDelay=e=>{if(e.target.classList.contains(Wi)||W.checkContentClassForEvent(this.gridster,e))return;if(W.checkTouchEvent(e),!this.gridster.$options.draggable.delayStart){this.dragStart(e);return}let i=setTimeout(()=>{this.dragStart(e),y()},this.gridster.$options.draggable.delayStart),s=this.gridsterItem.renderer.listen("document","mouseup",y),o=this.gridsterItem.renderer.listen("document","mouseleave",y),r=this.gridsterItem.renderer.listen("window","blur",y),a=this.gridsterItem.renderer.listen("document","touchmove",$),C=this.gridsterItem.renderer.listen("document","touchend",y),u=this.gridsterItem.renderer.listen("document","touchcancel",y);function $(I){W.checkTouchEvent(I),(Math.abs(I.clientX-e.clientX)>9||Math.abs(I.clientY-e.clientY)>9)&&y()}function y(){clearTimeout(i),r(),s(),o(),a(),C(),u()}};getDirections(e){let t=[];return this.lastMouse.clientX===0&&this.lastMouse.clientY===0&&(this.lastMouse.clientY=e.clientY,this.lastMouse.clientX=e.clientX),this.lastMouse.clientY>e.clientY&&t.push(H.UP),this.lastMouse.clientY<e.clientY&&t.push(H.DOWN),this.lastMouse.clientX<e.clientX&&t.push(H.RIGHT),this.lastMouse.clientX>e.clientX&&t.push(H.LEFT),t}},Ie=class{fromSouth;fromNorth;fromEast;fromWest;pushedItems;pushedItemsPath;gridsterItem;gridster;tryPattern;constructor(e){this.pushedItems=[],this.pushedItemsPath=[],this.gridsterItem=e,this.gridster=e.gridster,this.tryPattern={fromEast:this.tryWest,fromWest:this.tryEast,fromNorth:this.trySouth,fromSouth:this.tryNorth},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(e){return this.gridster.$options.pushResizeItems?this.push(this.gridsterItem,e):!1}restoreItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.$item.x=i.item.x||0,i.$item.y=i.item.y||0,i.$item.cols=i.item.cols||1,i.$item.row=i.item.row||1,i.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.checkItemChanges(i.$item,i.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let e=this.pushedItems.length-1,t=!1;for(;e>-1;e--)this.checkPushedItem(this.pushedItems[e],e)&&(t=!0);t&&this.checkPushBack()}push(e,t){let i=this.gridster.checkCollision(e.$item);if(i&&i!==!0&&i!==this.gridsterItem&&i.canBeResized()){if(this.tryPattern[t].call(this,i,e,t))return!0}else if(i===!1)return!0;return!1}trySouth(e,t,i){let s=e.$item.y,o=e.$item.rows;return e.$item.y=t.$item.y+t.$item.rows,e.$item.rows=o+s-e.$item.y,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.y=s,e.$item.rows=o,!1)}tryNorth(e,t,i){let s=e.$item.rows;return e.$item.rows=t.$item.y-e.$item.y,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.rows=s,!1)}tryEast(e,t,i){let s=e.$item.x,o=e.$item.cols;return e.$item.x=t.$item.x+t.$item.cols,e.$item.cols=o+s-e.$item.x,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.x=s,e.$item.cols=o,!1)}tryWest(e,t,i){let s=e.$item.cols;return e.$item.cols=t.$item.x-e.$item.x,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.cols=s,!1)}addToPushed(e){if(this.pushedItems.indexOf(e)<0)this.pushedItems.push(e),this.pushedItemsPath.push([{x:e.item.x||0,y:e.item.y||0,cols:e.item.cols||0,rows:e.item.rows||0},{x:e.$item.x,y:e.$item.y,cols:e.$item.cols,rows:e.$item.rows}]);else{let t=this.pushedItems.indexOf(e);this.pushedItemsPath[t].push({x:e.$item.x,y:e.$item.y,cols:e.$item.cols,rows:e.$item.rows})}}removeFromPushed(e){e>-1&&(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1))}checkPushedItem(e,t){let i=this.pushedItemsPath[t],s=i.length-2,o,r,a,C,u;for(;s>-1;s--)o=i[s],r=e.$item.x,a=e.$item.y,C=e.$item.cols,u=e.$item.rows,e.$item.x=o.x,e.$item.y=o.y,e.$item.cols=o.cols,e.$item.rows=o.rows,this.gridster.findItemWithItem(e.$item)?(e.$item.x=r,e.$item.y=a,e.$item.cols=C,e.$item.rows=u):(e.setSize(),i.splice(s+1,i.length-1-s));return i.length<2?(this.removeFromPushed(t),!0):!1}},be=class{zone;gridsterItem;gridster;lastMouse;itemBackup={x:0,y:0,cols:0,rows:0};resizeEventScrollType;directionFunction=null;resizeEnabled;resizableHandles;mousemove;mouseup;mouseleave;cancelOnBlur;touchmove;touchend;touchcancel;push;pushResize;minHeight;minWidth;offsetTop;offsetLeft;diffTop;diffLeft;diffRight;diffBottom;margin;outerMarginTop;outerMarginRight;outerMarginBottom;outerMarginLeft;originalClientX;originalClientY;top;left;bottom;right;width;height;hasRatio;constructor(e,t,i){this.zone=i,this.gridsterItem=e,this.gridster=t,this.lastMouse={clientX:0,clientY:0},this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1}}destroy(){this.gridster?.previewStyle(),this.gridster=this.gridsterItem=null}dragStart(e){if(e.which&&e.which!==1||this.gridster.dragInProgress)return;this.gridster.options.resizable&&this.gridster.options.resizable.start&&this.gridster.options.resizable.start(this.gridsterItem.item,this.gridsterItem,e),e.stopPropagation(),e.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-resizing"),this.lastMouse.clientX=e.clientX,this.lastMouse.clientY=e.clientY,this.left=this.gridsterItem.left,this.top=this.gridsterItem.top,this.originalClientX=e.clientX,this.originalClientY=e.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.bottom=this.gridsterItem.top+this.gridsterItem.height,this.right=this.gridsterItem.left+this.gridsterItem.width,this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.diffLeft=e.clientX+this.offsetLeft-this.left,this.diffRight=e.clientX+this.offsetLeft-this.right,this.diffTop=e.clientY+this.offsetTop-this.top,this.diffBottom=e.clientY+this.offsetTop-this.bottom,this.minHeight=this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows)-this.margin,this.minWidth=this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols)-this.margin,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(),this.push=new ie(this.gridsterItem),this.pushResize=new Ie(this.gridsterItem),this.gridster.dragInProgress=!0,this.hasRatio=!!(this.gridster.$options.itemAspectRatio||this.gridsterItem.$item.itemAspectRatio),this.itemBackup={x:0,y:0,cols:0,rows:0},this.gridster.updateGrid();let{classList:t}=e.target;t.contains("handle-n")?(this.resizeEventScrollType.north=!0,this.directionFunction=this.handleNorth):t.contains("handle-w")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):t.contains("handle-s")?(this.resizeEventScrollType.south=!0,this.directionFunction=this.handleSouth):t.contains("handle-e")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):t.contains("handle-nw")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):t.contains("handle-ne")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):t.contains("handle-sw")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):t.contains("handle-se")&&(this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast))}dragMove=e=>{if(this.directionFunction===null)throw new Error("The `directionFunction` has not been set before calling `dragMove`.");e.stopPropagation(),e.preventDefault(),W.checkTouchEvent(e),this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,gi(this.gridster,this.left,this.top,this.width,this.height,e,this.lastMouse,this.directionFunction,!0,this.resizeEventScrollType);let t=this.gridster.options.scale||1;this.directionFunction({clientX:this.originalClientX+(e.clientX-this.originalClientX)/t,clientY:this.originalClientY+(e.clientY-this.originalClientY)/t}),this.lastMouse.clientX=e.clientX,this.lastMouse.clientY=e.clientY,this.zone.run(()=>{this.gridster.updateGrid()})};dragStop=e=>{e.stopPropagation(),e.preventDefault(),ui(),this.mousemove(),this.mouseup(),this.mouseleave(),this.cancelOnBlur(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridster.dragInProgress=!1,this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1},this.gridster.updateGrid(),this.gridster.options.resizable&&this.gridster.options.resizable.stop?Promise.resolve(this.gridster.options.resizable.stop(this.gridsterItem.item,this.gridsterItem,e)).then(this.makeResize,this.cancelResize):this.makeResize(),setTimeout(()=>{this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-resizing"),this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())})};cancelResize=()=>{this.gridsterItem.$item.cols=this.gridsterItem.item.cols||1,this.gridsterItem.$item.rows=this.gridsterItem.item.rows||1,this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push.restoreItems(),this.pushResize.restoreItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null};makeResize=()=>{this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push.setPushedItems(),this.pushResize.setPushedItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null};check=e=>(this.hasRatio&&this.enforceAspectRatio(),this.pushResize.pushItems(e),this.push.pushItems(e,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item,!0)?(this.resetItem(this.hasRatio),!1):(this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack(),!0));getNewNorthPosition=e=>{this.top=e.clientY+this.offsetTop-this.diffTop,this.height=this.bottom-this.top,this.minHeight>this.height?(this.height=this.minHeight,this.top=this.bottom-this.minHeight):this.gridster.options.enableBoundaryControl&&(this.top=Math.max(0,this.top),this.height=this.bottom-this.top);let t=this.gridster.options.pushItems?this.margin:0;return this.gridster.pixelsToPositionY(this.top+t,Math.floor)};handleNorth=e=>{let t=this.getNewNorthPosition(e);this.gridsterItem.$item.y!==t&&(this.makeItemBackup(),this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-t,this.gridsterItem.$item.y=t,!this.check(this.pushResize.fromSouth))||(this.setItemTop(this.top),this.setItemHeight(this.height))};getNewWestPosition=e=>{let t=this.gridster.$options.dirType===E.RTL?this.originalClientX+(this.originalClientX-e.clientX):e.clientX;this.left=t+this.offsetLeft-this.diffLeft,this.width=this.right-this.left,this.minWidth>this.width?(this.width=this.minWidth,this.left=this.right-this.minWidth):this.gridster.options.enableBoundaryControl&&(this.left=Math.max(0,this.left),this.width=this.right-this.left);let i=this.gridster.options.pushItems?this.margin:0;return this.gridster.pixelsToPositionX(this.left+i,Math.floor)};handleWest=e=>{let t=this.getNewWestPosition(e);this.gridsterItem.$item.x!==t&&(this.makeItemBackup(),this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-t,this.gridsterItem.$item.x=t,!this.check(this.pushResize.fromEast))||(this.setItemLeft(this.left),this.setItemWidth(this.width))};getNewSouthPosition=e=>{if(this.height=e.clientY+this.offsetTop-this.diffBottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight),this.bottom=this.top+this.height,this.gridster.options.enableBoundaryControl){let i=this.outerMarginBottom??this.margin,s=this.gridster.el.getBoundingClientRect();this.bottom=Math.min(this.bottom,s.bottom-s.top-2*i),this.height=this.bottom-this.top}let t=this.gridster.options.pushItems?0:this.margin;return this.gridster.pixelsToPositionY(this.bottom+t,Math.ceil)};handleSouth=e=>{let t=this.getNewSouthPosition(e);this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==t&&(this.makeItemBackup(),this.gridsterItem.$item.rows=t-this.gridsterItem.$item.y,!this.check(this.pushResize.fromNorth))||this.setItemHeight(this.height)};getNewEastPosition=e=>{let t=this.gridster.$options.dirType===E.RTL?this.originalClientX+(this.originalClientX-e.clientX):e.clientX;if(this.width=t+this.offsetLeft-this.diffRight-this.left,this.minWidth>this.width&&(this.width=this.minWidth),this.right=this.left+this.width,this.gridster.options.enableBoundaryControl){let s=this.outerMarginRight??this.margin,o=this.gridster.el.getBoundingClientRect();this.right=Math.min(this.right,o.right-o.left-2*s),this.width=this.right-this.left}let i=this.gridster.options.pushItems?0:this.margin;return this.gridster.pixelsToPositionX(this.right+i,Math.ceil)};handleEast=e=>{let t=this.getNewEastPosition(e);this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==t&&(this.makeItemBackup(),this.gridsterItem.$item.cols=t-this.gridsterItem.$item.x,!this.check(this.pushResize.fromWest))||this.setItemWidth(this.width)};handleNorthWest=e=>{let t=this.getNewNorthPosition(e),i=this.getNewWestPosition(e);(this.gridsterItem.$item.y!==t||this.gridsterItem.$item.x!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-t,this.gridsterItem.$item.y=t,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-i,this.gridsterItem.$item.x=i,!this.check(this.pushResize.fromSouth))||(this.setItemTop(this.top),this.setItemHeight(this.height),this.setItemLeft(this.left),this.setItemWidth(this.width))};handleNorthEast=e=>{let t=this.getNewNorthPosition(e),i=this.getNewEastPosition(e);(this.gridsterItem.$item.y!==t||this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-t,this.gridsterItem.$item.y=t,this.gridsterItem.$item.cols=i-this.gridsterItem.$item.x,!this.check(this.pushResize.fromSouth))||(this.setItemTop(this.top),this.setItemHeight(this.height),this.setItemWidth(this.width))};handleSouthWest=e=>{let t=this.getNewSouthPosition(e),i=this.getNewWestPosition(e);(this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==t||this.gridsterItem.$item.x!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows=t-this.gridsterItem.$item.y,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-i,this.gridsterItem.$item.x=i,!this.check(this.pushResize.fromNorth))||(this.setItemLeft(this.left),this.setItemHeight(this.height),this.setItemWidth(this.width))};handleSouthEast=e=>{let t=this.getNewSouthPosition(e),i=this.getNewEastPosition(e);(this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==t||this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows=t-this.gridsterItem.$item.y,this.gridsterItem.$item.cols=i-this.gridsterItem.$item.x,!this.check(this.pushResize.fromNorth))||(this.setItemHeight(this.height),this.setItemWidth(this.width))};makeItemBackup(){this.itemBackup.x=this.gridsterItem.$item.x,this.itemBackup.y=this.gridsterItem.$item.y,this.itemBackup.cols=this.gridsterItem.$item.cols,this.itemBackup.rows=this.gridsterItem.$item.rows}resetItem(e=!1){this.gridsterItem.$item.x!==this.itemBackup.x&&(this.gridsterItem.$item.x=this.itemBackup.x,e||(this.left=this.gridster.positionXToPixels(this.gridsterItem.$item.x),this.setItemLeft(this.left))),this.gridsterItem.$item.y!==this.itemBackup.y&&(this.gridsterItem.$item.y=this.itemBackup.y,e||(this.top=this.gridster.positionYToPixels(this.gridsterItem.$item.y),this.setItemTop(this.top))),this.gridsterItem.$item.cols!==this.itemBackup.cols&&(this.gridsterItem.$item.cols=this.itemBackup.cols,e||this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin)),this.gridsterItem.$item.rows!==this.itemBackup.rows&&(this.gridsterItem.$item.rows=this.itemBackup.rows,e||this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin))}toggle(){this.resizeEnabled=this.gridsterItem.canBeResized(),this.resizableHandles=this.gridsterItem.getResizableHandles()}dragStartDelay(e){if(W.checkTouchEvent(e),!this.gridster.$options.resizable.delayStart){this.dragStart(e);return}let t=setTimeout(()=>{this.dragStart(e),$()},this.gridster.$options.resizable.delayStart),{cancelMouse:i,cancelMouseLeave:s,cancelOnBlur:o,cancelTouchMove:r,cancelTouchEnd:a,cancelTouchCancel:C}=this.zone.runOutsideAngular(()=>{let y=this.gridsterItem.renderer.listen("document","mouseup",$),I=this.gridsterItem.renderer.listen("document","mouseleave",$),J=this.gridsterItem.renderer.listen("window","blur",$),ft=this.gridsterItem.renderer.listen("document","touchmove",u),Ct=this.gridsterItem.renderer.listen("document","touchend",$),Z=this.gridsterItem.renderer.listen("document","touchcancel",$);return{cancelMouse:y,cancelMouseLeave:I,cancelOnBlur:J,cancelTouchMove:ft,cancelTouchEnd:Ct,cancelTouchCancel:Z}});function u(y){W.checkTouchEvent(y),(Math.abs(y.clientX-e.clientX)>9||Math.abs(y.clientY-e.clientY)>9)&&$()}function $(){clearTimeout(t),o(),i(),s(),r(),a(),C()}}setItemTop(e){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,e)}setItemLeft(e){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,e,this.top)}setItemHeight(e){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"height",e+"px")}setItemWidth(e){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"width",e+"px")}enforceAspectRatio(){let e=this.gridsterItem.$item.itemAspectRatio||this.gridster.$options.itemAspectRatio;if(!e)return;let t=e*(this.gridster.curColWidth/this.gridster.curRowHeight),i=this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols,s=this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows,o=this.gridster.positionXToPixels(i)-this.margin,r=this.gridster.positionYToPixels(s)-this.margin,a=this.gridsterItem.$item.maxItemCols||this.gridster.$options.maxItemCols||0,C=this.gridsterItem.$item.maxItemRows||this.gridster.$options.maxItemRows||0,u=a?this.gridster.positionXToPixels(a)-this.margin:Number.MAX_VALUE,$=C?this.gridster.positionYToPixels(C)-this.margin:Number.MAX_VALUE,y=this.width,I=this.height;if(this.resizeEventScrollType.north||this.resizeEventScrollType.south?(y=this.height*t,y<o?(y=o,I=o/t):y>u&&(y=u,I=u/t)):(this.resizeEventScrollType.east||this.resizeEventScrollType.west)&&(I=this.width/t,I<r?(I=r,y=r*t):I>$&&(I=$,y=$*t)),this.gridster.options.enableBoundaryControl){let at=this.gridster.el.getBoundingClientRect(),vt=Math.max(this.outerMarginTop||this.margin,this.outerMarginRight||this.margin,this.outerMarginBottom||this.margin,this.outerMarginLeft||this.margin),yt=at.width-2*vt,wt=at.height-2*vt;this.resizeEventScrollType.west?this.right-y<0&&(y=this.right,I=y/t):this.resizeEventScrollType.east&&this.left+y>yt&&(y=yt-this.left,I=y/t),this.resizeEventScrollType.north?this.bottom-I<0&&(I=this.bottom,y=I*t):this.resizeEventScrollType.south&&this.top+I>wt&&(I=wt-this.top,y=I*t)}this.width=y,this.height=I,this.resizeEventScrollType.west&&(this.left=this.right-this.width),this.resizeEventScrollType.north&&(this.top=this.bottom-this.height);let J=this.gridster.options.pushItems?0:this.margin,ft=this.gridster.options.pushItems?0:this.margin,Ct=this.gridster.options.pushItems?this.margin:0,Z=this.gridster.options.pushItems?this.margin:0;this.gridsterItem.$item.x=this.gridster.pixelsToPositionX(this.left+J,Math.floor),this.gridsterItem.$item.y=this.gridster.pixelsToPositionY(this.top+ft,Math.floor),this.gridsterItem.$item.cols=this.gridster.pixelsToPositionX(this.width+Ct,Math.ceil),this.gridsterItem.$item.rows=this.gridster.pixelsToPositionY(this.height+Z,Math.ceil),this.setItemTop(this.top),this.setItemLeft(this.left),this.setItemWidth(this.width),this.setItemHeight(this.height)}},xi=(()=>{class n{renderer;zone;item;itemInit=new ot;itemChange=new ot;itemResize=new ot;$item;el;gridster;top;left;width;height;drag;resize;notPlaced;init;get zIndex(){return this.getLayerIndex()+this.gridster.$options.baseLayerIndex}constructor(t,i,s,o){this.renderer=s,this.zone=o,this.el=t.nativeElement,this.$item={cols:-1,rows:-1,x:-1,y:-1},this.gridster=i,this.drag=new ve(this,i,this.zone),this.resize=new be(this,i,this.zone)}ngOnInit(){this.gridster.addItem(this)}ngOnChanges(t){t.item&&(this.updateOptions(),this.init||this.gridster.calculateLayout$.next()),t.item&&t.item.previousValue&&this.setSize()}updateOptions(){this.$item=W.merge(this.$item,this.item,{cols:void 0,rows:void 0,x:void 0,y:void 0,layerIndex:void 0,dragEnabled:void 0,resizeEnabled:void 0,compactEnabled:void 0,itemAspectRatio:void 0,maxItemRows:void 0,minItemRows:void 0,maxItemCols:void 0,minItemCols:void 0,maxItemArea:void 0,minItemArea:void 0,resizableHandles:{s:void 0,e:void 0,n:void 0,w:void 0,se:void 0,ne:void 0,sw:void 0,nw:void 0}})}ngOnDestroy(){this.gridster.removeItem(this),this.drag.destroy(),this.resize.destroy(),this.gridster=this.drag=this.resize=null}setSize(){this.renderer.setStyle(this.el,"display",this.notPlaced?"":"block"),this.gridster.gridRenderer.updateItem(this.el,this.$item,this.renderer),this.updateItemSize()}updateItemSize(){let t=this.$item.y*this.gridster.curRowHeight,i=this.$item.x*this.gridster.curColWidth,s=this.$item.cols*this.gridster.curColWidth-this.gridster.$options.margin,o=this.$item.rows*this.gridster.curRowHeight-this.gridster.$options.margin;this.top=t,this.left=i,!this.init&&s>0&&o>0&&(this.init=!0,this.item.initCallback&&this.item.initCallback(this.item,this),this.gridster.options.itemInitCallback&&this.gridster.options.itemInitCallback(this.item,this),this.itemInit.next({item:this.item,itemComponent:this}),this.gridster.$options.scrollToNewItems&&this.el.scrollIntoView({block:"end",inline:"nearest",behavior:"smooth"})),(s!==this.width||o!==this.height)&&(this.width=s,this.height=o,this.gridster.options.itemResizeCallback&&this.gridster.options.itemResizeCallback(this.item,this),this.itemResize.next({item:this.item,itemComponent:this}))}itemChanged(){this.gridster.options.itemChangeCallback&&this.gridster.options.itemChangeCallback(this.item,this),this.itemChange.next({item:this.item,itemComponent:this})}checkItemChanges(t,i){t.rows===i.rows&&t.cols===i.cols&&t.x===i.x&&t.y===i.y||(this.gridster.checkCollision(this.$item)?(this.$item.x=i.x||0,this.$item.y=i.y||0,this.$item.cols=i.cols||1,this.$item.rows=i.rows||1,this.setSize()):(this.item.cols=this.$item.cols,this.item.rows=this.$item.rows,this.item.x=this.$item.x,this.item.y=this.$item.y,this.gridster.calculateLayout$.next(),this.itemChanged()))}canBeDragged(){let t=this.gridster.$options.draggable.enabled,i=this.$item.dragEnabled===void 0?t:this.$item.dragEnabled;return!this.gridster.mobile&&t&&i}canBeResized(){let t=this.gridster.$options.resizable.enabled,i=this.$item.resizeEnabled===void 0?t:this.$item.resizeEnabled;return!this.gridster.mobile&&t&&i}getResizableHandles(){let t=this.gridster.$options.resizable.handles,i=this.$item.resizableHandles;return i===void 0?t:P(P({},t),i)}bringToFront(t){if(t&&t<=0)return;let i=this.getLayerIndex(),s=this.gridster.$options.maxLayerIndex;if(i<s){let o=t?i+t:s;this.item.layerIndex=this.$item.layerIndex=o>s?s:o}}sendToBack(t){if(t&&t<=0)return;let i=this.getLayerIndex();if(i>0){let s=t?i-t:0;this.item.layerIndex=this.$item.layerIndex=s<0?0:s}}getLayerIndex(){return this.item.layerIndex!==void 0?this.item.layerIndex:this.gridster.$options.defaultLayerIndex!==void 0?this.gridster.$options.defaultLayerIndex:0}static \u0275fac=function(i){return new(i||n)(U(St),U(_e),U(Pt),U(pe))};static \u0275cmp=T({type:n,selectors:[["gridster-item"]],hostVars:2,hostBindings:function(i,s){i&2&&Ne("z-index",s.zIndex)},inputs:{item:"item"},outputs:{itemInit:"itemInit",itemChange:"itemChange",itemResize:"itemResize"},features:[nt],ngContentSelectors:mi,decls:9,vars:8,consts:[[1,"gridster-item-resizable-handler","handle-s"],[1,"gridster-item-resizable-handler","handle-e"],[1,"gridster-item-resizable-handler","handle-n"],[1,"gridster-item-resizable-handler","handle-w"],[1,"gridster-item-resizable-handler","handle-se"],[1,"gridster-item-resizable-handler","handle-ne"],[1,"gridster-item-resizable-handler","handle-sw"],[1,"gridster-item-resizable-handler","handle-nw"],[1,"gridster-item-resizable-handler","handle-s",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-e",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-n",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-w",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-se",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-ne",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-sw",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-nw",3,"mousedown","touchstart"]],template:function(i,s){i&1&&(Dt(),bt(0),b(1,Ti,1,0,"div",0),b(2,ki,1,0,"div",1),b(3,Si,1,0,"div",2),b(4,Pi,1,0,"div",3),b(5,Di,1,0,"div",4),b(6,Ei,1,0,"div",5),b(7,Ri,1,0,"div",6),b(8,Fi,1,0,"div",7)),i&2&&(d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.s&&s.resize.resizeEnabled?1:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.e&&s.resize.resizeEnabled?2:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.n&&s.resize.resizeEnabled?3:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.w&&s.resize.resizeEnabled?4:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.se&&s.resize.resizeEnabled?5:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.ne&&s.resize.resizeEnabled?6:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.sw&&s.resize.resizeEnabled?7:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.nw&&s.resize.resizeEnabled?8:-1))},styles:[`gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}
4
+ `],encapsulation:2})}return n})();var Ni=["*",[["actions"]]],Li=["*","actions"];function Bi(n,e){n&1&&(V(0,"div",3),bt(1,1),N())}var st=class n{item;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-widget-base"]],inputs:{item:"item"},ngContentSelectors:Li,decls:7,vars:2,consts:[[1,"widget"],[1,"header"],[1,"title"],[1,"actions"],[1,"content"]],template:function(t,i){t&1&&(Dt(Ni),V(0,"div",0)(1,"div",1)(2,"div",2),f(3),N(),b(4,Bi,2,0,"div",3),N(),V(5,"div",4),bt(6),N()()),t&2&&(d(3),A(i.item.title),d(),_(i.item.configurable?4:-1))},dependencies:[D,O,F],styles:["[_nghost-%COMP%]{display:block;height:100%}.widget[_ngcontent-%COMP%]{height:100%;padding:12px 0;display:flex;flex-direction:column}.header[_ngcontent-%COMP%]{flex:0 0 auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between}.title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;flex:1 1 auto;opacity:.5}.actions[_ngcontent-%COMP%]{flex:0 0 auto}.content[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;width:100%;height:0;overflow:hidden}"]})};var ne=class n{item;port="";static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-kill-port-widget"]],inputs:{item:"item"},decls:11,vars:2,consts:[[3,"item"],[1,"logo"],[1,"icon-wrapper"],["nzType","thunderbolt","nzTheme","outline"],["nz-input","","placeholder","\u8F93\u5165\u4E00\u4E2A\u7F51\u7EDC\u7AEF\u53E3","name","port",3,"ngModelChange","ngModel"],["nz-button","","nzType","primary"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0)(1,"div",1)(2,"div",2),m(3,"nz-icon",3),h(),l(4,"h3"),f(5,"\u51C6\u5907\u597D\u7EC8\u6B62"),h()(),l(6,"nz-space")(7,"input",4),ct("ngModelChange",function(o){return dt(i.port,o)||(i.port=o),o}),h(),l(8,"button",5),m(9,"nz-icon",3),f(10," \u7EC8\u6B62 "),h()()()),t&2&&(p("item",i.item),d(7),ht("ngModel",i.port))},dependencies:[D,gt,zt,mt,pt,st,F,L,$t,Mt,Qe,Ue,O,Y,B,X],styles:[".logo[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:16px 0}.logo[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%]{width:32px;height:32px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background-color:var(--app-gray);border-radius:50%}.logo[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--app-primary-5)}.logo[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{flex:1 1 auto;font-size:18px;margin:0;font-weight:500}"],changeDetection:0})};var oe=class n{api=k(Qt);preview(e,t){let i=new Ge().set("url",e);return t?.limit&&(i=i.set("limit",String(t.limit))),t?.cacheSec&&(i=i.set("cacheSec",String(t.cacheSec))),t?.force&&(i=i.set("force","1")),this.api.get("/api/rss/preview",i)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=It({token:n,factory:n.\u0275fac,providedIn:"root"})};var Hi=(n,e)=>e.link;function Ai(n,e){if(n&1){let t=M();l(0,"div",6)(1,"div",10),f(2,"\u672A\u914D\u7F6E RSS \u6E90"),h(),l(3,"button",11),z("click",function(){w(t);let s=c();return x(s.openConfig())}),f(4,"\u53BB\u914D\u7F6E"),h()()}}function Xi(n,e){if(n&1){let t=M();l(0,"div",12)(1,"p"),f(2),h(),l(3,"button",2),z("click",function(){w(t);let s=c(2);return x(s.reload(!0))}),f(4,"\u91CD\u8BD5"),h()()}if(n&2){let t=c(2);d(2),A(t.errorMsg())}}function Yi(n,e){if(n&1&&(l(0,"span",17),f(1),Le(2,"date"),h()),n&2){let t=c().$implicit;d(),A(Be(2,1,t.pubDate,"yyyy-MM-dd HH:mm"))}}function Gi(n,e){if(n&1&&(l(0,"span",18),f(1),h()),n&2){let t=c().$implicit;d(),A(t.author)}}function ji(n,e){if(n&1&&(l(0,"a",14)(1,"div",15),f(2),h(),l(3,"div",16),b(4,Yi,3,4,"span",17),b(5,Gi,2,1,"span",18),h()()),n&2){let t=e.$implicit;p("href",t.link,Re),d(2),A(t.title),d(2),_(t.pubDate?4:-1),d(),_(t.author?5:-1)}}function Ui(n,e){if(n&1&&(l(0,"div",13),Q(1,ji,6,4,"a",14,Hi),h()),n&2){let t=c(2);d(),K(t.feedItems())}}function Qi(n,e){if(n&1&&b(0,Xi,5,1,"div",12)(1,Ui,3,0,"div",13),n&2){let t=c();_(t.errorMsg()?0:1)}}function Ki(n,e){if(n&1){let t=M();tt(0),l(1,"div",19)(2,"label"),f(3,"RSS\u6E90\u5730\u5740"),h(),l(4,"nz-input-wrapper")(5,"input",20),ct("ngModelChange",function(s){w(t);let o=c();return dt(o.rssUrl,s)||(o.rssUrl=s),x(s)}),h(),m(6,"nz-icon",21),h()(),et()}if(n&2){let t=c();d(5),ht("ngModel",t.rssUrl)}}function qi(n,e){if(n&1){let t=M();tt(0),l(1,"button",22),z("click",function(){w(t);let s=c();return x(s.save())}),f(2,"\u4FDD\u5B58"),h(),et()}if(n&2){let t=c();d(),p("disabled",!t.rssUrl().trim())}}var re=class n{item;layout=k(it);rss=k(oe);cdr=k(Xt);curConfig=S(null);rssUrl=S("");isModalVisible=S(!1);loading=S(!1);feedTitle=S("");feedItems=S([]);errorMsg=S("");hasConfig=R(()=>!!this.curConfig()?.rssUrl?.trim());ngOnChanges(e){if(e.item&&e.item.currentValue){let t=this.item?.config;this.curConfig.set(t?P({},t):null),t?.rssUrl&&this.reload(!1)}}openConfig(){let e=this.item?.config;this.rssUrl.set(e?.rssUrl??""),this.isModalVisible.set(!0)}reload(e=!0){let t=this.curConfig()??this.item?.config,i=(t?.rssUrl??"").trim();if(!i)return;this.loading.set(!0),this.errorMsg.set("");let s=t?.limit??20,o=t?.cacheSec??300;this.rss.preview(i,{limit:s,cacheSec:o,force:e}).subscribe({next:r=>{this.loading.set(!1),this.feedTitle.set(r.title??""),this.feedItems.set(r.items??[]),this.feedTitle()&&(this.item.title=this.feedTitle(),this.cdr.markForCheck())},error:r=>{this.errorMsg.set(r?.error?.detail||r?.message||"\u52A0\u8F7D\u5931\u8D25"),this.loading.set(!1)}})}save(){let e=this.item.projectId,t=(this.rssUrl()??"").trim();if(!e||!t)return;let i=this.item?.config??{},s=j(P({},i),{rssUrl:t,limit:i.limit??20,cacheSec:i.cacheSec??300});this.item.config=s,this.curConfig.set(s),this.layout.updateConfig(e,this.item.id,s),this.isModalVisible.set(!1),this.reload(!0)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-news-feed-widget"]],inputs:{item:"item"},features:[nt],decls:12,vars:5,consts:[[3,"item"],["ngProjectAs","actions",5,["actions"]],["nz-button","","nzType","link","nzSize","small",3,"click"],["nzTheme","outline",3,"nzType"],["nzType","setting","nzTheme","outline"],[1,"news-feed-widget"],[1,"empty"],["nzCentered","","nzTitle","\u914D\u7F6E\u90E8\u4EF6",3,"nzVisibleChange","nzOnCancel","nzVisible","nzMaskClosable"],[4,"nzModalContent"],[4,"nzModalFooter"],[1,"hint"],["nz-button","","nzType","default","nzSize","small",3,"click"],[1,"error"],[1,"list"],["target","_blank","rel","noreferrer",1,"row",3,"href"],[1,"t"],[1,"m"],[1,"d"],[1,"a"],[1,"modal-body"],["nz-input","","placeholder","\u8BF7\u8F93\u5165RSS\u6E90\u5730\u5740",2,"width","100%",3,"ngModelChange","ngModel"],["nzType","global","nzTheme","outline","nzInputPrefix",""],["nz-button","","nzType","primary",3,"click","disabled"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0),tt(1,1),l(2,"button",2),z("click",function(){return i.reload()}),m(3,"nz-icon",3),h(),l(4,"button",2),z("click",function(){return i.openConfig()}),m(5,"nz-icon",4),h(),et(),l(6,"div",5),b(7,Ai,5,0,"div",6)(8,Qi,2,1),h()(),l(9,"nz-modal",7),ct("nzVisibleChange",function(o){return dt(i.isModalVisible,o)||(i.isModalVisible=o),o}),z("nzOnCancel",function(){return i.isModalVisible.set(!1)}),At(10,Ki,7,1,"ng-container",8)(11,qi,3,1,"ng-container",9),h()),t&2&&(p("item",i.item),d(3),p("nzType",i.loading()?"loading":"reload"),d(4),_(i.hasConfig()?8:7),d(2),ht("nzVisible",i.isModalVisible),p("nzMaskClosable",!1))},dependencies:[D,gt,zt,mt,pt,$t,Mt,Gt,Yt,O,Y,B,X,st,Zt,Jt,qt,Kt,F,L,Ye],styles:[".news-feed-widget[_ngcontent-%COMP%]{padding:8px 12px;height:100%;overflow:auto}.empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;height:100%;opacity:.75}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.row[_ngcontent-%COMP%]{display:block;padding:8px;border-radius:8px;text-decoration:none;border:1px solid rgba(0,0,0,.06)}.row[_ngcontent-%COMP%]:hover{background:#00000005}.t[_ngcontent-%COMP%]{font-size:13px;line-height:1.3;color:#000000e0}.m[_ngcontent-%COMP%]{margin-top:4px;display:flex;gap:10px;font-size:12px;color:#00000073}.error[_ngcontent-%COMP%]{display:flex;gap:8px;flex-direction:column;align-items:center;justify-content:center;color:#d4380d}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:100%;white-space:pre-wrap;word-break:break-word}.loading[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;opacity:.75}.modal-body[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{flex:0 0 auto;margin-right:16px;display:inline-block;width:100px}.modal-body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1;margin-left:16px}"]})};var Ji=(n,e)=>e.value;function Zi(n,e){if(n&1){let t=M();m(0,"nz-icon",9),l(1,"button",10),z("click",function(){w(t);let s=c(2);return x(s.openConfig())}),f(2,"\u914D\u7F6E\u90E8\u4EF6"),h()}}function ts(n,e){n&1&&m(0,"nz-badge",15)}function es(n,e){n&1&&m(0,"nz-badge",16)}function is(n,e){n&1&&m(0,"nz-badge",17)}function ss(n,e){if(n&1){let t=M();l(0,"div",11)(1,"div",12)(2,"div",13),m(3,"nz-icon",14),b(4,ts,1,0,"nz-badge",15)(5,es,1,0,"nz-badge",16)(6,is,1,0,"nz-badge",17),h(),l(7,"div",18)(8,"div",19),f(9),h(),l(10,"div",20),f(11),h()()()(),l(12,"div",21)(13,"app-task-actions",22),z("toggle",function(){w(t);let s=c(2);return x(s.toggleTask())}),h(),l(14,"button",23),z("click",function(){w(t);let s=c(2);return x(s.goToTask())}),m(15,"nz-icon",24),f(16," \u524D\u5F80\u4EFB\u52A1\u9875 "),h()()}if(n&2){let t,i,s,o,r=c(2);d(),p("nz-tooltip",((t=r.curConfig())==null?null:t.description)??""),d(3),_(r.curRuntime().status==="running"?4:r.curRuntime().status==="stopping"?5:6),d(4),p("title",(i=r.curConfig())==null?null:i.taskName),d(),A((s=r.curConfig())==null?null:s.taskName),d(2),_t(" ",r.curRuntime().status==="running"?"\u8FD0\u884C\u4E2D":r.curRuntime().status==="stopping"?"\u505C\u6B62\u4E2D":r.curRuntime().status==="stopped"?"\u5DF2\u505C\u6B62":((o=r.curConfig())==null?null:o.description)||"\u7A7A\u95F2\u4E2D"," "),d(2),p("isRunning",r.isRunning())("isStopping",r.isStopping())("isStopped",r.isStopped())}}function ns(n,e){if(n&1&&(l(0,"div",8),b(1,Zi,3,0)(2,ss,17,8),h()),n&2){let t=c();xt("no-config",t.curConfig()===null),d(),_(t.curConfig()===null?1:2)}}function os(n,e){if(n&1&&m(0,"nz-option",27),n&2){let t=e.$implicit;p("nzLabel",t.label)("nzValue",t.value)}}function rs(n,e){if(n&1){let t=M();tt(0),l(1,"div",25)(2,"label"),f(3,"\u9009\u62E9\u4E00\u9879\u4EFB\u52A1"),h(),l(4,"nz-select",26),ct("ngModelChange",function(s){w(t);let o=c();return dt(o.selectedTaskId,s)||(o.selectedTaskId=s),x(s)}),Q(5,os,1,2,"nz-option",27,Ji),h()(),et()}if(n&2){let t=c();d(4),ht("ngModel",t.selectedTaskId),p("nzLoading",t.loading())("nzDisabled",t.loading()),d(),K(t.taskOptions())}}function ls(n,e){if(n&1){let t=M();tt(0),l(1,"button",28),z("click",function(){w(t);let s=c();return x(s.save())}),f(2,"\u4FDD\u5B58"),h(),et()}if(n&2){let t=c();d(),p("disabled",!t.selectedTaskId)}}var le=class n{item;taskState=k(ii);layout=k(it);router=k(je);isModalVisible=S(!1);loading=S(!1);curConfig=S(null);curRuntime=R(()=>{let e=this.curConfig();if(!e)return{status:"idle"};let t=e.taskId;return this.taskState.getRuntime(t)||{status:"idle"}});isRunning=R(()=>this.curRuntime().status==="running");isStopping=R(()=>this.curRuntime().status==="stopping");isStopped=R(()=>{let e=this.curRuntime().status;return e==="idle"||e==="stopped"||e==="failed"||e==="success"});selectedTaskId="";rowsOfProject=R(()=>{let e=this.item.projectId;return e?this.taskState.rowsViewOf(e)():[]});taskOptions=R(()=>this.rowsOfProject().map(t=>({value:t.spec.id,label:t.spec.name??t.spec.id,description:t.spec.description??""})));ngOnChanges(e){if(e.item){let t=this.item?.config;this.curConfig.set(t?P({},t):null)}}async openConfig(){let e=this.item.projectId;if(!e){this.isModalVisible.set(!1);return}let t=this.item?.config;this.selectedTaskId=t?.taskId??"",this.isModalVisible.set(!0),this.loading.set(!0);try{await this.taskState.ensureProjectLoaded(e)}finally{this.loading.set(!1)}}save(){let e=this.item.projectId,t=(this.selectedTaskId??"").trim();if(!e||!t)return;let i=this.rowsOfProject().find(a=>a.spec.id===t),s=i?.spec.name??"",o=i?.spec.description??"",r={taskId:t,taskName:s,description:o};this.item.config=r,this.curConfig.set(r),this.layout.updateConfig(e,this.item.id,r),this.isModalVisible.set(!1)}toggleTask(){if(this.curConfig()==null||!this.curConfig().taskId)return;let e=this.curConfig().taskId;this.isRunning()?this.taskState.stopSelected(e):this.isStopped()&&this.taskState.startSelected(e),this.goToTask()}async goToTask(){let e=this.curConfig();if(!e)return;let t=e.taskId;this.taskState.select(t),await this.router.navigate(["/tasks"])}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-quick-task-widget"]],inputs:{item:"item"},features:[nt],decls:8,vars:4,consts:[[3,"item"],["ngProjectAs","actions",5,["actions"]],["nz-button","","nzType","link","nzSize","small",3,"click"],["nzType","setting","nzTheme","outline"],[1,"configured-info",3,"no-config"],["nzCentered","","nzTitle","\u914D\u7F6E\u90E8\u4EF6",3,"nzVisibleChange","nzOnCancel","nzVisible","nzMaskClosable"],[4,"nzModalContent"],[4,"nzModalFooter"],[1,"configured-info"],["nzType","setting","nzTheme","fill"],["nz-button","","nzType","primary",3,"click"],[1,"item"],["nzTooltipPlacement","right",1,"row",3,"nz-tooltip"],[1,"icon"],["nzType","codepen-circle","nzTheme","outline"],["nzStatus","processing"],["nzStatus","warning"],["nzStatus","default"],[1,"info"],[1,"name",3,"title"],[1,"description"],[1,"actions"],[3,"toggle","isRunning","isStopping","isStopped"],["nz-button","","nzType","default",3,"click"],["nzType","schedule","nzTheme","outline"],[1,"modal-body"],["nzPlaceHolder","\u8BF7\u9009\u62E9\u4EFB\u52A1",2,"width","100%",3,"ngModelChange","ngModel","nzLoading","nzDisabled"],[3,"nzLabel","nzValue"],["nz-button","","nzType","primary",3,"click","disabled"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0),tt(1,1),l(2,"button",2),z("click",function(){return i.openConfig()}),m(3,"nz-icon",3),h(),et(),b(4,ns,3,3,"div",4),h(),l(5,"nz-modal",5),ct("nzVisibleChange",function(o){return dt(i.isModalVisible,o)||(i.isModalVisible=o),o}),z("nzOnCancel",function(){return i.isModalVisible.set(!1)}),At(6,rs,7,3,"ng-container",6)(7,ls,3,1,"ng-container",7),h()),t&2&&(p("item",i.item),d(4),_(i.item.configurable?4:-1),d(),ht("nzVisible",i.isModalVisible),p("nzMaskClosable",!1))},dependencies:[D,gt,mt,pt,st,O,Y,B,X,F,L,Zt,Jt,qt,Kt,oi,si,ni,li,ri,Ut,jt,ai],styles:[".configured-info[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%}.configured-info.no-config[_ngcontent-%COMP%]{gap:20px}.configured-info.no-config[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:48px;color:var(--app-gray)}.configured-info[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;justify-content:center;gap:8px}.item[_ngcontent-%COMP%]{width:100%;padding:12px 16px;cursor:pointer}.item[_ngcontent-%COMP%]:hover, .item.active[_ngcontent-%COMP%]{background:var(--app-primary-3)}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;overflow:hidden;justify-content:space-between}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:36px;flex:0 0 auto;position:relative}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;gap:4px;overflow:hidden}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:13px;color:var(--app-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{font-size:12px;padding:2px 8px;border-radius:999px;border:1px solid rgba(0,0,0,.2);opacity:.85}.item[_ngcontent-%COMP%] .badge[data-status=running][_ngcontent-%COMP%]{font-weight:700}.item[_ngcontent-%COMP%] .badge[data-status=stopped][_ngcontent-%COMP%]{opacity:.7}.item[_ngcontent-%COMP%] .badge[data-status=failed][_ngcontent-%COMP%]{font-weight:700}.item[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%]{margin-top:6px;font-size:12px;opacity:.75;display:flex;align-items:center;gap:6px}.item[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}.item[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .sep[_ngcontent-%COMP%]{opacity:.5}.modal-body[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{flex:0 0 auto;margin-right:16px;display:inline-block;width:120px}.modal-body[_ngcontent-%COMP%] nz-select[_ngcontent-%COMP%]{flex:1;margin-left:16px}"]})};var ae=class n{item;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-welcome-widget"]],inputs:{item:"item"},decls:20,vars:1,consts:[[3,"item"],[1,"logo"],["nzType","proj:angular","nzTheme","outline"],[1,"item"],[1,"icon-wrapper"],["nzType","appstore","nzTheme","outline"],["nzType","arrow-left","nzTheme","outline"],["nzType","home","nzTheme","outline"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0)(1,"div",1),m(2,"nz-icon",2),h(),l(3,"h2"),f(4,"\u6B22\u8FCE\u6765\u5230\u65B0\u9879\u76EE\uFF01"),h(),l(5,"div",3)(6,"div",4),m(7,"nz-icon",5),h(),l(8,"p"),f(9,"\u8FD9\u91CC\u662F\u9879\u76EE\u4EEA\u8868\u76D8\uFF0C\u4F60\u53EF\u4EE5\u70B9\u51FB\u53F3\u4E0A\u65B9\u7684\u201C\u81EA\u5B9A\u4E49\u201D\u6309\u94AE\u6765\u6DFB\u52A0\u90E8\u4EF6\u3002\u4F60\u7684\u6539\u52A8\u5C06\u4F1A\u81EA\u52A8\u4FDD\u5B58\u3002"),h()(),l(10,"div",3)(11,"div",4),m(12,"nz-icon",6),h(),l(13,"p"),f(14,"\u5DE6\u4FA7\u662F\u5404\u4E2A\u7BA1\u7406\u9875\u9762\u3002\u5728\u300C\u63D2\u4EF6\u300D\u9875\u9762\u53EF\u4EE5\u6DFB\u52A0\u65B0\u7684 Vue CLI \u63D2\u4EF6\uFF0C\u300C\u4F9D\u8D56\u300D\u9875\u9762\u7528\u4E8E\u7BA1\u7406\u9879\u76EE\u7684\u4F9D\u8D56\u5305\uFF0C\u300C\u914D\u7F6E\u300D\u9875\u9762\u7528\u4E8E\u914D\u7F6E\u5404\u79CD\u5DE5\u5177\uFF0C\u300C\u4EFB\u52A1\u300D\u9875\u9762\u7528\u4E8E\u8FD0\u884C\u5404\u4E2A\u811A\u672C\uFF08\u6BD4\u5982 webpack \u6253\u5305\uFF09\u3002"),h()(),l(15,"div",3)(16,"div",4),m(17,"nz-icon",7),h(),l(18,"p"),f(19,"\u70B9\u51FB\u5DE6\u4E0A\u65B9\u7684\u4E0B\u62C9\u83DC\u5355\u6216\u72B6\u6001\u680F\u4E0A\u7684\u5C0F\u623F\u5B50\u6309\u94AE\u6765\u8FD4\u56DE\u5230\u9879\u76EE\u7BA1\u7406\u5668\u3002"),h()()()),t&2&&p("item",i.item)},dependencies:[D,F,L,O,B,st],styles:[".logo[_ngcontent-%COMP%]{width:70px;height:70px;border-radius:50%;background-color:var(--app-primary-2);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.logo[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:50px}h2[_ngcontent-%COMP%]{text-align:center;font-weight:600}.item[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:24px 16px}.item[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%]{width:50px;height:50px;margin-right:12px;flex:0 0 auto;background-color:var(--app-gray);border-radius:50%;display:flex;align-items:center;justify-content:center}.item[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:24px;color:var(--app-primary-5)}"]})};function as(n,e){if(n&1&&m(0,"app-welcome-widget",0),n&2){let t=c(2);p("item",t.item)}}function hs(n,e){if(n&1&&m(0,"app-quick-task-widget",0),n&2){let t=c(2);p("item",t.item)}}function ds(n,e){if(n&1&&m(0,"app-kill-port-widget",0),n&2){let t=c(2);p("item",t.item)}}function cs(n,e){if(n&1&&m(0,"app-news-feed-widget",0),n&2){let t=c(2);p("item",t.item)}}function ms(n,e){if(n&1&&b(0,as,1,1,"app-welcome-widget",0)(1,hs,1,1,"app-quick-task-widget",0)(2,ds,1,1,"app-kill-port-widget",0)(3,cs,1,1,"app-news-feed-widget",0),n&2){let t,i=c();_((t=i.item.key)==="welcome"?0:t==="quickTasks"?1:t==="killPort"?2:t==="newsFeed"?3:-1)}}var he=class n{item;editMode=!1;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-widget-host"]],inputs:{item:"item",editMode:"editMode"},decls:1,vars:1,consts:[[3,"item"]],template:function(t,i){t&1&&b(0,ms,4,1),t&2&&_(i.item?0:-1)},dependencies:[D,ae,le,ne,re],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}.widget-shell[_ngcontent-%COMP%]{width:100%;height:100%}.widget-shell[data-fit=scroll][_ngcontent-%COMP%]{overflow:auto}.widget-shell[data-fit=responsive][_ngcontent-%COMP%], .widget-shell[data-fit=scale][_ngcontent-%COMP%]{overflow:hidden}.widget-scale[_ngcontent-%COMP%]{width:100%;height:100%}"]})};var ps=(n,e)=>e.id;function gs(n,e){if(n&1){let t=M();l(0,"div",5)(1,"button",6),m(2,"i",7),f(3),h()(),l(4,"button",8),z("click",function(){w(t);let s=c().$implicit,o=c();return x(o.remove.emit(s.id))}),m(5,"nz-icon",9),h()}if(n&2){let t=c().$implicit;d(2),p("nzType",t.icon||"appstore"),d(),_t(" ",t.title," ")}}function us(n,e){if(n&1&&(l(0,"gridster-item",1)(1,"div",2),b(2,gs,6,2),l(3,"div",3),m(4,"app-widget-host",4),h()()()),n&2){let t=e.$implicit,i=c();p("item",t),d(),xt("edit-mode",i.editMode),d(),_(i.editMode?2:-1),d(2),p("item",t)("editMode",i.editMode)}}var de=class n{editMode=!1;items=[];itemsChange=new ot;remove=new ot;patch=new Map;itemChange=(e,t)=>{let i=t.item.id;i&&this.patch.set(i,{x:e.x??t.item.x,y:e.y??t.item.y,cols:e.cols??t.item.cols,rows:e.rows??t.item.rows})};itemResize=(e,t)=>{};options={gridType:g.Fixed,fixedColWidth:90,fixedRowHeight:90,margin:10,outerMargin:!0,compactType:v.None,pushItems:!0,displayGrid:se.None,resizable:{enabled:!0,stop:()=>this.emitSync()},draggable:{enabled:!1,stop:()=>this.emitSync()},itemChangeCallback:this.itemChange,itemResizeCallback:this.itemResize};ngOnChanges(e){let t=e.editMode;t&&t.currentValue!=t.previousValue&&(this.options=j(P({},this.options),{draggable:j(P({},this.options.draggable),{enabled:this.editMode}),resizable:j(P({},this.options.resizable),{enabled:this.editMode}),fixedColWidth:this.editMode?70:90,fixedRowHeight:this.editMode?70:90}))}emitSync(){let e=this.items.map(t=>{let i=this.patch.get(t.id);return i?P(P({},t),i):t});this.patch.clear(),this.itemsChange.emit(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-dashboard-canvas"]],inputs:{editMode:"editMode",items:"items"},outputs:{itemsChange:"itemsChange",remove:"remove"},features:[nt],decls:3,vars:1,consts:[[3,"options"],[3,"item"],[1,"card"],[1,"card-body"],[3,"item","editMode"],["aria-hidden","true",1,"card-overlay"],["nz-button","","nzType","primary","nzSize","large"],["nz-icon","","nzTheme","outline",3,"nzType"],["nz-button","","nzType","text","nzSize","small","nz-tooltip","\u79FB\u9664\u90E8\u4EF6",1,"remove-button",3,"click"],["nzType","close","nzTheme","outline"]],template:function(t,i){t&1&&(l(0,"gridster",0),Q(1,us,5,6,"gridster-item",1,ps),h()),t&2&&(p("options",i.options),d(),K(i.items))},dependencies:[D,O,Y,B,X,F,L,_e,xi,he,jt],styles:["[_nghost-%COMP%]{display:block;height:100%}gridster[_ngcontent-%COMP%]{display:block;height:100%;background:var(--app-primary-1)}gridster-item[_ngcontent-%COMP%]{border-radius:10px}.card[_ngcontent-%COMP%]{height:100%;background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000000f;overflow:hidden;position:relative}.card.edit-mode[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.card-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:#ffffff8c;display:flex;justify-content:center;align-items:center;pointer-events:none;z-index:2}.remove-button[_ngcontent-%COMP%]{position:absolute;right:16px;top:16px;z-index:3;background:var(--app-primary-1);color:var(--app-primary);transition:all .3s}.remove-button[_ngcontent-%COMP%]:hover{background:var(--app-primary);color:#fff}.card-overlay[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{pointer-events:none;border-radius:20px}.title[_ngcontent-%COMP%]{font-size:12px;color:#000000bf}.card-body[_ngcontent-%COMP%]{position:relative;height:100%}.card.edit-mode[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%]{cursor:move;pointer-events:none;opacity:.8}"]})};var fs=["class","component"],vi=class n{projectState=k(ei);layout=k(it);envInjector=k(De);projectId=R(()=>this.projectState.currentProjectId()||"");editMode=S(!1);items=R(()=>this.layout.items());constructor(){He(()=>{let e=this.projectId();e&&(Ve(()=>this.layout.load(e)),Ee(this.envInjector,()=>{Fe(()=>{queueMicrotask(()=>this.editMode.set(!1))})}))})}toggleEdit(){let e=!this.editMode();this.editMode.set(e),e?this.layout.getWidgets():this.layout.flushSave(this.projectId())}onItemsChange(e){this.layout.setItems(this.projectId(),e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-dashboard",8,"component"]],hostVars:2,hostBindings:function(t,i){t&2&&xt("collapsed",i.editMode())},attrs:fs,decls:14,vars:8,consts:[[3,"title","isFullscreen"],["ngProjectAs","actions",5,["actions"]],["nz-button","","nzType","primary",3,"click"],["nzTheme","outline",3,"nzType"],[3,"itemsChange","remove","editMode","items"],[1,"side-panel"],[1,"side-header"],[1,"title"],["nz-button","","nzType","text",3,"click"],["nzType","close"],[1,"side-body"],[3,"add"]],template:function(t,i){t&1&&(l(0,"page-layout",0),tt(1,1),l(2,"button",2),z("click",function(){return i.toggleEdit()}),m(3,"nz-icon",3),f(4),h(),et(),l(5,"app-dashboard-canvas",4),z("itemsChange",function(o){return i.onItemsChange(o)})("remove",function(o){return i.layout.remove(o)}),h()(),l(6,"div",5)(7,"div",6)(8,"div",7),f(9,"\u6DFB\u52A0\u90E8\u4EF6"),h(),l(10,"button",8),z("click",function(){return i.editMode.set(!1)}),m(11,"nz-icon",9),h()(),l(12,"div",10)(13,"app-add-widget-drawer",11),z("add",function(o){return i.layout.add(o)}),h()()()),t&2&&(p("title","\u9879\u76EE\u4EEA\u8868\u76D8")("isFullscreen",!0),d(3),p("nzType",i.editMode()?"check":"edit"),d(),_t(" ",i.editMode()?"\u5B8C\u6210":"\u81EA\u5B9A\u4E49"," "),d(),p("editMode",i.editMode())("items",i.items()),d(),xt("open",i.editMode()))},dependencies:[D,O,Y,B,X,F,L,Ke,qe,Je,de,ee],styles:["[_nghost-%COMP%]{height:100%;display:block;position:relative;transition:width .2s}.collapsed[_nghost-%COMP%]{width:calc(100% - 360px)}.side-panel[_ngcontent-%COMP%]{position:fixed;top:0;right:0;height:100vh;width:360px;background:#fff;box-shadow:-8px 0 24px #0000001f;transform:translate(100%);transition:transform .2s ease;z-index:1000;display:flex;flex-direction:column}.side-panel.open[_ngcontent-%COMP%]{transform:translate(0)}.side-header[_ngcontent-%COMP%]{height:56px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.06)}.side-body[_ngcontent-%COMP%]{flex:1;overflow:hidden}"]})};export{vi as DashboardComponent};
@@ -0,0 +1 @@
1
+ import{B as n,i as m}from"./chunk-53YRDYLS.js";import{Fb as e,na as t}from"./chunk-SJG2JCPL.js";var p=[{path:"",loadComponent:()=>import("./chunk-C3KAVW4L.js").then(o=>o.TasksComponent)}],i=class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[n.forChild(p),n]})};var s=class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[m,i]})};export{s as TasksModule};
@@ -0,0 +1 @@
1
+ import{G as H,H as Z,x as G,z as C}from"./chunk-J43J3F2V.js";import{d as W}from"./chunk-53YRDYLS.js";import{Ca as M,Dc as k,Eb as w,Fb as E,Fc as z,Ha as O,Ic as A,Jc as P,Kb as S,Oa as j,U as I,Vb as d,Xb as m,ac as R,ad as B,bc as s,ca as N,cc as p,da as _,dc as F,f,i as y,m as v,mb as l,n as x,na as T,r as b,ra as c,rd as U,s as g,tc as u,u as D,uc as L,vc as $,vd as h,wd as V}from"./chunk-SJG2JCPL.js";var K=["*"];function Q(n,r){n&1&&(s(0,"span",2),F(1,"i",3)(2,"i",3)(3,"i",3)(4,"i",3),p())}function X(n,r){}function Y(n,r){if(n&1&&(s(0,"div",6),A(1),p()),n&2){let i=u(2);l(),P(i.nzTip)}}function nn(n,r){if(n&1&&(s(0,"div")(1,"div",4),S(2,X,0,0,"ng-template",5),d(3,Y,2,1,"div",6),p()()),n&2){let i=u(),o=k(1);l(),z("ant-spin-rtl",i.dir==="rtl")("ant-spin-lg",i.nzSize==="large")("ant-spin-sm",i.nzSize==="small")("ant-spin-show-text",i.nzTip),l(),R("ngTemplateOutlet",i.nzIndicator||o),l(),m(i.nzTip?3:-1)}}function tn(n,r){if(n&1&&(s(0,"div",7),$(1),p()),n&2){let i=u();z("ant-spin-blur",i.isLoading())}}var q="spin",gn=(()=>{var o;let n,r=[],i=[];return o=class{_nzModuleName=q;cdr=c(U);directionality=c(G);destroyRef=c(M);nzIndicator=g(this,r,null);nzSize=(g(this,i),"default");nzTip=null;nzDelay=0;nzSimple=!1;nzSpinning=!0;spinning$=new v(this.nzSpinning);delay$=new x(1);isLoading=O(!1);dir="ltr";constructor(){H(q,()=>this.cdr.markForCheck())}ngOnInit(){this.delay$.pipe(N(this.nzDelay),I(),_(e=>this.spinning$.pipe(_(t=>e===0||!t?D(t):new y(a=>{let J=setTimeout(()=>a.next(t),e);return()=>clearTimeout(J)})))),C(this.destroyRef)).subscribe(e=>{this.isLoading.set(e)}),this.directionality.change?.pipe(C(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){let{nzSpinning:t,nzDelay:a}=e;t&&this.spinning$.next(this.nzSpinning),a&&this.delay$.next(this.nzDelay)}},(()=>{let e=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[Z()],b(null,null,n,{kind:"field",name:"nzIndicator",static:!1,private:!1,access:{has:t=>"nzIndicator"in t,get:t=>t.nzIndicator,set:(t,a)=>{t.nzIndicator=a}},metadata:e},r,i),e&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})})(),f(o,"\u0275fac",function(t){return new(t||o)}),f(o,"\u0275cmp",w({type:o,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(t,a){t&2&&z("ant-spin-nested-loading",!a.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:[2,"nzDelay","nzDelay",V],nzSimple:[2,"nzSimple","nzSimple",h],nzSpinning:[2,"nzSpinning","nzSpinning",h]},exportAs:["nzSpin"],features:[j],ngContentSelectors:K,decls:4,vars:2,consts:[["defaultTemplate",""],[1,"ant-spin-container",3,"ant-spin-blur"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin","ant-spin-spinning"],[3,"ngTemplateOutlet"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(t,a){t&1&&(L(),S(0,Q,5,0,"ng-template",null,0,B),d(2,nn,4,10,"div"),d(3,tn,2,2,"div",1)),t&2&&(l(2),m(a.isLoading()?2:-1),l(),m(a.nzSimple?-1:3))},dependencies:[W],encapsulation:2})),o})(),_n=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=E({type:n});static \u0275inj=T({})}return n})();export{gn as a,_n as b};